@access-ci/ui 0.8.0 → 0.9.0-beta2
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/README.md +2 -1
- package/dist/access-ci-ui.bundle.js +112 -51
- package/dist/access-ci-ui.js +1 -1
- package/dist/access-ci-ui.umd.cjs +115 -75
- package/dist/access-qa-bot-CSDDOMzA.js +6084 -0
- package/dist/{icon-DO5WLkIr.js → icon-oSIQXq5R.js} +1 -1
- package/dist/{index-CGLHL48j.js → index-0rhVaqkH.js} +585 -572
- package/dist/{resource-group-detail-px8JUvEX.js → resource-group-detail-DKRy5Dk2.js} +2068 -2159
- package/dist/resource-home-Bg-g2QcF.js +260 -0
- package/package.json +3 -2
- package/dist/access-qa-bot-DT5Eikre.js +0 -1898
- package/dist/resource-home-CI6IFYKT.js +0 -248
|
@@ -1,96 +1,136 @@
|
|
|
1
|
-
(function(pt,Ct){typeof exports=="object"&&typeof module<"u"?Ct(exports):typeof define=="function"&&define.amd?define(["exports"],Ct):(pt=typeof globalThis<"u"?globalThis:pt||self,Ct(pt.AccessCiUi={}))})(this,function(pt){"use strict";var p1=Object.defineProperty;var g1=(pt,Ct,L)=>Ct in pt?p1(pt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:L}):pt[Ct]=L;var Z=(pt,Ct,L)=>g1(pt,typeof Ct!="symbol"?Ct+"":Ct,L);var Zo,nn;var Ct,L,la,on,Aa,da,or,rr,sr,ar,ua,Kn={},ha=[],zu=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Qi=Array.isArray;function Ce(e,t){for(var n in t)e[n]=t[n];return e}function fa(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function Y(e,t,n){var i,o,r,s={};for(r in t)r=="key"?i=t[r]:r=="ref"?o=t[r]:s[r]=t[r];if(arguments.length>2&&(s.children=arguments.length>3?Ct.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(r in e.defaultProps)s[r]===void 0&&(s[r]=e.defaultProps[r]);return qn(e,s,i,o,null)}function qn(e,t,n,i,o){var r={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++la,__i:-1,__u:0};return o==null&&L.vnode!=null&&L.vnode(r),r}function Nu(){return{current:null}}function N(e){return e.children}function ce(e,t){this.props=e,this.context=t}function yn(e,t){if(t==null)return e.__?yn(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?yn(e):null}function pa(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return pa(e)}}function cr(e){(!e.__d&&(e.__d=!0)&&on.push(e)&&!Li.__r++||Aa!==L.debounceRendering)&&((Aa=L.debounceRendering)||da)(Li)}function Li(){var e,t,n,i,o,r,s,a;for(on.sort(or);e=on.shift();)e.__d&&(t=on.length,i=void 0,r=(o=(n=e).__v).__e,s=[],a=[],n.__P&&((i=Ce({},o)).__v=o.__v+1,L.vnode&&L.vnode(i),lr(n.__P,i,o,n.__n,n.__P.namespaceURI,32&o.__u?[r]:null,s,r??yn(o),!!(32&o.__u),a),i.__v=o.__v,i.__.__k[i.__i]=i,wa(s,i,a),i.__e!=r&&pa(i)),on.length>t&&on.sort(or));Li.__r=0}function ga(e,t,n,i,o,r,s,a,c,l,A){var d,u,h,p,g,b=i&&i.__k||ha,v=t.length;for(n.__d=c,ju(n,t,b),c=n.__d,d=0;d<v;d++)(h=n.__k[d])!=null&&(u=h.__i===-1?Kn:b[h.__i]||Kn,h.__i=d,lr(e,h,u,o,r,s,a,c,l,A),p=h.__e,h.ref&&u.ref!=h.ref&&(u.ref&&Ar(u.ref,null,h),A.push(h.ref,h.__c||p,h)),g==null&&p!=null&&(g=p),65536&h.__u||u.__k===h.__k?c=ma(h,c,e):typeof h.type=="function"&&h.__d!==void 0?c=h.__d:p&&(c=p.nextSibling),h.__d=void 0,h.__u&=-196609);n.__d=c,n.__e=g}function ju(e,t,n){var i,o,r,s,a,c=t.length,l=n.length,A=l,d=0;for(e.__k=[],i=0;i<c;i++)(o=t[i])!=null&&typeof o!="boolean"&&typeof o!="function"?(s=i+d,(o=e.__k[i]=typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?qn(null,o,null,null,null):Qi(o)?qn(N,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?qn(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=e,o.__b=e.__b+1,r=null,(a=o.__i=Uu(o,n,s,A))!==-1&&(A--,(r=n[a])&&(r.__u|=131072)),r==null||r.__v===null?(a==-1&&d--,typeof o.type!="function"&&(o.__u|=65536)):a!==s&&(a==s-1?d--:a==s+1?d++:(a>s?d--:d++,o.__u|=65536))):o=e.__k[i]=null;if(A)for(i=0;i<l;i++)(r=n[i])!=null&&!(131072&r.__u)&&(r.__e==e.__d&&(e.__d=yn(r)),ya(r,r))}function ma(e,t,n){var i,o;if(typeof e.type=="function"){for(i=e.__k,o=0;i&&o<i.length;o++)i[o]&&(i[o].__=e,t=ma(i[o],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=yn(e)),n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function he(e,t){return t=t||[],e==null||typeof e=="boolean"||(Qi(e)?e.some(function(n){he(n,t)}):t.push(e)),t}function Uu(e,t,n,i){var o=e.key,r=e.type,s=n-1,a=n+1,c=t[n];if(c===null||c&&o==c.key&&r===c.type&&!(131072&c.__u))return n;if(i>(c!=null&&!(131072&c.__u)?1:0))for(;s>=0||a<t.length;){if(s>=0){if((c=t[s])&&!(131072&c.__u)&&o==c.key&&r===c.type)return s;s--}if(a<t.length){if((c=t[a])&&!(131072&c.__u)&&o==c.key&&r===c.type)return a;a++}}return-1}function ba(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||zu.test(t)?n:n+"px"}function Ri(e,t,n,i,o){var r;t:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof i=="string"&&(e.style.cssText=i=""),i)for(t in i)n&&t in n||ba(e.style,t,"");if(n)for(t in n)i&&n[t]===i[t]||ba(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")r=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+r]=n,n?i?n.u=i.u:(n.u=rr,e.addEventListener(t,r?ar:sr,r)):e.removeEventListener(t,r?ar:sr,r);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break t}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function va(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=rr++;else if(t.t<n.u)return;return n(L.event?L.event(t):t)}}}function lr(e,t,n,i,o,r,s,a,c,l){var A,d,u,h,p,g,b,v,w,_,m,y,x,P,C,B,D=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(c=!!(32&n.__u),r=[a=t.__e=n.__e]),(A=L.__b)&&A(t);t:if(typeof D=="function")try{if(v=t.props,w="prototype"in D&&D.prototype.render,_=(A=D.contextType)&&i[A.__c],m=A?_?_.props.value:A.__:i,n.__c?b=(d=t.__c=n.__c).__=d.__E:(w?t.__c=d=new D(v,m):(t.__c=d=new ce(v,m),d.constructor=D,d.render=Wu),_&&_.sub(d),d.props=v,d.state||(d.state={}),d.context=m,d.__n=i,u=d.__d=!0,d.__h=[],d._sb=[]),w&&d.__s==null&&(d.__s=d.state),w&&D.getDerivedStateFromProps!=null&&(d.__s==d.state&&(d.__s=Ce({},d.__s)),Ce(d.__s,D.getDerivedStateFromProps(v,d.__s))),h=d.props,p=d.state,d.__v=t,u)w&&D.getDerivedStateFromProps==null&&d.componentWillMount!=null&&d.componentWillMount(),w&&d.componentDidMount!=null&&d.__h.push(d.componentDidMount);else{if(w&&D.getDerivedStateFromProps==null&&v!==h&&d.componentWillReceiveProps!=null&&d.componentWillReceiveProps(v,m),!d.__e&&(d.shouldComponentUpdate!=null&&d.shouldComponentUpdate(v,d.__s,m)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(d.props=v,d.state=d.__s,d.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(E){E&&(E.__=t)}),y=0;y<d._sb.length;y++)d.__h.push(d._sb[y]);d._sb=[],d.__h.length&&s.push(d);break t}d.componentWillUpdate!=null&&d.componentWillUpdate(v,d.__s,m),w&&d.componentDidUpdate!=null&&d.__h.push(function(){d.componentDidUpdate(h,p,g)})}if(d.context=m,d.props=v,d.__P=e,d.__e=!1,x=L.__r,P=0,w){for(d.state=d.__s,d.__d=!1,x&&x(t),A=d.render(d.props,d.state,d.context),C=0;C<d._sb.length;C++)d.__h.push(d._sb[C]);d._sb=[]}else do d.__d=!1,x&&x(t),A=d.render(d.props,d.state,d.context),d.state=d.__s;while(d.__d&&++P<25);d.state=d.__s,d.getChildContext!=null&&(i=Ce(Ce({},i),d.getChildContext())),w&&!u&&d.getSnapshotBeforeUpdate!=null&&(g=d.getSnapshotBeforeUpdate(h,p)),ga(e,Qi(B=A!=null&&A.type===N&&A.key==null?A.props.children:A)?B:[B],t,n,i,o,r,s,a,c,l),d.base=t.__e,t.__u&=-161,d.__h.length&&s.push(d),b&&(d.__E=d.__=null)}catch(E){if(t.__v=null,c||r!=null){for(t.__u|=c?160:128;a&&a.nodeType===8&&a.nextSibling;)a=a.nextSibling;r[r.indexOf(a)]=null,t.__e=a}else t.__e=n.__e,t.__k=n.__k;L.__e(E,t,n)}else r==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Vu(n.__e,t,n,i,o,r,s,c,l);(A=L.diffed)&&A(t)}function wa(e,t,n){t.__d=void 0;for(var i=0;i<n.length;i++)Ar(n[i],n[++i],n[++i]);L.__c&&L.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(r){r.call(o)})}catch(r){L.__e(r,o.__v)}})}function Vu(e,t,n,i,o,r,s,a,c){var l,A,d,u,h,p,g,b=n.props,v=t.props,w=t.type;if(w==="svg"?o="http://www.w3.org/2000/svg":w==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),r!=null){for(l=0;l<r.length;l++)if((h=r[l])&&"setAttribute"in h==!!w&&(w?h.localName===w:h.nodeType===3)){e=h,r[l]=null;break}}if(e==null){if(w===null)return document.createTextNode(v);e=document.createElementNS(o,w,v.is&&v),a&&(L.__m&&L.__m(t,r),a=!1),r=null}if(w===null)b===v||a&&e.data===v||(e.data=v);else{if(r=r&&Ct.call(e.childNodes),b=n.props||Kn,!a&&r!=null)for(b={},l=0;l<e.attributes.length;l++)b[(h=e.attributes[l]).name]=h.value;for(l in b)if(h=b[l],l!="children"){if(l=="dangerouslySetInnerHTML")d=h;else if(!(l in v)){if(l=="value"&&"defaultValue"in v||l=="checked"&&"defaultChecked"in v)continue;Ri(e,l,null,h,o)}}for(l in v)h=v[l],l=="children"?u=h:l=="dangerouslySetInnerHTML"?A=h:l=="value"?p=h:l=="checked"?g=h:a&&typeof h!="function"||b[l]===h||Ri(e,l,h,b[l],o);if(A)a||d&&(A.__html===d.__html||A.__html===e.innerHTML)||(e.innerHTML=A.__html),t.__k=[];else if(d&&(e.innerHTML=""),ga(e,Qi(u)?u:[u],t,n,i,w==="foreignObject"?"http://www.w3.org/1999/xhtml":o,r,s,r?r[0]:n.__k&&yn(n,0),a,c),r!=null)for(l=r.length;l--;)fa(r[l]);a||(l="value",w==="progress"&&p==null?e.removeAttribute("value"):p!==void 0&&(p!==e[l]||w==="progress"&&!p||w==="option"&&p!==b[l])&&Ri(e,l,p,b[l],o),l="checked",g!==void 0&&g!==e[l]&&Ri(e,l,g,b[l],o))}return e}function Ar(e,t,n){try{if(typeof e=="function"){var i=typeof e.__u=="function";i&&e.__u(),i&&t==null||(e.__u=e(t))}else e.current=t}catch(o){L.__e(o,n)}}function ya(e,t,n){var i,o;if(L.unmount&&L.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||Ar(i,null,t)),(i=e.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(r){L.__e(r,t)}i.base=i.__P=null}if(i=e.__k)for(o=0;o<i.length;o++)i[o]&&ya(i[o],t,n||typeof e.type!="function");n||fa(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function Wu(e,t,n){return this.constructor(e,n)}function xn(e,t,n){var i,o,r,s;L.__&&L.__(e,t),o=(i=typeof n=="function")?null:n&&n.__k||t.__k,r=[],s=[],lr(t,e=(!i&&n||t).__k=Y(N,null,[e]),o||Kn,Kn,t.namespaceURI,!i&&n?[n]:o?null:t.firstChild?Ct.call(t.childNodes):null,r,!i&&n?n:o?o.__e:t.firstChild,i,s),wa(r,e,s)}function xa(e,t){xn(e,t,xa)}function dr(e,t,n){var i,o,r,s,a=Ce({},e.props);for(r in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)r=="key"?i=t[r]:r=="ref"?o=t[r]:a[r]=t[r]===void 0&&s!==void 0?s[r]:t[r];return arguments.length>2&&(a.children=arguments.length>3?Ct.call(arguments,2):n),qn(e.type,a,i||e.key,o||e.ref,null)}function le(e,t){var n={__c:t="__cC"+ua++,__:e,Consumer:function(i,o){return i.children(o)},Provider:function(i){var o,r;return this.getChildContext||(o=new Set,(r={})[t]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(s){this.props.value!==s.value&&o.forEach(function(a){a.__e=!0,cr(a)})},this.sub=function(s){o.add(s);var a=s.componentWillUnmount;s.componentWillUnmount=function(){o&&o.delete(s),a&&a.call(s)}}),i.children}};return n.Provider.__=n.Consumer.contextType=n}Ct=ha.slice,L={__e:function(e,t,n,i){for(var o,r,s;t=t.__;)if((o=t.__c)&&!o.__)try{if((r=o.constructor)&&r.getDerivedStateFromError!=null&&(o.setState(r.getDerivedStateFromError(e)),s=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,i||{}),s=o.__d),s)return o.__E=o}catch(a){e=a}throw e}},la=0,ce.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ce({},this.state),typeof e=="function"&&(e=e(Ce({},n),this.props)),e&&Ce(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),cr(this))},ce.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),cr(this))},ce.prototype.render=N,on=[],da=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,or=function(e,t){return e.__v.__b-t.__v.__b},Li.__r=0,rr=0,sr=va(!1),ar=va(!0),ua=0;var Yu=0;function f(e,t,n,i,o,r){t||(t={});var s,a,c=t;"ref"in t&&(s=t.ref,delete t.ref);var l={type:e,props:c,key:n,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Yu,__i:-1,__u:0,__source:o,__self:r};if(typeof e=="function"&&(s=e.defaultProps))for(a in s)c[a]===void 0&&(c[a]=s[a]);return L.vnode&&L.vnode(l),l}const Ku="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='%231a5b6e'%20class='bi%20bi-house-door-fill'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M6.5%2014.5v-3.505c0-.245.25-.495.5-.495h2c.25%200%20.5.25.5.5v3.5a.5.5%200%200%200%20.5.5h4a.5.5%200%200%200%20.5-.5v-7a.5.5%200%200%200-.146-.354L13%205.793V2.5a.5.5%200%200%200-.5-.5h-1a.5.5%200%200%200-.5.5v1.293L8.354%201.146a.5.5%200%200%200-.708%200l-6%206A.5.5%200%200%200%201.5%207.5v7a.5.5%200%200%200%20.5.5h4a.5.5%200%200%200%20.5-.5'/%3e%3c/svg%3e";function ur({expandWidth:e=!1,homeTitle:t="ACCESS Home",homeUrl:n="https://access-ci.org/",items:i=[],topBorder:o=!1}){if(!(!i||!i.length))return f("ul",{class:`breadcrumbs ${e?"expand":""} ${o?"top-border":""}`,children:[f("li",{class:"home",children:f("a",{href:n,title:t,children:f("img",{src:Ku,alt:t,height:"14"})})}),i.map(r=>f("li",{class:r.classes||"",children:r.href?f("a",{href:r.href,children:r.name}):r.name}))]})}var je,dt,hr,_a,_n=0,Pa=[],gt=L,Ba=gt.__b,ka=gt.__r,Da=gt.diffed,Ca=gt.__c,Ea=gt.unmount,Sa=gt.__;function Pn(e,t){gt.__h&>.__h(dt,e,_n||t),_n=0;var n=dt.__H||(dt.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function R(e){return _n=1,Xn(Oa,e)}function Xn(e,t,n){var i=Pn(je++,2);if(i.t=e,!i.__c&&(i.__=[n?n(t):Oa(void 0,t),function(a){var c=i.__N?i.__N[0]:i.__[0],l=i.t(c,a);c!==l&&(i.__N=[l,i.__[1]],i.__c.setState({}))}],i.__c=dt,!dt.u)){var o=function(a,c,l){if(!i.__c.__H)return!0;var A=i.__c.__H.__.filter(function(u){return!!u.__c});if(A.every(function(u){return!u.__N}))return!r||r.call(this,a,c,l);var d=!1;return A.forEach(function(u){if(u.__N){var h=u.__[0];u.__=u.__N,u.__N=void 0,h!==u.__[0]&&(d=!0)}}),!(!d&&i.__c.props===a)&&(!r||r.call(this,a,c,l))};dt.u=!0;var r=dt.shouldComponentUpdate,s=dt.componentWillUpdate;dt.componentWillUpdate=function(a,c,l){if(this.__e){var A=r;r=void 0,o(a,c,l),r=A}s&&s.call(this,a,c,l)},dt.shouldComponentUpdate=o}return i.__N||i.__}function et(e,t){var n=Pn(je++,3);!gt.__s&&gr(n.__H,t)&&(n.__=e,n.i=t,dt.__H.__h.push(n))}function Wt(e,t){var n=Pn(je++,4);!gt.__s&&gr(n.__H,t)&&(n.__=e,n.i=t,dt.__h.push(n))}function q(e){return _n=5,kt(function(){return{current:e}},[])}function Ma(e,t,n){_n=6,Wt(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function kt(e,t){var n=Pn(je++,7);return gr(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function X(e,t){return _n=8,kt(function(){return e},t)}function Zt(e){var t=dt.context[e.__c],n=Pn(je++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(dt)),t.props.value):e.__}function Ta(e,t){gt.useDebugValue&>.useDebugValue(t?t(e):e)}function fr(){var e=Pn(je++,11);if(!e.__){for(var t=dt.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function qu(){for(var e;e=Pa.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Hi),e.__H.__h.forEach(pr),e.__H.__h=[]}catch(t){e.__H.__h=[],gt.__e(t,e.__v)}}gt.__b=function(e){dt=null,Ba&&Ba(e)},gt.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Sa&&Sa(e,t)},gt.__r=function(e){ka&&ka(e),je=0;var t=(dt=e.__c).__H;t&&(hr===dt?(t.__h=[],dt.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(Hi),t.__h.forEach(pr),t.__h=[],je=0)),hr=dt},gt.diffed=function(e){Da&&Da(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Pa.push(t)!==1&&_a===gt.requestAnimationFrame||((_a=gt.requestAnimationFrame)||Xu)(qu)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),hr=dt=null},gt.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Hi),n.__h=n.__h.filter(function(i){return!i.__||pr(i)})}catch(i){t.some(function(o){o.__h&&(o.__h=[])}),t=[],gt.__e(i,n.__v)}}),Ca&&Ca(e,t)},gt.unmount=function(e){Ea&&Ea(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(i){try{Hi(i)}catch(o){t=o}}),n.__H=void 0,t&>.__e(t,n.__v))};var Ia=typeof requestAnimationFrame=="function";function Xu(e){var t,n=function(){clearTimeout(i),Ia&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(n,100);Ia&&(t=requestAnimationFrame(n))}function Hi(e){var t=dt,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),dt=t}function pr(e){var t=dt;e.__c=e.__(),dt=t}function gr(e,t){return!e||e.length!==t.length||t.some(function(n,i){return n!==e[i]})}function Oa(e,t){return typeof t=="function"?t(e):t}let rn,Gn;const Gu=(e,t)=>{if(rn=void 0,t&&t.type==="click"){if(t.ctrlKey||t.metaKey||t.altKey||t.shiftKey||t.button!==0)return e;const n=t.target.closest("a[href]"),i=n&&n.getAttribute("href");if(!n||n.origin!=location.origin||/^#/.test(i)||!/^(_?self)?$/i.test(n.target)||Gn&&(typeof Gn=="string"?!i.startsWith(Gn):!Gn.test(i)))return e;rn=!0,t.preventDefault(),t=n.href.replace(location.origin,"")}else typeof t=="string"?rn=!0:t&&t.url?(rn=!t.replace,t=t.url):t=location.pathname+location.search;return rn===!0?history.pushState(null,"",t):rn===!1&&history.replaceState(null,"",t),t},Ju=(e,t,n)=>{e=e.split("/").filter(Boolean),t=(t||"").split("/").filter(Boolean);for(let i=0,o,r;i<Math.max(e.length,t.length);i++){let[,s,a,c]=(t[i]||"").match(/^(:?)(.*?)([+*?]?)$/);if(o=e[i],!(!s&&a==o)){if(!s&&o&&c=="*"){n.rest="/"+e.slice(i).map(decodeURIComponent).join("/");break}if(!s||!o&&c!="?"&&c!="*")return;if(r=c=="+"||c=="*",r?o=e.slice(i).map(decodeURIComponent).join("/")||void 0:o&&(o=decodeURIComponent(o)),n.params[a]=o,a in n||(n[a]=o),r)break}}return n};function Jn(e){const[t,n]=Xn(Gu,e.url||location.pathname+location.search);e.scope&&(Gn=e.scope);const i=rn===!0,o=kt(()=>{const r=new URL(t,location.origin),s=r.pathname.replace(/\/+$/g,"")||"/";return{url:t,path:s,query:Object.fromEntries(r.searchParams),route:(a,c)=>n({url:a,replace:c}),wasPush:i}},[t]);return Wt(()=>(addEventListener("click",n),addEventListener("popstate",n),()=>{removeEventListener("click",n),removeEventListener("popstate",n)}),[]),Y(Jn.ctx.Provider,{value:o},e.children)}const Zu=Promise.resolve();function Qa(e){const[t,n]=Xn(B=>B+1,0),{url:i,query:o,wasPush:r,path:s}=$u(),{rest:a=s,params:c={}}=Zt(La),l=q(!1),A=q(s),d=q(0),u=q(),h=q(),p=q(),g=q(!1),b=q();b.current=!1;const v=q(!1);let w,_,m;he(e.children).some(B=>{if(Ju(a,B.props.path,m={...B.props,path:a,query:o,params:c,rest:""}))return w=dr(B,m);B.props.default&&(_=dr(B,m))});let y=w||_;kt(()=>{h.current=u.current;const B=h.current&&h.current.props.children;!B||!y||y.type!==B.type||y.props.component!==B.props.component?(this.__v&&this.__v.__k&&this.__v.__k.reverse(),d.current++,v.current=!0):v.current=!1},[i]);const x=u.current&&u.current.__u&Fi&&u.current.__u&zi,P=u.current&&u.current.__h;u.current=Y(La.Provider,{value:m},y),x?(u.current.__u|=Fi,u.current.__u|=zi):P&&(u.current.__h=!0);const C=h.current;return h.current=null,this.__c=(B,D)=>{b.current=!0,h.current=C,e.onLoadStart&&e.onLoadStart(i),l.current=!0;let E=d.current;B.then(()=>{E===d.current&&(h.current=null,u.current&&(D.__h&&(u.current.__h=D.__h),D.__u&zi&&(u.current.__u|=zi),D.__u&Fi&&(u.current.__u|=Fi)),Zu.then(n))})},Wt(()=>{const B=this.__v&&this.__v.__e;if(b.current){!g.current&&!p.current&&(p.current=B);return}!g.current&&p.current&&(p.current!==B&&p.current.remove(),p.current=null),g.current=!0,A.current!==s&&(r&&scrollTo(0,0),e.onRouteChange&&e.onRouteChange(i),A.current=s),e.onLoadEnd&&l.current&&e.onLoadEnd(i),l.current=!1},[s,r,t]),v.current?[Y(mr,{r:u}),Y(mr,{r:h})]:Y(mr,{r:u})}const Fi=32,zi=128,mr=({r:e})=>e.current;Qa.Provider=Jn,Jn.ctx=le({});const La=le({}),$u=()=>Zt(Jn.ctx);function br(e){let t,n;const i=()=>e().then(r=>n=r&&r.default||r),o=r=>{const[,s]=R(0),a=q(n);if(t||(t=i()),n!==void 0)return Y(n,r);throw a.current||(a.current=t.then(()=>s(1))),t};return o.preload=()=>(t||(t=i()),t),o}const Ra=L.__e;L.__e=(e,t,n)=>{if(e&&e.then){let i=t;for(;i=i.__;)if(i.__c&&i.__c.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),t.__k||(t.__k=[]),i.__c.__c(e,t)}Ra&&Ra(e,t,n)};function Ha(e){return this.__c=th,this.componentDidCatch=e.onError,e.children}function th(e){e.then(()=>this.forceUpdate())}const eh=br(()=>Promise.resolve().then(()=>zp).then(e=>({default:e.QABot})));class nh extends ce{render(){const{welcome:t,prompt:n,isLoggedIn:i,isOpen:o,apiKey:r,embedded:s}=this.props,a=r||void 0||null;return a?f(Ha,{children:f(eh,{welcome:t||"Welcome to ACCESS Q&A Bot!",prompt:n||"Ask me anything...",isLoggedIn:i,isOpen:o===!0,embedded:s===!0,apiKey:a})}):(console.error("QA Bot: No valid API key provided"),null)}}const Fa=[{name:"Researchers",href:"https://access-ci.org/get-started/for-researchers/"},{name:"Educators",href:"https://access-ci.org/get-started/for-educators/"},{name:"Graduate Students",href:"https://access-ci.org/get-started/for-graduate-students/"},{name:"Resource Providers",href:"https://access-ci.org/get-started/for-resource-providers/"},{name:"CI Community",href:"https://access-ci.org/get-started/for-programs-organizations/"}],za=[{name:"ACCESS Home",href:"https://access-ci.org/",classes:"icon icon-home"},{name:"Allocations",href:"https://allocations.access-ci.org/",classes:"track"},{name:"Resources",href:"https://allocations.access-ci.org/resources",classes:"track"},{name:"Events & Trainings",href:"https://support.access-ci.org/events",classes:"track"},{name:"Support",href:"https://support.access-ci.org/",classes:"track"},{name:"News",href:"https://access-ci.org/news/",classes:"track"},{name:"About",href:"https://access-ci.org/about/",classes:"track grow"},{name:"Find info for you",classes:"highlight",items:Fa},{name:"Search",href:"https://support.access-ci.org/find",classes:"icon icon-search"}],Na={name:"My ACCESS",items:[{name:"Allocations",href:"https://allocations.access-ci.org/requests"},{name:"Community Persona",href:"https://support.access-ci.org/community-persona"},{name:"Edit Profile",href:"https://allocations.access-ci.org/profile"},{name:"Publications",href:"https://allocations.access-ci.org/publications"},{name:"Share with ORCID",href:"https://allocations.access-ci.org/orcid"},{name:"Log out",href:"https://cilogon.org/logout/?skin=access"}]},ja={name:"Login",items:[{name:"Login",href:"https://cilogon.org/?skin=access"},{name:"Questions",href:"https://identity.access-ci.org/"},{name:"Register",href:"https://identity.access-ci.org/new-user"},{name:"Reset Password",href:"https://identity.access-ci.org/password-reset"}]},ih=[{className:"x",href:"https://twitter.com/ACCESSforCI",name:"X"},{className:"youtube",href:"https://www.youtube.com/c/ACCESSforCI",name:"YouTube"},{className:"facebook",href:"https://www.facebook.com/ACCESSforCI",name:"Facebook"},{className:"linkedin",href:"https://www.linkedin.com/company/accessforci/",name:"LinkedIn"}],oh=[{href:"https://access-ci.org/acceptable-use/",name:"Acceptable Use"},{href:"https://access-ci.org/about/acknowledging-access/",name:"Acknowledging ACCESS"},{href:"https://access-ci.org/code-of-conduct/",name:"Code of Conduct"},{href:"https://access-ci.org/glossary/",name:"Glossary"},{href:"https://access-ci.org/privacy-policy",name:"Privacy Policy"},{href:"https://operations.access-ci.org/report-security-incident",name:"Report a Security Incident"},{href:"https://access-ci.org/site-map/",name:"Site Map"}],rh="https://www.nsf.gov/awardsearch/showAward",Zn=({number:e})=>f("a",{href:`${rh}?AWD_ID=${e}&HistoricalAwards=false`,children:["#",e]}),Ni=({className:e=null,items:t})=>f("ul",{class:e,children:t.map(({className:n,name:i,href:o})=>f("li",{children:f("a",{className:n,href:o,children:i})}))}),sh="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAABIAAAASABGyWs+AABv5klEQVR42u29d5gkVb0+/p5zKnTunp48m3NiWWDJCCJJAREJ14DoNV/1ioqo1wRmr2K46upVMcuiCCIIkgTJYdllE5tnw8xODj3TuSuec35/VOfpWYLu/r7cZ8/z1HZtd09VdZ23PuH9hAMcHUfH0XF0vFoGOXoLDj36t9zEmBo4G1J2mNmDSI08l0yn+v/xuvdssY7enemHcvQWHHo4xrgi3NC1TA2+QQgXY4nxLSPjmXUAjgLrKLBe+bDyg5Qy3acHO5ltOxgcNwNDI3nt6J059KBHb8GL3CCm6wQkKiUHpQyapgcUhepH78xRYP2TwPLFqBJoJaBgjCEUDIYCPiV+uM43tP1mDG3/PT0KrP+fxtjeu+nQjlu69j75+Uu33fu2wzbRVPEvpoqvRQKglCISjsaCPnbyr78+7/B4U1TtlMC39j/ztUu33feOpudvO4McBdYRGr3rvzvTtdJfg+QPunb25onx7gv+9L2F//Lz9D3/Q4Uy/TLKtCCkACEE8eYuFg4F3qypNPgv90A3/wzczrxBOLlPcCf7h1Ry8J4DA2OvOQqsIzTMXF9HbnLbB7lrHgMWDOcN990KI9F/ufRg2hJC1QtBKCQEACAUiqMl3nJayM9ec//Plv6rxVULdwvvca2kajs8sOdgavG+vmzhKLCO0EiNrtudHnl6i5UfhC/YhqaW+Wf6dXbJgz9f9i9TG8M7bgkQwj5GCJ0tJS+/zxQdbZ3LotFw6DN+jXX+y2yrHbdQQsg7pHRP5tzExGQCPX0jW4cT+T1HgXWEhmMXclJY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QGpMPKclLjetEVWSgm/ThH0sWU+nXUeBdYRGrse/k+NO7nzbTPBMpkcDg7nLdN2/wfAtn9F/Ou6GwehKWQPJeTztivGqlf35VxieMLE2KTxghDy62vWZv8lqQHv/WKPVBi5V0h5l8tlsTJIduYN97Wf/WDzUWAdiZFKbGsf6HnqhO69L2D3wRSSGet5KXHHv5JIfN/1vdA1+hSj5NZiI3kAgGEJDI0bjuWInwHo/1f+riuv3VuQEj9LpJ3xXT0Z7O5Jy8HR3Mm2zbWjXuGRAFZqfPTAYO5jw+PGVbmCfS4Xci2Af3m7w8s+1u0+/psVaylj7yCENAvhIpN3kMk7B6SU9x8ORjxb4M/3DefvGpssdDiuuB3AA4ySowTpkRgXfmiXDeAf11wdfhzAfADjhysFRNfVvZRpewE0C+4ik3dhO2ILgJHDcb6rPr3P/vwHmz/PhcwDMI5USfxRYFWNNWuzLoDuw+sk6BnG/Fuk5KdyYcCwuATwHA4jI/7NmyYSeJUPiqPjkOPktz4nqBLcTZkPQhBwLm1Gyd5XqyQ5KrH+HxrcNQ3TMpBIW8gVHC6EzBy9K0eB9U+P/qGB3NB44eDAaB4F0zWEkMbRu3IUWP/0GJ807x5JGE/nCg7gLdU5dvSuHB1Hx/8P4/8D9B8zcoSATacAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDgtMTdUMTY6MTI6MTUtMDQ6MDBuCuvkAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA4LTE3VDE2OjEyOjE1LTA0OjAwH1dTWAAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAASUVORK5CYII=",ah="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20id='Layer_1'%20viewBox='0%200%20269.14%2041.37'%3e%3cdefs%3e%3clinearGradient%20id='linear-gradient'%20x1='14.99'%20y1='25.59'%20x2='42.38'%20y2='-1.8'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23e47637'%3e%3c/stop%3e%3cstop%20offset='.88'%20stop-color='%23ffcc52'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-2'%20x1='87.72'%20y1='26.66'%20x2='112.87'%20y2='1.51'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23008597'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-3'%20x1='233.69'%20y1='10.21'%20x2='195.89'%20y2='32.03'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.2'%20stop-color='%23008597'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-4'%20x1='45.84'%20y1='29.07'%20x2='82.09'%20y2='29.07'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.18'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3cstop%20offset='.81'%20stop-color='%23008597'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-5'%20x1='43.22'%20y1='20.68'%20x2='68.03'%20y2='20.68'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.22'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23008597'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-6'%20x1='165.05'%20y1='35.98'%20x2='194.21'%20y2='35.98'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.03'%20stop-color='%23008597'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-7'%20x1='123.91'%20y1='11.68'%20x2='160.35'%20y2='11.68'%20xlink:href='%23linear-gradient-2'%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-8'%20x1='269.14'%20y1='20.69'%20x2='234.79'%20y2='20.69'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.03'%20stop-color='%23038596'%3e%3c/stop%3e%3cstop%20offset='.82'%20stop-color='%2366d6d6'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-9'%20x1='271.07'%20y1='10.21'%20x2='233.26'%20y2='32.03'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.2'%20stop-color='%23008597'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-10'%20y1='20.36'%20x2='191.15'%20y2='20.36'%20xlink:href='%23linear-gradient-6'%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-11'%20y1='5.3'%20y2='5.3'%20xlink:href='%23linear-gradient-6'%3e%3c/linearGradient%3e%3c/defs%3e%3cg%3e%3cpolygon%20points='44.62%20.43%202.5%207.94%2030.06%2040.66%2044.62%20.43'%20style='fill:url(%23linear-gradient);'%3e%3c/polygon%3e%3crect%20x='15.25'%20y='17.07'%20width='8.79'%20height='8.79'%20transform='translate(23.41%20-7.39)%20rotate(49.9)'%20style='fill:%23fff;'%3e%3c/rect%3e%3crect%20x='8.52'%20y='22.74'%20width='8.79'%20height='8.79'%20transform='translate(25.35%20-.23)%20rotate(49.9)'%20style='fill:%231a5b6e;'%3e%3c/rect%3e%3crect%20x='1.8'%20y='28.4'%20width='8.79'%20height='8.79'%20transform='translate(27.29%206.93)%20rotate(49.9)'%20style='fill:%23f07537;'%3e%3c/rect%3e%3crect%20x='2.86'%20y='16.01'%20width='8.79'%20height='8.79'%20transform='translate(18.19%201.71)%20rotate(49.9)'%20style='fill:%2348c0b9;'%3e%3c/rect%3e%3crect%20x='14.19'%20y='29.46'%20width='8.79'%20height='8.79'%20transform='translate(32.51%20-2.17)%20rotate(49.9)'%20style='fill:%23008597;'%3e%3c/rect%3e%3c/g%3e%3cg%3e%3cg%3e%3cpath%20d='M70.26,.67l14.44,40.03h-11.09l-2.57-7.25h-14.5l-2.51,7.25h-10.82L57.66,.67h12.6Zm-10.65,24.03h8.37l-4.18-11.93-4.18,11.93Z'%3e%3c/path%3e%3cpath%20d='M103.46,31.89c3.68,0,6.3-2.45,7.02-6.41l10.26,3.4c-2.45,7.53-8.25,12.49-17.23,12.49-11.26,0-19.24-8.64-19.24-20.69S92.25,0,103.52,0c8.98,0,14.77,4.96,17.23,12.49l-10.26,3.4c-.72-3.96-3.34-6.41-7.02-6.41-4.85,0-8.25,4.35-8.25,11.21s3.4,11.21,8.25,11.21Z'%20style='fill:%23008597;'%3e%3c/path%3e%3cpath%20d='M84.42,23.37c-1.27-14.31,7.83-23.37,19.09-23.37,8.98,0,14.77,4.96,17.23,12.49l-10.26,3.4c-.72-3.96-3.34-6.41-7.02-6.41-4.85,0-8.25,4.35-8.25,11.21l-10.79,2.68Z'%20style='fill:url(%23linear-gradient-2);'%3e%3c/path%3e%3cpath%20d='M143.01,31.89c3.68,0,6.3-2.45,7.02-6.41l10.26,3.4c-2.45,7.53-8.25,12.49-17.23,12.49-11.26,0-19.24-8.64-19.24-20.69S131.8,0,143.07,0c8.98,0,14.77,4.96,17.23,12.49l-10.26,3.4c-.72-3.96-3.34-6.41-7.02-6.41-4.85,0-8.25,4.35-8.25,11.21s3.4,11.21,8.25,11.21Z'%20style='fill:%23008597;'%3e%3c/path%3e%3cpath%20d='M203.38,26.76c3.4,3.85,7.92,5.63,11.99,5.63,3.35,0,5.58-1.23,5.58-3.51,0-2.57-2.84-2.9-8.98-4.13-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68,6.25,1.28,14.05,3.01,14.05,11.93s-7.58,13.61-16.83,13.61c-6.53,0-14.16-2.57-17.51-6.69l5.97-7.92Z'%20style='fill:url(%23linear-gradient-3);'%3e%3c/path%3e%3cpath%20d='M211.97,24.76c-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68l-5.74,8.92Z'%20style='fill:%23008597;'%3e%3c/path%3e%3cpath%20d='M70.26,.67l14.44,40.03h-11.09l-2.57-7.25L59.62,.67h10.65Zm-2.29,24.03'%20style='fill:%23008597;'%3e%3c/path%3e%3cpath%20d='M194.21,.67V9.92h-18.46v5.97h15.28v9.03h-15.28v6.52h18.46v9.26h-29.16V.67h29.16Z'%20style='fill:%23008597;'%3e%3c/path%3e%3c/g%3e%3cpolygon%20points='82.09%2033.45%2078.93%2024.7%2067.98%2024.7%2059.61%2024.7%2048.99%2024.7%2045.84%2033.45%2082.09%2033.45'%20style='fill:url(%23linear-gradient-4);'%3e%3c/polygon%3e%3cpath%20d='M68.03,.67l-13.99,40.03h-10.82L57.66,.67h10.37Zm-8.42,24.03l4.18-11.93-4.18,11.93Z'%20style='fill:url(%23linear-gradient-5);'%3e%3c/path%3e%3cpolygon%20points='165.05%2031.35%20165.05%2040.61%20175.76%2040.61%20176.66%2040.61%20194.21%2040.61%20194.21%2031.35%20165.05%2031.35'%20style='fill:url(%23linear-gradient-6);'%3e%3c/polygon%3e%3cpolygon%20points='175.75%2015.39%20165.05%2015.39%20165.05%20.74%20175.75%20.67%20175.75%2015.39'%20style='fill:%23008597;'%3e%3c/polygon%3e%3cpath%20d='M124.03,23.37c-1.27-14.31,7.83-23.37,19.09-23.37,8.98,0,14.77,4.96,17.23,12.49l-10.26,3.4c-.72-3.96-3.34-6.41-7.02-6.41-4.85,0-8.25,4.35-8.25,11.21l-10.79,2.68Z'%20style='fill:url(%23linear-gradient-7);'%3e%3c/path%3e%3cpath%20d='M240.76,26.76c3.4,3.85,7.92,5.63,11.99,5.63,3.35,0,5.58-1.23,5.58-3.51,0-2.57-2.84-2.9-8.98-4.13-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68,6.25,1.28,14.05,3.01,14.05,11.93s-7.58,13.61-16.83,13.61c-6.53,0-14.16-2.57-17.51-6.69l5.97-7.92Z'%20style='fill:url(%23linear-gradient-8);'%3e%3c/path%3e%3cpath%20d='M240.76,26.76c3.4,3.85,7.92,5.63,11.99,5.63,3.35,0,5.58-1.23,5.58-3.51,0-2.57-2.84-2.9-8.98-4.13-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68,6.25,1.28,14.05,3.01,14.05,11.93s-7.58,13.61-16.83,13.61c-6.53,0-14.16-2.57-17.51-6.69l5.97-7.92Z'%20style='fill:url(%23linear-gradient-9);'%3e%3c/path%3e%3cpolygon%20points='165.05%2015.73%20165.05%2024.99%20175.76%2024.99%20176.66%2024.99%20191.15%2024.99%20191.15%2015.73%20165.05%2015.73'%20style='fill:url(%23linear-gradient-10);'%3e%3c/polygon%3e%3cpath%20d='M249.34,24.76c-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68l-5.74,8.92Z'%20style='fill:%23008597;'%3e%3c/path%3e%3cpolygon%20points='165.05%20.67%20165.05%209.92%20175.76%209.92%20176.66%209.92%20194.21%209.92%20194.21%20.67%20165.05%20.67'%20style='fill:url(%23linear-gradient-11);'%3e%3c/polygon%3e%3c/g%3e%3c/svg%3e",Ua=({nsfUrl:e="https://www.nsf.gov",placement:t="header",siteName:n="",siteUrl:i="/"})=>f("div",{class:`logo logo-${t}`,children:[f("a",{class:"nsf",href:e,children:f("img",{class:"nsf-logo",src:sh,alt:"National Science Foundation"})}),f("div",{class:"divider"}),f("a",{class:"access",href:i,children:[f("img",{class:"access-logo",src:ah,alt:"ACCESS"}),n&&t=="header"?f("span",{class:`name name-${n.toLocaleLowerCase().replace(" ","-")}`,children:n}):null]})]}),vr=(e=900)=>document.body.clientWidth>=e?"desktop":"mobile",Va=(e=900)=>{const[t,n]=R(vr(e));return et(()=>{window.addEventListener("resize",()=>n(vr(e)))},[]),t},Ee=(e,t,n=[])=>{const i=t.attachShadow({mode:"open"});xn(f(N,{children:[e,n.map(o=>f("style",{children:o}))]}),i)},Wa=()=>window.pageYOffset!==void 0?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop,Ya={},ji={},ch=(e,{cache:t=!0,corsProxy:n=!1}={cache:!0,corsProxy:!1})=>{if(t&&e in Ya)return Ya[e];if(e in ji)return ji[e];const i=fetch(n?`https://corsproxy.io/?${encodeURIComponent(e)}`:e).then(o=>{if(delete ji[e],o.status<200||o.status>299)return{error:{status:o.status}};try{return o.json()}catch(r){return{error:{message:r}}}});return ji[e]=i,i},Lt=(e,{cache:t=!0,corsProxy:n=!1,defaultValue:i=null}={cache:!0,corsProxy:!1,defaultValue:null})=>{const[o,r]=R(i);let s=!1;return Array.isArray(e)||(e=e?[e]:[],s=!0),et(()=>{e.length&&(async()=>{const a=await Promise.all(e.map(l=>ch(l,{cache:t,corsProxy:n}))),c=s?a[0]:a;r(c)})()},[...e]),o},Ka=()=>{const e=Lt("https://operations-api.access-ci.org/wh2/cider/v1/access-active-groups/type/resource-catalog.access-ci.org/");return wr([e],({results:t})=>{const{active_groups:n,feature_categories:i,features:o,organizations:r,resources:s}=t,a=[{tagCategoryId:-1,name:"Resource Provider",tags:[]}],c=[-1];for(let p of i)[100,102,103].includes(p.feature_category_id)&&(a.push({tagCategoryId:p.feature_category_id,name:p.feature_category_name,tags:[]}),c.push(p.feature_category_id));a.sort((p,g)=>p.name.localeCompare(g.name));const l=o.filter(p=>c.includes(p.feature_category_id)).map(p=>({tagId:p.feature_id,name:p.feature_name,tagCategoryId:p.feature_category_id})),A={};for(let p of r)l.push({tagId:p.organization_id*-1,name:p.organization_name,tagCategoryId:-1,iconUri:p.organization_favicon_url||null}),A[p.organization_id]=p;l.sort((p,g)=>p.name.localeCompare(g.name));const d=l.map(p=>p.tagId),u=[{resourceCategoryId:1,name:"Compute & Storage Resources",resourceGroups:[],resourceGroupIds:[]},{resourceCategoryId:2,name:"Program & Other Resources",resourceGroups:[],resourceGroupIds:[]}],h=n.filter(p=>p.rollup_info_resourceids).map(p=>({infoGroupId:p.info_groupid,name:p.group_descriptive_name,description:p.group_description,infoResourceIds:p.rollup_info_resourceids,imageUri:p.group_logo_url?`https://cider.access-ci.org/public/groups/${p.group_logo_url.match(/[0-9]+/)[0]}/logo`:null,tagIds:[...p.rollup_organization_ids.map(g=>g*-1).filter(g=>d.includes(g)),...p.rollup_feature_ids.filter(g=>d.includes(g))],resourceCategoryId:p.rollup_feature_ids.includes(137)?2:1,accessAllocated:p.rollup_feature_ids.includes(139),organizations:p.rollup_organization_ids.map(g=>A[g]).filter(g=>g),resources:s.filter(g=>p.rollup_info_resourceids.includes(g.info_resourceid))})).sort((p,g)=>p.name.localeCompare(g.name));return Ah({resourceCategories:u,resourceGroups:h,tags:l,tagCategories:a})})},$n=(e,t=null)=>{const n=Ka();return n&&n.resourceGroups.find(i=>i.infoGroupId==e)||t},lh=(e,t=[])=>{const n=Lt(`https://operations-api.access-ci.org/wh2/cider/v1/access-active/info_groupid/${e}/?format=json`);return n&&!n.error?n.results:t},wr=(e,t,n=null)=>kt(()=>{if(!e.length)return n;for(let i of e)if(!i||i.error)return n;return t.apply(null,e)},e),Ah=({resourceCategories:e,resourceGroups:t,tags:n,tagCategories:i})=>{const o={};for(let a of i)a.tags=[],o[a.tagCategoryId]=a;const r={};for(let a of n)a.tagCategory=o[a.tagCategoryId],a.tagCategory.tags.push(a),a.resources=[],r[a.tagId]=a;const s={};for(let a of e)a.resourceGroups=[],s[a.resourceCategoryId]=a;for(let a of t)a.resourceCategory=s[a.resourceCategoryId],a.resourceCategory.resourceGroups.push(a),a.tags=a.tagIds.map(c=>r[c]);return{resourceCategories:e,resourceGroups:t,tags:n,tagCategories:i}},dh=({resourceGroups:e,tags:t,tagCategories:n},i)=>{const o=new Set,r=new Set,s=new Set,a=new Set(i);for(let A of t)a.has(A.tagId)&&s.add(A.tagCategoryId);const c=n.filter(({tagCategoryId:A})=>s.has(A)),l=new Set(t.filter(A=>!s.has(A.tagCategoryId)).map(A=>A.tagId));for(let A of e){let d=!0;for(let u of c){let h=!1;for(let p of u.tags)if(a.has(p.tagId)&&A.tags.includes(p)){h=!0;break}if(!h){d=!1;break}}if(d){r.add(A.infoGroupId),o.add(A.resourceCategoryId);for(let u of A.tagIds)l.delete(u)}}return{disabledTagIds:l,resourceCategoryIds:o,infoGroupIds:r,tagCategoryIds:s,tagIds:a}},qa=e=>{let t=e.match(/href="([^"]+)"/);return t?t[1]:null},yr=e=>e.replace(/(<[^>]+>)/g,"").replace(/ /g," "),xr=e=>{const t=[];for(let n of e.split(/(\<\/p\>)|[\n\r]+/g)){if(!n)continue;const i=Array.from(n.matchAll(/<a([^>]+)>([^<]+)<\/a>/g)),o=n.split(/<a[^<]+<\/a>/g),r=[];for(;o.length>0;){r.push(yr(o.shift()));let s=i.shift();if(s){let a=qa(s[1]);a&&r.push(f("a",{href:a,children:s[2]}))}}t.push(f("p",{children:r}))}return t},uh=({showAfterScroll:e=300})=>{const[t,n]=R(!1);return et(()=>{window.addEventListener("scroll",()=>n(Wa()>=e))},[]),f("button",{class:`scroll-to-top ${t?"visible":""}`,title:"Return to Top",onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),children:"Return to Top"})},hh=(e={})=>f(N,{children:[f("div",{class:"container",children:[f("div",{class:"upper",children:[f("div",{class:"about",children:[f("p",{class:"awards",children:["ACCESS is an advanced computing and data resource program supported by the U.S. National Science Foundation (NSF) under the Office of Advanced Cyberinfrastructure awards"," ",f(Zn,{number:2138259}),", ",f(Zn,{number:2138286}),","," ",f(Zn,{number:2138307}),", ",f(Zn,{number:2137603})," and"," ",f(Zn,{number:2138296}),"."]}),f("p",{class:"disclaimer",children:"Any opinions, findings, conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of NSF."}),f("a",{class:"contact",href:"https://access-ci.org/contact/",children:"Contact ACCESS"}),f(Ni,{className:"social",items:ih})]}),f("div",{class:"personas",children:[f("p",{children:"For:"}),f(Ni,{items:Fa})]})]}),f("div",{class:"lower",children:[f(Ua,{siteName:"ACCESS",siteUrl:"https://access-ci.org",placement:"footer"}),f(Ni,{className:"links",items:oh})]})]}),f(uh,{...e})]}),fh=(e={})=>f("div",{class:"container",children:f(Ua,{...e})}),Xa=({autoOpenMode:e,classes:t="",href:n="",html:i="",items:o,mode:r,name:s,open:a,parentId:c="root",setOpen:l})=>{const A=fr(),d=a[c]==A,u=d||e==r,h=()=>l({...a,[c]:d?null:A});if(i)return f("div",{dangerouslySetInnerHTML:{__html:i}});if(n)return f("a",{href:n,class:`item ${t||""}`,children:s});if(o)return f(N,{children:[s&&f("button",{"aria-expanded":u,"aria-controls":A,class:`item ${u?"expanded":"collapsed"}`,onClick:h,children:s}),f("ul",{class:t,id:A,hidden:!u,"aria-hidden":!u,children:o.map(({autoOpenMode:p,classes:g,href:b,html:v,items:w,name:_})=>f("li",{class:g||"",children:f(Xa,{autoOpenMode:p,href:b,html:v,items:w,mode:r,name:_,open:a,parentId:A,setOpen:l})}))})]})},Ga=({classes:e,items:t,name:n,target:i})=>{const o=Va(1280),[r,s]=R({});return et(()=>{document.body.addEventListener("click",a=>{a.target!=i&&vr()=="desktop"&&s({})}),i.addEventListener("keydown",({key:a})=>{a=="Escape"&&s({})})},[]),f("nav",{class:`menu ${e||""}`,children:f(Xa,{autoOpenMode:"desktop",items:t,mode:o,name:n,open:r,setOpen:s})})},ph=({items:e,siteName:t=""})=>{const n=Va(768),i=e.map(({name:o,href:r,items:s})=>{if(n=="mobile")for(;!r;)r=s[0].href,s=s[0];return r?f("div",{class:"column",children:f("h3",{children:f("a",{href:r,children:o})})}):f("div",{class:"column",children:[f("h3",{children:o}),f(Ni,{items:s})]})});return f("nav",{class:"footer",children:[f("h2",{children:["ACCESS ",t]}),f("div",{class:"columns",children:i})]})},gh=br(()=>Promise.resolve().then(()=>e1)),mh=br(()=>Promise.resolve().then(()=>c1));function bh({title:e="Resources",showTitle:t=!0,baseUri:n="/resources"}){return f(Jn,{children:f(Ha,{children:f(Qa,{children:[f(mh,{path:n,baseUri:n,title:e,showTitle:t}),f(gh,{path:`${n}/:infoGroupId`,baseUri:n})]})})})}const vh=({headings:e=[],idPrefix:t="",smoothScroll:n=!0})=>{const[i,o]=R(-1);let r;const s=[];if(e.forEach(a=>{a.tagName=="H1"?r=a:a.tagName=="H2"&&(s.push(a),a.id||(a.id=t+a.textContent.replace(/[^A-Za-z0-9]+/g,"-").toLowerCase()))}),et(()=>{s.length&&window.addEventListener("scroll",function(){const a=Wa()+window.innerHeight*.1;let c=-1;s.forEach((l,A)=>{if(l.offsetTop<a)return c=A,!1}),o(c)})},[]),!!s.length)return f("div",{class:"toc",children:[r&&f("h2",{children:r.textContent}),s.length>0&&f("ul",{children:s.map((a,c)=>f("li",{children:f("a",{href:`#${a.id}`,class:c==i?"active":"",onClick:l=>{n&&(l.preventDefault(),window.scrollTo({top:a.offsetTop,behavior:"smooth"}),history.pushState(null,null,`#${a.id}`))},children:a.textContent})}))})]})},Se=":host,:root{--contrast: #232323;--contrast-2: #3f3f3f;--contrast-3: #707070;--contrast-6: #999999;--contrast-7: #d9d9d9;--contrast-8: #dfdfdf;--contrast-9: #e5e5e5;--green-400: #288654;--red-400: #a70000;--orange-200: #f6d8ca;--orange-400: #f07537;--teal-050: #ecf9f8;--teal-100: #cee8e9;--teal-200: #b0dadb;--teal-400: #48c0b9;--teal-600: #107180;--teal-700: #1a5b6e;--yellow-200: #fce5ab;--yellow-400: #ffc42d;--color: white;--padding: 30px;--offset: 0px;--outline: white;color:var(--contrast)}:host,:host button,:root,:root button{font-family:Archivo,sans-serif}.container{margin:0 auto;padding:0 var(--padding);width:var(--width)}.visually-hidden{border:0!important;clip:rect(0,0,0,0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}@media (min-width: 600px){:host,:root{--padding: calc((100% - var(--width)) / 2);--offset: 7px;--width: 540px}}@media (min-width: 768px){:host,:root{--width: 712px}}@media (min-width: 900px){:host,:root{--width: 840px}}@media (min-width: 1024px){:host,:root{--width: 940px}}@media (min-width: 1280px){:host,:root{--padding: 10px;--offset: 0px;--width: 1180px}}",wh='ul.breadcrumbs{--offset: calc((100vw - var(--width)) / 2);border-bottom:1px solid var(--contrast-7);box-sizing:border-box;font-size:14px;font-stretch:70%;font-weight:600;line-height:20px;list-style-type:none;margin:0;padding:0 30px;width:100vw}ul.breadcrumbs.top-border{border-top:1px solid var(--contrast-7)}ul.breadcrumbs.expand{margin-left:-30px;margin-right:-30px}ul.breadcrumbs li{display:inline-block;margin:0;padding:11px 0 6px;text-transform:uppercase;vertical-align:middle}ul.breadcrumbs li:not(.home):before{content:"/";margin:0 12px}ul.breadcrumbs li a{color:var(--teal-700);text-decoration:none}ul.breadcrumbs li:not(.home) a:active,ul.breadcrumbs li:not(.home) a:focus,ul.breadcrumbs li:not(.home) a:hover{text-decoration:underline}@media (min-width: 600px){ul.breadcrumbs{padding-left:var(--offset);padding-right:var(--offset)}ul.breadcrumbs.expand{margin-left:calc(var(--offset) * -1);margin-right:calc(var(--offset) * -1)}}',yh=`:root{color:#232323;font-family:Archivo,sans-serif;font-size:16px}h1{font-size:36px;font-stretch:70%;font-weight:500;margin-top:60px}h2{font-size:22px;font-weight:800;margin-top:36px}h3{color:var(--teal-700);font-size:18px;font-weight:800}a{color:var(--contrast);font-weight:800;text-decoration:underline}a:active,a:focus,a:hover{color:var(--teal-600);text-decoration:none}ol,p,ul{font-size:1.125rem;line-height:1.875rem;margin:0 0 1.25rem}li{margin-bottom:.5rem}.btn{background-color:var(--teal-700);border:4px solid var(--teal-700);color:#fff;display:inline-block;font-family:Archivo,sans-serif;font-size:16px;font-weight:600;line-height:24px;padding:6px 12px;text-decoration:none;text-transform:uppercase}.secondary{background-color:var(--yellow-400);border-color:var(--yellow-400);color:var(--contrast)}.danger{background-color:var(--red-400);border-color:var(--red-400)}.lg{font-size:20px;line-height:30px;padding:8px 16px}.btn.active,.btn:active,.btn:focus,.btn:hover{background-color:#fff;border-color:var(--contrast);color:var(--contrast);cursor:pointer}.btn-clear,.btn-clear.active,.btn-clear:active,.btn-clear:focus,.btn-clear:hover{background-color:transparent;border-color:transparent;color:var(--contrast)}.btn:disabled{background-color:var(--contrast-8);border-color:var(--contrast-8);color:var(--contrast-3)}.btn .bi{vertical-align:middle}.btn+.btn{margin-left:10px}.table{border-top:1px solid var(--contrast);border-collapse:collapse;width:100%}.table td,.table th{border-bottom:1px solid var(--contrast);padding:16px}.table thead th{text-align:left}.table tbody th{text-align:right}input,select{border:1px solid var(--contrast-8);border-radius:0;color:var(--contrast);font-size:1rem;padding:6px 12px}select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/></svg>");background-position:right 12px center;background-repeat:no-repeat;padding:6px 36px 6px 12px}.intro{font-size:24px}`,xh=`:host{background-color:#fbfbfb}.container{color:var(--contrast)}a{color:var(--teal-600);font-weight:800;text-decoration:none}a:active,a:focus,a:hover{text-decoration:underline}.about{padding-top:25px}.awards{font-size:15px;line-height:21px;margin:0 0 20px}.disclaimer{font-size:12px;line-height:18px;margin:0 0 15px}.contact{font-size:16px;font-stretch:70%;text-transform:uppercase}.social{align-items:center;display:flex;flex-direction:row;justify-content:flex-start;list-style-type:none;margin:0;padding:20px 0 10px}.social li{margin:0 35px 0 0;padding:0}.social li:last-child{margin:-10px}.social a{background-size:contain;background-repeat:no-repeat;display:block;height:25px;text-indent:-999999px;width:25px}.x{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' class='bi bi-twitter-x' viewBox='0 0 16 16'><path d='M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865z'/></svg>")}.youtube{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' viewBox='0 0 16 16'><path d='M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.01 2.01 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.01 2.01 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31 31 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.01 2.01 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A100 100 0 0 1 7.858 2zM6.4 5.209v4.818l4.157-2.408z'/></svg>")}.facebook{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' viewBox='0 0 16 16'><path d='M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951'/></svg>")}a.linkedin{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' viewBox='0 0 16 16'><path d='M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854zm4.943 12.248V6.169H2.542v7.225zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248S2.4 3.226 2.4 3.934c0 .694.521 1.248 1.327 1.248zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016l.016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225z'/></svg>")}.lower{border-top:1px solid var(--contrast-9);padding:10px 0 60px}.links{display:flex;flex-direction:row;flex-wrap:wrap;list-style-type:none;margin:20px 0 0;padding:0}.links li{padding:0 20px 10px 0}.links li:last-child{padding-right:0}.links a{font-size:12px;font-weight:600}.scroll-to-top{background-color:#00000080;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' stroke='white' stroke-width='1' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708z'/></svg>");background-position:center;background-repeat:no-repeat;background-size:13px;border:0 none transparent;bottom:30px;cursor:pointer;display:block;height:40px;opacity:0;position:fixed;right:30px;text-indent:-999999px;transition:opacity .25s ease-out;width:40px;z-index:100}.scroll-to-top.visible{opacity:1}.personas{box-sizing:border-box;font-size:15px;padding:20px 0}.personas p{margin:0}.personas ul{list-style-type:none;margin:5px 0;padding:0}.personas li{padding:3px 0}@media (min-width: 1024px){.lower{align-items:start;display:flex;flex-direction:row;justify-content:space-between}.links{margin-top:0}}@media (min-width: 900px){.upper{display:flex;flex-direction:row;justify-content:space-between}.upper>*{width:calc((var(--width) - 20px) / 2)}.about{padding:40px 0 30px}.awards{font-size:18px;line-height:24px}.personas{font-size:18px;padding:40px calc(((var(--width) - 140px) / 8) + 20px) 30px}}`,_h=".container{box-sizing:content-box;height:84px;padding-top:20px}@media (min-width: 900px){.container{height:144px;padding-top:52px}}",Ja=`.logo{align-items:start;display:flex;flex-direction:row}.nsf-logo{height:49px}.access-logo{height:23px;margin-top:12px}.access,.nsf{display:block;text-decoration:none}.divider{border-right:2px solid #bbbbbb;height:40px;margin:4px 15px 0 12px;width:0}.name{color:var(--teal-700);display:block;font-size:17.5px;font-stretch:80%;font-weight:200;line-height:1;margin:3px 0 0;text-align:right}.name:before{content:"";display:inline-block;height:0;margin:0 5px 0 0;width:0}.name-allocations:before{border-bottom:12px solid var(--orange-400);border-left:12px solid transparent}.name-coordination-office:before{background-color:var(--teal-400);border-radius:6px;height:12px;margin:0 6px 0 0;width:12px}.name-metrics:before{background-image:url("data:image/svg+xml;utf8,<svg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg' width='12'><circle cx='12' cy='0' r='12' fill='%23008496' /></svg>");background-size:cover;height:12px;margin:0 2px 0 0;width:12px}.name-operations:before{border-top:12px solid var(--yellow-400);border-right:12px solid transparent}.name-support:before{background-color:var(--teal-700);height:12px;margin:0 6px 0 0;width:12px}.logo-footer .nsf-logo{height:40px}.logo-footer .divider{height:34px;margin:3px 11px 0 9px}.logo-footer .access-logo{margin-top:10px;height:21px;width:auto}@media (min-width: 900px){.nsf-logo{height:82px}.divider{height:70px;margin:6px 23px 0 20px}.access-logo{height:auto;margin-top:22px;width:253px}.name{font-size:30px}.name-allocations:before{border-bottom:20px solid var(--orange-400);border-left:20px solid transparent}.name-metrics:before{height:20px;margin:0 4px 0 0;width:20px}.name-operations:before{border-top:20px solid var(--yellow-400);border-right:20px solid transparent}.name-coordination-office:before{border-radius:9.5px;height:19px;width:19px}.name-support:before{height:19px;margin:0 7px 0 0;width:19px}}`,_r=`.menu{--icon-caret-down-dark: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");--icon-caret-down-light: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");--icon-caret-down-teal: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23107180' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>")}.universal{--background: var(--teal-700);--border: rgba(19, 133, 151, .35)}.site{--background: var(--teal-600);--border: #157688}.site ul ul{--border: rgba(19, 133, 151, .35)}.menu ul,.menu li{list-style-type:none;margin:0;padding:0}.menu a{text-decoration:none}.item{background:transparent;border:0 none transparent;border-radius:0;box-sizing:border-box;cursor:pointer;display:block;text-align:left;width:100%}.item{font-size:14px;font-weight:600;line-height:21px;padding:13.5px var(--padding) 13.5px}.menu>ul>li>.item{font-weight:800}.item,.menu li:last-child li:last-child>.item{border-bottom:1px solid var(--border)}.menu li.highlight button,.menu li:last-child>.item,.menu>.collapsed{border-bottom:0 none transparent}.expanded{border-bottom-width:2px}.menu button{position:relative}.menu>button{font-weight:500;padding:13.5px var(--padding) 13.5px;text-transform:uppercase}.menu button:after{background-image:var(--icon-caret-down-light);background-repeat:no-repeat;background-size:18px;content:"";display:block;height:18px;right:calc(var(--padding) + var(--offset));position:absolute;top:15px;width:18px}.menu button.expanded:after{transform:rotate(180deg)}.menu .highlight button:after{background-image:var(--icon-caret-down-dark)}.menu button,.menu ul li{background-color:var(--background)}.menu button,.menu ul li a{color:var(--color)}.menu ul li li{background-color:#fff}.menu ul li li a{color:#138597}.icon>.item{background-position:calc(var(--padding) + var(--offset)) center;background-repeat:no-repeat;background-size:14px 14px;text-indent:-99999px}.icon-home>.item{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'><path d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5'/></svg>")}.icon-search>.item{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'><path d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0'/></svg>")}.track .item{text-transform:uppercase;padding-top:4px;padding-bottom:4px}.track:first-child .item{padding-top:17px}.track.grow .item{padding-bottom:21px}.track .item{border-bottom:0 none transparent}.highlight button{background-color:var(--yellow-400);color:var(--contrast)}.footer{background-color:var(--teal-700);padding:50px var(--padding) 36px;color:#fff}.footer h2{font-size:14px;font-weight:600;margin:0 auto 20px;text-transform:uppercase;width:var(--width)}.columns{margin:0 auto;width:var(--width)}.column{padding-bottom:14px}.footer a,.footer a:visited{color:#fff;text-decoration:none}.footer a:active,.footer a:focus,.footer a:hover{color:var(--teal-100);text-decoration:underline}.footer h3{font-size:14px;font-weight:800;margin:0}.footer ul{margin:0;padding:0}.footer li{font-size:14px;font-weight:600;list-style-type:none;padding:14px 0 0}@media (min-width: 768px){.columns{display:flex;flex-direction:row;flex-wrap:wrap;padding:10px 0}.column{padding-bottom:40px;padding-right:20px;width:calc((var(--width) - 60px) / 4)}.column:nth-child(4),.column:last-child{padding-right:0}}@media (min-width: 1280px){.site{--background: white;--color: var(--teal-600);--outline: var(--teal-700);--padding: 20px;border-bottom:1px solid #d9d9d9;border-top:3px solid var(--teal-700)}.site>ul{justify-content:end}.menu>button{display:none}.menu>ul{display:flex;flex-direction:row;margin:0 auto;width:calc(var(--width) + (2 * var(--padding)))}.item,.track .item,.track:first-child .item,.track.grow .item{border-bottom:0 none transparent;padding-top:12px;padding-bottom:12px}.site .item{font-size:16px}.grow{flex:1 0 auto}.universal{background-color:var(--teal-700)}.universal>ul>li:first-child{margin-left:-10px}.universal>ul>li:last-child{margin-right:-10px}.universal li button{--padding: 20px}.icon>.item{background-position:center center;width:56px}.menu button:after,.menu button.expanded:after,.menu .highlight button:after,.menu .highlight button.expanded:after{display:inline-block;margin-left:5px;position:static;vertical-align:middle}.menu button:after{background-image:var(--icon-caret-down-teal)}.universal button:after{background-image:var(--icon-caret-down-light)}.menu button.expanded:after,.menu button.item:active:after,.menu button.item:focus:after,.menu button.item:hover:after{background-image:var(--icon-caret-down-light)}.menu>ul>li{display:flex;flex-direction:row;justify-content:start;position:relative}.menu>ul>li.grow>.item{flex:0 1 0}.menu>ul>li.active>.item,.menu>ul>li>.expanded,.menu>ul>li>.item:active,.menu>ul>li>.item:focus,.menu>ul>li>.item:hover{background-color:var(--teal-600);color:#fff;outline:0 none transparent}.menu>ul>li>.item:focus-visible{outline:3px solid var(--outline);outline-offset:-3px;z-index:1000}.menu>ul ul{background-color:var(--teal-600);padding:10px 0;position:absolute;right:0;top:48px;z-index:9999}.menu>ul ul li{background-color:var(--teal-600)}.menu>ul ul .item{color:#fff;white-space:nowrap;padding:5px 20px}.menu>ul ul .item:active,.menu>ul ul .item:focus,.menu>ul ul .item:hover{color:#cee8e9;outline:0 none transparent;text-decoration:underline}.menu>ul ul .item:focus-visible{outline:3px solid white;outline-offset:-3px;z-index:1000}.menu>ul>li>.item{line-height:24px}}@media (min-width: 1280px){.columns{flex-wrap:nowrap;padding:10px 0 0}.column{padding-bottom:72px;width:calc((var(--width) - 120px) / 7)}.column:nth-child(4){padding-right:20px}}`,Ph='@import"https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css";.glide{position:relative;width:100%;box-sizing:border-box}.glide *{box-sizing:inherit}.glide__track{overflow:hidden}.glide__slides{position:relative;width:100%;list-style:none;backface-visibility:hidden;transform-style:preserve-3d;touch-action:pan-Y;overflow:hidden;margin:0;padding:0;white-space:nowrap;display:flex;flex-wrap:nowrap;will-change:transform}.glide__slides--dragging{-webkit-user-select:none;user-select:none}.glide__slide{width:100%;height:100%;flex-shrink:0;white-space:normal;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.glide__slide a{-webkit-user-select:none;user-select:none;-webkit-user-drag:none;-moz-user-select:none;-ms-user-select:none}.glide__arrows,.glide__bullets{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.glide--rtl{direction:rtl}.glide__arrow{position:absolute;display:block;top:50%;z-index:2;color:#fff;text-transform:uppercase;padding:9px 12px;background-color:transparent;border:2px solid rgba(255,255,255,.5);border-radius:4px;box-shadow:0 .25em .5em #0000001a;text-shadow:0 .25em .5em rgba(0,0,0,.1);opacity:1;cursor:pointer;transition:opacity .15s ease,border .3s ease-in-out;transform:translateY(-50%);line-height:1}.glide__arrow:focus{outline:none}.glide__arrow:hover{border-color:#fff}.glide__arrow--left{left:2em}.glide__arrow--right{right:2em}.glide__arrow--disabled{opacity:.33}.glide__bullets{position:absolute;z-index:2;bottom:2em;left:50%;display:inline-flex;list-style:none;transform:translate(-50%)}.glide__bullet{background-color:#ffffff80;width:9px;height:9px;padding:0;border-radius:50%;border:2px solid transparent;transition:all .3s ease-in-out;cursor:pointer;line-height:0;box-shadow:0 .25em .5em #0000001a;margin:0 .25em}.glide__bullet:focus{outline:none}.glide__bullet:hover,.glide__bullet:focus{border:2px solid #fff;background-color:#ffffff80}.glide__bullet--active{background-color:#fff}.glide--swipeable{cursor:grab;cursor:-moz-grab;cursor:-webkit-grab}.glide--dragging{cursor:grabbing;cursor:-moz-grabbing;cursor:-webkit-grabbing}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.accordion{margin:0 0 16px}.accordion-heading{margin:0}.accordion-heading button{background-color:var(--teal-050);border:0 none transparent;color:var(--teal-700);cursor:pointer;display:block;font-size:16px;font-weight:800;padding:16px 40px 16px 20px;position:relative;text-align:left;width:100%}.accordion-heading button .icon{position:absolute;right:20px;top:16px}.accordion-content{padding:16px 20px 0}.alert{align-items:center;background-color:var(--yellow-200);border-radius:10px;display:flex;flex-direction:row;margin-bottom:20px;padding:20px}.alert i{margin-right:20px}ul.breadcrumbs{--offset: calc((100vw - var(--width)) / 2);border-bottom:1px solid var(--contrast-7);box-sizing:border-box;font-size:14px;font-stretch:70%;font-weight:600;line-height:20px;list-style-type:none;margin:0;padding:0 30px;width:100vw}ul.breadcrumbs.top-border{border-top:1px solid var(--contrast-7)}ul.breadcrumbs.expand{margin-left:-30px;margin-right:-30px}ul.breadcrumbs li{display:inline-block;margin:0;padding:11px 0 6px;text-transform:uppercase;vertical-align:middle}ul.breadcrumbs li:not(.home):before{content:"/";margin:0 12px}ul.breadcrumbs li a{color:var(--teal-700);text-decoration:none}ul.breadcrumbs li:not(.home) a:active,ul.breadcrumbs li:not(.home) a:focus,ul.breadcrumbs li:not(.home) a:hover{text-decoration:underline}@media (min-width: 600px){ul.breadcrumbs{padding-left:var(--offset);padding-right:var(--offset)}ul.breadcrumbs.expand{margin-left:calc(var(--offset) * -1);margin-right:calc(var(--offset) * -1)}}.carousel{margin-bottom:1rem;width:var(--width)}.slide-inner{background-color:var(--contrast-9);display:flex;flex-direction:column}.slide-image img{display:block;width:100%}.slide-text{box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;padding:20px}.slide-text h2{font-size:16px;line-height:1.1;margin:0 0 .25rem}.slide-text a{font-size:14px;line-height:1.1}.slide-text p{font-size:14px;line-height:1.2;margin-bottom:.5rem}.glide__arrow{align-items:center;background-color:var(--contrast-3);border:0 none transparent;border-radius:15px;display:flex;justify-content:center;height:30px;padding:8px;width:30px}.glide__arrow:active,.glide__arrow:hover{background-color:var(--teal-700)}.glide__arrow svg{fill:#fff}.glide__arrow--left{margin-left:-66px}.glide__arrow--right{margin-right:-66px}@media (min-width: 768px){.slide-inner{flex-direction:row}.slide-image img{width:calc((var(--width) - 20px) / 2)}}@media (min-width: 1024px){.slide-image img{width:calc((var(--width) - 40px) / 3)}}@media (min-width: 1280px){.slide-text h2{font-size:18px}.slide-text a{font-size:16px}.slide-text p{font-size:16px;line-height:1.2;margin-bottom:.5rem}}.highlight{background-color:var(--yellow-200);padding:2px 0}.header-components{margin-bottom:2rem}.button-group .btn{display:block;margin:0 0 10px}.card{border:5px solid var(--contrast);padding:20px}@media (min-width: 768px){.flex-header{align-items:center;display:flex;justify-content:space-between}.header-components{margin-bottom:0}.button-group{display:flex}.button-group .btn{display:flex;margin:0 10px 0 0}}@media (min-width: 1024px){.cards{display:flex;flex-direction:row;flex-wrap:wrap;gap:20px}.card{flex:1 0 20%;margin:0}}.donut-chart svg path{cursor:pointer}.donut-chart .center-text{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;line-height:1.2}.donut-chart .center-text *{cursor:default;display:block;margin-bottom:.25rem;text-align:center}.donut-chart .center-text .percent{color:var(--contrast-2);font-size:.7rem}.donut-chart .top-items{list-style-type:none;margin:0;padding:0}.donut-chart .top-items li{align-items:center;display:flex;flex-direction:row;font-size:1rem;line-height:1.2;margin-bottom:5px}.donut-chart .symbol{border-radius:8px;display:inline-block;height:16px;margin-right:5px;vertical-align:text-top;width:16px}.expand-text{margin-bottom:1rem;position:relative}.expand-text.contracted{max-height:5.3rem;overflow:hidden}.expand-text button{background-color:#fff;border:0 none transparent;color:var(--teal-700);cursor:pointer;font-size:1rem;font-weight:700}.expand-text.contracted button{background:linear-gradient(to right,#fff0,#fff 50%,#fff);position:absolute;right:0;text-align:right;bottom:0;width:12rem}.grid{border-top:1px solid var(--contrast);max-width:100%;margin-bottom:1rem;overflow:scroll;position:relative}.grid table{border-collapse:separate;border-spacing:0;border-top:0 none transparent;margin-bottom:0;position:relative}.grid th{position:sticky;top:0;z-index:10}.grid th,.grid td{background-color:#fff}.grid th:last-child,.grid td:last-child{border-right:0 none transparent}.grid th.important,.grid td.important{background-color:#f8f9fa}.grid th.input,.grid td.input{background-color:var(--teal-200)}.grid .edited td,.grid .edited select{background-color:#faf1d7}.grid .edited td.important,.grid .edited select.important{background-color:#fbeeca}.grid .disabled td,.grid .disabled select{background-color:#ddd}.grid .disabled td.important,.grid .disabled select.important{background-color:#ccc}.grid tbody tr:last-child th,.grid tbody tr:last-child td{border-bottom:0 none transparent}.icon{height:1em;margin-right:5px;vertical-align:text-bottom}.info-tip{background-color:transparent;border:0 none transparent}.tippy-box[data-theme~=access]{background-color:var(--teal-700);border-radius:0;color:#fff;font-weight:400;padding:5px}.tippy-box[data-theme~=access][data-placement^=top]>.tippy-arrow:before{border-top-color:var(--teal-700)}.tippy-box[data-theme~=access][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:var(--teal-700)}.tippy-box[data-theme~=access][data-placement^=left]>.tippy-arrow:before{border-left-color:var(--teal-700)}.tippy-box[data-theme~=access][data-placement^=right]>.tippy-arrow:before{border-right-color:var(--teal-700)}.mini-bar{flex:0 0 auto;position:relative;width:100px}.mini-bar .bar{background-color:#ddd;height:1em}.filters-outer{float:right;position:relative}.filters-inner{background-color:#fff;border:4px solid var(--contrast);padding:20px;position:absolute;right:0;top:41px;width:calc(var(--width) * .4)}.filters-inner h2{font-size:16px;margin:0 0 1rem}.filters-inner ul.tags{margin-bottom:1rem}.btn-filters{position:relative}.btn-filters .active-tag-count{background-color:var(--orange-400);border-radius:10px;color:#fff;display:block;font-size:12px;height:20px;line-height:20px;top:-10px;position:absolute;text-align:center;right:-10px;width:20px}.btn-filters.active{z-index:100}.btn-filters.active:after{background-color:#fff;bottom:-4px;content:"";display:block;height:4px;left:0;position:absolute;width:100%}.event:not(:last-child){margin-bottom:1.5rem}.event-icon,.event-icon:active,.event-icon:focus,.event-icon:hover{align-items:center;background-color:var(--teal-700);color:#fff;display:none;flex:0 0 auto;flex-direction:column;font-weight:800;justify-content:center;height:calc((var(--width) - 140px) / 8);text-decoration:none;width:calc((var(--width) - 140px) / 8)}.event-icon span{display:block}.event-icon span:nth-child(2){font-size:2rem}.event-metadata{margin-bottom:1rem}.event-metadata i:not(:first-child){margin-left:1rem}@media (min-width: 768px){.event{display:flex;flex-direction:row}.event-icon,.event-icon:active,.event-icon:focus,.event-icon:hover{display:flex;margin-right:20px}.event h3{margin-top:0}}@media (min-width: 900px){.event-icon span:nth-child(2){font-size:3rem}}.carousel-projects .glide__slide{font-size:16px}.carousel-projects h3{margin:0 0 .25rem}.carousel-projects .project-metadata{margin-bottom:.5rem}.carousel-projects .project-meta{display:inline-block;font-weight:700;line-height:1.1;margin-right:1rem;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.carousel-projects .project-meta .bi{vertical-align:middle}.metrics-overview strong{background-color:var(--yellow-200);font-size:1.2rem;padding:2px;white-space:nowrap}.metrics-overview .bi{vertical-align:middle}.metrics-overview .btn{font-size:1rem}.metrics-disclaimer{font-size:.9rem;line-height:1.2;margin:.5rem 0}.metrics-disclaimer .bi{vertical-align:middle}.resource-group{align-items:flex-start;clear:both;display:flex;flex-direction:column;margin-bottom:20px}.resource-group-image{--image-width: 100%;align-items:center;background-color:var(--contrast-9);border:1px solid var(--contrast);color:var(--contrast-8);display:flex;flex:0 0 auto;flex-direction:column;font-size:5rem;justify-content:center;margin:20px 0;min-height:calc(var(--image-width) / 3 * 2);position:relative;width:var(--image-width)}.resource-group-image:active,.resource-group-image:focus,.resource-group-image:hover{color:var(--contrast-8)}.resource-group-image>img{display:block;width:100%}.image-type-logo{display:flex;flex-direction:column;justify-content:center;min-height:120px}.image-type-logo>*{margin:10px;width:calc(100% - 20px)}.resource-group-text *:first-child{margin-top:0}.resource-group-detail{margin-bottom:70px;width:var(--width)}.resource-group-feature-image{margin-top:60px;width:100%}.resource-group-description:after{clear:both;content:"";display:block}@media (min-width: 768px){.resource-group{flex-direction:row;margin-bottom:40px}.resource-group-image{--image-width: calc((var(--width) - 140px) / 4 + 20px);margin:0 20px 0 0}}@media (min-width: 900px){.resource-group-feature-image{float:right;margin:0 0 0 20px;width:calc(((var(--width) - 140px) / 8) * 3 + 40px)}}#resource-navigation{display:flex;flex-direction:column;gap:10px}@media (min-width: 1024px){#resource-navigation{flex-direction:row;gap:20px}}#resource-news{background-color:var(--teal-100);padding:20px}#resource-news h2{font-size:1.2rem;font-weight:200;margin:0 0 .5rem}#resource-news ul{list-style-type:none;margin:0;padding:0}#resource-news li{font-size:1rem;line-height:1.3;margin:0 0 .5rem;padding:0}@media (min-width: 1024px){#resource-news{box-sizing:border-box;width:calc((var(--width) - 60px) / 4)}}ul.resource-pathways{display:flex;flex-direction:column;gap:10px;list-style-type:none;margin:0;padding:0;width:100%}ul.resource-pathways li{margin:0;width:100%}ul.resource-pathways li a{align-items:flex-start;border:5px solid transparent;box-sizing:border-box;display:flex;height:100%;flex-direction:row;justify-content:flex-start;line-height:1.3;padding:20px;text-decoration:none}ul.resource-pathways a>.bi{font-size:2rem;margin-bottom:1rem}ul.resource-pathways li a>.detail{display:flex;flex-direction:column;margin-left:20px}ul.resource-pathways .title{font-size:1.2rem}ul.resource-pathways .description{font-size:1rem;font-weight:400}ul.resource-pathways .login{font-size:.9rem;font-style:italic;font-weight:400;margin-top:.25rem}ul.resource-pathways .login .bi{vertical-align:middle}.resource-pathway-0{background-color:var(--yellow-400)}.resource-pathway-1{background-color:var(--teal-600)}.resource-pathway-1 a{color:#fff}.resource-pathway-2{background-color:var(--orange-400)}.resource-pathway-3{background-color:var(--teal-200)}ul.resource-pathways li a:active,ul.resource-pathways li a:focus,ul.resource-pathways li a:hover{background-color:#fff;border:5px solid var(--contrast);color:var(--contrast)}@media (min-width: 1024px){ul.resource-pathways{flex-direction:row;gap:20px}ul.resource-pathways li{box-sizing:border-box;width:calc((var(--width) - 60px) / 4)}ul.resource-pathways li a{flex-direction:column}ul.resource-pathways li a>.detail{margin-left:0}}.scroll-text{position:relative}.scroll-text:after{background-color:red;background:linear-gradient(to bottom,#fff0,#fff 50%,#fff);bottom:0;content:"";display:block;height:2rem;left:0;position:absolute;width:100%;z-index:99999}.scroll-text-inner{padding-bottom:2rem;overflow-y:scroll}.search{position:relative}.search input{padding-right:35px}.search .btn-clear{position:absolute;right:-5px;top:-6px}.section-navigation{border-bottom:1px solid var(--contrast-8);border-top:1px solid var(--contrast-8);display:flex;flex-direction:row;margin:20px 0}.section-navigation h2{flex:0 0 auto;font-size:1rem;font-weight:400;margin:20px 0}.section-navigation ul{display:flex;flex-direction:row;flex-wrap:wrap;margin:0;padding:10px 0}.section-navigation li{line-height:1;list-style-type:none;flex:0 0 auto;font-size:1rem;margin:10px 0 10px 20px;padding:0}ul.tags{margin:0;padding:0}li.tag{display:inline-block;list-style-type:none;margin:0 5px 5px 0;max-width:100%}.tag button{background-color:var(--teal-100);border:1px solid var(--teal-400);border-radius:8px;color:var(--contrast);cursor:pointer;display:inline-block;font-size:16px;font-weight:500;line-height:18px;max-width:100%;overflow:hidden;padding:3px 7px;text-align:left;text-decoration:none;text-overflow:ellipsis;text-wrap:nowrap}.tag button:hover{background-color:var(--teal-200);color:var(--contrast)}.tag button:disabled{background-color:var(--contrast-9);border-color:var(--contrast-6);color:var(--contrast-3)}.tag.active button{border-color:var(--orange-400);background-color:var(--orange-200)}',Bh=".toc{background-color:var(--teal-600);color:#fff;padding:20px;position:sticky;top:50px}h2{font-size:16px;font-weight:800;margin:0 0 16px}ul{margin:0;padding:0 0 0 20px}li{line-height:1.125;list-style-type:none;margin:0;padding:9px 0}a{color:#fff;font-size:16px;font-weight:600;text-decoration:underline;text-decoration-color:transparent}a :active,a:focus,a:hover{color:var(--teal-100);text-decoration-color:var(--teal-100)}@media (min-width: 768px){a.active{color:var(--teal-100)}}@media (min-width: 900px){.toc{padding:32px}}",kh='body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.rcb-toggle-button.rcb-button-show{background-color:#1a5b6e;background-position:50%;background-repeat:no-repeat;background-size:72%}.rcb-chat-window{max-width:100%;width:550px!important}.rcb-chat-window .rcb-bot-avatar{background-position:50%;background-repeat:no-repeat;background-size:contain;border-radius:0}.rcb-chat-window .rcb-chat-header{align-items:center;display:flex;flex-direction:row;font-weight:700}.rcb-chat-window a{color:#000;font-weight:700;text-decoration:underline}.rcb-chat-window a:hover{color:#107180}.rcb-chat-window .rcb-bot-message a{color:#fff;text-decoration:none}.rcb-chat-window .rcb-bot-message a:hover{text-decoration:underline}.rcb-chat-window .rcb-chat-input-textarea{overflow-y:auto}.rcb-chat-window .rcb-chat-footer-container{font-size:10px}.embedded-qa-bot .rcb-chat-window{max-width:100%;width:100%!important}.rcb-chat-header-container{border-bottom:1px solid #ccc;color:#fff;display:flex;justify-content:space-between;max-height:55px;padding:12px}.rcb-chat-header{display:flex;flex-direction:row}.rcb-bot-avatar{background-size:cover;border-radius:50%;height:30px;margin-right:12px;width:30px}.rcb-message-prompt-container.visible{align-items:center;animation:rcb-animation-pop-in .3s ease-in-out;bottom:0;display:flex;justify-content:center;margin:auto;opacity:1;pointer-events:auto;position:-webkit-sticky;position:sticky}.rcb-message-prompt-container.hidden{height:0;opacity:0;pointer-events:none;visibility:hidden}.rcb-message-prompt-text{background-color:#fff;border:.5px solid #adadad;border-radius:20px;color:#adadad;cursor:pointer;font-size:12px;padding:6px 12px;transition:color .3s ease,border-color .3s ease;z-index:9999}.rcb-message-prompt-container.hidden .rcb-message-prompt-text{padding:0}.rcb-user-message-container{display:flex;flex-direction:row;justify-content:right}.rcb-user-message{border-radius:22px;font-size:15px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;margin-right:16px;margin-top:8px;min-height:20px;overflow:hidden;overflow-wrap:anywhere;padding:12px 16px;text-align:right;white-space:pre-wrap;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.rcb-user-message-offset{margin-right:50px}.rcb-user-message-entry{animation:rcb-animation-user-message-entry .3s ease-in backwards}.rcb-message-user-avatar{background-size:cover;border-radius:50%;height:40px;margin-left:-10px;margin-right:6px;margin-top:9px;width:40px}.rcb-bot-message-container{display:flex;flex-direction:row}.rcb-bot-message{border-radius:22px;font-size:15px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;margin-left:16px;margin-top:8px;min-height:20px;overflow:hidden;overflow-wrap:anywhere;padding:12px 16px;text-align:left;white-space:pre-wrap;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.rcb-bot-message-offset{margin-left:50px}.rcb-bot-message-entry{animation:rcb-animation-bot-message-entry .3s ease-in backwards}.rcb-message-bot-avatar{background-size:cover;border-radius:50%;height:40px;margin-left:6px;margin-right:-10px;margin-top:9px;width:40px}.rcb-typing-indicator{align-items:center;display:flex}.rcb-dot{animation:rcb-animation-bot-typing 1s infinite;background-color:#ccc;border-radius:50%;height:8px;margin-right:4px;width:8px}.rcb-dot:nth-child(2){animation-delay:.2s}.rcb-dot:nth-child(3){animation-delay:.4s}.rcb-chat-body-container{height:100%;overflow-x:hidden;overflow-y:scroll;padding-bottom:16px;position:relative;touch-action:pan-y;width:100%}.rcb-chat-body-container::-webkit-scrollbar-track{background-color:#f1f1f1}.rcb-chat-body-container::-webkit-scrollbar-thumb{background-color:#ddd;border-radius:4px}.rcb-chat-body-container::-webkit-scrollbar-thumb:hover{background-color:#cfcfcf}.rcb-chat-body-container::-webkit-scrollbar-corner{background-color:#f1f1f1}.rcb-checkbox-container{display:flex;flex-wrap:wrap;gap:10px;margin-left:16px;padding-top:12px}.rcb-checkbox-offset{margin-left:50px!important}.rcb-checkbox-row-container{align-items:center;animation:rcb-animations-checkboxes-entry .5s ease-out;background-color:#fff;border-radius:10px;border-style:solid;border-width:.5px;cursor:pointer;display:flex;gap:5px;max-height:32px;min-height:30px;overflow:hidden;width:80%}.rcb-checkbox-row-container:hover{box-shadow:0 0 5px #0003}.rcb-checkbox-row{align-items:center;cursor:pointer;display:inline-flex;margin-left:10px}.rcb-checkbox-mark{align-items:center;background-color:#f2f2f2;border:none;border-radius:50%;cursor:pointer;display:flex;height:20px;justify-content:center;margin-right:10px;transition:all .3s ease;width:20px}.rcb-checkbox-mark:hover{background-color:#c2c2c2}.rcb-checkbox-mark:before{content:"✓";transition:all .3s ease}.rcb-checkbox-label{font-size:14px}.rcb-checkbox-next-button{align-items:center;animation:rcb-animations-checkboxes-entry .5s ease-out;background-color:#fff;border-radius:10px;border-style:solid;border-width:.5px;cursor:pointer;display:inline-block;font-size:24px;max-height:32px;min-height:30px;text-align:center;width:80%}.rcb-checkbox-next-button:before{content:"→"}.rcb-checkbox-next-button:hover{box-shadow:0 0 5px #0003}.rcb-options-container{display:flex;flex-wrap:wrap;gap:10px;margin-left:16px;max-width:70%;padding-top:12px}.rcb-options-offset{margin-left:50px!important}.rcb-options{align-items:center;animation:rcb-animation-options-entry .5s ease-out;border-radius:20px;border-style:solid;border-width:.5px;cursor:pointer;display:inline-flex;font-size:14px;justify-content:center;overflow:hidden;padding:10px 20px;transition:background-color .3s ease}.rcb-options:hover{box-shadow:0 0 5px #0003}.rcb-line-break-container{align-items:center;display:flex;justify-content:center;max-height:45px;padding-bottom:5px;padding-top:10px}.rcb-line-break-text{color:#adadad;font-size:12px;padding:6px 12px}.rcb-spinner-container{align-items:center;display:flex;justify-content:center;max-height:45px;min-height:35px;padding-bottom:5px;padding-top:10px}.rcb-spinner{animation:rcb-animation-spin 1s linear infinite;border:4px solid #f3f3f3;border-radius:50%;height:22px;width:22px}.rcb-chat-input{align-items:center;background-color:#fff;border-top:1px solid #ccc;display:flex;padding:8px 16px}.rcb-chat-input::placeholder{color:#999}.rcb-chat-input-textarea{background-color:#fff;border:none;border-radius:4px;color:#000;flex:1 1;font-family:inherit;font-size:16px;height:auto;min-height:38px;outline:none;overflow-y:scroll;padding:8px;resize:none;touch-action:none}.rcb-chat-input-textarea::-webkit-scrollbar,.rcb-chat-input-textarea::-webkit-scrollbar-thumb{background-color:initial}.rcb-chat-input-textarea::-webkit-scrollbar-thumb:hover{background-color:initial}.rcb-chat-input-char-counter{font-size:14px;margin-left:8px;margin-top:3px}.rcb-chat-footer-container{align-items:flex-end;background-color:#f2f2f2;border-top:1px solid #ccc;color:#000;display:flex;font-size:12px;justify-content:space-between;max-height:55px;padding:12px 16px 8px 10px}.rcb-chat-footer,.rcb-toggle-button{display:flex;flex-direction:row}.rcb-toggle-button{border:none;border-radius:50%;bottom:20px;box-shadow:0 2px 4px #0003;cursor:pointer;height:75px;position:fixed;right:20px;width:75px;z-index:9999}.rcb-toggle-button.rcb-button-hide{animation:rcb-animation-collapse .3s ease-in-out forwards;opacity:0;visibility:hidden}.rcb-toggle-button.rcb-button-show{animation:rcb-animation-expand .3s ease-in-out forwards;opacity:1;visibility:visible}.rcb-toggle-icon{background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:inherit;height:100%;margin:auto;width:100%}.rcb-badge,.rcb-toggle-icon{align-items:center;display:flex;justify-content:center}.rcb-badge{background-color:red;border-radius:50%;color:#fff;height:25px;position:absolute;right:-6px;top:-6px;width:25px}.rcb-chat-tooltip{border-radius:20px;box-shadow:0 2px 6px #0003;cursor:pointer;font-size:20px;padding:16px;position:fixed;transition:transform .3s ease;white-space:nowrap;z-index:9999}.rcb-chat-tooltip-tail{border-style:solid;border-width:10px 0 10px 10px;content:"";margin-top:-10px;position:absolute;right:-10px;top:50%}.rcb-chat-tooltip.rcb-tooltip-hide{animation:rcb-animation-tooltip-out .5s ease-in-out;opacity:0;visibility:hidden}.rcb-chat-tooltip.rcb-tooltip-show{animation:rcb-animation-tooltip-in .5s ease-in-out;opacity:1;visibility:visible}.rcb-toast-prompt{animation:rcb-animation-pop-in .3s ease-in-out;background-color:#fff;border:.5px solid #7a7a7a;border-radius:5px;color:#7a7a7a;cursor:pointer;font-size:12px;margin-top:6px;padding:6px 12px;text-align:center;transition:color .3s ease,border-color .3s ease;width:100%;z-index:9999}.rcb-toast-prompt-container{align-items:center;animation:popIn .3s ease-in-out;bottom:0;display:flex;flex-direction:column;justify-content:flex-end;left:50%;margin:200 auto auto;opacity:1;pointer-events:auto;position:absolute;transform:translate(-50%)}.rcb-media-display-image-container,.rcb-media-display-video-container{border-radius:22px;margin-right:16px;margin-top:8px;padding:16px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.rcb-media-display-offset{margin-right:50px!important}.rcb-media-display-image{border-radius:22px;height:auto;object-fit:cover;width:100%}.rcb-media-display-video{background-color:#000;border-radius:22px;height:auto;width:100%}.rcb-media-display-audio{border-radius:22px;height:auto;margin-right:16px;margin-top:8px;width:100%}.rcb-media-entry{animation:rcb-animation-user-message-entry .3s ease-in backwards}.rcb-attach-button-disabled,.rcb-attach-button-enabled{background-size:cover;border-radius:6px;display:inline-block;height:30px;position:relative;text-align:center;width:30px}.rcb-attach-button-disabled input[type=file],.rcb-attach-button-enabled input[type=file]{display:none;height:100%;position:absolute;width:100%}.rcb-attach-button-enabled{cursor:pointer}.rcb-attach-button-disabled{opacity:.5}.rcb-attach-button-enabled:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-attach-button-enabled:hover:after{height:130%;opacity:1;width:130%}.rcb-attach-icon-disabled,.rcb-attach-icon-enabled{background-repeat:no-repeat;background-size:cover;display:inline-block;height:24px;margin-top:2px;transition:background-image .3s ease;width:24px}.rcb-attach-icon-enabled{cursor:pointer}.rcb-emoji-button-disabled,.rcb-emoji-button-enabled{background-size:cover;border-radius:6px;cursor:pointer;display:inline-block;height:30px;position:relative;text-align:center;width:30px}.rcb-emoji-icon-disabled,.rcb-emoji-icon-enabled{background-repeat:no-repeat;background-size:cover;display:inline-block;font-size:20px;height:24px;margin-top:2px;position:relative;width:24px}.rcb-emoji-icon-enabled{cursor:pointer}.rcb-emoji-icon-disabled{opacity:.5}.rcb-emoji-button-enabled:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-emoji-button-enabled:hover:after{height:130%;opacity:1;width:130%}.rcb-emoji-button-popup{background-color:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 2px 4px #0003;max-height:200px;overflow-y:auto;padding:8px;position:absolute;transform:translateY(calc(-100% - 30px));width:158px}.rcb-emoji{cursor:pointer;font-size:24px;padding:3px;transition:transform .2s ease-in-out}.rcb-emoji:hover{transform:scale(1.2)}.rcb-audio-icon{background-size:cover;border:none;cursor:pointer;display:inline-block;height:30px;margin-left:5px;position:relative;width:30px}.rcb-audio-icon:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-audio-icon:hover:after{height:130%;opacity:1;width:130%}.rcb-close-chat-icon{background-size:cover;border:none;cursor:pointer;display:inline-block;height:30px;margin-left:5px;position:relative;width:30px}.rcb-close-chat-icon:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-close-chat-icon:hover:after{height:130%;opacity:1;width:130%}.rcb-notification-icon{background-size:cover;border:none;cursor:pointer;display:inline-block;height:30px;margin-left:5px;position:relative;width:30px}.rcb-notification-icon:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-notification-icon:hover:after{height:130%;opacity:1;width:130%}.rcb-voice-button-disabled,.rcb-voice-button-enabled{align-items:center;background-color:#fff;border-radius:4px;box-shadow:0 0 3px #0000004d;cursor:pointer;display:inline-flex;height:32px;justify-content:center;margin-left:8px;text-transform:uppercase;transition:all .3s ease;width:32px}.rcb-voice-button-enabled{border:1px solid red;box-shadow:0 0 3px #ff000080}.rcb-voice-button-enabled:hover{border:1px solid #3d0000}.rcb-voice-button-disabled{border:1px;border-color:#0003;border-style:solid}.rcb-voice-button-disabled:hover{box-shadow:0 0 3px #8a0000}.rcb-voice-icon{background-position:50%;background-repeat:no-repeat;background-size:cover;background-size:contain;height:60%;object-fit:cover;width:60%}.rcb-voice-icon.on{animation:rcb-animation-ping 1s infinite}.rcb-send-button{border:none;border-radius:4px;box-shadow:0 0 3px #0000004d;cursor:pointer;display:inline-flex;height:32px;justify-content:center;margin-left:8px;text-transform:uppercase;transition:background-color .3s ease;width:51px}.rcb-send-icon{background-position:50%;background-repeat:no-repeat;background-size:cover;background-size:contain;height:50%;object-fit:cover;transform:translateY(20%);width:50%}.rcb-view-history-container{align-items:center;display:flex;justify-content:center;max-height:45px;min-height:35px;padding-bottom:5px;padding-top:10px}.rcb-view-history-button{align-items:center;background-color:#fff;border:.5px solid #adadad;border-radius:20px;color:#adadad;cursor:pointer;display:inline-flex;font-size:12px;justify-content:center;max-width:60%;padding:6px 12px;transition:color .3s ease,border-color .3s ease}.rcb-view-history-button>p{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rcb-chatbot-global{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.5;z-index:9999}.rcb-chat-window{background-color:#fff;border-radius:10px;bottom:20px;box-shadow:0 2px 4px #0003;display:flex;flex-direction:column;height:550px;overflow:hidden;position:fixed;right:20px;transition:all .3s ease;width:375px}.rcb-window-embedded .rcb-chat-window{bottom:auto;opacity:1;position:relative;right:auto;visibility:visible}.rcb-window-open .rcb-chat-window{animation:rcb-animation-expand .3s ease-in-out forwards;opacity:1;visibility:visible}.rcb-window-close .rcb-chat-window{animation:rcb-animation-collapse .3s ease-in-out forwards;opacity:0;visibility:hidden}@keyframes rcb-animation-expand{0%{opacity:0;transform:translate(100%,100%) scale(0)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes rcb-animation-collapse{0%{opacity:1;transform:translate(0) scale(1)}to{opacity:0;transform:translate(100%,100%) scale(0)}}@keyframes rcb-animation-ping{0%{filter:brightness(100%);opacity:1}50%{filter:brightness(50%);opacity:.8}}@keyframes rcb-animation-bot-message-entry{0%{opacity:0;transform:translate(-100%,50%) scale(0)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes rcb-animation-user-message-entry{0%{opacity:0;transform:translate(100%,50%) scale(0)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes rcb-animation-bot-typing{0%{opacity:.4}50%{opacity:1}to{opacity:.4}}@keyframes rcb-animation-pop-in{0%{opacity:0;transform:scale(.8)}70%{opacity:1;transform:scale(1.1)}to{transform:scale(1)}}@keyframes rcb-animations-checkboxes-entry{0%{opacity:0;transform:translate(-100%)}to{opacity:1;transform:translate(0)}}@keyframes rcb-animation-options-entry{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes rcb-animation-tooltip-in{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@keyframes rcb-animation-tooltip-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-5px)}}@keyframes rcb-animation-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}',Dh=(e={})=>{Ee(f(ur,{...e}),e.target,[Se,wh])},Ch=(e={})=>{Ee(f(hh,{...e}),e.target,[Se,xh,Ja])},Eh=(e={})=>{Ee(f(fh,{...e}),e.target,[Se,Ja,_h])},Sh=({isLoggedIn:e,target:t,...n}={})=>{e===void 0&&(e=document.cookie.split("; ").includes("SESSaccesscisso=1")),Ee(f(nh,{isLoggedIn:e,target:t,...n}),t,[Se,kh])},Mh=({items:e,isLoggedIn:t,loginUrl:n,logoutUrl:i,siteName:o,target:r}={})=>{if(t===void 0&&(t=document.cookie.split("; ").includes("SESSaccesscisso=1")),e===void 0){const s={...t?Na:ja};s.items=s.items.map(c=>({...c,href:c.name=="Login"&&n||c.name=="Log out"&&i||c.href})),e=[...za,s];let a=e.find(c=>(c.href||"").replace(/\/$/,"")==document.location.href.replace(/\/$/,""));o&&!a&&(a=e.find(c=>c.name==o)),a&&(a.classes+=" active")}Ee(f(Ga,{classes:"universal",items:e,name:"ACCESS Menu",target:r}),r,[Se,_r])},Th=({items:e,siteName:t,target:n})=>Ee(f(Ga,{classes:"site",items:e,name:`${t} Menu`,target:n}),n,[Se,_r]),Ih=({items:e,siteName:t,target:n})=>Ee(f(ph,{items:e,siteName:t}),n,[Se,_r]),Oh=({headings:e=[],target:t})=>Ee(f(vh,{headings:e}),t,[Se,Bh]),Qh=({baseUri:e,showTitle:t,target:n,title:i})=>Ee(f(bh,{baseUri:e,showTitle:t,title:i}),n,[Se,yh,Ph]);var Za=/[\s\n\\/='"\0<>]/,$a=/^(xlink|xmlns|xml)([A-Z])/,Lh=/^accessK|^auto[A-Z]|^cell|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|popoverT|readO|rowS|src[A-Z]|tabI|useM|item[A-Z]/,Rh=/^ac|^ali|arabic|basel|cap|clipPath$|clipRule$|color|dominant|enable|fill|flood|font|glyph[^R]|horiz|image|letter|lighting|marker[^WUH]|overline|panose|pointe|paint|rendering|shape|stop|strikethrough|stroke|text[^L]|transform|underline|unicode|units|^v[^i]|^w|^xH/,Hh=new Set(["draggable","spellcheck"]),Fh=/["&<]/;function Ui(e){if(e.length===0||Fh.test(e)===!1)return e;for(var t=0,n=0,i="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";break;default:continue}n!==t&&(i+=e.slice(t,n)),i+=o,t=n+1}return n!==t&&(i+=e.slice(t,n)),i}var tc={},zh=new Set(["animation-iteration-count","border-image-outset","border-image-slice","border-image-width","box-flex","box-flex-group","box-ordinal-group","column-count","fill-opacity","flex","flex-grow","flex-negative","flex-order","flex-positive","flex-shrink","flood-opacity","font-weight","grid-column","grid-row","line-clamp","line-height","opacity","order","orphans","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","widows","z-index","zoom"]),Nh=/[A-Z]/g;function jh(e){var t="";for(var n in e){var i=e[n];if(i!=null&&i!==""){var o=n[0]=="-"?n:tc[n]||(tc[n]=n.replace(Nh,"-$&").toLowerCase()),r=";";typeof i!="number"||o.startsWith("--")||zh.has(o)||(r="px;"),t=t+o+":"+i+r}}return t||void 0}function ec(){this.__d=!0}function Uh(e,t){return{__v:e,context:t,props:e.props,setState:ec,forceUpdate:ec,__d:!0,__h:new Array(0)}}var Pr,sn,ti,ei,Br={},nc=[],ni=Array.isArray,kr=Object.assign,Rt="";function ic(e,t,n){var i=L.__s;L.__s=!0,Pr=L.__b,sn=L.diffed,ti=L.__r,ei=L.unmount;var o=Y(N,null);o.__k=[e];try{var r=Ue(e,t||Br,!1,void 0,o,!1,n);return ni(r)?r.join(Rt):r}catch(s){throw s.then?new Error('Use "renderToStringAsync" for suspenseful rendering.'):s}finally{L.__c&&L.__c(e,nc),L.__s=i,nc.length=0}}function oc(e,t){var n,i=e.type,o=!0;return e.__c?(o=!1,(n=e.__c).state=n.__s):n=new i(e.props,t),e.__c=n,n.__v=e,n.props=e.props,n.context=t,n.__d=!0,n.state==null&&(n.state=Br),n.__s==null&&(n.__s=n.state),i.getDerivedStateFromProps?n.state=kr({},n.state,i.getDerivedStateFromProps(n.props,n.state)):o&&n.componentWillMount?(n.componentWillMount(),n.state=n.__s!==n.state?n.__s:n.state):!o&&n.componentWillUpdate&&n.componentWillUpdate(),ti&&ti(e),n.render(n.props,n.state,t)}function Ue(e,t,n,i,o,r,s){if(e==null||e===!0||e===!1||e===Rt)return Rt;var a=typeof e;if(a!="object")return a=="function"?Rt:a=="string"?Ui(e):e+Rt;if(ni(e)){var c,l=Rt;o.__k=e;for(var A=0;A<e.length;A++){var d=e[A];if(d!=null&&typeof d!="boolean"){var u,h=Ue(d,t,n,i,o,r,s);typeof h=="string"?l+=h:(c||(c=[]),l&&c.push(l),l=Rt,ni(h)?(u=c).push.apply(u,h):c.push(h))}}return c?(l&&c.push(l),c):l}if(e.constructor!==void 0)return Rt;e.__=o,Pr&&Pr(e);var p=e.type,g=e.props;if(typeof p=="function"){var b,v,w,_=t;if(p===N){if("tpl"in g){for(var m=Rt,y=0;y<g.tpl.length;y++)if(m+=g.tpl[y],g.exprs&&y<g.exprs.length){var x=g.exprs[y];if(x==null)continue;typeof x!="object"||x.constructor!==void 0&&!ni(x)?m+=x:m+=Ue(x,t,n,i,e,r,s)}return m}if("UNSTABLE_comment"in g)return"<!--"+Ui(g.UNSTABLE_comment)+"-->";v=g.children}else{if((b=p.contextType)!=null){var P=t[b.__c];_=P?P.props.value:b.__}var C=p.prototype&&typeof p.prototype.render=="function";if(C)v=oc(e,_),w=e.__c;else{e.__c=w=Uh(e,_);for(var B=0;w.__d&&B++<25;)w.__d=!1,ti&&ti(e),v=p.call(w,g,_);w.__d=!0}if(w.getChildContext!=null&&(t=kr({},t,w.getChildContext())),C&&L.errorBoundaries&&(p.getDerivedStateFromError||w.componentDidCatch)){v=v!=null&&v.type===N&&v.key==null&&v.props.tpl==null?v.props.children:v;try{return Ue(v,t,n,i,e,r,s)}catch(j){return p.getDerivedStateFromError&&(w.__s=p.getDerivedStateFromError(j)),w.componentDidCatch&&w.componentDidCatch(j,Br),w.__d?(v=oc(e,t),(w=e.__c).getChildContext!=null&&(t=kr({},t,w.getChildContext())),Ue(v=v!=null&&v.type===N&&v.key==null&&v.props.tpl==null?v.props.children:v,t,n,i,e,r,s)):Rt}finally{sn&&sn(e),e.__=null,ei&&ei(e)}}}v=v!=null&&v.type===N&&v.key==null&&v.props.tpl==null?v.props.children:v;try{var D=Ue(v,t,n,i,e,r,s);return sn&&sn(e),e.__=null,L.unmount&&L.unmount(e),D}catch(j){if(s&&s.onError){var E=s.onError(j,e,function($){return Ue($,t,n,i,e,r,s)});if(E!==void 0)return E;var S=L.__e;return S&&S(j,e),Rt}throw j}}var I,O="<"+p,M=Rt;for(var T in g){var Q=g[T];if(typeof Q!="function"||T==="class"||T==="className"){switch(T){case"children":I=Q;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in g)continue;T="for";break;case"className":if("class"in g)continue;T="class";break;case"defaultChecked":T="checked";break;case"defaultSelected":T="selected";break;case"defaultValue":case"value":switch(T="value",p){case"textarea":I=Q;continue;case"select":i=Q;continue;case"option":i!=Q||"selected"in g||(O+=" selected")}break;case"dangerouslySetInnerHTML":M=Q&&Q.__html;continue;case"style":typeof Q=="object"&&(Q=jh(Q));break;case"acceptCharset":T="accept-charset";break;case"httpEquiv":T="http-equiv";break;default:if($a.test(T))T=T.replace($a,"$1:$2").toLowerCase();else{if(Za.test(T))continue;T[4]!=="-"&&!Hh.has(T)||Q==null?n?Rh.test(T)&&(T=T==="panose1"?"panose-1":T.replace(/([A-Z])/g,"-$1").toLowerCase()):Lh.test(T)&&(T=T.toLowerCase()):Q+=Rt}}Q!=null&&Q!==!1&&(O=Q===!0||Q===Rt?O+" "+T:O+" "+T+'="'+(typeof Q=="string"?Ui(Q):Q+Rt)+'"')}}if(Za.test(p))throw new Error(p+" is not a valid HTML tag name in "+O+">");if(M||(typeof I=="string"?M=Ui(I):I!=null&&I!==!1&&I!==!0&&(M=Ue(I,t,p==="svg"||p!=="foreignObject"&&n,i,e,r,s))),sn&&sn(e),e.__=null,ei&&ei(e),!M&&Vh.has(p))return O+"/>";var z="</"+p+">",V=O+">";return ni(M)?[V].concat(M,[z]):typeof M!="string"?[V,M,z]:V+M+z}var Vh=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]);function Dr(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var i in t)if(i!=="__source"&&e[i]!==t[i])return!0;return!1}function Cr(e,t){this.props=e,this.context=t}function Wh(e,t){function n(o){var r=this.props.ref,s=r==o.ref;return!s&&r&&(r.call?r(null):r.current=null),t?!t(this.props,o)||!s:Dr(this.props,o)}function i(o){return this.shouldComponentUpdate=n,Y(e,o)}return i.displayName="Memo("+(e.displayName||e.name)+")",i.prototype.isReactComponent=!0,i.__f=!0,i}(Cr.prototype=new ce).isPureReactComponent=!0,Cr.prototype.shouldComponentUpdate=function(e,t){return Dr(this.props,e)||Dr(this.state,t)};var rc=L.__b;L.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),rc&&rc(e)};var Yh=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function $t(e){function t(n){if(!("ref"in n))return e(n,null);var i=n.ref;delete n.ref;var o=e(n,i);return n.ref=i,o}return t.$$typeof=Yh,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var sc=function(e,t){return e==null?null:he(he(e).map(t))},Kh={map:sc,forEach:sc,count:function(e){return e?he(e).length:0},only:function(e){var t=he(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:he},qh=L.__e;L.__e=function(e,t,n,i){if(e.then){for(var o,r=t;r=r.__;)if((o=r.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}qh(e,t,n,i)};var ac=L.unmount;function cc(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(i){typeof i.__c=="function"&&i.__c()}),e.__c.__H=null),(e=function(i,o){for(var r in o)i[r]=o[r];return i}({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(i){return cc(i,t,n)})),e}function lc(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(i){return lc(i,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Vi(){this.__u=0,this.t=null,this.__b=null}function Ac(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Xh(e){var t,n,i;function o(r){if(t||(t=e()).then(function(s){n=s.default||s},function(s){i=s}),i)throw i;if(!n)throw t;return Y(n,r)}return o.displayName="Lazy",o.__f=!0,o}function ii(){this.u=null,this.o=null}L.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),ac&&ac(e)},(Vi.prototype=new ce).__c=function(e,t){var n=t.__c,i=this;i.t==null&&(i.t=[]),i.t.push(n);var o=Ac(i.__v),r=!1,s=function(){r||(r=!0,n.__R=null,o?o(a):a())};n.__R=s;var a=function(){if(!--i.__u){if(i.state.__a){var c=i.state.__a;i.__v.__k[0]=lc(c,c.__c.__P,c.__c.__O)}var l;for(i.setState({__a:i.__b=null});l=i.t.pop();)l.forceUpdate()}};i.__u++||32&t.__u||i.setState({__a:i.__b=i.__v.__k[0]}),e.then(s,s)},Vi.prototype.componentWillUnmount=function(){this.t=[]},Vi.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=cc(this.__b,n,i.__O=i.__P)}this.__b=null}var o=t.__a&&Y(N,null,e.fallback);return o&&(o.__u&=-33),[Y(N,null,t.__a?null:e.children),o]};var dc=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Gh(e){return this.getChildContext=function(){return e.context},e.children}function Jh(e){var t=this,n=e.i;t.componentWillUnmount=function(){xn(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(i){this.childNodes.push(i),t.i.appendChild(i)},insertBefore:function(i,o){this.childNodes.push(i),t.i.appendChild(i)},removeChild:function(i){this.childNodes.splice(this.childNodes.indexOf(i)>>>1,1),t.i.removeChild(i)}}),xn(Y(Gh,{context:t.context},e.__v),t.l)}function Zh(e,t){var n=Y(Jh,{__v:e,i:t});return n.containerInfo=t,n}(ii.prototype=new ce).__a=function(e){var t=this,n=Ac(t.__v),i=t.o.get(e);return i[0]++,function(o){var r=function(){t.props.revealOrder?(i.push(o),dc(t,e,i)):o()};n?n(r):r()}},ii.prototype.render=function(e){this.u=null,this.o=new Map;var t=he(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},ii.prototype.componentDidUpdate=ii.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){dc(e,n,t)})};var uc=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,$h=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,tf=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ef=/[A-Z0-9]/g,nf=typeof document<"u",of=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function hc(e,t,n){return t.__k==null&&(t.textContent=""),xn(e,t),typeof n=="function"&&n(),e?e.__c:null}function fc(e,t,n){return xa(e,t),typeof n=="function"&&n(),e?e.__c:null}ce.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(ce.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var pc=L.event;function rf(){}function sf(){return this.cancelBubble}function af(){return this.defaultPrevented}L.event=function(e){return pc&&(e=pc(e)),e.persist=rf,e.isPropagationStopped=sf,e.isDefaultPrevented=af,e.nativeEvent=e};var Er,cf={enumerable:!1,configurable:!0,get:function(){return this.class}},gc=L.vnode;L.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,i=t.type,o={},r=i.indexOf("-")===-1;for(var s in n){var a=n[s];if(!(s==="value"&&"defaultValue"in n&&a==null||nf&&s==="children"&&i==="noscript"||s==="class"||s==="className")){var c=s.toLowerCase();s==="defaultValue"&&"value"in n&&n.value==null?s="value":s==="download"&&a===!0?a="":c==="translate"&&a==="no"?a=!1:c[0]==="o"&&c[1]==="n"?c==="ondoubleclick"?s="ondblclick":c!=="onchange"||i!=="input"&&i!=="textarea"||of(n.type)?c==="onfocus"?s="onfocusin":c==="onblur"?s="onfocusout":tf.test(s)&&(s=c):c=s="oninput":r&&$h.test(s)?s=s.replace(ef,"-$&").toLowerCase():a===null&&(a=void 0),c==="oninput"&&o[s=c]&&(s="oninputCapture"),o[s]=a}}i=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=he(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),i=="select"&&o.defaultValue!=null&&(o.value=he(n.children).forEach(function(l){l.props.selected=o.multiple?o.defaultValue.indexOf(l.props.value)!=-1:o.defaultValue==l.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",cf)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=uc,gc&&gc(e)};var mc=L.__r;L.__r=function(e){mc&&mc(e),Er=e.__c};var bc=L.diffed;L.diffed=function(e){bc&&bc(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),Er=null};var lf={ReactCurrentDispatcher:{current:{readContext:function(e){return Er.__n[e.__c].props.value},useCallback:X,useContext:Zt,useDebugValue:Ta,useDeferredValue:xc,useEffect:et,useId:fr,useImperativeHandle:Ma,useInsertionEffect:Pc,useLayoutEffect:Wt,useMemo:kt,useReducer:Xn,useRef:q,useState:R,useSyncExternalStore:Bc,useTransition:_c}}};function Af(e){return Y.bind(null,e)}function Bn(e){return!!e&&e.$$typeof===uc}function df(e){return Bn(e)&&e.type===N}function uf(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function hf(e){return Bn(e)?dr.apply(null,arguments):e}function vc(e){return!!e.__k&&(xn(null,e),!0)}function ff(e){return e&&(e.base||e.nodeType===1&&e)||null}var pf=function(e,t){return e(t)},gf=function(e,t){return e(t)},wc=N;function yc(e){e()}function xc(e){return e}function _c(){return[!1,yc]}var Pc=Wt,mf=Bn;function Bc(e,t){var n=t(),i=R({h:{__:n,v:t}}),o=i[0].h,r=i[1];return Wt(function(){o.__=n,o.v=t,Sr(o)&&r({h:o})},[e,n,t]),et(function(){return Sr(o)&&r({h:o}),e(function(){Sr(o)&&r({h:o})})},[e]),n}function Sr(e){var t,n,i=e.v,o=e.__;try{var r=i();return!((t=o)===(n=r)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}var Me={useState:R,useId:fr,useReducer:Xn,useEffect:et,useLayoutEffect:Wt,useInsertionEffect:Pc,useTransition:_c,useDeferredValue:xc,useSyncExternalStore:Bc,startTransition:yc,useRef:q,useImperativeHandle:Ma,useMemo:kt,useCallback:X,useContext:Zt,useDebugValue:Ta,version:"18.3.1",Children:Kh,render:hc,hydrate:fc,unmountComponentAtNode:vc,createPortal:Zh,createElement:Y,createContext:le,createFactory:Af,cloneElement:hf,createRef:Nu,Fragment:N,isValidElement:Bn,isElement:mf,isFragment:df,isMemo:uf,findDOMNode:ff,Component:ce,PureComponent:Cr,memo:Wh,forwardRef:$t,flushSync:gf,unstable_batchedUpdates:pf,StrictMode:wc,Suspense:Vi,SuspenseList:ii,lazy:Xh,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:lf};function Mr(e){return{render:function(t){hc(t,e)},unmount:function(){vc(e)}}}function bf(e,t){return fc(t,e),Mr(e)}const vf={createRoot:Mr,hydrateRoot:bf},wf={renderToString:ic,renderToStaticMarkup:ic};function Tr(){return Tr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Tr.apply(null,arguments)}function Ir(e,t){t===void 0&&(t={});var n=t.insertAt;if(e&&typeof document<"u"){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",n==="top"&&i.firstChild?i.insertBefore(o,i.firstChild):i.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}Ir('.rcb-chat-header-container{border-bottom:1px solid #ccc;color:#fff;display:flex;justify-content:space-between;max-height:55px;padding:12px}.rcb-chat-header{display:flex;flex-direction:row}.rcb-bot-avatar{background-size:cover;border-radius:50%;height:30px;margin-right:12px;width:30px}.rcb-message-prompt-container.visible{align-items:center;animation:rcb-animation-pop-in .3s ease-in-out;bottom:0;display:flex;justify-content:center;margin:auto;opacity:1;pointer-events:auto;position:sticky}.rcb-message-prompt-container.hidden{height:0;opacity:0;pointer-events:none;visibility:hidden}.rcb-message-prompt-text{background-color:#fff;border:.5px solid #adadad;border-radius:20px;color:#adadad;cursor:pointer;font-size:12px;padding:6px 12px;transition:color .3s ease,border-color .3s ease;z-index:9999}.rcb-message-prompt-container.hidden .rcb-message-prompt-text{padding:0}.rcb-user-message-container{display:flex;flex-direction:row;justify-content:right}.rcb-user-message{border-radius:22px;font-size:15px;height:fit-content;margin-right:16px;margin-top:8px;min-height:20px;overflow:hidden;overflow-wrap:anywhere;padding:12px 16px;text-align:right;white-space:pre-wrap;width:fit-content}.rcb-user-message-offset{margin-right:50px}.rcb-user-message-entry{animation:rcb-animation-user-message-entry .3s ease-in backwards}.rcb-message-user-avatar{background-size:cover;border-radius:50%;height:40px;margin-left:-10px;margin-right:6px;margin-top:9px;width:40px}.rcb-bot-message-container{display:flex;flex-direction:row}.rcb-bot-message{border-radius:22px;font-size:15px;height:fit-content;margin-left:16px;margin-top:8px;min-height:20px;overflow:hidden;overflow-wrap:anywhere;padding:12px 16px;text-align:left;white-space:pre-wrap;width:fit-content}.rcb-bot-message-offset{margin-left:50px}.rcb-bot-message-entry{animation:rcb-animation-bot-message-entry .3s ease-in backwards}.rcb-message-bot-avatar{background-size:cover;border-radius:50%;height:40px;margin-left:6px;margin-right:-10px;margin-top:9px;width:40px}.rcb-typing-indicator{align-items:center;display:flex}.rcb-dot{animation:rcb-animation-bot-typing 1s infinite;background-color:#ccc;border-radius:50%;height:8px;margin-right:4px;width:8px}.rcb-dot:nth-child(2){animation-delay:.2s}.rcb-dot:nth-child(3){animation-delay:.4s}.rcb-chat-body-container{height:100%;overflow-x:hidden;overflow-y:scroll;padding-bottom:16px;position:relative;touch-action:pan-y;width:100%}.rcb-chat-body-container::-webkit-scrollbar-track{background-color:#f1f1f1}.rcb-chat-body-container::-webkit-scrollbar-thumb{background-color:#ddd;border-radius:4px}.rcb-chat-body-container::-webkit-scrollbar-thumb:hover{background-color:#cfcfcf}.rcb-chat-body-container::-webkit-scrollbar-corner{background-color:#f1f1f1}.rcb-checkbox-container{display:flex;flex-wrap:wrap;gap:10px;margin-left:16px;padding-top:12px}.rcb-checkbox-offset{margin-left:50px!important}.rcb-checkbox-row-container{align-items:center;animation:rcb-animations-checkboxes-entry .5s ease-out;background-color:#fff;border-radius:10px;border-style:solid;border-width:.5px;cursor:pointer;display:flex;gap:5px;max-height:32px;min-height:30px;overflow:hidden;width:80%}.rcb-checkbox-row-container:hover{box-shadow:0 0 5px #0003}.rcb-checkbox-row{align-items:center;cursor:pointer;display:inline-flex;margin-left:10px}.rcb-checkbox-mark{align-items:center;background-color:#f2f2f2;border:none;border-radius:50%;cursor:pointer;display:flex;height:20px;justify-content:center;margin-right:10px;transition:all .3s ease;width:20px}.rcb-checkbox-mark:hover{background-color:#c2c2c2}.rcb-checkbox-mark:before{content:"✓";transition:all .3s ease}.rcb-checkbox-label{font-size:14px}.rcb-checkbox-next-button{align-items:center;animation:rcb-animations-checkboxes-entry .5s ease-out;background-color:#fff;border-radius:10px;border-style:solid;border-width:.5px;cursor:pointer;display:inline-block;font-size:24px;max-height:32px;min-height:30px;text-align:center;width:80%}.rcb-checkbox-next-button:before{content:"→"}.rcb-checkbox-next-button:hover{box-shadow:0 0 5px #0003}.rcb-options-container{display:flex;flex-wrap:wrap;gap:10px;margin-left:16px;max-width:70%;padding-top:12px}.rcb-options-offset{margin-left:50px!important}.rcb-options{align-items:center;animation:rcb-animation-options-entry .5s ease-out;border-radius:20px;border-style:solid;border-width:.5px;cursor:pointer;display:inline-flex;font-size:14px;justify-content:center;overflow:hidden;padding:10px 20px;transition:background-color .3s ease}.rcb-options:hover{box-shadow:0 0 5px #0003}.rcb-line-break-container{align-items:center;display:flex;justify-content:center;max-height:45px;padding-bottom:5px;padding-top:10px}.rcb-line-break-text{color:#adadad;font-size:12px;padding:6px 12px}.rcb-spinner-container{align-items:center;display:flex;justify-content:center;max-height:45px;min-height:35px;padding-bottom:5px;padding-top:10px}.rcb-spinner{animation:rcb-animation-spin 1s linear infinite;border:4px solid #f3f3f3;border-radius:50%;height:22px;width:22px}.rcb-chat-input{align-items:center;background-color:#fff;border-top:1px solid #ccc;display:flex;padding:8px 16px}.rcb-chat-input::placeholder{color:#999}.rcb-chat-input-textarea{background-color:#fff;border:none;border-radius:4px;color:#000;flex:1;font-family:inherit;font-size:16px;height:auto;min-height:38px;outline:none;overflow-y:scroll;padding:8px;resize:none;touch-action:none}.rcb-chat-input-textarea::-webkit-scrollbar,.rcb-chat-input-textarea::-webkit-scrollbar-thumb{background-color:initial}.rcb-chat-input-textarea::-webkit-scrollbar-thumb:hover{background-color:initial}.rcb-chat-input-char-counter{font-size:14px;margin-left:8px;margin-top:3px}.rcb-chat-footer-container{align-items:flex-end;background-color:#f2f2f2;border-top:1px solid #ccc;color:#000;display:flex;font-size:12px;justify-content:space-between;max-height:55px;padding:12px 16px 8px 10px}.rcb-chat-footer,.rcb-toggle-button{display:flex;flex-direction:row}.rcb-toggle-button{border:none;border-radius:50%;bottom:20px;box-shadow:0 2px 4px #0003;cursor:pointer;height:75px;position:fixed;right:20px;width:75px;z-index:9999}.rcb-toggle-button.rcb-button-hide{animation:rcb-animation-collapse .3s ease-in-out forwards;opacity:0;visibility:hidden}.rcb-toggle-button.rcb-button-show{animation:rcb-animation-expand .3s ease-in-out forwards;opacity:1;visibility:visible}.rcb-toggle-icon{background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:inherit;height:100%;margin:auto;width:100%}.rcb-badge,.rcb-toggle-icon{align-items:center;display:flex;justify-content:center}.rcb-badge{background-color:red;border-radius:50%;color:#fff;height:25px;position:absolute;right:-6px;top:-6px;width:25px}.rcb-chat-tooltip{border-radius:20px;box-shadow:0 2px 6px #0003;cursor:pointer;font-size:20px;padding:16px;position:fixed;transition:transform .3s ease;white-space:nowrap;z-index:9999}.rcb-chat-tooltip-tail{border-style:solid;border-width:10px 0 10px 10px;content:"";margin-top:-10px;position:absolute;right:-10px;top:50%}.rcb-chat-tooltip.rcb-tooltip-hide{animation:rcb-animation-tooltip-out .5s ease-in-out;opacity:0;visibility:hidden}.rcb-chat-tooltip.rcb-tooltip-show{animation:rcb-animation-tooltip-in .5s ease-in-out;opacity:1;visibility:visible}.rcb-toast-prompt{animation:rcb-animation-pop-in .3s ease-in-out;background-color:#fff;border:.5px solid #7a7a7a;border-radius:5px;color:#7a7a7a;cursor:pointer;font-size:12px;margin-top:6px;padding:6px 12px;text-align:center;transition:color .3s ease,border-color .3s ease;width:100%;z-index:9999}.rcb-toast-prompt-container{align-items:center;animation:popIn .3s ease-in-out;bottom:0;display:flex;flex-direction:column;justify-content:flex-end;left:50%;margin:200 auto auto;opacity:1;pointer-events:auto;position:absolute;transform:translate(-50%)}.rcb-media-display-image-container,.rcb-media-display-video-container{border-radius:22px;margin-right:16px;margin-top:8px;padding:16px;width:fit-content}.rcb-media-display-offset{margin-right:50px!important}.rcb-media-display-image{border-radius:22px;height:auto;object-fit:cover;width:100%}.rcb-media-display-video{background-color:#000;border-radius:22px;height:auto;width:100%}.rcb-media-display-audio{border-radius:22px;height:auto;margin-right:16px;margin-top:8px;width:100%}.rcb-media-entry{animation:rcb-animation-user-message-entry .3s ease-in backwards}.rcb-attach-button-disabled,.rcb-attach-button-enabled{background-size:cover;border-radius:6px;display:inline-block;height:30px;position:relative;text-align:center;width:30px}.rcb-attach-button-disabled input[type=file],.rcb-attach-button-enabled input[type=file]{display:none;height:100%;position:absolute;width:100%}.rcb-attach-button-enabled{cursor:pointer}.rcb-attach-button-disabled{opacity:.5}.rcb-attach-button-enabled:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-attach-button-enabled:hover:after{height:130%;opacity:1;width:130%}.rcb-attach-icon-disabled,.rcb-attach-icon-enabled{background-repeat:no-repeat;background-size:cover;display:inline-block;height:24px;margin-top:2px;transition:background-image .3s ease;width:24px}.rcb-attach-icon-enabled{cursor:pointer}.rcb-emoji-button-disabled,.rcb-emoji-button-enabled{background-size:cover;border-radius:6px;cursor:pointer;display:inline-block;height:30px;position:relative;text-align:center;width:30px}.rcb-emoji-icon-disabled,.rcb-emoji-icon-enabled{background-repeat:no-repeat;background-size:cover;display:inline-block;font-size:20px;height:24px;margin-top:2px;position:relative;width:24px}.rcb-emoji-icon-enabled{cursor:pointer}.rcb-emoji-icon-disabled{opacity:.5}.rcb-emoji-button-enabled:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-emoji-button-enabled:hover:after{height:130%;opacity:1;width:130%}.rcb-emoji-button-popup{background-color:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 2px 4px #0003;max-height:200px;overflow-y:auto;padding:8px;position:absolute;transform:translateY(calc(-100% - 30px));width:158px}.rcb-emoji{cursor:pointer;font-size:24px;padding:3px;transition:transform .2s ease-in-out}.rcb-emoji:hover{transform:scale(1.2)}.rcb-audio-icon{background-size:cover;border:none;cursor:pointer;display:inline-block;height:30px;margin-left:5px;position:relative;width:30px}.rcb-audio-icon:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-audio-icon:hover:after{height:130%;opacity:1;width:130%}.rcb-close-chat-icon{background-size:cover;border:none;cursor:pointer;display:inline-block;height:30px;margin-left:5px;position:relative;width:30px}.rcb-close-chat-icon:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-close-chat-icon:hover:after{height:130%;opacity:1;width:130%}.rcb-notification-icon{background-size:cover;border:none;cursor:pointer;display:inline-block;height:30px;margin-left:5px;position:relative;width:30px}.rcb-notification-icon:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-notification-icon:hover:after{height:130%;opacity:1;width:130%}.rcb-voice-button-disabled,.rcb-voice-button-enabled{align-items:center;background-color:#fff;border-radius:4px;box-shadow:0 0 3px #0000004d;cursor:pointer;display:inline-flex;height:32px;justify-content:center;margin-left:8px;text-transform:uppercase;transition:all .3s ease;width:32px}.rcb-voice-button-enabled{border:1px solid red;box-shadow:0 0 3px #ff000080}.rcb-voice-button-enabled:hover{border:1px solid #3d0000}.rcb-voice-button-disabled{border:1px;border-color:#0003;border-style:solid}.rcb-voice-button-disabled:hover{box-shadow:0 0 3px #8a0000}.rcb-voice-icon{background-position:50%;background-repeat:no-repeat;background-size:cover;background-size:contain;height:60%;object-fit:cover;width:60%}.rcb-voice-icon.on{animation:rcb-animation-ping 1s infinite}.rcb-send-button{border:none;border-radius:4px;box-shadow:0 0 3px #0000004d;cursor:pointer;display:inline-flex;height:32px;justify-content:center;margin-left:8px;text-transform:uppercase;transition:background-color .3s ease;width:51px}.rcb-send-icon{background-position:50%;background-repeat:no-repeat;background-size:cover;background-size:contain;height:50%;object-fit:cover;transform:translateY(20%);width:50%}.rcb-view-history-container{align-items:center;display:flex;justify-content:center;max-height:45px;min-height:35px;padding-bottom:5px;padding-top:10px}.rcb-view-history-button{align-items:center;background-color:#fff;border:.5px solid #adadad;border-radius:20px;color:#adadad;cursor:pointer;display:inline-flex;font-size:12px;justify-content:center;max-width:60%;padding:6px 12px;transition:color .3s ease,border-color .3s ease}.rcb-view-history-button>p{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rcb-chatbot-global{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.5;z-index:9999}.rcb-chat-window{background-color:#fff;border-radius:10px;bottom:20px;box-shadow:0 2px 4px #0003;display:flex;flex-direction:column;height:550px;overflow:hidden;position:fixed;right:20px;transition:all .3s ease;width:375px}.rcb-window-embedded .rcb-chat-window{bottom:auto;opacity:1;position:relative;right:auto;visibility:visible}.rcb-window-open .rcb-chat-window{animation:rcb-animation-expand .3s ease-in-out forwards;opacity:1;visibility:visible}.rcb-window-close .rcb-chat-window{animation:rcb-animation-collapse .3s ease-in-out forwards;opacity:0;visibility:hidden}@keyframes rcb-animation-expand{0%{opacity:0;transform:translate(100%,100%) scale(0)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes rcb-animation-collapse{0%{opacity:1;transform:translate(0) scale(1)}to{opacity:0;transform:translate(100%,100%) scale(0)}}@keyframes rcb-animation-ping{0%{filter:brightness(100%);opacity:1}50%{filter:brightness(50%);opacity:.8}}@keyframes rcb-animation-bot-message-entry{0%{opacity:0;transform:translate(-100%,50%) scale(0)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes rcb-animation-user-message-entry{0%{opacity:0;transform:translate(100%,50%) scale(0)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes rcb-animation-bot-typing{0%{opacity:.4}50%{opacity:1}to{opacity:.4}}@keyframes rcb-animation-pop-in{0%{opacity:0;transform:scale(.8)}70%{opacity:1;transform:scale(1.1)}to{transform:scale(1)}}@keyframes rcb-animations-checkboxes-entry{0%{opacity:0;transform:translate(-100%)}to{opacity:1;transform:translate(0)}}@keyframes rcb-animation-options-entry{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes rcb-animation-tooltip-in{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@keyframes rcb-animation-tooltip-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-5px)}}@keyframes rcb-animation-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}',{insertAt:"top"});const wt={AUDIO_BUTTON:"audio-button",NOTIFICATION_BUTTON:"notification-button",CLOSE_CHAT_BUTTON:"close-chat-button",SEND_MESSAGE_BUTTON:"send-button",VOICE_MESSAGE_BUTTON:"voice-button",FILE_ATTACHMENT_BUTTON:"file-attachment-button",EMOJI_PICKER_BUTTON:"emoji-button"},kc="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml:space='preserve'%20viewBox='0%200%201000%201000'%3e%3crect%20width='100%25'%20height='100%25'%20fill='%23fff'/%3e%3cg%3e%3crect%20width='45'%20height='30'%20x='-22.5'%20y='-15'%20rx='1.5'%20ry='1.5'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2337547a;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20-99%20362)%20scale(3.4003)'/%3e%3cpath%20d='M0%2075q14%200%2014%2017%200%2016-14%2016Z'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2398b0ca;fill-rule:nonzero;opacity:1'%20transform='rotate(180%20106%20386)%20scale(3.4003)'/%3e%3crect%20width='25'%20height='4'%20x='-12.5'%20y='-2'%20rx='.2'%20ry='.2'%20style='stroke:%2346648c;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2346648c;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20-46%20282)%20scale(3.4003)'/%3e%3cpath%20d='M19%2065h4l5%204v1H14v-1Z'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2346648c;fill-rule:nonzero;opacity:1'%20transform='translate(165%20150)%20scale(3.4003)'/%3e%3crect%20width='25'%20height='2'%20x='-12.5'%20y='-1'%20rx='.1'%20ry='.1'%20style='stroke:%2398b0ca;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2398b0ca;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20-3%20240)%20scale(3.4003)'/%3e%3ccircle%20r='7.5'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23a478fc;fill-rule:nonzero;opacity:1'%20transform='translate(236%20175)%20scale(3.4003)'/%3e%3crect%20width='45'%20height='30'%20x='-22.5'%20y='-15'%20rx='1.5'%20ry='1.5'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2337547a;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20139%20600)%20scale(3.4003)'/%3e%3cpath%20d='M184%2075q14%200%2014%2017%200%2016-14%2016Z'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2398b0ca;fill-rule:nonzero;opacity:1'%20transform='translate(165%20150)%20scale(3.4003)'/%3e%3crect%20width='25'%20height='4'%20x='-12.5'%20y='-2'%20rx='.2'%20ry='.2'%20style='stroke:%2346648c;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2346648c;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20219%20548)%20scale(3.4003)'/%3e%3cpath%20d='M175%2065h4l5%204v1h-14v-1Z'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2346648c;fill-rule:nonzero;opacity:1'%20transform='translate(165%20150)%20scale(3.4003)'/%3e%3crect%20width='25'%20height='2'%20x='-12.5'%20y='-1'%20rx='.1'%20ry='.1'%20style='stroke:%2398b0ca;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2398b0ca;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20262%20505)%20scale(3.4003)'/%3e%3ccircle%20r='7.5'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23a478fc;fill-rule:nonzero;opacity:1'%20transform='translate(767%20175)%20scale(3.4003)'/%3e%3crect%20width='116.7'%20height='70'%20x='-58.4'%20y='-35'%20rx='31.5'%20ry='31.5'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2371c9fc;fill-rule:nonzero;opacity:1'%20transform='translate(502%20877)%20scale(3.4003)'/%3e%3crect%20width='60'%20height='20'%20x='-30'%20y='-10'%20rx='3'%20ry='3'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2337547a;fill-rule:nonzero;opacity:1'%20transform='translate(502%20728)%20scale(3.4003)'/%3e%3ccircle%20r='75'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2371c9fc;fill-rule:nonzero;opacity:1'%20transform='translate(502%20473)%20scale(3.4003)'/%3e%3crect%20width='129.4'%20height='82.3'%20x='-64.7'%20y='-41.1'%20rx='37'%20ry='37'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23fff;fill-rule:nonzero;opacity:1'%20transform='translate(502%20464)%20scale(3.4003)'/%3e%3crect%20width='108'%20height='68.6'%20x='-54'%20y='-34.3'%20rx='30.9'%20ry='30.9'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23162334;fill-rule:nonzero;opacity:1'%20transform='translate(502%20464)%20scale(3.4003)'/%3e%3ccircle%20r='19.4'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23a478fc;fill-rule:nonzero;opacity:1'%20transform='translate(415%20464)%20scale(3.4003)'/%3e%3ccircle%20r='19.4'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23a478fc;fill-rule:nonzero;opacity:1'%20transform='translate(591%20464)%20scale(3.4003)'/%3e%3crect%20width='96'%20height='53.2'%20x='-48'%20y='-26.6'%20rx='23.9'%20ry='23.9'%20style='stroke:%23162334;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23162334;fill-rule:nonzero;opacity:1'%20transform='translate(503%20875)%20scale(3.4003)'/%3e%3cpath%20stroke-linecap='round'%20d='m68%20215%207-15M81%20222l-7-22M81%20222l7-14M101%20208H87M114%20219l-7-24M113%20219l13-22M131%20214l-5-17M148%20214h-18M69%20214H51M100%20209l7-15'%20style='stroke:%23a478fc;stroke-width:3;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:10;is-custom-font:none;font-file-url:none;fill:none;fill-rule:nonzero;opacity:1'%20transform='translate(165%20150)%20scale(3.4003)'/%3e%3c/g%3e%3c/svg%3e",Dc=$t((e,t)=>Y("svg",{viewBox:"0 0 637 637",ref:t,...e},Y("path",{d:"m478 113-13 2-4 1h4l14-2c10-2 35-2 42-1l6 3 3 1c3 0-4-3-8-5-7-1-34-1-44 1m56 6 8 6c7 5 20 17 20 19s7 12 8 12l-3-6-4-6c0-3-15-17-25-24-5-3-8-4-4-1m-198 16-9 1a512 512 0 0 1 9-1m-180 30a412 412 0 0 0-23 4 167 167 0 0 0-32 8 439 439 0 0 1 46-9 304 304 0 0 1 11-2l6-1h-8m369 8 4 3-7-6c-1 0 0 2 3 3m-439 9c-7 3-18 13-18 15l6-5c5-5 9-8 14-10l6-4-8 4m442 12-10 11-7 6 7-6c7-5 14-14 13-16l-3 5M65 205l-1 11c0 9 0 10 4 17 5 10 7 12 22 11 10 0 15 0 38-5l5-1-6 1-16 2-21 2c-13 1-16-1-21-10-3-5-4-6-4-15l1-12c1-4 1-5-1-1m335 1c3 0 3 1 3 3l-2 6c-2 5-35 39-76 80-53 51-120 117-138 137-21 24-22 25-22 27 0 3 6 9 9 9 4 0 14-8 38-27a5073 5073 0 0 1 15-16 1421 1421 0 0 0-17 15l-31 25-6 2-4-3c-3-3-3-4-2-6 3-8 79-85 160-163 57-57 79-80 79-86 0-2-3-4-7-4-2 0-2 0 1 1m165 18c-9 17-25 32-57 53l-10 8 16-11 12-8c15-10 27-22 39-39 5-7 6-8 4-8l-4 5m-221 2a199 199 0 0 0-19 10 183 183 0 0 1 27-12c0-1-1-1-8 2m-34 16c-3 3-2 3 2 0l1-2-3 2m151 3-1 2 2-2c3-3 2-3-1 0m-16 12-11 10a281 281 0 0 0 11-10m-24 18-7 5-7 5-42 31c-10 7-24 19-22 19l7-6 16-12a343 343 0 0 0 35-25 573 573 0 0 0 20-17m-187 0-2 2 4-2 3-2-5 2m-14 6-3 2 4-1 4-3-5 2m-7 3-8 4-18 8 18-7 7-3 3-1c1-2 0-2-2-1m254 24a2672 2672 0 0 1-71 54 601 601 0 0 0 39-29 1352 1352 0 0 1 32-25m-291-8-2 2 4-2 3-2-5 2m-13 5-2 2h3c5-3 4-4-1-2m-19 9-7 3-13 6c-10 5-13 7-14 10-3 4-2 5 1 0 2-3 5-5 14-9l13-6 12-6-6 2m178 36c-17 12-21 16-21 17a390 390 0 0 1 20-17m-206 34 1 4 1 3 1 5 2 8 1 5v-6l-1-8-2-5-1-4-1-2c-1-2-1-2-1 0m222 23-9 7a683 683 0 0 0-56 44 261 261 0 0 0-26 20 1345 1345 0 0 0-46 34c-6 3-7 3-19 3-11 0-12 0-18-3-8-4-10-8-17-20l-5-10 4 10c5 10 12 18 19 22 4 2 6 2 17 2 13 0 14 0 21-3l26-19 42-33a2183 2183 0 0 0 43-34 643 643 0 0 1 24-20",fill:"#fff",fillRule:"evenodd"}),Y("path",{d:"M478 114a620 620 0 0 1-39 6l-21 3a5481 5481 0 0 0-19 3 870 870 0 0 1-54 8l-1 1-6 1-12 2-13 2a992 992 0 0 0-76 12 400 400 0 0 1-45 8l-6 1-5 1h-3l-3 1-2 1-26 4-13 2-17 3c-23 5-33 9-43 19-7 8-9 13-9 27 0 8 1 9 4 14 5 9 8 11 21 10l21-2a1133 1133 0 0 1 23-4 659 659 0 0 0 74-14l3-1h3l3-1h3l2-1 2-1h3l2-1h2l24-5 38-7a2100 2100 0 0 1 93-18l3-1 10-1a2082 2082 0 0 1 120-17l2 1c2 0 8 5 8 7l1 2 1 6c0 4 0 6-3 10-2 4-16 16-18 16l-7 5-10 8a1070 1070 0 0 0-11 7 113 113 0 0 1-20 14l-2 2-3 2-2 2h-1a154 154 0 0 1-28 21l-5 4-5 4a573 573 0 0 1-50 37 175 175 0 0 0-24 18l-1 2-2 1-2 1-2 1-1 1-12 10a396 396 0 0 0-32 25l-8 6-6 5-9 7a326 326 0 0 1-25 20l-13 12a5073 5073 0 0 0-17 15c-24 20-34 27-39 27-2 0-8-6-8-9 0-2 1-3 22-27 18-20 85-86 138-137 41-41 74-75 76-80l2-6c0-2 0-3-2-3l-7 1a233 233 0 0 1-26 9l-1 1-1 1h-1l-1 1h-2l-3 2-1 1h-2l-3 2h-1l-5 2-22 10-9 4-4 2-5 2-10 4-2 1-2 1-2 1-13 6a334 334 0 0 1-38 17 75 75 0 0 0-14 6l-5 2-4 1-2 1-3 2-7 3-16 6a247 247 0 0 0-32 14l-1 1h-2l-1 1h-2l-1 1-12 6a103 103 0 0 0-27 15l-2 5-1 1v11l1 5 1 5 1 4c0 3 0 4 2 4v3l1 3 1 2 2 10 1 4 1 5 2 10 2 8 1 4 1 4c3 3 9 25 11 38l1 7v2l1 4v1l1 1v2l1 2 1 3v1l5 10c7 13 9 16 17 20 6 3 7 3 18 3 12 0 13 0 19-3 8-4 11-6 26-18a1345 1345 0 0 1 85-67 683 683 0 0 1 50-39l12-9a513 513 0 0 1 44-33 201 201 0 0 0 22-17 2270 2270 0 0 0 73-54 158 158 0 0 0 58-59c2 0 3-9 4-27l-1-19-1-4-1-6-1-3-4-6-4-6c0-2-6-8-13-14a77 77 0 0 0-28-18c-6-1-34-1-43 1"}))),Cc=$t((e,t)=>Y("svg",{viewBox:"0 -960 960 960",ref:t,...e},Y("path",{d:"M765-321q0 117-84 196-83 80-200 80-118 0-200-80t-83-196v-392q0-85 61-144 61-58 146-58 86 0 147 58 61 59 61 144v374q0 54-39 92-39 37-93 37-55 0-93-37-38-38-38-92v-372h110v372q0 9 6 14t15 5q8 0 15-5t7-14v-374q0-39-29-66t-68-27q-40 0-69 27t-29 66v392q0 71 51 119t122 48q71 0 122-48t51-119v-426h111v426Z"}))),yf=$t((e,t)=>Y("svg",{viewBox:"0 -960 960 960",ref:t,...e},Y("path",{d:"M125-165v-113h77v-273q0-93 55-167 56-75 146-100v-19q0-32 22-55 23-23 55-23t55 23q22 23 22 55v19q90 25 146 99 56 73 56 168v273h77v113H125ZM480-32q-38 0-66-27-27-27-27-66h186q0 39-27 66t-66 27Z"}))),xf=$t((e,t)=>Y("svg",{viewBox:"0 -960 960 960",ref:t,...e},Y("path",{d:"M137-190v-113h78v-253q0-41 11-79 11-39 35-71l-9 150h10L17-802l74-74L873-92l-74 74-175-172H137Zm609-149L319-769q20-15 41-25t44-16v-28q0-32 22-54t54-22q32 0 55 22t22 54v28q85 23 137 94t52 160v217ZM481-47q-38 0-65-27t-27-65h184q0 38-27 65t-65 27Z"}))),_f=$t((e,t)=>Y("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",ref:t,...e},Y("g",{strokeLinecap:"round",strokeWidth:10},Y("path",{d:"m19 19 61 61M80 19 19 80"})))),Pf=$t((e,t)=>Y("svg",{viewBox:"0 -960 960 960",ref:t,...e},Y("path",{d:"M94-136v-255l351-93-351-92v-253l816 346L94-136Z"}))),Bf=$t((e,t)=>Y("svg",{viewBox:"0 -960 960 960",ref:t,...e},Y("path",{d:"M480-372q-61 0-105-43-43-43-43-105v-240q0-61 43-105 43-43 105-43 61 0 105 43 43 44 43 105v240q0 62-43 105t-105 43ZM425-76v-122q-121-16-197-108t-76-214h109q0 91 64 154t155 63q91 0 155-63t64-154h109q0 122-77 214T534-198v122H425Z"}))),kf=$t((e,t)=>Y("svg",{viewBox:"0 -960 960 960",ref:t,...e},Y("path",{d:"m763-343-80-79q8-20 13-44 5-23 5-54h109q0 49-11 95t-36 82ZM625-482 336-770v-2q3-56 45-96t101-40q62 0 105 43t43 105v249l-1 17q-1 7-4 12ZM427-76v-122q-120-16-196-108-77-92-77-214h109q0 91 64 154t155 63q43 0 80-14 37-15 67-41l78 79q-35 32-78 53t-93 28v122H427Zm362 27L41-796l75-75 748 748-75 74Z"}))),Ec=$t((e,t)=>Y("svg",{viewBox:"0 -960 960 960",ref:t,...e},Y("path",{d:"M625-511q29 0 50-21t20-50q0-29-20-50-21-20-50-20t-50 20-20 50q0 29 20 50 21 21 50 21Zm-290 0q29 0 50-21t20-49q0-30-20-50t-50-21q-29 0-50 20-20 21-20 50 0 30 20 50 21 21 50 21Zm145 268q75 0 137-43t85-115H258q24 72 85 115 62 43 137 43Zm0 198q-90 0-170-34-79-34-138-93T79-310q-34-80-34-170t34-170q34-79 93-138t138-93q80-34 170-34t170 34q79 34 138 93t93 138q34 80 34 170t-34 170q-34 79-93 138T650-79q-80 34-170 34Zm0-435Zm0 322q134 0 228-94t94-228q0-134-94-228t-228-94q-134 0-228 94t-94 228q0 134 94 228t228 94Z"}))),Df=$t((e,t)=>Y("svg",{viewBox:"0 -960 960 960",ref:t,...e},Y("path",{d:"M553-64v-108q107-27 173-113 67-87 67-197 0-109-67-195T553-789v-108q152 26 249 144 97 117 97 271 0 155-97 273T553-64ZM61-335v-290h176l236-237v764L237-335H61Zm492 28v-346q51 23 82 70t31 103-31 103q-31 47-82 70Z"}))),Cf=$t((e,t)=>Y("svg",{viewBox:"0 -960 960 960",ref:t,...e},Y("path",{d:"M807-15 700-123q-33 21-71 37-38 15-80 22v-108q20-4 38-12l35-17-153-154v257L234-335H57v-290h144L10-818l74-75L882-90l-75 75Zm37-264-80-79q13-30 19-60 7-31 7-64 0-109-68-195-67-86-173-112v-108q152 26 249 144 98 117 98 271 0 55-14 107-13 51-38 96ZM661-462 549-575v-78q51 23 83 70 31 47 31 103l-1 9-1 9ZM469-655 366-759l103-103v207Z"}))),Sc={general:{primaryColor:"#42b0c5",secondaryColor:"#491d8d",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif",showHeader:!0,showFooter:!0,showInputRow:!0,actionDisabledIcon:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2042%2042'%3e%3cpath%20style='fill:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke:%23b00000;stroke-opacity:1;stroke-miterlimit:4'%20d='M17%209a8%208%200%200%201-8%208%208%208%200%200%201-8-8%208%208%200%200%201%208-8%208%208%200%200%201%208%208Zm0%200'%20transform='rotate(.086)%20scale(1.77778)'/%3e%3cpath%20style='fill:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke:%23b00000;stroke-opacity:1;stroke-miterlimit:10'%20d='M14.66%2014.66%203.34%203.34'%20transform='rotate(.086)%20scale(1.77778)'/%3e%3c/svg%3e",embedded:!1,flowStartTrigger:"ON_LOAD"},tooltip:{mode:"CLOSE",text:"Talk to me! 😊"},chatButton:{icon:Dc},header:{title:f("div",{style:{cursor:"pointer",margin:0,fontSize:20,fontWeight:"bold"},onClick:()=>window.open("https://github.com/tjtanjin/"),children:"Tan Jin"}),showAvatar:!0,avatar:kc,buttons:[wt.NOTIFICATION_BUTTON,wt.AUDIO_BUTTON,wt.CLOSE_CHAT_BUTTON],closeChatIcon:_f},notification:{disabled:!1,defaultToggledOn:!0,volume:.2,icon:yf,iconDisabled:xf,sound:"data:audio/wav;base64,UklGRmaIAABXQVZFZm10IBAAAAABAAIAQB8AAAB9AAAEABAATElTVBoAAABJTkZPSVNGVA4AAABMYXZmNjAuMTYuMTAwAGRhdGEgiAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////AAAAAAAA//////7/////////AAABAAAAAgABAAEAAQAAAAIAAQABAP//AAD+////AAD+//7////+////AAD//wAA/v8AAAAA/v8AAP//AAAAAAAAAgD////////+////AAABAAEAAgD/////AQABAAAA//8CAP//AAAAAAAA/v8AAAAA//8AAAEA//8EAAAAAAAAAAAA//8BAP//AQABAAEA/////wEA/v///wAAAAACAAAAAAABAAAA//8AAP//AAACAP//////////AAAAAAEAAAAAAAEA//8AAAEAAQADAAIAAgAAAAAA/v///wEAAAAAAAEAAAAAAAEA//8AAAEAAQD//wAA//8AAAEAAAABAAEAAAABAP//AAD//wAAAgAAAP//AQD/////AAAAAP7/AgAAAAIAAAAAAAAAAAABAAAAAQABAP//AAABAP///v8AAP////8AAP//AAD//wAA//8BAP//AAD///7///8BAP7///8AAAIAAgABAAEA/v8AAP//AQADAAEAAAACAAEA/////////v///wEA/v////7/AAD+////AAAAAAAAAgAAAAAAAAD//wEAAAAAAAAAAQABAAIA/v8AAAAA//8AAAEAAAAAAP//AgD//wEA/////wAAAQACAAAAAAAAAP//AQD/////AQAAAAEA/v8AAAEAAQABAAEA///+////AQD//wEAAgD+//7/AAAAAAAAAQAAAAAAAQAAAAAAAAAAAP//AAD//wEAAQD//wAAAQABAP7///8AAP7/AAABAP7/AQABAAEAAAABAAEAAAD+/wIAAAABAAAAAQD/////AQACAP////8AAP//AQD//wEA/v8CAAEAAAAAAAAAAQAAAAIAAQAAAAEAAgD//wEAAAAAAP7///8BAP//AgAAAP///v8CAAAAAgD///////////7/AAACAAEAAgD//wAAAAABAP//AwAAAAMA//8AAAAAAQD+/wAAAAD//wAAAQD//wEA//8BAP7/AAABAAAA//8BAAAA//8AAP//AQADAP3////+////AgD+/////v8BAAEAAQACAAAAAAAAAAAA//8AAP//AAD+/wEA/v8AAP7/AAD//wAAAQACAAAAAQAAAP//AQAAAAAAAAABAAAAAAD+//////8AAAAAAAD//wAAAAABAAEA//8AAAEA//8AAP//AgD+/wAA///+/wAA/v///wAAAQABAAAAAQD//wAA//8AAAEA//8BAAAAAgABAP//AAACAAIAAQABAP//AAAAAAAA//8BAAIAAAABAAAA//8CAAEA/v//////AAAAAAEA////////AQAAAP//AAD//wAAAAAAAP3/AAAAAAEAAAACAAAAAAAAAP//AAD//wAAAAAAAAAAAAAAAP///v///wAAAAABAAAAAAD//wEAAAABAAEAAQD//wAAAAACAAAAAQD+/wAA//8BAAEAAAD+/wAA/////wAAAAABAAAAAAD//////v8AAAAA//8AAAAAAAAAAAIAAAABAAEAAAABAP7/AAD9//////////7///8BAP//AAD///3/AQABAP//AAD//wAAAAABAAAA//8AAP//AAD/////AQABAAEA//8AAAAA//8BAAMA//8AAAAA//8AAP7/AAD//wAAAAAAAP7/AQAAAAAA/v8CAP//AAABAAIAAQABAAAA//8BAAEAAQD///7/AQD//wAAAQABAP//AAD//wEAAAAAAAAAAQAAAAIA//8AAP////8AAP//AQD//////v///wEA/v8AAAIAAgACAAEAAAAAAAEAAAAAAAAAAAAAAAAAAQD//wAA/////wAAAQACAP////8AAAAAAAD//wAAAQD+/wEA//8AAAEAAwD//wEAAQAAAAAAAAABAP////8AAAAAAQAAAAAAAAAAAAEAAQAAAP////////7/AQABAAEAAQD///////8BAAAA//8AAAAAAgABAAEA/v8BAP7///8BAP3/AQABAAIAAAD//wEAAAAAAP//AAABAAIA//8CAAAAAQAAAAEA//8BAAAA/////wAAAAD//wEAAQD//wAAAAAAAP//AAAAAAAAAQABAAAAAQAAAP//AQD//////v8AAAEAAAAAAAAA//8AAAAAAAACAAEAAQAAAP//AAABAAEA/////wAAAgABAAAAAAAAAAEAAAABAP//AQABAP7////+/wEAAAAAAP//AAABAAAAAAABAAEAAAAAAAAA//8BAP///f/+/wEAAQD///7///8AAAAAAQAAAP////8AAAAAAAABAAAAAQD/////AAD//wEA//8AAAIA//8CAAAA//8AAAAAAAD+/wEAAAD+/wAA/////wAA////////AAAAAAAA//8BAAAAAAD//wAAAAD//wEA//8AAP//AQD+/wAAAAAAAP7/AAD+/wEAAQABAP//AAABAAEAAQD//wAA/////wEA//8AAAAAAgAAAAAA//8BAAAAAgAAAAAAAAAAAP7/AQD//wAAAAD+/wAAAAADAAIA/////wAAAQD//wIA//8BAAEA/v8AAAIAAAAAAP3///8AAAAAAAAAAAAAAAABAP///////wAA//8AAAEAAQABAAEAAQABAAAAAQAAAAAAAQABAP7/AQD//wAAAQABAAEA//8BAAAAAgAAAAEAAAABAP//AAD/////AAD//wIA/////wIAAAD///7/AAAAAAAAAAACAP//AAABAP////8AAAAAAAABAAAAAgAAAAAAAQD+/wEA/////wAA/////wAAAAAAAAAA/v//////AAAAAP//AAABAAAAAQAAAAIAAAACAAAA//8AAAAA//8AAP7/AAAAAP//AAACAP//AQABAP//AQABAAAA/////////v8AAP//AQAAAAAA///+/wAAAQD+/wEAAQAAAAEA/////wAAAQD//wAA//8AAAAA/v8BAAEA//8AAP7//v8BAAAAAAAAAAEA//8AAAEA/////wAAAAD//////////wEAAAABAAEA//8CAAEA/f8AAAAA//8BAAAABAABAAEAAQAAAAAAAAAAAP7///8AAAAA/v8BAAAA//8AAAIA//8AAP////8BAP//AAAAAAAAAAD/////AQD///7/////////AQD8////AgABAAIA////////AAD//wAAAAABAAAAAAAAAAEAAgAAAP//AQD//wAAAAAAAP/////+/wAAAAABAAAAAwABAP///////wEAAAADAP//AQACAAAA//8CAAEAAAAAAP///////wIAAAAAAAAAAQAAAAAAAgD//wEAAAABAAAA/v8AAAAAAAAAAAAAAAAAAAEA/v8AAP//AQD//wAA//////7///8AAAAAAAAAAP7/AQD//wAA//8AAAEAAAABAAEAAQD/////AAD//wEAAAD/////AQAAAAEAAAD//wEAAAD/////AgD//wAAAQD//////////wAAAAD//wAAAAABAAAAAAD//wAAAQD///7/AQD//wEAAAD/////AAD//wEA//8AAAEA//8CAAAAAQD//wEAAgAAAAEAAwAAAAAA/v8BAAEAAgD//wEAAAAAAAAAAAD//wEA//8AAAAAAQACAP///////wAAAQABAAEAAAAAAAEAAQD+/wEA/f////////8AAAAA//8AAAEA//8BAAAA/v///wEAAAAAAAEA/////wAAAAAAAP//AAAAAAIAAAABAAAA/////wAAAAD//wAA/v8AAAMAAQD+/wEAAAABAAEA//8BAP//AgAAAAAAAAD//wAA/////wEA/v8CAP3/AAACAP3/AQABAAAAAQACAAEA/v8AAAAA//8BAAAAAgAAAAAAAgACAAEA/v/9/wAAAQABAP7///8AAP//AgD+/////v8CAP////8BAP//AQACAAEAAQABAP//AAD///7/AAABAAEAAgD//wEA//8CAAEAAQABAAEAAAABAAAA/v8AAAEA/v8AAP//AAABAP//AQAAAAEAAgAAAAAA/v///wEAAQAAAAIAAAD/////AgAAAAEA/v8AAP7/AQAAAAAAAQAAAAEAAAACAAEA//8BAP////8AAAIAAAAAAP//AAAAAAIAAAAAAAAAAwABAP///v8BAAAAAAAAAP3/AAABAAEA/v////////////3//v8AAAAAAQABAAIAAAD+/////v8AAAAAAQABAAEAAQAAAP//AAAAAP//AQAAAP//AAABAAAAAAAAAAAA////////AAAAAP//AQD/////AAABAAEA//8CAP7///8AAP7//v8BAAEAAAD+/////////wEAAAAAAAAAAgD//wAAAQAAAP7/AQABAP//AQAAAAAAAAD/////AAACAP////8BAAAAAAD//wAA//8AAAEAAQABAAAAAAABAAAAAQD+/wEA/v8AAAEAAQD/////AAD//wAAAQABAP7//v//////AAACAAAAAAAAAAAAAAACAAAAAQAAAAAA//8BAP//AQD//wAA///+/wIAAQD//wAAAAD//wAA/v8AAP3///8AAAAAAAAAAAAA/f8AAAAA//8CAP7/AAD///7/AAAAAAAAAAD//wEAAAAAAAEAAAAAAAAA//8BAP////8BAP7///8CAAEA//8BAP3///////////8BAAAAAAAAAAEAAgD+//////8BAAMAAQADAAEAAAACAAAAAQD/////AAABAAMAAQAAAP//AQD//wAA//8AAAAA//8CAP7//////wAAAAAAAAIA/v8AAP//AAACAP//AwD//wAA//8AAP//AwD//wEAAQABAAEAAQACAAEAAAD//wAA//8AAAIAAAAAAP///////wAAAQD//wIA//8BAP7/AAD///////8AAAAAAAAAAAEAAAD//wAAAQD//wEA//8BAAAAAAD/////AgABAAIAAAABAAAAAAAAAP//AAAAAAAA//8AAAAAAAD/////AQAAAAAAAQD//wAA///+////AAAAAAEAAgABAAEAAAAAAP//AQAAAAAAAQD+/wAAAAABAAEAAAD/////AQABAP7///8AAAIAAAACAAAA//8AAP//AgACAAAA///+/wAAAAABAAAAAQAAAAEA/v8BAAEA//8CAP//AQD+/////v8AAAAAAAACAP//AAD+/wIA/v8BAAAAAAD/////AAAAAP7///8AAP7//////wEAAAABAAAAAAD//wAAAAAAAAAAAgACAAAAAAABAAAA/f8AAP7/AgAAAAEA//8BAAAAAAD///7/AQD//wAAAAAAAAEAAAAAAAEAAAAAAAAAAQAAAAAA//8AAAAAAAABAP///////wAAAgABAAEA//8AAP//AAACAP//AQABAAEA//8BAAAAAAABAAAA//8AAAEAAAAAAAIA/v8BAP//AQD//wEAAAABAAEAAQACAAEAAAAAAAEAAAABAAAAAAD/////AAABAAEA//8AAAAAAQABAP//AAAAAP//AAD/////AQD//wAAAAABAAEA//8BAAAA//8AAP///f/+/wAA/////wAAAQAAAAIAAAAAAAAAAAD+/wEA/f8CAAAA//8AAAEAAgAAAAMAAAABAAAAAAAAAP//AQAAAAAAAQABAAAAAQAAAP//AAAAAAAA//8AAAAAAAABAAAAAQAAAAAAAAABAAIAAAAAAP7/AQD//wAAAAD+////AAAAAAAAAAABAAAA/////wAA//8AAAAAAAD/////AgD//wAA//8CAP//AQACAAEA/f////////8BAAIAAQABAP//AAD//wAA///+////AAD+/wAAAQD/////AAAAAAAA/////wAAAAABAAAAAQAAAAAA//8AAAIAAAABAP//AQABAAEA//8AAAAAAAADAAEAAAABAP//AgD//wMA//8AAAAAAAD//wAAAAD9/wEA///+/wAA//8BAAEA//8BAAAA//8AAP///v8BAP///////////v8BAAAAAQABAAAAAAAAAAAA//8AAP7/AQAAAAAAAAAAAP7/AQAAAAAAAgABAAEAAAABAAEAAAAAAAAAAAD+/wAAAAD//wEAAAAAAAAAAAAAAP//AgABAAAAAAABAAEAAAD/////AAAAAP//AAABAP////8BAAAAAQABAP7//v/+////AQAAAAAAAQAAAAEAAgAAAAAAAQAAAAEAAAD+/////v8BAP//AAABAP//AQABAAAAAAD//wAA//8CAP//AAAAAAEAAAABAAAAAAAAAP//AAD+////AwAAAAAAAQD//wEAAAACAAEAAAADAAAAAAD/////AAAAAAEAAAABAAAA//8AAAEA//8BAP///v8AAP//AAD//wAAAQABAP//AQAAAAAA/////wEAAQAAAP////8AAAEA//8BAAAAAQAAAP////8AAAAAAQAAAAIAAQAAAAEAAAAAAAEAAAD//wEAAAAAAP////8AAAAA//8BAAEAAAAAAAIA///+/wIA/v8BAAAAAQACAAAAAQAAAP7///8AAP//AAAAAAEAAAAAAP7/AAD+////AAAAAAAAAAD//wAA/v8BAAMAAAABAAIAAgD//wAA//8BAAEA//8BAP7/AAAAAP7///8BAAAAAQAAAP7/AQD/////AAAAAAEAAAABAP//AQABAAAAAgABAAAAAAAAAP///////wEA//8AAAEA//8AAAAAAQAAAAIAAAABAP7//////wAAAQABAAAAAAABAAEA///+/wAA//8BAP///v8AAP///v8BAAAA//8CAAAAAQAAAAEAAQABAAAAAAD+/wAAAAD+/wAAAAAAAAAA/f////////8AAAAAAQABAP///////wEA//8BAAEAAAAAAAAA/////wEA/v//////AAAAAP//AAABAAAAAAD+/wAAAAD9////AQAAAAEAAwD//wEAAQAAAP//AgAAAAAAAAD+/wIAAAAAAAAAAAAAAAIA//8AAAEAAQACAAAAAQD//wAAAAD//wIAAQABAAAAAAD//wEA//8BAAEAAQAAAAAAAQABAP7/AAD//wEAAAACAP7/AQAAAAAAAAD//wIAAQACAAIAAQAAAAAAAAAAAP3///8BAAAAAQACAP//AgD9/wAAAAD//wEA/v////////8AAAAAAAD//wEAAQD//wMAAQAAAAEA//8AAAEA//8AAAAAAAACAAAAAAD//wAAAQD///////8AAAAA//8BAAIA/v8BAAEA/f8AAAAAAAAAAAAAAgD/////AAD+/wAAAAD//wAAAAAAAP//////////AgABAP///v8AAAIAAQAAAP//AAABAAAA/////wAAAAAAAAEAAAABAP///v///wIA//8BAAEAAQAAAAAA///+/wEAAAAAAAAA/////////v8BAP3/AAAAAAAAAAAAAAAA//8AAP//AAAAAP//AAABAAIAAAACAP////8DAAAAAAABAAAAAwABAP//AAABAP//AAAAAP////8BAAAAAgD//wAA///+/wAAAQD//wAA//8AAP7///8AAAAA/v8AAAAAAQD//wEA/v////////8AAAAAAQAAAP//AQACAAAAAAAAAP//AAD//wAAAAD//wAAAAD+/wAAAAAAAP//AQD//wAAAgAAAAAAAQABAAAAAwD+/wAAAAD///7/AQD//wIAAQAAAP//AAD//wAA//8CAAEAAAAAAAAA/////wAAAAD//wEAAQD///////8BAAAA//8BAAEAAAAAAAAA/v///wEAAAAAAAAAAAADAAAAAAAAAAAAAQABAAEAAAD+//7//v8AAP//AQAAAAAAAAABAAEAAgAAAAAAAQD//wAA/f8AAAAAAAABAAAAAQAAAAAAAAAAAAIA//8BAP///////wIA/////wAAAAABAAEA//8BAAAAAAD//wAAAQD//wEAAAAAAAIA/v8BAP//AAAAAAEAAAABAP//AAAAAAAAAQABAP7/AAABAAAAAQD//wIAAAAAAAEA///+/wAA//8AAP//AAAAAAAAAAABAP///////wIAAQAAAAEAAQAAAP7/AQAAAAAAAQAAAAAAAQD/////AQAAAAAA///+//7/AAD+/wEA//8AAAAA///+/wEAAAABAAIAAQABAAAA//8AAP//AAD//wAAAAD//wAAAAAAAP//AQAAAAAA////////AQAAAAAAAQD+////AQABAP7/AAD///7/AgD//wAAAAAAAP//AAAAAAEA//8BAAEAAgAAAAIAAAD//wEA/////wAAAQD///7/AQD//wEAAQD/////AAAAAAEAAgAAAAAAAQD//wEA//8AAP7//////wAA//8BAAEA//8BAAAAAQD/////AAABAP//AAACAP//AQAAAP//AAABAP////8AAAAAAAABAAEAAwABAAAAAgD//wAAAAD//wEAAAABAAAAAAABAAEA/////wAA//8AAAIAAAAAAAEAAQABAAEAAQABAP//AgAAAAAA//8BAP3//v///wAA//8AAAAAAQAAAP//AQD//wEAAAACAAIAAAABAAAA//8BAAEA//8BAP//AAAAAP//AQAAAAIAAAD//wAAAAAAAAEA////////AQAAAP//AQD//wAAAQD+/wEAAAABAP///v///wAAAAAAAP//AAAAAAIAAQD//wAAAgD+/wAAAAD//wAAAAABAP///P//////AAACAP////8AAAIAAAABAAAAAAAAAAAA//8AAAAAAQADAP//AQAAAAAAAAABAAEAAQAAAAAA/v8AAAAAAAD//wAAAQD//wAAAAD//wAA/v////////8CAAEA/v8BAP7/AAAAAAAA//8AAAEAAAD//wIAAQAAAAIAAQAAAAAAAAD///7/AQABAP//AAAAAP//AAACAAEA//8BAAAAAwAAAAAAAAD//wEAAAD//wAA///////////+/wAAAQABAAIAAAABAAEAAAD//wEAAAD/////AAD+/wIAAwABAAEA/v8BAAEAAAD//wAA//8AAP//AAAAAAEAAAAAAP//AAAAAAEAAQABAAEA/v///wAAAAD//wEAAAACAAAA/f/+/wAA/v///wAA//8AAAEAAQD///7/AAAAAAAAAAABAAAAAAACAAAAAAABAAAAAAABAP//AQD//wAA//8BAP7/AgABAAEAAQAAAAAAAQD//wEA/v8AAP////8AAP///////wIAAQD//wAAAAD//wAA/v///wAAAQD//wIA/////wEAAAAAAAIAAAABAAAAAAD//wEA//8AAAAA/////wAAAQAAAAAAAAD//wEAAQAAAAAAAAACAP///////wAAAgD//wAA/v8AAAIAAAAAAAEAAAABAP//AQABAAEAAQAAAP///v8BAAEAAAAAAP////8AAAAAAQD//wIAAQAAAAEAAAAAAAAA//8BAP//AAAAAP7//v///wEAAAAAAAIAAAAAAP//AAD//wEA//8BAAAAAAABAAEAAAABAP7///8AAAIAAAABAP//AAD//wEAAAAAAP//AAAAAAEAAAAAAAAAAAAAAP7/AQD//wAAAQD+/wEA/v8BAP7/AAABAAEAAAACAAIAAAADAAAA//8AAAEAAAABAP//AQD//wIA/////wEA//8AAAEA//8AAAEAAAAAAAAAAQABAAAAAAAAAAAAAAD//////////wAA//8AAP7/AAD+/wAAAQAAAAAA/////wAABAAAAAAA//8AAAEAAAAAAAAA/v8AAP//AAAAAAAAAAD//wAAAAD///////8BAAEAAAD/////AgABAAEA/v/+/wAAAQACAAEAAAD//wAAAwABAP//AgD+/wAA/v8AAAAAAAAAAAEA//8AAAEAAAD+/wEAAAAAAAEAAgAAAAEAAAABAP//AQD+/wIA/////wAAAQD//wAAAQD+/wAAAQABAAAA////////AAACAAAAAQAAAAIA//8BAP///v///wEA//8BAAEAAQD+/wAAAQD9/wAAAQAAAAEAAAABAAAAAgAAAP//AAD+/wAA/f8AAAAA////////AgAAAAcAAQD7/wEA/f8AAAIA//8GAP7//v/+//b/AQD//wQADgD///3/9/8FAPr/6/8EABAACQD9/wIA/P/5/w4A///t/wQA/P8LAB0ACQD5////AQD2/+7/AgD6//r//v/z/xIA9f8oAAMA4f8OANz/EQAdAAAA5P/w/2MAAQDq/w0A1/8bALz/BgDb/+j/lQD9/yMABAACAA0Alf8NAKr/CwCMAPD/QwDq/wkA9v+g/wgAk/8QAD0ABgAWAAQAMwD7/9T/8//f//z/JwAEAOL/DwBxAAwAzf/+/xUA8v+O//H/fAD5/xUA+/9m//P/yf/r/y8ACAAbAEQA3f9AAAcB9f/p/sD/+Q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AQArAAIAHQAEAAcAAADr/wEAzv8CANj//f/k/wEA+f/+/xQABwAqAB4ALAD+/x4A8P8SAOb/8//f/9j//f/N/wEA3v8LAO7/AgAMAAQALAAEAC0AAQAdAAQADwABAPP/BADV/wMA0/8AAOH/AQD1/wAAEAADACQAGwAwAAQAHwD0/xUA8f/4/+L/2//7/8z/AwDc/woA6f8AAAQAAwAoAAcANAAAACcAAgAUAAEA+P8CANv/AgDR/wEA4v8BAOz/AgAIAPv/JAAVADMAFAAhAPP/GQDz//7/3P/l/+3/z/8BANf/CgDn/wkA/P///xoABwAwAAIAJwACABcAAwABAAIA4f8BAND/AgDd//3/6P8CAAYA/f8YAAwALwAZACUA9v8bAPj/AwDq/+r/7P/S//7/1/8EAOX/CQD6//7/GQAFAC8AAQApAAEAGQACAAMAAgDm/wEAzv8BANv//v/p/wIA//8BABMABQArACAALAABAB4A8f8NAOv/7v/m/9n/+P/R/wMA4f8OAPT/AQATAAMAKwAHACoAAwAbAAMABQADAO7/AQDU/wEA2f8AAOL////3////EgAAACUAGgAvAAUAHQD2/xIA9f/0//T/3P/4/8///f/h/wIA7f8AAAoAAQApAAQALQADACAAAgAPAP//9P///9r//f/T/wAA3f/9//D/AQAQAP//HAAHAC8ACQAfAPv/GAD+//f/+P/j/wEA0v/+/9n/AADq/wIABgD//x0AAQAuAAEAIwAAABQAAwD8/wEA3/8AAM//AADe////7f8BAAwA//8ZAAMALwAAACEA//8dAP3//v/9/+n////U//z/1v8BAOT/AAD+/wAAGwD+/ywA/v8kAAIAGAD///3////q/wEA0P///97/AADk/wAABAAAABUAAQAqAAEAKQAAABwAAAAFAP//6f8AANr////X/wAA4/8AAPj/AgAUAAAAKgD//ywAAAAcAP7/AQAAAOv/AADU/wAA2v8CAOP/AAABAAAAFgABABsAAAAqAAEAHwAAABQAAgDv/wEA3v///9H////f////7/8BAAoAAQApAAAALgD//yEAAQAIAAAA8P8BANr//v/V////4f8AAPf//v8UAAAAFAAAACYAAQAhAP7/GwD+//T/AADo/wIA1v8CANr/AgDp/wEABgAAAB8AAQAsAAEAJAAAAAwA///z/wEA3/8AANT/AADh/wEA9P///xQAAgASAAAAJQAAACEAAAAaAP//+v8BAOj////W////2P8BAOf///8DAAAAHwAAAC4AAAAlAAAAEgAAAPL/AQDm////0f8CAN3/AADr//7/EQD//xAAAQAhAAIAJQAAAB8AAAABAP//6v8CAN//AQDX/wAA4/8AAPr/AAAXAAAAKgABACgAAAAbAP///f8AAOj/AADU/wAA2v///+f/AQANAAMAEQD+/xwA/v8kAP7/IQABAAgA/v/p////5/8AANf/AQDd/wEA8v8BABMAAQAjAAAALgAAACAAAQADAAEA7f8BANn/AgDY//7/4P/+/wEAAAAXAAIAFAAFACUA/P8jAP//EgAAAO//AQDo////1/8AAN3/AADx//7/DgAAAB0AAQAoAAAAIwAAAAoAAQDv/wMA4f8AANn/AQDi/wEA+v///xgAAAAQAP3/IwD//yUA/v8XAAAA7/8AAOv/AADc/wAA3P/+/+v/AQALAAEAGgACACkAAAAkAP7/EAABAO/////q//7/1/8AANz/AgDw/wEAEgD//w8AAAAcAAIAJQAAAB0AAAD2////7P8AAOP/AgDa/wAA5P8BAAQAAQAWAAAAIgAAACMAAAAaAP//+P///+v/AQDZ/wAA2////+7/AAARAAAADgAAABYAAAAhAAAAIAABAPz/AQDt/wAA5P8AANr/AQDg/wEA/P8BABcAAAAhAP//KQD//xwAAAD8/wEA7v8AAN3////Z/wAA6f8BAA0AAAARAAEAEQAAACMAAAAgAAEA/f8CAO3/AADv/wAA3v8BANv////1////EgAAABkA//8nAAAAIgAAAAMAAADu/wAA6P8CANn/AQDg////BQD//xMAAQAOAP//IAABACYAAAAGAAAA6f////H/AADg/wEA2f8AAO3///8PAAAAFQACACQAAAAkAAEADQABAO//AADp/wAA2////9z/AQD7/wEAFgAAAAwAAQAXAP7/JQD9/xMAAADx/wAA8f8AAOr/AADc/wEA4/8BAAkAAAAVAAAAIQD//yYA//8UAAEA9P8BAOz/AADf/wAA3P8AAPP/AAAQAAAADQABAA0AAAAlAAEAGAD///H//v/0/wEA7v8CAN//AADg//3/BAACABUAAQAfAAAAJwABABgAAQD0//7/7f///+L/AADa/wIA8P///w4A//8SAAMACQAAACAAAQAgAP//+v////P////y/wEA4/8BANr/AQD9/wAAEwD//xkAAQAjAAAAIgABAPz////s/wAA6v8BANX/AQDr//7/BwABABMAAAAHAP//FwAAACYAAAD//wEA9P8BAPb/AQDu////2v8BAPn/AAATAP//FwD//yEAAAAjAAAAAgAAAOn/AQDr//7/2P8CAOT/AAABAP//FgABAAUAAQATAP//IwAAAAEAAgDy/wEA9/8AAPb/AADb/wAA6/8BABAAAAATAP7/IQAAACYA//8UAP//7/8AAPD/AADd/wEA3P/+//7///8OAAAACgAAAAgAAAAhAP//CQACAPT/AQD2/wAA9v///97////m/wIADgABABMAAQAfAP//JwAAABMAAADw/wAA8P///+r/AQDb/wAA9f8AAA8AAAARAAIABAD//wYA/v8HAAAAAQD//wMAAgAGAAAA7f8AAOz/AAALAP//DwACABQA//8bAAAAHgD///f/AADq/wEA6/8BANj//v/t/wAACAD+/xAAAgAEAAAABAABAAcAAQADAAAA//8AAAUA///1/wAA5f///wIAAAAOAAAAEAAAABsAAAAhAAAA/v8BAOj////y////3f8AAOf/AQAGAAEADAAAAAcA//8BAP//CQABAAMA//8BAP//BQAAAAAAAADo/wAA+/8AAAoAAAALAAAAFAAAACAAAQAGAAIA7f8BAPH/AADm/wMA3P8CAP7/AgASAP//CgD//wAAAAAIAP//BQD//wEAAAACAP7/BAAAAPz/AwD8////BAAAAAEA//8HAAAAHQAAAAgA/v/x//7/8f///+f/AQDg/////P///woAAAAMAP//AAABAAYA//8EAAAAAgAAAAUAAAACAAAAAwAAAAIAAAABAAAAAQABAAAAAgAcAP//DgD///T/AQDx/wAA9P8CAOH/AAD3/wAACQAAAAoAAQABAP//AwAAAAcAAAD+/wAAAgACAAEAAAD+////AwD+/wAAAAABAP//+v8BABEAAQATAAAA9f/+//L//f/z/wIA6f8AAPb/AQAFAP//DAAAAAAAAAAFAP//BQD//wEA//8DAAEAAQAAAP7///8AAAAA//8BAAIAAAD+/wAAEAABABYAAgD6/wEA8v8BAPX/AwDp/wAA8////wMA//8JAAEABAABAAEA//8FAAEA//8AAAMAAQACAP//AQAAAAEAAgAFAP//AQABAAAAAQAAAP//EQABAAAAAAD5/wEA+P8AAPr////6/wAA+/8BAAIA//8BAAAA//8CAAUA//8BAP7/AAABAAEAAgAAAAAAAwAAAAEA/v8DAAIAAAACAAQA//8TAAAA/P8BAPr////3//////8AAPz/AQD7/wEAAgD/////AAABAAEABAAAAP//////////AAAAAAAAAAADAAAAAwAAAAAA//8EAP///v/+/xAA//8HAAAA+/////j/AQD8////AAD///n///8AAAAA//8AAP////8DAP//AgAAAAAAAAACAAIAAAD+/wAAAQD//wAA/////wIAAgD9////CQACAAYA///9////+f8BAPr/AQAAAAIA/v///wAA//8AAAAAAAAAAAEAAAABAAAAAgAAAAEAAAAAAAEAAQABAAAAAgABAP//AAD//wEAAAD///////8BAAIAAQAAAAAA/v/+//////8BAAAAAQABAP//AAD///////8BAAAAAQABAP////8CAAEAAQD//wEA/v//////AQAAAAAAAAAAAAAAAAD9/wMA/////wAAAQD+/wEA/v/+//7/AQD//wMAAAAAAAAAAAABAAEA//////7/AAACAP3/AAD//wAAAQAAAP//AQD//wAAAAAAAAEA//8CAP//AAAAAAAA/v8AAAAA//8BAP//AAABAP//AAAAAP//AQD//wAAAQABAAAAAAABAAEA/v///wAAAAD//////////wAAAAAAAP//AAD////////8/wIAAAADAAEA/////wEA/v8BAP7/AgAAAAEAAgAAAP//AgD/////AQD//wEA//////7/AQD//wMAAAAAAAAA//8CAP//AQAAAP//AAACAAAAAAABAP//AQD+/wAA/////wAA/f///wAAAAAAAP7/AAAAAAAAAgD//wEAAQACAP//AAAAAAEAAQD//wAAAAAAAAAA//8BAAMA/v8AAP7/AQAAAAAAAQAAAAAA///+//7/AAAAAAAA//8BAP7/AQAAAP//AQABAAAAAQAAAP//AAD//wIA/v///wAAAQABAP//AAD//wEA//8BAP//AgAAAP///////wAAAQABAP//AwABAAAAAAAAAAAA/////wIAAwACAAAA/v8BAAAAAAAAAAAA//8AAP////8AAAAA/////wAA/////wEA/v8CAAEAAQD//wAAAAABAAAAAAD//wEAAQABAAAA//8CAAAAAAAAAP7/AAABAAAAAQABAAAAAgABAAAAAQD//wEAAwD+/wAA/v8AAAEAAAAAAAAAAAAAAAEAAAD//wMA/v///wAAAAACAAEAAAAAAP7///8DAAEAAQD//wEA/f8BAAEAAQD//wEAAQABAAMAAgAAAAEA//8AAP//BAAAAAIA/v//////AQABAAAAAAD//wEAAAACAAIAAQAAAAAAAgAAAAAAAAABAAIAAAABAAIAAQAAAP////8AAAAAAAD//wAAAQACAP//AAAAAAAAAQAAAAEA//8AAAAAAAD/////AQD//wAAAQD9////AQAAAAAA//8BAAAA///+/////v8BAAAAAQAAAAAAAAAAAAIA//8BAAAAAAACAP//AQD//wAAAAD/////AAD9/wAAAAACAAAAAgAAAAEAAQABAAEAAAAAAAEA//8AAAEAAQACAAAAAQAAAAEA//8BAAIAAAACAP//AAABAAAAAAAAAAAAAAD//wAAAQD/////AAAAAP////8AAAEAAAAAAP7///8BAAIAAQD//wEAAQAAAP//AgAAAAAAAAD//wAA//8CAP7/AQAAAP7/AAD+////AAAAAAAAAQABAAAA//8AAAEAAAABAP7/AAAAAP7/AAD+/wAAAQABAAEA/////////v8BAP///v///wIAAAAAAAAAAQAAAAIAAQAAAAAAAAABAAEAAAAAAAAAAAD//wEAAQD//wAAAQABAAAA/v/+/////////wAAAAD//wAAAAD/////AAAAAP7/AAD//wIA//8CAP//AQAAAP////8AAAAAAQABAP////8AAP//AQACAAAAAQAAAAAAAAAAAAAA//8BAAAAAAD+/wAA/v///wEAAAD+//7///8CAP7/AAABAP3/AwAAAAAAAAABAAIAAAABAAAAAQABAAIAAAAAAP//AAAAAAEAAAACAAEAAAACAAAAAAABAAAAAwAAAAAAAAD+/wAAAQD9//////8BAAAA/v8AAAAAAAAAAAAAAAD//wMA/v8BAAEAAQACAAAA/v8BAP//AwABAAIAAQABAP//AQAAAAEAAAAAAAEA//8AAAAAAAD/////AAABAAEAAAAAAP////8AAAAAAAAAAAAA/v8AAP//AQAAAP//AAABAAIAAQAAAAAAAgABAAAA/////wAAAQABAP//AQABAAEA/////wAAAAAAAAAAAAABAAEAAQAAAAAAAAAAAAAA//8AAP7/AQD9/wAAAgD//wEAAQABAAEA/v8AAAEA/////wAAAAAAAP//AAABAAAAAAAAAAAA//8CAP//AAABAAEAAQABAAAA//8BAAIAAgD//wAA/v8AAAEAAAD///7/AAAAAAEAAAABAAAAAQABAAAAAQACAAAA///+/wAAAQABAP7////+/wAA//8AAAAAAgAAAP//AQD9/wAAAAD//wAA//8AAAAAAQAAAAAAAQD//wAAAAAAAP//AQABAAAA/v8CAP//AAD///////8AAAAAAAACAAEA//8BAP7/AAAAAAEA//8BAAAAAQD//wAAAQD+/wAA/////wAAAAD//wAAAQABAAAA//8AAAEA/////wAA//8AAAAA/v/+/wEAAgABAP//AgD//wIA/////wAA//8AAAEAAQAAAAAAAQAAAAMAAAACAP//",showCount:!0},audio:{disabled:!0,defaultToggledOn:!1,language:"en-US",voiceNames:["Microsoft David - English (United States)","Alex (English - United States)"],rate:1,volume:1,icon:Df,iconDisabled:Cf},chatHistory:{disabled:!1,maxEntries:30,storageKey:"rcb-history",storageType:"LOCAL_STORAGE",viewChatHistoryButtonText:"Load Chat History ⟳",chatHistoryLineBreakText:"----- Previous Chat History -----",autoLoad:!1},chatInput:{disabled:!1,allowNewline:!1,enabledPlaceholderText:"Type your message...",disabledPlaceholderText:"",showCharacterCount:!1,characterLimit:-1,botDelay:1e3,sendButtonIcon:Pf,blockSpam:!0,sendOptionOutput:!0,sendCheckboxOutput:!0,buttons:[wt.VOICE_MESSAGE_BUTTON,wt.SEND_MESSAGE_BUTTON]},chatWindow:{showScrollbar:!1,showTypingIndicator:!0,autoJumpToBottom:!1,showMessagePrompt:!0,messagePromptText:"New Messages ↓",messagePromptOffset:30,defaultOpen:!1},sensitiveInput:{maskInTextArea:!0,maskInUserBubble:!0,asterisksCount:10,hideInUserBubble:!1},userBubble:{animate:!0,showAvatar:!1,avatar:"data:image/svg+xml,%3csvg%20width='140'%20height='140'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cy='60.044'%20cx='70'%20fill='%235c5c5c'%20r='29'/%3e%3cpath%20d='m16.36%20156.186-.01-30.5c-.005-16.844%2024.168-30.507%2053.991-30.516%2029.823-.009%2054.004%2013.64%2054.01%2030.484l.008%2030.5-108%20.032z'%20fill='%235c5c5c'/%3e%3c/svg%3e",simulateStream:!1,streamSpeed:30},botBubble:{animate:!0,showAvatar:!1,avatar:kc,simulateStream:!1,streamSpeed:30},voice:{disabled:!0,defaultToggledOn:!1,language:"en-US",timeoutPeriod:1e4,autoSendDisabled:!1,autoSendPeriod:1e3,sendAsAudio:!1,icon:Bf,iconDisabled:kf},footer:{text:f("div",{style:{cursor:"pointer",display:"flex",flexDirection:"row",alignItems:"center",columnGap:3},onClick:()=>window.open("https://react-chatbotify.com"),children:[f("span",{children:"Powered By "},0),f("div",{style:{borderRadius:"50%",width:14,height:14,display:"flex",justifyContent:"center",alignItems:"center",background:"linear-gradient(to right, #42b0c5, #491d8d)"},children:f(Dc,{style:{width:"80%",height:"80%",fill:"#fff"}})},1),f("span",{style:{fontWeight:"bold"},children:" React ChatBotify"},2)]}),buttons:[wt.FILE_ATTACHMENT_BUTTON,wt.EMOJI_PICKER_BUTTON]},fileAttachment:{disabled:!1,multiple:!0,accept:".png",icon:Cc,iconDisabled:Cc,sendFileName:!0,showMediaDisplay:!1},emoji:{disabled:!1,icon:Ec,iconDisabled:Ec,list:["😀","😃","😄","😅","😊","😌","😇","🙃","🤣","😍","🥰","🥳","🎉","🎈","🚀","⭐️"]},toast:{maxCount:3,forbidOnMax:!1,dismissOnClick:!0},event:{rcbPreInjectMessage:!1,rcbPostInjectMessage:!1,rcbStartSimulateStreamMessage:!1,rcbStopSimulateStreamMessage:!1,rcbStartStreamMessage:!1,rcbChunkStreamMessage:!1,rcbStopStreamMessage:!1,rcbRemoveMessage:!1,rcbLoadChatHistory:!1,rcbToggleChatWindow:!1,rcbStartSpeakAudio:!1,rcbToggleAudio:!1,rcbToggleNotifications:!1,rcbToggleVoice:!1,rcbChangePath:!1,rcbShowToast:!1,rcbDismissToast:!1,rcbUserSubmitText:!1,rcbUserUploadFile:!1,rcbTextAreaChangeValue:!1,rcbPreLoadChatBot:!1,rcbPostLoadChatBot:!1},ariaLabel:{chatButton:"open chat",audioButton:"toggle audio",closeChatButton:"close chat",emojiButton:"emoji picker",fileAttachmentButton:"upload file",notificationButton:"toggle notifications",sendButton:"send message",voiceButton:"toggle voice",inputTextArea:"input text area"},device:{desktopEnabled:!0,mobileEnabled:!0,applyMobileOptimizations:!0}},Mc=le({settings:{},setSettings:()=>null}),G=()=>Zt(Mc),Ef=({children:e,settings:t=Sc,setSettings:n})=>f(Mc.Provider,{value:{settings:t,setSettings:n},children:e}),Tc={tooltipStyle:{},notificationBadgeStyle:{},chatWindowStyle:{},headerStyle:{},bodyStyle:{},chatInputContainerStyle:{},chatInputAreaStyle:{},chatInputAreaFocusedStyle:{},chatInputAreaDisabledStyle:{},userBubbleStyle:{},botBubbleStyle:{},botOptionStyle:{},botOptionHoveredStyle:{},botCheckboxRowStyle:{},botCheckboxNextStyle:{},botCheckMarkStyle:{},botCheckMarkSelectedStyle:{},characterLimitStyle:{},characterLimitReachedStyle:{},chatHistoryLineBreakStyle:{},chatMessagePromptStyle:{},chatMessagePromptHoveredStyle:{},footerStyle:{},loadingSpinnerStyle:{},mediaDisplayContainerStyle:{},chatButtonStyle:{},chatHistoryButtonStyle:{},chatHistoryButtonHoveredStyle:{},sendButtonStyle:{},sendButtonHoveredStyle:{},sendButtonDisabledStyle:{},audioButtonStyle:{},audioButtonDisabledStyle:{},closeChatButtonStyle:{},emojiButtonStyle:{},emojiButtonDisabledStyle:{},fileAttachmentButtonStyle:{},fileAttachmentButtonDisabledStyle:{},notificationButtonStyle:{},notificationButtonDisabledStyle:{},voiceButtonStyle:{},voiceButtonDisabledStyle:{},chatIconStyle:{},audioIconStyle:{},audioIconDisabledStyle:{},closeChatIconStyle:{},emojiIconStyle:{},emojiIconDisabledStyle:{},fileAttachmentIconStyle:{},fileAttachmentIconDisabledStyle:{},notificationIconStyle:{},notificationIconDisabledStyle:{},voiceIconStyle:{},voiceIconDisabledStyle:{},sendIconStyle:{},sendIconDisabledStyle:{},sendIconHoveredStyle:{},rcbTypingIndicatorContainerStyle:{},rcbTypingIndicatorDotStyle:{},toastPromptContainerStyle:{},toastPromptStyle:{},toastPromptHoveredStyle:{}},Ic=le({styles:{},setStyles:()=>null}),At=()=>Zt(Ic),Sf=({children:e,styles:t=Tc,setStyles:n})=>f(Ic.Provider,{value:{styles:t,setStyles:n},children:e}),Mf=({buttons:e})=>{var t,n,i,o,r;const{settings:s}=G(),{styles:a}=At(),c={backgroundImage:`linear-gradient(to right, ${(t=s.general)==null?void 0:t.secondaryColor},
|
|
2
|
-
${(n=s.general)==null?void 0:n.primaryColor})`,...a.headerStyle};return f("div",{style:c,className:"rcb-chat-header-container",children:[f("div",{className:"rcb-chat-header",children:[((i=s.header)==null?void 0:i.showAvatar)&&f("div",{style:{backgroundImage:`url("${(o=s.header)==null?void 0:o.avatar}")`},className:"rcb-bot-avatar"}),(r=s.header)==null?void 0:r.title]}),f("div",{className:"rcb-chat-header",children:e==null?void 0:e.map((l,A)=>f(N,{children:l},A))})]})},Oc=le({}),St=()=>Zt(Oc),Tf=({children:e,botIdRef:t,flowRef:n})=>{const i=q(null),o=q(""),r=q(new Map),s=q(null),a=q(""),c=q(!1),l=q(null),A=q(null),d=q(null);return f(Oc.Provider,{value:{botIdRef:t,flowRef:n,inputRef:i,streamMessageMap:r,chatBodyRef:s,paramsInputRef:a,keepVoiceOnRef:c,audioContextRef:l,audioBufferRef:A,gainNodeRef:d,prevInputRef:o},children:e})},Qc=le({}),Et=()=>Zt(Qc),If=({children:e,settings:t})=>{var n,i,o,r,s,a;const[c,l]=R(!1),[A,d]=R(((n=t==null?void 0:t.chatWindow)==null?void 0:n.defaultOpen)??!1),[u,h]=R(((i=t==null?void 0:t.audio)==null?void 0:i.defaultToggledOn)??!1),[p,g]=R(((o=t==null?void 0:t.voice)==null?void 0:o.defaultToggledOn)??!1),[b,v]=R(((r=t==null?void 0:t.notification)==null?void 0:r.defaultToggledOn)??!0),[w,_]=R(!1),[m,y]=R(!1),[x,P]=R(!1),[C,B]=R(!0),[D,E]=R(!1),[S,I]=R(!1),[O,M]=R(!1),[T,Q]=R(0),[z,V]=R(0),[j,$]=R(!1),[K,tt]=R(null),[F,J]=R(((s=window.visualViewport)==null?void 0:s.height)??window.innerHeight),[ot,Ht]=R(((a=window.visualViewport)==null?void 0:a.width)??window.innerWidth);return f(Qc.Provider,{value:{isBotTyping:c,setIsBotTyping:l,isChatWindowOpen:A,setIsChatWindowOpen:d,audioToggledOn:u,setAudioToggledOn:h,voiceToggledOn:p,setVoiceToggledOn:g,notificationsToggledOn:b,setNotificationsToggledOn:v,isLoadingChatHistory:w,setIsLoadingChatHistory:_,hasChatHistoryLoaded:m,setHasChatHistoryLoaded:y,isScrolling:x,setIsScrolling:P,textAreaDisabled:C,setTextAreaDisabled:B,textAreaSensitiveMode:D,setTextAreaSensitiveMode:E,hasInteractedPage:S,setHasInteractedPage:I,hasFlowStarted:O,setHasFlowStarted:M,unreadCount:T,setUnreadCount:Q,inputLength:z,setInputLength:V,blockAllowsAttachment:j,setBlockAllowsAttachment:$,timeoutId:K,setTimeoutId:tt,viewportHeight:F,setViewportHeight:J,viewportWidth:ot,setViewportWidth:Ht},children:e})},Of=()=>{var e,t,n;const{settings:i}=G(),{styles:o}=At(),{unreadCount:r,isScrolling:s,setIsScrolling:a}=Et(),{chatBodyRef:c}=St(),[l,A]=R(!1),d={color:(e=i.general)==null?void 0:e.primaryColor,borderColor:(t=i.general)==null?void 0:t.primaryColor,...o.chatMessagePromptHoveredStyle},u=(p,g,b,v)=>(p/=v/2)<1?b/2*p*p+g:-b/2*(--p*(p-2)-1)+g;return f("div",{className:"rcb-message-prompt-container "+(c.current&&((h=i.chatWindow)!=null&&h.showMessagePrompt)&&s&&r>0?"visible":"hidden"),children:f("div",{onMouseEnter:()=>{A(!0)},onMouseLeave:()=>{A(!1)},style:l?d:{...o.chatMessagePromptStyle},onMouseDown:p=>{p.preventDefault(),function(g){if(!c.current)return;const b=c.current.scrollTop,v=c.current.scrollHeight-c.current.clientHeight-b;let w=0;(function _(){if(!c.current)return;w+=20;const m=u(w,b,v,g);c.current.scrollTop=m,w<g?requestAnimationFrame(_):a(!1)})()}(600)},className:"rcb-message-prompt-text",children:(n=i.chatWindow)==null?void 0:n.messagePromptText})});var h},Lc="rcb-start-speak-audio",Rc="rcb-toggle-audio",Hc="rcb-toggle-notifications",Fc="rcb-toggle-voice",zc="rcb-toggle-chat-window",Nc="rcb-pre-inject-message",jc="rcb-post-inject-message",Uc="rcb-start-simulate-stream-message",Vc="rcb-stop-simulate-stream-message",Wc="rcb-start-stream-message",Yc="rcb-chunk-stream-message",Kc="rcb-stop-stream-message",Qf="rcb-remove-message",qc="rcb-load-chat-history",Xc="rcb-change-path",Or="rcb-show-toast",Gc="rcb-dismiss-toast",Jc="rcb-user-submit-text",Zc="rcb-user-upload-file",$c="rcb-text-area-change-value",tl="rcb-pre-load-chatbot",el="rcb-post-load-chatbot",Lf={[Lc]:!0,[Rc]:!0,[Fc]:!0,[Hc]:!0,[zc]:!0,[Nc]:!0,[jc]:!1,[tl]:!0,[el]:!1,[Uc]:!0,[Vc]:!1,[Wc]:!0,[Yc]:!0,[Kc]:!0,[qc]:!0,[Xc]:!0,[Or]:!0,[Gc]:!0,[Jc]:!0,[Zc]:!0,[$c]:!0},Wi=async(e,t,n)=>{const i=new CustomEvent(e,{detail:t,cancelable:Lf[e]});return i.data=n,i.promises=[],window.dispatchEvent(i),await Promise.all(i.promises),i},nl=le({paths:[],setPaths:()=>null}),Qr=()=>Zt(nl),Rf=({children:e})=>{const[t,n]=R([]);return f(nl.Provider,{value:{paths:t,setPaths:n},children:e})},Yi=()=>{const{settings:e}=G(),{paths:t,setPaths:n}=Qr(),{setIsBotTyping:i,setTextAreaDisabled:o,setTextAreaSensitiveMode:r,blockAllowsAttachment:s,setBlockAllowsAttachment:a}=Et(),{botIdRef:c}=St(),l=X(()=>t.length>0?t[t.length-1]:null,[t]),A=X(()=>t.length>1?t[t.length-2]:null,[t]),d=X(async h=>{var p,g;if((p=e.event)!=null&&p.rcbChangePath){const b=l(),v=A(),w={botId:c.current,currPath:b,prevPath:v};if(event=await Wi(Xc,w,{currPath:b,prevPath:v,nextPath:h}),event.defaultPrevented)return!1}return i(!0),(g=e.chatInput)!=null&&g.blockSpam&&o(!0),r(!1),n(b=>[...b,h]),!0},[t,n,e]),u=X(h=>{n(h)},[]);return{getCurrPath:l,getPrevPath:A,goToPath:d,blockAllowsAttachment:s,setBlockAllowsAttachment:a,paths:t,replacePaths:u}},fe=()=>{const{getCurrPath:e,getPrevPath:t,paths:n}=(()=>{const{getCurrPath:o,getPrevPath:r,goToPath:s,paths:a,replacePaths:c}=Yi();return{getCurrPath:o,getPrevPath:r,goToPath:s,paths:a,replacePaths:c}})(),{botIdRef:i}=St();return{callRcbEvent:X(async(o,r)=>{const s={botId:i.current,currPath:e(),prevPath:t()};return await Wi(o,s,r)},[n])}},Te=()=>{const{settings:e}=G(),{isChatWindowOpen:t,setIsChatWindowOpen:n,viewportHeight:i,setViewportHeight:o,viewportWidth:r,setViewportWidth:s,setUnreadCount:a}=Et(),{callRcbEvent:c}=fe(),[l,A]=R(0),d=X(async()=>{var h;(h=e.event)!=null&&h.rcbToggleChatWindow&&(await c(zc,{currState:t,newState:!t})).defaultPrevented||n(p=>(p||a(0),!p))},[t]),u=X(async h=>{t!==h&&await d()},[t]);return{isChatWindowOpen:t,setIsChatWindowOpen:n,toggleChatWindow:d,openChat:u,chatScrollHeight:l,setChatScrollHeight:A,viewportHeight:i,setViewportHeight:o,viewportWidth:r,setViewportWidth:s}},il=le({messages:[],setMessages:()=>null}),Lr=()=>Zt(il),Hf=({children:e})=>{const[t,n]=R([]);return f(il.Provider,{value:{messages:t,setMessages:n},children:e})},Ff=({message:e,isNewSender:t})=>{var n,i,o,r,s,a;const{settings:c}=G(),{styles:l}=At(),A=typeof e.content=="string",d=e.content,u=e.contentWrapper?f(e.contentWrapper,{children:d}):d,h={backgroundColor:(n=c.general)==null?void 0:n.primaryColor,color:"#fff",maxWidth:(i=c.userBubble)!=null&&i.showAvatar?"65%":"70%",...l.userBubbleStyle},p=(o=c.userBubble)!=null&&o.animate?"rcb-user-message-entry":"",g=((r=c.userBubble)==null?void 0:r.showAvatar)&&t,b="rcb-user-message"+(!t&&(s=c.userBubble)!=null&&s.showAvatar?" rcb-user-message-offset":"");return f("div",{className:"rcb-user-message-container",children:[A?f("div",{style:h,className:`${b} ${p}`,children:u}):f(N,{children:u}),g&&f("div",{style:{backgroundImage:`url("${(a=c.userBubble)==null?void 0:a.avatar}")`},className:"rcb-message-user-avatar"})]})},zf=({message:e,isNewSender:t})=>{var n,i,o,r,s,a;const{settings:c}=G(),{styles:l}=At(),A=typeof e.content=="string",d=e.content,u=e.contentWrapper?f(e.contentWrapper,{children:d}):d,h={backgroundColor:(n=c.general)==null?void 0:n.secondaryColor,color:"#fff",maxWidth:(i=c.botBubble)!=null&&i.showAvatar?"65%":"70%",...l.botBubbleStyle},p=(o=c.botBubble)!=null&&o.animate?"rcb-bot-message-entry":"",g=((r=c.botBubble)==null?void 0:r.showAvatar)&&t,b="rcb-bot-message"+(!t&&(s=c.botBubble)!=null&&s.showAvatar?" rcb-bot-message-offset":"");return f("div",{className:"rcb-bot-message-container",children:[g&&f("div",{style:{backgroundImage:`url("${(a=c.botBubble)==null?void 0:a.avatar}")`},className:"rcb-message-bot-avatar"}),A?f("div",{style:h,className:`${b} ${p}`,children:u}):f(N,{children:u})]})},Nf=()=>{var e,t,n;const{settings:i}=G(),{styles:o}=At(),r=(e=i.botBubble)!=null&&e.animate?"rcb-bot-message-entry":"";return f("div",{className:"rcb-bot-message-container",children:[((t=i.botBubble)==null?void 0:t.showAvatar)&&f("div",{style:{backgroundImage:`url("${(n=i.botBubble)==null?void 0:n.avatar}")`},className:"rcb-message-bot-avatar"}),f("div",{onMouseDown:s=>{s.preventDefault()},className:`rcb-bot-message ${r}`,children:f("div",{className:"rcb-typing-indicator",style:{...o==null?void 0:o.rcbTypingIndicatorContainerStyle},children:[f("span",{className:"rcb-dot",style:{...o==null?void 0:o.rcbTypingIndicatorDotStyle}}),f("span",{className:"rcb-dot",style:{...o==null?void 0:o.rcbTypingIndicatorDotStyle}}),f("span",{className:"rcb-dot",style:{...o==null?void 0:o.rcbTypingIndicatorDotStyle}})]})})]})},jf=({setChatScrollHeight:e})=>{var t,n,i;const{settings:o}=G(),{styles:r}=At(),{messages:s}=Lr(),{isChatWindowOpen:a}=Te(),{isBotTyping:c,isScrolling:l,setIsScrolling:A,setUnreadCount:d}=Et(),{chatBodyRef:u}=St(),h={...r==null?void 0:r.bodyStyle,scrollbarWidth:(t=o.chatWindow)!=null&&t.showScrollbar?"auto":"none"};return et(()=>{u.current&&(e(u.current.scrollHeight),l||(u.current.scrollTop=u.current.scrollHeight))},[(n=u.current)==null?void 0:n.scrollHeight]),f("div",{style:h,className:"rcb-chat-body-container",ref:u,onScroll:()=>{var p,g;if(!u.current)return;e(u.current.scrollHeight);const{scrollTop:b,clientHeight:v,scrollHeight:w}=u.current,_=b+v<w-(((p=o.chatWindow)==null?void 0:p.messagePromptOffset)??30);A(_),_||(b+v>=w-1&&(u.current.scrollTop=w-v-1),(a||(g=o.general)!=null&&g.embedded)&&d(0))},children:[s.map((p,g)=>{const b=(v=>v===0||s[v].sender!==s[v-1].sender)(g);return p.sender.toUpperCase()==="USER"?f(Ff,{message:p,isNewSender:b},g):p.sender.toUpperCase()==="BOT"?f(zf,{message:p,isNewSender:b},g):f("div",{children:p.content},g)}),c&&((i=o.chatWindow)==null?void 0:i.showTypingIndicator)&&f(Nf,{}),f(Of,{})]})},Uf=({checkboxes:e,checkedItems:t,path:n})=>{var i,o,r,s,a,c,l,A,d,u,h;const{settings:p}=G(),{styles:g}=At(),{paths:b}=Qr(),{handleSubmitText:v}=Dn(),[w,_]=R(new Set),[m,y]=R(!1),x={cursor:m?`url("${(i=p.general)==null?void 0:i.actionDisabledIcon}"), auto`:"pointer",color:(o=p.general)==null?void 0:o.primaryColor,borderColor:(r=p.general)==null?void 0:r.primaryColor,...g.botCheckboxRowStyle},P={cursor:m||w.size<e.min?`url("${(s=p.general)==null?void 0:s.actionDisabledIcon}"), auto`:"pointer",color:(a=p.general)==null?void 0:a.primaryColor,borderColor:(c=p.general)==null?void 0:c.primaryColor,...g.botCheckboxNextStyle},C={cursor:m?`url("${(l=p.general)==null?void 0:l.actionDisabledIcon}"), auto`:"pointer",color:"transparent",...g.botCheckMarkStyle},B={cursor:m?`url("${(A=p.general)==null?void 0:A.actionDisabledIcon}"), auto`:"pointer",color:"#fff",borderColor:(d=p.general)==null?void 0:d.primaryColor,backgroundColor:(u=p.general)==null?void 0:u.primaryColor,...g.botCheckMarkSelectedStyle};return et(()=>{b.length>0&&b[b.length-1]!==n&&y(!e.reusable)},[b]),f("div",{className:"rcb-checkbox-container "+((h=p.botBubble)!=null&&h.showAvatar?"rcb-checkbox-offset":""),children:[e.items.map(D=>f("div",{onMouseDown:E=>{E.preventDefault(),(S=>{m||_(I=>{const O=new Set(I);if(O.has(S))t.delete(S),O.delete(S);else{if(w.size==e.max)return I;t.add(S),O.add(S)}return O})})(D)},style:x,className:"rcb-checkbox-row-container",children:f("div",{className:"rcb-checkbox-row",children:[f("div",{style:w.has(D)?B:C,className:"rcb-checkbox-mark"}),f("div",{className:"rcb-checkbox-label",children:D})]})},D)),f("div",{style:P,className:"rcb-checkbox-next-button",onMouseDown:D=>{var E;if(D.preventDefault(),m||w.size<e.min)return;const S=Array.from(t).join(", ");let I;y(!e.reusable),I=e.sendOutput!=null?e.sendOutput:((E=p.chatInput)==null?void 0:E.sendCheckboxOutput)??!0,v(S,I)}})]})},Vf=async(e,t)=>{const n=e.checkboxes;if(!n)return;let i;if(typeof n=="function"?(i=n(t),i instanceof Promise&&(i=await i)):i=n,Array.isArray(i)&&(i={items:i}),!("items"in i)||i.items.length==0)return;i.min==null&&(i.min=1),i.max==null&&(i.max=i.items.length),i.min>i.max&&(i.min=i.max),i.reusable==null&&(i.reusable=!1);const o=new Set,r=t.currPath,s=f(Uf,{checkboxes:i,checkedItems:o,path:r});await t.injectMessage(s)},Wf=async(e,t)=>{const n=e.function;if(!n)return;const i=n(t);return i instanceof Promise?await i:i},Yf=async(e,t,n)=>{const i=e.message;if(!i)return;if(typeof i=="string")return void(i.trim()!==""&&(n?await t.simulateStreamMessage(i):await t.injectMessage(i)));let o=i(t);o instanceof Promise&&(o=await o),o&&o.trim()!==""&&(n?await t.simulateStreamMessage(o):await t.injectMessage(o))},Kf=({options:e,path:t})=>{var n,i,o,r,s,a;const{settings:c}=G(),{styles:l}=At(),{paths:A}=Qr(),{handleSubmitText:d}=Dn(),[u,h]=R([]),[p,g]=R(!1),b={cursor:p?`url("${(n=c.general)==null?void 0:n.actionDisabledIcon}"), auto`:"pointer",color:(i=c.general)==null?void 0:i.primaryColor,borderColor:(o=c.general)==null?void 0:o.primaryColor,backgroundColor:"#fff",...l.botOptionStyle},v={color:"#fff",borderColor:(r=c.general)==null?void 0:r.primaryColor,backgroundColor:(s=c.general)==null?void 0:s.primaryColor,...l.botOptionHoveredStyle};return et(()=>{A.length>0&&A[A.length-1]!==t&&g(!e.reusable)},[A]),f("div",{className:"rcb-options-container "+((a=c.botBubble)!=null&&a.showAvatar?"rcb-options-offset":""),children:e.items.map((w,_)=>{const m=u[_]&&!p;return f("div",{className:"rcb-options",style:m?v:b,onMouseEnter:()=>(y=>{h(x=>{const P=[...x];return P[y]=!0,P})})(_),onMouseLeave:()=>(y=>{h(x=>{const P=[...x];return P[y]=!1,P})})(_),onMouseDown:y=>{var x;if(y.preventDefault(),p)return;let P;g(!e.reusable),P=e.sendOutput!=null?e.sendOutput:((x=c.chatInput)==null?void 0:x.sendOptionOutput)??!0,d(w,P)},children:w},w)})})},qf=async(e,t)=>{const n=e.options;if(!n)return;let i;if(typeof n=="function"?(i=n(t),i instanceof Promise&&(i=await i)):i=n,Array.isArray(i)&&(i={items:i}),!("items"in i)||i.items.length==0)return;i.reusable==null&&(i.reusable=!1);const o=t.currPath,r=f(Kf,{options:i,path:o});await t.injectMessage(r)},Xf=async(e,t)=>{const n=e.component;if(n){if(typeof n=="function"){let i=n(t);return i instanceof Promise&&(i=await i),i?void await t.injectMessage(i):void 0}await t.injectMessage(n)}},Gf=async(e,t,n)=>{const i=t.currPath,o=e[i];if(!o)throw new Error("block is not valid.");const r=o.transition;let s;if(typeof r=="function"?(s=r(t),s instanceof Promise&&(s=await s)):s=r,typeof s=="number"&&(s={duration:s}),!s||s instanceof Promise||s.duration==null||typeof s.duration!="number")return;s.interruptable==null&&(s.interruptable=!1);const a=setTimeout(async()=>{await rl(e,t)},s.duration);s.interruptable&&n(a)},Jf=async(e,t,n)=>{const i=e.chatDisabled;if(i==null)return;let o;typeof i=="function"?(o=i(t),o instanceof Promise&&(o=await o)):o=i,n(o)},ol=async(e,t,n)=>{const i=e.isSensitive;if(!i)return void n(!1);let o;typeof i=="function"?(o=i(t),o instanceof Promise&&(o=await o)):o=i,n(o)},rl=async(e,t)=>{const n=e[t.currPath];if(!n)throw new Error("Block is not valid.");const i=Object.keys(n);for(const o of i)o==="function"&&await Wf(n,t);return!!i.includes("path")&&await(async(o,r)=>{const s=o.path;if(!s)return!1;if(typeof s=="string")return await r.goToPath(s),!0;let a=s(r);if(a instanceof Promise&&(a=await a),!a)return!1;const c=a;return await r.goToPath(c),!0})(n,t)},Zf=()=>{var e;const{settings:t}=G(),{styles:n}=At();return f("div",{className:"rcb-line-break-container",children:f("div",{style:{...n.chatHistoryLineBreakStyle},className:"rcb-line-break-text","data-testid":"chat-history-line-break-text",children:(e=t.chatHistory)==null?void 0:e.chatHistoryLineBreakText})})},$f=()=>{var e;const{settings:t}=G(),{styles:n}=At(),i={borderTop:`4px solid ${(e=t.general)==null?void 0:e.primaryColor}`,...n.loadingSpinnerStyle};return f("div",{className:"rcb-spinner-container",children:f("div",{style:i,className:"rcb-spinner"})})},Ki=()=>{try{if(typeof crypto<"u"&&typeof crypto.randomUUID=="function")return crypto.randomUUID();throw new Error("crypto.randomUUID not available")}catch(e){if(typeof crypto<"u"&&typeof crypto.getRandomValues=="function")return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const n=crypto.getRandomValues(new Uint8Array(1))[0]%16;return(t==="x"?n:3&n|8).toString(16)});throw console.error(e),new Error("crypto.getRandomValues is also not available")}},Ve=(e,t)=>({id:Ki(),content:e,sender:t,type:typeof e=="string"?"string":"object",timestamp:new Date().toUTCString(),tags:[]});let We,sl=!1,qi="rcb-history",Xi=30,al=!1,Gi=[];const Rr=async e=>{if(al||!We)return;const t=[],n=sl?Gi.length:0;for(let o=e.length-1;o>=n;o--){const r=e[o];if(r.sender.toUpperCase()==="SYSTEM"||(r.content!==""&&t.unshift(r),t.length===Xi))break}let i=t.map(np);if(i.length<Xi){const o=Xi-i.length;i=[...Gi.slice(-o),...i]}tp(i)},cl=()=>Gi,tp=e=>{We&&We.setItem(qi,JSON.stringify(e))},ep=e=>{var t,n,i,o,r;We=((n=(t=e.chatHistory)==null?void 0:t.storageType)==null?void 0:n.toUpperCase())==="SESSION_STORAGE"?sessionStorage:localStorage,qi=(i=e.chatHistory)==null?void 0:i.storageKey,Xi=(o=e.chatHistory)==null?void 0:o.maxEntries,al=(r=e.chatHistory)==null?void 0:r.disabled,Gi=(s=>{if(s!=null)try{return JSON.parse(s)}catch{return[]}return[]})(We.getItem(qi))},np=e=>Bn(e.content)?structuredClone({id:e.id,content:wf.renderToString(e.content),type:e.type,sender:e.sender.toUpperCase(),timestamp:e.timestamp,tags:e.tags}):e,ll=(e,t,n)=>{const i=new DOMParser().parseFromString(e,"text/html");return Array.from(i.body.childNodes).map((o,r)=>{var s;if(o.nodeType===Node.TEXT_NODE)return o.textContent;{const a=o.tagName.toLowerCase();let c=Array.from(o.attributes).reduce((l,A)=>{const d=A.name.toLowerCase();if(d==="style"){const u=A.value.split(";").filter(p=>p.trim()!==""),h={};u.forEach(p=>{const[g,b]=p.split(":").map(w=>w.trim()),v=g.replace(/-([a-z])/g,(w,_)=>_.toUpperCase());h[v]=b}),l[d]=h}else a!=="audio"&&a!=="video"||d!=="controls"||A.value!==""?l[d]=A.value:l[d]="true";return l},{});if(Object.prototype.hasOwnProperty.call(c,"class")){const l=o.classList;c.className=l.toString(),delete c.class,(s=t.botBubble)!=null&&s.showAvatar&&(c=ip(l,c)),c=op(l,c,t,n),c=rp(l,c,t,n),c=sp(l,c,t,n),c=ap(l,c,t,n)}if(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr"].includes(a))return Y(a,{key:r,...c});{const l=ll(o.innerHTML,t,n);return Y(a,{key:r,...c},...l)}}})},ip=(e,t)=>((e.contains("rcb-options-container")||e.contains("rcb-checkbox-container"))&&(t.className=`${e.toString()} rcb-options-offset`),t),op=(e,t,n,i)=>{var o,r,s,a,c;return e.contains("rcb-options")&&(t.style={...t.style,color:((o=i.botOptionStyle)==null?void 0:o.color)??((r=n.general)==null?void 0:r.primaryColor),borderColor:((s=i.botOptionStyle)==null?void 0:s.color)??((a=n.general)==null?void 0:a.primaryColor),cursor:`url("${(c=n.general)==null?void 0:c.actionDisabledIcon}"), auto`,...i.botOptionStyle}),t},rp=(e,t,n,i)=>{var o,r,s,a,c;return e.contains("rcb-checkbox-row-container")&&(t.style={...t.style,color:((o=i.botCheckboxRowStyle)==null?void 0:o.color)??((r=n.general)==null?void 0:r.primaryColor),borderColor:((s=i.botCheckboxRowStyle)==null?void 0:s.color)??((a=n.general)==null?void 0:a.primaryColor),cursor:`url("${(c=n.general)==null?void 0:c.actionDisabledIcon}"), auto`,...i.botCheckboxRowStyle}),t},sp=(e,t,n,i)=>{var o,r,s,a,c;return e.contains("rcb-checkbox-next-button")&&(t.style={...t.style,color:((o=i.botCheckboxNextStyle)==null?void 0:o.color)??((r=n.general)==null?void 0:r.primaryColor),borderColor:((s=i.botCheckboxNextStyle)==null?void 0:s.color)??((a=n.general)==null?void 0:a.primaryColor),cursor:`url("${(c=n.general)==null?void 0:c.actionDisabledIcon}"), auto`,...i.botCheckboxNextStyle}),t},ap=(e,t,n,i)=>{var o,r;return(e.contains("rcb-media-display-image-container")||e.contains("rcb-media-display-video-container"))&&(t.style={...t.style,backgroundColor:(o=n.general)==null?void 0:o.primaryColor,maxWidth:(r=n.userBubble)!=null&&r.showAvatar?"65%":"70%",...i.mediaDisplayContainerStyle}),t},Al=e=>{if(!e)return!1;const t=e.getBoundingClientRect(),n=window.innerHeight??document.documentElement.clientHeight,i=window.innerWidth??document.documentElement.clientWidth;return t.top>=0&&t.left>=0&&t.bottom<=n&&t.right<=i},Hr=()=>{const{settings:e}=G(),{notificationsToggledOn:t,setNotificationsToggledOn:n,hasInteractedPage:i,unreadCount:o,setUnreadCount:r}=Et(),{audioBufferRef:s,audioContextRef:a,gainNodeRef:c}=St(),{callRcbEvent:l}=fe(),A=X(async()=>{var h,p;const g=(h=e.notification)==null?void 0:h.sound;a.current=new AudioContext;const b=a.current.createGain();let v;if(b.gain.value=((p=e.notification)==null?void 0:p.volume)??.2,c.current=b,g!=null&&g.startsWith("data:audio")){const w=atob(g.split(",")[1]),_=new ArrayBuffer(w.length),m=new Uint8Array(_);for(let y=0;y<w.length;y++)m[y]=w.charCodeAt(y);v=_}else v=await(await fetch(g)).arrayBuffer();s.current=await a.current.decodeAudioData(v)},[e.notification]),d=X(()=>{var h;if((h=e.notification)!=null&&h.disabled||!t||!i||!a.current||!s.current)return;const p=a.current.createBufferSource();p.buffer=s.current,p.connect(c.current).connect(a.current.destination),p.start()},[e.notification,t,i,a,s,c]),u=X(async()=>{var h;(h=e.event)!=null&&h.rcbToggleNotifications&&(await l(Hc,{currState:t,newState:!t})).defaultPrevented||n(p=>!p)},[t]);return{unreadCount:o,setUnreadCount:r,notificationsToggledOn:t,toggleNotifications:u,playNotificationSound:d,setUpNotifications:A}},cp=(e,t)=>{var n,i,o,r;((s,a,c,l,A)=>{if(!window.SpeechSynthesisUtterance)return void console.info("Speech Synthesis API is not supported in this environment.");const d=new window.SpeechSynthesisUtterance;d.text=s,d.lang=a,d.rate=l,d.volume=A;let u=!1;for(const h of c)if(window.speechSynthesis.getVoices().find(p=>{if(p.name===h)return d.voice=p,window.speechSynthesis.speak(d),void(u=!0)}),u)break;u||window.speechSynthesis.speak(d)})(t,(n=e.audio)==null?void 0:n.language,(i=e.audio)==null?void 0:i.voiceNames,(o=e.audio)==null?void 0:o.rate,(r=e.audio)==null?void 0:r.volume)},dl=()=>{const{settings:e}=G(),{audioToggledOn:t,setAudioToggledOn:n}=Et(),{callRcbEvent:i}=fe(),o=X(async()=>{var s;(s=e.event)!=null&&s.rcbToggleAudio&&(await i(Rc,{currState:t,newState:!t})).defaultPrevented||n(a=>!a)},[t]),r=X(async s=>{var a,c;if((a=e.audio)!=null&&a.disabled||!t)return;let l=s;if((c=e.event)!=null&&c.rcbStartSpeakAudio){const A=await i(Lc,{textToRead:l});if(A.defaultPrevented)return;l=A.data.textToRead}cp(e,l)},[e,t]);return{audioToggledOn:t,speakAudio:r,toggleAudio:o}},Ji=()=>{var e,t,n,i;const{settings:o}=G(),{messages:r,setMessages:s}=Lr(),a=q(r);et(()=>{a.current=r},[r]);const{audioToggledOn:c,isChatWindowOpen:l,isScrolling:A,setIsBotTyping:d,setUnreadCount:u}=Et(),{streamMessageMap:h,chatBodyRef:p}=St(),{callRcbEvent:g}=fe(),{speakAudio:b}=dl(),{playNotificationSound:v}=Hr(),w=X(async(B,D="BOT",E=null)=>{var S,I,O,M,T;if(typeof B!="string")throw new Error("Content must be of type string to simulate stream.");D=D.toUpperCase();let Q=Ve(B,D);if((S=o.event)!=null&&S.rcbStartSimulateStreamMessage){const F=await g(Uc,{message:Q});if(F.defaultPrevented)return null;E=F.data.simulateStreamChunker?F.data.simulateStreamChunker:E,Q=F.data.message}d(!1);let z=30;z=(I=o.botBubble)!=null&&I.streamSpeed?(O=o.botBubble)==null?void 0:O.streamSpeed:(M=o.userBubble)==null?void 0:M.streamSpeed;const V={...Q,content:""};s(F=>{const J=[...F,V];return P(J),J});let j=Q.content;E&&(j=E(j));let $=0;const K=j.length,tt=new Promise(F=>{const J=setInterval(()=>{if($>=K)return clearInterval(J),void F();s(ot=>{const Ht=[...ot];for(let It=Ht.length-1;It>=0;It--)if(Ht[It].id===V.id){const ue=j[$];ue&&(V.content+=ue,Ht[It]=V),$++;break}return Ht})},z)});return u(F=>F+1),await tt,Rr(r),(T=o.event)!=null&&T.rcbStopSimulateStreamMessage&&(await g(Vc,{message:Q})).defaultPrevented,Q.id},[o,r,g]),_=X(async(B,D="BOT")=>{var E,S,I;D=D.toUpperCase();let O=Ve(B,D);if((E=o.event)!=null&&E.rcbPreInjectMessage){const M=await g(Nc,{message:O});if(M.defaultPrevented)return null;O=M.data.message}return O.sender.toUpperCase()==="BOT"&&(l||(S=o.general)!=null&&S.embedded)&&typeof O.content=="string"&&O.content.trim()!==""&&b(O.content),u(M=>M+1),(I=o.event)!=null&&I.rcbPostInjectMessage&&await g(jc,{message:O}),s(M=>{const T=[...M,O];return P(T),T}),O.id},[o,c,l,g]),m=X(async B=>{var D;const E=a.current.find(S=>S.id===B);return!E||(D=o.event)!=null&&D.rcbRemoveMessage&&(await g(Qf,{message:E})).defaultPrevented?null:(s(S=>{const I=S.filter(O=>O.id!==B);return P(I),I}),u(S=>Math.max(S-1,0)),B)},[g,(e=o.event)==null?void 0:e.rcbRemoveMessage]),y=X(async(B,D="BOT")=>{var E,S;if(D=D.toUpperCase(),!h.current.has(D)){const O=Ve(B,D);return(E=o.event)!=null&&E.rcbStartStreamMessage&&(await g(Wc,{message:O})).defaultPrevented?null:(d(!1),s(M=>{const T=[...M,O];return P(T),[...M,O]}),h.current.set(D,O.id),u(M=>M+1),O.id)}const I={...Ve(B,D),id:h.current.get(D)};return(S=o.event)!=null&&S.rcbChunkStreamMessage&&(await g(Yc,{message:I})).defaultPrevented?null:(s(O=>{const M=[...O];for(let T=M.length-1;T>=0;T--)if(M[T].id===I.id){M[T]=I;break}return P(M),M}),h.current.get(D)??null)},[g,(t=o.event)==null?void 0:t.rcbChunkStreamMessage,(n=o.event)==null?void 0:n.rcbStartStreamMessage,h]),x=X(async(B="BOT")=>{var D;if(B=B.toUpperCase(),!h.current.has(B))return!0;const E=h.current.get(B),S=a.current.find(I=>I.id===E);return((D=o.event)==null||!D.rcbStopStreamMessage||!(await g(Kc,{messageToEndStreamFor:S})).defaultPrevented)&&(h.current.delete(B),Rr(a.current),!0)},[g,(i=o.event)==null?void 0:i.rcbStopStreamMessage,h]),P=B=>{var D,E;Rr(B);let S=!0;(B.length===0||l&&!A)&&(S=!1),(D=o.general)!=null&&D.embedded&&Al(p.current)&&(S=!1);const I=B[B.length-1];(!I||I.sender.toUpperCase()==="USER")&&(S=!1),S&&v(),((E=o.chatWindow)!=null&&E.autoJumpToBottom||!A)&&setTimeout(()=>{p!=null&&p.current&&(p.current.scrollTop=p.current.scrollHeight)},1)},C=X(B=>{P(B),s(B)},[P]);return{endStreamMessage:x,injectMessage:_,removeMessage:m,simulateStreamMessage:w,streamMessage:y,messages:r,replaceMessages:C}};let Fr,pe,Zi,Ye=!1,ge=null;const zr=()=>{if(!Fr){const e=window.SpeechRecognition||window.webkitSpeechRecognition;Fr=e!=null?new e:null}return Fr},lp=(e,t,n,i,o,r)=>{var s,a,c;const l=zr();if(!l)return;if(!Ye)try{Ye=!0,l.lang=(s=e.voice)==null?void 0:s.language,l.start()}catch{}const A=(a=e.voice)==null?void 0:a.timeoutPeriod,d=(c=e.voice)==null?void 0:c.autoSendPeriod;l.onresult=u=>{var h,p;clearTimeout(pe),pe=null,clearTimeout(Zi);const g=u.results[u.results.length-1][0].transcript;if(r.current){const b=(h=e.chatInput)==null?void 0:h.characterLimit,v=r.current.value+g;b!=null&&b>=0&&v.length>b?i(v.slice(0,b)):i(v),o(r.current.value.length)}A&&(pe=setTimeout(async()=>await jr(t,r),A)),(p=e.voice)!=null&&p.autoSendDisabled||(Zi=setTimeout(n,d))},l.onend=()=>{Ye?(l.start(),!pe&&A&&(pe=setTimeout(async()=>await jr(t,r),A))):(clearTimeout(pe),pe=null,clearTimeout(Zi))},A&&(pe=setTimeout(async()=>await jr(t,r),A))},Ap=(e,t)=>{navigator.mediaDevices.getUserMedia({audio:!0}).then(n=>{if(ge=new MediaRecorder(n),!Ye)try{Ye=!0,ge.start()}catch{}ge.ondataavailable=i=>{t.current&&t.current.push(i.data)},ge.onstop=()=>{e(),n.getTracks().forEach(i=>i.stop())}}).catch(n=>{console.error("Unable to use microphone:",n)})},Nr=()=>{const e=zr();e&&(Ye=!1,e&&e.stop(),ge&&ge.state!=="inactive"&&(ge.stop(),ge=null),clearTimeout(pe),pe=null,clearTimeout(Zi))},jr=async(e,t)=>{var n;(n=t.current)!=null&&n.disabled||await e(),Nr()},Ur=()=>{const{settings:e}=G(),{voiceToggledOn:t,setVoiceToggledOn:n}=Et(),{callRcbEvent:i}=fe(),o=X(async()=>{var s;(s=e.event)!=null&&s.rcbToggleVoice&&(await i(Fc,{currState:t,newState:!t})).defaultPrevented||n(a=>!a)},[t]),r=X(s=>{((a,c)=>{var l,A,d;const u=zr();(l=c.voice)!=null&&l.disabled||(A=c.chatInput)==null||!A.blockSpam||!u||(a&&!Ye?(Ye=!0,(d=c.voice)!=null&&d.sendAsAudio?ge==null||ge.start():u.start()):a||Nr())})(s,e)},[e]);return{voiceToggledOn:t,toggleVoice:o,syncVoice:r}},kn=()=>{const{settings:e}=G(),{inputLength:t,setInputLength:n,textAreaDisabled:i,setTextAreaDisabled:o,textAreaSensitiveMode:r,setTextAreaSensitiveMode:s}=Et(),{inputRef:a,chatBodyRef:c,prevInputRef:l}=St(),{callRcbEvent:A}=fe(),d=X(async w=>{var _,m,y;if(i&&a.current)a.current.value="";else if(a.current&&l.current!==null){const x=(_=e.chatInput)==null?void 0:_.characterLimit,P=(m=e.chatInput)!=null&&m.allowNewline?w:w.replace(/\n/g," ");if(x!=null&&x>=0&&P.length>x?a.current.value=P.slice(0,x):a.current.value=P,(y=e.event)!=null&&y.rcbTextAreaChangeValue&&(await A($c,{currValue:a.current.value,prevValue:l.current})).defaultPrevented)return void(a.current.value=l.current);l.current=a.current.value}},[i,a,l,e,A]),u=X(w=>{var _;(_=a.current)!=null&&_.disabled||setTimeout(()=>{var m,y,x;(m=e.general)!=null&&m.embedded?Al(c==null?void 0:c.current)&&((y=a.current)==null||y.focus()):w!=="start"&&((x=a.current)==null||x.focus())},100)},[]),h=X(()=>{!i&&a.current&&a.current.focus()},[i]),p=X(()=>{a.current&&a.current.blur()},[]),g=X(()=>a&&a.current?a.current.value:"",[]),b=X(()=>{o(w=>!w)},[]),v=X(()=>{s(w=>!w)},[]);return{textAreaDisabled:i,setTextAreaDisabled:o,textAreaSensitiveMode:r,setTextAreaSensitiveMode:s,inputLength:t,setInputLength:n,getTextAreaValue:g,setTextAreaValue:d,updateTextAreaFocus:u,focusTextArea:h,blurTextArea:p,toggleTextAreaDisabled:b,toggleTextAreaSensitiveMode:v}},ul=le({toasts:[],setToasts:()=>null}),hl=()=>Zt(ul),dp=({children:e})=>{const[t,n]=R([]);return f(ul.Provider,{value:{toasts:t,setToasts:n},children:e})},$i=()=>{const{settings:e}=G(),{toasts:t,setToasts:n}=hl(),{callRcbEvent:i}=fe(),o=q(t);et(()=>{o.current=t},[t]);const r=X(async(c,l)=>{var A,d,u,h;let p=null;if(o.current.length>=(((A=e.toast)==null?void 0:A.maxCount)??3)){if((d=e.toast)!=null&&d.forbidOnMax)return null;p=Ki();let b={id:p,content:c,timeout:l};if((u=e.event)!=null&&u.rcbShowToast){const v=await i(Or,{toast:b});if(v.defaultPrevented)return null;b=v.data.toast}return n(v=>[...v.slice(1),b]),p}p=Ki();let g={id:p,content:c,timeout:l};if((h=e.event)!=null&&h.rcbShowToast){const b=await i(Or,{toast:g});if(b.defaultPrevented)return null;g=b.data.toast}return n(b=>[...b,g]),p},[e,i,n]),s=X(async c=>{var l;const A=t.find(d=>d.id===c);return!A||(l=e.event)!=null&&l.rcbDismissToast&&(await i(Gc,{toast:A})).defaultPrevented?null:(n(d=>d.filter(u=>u.id!==c)),c)},[i,n]),a=X(c=>{n(c)},[]);return{showToast:r,dismissToast:s,toasts:t,replaceToasts:a}},Dn=()=>{var e,t,n,i;const{settings:o}=G(),{endStreamMessage:r,injectMessage:s,removeMessage:a,simulateStreamMessage:c,streamMessage:l}=Ji(),{getCurrPath:A,getPrevPath:d,goToPath:u}=Yi(),{timeoutId:h,voiceToggledOn:p,setTextAreaSensitiveMode:g,textAreaSensitiveMode:b,setTextAreaDisabled:v,setIsBotTyping:w,setBlockAllowsAttachment:_,setInputLength:m}=Et(),{flowRef:y,chatBodyRef:x,inputRef:P,keepVoiceOnRef:C,paramsInputRef:B}=St(),{showToast:D,dismissToast:E}=$i(),{callRcbEvent:S}=fe(),{syncVoice:I}=Ur(),{setTextAreaValue:O}=kn(),{openChat:M}=Te(),T=X(async z=>{var V,j,$,K,tt,F;const J=A();if(J&&y.current[J]){if(b){if((V=o==null?void 0:o.sensitiveInput)!=null&&V.hideInUserBubble)return;if((j=o==null?void 0:o.sensitiveInput)!=null&&j.maskInUserBubble)return void(($=o.userBubble)!=null&&$.simulateStream?await c("*".repeat(((K=o.sensitiveInput)==null?void 0:K.asterisksCount)??10),"USER"):await s("*".repeat(((tt=o.sensitiveInput)==null?void 0:tt.asterisksCount)??10),"USER"))}(F=o.userBubble)!=null&&F.simulateStream?await c(z,"USER"):await s(z,"USER")}},[y,A,o,s,b]),Q=X(async(z,V,j=!0)=>{var $,K;(V=V.trim())!==""&&(j&&await T(V),h&&clearTimeout(h),B.current=V,x.current&&(x.current.scrollTop=x.current.scrollHeight),P.current&&(O(""),m(0)),($=o.chatInput)!=null&&$.blockSpam&&v(!0),C.current=p,I(!1),setTimeout(()=>{w(!0)},400),g(!1),setTimeout(async()=>{var tt;const F={prevPath:d(),currPath:A(),goToPath:u,setTextAreaValue:O,userInput:V,injectMessage:s,simulateStreamMessage:c,streamMessage:l,removeMessage:a,endStreamMessage:r,openChat:M,showToast:D,dismissToast:E};if(!await rl(y.current,F)){const J=A();if(!J)return;const ot=y.current[J];if(!ot)return;ot.chatDisabled||v((tt=o.chatInput)==null?void 0:tt.disabled),ol(ot,F,g),_(typeof ot.file=="function"),I(C.current),w(!1)}},(K=o.chatInput)==null?void 0:K.botDelay))},[h,(e=o.chatInput)==null?void 0:e.blockSpam,(t=o.chatInput)==null?void 0:t.botDelay,(n=o.chatInput)==null?void 0:n.disabled,C,p,I,T,d,A,u,s,l,a,r,M,D,E,y]);return{handleSubmitText:X(async(z,V=!0)=>{var j,$;if(z=z??((j=P.current)==null?void 0:j.value),($=o.event)!=null&&$.rcbUserSubmitText&&(await S(Jc,{inputText:z,sendInChat:V})).defaultPrevented)return;const K=A();K&&Q(K,z,V)},[S,A,Q,P,(i=o.event)==null?void 0:i.rcbUserSubmitText])}},to=()=>{var e;const{settings:t}=G();return kt(()=>{var n;if(typeof window>"u"||!window.navigator)return!1;if((n=t.device)==null||!n.applyMobileOptimizations)return!0;const i=navigator.userAgent,o=!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(i),r=window.innerWidth>=768;return o&&r},[(e=t.device)==null?void 0:e.applyMobileOptimizations])},up=({buttons:e})=>{var t,n,i,o,r,s,a,c,l,A,d;const u=to(),{settings:h}=G(),{styles:p}=At(),{textAreaDisabled:g,textAreaSensitiveMode:b,inputLength:v,hasFlowStarted:w,setHasFlowStarted:_,setInputLength:m}=Et(),{inputRef:y}=St(),[x,P]=R(!1),[C,B]=R(!1),{handleSubmitText:D}=Dn(),{setTextAreaValue:E}=kn(),S={boxSizing:u?"content-box":"border-box",...p.chatInputAreaStyle},I={outline:g?"":"none",boxShadow:g?"":`0 0 5px ${(t=h.general)==null?void 0:t.primaryColor}`,boxSizing:u?"content-box":"border-box",...p.chatInputAreaStyle,...p.chatInputAreaFocusedStyle},O={cursor:`url("${(n=h.general)==null?void 0:n.actionDisabledIcon}"), auto`,caretColor:"transparent",boxSizing:u?"content-box":"border-box",...p.chatInputAreaStyle,...p.chatInputAreaDisabledStyle},M={color:"#989898",...p.characterLimitStyle},T={color:"#ff0000",...p.characterLimitReachedStyle},Q=g?(i=h.chatInput)==null?void 0:i.disabledPlaceholderText:(o=h.chatInput)==null?void 0:o.enabledPlaceholderText,z=()=>{g||P(!0)},V=()=>{P(!1)},j=()=>{B(!0)},$=()=>{B(!1)},K=async F=>{var J;if(!C&&F.key==="Enter"){if(F.shiftKey)return void((J=h.chatInput)!=null&&J.allowNewline||F.preventDefault());F.preventDefault(),await D()}},tt=F=>{y.current&&(E(F.target.value),m(y.current.value.length))};return f("div",{"aria-label":((r=h.ariaLabel)==null?void 0:r.inputTextArea)??"input text area",role:"textbox",onMouseDown:F=>{var J;F.stopPropagation(),!w&&((J=h.general)==null?void 0:J.flowStartTrigger)==="ON_CHATBOT_INTERACT"&&_(!0)},style:{...p.chatInputContainerStyle},className:"rcb-chat-input",children:[b&&(s=h.sensitiveInput)!=null&&s.maskInTextArea?f("input",{ref:y,type:"password",className:"rcb-chat-input-textarea",style:g?O:x?I:S,placeholder:Q,onChange:tt,onKeyDown:K,onFocus:z,onBlur:V,onCompositionStart:j,onCompositionEnd:$}):f("textarea",{ref:y,style:g?O:x?I:S,rows:1,className:"rcb-chat-input-textarea",placeholder:Q,onChange:tt,onKeyDown:K,onFocus:z,onBlur:V,onCompositionStart:j,onCompositionEnd:$}),f(N,{children:[e==null?void 0:e.map((F,J)=>f(N,{children:F},J)),((a=h.chatInput)==null?void 0:a.showCharacterCount)&&((c=h.chatInput)==null?void 0:c.characterLimit)!=null&&((l=h.chatInput)==null?void 0:l.characterLimit)>0&&f("div",{className:"rcb-chat-input-char-counter",style:v>=((A=h.chatInput)==null?void 0:A.characterLimit)?T:M,children:[v,"/",(d=h.chatInput)==null?void 0:d.characterLimit]})]})]})},hp=({buttons:e})=>{var t;const{settings:n}=G(),{styles:i}=At();return f("div",{"data-testid":"chatbot-footer-container",style:{...i.footerStyle},className:"rcb-chat-footer-container",children:[f("div",{className:"rcb-chat-footer",children:e==null?void 0:e.map((o,r)=>f(N,{children:o},r))}),f("span",{children:(t=n.footer)==null?void 0:t.text})]})},fp=()=>{var e,t,n,i,o,r,s;const{settings:a}=G(),{styles:c}=At(),{unreadCount:l}=Et(),{isChatWindowOpen:A,toggleChatWindow:d}=Te(),u={backgroundImage:`linear-gradient(to right, ${(e=a.general)==null?void 0:e.secondaryColor},
|
|
3
|
-
${(t=a.general)==null?void 0:t.primaryColor})`,...c.chatButtonStyle},h={backgroundImage:`url(${(n=a.chatButton)==null?void 0:n.icon})`,fill:"#fff",width:75,height:75,...c.chatIconStyle};return f(N,{children:!((i=a.general)!=null&&i.embedded)&&f("div",{"aria-label":((o=a.ariaLabel)==null?void 0:o.chatButton)??"open chat",role:"button",style:u,className:"rcb-toggle-button "+(A?"rcb-button-hide":"rcb-button-show"),onClick:d,children:[(()=>{var p;const g=(p=a.chatButton)==null?void 0:p.icon;return g&&typeof g!="string"?g&&f("span",{className:"rcb-toggle-icon",children:f(g,{style:h})}):f("span",{className:"rcb-toggle-icon",style:h})})(),!((r=a.notification)!=null&&r.disabled)&&((s=a.notification)==null?void 0:s.showCount)&&f("span",{style:{...c.notificationBadgeStyle},className:"rcb-badge",children:l})]})})},pp=()=>{var e,t,n,i;const o=to(),{settings:r}=G(),{styles:s}=At(),{isChatWindowOpen:a,openChat:c}=Te(),[l,A]=R(!1),[d,u]=R(!1),[h,p]=R(0);et(()=>{var v,w,_;const m=(v=r.tooltip)==null?void 0:v.mode;if(m==="ALWAYS")if(o){let y;y=a?(((w=s.chatWindowStyle)==null?void 0:w.width)??375)-(((_=s.chatButtonStyle)==null?void 0:_.width)??75):0,p(y),A(!0)}else A(!a);else m==="NEVER"?A(!1):m==="START"?d?A(!1):(u(!0),A(!0)):m==="CLOSE"&&A(!a)},[a]);const g={transform:`translateX(-${h}px)`,right:(((e=s.chatButtonStyle)==null?void 0:e.width)??75)+40,bottom:30,backgroundColor:(t=r.general)==null?void 0:t.secondaryColor,color:"#fff",...s.tooltipStyle},b={borderColor:`transparent transparent transparent ${g.backgroundColor}`};return f(N,{children:!((n=r.general)!=null&&n.embedded)&&f("div",{"data-testid":"chat-tooltip",style:g,className:"rcb-chat-tooltip "+(l?"rcb-tooltip-show":"rcb-tooltip-hide"),onClick:()=>c(!0),children:[f("span",{children:(i=r.tooltip)==null?void 0:i.text}),f("span",{className:"rcb-chat-tooltip-tail",style:b})]})})},gp=({id:e,content:t,timeout:n})=>{var i,o;const{settings:r}=G(),{styles:s}=At(),[a]=R({toastPromptStyle:{...s.toastPromptStyle},toastPromptHoveredStyle:{...s.toastPromptHoveredStyle}}),{dismissToast:c}=$i(),[l,A]=R(!1),d={color:(i=r.general)==null?void 0:i.primaryColor,borderColor:(o=r.general)==null?void 0:o.primaryColor,...a.toastPromptHoveredStyle};return et(()=>{if(n){const u=setTimeout(()=>{c(e)},n);return()=>clearTimeout(u)}},[e,c,n]),typeof t=="string"?f("div",{onMouseEnter:()=>{A(!0)},onMouseLeave:()=>{A(!1)},style:l?d:a.toastPromptStyle,onMouseDown:async u=>{var h;(h=r.toast)!=null&&h.dismissOnClick&&(u.preventDefault(),await c(e))},className:"rcb-toast-prompt",children:t}):f(N,{children:t})},mp=()=>{var e,t,n,i;const{styles:o}=At(),{toasts:r}=hl(),s={bottom:(((e=o.footerStyle)==null?void 0:e.height)??50)+(((t=o.chatInputContainerStyle)==null?void 0:t.height)??70)+20,width:300,minWidth:(((n=o.chatWindowStyle)==null?void 0:n.width)??375)/2,maxWidth:(((i=o.chatWindowStyle)==null?void 0:i.width)??375)-50,...o.toastPromptContainerStyle};return f("div",{className:"rcb-toast-prompt-container",style:s,children:r.map(a=>f(gp,{id:a.id,content:a.content,timeout:a.timeout},a.id))})},fl=({file:e,fileType:t,fileUrl:n})=>{var i,o,r;const{settings:s}=G(),{styles:a}=At(),c={backgroundColor:(i=s.general)==null?void 0:i.primaryColor,maxWidth:(o=s.userBubble)!=null&&o.showAvatar?"65%":"70%",...a.mediaDisplayContainerStyle};return f(N,{children:n?f(N,{children:[t==="image"&&n&&f("div",{style:c,className:"rcb-media-display-image-container rcb-media-entry","data-testid":"media-display-image-container",children:f("img",{src:n,alt:"Image Display",className:"rcb-media-display-image"})}),t==="video"&&n&&f("div",{style:c,className:"rcb-media-display-video-container rcb-media-entry","data-testid":"media-display-video-container",children:f("video",{controls:!0,className:"rcb-media-display-video",children:[f("source",{src:n,type:e.type}),"Your browser does not support the video tag."]})}),t==="audio"&&n&&f("audio",{"data-testid":"media-display-audio-container",style:{maxWidth:(r=s.userBubble)!=null&&r.showAvatar?"65%":"70%"},controls:!0,className:"rcb-media-display-audio rcb-media-entry",children:[f("source",{src:n,type:e.type}),"Your browser does not support the audio tag."]})]}):f(N,{})})},pl=async e=>{if(!e)return{fileType:null,fileUrl:null};const t=e.type.split("/")[0];if(!["image","video","audio"].includes(t))return{fileType:null,fileUrl:null};try{return{fileType:t,fileUrl:await new Promise((n,i)=>{const o=new FileReader;o.onload=()=>n(o.result),o.onerror=()=>i(new Error("File reading failed")),o.readAsDataURL(e)})}}catch(n){return console.error(n),{fileType:null,fileUrl:null}}},bp=()=>{var e,t,n,i,o,r;const{settings:s}=G(),{styles:a}=At(),{injectMessage:c,simulateStreamMessage:l,streamMessage:A,removeMessage:d,endStreamMessage:u}=Ji(),{getCurrPath:h,getPrevPath:p,goToPath:g,blockAllowsAttachment:b}=Yi(),{flowRef:v,inputRef:w}=St(),_=v.current,{showToast:m,dismissToast:y}=$i(),{callRcbEvent:x}=fe(),{openChat:P}=Te(),{setTextAreaValue:C}=kn(),{handleSubmitText:B}=Dn(),D={cursor:`url("${(e=s.general)==null?void 0:e.actionDisabledIcon}"), auto`,...a.fileAttachmentButtonStyle,...a.fileAttachmentButtonDisabledStyle},E={backgroundImage:`url(${(t=s.fileAttachment)==null?void 0:t.icon})`,fill:"#a6a6a6",...a.fileAttachmentIconStyle},S={backgroundImage:`url(${(n=s.fileAttachment)==null?void 0:n.icon})`,fill:"#a6a6a6",...a.fileAttachmentIconStyle,...a.fileAttachmentIconDisabledStyle};return f("label",{"aria-label":((i=s.ariaLabel)==null?void 0:i.fileAttachmentButton)??"upload file",role:"button",className:b?"rcb-attach-button-enabled":"rcb-attach-button-disabled",style:b?{...a.fileAttachmentButtonStyle}:D,children:[f("input",{className:"rcb-attach-input",role:"file",type:"file",onChange:async I=>{var O,M,T,Q;const z=I.target.files;if(!z||(O=s.event)!=null&&O.rcbUserUploadFile&&(await x(Zc,{files:z})).defaultPrevented)return;const V=h();if(!V)return;const j=_[V];if(!j)return;const $=j.file;if($!=null){const K=[];for(let tt=0;tt<z.length;tt++){if(K.push(z[tt].name),(M=s.fileAttachment)==null||!M.showMediaDisplay)continue;const F=await pl(z[tt]);!F.fileType||!F.fileUrl||await c(f(fl,{file:z[tt],fileType:F.fileType,fileUrl:F.fileUrl}),"USER")}await B("📄 "+K.join(", "),(T=s.fileAttachment)==null?void 0:T.sendFileName),await $({userInput:(Q=w.current)==null?void 0:Q.value,prevPath:p(),currPath:h(),goToPath:g,setTextAreaValue:C,injectMessage:c,simulateStreamMessage:l,streamMessage:A,removeMessage:d,endStreamMessage:u,openChat:P,showToast:m,dismissToast:y,files:z})}},multiple:(o=s.fileAttachment)==null?void 0:o.multiple,accept:(r=s.fileAttachment)==null?void 0:r.accept,disabled:!b}),(()=>{var I,O;const M=b?(I=s.fileAttachment)==null?void 0:I.icon:(O=s.fileAttachment)==null?void 0:O.iconDisabled;return M&&typeof M!="string"?M&&f("span",{className:b?"rcb-attach-icon-enabled":"rcb-attach-icon-disabled",children:f(M,{style:b?E:S})}):f("span",{className:b?"rcb-attach-icon-enabled":"rcb-attach-icon-disabled",style:b?E:S})})()]})},vp=()=>{var e,t,n,i,o,r;const{settings:s}=G(),{styles:a}=At(),{inputRef:c}=St(),{textAreaDisabled:l,setTextAreaValue:A}=kn(),d=q(null),u=q(null),[h,p]=R(!1),g={cursor:`url("${(e=s.general)==null?void 0:e.actionDisabledIcon}"), auto`,...a.emojiButtonStyle,...a.emojiButtonDisabledStyle},b={backgroundImage:`url(${(t=s.emoji)==null?void 0:t.icon})`,fill:"#a6a6a6",...a.emojiIconStyle},v={backgroundImage:`url(${(n=s.emoji)==null?void 0:n.icon})`,fill:"#a6a6a6",...a.emojiIconStyle,...a.emojiIconDisabledStyle};return et(()=>{const w=m=>{const y=m.composedPath();d.current&&!y.includes(d.current)&&u.current&&!y.includes(u.current)&&p(!1)},_=()=>{(()=>{if(d.current&&u.current){const m=u.current.getBoundingClientRect(),y=d.current.offsetHeight,x=m.top-y-8;d.current.style.left=`${m.left}px`,d.current.style.top=`${x}px`}})()};return document.addEventListener("mousedown",w),window.addEventListener("resize",_),()=>{document.removeEventListener("mousedown",w),window.removeEventListener("resize",_)}},[]),f(N,{children:[f("div",{"aria-label":((i=s.ariaLabel)==null?void 0:i.emojiButton)??"emoji picker",role:"button",ref:u,className:l?"rcb-emoji-button-disabled":"rcb-emoji-button-enabled",style:l?g:{...a.emojiButtonStyle},onMouseDown:w=>{w.preventDefault(),p(!l&&!h)},children:(()=>{var w,_;const m=l?(w=s.emoji)==null?void 0:w.iconDisabled:(_=s.emoji)==null?void 0:_.icon;return m&&typeof m!="string"?m&&f("span",{className:l?"rcb-emoji-icon-disabled":"rcb-emoji-icon-enabled",children:f(m,{style:l?v:b})}):f("span",{className:l?"rcb-emoji-icon-disabled":"rcb-emoji-icon-enabled",style:l?v:b})})()}),h&&f("div",{className:"rcb-emoji-button-popup",ref:d,children:(r=(o=s.emoji)==null?void 0:o.list)==null?void 0:r.map((w,_)=>f("span",{className:"rcb-emoji",onMouseDown:m=>((y,x)=>{y.preventDefault(),c.current&&(A(c.current.value+x),setTimeout(()=>{const P=c.current;if(P){P.focus();const C=P.value.length;P.setSelectionRange(C,C)}},50)),p(!1)})(m,w),children:w},_))})]})},wp=()=>{var e,t,n;const{settings:i}=G(),{styles:o}=At(),{audioToggledOn:r,toggleAudio:s}=dl(),a={backgroundImage:`url(${(e=i.audio)==null?void 0:e.icon})`,fill:"#fcec3d",...o.audioIconStyle},c={backgroundImage:`url(${(t=i.audio)==null?void 0:t.iconDisabled})`,fill:"#e8eaed",...o.audioIconStyle,...o.audioIconDisabledStyle};return f("div",{"aria-label":((n=i.ariaLabel)==null?void 0:n.audioButton)??"toggle audio",role:"button",onMouseDown:async l=>{l.preventDefault(),await s()},style:r?{...o.audioButtonStyle}:{...o.audioButtonStyle,...o.audioButtonDisabledStyle},children:(()=>{var l,A;const d=r?(l=i.audio)==null?void 0:l.icon:(A=i.audio)==null?void 0:A.iconDisabled;return d&&typeof d!="string"?d&&f("span",{className:"rcb-audio-icon","data-testid":"rcb-audio-icon",children:f(d,{style:r?a:c,"data-testid":"rcb-audio-icon-svg"})}):f("span",{className:"rcb-audio-icon","data-testid":"rcb-audio-icon",style:r?a:c})})()})},yp=()=>{var e,t;const{settings:n}=G(),{styles:i}=At(),{openChat:o}=Te(),r={backgroundImage:`url(${(e=n.header)==null?void 0:e.closeChatIcon})`,fill:"#e8eaed",stroke:"#e8eaed",...i.closeChatIconStyle};return f("div",{"aria-label":((t=n.ariaLabel)==null?void 0:t.closeChatButton)??"close chat",role:"button",onMouseDown:s=>{s.stopPropagation(),o(!1)},style:{...i.closeChatButtonStyle},children:(()=>{var s;const a=(s=n.header)==null?void 0:s.closeChatIcon;return a&&typeof a!="string"?a&&f("span",{className:"rcb-close-chat-icon","data-testid":"rcb-close-chat-icon",children:f(a,{style:r})}):f("span",{className:"rcb-close-chat-icon","data-testid":"rcb-close-chat-icon",style:r})})()})},xp=()=>{var e,t,n;const{settings:i}=G(),{styles:o}=At(),{notificationsToggledOn:r,toggleNotifications:s}=(()=>{const{notificationsToggledOn:l,toggleNotifications:A,playNotificationSound:d}=Hr();return{notificationsToggledOn:l,toggleNotifications:A,playNotificationSound:d}})(),a={backgroundImage:`url(${(e=i.notification)==null?void 0:e.icon})`,fill:"#fcec3d",...o.notificationIconStyle},c={backgroundImage:`url(${(t=i.notification)==null?void 0:t.iconDisabled})`,fill:"#e8eaed",...o.notificationIconStyle,...o.notificationIconDisabledStyle};return f("div",{"aria-label":((n=i.ariaLabel)==null?void 0:n.notificationButton)??"toggle notifications",role:"button",onMouseDown:async l=>{l.preventDefault(),await s()},style:r?{...o.notificationButtonStyle}:{...o.notificationButtonStyle,...o.notificationButtonDisabledStyle},children:(()=>{var l,A;const d=r?(l=i.notification)==null?void 0:l.icon:(A=i.notification)==null?void 0:A.iconDisabled;return d&&typeof d!="string"?d&&f("span",{className:"rcb-notification-icon","data-testid":"rcb-notification-icon",children:f(d,{style:r?a:c,"data-testid":"rcb-notification-icon-svg"})}):f("span",{className:"rcb-notification-icon","data-testid":"rcb-notification-icon",style:r?a:c})})()})},_p=()=>{var e,t,n;const{settings:i}=G(),{styles:o}=At(),{injectMessage:r}=Ji(),{inputRef:s}=St(),{voiceToggledOn:a,toggleVoice:c}=Ur(),{setInputLength:l,setTextAreaValue:A,textAreaDisabled:d}=kn(),{handleSubmitText:u}=Dn(),h=q([]),[p,g]=R(!1);et(()=>{var m;(m=i.voice)!=null&&m.sendAsAudio?(_(),h.current=[]):u()},[p]),et(()=>{a?((m,y,x,P,C,B,D)=>{var E;(E=m.voice)!=null&&E.sendAsAudio?Ap(x,B):lp(m,y,x,P,C,D)})(i,c,w,A,l,h,s):Nr()},[a]);const b={backgroundImage:`url(${(e=i.voice)==null?void 0:e.icon})`,fill:"#9aa0a6",...o.voiceIconStyle},v={backgroundImage:`url(${(t=i.voice)==null?void 0:t.iconDisabled})`,fill:"#9aa0a6",...o.voiceIconStyle,...o.voiceIconDisabledStyle},w=()=>{g(m=>!m)},_=async()=>{const m=new Blob(h.current,{type:"audio/wav"}),y=new File([m],"voice-input.wav",{type:"audio/wav"}),x=await pl(y);!x.fileType||!x.fileUrl||await r(f(fl,{file:y,fileType:x.fileType,fileUrl:x.fileUrl}),"USER")};return f("div",{"aria-label":((n=i.ariaLabel)==null?void 0:n.voiceButton)??"toggle voice",role:"button",onMouseDown:async m=>{m.preventDefault(),!d&&await c()},style:a&&!d?{...o.voiceButtonStyle}:{...o.voiceButtonStyle,...o.voiceButtonDisabledStyle},className:a&&!d?"rcb-voice-button-enabled":"rcb-voice-button-disabled",children:(()=>{var m,y;const x=a?(m=i.voice)==null?void 0:m.icon:(y=i.voice)==null?void 0:y.iconDisabled;return x&&typeof x!="string"?x&&f("span",{className:"rcb-voice-icon "+(a&&!d?"on":""),children:f(x,{style:a&&!d?b:v})}):f("span",{className:"rcb-voice-icon"+(a&&!d?"-on":""),"data-testid":"rcb-voice-icon",style:a&&!d?b:v})})()})},Pp=()=>{var e,t,n,i,o,r,s,a;const{settings:c}=G(),{styles:l}=At(),{textAreaDisabled:A}=Et(),[d,u]=R(!1),{handleSubmitText:h}=Dn(),p={backgroundColor:(e=c.general)==null?void 0:e.primaryColor,...l.sendButtonStyle},g={cursor:`url("${(t=c.general)==null?void 0:t.actionDisabledIcon}"), auto`,backgroundColor:(n=c.general)==null?void 0:n.primaryColor,...l.sendButtonStyle,...l.sendButtonDisabledStyle},b={backgroundColor:(i=c.general)==null?void 0:i.secondaryColor,...l.sendButtonStyle,...l.sendButtonHoveredStyle},v={backgroundImage:`url(${(o=c.chatInput)==null?void 0:o.sendButtonIcon})`,fill:"#fff",...l.sendIconStyle},w={backgroundImage:`url(${(r=c.chatInput)==null?void 0:r.sendButtonIcon})`,fill:"#fff",...l.sendIconStyle,...l.sendIconDisabledStyle},_={backgroundImage:`url(${(s=c.chatInput)==null?void 0:s.sendButtonIcon})`,fill:"#fff",...l.sendIconStyle,...l.sendIconHoveredStyle};return f("div",{"aria-label":((a=c.ariaLabel)==null?void 0:a.sendButton)??"send message",role:"button",onMouseEnter:()=>{u(!0)},onMouseLeave:()=>{u(!1)},onMouseDown:async m=>{m==null||m.preventDefault(),!A&&await h()},style:A?g:d?b:p,className:"rcb-send-button",children:(()=>{var m;const y=(m=c.chatInput)==null?void 0:m.sendButtonIcon;return y&&typeof y!="string"?y&&f("span",{className:"rcb-send-icon","data-testid":"rcb-send-icon",children:f(y,{style:A?w:d?_:v})}):f("span",{className:"rcb-send-icon","data-testid":"rcb-send-icon",style:A?w:d?_:v})})()})},Bp=(e,t)=>{var n,i,o,r,s,a,c,l,A;const d={[wt.AUDIO_BUTTON]:(n=e.audio)==null?void 0:n.disabled,[wt.CLOSE_CHAT_BUTTON]:(i=e.general)==null?void 0:i.embedded,[wt.EMOJI_PICKER_BUTTON]:(o=e.emoji)==null?void 0:o.disabled,[wt.FILE_ATTACHMENT_BUTTON]:(r=e.fileAttachment)==null?void 0:r.disabled,[wt.NOTIFICATION_BUTTON]:(s=e.notification)==null?void 0:s.disabled,[wt.SEND_MESSAGE_BUTTON]:!1,[wt.VOICE_MESSAGE_BUTTON]:(a=e.voice)==null?void 0:a.disabled},u={},h=p=>p?p.map(g=>{if(typeof g=="string"){if((b=>Object.values(wt).includes(b))(g)&&!d[g]){if(u[g])return u[g];const b=t[g];if(typeof b=="function"){const v=b();return u[g]=v,v}return null}return null}return g}).filter(g=>g!==null):[];return{header:h((c=e.header)==null?void 0:c.buttons),chatInput:h((l=e.chatInput)==null?void 0:l.buttons),footer:h((A=e.footer)==null?void 0:A.buttons)}},kp=()=>{const{settings:e}=G(),t=kt(()=>({[wt.CLOSE_CHAT_BUTTON]:()=>f(yp,{}),[wt.AUDIO_BUTTON]:()=>f(wp,{}),[wt.NOTIFICATION_BUTTON]:()=>f(xp,{}),[wt.EMOJI_PICKER_BUTTON]:()=>f(vp,{}),[wt.FILE_ATTACHMENT_BUTTON]:()=>f(bp,{}),[wt.SEND_MESSAGE_BUTTON]:()=>f(Pp,{}),[wt.VOICE_MESSAGE_BUTTON]:()=>f(_p,{})}),[]),{header:n,chatInput:i,footer:o}=kt(()=>Bp(e,t),[e,t]);return{headerButtons:kt(()=>n,[n]),chatInputButtons:kt(()=>i,[i]),footerButtons:kt(()=>o,[o])}},gl=()=>{const{settings:e}=G(),{styles:t}=At(),{setMessages:n}=Lr(),{isLoadingChatHistory:i,setIsLoadingChatHistory:o,hasChatHistoryLoaded:r,setHasChatHistoryLoaded:s}=Et(),{chatBodyRef:a}=St(),{callRcbEvent:c}=fe(),{chatScrollHeight:l}=Te(),A=X(async()=>{var d;const u=cl();u&&((d=e.event)!=null&&d.rcbLoadChatHistory&&(await c(qc,{})).defaultPrevented||(o(!0),((h,p,g,b,v,w,_,m)=>{var y;if(sl=!0,g!=null)try{b(P=>{const C=Ve(f($f,{}),"SYSTEM");return P.shift(),[C,...P]});const x=g.map(P=>{if(P.type==="object"){const C=ll(P.content,h,p);return{...P,content:C}}return P});setTimeout(()=>{b(P=>{var C;let B;return P.shift(),B=(C=h.chatHistory)!=null&&C.autoLoad?Ve(f(N,{}),"SYSTEM"):Ve(f(Zf,{}),"SYSTEM"),[...x,B,...P]}),m(!0)},500),setTimeout(()=>{if(!v.current)return;const{scrollHeight:P}=v.current,C=P-w;v.current.scrollTop=v.current.scrollTop+C,_(!1)},510)}catch{We.removeItem((y=h.chatHistory)==null?void 0:y.storageKey)}})(e,t,u,n,a,l,o,s)))},[e,t,n]);return{isLoadingChatHistory:i,setIsLoadingChatHistory:o,hasChatHistoryLoaded:r,showChatHistory:A}},Dp=()=>{var e,t,n;const{settings:i}=G(),{styles:o}=At(),{showChatHistory:r}=gl(),[s,a]=R(!1),c={color:(e=i.general)==null?void 0:e.primaryColor,borderColor:(t=i.general)==null?void 0:t.primaryColor,...o.chatHistoryButtonStyle,...o.chatHistoryButtonHoveredStyle};return f("div",{className:"rcb-view-history-container",children:f("div",{onMouseEnter:()=>{a(!0)},onMouseLeave:()=>{a(!1)},style:s?c:{...o.chatHistoryButtonStyle},onMouseDown:l=>{l.preventDefault(),r()},className:"rcb-view-history-button",role:"button",tabIndex:0,children:f("p",{children:(n=i.chatHistory)==null?void 0:n.viewChatHistoryButtonText})})})},Cp=()=>{var e,t,n,i,o;const r=to(),{settings:s}=G(),{endStreamMessage:a,injectMessage:c,removeMessage:l,simulateStreamMessage:A,streamMessage:d,replaceMessages:u}=Ji(),{getCurrPath:h,getPrevPath:p,goToPath:g,paths:b}=Yi(),{showToast:v,dismissToast:w}=$i(),{isBotTyping:_,isChatWindowOpen:m,isScrolling:y,hasFlowStarted:x,setIsChatWindowOpen:P,setTextAreaDisabled:C,setAudioToggledOn:B,setVoiceToggledOn:D,setIsBotTyping:E,setTextAreaSensitiveMode:S,setBlockAllowsAttachment:I,setTimeoutId:O}=Et(),{chatBodyRef:M,flowRef:T,streamMessageMap:Q,paramsInputRef:z,keepVoiceOnRef:V}=St(),j=T.current,{viewportHeight:$,setViewportHeight:K,setViewportWidth:tt,openChat:F}=Te(),{setUpNotifications:J}=Hr(),{handleFirstInteraction:ot}=(()=>{var at;const{settings:bt}=G(),{hasInteractedPage:xt,setHasInteractedPage:Dt,hasFlowStarted:Ot,setHasFlowStarted:Qt}=Et(),ft=X(()=>{var vt;if(Dt(!0),!Ot&&((vt=bt.general)==null?void 0:vt.flowStartTrigger)==="ON_PAGE_INTERACT"&&Qt(!0),!window.SpeechSynthesisUtterance)return void console.info("Speech Synthesis API is not supported in this environment.");const _t=new window.SpeechSynthesisUtterance;_t.text="",_t.onend=()=>{window.removeEventListener("click",ft),window.removeEventListener("keydown",ft),window.removeEventListener("touchstart",ft)},window.speechSynthesis.speak(_t)},[Ot,(at=bt.general)==null?void 0:at.flowStartTrigger]);return{hasInteractedPage:xt,handleFirstInteraction:ft}})(),{showChatHistory:Ht}=gl(),{updateTextAreaFocus:It,setTextAreaValue:ue}=kn(),{syncVoice:De}=Ur(),ze=q(0);et(()=>(window.addEventListener("click",ot),window.addEventListener("keydown",ot),window.addEventListener("touchstart",ot),()=>{window.removeEventListener("click",ot),window.removeEventListener("keydown",ot),window.removeEventListener("touchstart",ot)}),[]),et(()=>{var at,bt,xt;C((at=s.chatInput)==null?void 0:at.disabled),P((bt=s.chatWindow)==null?void 0:bt.defaultOpen),B((xt=s.audio)==null?void 0:xt.defaultToggledOn),setTimeout(()=>{var Dt;D((Dt=s.voice)==null?void 0:Dt.defaultToggledOn)},1)},[]),et(()=>{var at;(at=s.notification)!=null&&at.disabled||J()},[(e=s.notification)==null?void 0:e.disabled]),et(()=>{!y&&M!=null&&M.current&&(M.current.scrollTop=M.current.scrollHeight)},[_]),et(()=>{var at,bt;if((at=s.chatHistory)!=null&&at.disabled)We&&We.removeItem(qi);else if(ep(s),cl().length>0){const xt=Ve(f(Dp,{}),"SYSTEM");u([xt]),(bt=s.chatHistory)!=null&&bt.autoLoad&&Ht()}},[(t=s.chatHistory)==null?void 0:t.storageKey,(n=s.chatHistory)==null?void 0:n.maxEntries,(i=s.chatHistory)==null?void 0:i.disabled]),et(()=>{var at;r||(at=s.general)!=null&&at.embedded||!navigator.virtualKeyboard||(navigator.virtualKeyboard.overlaysContent=!0,navigator.virtualKeyboard.addEventListener("geometrychange",bt=>{if(!bt.target)return;const{x:xt,y:Dt,width:Ot,height:Qt}=bt.target.boundingRect;xt==0&&Dt==0&&Ot==0&&Qt==0?(setTimeout(()=>{var ft;K((ft=window.visualViewport)==null?void 0:ft.height)},101),setTimeout(()=>{var ft,vt;$!=((ft=window.visualViewport)==null?void 0:ft.height)&&K((vt=window.visualViewport)==null?void 0:vt.height)},1001)):setTimeout(()=>{var ft;K(((ft=window.visualViewport)==null?void 0:ft.height)-Qt)},101)}))},[r]),et(()=>{var at,bt,xt,Dt;if(r)return;m&&(K((at=window.visualViewport)==null?void 0:at.height),tt((bt=window.visualViewport)==null?void 0:bt.width));const Ot=()=>window.scrollTo({top:0,left:0,behavior:"auto"}),Qt=()=>ze.current=window.scrollY,ft=()=>{var _t,Jt;K((_t=window.visualViewport)==null?void 0:_t.height),tt((Jt=window.visualViewport)==null?void 0:Jt.width)},vt=()=>{var _t;window.removeEventListener("scroll",Ot),window.removeEventListener("scroll",Qt),(_t=window.visualViewport)==null||_t.removeEventListener("resize",ft)};return m?(vt(),document.body.style.position="fixed",window.addEventListener("scroll",Ot),(xt=window.visualViewport)==null||xt.addEventListener("resize",ft)):(document.body.style.position="static",vt(),window.scrollTo({top:ze.current,left:0,behavior:"auto"}),window.addEventListener("scroll",Qt),(Dt=window.visualViewport)==null||Dt.removeEventListener("resize",ft)),vt},[m,r]),et(()=>{const at=h();if(!at)return;const bt=j[at];if(!bt)return void E(!1);(async(xt,Dt)=>{var Ot,Qt;await(async(ft,vt,_t,Jt,vn,Ne)=>{const Vt=ft[vt.currPath];if(!Vt)throw new Error("Block is not valid.");for(const Vn of Object.keys(Vt))switch(Vn){case"message":await Yf(Vt,vt,_t);break;case"options":await qf(Vt,vt);break;case"checkboxes":await Vf(Vt,vt);break;case"component":await Xf(Vt,vt);break;case"chatDisabled":await Jf(Vt,vt,Jt);break;case"isSensitive":await ol(Vt,vt,vn);break;case"transition":await Gf(ft,vt,Ne)}})(j,Dt,((Ot=s.botBubble)==null?void 0:Ot.simulateStream)??!1,C,S,O),E(!1),"chatDisabled"in xt||C((Qt=s.chatInput)==null?void 0:Qt.disabled),"isSensitive"in xt||S(!1),I(typeof xt.file=="function"),It(at),De(V.current&&!xt.chatDisabled),Dt.currPath!==Dt.prevPath&&Q.current.clear()})(bt,{prevPath:p(),currPath:at,goToPath:g,setTextAreaValue:ue,userInput:z.current,endStreamMessage:a,injectMessage:c,removeMessage:l,simulateStreamMessage:A,streamMessage:d,openChat:F,showToast:v,dismissToast:w})},[b]),et(()=>{var at;(x||((at=s.general)==null?void 0:at.flowStartTrigger)==="ON_LOAD")&&g("start")},[x,(o=s.general)==null?void 0:o.flowStartTrigger])},Ep="https://cdn.jsdelivr.net/gh/tjtanjin/react-chatbotify-themes/themes",Sp="2592000",ml="RCB_THEME_CACHE_DATA",bl=async(e,t)=>{const{id:n,version:i,baseUrl:o=Ep,cacheDuration:r=Sp}=t,s=i||await(async(v,w)=>{const _=`${w}/${v}/meta.json`;try{const m=await fetch(_);return m.ok?(await m.json()).version:(console.error(`Failed to fetch meta.json from ${_}`),null)}catch(m){return console.error(`Failed to fetch meta.json from ${_}`,m),null}})(n,o);if(!s)return console.error(`Unable to find version for theme: ${n}`),{settings:{},inlineStyles:{},cssStylesText:""};const a=((v,w,_)=>{const m=localStorage.getItem(`${ml}_${v}_${w}`);if(!m)return null;try{const y=JSON.parse(m),x=new Date().getTime(),P=Math.floor(x/1e3);return y.cacheDate+_>=P?y:null}catch(y){return console.error(`Unable to fetch cache for ${v}`,y),null}})(n,s,r);if(a){const v=vl(e,a.cssStylesText);return{settings:a.settings,inlineStyles:a.inlineStyles,cssStylesText:v}}const c=`${o}/${n}/${s}/styles.css`,l=`${o}/${n}/${s}/settings.json`,A=`${o}/${n}/${s}/styles.json`;let d="";const u=await fetch(c);u.ok?d=await u.text():console.info(`Could not fetch styles.css from ${c}`);const h=await fetch(l);let p={};h.ok?p=await h.json():console.info(`Could not fetch settings.json from ${l}`);const g=await fetch(A);let b={};return g.ok?b=await g.json():console.info(`Could not fetch styles.json from ${A}`),((v,w,_,m,y)=>{const x=new Date().getTime(),P={settings:_,inlineStyles:m,cssStylesText:y,cacheDate:Math.floor(x/1e3)};localStorage.setItem(`${ml}_${v}_${w}`,JSON.stringify(P))})(n,s,p,b,d),{settings:p,inlineStyles:b,cssStylesText:vl(e,d)}},vl=(e,t)=>t.split(new RegExp("(?<=})")).map(n=>{const i=n.trim();return i.startsWith("@import")||i.startsWith("@keyframes")||i.startsWith("@media")?i:i?`#${e} ${i}`:""}).join(`
|
|
4
|
-
`),
|
|
1
|
+
(function(Dt,Yt){typeof exports=="object"&&typeof module<"u"?Yt(exports):typeof define=="function"&&define.amd?define(["exports"],Yt):(Dt=typeof globalThis<"u"?globalThis:Dt||self,Yt(Dt.AccessCiUi={}))})(this,function(Dt){"use strict";var NS=Object.defineProperty;var zS=(Dt,Yt,Y)=>Yt in Dt?NS(Dt,Yt,{enumerable:!0,configurable:!0,writable:!0,value:Y}):Dt[Yt]=Y;var ut=(Dt,Yt,Y)=>zS(Dt,typeof Yt!="symbol"?Yt+"":Yt,Y);var is,Bn;var Yt,Y,Zl,Mn,$l,tc,as,ls,cs,us,ec,Rr={},nc=[],Up=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Ii=Array.isArray;function en(e,t){for(var n in t)e[n]=t[n];return e}function rc(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function at(e,t,n){var r,i,o,s={};for(o in t)o=="key"?r=t[o]:o=="ref"?i=t[o]:s[o]=t[o];if(arguments.length>2&&(s.children=arguments.length>3?Yt.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)s[o]===void 0&&(s[o]=e.defaultProps[o]);return Qr(e,s,r,i,null)}function Qr(e,t,n,r,i){var o={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:i??++Zl,__i:-1,__u:0};return i==null&&Y.vnode!=null&&Y.vnode(o),o}function jp(){return{current:null}}function tt(e){return e.children}function De(e,t){this.props=e,this.context=t}function nr(e,t){if(t==null)return e.__?nr(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?nr(e):null}function ic(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return ic(e)}}function ds(e){(!e.__d&&(e.__d=!0)&&Mn.push(e)&&!Ti.__r++||$l!==Y.debounceRendering)&&(($l=Y.debounceRendering)||tc)(Ti)}function Ti(){var e,t,n,r,i,o,s,a;for(Mn.sort(as);e=Mn.shift();)e.__d&&(t=Mn.length,r=void 0,o=(i=(n=e).__v).__e,s=[],a=[],n.__P&&((r=en({},i)).__v=i.__v+1,Y.vnode&&Y.vnode(r),As(n.__P,r,i,n.__n,n.__P.namespaceURI,32&i.__u?[o]:null,s,o??nr(i),!!(32&i.__u),a),r.__v=i.__v,r.__.__k[r.__i]=r,cc(s,r,a),r.__e!=o&&ic(r)),Mn.length>t&&Mn.sort(as));Ti.__r=0}function oc(e,t,n,r,i,o,s,a,l,c,u){var d,A,f,h,p,g=r&&r.__k||nc,b=t.length;for(n.__d=l,Vp(n,t,g),l=n.__d,d=0;d<b;d++)(f=n.__k[d])!=null&&(A=f.__i===-1?Rr:g[f.__i]||Rr,f.__i=d,As(e,f,A,i,o,s,a,l,c,u),h=f.__e,f.ref&&A.ref!=f.ref&&(A.ref&&fs(A.ref,null,f),u.push(f.ref,f.__c||h,f)),p==null&&h!=null&&(p=h),65536&f.__u||A.__k===f.__k?l=sc(f,l,e):typeof f.type=="function"&&f.__d!==void 0?l=f.__d:h&&(l=h.nextSibling),f.__d=void 0,f.__u&=-196609);n.__d=l,n.__e=p}function Vp(e,t,n){var r,i,o,s,a,l=t.length,c=n.length,u=c,d=0;for(e.__k=[],r=0;r<l;r++)(i=t[r])!=null&&typeof i!="boolean"&&typeof i!="function"?(s=r+d,(i=e.__k[r]=typeof i=="string"||typeof i=="number"||typeof i=="bigint"||i.constructor==String?Qr(null,i,null,null,null):Ii(i)?Qr(tt,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?Qr(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=e,i.__b=e.__b+1,o=null,(a=i.__i=Wp(i,n,s,u))!==-1&&(u--,(o=n[a])&&(o.__u|=131072)),o==null||o.__v===null?(a==-1&&d--,typeof i.type!="function"&&(i.__u|=65536)):a!==s&&(a==s-1?d--:a==s+1?d++:(a>s?d--:d++,i.__u|=65536))):i=e.__k[r]=null;if(u)for(r=0;r<c;r++)(o=n[r])!=null&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=nr(o)),uc(o,o))}function sc(e,t,n){var r,i;if(typeof e.type=="function"){for(r=e.__k,i=0;r&&i<r.length;i++)r[i]&&(r[i].__=e,t=sc(r[i],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=nr(e)),n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function Re(e,t){return t=t||[],e==null||typeof e=="boolean"||(Ii(e)?e.some(function(n){Re(n,t)}):t.push(e)),t}function Wp(e,t,n,r){var i=e.key,o=e.type,s=n-1,a=n+1,l=t[n];if(l===null||l&&i==l.key&&o===l.type&&!(131072&l.__u))return n;if(r>(l!=null&&!(131072&l.__u)?1:0))for(;s>=0||a<t.length;){if(s>=0){if((l=t[s])&&!(131072&l.__u)&&i==l.key&&o===l.type)return s;s--}if(a<t.length){if((l=t[a])&&!(131072&l.__u)&&i==l.key&&o===l.type)return a;a++}}return-1}function ac(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Up.test(t)?n:n+"px"}function Mi(e,t,n,r,i){var o;t:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||ac(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||ac(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")o=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r?n.u=r.u:(n.u=ls,e.addEventListener(t,o?us:cs,o)):e.removeEventListener(t,o?us:cs,o);else{if(i=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break t}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function lc(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=ls++;else if(t.t<n.u)return;return n(Y.event?Y.event(t):t)}}}function As(e,t,n,r,i,o,s,a,l,c){var u,d,A,f,h,p,g,b,w,y,v,_,k,P,D,C,E=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),o=[a=t.__e=n.__e]),(u=Y.__b)&&u(t);t:if(typeof E=="function")try{if(b=t.props,w="prototype"in E&&E.prototype.render,y=(u=E.contextType)&&r[u.__c],v=u?y?y.props.value:u.__:r,n.__c?g=(d=t.__c=n.__c).__=d.__E:(w?t.__c=d=new E(b,v):(t.__c=d=new De(b,v),d.constructor=E,d.render=qp),y&&y.sub(d),d.props=b,d.state||(d.state={}),d.context=v,d.__n=r,A=d.__d=!0,d.__h=[],d._sb=[]),w&&d.__s==null&&(d.__s=d.state),w&&E.getDerivedStateFromProps!=null&&(d.__s==d.state&&(d.__s=en({},d.__s)),en(d.__s,E.getDerivedStateFromProps(b,d.__s))),f=d.props,h=d.state,d.__v=t,A)w&&E.getDerivedStateFromProps==null&&d.componentWillMount!=null&&d.componentWillMount(),w&&d.componentDidMount!=null&&d.__h.push(d.componentDidMount);else{if(w&&E.getDerivedStateFromProps==null&&b!==f&&d.componentWillReceiveProps!=null&&d.componentWillReceiveProps(b,v),!d.__e&&(d.shouldComponentUpdate!=null&&d.shouldComponentUpdate(b,d.__s,v)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(d.props=b,d.state=d.__s,d.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(I){I&&(I.__=t)}),_=0;_<d._sb.length;_++)d.__h.push(d._sb[_]);d._sb=[],d.__h.length&&s.push(d);break t}d.componentWillUpdate!=null&&d.componentWillUpdate(b,d.__s,v),w&&d.componentDidUpdate!=null&&d.__h.push(function(){d.componentDidUpdate(f,h,p)})}if(d.context=v,d.props=b,d.__P=e,d.__e=!1,k=Y.__r,P=0,w){for(d.state=d.__s,d.__d=!1,k&&k(t),u=d.render(d.props,d.state,d.context),D=0;D<d._sb.length;D++)d.__h.push(d._sb[D]);d._sb=[]}else do d.__d=!1,k&&k(t),u=d.render(d.props,d.state,d.context),d.state=d.__s;while(d.__d&&++P<25);d.state=d.__s,d.getChildContext!=null&&(r=en(en({},r),d.getChildContext())),w&&!A&&d.getSnapshotBeforeUpdate!=null&&(p=d.getSnapshotBeforeUpdate(f,h)),oc(e,Ii(C=u!=null&&u.type===tt&&u.key==null?u.props.children:u)?C:[C],t,n,r,i,o,s,a,l,c),d.base=t.__e,t.__u&=-161,d.__h.length&&s.push(d),g&&(d.__E=d.__=null)}catch(I){if(t.__v=null,l||o!=null){for(t.__u|=l?160:128;a&&a.nodeType===8&&a.nextSibling;)a=a.nextSibling;o[o.indexOf(a)]=null,t.__e=a}else t.__e=n.__e,t.__k=n.__k;Y.__e(I,t,n)}else o==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Yp(n.__e,t,n,r,i,o,s,l,c);(u=Y.diffed)&&u(t)}function cc(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)fs(n[r],n[++r],n[++r]);Y.__c&&Y.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){Y.__e(o,i.__v)}})}function Yp(e,t,n,r,i,o,s,a,l){var c,u,d,A,f,h,p,g=n.props,b=t.props,w=t.type;if(w==="svg"?i="http://www.w3.org/2000/svg":w==="math"?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),o!=null){for(c=0;c<o.length;c++)if((f=o[c])&&"setAttribute"in f==!!w&&(w?f.localName===w:f.nodeType===3)){e=f,o[c]=null;break}}if(e==null){if(w===null)return document.createTextNode(b);e=document.createElementNS(i,w,b.is&&b),a&&(Y.__m&&Y.__m(t,o),a=!1),o=null}if(w===null)g===b||a&&e.data===b||(e.data=b);else{if(o=o&&Yt.call(e.childNodes),g=n.props||Rr,!a&&o!=null)for(g={},c=0;c<e.attributes.length;c++)g[(f=e.attributes[c]).name]=f.value;for(c in g)if(f=g[c],c!="children"){if(c=="dangerouslySetInnerHTML")d=f;else if(!(c in b)){if(c=="value"&&"defaultValue"in b||c=="checked"&&"defaultChecked"in b)continue;Mi(e,c,null,f,i)}}for(c in b)f=b[c],c=="children"?A=f:c=="dangerouslySetInnerHTML"?u=f:c=="value"?h=f:c=="checked"?p=f:a&&typeof f!="function"||g[c]===f||Mi(e,c,f,g[c],i);if(u)a||d&&(u.__html===d.__html||u.__html===e.innerHTML)||(e.innerHTML=u.__html),t.__k=[];else if(d&&(e.innerHTML=""),oc(e,Ii(A)?A:[A],t,n,r,w==="foreignObject"?"http://www.w3.org/1999/xhtml":i,o,s,o?o[0]:n.__k&&nr(n,0),a,l),o!=null)for(c=o.length;c--;)rc(o[c]);a||(c="value",w==="progress"&&h==null?e.removeAttribute("value"):h!==void 0&&(h!==e[c]||w==="progress"&&!h||w==="option"&&h!==g[c])&&Mi(e,c,h,g[c],i),c="checked",p!==void 0&&p!==e[c]&&Mi(e,c,p,g[c],i))}return e}function fs(e,t,n){try{if(typeof e=="function"){var r=typeof e.__u=="function";r&&e.__u(),r&&t==null||(e.__u=e(t))}else e.current=t}catch(i){Y.__e(i,n)}}function uc(e,t,n){var r,i;if(Y.unmount&&Y.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||fs(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(o){Y.__e(o,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&uc(r[i],t,n||typeof e.type!="function");n||rc(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function qp(e,t,n){return this.constructor(e,n)}function rr(e,t,n){var r,i,o,s;Y.__&&Y.__(e,t),i=(r=typeof n=="function")?null:n&&n.__k||t.__k,o=[],s=[],As(t,e=(!r&&n||t).__k=at(tt,null,[e]),i||Rr,Rr,t.namespaceURI,!r&&n?[n]:i?null:t.firstChild?Yt.call(t.childNodes):null,o,!r&&n?n:i?i.__e:t.firstChild,r,s),cc(o,e,s)}function dc(e,t){rr(e,t,dc)}function hs(e,t,n){var r,i,o,s,a=en({},e.props);for(o in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)o=="key"?r=t[o]:o=="ref"?i=t[o]:a[o]=t[o]===void 0&&s!==void 0?s[o]:t[o];return arguments.length>2&&(a.children=arguments.length>3?Yt.call(arguments,2):n),Qr(e.type,a,r||e.key,i||e.ref,null)}function pe(e,t){var n={__c:t="__cC"+ec++,__:e,Consumer:function(r,i){return r.children(i)},Provider:function(r){var i,o;return this.getChildContext||(i=new Set,(o={})[t]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){i=null},this.shouldComponentUpdate=function(s){this.props.value!==s.value&&i.forEach(function(a){a.__e=!0,ds(a)})},this.sub=function(s){i.add(s);var a=s.componentWillUnmount;s.componentWillUnmount=function(){i&&i.delete(s),a&&a.call(s)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}Yt=nc.slice,Y={__e:function(e,t,n,r){for(var i,o,s;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&o.getDerivedStateFromError!=null&&(i.setState(o.getDerivedStateFromError(e)),s=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,r||{}),s=i.__d),s)return i.__E=i}catch(a){e=a}throw e}},Zl=0,De.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=en({},this.state),typeof e=="function"&&(e=e(en({},n),this.props)),e&&en(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),ds(this))},De.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),ds(this))},De.prototype.render=tt,Mn=[],tc=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,as=function(e,t){return e.__v.__b-t.__v.__b},Ti.__r=0,ls=0,cs=lc(!1),us=lc(!0),ec=0;var Kp=0;function m(e,t,n,r,i,o){t||(t={});var s,a,l=t;"ref"in t&&(s=t.ref,delete t.ref);var c={type:e,props:l,key:n,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Kp,__i:-1,__u:0,__source:i,__self:o};if(typeof e=="function"&&(s=e.defaultProps))for(a in s)l[a]===void 0&&(l[a]=s[a]);return Y.vnode&&Y.vnode(c),c}const Gp="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='%231a5b6e'%20class='bi%20bi-house-door-fill'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M6.5%2014.5v-3.505c0-.245.25-.495.5-.495h2c.25%200%20.5.25.5.5v3.5a.5.5%200%200%200%20.5.5h4a.5.5%200%200%200%20.5-.5v-7a.5.5%200%200%200-.146-.354L13%205.793V2.5a.5.5%200%200%200-.5-.5h-1a.5.5%200%200%200-.5.5v1.293L8.354%201.146a.5.5%200%200%200-.708%200l-6%206A.5.5%200%200%200%201.5%207.5v7a.5.5%200%200%200%20.5.5h4a.5.5%200%200%200%20.5-.5'/%3e%3c/svg%3e";function ps({expandWidth:e=!1,homeTitle:t="ACCESS Home",homeUrl:n="https://access-ci.org/",items:r=[],topBorder:i=!1}){if(!(!r||!r.length))return m("ul",{class:`breadcrumbs ${e?"expand":""} ${i?"top-border":""}`,children:[m("li",{class:"home",children:m("a",{href:n,title:t,children:m("img",{src:Gp,alt:t,height:"14"})})}),r.map(o=>m("li",{class:o.classes||"",children:o.href?m("a",{href:o.href,children:o.name}):o.name}))]})}var hn,Et,gs,Ac,ir=0,fc=[],Bt=Y,hc=Bt.__b,pc=Bt.__r,gc=Bt.diffed,mc=Bt.__c,bc=Bt.unmount,vc=Bt.__;function or(e,t){Bt.__h&&Bt.__h(Et,e,ir||t),ir=0;var n=Et.__H||(Et.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function G(e){return ir=1,Fr(xc,e)}function Fr(e,t,n){var r=or(hn++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):xc(void 0,t),function(a){var l=r.__N?r.__N[0]:r.__[0],c=r.t(l,a);l!==c&&(r.__N=[c,r.__[1]],r.__c.setState({}))}],r.__c=Et,!Et.u)){var i=function(a,l,c){if(!r.__c.__H)return!0;var u=r.__c.__H.__.filter(function(A){return!!A.__c});if(u.every(function(A){return!A.__N}))return!o||o.call(this,a,l,c);var d=!1;return u.forEach(function(A){if(A.__N){var f=A.__[0];A.__=A.__N,A.__N=void 0,f!==A.__[0]&&(d=!0)}}),!(!d&&r.__c.props===a)&&(!o||o.call(this,a,l,c))};Et.u=!0;var o=Et.shouldComponentUpdate,s=Et.componentWillUpdate;Et.componentWillUpdate=function(a,l,c){if(this.__e){var u=o;o=void 0,i(a,l,c),o=u}s&&s.call(this,a,l,c)},Et.shouldComponentUpdate=i}return r.__N||r.__}function ot(e,t){var n=or(hn++,3);!Bt.__s&&ys(n.__H,t)&&(n.__=e,n.i=t,Et.__H.__h.push(n))}function se(e,t){var n=or(hn++,4);!Bt.__s&&ys(n.__H,t)&&(n.__=e,n.i=t,Et.__h.push(n))}function nt(e){return ir=5,Ot(function(){return{current:e}},[])}function ms(e,t,n){ir=6,se(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function Ot(e,t){var n=or(hn++,7);return ys(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function Z(e,t){return ir=8,Ot(function(){return e},t)}function ae(e){var t=Et.context[e.__c],n=or(hn++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(Et)),t.props.value):e.__}function yc(e,t){Bt.useDebugValue&&Bt.useDebugValue(t?t(e):e)}function bs(){var e=or(hn++,11);if(!e.__){for(var t=Et.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Xp(){for(var e;e=fc.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Oi),e.__H.__h.forEach(vs),e.__H.__h=[]}catch(t){e.__H.__h=[],Bt.__e(t,e.__v)}}Bt.__b=function(e){Et=null,hc&&hc(e)},Bt.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),vc&&vc(e,t)},Bt.__r=function(e){pc&&pc(e),hn=0;var t=(Et=e.__c).__H;t&&(gs===Et?(t.__h=[],Et.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(Oi),t.__h.forEach(vs),t.__h=[],hn=0)),gs=Et},Bt.diffed=function(e){gc&&gc(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(fc.push(t)!==1&&Ac===Bt.requestAnimationFrame||((Ac=Bt.requestAnimationFrame)||Jp)(Xp)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),gs=Et=null},Bt.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Oi),n.__h=n.__h.filter(function(r){return!r.__||vs(r)})}catch(r){t.some(function(i){i.__h&&(i.__h=[])}),t=[],Bt.__e(r,n.__v)}}),mc&&mc(e,t)},Bt.unmount=function(e){bc&&bc(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Oi(r)}catch(i){t=i}}),n.__H=void 0,t&&Bt.__e(t,n.__v))};var wc=typeof requestAnimationFrame=="function";function Jp(e){var t,n=function(){clearTimeout(r),wc&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);wc&&(t=requestAnimationFrame(n))}function Oi(e){var t=Et,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),Et=t}function vs(e){var t=Et;e.__c=e.__(),Et=t}function ys(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function xc(e,t){return typeof t=="function"?t(e):t}let On,Nr;const Zp=(e,t)=>{if(On=void 0,t&&t.type==="click"){if(t.ctrlKey||t.metaKey||t.altKey||t.shiftKey||t.button!==0)return e;const n=t.target.closest("a[href]"),r=n&&n.getAttribute("href");if(!n||n.origin!=location.origin||/^#/.test(r)||!/^(_?self)?$/i.test(n.target)||Nr&&(typeof Nr=="string"?!r.startsWith(Nr):!Nr.test(r)))return e;On=!0,t.preventDefault(),t=n.href.replace(location.origin,"")}else typeof t=="string"?On=!0:t&&t.url?(On=!t.replace,t=t.url):t=location.pathname+location.search;return On===!0?history.pushState(null,"",t):On===!1&&history.replaceState(null,"",t),t},$p=(e,t,n)=>{e=e.split("/").filter(Boolean),t=(t||"").split("/").filter(Boolean);for(let r=0,i,o;r<Math.max(e.length,t.length);r++){let[,s,a,l]=(t[r]||"").match(/^(:?)(.*?)([+*?]?)$/);if(i=e[r],!(!s&&a==i)){if(!s&&i&&l=="*"){n.rest="/"+e.slice(r).map(decodeURIComponent).join("/");break}if(!s||!i&&l!="?"&&l!="*")return;if(o=l=="+"||l=="*",o?i=e.slice(r).map(decodeURIComponent).join("/")||void 0:i&&(i=decodeURIComponent(i)),n.params[a]=i,a in n||(n[a]=i),o)break}}return n};function zr(e){const[t,n]=Fr(Zp,e.url||location.pathname+location.search);e.scope&&(Nr=e.scope);const r=On===!0,i=Ot(()=>{const o=new URL(t,location.origin),s=o.pathname.replace(/\/+$/g,"")||"/";return{url:t,path:s,query:Object.fromEntries(o.searchParams),route:(a,l)=>n({url:a,replace:l}),wasPush:r}},[t]);return se(()=>(addEventListener("click",n),addEventListener("popstate",n),()=>{removeEventListener("click",n),removeEventListener("popstate",n)}),[]),at(zr.ctx.Provider,{value:i},e.children)}const tg=Promise.resolve();function kc(e){const[t,n]=Fr(C=>C+1,0),{url:r,query:i,wasPush:o,path:s}=eg(),{rest:a=s,params:l={}}=ae(_c),c=nt(!1),u=nt(s),d=nt(0),A=nt(),f=nt(),h=nt(),p=nt(!1),g=nt();g.current=!1;const b=nt(!1);let w,y,v;Re(e.children).some(C=>{if($p(a,C.props.path,v={...C.props,path:a,query:i,params:l,rest:""}))return w=hs(C,v);C.props.default&&(y=hs(C,v))});let _=w||y;Ot(()=>{f.current=A.current;const C=f.current&&f.current.props.children;!C||!_||_.type!==C.type||_.props.component!==C.props.component?(this.__v&&this.__v.__k&&this.__v.__k.reverse(),d.current++,b.current=!0):b.current=!1},[r]);const k=A.current&&A.current.__u&Li&&A.current.__u&Ri,P=A.current&&A.current.__h;A.current=at(_c.Provider,{value:v},_),k?(A.current.__u|=Li,A.current.__u|=Ri):P&&(A.current.__h=!0);const D=f.current;return f.current=null,this.__c=(C,E)=>{g.current=!0,f.current=D,e.onLoadStart&&e.onLoadStart(r),c.current=!0;let I=d.current;C.then(()=>{I===d.current&&(f.current=null,A.current&&(E.__h&&(A.current.__h=E.__h),E.__u&Ri&&(A.current.__u|=Ri),E.__u&Li&&(A.current.__u|=Li)),tg.then(n))})},se(()=>{const C=this.__v&&this.__v.__e;if(g.current){!p.current&&!h.current&&(h.current=C);return}!p.current&&h.current&&(h.current!==C&&h.current.remove(),h.current=null),p.current=!0,u.current!==s&&(o&&scrollTo(0,0),e.onRouteChange&&e.onRouteChange(r),u.current=s),e.onLoadEnd&&c.current&&e.onLoadEnd(r),c.current=!1},[s,o,t]),b.current?[at(ws,{r:A}),at(ws,{r:f})]:at(ws,{r:A})}const Li=32,Ri=128,ws=({r:e})=>e.current;kc.Provider=zr,zr.ctx=pe({});const _c=pe({}),eg=()=>ae(zr.ctx);function xs(e){let t,n;const r=()=>e().then(o=>n=o&&o.default||o),i=o=>{const[,s]=G(0),a=nt(n);if(t||(t=r()),n!==void 0)return at(n,o);throw a.current||(a.current=t.then(()=>s(1))),t};return i.preload=()=>(t||(t=r()),t),i}const Sc=Y.__e;Y.__e=(e,t,n)=>{if(e&&e.then){let r=t;for(;r=r.__;)if(r.__c&&r.__c.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),t.__k||(t.__k=[]),r.__c.__c(e,t)}Sc&&Sc(e,t,n)};function Ec(e){return this.__c=ng,this.componentDidCatch=e.onError,e.children}function ng(e){e.then(()=>this.forceUpdate())}const rg=xs(()=>Promise.resolve().then(()=>vy).then(e=>({default:e.QABot})));class Cc extends De{render(){const{welcome:t,isLoggedIn:n,open:r,onOpenChange:i,apiKey:o,embedded:s,loginUrl:a}=this.props,l=o||void 0||null;if(!l)return console.error("QA Bot: No valid API key provided"),null;const c=n!==void 0?n:document.cookie.split("; ").includes("SESSaccesscisso=1");return m(Ec,{children:m(rg,{welcome:t||"Welcome to ACCESS Q&A Bot!",isLoggedIn:c,open:r,onOpenChange:i,embedded:s===!0,apiKey:l,loginUrl:a})})}}const Pc=[{name:"Researchers",href:"https://access-ci.org/get-started/for-researchers/"},{name:"Educators",href:"https://access-ci.org/get-started/for-educators/"},{name:"Graduate Students",href:"https://access-ci.org/get-started/for-graduate-students/"},{name:"Resource Providers",href:"https://access-ci.org/get-started/for-resource-providers/"},{name:"CI Community",href:"https://access-ci.org/get-started/for-programs-organizations/"}],Dc=[{name:"ACCESS Home",href:"https://access-ci.org/",classes:"icon icon-home"},{name:"Allocations",href:"https://allocations.access-ci.org/",classes:"track"},{name:"Resources",href:"https://allocations.access-ci.org/resources",classes:"track"},{name:"Events & Trainings",href:"https://support.access-ci.org/events",classes:"track"},{name:"Support",href:"https://support.access-ci.org/",classes:"track"},{name:"News",href:"https://access-ci.org/news/",classes:"track"},{name:"About",href:"https://access-ci.org/about/",classes:"track grow"},{name:"Find info for you",classes:"highlight",items:Pc},{name:"Search",href:"https://support.access-ci.org/find",classes:"icon icon-search"}],Bc={name:"My ACCESS",items:[{name:"Allocations",href:"https://allocations.access-ci.org/requests"},{name:"Community Persona",href:"https://support.access-ci.org/community-persona"},{name:"Edit Profile",href:"https://allocations.access-ci.org/profile"},{name:"Publications",href:"https://allocations.access-ci.org/publications"},{name:"Share with ORCID",href:"https://allocations.access-ci.org/orcid"},{name:"Log out",href:"https://cilogon.org/logout/?skin=access"}]},Ic={name:"Login",items:[{name:"Login",href:"https://cilogon.org/?skin=access"},{name:"Questions",href:"https://identity.access-ci.org/"},{name:"Register",href:"https://identity.access-ci.org/new-user"},{name:"Reset Password",href:"https://identity.access-ci.org/password-reset"}]},ig=[{className:"x",href:"https://twitter.com/ACCESSforCI",name:"X"},{className:"youtube",href:"https://www.youtube.com/c/ACCESSforCI",name:"YouTube"},{className:"facebook",href:"https://www.facebook.com/ACCESSforCI",name:"Facebook"},{className:"linkedin",href:"https://www.linkedin.com/company/accessforci/",name:"LinkedIn"}],og=[{href:"https://access-ci.org/acceptable-use/",name:"Acceptable Use"},{href:"https://access-ci.org/about/acknowledging-access/",name:"Acknowledging ACCESS"},{href:"https://access-ci.org/code-of-conduct/",name:"Code of Conduct"},{href:"https://access-ci.org/glossary/",name:"Glossary"},{href:"https://access-ci.org/privacy-policy",name:"Privacy Policy"},{href:"https://operations.access-ci.org/report-security-incident",name:"Report a Security Incident"},{href:"https://access-ci.org/site-map/",name:"Site Map"}],sg="https://www.nsf.gov/awardsearch/showAward",Hr=({number:e})=>m("a",{href:`${sg}?AWD_ID=${e}&HistoricalAwards=false`,children:["#",e]}),Qi=({className:e=null,items:t})=>m("ul",{class:e,children:t.map(({className:n,name:r,href:i})=>m("li",{children:m("a",{className:n,href:i,children:r})}))}),ag="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAABIAAAASABGyWs+AABv5klEQVR42u29d5gkVb0+/p5zKnTunp48m3NiWWDJCCJJAREJ14DoNV/1ioqo1wRmr2K46upVMcuiCCIIkgTJYdllE5tnw8xODj3TuSuec35/VOfpWYLu/r7cZ8/z1HZtd09VdZ23PuH9hAMcHUfH0XF0vFoGOXoLDj36t9zEmBo4G1J2mNmDSI08l0yn+v/xuvdssY7enemHcvQWHHo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dyYcCwuATwHA4jI/7NmyYSeJUPiqPjkOPktz4nqBLcTZkPQhBwLm1Gyd5XqyQ5KrH+HxrcNQ3TMpBIW8gVHC6EzBy9K0eB9U+P/qGB3NB44eDAaB4F0zWEkMbRu3IUWP/0GJ807x5JGE/nCg7gLdU5dvSuHB1Hx/8P4/8D9B8zcoSATacAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDgtMTdUMTY6MTI6MTUtMDQ6MDBuCuvkAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA4LTE3VDE2OjEyOjE1LTA0OjAwH1dTWAAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAASUVORK5CYII=",lg="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20id='Layer_1'%20viewBox='0%200%20269.14%2041.37'%3e%3cdefs%3e%3clinearGradient%20id='linear-gradient'%20x1='14.99'%20y1='25.59'%20x2='42.38'%20y2='-1.8'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23e47637'%3e%3c/stop%3e%3cstop%20offset='.88'%20stop-color='%23ffcc52'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-2'%20x1='87.72'%20y1='26.66'%20x2='112.87'%20y2='1.51'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23008597'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-3'%20x1='233.69'%20y1='10.21'%20x2='195.89'%20y2='32.03'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.2'%20stop-color='%23008597'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-4'%20x1='45.84'%20y1='29.07'%20x2='82.09'%20y2='29.07'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.18'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3cstop%20offset='.81'%20stop-color='%23008597'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-5'%20x1='43.22'%20y1='20.68'%20x2='68.03'%20y2='20.68'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.22'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23008597'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-6'%20x1='165.05'%20y1='35.98'%20x2='194.21'%20y2='35.98'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.03'%20stop-color='%23008597'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-7'%20x1='123.91'%20y1='11.68'%20x2='160.35'%20y2='11.68'%20xlink:href='%23linear-gradient-2'%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-8'%20x1='269.14'%20y1='20.69'%20x2='234.79'%20y2='20.69'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.03'%20stop-color='%23038596'%3e%3c/stop%3e%3cstop%20offset='.82'%20stop-color='%2366d6d6'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-9'%20x1='271.07'%20y1='10.21'%20x2='233.26'%20y2='32.03'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.2'%20stop-color='%23008597'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-10'%20y1='20.36'%20x2='191.15'%20y2='20.36'%20xlink:href='%23linear-gradient-6'%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-11'%20y1='5.3'%20y2='5.3'%20xlink:href='%23linear-gradient-6'%3e%3c/linearGradient%3e%3c/defs%3e%3cg%3e%3cpolygon%20points='44.62%20.43%202.5%207.94%2030.06%2040.66%2044.62%20.43'%20style='fill:url(%23linear-gradient);'%3e%3c/polygon%3e%3crect%20x='15.25'%20y='17.07'%20width='8.79'%20height='8.79'%20transform='translate(23.41%20-7.39)%20rotate(49.9)'%20style='fill:%23fff;'%3e%3c/rect%3e%3crect%20x='8.52'%20y='22.74'%20width='8.79'%20height='8.79'%20transform='translate(25.35%20-.23)%20rotate(49.9)'%20style='fill:%231a5b6e;'%3e%3c/rect%3e%3crect%20x='1.8'%20y='28.4'%20width='8.79'%20height='8.79'%20transform='translate(27.29%206.93)%20rotate(49.9)'%20style='fill:%23f07537;'%3e%3c/rect%3e%3crect%20x='2.86'%20y='16.01'%20width='8.79'%20height='8.79'%20transform='translate(18.19%201.71)%20rotate(49.9)'%20style='fill:%2348c0b9;'%3e%3c/rect%3e%3crect%20x='14.19'%20y='29.46'%20width='8.79'%20height='8.79'%20transform='translate(32.51%20-2.17)%20rotate(49.9)'%20style='fill:%23008597;'%3e%3c/rect%3e%3c/g%3e%3cg%3e%3cg%3e%3cpath%20d='M70.26,.67l14.44,40.03h-11.09l-2.57-7.25h-14.5l-2.51,7.25h-10.82L57.66,.67h12.6Zm-10.65,24.03h8.37l-4.18-11.93-4.18,11.93Z'%3e%3c/path%3e%3cpath%20d='M103.46,31.89c3.68,0,6.3-2.45,7.02-6.41l10.26,3.4c-2.45,7.53-8.25,12.49-17.23,12.49-11.26,0-19.24-8.64-19.24-20.69S92.25,0,103.52,0c8.98,0,14.77,4.96,17.23,12.49l-10.26,3.4c-.72-3.96-3.34-6.41-7.02-6.41-4.85,0-8.25,4.35-8.25,11.21s3.4,11.21,8.25,11.21Z'%20style='fill:%23008597;'%3e%3c/path%3e%3cpath%20d='M84.42,23.37c-1.27-14.31,7.83-23.37,19.09-23.37,8.98,0,14.77,4.96,17.23,12.49l-10.26,3.4c-.72-3.96-3.34-6.41-7.02-6.41-4.85,0-8.25,4.35-8.25,11.21l-10.79,2.68Z'%20style='fill:url(%23linear-gradient-2);'%3e%3c/path%3e%3cpath%20d='M143.01,31.89c3.68,0,6.3-2.45,7.02-6.41l10.26,3.4c-2.45,7.53-8.25,12.49-17.23,12.49-11.26,0-19.24-8.64-19.24-20.69S131.8,0,143.07,0c8.98,0,14.77,4.96,17.23,12.49l-10.26,3.4c-.72-3.96-3.34-6.41-7.02-6.41-4.85,0-8.25,4.35-8.25,11.21s3.4,11.21,8.25,11.21Z'%20style='fill:%23008597;'%3e%3c/path%3e%3cpath%20d='M203.38,26.76c3.4,3.85,7.92,5.63,11.99,5.63,3.35,0,5.58-1.23,5.58-3.51,0-2.57-2.84-2.9-8.98-4.13-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68,6.25,1.28,14.05,3.01,14.05,11.93s-7.58,13.61-16.83,13.61c-6.53,0-14.16-2.57-17.51-6.69l5.97-7.92Z'%20style='fill:url(%23linear-gradient-3);'%3e%3c/path%3e%3cpath%20d='M211.97,24.76c-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68l-5.74,8.92Z'%20style='fill:%23008597;'%3e%3c/path%3e%3cpath%20d='M70.26,.67l14.44,40.03h-11.09l-2.57-7.25L59.62,.67h10.65Zm-2.29,24.03'%20style='fill:%23008597;'%3e%3c/path%3e%3cpath%20d='M194.21,.67V9.92h-18.46v5.97h15.28v9.03h-15.28v6.52h18.46v9.26h-29.16V.67h29.16Z'%20style='fill:%23008597;'%3e%3c/path%3e%3c/g%3e%3cpolygon%20points='82.09%2033.45%2078.93%2024.7%2067.98%2024.7%2059.61%2024.7%2048.99%2024.7%2045.84%2033.45%2082.09%2033.45'%20style='fill:url(%23linear-gradient-4);'%3e%3c/polygon%3e%3cpath%20d='M68.03,.67l-13.99,40.03h-10.82L57.66,.67h10.37Zm-8.42,24.03l4.18-11.93-4.18,11.93Z'%20style='fill:url(%23linear-gradient-5);'%3e%3c/path%3e%3cpolygon%20points='165.05%2031.35%20165.05%2040.61%20175.76%2040.61%20176.66%2040.61%20194.21%2040.61%20194.21%2031.35%20165.05%2031.35'%20style='fill:url(%23linear-gradient-6);'%3e%3c/polygon%3e%3cpolygon%20points='175.75%2015.39%20165.05%2015.39%20165.05%20.74%20175.75%20.67%20175.75%2015.39'%20style='fill:%23008597;'%3e%3c/polygon%3e%3cpath%20d='M124.03,23.37c-1.27-14.31,7.83-23.37,19.09-23.37,8.98,0,14.77,4.96,17.23,12.49l-10.26,3.4c-.72-3.96-3.34-6.41-7.02-6.41-4.85,0-8.25,4.35-8.25,11.21l-10.79,2.68Z'%20style='fill:url(%23linear-gradient-7);'%3e%3c/path%3e%3cpath%20d='M240.76,26.76c3.4,3.85,7.92,5.63,11.99,5.63,3.35,0,5.58-1.23,5.58-3.51,0-2.57-2.84-2.9-8.98-4.13-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68,6.25,1.28,14.05,3.01,14.05,11.93s-7.58,13.61-16.83,13.61c-6.53,0-14.16-2.57-17.51-6.69l5.97-7.92Z'%20style='fill:url(%23linear-gradient-8);'%3e%3c/path%3e%3cpath%20d='M240.76,26.76c3.4,3.85,7.92,5.63,11.99,5.63,3.35,0,5.58-1.23,5.58-3.51,0-2.57-2.84-2.9-8.98-4.13-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68,6.25,1.28,14.05,3.01,14.05,11.93s-7.58,13.61-16.83,13.61c-6.53,0-14.16-2.57-17.51-6.69l5.97-7.92Z'%20style='fill:url(%23linear-gradient-9);'%3e%3c/path%3e%3cpolygon%20points='165.05%2015.73%20165.05%2024.99%20175.76%2024.99%20176.66%2024.99%20191.15%2024.99%20191.15%2015.73%20165.05%2015.73'%20style='fill:url(%23linear-gradient-10);'%3e%3c/polygon%3e%3cpath%20d='M249.34,24.76c-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68l-5.74,8.92Z'%20style='fill:%23008597;'%3e%3c/path%3e%3cpolygon%20points='165.05%20.67%20165.05%209.92%20175.76%209.92%20176.66%209.92%20194.21%209.92%20194.21%20.67%20165.05%20.67'%20style='fill:url(%23linear-gradient-11);'%3e%3c/polygon%3e%3c/g%3e%3c/svg%3e",Tc=({nsfUrl:e="https://www.nsf.gov",placement:t="header",siteName:n="",siteUrl:r="/"})=>m("div",{class:`logo logo-${t}`,children:[m("a",{class:"nsf",href:e,children:m("img",{class:"nsf-logo",src:ag,alt:"National Science Foundation"})}),m("div",{class:"divider"}),m("a",{class:"access",href:r,children:[m("img",{class:"access-logo",src:lg,alt:"ACCESS"}),n&&t=="header"?m("span",{class:`name name-${n.toLocaleLowerCase().replace(" ","-")}`,children:n}):null]})]}),ks=(e=900)=>document.body.clientWidth>=e?"desktop":"mobile",Mc=(e=900)=>{const[t,n]=G(ks(e));return ot(()=>{window.addEventListener("resize",()=>n(ks(e)))},[]),t},nn=(e,t,n=[])=>{const r=t.attachShadow({mode:"open"});rr(m(tt,{children:[e,n.map(i=>m("style",{children:i}))]}),r)},Oc=()=>window.pageYOffset!==void 0?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop,Lc={},Fi={},cg=(e,{cache:t=!0,corsProxy:n=!1}={cache:!0,corsProxy:!1})=>{if(t&&e in Lc)return Lc[e];if(e in Fi)return Fi[e];const r=fetch(n?`https://corsproxy.io/?${encodeURIComponent(e)}`:e).then(i=>{if(delete Fi[e],i.status<200||i.status>299)return{error:{status:i.status}};try{return i.json()}catch(o){return{error:{message:o}}}});return Fi[e]=r,r},Zt=(e,{cache:t=!0,corsProxy:n=!1,defaultValue:r=null}={cache:!0,corsProxy:!1,defaultValue:null})=>{const[i,o]=G(r);let s=!1;return Array.isArray(e)||(e=e?[e]:[],s=!0),ot(()=>{e.length&&(async()=>{const a=await Promise.all(e.map(c=>cg(c,{cache:t,corsProxy:n}))),l=s?a[0]:a;o(l)})()},[...e]),i},Rc=()=>{const e=Zt("https://operations-api.access-ci.org/wh2/cider/v1/access-active-groups/type/resource-catalog.access-ci.org/");return _s([e],({results:t})=>{const{active_groups:n,feature_categories:r,features:i,organizations:o,resources:s}=t,a=[{tagCategoryId:-1,name:"Resource Provider",tags:[]}],l=[-1];for(let h of r)[100,102,103].includes(h.feature_category_id)&&(a.push({tagCategoryId:h.feature_category_id,name:h.feature_category_name,tags:[]}),l.push(h.feature_category_id));a.sort((h,p)=>h.name.localeCompare(p.name));const c=i.filter(h=>l.includes(h.feature_category_id)).map(h=>({tagId:h.feature_id,name:h.feature_name,tagCategoryId:h.feature_category_id})),u={};for(let h of o)c.push({tagId:h.organization_id*-1,name:h.organization_name,tagCategoryId:-1,iconUri:h.organization_favicon_url||null}),u[h.organization_id]=h;c.sort((h,p)=>h.name.localeCompare(p.name));const d=c.map(h=>h.tagId),A=[{resourceCategoryId:1,name:"Compute & Storage Resources",resourceGroups:[],resourceGroupIds:[]},{resourceCategoryId:2,name:"Program & Other Resources",resourceGroups:[],resourceGroupIds:[]}],f=n.filter(h=>h.rollup_info_resourceids).map(h=>({infoGroupId:h.info_groupid,name:h.group_descriptive_name,description:h.group_description,infoResourceIds:h.rollup_info_resourceids,imageUri:h.group_logo_url?`https://cider.access-ci.org/public/groups/${h.group_logo_url.match(/[0-9]+/)[0]}/logo`:null,tagIds:[...h.rollup_organization_ids.map(p=>p*-1).filter(p=>d.includes(p)),...h.rollup_feature_ids.filter(p=>d.includes(p))],resourceCategoryId:h.rollup_feature_ids.includes(137)?2:1,accessAllocated:h.rollup_feature_ids.includes(139),organizations:h.rollup_organization_ids.map(p=>u[p]).filter(p=>p),resources:s.filter(p=>h.rollup_info_resourceids.includes(p.info_resourceid))})).sort((h,p)=>h.name.localeCompare(p.name));return dg({resourceCategories:A,resourceGroups:f,tags:c,tagCategories:a})})},Ur=(e,t=null)=>{const n=Rc();return n&&n.resourceGroups.find(r=>r.infoGroupId==e)||t},ug=(e,t=[])=>{const n=Zt(`https://operations-api.access-ci.org/wh2/cider/v1/access-active/info_groupid/${e}/?format=json`);return n&&!n.error?n.results:t},_s=(e,t,n=null)=>Ot(()=>{if(!e.length)return n;for(let r of e)if(!r||r.error)return n;return t.apply(null,e)},e),dg=({resourceCategories:e,resourceGroups:t,tags:n,tagCategories:r})=>{const i={};for(let a of r)a.tags=[],i[a.tagCategoryId]=a;const o={};for(let a of n)a.tagCategory=i[a.tagCategoryId],a.tagCategory.tags.push(a),a.resources=[],o[a.tagId]=a;const s={};for(let a of e)a.resourceGroups=[],s[a.resourceCategoryId]=a;for(let a of t)a.resourceCategory=s[a.resourceCategoryId],a.resourceCategory.resourceGroups.push(a),a.tags=a.tagIds.map(l=>o[l]);return{resourceCategories:e,resourceGroups:t,tags:n,tagCategories:r}},Ag=({resourceGroups:e,tags:t,tagCategories:n},r)=>{const i=new Set,o=new Set,s=new Set,a=new Set(r);for(let u of t)a.has(u.tagId)&&s.add(u.tagCategoryId);const l=n.filter(({tagCategoryId:u})=>s.has(u)),c=new Set(t.filter(u=>!s.has(u.tagCategoryId)).map(u=>u.tagId));for(let u of e){let d=!0;for(let A of l){let f=!1;for(let h of A.tags)if(a.has(h.tagId)&&u.tags.includes(h)){f=!0;break}if(!f){d=!1;break}}if(d){o.add(u.infoGroupId),i.add(u.resourceCategoryId);for(let A of u.tagIds)c.delete(A)}}return{disabledTagIds:c,resourceCategoryIds:i,infoGroupIds:o,tagCategoryIds:s,tagIds:a}},Qc=e=>{let t=e.match(/href="([^"]+)"/);return t?t[1]:null},Ss=e=>e.replace(/(<[^>]+>)/g,"").replace(/ /g," "),Es=e=>{const t=[];for(let n of e.split(/(\<\/p\>)|[\n\r]+/g)){if(!n)continue;const r=Array.from(n.matchAll(/<a([^>]+)>([^<]+)<\/a>/g)),i=n.split(/<a[^<]+<\/a>/g),o=[];for(;i.length>0;){o.push(Ss(i.shift()));let s=r.shift();if(s){let a=Qc(s[1]);a&&o.push(m("a",{href:a,children:s[2]}))}}t.push(m("p",{children:o}))}return t},fg=({showAfterScroll:e=300})=>{const[t,n]=G(!1);return ot(()=>{window.addEventListener("scroll",()=>n(Oc()>=e))},[]),m("button",{class:`scroll-to-top ${t?"visible":""}`,title:"Return to Top",onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),children:"Return to Top"})},hg=(e={})=>m(tt,{children:[m("div",{class:"container",children:[m("div",{class:"upper",children:[m("div",{class:"about",children:[m("p",{class:"awards",children:["ACCESS is an advanced computing and data resource program supported by the U.S. National Science Foundation (NSF) under the Office of Advanced Cyberinfrastructure awards"," ",m(Hr,{number:2138259}),", ",m(Hr,{number:2138286}),","," ",m(Hr,{number:2138307}),", ",m(Hr,{number:2137603})," and"," ",m(Hr,{number:2138296}),"."]}),m("p",{class:"disclaimer",children:"Any opinions, findings, conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of NSF."}),m("a",{class:"contact",href:"https://access-ci.org/contact/",children:"Contact ACCESS"}),m(Qi,{className:"social",items:ig})]}),m("div",{class:"personas",children:[m("p",{children:"For:"}),m(Qi,{items:Pc})]})]}),m("div",{class:"lower",children:[m(Tc,{siteName:"ACCESS",siteUrl:"https://access-ci.org",placement:"footer"}),m(Qi,{className:"links",items:og})]})]}),m(fg,{...e})]}),pg=(e={})=>m("div",{class:"container",children:m(Tc,{...e})}),Fc=({autoOpenMode:e,classes:t="",href:n="",html:r="",items:i,mode:o,name:s,open:a,parentId:l="root",setOpen:c})=>{const u=bs(),d=a[l]==u,A=d||e==o,f=()=>c({...a,[l]:d?null:u});if(r)return m("div",{dangerouslySetInnerHTML:{__html:r}});if(n)return m("a",{href:n,class:`item ${t||""}`,children:s});if(i)return m(tt,{children:[s&&m("button",{"aria-expanded":A,"aria-controls":u,class:`item ${A?"expanded":"collapsed"}`,onClick:f,children:s}),m("ul",{class:t,id:u,hidden:!A,"aria-hidden":!A,children:i.map(({autoOpenMode:h,classes:p,href:g,html:b,items:w,name:y})=>m("li",{class:p||"",children:m(Fc,{autoOpenMode:h,href:g,html:b,items:w,mode:o,name:y,open:a,parentId:u,setOpen:c})}))})]})},Nc=({classes:e,items:t,name:n,target:r})=>{const i=Mc(1280),[o,s]=G({});return ot(()=>{document.body.addEventListener("click",a=>{a.target!=r&&ks()=="desktop"&&s({})}),r.addEventListener("keydown",({key:a})=>{a=="Escape"&&s({})})},[]),m("nav",{class:`menu ${e||""}`,children:m(Fc,{autoOpenMode:"desktop",items:t,mode:i,name:n,open:o,setOpen:s})})},gg=({items:e,siteName:t=""})=>{const n=Mc(768),r=e.map(({name:i,href:o,items:s})=>{if(n=="mobile")for(;!o;)o=s[0].href,s=s[0];return o?m("div",{class:"column",children:m("h3",{children:m("a",{href:o,children:i})})}):m("div",{class:"column",children:[m("h3",{children:i}),m(Qi,{items:s})]})});return m("nav",{class:"footer",children:[m("h2",{children:["ACCESS ",t]}),m("div",{class:"columns",children:r})]})},mg=xs(()=>Promise.resolve().then(()=>BS)),bg=xs(()=>Promise.resolve().then(()=>QS));function vg({title:e="Resources",showTitle:t=!0,baseUri:n="/resources"}){return m(zr,{children:m(Ec,{children:m(kc,{children:[m(bg,{path:n,baseUri:n,title:e,showTitle:t}),m(mg,{path:`${n}/:infoGroupId`,baseUri:n})]})})})}const yg=({headings:e=[],idPrefix:t="",smoothScroll:n=!0})=>{const[r,i]=G(-1);let o;const s=[];if(e.forEach(a=>{a.tagName=="H1"?o=a:a.tagName=="H2"&&(s.push(a),a.id||(a.id=t+a.textContent.replace(/[^A-Za-z0-9]+/g,"-").toLowerCase()))}),ot(()=>{s.length&&window.addEventListener("scroll",function(){const a=Oc()+window.innerHeight*.1;let l=-1;s.forEach((c,u)=>{if(c.offsetTop<a)return l=u,!1}),i(l)})},[]),!!s.length)return m("div",{class:"toc",children:[o&&m("h2",{children:o.textContent}),s.length>0&&m("ul",{children:s.map((a,l)=>m("li",{children:m("a",{href:`#${a.id}`,class:l==r?"active":"",onClick:c=>{n&&(c.preventDefault(),window.scrollTo({top:a.offsetTop,behavior:"smooth"}),history.pushState(null,null,`#${a.id}`))},children:a.textContent})}))})]})},rn=":host,:root{--contrast: #232323;--contrast-2: #3f3f3f;--contrast-3: #707070;--contrast-6: #999999;--contrast-7: #d9d9d9;--contrast-8: #dfdfdf;--contrast-9: #e5e5e5;--green-400: #288654;--red-400: #a70000;--orange-200: #f6d8ca;--orange-400: #f07537;--teal-050: #ecf9f8;--teal-100: #cee8e9;--teal-200: #b0dadb;--teal-400: #48c0b9;--teal-600: #107180;--teal-700: #1a5b6e;--yellow-200: #fce5ab;--yellow-400: #ffc42d;--color: white;--padding: 30px;--offset: 0px;--outline: white;color:var(--contrast)}:host,:host button,:root,:root button{font-family:Archivo,sans-serif}.container{margin:0 auto;padding:0 var(--padding);width:var(--width)}.visually-hidden{border:0!important;clip:rect(0,0,0,0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}@media (min-width: 600px){:host,:root{--padding: calc((100% - var(--width)) / 2);--offset: 7px;--width: 540px}}@media (min-width: 768px){:host,:root{--width: 712px}}@media (min-width: 900px){:host,:root{--width: 840px}}@media (min-width: 1024px){:host,:root{--width: 940px}}@media (min-width: 1280px){:host,:root{--padding: 10px;--offset: 0px;--width: 1180px}}",wg='ul.breadcrumbs{--offset: calc((100vw - var(--width)) / 2);border-bottom:1px solid var(--contrast-7);box-sizing:border-box;font-size:14px;font-stretch:70%;font-weight:600;line-height:20px;list-style-type:none;margin:0;padding:0 30px;width:100vw}ul.breadcrumbs.top-border{border-top:1px solid var(--contrast-7)}ul.breadcrumbs.expand{margin-left:-30px;margin-right:-30px}ul.breadcrumbs li{display:inline-block;margin:0;padding:11px 0 6px;text-transform:uppercase;vertical-align:middle}ul.breadcrumbs li:not(.home):before{content:"/";margin:0 12px}ul.breadcrumbs li a{color:var(--teal-700);text-decoration:none}ul.breadcrumbs li:not(.home) a:active,ul.breadcrumbs li:not(.home) a:focus,ul.breadcrumbs li:not(.home) a:hover{text-decoration:underline}@media (min-width: 600px){ul.breadcrumbs{padding-left:var(--offset);padding-right:var(--offset)}ul.breadcrumbs.expand{margin-left:calc(var(--offset) * -1);margin-right:calc(var(--offset) * -1)}}',xg=`:root{color:#232323;font-family:Archivo,sans-serif;font-size:16px}h1{font-size:36px;font-stretch:70%;font-weight:500;margin-top:60px}h2{font-size:22px;font-weight:800;margin-top:36px}h3{color:var(--teal-700);font-size:18px;font-weight:800}a{color:var(--contrast);font-weight:800;text-decoration:underline}a:active,a:focus,a:hover{color:var(--teal-600);text-decoration:none}ol,p,ul{font-size:1.125rem;line-height:1.875rem;margin:0 0 1.25rem}li{margin-bottom:.5rem}.btn{background-color:var(--teal-700);border:4px solid var(--teal-700);color:#fff;display:inline-block;font-family:Archivo,sans-serif;font-size:16px;font-weight:600;line-height:24px;padding:6px 12px;text-decoration:none;text-transform:uppercase}.secondary{background-color:var(--yellow-400);border-color:var(--yellow-400);color:var(--contrast)}.danger{background-color:var(--red-400);border-color:var(--red-400)}.lg{font-size:20px;line-height:30px;padding:8px 16px}.btn.active,.btn:active,.btn:focus,.btn:hover{background-color:#fff;border-color:var(--contrast);color:var(--contrast);cursor:pointer}.btn-clear,.btn-clear.active,.btn-clear:active,.btn-clear:focus,.btn-clear:hover{background-color:transparent;border-color:transparent;color:var(--contrast)}.btn:disabled{background-color:var(--contrast-8);border-color:var(--contrast-8);color:var(--contrast-3)}.btn .bi{vertical-align:middle}.btn+.btn{margin-left:10px}.table{border-top:1px solid var(--contrast);border-collapse:collapse;width:100%}.table td,.table th{border-bottom:1px solid var(--contrast);padding:16px}.table thead th{text-align:left}.table tbody th{text-align:right}input,select{border:1px solid var(--contrast-8);border-radius:0;color:var(--contrast);font-size:1rem;padding:6px 12px}select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/></svg>");background-position:right 12px center;background-repeat:no-repeat;padding:6px 36px 6px 12px}.intro{font-size:24px}`,kg=`:host{background-color:#fbfbfb}.container{color:var(--contrast)}a{color:var(--teal-600);font-weight:800;text-decoration:none}a:active,a:focus,a:hover{text-decoration:underline}.about{padding-top:25px}.awards{font-size:15px;line-height:21px;margin:0 0 20px}.disclaimer{font-size:12px;line-height:18px;margin:0 0 15px}.contact{font-size:16px;font-stretch:70%;text-transform:uppercase}.social{align-items:center;display:flex;flex-direction:row;justify-content:flex-start;list-style-type:none;margin:0;padding:20px 0 10px}.social li{margin:0 35px 0 0;padding:0}.social li:last-child{margin:-10px}.social a{background-size:contain;background-repeat:no-repeat;display:block;height:25px;text-indent:-999999px;width:25px}.x{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' class='bi bi-twitter-x' viewBox='0 0 16 16'><path d='M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865z'/></svg>")}.youtube{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' viewBox='0 0 16 16'><path d='M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.01 2.01 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.01 2.01 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31 31 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.01 2.01 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A100 100 0 0 1 7.858 2zM6.4 5.209v4.818l4.157-2.408z'/></svg>")}.facebook{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' viewBox='0 0 16 16'><path d='M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951'/></svg>")}a.linkedin{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' viewBox='0 0 16 16'><path d='M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854zm4.943 12.248V6.169H2.542v7.225zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248S2.4 3.226 2.4 3.934c0 .694.521 1.248 1.327 1.248zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016l.016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225z'/></svg>")}.lower{border-top:1px solid var(--contrast-9);padding:10px 0 60px}.links{display:flex;flex-direction:row;flex-wrap:wrap;list-style-type:none;margin:20px 0 0;padding:0}.links li{padding:0 20px 10px 0}.links li:last-child{padding-right:0}.links a{font-size:12px;font-weight:600}.scroll-to-top{background-color:#00000080;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' stroke='white' stroke-width='1' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708z'/></svg>");background-position:center;background-repeat:no-repeat;background-size:13px;border:0 none transparent;bottom:30px;cursor:pointer;display:block;height:40px;opacity:0;position:fixed;right:30px;text-indent:-999999px;transition:opacity .25s ease-out;width:40px;z-index:100}.scroll-to-top.visible{opacity:1}.personas{box-sizing:border-box;font-size:15px;padding:20px 0}.personas p{margin:0}.personas ul{list-style-type:none;margin:5px 0;padding:0}.personas li{padding:3px 0}@media (min-width: 1024px){.lower{align-items:start;display:flex;flex-direction:row;justify-content:space-between}.links{margin-top:0}}@media (min-width: 900px){.upper{display:flex;flex-direction:row;justify-content:space-between}.upper>*{width:calc((var(--width) - 20px) / 2)}.about{padding:40px 0 30px}.awards{font-size:18px;line-height:24px}.personas{font-size:18px;padding:40px calc(((var(--width) - 140px) / 8) + 20px) 30px}}`,_g=".container{box-sizing:content-box;height:84px;padding-top:20px}@media (min-width: 900px){.container{height:144px;padding-top:52px}}",zc=`.logo{align-items:start;display:flex;flex-direction:row}.nsf-logo{height:49px}.access-logo{height:23px;margin-top:12px}.access,.nsf{display:block;text-decoration:none}.divider{border-right:2px solid #bbbbbb;height:40px;margin:4px 15px 0 12px;width:0}.name{color:var(--teal-700);display:block;font-size:17.5px;font-stretch:80%;font-weight:200;line-height:1;margin:3px 0 0;text-align:right}.name:before{content:"";display:inline-block;height:0;margin:0 5px 0 0;width:0}.name-allocations:before{border-bottom:12px solid var(--orange-400);border-left:12px solid transparent}.name-coordination-office:before{background-color:var(--teal-400);border-radius:6px;height:12px;margin:0 6px 0 0;width:12px}.name-metrics:before{background-image:url("data:image/svg+xml;utf8,<svg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg' width='12'><circle cx='12' cy='0' r='12' fill='%23008496' /></svg>");background-size:cover;height:12px;margin:0 2px 0 0;width:12px}.name-operations:before{border-top:12px solid var(--yellow-400);border-right:12px solid transparent}.name-support:before{background-color:var(--teal-700);height:12px;margin:0 6px 0 0;width:12px}.logo-footer .nsf-logo{height:40px}.logo-footer .divider{height:34px;margin:3px 11px 0 9px}.logo-footer .access-logo{margin-top:10px;height:21px;width:auto}@media (min-width: 900px){.nsf-logo{height:82px}.divider{height:70px;margin:6px 23px 0 20px}.access-logo{height:auto;margin-top:22px;width:253px}.name{font-size:30px}.name-allocations:before{border-bottom:20px solid var(--orange-400);border-left:20px solid transparent}.name-metrics:before{height:20px;margin:0 4px 0 0;width:20px}.name-operations:before{border-top:20px solid var(--yellow-400);border-right:20px solid transparent}.name-coordination-office:before{border-radius:9.5px;height:19px;width:19px}.name-support:before{height:19px;margin:0 7px 0 0;width:19px}}`,Cs=`.menu{--icon-caret-down-dark: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");--icon-caret-down-light: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");--icon-caret-down-teal: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23107180' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>")}.universal{--background: var(--teal-700);--border: rgba(19, 133, 151, .35)}.site{--background: var(--teal-600);--border: #157688}.site ul ul{--border: rgba(19, 133, 151, .35)}.menu ul,.menu li{list-style-type:none;margin:0;padding:0}.menu a{text-decoration:none}.item{background:transparent;border:0 none transparent;border-radius:0;box-sizing:border-box;cursor:pointer;display:block;text-align:left;width:100%}.item{font-size:14px;font-weight:600;line-height:21px;padding:13.5px var(--padding) 13.5px}.menu>ul>li>.item{font-weight:800}.item,.menu li:last-child li:last-child>.item{border-bottom:1px solid var(--border)}.menu li.highlight button,.menu li:last-child>.item,.menu>.collapsed{border-bottom:0 none transparent}.expanded{border-bottom-width:2px}.menu button{position:relative}.menu>button{font-weight:500;padding:13.5px var(--padding) 13.5px;text-transform:uppercase}.menu button:after{background-image:var(--icon-caret-down-light);background-repeat:no-repeat;background-size:18px;content:"";display:block;height:18px;right:calc(var(--padding) + var(--offset));position:absolute;top:15px;width:18px}.menu button.expanded:after{transform:rotate(180deg)}.menu .highlight button:after{background-image:var(--icon-caret-down-dark)}.menu button,.menu ul li{background-color:var(--background)}.menu button,.menu ul li a{color:var(--color)}.menu ul li li{background-color:#fff}.menu ul li li a{color:#138597}.icon>.item{background-position:calc(var(--padding) + var(--offset)) center;background-repeat:no-repeat;background-size:14px 14px;text-indent:-99999px}.icon-home>.item{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'><path d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5'/></svg>")}.icon-search>.item{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'><path d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0'/></svg>")}.track .item{text-transform:uppercase;padding-top:4px;padding-bottom:4px}.track:first-child .item{padding-top:17px}.track.grow .item{padding-bottom:21px}.track .item{border-bottom:0 none transparent}.highlight button{background-color:var(--yellow-400);color:var(--contrast)}.footer{background-color:var(--teal-700);padding:50px var(--padding) 36px;color:#fff}.footer h2{font-size:14px;font-weight:600;margin:0 auto 20px;text-transform:uppercase;width:var(--width)}.columns{margin:0 auto;width:var(--width)}.column{padding-bottom:14px}.footer a,.footer a:visited{color:#fff;text-decoration:none}.footer a:active,.footer a:focus,.footer a:hover{color:var(--teal-100);text-decoration:underline}.footer h3{font-size:14px;font-weight:800;margin:0}.footer ul{margin:0;padding:0}.footer li{font-size:14px;font-weight:600;list-style-type:none;padding:14px 0 0}@media (min-width: 768px){.columns{display:flex;flex-direction:row;flex-wrap:wrap;padding:10px 0}.column{padding-bottom:40px;padding-right:20px;width:calc((var(--width) - 60px) / 4)}.column:nth-child(4),.column:last-child{padding-right:0}}@media (min-width: 1280px){.site{--background: white;--color: var(--teal-600);--outline: var(--teal-700);--padding: 20px;border-bottom:1px solid #d9d9d9;border-top:3px solid var(--teal-700)}.site>ul{justify-content:end}.menu>button{display:none}.menu>ul{display:flex;flex-direction:row;margin:0 auto;width:calc(var(--width) + (2 * var(--padding)))}.item,.track .item,.track:first-child .item,.track.grow .item{border-bottom:0 none transparent;padding-top:12px;padding-bottom:12px}.site .item{font-size:16px}.grow{flex:1 0 auto}.universal{background-color:var(--teal-700)}.universal>ul>li:first-child{margin-left:-10px}.universal>ul>li:last-child{margin-right:-10px}.universal li button{--padding: 20px}.icon>.item{background-position:center center;width:56px}.menu button:after,.menu button.expanded:after,.menu .highlight button:after,.menu .highlight button.expanded:after{display:inline-block;margin-left:5px;position:static;vertical-align:middle}.menu button:after{background-image:var(--icon-caret-down-teal)}.universal button:after{background-image:var(--icon-caret-down-light)}.menu button.expanded:after,.menu button.item:active:after,.menu button.item:focus:after,.menu button.item:hover:after{background-image:var(--icon-caret-down-light)}.menu>ul>li{display:flex;flex-direction:row;justify-content:start;position:relative}.menu>ul>li.grow>.item{flex:0 1 0}.menu>ul>li.active>.item,.menu>ul>li>.expanded,.menu>ul>li>.item:active,.menu>ul>li>.item:focus,.menu>ul>li>.item:hover{background-color:var(--teal-600);color:#fff;outline:0 none transparent}.menu>ul>li>.item:focus-visible{outline:3px solid var(--outline);outline-offset:-3px;z-index:1000}.menu>ul ul{background-color:var(--teal-600);padding:10px 0;position:absolute;right:0;top:48px;z-index:9999}.menu>ul ul li{background-color:var(--teal-600)}.menu>ul ul .item{color:#fff;white-space:nowrap;padding:5px 20px}.menu>ul ul .item:active,.menu>ul ul .item:focus,.menu>ul ul .item:hover{color:#cee8e9;outline:0 none transparent;text-decoration:underline}.menu>ul ul .item:focus-visible{outline:3px solid white;outline-offset:-3px;z-index:1000}.menu>ul>li>.item{line-height:24px}}@media (min-width: 1280px){.columns{flex-wrap:nowrap;padding:10px 0 0}.column{padding-bottom:72px;width:calc((var(--width) - 120px) / 7)}.column:nth-child(4){padding-right:20px}}`,Sg='@import"https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css";.glide{position:relative;width:100%;box-sizing:border-box}.glide *{box-sizing:inherit}.glide__track{overflow:hidden}.glide__slides{position:relative;width:100%;list-style:none;backface-visibility:hidden;transform-style:preserve-3d;touch-action:pan-Y;overflow:hidden;margin:0;padding:0;white-space:nowrap;display:flex;flex-wrap:nowrap;will-change:transform}.glide__slides--dragging{-webkit-user-select:none;user-select:none}.glide__slide{width:100%;height:100%;flex-shrink:0;white-space:normal;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.glide__slide a{-webkit-user-select:none;user-select:none;-webkit-user-drag:none;-moz-user-select:none;-ms-user-select:none}.glide__arrows,.glide__bullets{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.glide--rtl{direction:rtl}.glide__arrow{position:absolute;display:block;top:50%;z-index:2;color:#fff;text-transform:uppercase;padding:9px 12px;background-color:transparent;border:2px solid rgba(255,255,255,.5);border-radius:4px;box-shadow:0 .25em .5em #0000001a;text-shadow:0 .25em .5em rgba(0,0,0,.1);opacity:1;cursor:pointer;transition:opacity .15s ease,border .3s ease-in-out;transform:translateY(-50%);line-height:1}.glide__arrow:focus{outline:none}.glide__arrow:hover{border-color:#fff}.glide__arrow--left{left:2em}.glide__arrow--right{right:2em}.glide__arrow--disabled{opacity:.33}.glide__bullets{position:absolute;z-index:2;bottom:2em;left:50%;display:inline-flex;list-style:none;transform:translate(-50%)}.glide__bullet{background-color:#ffffff80;width:9px;height:9px;padding:0;border-radius:50%;border:2px solid transparent;transition:all .3s ease-in-out;cursor:pointer;line-height:0;box-shadow:0 .25em .5em #0000001a;margin:0 .25em}.glide__bullet:focus{outline:none}.glide__bullet:hover,.glide__bullet:focus{border:2px solid #fff;background-color:#ffffff80}.glide__bullet--active{background-color:#fff}.glide--swipeable{cursor:grab;cursor:-moz-grab;cursor:-webkit-grab}.glide--dragging{cursor:grabbing;cursor:-moz-grabbing;cursor:-webkit-grabbing}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.accordion{margin:0 0 16px}.accordion-heading{margin:0}.accordion-heading button{background-color:var(--teal-050);border:0 none transparent;color:var(--teal-700);cursor:pointer;display:block;font-size:16px;font-weight:800;padding:16px 40px 16px 20px;position:relative;text-align:left;width:100%}.accordion-heading button .icon{position:absolute;right:20px;top:16px}.accordion-content{padding:16px 20px 0}.alert{align-items:center;background-color:var(--yellow-200);border-radius:10px;display:flex;flex-direction:row;margin-bottom:20px;padding:20px}.alert i{margin-right:20px}ul.breadcrumbs{--offset: calc((100vw - var(--width)) / 2);border-bottom:1px solid var(--contrast-7);box-sizing:border-box;font-size:14px;font-stretch:70%;font-weight:600;line-height:20px;list-style-type:none;margin:0;padding:0 30px;width:100vw}ul.breadcrumbs.top-border{border-top:1px solid var(--contrast-7)}ul.breadcrumbs.expand{margin-left:-30px;margin-right:-30px}ul.breadcrumbs li{display:inline-block;margin:0;padding:11px 0 6px;text-transform:uppercase;vertical-align:middle}ul.breadcrumbs li:not(.home):before{content:"/";margin:0 12px}ul.breadcrumbs li a{color:var(--teal-700);text-decoration:none}ul.breadcrumbs li:not(.home) a:active,ul.breadcrumbs li:not(.home) a:focus,ul.breadcrumbs li:not(.home) a:hover{text-decoration:underline}@media (min-width: 600px){ul.breadcrumbs{padding-left:var(--offset);padding-right:var(--offset)}ul.breadcrumbs.expand{margin-left:calc(var(--offset) * -1);margin-right:calc(var(--offset) * -1)}}.carousel{margin-bottom:1rem;width:var(--width)}.slide-inner{background-color:var(--contrast-9);display:flex;flex-direction:column}.slide-image img{display:block;width:100%}.slide-text{box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;padding:20px}.slide-text h2{font-size:16px;line-height:1.1;margin:0 0 .25rem}.slide-text a{font-size:14px;line-height:1.1}.slide-text p{font-size:14px;line-height:1.2;margin-bottom:.5rem}.glide__arrow{align-items:center;background-color:var(--contrast-3);border:0 none transparent;border-radius:15px;display:flex;justify-content:center;height:30px;padding:8px;width:30px}.glide__arrow:active,.glide__arrow:hover{background-color:var(--teal-700)}.glide__arrow svg{fill:#fff}.glide__arrow--left{margin-left:-66px}.glide__arrow--right{margin-right:-66px}@media (min-width: 768px){.slide-inner{flex-direction:row}.slide-image img{width:calc((var(--width) - 20px) / 2)}}@media (min-width: 1024px){.slide-image img{width:calc((var(--width) - 40px) / 3)}}@media (min-width: 1280px){.slide-text h2{font-size:18px}.slide-text a{font-size:16px}.slide-text p{font-size:16px;line-height:1.2;margin-bottom:.5rem}}.highlight{background-color:var(--yellow-200);padding:2px 0}.header-components{margin-bottom:2rem}.button-group .btn{display:block;margin:0 0 10px}.card{border:5px solid var(--contrast);padding:20px}@media (min-width: 768px){.flex-header{align-items:center;display:flex;justify-content:space-between}.header-components{margin-bottom:0}.button-group{display:flex}.button-group .btn{display:flex;margin:0 10px 0 0}}@media (min-width: 1024px){.cards{display:flex;flex-direction:row;flex-wrap:wrap;gap:20px}.card{flex:1 0 20%;margin:0}}.donut-chart svg path{cursor:pointer}.donut-chart .center-text{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;line-height:1.2}.donut-chart .center-text *{cursor:default;display:block;margin-bottom:.25rem;text-align:center}.donut-chart .center-text .percent{color:var(--contrast-2);font-size:.7rem}.donut-chart .top-items{list-style-type:none;margin:0;padding:0}.donut-chart .top-items li{align-items:center;display:flex;flex-direction:row;font-size:1rem;line-height:1.2;margin-bottom:5px}.donut-chart .symbol{border-radius:8px;display:inline-block;height:16px;margin-right:5px;vertical-align:text-top;width:16px}.expand-text{margin-bottom:1rem;position:relative}.expand-text.contracted{max-height:5.3rem;overflow:hidden}.expand-text button{background-color:#fff;border:0 none transparent;color:var(--teal-700);cursor:pointer;font-size:1rem;font-weight:700}.expand-text.contracted button{background:linear-gradient(to right,#fff0,#fff 50%,#fff);position:absolute;right:0;text-align:right;bottom:0;width:12rem}.grid{border-top:1px solid var(--contrast);max-width:100%;margin-bottom:1rem;overflow:scroll;position:relative}.grid table{border-collapse:separate;border-spacing:0;border-top:0 none transparent;margin-bottom:0;position:relative}.grid th{position:sticky;top:0;z-index:10}.grid th,.grid td{background-color:#fff}.grid th:last-child,.grid td:last-child{border-right:0 none transparent}.grid th.important,.grid td.important{background-color:#f8f9fa}.grid th.input,.grid td.input{background-color:var(--teal-200)}.grid .edited td,.grid .edited select{background-color:#faf1d7}.grid .edited td.important,.grid .edited select.important{background-color:#fbeeca}.grid .disabled td,.grid .disabled select{background-color:#ddd}.grid .disabled td.important,.grid .disabled select.important{background-color:#ccc}.grid tbody tr:last-child th,.grid tbody tr:last-child td{border-bottom:0 none transparent}.icon{height:1em;margin-right:5px;vertical-align:text-bottom}.info-tip{background-color:transparent;border:0 none transparent}.tippy-box[data-theme~=access]{background-color:var(--teal-700);border-radius:0;color:#fff;font-weight:400;padding:5px}.tippy-box[data-theme~=access][data-placement^=top]>.tippy-arrow:before{border-top-color:var(--teal-700)}.tippy-box[data-theme~=access][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:var(--teal-700)}.tippy-box[data-theme~=access][data-placement^=left]>.tippy-arrow:before{border-left-color:var(--teal-700)}.tippy-box[data-theme~=access][data-placement^=right]>.tippy-arrow:before{border-right-color:var(--teal-700)}.mini-bar{flex:0 0 auto;position:relative;width:100px}.mini-bar .bar{background-color:#ddd;height:1em}.filters-outer{float:right;position:relative}.filters-inner{background-color:#fff;border:4px solid var(--contrast);padding:20px;position:absolute;right:0;top:41px;width:calc(var(--width) * .4)}.filters-inner h2{font-size:16px;margin:0 0 1rem}.filters-inner ul.tags{margin-bottom:1rem}.btn-filters{position:relative}.btn-filters .active-tag-count{background-color:var(--orange-400);border-radius:10px;color:#fff;display:block;font-size:12px;height:20px;line-height:20px;top:-10px;position:absolute;text-align:center;right:-10px;width:20px}.btn-filters.active{z-index:100}.btn-filters.active:after{background-color:#fff;bottom:-4px;content:"";display:block;height:4px;left:0;position:absolute;width:100%}.event:not(:last-child){margin-bottom:1.5rem}.event-icon,.event-icon:active,.event-icon:focus,.event-icon:hover{align-items:center;background-color:var(--teal-700);color:#fff;display:none;flex:0 0 auto;flex-direction:column;font-weight:800;justify-content:center;height:calc((var(--width) - 140px) / 8);text-decoration:none;width:calc((var(--width) - 140px) / 8)}.event-icon span{display:block}.event-icon span:nth-child(2){font-size:2rem}.event-metadata{margin-bottom:1rem}.event-metadata i:not(:first-child){margin-left:1rem}@media (min-width: 768px){.event{display:flex;flex-direction:row}.event-icon,.event-icon:active,.event-icon:focus,.event-icon:hover{display:flex;margin-right:20px}.event h3{margin-top:0}}@media (min-width: 900px){.event-icon span:nth-child(2){font-size:3rem}}.carousel-projects .glide__slide{font-size:16px}.carousel-projects h3{margin:0 0 .25rem}.carousel-projects .project-metadata{margin-bottom:.5rem}.carousel-projects .project-meta{display:inline-block;font-weight:700;line-height:1.1;margin-right:1rem;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.carousel-projects .project-meta .bi{vertical-align:middle}.metrics-overview strong{background-color:var(--yellow-200);font-size:1.2rem;padding:2px;white-space:nowrap}.metrics-overview .bi{vertical-align:middle}.metrics-overview .btn{font-size:1rem}.metrics-disclaimer{font-size:.9rem;line-height:1.2;margin:.5rem 0}.metrics-disclaimer .bi{vertical-align:middle}.resource-group{align-items:flex-start;clear:both;display:flex;flex-direction:column;margin-bottom:20px}.resource-group-image{--image-width: 100%;align-items:center;background-color:var(--contrast-9);border:1px solid var(--contrast);color:var(--contrast-8);display:flex;flex:0 0 auto;flex-direction:column;font-size:5rem;justify-content:center;margin:20px 0;min-height:calc(var(--image-width) / 3 * 2);position:relative;width:var(--image-width)}.resource-group-image:active,.resource-group-image:focus,.resource-group-image:hover{color:var(--contrast-8)}.resource-group-image>img{display:block;width:100%}.image-type-logo{display:flex;flex-direction:column;justify-content:center;min-height:120px}.image-type-logo>*{margin:10px;width:calc(100% - 20px)}.resource-group-text *:first-child{margin-top:0}.resource-group-detail{margin-bottom:70px;width:var(--width)}.resource-group-feature-image{margin-top:60px;width:100%}.resource-group-description:after{clear:both;content:"";display:block}@media (min-width: 768px){.resource-group{flex-direction:row;margin-bottom:40px}.resource-group-image{--image-width: calc((var(--width) - 140px) / 4 + 20px);margin:0 20px 0 0}}@media (min-width: 900px){.resource-group-feature-image{float:right;margin:0 0 0 20px;width:calc(((var(--width) - 140px) / 8) * 3 + 40px)}}#resource-navigation{display:flex;flex-direction:column;gap:10px}@media (min-width: 1024px){#resource-navigation{flex-direction:row;gap:20px}}#resource-news{background-color:var(--teal-100);padding:20px}#resource-news h2{font-size:1.2rem;font-weight:200;margin:0 0 .5rem}#resource-news ul{list-style-type:none;margin:0;padding:0}#resource-news li{font-size:1rem;line-height:1.3;margin:0 0 .5rem;padding:0}@media (min-width: 1024px){#resource-news{box-sizing:border-box;width:calc((var(--width) - 60px) / 4)}}ul.resource-pathways{display:flex;flex-direction:column;gap:10px;list-style-type:none;margin:0;padding:0;width:100%}ul.resource-pathways li{margin:0;width:100%}ul.resource-pathways li a{align-items:flex-start;border:5px solid transparent;box-sizing:border-box;display:flex;height:100%;flex-direction:row;justify-content:flex-start;line-height:1.3;padding:20px;text-decoration:none}ul.resource-pathways a>.bi{font-size:2rem;margin-bottom:1rem}ul.resource-pathways li a>.detail{display:flex;flex-direction:column;margin-left:20px}ul.resource-pathways .title{font-size:1.2rem}ul.resource-pathways .description{font-size:1rem;font-weight:400}ul.resource-pathways .login{font-size:.9rem;font-style:italic;font-weight:400;margin-top:.25rem}ul.resource-pathways .login .bi{vertical-align:middle}.resource-pathway-0{background-color:var(--yellow-400)}.resource-pathway-1{background-color:var(--teal-600)}.resource-pathway-1 a{color:#fff}.resource-pathway-2{background-color:var(--orange-400)}.resource-pathway-3{background-color:var(--teal-200)}ul.resource-pathways li a:active,ul.resource-pathways li a:focus,ul.resource-pathways li a:hover{background-color:#fff;border:5px solid var(--contrast);color:var(--contrast)}@media (min-width: 1024px){ul.resource-pathways{flex-direction:row;gap:20px}ul.resource-pathways li{box-sizing:border-box;width:calc((var(--width) - 60px) / 4)}ul.resource-pathways li a{flex-direction:column}ul.resource-pathways li a>.detail{margin-left:0}}.scroll-text{position:relative}.scroll-text:after{background-color:red;background:linear-gradient(to bottom,#fff0,#fff 50%,#fff);bottom:0;content:"";display:block;height:2rem;left:0;position:absolute;width:100%;z-index:99999}.scroll-text-inner{padding-bottom:2rem;overflow-y:scroll}.search{position:relative}.search input{padding-right:35px}.search .btn-clear{position:absolute;right:-5px;top:-6px}.section-navigation{border-bottom:1px solid var(--contrast-8);border-top:1px solid var(--contrast-8);display:flex;flex-direction:row;margin:20px 0}.section-navigation h2{flex:0 0 auto;font-size:1rem;font-weight:400;margin:20px 0}.section-navigation ul{display:flex;flex-direction:row;flex-wrap:wrap;margin:0;padding:10px 0}.section-navigation li{line-height:1;list-style-type:none;flex:0 0 auto;font-size:1rem;margin:10px 0 10px 20px;padding:0}ul.tags{margin:0;padding:0}li.tag{display:inline-block;list-style-type:none;margin:0 5px 5px 0;max-width:100%}.tag button{background-color:var(--teal-100);border:1px solid var(--teal-400);border-radius:8px;color:var(--contrast);cursor:pointer;display:inline-block;font-size:16px;font-weight:500;line-height:18px;max-width:100%;overflow:hidden;padding:3px 7px;text-align:left;text-decoration:none;text-overflow:ellipsis;text-wrap:nowrap}.tag button:hover{background-color:var(--teal-200);color:var(--contrast)}.tag button:disabled{background-color:var(--contrast-9);border-color:var(--contrast-6);color:var(--contrast-3)}.tag.active button{border-color:var(--orange-400);background-color:var(--orange-200)}',Eg=".toc{background-color:var(--teal-600);color:#fff;padding:20px;position:sticky;top:50px}h2{font-size:16px;font-weight:800;margin:0 0 16px}ul{margin:0;padding:0 0 0 20px}li{line-height:1.125;list-style-type:none;margin:0;padding:9px 0}a{color:#fff;font-size:16px;font-weight:600;text-decoration:underline;text-decoration-color:transparent}a :active,a:focus,a:hover{color:var(--teal-100);text-decoration-color:var(--teal-100)}@media (min-width: 768px){a.active{color:var(--teal-100)}}@media (min-width: 900px){.toc{padding:32px}}",Hc='.rcb-toggle-icon{background-color:initial!important;background-position:calc(50% - 1px) calc(50% + 2px);background-size:62%!important}.rcb-chat-window{max-height:600px;max-width:100%;width:550px!important}.rcb-chat-window .rcb-bot-avatar{background-position:50%;background-repeat:no-repeat;background-size:contain;border-radius:0}.rcb-chat-window .rcb-chat-header{align-items:center;display:flex;flex-direction:row;font-weight:700}.rcb-chat-window a{color:#000;font-weight:700;text-decoration:underline}.rcb-chat-window a:hover{color:#107180}.rcb-chat-window .rcb-bot-message a{color:#fff;text-decoration:none}.rcb-chat-window .rcb-bot-message a:hover{text-decoration:underline}.rcb-chat-window .rcb-chat-input-textarea{overflow-y:auto}.rcb-chat-window .rcb-chat-footer-container{font-size:10px}.qa-bot .user-login-icon{display:none!important}.qa-bot.bot-logged-in .user-login-icon{display:flex!important;transform:scale(1.3) translateY(-2px)}.embedded-qa-bot .rcb-chat-window{max-width:100%;width:100%!important}.qa-bot.hidden{display:none}.embedded-qa-bot .rcb-bot-message,.embedded-qa-bot .rcb-user-message{max-width:90%!important;word-break:break-word}.embedded-qa-bot .rcb-chat-input-textarea{width:100%!important}.qa-bot-container{max-width:100%;width:100%}.rcb-tooltip-show.phone-ring{animation:phone-ring 3s ease-out!important;z-index:10000!important}@keyframes phone-ring{0%{transform:translate(0) translateY(0) rotate(0)}2%{transform:translate(0) translateY(-8px) rotate(-2deg)}4%{transform:translate(0) translateY(-6px) rotate(2deg)}6%{transform:translate(0) translateY(-8px) rotate(-1deg)}8%{transform:translate(0) translateY(-6px) rotate(1deg)}10%{transform:translate(0) translateY(-8px) rotate(-2deg)}12%{transform:translate(0) translateY(-6px) rotate(2deg)}20%{transform:translate(0) translateY(0) rotate(0)}30%{transform:translate(0) translateY(0) rotate(0)}40%{transform:translate(0) translateY(0) rotate(0)}49%{transform:translate(0) translateY(0) rotate(0)}50%{transform:translate(0) translateY(-8px) rotate(-2deg)}52%{transform:translate(0) translateY(-6px) rotate(2deg)}54%{transform:translate(0) translateY(-8px) rotate(-1deg)}56%{transform:translate(0) translateY(-6px) rotate(1deg)}58%{transform:translate(0) translateY(-8px) rotate(-2deg)}60%{transform:translate(0) translateY(-6px) rotate(2deg)}70%{transform:translate(0) translateY(0) rotate(0)}to{transform:translate(0) translateY(0) rotate(0)}}@media (max-width:768px){.rcb-chat-window{max-height:calc(100vh - 100px)!important;max-width:calc(100vw - 40px)!important;width:550px!important}.embedded-chat-container.open{height:400px}.embedded-chat-closed{font-size:14px;height:40px}.embedded-chat-open-btn{font-size:12px;padding:3px 10px}.rcb-bot-message,.rcb-user-message{max-width:85%!important}.rcb-chat-input-textarea{font-size:16px!important;min-height:44px!important}.rcb-chat-header{padding:12px 16px!important}}@media (max-width:480px){.rcb-chat-window{bottom:10px!important;left:10px!important;max-height:calc(100vh - 80px)!important;max-width:calc(100vw - 20px)!important;right:10px!important;width:calc(100vw - 20px)!important}.embedded-chat-container.open{height:350px}.rcb-bot-message,.rcb-user-message{margin-bottom:8px!important;max-width:90%!important}.rcb-chat-header{font-size:14px!important;padding:8px 12px!important}.rcb-chat-button{bottom:20px!important;height:50px!important;right:20px!important;width:50px!important}.rcb-chat-footer-container{font-size:9px!important;padding:8px 12px!important}}@media (max-width:360px){.rcb-chat-window{left:5px!important;max-width:calc(100vw - 10px)!important;right:5px!important;width:calc(100vw - 10px)!important}.rcb-chat-header{font-size:13px!important;padding:6px 8px!important}}.rcb-checkbox-container{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-left:16px!important;max-width:100%!important;padding-top:12px!important}.rcb-checkbox-row-container{align-items:center!important;background-color:#fff!important;border:1px solid #d0d0d0!important;border-radius:6px!important;box-sizing:border-box!important;color:#107180!important;cursor:pointer!important;display:flex!important;flex:0 0 auto!important;font-size:14px!important;font-weight:400!important;margin:0!important;max-height:auto!important;min-height:auto!important;padding:8px 12px!important;text-align:center!important;transition:all .2s ease!important;-webkit-user-select:none;user-select:none;width:auto!important}.rcb-checkbox-row-container:hover{background-color:#e8f4f8!important;border-color:#107180!important;box-shadow:0 2px 4px #10718033!important;transform:translateY(-1px)!important}.rcb-checkbox-row-container[data-checked=true]{background-color:#107180!important;border-color:#107180!important;color:#fff!important}.rcb-checkbox-row{margin-left:0!important}.rcb-checkbox-mark{height:14px!important;margin-right:6px!important;width:14px!important}.rcb-checkbox-label{font-size:13px!important;margin:0!important;white-space:nowrap!important}.rcb-checkbox-next-button{align-items:center!important;background-color:#fff!important;border:1px solid #d0d0d0!important;border-radius:6px!important;box-sizing:border-box!important;color:#107180!important;cursor:pointer!important;display:flex!important;flex:0 0 auto!important;font-size:14px!important;font-weight:400!important;justify-content:center!important;line-height:24px!important;margin:0!important;max-height:auto!important;min-height:auto!important;padding:8px 12px!important;text-align:center!important;transition:all .2s ease!important;-webkit-user-select:none;user-select:none;width:auto!important}.rcb-checkbox-next-button:hover{background-color:#e8f4f8!important;border-color:#107180!important;box-shadow:0 2px 4px #10718033!important;transform:translateY(-1px)!important}.sr-only{clip:rect(0,0,0,0)!important;border:0!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}.rcb-chat-input-send-button:focus,.rcb-chat-input-textarea:focus{outline:2px solid #107180!important;outline-offset:2px!important}.rcb-user-message{word-wrap:break-word!important;overflow:hidden!important;word-break:break-word!important}:focus-visible{outline:2px solid #107180!important;outline-offset:2px!important}.rcb-options-container{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:8px!important;margin:16px!important;padding:0!important}.rcb-options{background-color:#fff!important;border:1px solid #d0d0d0!important;border-radius:6px!important;box-sizing:border-box!important;color:#107180!important;cursor:pointer!important;flex:0 0 auto!important;font-size:14px!important;font-weight:400!important;outline:none!important;padding:8px 12px!important;text-align:center!important;transition:all .2s ease!important;-webkit-user-select:none;user-select:none;width:auto!important}.rcb-options:hover{background-color:#e8f4f8!important;border-color:#107180!important;box-shadow:0 2px 4px #10718033!important;transform:translateY(-1px)!important}.rcb-checkbox-next-button.keyboard-focused,.rcb-checkbox-next-button:focus,.rcb-checkbox-next-button:focus-visible,.rcb-checkbox-row-container.keyboard-focused,.rcb-checkbox-row-container:focus,.rcb-checkbox-row-container:focus-visible,.rcb-options.keyboard-focused,.rcb-options:focus,.rcb-options:focus-visible{background-color:#e8f4f8!important;border-color:#107180!important;outline:none!important}.rcb-options:active{background-color:#107180!important;border-color:#107180!important;color:#fff!important;transform:translateY(0)!important}.keyboard-nav-hint{color:#666!important;font-size:12px!important;font-style:italic!important;margin-bottom:8px!important}@media (prefers-reduced-motion:reduce){.keyboard-nav-hint{display:none!important}}.rcb-options-container [role=button][tabindex="0"],.rcb-options-container button[tabindex="0"]{position:relative!important}.rcb-options-container [role=button][tabindex="0"]:after,.rcb-options-container button[tabindex="0"]:after{color:#107180!important;content:"←"!important;font-size:16px!important;opacity:0!important;position:absolute!important;right:12px!important;top:50%!important;transform:translateY(-50%)!important;transition:opacity .2s ease!important}.rcb-options-container [role=button][tabindex="0"]:focus:after,.rcb-options-container button[tabindex="0"]:focus:after{opacity:1!important}.rcb-chat-input-send-button{cursor:pointer!important;opacity:1!important;pointer-events:auto!important;visibility:visible!important}.rcb-chat-input-send-button:not([tabindex]){-webkit-user-select:none;user-select:none}.rcb-chat-input-container [onclick],.rcb-chat-input-container [role=button],.rcb-chat-input-container div[style*=cursor],.rcb-chat-input-container svg:last-child,.rcb-chat-input-container>div:last-child{tabindex:0!important;cursor:pointer!important}.rcb-chat-footer{margin-top:4px!important;padding-top:0!important}.rcb-chat-footer-container{align-items:center!important;display:flex!important;margin-top:4px!important;padding-top:4px!important}.rcb-chat-footer-container button{order:1!important}.rcb-chat-footer-container a[href*=access-qa-tool]{tab-index:0!important;order:2!important}.rcb-chat-footer-container a[href*=feedback]{tab-index:0!important;order:3!important}@media (prefers-contrast:high){.rcb-chat-window a{background-color:#fff!important;border:1px solid #000!important;color:#000!important}}@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.demo-container{background-color:#f5f5f5;border-bottom:1px solid #ddd;margin-bottom:20px;padding:20px}.demo-title{font-size:1.2em;font-weight:700;margin-bottom:20px}.demo-controls{align-items:flex-start;display:flex;flex-wrap:wrap;gap:20px}.demo-section{flex:1 1;min-width:200px}.demo-section h3{font-size:1em;margin:0 0 10px}.demo-checkbox{display:block;font-size:.95em;margin-bottom:15px}.demo-checkbox:last-child{margin-bottom:10px}.demo-checkbox input{margin-right:8px}.demo-message-section{flex:1 1;min-width:250px}.demo-send-button{background-color:#1a5b6e;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.9em;padding:8px 16px}.demo-info{background-color:#e8f4f8;border-radius:4px;color:#555;font-size:.85em;margin-top:15px;padding:12px}.demo-field{margin-bottom:15px}.demo-field label{color:#333;display:block;font-size:.9em;font-weight:500;margin-bottom:5px}.demo-input{border:1px solid #ccc;border-radius:4px;box-sizing:border-box;font-size:.9em;max-width:250px;padding:6px 10px;width:100%}.demo-input:focus{border-color:#1a5b6e;box-shadow:0 0 0 2px #1a5b6e1a;outline:none}.demo-help{color:#666;font-size:.85em;font-style:italic;margin:0 0 15px}.rcb-chat-header-container{border-bottom:1px solid #ccc;color:#fff;display:flex;justify-content:space-between;max-height:55px;padding:12px}.rcb-chat-header{display:flex;flex-direction:row}.rcb-bot-avatar{background-size:cover;border-radius:50%;height:30px;margin-right:12px;width:30px}.rcb-message-prompt-container.visible{align-items:center;animation:rcb-animation-pop-in .3s ease-in-out;bottom:0;display:flex;justify-content:center;margin:auto;opacity:1;pointer-events:auto;position:-webkit-sticky;position:sticky}.rcb-message-prompt-container.hidden{height:0;opacity:0;pointer-events:none;visibility:hidden}.rcb-message-prompt-text{background-color:#fff;border:.5px solid #adadad;border-radius:20px;color:#adadad;cursor:pointer;font-size:12px;padding:6px 12px;transition:color .3s ease,border-color .3s ease;z-index:9999}.rcb-message-prompt-container.hidden .rcb-message-prompt-text{padding:0}.rcb-user-message-container{display:flex;flex-direction:row;justify-content:right}.rcb-user-message{border-radius:22px;font-size:15px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;margin-right:16px;margin-top:8px;min-height:20px;overflow:auto;overflow-wrap:anywhere;padding:12px 16px;text-align:right;white-space:pre-wrap;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.rcb-user-message-offset{margin-right:50px}.rcb-user-message-entry{animation:rcb-animation-user-message-entry .3s ease-in backwards}.rcb-message-user-avatar{background-size:cover;border-radius:50%;height:40px;margin-left:-10px;margin-right:6px;margin-top:9px;width:40px}.rcb-bot-message-container{display:flex;flex-direction:row}.rcb-bot-message{border-radius:22px;font-size:15px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;margin-left:16px;margin-top:8px;min-height:20px;overflow:auto;overflow-wrap:anywhere;padding:12px 16px;text-align:left;white-space:pre-wrap;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.rcb-bot-message-offset{margin-left:50px}.rcb-bot-message-entry{animation:rcb-animation-bot-message-entry .3s ease-in backwards}.rcb-message-bot-avatar{background-size:cover;border-radius:50%;height:40px;margin-left:6px;margin-right:-10px;margin-top:9px;width:40px}.rcb-typing-indicator{align-items:center;display:flex}.rcb-dot{animation:rcb-animation-bot-typing 1s infinite;background-color:#ccc;border-radius:50%;height:8px;margin-right:4px;width:8px}.rcb-dot:nth-child(2){animation-delay:.2s}.rcb-dot:nth-child(3){animation-delay:.4s}.rcb-chat-body-container{height:100%;overflow-x:hidden;overflow-y:scroll;padding-bottom:16px;position:relative;touch-action:pan-y;width:100%}.rcb-chat-body-container::-webkit-scrollbar-track{background-color:#f1f1f1}.rcb-chat-body-container::-webkit-scrollbar-thumb{background-color:#ddd;border-radius:4px}.rcb-chat-body-container::-webkit-scrollbar-thumb:hover{background-color:#cfcfcf}.rcb-chat-body-container::-webkit-scrollbar-corner{background-color:#f1f1f1}.rcb-checkbox-container{display:flex;flex-wrap:wrap;gap:10px;margin-left:16px;padding-top:12px}.rcb-checkbox-offset{margin-left:50px!important}.rcb-checkbox-row-container{align-items:center;animation:rcb-animations-checkboxes-entry .5s ease-out;background-color:#fff;border-radius:10px;border-style:solid;border-width:.5px;cursor:pointer;display:flex;gap:5px;max-height:32px;min-height:30px;overflow:hidden;width:80%}.rcb-checkbox-row-container:hover{box-shadow:0 0 5px #0003}.rcb-checkbox-row{align-items:center;cursor:pointer;display:inline-flex;margin-left:10px}.rcb-checkbox-mark{align-items:center;background-color:#f2f2f2;border:none;border-radius:50%;cursor:pointer;display:flex;height:20px;justify-content:center;margin-right:10px;transition:all .3s ease;width:20px}.rcb-checkbox-mark:hover{background-color:#c2c2c2}.rcb-checkbox-mark:before{content:"✓";transition:all .3s ease}.rcb-checkbox-label{font-size:14px}.rcb-checkbox-next-button{align-items:center;animation:rcb-animations-checkboxes-entry .5s ease-out;background-color:#fff;border-radius:10px;border-style:solid;border-width:.5px;cursor:pointer;display:inline-block;font-size:24px;max-height:32px;min-height:30px;text-align:center;width:80%}.rcb-checkbox-next-button:before{content:"→"}.rcb-checkbox-next-button:hover{box-shadow:0 0 5px #0003}.rcb-options-container{display:flex;flex-wrap:wrap;gap:10px;margin-left:16px;max-width:70%;padding-top:12px}.rcb-options-offset{margin-left:50px!important}.rcb-options{align-items:center;animation:rcb-animation-options-entry .5s ease-out;border-radius:20px;border-style:solid;border-width:.5px;cursor:pointer;display:inline-flex;font-size:14px;justify-content:center;overflow:hidden;padding:10px 20px;transition:background-color .3s ease}.rcb-options:hover{box-shadow:0 0 5px #0003}.rcb-line-break-container{align-items:center;display:flex;justify-content:center;max-height:45px;padding-bottom:5px;padding-top:10px}.rcb-line-break-text{color:#adadad;font-size:12px;padding:6px 12px}.rcb-spinner-container{align-items:center;display:flex;justify-content:center;max-height:45px;min-height:35px;padding-bottom:5px;padding-top:10px}.rcb-spinner{animation:rcb-animation-spin 1s linear infinite;border:4px solid #f3f3f3;border-radius:50%;height:22px;width:22px}.rcb-chat-input{align-items:center;background-color:#fff;border-top:1px solid #ccc;display:flex;padding:8px 16px}.rcb-chat-input::placeholder{color:#999}.rcb-chat-input-textarea{background-color:#fff;border:none;border-radius:4px;color:#000;flex:1 1;font-family:inherit;font-size:16px;height:auto;min-height:38px;outline:none;overflow-y:scroll;padding:8px;resize:none;touch-action:none}.rcb-chat-input-textarea::-webkit-scrollbar,.rcb-chat-input-textarea::-webkit-scrollbar-thumb{background-color:initial}.rcb-chat-input-textarea::-webkit-scrollbar-thumb:hover{background-color:initial}.rcb-chat-input-char-counter{font-size:14px;margin-left:8px;margin-top:3px}.rcb-chat-footer-container{align-items:flex-end;background-color:#f2f2f2;border-top:1px solid #ccc;color:#000;display:flex;font-size:12px;justify-content:space-between;max-height:55px;padding:12px 16px 8px 10px}.rcb-chat-footer,.rcb-toggle-button{display:flex;flex-direction:row}.rcb-toggle-button{border:none;border-radius:50%;bottom:20px;box-shadow:0 2px 4px #0003;cursor:pointer;height:75px;position:fixed;right:20px;width:75px;z-index:9999}.rcb-toggle-button.rcb-button-hide{animation:rcb-animation-collapse .3s ease-in-out forwards;opacity:0;visibility:hidden}.rcb-toggle-button.rcb-button-show{animation:rcb-animation-expand .3s ease-in-out forwards;opacity:1;visibility:visible}.rcb-toggle-icon{background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:inherit;height:100%;margin:auto;width:100%}.rcb-badge,.rcb-toggle-icon{align-items:center;display:flex;justify-content:center}.rcb-badge{background-color:red;border-radius:50%;color:#fff;height:25px;position:absolute;right:-6px;top:-6px;width:25px}.rcb-chat-tooltip{border-radius:20px;box-shadow:0 2px 6px #0003;cursor:pointer;font-size:20px;padding:16px;position:fixed;transition:transform .3s ease;white-space:nowrap;z-index:9999}.rcb-chat-tooltip-tail{border-style:solid;border-width:10px 0 10px 10px;content:"";margin-top:-10px;position:absolute;right:-10px;top:50%}.rcb-chat-tooltip.rcb-tooltip-hide{animation:rcb-animation-tooltip-out .5s ease-in-out;opacity:0;visibility:hidden}.rcb-chat-tooltip.rcb-tooltip-show{animation:rcb-animation-tooltip-in .5s ease-in-out;opacity:1;visibility:visible}.rcb-toast-prompt{animation:rcb-animation-pop-in .3s ease-in-out;background-color:#fff;border:.5px solid #7a7a7a;border-radius:5px;color:#7a7a7a;cursor:pointer;font-size:12px;margin-top:6px;padding:6px 12px;text-align:center;transition:color .3s ease,border-color .3s ease;width:100%;z-index:9999}.rcb-toast-prompt-container{align-items:center;animation:popIn .3s ease-in-out;bottom:0;display:flex;flex-direction:column;justify-content:flex-end;left:50%;margin:200 auto auto;opacity:1;pointer-events:auto;position:absolute;transform:translate(-50%)}.rcb-media-display-image-container,.rcb-media-display-video-container{border-radius:22px;margin-right:16px;margin-top:8px;padding:16px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.rcb-media-display-offset{margin-right:50px!important}.rcb-media-display-image{border-radius:22px;height:auto;object-fit:cover;width:100%}.rcb-media-display-video{background-color:#000;border-radius:22px;height:auto;width:100%}.rcb-media-display-audio{border-radius:22px;height:auto;margin-right:16px;margin-top:8px;width:100%}.rcb-media-entry{animation:rcb-animation-user-message-entry .3s ease-in backwards}.rcb-attach-button-disabled,.rcb-attach-button-enabled{background-size:cover;border-radius:6px;display:inline-block;height:30px;position:relative;text-align:center;width:30px}.rcb-attach-button-disabled input[type=file],.rcb-attach-button-enabled input[type=file]{display:none;height:100%;position:absolute;width:100%}.rcb-attach-button-enabled{cursor:pointer}.rcb-attach-button-disabled{opacity:.5}.rcb-attach-button-enabled:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-attach-button-enabled:hover:after{height:130%;opacity:1;width:130%}.rcb-attach-icon-disabled,.rcb-attach-icon-enabled{background-repeat:no-repeat;background-size:cover;display:inline-block;height:24px;margin-top:2px;transition:background-image .3s ease;width:24px}.rcb-attach-icon-enabled{cursor:pointer}.rcb-emoji-button-disabled,.rcb-emoji-button-enabled{background-size:cover;border-radius:6px;cursor:pointer;display:inline-block;height:30px;position:relative;text-align:center;width:30px}.rcb-emoji-icon-disabled,.rcb-emoji-icon-enabled{background-repeat:no-repeat;background-size:cover;display:inline-block;font-size:20px;height:24px;margin-top:2px;position:relative;width:24px}.rcb-emoji-icon-enabled{cursor:pointer}.rcb-emoji-icon-disabled{opacity:.5}.rcb-emoji-button-enabled:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-emoji-button-enabled:hover:after{height:130%;opacity:1;width:130%}.rcb-emoji-button-popup{background-color:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 2px 4px #0003;max-height:200px;overflow-y:auto;padding:8px;position:absolute;transform:translateY(calc(-100% - 30px));width:158px}.rcb-emoji{cursor:pointer;font-size:24px;padding:3px;transition:transform .2s ease-in-out}.rcb-emoji:hover{transform:scale(1.2)}.rcb-audio-icon{background-size:cover;border:none;cursor:pointer;display:inline-block;height:30px;margin-left:5px;position:relative;width:30px}.rcb-audio-icon:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-audio-icon:hover:after{height:130%;opacity:1;width:130%}.rcb-close-chat-icon{background-size:cover;border:none;cursor:pointer;display:inline-block;height:30px;margin-left:5px;position:relative;width:30px}.rcb-close-chat-icon:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-close-chat-icon:hover:after{height:130%;opacity:1;width:130%}.rcb-notification-icon{background-size:cover;border:none;cursor:pointer;display:inline-block;height:30px;margin-left:5px;position:relative;width:30px}.rcb-notification-icon:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-notification-icon:hover:after{height:130%;opacity:1;width:130%}.rcb-voice-button-disabled,.rcb-voice-button-enabled{align-items:center;background-color:#fff;border-radius:4px;box-shadow:0 0 3px #0000004d;cursor:pointer;display:inline-flex;height:32px;justify-content:center;margin-left:8px;text-transform:uppercase;transition:all .3s ease;width:32px}.rcb-voice-button-enabled{border:1px solid red;box-shadow:0 0 3px #ff000080}.rcb-voice-button-enabled:hover{border:1px solid #3d0000}.rcb-voice-button-disabled{border:1px;border-color:#0003;border-style:solid}.rcb-voice-button-disabled:hover{box-shadow:0 0 3px #8a0000}.rcb-voice-icon{background-position:50%;background-repeat:no-repeat;background-size:cover;background-size:contain;height:60%;object-fit:cover;width:60%}.rcb-voice-icon.on{animation:rcb-animation-ping 1s infinite}.rcb-send-button{border:none;border-radius:4px;box-shadow:0 0 3px #0000004d;cursor:pointer;display:inline-flex;height:32px;justify-content:center;margin-left:8px;text-transform:uppercase;transition:background-color .3s ease;width:51px}.rcb-send-icon{background-position:50%;background-repeat:no-repeat;background-size:cover;background-size:contain;height:50%;object-fit:cover;transform:translateY(20%);width:50%}.rcb-view-history-container{align-items:center;display:flex;justify-content:center;max-height:45px;min-height:35px;padding-bottom:5px;padding-top:10px}.rcb-view-history-button{align-items:center;background-color:#fff;border:.5px solid #adadad;border-radius:20px;color:#adadad;cursor:pointer;display:inline-flex;font-size:12px;justify-content:center;max-width:60%;padding:6px 12px;transition:color .3s ease,border-color .3s ease}.rcb-view-history-button>p{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rcb-chatbot-global{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.5;z-index:9999}.rcb-chat-window{background-color:#fff;border-radius:10px;bottom:20px;box-shadow:0 2px 4px #0003;display:flex;flex-direction:column;height:550px;overflow:hidden;position:fixed;right:20px;transition:all .3s ease;width:375px}.rcb-window-embedded .rcb-chat-window{bottom:auto;opacity:1;position:relative;right:auto;visibility:visible}.rcb-window-open .rcb-chat-window{animation:rcb-animation-expand .3s ease-in-out forwards;opacity:1;visibility:visible}.rcb-window-close .rcb-chat-window{animation:rcb-animation-collapse .3s ease-in-out forwards;opacity:0;visibility:hidden}@keyframes rcb-animation-expand{0%{opacity:0;transform:translate(100%,100%) scale(0)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes rcb-animation-collapse{0%{opacity:1;transform:translate(0) scale(1)}to{opacity:0;transform:translate(100%,100%) scale(0)}}@keyframes rcb-animation-ping{0%{filter:brightness(100%);opacity:1}50%{filter:brightness(50%);opacity:.8}}@keyframes rcb-animation-bot-message-entry{0%{opacity:0;transform:translate(-100%,50%) scale(0)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes rcb-animation-user-message-entry{0%{opacity:0;transform:translate(100%,50%) scale(0)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes rcb-animation-bot-typing{0%{opacity:.4}50%{opacity:1}to{opacity:.4}}@keyframes rcb-animation-pop-in{0%{opacity:0;transform:scale(.8)}70%{opacity:1;transform:scale(1.1)}to{transform:scale(1)}}@keyframes rcb-animations-checkboxes-entry{0%{opacity:0;transform:translate(-100%)}to{opacity:1;transform:translate(0)}}@keyframes rcb-animation-options-entry{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes rcb-animation-tooltip-in{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@keyframes rcb-animation-tooltip-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-5px)}}@keyframes rcb-animation-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}',Cg=(e={})=>{nn(m(ps,{...e}),e.target,[rn,wg])},Pg=(e={})=>{nn(m(hg,{...e}),e.target,[rn,kg,zc])},Dg=(e={})=>{nn(m(pg,{...e}),e.target,[rn,zc,_g])},Bg=({isLoggedIn:e,target:t,...n}={})=>{e===void 0&&(e=document.cookie.split("; ").includes("SESSaccesscisso=1")),nn(m(Cc,{isLoggedIn:e,target:t,...n}),t,[rn,Hc])},Ig=({items:e,isLoggedIn:t,loginUrl:n,logoutUrl:r,siteName:i,target:o}={})=>{if(t===void 0&&(t=document.cookie.split("; ").includes("SESSaccesscisso=1")),e===void 0){const s={...t?Bc:Ic};s.items=s.items.map(l=>({...l,href:l.name=="Login"&&n||l.name=="Log out"&&r||l.href})),e=[...Dc,s];let a=e.find(l=>(l.href||"").replace(/\/$/,"")==document.location.href.replace(/\/$/,""));i&&!a&&(a=e.find(l=>l.name==i)),a&&(a.classes+=" active")}nn(m(Nc,{classes:"universal",items:e,name:"ACCESS Menu",target:o}),o,[rn,Cs])},Tg=({items:e,siteName:t,target:n})=>nn(m(Nc,{classes:"site",items:e,name:`${t} Menu`,target:n}),n,[rn,Cs]),Mg=({items:e,siteName:t,target:n})=>nn(m(gg,{items:e,siteName:t}),n,[rn,Cs]),Og=({headings:e=[],target:t})=>nn(m(yg,{headings:e}),t,[rn,Eg]),Lg=({baseUri:e,showTitle:t,target:n,title:r})=>nn(m(vg,{baseUri:e,showTitle:t,title:r}),n,[rn,xg,Sg,Hc]);var Uc=/[\s\n\\/='"\0<>]/,jc=/^(xlink|xmlns|xml)([A-Z])/,Rg=/^accessK|^auto[A-Z]|^cell|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|popoverT|readO|rowS|src[A-Z]|tabI|useM|item[A-Z]/,Qg=/^ac|^ali|arabic|basel|cap|clipPath$|clipRule$|color|dominant|enable|fill|flood|font|glyph[^R]|horiz|image|letter|lighting|marker[^WUH]|overline|panose|pointe|paint|rendering|shape|stop|strikethrough|stroke|text[^L]|transform|underline|unicode|units|^v[^i]|^w|^xH/,Fg=new Set(["draggable","spellcheck"]),Ng=/["&<]/;function Ni(e){if(e.length===0||Ng.test(e)===!1)return e;for(var t=0,n=0,r="",i="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:i=""";break;case 38:i="&";break;case 60:i="<";break;default:continue}n!==t&&(r+=e.slice(t,n)),r+=i,t=n+1}return n!==t&&(r+=e.slice(t,n)),r}var Vc={},zg=new Set(["animation-iteration-count","border-image-outset","border-image-slice","border-image-width","box-flex","box-flex-group","box-ordinal-group","column-count","fill-opacity","flex","flex-grow","flex-negative","flex-order","flex-positive","flex-shrink","flood-opacity","font-weight","grid-column","grid-row","line-clamp","line-height","opacity","order","orphans","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","widows","z-index","zoom"]),Hg=/[A-Z]/g;function Ug(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var i=n[0]=="-"?n:Vc[n]||(Vc[n]=n.replace(Hg,"-$&").toLowerCase()),o=";";typeof r!="number"||i.startsWith("--")||zg.has(i)||(o="px;"),t=t+i+":"+r+o}}return t||void 0}function Wc(){this.__d=!0}function jg(e,t){return{__v:e,context:t,props:e.props,setState:Wc,forceUpdate:Wc,__d:!0,__h:new Array(0)}}var Ps,Ln,jr,Vr,Ds={},Yc=[],Wr=Array.isArray,Bs=Object.assign,$t="";function qc(e,t,n){var r=Y.__s;Y.__s=!0,Ps=Y.__b,Ln=Y.diffed,jr=Y.__r,Vr=Y.unmount;var i=at(tt,null);i.__k=[e];try{var o=pn(e,t||Ds,!1,void 0,i,!1,n);return Wr(o)?o.join($t):o}catch(s){throw s.then?new Error('Use "renderToStringAsync" for suspenseful rendering.'):s}finally{Y.__c&&Y.__c(e,Yc),Y.__s=r,Yc.length=0}}function Kc(e,t){var n,r=e.type,i=!0;return e.__c?(i=!1,(n=e.__c).state=n.__s):n=new r(e.props,t),e.__c=n,n.__v=e,n.props=e.props,n.context=t,n.__d=!0,n.state==null&&(n.state=Ds),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=Bs({},n.state,r.getDerivedStateFromProps(n.props,n.state)):i&&n.componentWillMount?(n.componentWillMount(),n.state=n.__s!==n.state?n.__s:n.state):!i&&n.componentWillUpdate&&n.componentWillUpdate(),jr&&jr(e),n.render(n.props,n.state,t)}function pn(e,t,n,r,i,o,s){if(e==null||e===!0||e===!1||e===$t)return $t;var a=typeof e;if(a!="object")return a=="function"?$t:a=="string"?Ni(e):e+$t;if(Wr(e)){var l,c=$t;i.__k=e;for(var u=0;u<e.length;u++){var d=e[u];if(d!=null&&typeof d!="boolean"){var A,f=pn(d,t,n,r,i,o,s);typeof f=="string"?c+=f:(l||(l=[]),c&&l.push(c),c=$t,Wr(f)?(A=l).push.apply(A,f):l.push(f))}}return l?(c&&l.push(c),l):c}if(e.constructor!==void 0)return $t;e.__=i,Ps&&Ps(e);var h=e.type,p=e.props;if(typeof h=="function"){var g,b,w,y=t;if(h===tt){if("tpl"in p){for(var v=$t,_=0;_<p.tpl.length;_++)if(v+=p.tpl[_],p.exprs&&_<p.exprs.length){var k=p.exprs[_];if(k==null)continue;typeof k!="object"||k.constructor!==void 0&&!Wr(k)?v+=k:v+=pn(k,t,n,r,e,o,s)}return v}if("UNSTABLE_comment"in p)return"<!--"+Ni(p.UNSTABLE_comment)+"-->";b=p.children}else{if((g=h.contextType)!=null){var P=t[g.__c];y=P?P.props.value:g.__}var D=h.prototype&&typeof h.prototype.render=="function";if(D)b=Kc(e,y),w=e.__c;else{e.__c=w=jg(e,y);for(var C=0;w.__d&&C++<25;)w.__d=!1,jr&&jr(e),b=h.call(w,p,y);w.__d=!0}if(w.getChildContext!=null&&(t=Bs({},t,w.getChildContext())),D&&Y.errorBoundaries&&(h.getDerivedStateFromError||w.componentDidCatch)){b=b!=null&&b.type===tt&&b.key==null&&b.props.tpl==null?b.props.children:b;try{return pn(b,t,n,r,e,o,s)}catch(U){return h.getDerivedStateFromError&&(w.__s=h.getDerivedStateFromError(U)),w.componentDidCatch&&w.componentDidCatch(U,Ds),w.__d?(b=Kc(e,t),(w=e.__c).getChildContext!=null&&(t=Bs({},t,w.getChildContext())),pn(b=b!=null&&b.type===tt&&b.key==null&&b.props.tpl==null?b.props.children:b,t,n,r,e,o,s)):$t}finally{Ln&&Ln(e),e.__=null,Vr&&Vr(e)}}}b=b!=null&&b.type===tt&&b.key==null&&b.props.tpl==null?b.props.children:b;try{var E=pn(b,t,n,r,e,o,s);return Ln&&Ln(e),e.__=null,Y.unmount&&Y.unmount(e),E}catch(U){if(s&&s.onError){var I=s.onError(U,e,function(S){return pn(S,t,n,r,e,o,s)});if(I!==void 0)return I;var B=Y.__e;return B&&B(U,e),$t}throw U}}var T,R="<"+h,Q=$t;for(var O in p){var N=p[O];if(typeof N!="function"||O==="class"||O==="className"){switch(O){case"children":T=N;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in p)continue;O="for";break;case"className":if("class"in p)continue;O="class";break;case"defaultChecked":O="checked";break;case"defaultSelected":O="selected";break;case"defaultValue":case"value":switch(O="value",h){case"textarea":T=N;continue;case"select":r=N;continue;case"option":r!=N||"selected"in p||(R+=" selected")}break;case"dangerouslySetInnerHTML":Q=N&&N.__html;continue;case"style":typeof N=="object"&&(N=Ug(N));break;case"acceptCharset":O="accept-charset";break;case"httpEquiv":O="http-equiv";break;default:if(jc.test(O))O=O.replace(jc,"$1:$2").toLowerCase();else{if(Uc.test(O))continue;O[4]!=="-"&&!Fg.has(O)||N==null?n?Qg.test(O)&&(O=O==="panose1"?"panose-1":O.replace(/([A-Z])/g,"-$1").toLowerCase()):Rg.test(O)&&(O=O.toLowerCase()):N+=$t}}N!=null&&N!==!1&&(R=N===!0||N===$t?R+" "+O:R+" "+O+'="'+(typeof N=="string"?Ni(N):N+$t)+'"')}}if(Uc.test(h))throw new Error(h+" is not a valid HTML tag name in "+R+">");if(Q||(typeof T=="string"?Q=Ni(T):T!=null&&T!==!1&&T!==!0&&(Q=pn(T,t,h==="svg"||h!=="foreignObject"&&n,r,e,o,s))),Ln&&Ln(e),e.__=null,Vr&&Vr(e),!Q&&Vg.has(h))return R+"/>";var F="</"+h+">",x=R+">";return Wr(Q)?[x].concat(Q,[F]):typeof Q!="string"?[x,Q,F]:x+Q+F}var Vg=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]);function Is(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function Ts(e,t){this.props=e,this.context=t}function Wg(e,t){function n(i){var o=this.props.ref,s=o==i.ref;return!s&&o&&(o.call?o(null):o.current=null),t?!t(this.props,i)||!s:Is(this.props,i)}function r(i){return this.shouldComponentUpdate=n,at(e,i)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Ts.prototype=new De).isPureReactComponent=!0,Ts.prototype.shouldComponentUpdate=function(e,t){return Is(this.props,e)||Is(this.state,t)};var Gc=Y.__b;Y.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Gc&&Gc(e)};var Yg=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ge(e){function t(n){if(!("ref"in n))return e(n,null);var r=n.ref;delete n.ref;var i=e(n,r);return n.ref=r,i}return t.$$typeof=Yg,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Xc=function(e,t){return e==null?null:Re(Re(e).map(t))},qg={map:Xc,forEach:Xc,count:function(e){return e?Re(e).length:0},only:function(e){var t=Re(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Re},Kg=Y.__e;Y.__e=function(e,t,n,r){if(e.then){for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t)}Kg(e,t,n,r)};var Jc=Y.unmount;function Zc(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=function(r,i){for(var o in i)r[o]=i[o];return r}({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Zc(r,t,n)})),e}function $c(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return $c(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function zi(){this.__u=0,this.t=null,this.__b=null}function tu(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Gg(e){var t,n,r;function i(o){if(t||(t=e()).then(function(s){n=s.default||s},function(s){r=s}),r)throw r;if(!n)throw t;return at(n,o)}return i.displayName="Lazy",i.__f=!0,i}function Yr(){this.u=null,this.o=null}Y.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Jc&&Jc(e)},(zi.prototype=new De).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var i=tu(r.__v),o=!1,s=function(){o||(o=!0,n.__R=null,i?i(a):a())};n.__R=s;var a=function(){if(!--r.__u){if(r.state.__a){var l=r.state.__a;r.__v.__k[0]=$c(l,l.__c.__P,l.__c.__O)}var c;for(r.setState({__a:r.__b=null});c=r.t.pop();)c.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(s,s)},zi.prototype.componentWillUnmount=function(){this.t=[]},zi.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Zc(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&at(tt,null,e.fallback);return i&&(i.__u&=-33),[at(tt,null,t.__a?null:e.children),i]};var eu=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Xg(e){return this.getChildContext=function(){return e.context},e.children}function Jg(e){var t=this,n=e.i;t.componentWillUnmount=function(){rr(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),t.i.appendChild(r)},insertBefore:function(r,i){this.childNodes.push(r),t.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.i.removeChild(r)}}),rr(at(Xg,{context:t.context},e.__v),t.l)}function Zg(e,t){var n=at(Jg,{__v:e,i:t});return n.containerInfo=t,n}(Yr.prototype=new De).__a=function(e){var t=this,n=tu(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),eu(t,e,r)):i()};n?n(o):o()}},Yr.prototype.render=function(e){this.u=null,this.o=new Map;var t=Re(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Yr.prototype.componentDidUpdate=Yr.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){eu(e,n,t)})};var nu=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,$g=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,tm=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,em=/[A-Z0-9]/g,nm=typeof document<"u",rm=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function ru(e,t,n){return t.__k==null&&(t.textContent=""),rr(e,t),typeof n=="function"&&n(),e?e.__c:null}function iu(e,t,n){return dc(e,t),typeof n=="function"&&n(),e?e.__c:null}De.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(De.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var ou=Y.event;function im(){}function om(){return this.cancelBubble}function sm(){return this.defaultPrevented}Y.event=function(e){return ou&&(e=ou(e)),e.persist=im,e.isPropagationStopped=om,e.isDefaultPrevented=sm,e.nativeEvent=e};var Ms,am={enumerable:!1,configurable:!0,get:function(){return this.class}},su=Y.vnode;Y.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,i={},o=r.indexOf("-")===-1;for(var s in n){var a=n[s];if(!(s==="value"&&"defaultValue"in n&&a==null||nm&&s==="children"&&r==="noscript"||s==="class"||s==="className")){var l=s.toLowerCase();s==="defaultValue"&&"value"in n&&n.value==null?s="value":s==="download"&&a===!0?a="":l==="translate"&&a==="no"?a=!1:l[0]==="o"&&l[1]==="n"?l==="ondoubleclick"?s="ondblclick":l!=="onchange"||r!=="input"&&r!=="textarea"||rm(n.type)?l==="onfocus"?s="onfocusin":l==="onblur"?s="onfocusout":tm.test(s)&&(s=l):l=s="oninput":o&&$g.test(s)?s=s.replace(em,"-$&").toLowerCase():a===null&&(a=void 0),l==="oninput"&&i[s=l]&&(s="oninputCapture"),i[s]=a}}r=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=Re(n.children).forEach(function(c){c.props.selected=i.value.indexOf(c.props.value)!=-1})),r=="select"&&i.defaultValue!=null&&(i.value=Re(n.children).forEach(function(c){c.props.selected=i.multiple?i.defaultValue.indexOf(c.props.value)!=-1:i.defaultValue==c.props.value})),n.class&&!n.className?(i.class=n.class,Object.defineProperty(i,"className",am)):(n.className&&!n.class||n.class&&n.className)&&(i.class=i.className=n.className),t.props=i}(e),e.$$typeof=nu,su&&su(e)};var au=Y.__r;Y.__r=function(e){au&&au(e),Ms=e.__c};var lu=Y.diffed;Y.diffed=function(e){lu&&lu(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),Ms=null};var lm={ReactCurrentDispatcher:{current:{readContext:function(e){return Ms.__n[e.__c].props.value},useCallback:Z,useContext:ae,useDebugValue:yc,useDeferredValue:du,useEffect:ot,useId:bs,useImperativeHandle:ms,useInsertionEffect:fu,useLayoutEffect:se,useMemo:Ot,useReducer:Fr,useRef:nt,useState:G,useSyncExternalStore:hu,useTransition:Au}}};function cm(e){return at.bind(null,e)}function sr(e){return!!e&&e.$$typeof===nu}function um(e){return sr(e)&&e.type===tt}function dm(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Am(e){return sr(e)?hs.apply(null,arguments):e}function cu(e){return!!e.__k&&(rr(null,e),!0)}function fm(e){return e&&(e.base||e.nodeType===1&&e)||null}var hm=function(e,t){return e(t)},pm=function(e,t){return e(t)},gm=tt;function uu(e){e()}function du(e){return e}function Au(){return[!1,uu]}var fu=se,mm=sr;function hu(e,t){var n=t(),r=G({h:{__:n,v:t}}),i=r[0].h,o=r[1];return se(function(){i.__=n,i.v=t,Os(i)&&o({h:i})},[e,n,t]),ot(function(){return Os(i)&&o({h:i}),e(function(){Os(i)&&o({h:i})})},[e]),n}function Os(e){var t,n,r=e.v,i=e.__;try{var o=r();return!((t=i)===(n=o)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}var H={useState:G,useId:bs,useReducer:Fr,useEffect:ot,useLayoutEffect:se,useInsertionEffect:fu,useTransition:Au,useDeferredValue:du,useSyncExternalStore:hu,startTransition:uu,useRef:nt,useImperativeHandle:ms,useMemo:Ot,useCallback:Z,useContext:ae,useDebugValue:yc,version:"18.3.1",Children:qg,render:ru,hydrate:iu,unmountComponentAtNode:cu,createPortal:Zg,createElement:at,createContext:pe,createFactory:cm,cloneElement:Am,createRef:jp,Fragment:tt,isValidElement:sr,isElement:mm,isFragment:um,isMemo:dm,findDOMNode:fm,Component:De,PureComponent:Ts,memo:Wg,forwardRef:ge,flushSync:pm,unstable_batchedUpdates:hm,StrictMode:gm,Suspense:zi,SuspenseList:Yr,lazy:Gg,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:lm};function pu(e){return{render:function(t){ru(t,e)},unmount:function(){cu(e)}}}function bm(e,t){return iu(t,e),pu(e)}const vm={createRoot:pu,hydrateRoot:bm},ym={renderToString:qc,renderToStaticMarkup:qc};function Hi(){return Hi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hi.apply(null,arguments)}function gu(e,t){t===void 0&&(t={});var n=t.insertAt;if(e&&typeof document<"u"){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",n==="top"&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}gu('.rcb-chat-header-container{border-bottom:1px solid #ccc;color:#fff;display:flex;justify-content:space-between;max-height:55px;padding:12px}.rcb-chat-header{display:flex;flex-direction:row}.rcb-bot-avatar{background-size:cover;border-radius:50%;height:30px;margin-right:12px;width:30px}.rcb-message-prompt-container.visible{align-items:center;animation:rcb-animation-pop-in .3s ease-in-out;bottom:0;display:flex;justify-content:center;margin:auto;opacity:1;pointer-events:auto;position:sticky}.rcb-message-prompt-container.hidden{height:0;opacity:0;pointer-events:none;visibility:hidden}.rcb-message-prompt-text{background-color:#fff;border:.5px solid #adadad;border-radius:20px;color:#adadad;cursor:pointer;font-size:12px;padding:6px 12px;transition:color .3s ease,border-color .3s ease;z-index:9999}.rcb-message-prompt-container.hidden .rcb-message-prompt-text{padding:0}.rcb-user-message-container{display:flex;flex-direction:row;justify-content:right}.rcb-user-message{border-radius:22px;font-size:15px;height:fit-content;margin-right:16px;margin-top:8px;min-height:20px;overflow:auto;overflow-wrap:anywhere;padding:12px 16px;text-align:right;white-space:pre-wrap;width:fit-content}.rcb-user-message-offset{margin-right:50px}.rcb-user-message-entry{animation:rcb-animation-user-message-entry .3s ease-in backwards}.rcb-message-user-avatar{background-size:cover;border-radius:50%;height:40px;margin-left:-10px;margin-right:6px;margin-top:9px;width:40px}.rcb-bot-message-container{display:flex;flex-direction:row}.rcb-bot-message{border-radius:22px;font-size:15px;height:fit-content;margin-left:16px;margin-top:8px;min-height:20px;overflow:auto;overflow-wrap:anywhere;padding:12px 16px;text-align:left;white-space:pre-wrap;width:fit-content}.rcb-bot-message-offset{margin-left:50px}.rcb-bot-message-entry{animation:rcb-animation-bot-message-entry .3s ease-in backwards}.rcb-message-bot-avatar{background-size:cover;border-radius:50%;height:40px;margin-left:6px;margin-right:-10px;margin-top:9px;width:40px}.rcb-typing-indicator{align-items:center;display:flex}.rcb-dot{animation:rcb-animation-bot-typing 1s infinite;background-color:#ccc;border-radius:50%;height:8px;margin-right:4px;width:8px}.rcb-dot:nth-child(2){animation-delay:.2s}.rcb-dot:nth-child(3){animation-delay:.4s}.rcb-chat-body-container{height:100%;overflow-x:hidden;overflow-y:scroll;padding-bottom:16px;position:relative;touch-action:pan-y;width:100%}.rcb-chat-body-container::-webkit-scrollbar-track{background-color:#f1f1f1}.rcb-chat-body-container::-webkit-scrollbar-thumb{background-color:#ddd;border-radius:4px}.rcb-chat-body-container::-webkit-scrollbar-thumb:hover{background-color:#cfcfcf}.rcb-chat-body-container::-webkit-scrollbar-corner{background-color:#f1f1f1}.rcb-checkbox-container{display:flex;flex-wrap:wrap;gap:10px;margin-left:16px;padding-top:12px}.rcb-checkbox-offset{margin-left:50px!important}.rcb-checkbox-row-container{align-items:center;animation:rcb-animations-checkboxes-entry .5s ease-out;background-color:#fff;border-radius:10px;border-style:solid;border-width:.5px;cursor:pointer;display:flex;gap:5px;max-height:32px;min-height:30px;overflow:hidden;width:80%}.rcb-checkbox-row-container:hover{box-shadow:0 0 5px #0003}.rcb-checkbox-row{align-items:center;cursor:pointer;display:inline-flex;margin-left:10px}.rcb-checkbox-mark{align-items:center;background-color:#f2f2f2;border:none;border-radius:50%;cursor:pointer;display:flex;height:20px;justify-content:center;margin-right:10px;transition:all .3s ease;width:20px}.rcb-checkbox-mark:hover{background-color:#c2c2c2}.rcb-checkbox-mark:before{content:"✓";transition:all .3s ease}.rcb-checkbox-label{font-size:14px}.rcb-checkbox-next-button{align-items:center;animation:rcb-animations-checkboxes-entry .5s ease-out;background-color:#fff;border-radius:10px;border-style:solid;border-width:.5px;cursor:pointer;display:inline-block;font-size:24px;max-height:32px;min-height:30px;text-align:center;width:80%}.rcb-checkbox-next-button:before{content:"→"}.rcb-checkbox-next-button:hover{box-shadow:0 0 5px #0003}.rcb-options-container{display:flex;flex-wrap:wrap;gap:10px;margin-left:16px;max-width:70%;padding-top:12px}.rcb-options-offset{margin-left:50px!important}.rcb-options{align-items:center;animation:rcb-animation-options-entry .5s ease-out;border-radius:20px;border-style:solid;border-width:.5px;cursor:pointer;display:inline-flex;font-size:14px;justify-content:center;overflow:hidden;padding:10px 20px;transition:background-color .3s ease}.rcb-options:hover{box-shadow:0 0 5px #0003}.rcb-line-break-container{align-items:center;display:flex;justify-content:center;max-height:45px;padding-bottom:5px;padding-top:10px}.rcb-line-break-text{color:#adadad;font-size:12px;padding:6px 12px}.rcb-spinner-container{align-items:center;display:flex;justify-content:center;max-height:45px;min-height:35px;padding-bottom:5px;padding-top:10px}.rcb-spinner{animation:rcb-animation-spin 1s linear infinite;border:4px solid #f3f3f3;border-radius:50%;height:22px;width:22px}.rcb-chat-input{align-items:center;background-color:#fff;border-top:1px solid #ccc;display:flex;padding:8px 16px}.rcb-chat-input::placeholder{color:#999}.rcb-chat-input-textarea{background-color:#fff;border:none;border-radius:4px;color:#000;flex:1;font-family:inherit;font-size:16px;height:auto;min-height:38px;outline:none;overflow-y:scroll;padding:8px;resize:none;touch-action:none}.rcb-chat-input-textarea::-webkit-scrollbar,.rcb-chat-input-textarea::-webkit-scrollbar-thumb{background-color:initial}.rcb-chat-input-textarea::-webkit-scrollbar-thumb:hover{background-color:initial}.rcb-chat-input-char-counter{font-size:14px;margin-left:8px;margin-top:3px}.rcb-chat-footer-container{align-items:flex-end;background-color:#f2f2f2;border-top:1px solid #ccc;color:#000;display:flex;font-size:12px;justify-content:space-between;max-height:55px;padding:12px 16px 8px 10px}.rcb-chat-footer,.rcb-toggle-button{display:flex;flex-direction:row}.rcb-toggle-button{border:none;border-radius:50%;bottom:20px;box-shadow:0 2px 4px #0003;cursor:pointer;height:75px;position:fixed;right:20px;width:75px;z-index:9999}.rcb-toggle-button.rcb-button-hide{animation:rcb-animation-collapse .3s ease-in-out forwards;opacity:0;visibility:hidden}.rcb-toggle-button.rcb-button-show{animation:rcb-animation-expand .3s ease-in-out forwards;opacity:1;visibility:visible}.rcb-toggle-icon{background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:inherit;height:100%;margin:auto;width:100%}.rcb-badge,.rcb-toggle-icon{align-items:center;display:flex;justify-content:center}.rcb-badge{background-color:red;border-radius:50%;color:#fff;height:25px;position:absolute;right:-6px;top:-6px;width:25px}.rcb-chat-tooltip{border-radius:20px;box-shadow:0 2px 6px #0003;cursor:pointer;font-size:20px;padding:16px;position:fixed;transition:transform .3s ease;white-space:nowrap;z-index:9999}.rcb-chat-tooltip-tail{border-style:solid;border-width:10px 0 10px 10px;content:"";margin-top:-10px;position:absolute;right:-10px;top:50%}.rcb-chat-tooltip.rcb-tooltip-hide{animation:rcb-animation-tooltip-out .5s ease-in-out;opacity:0;visibility:hidden}.rcb-chat-tooltip.rcb-tooltip-show{animation:rcb-animation-tooltip-in .5s ease-in-out;opacity:1;visibility:visible}.rcb-toast-prompt{animation:rcb-animation-pop-in .3s ease-in-out;background-color:#fff;border:.5px solid #7a7a7a;border-radius:5px;color:#7a7a7a;cursor:pointer;font-size:12px;margin-top:6px;padding:6px 12px;text-align:center;transition:color .3s ease,border-color .3s ease;width:100%;z-index:9999}.rcb-toast-prompt-container{align-items:center;animation:popIn .3s ease-in-out;bottom:0;display:flex;flex-direction:column;justify-content:flex-end;left:50%;margin:200 auto auto;opacity:1;pointer-events:auto;position:absolute;transform:translate(-50%)}.rcb-media-display-image-container,.rcb-media-display-video-container{border-radius:22px;margin-right:16px;margin-top:8px;padding:16px;width:fit-content}.rcb-media-display-offset{margin-right:50px!important}.rcb-media-display-image{border-radius:22px;height:auto;object-fit:cover;width:100%}.rcb-media-display-video{background-color:#000;border-radius:22px;height:auto;width:100%}.rcb-media-display-audio{border-radius:22px;height:auto;margin-right:16px;margin-top:8px;width:100%}.rcb-media-entry{animation:rcb-animation-user-message-entry .3s ease-in backwards}.rcb-attach-button-disabled,.rcb-attach-button-enabled{background-size:cover;border-radius:6px;display:inline-block;height:30px;position:relative;text-align:center;width:30px}.rcb-attach-button-disabled input[type=file],.rcb-attach-button-enabled input[type=file]{display:none;height:100%;position:absolute;width:100%}.rcb-attach-button-enabled{cursor:pointer}.rcb-attach-button-disabled{opacity:.5}.rcb-attach-button-enabled:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-attach-button-enabled:hover:after{height:130%;opacity:1;width:130%}.rcb-attach-icon-disabled,.rcb-attach-icon-enabled{background-repeat:no-repeat;background-size:cover;display:inline-block;height:24px;margin-top:2px;transition:background-image .3s ease;width:24px}.rcb-attach-icon-enabled{cursor:pointer}.rcb-emoji-button-disabled,.rcb-emoji-button-enabled{background-size:cover;border-radius:6px;cursor:pointer;display:inline-block;height:30px;position:relative;text-align:center;width:30px}.rcb-emoji-icon-disabled,.rcb-emoji-icon-enabled{background-repeat:no-repeat;background-size:cover;display:inline-block;font-size:20px;height:24px;margin-top:2px;position:relative;width:24px}.rcb-emoji-icon-enabled{cursor:pointer}.rcb-emoji-icon-disabled{opacity:.5}.rcb-emoji-button-enabled:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-emoji-button-enabled:hover:after{height:130%;opacity:1;width:130%}.rcb-emoji-button-popup{background-color:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 2px 4px #0003;max-height:200px;overflow-y:auto;padding:8px;position:absolute;transform:translateY(calc(-100% - 30px));width:158px}.rcb-emoji{cursor:pointer;font-size:24px;padding:3px;transition:transform .2s ease-in-out}.rcb-emoji:hover{transform:scale(1.2)}.rcb-audio-icon{background-size:cover;border:none;cursor:pointer;display:inline-block;height:30px;margin-left:5px;position:relative;width:30px}.rcb-audio-icon:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-audio-icon:hover:after{height:130%;opacity:1;width:130%}.rcb-close-chat-icon{background-size:cover;border:none;cursor:pointer;display:inline-block;height:30px;margin-left:5px;position:relative;width:30px}.rcb-close-chat-icon:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-close-chat-icon:hover:after{height:130%;opacity:1;width:130%}.rcb-notification-icon{background-size:cover;border:none;cursor:pointer;display:inline-block;height:30px;margin-left:5px;position:relative;width:30px}.rcb-notification-icon:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-notification-icon:hover:after{height:130%;opacity:1;width:130%}.rcb-voice-button-disabled,.rcb-voice-button-enabled{align-items:center;background-color:#fff;border-radius:4px;box-shadow:0 0 3px #0000004d;cursor:pointer;display:inline-flex;height:32px;justify-content:center;margin-left:8px;text-transform:uppercase;transition:all .3s ease;width:32px}.rcb-voice-button-enabled{border:1px solid red;box-shadow:0 0 3px #ff000080}.rcb-voice-button-enabled:hover{border:1px solid #3d0000}.rcb-voice-button-disabled{border:1px;border-color:#0003;border-style:solid}.rcb-voice-button-disabled:hover{box-shadow:0 0 3px #8a0000}.rcb-voice-icon{background-position:50%;background-repeat:no-repeat;background-size:cover;background-size:contain;height:60%;object-fit:cover;width:60%}.rcb-voice-icon.on{animation:rcb-animation-ping 1s infinite}.rcb-send-button{border:none;border-radius:4px;box-shadow:0 0 3px #0000004d;cursor:pointer;display:inline-flex;height:32px;justify-content:center;margin-left:8px;text-transform:uppercase;transition:background-color .3s ease;width:51px}.rcb-send-icon{background-position:50%;background-repeat:no-repeat;background-size:cover;background-size:contain;height:50%;object-fit:cover;transform:translateY(20%);width:50%}.rcb-view-history-container{align-items:center;display:flex;justify-content:center;max-height:45px;min-height:35px;padding-bottom:5px;padding-top:10px}.rcb-view-history-button{align-items:center;background-color:#fff;border:.5px solid #adadad;border-radius:20px;color:#adadad;cursor:pointer;display:inline-flex;font-size:12px;justify-content:center;max-width:60%;padding:6px 12px;transition:color .3s ease,border-color .3s ease}.rcb-view-history-button>p{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rcb-chatbot-global{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.5;z-index:9999}.rcb-chat-window{background-color:#fff;border-radius:10px;bottom:20px;box-shadow:0 2px 4px #0003;display:flex;flex-direction:column;height:550px;overflow:hidden;position:fixed;right:20px;transition:all .3s ease;width:375px}.rcb-window-embedded .rcb-chat-window{bottom:auto;opacity:1;position:relative;right:auto;visibility:visible}.rcb-window-open .rcb-chat-window{animation:rcb-animation-expand .3s ease-in-out forwards;opacity:1;visibility:visible}.rcb-window-close .rcb-chat-window{animation:rcb-animation-collapse .3s ease-in-out forwards;opacity:0;visibility:hidden}@keyframes rcb-animation-expand{0%{opacity:0;transform:translate(100%,100%) scale(0)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes rcb-animation-collapse{0%{opacity:1;transform:translate(0) scale(1)}to{opacity:0;transform:translate(100%,100%) scale(0)}}@keyframes rcb-animation-ping{0%{filter:brightness(100%);opacity:1}50%{filter:brightness(50%);opacity:.8}}@keyframes rcb-animation-bot-message-entry{0%{opacity:0;transform:translate(-100%,50%) scale(0)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes rcb-animation-user-message-entry{0%{opacity:0;transform:translate(100%,50%) scale(0)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes rcb-animation-bot-typing{0%{opacity:.4}50%{opacity:1}to{opacity:.4}}@keyframes rcb-animation-pop-in{0%{opacity:0;transform:scale(.8)}70%{opacity:1;transform:scale(1.1)}to{transform:scale(1)}}@keyframes rcb-animations-checkboxes-entry{0%{opacity:0;transform:translate(-100%)}to{opacity:1;transform:translate(0)}}@keyframes rcb-animation-options-entry{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes rcb-animation-tooltip-in{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@keyframes rcb-animation-tooltip-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-5px)}}@keyframes rcb-animation-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}',{insertAt:"top"});const It={AUDIO_BUTTON:"audio-button",NOTIFICATION_BUTTON:"notification-button",CLOSE_CHAT_BUTTON:"close-chat-button",SEND_MESSAGE_BUTTON:"send-button",VOICE_MESSAGE_BUTTON:"voice-button",FILE_ATTACHMENT_BUTTON:"file-attachment-button",EMOJI_PICKER_BUTTON:"emoji-button"},mu="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml:space='preserve'%20viewBox='0%200%201000%201000'%3e%3crect%20width='100%25'%20height='100%25'%20fill='%23fff'/%3e%3cg%3e%3crect%20width='45'%20height='30'%20x='-22.5'%20y='-15'%20rx='1.5'%20ry='1.5'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2337547a;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20-99%20362)%20scale(3.4003)'/%3e%3cpath%20d='M0%2075q14%200%2014%2017%200%2016-14%2016Z'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2398b0ca;fill-rule:nonzero;opacity:1'%20transform='rotate(180%20106%20386)%20scale(3.4003)'/%3e%3crect%20width='25'%20height='4'%20x='-12.5'%20y='-2'%20rx='.2'%20ry='.2'%20style='stroke:%2346648c;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2346648c;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20-46%20282)%20scale(3.4003)'/%3e%3cpath%20d='M19%2065h4l5%204v1H14v-1Z'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2346648c;fill-rule:nonzero;opacity:1'%20transform='translate(165%20150)%20scale(3.4003)'/%3e%3crect%20width='25'%20height='2'%20x='-12.5'%20y='-1'%20rx='.1'%20ry='.1'%20style='stroke:%2398b0ca;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2398b0ca;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20-3%20240)%20scale(3.4003)'/%3e%3ccircle%20r='7.5'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23a478fc;fill-rule:nonzero;opacity:1'%20transform='translate(236%20175)%20scale(3.4003)'/%3e%3crect%20width='45'%20height='30'%20x='-22.5'%20y='-15'%20rx='1.5'%20ry='1.5'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2337547a;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20139%20600)%20scale(3.4003)'/%3e%3cpath%20d='M184%2075q14%200%2014%2017%200%2016-14%2016Z'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2398b0ca;fill-rule:nonzero;opacity:1'%20transform='translate(165%20150)%20scale(3.4003)'/%3e%3crect%20width='25'%20height='4'%20x='-12.5'%20y='-2'%20rx='.2'%20ry='.2'%20style='stroke:%2346648c;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2346648c;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20219%20548)%20scale(3.4003)'/%3e%3cpath%20d='M175%2065h4l5%204v1h-14v-1Z'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2346648c;fill-rule:nonzero;opacity:1'%20transform='translate(165%20150)%20scale(3.4003)'/%3e%3crect%20width='25'%20height='2'%20x='-12.5'%20y='-1'%20rx='.1'%20ry='.1'%20style='stroke:%2398b0ca;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2398b0ca;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20262%20505)%20scale(3.4003)'/%3e%3ccircle%20r='7.5'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23a478fc;fill-rule:nonzero;opacity:1'%20transform='translate(767%20175)%20scale(3.4003)'/%3e%3crect%20width='116.7'%20height='70'%20x='-58.4'%20y='-35'%20rx='31.5'%20ry='31.5'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2371c9fc;fill-rule:nonzero;opacity:1'%20transform='translate(502%20877)%20scale(3.4003)'/%3e%3crect%20width='60'%20height='20'%20x='-30'%20y='-10'%20rx='3'%20ry='3'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2337547a;fill-rule:nonzero;opacity:1'%20transform='translate(502%20728)%20scale(3.4003)'/%3e%3ccircle%20r='75'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2371c9fc;fill-rule:nonzero;opacity:1'%20transform='translate(502%20473)%20scale(3.4003)'/%3e%3crect%20width='129.4'%20height='82.3'%20x='-64.7'%20y='-41.1'%20rx='37'%20ry='37'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23fff;fill-rule:nonzero;opacity:1'%20transform='translate(502%20464)%20scale(3.4003)'/%3e%3crect%20width='108'%20height='68.6'%20x='-54'%20y='-34.3'%20rx='30.9'%20ry='30.9'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23162334;fill-rule:nonzero;opacity:1'%20transform='translate(502%20464)%20scale(3.4003)'/%3e%3ccircle%20r='19.4'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23a478fc;fill-rule:nonzero;opacity:1'%20transform='translate(415%20464)%20scale(3.4003)'/%3e%3ccircle%20r='19.4'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23a478fc;fill-rule:nonzero;opacity:1'%20transform='translate(591%20464)%20scale(3.4003)'/%3e%3crect%20width='96'%20height='53.2'%20x='-48'%20y='-26.6'%20rx='23.9'%20ry='23.9'%20style='stroke:%23162334;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23162334;fill-rule:nonzero;opacity:1'%20transform='translate(503%20875)%20scale(3.4003)'/%3e%3cpath%20stroke-linecap='round'%20d='m68%20215%207-15M81%20222l-7-22M81%20222l7-14M101%20208H87M114%20219l-7-24M113%20219l13-22M131%20214l-5-17M148%20214h-18M69%20214H51M100%20209l7-15'%20style='stroke:%23a478fc;stroke-width:3;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:10;is-custom-font:none;font-file-url:none;fill:none;fill-rule:nonzero;opacity:1'%20transform='translate(165%20150)%20scale(3.4003)'/%3e%3c/g%3e%3c/svg%3e",bu=ge((e,t)=>at("svg",{viewBox:"0 0 637 637",ref:t,...e},at("path",{d:"m478 113-13 2-4 1h4l14-2c10-2 35-2 42-1l6 3 3 1c3 0-4-3-8-5-7-1-34-1-44 1m56 6 8 6c7 5 20 17 20 19s7 12 8 12l-3-6-4-6c0-3-15-17-25-24-5-3-8-4-4-1m-198 16-9 1a512 512 0 0 1 9-1m-180 30a412 412 0 0 0-23 4 167 167 0 0 0-32 8 439 439 0 0 1 46-9 304 304 0 0 1 11-2l6-1h-8m369 8 4 3-7-6c-1 0 0 2 3 3m-439 9c-7 3-18 13-18 15l6-5c5-5 9-8 14-10l6-4-8 4m442 12-10 11-7 6 7-6c7-5 14-14 13-16l-3 5M65 205l-1 11c0 9 0 10 4 17 5 10 7 12 22 11 10 0 15 0 38-5l5-1-6 1-16 2-21 2c-13 1-16-1-21-10-3-5-4-6-4-15l1-12c1-4 1-5-1-1m335 1c3 0 3 1 3 3l-2 6c-2 5-35 39-76 80-53 51-120 117-138 137-21 24-22 25-22 27 0 3 6 9 9 9 4 0 14-8 38-27a5073 5073 0 0 1 15-16 1421 1421 0 0 0-17 15l-31 25-6 2-4-3c-3-3-3-4-2-6 3-8 79-85 160-163 57-57 79-80 79-86 0-2-3-4-7-4-2 0-2 0 1 1m165 18c-9 17-25 32-57 53l-10 8 16-11 12-8c15-10 27-22 39-39 5-7 6-8 4-8l-4 5m-221 2a199 199 0 0 0-19 10 183 183 0 0 1 27-12c0-1-1-1-8 2m-34 16c-3 3-2 3 2 0l1-2-3 2m151 3-1 2 2-2c3-3 2-3-1 0m-16 12-11 10a281 281 0 0 0 11-10m-24 18-7 5-7 5-42 31c-10 7-24 19-22 19l7-6 16-12a343 343 0 0 0 35-25 573 573 0 0 0 20-17m-187 0-2 2 4-2 3-2-5 2m-14 6-3 2 4-1 4-3-5 2m-7 3-8 4-18 8 18-7 7-3 3-1c1-2 0-2-2-1m254 24a2672 2672 0 0 1-71 54 601 601 0 0 0 39-29 1352 1352 0 0 1 32-25m-291-8-2 2 4-2 3-2-5 2m-13 5-2 2h3c5-3 4-4-1-2m-19 9-7 3-13 6c-10 5-13 7-14 10-3 4-2 5 1 0 2-3 5-5 14-9l13-6 12-6-6 2m178 36c-17 12-21 16-21 17a390 390 0 0 1 20-17m-206 34 1 4 1 3 1 5 2 8 1 5v-6l-1-8-2-5-1-4-1-2c-1-2-1-2-1 0m222 23-9 7a683 683 0 0 0-56 44 261 261 0 0 0-26 20 1345 1345 0 0 0-46 34c-6 3-7 3-19 3-11 0-12 0-18-3-8-4-10-8-17-20l-5-10 4 10c5 10 12 18 19 22 4 2 6 2 17 2 13 0 14 0 21-3l26-19 42-33a2183 2183 0 0 0 43-34 643 643 0 0 1 24-20",fill:"#fff",fillRule:"evenodd"}),at("path",{d:"M478 114a620 620 0 0 1-39 6l-21 3a5481 5481 0 0 0-19 3 870 870 0 0 1-54 8l-1 1-6 1-12 2-13 2a992 992 0 0 0-76 12 400 400 0 0 1-45 8l-6 1-5 1h-3l-3 1-2 1-26 4-13 2-17 3c-23 5-33 9-43 19-7 8-9 13-9 27 0 8 1 9 4 14 5 9 8 11 21 10l21-2a1133 1133 0 0 1 23-4 659 659 0 0 0 74-14l3-1h3l3-1h3l2-1 2-1h3l2-1h2l24-5 38-7a2100 2100 0 0 1 93-18l3-1 10-1a2082 2082 0 0 1 120-17l2 1c2 0 8 5 8 7l1 2 1 6c0 4 0 6-3 10-2 4-16 16-18 16l-7 5-10 8a1070 1070 0 0 0-11 7 113 113 0 0 1-20 14l-2 2-3 2-2 2h-1a154 154 0 0 1-28 21l-5 4-5 4a573 573 0 0 1-50 37 175 175 0 0 0-24 18l-1 2-2 1-2 1-2 1-1 1-12 10a396 396 0 0 0-32 25l-8 6-6 5-9 7a326 326 0 0 1-25 20l-13 12a5073 5073 0 0 0-17 15c-24 20-34 27-39 27-2 0-8-6-8-9 0-2 1-3 22-27 18-20 85-86 138-137 41-41 74-75 76-80l2-6c0-2 0-3-2-3l-7 1a233 233 0 0 1-26 9l-1 1-1 1h-1l-1 1h-2l-3 2-1 1h-2l-3 2h-1l-5 2-22 10-9 4-4 2-5 2-10 4-2 1-2 1-2 1-13 6a334 334 0 0 1-38 17 75 75 0 0 0-14 6l-5 2-4 1-2 1-3 2-7 3-16 6a247 247 0 0 0-32 14l-1 1h-2l-1 1h-2l-1 1-12 6a103 103 0 0 0-27 15l-2 5-1 1v11l1 5 1 5 1 4c0 3 0 4 2 4v3l1 3 1 2 2 10 1 4 1 5 2 10 2 8 1 4 1 4c3 3 9 25 11 38l1 7v2l1 4v1l1 1v2l1 2 1 3v1l5 10c7 13 9 16 17 20 6 3 7 3 18 3 12 0 13 0 19-3 8-4 11-6 26-18a1345 1345 0 0 1 85-67 683 683 0 0 1 50-39l12-9a513 513 0 0 1 44-33 201 201 0 0 0 22-17 2270 2270 0 0 0 73-54 158 158 0 0 0 58-59c2 0 3-9 4-27l-1-19-1-4-1-6-1-3-4-6-4-6c0-2-6-8-13-14a77 77 0 0 0-28-18c-6-1-34-1-43 1"}))),vu=ge((e,t)=>at("svg",{viewBox:"0 -960 960 960",ref:t,...e},at("path",{d:"M765-321q0 117-84 196-83 80-200 80-118 0-200-80t-83-196v-392q0-85 61-144 61-58 146-58 86 0 147 58 61 59 61 144v374q0 54-39 92-39 37-93 37-55 0-93-37-38-38-38-92v-372h110v372q0 9 6 14t15 5q8 0 15-5t7-14v-374q0-39-29-66t-68-27q-40 0-69 27t-29 66v392q0 71 51 119t122 48q71 0 122-48t51-119v-426h111v426Z"}))),wm=ge((e,t)=>at("svg",{viewBox:"0 -960 960 960",ref:t,...e},at("path",{d:"M125-165v-113h77v-273q0-93 55-167 56-75 146-100v-19q0-32 22-55 23-23 55-23t55 23q22 23 22 55v19q90 25 146 99 56 73 56 168v273h77v113H125ZM480-32q-38 0-66-27-27-27-27-66h186q0 39-27 66t-66 27Z"}))),xm=ge((e,t)=>at("svg",{viewBox:"0 -960 960 960",ref:t,...e},at("path",{d:"M137-190v-113h78v-253q0-41 11-79 11-39 35-71l-9 150h10L17-802l74-74L873-92l-74 74-175-172H137Zm609-149L319-769q20-15 41-25t44-16v-28q0-32 22-54t54-22q32 0 55 22t22 54v28q85 23 137 94t52 160v217ZM481-47q-38 0-65-27t-27-65h184q0 38-27 65t-65 27Z"}))),km=ge((e,t)=>at("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",ref:t,...e},at("g",{strokeLinecap:"round",strokeWidth:10},at("path",{d:"m19 19 61 61M80 19 19 80"})))),_m=ge((e,t)=>at("svg",{viewBox:"0 -960 960 960",ref:t,...e},at("path",{d:"M94-136v-255l351-93-351-92v-253l816 346L94-136Z"}))),Sm=ge((e,t)=>at("svg",{viewBox:"0 -960 960 960",ref:t,...e},at("path",{d:"M480-372q-61 0-105-43-43-43-43-105v-240q0-61 43-105 43-43 105-43 61 0 105 43 43 44 43 105v240q0 62-43 105t-105 43ZM425-76v-122q-121-16-197-108t-76-214h109q0 91 64 154t155 63q91 0 155-63t64-154h109q0 122-77 214T534-198v122H425Z"}))),Em=ge((e,t)=>at("svg",{viewBox:"0 -960 960 960",ref:t,...e},at("path",{d:"m763-343-80-79q8-20 13-44 5-23 5-54h109q0 49-11 95t-36 82ZM625-482 336-770v-2q3-56 45-96t101-40q62 0 105 43t43 105v249l-1 17q-1 7-4 12ZM427-76v-122q-120-16-196-108-77-92-77-214h109q0 91 64 154t155 63q43 0 80-14 37-15 67-41l78 79q-35 32-78 53t-93 28v122H427Zm362 27L41-796l75-75 748 748-75 74Z"}))),yu=ge((e,t)=>at("svg",{viewBox:"0 -960 960 960",ref:t,...e},at("path",{d:"M625-511q29 0 50-21t20-50q0-29-20-50-21-20-50-20t-50 20-20 50q0 29 20 50 21 21 50 21Zm-290 0q29 0 50-21t20-49q0-30-20-50t-50-21q-29 0-50 20-20 21-20 50 0 30 20 50 21 21 50 21Zm145 268q75 0 137-43t85-115H258q24 72 85 115 62 43 137 43Zm0 198q-90 0-170-34-79-34-138-93T79-310q-34-80-34-170t34-170q34-79 93-138t138-93q80-34 170-34t170 34q79 34 138 93t93 138q34 80 34 170t-34 170q-34 79-93 138T650-79q-80 34-170 34Zm0-435Zm0 322q134 0 228-94t94-228q0-134-94-228t-228-94q-134 0-228 94t-94 228q0 134 94 228t228 94Z"}))),Cm=ge((e,t)=>at("svg",{viewBox:"0 -960 960 960",ref:t,...e},at("path",{d:"M553-64v-108q107-27 173-113 67-87 67-197 0-109-67-195T553-789v-108q152 26 249 144 97 117 97 271 0 155-97 273T553-64ZM61-335v-290h176l236-237v764L237-335H61Zm492 28v-346q51 23 82 70t31 103-31 103q-31 47-82 70Z"}))),Pm=ge((e,t)=>at("svg",{viewBox:"0 -960 960 960",ref:t,...e},at("path",{d:"M807-15 700-123q-33 21-71 37-38 15-80 22v-108q20-4 38-12l35-17-153-154v257L234-335H57v-290h144L10-818l74-75L882-90l-75 75Zm37-264-80-79q13-30 19-60 7-31 7-64 0-109-68-195-67-86-173-112v-108q152 26 249 144 98 117 98 271 0 55-14 107-13 51-38 96ZM661-462 549-575v-78q51 23 83 70 31 47 31 103l-1 9-1 9ZM469-655 366-759l103-103v207Z"}))),wu={general:{primaryColor:"#42b0c5",secondaryColor:"#491d8d",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif",showHeader:!0,showFooter:!0,showInputRow:!0,actionDisabledIcon:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2042%2042'%3e%3cpath%20style='fill:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke:%23b00000;stroke-opacity:1;stroke-miterlimit:4'%20d='M17%209a8%208%200%200%201-8%208%208%208%200%200%201-8-8%208%208%200%200%201%208-8%208%208%200%200%201%208%208Zm0%200'%20transform='rotate(.086)%20scale(1.77778)'/%3e%3cpath%20style='fill:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke:%23b00000;stroke-opacity:1;stroke-miterlimit:10'%20d='M14.66%2014.66%203.34%203.34'%20transform='rotate(.086)%20scale(1.77778)'/%3e%3c/svg%3e",embedded:!1,flowStartTrigger:"ON_LOAD"},tooltip:{mode:"CLOSE",text:"Talk to me! 😊"},chatButton:{icon:bu},header:{title:m("div",{style:{cursor:"pointer",margin:0,fontSize:20,fontWeight:"bold"},onClick:()=>window.open("https://github.com/tjtanjin/"),children:"Tan Jin"}),showAvatar:!0,avatar:mu,buttons:[It.NOTIFICATION_BUTTON,It.AUDIO_BUTTON,It.CLOSE_CHAT_BUTTON],closeChatIcon:km},notification:{disabled:!1,defaultToggledOn:!0,volume:.2,icon:wm,iconDisabled:xm,sound:"data:audio/wav;base64,UklGRmaIAABXQVZFZm10IBAAAAABAAIAQB8AAAB9AAAEABAATElTVBoAAABJTkZPSVNGVA4AAABMYXZmNjAuMTYuMTAwAGRhdGEgiAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////AAAAAAAA//////7/////////AAABAAAAAgABAAEAAQAAAAIAAQABAP//AAD+////AAD+//7////+////AAD//wAA/v8AAAAA/v8AAP//AAAAAAAAAgD////////+////AAABAAEAAgD/////AQABAAAA//8CAP//AAAAAAAA/v8AAAAA//8AAAEA//8EAAAAAAAAAAAA//8BAP//AQABAAEA/////wEA/v///wAAAAACAAAAAAABAAAA//8AAP//AAACAP//////////AAAAAAEAAAAAAAEA//8AAAEAAQADAAIAAgAAAAAA/v///wEAAAAAAAEAAAAAAAEA//8AAAEAAQD//wAA//8AAAEAAAABAAEAAAABAP//AAD//wAAAgAAAP//AQD/////AAAAAP7/AgAAAAIAAAAAAAAAAAABAAAAAQABAP//AAABAP///v8AAP////8AAP//AAD//wAA//8BAP//AAD///7///8BAP7///8AAAIAAgABAAEA/v8AAP//AQADAAEAAAACAAEA/////////v///wEA/v////7/AAD+////AAAAAAAAAgAAAAAAAAD//wEAAAAAAAAAAQABAAIA/v8AAAAA//8AAAEAAAAAAP//AgD//wEA/////wAAAQACAAAAAAAAAP//AQD/////AQAAAAEA/v8AAAEAAQABAAEA///+////AQD//wEAAgD+//7/AAAAAAAAAQAAAAAAAQAAAAAAAAAAAP//AAD//wEAAQD//wAAAQABAP7///8AAP7/AAABAP7/AQABAAEAAAABAAEAAAD+/wIAAAABAAAAAQD/////AQACAP////8AAP//AQD//wEA/v8CAAEAAAAAAAAAAQAAAAIAAQAAAAEAAgD//wEAAAAAAP7///8BAP//AgAAAP///v8CAAAAAgD///////////7/AAACAAEAAgD//wAAAAABAP//AwAAAAMA//8AAAAAAQD+/wAAAAD//wAAAQD//wEA//8BAP7/AAABAAAA//8BAAAA//8AAP//AQADAP3////+////AgD+/////v8BAAEAAQACAAAAAAAAAAAA//8AAP//AAD+/wEA/v8AAP7/AAD//wAAAQACAAAAAQAAAP//AQAAAAAAAAABAAAAAAD+//////8AAAAAAAD//wAAAAABAAEA//8AAAEA//8AAP//AgD+/wAA///+/wAA/v///wAAAQABAAAAAQD//wAA//8AAAEA//8BAAAAAgABAP//AAACAAIAAQABAP//AAAAAAAA//8BAAIAAAABAAAA//8CAAEA/v//////AAAAAAEA////////AQAAAP//AAD//wAAAAAAAP3/AAAAAAEAAAACAAAAAAAAAP//AAD//wAAAAAAAAAAAAAAAP///v///wAAAAABAAAAAAD//wEAAAABAAEAAQD//wAAAAACAAAAAQD+/wAA//8BAAEAAAD+/wAA/////wAAAAABAAAAAAD//////v8AAAAA//8AAAAAAAAAAAIAAAABAAEAAAABAP7/AAD9//////////7///8BAP//AAD///3/AQABAP//AAD//wAAAAABAAAA//8AAP//AAD/////AQABAAEA//8AAAAA//8BAAMA//8AAAAA//8AAP7/AAD//wAAAAAAAP7/AQAAAAAA/v8CAP//AAABAAIAAQABAAAA//8BAAEAAQD///7/AQD//wAAAQABAP//AAD//wEAAAAAAAAAAQAAAAIA//8AAP////8AAP//AQD//////v///wEA/v8AAAIAAgACAAEAAAAAAAEAAAAAAAAAAAAAAAAAAQD//wAA/////wAAAQACAP////8AAAAAAAD//wAAAQD+/wEA//8AAAEAAwD//wEAAQAAAAAAAAABAP////8AAAAAAQAAAAAAAAAAAAEAAQAAAP////////7/AQABAAEAAQD///////8BAAAA//8AAAAAAgABAAEA/v8BAP7///8BAP3/AQABAAIAAAD//wEAAAAAAP//AAABAAIA//8CAAAAAQAAAAEA//8BAAAA/////wAAAAD//wEAAQD//wAAAAAAAP//AAAAAAAAAQABAAAAAQAAAP//AQD//////v8AAAEAAAAAAAAA//8AAAAAAAACAAEAAQAAAP//AAABAAEA/////wAAAgABAAAAAAAAAAEAAAABAP//AQABAP7////+/wEAAAAAAP//AAABAAAAAAABAAEAAAAAAAAA//8BAP///f/+/wEAAQD///7///8AAAAAAQAAAP////8AAAAAAAABAAAAAQD/////AAD//wEA//8AAAIA//8CAAAA//8AAAAAAAD+/wEAAAD+/wAA/////wAA////////AAAAAAAA//8BAAAAAAD//wAAAAD//wEA//8AAP//AQD+/wAAAAAAAP7/AAD+/wEAAQABAP//AAABAAEAAQD//wAA/////wEA//8AAAAAAgAAAAAA//8BAAAAAgAAAAAAAAAAAP7/AQD//wAAAAD+/wAAAAADAAIA/////wAAAQD//wIA//8BAAEA/v8AAAIAAAAAAP3///8AAAAAAAAAAAAAAAABAP///////wAA//8AAAEAAQABAAEAAQABAAAAAQAAAAAAAQABAP7/AQD//wAAAQABAAEA//8BAAAAAgAAAAEAAAABAP//AAD/////AAD//wIA/////wIAAAD///7/AAAAAAAAAAACAP//AAABAP////8AAAAAAAABAAAAAgAAAAAAAQD+/wEA/////wAA/////wAAAAAAAAAA/v//////AAAAAP//AAABAAAAAQAAAAIAAAACAAAA//8AAAAA//8AAP7/AAAAAP//AAACAP//AQABAP//AQABAAAA/////////v8AAP//AQAAAAAA///+/wAAAQD+/wEAAQAAAAEA/////wAAAQD//wAA//8AAAAA/v8BAAEA//8AAP7//v8BAAAAAAAAAAEA//8AAAEA/////wAAAAD//////////wEAAAABAAEA//8CAAEA/f8AAAAA//8BAAAABAABAAEAAQAAAAAAAAAAAP7///8AAAAA/v8BAAAA//8AAAIA//8AAP////8BAP//AAAAAAAAAAD/////AQD///7/////////AQD8////AgABAAIA////////AAD//wAAAAABAAAAAAAAAAEAAgAAAP//AQD//wAAAAAAAP/////+/wAAAAABAAAAAwABAP///////wEAAAADAP//AQACAAAA//8CAAEAAAAAAP///////wIAAAAAAAAAAQAAAAAAAgD//wEAAAABAAAA/v8AAAAAAAAAAAAAAAAAAAEA/v8AAP//AQD//wAA//////7///8AAAAAAAAAAP7/AQD//wAA//8AAAEAAAABAAEAAQD/////AAD//wEAAAD/////AQAAAAEAAAD//wEAAAD/////AgD//wAAAQD//////////wAAAAD//wAAAAABAAAAAAD//wAAAQD///7/AQD//wEAAAD/////AAD//wEA//8AAAEA//8CAAAAAQD//wEAAgAAAAEAAwAAAAAA/v8BAAEAAgD//wEAAAAAAAAAAAD//wEA//8AAAAAAQACAP///////wAAAQABAAEAAAAAAAEAAQD+/wEA/f////////8AAAAA//8AAAEA//8BAAAA/v///wEAAAAAAAEA/////wAAAAAAAP//AAAAAAIAAAABAAAA/////wAAAAD//wAA/v8AAAMAAQD+/wEAAAABAAEA//8BAP//AgAAAAAAAAD//wAA/////wEA/v8CAP3/AAACAP3/AQABAAAAAQACAAEA/v8AAAAA//8BAAAAAgAAAAAAAgACAAEA/v/9/wAAAQABAP7///8AAP//AgD+/////v8CAP////8BAP//AQACAAEAAQABAP//AAD///7/AAABAAEAAgD//wEA//8CAAEAAQABAAEAAAABAAAA/v8AAAEA/v8AAP//AAABAP//AQAAAAEAAgAAAAAA/v///wEAAQAAAAIAAAD/////AgAAAAEA/v8AAP7/AQAAAAAAAQAAAAEAAAACAAEA//8BAP////8AAAIAAAAAAP//AAAAAAIAAAAAAAAAAwABAP///v8BAAAAAAAAAP3/AAABAAEA/v////////////3//v8AAAAAAQABAAIAAAD+/////v8AAAAAAQABAAEAAQAAAP//AAAAAP//AQAAAP//AAABAAAAAAAAAAAA////////AAAAAP//AQD/////AAABAAEA//8CAP7///8AAP7//v8BAAEAAAD+/////////wEAAAAAAAAAAgD//wAAAQAAAP7/AQABAP//AQAAAAAAAAD/////AAACAP////8BAAAAAAD//wAA//8AAAEAAQABAAAAAAABAAAAAQD+/wEA/v8AAAEAAQD/////AAD//wAAAQABAP7//v//////AAACAAAAAAAAAAAAAAACAAAAAQAAAAAA//8BAP//AQD//wAA///+/wIAAQD//wAAAAD//wAA/v8AAP3///8AAAAAAAAAAAAA/f8AAAAA//8CAP7/AAD///7/AAAAAAAAAAD//wEAAAAAAAEAAAAAAAAA//8BAP////8BAP7///8CAAEA//8BAP3///////////8BAAAAAAAAAAEAAgD+//////8BAAMAAQADAAEAAAACAAAAAQD/////AAABAAMAAQAAAP//AQD//wAA//8AAAAA//8CAP7//////wAAAAAAAAIA/v8AAP//AAACAP//AwD//wAA//8AAP//AwD//wEAAQABAAEAAQACAAEAAAD//wAA//8AAAIAAAAAAP///////wAAAQD//wIA//8BAP7/AAD///////8AAAAAAAAAAAEAAAD//wAAAQD//wEA//8BAAAAAAD/////AgABAAIAAAABAAAAAAAAAP//AAAAAAAA//8AAAAAAAD/////AQAAAAAAAQD//wAA///+////AAAAAAEAAgABAAEAAAAAAP//AQAAAAAAAQD+/wAAAAABAAEAAAD/////AQABAP7///8AAAIAAAACAAAA//8AAP//AgACAAAA///+/wAAAAABAAAAAQAAAAEA/v8BAAEA//8CAP//AQD+/////v8AAAAAAAACAP//AAD+/wIA/v8BAAAAAAD/////AAAAAP7///8AAP7//////wEAAAABAAAAAAD//wAAAAAAAAAAAgACAAAAAAABAAAA/f8AAP7/AgAAAAEA//8BAAAAAAD///7/AQD//wAAAAAAAAEAAAAAAAEAAAAAAAAAAQAAAAAA//8AAAAAAAABAP///////wAAAgABAAEA//8AAP//AAACAP//AQABAAEA//8BAAAAAAABAAAA//8AAAEAAAAAAAIA/v8BAP//AQD//wEAAAABAAEAAQACAAEAAAAAAAEAAAABAAAAAAD/////AAABAAEA//8AAAAAAQABAP//AAAAAP//AAD/////AQD//wAAAAABAAEA//8BAAAA//8AAP///f/+/wAA/////wAAAQAAAAIAAAAAAAAAAAD+/wEA/f8CAAAA//8AAAEAAgAAAAMAAAABAAAAAAAAAP//AQAAAAAAAQABAAAAAQAAAP//AAAAAAAA//8AAAAAAAABAAAAAQAAAAAAAAABAAIAAAAAAP7/AQD//wAAAAD+////AAAAAAAAAAABAAAA/////wAA//8AAAAAAAD/////AgD//wAA//8CAP//AQACAAEA/f////////8BAAIAAQABAP//AAD//wAA///+////AAD+/wAAAQD/////AAAAAAAA/////wAAAAABAAAAAQAAAAAA//8AAAIAAAABAP//AQABAAEA//8AAAAAAAADAAEAAAABAP//AgD//wMA//8AAAAAAAD//wAAAAD9/wEA///+/wAA//8BAAEA//8BAAAA//8AAP///v8BAP///////////v8BAAAAAQABAAAAAAAAAAAA//8AAP7/AQAAAAAAAAAAAP7/AQAAAAAAAgABAAEAAAABAAEAAAAAAAAAAAD+/wAAAAD//wEAAAAAAAAAAAAAAP//AgABAAAAAAABAAEAAAD/////AAAAAP//AAABAP////8BAAAAAQABAP7//v/+////AQAAAAAAAQAAAAEAAgAAAAAAAQAAAAEAAAD+/////v8BAP//AAABAP//AQABAAAAAAD//wAA//8CAP//AAAAAAEAAAABAAAAAAAAAP//AAD+////AwAAAAAAAQD//wEAAAACAAEAAAADAAAAAAD/////AAAAAAEAAAABAAAA//8AAAEA//8BAP///v8AAP//AAD//wAAAQABAP//AQAAAAAA/////wEAAQAAAP////8AAAEA//8BAAAAAQAAAP////8AAAAAAQAAAAIAAQAAAAEAAAAAAAEAAAD//wEAAAAAAP////8AAAAA//8BAAEAAAAAAAIA///+/wIA/v8BAAAAAQACAAAAAQAAAP7///8AAP//AAAAAAEAAAAAAP7/AAD+////AAAAAAAAAAD//wAA/v8BAAMAAAABAAIAAgD//wAA//8BAAEA//8BAP7/AAAAAP7///8BAAAAAQAAAP7/AQD/////AAAAAAEAAAABAP//AQABAAAAAgABAAAAAAAAAP///////wEA//8AAAEA//8AAAAAAQAAAAIAAAABAP7//////wAAAQABAAAAAAABAAEA///+/wAA//8BAP///v8AAP///v8BAAAA//8CAAAAAQAAAAEAAQABAAAAAAD+/wAAAAD+/wAAAAAAAAAA/f////////8AAAAAAQABAP///////wEA//8BAAEAAAAAAAAA/////wEA/v//////AAAAAP//AAABAAAAAAD+/wAAAAD9////AQAAAAEAAwD//wEAAQAAAP//AgAAAAAAAAD+/wIAAAAAAAAAAAAAAAIA//8AAAEAAQACAAAAAQD//wAAAAD//wIAAQABAAAAAAD//wEA//8BAAEAAQAAAAAAAQABAP7/AAD//wEAAAACAP7/AQAAAAAAAAD//wIAAQACAAIAAQAAAAAAAAAAAP3///8BAAAAAQACAP//AgD9/wAAAAD//wEA/v////////8AAAAAAAD//wEAAQD//wMAAQAAAAEA//8AAAEA//8AAAAAAAACAAAAAAD//wAAAQD///////8AAAAA//8BAAIA/v8BAAEA/f8AAAAAAAAAAAAAAgD/////AAD+/wAAAAD//wAAAAAAAP//////////AgABAP///v8AAAIAAQAAAP//AAABAAAA/////wAAAAAAAAEAAAABAP///v///wIA//8BAAEAAQAAAAAA///+/wEAAAAAAAAA/////////v8BAP3/AAAAAAAAAAAAAAAA//8AAP//AAAAAP//AAABAAIAAAACAP////8DAAAAAAABAAAAAwABAP//AAABAP//AAAAAP////8BAAAAAgD//wAA///+/wAAAQD//wAA//8AAP7///8AAAAA/v8AAAAAAQD//wEA/v////////8AAAAAAQAAAP//AQACAAAAAAAAAP//AAD//wAAAAD//wAAAAD+/wAAAAAAAP//AQD//wAAAgAAAAAAAQABAAAAAwD+/wAAAAD///7/AQD//wIAAQAAAP//AAD//wAA//8CAAEAAAAAAAAA/////wAAAAD//wEAAQD///////8BAAAA//8BAAEAAAAAAAAA/v///wEAAAAAAAAAAAADAAAAAAAAAAAAAQABAAEAAAD+//7//v8AAP//AQAAAAAAAAABAAEAAgAAAAAAAQD//wAA/f8AAAAAAAABAAAAAQAAAAAAAAAAAAIA//8BAP///////wIA/////wAAAAABAAEA//8BAAAAAAD//wAAAQD//wEAAAAAAAIA/v8BAP//AAAAAAEAAAABAP//AAAAAAAAAQABAP7/AAABAAAAAQD//wIAAAAAAAEA///+/wAA//8AAP//AAAAAAAAAAABAP///////wIAAQAAAAEAAQAAAP7/AQAAAAAAAQAAAAAAAQD/////AQAAAAAA///+//7/AAD+/wEA//8AAAAA///+/wEAAAABAAIAAQABAAAA//8AAP//AAD//wAAAAD//wAAAAAAAP//AQAAAAAA////////AQAAAAAAAQD+////AQABAP7/AAD///7/AgD//wAAAAAAAP//AAAAAAEA//8BAAEAAgAAAAIAAAD//wEA/////wAAAQD///7/AQD//wEAAQD/////AAAAAAEAAgAAAAAAAQD//wEA//8AAP7//////wAA//8BAAEA//8BAAAAAQD/////AAABAP//AAACAP//AQAAAP//AAABAP////8AAAAAAAABAAEAAwABAAAAAgD//wAAAAD//wEAAAABAAAAAAABAAEA/////wAA//8AAAIAAAAAAAEAAQABAAEAAQABAP//AgAAAAAA//8BAP3//v///wAA//8AAAAAAQAAAP//AQD//wEAAAACAAIAAAABAAAA//8BAAEA//8BAP//AAAAAP//AQAAAAIAAAD//wAAAAAAAAEA////////AQAAAP//AQD//wAAAQD+/wEAAAABAP///v///wAAAAAAAP//AAAAAAIAAQD//wAAAgD+/wAAAAD//wAAAAABAP///P//////AAACAP////8AAAIAAAABAAAAAAAAAAAA//8AAAAAAQADAP//AQAAAAAAAAABAAEAAQAAAAAA/v8AAAAAAAD//wAAAQD//wAAAAD//wAA/v////////8CAAEA/v8BAP7/AAAAAAAA//8AAAEAAAD//wIAAQAAAAIAAQAAAAAAAAD///7/AQABAP//AAAAAP//AAACAAEA//8BAAAAAwAAAAAAAAD//wEAAAD//wAA///////////+/wAAAQABAAIAAAABAAEAAAD//wEAAAD/////AAD+/wIAAwABAAEA/v8BAAEAAAD//wAA//8AAP//AAAAAAEAAAAAAP//AAAAAAEAAQABAAEA/v///wAAAAD//wEAAAACAAAA/f/+/wAA/v///wAA//8AAAEAAQD///7/AAAAAAAAAAABAAAAAAACAAAAAAABAAAAAAABAP//AQD//wAA//8BAP7/AgABAAEAAQAAAAAAAQD//wEA/v8AAP////8AAP///////wIAAQD//wAAAAD//wAA/v///wAAAQD//wIA/////wEAAAAAAAIAAAABAAAAAAD//wEA//8AAAAA/////wAAAQAAAAAAAAD//wEAAQAAAAAAAAACAP///////wAAAgD//wAA/v8AAAIAAAAAAAEAAAABAP//AQABAAEAAQAAAP///v8BAAEAAAAAAP////8AAAAAAQD//wIAAQAAAAEAAAAAAAAA//8BAP//AAAAAP7//v///wEAAAAAAAIAAAAAAP//AAD//wEA//8BAAAAAAABAAEAAAABAP7///8AAAIAAAABAP//AAD//wEAAAAAAP//AAAAAAEAAAAAAAAAAAAAAP7/AQD//wAAAQD+/wEA/v8BAP7/AAABAAEAAAACAAIAAAADAAAA//8AAAEAAAABAP//AQD//wIA/////wEA//8AAAEA//8AAAEAAAAAAAAAAQABAAAAAAAAAAAAAAD//////////wAA//8AAP7/AAD+/wAAAQAAAAAA/////wAABAAAAAAA//8AAAEAAAAAAAAA/v8AAP//AAAAAAAAAAD//wAAAAD///////8BAAEAAAD/////AgABAAEA/v/+/wAAAQACAAEAAAD//wAAAwABAP//AgD+/wAA/v8AAAAAAAAAAAEA//8AAAEAAAD+/wEAAAAAAAEAAgAAAAEAAAABAP//AQD+/wIA/////wAAAQD//wAAAQD+/wAAAQABAAAA////////AAACAAAAAQAAAAIA//8BAP///v///wEA//8BAAEAAQD+/wAAAQD9/wAAAQAAAAEAAAABAAAAAgAAAP//AAD+/wAA/f8AAAAA////////AgAAAAcAAQD7/wEA/f8AAAIA//8GAP7//v/+//b/AQD//wQADgD///3/9/8FAPr/6/8EABAACQD9/wIA/P/5/w4A///t/wQA/P8LAB0ACQD5////AQD2/+7/AgD6//r//v/z/xIA9f8oAAMA4f8OANz/EQAdAAAA5P/w/2MAAQDq/w0A1/8bALz/BgDb/+j/lQD9/yMABAACAA0Alf8NAKr/CwCMAPD/QwDq/wkA9v+g/wgAk/8QAD0ABgAWAAQAMwD7/9T/8//f//z/JwAEAOL/DwBxAAwAzf/+/xUA8v+O//H/fAD5/xUA+/9m//P/yf/r/y8ACAAbAEQA3f9AAAcB9f/p/sD/+QHv/8/9EQCv+ez/j+v8/3pS7/83By4AF6Go/7PNjgDMEn7/Sk0NAeEfIv+9DCwAKfuY/9fRAv2A3mjzfQg/Ft3fzTQE703jljkirPskFOdBEUYzORerLDvvDg7C6dcbwNJj/b/CisId8XfblBZS/oYksP1YRdoQJjjDJbwGNSTX66wU48FG8Iu1eM+/5ITdKwGN8jUTGfehN3oUszrBH7kmdhFKB+YNheG6B9fOivltwZ38JMcC66z7o9pJNBnxgTdvCjIvJg+GG7MMlQUJFJL5hCZ61IQap7895EXN8Msh6NjdpxE07wU5Nf+kRH8Q2TrWHZkYhS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cAAwABAAIA4f8BAND/AgDd//3/6P8CAAYA/f8YAAwALwAZACUA9v8bAPj/AwDq/+r/7P/S//7/1/8EAOX/CQD6//7/GQAFAC8AAQApAAEAGQACAAMAAgDm/wEAzv8BANv//v/p/wIA//8BABMABQArACAALAABAB4A8f8NAOv/7v/m/9n/+P/R/wMA4f8OAPT/AQATAAMAKwAHACoAAwAbAAMABQADAO7/AQDU/wEA2f8AAOL////3////EgAAACUAGgAvAAUAHQD2/xIA9f/0//T/3P/4/8///f/h/wIA7f8AAAoAAQApAAQALQADACAAAgAPAP//9P///9r//f/T/wAA3f/9//D/AQAQAP//HAAHAC8ACQAfAPv/GAD+//f/+P/j/wEA0v/+/9n/AADq/wIABgD//x0AAQAuAAEAIwAAABQAAwD8/wEA3/8AAM//AADe////7f8BAAwA//8ZAAMALwAAACEA//8dAP3//v/9/+n////U//z/1v8BAOT/AAD+/wAAGwD+/ywA/v8kAAIAGAD///3////q/wEA0P///97/AADk/wAABAAAABUAAQAqAAEAKQAAABwAAAAFAP//6f8AANr////X/wAA4/8AAPj/AgAUAAAAKgD//ywAAAAcAP7/AQAAAOv/AADU/wAA2v8CAOP/AAABAAAAFgABABsAAAAqAAEAHwAAABQAAgDv/wEA3v///9H////f////7/8BAAoAAQApAAAALgD//yEAAQAIAAAA8P8BANr//v/V////4f8AAPf//v8UAAAAFAAAACYAAQAhAP7/GwD+//T/AADo/wIA1v8CANr/AgDp/wEABgAAAB8AAQAsAAEAJAAAAAwA///z/wEA3/8AANT/AADh/wEA9P///xQAAgASAAAAJQAAACEAAAAaAP//+v8BAOj////W////2P8BAOf///8DAAAAHwAAAC4AAAAlAAAAEgAAAPL/AQDm////0f8CAN3/AADr//7/EQD//xAAAQAhAAIAJQAAAB8AAAABAP//6v8CAN//AQDX/wAA4/8AAPr/AAAXAAAAKgABACgAAAAbAP///f8AAOj/AADU/wAA2v///+f/AQANAAMAEQD+/xwA/v8kAP7/IQABAAgA/v/p////5/8AANf/AQDd/wEA8v8BABMAAQAjAAAALgAAACAAAQADAAEA7f8BANn/AgDY//7/4P/+/wEAAAAXAAIAFAAFACUA/P8jAP//EgAAAO//AQDo////1/8AAN3/AADx//7/DgAAAB0AAQAoAAAAIwAAAAoAAQDv/wMA4f8AANn/AQDi/wEA+v///xgAAAAQAP3/IwD//yUA/v8XAAAA7/8AAOv/AADc/wAA3P/+/+v/AQALAAEAGgACACkAAAAkAP7/EAABAO/////q//7/1/8AANz/AgDw/wEAEgD//w8AAAAcAAIAJQAAAB0AAAD2////7P8AAOP/AgDa/wAA5P8BAAQAAQAWAAAAIgAAACMAAAAaAP//+P///+v/AQDZ/wAA2////+7/AAARAAAADgAAABYAAAAhAAAAIAABAPz/AQDt/wAA5P8AANr/AQDg/wEA/P8BABcAAAAhAP//KQD//xwAAAD8/wEA7v8AAN3////Z/wAA6f8BAA0AAAARAAEAEQAAACMAAAAgAAEA/f8CAO3/AADv/wAA3v8BANv////1////EgAAABkA//8nAAAAIgAAAAMAAADu/wAA6P8CANn/AQDg////BQD//xMAAQAOAP//IAABACYAAAAGAAAA6f////H/AADg/wEA2f8AAO3///8PAAAAFQACACQAAAAkAAEADQABAO//AADp/wAA2////9z/AQD7/wEAFgAAAAwAAQAXAP7/JQD9/xMAAADx/wAA8f8AAOr/AADc/wEA4/8BAAkAAAAVAAAAIQD//yYA//8UAAEA9P8BAOz/AADf/wAA3P8AAPP/AAAQAAAADQABAA0AAAAlAAEAGAD///H//v/0/wEA7v8CAN//AADg//3/BAACABUAAQAfAAAAJwABABgAAQD0//7/7f///+L/AADa/wIA8P///w4A//8SAAMACQAAACAAAQAgAP//+v////P////y/wEA4/8BANr/AQD9/wAAEwD//xkAAQAjAAAAIgABAPz////s/wAA6v8BANX/AQDr//7/BwABABMAAAAHAP//FwAAACYAAAD//wEA9P8BAPb/AQDu////2v8BAPn/AAATAP//FwD//yEAAAAjAAAAAgAAAOn/AQDr//7/2P8CAOT/AAABAP//FgABAAUAAQATAP//IwAAAAEAAgDy/wEA9/8AAPb/AADb/wAA6/8BABAAAAATAP7/IQAAACYA//8UAP//7/8AAPD/AADd/wEA3P/+//7///8OAAAACgAAAAgAAAAhAP//CQACAPT/AQD2/wAA9v///97////m/wIADgABABMAAQAfAP//JwAAABMAAADw/wAA8P///+r/AQDb/wAA9f8AAA8AAAARAAIABAD//wYA/v8HAAAAAQD//wMAAgAGAAAA7f8AAOz/AAALAP//DwACABQA//8bAAAAHgD///f/AADq/wEA6/8BANj//v/t/wAACAD+/xAAAgAEAAAABAABAAcAAQADAAAA//8AAAUA///1/wAA5f///wIAAAAOAAAAEAAAABsAAAAhAAAA/v8BAOj////y////3f8AAOf/AQAGAAEADAAAAAcA//8BAP//CQABAAMA//8BAP//BQAAAAAAAADo/wAA+/8AAAoAAAALAAAAFAAAACAAAQAGAAIA7f8BAPH/AADm/wMA3P8CAP7/AgASAP//CgD//wAAAAAIAP//BQD//wEAAAACAP7/BAAAAPz/AwD8////BAAAAAEA//8HAAAAHQAAAAgA/v/x//7/8f///+f/AQDg/////P///woAAAAMAP//AAABAAYA//8EAAAAAgAAAAUAAAACAAAAAwAAAAIAAAABAAAAAQABAAAAAgAcAP//DgD///T/AQDx/wAA9P8CAOH/AAD3/wAACQAAAAoAAQABAP//AwAAAAcAAAD+/wAAAgACAAEAAAD+////AwD+/wAAAAABAP//+v8BABEAAQATAAAA9f/+//L//f/z/wIA6f8AAPb/AQAFAP//DAAAAAAAAAAFAP//BQD//wEA//8DAAEAAQAAAP7///8AAAAA//8BAAIAAAD+/wAAEAABABYAAgD6/wEA8v8BAPX/AwDp/wAA8////wMA//8JAAEABAABAAEA//8FAAEA//8AAAMAAQACAP//AQAAAAEAAgAFAP//AQABAAAAAQAAAP//EQABAAAAAAD5/wEA+P8AAPr////6/wAA+/8BAAIA//8BAAAA//8CAAUA//8BAP7/AAABAAEAAgAAAAAAAwAAAAEA/v8DAAIAAAACAAQA//8TAAAA/P8BAPr////3//////8AAPz/AQD7/wEAAgD/////AAABAAEABAAAAP//////////AAAAAAAAAAADAAAAAwAAAAAA//8EAP///v/+/xAA//8HAAAA+/////j/AQD8////AAD///n///8AAAAA//8AAP////8DAP//AgAAAAAAAAACAAIAAAD+/wAAAQD//wAA/////wIAAgD9////CQACAAYA///9////+f8BAPr/AQAAAAIA/v///wAA//8AAAAAAAAAAAEAAAABAAAAAgAAAAEAAAAAAAEAAQABAAAAAgABAP//AAD//wEAAAD///////8BAAIAAQAAAAAA/v/+//////8BAAAAAQABAP//AAD///////8BAAAAAQABAP////8CAAEAAQD//wEA/v//////AQAAAAAAAAAAAAAAAAD9/wMA/////wAAAQD+/wEA/v/+//7/AQD//wMAAAAAAAAAAAABAAEA//////7/AAACAP3/AAD//wAAAQAAAP//AQD//wAAAAAAAAEA//8CAP//AAAAAAAA/v8AAAAA//8BAP//AAABAP//AAAAAP//AQD//wAAAQABAAAAAAABAAEA/v///wAAAAD//////////wAAAAAAAP//AAD////////8/wIAAAADAAEA/////wEA/v8BAP7/AgAAAAEAAgAAAP//AgD/////AQD//wEA//////7/AQD//wMAAAAAAAAA//8CAP//AQAAAP//AAACAAAAAAABAP//AQD+/wAA/////wAA/f///wAAAAAAAP7/AAAAAAAAAgD//wEAAQACAP//AAAAAAEAAQD//wAAAAAAAAAA//8BAAMA/v8AAP7/AQAAAAAAAQAAAAAA///+//7/AAAAAAAA//8BAP7/AQAAAP//AQABAAAAAQAAAP//AAD//wIA/v///wAAAQABAP//AAD//wEA//8BAP//AgAAAP///////wAAAQABAP//AwABAAAAAAAAAAAA/////wIAAwACAAAA/v8BAAAAAAAAAAAA//8AAP////8AAAAA/////wAA/////wEA/v8CAAEAAQD//wAAAAABAAAAAAD//wEAAQABAAAA//8CAAAAAAAAAP7/AAABAAAAAQABAAAAAgABAAAAAQD//wEAAwD+/wAA/v8AAAEAAAAAAAAAAAAAAAEAAAD//wMA/v///wAAAAACAAEAAAAAAP7///8DAAEAAQD//wEA/f8BAAEAAQD//wEAAQABAAMAAgAAAAEA//8AAP//BAAAAAIA/v//////AQABAAAAAAD//wEAAAACAAIAAQAAAAAAAgAAAAAAAAABAAIAAAABAAIAAQAAAP////8AAAAAAAD//wAAAQACAP//AAAAAAAAAQAAAAEA//8AAAAAAAD/////AQD//wAAAQD9////AQAAAAAA//8BAAAA///+/////v8BAAAAAQAAAAAAAAAAAAIA//8BAAAAAAACAP//AQD//wAAAAD/////AAD9/wAAAAACAAAAAgAAAAEAAQABAAEAAAAAAAEA//8AAAEAAQACAAAAAQAAAAEA//8BAAIAAAACAP//AAABAAAAAAAAAAAAAAD//wAAAQD/////AAAAAP////8AAAEAAAAAAP7///8BAAIAAQD//wEAAQAAAP//AgAAAAAAAAD//wAA//8CAP7/AQAAAP7/AAD+////AAAAAAAAAQABAAAA//8AAAEAAAABAP7/AAAAAP7/AAD+/wAAAQABAAEA/////////v8BAP///v///wIAAAAAAAAAAQAAAAIAAQAAAAAAAAABAAEAAAAAAAAAAAD//wEAAQD//wAAAQABAAAA/v/+/////////wAAAAD//wAAAAD/////AAAAAP7/AAD//wIA//8CAP//AQAAAP////8AAAAAAQABAP////8AAP//AQACAAAAAQAAAAAAAAAAAAAA//8BAAAAAAD+/wAA/v///wEAAAD+//7///8CAP7/AAABAP3/AwAAAAAAAAABAAIAAAABAAAAAQABAAIAAAAAAP//AAAAAAEAAAACAAEAAAACAAAAAAABAAAAAwAAAAAAAAD+/wAAAQD9//////8BAAAA/v8AAAAAAAAAAAAAAAD//wMA/v8BAAEAAQACAAAA/v8BAP//AwABAAIAAQABAP//AQAAAAEAAAAAAAEA//8AAAAAAAD/////AAABAAEAAAAAAP////8AAAAAAAAAAAAA/v8AAP//AQAAAP//AAABAAIAAQAAAAAAAgABAAAA/////wAAAQABAP//AQABAAEA/////wAAAAAAAAAAAAABAAEAAQAAAAAAAAAAAAAA//8AAP7/AQD9/wAAAgD//wEAAQABAAEA/v8AAAEA/////wAAAAAAAP//AAABAAAAAAAAAAAA//8CAP//AAABAAEAAQABAAAA//8BAAIAAgD//wAA/v8AAAEAAAD///7/AAAAAAEAAAABAAAAAQABAAAAAQACAAAA///+/wAAAQABAP7////+/wAA//8AAAAAAgAAAP//AQD9/wAAAAD//wAA//8AAAAAAQAAAAAAAQD//wAAAAAAAP//AQABAAAA/v8CAP//AAD///////8AAAAAAAACAAEA//8BAP7/AAAAAAEA//8BAAAAAQD//wAAAQD+/wAA/////wAAAAD//wAAAQABAAAA//8AAAEA/////wAA//8AAAAA/v/+/wEAAgABAP//AgD//wIA/////wAA//8AAAEAAQAAAAAAAQAAAAMAAAACAP//",showCount:!0},audio:{disabled:!0,defaultToggledOn:!1,language:"en-US",voiceNames:["Microsoft David - English (United States)","Alex (English - United States)"],rate:1,volume:1,icon:Cm,iconDisabled:Pm},chatHistory:{disabled:!1,maxEntries:30,storageKey:"rcb-history",storageType:"LOCAL_STORAGE",viewChatHistoryButtonText:"Load Chat History ⟳",chatHistoryLineBreakText:"----- Previous Chat History -----",autoLoad:!1},chatInput:{disabled:!1,allowNewline:!1,enabledPlaceholderText:"Type your message...",disabledPlaceholderText:"",showCharacterCount:!1,characterLimit:-1,botDelay:1e3,sendButtonIcon:_m,blockSpam:!0,sendOptionOutput:!0,sendCheckboxOutput:!0,buttons:[It.VOICE_MESSAGE_BUTTON,It.SEND_MESSAGE_BUTTON]},chatWindow:{showScrollbar:!1,showTypingIndicator:!0,autoJumpToBottom:!1,showMessagePrompt:!0,messagePromptText:"New Messages ↓",messagePromptOffset:30,defaultOpen:!1},sensitiveInput:{maskInTextArea:!0,maskInUserBubble:!0,asterisksCount:10,hideInUserBubble:!1},userBubble:{animate:!0,showAvatar:!1,avatar:"data:image/svg+xml,%3csvg%20width='140'%20height='140'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cy='60.044'%20cx='70'%20fill='%235c5c5c'%20r='29'/%3e%3cpath%20d='m16.36%20156.186-.01-30.5c-.005-16.844%2024.168-30.507%2053.991-30.516%2029.823-.009%2054.004%2013.64%2054.01%2030.484l.008%2030.5-108%20.032z'%20fill='%235c5c5c'/%3e%3c/svg%3e",simulateStream:!1,streamSpeed:30},botBubble:{animate:!0,showAvatar:!1,avatar:mu,simulateStream:!1,streamSpeed:30},voice:{disabled:!0,defaultToggledOn:!1,language:"en-US",timeoutPeriod:1e4,autoSendDisabled:!1,autoSendPeriod:1e3,sendAsAudio:!1,icon:Sm,iconDisabled:Em},footer:{text:m("div",{style:{cursor:"pointer",display:"flex",flexDirection:"row",alignItems:"center",columnGap:3},onClick:()=>window.open("https://react-chatbotify.com"),children:[m("span",{children:"Powered By "},0),m("div",{style:{borderRadius:"50%",width:14,height:14,display:"flex",justifyContent:"center",alignItems:"center",background:"linear-gradient(to right, #42b0c5, #491d8d)"},children:m(bu,{style:{width:"80%",height:"80%",fill:"#fff"}})},1),m("span",{style:{fontWeight:"bold"},children:" React ChatBotify"},2)]}),buttons:[It.FILE_ATTACHMENT_BUTTON,It.EMOJI_PICKER_BUTTON]},fileAttachment:{disabled:!1,multiple:!0,accept:".png",icon:vu,iconDisabled:vu,sendFileName:!0,showMediaDisplay:!1},emoji:{disabled:!1,icon:yu,iconDisabled:yu,list:["😀","😃","😄","😅","😊","😌","😇","🙃","🤣","😍","🥰","🥳","🎉","🎈","🚀","⭐️"]},toast:{maxCount:3,forbidOnMax:!1,dismissOnClick:!0},event:{rcbPreInjectMessage:!1,rcbPostInjectMessage:!1,rcbStartSimulateStreamMessage:!1,rcbStopSimulateStreamMessage:!1,rcbStartStreamMessage:!1,rcbChunkStreamMessage:!1,rcbStopStreamMessage:!1,rcbRemoveMessage:!1,rcbLoadChatHistory:!1,rcbToggleChatWindow:!1,rcbStartSpeakAudio:!1,rcbToggleAudio:!1,rcbToggleNotifications:!1,rcbToggleVoice:!1,rcbChangePath:!1,rcbShowToast:!1,rcbDismissToast:!1,rcbUserSubmitText:!1,rcbUserUploadFile:!1,rcbTextAreaChangeValue:!1,rcbPreLoadChatBot:!1,rcbPostLoadChatBot:!1,rcbPreProcessBlock:!1,rcbPostProcessBlock:!1},ariaLabel:{chatButton:"open chat",audioButton:"toggle audio",closeChatButton:"close chat",emojiButton:"emoji picker",fileAttachmentButton:"upload file",notificationButton:"toggle notifications",sendButton:"send message",voiceButton:"toggle voice",inputTextArea:"input text area"},device:{desktopEnabled:!0,mobileEnabled:!0,applyMobileOptimizations:!0}},xu=pe({settings:{},setSettings:()=>null}),ct=()=>ae(xu),Dm=({children:e,settings:t=wu,setSettings:n})=>m(xu.Provider,{value:{settings:t,setSettings:n},children:e}),ku={tooltipStyle:{},notificationBadgeStyle:{},chatWindowStyle:{},headerStyle:{},bodyStyle:{},chatInputContainerStyle:{},chatInputAreaStyle:{},chatInputAreaFocusedStyle:{},chatInputAreaDisabledStyle:{},userBubbleStyle:{},botBubbleStyle:{},botOptionStyle:{},botOptionHoveredStyle:{},botCheckboxRowStyle:{},botCheckboxNextStyle:{},botCheckMarkStyle:{},botCheckMarkSelectedStyle:{},characterLimitStyle:{},characterLimitReachedStyle:{},chatHistoryLineBreakStyle:{},chatMessagePromptStyle:{},chatMessagePromptHoveredStyle:{},footerStyle:{},loadingSpinnerStyle:{},mediaDisplayContainerStyle:{},chatButtonStyle:{},chatHistoryButtonStyle:{},chatHistoryButtonHoveredStyle:{},sendButtonStyle:{},sendButtonHoveredStyle:{},sendButtonDisabledStyle:{},audioButtonStyle:{},audioButtonDisabledStyle:{},closeChatButtonStyle:{},emojiButtonStyle:{},emojiButtonDisabledStyle:{},fileAttachmentButtonStyle:{},fileAttachmentButtonDisabledStyle:{},notificationButtonStyle:{},notificationButtonDisabledStyle:{},voiceButtonStyle:{},voiceButtonDisabledStyle:{},chatIconStyle:{},audioIconStyle:{},audioIconDisabledStyle:{},closeChatIconStyle:{},emojiIconStyle:{},emojiIconDisabledStyle:{},fileAttachmentIconStyle:{},fileAttachmentIconDisabledStyle:{},notificationIconStyle:{},notificationIconDisabledStyle:{},voiceIconStyle:{},voiceIconDisabledStyle:{},sendIconStyle:{},sendIconDisabledStyle:{},sendIconHoveredStyle:{},rcbTypingIndicatorContainerStyle:{},rcbTypingIndicatorDotStyle:{},toastPromptContainerStyle:{},toastPromptStyle:{},toastPromptHoveredStyle:{}},_u=pe({styles:{},setStyles:()=>null}),xt=()=>ae(_u),Bm=({children:e,styles:t=ku,setStyles:n})=>m(_u.Provider,{value:{styles:t,setStyles:n},children:e}),Im=({buttons:e})=>{var t,n,r,i,o;const{settings:s}=ct(),{styles:a}=xt(),l={backgroundImage:`linear-gradient(to right, ${(t=s.general)==null?void 0:t.secondaryColor},
|
|
2
|
+
${(n=s.general)==null?void 0:n.primaryColor})`,...a.headerStyle};return m("div",{style:l,className:"rcb-chat-header-container",children:[m("div",{className:"rcb-chat-header",children:[((r=s.header)==null?void 0:r.showAvatar)&&m("div",{style:{backgroundImage:`url("${(i=s.header)==null?void 0:i.avatar}")`},className:"rcb-bot-avatar"}),(o=s.header)==null?void 0:o.title]}),m("div",{className:"rcb-chat-header",children:e==null?void 0:e.map((c,u)=>m(tt,{children:c},u))})]})},Su=pe({}),Qt=()=>ae(Su),Tm=({children:e,botIdRef:t,flowRef:n})=>{const r=nt(null),i=nt(""),o=nt(null),s=nt(new Map),a=nt(null),l=nt(""),c=nt(!1),u=nt(null),d=nt(null),A=nt(null);return m(Su.Provider,{value:{botIdRef:t,flowRef:n,inputRef:r,timeoutIdRef:o,streamMessageMap:s,chatBodyRef:a,paramsInputRef:l,keepVoiceOnRef:c,audioContextRef:u,audioBufferRef:d,gainNodeRef:A,prevInputRef:i},children:e})},Be=e=>{const[t,n]=G(e),r=nt(e);return[t,i=>{const o=typeof i=="function"?i(r.current):i;r.current=o,n(o)},r]},Eu=pe({}),Ht=()=>ae(Eu),Mm=({children:e,settings:t})=>{var n,r,i,o,s,a;const[l,c,u]=Be(!1),[d,A,f]=Be(((n=t==null?void 0:t.chatWindow)==null?void 0:n.defaultOpen)??!1),[h,p,g]=Be(((r=t==null?void 0:t.audio)==null?void 0:r.defaultToggledOn)??!1),[b,w,y]=Be(((i=t==null?void 0:t.voice)==null?void 0:i.defaultToggledOn)??!1),[v,_,k]=Be(((o=t==null?void 0:t.notification)==null?void 0:o.defaultToggledOn)??!0),[P,D]=G(!1),[C,E]=G(!1),[I,B,T]=Be(!1),[R,Q,O]=Be(!0),[N,F,x]=Be(!1),[U,S]=G(!1),[j,q]=G(!1),[K,$]=G(0),[dt,kt]=G(0),[Rt,Mt]=G(!1),[zt,Ce]=G(((s=window.visualViewport)==null?void 0:s.height)??window.innerHeight),[Ze,Le]=G(((a=window.visualViewport)==null?void 0:a.width)??window.innerWidth);return m(Eu.Provider,{value:{isBotTyping:l,setSyncedIsBotTyping:c,syncedIsBotTypingRef:u,isChatWindowOpen:d,setSyncedIsChatWindowOpen:A,syncedIsChatWindowOpenRef:f,audioToggledOn:h,setSyncedAudioToggledOn:p,syncedAudioToggledOnRef:g,voiceToggledOn:b,setSyncedVoiceToggledOn:w,syncedVoiceToggledOnRef:y,notificationsToggledOn:v,setSyncedNotificationsToggledOn:_,syncedNotificationsToggledOnRef:k,isLoadingChatHistory:P,setIsLoadingChatHistory:D,hasChatHistoryLoaded:C,setHasChatHistoryLoaded:E,isScrolling:I,setSyncedIsScrolling:B,syncedIsScrollingRef:T,textAreaDisabled:R,setSyncedTextAreaDisabled:Q,syncedTextAreaDisabledRef:O,textAreaSensitiveMode:N,setSyncedTextAreaSensitiveMode:F,syncedTextAreaSensitiveModeRef:x,hasInteractedPage:U,setHasInteractedPage:S,hasFlowStarted:j,setHasFlowStarted:q,unreadCount:K,setUnreadCount:$,inputLength:dt,setInputLength:kt,blockAllowsAttachment:Rt,setBlockAllowsAttachment:Mt,viewportHeight:zt,setViewportHeight:Ce,viewportWidth:Ze,setViewportWidth:Le},children:e})};var W=(e=>(e.START_SPEAK_AUDIO="rcb-start-speak-audio",e.TOGGLE_AUDIO="rcb-toggle-audio",e.TOGGLE_NOTIFICATIONS="rcb-toggle-notifications",e.TOGGLE_VOICE="rcb-toggle-voice",e.TOGGLE_CHAT_WINDOW="rcb-toggle-chat-window",e.PRE_INJECT_MESSAGE="rcb-pre-inject-message",e.POST_INJECT_MESSAGE="rcb-post-inject-message",e.START_SIMULATE_STREAM_MESSAGE="rcb-start-simulate-stream-message",e.STOP_SIMULATE_STREAM_MESSAGE="rcb-stop-simulate-stream-message",e.START_STREAM_MESSAGE="rcb-start-stream-message",e.CHUNK_STREAM_MESSAGE="rcb-chunk-stream-message",e.STOP_STREAM_MESSAGE="rcb-stop-stream-message",e.REMOVE_MESSAGE="rcb-remove-message",e.LOAD_CHAT_HISTORY="rcb-load-chat-history",e.CHANGE_PATH="rcb-change-path",e.SHOW_TOAST="rcb-show-toast",e.DISMISS_TOAST="rcb-dismiss-toast",e.USER_SUBMIT_TEXT="rcb-user-submit-text",e.USER_UPLOAD_FILE="rcb-user-upload-file",e.TEXT_AREA_CHANGE_VALUE="rcb-text-area-change-value",e.PRE_LOAD_CHATBOT="rcb-pre-load-chatbot",e.POST_LOAD_CHATBOT="rcb-post-load-chatbot",e.PRE_PROCESS_BLOCK="rcb-pre-process-block",e.POST_PROCESS_BLOCK="rcb-post-process-block",e))(W||{});const Om={[W.START_SPEAK_AUDIO]:!0,[W.TOGGLE_AUDIO]:!0,[W.TOGGLE_VOICE]:!0,[W.TOGGLE_NOTIFICATIONS]:!0,[W.TOGGLE_CHAT_WINDOW]:!0,[W.PRE_INJECT_MESSAGE]:!0,[W.POST_INJECT_MESSAGE]:!1,[W.PRE_LOAD_CHATBOT]:!0,[W.POST_LOAD_CHATBOT]:!1,[W.START_SIMULATE_STREAM_MESSAGE]:!0,[W.STOP_SIMULATE_STREAM_MESSAGE]:!1,[W.START_STREAM_MESSAGE]:!0,[W.CHUNK_STREAM_MESSAGE]:!0,[W.STOP_STREAM_MESSAGE]:!0,[W.REMOVE_MESSAGE]:!0,[W.LOAD_CHAT_HISTORY]:!0,[W.CHANGE_PATH]:!0,[W.SHOW_TOAST]:!0,[W.DISMISS_TOAST]:!0,[W.USER_SUBMIT_TEXT]:!0,[W.USER_UPLOAD_FILE]:!0,[W.TEXT_AREA_CHANGE_VALUE]:!0,[W.PRE_PROCESS_BLOCK]:!0,[W.POST_PROCESS_BLOCK]:!0},Ls=async(e,t,n)=>{const r=new CustomEvent(e,{detail:t,cancelable:Om[e]});return r.data=n,r.promises=[],window.dispatchEvent(r),await Promise.all(r.promises),r},Cu=pe({paths:[],setSyncedPaths:()=>{},syncedPathsRef:{current:[]}}),qr=()=>ae(Cu),Lm=({children:e})=>{const[t,n,r]=Be([]);return m(Cu.Provider,{value:{paths:t,setSyncedPaths:n,syncedPathsRef:r},children:e})},Ie=()=>{const{botIdRef:e}=Qt(),{syncedPathsRef:t}=qr(),n=Z(()=>t.current.length>0?t.current.at(-1)??null:null,[]),r=Z(()=>t.current.length>1?t.current.at(-2)??null:null,[]);return{dispatchRcbEvent:Z(async(i,o)=>{const s={botId:e.current,currPath:n(),prevPath:r()};return await Ls(i,s,o)},[e])}},le=()=>{const{settings:e}=ct(),{isChatWindowOpen:t,setSyncedIsChatWindowOpen:n,viewportHeight:r,setViewportHeight:i,viewportWidth:o,setViewportWidth:s,setUnreadCount:a,setSyncedIsBotTyping:l,setSyncedIsScrolling:c,syncedIsBotTypingRef:u,syncedIsChatWindowOpenRef:d}=Ht(),{chatBodyRef:A}=Qt(),{dispatchRcbEvent:f}=Ie(),h=Z(()=>{if(!A.current)return!1;const y=A.current.getBoundingClientRect(),v=window.innerHeight??document.documentElement.clientHeight,_=window.innerWidth??document.documentElement.clientWidth;return y.top>=0&&y.left>=0&&y.bottom<=v&&y.right<=_},[A]),p=Z(async y=>{var v;y!==d.current&&((v=e.event)!=null&&v.rcbToggleChatWindow&&(await f(W.TOGGLE_CHAT_WINDOW,{currState:d.current,newState:!d.current})).defaultPrevented||n(_=>(_||a(0),!_)))},[d]),g=Z(async y=>{y!==u.current&&l(v=>!v)},[u]),b=Z((y,v,_,k)=>(y/=k/2)<1?_/2*y*y+v:-_/2*(--y*(y-2)-1)+v,[]),w=Z((y=0)=>{if(!A.current)return;const v=A.current.scrollHeight-A.current.clientHeight;if(y<=0)return A.current.scrollTop=v,void c(!1);const _=A.current.scrollTop,k=v-_;let P=0;const D=()=>{if(!A.current)return;P+=20;const C=b(P,_,k,y);A.current.scrollTop=C,P<y?requestAnimationFrame(D):c(!1)};D()},[A]);return{isChatWindowOpen:t,setSyncedIsChatWindowOpen:n,toggleChatWindow:p,viewportHeight:r,setViewportHeight:i,viewportWidth:o,setViewportWidth:s,toggleIsBotTyping:g,scrollToBottom:w,getIsChatBotVisible:h}},Rm=()=>{var e,t,n;const{settings:r}=ct(),{styles:i}=xt(),{unreadCount:o,isScrolling:s}=Ht(),{chatBodyRef:a}=Qt(),{scrollToBottom:l}=le(),[c,u]=G(!1),d={color:(e=r.general)==null?void 0:e.primaryColor,borderColor:(t=r.general)==null?void 0:t.primaryColor,...i.chatMessagePromptHoveredStyle};return m("div",{className:"rcb-message-prompt-container "+(a.current&&((A=r.chatWindow)!=null&&A.showMessagePrompt)&&s&&o>0?"visible":"hidden"),children:m("div",{onMouseEnter:()=>{u(!0)},onMouseLeave:()=>{u(!1)},style:c?d:{...i.chatMessagePromptStyle},onMouseDown:f=>{f.preventDefault(),l(600)},className:"rcb-message-prompt-text",children:(n=r.chatWindow)==null?void 0:n.messagePromptText})});var A},Pu=pe({messages:[],setSyncedMessages:()=>{},syncedMessagesRef:{current:[]}}),Rs=()=>ae(Pu),Qm=({children:e})=>{const[t,n,r]=Be([]);return m(Pu.Provider,{value:{messages:t,setSyncedMessages:n,syncedMessagesRef:r},children:e})},Fm=({message:e,isNewSender:t})=>{var n,r,i,o,s,a;const{settings:l}=ct(),{styles:c}=xt(),u=typeof e.content=="string",d=e.content,A=e.contentWrapper?m(e.contentWrapper,{children:d}):d,f={backgroundColor:(n=l.general)==null?void 0:n.primaryColor,color:"#fff",maxWidth:(r=l.userBubble)!=null&&r.showAvatar?"65%":"70%",...c.userBubbleStyle},h=(i=l.userBubble)!=null&&i.animate?"rcb-user-message-entry":"",p=((o=l.userBubble)==null?void 0:o.showAvatar)&&t,g="rcb-user-message"+(!t&&(s=l.userBubble)!=null&&s.showAvatar?" rcb-user-message-offset":"");return m("div",{className:"rcb-user-message-container",children:[u?m("div",{style:f,className:`${g} ${h}`,children:A}):m(tt,{children:A}),p&&m("div",{style:{backgroundImage:`url("${(a=l.userBubble)==null?void 0:a.avatar}")`},className:"rcb-message-user-avatar"})]})},Nm=({message:e,isNewSender:t})=>{var n,r,i,o,s,a;const{settings:l}=ct(),{styles:c}=xt(),u=typeof e.content=="string",d=e.content,A=e.contentWrapper?m(e.contentWrapper,{children:d}):d,f={backgroundColor:(n=l.general)==null?void 0:n.secondaryColor,color:"#fff",maxWidth:(r=l.botBubble)!=null&&r.showAvatar?"65%":"70%",...c.botBubbleStyle},h=(i=l.botBubble)!=null&&i.animate?"rcb-bot-message-entry":"",p=((o=l.botBubble)==null?void 0:o.showAvatar)&&t,g="rcb-bot-message"+(!t&&(s=l.botBubble)!=null&&s.showAvatar?" rcb-bot-message-offset":"");return m("div",{className:"rcb-bot-message-container",children:[p&&m("div",{style:{backgroundImage:`url("${(a=l.botBubble)==null?void 0:a.avatar}")`},className:"rcb-message-bot-avatar"}),u?m("div",{style:f,className:`${g} ${h}`,children:A}):m(tt,{children:A})]})},zm=()=>{var e,t,n;const{settings:r}=ct(),{styles:i}=xt(),o=(e=r.botBubble)!=null&&e.animate?"rcb-bot-message-entry":"";return m("div",{className:"rcb-bot-message-container",children:[((t=r.botBubble)==null?void 0:t.showAvatar)&&m("div",{style:{backgroundImage:`url("${(n=r.botBubble)==null?void 0:n.avatar}")`},className:"rcb-message-bot-avatar"}),m("div",{onMouseDown:s=>{s.preventDefault()},className:`rcb-bot-message ${o}`,children:m("div",{className:"rcb-typing-indicator",style:{...i==null?void 0:i.rcbTypingIndicatorContainerStyle},children:[m("span",{className:"rcb-dot",style:{...i==null?void 0:i.rcbTypingIndicatorDotStyle}}),m("span",{className:"rcb-dot",style:{...i==null?void 0:i.rcbTypingIndicatorDotStyle}}),m("span",{className:"rcb-dot",style:{...i==null?void 0:i.rcbTypingIndicatorDotStyle}})]})})]})},Hm=()=>{var e,t,n;const{settings:r}=ct(),{styles:i}=xt(),{messages:o}=Rs(),{scrollToBottom:s}=le(),{isBotTyping:a,syncedIsScrollingRef:l}=Ht(),{chatBodyRef:c}=Qt(),u={...i==null?void 0:i.bodyStyle,scrollbarWidth:(e=r.chatWindow)!=null&&e.showScrollbar?"auto":"none"};return ot(()=>{l.current||s()},[(t=c.current)==null?void 0:t.scrollHeight]),m("div",{style:u,className:"rcb-chat-body-container",ref:c,children:[o.map((d,A)=>{const f=(h=>h===0||o[h].sender!==o[h-1].sender)(A);return d.sender.toUpperCase()==="USER"?m(Fm,{message:d,isNewSender:f},A):d.sender.toUpperCase()==="BOT"?m(Nm,{message:d,isNewSender:f},A):m("div",{children:d.content},A)}),a&&((n=r.chatWindow)==null?void 0:n.showTypingIndicator)&&m(zm,{}),m(Rm,{})]})},Um=({checkboxes:e,checkedItems:t,path:n})=>{var r,i,o,s,a,l,c,u,d,A,f;const{settings:h}=ct(),{styles:p}=xt(),{paths:g}=qr(),{handleSubmitText:b}=cr(),[w,y]=G(new Set),[v,_]=G(!1),k={cursor:v?`url("${(r=h.general)==null?void 0:r.actionDisabledIcon}"), auto`:"pointer",color:(i=h.general)==null?void 0:i.primaryColor,borderColor:(o=h.general)==null?void 0:o.primaryColor,...p.botCheckboxRowStyle},P={cursor:v||w.size<e.min?`url("${(s=h.general)==null?void 0:s.actionDisabledIcon}"), auto`:"pointer",color:(a=h.general)==null?void 0:a.primaryColor,borderColor:(l=h.general)==null?void 0:l.primaryColor,...p.botCheckboxNextStyle},D={cursor:v?`url("${(c=h.general)==null?void 0:c.actionDisabledIcon}"), auto`:"pointer",color:"transparent",...p.botCheckMarkStyle},C={cursor:v?`url("${(u=h.general)==null?void 0:u.actionDisabledIcon}"), auto`:"pointer",color:"#fff",borderColor:(d=h.general)==null?void 0:d.primaryColor,backgroundColor:(A=h.general)==null?void 0:A.primaryColor,...p.botCheckMarkSelectedStyle};return ot(()=>{g.length>0&&g[g.length-1]!==n&&_(!e.reusable)},[g]),m("div",{className:"rcb-checkbox-container "+((f=h.botBubble)!=null&&f.showAvatar?"rcb-checkbox-offset":""),children:[e.items.map(E=>m("div",{onMouseDown:I=>{I.preventDefault(),(B=>{v||y(T=>{const R=new Set(T);if(R.has(B))t.delete(B),R.delete(B);else{if(w.size==e.max)return T;t.add(B),R.add(B)}return R})})(E)},style:k,className:"rcb-checkbox-row-container",children:m("div",{className:"rcb-checkbox-row",children:[m("div",{style:w.has(E)?C:D,className:"rcb-checkbox-mark"}),m("div",{className:"rcb-checkbox-label",children:E})]})},E)),m("div",{style:P,className:"rcb-checkbox-next-button",onMouseDown:E=>{var I;if(E.preventDefault(),v||w.size<e.min)return;const B=Array.from(t).join(", ");let T;_(!e.reusable),T=e.sendOutput!=null?e.sendOutput:((I=h.chatInput)==null?void 0:I.sendCheckboxOutput)??!0,b(B,T)}})]})},jm=async(e,t)=>{const n=e.checkboxes;if(!n)return;let r;if(typeof n=="function"?(r=n(t),r instanceof Promise&&(r=await r)):r=n,Array.isArray(r)&&(r={items:r}),!("items"in r)||r.items.length==0)return;r.min==null&&(r.min=1),r.max==null&&(r.max=r.items.length),r.min>r.max&&(r.min=r.max),r.reusable==null&&(r.reusable=!1);const i=new Set,o=t.currPath,s=m(Um,{checkboxes:r,checkedItems:i,path:o});await t.injectMessage(s)},Vm=async(e,t)=>{const n=e.function;if(!n)return;const r=n(t);return r instanceof Promise?await r:r},Wm=async(e,t,n)=>{const r=e.message;if(!r)return;if(typeof r=="string")return void(r.trim()!==""&&(n?await t.simulateStreamMessage(r):await t.injectMessage(r)));let i=r(t);i instanceof Promise&&(i=await i),typeof i=="string"&&i.trim()!==""&&(n?await t.simulateStreamMessage(i):await t.injectMessage(i))},Ym=({options:e,path:t})=>{var n,r,i,o,s,a;const{settings:l}=ct(),{styles:c}=xt(),{paths:u}=qr(),{handleSubmitText:d}=cr(),[A,f]=G([]),[h,p]=G(!1),g={cursor:h?`url("${(n=l.general)==null?void 0:n.actionDisabledIcon}"), auto`:"pointer",color:(r=l.general)==null?void 0:r.primaryColor,borderColor:(i=l.general)==null?void 0:i.primaryColor,backgroundColor:"#fff",...c.botOptionStyle},b={color:"#fff",borderColor:(o=l.general)==null?void 0:o.primaryColor,backgroundColor:(s=l.general)==null?void 0:s.primaryColor,...c.botOptionHoveredStyle};return ot(()=>{u.length>0&&u[u.length-1]!==t&&p(!e.reusable)},[u]),m("div",{className:"rcb-options-container "+((a=l.botBubble)!=null&&a.showAvatar?"rcb-options-offset":""),children:e.items.map((w,y)=>{const v=A[y]&&!h;return m("div",{className:"rcb-options",style:v?b:g,onMouseEnter:()=>(_=>{f(k=>{const P=[...k];return P[_]=!0,P})})(y),onMouseLeave:()=>(_=>{f(k=>{const P=[...k];return P[_]=!1,P})})(y),onMouseDown:_=>{var k;if(_.preventDefault(),h)return;let P;p(!e.reusable),P=e.sendOutput!=null?e.sendOutput:((k=l.chatInput)==null?void 0:k.sendOptionOutput)??!0,d(w,P)},children:w},w)})})},qm=async(e,t)=>{const n=e.options;if(!n)return;let r;if(typeof n=="function"?(r=n(t),r instanceof Promise&&(r=await r)):r=n,Array.isArray(r)&&(r={items:r}),!("items"in r)||r.items.length==0)return;r.reusable==null&&(r.reusable=!1);const i=t.currPath,o=m(Ym,{options:r,path:i});await t.injectMessage(o)},Km=async(e,t)=>{const n=e.component;if(n){if(typeof n=="function"){let r=n(t);return r instanceof Promise&&(r=await r),r?void await t.injectMessage(r):void 0}await t.injectMessage(n)}},Gm=async(e,t,n,r)=>{const i=e.transition;let o;if(typeof i=="function"?(o=i(t),o instanceof Promise&&(o=await o)):o=i,typeof o=="number"&&(o={duration:o}),!o||o instanceof Promise||o.duration==null||typeof o.duration!="number")return;o.interruptable==null&&(o.interruptable=!1);const s=setTimeout(async()=>{const a=await r(e);a&&await Bu(a,t)},o.duration);o.interruptable&&(n.current=s)},Xm=async(e,t,n)=>{const r=e.chatDisabled;if(r==null)return;let i;typeof r=="function"?(i=r(t),i instanceof Promise&&(i=await i)):i=r,n(i)},Du=async(e,t,n)=>{const r=e.isSensitive;if(!r)return void n(!1);let i;typeof r=="function"?(i=r(t),i instanceof Promise&&(i=await i)):i=r,n(i)},Bu=async(e,t)=>{if(!e)throw new Error("Block is not valid.");const n=Object.keys(e);for(const r of n)r==="function"&&await Vm(e,t);n.includes("path")&&await(async(r,i)=>{const o=r.path;if(!o)return!1;if(typeof o=="string")return await i.goToPath(o),!0;let s=o(i);if(s instanceof Promise&&(s=await s),!s)return!1;const a=s;return await i.goToPath(a),!0})(e,t)},Jm=()=>{var e;const{settings:t}=ct(),{styles:n}=xt();return m("div",{className:"rcb-line-break-container",children:m("div",{style:{...n.chatHistoryLineBreakStyle},className:"rcb-line-break-text","data-testid":"chat-history-line-break-text",children:(e=t.chatHistory)==null?void 0:e.chatHistoryLineBreakText})})},Zm=()=>{var e;const{settings:t}=ct(),{styles:n}=xt(),r={borderTop:`4px solid ${(e=t.general)==null?void 0:e.primaryColor}`,...n.loadingSpinnerStyle};return m("div",{className:"rcb-spinner-container",children:m("div",{style:r,className:"rcb-spinner"})})},Ui=()=>{try{if(typeof crypto<"u"&&typeof crypto.randomUUID=="function")return crypto.randomUUID();throw new Error("crypto.randomUUID not available")}catch(e){if(typeof crypto<"u"&&typeof crypto.getRandomValues=="function")return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const n=crypto.getRandomValues(new Uint8Array(1))[0]%16;return(t==="x"?n:3&n|8).toString(16)});throw console.error(e),new Error("crypto.getRandomValues is also not available")}},gn=(e,t)=>({id:Ui(),content:e,sender:t,type:typeof e=="string"?"string":"object",timestamp:new Date().toUTCString(),tags:[]});let mn,Iu=!1,ji="rcb-history",Vi=30,Tu=!1,Kr=[];const Qs=async e=>{if(Tu||!mn)return;const t=[],n=Iu?Kr.length:0;for(let i=e.length-1;i>=n;i--){const o=e[i];if(o.sender.toUpperCase()!=="SYSTEM"&&(o.content!==""&&t.unshift(o),t.length===Vi))break}let r=t.map(t0);if(r.length<Vi){const i=Vi-r.length;r=[...Kr.slice(-i),...r]}Mu(r)},Fs=()=>Kr,$m=e=>{Mu(e),Kr=e},Mu=e=>{mn&&mn.setItem(ji,JSON.stringify(e))},Ns=e=>{var t,n,r,i,o;mn=((n=(t=e.chatHistory)==null?void 0:t.storageType)==null?void 0:n.toUpperCase())==="SESSION_STORAGE"?sessionStorage:localStorage,ji=(r=e.chatHistory)==null?void 0:r.storageKey,Vi=(i=e.chatHistory)==null?void 0:i.maxEntries,Tu=(o=e.chatHistory)==null?void 0:o.disabled,Kr=(s=>{if(s!=null)try{return JSON.parse(s)}catch{return[]}return[]})(mn.getItem(ji))},t0=e=>sr(e.content)?structuredClone({id:e.id,content:ym.renderToString(e.content),type:e.type,sender:e.sender.toUpperCase(),timestamp:e.timestamp,tags:e.tags}):e,Ou=(e,t,n)=>{const r=new DOMParser().parseFromString(e,"text/html");return Array.from(r.body.childNodes).map((i,o)=>{var s;if(i.nodeType===Node.TEXT_NODE)return i.textContent;{const a=i.tagName.toLowerCase();let l=Array.from(i.attributes).reduce((c,u)=>{const d=u.name.toLowerCase();if(d==="style"){const A=u.value.split(";").filter(h=>h.trim()!==""),f={};A.forEach(h=>{const[p,g]=h.split(":").map(w=>w.trim()),b=p.replace(/-([a-z])/g,(w,y)=>y.toUpperCase());f[b]=g}),c[d]=f}else a!=="audio"&&a!=="video"||d!=="controls"||u.value!==""?c[d]=u.value:c[d]="true";return c},{});if(Object.prototype.hasOwnProperty.call(l,"class")){const c=i.classList;l.className=c.toString(),delete l.class,(s=t.botBubble)!=null&&s.showAvatar&&(l=e0(c,l)),l=n0(c,l,t,n),l=r0(c,l,t,n),l=i0(c,l,t,n),l=o0(c,l,t,n)}if(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr"].includes(a))return at(a,{key:o,...l});{const c=Ou(i.innerHTML,t,n);return at(a,{key:o,...l},...c)}}})},e0=(e,t)=>((e.contains("rcb-options-container")||e.contains("rcb-checkbox-container"))&&(t.className=`${e.toString()} rcb-options-offset`),t),n0=(e,t,n,r)=>{var i,o,s,a,l;return e.contains("rcb-options")&&(t.style={...t.style,color:((i=r.botOptionStyle)==null?void 0:i.color)??((o=n.general)==null?void 0:o.primaryColor),borderColor:((s=r.botOptionStyle)==null?void 0:s.color)??((a=n.general)==null?void 0:a.primaryColor),cursor:`url("${(l=n.general)==null?void 0:l.actionDisabledIcon}"), auto`,...r.botOptionStyle}),t},r0=(e,t,n,r)=>{var i,o,s,a,l;return e.contains("rcb-checkbox-row-container")&&(t.style={...t.style,color:((i=r.botCheckboxRowStyle)==null?void 0:i.color)??((o=n.general)==null?void 0:o.primaryColor),borderColor:((s=r.botCheckboxRowStyle)==null?void 0:s.color)??((a=n.general)==null?void 0:a.primaryColor),cursor:`url("${(l=n.general)==null?void 0:l.actionDisabledIcon}"), auto`,...r.botCheckboxRowStyle}),t},i0=(e,t,n,r)=>{var i,o,s,a,l;return e.contains("rcb-checkbox-next-button")&&(t.style={...t.style,color:((i=r.botCheckboxNextStyle)==null?void 0:i.color)??((o=n.general)==null?void 0:o.primaryColor),borderColor:((s=r.botCheckboxNextStyle)==null?void 0:s.color)??((a=n.general)==null?void 0:a.primaryColor),cursor:`url("${(l=n.general)==null?void 0:l.actionDisabledIcon}"), auto`,...r.botCheckboxNextStyle}),t},o0=(e,t,n,r)=>{var i,o;return(e.contains("rcb-media-display-image-container")||e.contains("rcb-media-display-video-container"))&&(t.style={...t.style,backgroundColor:(i=n.general)==null?void 0:i.primaryColor,maxWidth:(o=n.userBubble)!=null&&o.showAvatar?"65%":"70%",...r.mediaDisplayContainerStyle}),t},zs=()=>{const{settings:e}=ct(),{notificationsToggledOn:t,setSyncedNotificationsToggledOn:n,hasInteractedPage:r,unreadCount:i,setUnreadCount:o,syncedNotificationsToggledOnRef:s}=Ht(),{audioBufferRef:a,audioContextRef:l,gainNodeRef:c}=Qt(),{dispatchRcbEvent:u}=Ie(),d=Z(async()=>{var f,h;const p=(f=e.notification)==null?void 0:f.sound;l.current=new AudioContext;const g=l.current.createGain();let b;if(g.gain.value=((h=e.notification)==null?void 0:h.volume)??.2,c.current=g,p!=null&&p.startsWith("data:audio")){const w=atob(p.split(",")[1]),y=new ArrayBuffer(w.length),v=new Uint8Array(y);for(let _=0;_<w.length;_++)v[_]=w.charCodeAt(_);b=y}else b=await(await fetch(p)).arrayBuffer();a.current=await l.current.decodeAudioData(b)},[e.notification]),A=Z(()=>{var f;if((f=e.notification)!=null&&f.disabled||!s.current||!r||!l.current||!a.current)return;const h=l.current.createBufferSource();h.buffer=a.current,h.connect(c.current).connect(l.current.destination),h.start()},[e.notification,s,r,l,a,c]);return{unreadCount:i,setUnreadCount:o,notificationsToggledOn:t,toggleNotifications:Z(async f=>{var h;f!==s.current&&((h=e.event)!=null&&h.rcbToggleNotifications&&(await u(W.TOGGLE_NOTIFICATIONS,{currState:s.current,newState:!s.current})).defaultPrevented||n(p=>!p))},[s]),playNotificationSound:A,setUpNotifications:d}},s0=(e,t)=>{var n,r,i,o;((s,a,l,c,u)=>{if(!window.SpeechSynthesisUtterance)return void console.info("Speech Synthesis API is not supported in this environment.");const d=new window.SpeechSynthesisUtterance;d.text=s,d.lang=a,d.rate=c,d.volume=u;let A=!1;for(const f of l)if(window.speechSynthesis.getVoices().find(h=>{if(h.name===f)return d.voice=h,window.speechSynthesis.speak(d),void(A=!0)}),A)break;A||window.speechSynthesis.speak(d)})(t,(n=e.audio)==null?void 0:n.language,(r=e.audio)==null?void 0:r.voiceNames,(i=e.audio)==null?void 0:i.rate,(o=e.audio)==null?void 0:o.volume)},Lu=()=>{const{settings:e}=ct(),{audioToggledOn:t,setSyncedAudioToggledOn:n,syncedAudioToggledOnRef:r}=Ht(),{dispatchRcbEvent:i}=Ie(),o=Z(async a=>{var l;a!==r.current&&((l=e.event)!=null&&l.rcbToggleAudio&&(await i(W.TOGGLE_AUDIO,{currState:r.current,newState:!r.current})).defaultPrevented||n(c=>!c))},[r]),s=Z(async a=>{var l,c;if((l=e.audio)!=null&&l.disabled||!r.current)return;let u=a;if((c=e.event)!=null&&c.rcbStartSpeakAudio){const d=await i(W.START_SPEAK_AUDIO,{textToRead:u});if(d.defaultPrevented)return;u=d.data.textToRead}s0(e,u)},[e,r]);return{audioToggledOn:t,speakAudio:s,toggleAudio:o}},Rn=()=>{var e,t;const{settings:n}=ct(),{messages:r,setSyncedMessages:i,syncedMessagesRef:o}=Rs(),{setSyncedIsBotTyping:s,setUnreadCount:a,syncedIsScrollingRef:l,syncedIsChatWindowOpenRef:c}=Ht(),{streamMessageMap:u,chatBodyRef:d,paramsInputRef:A}=Qt(),{scrollToBottom:f,getIsChatBotVisible:h}=le(),{dispatchRcbEvent:p}=Ie(),{speakAudio:g}=Lu(),{playNotificationSound:b}=zs(),w=Z((D,C=!1)=>{var E,I;Qs(D);let B=!0;const T=D[D.length-1];if(!T)return;const R=T.sender.toUpperCase();R==="USER"&&(B=!1),(E=n.general)!=null&&E.embedded&&h()&&(B=!1),(c.current&&!l.current||C)&&(B=!1),B&&b(),!C&&(R!=="USER"&&(I=n.chatWindow)!=null&&I.autoJumpToBottom||R==="USER"||!l.current)&&setTimeout(()=>f(),1)},[n,d,c,l,b,f,h]),y=Z(async(D,C="BOT",E=null)=>{var I,B,T,R,Q;if(typeof D!="string")throw new Error("Content must be of type string to simulate stream.");C=C.toUpperCase();let O=gn(D,C);if((I=n.event)!=null&&I.rcbStartSimulateStreamMessage){const q=await p(W.START_SIMULATE_STREAM_MESSAGE,{message:O});if(q.defaultPrevented)return null;E=q.data.simulateStreamChunker||E,O=q.data.message}s(!1);let N=30;N=C==="BOT"?(B=n.botBubble)==null?void 0:B.streamSpeed:(T=n.userBubble)==null?void 0:T.streamSpeed;const F={...O,content:""};i(q=>[...q,F]),w(o.current);let x=O.content;E&&(x=E(x));let U=0;const S=x.length;O.sender.toUpperCase()==="BOT"&&(c.current||(R=n.general)!=null&&R.embedded)&&typeof O.content=="string"&&O.content.trim()!==""&&g(O.content);const j=new Promise(q=>{const K=setInterval(()=>{if(U>=S)return clearInterval(K),void q();i($=>{const dt=[...$];for(let kt=dt.length-1;kt>=0;kt--)if(dt[kt].id===F.id){const Rt=x[U];Rt&&(F.content+=Rt,dt[kt]=F),U++;break}return dt})},N)});return(l.current||!c.current)&&a(q=>q+1),await j,Qs(o.current),(Q=n.event)!=null&&Q.rcbStopSimulateStreamMessage&&await p(W.STOP_SIMULATE_STREAM_MESSAGE,{message:O}),C==="USER"&&(A.current=D),O},[n,p,w,o,A,s,a,c,g]),v=Z(async(D,C="BOT")=>{var E,I,B;C=C.toUpperCase();let T=gn(D,C);if((E=n.event)!=null&&E.rcbPreInjectMessage){const R=await p(W.PRE_INJECT_MESSAGE,{message:T});if(R.defaultPrevented)return null;T=R.data.message}return T.sender.toUpperCase()==="BOT"&&(c.current||(I=n.general)!=null&&I.embedded)&&typeof T.content=="string"&&T.content.trim()!==""&&g(T.content),(l.current||!c.current)&&a(R=>R+1),(B=n.event)!=null&&B.rcbPostInjectMessage&&await p(W.POST_INJECT_MESSAGE,{message:T}),i(R=>[...R,T]),w(o.current),C==="USER"&&typeof D=="string"&&(A.current=D),T},[n,p,w,A,o,c,g,a]),_=Z(async D=>{var C;const E=o.current.find(I=>I.id===D);return!E||(C=n.event)!=null&&C.rcbRemoveMessage&&(await p(W.REMOVE_MESSAGE,{message:E})).defaultPrevented?null:(i(I=>I.filter(B=>B.id!==D)),w(o.current),a(I=>Math.max(I-1,0)),E)},[p,(e=n.event)==null?void 0:e.rcbRemoveMessage,w,o,a]),k=Z(async(D,C="BOT")=>{var E,I;if(C=C.toUpperCase(),!u.current.has(C)){const T=gn(D,C);return(E=n.event)!=null&&E.rcbStartStreamMessage&&(await p(W.START_STREAM_MESSAGE,{message:T})).defaultPrevented?null:(s(!1),i(R=>[...R,T]),w(o.current),u.current.set(C,T.id),(l.current||!c.current)&&a(R=>R+1),T)}const B={...gn(D,C),id:u.current.get(C)};return(I=n.event)!=null&&I.rcbChunkStreamMessage&&(await p(W.CHUNK_STREAM_MESSAGE,{message:B})).defaultPrevented?null:(i(T=>T.map(R=>R.id===B.id?B:R)),w(o.current,!0),B)},[p,n.event,w,o,s,a,u]),P=Z(async(D="BOT")=>{var C;if(D=D.toUpperCase(),!u.current.has(D))return!0;const E=u.current.get(D);let I;for(let B=0;B<3;B++){const T=o.current.find(R=>R.id===E);T&&(I=T),await new Promise(R=>setTimeout(R,20))}return((C=n.event)==null||!C.rcbStopStreamMessage||!(await p(W.STOP_STREAM_MESSAGE,{message:I})).defaultPrevented)&&(u.current.delete(D),Qs(o.current),D==="USER"&&typeof(I==null?void 0:I.content)=="string"&&(A.current=I.content),!0)},[p,(t=n.event)==null?void 0:t.rcbStopStreamMessage,u,A]);return{simulateStreamMessage:y,injectMessage:v,removeMessage:_,streamMessage:k,endStreamMessage:P,replaceMessages:Z(D=>{i(D),w(D)},[w]),messages:r}};let Hs,Qe,Wi,bn=!1,Fe=null;const Us=()=>{if(!Hs){const e=window.SpeechRecognition||window.webkitSpeechRecognition;Hs=e!=null?new e:null}return Hs},a0=(e,t,n,r,i,o)=>{var s,a,l;const c=Us();if(!c)return;if(!bn)try{bn=!0,c.lang=(s=e.voice)==null?void 0:s.language,c.start()}catch{}const u=(a=e.voice)==null?void 0:a.timeoutPeriod,d=(l=e.voice)==null?void 0:l.autoSendPeriod;c.onresult=A=>{var f,h;clearTimeout(Qe),Qe=null,clearTimeout(Wi);const p=A.results[A.results.length-1][0].transcript;if(o.current){const g=(f=e.chatInput)==null?void 0:f.characterLimit,b=o.current.value+p;g!=null&&g>=0&&b.length>g?r(b.slice(0,g)):r(b),i(o.current.value.length)}u&&(Qe=setTimeout(async()=>await Vs(t,o),u)),(h=e.voice)!=null&&h.autoSendDisabled||(Wi=setTimeout(n,d))},c.onend=()=>{bn?(c.start(),!Qe&&u&&(Qe=setTimeout(async()=>await Vs(t,o),u))):(clearTimeout(Qe),Qe=null,clearTimeout(Wi))},u&&(Qe=setTimeout(async()=>await Vs(t,o),u))},l0=(e,t)=>{navigator.mediaDevices.getUserMedia({audio:!0}).then(n=>{if(Fe=new MediaRecorder(n),!bn)try{bn=!0,Fe.start()}catch{}Fe.ondataavailable=r=>{t.current&&t.current.push(r.data)},Fe.onstop=()=>{e(),n.getTracks().forEach(r=>r.stop())}}).catch(n=>{console.error("Unable to use microphone:",n)})},js=()=>{const e=Us();e&&(bn=!1,e&&e.stop(),Fe&&Fe.state!=="inactive"&&(Fe.stop(),Fe=null),clearTimeout(Qe),Qe=null,clearTimeout(Wi))},Vs=async(e,t)=>{var n;(n=t.current)!=null&&n.disabled||await e(),js()},Ws=()=>{const{settings:e}=ct(),{voiceToggledOn:t,setSyncedVoiceToggledOn:n,syncedVoiceToggledOnRef:r}=Ht(),{dispatchRcbEvent:i}=Ie(),o=Z(async a=>{var l;a!==r.current&&((l=e.event)!=null&&l.rcbToggleVoice&&(await i(W.TOGGLE_VOICE,{currState:r.current,newState:!r.current})).defaultPrevented||n(c=>!c))},[r]),s=Z(a=>{((l,c)=>{var u,d,A;const f=Us();(u=c.voice)!=null&&u.disabled||(d=c.chatInput)==null||!d.blockSpam||!f||(l&&!bn?(bn=!0,(A=c.voice)!=null&&A.sendAsAudio?Fe==null||Fe.start():f.start()):l||js())})(a,e)},[e]);return{voiceToggledOn:t,toggleVoice:o,syncVoice:s}},ar=()=>{var e;const{settings:t}=ct(),{inputLength:n,setInputLength:r,textAreaDisabled:i,setSyncedTextAreaDisabled:o,textAreaSensitiveMode:s,setSyncedTextAreaSensitiveMode:a,syncedTextAreaDisabledRef:l,syncedTextAreaSensitiveModeRef:c}=Ht(),{inputRef:u,chatBodyRef:d,prevInputRef:A}=Qt(),{dispatchRcbEvent:f}=Ie(),{getIsChatBotVisible:h}=le(),p=Z(async k=>{var P,D,C;if(l.current&&u.current)u.current.value="";else if(u.current&&A.current!==null){const E=(P=t.chatInput)==null?void 0:P.characterLimit,I=(D=t.chatInput)!=null&&D.allowNewline?k:k.replace(/\n/g," ");if(E!=null&&E>=0&&I.length>E?u.current.value=I.slice(0,E):u.current.value=I,(C=t.event)!=null&&C.rcbTextAreaChangeValue&&(await f(W.TEXT_AREA_CHANGE_VALUE,{currValue:u.current.value,prevValue:A.current})).defaultPrevented)return void(u.current.value=A.current);A.current=u.current.value}},[l,u,A,t,f]),g=Z(k=>{var P;(P=u.current)!=null&&P.disabled||setTimeout(()=>{var D,C,E;(D=t.general)!=null&&D.embedded?h()&&((C=u.current)==null||C.focus()):k!=="start"&&((E=u.current)==null||E.focus())},100)},[u,(e=t.general)==null?void 0:e.embedded,d,h]),b=Z(()=>{u.current&&u.current.focus()},[]),w=Z(()=>{u.current&&u.current.blur()},[]),y=Z(()=>u&&u.current?u.current.value:"",[]),v=Z(k=>{k!==l.current&&o(P=>!P)},[l]),_=Z(k=>{k!==c.current&&a(P=>!P)},[c]);return{textAreaDisabled:i,setSyncedTextAreaDisabled:o,textAreaSensitiveMode:s,setSyncedTextAreaSensitiveMode:a,inputLength:n,setInputLength:r,getTextAreaValue:y,setTextAreaValue:p,updateTextAreaFocus:g,focusTextArea:b,blurTextArea:w,toggleTextAreaDisabled:v,toggleTextAreaSensitiveMode:_}},Ru=pe({toasts:[],setSyncedToasts:()=>{},syncedToastsRef:{current:[]}}),Qu=()=>ae(Ru),c0=({children:e})=>{const[t,n,r]=Be([]);return m(Ru.Provider,{value:{toasts:t,setSyncedToasts:n,syncedToastsRef:r},children:e})},lr=()=>{const{settings:e}=ct(),{toasts:t,setSyncedToasts:n,syncedToastsRef:r}=Qu(),{dispatchRcbEvent:i}=Ie(),o=Z(async(a,l)=>{var c,u,d,A;let f=null;if(r.current.length>=(((c=e.toast)==null?void 0:c.maxCount)??3)){if((u=e.toast)!=null&&u.forbidOnMax)return null;f=Ui();let p={id:f,content:a,timeout:l};if((d=e.event)!=null&&d.rcbShowToast){const g=await i(W.SHOW_TOAST,{toast:p});if(g.defaultPrevented)return null;p=g.data.toast}return n(g=>[...g.slice(1),p]),f}f=Ui();let h={id:f,content:a,timeout:l};if((A=e.event)!=null&&A.rcbShowToast){const p=await i(W.SHOW_TOAST,{toast:h});if(p.defaultPrevented)return null;h=p.data.toast}return n(p=>[...p,h]),f},[e,i]),s=Z(async a=>{var l;const c=r.current.find(u=>u.id===a);return!c||(l=e.event)!=null&&l.rcbDismissToast&&(await i(W.DISMISS_TOAST,{toast:c})).defaultPrevented?null:(n(u=>u.filter(d=>d.id!==a)),a)},[i]);return{showToast:o,dismissToast:s,toasts:t,replaceToasts:Z(a=>{n(a)},[])}},Yi=()=>{var e,t,n,r,i;const{settings:o}=ct(),{paths:s,setSyncedPaths:a,syncedPathsRef:l}=qr(),{flowRef:c,streamMessageMap:u,paramsInputRef:d,keepVoiceOnRef:A,timeoutIdRef:f}=Qt(),{setSyncedIsBotTyping:h,setSyncedTextAreaDisabled:p,setSyncedTextAreaSensitiveMode:g,blockAllowsAttachment:b,setBlockAllowsAttachment:w}=Ht(),{dispatchRcbEvent:y}=Ie(),{endStreamMessage:v,injectMessage:_,removeMessage:k,simulateStreamMessage:P,streamMessage:D}=Rn(),{showToast:C,dismissToast:E}=lr(),{toggleChatWindow:I}=le(),{updateTextAreaFocus:B,setTextAreaValue:T}=ar(),{syncVoice:R}=Ws(),Q=Z(async S=>{var j;if((j=o.event)!=null&&j.rcbPostProcessBlock){const q=await y(W.POST_PROCESS_BLOCK,{block:S});if(q.defaultPrevented)return null;S=q.data.block}return S},[(e=o.event)==null?void 0:e.rcbPostProcessBlock,y]),O=Z(async(S,j)=>{var q,K,$,dt;if(!S)return;let kt=c.current[S];if(!kt)return void h(!1);if((q=o.event)!=null&&q.rcbPreProcessBlock){const Mt=await y(W.PRE_PROCESS_BLOCK,{block:kt});if(Mt.defaultPrevented)return;kt=Mt.data.block}h(!0),(K=o.chatInput)!=null&&K.blockSpam&&p(!0),g(!1);const Rt={prevPath:j,currPath:S,goToPath:x,setTextAreaValue:T,userInput:d.current,endStreamMessage:v,injectMessage:_,removeMessage:k,simulateStreamMessage:P,streamMessage:D,toggleChatWindow:I,showToast:C,dismissToast:E};await(async(Mt,zt,Ce,Ze,Le,An,In)=>{if(!Mt)throw new Error("Block is not valid.");for(const fn of Object.keys(Mt))switch(fn){case"message":await Wm(Mt,zt,Ce);break;case"options":await qm(Mt,zt);break;case"checkboxes":await jm(Mt,zt);break;case"component":await Km(Mt,zt);break;case"chatDisabled":await Xm(Mt,zt,Le);break;case"isSensitive":await Du(Mt,zt,An);break;case"transition":await Gm(Mt,zt,Ze,In)}})(kt,Rt,(($=o.botBubble)==null?void 0:$.simulateStream)??!1,f,p,g,Q),h(!1),"chatDisabled"in kt||p((dt=o.chatInput)==null?void 0:dt.disabled),"isSensitive"in kt||g(!1),w(typeof kt.file=="function"),B(S),R(A.current&&!kt.chatDisabled),S!==j&&u.current.clear()},[c,B,R,(t=o.botBubble)==null?void 0:t.simulateStream,(n=o.chatInput)==null?void 0:n.disabled,d,v,_,k,P,D,I,C,E,A,u]),N=Z(()=>l.current.length>0?l.current.at(-1)??null:null,[]),F=Z(()=>l.current.length>1?l.current.at(-2)??null:null,[]),x=Z(async S=>{var j;const q=N(),K=F();return((j=o.event)==null||!j.rcbChangePath||!(await y(W.CHANGE_PATH,{currPath:q,prevPath:K,nextPath:S})).defaultPrevented)&&(a($=>[...$,S]),await O(S,q),!0)},[(r=o.chatInput)==null?void 0:r.blockSpam,(i=o.event)==null?void 0:i.rcbChangePath,O,y]),U=Z(S=>{a(S)},[]);return{getCurrPath:N,getPrevPath:F,goToPath:x,blockAllowsAttachment:b,setBlockAllowsAttachment:w,paths:s,replacePaths:U,firePostProcessBlockEvent:Q}},cr=()=>{var e,t,n,r;const{settings:i}=ct(),{endStreamMessage:o,injectMessage:s,removeMessage:a,simulateStreamMessage:l,streamMessage:c}=Rn(),{syncedPathsRef:u}=qr(),{getCurrPath:d,getPrevPath:A,goToPath:f,firePostProcessBlockEvent:h}=Yi(),{setSyncedTextAreaSensitiveMode:p,setSyncedTextAreaDisabled:g,setSyncedIsBotTyping:b,setBlockAllowsAttachment:w,setInputLength:y,syncedVoiceToggledOnRef:v,syncedTextAreaSensitiveModeRef:_}=Ht(),{flowRef:k,inputRef:P,keepVoiceOnRef:D,paramsInputRef:C,timeoutIdRef:E}=Qt(),{showToast:I,dismissToast:B}=lr(),{dispatchRcbEvent:T}=Ie(),{syncVoice:R}=Ws(),{setTextAreaValue:Q}=ar(),{toggleChatWindow:O}=le(),N=Z(async x=>{var U,S,j,q,K,$;const dt=d();if(dt&&k.current[dt]){if(_.current){if((U=i==null?void 0:i.sensitiveInput)!=null&&U.hideInUserBubble)return;if((S=i==null?void 0:i.sensitiveInput)!=null&&S.maskInUserBubble)return void((j=i.userBubble)!=null&&j.simulateStream?await l("*".repeat(((q=i.sensitiveInput)==null?void 0:q.asterisksCount)??10),"USER"):await s("*".repeat(((K=i.sensitiveInput)==null?void 0:K.asterisksCount)??10),"USER"))}($=i.userBubble)!=null&&$.simulateStream?await l(x,"USER"):await s(x,"USER")}},[k,d,i,s,l,_]),F=Z(async(x,U=!0)=>{var S,j;if((x=x.trim())==="")return;U&&await N(x),E.current&&clearTimeout(E.current),P.current&&(Q(""),y(0));const q=d();if(!q)return;let K=k.current[q];const $=await h(K);$&&((S=i.chatInput)!=null&&S.blockSpam&&g(!0),D.current=v.current,R(!1),setTimeout(()=>{b(!0)},400),p(!1),setTimeout(async()=>{var dt;const kt={prevPath:A(),currPath:d(),goToPath:f,setTextAreaValue:Q,userInput:C.current,injectMessage:s,simulateStreamMessage:l,streamMessage:c,removeMessage:a,endStreamMessage:o,toggleChatWindow:O,showToast:I,dismissToast:B},Rt=u.current.length;await Bu($,kt),u.current.length===Rt&&(g("chatDisabled"in K?!!K.chatDisabled:!((dt=i.chatInput)==null||!dt.disabled)),Du(K,kt,p),w(typeof K.file=="function"),R(D.current),b(!1))},(j=i.chatInput)==null?void 0:j.botDelay))},[E,(e=i.chatInput)==null?void 0:e.blockSpam,(t=i.chatInput)==null?void 0:t.botDelay,(n=i.chatInput)==null?void 0:n.disabled,D,v,R,N,A,d,f,s,l,c,a,o,O,I,B,k]);return{handleSubmitText:Z(async(x,U=!0)=>{var S,j;x=x??((S=P.current)==null?void 0:S.value),!((j=i.event)!=null&&j.rcbUserSubmitText&&(await T(W.USER_SUBMIT_TEXT,{inputText:x,sendInChat:U})).defaultPrevented||!d())&&F(x,U)},[T,d,F,P,(r=i.event)==null?void 0:r.rcbUserSubmitText])}},qi=()=>{var e;const{settings:t}=ct();return Ot(()=>{var n;if(typeof window>"u"||!window.navigator)return!1;if((n=t.device)==null||!n.applyMobileOptimizations)return!0;const r=navigator.userAgent,i=!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(r),o=window.innerWidth>=768;return i&&o},[(e=t.device)==null?void 0:e.applyMobileOptimizations])},u0=({buttons:e})=>{var t,n,r,i,o,s,a,l,c,u,d;const A=qi(),{settings:f}=ct(),{styles:h}=xt(),{textAreaDisabled:p,textAreaSensitiveMode:g,inputLength:b,hasFlowStarted:w,setHasFlowStarted:y,setInputLength:v}=Ht(),{inputRef:_}=Qt(),[k,P]=G(!1),[D,C]=G(!1),{handleSubmitText:E}=cr(),{setTextAreaValue:I}=ar(),B={boxSizing:A?"content-box":"border-box",...h.chatInputAreaStyle},T={outline:p?"":"none",boxShadow:p?"":`0 0 5px ${(t=f.general)==null?void 0:t.primaryColor}`,boxSizing:A?"content-box":"border-box",...h.chatInputAreaStyle,...h.chatInputAreaFocusedStyle},R={cursor:`url("${(n=f.general)==null?void 0:n.actionDisabledIcon}"), auto`,caretColor:"transparent",boxSizing:A?"content-box":"border-box",...h.chatInputAreaStyle,...h.chatInputAreaDisabledStyle},Q={color:"#989898",...h.characterLimitStyle},O={color:"#ff0000",...h.characterLimitReachedStyle},N=p?(r=f.chatInput)==null?void 0:r.disabledPlaceholderText:(i=f.chatInput)==null?void 0:i.enabledPlaceholderText,F=()=>{p||P(!0)},x=()=>{P(!1)},U=()=>{C(!0)},S=()=>{C(!1)},j=async K=>{var $;if(!D&&K.key==="Enter"){if(K.shiftKey)return void(($=f.chatInput)!=null&&$.allowNewline||K.preventDefault());K.preventDefault(),await E()}},q=K=>{_.current&&(I(K.target.value),v(_.current.value.length))};return m("div",{"aria-label":((o=f.ariaLabel)==null?void 0:o.inputTextArea)??"input text area",role:"textbox",onMouseDown:K=>{var $;K.stopPropagation(),!w&&(($=f.general)==null?void 0:$.flowStartTrigger)==="ON_CHATBOT_INTERACT"&&y(!0)},style:{...h.chatInputContainerStyle},className:"rcb-chat-input",children:[g&&(s=f.sensitiveInput)!=null&&s.maskInTextArea?m("input",{ref:_,type:"password",className:"rcb-chat-input-textarea",style:p?R:k?T:B,placeholder:N,onChange:q,onKeyDown:j,onFocus:F,onBlur:x,onCompositionStart:U,onCompositionEnd:S}):m("textarea",{ref:_,style:p?R:k?T:B,rows:1,className:"rcb-chat-input-textarea",placeholder:N,onChange:q,onKeyDown:j,onFocus:F,onBlur:x,onCompositionStart:U,onCompositionEnd:S}),m(tt,{children:[e==null?void 0:e.map((K,$)=>m(tt,{children:K},$)),((a=f.chatInput)==null?void 0:a.showCharacterCount)&&((l=f.chatInput)==null?void 0:l.characterLimit)!=null&&((c=f.chatInput)==null?void 0:c.characterLimit)>0&&m("div",{className:"rcb-chat-input-char-counter",style:b>=((u=f.chatInput)==null?void 0:u.characterLimit)?O:Q,children:[b,"/",(d=f.chatInput)==null?void 0:d.characterLimit]})]})]})},d0=({buttons:e})=>{var t;const{settings:n}=ct(),{styles:r}=xt();return m("div",{"data-testid":"chatbot-footer-container",style:{...r.footerStyle},className:"rcb-chat-footer-container",children:[m("div",{className:"rcb-chat-footer",children:e==null?void 0:e.map((i,o)=>m(tt,{children:i},o))}),m("span",{children:(t=n.footer)==null?void 0:t.text})]})},A0=()=>{var e,t,n,r,i,o,s;const{settings:a}=ct(),{styles:l}=xt(),{unreadCount:c}=Ht(),{isChatWindowOpen:u,toggleChatWindow:d}=le(),A={backgroundImage:`linear-gradient(to right, ${(e=a.general)==null?void 0:e.secondaryColor},
|
|
3
|
+
${(t=a.general)==null?void 0:t.primaryColor})`,...l.chatButtonStyle},f={backgroundImage:`url(${(n=a.chatButton)==null?void 0:n.icon})`,fill:"#fff",width:75,height:75,...l.chatIconStyle};return m(tt,{children:!((r=a.general)!=null&&r.embedded)&&m("div",{"aria-label":((i=a.ariaLabel)==null?void 0:i.chatButton)??"open chat",role:"button",style:A,className:"rcb-toggle-button "+(u?"rcb-button-hide":"rcb-button-show"),onClick:()=>d(!0),children:[(()=>{var h;const p=(h=a.chatButton)==null?void 0:h.icon;return p&&typeof p!="string"?p&&m("span",{className:"rcb-toggle-icon",children:m(p,{style:f})}):m("span",{className:"rcb-toggle-icon",style:f})})(),!((o=a.notification)!=null&&o.disabled)&&((s=a.notification)==null?void 0:s.showCount)&&m("span",{style:{...l.notificationBadgeStyle},className:"rcb-badge",children:c})]})})},f0=()=>{var e,t,n,r;const i=qi(),{settings:o}=ct(),{styles:s}=xt(),{chatBodyRef:a}=Qt(),{isChatWindowOpen:l,toggleChatWindow:c}=le(),[u,d]=G(!1),[A,f]=G(!1),[h,p]=G(0);ot(()=>{var w,y,v;const _=(w=o.tooltip)==null?void 0:w.mode;if(_==="ALWAYS")if(i){let k;k=l?(((y=a.current)==null?void 0:y.offsetWidth)??375)-(typeof((v=s.chatButtonStyle)==null?void 0:v.width)=="number"?s.chatButtonStyle.width:75):0,p(k),d(!0)}else d(!l);else _==="NEVER"?d(!1):_==="START"?A?d(!1):(f(!0),d(!0)):_==="CLOSE"&&d(!l)},[l]);const g={transform:`translateX(-${h}px)`,right:(((e=s.chatButtonStyle)==null?void 0:e.width)??75)+40,bottom:30,backgroundColor:(t=o.general)==null?void 0:t.secondaryColor,color:"#fff",...s.tooltipStyle},b={borderColor:`transparent transparent transparent ${g.backgroundColor}`};return m(tt,{children:!((n=o.general)!=null&&n.embedded)&&m("div",{"data-testid":"chat-tooltip",style:g,className:"rcb-chat-tooltip "+(u?"rcb-tooltip-show":"rcb-tooltip-hide"),onClick:()=>c(!0),children:[m("span",{children:(r=o.tooltip)==null?void 0:r.text}),m("span",{className:"rcb-chat-tooltip-tail",style:b})]})})},h0=({id:e,content:t,timeout:n})=>{var r,i;const{settings:o}=ct(),{styles:s}=xt(),[a]=G({toastPromptStyle:{...s.toastPromptStyle},toastPromptHoveredStyle:{...s.toastPromptHoveredStyle}}),{dismissToast:l}=lr(),[c,u]=G(!1),d={color:(r=o.general)==null?void 0:r.primaryColor,borderColor:(i=o.general)==null?void 0:i.primaryColor,...a.toastPromptHoveredStyle};return ot(()=>{if(n){const A=setTimeout(()=>{l(e)},n);return()=>clearTimeout(A)}},[e,l,n]),typeof t=="string"?m("div",{onMouseEnter:()=>{u(!0)},onMouseLeave:()=>{u(!1)},style:c?d:a.toastPromptStyle,onMouseDown:async A=>{var f;(f=o.toast)!=null&&f.dismissOnClick&&(A.preventDefault(),await l(e))},className:"rcb-toast-prompt",children:t}):m(tt,{children:t})},p0=()=>{var e,t,n,r,i,o,s,a,l,c,u,d;const{styles:A}=xt(),{toasts:f}=Qu(),h={bottom:`calc(${typeof((e=A.footerStyle)==null?void 0:e.height)=="number"?`${(t=A.footerStyle)==null?void 0:t.height}px`:((n=A.footerStyle)==null?void 0:n.height)??"50px"} + ${typeof((r=A.chatInputContainerStyle)==null?void 0:r.height)=="number"?`${(i=A.chatInputContainerStyle)==null?void 0:i.height}px`:((o=A.chatInputContainerStyle)==null?void 0:o.height)??"70px"} + 20px)`,width:300,minWidth:`calc(${typeof((s=A.chatWindowStyle)==null?void 0:s.width)=="number"?`${(a=A.chatWindowStyle)==null?void 0:a.width}px`:((l=A.chatWindowStyle)==null?void 0:l.width)??"375px"} / 2)`,maxWidth:`calc(${typeof((c=A.chatWindowStyle)==null?void 0:c.width)=="number"?`${(u=A.chatWindowStyle)==null?void 0:u.width}px`:((d=A.chatWindowStyle)==null?void 0:d.width)??"375px"} - 50px)`,...A.toastPromptContainerStyle};return m("div",{className:"rcb-toast-prompt-container",style:h,children:f.map(p=>m(h0,{id:p.id,content:p.content,timeout:p.timeout},p.id))})},Fu=({file:e,fileType:t,fileUrl:n})=>{var r,i,o;const{settings:s}=ct(),{styles:a}=xt(),l={backgroundColor:(r=s.general)==null?void 0:r.primaryColor,maxWidth:(i=s.userBubble)!=null&&i.showAvatar?"65%":"70%",...a.mediaDisplayContainerStyle};return m(tt,{children:n?m(tt,{children:[t==="image"&&n&&m("div",{style:l,className:"rcb-media-display-image-container rcb-media-entry","data-testid":"media-display-image-container",children:m("img",{src:n,alt:"Image Display",className:"rcb-media-display-image"})}),t==="video"&&n&&m("div",{style:l,className:"rcb-media-display-video-container rcb-media-entry","data-testid":"media-display-video-container",children:m("video",{controls:!0,className:"rcb-media-display-video",children:[m("source",{src:n,type:e.type}),"Your browser does not support the video tag."]})}),t==="audio"&&n&&m("audio",{"data-testid":"media-display-audio-container",style:{maxWidth:(o=s.userBubble)!=null&&o.showAvatar?"65%":"70%"},controls:!0,className:"rcb-media-display-audio rcb-media-entry",children:[m("source",{src:n,type:e.type}),"Your browser does not support the audio tag."]})]}):m(tt,{})})},Nu=async e=>{if(!e)return{fileType:null,fileUrl:null};const t=e.type.split("/")[0];if(!["image","video","audio"].includes(t))return{fileType:null,fileUrl:null};try{return{fileType:t,fileUrl:await new Promise((n,r)=>{const i=new FileReader;i.onload=()=>n(i.result),i.onerror=()=>r(new Error("File reading failed")),i.readAsDataURL(e)})}}catch(n){return console.error(n),{fileType:null,fileUrl:null}}},g0=()=>{var e,t,n,r,i,o;const{settings:s}=ct(),{styles:a}=xt(),{injectMessage:l,simulateStreamMessage:c,streamMessage:u,removeMessage:d,endStreamMessage:A}=Rn(),{getCurrPath:f,getPrevPath:h,goToPath:p,blockAllowsAttachment:g}=Yi(),{flowRef:b,inputRef:w}=Qt(),y=b.current,{showToast:v,dismissToast:_}=lr(),{dispatchRcbEvent:k}=Ie(),{toggleChatWindow:P}=le(),{setTextAreaValue:D}=ar(),{handleSubmitText:C}=cr(),E={cursor:`url("${(e=s.general)==null?void 0:e.actionDisabledIcon}"), auto`,...a.fileAttachmentButtonStyle,...a.fileAttachmentButtonDisabledStyle},I={backgroundImage:`url(${(t=s.fileAttachment)==null?void 0:t.icon})`,fill:"#a6a6a6",...a.fileAttachmentIconStyle},B={backgroundImage:`url(${(n=s.fileAttachment)==null?void 0:n.icon})`,fill:"#a6a6a6",...a.fileAttachmentIconStyle,...a.fileAttachmentIconDisabledStyle};return m("label",{"aria-label":((r=s.ariaLabel)==null?void 0:r.fileAttachmentButton)??"upload file",role:"button",className:g?"rcb-attach-button-enabled":"rcb-attach-button-disabled",style:g?{...a.fileAttachmentButtonStyle}:E,children:[m("input",{className:"rcb-attach-input",role:"file",type:"file",onChange:async T=>{var R,Q,O,N;const F=T.target.files;if(!F)return;const x=Array.from(F);if(T.target.value="",(R=s.event)!=null&&R.rcbUserUploadFile&&(await k(W.USER_UPLOAD_FILE,{files:x})).defaultPrevented)return;const U=f();if(!U)return;const S=y[U];if(!S)return;const j=S.file;if(j!=null){const q=[];for(let K=0;K<x.length;K++){if(q.push(x[K].name),(Q=s.fileAttachment)==null||!Q.showMediaDisplay)continue;const $=await Nu(x[K]);!$.fileType||!$.fileUrl||await l(m(Fu,{file:x[K],fileType:$.fileType,fileUrl:$.fileUrl}),"USER")}await C("📄 "+q.join(", "),(O=s.fileAttachment)==null?void 0:O.sendFileName),await j({userInput:(N=w.current)==null?void 0:N.value,prevPath:h(),currPath:f(),goToPath:p,setTextAreaValue:D,injectMessage:l,simulateStreamMessage:c,streamMessage:u,removeMessage:d,endStreamMessage:A,toggleChatWindow:P,showToast:v,dismissToast:_,files:x})}},multiple:(i=s.fileAttachment)==null?void 0:i.multiple,accept:(o=s.fileAttachment)==null?void 0:o.accept,disabled:!g}),(()=>{var T,R;const Q=g?(T=s.fileAttachment)==null?void 0:T.icon:(R=s.fileAttachment)==null?void 0:R.iconDisabled;return Q&&typeof Q!="string"?Q&&m("span",{className:g?"rcb-attach-icon-enabled":"rcb-attach-icon-disabled",children:m(Q,{style:g?I:B})}):m("span",{className:g?"rcb-attach-icon-enabled":"rcb-attach-icon-disabled",style:g?I:B})})()]})},m0=()=>{var e,t,n,r,i,o;const{settings:s}=ct(),{styles:a}=xt(),{syncedTextAreaDisabledRef:l}=Ht(),{inputRef:c}=Qt(),{textAreaDisabled:u,setTextAreaValue:d}=ar(),A=nt(null),f=nt(null),[h,p]=G(!1),g={cursor:`url("${(e=s.general)==null?void 0:e.actionDisabledIcon}"), auto`,...a.emojiButtonStyle,...a.emojiButtonDisabledStyle},b={backgroundImage:`url(${(t=s.emoji)==null?void 0:t.icon})`,fill:"#a6a6a6",...a.emojiIconStyle},w={backgroundImage:`url(${(n=s.emoji)==null?void 0:n.icon})`,fill:"#a6a6a6",...a.emojiIconStyle,...a.emojiIconDisabledStyle};return ot(()=>{const y=_=>{const k=_.composedPath();A.current&&!k.includes(A.current)&&f.current&&!k.includes(f.current)&&p(!1)},v=()=>{(()=>{if(A.current&&f.current){const _=f.current.getBoundingClientRect(),k=A.current.offsetHeight,P=_.top-k-8;A.current.style.left=`${_.left}px`,A.current.style.top=`${P}px`}})()};return document.addEventListener("mousedown",y),window.addEventListener("resize",v),()=>{document.removeEventListener("mousedown",y),window.removeEventListener("resize",v)}},[]),m(tt,{children:[m("div",{"aria-label":((r=s.ariaLabel)==null?void 0:r.emojiButton)??"emoji picker",role:"button",ref:f,className:u?"rcb-emoji-button-disabled":"rcb-emoji-button-enabled",style:u?g:{...a.emojiButtonStyle},onMouseDown:y=>{y.preventDefault(),l.current?p(!1):p(v=>!v)},children:(()=>{var y,v;const _=u?(y=s.emoji)==null?void 0:y.iconDisabled:(v=s.emoji)==null?void 0:v.icon;return _&&typeof _!="string"?_&&m("span",{className:u?"rcb-emoji-icon-disabled":"rcb-emoji-icon-enabled",children:m(_,{style:u?w:b})}):m("span",{className:u?"rcb-emoji-icon-disabled":"rcb-emoji-icon-enabled",style:u?w:b})})()}),h&&m("div",{className:"rcb-emoji-button-popup",ref:A,children:(o=(i=s.emoji)==null?void 0:i.list)==null?void 0:o.map((y,v)=>m("span",{className:"rcb-emoji",onMouseDown:_=>((k,P)=>{k.preventDefault(),c.current&&(d(c.current.value+P),setTimeout(()=>{const D=c.current;if(D){D.focus();const C=D.value.length;D.setSelectionRange(C,C)}},50)),p(!1)})(_,y),children:y},v))})]})},b0=()=>{var e,t,n;const{settings:r}=ct(),{styles:i}=xt(),{audioToggledOn:o,toggleAudio:s}=Lu(),a={backgroundImage:`url(${(e=r.audio)==null?void 0:e.icon})`,fill:"#fcec3d",...i.audioIconStyle},l={backgroundImage:`url(${(t=r.audio)==null?void 0:t.iconDisabled})`,fill:"#e8eaed",...i.audioIconStyle,...i.audioIconDisabledStyle};return m("div",{"aria-label":((n=r.ariaLabel)==null?void 0:n.audioButton)??"toggle audio",role:"button",onMouseDown:async c=>{c.preventDefault(),await s()},style:o?{...i.audioButtonStyle}:{...i.audioButtonStyle,...i.audioButtonDisabledStyle},children:(()=>{var c,u;const d=o?(c=r.audio)==null?void 0:c.icon:(u=r.audio)==null?void 0:u.iconDisabled;return d&&typeof d!="string"?d&&m("span",{className:"rcb-audio-icon","data-testid":"rcb-audio-icon",children:m(d,{style:o?a:l,"data-testid":"rcb-audio-icon-svg"})}):m("span",{className:"rcb-audio-icon","data-testid":"rcb-audio-icon",style:o?a:l})})()})},v0=()=>{var e,t;const{settings:n}=ct(),{styles:r}=xt(),{toggleChatWindow:i}=le(),o={backgroundImage:`url(${(e=n.header)==null?void 0:e.closeChatIcon})`,fill:"#e8eaed",stroke:"#e8eaed",...r.closeChatIconStyle};return m("div",{"aria-label":((t=n.ariaLabel)==null?void 0:t.closeChatButton)??"close chat",role:"button",onMouseDown:s=>{s.stopPropagation(),i(!1)},style:{...r.closeChatButtonStyle},children:(()=>{var s;const a=(s=n.header)==null?void 0:s.closeChatIcon;return a&&typeof a!="string"?a&&m("span",{className:"rcb-close-chat-icon","data-testid":"rcb-close-chat-icon",children:m(a,{style:o})}):m("span",{className:"rcb-close-chat-icon","data-testid":"rcb-close-chat-icon",style:o})})()})},y0=()=>{var e,t,n;const{settings:r}=ct(),{styles:i}=xt(),{notificationsToggledOn:o,toggleNotifications:s}=(()=>{const{notificationsToggledOn:c,toggleNotifications:u,playNotificationSound:d}=zs();return{notificationsToggledOn:c,toggleNotifications:u,playNotificationSound:d}})(),a={backgroundImage:`url(${(e=r.notification)==null?void 0:e.icon})`,fill:"#fcec3d",...i.notificationIconStyle},l={backgroundImage:`url(${(t=r.notification)==null?void 0:t.iconDisabled})`,fill:"#e8eaed",...i.notificationIconStyle,...i.notificationIconDisabledStyle};return m("div",{"aria-label":((n=r.ariaLabel)==null?void 0:n.notificationButton)??"toggle notifications",role:"button",onMouseDown:async c=>{c.preventDefault(),await s()},style:o?{...i.notificationButtonStyle}:{...i.notificationButtonStyle,...i.notificationButtonDisabledStyle},children:(()=>{var c,u;const d=o?(c=r.notification)==null?void 0:c.icon:(u=r.notification)==null?void 0:u.iconDisabled;return d&&typeof d!="string"?d&&m("span",{className:"rcb-notification-icon","data-testid":"rcb-notification-icon",children:m(d,{style:o?a:l,"data-testid":"rcb-notification-icon-svg"})}):m("span",{className:"rcb-notification-icon","data-testid":"rcb-notification-icon",style:o?a:l})})()})},w0=()=>{var e,t,n;const{settings:r}=ct(),{styles:i}=xt(),{injectMessage:o}=Rn(),{inputRef:s}=Qt(),{voiceToggledOn:a,toggleVoice:l}=Ws(),{setInputLength:c,setTextAreaValue:u,textAreaDisabled:d}=ar(),{handleSubmitText:A}=cr(),f=nt([]),[h,p]=G(!1);ot(()=>{var v;(v=r.voice)!=null&&v.sendAsAudio?(y(),f.current=[]):A()},[h]),ot(()=>{a?((v,_,k,P,D,C,E)=>{var I;(I=v.voice)!=null&&I.sendAsAudio?l0(k,C):a0(v,_,k,P,D,E)})(r,l,w,u,c,f,s):js()},[a]);const g={backgroundImage:`url(${(e=r.voice)==null?void 0:e.icon})`,fill:"#9aa0a6",...i.voiceIconStyle},b={backgroundImage:`url(${(t=r.voice)==null?void 0:t.iconDisabled})`,fill:"#9aa0a6",...i.voiceIconStyle,...i.voiceIconDisabledStyle},w=()=>{p(v=>!v)},y=async()=>{const v=new Blob(f.current,{type:"audio/wav"}),_=new File([v],"voice-input.wav",{type:"audio/wav"}),k=await Nu(_);!k.fileType||!k.fileUrl||await o(m(Fu,{file:_,fileType:k.fileType,fileUrl:k.fileUrl}),"USER")};return m("div",{"aria-label":((n=r.ariaLabel)==null?void 0:n.voiceButton)??"toggle voice",role:"button",onMouseDown:async v=>{v.preventDefault(),!d&&await l()},style:a&&!d?{...i.voiceButtonStyle}:{...i.voiceButtonStyle,...i.voiceButtonDisabledStyle},className:a&&!d?"rcb-voice-button-enabled":"rcb-voice-button-disabled",children:(()=>{var v,_;const k=a?(v=r.voice)==null?void 0:v.icon:(_=r.voice)==null?void 0:_.iconDisabled;return k&&typeof k!="string"?k&&m("span",{className:"rcb-voice-icon "+(a&&!d?"on":""),children:m(k,{style:a&&!d?g:b})}):m("span",{className:"rcb-voice-icon"+(a&&!d?"-on":""),"data-testid":"rcb-voice-icon",style:a&&!d?g:b})})()})},x0=()=>{var e,t,n,r,i,o,s,a;const{settings:l}=ct(),{styles:c}=xt(),{textAreaDisabled:u}=Ht(),[d,A]=G(!1),{handleSubmitText:f}=cr(),h={backgroundColor:(e=l.general)==null?void 0:e.primaryColor,...c.sendButtonStyle},p={cursor:`url("${(t=l.general)==null?void 0:t.actionDisabledIcon}"), auto`,backgroundColor:(n=l.general)==null?void 0:n.primaryColor,...c.sendButtonStyle,...c.sendButtonDisabledStyle},g={backgroundColor:(r=l.general)==null?void 0:r.secondaryColor,...c.sendButtonStyle,...c.sendButtonHoveredStyle},b={backgroundImage:`url(${(i=l.chatInput)==null?void 0:i.sendButtonIcon})`,fill:"#fff",...c.sendIconStyle},w={backgroundImage:`url(${(o=l.chatInput)==null?void 0:o.sendButtonIcon})`,fill:"#fff",...c.sendIconStyle,...c.sendIconDisabledStyle},y={backgroundImage:`url(${(s=l.chatInput)==null?void 0:s.sendButtonIcon})`,fill:"#fff",...c.sendIconStyle,...c.sendIconHoveredStyle};return m("div",{"aria-label":((a=l.ariaLabel)==null?void 0:a.sendButton)??"send message",role:"button",onMouseEnter:()=>{A(!0)},onMouseLeave:()=>{A(!1)},onMouseDown:async v=>{v==null||v.preventDefault(),!u&&await f()},style:u?p:d?g:h,className:"rcb-send-button",children:(()=>{var v;const _=(v=l.chatInput)==null?void 0:v.sendButtonIcon;return _&&typeof _!="string"?_&&m("span",{className:"rcb-send-icon","data-testid":"rcb-send-icon",children:m(_,{style:u?w:d?y:b})}):m("span",{className:"rcb-send-icon","data-testid":"rcb-send-icon",style:u?w:d?y:b})})()})},k0=(e,t)=>{var n,r,i,o,s,a,l,c,u;const d={[It.AUDIO_BUTTON]:(n=e.audio)==null?void 0:n.disabled,[It.CLOSE_CHAT_BUTTON]:(r=e.general)==null?void 0:r.embedded,[It.EMOJI_PICKER_BUTTON]:(i=e.emoji)==null?void 0:i.disabled,[It.FILE_ATTACHMENT_BUTTON]:(o=e.fileAttachment)==null?void 0:o.disabled,[It.NOTIFICATION_BUTTON]:(s=e.notification)==null?void 0:s.disabled,[It.SEND_MESSAGE_BUTTON]:!1,[It.VOICE_MESSAGE_BUTTON]:(a=e.voice)==null?void 0:a.disabled},A={},f=h=>h?h.map(p=>{if(typeof p=="string"){if((g=>Object.values(It).includes(g))(p)&&!d[p]){if(A[p])return A[p];const g=t[p];if(typeof g=="function"){const b=g();return A[p]=b,b}return null}return null}return p}).filter(p=>p!==null):[];return{header:f((l=e.header)==null?void 0:l.buttons),chatInput:f((c=e.chatInput)==null?void 0:c.buttons),footer:f((u=e.footer)==null?void 0:u.buttons)}},_0=()=>{const{settings:e}=ct(),t=Ot(()=>({[It.CLOSE_CHAT_BUTTON]:()=>m(v0,{}),[It.AUDIO_BUTTON]:()=>m(b0,{}),[It.NOTIFICATION_BUTTON]:()=>m(y0,{}),[It.EMOJI_PICKER_BUTTON]:()=>m(m0,{}),[It.FILE_ATTACHMENT_BUTTON]:()=>m(g0,{}),[It.SEND_MESSAGE_BUTTON]:()=>m(x0,{}),[It.VOICE_MESSAGE_BUTTON]:()=>m(w0,{})}),[]),{header:n,chatInput:r,footer:i}=Ot(()=>k0(e,t),[e,t]);return{headerButtons:Ot(()=>n,[n]),chatInputButtons:Ot(()=>r,[r]),footerButtons:Ot(()=>i,[i])}},Ys=()=>{const{settings:e}=ct(),{styles:t}=xt(),{setSyncedMessages:n,syncedMessagesRef:r}=Rs(),{isLoadingChatHistory:i,setIsLoadingChatHistory:o,hasChatHistoryLoaded:s,setHasChatHistoryLoaded:a}=Ht(),{chatBodyRef:l}=Qt(),{dispatchRcbEvent:c}=Ie(),u=Z(async()=>{var d,A;const f=Fs();if(!f||(d=e.event)!=null&&d.rcbLoadChatHistory&&(await c(W.LOAD_CHAT_HISTORY,{})).defaultPrevented)return;o(!0);const h=((A=l.current)==null?void 0:A.scrollHeight)??0;((p,g,b,w,y,v,_,k,P)=>{var D;if(Iu=!0,b!=null)try{const C=gn(m(Zm,{}),"SYSTEM"),E=y.current.slice(1);w([C,...E]);const I=b.map(B=>{if(B.type==="object"){const T=Ou(B.content,p,g);return{...B,content:T}}return B});setTimeout(()=>{var B;const T=y.current.slice(1);let R=(B=p.chatHistory)!=null&&B.autoLoad?gn(m(tt,{}),"SYSTEM"):gn(m(Jm,{}),"SYSTEM");w([...I,R,...T]),P(!0)},500),setTimeout(()=>{if(!v.current)return;const{scrollHeight:B}=v.current,T=B-_;v.current.scrollTop+=T,k(!1)},510)}catch{mn.removeItem((D=p.chatHistory)==null?void 0:D.storageKey)}})(e,t,f,n,r,l,h,o,a)},[e,t,c,r,l,o,a]);return{isLoadingChatHistory:i,setIsLoadingChatHistory:o,hasChatHistoryLoaded:s,showChatHistory:u}},S0=()=>{var e,t,n;const{settings:r}=ct(),{styles:i}=xt(),{showChatHistory:o}=Ys(),[s,a]=G(!1),l={color:(e=r.general)==null?void 0:e.primaryColor,borderColor:(t=r.general)==null?void 0:t.primaryColor,...i.chatHistoryButtonStyle,...i.chatHistoryButtonHoveredStyle};return m("div",{className:"rcb-view-history-container",children:m("div",{onMouseEnter:()=>{a(!0)},onMouseLeave:()=>{a(!1)},style:s?l:{...i.chatHistoryButtonStyle},onMouseDown:c=>{c.preventDefault(),o()},className:"rcb-view-history-button",role:"button",tabIndex:0,children:m("p",{children:(n=r.chatHistory)==null?void 0:n.viewChatHistoryButtonText})})})},E0=()=>{var e,t,n,r;const i=qi(),{settings:o}=ct(),{replaceMessages:s}=Rn(),{isBotTyping:a,isChatWindowOpen:l,setUnreadCount:c,setSyncedIsChatWindowOpen:u,setSyncedTextAreaDisabled:d,setSyncedAudioToggledOn:A,setSyncedVoiceToggledOn:f,setSyncedIsScrolling:h,syncedIsScrollingRef:p,syncedIsChatWindowOpenRef:g}=Ht(),{chatBodyRef:b}=Qt(),{viewportHeight:w,setViewportHeight:y,setViewportWidth:v,scrollToBottom:_}=le(),{setUpNotifications:k}=zs(),{handleFirstInteraction:P}=(()=>{var I;const{settings:B}=ct(),{hasInteractedPage:T,setHasInteractedPage:R,hasFlowStarted:Q,setHasFlowStarted:O}=Ht(),N=Z(()=>{var F;if(R(!0),!Q&&((F=B.general)==null?void 0:F.flowStartTrigger)==="ON_PAGE_INTERACT"&&O(!0),!window.SpeechSynthesisUtterance)return void console.info("Speech Synthesis API is not supported in this environment.");const x=new window.SpeechSynthesisUtterance;x.text="",x.onend=()=>{window.removeEventListener("click",N),window.removeEventListener("keydown",N),window.removeEventListener("touchstart",N)},window.speechSynthesis.speak(x)},[Q,(I=B.general)==null?void 0:I.flowStartTrigger]);return{hasInteractedPage:T,handleFirstInteraction:N}})(),{showChatHistory:D}=Ys(),C=nt(0),E=nt(!1);ot(()=>(window.addEventListener("click",P),window.addEventListener("keydown",P),window.addEventListener("touchstart",P),()=>{window.removeEventListener("click",P),window.removeEventListener("keydown",P),window.removeEventListener("touchstart",P)}),[]),ot(()=>{const I=b.current;if(!I)return;const B=()=>{E.current||(E.current=!0,requestAnimationFrame(()=>{var T,R;if(!I)return;const{scrollTop:Q,clientHeight:O,scrollHeight:N}=I,F=Q+O<N-(((T=o.chatWindow)==null?void 0:T.messagePromptOffset)??30);h(F),p.current=F,F||(Q+O>=N-1&&(I.scrollTop=N-O-1),(g.current||(R=o.general)!=null&&R.embedded)&&c(0)),E.current=!1}))};return I.addEventListener("wheel",B,{passive:!0}),I.addEventListener("touchmove",B,{passive:!0}),()=>{I.removeEventListener("wheel",B),I.removeEventListener("touchmove",B)}},[]),ot(()=>{var I,B,T;d((I=o.chatInput)==null?void 0:I.disabled),u((B=o.chatWindow)==null?void 0:B.defaultOpen),A((T=o.audio)==null?void 0:T.defaultToggledOn),setTimeout(()=>{var R;f((R=o.voice)==null?void 0:R.defaultToggledOn)},1)},[]),ot(()=>{var I;(I=o.notification)!=null&&I.disabled||k()},[(e=o.notification)==null?void 0:e.disabled]),ot(()=>{!p.current&&b!=null&&b.current&&_()},[a]),ot(()=>{var I,B;if((I=o.chatHistory)!=null&&I.disabled)mn&&mn.removeItem(ji);else if(Ns(o),Fs().length>0){const T=gn(m(S0,{}),"SYSTEM");s([T]),(B=o.chatHistory)!=null&&B.autoLoad&&D()}},[(t=o.chatHistory)==null?void 0:t.storageKey,(n=o.chatHistory)==null?void 0:n.maxEntries,(r=o.chatHistory)==null?void 0:r.disabled]),ot(()=>{var I;i||(I=o.general)!=null&&I.embedded||!navigator.virtualKeyboard||(navigator.virtualKeyboard.overlaysContent=!0,navigator.virtualKeyboard.addEventListener("geometrychange",B=>{if(!B.target)return;const{x:T,y:R,width:Q,height:O}=B.target.boundingRect;T==0&&R==0&&Q==0&&O==0?(setTimeout(()=>{var N;y((N=window.visualViewport)==null?void 0:N.height)},101),setTimeout(()=>{var N,F;w!=((N=window.visualViewport)==null?void 0:N.height)&&y((F=window.visualViewport)==null?void 0:F.height)},1001)):setTimeout(()=>{var N;y(((N=window.visualViewport)==null?void 0:N.height)-O)},101)}))},[i]),ot(()=>{var I,B,T,R;if(i)return;l&&(y((I=window.visualViewport)==null?void 0:I.height),v((B=window.visualViewport)==null?void 0:B.width));const Q=()=>window.scrollTo({top:0,left:0,behavior:"auto"}),O=()=>C.current=window.scrollY,N=()=>{var x,U;y((x=window.visualViewport)==null?void 0:x.height),v((U=window.visualViewport)==null?void 0:U.width)},F=()=>{var x;window.removeEventListener("scroll",Q),window.removeEventListener("scroll",O),(x=window.visualViewport)==null||x.removeEventListener("resize",N)};return l?(F(),document.body.style.position="fixed",window.addEventListener("scroll",Q),(T=window.visualViewport)==null||T.addEventListener("resize",N)):(document.body.style.position="static",F(),window.scrollTo({top:C.current,left:0,behavior:"auto"}),window.addEventListener("scroll",O),(R=window.visualViewport)==null||R.removeEventListener("resize",N)),F},[l,i])},C0="https://cdn.jsdelivr.net/gh/react-chatbotify/community-themes/themes",P0="2592000",zu="RCB_THEME_CACHE_DATA",Hu=async(e,t)=>{const{id:n,version:r,baseUrl:i=C0,cacheDuration:o=P0}=t,s=r||await(async(b,w)=>{const y=`${w}/${b}/meta.json`;try{const v=await fetch(y);return v.ok?(await v.json()).version:(console.error(`Failed to fetch meta.json from ${y}`),null)}catch(v){return console.error(`Failed to fetch meta.json from ${y}`,v),null}})(n,i);if(!s)return console.error(`Unable to find version for theme: ${n}`),{settings:{},inlineStyles:{},cssStylesText:""};const a=((b,w,y)=>{const v=localStorage.getItem(`${zu}_${b}_${w}`);if(!v)return null;try{const _=JSON.parse(v),k=new Date().getTime(),P=Math.floor(k/1e3);return _.cacheDate+y>=P?_:null}catch(_){return console.error(`Unable to fetch cache for ${b}`,_),null}})(n,s,o);if(a){const b=Uu(e,a.cssStylesText);return{settings:a.settings,inlineStyles:a.inlineStyles,cssStylesText:b}}const l=`${i}/${n}/${s}/styles.css`,c=`${i}/${n}/${s}/settings.json`,u=`${i}/${n}/${s}/styles.json`;let d="";const A=await fetch(l);A.ok?d=await A.text():console.info(`Could not fetch styles.css from ${l}`);const f=await fetch(c);let h={};f.ok?h=await f.json():console.info(`Could not fetch settings.json from ${c}`);const p=await fetch(u);let g={};return p.ok?g=await p.json():console.info(`Could not fetch styles.json from ${u}`),((b,w,y,v,_)=>{const k=new Date().getTime(),P={settings:y,inlineStyles:v,cssStylesText:_,cacheDate:Math.floor(k/1e3)};localStorage.setItem(`${zu}_${b}_${w}`,JSON.stringify(P))})(n,s,h,g,d),{settings:h,inlineStyles:g,cssStylesText:Uu(e,d)}},Uu=(e,t)=>t.split(new RegExp("(?<=})")).map(n=>{const r=n.trim();return r.startsWith("@import")||r.startsWith("@keyframes")||r.startsWith("@media")?r:r?`#${e} ${r}`:""}).join(`
|
|
4
|
+
`),D0=async(e,t,n,r)=>{var i,o;let s=Ki(wu),a=Ki(ku),l="";if(r!=null)if(Array.isArray(r))for(const c of r){const u=await Hu(e,c);s=Ne(u.settings,s),a=Ne(u.inlineStyles,a),l+=u.cssStylesText}else{const c=await Hu(e,r);s=Ne(c.settings,s),a=Ne(c.inlineStyles,a),l+=c.cssStylesText}return t!=null&&(s=Ne(t,s)),n!=null&&(a=Ne(n,a)),((i=s.chatInput)==null?void 0:i.botDelay)!=null&&((o=s.chatInput)==null?void 0:o.botDelay)<500&&(s.chatInput.botDelay=500),{settings:s,inlineStyles:a,cssStylesText:l}},Ne=(e,t)=>{const n=[{source:e,target:t}];for(;n.length;){const r=n.pop();if(r==null)continue;const{source:i,target:o}=r;for(const s of Object.keys(i)){const a=s;if(sr(i[a]))o[a]=i[a];else if(typeof i[a]!="object"||i[a]===null||Array.isArray(i[a]))try{o[a]=i[a]}catch{}else(typeof o[a]!="object"||o[a]===null)&&(o[a]={}),n.push({source:i[a],target:o[a]})}}return t},Ki=e=>{if(e===null||typeof e!="object")return e;const t=Array.isArray(e)?[]:{},n=[{source:e,target:t}],r=new WeakMap;for(r.set(e,t);n.length;){const i=n.pop();if(i==null)continue;const{source:o,target:s}=i;for(const a in o)if(Object.prototype.hasOwnProperty.call(o,a)){const l=o[a];if(l&&typeof l=="object")if(r.has(l))s[a]=r.get(l);else{const c=Array.isArray(l)?[]:{};r.set(l,c),s[a]=c,n.push({source:l,target:c})}else s[a]=l}}return t},ju=()=>{const{settings:e,setSettings:t}=ct(),n=Z(i=>{!i||Object.keys(i).length===0||t(Ki(Ne(i,e)))},[e]),r=Z(i=>{t(i)},[]);return{settings:e,replaceSettings:r,updateSettings:n}},Vu=()=>{const{styles:e,setStyles:t}=xt(),n=Z(i=>{!i||Object.keys(i).length===0||t(Ki(Ne(i,e)))},[e]),r=Z(i=>{t(i)},[]);return{styles:e,replaceStyles:r,updateStyles:n}},B0=({plugins:e})=>{var t,n,r,i,o;const s=qi(),{settings:a}=ct(),{styles:l}=xt(),{hasFlowStarted:c,setHasFlowStarted:u}=Ht(),{inputRef:d}=Qt(),{viewportHeight:A,viewportWidth:f,isChatWindowOpen:h}=le(),{goToPath:p}=Yi(),{headerButtons:g,chatInputButtons:b,footerButtons:w}=_0();E0(),(k=>{const{updateSettings:P}=ju(),{updateStyles:D}=Vu(),C=k==null?void 0:k.map(E=>E());ot(()=>{let E={},I={};C==null||C.forEach(B=>{B!=null&&B.settings&&Object.keys(B==null?void 0:B.settings).length!==0&&(E=Ne(B.settings,E)),B!=null&&B.styles&&Object.keys(B==null?void 0:B.styles).length!==0&&(I=Ne(B.styles,I))}),P(E),D(I)},[])})(e),ot(()=>{var k;(c||((k=a.general)==null?void 0:k.flowStartTrigger)==="ON_LOAD")&&p("start")},[c,(t=a.general)==null?void 0:t.flowStartTrigger]);const y=Ot(()=>{var k;const P="rcb-chatbot-global ";return(k=a.general)!=null&&k.embedded?P+"rcb-window-embedded":h?P+"rcb-window-open":P+"rcb-window-close"},[a,h]);return m(tt,{children:(s&&((v=a.device)==null?void 0:v.desktopEnabled)||!s&&((_=a.device)==null?void 0:_.mobileEnabled))&&m("div",{onMouseDown:k=>{var P,D;!c&&((P=a.general)==null?void 0:P.flowStartTrigger)==="ON_CHATBOT_INTERACT"&&u(!0),s?(D=d.current)==null||D.blur():k==null||k.preventDefault()},className:y,children:[m(f0,{}),m(A0,{}),h&&!s&&!((n=a.general)!=null&&n.embedded)&&m(tt,{children:[m("style",{children:`
|
|
5
5
|
html {
|
|
6
6
|
overflow: hidden !important;
|
|
7
7
|
touch-action: none !important;
|
|
8
8
|
scroll-behavior: auto !important;
|
|
9
9
|
}
|
|
10
|
-
`}),
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
height: 100%;
|
|
21
|
-
font-family: var(--font-family);
|
|
22
|
-
|
|
23
|
-
`,this.shadowRoot.appendChild(t);const n=document.createElement("style");if(n.textContent=`
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
`)}catch{continue}o&&(i.textContent=o,this.shadowRoot.appendChild(i))}catch(i){console.warn("Failed to copy document styles to shadow DOM",i)}}static get observedAttributes(){return["welcome","prompt","embedded","is-logged-in","is-anonymous","disabled","is-open","api-key"]}attributeChangedCallback(t,n,i){n!==i&&this._render()}_getProps(){return{welcome:this.getAttribute("welcome"),prompt:this.getAttribute("prompt"),embedded:this.hasAttribute("embedded"),isLoggedIn:this.hasAttribute("is-logged-in"),isAnonymous:this.hasAttribute("is-anonymous"),disabled:this.hasAttribute("disabled"),isOpen:this.hasAttribute("is-open"),apiKey:this.getAttribute("api-key")||"demo-key",onClose:()=>{this.dispatchEvent(new CustomEvent("qabot-close"))}}}connectedCallback(){this.syncStyles(),this._render(),this.styleObserver=new MutationObserver(()=>this.syncStyles()),this.styleObserver.observe(this,{attributes:!0,attributeFilter:["style"]})}disconnectedCallback(){this.styleObserver&&this.styleObserver.disconnect(),this.root&&this.root.unmount()}syncStyles(){if(this.style.cssText){const t=this.style.cssText.split(";").filter(n=>n.trim().startsWith("--")).map(n=>n.trim());if(t.length>0){const n=this.container.style;t.forEach(i=>{const[o,r]=i.split(":").map(s=>s.trim());n.setProperty(o,r)})}}}_render(){this.root||(this.root=Mr(this.container));const t=this._getProps();this.root.render(Y(wc,null,Y(no,t)))}}customElements.define("access-qa-bot",xl);const _l=xl;function Pl(e){const{target:t,...n}=e;if(!(t&&t instanceof HTMLElement))return void console.error("QA Bot: A valid target DOM element is required");const i=document.createElement("access-qa-bot");return n.welcome&&i.setAttribute("welcome",n.welcome),n.prompt&&i.setAttribute("prompt",n.prompt),n.embedded&&i.setAttribute("embedded",""),n.isLoggedIn&&i.setAttribute("is-logged-in",""),n.isAnonymous&&i.setAttribute("is-anonymous",""),n.disabled&&i.setAttribute("disabled",""),n.isOpen&&i.setAttribute("is-open",""),n.apiKey&&i.setAttribute("api-key",n.apiKey),n.styles&&Object.entries(n.styles).forEach(([o,r])=>{o.startsWith("--")&&i.style.setProperty(o,r)}),n.onClose&&i.addEventListener("qabot-close",n.onClose),t.appendChild(i),()=>{t.removeChild(i)}}function Fp(e){const{target:t,version:n,isLoggedIn:i,isOpen:o,isAnonymous:r,...s}=e;if(t&&t instanceof HTMLElement){if(typeof window<"u"&&typeof customElements<"u"&&customElements.get("access-qa-bot"))return Pl({target:t,isLoggedIn:i,isAnonymous:r,isOpen:o,...s});{const a=vf.createRoot(t);return a.render(Me.createElement(Me.StrictMode,null,Me.createElement(Hp,Tr({isLoggedIn:i,isAnonymous:r,isOpen:o},s)))),()=>{a.unmount()}}}console.error("QA Bot: A valid target DOM element is required")}typeof window<"u"&&(window.process={env:{REACT_APP_API_KEY:"demo-key"}},window.accessQABot={WebComponentQABot:_l,qAndATool:Pl});const zp=Object.freeze(Object.defineProperty({__proto__:null,QABot:no,WebComponentQABot:_l,default:no,qAndATool:Fp},Symbol.toStringTag,{value:"Module"}));function nt({alt:e=null,name:t=null,src:n=null}){return t?f("i",{class:`icon bi bi-${t}`}):f("img",{class:"icon",alt:e,src:n})}const Bl=()=>{const e=new Event("accessci-update-sections");document.dispatchEvent(e)};function be({children:e,headerComponents:t=null,icon:n=null,sectionId:i=null,title:o}){const r=i||o.toLowerCase().replace(/[^0-9a-z]+/g,"-");return Wt(()=>(Bl(),Bl),[]),f("section",{id:r,"data-section-title":o,"data-section-icon":n,children:[f("div",{class:"flex-header",children:[f("h2",{children:[n?f(nt,{name:n}):null,o]}),t?f("div",{class:"header-components",children:t}):null]}),e]})}function Np({infoGroupId:e}){const t=Lt(`https://support.access-ci.org/api/1.0/affinity_groups/${e}`);if(!t||t.error||!t.length)return;const n=yr(t[0].slack_link);return f(be,{title:"User Community",icon:"people-fill",children:[f("p",{children:"Join the community by participating in an affinity group! Members get update about announcements, events, and outages."}),f("div",{class:"button-group",children:[f("a",{href:t[0].url,class:"btn secondary",children:[f(nt,{name:"person-plus-fill"})," Join Affinity Group"]}),n?f("a",{href:n,class:"btn",children:[f(nt,{name:"slack"})," Connect on Slack"]}):null,f("a",{href:"#questions-and-answers",class:"btn",children:[f(nt,{name:"chat-fill"})," Ask and Answer Questions"]})]})]})}function jp({infoGroupId:e}){const t=$n(e),n=Lt(t&&t.infoResourceIds.length?`https://operations-api.access-ci.org/wh2/cider/v1/info_resourceid/${t.infoResourceIds[0]}/?format=json`:null);if(!t)return;const{accessAllocated:i,name:o,description:r,imageUri:s,organizations:a}=t,c=i?"https://allocations.access-ci.org/get-your-first-project":null,l=n&&n.results?(n.results.compute||n.results.storage||{}).user_guide_url:null;return f("div",{class:"resource-group-description",children:[s?f("img",{class:"resource-group-feature-image",src:s}):null,f("h1",{children:t.name}),a.map(A=>f("p",{children:f("a",{href:A.organization_url||"#",children:[A.organization_favicon_url?f(nt,{alt:A.organization_name,src:A.organization_favicon_url}):null,A.organization_name]})})),r?f("p",{children:r}):null,f("div",{style:{marginTop:"1rem"},children:[c?f("a",{href:c,class:"btn secondary lg",children:[f(nt,{name:"check2-circle"})," Get Started with ",o]}):null,l?f("a",{href:l,class:"btn lg",children:[f(nt,{name:"book"})," User Guide"]}):null]})]})}function Up({column:e,row:t,style:n={}}){const i=e.format?e.format(t[e.key],t):t[e.key],o=["cell"];return e.class&&o.push(e.class),e.rowClass&&o.push(e.rowClass(t)),f("td",{class:o.join(" "),style:n,children:i})}const Vp={text:Up};function io({columns:e,rows:t,classes:n,frozenColumns:i=0,maxHeight:o=400,minWidth:r,rowClasses:s=[],scrollResetOnUpdate:a=!1}){const c=q();Wt(()=>{c.current&&a&&(c.current.scrollTop=0)},[t]);const l=[0];for(let p=0;p<i;p++)l[p+1]=l[p]+(e[p].width||100);const A=(p,g)=>p<i?{position:"sticky",left:`${l[p]}px`,minWidth:`${e[p].width||100}px`,width:`${e[p].width||100}px`,zIndex:g||1}:{},d=e.map((p,g)=>f("th",{class:p.headerClass||p.class||"",style:A(g,100),children:p.formatHeader?p.formatHeader(p.name,p):p.name},p.key)),u=t.map((p,g)=>{const b=e.map((v,w)=>{const _=Vp[v.type||"text"];return f(_,{column:v,row:p,style:A(w)},v.key)});return f("tr",{class:s[g]||"",children:b},g)}),h={};return r&&(h.minWidth=r),f("div",{class:`grid ${n||""}`,style:{maxHeight:Number.isInteger(o)?`${o}px`:o||null},ref:c,children:f("table",{class:"table",style:h,children:[f("thead",{children:f("tr",{children:d})}),f("tbody",{children:u})]})})}function Wp({infoGroupId:e}){const t=Lt(`https://support.access-ci.org/api/1.0/affinity_groups/${e}`),n=t&&!t.error&&t.length?t[0].field_ask_ci_locale:null,i=n?`${n}.json`:null,o=Lt(i);return!o||o.error||!o.topic_list||!o.topic_list.topics||!o.topic_list.topics.length?void 0:f(be,{title:"Questions and Answers",icon:"chat-fill",headerComponents:[f("a",{href:n,class:"btn secondary",children:"Ask a Question"}),f("a",{href:n,class:"btn",children:"View All Topics"})],children:f(io,{columns:[{key:"title",name:"Topic",format:(a,c)=>f(N,{children:[c.pinned?f(nt,{name:"pin-fill"}):null,f("a",{href:`https://ask.cyberinfrastructure.org/t/${c.slug}/${c.id}`,children:a})]})},{key:"posts_count",name:"Posts",format:a=>a.toLocaleString("en-us")},{key:"bumped_at",name:"Last Update",format:a=>new Date(a).toLocaleString("en-US",{dateStyle:"medium"})}],rows:o.topic_list.topics.slice(0,5)})})}var zt="top",te="bottom",ee="right",Nt="left",Wr="auto",oi=[zt,te,ee,Nt],Cn="start",ri="end",Yp="clippingParents",kl="viewport",si="popper",Kp="reference",Dl=oi.reduce(function(e,t){return e.concat([t+"-"+Cn,t+"-"+ri])},[]),Cl=[].concat(oi,[Wr]).reduce(function(e,t){return e.concat([t,t+"-"+Cn,t+"-"+ri])},[]),qp="beforeRead",Xp="read",Gp="afterRead",Jp="beforeMain",Zp="main",$p="afterMain",tg="beforeWrite",eg="write",ng="afterWrite",ig=[qp,Xp,Gp,Jp,Zp,$p,tg,eg,ng];function ve(e){return e?(e.nodeName||"").toLowerCase():null}function Yt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function an(e){var t=Yt(e).Element;return e instanceof t||e instanceof Element}function ne(e){var t=Yt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Yr(e){if(typeof ShadowRoot>"u")return!1;var t=Yt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function og(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var i=t.styles[n]||{},o=t.attributes[n]||{},r=t.elements[n];!ne(r)||!ve(r)||(Object.assign(r.style,i),Object.keys(o).forEach(function(s){var a=o[s];a===!1?r.removeAttribute(s):r.setAttribute(s,a===!0?"":a)}))})}function rg(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(i){var o=t.elements[i],r=t.attributes[i]||{},s=Object.keys(t.styles.hasOwnProperty(i)?t.styles[i]:n[i]),a=s.reduce(function(c,l){return c[l]="",c},{});!ne(o)||!ve(o)||(Object.assign(o.style,a),Object.keys(r).forEach(function(c){o.removeAttribute(c)}))})}}const El={name:"applyStyles",enabled:!0,phase:"write",fn:og,effect:rg,requires:["computeStyles"]};function we(e){return e.split("-")[0]}var cn=Math.max,oo=Math.min,En=Math.round;function Kr(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Sl(){return!/^((?!chrome|android).)*safari/i.test(Kr())}function Sn(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var i=e.getBoundingClientRect(),o=1,r=1;t&&ne(e)&&(o=e.offsetWidth>0&&En(i.width)/e.offsetWidth||1,r=e.offsetHeight>0&&En(i.height)/e.offsetHeight||1);var s=an(e)?Yt(e):window,a=s.visualViewport,c=!Sl()&&n,l=(i.left+(c&&a?a.offsetLeft:0))/o,A=(i.top+(c&&a?a.offsetTop:0))/r,d=i.width/o,u=i.height/r;return{width:d,height:u,top:A,right:l+d,bottom:A+u,left:l,x:l,y:A}}function qr(e){var t=Sn(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function Ml(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Yr(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Ie(e){return Yt(e).getComputedStyle(e)}function sg(e){return["table","td","th"].indexOf(ve(e))>=0}function Ke(e){return((an(e)?e.ownerDocument:e.document)||window.document).documentElement}function ro(e){return ve(e)==="html"?e:e.assignedSlot||e.parentNode||(Yr(e)?e.host:null)||Ke(e)}function Tl(e){return!ne(e)||Ie(e).position==="fixed"?null:e.offsetParent}function ag(e){var t=/firefox/i.test(Kr()),n=/Trident/i.test(Kr());if(n&&ne(e)){var i=Ie(e);if(i.position==="fixed")return null}var o=ro(e);for(Yr(o)&&(o=o.host);ne(o)&&["html","body"].indexOf(ve(o))<0;){var r=Ie(o);if(r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].indexOf(r.willChange)!==-1||t&&r.willChange==="filter"||t&&r.filter&&r.filter!=="none")return o;o=o.parentNode}return null}function ai(e){for(var t=Yt(e),n=Tl(e);n&&sg(n)&&Ie(n).position==="static";)n=Tl(n);return n&&(ve(n)==="html"||ve(n)==="body"&&Ie(n).position==="static")?t:n||ag(e)||t}function Xr(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ci(e,t,n){return cn(e,oo(t,n))}function cg(e,t,n){var i=ci(e,t,n);return i>n?n:i}function Il(){return{top:0,right:0,bottom:0,left:0}}function Ol(e){return Object.assign({},Il(),e)}function Ql(e,t){return t.reduce(function(n,i){return n[i]=e,n},{})}var lg=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Ol(typeof t!="number"?t:Ql(t,oi))};function Ag(e){var t,n=e.state,i=e.name,o=e.options,r=n.elements.arrow,s=n.modifiersData.popperOffsets,a=we(n.placement),c=Xr(a),l=[Nt,ee].indexOf(a)>=0,A=l?"height":"width";if(!(!r||!s)){var d=lg(o.padding,n),u=qr(r),h=c==="y"?zt:Nt,p=c==="y"?te:ee,g=n.rects.reference[A]+n.rects.reference[c]-s[c]-n.rects.popper[A],b=s[c]-n.rects.reference[c],v=ai(r),w=v?c==="y"?v.clientHeight||0:v.clientWidth||0:0,_=g/2-b/2,m=d[h],y=w-u[A]-d[p],x=w/2-u[A]/2+_,P=ci(m,x,y),C=c;n.modifiersData[i]=(t={},t[C]=P,t.centerOffset=P-x,t)}}function dg(e){var t=e.state,n=e.options,i=n.element,o=i===void 0?"[data-popper-arrow]":i;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Ml(t.elements.popper,o)&&(t.elements.arrow=o))}const ug={name:"arrow",enabled:!0,phase:"main",fn:Ag,effect:dg,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Mn(e){return e.split("-")[1]}var hg={top:"auto",right:"auto",bottom:"auto",left:"auto"};function fg(e,t){var n=e.x,i=e.y,o=t.devicePixelRatio||1;return{x:En(n*o)/o||0,y:En(i*o)/o||0}}function Ll(e){var t,n=e.popper,i=e.popperRect,o=e.placement,r=e.variation,s=e.offsets,a=e.position,c=e.gpuAcceleration,l=e.adaptive,A=e.roundOffsets,d=e.isFixed,u=s.x,h=u===void 0?0:u,p=s.y,g=p===void 0?0:p,b=typeof A=="function"?A({x:h,y:g}):{x:h,y:g};h=b.x,g=b.y;var v=s.hasOwnProperty("x"),w=s.hasOwnProperty("y"),_=Nt,m=zt,y=window;if(l){var x=ai(n),P="clientHeight",C="clientWidth";if(x===Yt(n)&&(x=Ke(n),Ie(x).position!=="static"&&a==="absolute"&&(P="scrollHeight",C="scrollWidth")),x=x,o===zt||(o===Nt||o===ee)&&r===ri){m=te;var B=d&&x===y&&y.visualViewport?y.visualViewport.height:x[P];g-=B-i.height,g*=c?1:-1}if(o===Nt||(o===zt||o===te)&&r===ri){_=ee;var D=d&&x===y&&y.visualViewport?y.visualViewport.width:x[C];h-=D-i.width,h*=c?1:-1}}var E=Object.assign({position:a},l&&hg),S=A===!0?fg({x:h,y:g},Yt(n)):{x:h,y:g};if(h=S.x,g=S.y,c){var I;return Object.assign({},E,(I={},I[m]=w?"0":"",I[_]=v?"0":"",I.transform=(y.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",I))}return Object.assign({},E,(t={},t[m]=w?g+"px":"",t[_]=v?h+"px":"",t.transform="",t))}function pg(e){var t=e.state,n=e.options,i=n.gpuAcceleration,o=i===void 0?!0:i,r=n.adaptive,s=r===void 0?!0:r,a=n.roundOffsets,c=a===void 0?!0:a,l={placement:we(t.placement),variation:Mn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Ll(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ll(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const gg={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:pg,data:{}};var so={passive:!0};function mg(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,r=o===void 0?!0:o,s=i.resize,a=s===void 0?!0:s,c=Yt(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&l.forEach(function(A){A.addEventListener("scroll",n.update,so)}),a&&c.addEventListener("resize",n.update,so),function(){r&&l.forEach(function(A){A.removeEventListener("scroll",n.update,so)}),a&&c.removeEventListener("resize",n.update,so)}}const bg={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:mg,data:{}};var vg={left:"right",right:"left",bottom:"top",top:"bottom"};function ao(e){return e.replace(/left|right|bottom|top/g,function(t){return vg[t]})}var wg={start:"end",end:"start"};function Rl(e){return e.replace(/start|end/g,function(t){return wg[t]})}function Gr(e){var t=Yt(e),n=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:n,scrollTop:i}}function Jr(e){return Sn(Ke(e)).left+Gr(e).scrollLeft}function yg(e,t){var n=Yt(e),i=Ke(e),o=n.visualViewport,r=i.clientWidth,s=i.clientHeight,a=0,c=0;if(o){r=o.width,s=o.height;var l=Sl();(l||!l&&t==="fixed")&&(a=o.offsetLeft,c=o.offsetTop)}return{width:r,height:s,x:a+Jr(e),y:c}}function xg(e){var t,n=Ke(e),i=Gr(e),o=(t=e.ownerDocument)==null?void 0:t.body,r=cn(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=cn(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-i.scrollLeft+Jr(e),c=-i.scrollTop;return Ie(o||n).direction==="rtl"&&(a+=cn(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:s,x:a,y:c}}function Zr(e){var t=Ie(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function Hl(e){return["html","body","#document"].indexOf(ve(e))>=0?e.ownerDocument.body:ne(e)&&Zr(e)?e:Hl(ro(e))}function li(e,t){var n;t===void 0&&(t=[]);var i=Hl(e),o=i===((n=e.ownerDocument)==null?void 0:n.body),r=Yt(i),s=o?[r].concat(r.visualViewport||[],Zr(i)?i:[]):i,a=t.concat(s);return o?a:a.concat(li(ro(s)))}function $r(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function _g(e,t){var n=Sn(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Fl(e,t,n){return t===kl?$r(yg(e,n)):an(t)?_g(t,n):$r(xg(Ke(e)))}function Pg(e){var t=li(ro(e)),n=["absolute","fixed"].indexOf(Ie(e).position)>=0,i=n&&ne(e)?ai(e):e;return an(i)?t.filter(function(o){return an(o)&&Ml(o,i)&&ve(o)!=="body"}):[]}function Bg(e,t,n,i){var o=t==="clippingParents"?Pg(e):[].concat(t),r=[].concat(o,[n]),s=r[0],a=r.reduce(function(c,l){var A=Fl(e,l,i);return c.top=cn(A.top,c.top),c.right=oo(A.right,c.right),c.bottom=oo(A.bottom,c.bottom),c.left=cn(A.left,c.left),c},Fl(e,s,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function zl(e){var t=e.reference,n=e.element,i=e.placement,o=i?we(i):null,r=i?Mn(i):null,s=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,c;switch(o){case zt:c={x:s,y:t.y-n.height};break;case te:c={x:s,y:t.y+t.height};break;case ee:c={x:t.x+t.width,y:a};break;case Nt:c={x:t.x-n.width,y:a};break;default:c={x:t.x,y:t.y}}var l=o?Xr(o):null;if(l!=null){var A=l==="y"?"height":"width";switch(r){case Cn:c[l]=c[l]-(t[A]/2-n[A]/2);break;case ri:c[l]=c[l]+(t[A]/2-n[A]/2);break}}return c}function Ai(e,t){t===void 0&&(t={});var n=t,i=n.placement,o=i===void 0?e.placement:i,r=n.strategy,s=r===void 0?e.strategy:r,a=n.boundary,c=a===void 0?Yp:a,l=n.rootBoundary,A=l===void 0?kl:l,d=n.elementContext,u=d===void 0?si:d,h=n.altBoundary,p=h===void 0?!1:h,g=n.padding,b=g===void 0?0:g,v=Ol(typeof b!="number"?b:Ql(b,oi)),w=u===si?Kp:si,_=e.rects.popper,m=e.elements[p?w:u],y=Bg(an(m)?m:m.contextElement||Ke(e.elements.popper),c,A,s),x=Sn(e.elements.reference),P=zl({reference:x,element:_,strategy:"absolute",placement:o}),C=$r(Object.assign({},_,P)),B=u===si?C:x,D={top:y.top-B.top+v.top,bottom:B.bottom-y.bottom+v.bottom,left:y.left-B.left+v.left,right:B.right-y.right+v.right},E=e.modifiersData.offset;if(u===si&&E){var S=E[o];Object.keys(D).forEach(function(I){var O=[ee,te].indexOf(I)>=0?1:-1,M=[zt,te].indexOf(I)>=0?"y":"x";D[I]+=S[M]*O})}return D}function kg(e,t){t===void 0&&(t={});var n=t,i=n.placement,o=n.boundary,r=n.rootBoundary,s=n.padding,a=n.flipVariations,c=n.allowedAutoPlacements,l=c===void 0?Cl:c,A=Mn(i),d=A?a?Dl:Dl.filter(function(p){return Mn(p)===A}):oi,u=d.filter(function(p){return l.indexOf(p)>=0});u.length===0&&(u=d);var h=u.reduce(function(p,g){return p[g]=Ai(e,{placement:g,boundary:o,rootBoundary:r,padding:s})[we(g)],p},{});return Object.keys(h).sort(function(p,g){return h[p]-h[g]})}function Dg(e){if(we(e)===Wr)return[];var t=ao(e);return[Rl(e),t,Rl(t)]}function Cg(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var o=n.mainAxis,r=o===void 0?!0:o,s=n.altAxis,a=s===void 0?!0:s,c=n.fallbackPlacements,l=n.padding,A=n.boundary,d=n.rootBoundary,u=n.altBoundary,h=n.flipVariations,p=h===void 0?!0:h,g=n.allowedAutoPlacements,b=t.options.placement,v=we(b),w=v===b,_=c||(w||!p?[ao(b)]:Dg(b)),m=[b].concat(_).reduce(function(F,J){return F.concat(we(J)===Wr?kg(t,{placement:J,boundary:A,rootBoundary:d,padding:l,flipVariations:p,allowedAutoPlacements:g}):J)},[]),y=t.rects.reference,x=t.rects.popper,P=new Map,C=!0,B=m[0],D=0;D<m.length;D++){var E=m[D],S=we(E),I=Mn(E)===Cn,O=[zt,te].indexOf(S)>=0,M=O?"width":"height",T=Ai(t,{placement:E,boundary:A,rootBoundary:d,altBoundary:u,padding:l}),Q=O?I?ee:Nt:I?te:zt;y[M]>x[M]&&(Q=ao(Q));var z=ao(Q),V=[];if(r&&V.push(T[S]<=0),a&&V.push(T[Q]<=0,T[z]<=0),V.every(function(F){return F})){B=E,C=!1;break}P.set(E,V)}if(C)for(var j=p?3:1,$=function(J){var ot=m.find(function(Ht){var It=P.get(Ht);if(It)return It.slice(0,J).every(function(ue){return ue})});if(ot)return B=ot,"break"},K=j;K>0;K--){var tt=$(K);if(tt==="break")break}t.placement!==B&&(t.modifiersData[i]._skip=!0,t.placement=B,t.reset=!0)}}const Eg={name:"flip",enabled:!0,phase:"main",fn:Cg,requiresIfExists:["offset"],data:{_skip:!1}};function Nl(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function jl(e){return[zt,ee,te,Nt].some(function(t){return e[t]>=0})}function Sg(e){var t=e.state,n=e.name,i=t.rects.reference,o=t.rects.popper,r=t.modifiersData.preventOverflow,s=Ai(t,{elementContext:"reference"}),a=Ai(t,{altBoundary:!0}),c=Nl(s,i),l=Nl(a,o,r),A=jl(c),d=jl(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:A,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":A,"data-popper-escaped":d})}const Mg={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Sg};function Tg(e,t,n){var i=we(e),o=[Nt,zt].indexOf(i)>=0?-1:1,r=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=r[0],a=r[1];return s=s||0,a=(a||0)*o,[Nt,ee].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}function Ig(e){var t=e.state,n=e.options,i=e.name,o=n.offset,r=o===void 0?[0,0]:o,s=Cl.reduce(function(A,d){return A[d]=Tg(d,t.rects,r),A},{}),a=s[t.placement],c=a.x,l=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[i]=s}const Og={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Ig};function Qg(e){var t=e.state,n=e.name;t.modifiersData[n]=zl({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Lg={name:"popperOffsets",enabled:!0,phase:"read",fn:Qg,data:{}};function Rg(e){return e==="x"?"y":"x"}function Hg(e){var t=e.state,n=e.options,i=e.name,o=n.mainAxis,r=o===void 0?!0:o,s=n.altAxis,a=s===void 0?!1:s,c=n.boundary,l=n.rootBoundary,A=n.altBoundary,d=n.padding,u=n.tether,h=u===void 0?!0:u,p=n.tetherOffset,g=p===void 0?0:p,b=Ai(t,{boundary:c,rootBoundary:l,padding:d,altBoundary:A}),v=we(t.placement),w=Mn(t.placement),_=!w,m=Xr(v),y=Rg(m),x=t.modifiersData.popperOffsets,P=t.rects.reference,C=t.rects.popper,B=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,D=typeof B=="number"?{mainAxis:B,altAxis:B}:Object.assign({mainAxis:0,altAxis:0},B),E=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,S={x:0,y:0};if(x){if(r){var I,O=m==="y"?zt:Nt,M=m==="y"?te:ee,T=m==="y"?"height":"width",Q=x[m],z=Q+b[O],V=Q-b[M],j=h?-C[T]/2:0,$=w===Cn?P[T]:C[T],K=w===Cn?-C[T]:-P[T],tt=t.elements.arrow,F=h&&tt?qr(tt):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Il(),ot=J[O],Ht=J[M],It=ci(0,P[T],F[T]),ue=_?P[T]/2-j-It-ot-D.mainAxis:$-It-ot-D.mainAxis,De=_?-P[T]/2+j+It+Ht+D.mainAxis:K+It+Ht+D.mainAxis,ze=t.elements.arrow&&ai(t.elements.arrow),at=ze?m==="y"?ze.clientTop||0:ze.clientLeft||0:0,bt=(I=E==null?void 0:E[m])!=null?I:0,xt=Q+ue-bt-at,Dt=Q+De-bt,Ot=ci(h?oo(z,xt):z,Q,h?cn(V,Dt):V);x[m]=Ot,S[m]=Ot-Q}if(a){var Qt,ft=m==="x"?zt:Nt,vt=m==="x"?te:ee,_t=x[y],Jt=y==="y"?"height":"width",vn=_t+b[ft],Ne=_t-b[vt],Vt=[zt,Nt].indexOf(v)!==-1,Vn=(Qt=E==null?void 0:E[y])!=null?Qt:0,$o=Vt?vn:_t-P[Jt]-C[Jt]-Vn+D.altAxis,tr=Vt?_t+P[Jt]+C[Jt]-Vn-D.altAxis:Ne,er=h&&Vt?cg($o,_t,tr):ci(h?$o:vn,_t,h?tr:Ne);x[y]=er,S[y]=er-_t}t.modifiersData[i]=S}}const Fg={name:"preventOverflow",enabled:!0,phase:"main",fn:Hg,requiresIfExists:["offset"]};function zg(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Ng(e){return e===Yt(e)||!ne(e)?Gr(e):zg(e)}function jg(e){var t=e.getBoundingClientRect(),n=En(t.width)/e.offsetWidth||1,i=En(t.height)/e.offsetHeight||1;return n!==1||i!==1}function Ug(e,t,n){n===void 0&&(n=!1);var i=ne(t),o=ne(t)&&jg(t),r=Ke(t),s=Sn(e,o,n),a={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(i||!i&&!n)&&((ve(t)!=="body"||Zr(r))&&(a=Ng(t)),ne(t)?(c=Sn(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):r&&(c.x=Jr(r))),{x:s.left+a.scrollLeft-c.x,y:s.top+a.scrollTop-c.y,width:s.width,height:s.height}}function Vg(e){var t=new Map,n=new Set,i=[];e.forEach(function(r){t.set(r.name,r)});function o(r){n.add(r.name);var s=[].concat(r.requires||[],r.requiresIfExists||[]);s.forEach(function(a){if(!n.has(a)){var c=t.get(a);c&&o(c)}}),i.push(r)}return e.forEach(function(r){n.has(r.name)||o(r)}),i}function Wg(e){var t=Vg(e);return ig.reduce(function(n,i){return n.concat(t.filter(function(o){return o.phase===i}))},[])}function Yg(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Kg(e){var t=e.reduce(function(n,i){var o=n[i.name];return n[i.name]=o?Object.assign({},o,i,{options:Object.assign({},o.options,i.options),data:Object.assign({},o.data,i.data)}):i,n},{});return Object.keys(t).map(function(n){return t[n]})}var Ul={placement:"bottom",modifiers:[],strategy:"absolute"};function Vl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function qg(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,i=n===void 0?[]:n,o=t.defaultOptions,r=o===void 0?Ul:o;return function(a,c,l){l===void 0&&(l=r);var A={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ul,r),modifiersData:{},elements:{reference:a,popper:c},attributes:{},styles:{}},d=[],u=!1,h={state:A,setOptions:function(v){var w=typeof v=="function"?v(A.options):v;g(),A.options=Object.assign({},r,A.options,w),A.scrollParents={reference:an(a)?li(a):a.contextElement?li(a.contextElement):[],popper:li(c)};var _=Wg(Kg([].concat(i,A.options.modifiers)));return A.orderedModifiers=_.filter(function(m){return m.enabled}),p(),h.update()},forceUpdate:function(){if(!u){var v=A.elements,w=v.reference,_=v.popper;if(Vl(w,_)){A.rects={reference:Ug(w,ai(_),A.options.strategy==="fixed"),popper:qr(_)},A.reset=!1,A.placement=A.options.placement,A.orderedModifiers.forEach(function(D){return A.modifiersData[D.name]=Object.assign({},D.data)});for(var m=0;m<A.orderedModifiers.length;m++){if(A.reset===!0){A.reset=!1,m=-1;continue}var y=A.orderedModifiers[m],x=y.fn,P=y.options,C=P===void 0?{}:P,B=y.name;typeof x=="function"&&(A=x({state:A,options:C,name:B,instance:h})||A)}}}},update:Yg(function(){return new Promise(function(b){h.forceUpdate(),b(A)})}),destroy:function(){g(),u=!0}};if(!Vl(a,c))return h;h.setOptions(l).then(function(b){!u&&l.onFirstUpdate&&l.onFirstUpdate(b)});function p(){A.orderedModifiers.forEach(function(b){var v=b.name,w=b.options,_=w===void 0?{}:w,m=b.effect;if(typeof m=="function"){var y=m({state:A,name:v,instance:h,options:_}),x=function(){};d.push(y||x)}})}function g(){d.forEach(function(b){return b()}),d=[]}return h}}var Xg=[bg,Lg,gg,El,Og,Eg,Fg,ug,Mg],Gg=qg({defaultModifiers:Xg}),Jg="tippy-box",Wl="tippy-content",Zg="tippy-backdrop",Yl="tippy-arrow",Kl="tippy-svg-arrow",ln={passive:!0,capture:!0},ql=function(){return document.body};function $g(e,t){return{}.hasOwnProperty.call(e,t)}function ts(e,t,n){if(Array.isArray(e)){var i=e[t];return i??(Array.isArray(n)?n[t]:n)}return e}function es(e,t){var n={}.toString.call(e);return n.indexOf("[object")===0&&n.indexOf(t+"]")>-1}function Xl(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Gl(e,t){if(t===0)return e;var n;return function(i){clearTimeout(n),n=setTimeout(function(){e(i)},t)}}function t0(e,t){var n=Object.assign({},e);return t.forEach(function(i){delete n[i]}),n}function e0(e){return e.split(/\s+/).filter(Boolean)}function Tn(e){return[].concat(e)}function Jl(e,t){e.indexOf(t)===-1&&e.push(t)}function n0(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function i0(e){return e.split("-")[0]}function co(e){return[].slice.call(e)}function Zl(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function di(){return document.createElement("div")}function ui(e){return["Element","Fragment"].some(function(t){return es(e,t)})}function o0(e){return es(e,"NodeList")}function r0(e){return es(e,"MouseEvent")}function s0(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function a0(e){return ui(e)?[e]:o0(e)?co(e):Array.isArray(e)?e:co(document.querySelectorAll(e))}function ns(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function $l(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function c0(e){var t,n=Tn(e),i=n[0];return i!=null&&(t=i.ownerDocument)!=null&&t.body?i.ownerDocument:document}function l0(e,t){var n=t.clientX,i=t.clientY;return e.every(function(o){var r=o.popperRect,s=o.popperState,a=o.props,c=a.interactiveBorder,l=i0(s.placement),A=s.modifiersData.offset;if(!A)return!0;var d=l==="bottom"?A.top.y:0,u=l==="top"?A.bottom.y:0,h=l==="right"?A.left.x:0,p=l==="left"?A.right.x:0,g=r.top-i+d>c,b=i-r.bottom-u>c,v=r.left-n+h>c,w=n-r.right-p>c;return g||b||v||w})}function is(e,t,n){var i=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){e[i](o,n)})}function tA(e,t){for(var n=t;n;){var i;if(e.contains(n))return!0;n=n.getRootNode==null||(i=n.getRootNode())==null?void 0:i.host}return!1}var ye={isTouch:!1},eA=0;function A0(){ye.isTouch||(ye.isTouch=!0,window.performance&&document.addEventListener("mousemove",nA))}function nA(){var e=performance.now();e-eA<20&&(ye.isTouch=!1,document.removeEventListener("mousemove",nA)),eA=e}function d0(){var e=document.activeElement;if(s0(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function u0(){document.addEventListener("touchstart",A0,ln),window.addEventListener("blur",d0)}var h0=typeof window<"u"&&typeof document<"u",f0=h0?!!window.msCrypto:!1;function In(e){var t=e==="destroy"?"n already-":" ";return[e+"() was called on a"+t+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function iA(e){var t=/[ \t]{2,}/g,n=/^[ \t]*/gm;return e.replace(t," ").replace(n,"").trim()}function p0(e){return iA(`
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
10
|
+
`}),m("div",{style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"#fff",zIndex:9999}})]}),m("div",{style:(()=>{var k,P;return s||(k=a.general)!=null&&k.embedded?(P=a.general)!=null&&P.embedded?{...l.chatWindowStyle}:{...l.chatWindowStyle,zIndex:1e4}:{...l.chatWindowStyle,borderRadius:"0px",left:"0px",right:"auto",top:"0px",bottom:"auto",width:`${f}px`,height:`${A}px`,zIndex:1e4}})(),className:"rcb-chat-window",children:[((r=a.general)==null?void 0:r.showHeader)&&m(Im,{buttons:g}),m(Hm,{}),m(p0,{}),((i=a.general)==null?void 0:i.showInputRow)&&m(u0,{buttons:b}),((o=a.general)==null?void 0:o.showFooter)&&m(d0,{buttons:w})]})]})});var v,_},Wu=pe(void 0),Yu=()=>ae(Wu),qu=({children:e})=>{var t;const n=nt(""),r=nt({}),[i,o]=G({}),[s,a]=G({}),[l,c]=G(!1);return ot(()=>{c(!0)},[]),l?m("div",{style:{fontFamily:(t=i.general)==null?void 0:t.fontFamily},children:m(Wu.Provider,{value:{loadConfig:async(u,d,A,f,h,p)=>{n.current=u,r.current=d;const g=await D0(u,A,f,h);p.current&&(p.current.textContent=g.cssStylesText),o(g.settings),a(g.inlineStyles)}},children:m(Dm,{settings:i,setSettings:o,children:m(Bm,{styles:s,setStyles:a,children:m(c0,{children:m(Tm,{botIdRef:n,flowRef:r,children:m(Lm,{children:m(Mm,{settings:i,children:m(Qm,{children:e})})})})})})})})}):null},I0=({id:e,flow:t,settings:n,styles:r,themes:i,plugins:o,setConfigLoaded:s,styleRootRef:a})=>{const l=Ot(()=>e,[]),c=Yu(),{flowRef:u}=Qt();return u&&u.current!==t&&(u.current=t),ot(()=>{(async()=>{var d,A;(d=n.event)!=null&&d.rcbPreLoadChatBot&&(await Ls(W.PRE_LOAD_CHATBOT,{botId:l,currPath:null,prevPath:null},{flow:t,settings:n,styles:r,themes:i,plugins:o})).defaultPrevented||(c!=null&&c.loadConfig&&(await c.loadConfig(l,t,n,r,i,a),s(!0)),(A=n.event)!=null&&A.rcbPostLoadChatBot&&Ls(W.POST_LOAD_CHATBOT,{botId:l,currPath:null,prevPath:null},{flow:t,settings:n,styles:r,themes:i,plugins:o}))})()},[i]),null},qs=["Quickstart","API Docs","Examples","Github","Discord"],T0={start:{message:"Hello, I am Tan Jin 👋! Welcome to React ChatBotify, I'm excited that you are using our chatbot 😊!",transition:{duration:1e3},chatDisabled:!0,path:"show_options"},show_options:{message:"It looks like you have not set up a conversation flow yet. No worries! Here are a few helpful things you can check out to get started:",options:qs,path:"process_options"},prompt_again:{message:"Do you need any other help?",options:qs,path:"process_options"},unknown_input:{message:"Sorry, I do not understand your message 😢! If you require further assistance, you may click on the Github option and open an issue there or visit our discord.",options:qs,path:"process_options"},process_options:{transition:{duration:0},path:e=>{let t="";switch(e.userInput){case"Quickstart":t="https://react-chatbotify.com/docs/introduction/quickstart/";break;case"API Docs":t="https://react-chatbotify.com/docs/api/bot_options";break;case"Examples":t="https://react-chatbotify.com/docs/examples/basic_form";break;case"Github":t="https://github.com/react-chatbotify/react-chatbotify/";break;case"Discord":t="https://discord.gg/6R4DK4G5Zh";break;default:return"unknown_input"}return e.injectMessage("Sit tight! I'll send you right there!"),setTimeout(()=>{window.open(t)},1e3),"repeat"}},repeat:{transition:{duration:3e3},path:"prompt_again"}},M0=({id:e,flow:t,settings:n,styles:r,themes:i,plugins:o})=>{const s=Ot(()=>e||"rcb-"+Ui(),[]),a=t&&Object.keys(t).length!==0?t:T0,l=n||{},c=r||{},u=o||[],[d,A]=G(!1),f=Yu(),h=nt(null),[p,g]=G(i||[]);ot(()=>{i&&g(i)},[i]);const b=()=>m(tt,{children:[m(I0,{styleRootRef:h,id:s,flow:a,settings:l,styles:c,themes:p,plugins:u,setConfigLoaded:A}),d&&m(B0,{plugins:o})]});return m(f==null?qu:tt,{children:[m("style",{ref:h}),m("div",{id:s,children:b()})]})},O0=()=>{const{getBotId:e}=(()=>{const{botIdRef:t}=Qt();return{getBotId:Z(()=>t.current,[t])}})();return{getBotId:e}},Gi=()=>{const{hasFlowStarted:e,restartFlow:t,getFlow:n}=(()=>{const{replaceMessages:r}=Rn(),{replacePaths:i,goToPath:o}=Yi(),{replaceToasts:s}=lr(),{hasFlowStarted:a}=Ht(),{flowRef:l,timeoutIdRef:c}=Qt(),{settings:u}=ct();return{hasFlowStarted:a,restartFlow:Z(async()=>{Ns(u),c.current&&clearTimeout(c.current),r([]),s([]),i([]),await o("start")},[c,u,r,s,i,Ns,o]),getFlow:Z(()=>(l==null?void 0:l.current)??{},[l])}})();return{hasFlowStarted:e,restartFlow:t,getFlow:n}},Xi=()=>{const{endStreamMessage:e,injectMessage:t,removeMessage:n,simulateStreamMessage:r,streamMessage:i,messages:o,replaceMessages:s}=Rn();return{endStreamMessage:e,injectMessage:t,removeMessage:n,simulateStreamMessage:r,streamMessage:i,messages:o,replaceMessages:s}},me=(e,t)=>{const{getBotId:n}=O0();ot(()=>{const r=i=>{i.detail.botId===n()&&t(i)};return window.addEventListener(e,r),()=>{window.removeEventListener(e,r)}},[n,e,t])},Ku=()=>{const{settings:e,replaceSettings:t,updateSettings:n}=ju();return{settings:e,replaceSettings:t,updateSettings:n}},Gu=()=>{const{showChatHistory:e,hasChatHistoryLoaded:t}=Ys();return{showChatHistory:e,getHistoryMessages:Fs,setHistoryMessages:$m,hasChatHistoryLoaded:t}},Ks={a:{content:9,self:!1,type:105},address:{invalid:["h1","h2","h3","h4","h5","h6","address","article","aside","section","div","header","footer"],self:!1},audio:{children:["track","source"]},br:{type:9,void:!0},body:{content:127},button:{content:8,type:105},caption:{content:1,parent:["table"]},col:{parent:["colgroup"],void:!0},colgroup:{children:["col"],parent:["table"]},details:{children:["summary"],type:97},dd:{content:1,parent:["dl"]},dl:{children:["dt","dd"],type:1},dt:{content:1,invalid:["footer","header"],parent:["dl"]},figcaption:{content:1,parent:["figure"]},footer:{invalid:["footer","header"]},header:{invalid:["footer","header"]},hr:{type:1,void:!0},img:{void:!0},li:{content:1,parent:["ul","ol","menu"]},main:{self:!1},ol:{children:["li"],type:1},picture:{children:["source","img"],type:25},rb:{parent:["ruby","rtc"]},rp:{parent:["ruby","rtc"]},rt:{content:8,parent:["ruby","rtc"]},rtc:{content:8,parent:["ruby"]},ruby:{children:["rb","rp","rt","rtc"]},source:{parent:["audio","video","picture"],void:!0},summary:{content:8,parent:["details"]},table:{children:["caption","colgroup","thead","tbody","tfoot","tr"],type:1},tbody:{parent:["table"],children:["tr"]},td:{content:1,parent:["tr"]},tfoot:{parent:["table"],children:["tr"]},th:{content:1,parent:["tr"]},thead:{parent:["table"],children:["tr"]},tr:{parent:["table","tbody","thead","tfoot"],children:["th","td"]},track:{parent:["audio","video"],void:!0},ul:{children:["li"],type:1},video:{children:["track","source"]},wbr:{type:9,void:!0}};function Qn(e){return t=>{Ks[t]={...e,...Ks[t]}}}["address","main","div","figure","p","pre"].forEach(Qn({content:1,type:65})),["abbr","b","bdi","bdo","cite","code","data","dfn","em","i","kbd","mark","q","ruby","samp","strong","sub","sup","time","u","var"].forEach(Qn({content:8,type:73})),["p","pre"].forEach(Qn({content:8,type:65})),["s","small","span","del","ins"].forEach(Qn({content:8,type:9})),["article","aside","footer","header","nav","section","blockquote"].forEach(Qn({content:1,type:67})),["h1","h2","h3","h4","h5","h6"].forEach(Qn({content:8,type:69})),["audio","canvas","iframe","img","video"].forEach(Qn({type:89}));const Gs=Object.freeze(Ks),L0=["applet","base","body","command","embed","frame","frameset","head","html","link","meta","noscript","object","script","style","title"],R0=Object.keys(Gs).filter(e=>e!=="canvas"&&e!=="iframe"),Xu=Object.freeze({alt:1,cite:1,class:1,colspan:3,controls:4,datetime:1,default:4,disabled:4,dir:1,height:1,href:1,id:1,kind:1,label:1,lang:1,loading:1,loop:4,media:1,muted:4,poster:1,rel:1,role:1,rowspan:3,scope:1,sizes:1,span:3,start:3,style:5,src:1,srclang:1,srcset:1,tabindex:1,target:1,title:1,type:1,width:1}),Q0=Object.freeze({class:"className",colspan:"colSpan",datetime:"dateTime",rowspan:"rowSpan",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex"});function Ji(){return Ji=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ji.apply(this,arguments)}function Ju({attributes:e={},className:t,children:n=null,selfClose:r=!1,tagName:i}){const o=i;return r?H.createElement(o,Ji({className:t},e)):H.createElement(o,Ji({className:t},e),n)}class F0{attribute(t,n){return n}node(t,n){return n}}function N0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
|
|
11
|
+
* escape-html
|
|
12
|
+
* Copyright(c) 2012-2013 TJ Holowaychuk
|
|
13
|
+
* Copyright(c) 2015 Andreas Lubbe
|
|
14
|
+
* Copyright(c) 2015 Tiancheng "Timothy" Gu
|
|
15
|
+
* MIT Licensed
|
|
16
|
+
*/var Zu,$u;const z0=N0(function(){if($u)return Zu;$u=1;var e=/["'&<>]/;return Zu=function(t){var n=""+t,r=e.exec(n);if(!r)return n;var i,o="",s=0,a=0;for(s=r.index;s<n.length;s++){switch(n.charCodeAt(s)){case 34:i=""";break;case 38:i="&";break;case 39:i="'";break;case 60:i="<";break;case 62:i=">";break;default:continue}a!==s&&(o+=n.substring(a,s)),a=s+1,o+=i}return a!==s?o+n.substring(a,s):o}}());function on(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const H0=/(url|image|image-set)\(/i;class U0 extends F0{attribute(t,n){return t==="style"&&Object.keys(n).forEach(r=>{String(n[r]).match(H0)&&delete n[r]}),n}}const j0=/^<(!doctype|(html|head|body)(\s|>))/i,V0=/^(aria-|data-|\w+:)/iu,W0=/{{{(\w+)\/?}}}/;function Y0(){if(!(typeof window>"u"||typeof document>"u"))return document.implementation.createHTMLDocument("Interweave")}class td{constructor(t,n={},r=[],i=[]){var o;on(this,"allowed",void 0),on(this,"banned",void 0),on(this,"blocked",void 0),on(this,"container",void 0),on(this,"content",[]),on(this,"props",void 0),on(this,"matchers",void 0),on(this,"filters",void 0),on(this,"keyIndex",void 0),this.props=n,this.matchers=r,this.filters=[...i,new U0],this.keyIndex=-1,this.container=this.createContainer(t||""),this.allowed=new Set((o=n.allowList)!==null&&o!==void 0?o:R0),this.banned=new Set(L0),this.blocked=new Set(n.blockList)}applyAttributeFilters(t,n){return this.filters.reduce((r,i)=>r!==null&&typeof i.attribute=="function"?i.attribute(t,r):r,n)}applyNodeFilters(t,n){return this.filters.reduce((r,i)=>r!==null&&typeof i.node=="function"?i.node(t,r):r,n)}applyMatchers(t,n){const r={},{props:i}=this;let o=t,s=0,a=null;return this.matchers.forEach(l=>{const c=l.asTag().toLowerCase(),u=this.getTagConfig(c);if(i[l.inverseName]||!this.isTagAllowed(c)||!this.canRenderChild(n,u))return;let d="";for(;o&&(a=l.match(o));){const{index:A,length:f,match:h,valid:p,void:g,...b}=a,w=l.propName+String(s);A>0&&(d+=o.slice(0,A)),p?(d+=g?`{{{${w}/}}}`:`{{{${w}}}}${h}{{{/${w}}}}`,this.keyIndex+=1,s+=1,r[w]={children:h,matcher:l,props:{...i,...b,key:this.keyIndex}}):d+=h,l.greedy?(o=d+o.slice(A+f),d=""):o=o.slice(A+(f||h.length))}l.greedy||(o=d+o)}),s===0?t:this.replaceTokens(o,r)}canRenderChild(t,n){return!(!t.tagName||!n.tagName||t.void)&&(t.children.length>0?t.children.includes(n.tagName):!(t.invalid.length>0&&t.invalid.includes(n.tagName))&&(n.parent.length>0?n.parent.includes(t.tagName):!(!t.self&&t.tagName===n.tagName)&&!!(t&&t.content&n.type)))}convertLineBreaks(t){const{noHtml:n,disableLineBreaks:r}=this.props;if(n||r||t.match(/<((?:\/[ a-z]+)|(?:[ a-z]+\/))>/gi))return t;let i=t.replace(/\r\n/g,`
|
|
17
|
+
`);return i=i.replace(/\n{3,}/g,`
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
`),i=i.replace(/\n/g,"<br/>"),i}createContainer(t){var n;const r=(typeof global<"u"&&global.INTERWEAVE_SSR_POLYFILL||Y0)();if(!r)return;const i=(n=this.props.containerTagName)!==null&&n!==void 0?n:"body",o=i==="body"||i==="fragment"?r.body:r.createElement(i);return t.match(j0)||(o.innerHTML=this.convertLineBreaks(this.props.escapeHtml?z0(t):t)),o}extractAttributes(t){const{allowAttributes:n}=this.props,r={};let i=0;return t.nodeType===1&&t.attributes&&([...t.attributes].forEach(o=>{const{name:s,value:a}=o,l=s.toLowerCase(),c=Xu[l]||Xu[s];if(!this.isSafe(t)||!l.match(V0)&&(!n&&(!c||c===2)||l.startsWith("on")||a.replace(/(\s|\0|�([9AD]);)/,"").match(/(javascript|vbscript|livescript|xss):/i)))return;let u=l==="style"?this.extractStyleAttribute(t):a;c===4?u=!0:c===3?u=Number.parseFloat(String(u)):c!==5&&(u=String(u)),r[Q0[l]||l]=this.applyAttributeFilters(l,u),i+=1}),i!==0)?r:null}extractStyleAttribute(t){const n={};return Array.from(t.style).forEach(r=>{const i=t.style[r];(typeof i=="string"||typeof i=="number")&&(n[r.replace(/-([a-z])/g,(o,s)=>String(s).toUpperCase())]=i)}),n}getTagConfig(t){const n={children:[],content:0,invalid:[],parent:[],self:!0,tagName:"",type:0,void:!1};return Gs[t]?{...n,...Gs[t],tagName:t}:n}isSafe(t){if(typeof HTMLAnchorElement<"u"&&t instanceof HTMLAnchorElement){const n=t.getAttribute("href");if(n!=null&&n.startsWith("#"))return!0;const r=t.protocol.toLowerCase();return r===":"||r==="http:"||r==="https:"||r==="mailto:"||r==="tel:"}return!0}isTagAllowed(t){return!this.banned.has(t)&&!this.blocked.has(t)&&(this.props.allowElements||this.allowed.has(t))}parse(){return this.container?this.parseNode(this.container,this.getTagConfig(this.container.nodeName.toLowerCase())):[]}parseNode(t,n){const{noHtml:r,noHtmlExceptMatchers:i,allowElements:o,transform:s,transformOnlyAllowList:a}=this.props;let l=[],c="";return[...t.childNodes].forEach(u=>{if(u.nodeType===1){const A=u.nodeName.toLowerCase(),f=this.getTagConfig(A);c&&(l.push(c),c="");const h=this.applyNodeFilters(A,u);if(!h)return;let p;if(s&&(!a||this.isTagAllowed(A))){this.keyIndex+=1;const g=this.keyIndex;p=this.parseNode(h,f);const b=s(h,p,f);if(b===null)return;if(typeof b<"u")return void l.push(H.cloneElement(b,{key:g}));this.keyIndex=g-1}if(this.banned.has(A))return;if(r||i&&A!=="br"||!this.isTagAllowed(A)||!o&&!this.canRenderChild(n,f))l=[...l,...this.parseNode(h,f.tagName?f:n)];else{var d;this.keyIndex+=1;const g=this.extractAttributes(h),b={tagName:A};g&&(b.attributes=g),f.void&&(b.selfClose=f.void),l.push(H.createElement(Ju,{...b,key:this.keyIndex},(d=p)!==null&&d!==void 0?d:this.parseNode(h,f)))}}else if(u.nodeType===3){const A=r&&!i?u.textContent:this.applyMatchers(u.textContent||"",n);Array.isArray(A)?l=[...l,...A]:c+=A}}),c&&l.push(c),l}replaceTokens(t,n){if(!t.includes("{{{"))return t;const r=[];let i=t,o=null;for(;o=i.match(W0);){const[s,a]=o,l=o.index,c=s.includes("/");l>0&&(r.push(i.slice(0,l)),i=i.slice(l));const{children:u,matcher:d,props:A}=n[a];let f;if(c)f=s.length,r.push(d.createElement(u,A));else{const h=i.match(new RegExp(`{{{/${a}}}}`));f=h.index+h[0].length,r.push(d.createElement(this.replaceTokens(i.slice(s.length,h.index),n),A))}i=i.slice(f)}return i.length>0&&r.push(i),r.length===0?"":r.length===1&&typeof r[0]=="string"?r[0]:r}}function q0(e){var t;const{attributes:n,className:r,containerTagName:i,content:o,emptyContent:s,parsedContent:a,tagName:l,noWrap:c}=e,u=(t=i??l)!==null&&t!==void 0?t:"span",d=u==="fragment"||c;let A;if(a)A=a;else{const f=new td(o??"",e).parse();f.length>0&&(A=f)}return A||(A=s),d?H.createElement(H.Fragment,null,A):H.createElement(Ju,{attributes:n,className:r,tagName:u},A)}function K0(e){const{attributes:t,className:n,content:r="",disableFilters:i=!1,disableMatchers:o=!1,emptyContent:s=null,filters:a=[],matchers:l=[],onAfterParse:c=null,onBeforeParse:u=null,tagName:d="span",noWrap:A=!1,...f}=e,h=o?[]:l,p=i?[]:a,g=u?[u]:[],b=c?[c]:[];h.forEach(_=>{_.onBeforeParse&&g.push(_.onBeforeParse.bind(_)),_.onAfterParse&&b.push(_.onAfterParse.bind(_))});const w=g.reduce((_,k)=>k(_,e),r??""),y=new td(w,f,h,p),v=b.reduce((_,k)=>k(_,e),y.parse());return H.createElement(q0,{attributes:t,className:n,containerTagName:e.containerTagName,emptyContent:s,noWrap:A,parsedContent:v.length===0?void 0:v,tagName:d})}const G0=({children:e})=>m(K0,{content:typeof e=="string"?e:""}),X0={autoConfig:!0},ed=(e,t,n)=>{var r;if(!e.detail.currPath)return!1;const i=t[e.detail.currPath];return!!i&&(((r=i.renderHtml)==null?void 0:r.map(o=>o.toUpperCase()).includes(n))??!1)},J0=e=>{const t=[];let n="",r=!1;for(let i=0;i<e.length;i++){const o=e[i];o==="<"?r?(t.push(n),n=o):(r=!0,n=o):o===">"?(n+=o,t.push(n),n="",r=!1):r?n+=o:t.push(o)}return n!==""&&t.push(n),t},Z0=e=>{const{getFlow:t}=Gi(),{messages:n,replaceMessages:r}=Xi(),{settings:i}=Ku(),{hasChatHistoryLoaded:o}=Gu(),s={...e,...X0},a=s.htmlComponent?s.htmlComponent:G0;ot(()=>{var u,d;if(o){const A=[...n];for(let f=0;f<A.length&&f<(((u=i.chatHistory)==null?void 0:u.maxEntries)??30);f++){const h=A[f];(d=h.tags)!=null&&d.includes("rcb-html-renderer-plugin:parsed")&&(h.contentWrapper=a)}r(A)}},[o]);const l=async u=>{var d;const A=(d=u.data.message)==null?void 0:d.sender.toUpperCase();typeof u.data.message.content=="string"&&ed(u,t(),A)&&(u.type==="rcb-start-simulate-stream-message"&&(u.data.simulateStreamChunker=J0),u.data.message.contentWrapper=a,u.data.message.tags||(u.data.message.tags=[]),u.data.message.tags.push("rcb-html-renderer-plugin:parsed"))};me(W.PRE_INJECT_MESSAGE,l),me(W.CHUNK_STREAM_MESSAGE,l),me(W.START_STREAM_MESSAGE,l),me(W.START_SIMULATE_STREAM_MESSAGE,l),me(W.START_SPEAK_AUDIO,async u=>{ed(u,t(),"BOT")&&(u.data.textToRead=(d=>typeof window.DOMParser<"u"?new DOMParser().parseFromString(d,"text/html").body.textContent||"":d.replace(/<\/?[^>]+(>|$)/g,""))(u.data.textToRead))});const c={name:"@rcb-plugins/html-renderer"};return s!=null&&s.autoConfig&&(c.settings={event:{rcbPreInjectMessage:!0,rcbChunkStreamMessage:!0,rcbStartSimulateStreamMessage:!0,rcbStartStreamMessage:!0,rcbStartSpeakAudio:!0}}),c},$0=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,tb=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,eb={};function nd(e,t){return(eb.jsx?tb:$0).test(e)}const nb=/[ \t\n\f\r]/g;function rd(e){return e.replace(nb,"")===""}class Gr{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}function id(e,t){const n={},r={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new Gr(n,r,t)}function Xs(e){return e.toLowerCase()}Gr.prototype.property={},Gr.prototype.normal={},Gr.prototype.space=null;class be{constructor(t,n){this.property=t,this.attribute=n}}be.prototype.space=null,be.prototype.boolean=!1,be.prototype.booleanish=!1,be.prototype.overloadedBoolean=!1,be.prototype.number=!1,be.prototype.commaSeparated=!1,be.prototype.spaceSeparated=!1,be.prototype.commaOrSpaceSeparated=!1,be.prototype.mustUseProperty=!1,be.prototype.defined=!1;let rb=0;const lt=Fn(),Ft=Fn(),od=Fn(),z=Fn(),_t=Fn(),ur=Fn(),ce=Fn();function Fn(){return 2**++rb}const Js=Object.freeze(Object.defineProperty({__proto__:null,boolean:lt,booleanish:Ft,commaOrSpaceSeparated:ce,commaSeparated:ur,number:z,overloadedBoolean:od,spaceSeparated:_t},Symbol.toStringTag,{value:"Module"})),Zs=Object.keys(Js);class $s extends be{constructor(t,n,r,i){let o=-1;if(super(t,n),sd(this,"space",i),typeof r=="number")for(;++o<Zs.length;){const s=Zs[o];sd(this,Zs[o],(r&Js[s])===Js[s])}}}function sd(e,t,n){n&&(e[t]=n)}$s.prototype.defined=!0;const ib={}.hasOwnProperty;function dr(e){const t={},n={};let r;for(r in e.properties)if(ib.call(e.properties,r)){const i=e.properties[r],o=new $s(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[Xs(r)]=r,n[Xs(o.attribute)]=r}return new Gr(t,n,e.space)}const ad=dr({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),ld=dr({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function cd(e,t){return t in e?e[t]:t}function ud(e,t){return cd(e,t.toLowerCase())}const dd=dr({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:ud,properties:{xmlns:null,xmlnsXLink:null}}),Ad=dr({transform:(e,t)=>t==="role"?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:Ft,ariaAutoComplete:null,ariaBusy:Ft,ariaChecked:Ft,ariaColCount:z,ariaColIndex:z,ariaColSpan:z,ariaControls:_t,ariaCurrent:null,ariaDescribedBy:_t,ariaDetails:null,ariaDisabled:Ft,ariaDropEffect:_t,ariaErrorMessage:null,ariaExpanded:Ft,ariaFlowTo:_t,ariaGrabbed:Ft,ariaHasPopup:null,ariaHidden:Ft,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:_t,ariaLevel:z,ariaLive:null,ariaModal:Ft,ariaMultiLine:Ft,ariaMultiSelectable:Ft,ariaOrientation:null,ariaOwns:_t,ariaPlaceholder:null,ariaPosInSet:z,ariaPressed:Ft,ariaReadOnly:Ft,ariaRelevant:null,ariaRequired:Ft,ariaRoleDescription:_t,ariaRowCount:z,ariaRowIndex:z,ariaRowSpan:z,ariaSelected:Ft,ariaSetSize:z,ariaSort:null,ariaValueMax:z,ariaValueMin:z,ariaValueNow:z,ariaValueText:null,role:null}}),ob=dr({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:ud,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ur,acceptCharset:_t,accessKey:_t,action:null,allow:null,allowFullScreen:lt,allowPaymentRequest:lt,allowUserMedia:lt,alt:null,as:null,async:lt,autoCapitalize:null,autoComplete:_t,autoFocus:lt,autoPlay:lt,blocking:_t,capture:null,charSet:null,checked:lt,cite:null,className:_t,cols:z,colSpan:null,content:null,contentEditable:Ft,controls:lt,controlsList:_t,coords:z|ur,crossOrigin:null,data:null,dateTime:null,decoding:null,default:lt,defer:lt,dir:null,dirName:null,disabled:lt,download:od,draggable:Ft,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:lt,formTarget:null,headers:_t,height:z,hidden:lt,high:z,href:null,hrefLang:null,htmlFor:_t,httpEquiv:_t,id:null,imageSizes:null,imageSrcSet:null,inert:lt,inputMode:null,integrity:null,is:null,isMap:lt,itemId:null,itemProp:_t,itemRef:_t,itemScope:lt,itemType:_t,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:lt,low:z,manifest:null,max:null,maxLength:z,media:null,method:null,min:null,minLength:z,multiple:lt,muted:lt,name:null,nonce:null,noModule:lt,noValidate:lt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:lt,optimum:z,pattern:null,ping:_t,placeholder:null,playsInline:lt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:lt,referrerPolicy:null,rel:_t,required:lt,reversed:lt,rows:z,rowSpan:z,sandbox:_t,scope:null,scoped:lt,seamless:lt,selected:lt,shadowRootClonable:lt,shadowRootDelegatesFocus:lt,shadowRootMode:null,shape:null,size:z,sizes:null,slot:null,span:z,spellCheck:Ft,src:null,srcDoc:null,srcLang:null,srcSet:null,start:z,step:null,style:null,tabIndex:z,target:null,title:null,translate:null,type:null,typeMustMatch:lt,useMap:null,value:Ft,width:z,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:_t,axis:null,background:null,bgColor:null,border:z,borderColor:null,bottomMargin:z,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:lt,declare:lt,event:null,face:null,frame:null,frameBorder:null,hSpace:z,leftMargin:z,link:null,longDesc:null,lowSrc:null,marginHeight:z,marginWidth:z,noResize:lt,noHref:lt,noShade:lt,noWrap:lt,object:null,profile:null,prompt:null,rev:null,rightMargin:z,rules:null,scheme:null,scrolling:Ft,standby:null,summary:null,text:null,topMargin:z,valueType:null,version:null,vAlign:null,vLink:null,vSpace:z,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:lt,disableRemotePlayback:lt,prefix:null,property:null,results:z,security:null,unselectable:null}}),sb=dr({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:cd,properties:{about:ce,accentHeight:z,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:z,amplitude:z,arabicForm:null,ascent:z,attributeName:null,attributeType:null,azimuth:z,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:z,by:null,calcMode:null,capHeight:z,className:_t,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:z,diffuseConstant:z,direction:null,display:null,dur:null,divisor:z,dominantBaseline:null,download:lt,dx:null,dy:null,edgeMode:null,editable:null,elevation:z,enableBackground:null,end:null,event:null,exponent:z,externalResourcesRequired:null,fill:null,fillOpacity:z,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ur,g2:ur,glyphName:ur,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:z,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:z,horizOriginX:z,horizOriginY:z,id:null,ideographic:z,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:z,k:z,k1:z,k2:z,k3:z,k4:z,kernelMatrix:ce,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:z,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:z,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:z,overlineThickness:z,paintOrder:null,panose1:null,path:null,pathLength:z,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:_t,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:z,pointsAtY:z,pointsAtZ:z,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ce,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ce,rev:ce,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ce,requiredFeatures:ce,requiredFonts:ce,requiredFormats:ce,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:z,specularExponent:z,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:z,strikethroughThickness:z,string:null,stroke:null,strokeDashArray:ce,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:z,strokeOpacity:z,strokeWidth:null,style:null,surfaceScale:z,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ce,tabIndex:z,tableValues:null,target:null,targetX:z,targetY:z,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ce,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:z,underlineThickness:z,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:z,values:null,vAlphabetic:z,vMathematical:z,vectorEffect:null,vHanging:z,vIdeographic:z,version:null,vertAdvY:z,vertOriginX:z,vertOriginY:z,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:z,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),ab=/^data[-\w.:]+$/i,fd=/-[a-z]/g,lb=/[A-Z]/g;function cb(e){return"-"+e.toLowerCase()}function ub(e){return e.charAt(1).toUpperCase()}const db={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Ab=id([ld,ad,dd,Ad,ob],"html"),ta=id([ld,ad,dd,Ad,sb],"svg");function hd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ea,pd,gd,Ar={},fb=function(){if(gd)return Ar;gd=1;var e=Ar&&Ar.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Ar,"__esModule",{value:!0}),Ar.default=function(n,r){var i=null;if(!n||typeof n!="string")return i;var o=(0,t.default)(n),s=typeof r=="function";return o.forEach(function(a){if(a.type==="declaration"){var l=a.property,c=a.value;s?r(l,c,a):c&&((i=i||{})[l]=c)}}),i};var t=e(function(){if(pd)return ea;pd=1;var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,i=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,c=/^\s+|\s+$/g,u="";function d(A){return A?A.replace(c,u):u}return ea=function(A,f){if(typeof A!="string")throw new TypeError("First argument must be a string");if(!A)return[];f=f||{};var h=1,p=1;function g(C){var E=C.match(r);E&&(h+=E.length);var I=C.lastIndexOf(`
|
|
21
|
+
`);p=~I?C.length-I:p+C.length}function b(){var C={line:h,column:p};return function(E){return E.position=new w(C),_(),E}}function w(C){this.start=C,this.end={line:h,column:p},this.source=f.source}function y(C){var E=new Error(f.source+":"+h+":"+p+": "+C);if(E.reason=C,E.filename=f.source,E.line=h,E.column=p,E.source=A,!f.silent)throw E}function v(C){var E=C.exec(A);if(E){var I=E[0];return g(I),A=A.slice(I.length),E}}function _(){v(i)}function k(C){var E;for(C=C||[];E=P();)E!==!1&&C.push(E);return C}function P(){var C=b();if(A.charAt(0)=="/"&&A.charAt(1)=="*"){for(var E=2;u!=A.charAt(E)&&(A.charAt(E)!="*"||A.charAt(E+1)!="/");)++E;if(E+=2,u===A.charAt(E-1))return y("End of comment missing");var I=A.slice(2,E-2);return p+=2,g(I),A=A.slice(E),p+=2,C({type:"comment",comment:I})}}function D(){var C=b(),E=v(o);if(E){if(P(),!v(s))return y("property missing ':'");var I=v(a),B=C({type:"declaration",property:d(E[0].replace(n,u)),value:I?d(I[0].replace(n,u)):u});return v(l),B}}return w.prototype.content=A,_(),function(){var C,E=[];for(k(E);C=D();)C!==!1&&(E.push(C),k(E));return E}()},ea}());return Ar}();const md=hd(fb),hb=md.default||md,bd=vd("end"),na=vd("start");function vd(e){return function(t){const n=t&&t.position&&t.position[e]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function Xr(e){return e&&typeof e=="object"?"position"in e||"type"in e?yd(e.position):"start"in e||"end"in e?yd(e):"line"in e||"column"in e?ra(e):"":""}function ra(e){return wd(e&&e.line)+":"+wd(e&&e.column)}function yd(e){return ra(e&&e.start)+"-"+ra(e&&e.end)}function wd(e){return e&&typeof e=="number"?e:1}class Kt extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",o={},s=!1;if(n&&(o="line"in n&&"column"in n||"start"in n&&"end"in n?{place:n}:"type"in n?{ancestors:[n],place:n.position}:{...n}),typeof t=="string"?i=t:!o.cause&&t&&(s=!0,i=t.message,o.cause=t),!o.ruleId&&!o.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?o.ruleId=r:(o.source=r.slice(0,l),o.ruleId=r.slice(l+1))}if(!o.place&&o.ancestors&&o.ancestors){const l=o.ancestors[o.ancestors.length-1];l&&(o.place=l.position)}const a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=a?a.line:void 0,this.name=Xr(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=s&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}Kt.prototype.file="",Kt.prototype.name="",Kt.prototype.reason="",Kt.prototype.message="",Kt.prototype.stack="",Kt.prototype.column=void 0,Kt.prototype.line=void 0,Kt.prototype.ancestors=void 0,Kt.prototype.cause=void 0,Kt.prototype.fatal=void 0,Kt.prototype.place=void 0,Kt.prototype.ruleId=void 0,Kt.prototype.source=void 0;const ia={}.hasOwnProperty,pb=new Map,gb=/[A-Z]/g,mb=/-([a-z])/g,bb=new Set(["table","tbody","thead","tfoot","tr"]),vb=new Set(["td","th"]),xd="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function yb(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=function(s,a){return l;function l(c,u,d,A){const f=Array.isArray(d.children),h=na(c);return a(u,d,A,f,{columnNumber:h?h.column-1:void 0,fileName:s,lineNumber:h?h.line:void 0},void 0)}}(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=function(s,a,l){return c;function c(u,d,A,f){const h=Array.isArray(A.children)?l:a;return f?h(d,A,f):h(d,A)}}(0,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?ta:Ab,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},o=kd(i,e,void 0);return o&&typeof o!="string"?o:i.create(e,i.Fragment,{children:o||void 0},void 0)}function kd(e,t,n){return t.type==="element"?function(r,i,o){const s=r.schema;let a=s;i.tagName.toLowerCase()==="svg"&&s.space==="html"&&(a=ta,r.schema=a),r.ancestors.push(i);const l=Sd(r,i.tagName,!1),c=function(d,A){const f={};let h,p;for(p in A.properties)if(p!=="children"&&ia.call(A.properties,p)){const g=wb(d,p,A.properties[p]);if(g){const[b,w]=g;d.tableCellAlignToStyle&&b==="align"&&typeof w=="string"&&vb.has(A.tagName)?h=w:f[b]=w}}return h&&((f.style||(f.style={}))[d.stylePropertyNameCase==="css"?"text-align":"textAlign"]=h),f}(r,i);let u=sa(r,i);return bb.has(i.tagName)&&(u=u.filter(function(d){return typeof d!="string"||!function(A){return typeof A=="object"?A.type==="text"&&rd(A.value):rd(A)}(d)})),_d(r,c,l,i),oa(c,u),r.ancestors.pop(),r.schema=s,r.create(i,l,c,o)}(e,t,n):t.type==="mdxFlowExpression"||t.type==="mdxTextExpression"?function(r,i){if(i.data&&i.data.estree&&r.evaluater){const o=i.data.estree.body[0];return o.type,r.evaluater.evaluateExpression(o.expression)}Jr(r,i.position)}(e,t):t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement"?function(r,i,o){const s=r.schema;let a=s;i.name==="svg"&&s.space==="html"&&(a=ta,r.schema=a),r.ancestors.push(i);const l=i.name===null?r.Fragment:Sd(r,i.name,!0),c=function(d,A){const f={};for(const h of A.attributes)if(h.type==="mdxJsxExpressionAttribute")if(h.data&&h.data.estree&&d.evaluater){const p=h.data.estree.body[0];p.type;const g=p.expression;g.type;const b=g.properties[0];b.type,Object.assign(f,d.evaluater.evaluateExpression(b.argument))}else Jr(d,A.position);else{const p=h.name;let g;if(h.value&&typeof h.value=="object")if(h.value.data&&h.value.data.estree&&d.evaluater){const b=h.value.data.estree.body[0];b.type,g=d.evaluater.evaluateExpression(b.expression)}else Jr(d,A.position);else g=h.value===null||h.value;f[p]=g}return f}(r,i),u=sa(r,i);return _d(r,c,l,i),oa(c,u),r.ancestors.pop(),r.schema=s,r.create(i,l,c,o)}(e,t,n):t.type==="mdxjsEsm"?function(r,i){if(i.data&&i.data.estree&&r.evaluater)return r.evaluater.evaluateProgram(i.data.estree);Jr(r,i.position)}(e,t):t.type==="root"?function(r,i,o){const s={};return oa(s,sa(r,i)),r.create(i,r.Fragment,s,o)}(e,t,n):t.type==="text"?function(r,i){return i.value}(0,t):void 0}function _d(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function oa(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function sa(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:pb;for(;++r<t.children.length;){const o=t.children[r];let s;if(e.passKeys){const l=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(l){const c=i.get(l)||0;s=l+"-"+c,i.set(l,c+1)}}const a=kd(e,o,s);a!==void 0&&n.push(a)}return n}function wb(e,t,n){const r=function(i,o){const s=Xs(o);let a=o,l=be;if(s in i.normal)return i.property[i.normal[s]];if(s.length>4&&s.slice(0,4)==="data"&&ab.test(o)){if(o.charAt(4)==="-"){const c=o.slice(5).replace(fd,ub);a="data"+c.charAt(0).toUpperCase()+c.slice(1)}else{const c=o.slice(4);if(!fd.test(c)){let u=c.replace(lb,cb);u.charAt(0)!=="-"&&(u="-"+u),o="data"+u}}l=$s}return new l(a,o)}(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(i){const o={};return(i[i.length-1]===""?[...i,""]:i).join((o.padRight?" ":"")+","+(o.padLeft===!1?"":" ")).trim()}(n):function(i){return i.join(" ").trim()}(n)),r.property==="style"){let i=typeof n=="object"?n:function(o,s){const a={};try{hb(s,l)}catch(c){if(!o.ignoreInvalidStyle){const u=c,d=new Kt("Cannot parse `style` attribute",{ancestors:o.ancestors,cause:u,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw d.file=o.filePath||void 0,d.url=xd+"#cannot-parse-style-attribute",d}}return a;function l(c,u){let d=c;d.slice(0,2)!=="--"&&(d.slice(0,4)==="-ms-"&&(d="ms-"+d.slice(4)),d=d.replace(mb,kb)),a[d]=u}}(e,String(n));return e.stylePropertyNameCase==="css"&&(i=function(o){const s={};let a;for(a in o)ia.call(o,a)&&(s[xb(a)]=o[a]);return s}(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?db[r.property]||r.property:r.attribute,n]}}function Sd(e,t,n){let r;if(n)if(t.includes(".")){const i=t.split(".");let o,s=-1;for(;++s<i.length;){const a=nd(i[s])?{type:"Identifier",name:i[s]}:{type:"Literal",value:i[s]};o=o?{type:"MemberExpression",object:o,property:a,computed:!(!s||a.type!=="Literal"),optional:!1}:a}r=o}else r=nd(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return ia.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);Jr(e)}function Jr(e,t){const n=new Kt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=xd+"#cannot-handle-mdx-estrees-without-createevaluater",n}function xb(e){let t=e.replace(gb,_b);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function kb(e,t){return t.toUpperCase()}function _b(e){return"-"+e.toLowerCase()}const aa={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},Sb={};function Ed(e,t,n){if(function(r){return!(!r||typeof r!="object")}(e)){if("value"in e)return e.type!=="html"||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Cd(e.children,t,n)}return Array.isArray(e)?Cd(e,t,n):""}function Cd(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Ed(e[i],t,n);return r.join("")}const Pd=document.createElement("i");function la(e){const t="&"+e+";";Pd.innerHTML=t;const n=Pd.textContent;return(n.charCodeAt(n.length-1)!==59||e==="semi")&&n!==t&&n}function ze(e,t,n,r){const i=e.length;let o,s=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);s<r.length;)o=r.slice(s,s+1e4),o.unshift(t,0),e.splice(...o),s+=1e4,t+=1e4}function ve(e,t){return e.length>0?(ze(e,e.length,0,t),e):t}const Dd={}.hasOwnProperty;function Eb(e){const t={};let n=-1;for(;++n<e.length;)Cb(t,e[n]);return t}function Cb(e,t){let n;for(n in t){const r=(Dd.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let o;if(i)for(o in i){Dd.call(r,o)||(r[o]=[]);const s=i[o];Pb(r[o],Array.isArray(s)?s:s?[s]:[])}}}function Pb(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);ze(e,0,0,r)}function Bd(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||!(65535&~n)||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}function fr(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const He=vn(/[A-Za-z]/),ue=vn(/[\dA-Za-z]/),Db=vn(/[#-'*+\--9=?A-Z^-~]/);function ca(e){return e!==null&&(e<32||e===127)}const ua=vn(/\d/),Bb=vn(/[\dA-Fa-f]/),Ib=vn(/[!-/:-@[-`{-~]/);function rt(e){return e!==null&&e<-2}function te(e){return e!==null&&(e<0||e===32)}function gt(e){return e===-2||e===-1||e===32}const Tb=vn(new RegExp("\\p{P}|\\p{S}","u")),Mb=vn(/\s/);function vn(e){return function(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function hr(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const o=e.charCodeAt(n);let s="";if(o===37&&ue(e.charCodeAt(n+1))&&ue(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(s=String.fromCharCode(o));else if(o>55295&&o<57344){const a=e.charCodeAt(n+1);o<56320&&a>56319&&a<57344?(s=String.fromCharCode(o,a),i=1):s="�"}else s=String.fromCharCode(o);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+i+1,s=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function St(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return function(a){return gt(a)?(e.enter(n),s(a)):t(a)};function s(a){return gt(a)&&o++<i?(e.consume(a),s):(e.exit(n),t(a))}}const Ob={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,function(o){return o===null?void e.consume(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),St(e,t,"linePrefix"))},function(o){return e.enter("paragraph"),r(o)});let n;return t;function r(o){const s=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=s),n=s,i(o)}function i(o){return o===null?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(o)):rt(o)?(e.consume(o),e.exit("chunkText"),r):(e.consume(o),i)}}},Lb={tokenize:function(e){const t=this,n=[];let r,i,o,s=0;return a;function a(y){if(s<n.length){const v=n[s];return t.containerState=v[1],e.attempt(v[0].continuation,l,c)(y)}return c(y)}function l(y){if(s++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&w();const v=t.events.length;let _,k=v;for(;k--;)if(t.events[k][0]==="exit"&&t.events[k][1].type==="chunkFlow"){_=t.events[k][1].end;break}b(s);let P=v;for(;P<t.events.length;)t.events[P][1].end={..._},P++;return ze(t.events,k+1,0,t.events.slice(v)),t.events.length=P,c(y)}return a(y)}function c(y){if(s===n.length){if(!r)return A(y);if(r.currentConstruct&&r.currentConstruct.concrete)return h(y);t.interrupt=!(!r.currentConstruct||r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Id,u,d)(y)}function u(y){return r&&w(),b(s),A(y)}function d(y){return t.parser.lazy[t.now().line]=s!==n.length,o=t.now().offset,h(y)}function A(y){return t.containerState={},e.attempt(Id,f,h)(y)}function f(y){return s++,n.push([t.currentConstruct,t.containerState]),A(y)}function h(y){return y===null?(r&&w(),b(0),void e.consume(y)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:r,contentType:"flow",previous:i}),p(y))}function p(y){return y===null?(g(e.exit("chunkFlow"),!0),b(0),void e.consume(y)):rt(y)?(e.consume(y),g(e.exit("chunkFlow")),s=0,t.interrupt=void 0,a):(e.consume(y),p)}function g(y,v){const _=t.sliceStream(y);if(v&&_.push(null),y.previous=i,i&&(i.next=y),i=y,r.defineSkip(y.start),r.write(_),t.parser.lazy[y.start.line]){let k=r.events.length;for(;k--;)if(r.events[k][1].start.offset<o&&(!r.events[k][1].end||r.events[k][1].end.offset>o))return;const P=t.events.length;let D,C,E=P;for(;E--;)if(t.events[E][0]==="exit"&&t.events[E][1].type==="chunkFlow"){if(D){C=t.events[E][1].end;break}D=!0}for(b(s),k=P;k<t.events.length;)t.events[k][1].end={...C},k++;ze(t.events,E+1,0,t.events.slice(P)),t.events.length=k}}function b(y){let v=n.length;for(;v-- >y;){const _=n[v];t.containerState=_[1],_[0].exit.call(t,e)}n.length=y}function w(){r.write([null]),i=void 0,r=void 0,t.containerState._closeFlow=void 0}}},Id={tokenize:function(e,t,n){return St(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};function Td(e){return e===null||te(e)||Mb(e)?1:Tb(e)?2:void 0}function da(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}const Aa={name:"attention",resolveAll:function(e,t){let n,r,i,o,s,a,l,c,u=-1;for(;++u<e.length;)if(e[u][0]==="enter"&&e[u][1].type==="attentionSequence"&&e[u][1]._close){for(n=u;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[n][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;a=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const d={...e[n][1].end},A={...e[u][1].start};Md(d,-a),Md(A,a),o={type:a>1?"strongSequence":"emphasisSequence",start:d,end:{...e[n][1].end}},s={type:a>1?"strongSequence":"emphasisSequence",start:{...e[u][1].start},end:A},i={type:a>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[u][1].start}},r={type:a>1?"strong":"emphasis",start:{...o.start},end:{...s.end}},e[n][1].end={...o.start},e[u][1].start={...s.end},l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=ve(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=ve(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),l=ve(l,da(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=ve(l,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=ve(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,ze(e,n-1,u-n+3,l),u=n+l.length-c-2;break}}for(u=-1;++u<e.length;)e[u][1].type==="attentionSequence"&&(e[u][1].type="data");return e},tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Td(r);let o;return function(a){return o=a,e.enter("attentionSequence"),s(a)};function s(a){if(a===o)return e.consume(a),s;const l=e.exit("attentionSequence"),c=Td(a),u=!c||c===2&&i||n.includes(a),d=!i||i===2&&c||n.includes(r);return l._open=!!(o===42?u:u&&(i||!d)),l._close=!!(o===42?d:d&&(c||!u)),t(a)}}};function Md(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Rb={name:"autolink",tokenize:function(e,t,n){let r=0;return function(A){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(A),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(A){return He(A)?(e.consume(A),o):A===64?n(A):l(A)}function o(A){return A===43||A===45||A===46||ue(A)?(r=1,s(A)):l(A)}function s(A){return A===58?(e.consume(A),r=0,a):(A===43||A===45||A===46||ue(A))&&r++<32?(e.consume(A),s):(r=0,l(A))}function a(A){return A===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(A),e.exit("autolinkMarker"),e.exit("autolink"),t):A===null||A===32||A===60||ca(A)?n(A):(e.consume(A),a)}function l(A){return A===64?(e.consume(A),c):Db(A)?(e.consume(A),l):n(A)}function c(A){return ue(A)?u(A):n(A)}function u(A){return A===46?(e.consume(A),r=0,c):A===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(A),e.exit("autolinkMarker"),e.exit("autolink"),t):d(A)}function d(A){if((A===45||ue(A))&&r++<63){const f=A===45?d:u;return e.consume(A),f}return n(A)}}},Zi={partial:!0,tokenize:function(e,t,n){return function(i){return gt(i)?St(e,r,"linePrefix")(i):r(i)};function r(i){return i===null||rt(i)?t(i):n(i)}}},Od={continuation:{tokenize:function(e,t,n){const r=this;return function(o){return gt(o)?St(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):i(o)};function i(o){return e.attempt(Od,t,n)(o)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(o){if(o===62){const s=r.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),i}return n(o)};function i(o){return gt(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}},Ld={name:"characterEscape",tokenize:function(e,t,n){return function(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),r};function r(i){return Ib(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}},Rd={name:"characterReference",tokenize:function(e,t,n){const r=this;let i,o,s=0;return function(u){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(u),e.exit("characterReferenceMarker"),a};function a(u){return u===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(u),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),i=31,o=ue,c(u))}function l(u){return u===88||u===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(u),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=Bb,c):(e.enter("characterReferenceValue"),i=7,o=ua,c(u))}function c(u){if(u===59&&s){const d=e.exit("characterReferenceValue");return o!==ue||la(r.sliceSerialize(d))?(e.enter("characterReferenceMarker"),e.consume(u),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(u)}return o(u)&&s++<i?(e.consume(u),c):n(u)}}},Qd={partial:!0,tokenize:function(e,t,n){const r=this;return function(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i)};function i(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}},Fd={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){const r=this,i={partial:!0,tokenize:function(y,v,_){let k=0;return P;function P(B){return y.enter("lineEnding"),y.consume(B),y.exit("lineEnding"),D}function D(B){return y.enter("codeFencedFence"),gt(B)?St(y,C,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(B):C(B)}function C(B){return B===o?(y.enter("codeFencedFenceSequence"),E(B)):_(B)}function E(B){return B===o?(k++,y.consume(B),E):k>=a?(y.exit("codeFencedFenceSequence"),gt(B)?St(y,I,"whitespace")(B):I(B)):_(B)}function I(B){return B===null||rt(B)?(y.exit("codeFencedFence"),v(B)):_(B)}}};let o,s=0,a=0;return function(y){return function(v){const _=r.events[r.events.length-1];return s=_&&_[1].type==="linePrefix"?_[2].sliceSerialize(_[1],!0).length:0,o=v,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(v)}(y)};function l(y){return y===o?(a++,e.consume(y),l):a<3?n(y):(e.exit("codeFencedFenceSequence"),gt(y)?St(e,c,"whitespace")(y):c(y))}function c(y){return y===null||rt(y)?(e.exit("codeFencedFence"),r.interrupt?t(y):e.check(Qd,f,w)(y)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(y))}function u(y){return y===null||rt(y)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(y)):gt(y)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),St(e,d,"whitespace")(y)):y===96&&y===o?n(y):(e.consume(y),u)}function d(y){return y===null||rt(y)?c(y):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),A(y))}function A(y){return y===null||rt(y)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(y)):y===96&&y===o?n(y):(e.consume(y),A)}function f(y){return e.attempt(i,w,h)(y)}function h(y){return e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),p}function p(y){return s>0&>(y)?St(e,g,"linePrefix",s+1)(y):g(y)}function g(y){return y===null||rt(y)?e.check(Qd,f,w)(y):(e.enter("codeFlowValue"),b(y))}function b(y){return y===null||rt(y)?(e.exit("codeFlowValue"),g(y)):(e.consume(y),b)}function w(y){return e.exit("codeFenced"),t(y)}}},fa={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(l){return e.enter("codeIndented"),St(e,i,"linePrefix",5)(l)};function i(l){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?o(l):n(l)}function o(l){return l===null?a(l):rt(l)?e.attempt(Qb,o,a)(l):(e.enter("codeFlowValue"),s(l))}function s(l){return l===null||rt(l)?(e.exit("codeFlowValue"),o(l)):(e.consume(l),s)}function a(l){return e.exit("codeIndented"),t(l)}}},Qb={partial:!0,tokenize:function(e,t,n){const r=this;return i;function i(s){return r.parser.lazy[r.now().line]?n(s):rt(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):St(e,o,"linePrefix",5)(s)}function o(s){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(s):rt(s)?i(s):n(s)}}},Fb={name:"codeText",previous:function(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"},resolve:function(e){let t,n,r=e.length-4,i=3;if(!(e[i][1].type!=="lineEnding"&&e[i][1].type!=="space"||e[r][1].type!=="lineEnding"&&e[r][1].type!=="space")){for(t=i;++t<r;)if(e[t][1].type==="codeTextData"){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)n===void 0?t!==r&&e[t][1].type!=="lineEnding"&&(n=t):(t===r||e[t][1].type==="lineEnding")&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,i,o=0;return function(u){return e.enter("codeText"),e.enter("codeTextSequence"),s(u)};function s(u){return u===96?(e.consume(u),o++,s):(e.exit("codeTextSequence"),a(u))}function a(u){return u===null?n(u):u===32?(e.enter("space"),e.consume(u),e.exit("space"),a):u===96?(i=e.enter("codeTextSequence"),r=0,c(u)):rt(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),a):(e.enter("codeTextData"),l(u))}function l(u){return u===null||u===32||u===96||rt(u)?(e.exit("codeTextData"),a(u)):(e.consume(u),l)}function c(u){return u===96?(e.consume(u),r++,c):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(u)):(i.type="codeTextData",l(u))}}};class Nb{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const o=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Zr(this.left,r),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Zr(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Zr(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Zr(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Zr(this.left,n.reverse())}}}function Zr(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Nd(e){const t={};let n,r,i,o,s,a,l,c=-1;const u=new Nb(e);for(;++c<u.length;){for(;c in t;)c=t[c];if(n=u.get(c),c&&n[1].type==="chunkFlow"&&u.get(c-1)[1].type==="listItemPrefix"&&(a=n[1]._tokenizer.events,i=0,i<a.length&&a[i][1].type==="lineEndingBlank"&&(i+=2),i<a.length&&a[i][1].type==="content"))for(;++i<a.length&&a[i][1].type!=="content";)a[i][1].type==="chunkText"&&(a[i][1]._isInFirstContentOfListItem=!0,i++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,zb(u,c)),c=t[c],l=!0);else if(n[1]._container){for(i=c,r=void 0;i--;)if(o=u.get(i),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(r&&(u.get(r)[1].type="lineEndingBlank"),o[1].type="lineEnding",r=i);else if(o[1].type!=="linePrefix")break;r&&(n[1].end={...u.get(r)[1].start},s=u.slice(r,c),s.unshift(n),u.splice(r,c-r+1,s))}}return ze(e,0,Number.POSITIVE_INFINITY,u.slice(0)),!l}function zb(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const o=[],s=n._tokenizer||r.parser[n.contentType](n.start),a=s.events,l=[],c={};let u,d,A=-1,f=n,h=0,p=0;const g=[p];for(;f;){for(;e.get(++i)[1]!==f;);o.push(i),f._tokenizer||(u=r.sliceStream(f),f.next||u.push(null),d&&s.defineSkip(f.start),f._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(u),f._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),d=f,f=f.next}for(f=n;++A<a.length;)a[A][0]==="exit"&&a[A-1][0]==="enter"&&a[A][1].type===a[A-1][1].type&&a[A][1].start.line!==a[A][1].end.line&&(p=A+1,g.push(p),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(s.events=[],f?(f._tokenizer=void 0,f.previous=void 0):g.pop(),A=g.length;A--;){const b=a.slice(g[A],g[A+1]),w=o.pop();l.push([w,w+b.length-1]),e.splice(w,2,b)}for(l.reverse(),A=-1;++A<l.length;)c[h+l[A][0]]=h+l[A][1],h+=l[A][1]-l[A][0]-1;return c}const Hb={resolve:function(e){return Nd(e),e},tokenize:function(e,t){let n;return function(s){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(s)};function r(s){return s===null?i(s):rt(s)?e.check(Ub,o,i)(s):(e.consume(s),r)}function i(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function o(s){return e.consume(s),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},Ub={partial:!0,tokenize:function(e,t,n){const r=this;return function(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),St(e,i,"linePrefix")};function i(o){if(o===null||rt(o))return n(o);const s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}};function zd(e,t,n,r,i,o,s,a,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return function(g){return g===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(g),e.exit(o),d):g===null||g===32||g===41||ca(g)?n(g):(e.enter(r),e.enter(s),e.enter(a),e.enter("chunkString",{contentType:"string"}),h(g))};function d(g){return g===62?(e.enter(o),e.consume(g),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),A(g))}function A(g){return g===62?(e.exit("chunkString"),e.exit(a),d(g)):g===null||g===60||rt(g)?n(g):(e.consume(g),g===92?f:A)}function f(g){return g===60||g===62||g===92?(e.consume(g),A):A(g)}function h(g){return u||g!==null&&g!==41&&!te(g)?u<c&&g===40?(e.consume(g),u++,h):g===41?(e.consume(g),u--,h):g===null||g===32||g===40||ca(g)?n(g):(e.consume(g),g===92?p:h):(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(r),t(g))}function p(g){return g===40||g===41||g===92?(e.consume(g),h):h(g)}}function Hd(e,t,n,r,i,o){const s=this;let a,l=0;return function(A){return e.enter(r),e.enter(i),e.consume(A),e.exit(i),e.enter(o),c};function c(A){return l>999||A===null||A===91||A===93&&!a||A===94&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?n(A):A===93?(e.exit(o),e.enter(i),e.consume(A),e.exit(i),e.exit(r),t):rt(A)?(e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(A))}function u(A){return A===null||A===91||A===93||rt(A)||l++>999?(e.exit("chunkString"),c(A)):(e.consume(A),a||(a=!gt(A)),A===92?d:u)}function d(A){return A===91||A===92||A===93?(e.consume(A),l++,u):u(A)}}function Ud(e,t,n,r,i,o){let s;return function(d){return d===34||d===39||d===40?(e.enter(r),e.enter(i),e.consume(d),e.exit(i),s=d===40?41:d,a):n(d)};function a(d){return d===s?(e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):(e.enter(o),l(d))}function l(d){return d===s?(e.exit(o),a(s)):d===null?n(d):rt(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),St(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(d){return d===s||d===null||rt(d)?(e.exit("chunkString"),l(d)):(e.consume(d),d===92?u:c)}function u(d){return d===s||d===92?(e.consume(d),c):c(d)}}function $r(e,t){let n;return function r(i){return rt(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):gt(i)?St(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const jb={name:"definition",tokenize:function(e,t,n){const r=this;let i;return function(d){return e.enter("definition"),function(A){return Hd.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(A)}(d)};function o(d){return i=fr(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),d===58?(e.enter("definitionMarker"),e.consume(d),e.exit("definitionMarker"),s):n(d)}function s(d){return te(d)?$r(e,a)(d):a(d)}function a(d){return zd(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(d)}function l(d){return e.attempt(Vb,c,c)(d)}function c(d){return gt(d)?St(e,u,"whitespace")(d):u(d)}function u(d){return d===null||rt(d)?(e.exit("definition"),r.parser.defined.push(i),t(d)):n(d)}}},Vb={partial:!0,tokenize:function(e,t,n){return function(s){return te(s)?$r(e,r)(s):n(s)};function r(s){return Ud(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function i(s){return gt(s)?St(e,o,"whitespace")(s):o(s)}function o(s){return s===null||rt(s)?t(s):n(s)}}},Wb={name:"hardBreakEscape",tokenize:function(e,t,n){return function(i){return e.enter("hardBreakEscape"),e.consume(i),r};function r(i){return rt(i)?(e.exit("hardBreakEscape"),t(i)):n(i)}}},Yb={name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,o=3;return e[o][1].type==="whitespace"&&(o+=2),i-2>o&&e[i][1].type==="whitespace"&&(i-=2),e[i][1].type==="atxHeadingSequence"&&(o===i-1||i-4>o&&e[i-2][1].type==="whitespace")&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},ze(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(l){return e.enter("atxHeading"),function(c){return e.enter("atxHeadingSequence"),i(c)}(l)};function i(l){return l===35&&r++<6?(e.consume(l),i):l===null||te(l)?(e.exit("atxHeadingSequence"),o(l)):n(l)}function o(l){return l===35?(e.enter("atxHeadingSequence"),s(l)):l===null||rt(l)?(e.exit("atxHeading"),t(l)):gt(l)?St(e,o,"whitespace")(l):(e.enter("atxHeadingText"),a(l))}function s(l){return l===35?(e.consume(l),s):(e.exit("atxHeadingSequence"),o(l))}function a(l){return l===null||l===35||te(l)?(e.exit("atxHeadingText"),o(l)):(e.consume(l),a)}}},qb=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],jd=["pre","script","style","textarea"],Kb={concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&(e[t][0]!=="enter"||e[t][1].type!=="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){const r=this;let i,o,s,a,l;return function(S){return function(j){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(j),c}(S)};function c(S){return S===33?(e.consume(S),u):S===47?(e.consume(S),o=!0,f):S===63?(e.consume(S),i=3,r.interrupt?t:F):He(S)?(e.consume(S),s=String.fromCharCode(S),h):n(S)}function u(S){return S===45?(e.consume(S),i=2,d):S===91?(e.consume(S),i=5,a=0,A):He(S)?(e.consume(S),i=4,r.interrupt?t:F):n(S)}function d(S){return S===45?(e.consume(S),r.interrupt?t:F):n(S)}function A(S){return S==="CDATA[".charCodeAt(a++)?(e.consume(S),a===6?r.interrupt?t:E:A):n(S)}function f(S){return He(S)?(e.consume(S),s=String.fromCharCode(S),h):n(S)}function h(S){if(S===null||S===47||S===62||te(S)){const j=S===47,q=s.toLowerCase();return j||o||!jd.includes(q)?qb.includes(s.toLowerCase())?(i=6,j?(e.consume(S),p):r.interrupt?t(S):E(S)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(S):o?g(S):b(S)):(i=1,r.interrupt?t(S):E(S))}return S===45||ue(S)?(e.consume(S),s+=String.fromCharCode(S),h):n(S)}function p(S){return S===62?(e.consume(S),r.interrupt?t:E):n(S)}function g(S){return gt(S)?(e.consume(S),g):D(S)}function b(S){return S===47?(e.consume(S),D):S===58||S===95||He(S)?(e.consume(S),w):gt(S)?(e.consume(S),b):D(S)}function w(S){return S===45||S===46||S===58||S===95||ue(S)?(e.consume(S),w):y(S)}function y(S){return S===61?(e.consume(S),v):gt(S)?(e.consume(S),y):b(S)}function v(S){return S===null||S===60||S===61||S===62||S===96?n(S):S===34||S===39?(e.consume(S),l=S,_):gt(S)?(e.consume(S),v):k(S)}function _(S){return S===l?(e.consume(S),l=null,P):S===null||rt(S)?n(S):(e.consume(S),_)}function k(S){return S===null||S===34||S===39||S===47||S===60||S===61||S===62||S===96||te(S)?y(S):(e.consume(S),k)}function P(S){return S===47||S===62||gt(S)?b(S):n(S)}function D(S){return S===62?(e.consume(S),C):n(S)}function C(S){return S===null||rt(S)?E(S):gt(S)?(e.consume(S),C):n(S)}function E(S){return S===45&&i===2?(e.consume(S),R):S===60&&i===1?(e.consume(S),Q):S===62&&i===4?(e.consume(S),x):S===63&&i===3?(e.consume(S),F):S===93&&i===5?(e.consume(S),N):!rt(S)||i!==6&&i!==7?S===null||rt(S)?(e.exit("htmlFlowData"),I(S)):(e.consume(S),E):(e.exit("htmlFlowData"),e.check(Gb,U,I)(S))}function I(S){return e.check(Xb,B,U)(S)}function B(S){return e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),T}function T(S){return S===null||rt(S)?I(S):(e.enter("htmlFlowData"),E(S))}function R(S){return S===45?(e.consume(S),F):E(S)}function Q(S){return S===47?(e.consume(S),s="",O):E(S)}function O(S){if(S===62){const j=s.toLowerCase();return jd.includes(j)?(e.consume(S),x):E(S)}return He(S)&&s.length<8?(e.consume(S),s+=String.fromCharCode(S),O):E(S)}function N(S){return S===93?(e.consume(S),F):E(S)}function F(S){return S===62?(e.consume(S),x):S===45&&i===2?(e.consume(S),F):E(S)}function x(S){return S===null||rt(S)?(e.exit("htmlFlowData"),U(S)):(e.consume(S),x)}function U(S){return e.exit("htmlFlow"),t(S)}}},Gb={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(Zi,t,n)}}},Xb={partial:!0,tokenize:function(e,t,n){const r=this;return function(o){return rt(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):n(o)};function i(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}},Jb={name:"htmlText",tokenize:function(e,t,n){const r=this;let i,o,s;return function(x){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(x),a};function a(x){return x===33?(e.consume(x),l):x===47?(e.consume(x),v):x===63?(e.consume(x),w):He(x)?(e.consume(x),P):n(x)}function l(x){return x===45?(e.consume(x),c):x===91?(e.consume(x),o=0,f):He(x)?(e.consume(x),b):n(x)}function c(x){return x===45?(e.consume(x),A):n(x)}function u(x){return x===null?n(x):x===45?(e.consume(x),d):rt(x)?(s=u,O(x)):(e.consume(x),u)}function d(x){return x===45?(e.consume(x),A):u(x)}function A(x){return x===62?Q(x):x===45?d(x):u(x)}function f(x){return x==="CDATA[".charCodeAt(o++)?(e.consume(x),o===6?h:f):n(x)}function h(x){return x===null?n(x):x===93?(e.consume(x),p):rt(x)?(s=h,O(x)):(e.consume(x),h)}function p(x){return x===93?(e.consume(x),g):h(x)}function g(x){return x===62?Q(x):x===93?(e.consume(x),g):h(x)}function b(x){return x===null||x===62?Q(x):rt(x)?(s=b,O(x)):(e.consume(x),b)}function w(x){return x===null?n(x):x===63?(e.consume(x),y):rt(x)?(s=w,O(x)):(e.consume(x),w)}function y(x){return x===62?Q(x):w(x)}function v(x){return He(x)?(e.consume(x),_):n(x)}function _(x){return x===45||ue(x)?(e.consume(x),_):k(x)}function k(x){return rt(x)?(s=k,O(x)):gt(x)?(e.consume(x),k):Q(x)}function P(x){return x===45||ue(x)?(e.consume(x),P):x===47||x===62||te(x)?D(x):n(x)}function D(x){return x===47?(e.consume(x),Q):x===58||x===95||He(x)?(e.consume(x),C):rt(x)?(s=D,O(x)):gt(x)?(e.consume(x),D):Q(x)}function C(x){return x===45||x===46||x===58||x===95||ue(x)?(e.consume(x),C):E(x)}function E(x){return x===61?(e.consume(x),I):rt(x)?(s=E,O(x)):gt(x)?(e.consume(x),E):D(x)}function I(x){return x===null||x===60||x===61||x===62||x===96?n(x):x===34||x===39?(e.consume(x),i=x,B):rt(x)?(s=I,O(x)):gt(x)?(e.consume(x),I):(e.consume(x),T)}function B(x){return x===i?(e.consume(x),i=void 0,R):x===null?n(x):rt(x)?(s=B,O(x)):(e.consume(x),B)}function T(x){return x===null||x===34||x===39||x===60||x===61||x===96?n(x):x===47||x===62||te(x)?D(x):(e.consume(x),T)}function R(x){return x===47||x===62||te(x)?D(x):n(x)}function Q(x){return x===62?(e.consume(x),e.exit("htmlTextData"),e.exit("htmlText"),t):n(x)}function O(x){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),N}function N(x){return gt(x)?St(e,F,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(x):F(x)}function F(x){return e.enter("htmlTextData"),s(x)}}},ha={name:"labelEnd",resolveAll:function(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&ze(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,o,s=e.length,a=0;for(;s--;)if(n=e[s][1],r){if(n.type==="link"||n.type==="labelLink"&&n._inactive)break;e[s][0]==="enter"&&n.type==="labelLink"&&(n._inactive=!0)}else if(i){if(e[s][0]==="enter"&&(n.type==="labelImage"||n.type==="labelLink")&&!n._balanced&&(r=s,n.type!=="labelLink")){a=2;break}}else n.type==="labelEnd"&&(i=s);const l={type:e[r][1].type==="labelLink"?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},u={type:"labelText",start:{...e[r+a+2][1].end},end:{...e[i-2][1].start}};return o=[["enter",l,t],["enter",c,t]],o=ve(o,e.slice(r+1,r+a+3)),o=ve(o,[["enter",u,t]]),o=ve(o,da(t.parser.constructs.insideSpan.null,e.slice(r+a+4,i-3),t)),o=ve(o,[["exit",u,t],e[i-2],e[i-1],["exit",c,t]]),o=ve(o,e.slice(i+1)),o=ve(o,[["exit",l,t]]),ze(e,r,e.length,o),e},tokenize:function(e,t,n){const r=this;let i,o,s=r.events.length;for(;s--;)if((r.events[s][1].type==="labelImage"||r.events[s][1].type==="labelLink")&&!r.events[s][1]._balanced){i=r.events[s][1];break}return function(d){return i?i._inactive?u(d):(o=r.parser.defined.includes(fr(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelEnd"),a):n(d)};function a(d){return d===40?e.attempt(Zb,c,o?c:u)(d):d===91?e.attempt($b,c,o?l:u)(d):o?c(d):u(d)}function l(d){return e.attempt(tv,c,u)(d)}function c(d){return t(d)}function u(d){return i._balanced=!0,n(d)}}},Zb={tokenize:function(e,t,n){return function(u){return e.enter("resource"),e.enter("resourceMarker"),e.consume(u),e.exit("resourceMarker"),r};function r(u){return te(u)?$r(e,i)(u):i(u)}function i(u){return u===41?c(u):zd(e,o,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(u)}function o(u){return te(u)?$r(e,a)(u):c(u)}function s(u){return n(u)}function a(u){return u===34||u===39||u===40?Ud(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(u):c(u)}function l(u){return te(u)?$r(e,c)(u):c(u)}function c(u){return u===41?(e.enter("resourceMarker"),e.consume(u),e.exit("resourceMarker"),e.exit("resource"),t):n(u)}}},$b={tokenize:function(e,t,n){const r=this;return function(s){return Hd.call(r,e,i,o,"reference","referenceMarker","referenceString")(s)};function i(s){return r.parser.defined.includes(fr(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(s):n(s)}function o(s){return n(s)}}},tv={tokenize:function(e,t,n){return function(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),r};function r(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):n(i)}}},ev={name:"labelStartImage",resolveAll:ha.resolveAll,tokenize:function(e,t,n){const r=this;return function(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),i};function i(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),o):n(s)}function o(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}},nv={name:"labelStartLink",resolveAll:ha.resolveAll,tokenize:function(e,t,n){const r=this;return function(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),i};function i(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}},pa={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),St(e,t,"linePrefix")}}},$i={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(a){return e.enter("thematicBreak"),function(l){return r=l,o(l)}(a)};function o(a){return a===r?(e.enter("thematicBreakSequence"),s(a)):i>=3&&(a===null||rt(a))?(e.exit("thematicBreak"),t(a)):n(a)}function s(a){return a===r?(e.consume(a),i++,s):(e.exit("thematicBreakSequence"),gt(a)?St(e,o,"whitespace")(a):o(a))}}},ee={continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Zi,function(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,St(e,t,"listItemIndent",r.containerState.size+1)(o)},function(o){return r.containerState.furtherBlankLines||!gt(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(iv,t,i)(o))});function i(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,St(e,e.attempt(ee,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,s=0;return function(A){const f=r.containerState.type||(A===42||A===43||A===45?"listUnordered":"listOrdered");if(f==="listUnordered"?!r.containerState.marker||A===r.containerState.marker:ua(A)){if(r.containerState.type||(r.containerState.type=f,e.enter(f,{_container:!0})),f==="listUnordered")return e.enter("listItemPrefix"),A===42||A===45?e.check($i,n,l)(A):l(A);if(!r.interrupt||A===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(A)}return n(A)};function a(A){return ua(A)&&++s<10?(e.consume(A),a):(!r.interrupt||s<2)&&(r.containerState.marker?A===r.containerState.marker:A===41||A===46)?(e.exit("listItemValue"),l(A)):n(A)}function l(A){return e.enter("listItemMarker"),e.consume(A),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||A,e.check(Zi,r.interrupt?n:c,e.attempt(rv,d,u))}function c(A){return r.containerState.initialBlankLine=!0,o++,d(A)}function u(A){return gt(A)?(e.enter("listItemPrefixWhitespace"),e.consume(A),e.exit("listItemPrefixWhitespace"),d):n(A)}function d(A){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(A)}}},rv={partial:!0,tokenize:function(e,t,n){const r=this;return St(e,function(i){const o=r.events[r.events.length-1];return!gt(i)&&o&&o[1].type==="listItemPrefixWhitespace"?t(i):n(i)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},iv={partial:!0,tokenize:function(e,t,n){const r=this;return St(e,function(i){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(i):n(i)},"listItemIndent",r.containerState.size+1)}},Vd={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if(e[o][0]==="enter"){if(e[o][1].type==="content"){n=o;break}e[o][1].type==="paragraph"&&(r=o)}else e[o][1].type==="content"&&e.splice(o,1),!i&&e[o][1].type==="definition"&&(i=o);const s={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",s,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=s,e.push(["exit",s,t]),e},tokenize:function(e,t,n){const r=this;let i;return function(a){let l,c=r.events.length;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){l=r.events[c][1].type==="paragraph";break}return r.parser.lazy[r.now().line]||!r.interrupt&&!l?n(a):(e.enter("setextHeadingLine"),i=a,function(u){return e.enter("setextHeadingLineSequence"),o(u)}(a))};function o(a){return a===i?(e.consume(a),o):(e.exit("setextHeadingLineSequence"),gt(a)?St(e,s,"lineSuffix")(a):s(a))}function s(a){return a===null||rt(a)?(e.exit("setextHeadingLine"),t(a)):n(a)}}},ov={tokenize:function(e){const t=this,n=e.attempt(Zi,function(i){return i===null?void e.consume(i):(e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n)},e.attempt(this.parser.constructs.flowInitial,r,St(e,e.attempt(this.parser.constructs.flow,r,e.attempt(Hb,r)),"linePrefix")));return n;function r(i){if(i!==null)return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(i)}}},sv={resolveAll:Yd()},av=Wd("string"),lv=Wd("text");function Wd(e){return{resolveAll:Yd(e==="text"?cv:void 0),tokenize:function(t){const n=this,r=this.parser.constructs[e],i=t.attempt(r,o,s);return o;function o(c){return l(c)?i(c):s(c)}function s(c){if(c!==null)return t.enter("data"),t.consume(c),a;t.consume(c)}function a(c){return l(c)?(t.exit("data"),i(c)):(t.consume(c),a)}function l(c){if(c===null)return!0;const u=r[c];let d=-1;if(u)for(;++d<u.length;){const A=u[d];if(!A.previous||A.previous.call(n,n.previous))return!0}return!1}}}}function Yd(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)r===void 0?t[i]&&t[i][1].type==="data"&&(r=i,i++):(!t[i]||t[i][1].type!=="data")&&(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function cv(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let o,s=i.length,a=-1,l=0;for(;s--;){const c=i[s];if(typeof c=="string"){for(a=c.length;c.charCodeAt(a-1)===32;)l++,a--;if(a)break;a=-1}else if(c===-2)o=!0,l++;else if(c!==-1){s++;break}}if(l){const c={type:n===e.length||o||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?a:r.start._bufferIndex+a,_index:r.start._index+s,line:r.end.line,column:r.end.column-l,offset:r.end.offset-l},end:{...r.end}};r.end={...c.start},r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}const uv={42:ee,43:ee,45:ee,48:ee,49:ee,50:ee,51:ee,52:ee,53:ee,54:ee,55:ee,56:ee,57:ee,62:Od},dv={91:jb},Av={[-2]:fa,[-1]:fa,32:fa},fv={35:Yb,42:$i,45:[Vd,$i],60:Kb,61:Vd,95:$i,96:Fd,126:Fd},hv={38:Rd,92:Ld},pv={[-5]:pa,[-4]:pa,[-3]:pa,33:ev,38:Rd,42:Aa,60:[Rb,Jb],91:nv,92:[Wb,Ld],93:ha,95:Aa,96:Fb},gv={null:[Aa,sv]},mv=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:dv,disable:{null:[]},document:uv,flow:fv,flowInitial:Av,insideSpan:gv,string:hv,text:pv},Symbol.toStringTag,{value:"Module"}));function bv(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},o=[];let s=[],a=[];const l={attempt:p(function(w,y){g(w,y.from)}),check:p(h),consume:function(w){rt(w)?(r.line++,r.column=1,r.offset+=w===-3?2:1,b()):w!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=w},enter:function(w,y){const v=y||{};return v.type=w,v.start=A(),c.events.push(["enter",v,c]),a.push(v),v},exit:function(w){const y=a.pop();return y.end=A(),c.events.push(["exit",y,c]),y},interrupt:p(h,{interrupt:!0})},c={code:null,containerState:{},defineSkip:function(w){i[w.line]=w.column,b()},events:[],now:A,parser:e,previous:null,sliceSerialize:function(w,y){return function(v,_){let k=-1;const P=[];let D;for(;++k<v.length;){const C=v[k];let E;if(typeof C=="string")E=C;else switch(C){case-5:E="\r";break;case-4:E=`
|
|
22
|
+
`;break;case-3:E=`\r
|
|
23
|
+
`;break;case-2:E=_?" ":" ";break;case-1:if(!_&&D)continue;E=" ";break;default:E=String.fromCharCode(C)}D=C===-2,P.push(E)}return P.join("")}(d(w),y)},sliceStream:d,write:function(w){return s=ve(s,w),function(){let y;for(;r._index<s.length;){const v=s[r._index];if(typeof v=="string")for(y=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===y&&r._bufferIndex<v.length;)f(v.charCodeAt(r._bufferIndex));else f(v)}}(),s[s.length-1]!==null?[]:(g(t,0),c.events=da(o,c.events,c),c.events)}};let u=t.tokenize.call(c,l);return t.resolveAll&&o.push(t),c;function d(w){return function(y,v){const _=v.start._index,k=v.start._bufferIndex,P=v.end._index,D=v.end._bufferIndex;let C;if(_===P)C=[y[_].slice(k,D)];else{if(C=y.slice(_,P),k>-1){const E=C[0];typeof E=="string"?C[0]=E.slice(k):C.shift()}D>0&&C.push(y[P].slice(0,D))}return C}(s,w)}function A(){const{_bufferIndex:w,_index:y,line:v,column:_,offset:k}=r;return{_bufferIndex:w,_index:y,line:v,column:_,offset:k}}function f(w){u=u(w)}function h(w,y){y.restore()}function p(w,y){return function(v,_,k){let P,D,C,E;return Array.isArray(v)?I(v):"tokenize"in v?I([v]):function(Q){return O;function O(N){const F=N!==null&&Q[N],x=N!==null&&Q.null;return I([...Array.isArray(F)?F:F?[F]:[],...Array.isArray(x)?x:x?[x]:[]])(N)}}(v);function I(Q){return P=Q,D=0,Q.length===0?k:B(Q[D])}function B(Q){return function(O){return E=function(){const N=A(),F=c.previous,x=c.currentConstruct,U=c.events.length,S=Array.from(a);return{from:U,restore:j};function j(){r=N,c.previous=F,c.currentConstruct=x,c.events.length=U,a=S,b()}}(),C=Q,Q.partial||(c.currentConstruct=Q),Q.name&&c.parser.constructs.disable.null.includes(Q.name)?R():Q.tokenize.call(y?Object.assign(Object.create(c),y):c,l,T,R)(O)}}function T(Q){return w(C,E),_}function R(Q){return E.restore(),++D<P.length?B(P[D]):k}}}function g(w,y){w.resolveAll&&!o.includes(w)&&o.push(w),w.resolve&&ze(c.events,y,c.events.length-y,w.resolve(c.events.slice(y),c)),w.resolveTo&&(c.events=w.resolveTo(c.events,c))}function b(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}const qd=/[\0\t\n\r]/g,vv=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function yv(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const r=n.charCodeAt(1),i=r===120||r===88;return Bd(n.slice(i?2:1),i?16:10)}return la(n)||e}const Kd={}.hasOwnProperty;function wv(e,t,n){return typeof t!="string"&&(n=t,t=void 0),function(r){const i={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(Tn),autolinkProtocol:B,autolinkEmail:B,atxHeading:l(Zn),blockQuote:l(Le),characterEscape:B,characterReference:B,codeFenced:l(An),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:l(An,c),codeText:l(In,c),codeTextData:B,data:B,codeFlowValue:B,definition:l(fn),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:l(Jn),hardBreakEscape:l($n),hardBreakTrailing:l($n),htmlFlow:l(Pe,c),htmlFlowData:B,htmlText:l(Pe,c),htmlTextData:B,image:l($e),label:c,link:l(Tn),listItem:l(tr),listItemValue:p,listOrdered:l(tn,h),listUnordered:l(tn),paragraph:l(Ir),reference:dt,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:l(Zn),strong:l(Tr),thematicBreak:l(Or)},exit:{atxHeading:d(),atxHeadingSequence:D,autolink:d(),autolinkEmail:Ze,autolinkProtocol:Ce,blockQuote:d(),characterEscapeValue:T,characterReferenceMarkerHexadecimal:Rt,characterReferenceMarkerNumeric:Rt,characterReferenceValue:Mt,characterReference:zt,codeFenced:d(y),codeFencedFence:w,codeFencedFenceInfo:g,codeFencedFenceMeta:b,codeFlowValue:T,codeIndented:d(v),codeText:d(F),codeTextData:T,data:T,definition:d(),definitionDestinationString:P,definitionLabelString:_,definitionTitleString:k,emphasis:d(),hardBreakEscape:d(Q),hardBreakTrailing:d(Q),htmlFlow:d(O),htmlFlowData:T,htmlText:d(N),htmlTextData:T,image:d(U),label:j,labelText:S,lineEnding:R,link:d(x),listItem:d(),listOrdered:d(),listUnordered:d(),paragraph:d(),referenceString:kt,resourceDestinationString:q,resourceTitleString:K,resource:$,setextHeading:d(I),setextHeadingLineSequence:E,setextHeadingText:C,strong:d(),thematicBreak:d()}};Gd(i,(r||{}).mdastExtensions||[]);const o={};return s;function s(L){let X={type:"root",children:[]};const it={stack:[X],tokenStack:[],config:i,enter:u,exit:A,buffer:c,resume:f,data:o},vt=[];let yt=-1;for(;++yt<L.length;)(L[yt][1].type==="listOrdered"||L[yt][1].type==="listUnordered")&&(L[yt][0]==="enter"?vt.push(yt):yt=a(L,vt.pop(),yt));for(yt=-1;++yt<L.length;){const M=i[L[yt][0]];Kd.call(M,L[yt][1].type)&&M[L[yt][1].type].call(Object.assign({sliceSerialize:L[yt][2].sliceSerialize},it),L[yt][1])}if(it.tokenStack.length>0){const M=it.tokenStack[it.tokenStack.length-1];(M[1]||Xd).call(it,void 0,M[0])}for(X.position={start:yn(L.length>0?L[0][1].start:{line:1,column:1,offset:0}),end:yn(L.length>0?L[L.length-2][1].end:{line:1,column:1,offset:0})},yt=-1;++yt<i.transforms.length;)X=i.transforms[yt](X)||X;return X}function a(L,X,it){let vt,yt,M,V,J=X-1,ft=-1,At=!1;for(;++J<=it;){const wt=L[J];switch(wt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":wt[0]==="enter"?ft++:ft--,V=void 0;break;case"lineEndingBlank":wt[0]==="enter"&&(vt&&!V&&!ft&&!M&&(M=J),V=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:V=void 0}if(!ft&&wt[0]==="enter"&&wt[1].type==="listItemPrefix"||ft===-1&&wt[0]==="exit"&&(wt[1].type==="listUnordered"||wt[1].type==="listOrdered")){if(vt){let Vt=J;for(yt=void 0;Vt--;){const Jt=L[Vt];if(Jt[1].type==="lineEnding"||Jt[1].type==="lineEndingBlank"){if(Jt[0]==="exit")continue;yt&&(L[yt][1].type="lineEndingBlank",At=!0),Jt[1].type="lineEnding",yt=Vt}else if(Jt[1].type!=="linePrefix"&&Jt[1].type!=="blockQuotePrefix"&&Jt[1].type!=="blockQuotePrefixWhitespace"&&Jt[1].type!=="blockQuoteMarker"&&Jt[1].type!=="listItemIndent")break}M&&(!yt||M<yt)&&(vt._spread=!0),vt.end=Object.assign({},yt?L[yt][1].start:wt[1].end),L.splice(yt||J,0,["exit",vt,wt[2]]),J++,it++}if(wt[1].type==="listItemPrefix"){const Vt={type:"listItem",_spread:!1,start:Object.assign({},wt[1].start),end:void 0};vt=Vt,L.splice(J,0,["enter",Vt,wt[2]]),J++,it++,M=void 0,V=!0}}}return L[X][1]._spread=At,it}function l(L,X){return it;function it(vt){u.call(this,L(vt),vt),X&&X.call(this,vt)}}function c(){this.stack.push({type:"fragment",children:[]})}function u(L,X,it){this.stack[this.stack.length-1].children.push(L),this.stack.push(L),this.tokenStack.push([X,it||void 0]),L.position={start:yn(X.start),end:void 0}}function d(L){return X;function X(it){L&&L.call(this,it),A.call(this,it)}}function A(L,X){const it=this.stack.pop(),vt=this.tokenStack.pop();if(!vt)throw new Error("Cannot close `"+L.type+"` ("+Xr({start:L.start,end:L.end})+"): it’s not open");vt[0].type!==L.type&&(X?X.call(this,L,vt[0]):(vt[1]||Xd).call(this,L,vt[0])),it.position.end=yn(L.end)}function f(){return function(L){const X=Sb;return Ed(L,typeof X.includeImageAlt!="boolean"||X.includeImageAlt,typeof X.includeHtml!="boolean"||X.includeHtml)}(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function p(L){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(L),10),this.data.expectingFirstListItemValue=void 0)}function g(){const L=this.resume();this.stack[this.stack.length-1].lang=L}function b(){const L=this.resume();this.stack[this.stack.length-1].meta=L}function w(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function y(){const L=this.resume();this.stack[this.stack.length-1].value=L.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function v(){const L=this.resume();this.stack[this.stack.length-1].value=L.replace(/(\r?\n|\r)$/g,"")}function _(L){const X=this.resume(),it=this.stack[this.stack.length-1];it.label=X,it.identifier=fr(this.sliceSerialize(L)).toLowerCase()}function k(){const L=this.resume();this.stack[this.stack.length-1].title=L}function P(){const L=this.resume();this.stack[this.stack.length-1].url=L}function D(L){const X=this.stack[this.stack.length-1];if(!X.depth){const it=this.sliceSerialize(L).length;X.depth=it}}function C(){this.data.setextHeadingSlurpLineEnding=!0}function E(L){this.stack[this.stack.length-1].depth=this.sliceSerialize(L).codePointAt(0)===61?1:2}function I(){this.data.setextHeadingSlurpLineEnding=void 0}function B(L){const X=this.stack[this.stack.length-1].children;let it=X[X.length-1];(!it||it.type!=="text")&&(it=Mr(),it.position={start:yn(L.start),end:void 0},X.push(it)),this.stack.push(it)}function T(L){const X=this.stack.pop();X.value+=this.sliceSerialize(L),X.position.end=yn(L.end)}function R(L){const X=this.stack[this.stack.length-1];if(this.data.atHardBreak)return X.children[X.children.length-1].position.end=yn(L.end),void(this.data.atHardBreak=void 0);!this.data.setextHeadingSlurpLineEnding&&i.canContainEols.includes(X.type)&&(B.call(this,L),T.call(this,L))}function Q(){this.data.atHardBreak=!0}function O(){const L=this.resume();this.stack[this.stack.length-1].value=L}function N(){const L=this.resume();this.stack[this.stack.length-1].value=L}function F(){const L=this.resume();this.stack[this.stack.length-1].value=L}function x(){const L=this.stack[this.stack.length-1];if(this.data.inReference){const X=this.data.referenceType||"shortcut";L.type+="Reference",L.referenceType=X,delete L.url,delete L.title}else delete L.identifier,delete L.label;this.data.referenceType=void 0}function U(){const L=this.stack[this.stack.length-1];if(this.data.inReference){const X=this.data.referenceType||"shortcut";L.type+="Reference",L.referenceType=X,delete L.url,delete L.title}else delete L.identifier,delete L.label;this.data.referenceType=void 0}function S(L){const X=this.sliceSerialize(L),it=this.stack[this.stack.length-2];it.label=function(vt){return vt.replace(vv,yv)}(X),it.identifier=fr(X).toLowerCase()}function j(){const L=this.stack[this.stack.length-1],X=this.resume(),it=this.stack[this.stack.length-1];if(this.data.inReference=!0,it.type==="link"){const vt=L.children;it.children=vt}else it.alt=X}function q(){const L=this.resume();this.stack[this.stack.length-1].url=L}function K(){const L=this.resume();this.stack[this.stack.length-1].title=L}function $(){this.data.inReference=void 0}function dt(){this.data.referenceType="collapsed"}function kt(L){const X=this.resume(),it=this.stack[this.stack.length-1];it.label=X,it.identifier=fr(this.sliceSerialize(L)).toLowerCase(),this.data.referenceType="full"}function Rt(L){this.data.characterReferenceType=L.type}function Mt(L){const X=this.sliceSerialize(L),it=this.data.characterReferenceType;let vt;it?(vt=Bd(X,it==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):vt=la(X),this.stack[this.stack.length-1].value+=vt}function zt(L){this.stack.pop().position.end=yn(L.end)}function Ce(L){T.call(this,L),this.stack[this.stack.length-1].url=this.sliceSerialize(L)}function Ze(L){T.call(this,L),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(L)}function Le(){return{type:"blockquote",children:[]}}function An(){return{type:"code",lang:null,meta:null,value:""}}function In(){return{type:"inlineCode",value:""}}function fn(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Jn(){return{type:"emphasis",children:[]}}function Zn(){return{type:"heading",depth:0,children:[]}}function $n(){return{type:"break"}}function Pe(){return{type:"html",value:""}}function $e(){return{type:"image",title:null,url:"",alt:null}}function Tn(){return{type:"link",title:null,url:"",children:[]}}function tn(L){return{type:"list",ordered:L.type==="listOrdered",start:null,spread:L._spread,children:[]}}function tr(L){return{type:"listItem",spread:L._spread,checked:null,children:[]}}function Ir(){return{type:"paragraph",children:[]}}function Tr(){return{type:"strong",children:[]}}function Mr(){return{type:"text",value:""}}function Or(){return{type:"thematicBreak"}}}(n)(function(r){for(;!Nd(r););return r}(function(r){const i={constructs:Eb([mv,...(r||{}).extensions||[]]),content:o(Ob),defined:[],document:o(Lb),flow:o(ov),lazy:{},string:o(av),text:o(lv)};return i;function o(s){return function(a){return bv(i,s,a)}}}(n).document().write(function(){let r,i=1,o="",s=!0;return function(a,l,c){const u=[];let d,A,f,h,p;for(a=o+(typeof a=="string"?a.toString():new TextDecoder(l||void 0).decode(a)),f=0,o="",s&&(a.charCodeAt(0)===65279&&f++,s=void 0);f<a.length;){if(qd.lastIndex=f,d=qd.exec(a),h=d&&d.index!==void 0?d.index:a.length,p=a.charCodeAt(h),!d){o=a.slice(f);break}if(p===10&&f===h&&r)u.push(-3),r=void 0;else switch(r&&(u.push(-5),r=void 0),f<h&&(u.push(a.slice(f,h)),i+=h-f),p){case 0:u.push(65533),i++;break;case 9:for(A=4*Math.ceil(i/4),u.push(-2);i++<A;)u.push(-1);break;case 10:u.push(-4),i=1;break;default:r=!0,i=1}f=h+1}return c&&(r&&u.push(-5),o&&u.push(o),u.push(null)),u}}()(e,t,!0))))}function yn(e){return{line:e.line,column:e.column,offset:e.offset}}function Gd(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Gd(e,r):xv(e,r)}}function xv(e,t){let n;for(n in t)if(Kd.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function Xd(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Xr({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Xr({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Xr({start:t.start,end:t.end})+") is still open")}function kv(e){const t=this;t.parser=function(n){return wv(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Jd(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift({type:"text",value:"["});const s=i[i.length-1];return s&&s.type==="text"?s.value+=r:i.push({type:"text",value:r}),i}function Zd(e){return e.spread??e.children.length>1}const $d=9,tA=32;function _v(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const o=[];for(;r;)o.push(eA(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(eA(t.slice(i),i>0,!1)),o.join("")}function eA(e,t,n){let r=0,i=e.length;if(t){let o=e.codePointAt(r);for(;o===$d||o===tA;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(i-1);for(;o===$d||o===tA;)i--,o=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}const Sv={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
|
24
|
+
`}]},code:function(e,t){const n=t.value?t.value+`
|
|
25
|
+
`:"",r={};t.lang&&(r.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=hr(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);let s,a=e.footnoteCounts.get(r);a===void 0?(a=0,e.footnoteOrder.push(r),s=e.footnoteOrder.length):s=o+1,a+=1,e.footnoteCounts.set(r,a);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Jd(e,t);const i={src:hr(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){const n={src:hr(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Jd(e,t);const i={href:hr(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){const n={href:hr(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),i=n?function(u){let d=!1;if(u.type==="list"){d=u.spread||!1;const A=u.children;let f=-1;for(;!d&&++f<A.length;)d=Zd(A[f])}return d}(n):Zd(t),o={},s=[];if(typeof t.checked=="boolean"){const u=r[0];let d;u&&u.type==="element"&&u.tagName==="p"?d=u:(d={type:"element",tagName:"p",properties:{},children:[]},r.unshift(d)),d.children.length>0&&d.children.unshift({type:"text",value:" "}),d.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const u=r[a];(i||a!==0||u.type!=="element"||u.tagName!=="p")&&s.push({type:"text",value:`
|
|
26
|
+
`}),u.type!=="element"||u.tagName!=="p"||i?s.push(u):s.push(...u.children)}const l=r[r.length-1];l&&(i||l.type!=="element"||l.tagName!=="p")&&s.push({type:"text",value:`
|
|
27
|
+
`});const c={type:"element",tagName:"li",properties:o,children:s};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const s=r[i];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)},paragraph:function(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const s={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],s),i.push(s)}if(n.length>0){const s={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=na(t.children[1]),l=bd(t.children[t.children.length-1]);a&&l&&(s.position={start:a,end:l}),i.push(s)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,s=o?o.length:t.children.length;let a=-1;const l=[];for(;++a<s;){const u=t.children[a],d={},A=o?o[a]:void 0;A&&(d.align=A);let f={type:"element",tagName:i,properties:d,children:[]};u&&(f.children=e.all(u),e.patch(u,f),f=e.applyData(u,f)),l.push(f)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){const n={type:"text",value:_v(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:to,yaml:to,definition:to,footnoteDefinition:to};function to(){}const nA=typeof self=="object"?self:globalThis,rA=e=>((t,n)=>{const r=(o,s)=>(t.set(s,o),o),i=o=>{if(t.has(o))return t.get(o);const[s,a]=n[o];switch(s){case 0:case-1:return r(a,o);case 1:{const l=r([],o);for(const c of a)l.push(i(c));return l}case 2:{const l=r({},o);for(const[c,u]of a)l[i(c)]=i(u);return l}case 3:return r(new Date(a),o);case 4:{const{source:l,flags:c}=a;return r(new RegExp(l,c),o)}case 5:{const l=r(new Map,o);for(const[c,u]of a)l.set(i(c),i(u));return l}case 6:{const l=r(new Set,o);for(const c of a)l.add(i(c));return l}case 7:{const{name:l,message:c}=a;return r(new nA[l](c),o)}case 8:return r(BigInt(a),o);case"BigInt":return r(Object(BigInt(a)),o);case"ArrayBuffer":return r(new Uint8Array(a).buffer,a);case"DataView":{const{buffer:l}=new Uint8Array(a);return r(new DataView(l),a)}}return r(new nA[s](a),o)};return i})(new Map,e)(0),pr="",{toString:Ev}={},{keys:Cv}=Object,ti=e=>{const t=typeof e;if(t!=="object"||!e)return[0,t];const n=Ev.call(e).slice(8,-1);switch(n){case"Array":return[1,pr];case"Object":return[2,pr];case"Date":return[3,pr];case"RegExp":return[4,pr];case"Map":return[5,pr];case"Set":return[6,pr];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},eo=([e,t])=>e===0&&(t==="function"||t==="symbol"),iA=(e,{json:t,lossy:n}={})=>{const r=[];return((i,o,s,a)=>{const l=(u,d)=>{const A=a.push(u)-1;return s.set(d,A),A},c=u=>{if(s.has(u))return s.get(u);let[d,A]=ti(u);switch(d){case 0:{let h=u;switch(A){case"bigint":d=8,h=u.toString();break;case"function":case"symbol":if(i)throw new TypeError("unable to serialize "+A);h=null;break;case"undefined":return l([-1],u)}return l([d,h],u)}case 1:{if(A){let g=u;return A==="DataView"?g=new Uint8Array(u.buffer):A==="ArrayBuffer"&&(g=new Uint8Array(u)),l([A,[...g]],u)}const h=[],p=l([d,h],u);for(const g of u)h.push(c(g));return p}case 2:{if(A)switch(A){case"BigInt":return l([A,u.toString()],u);case"Boolean":case"Number":case"String":return l([A,u.valueOf()],u)}if(o&&"toJSON"in u)return c(u.toJSON());const h=[],p=l([d,h],u);for(const g of Cv(u))(i||!eo(ti(u[g])))&&h.push([c(g),c(u[g])]);return p}case 3:return l([d,u.toISOString()],u);case 4:{const{source:h,flags:p}=u;return l([d,{source:h,flags:p}],u)}case 5:{const h=[],p=l([d,h],u);for(const[g,b]of u)(i||!eo(ti(g))&&!eo(ti(b)))&&h.push([c(g),c(b)]);return p}case 6:{const h=[],p=l([d,h],u);for(const g of u)(i||!eo(ti(g)))&&h.push(c(g));return p}}const{message:f}=u;return l([d,{name:A,message:f}],u)};return c})(!(t||n),!!t,new Map,r)(e),r},no=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?rA(iA(e,t)):structuredClone(e):(e,t)=>rA(iA(e,t));function Pv(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function Dv(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const oA=function(e){if(e==null)return Bv;if(typeof e=="function")return ro(e);if(typeof e=="object")return Array.isArray(e)?function(t){const n=[];let r=-1;for(;++r<t.length;)n[r]=oA(t[r]);return ro(i);function i(...o){let s=-1;for(;++s<n.length;)if(n[s].apply(this,o))return!0;return!1}}(e):function(t){const n=t;return ro(r);function r(i){const o=i;let s;for(s in t)if(o[s]!==n[s])return!1;return!0}}(e);if(typeof e=="string")return function(t){return ro(n);function n(r){return r&&r.type===t}}(e);throw new Error("Expected function, string, or object as test")};function ro(e){return function(t,n,r){return!(!function(i){return i!==null&&typeof i=="object"&&"type"in i}(t)||!e.call(this,t,typeof n=="number"?n:void 0,r||void 0))}}function Bv(){return!0}const sA=[],Iv=!0,aA=!1,Tv="skip";function Mv(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const o=oA(i),s=r?-1:1;(function a(l,c,u){const d=l&&typeof l=="object"?l:{};if(typeof d.type=="string"){const f=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0;Object.defineProperty(A,"name",{value:"node ("+l.type+(f?"<"+f+">":"")+")"})}return A;function A(){let f,h,p,g=sA;if((!t||o(l,c,u[u.length-1]||void 0))&&(g=function(b){return Array.isArray(b)?b:typeof b=="number"?[Iv,b]:b==null?sA:[b]}(n(l,u)),g[0]===aA))return g;if("children"in l&&l.children){const b=l;if(b.children&&g[0]!==Tv)for(h=(r?b.children.length:-1)+s,p=u.concat(b);h>-1&&h<b.children.length;){const w=b.children[h];if(f=a(w,h,p)(),f[0]===aA)return f;h=typeof f[1]=="number"?f[1]:h+s}}return g}})(e,void 0,[])()}function lA(e,t,n,r){let i,o,s;typeof t=="function"?(o=void 0,s=t,i=n):(o=t,s=n,i=r),Mv(e,o,function(a,l){const c=l[l.length-1],u=c?c.children.indexOf(a):void 0;return s(a,u,c)},i)}const ga={}.hasOwnProperty,Ov={};function Lv(e,t){const n=t||Ov,r=new Map,i=new Map,o=new Map,s={...Sv,...n.handlers},a={all:function(l){const c=[];if("children"in l){const u=l.children;let d=-1;for(;++d<u.length;){const A=a.one(u[d],l);if(A){if(d&&u[d-1].type==="break"&&(!Array.isArray(A)&&A.type==="text"&&(A.value=cA(A.value)),!Array.isArray(A)&&A.type==="element")){const f=A.children[0];f&&f.type==="text"&&(f.value=cA(f.value))}Array.isArray(A)?c.push(...A):c.push(A)}}}return c},applyData:Qv,definitionById:r,footnoteById:i,footnoteCounts:o,footnoteOrder:[],handlers:s,one:function(l,c){const u=l.type,d=a.handlers[u];if(ga.call(a.handlers,u)&&d)return d(a,l,c);if(a.options.passThrough&&a.options.passThrough.includes(u)){if("children"in l){const{children:A,...f}=l,h=no(f);return h.children=a.all(l),h}return no(l)}return(a.options.unknownHandler||Fv)(a,l,c)},options:n,patch:Rv,wrap:Nv};return lA(e,function(l){if(l.type==="definition"||l.type==="footnoteDefinition"){const c=l.type==="definition"?r:i,u=String(l.identifier).toUpperCase();c.has(u)||c.set(u,l)}}),a}function Rv(e,t){e.position&&(t.position=function(n){const r=na(n),i=bd(n);if(r&&i)return{start:r,end:i}}(e))}function Qv(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,o=e.data.hProperties;typeof r=="string"&&(n.type==="element"?n.tagName=r:n={type:"element",tagName:r,properties:{},children:"children"in n?n.children:[n]}),n.type==="element"&&o&&Object.assign(n.properties,no(o)),"children"in n&&n.children&&i!=null&&(n.children=i)}return n}function Fv(e,t){const n=t.data||{},r=!("value"in t)||ga.call(n,"hProperties")||ga.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}function Nv(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
|
|
28
|
+
`});++r<e.length;)r&&n.push({type:"text",value:`
|
|
29
|
+
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
|
|
30
|
+
`}),n}function cA(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function uA(e,t){const n=Lv(e,t),r=n.one(e,void 0),i=function(s){const a=typeof s.options.clobberPrefix=="string"?s.options.clobberPrefix:"user-content-",l=s.options.footnoteBackContent||Pv,c=s.options.footnoteBackLabel||Dv,u=s.options.footnoteLabel||"Footnotes",d=s.options.footnoteLabelTagName||"h2",A=s.options.footnoteLabelProperties||{className:["sr-only"]},f=[];let h=-1;for(;++h<s.footnoteOrder.length;){const p=s.footnoteById.get(s.footnoteOrder[h]);if(!p)continue;const g=s.all(p),b=String(p.identifier).toUpperCase(),w=hr(b.toLowerCase());let y=0;const v=[],_=s.footnoteCounts.get(b);for(;_!==void 0&&++y<=_;){v.length>0&&v.push({type:"text",value:" "});let D=typeof l=="string"?l:l(h,y);typeof D=="string"&&(D={type:"text",value:D}),v.push({type:"element",tagName:"a",properties:{href:"#"+a+"fnref-"+w+(y>1?"-"+y:""),dataFootnoteBackref:"",ariaLabel:typeof c=="string"?c:c(h,y),className:["data-footnote-backref"]},children:Array.isArray(D)?D:[D]})}const k=g[g.length-1];if(k&&k.type==="element"&&k.tagName==="p"){const D=k.children[k.children.length-1];D&&D.type==="text"?D.value+=" ":k.children.push({type:"text",value:" "}),k.children.push(...v)}else g.push(...v);const P={type:"element",tagName:"li",properties:{id:a+"fn-"+w},children:s.wrap(g,!0)};s.patch(p,P),f.push(P)}if(f.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:d,properties:{...no(A),id:"footnote-label"},children:[{type:"text",value:u}]},{type:"text",value:`
|
|
31
|
+
`},{type:"element",tagName:"ol",properties:{},children:s.wrap(f,!0)},{type:"text",value:`
|
|
32
|
+
`}]}}(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&o.children.push({type:"text",value:`
|
|
33
|
+
`},i),o}function zv(e,t){return e&&"run"in e?async function(n,r){const i=uA(n,{file:r,...t});await e.run(i,r)}:function(n,r){return uA(n,{file:r,...e||t})}}function dA(e){if(e)throw e}var ma,AA,Hv=function(){if(AA)return ma;AA=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(l){return typeof Array.isArray=="function"?Array.isArray(l):t.call(l)==="[object Array]"},o=function(l){if(!l||t.call(l)!=="[object Object]")return!1;var c,u=e.call(l,"constructor"),d=l.constructor&&l.constructor.prototype&&e.call(l.constructor.prototype,"isPrototypeOf");if(l.constructor&&!u&&!d)return!1;for(c in l);return typeof c>"u"||e.call(l,c)},s=function(l,c){n&&c.name==="__proto__"?n(l,c.name,{enumerable:!0,configurable:!0,value:c.newValue,writable:!0}):l[c.name]=c.newValue},a=function(l,c){if(c==="__proto__"){if(!e.call(l,c))return;if(r)return r(l,c).value}return l[c]};return ma=function l(){var c,u,d,A,f,h,p=arguments[0],g=1,b=arguments.length,w=!1;for(typeof p=="boolean"&&(w=p,p=arguments[1]||{},g=2),(p==null||typeof p!="object"&&typeof p!="function")&&(p={});g<b;++g)if((c=arguments[g])!=null)for(u in c)d=a(p,u),p!==(A=a(c,u))&&(w&&A&&(o(A)||(f=i(A)))?(f?(f=!1,h=d&&i(d)?d:[]):h=d&&o(d)?d:{},s(p,{name:u,newValue:l(w,h,A)})):typeof A<"u"&&s(p,{name:u,newValue:A}));return p},ma}();const ba=hd(Hv);function va(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return!(t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.toStringTag in e||Symbol.iterator in e)}function Uv(){const e=[],t={run:function(...n){let r=-1;const i=n.pop();if(typeof i!="function")throw new TypeError("Expected function as last argument, not "+i);(function o(s,...a){const l=e[++r];let c=-1;if(s)i(s);else{for(;++c<n.length;)(a[c]===null||a[c]===void 0)&&(a[c]=n[c]);n=a,l?function(u,d){let A;return f;function f(...g){const b=u.length>g.length;let w;b&&g.push(h);try{w=u.apply(this,g)}catch(y){if(b&&A)throw y;return h(y)}b||(w&&w.then&&typeof w.then=="function"?w.then(p,h):w instanceof Error?h(w):p(w))}function h(g,...b){A||(A=!0,d(g,...b))}function p(g){h(null,g)}}(l,o)(...a):i(null,...a)}})(null,...n)},use:function(n){if(typeof n!="function")throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}const Ue={basename:function(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');ei(e);let n,r=0,i=-1,o=e.length;if(t===void 0||t.length===0||t.length>e.length){for(;o--;)if(e.codePointAt(o)===47){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let s=-1,a=t.length-1;for(;o--;)if(e.codePointAt(o)===47){if(n){r=o+1;break}}else s<0&&(n=!0,s=o+1),a>-1&&(e.codePointAt(o)===t.codePointAt(a--)?a<0&&(i=o):(a=-1,i=s));return r===i?i=s:i<0&&(i=e.length),e.slice(r,i)},dirname:function(e){if(ei(e),e.length===0)return".";let t,n=-1,r=e.length;for(;--r;)if(e.codePointAt(r)===47){if(t){n=r;break}}else t||(t=!0);return n<0?e.codePointAt(0)===47?"/":".":n===1&&e.codePointAt(0)===47?"//":e.slice(0,n)},extname:function(e){ei(e);let t,n=e.length,r=-1,i=0,o=-1,s=0;for(;n--;){const a=e.codePointAt(n);if(a!==47)r<0&&(t=!0,r=n+1),a===46?o<0?o=n:s!==1&&(s=1):o>-1&&(s=-1);else if(t){i=n+1;break}}return o<0||r<0||s===0||s===1&&o===r-1&&o===i+1?"":e.slice(o,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)ei(e[n]),e[n]&&(t=t===void 0?e[n]:t+"/"+e[n]);return t===void 0?".":function(r){ei(r);const i=r.codePointAt(0)===47;let o=function(s,a){let l,c,u="",d=0,A=-1,f=0,h=-1;for(;++h<=s.length;){if(h<s.length)l=s.codePointAt(h);else{if(l===47)break;l=47}if(l===47){if(A!==h-1&&f!==1)if(A!==h-1&&f===2){if(u.length<2||d!==2||u.codePointAt(u.length-1)!==46||u.codePointAt(u.length-2)!==46){if(u.length>2){if(c=u.lastIndexOf("/"),c!==u.length-1){c<0?(u="",d=0):(u=u.slice(0,c),d=u.length-1-u.lastIndexOf("/")),A=h,f=0;continue}}else if(u.length>0){u="",d=0,A=h,f=0;continue}}a&&(u=u.length>0?u+"/..":"..",d=2)}else u.length>0?u+="/"+s.slice(A+1,h):u=s.slice(A+1,h),d=h-A-1;A=h,f=0}else l===46&&f>-1?f++:f=-1}return u}(r,!i);return o.length===0&&!i&&(o="."),o.length>0&&r.codePointAt(r.length-1)===47&&(o+="/"),i?"/"+o:o}(t)},sep:"/"};function ei(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const jv={cwd:function(){return"/"}};function ya(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Vv(e){if(typeof e=="string")e=new URL(e);else if(!ya(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return function(t){if(t.hostname!==""){const i=new TypeError('File URL host must be "localhost" or empty on darwin');throw i.code="ERR_INVALID_FILE_URL_HOST",i}const n=t.pathname;let r=-1;for(;++r<n.length;)if(n.codePointAt(r)===37&&n.codePointAt(r+1)===50){const i=n.codePointAt(r+2);if(i===70||i===102){const o=new TypeError("File URL path must not include encoded / characters");throw o.code="ERR_INVALID_FILE_URL_PATH",o}}return decodeURIComponent(n)}(e)}const wa=["history","path","basename","stem","extname","dirname"];class fA{constructor(t){let n;var r;n=t?ya(t)?{path:t}:typeof t=="string"||(r=t)&&typeof r=="object"&&"byteLength"in r&&"byteOffset"in r?{value:t}:t:{},this.cwd="cwd"in n?"":jv.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let i,o=-1;for(;++o<wa.length;){const s=wa[o];s in n&&n[s]!==void 0&&n[s]!==null&&(this[s]=s==="history"?[...n[s]]:n[s])}for(i in n)wa.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?Ue.basename(this.path):void 0}set basename(t){ka(t,"basename"),xa(t,"basename"),this.path=Ue.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Ue.dirname(this.path):void 0}set dirname(t){hA(this.basename,"dirname"),this.path=Ue.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Ue.extname(this.path):void 0}set extname(t){if(xa(t,"extname"),hA(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Ue.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){ya(t)&&(t=Vv(t)),ka(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Ue.basename(this.path,this.extname):void 0}set stem(t){ka(t,"stem"),xa(t,"stem"),this.path=Ue.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new Kt(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function xa(e,t){if(e&&e.includes(Ue.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Ue.sep+"`")}function ka(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function hA(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const Wv=function(e){const t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},Yv={}.hasOwnProperty;class _a extends Wv{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Uv()}copy(){const t=new _a;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(ba(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Ca("data",this.frozen),this.namespace[t]=n,this):Yv.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Ca("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=io(t),r=this.parser||this.Parser;return Sa("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Sa("process",this.parser||this.Parser),Ea("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(o,s){const a=io(t),l=r.parse(a);function c(u,d){u||!d?s(u):o?o(d):n(void 0,d)}r.run(l,a,function(u,d,A){if(u||!d||!A)return c(u);const f=d,h=r.stringify(f,A);var p;typeof(p=h)=="string"||function(g){return!!(g&&typeof g=="object"&&"byteLength"in g&&"byteOffset"in g)}(p)?A.value=h:A.result=h,c(u,A)})}}processSync(t){let n,r=!1;return this.freeze(),Sa("processSync",this.parser||this.Parser),Ea("processSync",this.compiler||this.Compiler),this.process(t,function(i,o){r=!0,dA(i),n=o}),gA("processSync","process",r),n}run(t,n,r){pA(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?o(void 0,r):new Promise(o);function o(s,a){const l=io(n);i.run(t,l,function(c,u,d){const A=u||t;c?a(c):s?s(A):r(void 0,A,d)})}}runSync(t,n){let r,i=!1;return this.run(t,n,function(o,s){dA(o),r=s,i=!0}),gA("runSync","run",i),r}stringify(t,n){this.freeze();const r=io(n),i=this.compiler||this.Compiler;return Ea("stringify",i),pA(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(Ca("use",this.frozen),t!=null)if(typeof t=="function")l(t,n);else{if(typeof t!="object")throw new TypeError("Expected usable value, not `"+t+"`");Array.isArray(t)?a(t):s(t)}return this;function o(c){if(typeof c=="function")l(c,[]);else{if(typeof c!="object")throw new TypeError("Expected usable value, not `"+c+"`");if(Array.isArray(c)){const[u,...d]=c;l(u,d)}else s(c)}}function s(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(c.plugins),c.settings&&(i.settings=ba(!0,i.settings,c.settings))}function a(c){let u=-1;if(c!=null){if(!Array.isArray(c))throw new TypeError("Expected a list of plugins, not `"+c+"`");for(;++u<c.length;)o(c[u])}}function l(c,u){let d=-1,A=-1;for(;++d<r.length;)if(r[d][0]===c){A=d;break}if(A===-1)r.push([c,...u]);else if(u.length>0){let[f,...h]=u;const p=r[A][1];va(p)&&va(f)&&(f=ba(!0,p,f)),r[A]=[c,f,...h]}}}}const qv=new _a().freeze();function Sa(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Ea(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Ca(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function pA(e){if(!va(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function gA(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function io(e){return function(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}(e)?e:new fA(e)}const mA=[],bA={allowDangerousHtml:!0},Kv=/^(https?|ircs?|mailto|xmpp)$/i,Gv=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Xv(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",i=e.className,o=e.components,s=e.disallowedElements,a=e.rehypePlugins||mA,l=e.remarkPlugins||mA,c=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...bA}:bA,u=e.skipHtml,d=e.unwrapDisallowed,A=e.urlTransform||Jv,f=qv().use(kv).use(l).use(zv,c).use(a),h=new fA;typeof r=="string"&&(h.value=r);for(const b of Gv)Object.hasOwn(e,b.from)&&(b.from,b.to&&b.to,b.id);const p=f.parse(h);let g=f.runSync(p,h);return i&&(g={type:"element",tagName:"div",properties:{className:i},children:g.type==="root"?g.children:[g]}),lA(g,function(b,w,y){if(b.type==="raw"&&y&&typeof w=="number")return u?y.children.splice(w,1):y.children[w]={type:"text",value:b.value},w;if(b.type==="element"){let v;for(v in aa)if(Object.hasOwn(aa,v)&&Object.hasOwn(b.properties,v)){const _=b.properties[v],k=aa[v];(k===null||k.includes(b.tagName))&&(b.properties[v]=A(String(_||""),v,b))}}if(b.type==="element"){let v=t?!t.includes(b.tagName):!!s&&s.includes(b.tagName);if(!v&&n&&typeof w=="number"&&(v=!n(b,w,y)),v&&y&&typeof w=="number")return d&&b.children?y.children.splice(w,1,...b.children):y.children.splice(w,1),w}}),yb(g,{Fragment:tt,components:o,ignoreInvalidStyle:!0,jsx:m,jsxs:m,passKeys:!0,passNode:!0})}function Jv(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||Kv.test(e.slice(0,t))?e:""}const Zv=({children:e})=>m("div",{style:{whiteSpace:"normal"},children:m(Xv,{components:{p:({...t})=>m("p",{style:{margin:0,marginBottom:"0.5em",lineHeight:1.4,textAlign:"left"},children:t.children}),ul:({...t})=>m("ul",{style:{paddingLeft:"clamp(8px, 3.5vw, 16px)",margin:0,listStylePosition:"inside"},children:t.children}),ol:({...t})=>m("ol",{style:{paddingLeft:"clamp(8px, 3.5vw, 16px)",margin:0,listStylePosition:"inside"},children:t.children}),li:({...t})=>m("li",{style:{marginBottom:"1px",lineHeight:1.4},children:t.children}),code:({inline:t,children:n})=>t?m("code",{style:{backgroundColor:"rgba(0, 0, 0, 0.3)",padding:"2px 4px",borderRadius:"4px",fontFamily:"inherit",fontSize:"0.95em"},children:n}):m("pre",{style:{backgroundColor:"rgba(0, 0, 0, 0.3)",padding:"8px",borderRadius:"4px",overflowX:"auto",margin:"0.5em 0",whiteSpace:"pre-wrap"},children:m("code",{children:n})}),blockquote:({...t})=>m("blockquote",{style:{margin:0,paddingLeft:"10px",borderLeft:"2px solid #ccc",color:"#666",fontStyle:"italic"},children:t.children})},children:typeof e=="string"?e:""})}),$v={autoConfig:!0},ty=e=>()=>(t=>{const{getFlow:n}=Gi(),{messages:r,replaceMessages:i}=Xi(),{settings:o}=Ku(),{hasChatHistoryLoaded:s}=Gu(),a={...t,...$v},l=a.markdownComponent?a.markdownComponent:Zv;ot(()=>{var d,A;if(s){const f=[...r];for(let h=0;h<f.length&&h<(((d=o.chatHistory)==null?void 0:d.maxEntries)??30);h++){const p=f[h];(A=p.tags)!=null&&A.includes("rcb-markdown-renderer-plugin:parsed")&&(p.contentWrapper=l)}i(f)}},[s]);const c=async d=>{var A;const f=(A=d.data.message)==null?void 0:A.sender.toUpperCase();((h,p,g)=>{var b;if(typeof h.data.message.content!="string"||!h.detail.currPath)return!1;const w=p[h.detail.currPath];return!!w&&(((b=w.renderMarkdown)==null?void 0:b.map(y=>y.toUpperCase()).includes(g))??!1)})(d,n(),f)&&(d.data.message.contentWrapper=l,d.data.message.tags||(d.data.message.tags=[]),d.data.message.tags.push("rcb-markdown-renderer-plugin:parsed"))};me(W.PRE_INJECT_MESSAGE,c),me(W.CHUNK_STREAM_MESSAGE,c),me(W.START_STREAM_MESSAGE,c),me(W.START_SIMULATE_STREAM_MESSAGE,c);const u={name:"@rcb-plugins/markdown-renderer"};return a!=null&&a.autoConfig&&(u.settings={event:{rcbPreInjectMessage:!0,rcbChunkStreamMessage:!0,rcbStartSimulateStreamMessage:!0,rcbStartStreamMessage:!0}}),u})(e),oo={autoConfig:!0,promptBaseColors:{info:"#007bff",warning:"#ffc107",error:"#dc3545",success:"#28a745"},promptHoveredColors:{info:"#0056b3",warning:"#d39e00",error:"#c82333",success:"#218838"},textAreaHighlightColors:{info:"#007bff",warning:"#ffc107",error:"#dc3545",success:"#28a745"}},vA=(e,t,n="validateTextInput")=>{var r;if((r=e.detail)==null||!r.currPath)return;const i=t[e.detail.currPath];if(!i)return;const o=i[n];return typeof o=="function"?o:void 0},ey=e=>{const{showToast:t}=(()=>{const{showToast:d,dismissToast:A,toasts:f,replaceToasts:h}=lr();return{showToast:d,dismissToast:A,toasts:f,replaceToasts:h}})(),{getFlow:n}=Gi(),{styles:r,updateStyles:i,replaceStyles:o}=(()=>{const{styles:d,replaceStyles:A,updateStyles:f}=Vu();return{styles:d,replaceStyles:A,updateStyles:f}})(),s=(d=>({...oo,...d,promptBaseColors:{...oo.promptBaseColors},promptHoveredColors:{...oo.promptHoveredColors},textAreaHighlightColors:{...oo.textAreaHighlightColors}}))(e),[a,l]=G(0),c=nt({});me(W.USER_SUBMIT_TEXT,d=>{const A=d,f=vA(A,n(),"validateTextInput");if(!f)return;const h=f(A.data.inputText);if(h!=null&&h.success||d.preventDefault(),!h.promptContent)return;a===0&&(c.current=structuredClone(r));const p=((g,b)=>{const w=g.promptType??"info";let y={};return b.advancedStyles&&(y=b.advancedStyles[w]),b.promptBaseColors&&(y.toastPromptStyle={color:b.promptBaseColors[w],borderColor:b.promptBaseColors[w]}),b.promptHoveredColors&&(y.toastPromptHoveredStyle={color:b.promptHoveredColors[w],borderColor:b.promptHoveredColors[w]}),b.textAreaHighlightColors&&(g.highlightTextArea??!0)&&(y.chatInputAreaStyle={boxShadow:`${b.textAreaHighlightColors[w]} 0px 0px 5px`}),y})(h,s);i(p),t(h.promptContent,h.promptDuration??3e3),l(g=>g+1)}),me(W.USER_UPLOAD_FILE,d=>{var A,f;const h=d,p=(f=(A=h.data)==null?void 0:A.files)==null?void 0:f[0];if(!p)return console.error("No file uploaded."),void d.preventDefault();const g=vA(h,n(),"validateFileInput");if(!g)return void console.error("Validator not found for file input.");const b=g(p);if(!b.success)return console.error("Validation failed:",b),b.promptContent&&t(b.promptContent,b.promptDuration??3e3),void d.preventDefault();console.log("Validation successful:",b)}),me(W.DISMISS_TOAST,()=>{l(d=>d-1)}),ot(()=>{a===0&&setTimeout(()=>{o(c.current)})},[a,o]);const u={name:"@rcb-plugins/input-validator"};return s.autoConfig&&(u.settings={event:{rcbUserSubmitText:!0,rcbUserUploadFile:!0,rcbDismissToast:!0}}),u},qt=[];for(let e=0;e<256;++e)qt.push((e+256).toString(16).slice(1));let Pa;const ny=new Uint8Array(16);var yA={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function ry(e,t,n){var i;if(yA.randomUUID&&!e)return yA.randomUUID();const r=(e=e||{}).random??((i=e.rng)==null?void 0:i.call(e))??function(){if(!Pa){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Pa=crypto.getRandomValues.bind(crypto)}return Pa(ny)}();if(r.length<16)throw new Error("Random bytes length must be >= 16");return r[6]=15&r[6]|64,r[8]=63&r[8]|128,function(o,s=0){return(qt[o[s+0]]+qt[o[s+1]]+qt[o[s+2]]+qt[o[s+3]]+"-"+qt[o[s+4]]+qt[o[s+5]]+"-"+qt[o[s+6]]+qt[o[s+7]]+"-"+qt[o[s+8]]+qt[o[s+9]]+"-"+qt[o[s+10]]+qt[o[s+11]]+qt[o[s+12]]+qt[o[s+13]]+qt[o[s+14]]+qt[o[s+15]]).toLowerCase()}(r)}const Wt={LOGIN_URL:"/login",WELCOME_MESSAGE:"Hello! What can I help you with?",WELCOME_MESSAGE_LOGGED_OUT:"To ask questions, please log in.",WELCOME_MESSAGE_LOGIN_TRANSITION:"Welcome! You are now logged in. What can I help you with?",WELCOME_MESSAGE_LOGOUT_TRANSITION:"You have been logged out.",API_ENDPOINT:"https://access-ai.ccs.uky.edu:543/api/query",netlifyBaseUrl:process.env.REACT_APP_NETLIFY_BASE_URL,ERRORS:{API_UNAVAILABLE:"Unable to contact the Q&A Bot. Please try again later."},BEHAVIOR:{SHOW_RATING_AFTER_FAILED_QUERY:!0},THEME:{PRIMARY_COLOR:"#1a5b6e",SECONDARY_COLOR:"#107180",FONT_FAMILY:"Arial, sans-serif"},CHATBOT:{TITLE:"ACCESS Q&A",AVATAR_URL:"https://support.access-ci.org/themes/contrib/asp-theme/images/icons/ACCESS-arrrow.svg",TOOLTIP_TEXT:"Ask me about ACCESS! 😊"}},wA=(e,t)=>t||Wt.WELCOME_MESSAGE,iy=H.forwardRef(({embedded:e,isBotLoggedIn:t,currentOpen:n},r)=>{const i=Xi(),o=(()=>{const{isChatWindowOpen:l,toggleChatWindow:c,toggleIsBotTyping:u,scrollToBottom:d,getIsChatBotVisible:A}=le();return{isChatWindowOpen:l,toggleChatWindow:c,toggleIsBotTyping:u,scrollToBottom:d,getIsChatBotVisible:A}})(),s=nt(n),a=nt(!1);return(l=>{const c=nt(l),{injectMessage:u}=Xi();ot(()=>{const d=c.current!==l,A=!c.current&&l;d&&u(A?Wt.WELCOME_MESSAGE_LOGIN_TRANSITION:Wt.WELCOME_MESSAGE_LOGOUT_TRANSITION,"bot"),c.current=l},[l,u])})(t),ot(()=>{!e&&o&&o.toggleChatWindow&&(s.current===n||a.current||o&&o.toggleChatWindow&&(o.toggleChatWindow(n),s.current=n),a.current=!1)},[n,e,o]),ot(()=>{const l=()=>{a.current=!0};r&&(r.current||(r.current={}),r.current._markAsUserInteraction=l)}),ms(r,()=>({addMessage:l=>{i&&i.injectMessage&&i.injectMessage(l)}}),[i]),null}),xA=({width:e=24,height:t=24,color:n="currentColor",children:r,...i})=>H.createElement("svg",Hi({xmlns:"http://www.w3.org/2000/svg",width:e,height:t,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",focusable:"false"},i),r),oy=e=>H.createElement(xA,e,H.createElement("path",{d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})),sy=()=>{const{restartFlow:e}=Gi();return H.createElement("button",{onClick:()=>{e()},tabIndex:0,"aria-label":"New chat conversation",style:{backgroundColor:"#107180",border:"none",color:"#ffffff",fontSize:"14px",cursor:"pointer",padding:"8px 12px",borderRadius:"4px",transition:"all 0.2s ease",display:"flex",alignItems:"center",gap:"6px",fontWeight:"500"},onMouseEnter:t=>{t.target.style.backgroundColor="#0d5f6b"},onMouseLeave:t=>{t.target.style.backgroundColor="#107180"}},H.createElement(oy,{width:16,height:16}),"New Chat")},ay=()=>H.createElement("div",{className:"user-login-icon",style:{alignItems:"center",justifyContent:"center",width:"30px",height:"30px",borderRadius:"50%",backgroundColor:"#1a5b6e",marginRight:"5px"},role:"img","aria-label":"User logged in",title:"User logged in"},H.createElement("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",focusable:"false"},H.createElement("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),H.createElement("circle",{cx:"12",cy:"7",r:"4"}))),kA=({loginUrl:e,className:t="",style:n,isHeaderButton:r=!1})=>{const i=r?{display:"inline-block",padding:"6px 12px",backgroundColor:"transparent",border:"1px solid #ccc",color:"white",textDecoration:"none",borderRadius:"4px",fontWeight:"normal",textAlign:"center",margin:"8px",fontSize:"12px",opacity:"0.8",transition:"all 0.2s ease"}:{display:"inline-block",padding:"10px 20px",backgroundColor:"white",border:"1px solid #107180",color:"#107180",textDecoration:"none",borderRadius:"4px",fontWeight:"bold",textAlign:"center",margin:"18px",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.2)"};return H.createElement(H.Fragment,null,r&&H.createElement("style",null,`
|
|
34
|
+
.rcb-chat-header-container .qa-bot-header-login-button:hover {
|
|
35
|
+
background-color: #0000001a !important;
|
|
36
|
+
opacity: 1 !important;
|
|
37
|
+
}
|
|
38
|
+
`),H.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:`qa-bot-login-button ${r?"qa-bot-header-login-button":""} ${t}`,style:{...i,...n}},"Log In"))},ly=(e,t,n)=>{const r=()=>{try{const i=localStorage.getItem("rcb-history");if(!i)return null;const o=JSON.parse(i);if(!Array.isArray(o))return null;let s=null,a=null;for(const l of o)if(l.sender==="USER"){const c=new Date(l.timestamp).getTime();(!a||c>a)&&(a=c,s=l)}return s?s.id:null}catch(i){return console.warn("Error parsing chat history:",i),null}};return Z(async i=>{const{userInput:o}=i,s=r();s&&n(s);const a={"Content-Type":"application/json","X-Origin":"access","X-API-KEY":e,"X-Session-ID":t,"X-Query-ID":s};try{const l={method:"POST",headers:a,body:JSON.stringify({query:o})},c=await fetch(Wt.API_ENDPOINT,l),u=(await c.json()).response;return await i.streamMessage(u),!0}catch{return await i.injectMessage(Wt.ERRORS.API_UNAVAILABLE),!1}},[e,n,r,t])},cy=()=>(ot(()=>{const e=s=>{if(!["ArrowDown","ArrowUp","ArrowLeft","ArrowRight","Enter"," ","Home","End"].includes(s.key))return;const a=document.activeElement;if(a&&(a.tagName==="INPUT"||a.tagName==="TEXTAREA"||a.contentEditable==="true"||a.classList.contains("rcb-chat-input-textarea")))return;const l=document.querySelector(".rcb-chat-window");if(!l)return;const c=Array.from(l.querySelectorAll(".rcb-message-container, .rcb-bot-message-container, .rcb-user-message-container")).filter(A=>A.offsetParent!==null);if(c.length>0){const A=c[c.length-1].querySelector(".rcb-checkbox-container");if(A&&A.offsetParent!==null){const f=Array.from(A.querySelectorAll(".rcb-checkbox-row-container")),h=A.querySelector(".rcb-checkbox-next-button");if(f.length>0){const p=[...f];return h&&p.push(h),void((g,b)=>{g.preventDefault();let w=-1;for(let v=0;v<b.length;v++)if(b[v]===document.activeElement||b[v].contains(document.activeElement)){w=v;break}w===-1&&(w=0);let y=w;switch(g.key){case"ArrowDown":case"ArrowRight":y=w<b.length-1?w+1:0;break;case"ArrowUp":case"ArrowLeft":y=w>0?w-1:b.length-1;break;case"Home":y=0;break;case"End":y=b.length-1;break;case"Enter":case" ":const v=b[w],_=new MouseEvent("mousedown",{bubbles:!0,cancelable:!0,view:window});return void v.dispatchEvent(_);default:return}b[y].focus(),b[y].setAttribute("tabindex","0"),b[y].classList.add("keyboard-focused"),b.forEach((v,_)=>{_!==y&&(v.setAttribute("tabindex","-1"),v.classList.remove("keyboard-focused"))})})(s,p)}}}let u=[];if(c.length>0){const A=c[c.length-1],f=Array.from(A.querySelectorAll(".rcb-options-container")).filter(h=>h.offsetParent!==null);if(f.length>0){const h=f[f.length-1];u=Array.from(h.querySelectorAll(".rcb-options"))}}if(u.length===0)return;const d=u.findIndex(A=>A===document.activeElement);switch(s.key){case"ArrowDown":case"ArrowRight":let A;s.preventDefault(),A=d<u.length-1?d+1:0,u[A].setAttribute("tabindex","0"),u.forEach((h,p)=>{p!==A&&(h.setAttribute("tabindex","-1"),h.classList.remove("keyboard-focused"))}),u[A].classList.add("keyboard-focused"),u[A].focus();break;case"ArrowUp":case"ArrowLeft":let f;s.preventDefault(),f=d>0?d-1:u.length-1,u[f].setAttribute("tabindex","0"),u.forEach((h,p)=>{p!==f&&(h.setAttribute("tabindex","-1"),h.classList.remove("keyboard-focused"))}),u[f].classList.add("keyboard-focused"),u[f].focus();break;case"Enter":case" ":if(s.preventDefault(),document.activeElement&&u.includes(document.activeElement)){const h=document.activeElement;if(h.classList.contains("rcb-checkbox-row-container")||h.closest(".rcb-checkbox-row-container")){const p=new MouseEvent("mousedown",{bubbles:!0,cancelable:!0,view:window});h.dispatchEvent(p);const g=h.querySelector(".rcb-checkbox-label"),b=g?g.textContent:h.textContent||"checkbox",w=h.querySelector(".rcb-checkbox-mark"),y=w&&w.style.backgroundColor?"checked":"unchecked";t(`${b} ${y}`)}else{const p=new MouseEvent("mousedown",{bubbles:!0,cancelable:!0,view:window});h.dispatchEvent(p);const g=h.textContent||h.innerText;t(`Selected: ${g}`)}}break;case"Home":s.preventDefault(),u.length>0&&(u[0].setAttribute("tabindex","0"),u.forEach((h,p)=>{p!==0&&(h.setAttribute("tabindex","-1"),h.classList.remove("keyboard-focused"))}),u[0].classList.add("keyboard-focused"),u[0].focus());break;case"End":if(s.preventDefault(),u.length>0){const h=u.length-1;u[h].setAttribute("tabindex","0"),u.forEach((p,g)=>{g!==h&&(p.setAttribute("tabindex","-1"),p.classList.remove("keyboard-focused"))}),u[h].classList.add("keyboard-focused"),u[h].focus()}}},t=s=>{const a=document.createElement("div");a.setAttribute("aria-live","assertive"),a.setAttribute("aria-atomic","true"),a.className="sr-only",a.textContent=s,document.body.appendChild(a),setTimeout(()=>{document.body.contains(a)&&document.body.removeChild(a)},1e3)},n=()=>{let s=document.querySelector(".rcb-chat-window");if(s||(s=document.querySelector('[class*="rcb-chat"]')),s||(s=document.querySelector(".qa-bot")),!s)return;const a=Array.from(s.querySelectorAll(".rcb-message-container, .rcb-bot-message-container, .rcb-user-message-container")).filter(d=>d.offsetParent!==null);if(a.length===0)return;const l=a[a.length-1];let c=Array.from(l.querySelectorAll(".rcb-options-container")).filter(d=>d.offsetParent!==null),u=[];if(c.length>0){const d=c[c.length-1];u=Array.from(d.querySelectorAll(".rcb-options"))}if(u.length===0){let d=l.querySelector(".rcb-checkbox-container");if(!d&&s&&(d=s.querySelector(".rcb-checkbox-container")),d&&d.offsetParent!==null){const A=Array.from(d.querySelectorAll(".rcb-checkbox-row-container")).filter(f=>f.offsetParent!==null&&f.style.display!=="none");if(A.length>0){const f=d.querySelector(".rcb-checkbox-next-button"),h=[...A];if(f&&f.offsetParent!==null&&h.push(f),h.forEach((p,g)=>{p.setAttribute("tabindex",g===0?"0":"-1"),g===0?p.classList.add("keyboard-focused"):p.classList.remove("keyboard-focused")}),A.length>1){d.querySelectorAll(".keyboard-nav-hint").forEach(g=>g.remove());const p=document.createElement("div");p.className="keyboard-nav-hint",p.textContent="Use arrow keys ↕ to navigate, Enter to select/deselect, or click any option",p.style.cssText="font-size: 12px !important; color: #666 !important; margin-bottom: 8px !important; font-style: italic !important; display: block !important;",d.insertBefore(p,d.firstChild)}return void setTimeout(()=>{h[0]&&h[0].offsetParent!==null&&h[0].focus()},150)}}}if(u.length>0){if(u.forEach((d,A)=>{const f=A===0?"0":"-1";d.setAttribute("tabindex",f),d.setAttribute("role","option"),d.setAttribute("aria-posinset",A+1),d.setAttribute("aria-setsize",u.length),A===0?d.classList.add("keyboard-focused"):d.classList.remove("keyboard-focused")}),u.length>1){const d=c.length>0?c[c.length-1]:null;if(d){d.querySelectorAll(".keyboard-nav-hint").forEach(f=>f.remove());const A=document.createElement("div");A.className="keyboard-nav-hint",A.textContent="Use arrow keys ↕ to navigate, Enter to select, or click any option",A.style.cssText="font-size: 12px !important; color: #666 !important; margin-bottom: 8px !important; font-style: italic !important; display: block !important;",d.insertBefore(A,d.firstChild)}}else{const d=c.length>0?c[c.length-1]:null;d&&d.querySelectorAll(".keyboard-nav-hint").forEach(A=>A.remove())}setTimeout(()=>{u[0]&&u[0].offsetParent!==null&&(u[0].focus(),u.length>1&&t(`${u.length} options available. Use arrow keys to navigate.`))},200)}},r=new MutationObserver(s=>{s.forEach(a=>{if(a.type==="childList"){const l=Array.from(a.addedNodes),c=l.some(d=>{var A,f,h,p;return d.nodeType===Node.ELEMENT_NODE&&(((A=d.classList)==null?void 0:A.contains("rcb-options-container"))||((f=d.classList)==null?void 0:f.contains("rcb-options"))||((h=d.querySelector)==null?void 0:h.call(d,".rcb-options-container"))||((p=d.querySelector)==null?void 0:p.call(d,".rcb-options")))}),u=l.some(d=>{var A,f;return d.nodeType===Node.ELEMENT_NODE&&(((A=d.classList)==null?void 0:A.contains("rcb-checkbox-container"))||((f=d.querySelector)==null?void 0:f.call(d,".rcb-checkbox-container")))});(c||u)&&(document.querySelectorAll(".rcb-options[tabindex], .rcb-checkbox-row-container[tabindex], .rcb-checkbox-next-button[tabindex]").forEach(d=>{d.setAttribute("tabindex","-1"),d.classList.remove("keyboard-focused")}),setTimeout(n,100))}})}),i=document.querySelector(".rcb-chat-window");i&&r.observe(i,{childList:!0,subtree:!0}),document.addEventListener("keydown",e),n();const o=setInterval(()=>{const s=document.querySelectorAll(".rcb-options-container .rcb-options").length>0,a=document.querySelectorAll(".rcb-checkbox-row-container").length>0;if(s){const l=document.querySelectorAll(".rcb-options[tabindex]").length;document.querySelectorAll(".rcb-options").length>l&&n()}if(a){const l=document.querySelectorAll(".rcb-checkbox-row-container[tabindex]").length;document.querySelectorAll(".rcb-checkbox-row-container").length>l&&n()}},1e3);return()=>{document.removeEventListener("keydown",e),r.disconnect(),clearInterval(o)}},[]),null),uy=({fetchAndStreamResponse:e,sessionId:t,currentQueryId:n})=>({go_ahead_and_ask:{message:"Please type your question.",path:"qa_loop"},qa_loop:{message:async r=>{try{return await e(r),"Was this helpful?"}catch(i){return console.error("Error in bot flow:",i),(o=>(console.error("Bot error:",o),o&&o.error,Wt.ERRORS.API_UNAVAILABLE))(i)}},options:["👍 Yes","👎 No"],chatDisabled:!1,function:async r=>{if(r.userInput==="👍 Yes"||r.userInput==="👎 No"){const i=process.env.REACT_APP_API_KEY;if(i&&t){const o=r.userInput==="👍 Yes",s={"Content-Type":"application/json","X-Origin":"access","X-API-KEY":i,"X-Session-ID":t,"X-Query-ID":n,"X-Feedback":o?1:0};try{await fetch(`${Wt.API_ENDPOINT}/rating`,{method:"POST",headers:s})}catch(a){console.error("Error sending feedback:",a)}}}},path:r=>r.userInput==="👍 Yes"?"qa_positive_feedback":r.userInput==="👎 No"?"qa_negative_feedback":"qa_loop"},qa_positive_feedback:{message:"Thank you for your feedback! It helps us improve this tool.",transition:{duration:1e3},path:"go_ahead_and_ask"},qa_negative_feedback:{message:"Sorry that wasn't useful. Would you like to open a help ticket for assistance?",options:["Open a help ticket","Ask another question"],chatDisabled:!0,path:r=>r.userInput==="Open a help ticket"?"help_ticket":"qa_continue"},qa_continue:{message:"Ask another question, but remember that each question must stand alone.",path:"qa_loop"}}),dy=e=>H.createElement(xA,e,H.createElement("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),H.createElement("polyline",{points:"17 8 12 3 7 8"}),H.createElement("line",{x1:"12",y1:"3",x2:"12",y2:"15"})),_A=({onFileUpload:e})=>{const[t,n]=G(!1),[r,i]=G([]),[o,s]=G(null),a=nt(null),{captureScreenshot:l,isCapturing:c}=(()=>{const[p,g]=G(!1);return{captureScreenshot:async()=>{try{g(!0);const b=await navigator.mediaDevices.getDisplayMedia({video:{displaySurface:"browser",cursor:"always",logicalSurface:!0,width:{ideal:1920},height:{ideal:1080}},audio:!1}),w=document.createElement("video");w.srcObject=b,await new Promise(P=>{w.onloadedmetadata=()=>{w.play(),P()}});const y=document.createElement("canvas");y.width=w.videoWidth,y.height=w.videoHeight,y.getContext("2d").drawImage(w,0,0,y.width,y.height);const v=await new Promise(P=>y.toBlob(P,"image/png")),_=new Date().toISOString().replace(/[:.]/g,"-"),k=new File([v],`screenshot-${_}.png`,{type:"image/png"});return b.getTracks().forEach(P=>P.stop()),g(!1),k}catch(b){throw console.error("Error capturing screenshot:",b),g(!1),b}},isCapturing:p}})(),u=p=>{const g=document.createElement("div");g.setAttribute("aria-live","assertive"),g.setAttribute("aria-atomic","true"),g.className="sr-only",g.textContent=p,document.body.appendChild(g),setTimeout(()=>document.body.removeChild(g),1e3)},d=p=>{const g=Array.from(p),b=[...r,...g];i(b);const w=g.length,y=g.map(v=>v.name).join(", ");u(`${w} file${w>1?"s":""} selected: ${y}`),setTimeout(()=>{const v=document.querySelector(".rcb-chat-content");v&&(v.scrollTop=v.scrollHeight)},100),e&&e(b)},A=p=>{p.preventDefault(),p.stopPropagation(),p.type==="dragenter"||p.type==="dragover"?n(!0):p.type==="dragleave"&&n(!1)},f=()=>{a.current.click()},h=()=>{s(null)};return H.createElement("div",{className:"file-upload-container",style:{padding:"16px",margin:"8px 0"}},H.createElement("div",{style:{display:"flex",justifyContent:"center",marginBottom:"10px"}},H.createElement("button",{onClick:p=>{p.preventDefault(),(async()=>{try{const g=await l();d([g]),u("Screenshot captured successfully")}catch{u("Error capturing screenshot. Please try again.")}})()},disabled:c,"aria-describedby":"screenshot-help","aria-label":c?"Taking screenshot, please wait":"Take a screenshot to attach",style:{display:"flex",alignItems:"center",gap:"8px",backgroundColor:"#107180",color:"white",border:"none",borderRadius:"5px",padding:"8px 12px",cursor:c?"not-allowed":"pointer",fontSize:"14px",fontWeight:"500",boxShadow:"0 1px 3px rgba(0,0,0,0.2)"}},H.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},H.createElement("path",{d:"M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"}),H.createElement("circle",{cx:"12",cy:"13",r:"4"})),c?"Taking screenshot...":"Take screenshot..."),H.createElement("span",{id:"screenshot-help",className:"sr-only"},"Captures the current screen and adds it as an attachment")),H.createElement("div",{className:"file-upload-dropzone "+(t?"active":""),onDragEnter:A,onDragLeave:A,onDragOver:A,onDrop:p=>{p.preventDefault(),p.stopPropagation(),n(!1),p.dataTransfer.files&&p.dataTransfer.files.length>0&&d(p.dataTransfer.files)},role:"button",tabIndex:0,"aria-label":"File upload area. Click to select files or drag and drop files here.","aria-describedby":"upload-instructions",onKeyDown:p=>{p.key!=="Enter"&&p.key!==" "||(p.preventDefault(),f())},style:{padding:"20px",border:"2px dashed #ccc",borderRadius:"8px",backgroundColor:t?"#f0f8ff":"#fafafa",transition:"all 0.3s ease"}},H.createElement("input",{ref:a,type:"file",className:"file-input",onChange:p=>{p.target.files&&p.target.files.length>0&&d(p.target.files)},multiple:!0,style:{display:"none"},"aria-label":"Select files to upload",accept:"image/*,application/pdf,text/*,.doc,.docx"}),H.createElement("div",{className:"upload-content",onClick:f,style:{cursor:"pointer",flexDirection:"column",alignItems:"center",display:"flex",textAlign:"center",padding:"12px"}},H.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"8px"}},H.createElement("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",gap:"10px"}},H.createElement(dy,null),H.createElement("p",{style:{margin:0,fontWeight:"bold"}},"Upload Files")),H.createElement("p",{id:"upload-instructions",style:{margin:0,fontSize:"14px",color:"#666"}},"Drag and drop files here or click to select. Accepted: Images, PDFs, Text files (Max 10MB each)")),r.length>0&&H.createElement("div",{className:"selected-files",style:{display:"flex",flexWrap:"wrap",gap:"8px",marginTop:"12px",alignItems:"center"}},H.createElement("span",{style:{fontWeight:400,color:"#888",fontSize:"13px",marginRight:"8px",alignSelf:"center"}},"Selected files:"),r.map((p,g)=>H.createElement("span",{key:g,style:{background:"#fff",color:"#107180",borderRadius:"5px",padding:"4px 12px",fontSize:"14px",marginRight:"4px",marginBottom:"4px",border:"1px solid #ccc",display:"flex",alignItems:"center",gap:"6px",cursor:"pointer"},onClick:b=>{b.stopPropagation(),(w=>{s(w)})(p)}},H.createElement("span",{onClick:b=>{b.stopPropagation(),(w=>{const y=r.filter((v,_)=>_!==w);i(y),e&&e(y)})(g)},style:{cursor:"pointer",color:"#888",fontWeight:"bold",fontSize:"15px",marginRight:"4px",userSelect:"none",lineHeight:1},title:"Remove file","aria-label":`Remove ${p.name}`},"×"),p.name," (",(p.size/1024).toFixed(1)," KB)"))))),(()=>{if(!o)return null;const p=o.type.startsWith("image/"),g=o.type.startsWith("text/"),b=o.type==="application/pdf";return H.createElement("div",{style:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.7)",display:"flex",justifyContent:"center",alignItems:"center",zIndex:1e3},onClick:h},H.createElement("div",{style:{backgroundColor:"white",padding:"20px",borderRadius:"8px",maxWidth:"90%",maxHeight:"90%",overflow:"auto",position:"relative"},onClick:w=>w.stopPropagation()},H.createElement("button",{onClick:h,style:{position:"absolute",top:"10px",right:"10px",background:"none",border:"none",fontSize:"24px",cursor:"pointer",color:"#666"}},"×"),H.createElement("h3",{style:{marginTop:0,marginBottom:"16px"}},o.name),p&&H.createElement("img",{src:URL.createObjectURL(o),alt:o.name,style:{maxWidth:"100%",maxHeight:"70vh"}}),g&&H.createElement("pre",{style:{whiteSpace:"pre-wrap",wordWrap:"break-word",maxHeight:"70vh",overflow:"auto",padding:"16px",backgroundColor:"#f5f5f5",borderRadius:"4px"}},URL.createObjectURL(o)),b&&H.createElement("iframe",{src:URL.createObjectURL(o),style:{width:"100%",height:"70vh",border:"none"},title:o.name}),!p&&!g&&!b&&H.createElement("div",{style:{padding:"20px",textAlign:"center"}},"Preview not available for this file type")))})())},SA=async(e,t="support",n=[])=>{const i={support:17,general_help:17,feedback:17,loginAccess:30,loginProvider:31,security:26},o=i[t]||i.support,s=t==="security"?3:2,a=(c=>c)(e),l={serviceDeskId:s,requestTypeId:o,requestFieldValues:{...a}};if(n&&n.length>0){const c=await Promise.all(n.map(async u=>new Promise((d,A)=>{const f=new FileReader;f.onload=()=>{const h=f.result.split(",")[1];d({fileName:u.name,contentType:u.type,size:u.size,fileData:h})},f.onerror=()=>A(new Error(`Failed to read file ${u.name}`)),f.readAsDataURL(u)})));l.attachments=c}return l},EA=async(e,t)=>{const n=Wt.netlifyBaseUrl.replace("/.netlify/functions/","");let r;r=t==="create-support-ticket"?`${n}/api/v1/tickets`:t==="create-security-incident"?`${n}/api/v1/security-incidents`:`${Wt.netlifyBaseUrl}/${t}`;try{const i=await fetch(r,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!i.ok){const o=await i.text();return console.error("| ❌ Post data to proxy failed:",i.status,o),{success:!1,status:i.status,error:o}}return{success:!0,data:await i.json()}}catch(i){return console.error("| ❌ Post data to proxy exception:",i),{success:!1,error:i.message}}},Da=(e,t)=>H.createElement(_A,{onFileUpload:n=>e({...t||{},uploadedFiles:n})}),Ba=e=>{let t=null;return{submitTicket:async(n,r,i=[])=>{var o,s;try{const a=await SA(n,r,i),l=await EA(a,"create-support-ticket");l.success?(t={success:!0,ticketKey:l.data.data.ticketKey,ticketUrl:l.data.data.ticketUrl},e(c=>({...c,ticketKey:l.data.data.ticketKey,ticketUrl:l.data.data.ticketUrl}))):(console.error(`| ❌ ${r} ticket creation failed:`,((o=l.data)==null?void 0:o.message)||l.error),t={success:!1,error:((s=l.data)==null?void 0:s.message)||l.error},e(c=>{var u;return{...c,submissionError:((u=l.data)==null?void 0:u.message)||l.error}}))}catch(a){console.error(`| ❌ Error sending ${r} data to proxy:`,a),t={success:!1,error:a.message},e(l=>({...l,submissionError:a.message}))}},getSubmissionResult:()=>t}},Ia=(e,t="ticket")=>e&&!e.success?`We apologize, but there was an error submitting your ${t}: ${e.error}
|
|
39
|
+
|
|
40
|
+
Please try again or contact our support team directly.`:e&&e.success&&e.ticketUrl&&e.ticketKey?`Your ${t} has been submitted successfully.
|
|
41
|
+
|
|
42
|
+
Ticket: <a href="${e.ticketUrl}" target="_blank">${e.ticketKey}</a>
|
|
43
|
+
|
|
44
|
+
Our support team will review your request and respond accordingly. Thank you for contacting ACCESS.`:(e&&e.success,`Your ${t} has been submitted successfully.
|
|
45
|
+
|
|
46
|
+
Our support team will review your request and respond accordingly. Thank you for contacting ACCESS.`),Ta=e=>e&&e.length>0?`
|
|
47
|
+
Attachments: ${e.length} file(s) attached`:"";let Ma=null;const et=()=>{if(!Ma)return console.warn("Form context not available, returning empty form"),{};const e=Ma.ticketForm;return e&&typeof e=="object"?e:{}},Nt=(e={})=>{const t=et()||{},n=e&&typeof e=="object"?e:{};return{...t,email:n.email||t.email,name:n.name||t.name,accessId:n.username||t.accessId}},so=()=>e=>(e&&e.trim()!==""||setTimeout(()=>{const t=document.querySelector(".rcb-chat-input-textarea");if(t){t.value="Not provided";const n=new Event("input",{bubbles:!0});t.dispatchEvent(n),setTimeout(()=>{const r=document.querySelector('.rcb-send-button, .rcb-chat-send-button, [aria-label*="send"], button[type="submit"]');if(r){const i=new MouseEvent("mousedown",{bubbles:!0,cancelable:!0,view:window});r.dispatchEvent(i)}},200)}},100),{success:!0}),ao=e=>e&&e.trim()!==""?e:"Not provided",Oa=e=>{const t=(e==null?void 0:e.trim())||"";return t?(n=>!(!n||typeof n!="string")&&/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(n.trim()))(t)?{success:!0}:{success:!1,promptContent:"Please enter a valid email address (e.g., user@example.com).",promptDuration:3e3,promptType:"error",highlightTextArea:!0}:{success:!1,promptContent:"Please enter an email address.",promptDuration:3e3,promptType:"error",highlightTextArea:!0}},Ay=({ticketForm:e={},setTicketForm:t=()=>{},userInfo:n={}})=>{const r=(({ticketForm:s={},setTicketForm:a=()=>{},userInfo:l={}})=>{const{submitTicket:c,getSubmissionResult:u}=Ba(a);return{access_help:{message:`If you're having trouble logging into the ACCESS website, here are some common issues:
|
|
48
|
+
|
|
49
|
+
• Make sure you're using a supported browser (Chrome, Firefox, Safari)
|
|
50
|
+
• Clear your browser cookies and cache
|
|
51
|
+
• Check if you're using the correct identity provider
|
|
52
|
+
|
|
53
|
+
Would you like to submit a help ticket for ACCESS login issues?`,options:["Yes, let's create a ticket","Back to Main Menu"],chatDisabled:!0,path:d=>d.userInput==="Yes, let's create a ticket"?"access_login_description":"start"},access_login_description:{message:"Describe your login issue.",function:d=>{const A=et(),f={...A,description:d.userInput,email:l.email||A.email,name:l.name||A.name,accessId:l.username||A.accessId};a(f)},path:"access_login_identity"},access_login_identity:{message:"Which identity provider were you using?",options:["ACCESS","Github","Google","Institution","Microsoft","ORCID","Other"],chatDisabled:!0,function:d=>{const A=et();a({...A,identityProvider:d.userInput})},path:"access_login_browser"},access_login_browser:{message:"Which browser were you using?",options:["Chrome","Firefox","Edge","Safari","Other"],chatDisabled:!0,function:d=>{const A=et();a({...A,browser:d.userInput})},path:"access_login_attachment"},access_login_attachment:{message:"Would you like to attach a screenshot?",options:["Yes","No"],chatDisabled:!0,function:d=>{const A=et();a({...A,wantsAttachment:d.userInput})},path:d=>d.userInput==="Yes"?"access_login_upload":(()=>{const A=Nt(l);return A.email?A.name?A.accessId?"access_login_summary":"access_login_accessid":"access_login_name":"access_login_email"})()},access_login_upload:{message:"Please upload your screenshot.",component:Da(a,s),options:["Continue"],chatDisabled:!0,function:()=>{const d=et();a({...d,uploadConfirmed:!0})},path:d=>{const A=Nt(l);return A.email?A.name?A.accessId?"access_login_summary":"access_login_accessid":"access_login_name":"access_login_email"}},access_login_email:{message:"What is your email?",validateTextInput:d=>Oa(d),function:d=>{const A=et();a({...A,email:d.userInput})},path:d=>{const A=Nt(l);return A.name?A.accessId?"access_login_summary":"access_login_accessid":"access_login_name"}},access_login_name:{message:"What is your name?",function:d=>{const A=et();a({...A,name:d.userInput})},path:d=>Nt(l).accessId?"access_login_summary":"access_login_accessid"},access_login_accessid:{message:"What is your ACCESS ID? (Optional - press Enter to skip)",validateTextInput:so(),function:d=>{const A=et();a({...A,accessId:ao(d.userInput)})},path:"access_login_summary"},access_login_summary:{message:d=>{const A=et(),f=Nt(l),h=Ta(A.uploadedFiles);let p=f.accessId;return d.prevPath==="access_login_accessid"&&d.userInput?p=d.userInput:p||d.prevPath!=="access_login_accessid"||(p=d.userInput),`Thank you for providing your ACCESS login issue details. Here's a summary:
|
|
54
|
+
|
|
55
|
+
Name: ${f.name||"Not provided"}
|
|
56
|
+
Email: ${f.email||"Not provided"}
|
|
57
|
+
ACCESS ID: ${p||"Not provided"}
|
|
58
|
+
Identity Provider: ${A.identityProvider||"Not provided"}
|
|
59
|
+
Browser: ${A.browser||"Not provided"}
|
|
60
|
+
Issue Description: ${A.description||"Not provided"}${h}
|
|
61
|
+
|
|
62
|
+
Would you like to submit this ticket?`},options:["Submit Ticket","Back to Main Menu"],chatDisabled:!0,renderHtml:["BOT","USER"],function:async d=>{if(d.userInput==="Submit Ticket"){const A=et(),f=Nt(l),h={email:f.email||"",userName:f.name||"",accessId:f.accessId||"",description:A.description||"",identityProvider:A.identityProvider||"",browser:A.browser||""};await c(h,"loginAccess",A.uploadedFiles||[])}},path:d=>d.userInput==="Submit Ticket"?"access_login_success":"start"},access_login_success:{message:()=>Ia(u(),"ACCESS login ticket"),options:["Back to Main Menu"],chatDisabled:!0,renderHtml:["BOT"],path:"start"}}})({ticketForm:e,setTicketForm:t,userInfo:n}),i=(({ticketForm:s={},setTicketForm:a=()=>{},userInfo:l={}})=>{const{submitTicket:c,getSubmissionResult:u}=Ba(a);return{affiliated_help:{message:`If you're having trouble logging into an affiliated infrastructure or resource provider, here are some common issues:
|
|
63
|
+
|
|
64
|
+
• Ensure your allocation is active
|
|
65
|
+
• Confirm you have the correct username for that resource
|
|
66
|
+
• Check <a href="https://operations.access-ci.org/infrastructure_news_view">System Status News</a> to see if the resource is undergoing maintenance
|
|
67
|
+
|
|
68
|
+
Would you like to submit a help ticket for resource provider login issues?`,options:["Yes, let's create a ticket","Back to Main Menu"],chatDisabled:!0,renderHtml:["BOT"],path:d=>d.userInput==="Yes, let's create a ticket"?"affiliated_login_resource":"start"},affiliated_login_resource:{message:"Which ACCESS Resource are you trying to access?",options:["ACES","Anvil","Bridges-2","DARWIN","Delta","DeltaAI","Derecho","Expanse","FASTER","Granite","Jetstream2","KyRIC","Launch","Neocortex","Ookami","Open Science Grid","Open Storage Network","Ranch","Stampede3"],chatDisabled:!0,function:d=>{const A=et();a({...A,resource:d.userInput})},path:"affiliated_login_userid"},affiliated_login_userid:{message:"What is your user ID at the resource?",function:d=>{const A=et();a({...A,userIdResource:d.userInput})},path:"affiliated_login_description"},affiliated_login_description:{message:"Please describe the issue you're having logging in.",function:d=>{const A=et(),f={...A,description:d.userInput,email:l.email||A.email,name:l.name||A.name,accessId:l.username||A.accessId};a(f)},path:"affiliated_login_attachment"},affiliated_login_attachment:{message:"Would you like to attach a screenshot?",options:["Yes","No"],chatDisabled:!0,function:d=>{const A=et();a({...A,wantsAttachment:d.userInput})},path:d=>d.userInput==="Yes"?"affiliated_login_upload":(()=>{const A=Nt(l);return A.email?A.name?A.accessId?"affiliated_login_summary":"affiliated_login_accessid":"affiliated_login_name":"affiliated_login_email"})()},affiliated_login_upload:{message:"Please upload your screenshot.",component:Da(a,s),options:["Continue"],chatDisabled:!0,function:()=>{const d=et();a({...d,uploadConfirmed:!0})},path:d=>{const A=Nt(l);return A.email?A.name?A.accessId?"affiliated_login_summary":"affiliated_login_accessid":"affiliated_login_name":"affiliated_login_email"}},affiliated_login_email:{message:"What is your email?",validateTextInput:d=>Oa(d),function:d=>{const A=et();a({...A,email:d.userInput})},path:d=>{const A=Nt(l);return A.name?A.accessId?"affiliated_login_summary":"affiliated_login_accessid":"affiliated_login_name"}},affiliated_login_name:{message:"What is your name?",function:d=>{const A=et();a({...A,name:d.userInput})},path:d=>Nt(l).accessId?"affiliated_login_summary":"affiliated_login_accessid"},affiliated_login_accessid:{message:"What is your ACCESS ID? (Optional - press Enter to skip)",validateTextInput:so(),function:d=>{const A=et();a({...A,accessId:ao(d.userInput)})},path:"affiliated_login_summary"},affiliated_login_summary:{message:d=>{const A=et(),f=Nt(l),h=Ta(A.uploadedFiles);let p=f.accessId;return d.prevPath==="affiliated_login_accessid"&&d.userInput?p=d.userInput:p||d.prevPath!=="affiliated_login_accessid"||(p=d.userInput),`Thank you for providing your resource login issue details. Here's a summary:
|
|
69
|
+
|
|
70
|
+
Name: ${f.name||"Not provided"}
|
|
71
|
+
Email: ${f.email||"Not provided"}
|
|
72
|
+
ACCESS ID: ${p||"Not provided"}
|
|
73
|
+
Resource: ${A.resource||"Not provided"}
|
|
74
|
+
Resource User ID: ${A.userIdResource||"Not provided"}
|
|
75
|
+
Issue Description: ${A.description||"Not provided"}${h}
|
|
76
|
+
|
|
77
|
+
Would you like to submit this ticket?`},options:["Submit Ticket","Back to Main Menu"],chatDisabled:!0,function:async d=>{if(d.userInput==="Submit Ticket"){const A=et(),f=Nt(l),h={email:f.email||"",userName:f.name||"",accessId:f.accessId||"",accessResource:A.resource||"",description:A.description||"",userIdAtResource:A.userIdResource||""};await c(h,"loginProvider",A.uploadedFiles||[])}},path:d=>d.userInput==="Submit Ticket"?"affiliated_login_success":"start"},affiliated_login_success:{message:()=>Ia(u(),"resource login ticket"),options:["Back to Main Menu"],chatDisabled:!0,renderHtml:["BOT"],path:"start"}}})({ticketForm:e,setTicketForm:t,userInfo:n}),o=(({ticketForm:s={},setTicketForm:a=()=>{},userInfo:l={}})=>{const{submitTicket:c,getSubmissionResult:u}=Ba(a);return{general_help_summary_subject:{message:"Provide a short title for your ticket.",function:d=>{const A=et(),f={...A,summary:d.userInput,email:l.email||A.email,name:l.name||A.name,accessId:l.username||A.accessId};a(f)},path:"general_help_category"},general_help_category:{message:"What type of issue are you experiencing?",options:["User Account Question","Allocation Question","User Support Question","CSSN/CCEP Question","Training Question","Metrics Question","OnDemand Question","Pegasus Question","XDMoD Question","Some Other Question"],chatDisabled:!0,function:d=>{const A=et();a({...A,category:d.userInput})},path:"general_help_description"},general_help_description:{message:"Please describe your issue.",function:d=>{const A=et();a({...A,description:d.userInput})},path:"general_help_attachment"},general_help_attachment:{message:"Would you like to attach a file to your ticket?",options:["Yes","No"],chatDisabled:!0,function:d=>{const A=et();a({...A,wantsAttachment:d.userInput})},path:d=>d.userInput==="Yes"?"general_help_upload":"general_help_resource"},general_help_upload:{message:"Please upload your file.",component:Da(a,s),options:["Continue"],chatDisabled:!0,function:()=>{const d=et();a({...d,uploadConfirmed:!0})},path:"general_help_resource"},general_help_resource:{message:"Does your problem involve an ACCESS Resource?",options:["Yes","No"],chatDisabled:!0,function:d=>{const A=et();a({...A,involvesResource:d.userInput.toLowerCase()})},path:d=>d.userInput==="Yes"?"general_help_resource_details":"general_help_keywords"},general_help_resource_details:{message:"Please select the ACCESS Resource involved with your issue:",options:["ACES","Anvil","Bridges-2","DARWIN","Delta","DeltaAI","Derecho","Expanse","FASTER","Granite","Jetstream2","KyRIC","Launch","Neocortex","Ookami","Open Science Grid","Open Storage Network","Ranch","Stampede3"],chatDisabled:!0,function:d=>{const A=et();a({...A,resourceDetails:d.userInput})},path:"general_help_user_id_at_resource"},general_help_user_id_at_resource:{message:"What is your User ID at the selected resource(s)? (Optional - press Enter to skip)",validateTextInput:so(),function:d=>{const A=et();a({...A,userIdAtResource:ao(d.userInput)})},path:"general_help_keywords"},general_help_keywords:{message:"Please add up to 5 keywords to help route your ticket.",checkboxes:{items:[" C, C++","Abaqus","ACCESS","ACCESS-credits","ACCESS-website","Accounts","ACLS","Adding users","Affiliations","Affinity Groups","AI","Algorithms","Allocation extension","Allocation Management","Allocation proposal","Allocation Time","Allocation users","AMBER","AMIE","Anaconda","Analysis","API","Application Status","ARCGIS","Architecture","Archiving","Astrophysics","ATLAS","Authentication","AWS","AZURE","Backup","BASH","Batch Jobs","Benchmarking","Big Data","Bioinformatics","Biology","Ceph","CFD","cgroups","CHARMM","Checkpoint","cilogon","citation","Cloud","Cloud Computing","Cloud Lab","Cloud Storage","Cluster Management","Cluster Support","CMMC","Community Outreach","Compiling","Composible Systems","Computataional Chemistry","COMSOL","Conda","Condo","Containers","Core dump","Core hours","CP2K","CPU architecture","CPU bound","CUDA","Cybersecurity","CYVERSE","Data","Data Storage","Data-access-protocols","Data-analysis","Data-compliance","Data-lifecycle","Data-management","Data-management-software","Data-provenance","Data-reproducibility","Data-retention","Data-science","Data-sharing","Data-transfer","Data-wrangling","Database-update","Debugging","Debugging, Optimizatio and Profiling","Deep-learning","Dependencies","Deployment","DFT","Distributed-computing","DNS","Docker","Documentation","DOI","DTN","Easybuild","Email","Encryption","Environment-modules","Errors","Extension","FastX","Federated-authentication","File transfers","File-formats","File-limits","File-systems","File-transfer","Finite-element-analysis","Firewall","Fortran","Frameworks and IDE's","GAMESS","Gateways","GATK","Gaussian","GCC","Genomics","GIS","Git","Globus","GPFS","GPU","Gravitational-waves","Gridengine","GROMACS","Hadoop","Hardware","Image-processing","Infiniband","Interactive-mode","Interconnect","IO-Issue","ISILON","Java","Jekyll","Jetstream","Job-accounting","Job-array","Job-charging","Job-failure","Job-sizing","Job-submission","Julia","Jupyterhub","Key-management","Kubernetes","KyRIC","LAMMPS","Library-paths","License","Linear-programming","Linux","LMOD","login","LSF","Lustre","Machine-learning","Management","Materials-science","Mathematica","MATLAB","Memory","Metadata","Modules","Molecular-dynamics","Monte-carlo","MPI","NAMD","NetCDF","Networking","Neural-networks","NFS","NLP","NoMachine","Nvidia","Oceanography","OnDemnad","Open-science-grid","Open-storage-network","OpenCV","Openfoam","OpenMP","OpenMPI","OpenSHIFT","Openstack","Optimization","OS","OSG","Parallelization","Parameter-sweeps","Paraview","Particle-physics","password","PBS","Pegasus","Pending-jobs","Performance-tuning","Permissions","Physiology","PIP","PODMAN","Portals","Pre-emption","Professional and Workforce Development","Professional-development","Profile","Profiling","Programming","Programming Languages","Programming-best-practices","Project-management","Project-renewal","Provisioning","Pthreads","Publication-database","Putty","Python","Pytorch","Quantum-computing","Quantum-mechanics","Quota","R","RDP","React","Reporting","Research-facilitation","Research-grants","Resources","Rstudio-server","S3","Samba","SAS","Scaling","Schedulers","Scheduling","Science DMZ","Science Gateways","Scikit-learn","Scratch","screen","scripting","SDN","Secure Computing and Data","Secure-data-architecture","Serverless-hpc","setup","sftp","SGE","Shell Scripting","Shifter","Singularity","SLURM","SMB","Smrtanalysis","Software Installations","Software-carpentry","SPACK","SPARK","Spectrum-scale","SPSS","SQL","SSH","Stampede2","STATA","Storage","Supplement","Support","TCP","Technical-training-for-hpc","Tensorflow","Terminal-emulation-and-window-management","Tickets","Timing-issue","TMUX","Tools","Training","Transfer SUs","Trinity","Tuning","Unix-environment","Upgrading","Vectorization","Version-control","vim","VNC","VPN","Workflow","Workforce-development","X11","Xalt","XDMoD","XML","XSEDE","I don't see a relevant keyword"],min:0,max:5},chatDisabled:!0,function:d=>{const A=et();a({...A,keywords:d.userInput})},path:d=>d.userInput&&d.userInput.includes("I don't see a relevant keyword")?"general_help_additional_keywords":"general_help_priority"},general_help_additional_keywords:{message:"Please enter additional keywords, separated by commas:",function:d=>{const A=et(),f=A.keywords||[],h=d.userInput,p=Array.isArray(f)?[...f]:f.split(",").map(w=>w.trim()),g=p.filter(w=>w!=="I don't see a relevant keyword"),b=Array.isArray(g)&&g.length>0?[...g,h].join(", "):h;a({...A,keywords:b,suggestedKeyword:h})},path:"general_help_priority"},general_help_priority:{message:"Please select a priority for your issue:",options:["Lowest","Low","Medium","High","Highest"],chatDisabled:!0,function:d=>{const A=et();a({...A,priority:d.userInput.toLowerCase()})},path:d=>l.email?l.name?l.username?"general_help_ticket_summary":"general_help_accessid":"general_help_name":"general_help_email"},general_help_email:{message:"What is your email address?",validateTextInput:d=>Oa(d),function:d=>{const A=et();a({...A,email:d.userInput})},path:d=>l.name?l.username?"general_help_ticket_summary":"general_help_accessid":"general_help_name"},general_help_name:{message:"What is your name?",function:d=>{const A=et();a({...A,name:d.userInput})},path:d=>l.username?"general_help_ticket_summary":"general_help_accessid"},general_help_accessid:{message:"What is your ACCESS ID? (Optional - press Enter to skip)",required:!1,function:d=>{const A=et();a({...A,accessId:d.userInput||""})},path:"general_help_ticket_summary"},general_help_ticket_summary:{message:d=>{const A=et(),f=Nt(l),h=Ta(A.uploadedFiles);let p=f.accessId;d.prevPath==="general_help_accessid"&&d.userInput?p=d.userInput:p||d.prevPath!=="general_help_accessid"||(p=d.userInput);let g="";return A.involvesResource==="yes"&&(g=`
|
|
78
|
+
Resource: ${A.resourceDetails||"Not specified"}`,A.userIdAtResource&&(g+=`
|
|
79
|
+
User ID at Resource: ${A.userIdAtResource}`)),`Thank you for providing your issue details. Here's a summary:
|
|
80
|
+
|
|
81
|
+
Name: ${f.name||"Not provided"}
|
|
82
|
+
Email: ${f.email||"Not provided"}
|
|
83
|
+
ACCESS ID: ${p||"Not provided"}
|
|
84
|
+
Issue Summary: ${A.summary||"Not provided"}
|
|
85
|
+
Category: ${A.category||"Not provided"}
|
|
86
|
+
Priority: ${A.priority||"Not provided"}
|
|
87
|
+
Keywords: ${A.keywords||"Not provided"}
|
|
88
|
+
Issue Description: ${A.description||"Not provided"}${g}${h}
|
|
89
|
+
|
|
90
|
+
Would you like to submit this ticket?`},options:["Submit Ticket","Back to Main Menu"],chatDisabled:!0,function:async d=>{if(d.userInput==="Submit Ticket"){const A=et(),f=Nt(l),h={email:f.email||"",summary:A.summary||"General Support Ticket",description:A.description||"",priority:A.priority||"medium",accessId:f.accessId||"",userName:f.name||"",issueType:A.category||"",hasResourceProblem:A.involvesResource==="yes"?"Yes":"No",userIdAtResource:A.userIdAtResource||"",resourceName:A.resourceDetails||"",keywords:A.keywords||"",noRelevantKeyword:A.suggestedKeyword?"checked":"",suggestedKeyword:A.suggestedKeyword||""};await c(h,"support",A.uploadedFiles||[])}},path:d=>d.userInput==="Submit Ticket"?"general_help_success":"start"},general_help_success:{message:()=>Ia(u(),"support ticket"),options:["Back to Main Menu"],chatDisabled:!0,renderHtml:["BOT"],path:"start"}}})({ticketForm:e,setTicketForm:t,userInfo:n});return{help_ticket:{message:"What is your help ticket related to?",options:["Logging into ACCESS website","Logging into a resource","Another question"],chatDisabled:!0,function:s=>{t({...e||{},ticketType:s.userInput})},path:s=>s.userInput==="Logging into ACCESS website"?"access_help":s.userInput==="Logging into a resource"?"affiliated_help":s.userInput==="Another question"?"general_help_summary_subject":"help_ticket"},...r,...i,...o}},fy=({ticketForm:e={},setTicketForm:t=()=>{},userInfo:n={}})=>{let r=null,i=null;return{security_incident:{message:"You're reporting a security incident. Please provide a brief summary of the security concern.",function:o=>{const s=et()||{},a={...s,summary:o.userInput,email:n.email||s.email,name:n.name||s.name,accessId:n.username||s.accessId};t(a)},path:"security_priority"},security_priority:{message:"What is the priority level of this security incident?",options:["Critical","High","Medium","Low"],chatDisabled:!0,function:o=>{const s=et()||{};t({...s,priority:o.userInput})},path:"security_description"},security_description:{message:"Please provide a detailed description of the security incident or concern.",function:o=>{const s=et()||{};t({...s,description:o.userInput})},path:"security_attachment"},security_attachment:{message:"Do you have any files (screenshots, logs, etc.) that would help with this security incident?",options:["Yes","No"],chatDisabled:!0,function:o=>{const s=et()||{};t({...s,wantsAttachment:o.userInput})},path:o=>o.userInput==="Yes"?"security_upload":"security_contact_info"},security_upload:{message:"Please upload your files.",component:H.createElement(_A,{onFileUpload:o=>{const s=et()||{};t({...s,uploadedFiles:o})}}),options:["Continue"],chatDisabled:!0,function:()=>{const o=et()||{};t({...o,uploadConfirmed:!0})},path:"security_contact_info"},security_contact_info:{message:o=>{const s=Nt(n);return s.name&&s.email&&s.accessId?`I have your contact information:
|
|
91
|
+
|
|
92
|
+
Name: ${s.name}
|
|
93
|
+
Email: ${s.email}
|
|
94
|
+
ACCESS ID: ${s.accessId}
|
|
95
|
+
|
|
96
|
+
Is this correct?`:"I need your contact information. What is your name?"},options:o=>{if(!o)return[];const s=Nt(n);return s.name&&s.email&&s.accessId?["Yes, that's correct","Let me update it"]:[]},chatDisabled:o=>{if(!o)return!1;const s=Nt(n);return s.name&&s.email&&s.accessId},function:o=>{if(!o)return;const s=et()||{};if(!s.name){const a={...s,name:o.userInput};t(a)}},path:o=>{if(!o)return"security_summary";const s=Nt(n);return o.userInput==="Yes, that's correct"?"security_summary":o.userInput==="Let me update it"?"security_name":s.name&&s.email?s.accessId?"security_summary":"security_accessid":"security_email"}},security_name:{message:"What is your name?",function:o=>{const s=et()||{};t({...s,name:o.userInput})},path:"security_email"},security_email:{message:"What is your email address?",function:o=>{const s=et()||{};t({...s,email:o.userInput})},path:"security_accessid"},security_accessid:{message:"What is your ACCESS ID? (Optional - press Enter to skip)",validateTextInput:so(),function:o=>{const s=ao(o.userInput);r=s;const a=et()||{};t({...a,accessId:s})},path:"security_summary"},security_summary:{message:o=>{const s=et()||{},a=Nt(n),l={...s,name:a.name||s.name,email:a.email||s.email,accessId:r||a.accessId||s.accessId};let c="";s.uploadedFiles&&s.uploadedFiles.length>0&&(c=`
|
|
97
|
+
Attachments: ${s.uploadedFiles.length} file(s) attached`);const u=l.accessId||"Not provided";return`Here's a summary of your security incident report:
|
|
98
|
+
|
|
99
|
+
Summary: ${l.summary||"Not provided"}
|
|
100
|
+
Priority: ${l.priority||"Not provided"}
|
|
101
|
+
Name: ${l.name||"Not provided"}
|
|
102
|
+
Email: ${l.email||"Not provided"}
|
|
103
|
+
ACCESS ID: ${u}
|
|
104
|
+
Description: ${l.description||"Not provided"}${c}
|
|
105
|
+
|
|
106
|
+
Would you like to submit this security incident report?`},options:["Submit Security Report","Back to Main Menu"],chatDisabled:!0,function:async o=>{var s,a,l,c;if(o.userInput==="Submit Security Report"){const u=et()||{},d=Nt(n),A={...u,name:d.name||u.name,email:d.email||u.email,accessId:r||d.accessId||u.accessId},f={summary:A.summary||"",priority:A.priority||"",description:A.description||"",name:A.name||"",email:A.email||"",accessId:A.accessId||""};try{const h=await(async(p,g=[])=>{try{const b=await SA(p,"security",g);return await EA(b,"create-security-incident")}catch(b){return console.error("| ❌ Security incident submission failed:",b),{success:!1,error:b.message}}})(f,u.uploadedFiles||[]);h.success?(i={success:!0,ticketKey:(a=(s=h.data)==null?void 0:s.data)==null?void 0:a.ticketKey,ticketUrl:(c=(l=h.data)==null?void 0:l.data)==null?void 0:c.ticketUrl},t(p=>{var g,b,w,y;return{...p,ticketKey:(b=(g=h.data)==null?void 0:g.data)==null?void 0:b.ticketKey,ticketUrl:(y=(w=h.data)==null?void 0:w.data)==null?void 0:y.ticketUrl}})):(i={success:!1,error:h.error},t(p=>({...p,submissionError:h.error})))}catch(h){i={success:!1,error:h.message},t(p=>({...p,submissionError:h.message}))}}},path:o=>o.userInput==="Submit Security Report"?"security_success":"start"},security_success:{message:()=>{return(o=i)&&!o.success?`We apologize, but there was an error submitting your security incident report: ${o.error}
|
|
107
|
+
|
|
108
|
+
Please try again or contact our cybersecurity team directly.`:o&&o.success&&o.ticketUrl&&o.ticketKey?`Your security incident report has been submitted successfully.
|
|
109
|
+
|
|
110
|
+
Ticket: <a href="${o.ticketUrl}" target="_blank">${o.ticketKey}</a>
|
|
111
|
+
|
|
112
|
+
Our cybersecurity team will review your report and respond accordingly. Thank you for helping keep ACCESS secure.`:(o&&o.success,`Your security incident report has been submitted successfully.
|
|
113
|
+
|
|
114
|
+
Our cybersecurity team will review your report and respond accordingly. Thank you for helping keep ACCESS secure.`);var o},options:["Back to Main Menu"],chatDisabled:!0,renderHtml:["BOT"],path:"start"}}};function hy({welcomeMessage:e,isBotLoggedIn:t,loginUrl:n,handleQuery:r,hasQueryError:i,sessionId:o,currentQueryId:s,ticketForm:a={},setTicketForm:l=()=>{},feedbackForm:c={},setFeedbackForm:u=()=>{},formContext:d,userInfo:A={}}){return d&&(h=>{Ma=h})(d),{...(({welcome:h,setTicketForm:p=()=>{},setFeedbackForm:g=()=>{}})=>({start:{message:h,options:["Ask a question about ACCESS","Open a Help Ticket","Report a security issue"],chatDisabled:!0,path:b=>b.userInput==="Ask a question about ACCESS"?"go_ahead_and_ask":b.userInput==="Open a Help Ticket"?(p({}),"help_ticket"):b.userInput==="Report a security issue"?(p({}),"security_incident"):"start"}}))({welcome:wA(0,e),setTicketForm:l,setFeedbackForm:u})||{},...(t?uy({fetchAndStreamResponse:r,sessionId:o,currentQueryId:s}):{go_ahead_and_ask:{message:"To ask questions, you need to log in first.",component:H.createElement(kA,{loginUrl:n}),options:["Back to Main Menu"],chatDisabled:!0,path:h=>h.userInput==="Back to Main Menu"?"start":"go_ahead_and_ask"}})||{},...Ay({ticketForm:a,setTicketForm:l,userInfo:A})||{},...fy({ticketForm:a,setTicketForm:l,userInfo:A})||{},...t&&{loop:{message:async h=>{await r(h)},path:()=>i?"start":"loop"}}}}const CA=pe(),py=({children:e})=>{const[t,n]=G({}),[r,i]=G({}),o={ticketForm:t,feedbackForm:r,updateTicketForm:s=>{n(a=>({...a,...s}))},updateFeedbackForm:s=>{i(a=>({...a,...s}))},resetTicketForm:()=>{n({})},resetFeedbackForm:()=>{i({})},setTicketForm:n,setFeedbackForm:i};return H.createElement(CA.Provider,{value:o},e)},gy=()=>{for(let t=0;t<localStorage.length;t++){const n=localStorage.key(t);if(n&&n.startsWith("qa_bot_session_")){const r=localStorage.getItem(n);if(r)return r}}const e=`qa_bot_session_${ry()}`;return localStorage.setItem(e,e),e},my=H.forwardRef((e,t)=>{const{apiKey:n,open:r=!1,onOpenChange:i,embedded:o=!1,isLoggedIn:s,loginUrl:a=Wt.LOGIN_URL,ringEffect:l=!1,welcome:c,userEmail:u,userName:d,accessId:A}=e,f=n||process.env.REACT_APP_API_KEY,[h,p]=G(s!==void 0&&s),g=nt(gy()).current,[b,w]=G(null),{ticketForm:y,feedbackForm:v,updateTicketForm:_,updateFeedbackForm:k,resetTicketForm:P,resetFeedbackForm:D}=(()=>{const F=ae(CA);if(!F)throw new Error("useFormContext must be used within a FormProvider");return F})();ot(()=>{s!==void 0&&p(s)},[s]),ot(()=>{if(!o&&i){const F=x=>{t&&t.current&&t.current._markAsUserInteraction&&t.current._markAsUserInteraction();const U=x.data.newState;i(U)};return window.addEventListener("rcb-toggle-chat-window",F),()=>{window.removeEventListener("rcb-toggle-chat-window",F)}}},[o,i,t]);const C=wA(0,c),E=nt(null),I=((F,x={})=>Ot(()=>{const U=(S,j)=>{if(F.current){const q=getComputedStyle(F.current).getPropertyValue(S);if(q&&q.trim()!=="")return q.trim();if(F.current.parentElement){const K=getComputedStyle(F.current.parentElement).getPropertyValue(S);if(K&&K.trim()!=="")return K.trim()}}return j};return{primaryColor:U("--primary-color",x.primaryColor||Wt.THEME.PRIMARY_COLOR),secondaryColor:U("--secondary-color",x.secondaryColor||Wt.THEME.SECONDARY_COLOR),fontFamily:U("--font-family",x.fontFamily||Wt.THEME.FONT_FAMILY)}},[F,x]))(E),B=(({themeColors:F,embedded:x,defaultOpen:U,isLoggedIn:S})=>{const j=S,q=sessionStorage.getItem("qa_bot_tooltip_shown")?"NEVER":"START";return Ot(()=>({general:{...F,embedded:x,primaryColor:F.primaryColor,fontFamily:"Arial, sans-serif",secondaryColor:F.secondaryColor},header:{title:H.createElement("div",{key:"header-title"},H.createElement("h1",{className:"sr-only"},Wt.CHATBOT.TITLE),H.createElement("span",{"aria-hidden":"true"},Wt.CHATBOT.TITLE)),avatar:Wt.CHATBOT.AVATAR_URL,buttons:[j?H.createElement(ay,{key:"user-icon"}):H.createElement(kA,{key:"login-button",loginUrl:"/login",isHeaderButton:!0}),It.CLOSE_CHAT_BUTTON]},chatWindow:{defaultOpen:!!x||U},chatInput:{enabledPlaceholderText:"Type your question here...",disabledPlaceholderText:"",disabled:!1,allowNewline:!0,sendButtonStyle:{display:"flex"},characterLimit:1e3,sendButtonAriaLabel:"Send message",showCharacterCount:!1,ariaLabel:"Chat input area",ariaDescribedBy:"chat-input-help"},chatHistory:{disabled:!1},botBubble:{simulateStream:!0,streamSpeed:10,allowNewline:!0,dangerouslySetInnerHTML:!0,renderHtml:!0,ariaLabel:"Bot response",role:"log"},chatButton:{icon:Wt.CHATBOT.AVATAR_URL},tooltip:{text:Wt.CHATBOT.TOOLTIP_TEXT,mode:q},audio:{disabled:!0},emoji:{disabled:!0},fileAttachment:{disabled:!0},notification:{disabled:!0},footer:{text:H.createElement("div",{key:"footer-text"},H.createElement("a",{href:"https://support.access-ci.org/tools/access-qa-tool"},"About this tool"),"."),buttons:[H.createElement(sy,{key:"new-chat-button"})]},event:{rcbToggleChatWindow:!0}}),[F,x,U,j,q])})({themeColors:I,embedded:o,defaultOpen:r,isLoggedIn:h}),T=ly(f,g,w),R=Ot(()=>({ticketForm:y||{},feedbackForm:v||{},updateTicketForm:_,updateFeedbackForm:k,resetTicketForm:P,resetFeedbackForm:D}),[y,v,_,k,P,D]),Q=Ot(()=>hy({welcomeMessage:C,isBotLoggedIn:h,loginUrl:a,handleQuery:T,sessionId:g,currentQueryId:b,ticketForm:y,setTicketForm:_,feedbackForm:v,setFeedbackForm:k,formContext:R,userInfo:{email:u||null,name:d||null,username:A||null}}),[C,h,a,T,g,b,y,v,_,k,R,u,d,A]);return((F,x)=>{ot(()=>{x.current&&(F?x.current.classList.add("bot-logged-in"):x.current.classList.remove("bot-logged-in"))},[F,x])})(h,E),((F,x)=>{ot(()=>{if(!F||!x.current)return;const U=setTimeout(()=>{var j;const S=(j=x.current)==null?void 0:j.querySelector(".rcb-tooltip-show");S&&S.classList.add("phone-ring")},500);return()=>{clearTimeout(U)}},[F,x])})(l,E),ot(()=>{const F=()=>{const U=document.querySelector(".rcb-chat-window");if(!U)return;const S=U.querySelector(".rcb-send-button");S&&(S.hasAttribute("tabindex")||S.setAttribute("tabindex","0"),S.hasAttribute("data-keyboard-enabled")||(S.setAttribute("data-keyboard-enabled","true"),S.addEventListener("keydown",j=>{if(j.key==="Enter"||j.key===" "){j.preventDefault();const q=S&&Object.keys(S).find($=>$.startsWith("__reactProps"));if(q){const $=S[q],dt=$==null?void 0:$.onMouseDown;if(dt&&typeof dt=="function")return void dt(j)}const K=new MouseEvent("mousedown",{bubbles:!0,cancelable:!0,view:window});S.dispatchEvent(K)}})))},x=setInterval(F,1e3);return F(),()=>clearInterval(x)},[]),cy(),ot(()=>{const F=()=>{sessionStorage.setItem("qa_bot_tooltip_shown","true")};return window.addEventListener("rcb-toggle-chat-window",F),()=>{window.removeEventListener("rcb-toggle-chat-window",F)}},[]),H.createElement("div",{className:"qa-bot "+(o?"embedded-qa-bot":""),ref:E,role:"region","aria-label":"Ask ACCESS tool"},H.createElement(qu,null,H.createElement("main",{role:"main","aria-label":"Chat interface"},H.createElement(iy,{ref:t,embedded:o,isBotLoggedIn:h,currentOpen:r}),H.createElement(M0,{key:`chatbot-${g}-${h}`,settings:B,flow:Q,plugins:[()=>Z0(N),ty(),()=>ey(O)]}),H.createElement("div",{"aria-live":"polite","aria-label":"Bot response updates",className:"sr-only",id:"bot-live-region"}),H.createElement("div",{id:"chat-input-help",className:"sr-only"},"Type your message and press Enter to send. Use arrow keys to navigate through response options. Press Enter or Space to select an option."),H.createElement("div",{id:"keyboard-help",className:"sr-only"},"Available keyboard shortcuts: Arrow keys to navigate options, Enter or Space to select, Tab to move between interactive elements, Escape to close dialogs."))));var O,N}),PA=H.forwardRef((e,t)=>H.createElement(py,null,H.createElement(my,Hi({},e,{ref:t}))));gu('.rcb-toggle-icon{background-color:initial!important;background-position:calc(50% - 1px) calc(50% + 2px);background-repeat:no-repeat;background-size:62%!important}.rcb-chat-window{max-height:600px;max-width:100%;width:550px!important}.rcb-chat-window .rcb-bot-avatar{background-position:50%;background-repeat:no-repeat;background-size:contain;border-radius:0}.rcb-chat-window .rcb-chat-header{align-items:center;display:flex;flex-direction:row;font-weight:700}.rcb-chat-window a{color:#000;font-weight:700;text-decoration:underline}.rcb-chat-window a:hover{color:#107180}.rcb-chat-window .rcb-bot-message a{color:#fff;text-decoration:none}.rcb-chat-window .rcb-bot-message a:hover{text-decoration:underline}.rcb-chat-window .rcb-chat-input-textarea{overflow-y:auto}.rcb-chat-window .rcb-chat-footer-container{font-size:10px}.qa-bot .user-login-icon{display:none!important}.qa-bot.bot-logged-in .user-login-icon{display:flex!important;transform:scale(1.3) translateY(-2px)}.embedded-qa-bot .rcb-chat-window{max-width:100%;width:100%!important}.qa-bot.hidden{display:none}.embedded-qa-bot .rcb-bot-message,.embedded-qa-bot .rcb-user-message{max-width:90%!important;word-break:break-word}.embedded-qa-bot .rcb-chat-input-textarea{width:100%!important}.qa-bot-container{max-width:100%;width:100%}.rcb-tooltip-show.phone-ring{animation:phone-ring 3s ease-out!important;z-index:10000!important}@keyframes phone-ring{0%{transform:translateX(0) translateY(0) rotate(0deg)}2%{transform:translateX(0) translateY(-8px) rotate(-2deg)}4%{transform:translateX(0) translateY(-6px) rotate(2deg)}6%{transform:translateX(0) translateY(-8px) rotate(-1deg)}8%{transform:translateX(0) translateY(-6px) rotate(1deg)}10%{transform:translateX(0) translateY(-8px) rotate(-2deg)}12%{transform:translateX(0) translateY(-6px) rotate(2deg)}20%{transform:translateX(0) translateY(0) rotate(0deg)}30%{transform:translateX(0) translateY(0) rotate(0deg)}40%{transform:translateX(0) translateY(0) rotate(0deg)}49%{transform:translateX(0) translateY(0) rotate(0deg)}50%{transform:translateX(0) translateY(-8px) rotate(-2deg)}52%{transform:translateX(0) translateY(-6px) rotate(2deg)}54%{transform:translateX(0) translateY(-8px) rotate(-1deg)}56%{transform:translateX(0) translateY(-6px) rotate(1deg)}58%{transform:translateX(0) translateY(-8px) rotate(-2deg)}60%{transform:translateX(0) translateY(-6px) rotate(2deg)}70%{transform:translateX(0) translateY(0) rotate(0deg)}to{transform:translateX(0) translateY(0) rotate(0deg)}}@media (max-width:768px){.rcb-chat-window{max-height:calc(100vh - 100px)!important;max-width:calc(100vw - 40px)!important;width:550px!important}.embedded-chat-container.open{height:400px}.embedded-chat-closed{font-size:14px;height:40px}.embedded-chat-open-btn{font-size:12px;padding:3px 10px}.rcb-bot-message,.rcb-user-message{max-width:85%!important}.rcb-chat-input-textarea{font-size:16px!important;min-height:44px!important}.rcb-chat-header{padding:12px 16px!important}}@media (max-width:480px){.rcb-chat-window{bottom:10px!important;left:10px!important;max-height:calc(100vh - 80px)!important;max-width:calc(100vw - 20px)!important;right:10px!important;width:calc(100vw - 20px)!important}.embedded-chat-container.open{height:350px}.rcb-bot-message,.rcb-user-message{margin-bottom:8px!important;max-width:90%!important}.rcb-chat-header{font-size:14px!important;padding:8px 12px!important}.rcb-chat-button{bottom:20px!important;height:50px!important;right:20px!important;width:50px!important}.rcb-chat-footer-container{font-size:9px!important;padding:8px 12px!important}}@media (max-width:360px){.rcb-chat-window{left:5px!important;max-width:calc(100vw - 10px)!important;right:5px!important;width:calc(100vw - 10px)!important}.rcb-chat-header{font-size:13px!important;padding:6px 8px!important}}.rcb-checkbox-container{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-left:16px!important;max-width:100%!important;padding-top:12px!important}.rcb-checkbox-row-container{align-items:center!important;background-color:#fff!important;border:1px solid #d0d0d0!important;border-radius:6px!important;box-sizing:border-box!important;color:#107180!important;cursor:pointer!important;display:flex!important;flex:0 0 auto!important;font-size:14px!important;font-weight:400!important;margin:0!important;max-height:auto!important;min-height:auto!important;padding:8px 12px!important;text-align:center!important;transition:all .2s ease!important;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:auto!important}.rcb-checkbox-row-container:hover{background-color:#e8f4f8!important;border-color:#107180!important;box-shadow:0 2px 4px #10718033!important;transform:translateY(-1px)!important}.rcb-checkbox-row-container[data-checked=true]{background-color:#107180!important;border-color:#107180!important;color:#fff!important}.rcb-checkbox-row{margin-left:0!important}.rcb-checkbox-mark{height:14px!important;margin-right:6px!important;width:14px!important}.rcb-checkbox-label{font-size:13px!important;margin:0!important;white-space:nowrap!important}.rcb-checkbox-next-button{align-items:center!important;background-color:#fff!important;border:1px solid #d0d0d0!important;border-radius:6px!important;box-sizing:border-box!important;color:#107180!important;cursor:pointer!important;display:flex!important;flex:0 0 auto!important;font-size:14px!important;font-weight:400!important;justify-content:center!important;line-height:24px!important;margin:0!important;max-height:auto!important;min-height:auto!important;padding:8px 12px!important;text-align:center!important;transition:all .2s ease!important;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:auto!important}.rcb-checkbox-next-button:hover{background-color:#e8f4f8!important;border-color:#107180!important;box-shadow:0 2px 4px #10718033!important;transform:translateY(-1px)!important}.sr-only{clip:rect(0,0,0,0)!important;border:0!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}.rcb-chat-input-send-button:focus,.rcb-chat-input-textarea:focus{outline:2px solid #107180!important;outline-offset:2px!important}.rcb-user-message{word-wrap:break-word!important;overflow:hidden!important;word-break:break-word!important}:focus-visible{outline:2px solid #107180!important;outline-offset:2px!important}.rcb-options-container{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:8px!important;margin:16px!important;padding:0!important}.rcb-options{background-color:#fff!important;border:1px solid #d0d0d0!important;border-radius:6px!important;box-sizing:border-box!important;color:#107180!important;cursor:pointer!important;flex:0 0 auto!important;font-size:14px!important;font-weight:400!important;outline:none!important;padding:8px 12px!important;text-align:center!important;transition:all .2s ease!important;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:auto!important}.rcb-options:hover{background-color:#e8f4f8!important;border-color:#107180!important;box-shadow:0 2px 4px #10718033!important;transform:translateY(-1px)!important}.rcb-checkbox-next-button.keyboard-focused,.rcb-checkbox-next-button:focus,.rcb-checkbox-next-button:focus-visible,.rcb-checkbox-row-container.keyboard-focused,.rcb-checkbox-row-container:focus,.rcb-checkbox-row-container:focus-visible,.rcb-options.keyboard-focused,.rcb-options:focus,.rcb-options:focus-visible{background-color:#e8f4f8!important;border-color:#107180!important;outline:none!important}.rcb-options:active{background-color:#107180!important;border-color:#107180!important;color:#fff!important;transform:translateY(0)!important}.keyboard-nav-hint{color:#666!important;font-size:12px!important;font-style:italic!important;margin-bottom:8px!important}@media (prefers-reduced-motion:reduce){.keyboard-nav-hint{display:none!important}}.rcb-options-container [role=button][tabindex="0"],.rcb-options-container button[tabindex="0"]{position:relative!important}.rcb-options-container [role=button][tabindex="0"]:after,.rcb-options-container button[tabindex="0"]:after{color:#107180!important;content:"←"!important;font-size:16px!important;opacity:0!important;position:absolute!important;right:12px!important;top:50%!important;transform:translateY(-50%)!important;transition:opacity .2s ease!important}.rcb-options-container [role=button][tabindex="0"]:focus:after,.rcb-options-container button[tabindex="0"]:focus:after{opacity:1!important}.rcb-chat-input-send-button{cursor:pointer!important;opacity:1!important;pointer-events:auto!important;visibility:visible!important}.rcb-chat-input-send-button:not([tabindex]){-webkit-user-select:none;-moz-user-select:none;user-select:none}.rcb-chat-input-container [onclick],.rcb-chat-input-container [role=button],.rcb-chat-input-container div[style*=cursor],.rcb-chat-input-container svg:last-child,.rcb-chat-input-container>div:last-child{tabindex:0!important;cursor:pointer!important}.rcb-chat-footer{margin-top:4px!important;padding-top:0!important}.rcb-chat-footer-container{align-items:center!important;display:flex!important;margin-top:4px!important;padding-top:4px!important}.rcb-chat-footer-container button{order:1!important}.rcb-chat-footer-container a[href*=access-qa-tool]{tab-index:0!important;order:2!important}.rcb-chat-footer-container a[href*=feedback]{tab-index:0!important;order:3!important}@media (prefers-contrast:high){.rcb-chat-window a{background-color:#fff!important;border:1px solid #000!important;color:#000!important}}@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}',{insertAt:"top"});const by=H.forwardRef((e,t)=>{const[n,r]=H.useState(e.isLoggedIn||!1),[i,o]=H.useState(e.defaultOpen||!1),s=H.useRef();return H.useImperativeHandle(t,()=>({addMessage:a=>{s.current&&s.current.addMessage(a)},setBotIsLoggedIn:a=>{r(a)},openChat:()=>{!e.embedded&&s.current&&o(!0)},closeChat:()=>{!e.embedded&&s.current&&o(!1)},toggleChat:()=>{!e.embedded&&s.current&&o(a=>!a)}}),[e.embedded]),H.createElement(PA,{ref:s,apiKey:e.apiKey,embedded:e.embedded,isLoggedIn:n,open:!!e.embedded||i,onOpenChange:e.embedded?void 0:o,loginUrl:e.loginUrl,ringEffect:e.ringEffect,welcome:e.welcome,userEmail:e.userEmail,userName:e.userName,username:e.username})});function DA(e){if(!(e.target&&e.target instanceof HTMLElement))return void console.error("QA Bot: A valid target DOM element is required");const t=vm.createRoot(e.target);let n={current:null};return t.render(H.createElement(H.StrictMode,null,H.createElement(by,{ref:r=>{n.current=r},apiKey:e.apiKey,defaultOpen:e.defaultOpen,embedded:e.embedded,isLoggedIn:e.isLoggedIn,loginUrl:e.loginUrl,ringEffect:e.ringEffect,welcome:e.welcome}))),{addMessage:r=>{var i;return(i=n.current)===null||i===void 0?void 0:i.addMessage(r)},setBotIsLoggedIn:r=>{var i;return(i=n.current)===null||i===void 0?void 0:i.setBotIsLoggedIn(r)},openChat:()=>{var r;return(r=n.current)===null||r===void 0?void 0:r.openChat()},closeChat:()=>{var r;return(r=n.current)===null||r===void 0?void 0:r.closeChat()},toggleChat:()=>{var r;return(r=n.current)===null||r===void 0?void 0:r.toggleChat()},destroy:()=>{n.current=null,t.unmount()}}}const vy=Object.freeze(Object.defineProperty({__proto__:null,QABot:PA,default:DA,qaBot:DA},Symbol.toStringTag,{value:"Module"}));function ht({alt:e=null,name:t=null,src:n=null}){return t?m("i",{class:`icon bi bi-${t}`}):m("img",{class:"icon",alt:e,src:n})}const BA=()=>{const e=new Event("accessci-update-sections");document.dispatchEvent(e)};function je({children:e,headerComponents:t=null,icon:n=null,sectionId:r=null,title:i}){const o=r||i.toLowerCase().replace(/[^0-9a-z]+/g,"-");return se(()=>(BA(),BA),[]),m("section",{id:o,"data-section-title":i,"data-section-icon":n,children:[m("div",{class:"flex-header",children:[m("h2",{children:[n?m(ht,{name:n}):null,i]}),t?m("div",{class:"header-components",children:t}):null]}),e]})}function yy({infoGroupId:e}){const t=Zt(`https://support.access-ci.org/api/1.0/affinity_groups/${e}`);if(!t||t.error||!t.length)return;const n=Ss(t[0].slack_link);return m(je,{title:"User Community",icon:"people-fill",children:[m("p",{children:"Join the community by participating in an affinity group! Members get update about announcements, events, and outages."}),m("div",{class:"button-group",children:[m("a",{href:t[0].url,class:"btn secondary",children:[m(ht,{name:"person-plus-fill"})," Join Affinity Group"]}),n?m("a",{href:n,class:"btn",children:[m(ht,{name:"slack"})," Connect on Slack"]}):null,m("a",{href:"#questions-and-answers",class:"btn",children:[m(ht,{name:"chat-fill"})," Ask and Answer Questions"]})]})]})}function wy({infoGroupId:e}){const t=Ur(e),n=Zt(t&&t.infoResourceIds.length?`https://operations-api.access-ci.org/wh2/cider/v1/info_resourceid/${t.infoResourceIds[0]}/?format=json`:null);if(!t)return;const{accessAllocated:r,name:i,description:o,imageUri:s,organizations:a}=t,l=r?"https://allocations.access-ci.org/get-your-first-project":null,c=n&&n.results?(n.results.compute||n.results.storage||{}).user_guide_url:null;return m("div",{class:"resource-group-description",children:[s?m("img",{class:"resource-group-feature-image",src:s}):null,m("h1",{children:t.name}),a.map(u=>m("p",{children:m("a",{href:u.organization_url||"#",children:[u.organization_favicon_url?m(ht,{alt:u.organization_name,src:u.organization_favicon_url}):null,u.organization_name]})})),o?m("p",{children:o}):null,m("div",{style:{marginTop:"1rem"},children:[l?m("a",{href:l,class:"btn secondary lg",children:[m(ht,{name:"check2-circle"})," Get Started with ",i]}):null,c?m("a",{href:c,class:"btn lg",children:[m(ht,{name:"book"})," User Guide"]}):null]})]})}function xy({column:e,row:t,style:n={}}){const r=e.format?e.format(t[e.key],t):t[e.key],i=["cell"];return e.class&&i.push(e.class),e.rowClass&&i.push(e.rowClass(t)),m("td",{class:i.join(" "),style:n,children:r})}const ky={text:xy};function lo({columns:e,rows:t,classes:n,frozenColumns:r=0,maxHeight:i=400,minWidth:o,rowClasses:s=[],scrollResetOnUpdate:a=!1}){const l=nt();se(()=>{l.current&&a&&(l.current.scrollTop=0)},[t]);const c=[0];for(let h=0;h<r;h++)c[h+1]=c[h]+(e[h].width||100);const u=(h,p)=>h<r?{position:"sticky",left:`${c[h]}px`,minWidth:`${e[h].width||100}px`,width:`${e[h].width||100}px`,zIndex:p||1}:{},d=e.map((h,p)=>m("th",{class:h.headerClass||h.class||"",style:u(p,100),children:h.formatHeader?h.formatHeader(h.name,h):h.name},h.key)),A=t.map((h,p)=>{const g=e.map((b,w)=>{const y=ky[b.type||"text"];return m(y,{column:b,row:h,style:u(w)},b.key)});return m("tr",{class:s[p]||"",children:g},p)}),f={};return o&&(f.minWidth=o),m("div",{class:`grid ${n||""}`,style:{maxHeight:Number.isInteger(i)?`${i}px`:i||null},ref:l,children:m("table",{class:"table",style:f,children:[m("thead",{children:m("tr",{children:d})}),m("tbody",{children:A})]})})}function _y({infoGroupId:e}){const t=Zt(`https://support.access-ci.org/api/1.0/affinity_groups/${e}`),n=t&&!t.error&&t.length?t[0].field_ask_ci_locale:null,r=n?`${n}.json`:null,i=Zt(r);return!i||i.error||!i.topic_list||!i.topic_list.topics||!i.topic_list.topics.length?void 0:m(je,{title:"Questions and Answers",icon:"chat-fill",headerComponents:[m("a",{href:n,class:"btn secondary",children:"Ask a Question"}),m("a",{href:n,class:"btn",children:"View All Topics"})],children:m(lo,{columns:[{key:"title",name:"Topic",format:(a,l)=>m(tt,{children:[l.pinned?m(ht,{name:"pin-fill"}):null,m("a",{href:`https://ask.cyberinfrastructure.org/t/${l.slug}/${l.id}`,children:a})]})},{key:"posts_count",name:"Posts",format:a=>a.toLocaleString("en-us")},{key:"bumped_at",name:"Last Update",format:a=>new Date(a).toLocaleString("en-US",{dateStyle:"medium"})}],rows:i.topic_list.topics.slice(0,5)})})}var ne="top",ye="bottom",we="right",re="left",La="auto",ni=[ne,ye,we,re],gr="start",ri="end",Sy="clippingParents",IA="viewport",ii="popper",Ey="reference",TA=ni.reduce(function(e,t){return e.concat([t+"-"+gr,t+"-"+ri])},[]),MA=[].concat(ni,[La]).reduce(function(e,t){return e.concat([t,t+"-"+gr,t+"-"+ri])},[]),Cy="beforeRead",Py="read",Dy="afterRead",By="beforeMain",Iy="main",Ty="afterMain",My="beforeWrite",Oy="write",Ly="afterWrite",Ry=[Cy,Py,Dy,By,Iy,Ty,My,Oy,Ly];function Ve(e){return e?(e.nodeName||"").toLowerCase():null}function de(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Nn(e){var t=de(e).Element;return e instanceof t||e instanceof Element}function xe(e){var t=de(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Ra(e){if(typeof ShadowRoot>"u")return!1;var t=de(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Qy(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!xe(o)||!Ve(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(s){var a=i[s];a===!1?o.removeAttribute(s):o.setAttribute(s,a===!0?"":a)}))})}function Fy(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},s=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=s.reduce(function(l,c){return l[c]="",l},{});!xe(i)||!Ve(i)||(Object.assign(i.style,a),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const OA={name:"applyStyles",enabled:!0,phase:"write",fn:Qy,effect:Fy,requires:["computeStyles"]};function We(e){return e.split("-")[0]}var zn=Math.max,co=Math.min,mr=Math.round;function Qa(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function LA(){return!/^((?!chrome|android).)*safari/i.test(Qa())}function br(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&xe(e)&&(i=e.offsetWidth>0&&mr(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&mr(r.height)/e.offsetHeight||1);var s=Nn(e)?de(e):window,a=s.visualViewport,l=!LA()&&n,c=(r.left+(l&&a?a.offsetLeft:0))/i,u=(r.top+(l&&a?a.offsetTop:0))/o,d=r.width/i,A=r.height/o;return{width:d,height:A,top:u,right:c+d,bottom:u+A,left:c,x:c,y:u}}function Fa(e){var t=br(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function RA(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Ra(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function sn(e){return de(e).getComputedStyle(e)}function Ny(e){return["table","td","th"].indexOf(Ve(e))>=0}function wn(e){return((Nn(e)?e.ownerDocument:e.document)||window.document).documentElement}function uo(e){return Ve(e)==="html"?e:e.assignedSlot||e.parentNode||(Ra(e)?e.host:null)||wn(e)}function QA(e){return!xe(e)||sn(e).position==="fixed"?null:e.offsetParent}function zy(e){var t=/firefox/i.test(Qa()),n=/Trident/i.test(Qa());if(n&&xe(e)){var r=sn(e);if(r.position==="fixed")return null}var i=uo(e);for(Ra(i)&&(i=i.host);xe(i)&&["html","body"].indexOf(Ve(i))<0;){var o=sn(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function oi(e){for(var t=de(e),n=QA(e);n&&Ny(n)&&sn(n).position==="static";)n=QA(n);return n&&(Ve(n)==="html"||Ve(n)==="body"&&sn(n).position==="static")?t:n||zy(e)||t}function Na(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function si(e,t,n){return zn(e,co(t,n))}function Hy(e,t,n){var r=si(e,t,n);return r>n?n:r}function FA(){return{top:0,right:0,bottom:0,left:0}}function NA(e){return Object.assign({},FA(),e)}function zA(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Uy=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,NA(typeof t!="number"?t:zA(t,ni))};function jy(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=We(n.placement),l=Na(a),c=[re,we].indexOf(a)>=0,u=c?"height":"width";if(!(!o||!s)){var d=Uy(i.padding,n),A=Fa(o),f=l==="y"?ne:re,h=l==="y"?ye:we,p=n.rects.reference[u]+n.rects.reference[l]-s[l]-n.rects.popper[u],g=s[l]-n.rects.reference[l],b=oi(o),w=b?l==="y"?b.clientHeight||0:b.clientWidth||0:0,y=p/2-g/2,v=d[f],_=w-A[u]-d[h],k=w/2-A[u]/2+y,P=si(v,k,_),D=l;n.modifiersData[r]=(t={},t[D]=P,t.centerOffset=P-k,t)}}function Vy(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||RA(t.elements.popper,i)&&(t.elements.arrow=i))}const Wy={name:"arrow",enabled:!0,phase:"main",fn:jy,effect:Vy,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function vr(e){return e.split("-")[1]}var Yy={top:"auto",right:"auto",bottom:"auto",left:"auto"};function qy(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:mr(n*i)/i||0,y:mr(r*i)/i||0}}function HA(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,A=s.x,f=A===void 0?0:A,h=s.y,p=h===void 0?0:h,g=typeof u=="function"?u({x:f,y:p}):{x:f,y:p};f=g.x,p=g.y;var b=s.hasOwnProperty("x"),w=s.hasOwnProperty("y"),y=re,v=ne,_=window;if(c){var k=oi(n),P="clientHeight",D="clientWidth";if(k===de(n)&&(k=wn(n),sn(k).position!=="static"&&a==="absolute"&&(P="scrollHeight",D="scrollWidth")),k=k,i===ne||(i===re||i===we)&&o===ri){v=ye;var C=d&&k===_&&_.visualViewport?_.visualViewport.height:k[P];p-=C-r.height,p*=l?1:-1}if(i===re||(i===ne||i===ye)&&o===ri){y=we;var E=d&&k===_&&_.visualViewport?_.visualViewport.width:k[D];f-=E-r.width,f*=l?1:-1}}var I=Object.assign({position:a},c&&Yy),B=u===!0?qy({x:f,y:p},de(n)):{x:f,y:p};if(f=B.x,p=B.y,l){var T;return Object.assign({},I,(T={},T[v]=w?"0":"",T[y]=b?"0":"",T.transform=(_.devicePixelRatio||1)<=1?"translate("+f+"px, "+p+"px)":"translate3d("+f+"px, "+p+"px, 0)",T))}return Object.assign({},I,(t={},t[v]=w?p+"px":"",t[y]=b?f+"px":"",t.transform="",t))}function Ky(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,s=o===void 0?!0:o,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:We(t.placement),variation:vr(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,HA(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,HA(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Gy={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ky,data:{}};var Ao={passive:!0};function Xy(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,s=r.resize,a=s===void 0?!0:s,l=de(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(u){u.addEventListener("scroll",n.update,Ao)}),a&&l.addEventListener("resize",n.update,Ao),function(){o&&c.forEach(function(u){u.removeEventListener("scroll",n.update,Ao)}),a&&l.removeEventListener("resize",n.update,Ao)}}const Jy={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Xy,data:{}};var Zy={left:"right",right:"left",bottom:"top",top:"bottom"};function fo(e){return e.replace(/left|right|bottom|top/g,function(t){return Zy[t]})}var $y={start:"end",end:"start"};function UA(e){return e.replace(/start|end/g,function(t){return $y[t]})}function za(e){var t=de(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Ha(e){return br(wn(e)).left+za(e).scrollLeft}function tw(e,t){var n=de(e),r=wn(e),i=n.visualViewport,o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;var c=LA();(c||!c&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a+Ha(e),y:l}}function ew(e){var t,n=wn(e),r=za(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=zn(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=zn(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+Ha(e),l=-r.scrollTop;return sn(i||n).direction==="rtl"&&(a+=zn(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}function Ua(e){var t=sn(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function jA(e){return["html","body","#document"].indexOf(Ve(e))>=0?e.ownerDocument.body:xe(e)&&Ua(e)?e:jA(uo(e))}function ai(e,t){var n;t===void 0&&(t=[]);var r=jA(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=de(r),s=i?[o].concat(o.visualViewport||[],Ua(r)?r:[]):r,a=t.concat(s);return i?a:a.concat(ai(uo(s)))}function ja(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function nw(e,t){var n=br(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function VA(e,t,n){return t===IA?ja(tw(e,n)):Nn(t)?nw(t,n):ja(ew(wn(e)))}function rw(e){var t=ai(uo(e)),n=["absolute","fixed"].indexOf(sn(e).position)>=0,r=n&&xe(e)?oi(e):e;return Nn(r)?t.filter(function(i){return Nn(i)&&RA(i,r)&&Ve(i)!=="body"}):[]}function iw(e,t,n,r){var i=t==="clippingParents"?rw(e):[].concat(t),o=[].concat(i,[n]),s=o[0],a=o.reduce(function(l,c){var u=VA(e,c,r);return l.top=zn(u.top,l.top),l.right=co(u.right,l.right),l.bottom=co(u.bottom,l.bottom),l.left=zn(u.left,l.left),l},VA(e,s,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function WA(e){var t=e.reference,n=e.element,r=e.placement,i=r?We(r):null,o=r?vr(r):null,s=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(i){case ne:l={x:s,y:t.y-n.height};break;case ye:l={x:s,y:t.y+t.height};break;case we:l={x:t.x+t.width,y:a};break;case re:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var c=i?Na(i):null;if(c!=null){var u=c==="y"?"height":"width";switch(o){case gr:l[c]=l[c]-(t[u]/2-n[u]/2);break;case ri:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function li(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,s=o===void 0?e.strategy:o,a=n.boundary,l=a===void 0?Sy:a,c=n.rootBoundary,u=c===void 0?IA:c,d=n.elementContext,A=d===void 0?ii:d,f=n.altBoundary,h=f===void 0?!1:f,p=n.padding,g=p===void 0?0:p,b=NA(typeof g!="number"?g:zA(g,ni)),w=A===ii?Ey:ii,y=e.rects.popper,v=e.elements[h?w:A],_=iw(Nn(v)?v:v.contextElement||wn(e.elements.popper),l,u,s),k=br(e.elements.reference),P=WA({reference:k,element:y,strategy:"absolute",placement:i}),D=ja(Object.assign({},y,P)),C=A===ii?D:k,E={top:_.top-C.top+b.top,bottom:C.bottom-_.bottom+b.bottom,left:_.left-C.left+b.left,right:C.right-_.right+b.right},I=e.modifiersData.offset;if(A===ii&&I){var B=I[i];Object.keys(E).forEach(function(T){var R=[we,ye].indexOf(T)>=0?1:-1,Q=[ne,ye].indexOf(T)>=0?"y":"x";E[T]+=B[Q]*R})}return E}function ow(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?MA:l,u=vr(r),d=u?a?TA:TA.filter(function(h){return vr(h)===u}):ni,A=d.filter(function(h){return c.indexOf(h)>=0});A.length===0&&(A=d);var f=A.reduce(function(h,p){return h[p]=li(e,{placement:p,boundary:i,rootBoundary:o,padding:s})[We(p)],h},{});return Object.keys(f).sort(function(h,p){return f[h]-f[p]})}function sw(e){if(We(e)===La)return[];var t=fo(e);return[UA(e),t,UA(t)]}function aw(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,a=s===void 0?!0:s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,A=n.altBoundary,f=n.flipVariations,h=f===void 0?!0:f,p=n.allowedAutoPlacements,g=t.options.placement,b=We(g),w=b===g,y=l||(w||!h?[fo(g)]:sw(g)),v=[g].concat(y).reduce(function(K,$){return K.concat(We($)===La?ow(t,{placement:$,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:p}):$)},[]),_=t.rects.reference,k=t.rects.popper,P=new Map,D=!0,C=v[0],E=0;E<v.length;E++){var I=v[E],B=We(I),T=vr(I)===gr,R=[ne,ye].indexOf(B)>=0,Q=R?"width":"height",O=li(t,{placement:I,boundary:u,rootBoundary:d,altBoundary:A,padding:c}),N=R?T?we:re:T?ye:ne;_[Q]>k[Q]&&(N=fo(N));var F=fo(N),x=[];if(o&&x.push(O[B]<=0),a&&x.push(O[N]<=0,O[F]<=0),x.every(function(K){return K})){C=I,D=!1;break}P.set(I,x)}if(D)for(var U=h?3:1,S=function($){var dt=v.find(function(kt){var Rt=P.get(kt);if(Rt)return Rt.slice(0,$).every(function(Mt){return Mt})});if(dt)return C=dt,"break"},j=U;j>0;j--){var q=S(j);if(q==="break")break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}}const lw={name:"flip",enabled:!0,phase:"main",fn:aw,requiresIfExists:["offset"],data:{_skip:!1}};function YA(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function qA(e){return[ne,we,ye,re].some(function(t){return e[t]>=0})}function cw(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,s=li(t,{elementContext:"reference"}),a=li(t,{altBoundary:!0}),l=YA(s,r),c=YA(a,i,o),u=qA(l),d=qA(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}const uw={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:cw};function dw(e,t,n){var r=We(e),i=[re,ne].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*i,[re,we].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}function Aw(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,s=MA.reduce(function(u,d){return u[d]=dw(d,t.rects,o),u},{}),a=s[t.placement],l=a.x,c=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=s}const fw={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Aw};function hw(e){var t=e.state,n=e.name;t.modifiersData[n]=WA({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const pw={name:"popperOffsets",enabled:!0,phase:"read",fn:hw,data:{}};function gw(e){return e==="x"?"y":"x"}function mw(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,a=s===void 0?!1:s,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,A=n.tether,f=A===void 0?!0:A,h=n.tetherOffset,p=h===void 0?0:h,g=li(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),b=We(t.placement),w=vr(t.placement),y=!w,v=Na(b),_=gw(v),k=t.modifiersData.popperOffsets,P=t.rects.reference,D=t.rects.popper,C=typeof p=="function"?p(Object.assign({},t.rects,{placement:t.placement})):p,E=typeof C=="number"?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,B={x:0,y:0};if(k){if(o){var T,R=v==="y"?ne:re,Q=v==="y"?ye:we,O=v==="y"?"height":"width",N=k[v],F=N+g[R],x=N-g[Q],U=f?-D[O]/2:0,S=w===gr?P[O]:D[O],j=w===gr?-D[O]:-P[O],q=t.elements.arrow,K=f&&q?Fa(q):{width:0,height:0},$=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:FA(),dt=$[R],kt=$[Q],Rt=si(0,P[O],K[O]),Mt=y?P[O]/2-U-Rt-dt-E.mainAxis:S-Rt-dt-E.mainAxis,zt=y?-P[O]/2+U+Rt+kt+E.mainAxis:j+Rt+kt+E.mainAxis,Ce=t.elements.arrow&&oi(t.elements.arrow),Ze=Ce?v==="y"?Ce.clientTop||0:Ce.clientLeft||0:0,Le=(T=I==null?void 0:I[v])!=null?T:0,An=N+Mt-Le-Ze,In=N+zt-Le,fn=si(f?co(F,An):F,N,f?zn(x,In):x);k[v]=fn,B[v]=fn-N}if(a){var Jn,Zn=v==="x"?ne:re,$n=v==="x"?ye:we,Pe=k[_],$e=_==="y"?"height":"width",Tn=Pe+g[Zn],tn=Pe-g[$n],tr=[ne,re].indexOf(b)!==-1,Ir=(Jn=I==null?void 0:I[_])!=null?Jn:0,Tr=tr?Tn:Pe-P[$e]-D[$e]-Ir+E.altAxis,Mr=tr?Pe+P[$e]+D[$e]-Ir-E.altAxis:tn,Or=f&&tr?Hy(Tr,Pe,Mr):si(f?Tr:Tn,Pe,f?Mr:tn);k[_]=Or,B[_]=Or-Pe}t.modifiersData[r]=B}}const bw={name:"preventOverflow",enabled:!0,phase:"main",fn:mw,requiresIfExists:["offset"]};function vw(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function yw(e){return e===de(e)||!xe(e)?za(e):vw(e)}function ww(e){var t=e.getBoundingClientRect(),n=mr(t.width)/e.offsetWidth||1,r=mr(t.height)/e.offsetHeight||1;return n!==1||r!==1}function xw(e,t,n){n===void 0&&(n=!1);var r=xe(t),i=xe(t)&&ww(t),o=wn(t),s=br(e,i,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Ve(t)!=="body"||Ua(o))&&(a=yw(t)),xe(t)?(l=br(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=Ha(o))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function kw(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var s=[].concat(o.requires||[],o.requiresIfExists||[]);s.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&i(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function _w(e){var t=kw(e);return Ry.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function Sw(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Ew(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var KA={placement:"bottom",modifiers:[],strategy:"absolute"};function GA(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function Cw(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,o=i===void 0?KA:i;return function(a,l,c){c===void 0&&(c=o);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},KA,o),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},d=[],A=!1,f={state:u,setOptions:function(b){var w=typeof b=="function"?b(u.options):b;p(),u.options=Object.assign({},o,u.options,w),u.scrollParents={reference:Nn(a)?ai(a):a.contextElement?ai(a.contextElement):[],popper:ai(l)};var y=_w(Ew([].concat(r,u.options.modifiers)));return u.orderedModifiers=y.filter(function(v){return v.enabled}),h(),f.update()},forceUpdate:function(){if(!A){var b=u.elements,w=b.reference,y=b.popper;if(GA(w,y)){u.rects={reference:xw(w,oi(y),u.options.strategy==="fixed"),popper:Fa(y)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(E){return u.modifiersData[E.name]=Object.assign({},E.data)});for(var v=0;v<u.orderedModifiers.length;v++){if(u.reset===!0){u.reset=!1,v=-1;continue}var _=u.orderedModifiers[v],k=_.fn,P=_.options,D=P===void 0?{}:P,C=_.name;typeof k=="function"&&(u=k({state:u,options:D,name:C,instance:f})||u)}}}},update:Sw(function(){return new Promise(function(g){f.forceUpdate(),g(u)})}),destroy:function(){p(),A=!0}};if(!GA(a,l))return f;f.setOptions(c).then(function(g){!A&&c.onFirstUpdate&&c.onFirstUpdate(g)});function h(){u.orderedModifiers.forEach(function(g){var b=g.name,w=g.options,y=w===void 0?{}:w,v=g.effect;if(typeof v=="function"){var _=v({state:u,name:b,instance:f,options:y}),k=function(){};d.push(_||k)}})}function p(){d.forEach(function(g){return g()}),d=[]}return f}}var Pw=[Jy,pw,Gy,OA,fw,lw,bw,Wy,uw],Dw=Cw({defaultModifiers:Pw}),Bw="tippy-box",XA="tippy-content",Iw="tippy-backdrop",JA="tippy-arrow",ZA="tippy-svg-arrow",Hn={passive:!0,capture:!0},$A=function(){return document.body};function Va(e,t,n){if(Array.isArray(e)){var r=e[t];return r??(Array.isArray(n)?n[t]:n)}return e}function Wa(e,t){var n={}.toString.call(e);return n.indexOf("[object")===0&&n.indexOf(t+"]")>-1}function tf(e,t){return typeof e=="function"?e.apply(void 0,t):e}function ef(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function Tw(e){return e.split(/\s+/).filter(Boolean)}function yr(e){return[].concat(e)}function nf(e,t){e.indexOf(t)===-1&&e.push(t)}function Mw(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function Ow(e){return e.split("-")[0]}function ho(e){return[].slice.call(e)}function rf(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function ci(){return document.createElement("div")}function po(e){return["Element","Fragment"].some(function(t){return Wa(e,t)})}function Lw(e){return Wa(e,"NodeList")}function Rw(e){return Wa(e,"MouseEvent")}function Qw(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Fw(e){return po(e)?[e]:Lw(e)?ho(e):Array.isArray(e)?e:ho(document.querySelectorAll(e))}function Ya(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function of(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function Nw(e){var t,n=yr(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function zw(e,t){var n=t.clientX,r=t.clientY;return e.every(function(i){var o=i.popperRect,s=i.popperState,a=i.props,l=a.interactiveBorder,c=Ow(s.placement),u=s.modifiersData.offset;if(!u)return!0;var d=c==="bottom"?u.top.y:0,A=c==="top"?u.bottom.y:0,f=c==="right"?u.left.x:0,h=c==="left"?u.right.x:0,p=o.top-r+d>l,g=r-o.bottom-A>l,b=o.left-n+f>l,w=n-o.right-h>l;return p||g||b||w})}function qa(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(i){e[r](i,n)})}function sf(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var Ye={isTouch:!1},af=0;function Hw(){Ye.isTouch||(Ye.isTouch=!0,window.performance&&document.addEventListener("mousemove",lf))}function lf(){var e=performance.now();e-af<20&&(Ye.isTouch=!1,document.removeEventListener("mousemove",lf)),af=e}function Uw(){var e=document.activeElement;if(Qw(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function jw(){document.addEventListener("touchstart",Hw,Hn),window.addEventListener("blur",Uw)}var Vw=typeof window<"u"&&typeof document<"u",Ww=Vw?!!window.msCrypto:!1,Yw={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},qw={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Te=Object.assign({appendTo:$A,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Yw,qw),Kw=Object.keys(Te),Gw=function(t){var n=Object.keys(t);n.forEach(function(r){Te[r]=t[r]})};function cf(e){var t=e.plugins||[],n=t.reduce(function(r,i){var o=i.name,s=i.defaultValue;if(o){var a;r[o]=e[o]!==void 0?e[o]:(a=Te[o])!=null?a:s}return r},{});return Object.assign({},e,n)}function Xw(e,t){var n=t?Object.keys(cf(Object.assign({},Te,{plugins:t}))):Kw,r=n.reduce(function(i,o){var s=(e.getAttribute("data-tippy-"+o)||"").trim();if(!s)return i;if(o==="content")i[o]=s;else try{i[o]=JSON.parse(s)}catch{i[o]=s}return i},{});return r}function uf(e,t){var n=Object.assign({},t,{content:tf(t.content,[e])},t.ignoreAttributes?{}:Xw(e,t.plugins));return n.aria=Object.assign({},Te.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?t.interactive:n.aria.expanded,content:n.aria.content==="auto"?t.interactive?null:"describedby":n.aria.content},n}var Jw=function(){return"innerHTML"};function Ka(e,t){e[Jw()]=t}function df(e){var t=ci();return e===!0?t.className=JA:(t.className=ZA,po(e)?t.appendChild(e):Ka(t,e)),t}function Af(e,t){po(t.content)?(Ka(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?Ka(e,t.content):e.textContent=t.content)}function Ga(e){var t=e.firstElementChild,n=ho(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(XA)}),arrow:n.find(function(r){return r.classList.contains(JA)||r.classList.contains(ZA)}),backdrop:n.find(function(r){return r.classList.contains(Iw)})}}function ff(e){var t=ci(),n=ci();n.className=Bw,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=ci();r.className=XA,r.setAttribute("data-state","hidden"),Af(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props);function i(o,s){var a=Ga(t),l=a.box,c=a.content,u=a.arrow;s.theme?l.setAttribute("data-theme",s.theme):l.removeAttribute("data-theme"),typeof s.animation=="string"?l.setAttribute("data-animation",s.animation):l.removeAttribute("data-animation"),s.inertia?l.setAttribute("data-inertia",""):l.removeAttribute("data-inertia"),l.style.maxWidth=typeof s.maxWidth=="number"?s.maxWidth+"px":s.maxWidth,s.role?l.setAttribute("role",s.role):l.removeAttribute("role"),(o.content!==s.content||o.allowHTML!==s.allowHTML)&&Af(c,e.props),s.arrow?u?o.arrow!==s.arrow&&(l.removeChild(u),l.appendChild(df(s.arrow))):l.appendChild(df(s.arrow)):u&&l.removeChild(u)}return{popper:t,onUpdate:i}}ff.$$tippy=!0;var Zw=1,go=[],Xa=[];function $w(e,t){var n=uf(e,Object.assign({},Te,cf(rf(t)))),r,i,o,s=!1,a=!1,l=!1,c=!1,u,d,A,f=[],h=ef(An,n.interactiveDebounce),p,g=Zw++,b=null,w=Mw(n.plugins),y={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},v={id:g,reference:e,popper:ci(),popperInstance:b,props:n,state:y,plugins:w,clearDelayTimeouts:Tr,setProps:Mr,setContent:Or,show:L,hide:X,hideWithInteractivity:it,enable:tr,disable:Ir,unmount:vt,destroy:yt};if(!n.render)return v;var _=n.render(v),k=_.popper,P=_.onUpdate;k.setAttribute("data-tippy-root",""),k.id="tippy-"+v.id,v.popper=k,e._tippy=v,k._tippy=v;var D=w.map(function(M){return M.fn(v)}),C=e.hasAttribute("aria-expanded");return Ce(),U(),N(),F("onCreate",[v]),n.showOnCreate&&Tn(),k.addEventListener("mouseenter",function(){v.props.interactive&&v.state.isVisible&&v.clearDelayTimeouts()}),k.addEventListener("mouseleave",function(){v.props.interactive&&v.props.trigger.indexOf("mouseenter")>=0&&R().addEventListener("mousemove",h)}),v;function E(){var M=v.props.touch;return Array.isArray(M)?M:[M,0]}function I(){return E()[0]==="hold"}function B(){var M;return!!((M=v.props.render)!=null&&M.$$tippy)}function T(){return p||e}function R(){var M=T().parentNode;return M?Nw(M):document}function Q(){return Ga(k)}function O(M){return v.state.isMounted&&!v.state.isVisible||Ye.isTouch||u&&u.type==="focus"?0:Va(v.props.delay,M?0:1,Te.delay)}function N(M){M===void 0&&(M=!1),k.style.pointerEvents=v.props.interactive&&!M?"":"none",k.style.zIndex=""+v.props.zIndex}function F(M,V,J){if(J===void 0&&(J=!0),D.forEach(function(At){At[M]&&At[M].apply(At,V)}),J){var ft;(ft=v.props)[M].apply(ft,V)}}function x(){var M=v.props.aria;if(M.content){var V="aria-"+M.content,J=k.id,ft=yr(v.props.triggerTarget||e);ft.forEach(function(At){var wt=At.getAttribute(V);if(v.state.isVisible)At.setAttribute(V,wt?wt+" "+J:J);else{var Vt=wt&&wt.replace(J,"").trim();Vt?At.setAttribute(V,Vt):At.removeAttribute(V)}})}}function U(){if(!(C||!v.props.aria.expanded)){var M=yr(v.props.triggerTarget||e);M.forEach(function(V){v.props.interactive?V.setAttribute("aria-expanded",v.state.isVisible&&V===T()?"true":"false"):V.removeAttribute("aria-expanded")})}}function S(){R().removeEventListener("mousemove",h),go=go.filter(function(M){return M!==h})}function j(M){if(!(Ye.isTouch&&(l||M.type==="mousedown"))){var V=M.composedPath&&M.composedPath()[0]||M.target;if(!(v.props.interactive&&sf(k,V))){if(yr(v.props.triggerTarget||e).some(function(J){return sf(J,V)})){if(Ye.isTouch||v.state.isVisible&&v.props.trigger.indexOf("click")>=0)return}else F("onClickOutside",[v,M]);v.props.hideOnClick===!0&&(v.clearDelayTimeouts(),v.hide(),a=!0,setTimeout(function(){a=!1}),v.state.isMounted||dt())}}}function q(){l=!0}function K(){l=!1}function $(){var M=R();M.addEventListener("mousedown",j,!0),M.addEventListener("touchend",j,Hn),M.addEventListener("touchstart",K,Hn),M.addEventListener("touchmove",q,Hn)}function dt(){var M=R();M.removeEventListener("mousedown",j,!0),M.removeEventListener("touchend",j,Hn),M.removeEventListener("touchstart",K,Hn),M.removeEventListener("touchmove",q,Hn)}function kt(M,V){Mt(M,function(){!v.state.isVisible&&k.parentNode&&k.parentNode.contains(k)&&V()})}function Rt(M,V){Mt(M,V)}function Mt(M,V){var J=Q().box;function ft(At){At.target===J&&(qa(J,"remove",ft),V())}if(M===0)return V();qa(J,"remove",d),qa(J,"add",ft),d=ft}function zt(M,V,J){J===void 0&&(J=!1);var ft=yr(v.props.triggerTarget||e);ft.forEach(function(At){At.addEventListener(M,V,J),f.push({node:At,eventType:M,handler:V,options:J})})}function Ce(){I()&&(zt("touchstart",Le,{passive:!0}),zt("touchend",In,{passive:!0})),Tw(v.props.trigger).forEach(function(M){if(M!=="manual")switch(zt(M,Le),M){case"mouseenter":zt("mouseleave",In);break;case"focus":zt(Ww?"focusout":"blur",fn);break;case"focusin":zt("focusout",fn);break}})}function Ze(){f.forEach(function(M){var V=M.node,J=M.eventType,ft=M.handler,At=M.options;V.removeEventListener(J,ft,At)}),f=[]}function Le(M){var V,J=!1;if(!(!v.state.isEnabled||Jn(M)||a)){var ft=((V=u)==null?void 0:V.type)==="focus";u=M,p=M.currentTarget,U(),!v.state.isVisible&&Rw(M)&&go.forEach(function(At){return At(M)}),M.type==="click"&&(v.props.trigger.indexOf("mouseenter")<0||s)&&v.props.hideOnClick!==!1&&v.state.isVisible?J=!0:Tn(M),M.type==="click"&&(s=!J),J&&!ft&&tn(M)}}function An(M){var V=M.target,J=T().contains(V)||k.contains(V);if(!(M.type==="mousemove"&&J)){var ft=$e().concat(k).map(function(At){var wt,Vt=At._tippy,Jt=(wt=Vt.popperInstance)==null?void 0:wt.state;return Jt?{popperRect:At.getBoundingClientRect(),popperState:Jt,props:n}:null}).filter(Boolean);zw(ft,M)&&(S(),tn(M))}}function In(M){var V=Jn(M)||v.props.trigger.indexOf("click")>=0&&s;if(!V){if(v.props.interactive){v.hideWithInteractivity(M);return}tn(M)}}function fn(M){v.props.trigger.indexOf("focusin")<0&&M.target!==T()||v.props.interactive&&M.relatedTarget&&k.contains(M.relatedTarget)||tn(M)}function Jn(M){return Ye.isTouch?I()!==M.type.indexOf("touch")>=0:!1}function Zn(){$n();var M=v.props,V=M.popperOptions,J=M.placement,ft=M.offset,At=M.getReferenceClientRect,wt=M.moveTransition,Vt=B()?Ga(k).arrow:null,Jt=At?{getBoundingClientRect:At,contextElement:At.contextElement||T()}:e,Hp={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(os){var Lr=os.state;if(B()){var FS=Q(),Jl=FS.box;["placement","reference-hidden","escaped"].forEach(function(ss){ss==="placement"?Jl.setAttribute("data-placement",Lr.placement):Lr.attributes.popper["data-popper-"+ss]?Jl.setAttribute("data-"+ss,""):Jl.removeAttribute("data-"+ss)}),Lr.attributes.popper={}}}},er=[{name:"offset",options:{offset:ft}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!wt}},Hp];B()&&Vt&&er.push({name:"arrow",options:{element:Vt,padding:3}}),er.push.apply(er,(V==null?void 0:V.modifiers)||[]),v.popperInstance=Dw(Jt,k,Object.assign({},V,{placement:J,onFirstUpdate:A,modifiers:er}))}function $n(){v.popperInstance&&(v.popperInstance.destroy(),v.popperInstance=null)}function Pe(){var M=v.props.appendTo,V,J=T();v.props.interactive&&M===$A||M==="parent"?V=J.parentNode:V=tf(M,[J]),V.contains(k)||V.appendChild(k),v.state.isMounted=!0,Zn()}function $e(){return ho(k.querySelectorAll("[data-tippy-root]"))}function Tn(M){v.clearDelayTimeouts(),M&&F("onTrigger",[v,M]),$();var V=O(!0),J=E(),ft=J[0],At=J[1];Ye.isTouch&&ft==="hold"&&At&&(V=At),V?r=setTimeout(function(){v.show()},V):v.show()}function tn(M){if(v.clearDelayTimeouts(),F("onUntrigger",[v,M]),!v.state.isVisible){dt();return}if(!(v.props.trigger.indexOf("mouseenter")>=0&&v.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(M.type)>=0&&s)){var V=O(!1);V?i=setTimeout(function(){v.state.isVisible&&v.hide()},V):o=requestAnimationFrame(function(){v.hide()})}}function tr(){v.state.isEnabled=!0}function Ir(){v.hide(),v.state.isEnabled=!1}function Tr(){clearTimeout(r),clearTimeout(i),cancelAnimationFrame(o)}function Mr(M){if(!v.state.isDestroyed){F("onBeforeUpdate",[v,M]),Ze();var V=v.props,J=uf(e,Object.assign({},V,rf(M),{ignoreAttributes:!0}));v.props=J,Ce(),V.interactiveDebounce!==J.interactiveDebounce&&(S(),h=ef(An,J.interactiveDebounce)),V.triggerTarget&&!J.triggerTarget?yr(V.triggerTarget).forEach(function(ft){ft.removeAttribute("aria-expanded")}):J.triggerTarget&&e.removeAttribute("aria-expanded"),U(),N(),P&&P(V,J),v.popperInstance&&(Zn(),$e().forEach(function(ft){requestAnimationFrame(ft._tippy.popperInstance.forceUpdate)})),F("onAfterUpdate",[v,M])}}function Or(M){v.setProps({content:M})}function L(){var M=v.state.isVisible,V=v.state.isDestroyed,J=!v.state.isEnabled,ft=Ye.isTouch&&!v.props.touch,At=Va(v.props.duration,0,Te.duration);if(!(M||V||J||ft)&&!T().hasAttribute("disabled")&&(F("onShow",[v],!1),v.props.onShow(v)!==!1)){if(v.state.isVisible=!0,B()&&(k.style.visibility="visible"),N(),$(),v.state.isMounted||(k.style.transition="none"),B()){var wt=Q(),Vt=wt.box,Jt=wt.content;Ya([Vt,Jt],0)}A=function(){var er;if(!(!v.state.isVisible||c)){if(c=!0,k.offsetHeight,k.style.transition=v.props.moveTransition,B()&&v.props.animation){var Xl=Q(),os=Xl.box,Lr=Xl.content;Ya([os,Lr],At),of([os,Lr],"visible")}x(),U(),nf(Xa,v),(er=v.popperInstance)==null||er.forceUpdate(),F("onMount",[v]),v.props.animation&&B()&&Rt(At,function(){v.state.isShown=!0,F("onShown",[v])})}},Pe()}}function X(){var M=!v.state.isVisible,V=v.state.isDestroyed,J=!v.state.isEnabled,ft=Va(v.props.duration,1,Te.duration);if(!(M||V||J)&&(F("onHide",[v],!1),v.props.onHide(v)!==!1)){if(v.state.isVisible=!1,v.state.isShown=!1,c=!1,s=!1,B()&&(k.style.visibility="hidden"),S(),dt(),N(!0),B()){var At=Q(),wt=At.box,Vt=At.content;v.props.animation&&(Ya([wt,Vt],ft),of([wt,Vt],"hidden"))}x(),U(),v.props.animation?B()&&kt(ft,v.unmount):v.unmount()}}function it(M){R().addEventListener("mousemove",h),nf(go,h),h(M)}function vt(){v.state.isVisible&&v.hide(),v.state.isMounted&&($n(),$e().forEach(function(M){M._tippy.unmount()}),k.parentNode&&k.parentNode.removeChild(k),Xa=Xa.filter(function(M){return M!==v}),v.state.isMounted=!1,F("onHidden",[v]))}function yt(){v.state.isDestroyed||(v.clearDelayTimeouts(),v.unmount(),Ze(),delete e._tippy,v.state.isDestroyed=!0,F("onDestroy",[v]))}}function ui(e,t){t===void 0&&(t={});var n=Te.plugins.concat(t.plugins||[]);jw();var r=Object.assign({},t,{plugins:n}),i=Fw(e),o=i.reduce(function(s,a){var l=a&&$w(a,r);return l&&s.push(l),s},[]);return po(e)?o[0]:o}ui.defaultProps=Te,ui.setDefaultProps=Gw,ui.currentInput=Ye,Object.assign({},OA,{effect:function(t){var n=t.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}}),ui.setDefaultProps({render:ff});function tx({color:e="var(--contrast-6)",icon:t="info-circle-fill",tooltip:n}){const r=nt(null);return se(()=>{r.current&&ui(r.current,{content:n,theme:"access",appendTo:r.current.parentElement})},[r.current]),m("button",{class:"info-tip",style:{color:e},ref:r,children:m(ht,{name:t})})}function ex({infoGroupId:e}){const t=Zt(`https://support.access-ci.org/api/1.0/kb/${e}`);if(!(!t||t.error||!t.length))return m(je,{title:"Documentation",icon:"book",children:m("ul",{children:t.map(({title:n,description:r,link:i})=>m("li",{children:[m("a",{href:Qc(i),children:n}),r?m(tx,{tooltip:Ss(r)}):null]}))})})}function nx({children:e,icon:t="megaphone-fill"}){return m("div",{class:"alert",children:[t?m(ht,{name:t}):null,m("div",{class:"alert-body",children:e})]})}function rx({children:e}){const[t,n]=G(!1);return m("div",{class:`expand-text ${t?"expanded":"contracted"}`,children:[e,m("button",{class:"expand-button",onClick:()=>n(!t),children:[m(ht,{name:`caret-${t?"up":"left"}-fill`}),t?"Less":"More"]})]})}function ix({date__end:e,date__start:t,description:n,location:r,registration:i,speaker:o,title:s}){const a=i,l=a?m("a",{href:a,children:s}):s,c=[];let u=null;const d=t,A=e;if(d){const f=new Date(d),h=new Date(A||d),[p,g]=[f,h].map(k=>k.toLocaleString("en-US",{dateStyle:"long"})),[b,w]=[f,h].map(k=>k.toLocaleString("en-US",{timeStyle:"short"})),y=f.toLocaleTimeString("en-US",{timeZoneName:"short"}).split(" ")[2],v=[`${p},`,b];(w!=b||g!=p)&&(v.push("-"),g!=p&&v.push(`${g},`),v.push(w)),v.push(`(${y})`),c.push(m(ht,{name:"calendar"}),v.join(" ")),o&&c.push(m(ht,{name:"people-fill"}),o),r&&c.push(m(ht,{name:"geo-alt-fill"}),r);const _=f.toLocaleString("en-US",{dateStyle:"medium"}).split(",")[0].split(" ").map(k=>m("span",{children:k}));u=a?m("a",{href:a,class:"event-icon",children:_}):m("div",{class:"event-icon",children:_})}return m("div",{class:"event",children:[u,m("div",{class:"event-details",children:[m("h3",{children:l}),c.length?m("div",{class:"event-metadata",children:c}):null,n?m(rx,{children:m("p",{children:Es(n)})}):null]})]})}function ox({infoGroupId:e}){const t=Ur(e),n=Zt("https://operations-api.access-ci.org/wh2/news/v1/affiliation/access-ci.org/current_outages/"),r=Zt("https://operations-api.access-ci.org/wh2/news/v1/affiliation/access-ci.org/future_outages/"),i=Zt(`https://support.access-ci.org/api/1.1/events/ag/${e}`),o=_s([t,n,r],(a,l,c)=>[...l.results,...c.results].filter(u=>u.AffectedResources.some(d=>a.infoResourceIds.includes(d.ResourceID))),[]),s=_s([i],a=>a.filter(l=>new Date(l.date__start)>=new Date),[]);if(!(!o.length&&!s.length))return m(je,{title:"Announcements and Events",icon:"calendar3",children:[o.map(({Subject:a,Content:l})=>m(nx,{children:[a," ",m("a",{href:"https://operations.access-ci.org/infrastructure_news_view",children:"Learn more."})]})),s.map(a=>ix(a))]})}function sx({children:e,headingLevel:t=2,title:n}){const[r,i]=G(!1),o=`h${t}`;return m("div",{class:"accordion",children:[m(o,{class:"accordion-heading",children:m("button",{"aria-expanded":r,onClick:()=>i(!r),children:[n,m(ht,{name:r?"caret-up-fill":"caret-down-fill"})]})}),m("div",{class:"accordion-content",style:{display:r?"block":"none"},children:e})]})}function ax({resource_descriptive_name:e,resource_description:t,compute:n,storage:r}){const i=(n||r||{}).recommended_use;return m(sx,{title:e,children:[t?Es(t):null,i?m(tt,{children:[m("h3",{children:"Recommended Use"}),Es(i)]}):null]})}function lx({infoGroupId:e}){const t=Ur(e),n=Zt(t?t.infoResourceIds.map(l=>`https://operations-api.access-ci.org/wh2/cider/v1/info_resourceid/${l}/?format=json`):null,{defaultValue:[]}),r=n.filter(l=>l.results&&l.results.cider_type=="Compute").map(l=>({...l.results.compute,key:l.results.info_resourceid,name:l.results.resource_descriptive_name,format:(c,u)=>{const d=l.results.compute[u.attr];return u.format&&d?u.format(d,u):d||m(tt,{children:"—"})}})),i=n.length?[{name:"Nodes",attr:"node_count",format:l=>l.toLocaleString("en-us")},{name:"CPU Type",attr:"cpu_type"},{name:"CPU Speed",attr:"cpu_speed_ghz",format:l=>`${l} Ghz`},{name:"CPU Cores per Node",attr:"cpu_count_per_node"},{name:"RAM per CPU Core",attr:"memory_per_cpu_gb",format:l=>`${l.toLocaleString("en-us")} GB`},{name:"GPU",attr:"gpu_description"},{name:"Local Storage per Node",attr:"local_storage_per_node_gb",format:l=>`${l.toLocaleString("en-us")} GB`},{name:"Network Interconnect",attr:"interconnect"},{name:"Operating System",attr:"operating_system"},{name:"Batch System",attr:"batch_system"}].filter(l=>r.some(c=>c[l.attr])):[],o={key:"name",name:"Attribute",format:l=>m("strong",{children:l})},s=r.length>0&&i.length>0,a={compute:[],storage:[],other:[]};for(let{results:l}of n)(a[l.cider_type.toLowerCase()]||a.other).push(m(ax,{...l}));return m(tt,{children:[s||a.compute.length>0?m(je,{title:"Compute Resources",icon:"cpu-fill",children:[a.compute,s&&m(tt,{children:[m("h3",{children:"Specifications"}),m(lo,{columns:[o,...r],rows:i,maxHeight:null})]})]}):null,a.storage.length>0?m(je,{title:"Storage Resources",icon:"hdd-fill",children:a.storage}):null,a.other.length>0?m(je,{title:"Other Resources",icon:"stars",children:a.other}):null]})}/*!
|
|
75
115
|
* Glide.js v3.6.2
|
|
76
116
|
* (c) 2013-2024 Jędrzej Chałubek (https://github.com/jedrzejchalubek/)
|
|
77
117
|
* Released under the MIT License.
|
|
78
|
-
*/function uA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function hA(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?uA(Object(n),!0).forEach(function(i){Q0(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uA(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function Ao(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ao=function(t){return typeof t}:Ao=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ao(e)}function uo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O0(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function ho(e,t,n){return t&&O0(e.prototype,t),e}function Q0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function L0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cs(e,t)}function On(e){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},On(e)}function cs(e,t){return cs=Object.setPrototypeOf||function(i,o){return i.__proto__=o,i},cs(e,t)}function R0(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function H0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F0(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return H0(e)}function z0(e){var t=R0();return function(){var i=On(e),o;if(t){var r=On(this).constructor;o=Reflect.construct(i,arguments,r)}else o=i.apply(this,arguments);return F0(this,o)}}function N0(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=On(e),e!==null););return e}function fo(){return typeof Reflect<"u"&&Reflect.get?fo=Reflect.get:fo=function(t,n,i){var o=N0(t,n);if(o){var r=Object.getOwnPropertyDescriptor(o,n);return r.get?r.get.call(arguments.length<3?t:i):r.value}},fo.apply(this,arguments)}var j0={type:"slider",startAt:0,perView:1,focusAt:0,gap:10,autoplay:!1,hoverpause:!0,keyboard:!0,bound:!1,swipeThreshold:80,dragThreshold:120,perSwipe:"",touchRatio:.5,touchAngle:45,animationDuration:400,rewind:!0,rewindDuration:800,animationTimingFunc:"cubic-bezier(.165, .840, .440, 1)",waitForTransition:!0,throttle:10,direction:"ltr",peek:0,cloningRatio:1,breakpoints:{},classes:{swipeable:"glide--swipeable",dragging:"glide--dragging",direction:{ltr:"glide--ltr",rtl:"glide--rtl"},type:{slider:"glide--slider",carousel:"glide--carousel"},slide:{clone:"glide__slide--clone",active:"glide__slide--active"},arrow:{disabled:"glide__arrow--disabled"},nav:{active:"glide__bullet--active"}}};function qe(e){console.error("[Glide warn]: ".concat(e))}function Ae(e){return parseInt(e)}function ls(e){return typeof e=="string"}function pi(e){var t=Ao(e);return t==="function"||t==="object"&&!!e}function po(e){return typeof e=="function"}function U0(e){return typeof e>"u"}function As(e){return e.constructor===Array}function V0(e,t,n){var i={};for(var o in t)po(t[o])?i[o]=t[o](e,i,n):qe("Extension must be a function");for(var r in i)po(i[r].mount)&&i[r].mount();return i}function yt(e,t,n){Object.defineProperty(e,t,n)}function fA(e,t){var n=Object.assign({},e,t);if(t.hasOwnProperty("classes")){n.classes=Object.assign({},e.classes,t.classes);var i=["direction","type","slide","arrow","nav"];i.forEach(function(o){t.classes.hasOwnProperty(o)&&(n.classes[o]=hA(hA({},e.classes[o]),t.classes[o]))})}return t.hasOwnProperty("breakpoints")&&(n.breakpoints=Object.assign({},e.breakpoints,t.breakpoints)),n}var W0=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};uo(this,e),this.events=t,this.hop=t.hasOwnProperty}return ho(e,[{key:"on",value:function(n,i){if(As(n)){for(var o=0;o<n.length;o++)this.on(n[o],i);return}this.hop.call(this.events,n)||(this.events[n]=[]);var r=this.events[n].push(i)-1;return{remove:function(){delete this.events[n][r]}}}},{key:"emit",value:function(n,i){if(As(n)){for(var o=0;o<n.length;o++)this.emit(n[o],i);return}this.hop.call(this.events,n)&&this.events[n].forEach(function(r){r(i||{})})}}]),e}(),Y0=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};uo(this,e),this._c={},this._t=[],this._e=new W0,this.disabled=!1,this.selector=t,this.settings=fA(j0,n),this.index=this.settings.startAt}return ho(e,[{key:"mount",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this._e.emit("mount.before"),pi(n)?this._c=V0(this,n,this._e):qe("You need to provide a object on `mount()`"),this._e.emit("mount.after"),this}},{key:"mutate",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return As(n)?this._t=n:qe("You need to provide a array on `mutate()`"),this}},{key:"update",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.settings=fA(this.settings,n),n.hasOwnProperty("startAt")&&(this.index=n.startAt),this._e.emit("update"),this}},{key:"go",value:function(n){return this._c.Run.make(n),this}},{key:"move",value:function(n){return this._c.Transition.disable(),this._c.Move.make(n),this}},{key:"destroy",value:function(){return this._e.emit("destroy"),this}},{key:"play",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return n&&(this.settings.autoplay=n),this._e.emit("play"),this}},{key:"pause",value:function(){return this._e.emit("pause"),this}},{key:"disable",value:function(){return this.disabled=!0,this}},{key:"enable",value:function(){return this.disabled=!1,this}},{key:"on",value:function(n,i){return this._e.on(n,i),this}},{key:"isType",value:function(n){return this.settings.type===n}},{key:"settings",get:function(){return this._o},set:function(n){pi(n)?this._o=n:qe("Options must be an `object` instance.")}},{key:"index",get:function(){return this._i},set:function(n){this._i=Ae(n)}},{key:"type",get:function(){return this.settings.type}},{key:"disabled",get:function(){return this._d},set:function(n){this._d=!!n}}]),e}();function K0(e,t,n){var i={mount:function(){this._o=!1},make:function(l){var A=this;e.disabled||(!e.settings.waitForTransition||e.disable(),this.move=l,n.emit("run.before",this.move),this.calculate(),n.emit("run",this.move),t.Transition.after(function(){A.isStart()&&n.emit("run.start",A.move),A.isEnd()&&n.emit("run.end",A.move),A.isOffset()&&(A._o=!1,n.emit("run.offset",A.move)),n.emit("run.after",A.move),e.enable()}))},calculate:function(){var l=this.move,A=this.length,d=l.steps,u=l.direction,h=1;if(u==="="){if(e.settings.bound&&Ae(d)>A){e.index=A;return}e.index=d;return}if(u===">"&&d===">"){e.index=A;return}if(u==="<"&&d==="<"){e.index=0;return}if(u==="|"&&(h=e.settings.perView||1),u===">"||u==="|"&&d===">"){var p=o(h);p>A&&(this._o=!0),e.index=r(p,h);return}if(u==="<"||u==="|"&&d==="<"){var g=s(h);g<0&&(this._o=!0),e.index=a(g,h);return}qe("Invalid direction pattern [".concat(u).concat(d,"] has been used"))},isStart:function(){return e.index<=0},isEnd:function(){return e.index>=this.length},isOffset:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0;return l?this._o?l==="|>"?this.move.direction==="|"&&this.move.steps===">":l==="|<"?this.move.direction==="|"&&this.move.steps==="<":this.move.direction===l:!1:this._o},isBound:function(){return e.isType("slider")&&e.settings.focusAt!=="center"&&e.settings.bound}};function o(c){var l=e.index;return e.isType("carousel")?l+c:l+(c-l%c)}function r(c,l){var A=i.length;return c<=A?c:e.isType("carousel")?c-(A+1):e.settings.rewind?i.isBound()&&!i.isEnd()?A:0:i.isBound()?A:Math.floor(A/l)*l}function s(c){var l=e.index;if(e.isType("carousel"))return l-c;var A=Math.ceil(l/c);return(A-1)*c}function a(c,l){var A=i.length;return c>=0?c:e.isType("carousel")?c+(A+1):e.settings.rewind?i.isBound()&&i.isStart()?A:Math.floor(A/l)*l:0}return yt(i,"move",{get:function(){return this._m},set:function(l){var A=l.substr(1);this._m={direction:l.substr(0,1),steps:A?Ae(A)?Ae(A):A:0}}}),yt(i,"length",{get:function(){var l=e.settings,A=t.Html.slides.length;return this.isBound()?A-1-(Ae(l.perView)-1)+Ae(l.focusAt):A-1}}),yt(i,"offset",{get:function(){return this._o}}),i}function pA(){return new Date().getTime()}function gA(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,o,r,s,a=0,c=function(){a=n.leading===!1?0:pA(),i=null,s=e.apply(o,r),i||(o=r=null)},l=function(){var d=pA();!a&&n.leading===!1&&(a=d);var u=t-(d-a);return o=this,r=arguments,u<=0||u>t?(i&&(clearTimeout(i),i=null),a=d,s=e.apply(o,r),i||(o=r=null)):!i&&n.trailing!==!1&&(i=setTimeout(c,u)),s};return l.cancel=function(){clearTimeout(i),a=0,i=o=r=null},l}var go={ltr:["marginLeft","marginRight"],rtl:["marginRight","marginLeft"]};function q0(e,t,n){var i={apply:function(r){for(var s=0,a=r.length;s<a;s++){var c=r[s].style,l=t.Direction.value;s!==0?c[go[l][0]]="".concat(this.value/2,"px"):c[go[l][0]]="",s!==r.length-1?c[go[l][1]]="".concat(this.value/2,"px"):c[go[l][1]]=""}},remove:function(r){for(var s=0,a=r.length;s<a;s++){var c=r[s].style;c.marginLeft="",c.marginRight=""}}};return yt(i,"value",{get:function(){return Ae(e.settings.gap)}}),yt(i,"grow",{get:function(){return i.value*t.Sizes.length}}),yt(i,"reductor",{get:function(){var r=e.settings.perView;return i.value*(r-1)/r}}),n.on(["build.after","update"],gA(function(){i.apply(t.Html.wrapper.children)},30)),n.on("destroy",function(){i.remove(t.Html.wrapper.children)}),i}function mA(e){if(e&&e.parentNode){for(var t=e.parentNode.firstChild,n=[];t;t=t.nextSibling)t.nodeType===1&&t!==e&&n.push(t);return n}return[]}function ds(e){return Array.prototype.slice.call(e)}var X0='[data-glide-el="track"]';function G0(e,t,n){var i={mount:function(){this.root=e.selector,this.track=this.root.querySelector(X0),this.collectSlides()},collectSlides:function(){this.slides=ds(this.wrapper.children).filter(function(r){return!r.classList.contains(e.settings.classes.slide.clone)})}};return yt(i,"root",{get:function(){return i._r},set:function(r){ls(r)&&(r=document.querySelector(r)),r!==null?i._r=r:qe("Root element must be a existing Html node")}}),yt(i,"track",{get:function(){return i._t},set:function(r){i._t=r}}),yt(i,"wrapper",{get:function(){return i.track.children[0]}}),n.on("update",function(){i.collectSlides()}),i}function J0(e,t,n){var i={mount:function(){this.value=e.settings.peek}};return yt(i,"value",{get:function(){return i._v},set:function(r){pi(r)?(r.before=Ae(r.before),r.after=Ae(r.after)):r=Ae(r),i._v=r}}),yt(i,"reductor",{get:function(){var r=i.value,s=e.settings.perView;return pi(r)?r.before/s+r.after/s:r*2/s}}),n.on(["resize","update"],function(){i.mount()}),i}function Z0(e,t,n){var i={mount:function(){this._o=0},make:function(){var r=this,s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.offset=s,n.emit("move",{movement:this.value}),t.Transition.after(function(){n.emit("move.after",{movement:r.value})})}};return yt(i,"offset",{get:function(){return i._o},set:function(r){i._o=U0(r)?0:Ae(r)}}),yt(i,"translate",{get:function(){return t.Sizes.slideWidth*e.index}}),yt(i,"value",{get:function(){var r=this.offset,s=this.translate;return t.Direction.is("rtl")?s+r:s-r}}),n.on(["build.before","run"],function(){i.make()}),i}function $0(e,t,n){var i={setupSlides:function(){for(var r="".concat(this.slideWidth,"px"),s=t.Html.slides,a=0;a<s.length;a++)s[a].style.width=r},setupWrapper:function(){t.Html.wrapper.style.width="".concat(this.wrapperSize,"px")},remove:function(){for(var r=t.Html.slides,s=0;s<r.length;s++)r[s].style.width="";t.Html.wrapper.style.width=""}};return yt(i,"length",{get:function(){return t.Html.slides.length}}),yt(i,"width",{get:function(){return t.Html.track.offsetWidth}}),yt(i,"wrapperSize",{get:function(){return i.slideWidth*i.length+t.Gaps.grow+t.Clones.grow}}),yt(i,"slideWidth",{get:function(){return i.width/e.settings.perView-t.Peek.reductor-t.Gaps.reductor}}),n.on(["build.before","resize","update"],function(){i.setupSlides(),i.setupWrapper()}),n.on("destroy",function(){i.remove()}),i}function tm(e,t,n){var i={mount:function(){n.emit("build.before"),this.typeClass(),this.activeClass(),n.emit("build.after")},typeClass:function(){t.Html.root.classList.add(e.settings.classes.type[e.settings.type])},activeClass:function(){var r=e.settings.classes,s=t.Html.slides[e.index];s&&(s.classList.add(r.slide.active),mA(s).forEach(function(a){a.classList.remove(r.slide.active)}))},removeClasses:function(){var r=e.settings.classes,s=r.type,a=r.slide;t.Html.root.classList.remove(s[e.settings.type]),t.Html.slides.forEach(function(c){c.classList.remove(a.active)})}};return n.on(["destroy","update"],function(){i.removeClasses()}),n.on(["resize","update"],function(){i.mount()}),n.on("move.after",function(){i.activeClass()}),i}function em(e,t,n){var i={mount:function(){this.items=[],e.isType("carousel")&&(this.items=this.collect())},collect:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=t.Html.slides,a=e.settings,c=a.perView,l=a.classes,A=a.cloningRatio;if(s.length>0)for(var d=+!!e.settings.peek,u=c+d+Math.round(c/2),h=s.slice(0,u).reverse(),p=s.slice(u*-1),g=0;g<Math.max(A,Math.floor(c/s.length));g++){for(var b=0;b<h.length;b++){var v=h[b].cloneNode(!0);v.classList.add(l.slide.clone),r.push(v)}for(var w=0;w<p.length;w++){var _=p[w].cloneNode(!0);_.classList.add(l.slide.clone),r.unshift(_)}}return r},append:function(){for(var r=this.items,s=t.Html,a=s.wrapper,c=s.slides,l=Math.floor(r.length/2),A=r.slice(0,l).reverse(),d=r.slice(l*-1).reverse(),u="".concat(t.Sizes.slideWidth,"px"),h=0;h<d.length;h++)a.appendChild(d[h]);for(var p=0;p<A.length;p++)a.insertBefore(A[p],c[0]);for(var g=0;g<r.length;g++)r[g].style.width=u},remove:function(){for(var r=this.items,s=0;s<r.length;s++)t.Html.wrapper.removeChild(r[s])}};return yt(i,"grow",{get:function(){return(t.Sizes.slideWidth+t.Gaps.value)*i.items.length}}),n.on("update",function(){i.remove(),i.mount(),i.append()}),n.on("build.before",function(){e.isType("carousel")&&i.append()}),n.on("destroy",function(){i.remove()}),i}var bA=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};uo(this,e),this.listeners=t}return ho(e,[{key:"on",value:function(n,i,o){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;ls(n)&&(n=[n]);for(var s=0;s<n.length;s++)this.listeners[n[s]]=o,i.addEventListener(n[s],this.listeners[n[s]],r)}},{key:"off",value:function(n,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ls(n)&&(n=[n]);for(var r=0;r<n.length;r++)i.removeEventListener(n[r],this.listeners[n[r]],o)}},{key:"destroy",value:function(){delete this.listeners}}]),e}();function nm(e,t,n){var i=new bA,o={mount:function(){this.bind()},bind:function(){i.on("resize",window,gA(function(){n.emit("resize")},e.settings.throttle))},unbind:function(){i.off("resize",window)}};return n.on("destroy",function(){o.unbind(),i.destroy()}),o}var im=["ltr","rtl"],om={">":"<","<":">","=":"="};function rm(e,t,n){var i={mount:function(){this.value=e.settings.direction},resolve:function(r){var s=r.slice(0,1);return this.is("rtl")?r.split(s).join(om[s]):r},is:function(r){return this.value===r},addClass:function(){t.Html.root.classList.add(e.settings.classes.direction[this.value])},removeClass:function(){t.Html.root.classList.remove(e.settings.classes.direction[this.value])}};return yt(i,"value",{get:function(){return i._v},set:function(r){im.indexOf(r)>-1?i._v=r:qe("Direction value must be `ltr` or `rtl`")}}),n.on(["destroy","update"],function(){i.removeClass()}),n.on("update",function(){i.mount()}),n.on(["build.before","update"],function(){i.addClass()}),i}function sm(e,t){return{modify:function(i){return t.Direction.is("rtl")?-i:i}}}function am(e,t){return{modify:function(i){var o=Math.floor(i/t.Sizes.slideWidth);return i+t.Gaps.value*o}}}function cm(e,t){return{modify:function(i){return i+t.Clones.grow/2}}}function lm(e,t){return{modify:function(i){if(e.settings.focusAt>=0){var o=t.Peek.value;return pi(o)?i-o.before:i-o}return i}}}function Am(e,t){return{modify:function(i){var o=t.Gaps.value,r=t.Sizes.width,s=e.settings.focusAt,a=t.Sizes.slideWidth;return s==="center"?i-(r/2-a/2):i-a*s-o*s}}}function dm(e,t,n){var i=[am,cm,lm,Am].concat(e._t,[sm]);return{mutate:function(r){for(var s=0;s<i.length;s++){var a=i[s];po(a)&&po(a().modify)?r=a(e,t,n).modify(r):qe("Transformer should be a function that returns an object with `modify()` method")}return r}}}function um(e,t,n){var i={set:function(r){var s=dm(e,t).mutate(r),a="translate3d(".concat(-1*s,"px, 0px, 0px)");t.Html.wrapper.style.mozTransform=a,t.Html.wrapper.style.webkitTransform=a,t.Html.wrapper.style.transform=a},remove:function(){t.Html.wrapper.style.transform=""},getStartIndex:function(){var r=t.Sizes.length,s=e.index,a=e.settings.perView;return t.Run.isOffset(">")||t.Run.isOffset("|>")?r+(s-a):(s+a)%r},getTravelDistance:function(){var r=t.Sizes.slideWidth*e.settings.perView;return t.Run.isOffset(">")||t.Run.isOffset("|>")?r*-1:r}};return n.on("move",function(o){if(!e.isType("carousel")||!t.Run.isOffset())return i.set(o.movement);t.Transition.after(function(){n.emit("translate.jump"),i.set(t.Sizes.slideWidth*e.index)});var r=t.Sizes.slideWidth*t.Translate.getStartIndex();return i.set(r-t.Translate.getTravelDistance())}),n.on("destroy",function(){i.remove()}),i}function hm(e,t,n){var i=!1,o={compose:function(s){var a=e.settings;return i?"".concat(s," 0ms ").concat(a.animationTimingFunc):"".concat(s," ").concat(this.duration,"ms ").concat(a.animationTimingFunc)},set:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";t.Html.wrapper.style.transition=this.compose(s)},remove:function(){t.Html.wrapper.style.transition=""},after:function(s){setTimeout(function(){s()},this.duration)},enable:function(){i=!1,this.set()},disable:function(){i=!0,this.set()}};return yt(o,"duration",{get:function(){var s=e.settings;return e.isType("slider")&&t.Run.offset?s.rewindDuration:s.animationDuration}}),n.on("move",function(){o.set()}),n.on(["build.before","resize","translate.jump"],function(){o.disable()}),n.on("run",function(){o.enable()}),n.on("destroy",function(){o.remove()}),o}var vA=!1;try{var wA=Object.defineProperty({},"passive",{get:function(){vA=!0}});window.addEventListener("testPassive",null,wA),window.removeEventListener("testPassive",null,wA)}catch{}var yA=vA,fm='[data-glide-el="controls[nav]"]',us='[data-glide-el^="controls"]',pm="".concat(us,' [data-glide-dir*="<"]'),gm="".concat(us,' [data-glide-dir*=">"]');function mm(e,t,n){var i=new bA,o=yA?{passive:!0}:!1,r={mount:function(){this._n=t.Html.root.querySelectorAll(fm),this._c=t.Html.root.querySelectorAll(us),this._arrowControls={previous:t.Html.root.querySelectorAll(pm),next:t.Html.root.querySelectorAll(gm)},this.addBindings()},setActive:function(){for(var a=0;a<this._n.length;a++)this.addClass(this._n[a].children)},removeActive:function(){for(var a=0;a<this._n.length;a++)this.removeClass(this._n[a].children)},addClass:function(a){var c=e.settings,l=a[e.index];l&&(l.classList.add(c.classes.nav.active),mA(l).forEach(function(A){A.classList.remove(c.classes.nav.active)}))},removeClass:function(a){var c=a[e.index];c==null||c.classList.remove(e.settings.classes.nav.active)},setArrowState:function(){if(!e.settings.rewind){var a=r._arrowControls.next,c=r._arrowControls.previous;this.resetArrowState(a,c),e.index===0&&this.disableArrow(c),e.index===t.Run.length&&this.disableArrow(a)}},resetArrowState:function(){for(var a=e.settings,c=arguments.length,l=new Array(c),A=0;A<c;A++)l[A]=arguments[A];l.forEach(function(d){ds(d).forEach(function(u){u.classList.remove(a.classes.arrow.disabled)})})},disableArrow:function(){for(var a=e.settings,c=arguments.length,l=new Array(c),A=0;A<c;A++)l[A]=arguments[A];l.forEach(function(d){ds(d).forEach(function(u){u.classList.add(a.classes.arrow.disabled)})})},addBindings:function(){for(var a=0;a<this._c.length;a++)this.bind(this._c[a].children)},removeBindings:function(){for(var a=0;a<this._c.length;a++)this.unbind(this._c[a].children)},bind:function(a){for(var c=0;c<a.length;c++)i.on("click",a[c],this.click),i.on("touchstart",a[c],this.click,o)},unbind:function(a){for(var c=0;c<a.length;c++)i.off(["click","touchstart"],a[c])},click:function(a){!yA&&a.type==="touchstart"&&a.preventDefault();var c=a.currentTarget.getAttribute("data-glide-dir");t.Run.make(t.Direction.resolve(c))}};return yt(r,"items",{get:function(){return r._c}}),n.on(["mount.after","move.after"],function(){r.setActive()}),n.on(["mount.after","run"],function(){r.setArrowState()}),n.on("destroy",function(){r.removeBindings(),r.removeActive(),i.destroy()}),r}var bm={Html:G0,Translate:um,Transition:hm,Direction:rm,Peek:J0,Sizes:$0,Gaps:q0,Move:Z0,Clones:em,Resize:nm,Build:tm,Run:K0},vm=function(e){L0(n,e);var t=z0(n);function n(){return uo(this,n),t.apply(this,arguments)}return ho(n,[{key:"mount",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return fo(On(n.prototype),"mount",this).call(this,Object.assign({},bm,o))}}]),n}(Y0);function mo({children:e,cssClass:t=""}){const n=q(null);return et(()=>{n.current&&new vm(n.current).mount({Controls:mm})},[]),f("section",{class:`carousel ${t}`,children:f("div",{class:"glide",ref:n,children:[f("div",{class:"glide__track","data-glide-el":"track",children:f("ul",{class:"glide__slides",children:e})}),f("div",{class:"glide__arrows","data-glide-el":"controls",children:[f("button",{class:"glide__arrow glide__arrow--left","data-glide-dir":"<",children:f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",children:f("path",{d:"M0 12l10.975 11 2.848-2.828-6.176-6.176H24v-3.992H7.646l6.176-6.176L10.975 1 0 12z"})})}),f("button",{class:"glide__arrow glide__arrow--right","data-glide-dir":">",children:f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",children:f("path",{d:"M13.025 1l-2.847 2.828 6.176 6.176h-16.354v3.992h16.354l-6.176 6.176 2.847 2.828 10.975-11z"})})})]})]})})}function xA({children:e}){return f("li",{class:"glide__slide",children:e})}function wm({title:e,description:t,linkText:n,linkURI:i,imageURI:o,imageAltText:r}){return f(xA,{children:f("span",{class:"slide-inner",children:[o&&f("a",{href:i,class:"slide-image",children:f("img",{src:o,alt:r})}),f("span",{class:"slide-text",children:[e&&f("h2",{children:e}),t&&f("p",{children:t}),n&&f("a",{href:i,children:n})]})]})})}mo.Slide=xA,mo.ImageSlide=wm;function ym({children:e,maxHeight:t="400px"}){return f("div",{class:"scroll-text",children:f("div",{class:"scroll-text-inner",style:{maxHeight:t},children:e})})}const xm="https://allocations.access-ci.org/current-projects.json";function bo({icon:e,text:t,title:n}){if(t)return f("abbr",{class:"project-meta",title:n,children:[f(nt,{name:e}),t]})}function _m({infoGroupId:e}){const t=$n(e),n=Lt(t?`${xm}?${t.infoResourceIds.map(o=>`info_resourceids[]=${o}`).join("&")}`:null);if(!n||!n.projects||!n.projects.length)return null;const i=[{key:"resourceName",name:"Resource"},{key:"allocation",name:"Current Allocation",format:(o,r)=>r.units=="[Yes = 1, No = 0]"?o==1?"Yes":"No":`${o.toLocaleString("en-us")} ${r.units||""}`}];return f(be,{title:"Recent Projects",icon:"pc-display",children:f(mo,{cssClass:"carousel-projects",children:n.projects.map(o=>f(mo.Slide,{children:[f("h3",{children:o.requestTitle}),f("div",{class:"project-metadata",children:[f(bo,{icon:"cash-coin",text:o.allocationType,title:"Allocation Type"}),f(bo,{icon:"person-fill",text:`${o.pi} (${o.piInstitution})`,title:"Primary Investigator"}),f(bo,{icon:"folder",text:o.fos,title:"Field of Science"}),f(bo,{icon:"calendar-range",text:[o.beginDate,o.endDate].map(r=>new Date(r).toLocaleString("en-US",{dateStyle:"medium"})).join(" to "),title:"Project Dates"})]}),f(ym,{children:[f("p",{children:o.abstract}),f(io,{columns:i,rows:o.resources,maxHeight:null})]})]}))})})}/*!
|
|
118
|
+
*/function hf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function pf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?hf(Object(n),!0).forEach(function(r){ux(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function mo(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?mo=function(t){return typeof t}:mo=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mo(e)}function bo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cx(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vo(e,t,n){return t&&cx(e.prototype,t),e}function ux(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ja(e,t)}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wr(e)}function Ja(e,t){return Ja=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Ja(e,t)}function Ax(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function fx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hx(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return fx(e)}function px(e){var t=Ax();return function(){var r=wr(e),i;if(t){var o=wr(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return hx(this,i)}}function gx(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=wr(e),e!==null););return e}function yo(){return typeof Reflect<"u"&&Reflect.get?yo=Reflect.get:yo=function(t,n,r){var i=gx(t,n);if(i){var o=Object.getOwnPropertyDescriptor(i,n);return o.get?o.get.call(arguments.length<3?t:r):o.value}},yo.apply(this,arguments)}var mx={type:"slider",startAt:0,perView:1,focusAt:0,gap:10,autoplay:!1,hoverpause:!0,keyboard:!0,bound:!1,swipeThreshold:80,dragThreshold:120,perSwipe:"",touchRatio:.5,touchAngle:45,animationDuration:400,rewind:!0,rewindDuration:800,animationTimingFunc:"cubic-bezier(.165, .840, .440, 1)",waitForTransition:!0,throttle:10,direction:"ltr",peek:0,cloningRatio:1,breakpoints:{},classes:{swipeable:"glide--swipeable",dragging:"glide--dragging",direction:{ltr:"glide--ltr",rtl:"glide--rtl"},type:{slider:"glide--slider",carousel:"glide--carousel"},slide:{clone:"glide__slide--clone",active:"glide__slide--active"},arrow:{disabled:"glide__arrow--disabled"},nav:{active:"glide__bullet--active"}}};function xn(e){console.error("[Glide warn]: ".concat(e))}function Me(e){return parseInt(e)}function Za(e){return typeof e=="string"}function di(e){var t=mo(e);return t==="function"||t==="object"&&!!e}function wo(e){return typeof e=="function"}function bx(e){return typeof e>"u"}function $a(e){return e.constructor===Array}function vx(e,t,n){var r={};for(var i in t)wo(t[i])?r[i]=t[i](e,r,n):xn("Extension must be a function");for(var o in r)wo(r[o].mount)&&r[o].mount();return r}function Lt(e,t,n){Object.defineProperty(e,t,n)}function gf(e,t){var n=Object.assign({},e,t);if(t.hasOwnProperty("classes")){n.classes=Object.assign({},e.classes,t.classes);var r=["direction","type","slide","arrow","nav"];r.forEach(function(i){t.classes.hasOwnProperty(i)&&(n.classes[i]=pf(pf({},e.classes[i]),t.classes[i]))})}return t.hasOwnProperty("breakpoints")&&(n.breakpoints=Object.assign({},e.breakpoints,t.breakpoints)),n}var yx=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};bo(this,e),this.events=t,this.hop=t.hasOwnProperty}return vo(e,[{key:"on",value:function(n,r){if($a(n)){for(var i=0;i<n.length;i++)this.on(n[i],r);return}this.hop.call(this.events,n)||(this.events[n]=[]);var o=this.events[n].push(r)-1;return{remove:function(){delete this.events[n][o]}}}},{key:"emit",value:function(n,r){if($a(n)){for(var i=0;i<n.length;i++)this.emit(n[i],r);return}this.hop.call(this.events,n)&&this.events[n].forEach(function(o){o(r||{})})}}]),e}(),wx=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};bo(this,e),this._c={},this._t=[],this._e=new yx,this.disabled=!1,this.selector=t,this.settings=gf(mx,n),this.index=this.settings.startAt}return vo(e,[{key:"mount",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this._e.emit("mount.before"),di(n)?this._c=vx(this,n,this._e):xn("You need to provide a object on `mount()`"),this._e.emit("mount.after"),this}},{key:"mutate",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return $a(n)?this._t=n:xn("You need to provide a array on `mutate()`"),this}},{key:"update",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.settings=gf(this.settings,n),n.hasOwnProperty("startAt")&&(this.index=n.startAt),this._e.emit("update"),this}},{key:"go",value:function(n){return this._c.Run.make(n),this}},{key:"move",value:function(n){return this._c.Transition.disable(),this._c.Move.make(n),this}},{key:"destroy",value:function(){return this._e.emit("destroy"),this}},{key:"play",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return n&&(this.settings.autoplay=n),this._e.emit("play"),this}},{key:"pause",value:function(){return this._e.emit("pause"),this}},{key:"disable",value:function(){return this.disabled=!0,this}},{key:"enable",value:function(){return this.disabled=!1,this}},{key:"on",value:function(n,r){return this._e.on(n,r),this}},{key:"isType",value:function(n){return this.settings.type===n}},{key:"settings",get:function(){return this._o},set:function(n){di(n)?this._o=n:xn("Options must be an `object` instance.")}},{key:"index",get:function(){return this._i},set:function(n){this._i=Me(n)}},{key:"type",get:function(){return this.settings.type}},{key:"disabled",get:function(){return this._d},set:function(n){this._d=!!n}}]),e}();function xx(e,t,n){var r={mount:function(){this._o=!1},make:function(c){var u=this;e.disabled||(!e.settings.waitForTransition||e.disable(),this.move=c,n.emit("run.before",this.move),this.calculate(),n.emit("run",this.move),t.Transition.after(function(){u.isStart()&&n.emit("run.start",u.move),u.isEnd()&&n.emit("run.end",u.move),u.isOffset()&&(u._o=!1,n.emit("run.offset",u.move)),n.emit("run.after",u.move),e.enable()}))},calculate:function(){var c=this.move,u=this.length,d=c.steps,A=c.direction,f=1;if(A==="="){if(e.settings.bound&&Me(d)>u){e.index=u;return}e.index=d;return}if(A===">"&&d===">"){e.index=u;return}if(A==="<"&&d==="<"){e.index=0;return}if(A==="|"&&(f=e.settings.perView||1),A===">"||A==="|"&&d===">"){var h=i(f);h>u&&(this._o=!0),e.index=o(h,f);return}if(A==="<"||A==="|"&&d==="<"){var p=s(f);p<0&&(this._o=!0),e.index=a(p,f);return}xn("Invalid direction pattern [".concat(A).concat(d,"] has been used"))},isStart:function(){return e.index<=0},isEnd:function(){return e.index>=this.length},isOffset:function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0;return c?this._o?c==="|>"?this.move.direction==="|"&&this.move.steps===">":c==="|<"?this.move.direction==="|"&&this.move.steps==="<":this.move.direction===c:!1:this._o},isBound:function(){return e.isType("slider")&&e.settings.focusAt!=="center"&&e.settings.bound}};function i(l){var c=e.index;return e.isType("carousel")?c+l:c+(l-c%l)}function o(l,c){var u=r.length;return l<=u?l:e.isType("carousel")?l-(u+1):e.settings.rewind?r.isBound()&&!r.isEnd()?u:0:r.isBound()?u:Math.floor(u/c)*c}function s(l){var c=e.index;if(e.isType("carousel"))return c-l;var u=Math.ceil(c/l);return(u-1)*l}function a(l,c){var u=r.length;return l>=0?l:e.isType("carousel")?l+(u+1):e.settings.rewind?r.isBound()&&r.isStart()?u:Math.floor(u/c)*c:0}return Lt(r,"move",{get:function(){return this._m},set:function(c){var u=c.substr(1);this._m={direction:c.substr(0,1),steps:u?Me(u)?Me(u):u:0}}}),Lt(r,"length",{get:function(){var c=e.settings,u=t.Html.slides.length;return this.isBound()?u-1-(Me(c.perView)-1)+Me(c.focusAt):u-1}}),Lt(r,"offset",{get:function(){return this._o}}),r}function mf(){return new Date().getTime()}function bf(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,i,o,s,a=0,l=function(){a=n.leading===!1?0:mf(),r=null,s=e.apply(i,o),r||(i=o=null)},c=function(){var d=mf();!a&&n.leading===!1&&(a=d);var A=t-(d-a);return i=this,o=arguments,A<=0||A>t?(r&&(clearTimeout(r),r=null),a=d,s=e.apply(i,o),r||(i=o=null)):!r&&n.trailing!==!1&&(r=setTimeout(l,A)),s};return c.cancel=function(){clearTimeout(r),a=0,r=i=o=null},c}var xo={ltr:["marginLeft","marginRight"],rtl:["marginRight","marginLeft"]};function kx(e,t,n){var r={apply:function(o){for(var s=0,a=o.length;s<a;s++){var l=o[s].style,c=t.Direction.value;s!==0?l[xo[c][0]]="".concat(this.value/2,"px"):l[xo[c][0]]="",s!==o.length-1?l[xo[c][1]]="".concat(this.value/2,"px"):l[xo[c][1]]=""}},remove:function(o){for(var s=0,a=o.length;s<a;s++){var l=o[s].style;l.marginLeft="",l.marginRight=""}}};return Lt(r,"value",{get:function(){return Me(e.settings.gap)}}),Lt(r,"grow",{get:function(){return r.value*t.Sizes.length}}),Lt(r,"reductor",{get:function(){var o=e.settings.perView;return r.value*(o-1)/o}}),n.on(["build.after","update"],bf(function(){r.apply(t.Html.wrapper.children)},30)),n.on("destroy",function(){r.remove(t.Html.wrapper.children)}),r}function vf(e){if(e&&e.parentNode){for(var t=e.parentNode.firstChild,n=[];t;t=t.nextSibling)t.nodeType===1&&t!==e&&n.push(t);return n}return[]}function tl(e){return Array.prototype.slice.call(e)}var _x='[data-glide-el="track"]';function Sx(e,t,n){var r={mount:function(){this.root=e.selector,this.track=this.root.querySelector(_x),this.collectSlides()},collectSlides:function(){this.slides=tl(this.wrapper.children).filter(function(o){return!o.classList.contains(e.settings.classes.slide.clone)})}};return Lt(r,"root",{get:function(){return r._r},set:function(o){Za(o)&&(o=document.querySelector(o)),o!==null?r._r=o:xn("Root element must be a existing Html node")}}),Lt(r,"track",{get:function(){return r._t},set:function(o){r._t=o}}),Lt(r,"wrapper",{get:function(){return r.track.children[0]}}),n.on("update",function(){r.collectSlides()}),r}function Ex(e,t,n){var r={mount:function(){this.value=e.settings.peek}};return Lt(r,"value",{get:function(){return r._v},set:function(o){di(o)?(o.before=Me(o.before),o.after=Me(o.after)):o=Me(o),r._v=o}}),Lt(r,"reductor",{get:function(){var o=r.value,s=e.settings.perView;return di(o)?o.before/s+o.after/s:o*2/s}}),n.on(["resize","update"],function(){r.mount()}),r}function Cx(e,t,n){var r={mount:function(){this._o=0},make:function(){var o=this,s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.offset=s,n.emit("move",{movement:this.value}),t.Transition.after(function(){n.emit("move.after",{movement:o.value})})}};return Lt(r,"offset",{get:function(){return r._o},set:function(o){r._o=bx(o)?0:Me(o)}}),Lt(r,"translate",{get:function(){return t.Sizes.slideWidth*e.index}}),Lt(r,"value",{get:function(){var o=this.offset,s=this.translate;return t.Direction.is("rtl")?s+o:s-o}}),n.on(["build.before","run"],function(){r.make()}),r}function Px(e,t,n){var r={setupSlides:function(){for(var o="".concat(this.slideWidth,"px"),s=t.Html.slides,a=0;a<s.length;a++)s[a].style.width=o},setupWrapper:function(){t.Html.wrapper.style.width="".concat(this.wrapperSize,"px")},remove:function(){for(var o=t.Html.slides,s=0;s<o.length;s++)o[s].style.width="";t.Html.wrapper.style.width=""}};return Lt(r,"length",{get:function(){return t.Html.slides.length}}),Lt(r,"width",{get:function(){return t.Html.track.offsetWidth}}),Lt(r,"wrapperSize",{get:function(){return r.slideWidth*r.length+t.Gaps.grow+t.Clones.grow}}),Lt(r,"slideWidth",{get:function(){return r.width/e.settings.perView-t.Peek.reductor-t.Gaps.reductor}}),n.on(["build.before","resize","update"],function(){r.setupSlides(),r.setupWrapper()}),n.on("destroy",function(){r.remove()}),r}function Dx(e,t,n){var r={mount:function(){n.emit("build.before"),this.typeClass(),this.activeClass(),n.emit("build.after")},typeClass:function(){t.Html.root.classList.add(e.settings.classes.type[e.settings.type])},activeClass:function(){var o=e.settings.classes,s=t.Html.slides[e.index];s&&(s.classList.add(o.slide.active),vf(s).forEach(function(a){a.classList.remove(o.slide.active)}))},removeClasses:function(){var o=e.settings.classes,s=o.type,a=o.slide;t.Html.root.classList.remove(s[e.settings.type]),t.Html.slides.forEach(function(l){l.classList.remove(a.active)})}};return n.on(["destroy","update"],function(){r.removeClasses()}),n.on(["resize","update"],function(){r.mount()}),n.on("move.after",function(){r.activeClass()}),r}function Bx(e,t,n){var r={mount:function(){this.items=[],e.isType("carousel")&&(this.items=this.collect())},collect:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=t.Html.slides,a=e.settings,l=a.perView,c=a.classes,u=a.cloningRatio;if(s.length>0)for(var d=+!!e.settings.peek,A=l+d+Math.round(l/2),f=s.slice(0,A).reverse(),h=s.slice(A*-1),p=0;p<Math.max(u,Math.floor(l/s.length));p++){for(var g=0;g<f.length;g++){var b=f[g].cloneNode(!0);b.classList.add(c.slide.clone),o.push(b)}for(var w=0;w<h.length;w++){var y=h[w].cloneNode(!0);y.classList.add(c.slide.clone),o.unshift(y)}}return o},append:function(){for(var o=this.items,s=t.Html,a=s.wrapper,l=s.slides,c=Math.floor(o.length/2),u=o.slice(0,c).reverse(),d=o.slice(c*-1).reverse(),A="".concat(t.Sizes.slideWidth,"px"),f=0;f<d.length;f++)a.appendChild(d[f]);for(var h=0;h<u.length;h++)a.insertBefore(u[h],l[0]);for(var p=0;p<o.length;p++)o[p].style.width=A},remove:function(){for(var o=this.items,s=0;s<o.length;s++)t.Html.wrapper.removeChild(o[s])}};return Lt(r,"grow",{get:function(){return(t.Sizes.slideWidth+t.Gaps.value)*r.items.length}}),n.on("update",function(){r.remove(),r.mount(),r.append()}),n.on("build.before",function(){e.isType("carousel")&&r.append()}),n.on("destroy",function(){r.remove()}),r}var yf=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};bo(this,e),this.listeners=t}return vo(e,[{key:"on",value:function(n,r,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;Za(n)&&(n=[n]);for(var s=0;s<n.length;s++)this.listeners[n[s]]=i,r.addEventListener(n[s],this.listeners[n[s]],o)}},{key:"off",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Za(n)&&(n=[n]);for(var o=0;o<n.length;o++)r.removeEventListener(n[o],this.listeners[n[o]],i)}},{key:"destroy",value:function(){delete this.listeners}}]),e}();function Ix(e,t,n){var r=new yf,i={mount:function(){this.bind()},bind:function(){r.on("resize",window,bf(function(){n.emit("resize")},e.settings.throttle))},unbind:function(){r.off("resize",window)}};return n.on("destroy",function(){i.unbind(),r.destroy()}),i}var Tx=["ltr","rtl"],Mx={">":"<","<":">","=":"="};function Ox(e,t,n){var r={mount:function(){this.value=e.settings.direction},resolve:function(o){var s=o.slice(0,1);return this.is("rtl")?o.split(s).join(Mx[s]):o},is:function(o){return this.value===o},addClass:function(){t.Html.root.classList.add(e.settings.classes.direction[this.value])},removeClass:function(){t.Html.root.classList.remove(e.settings.classes.direction[this.value])}};return Lt(r,"value",{get:function(){return r._v},set:function(o){Tx.indexOf(o)>-1?r._v=o:xn("Direction value must be `ltr` or `rtl`")}}),n.on(["destroy","update"],function(){r.removeClass()}),n.on("update",function(){r.mount()}),n.on(["build.before","update"],function(){r.addClass()}),r}function Lx(e,t){return{modify:function(r){return t.Direction.is("rtl")?-r:r}}}function Rx(e,t){return{modify:function(r){var i=Math.floor(r/t.Sizes.slideWidth);return r+t.Gaps.value*i}}}function Qx(e,t){return{modify:function(r){return r+t.Clones.grow/2}}}function Fx(e,t){return{modify:function(r){if(e.settings.focusAt>=0){var i=t.Peek.value;return di(i)?r-i.before:r-i}return r}}}function Nx(e,t){return{modify:function(r){var i=t.Gaps.value,o=t.Sizes.width,s=e.settings.focusAt,a=t.Sizes.slideWidth;return s==="center"?r-(o/2-a/2):r-a*s-i*s}}}function zx(e,t,n){var r=[Rx,Qx,Fx,Nx].concat(e._t,[Lx]);return{mutate:function(o){for(var s=0;s<r.length;s++){var a=r[s];wo(a)&&wo(a().modify)?o=a(e,t,n).modify(o):xn("Transformer should be a function that returns an object with `modify()` method")}return o}}}function Hx(e,t,n){var r={set:function(o){var s=zx(e,t).mutate(o),a="translate3d(".concat(-1*s,"px, 0px, 0px)");t.Html.wrapper.style.mozTransform=a,t.Html.wrapper.style.webkitTransform=a,t.Html.wrapper.style.transform=a},remove:function(){t.Html.wrapper.style.transform=""},getStartIndex:function(){var o=t.Sizes.length,s=e.index,a=e.settings.perView;return t.Run.isOffset(">")||t.Run.isOffset("|>")?o+(s-a):(s+a)%o},getTravelDistance:function(){var o=t.Sizes.slideWidth*e.settings.perView;return t.Run.isOffset(">")||t.Run.isOffset("|>")?o*-1:o}};return n.on("move",function(i){if(!e.isType("carousel")||!t.Run.isOffset())return r.set(i.movement);t.Transition.after(function(){n.emit("translate.jump"),r.set(t.Sizes.slideWidth*e.index)});var o=t.Sizes.slideWidth*t.Translate.getStartIndex();return r.set(o-t.Translate.getTravelDistance())}),n.on("destroy",function(){r.remove()}),r}function Ux(e,t,n){var r=!1,i={compose:function(s){var a=e.settings;return r?"".concat(s," 0ms ").concat(a.animationTimingFunc):"".concat(s," ").concat(this.duration,"ms ").concat(a.animationTimingFunc)},set:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";t.Html.wrapper.style.transition=this.compose(s)},remove:function(){t.Html.wrapper.style.transition=""},after:function(s){setTimeout(function(){s()},this.duration)},enable:function(){r=!1,this.set()},disable:function(){r=!0,this.set()}};return Lt(i,"duration",{get:function(){var s=e.settings;return e.isType("slider")&&t.Run.offset?s.rewindDuration:s.animationDuration}}),n.on("move",function(){i.set()}),n.on(["build.before","resize","translate.jump"],function(){i.disable()}),n.on("run",function(){i.enable()}),n.on("destroy",function(){i.remove()}),i}var wf=!1;try{var xf=Object.defineProperty({},"passive",{get:function(){wf=!0}});window.addEventListener("testPassive",null,xf),window.removeEventListener("testPassive",null,xf)}catch{}var kf=wf,jx='[data-glide-el="controls[nav]"]',el='[data-glide-el^="controls"]',Vx="".concat(el,' [data-glide-dir*="<"]'),Wx="".concat(el,' [data-glide-dir*=">"]');function Yx(e,t,n){var r=new yf,i=kf?{passive:!0}:!1,o={mount:function(){this._n=t.Html.root.querySelectorAll(jx),this._c=t.Html.root.querySelectorAll(el),this._arrowControls={previous:t.Html.root.querySelectorAll(Vx),next:t.Html.root.querySelectorAll(Wx)},this.addBindings()},setActive:function(){for(var a=0;a<this._n.length;a++)this.addClass(this._n[a].children)},removeActive:function(){for(var a=0;a<this._n.length;a++)this.removeClass(this._n[a].children)},addClass:function(a){var l=e.settings,c=a[e.index];c&&(c.classList.add(l.classes.nav.active),vf(c).forEach(function(u){u.classList.remove(l.classes.nav.active)}))},removeClass:function(a){var l=a[e.index];l==null||l.classList.remove(e.settings.classes.nav.active)},setArrowState:function(){if(!e.settings.rewind){var a=o._arrowControls.next,l=o._arrowControls.previous;this.resetArrowState(a,l),e.index===0&&this.disableArrow(l),e.index===t.Run.length&&this.disableArrow(a)}},resetArrowState:function(){for(var a=e.settings,l=arguments.length,c=new Array(l),u=0;u<l;u++)c[u]=arguments[u];c.forEach(function(d){tl(d).forEach(function(A){A.classList.remove(a.classes.arrow.disabled)})})},disableArrow:function(){for(var a=e.settings,l=arguments.length,c=new Array(l),u=0;u<l;u++)c[u]=arguments[u];c.forEach(function(d){tl(d).forEach(function(A){A.classList.add(a.classes.arrow.disabled)})})},addBindings:function(){for(var a=0;a<this._c.length;a++)this.bind(this._c[a].children)},removeBindings:function(){for(var a=0;a<this._c.length;a++)this.unbind(this._c[a].children)},bind:function(a){for(var l=0;l<a.length;l++)r.on("click",a[l],this.click),r.on("touchstart",a[l],this.click,i)},unbind:function(a){for(var l=0;l<a.length;l++)r.off(["click","touchstart"],a[l])},click:function(a){!kf&&a.type==="touchstart"&&a.preventDefault();var l=a.currentTarget.getAttribute("data-glide-dir");t.Run.make(t.Direction.resolve(l))}};return Lt(o,"items",{get:function(){return o._c}}),n.on(["mount.after","move.after"],function(){o.setActive()}),n.on(["mount.after","run"],function(){o.setArrowState()}),n.on("destroy",function(){o.removeBindings(),o.removeActive(),r.destroy()}),o}var qx={Html:Sx,Translate:Hx,Transition:Ux,Direction:Ox,Peek:Ex,Sizes:Px,Gaps:kx,Move:Cx,Clones:Bx,Resize:Ix,Build:Dx,Run:xx},Kx=function(e){dx(n,e);var t=px(n);function n(){return bo(this,n),t.apply(this,arguments)}return vo(n,[{key:"mount",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return yo(wr(n.prototype),"mount",this).call(this,Object.assign({},qx,i))}}]),n}(wx);function ko({children:e,cssClass:t=""}){const n=nt(null);return ot(()=>{n.current&&new Kx(n.current).mount({Controls:Yx})},[]),m("section",{class:`carousel ${t}`,children:m("div",{class:"glide",ref:n,children:[m("div",{class:"glide__track","data-glide-el":"track",children:m("ul",{class:"glide__slides",children:e})}),m("div",{class:"glide__arrows","data-glide-el":"controls",children:[m("button",{class:"glide__arrow glide__arrow--left","data-glide-dir":"<",children:m("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",children:m("path",{d:"M0 12l10.975 11 2.848-2.828-6.176-6.176H24v-3.992H7.646l6.176-6.176L10.975 1 0 12z"})})}),m("button",{class:"glide__arrow glide__arrow--right","data-glide-dir":">",children:m("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",children:m("path",{d:"M13.025 1l-2.847 2.828 6.176 6.176h-16.354v3.992h16.354l-6.176 6.176 2.847 2.828 10.975-11z"})})})]})]})})}function _f({children:e}){return m("li",{class:"glide__slide",children:e})}function Gx({title:e,description:t,linkText:n,linkURI:r,imageURI:i,imageAltText:o}){return m(_f,{children:m("span",{class:"slide-inner",children:[i&&m("a",{href:r,class:"slide-image",children:m("img",{src:i,alt:o})}),m("span",{class:"slide-text",children:[e&&m("h2",{children:e}),t&&m("p",{children:t}),n&&m("a",{href:r,children:n})]})]})})}ko.Slide=_f,ko.ImageSlide=Gx;function Xx({children:e,maxHeight:t="400px"}){return m("div",{class:"scroll-text",children:m("div",{class:"scroll-text-inner",style:{maxHeight:t},children:e})})}const Jx="https://allocations.access-ci.org/current-projects.json";function _o({icon:e,text:t,title:n}){if(t)return m("abbr",{class:"project-meta",title:n,children:[m(ht,{name:e}),t]})}function Zx({infoGroupId:e}){const t=Ur(e),n=Zt(t?`${Jx}?${t.infoResourceIds.map(i=>`info_resourceids[]=${i}`).join("&")}`:null);if(!n||!n.projects||!n.projects.length)return null;const r=[{key:"resourceName",name:"Resource"},{key:"allocation",name:"Current Allocation",format:(i,o)=>o.units=="[Yes = 1, No = 0]"?i==1?"Yes":"No":`${i.toLocaleString("en-us")} ${o.units||""}`}];return m(je,{title:"Recent Projects",icon:"pc-display",children:m(ko,{cssClass:"carousel-projects",children:n.projects.map(i=>m(ko.Slide,{children:[m("h3",{children:i.requestTitle}),m("div",{class:"project-metadata",children:[m(_o,{icon:"cash-coin",text:i.allocationType,title:"Allocation Type"}),m(_o,{icon:"person-fill",text:`${i.pi} (${i.piInstitution})`,title:"Primary Investigator"}),m(_o,{icon:"folder",text:i.fos,title:"Field of Science"}),m(_o,{icon:"calendar-range",text:[i.beginDate,i.endDate].map(o=>new Date(o).toLocaleString("en-US",{dateStyle:"medium"})).join(" to "),title:"Project Dates"})]}),m(Xx,{children:[m("p",{children:i.abstract}),m(lo,{columns:r,rows:i.resources,maxHeight:null})]})]}))})})}/*!
|
|
79
119
|
* @kurkle/color v0.3.2
|
|
80
120
|
* https://github.com/kurkle/color#readme
|
|
81
121
|
* (c) 2023 Jukka Kurkela
|
|
82
122
|
* Released under the MIT License
|
|
83
|
-
*/function
|
|
123
|
+
*/function Ai(e){return e+.5|0}const kn=(e,t,n)=>Math.max(Math.min(e,n),t);function fi(e){return kn(Ai(e*2.55),0,255)}function _n(e){return kn(Ai(e*255),0,255)}function an(e){return kn(Ai(e/2.55)/100,0,1)}function Sf(e){return kn(Ai(e*100),0,100)}const ke={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},nl=[..."0123456789ABCDEF"],$x=e=>nl[e&15],t1=e=>nl[(e&240)>>4]+nl[e&15],So=e=>(e&240)>>4===(e&15),e1=e=>So(e.r)&&So(e.g)&&So(e.b)&&So(e.a);function n1(e){var t=e.length,n;return e[0]==="#"&&(t===4||t===5?n={r:255&ke[e[1]]*17,g:255&ke[e[2]]*17,b:255&ke[e[3]]*17,a:t===5?ke[e[4]]*17:255}:(t===7||t===9)&&(n={r:ke[e[1]]<<4|ke[e[2]],g:ke[e[3]]<<4|ke[e[4]],b:ke[e[5]]<<4|ke[e[6]],a:t===9?ke[e[7]]<<4|ke[e[8]]:255})),n}const r1=(e,t)=>e<255?t(e):"";function i1(e){var t=e1(e)?$x:t1;return e?"#"+t(e.r)+t(e.g)+t(e.b)+r1(e.a,t):void 0}const o1=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Ef(e,t,n){const r=t*Math.min(n,1-n),i=(o,s=(o+e/30)%12)=>n-r*Math.max(Math.min(s-3,9-s,1),-1);return[i(0),i(8),i(4)]}function s1(e,t,n){const r=(i,o=(i+e/60)%6)=>n-n*t*Math.max(Math.min(o,4-o,1),0);return[r(5),r(3),r(1)]}function a1(e,t,n){const r=Ef(e,1,.5);let i;for(t+n>1&&(i=1/(t+n),t*=i,n*=i),i=0;i<3;i++)r[i]*=1-t-n,r[i]+=t;return r}function l1(e,t,n,r,i){return e===i?(t-n)/r+(t<n?6:0):t===i?(n-e)/r+2:(e-t)/r+4}function rl(e){const n=e.r/255,r=e.g/255,i=e.b/255,o=Math.max(n,r,i),s=Math.min(n,r,i),a=(o+s)/2;let l,c,u;return o!==s&&(u=o-s,c=a>.5?u/(2-o-s):u/(o+s),l=l1(n,r,i,u,o),l=l*60+.5),[l|0,c||0,a]}function il(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(_n)}function ol(e,t,n){return il(Ef,e,t,n)}function c1(e,t,n){return il(a1,e,t,n)}function u1(e,t,n){return il(s1,e,t,n)}function Cf(e){return(e%360+360)%360}function d1(e){const t=o1.exec(e);let n=255,r;if(!t)return;t[5]!==r&&(n=t[6]?fi(+t[5]):_n(+t[5]));const i=Cf(+t[2]),o=+t[3]/100,s=+t[4]/100;return t[1]==="hwb"?r=c1(i,o,s):t[1]==="hsv"?r=u1(i,o,s):r=ol(i,o,s),{r:r[0],g:r[1],b:r[2],a:n}}function A1(e,t){var n=rl(e);n[0]=Cf(n[0]+t),n=ol(n),e.r=n[0],e.g=n[1],e.b=n[2]}function f1(e){if(!e)return;const t=rl(e),n=t[0],r=Sf(t[1]),i=Sf(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${i}%, ${an(e.a)})`:`hsl(${n}, ${r}%, ${i}%)`}const Pf={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"},Df={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",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function h1(){const e={},t=Object.keys(Df),n=Object.keys(Pf);let r,i,o,s,a;for(r=0;r<t.length;r++){for(s=a=t[r],i=0;i<n.length;i++)o=n[i],a=a.replace(o,Pf[o]);o=parseInt(Df[s],16),e[a]=[o>>16&255,o>>8&255,o&255]}return e}let Eo;function p1(e){Eo||(Eo=h1(),Eo.transparent=[0,0,0,0]);const t=Eo[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const g1=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function m1(e){const t=g1.exec(e);let n=255,r,i,o;if(t){if(t[7]!==r){const s=+t[7];n=t[8]?fi(s):kn(s*255,0,255)}return r=+t[1],i=+t[3],o=+t[5],r=255&(t[2]?fi(r):kn(r,0,255)),i=255&(t[4]?fi(i):kn(i,0,255)),o=255&(t[6]?fi(o):kn(o,0,255)),{r,g:i,b:o,a:n}}}function b1(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${an(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}const sl=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,xr=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function v1(e,t,n){const r=xr(an(e.r)),i=xr(an(e.g)),o=xr(an(e.b));return{r:_n(sl(r+n*(xr(an(t.r))-r))),g:_n(sl(i+n*(xr(an(t.g))-i))),b:_n(sl(o+n*(xr(an(t.b))-o))),a:e.a+n*(t.a-e.a)}}function Co(e,t,n){if(e){let r=rl(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,t===0?360:1)),r=ol(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function Bf(e,t){return e&&Object.assign(t||{},e)}function If(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=_n(e[3]))):(t=Bf(e,{r:0,g:0,b:0,a:1}),t.a=_n(t.a)),t}function y1(e){return e.charAt(0)==="r"?m1(e):d1(e)}class hi{constructor(t){if(t instanceof hi)return t;const n=typeof t;let r;n==="object"?r=If(t):n==="string"&&(r=n1(t)||p1(t)||y1(t)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var t=Bf(this._rgb);return t&&(t.a=an(t.a)),t}set rgb(t){this._rgb=If(t)}rgbString(){return this._valid?b1(this._rgb):void 0}hexString(){return this._valid?i1(this._rgb):void 0}hslString(){return this._valid?f1(this._rgb):void 0}mix(t,n){if(t){const r=this.rgb,i=t.rgb;let o;const s=n===o?.5:n,a=2*s-1,l=r.a-i.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;o=1-c,r.r=255&c*r.r+o*i.r+.5,r.g=255&c*r.g+o*i.g+.5,r.b=255&c*r.b+o*i.b+.5,r.a=s*r.a+(1-s)*i.a,this.rgb=r}return this}interpolate(t,n){return t&&(this._rgb=v1(this._rgb,t._rgb,n)),this}clone(){return new hi(this.rgb)}alpha(t){return this._rgb.a=_n(t),this}clearer(t){const n=this._rgb;return n.a*=1-t,this}greyscale(){const t=this._rgb,n=Ai(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=n,this}opaquer(t){const n=this._rgb;return n.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return Co(this._rgb,2,t),this}darken(t){return Co(this._rgb,2,-t),this}saturate(t){return Co(this._rgb,1,t),this}desaturate(t){return Co(this._rgb,1,-t),this}rotate(t){return A1(this._rgb,t),this}}/*!
|
|
84
124
|
* Chart.js v4.4.6
|
|
85
125
|
* https://www.chartjs.org
|
|
86
126
|
* (c) 2024 Chart.js Contributors
|
|
87
127
|
* Released under the MIT License
|
|
88
|
-
*/function Le(){}const Ym=(()=>{let e=0;return()=>e++})();function ut(e){return e===null||typeof e>"u"}function Pt(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function it(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function oe(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function xe(e,t){return oe(e)?e:t}function st(e,t){return typeof e>"u"?t:e}const Km=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/t,SA=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function ht(e,t,n){if(e&&typeof e.call=="function")return e.apply(n,t)}function ct(e,t,n,i){let o,r,s;if(Pt(e))for(r=e.length,o=0;o<r;o++)t.call(n,e[o],o);else if(it(e))for(s=Object.keys(e),r=s.length,o=0;o<r;o++)t.call(n,e[s[o]],s[o])}function xo(e,t){let n,i,o,r;if(!e||!t||e.length!==t.length)return!1;for(n=0,i=e.length;n<i;++n)if(o=e[n],r=t[n],o.datasetIndex!==r.datasetIndex||o.index!==r.index)return!1;return!0}function _o(e){if(Pt(e))return e.map(_o);if(it(e)){const t=Object.create(null),n=Object.keys(e),i=n.length;let o=0;for(;o<i;++o)t[n[o]]=_o(e[n[o]]);return t}return e}function MA(e){return["__proto__","prototype","constructor"].indexOf(e)===-1}function qm(e,t,n,i){if(!MA(e))return;const o=t[e],r=n[e];it(o)&&it(r)?vi(o,r,i):t[e]=_o(r)}function vi(e,t,n){const i=Pt(t)?t:[t],o=i.length;if(!it(e))return e;n=n||{};const r=n.merger||qm;let s;for(let a=0;a<o;++a){if(s=i[a],!it(s))continue;const c=Object.keys(s);for(let l=0,A=c.length;l<A;++l)r(c[l],e,s,n)}return e}function wi(e,t){return vi(e,t,{merger:Xm})}function Xm(e,t,n){if(!MA(e))return;const i=t[e],o=n[e];it(i)&&it(o)?wi(i,o):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=_o(o))}const TA={"":e=>e,x:e=>e.x,y:e=>e.y};function Gm(e){const t=e.split("."),n=[];let i="";for(const o of t)i+=o,i.endsWith("\\")?i=i.slice(0,-1)+".":(n.push(i),i="");return n}function Jm(e){const t=Gm(e);return n=>{for(const i of t){if(i==="")break;n=n&&n[i]}return n}}function Je(e,t){return(TA[t]||(TA[t]=Jm(t)))(e)}function bs(e){return e.charAt(0).toUpperCase()+e.slice(1)}const yi=e=>typeof e<"u",Ze=e=>typeof e=="function",IA=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function Zm(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const Bt=Math.PI,qt=2*Bt,Po=Number.POSITIVE_INFINITY,$m=Bt/180,Xt=Bt/2,An=Bt/4,OA=Bt*2/3,vs=Math.log10,$e=Math.sign;function Bo(e,t,n){return Math.abs(e-t)<n}function QA(e){const t=Math.round(e);e=Bo(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(vs(e))),i=e/n;return(i<=1?1:i<=2?2:i<=5?5:10)*n}function tb(e){const t=[],n=Math.sqrt(e);let i;for(i=1;i<n;i++)e%i===0&&(t.push(i),t.push(e/i));return n===(n|0)&&t.push(n),t.sort((o,r)=>o-r).pop(),t}function ko(e){return!isNaN(parseFloat(e))&&isFinite(e)}function eb(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}function nb(e,t,n){let i,o,r;for(i=0,o=e.length;i<o;i++)r=e[i][n],isNaN(r)||(t.min=Math.min(t.min,r),t.max=Math.max(t.max,r))}function _e(e){return e*(Bt/180)}function ib(e){return e*(180/Bt)}function LA(e){if(!oe(e))return;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n++;return n}function ob(e,t){const n=t.x-e.x,i=t.y-e.y,o=Math.sqrt(n*n+i*i);let r=Math.atan2(i,n);return r<-.5*Bt&&(r+=qt),{angle:r,distance:o}}function rb(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function dn(e){return(e%qt+qt)%qt}function ws(e,t,n,i){const o=dn(e),r=dn(t),s=dn(n),a=dn(r-o),c=dn(s-o),l=dn(o-r),A=dn(o-s);return o===r||o===s||i&&r===s||a>c&&l<A}function de(e,t,n){return Math.max(t,Math.min(n,e))}function sb(e){return de(e,-32768,32767)}function Ln(e,t,n,i=1e-6){return e>=Math.min(t,n)-i&&e<=Math.max(t,n)+i}function ys(e,t,n){n=n||(s=>e[s]<t);let i=e.length-1,o=0,r;for(;i-o>1;)r=o+i>>1,n(r)?o=r:i=r;return{lo:o,hi:i}}const xs=(e,t,n,i)=>ys(e,n,i?o=>{const r=e[o][t];return r<n||r===n&&e[o+1][t]===n}:o=>e[o][t]<n),ab=(e,t,n)=>ys(e,n,i=>e[i][t]>=n);function cb(e,t,n){let i=0,o=e.length;for(;i<o&&e[i]<t;)i++;for(;o>i&&e[o-1]>n;)o--;return i>0||o<e.length?e.slice(i,o):e}const RA=["push","pop","shift","splice","unshift"];function lb(e,t){if(e._chartjs){e._chartjs.listeners.push(t);return}Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),RA.forEach(n=>{const i="_onData"+bs(n),o=e[n];Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value(...r){const s=o.apply(this,r);return e._chartjs.listeners.forEach(a=>{typeof a[i]=="function"&&a[i](...r)}),s}})})}function HA(e,t){const n=e._chartjs;if(!n)return;const i=n.listeners,o=i.indexOf(t);o!==-1&&i.splice(o,1),!(i.length>0)&&(RA.forEach(r=>{delete e[r]}),delete e._chartjs)}function FA(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const zA=function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame}();function NA(e,t){let n=[],i=!1;return function(...o){n=o,i||(i=!0,zA.call(window,()=>{i=!1,e.apply(t,n)}))}}function Ab(e,t){let n;return function(...i){return t?(clearTimeout(n),n=setTimeout(e,t,i)):e.apply(this,i),t}}const _s=e=>e==="start"?"left":e==="end"?"right":"center",Mt=(e,t,n)=>e==="start"?t:e==="end"?n:(t+n)/2,db=(e,t,n,i)=>e===(i?"left":"right")?n:e==="center"?(t+n)/2:t,Do=e=>e===0||e===1,jA=(e,t,n)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*qt/n)),UA=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*qt/n)+1,xi={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*Xt)+1,easeOutSine:e=>Math.sin(e*Xt),easeInOutSine:e=>-.5*(Math.cos(Bt*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>Do(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>Do(e)?e:jA(e,.075,.3),easeOutElastic:e=>Do(e)?e:UA(e,.075,.3),easeInOutElastic(e){return Do(e)?e:e<.5?.5*jA(e*2,.1125,.45):.5+.5*UA(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-xi.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?xi.easeInBounce(e*2)*.5:xi.easeOutBounce(e*2-1)*.5+.5};function VA(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function WA(e){return VA(e)?e:new bi(e)}function Ps(e){return VA(e)?e:new bi(e).saturate(.5).darken(.1).hexString()}const ub=["x","y","borderWidth","radius","tension"],hb=["color","borderColor","backgroundColor"];function fb(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),e.set("animations",{colors:{type:"color",properties:hb},numbers:{type:"number",properties:ub}}),e.describe("animations",{_fallback:"animation"}),e.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=>t|0}}}})}function pb(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const YA=new Map;function gb(e,t){t=t||{};const n=e+JSON.stringify(t);let i=YA.get(n);return i||(i=new Intl.NumberFormat(e,t),YA.set(n,i)),i}function Co(e,t,n){return gb(t,n).format(e)}const KA={values(e){return Pt(e)?e:""+e},numeric(e,t,n){if(e===0)return"0";const i=this.chart.options.locale;let o,r=e;if(n.length>1){const l=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(l<1e-4||l>1e15)&&(o="scientific"),r=mb(e,n)}const s=vs(Math.abs(r)),a=isNaN(s)?1:Math.max(Math.min(-1*Math.floor(s),20),0),c={notation:o,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(c,this.options.ticks.format),Co(e,i,c)},logarithmic(e,t,n){if(e===0)return"0";const i=n[t].significand||e/Math.pow(10,Math.floor(vs(e)));return[1,2,3,5,10,15].includes(i)||t>.8*n.length?KA.numeric.call(this,e,t,n):""}};function mb(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var qA={formatters:KA};function bb(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,n)=>n.lineWidth,tickColor:(t,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:qA.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const un=Object.create(null),Bs=Object.create(null);function _i(e,t){if(!t)return e;const n=t.split(".");for(let i=0,o=n.length;i<o;++i){const r=n[i];e=e[r]||(e[r]=Object.create(null))}return e}function ks(e,t,n){return typeof t=="string"?vi(_i(e,t),n):vi(_i(e,""),t)}class vb{constructor(t,n){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=i=>i.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(i,o)=>Ps(o.backgroundColor),this.hoverBorderColor=(i,o)=>Ps(o.borderColor),this.hoverColor=(i,o)=>Ps(o.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(n)}set(t,n){return ks(this,t,n)}get(t){return _i(this,t)}describe(t,n){return ks(Bs,t,n)}override(t,n){return ks(un,t,n)}route(t,n,i,o){const r=_i(this,t),s=_i(this,i),a="_"+n;Object.defineProperties(r,{[a]:{value:r[n],writable:!0},[n]:{enumerable:!0,get(){const c=this[a],l=s[o];return it(c)?Object.assign({},l,c):st(c,l)},set(c){this[a]=c}}})}apply(t){t.forEach(n=>n(this))}}var mt=new vb({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[fb,pb,bb]);function wb(e){return!e||ut(e.size)||ut(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function XA(e,t,n,i,o){let r=t[o];return r||(r=t[o]=e.measureText(o).width,n.push(o)),r>i&&(i=r),i}function hn(e,t,n){const i=e.currentDevicePixelRatio,o=n!==0?Math.max(n/2,.5):0;return Math.round((t-o)*i)/i+o}function GA(e,t){!t&&!e||(t=t||e.getContext("2d"),t.save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function JA(e,t,n,i){ZA(e,t,n,i,null)}function ZA(e,t,n,i,o){let r,s,a,c,l,A,d,u;const h=t.pointStyle,p=t.rotation,g=t.radius;let b=(p||0)*$m;if(h&&typeof h=="object"&&(r=h.toString(),r==="[object HTMLImageElement]"||r==="[object HTMLCanvasElement]")){e.save(),e.translate(n,i),e.rotate(b),e.drawImage(h,-h.width/2,-h.height/2,h.width,h.height),e.restore();return}if(!(isNaN(g)||g<=0)){switch(e.beginPath(),h){default:o?e.ellipse(n,i,o/2,g,0,0,qt):e.arc(n,i,g,0,qt),e.closePath();break;case"triangle":A=o?o/2:g,e.moveTo(n+Math.sin(b)*A,i-Math.cos(b)*g),b+=OA,e.lineTo(n+Math.sin(b)*A,i-Math.cos(b)*g),b+=OA,e.lineTo(n+Math.sin(b)*A,i-Math.cos(b)*g),e.closePath();break;case"rectRounded":l=g*.516,c=g-l,s=Math.cos(b+An)*c,d=Math.cos(b+An)*(o?o/2-l:c),a=Math.sin(b+An)*c,u=Math.sin(b+An)*(o?o/2-l:c),e.arc(n-d,i-a,l,b-Bt,b-Xt),e.arc(n+u,i-s,l,b-Xt,b),e.arc(n+d,i+a,l,b,b+Xt),e.arc(n-u,i+s,l,b+Xt,b+Bt),e.closePath();break;case"rect":if(!p){c=Math.SQRT1_2*g,A=o?o/2:c,e.rect(n-A,i-c,2*A,2*c);break}b+=An;case"rectRot":d=Math.cos(b)*(o?o/2:g),s=Math.cos(b)*g,a=Math.sin(b)*g,u=Math.sin(b)*(o?o/2:g),e.moveTo(n-d,i-a),e.lineTo(n+u,i-s),e.lineTo(n+d,i+a),e.lineTo(n-u,i+s),e.closePath();break;case"crossRot":b+=An;case"cross":d=Math.cos(b)*(o?o/2:g),s=Math.cos(b)*g,a=Math.sin(b)*g,u=Math.sin(b)*(o?o/2:g),e.moveTo(n-d,i-a),e.lineTo(n+d,i+a),e.moveTo(n+u,i-s),e.lineTo(n-u,i+s);break;case"star":d=Math.cos(b)*(o?o/2:g),s=Math.cos(b)*g,a=Math.sin(b)*g,u=Math.sin(b)*(o?o/2:g),e.moveTo(n-d,i-a),e.lineTo(n+d,i+a),e.moveTo(n+u,i-s),e.lineTo(n-u,i+s),b+=An,d=Math.cos(b)*(o?o/2:g),s=Math.cos(b)*g,a=Math.sin(b)*g,u=Math.sin(b)*(o?o/2:g),e.moveTo(n-d,i-a),e.lineTo(n+d,i+a),e.moveTo(n+u,i-s),e.lineTo(n-u,i+s);break;case"line":s=o?o/2:Math.cos(b)*g,a=Math.sin(b)*g,e.moveTo(n-s,i-a),e.lineTo(n+s,i+a);break;case"dash":e.moveTo(n,i),e.lineTo(n+Math.cos(b)*(o?o/2:g),i+Math.sin(b)*g);break;case!1:e.closePath();break}e.fill(),t.borderWidth>0&&e.stroke()}}function $A(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.x<t.right+n&&e.y>t.top-n&&e.y<t.bottom+n}function Ds(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function Cs(e){e.restore()}function yb(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),ut(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}function xb(e,t,n,i,o){if(o.strikethrough||o.underline){const r=e.measureText(i),s=t-r.actualBoundingBoxLeft,a=t+r.actualBoundingBoxRight,c=n-r.actualBoundingBoxAscent,l=n+r.actualBoundingBoxDescent,A=o.strikethrough?(c+l)/2:l;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=o.decorationWidth||2,e.moveTo(s,A),e.lineTo(a,A),e.stroke()}}function _b(e,t){const n=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=n}function Pi(e,t,n,i,o,r={}){const s=Pt(t)?t:[t],a=r.strokeWidth>0&&r.strokeColor!=="";let c,l;for(e.save(),e.font=o.string,yb(e,r),c=0;c<s.length;++c)l=s[c],r.backdrop&&_b(e,r.backdrop),a&&(r.strokeColor&&(e.strokeStyle=r.strokeColor),ut(r.strokeWidth)||(e.lineWidth=r.strokeWidth),e.strokeText(l,n,i,r.maxWidth)),e.fillText(l,n,i,r.maxWidth),xb(e,n,i,l,r),i+=Number(o.lineHeight);e.restore()}function Eo(e,t){const{x:n,y:i,w:o,h:r,radius:s}=t;e.arc(n+s.topLeft,i+s.topLeft,s.topLeft,1.5*Bt,Bt,!0),e.lineTo(n,i+r-s.bottomLeft),e.arc(n+s.bottomLeft,i+r-s.bottomLeft,s.bottomLeft,Bt,Xt,!0),e.lineTo(n+o-s.bottomRight,i+r),e.arc(n+o-s.bottomRight,i+r-s.bottomRight,s.bottomRight,Xt,0,!0),e.lineTo(n+o,i+s.topRight),e.arc(n+o-s.topRight,i+s.topRight,s.topRight,0,-Xt,!0),e.lineTo(n+s.topLeft,i)}const Pb=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,Bb=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function kb(e,t){const n=(""+e).match(Pb);if(!n||n[1]==="normal")return t*1.2;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100;break}return t*e}const Db=e=>+e||0;function td(e,t){const n={},i=it(t),o=i?Object.keys(t):t,r=it(e)?i?s=>st(e[s],e[t[s]]):s=>e[s]:()=>e;for(const s of o)n[s]=Db(r(s));return n}function ed(e){return td(e,{top:"y",right:"x",bottom:"y",left:"x"})}function Rn(e){return td(e,["topLeft","topRight","bottomLeft","bottomRight"])}function re(e){const t=ed(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Tt(e,t){e=e||{},t=t||mt.font;let n=st(e.size,t.size);typeof n=="string"&&(n=parseInt(n,10));let i=st(e.style,t.style);i&&!(""+i).match(Bb)&&(console.warn('Invalid font style specified: "'+i+'"'),i=void 0);const o={family:st(e.family,t.family),lineHeight:kb(st(e.lineHeight,t.lineHeight),n),size:n,style:i,weight:st(e.weight,t.weight),string:""};return o.string=wb(o),o}function So(e,t,n,i){let o,r,s;for(o=0,r=e.length;o<r;++o)if(s=e[o],s!==void 0&&s!==void 0)return s}function Cb(e,t,n){const{min:i,max:o}=e,r=SA(t,(o-i)/2),s=(a,c)=>n&&a===0?0:a+c;return{min:s(i,-Math.abs(r)),max:s(o,r)}}function Hn(e,t){return Object.assign(Object.create(e),t)}function Es(e,t=[""],n,i,o=()=>e[0]){const r=n||e;typeof i>"u"&&(i=sd("_fallback",e));const s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:r,_fallback:i,_getTarget:o,override:a=>Es([a,...e],t,r,i)};return new Proxy(s,{deleteProperty(a,c){return delete a[c],delete a._keys,delete e[0][c],!0},get(a,c){return id(a,c,()=>Lb(c,t,e,a))},getOwnPropertyDescriptor(a,c){return Reflect.getOwnPropertyDescriptor(a._scopes[0],c)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(a,c){return ad(a).includes(c)},ownKeys(a){return ad(a)},set(a,c,l){const A=a._storage||(a._storage=o());return a[c]=A[c]=l,delete a._keys,!0}})}function Fn(e,t,n,i){const o={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:nd(e,i),setContext:r=>Fn(e,r,n,i),override:r=>Fn(e.override(r),t,n,i)};return new Proxy(o,{deleteProperty(r,s){return delete r[s],delete e[s],!0},get(r,s,a){return id(r,s,()=>Sb(r,s,a))},getOwnPropertyDescriptor(r,s){return r._descriptors.allKeys?Reflect.has(e,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,s)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(r,s){return Reflect.has(e,s)},ownKeys(){return Reflect.ownKeys(e)},set(r,s,a){return e[s]=a,delete r[s],!0}})}function nd(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:i=t.indexable,_allKeys:o=t.allKeys}=e;return{allKeys:o,scriptable:n,indexable:i,isScriptable:Ze(n)?n:()=>n,isIndexable:Ze(i)?i:()=>i}}const Eb=(e,t)=>e?e+bs(t):t,Ss=(e,t)=>it(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function id(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||t==="constructor")return e[t];const i=n();return e[t]=i,i}function Sb(e,t,n){const{_proxy:i,_context:o,_subProxy:r,_descriptors:s}=e;let a=i[t];return Ze(a)&&s.isScriptable(t)&&(a=Mb(t,a,e,n)),Pt(a)&&a.length&&(a=Tb(t,a,e,s.isIndexable)),Ss(t,a)&&(a=Fn(a,o,r&&r[t],s)),a}function Mb(e,t,n,i){const{_proxy:o,_context:r,_subProxy:s,_stack:a}=n;if(a.has(e))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+e);a.add(e);let c=t(r,s||i);return a.delete(e),Ss(e,c)&&(c=Ms(o._scopes,o,e,c)),c}function Tb(e,t,n,i){const{_proxy:o,_context:r,_subProxy:s,_descriptors:a}=n;if(typeof r.index<"u"&&i(e))return t[r.index%t.length];if(it(t[0])){const c=t,l=o._scopes.filter(A=>A!==c);t=[];for(const A of c){const d=Ms(l,o,e,A);t.push(Fn(d,r,s&&s[e],a))}}return t}function od(e,t,n){return Ze(e)?e(t,n):e}const Ib=(e,t)=>e===!0?t:typeof e=="string"?Je(t,e):void 0;function Ob(e,t,n,i,o){for(const r of t){const s=Ib(n,r);if(s){e.add(s);const a=od(s._fallback,n,o);if(typeof a<"u"&&a!==n&&a!==i)return a}else if(s===!1&&typeof i<"u"&&n!==i)return null}return!1}function Ms(e,t,n,i){const o=t._rootScopes,r=od(t._fallback,n,i),s=[...e,...o],a=new Set;a.add(i);let c=rd(a,s,n,r||n,i);return c===null||typeof r<"u"&&r!==n&&(c=rd(a,s,r,c,i),c===null)?!1:Es(Array.from(a),[""],o,r,()=>Qb(t,n,i))}function rd(e,t,n,i,o){for(;n;)n=Ob(e,t,n,i,o);return n}function Qb(e,t,n){const i=e._getTarget();t in i||(i[t]={});const o=i[t];return Pt(o)&&it(n)?n:o||{}}function Lb(e,t,n,i){let o;for(const r of t)if(o=sd(Eb(r,e),n),typeof o<"u")return Ss(e,o)?Ms(n,i,e,o):o}function sd(e,t){for(const n of t){if(!n)continue;const i=n[e];if(typeof i<"u")return i}}function ad(e){let t=e._keys;return t||(t=e._keys=Rb(e._scopes)),t}function Rb(e){const t=new Set;for(const n of e)for(const i of Object.keys(n).filter(o=>!o.startsWith("_")))t.add(i);return Array.from(t)}function Hb(e,t,n,i){const{iScale:o}=e,{key:r="r"}=this._parsing,s=new Array(i);let a,c,l,A;for(a=0,c=i;a<c;++a)l=a+n,A=t[l],s[a]={r:o.parse(Je(A,r),l)};return s}function Ts(){return typeof window<"u"&&typeof document<"u"}function Is(e){let t=e.parentNode;return t&&t.toString()==="[object ShadowRoot]"&&(t=t.host),t}function Mo(e,t,n){let i;return typeof e=="string"?(i=parseInt(e,10),e.indexOf("%")!==-1&&(i=i/100*t.parentNode[n])):i=e,i}const To=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);function Fb(e,t){return To(e).getPropertyValue(t)}const zb=["top","right","bottom","left"];function fn(e,t,n){const i={};n=n?"-"+n:"";for(let o=0;o<4;o++){const r=zb[o];i[r]=parseFloat(e[t+"-"+r+n])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}const Nb=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function jb(e,t){const n=e.touches,i=n&&n.length?n[0]:e,{offsetX:o,offsetY:r}=i;let s=!1,a,c;if(Nb(o,r,e.target))a=o,c=r;else{const l=t.getBoundingClientRect();a=i.clientX-l.left,c=i.clientY-l.top,s=!0}return{x:a,y:c,box:s}}function pn(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:i}=t,o=To(n),r=o.boxSizing==="border-box",s=fn(o,"padding"),a=fn(o,"border","width"),{x:c,y:l,box:A}=jb(e,n),d=s.left+(A&&a.left),u=s.top+(A&&a.top);let{width:h,height:p}=t;return r&&(h-=s.width+a.width,p-=s.height+a.height),{x:Math.round((c-d)/h*n.width/i),y:Math.round((l-u)/p*n.height/i)}}function Ub(e,t,n){let i,o;if(t===void 0||n===void 0){const r=e&&Is(e);if(!r)t=e.clientWidth,n=e.clientHeight;else{const s=r.getBoundingClientRect(),a=To(r),c=fn(a,"border","width"),l=fn(a,"padding");t=s.width-l.width-c.width,n=s.height-l.height-c.height,i=Mo(a.maxWidth,r,"clientWidth"),o=Mo(a.maxHeight,r,"clientHeight")}}return{width:t,height:n,maxWidth:i||Po,maxHeight:o||Po}}const Io=e=>Math.round(e*10)/10;function Vb(e,t,n,i){const o=To(e),r=fn(o,"margin"),s=Mo(o.maxWidth,e,"clientWidth")||Po,a=Mo(o.maxHeight,e,"clientHeight")||Po,c=Ub(e,t,n);let{width:l,height:A}=c;if(o.boxSizing==="content-box"){const u=fn(o,"border","width"),h=fn(o,"padding");l-=h.width+u.width,A-=h.height+u.height}return l=Math.max(0,l-r.width),A=Math.max(0,i?l/i:A-r.height),l=Io(Math.min(l,s,c.maxWidth)),A=Io(Math.min(A,a,c.maxHeight)),l&&!A&&(A=Io(l/2)),(t!==void 0||n!==void 0)&&i&&c.height&&A>c.height&&(A=c.height,l=Io(Math.floor(A*i))),{width:l,height:A}}function cd(e,t,n){const i=t||1,o=Math.floor(e.height*i),r=Math.floor(e.width*i);e.height=Math.floor(e.height),e.width=Math.floor(e.width);const s=e.canvas;return s.style&&(n||!s.style.height&&!s.style.width)&&(s.style.height=`${e.height}px`,s.style.width=`${e.width}px`),e.currentDevicePixelRatio!==i||s.height!==o||s.width!==r?(e.currentDevicePixelRatio=i,s.height=o,s.width=r,e.ctx.setTransform(i,0,0,i,0,0),!0):!1}const Wb=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};Ts()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch{}return e}();function ld(e,t){const n=Fb(e,t),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}const Yb=function(e,t){return{x(n){return e+e+t-n},setWidth(n){t=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,i){return n-i},leftForLtr(n,i){return n-i}}},Kb=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function zn(e,t,n){return e?Yb(t,n):Kb()}function Ad(e,t){let n,i;(t==="ltr"||t==="rtl")&&(n=e.canvas.style,i=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=i)}function dd(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}/*!
|
|
128
|
+
*/function ln(){}const w1=(()=>{let e=0;return()=>e++})();function Ct(e){return e===null||typeof e>"u"}function Ut(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function pt(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function _e(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function qe(e,t){return _e(e)?e:t}function mt(e,t){return typeof e>"u"?t:e}const x1=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/t,Tf=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function Pt(e,t,n){if(e&&typeof e.call=="function")return e.apply(n,t)}function bt(e,t,n,r){let i,o,s;if(Ut(e))for(o=e.length,i=0;i<o;i++)t.call(n,e[i],i);else if(pt(e))for(s=Object.keys(e),o=s.length,i=0;i<o;i++)t.call(n,e[s[i]],s[i])}function Po(e,t){let n,r,i,o;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(i=e[n],o=t[n],i.datasetIndex!==o.datasetIndex||i.index!==o.index)return!1;return!0}function Do(e){if(Ut(e))return e.map(Do);if(pt(e)){const t=Object.create(null),n=Object.keys(e),r=n.length;let i=0;for(;i<r;++i)t[n[i]]=Do(e[n[i]]);return t}return e}function Mf(e){return["__proto__","prototype","constructor"].indexOf(e)===-1}function k1(e,t,n,r){if(!Mf(e))return;const i=t[e],o=n[e];pt(i)&&pt(o)?pi(i,o,r):t[e]=Do(o)}function pi(e,t,n){const r=Ut(t)?t:[t],i=r.length;if(!pt(e))return e;n=n||{};const o=n.merger||k1;let s;for(let a=0;a<i;++a){if(s=r[a],!pt(s))continue;const l=Object.keys(s);for(let c=0,u=l.length;c<u;++c)o(l[c],e,s,n)}return e}function gi(e,t){return pi(e,t,{merger:_1})}function _1(e,t,n){if(!Mf(e))return;const r=t[e],i=n[e];pt(r)&&pt(i)?gi(r,i):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=Do(i))}const Of={"":e=>e,x:e=>e.x,y:e=>e.y};function S1(e){const t=e.split("."),n=[];let r="";for(const i of t)r+=i,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}function E1(e){const t=S1(e);return n=>{for(const r of t){if(r==="")break;n=n&&n[r]}return n}}function Sn(e,t){return(Of[t]||(Of[t]=E1(t)))(e)}function al(e){return e.charAt(0).toUpperCase()+e.slice(1)}const mi=e=>typeof e<"u",En=e=>typeof e=="function",Lf=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function C1(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const jt=Math.PI,Ae=2*jt,Bo=Number.POSITIVE_INFINITY,P1=jt/180,fe=jt/2,Un=jt/4,Rf=jt*2/3,ll=Math.log10,Cn=Math.sign;function Io(e,t,n){return Math.abs(e-t)<n}function Qf(e){const t=Math.round(e);e=Io(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(ll(e))),r=e/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function D1(e){const t=[],n=Math.sqrt(e);let r;for(r=1;r<n;r++)e%r===0&&(t.push(r),t.push(e/r));return n===(n|0)&&t.push(n),t.sort((i,o)=>i-o).pop(),t}function To(e){return!isNaN(parseFloat(e))&&isFinite(e)}function B1(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}function I1(e,t,n){let r,i,o;for(r=0,i=e.length;r<i;r++)o=e[r][n],isNaN(o)||(t.min=Math.min(t.min,o),t.max=Math.max(t.max,o))}function Ke(e){return e*(jt/180)}function T1(e){return e*(180/jt)}function Ff(e){if(!_e(e))return;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n++;return n}function M1(e,t){const n=t.x-e.x,r=t.y-e.y,i=Math.sqrt(n*n+r*r);let o=Math.atan2(r,n);return o<-.5*jt&&(o+=Ae),{angle:o,distance:i}}function O1(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function jn(e){return(e%Ae+Ae)%Ae}function cl(e,t,n,r){const i=jn(e),o=jn(t),s=jn(n),a=jn(o-i),l=jn(s-i),c=jn(i-o),u=jn(i-s);return i===o||i===s||r&&o===s||a>l&&c<u}function Oe(e,t,n){return Math.max(t,Math.min(n,e))}function L1(e){return Oe(e,-32768,32767)}function kr(e,t,n,r=1e-6){return e>=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function ul(e,t,n){n=n||(s=>e[s]<t);let r=e.length-1,i=0,o;for(;r-i>1;)o=i+r>>1,n(o)?i=o:r=o;return{lo:i,hi:r}}const dl=(e,t,n,r)=>ul(e,n,r?i=>{const o=e[i][t];return o<n||o===n&&e[i+1][t]===n}:i=>e[i][t]<n),R1=(e,t,n)=>ul(e,n,r=>e[r][t]>=n);function Q1(e,t,n){let r=0,i=e.length;for(;r<i&&e[r]<t;)r++;for(;i>r&&e[i-1]>n;)i--;return r>0||i<e.length?e.slice(r,i):e}const Nf=["push","pop","shift","splice","unshift"];function F1(e,t){if(e._chartjs){e._chartjs.listeners.push(t);return}Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),Nf.forEach(n=>{const r="_onData"+al(n),i=e[n];Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value(...o){const s=i.apply(this,o);return e._chartjs.listeners.forEach(a=>{typeof a[r]=="function"&&a[r](...o)}),s}})})}function zf(e,t){const n=e._chartjs;if(!n)return;const r=n.listeners,i=r.indexOf(t);i!==-1&&r.splice(i,1),!(r.length>0)&&(Nf.forEach(o=>{delete e[o]}),delete e._chartjs)}function Hf(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const Uf=function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame}();function jf(e,t){let n=[],r=!1;return function(...i){n=i,r||(r=!0,Uf.call(window,()=>{r=!1,e.apply(t,n)}))}}function N1(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}const Al=e=>e==="start"?"left":e==="end"?"right":"center",Gt=(e,t,n)=>e==="start"?t:e==="end"?n:(t+n)/2,z1=(e,t,n,r)=>e===(r?"left":"right")?n:e==="center"?(t+n)/2:t,Mo=e=>e===0||e===1,Vf=(e,t,n)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*Ae/n)),Wf=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*Ae/n)+1,bi={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*fe)+1,easeOutSine:e=>Math.sin(e*fe),easeInOutSine:e=>-.5*(Math.cos(jt*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>Mo(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>Mo(e)?e:Vf(e,.075,.3),easeOutElastic:e=>Mo(e)?e:Wf(e,.075,.3),easeInOutElastic(e){return Mo(e)?e:e<.5?.5*Vf(e*2,.1125,.45):.5+.5*Wf(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-bi.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?bi.easeInBounce(e*2)*.5:bi.easeOutBounce(e*2-1)*.5+.5};function Yf(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function qf(e){return Yf(e)?e:new hi(e)}function fl(e){return Yf(e)?e:new hi(e).saturate(.5).darken(.1).hexString()}const H1=["x","y","borderWidth","radius","tension"],U1=["color","borderColor","backgroundColor"];function j1(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),e.set("animations",{colors:{type:"color",properties:U1},numbers:{type:"number",properties:H1}}),e.describe("animations",{_fallback:"animation"}),e.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=>t|0}}}})}function V1(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const Kf=new Map;function W1(e,t){t=t||{};const n=e+JSON.stringify(t);let r=Kf.get(n);return r||(r=new Intl.NumberFormat(e,t),Kf.set(n,r)),r}function Oo(e,t,n){return W1(t,n).format(e)}const Gf={values(e){return Ut(e)?e:""+e},numeric(e,t,n){if(e===0)return"0";const r=this.chart.options.locale;let i,o=e;if(n.length>1){const c=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(c<1e-4||c>1e15)&&(i="scientific"),o=Y1(e,n)}const s=ll(Math.abs(o)),a=isNaN(s)?1:Math.max(Math.min(-1*Math.floor(s),20),0),l={notation:i,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),Oo(e,r,l)},logarithmic(e,t,n){if(e===0)return"0";const r=n[t].significand||e/Math.pow(10,Math.floor(ll(e)));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?Gf.numeric.call(this,e,t,n):""}};function Y1(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var Xf={formatters:Gf};function q1(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,n)=>n.lineWidth,tickColor:(t,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Xf.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const Vn=Object.create(null),hl=Object.create(null);function vi(e,t){if(!t)return e;const n=t.split(".");for(let r=0,i=n.length;r<i;++r){const o=n[r];e=e[o]||(e[o]=Object.create(null))}return e}function pl(e,t,n){return typeof t=="string"?pi(vi(e,t),n):pi(vi(e,""),t)}class K1{constructor(t,n){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=r=>r.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(r,i)=>fl(i.backgroundColor),this.hoverBorderColor=(r,i)=>fl(i.borderColor),this.hoverColor=(r,i)=>fl(i.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(n)}set(t,n){return pl(this,t,n)}get(t){return vi(this,t)}describe(t,n){return pl(hl,t,n)}override(t,n){return pl(Vn,t,n)}route(t,n,r,i){const o=vi(this,t),s=vi(this,r),a="_"+n;Object.defineProperties(o,{[a]:{value:o[n],writable:!0},[n]:{enumerable:!0,get(){const l=this[a],c=s[i];return pt(l)?Object.assign({},c,l):mt(l,c)},set(l){this[a]=l}}})}apply(t){t.forEach(n=>n(this))}}var Tt=new K1({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[j1,V1,q1]);function G1(e){return!e||Ct(e.size)||Ct(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function Jf(e,t,n,r,i){let o=t[i];return o||(o=t[i]=e.measureText(i).width,n.push(i)),o>r&&(r=o),r}function Wn(e,t,n){const r=e.currentDevicePixelRatio,i=n!==0?Math.max(n/2,.5):0;return Math.round((t-i)*r)/r+i}function Zf(e,t){!t&&!e||(t=t||e.getContext("2d"),t.save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function $f(e,t,n,r){th(e,t,n,r,null)}function th(e,t,n,r,i){let o,s,a,l,c,u,d,A;const f=t.pointStyle,h=t.rotation,p=t.radius;let g=(h||0)*P1;if(f&&typeof f=="object"&&(o=f.toString(),o==="[object HTMLImageElement]"||o==="[object HTMLCanvasElement]")){e.save(),e.translate(n,r),e.rotate(g),e.drawImage(f,-f.width/2,-f.height/2,f.width,f.height),e.restore();return}if(!(isNaN(p)||p<=0)){switch(e.beginPath(),f){default:i?e.ellipse(n,r,i/2,p,0,0,Ae):e.arc(n,r,p,0,Ae),e.closePath();break;case"triangle":u=i?i/2:p,e.moveTo(n+Math.sin(g)*u,r-Math.cos(g)*p),g+=Rf,e.lineTo(n+Math.sin(g)*u,r-Math.cos(g)*p),g+=Rf,e.lineTo(n+Math.sin(g)*u,r-Math.cos(g)*p),e.closePath();break;case"rectRounded":c=p*.516,l=p-c,s=Math.cos(g+Un)*l,d=Math.cos(g+Un)*(i?i/2-c:l),a=Math.sin(g+Un)*l,A=Math.sin(g+Un)*(i?i/2-c:l),e.arc(n-d,r-a,c,g-jt,g-fe),e.arc(n+A,r-s,c,g-fe,g),e.arc(n+d,r+a,c,g,g+fe),e.arc(n-A,r+s,c,g+fe,g+jt),e.closePath();break;case"rect":if(!h){l=Math.SQRT1_2*p,u=i?i/2:l,e.rect(n-u,r-l,2*u,2*l);break}g+=Un;case"rectRot":d=Math.cos(g)*(i?i/2:p),s=Math.cos(g)*p,a=Math.sin(g)*p,A=Math.sin(g)*(i?i/2:p),e.moveTo(n-d,r-a),e.lineTo(n+A,r-s),e.lineTo(n+d,r+a),e.lineTo(n-A,r+s),e.closePath();break;case"crossRot":g+=Un;case"cross":d=Math.cos(g)*(i?i/2:p),s=Math.cos(g)*p,a=Math.sin(g)*p,A=Math.sin(g)*(i?i/2:p),e.moveTo(n-d,r-a),e.lineTo(n+d,r+a),e.moveTo(n+A,r-s),e.lineTo(n-A,r+s);break;case"star":d=Math.cos(g)*(i?i/2:p),s=Math.cos(g)*p,a=Math.sin(g)*p,A=Math.sin(g)*(i?i/2:p),e.moveTo(n-d,r-a),e.lineTo(n+d,r+a),e.moveTo(n+A,r-s),e.lineTo(n-A,r+s),g+=Un,d=Math.cos(g)*(i?i/2:p),s=Math.cos(g)*p,a=Math.sin(g)*p,A=Math.sin(g)*(i?i/2:p),e.moveTo(n-d,r-a),e.lineTo(n+d,r+a),e.moveTo(n+A,r-s),e.lineTo(n-A,r+s);break;case"line":s=i?i/2:Math.cos(g)*p,a=Math.sin(g)*p,e.moveTo(n-s,r-a),e.lineTo(n+s,r+a);break;case"dash":e.moveTo(n,r),e.lineTo(n+Math.cos(g)*(i?i/2:p),r+Math.sin(g)*p);break;case!1:e.closePath();break}e.fill(),t.borderWidth>0&&e.stroke()}}function eh(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.x<t.right+n&&e.y>t.top-n&&e.y<t.bottom+n}function gl(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function ml(e){e.restore()}function X1(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),Ct(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}function J1(e,t,n,r,i){if(i.strikethrough||i.underline){const o=e.measureText(r),s=t-o.actualBoundingBoxLeft,a=t+o.actualBoundingBoxRight,l=n-o.actualBoundingBoxAscent,c=n+o.actualBoundingBoxDescent,u=i.strikethrough?(l+c)/2:c;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=i.decorationWidth||2,e.moveTo(s,u),e.lineTo(a,u),e.stroke()}}function Z1(e,t){const n=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=n}function yi(e,t,n,r,i,o={}){const s=Ut(t)?t:[t],a=o.strokeWidth>0&&o.strokeColor!=="";let l,c;for(e.save(),e.font=i.string,X1(e,o),l=0;l<s.length;++l)c=s[l],o.backdrop&&Z1(e,o.backdrop),a&&(o.strokeColor&&(e.strokeStyle=o.strokeColor),Ct(o.strokeWidth)||(e.lineWidth=o.strokeWidth),e.strokeText(c,n,r,o.maxWidth)),e.fillText(c,n,r,o.maxWidth),J1(e,n,r,c,o),r+=Number(i.lineHeight);e.restore()}function Lo(e,t){const{x:n,y:r,w:i,h:o,radius:s}=t;e.arc(n+s.topLeft,r+s.topLeft,s.topLeft,1.5*jt,jt,!0),e.lineTo(n,r+o-s.bottomLeft),e.arc(n+s.bottomLeft,r+o-s.bottomLeft,s.bottomLeft,jt,fe,!0),e.lineTo(n+i-s.bottomRight,r+o),e.arc(n+i-s.bottomRight,r+o-s.bottomRight,s.bottomRight,fe,0,!0),e.lineTo(n+i,r+s.topRight),e.arc(n+i-s.topRight,r+s.topRight,s.topRight,0,-fe,!0),e.lineTo(n+s.topLeft,r)}const $1=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,t2=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function e2(e,t){const n=(""+e).match($1);if(!n||n[1]==="normal")return t*1.2;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100;break}return t*e}const n2=e=>+e||0;function nh(e,t){const n={},r=pt(t),i=r?Object.keys(t):t,o=pt(e)?r?s=>mt(e[s],e[t[s]]):s=>e[s]:()=>e;for(const s of i)n[s]=n2(o(s));return n}function rh(e){return nh(e,{top:"y",right:"x",bottom:"y",left:"x"})}function _r(e){return nh(e,["topLeft","topRight","bottomLeft","bottomRight"])}function Se(e){const t=rh(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Xt(e,t){e=e||{},t=t||Tt.font;let n=mt(e.size,t.size);typeof n=="string"&&(n=parseInt(n,10));let r=mt(e.style,t.style);r&&!(""+r).match(t2)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const i={family:mt(e.family,t.family),lineHeight:e2(mt(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:mt(e.weight,t.weight),string:""};return i.string=G1(i),i}function Ro(e,t,n,r){let i,o,s;for(i=0,o=e.length;i<o;++i)if(s=e[i],s!==void 0&&s!==void 0)return s}function r2(e,t,n){const{min:r,max:i}=e,o=Tf(t,(i-r)/2),s=(a,l)=>n&&a===0?0:a+l;return{min:s(r,-Math.abs(o)),max:s(i,o)}}function Sr(e,t){return Object.assign(Object.create(e),t)}function bl(e,t=[""],n,r,i=()=>e[0]){const o=n||e;typeof r>"u"&&(r=lh("_fallback",e));const s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:o,_fallback:r,_getTarget:i,override:a=>bl([a,...e],t,o,r)};return new Proxy(s,{deleteProperty(a,l){return delete a[l],delete a._keys,delete e[0][l],!0},get(a,l){return oh(a,l,()=>d2(l,t,e,a))},getOwnPropertyDescriptor(a,l){return Reflect.getOwnPropertyDescriptor(a._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(a,l){return ch(a).includes(l)},ownKeys(a){return ch(a)},set(a,l,c){const u=a._storage||(a._storage=i());return a[l]=u[l]=c,delete a._keys,!0}})}function Er(e,t,n,r){const i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:ih(e,r),setContext:o=>Er(e,o,n,r),override:o=>Er(e.override(o),t,n,r)};return new Proxy(i,{deleteProperty(o,s){return delete o[s],delete e[s],!0},get(o,s,a){return oh(o,s,()=>o2(o,s,a))},getOwnPropertyDescriptor(o,s){return o._descriptors.allKeys?Reflect.has(e,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,s)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(o,s){return Reflect.has(e,s)},ownKeys(){return Reflect.ownKeys(e)},set(o,s,a){return e[s]=a,delete o[s],!0}})}function ih(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:r=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:n,indexable:r,isScriptable:En(n)?n:()=>n,isIndexable:En(r)?r:()=>r}}const i2=(e,t)=>e?e+al(t):t,vl=(e,t)=>pt(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function oh(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||t==="constructor")return e[t];const r=n();return e[t]=r,r}function o2(e,t,n){const{_proxy:r,_context:i,_subProxy:o,_descriptors:s}=e;let a=r[t];return En(a)&&s.isScriptable(t)&&(a=s2(t,a,e,n)),Ut(a)&&a.length&&(a=a2(t,a,e,s.isIndexable)),vl(t,a)&&(a=Er(a,i,o&&o[t],s)),a}function s2(e,t,n,r){const{_proxy:i,_context:o,_subProxy:s,_stack:a}=n;if(a.has(e))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+e);a.add(e);let l=t(o,s||r);return a.delete(e),vl(e,l)&&(l=yl(i._scopes,i,e,l)),l}function a2(e,t,n,r){const{_proxy:i,_context:o,_subProxy:s,_descriptors:a}=n;if(typeof o.index<"u"&&r(e))return t[o.index%t.length];if(pt(t[0])){const l=t,c=i._scopes.filter(u=>u!==l);t=[];for(const u of l){const d=yl(c,i,e,u);t.push(Er(d,o,s&&s[e],a))}}return t}function sh(e,t,n){return En(e)?e(t,n):e}const l2=(e,t)=>e===!0?t:typeof e=="string"?Sn(t,e):void 0;function c2(e,t,n,r,i){for(const o of t){const s=l2(n,o);if(s){e.add(s);const a=sh(s._fallback,n,i);if(typeof a<"u"&&a!==n&&a!==r)return a}else if(s===!1&&typeof r<"u"&&n!==r)return null}return!1}function yl(e,t,n,r){const i=t._rootScopes,o=sh(t._fallback,n,r),s=[...e,...i],a=new Set;a.add(r);let l=ah(a,s,n,o||n,r);return l===null||typeof o<"u"&&o!==n&&(l=ah(a,s,o,l,r),l===null)?!1:bl(Array.from(a),[""],i,o,()=>u2(t,n,r))}function ah(e,t,n,r,i){for(;n;)n=c2(e,t,n,r,i);return n}function u2(e,t,n){const r=e._getTarget();t in r||(r[t]={});const i=r[t];return Ut(i)&&pt(n)?n:i||{}}function d2(e,t,n,r){let i;for(const o of t)if(i=lh(i2(o,e),n),typeof i<"u")return vl(e,i)?yl(n,r,e,i):i}function lh(e,t){for(const n of t){if(!n)continue;const r=n[e];if(typeof r<"u")return r}}function ch(e){let t=e._keys;return t||(t=e._keys=A2(e._scopes)),t}function A2(e){const t=new Set;for(const n of e)for(const r of Object.keys(n).filter(i=>!i.startsWith("_")))t.add(r);return Array.from(t)}function f2(e,t,n,r){const{iScale:i}=e,{key:o="r"}=this._parsing,s=new Array(r);let a,l,c,u;for(a=0,l=r;a<l;++a)c=a+n,u=t[c],s[a]={r:i.parse(Sn(u,o),c)};return s}function wl(){return typeof window<"u"&&typeof document<"u"}function xl(e){let t=e.parentNode;return t&&t.toString()==="[object ShadowRoot]"&&(t=t.host),t}function Qo(e,t,n){let r;return typeof e=="string"?(r=parseInt(e,10),e.indexOf("%")!==-1&&(r=r/100*t.parentNode[n])):r=e,r}const Fo=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);function h2(e,t){return Fo(e).getPropertyValue(t)}const p2=["top","right","bottom","left"];function Yn(e,t,n){const r={};n=n?"-"+n:"";for(let i=0;i<4;i++){const o=p2[i];r[o]=parseFloat(e[t+"-"+o+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const g2=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function m2(e,t){const n=e.touches,r=n&&n.length?n[0]:e,{offsetX:i,offsetY:o}=r;let s=!1,a,l;if(g2(i,o,e.target))a=i,l=o;else{const c=t.getBoundingClientRect();a=r.clientX-c.left,l=r.clientY-c.top,s=!0}return{x:a,y:l,box:s}}function qn(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:r}=t,i=Fo(n),o=i.boxSizing==="border-box",s=Yn(i,"padding"),a=Yn(i,"border","width"),{x:l,y:c,box:u}=m2(e,n),d=s.left+(u&&a.left),A=s.top+(u&&a.top);let{width:f,height:h}=t;return o&&(f-=s.width+a.width,h-=s.height+a.height),{x:Math.round((l-d)/f*n.width/r),y:Math.round((c-A)/h*n.height/r)}}function b2(e,t,n){let r,i;if(t===void 0||n===void 0){const o=e&&xl(e);if(!o)t=e.clientWidth,n=e.clientHeight;else{const s=o.getBoundingClientRect(),a=Fo(o),l=Yn(a,"border","width"),c=Yn(a,"padding");t=s.width-c.width-l.width,n=s.height-c.height-l.height,r=Qo(a.maxWidth,o,"clientWidth"),i=Qo(a.maxHeight,o,"clientHeight")}}return{width:t,height:n,maxWidth:r||Bo,maxHeight:i||Bo}}const No=e=>Math.round(e*10)/10;function v2(e,t,n,r){const i=Fo(e),o=Yn(i,"margin"),s=Qo(i.maxWidth,e,"clientWidth")||Bo,a=Qo(i.maxHeight,e,"clientHeight")||Bo,l=b2(e,t,n);let{width:c,height:u}=l;if(i.boxSizing==="content-box"){const A=Yn(i,"border","width"),f=Yn(i,"padding");c-=f.width+A.width,u-=f.height+A.height}return c=Math.max(0,c-o.width),u=Math.max(0,r?c/r:u-o.height),c=No(Math.min(c,s,l.maxWidth)),u=No(Math.min(u,a,l.maxHeight)),c&&!u&&(u=No(c/2)),(t!==void 0||n!==void 0)&&r&&l.height&&u>l.height&&(u=l.height,c=No(Math.floor(u*r))),{width:c,height:u}}function uh(e,t,n){const r=t||1,i=Math.floor(e.height*r),o=Math.floor(e.width*r);e.height=Math.floor(e.height),e.width=Math.floor(e.width);const s=e.canvas;return s.style&&(n||!s.style.height&&!s.style.width)&&(s.style.height=`${e.height}px`,s.style.width=`${e.width}px`),e.currentDevicePixelRatio!==r||s.height!==i||s.width!==o?(e.currentDevicePixelRatio=r,s.height=i,s.width=o,e.ctx.setTransform(r,0,0,r,0,0),!0):!1}const y2=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};wl()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch{}return e}();function dh(e,t){const n=h2(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}const w2=function(e,t){return{x(n){return e+e+t-n},setWidth(n){t=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,r){return n-r},leftForLtr(n,r){return n-r}}},x2=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function Cr(e,t,n){return e?w2(t,n):x2()}function Ah(e,t){let n,r;(t==="ltr"||t==="rtl")&&(n=e.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=r)}function fh(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}/*!
|
|
89
129
|
* Chart.js v4.4.6
|
|
90
130
|
* https://www.chartjs.org
|
|
91
131
|
* (c) 2024 Chart.js Contributors
|
|
92
132
|
* Released under the MIT License
|
|
93
|
-
*/class qb{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,n,i,o){const r=n.listeners[o],s=n.duration;r.forEach(a=>a({chart:t,initial:n.initial,numSteps:s,currentStep:Math.min(i-n.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=zA.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((i,o)=>{if(!i.running||!i.items.length)return;const r=i.items;let s=r.length-1,a=!1,c;for(;s>=0;--s)c=r[s],c._active?(c._total>i.duration&&(i.duration=c._total),c.tick(t),a=!0):(r[s]=r[r.length-1],r.pop());a&&(o.draw(),this._notify(o,i,t,"progress")),r.length||(i.running=!1,this._notify(o,i,t,"complete"),i.initial=!1),n+=r.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let i=n.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,i)),i}listen(t,n,i){this._getAnims(t).listeners[n].push(i)}add(t,n){!n||!n.length||this._getAnims(t).items.push(...n)}has(t){return this._getAnims(t).items.length>0}start(t){const n=this._charts.get(t);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((i,o)=>Math.max(i,o._duration),0),this._refresh())}running(t){if(!this._running)return!1;const n=this._charts.get(t);return!(!n||!n.running||!n.items.length)}stop(t){const n=this._charts.get(t);if(!n||!n.items.length)return;const i=n.items;let o=i.length-1;for(;o>=0;--o)i[o].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var Re=new qb;const ud="transparent",Xb={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const i=WA(e||ud),o=i.valid&&WA(t||ud);return o&&o.valid?o.mix(i,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class Gb{constructor(t,n,i,o){const r=n[i];o=So([t.to,o,r,t.from]);const s=So([t.from,r,o]);this._active=!0,this._fn=t.fn||Xb[t.type||typeof s],this._easing=xi[t.easing]||xi.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=i,this._from=s,this._to=o,this._promises=void 0}active(){return this._active}update(t,n,i){if(this._active){this._notify(!1);const o=this._target[this._prop],r=i-this._start,s=this._duration-r;this._start=i,this._duration=Math.floor(Math.max(s,t.duration)),this._total+=r,this._loop=!!t.loop,this._to=So([t.to,n,o,t.from]),this._from=So([t.from,o,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,i=this._duration,o=this._prop,r=this._from,s=this._loop,a=this._to;let c;if(this._active=r!==a&&(s||n<i),!this._active){this._target[o]=a,this._notify(!0);return}if(n<0){this._target[o]=r;return}c=n/i%2,c=s&&c>1?2-c:c,c=this._easing(Math.min(1,Math.max(0,c))),this._target[o]=this._fn(r,a,c)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,i)=>{t.push({res:n,rej:i})})}_notify(t){const n=t?"res":"rej",i=this._promises||[];for(let o=0;o<i.length;o++)i[o][n]()}}class hd{constructor(t,n){this._chart=t,this._properties=new Map,this.configure(n)}configure(t){if(!it(t))return;const n=Object.keys(mt.animation),i=this._properties;Object.getOwnPropertyNames(t).forEach(o=>{const r=t[o];if(!it(r))return;const s={};for(const a of n)s[a]=r[a];(Pt(r.properties)&&r.properties||[o]).forEach(a=>{(a===o||!i.has(a))&&i.set(a,s)})})}_animateOptions(t,n){const i=n.options,o=Zb(t,i);if(!o)return[];const r=this._createAnimations(o,i);return i.$shared&&Jb(t.options.$animations,i).then(()=>{t.options=i},()=>{}),r}_createAnimations(t,n){const i=this._properties,o=[],r=t.$animations||(t.$animations={}),s=Object.keys(n),a=Date.now();let c;for(c=s.length-1;c>=0;--c){const l=s[c];if(l.charAt(0)==="$")continue;if(l==="options"){o.push(...this._animateOptions(t,n));continue}const A=n[l];let d=r[l];const u=i.get(l);if(d)if(u&&d.active()){d.update(u,A,a);continue}else d.cancel();if(!u||!u.duration){t[l]=A;continue}r[l]=d=new Gb(u,t,l,A),o.push(d)}return o}update(t,n){if(this._properties.size===0){Object.assign(t,n);return}const i=this._createAnimations(t,n);if(i.length)return Re.add(this._chart,i),!0}}function Jb(e,t){const n=[],i=Object.keys(t);for(let o=0;o<i.length;o++){const r=e[i[o]];r&&r.active()&&n.push(r.wait())}return Promise.all(n)}function Zb(e,t){if(!t)return;let n=e.options;if(!n){e.options=t;return}return n.$shared&&(e.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function fd(e,t){const n=e&&e.options||{},i=n.reverse,o=n.min===void 0?t:0,r=n.max===void 0?t:0;return{start:i?r:o,end:i?o:r}}function $b(e,t,n){if(n===!1)return!1;const i=fd(e,n),o=fd(t,n);return{top:o.end,right:i.end,bottom:o.start,left:i.start}}function tv(e){let t,n,i,o;return it(e)?(t=e.top,n=e.right,i=e.bottom,o=e.left):t=n=i=o=e,{top:t,right:n,bottom:i,left:o,disabled:e===!1}}function pd(e,t){const n=[],i=e._getSortedDatasetMetas(t);let o,r;for(o=0,r=i.length;o<r;++o)n.push(i[o].index);return n}function gd(e,t,n,i={}){const o=e.keys,r=i.mode==="single";let s,a,c,l;if(t===null)return;let A=!1;for(s=0,a=o.length;s<a;++s){if(c=+o[s],c===n){if(A=!0,i.all)continue;break}l=e.values[c],oe(l)&&(r||t===0||$e(t)===$e(l))&&(t+=l)}return!A&&!i.all?0:t}function ev(e,t){const{iScale:n,vScale:i}=t,o=n.axis==="x"?"x":"y",r=i.axis==="x"?"x":"y",s=Object.keys(e),a=new Array(s.length);let c,l,A;for(c=0,l=s.length;c<l;++c)A=s[c],a[c]={[o]:A,[r]:e[A]};return a}function Os(e,t){const n=e&&e.options.stacked;return n||n===void 0&&t.stack!==void 0}function nv(e,t,n){return`${e.id}.${t.id}.${n.stack||n.type}`}function iv(e){const{min:t,max:n,minDefined:i,maxDefined:o}=e.getUserBounds();return{min:i?t:Number.NEGATIVE_INFINITY,max:o?n:Number.POSITIVE_INFINITY}}function ov(e,t,n){const i=e[t]||(e[t]={});return i[n]||(i[n]={})}function md(e,t,n,i){for(const o of t.getMatchingVisibleMetas(i).reverse()){const r=e[o.index];if(n&&r>0||!n&&r<0)return o.index}return null}function bd(e,t){const{chart:n,_cachedMeta:i}=e,o=n._stacks||(n._stacks={}),{iScale:r,vScale:s,index:a}=i,c=r.axis,l=s.axis,A=nv(r,s,i),d=t.length;let u;for(let h=0;h<d;++h){const p=t[h],{[c]:g,[l]:b}=p,v=p._stacks||(p._stacks={});u=v[l]=ov(o,A,g),u[a]=b,u._top=md(u,s,!0,i.type),u._bottom=md(u,s,!1,i.type);const w=u._visualValues||(u._visualValues={});w[a]=b}}function Qs(e,t){const n=e.scales;return Object.keys(n).filter(i=>n[i].axis===t).shift()}function rv(e,t){return Hn(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function sv(e,t,n){return Hn(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}function Bi(e,t){const n=e.controller.index,i=e.vScale&&e.vScale.axis;if(i){t=t||e._parsed;for(const o of t){const r=o._stacks;if(!r||r[i]===void 0||r[i][n]===void 0)return;delete r[i][n],r[i]._visualValues!==void 0&&r[i]._visualValues[n]!==void 0&&delete r[i]._visualValues[n]}}}const Ls=e=>e==="reset"||e==="none",vd=(e,t)=>t?e:Object.assign({},e),av=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:pd(n,!0),values:null};class gn{constructor(t,n){this.chart=t,this._ctx=t.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=Os(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Bi(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,n=this._cachedMeta,i=this.getDataset(),o=(d,u,h,p)=>d==="x"?u:d==="r"?p:h,r=n.xAxisID=st(i.xAxisID,Qs(t,"x")),s=n.yAxisID=st(i.yAxisID,Qs(t,"y")),a=n.rAxisID=st(i.rAxisID,Qs(t,"r")),c=n.indexAxis,l=n.iAxisID=o(c,r,s,a),A=n.vAxisID=o(c,s,r,a);n.xScale=this.getScaleForId(r),n.yScale=this.getScaleForId(s),n.rScale=this.getScaleForId(a),n.iScale=this.getScaleForId(l),n.vScale=this.getScaleForId(A)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const n=this._cachedMeta;return t===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&HA(this._data,this),t._stacked&&Bi(t)}_dataCheck(){const t=this.getDataset(),n=t.data||(t.data=[]),i=this._data;if(it(n)){const o=this._cachedMeta;this._data=ev(n,o)}else if(i!==n){if(i){HA(i,this);const o=this._cachedMeta;Bi(o),o._parsed=[]}n&&Object.isExtensible(n)&&lb(n,this),this._syncList=[],this._data=n}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const n=this._cachedMeta,i=this.getDataset();let o=!1;this._dataCheck();const r=n._stacked;n._stacked=Os(n.vScale,n),n.stack!==i.stack&&(o=!0,Bi(n),n.stack=i.stack),this._resyncElements(t),(o||r!==n._stacked)&&(bd(this,n._parsed),n._stacked=Os(n.vScale,n))}configure(){const t=this.chart.config,n=t.datasetScopeKeys(this._type),i=t.getOptionScopes(this.getDataset(),n,!0);this.options=t.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,n){const{_cachedMeta:i,_data:o}=this,{iScale:r,_stacked:s}=i,a=r.axis;let c=t===0&&n===o.length?!0:i._sorted,l=t>0&&i._parsed[t-1],A,d,u;if(this._parsing===!1)i._parsed=o,i._sorted=!0,u=o;else{Pt(o[t])?u=this.parseArrayData(i,o,t,n):it(o[t])?u=this.parseObjectData(i,o,t,n):u=this.parsePrimitiveData(i,o,t,n);const h=()=>d[a]===null||l&&d[a]<l[a];for(A=0;A<n;++A)i._parsed[A+t]=d=u[A],c&&(h()&&(c=!1),l=d);i._sorted=c}s&&bd(this,u)}parsePrimitiveData(t,n,i,o){const{iScale:r,vScale:s}=t,a=r.axis,c=s.axis,l=r.getLabels(),A=r===s,d=new Array(o);let u,h,p;for(u=0,h=o;u<h;++u)p=u+i,d[u]={[a]:A||r.parse(l[p],p),[c]:s.parse(n[p],p)};return d}parseArrayData(t,n,i,o){const{xScale:r,yScale:s}=t,a=new Array(o);let c,l,A,d;for(c=0,l=o;c<l;++c)A=c+i,d=n[A],a[c]={x:r.parse(d[0],A),y:s.parse(d[1],A)};return a}parseObjectData(t,n,i,o){const{xScale:r,yScale:s}=t,{xAxisKey:a="x",yAxisKey:c="y"}=this._parsing,l=new Array(o);let A,d,u,h;for(A=0,d=o;A<d;++A)u=A+i,h=n[u],l[A]={x:r.parse(Je(h,a),u),y:s.parse(Je(h,c),u)};return l}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,n,i){const o=this.chart,r=this._cachedMeta,s=n[t.axis],a={keys:pd(o,!0),values:n._stacks[t.axis]._visualValues};return gd(a,s,r.index,{mode:i})}updateRangeFromParsed(t,n,i,o){const r=i[n.axis];let s=r===null?NaN:r;const a=o&&i._stacks[n.axis];o&&a&&(o.values=a,s=gd(o,r,this._cachedMeta.index)),t.min=Math.min(t.min,s),t.max=Math.max(t.max,s)}getMinMax(t,n){const i=this._cachedMeta,o=i._parsed,r=i._sorted&&t===i.iScale,s=o.length,a=this._getOtherScale(t),c=av(n,i,this.chart),l={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:A,max:d}=iv(a);let u,h;function p(){h=o[u];const g=h[a.axis];return!oe(h[t.axis])||A>g||d<g}for(u=0;u<s&&!(!p()&&(this.updateRangeFromParsed(l,t,h,c),r));++u);if(r){for(u=s-1;u>=0;--u)if(!p()){this.updateRangeFromParsed(l,t,h,c);break}}return l}getAllParsedValues(t){const n=this._cachedMeta._parsed,i=[];let o,r,s;for(o=0,r=n.length;o<r;++o)s=n[o][t.axis],oe(s)&&i.push(s);return i}getMaxOverflow(){return!1}getLabelAndValue(t){const n=this._cachedMeta,i=n.iScale,o=n.vScale,r=this.getParsed(t);return{label:i?""+i.getLabelForValue(r[i.axis]):"",value:o?""+o.getLabelForValue(r[o.axis]):""}}_update(t){const n=this._cachedMeta;this.update(t||"default"),n._clip=tv(st(this.options.clip,$b(n.xScale,n.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,n=this.chart,i=this._cachedMeta,o=i.data||[],r=n.chartArea,s=[],a=this._drawStart||0,c=this._drawCount||o.length-a,l=this.options.drawActiveElementsOnTop;let A;for(i.dataset&&i.dataset.draw(t,r,a,c),A=a;A<a+c;++A){const d=o[A];d.hidden||(d.active&&l?s.push(d):d.draw(t,r))}for(A=0;A<s.length;++A)s[A].draw(t,r)}getStyle(t,n){const i=n?"active":"default";return t===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(i):this.resolveDataElementOptions(t||0,i)}getContext(t,n,i){const o=this.getDataset();let r;if(t>=0&&t<this._cachedMeta.data.length){const s=this._cachedMeta.data[t];r=s.$context||(s.$context=sv(this.getContext(),t,s)),r.parsed=this.getParsed(t),r.raw=o.data[t],r.index=r.dataIndex=t}else r=this.$context||(this.$context=rv(this.chart.getContext(),this.index)),r.dataset=o,r.index=r.datasetIndex=this.index;return r.active=!!n,r.mode=i,r}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,n){return this._resolveElementOptions(this.dataElementType.id,n,t)}_resolveElementOptions(t,n="default",i){const o=n==="active",r=this._cachedDataOpts,s=t+"-"+n,a=r[s],c=this.enableOptionSharing&&yi(i);if(a)return vd(a,c);const l=this.chart.config,A=l.datasetElementScopeKeys(this._type,t),d=o?[`${t}Hover`,"hover",t,""]:[t,""],u=l.getOptionScopes(this.getDataset(),A),h=Object.keys(mt.elements[t]),p=()=>this.getContext(i,o,n),g=l.resolveNamedOptions(u,h,p,d);return g.$shared&&(g.$shared=c,r[s]=Object.freeze(vd(g,c))),g}_resolveAnimations(t,n,i){const o=this.chart,r=this._cachedDataOpts,s=`animation-${n}`,a=r[s];if(a)return a;let c;if(o.options.animation!==!1){const A=this.chart.config,d=A.datasetAnimationScopeKeys(this._type,n),u=A.getOptionScopes(this.getDataset(),d);c=A.createResolver(u,this.getContext(t,i,n))}const l=new hd(o,c&&c.animations);return c&&c._cacheable&&(r[s]=Object.freeze(l)),l}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,n){return!n||Ls(t)||this.chart._animationsDisabled}_getSharedOptions(t,n){const i=this.resolveDataElementOptions(t,n),o=this._sharedOptions,r=this.getSharedOptions(i),s=this.includeOptions(n,r)||r!==o;return this.updateSharedOptions(r,n,i),{sharedOptions:r,includeOptions:s}}updateElement(t,n,i,o){Ls(o)?Object.assign(t,i):this._resolveAnimations(n,o).update(t,i)}updateSharedOptions(t,n,i){t&&!Ls(n)&&this._resolveAnimations(void 0,n).update(t,i)}_setStyle(t,n,i,o){t.active=o;const r=this.getStyle(n,o);this._resolveAnimations(n,i,o).update(t,{options:!o&&this.getSharedOptions(r)||r})}removeHoverStyle(t,n,i){this._setStyle(t,i,"active",!1)}setHoverStyle(t,n,i){this._setStyle(t,i,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const n=this._data,i=this._cachedMeta.data;for(const[a,c,l]of this._syncList)this[a](c,l);this._syncList=[];const o=i.length,r=n.length,s=Math.min(r,o);s&&this.parse(0,s),r>o?this._insertElements(o,r-o,t):r<o&&this._removeElements(r,o-r)}_insertElements(t,n,i=!0){const o=this._cachedMeta,r=o.data,s=t+n;let a;const c=l=>{for(l.length+=n,a=l.length-1;a>=s;a--)l[a]=l[a-n]};for(c(r),a=t;a<s;++a)r[a]=new this.dataElementType;this._parsing&&c(o._parsed),this.parse(t,n),i&&this.updateElements(r,t,n,"reset")}updateElements(t,n,i,o){}_removeElements(t,n){const i=this._cachedMeta;if(this._parsing){const o=i._parsed.splice(t,n);i._stacked&&Bi(i,o)}i.data.splice(t,n)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[n,i,o]=t;this[n](i,o)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,n){n&&this._sync(["_removeElements",t,n]);const i=arguments.length-2;i&&this._sync(["_insertElements",t,i])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}Z(gn,"defaults",{}),Z(gn,"datasetElementType",null),Z(gn,"dataElementType",null);function cv(e,t){if(!e._cache.$bar){const n=e.getMatchingVisibleMetas(t);let i=[];for(let o=0,r=n.length;o<r;o++)i=i.concat(n[o].controller.getAllParsedValues(e));e._cache.$bar=FA(i.sort((o,r)=>o-r))}return e._cache.$bar}function lv(e){const t=e.iScale,n=cv(t,e.type);let i=t._length,o,r,s,a;const c=()=>{s===32767||s===-32768||(yi(a)&&(i=Math.min(i,Math.abs(s-a)||i)),a=s)};for(o=0,r=n.length;o<r;++o)s=t.getPixelForValue(n[o]),c();for(a=void 0,o=0,r=t.ticks.length;o<r;++o)s=t.getPixelForTick(o),c();return i}function Av(e,t,n,i){const o=n.barThickness;let r,s;return ut(o)?(r=t.min*n.categoryPercentage,s=n.barPercentage):(r=o*i,s=1),{chunk:r/i,ratio:s,start:t.pixels[e]-r/2}}function dv(e,t,n,i){const o=t.pixels,r=o[e];let s=e>0?o[e-1]:null,a=e<o.length-1?o[e+1]:null;const c=n.categoryPercentage;s===null&&(s=r-(a===null?t.end-t.start:a-r)),a===null&&(a=r+r-s);const l=r-(r-Math.min(s,a))/2*c;return{chunk:Math.abs(a-s)/2*c/i,ratio:n.barPercentage,start:l}}function uv(e,t,n,i){const o=n.parse(e[0],i),r=n.parse(e[1],i),s=Math.min(o,r),a=Math.max(o,r);let c=s,l=a;Math.abs(s)>Math.abs(a)&&(c=a,l=s),t[n.axis]=l,t._custom={barStart:c,barEnd:l,start:o,end:r,min:s,max:a}}function wd(e,t,n,i){return Pt(e)?uv(e,t,n,i):t[n.axis]=n.parse(e,i),t}function yd(e,t,n,i){const o=e.iScale,r=e.vScale,s=o.getLabels(),a=o===r,c=[];let l,A,d,u;for(l=n,A=n+i;l<A;++l)u=t[l],d={},d[o.axis]=a||o.parse(s[l],l),c.push(wd(u,d,r,l));return c}function Rs(e){return e&&e.barStart!==void 0&&e.barEnd!==void 0}function hv(e,t,n){return e!==0?$e(e):(t.isHorizontal()?1:-1)*(t.min>=n?1:-1)}function fv(e){let t,n,i,o,r;return e.horizontal?(t=e.base>e.x,n="left",i="right"):(t=e.base<e.y,n="bottom",i="top"),t?(o="end",r="start"):(o="start",r="end"),{start:n,end:i,reverse:t,top:o,bottom:r}}function pv(e,t,n,i){let o=t.borderSkipped;const r={};if(!o){e.borderSkipped=r;return}if(o===!0){e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:s,end:a,reverse:c,top:l,bottom:A}=fv(e);o==="middle"&&n&&(e.enableBorderRadius=!0,(n._top||0)===i?o=l:(n._bottom||0)===i?o=A:(r[xd(A,s,a,c)]=!0,o=l)),r[xd(o,s,a,c)]=!0,e.borderSkipped=r}function xd(e,t,n,i){return i?(e=gv(e,t,n),e=_d(e,n,t)):e=_d(e,t,n),e}function gv(e,t,n){return e===t?n:e===n?t:e}function _d(e,t,n){return e==="start"?t:e==="end"?n:e}function mv(e,{inflateAmount:t},n){e.inflateAmount=t==="auto"?n===1?.33:0:t}class Oo extends gn{parsePrimitiveData(t,n,i,o){return yd(t,n,i,o)}parseArrayData(t,n,i,o){return yd(t,n,i,o)}parseObjectData(t,n,i,o){const{iScale:r,vScale:s}=t,{xAxisKey:a="x",yAxisKey:c="y"}=this._parsing,l=r.axis==="x"?a:c,A=s.axis==="x"?a:c,d=[];let u,h,p,g;for(u=i,h=i+o;u<h;++u)g=n[u],p={},p[r.axis]=r.parse(Je(g,l),u),d.push(wd(Je(g,A),p,s,u));return d}updateRangeFromParsed(t,n,i,o){super.updateRangeFromParsed(t,n,i,o);const r=i._custom;r&&n===this._cachedMeta.vScale&&(t.min=Math.min(t.min,r.min),t.max=Math.max(t.max,r.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const n=this._cachedMeta,{iScale:i,vScale:o}=n,r=this.getParsed(t),s=r._custom,a=Rs(s)?"["+s.start+", "+s.end+"]":""+o.getLabelForValue(r[o.axis]);return{label:""+i.getLabelForValue(r[i.axis]),value:a}}initialize(){this.enableOptionSharing=!0,super.initialize();const t=this._cachedMeta;t.stack=this.getDataset().stack}update(t){const n=this._cachedMeta;this.updateElements(n.data,0,n.data.length,t)}updateElements(t,n,i,o){const r=o==="reset",{index:s,_cachedMeta:{vScale:a}}=this,c=a.getBasePixel(),l=a.isHorizontal(),A=this._getRuler(),{sharedOptions:d,includeOptions:u}=this._getSharedOptions(n,o);for(let h=n;h<n+i;h++){const p=this.getParsed(h),g=r||ut(p[a.axis])?{base:c,head:c}:this._calculateBarValuePixels(h),b=this._calculateBarIndexPixels(h,A),v=(p._stacks||{})[a.axis],w={horizontal:l,base:g.base,enableBorderRadius:!v||Rs(p._custom)||s===v._top||s===v._bottom,x:l?g.head:b.center,y:l?b.center:g.head,height:l?b.size:Math.abs(g.size),width:l?Math.abs(g.size):b.size};u&&(w.options=d||this.resolveDataElementOptions(h,t[h].active?"active":o));const _=w.options||t[h].options;pv(w,_,v,s),mv(w,_,A.ratio),this.updateElement(t[h],h,w,o)}}_getStacks(t,n){const{iScale:i}=this._cachedMeta,o=i.getMatchingVisibleMetas(this._type).filter(A=>A.controller.options.grouped),r=i.options.stacked,s=[],a=this._cachedMeta.controller.getParsed(n),c=a&&a[i.axis],l=A=>{const d=A._parsed.find(h=>h[i.axis]===c),u=d&&d[A.vScale.axis];if(ut(u)||isNaN(u))return!0};for(const A of o)if(!(n!==void 0&&l(A))&&((r===!1||s.indexOf(A.stack)===-1||r===void 0&&A.stack===void 0)&&s.push(A.stack),A.index===t))break;return s.length||s.push(void 0),s}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,n,i){const o=this._getStacks(t,i),r=n!==void 0?o.indexOf(n):-1;return r===-1?o.length-1:r}_getRuler(){const t=this.options,n=this._cachedMeta,i=n.iScale,o=[];let r,s;for(r=0,s=n.data.length;r<s;++r)o.push(i.getPixelForValue(this.getParsed(r)[i.axis],r));const a=t.barThickness;return{min:a||lv(n),pixels:o,start:i._startPixel,end:i._endPixel,stackCount:this._getStackCount(),scale:i,grouped:t.grouped,ratio:a?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:n,_stacked:i,index:o},options:{base:r,minBarLength:s}}=this,a=r||0,c=this.getParsed(t),l=c._custom,A=Rs(l);let d=c[n.axis],u=0,h=i?this.applyStack(n,c,i):d,p,g;h!==d&&(u=h-d,h=d),A&&(d=l.barStart,h=l.barEnd-l.barStart,d!==0&&$e(d)!==$e(l.barEnd)&&(u=0),u+=d);const b=!ut(r)&&!A?r:u;let v=n.getPixelForValue(b);if(this.chart.getDataVisibility(t)?p=n.getPixelForValue(u+h):p=v,g=p-v,Math.abs(g)<s){g=hv(g,n,a)*s,d===a&&(v-=g/2);const w=n.getPixelForDecimal(0),_=n.getPixelForDecimal(1),m=Math.min(w,_),y=Math.max(w,_);v=Math.max(Math.min(v,y),m),p=v+g,i&&!A&&(c._stacks[n.axis]._visualValues[o]=n.getValueForPixel(p)-n.getValueForPixel(v))}if(v===n.getPixelForValue(a)){const w=$e(g)*n.getLineWidthForValue(a)/2;v+=w,g-=w}return{size:g,base:v,head:p,center:p+g/2}}_calculateBarIndexPixels(t,n){const i=n.scale,o=this.options,r=o.skipNull,s=st(o.maxBarThickness,1/0);let a,c;if(n.grouped){const l=r?this._getStackCount(t):n.stackCount,A=o.barThickness==="flex"?dv(t,n,o,l):Av(t,n,o,l),d=this._getStackIndex(this.index,this._cachedMeta.stack,r?t:void 0);a=A.start+A.chunk*d+A.chunk/2,c=Math.min(s,A.chunk*A.ratio)}else a=i.getPixelForValue(this.getParsed(t)[i.axis],t),c=Math.min(s,n.min*n.ratio);return{base:a-c/2,head:a+c/2,center:a,size:c}}draw(){const t=this._cachedMeta,n=t.vScale,i=t.data,o=i.length;let r=0;for(;r<o;++r)this.getParsed(r)[n.axis]!==null&&!i[r].hidden&&i[r].draw(this._ctx)}}Z(Oo,"id","bar"),Z(Oo,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),Z(Oo,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}});function bv(e,t,n){let i=1,o=1,r=0,s=0;if(t<qt){const a=e,c=a+t,l=Math.cos(a),A=Math.sin(a),d=Math.cos(c),u=Math.sin(c),h=(_,m,y)=>ws(_,a,c,!0)?1:Math.max(m,m*n,y,y*n),p=(_,m,y)=>ws(_,a,c,!0)?-1:Math.min(m,m*n,y,y*n),g=h(0,l,d),b=h(Xt,A,u),v=p(Bt,l,d),w=p(Bt+Xt,A,u);i=(g-v)/2,o=(b-w)/2,r=-(g+v)/2,s=-(b+w)/2}return{ratioX:i,ratioY:o,offsetX:r,offsetY:s}}class ki extends gn{constructor(t,n){super(t,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,n){const i=this.getDataset().data,o=this._cachedMeta;if(this._parsing===!1)o._parsed=i;else{let r=c=>+i[c];if(it(i[t])){const{key:c="value"}=this._parsing;r=l=>+Je(i[l],c)}let s,a;for(s=t,a=t+n;s<a;++s)o._parsed[s]=r(s)}}_getRotation(){return _e(this.options.rotation-90)}_getCircumference(){return _e(this.options.circumference)}_getRotationExtents(){let t=qt,n=-qt;for(let i=0;i<this.chart.data.datasets.length;++i)if(this.chart.isDatasetVisible(i)&&this.chart.getDatasetMeta(i).type===this._type){const o=this.chart.getDatasetMeta(i).controller,r=o._getRotation(),s=o._getCircumference();t=Math.min(t,r),n=Math.max(n,r+s)}return{rotation:t,circumference:n-t}}update(t){const n=this.chart,{chartArea:i}=n,o=this._cachedMeta,r=o.data,s=this.getMaxBorderWidth()+this.getMaxOffset(r)+this.options.spacing,a=Math.max((Math.min(i.width,i.height)-s)/2,0),c=Math.min(Km(this.options.cutout,a),1),l=this._getRingWeight(this.index),{circumference:A,rotation:d}=this._getRotationExtents(),{ratioX:u,ratioY:h,offsetX:p,offsetY:g}=bv(d,A,c),b=(i.width-s)/u,v=(i.height-s)/h,w=Math.max(Math.min(b,v)/2,0),_=SA(this.options.radius,w),m=Math.max(_*c,0),y=(_-m)/this._getVisibleDatasetWeightTotal();this.offsetX=p*_,this.offsetY=g*_,o.total=this.calculateTotal(),this.outerRadius=_-y*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-y*l,0),this.updateElements(r,0,r.length,t)}_circumference(t,n){const i=this.options,o=this._cachedMeta,r=this._getCircumference();return n&&i.animation.animateRotate||!this.chart.getDataVisibility(t)||o._parsed[t]===null||o.data[t].hidden?0:this.calculateCircumference(o._parsed[t]*r/qt)}updateElements(t,n,i,o){const r=o==="reset",s=this.chart,a=s.chartArea,l=s.options.animation,A=(a.left+a.right)/2,d=(a.top+a.bottom)/2,u=r&&l.animateScale,h=u?0:this.innerRadius,p=u?0:this.outerRadius,{sharedOptions:g,includeOptions:b}=this._getSharedOptions(n,o);let v=this._getRotation(),w;for(w=0;w<n;++w)v+=this._circumference(w,r);for(w=n;w<n+i;++w){const _=this._circumference(w,r),m=t[w],y={x:A+this.offsetX,y:d+this.offsetY,startAngle:v,endAngle:v+_,circumference:_,outerRadius:p,innerRadius:h};b&&(y.options=g||this.resolveDataElementOptions(w,m.active?"active":o)),v+=_,this.updateElement(m,w,y,o)}}calculateTotal(){const t=this._cachedMeta,n=t.data;let i=0,o;for(o=0;o<n.length;o++){const r=t._parsed[o];r!==null&&!isNaN(r)&&this.chart.getDataVisibility(o)&&!n[o].hidden&&(i+=Math.abs(r))}return i}calculateCircumference(t){const n=this._cachedMeta.total;return n>0&&!isNaN(t)?qt*(Math.abs(t)/n):0}getLabelAndValue(t){const n=this._cachedMeta,i=this.chart,o=i.data.labels||[],r=Co(n._parsed[t],i.options.locale);return{label:o[t]||"",value:r}}getMaxBorderWidth(t){let n=0;const i=this.chart;let o,r,s,a,c;if(!t){for(o=0,r=i.data.datasets.length;o<r;++o)if(i.isDatasetVisible(o)){s=i.getDatasetMeta(o),t=s.data,a=s.controller;break}}if(!t)return 0;for(o=0,r=t.length;o<r;++o)c=a.resolveDataElementOptions(o),c.borderAlign!=="inner"&&(n=Math.max(n,c.borderWidth||0,c.hoverBorderWidth||0));return n}getMaxOffset(t){let n=0;for(let i=0,o=t.length;i<o;++i){const r=this.resolveDataElementOptions(i);n=Math.max(n,r.offset||0,r.hoverOffset||0)}return n}_getRingWeightOffset(t){let n=0;for(let i=0;i<t;++i)this.chart.isDatasetVisible(i)&&(n+=this._getRingWeight(i));return n}_getRingWeight(t){return Math.max(st(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}Z(ki,"id","doughnut"),Z(ki,"defaults",{datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"}),Z(ki,"descriptors",{_scriptable:t=>t!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")}),Z(ki,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const n=t.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:i,color:o}}=t.legend.options;return n.labels.map((r,s)=>{const c=t.getDatasetMeta(0).controller.getStyle(s);return{text:r,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,fontColor:o,lineWidth:c.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(s),index:s}})}return[]}},onClick(t,n,i){i.chart.toggleDataVisibility(n.index),i.chart.update()}}}});class Qo extends gn{constructor(t,n){super(t,n),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const n=this._cachedMeta,i=this.chart,o=i.data.labels||[],r=Co(n._parsed[t].r,i.options.locale);return{label:o[t]||"",value:r}}parseObjectData(t,n,i,o){return Hb.bind(this)(t,n,i,o)}update(t){const n=this._cachedMeta.data;this._updateRadius(),this.updateElements(n,0,n.length,t)}getMinMax(){const t=this._cachedMeta,n={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((i,o)=>{const r=this.getParsed(o).r;!isNaN(r)&&this.chart.getDataVisibility(o)&&(r<n.min&&(n.min=r),r>n.max&&(n.max=r))}),n}_updateRadius(){const t=this.chart,n=t.chartArea,i=t.options,o=Math.min(n.right-n.left,n.bottom-n.top),r=Math.max(o/2,0),s=Math.max(i.cutoutPercentage?r/100*i.cutoutPercentage:1,0),a=(r-s)/t.getVisibleDatasetCount();this.outerRadius=r-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(t,n,i,o){const r=o==="reset",s=this.chart,c=s.options.animation,l=this._cachedMeta.rScale,A=l.xCenter,d=l.yCenter,u=l.getIndexAngle(0)-.5*Bt;let h=u,p;const g=360/this.countVisibleElements();for(p=0;p<n;++p)h+=this._computeAngle(p,o,g);for(p=n;p<n+i;p++){const b=t[p];let v=h,w=h+this._computeAngle(p,o,g),_=s.getDataVisibility(p)?l.getDistanceFromCenterForValue(this.getParsed(p).r):0;h=w,r&&(c.animateScale&&(_=0),c.animateRotate&&(v=w=u));const m={x:A,y:d,innerRadius:0,outerRadius:_,startAngle:v,endAngle:w,options:this.resolveDataElementOptions(p,b.active?"active":o)};this.updateElement(b,p,m,o)}}countVisibleElements(){const t=this._cachedMeta;let n=0;return t.data.forEach((i,o)=>{!isNaN(this.getParsed(o).r)&&this.chart.getDataVisibility(o)&&n++}),n}_computeAngle(t,n,i){return this.chart.getDataVisibility(t)?_e(this.resolveDataElementOptions(t,n).angle||i):0}}Z(Qo,"id","polarArea"),Z(Qo,"defaults",{dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0}),Z(Qo,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const n=t.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:i,color:o}}=t.legend.options;return n.labels.map((r,s)=>{const c=t.getDatasetMeta(0).controller.getStyle(s);return{text:r,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,fontColor:o,lineWidth:c.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(s),index:s}})}return[]}},onClick(t,n,i){i.chart.toggleDataVisibility(n.index),i.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}});function mn(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Hs{constructor(t){Z(this,"options");this.options=t||{}}static override(t){Object.assign(Hs.prototype,t)}init(){}formats(){return mn()}parse(){return mn()}format(){return mn()}add(){return mn()}diff(){return mn()}startOf(){return mn()}endOf(){return mn()}}var vv={_date:Hs};function wv(e,t,n,i){const{controller:o,data:r,_sorted:s}=e,a=o._cachedMeta.iScale;if(a&&t===a.axis&&t!=="r"&&s&&r.length){const c=a._reversePixels?ab:xs;if(i){if(o._sharedOptions){const l=r[0],A=typeof l.getRange=="function"&&l.getRange(t);if(A){const d=c(r,t,n-A),u=c(r,t,n+A);return{lo:d.lo,hi:u.hi}}}}else return c(r,t,n)}return{lo:0,hi:r.length-1}}function Di(e,t,n,i,o){const r=e.getSortedVisibleDatasetMetas(),s=n[t];for(let a=0,c=r.length;a<c;++a){const{index:l,data:A}=r[a],{lo:d,hi:u}=wv(r[a],t,s,o);for(let h=d;h<=u;++h){const p=A[h];p.skip||i(p,l,h)}}}function yv(e){const t=e.indexOf("x")!==-1,n=e.indexOf("y")!==-1;return function(i,o){const r=t?Math.abs(i.x-o.x):0,s=n?Math.abs(i.y-o.y):0;return Math.sqrt(Math.pow(r,2)+Math.pow(s,2))}}function Fs(e,t,n,i,o){const r=[];return!o&&!e.isPointInArea(t)||Di(e,n,t,function(a,c,l){!o&&!$A(a,e.chartArea,0)||a.inRange(t.x,t.y,i)&&r.push({element:a,datasetIndex:c,index:l})},!0),r}function xv(e,t,n,i){let o=[];function r(s,a,c){const{startAngle:l,endAngle:A}=s.getProps(["startAngle","endAngle"],i),{angle:d}=ob(s,{x:t.x,y:t.y});ws(d,l,A)&&o.push({element:s,datasetIndex:a,index:c})}return Di(e,n,t,r),o}function _v(e,t,n,i,o,r){let s=[];const a=yv(n);let c=Number.POSITIVE_INFINITY;function l(A,d,u){const h=A.inRange(t.x,t.y,o);if(i&&!h)return;const p=A.getCenterPoint(o);if(!(!!r||e.isPointInArea(p))&&!h)return;const b=a(t,p);b<c?(s=[{element:A,datasetIndex:d,index:u}],c=b):b===c&&s.push({element:A,datasetIndex:d,index:u})}return Di(e,n,t,l),s}function zs(e,t,n,i,o,r){return!r&&!e.isPointInArea(t)?[]:n==="r"&&!i?xv(e,t,n,o):_v(e,t,n,i,o,r)}function Pd(e,t,n,i,o){const r=[],s=n==="x"?"inXRange":"inYRange";let a=!1;return Di(e,n,t,(c,l,A)=>{c[s]&&c[s](t[n],o)&&(r.push({element:c,datasetIndex:l,index:A}),a=a||c.inRange(t.x,t.y,o))}),i&&!a?[]:r}var Pv={evaluateInteractionItems:Di,modes:{index(e,t,n,i){const o=pn(t,e),r=n.axis||"x",s=n.includeInvisible||!1,a=n.intersect?Fs(e,o,r,i,s):zs(e,o,r,!1,i,s),c=[];return a.length?(e.getSortedVisibleDatasetMetas().forEach(l=>{const A=a[0].index,d=l.data[A];d&&!d.skip&&c.push({element:d,datasetIndex:l.index,index:A})}),c):[]},dataset(e,t,n,i){const o=pn(t,e),r=n.axis||"xy",s=n.includeInvisible||!1;let a=n.intersect?Fs(e,o,r,i,s):zs(e,o,r,!1,i,s);if(a.length>0){const c=a[0].datasetIndex,l=e.getDatasetMeta(c).data;a=[];for(let A=0;A<l.length;++A)a.push({element:l[A],datasetIndex:c,index:A})}return a},point(e,t,n,i){const o=pn(t,e),r=n.axis||"xy",s=n.includeInvisible||!1;return Fs(e,o,r,i,s)},nearest(e,t,n,i){const o=pn(t,e),r=n.axis||"xy",s=n.includeInvisible||!1;return zs(e,o,r,n.intersect,i,s)},x(e,t,n,i){const o=pn(t,e);return Pd(e,o,"x",n.intersect,i)},y(e,t,n,i){const o=pn(t,e);return Pd(e,o,"y",n.intersect,i)}}};const Bd=["left","top","right","bottom"];function Ci(e,t){return e.filter(n=>n.pos===t)}function kd(e,t){return e.filter(n=>Bd.indexOf(n.pos)===-1&&n.box.axis===t)}function Ei(e,t){return e.sort((n,i)=>{const o=t?i:n,r=t?n:i;return o.weight===r.weight?o.index-r.index:o.weight-r.weight})}function Bv(e){const t=[];let n,i,o,r,s,a;for(n=0,i=(e||[]).length;n<i;++n)o=e[n],{position:r,options:{stack:s,stackWeight:a=1}}=o,t.push({index:n,box:o,pos:r,horizontal:o.isHorizontal(),weight:o.weight,stack:s&&r+s,stackWeight:a});return t}function kv(e){const t={};for(const n of e){const{stack:i,pos:o,stackWeight:r}=n;if(!i||!Bd.includes(o))continue;const s=t[i]||(t[i]={count:0,placed:0,weight:0,size:0});s.count++,s.weight+=r}return t}function Dv(e,t){const n=kv(e),{vBoxMaxWidth:i,hBoxMaxHeight:o}=t;let r,s,a;for(r=0,s=e.length;r<s;++r){a=e[r];const{fullSize:c}=a.box,l=n[a.stack],A=l&&a.stackWeight/l.weight;a.horizontal?(a.width=A?A*i:c&&t.availableWidth,a.height=o):(a.width=i,a.height=A?A*o:c&&t.availableHeight)}return n}function Cv(e){const t=Bv(e),n=Ei(t.filter(l=>l.box.fullSize),!0),i=Ei(Ci(t,"left"),!0),o=Ei(Ci(t,"right")),r=Ei(Ci(t,"top"),!0),s=Ei(Ci(t,"bottom")),a=kd(t,"x"),c=kd(t,"y");return{fullSize:n,leftAndTop:i.concat(r),rightAndBottom:o.concat(c).concat(s).concat(a),chartArea:Ci(t,"chartArea"),vertical:i.concat(o).concat(c),horizontal:r.concat(s).concat(a)}}function Dd(e,t,n,i){return Math.max(e[n],t[n])+Math.max(e[i],t[i])}function Cd(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function Ev(e,t,n,i){const{pos:o,box:r}=n,s=e.maxPadding;if(!it(o)){n.size&&(e[o]-=n.size);const d=i[n.stack]||{size:0,count:1};d.size=Math.max(d.size,n.horizontal?r.height:r.width),n.size=d.size/d.count,e[o]+=n.size}r.getPadding&&Cd(s,r.getPadding());const a=Math.max(0,t.outerWidth-Dd(s,e,"left","right")),c=Math.max(0,t.outerHeight-Dd(s,e,"top","bottom")),l=a!==e.w,A=c!==e.h;return e.w=a,e.h=c,n.horizontal?{same:l,other:A}:{same:A,other:l}}function Sv(e){const t=e.maxPadding;function n(i){const o=Math.max(t[i]-e[i],0);return e[i]+=o,o}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}function Mv(e,t){const n=t.maxPadding;function i(o){const r={left:0,top:0,right:0,bottom:0};return o.forEach(s=>{r[s]=Math.max(t[s],n[s])}),r}return i(e?["left","right"]:["top","bottom"])}function Si(e,t,n,i){const o=[];let r,s,a,c,l,A;for(r=0,s=e.length,l=0;r<s;++r){a=e[r],c=a.box,c.update(a.width||t.w,a.height||t.h,Mv(a.horizontal,t));const{same:d,other:u}=Ev(t,n,a,i);l|=d&&o.length,A=A||u,c.fullSize||o.push(a)}return l&&Si(o,t,n,i)||A}function Lo(e,t,n,i,o){e.top=n,e.left=t,e.right=t+i,e.bottom=n+o,e.width=i,e.height=o}function Ed(e,t,n,i){const o=n.padding;let{x:r,y:s}=t;for(const a of e){const c=a.box,l=i[a.stack]||{count:1,placed:0,weight:1},A=a.stackWeight/l.weight||1;if(a.horizontal){const d=t.w*A,u=l.size||c.height;yi(l.start)&&(s=l.start),c.fullSize?Lo(c,o.left,s,n.outerWidth-o.right-o.left,u):Lo(c,t.left+l.placed,s,d,u),l.start=s,l.placed+=d,s=c.bottom}else{const d=t.h*A,u=l.size||c.width;yi(l.start)&&(r=l.start),c.fullSize?Lo(c,r,o.top,u,n.outerHeight-o.bottom-o.top):Lo(c,r,t.top+l.placed,u,d),l.start=r,l.placed+=d,r=c.right}}t.x=r,t.y=s}var se={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(n){t.draw(n)}}]},e.boxes.push(t)},removeBox(e,t){const n=e.boxes?e.boxes.indexOf(t):-1;n!==-1&&e.boxes.splice(n,1)},configure(e,t,n){t.fullSize=n.fullSize,t.position=n.position,t.weight=n.weight},update(e,t,n,i){if(!e)return;const o=re(e.options.layout.padding),r=Math.max(t-o.width,0),s=Math.max(n-o.height,0),a=Cv(e.boxes),c=a.vertical,l=a.horizontal;ct(e.boxes,g=>{typeof g.beforeLayout=="function"&&g.beforeLayout()});const A=c.reduce((g,b)=>b.box.options&&b.box.options.display===!1?g:g+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:o,availableWidth:r,availableHeight:s,vBoxMaxWidth:r/2/A,hBoxMaxHeight:s/2}),u=Object.assign({},o);Cd(u,re(i));const h=Object.assign({maxPadding:u,w:r,h:s,x:o.left,y:o.top},o),p=Dv(c.concat(l),d);Si(a.fullSize,h,d,p),Si(c,h,d,p),Si(l,h,d,p)&&Si(c,h,d,p),Sv(h),Ed(a.leftAndTop,h,d,p),h.x+=h.w,h.y+=h.h,Ed(a.rightAndBottom,h,d,p),e.chartArea={left:h.left,top:h.top,right:h.left+h.w,bottom:h.top+h.h,height:h.h,width:h.w},ct(a.chartArea,g=>{const b=g.box;Object.assign(b,e.chartArea),b.update(h.w,h.h,{left:0,top:0,right:0,bottom:0})})}};class Sd{acquireContext(t,n){}releaseContext(t){return!1}addEventListener(t,n,i){}removeEventListener(t,n,i){}getDevicePixelRatio(){return 1}getMaximumSize(t,n,i,o){return n=Math.max(0,n||t.width),i=i||t.height,{width:n,height:Math.max(0,o?Math.floor(n/o):i)}}isAttached(t){return!0}updateConfig(t){}}class Tv extends Sd{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Ro="$chartjs",Iv={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Md=e=>e===null||e==="";function Ov(e,t){const n=e.style,i=e.getAttribute("height"),o=e.getAttribute("width");if(e[Ro]={initial:{height:i,width:o,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",Md(o)){const r=ld(e,"width");r!==void 0&&(e.width=r)}if(Md(i))if(e.style.height==="")e.height=e.width/(t||2);else{const r=ld(e,"height");r!==void 0&&(e.height=r)}return e}const Td=Wb?{passive:!0}:!1;function Qv(e,t,n){e&&e.addEventListener(t,n,Td)}function Lv(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,Td)}function Rv(e,t){const n=Iv[e.type]||e.type,{x:i,y:o}=pn(e,t);return{type:n,chart:t,native:e,x:i!==void 0?i:null,y:o!==void 0?o:null}}function Ho(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function Hv(e,t,n){const i=e.canvas,o=new MutationObserver(r=>{let s=!1;for(const a of r)s=s||Ho(a.addedNodes,i),s=s&&!Ho(a.removedNodes,i);s&&n()});return o.observe(document,{childList:!0,subtree:!0}),o}function Fv(e,t,n){const i=e.canvas,o=new MutationObserver(r=>{let s=!1;for(const a of r)s=s||Ho(a.removedNodes,i),s=s&&!Ho(a.addedNodes,i);s&&n()});return o.observe(document,{childList:!0,subtree:!0}),o}const Mi=new Map;let Id=0;function Od(){const e=window.devicePixelRatio;e!==Id&&(Id=e,Mi.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function zv(e,t){Mi.size||window.addEventListener("resize",Od),Mi.set(e,t)}function Nv(e){Mi.delete(e),Mi.size||window.removeEventListener("resize",Od)}function jv(e,t,n){const i=e.canvas,o=i&&Is(i);if(!o)return;const r=NA((a,c)=>{const l=o.clientWidth;n(a,c),l<o.clientWidth&&n()},window),s=new ResizeObserver(a=>{const c=a[0],l=c.contentRect.width,A=c.contentRect.height;l===0&&A===0||r(l,A)});return s.observe(o),zv(e,r),s}function Ns(e,t,n){n&&n.disconnect(),t==="resize"&&Nv(e)}function Uv(e,t,n){const i=e.canvas,o=NA(r=>{e.ctx!==null&&n(Rv(r,e))},e);return Qv(i,t,o),o}class Vv extends Sd{acquireContext(t,n){const i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(Ov(t,n),i):null}releaseContext(t){const n=t.canvas;if(!n[Ro])return!1;const i=n[Ro].initial;["height","width"].forEach(r=>{const s=i[r];ut(s)?n.removeAttribute(r):n.setAttribute(r,s)});const o=i.style||{};return Object.keys(o).forEach(r=>{n.style[r]=o[r]}),n.width=n.width,delete n[Ro],!0}addEventListener(t,n,i){this.removeEventListener(t,n);const o=t.$proxies||(t.$proxies={}),s={attach:Hv,detach:Fv,resize:jv}[n]||Uv;o[n]=s(t,n,i)}removeEventListener(t,n){const i=t.$proxies||(t.$proxies={}),o=i[n];if(!o)return;({attach:Ns,detach:Ns,resize:Ns}[n]||Lv)(t,n,o),i[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,n,i,o){return Vb(t,n,i,o)}isAttached(t){const n=t&&Is(t);return!!(n&&n.isConnected)}}function Wv(e){return!Ts()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?Tv:Vv}let Nn=(Zo=class{constructor(){Z(this,"x");Z(this,"y");Z(this,"active",!1);Z(this,"options");Z(this,"$animations")}tooltipPosition(t){const{x:n,y:i}=this.getProps(["x","y"],t);return{x:n,y:i}}hasValue(){return ko(this.x)&&ko(this.y)}getProps(t,n){const i=this.$animations;if(!n||!i)return this;const o={};return t.forEach(r=>{o[r]=i[r]&&i[r].active()?i[r]._to:this[r]}),o}},Z(Zo,"defaults",{}),Z(Zo,"defaultRoutes"),Zo);function Yv(e,t){const n=e.options.ticks,i=Kv(e),o=Math.min(n.maxTicksLimit||i,i),r=n.major.enabled?Xv(t):[],s=r.length,a=r[0],c=r[s-1],l=[];if(s>o)return Gv(t,l,r,s/o),l;const A=qv(r,t,o);if(s>0){let d,u;const h=s>1?Math.round((c-a)/(s-1)):null;for(Fo(t,l,A,ut(h)?0:a-h,a),d=0,u=s-1;d<u;d++)Fo(t,l,A,r[d],r[d+1]);return Fo(t,l,A,c,ut(h)?t.length:c+h),l}return Fo(t,l,A),l}function Kv(e){const t=e.options.offset,n=e._tickSize(),i=e._length/n+(t?0:1),o=e._maxLength/n;return Math.floor(Math.min(i,o))}function qv(e,t,n){const i=Jv(e),o=t.length/n;if(!i)return Math.max(o,1);const r=tb(i);for(let s=0,a=r.length-1;s<a;s++){const c=r[s];if(c>o)return c}return Math.max(o,1)}function Xv(e){const t=[];let n,i;for(n=0,i=e.length;n<i;n++)e[n].major&&t.push(n);return t}function Gv(e,t,n,i){let o=0,r=n[0],s;for(i=Math.ceil(i),s=0;s<e.length;s++)s===r&&(t.push(e[s]),o++,r=n[o*i])}function Fo(e,t,n,i,o){const r=st(i,0),s=Math.min(st(o,e.length),e.length);let a=0,c,l,A;for(n=Math.ceil(n),o&&(c=o-i,n=c/Math.floor(c/n)),A=r;A<0;)a++,A=Math.round(r+a*n);for(l=Math.max(r,0);l<s;l++)l===A&&(t.push(e[l]),a++,A=Math.round(r+a*n))}function Jv(e){const t=e.length;let n,i;if(t<2)return!1;for(i=e[0],n=1;n<t;++n)if(e[n]-e[n-1]!==i)return!1;return i}const Zv=e=>e==="left"?"right":e==="right"?"left":e,Qd=(e,t,n)=>t==="top"||t==="left"?e[t]+n:e[t]-n,Ld=(e,t)=>Math.min(t||e,e);function Rd(e,t){const n=[],i=e.length/t,o=e.length;let r=0;for(;r<o;r+=i)n.push(e[Math.floor(r)]);return n}function $v(e,t,n){const i=e.ticks.length,o=Math.min(t,i-1),r=e._startPixel,s=e._endPixel,a=1e-6;let c=e.getPixelForTick(o),l;if(!(n&&(i===1?l=Math.max(c-r,s-c):t===0?l=(e.getPixelForTick(1)-c)/2:l=(c-e.getPixelForTick(o-1))/2,c+=o<t?l:-l,c<r-a||c>s+a)))return c}function tw(e,t){ct(e,n=>{const i=n.gc,o=i.length/2;let r;if(o>t){for(r=0;r<o;++r)delete n.data[i[r]];i.splice(0,o)}})}function Ti(e){return e.drawTicks?e.tickLength:0}function Hd(e,t){if(!e.display)return 0;const n=Tt(e.font,t),i=re(e.padding);return(Pt(e.text)?e.text.length:1)*n.lineHeight+i.height}function ew(e,t){return Hn(e,{scale:t,type:"scale"})}function nw(e,t,n){return Hn(e,{tick:n,index:t,type:"tick"})}function iw(e,t,n){let i=_s(e);return(n&&t!=="right"||!n&&t==="right")&&(i=Zv(i)),i}function ow(e,t,n,i){const{top:o,left:r,bottom:s,right:a,chart:c}=e,{chartArea:l,scales:A}=c;let d=0,u,h,p;const g=s-o,b=a-r;if(e.isHorizontal()){if(h=Mt(i,r,a),it(n)){const v=Object.keys(n)[0],w=n[v];p=A[v].getPixelForValue(w)+g-t}else n==="center"?p=(l.bottom+l.top)/2+g-t:p=Qd(e,n,t);u=a-r}else{if(it(n)){const v=Object.keys(n)[0],w=n[v];h=A[v].getPixelForValue(w)-b+t}else n==="center"?h=(l.left+l.right)/2-b+t:h=Qd(e,n,t);p=Mt(i,s,o),d=n==="left"?-Xt:Xt}return{titleX:h,titleY:p,maxWidth:u,rotation:d}}class jn extends Nn{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,n){return t}getUserBounds(){let{_userMin:t,_userMax:n,_suggestedMin:i,_suggestedMax:o}=this;return t=xe(t,Number.POSITIVE_INFINITY),n=xe(n,Number.NEGATIVE_INFINITY),i=xe(i,Number.POSITIVE_INFINITY),o=xe(o,Number.NEGATIVE_INFINITY),{min:xe(t,i),max:xe(n,o),minDefined:oe(t),maxDefined:oe(n)}}getMinMax(t){let{min:n,max:i,minDefined:o,maxDefined:r}=this.getUserBounds(),s;if(o&&r)return{min:n,max:i};const a=this.getMatchingVisibleMetas();for(let c=0,l=a.length;c<l;++c)s=a[c].controller.getMinMax(this,t),o||(n=Math.min(n,s.min)),r||(i=Math.max(i,s.max));return n=r&&n>i?i:n,i=o&&n>i?n:i,{min:xe(n,xe(i,n)),max:xe(i,xe(n,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){ht(this.options.beforeUpdate,[this])}update(t,n,i){const{beginAtZero:o,grace:r,ticks:s}=this.options,a=s.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=n,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=Cb(this,r,o),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const c=a<this.ticks.length;this._convertTicksToLabels(c?Rd(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),s.display&&(s.autoSkip||s.source==="auto")&&(this.ticks=Yv(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),c&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t=this.options.reverse,n,i;this.isHorizontal()?(n=this.left,i=this.right):(n=this.top,i=this.bottom,t=!t),this._startPixel=n,this._endPixel=i,this._reversePixels=t,this._length=i-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){ht(this.options.afterUpdate,[this])}beforeSetDimensions(){ht(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){ht(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),ht(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){ht(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const n=this.options.ticks;let i,o,r;for(i=0,o=t.length;i<o;i++)r=t[i],r.label=ht(n.callback,[r.value,i,t],this)}afterTickToLabelConversion(){ht(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){ht(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,n=t.ticks,i=Ld(this.ticks.length,t.ticks.maxTicksLimit),o=n.minRotation||0,r=n.maxRotation;let s=o,a,c,l;if(!this._isVisible()||!n.display||o>=r||i<=1||!this.isHorizontal()){this.labelRotation=o;return}const A=this._getLabelSizes(),d=A.widest.width,u=A.highest.height,h=de(this.chart.width-d,0,this.maxWidth);a=t.offset?this.maxWidth/i:h/(i-1),d+6>a&&(a=h/(i-(t.offset?.5:1)),c=this.maxHeight-Ti(t.grid)-n.padding-Hd(t.title,this.chart.options.font),l=Math.sqrt(d*d+u*u),s=ib(Math.min(Math.asin(de((A.highest.height+6)/a,-1,1)),Math.asin(de(c/l,-1,1))-Math.asin(de(u/l,-1,1)))),s=Math.max(o,Math.min(r,s))),this.labelRotation=s}afterCalculateLabelRotation(){ht(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){ht(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:n,options:{ticks:i,title:o,grid:r}}=this,s=this._isVisible(),a=this.isHorizontal();if(s){const c=Hd(o,n.options.font);if(a?(t.width=this.maxWidth,t.height=Ti(r)+c):(t.height=this.maxHeight,t.width=Ti(r)+c),i.display&&this.ticks.length){const{first:l,last:A,widest:d,highest:u}=this._getLabelSizes(),h=i.padding*2,p=_e(this.labelRotation),g=Math.cos(p),b=Math.sin(p);if(a){const v=i.mirror?0:b*d.width+g*u.height;t.height=Math.min(this.maxHeight,t.height+v+h)}else{const v=i.mirror?0:g*d.width+b*u.height;t.width=Math.min(this.maxWidth,t.width+v+h)}this._calculatePadding(l,A,b,g)}}this._handleMargins(),a?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,n,i,o){const{ticks:{align:r,padding:s},position:a}=this.options,c=this.labelRotation!==0,l=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const A=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let u=0,h=0;c?l?(u=o*t.width,h=i*n.height):(u=i*t.height,h=o*n.width):r==="start"?h=n.width:r==="end"?u=t.width:r!=="inner"&&(u=t.width/2,h=n.width/2),this.paddingLeft=Math.max((u-A+s)*this.width/(this.width-A),0),this.paddingRight=Math.max((h-d+s)*this.width/(this.width-d),0)}else{let A=n.height/2,d=t.height/2;r==="start"?(A=0,d=t.height):r==="end"&&(A=n.height,d=0),this.paddingTop=A+s,this.paddingBottom=d+s}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){ht(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:n}=this.options;return n==="top"||n==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let n,i;for(n=0,i=t.length;n<i;n++)ut(t[n].label)&&(t.splice(n,1),i--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const n=this.options.ticks.sampleSize;let i=this.ticks;n<i.length&&(i=Rd(i,n)),this._labelSizes=t=this._computeLabelSizes(i,i.length,this.options.ticks.maxTicksLimit)}return t}_computeLabelSizes(t,n,i){const{ctx:o,_longestTextCache:r}=this,s=[],a=[],c=Math.floor(n/Ld(n,i));let l=0,A=0,d,u,h,p,g,b,v,w,_,m,y;for(d=0;d<n;d+=c){if(p=t[d].label,g=this._resolveTickFontOptions(d),o.font=b=g.string,v=r[b]=r[b]||{data:{},gc:[]},w=g.lineHeight,_=m=0,!ut(p)&&!Pt(p))_=XA(o,v.data,v.gc,_,p),m=w;else if(Pt(p))for(u=0,h=p.length;u<h;++u)y=p[u],!ut(y)&&!Pt(y)&&(_=XA(o,v.data,v.gc,_,y),m+=w);s.push(_),a.push(m),l=Math.max(_,l),A=Math.max(m,A)}tw(r,n);const x=s.indexOf(l),P=a.indexOf(A),C=B=>({width:s[B]||0,height:a[B]||0});return{first:C(0),last:C(n-1),widest:C(x),highest:C(P),widths:s,heights:a}}getLabelForValue(t){return t}getPixelForValue(t,n){return NaN}getValueForPixel(t){}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const n=this._startPixel+t*this._length;return sb(this._alignToPixels?hn(this.chart,n,0):n)}getDecimalForPixel(t){const n=(t-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:n}=this;return t<0&&n<0?n:t>0&&n>0?t:0}getContext(t){const n=this.ticks||[];if(t>=0&&t<n.length){const i=n[t];return i.$context||(i.$context=nw(this.getContext(),t,i))}return this.$context||(this.$context=ew(this.chart.getContext(),this))}_tickSize(){const t=this.options.ticks,n=_e(this.labelRotation),i=Math.abs(Math.cos(n)),o=Math.abs(Math.sin(n)),r=this._getLabelSizes(),s=t.autoSkipPadding||0,a=r?r.widest.width+s:0,c=r?r.highest.height+s:0;return this.isHorizontal()?c*i>a*o?a/i:c/o:c*o<a*i?c/i:a/o}_isVisible(){const t=this.options.display;return t!=="auto"?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const n=this.axis,i=this.chart,o=this.options,{grid:r,position:s,border:a}=o,c=r.offset,l=this.isHorizontal(),d=this.ticks.length+(c?1:0),u=Ti(r),h=[],p=a.setContext(this.getContext()),g=p.display?p.width:0,b=g/2,v=function(T){return hn(i,T,g)};let w,_,m,y,x,P,C,B,D,E,S,I;if(s==="top")w=v(this.bottom),P=this.bottom-u,B=w-b,E=v(t.top)+b,I=t.bottom;else if(s==="bottom")w=v(this.top),E=t.top,I=v(t.bottom)-b,P=w+b,B=this.top+u;else if(s==="left")w=v(this.right),x=this.right-u,C=w-b,D=v(t.left)+b,S=t.right;else if(s==="right")w=v(this.left),D=t.left,S=v(t.right)-b,x=w+b,C=this.left+u;else if(n==="x"){if(s==="center")w=v((t.top+t.bottom)/2+.5);else if(it(s)){const T=Object.keys(s)[0],Q=s[T];w=v(this.chart.scales[T].getPixelForValue(Q))}E=t.top,I=t.bottom,P=w+b,B=P+u}else if(n==="y"){if(s==="center")w=v((t.left+t.right)/2);else if(it(s)){const T=Object.keys(s)[0],Q=s[T];w=v(this.chart.scales[T].getPixelForValue(Q))}x=w-b,C=x-u,D=t.left,S=t.right}const O=st(o.ticks.maxTicksLimit,d),M=Math.max(1,Math.ceil(d/O));for(_=0;_<d;_+=M){const T=this.getContext(_),Q=r.setContext(T),z=a.setContext(T),V=Q.lineWidth,j=Q.color,$=z.dash||[],K=z.dashOffset,tt=Q.tickWidth,F=Q.tickColor,J=Q.tickBorderDash||[],ot=Q.tickBorderDashOffset;m=$v(this,_,c),m!==void 0&&(y=hn(i,m,V),l?x=C=D=S=y:P=B=E=I=y,h.push({tx1:x,ty1:P,tx2:C,ty2:B,x1:D,y1:E,x2:S,y2:I,width:V,color:j,borderDash:$,borderDashOffset:K,tickWidth:tt,tickColor:F,tickBorderDash:J,tickBorderDashOffset:ot}))}return this._ticksLength=d,this._borderValue=w,h}_computeLabelItems(t){const n=this.axis,i=this.options,{position:o,ticks:r}=i,s=this.isHorizontal(),a=this.ticks,{align:c,crossAlign:l,padding:A,mirror:d}=r,u=Ti(i.grid),h=u+A,p=d?-A:h,g=-_e(this.labelRotation),b=[];let v,w,_,m,y,x,P,C,B,D,E,S,I="middle";if(o==="top")x=this.bottom-p,P=this._getXAxisLabelAlignment();else if(o==="bottom")x=this.top+p,P=this._getXAxisLabelAlignment();else if(o==="left"){const M=this._getYAxisLabelAlignment(u);P=M.textAlign,y=M.x}else if(o==="right"){const M=this._getYAxisLabelAlignment(u);P=M.textAlign,y=M.x}else if(n==="x"){if(o==="center")x=(t.top+t.bottom)/2+h;else if(it(o)){const M=Object.keys(o)[0],T=o[M];x=this.chart.scales[M].getPixelForValue(T)+h}P=this._getXAxisLabelAlignment()}else if(n==="y"){if(o==="center")y=(t.left+t.right)/2-h;else if(it(o)){const M=Object.keys(o)[0],T=o[M];y=this.chart.scales[M].getPixelForValue(T)}P=this._getYAxisLabelAlignment(u).textAlign}n==="y"&&(c==="start"?I="top":c==="end"&&(I="bottom"));const O=this._getLabelSizes();for(v=0,w=a.length;v<w;++v){_=a[v],m=_.label;const M=r.setContext(this.getContext(v));C=this.getPixelForTick(v)+r.labelOffset,B=this._resolveTickFontOptions(v),D=B.lineHeight,E=Pt(m)?m.length:1;const T=E/2,Q=M.color,z=M.textStrokeColor,V=M.textStrokeWidth;let j=P;s?(y=C,P==="inner"&&(v===w-1?j=this.options.reverse?"left":"right":v===0?j=this.options.reverse?"right":"left":j="center"),o==="top"?l==="near"||g!==0?S=-E*D+D/2:l==="center"?S=-O.highest.height/2-T*D+D:S=-O.highest.height+D/2:l==="near"||g!==0?S=D/2:l==="center"?S=O.highest.height/2-T*D:S=O.highest.height-E*D,d&&(S*=-1),g!==0&&!M.showLabelBackdrop&&(y+=D/2*Math.sin(g))):(x=C,S=(1-E)*D/2);let $;if(M.showLabelBackdrop){const K=re(M.backdropPadding),tt=O.heights[v],F=O.widths[v];let J=S-K.top,ot=0-K.left;switch(I){case"middle":J-=tt/2;break;case"bottom":J-=tt;break}switch(P){case"center":ot-=F/2;break;case"right":ot-=F;break;case"inner":v===w-1?ot-=F:v>0&&(ot-=F/2);break}$={left:ot,top:J,width:F+K.width,height:tt+K.height,color:M.backdropColor}}b.push({label:m,font:B,textOffset:S,options:{rotation:g,color:Q,strokeColor:z,strokeWidth:V,textAlign:j,textBaseline:I,translation:[y,x],backdrop:$}})}return b}_getXAxisLabelAlignment(){const{position:t,ticks:n}=this.options;if(-_e(this.labelRotation))return t==="top"?"left":"right";let o="center";return n.align==="start"?o="left":n.align==="end"?o="right":n.align==="inner"&&(o="inner"),o}_getYAxisLabelAlignment(t){const{position:n,ticks:{crossAlign:i,mirror:o,padding:r}}=this.options,s=this._getLabelSizes(),a=t+r,c=s.widest.width;let l,A;return n==="left"?o?(A=this.right+r,i==="near"?l="left":i==="center"?(l="center",A+=c/2):(l="right",A+=c)):(A=this.right-a,i==="near"?l="right":i==="center"?(l="center",A-=c/2):(l="left",A=this.left)):n==="right"?o?(A=this.left+r,i==="near"?l="right":i==="center"?(l="center",A-=c/2):(l="left",A-=c)):(A=this.left+a,i==="near"?l="left":i==="center"?(l="center",A+=c/2):(l="right",A=this.right)):l="right",{textAlign:l,x:A}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){const{ctx:t,options:{backgroundColor:n},left:i,top:o,width:r,height:s}=this;n&&(t.save(),t.fillStyle=n,t.fillRect(i,o,r,s),t.restore())}getLineWidthForValue(t){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const o=this.ticks.findIndex(r=>r.value===t);return o>=0?n.setContext(this.getContext(o)).lineWidth:0}drawGrid(t){const n=this.options.grid,i=this.ctx,o=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let r,s;const a=(c,l,A)=>{!A.width||!A.color||(i.save(),i.lineWidth=A.width,i.strokeStyle=A.color,i.setLineDash(A.borderDash||[]),i.lineDashOffset=A.borderDashOffset,i.beginPath(),i.moveTo(c.x,c.y),i.lineTo(l.x,l.y),i.stroke(),i.restore())};if(n.display)for(r=0,s=o.length;r<s;++r){const c=o[r];n.drawOnChartArea&&a({x:c.x1,y:c.y1},{x:c.x2,y:c.y2},c),n.drawTicks&&a({x:c.tx1,y:c.ty1},{x:c.tx2,y:c.ty2},{color:c.tickColor,width:c.tickWidth,borderDash:c.tickBorderDash,borderDashOffset:c.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:n,options:{border:i,grid:o}}=this,r=i.setContext(this.getContext()),s=i.display?r.width:0;if(!s)return;const a=o.setContext(this.getContext(0)).lineWidth,c=this._borderValue;let l,A,d,u;this.isHorizontal()?(l=hn(t,this.left,s)-s/2,A=hn(t,this.right,a)+a/2,d=u=c):(d=hn(t,this.top,s)-s/2,u=hn(t,this.bottom,a)+a/2,l=A=c),n.save(),n.lineWidth=r.width,n.strokeStyle=r.color,n.beginPath(),n.moveTo(l,d),n.lineTo(A,u),n.stroke(),n.restore()}drawLabels(t){if(!this.options.ticks.display)return;const i=this.ctx,o=this._computeLabelArea();o&&Ds(i,o);const r=this.getLabelItems(t);for(const s of r){const a=s.options,c=s.font,l=s.label,A=s.textOffset;Pi(i,l,0,A,c,a)}o&&Cs(i)}drawTitle(){const{ctx:t,options:{position:n,title:i,reverse:o}}=this;if(!i.display)return;const r=Tt(i.font),s=re(i.padding),a=i.align;let c=r.lineHeight/2;n==="bottom"||n==="center"||it(n)?(c+=s.bottom,Pt(i.text)&&(c+=r.lineHeight*(i.text.length-1))):c+=s.top;const{titleX:l,titleY:A,maxWidth:d,rotation:u}=ow(this,c,n,a);Pi(t,i.text,0,0,r,{color:i.color,maxWidth:d,rotation:u,textAlign:iw(a,n,o),textBaseline:"middle",translation:[l,A]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,n=t.ticks&&t.ticks.z||0,i=st(t.grid&&t.grid.z,-1),o=st(t.border&&t.border.z,0);return!this._isVisible()||this.draw!==jn.prototype.draw?[{z:n,draw:r=>{this.draw(r)}}]:[{z:i,draw:r=>{this.drawBackground(),this.drawGrid(r),this.drawTitle()}},{z:o,draw:()=>{this.drawBorder()}},{z:n,draw:r=>{this.drawLabels(r)}}]}getMatchingVisibleMetas(t){const n=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",o=[];let r,s;for(r=0,s=n.length;r<s;++r){const a=n[r];a[i]===this.id&&(!t||a.type===t)&&o.push(a)}return o}_resolveTickFontOptions(t){const n=this.options.ticks.setContext(this.getContext(t));return Tt(n.font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class zo{constructor(t,n,i){this.type=t,this.scope=n,this.override=i,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const n=Object.getPrototypeOf(t);let i;aw(n)&&(i=this.register(n));const o=this.items,r=t.id,s=this.scope+"."+r;if(!r)throw new Error("class does not have id: "+t);return r in o||(o[r]=t,rw(t,s,i),this.override&&mt.override(t.id,t.overrides)),s}get(t){return this.items[t]}unregister(t){const n=this.items,i=t.id,o=this.scope;i in n&&delete n[i],o&&i in mt[o]&&(delete mt[o][i],this.override&&delete un[i])}}function rw(e,t,n){const i=vi(Object.create(null),[n?mt.get(n):{},mt.get(t),e.defaults]);mt.set(t,i),e.defaultRoutes&&sw(t,e.defaultRoutes),e.descriptors&&mt.describe(t,e.descriptors)}function sw(e,t){Object.keys(t).forEach(n=>{const i=n.split("."),o=i.pop(),r=[e].concat(i).join("."),s=t[n].split("."),a=s.pop(),c=s.join(".");mt.route(r,o,c,a)})}function aw(e){return"id"in e&&"defaults"in e}class cw{constructor(){this.controllers=new zo(gn,"datasets",!0),this.elements=new zo(Nn,"elements"),this.plugins=new zo(Object,"plugins"),this.scales=new zo(jn,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,n,i){[...n].forEach(o=>{const r=i||this._getRegistryForType(o);i||r.isForType(o)||r===this.plugins&&o.id?this._exec(t,r,o):ct(o,s=>{const a=i||this._getRegistryForType(s);this._exec(t,a,s)})})}_exec(t,n,i){const o=bs(t);ht(i["before"+o],[],i),n[t](i),ht(i["after"+o],[],i)}_getRegistryForType(t){for(let n=0;n<this._typedRegistries.length;n++){const i=this._typedRegistries[n];if(i.isForType(t))return i}return this.plugins}_get(t,n,i){const o=n.get(t);if(o===void 0)throw new Error('"'+t+'" is not a registered '+i+".");return o}}var Pe=new cw;class lw{constructor(){this._init=[]}notify(t,n,i,o){n==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const r=o?this._descriptors(t).filter(o):this._descriptors(t),s=this._notify(r,t,n,i);return n==="afterDestroy"&&(this._notify(r,t,"stop"),this._notify(this._init,t,"uninstall")),s}_notify(t,n,i,o){o=o||{};for(const r of t){const s=r.plugin,a=s[i],c=[n,o,r.options];if(ht(a,c,s)===!1&&o.cancelable)return!1}return!0}invalidate(){ut(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),n}_createDescriptors(t,n){const i=t&&t.config,o=st(i.options&&i.options.plugins,{}),r=Aw(i);return o===!1&&!n?[]:uw(t,r,o,n)}_notifyStateChanges(t){const n=this._oldCache||[],i=this._cache,o=(r,s)=>r.filter(a=>!s.some(c=>a.plugin.id===c.plugin.id));this._notify(o(n,i),t,"stop"),this._notify(o(i,n),t,"start")}}function Aw(e){const t={},n=[],i=Object.keys(Pe.plugins.items);for(let r=0;r<i.length;r++)n.push(Pe.getPlugin(i[r]));const o=e.plugins||[];for(let r=0;r<o.length;r++){const s=o[r];n.indexOf(s)===-1&&(n.push(s),t[s.id]=!0)}return{plugins:n,localIds:t}}function dw(e,t){return!t&&e===!1?null:e===!0?{}:e}function uw(e,{plugins:t,localIds:n},i,o){const r=[],s=e.getContext();for(const a of t){const c=a.id,l=dw(i[c],o);l!==null&&r.push({plugin:a,options:hw(e.config,{plugin:a,local:n[c]},l,s)})}return r}function hw(e,{plugin:t,local:n},i,o){const r=e.pluginScopeKeys(t),s=e.getOptionScopes(i,r);return n&&t.defaults&&s.push(t.defaults),e.createResolver(s,o,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function js(e,t){const n=mt.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||n.indexAxis||"x"}function fw(e,t){let n=e;return e==="_index_"?n=t:e==="_value_"&&(n=t==="x"?"y":"x"),n}function pw(e,t){return e===t?"_index_":"_value_"}function Fd(e){if(e==="x"||e==="y"||e==="r")return e}function gw(e){if(e==="top"||e==="bottom")return"x";if(e==="left"||e==="right")return"y"}function Us(e,...t){if(Fd(e))return e;for(const n of t){const i=n.axis||gw(n.position)||e.length>1&&Fd(e[0].toLowerCase());if(i)return i}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function zd(e,t,n){if(n[t+"AxisID"]===e)return{axis:t}}function mw(e,t){if(t.data&&t.data.datasets){const n=t.data.datasets.filter(i=>i.xAxisID===e||i.yAxisID===e);if(n.length)return zd(e,"x",n[0])||zd(e,"y",n[0])}return{}}function bw(e,t){const n=un[e.type]||{scales:{}},i=t.scales||{},o=js(e.type,t),r=Object.create(null);return Object.keys(i).forEach(s=>{const a=i[s];if(!it(a))return console.error(`Invalid scale configuration for scale: ${s}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${s}`);const c=Us(s,a,mw(s,e),mt.scales[a.type]),l=pw(c,o),A=n.scales||{};r[s]=wi(Object.create(null),[{axis:c},a,A[c],A[l]])}),e.data.datasets.forEach(s=>{const a=s.type||e.type,c=s.indexAxis||js(a,t),A=(un[a]||{}).scales||{};Object.keys(A).forEach(d=>{const u=fw(d,c),h=s[u+"AxisID"]||u;r[h]=r[h]||Object.create(null),wi(r[h],[{axis:u},i[h],A[d]])})}),Object.keys(r).forEach(s=>{const a=r[s];wi(a,[mt.scales[a.type],mt.scale])}),r}function Nd(e){const t=e.options||(e.options={});t.plugins=st(t.plugins,{}),t.scales=bw(e,t)}function jd(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function vw(e){return e=e||{},e.data=jd(e.data),Nd(e),e}const Ud=new Map,Vd=new Set;function No(e,t){let n=Ud.get(e);return n||(n=t(),Ud.set(e,n),Vd.add(n)),n}const Ii=(e,t,n)=>{const i=Je(t,n);i!==void 0&&e.add(i)};let ww=class{constructor(t){this._config=vw(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=jd(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),Nd(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return No(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,n){return No(`${t}.transition.${n}`,()=>[[`datasets.${t}.transitions.${n}`,`transitions.${n}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,n){return No(`${t}-${n}`,()=>[[`datasets.${t}.elements.${n}`,`datasets.${t}`,`elements.${n}`,""]])}pluginScopeKeys(t){const n=t.id,i=this.type;return No(`${i}-plugin-${n}`,()=>[[`plugins.${n}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,n){const i=this._scopeCache;let o=i.get(t);return(!o||n)&&(o=new Map,i.set(t,o)),o}getOptionScopes(t,n,i){const{options:o,type:r}=this,s=this._cachedScopes(t,i),a=s.get(n);if(a)return a;const c=new Set;n.forEach(A=>{t&&(c.add(t),A.forEach(d=>Ii(c,t,d))),A.forEach(d=>Ii(c,o,d)),A.forEach(d=>Ii(c,un[r]||{},d)),A.forEach(d=>Ii(c,mt,d)),A.forEach(d=>Ii(c,Bs,d))});const l=Array.from(c);return l.length===0&&l.push(Object.create(null)),Vd.has(n)&&s.set(n,l),l}chartOptionScopes(){const{options:t,type:n}=this;return[t,un[n]||{},mt.datasets[n]||{},{type:n},mt,Bs]}resolveNamedOptions(t,n,i,o=[""]){const r={$shared:!0},{resolver:s,subPrefixes:a}=Wd(this._resolverCache,t,o);let c=s;if(xw(s,n)){r.$shared=!1,i=Ze(i)?i():i;const l=this.createResolver(t,i,a);c=Fn(s,i,l)}for(const l of n)r[l]=c[l];return r}createResolver(t,n,i=[""],o){const{resolver:r}=Wd(this._resolverCache,t,i);return it(n)?Fn(r,n,void 0,o):r}};function Wd(e,t,n){let i=e.get(t);i||(i=new Map,e.set(t,i));const o=n.join();let r=i.get(o);return r||(r={resolver:Es(t,n),subPrefixes:n.filter(a=>!a.toLowerCase().includes("hover"))},i.set(o,r)),r}const yw=e=>it(e)&&Object.getOwnPropertyNames(e).some(t=>Ze(e[t]));function xw(e,t){const{isScriptable:n,isIndexable:i}=nd(e);for(const o of t){const r=n(o),s=i(o),a=(s||r)&&e[o];if(r&&(Ze(a)||yw(a))||s&&Pt(a))return!0}return!1}var _w="4.4.6";const Pw=["top","bottom","left","right","chartArea"];function Yd(e,t){return e==="top"||e==="bottom"||Pw.indexOf(e)===-1&&t==="x"}function Kd(e,t){return function(n,i){return n[e]===i[e]?n[t]-i[t]:n[e]-i[e]}}function qd(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),ht(n&&n.onComplete,[e],t)}function Bw(e){const t=e.chart,n=t.options.animation;ht(n&&n.onProgress,[e],t)}function Xd(e){return Ts()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const jo={},Gd=e=>{const t=Xd(e);return Object.values(jo).filter(n=>n.canvas===t).pop()};function kw(e,t,n){const i=Object.keys(e);for(const o of i){const r=+o;if(r>=t){const s=e[o];delete e[o],(n>0||r>t)&&(e[r+n]=s)}}}function Dw(e,t,n,i){return!n||e.type==="mouseout"?null:i?t:e}function Uo(e,t,n){return e.options.clip?e[n]:t[n]}function Cw(e,t){const{xScale:n,yScale:i}=e;return n&&i?{left:Uo(n,t,"left"),right:Uo(n,t,"right"),top:Uo(i,t,"top"),bottom:Uo(i,t,"bottom")}:t}let Vs=(nn=class{static register(...t){Pe.add(...t),Jd()}static unregister(...t){Pe.remove(...t),Jd()}constructor(t,n){const i=this.config=new ww(n),o=Xd(t),r=Gd(o);if(r)throw new Error("Canvas is already in use. Chart with ID '"+r.id+"' must be destroyed before the canvas with ID '"+r.canvas.id+"' can be reused.");const s=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||Wv(o)),this.platform.updateConfig(i);const a=this.platform.acquireContext(o,s.aspectRatio),c=a&&a.canvas,l=c&&c.height,A=c&&c.width;if(this.id=Ym(),this.ctx=a,this.canvas=c,this.width=A,this.height=l,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new lw,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Ab(d=>this.update(d),s.resizeDelay||0),this._dataChanges=[],jo[this.id]=this,!a||!c){console.error("Failed to create chart: can't acquire context from the given item");return}Re.listen(this,"complete",qd),Re.listen(this,"progress",Bw),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:n},width:i,height:o,_aspectRatio:r}=this;return ut(t)?n&&r?r:o?i/o:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return Pe}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():cd(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return GA(this.canvas,this.ctx),this}stop(){return Re.stop(this),this}resize(t,n){Re.running(this)?this._resizeBeforeDraw={width:t,height:n}:this._resize(t,n)}_resize(t,n){const i=this.options,o=this.canvas,r=i.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(o,t,n,r),a=i.devicePixelRatio||this.platform.getDevicePixelRatio(),c=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,cd(this,a,!0)&&(this.notifyPlugins("resize",{size:s}),ht(i.onResize,[this,s],this),this.attached&&this._doResize(c)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};ct(n,(i,o)=>{i.id=o})}buildOrUpdateScales(){const t=this.options,n=t.scales,i=this.scales,o=Object.keys(i).reduce((s,a)=>(s[a]=!1,s),{});let r=[];n&&(r=r.concat(Object.keys(n).map(s=>{const a=n[s],c=Us(s,a),l=c==="r",A=c==="x";return{options:a,dposition:l?"chartArea":A?"bottom":"left",dtype:l?"radialLinear":A?"category":"linear"}}))),ct(r,s=>{const a=s.options,c=a.id,l=Us(c,a),A=st(a.type,s.dtype);(a.position===void 0||Yd(a.position,l)!==Yd(s.dposition))&&(a.position=s.dposition),o[c]=!0;let d=null;if(c in i&&i[c].type===A)d=i[c];else{const u=Pe.getScale(A);d=new u({id:c,type:A,ctx:this.ctx,chart:this}),i[d.id]=d}d.init(a,t)}),ct(o,(s,a)=>{s||delete i[a]}),ct(i,s=>{se.configure(this,s,s.options),se.addBox(this,s)})}_updateMetasets(){const t=this._metasets,n=this.data.datasets.length,i=t.length;if(t.sort((o,r)=>o.index-r.index),i>n){for(let o=n;o<i;++o)this._destroyDatasetMeta(o);t.splice(n,i-n)}this._sortedMetasets=t.slice(0).sort(Kd("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:n}}=this;t.length>n.length&&delete this._stacks,t.forEach((i,o)=>{n.filter(r=>r===i._dataset).length===0&&this._destroyDatasetMeta(o)})}buildOrUpdateControllers(){const t=[],n=this.data.datasets;let i,o;for(this._removeUnreferencedMetasets(),i=0,o=n.length;i<o;i++){const r=n[i];let s=this.getDatasetMeta(i);const a=r.type||this.config.type;if(s.type&&s.type!==a&&(this._destroyDatasetMeta(i),s=this.getDatasetMeta(i)),s.type=a,s.indexAxis=r.indexAxis||js(a,this.options),s.order=r.order||0,s.index=i,s.label=""+r.label,s.visible=this.isDatasetVisible(i),s.controller)s.controller.updateIndex(i),s.controller.linkScales();else{const c=Pe.getController(a),{datasetElementType:l,dataElementType:A}=mt.datasets[a];Object.assign(c,{dataElementType:Pe.getElement(A),datasetElementType:l&&Pe.getElement(l)}),s.controller=new c(this,i),t.push(s.controller)}}return this._updateMetasets(),t}_resetElements(){ct(this.data.datasets,(t,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const n=this.config;n.update();const i=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),o=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const r=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let l=0,A=this.data.datasets.length;l<A;l++){const{controller:d}=this.getDatasetMeta(l),u=!o&&r.indexOf(d)===-1;d.buildOrUpdateElements(u),s=Math.max(+d.getMaxOverflow(),s)}s=this._minPadding=i.layout.autoPadding?s:0,this._updateLayout(s),o||ct(r,l=>{l.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(Kd("z","_idx"));const{_active:a,_lastEvent:c}=this;c?this._eventHandler(c,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){ct(this.scales,t=>{se.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,n=new Set(Object.keys(this._listeners)),i=new Set(t.events);(!IA(n,i)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,n=this._getUniformDataChanges()||[];for(const{method:i,start:o,count:r}of n){const s=i==="_removeElements"?-r:r;kw(t,o,s)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const n=this.data.datasets.length,i=r=>new Set(t.filter(s=>s[0]===r).map((s,a)=>a+","+s.splice(1).join(","))),o=i(0);for(let r=1;r<n;r++)if(!IA(o,i(r)))return;return Array.from(o).map(r=>r.split(",")).map(r=>({method:r[1],start:+r[2],count:+r[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;se.update(this,this.width,this.height,t);const n=this.chartArea,i=n.width<=0||n.height<=0;this._layers=[],ct(this.boxes,o=>{i&&o.position==="chartArea"||(o.configure&&o.configure(),this._layers.push(...o._layers()))},this),this._layers.forEach((o,r)=>{o._idx=r}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let n=0,i=this.data.datasets.length;n<i;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,i=this.data.datasets.length;n<i;++n)this._updateDataset(n,Ze(t)?t({datasetIndex:n}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,n){const i=this.getDatasetMeta(t),o={meta:i,index:t,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",o)!==!1&&(i.controller._update(n),o.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",o))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(Re.has(this)?this.attached&&!Re.running(this)&&Re.start(this):(this.draw(),qd({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:i,height:o}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(i,o)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(t=0;t<n.length&&n[t].z<=0;++t)n[t].draw(this.chartArea);for(this._drawDatasets();t<n.length;++t)n[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const n=this._sortedMetasets,i=[];let o,r;for(o=0,r=n.length;o<r;++o){const s=n[o];(!t||s.visible)&&i.push(s)}return i}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const t=this.getSortedVisibleDatasetMetas();for(let n=t.length-1;n>=0;--n)this._drawDataset(t[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const n=this.ctx,i=t._clip,o=!i.disabled,r=Cw(t,this.chartArea),s={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",s)!==!1&&(o&&Ds(n,{left:i.left===!1?0:r.left-i.left,right:i.right===!1?this.width:r.right+i.right,top:i.top===!1?0:r.top-i.top,bottom:i.bottom===!1?this.height:r.bottom+i.bottom}),t.controller.draw(),o&&Cs(n),s.cancelable=!1,this.notifyPlugins("afterDatasetDraw",s))}isPointInArea(t){return $A(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,i,o){const r=Pv.modes[n];return typeof r=="function"?r(this,t,i,o):[]}getDatasetMeta(t){const n=this.data.datasets[t],i=this._metasets;let o=i.filter(r=>r&&r._dataset===n).pop();return o||(o={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:t,_dataset:n,_parsed:[],_sorted:!1},i.push(o)),o}getContext(){return this.$context||(this.$context=Hn(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const n=this.data.datasets[t];if(!n)return!1;const i=this.getDatasetMeta(t);return typeof i.hidden=="boolean"?!i.hidden:!n.hidden}setDatasetVisibility(t,n){const i=this.getDatasetMeta(t);i.hidden=!n}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,n,i){const o=i?"show":"hide",r=this.getDatasetMeta(t),s=r.controller._resolveAnimations(void 0,o);yi(n)?(r.data[n].hidden=!i,this.update()):(this.setDatasetVisibility(t,i),s.update(r,{visible:i}),this.update(a=>a.datasetIndex===t?o:void 0))}hide(t,n){this._updateVisibility(t,n,!1)}show(t,n){this._updateVisibility(t,n,!0)}_destroyDatasetMeta(t){const n=this._metasets[t];n&&n.controller&&n.controller._destroy(),delete this._metasets[t]}_stop(){let t,n;for(this.stop(),Re.remove(this),t=0,n=this.data.datasets.length;t<n;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:n}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),GA(t,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete jo[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,n=this.platform,i=(r,s)=>{n.addEventListener(this,r,s),t[r]=s},o=(r,s,a)=>{r.offsetX=s,r.offsetY=a,this._eventHandler(r)};ct(this.options.events,r=>i(r,o))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,n=this.platform,i=(c,l)=>{n.addEventListener(this,c,l),t[c]=l},o=(c,l)=>{t[c]&&(n.removeEventListener(this,c,l),delete t[c])},r=(c,l)=>{this.canvas&&this.resize(c,l)};let s;const a=()=>{o("attach",a),this.attached=!0,this.resize(),i("resize",r),i("detach",s)};s=()=>{this.attached=!1,o("resize",r),this._stop(),this._resize(0,0),i("attach",a)},n.isAttached(this.canvas)?a():s()}unbindEvents(){ct(this._listeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._listeners={},ct(this._responsiveListeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,n,i){const o=i?"set":"remove";let r,s,a,c;for(n==="dataset"&&(r=this.getDatasetMeta(t[0].datasetIndex),r.controller["_"+o+"DatasetHoverStyle"]()),a=0,c=t.length;a<c;++a){s=t[a];const l=s&&this.getDatasetMeta(s.datasetIndex).controller;l&&l[o+"HoverStyle"](s.element,s.datasetIndex,s.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const n=this._active||[],i=t.map(({datasetIndex:r,index:s})=>{const a=this.getDatasetMeta(r);if(!a)throw new Error("No dataset found at index "+r);return{datasetIndex:r,element:a.data[s],index:s}});!xo(i,n)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,n))}notifyPlugins(t,n,i){return this._plugins.notify(this,t,n,i)}isPluginEnabled(t){return this._plugins._cache.filter(n=>n.plugin.id===t).length===1}_updateHoverStyles(t,n,i){const o=this.options.hover,r=(c,l)=>c.filter(A=>!l.some(d=>A.datasetIndex===d.datasetIndex&&A.index===d.index)),s=r(n,t),a=i?t:r(t,n);s.length&&this.updateHoverStyle(s,o.mode,!1),a.length&&o.mode&&this.updateHoverStyle(a,o.mode,!0)}_eventHandler(t,n){const i={event:t,replay:n,cancelable:!0,inChartArea:this.isPointInArea(t)},o=s=>(s.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",i,o)===!1)return;const r=this._handleEvent(t,n,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,o),(r||i.changed)&&this.render(),this}_handleEvent(t,n,i){const{_active:o=[],options:r}=this,s=n,a=this._getActiveElements(t,o,i,s),c=Zm(t),l=Dw(t,this._lastEvent,i,c);i&&(this._lastEvent=null,ht(r.onHover,[t,a,this],this),c&&ht(r.onClick,[t,a,this],this));const A=!xo(a,o);return(A||n)&&(this._active=a,this._updateHoverStyles(a,o,n)),this._lastEvent=l,A}_getActiveElements(t,n,i,o){if(t.type==="mouseout")return[];if(!i)return n;const r=this.options.hover;return this.getElementsAtEventForMode(t,r.mode,r,o)}},Z(nn,"defaults",mt),Z(nn,"instances",jo),Z(nn,"overrides",un),Z(nn,"registry",Pe),Z(nn,"version",_w),Z(nn,"getChart",Gd),nn);function Jd(){return ct(Vs.instances,e=>e._plugins.invalidate())}function Zd(e,t){const{x:n,y:i,base:o,width:r,height:s}=e.getProps(["x","y","base","width","height"],t);let a,c,l,A,d;return e.horizontal?(d=s/2,a=Math.min(n,o),c=Math.max(n,o),l=i-d,A=i+d):(d=r/2,a=n-d,c=n+d,l=Math.min(i,o),A=Math.max(i,o)),{left:a,top:l,right:c,bottom:A}}function tn(e,t,n,i){return e?0:de(t,n,i)}function Ew(e,t,n){const i=e.options.borderWidth,o=e.borderSkipped,r=ed(i);return{t:tn(o.top,r.top,0,n),r:tn(o.right,r.right,0,t),b:tn(o.bottom,r.bottom,0,n),l:tn(o.left,r.left,0,t)}}function Sw(e,t,n){const{enableBorderRadius:i}=e.getProps(["enableBorderRadius"]),o=e.options.borderRadius,r=Rn(o),s=Math.min(t,n),a=e.borderSkipped,c=i||it(o);return{topLeft:tn(!c||a.top||a.left,r.topLeft,0,s),topRight:tn(!c||a.top||a.right,r.topRight,0,s),bottomLeft:tn(!c||a.bottom||a.left,r.bottomLeft,0,s),bottomRight:tn(!c||a.bottom||a.right,r.bottomRight,0,s)}}function Mw(e){const t=Zd(e),n=t.right-t.left,i=t.bottom-t.top,o=Ew(e,n/2,i/2),r=Sw(e,n/2,i/2);return{outer:{x:t.left,y:t.top,w:n,h:i,radius:r},inner:{x:t.left+o.l,y:t.top+o.t,w:n-o.l-o.r,h:i-o.t-o.b,radius:{topLeft:Math.max(0,r.topLeft-Math.max(o.t,o.l)),topRight:Math.max(0,r.topRight-Math.max(o.t,o.r)),bottomLeft:Math.max(0,r.bottomLeft-Math.max(o.b,o.l)),bottomRight:Math.max(0,r.bottomRight-Math.max(o.b,o.r))}}}}function Ws(e,t,n,i){const o=t===null,r=n===null,a=e&&!(o&&r)&&Zd(e,i);return a&&(o||Ln(t,a.left,a.right))&&(r||Ln(n,a.top,a.bottom))}function Tw(e){return e.topLeft||e.topRight||e.bottomLeft||e.bottomRight}function Iw(e,t){e.rect(t.x,t.y,t.w,t.h)}function Ys(e,t,n={}){const i=e.x!==n.x?-t:0,o=e.y!==n.y?-t:0,r=(e.x+e.w!==n.x+n.w?t:0)-i,s=(e.y+e.h!==n.y+n.h?t:0)-o;return{x:e.x+i,y:e.y+o,w:e.w+r,h:e.h+s,radius:e.radius}}class Vo extends Nn{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:n,options:{borderColor:i,backgroundColor:o}}=this,{inner:r,outer:s}=Mw(this),a=Tw(s.radius)?Eo:Iw;t.save(),(s.w!==r.w||s.h!==r.h)&&(t.beginPath(),a(t,Ys(s,n,r)),t.clip(),a(t,Ys(r,-n,s)),t.fillStyle=i,t.fill("evenodd")),t.beginPath(),a(t,Ys(r,n)),t.fillStyle=o,t.fill(),t.restore()}inRange(t,n,i){return Ws(this,t,n,i)}inXRange(t,n){return Ws(this,t,null,n)}inYRange(t,n){return Ws(this,null,t,n)}getCenterPoint(t){const{x:n,y:i,base:o,horizontal:r}=this.getProps(["x","y","base","horizontal"],t);return{x:r?(n+o)/2:n,y:r?i:(i+o)/2}}getRange(t){return t==="x"?this.width/2:this.height/2}}Z(Vo,"id","bar"),Z(Vo,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),Z(Vo,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});const Ks=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],$d=Ks.map(e=>e.replace("rgb(","rgba(").replace(")",", 0.5)"));function tu(e){return Ks[e%Ks.length]}function eu(e){return $d[e%$d.length]}function Ow(e,t){return e.borderColor=tu(t),e.backgroundColor=eu(t),++t}function Qw(e,t){return e.backgroundColor=e.data.map(()=>tu(t++)),t}function Lw(e,t){return e.backgroundColor=e.data.map(()=>eu(t++)),t}function Rw(e){let t=0;return(n,i)=>{const o=e.getDatasetMeta(i).controller;o instanceof ki?t=Qw(n,t):o instanceof Qo?t=Lw(n,t):o&&(t=Ow(n,t))}}function nu(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}function Hw(e){return e&&(e.borderColor||e.backgroundColor)}function Fw(){return mt.borderColor!=="rgba(0,0,0,0.1)"||mt.backgroundColor!=="rgba(0,0,0,0.1)"}var zw={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,t,n){if(!n.enabled)return;const{data:{datasets:i},options:o}=e.config,{elements:r}=o,s=nu(i)||Hw(o)||r&&nu(r)||Fw();if(!n.forceOverride&&s)return;const a=Rw(e);i.forEach(a)}};const iu=(e,t)=>{let{boxHeight:n=t,boxWidth:i=t}=e;return e.usePointStyle&&(n=Math.min(n,t),i=e.pointStyleWidth||Math.min(i,t)),{boxWidth:i,boxHeight:n,itemHeight:Math.max(t,n)}},Nw=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index;class ou extends Nn{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n,i){this.maxWidth=t,this.maxHeight=n,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let n=ht(t.generateLabels,[this.chart],this)||[];t.filter&&(n=n.filter(i=>t.filter(i,this.chart.data))),t.sort&&(n=n.sort((i,o)=>t.sort(i,o,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:t,ctx:n}=this;if(!t.display){this.width=this.height=0;return}const i=t.labels,o=Tt(i.font),r=o.size,s=this._computeTitleHeight(),{boxWidth:a,itemHeight:c}=iu(i,r);let l,A;n.font=o.string,this.isHorizontal()?(l=this.maxWidth,A=this._fitRows(s,r,a,c)+10):(A=this.maxHeight,l=this._fitCols(s,o,a,c)+10),this.width=Math.min(l,t.maxWidth||this.maxWidth),this.height=Math.min(A,t.maxHeight||this.maxHeight)}_fitRows(t,n,i,o){const{ctx:r,maxWidth:s,options:{labels:{padding:a}}}=this,c=this.legendHitBoxes=[],l=this.lineWidths=[0],A=o+a;let d=t;r.textAlign="left",r.textBaseline="middle";let u=-1,h=-A;return this.legendItems.forEach((p,g)=>{const b=i+n/2+r.measureText(p.text).width;(g===0||l[l.length-1]+b+2*a>s)&&(d+=A,l[l.length-(g>0?0:1)]=0,h+=A,u++),c[g]={left:0,top:h,row:u,width:b,height:o},l[l.length-1]+=b+a}),d}_fitCols(t,n,i,o){const{ctx:r,maxHeight:s,options:{labels:{padding:a}}}=this,c=this.legendHitBoxes=[],l=this.columnSizes=[],A=s-t;let d=a,u=0,h=0,p=0,g=0;return this.legendItems.forEach((b,v)=>{const{itemWidth:w,itemHeight:_}=jw(i,n,r,b,o);v>0&&h+_+2*a>A&&(d+=u+a,l.push({width:u,height:h}),p+=u+a,g++,u=h=0),c[v]={left:p,top:h,col:g,width:w,height:_},u=Math.max(u,w),h+=_+a}),d+=u,l.push({width:u,height:h}),d}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:i,labels:{padding:o},rtl:r}}=this,s=zn(r,this.left,this.width);if(this.isHorizontal()){let a=0,c=Mt(i,this.left+o,this.right-this.lineWidths[a]);for(const l of n)a!==l.row&&(a=l.row,c=Mt(i,this.left+o,this.right-this.lineWidths[a])),l.top+=this.top+t+o,l.left=s.leftForLtr(s.x(c),l.width),c+=l.width+o}else{let a=0,c=Mt(i,this.top+t+o,this.bottom-this.columnSizes[a].height);for(const l of n)l.col!==a&&(a=l.col,c=Mt(i,this.top+t+o,this.bottom-this.columnSizes[a].height)),l.top=c,l.left+=this.left+o,l.left=s.leftForLtr(s.x(l.left),l.width),c+=l.height+o}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const t=this.ctx;Ds(t,this),this._draw(),Cs(t)}}_draw(){const{options:t,columnSizes:n,lineWidths:i,ctx:o}=this,{align:r,labels:s}=t,a=mt.color,c=zn(t.rtl,this.left,this.width),l=Tt(s.font),{padding:A}=s,d=l.size,u=d/2;let h;this.drawTitle(),o.textAlign=c.textAlign("left"),o.textBaseline="middle",o.lineWidth=.5,o.font=l.string;const{boxWidth:p,boxHeight:g,itemHeight:b}=iu(s,d),v=function(x,P,C){if(isNaN(p)||p<=0||isNaN(g)||g<0)return;o.save();const B=st(C.lineWidth,1);if(o.fillStyle=st(C.fillStyle,a),o.lineCap=st(C.lineCap,"butt"),o.lineDashOffset=st(C.lineDashOffset,0),o.lineJoin=st(C.lineJoin,"miter"),o.lineWidth=B,o.strokeStyle=st(C.strokeStyle,a),o.setLineDash(st(C.lineDash,[])),s.usePointStyle){const D={radius:g*Math.SQRT2/2,pointStyle:C.pointStyle,rotation:C.rotation,borderWidth:B},E=c.xPlus(x,p/2),S=P+u;ZA(o,D,E,S,s.pointStyleWidth&&p)}else{const D=P+Math.max((d-g)/2,0),E=c.leftForLtr(x,p),S=Rn(C.borderRadius);o.beginPath(),Object.values(S).some(I=>I!==0)?Eo(o,{x:E,y:D,w:p,h:g,radius:S}):o.rect(E,D,p,g),o.fill(),B!==0&&o.stroke()}o.restore()},w=function(x,P,C){Pi(o,C.text,x,P+b/2,l,{strikethrough:C.hidden,textAlign:c.textAlign(C.textAlign)})},_=this.isHorizontal(),m=this._computeTitleHeight();_?h={x:Mt(r,this.left+A,this.right-i[0]),y:this.top+A+m,line:0}:h={x:this.left+A,y:Mt(r,this.top+m+A,this.bottom-n[0].height),line:0},Ad(this.ctx,t.textDirection);const y=b+A;this.legendItems.forEach((x,P)=>{o.strokeStyle=x.fontColor,o.fillStyle=x.fontColor;const C=o.measureText(x.text).width,B=c.textAlign(x.textAlign||(x.textAlign=s.textAlign)),D=p+u+C;let E=h.x,S=h.y;c.setWidth(this.width),_?P>0&&E+D+A>this.right&&(S=h.y+=y,h.line++,E=h.x=Mt(r,this.left+A,this.right-i[h.line])):P>0&&S+y>this.bottom&&(E=h.x=E+n[h.line].width+A,h.line++,S=h.y=Mt(r,this.top+m+A,this.bottom-n[h.line].height));const I=c.x(E);if(v(I,S,x),E=db(B,E+p+u,_?E+D:this.right,t.rtl),w(c.x(E),S,x),_)h.x+=D+A;else if(typeof x.text!="string"){const O=l.lineHeight;h.y+=ru(x,O)+A}else h.y+=y}),dd(this.ctx,t.textDirection)}drawTitle(){const t=this.options,n=t.title,i=Tt(n.font),o=re(n.padding);if(!n.display)return;const r=zn(t.rtl,this.left,this.width),s=this.ctx,a=n.position,c=i.size/2,l=o.top+c;let A,d=this.left,u=this.width;if(this.isHorizontal())u=Math.max(...this.lineWidths),A=this.top+l,d=Mt(t.align,d,this.right-u);else{const p=this.columnSizes.reduce((g,b)=>Math.max(g,b.height),0);A=l+Mt(t.align,this.top,this.bottom-p-t.labels.padding-this._computeTitleHeight())}const h=Mt(a,d,d+u);s.textAlign=r.textAlign(_s(a)),s.textBaseline="middle",s.strokeStyle=n.color,s.fillStyle=n.color,s.font=i.string,Pi(s,n.text,h,A,i)}_computeTitleHeight(){const t=this.options.title,n=Tt(t.font),i=re(t.padding);return t.display?n.lineHeight+i.height:0}_getLegendItemAt(t,n){let i,o,r;if(Ln(t,this.left,this.right)&&Ln(n,this.top,this.bottom)){for(r=this.legendHitBoxes,i=0;i<r.length;++i)if(o=r[i],Ln(t,o.left,o.left+o.width)&&Ln(n,o.top,o.top+o.height))return this.legendItems[i]}return null}handleEvent(t){const n=this.options;if(!Ww(t.type,n))return;const i=this._getLegendItemAt(t.x,t.y);if(t.type==="mousemove"||t.type==="mouseout"){const o=this._hoveredItem,r=Nw(o,i);o&&!r&&ht(n.onLeave,[t,o,this],this),this._hoveredItem=i,i&&!r&&ht(n.onHover,[t,i,this],this)}else i&&ht(n.onClick,[t,i,this],this)}}function jw(e,t,n,i,o){const r=Uw(i,e,t,n),s=Vw(o,i,t.lineHeight);return{itemWidth:r,itemHeight:s}}function Uw(e,t,n,i){let o=e.text;return o&&typeof o!="string"&&(o=o.reduce((r,s)=>r.length>s.length?r:s)),t+n.size/2+i.measureText(o).width}function Vw(e,t,n){let i=e;return typeof t.text!="string"&&(i=ru(t,n)),i}function ru(e,t){const n=e.text?e.text.length:0;return t*n}function Ww(e,t){return!!((e==="mousemove"||e==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(e==="click"||e==="mouseup"))}var Yw={id:"legend",_element:ou,start(e,t,n){const i=e.legend=new ou({ctx:e.ctx,options:n,chart:e});se.configure(e,i,n),se.addBox(e,i)},stop(e){se.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){const i=e.legend;se.configure(e,i,n),i.options=n},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){const i=t.datasetIndex,o=n.chart;o.isDatasetVisible(i)?(o.hide(i),t.hidden=!0):(o.show(i),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:i,textAlign:o,color:r,useBorderRadius:s,borderRadius:a}}=e.legend.options;return e._getSortedDatasetMetas().map(c=>{const l=c.controller.getStyle(n?0:void 0),A=re(l.borderWidth);return{text:t[c.index].label,fillStyle:l.backgroundColor,fontColor:r,hidden:!c.visible,lineCap:l.borderCapStyle,lineDash:l.borderDash,lineDashOffset:l.borderDashOffset,lineJoin:l.borderJoinStyle,lineWidth:(A.width+A.height)/4,strokeStyle:l.borderColor,pointStyle:i||l.pointStyle,rotation:l.rotation,textAlign:o||l.textAlign,borderRadius:s&&(a||l.borderRadius),datasetIndex:c.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class su extends Nn{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n){const i=this.options;if(this.left=0,this.top=0,!i.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=t,this.height=this.bottom=n;const o=Pt(i.text)?i.text.length:1;this._padding=re(i.padding);const r=o*Tt(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=r:this.width=r}isHorizontal(){const t=this.options.position;return t==="top"||t==="bottom"}_drawArgs(t){const{top:n,left:i,bottom:o,right:r,options:s}=this,a=s.align;let c=0,l,A,d;return this.isHorizontal()?(A=Mt(a,i,r),d=n+t,l=r-i):(s.position==="left"?(A=i+t,d=Mt(a,o,n),c=Bt*-.5):(A=r-t,d=Mt(a,n,o),c=Bt*.5),l=o-n),{titleX:A,titleY:d,maxWidth:l,rotation:c}}draw(){const t=this.ctx,n=this.options;if(!n.display)return;const i=Tt(n.font),r=i.lineHeight/2+this._padding.top,{titleX:s,titleY:a,maxWidth:c,rotation:l}=this._drawArgs(r);Pi(t,n.text,0,0,i,{color:n.color,maxWidth:c,rotation:l,textAlign:_s(n.align),textBaseline:"middle",translation:[s,a]})}}function Kw(e,t){const n=new su({ctx:e.ctx,options:t,chart:e});se.configure(e,n,t),se.addBox(e,n),e.titleBlock=n}var qw={id:"title",_element:su,start(e,t,n){Kw(e,n)},stop(e){const t=e.titleBlock;se.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){const i=e.titleBlock;se.configure(e,i,n),i.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Oi={average(e){if(!e.length)return!1;let t,n,i=new Set,o=0,r=0;for(t=0,n=e.length;t<n;++t){const a=e[t].element;if(a&&a.hasValue()){const c=a.tooltipPosition();i.add(c.x),o+=c.y,++r}}return r===0||i.size===0?!1:{x:[...i].reduce((a,c)=>a+c)/i.size,y:o/r}},nearest(e,t){if(!e.length)return!1;let n=t.x,i=t.y,o=Number.POSITIVE_INFINITY,r,s,a;for(r=0,s=e.length;r<s;++r){const c=e[r].element;if(c&&c.hasValue()){const l=c.getCenterPoint(),A=rb(t,l);A<o&&(o=A,a=c)}}if(a){const c=a.tooltipPosition();n=c.x,i=c.y}return{x:n,y:i}}};function Be(e,t){return t&&(Pt(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function He(e){return(typeof e=="string"||e instanceof String)&&e.indexOf(`
|
|
133
|
+
*/class k2{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,n,r,i){const o=n.listeners[i],s=n.duration;o.forEach(a=>a({chart:t,initial:n.initial,numSteps:s,currentStep:Math.min(r-n.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=Uf.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((r,i)=>{if(!r.running||!r.items.length)return;const o=r.items;let s=o.length-1,a=!1,l;for(;s>=0;--s)l=o[s],l._active?(l._total>r.duration&&(r.duration=l._total),l.tick(t),a=!0):(o[s]=o[o.length-1],o.pop());a&&(i.draw(),this._notify(i,r,t,"progress")),o.length||(r.running=!1,this._notify(i,r,t,"complete"),r.initial=!1),n+=o.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let r=n.get(t);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,r)),r}listen(t,n,r){this._getAnims(t).listeners[n].push(r)}add(t,n){!n||!n.length||this._getAnims(t).items.push(...n)}has(t){return this._getAnims(t).items.length>0}start(t){const n=this._charts.get(t);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((r,i)=>Math.max(r,i._duration),0),this._refresh())}running(t){if(!this._running)return!1;const n=this._charts.get(t);return!(!n||!n.running||!n.items.length)}stop(t){const n=this._charts.get(t);if(!n||!n.items.length)return;const r=n.items;let i=r.length-1;for(;i>=0;--i)r[i].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var cn=new k2;const hh="transparent",_2={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const r=qf(e||hh),i=r.valid&&qf(t||hh);return i&&i.valid?i.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class S2{constructor(t,n,r,i){const o=n[r];i=Ro([t.to,i,o,t.from]);const s=Ro([t.from,o,i]);this._active=!0,this._fn=t.fn||_2[t.type||typeof s],this._easing=bi[t.easing]||bi.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=r,this._from=s,this._to=i,this._promises=void 0}active(){return this._active}update(t,n,r){if(this._active){this._notify(!1);const i=this._target[this._prop],o=r-this._start,s=this._duration-o;this._start=r,this._duration=Math.floor(Math.max(s,t.duration)),this._total+=o,this._loop=!!t.loop,this._to=Ro([t.to,n,i,t.from]),this._from=Ro([t.from,i,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,r=this._duration,i=this._prop,o=this._from,s=this._loop,a=this._to;let l;if(this._active=o!==a&&(s||n<r),!this._active){this._target[i]=a,this._notify(!0);return}if(n<0){this._target[i]=o;return}l=n/r%2,l=s&&l>1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[i]=this._fn(o,a,l)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,r)=>{t.push({res:n,rej:r})})}_notify(t){const n=t?"res":"rej",r=this._promises||[];for(let i=0;i<r.length;i++)r[i][n]()}}class ph{constructor(t,n){this._chart=t,this._properties=new Map,this.configure(n)}configure(t){if(!pt(t))return;const n=Object.keys(Tt.animation),r=this._properties;Object.getOwnPropertyNames(t).forEach(i=>{const o=t[i];if(!pt(o))return;const s={};for(const a of n)s[a]=o[a];(Ut(o.properties)&&o.properties||[i]).forEach(a=>{(a===i||!r.has(a))&&r.set(a,s)})})}_animateOptions(t,n){const r=n.options,i=C2(t,r);if(!i)return[];const o=this._createAnimations(i,r);return r.$shared&&E2(t.options.$animations,r).then(()=>{t.options=r},()=>{}),o}_createAnimations(t,n){const r=this._properties,i=[],o=t.$animations||(t.$animations={}),s=Object.keys(n),a=Date.now();let l;for(l=s.length-1;l>=0;--l){const c=s[l];if(c.charAt(0)==="$")continue;if(c==="options"){i.push(...this._animateOptions(t,n));continue}const u=n[c];let d=o[c];const A=r.get(c);if(d)if(A&&d.active()){d.update(A,u,a);continue}else d.cancel();if(!A||!A.duration){t[c]=u;continue}o[c]=d=new S2(A,t,c,u),i.push(d)}return i}update(t,n){if(this._properties.size===0){Object.assign(t,n);return}const r=this._createAnimations(t,n);if(r.length)return cn.add(this._chart,r),!0}}function E2(e,t){const n=[],r=Object.keys(t);for(let i=0;i<r.length;i++){const o=e[r[i]];o&&o.active()&&n.push(o.wait())}return Promise.all(n)}function C2(e,t){if(!t)return;let n=e.options;if(!n){e.options=t;return}return n.$shared&&(e.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function gh(e,t){const n=e&&e.options||{},r=n.reverse,i=n.min===void 0?t:0,o=n.max===void 0?t:0;return{start:r?o:i,end:r?i:o}}function P2(e,t,n){if(n===!1)return!1;const r=gh(e,n),i=gh(t,n);return{top:i.end,right:r.end,bottom:i.start,left:r.start}}function D2(e){let t,n,r,i;return pt(e)?(t=e.top,n=e.right,r=e.bottom,i=e.left):t=n=r=i=e,{top:t,right:n,bottom:r,left:i,disabled:e===!1}}function mh(e,t){const n=[],r=e._getSortedDatasetMetas(t);let i,o;for(i=0,o=r.length;i<o;++i)n.push(r[i].index);return n}function bh(e,t,n,r={}){const i=e.keys,o=r.mode==="single";let s,a,l,c;if(t===null)return;let u=!1;for(s=0,a=i.length;s<a;++s){if(l=+i[s],l===n){if(u=!0,r.all)continue;break}c=e.values[l],_e(c)&&(o||t===0||Cn(t)===Cn(c))&&(t+=c)}return!u&&!r.all?0:t}function B2(e,t){const{iScale:n,vScale:r}=t,i=n.axis==="x"?"x":"y",o=r.axis==="x"?"x":"y",s=Object.keys(e),a=new Array(s.length);let l,c,u;for(l=0,c=s.length;l<c;++l)u=s[l],a[l]={[i]:u,[o]:e[u]};return a}function kl(e,t){const n=e&&e.options.stacked;return n||n===void 0&&t.stack!==void 0}function I2(e,t,n){return`${e.id}.${t.id}.${n.stack||n.type}`}function T2(e){const{min:t,max:n,minDefined:r,maxDefined:i}=e.getUserBounds();return{min:r?t:Number.NEGATIVE_INFINITY,max:i?n:Number.POSITIVE_INFINITY}}function M2(e,t,n){const r=e[t]||(e[t]={});return r[n]||(r[n]={})}function vh(e,t,n,r){for(const i of t.getMatchingVisibleMetas(r).reverse()){const o=e[i.index];if(n&&o>0||!n&&o<0)return i.index}return null}function yh(e,t){const{chart:n,_cachedMeta:r}=e,i=n._stacks||(n._stacks={}),{iScale:o,vScale:s,index:a}=r,l=o.axis,c=s.axis,u=I2(o,s,r),d=t.length;let A;for(let f=0;f<d;++f){const h=t[f],{[l]:p,[c]:g}=h,b=h._stacks||(h._stacks={});A=b[c]=M2(i,u,p),A[a]=g,A._top=vh(A,s,!0,r.type),A._bottom=vh(A,s,!1,r.type);const w=A._visualValues||(A._visualValues={});w[a]=g}}function _l(e,t){const n=e.scales;return Object.keys(n).filter(r=>n[r].axis===t).shift()}function O2(e,t){return Sr(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function L2(e,t,n){return Sr(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}function wi(e,t){const n=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t=t||e._parsed;for(const i of t){const o=i._stacks;if(!o||o[r]===void 0||o[r][n]===void 0)return;delete o[r][n],o[r]._visualValues!==void 0&&o[r]._visualValues[n]!==void 0&&delete o[r]._visualValues[n]}}}const Sl=e=>e==="reset"||e==="none",wh=(e,t)=>t?e:Object.assign({},e),R2=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:mh(n,!0),values:null};class Kn{constructor(t,n){this.chart=t,this._ctx=t.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=kl(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&wi(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,n=this._cachedMeta,r=this.getDataset(),i=(d,A,f,h)=>d==="x"?A:d==="r"?h:f,o=n.xAxisID=mt(r.xAxisID,_l(t,"x")),s=n.yAxisID=mt(r.yAxisID,_l(t,"y")),a=n.rAxisID=mt(r.rAxisID,_l(t,"r")),l=n.indexAxis,c=n.iAxisID=i(l,o,s,a),u=n.vAxisID=i(l,s,o,a);n.xScale=this.getScaleForId(o),n.yScale=this.getScaleForId(s),n.rScale=this.getScaleForId(a),n.iScale=this.getScaleForId(c),n.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const n=this._cachedMeta;return t===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&zf(this._data,this),t._stacked&&wi(t)}_dataCheck(){const t=this.getDataset(),n=t.data||(t.data=[]),r=this._data;if(pt(n)){const i=this._cachedMeta;this._data=B2(n,i)}else if(r!==n){if(r){zf(r,this);const i=this._cachedMeta;wi(i),i._parsed=[]}n&&Object.isExtensible(n)&&F1(n,this),this._syncList=[],this._data=n}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const n=this._cachedMeta,r=this.getDataset();let i=!1;this._dataCheck();const o=n._stacked;n._stacked=kl(n.vScale,n),n.stack!==r.stack&&(i=!0,wi(n),n.stack=r.stack),this._resyncElements(t),(i||o!==n._stacked)&&(yh(this,n._parsed),n._stacked=kl(n.vScale,n))}configure(){const t=this.chart.config,n=t.datasetScopeKeys(this._type),r=t.getOptionScopes(this.getDataset(),n,!0);this.options=t.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,n){const{_cachedMeta:r,_data:i}=this,{iScale:o,_stacked:s}=r,a=o.axis;let l=t===0&&n===i.length?!0:r._sorted,c=t>0&&r._parsed[t-1],u,d,A;if(this._parsing===!1)r._parsed=i,r._sorted=!0,A=i;else{Ut(i[t])?A=this.parseArrayData(r,i,t,n):pt(i[t])?A=this.parseObjectData(r,i,t,n):A=this.parsePrimitiveData(r,i,t,n);const f=()=>d[a]===null||c&&d[a]<c[a];for(u=0;u<n;++u)r._parsed[u+t]=d=A[u],l&&(f()&&(l=!1),c=d);r._sorted=l}s&&yh(this,A)}parsePrimitiveData(t,n,r,i){const{iScale:o,vScale:s}=t,a=o.axis,l=s.axis,c=o.getLabels(),u=o===s,d=new Array(i);let A,f,h;for(A=0,f=i;A<f;++A)h=A+r,d[A]={[a]:u||o.parse(c[h],h),[l]:s.parse(n[h],h)};return d}parseArrayData(t,n,r,i){const{xScale:o,yScale:s}=t,a=new Array(i);let l,c,u,d;for(l=0,c=i;l<c;++l)u=l+r,d=n[u],a[l]={x:o.parse(d[0],u),y:s.parse(d[1],u)};return a}parseObjectData(t,n,r,i){const{xScale:o,yScale:s}=t,{xAxisKey:a="x",yAxisKey:l="y"}=this._parsing,c=new Array(i);let u,d,A,f;for(u=0,d=i;u<d;++u)A=u+r,f=n[A],c[u]={x:o.parse(Sn(f,a),A),y:s.parse(Sn(f,l),A)};return c}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,n,r){const i=this.chart,o=this._cachedMeta,s=n[t.axis],a={keys:mh(i,!0),values:n._stacks[t.axis]._visualValues};return bh(a,s,o.index,{mode:r})}updateRangeFromParsed(t,n,r,i){const o=r[n.axis];let s=o===null?NaN:o;const a=i&&r._stacks[n.axis];i&&a&&(i.values=a,s=bh(i,o,this._cachedMeta.index)),t.min=Math.min(t.min,s),t.max=Math.max(t.max,s)}getMinMax(t,n){const r=this._cachedMeta,i=r._parsed,o=r._sorted&&t===r.iScale,s=i.length,a=this._getOtherScale(t),l=R2(n,r,this.chart),c={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:d}=T2(a);let A,f;function h(){f=i[A];const p=f[a.axis];return!_e(f[t.axis])||u>p||d<p}for(A=0;A<s&&!(!h()&&(this.updateRangeFromParsed(c,t,f,l),o));++A);if(o){for(A=s-1;A>=0;--A)if(!h()){this.updateRangeFromParsed(c,t,f,l);break}}return c}getAllParsedValues(t){const n=this._cachedMeta._parsed,r=[];let i,o,s;for(i=0,o=n.length;i<o;++i)s=n[i][t.axis],_e(s)&&r.push(s);return r}getMaxOverflow(){return!1}getLabelAndValue(t){const n=this._cachedMeta,r=n.iScale,i=n.vScale,o=this.getParsed(t);return{label:r?""+r.getLabelForValue(o[r.axis]):"",value:i?""+i.getLabelForValue(o[i.axis]):""}}_update(t){const n=this._cachedMeta;this.update(t||"default"),n._clip=D2(mt(this.options.clip,P2(n.xScale,n.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,n=this.chart,r=this._cachedMeta,i=r.data||[],o=n.chartArea,s=[],a=this._drawStart||0,l=this._drawCount||i.length-a,c=this.options.drawActiveElementsOnTop;let u;for(r.dataset&&r.dataset.draw(t,o,a,l),u=a;u<a+l;++u){const d=i[u];d.hidden||(d.active&&c?s.push(d):d.draw(t,o))}for(u=0;u<s.length;++u)s[u].draw(t,o)}getStyle(t,n){const r=n?"active":"default";return t===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(r):this.resolveDataElementOptions(t||0,r)}getContext(t,n,r){const i=this.getDataset();let o;if(t>=0&&t<this._cachedMeta.data.length){const s=this._cachedMeta.data[t];o=s.$context||(s.$context=L2(this.getContext(),t,s)),o.parsed=this.getParsed(t),o.raw=i.data[t],o.index=o.dataIndex=t}else o=this.$context||(this.$context=O2(this.chart.getContext(),this.index)),o.dataset=i,o.index=o.datasetIndex=this.index;return o.active=!!n,o.mode=r,o}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,n){return this._resolveElementOptions(this.dataElementType.id,n,t)}_resolveElementOptions(t,n="default",r){const i=n==="active",o=this._cachedDataOpts,s=t+"-"+n,a=o[s],l=this.enableOptionSharing&&mi(r);if(a)return wh(a,l);const c=this.chart.config,u=c.datasetElementScopeKeys(this._type,t),d=i?[`${t}Hover`,"hover",t,""]:[t,""],A=c.getOptionScopes(this.getDataset(),u),f=Object.keys(Tt.elements[t]),h=()=>this.getContext(r,i,n),p=c.resolveNamedOptions(A,f,h,d);return p.$shared&&(p.$shared=l,o[s]=Object.freeze(wh(p,l))),p}_resolveAnimations(t,n,r){const i=this.chart,o=this._cachedDataOpts,s=`animation-${n}`,a=o[s];if(a)return a;let l;if(i.options.animation!==!1){const u=this.chart.config,d=u.datasetAnimationScopeKeys(this._type,n),A=u.getOptionScopes(this.getDataset(),d);l=u.createResolver(A,this.getContext(t,r,n))}const c=new ph(i,l&&l.animations);return l&&l._cacheable&&(o[s]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,n){return!n||Sl(t)||this.chart._animationsDisabled}_getSharedOptions(t,n){const r=this.resolveDataElementOptions(t,n),i=this._sharedOptions,o=this.getSharedOptions(r),s=this.includeOptions(n,o)||o!==i;return this.updateSharedOptions(o,n,r),{sharedOptions:o,includeOptions:s}}updateElement(t,n,r,i){Sl(i)?Object.assign(t,r):this._resolveAnimations(n,i).update(t,r)}updateSharedOptions(t,n,r){t&&!Sl(n)&&this._resolveAnimations(void 0,n).update(t,r)}_setStyle(t,n,r,i){t.active=i;const o=this.getStyle(n,i);this._resolveAnimations(n,r,i).update(t,{options:!i&&this.getSharedOptions(o)||o})}removeHoverStyle(t,n,r){this._setStyle(t,r,"active",!1)}setHoverStyle(t,n,r){this._setStyle(t,r,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const n=this._data,r=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const i=r.length,o=n.length,s=Math.min(o,i);s&&this.parse(0,s),o>i?this._insertElements(i,o-i,t):o<i&&this._removeElements(o,i-o)}_insertElements(t,n,r=!0){const i=this._cachedMeta,o=i.data,s=t+n;let a;const l=c=>{for(c.length+=n,a=c.length-1;a>=s;a--)c[a]=c[a-n]};for(l(o),a=t;a<s;++a)o[a]=new this.dataElementType;this._parsing&&l(i._parsed),this.parse(t,n),r&&this.updateElements(o,t,n,"reset")}updateElements(t,n,r,i){}_removeElements(t,n){const r=this._cachedMeta;if(this._parsing){const i=r._parsed.splice(t,n);r._stacked&&wi(r,i)}r.data.splice(t,n)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[n,r,i]=t;this[n](r,i)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,n){n&&this._sync(["_removeElements",t,n]);const r=arguments.length-2;r&&this._sync(["_insertElements",t,r])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}ut(Kn,"defaults",{}),ut(Kn,"datasetElementType",null),ut(Kn,"dataElementType",null);function Q2(e,t){if(!e._cache.$bar){const n=e.getMatchingVisibleMetas(t);let r=[];for(let i=0,o=n.length;i<o;i++)r=r.concat(n[i].controller.getAllParsedValues(e));e._cache.$bar=Hf(r.sort((i,o)=>i-o))}return e._cache.$bar}function F2(e){const t=e.iScale,n=Q2(t,e.type);let r=t._length,i,o,s,a;const l=()=>{s===32767||s===-32768||(mi(a)&&(r=Math.min(r,Math.abs(s-a)||r)),a=s)};for(i=0,o=n.length;i<o;++i)s=t.getPixelForValue(n[i]),l();for(a=void 0,i=0,o=t.ticks.length;i<o;++i)s=t.getPixelForTick(i),l();return r}function N2(e,t,n,r){const i=n.barThickness;let o,s;return Ct(i)?(o=t.min*n.categoryPercentage,s=n.barPercentage):(o=i*r,s=1),{chunk:o/r,ratio:s,start:t.pixels[e]-o/2}}function z2(e,t,n,r){const i=t.pixels,o=i[e];let s=e>0?i[e-1]:null,a=e<i.length-1?i[e+1]:null;const l=n.categoryPercentage;s===null&&(s=o-(a===null?t.end-t.start:a-o)),a===null&&(a=o+o-s);const c=o-(o-Math.min(s,a))/2*l;return{chunk:Math.abs(a-s)/2*l/r,ratio:n.barPercentage,start:c}}function H2(e,t,n,r){const i=n.parse(e[0],r),o=n.parse(e[1],r),s=Math.min(i,o),a=Math.max(i,o);let l=s,c=a;Math.abs(s)>Math.abs(a)&&(l=a,c=s),t[n.axis]=c,t._custom={barStart:l,barEnd:c,start:i,end:o,min:s,max:a}}function xh(e,t,n,r){return Ut(e)?H2(e,t,n,r):t[n.axis]=n.parse(e,r),t}function kh(e,t,n,r){const i=e.iScale,o=e.vScale,s=i.getLabels(),a=i===o,l=[];let c,u,d,A;for(c=n,u=n+r;c<u;++c)A=t[c],d={},d[i.axis]=a||i.parse(s[c],c),l.push(xh(A,d,o,c));return l}function El(e){return e&&e.barStart!==void 0&&e.barEnd!==void 0}function U2(e,t,n){return e!==0?Cn(e):(t.isHorizontal()?1:-1)*(t.min>=n?1:-1)}function j2(e){let t,n,r,i,o;return e.horizontal?(t=e.base>e.x,n="left",r="right"):(t=e.base<e.y,n="bottom",r="top"),t?(i="end",o="start"):(i="start",o="end"),{start:n,end:r,reverse:t,top:i,bottom:o}}function V2(e,t,n,r){let i=t.borderSkipped;const o={};if(!i){e.borderSkipped=o;return}if(i===!0){e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:s,end:a,reverse:l,top:c,bottom:u}=j2(e);i==="middle"&&n&&(e.enableBorderRadius=!0,(n._top||0)===r?i=c:(n._bottom||0)===r?i=u:(o[_h(u,s,a,l)]=!0,i=c)),o[_h(i,s,a,l)]=!0,e.borderSkipped=o}function _h(e,t,n,r){return r?(e=W2(e,t,n),e=Sh(e,n,t)):e=Sh(e,t,n),e}function W2(e,t,n){return e===t?n:e===n?t:e}function Sh(e,t,n){return e==="start"?t:e==="end"?n:e}function Y2(e,{inflateAmount:t},n){e.inflateAmount=t==="auto"?n===1?.33:0:t}class zo extends Kn{parsePrimitiveData(t,n,r,i){return kh(t,n,r,i)}parseArrayData(t,n,r,i){return kh(t,n,r,i)}parseObjectData(t,n,r,i){const{iScale:o,vScale:s}=t,{xAxisKey:a="x",yAxisKey:l="y"}=this._parsing,c=o.axis==="x"?a:l,u=s.axis==="x"?a:l,d=[];let A,f,h,p;for(A=r,f=r+i;A<f;++A)p=n[A],h={},h[o.axis]=o.parse(Sn(p,c),A),d.push(xh(Sn(p,u),h,s,A));return d}updateRangeFromParsed(t,n,r,i){super.updateRangeFromParsed(t,n,r,i);const o=r._custom;o&&n===this._cachedMeta.vScale&&(t.min=Math.min(t.min,o.min),t.max=Math.max(t.max,o.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const n=this._cachedMeta,{iScale:r,vScale:i}=n,o=this.getParsed(t),s=o._custom,a=El(s)?"["+s.start+", "+s.end+"]":""+i.getLabelForValue(o[i.axis]);return{label:""+r.getLabelForValue(o[r.axis]),value:a}}initialize(){this.enableOptionSharing=!0,super.initialize();const t=this._cachedMeta;t.stack=this.getDataset().stack}update(t){const n=this._cachedMeta;this.updateElements(n.data,0,n.data.length,t)}updateElements(t,n,r,i){const o=i==="reset",{index:s,_cachedMeta:{vScale:a}}=this,l=a.getBasePixel(),c=a.isHorizontal(),u=this._getRuler(),{sharedOptions:d,includeOptions:A}=this._getSharedOptions(n,i);for(let f=n;f<n+r;f++){const h=this.getParsed(f),p=o||Ct(h[a.axis])?{base:l,head:l}:this._calculateBarValuePixels(f),g=this._calculateBarIndexPixels(f,u),b=(h._stacks||{})[a.axis],w={horizontal:c,base:p.base,enableBorderRadius:!b||El(h._custom)||s===b._top||s===b._bottom,x:c?p.head:g.center,y:c?g.center:p.head,height:c?g.size:Math.abs(p.size),width:c?Math.abs(p.size):g.size};A&&(w.options=d||this.resolveDataElementOptions(f,t[f].active?"active":i));const y=w.options||t[f].options;V2(w,y,b,s),Y2(w,y,u.ratio),this.updateElement(t[f],f,w,i)}}_getStacks(t,n){const{iScale:r}=this._cachedMeta,i=r.getMatchingVisibleMetas(this._type).filter(u=>u.controller.options.grouped),o=r.options.stacked,s=[],a=this._cachedMeta.controller.getParsed(n),l=a&&a[r.axis],c=u=>{const d=u._parsed.find(f=>f[r.axis]===l),A=d&&d[u.vScale.axis];if(Ct(A)||isNaN(A))return!0};for(const u of i)if(!(n!==void 0&&c(u))&&((o===!1||s.indexOf(u.stack)===-1||o===void 0&&u.stack===void 0)&&s.push(u.stack),u.index===t))break;return s.length||s.push(void 0),s}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,n,r){const i=this._getStacks(t,r),o=n!==void 0?i.indexOf(n):-1;return o===-1?i.length-1:o}_getRuler(){const t=this.options,n=this._cachedMeta,r=n.iScale,i=[];let o,s;for(o=0,s=n.data.length;o<s;++o)i.push(r.getPixelForValue(this.getParsed(o)[r.axis],o));const a=t.barThickness;return{min:a||F2(n),pixels:i,start:r._startPixel,end:r._endPixel,stackCount:this._getStackCount(),scale:r,grouped:t.grouped,ratio:a?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:n,_stacked:r,index:i},options:{base:o,minBarLength:s}}=this,a=o||0,l=this.getParsed(t),c=l._custom,u=El(c);let d=l[n.axis],A=0,f=r?this.applyStack(n,l,r):d,h,p;f!==d&&(A=f-d,f=d),u&&(d=c.barStart,f=c.barEnd-c.barStart,d!==0&&Cn(d)!==Cn(c.barEnd)&&(A=0),A+=d);const g=!Ct(o)&&!u?o:A;let b=n.getPixelForValue(g);if(this.chart.getDataVisibility(t)?h=n.getPixelForValue(A+f):h=b,p=h-b,Math.abs(p)<s){p=U2(p,n,a)*s,d===a&&(b-=p/2);const w=n.getPixelForDecimal(0),y=n.getPixelForDecimal(1),v=Math.min(w,y),_=Math.max(w,y);b=Math.max(Math.min(b,_),v),h=b+p,r&&!u&&(l._stacks[n.axis]._visualValues[i]=n.getValueForPixel(h)-n.getValueForPixel(b))}if(b===n.getPixelForValue(a)){const w=Cn(p)*n.getLineWidthForValue(a)/2;b+=w,p-=w}return{size:p,base:b,head:h,center:h+p/2}}_calculateBarIndexPixels(t,n){const r=n.scale,i=this.options,o=i.skipNull,s=mt(i.maxBarThickness,1/0);let a,l;if(n.grouped){const c=o?this._getStackCount(t):n.stackCount,u=i.barThickness==="flex"?z2(t,n,i,c):N2(t,n,i,c),d=this._getStackIndex(this.index,this._cachedMeta.stack,o?t:void 0);a=u.start+u.chunk*d+u.chunk/2,l=Math.min(s,u.chunk*u.ratio)}else a=r.getPixelForValue(this.getParsed(t)[r.axis],t),l=Math.min(s,n.min*n.ratio);return{base:a-l/2,head:a+l/2,center:a,size:l}}draw(){const t=this._cachedMeta,n=t.vScale,r=t.data,i=r.length;let o=0;for(;o<i;++o)this.getParsed(o)[n.axis]!==null&&!r[o].hidden&&r[o].draw(this._ctx)}}ut(zo,"id","bar"),ut(zo,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),ut(zo,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}});function q2(e,t,n){let r=1,i=1,o=0,s=0;if(t<Ae){const a=e,l=a+t,c=Math.cos(a),u=Math.sin(a),d=Math.cos(l),A=Math.sin(l),f=(y,v,_)=>cl(y,a,l,!0)?1:Math.max(v,v*n,_,_*n),h=(y,v,_)=>cl(y,a,l,!0)?-1:Math.min(v,v*n,_,_*n),p=f(0,c,d),g=f(fe,u,A),b=h(jt,c,d),w=h(jt+fe,u,A);r=(p-b)/2,i=(g-w)/2,o=-(p+b)/2,s=-(g+w)/2}return{ratioX:r,ratioY:i,offsetX:o,offsetY:s}}class xi extends Kn{constructor(t,n){super(t,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,n){const r=this.getDataset().data,i=this._cachedMeta;if(this._parsing===!1)i._parsed=r;else{let o=l=>+r[l];if(pt(r[t])){const{key:l="value"}=this._parsing;o=c=>+Sn(r[c],l)}let s,a;for(s=t,a=t+n;s<a;++s)i._parsed[s]=o(s)}}_getRotation(){return Ke(this.options.rotation-90)}_getCircumference(){return Ke(this.options.circumference)}_getRotationExtents(){let t=Ae,n=-Ae;for(let r=0;r<this.chart.data.datasets.length;++r)if(this.chart.isDatasetVisible(r)&&this.chart.getDatasetMeta(r).type===this._type){const i=this.chart.getDatasetMeta(r).controller,o=i._getRotation(),s=i._getCircumference();t=Math.min(t,o),n=Math.max(n,o+s)}return{rotation:t,circumference:n-t}}update(t){const n=this.chart,{chartArea:r}=n,i=this._cachedMeta,o=i.data,s=this.getMaxBorderWidth()+this.getMaxOffset(o)+this.options.spacing,a=Math.max((Math.min(r.width,r.height)-s)/2,0),l=Math.min(x1(this.options.cutout,a),1),c=this._getRingWeight(this.index),{circumference:u,rotation:d}=this._getRotationExtents(),{ratioX:A,ratioY:f,offsetX:h,offsetY:p}=q2(d,u,l),g=(r.width-s)/A,b=(r.height-s)/f,w=Math.max(Math.min(g,b)/2,0),y=Tf(this.options.radius,w),v=Math.max(y*l,0),_=(y-v)/this._getVisibleDatasetWeightTotal();this.offsetX=h*y,this.offsetY=p*y,i.total=this.calculateTotal(),this.outerRadius=y-_*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-_*c,0),this.updateElements(o,0,o.length,t)}_circumference(t,n){const r=this.options,i=this._cachedMeta,o=this._getCircumference();return n&&r.animation.animateRotate||!this.chart.getDataVisibility(t)||i._parsed[t]===null||i.data[t].hidden?0:this.calculateCircumference(i._parsed[t]*o/Ae)}updateElements(t,n,r,i){const o=i==="reset",s=this.chart,a=s.chartArea,c=s.options.animation,u=(a.left+a.right)/2,d=(a.top+a.bottom)/2,A=o&&c.animateScale,f=A?0:this.innerRadius,h=A?0:this.outerRadius,{sharedOptions:p,includeOptions:g}=this._getSharedOptions(n,i);let b=this._getRotation(),w;for(w=0;w<n;++w)b+=this._circumference(w,o);for(w=n;w<n+r;++w){const y=this._circumference(w,o),v=t[w],_={x:u+this.offsetX,y:d+this.offsetY,startAngle:b,endAngle:b+y,circumference:y,outerRadius:h,innerRadius:f};g&&(_.options=p||this.resolveDataElementOptions(w,v.active?"active":i)),b+=y,this.updateElement(v,w,_,i)}}calculateTotal(){const t=this._cachedMeta,n=t.data;let r=0,i;for(i=0;i<n.length;i++){const o=t._parsed[i];o!==null&&!isNaN(o)&&this.chart.getDataVisibility(i)&&!n[i].hidden&&(r+=Math.abs(o))}return r}calculateCircumference(t){const n=this._cachedMeta.total;return n>0&&!isNaN(t)?Ae*(Math.abs(t)/n):0}getLabelAndValue(t){const n=this._cachedMeta,r=this.chart,i=r.data.labels||[],o=Oo(n._parsed[t],r.options.locale);return{label:i[t]||"",value:o}}getMaxBorderWidth(t){let n=0;const r=this.chart;let i,o,s,a,l;if(!t){for(i=0,o=r.data.datasets.length;i<o;++i)if(r.isDatasetVisible(i)){s=r.getDatasetMeta(i),t=s.data,a=s.controller;break}}if(!t)return 0;for(i=0,o=t.length;i<o;++i)l=a.resolveDataElementOptions(i),l.borderAlign!=="inner"&&(n=Math.max(n,l.borderWidth||0,l.hoverBorderWidth||0));return n}getMaxOffset(t){let n=0;for(let r=0,i=t.length;r<i;++r){const o=this.resolveDataElementOptions(r);n=Math.max(n,o.offset||0,o.hoverOffset||0)}return n}_getRingWeightOffset(t){let n=0;for(let r=0;r<t;++r)this.chart.isDatasetVisible(r)&&(n+=this._getRingWeight(r));return n}_getRingWeight(t){return Math.max(mt(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}ut(xi,"id","doughnut"),ut(xi,"defaults",{datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"}),ut(xi,"descriptors",{_scriptable:t=>t!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")}),ut(xi,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const n=t.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:r,color:i}}=t.legend.options;return n.labels.map((o,s)=>{const l=t.getDatasetMeta(0).controller.getStyle(s);return{text:o,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:i,lineWidth:l.borderWidth,pointStyle:r,hidden:!t.getDataVisibility(s),index:s}})}return[]}},onClick(t,n,r){r.chart.toggleDataVisibility(n.index),r.chart.update()}}}});class Ho extends Kn{constructor(t,n){super(t,n),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const n=this._cachedMeta,r=this.chart,i=r.data.labels||[],o=Oo(n._parsed[t].r,r.options.locale);return{label:i[t]||"",value:o}}parseObjectData(t,n,r,i){return f2.bind(this)(t,n,r,i)}update(t){const n=this._cachedMeta.data;this._updateRadius(),this.updateElements(n,0,n.length,t)}getMinMax(){const t=this._cachedMeta,n={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((r,i)=>{const o=this.getParsed(i).r;!isNaN(o)&&this.chart.getDataVisibility(i)&&(o<n.min&&(n.min=o),o>n.max&&(n.max=o))}),n}_updateRadius(){const t=this.chart,n=t.chartArea,r=t.options,i=Math.min(n.right-n.left,n.bottom-n.top),o=Math.max(i/2,0),s=Math.max(r.cutoutPercentage?o/100*r.cutoutPercentage:1,0),a=(o-s)/t.getVisibleDatasetCount();this.outerRadius=o-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(t,n,r,i){const o=i==="reset",s=this.chart,l=s.options.animation,c=this._cachedMeta.rScale,u=c.xCenter,d=c.yCenter,A=c.getIndexAngle(0)-.5*jt;let f=A,h;const p=360/this.countVisibleElements();for(h=0;h<n;++h)f+=this._computeAngle(h,i,p);for(h=n;h<n+r;h++){const g=t[h];let b=f,w=f+this._computeAngle(h,i,p),y=s.getDataVisibility(h)?c.getDistanceFromCenterForValue(this.getParsed(h).r):0;f=w,o&&(l.animateScale&&(y=0),l.animateRotate&&(b=w=A));const v={x:u,y:d,innerRadius:0,outerRadius:y,startAngle:b,endAngle:w,options:this.resolveDataElementOptions(h,g.active?"active":i)};this.updateElement(g,h,v,i)}}countVisibleElements(){const t=this._cachedMeta;let n=0;return t.data.forEach((r,i)=>{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&n++}),n}_computeAngle(t,n,r){return this.chart.getDataVisibility(t)?Ke(this.resolveDataElementOptions(t,n).angle||r):0}}ut(Ho,"id","polarArea"),ut(Ho,"defaults",{dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0}),ut(Ho,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const n=t.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:r,color:i}}=t.legend.options;return n.labels.map((o,s)=>{const l=t.getDatasetMeta(0).controller.getStyle(s);return{text:o,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:i,lineWidth:l.borderWidth,pointStyle:r,hidden:!t.getDataVisibility(s),index:s}})}return[]}},onClick(t,n,r){r.chart.toggleDataVisibility(n.index),r.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}});function Gn(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Cl{constructor(t){ut(this,"options");this.options=t||{}}static override(t){Object.assign(Cl.prototype,t)}init(){}formats(){return Gn()}parse(){return Gn()}format(){return Gn()}add(){return Gn()}diff(){return Gn()}startOf(){return Gn()}endOf(){return Gn()}}var K2={_date:Cl};function G2(e,t,n,r){const{controller:i,data:o,_sorted:s}=e,a=i._cachedMeta.iScale;if(a&&t===a.axis&&t!=="r"&&s&&o.length){const l=a._reversePixels?R1:dl;if(r){if(i._sharedOptions){const c=o[0],u=typeof c.getRange=="function"&&c.getRange(t);if(u){const d=l(o,t,n-u),A=l(o,t,n+u);return{lo:d.lo,hi:A.hi}}}}else return l(o,t,n)}return{lo:0,hi:o.length-1}}function ki(e,t,n,r,i){const o=e.getSortedVisibleDatasetMetas(),s=n[t];for(let a=0,l=o.length;a<l;++a){const{index:c,data:u}=o[a],{lo:d,hi:A}=G2(o[a],t,s,i);for(let f=d;f<=A;++f){const h=u[f];h.skip||r(h,c,f)}}}function X2(e){const t=e.indexOf("x")!==-1,n=e.indexOf("y")!==-1;return function(r,i){const o=t?Math.abs(r.x-i.x):0,s=n?Math.abs(r.y-i.y):0;return Math.sqrt(Math.pow(o,2)+Math.pow(s,2))}}function Pl(e,t,n,r,i){const o=[];return!i&&!e.isPointInArea(t)||ki(e,n,t,function(a,l,c){!i&&!eh(a,e.chartArea,0)||a.inRange(t.x,t.y,r)&&o.push({element:a,datasetIndex:l,index:c})},!0),o}function J2(e,t,n,r){let i=[];function o(s,a,l){const{startAngle:c,endAngle:u}=s.getProps(["startAngle","endAngle"],r),{angle:d}=M1(s,{x:t.x,y:t.y});cl(d,c,u)&&i.push({element:s,datasetIndex:a,index:l})}return ki(e,n,t,o),i}function Z2(e,t,n,r,i,o){let s=[];const a=X2(n);let l=Number.POSITIVE_INFINITY;function c(u,d,A){const f=u.inRange(t.x,t.y,i);if(r&&!f)return;const h=u.getCenterPoint(i);if(!(!!o||e.isPointInArea(h))&&!f)return;const g=a(t,h);g<l?(s=[{element:u,datasetIndex:d,index:A}],l=g):g===l&&s.push({element:u,datasetIndex:d,index:A})}return ki(e,n,t,c),s}function Dl(e,t,n,r,i,o){return!o&&!e.isPointInArea(t)?[]:n==="r"&&!r?J2(e,t,n,i):Z2(e,t,n,r,i,o)}function Eh(e,t,n,r,i){const o=[],s=n==="x"?"inXRange":"inYRange";let a=!1;return ki(e,n,t,(l,c,u)=>{l[s]&&l[s](t[n],i)&&(o.push({element:l,datasetIndex:c,index:u}),a=a||l.inRange(t.x,t.y,i))}),r&&!a?[]:o}var $2={evaluateInteractionItems:ki,modes:{index(e,t,n,r){const i=qn(t,e),o=n.axis||"x",s=n.includeInvisible||!1,a=n.intersect?Pl(e,i,o,r,s):Dl(e,i,o,!1,r,s),l=[];return a.length?(e.getSortedVisibleDatasetMetas().forEach(c=>{const u=a[0].index,d=c.data[u];d&&!d.skip&&l.push({element:d,datasetIndex:c.index,index:u})}),l):[]},dataset(e,t,n,r){const i=qn(t,e),o=n.axis||"xy",s=n.includeInvisible||!1;let a=n.intersect?Pl(e,i,o,r,s):Dl(e,i,o,!1,r,s);if(a.length>0){const l=a[0].datasetIndex,c=e.getDatasetMeta(l).data;a=[];for(let u=0;u<c.length;++u)a.push({element:c[u],datasetIndex:l,index:u})}return a},point(e,t,n,r){const i=qn(t,e),o=n.axis||"xy",s=n.includeInvisible||!1;return Pl(e,i,o,r,s)},nearest(e,t,n,r){const i=qn(t,e),o=n.axis||"xy",s=n.includeInvisible||!1;return Dl(e,i,o,n.intersect,r,s)},x(e,t,n,r){const i=qn(t,e);return Eh(e,i,"x",n.intersect,r)},y(e,t,n,r){const i=qn(t,e);return Eh(e,i,"y",n.intersect,r)}}};const Ch=["left","top","right","bottom"];function _i(e,t){return e.filter(n=>n.pos===t)}function Ph(e,t){return e.filter(n=>Ch.indexOf(n.pos)===-1&&n.box.axis===t)}function Si(e,t){return e.sort((n,r)=>{const i=t?r:n,o=t?n:r;return i.weight===o.weight?i.index-o.index:i.weight-o.weight})}function tk(e){const t=[];let n,r,i,o,s,a;for(n=0,r=(e||[]).length;n<r;++n)i=e[n],{position:o,options:{stack:s,stackWeight:a=1}}=i,t.push({index:n,box:i,pos:o,horizontal:i.isHorizontal(),weight:i.weight,stack:s&&o+s,stackWeight:a});return t}function ek(e){const t={};for(const n of e){const{stack:r,pos:i,stackWeight:o}=n;if(!r||!Ch.includes(i))continue;const s=t[r]||(t[r]={count:0,placed:0,weight:0,size:0});s.count++,s.weight+=o}return t}function nk(e,t){const n=ek(e),{vBoxMaxWidth:r,hBoxMaxHeight:i}=t;let o,s,a;for(o=0,s=e.length;o<s;++o){a=e[o];const{fullSize:l}=a.box,c=n[a.stack],u=c&&a.stackWeight/c.weight;a.horizontal?(a.width=u?u*r:l&&t.availableWidth,a.height=i):(a.width=r,a.height=u?u*i:l&&t.availableHeight)}return n}function rk(e){const t=tk(e),n=Si(t.filter(c=>c.box.fullSize),!0),r=Si(_i(t,"left"),!0),i=Si(_i(t,"right")),o=Si(_i(t,"top"),!0),s=Si(_i(t,"bottom")),a=Ph(t,"x"),l=Ph(t,"y");return{fullSize:n,leftAndTop:r.concat(o),rightAndBottom:i.concat(l).concat(s).concat(a),chartArea:_i(t,"chartArea"),vertical:r.concat(i).concat(l),horizontal:o.concat(s).concat(a)}}function Dh(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function Bh(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function ik(e,t,n,r){const{pos:i,box:o}=n,s=e.maxPadding;if(!pt(i)){n.size&&(e[i]-=n.size);const d=r[n.stack]||{size:0,count:1};d.size=Math.max(d.size,n.horizontal?o.height:o.width),n.size=d.size/d.count,e[i]+=n.size}o.getPadding&&Bh(s,o.getPadding());const a=Math.max(0,t.outerWidth-Dh(s,e,"left","right")),l=Math.max(0,t.outerHeight-Dh(s,e,"top","bottom")),c=a!==e.w,u=l!==e.h;return e.w=a,e.h=l,n.horizontal?{same:c,other:u}:{same:u,other:c}}function ok(e){const t=e.maxPadding;function n(r){const i=Math.max(t[r]-e[r],0);return e[r]+=i,i}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}function sk(e,t){const n=t.maxPadding;function r(i){const o={left:0,top:0,right:0,bottom:0};return i.forEach(s=>{o[s]=Math.max(t[s],n[s])}),o}return r(e?["left","right"]:["top","bottom"])}function Ei(e,t,n,r){const i=[];let o,s,a,l,c,u;for(o=0,s=e.length,c=0;o<s;++o){a=e[o],l=a.box,l.update(a.width||t.w,a.height||t.h,sk(a.horizontal,t));const{same:d,other:A}=ik(t,n,a,r);c|=d&&i.length,u=u||A,l.fullSize||i.push(a)}return c&&Ei(i,t,n,r)||u}function Uo(e,t,n,r,i){e.top=n,e.left=t,e.right=t+r,e.bottom=n+i,e.width=r,e.height=i}function Ih(e,t,n,r){const i=n.padding;let{x:o,y:s}=t;for(const a of e){const l=a.box,c=r[a.stack]||{count:1,placed:0,weight:1},u=a.stackWeight/c.weight||1;if(a.horizontal){const d=t.w*u,A=c.size||l.height;mi(c.start)&&(s=c.start),l.fullSize?Uo(l,i.left,s,n.outerWidth-i.right-i.left,A):Uo(l,t.left+c.placed,s,d,A),c.start=s,c.placed+=d,s=l.bottom}else{const d=t.h*u,A=c.size||l.width;mi(c.start)&&(o=c.start),l.fullSize?Uo(l,o,i.top,A,n.outerHeight-i.bottom-i.top):Uo(l,o,t.top+c.placed,A,d),c.start=o,c.placed+=d,o=l.right}}t.x=o,t.y=s}var Ee={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(n){t.draw(n)}}]},e.boxes.push(t)},removeBox(e,t){const n=e.boxes?e.boxes.indexOf(t):-1;n!==-1&&e.boxes.splice(n,1)},configure(e,t,n){t.fullSize=n.fullSize,t.position=n.position,t.weight=n.weight},update(e,t,n,r){if(!e)return;const i=Se(e.options.layout.padding),o=Math.max(t-i.width,0),s=Math.max(n-i.height,0),a=rk(e.boxes),l=a.vertical,c=a.horizontal;bt(e.boxes,p=>{typeof p.beforeLayout=="function"&&p.beforeLayout()});const u=l.reduce((p,g)=>g.box.options&&g.box.options.display===!1?p:p+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:i,availableWidth:o,availableHeight:s,vBoxMaxWidth:o/2/u,hBoxMaxHeight:s/2}),A=Object.assign({},i);Bh(A,Se(r));const f=Object.assign({maxPadding:A,w:o,h:s,x:i.left,y:i.top},i),h=nk(l.concat(c),d);Ei(a.fullSize,f,d,h),Ei(l,f,d,h),Ei(c,f,d,h)&&Ei(l,f,d,h),ok(f),Ih(a.leftAndTop,f,d,h),f.x+=f.w,f.y+=f.h,Ih(a.rightAndBottom,f,d,h),e.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},bt(a.chartArea,p=>{const g=p.box;Object.assign(g,e.chartArea),g.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})})}};class Th{acquireContext(t,n){}releaseContext(t){return!1}addEventListener(t,n,r){}removeEventListener(t,n,r){}getDevicePixelRatio(){return 1}getMaximumSize(t,n,r,i){return n=Math.max(0,n||t.width),r=r||t.height,{width:n,height:Math.max(0,i?Math.floor(n/i):r)}}isAttached(t){return!0}updateConfig(t){}}class ak extends Th{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const jo="$chartjs",lk={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Mh=e=>e===null||e==="";function ck(e,t){const n=e.style,r=e.getAttribute("height"),i=e.getAttribute("width");if(e[jo]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",Mh(i)){const o=dh(e,"width");o!==void 0&&(e.width=o)}if(Mh(r))if(e.style.height==="")e.height=e.width/(t||2);else{const o=dh(e,"height");o!==void 0&&(e.height=o)}return e}const Oh=y2?{passive:!0}:!1;function uk(e,t,n){e&&e.addEventListener(t,n,Oh)}function dk(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,Oh)}function Ak(e,t){const n=lk[e.type]||e.type,{x:r,y:i}=qn(e,t);return{type:n,chart:t,native:e,x:r!==void 0?r:null,y:i!==void 0?i:null}}function Vo(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function fk(e,t,n){const r=e.canvas,i=new MutationObserver(o=>{let s=!1;for(const a of o)s=s||Vo(a.addedNodes,r),s=s&&!Vo(a.removedNodes,r);s&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function hk(e,t,n){const r=e.canvas,i=new MutationObserver(o=>{let s=!1;for(const a of o)s=s||Vo(a.removedNodes,r),s=s&&!Vo(a.addedNodes,r);s&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}const Ci=new Map;let Lh=0;function Rh(){const e=window.devicePixelRatio;e!==Lh&&(Lh=e,Ci.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function pk(e,t){Ci.size||window.addEventListener("resize",Rh),Ci.set(e,t)}function gk(e){Ci.delete(e),Ci.size||window.removeEventListener("resize",Rh)}function mk(e,t,n){const r=e.canvas,i=r&&xl(r);if(!i)return;const o=jf((a,l)=>{const c=i.clientWidth;n(a,l),c<i.clientWidth&&n()},window),s=new ResizeObserver(a=>{const l=a[0],c=l.contentRect.width,u=l.contentRect.height;c===0&&u===0||o(c,u)});return s.observe(i),pk(e,o),s}function Bl(e,t,n){n&&n.disconnect(),t==="resize"&&gk(e)}function bk(e,t,n){const r=e.canvas,i=jf(o=>{e.ctx!==null&&n(Ak(o,e))},e);return uk(r,t,i),i}class vk extends Th{acquireContext(t,n){const r=t&&t.getContext&&t.getContext("2d");return r&&r.canvas===t?(ck(t,n),r):null}releaseContext(t){const n=t.canvas;if(!n[jo])return!1;const r=n[jo].initial;["height","width"].forEach(o=>{const s=r[o];Ct(s)?n.removeAttribute(o):n.setAttribute(o,s)});const i=r.style||{};return Object.keys(i).forEach(o=>{n.style[o]=i[o]}),n.width=n.width,delete n[jo],!0}addEventListener(t,n,r){this.removeEventListener(t,n);const i=t.$proxies||(t.$proxies={}),s={attach:fk,detach:hk,resize:mk}[n]||bk;i[n]=s(t,n,r)}removeEventListener(t,n){const r=t.$proxies||(t.$proxies={}),i=r[n];if(!i)return;({attach:Bl,detach:Bl,resize:Bl}[n]||dk)(t,n,i),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,n,r,i){return v2(t,n,r,i)}isAttached(t){const n=t&&xl(t);return!!(n&&n.isConnected)}}function yk(e){return!wl()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?ak:vk}let Pr=(is=class{constructor(){ut(this,"x");ut(this,"y");ut(this,"active",!1);ut(this,"options");ut(this,"$animations")}tooltipPosition(t){const{x:n,y:r}=this.getProps(["x","y"],t);return{x:n,y:r}}hasValue(){return To(this.x)&&To(this.y)}getProps(t,n){const r=this.$animations;if(!n||!r)return this;const i={};return t.forEach(o=>{i[o]=r[o]&&r[o].active()?r[o]._to:this[o]}),i}},ut(is,"defaults",{}),ut(is,"defaultRoutes"),is);function wk(e,t){const n=e.options.ticks,r=xk(e),i=Math.min(n.maxTicksLimit||r,r),o=n.major.enabled?_k(t):[],s=o.length,a=o[0],l=o[s-1],c=[];if(s>i)return Sk(t,c,o,s/i),c;const u=kk(o,t,i);if(s>0){let d,A;const f=s>1?Math.round((l-a)/(s-1)):null;for(Wo(t,c,u,Ct(f)?0:a-f,a),d=0,A=s-1;d<A;d++)Wo(t,c,u,o[d],o[d+1]);return Wo(t,c,u,l,Ct(f)?t.length:l+f),c}return Wo(t,c,u),c}function xk(e){const t=e.options.offset,n=e._tickSize(),r=e._length/n+(t?0:1),i=e._maxLength/n;return Math.floor(Math.min(r,i))}function kk(e,t,n){const r=Ek(e),i=t.length/n;if(!r)return Math.max(i,1);const o=D1(r);for(let s=0,a=o.length-1;s<a;s++){const l=o[s];if(l>i)return l}return Math.max(i,1)}function _k(e){const t=[];let n,r;for(n=0,r=e.length;n<r;n++)e[n].major&&t.push(n);return t}function Sk(e,t,n,r){let i=0,o=n[0],s;for(r=Math.ceil(r),s=0;s<e.length;s++)s===o&&(t.push(e[s]),i++,o=n[i*r])}function Wo(e,t,n,r,i){const o=mt(r,0),s=Math.min(mt(i,e.length),e.length);let a=0,l,c,u;for(n=Math.ceil(n),i&&(l=i-r,n=l/Math.floor(l/n)),u=o;u<0;)a++,u=Math.round(o+a*n);for(c=Math.max(o,0);c<s;c++)c===u&&(t.push(e[c]),a++,u=Math.round(o+a*n))}function Ek(e){const t=e.length;let n,r;if(t<2)return!1;for(r=e[0],n=1;n<t;++n)if(e[n]-e[n-1]!==r)return!1;return r}const Ck=e=>e==="left"?"right":e==="right"?"left":e,Qh=(e,t,n)=>t==="top"||t==="left"?e[t]+n:e[t]-n,Fh=(e,t)=>Math.min(t||e,e);function Nh(e,t){const n=[],r=e.length/t,i=e.length;let o=0;for(;o<i;o+=r)n.push(e[Math.floor(o)]);return n}function Pk(e,t,n){const r=e.ticks.length,i=Math.min(t,r-1),o=e._startPixel,s=e._endPixel,a=1e-6;let l=e.getPixelForTick(i),c;if(!(n&&(r===1?c=Math.max(l-o,s-l):t===0?c=(e.getPixelForTick(1)-l)/2:c=(l-e.getPixelForTick(i-1))/2,l+=i<t?c:-c,l<o-a||l>s+a)))return l}function Dk(e,t){bt(e,n=>{const r=n.gc,i=r.length/2;let o;if(i>t){for(o=0;o<i;++o)delete n.data[r[o]];r.splice(0,i)}})}function Pi(e){return e.drawTicks?e.tickLength:0}function zh(e,t){if(!e.display)return 0;const n=Xt(e.font,t),r=Se(e.padding);return(Ut(e.text)?e.text.length:1)*n.lineHeight+r.height}function Bk(e,t){return Sr(e,{scale:t,type:"scale"})}function Ik(e,t,n){return Sr(e,{tick:n,index:t,type:"tick"})}function Tk(e,t,n){let r=Al(e);return(n&&t!=="right"||!n&&t==="right")&&(r=Ck(r)),r}function Mk(e,t,n,r){const{top:i,left:o,bottom:s,right:a,chart:l}=e,{chartArea:c,scales:u}=l;let d=0,A,f,h;const p=s-i,g=a-o;if(e.isHorizontal()){if(f=Gt(r,o,a),pt(n)){const b=Object.keys(n)[0],w=n[b];h=u[b].getPixelForValue(w)+p-t}else n==="center"?h=(c.bottom+c.top)/2+p-t:h=Qh(e,n,t);A=a-o}else{if(pt(n)){const b=Object.keys(n)[0],w=n[b];f=u[b].getPixelForValue(w)-g+t}else n==="center"?f=(c.left+c.right)/2-g+t:f=Qh(e,n,t);h=Gt(r,s,i),d=n==="left"?-fe:fe}return{titleX:f,titleY:h,maxWidth:A,rotation:d}}class Dr extends Pr{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,n){return t}getUserBounds(){let{_userMin:t,_userMax:n,_suggestedMin:r,_suggestedMax:i}=this;return t=qe(t,Number.POSITIVE_INFINITY),n=qe(n,Number.NEGATIVE_INFINITY),r=qe(r,Number.POSITIVE_INFINITY),i=qe(i,Number.NEGATIVE_INFINITY),{min:qe(t,r),max:qe(n,i),minDefined:_e(t),maxDefined:_e(n)}}getMinMax(t){let{min:n,max:r,minDefined:i,maxDefined:o}=this.getUserBounds(),s;if(i&&o)return{min:n,max:r};const a=this.getMatchingVisibleMetas();for(let l=0,c=a.length;l<c;++l)s=a[l].controller.getMinMax(this,t),i||(n=Math.min(n,s.min)),o||(r=Math.max(r,s.max));return n=o&&n>r?r:n,r=i&&n>r?n:r,{min:qe(n,qe(r,n)),max:qe(r,qe(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Pt(this.options.beforeUpdate,[this])}update(t,n,r){const{beginAtZero:i,grace:o,ticks:s}=this.options,a=s.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=n,this._margins=r=Object.assign({left:0,right:0,top:0,bottom:0},r),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+r.left+r.right:this.height+r.top+r.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=r2(this,o,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a<this.ticks.length;this._convertTicksToLabels(l?Nh(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),s.display&&(s.autoSkip||s.source==="auto")&&(this.ticks=wk(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),l&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t=this.options.reverse,n,r;this.isHorizontal()?(n=this.left,r=this.right):(n=this.top,r=this.bottom,t=!t),this._startPixel=n,this._endPixel=r,this._reversePixels=t,this._length=r-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){Pt(this.options.afterUpdate,[this])}beforeSetDimensions(){Pt(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){Pt(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),Pt(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Pt(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const n=this.options.ticks;let r,i,o;for(r=0,i=t.length;r<i;r++)o=t[r],o.label=Pt(n.callback,[o.value,r,t],this)}afterTickToLabelConversion(){Pt(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Pt(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,n=t.ticks,r=Fh(this.ticks.length,t.ticks.maxTicksLimit),i=n.minRotation||0,o=n.maxRotation;let s=i,a,l,c;if(!this._isVisible()||!n.display||i>=o||r<=1||!this.isHorizontal()){this.labelRotation=i;return}const u=this._getLabelSizes(),d=u.widest.width,A=u.highest.height,f=Oe(this.chart.width-d,0,this.maxWidth);a=t.offset?this.maxWidth/r:f/(r-1),d+6>a&&(a=f/(r-(t.offset?.5:1)),l=this.maxHeight-Pi(t.grid)-n.padding-zh(t.title,this.chart.options.font),c=Math.sqrt(d*d+A*A),s=T1(Math.min(Math.asin(Oe((u.highest.height+6)/a,-1,1)),Math.asin(Oe(l/c,-1,1))-Math.asin(Oe(A/c,-1,1)))),s=Math.max(i,Math.min(o,s))),this.labelRotation=s}afterCalculateLabelRotation(){Pt(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Pt(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:n,options:{ticks:r,title:i,grid:o}}=this,s=this._isVisible(),a=this.isHorizontal();if(s){const l=zh(i,n.options.font);if(a?(t.width=this.maxWidth,t.height=Pi(o)+l):(t.height=this.maxHeight,t.width=Pi(o)+l),r.display&&this.ticks.length){const{first:c,last:u,widest:d,highest:A}=this._getLabelSizes(),f=r.padding*2,h=Ke(this.labelRotation),p=Math.cos(h),g=Math.sin(h);if(a){const b=r.mirror?0:g*d.width+p*A.height;t.height=Math.min(this.maxHeight,t.height+b+f)}else{const b=r.mirror?0:p*d.width+g*A.height;t.width=Math.min(this.maxWidth,t.width+b+f)}this._calculatePadding(c,u,g,p)}}this._handleMargins(),a?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,n,r,i){const{ticks:{align:o,padding:s},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let A=0,f=0;l?c?(A=i*t.width,f=r*n.height):(A=r*t.height,f=i*n.width):o==="start"?f=n.width:o==="end"?A=t.width:o!=="inner"&&(A=t.width/2,f=n.width/2),this.paddingLeft=Math.max((A-u+s)*this.width/(this.width-u),0),this.paddingRight=Math.max((f-d+s)*this.width/(this.width-d),0)}else{let u=n.height/2,d=t.height/2;o==="start"?(u=0,d=t.height):o==="end"&&(u=n.height,d=0),this.paddingTop=u+s,this.paddingBottom=d+s}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Pt(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:n}=this.options;return n==="top"||n==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let n,r;for(n=0,r=t.length;n<r;n++)Ct(t[n].label)&&(t.splice(n,1),r--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const n=this.options.ticks.sampleSize;let r=this.ticks;n<r.length&&(r=Nh(r,n)),this._labelSizes=t=this._computeLabelSizes(r,r.length,this.options.ticks.maxTicksLimit)}return t}_computeLabelSizes(t,n,r){const{ctx:i,_longestTextCache:o}=this,s=[],a=[],l=Math.floor(n/Fh(n,r));let c=0,u=0,d,A,f,h,p,g,b,w,y,v,_;for(d=0;d<n;d+=l){if(h=t[d].label,p=this._resolveTickFontOptions(d),i.font=g=p.string,b=o[g]=o[g]||{data:{},gc:[]},w=p.lineHeight,y=v=0,!Ct(h)&&!Ut(h))y=Jf(i,b.data,b.gc,y,h),v=w;else if(Ut(h))for(A=0,f=h.length;A<f;++A)_=h[A],!Ct(_)&&!Ut(_)&&(y=Jf(i,b.data,b.gc,y,_),v+=w);s.push(y),a.push(v),c=Math.max(y,c),u=Math.max(v,u)}Dk(o,n);const k=s.indexOf(c),P=a.indexOf(u),D=C=>({width:s[C]||0,height:a[C]||0});return{first:D(0),last:D(n-1),widest:D(k),highest:D(P),widths:s,heights:a}}getLabelForValue(t){return t}getPixelForValue(t,n){return NaN}getValueForPixel(t){}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const n=this._startPixel+t*this._length;return L1(this._alignToPixels?Wn(this.chart,n,0):n)}getDecimalForPixel(t){const n=(t-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:n}=this;return t<0&&n<0?n:t>0&&n>0?t:0}getContext(t){const n=this.ticks||[];if(t>=0&&t<n.length){const r=n[t];return r.$context||(r.$context=Ik(this.getContext(),t,r))}return this.$context||(this.$context=Bk(this.chart.getContext(),this))}_tickSize(){const t=this.options.ticks,n=Ke(this.labelRotation),r=Math.abs(Math.cos(n)),i=Math.abs(Math.sin(n)),o=this._getLabelSizes(),s=t.autoSkipPadding||0,a=o?o.widest.width+s:0,l=o?o.highest.height+s:0;return this.isHorizontal()?l*r>a*i?a/r:l/i:l*i<a*r?l/r:a/i}_isVisible(){const t=this.options.display;return t!=="auto"?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const n=this.axis,r=this.chart,i=this.options,{grid:o,position:s,border:a}=i,l=o.offset,c=this.isHorizontal(),d=this.ticks.length+(l?1:0),A=Pi(o),f=[],h=a.setContext(this.getContext()),p=h.display?h.width:0,g=p/2,b=function(O){return Wn(r,O,p)};let w,y,v,_,k,P,D,C,E,I,B,T;if(s==="top")w=b(this.bottom),P=this.bottom-A,C=w-g,I=b(t.top)+g,T=t.bottom;else if(s==="bottom")w=b(this.top),I=t.top,T=b(t.bottom)-g,P=w+g,C=this.top+A;else if(s==="left")w=b(this.right),k=this.right-A,D=w-g,E=b(t.left)+g,B=t.right;else if(s==="right")w=b(this.left),E=t.left,B=b(t.right)-g,k=w+g,D=this.left+A;else if(n==="x"){if(s==="center")w=b((t.top+t.bottom)/2+.5);else if(pt(s)){const O=Object.keys(s)[0],N=s[O];w=b(this.chart.scales[O].getPixelForValue(N))}I=t.top,T=t.bottom,P=w+g,C=P+A}else if(n==="y"){if(s==="center")w=b((t.left+t.right)/2);else if(pt(s)){const O=Object.keys(s)[0],N=s[O];w=b(this.chart.scales[O].getPixelForValue(N))}k=w-g,D=k-A,E=t.left,B=t.right}const R=mt(i.ticks.maxTicksLimit,d),Q=Math.max(1,Math.ceil(d/R));for(y=0;y<d;y+=Q){const O=this.getContext(y),N=o.setContext(O),F=a.setContext(O),x=N.lineWidth,U=N.color,S=F.dash||[],j=F.dashOffset,q=N.tickWidth,K=N.tickColor,$=N.tickBorderDash||[],dt=N.tickBorderDashOffset;v=Pk(this,y,l),v!==void 0&&(_=Wn(r,v,x),c?k=D=E=B=_:P=C=I=T=_,f.push({tx1:k,ty1:P,tx2:D,ty2:C,x1:E,y1:I,x2:B,y2:T,width:x,color:U,borderDash:S,borderDashOffset:j,tickWidth:q,tickColor:K,tickBorderDash:$,tickBorderDashOffset:dt}))}return this._ticksLength=d,this._borderValue=w,f}_computeLabelItems(t){const n=this.axis,r=this.options,{position:i,ticks:o}=r,s=this.isHorizontal(),a=this.ticks,{align:l,crossAlign:c,padding:u,mirror:d}=o,A=Pi(r.grid),f=A+u,h=d?-u:f,p=-Ke(this.labelRotation),g=[];let b,w,y,v,_,k,P,D,C,E,I,B,T="middle";if(i==="top")k=this.bottom-h,P=this._getXAxisLabelAlignment();else if(i==="bottom")k=this.top+h,P=this._getXAxisLabelAlignment();else if(i==="left"){const Q=this._getYAxisLabelAlignment(A);P=Q.textAlign,_=Q.x}else if(i==="right"){const Q=this._getYAxisLabelAlignment(A);P=Q.textAlign,_=Q.x}else if(n==="x"){if(i==="center")k=(t.top+t.bottom)/2+f;else if(pt(i)){const Q=Object.keys(i)[0],O=i[Q];k=this.chart.scales[Q].getPixelForValue(O)+f}P=this._getXAxisLabelAlignment()}else if(n==="y"){if(i==="center")_=(t.left+t.right)/2-f;else if(pt(i)){const Q=Object.keys(i)[0],O=i[Q];_=this.chart.scales[Q].getPixelForValue(O)}P=this._getYAxisLabelAlignment(A).textAlign}n==="y"&&(l==="start"?T="top":l==="end"&&(T="bottom"));const R=this._getLabelSizes();for(b=0,w=a.length;b<w;++b){y=a[b],v=y.label;const Q=o.setContext(this.getContext(b));D=this.getPixelForTick(b)+o.labelOffset,C=this._resolveTickFontOptions(b),E=C.lineHeight,I=Ut(v)?v.length:1;const O=I/2,N=Q.color,F=Q.textStrokeColor,x=Q.textStrokeWidth;let U=P;s?(_=D,P==="inner"&&(b===w-1?U=this.options.reverse?"left":"right":b===0?U=this.options.reverse?"right":"left":U="center"),i==="top"?c==="near"||p!==0?B=-I*E+E/2:c==="center"?B=-R.highest.height/2-O*E+E:B=-R.highest.height+E/2:c==="near"||p!==0?B=E/2:c==="center"?B=R.highest.height/2-O*E:B=R.highest.height-I*E,d&&(B*=-1),p!==0&&!Q.showLabelBackdrop&&(_+=E/2*Math.sin(p))):(k=D,B=(1-I)*E/2);let S;if(Q.showLabelBackdrop){const j=Se(Q.backdropPadding),q=R.heights[b],K=R.widths[b];let $=B-j.top,dt=0-j.left;switch(T){case"middle":$-=q/2;break;case"bottom":$-=q;break}switch(P){case"center":dt-=K/2;break;case"right":dt-=K;break;case"inner":b===w-1?dt-=K:b>0&&(dt-=K/2);break}S={left:dt,top:$,width:K+j.width,height:q+j.height,color:Q.backdropColor}}g.push({label:v,font:C,textOffset:B,options:{rotation:p,color:N,strokeColor:F,strokeWidth:x,textAlign:U,textBaseline:T,translation:[_,k],backdrop:S}})}return g}_getXAxisLabelAlignment(){const{position:t,ticks:n}=this.options;if(-Ke(this.labelRotation))return t==="top"?"left":"right";let i="center";return n.align==="start"?i="left":n.align==="end"?i="right":n.align==="inner"&&(i="inner"),i}_getYAxisLabelAlignment(t){const{position:n,ticks:{crossAlign:r,mirror:i,padding:o}}=this.options,s=this._getLabelSizes(),a=t+o,l=s.widest.width;let c,u;return n==="left"?i?(u=this.right+o,r==="near"?c="left":r==="center"?(c="center",u+=l/2):(c="right",u+=l)):(u=this.right-a,r==="near"?c="right":r==="center"?(c="center",u-=l/2):(c="left",u=this.left)):n==="right"?i?(u=this.left+o,r==="near"?c="right":r==="center"?(c="center",u-=l/2):(c="left",u-=l)):(u=this.left+a,r==="near"?c="left":r==="center"?(c="center",u+=l/2):(c="right",u=this.right)):c="right",{textAlign:c,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){const{ctx:t,options:{backgroundColor:n},left:r,top:i,width:o,height:s}=this;n&&(t.save(),t.fillStyle=n,t.fillRect(r,i,o,s),t.restore())}getLineWidthForValue(t){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const i=this.ticks.findIndex(o=>o.value===t);return i>=0?n.setContext(this.getContext(i)).lineWidth:0}drawGrid(t){const n=this.options.grid,r=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let o,s;const a=(l,c,u)=>{!u.width||!u.color||(r.save(),r.lineWidth=u.width,r.strokeStyle=u.color,r.setLineDash(u.borderDash||[]),r.lineDashOffset=u.borderDashOffset,r.beginPath(),r.moveTo(l.x,l.y),r.lineTo(c.x,c.y),r.stroke(),r.restore())};if(n.display)for(o=0,s=i.length;o<s;++o){const l=i[o];n.drawOnChartArea&&a({x:l.x1,y:l.y1},{x:l.x2,y:l.y2},l),n.drawTicks&&a({x:l.tx1,y:l.ty1},{x:l.tx2,y:l.ty2},{color:l.tickColor,width:l.tickWidth,borderDash:l.tickBorderDash,borderDashOffset:l.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:n,options:{border:r,grid:i}}=this,o=r.setContext(this.getContext()),s=r.display?o.width:0;if(!s)return;const a=i.setContext(this.getContext(0)).lineWidth,l=this._borderValue;let c,u,d,A;this.isHorizontal()?(c=Wn(t,this.left,s)-s/2,u=Wn(t,this.right,a)+a/2,d=A=l):(d=Wn(t,this.top,s)-s/2,A=Wn(t,this.bottom,a)+a/2,c=u=l),n.save(),n.lineWidth=o.width,n.strokeStyle=o.color,n.beginPath(),n.moveTo(c,d),n.lineTo(u,A),n.stroke(),n.restore()}drawLabels(t){if(!this.options.ticks.display)return;const r=this.ctx,i=this._computeLabelArea();i&&gl(r,i);const o=this.getLabelItems(t);for(const s of o){const a=s.options,l=s.font,c=s.label,u=s.textOffset;yi(r,c,0,u,l,a)}i&&ml(r)}drawTitle(){const{ctx:t,options:{position:n,title:r,reverse:i}}=this;if(!r.display)return;const o=Xt(r.font),s=Se(r.padding),a=r.align;let l=o.lineHeight/2;n==="bottom"||n==="center"||pt(n)?(l+=s.bottom,Ut(r.text)&&(l+=o.lineHeight*(r.text.length-1))):l+=s.top;const{titleX:c,titleY:u,maxWidth:d,rotation:A}=Mk(this,l,n,a);yi(t,r.text,0,0,o,{color:r.color,maxWidth:d,rotation:A,textAlign:Tk(a,n,i),textBaseline:"middle",translation:[c,u]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,n=t.ticks&&t.ticks.z||0,r=mt(t.grid&&t.grid.z,-1),i=mt(t.border&&t.border.z,0);return!this._isVisible()||this.draw!==Dr.prototype.draw?[{z:n,draw:o=>{this.draw(o)}}]:[{z:r,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:n,draw:o=>{this.drawLabels(o)}}]}getMatchingVisibleMetas(t){const n=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",i=[];let o,s;for(o=0,s=n.length;o<s;++o){const a=n[o];a[r]===this.id&&(!t||a.type===t)&&i.push(a)}return i}_resolveTickFontOptions(t){const n=this.options.ticks.setContext(this.getContext(t));return Xt(n.font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class Yo{constructor(t,n,r){this.type=t,this.scope=n,this.override=r,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const n=Object.getPrototypeOf(t);let r;Rk(n)&&(r=this.register(n));const i=this.items,o=t.id,s=this.scope+"."+o;if(!o)throw new Error("class does not have id: "+t);return o in i||(i[o]=t,Ok(t,s,r),this.override&&Tt.override(t.id,t.overrides)),s}get(t){return this.items[t]}unregister(t){const n=this.items,r=t.id,i=this.scope;r in n&&delete n[r],i&&r in Tt[i]&&(delete Tt[i][r],this.override&&delete Vn[r])}}function Ok(e,t,n){const r=pi(Object.create(null),[n?Tt.get(n):{},Tt.get(t),e.defaults]);Tt.set(t,r),e.defaultRoutes&&Lk(t,e.defaultRoutes),e.descriptors&&Tt.describe(t,e.descriptors)}function Lk(e,t){Object.keys(t).forEach(n=>{const r=n.split("."),i=r.pop(),o=[e].concat(r).join("."),s=t[n].split("."),a=s.pop(),l=s.join(".");Tt.route(o,i,l,a)})}function Rk(e){return"id"in e&&"defaults"in e}class Qk{constructor(){this.controllers=new Yo(Kn,"datasets",!0),this.elements=new Yo(Pr,"elements"),this.plugins=new Yo(Object,"plugins"),this.scales=new Yo(Dr,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,n,r){[...n].forEach(i=>{const o=r||this._getRegistryForType(i);r||o.isForType(i)||o===this.plugins&&i.id?this._exec(t,o,i):bt(i,s=>{const a=r||this._getRegistryForType(s);this._exec(t,a,s)})})}_exec(t,n,r){const i=al(t);Pt(r["before"+i],[],r),n[t](r),Pt(r["after"+i],[],r)}_getRegistryForType(t){for(let n=0;n<this._typedRegistries.length;n++){const r=this._typedRegistries[n];if(r.isForType(t))return r}return this.plugins}_get(t,n,r){const i=n.get(t);if(i===void 0)throw new Error('"'+t+'" is not a registered '+r+".");return i}}var Ge=new Qk;class Fk{constructor(){this._init=[]}notify(t,n,r,i){n==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const o=i?this._descriptors(t).filter(i):this._descriptors(t),s=this._notify(o,t,n,r);return n==="afterDestroy"&&(this._notify(o,t,"stop"),this._notify(this._init,t,"uninstall")),s}_notify(t,n,r,i){i=i||{};for(const o of t){const s=o.plugin,a=s[r],l=[n,i,o.options];if(Pt(a,l,s)===!1&&i.cancelable)return!1}return!0}invalidate(){Ct(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),n}_createDescriptors(t,n){const r=t&&t.config,i=mt(r.options&&r.options.plugins,{}),o=Nk(r);return i===!1&&!n?[]:Hk(t,o,i,n)}_notifyStateChanges(t){const n=this._oldCache||[],r=this._cache,i=(o,s)=>o.filter(a=>!s.some(l=>a.plugin.id===l.plugin.id));this._notify(i(n,r),t,"stop"),this._notify(i(r,n),t,"start")}}function Nk(e){const t={},n=[],r=Object.keys(Ge.plugins.items);for(let o=0;o<r.length;o++)n.push(Ge.getPlugin(r[o]));const i=e.plugins||[];for(let o=0;o<i.length;o++){const s=i[o];n.indexOf(s)===-1&&(n.push(s),t[s.id]=!0)}return{plugins:n,localIds:t}}function zk(e,t){return!t&&e===!1?null:e===!0?{}:e}function Hk(e,{plugins:t,localIds:n},r,i){const o=[],s=e.getContext();for(const a of t){const l=a.id,c=zk(r[l],i);c!==null&&o.push({plugin:a,options:Uk(e.config,{plugin:a,local:n[l]},c,s)})}return o}function Uk(e,{plugin:t,local:n},r,i){const o=e.pluginScopeKeys(t),s=e.getOptionScopes(r,o);return n&&t.defaults&&s.push(t.defaults),e.createResolver(s,i,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Il(e,t){const n=Tt.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||n.indexAxis||"x"}function jk(e,t){let n=e;return e==="_index_"?n=t:e==="_value_"&&(n=t==="x"?"y":"x"),n}function Vk(e,t){return e===t?"_index_":"_value_"}function Hh(e){if(e==="x"||e==="y"||e==="r")return e}function Wk(e){if(e==="top"||e==="bottom")return"x";if(e==="left"||e==="right")return"y"}function Tl(e,...t){if(Hh(e))return e;for(const n of t){const r=n.axis||Wk(n.position)||e.length>1&&Hh(e[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function Uh(e,t,n){if(n[t+"AxisID"]===e)return{axis:t}}function Yk(e,t){if(t.data&&t.data.datasets){const n=t.data.datasets.filter(r=>r.xAxisID===e||r.yAxisID===e);if(n.length)return Uh(e,"x",n[0])||Uh(e,"y",n[0])}return{}}function qk(e,t){const n=Vn[e.type]||{scales:{}},r=t.scales||{},i=Il(e.type,t),o=Object.create(null);return Object.keys(r).forEach(s=>{const a=r[s];if(!pt(a))return console.error(`Invalid scale configuration for scale: ${s}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${s}`);const l=Tl(s,a,Yk(s,e),Tt.scales[a.type]),c=Vk(l,i),u=n.scales||{};o[s]=gi(Object.create(null),[{axis:l},a,u[l],u[c]])}),e.data.datasets.forEach(s=>{const a=s.type||e.type,l=s.indexAxis||Il(a,t),u=(Vn[a]||{}).scales||{};Object.keys(u).forEach(d=>{const A=jk(d,l),f=s[A+"AxisID"]||A;o[f]=o[f]||Object.create(null),gi(o[f],[{axis:A},r[f],u[d]])})}),Object.keys(o).forEach(s=>{const a=o[s];gi(a,[Tt.scales[a.type],Tt.scale])}),o}function jh(e){const t=e.options||(e.options={});t.plugins=mt(t.plugins,{}),t.scales=qk(e,t)}function Vh(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function Kk(e){return e=e||{},e.data=Vh(e.data),jh(e),e}const Wh=new Map,Yh=new Set;function qo(e,t){let n=Wh.get(e);return n||(n=t(),Wh.set(e,n),Yh.add(n)),n}const Di=(e,t,n)=>{const r=Sn(t,n);r!==void 0&&e.add(r)};let Gk=class{constructor(t){this._config=Kk(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=Vh(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),jh(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return qo(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,n){return qo(`${t}.transition.${n}`,()=>[[`datasets.${t}.transitions.${n}`,`transitions.${n}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,n){return qo(`${t}-${n}`,()=>[[`datasets.${t}.elements.${n}`,`datasets.${t}`,`elements.${n}`,""]])}pluginScopeKeys(t){const n=t.id,r=this.type;return qo(`${r}-plugin-${n}`,()=>[[`plugins.${n}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,n){const r=this._scopeCache;let i=r.get(t);return(!i||n)&&(i=new Map,r.set(t,i)),i}getOptionScopes(t,n,r){const{options:i,type:o}=this,s=this._cachedScopes(t,r),a=s.get(n);if(a)return a;const l=new Set;n.forEach(u=>{t&&(l.add(t),u.forEach(d=>Di(l,t,d))),u.forEach(d=>Di(l,i,d)),u.forEach(d=>Di(l,Vn[o]||{},d)),u.forEach(d=>Di(l,Tt,d)),u.forEach(d=>Di(l,hl,d))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),Yh.has(n)&&s.set(n,c),c}chartOptionScopes(){const{options:t,type:n}=this;return[t,Vn[n]||{},Tt.datasets[n]||{},{type:n},Tt,hl]}resolveNamedOptions(t,n,r,i=[""]){const o={$shared:!0},{resolver:s,subPrefixes:a}=qh(this._resolverCache,t,i);let l=s;if(Jk(s,n)){o.$shared=!1,r=En(r)?r():r;const c=this.createResolver(t,r,a);l=Er(s,r,c)}for(const c of n)o[c]=l[c];return o}createResolver(t,n,r=[""],i){const{resolver:o}=qh(this._resolverCache,t,r);return pt(n)?Er(o,n,void 0,i):o}};function qh(e,t,n){let r=e.get(t);r||(r=new Map,e.set(t,r));const i=n.join();let o=r.get(i);return o||(o={resolver:bl(t,n),subPrefixes:n.filter(a=>!a.toLowerCase().includes("hover"))},r.set(i,o)),o}const Xk=e=>pt(e)&&Object.getOwnPropertyNames(e).some(t=>En(e[t]));function Jk(e,t){const{isScriptable:n,isIndexable:r}=ih(e);for(const i of t){const o=n(i),s=r(i),a=(s||o)&&e[i];if(o&&(En(a)||Xk(a))||s&&Ut(a))return!0}return!1}var Zk="4.4.6";const $k=["top","bottom","left","right","chartArea"];function Kh(e,t){return e==="top"||e==="bottom"||$k.indexOf(e)===-1&&t==="x"}function Gh(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function Xh(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),Pt(n&&n.onComplete,[e],t)}function t_(e){const t=e.chart,n=t.options.animation;Pt(n&&n.onProgress,[e],t)}function Jh(e){return wl()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const Ko={},Zh=e=>{const t=Jh(e);return Object.values(Ko).filter(n=>n.canvas===t).pop()};function e_(e,t,n){const r=Object.keys(e);for(const i of r){const o=+i;if(o>=t){const s=e[i];delete e[i],(n>0||o>t)&&(e[o+n]=s)}}}function n_(e,t,n,r){return!n||e.type==="mouseout"?null:r?t:e}function Go(e,t,n){return e.options.clip?e[n]:t[n]}function r_(e,t){const{xScale:n,yScale:r}=e;return n&&r?{left:Go(n,t,"left"),right:Go(n,t,"right"),top:Go(r,t,"top"),bottom:Go(r,t,"bottom")}:t}let Ml=(Bn=class{static register(...t){Ge.add(...t),$h()}static unregister(...t){Ge.remove(...t),$h()}constructor(t,n){const r=this.config=new Gk(n),i=Jh(t),o=Zh(i);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const s=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||yk(i)),this.platform.updateConfig(r);const a=this.platform.acquireContext(i,s.aspectRatio),l=a&&a.canvas,c=l&&l.height,u=l&&l.width;if(this.id=w1(),this.ctx=a,this.canvas=l,this.width=u,this.height=c,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Fk,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=N1(d=>this.update(d),s.resizeDelay||0),this._dataChanges=[],Ko[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}cn.listen(this,"complete",Xh),cn.listen(this,"progress",t_),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:n},width:r,height:i,_aspectRatio:o}=this;return Ct(t)?n&&o?o:i?r/i:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return Ge}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():uh(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Zf(this.canvas,this.ctx),this}stop(){return cn.stop(this),this}resize(t,n){cn.running(this)?this._resizeBeforeDraw={width:t,height:n}:this._resize(t,n)}_resize(t,n){const r=this.options,i=this.canvas,o=r.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(i,t,n,o),a=r.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,uh(this,a,!0)&&(this.notifyPlugins("resize",{size:s}),Pt(r.onResize,[this,s],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};bt(n,(r,i)=>{r.id=i})}buildOrUpdateScales(){const t=this.options,n=t.scales,r=this.scales,i=Object.keys(r).reduce((s,a)=>(s[a]=!1,s),{});let o=[];n&&(o=o.concat(Object.keys(n).map(s=>{const a=n[s],l=Tl(s,a),c=l==="r",u=l==="x";return{options:a,dposition:c?"chartArea":u?"bottom":"left",dtype:c?"radialLinear":u?"category":"linear"}}))),bt(o,s=>{const a=s.options,l=a.id,c=Tl(l,a),u=mt(a.type,s.dtype);(a.position===void 0||Kh(a.position,c)!==Kh(s.dposition))&&(a.position=s.dposition),i[l]=!0;let d=null;if(l in r&&r[l].type===u)d=r[l];else{const A=Ge.getScale(u);d=new A({id:l,type:u,ctx:this.ctx,chart:this}),r[d.id]=d}d.init(a,t)}),bt(i,(s,a)=>{s||delete r[a]}),bt(r,s=>{Ee.configure(this,s,s.options),Ee.addBox(this,s)})}_updateMetasets(){const t=this._metasets,n=this.data.datasets.length,r=t.length;if(t.sort((i,o)=>i.index-o.index),r>n){for(let i=n;i<r;++i)this._destroyDatasetMeta(i);t.splice(n,r-n)}this._sortedMetasets=t.slice(0).sort(Gh("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:n}}=this;t.length>n.length&&delete this._stacks,t.forEach((r,i)=>{n.filter(o=>o===r._dataset).length===0&&this._destroyDatasetMeta(i)})}buildOrUpdateControllers(){const t=[],n=this.data.datasets;let r,i;for(this._removeUnreferencedMetasets(),r=0,i=n.length;r<i;r++){const o=n[r];let s=this.getDatasetMeta(r);const a=o.type||this.config.type;if(s.type&&s.type!==a&&(this._destroyDatasetMeta(r),s=this.getDatasetMeta(r)),s.type=a,s.indexAxis=o.indexAxis||Il(a,this.options),s.order=o.order||0,s.index=r,s.label=""+o.label,s.visible=this.isDatasetVisible(r),s.controller)s.controller.updateIndex(r),s.controller.linkScales();else{const l=Ge.getController(a),{datasetElementType:c,dataElementType:u}=Tt.datasets[a];Object.assign(l,{dataElementType:Ge.getElement(u),datasetElementType:c&&Ge.getElement(c)}),s.controller=new l(this,r),t.push(s.controller)}}return this._updateMetasets(),t}_resetElements(){bt(this.data.datasets,(t,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const n=this.config;n.update();const r=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let c=0,u=this.data.datasets.length;c<u;c++){const{controller:d}=this.getDatasetMeta(c),A=!i&&o.indexOf(d)===-1;d.buildOrUpdateElements(A),s=Math.max(+d.getMaxOverflow(),s)}s=this._minPadding=r.layout.autoPadding?s:0,this._updateLayout(s),i||bt(o,c=>{c.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(Gh("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){bt(this.scales,t=>{Ee.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(t.events);(!Lf(n,r)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,n=this._getUniformDataChanges()||[];for(const{method:r,start:i,count:o}of n){const s=r==="_removeElements"?-o:o;e_(t,i,s)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const n=this.data.datasets.length,r=o=>new Set(t.filter(s=>s[0]===o).map((s,a)=>a+","+s.splice(1).join(","))),i=r(0);for(let o=1;o<n;o++)if(!Lf(i,r(o)))return;return Array.from(i).map(o=>o.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;Ee.update(this,this.width,this.height,t);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],bt(this.boxes,i=>{r&&i.position==="chartArea"||(i.configure&&i.configure(),this._layers.push(...i._layers()))},this),this._layers.forEach((i,o)=>{i._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let n=0,r=this.data.datasets.length;n<r;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,r=this.data.datasets.length;n<r;++n)this._updateDataset(n,En(t)?t({datasetIndex:n}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,n){const r=this.getDatasetMeta(t),i={meta:r,index:t,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",i)!==!1&&(r.controller._update(n),i.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",i))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(cn.has(this)?this.attached&&!cn.running(this)&&cn.start(this):(this.draw(),Xh({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:r,height:i}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(r,i)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(t=0;t<n.length&&n[t].z<=0;++t)n[t].draw(this.chartArea);for(this._drawDatasets();t<n.length;++t)n[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const n=this._sortedMetasets,r=[];let i,o;for(i=0,o=n.length;i<o;++i){const s=n[i];(!t||s.visible)&&r.push(s)}return r}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const t=this.getSortedVisibleDatasetMetas();for(let n=t.length-1;n>=0;--n)this._drawDataset(t[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const n=this.ctx,r=t._clip,i=!r.disabled,o=r_(t,this.chartArea),s={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",s)!==!1&&(i&&gl(n,{left:r.left===!1?0:o.left-r.left,right:r.right===!1?this.width:o.right+r.right,top:r.top===!1?0:o.top-r.top,bottom:r.bottom===!1?this.height:o.bottom+r.bottom}),t.controller.draw(),i&&ml(n),s.cancelable=!1,this.notifyPlugins("afterDatasetDraw",s))}isPointInArea(t){return eh(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,r,i){const o=$2.modes[n];return typeof o=="function"?o(this,t,r,i):[]}getDatasetMeta(t){const n=this.data.datasets[t],r=this._metasets;let i=r.filter(o=>o&&o._dataset===n).pop();return i||(i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:t,_dataset:n,_parsed:[],_sorted:!1},r.push(i)),i}getContext(){return this.$context||(this.$context=Sr(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const n=this.data.datasets[t];if(!n)return!1;const r=this.getDatasetMeta(t);return typeof r.hidden=="boolean"?!r.hidden:!n.hidden}setDatasetVisibility(t,n){const r=this.getDatasetMeta(t);r.hidden=!n}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,n,r){const i=r?"show":"hide",o=this.getDatasetMeta(t),s=o.controller._resolveAnimations(void 0,i);mi(n)?(o.data[n].hidden=!r,this.update()):(this.setDatasetVisibility(t,r),s.update(o,{visible:r}),this.update(a=>a.datasetIndex===t?i:void 0))}hide(t,n){this._updateVisibility(t,n,!1)}show(t,n){this._updateVisibility(t,n,!0)}_destroyDatasetMeta(t){const n=this._metasets[t];n&&n.controller&&n.controller._destroy(),delete this._metasets[t]}_stop(){let t,n;for(this.stop(),cn.remove(this),t=0,n=this.data.datasets.length;t<n;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:n}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),Zf(t,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete Ko[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,n=this.platform,r=(o,s)=>{n.addEventListener(this,o,s),t[o]=s},i=(o,s,a)=>{o.offsetX=s,o.offsetY=a,this._eventHandler(o)};bt(this.options.events,o=>r(o,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,n=this.platform,r=(l,c)=>{n.addEventListener(this,l,c),t[l]=c},i=(l,c)=>{t[l]&&(n.removeEventListener(this,l,c),delete t[l])},o=(l,c)=>{this.canvas&&this.resize(l,c)};let s;const a=()=>{i("attach",a),this.attached=!0,this.resize(),r("resize",o),r("detach",s)};s=()=>{this.attached=!1,i("resize",o),this._stop(),this._resize(0,0),r("attach",a)},n.isAttached(this.canvas)?a():s()}unbindEvents(){bt(this._listeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._listeners={},bt(this._responsiveListeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,n,r){const i=r?"set":"remove";let o,s,a,l;for(n==="dataset"&&(o=this.getDatasetMeta(t[0].datasetIndex),o.controller["_"+i+"DatasetHoverStyle"]()),a=0,l=t.length;a<l;++a){s=t[a];const c=s&&this.getDatasetMeta(s.datasetIndex).controller;c&&c[i+"HoverStyle"](s.element,s.datasetIndex,s.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const n=this._active||[],r=t.map(({datasetIndex:o,index:s})=>{const a=this.getDatasetMeta(o);if(!a)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:a.data[s],index:s}});!Po(r,n)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,n))}notifyPlugins(t,n,r){return this._plugins.notify(this,t,n,r)}isPluginEnabled(t){return this._plugins._cache.filter(n=>n.plugin.id===t).length===1}_updateHoverStyles(t,n,r){const i=this.options.hover,o=(l,c)=>l.filter(u=>!c.some(d=>u.datasetIndex===d.datasetIndex&&u.index===d.index)),s=o(n,t),a=r?t:o(t,n);s.length&&this.updateHoverStyle(s,i.mode,!1),a.length&&i.mode&&this.updateHoverStyle(a,i.mode,!0)}_eventHandler(t,n){const r={event:t,replay:n,cancelable:!0,inChartArea:this.isPointInArea(t)},i=s=>(s.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",r,i)===!1)return;const o=this._handleEvent(t,n,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,i),(o||r.changed)&&this.render(),this}_handleEvent(t,n,r){const{_active:i=[],options:o}=this,s=n,a=this._getActiveElements(t,i,r,s),l=C1(t),c=n_(t,this._lastEvent,r,l);r&&(this._lastEvent=null,Pt(o.onHover,[t,a,this],this),l&&Pt(o.onClick,[t,a,this],this));const u=!Po(a,i);return(u||n)&&(this._active=a,this._updateHoverStyles(a,i,n)),this._lastEvent=c,u}_getActiveElements(t,n,r,i){if(t.type==="mouseout")return[];if(!r)return n;const o=this.options.hover;return this.getElementsAtEventForMode(t,o.mode,o,i)}},ut(Bn,"defaults",Tt),ut(Bn,"instances",Ko),ut(Bn,"overrides",Vn),ut(Bn,"registry",Ge),ut(Bn,"version",Zk),ut(Bn,"getChart",Zh),Bn);function $h(){return bt(Ml.instances,e=>e._plugins.invalidate())}function tp(e,t){const{x:n,y:r,base:i,width:o,height:s}=e.getProps(["x","y","base","width","height"],t);let a,l,c,u,d;return e.horizontal?(d=s/2,a=Math.min(n,i),l=Math.max(n,i),c=r-d,u=r+d):(d=o/2,a=n-d,l=n+d,c=Math.min(r,i),u=Math.max(r,i)),{left:a,top:c,right:l,bottom:u}}function Pn(e,t,n,r){return e?0:Oe(t,n,r)}function i_(e,t,n){const r=e.options.borderWidth,i=e.borderSkipped,o=rh(r);return{t:Pn(i.top,o.top,0,n),r:Pn(i.right,o.right,0,t),b:Pn(i.bottom,o.bottom,0,n),l:Pn(i.left,o.left,0,t)}}function o_(e,t,n){const{enableBorderRadius:r}=e.getProps(["enableBorderRadius"]),i=e.options.borderRadius,o=_r(i),s=Math.min(t,n),a=e.borderSkipped,l=r||pt(i);return{topLeft:Pn(!l||a.top||a.left,o.topLeft,0,s),topRight:Pn(!l||a.top||a.right,o.topRight,0,s),bottomLeft:Pn(!l||a.bottom||a.left,o.bottomLeft,0,s),bottomRight:Pn(!l||a.bottom||a.right,o.bottomRight,0,s)}}function s_(e){const t=tp(e),n=t.right-t.left,r=t.bottom-t.top,i=i_(e,n/2,r/2),o=o_(e,n/2,r/2);return{outer:{x:t.left,y:t.top,w:n,h:r,radius:o},inner:{x:t.left+i.l,y:t.top+i.t,w:n-i.l-i.r,h:r-i.t-i.b,radius:{topLeft:Math.max(0,o.topLeft-Math.max(i.t,i.l)),topRight:Math.max(0,o.topRight-Math.max(i.t,i.r)),bottomLeft:Math.max(0,o.bottomLeft-Math.max(i.b,i.l)),bottomRight:Math.max(0,o.bottomRight-Math.max(i.b,i.r))}}}}function Ol(e,t,n,r){const i=t===null,o=n===null,a=e&&!(i&&o)&&tp(e,r);return a&&(i||kr(t,a.left,a.right))&&(o||kr(n,a.top,a.bottom))}function a_(e){return e.topLeft||e.topRight||e.bottomLeft||e.bottomRight}function l_(e,t){e.rect(t.x,t.y,t.w,t.h)}function Ll(e,t,n={}){const r=e.x!==n.x?-t:0,i=e.y!==n.y?-t:0,o=(e.x+e.w!==n.x+n.w?t:0)-r,s=(e.y+e.h!==n.y+n.h?t:0)-i;return{x:e.x+r,y:e.y+i,w:e.w+o,h:e.h+s,radius:e.radius}}class Xo extends Pr{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:n,options:{borderColor:r,backgroundColor:i}}=this,{inner:o,outer:s}=s_(this),a=a_(s.radius)?Lo:l_;t.save(),(s.w!==o.w||s.h!==o.h)&&(t.beginPath(),a(t,Ll(s,n,o)),t.clip(),a(t,Ll(o,-n,s)),t.fillStyle=r,t.fill("evenodd")),t.beginPath(),a(t,Ll(o,n)),t.fillStyle=i,t.fill(),t.restore()}inRange(t,n,r){return Ol(this,t,n,r)}inXRange(t,n){return Ol(this,t,null,n)}inYRange(t,n){return Ol(this,null,t,n)}getCenterPoint(t){const{x:n,y:r,base:i,horizontal:o}=this.getProps(["x","y","base","horizontal"],t);return{x:o?(n+i)/2:n,y:o?r:(r+i)/2}}getRange(t){return t==="x"?this.width/2:this.height/2}}ut(Xo,"id","bar"),ut(Xo,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),ut(Xo,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});const Rl=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],ep=Rl.map(e=>e.replace("rgb(","rgba(").replace(")",", 0.5)"));function np(e){return Rl[e%Rl.length]}function rp(e){return ep[e%ep.length]}function c_(e,t){return e.borderColor=np(t),e.backgroundColor=rp(t),++t}function u_(e,t){return e.backgroundColor=e.data.map(()=>np(t++)),t}function d_(e,t){return e.backgroundColor=e.data.map(()=>rp(t++)),t}function A_(e){let t=0;return(n,r)=>{const i=e.getDatasetMeta(r).controller;i instanceof xi?t=u_(n,t):i instanceof Ho?t=d_(n,t):i&&(t=c_(n,t))}}function ip(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}function f_(e){return e&&(e.borderColor||e.backgroundColor)}function h_(){return Tt.borderColor!=="rgba(0,0,0,0.1)"||Tt.backgroundColor!=="rgba(0,0,0,0.1)"}var p_={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,t,n){if(!n.enabled)return;const{data:{datasets:r},options:i}=e.config,{elements:o}=i,s=ip(r)||f_(i)||o&&ip(o)||h_();if(!n.forceOverride&&s)return;const a=A_(e);r.forEach(a)}};const op=(e,t)=>{let{boxHeight:n=t,boxWidth:r=t}=e;return e.usePointStyle&&(n=Math.min(n,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(t,n)}},g_=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index;class sp extends Pr{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n,r){this.maxWidth=t,this.maxHeight=n,this._margins=r,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let n=Pt(t.generateLabels,[this.chart],this)||[];t.filter&&(n=n.filter(r=>t.filter(r,this.chart.data))),t.sort&&(n=n.sort((r,i)=>t.sort(r,i,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:t,ctx:n}=this;if(!t.display){this.width=this.height=0;return}const r=t.labels,i=Xt(r.font),o=i.size,s=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=op(r,o);let c,u;n.font=i.string,this.isHorizontal()?(c=this.maxWidth,u=this._fitRows(s,o,a,l)+10):(u=this.maxHeight,c=this._fitCols(s,i,a,l)+10),this.width=Math.min(c,t.maxWidth||this.maxWidth),this.height=Math.min(u,t.maxHeight||this.maxHeight)}_fitRows(t,n,r,i){const{ctx:o,maxWidth:s,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],u=i+a;let d=t;o.textAlign="left",o.textBaseline="middle";let A=-1,f=-u;return this.legendItems.forEach((h,p)=>{const g=r+n/2+o.measureText(h.text).width;(p===0||c[c.length-1]+g+2*a>s)&&(d+=u,c[c.length-(p>0?0:1)]=0,f+=u,A++),l[p]={left:0,top:f,row:A,width:g,height:i},c[c.length-1]+=g+a}),d}_fitCols(t,n,r,i){const{ctx:o,maxHeight:s,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],u=s-t;let d=a,A=0,f=0,h=0,p=0;return this.legendItems.forEach((g,b)=>{const{itemWidth:w,itemHeight:y}=m_(r,n,o,g,i);b>0&&f+y+2*a>u&&(d+=A+a,c.push({width:A,height:f}),h+=A+a,p++,A=f=0),l[b]={left:h,top:f,col:p,width:w,height:y},A=Math.max(A,w),f+=y+a}),d+=A,c.push({width:A,height:f}),d}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:r,labels:{padding:i},rtl:o}}=this,s=Cr(o,this.left,this.width);if(this.isHorizontal()){let a=0,l=Gt(r,this.left+i,this.right-this.lineWidths[a]);for(const c of n)a!==c.row&&(a=c.row,l=Gt(r,this.left+i,this.right-this.lineWidths[a])),c.top+=this.top+t+i,c.left=s.leftForLtr(s.x(l),c.width),l+=c.width+i}else{let a=0,l=Gt(r,this.top+t+i,this.bottom-this.columnSizes[a].height);for(const c of n)c.col!==a&&(a=c.col,l=Gt(r,this.top+t+i,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+i,c.left=s.leftForLtr(s.x(c.left),c.width),l+=c.height+i}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const t=this.ctx;gl(t,this),this._draw(),ml(t)}}_draw(){const{options:t,columnSizes:n,lineWidths:r,ctx:i}=this,{align:o,labels:s}=t,a=Tt.color,l=Cr(t.rtl,this.left,this.width),c=Xt(s.font),{padding:u}=s,d=c.size,A=d/2;let f;this.drawTitle(),i.textAlign=l.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=c.string;const{boxWidth:h,boxHeight:p,itemHeight:g}=op(s,d),b=function(k,P,D){if(isNaN(h)||h<=0||isNaN(p)||p<0)return;i.save();const C=mt(D.lineWidth,1);if(i.fillStyle=mt(D.fillStyle,a),i.lineCap=mt(D.lineCap,"butt"),i.lineDashOffset=mt(D.lineDashOffset,0),i.lineJoin=mt(D.lineJoin,"miter"),i.lineWidth=C,i.strokeStyle=mt(D.strokeStyle,a),i.setLineDash(mt(D.lineDash,[])),s.usePointStyle){const E={radius:p*Math.SQRT2/2,pointStyle:D.pointStyle,rotation:D.rotation,borderWidth:C},I=l.xPlus(k,h/2),B=P+A;th(i,E,I,B,s.pointStyleWidth&&h)}else{const E=P+Math.max((d-p)/2,0),I=l.leftForLtr(k,h),B=_r(D.borderRadius);i.beginPath(),Object.values(B).some(T=>T!==0)?Lo(i,{x:I,y:E,w:h,h:p,radius:B}):i.rect(I,E,h,p),i.fill(),C!==0&&i.stroke()}i.restore()},w=function(k,P,D){yi(i,D.text,k,P+g/2,c,{strikethrough:D.hidden,textAlign:l.textAlign(D.textAlign)})},y=this.isHorizontal(),v=this._computeTitleHeight();y?f={x:Gt(o,this.left+u,this.right-r[0]),y:this.top+u+v,line:0}:f={x:this.left+u,y:Gt(o,this.top+v+u,this.bottom-n[0].height),line:0},Ah(this.ctx,t.textDirection);const _=g+u;this.legendItems.forEach((k,P)=>{i.strokeStyle=k.fontColor,i.fillStyle=k.fontColor;const D=i.measureText(k.text).width,C=l.textAlign(k.textAlign||(k.textAlign=s.textAlign)),E=h+A+D;let I=f.x,B=f.y;l.setWidth(this.width),y?P>0&&I+E+u>this.right&&(B=f.y+=_,f.line++,I=f.x=Gt(o,this.left+u,this.right-r[f.line])):P>0&&B+_>this.bottom&&(I=f.x=I+n[f.line].width+u,f.line++,B=f.y=Gt(o,this.top+v+u,this.bottom-n[f.line].height));const T=l.x(I);if(b(T,B,k),I=z1(C,I+h+A,y?I+E:this.right,t.rtl),w(l.x(I),B,k),y)f.x+=E+u;else if(typeof k.text!="string"){const R=c.lineHeight;f.y+=ap(k,R)+u}else f.y+=_}),fh(this.ctx,t.textDirection)}drawTitle(){const t=this.options,n=t.title,r=Xt(n.font),i=Se(n.padding);if(!n.display)return;const o=Cr(t.rtl,this.left,this.width),s=this.ctx,a=n.position,l=r.size/2,c=i.top+l;let u,d=this.left,A=this.width;if(this.isHorizontal())A=Math.max(...this.lineWidths),u=this.top+c,d=Gt(t.align,d,this.right-A);else{const h=this.columnSizes.reduce((p,g)=>Math.max(p,g.height),0);u=c+Gt(t.align,this.top,this.bottom-h-t.labels.padding-this._computeTitleHeight())}const f=Gt(a,d,d+A);s.textAlign=o.textAlign(Al(a)),s.textBaseline="middle",s.strokeStyle=n.color,s.fillStyle=n.color,s.font=r.string,yi(s,n.text,f,u,r)}_computeTitleHeight(){const t=this.options.title,n=Xt(t.font),r=Se(t.padding);return t.display?n.lineHeight+r.height:0}_getLegendItemAt(t,n){let r,i,o;if(kr(t,this.left,this.right)&&kr(n,this.top,this.bottom)){for(o=this.legendHitBoxes,r=0;r<o.length;++r)if(i=o[r],kr(t,i.left,i.left+i.width)&&kr(n,i.top,i.top+i.height))return this.legendItems[r]}return null}handleEvent(t){const n=this.options;if(!y_(t.type,n))return;const r=this._getLegendItemAt(t.x,t.y);if(t.type==="mousemove"||t.type==="mouseout"){const i=this._hoveredItem,o=g_(i,r);i&&!o&&Pt(n.onLeave,[t,i,this],this),this._hoveredItem=r,r&&!o&&Pt(n.onHover,[t,r,this],this)}else r&&Pt(n.onClick,[t,r,this],this)}}function m_(e,t,n,r,i){const o=b_(r,e,t,n),s=v_(i,r,t.lineHeight);return{itemWidth:o,itemHeight:s}}function b_(e,t,n,r){let i=e.text;return i&&typeof i!="string"&&(i=i.reduce((o,s)=>o.length>s.length?o:s)),t+n.size/2+r.measureText(i).width}function v_(e,t,n){let r=e;return typeof t.text!="string"&&(r=ap(t,n)),r}function ap(e,t){const n=e.text?e.text.length:0;return t*n}function y_(e,t){return!!((e==="mousemove"||e==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(e==="click"||e==="mouseup"))}var w_={id:"legend",_element:sp,start(e,t,n){const r=e.legend=new sp({ctx:e.ctx,options:n,chart:e});Ee.configure(e,r,n),Ee.addBox(e,r)},stop(e){Ee.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){const r=e.legend;Ee.configure(e,r,n),r.options=n},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){const r=t.datasetIndex,i=n.chart;i.isDatasetVisible(r)?(i.hide(r),t.hidden=!0):(i.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:i,color:o,useBorderRadius:s,borderRadius:a}}=e.legend.options;return e._getSortedDatasetMetas().map(l=>{const c=l.controller.getStyle(n?0:void 0),u=Se(c.borderWidth);return{text:t[l.index].label,fillStyle:c.backgroundColor,fontColor:o,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:c.borderColor,pointStyle:r||c.pointStyle,rotation:c.rotation,textAlign:i||c.textAlign,borderRadius:s&&(a||c.borderRadius),datasetIndex:l.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class lp extends Pr{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n){const r=this.options;if(this.left=0,this.top=0,!r.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=t,this.height=this.bottom=n;const i=Ut(r.text)?r.text.length:1;this._padding=Se(r.padding);const o=i*Xt(r.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const t=this.options.position;return t==="top"||t==="bottom"}_drawArgs(t){const{top:n,left:r,bottom:i,right:o,options:s}=this,a=s.align;let l=0,c,u,d;return this.isHorizontal()?(u=Gt(a,r,o),d=n+t,c=o-r):(s.position==="left"?(u=r+t,d=Gt(a,i,n),l=jt*-.5):(u=o-t,d=Gt(a,n,i),l=jt*.5),c=i-n),{titleX:u,titleY:d,maxWidth:c,rotation:l}}draw(){const t=this.ctx,n=this.options;if(!n.display)return;const r=Xt(n.font),o=r.lineHeight/2+this._padding.top,{titleX:s,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(o);yi(t,n.text,0,0,r,{color:n.color,maxWidth:l,rotation:c,textAlign:Al(n.align),textBaseline:"middle",translation:[s,a]})}}function x_(e,t){const n=new lp({ctx:e.ctx,options:t,chart:e});Ee.configure(e,n,t),Ee.addBox(e,n),e.titleBlock=n}var k_={id:"title",_element:lp,start(e,t,n){x_(e,n)},stop(e){const t=e.titleBlock;Ee.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){const r=e.titleBlock;Ee.configure(e,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Bi={average(e){if(!e.length)return!1;let t,n,r=new Set,i=0,o=0;for(t=0,n=e.length;t<n;++t){const a=e[t].element;if(a&&a.hasValue()){const l=a.tooltipPosition();r.add(l.x),i+=l.y,++o}}return o===0||r.size===0?!1:{x:[...r].reduce((a,l)=>a+l)/r.size,y:i/o}},nearest(e,t){if(!e.length)return!1;let n=t.x,r=t.y,i=Number.POSITIVE_INFINITY,o,s,a;for(o=0,s=e.length;o<s;++o){const l=e[o].element;if(l&&l.hasValue()){const c=l.getCenterPoint(),u=O1(t,c);u<i&&(i=u,a=l)}}if(a){const l=a.tooltipPosition();n=l.x,r=l.y}return{x:n,y:r}}};function Xe(e,t){return t&&(Ut(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function un(e){return(typeof e=="string"||e instanceof String)&&e.indexOf(`
|
|
94
134
|
`)>-1?e.split(`
|
|
95
|
-
`):e}function Xw(e,t){const{element:n,datasetIndex:i,index:o}=t,r=e.getDatasetMeta(i).controller,{label:s,value:a}=r.getLabelAndValue(o);return{chart:e,label:s,parsed:r.getParsed(o),raw:e.data.datasets[i].data[o],formattedValue:a,dataset:r.getDataset(),dataIndex:o,datasetIndex:i,element:n}}function au(e,t){const n=e.chart.ctx,{body:i,footer:o,title:r}=e,{boxWidth:s,boxHeight:a}=t,c=Tt(t.bodyFont),l=Tt(t.titleFont),A=Tt(t.footerFont),d=r.length,u=o.length,h=i.length,p=re(t.padding);let g=p.height,b=0,v=i.reduce((m,y)=>m+y.before.length+y.lines.length+y.after.length,0);if(v+=e.beforeBody.length+e.afterBody.length,d&&(g+=d*l.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),v){const m=t.displayColors?Math.max(a,c.lineHeight):c.lineHeight;g+=h*m+(v-h)*c.lineHeight+(v-1)*t.bodySpacing}u&&(g+=t.footerMarginTop+u*A.lineHeight+(u-1)*t.footerSpacing);let w=0;const _=function(m){b=Math.max(b,n.measureText(m).width+w)};return n.save(),n.font=l.string,ct(e.title,_),n.font=c.string,ct(e.beforeBody.concat(e.afterBody),_),w=t.displayColors?s+2+t.boxPadding:0,ct(i,m=>{ct(m.before,_),ct(m.lines,_),ct(m.after,_)}),w=0,n.font=A.string,ct(e.footer,_),n.restore(),b+=p.width,{width:b,height:g}}function Gw(e,t){const{y:n,height:i}=t;return n<i/2?"top":n>e.height-i/2?"bottom":"center"}function Jw(e,t,n,i){const{x:o,width:r}=i,s=n.caretSize+n.caretPadding;if(e==="left"&&o+r+s>t.width||e==="right"&&o-r-s<0)return!0}function Zw(e,t,n,i){const{x:o,width:r}=n,{width:s,chartArea:{left:a,right:c}}=e;let l="center";return i==="center"?l=o<=(a+c)/2?"left":"right":o<=r/2?l="left":o>=s-r/2&&(l="right"),Jw(l,e,t,n)&&(l="center"),l}function cu(e,t,n){const i=n.yAlign||t.yAlign||Gw(e,n);return{xAlign:n.xAlign||t.xAlign||Zw(e,t,n,i),yAlign:i}}function $w(e,t){let{x:n,width:i}=e;return t==="right"?n-=i:t==="center"&&(n-=i/2),n}function ty(e,t,n){let{y:i,height:o}=e;return t==="top"?i+=n:t==="bottom"?i-=o+n:i-=o/2,i}function lu(e,t,n,i){const{caretSize:o,caretPadding:r,cornerRadius:s}=e,{xAlign:a,yAlign:c}=n,l=o+r,{topLeft:A,topRight:d,bottomLeft:u,bottomRight:h}=Rn(s);let p=$w(t,a);const g=ty(t,c,l);return c==="center"?a==="left"?p+=l:a==="right"&&(p-=l):a==="left"?p-=Math.max(A,u)+o:a==="right"&&(p+=Math.max(d,h)+o),{x:de(p,0,i.width-t.width),y:de(g,0,i.height-t.height)}}function Wo(e,t,n){const i=re(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-i.right:e.x+i.left}function Au(e){return Be([],He(e))}function ey(e,t,n){return Hn(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function du(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const uu={beforeTitle:Le,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,i=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(i>0&&t.dataIndex<i)return n[t.dataIndex]}return""},afterTitle:Le,beforeBody:Le,beforeLabel:Le,label(e){if(this&&this.options&&this.options.mode==="dataset")return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const n=e.formattedValue;return ut(n)||(t+=n),t},labelColor(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:Le,afterBody:Le,beforeFooter:Le,footer:Le,afterFooter:Le};function jt(e,t,n,i){const o=e[t].call(n,i);return typeof o>"u"?uu[t].call(n,i):o}class qs extends Nn{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const n=this.chart,i=this.options.setContext(this.getContext()),o=i.enabled&&n.options.animation&&i.animations,r=new hd(this.chart,o);return o._cacheable&&(this._cachedAnimations=Object.freeze(r)),r}getContext(){return this.$context||(this.$context=ey(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:i}=n,o=jt(i,"beforeTitle",this,t),r=jt(i,"title",this,t),s=jt(i,"afterTitle",this,t);let a=[];return a=Be(a,He(o)),a=Be(a,He(r)),a=Be(a,He(s)),a}getBeforeBody(t,n){return Au(jt(n.callbacks,"beforeBody",this,t))}getBody(t,n){const{callbacks:i}=n,o=[];return ct(t,r=>{const s={before:[],lines:[],after:[]},a=du(i,r);Be(s.before,He(jt(a,"beforeLabel",this,r))),Be(s.lines,jt(a,"label",this,r)),Be(s.after,He(jt(a,"afterLabel",this,r))),o.push(s)}),o}getAfterBody(t,n){return Au(jt(n.callbacks,"afterBody",this,t))}getFooter(t,n){const{callbacks:i}=n,o=jt(i,"beforeFooter",this,t),r=jt(i,"footer",this,t),s=jt(i,"afterFooter",this,t);let a=[];return a=Be(a,He(o)),a=Be(a,He(r)),a=Be(a,He(s)),a}_createItems(t){const n=this._active,i=this.chart.data,o=[],r=[],s=[];let a=[],c,l;for(c=0,l=n.length;c<l;++c)a.push(Xw(this.chart,n[c]));return t.filter&&(a=a.filter((A,d,u)=>t.filter(A,d,u,i))),t.itemSort&&(a=a.sort((A,d)=>t.itemSort(A,d,i))),ct(a,A=>{const d=du(t.callbacks,A);o.push(jt(d,"labelColor",this,A)),r.push(jt(d,"labelPointStyle",this,A)),s.push(jt(d,"labelTextColor",this,A))}),this.labelColors=o,this.labelPointStyles=r,this.labelTextColors=s,this.dataPoints=a,a}update(t,n){const i=this.options.setContext(this.getContext()),o=this._active;let r,s=[];if(!o.length)this.opacity!==0&&(r={opacity:0});else{const a=Oi[i.position].call(this,o,this._eventPosition);s=this._createItems(i),this.title=this.getTitle(s,i),this.beforeBody=this.getBeforeBody(s,i),this.body=this.getBody(s,i),this.afterBody=this.getAfterBody(s,i),this.footer=this.getFooter(s,i);const c=this._size=au(this,i),l=Object.assign({},a,c),A=cu(this.chart,i,l),d=lu(i,l,A,this.chart);this.xAlign=A.xAlign,this.yAlign=A.yAlign,r={opacity:1,x:d.x,y:d.y,width:c.width,height:c.height,caretX:a.x,caretY:a.y}}this._tooltipItems=s,this.$context=void 0,r&&this._resolveAnimations().update(this,r),t&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,i,o){const r=this.getCaretPosition(t,i,o);n.lineTo(r.x1,r.y1),n.lineTo(r.x2,r.y2),n.lineTo(r.x3,r.y3)}getCaretPosition(t,n,i){const{xAlign:o,yAlign:r}=this,{caretSize:s,cornerRadius:a}=i,{topLeft:c,topRight:l,bottomLeft:A,bottomRight:d}=Rn(a),{x:u,y:h}=t,{width:p,height:g}=n;let b,v,w,_,m,y;return r==="center"?(m=h+g/2,o==="left"?(b=u,v=b-s,_=m+s,y=m-s):(b=u+p,v=b+s,_=m-s,y=m+s),w=b):(o==="left"?v=u+Math.max(c,A)+s:o==="right"?v=u+p-Math.max(l,d)-s:v=this.caretX,r==="top"?(_=h,m=_-s,b=v-s,w=v+s):(_=h+g,m=_+s,b=v+s,w=v-s),y=_),{x1:b,x2:v,x3:w,y1:_,y2:m,y3:y}}drawTitle(t,n,i){const o=this.title,r=o.length;let s,a,c;if(r){const l=zn(i.rtl,this.x,this.width);for(t.x=Wo(this,i.titleAlign,i),n.textAlign=l.textAlign(i.titleAlign),n.textBaseline="middle",s=Tt(i.titleFont),a=i.titleSpacing,n.fillStyle=i.titleColor,n.font=s.string,c=0;c<r;++c)n.fillText(o[c],l.x(t.x),t.y+s.lineHeight/2),t.y+=s.lineHeight+a,c+1===r&&(t.y+=i.titleMarginBottom-a)}}_drawColorBox(t,n,i,o,r){const s=this.labelColors[i],a=this.labelPointStyles[i],{boxHeight:c,boxWidth:l}=r,A=Tt(r.bodyFont),d=Wo(this,"left",r),u=o.x(d),h=c<A.lineHeight?(A.lineHeight-c)/2:0,p=n.y+h;if(r.usePointStyle){const g={radius:Math.min(l,c)/2,pointStyle:a.pointStyle,rotation:a.rotation,borderWidth:1},b=o.leftForLtr(u,l)+l/2,v=p+c/2;t.strokeStyle=r.multiKeyBackground,t.fillStyle=r.multiKeyBackground,JA(t,g,b,v),t.strokeStyle=s.borderColor,t.fillStyle=s.backgroundColor,JA(t,g,b,v)}else{t.lineWidth=it(s.borderWidth)?Math.max(...Object.values(s.borderWidth)):s.borderWidth||1,t.strokeStyle=s.borderColor,t.setLineDash(s.borderDash||[]),t.lineDashOffset=s.borderDashOffset||0;const g=o.leftForLtr(u,l),b=o.leftForLtr(o.xPlus(u,1),l-2),v=Rn(s.borderRadius);Object.values(v).some(w=>w!==0)?(t.beginPath(),t.fillStyle=r.multiKeyBackground,Eo(t,{x:g,y:p,w:l,h:c,radius:v}),t.fill(),t.stroke(),t.fillStyle=s.backgroundColor,t.beginPath(),Eo(t,{x:b,y:p+1,w:l-2,h:c-2,radius:v}),t.fill()):(t.fillStyle=r.multiKeyBackground,t.fillRect(g,p,l,c),t.strokeRect(g,p,l,c),t.fillStyle=s.backgroundColor,t.fillRect(b,p+1,l-2,c-2))}t.fillStyle=this.labelTextColors[i]}drawBody(t,n,i){const{body:o}=this,{bodySpacing:r,bodyAlign:s,displayColors:a,boxHeight:c,boxWidth:l,boxPadding:A}=i,d=Tt(i.bodyFont);let u=d.lineHeight,h=0;const p=zn(i.rtl,this.x,this.width),g=function(C){n.fillText(C,p.x(t.x+h),t.y+u/2),t.y+=u+r},b=p.textAlign(s);let v,w,_,m,y,x,P;for(n.textAlign=s,n.textBaseline="middle",n.font=d.string,t.x=Wo(this,b,i),n.fillStyle=i.bodyColor,ct(this.beforeBody,g),h=a&&b!=="right"?s==="center"?l/2+A:l+2+A:0,m=0,x=o.length;m<x;++m){for(v=o[m],w=this.labelTextColors[m],n.fillStyle=w,ct(v.before,g),_=v.lines,a&&_.length&&(this._drawColorBox(n,t,m,p,i),u=Math.max(d.lineHeight,c)),y=0,P=_.length;y<P;++y)g(_[y]),u=d.lineHeight;ct(v.after,g)}h=0,u=d.lineHeight,ct(this.afterBody,g),t.y-=r}drawFooter(t,n,i){const o=this.footer,r=o.length;let s,a;if(r){const c=zn(i.rtl,this.x,this.width);for(t.x=Wo(this,i.footerAlign,i),t.y+=i.footerMarginTop,n.textAlign=c.textAlign(i.footerAlign),n.textBaseline="middle",s=Tt(i.footerFont),n.fillStyle=i.footerColor,n.font=s.string,a=0;a<r;++a)n.fillText(o[a],c.x(t.x),t.y+s.lineHeight/2),t.y+=s.lineHeight+i.footerSpacing}}drawBackground(t,n,i,o){const{xAlign:r,yAlign:s}=this,{x:a,y:c}=t,{width:l,height:A}=i,{topLeft:d,topRight:u,bottomLeft:h,bottomRight:p}=Rn(o.cornerRadius);n.fillStyle=o.backgroundColor,n.strokeStyle=o.borderColor,n.lineWidth=o.borderWidth,n.beginPath(),n.moveTo(a+d,c),s==="top"&&this.drawCaret(t,n,i,o),n.lineTo(a+l-u,c),n.quadraticCurveTo(a+l,c,a+l,c+u),s==="center"&&r==="right"&&this.drawCaret(t,n,i,o),n.lineTo(a+l,c+A-p),n.quadraticCurveTo(a+l,c+A,a+l-p,c+A),s==="bottom"&&this.drawCaret(t,n,i,o),n.lineTo(a+h,c+A),n.quadraticCurveTo(a,c+A,a,c+A-h),s==="center"&&r==="left"&&this.drawCaret(t,n,i,o),n.lineTo(a,c+d),n.quadraticCurveTo(a,c,a+d,c),n.closePath(),n.fill(),o.borderWidth>0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,i=this.$animations,o=i&&i.x,r=i&&i.y;if(o||r){const s=Oi[t.position].call(this,this._active,this._eventPosition);if(!s)return;const a=this._size=au(this,t),c=Object.assign({},s,this._size),l=cu(n,t,c),A=lu(t,c,l,n);(o._to!==A.x||r._to!==A.y)&&(this.xAlign=l.xAlign,this.yAlign=l.yAlign,this.width=a.width,this.height=a.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,A))}}_willRender(){return!!this.opacity}draw(t){const n=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(n);const o={width:this.width,height:this.height},r={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const s=re(n.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&a&&(t.save(),t.globalAlpha=i,this.drawBackground(r,t,o,n),Ad(t,n.textDirection),r.y+=s.top,this.drawTitle(r,t,n),this.drawBody(r,t,n),this.drawFooter(r,t,n),dd(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const i=this._active,o=t.map(({datasetIndex:a,index:c})=>{const l=this.chart.getDatasetMeta(a);if(!l)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:l.data[c],index:c}}),r=!xo(i,o),s=this._positionChanged(o,n);(r||s)&&(this._active=o,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,i=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const o=this.options,r=this._active||[],s=this._getActiveElements(t,r,n,i),a=this._positionChanged(s,t),c=n||!xo(s,r)||a;return c&&(this._active=s,(o.enabled||o.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),c}_getActiveElements(t,n,i,o){const r=this.options;if(t.type==="mouseout")return[];if(!o)return n.filter(a=>this.chart.data.datasets[a.datasetIndex]&&this.chart.getDatasetMeta(a.datasetIndex).controller.getParsed(a.index)!==void 0);const s=this.chart.getElementsAtEventForMode(t,r.mode,r,i);return r.reverse&&s.reverse(),s}_positionChanged(t,n){const{caretX:i,caretY:o,options:r}=this,s=Oi[r.position].call(this,t,n);return s!==!1&&(i!==s.x||o!==s.y)}}Z(qs,"positioners",Oi);var ny={id:"tooltip",_element:qs,positioners:Oi,afterInit(e,t,n){n&&(e.tooltip=new qs({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:uu},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const iy=(e,t,n,i)=>(typeof t=="string"?(n=e.push(t)-1,i.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function oy(e,t,n,i){const o=e.indexOf(t);if(o===-1)return iy(e,t,n,i);const r=e.lastIndexOf(t);return o!==r?n:o}const ry=(e,t)=>e===null?null:de(Math.round(e),0,t);function hu(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}class Xs extends jn{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const n=this._addedLabels;if(n.length){const i=this.getLabels();for(const{index:o,label:r}of n)i[o]===r&&i.splice(o,1);this._addedLabels=[]}super.init(t)}parse(t,n){if(ut(t))return null;const i=this.getLabels();return n=isFinite(n)&&i[n]===t?n:oy(i,t,st(n,t),this._addedLabels),ry(n,i.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:i,max:o}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(i=0),n||(o=this.getLabels().length-1)),this.min=i,this.max=o}buildTicks(){const t=this.min,n=this.max,i=this.options.offset,o=[];let r=this.getLabels();r=t===0&&n===r.length-1?r:r.slice(t,n+1),this._valueRange=Math.max(r.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let s=t;s<=n;s++)o.push({value:s});return o}getLabelForValue(t){return hu.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return typeof t!="number"&&(t=this.parse(t)),t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}Z(Xs,"id","category"),Z(Xs,"defaults",{ticks:{callback:hu}});function sy(e,t){const n=[],{bounds:o,step:r,min:s,max:a,precision:c,count:l,maxTicks:A,maxDigits:d,includeBounds:u}=e,h=r||1,p=A-1,{min:g,max:b}=t,v=!ut(s),w=!ut(a),_=!ut(l),m=(b-g)/(d+1);let y=QA((b-g)/p/h)*h,x,P,C,B;if(y<1e-14&&!v&&!w)return[{value:g},{value:b}];B=Math.ceil(b/y)-Math.floor(g/y),B>p&&(y=QA(B*y/p/h)*h),ut(c)||(x=Math.pow(10,c),y=Math.ceil(y*x)/x),o==="ticks"?(P=Math.floor(g/y)*y,C=Math.ceil(b/y)*y):(P=g,C=b),v&&w&&r&&eb((a-s)/r,y/1e3)?(B=Math.round(Math.min((a-s)/y,A)),y=(a-s)/B,P=s,C=a):_?(P=v?s:P,C=w?a:C,B=l-1,y=(C-P)/B):(B=(C-P)/y,Bo(B,Math.round(B),y/1e3)?B=Math.round(B):B=Math.ceil(B));const D=Math.max(LA(y),LA(P));x=Math.pow(10,ut(c)?D:c),P=Math.round(P*x)/x,C=Math.round(C*x)/x;let E=0;for(v&&(u&&P!==s?(n.push({value:s}),P<s&&E++,Bo(Math.round((P+E*y)*x)/x,s,fu(s,m,e))&&E++):P<s&&E++);E<B;++E){const S=Math.round((P+E*y)*x)/x;if(w&&S>a)break;n.push({value:S})}return w&&u&&C!==a?n.length&&Bo(n[n.length-1].value,a,fu(a,m,e))?n[n.length-1].value=a:n.push({value:a}):(!w||C===a)&&n.push({value:C}),n}function fu(e,t,{horizontal:n,minRotation:i}){const o=_e(i),r=(n?Math.sin(o):Math.cos(o))||.001,s=.75*t*(""+e).length;return Math.min(t/r,s)}class ay extends jn{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,n){return ut(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:n,maxDefined:i}=this.getUserBounds();let{min:o,max:r}=this;const s=c=>o=n?o:c,a=c=>r=i?r:c;if(t){const c=$e(o),l=$e(r);c<0&&l<0?a(0):c>0&&l>0&&s(0)}if(o===r){let c=r===0?1:Math.abs(r*.05);a(r+c),t||s(o-c)}this.min=o,this.max=r}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:i}=t,o;return i?(o=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,o>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${o} ticks. Limiting to 1000.`),o=1e3)):(o=this.computeTickLimit(),n=n||11),n&&(o=Math.min(n,o)),o}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,n=t.ticks;let i=this.getTickLimit();i=Math.max(2,i);const o={maxTicks:i,bounds:t.bounds,min:t.min,max:t.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},r=this._range||this,s=sy(o,r);return t.bounds==="ticks"&&nb(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const t=this.ticks;let n=this.min,i=this.max;if(super.configure(),this.options.offset&&t.length){const o=(i-n)/Math.max(t.length-1,1)/2;n-=o,i+=o}this._startValue=n,this._endValue=i,this._valueRange=i-n}getLabelForValue(t){return Co(t,this.chart.options.locale,this.options.ticks.format)}}class Gs extends ay{determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=oe(t)?t:0,this.max=oe(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),n=t?this.width:this.height,i=_e(this.options.ticks.minRotation),o=(t?Math.sin(i):Math.cos(i))||.001,r=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,r.lineHeight/o))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}Z(Gs,"id","linear"),Z(Gs,"defaults",{ticks:{callback:qA.formatters.numeric}});const Yo={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Ut=Object.keys(Yo);function pu(e,t){return e-t}function gu(e,t){if(ut(t))return null;const n=e._adapter,{parser:i,round:o,isoWeekday:r}=e._parseOpts;let s=t;return typeof i=="function"&&(s=i(s)),oe(s)||(s=typeof i=="string"?n.parse(s,i):n.parse(s)),s===null?null:(o&&(s=o==="week"&&(ko(r)||r===!0)?n.startOf(s,"isoWeek",r):n.startOf(s,o)),+s)}function mu(e,t,n,i){const o=Ut.length;for(let r=Ut.indexOf(e);r<o-1;++r){const s=Yo[Ut[r]],a=s.steps?s.steps:Number.MAX_SAFE_INTEGER;if(s.common&&Math.ceil((n-t)/(a*s.size))<=i)return Ut[r]}return Ut[o-1]}function cy(e,t,n,i,o){for(let r=Ut.length-1;r>=Ut.indexOf(n);r--){const s=Ut[r];if(Yo[s].common&&e._adapter.diff(o,i,s)>=t-1)return s}return Ut[n?Ut.indexOf(n):0]}function ly(e){for(let t=Ut.indexOf(e)+1,n=Ut.length;t<n;++t)if(Yo[Ut[t]].common)return Ut[t]}function bu(e,t,n){if(!n)e[t]=!0;else if(n.length){const{lo:i,hi:o}=ys(n,t),r=n[i]>=t?n[i]:n[o];e[r]=!0}}function Ay(e,t,n,i){const o=e._adapter,r=+o.startOf(t[0].value,i),s=t[t.length-1].value;let a,c;for(a=r;a<=s;a=+o.add(a,1,i))c=n[a],c>=0&&(t[c].major=!0);return t}function vu(e,t,n){const i=[],o={},r=t.length;let s,a;for(s=0;s<r;++s)a=t[s],o[a]=s,i.push({value:a,major:!1});return r===0||!n?i:Ay(e,i,o,n)}class Ko extends jn{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,n={}){const i=t.time||(t.time={}),o=this._adapter=new vv._date(t.adapters.date);o.init(n),wi(i.displayFormats,o.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(t),this._normalized=n.normalized}parse(t,n){return t===void 0?null:gu(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,n=this._adapter,i=t.time.unit||"day";let{min:o,max:r,minDefined:s,maxDefined:a}=this.getUserBounds();function c(l){!s&&!isNaN(l.min)&&(o=Math.min(o,l.min)),!a&&!isNaN(l.max)&&(r=Math.max(r,l.max))}(!s||!a)&&(c(this._getLabelBounds()),(t.bounds!=="ticks"||t.ticks.source!=="labels")&&c(this.getMinMax(!1))),o=oe(o)&&!isNaN(o)?o:+n.startOf(Date.now(),i),r=oe(r)&&!isNaN(r)?r:+n.endOf(Date.now(),i)+1,this.min=Math.min(o,r-1),this.max=Math.max(o+1,r)}_getLabelBounds(){const t=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return t.length&&(n=t[0],i=t[t.length-1]),{min:n,max:i}}buildTicks(){const t=this.options,n=t.time,i=t.ticks,o=i.source==="labels"?this.getLabelTimestamps():this._generate();t.bounds==="ticks"&&o.length&&(this.min=this._userMin||o[0],this.max=this._userMax||o[o.length-1]);const r=this.min,s=this.max,a=cb(o,r,s);return this._unit=n.unit||(i.autoSkip?mu(n.minUnit,this.min,this.max,this._getLabelCapacity(r)):cy(this,a.length,n.minUnit,this.min,this.max)),this._majorUnit=!i.major.enabled||this._unit==="year"?void 0:ly(this._unit),this.initOffsets(o),t.reverse&&a.reverse(),vu(this,a,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t=[]){let n=0,i=0,o,r;this.options.offset&&t.length&&(o=this.getDecimalForValue(t[0]),t.length===1?n=1-o:n=(this.getDecimalForValue(t[1])-o)/2,r=this.getDecimalForValue(t[t.length-1]),t.length===1?i=r:i=(r-this.getDecimalForValue(t[t.length-2]))/2);const s=t.length<3?.5:.25;n=de(n,0,s),i=de(i,0,s),this._offsets={start:n,end:i,factor:1/(n+1+i)}}_generate(){const t=this._adapter,n=this.min,i=this.max,o=this.options,r=o.time,s=r.unit||mu(r.minUnit,n,i,this._getLabelCapacity(n)),a=st(o.ticks.stepSize,1),c=s==="week"?r.isoWeekday:!1,l=ko(c)||c===!0,A={};let d=n,u,h;if(l&&(d=+t.startOf(d,"isoWeek",c)),d=+t.startOf(d,l?"day":s),t.diff(i,n,s)>1e5*a)throw new Error(n+" and "+i+" are too far apart with stepSize of "+a+" "+s);const p=o.ticks.source==="data"&&this.getDataTimestamps();for(u=d,h=0;u<i;u=+t.add(u,a,s),h++)bu(A,u,p);return(u===i||o.bounds==="ticks"||h===1)&&bu(A,u,p),Object.keys(A).sort(pu).map(g=>+g)}getLabelForValue(t){const n=this._adapter,i=this.options.time;return i.tooltipFormat?n.format(t,i.tooltipFormat):n.format(t,i.displayFormats.datetime)}format(t,n){const o=this.options.time.displayFormats,r=this._unit,s=n||o[r];return this._adapter.format(t,s)}_tickFormatFunction(t,n,i,o){const r=this.options,s=r.ticks.callback;if(s)return ht(s,[t,n,i],this);const a=r.time.displayFormats,c=this._unit,l=this._majorUnit,A=c&&a[c],d=l&&a[l],u=i[n],h=l&&d&&u&&u.major;return this._adapter.format(t,o||(h?d:A))}generateTickLabels(t){let n,i,o;for(n=0,i=t.length;n<i;++n)o=t[n],o.label=this._tickFormatFunction(o.value,n,t)}getDecimalForValue(t){return t===null?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const n=this._offsets,i=this.getDecimalForValue(t);return this.getPixelForDecimal((n.start+i)*n.factor)}getValueForPixel(t){const n=this._offsets,i=this.getDecimalForPixel(t)/n.factor-n.end;return this.min+i*(this.max-this.min)}_getLabelSize(t){const n=this.options.ticks,i=this.ctx.measureText(t).width,o=_e(this.isHorizontal()?n.maxRotation:n.minRotation),r=Math.cos(o),s=Math.sin(o),a=this._resolveTickFontOptions(0).size;return{w:i*r+a*s,h:i*s+a*r}}_getLabelCapacity(t){const n=this.options.time,i=n.displayFormats,o=i[n.unit]||i.millisecond,r=this._tickFormatFunction(t,0,vu(this,[t],this._majorUnit),o),s=this._getLabelSize(r),a=Math.floor(this.isHorizontal()?this.width/s.w:this.height/s.h)-1;return a>0?a:1}getDataTimestamps(){let t=this._cache.data||[],n,i;if(t.length)return t;const o=this.getMatchingVisibleMetas();if(this._normalized&&o.length)return this._cache.data=o[0].controller.getAllParsedValues(this);for(n=0,i=o.length;n<i;++n)t=t.concat(o[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(t)}getLabelTimestamps(){const t=this._cache.labels||[];let n,i;if(t.length)return t;const o=this.getLabels();for(n=0,i=o.length;n<i;++n)t.push(gu(this,o[n]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return FA(t.sort(pu))}}Z(Ko,"id","time"),Z(Ko,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function qo(e,t,n){let i=0,o=e.length-1,r,s,a,c;n?(t>=e[i].pos&&t<=e[o].pos&&({lo:i,hi:o}=xs(e,"pos",t)),{pos:r,time:a}=e[i],{pos:s,time:c}=e[o]):(t>=e[i].time&&t<=e[o].time&&({lo:i,hi:o}=xs(e,"time",t)),{time:r,pos:a}=e[i],{time:s,pos:c}=e[o]);const l=s-r;return l?a+(c-a)*(t-r)/l:a}class wu extends Ko{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(t);this._minPos=qo(n,this.min),this._tableRange=qo(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:i}=this,o=[],r=[];let s,a,c,l,A;for(s=0,a=t.length;s<a;++s)l=t[s],l>=n&&l<=i&&o.push(l);if(o.length<2)return[{time:n,pos:0},{time:i,pos:1}];for(s=0,a=o.length;s<a;++s)A=o[s+1],c=o[s-1],l=o[s],Math.round((A+c)/2)!==l&&r.push({time:l,pos:s/(a-1)});return r}_generate(){const t=this.min,n=this.max;let i=super.getDataTimestamps();return(!i.includes(t)||!i.length)&&i.splice(0,0,t),(!i.includes(n)||i.length===1)&&i.push(n),i.sort((o,r)=>o-r)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const n=this.getDataTimestamps(),i=this.getLabelTimestamps();return n.length&&i.length?t=this.normalize(n.concat(i)):t=n.length?n:i,t=this._cache.all=t,t}getDecimalForValue(t){return(qo(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const n=this._offsets,i=this.getDecimalForPixel(t)/n.factor-n.end;return qo(this._table,i*this._tableRange+this._minPos,!0)}}Z(wu,"id","timeseries"),Z(wu,"defaults",Ko.defaults),Vs.register(zw,Oo,Vo,Xs,Gs,Yw,qw,ny);function dy({type:e="bar",data:t,options:n}){const i=q(null),o=q(null);return Wt(()=>{o.current&&(i.current?(i.current.options=n,i.current.data=t,i.current.update()):i.current=new Vs(o.current,{type:e,data:t,options:n}))},[e,t,n]),f("div",{class:"chart",children:f("canvas",{ref:o})})}const yu=["--teal-700","--yellow-400","--teal-400","--orange-400","--green-400","--red-400"],Js=["0 - 1s","1 - 30s","30s - 30min","30 - 60min","1 - 5hr","5 - 10hr","10 - 18hr","18+hr"],Zs=(e,t,n=0)=>`${e.toFixed(n)} ${t}${e==1?"":"s"}`,xu=e=>{const t=e/3600;if(t>=1)return Zs(t,"hour",1);const n=e/60;return n>=1?Zs(n,"minute",0):Zs(e,"second",0)},Xo=e=>e.replace(/ \([^)]+\)/,"");function uy({infoGroupId:e}){const[t,n]=R("overview"),i=lh(e).filter(l=>l.cider_type=="Compute"),o=Lt(i.length?i.map(l=>`https://rest-test.ccr.xdmod.org/rest/v0.1/custom_queries/wait_times/${l.info_resourceid}/`):null,{defaultValue:[]}),r=Lt(t!=="overview"?`https://rest-test.ccr.xdmod.org/rest/v0.1/custom_queries/wait_times/${t}/queue/job_walltime`:null);if(!o.length||!i.length)return;const s=o.map((l,A)=>l.error?l:{...l.data[0],...i[A]}).filter(l=>!l.error);if(!s.length)return;const a=[f("select",{value:t,onChange:l=>n(l.target.value),children:[f("option",{value:"overview",children:"Overview"}),s.map(l=>f("option",{value:l.info_resourceid,children:Xo(l.resource_descriptive_name)}))]})];let c=null;if(t==="overview")c=f("div",{class:"cards",children:s.map(({info_resourceid:l,job_count:A,median_expansion_factor:d,median_wait_time:u,median_wall_time:h,resource_descriptive_name:p})=>f("p",{class:"card metrics-overview",children:[f("b",{children:[Xo(p),":"]})," Users ran"," ",f("strong",{children:[f(nt,{name:"file-earmark-code"}),parseInt(A).toLocaleString("en-us")," jobs"]})," ","during the last 30 days. Waiting in the queue caused an average"," ",f("strong",{children:[f(nt,{name:"calculator"}),((d-1)*100).toLocaleString("en-us",{maximumFractionDigits:0}),"% increase"]})," ","in the total completion time. The average job waited for"," ",f("strong",{children:[f(nt,{name:"hourglass-split"})," ",xu(u)]})," ","and ran for"," ",f("strong",{children:[f(nt,{name:"stopwatch"}),xu(h)]}),"."," ",f("a",{title:`Wait time chart for ${Xo(p)}`,href:"#",onClick:g=>{g.preventDefault(),n(l)},children:"View chart »"})]}))});else if(r&&r.info_resource_id===t){const l={},A=Js;for(let p of r.data)l[p.queue]=l[p.queue]||{label:p.queue,data:Array(Js.length).fill(null)},l[p.queue].data[Js.indexOf(p.job_walltime)]=p.median_wait_time/60;const d=Object.values(l);d.forEach((p,g)=>{let b=yu[g%(yu.length-1)];p.backgroundColor=getComputedStyle(document.body).getPropertyValue(b)});const u=s.find(p=>p.info_resourceid==r.info_resource_id),h={interaction:{intersect:!1,mode:"index"},plugins:{title:{display:!0,text:`Median Wait Time by Queue on ${Xo(u.resource_descriptive_name)}: Last 30 Days`}},scales:{x:{title:{display:!0,text:"Job Wall Time (Run Time)"}},y:{title:{display:!0,text:"Median Wait Time (Minutes)"}}}};c=f(N,{children:[f(dy,{type:"bar",data:{labels:A,datasets:d},options:h}),f("p",{children:f("a",{href:"#",onClick:p=>{p.preventDefault(),n("overview")},children:"« Back to overview"})})]})}return f(be,{title:"Wait Time",icon:"hourglass-split",headerComponents:a,children:[c,f("p",{class:"metrics-disclaimer",children:[f(nt,{name:"info-circle"}),"These metrics describe activity from ACCESS projects. Many resources have additional projects that are not part of ACCESS."]})]})}function Fe(e){return Array.isArray?Array.isArray(e):Bu(e)==="[object Array]"}const hy=1/0;function fy(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-hy?"-0":t}function py(e){return e==null?"":fy(e)}function ke(e){return typeof e=="string"}function _u(e){return typeof e=="number"}function gy(e){return e===!0||e===!1||my(e)&&Bu(e)=="[object Boolean]"}function Pu(e){return typeof e=="object"}function my(e){return Pu(e)&&e!==null}function Gt(e){return e!=null}function $s(e){return!e.trim().length}function Bu(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const m1="Extended search is not available",by="Incorrect 'index' type",vy=e=>`Invalid value for key ${e}`,wy=e=>`Pattern length exceeds max of ${e}.`,yy=e=>`Missing ${e} property in key`,xy=e=>`Property 'weight' in key '${e}' must be a positive integer`,ku=Object.prototype.hasOwnProperty;class _y{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(i=>{let o=Du(i);this._keys.push(o),this._keyMap[o.id]=o,n+=o.weight}),this._keys.forEach(i=>{i.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Du(e){let t=null,n=null,i=null,o=1,r=null;if(ke(e)||Fe(e))i=e,t=Cu(e),n=ta(e);else{if(!ku.call(e,"name"))throw new Error(yy("name"));const s=e.name;if(i=s,ku.call(e,"weight")&&(o=e.weight,o<=0))throw new Error(xy(s));t=Cu(s),n=ta(s),r=e.getFn}return{path:t,id:n,weight:o,src:i,getFn:r}}function Cu(e){return Fe(e)?e:e.split(".")}function ta(e){return Fe(e)?e.join("."):e}function Py(e,t){let n=[],i=!1;const o=(r,s,a)=>{if(Gt(r))if(!s[a])n.push(r);else{let c=s[a];const l=r[c];if(!Gt(l))return;if(a===s.length-1&&(ke(l)||_u(l)||gy(l)))n.push(py(l));else if(Fe(l)){i=!0;for(let A=0,d=l.length;A<d;A+=1)o(l[A],s,a+1)}else s.length&&o(l,s,a+1)}};return o(e,ke(t)?t.split("."):t,0),i?n:n[0]}var W={...{isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},...{includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},...{location:0,threshold:.6,distance:100},...{useExtendedSearch:!1,getFn:Py,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const By=/[^ ]+/g;function ky(e=1,t=3){const n=new Map,i=Math.pow(10,t);return{get(o){const r=o.match(By).length;if(n.has(r))return n.get(r);const s=1/Math.pow(r,.5*e),a=parseFloat(Math.round(s*i)/i);return n.set(r,a),a},clear(){n.clear()}}}class ea{constructor({getFn:t=W.getFn,fieldNormWeight:n=W.fieldNormWeight}={}){this.norm=ky(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,i)=>{this._keysMap[n.id]=i})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,ke(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();ke(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,i=this.size();n<i;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!Gt(t)||$s(t))return;let i={v:t,i:n,n:this.norm.get(t)};this.records.push(i)}_addObject(t,n){let i={i:n,$:{}};this.keys.forEach((o,r)=>{let s=o.getFn?o.getFn(t):this.getFn(t,o.path);if(Gt(s)){if(Fe(s)){let a=[];const c=[{nestedArrIndex:-1,value:s}];for(;c.length;){const{nestedArrIndex:l,value:A}=c.pop();if(Gt(A))if(ke(A)&&!$s(A)){let d={v:A,i:l,n:this.norm.get(A)};a.push(d)}else Fe(A)&&A.forEach((d,u)=>{c.push({nestedArrIndex:u,value:d})})}i.$[r]=a}else if(ke(s)&&!$s(s)){let a={v:s,n:this.norm.get(s)};i.$[r]=a}}}),this.records.push(i)}toJSON(){return{keys:this.keys,records:this.records}}}function Eu(e,t,{getFn:n=W.getFn,fieldNormWeight:i=W.fieldNormWeight}={}){const o=new ea({getFn:n,fieldNormWeight:i});return o.setKeys(e.map(Du)),o.setSources(t),o.create(),o}function Dy(e,{getFn:t=W.getFn,fieldNormWeight:n=W.fieldNormWeight}={}){const{keys:i,records:o}=e,r=new ea({getFn:t,fieldNormWeight:n});return r.setKeys(i),r.setIndexRecords(o),r}function Go(e,{errors:t=0,currentLocation:n=0,expectedLocation:i=0,distance:o=W.distance,ignoreLocation:r=W.ignoreLocation}={}){const s=t/e.length;if(r)return s;const a=Math.abs(i-n);return o?s+a/o:a?1:s}function Cy(e=[],t=W.minMatchCharLength){let n=[],i=-1,o=-1,r=0;for(let s=e.length;r<s;r+=1){let a=e[r];a&&i===-1?i=r:!a&&i!==-1&&(o=r-1,o-i+1>=t&&n.push([i,o]),i=-1)}return e[r-1]&&r-i>=t&&n.push([i,r-1]),n}const bn=32;function Ey(e,t,n,{location:i=W.location,distance:o=W.distance,threshold:r=W.threshold,findAllMatches:s=W.findAllMatches,minMatchCharLength:a=W.minMatchCharLength,includeMatches:c=W.includeMatches,ignoreLocation:l=W.ignoreLocation}={}){if(t.length>bn)throw new Error(wy(bn));const A=t.length,d=e.length,u=Math.max(0,Math.min(i,d));let h=r,p=u;const g=a>1||c,b=g?Array(d):[];let v;for(;(v=e.indexOf(t,p))>-1;){let P=Go(t,{currentLocation:v,expectedLocation:u,distance:o,ignoreLocation:l});if(h=Math.min(P,h),p=v+A,g){let C=0;for(;C<A;)b[v+C]=1,C+=1}}p=-1;let w=[],_=1,m=A+d;const y=1<<A-1;for(let P=0;P<A;P+=1){let C=0,B=m;for(;C<B;)Go(t,{errors:P,currentLocation:u+B,expectedLocation:u,distance:o,ignoreLocation:l})<=h?C=B:m=B,B=Math.floor((m-C)/2+C);m=B;let D=Math.max(1,u-B+1),E=s?d:Math.min(u+B,d)+A,S=Array(E+2);S[E+1]=(1<<P)-1;for(let O=E;O>=D;O-=1){let M=O-1,T=n[e.charAt(M)];if(g&&(b[M]=+!!T),S[O]=(S[O+1]<<1|1)&T,P&&(S[O]|=(w[O+1]|w[O])<<1|1|w[O+1]),S[O]&y&&(_=Go(t,{errors:P,currentLocation:M,expectedLocation:u,distance:o,ignoreLocation:l}),_<=h)){if(h=_,p=M,p<=u)break;D=Math.max(1,2*u-p)}}if(Go(t,{errors:P+1,currentLocation:u,expectedLocation:u,distance:o,ignoreLocation:l})>h)break;w=S}const x={isMatch:p>=0,score:Math.max(.001,_)};if(g){const P=Cy(b,a);P.length?c&&(x.indices=P):x.isMatch=!1}return x}function Sy(e){let t={};for(let n=0,i=e.length;n<i;n+=1){const o=e.charAt(n);t[o]=(t[o]||0)|1<<i-n-1}return t}class Su{constructor(t,{location:n=W.location,threshold:i=W.threshold,distance:o=W.distance,includeMatches:r=W.includeMatches,findAllMatches:s=W.findAllMatches,minMatchCharLength:a=W.minMatchCharLength,isCaseSensitive:c=W.isCaseSensitive,ignoreLocation:l=W.ignoreLocation}={}){if(this.options={location:n,threshold:i,distance:o,includeMatches:r,findAllMatches:s,minMatchCharLength:a,isCaseSensitive:c,ignoreLocation:l},this.pattern=c?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const A=(u,h)=>{this.chunks.push({pattern:u,alphabet:Sy(u),startIndex:h})},d=this.pattern.length;if(d>bn){let u=0;const h=d%bn,p=d-h;for(;u<p;)A(this.pattern.substr(u,bn),u),u+=bn;if(h){const g=d-bn;A(this.pattern.substr(g),g)}}else A(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,includeMatches:i}=this.options;if(n||(t=t.toLowerCase()),this.pattern===t){let p={isMatch:!0,score:0};return i&&(p.indices=[[0,t.length-1]]),p}const{location:o,distance:r,threshold:s,findAllMatches:a,minMatchCharLength:c,ignoreLocation:l}=this.options;let A=[],d=0,u=!1;this.chunks.forEach(({pattern:p,alphabet:g,startIndex:b})=>{const{isMatch:v,score:w,indices:_}=Ey(t,p,g,{location:o+b,distance:r,threshold:s,findAllMatches:a,minMatchCharLength:c,includeMatches:i,ignoreLocation:l});v&&(u=!0),d+=w,v&&_&&(A=[...A,..._])});let h={isMatch:u,score:u?d/this.chunks.length:1};return u&&i&&(h.indices=A),h}}class en{constructor(t){this.pattern=t}static isMultiMatch(t){return Mu(t,this.multiRegex)}static isSingleMatch(t){return Mu(t,this.singleRegex)}search(){}}function Mu(e,t){const n=e.match(t);return n?n[1]:null}class My extends en{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class Ty extends en{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const i=t.indexOf(this.pattern)===-1;return{isMatch:i,score:i?0:1,indices:[0,t.length-1]}}}class Iy extends en{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class Oy extends en{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class Qy extends en{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class Ly extends en{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class Tu extends en{constructor(t,{location:n=W.location,threshold:i=W.threshold,distance:o=W.distance,includeMatches:r=W.includeMatches,findAllMatches:s=W.findAllMatches,minMatchCharLength:a=W.minMatchCharLength,isCaseSensitive:c=W.isCaseSensitive,ignoreLocation:l=W.ignoreLocation}={}){super(t),this._bitapSearch=new Su(t,{location:n,threshold:i,distance:o,includeMatches:r,findAllMatches:s,minMatchCharLength:a,isCaseSensitive:c,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class Iu extends en{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,i;const o=[],r=this.pattern.length;for(;(i=t.indexOf(this.pattern,n))>-1;)n=i+r,o.push([i,n-1]);const s=!!o.length;return{isMatch:s,score:s?0:1,indices:o}}}const na=[My,Iu,Iy,Oy,Ly,Qy,Ty,Tu],Ou=na.length,Ry=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,Hy="|";function Fy(e,t={}){return e.split(Hy).map(n=>{let i=n.trim().split(Ry).filter(r=>r&&!!r.trim()),o=[];for(let r=0,s=i.length;r<s;r+=1){const a=i[r];let c=!1,l=-1;for(;!c&&++l<Ou;){const A=na[l];let d=A.isMultiMatch(a);d&&(o.push(new A(d,t)),c=!0)}if(!c)for(l=-1;++l<Ou;){const A=na[l];let d=A.isSingleMatch(a);if(d){o.push(new A(d,t));break}}}return o})}const zy=new Set([Tu.type,Iu.type]);class Ny{constructor(t,{isCaseSensitive:n=W.isCaseSensitive,includeMatches:i=W.includeMatches,minMatchCharLength:o=W.minMatchCharLength,ignoreLocation:r=W.ignoreLocation,findAllMatches:s=W.findAllMatches,location:a=W.location,threshold:c=W.threshold,distance:l=W.distance}={}){this.query=null,this.options={isCaseSensitive:n,includeMatches:i,minMatchCharLength:o,findAllMatches:s,ignoreLocation:r,location:a,threshold:c,distance:l},this.pattern=n?t:t.toLowerCase(),this.query=Fy(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:i,isCaseSensitive:o}=this.options;t=o?t:t.toLowerCase();let r=0,s=[],a=0;for(let c=0,l=n.length;c<l;c+=1){const A=n[c];s.length=0,r=0;for(let d=0,u=A.length;d<u;d+=1){const h=A[d],{isMatch:p,indices:g,score:b}=h.search(t);if(p){if(r+=1,a+=b,i){const v=h.constructor.type;zy.has(v)?s=[...s,...g]:s.push(g)}}else{a=0,r=0,s.length=0;break}}if(r){let d={isMatch:!0,score:a/r};return i&&(d.indices=s),d}}return{isMatch:!1,score:1}}}const ia=[];function jy(...e){ia.push(...e)}function oa(e,t){for(let n=0,i=ia.length;n<i;n+=1){let o=ia[n];if(o.condition(e,t))return new o(e,t)}return new Su(e,t)}const Jo={AND:"$and",OR:"$or"},ra={PATH:"$path",PATTERN:"$val"},sa=e=>!!(e[Jo.AND]||e[Jo.OR]),Uy=e=>!!e[ra.PATH],Vy=e=>!Fe(e)&&Pu(e)&&!sa(e),Qu=e=>({[Jo.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Lu(e,t,{auto:n=!0}={}){const i=o=>{let r=Object.keys(o);const s=Uy(o);if(!s&&r.length>1&&!sa(o))return i(Qu(o));if(Vy(o)){const c=s?o[ra.PATH]:r[0],l=s?o[ra.PATTERN]:o[c];if(!ke(l))throw new Error(vy(c));const A={keyId:ta(c),pattern:l};return n&&(A.searcher=oa(l,t)),A}let a={children:[],operator:r[0]};return r.forEach(c=>{const l=o[c];Fe(l)&&l.forEach(A=>{a.children.push(i(A))})}),a};return sa(e)||(e=Qu(e)),i(e)}function Wy(e,{ignoreFieldNorm:t=W.ignoreFieldNorm}){e.forEach(n=>{let i=1;n.matches.forEach(({key:o,norm:r,score:s})=>{const a=o?o.weight:null;i*=Math.pow(s===0&&a?Number.EPSILON:s,(a||1)*(t?1:r))}),n.score=i})}function Yy(e,t){const n=e.matches;t.matches=[],Gt(n)&&n.forEach(i=>{if(!Gt(i.indices)||!i.indices.length)return;const{indices:o,value:r}=i;let s={indices:o,value:r};i.key&&(s.key=i.key.src),i.idx>-1&&(s.refIndex=i.idx),t.matches.push(s)})}function Ky(e,t){t.score=e.score}function qy(e,t,{includeMatches:n=W.includeMatches,includeScore:i=W.includeScore}={}){const o=[];return n&&o.push(Yy),i&&o.push(Ky),e.map(r=>{const{idx:s}=r,a={item:t[s],refIndex:s};return o.length&&o.forEach(c=>{c(r,a)}),a})}class Un{constructor(t,n={},i){this.options={...W,...n},this.options.useExtendedSearch,this._keyStore=new _y(this.options.keys),this.setCollection(t,i)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof ea))throw new Error(by);this._myIndex=n||Eu(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){Gt(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let i=0,o=this._docs.length;i<o;i+=1){const r=this._docs[i];t(r,i)&&(this.removeAt(i),i-=1,o-=1,n.push(r))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:i,includeScore:o,shouldSort:r,sortFn:s,ignoreFieldNorm:a}=this.options;let c=ke(t)?ke(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return Wy(c,{ignoreFieldNorm:a}),r&&c.sort(s),_u(n)&&n>-1&&(c=c.slice(0,n)),qy(c,this._docs,{includeMatches:i,includeScore:o})}_searchStringList(t){const n=oa(t,this.options),{records:i}=this._myIndex,o=[];return i.forEach(({v:r,i:s,n:a})=>{if(!Gt(r))return;const{isMatch:c,score:l,indices:A}=n.searchIn(r);c&&o.push({item:r,idx:s,matches:[{score:l,value:r,norm:a,indices:A}]})}),o}_searchLogical(t){const n=Lu(t,this.options),i=(a,c,l)=>{if(!a.children){const{keyId:d,searcher:u}=a,h=this._findMatches({key:this._keyStore.get(d),value:this._myIndex.getValueForItemAtKeyId(c,d),searcher:u});return h&&h.length?[{idx:l,item:c,matches:h}]:[]}const A=[];for(let d=0,u=a.children.length;d<u;d+=1){const h=a.children[d],p=i(h,c,l);if(p.length)A.push(...p);else if(a.operator===Jo.AND)return[]}return A},o=this._myIndex.records,r={},s=[];return o.forEach(({$:a,i:c})=>{if(Gt(a)){let l=i(n,a,c);l.length&&(r[c]||(r[c]={idx:c,item:a,matches:[]},s.push(r[c])),l.forEach(({matches:A})=>{r[c].matches.push(...A)}))}}),s}_searchObjectList(t){const n=oa(t,this.options),{keys:i,records:o}=this._myIndex,r=[];return o.forEach(({$:s,i:a})=>{if(!Gt(s))return;let c=[];i.forEach((l,A)=>{c.push(...this._findMatches({key:l,value:s[A],searcher:n}))}),c.length&&r.push({idx:a,item:s,matches:c})}),r}_findMatches({key:t,value:n,searcher:i}){if(!Gt(n))return[];let o=[];if(Fe(n))n.forEach(({v:r,i:s,n:a})=>{if(!Gt(r))return;const{isMatch:c,score:l,indices:A}=i.searchIn(r);c&&o.push({score:l,key:t,value:r,idx:s,norm:a,indices:A})});else{const{v:r,n:s}=n,{isMatch:a,score:c,indices:l}=i.searchIn(r);a&&o.push({score:c,key:t,value:r,norm:s,indices:l})}return o}}Un.version="7.0.0",Un.createIndex=Eu,Un.parseIndex=Dy,Un.config=W,Un.parseQuery=Lu,jy(Ny);function Xy({highlight:e,text:t}){if(!e||!e.length)return t;const n=new RegExp(e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"gi"),i=[...t.matchAll(n)];if(!i.length)return t;const o=[];let r=0;for(let s of i)s.index>r&&o.push(t.substr(r,s.index)),o.push(f("span",{class:"highlight",children:s[0]})),r=s.index+s[0].length;return o.push(t.substr(r)),o}function Gy({delay:e=300,placeholder:t,setSearchText:n,width:i="calc(var(--width) / 4)"}){const o=q(null),r=q(null),[s,a]=R(""),c=()=>{a(""),n(""),o.current.value="",o.current.focus()};return Wt(()=>{o.current&&o.current.addEventListener("keyup",()=>{r.current&&clearTimeout(r.current),r.current=setTimeout(()=>{r.current=null,n(o.current.value),a(o.current.value)},e)})},[o.current]),f(N,{children:f("div",{class:"search",children:[f("input",{placeholder:t,style:{width:i},ref:o}),s.length?f("button",{class:"btn btn-clear",title:"Clear search",onClick:c,children:f(nt,{name:"x-lg"})}):null]})})}const Jy=["software_name","software_description","software_web_page","software_documentation","software_use_link"];function Zy({infoGroupId:e}){const t=Lt(`https://ara-db.ccs.uky.edu/api=API_0/z0CiQbts8t4pnv6fJQD4g9nskbCOl6UD-67akYK68wk/rp=${e}?include=${Jy.join(",")}`),[n,i]=R(""),o=kt(()=>t&&t.length?new Un(t,{keys:[{name:"software_name",weight:.6},{name:"software_description",weight:.4}]}):null,[t]);if(!t||!t.length)return;const r=u=>f(Xy,{text:u,highlight:n}),l=[{key:"software_name",name:"Package",format:(u,h)=>{const p=[],g=r(u),b=h.software_web_page||h.software_documentation;return p.push(b?f("a",{href:b,children:g}):g),h.software_documentation&&p.push(f(N,{children:" "}),f("a",{href:h.software_documentation,title:`Documentation for ${u}`,children:f(nt,{name:"book"})})),h.software_use_link&&h.software_use_link!=h.software_documentation&&p.push(f(N,{children:" "}),f("a",{href:h.software_use_link.split(`
|
|
96
|
-
`)[0].trim(),title:`Usage example for ${
|
|
135
|
+
`):e}function __(e,t){const{element:n,datasetIndex:r,index:i}=t,o=e.getDatasetMeta(r).controller,{label:s,value:a}=o.getLabelAndValue(i);return{chart:e,label:s,parsed:o.getParsed(i),raw:e.data.datasets[r].data[i],formattedValue:a,dataset:o.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function cp(e,t){const n=e.chart.ctx,{body:r,footer:i,title:o}=e,{boxWidth:s,boxHeight:a}=t,l=Xt(t.bodyFont),c=Xt(t.titleFont),u=Xt(t.footerFont),d=o.length,A=i.length,f=r.length,h=Se(t.padding);let p=h.height,g=0,b=r.reduce((v,_)=>v+_.before.length+_.lines.length+_.after.length,0);if(b+=e.beforeBody.length+e.afterBody.length,d&&(p+=d*c.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),b){const v=t.displayColors?Math.max(a,l.lineHeight):l.lineHeight;p+=f*v+(b-f)*l.lineHeight+(b-1)*t.bodySpacing}A&&(p+=t.footerMarginTop+A*u.lineHeight+(A-1)*t.footerSpacing);let w=0;const y=function(v){g=Math.max(g,n.measureText(v).width+w)};return n.save(),n.font=c.string,bt(e.title,y),n.font=l.string,bt(e.beforeBody.concat(e.afterBody),y),w=t.displayColors?s+2+t.boxPadding:0,bt(r,v=>{bt(v.before,y),bt(v.lines,y),bt(v.after,y)}),w=0,n.font=u.string,bt(e.footer,y),n.restore(),g+=h.width,{width:g,height:p}}function S_(e,t){const{y:n,height:r}=t;return n<r/2?"top":n>e.height-r/2?"bottom":"center"}function E_(e,t,n,r){const{x:i,width:o}=r,s=n.caretSize+n.caretPadding;if(e==="left"&&i+o+s>t.width||e==="right"&&i-o-s<0)return!0}function C_(e,t,n,r){const{x:i,width:o}=n,{width:s,chartArea:{left:a,right:l}}=e;let c="center";return r==="center"?c=i<=(a+l)/2?"left":"right":i<=o/2?c="left":i>=s-o/2&&(c="right"),E_(c,e,t,n)&&(c="center"),c}function up(e,t,n){const r=n.yAlign||t.yAlign||S_(e,n);return{xAlign:n.xAlign||t.xAlign||C_(e,t,n,r),yAlign:r}}function P_(e,t){let{x:n,width:r}=e;return t==="right"?n-=r:t==="center"&&(n-=r/2),n}function D_(e,t,n){let{y:r,height:i}=e;return t==="top"?r+=n:t==="bottom"?r-=i+n:r-=i/2,r}function dp(e,t,n,r){const{caretSize:i,caretPadding:o,cornerRadius:s}=e,{xAlign:a,yAlign:l}=n,c=i+o,{topLeft:u,topRight:d,bottomLeft:A,bottomRight:f}=_r(s);let h=P_(t,a);const p=D_(t,l,c);return l==="center"?a==="left"?h+=c:a==="right"&&(h-=c):a==="left"?h-=Math.max(u,A)+i:a==="right"&&(h+=Math.max(d,f)+i),{x:Oe(h,0,r.width-t.width),y:Oe(p,0,r.height-t.height)}}function Jo(e,t,n){const r=Se(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-r.right:e.x+r.left}function Ap(e){return Xe([],un(e))}function B_(e,t,n){return Sr(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function fp(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const hp={beforeTitle:ln,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndex<r)return n[t.dataIndex]}return""},afterTitle:ln,beforeBody:ln,beforeLabel:ln,label(e){if(this&&this.options&&this.options.mode==="dataset")return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const n=e.formattedValue;return Ct(n)||(t+=n),t},labelColor(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:ln,afterBody:ln,beforeFooter:ln,footer:ln,afterFooter:ln};function ie(e,t,n,r){const i=e[t].call(n,r);return typeof i>"u"?hp[t].call(n,r):i}class Ql extends Pr{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const n=this.chart,r=this.options.setContext(this.getContext()),i=r.enabled&&n.options.animation&&r.animations,o=new ph(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=B_(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:r}=n,i=ie(r,"beforeTitle",this,t),o=ie(r,"title",this,t),s=ie(r,"afterTitle",this,t);let a=[];return a=Xe(a,un(i)),a=Xe(a,un(o)),a=Xe(a,un(s)),a}getBeforeBody(t,n){return Ap(ie(n.callbacks,"beforeBody",this,t))}getBody(t,n){const{callbacks:r}=n,i=[];return bt(t,o=>{const s={before:[],lines:[],after:[]},a=fp(r,o);Xe(s.before,un(ie(a,"beforeLabel",this,o))),Xe(s.lines,ie(a,"label",this,o)),Xe(s.after,un(ie(a,"afterLabel",this,o))),i.push(s)}),i}getAfterBody(t,n){return Ap(ie(n.callbacks,"afterBody",this,t))}getFooter(t,n){const{callbacks:r}=n,i=ie(r,"beforeFooter",this,t),o=ie(r,"footer",this,t),s=ie(r,"afterFooter",this,t);let a=[];return a=Xe(a,un(i)),a=Xe(a,un(o)),a=Xe(a,un(s)),a}_createItems(t){const n=this._active,r=this.chart.data,i=[],o=[],s=[];let a=[],l,c;for(l=0,c=n.length;l<c;++l)a.push(__(this.chart,n[l]));return t.filter&&(a=a.filter((u,d,A)=>t.filter(u,d,A,r))),t.itemSort&&(a=a.sort((u,d)=>t.itemSort(u,d,r))),bt(a,u=>{const d=fp(t.callbacks,u);i.push(ie(d,"labelColor",this,u)),o.push(ie(d,"labelPointStyle",this,u)),s.push(ie(d,"labelTextColor",this,u))}),this.labelColors=i,this.labelPointStyles=o,this.labelTextColors=s,this.dataPoints=a,a}update(t,n){const r=this.options.setContext(this.getContext()),i=this._active;let o,s=[];if(!i.length)this.opacity!==0&&(o={opacity:0});else{const a=Bi[r.position].call(this,i,this._eventPosition);s=this._createItems(r),this.title=this.getTitle(s,r),this.beforeBody=this.getBeforeBody(s,r),this.body=this.getBody(s,r),this.afterBody=this.getAfterBody(s,r),this.footer=this.getFooter(s,r);const l=this._size=cp(this,r),c=Object.assign({},a,l),u=up(this.chart,r,c),d=dp(r,c,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,o={opacity:1,x:d.x,y:d.y,width:l.width,height:l.height,caretX:a.x,caretY:a.y}}this._tooltipItems=s,this.$context=void 0,o&&this._resolveAnimations().update(this,o),t&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,r,i){const o=this.getCaretPosition(t,r,i);n.lineTo(o.x1,o.y1),n.lineTo(o.x2,o.y2),n.lineTo(o.x3,o.y3)}getCaretPosition(t,n,r){const{xAlign:i,yAlign:o}=this,{caretSize:s,cornerRadius:a}=r,{topLeft:l,topRight:c,bottomLeft:u,bottomRight:d}=_r(a),{x:A,y:f}=t,{width:h,height:p}=n;let g,b,w,y,v,_;return o==="center"?(v=f+p/2,i==="left"?(g=A,b=g-s,y=v+s,_=v-s):(g=A+h,b=g+s,y=v-s,_=v+s),w=g):(i==="left"?b=A+Math.max(l,u)+s:i==="right"?b=A+h-Math.max(c,d)-s:b=this.caretX,o==="top"?(y=f,v=y-s,g=b-s,w=b+s):(y=f+p,v=y+s,g=b+s,w=b-s),_=y),{x1:g,x2:b,x3:w,y1:y,y2:v,y3:_}}drawTitle(t,n,r){const i=this.title,o=i.length;let s,a,l;if(o){const c=Cr(r.rtl,this.x,this.width);for(t.x=Jo(this,r.titleAlign,r),n.textAlign=c.textAlign(r.titleAlign),n.textBaseline="middle",s=Xt(r.titleFont),a=r.titleSpacing,n.fillStyle=r.titleColor,n.font=s.string,l=0;l<o;++l)n.fillText(i[l],c.x(t.x),t.y+s.lineHeight/2),t.y+=s.lineHeight+a,l+1===o&&(t.y+=r.titleMarginBottom-a)}}_drawColorBox(t,n,r,i,o){const s=this.labelColors[r],a=this.labelPointStyles[r],{boxHeight:l,boxWidth:c}=o,u=Xt(o.bodyFont),d=Jo(this,"left",o),A=i.x(d),f=l<u.lineHeight?(u.lineHeight-l)/2:0,h=n.y+f;if(o.usePointStyle){const p={radius:Math.min(c,l)/2,pointStyle:a.pointStyle,rotation:a.rotation,borderWidth:1},g=i.leftForLtr(A,c)+c/2,b=h+l/2;t.strokeStyle=o.multiKeyBackground,t.fillStyle=o.multiKeyBackground,$f(t,p,g,b),t.strokeStyle=s.borderColor,t.fillStyle=s.backgroundColor,$f(t,p,g,b)}else{t.lineWidth=pt(s.borderWidth)?Math.max(...Object.values(s.borderWidth)):s.borderWidth||1,t.strokeStyle=s.borderColor,t.setLineDash(s.borderDash||[]),t.lineDashOffset=s.borderDashOffset||0;const p=i.leftForLtr(A,c),g=i.leftForLtr(i.xPlus(A,1),c-2),b=_r(s.borderRadius);Object.values(b).some(w=>w!==0)?(t.beginPath(),t.fillStyle=o.multiKeyBackground,Lo(t,{x:p,y:h,w:c,h:l,radius:b}),t.fill(),t.stroke(),t.fillStyle=s.backgroundColor,t.beginPath(),Lo(t,{x:g,y:h+1,w:c-2,h:l-2,radius:b}),t.fill()):(t.fillStyle=o.multiKeyBackground,t.fillRect(p,h,c,l),t.strokeRect(p,h,c,l),t.fillStyle=s.backgroundColor,t.fillRect(g,h+1,c-2,l-2))}t.fillStyle=this.labelTextColors[r]}drawBody(t,n,r){const{body:i}=this,{bodySpacing:o,bodyAlign:s,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:u}=r,d=Xt(r.bodyFont);let A=d.lineHeight,f=0;const h=Cr(r.rtl,this.x,this.width),p=function(D){n.fillText(D,h.x(t.x+f),t.y+A/2),t.y+=A+o},g=h.textAlign(s);let b,w,y,v,_,k,P;for(n.textAlign=s,n.textBaseline="middle",n.font=d.string,t.x=Jo(this,g,r),n.fillStyle=r.bodyColor,bt(this.beforeBody,p),f=a&&g!=="right"?s==="center"?c/2+u:c+2+u:0,v=0,k=i.length;v<k;++v){for(b=i[v],w=this.labelTextColors[v],n.fillStyle=w,bt(b.before,p),y=b.lines,a&&y.length&&(this._drawColorBox(n,t,v,h,r),A=Math.max(d.lineHeight,l)),_=0,P=y.length;_<P;++_)p(y[_]),A=d.lineHeight;bt(b.after,p)}f=0,A=d.lineHeight,bt(this.afterBody,p),t.y-=o}drawFooter(t,n,r){const i=this.footer,o=i.length;let s,a;if(o){const l=Cr(r.rtl,this.x,this.width);for(t.x=Jo(this,r.footerAlign,r),t.y+=r.footerMarginTop,n.textAlign=l.textAlign(r.footerAlign),n.textBaseline="middle",s=Xt(r.footerFont),n.fillStyle=r.footerColor,n.font=s.string,a=0;a<o;++a)n.fillText(i[a],l.x(t.x),t.y+s.lineHeight/2),t.y+=s.lineHeight+r.footerSpacing}}drawBackground(t,n,r,i){const{xAlign:o,yAlign:s}=this,{x:a,y:l}=t,{width:c,height:u}=r,{topLeft:d,topRight:A,bottomLeft:f,bottomRight:h}=_r(i.cornerRadius);n.fillStyle=i.backgroundColor,n.strokeStyle=i.borderColor,n.lineWidth=i.borderWidth,n.beginPath(),n.moveTo(a+d,l),s==="top"&&this.drawCaret(t,n,r,i),n.lineTo(a+c-A,l),n.quadraticCurveTo(a+c,l,a+c,l+A),s==="center"&&o==="right"&&this.drawCaret(t,n,r,i),n.lineTo(a+c,l+u-h),n.quadraticCurveTo(a+c,l+u,a+c-h,l+u),s==="bottom"&&this.drawCaret(t,n,r,i),n.lineTo(a+f,l+u),n.quadraticCurveTo(a,l+u,a,l+u-f),s==="center"&&o==="left"&&this.drawCaret(t,n,r,i),n.lineTo(a,l+d),n.quadraticCurveTo(a,l,a+d,l),n.closePath(),n.fill(),i.borderWidth>0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,r=this.$animations,i=r&&r.x,o=r&&r.y;if(i||o){const s=Bi[t.position].call(this,this._active,this._eventPosition);if(!s)return;const a=this._size=cp(this,t),l=Object.assign({},s,this._size),c=up(n,t,l),u=dp(t,l,c,n);(i._to!==u.x||o._to!==u.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=a.width,this.height=a.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(t){const n=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(n);const i={width:this.width,height:this.height},o={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const s=Se(n.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&a&&(t.save(),t.globalAlpha=r,this.drawBackground(o,t,i,n),Ah(t,n.textDirection),o.y+=s.top,this.drawTitle(o,t,n),this.drawBody(o,t,n),this.drawFooter(o,t,n),fh(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const r=this._active,i=t.map(({datasetIndex:a,index:l})=>{const c=this.chart.getDatasetMeta(a);if(!c)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:c.data[l],index:l}}),o=!Po(r,i),s=this._positionChanged(i,n);(o||s)&&(this._active=i,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,r=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,o=this._active||[],s=this._getActiveElements(t,o,n,r),a=this._positionChanged(s,t),l=n||!Po(s,o)||a;return l&&(this._active=s,(i.enabled||i.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),l}_getActiveElements(t,n,r,i){const o=this.options;if(t.type==="mouseout")return[];if(!i)return n.filter(a=>this.chart.data.datasets[a.datasetIndex]&&this.chart.getDatasetMeta(a.datasetIndex).controller.getParsed(a.index)!==void 0);const s=this.chart.getElementsAtEventForMode(t,o.mode,o,r);return o.reverse&&s.reverse(),s}_positionChanged(t,n){const{caretX:r,caretY:i,options:o}=this,s=Bi[o.position].call(this,t,n);return s!==!1&&(r!==s.x||i!==s.y)}}ut(Ql,"positioners",Bi);var I_={id:"tooltip",_element:Ql,positioners:Bi,afterInit(e,t,n){n&&(e.tooltip=new Ql({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:hp},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const T_=(e,t,n,r)=>(typeof t=="string"?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function M_(e,t,n,r){const i=e.indexOf(t);if(i===-1)return T_(e,t,n,r);const o=e.lastIndexOf(t);return i!==o?n:i}const O_=(e,t)=>e===null?null:Oe(Math.round(e),0,t);function pp(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}class Fl extends Dr{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const n=this._addedLabels;if(n.length){const r=this.getLabels();for(const{index:i,label:o}of n)r[i]===o&&r.splice(i,1);this._addedLabels=[]}super.init(t)}parse(t,n){if(Ct(t))return null;const r=this.getLabels();return n=isFinite(n)&&r[n]===t?n:M_(r,t,mt(n,t),this._addedLabels),O_(n,r.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:r,max:i}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(r=0),n||(i=this.getLabels().length-1)),this.min=r,this.max=i}buildTicks(){const t=this.min,n=this.max,r=this.options.offset,i=[];let o=this.getLabels();o=t===0&&n===o.length-1?o:o.slice(t,n+1),this._valueRange=Math.max(o.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let s=t;s<=n;s++)i.push({value:s});return i}getLabelForValue(t){return pp.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return typeof t!="number"&&(t=this.parse(t)),t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}ut(Fl,"id","category"),ut(Fl,"defaults",{ticks:{callback:pp}});function L_(e,t){const n=[],{bounds:i,step:o,min:s,max:a,precision:l,count:c,maxTicks:u,maxDigits:d,includeBounds:A}=e,f=o||1,h=u-1,{min:p,max:g}=t,b=!Ct(s),w=!Ct(a),y=!Ct(c),v=(g-p)/(d+1);let _=Qf((g-p)/h/f)*f,k,P,D,C;if(_<1e-14&&!b&&!w)return[{value:p},{value:g}];C=Math.ceil(g/_)-Math.floor(p/_),C>h&&(_=Qf(C*_/h/f)*f),Ct(l)||(k=Math.pow(10,l),_=Math.ceil(_*k)/k),i==="ticks"?(P=Math.floor(p/_)*_,D=Math.ceil(g/_)*_):(P=p,D=g),b&&w&&o&&B1((a-s)/o,_/1e3)?(C=Math.round(Math.min((a-s)/_,u)),_=(a-s)/C,P=s,D=a):y?(P=b?s:P,D=w?a:D,C=c-1,_=(D-P)/C):(C=(D-P)/_,Io(C,Math.round(C),_/1e3)?C=Math.round(C):C=Math.ceil(C));const E=Math.max(Ff(_),Ff(P));k=Math.pow(10,Ct(l)?E:l),P=Math.round(P*k)/k,D=Math.round(D*k)/k;let I=0;for(b&&(A&&P!==s?(n.push({value:s}),P<s&&I++,Io(Math.round((P+I*_)*k)/k,s,gp(s,v,e))&&I++):P<s&&I++);I<C;++I){const B=Math.round((P+I*_)*k)/k;if(w&&B>a)break;n.push({value:B})}return w&&A&&D!==a?n.length&&Io(n[n.length-1].value,a,gp(a,v,e))?n[n.length-1].value=a:n.push({value:a}):(!w||D===a)&&n.push({value:D}),n}function gp(e,t,{horizontal:n,minRotation:r}){const i=Ke(r),o=(n?Math.sin(i):Math.cos(i))||.001,s=.75*t*(""+e).length;return Math.min(t/o,s)}class R_ extends Dr{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,n){return Ct(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:n,maxDefined:r}=this.getUserBounds();let{min:i,max:o}=this;const s=l=>i=n?i:l,a=l=>o=r?o:l;if(t){const l=Cn(i),c=Cn(o);l<0&&c<0?a(0):l>0&&c>0&&s(0)}if(i===o){let l=o===0?1:Math.abs(o*.05);a(o+l),t||s(i-l)}this.min=i,this.max=o}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:r}=t,i;return r?(i=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,i>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${i} ticks. Limiting to 1000.`),i=1e3)):(i=this.computeTickLimit(),n=n||11),n&&(i=Math.min(n,i)),i}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,n=t.ticks;let r=this.getTickLimit();r=Math.max(2,r);const i={maxTicks:r,bounds:t.bounds,min:t.min,max:t.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},o=this._range||this,s=L_(i,o);return t.bounds==="ticks"&&I1(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const t=this.ticks;let n=this.min,r=this.max;if(super.configure(),this.options.offset&&t.length){const i=(r-n)/Math.max(t.length-1,1)/2;n-=i,r+=i}this._startValue=n,this._endValue=r,this._valueRange=r-n}getLabelForValue(t){return Oo(t,this.chart.options.locale,this.options.ticks.format)}}class Nl extends R_{determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=_e(t)?t:0,this.max=_e(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),n=t?this.width:this.height,r=Ke(this.options.ticks.minRotation),i=(t?Math.sin(r):Math.cos(r))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,o.lineHeight/i))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}ut(Nl,"id","linear"),ut(Nl,"defaults",{ticks:{callback:Xf.formatters.numeric}});const Zo={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},oe=Object.keys(Zo);function mp(e,t){return e-t}function bp(e,t){if(Ct(t))return null;const n=e._adapter,{parser:r,round:i,isoWeekday:o}=e._parseOpts;let s=t;return typeof r=="function"&&(s=r(s)),_e(s)||(s=typeof r=="string"?n.parse(s,r):n.parse(s)),s===null?null:(i&&(s=i==="week"&&(To(o)||o===!0)?n.startOf(s,"isoWeek",o):n.startOf(s,i)),+s)}function vp(e,t,n,r){const i=oe.length;for(let o=oe.indexOf(e);o<i-1;++o){const s=Zo[oe[o]],a=s.steps?s.steps:Number.MAX_SAFE_INTEGER;if(s.common&&Math.ceil((n-t)/(a*s.size))<=r)return oe[o]}return oe[i-1]}function Q_(e,t,n,r,i){for(let o=oe.length-1;o>=oe.indexOf(n);o--){const s=oe[o];if(Zo[s].common&&e._adapter.diff(i,r,s)>=t-1)return s}return oe[n?oe.indexOf(n):0]}function F_(e){for(let t=oe.indexOf(e)+1,n=oe.length;t<n;++t)if(Zo[oe[t]].common)return oe[t]}function yp(e,t,n){if(!n)e[t]=!0;else if(n.length){const{lo:r,hi:i}=ul(n,t),o=n[r]>=t?n[r]:n[i];e[o]=!0}}function N_(e,t,n,r){const i=e._adapter,o=+i.startOf(t[0].value,r),s=t[t.length-1].value;let a,l;for(a=o;a<=s;a=+i.add(a,1,r))l=n[a],l>=0&&(t[l].major=!0);return t}function wp(e,t,n){const r=[],i={},o=t.length;let s,a;for(s=0;s<o;++s)a=t[s],i[a]=s,r.push({value:a,major:!1});return o===0||!n?r:N_(e,r,i,n)}class $o extends Dr{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,n={}){const r=t.time||(t.time={}),i=this._adapter=new K2._date(t.adapters.date);i.init(n),gi(r.displayFormats,i.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},super.init(t),this._normalized=n.normalized}parse(t,n){return t===void 0?null:bp(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,n=this._adapter,r=t.time.unit||"day";let{min:i,max:o,minDefined:s,maxDefined:a}=this.getUserBounds();function l(c){!s&&!isNaN(c.min)&&(i=Math.min(i,c.min)),!a&&!isNaN(c.max)&&(o=Math.max(o,c.max))}(!s||!a)&&(l(this._getLabelBounds()),(t.bounds!=="ticks"||t.ticks.source!=="labels")&&l(this.getMinMax(!1))),i=_e(i)&&!isNaN(i)?i:+n.startOf(Date.now(),r),o=_e(o)&&!isNaN(o)?o:+n.endOf(Date.now(),r)+1,this.min=Math.min(i,o-1),this.max=Math.max(i+1,o)}_getLabelBounds(){const t=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;return t.length&&(n=t[0],r=t[t.length-1]),{min:n,max:r}}buildTicks(){const t=this.options,n=t.time,r=t.ticks,i=r.source==="labels"?this.getLabelTimestamps():this._generate();t.bounds==="ticks"&&i.length&&(this.min=this._userMin||i[0],this.max=this._userMax||i[i.length-1]);const o=this.min,s=this.max,a=Q1(i,o,s);return this._unit=n.unit||(r.autoSkip?vp(n.minUnit,this.min,this.max,this._getLabelCapacity(o)):Q_(this,a.length,n.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:F_(this._unit),this.initOffsets(i),t.reverse&&a.reverse(),wp(this,a,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t=[]){let n=0,r=0,i,o;this.options.offset&&t.length&&(i=this.getDecimalForValue(t[0]),t.length===1?n=1-i:n=(this.getDecimalForValue(t[1])-i)/2,o=this.getDecimalForValue(t[t.length-1]),t.length===1?r=o:r=(o-this.getDecimalForValue(t[t.length-2]))/2);const s=t.length<3?.5:.25;n=Oe(n,0,s),r=Oe(r,0,s),this._offsets={start:n,end:r,factor:1/(n+1+r)}}_generate(){const t=this._adapter,n=this.min,r=this.max,i=this.options,o=i.time,s=o.unit||vp(o.minUnit,n,r,this._getLabelCapacity(n)),a=mt(i.ticks.stepSize,1),l=s==="week"?o.isoWeekday:!1,c=To(l)||l===!0,u={};let d=n,A,f;if(c&&(d=+t.startOf(d,"isoWeek",l)),d=+t.startOf(d,c?"day":s),t.diff(r,n,s)>1e5*a)throw new Error(n+" and "+r+" are too far apart with stepSize of "+a+" "+s);const h=i.ticks.source==="data"&&this.getDataTimestamps();for(A=d,f=0;A<r;A=+t.add(A,a,s),f++)yp(u,A,h);return(A===r||i.bounds==="ticks"||f===1)&&yp(u,A,h),Object.keys(u).sort(mp).map(p=>+p)}getLabelForValue(t){const n=this._adapter,r=this.options.time;return r.tooltipFormat?n.format(t,r.tooltipFormat):n.format(t,r.displayFormats.datetime)}format(t,n){const i=this.options.time.displayFormats,o=this._unit,s=n||i[o];return this._adapter.format(t,s)}_tickFormatFunction(t,n,r,i){const o=this.options,s=o.ticks.callback;if(s)return Pt(s,[t,n,r],this);const a=o.time.displayFormats,l=this._unit,c=this._majorUnit,u=l&&a[l],d=c&&a[c],A=r[n],f=c&&d&&A&&A.major;return this._adapter.format(t,i||(f?d:u))}generateTickLabels(t){let n,r,i;for(n=0,r=t.length;n<r;++n)i=t[n],i.label=this._tickFormatFunction(i.value,n,t)}getDecimalForValue(t){return t===null?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const n=this._offsets,r=this.getDecimalForValue(t);return this.getPixelForDecimal((n.start+r)*n.factor)}getValueForPixel(t){const n=this._offsets,r=this.getDecimalForPixel(t)/n.factor-n.end;return this.min+r*(this.max-this.min)}_getLabelSize(t){const n=this.options.ticks,r=this.ctx.measureText(t).width,i=Ke(this.isHorizontal()?n.maxRotation:n.minRotation),o=Math.cos(i),s=Math.sin(i),a=this._resolveTickFontOptions(0).size;return{w:r*o+a*s,h:r*s+a*o}}_getLabelCapacity(t){const n=this.options.time,r=n.displayFormats,i=r[n.unit]||r.millisecond,o=this._tickFormatFunction(t,0,wp(this,[t],this._majorUnit),i),s=this._getLabelSize(o),a=Math.floor(this.isHorizontal()?this.width/s.w:this.height/s.h)-1;return a>0?a:1}getDataTimestamps(){let t=this._cache.data||[],n,r;if(t.length)return t;const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(n=0,r=i.length;n<r;++n)t=t.concat(i[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(t)}getLabelTimestamps(){const t=this._cache.labels||[];let n,r;if(t.length)return t;const i=this.getLabels();for(n=0,r=i.length;n<r;++n)t.push(bp(this,i[n]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return Hf(t.sort(mp))}}ut($o,"id","time"),ut($o,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function ts(e,t,n){let r=0,i=e.length-1,o,s,a,l;n?(t>=e[r].pos&&t<=e[i].pos&&({lo:r,hi:i}=dl(e,"pos",t)),{pos:o,time:a}=e[r],{pos:s,time:l}=e[i]):(t>=e[r].time&&t<=e[i].time&&({lo:r,hi:i}=dl(e,"time",t)),{time:o,pos:a}=e[r],{time:s,pos:l}=e[i]);const c=s-o;return c?a+(l-a)*(t-o)/c:a}class xp extends $o{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(t);this._minPos=ts(n,this.min),this._tableRange=ts(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:r}=this,i=[],o=[];let s,a,l,c,u;for(s=0,a=t.length;s<a;++s)c=t[s],c>=n&&c<=r&&i.push(c);if(i.length<2)return[{time:n,pos:0},{time:r,pos:1}];for(s=0,a=i.length;s<a;++s)u=i[s+1],l=i[s-1],c=i[s],Math.round((u+l)/2)!==c&&o.push({time:c,pos:s/(a-1)});return o}_generate(){const t=this.min,n=this.max;let r=super.getDataTimestamps();return(!r.includes(t)||!r.length)&&r.splice(0,0,t),(!r.includes(n)||r.length===1)&&r.push(n),r.sort((i,o)=>i-o)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const n=this.getDataTimestamps(),r=this.getLabelTimestamps();return n.length&&r.length?t=this.normalize(n.concat(r)):t=n.length?n:r,t=this._cache.all=t,t}getDecimalForValue(t){return(ts(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const n=this._offsets,r=this.getDecimalForPixel(t)/n.factor-n.end;return ts(this._table,r*this._tableRange+this._minPos,!0)}}ut(xp,"id","timeseries"),ut(xp,"defaults",$o.defaults),Ml.register(p_,zo,Xo,Fl,Nl,w_,k_,I_);function z_({type:e="bar",data:t,options:n}){const r=nt(null),i=nt(null);return se(()=>{i.current&&(r.current?(r.current.options=n,r.current.data=t,r.current.update()):r.current=new Ml(i.current,{type:e,data:t,options:n}))},[e,t,n]),m("div",{class:"chart",children:m("canvas",{ref:i})})}const kp=["--teal-700","--yellow-400","--teal-400","--orange-400","--green-400","--red-400"],zl=["0 - 1s","1 - 30s","30s - 30min","30 - 60min","1 - 5hr","5 - 10hr","10 - 18hr","18+hr"],Hl=(e,t,n=0)=>`${e.toFixed(n)} ${t}${e==1?"":"s"}`,_p=e=>{const t=e/3600;if(t>=1)return Hl(t,"hour",1);const n=e/60;return n>=1?Hl(n,"minute",0):Hl(e,"second",0)},es=e=>e.replace(/ \([^)]+\)/,"");function H_({infoGroupId:e}){const[t,n]=G("overview"),r=ug(e).filter(c=>c.cider_type=="Compute"),i=Zt(r.length?r.map(c=>`https://rest-test.ccr.xdmod.org/rest/v0.1/custom_queries/wait_times/${c.info_resourceid}/`):null,{defaultValue:[]}),o=Zt(t!=="overview"?`https://rest-test.ccr.xdmod.org/rest/v0.1/custom_queries/wait_times/${t}/queue/job_walltime`:null);if(!i.length||!r.length)return;const s=i.map((c,u)=>c.error?c:{...c.data[0],...r[u]}).filter(c=>!c.error);if(!s.length)return;const a=[m("select",{value:t,onChange:c=>n(c.target.value),children:[m("option",{value:"overview",children:"Overview"}),s.map(c=>m("option",{value:c.info_resourceid,children:es(c.resource_descriptive_name)}))]})];let l=null;if(t==="overview")l=m("div",{class:"cards",children:s.map(({info_resourceid:c,job_count:u,median_expansion_factor:d,median_wait_time:A,median_wall_time:f,resource_descriptive_name:h})=>m("p",{class:"card metrics-overview",children:[m("b",{children:[es(h),":"]})," Users ran"," ",m("strong",{children:[m(ht,{name:"file-earmark-code"}),parseInt(u).toLocaleString("en-us")," jobs"]})," ","during the last 30 days. Waiting in the queue caused an average"," ",m("strong",{children:[m(ht,{name:"calculator"}),((d-1)*100).toLocaleString("en-us",{maximumFractionDigits:0}),"% increase"]})," ","in the total completion time. The average job waited for"," ",m("strong",{children:[m(ht,{name:"hourglass-split"})," ",_p(A)]})," ","and ran for"," ",m("strong",{children:[m(ht,{name:"stopwatch"}),_p(f)]}),"."," ",m("a",{title:`Wait time chart for ${es(h)}`,href:"#",onClick:p=>{p.preventDefault(),n(c)},children:"View chart »"})]}))});else if(o&&o.info_resource_id===t){const c={},u=zl;for(let h of o.data)c[h.queue]=c[h.queue]||{label:h.queue,data:Array(zl.length).fill(null)},c[h.queue].data[zl.indexOf(h.job_walltime)]=h.median_wait_time/60;const d=Object.values(c);d.forEach((h,p)=>{let g=kp[p%(kp.length-1)];h.backgroundColor=getComputedStyle(document.body).getPropertyValue(g)});const A=s.find(h=>h.info_resourceid==o.info_resource_id),f={interaction:{intersect:!1,mode:"index"},plugins:{title:{display:!0,text:`Median Wait Time by Queue on ${es(A.resource_descriptive_name)}: Last 30 Days`}},scales:{x:{title:{display:!0,text:"Job Wall Time (Run Time)"}},y:{title:{display:!0,text:"Median Wait Time (Minutes)"}}}};l=m(tt,{children:[m(z_,{type:"bar",data:{labels:u,datasets:d},options:f}),m("p",{children:m("a",{href:"#",onClick:h=>{h.preventDefault(),n("overview")},children:"« Back to overview"})})]})}return m(je,{title:"Wait Time",icon:"hourglass-split",headerComponents:a,children:[l,m("p",{class:"metrics-disclaimer",children:[m(ht,{name:"info-circle"}),"These metrics describe activity from ACCESS projects. Many resources have additional projects that are not part of ACCESS."]})]})}function dn(e){return Array.isArray?Array.isArray(e):Cp(e)==="[object Array]"}const U_=1/0;function j_(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-U_?"-0":t}function V_(e){return e==null?"":j_(e)}function Je(e){return typeof e=="string"}function Sp(e){return typeof e=="number"}function W_(e){return e===!0||e===!1||Y_(e)&&Cp(e)=="[object Boolean]"}function Ep(e){return typeof e=="object"}function Y_(e){return Ep(e)&&e!==null}function he(e){return e!=null}function Ul(e){return!e.trim().length}function Cp(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const HS="Extended search is not available",q_="Incorrect 'index' type",K_=e=>`Invalid value for key ${e}`,G_=e=>`Pattern length exceeds max of ${e}.`,X_=e=>`Missing ${e} property in key`,J_=e=>`Property 'weight' in key '${e}' must be a positive integer`,Pp=Object.prototype.hasOwnProperty;class Z_{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{let i=Dp(r);this._keys.push(i),this._keyMap[i.id]=i,n+=i.weight}),this._keys.forEach(r=>{r.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Dp(e){let t=null,n=null,r=null,i=1,o=null;if(Je(e)||dn(e))r=e,t=Bp(e),n=jl(e);else{if(!Pp.call(e,"name"))throw new Error(X_("name"));const s=e.name;if(r=s,Pp.call(e,"weight")&&(i=e.weight,i<=0))throw new Error(J_(s));t=Bp(s),n=jl(s),o=e.getFn}return{path:t,id:n,weight:i,src:r,getFn:o}}function Bp(e){return dn(e)?e:e.split(".")}function jl(e){return dn(e)?e.join("."):e}function $_(e,t){let n=[],r=!1;const i=(o,s,a)=>{if(he(o))if(!s[a])n.push(o);else{let l=s[a];const c=o[l];if(!he(c))return;if(a===s.length-1&&(Je(c)||Sp(c)||W_(c)))n.push(V_(c));else if(dn(c)){r=!0;for(let u=0,d=c.length;u<d;u+=1)i(c[u],s,a+1)}else s.length&&i(c,s,a+1)}};return i(e,Je(t)?t.split("."):t,0),r?n:n[0]}var st={...{isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},...{includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},...{location:0,threshold:.6,distance:100},...{useExtendedSearch:!1,getFn:$_,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const tS=/[^ ]+/g;function eS(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(i){const o=i.match(tS).length;if(n.has(o))return n.get(o);const s=1/Math.pow(o,.5*e),a=parseFloat(Math.round(s*r)/r);return n.set(o,a),a},clear(){n.clear()}}}class Vl{constructor({getFn:t=st.getFn,fieldNormWeight:n=st.fieldNormWeight}={}){this.norm=eS(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,r)=>{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Je(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();Je(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,r=this.size();n<r;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!he(t)||Ul(t))return;let r={v:t,i:n,n:this.norm.get(t)};this.records.push(r)}_addObject(t,n){let r={i:n,$:{}};this.keys.forEach((i,o)=>{let s=i.getFn?i.getFn(t):this.getFn(t,i.path);if(he(s)){if(dn(s)){let a=[];const l=[{nestedArrIndex:-1,value:s}];for(;l.length;){const{nestedArrIndex:c,value:u}=l.pop();if(he(u))if(Je(u)&&!Ul(u)){let d={v:u,i:c,n:this.norm.get(u)};a.push(d)}else dn(u)&&u.forEach((d,A)=>{l.push({nestedArrIndex:A,value:d})})}r.$[o]=a}else if(Je(s)&&!Ul(s)){let a={v:s,n:this.norm.get(s)};r.$[o]=a}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function Ip(e,t,{getFn:n=st.getFn,fieldNormWeight:r=st.fieldNormWeight}={}){const i=new Vl({getFn:n,fieldNormWeight:r});return i.setKeys(e.map(Dp)),i.setSources(t),i.create(),i}function nS(e,{getFn:t=st.getFn,fieldNormWeight:n=st.fieldNormWeight}={}){const{keys:r,records:i}=e,o=new Vl({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(i),o}function ns(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:i=st.distance,ignoreLocation:o=st.ignoreLocation}={}){const s=t/e.length;if(o)return s;const a=Math.abs(r-n);return i?s+a/i:a?1:s}function rS(e=[],t=st.minMatchCharLength){let n=[],r=-1,i=-1,o=0;for(let s=e.length;o<s;o+=1){let a=e[o];a&&r===-1?r=o:!a&&r!==-1&&(i=o-1,i-r+1>=t&&n.push([r,i]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}const Xn=32;function iS(e,t,n,{location:r=st.location,distance:i=st.distance,threshold:o=st.threshold,findAllMatches:s=st.findAllMatches,minMatchCharLength:a=st.minMatchCharLength,includeMatches:l=st.includeMatches,ignoreLocation:c=st.ignoreLocation}={}){if(t.length>Xn)throw new Error(G_(Xn));const u=t.length,d=e.length,A=Math.max(0,Math.min(r,d));let f=o,h=A;const p=a>1||l,g=p?Array(d):[];let b;for(;(b=e.indexOf(t,h))>-1;){let P=ns(t,{currentLocation:b,expectedLocation:A,distance:i,ignoreLocation:c});if(f=Math.min(P,f),h=b+u,p){let D=0;for(;D<u;)g[b+D]=1,D+=1}}h=-1;let w=[],y=1,v=u+d;const _=1<<u-1;for(let P=0;P<u;P+=1){let D=0,C=v;for(;D<C;)ns(t,{errors:P,currentLocation:A+C,expectedLocation:A,distance:i,ignoreLocation:c})<=f?D=C:v=C,C=Math.floor((v-D)/2+D);v=C;let E=Math.max(1,A-C+1),I=s?d:Math.min(A+C,d)+u,B=Array(I+2);B[I+1]=(1<<P)-1;for(let R=I;R>=E;R-=1){let Q=R-1,O=n[e.charAt(Q)];if(p&&(g[Q]=+!!O),B[R]=(B[R+1]<<1|1)&O,P&&(B[R]|=(w[R+1]|w[R])<<1|1|w[R+1]),B[R]&_&&(y=ns(t,{errors:P,currentLocation:Q,expectedLocation:A,distance:i,ignoreLocation:c}),y<=f)){if(f=y,h=Q,h<=A)break;E=Math.max(1,2*A-h)}}if(ns(t,{errors:P+1,currentLocation:A,expectedLocation:A,distance:i,ignoreLocation:c})>f)break;w=B}const k={isMatch:h>=0,score:Math.max(.001,y)};if(p){const P=rS(g,a);P.length?l&&(k.indices=P):k.isMatch=!1}return k}function oS(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const i=e.charAt(n);t[i]=(t[i]||0)|1<<r-n-1}return t}class Tp{constructor(t,{location:n=st.location,threshold:r=st.threshold,distance:i=st.distance,includeMatches:o=st.includeMatches,findAllMatches:s=st.findAllMatches,minMatchCharLength:a=st.minMatchCharLength,isCaseSensitive:l=st.isCaseSensitive,ignoreLocation:c=st.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:i,includeMatches:o,findAllMatches:s,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c},this.pattern=l?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const u=(A,f)=>{this.chunks.push({pattern:A,alphabet:oS(A),startIndex:f})},d=this.pattern.length;if(d>Xn){let A=0;const f=d%Xn,h=d-f;for(;A<h;)u(this.pattern.substr(A,Xn),A),A+=Xn;if(f){const p=d-Xn;u(this.pattern.substr(p),p)}}else u(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,includeMatches:r}=this.options;if(n||(t=t.toLowerCase()),this.pattern===t){let h={isMatch:!0,score:0};return r&&(h.indices=[[0,t.length-1]]),h}const{location:i,distance:o,threshold:s,findAllMatches:a,minMatchCharLength:l,ignoreLocation:c}=this.options;let u=[],d=0,A=!1;this.chunks.forEach(({pattern:h,alphabet:p,startIndex:g})=>{const{isMatch:b,score:w,indices:y}=iS(t,h,p,{location:i+g,distance:o,threshold:s,findAllMatches:a,minMatchCharLength:l,includeMatches:r,ignoreLocation:c});b&&(A=!0),d+=w,b&&y&&(u=[...u,...y])});let f={isMatch:A,score:A?d/this.chunks.length:1};return A&&r&&(f.indices=u),f}}class Dn{constructor(t){this.pattern=t}static isMultiMatch(t){return Mp(t,this.multiRegex)}static isSingleMatch(t){return Mp(t,this.singleRegex)}search(){}}function Mp(e,t){const n=e.match(t);return n?n[1]:null}class sS extends Dn{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class aS extends Dn{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const r=t.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class lS extends Dn{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class cS extends Dn{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class uS extends Dn{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class dS extends Dn{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class Op extends Dn{constructor(t,{location:n=st.location,threshold:r=st.threshold,distance:i=st.distance,includeMatches:o=st.includeMatches,findAllMatches:s=st.findAllMatches,minMatchCharLength:a=st.minMatchCharLength,isCaseSensitive:l=st.isCaseSensitive,ignoreLocation:c=st.ignoreLocation}={}){super(t),this._bitapSearch=new Tp(t,{location:n,threshold:r,distance:i,includeMatches:o,findAllMatches:s,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class Lp extends Dn{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,r;const i=[],o=this.pattern.length;for(;(r=t.indexOf(this.pattern,n))>-1;)n=r+o,i.push([r,n-1]);const s=!!i.length;return{isMatch:s,score:s?0:1,indices:i}}}const Wl=[sS,Lp,lS,cS,dS,uS,aS,Op],Rp=Wl.length,AS=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,fS="|";function hS(e,t={}){return e.split(fS).map(n=>{let r=n.trim().split(AS).filter(o=>o&&!!o.trim()),i=[];for(let o=0,s=r.length;o<s;o+=1){const a=r[o];let l=!1,c=-1;for(;!l&&++c<Rp;){const u=Wl[c];let d=u.isMultiMatch(a);d&&(i.push(new u(d,t)),l=!0)}if(!l)for(c=-1;++c<Rp;){const u=Wl[c];let d=u.isSingleMatch(a);if(d){i.push(new u(d,t));break}}}return i})}const pS=new Set([Op.type,Lp.type]);class gS{constructor(t,{isCaseSensitive:n=st.isCaseSensitive,includeMatches:r=st.includeMatches,minMatchCharLength:i=st.minMatchCharLength,ignoreLocation:o=st.ignoreLocation,findAllMatches:s=st.findAllMatches,location:a=st.location,threshold:l=st.threshold,distance:c=st.distance}={}){this.query=null,this.options={isCaseSensitive:n,includeMatches:r,minMatchCharLength:i,findAllMatches:s,ignoreLocation:o,location:a,threshold:l,distance:c},this.pattern=n?t:t.toLowerCase(),this.query=hS(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:i}=this.options;t=i?t:t.toLowerCase();let o=0,s=[],a=0;for(let l=0,c=n.length;l<c;l+=1){const u=n[l];s.length=0,o=0;for(let d=0,A=u.length;d<A;d+=1){const f=u[d],{isMatch:h,indices:p,score:g}=f.search(t);if(h){if(o+=1,a+=g,r){const b=f.constructor.type;pS.has(b)?s=[...s,...p]:s.push(p)}}else{a=0,o=0,s.length=0;break}}if(o){let d={isMatch:!0,score:a/o};return r&&(d.indices=s),d}}return{isMatch:!1,score:1}}}const Yl=[];function mS(...e){Yl.push(...e)}function ql(e,t){for(let n=0,r=Yl.length;n<r;n+=1){let i=Yl[n];if(i.condition(e,t))return new i(e,t)}return new Tp(e,t)}const rs={AND:"$and",OR:"$or"},Kl={PATH:"$path",PATTERN:"$val"},Gl=e=>!!(e[rs.AND]||e[rs.OR]),bS=e=>!!e[Kl.PATH],vS=e=>!dn(e)&&Ep(e)&&!Gl(e),Qp=e=>({[rs.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Fp(e,t,{auto:n=!0}={}){const r=i=>{let o=Object.keys(i);const s=bS(i);if(!s&&o.length>1&&!Gl(i))return r(Qp(i));if(vS(i)){const l=s?i[Kl.PATH]:o[0],c=s?i[Kl.PATTERN]:i[l];if(!Je(c))throw new Error(K_(l));const u={keyId:jl(l),pattern:c};return n&&(u.searcher=ql(c,t)),u}let a={children:[],operator:o[0]};return o.forEach(l=>{const c=i[l];dn(c)&&c.forEach(u=>{a.children.push(r(u))})}),a};return Gl(e)||(e=Qp(e)),r(e)}function yS(e,{ignoreFieldNorm:t=st.ignoreFieldNorm}){e.forEach(n=>{let r=1;n.matches.forEach(({key:i,norm:o,score:s})=>{const a=i?i.weight:null;r*=Math.pow(s===0&&a?Number.EPSILON:s,(a||1)*(t?1:o))}),n.score=r})}function wS(e,t){const n=e.matches;t.matches=[],he(n)&&n.forEach(r=>{if(!he(r.indices)||!r.indices.length)return;const{indices:i,value:o}=r;let s={indices:i,value:o};r.key&&(s.key=r.key.src),r.idx>-1&&(s.refIndex=r.idx),t.matches.push(s)})}function xS(e,t){t.score=e.score}function kS(e,t,{includeMatches:n=st.includeMatches,includeScore:r=st.includeScore}={}){const i=[];return n&&i.push(wS),r&&i.push(xS),e.map(o=>{const{idx:s}=o,a={item:t[s],refIndex:s};return i.length&&i.forEach(l=>{l(o,a)}),a})}class Br{constructor(t,n={},r){this.options={...st,...n},this.options.useExtendedSearch,this._keyStore=new Z_(this.options.keys),this.setCollection(t,r)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof Vl))throw new Error(q_);this._myIndex=n||Ip(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){he(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let r=0,i=this._docs.length;r<i;r+=1){const o=this._docs[r];t(o,r)&&(this.removeAt(r),r-=1,i-=1,n.push(o))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:r,includeScore:i,shouldSort:o,sortFn:s,ignoreFieldNorm:a}=this.options;let l=Je(t)?Je(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return yS(l,{ignoreFieldNorm:a}),o&&l.sort(s),Sp(n)&&n>-1&&(l=l.slice(0,n)),kS(l,this._docs,{includeMatches:r,includeScore:i})}_searchStringList(t){const n=ql(t,this.options),{records:r}=this._myIndex,i=[];return r.forEach(({v:o,i:s,n:a})=>{if(!he(o))return;const{isMatch:l,score:c,indices:u}=n.searchIn(o);l&&i.push({item:o,idx:s,matches:[{score:c,value:o,norm:a,indices:u}]})}),i}_searchLogical(t){const n=Fp(t,this.options),r=(a,l,c)=>{if(!a.children){const{keyId:d,searcher:A}=a,f=this._findMatches({key:this._keyStore.get(d),value:this._myIndex.getValueForItemAtKeyId(l,d),searcher:A});return f&&f.length?[{idx:c,item:l,matches:f}]:[]}const u=[];for(let d=0,A=a.children.length;d<A;d+=1){const f=a.children[d],h=r(f,l,c);if(h.length)u.push(...h);else if(a.operator===rs.AND)return[]}return u},i=this._myIndex.records,o={},s=[];return i.forEach(({$:a,i:l})=>{if(he(a)){let c=r(n,a,l);c.length&&(o[l]||(o[l]={idx:l,item:a,matches:[]},s.push(o[l])),c.forEach(({matches:u})=>{o[l].matches.push(...u)}))}}),s}_searchObjectList(t){const n=ql(t,this.options),{keys:r,records:i}=this._myIndex,o=[];return i.forEach(({$:s,i:a})=>{if(!he(s))return;let l=[];r.forEach((c,u)=>{l.push(...this._findMatches({key:c,value:s[u],searcher:n}))}),l.length&&o.push({idx:a,item:s,matches:l})}),o}_findMatches({key:t,value:n,searcher:r}){if(!he(n))return[];let i=[];if(dn(n))n.forEach(({v:o,i:s,n:a})=>{if(!he(o))return;const{isMatch:l,score:c,indices:u}=r.searchIn(o);l&&i.push({score:c,key:t,value:o,idx:s,norm:a,indices:u})});else{const{v:o,n:s}=n,{isMatch:a,score:l,indices:c}=r.searchIn(o);a&&i.push({score:l,key:t,value:o,norm:s,indices:c})}return i}}Br.version="7.0.0",Br.createIndex=Ip,Br.parseIndex=nS,Br.config=st,Br.parseQuery=Fp,mS(gS);function _S({highlight:e,text:t}){if(!e||!e.length)return t;const n=new RegExp(e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"gi"),r=[...t.matchAll(n)];if(!r.length)return t;const i=[];let o=0;for(let s of r)s.index>o&&i.push(t.substr(o,s.index)),i.push(m("span",{class:"highlight",children:s[0]})),o=s.index+s[0].length;return i.push(t.substr(o)),i}function SS({delay:e=300,placeholder:t,setSearchText:n,width:r="calc(var(--width) / 4)"}){const i=nt(null),o=nt(null),[s,a]=G(""),l=()=>{a(""),n(""),i.current.value="",i.current.focus()};return se(()=>{i.current&&i.current.addEventListener("keyup",()=>{o.current&&clearTimeout(o.current),o.current=setTimeout(()=>{o.current=null,n(i.current.value),a(i.current.value)},e)})},[i.current]),m(tt,{children:m("div",{class:"search",children:[m("input",{placeholder:t,style:{width:r},ref:i}),s.length?m("button",{class:"btn btn-clear",title:"Clear search",onClick:l,children:m(ht,{name:"x-lg"})}):null]})})}const ES=["software_name","software_description","software_web_page","software_documentation","software_use_link"];function CS({infoGroupId:e}){const t=Zt(`https://ara-db.ccs.uky.edu/api=API_0/z0CiQbts8t4pnv6fJQD4g9nskbCOl6UD-67akYK68wk/rp=${e}?include=${ES.join(",")}`),[n,r]=G(""),i=Ot(()=>t&&t.length?new Br(t,{keys:[{name:"software_name",weight:.6},{name:"software_description",weight:.4}]}):null,[t]);if(!t||!t.length)return;const o=A=>m(_S,{text:A,highlight:n}),c=[{key:"software_name",name:"Package",format:(A,f)=>{const h=[],p=o(A),g=f.software_web_page||f.software_documentation;return h.push(g?m("a",{href:g,children:p}):p),f.software_documentation&&h.push(m(tt,{children:" "}),m("a",{href:f.software_documentation,title:`Documentation for ${A}`,children:m(ht,{name:"book"})})),f.software_use_link&&f.software_use_link!=f.software_documentation&&h.push(m(tt,{children:" "}),m("a",{href:f.software_use_link.split(`
|
|
136
|
+
`)[0].trim(),title:`Usage example for ${A}`,children:m(ht,{name:"terminal"})})),m("span",{style:{lineHeight:1.3},children:h})}},{key:"software_versions",name:"Versions",format:(A,f)=>A.map(h=>h.replace(`${f.rp_name}: `,"").split(",").join(", "))},{key:"software_description",name:"Description",format:(A,f)=>{const h=/Description Source:[ ]+(http[^ ]+)/,p=A.match(h);return m(tt,{children:[o(A.replace(h,""))," ",p?m("a",{href:p[1],title:`Description source for ${f.software_name}`,children:m(ht,{name:"info-circle"})}):null]})}}],u=n.length?i.search(n).map(A=>A.item):t;return m(je,{title:"Software",icon:"terminal",headerComponents:[m(SS,{placeholder:"Search software packages...",setSearchText:r})],children:m(lo,{columns:c,rows:u,scrollResetOnUpdate:!0})})}function PS({prompt:e="Jump To:"}){const[t,n]=G([]),r=nt(null),i=()=>{const s=[];for(let a of r.current.querySelectorAll("[data-section-title]"))s.push({icon:a.dataset.sectionIcon,id:a.id,title:a.dataset.sectionTitle});n(s)},o=s=>{const a=r.current.querySelector(`#${s}`);a&&a.scrollIntoView()};return ot(()=>{r.current&&(i(),document.addEventListener("accessci-update-sections",i))},[r.current]),m("div",{ref:s=>r.current=s==null?void 0:s.parentElement,children:t.length>=2?m("nav",{class:"section-navigation",children:[e?m("h2",{children:e}):null,m("ul",{children:t.map(({icon:s,id:a,title:l})=>m("li",{children:m("a",{href:`#${a}`,onClick:c=>{c.preventDefault(),o(a)},children:[s?m(tt,{children:[m(ht,{name:s})," "]}):null,l]})}))})]}):null})}function DS({baseUri:e,infoGroupId:t,showBreadcrumbs:n=!0}){const r=Ur(t),i=[{name:"Resources",href:e}];return r&&i.push({name:r.name}),m(tt,{children:[n&&m(ps,{expandWidth:!0,items:i,topBorder:!0}),m("div",{class:"resource-group-detail",children:[m(wy,{infoGroupId:t}),m(PS,{}),m(lx,{infoGroupId:t}),m(ex,{infoGroupId:t}),m(ox,{infoGroupId:t}),m(yy,{infoGroupId:t}),m(CS,{infoGroupId:t}),m(Zx,{infoGroupId:t}),m(H_,{infoGroupId:t}),m(_y,{infoGroupId:t})]})]})}const BS=Object.freeze(Object.defineProperty({__proto__:null,default:DS},Symbol.toStringTag,{value:"Module"})),IS={"ACCESS Pegasus":"https://pegasus.isi.edu/wordpress/wp-content/uploads/2016/01/favicon.ico","ACCESS OnDemand":"https://openondemand.org/themes/fire/theme/assets/media/favicons/favicon.ico","Advance reservations":"calendar-check","Composable hardware fabric":"boxes","Compute Resources":"cpu-fill","CPU Compute":"cpu-fill","GPU Compute":"cpu","Innovative / Novel Compute":"lightbulb","Large Memory Nodes":"arrows-fullscreen",Preemption:"clock-history","Science Gateway support":"globe","Service / Other":"stars","Storage Resources":"hdd-fill","Virtual Machines":"pc-display-horizontal",Cloud:"cloud",Storage:"hdd-fill"};function Np({active:e,tagCategory:t,tagId:n,iconUri:r,name:i,toggleTag:o}){const s=r||IS[i]||"tag";return m("li",{class:`tag tag-category-${t.name.toLowerCase().replace(/[^a-z]+/g,"-")}${e.tagIds.has(n)?" active":""}`,children:m("button",{href:"#",disabled:e.disabledTagIds.has(n),onClick:a=>{a.preventDefault(),o(n)},children:[s.startsWith("http")?m(ht,{alt:i,src:s}):m(ht,{name:s}),i]})})}function zp({children:e}){return m("ul",{class:"tags",children:e})}function TS({active:e,baseUri:t,description:n,imageType:r,imageUri:i,name:o,infoGroupId:s,tags:a,toggleTag:l}){const c=`${t}/${s}`;return m("div",{class:"resource-group",children:[m("a",{class:`resource-group-image image-type-${r}`,href:c,children:i?m("img",{src:i}):m(ht,{name:"motherboard"})}),m("div",{class:"resource-group-text",children:[m("h3",{children:m("a",{href:c,children:o})}),m(zp,{children:a.map(u=>m(Np,{...u,active:e,toggleTag:l}))}),m("p",{children:[n&&n,m("br",{}),m("a",{href:c,children:["Learn more about ",o," »"]})]})]})]})}function MS({active:e,baseUri:t,name:n,resourceGroups:r,toggleTag:i}){return m(tt,{children:[m("h2",{children:n}),r.filter(({infoGroupId:o})=>e.infoGroupIds.has(o)).map(o=>m(TS,{...o,baseUri:t,active:e,toggleTag:i}))]})}function OS({active:e,clearTags:t,tagCategories:n,toggleTag:r}){const[i,o]=G(!1),s=nt(null);return se(()=>{s.current&&(s.current.addEventListener("click",a=>a.stopPropagation()),document.body.addEventListener("click",()=>o(!1)))},[s.current]),m("section",{class:"filters-outer",ref:s,children:[m("button",{onClick:()=>o(!i),class:`btn-filters btn ${i?"active":""}`,children:[m(ht,{name:"filter"})," Filters",e.tagIds.size>0?m("span",{class:"active-tag-count",children:e.tagIds.size}):null]}),i?m("div",{class:"filters-inner",children:[n.map(a=>m(tt,{children:[m("h2",{children:a.name}),m(zp,{children:a.tags.map(l=>m(Np,{...l,active:e,toggleTag:r}))})]})),m("button",{onClick:t,disabled:e.tagIds.size==0,class:"btn danger",children:[m(ht,{name:"trash"})," Clear Filters"]})]}):null]})}function LS({setBotOpen:e}){const t=nt(null);return m("section",{id:"resource-pathways",ref:t,children:[m("p",{class:"intro",children:["ACCESS provides advanced computing resources ",m("strong",{children:"at no cost"})," ","to researchers and educators."]}),m("ul",{class:"resource-pathways",children:[{title:"Browse resources",icon:"filter-square",description:"Filter resources to find the best match for your research.",onClick:r=>{r.preventDefault(),t.current&&t.current.nextSibling.scrollIntoView({bahavior:"smooth"})}},{title:"Ask a question",icon:"question-circle",onClick:r=>{r.preventDefault(),e(!0)},description:"You have resource questions. Our Q&A bot has answers!",login:!0},{title:"Get suggestions",icon:"card-checklist",href:"https://access-ara.ccs.uky.edu:8080/",description:"Fill out a form to get resource recommendations."},{title:"Read news",icon:"newspaper",href:"https://access-ci.org/tag/resource-providers/",description:"See the latest news from resource providers."}].map(({title:r,icon:i,href:o,description:s,login:a,onClick:l},c)=>m("li",{class:`resource-pathway-${c}`,children:m("a",{href:o||"#",onClick:l,children:[i?m(ht,{name:i}):null," ",m("span",{class:"detail",children:[m("span",{class:"title",children:r}),m("span",{class:"description",children:s}),a?m("span",{class:"login",children:[m(ht,{name:"key"})," Requires ACCESS Login"]}):null]})]})}))})]})}function RS({baseUri:e,title:t,showBreadcrumbs:n=!0,showTitle:r=!0}){const[i,o]=G([]),[s,a]=G(!1),l=Rc(),c=Ot(()=>l?Ag(l,i):null,[l,i]),u=A=>o(i.includes(A)?i.filter(f=>f!=A):[...i,A]),d=()=>o([]);return m(tt,{children:[n&&m(ps,{expandWidth:!0,items:[{name:"Resources"}],topBorder:!0}),t&&m("h1",{class:r?"":"visually-hidden",children:t}),m(LS,{setBotOpen:a}),m("div",{id:"browse-resources",children:[c?m(OS,{tagCategories:l.tagCategories,active:c,clearTags:d,toggleTag:u}):null,l?l.resourceCategories.filter(({resourceCategoryId:A})=>c.resourceCategoryIds.has(A)).map(A=>m(MS,{...A,active:c,baseUri:e,clearTags:d,toggleTag:u})):null]}),m(Cc,{embedded:!1,open:s,onOpenChange:a,welcome:"Welcome to the ACCESS Q&A Bot!",apiKey:"my-api-key"})]})}const QS=Object.freeze(Object.defineProperty({__proto__:null,default:RS},Symbol.toStringTag,{value:"Module"}));Dt.breadcrumbs=Cg,Dt.footer=Pg,Dt.footerMenus=Mg,Dt.header=Dg,Dt.loginMenuItem=Ic,Dt.myAccessMenuItem=Bc,Dt.qaBot=Bg,Dt.resourceCatalog=Lg,Dt.siteMenus=Tg,Dt.tableOfContents=Og,Dt.universalMenuItems=Dc,Dt.universalMenus=Ig,Object.defineProperty(Dt,Symbol.toStringTag,{value:"Module"})});
|