@flarehr/apollo-super-campaign 1.20.16 → 1.22.18

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.
@@ -1,11 +1,11 @@
1
- var ol=Object.defineProperty;var al=(e,t,r)=>t in e?ol(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var zn=(e,t,r)=>(al(e,typeof t!="symbol"?t+"":t,r),r);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=r(i);fetch(i.href,o)}})();var Sr,I,Ss,et,Yo,Cs,di,Es,cr={},xs=[],sl=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,wn=Array.isArray;function Me(e,t){for(var r in t)e[r]=t[r];return e}function ks(e){var t=e.parentNode;t&&t.removeChild(e)}function q(e,t,r){var n,i,o,a={};for(o in t)o=="key"?n=t[o]:o=="ref"?i=t[o]:a[o]=t[o];if(arguments.length>2&&(a.children=arguments.length>3?Sr.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)a[o]===void 0&&(a[o]=e.defaultProps[o]);return Xt(e,a,n,i,null)}function Xt(e,t,r,n,i){var o={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:i??++Ss,__i:-1,__u:0};return i==null&&I.vnode!=null&&I.vnode(o),o}function Cr(){return{current:null}}function pe(e){return e.children}function _e(e,t){this.props=e,this.context=t}function Rt(e,t){if(t==null)return e.__?Rt(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?Rt(e):null}function Ts(e){var t,r;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return Ts(e)}}function fi(e){(!e.__d&&(e.__d=!0)&&et.push(e)&&!tn.__r++||Yo!==I.debounceRendering)&&((Yo=I.debounceRendering)||Cs)(tn)}function tn(){var e,t,r,n,i,o,a,s,c;for(et.sort(di);e=et.shift();)e.__d&&(t=et.length,n=void 0,o=(i=(r=e).__v).__e,s=[],c=[],(a=r.__P)&&((n=Me({},i)).__v=i.__v+1,I.vnode&&I.vnode(n),to(a,n,i,r.__n,a.ownerSVGElement!==void 0,32&i.__u?[o]:null,s,o??Rt(i),!!(32&i.__u),c),n.__.__k[n.__i]=n,Os(s,n,c),n.__e!=o&&Ts(n)),et.length>t&&et.sort(di));tn.__r=0}function Rs(e,t,r,n,i,o,a,s,c,u,d){var l,p,f,g,_,y=n&&n.__k||xs,h=t.length;for(r.__d=c,cl(r,t,y),c=r.__d,l=0;l<h;l++)(f=r.__k[l])!=null&&typeof f!="boolean"&&typeof f!="function"&&(p=f.__i===-1?cr:y[f.__i]||cr,f.__i=l,to(e,f,p,i,o,a,s,c,u,d),g=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&ro(p.ref,null,f),d.push(f.ref,f.__c||g,f)),_==null&&g!=null&&(_=g),65536&f.__u||p.__k===f.__k?c=As(f,c,e):typeof f.type=="function"&&f.__d!==void 0?c=f.__d:g&&(c=g.nextSibling),f.__d=void 0,f.__u&=-196609);r.__d=c,r.__e=_}function cl(e,t,r){var n,i,o,a,s,c=t.length,u=r.length,d=u,l=0;for(e.__k=[],n=0;n<c;n++)(i=e.__k[n]=(i=t[n])==null||typeof i=="boolean"||typeof i=="function"?null:typeof i=="string"||typeof i=="number"||typeof i=="bigint"||i.constructor==String?Xt(null,i,null,null,i):wn(i)?Xt(pe,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?Xt(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)!=null?(i.__=e,i.__b=e.__b+1,s=ul(i,r,a=n+l,d),i.__i=s,o=null,s!==-1&&(d--,(o=r[s])&&(o.__u|=131072)),o==null||o.__v===null?(s==-1&&l--,typeof i.type!="function"&&(i.__u|=65536)):s!==a&&(s===a+1?l++:s>a?d>c-a?l+=s-a:l--:l=s<a&&s==a-1?s-a:0,s!==n+l&&(i.__u|=65536))):(o=r[n])&&o.key==null&&o.__e&&(o.__e==e.__d&&(e.__d=Rt(o)),pi(o,o,!1),r[n]=null,d--);if(d)for(n=0;n<u;n++)(o=r[n])!=null&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=Rt(o)),pi(o,o))}function As(e,t,r){var n,i;if(typeof e.type=="function"){for(n=e.__k,i=0;n&&i<n.length;i++)n[i]&&(n[i].__=e,t=As(n[i],t,r));return t}return e.__e!=t&&(r.insertBefore(e.__e,t||null),t=e.__e),t&&t.nextSibling}function Fe(e,t){return t=t||[],e==null||typeof e=="boolean"||(wn(e)?e.some(function(r){Fe(r,t)}):t.push(e)),t}function ul(e,t,r,n){var i=e.key,o=e.type,a=r-1,s=r+1,c=t[r];if(c===null||c&&i==c.key&&o===c.type)return r;if(n>(c!=null&&!(131072&c.__u)?1:0))for(;a>=0||s<t.length;){if(a>=0){if((c=t[a])&&!(131072&c.__u)&&i==c.key&&o===c.type)return a;a--}if(s<t.length){if((c=t[s])&&!(131072&c.__u)&&i==c.key&&o===c.type)return s;s++}}return-1}function Ko(e,t,r){t[0]==="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||sl.test(t)?r:r+"px"}function Mr(e,t,r,n,i){var o;e:if(t==="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof n=="string"&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||Ko(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||Ko(e.style,t,r[t])}else if(t[0]==="o"&&t[1]==="n")o=t!==(t=t.replace(/(PointerCapture)$|Capture$/,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=r,r?n?r.u=n.u:(r.u=Date.now(),e.addEventListener(t,o?Xo:Jo,o)):e.removeEventListener(t,o?Xo:Jo,o);else{if(i)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 in e)try{e[t]=r??"";break e}catch{}typeof r=="function"||(r==null||r===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,r))}}function Jo(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(I.event?I.event(e):e)}function Xo(e){return this.l[e.type+!0](I.event?I.event(e):e)}function to(e,t,r,n,i,o,a,s,c,u){var d,l,p,f,g,_,y,h,b,m,w,C,E,S,x,k=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(c=!!(32&r.__u),o=[s=t.__e=r.__e]),(d=I.__b)&&d(t);e:if(typeof k=="function")try{if(h=t.props,b=(d=k.contextType)&&n[d.__c],m=d?b?b.props.value:d.__:n,r.__c?y=(l=t.__c=r.__c).__=l.__E:("prototype"in k&&k.prototype.render?t.__c=l=new k(h,m):(t.__c=l=new _e(h,m),l.constructor=k,l.render=dl),b&&b.sub(l),l.props=h,l.state||(l.state={}),l.context=m,l.__n=n,p=l.__d=!0,l.__h=[],l._sb=[]),l.__s==null&&(l.__s=l.state),k.getDerivedStateFromProps!=null&&(l.__s==l.state&&(l.__s=Me({},l.__s)),Me(l.__s,k.getDerivedStateFromProps(h,l.__s))),f=l.props,g=l.state,l.__v=t,p)k.getDerivedStateFromProps==null&&l.componentWillMount!=null&&l.componentWillMount(),l.componentDidMount!=null&&l.__h.push(l.componentDidMount);else{if(k.getDerivedStateFromProps==null&&h!==f&&l.componentWillReceiveProps!=null&&l.componentWillReceiveProps(h,m),!l.__e&&(l.shouldComponentUpdate!=null&&l.shouldComponentUpdate(h,l.__s,m)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(l.props=h,l.state=l.__s,l.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(T){T&&(T.__=t)}),w=0;w<l._sb.length;w++)l.__h.push(l._sb[w]);l._sb=[],l.__h.length&&a.push(l);break e}l.componentWillUpdate!=null&&l.componentWillUpdate(h,l.__s,m),l.componentDidUpdate!=null&&l.__h.push(function(){l.componentDidUpdate(f,g,_)})}if(l.context=m,l.props=h,l.__P=e,l.__e=!1,C=I.__r,E=0,"prototype"in k&&k.prototype.render){for(l.state=l.__s,l.__d=!1,C&&C(t),d=l.render(l.props,l.state,l.context),S=0;S<l._sb.length;S++)l.__h.push(l._sb[S]);l._sb=[]}else do l.__d=!1,C&&C(t),d=l.render(l.props,l.state,l.context),l.state=l.__s;while(l.__d&&++E<25);l.state=l.__s,l.getChildContext!=null&&(n=Me(Me({},n),l.getChildContext())),p||l.getSnapshotBeforeUpdate==null||(_=l.getSnapshotBeforeUpdate(f,g)),Rs(e,wn(x=d!=null&&d.type===pe&&d.key==null?d.props.children:d)?x:[x],t,r,n,i,o,a,s,c,u),l.base=t.__e,t.__u&=-161,l.__h.length&&a.push(l),y&&(l.__E=l.__=null)}catch(T){t.__v=null,c||o!=null?(t.__e=s,t.__u|=c?160:32,o[o.indexOf(s)]=null):(t.__e=r.__e,t.__k=r.__k),I.__e(T,t,r)}else o==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=ll(r.__e,t,r,n,i,o,a,c,u);(d=I.diffed)&&d(t)}function Os(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)ro(r[n],r[++n],r[++n]);I.__c&&I.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){I.__e(o,i.__v)}})}function ll(e,t,r,n,i,o,a,s,c){var u,d,l,p,f,g,_,y=r.props,h=t.props,b=t.type;if(b==="svg"&&(i=!0),o!=null){for(u=0;u<o.length;u++)if((f=o[u])&&"setAttribute"in f==!!b&&(b?f.localName===b:f.nodeType===3)){e=f,o[u]=null;break}}if(e==null){if(b===null)return document.createTextNode(h);e=i?document.createElementNS("http://www.w3.org/2000/svg",b):document.createElement(b,h.is&&h),o=null,s=!1}if(b===null)y===h||s&&e.data===h||(e.data=h);else{if(o=o&&Sr.call(e.childNodes),y=r.props||cr,!s&&o!=null)for(y={},u=0;u<e.attributes.length;u++)y[(f=e.attributes[u]).name]=f.value;for(u in y)f=y[u],u=="children"||(u=="dangerouslySetInnerHTML"?l=f:u==="key"||u in h||Mr(e,u,null,f,i));for(u in h)f=h[u],u=="children"?p=f:u=="dangerouslySetInnerHTML"?d=f:u=="value"?g=f:u=="checked"?_=f:u==="key"||s&&typeof f!="function"||y[u]===f||Mr(e,u,f,y[u],i);if(d)s||l&&(d.__html===l.__html||d.__html===e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(l&&(e.innerHTML=""),Rs(e,wn(p)?p:[p],t,r,n,i&&b!=="foreignObject",o,a,o?o[0]:r.__k&&Rt(r,0),s,c),o!=null)for(u=o.length;u--;)o[u]!=null&&ks(o[u]);s||(u="value",g!==void 0&&(g!==e[u]||b==="progress"&&!g||b==="option"&&g!==y[u])&&Mr(e,u,g,y[u],!1),u="checked",_!==void 0&&_!==e[u]&&Mr(e,u,_,y[u],!1))}return e}function ro(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(n){I.__e(n,r)}}function pi(e,t,r){var n,i;if(I.unmount&&I.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||ro(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){I.__e(o,t)}n.base=n.__P=null,e.__c=void 0}if(n=e.__k)for(i=0;i<n.length;i++)n[i]&&pi(n[i],t,r||typeof e.type!="function");r||e.__e==null||ks(e.__e),e.__=e.__e=e.__d=void 0}function dl(e,t,r){return this.constructor(e,r)}function He(e,t,r){var n,i,o,a;I.__&&I.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],a=[],to(t,e=(!n&&r||t).__k=q(pe,null,[e]),i||cr,cr,t.ownerSVGElement!==void 0,!n&&r?[r]:i?null:t.firstChild?Sr.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,a),Os(o,e,a)}function no(e,t){He(e,t,no)}function io(e,t,r){var n,i,o,a,s=Me({},e.props);for(o in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)o=="key"?n=t[o]:o=="ref"?i=t[o]:s[o]=t[o]===void 0&&a!==void 0?a[o]:t[o];return arguments.length>2&&(s.children=arguments.length>3?Sr.call(arguments,2):r),Xt(e.type,s,n||e.key,i||e.ref,null)}function Sn(e,t){var r={__c:t="__cC"+Es++,__:e,Consumer:function(n,i){return n.children(i)},Provider:function(n){var i,o;return this.getChildContext||(i=[],(o={})[t]=this,this.getChildContext=function(){return o},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&i.some(function(s){s.__e=!0,fi(s)})},this.sub=function(a){i.push(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){i.splice(i.indexOf(a),1),s&&s.call(a)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}Sr=xs.slice,I={__e:function(e,t,r,n){for(var i,o,a;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&o.getDerivedStateFromError!=null&&(i.setState(o.getDerivedStateFromError(e)),a=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,n||{}),a=i.__d),a)return i.__E=i}catch(s){e=s}throw e}},Ss=0,_e.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Me({},this.state),typeof e=="function"&&(e=e(Me({},r),this.props)),e&&Me(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),fi(this))},_e.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),fi(this))},_e.prototype.render=pe,et=[],Cs=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,di=function(e,t){return e.__v.__b-t.__v.__b},tn.__r=0,Es=0;function oo(){return(oo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var fl=["context","children"];function pl(e){this.getChildContext=function(){return e.context};var t=e.children,r=function(n,i){if(n==null)return{};var o,a,s={},c=Object.keys(n);for(a=0;a<c.length;a++)i.indexOf(o=c[a])>=0||(s[o]=n[o]);return s}(e,fl);return io(t,r)}function ml(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=q(pl,oo({},this._props,{context:e.detail.context}),function t(r,n){if(r.nodeType===3)return r.data;if(r.nodeType!==1)return null;var i=[],o={},a=0,s=r.attributes,c=r.childNodes;for(a=s.length;a--;)s[a].name!=="slot"&&(o[s[a].name]=s[a].value,o[Is(s[a].name)]=s[a].value);for(a=c.length;a--;){var u=t(c[a],null),d=c[a].slot;d?o[d]=q(Zo,{name:d},u):i[a]=u}var l=n?q(Zo,null,i):i;return q(n||r.nodeName.toLowerCase(),o,l)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?no:He)(this._vdom,this._root)}function Is(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function hl(e,t,r){if(this._vdom){var n={};n[e]=r=r??void 0,n[Is(e)]=r,this._vdom=io(this._vdom,n),He(this._vdom,this._root)}}function vl(){He(this._vdom=null,this._root)}function Zo(e,t){var r=this;return q("slot",oo({},e,{ref:function(n){n?(r.ref=n,r._listener||(r._listener=function(i){i.stopPropagation(),i.detail.context=t},n.addEventListener("_preact",r._listener))):r.ref.removeEventListener("_preact",r._listener)}}))}function gl(e,t,r,n){function i(){var o=Reflect.construct(HTMLElement,[],i);return o._vdomComponent=e,o._root=n&&n.shadow?o.attachShadow({mode:n.mode||"open"}):o,o}return(i.prototype=Object.create(HTMLElement.prototype)).constructor=i,i.prototype.connectedCallback=ml,i.prototype.attributeChangedCallback=hl,i.prototype.disconnectedCallback=vl,r=r||e.observedAttributes||Object.keys(e.propTypes||{}),i.observedAttributes=r,r.forEach(function(o){Object.defineProperty(i.prototype,o,{get:function(){return this._vdom.props[o]},set:function(a){this._vdom?this.attributeChangedCallback(o,null,a):(this._props||(this._props={}),this._props[o]=a,this.connectedCallback());var s=typeof a;a!=null&&s!=="string"&&s!=="boolean"&&s!=="number"||this.setAttribute(o,a)}})}),customElements.define(t||e.tagName||e.displayName||e.name,i)}var De,j,Hn,ea,At=0,Ps=[],Qr=[],ta=I.__b,ra=I.__r,na=I.diffed,ia=I.__c,oa=I.unmount;function lt(e,t){I.__h&&I.__h(j,e,At||t),At=0;var r=j.__H||(j.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:Qr}),r.__[e]}function Ie(e){return At=1,ao(Ms,e)}function ao(e,t,r){var n=lt(De++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):Ms(void 0,t),function(s){var c=n.__N?n.__N[0]:n.__[0],u=n.t(c,s);c!==u&&(n.__N=[u,n.__[1]],n.__c.setState({}))}],n.__c=j,!j.u)){var i=function(s,c,u){if(!n.__c.__H)return!0;var d=n.__c.__H.__.filter(function(p){return p.__c});if(d.every(function(p){return!p.__N}))return!o||o.call(this,s,c,u);var l=!1;return d.forEach(function(p){if(p.__N){var f=p.__[0];p.__=p.__N,p.__N=void 0,f!==p.__[0]&&(l=!0)}}),!(!l&&n.__c.props===s)&&(!o||o.call(this,s,c,u))};j.u=!0;var o=j.shouldComponentUpdate,a=j.componentWillUpdate;j.componentWillUpdate=function(s,c,u){if(this.__e){var d=o;o=void 0,i(s,c,u),o=d}a&&a.call(this,s,c,u)},j.shouldComponentUpdate=i}return n.__N||n.__}function G(e,t){var r=lt(De++,3);!I.__s&&so(r.__H,t)&&(r.__=e,r.i=t,j.__H.__h.push(r))}function dt(e,t){var r=lt(De++,4);!I.__s&&so(r.__H,t)&&(r.__=e,r.i=t,j.__h.push(r))}function ve(e){return At=5,ie(function(){return{current:e}},[])}function Ls(e,t,r){At=6,dt(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},r==null?r:r.concat(e))}function ie(e,t){var r=lt(De++,7);return so(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function bt(e,t){return At=8,ie(function(){return e},t)}function Ft(e){var t=j.context[e.__c],r=lt(De++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(j)),t.props.value):e.__}function rn(e,t){I.useDebugValue&&I.useDebugValue(t?t(e):e)}function yl(e){var t=lt(De++,10),r=Ie();return t.__=e,j.componentDidCatch||(j.componentDidCatch=function(n,i){t.__&&t.__(n,i),r[1](n)}),[r[0],function(){r[1](void 0)}]}function Ns(){var e=lt(De++,11);if(!e.__){for(var t=j.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function bl(){for(var e;e=Ps.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Yr),e.__H.__h.forEach(mi),e.__H.__h=[]}catch(t){e.__H.__h=[],I.__e(t,e.__v)}}I.__b=function(e){j=null,ta&&ta(e)},I.__r=function(e){ra&&ra(e),De=0;var t=(j=e.__c).__H;t&&(Hn===j?(t.__h=[],j.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=Qr,r.__N=r.i=void 0})):(t.__h.forEach(Yr),t.__h.forEach(mi),t.__h=[],De=0)),Hn=j},I.diffed=function(e){na&&na(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ps.push(t)!==1&&ea===I.requestAnimationFrame||((ea=I.requestAnimationFrame)||_l)(bl)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==Qr&&(r.__=r.__V),r.i=void 0,r.__V=Qr})),Hn=j=null},I.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Yr),r.__h=r.__h.filter(function(n){return!n.__||mi(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],I.__e(n,r.__v)}}),ia&&ia(e,t)},I.unmount=function(e){oa&&oa(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{Yr(n)}catch(i){t=i}}),r.__H=void 0,t&&I.__e(t,r.__v))};var aa=typeof requestAnimationFrame=="function";function _l(e){var t,r=function(){clearTimeout(n),aa&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);aa&&(t=requestAnimationFrame(r))}function Yr(e){var t=j,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),j=t}function mi(e){var t=j;e.__c=e.__(),j=t}function so(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function Ms(e,t){return typeof t=="function"?t(e):t}function Fs(e,t){for(var r in t)e[r]=t[r];return e}function hi(e,t){for(var r in e)if(r!=="__source"&&!(r in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function nn(e){this.props=e}function Ds(e,t){function r(i){var o=this.props.ref,a=o==i.ref;return!a&&o&&(o.call?o(null):o.current=null),t?!t(this.props,i)||!a:hi(this.props,i)}function n(i){return this.shouldComponentUpdate=r,q(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(nn.prototype=new _e).isPureReactComponent=!0,nn.prototype.shouldComponentUpdate=function(e,t){return hi(this.props,e)||hi(this.state,t)};var sa=I.__b;I.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),sa&&sa(e)};var wl=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function co(e){function t(r){var n=Fs({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=wl,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var ca=function(e,t){return e==null?null:Fe(Fe(e).map(t))},$s={map:ca,forEach:ca,count:function(e){return e?Fe(e).length:0},only:function(e){var t=Fe(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Fe},Sl=I.__e;I.__e=function(e,t,r,n){if(e.then){for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return t.__e==null&&(t.__e=r.__e,t.__k=r.__k),i.__c(e,t)}Sl(e,t,r,n)};var ua=I.unmount;function Bs(e,t,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=Fs({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Bs(n,t,r)})),e}function Us(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return Us(n,t,r)}),e.__c&&e.__c.__P===t&&(e.__e&&r.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=r)),e}function Zt(){this.__u=0,this.t=null,this.__b=null}function js(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function zs(e){var t,r,n;function i(o){if(t||(t=e()).then(function(a){r=a.default||a},function(a){n=a}),n)throw n;if(!r)throw t;return q(r,o)}return i.displayName="Lazy",i.__f=!0,i}function _t(){this.u=null,this.o=null}I.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),ua&&ua(e)},(Zt.prototype=new _e).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var i=js(n.__v),o=!1,a=function(){o||(o=!0,r.__R=null,i?i(s):s())};r.__R=a;var s=function(){if(!--n.__u){if(n.state.__a){var c=n.state.__a;n.__v.__k[0]=Us(c,c.__c.__P,c.__c.__O)}var u;for(n.setState({__a:n.__b=null});u=n.t.pop();)u.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(a,a)},Zt.prototype.componentWillUnmount=function(){this.t=[]},Zt.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=Bs(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&q(pe,null,e.fallback);return i&&(i.__u&=-33),[q(pe,null,t.__a?null:e.children),i]};var la=function(e,t,r){if(++r[1]===r[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(r=e.u;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;e.u=r=r[2]}};function Cl(e){return this.getChildContext=function(){return e.context},e.children}function El(e){var t=this,r=e.i;t.componentWillUnmount=function(){He(null,t.l),t.l=null,t.i=null},t.i&&t.i!==r&&t.componentWillUnmount(),t.l||(t.i=r,t.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),t.i.appendChild(n)},insertBefore:function(n,i){this.childNodes.push(n),t.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),t.i.removeChild(n)}}),He(q(Cl,{context:t.context},e.__v),t.l)}function Hs(e,t){var r=q(El,{__v:e,i:t});return r.containerInfo=t,r}(_t.prototype=new _e).__a=function(e){var t=this,r=js(t.__v),n=t.o.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),la(t,e,n)):i()};r?r(o):o()}},_t.prototype.render=function(e){this.u=null,this.o=new Map;var t=Fe(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.o.set(t[r],this.u=[1,0,this.u]);return e.children},_t.prototype.componentDidUpdate=_t.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,r){la(e,r,t)})};var Ws=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,xl=/^(?: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]/,kl=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Tl=/[A-Z0-9]/g,Rl=typeof document<"u",Al=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function qs(e,t,r){return t.__k==null&&(t.textContent=""),He(e,t),typeof r=="function"&&r(),e?e.__c:null}function Vs(e,t,r){return no(e,t),typeof r=="function"&&r(),e?e.__c:null}_e.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(_e.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var da=I.event;function Ol(){}function Il(){return this.cancelBubble}function Pl(){return this.defaultPrevented}I.event=function(e){return da&&(e=da(e)),e.persist=Ol,e.isPropagationStopped=Il,e.isDefaultPrevented=Pl,e.nativeEvent=e};var uo,Ll={enumerable:!1,configurable:!0,get:function(){return this.class}},fa=I.vnode;I.vnode=function(e){typeof e.type=="string"&&function(t){var r=t.props,n=t.type,i={};for(var o in r){var a=r[o];if(!(o==="value"&&"defaultValue"in r&&a==null||Rl&&o==="children"&&n==="noscript"||o==="class"||o==="className")){var s=o.toLowerCase();o==="defaultValue"&&"value"in r&&r.value==null?o="value":o==="download"&&a===!0?a="":s==="ondoubleclick"?o="ondblclick":s!=="onchange"||n!=="input"&&n!=="textarea"||Al(r.type)?s==="onfocus"?o="onfocusin":s==="onblur"?o="onfocusout":kl.test(o)?o=s:n.indexOf("-")===-1&&xl.test(o)?o=o.replace(Tl,"-$&").toLowerCase():a===null&&(a=void 0):s=o="oninput",s==="oninput"&&i[o=s]&&(o="oninputCapture"),i[o]=a}}n=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=Fe(r.children).forEach(function(c){c.props.selected=i.value.indexOf(c.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=Fe(r.children).forEach(function(c){c.props.selected=i.multiple?i.defaultValue.indexOf(c.props.value)!=-1:i.defaultValue==c.props.value})),r.class&&!r.className?(i.class=r.class,Object.defineProperty(i,"className",Ll)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=Ws,fa&&fa(e)};var pa=I.__r;I.__r=function(e){pa&&pa(e),uo=e.__c};var ma=I.diffed;I.diffed=function(e){ma&&ma(e);var t=e.props,r=e.__e;r!=null&&e.type==="textarea"&&"value"in t&&t.value!==r.value&&(r.value=t.value==null?"":t.value),uo=null};var Gs={ReactCurrentDispatcher:{current:{readContext:function(e){return uo.__n[e.__c].props.value}}}},Nl="17.0.2";function Qs(e){return q.bind(null,e)}function Er(e){return!!e&&e.$$typeof===Ws}function Ys(e){return Er(e)&&e.type===pe}function Ks(e){return Er(e)?io.apply(null,arguments):e}function Js(e){return!!e.__k&&(He(null,e),!0)}function Xs(e){return e&&(e.base||e.nodeType===1&&e)||null}var Zs=function(e,t){return e(t)},ec=function(e,t){return e(t)},tc=pe;function lo(e){e()}function rc(e){return e}function nc(){return[!1,lo]}var ic=dt,oc=Er;function ac(e,t){var r=t(),n=Ie({h:{__:r,v:t}}),i=n[0].h,o=n[1];return dt(function(){i.__=r,i.v=t,Wn(i)&&o({h:i})},[e,r,t]),G(function(){return Wn(i)&&o({h:i}),e(function(){Wn(i)&&o({h:i})})},[e]),r}function Wn(e){var t,r,n=e.v,i=e.__;try{var o=n();return!((t=i)===(r=o)&&(t!==0||1/t==1/r)||t!=t&&r!=r)}catch{return!0}}var sc={useState:Ie,useId:Ns,useReducer:ao,useEffect:G,useLayoutEffect:dt,useInsertionEffect:ic,useTransition:nc,useDeferredValue:rc,useSyncExternalStore:ac,startTransition:lo,useRef:ve,useImperativeHandle:Ls,useMemo:ie,useCallback:bt,useContext:Ft,useDebugValue:rn,version:"17.0.2",Children:$s,render:qs,hydrate:Vs,unmountComponentAtNode:Js,createPortal:Hs,createElement:q,createContext:Sn,createFactory:Qs,cloneElement:Ks,createRef:Cr,Fragment:pe,isValidElement:Er,isElement:oc,isFragment:Ys,findDOMNode:Xs,Component:_e,PureComponent:nn,memo:Ds,forwardRef:co,flushSync:ec,unstable_batchedUpdates:Zs,StrictMode:tc,Suspense:Zt,SuspenseList:_t,lazy:zs,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Gs};const ur=Object.freeze(Object.defineProperty({__proto__:null,Children:$s,Component:_e,Fragment:pe,PureComponent:nn,StrictMode:tc,Suspense:Zt,SuspenseList:_t,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Gs,cloneElement:Ks,createContext:Sn,createElement:q,createFactory:Qs,createPortal:Hs,createRef:Cr,default:sc,findDOMNode:Xs,flushSync:ec,forwardRef:co,hydrate:Vs,isElement:oc,isFragment:Ys,isValidElement:Er,lazy:zs,memo:Ds,render:qs,startTransition:lo,unmountComponentAtNode:Js,unstable_batchedUpdates:Zs,useCallback:bt,useContext:Ft,useDebugValue:rn,useDeferredValue:rc,useEffect:G,useErrorBoundary:yl,useId:Ns,useImperativeHandle:Ls,useInsertionEffect:ic,useLayoutEffect:dt,useMemo:ie,useReducer:ao,useRef:ve,useState:Ie,useSyncExternalStore:ac,useTransition:nc,version:Nl},Symbol.toStringTag,{value:"Module"}));function Ml(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Fl(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Dl=function(){function e(r){var n=this;this._insertTag=function(i){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,o),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Fl(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Ml(i);try{o.insertRule(n,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0},e}(),ne="-ms-",on="-moz-",F="-webkit-",cc="comm",fo="rule",po="decl",$l="@import",uc="@keyframes",Bl="@layer",Ul=Math.abs,Cn=String.fromCharCode,jl=Object.assign;function zl(e,t){return Z(e,0)^45?(((t<<2^Z(e,0))<<2^Z(e,1))<<2^Z(e,2))<<2^Z(e,3):0}function lc(e){return e.trim()}function Hl(e,t){return(e=t.exec(e))?e[0]:e}function D(e,t,r){return e.replace(t,r)}function vi(e,t){return e.indexOf(t)}function Z(e,t){return e.charCodeAt(t)|0}function lr(e,t,r){return e.slice(t,r)}function ke(e){return e.length}function mo(e){return e.length}function Fr(e,t){return t.push(e),e}function Wl(e,t){return e.map(t).join("")}var En=1,Ot=1,dc=0,ce=0,V=0,Dt="";function xn(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:En,column:Ot,length:a,return:""}}function Wt(e,t){return jl(xn("",null,null,"",null,null,0),e,{length:-e.length},t)}function ql(){return V}function Vl(){return V=ce>0?Z(Dt,--ce):0,Ot--,V===10&&(Ot=1,En--),V}function fe(){return V=ce<dc?Z(Dt,ce++):0,Ot++,V===10&&(Ot=1,En++),V}function Oe(){return Z(Dt,ce)}function Kr(){return ce}function xr(e,t){return lr(Dt,e,t)}function dr(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function fc(e){return En=Ot=1,dc=ke(Dt=e),ce=0,[]}function pc(e){return Dt="",e}function Jr(e){return lc(xr(ce-1,gi(e===91?e+2:e===40?e+1:e)))}function Gl(e){for(;(V=Oe())&&V<33;)fe();return dr(e)>2||dr(V)>3?"":" "}function Ql(e,t){for(;--t&&fe()&&!(V<48||V>102||V>57&&V<65||V>70&&V<97););return xr(e,Kr()+(t<6&&Oe()==32&&fe()==32))}function gi(e){for(;fe();)switch(V){case e:return ce;case 34:case 39:e!==34&&e!==39&&gi(V);break;case 40:e===41&&gi(e);break;case 92:fe();break}return ce}function Yl(e,t){for(;fe()&&e+V!==57;)if(e+V===84&&Oe()===47)break;return"/*"+xr(t,ce-1)+"*"+Cn(e===47?e:fe())}function Kl(e){for(;!dr(Oe());)fe();return xr(e,ce)}function Jl(e){return pc(Xr("",null,null,null,[""],e=fc(e),0,[0],e))}function Xr(e,t,r,n,i,o,a,s,c){for(var u=0,d=0,l=a,p=0,f=0,g=0,_=1,y=1,h=1,b=0,m="",w=i,C=o,E=n,S=m;y;)switch(g=b,b=fe()){case 40:if(g!=108&&Z(S,l-1)==58){vi(S+=D(Jr(b),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:S+=Jr(b);break;case 9:case 10:case 13:case 32:S+=Gl(g);break;case 92:S+=Ql(Kr()-1,7);continue;case 47:switch(Oe()){case 42:case 47:Fr(Xl(Yl(fe(),Kr()),t,r),c);break;default:S+="/"}break;case 123*_:s[u++]=ke(S)*h;case 125*_:case 59:case 0:switch(b){case 0:case 125:y=0;case 59+d:h==-1&&(S=D(S,/\f/g,"")),f>0&&ke(S)-l&&Fr(f>32?va(S+";",n,r,l-1):va(D(S," ","")+";",n,r,l-2),c);break;case 59:S+=";";default:if(Fr(E=ha(S,t,r,u,d,i,s,m,w=[],C=[],l),o),b===123)if(d===0)Xr(S,t,E,E,w,o,l,s,C);else switch(p===99&&Z(S,3)===110?100:p){case 100:case 108:case 109:case 115:Xr(e,E,E,n&&Fr(ha(e,E,E,0,0,i,s,m,i,w=[],l),C),i,C,l,s,n?w:C);break;default:Xr(S,E,E,E,[""],C,0,s,C)}}u=d=f=0,_=h=1,m=S="",l=a;break;case 58:l=1+ke(S),f=g;default:if(_<1){if(b==123)--_;else if(b==125&&_++==0&&Vl()==125)continue}switch(S+=Cn(b),b*_){case 38:h=d>0?1:(S+="\f",-1);break;case 44:s[u++]=(ke(S)-1)*h,h=1;break;case 64:Oe()===45&&(S+=Jr(fe())),p=Oe(),d=l=ke(m=S+=Kl(Kr())),b++;break;case 45:g===45&&ke(S)==2&&(_=0)}}return o}function ha(e,t,r,n,i,o,a,s,c,u,d){for(var l=i-1,p=i===0?o:[""],f=mo(p),g=0,_=0,y=0;g<n;++g)for(var h=0,b=lr(e,l+1,l=Ul(_=a[g])),m=e;h<f;++h)(m=lc(_>0?p[h]+" "+b:D(b,/&\f/g,p[h])))&&(c[y++]=m);return xn(e,t,r,i===0?fo:s,c,u,d)}function Xl(e,t,r){return xn(e,t,r,cc,Cn(ql()),lr(e,2,-2),0)}function va(e,t,r,n){return xn(e,t,r,po,lr(e,0,n),lr(e,n+1,-1),n)}function xt(e,t){for(var r="",n=mo(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function Zl(e,t,r,n){switch(e.type){case Bl:if(e.children.length)break;case $l:case po:return e.return=e.return||e.value;case cc:return"";case uc:return e.return=e.value+"{"+xt(e.children,n)+"}";case fo:e.value=e.props.join(",")}return ke(r=xt(e.children,n))?e.return=e.value+"{"+r+"}":""}function ed(e){var t=mo(e);return function(r,n,i,o){for(var a="",s=0;s<t;s++)a+=e[s](r,n,i,o)||"";return a}}function td(e){return function(t){t.root||(t=t.return)&&e(t)}}function mc(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var rd=function(t,r,n){for(var i=0,o=0;i=o,o=Oe(),i===38&&o===12&&(r[n]=1),!dr(o);)fe();return xr(t,ce)},nd=function(t,r){var n=-1,i=44;do switch(dr(i)){case 0:i===38&&Oe()===12&&(r[n]=1),t[n]+=rd(ce-1,r,n);break;case 2:t[n]+=Jr(i);break;case 4:if(i===44){t[++n]=Oe()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Cn(i)}while(i=fe());return t},id=function(t,r){return pc(nd(fc(t),r))},ga=new WeakMap,od=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,i=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!ga.get(n))&&!i){ga.set(t,!0);for(var o=[],a=id(r,o),s=n.props,c=0,u=0;c<a.length;c++)for(var d=0;d<s.length;d++,u++)t.props[u]=o[c]?a[c].replace(/&\f/g,s[d]):s[d]+" "+a[c]}}},ad=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function hc(e,t){switch(zl(e,t)){case 5103:return F+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return F+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return F+e+on+e+ne+e+e;case 6828:case 4268:return F+e+ne+e+e;case 6165:return F+e+ne+"flex-"+e+e;case 5187:return F+e+D(e,/(\w+).+(:[^]+)/,F+"box-$1$2"+ne+"flex-$1$2")+e;case 5443:return F+e+ne+"flex-item-"+D(e,/flex-|-self/,"")+e;case 4675:return F+e+ne+"flex-line-pack"+D(e,/align-content|flex-|-self/,"")+e;case 5548:return F+e+ne+D(e,"shrink","negative")+e;case 5292:return F+e+ne+D(e,"basis","preferred-size")+e;case 6060:return F+"box-"+D(e,"-grow","")+F+e+ne+D(e,"grow","positive")+e;case 4554:return F+D(e,/([^-])(transform)/g,"$1"+F+"$2")+e;case 6187:return D(D(D(e,/(zoom-|grab)/,F+"$1"),/(image-set)/,F+"$1"),e,"")+e;case 5495:case 3959:return D(e,/(image-set\([^]*)/,F+"$1$`$1");case 4968:return D(D(e,/(.+:)(flex-)?(.*)/,F+"box-pack:$3"+ne+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+F+e+e;case 4095:case 3583:case 4068:case 2532:return D(e,/(.+)-inline(.+)/,F+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ke(e)-1-t>6)switch(Z(e,t+1)){case 109:if(Z(e,t+4)!==45)break;case 102:return D(e,/(.+:)(.+)-([^]+)/,"$1"+F+"$2-$3$1"+on+(Z(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~vi(e,"stretch")?hc(D(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Z(e,t+1)!==115)break;case 6444:switch(Z(e,ke(e)-3-(~vi(e,"!important")&&10))){case 107:return D(e,":",":"+F)+e;case 101:return D(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+F+(Z(e,14)===45?"inline-":"")+"box$3$1"+F+"$2$3$1"+ne+"$2box$3")+e}break;case 5936:switch(Z(e,t+11)){case 114:return F+e+ne+D(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return F+e+ne+D(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return F+e+ne+D(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return F+e+ne+e+e}return e}var sd=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case po:t.return=hc(t.value,t.length);break;case uc:return xt([Wt(t,{value:D(t.value,"@","@"+F)})],i);case fo:if(t.length)return Wl(t.props,function(o){switch(Hl(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return xt([Wt(t,{props:[D(o,/:(read-\w+)/,":"+on+"$1")]})],i);case"::placeholder":return xt([Wt(t,{props:[D(o,/:(plac\w+)/,":"+F+"input-$1")]}),Wt(t,{props:[D(o,/:(plac\w+)/,":"+on+"$1")]}),Wt(t,{props:[D(o,/:(plac\w+)/,ne+"input-$1")]})],i)}return""})}},cd=[sd],vc=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(_){var y=_.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(_),_.setAttribute("data-s",""))})}var i=t.stylisPlugins||cd,o={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(_){for(var y=_.getAttribute("data-emotion").split(" "),h=1;h<y.length;h++)o[y[h]]=!0;s.push(_)});var c,u=[od,ad];{var d,l=[Zl,td(function(_){d.insert(_)})],p=ed(u.concat(i,l)),f=function(y){return xt(Jl(y),p)};c=function(y,h,b,m){d=b,f(y?y+"{"+h.styles+"}":h.styles),m&&(g.inserted[h.name]=!0)}}var g={key:r,sheet:new Dl({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:c};return g.sheet.hydrate(s),g};function yi(){return yi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yi.apply(this,arguments)}function ud(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var gc={exports:{}},B={};/** @license React v16.13.1
1
+ var jl=Object.defineProperty;var zl=(e,t,r)=>t in e?jl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var fi=(e,t,r)=>(zl(e,typeof t!="symbol"?t+"":t,r),r);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=r(i);fetch(i.href,o)}})();var Dr,P,ec,lt,Ta,tc,Fi,rc,Er={},nc=[],Hl=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Un=Array.isArray;function We(e,t){for(var r in t)e[r]=t[r];return e}function ic(e){var t=e.parentNode;t&&t.removeChild(e)}function Z(e,t,r){var n,i,o,a={};for(o in t)o=="key"?n=t[o]:o=="ref"?i=t[o]:a[o]=t[o];if(arguments.length>2&&(a.children=arguments.length>3?Dr.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)a[o]===void 0&&(a[o]=e.defaultProps[o]);return fr(e,a,n,i,null)}function fr(e,t,r,n,i){var o={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:i??++ec,__i:-1,__u:0};return i==null&&P.vnode!=null&&P.vnode(o),o}function Br(){return{current:null}}function we(e){return e.children}function Ae(e,t){this.props=e,this.context=t}function $t(e,t){if(t==null)return e.__?$t(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?$t(e):null}function oc(e){var t,r;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return oc(e)}}function Di(e){(!e.__d&&(e.__d=!0)&&lt.push(e)&&!_n.__r++||Ta!==P.debounceRendering)&&((Ta=P.debounceRendering)||tc)(_n)}function _n(){var e,t,r,n,i,o,a,s,c;for(lt.sort(Fi);e=lt.shift();)e.__d&&(t=lt.length,n=void 0,o=(i=(r=e).__v).__e,s=[],c=[],(a=r.__P)&&((n=We({},i)).__v=i.__v+1,P.vnode&&P.vnode(n),ko(a,n,i,r.__n,a.ownerSVGElement!==void 0,32&i.__u?[o]:null,s,o??$t(i),!!(32&i.__u),c),n.__.__k[n.__i]=n,cc(s,n,c),n.__e!=o&&oc(n)),lt.length>t&&lt.sort(Fi));_n.__r=0}function ac(e,t,r,n,i,o,a,s,c,u,p){var f,d,l,m,h,v=n&&n.__k||nc,b=t.length;for(r.__d=c,ql(r,t,v),c=r.__d,f=0;f<b;f++)(l=r.__k[f])!=null&&typeof l!="boolean"&&typeof l!="function"&&(d=l.__i===-1?Er:v[l.__i]||Er,l.__i=f,ko(e,l,d,i,o,a,s,c,u,p),m=l.__e,l.ref&&d.ref!=l.ref&&(d.ref&&To(d.ref,null,l),p.push(l.ref,l.__c||m,l)),h==null&&m!=null&&(h=m),65536&l.__u||d.__k===l.__k?c=sc(l,c,e):typeof l.type=="function"&&l.__d!==void 0?c=l.__d:m&&(c=m.nextSibling),l.__d=void 0,l.__u&=-196609);r.__d=c,r.__e=h}function ql(e,t,r){var n,i,o,a,s,c=t.length,u=r.length,p=u,f=0;for(e.__k=[],n=0;n<c;n++)(i=e.__k[n]=(i=t[n])==null||typeof i=="boolean"||typeof i=="function"?null:typeof i=="string"||typeof i=="number"||typeof i=="bigint"||i.constructor==String?fr(null,i,null,null,i):Un(i)?fr(we,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?fr(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)!=null?(i.__=e,i.__b=e.__b+1,s=Wl(i,r,a=n+f,p),i.__i=s,o=null,s!==-1&&(p--,(o=r[s])&&(o.__u|=131072)),o==null||o.__v===null?(s==-1&&f--,typeof i.type!="function"&&(i.__u|=65536)):s!==a&&(s===a+1?f++:s>a?p>c-a?f+=s-a:f--:f=s<a&&s==a-1?s-a:0,s!==n+f&&(i.__u|=65536))):(o=r[n])&&o.key==null&&o.__e&&(o.__e==e.__d&&(e.__d=$t(o)),Bi(o,o,!1),r[n]=null,p--);if(p)for(n=0;n<u;n++)(o=r[n])!=null&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=$t(o)),Bi(o,o))}function sc(e,t,r){var n,i;if(typeof e.type=="function"){for(n=e.__k,i=0;n&&i<n.length;i++)n[i]&&(n[i].__=e,t=sc(n[i],t,r));return t}return e.__e!=t&&(r.insertBefore(e.__e,t||null),t=e.__e),t&&t.nextSibling}function Ve(e,t){return t=t||[],e==null||typeof e=="boolean"||(Un(e)?e.some(function(r){Ve(r,t)}):t.push(e)),t}function Wl(e,t,r,n){var i=e.key,o=e.type,a=r-1,s=r+1,c=t[r];if(c===null||c&&i==c.key&&o===c.type)return r;if(n>(c!=null&&!(131072&c.__u)?1:0))for(;a>=0||s<t.length;){if(a>=0){if((c=t[a])&&!(131072&c.__u)&&i==c.key&&o===c.type)return a;a--}if(s<t.length){if((c=t[s])&&!(131072&c.__u)&&i==c.key&&o===c.type)return s;s++}}return-1}function Ra(e,t,r){t[0]==="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||Hl.test(t)?r:r+"px"}function en(e,t,r,n,i){var o;e:if(t==="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof n=="string"&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||Ra(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||Ra(e.style,t,r[t])}else if(t[0]==="o"&&t[1]==="n")o=t!==(t=t.replace(/(PointerCapture)$|Capture$/,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=r,r?n?r.u=n.u:(r.u=Date.now(),e.addEventListener(t,o?Oa:Aa,o)):e.removeEventListener(t,o?Oa:Aa,o);else{if(i)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 in e)try{e[t]=r??"";break e}catch{}typeof r=="function"||(r==null||r===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,r))}}function Aa(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(P.event?P.event(e):e)}function Oa(e){return this.l[e.type+!0](P.event?P.event(e):e)}function ko(e,t,r,n,i,o,a,s,c,u){var p,f,d,l,m,h,v,b,w,g,y,E,C,S,x,k=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(c=!!(32&r.__u),o=[s=t.__e=r.__e]),(p=P.__b)&&p(t);e:if(typeof k=="function")try{if(b=t.props,w=(p=k.contextType)&&n[p.__c],g=p?w?w.props.value:p.__:n,r.__c?v=(f=t.__c=r.__c).__=f.__E:("prototype"in k&&k.prototype.render?t.__c=f=new k(b,g):(t.__c=f=new Ae(b,g),f.constructor=k,f.render=Gl),w&&w.sub(f),f.props=b,f.state||(f.state={}),f.context=g,f.__n=n,d=f.__d=!0,f.__h=[],f._sb=[]),f.__s==null&&(f.__s=f.state),k.getDerivedStateFromProps!=null&&(f.__s==f.state&&(f.__s=We({},f.__s)),We(f.__s,k.getDerivedStateFromProps(b,f.__s))),l=f.props,m=f.state,f.__v=t,d)k.getDerivedStateFromProps==null&&f.componentWillMount!=null&&f.componentWillMount(),f.componentDidMount!=null&&f.__h.push(f.componentDidMount);else{if(k.getDerivedStateFromProps==null&&b!==l&&f.componentWillReceiveProps!=null&&f.componentWillReceiveProps(b,g),!f.__e&&(f.shouldComponentUpdate!=null&&f.shouldComponentUpdate(b,f.__s,g)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(f.props=b,f.state=f.__s,f.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(T){T&&(T.__=t)}),y=0;y<f._sb.length;y++)f.__h.push(f._sb[y]);f._sb=[],f.__h.length&&a.push(f);break e}f.componentWillUpdate!=null&&f.componentWillUpdate(b,f.__s,g),f.componentDidUpdate!=null&&f.__h.push(function(){f.componentDidUpdate(l,m,h)})}if(f.context=g,f.props=b,f.__P=e,f.__e=!1,E=P.__r,C=0,"prototype"in k&&k.prototype.render){for(f.state=f.__s,f.__d=!1,E&&E(t),p=f.render(f.props,f.state,f.context),S=0;S<f._sb.length;S++)f.__h.push(f._sb[S]);f._sb=[]}else do f.__d=!1,E&&E(t),p=f.render(f.props,f.state,f.context),f.state=f.__s;while(f.__d&&++C<25);f.state=f.__s,f.getChildContext!=null&&(n=We(We({},n),f.getChildContext())),d||f.getSnapshotBeforeUpdate==null||(h=f.getSnapshotBeforeUpdate(l,m)),ac(e,Un(x=p!=null&&p.type===we&&p.key==null?p.props.children:p)?x:[x],t,r,n,i,o,a,s,c,u),f.base=t.__e,t.__u&=-161,f.__h.length&&a.push(f),v&&(f.__E=f.__=null)}catch(T){t.__v=null,c||o!=null?(t.__e=s,t.__u|=c?160:32,o[o.indexOf(s)]=null):(t.__e=r.__e,t.__k=r.__k),P.__e(T,t,r)}else o==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=Vl(r.__e,t,r,n,i,o,a,c,u);(p=P.diffed)&&p(t)}function cc(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)To(r[n],r[++n],r[++n]);P.__c&&P.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){P.__e(o,i.__v)}})}function Vl(e,t,r,n,i,o,a,s,c){var u,p,f,d,l,m,h,v=r.props,b=t.props,w=t.type;if(w==="svg"&&(i=!0),o!=null){for(u=0;u<o.length;u++)if((l=o[u])&&"setAttribute"in l==!!w&&(w?l.localName===w:l.nodeType===3)){e=l,o[u]=null;break}}if(e==null){if(w===null)return document.createTextNode(b);e=i?document.createElementNS("http://www.w3.org/2000/svg",w):document.createElement(w,b.is&&b),o=null,s=!1}if(w===null)v===b||s&&e.data===b||(e.data=b);else{if(o=o&&Dr.call(e.childNodes),v=r.props||Er,!s&&o!=null)for(v={},u=0;u<e.attributes.length;u++)v[(l=e.attributes[u]).name]=l.value;for(u in v)l=v[u],u=="children"||(u=="dangerouslySetInnerHTML"?f=l:u==="key"||u in b||en(e,u,null,l,i));for(u in b)l=b[u],u=="children"?d=l:u=="dangerouslySetInnerHTML"?p=l:u=="value"?m=l:u=="checked"?h=l:u==="key"||s&&typeof l!="function"||v[u]===l||en(e,u,l,v[u],i);if(p)s||f&&(p.__html===f.__html||p.__html===e.innerHTML)||(e.innerHTML=p.__html),t.__k=[];else if(f&&(e.innerHTML=""),ac(e,Un(d)?d:[d],t,r,n,i&&w!=="foreignObject",o,a,o?o[0]:r.__k&&$t(r,0),s,c),o!=null)for(u=o.length;u--;)o[u]!=null&&ic(o[u]);s||(u="value",m!==void 0&&(m!==e[u]||w==="progress"&&!m||w==="option"&&m!==v[u])&&en(e,u,m,v[u],!1),u="checked",h!==void 0&&h!==e[u]&&en(e,u,h,v[u],!1))}return e}function To(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(n){P.__e(n,r)}}function Bi(e,t,r){var n,i;if(P.unmount&&P.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||To(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){P.__e(o,t)}n.base=n.__P=null,e.__c=void 0}if(n=e.__k)for(i=0;i<n.length;i++)n[i]&&Bi(n[i],t,r||typeof e.type!="function");r||e.__e==null||ic(e.__e),e.__=e.__e=e.__d=void 0}function Gl(e,t,r){return this.constructor(e,r)}function tt(e,t,r){var n,i,o,a;P.__&&P.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],a=[],ko(t,e=(!n&&r||t).__k=Z(we,null,[e]),i||Er,Er,t.ownerSVGElement!==void 0,!n&&r?[r]:i?null:t.firstChild?Dr.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,a),cc(o,e,a)}function Ro(e,t){tt(e,t,Ro)}function Ao(e,t,r){var n,i,o,a,s=We({},e.props);for(o in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)o=="key"?n=t[o]:o=="ref"?i=t[o]:s[o]=t[o]===void 0&&a!==void 0?a[o]:t[o];return arguments.length>2&&(s.children=arguments.length>3?Dr.call(arguments,2):r),fr(e.type,s,n||e.key,i||e.ref,null)}function jn(e,t){var r={__c:t="__cC"+rc++,__:e,Consumer:function(n,i){return n.children(i)},Provider:function(n){var i,o;return this.getChildContext||(i=[],(o={})[t]=this,this.getChildContext=function(){return o},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&i.some(function(s){s.__e=!0,Di(s)})},this.sub=function(a){i.push(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){i.splice(i.indexOf(a),1),s&&s.call(a)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}Dr=nc.slice,P={__e:function(e,t,r,n){for(var i,o,a;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&o.getDerivedStateFromError!=null&&(i.setState(o.getDerivedStateFromError(e)),a=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,n||{}),a=i.__d),a)return i.__E=i}catch(s){e=s}throw e}},ec=0,Ae.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=We({},this.state),typeof e=="function"&&(e=e(We({},r),this.props)),e&&We(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),Di(this))},Ae.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Di(this))},Ae.prototype.render=we,lt=[],tc=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Fi=function(e,t){return e.__v.__b-t.__v.__b},_n.__r=0,rc=0;function Oo(){return(Oo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var Ql=["context","children"];function Yl(e){this.getChildContext=function(){return e.context};var t=e.children,r=function(n,i){if(n==null)return{};var o,a,s={},c=Object.keys(n);for(a=0;a<c.length;a++)i.indexOf(o=c[a])>=0||(s[o]=n[o]);return s}(e,Ql);return Ao(t,r)}function Kl(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=Z(Yl,Oo({},this._props,{context:e.detail.context}),function t(r,n){if(r.nodeType===3)return r.data;if(r.nodeType!==1)return null;var i=[],o={},a=0,s=r.attributes,c=r.childNodes;for(a=s.length;a--;)s[a].name!=="slot"&&(o[s[a].name]=s[a].value,o[uc(s[a].name)]=s[a].value);for(a=c.length;a--;){var u=t(c[a],null),p=c[a].slot;p?o[p]=Z(Pa,{name:p},u):i[a]=u}var f=n?Z(Pa,null,i):i;return Z(n||r.nodeName.toLowerCase(),o,f)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Ro:tt)(this._vdom,this._root)}function uc(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function Jl(e,t,r){if(this._vdom){var n={};n[e]=r=r??void 0,n[uc(e)]=r,this._vdom=Ao(this._vdom,n),tt(this._vdom,this._root)}}function Xl(){tt(this._vdom=null,this._root)}function Pa(e,t){var r=this;return Z("slot",Oo({},e,{ref:function(n){n?(r.ref=n,r._listener||(r._listener=function(i){i.stopPropagation(),i.detail.context=t},n.addEventListener("_preact",r._listener))):r.ref.removeEventListener("_preact",r._listener)}}))}function Zl(e,t,r,n){function i(){var o=Reflect.construct(HTMLElement,[],i);return o._vdomComponent=e,o._root=n&&n.shadow?o.attachShadow({mode:n.mode||"open"}):o,o}return(i.prototype=Object.create(HTMLElement.prototype)).constructor=i,i.prototype.connectedCallback=Kl,i.prototype.attributeChangedCallback=Jl,i.prototype.disconnectedCallback=Xl,r=r||e.observedAttributes||Object.keys(e.propTypes||{}),i.observedAttributes=r,r.forEach(function(o){Object.defineProperty(i.prototype,o,{get:function(){return this._vdom.props[o]},set:function(a){this._vdom?this.attributeChangedCallback(o,null,a):(this._props||(this._props={}),this._props[o]=a,this.connectedCallback());var s=typeof a;a!=null&&s!=="string"&&s!=="boolean"&&s!=="number"||this.setAttribute(o,a)}})}),customElements.define(t||e.tagName||e.displayName||e.name,i)}var Ge,G,pi,Ia,Ut=0,lc=[],mn=[],La=P.__b,Na=P.__r,Ma=P.diffed,Fa=P.__c,Da=P.unmount;function wt(e,t){P.__h&&P.__h(G,e,Ut||t),Ut=0;var r=G.__H||(G.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:mn}),r.__[e]}function je(e){return Ut=1,Po(pc,e)}function Po(e,t,r){var n=wt(Ge++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):pc(void 0,t),function(s){var c=n.__N?n.__N[0]:n.__[0],u=n.t(c,s);c!==u&&(n.__N=[u,n.__[1]],n.__c.setState({}))}],n.__c=G,!G.u)){var i=function(s,c,u){if(!n.__c.__H)return!0;var p=n.__c.__H.__.filter(function(d){return d.__c});if(p.every(function(d){return!d.__N}))return!o||o.call(this,s,c,u);var f=!1;return p.forEach(function(d){if(d.__N){var l=d.__[0];d.__=d.__N,d.__N=void 0,l!==d.__[0]&&(f=!0)}}),!(!f&&n.__c.props===s)&&(!o||o.call(this,s,c,u))};G.u=!0;var o=G.shouldComponentUpdate,a=G.componentWillUpdate;G.componentWillUpdate=function(s,c,u){if(this.__e){var p=o;o=void 0,i(s,c,u),o=p}a&&a.call(this,s,c,u)},G.shouldComponentUpdate=i}return n.__N||n.__}function te(e,t){var r=wt(Ge++,3);!P.__s&&Io(r.__H,t)&&(r.__=e,r.i=t,G.__H.__h.push(r))}function _t(e,t){var r=wt(Ge++,4);!P.__s&&Io(r.__H,t)&&(r.__=e,r.i=t,G.__h.push(r))}function Ce(e){return Ut=5,de(function(){return{current:e}},[])}function dc(e,t,r){Ut=6,_t(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},r==null?r:r.concat(e))}function de(e,t){var r=wt(Ge++,7);return Io(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function Ot(e,t){return Ut=8,de(function(){return e},t)}function Qt(e){var t=G.context[e.__c],r=wt(Ge++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(G)),t.props.value):e.__}function Sn(e,t){P.useDebugValue&&P.useDebugValue(t?t(e):e)}function ed(e){var t=wt(Ge++,10),r=je();return t.__=e,G.componentDidCatch||(G.componentDidCatch=function(n,i){t.__&&t.__(n,i),r[1](n)}),[r[0],function(){r[1](void 0)}]}function fc(){var e=wt(Ge++,11);if(!e.__){for(var t=G.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function td(){for(var e;e=lc.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(hn),e.__H.__h.forEach($i),e.__H.__h=[]}catch(t){e.__H.__h=[],P.__e(t,e.__v)}}P.__b=function(e){G=null,La&&La(e)},P.__r=function(e){Na&&Na(e),Ge=0;var t=(G=e.__c).__H;t&&(pi===G?(t.__h=[],G.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=mn,r.__N=r.i=void 0})):(t.__h.forEach(hn),t.__h.forEach($i),t.__h=[],Ge=0)),pi=G},P.diffed=function(e){Ma&&Ma(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(lc.push(t)!==1&&Ia===P.requestAnimationFrame||((Ia=P.requestAnimationFrame)||rd)(td)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==mn&&(r.__=r.__V),r.i=void 0,r.__V=mn})),pi=G=null},P.__c=function(e,t){t.some(function(r){try{r.__h.forEach(hn),r.__h=r.__h.filter(function(n){return!n.__||$i(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],P.__e(n,r.__v)}}),Fa&&Fa(e,t)},P.unmount=function(e){Da&&Da(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{hn(n)}catch(i){t=i}}),r.__H=void 0,t&&P.__e(t,r.__v))};var Ba=typeof requestAnimationFrame=="function";function rd(e){var t,r=function(){clearTimeout(n),Ba&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);Ba&&(t=requestAnimationFrame(r))}function hn(e){var t=G,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),G=t}function $i(e){var t=G;e.__c=e.__(),G=t}function Io(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function pc(e,t){return typeof t=="function"?t(e):t}function mc(e,t){for(var r in t)e[r]=t[r];return e}function Ui(e,t){for(var r in e)if(r!=="__source"&&!(r in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function En(e){this.props=e}function hc(e,t){function r(i){var o=this.props.ref,a=o==i.ref;return!a&&o&&(o.call?o(null):o.current=null),t?!t(this.props,i)||!a:Ui(this.props,i)}function n(i){return this.shouldComponentUpdate=r,Z(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(En.prototype=new Ae).isPureReactComponent=!0,En.prototype.shouldComponentUpdate=function(e,t){return Ui(this.props,e)||Ui(this.state,t)};var $a=P.__b;P.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),$a&&$a(e)};var nd=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Lo(e){function t(r){var n=mc({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=nd,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Ua=function(e,t){return e==null?null:Ve(Ve(e).map(t))},vc={map:Ua,forEach:Ua,count:function(e){return e?Ve(e).length:0},only:function(e){var t=Ve(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Ve},id=P.__e;P.__e=function(e,t,r,n){if(e.then){for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return t.__e==null&&(t.__e=r.__e,t.__k=r.__k),i.__c(e,t)}id(e,t,r,n)};var ja=P.unmount;function gc(e,t,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=mc({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return gc(n,t,r)})),e}function yc(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return yc(n,t,r)}),e.__c&&e.__c.__P===t&&(e.__e&&r.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=r)),e}function pr(){this.__u=0,this.t=null,this.__b=null}function bc(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function wc(e){var t,r,n;function i(o){if(t||(t=e()).then(function(a){r=a.default||a},function(a){n=a}),n)throw n;if(!r)throw t;return Z(r,o)}return i.displayName="Lazy",i.__f=!0,i}function Pt(){this.u=null,this.o=null}P.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),ja&&ja(e)},(pr.prototype=new Ae).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var i=bc(n.__v),o=!1,a=function(){o||(o=!0,r.__R=null,i?i(s):s())};r.__R=a;var s=function(){if(!--n.__u){if(n.state.__a){var c=n.state.__a;n.__v.__k[0]=yc(c,c.__c.__P,c.__c.__O)}var u;for(n.setState({__a:n.__b=null});u=n.t.pop();)u.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(a,a)},pr.prototype.componentWillUnmount=function(){this.t=[]},pr.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=gc(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&Z(we,null,e.fallback);return i&&(i.__u&=-33),[Z(we,null,t.__a?null:e.children),i]};var za=function(e,t,r){if(++r[1]===r[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(r=e.u;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;e.u=r=r[2]}};function od(e){return this.getChildContext=function(){return e.context},e.children}function ad(e){var t=this,r=e.i;t.componentWillUnmount=function(){tt(null,t.l),t.l=null,t.i=null},t.i&&t.i!==r&&t.componentWillUnmount(),t.l||(t.i=r,t.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),t.i.appendChild(n)},insertBefore:function(n,i){this.childNodes.push(n),t.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),t.i.removeChild(n)}}),tt(Z(od,{context:t.context},e.__v),t.l)}function _c(e,t){var r=Z(ad,{__v:e,i:t});return r.containerInfo=t,r}(Pt.prototype=new Ae).__a=function(e){var t=this,r=bc(t.__v),n=t.o.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),za(t,e,n)):i()};r?r(o):o()}},Pt.prototype.render=function(e){this.u=null,this.o=new Map;var t=Ve(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.o.set(t[r],this.u=[1,0,this.u]);return e.children},Pt.prototype.componentDidUpdate=Pt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,r){za(e,r,t)})};var Sc=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,sd=/^(?: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]/,cd=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ud=/[A-Z0-9]/g,ld=typeof document<"u",dd=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Ec(e,t,r){return t.__k==null&&(t.textContent=""),tt(e,t),typeof r=="function"&&r(),e?e.__c:null}function Cc(e,t,r){return Ro(e,t),typeof r=="function"&&r(),e?e.__c:null}Ae.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Ae.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Ha=P.event;function fd(){}function pd(){return this.cancelBubble}function md(){return this.defaultPrevented}P.event=function(e){return Ha&&(e=Ha(e)),e.persist=fd,e.isPropagationStopped=pd,e.isDefaultPrevented=md,e.nativeEvent=e};var No,hd={enumerable:!1,configurable:!0,get:function(){return this.class}},qa=P.vnode;P.vnode=function(e){typeof e.type=="string"&&function(t){var r=t.props,n=t.type,i={};for(var o in r){var a=r[o];if(!(o==="value"&&"defaultValue"in r&&a==null||ld&&o==="children"&&n==="noscript"||o==="class"||o==="className")){var s=o.toLowerCase();o==="defaultValue"&&"value"in r&&r.value==null?o="value":o==="download"&&a===!0?a="":s==="ondoubleclick"?o="ondblclick":s!=="onchange"||n!=="input"&&n!=="textarea"||dd(r.type)?s==="onfocus"?o="onfocusin":s==="onblur"?o="onfocusout":cd.test(o)?o=s:n.indexOf("-")===-1&&sd.test(o)?o=o.replace(ud,"-$&").toLowerCase():a===null&&(a=void 0):s=o="oninput",s==="oninput"&&i[o=s]&&(o="oninputCapture"),i[o]=a}}n=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=Ve(r.children).forEach(function(c){c.props.selected=i.value.indexOf(c.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=Ve(r.children).forEach(function(c){c.props.selected=i.multiple?i.defaultValue.indexOf(c.props.value)!=-1:i.defaultValue==c.props.value})),r.class&&!r.className?(i.class=r.class,Object.defineProperty(i,"className",hd)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=Sc,qa&&qa(e)};var Wa=P.__r;P.__r=function(e){Wa&&Wa(e),No=e.__c};var Va=P.diffed;P.diffed=function(e){Va&&Va(e);var t=e.props,r=e.__e;r!=null&&e.type==="textarea"&&"value"in t&&t.value!==r.value&&(r.value=t.value==null?"":t.value),No=null};var xc={ReactCurrentDispatcher:{current:{readContext:function(e){return No.__n[e.__c].props.value}}}},vd="17.0.2";function kc(e){return Z.bind(null,e)}function $r(e){return!!e&&e.$$typeof===Sc}function Tc(e){return $r(e)&&e.type===we}function Rc(e){return $r(e)?Ao.apply(null,arguments):e}function Ac(e){return!!e.__k&&(tt(null,e),!0)}function Oc(e){return e&&(e.base||e.nodeType===1&&e)||null}var Pc=function(e,t){return e(t)},Ic=function(e,t){return e(t)},Lc=we;function Mo(e){e()}function Nc(e){return e}function Mc(){return[!1,Mo]}var Fc=_t,Dc=$r;function Bc(e,t){var r=t(),n=je({h:{__:r,v:t}}),i=n[0].h,o=n[1];return _t(function(){i.__=r,i.v=t,mi(i)&&o({h:i})},[e,r,t]),te(function(){return mi(i)&&o({h:i}),e(function(){mi(i)&&o({h:i})})},[e]),r}function mi(e){var t,r,n=e.v,i=e.__;try{var o=n();return!((t=i)===(r=o)&&(t!==0||1/t==1/r)||t!=t&&r!=r)}catch{return!0}}var $c={useState:je,useId:fc,useReducer:Po,useEffect:te,useLayoutEffect:_t,useInsertionEffect:Fc,useTransition:Mc,useDeferredValue:Nc,useSyncExternalStore:Bc,startTransition:Mo,useRef:Ce,useImperativeHandle:dc,useMemo:de,useCallback:Ot,useContext:Qt,useDebugValue:Sn,version:"17.0.2",Children:vc,render:Ec,hydrate:Cc,unmountComponentAtNode:Ac,createPortal:_c,createElement:Z,createContext:jn,createFactory:kc,cloneElement:Rc,createRef:Br,Fragment:we,isValidElement:$r,isElement:Dc,isFragment:Tc,findDOMNode:Oc,Component:Ae,PureComponent:En,memo:hc,forwardRef:Lo,flushSync:Ic,unstable_batchedUpdates:Pc,StrictMode:Lc,Suspense:pr,SuspenseList:Pt,lazy:wc,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:xc};const Cr=Object.freeze(Object.defineProperty({__proto__:null,Children:vc,Component:Ae,Fragment:we,PureComponent:En,StrictMode:Lc,Suspense:pr,SuspenseList:Pt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:xc,cloneElement:Rc,createContext:jn,createElement:Z,createFactory:kc,createPortal:_c,createRef:Br,default:$c,findDOMNode:Oc,flushSync:Ic,forwardRef:Lo,hydrate:Cc,isElement:Dc,isFragment:Tc,isValidElement:$r,lazy:wc,memo:hc,render:Ec,startTransition:Mo,unmountComponentAtNode:Ac,unstable_batchedUpdates:Pc,useCallback:Ot,useContext:Qt,useDebugValue:Sn,useDeferredValue:Nc,useEffect:te,useErrorBoundary:ed,useId:fc,useImperativeHandle:dc,useInsertionEffect:Fc,useLayoutEffect:_t,useMemo:de,useReducer:Po,useRef:Ce,useState:je,useSyncExternalStore:Bc,useTransition:Mc,version:vd},Symbol.toStringTag,{value:"Module"}));function gd(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function yd(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var bd=function(){function e(r){var n=this;this._insertTag=function(i){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,o),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(yd(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=gd(i);try{o.insertRule(n,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0},e}(),le="-ms-",Cn="-moz-",j="-webkit-",Uc="comm",Fo="rule",Do="decl",wd="@import",jc="@keyframes",_d="@layer",Sd=Math.abs,zn=String.fromCharCode,Ed=Object.assign;function Cd(e,t){return ae(e,0)^45?(((t<<2^ae(e,0))<<2^ae(e,1))<<2^ae(e,2))<<2^ae(e,3):0}function zc(e){return e.trim()}function xd(e,t){return(e=t.exec(e))?e[0]:e}function z(e,t,r){return e.replace(t,r)}function ji(e,t){return e.indexOf(t)}function ae(e,t){return e.charCodeAt(t)|0}function xr(e,t,r){return e.slice(t,r)}function Me(e){return e.length}function Bo(e){return e.length}function tn(e,t){return t.push(e),e}function kd(e,t){return e.map(t).join("")}var Hn=1,jt=1,Hc=0,me=0,ee=0,Yt="";function qn(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:Hn,column:jt,length:a,return:""}}function ir(e,t){return Ed(qn("",null,null,"",null,null,0),e,{length:-e.length},t)}function Td(){return ee}function Rd(){return ee=me>0?ae(Yt,--me):0,jt--,ee===10&&(jt=1,Hn--),ee}function be(){return ee=me<Hc?ae(Yt,me++):0,jt++,ee===10&&(jt=1,Hn++),ee}function Ue(){return ae(Yt,me)}function vn(){return me}function Ur(e,t){return xr(Yt,e,t)}function kr(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function qc(e){return Hn=jt=1,Hc=Me(Yt=e),me=0,[]}function Wc(e){return Yt="",e}function gn(e){return zc(Ur(me-1,zi(e===91?e+2:e===40?e+1:e)))}function Ad(e){for(;(ee=Ue())&&ee<33;)be();return kr(e)>2||kr(ee)>3?"":" "}function Od(e,t){for(;--t&&be()&&!(ee<48||ee>102||ee>57&&ee<65||ee>70&&ee<97););return Ur(e,vn()+(t<6&&Ue()==32&&be()==32))}function zi(e){for(;be();)switch(ee){case e:return me;case 34:case 39:e!==34&&e!==39&&zi(ee);break;case 40:e===41&&zi(e);break;case 92:be();break}return me}function Pd(e,t){for(;be()&&e+ee!==57;)if(e+ee===84&&Ue()===47)break;return"/*"+Ur(t,me-1)+"*"+zn(e===47?e:be())}function Id(e){for(;!kr(Ue());)be();return Ur(e,me)}function Ld(e){return Wc(yn("",null,null,null,[""],e=qc(e),0,[0],e))}function yn(e,t,r,n,i,o,a,s,c){for(var u=0,p=0,f=a,d=0,l=0,m=0,h=1,v=1,b=1,w=0,g="",y=i,E=o,C=n,S=g;v;)switch(m=w,w=be()){case 40:if(m!=108&&ae(S,f-1)==58){ji(S+=z(gn(w),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:S+=gn(w);break;case 9:case 10:case 13:case 32:S+=Ad(m);break;case 92:S+=Od(vn()-1,7);continue;case 47:switch(Ue()){case 42:case 47:tn(Nd(Pd(be(),vn()),t,r),c);break;default:S+="/"}break;case 123*h:s[u++]=Me(S)*b;case 125*h:case 59:case 0:switch(w){case 0:case 125:v=0;case 59+p:b==-1&&(S=z(S,/\f/g,"")),l>0&&Me(S)-f&&tn(l>32?Qa(S+";",n,r,f-1):Qa(z(S," ","")+";",n,r,f-2),c);break;case 59:S+=";";default:if(tn(C=Ga(S,t,r,u,p,i,s,g,y=[],E=[],f),o),w===123)if(p===0)yn(S,t,C,C,y,o,f,s,E);else switch(d===99&&ae(S,3)===110?100:d){case 100:case 108:case 109:case 115:yn(e,C,C,n&&tn(Ga(e,C,C,0,0,i,s,g,i,y=[],f),E),i,E,f,s,n?y:E);break;default:yn(S,C,C,C,[""],E,0,s,E)}}u=p=l=0,h=b=1,g=S="",f=a;break;case 58:f=1+Me(S),l=m;default:if(h<1){if(w==123)--h;else if(w==125&&h++==0&&Rd()==125)continue}switch(S+=zn(w),w*h){case 38:b=p>0?1:(S+="\f",-1);break;case 44:s[u++]=(Me(S)-1)*b,b=1;break;case 64:Ue()===45&&(S+=gn(be())),d=Ue(),p=f=Me(g=S+=Id(vn())),w++;break;case 45:m===45&&Me(S)==2&&(h=0)}}return o}function Ga(e,t,r,n,i,o,a,s,c,u,p){for(var f=i-1,d=i===0?o:[""],l=Bo(d),m=0,h=0,v=0;m<n;++m)for(var b=0,w=xr(e,f+1,f=Sd(h=a[m])),g=e;b<l;++b)(g=zc(h>0?d[b]+" "+w:z(w,/&\f/g,d[b])))&&(c[v++]=g);return qn(e,t,r,i===0?Fo:s,c,u,p)}function Nd(e,t,r){return qn(e,t,r,Uc,zn(Td()),xr(e,2,-2),0)}function Qa(e,t,r,n){return qn(e,t,r,Do,xr(e,0,n),xr(e,n+1,-1),n)}function Ft(e,t){for(var r="",n=Bo(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function Md(e,t,r,n){switch(e.type){case _d:if(e.children.length)break;case wd:case Do:return e.return=e.return||e.value;case Uc:return"";case jc:return e.return=e.value+"{"+Ft(e.children,n)+"}";case Fo:e.value=e.props.join(",")}return Me(r=Ft(e.children,n))?e.return=e.value+"{"+r+"}":""}function Fd(e){var t=Bo(e);return function(r,n,i,o){for(var a="",s=0;s<t;s++)a+=e[s](r,n,i,o)||"";return a}}function Dd(e){return function(t){t.root||(t=t.return)&&e(t)}}function Vc(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Bd=function(t,r,n){for(var i=0,o=0;i=o,o=Ue(),i===38&&o===12&&(r[n]=1),!kr(o);)be();return Ur(t,me)},$d=function(t,r){var n=-1,i=44;do switch(kr(i)){case 0:i===38&&Ue()===12&&(r[n]=1),t[n]+=Bd(me-1,r,n);break;case 2:t[n]+=gn(i);break;case 4:if(i===44){t[++n]=Ue()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=zn(i)}while(i=be());return t},Ud=function(t,r){return Wc($d(qc(t),r))},Ya=new WeakMap,jd=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,i=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Ya.get(n))&&!i){Ya.set(t,!0);for(var o=[],a=Ud(r,o),s=n.props,c=0,u=0;c<a.length;c++)for(var p=0;p<s.length;p++,u++)t.props[u]=o[c]?a[c].replace(/&\f/g,s[p]):s[p]+" "+a[c]}}},zd=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Gc(e,t){switch(Cd(e,t)){case 5103:return j+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return j+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return j+e+Cn+e+le+e+e;case 6828:case 4268:return j+e+le+e+e;case 6165:return j+e+le+"flex-"+e+e;case 5187:return j+e+z(e,/(\w+).+(:[^]+)/,j+"box-$1$2"+le+"flex-$1$2")+e;case 5443:return j+e+le+"flex-item-"+z(e,/flex-|-self/,"")+e;case 4675:return j+e+le+"flex-line-pack"+z(e,/align-content|flex-|-self/,"")+e;case 5548:return j+e+le+z(e,"shrink","negative")+e;case 5292:return j+e+le+z(e,"basis","preferred-size")+e;case 6060:return j+"box-"+z(e,"-grow","")+j+e+le+z(e,"grow","positive")+e;case 4554:return j+z(e,/([^-])(transform)/g,"$1"+j+"$2")+e;case 6187:return z(z(z(e,/(zoom-|grab)/,j+"$1"),/(image-set)/,j+"$1"),e,"")+e;case 5495:case 3959:return z(e,/(image-set\([^]*)/,j+"$1$`$1");case 4968:return z(z(e,/(.+:)(flex-)?(.*)/,j+"box-pack:$3"+le+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+j+e+e;case 4095:case 3583:case 4068:case 2532:return z(e,/(.+)-inline(.+)/,j+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Me(e)-1-t>6)switch(ae(e,t+1)){case 109:if(ae(e,t+4)!==45)break;case 102:return z(e,/(.+:)(.+)-([^]+)/,"$1"+j+"$2-$3$1"+Cn+(ae(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ji(e,"stretch")?Gc(z(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ae(e,t+1)!==115)break;case 6444:switch(ae(e,Me(e)-3-(~ji(e,"!important")&&10))){case 107:return z(e,":",":"+j)+e;case 101:return z(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+j+(ae(e,14)===45?"inline-":"")+"box$3$1"+j+"$2$3$1"+le+"$2box$3")+e}break;case 5936:switch(ae(e,t+11)){case 114:return j+e+le+z(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return j+e+le+z(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return j+e+le+z(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return j+e+le+e+e}return e}var Hd=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case Do:t.return=Gc(t.value,t.length);break;case jc:return Ft([ir(t,{value:z(t.value,"@","@"+j)})],i);case Fo:if(t.length)return kd(t.props,function(o){switch(xd(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ft([ir(t,{props:[z(o,/:(read-\w+)/,":"+Cn+"$1")]})],i);case"::placeholder":return Ft([ir(t,{props:[z(o,/:(plac\w+)/,":"+j+"input-$1")]}),ir(t,{props:[z(o,/:(plac\w+)/,":"+Cn+"$1")]}),ir(t,{props:[z(o,/:(plac\w+)/,le+"input-$1")]})],i)}return""})}},qd=[Hd],Qc=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(h){var v=h.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var i=t.stylisPlugins||qd,o={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(h){for(var v=h.getAttribute("data-emotion").split(" "),b=1;b<v.length;b++)o[v[b]]=!0;s.push(h)});var c,u=[jd,zd];{var p,f=[Md,Dd(function(h){p.insert(h)})],d=Fd(u.concat(i,f)),l=function(v){return Ft(Ld(v),d)};c=function(v,b,w,g){p=w,l(v?v+"{"+b.styles+"}":b.styles),g&&(m.inserted[b.name]=!0)}}var m={key:r,sheet:new bd({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:c};return m.sheet.hydrate(s),m};function Hi(){return Hi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Hi.apply(this,arguments)}var Wd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Vd(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var Yc={exports:{}},V={};/** @license React v16.13.1
2
2
  * react-is.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
5
5
  *
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
- */var K=typeof Symbol=="function"&&Symbol.for,ho=K?Symbol.for("react.element"):60103,vo=K?Symbol.for("react.portal"):60106,kn=K?Symbol.for("react.fragment"):60107,Tn=K?Symbol.for("react.strict_mode"):60108,Rn=K?Symbol.for("react.profiler"):60114,An=K?Symbol.for("react.provider"):60109,On=K?Symbol.for("react.context"):60110,go=K?Symbol.for("react.async_mode"):60111,In=K?Symbol.for("react.concurrent_mode"):60111,Pn=K?Symbol.for("react.forward_ref"):60112,Ln=K?Symbol.for("react.suspense"):60113,ld=K?Symbol.for("react.suspense_list"):60120,Nn=K?Symbol.for("react.memo"):60115,Mn=K?Symbol.for("react.lazy"):60116,dd=K?Symbol.for("react.block"):60121,fd=K?Symbol.for("react.fundamental"):60117,pd=K?Symbol.for("react.responder"):60118,md=K?Symbol.for("react.scope"):60119;function he(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case ho:switch(e=e.type,e){case go:case In:case kn:case Rn:case Tn:case Ln:return e;default:switch(e=e&&e.$$typeof,e){case On:case Pn:case Mn:case Nn:case An:return e;default:return t}}case vo:return t}}}function yc(e){return he(e)===In}B.AsyncMode=go;B.ConcurrentMode=In;B.ContextConsumer=On;B.ContextProvider=An;B.Element=ho;B.ForwardRef=Pn;B.Fragment=kn;B.Lazy=Mn;B.Memo=Nn;B.Portal=vo;B.Profiler=Rn;B.StrictMode=Tn;B.Suspense=Ln;B.isAsyncMode=function(e){return yc(e)||he(e)===go};B.isConcurrentMode=yc;B.isContextConsumer=function(e){return he(e)===On};B.isContextProvider=function(e){return he(e)===An};B.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===ho};B.isForwardRef=function(e){return he(e)===Pn};B.isFragment=function(e){return he(e)===kn};B.isLazy=function(e){return he(e)===Mn};B.isMemo=function(e){return he(e)===Nn};B.isPortal=function(e){return he(e)===vo};B.isProfiler=function(e){return he(e)===Rn};B.isStrictMode=function(e){return he(e)===Tn};B.isSuspense=function(e){return he(e)===Ln};B.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===kn||e===In||e===Rn||e===Tn||e===Ln||e===ld||typeof e=="object"&&e!==null&&(e.$$typeof===Mn||e.$$typeof===Nn||e.$$typeof===An||e.$$typeof===On||e.$$typeof===Pn||e.$$typeof===fd||e.$$typeof===pd||e.$$typeof===md||e.$$typeof===dd)};B.typeOf=he;gc.exports=B;var hd=gc.exports,bc=hd,vd={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},gd={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},_c={};_c[bc.ForwardRef]=vd;_c[bc.Memo]=gd;var yd=!0;function wc(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):n+=i+" "}),n}var yo=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||yd===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},bo=function(t,r,n){yo(t,r,n);var i=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var o=r;do t.insert(r===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function bd(e){for(var t=0,r,n=0,i=e.length;i>=4;++n,i-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var _d={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},wd=/[A-Z]|^ms/g,Sd=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Sc=function(t){return t.charCodeAt(1)===45},ya=function(t){return t!=null&&typeof t!="boolean"},qn=mc(function(e){return Sc(e)?e:e.replace(wd,"-$&").toLowerCase()}),ba=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Sd,function(n,i,o){return Te={name:i,styles:o,next:Te},i})}return _d[t]!==1&&!Sc(t)&&typeof r=="number"&&r!==0?r+"px":r};function fr(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Te={name:r.name,styles:r.styles,next:Te},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Te={name:n.name,styles:n.styles,next:Te},n=n.next;var i=r.styles+";";return i}return Cd(e,t,r)}case"function":{if(e!==void 0){var o=Te,a=r(e);return Te=o,fr(e,t,a)}break}}if(t==null)return r;var s=t[r];return s!==void 0?s:r}function Cd(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=fr(e,t,r[i])+";";else for(var o in r){var a=r[o];if(typeof a!="object")t!=null&&t[a]!==void 0?n+=o+"{"+t[a]+"}":ya(a)&&(n+=qn(o)+":"+ba(o,a)+";");else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var s=0;s<a.length;s++)ya(a[s])&&(n+=qn(o)+":"+ba(o,a[s])+";");else{var c=fr(e,t,a);switch(o){case"animation":case"animationName":{n+=qn(o)+":"+c+";";break}default:n+=o+"{"+c+"}"}}}return n}var _a=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Te,Fn=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,o="";Te=void 0;var a=t[0];a==null||a.raw===void 0?(i=!1,o+=fr(n,r,a)):o+=a[0];for(var s=1;s<t.length;s++)o+=fr(n,r,t[s]),i&&(o+=a[s]);_a.lastIndex=0;for(var c="",u;(u=_a.exec(o))!==null;)c+="-"+u[1];var d=bd(o)+c;return{name:d,styles:o,next:Te}},Ed=function(t){return t()},Cc=ur.useInsertionEffect?ur.useInsertionEffect:!1,Ec=Cc||Ed,wa=Cc||dt,Dn={}.hasOwnProperty,xc=Sn(typeof HTMLElement<"u"?vc({key:"css"}):null),xd=xc.Provider,_o=function(t){return co(function(r,n){var i=Ft(xc);return t(r,i,n)})},wo=Sn({}),bi="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",kc=function(t,r){var n={};for(var i in r)Dn.call(r,i)&&(n[i]=r[i]);return n[bi]=t,n},kd=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return yo(r,n,i),Ec(function(){return bo(r,n,i)}),null},Td=_o(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var i=e[bi],o=[n],a="";typeof e.className=="string"?a=wc(t.registered,o,e.className):e.className!=null&&(a=e.className+" ");var s=Fn(o,void 0,Ft(wo));a+=t.key+"-"+s.name;var c={};for(var u in e)Dn.call(e,u)&&u!=="css"&&u!==bi&&(c[u]=e[u]);return c.ref=r,c.className=a,q(pe,null,q(kd,{cache:t,serialized:s,isStringTag:typeof i=="string"}),q(i,c))}),Tc=Td,Rd=_o(function(e,t){var r=e.styles,n=Fn([r],void 0,Ft(wo)),i=ve();return wa(function(){var o=t.key+"-global",a=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,c=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),c!==null&&(s=!0,c.setAttribute("data-emotion",o),a.hydrate([c])),i.current=[a,s],function(){a.flush()}},[t]),wa(function(){var o=i.current,a=o[0],s=o[1];if(s){o[1]=!1;return}if(n.next!==void 0&&bo(t,n.next,!0),a.tags.length){var c=a.tags[a.tags.length-1].nextElementSibling;a.before=c,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null});function Ad(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Fn(t)}var Od=0;function an(e,t,r,n,i,o){var a,s,c={};for(s in t)s=="ref"?a=t[s]:c[s]=t[s];var u={type:e,props:c,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Od,__i:-1,__u:0,__source:i,__self:o};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)c[s]===void 0&&(c[s]=a[s]);return I.vnode&&I.vnode(u),u}var it=pe;function v(e,t,r){return Dn.call(t,"css")?an(Tc,kc(e,t),r):an(e,t,r)}function R(e,t,r){return Dn.call(t,"css")?an(Tc,kc(e,t),r):an(e,t,r)}const $t=({size:e=48})=>v("div",{css:{display:"inline-block","@keyframes spin":{to:{transform:"rotate(360deg)"}},animation:"spin 1s linear infinite"},children:R("svg",{width:e,height:e,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[v("path",{d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM1.99743 8C1.99743 11.3151 4.68487 14.0026 8 14.0026C11.3151 14.0026 14.0026 11.3151 14.0026 8C14.0026 4.68487 11.3151 1.99743 8 1.99743C4.68487 1.99743 1.99743 4.68487 1.99743 8Z",fill:"white","fill-opacity":"0.3"}),v("path",{d:"M8 1C8 0.447715 8.44943 -0.00643769 8.99741 0.0624193C9.70527 0.151368 10.3996 0.334798 11.0615 0.608964C12.0321 1.011 12.914 1.60028 13.6569 2.34315C14.3997 3.08602 14.989 3.96793 15.391 4.93853C15.6652 5.60043 15.8486 6.29473 15.9376 7.0026C16.0064 7.55057 15.5523 8 15 8C14.4477 8 14.0085 7.54925 13.9169 7.00462C13.842 6.55939 13.7169 6.12298 13.5433 5.7039C13.2417 4.97595 12.7998 4.31451 12.2426 3.75736C11.6855 3.20021 11.0241 2.75825 10.2961 2.45672C9.87702 2.28313 9.44061 2.15804 8.99538 2.08314C8.45075 1.99152 8 1.55228 8 1Z",css:{fill:"var(--fl-color-primary)"}})]})}),Id={};var Pd=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Ld=mc(function(e){return Pd.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Nd=Ld,Md=function(t){return t!=="theme"},Sa=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Nd:Md},Ca=function(t,r,n){var i;if(r){var o=r.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(a){return t.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&n&&(i=t.__emotion_forwardProp),i},Fd=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return yo(r,n,i),Ec(function(){return bo(r,n,i)}),null},Dd=function e(t,r){var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,o,a;r!==void 0&&(o=r.label,a=r.target);var s=Ca(t,r,n),c=s||Sa(i),u=!c("as");return function(){var d=arguments,l=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&l.push("label:"+o+";"),d[0]==null||d[0].raw===void 0)l.push.apply(l,d);else{l.push(d[0][0]);for(var p=d.length,f=1;f<p;f++)l.push(d[f],d[0][f])}var g=_o(function(_,y,h){var b=u&&_.as||i,m="",w=[],C=_;if(_.theme==null){C={};for(var E in _)C[E]=_[E];C.theme=Ft(wo)}typeof _.className=="string"?m=wc(y.registered,w,_.className):_.className!=null&&(m=_.className+" ");var S=Fn(l.concat(w),y.registered,C);m+=y.key+"-"+S.name,a!==void 0&&(m+=" "+a);var x=u&&s===void 0?Sa(b):c,k={};for(var T in _)u&&T==="as"||x(T)&&(k[T]=_[T]);return k.className=m,k.ref=h,q(pe,null,q(Fd,{cache:y,serialized:S,isStringTag:typeof b=="string"}),q(b,k))});return g.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=i,g.__emotion_styles=l,g.__emotion_forwardProp=s,Object.defineProperty(g,"toString",{value:function(){return"."+a}}),g.withComponent=function(_,y){return e(_,yi({},r,y,{shouldForwardProp:Ca(g,y,!0)})).apply(void 0,l)},g}},$d=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],sn=Dd.bind();$d.forEach(function(e){sn[e]=sn(e)});function X(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Bd=typeof Symbol=="function"&&Symbol.observable||"@@observable",Ea=Bd,Vn=()=>Math.random().toString(36).substring(7).split("").join("."),Ud={INIT:`@@redux/INIT${Vn()}`,REPLACE:`@@redux/REPLACE${Vn()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Vn()}`},cn=Ud;function Pe(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Rc(e,t,r){if(typeof e!="function")throw new Error(X(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(X(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(X(1));return r(Rc)(e,t)}let n=e,i=t,o=new Map,a=o,s=0,c=!1;function u(){a===o&&(a=new Map,o.forEach((y,h)=>{a.set(h,y)}))}function d(){if(c)throw new Error(X(3));return i}function l(y){if(typeof y!="function")throw new Error(X(4));if(c)throw new Error(X(5));let h=!0;u();const b=s++;return a.set(b,y),function(){if(h){if(c)throw new Error(X(6));h=!1,u(),a.delete(b),o=null}}}function p(y){if(!Pe(y))throw new Error(X(7));if(typeof y.type>"u")throw new Error(X(8));if(typeof y.type!="string")throw new Error(X(17));if(c)throw new Error(X(9));try{c=!0,i=n(i,y)}finally{c=!1}return(o=a).forEach(b=>{b()}),y}function f(y){if(typeof y!="function")throw new Error(X(10));n=y,p({type:cn.REPLACE})}function g(){const y=l;return{subscribe(h){if(typeof h!="object"||h===null)throw new Error(X(11));function b(){const w=h;w.next&&w.next(d())}return b(),{unsubscribe:y(b)}},[Ea](){return this}}}return p({type:cn.INIT}),{dispatch:p,subscribe:l,getState:d,replaceReducer:f,[Ea]:g}}function jd(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:cn.INIT})>"u")throw new Error(X(12));if(typeof r(void 0,{type:cn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(X(13))})}function Ac(e){const t=Object.keys(e),r={};for(let o=0;o<t.length;o++){const a=t[o];typeof e[a]=="function"&&(r[a]=e[a])}const n=Object.keys(r);let i;try{jd(r)}catch(o){i=o}return function(a={},s){if(i)throw i;let c=!1;const u={};for(let d=0;d<n.length;d++){const l=n[d],p=r[l],f=a[l],g=p(f,s);if(typeof g>"u")throw s&&s.type,new Error(X(14));u[l]=g,c=c||g!==f}return c=c||n.length!==Object.keys(a).length,c?u:a}}function un(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function zd(...e){return t=>(r,n)=>{const i=t(r,n);let o=()=>{throw new Error(X(15))};const a={getState:i.getState,dispatch:(c,...u)=>o(c,...u)},s=e.map(c=>c(a));return o=un(...s)(i.dispatch),{...i,dispatch:o}}}function Oc(e){return Pe(e)&&"type"in e&&typeof e.type=="string"}var So=Symbol.for("immer-nothing"),er=Symbol.for("immer-draftable"),ue=Symbol.for("immer-state");function ee(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var st=Object.getPrototypeOf;function we(e){return!!e&&!!e[ue]}function Se(e){var t;return e?Ic(e)||Array.isArray(e)||!!e[er]||!!((t=e.constructor)!=null&&t[er])||kr(e)||Tr(e):!1}var Hd=Object.prototype.constructor.toString();function Ic(e){if(!e||typeof e!="object")return!1;const t=st(e);if(t===null)return!0;const r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object?!0:typeof r=="function"&&Function.toString.call(r)===Hd}function Wd(e){return we(e)||ee(15,e),e[ue].base_}function pr(e,t){ct(e)===0?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function ct(e){const t=e[ue];return t?t.type_:Array.isArray(e)?1:kr(e)?2:Tr(e)?3:0}function mr(e,t){return ct(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Gn(e,t){return ct(e)===2?e.get(t):e[t]}function Pc(e,t,r){const n=ct(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function qd(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function kr(e){return e instanceof Map}function Tr(e){return e instanceof Set}function Ze(e){return e.copy_||e.base_}function _i(e,t){if(kr(e))return new Map(e);if(Tr(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&Ic(e))return st(e)?{...e}:Object.assign(Object.create(null),e);const r=Object.getOwnPropertyDescriptors(e);delete r[ue];let n=Reflect.ownKeys(r);for(let i=0;i<n.length;i++){const o=n[i],a=r[o];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(r[o]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[o]})}return Object.create(st(e),r)}function Co(e,t=!1){return $n(e)||we(e)||!Se(e)||(ct(e)>1&&(e.set=e.add=e.clear=e.delete=Vd),Object.freeze(e),t&&Object.entries(e).forEach(([r,n])=>Co(n,!0))),e}function Vd(){ee(2)}function $n(e){return Object.isFrozen(e)}var wi={};function ut(e){const t=wi[e];return t||ee(0,e),t}function Gd(e,t){wi[e]||(wi[e]=t)}var hr;function Lc(){return hr}function Qd(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function xa(e,t){t&&(ut("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Si(e){Ci(e),e.drafts_.forEach(Yd),e.drafts_=null}function Ci(e){e===hr&&(hr=e.parent_)}function ka(e){return hr=Qd(hr,e)}function Yd(e){const t=e[ue];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Ta(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[ue].modified_&&(Si(t),ee(4)),Se(e)&&(e=ln(t,e),t.parent_||dn(t,e)),t.patches_&&ut("Patches").generateReplacementPatches_(r[ue].base_,e,t.patches_,t.inversePatches_)):e=ln(t,r,[]),Si(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==So?e:void 0}function ln(e,t,r){if($n(t))return t;const n=t[ue];if(!n)return pr(t,(i,o)=>Ra(e,n,t,i,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return dn(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const i=n.copy_;let o=i,a=!1;n.type_===3&&(o=new Set(i),i.clear(),a=!0),pr(o,(s,c)=>Ra(e,n,i,s,c,r,a)),dn(e,i,!1),r&&e.patches_&&ut("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function Ra(e,t,r,n,i,o,a){if(we(i)){const s=o&&t&&t.type_!==3&&!mr(t.assigned_,n)?o.concat(n):void 0,c=ln(e,i,s);if(Pc(r,n,c),we(c))e.canAutoFreeze_=!1;else return}else a&&r.add(i);if(Se(i)&&!$n(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;ln(e,i),(!t||!t.scope_.parent_)&&typeof n!="symbol"&&Object.prototype.propertyIsEnumerable.call(r,n)&&dn(e,i)}}function dn(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Co(t,r)}function Kd(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:Lc(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=n,o=Eo;r&&(i=[n],o=vr);const{revoke:a,proxy:s}=Proxy.revocable(i,o);return n.draft_=s,n.revoke_=a,s}var Eo={get(e,t){if(t===ue)return e;const r=Ze(e);if(!mr(r,t))return Jd(e,r,t);const n=r[t];return e.finalized_||!Se(n)?n:n===Qn(e.base_,t)?(Yn(e),e.copy_[t]=xi(n,e)):n},has(e,t){return t in Ze(e)},ownKeys(e){return Reflect.ownKeys(Ze(e))},set(e,t,r){const n=Nc(Ze(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const i=Qn(Ze(e),t),o=i==null?void 0:i[ue];if(o&&o.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(qd(r,i)&&(r!==void 0||mr(e.base_,t)))return!0;Yn(e),Ei(e)}return e.copy_[t]===r&&(r!==void 0||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_[t]=!0),!0},deleteProperty(e,t){return Qn(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Yn(e),Ei(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=Ze(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){ee(11)},getPrototypeOf(e){return st(e.base_)},setPrototypeOf(){ee(12)}},vr={};pr(Eo,(e,t)=>{vr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});vr.deleteProperty=function(e,t){return vr.set.call(this,e,t,void 0)};vr.set=function(e,t,r){return Eo.set.call(this,e[0],t,r,e[0])};function Qn(e,t){const r=e[ue];return(r?Ze(r):e)[t]}function Jd(e,t,r){var i;const n=Nc(t,r);return n?"value"in n?n.value:(i=n.get)==null?void 0:i.call(e.draft_):void 0}function Nc(e,t){if(!(t in e))return;let r=st(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=st(r)}}function Ei(e){e.modified_||(e.modified_=!0,e.parent_&&Ei(e.parent_))}function Yn(e){e.copy_||(e.copy_=_i(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Xd=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,r,n)=>{if(typeof t=="function"&&typeof r!="function"){const o=r;r=t;const a=this;return function(c=o,...u){return a.produce(c,d=>r.call(this,d,...u))}}typeof r!="function"&&ee(6),n!==void 0&&typeof n!="function"&&ee(7);let i;if(Se(t)){const o=ka(this),a=xi(t,void 0);let s=!0;try{i=r(a),s=!1}finally{s?Si(o):Ci(o)}return xa(o,n),Ta(i,o)}else if(!t||typeof t!="object"){if(i=r(t),i===void 0&&(i=t),i===So&&(i=void 0),this.autoFreeze_&&Co(i,!0),n){const o=[],a=[];ut("Patches").generateReplacementPatches_(t,i,o,a),n(o,a)}return i}else ee(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(a,...s)=>this.produceWithPatches(a,c=>t(c,...s));let n,i;return[this.produce(t,r,(a,s)=>{n=a,i=s}),n,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){Se(e)||ee(8),we(e)&&(e=Mc(e));const t=ka(this),r=xi(e,void 0);return r[ue].isManual_=!0,Ci(t),r}finishDraft(e,t){const r=e&&e[ue];(!r||!r.isManual_)&&ee(9);const{scope_:n}=r;return xa(n,t),Ta(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){const i=t[r];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}r>-1&&(t=t.slice(r+1));const n=ut("Patches").applyPatches_;return we(e)?n(e,t):this.produce(e,i=>n(i,t))}};function xi(e,t){const r=kr(e)?ut("MapSet").proxyMap_(e,t):Tr(e)?ut("MapSet").proxySet_(e,t):Kd(e,t);return(t?t.scope_:Lc()).drafts_.push(r),r}function Mc(e){return we(e)||ee(10,e),Fc(e)}function Fc(e){if(!Se(e)||$n(e))return e;const t=e[ue];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=_i(e,t.scope_.immer_.useStrictShallowCopy_)}else r=_i(e,!0);return pr(r,(n,i)=>{Pc(r,n,Fc(i))}),t&&(t.finalized_=!1),r}function Zd(){const t="replace",r="add",n="remove";function i(p,f,g,_){switch(p.type_){case 0:case 2:return a(p,f,g,_);case 1:return o(p,f,g,_);case 3:return s(p,f,g,_)}}function o(p,f,g,_){let{base_:y,assigned_:h}=p,b=p.copy_;b.length<y.length&&([y,b]=[b,y],[g,_]=[_,g]);for(let m=0;m<y.length;m++)if(h[m]&&b[m]!==y[m]){const w=f.concat([m]);g.push({op:t,path:w,value:l(b[m])}),_.push({op:t,path:w,value:l(y[m])})}for(let m=y.length;m<b.length;m++){const w=f.concat([m]);g.push({op:r,path:w,value:l(b[m])})}for(let m=b.length-1;y.length<=m;--m){const w=f.concat([m]);_.push({op:n,path:w})}}function a(p,f,g,_){const{base_:y,copy_:h}=p;pr(p.assigned_,(b,m)=>{const w=Gn(y,b),C=Gn(h,b),E=m?mr(y,b)?t:r:n;if(w===C&&E===t)return;const S=f.concat(b);g.push(E===n?{op:E,path:S}:{op:E,path:S,value:C}),_.push(E===r?{op:n,path:S}:E===n?{op:r,path:S,value:l(w)}:{op:t,path:S,value:l(w)})})}function s(p,f,g,_){let{base_:y,copy_:h}=p,b=0;y.forEach(m=>{if(!h.has(m)){const w=f.concat([b]);g.push({op:n,path:w,value:m}),_.unshift({op:r,path:w,value:m})}b++}),b=0,h.forEach(m=>{if(!y.has(m)){const w=f.concat([b]);g.push({op:r,path:w,value:m}),_.unshift({op:n,path:w,value:m})}b++})}function c(p,f,g,_){g.push({op:t,path:[],value:f===So?void 0:f}),_.push({op:t,path:[],value:p})}function u(p,f){return f.forEach(g=>{const{path:_,op:y}=g;let h=p;for(let C=0;C<_.length-1;C++){const E=ct(h);let S=_[C];typeof S!="string"&&typeof S!="number"&&(S=""+S),(E===0||E===1)&&(S==="__proto__"||S==="constructor")&&ee(19),typeof h=="function"&&S==="prototype"&&ee(19),h=Gn(h,S),typeof h!="object"&&ee(18,_.join("/"))}const b=ct(h),m=d(g.value),w=_[_.length-1];switch(y){case t:switch(b){case 2:return h.set(w,m);case 3:ee(16);default:return h[w]=m}case r:switch(b){case 1:return w==="-"?h.push(m):h.splice(w,0,m);case 2:return h.set(w,m);case 3:return h.add(m);default:return h[w]=m}case n:switch(b){case 1:return h.splice(w,1);case 2:return h.delete(w);case 3:return h.delete(g.value);default:return delete h[w]}default:ee(17,y)}}),p}function d(p){if(!Se(p))return p;if(Array.isArray(p))return p.map(d);if(kr(p))return new Map(Array.from(p.entries()).map(([g,_])=>[g,d(_)]));if(Tr(p))return new Set(Array.from(p).map(d));const f=Object.create(st(p));for(const g in p)f[g]=d(p[g]);return mr(p,er)&&(f[er]=p[er]),f}function l(p){return we(p)?d(p):p}Gd("Patches",{applyPatches_:u,generatePatches_:i,generateReplacementPatches_:c})}var me=new Xd,Rr=me.produce,Dc=me.produceWithPatches.bind(me);me.setAutoFreeze.bind(me);me.setUseStrictShallowCopy.bind(me);var Aa=me.applyPatches.bind(me);me.createDraft.bind(me);me.finishDraft.bind(me);function ef(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function tf(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function rf(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(r=>typeof r=="function")){const r=e.map(n=>typeof n=="function"?`function ${n.name||"unnamed"}()`:typeof n).join(", ");throw new TypeError(`${t}[${r}]`)}}var Oa=e=>Array.isArray(e)?e:[e];function nf(e){const t=Array.isArray(e[0])?e[0]:e;return rf(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function of(e,t){const r=[],{length:n}=e;for(let i=0;i<n;i++)r.push(e[i].apply(null,t));return r}var af=class{constructor(e){this.value=e}deref(){return this.value}},sf=typeof WeakRef<"u"?WeakRef:af,cf=0,Ia=1;function Dr(){return{s:cf,v:void 0,o:null,p:null}}function gr(e,t={}){let r=Dr();const{resultEqualityCheck:n}=t;let i,o=0;function a(){var l;let s=r;const{length:c}=arguments;for(let p=0,f=c;p<f;p++){const g=arguments[p];if(typeof g=="function"||typeof g=="object"&&g!==null){let _=s.o;_===null&&(s.o=_=new WeakMap);const y=_.get(g);y===void 0?(s=Dr(),_.set(g,s)):s=y}else{let _=s.p;_===null&&(s.p=_=new Map);const y=_.get(g);y===void 0?(s=Dr(),_.set(g,s)):s=y}}const u=s;let d;if(s.s===Ia?d=s.v:(d=e.apply(null,arguments),o++),u.s=Ia,n){const p=((l=i==null?void 0:i.deref)==null?void 0:l.call(i))??i;p!=null&&n(p,d)&&(d=p,o!==0&&o--),i=typeof d=="object"&&d!==null||typeof d=="function"?new sf(d):d}return u.v=d,d}return a.clearCache=()=>{r=Dr(),a.resetResultsCount()},a.resultsCount=()=>o,a.resetResultsCount=()=>{o=0},a}function $c(e,...t){const r=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,n=(...i)=>{let o=0,a=0,s,c={},u=i.pop();typeof u=="object"&&(c=u,u=i.pop()),ef(u,`createSelector expects an output function after the inputs, but received: [${typeof u}]`);const d={...r,...c},{memoize:l,memoizeOptions:p=[],argsMemoize:f=gr,argsMemoizeOptions:g=[],devModeChecks:_={}}=d,y=Oa(p),h=Oa(g),b=nf(i),m=l(function(){return o++,u.apply(null,arguments)},...y),w=f(function(){a++;const E=of(b,arguments);return s=m.apply(null,E),s},...h);return Object.assign(w,{resultFunc:u,memoizedResultFunc:m,dependencies:b,dependencyRecomputations:()=>a,resetDependencyRecomputations:()=>{a=0},lastResult:()=>s,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:l,argsMemoize:f})};return Object.assign(n,{withTypes:()=>n}),n}var kt=$c(gr),uf=Object.assign((e,t=kt)=>{tf(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const r=Object.keys(e),n=r.map(o=>e[o]);return t(n,(...o)=>o.reduce((a,s,c)=>(a[r[c]]=s,a),{}))},{withTypes:()=>uf});function Bc(e){return({dispatch:r,getState:n})=>i=>o=>typeof o=="function"?o(r,n,e):i(o)}var lf=Bc(),df=Bc,ff=(...e)=>{const t=$c(...e);return(...r)=>{const n=t(...r),i=(o,...a)=>n(we(o)?Mc(o):o,...a);return Object.assign(i,n),i}};ff(gr);var pf=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?un:un.apply(null,arguments)},mf=e=>e&&typeof e.match=="function";function se(e,t){function r(...n){if(t){let i=t(...n);if(!i)throw new Error(ye(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:n[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=n=>Oc(n)&&n.type===e,r}var Uc=class Yt extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Yt.prototype)}static get[Symbol.species](){return Yt}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Yt(...t[0].concat(this)):new Yt(...t.concat(this))}};function Pa(e){return Se(e)?Rr(e,()=>{}):e}function La(e,t,r){if(e.has(t)){let i=e.get(t);return r.update&&(i=r.update(i,t,e),e.set(t,i)),i}if(!r.insert)throw new Error(ye(10));const n=r.insert(t,e);return e.set(t,n),n}function hf(e){return typeof e=="boolean"}var vf=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t??{};let a=new Uc;return r&&(hf(r)?a.push(lf):a.push(df(r.extraArgument))),a},wt="RTK_autoBatch",qt=()=>e=>({payload:e,meta:{[wt]:!0}}),jc=e=>t=>{setTimeout(t,e)},gf=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:jc(10),yf=(e={type:"raf"})=>t=>(...r)=>{const n=t(...r);let i=!0,o=!1,a=!1;const s=new Set,c=e.type==="tick"?queueMicrotask:e.type==="raf"?gf:e.type==="callback"?e.queueNotification:jc(e.timeout),u=()=>{a=!1,o&&(o=!1,s.forEach(d=>d()))};return Object.assign({},n,{subscribe(d){const l=()=>i&&d(),p=n.subscribe(l);return s.add(d),()=>{p(),s.delete(d)}},dispatch(d){var l;try{return i=!((l=d==null?void 0:d.meta)!=null&&l[wt]),o=!i,o&&(a||(a=!0,c(u))),n.dispatch(d)}finally{i=!0}}})},bf=e=>function(r){const{autoBatch:n=!0}=r??{};let i=new Uc(e);return n&&i.push(yf(typeof n=="object"?n:void 0)),i},_f=!0;function wf(e){const t=vf(),{reducer:r=void 0,middleware:n,devTools:i=!0,preloadedState:o=void 0,enhancers:a=void 0}=e||{};let s;if(typeof r=="function")s=r;else if(Pe(r))s=Ac(r);else throw new Error(ye(1));let c;typeof n=="function"?c=n(t):c=t();let u=un;i&&(u=pf({trace:!_f,...typeof i=="object"&&i}));const d=zd(...c),l=bf(d);let p=typeof a=="function"?a(l):l();const f=u(...p);return Rc(s,o,f)}function zc(e){const t={},r=[];let n;const i={addCase(o,a){const s=typeof o=="string"?o:o.type;if(!s)throw new Error(ye(28));if(s in t)throw new Error(ye(29));return t[s]=a,i},addMatcher(o,a){return r.push({matcher:o,reducer:a}),i},addDefaultCase(o){return n=o,i}};return e(i),[t,r,n]}function Sf(e){return typeof e=="function"}function Cf(e,t){let[r,n,i]=zc(t),o;if(Sf(e))o=()=>Pa(e());else{const s=Pa(e);o=()=>s}function a(s=o(),c){let u=[r[c.type],...n.filter(({matcher:d})=>d(c)).map(({reducer:d})=>d)];return u.filter(d=>!!d).length===0&&(u=[i]),u.reduce((d,l)=>{if(l)if(we(d)){const f=l(d,c);return f===void 0?d:f}else{if(Se(d))return Rr(d,p=>l(p,c));{const p=l(d,c);if(p===void 0){if(d===null)return d;throw new Error(ye(9))}return p}}return d},s)}return a.getInitialState=o,a}var Ef="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Hc=(e=21)=>{let t="",r=e;for(;r--;)t+=Ef[Math.random()*64|0];return t},Wc=(e,t)=>mf(e)?e.match(t):e(t);function We(...e){return t=>e.some(r=>Wc(r,t))}function tr(...e){return t=>e.every(r=>Wc(r,t))}function Bn(e,t){if(!e||!e.meta)return!1;const r=typeof e.meta.requestId=="string",n=t.indexOf(e.meta.requestStatus)>-1;return r&&n}function Ar(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function xo(...e){return e.length===0?t=>Bn(t,["pending"]):Ar(e)?t=>{const r=e.map(i=>i.pending);return We(...r)(t)}:xo()(e[0])}function It(...e){return e.length===0?t=>Bn(t,["rejected"]):Ar(e)?t=>{const r=e.map(i=>i.rejected);return We(...r)(t)}:It()(e[0])}function Un(...e){const t=r=>r&&r.meta&&r.meta.rejectedWithValue;return e.length===0?r=>tr(It(...e),t)(r):Ar(e)?r=>tr(It(...e),t)(r):Un()(e[0])}function qe(...e){return e.length===0?t=>Bn(t,["fulfilled"]):Ar(e)?t=>{const r=e.map(i=>i.fulfilled);return We(...r)(t)}:qe()(e[0])}function ki(...e){return e.length===0?t=>Bn(t,["pending","fulfilled","rejected"]):Ar(e)?t=>{const r=[];for(const i of e)r.push(i.pending,i.rejected,i.fulfilled);return We(...r)(t)}:ki()(e[0])}var xf=["name","message","stack","code"],Kn=class{constructor(e,t){zn(this,"_type");this.payload=e,this.meta=t}},Na=class{constructor(e,t){zn(this,"_type");this.payload=e,this.meta=t}},kf=e=>{if(typeof e=="object"&&e!==null){const t={};for(const r of xf)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},Ma=(()=>{function e(t,r,n){const i=se(t+"/fulfilled",(c,u,d,l)=>({payload:c,meta:{...l||{},arg:d,requestId:u,requestStatus:"fulfilled"}})),o=se(t+"/pending",(c,u,d)=>({payload:void 0,meta:{...d||{},arg:u,requestId:c,requestStatus:"pending"}})),a=se(t+"/rejected",(c,u,d,l,p)=>({payload:l,error:(n&&n.serializeError||kf)(c||"Rejected"),meta:{...p||{},arg:d,requestId:u,rejectedWithValue:!!l,requestStatus:"rejected",aborted:(c==null?void 0:c.name)==="AbortError",condition:(c==null?void 0:c.name)==="ConditionError"}}));function s(c){return(u,d,l)=>{const p=n!=null&&n.idGenerator?n.idGenerator(c):Hc(),f=new AbortController;let g;function _(h){g=h,f.abort()}const y=async function(){var m,w;let h;try{let C=(m=n==null?void 0:n.condition)==null?void 0:m.call(n,c,{getState:d,extra:l});if(Rf(C)&&(C=await C),C===!1||f.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const E=new Promise((S,x)=>f.signal.addEventListener("abort",()=>x({name:"AbortError",message:g||"Aborted"})));u(o(p,c,(w=n==null?void 0:n.getPendingMeta)==null?void 0:w.call(n,{requestId:p,arg:c},{getState:d,extra:l}))),h=await Promise.race([E,Promise.resolve(r(c,{dispatch:u,getState:d,extra:l,requestId:p,signal:f.signal,abort:_,rejectWithValue:(S,x)=>new Kn(S,x),fulfillWithValue:(S,x)=>new Na(S,x)})).then(S=>{if(S instanceof Kn)throw S;return S instanceof Na?i(S.payload,p,c,S.meta):i(S,p,c)})])}catch(C){h=C instanceof Kn?a(null,p,c,C.payload,C.meta):a(C,p,c)}return n&&!n.dispatchConditionRejection&&a.match(h)&&h.meta.condition||u(h),h}();return Object.assign(y,{abort:_,requestId:p,arg:c,unwrap(){return y.then(Tf)}})}}return Object.assign(s,{pending:o,rejected:a,fulfilled:i,settled:We(a,i),typePrefix:t})}return e.withTypes=()=>e,e})();function Tf(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Rf(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Af=Symbol.for("rtk-slice-createasyncthunk");function Of(e,t){return`${e}/${t}`}function If({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[Af];return function(i){const{name:o,reducerPath:a=o}=i;if(!o)throw new Error(ye(11));typeof process<"u";const s=(typeof i.reducers=="function"?i.reducers(Lf()):i.reducers)||{},c=Object.keys(s),u={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},d={addCase(y,h){const b=typeof y=="string"?y:y.type;if(!b)throw new Error(ye(12));if(b in u.sliceCaseReducersByType)throw new Error(ye(13));return u.sliceCaseReducersByType[b]=h,d},addMatcher(y,h){return u.sliceMatchers.push({matcher:y,reducer:h}),d},exposeAction(y,h){return u.actionCreators[y]=h,d},exposeCaseReducer(y,h){return u.sliceCaseReducersByName[y]=h,d}};c.forEach(y=>{const h=s[y],b={reducerName:y,type:Of(o,y),createNotation:typeof i.reducers=="function"};Mf(h)?Df(b,h,d,t):Nf(b,h,d)});function l(){const[y={},h=[],b=void 0]=typeof i.extraReducers=="function"?zc(i.extraReducers):[i.extraReducers],m={...y,...u.sliceCaseReducersByType};return Cf(i.initialState,w=>{for(let C in m)w.addCase(C,m[C]);for(let C of u.sliceMatchers)w.addMatcher(C.matcher,C.reducer);for(let C of h)w.addMatcher(C.matcher,C.reducer);b&&w.addDefaultCase(b)})}const p=y=>y,f=new WeakMap;let g;const _={name:o,reducerPath:a,reducer(y,h){return g||(g=l()),g(y,h)},actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState(){return g||(g=l()),g.getInitialState()},getSelectors(y=p){const h=La(f,this,{insert:()=>new WeakMap});return La(h,y,{insert:()=>{const b={};for(const[m,w]of Object.entries(i.selectors??{}))b[m]=Pf(this,w,y,this!==_);return b}})},selectSlice(y){let h=y[this.reducerPath];return typeof h>"u"&&this!==_&&(h=this.getInitialState()),h},get selectors(){return this.getSelectors(this.selectSlice)},injectInto(y,{reducerPath:h,...b}={}){const m=h??this.reducerPath;return y.inject({reducerPath:m,reducer:this.reducer},b),{...this,reducerPath:m}}};return _}}function Pf(e,t,r,n){function i(o,...a){let s=r.call(e,o);return typeof s>"u"&&n&&(s=e.getInitialState()),t(s,...a)}return i.unwrapped=t,i}var Le=If();function Lf(){function e(t,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...r}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...r){return t(...r)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,r){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:r}},asyncThunk:e}}function Nf({type:e,reducerName:t,createNotation:r},n,i){let o,a;if("reducer"in n){if(r&&!Ff(n))throw new Error(ye(17));o=n.reducer,a=n.prepare}else o=n;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,a?se(e,a):se(e))}function Mf(e){return e._reducerDefinitionType==="asyncThunk"}function Ff(e){return e._reducerDefinitionType==="reducerWithPrepare"}function Df({type:e,reducerName:t},r,n,i){if(!i)throw new Error(ye(18));const{payloadCreator:o,fulfilled:a,pending:s,rejected:c,settled:u,options:d}=r,l=i(e,o,d);n.exposeAction(t,l),a&&n.addCase(l.fulfilled,a),s&&n.addCase(l.pending,s),c&&n.addCase(l.rejected,c),u&&n.addMatcher(l.settled,u),n.exposeCaseReducer(t,{fulfilled:a||$r,pending:s||$r,rejected:c||$r,settled:u||$r})}function $r(){}var ko="listenerMiddleware";se(`${ko}/add`);se(`${ko}/removeAll`);se(`${ko}/remove`);function ye(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var qc=(e=>(e.uninitialized="uninitialized",e.pending="pending",e.fulfilled="fulfilled",e.rejected="rejected",e))(qc||{});function $f(e){return{status:e,isUninitialized:e==="uninitialized",isLoading:e==="pending",isSuccess:e==="fulfilled",isError:e==="rejected"}}function Bf(e){return new RegExp("(^|:)//").test(e)}var Uf=e=>e.replace(/\/$/,""),jf=e=>e.replace(/^\//,"");function zf(e,t){if(!e)return t;if(!t)return e;if(Bf(t))return t;const r=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=Uf(e),t=jf(t),`${e}${r}${t}`}var Fa=e=>[].concat(...e);function Hf(){return typeof navigator>"u"||navigator.onLine===void 0?!0:navigator.onLine}function Wf(){return typeof document>"u"?!0:document.visibilityState!=="hidden"}var Da=Pe;function Vc(e,t){if(e===t||!(Da(e)&&Da(t)||Array.isArray(e)&&Array.isArray(t)))return t;const r=Object.keys(t),n=Object.keys(e);let i=r.length===n.length;const o=Array.isArray(t)?[]:{};for(const a of r)o[a]=Vc(e[a],t[a]),i&&(i=e[a]===o[a]);return i?e:o}var $a=(...e)=>fetch(...e),qf=e=>e.status>=200&&e.status<=299,Vf=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function Ba(e){if(!Pe(e))return e;const t={...e};for(const[r,n]of Object.entries(t))n===void 0&&delete t[r];return t}function Gf({baseUrl:e,prepareHeaders:t=l=>l,fetchFn:r=$a,paramsSerializer:n,isJsonContentType:i=Vf,jsonContentType:o="application/json",jsonReplacer:a,timeout:s,responseHandler:c,validateStatus:u,...d}={}){return typeof fetch>"u"&&r===$a&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),async(p,f)=>{const{signal:g,getState:_,extra:y,endpoint:h,forced:b,type:m}=f;let w,{url:C,headers:E=new Headers(d.headers),params:S=void 0,responseHandler:x=c??"json",validateStatus:k=u??qf,timeout:T=s,...O}=typeof p=="string"?{url:p}:p,A={...d,signal:g,...O};E=new Headers(Ba(E)),A.headers=await t(E,{getState:_,extra:y,endpoint:h,forced:b,type:m})||E;const P=z=>typeof z=="object"&&(Pe(z)||Array.isArray(z)||typeof z.toJSON=="function");if(!A.headers.has("content-type")&&P(A.body)&&A.headers.set("content-type",o),P(A.body)&&i(A.headers)&&(A.body=JSON.stringify(A.body,a)),S){const z=~C.indexOf("?")?"&":"?",Ke=n?n(S):new URLSearchParams(Ba(S));C+=z+Ke}C=zf(e,C);const N=new Request(C,A);w={request:new Request(C,A)};let J,U=!1,M=T&&setTimeout(()=>{U=!0,f.abort()},T);try{J=await r(N)}catch(z){return{error:{status:U?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(z)},meta:w}}finally{M&&clearTimeout(M)}const ae=J.clone();w.response=ae;let Q,xe="";try{let z;if(await Promise.all([l(J,x).then(Ke=>Q=Ke,Ke=>z=Ke),ae.text().then(Ke=>xe=Ke,()=>{})]),z)throw z}catch(z){return{error:{status:"PARSING_ERROR",originalStatus:J.status,data:xe,error:String(z)},meta:w}}return k(J,Q)?{data:Q,meta:w}:{error:{status:J.status,data:Q},meta:w}};async function l(p,f){if(typeof f=="function")return f(p);if(f==="content-type"&&(f=i(p.headers)?"json":"text"),f==="json"){const g=await p.text();return g.length?JSON.parse(g):null}return p.text()}}var Ua=class{constructor(e,t=void 0){this.value=e,this.meta=t}},To=se("__rtkq/focused"),Gc=se("__rtkq/unfocused"),Ro=se("__rtkq/online"),Qc=se("__rtkq/offline");function Yc(e){return e.type==="query"}function Qf(e){return e.type==="mutation"}function Ao(e,t,r,n,i,o){return Yf(e)?e(t,r,n,i).map(Ti).map(o):Array.isArray(e)?e.map(Ti).map(o):[]}function Yf(e){return typeof e=="function"}function Ti(e){return typeof e=="string"?{type:e}:e}function ja(e){return e!=null}function Tt(e){let t=0;for(const r in e)t++;return t}var yr=Symbol("forceQueryFn"),Ri=e=>typeof e[yr]=="function";function Kf({serializeQueryArgs:e,queryThunk:t,mutationThunk:r,api:n,context:i}){const o=new Map,a=new Map,{unsubscribeQueryResult:s,removeMutationResult:c,updateSubscriptionOptions:u}=n.internalActions;return{buildInitiateQuery:g,buildInitiateMutation:_,getRunningQueryThunk:d,getRunningMutationThunk:l,getRunningQueriesThunk:p,getRunningMutationsThunk:f};function d(y,h){return b=>{var C;const m=i.endpointDefinitions[y],w=e({queryArgs:h,endpointDefinition:m,endpointName:y});return(C=o.get(b))==null?void 0:C[w]}}function l(y,h){return b=>{var m;return(m=a.get(b))==null?void 0:m[h]}}function p(){return y=>Object.values(o.get(y)||{}).filter(ja)}function f(){return y=>Object.values(a.get(y)||{}).filter(ja)}function g(y,h){const b=(m,{subscribe:w=!0,forceRefetch:C,subscriptionOptions:E,[yr]:S}={})=>(x,k)=>{var xe;const T=e({queryArgs:m,endpointDefinition:h,endpointName:y}),O=t({type:"query",subscribe:w,forceRefetch:C,subscriptionOptions:E,endpointName:y,originalArgs:m,queryCacheKey:T,[yr]:S}),A=n.endpoints[y].select(m),P=x(O),N=A(k()),{requestId:H,abort:J}=P,U=N.requestId!==H,M=(xe=o.get(x))==null?void 0:xe[T],ae=()=>A(k()),Q=Object.assign(S?P.then(ae):U&&!M?Promise.resolve(N):Promise.all([M,P]).then(ae),{arg:m,requestId:H,subscriptionOptions:E,queryCacheKey:T,abort:J,async unwrap(){const z=await Q;if(z.isError)throw z.error;return z.data},refetch:()=>x(b(m,{subscribe:!1,forceRefetch:!0})),unsubscribe(){w&&x(s({queryCacheKey:T,requestId:H}))},updateSubscriptionOptions(z){Q.subscriptionOptions=z,x(u({endpointName:y,requestId:H,queryCacheKey:T,options:z}))}});if(!M&&!U&&!S){const z=o.get(x)||{};z[T]=Q,o.set(x,z),Q.then(()=>{delete z[T],Tt(z)||o.delete(x)})}return Q};return b}function _(y){return(h,{track:b=!0,fixedCacheKey:m}={})=>(w,C)=>{const E=r({type:"mutation",endpointName:y,originalArgs:h,track:b,fixedCacheKey:m}),S=w(E),{requestId:x,abort:k,unwrap:T}=S,O=S.unwrap().then(H=>({data:H})).catch(H=>({error:H})),A=()=>{w(c({requestId:x,fixedCacheKey:m}))},P=Object.assign(O,{arg:S.arg,requestId:x,abort:k,unwrap:T,reset:A}),N=a.get(w)||{};return a.set(w,N),N[x]=P,P.then(()=>{delete N[x],Tt(N)||a.delete(w)}),m&&(N[m]=P,P.then(()=>{N[m]===P&&(delete N[m],Tt(N)||a.delete(w))})),P}}}function za(e){return e}function Jf({reducerPath:e,baseQuery:t,context:{endpointDefinitions:r},serializeQueryArgs:n,api:i,assertTagType:o}){const a=(b,m,w,C)=>(E,S)=>{const x=r[b],k=n({queryArgs:m,endpointDefinition:x,endpointName:b});if(E(i.internalActions.queryResultPatched({queryCacheKey:k,patches:w})),!C)return;const T=i.endpoints[b].select(m)(S()),O=Ao(x.providesTags,T.data,void 0,m,{},o);E(i.internalActions.updateProvidedBy({queryCacheKey:k,providedTags:O}))},s=(b,m,w,C=!0)=>(E,S)=>{const k=i.endpoints[b].select(m)(S());let T={patches:[],inversePatches:[],undo:()=>E(i.util.patchQueryData(b,m,T.inversePatches,C))};if(k.status==="uninitialized")return T;let O;if("data"in k)if(Se(k.data)){const[A,P,N]=Dc(k.data,w);T.patches.push(...P),T.inversePatches.push(...N),O=A}else O=w(k.data),T.patches.push({op:"replace",path:[],value:O}),T.inversePatches.push({op:"replace",path:[],value:k.data});return E(i.util.patchQueryData(b,m,T.patches,C)),T},c=(b,m,w)=>C=>C(i.endpoints[b].initiate(m,{subscribe:!1,forceRefetch:!0,[yr]:()=>({data:w})})),u=async(b,{signal:m,abort:w,rejectWithValue:C,fulfillWithValue:E,dispatch:S,getState:x,extra:k})=>{const T=r[b.endpointName];try{let O=za,A;const P={signal:m,abort:w,dispatch:S,getState:x,extra:k,endpoint:b.endpointName,type:b.type,forced:b.type==="query"?d(b,x()):void 0},N=b.type==="query"?b[yr]:void 0;if(N?A=N():T.query?(A=await t(T.query(b.originalArgs),P,T.extraOptions),T.transformResponse&&(O=T.transformResponse)):A=await T.queryFn(b.originalArgs,P,T.extraOptions,H=>t(H,P,T.extraOptions)),typeof process<"u",A.error)throw new Ua(A.error,A.meta);return E(await O(A.data,A.meta,b.originalArgs),{fulfilledTimeStamp:Date.now(),baseQueryMeta:A.meta,[wt]:!0})}catch(O){let A=O;if(A instanceof Ua){let P=za;T.query&&T.transformErrorResponse&&(P=T.transformErrorResponse);try{return C(await P(A.value,A.meta,b.originalArgs),{baseQueryMeta:A.meta,[wt]:!0})}catch(N){A=N}}throw typeof process<"u",console.error(A),A}};function d(b,m){var x,k,T;const w=(k=(x=m[e])==null?void 0:x.queries)==null?void 0:k[b.queryCacheKey],C=(T=m[e])==null?void 0:T.config.refetchOnMountOrArgChange,E=w==null?void 0:w.fulfilledTimeStamp,S=b.forceRefetch??(b.subscribe&&C);return S?S===!0||(Number(new Date)-Number(E))/1e3>=S:!1}const l=Ma(`${e}/executeQuery`,u,{getPendingMeta(){return{startedTimeStamp:Date.now(),[wt]:!0}},condition(b,{getState:m}){var T,O,A;const w=m(),C=(O=(T=w[e])==null?void 0:T.queries)==null?void 0:O[b.queryCacheKey],E=C==null?void 0:C.fulfilledTimeStamp,S=b.originalArgs,x=C==null?void 0:C.originalArgs,k=r[b.endpointName];return Ri(b)?!0:(C==null?void 0:C.status)==="pending"?!1:d(b,w)||Yc(k)&&((A=k==null?void 0:k.forceRefetch)!=null&&A.call(k,{currentArg:S,previousArg:x,endpointState:C,state:w}))?!0:!E},dispatchConditionRejection:!0}),p=Ma(`${e}/executeMutation`,u,{getPendingMeta(){return{startedTimeStamp:Date.now(),[wt]:!0}}}),f=b=>"force"in b,g=b=>"ifOlderThan"in b,_=(b,m,w)=>(C,E)=>{const S=f(w)&&w.force,x=g(w)&&w.ifOlderThan,k=(O=!0)=>i.endpoints[b].initiate(m,{forceRefetch:O}),T=i.endpoints[b].select(m)(E());if(S)C(k());else if(x){const O=T==null?void 0:T.fulfilledTimeStamp;if(!O){C(k());return}(Number(new Date)-Number(new Date(O)))/1e3>=x&&C(k())}else C(k(!1))};function y(b){return m=>{var w,C;return((C=(w=m==null?void 0:m.meta)==null?void 0:w.arg)==null?void 0:C.endpointName)===b}}function h(b,m){return{matchPending:tr(xo(b),y(m)),matchFulfilled:tr(qe(b),y(m)),matchRejected:tr(It(b),y(m))}}return{queryThunk:l,mutationThunk:p,prefetch:_,updateQueryData:s,upsertQueryData:c,patchQueryData:a,buildMatchThunkActions:h}}function Kc(e,t,r,n){return Ao(r[e.meta.arg.endpointName][t],qe(e)?e.payload:void 0,Un(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,n)}function Br(e,t,r){const n=e[t];n&&r(n)}function br(e){return("arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)??e.requestId}function Ha(e,t,r){const n=e[br(t)];n&&r(n)}var Vt={};function Xf({reducerPath:e,queryThunk:t,mutationThunk:r,context:{endpointDefinitions:n,apiUid:i,extractRehydrationInfo:o,hasRehydrationInfo:a},assertTagType:s,config:c}){const u=se(`${e}/resetApiState`),d=Le({name:`${e}/queries`,initialState:Vt,reducers:{removeQueryResult:{reducer(m,{payload:{queryCacheKey:w}}){delete m[w]},prepare:qt()},queryResultPatched:{reducer(m,{payload:{queryCacheKey:w,patches:C}}){Br(m,w,E=>{E.data=Aa(E.data,C.concat())})},prepare:qt()}},extraReducers(m){m.addCase(t.pending,(w,{meta:C,meta:{arg:E}})=>{var x;const S=Ri(E);w[x=E.queryCacheKey]??(w[x]={status:"uninitialized",endpointName:E.endpointName}),Br(w,E.queryCacheKey,k=>{k.status="pending",k.requestId=S&&k.requestId?k.requestId:C.requestId,E.originalArgs!==void 0&&(k.originalArgs=E.originalArgs),k.startedTimeStamp=C.startedTimeStamp})}).addCase(t.fulfilled,(w,{meta:C,payload:E})=>{Br(w,C.arg.queryCacheKey,S=>{if(S.requestId!==C.requestId&&!Ri(C.arg))return;const{merge:x}=n[C.arg.endpointName];if(S.status="fulfilled",x)if(S.data!==void 0){const{fulfilledTimeStamp:k,arg:T,baseQueryMeta:O,requestId:A}=C;let P=Rr(S.data,N=>x(N,E,{arg:T.originalArgs,baseQueryMeta:O,fulfilledTimeStamp:k,requestId:A}));S.data=P}else S.data=E;else S.data=n[C.arg.endpointName].structuralSharing??!0?Vc(we(S.data)?Wd(S.data):S.data,E):E;delete S.error,S.fulfilledTimeStamp=C.fulfilledTimeStamp})}).addCase(t.rejected,(w,{meta:{condition:C,arg:E,requestId:S},error:x,payload:k})=>{Br(w,E.queryCacheKey,T=>{if(!C){if(T.requestId!==S)return;T.status="rejected",T.error=k??x}})}).addMatcher(a,(w,C)=>{const{queries:E}=o(C);for(const[S,x]of Object.entries(E))((x==null?void 0:x.status)==="fulfilled"||(x==null?void 0:x.status)==="rejected")&&(w[S]=x)})}}),l=Le({name:`${e}/mutations`,initialState:Vt,reducers:{removeMutationResult:{reducer(m,{payload:w}){const C=br(w);C in m&&delete m[C]},prepare:qt()}},extraReducers(m){m.addCase(r.pending,(w,{meta:C,meta:{requestId:E,arg:S,startedTimeStamp:x}})=>{S.track&&(w[br(C)]={requestId:E,status:"pending",endpointName:S.endpointName,startedTimeStamp:x})}).addCase(r.fulfilled,(w,{payload:C,meta:E})=>{E.arg.track&&Ha(w,E,S=>{S.requestId===E.requestId&&(S.status="fulfilled",S.data=C,S.fulfilledTimeStamp=E.fulfilledTimeStamp)})}).addCase(r.rejected,(w,{payload:C,error:E,meta:S})=>{S.arg.track&&Ha(w,S,x=>{x.requestId===S.requestId&&(x.status="rejected",x.error=C??E)})}).addMatcher(a,(w,C)=>{const{mutations:E}=o(C);for(const[S,x]of Object.entries(E))((x==null?void 0:x.status)==="fulfilled"||(x==null?void 0:x.status)==="rejected")&&S!==(x==null?void 0:x.requestId)&&(w[S]=x)})}}),p=Le({name:`${e}/invalidation`,initialState:Vt,reducers:{updateProvidedBy:{reducer(m,w){var S,x;const{queryCacheKey:C,providedTags:E}=w.payload;for(const k of Object.values(m))for(const T of Object.values(k)){const O=T.indexOf(C);O!==-1&&T.splice(O,1)}for(const{type:k,id:T}of E){const O=(S=m[k]??(m[k]={}))[x=T||"__internal_without_id"]??(S[x]=[]);O.includes(C)||O.push(C)}},prepare:qt()}},extraReducers(m){m.addCase(d.actions.removeQueryResult,(w,{payload:{queryCacheKey:C}})=>{for(const E of Object.values(w))for(const S of Object.values(E)){const x=S.indexOf(C);x!==-1&&S.splice(x,1)}}).addMatcher(a,(w,C)=>{var S,x;const{provided:E}=o(C);for(const[k,T]of Object.entries(E))for(const[O,A]of Object.entries(T)){const P=(S=w[k]??(w[k]={}))[x=O||"__internal_without_id"]??(S[x]=[]);for(const N of A)P.includes(N)||P.push(N)}}).addMatcher(We(qe(t),Un(t)),(w,C)=>{const E=Kc(C,"providesTags",n,s),{queryCacheKey:S}=C.meta.arg;p.caseReducers.updateProvidedBy(w,p.actions.updateProvidedBy({queryCacheKey:S,providedTags:E}))})}}),f=Le({name:`${e}/subscriptions`,initialState:Vt,reducers:{updateSubscriptionOptions(m,w){},unsubscribeQueryResult(m,w){},internal_getRTKQSubscriptions(){}}}),g=Le({name:`${e}/internalSubscriptions`,initialState:Vt,reducers:{subscriptionsUpdated:{reducer(m,w){return Aa(m,w.payload)},prepare:qt()}}}),_=Le({name:`${e}/config`,initialState:{online:Hf(),focused:Wf(),middlewareRegistered:!1,...c},reducers:{middlewareRegistered(m,{payload:w}){m.middlewareRegistered=m.middlewareRegistered==="conflict"||i!==w?"conflict":!0}},extraReducers:m=>{m.addCase(Ro,w=>{w.online=!0}).addCase(Qc,w=>{w.online=!1}).addCase(To,w=>{w.focused=!0}).addCase(Gc,w=>{w.focused=!1}).addMatcher(a,w=>({...w}))}}),y=Ac({queries:d.reducer,mutations:l.reducer,provided:p.reducer,subscriptions:g.reducer,config:_.reducer}),h=(m,w)=>y(u.match(w)?void 0:m,w),b={..._.actions,...d.actions,...f.actions,...g.actions,...l.actions,...p.actions,resetApiState:u};return{reducer:h,actions:b}}var rt=Symbol.for("RTKQ/skipToken"),Jc={status:"uninitialized"},Wa=Rr(Jc,()=>{}),qa=Rr(Jc,()=>{});function Zf({serializeQueryArgs:e,reducerPath:t}){const r=d=>Wa,n=d=>qa;return{buildQuerySelector:a,buildMutationSelector:s,selectInvalidatedBy:c,selectCachedArgsForQuery:u};function i(d){return{...d,...$f(d.status)}}function o(d){return d[t]}function a(d,l){return p=>{const f=e({queryArgs:p,endpointDefinition:l,endpointName:d});return kt(p===rt?r:y=>{var h,b;return((b=(h=o(y))==null?void 0:h.queries)==null?void 0:b[f])??Wa},i)}}function s(){return d=>{let l;return typeof d=="object"?l=br(d)??rt:l=d,kt(l===rt?n:g=>{var _,y;return((y=(_=o(g))==null?void 0:_.mutations)==null?void 0:y[l])??qa},i)}}function c(d,l){const p=d[t],f=new Set;for(const g of l.map(Ti)){const _=p.provided[g.type];if(!_)continue;let y=(g.id!==void 0?_[g.id]:Fa(Object.values(_)))??[];for(const h of y)f.add(h)}return Fa(Array.from(f.values()).map(g=>{const _=p.queries[g];return _?[{queryCacheKey:g,endpointName:_.endpointName,originalArgs:_.originalArgs}]:[]}))}function u(d,l){return Object.values(d[t].queries).filter(p=>(p==null?void 0:p.endpointName)===l&&p.status!=="uninitialized").map(p=>p.originalArgs)}}var vt=WeakMap?new WeakMap:void 0,Va=({endpointName:e,queryArgs:t})=>{let r="";const n=vt==null?void 0:vt.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,a)=>Pe(a)?Object.keys(a).sort().reduce((s,c)=>(s[c]=a[c],s),{}):a);Pe(t)&&(vt==null||vt.set(t,i)),r=i}return`${e}(${r})`};function ep(...e){return function(r){const n=gr(u=>{var d;return(d=r.extractRehydrationInfo)==null?void 0:d.call(r,u,{reducerPath:r.reducerPath??"api"})}),i={reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1,invalidationBehavior:"delayed",...r,extractRehydrationInfo:n,serializeQueryArgs(u){let d=Va;if("serializeQueryArgs"in u.endpointDefinition){const l=u.endpointDefinition.serializeQueryArgs;d=p=>{const f=l(p);return typeof f=="string"?f:Va({...p,queryArgs:f})}}else r.serializeQueryArgs&&(d=r.serializeQueryArgs);return d(u)},tagTypes:[...r.tagTypes||[]]},o={endpointDefinitions:{},batch(u){u()},apiUid:Hc(),extractRehydrationInfo:n,hasRehydrationInfo:gr(u=>n(u)!=null)},a={injectEndpoints:c,enhanceEndpoints({addTagTypes:u,endpoints:d}){if(u)for(const l of u)i.tagTypes.includes(l)||i.tagTypes.push(l);if(d)for(const[l,p]of Object.entries(d))typeof p=="function"?p(o.endpointDefinitions[l]):Object.assign(o.endpointDefinitions[l]||{},p);return a}},s=e.map(u=>u.init(a,i,o));function c(u){const d=u.endpoints({query:l=>({...l,type:"query"}),mutation:l=>({...l,type:"mutation"})});for(const[l,p]of Object.entries(d)){if(!u.overrideExisting&&l in o.endpointDefinitions){typeof process<"u";continue}o.endpointDefinitions[l]=p;for(const f of s)f.injectEndpoint(l,p)}return a}return a.injectEndpoints({endpoints:r.endpoints})}}function tp(e){for(let t in e)return!1;return!0}var rp=2147483647/1e3-1,np=({reducerPath:e,api:t,context:r,internalState:n})=>{const{removeQueryResult:i,unsubscribeQueryResult:o}=t.internalActions;function a(d){const l=n.currentSubscriptions[d];return!!l&&!tp(l)}const s={},c=(d,l,p)=>{var f;if(o.match(d)){const g=l.getState()[e],{queryCacheKey:_}=d.payload;u(_,(f=g.queries[_])==null?void 0:f.endpointName,l,g.config)}if(t.util.resetApiState.match(d))for(const[g,_]of Object.entries(s))_&&clearTimeout(_),delete s[g];if(r.hasRehydrationInfo(d)){const g=l.getState()[e],{queries:_}=r.extractRehydrationInfo(d);for(const[y,h]of Object.entries(_))u(y,h==null?void 0:h.endpointName,l,g.config)}};function u(d,l,p,f){const g=r.endpointDefinitions[l],_=(g==null?void 0:g.keepUnusedDataFor)??f.keepUnusedDataFor;if(_===1/0)return;const y=Math.max(0,Math.min(_,rp));if(!a(d)){const h=s[d];h&&clearTimeout(h),s[d]=setTimeout(()=>{a(d)||p.dispatch(i({queryCacheKey:d})),delete s[d]},y*1e3)}}return c},ip=({reducerPath:e,context:t,context:{endpointDefinitions:r},mutationThunk:n,queryThunk:i,api:o,assertTagType:a,refetchQuery:s,internalState:c})=>{const{removeQueryResult:u}=o.internalActions,d=We(qe(n),Un(n)),l=We(qe(n,i),It(n,i));let p=[];const f=(y,h)=>{d(y)?_(Kc(y,"invalidatesTags",r,a),h):l(y)?_([],h):o.util.invalidateTags.match(y)&&_(Ao(y.payload,void 0,void 0,void 0,void 0,a),h)};function g(y){var h,b;for(const m in y.queries)if(((h=y.queries[m])==null?void 0:h.status)==="pending")return!0;for(const m in y.mutations)if(((b=y.mutations[m])==null?void 0:b.status)==="pending")return!0;return!1}function _(y,h){const b=h.getState(),m=b[e];if(p.push(...y),m.config.invalidationBehavior==="delayed"&&g(m))return;const w=p;if(p=[],w.length===0)return;const C=o.util.selectInvalidatedBy(b,w);t.batch(()=>{const E=Array.from(C.values());for(const{queryCacheKey:S}of E){const x=m.queries[S],k=c.currentSubscriptions[S]??{};x&&(Tt(k)===0?h.dispatch(u({queryCacheKey:S})):x.status!=="uninitialized"&&h.dispatch(s(x,S)))}})}return f},op=({reducerPath:e,queryThunk:t,api:r,refetchQuery:n,internalState:i})=>{const o={},a=(p,f)=>{(r.internalActions.updateSubscriptionOptions.match(p)||r.internalActions.unsubscribeQueryResult.match(p))&&c(p.payload,f),(t.pending.match(p)||t.rejected.match(p)&&p.meta.condition)&&c(p.meta.arg,f),(t.fulfilled.match(p)||t.rejected.match(p)&&!p.meta.condition)&&s(p.meta.arg,f),r.util.resetApiState.match(p)&&d()};function s({queryCacheKey:p},f){const _=f.getState()[e].queries[p],y=i.currentSubscriptions[p];if(!_||_.status==="uninitialized")return;const h=l(y);if(!Number.isFinite(h))return;const b=o[p];b!=null&&b.timeout&&(clearTimeout(b.timeout),b.timeout=void 0);const m=Date.now()+h,w=o[p]={nextPollTimestamp:m,pollingInterval:h,timeout:setTimeout(()=>{w.timeout=void 0,f.dispatch(n(_,p))},h)}}function c({queryCacheKey:p},f){const _=f.getState()[e].queries[p],y=i.currentSubscriptions[p];if(!_||_.status==="uninitialized")return;const h=l(y);if(!Number.isFinite(h)){u(p);return}const b=o[p],m=Date.now()+h;(!b||m<b.nextPollTimestamp)&&s({queryCacheKey:p},f)}function u(p){const f=o[p];f!=null&&f.timeout&&clearTimeout(f.timeout),delete o[p]}function d(){for(const p of Object.keys(o))u(p)}function l(p={}){let f=Number.POSITIVE_INFINITY;for(let g in p)p[g].pollingInterval&&(f=Math.min(p[g].pollingInterval,f));return f}return a},ap=({reducerPath:e,context:t,api:r,refetchQuery:n,internalState:i})=>{const{removeQueryResult:o}=r.internalActions,a=(c,u)=>{To.match(c)&&s(u,"refetchOnFocus"),Ro.match(c)&&s(u,"refetchOnReconnect")};function s(c,u){const d=c.getState()[e],l=d.queries,p=i.currentSubscriptions;t.batch(()=>{for(const f of Object.keys(p)){const g=l[f],_=p[f];if(!_||!g)continue;(Object.values(_).some(h=>h[u]===!0)||Object.values(_).every(h=>h[u]===void 0)&&d.config[u])&&(Tt(_)===0?c.dispatch(o({queryCacheKey:f})):g.status!=="uninitialized"&&c.dispatch(n(g,f)))}})}return a},Ga=new Error("Promise never resolved before cacheEntryRemoved."),sp=({api:e,reducerPath:t,context:r,queryThunk:n,mutationThunk:i,internalState:o})=>{const a=ki(n),s=ki(i),c=qe(n,i),u={},d=(f,g,_)=>{const y=l(f);if(n.pending.match(f)){const h=_[t].queries[y],b=g.getState()[t].queries[y];!h&&b&&p(f.meta.arg.endpointName,f.meta.arg.originalArgs,y,g,f.meta.requestId)}else if(i.pending.match(f))g.getState()[t].mutations[y]&&p(f.meta.arg.endpointName,f.meta.arg.originalArgs,y,g,f.meta.requestId);else if(c(f)){const h=u[y];h!=null&&h.valueResolved&&(h.valueResolved({data:f.payload,meta:f.meta.baseQueryMeta}),delete h.valueResolved)}else if(e.internalActions.removeQueryResult.match(f)||e.internalActions.removeMutationResult.match(f)){const h=u[y];h&&(delete u[y],h.cacheEntryRemoved())}else if(e.util.resetApiState.match(f))for(const[h,b]of Object.entries(u))delete u[h],b.cacheEntryRemoved()};function l(f){return a(f)?f.meta.arg.queryCacheKey:s(f)?f.meta.requestId:e.internalActions.removeQueryResult.match(f)?f.payload.queryCacheKey:e.internalActions.removeMutationResult.match(f)?br(f.payload):""}function p(f,g,_,y,h){const b=r.endpointDefinitions[f],m=b==null?void 0:b.onCacheEntryAdded;if(!m)return;let w={};const C=new Promise(O=>{w.cacheEntryRemoved=O}),E=Promise.race([new Promise(O=>{w.valueResolved=O}),C.then(()=>{throw Ga})]);E.catch(()=>{}),u[_]=w;const S=e.endpoints[f].select(b.type==="query"?g:_),x=y.dispatch((O,A,P)=>P),k={...y,getCacheEntry:()=>S(y.getState()),requestId:h,extra:x,updateCachedData:b.type==="query"?O=>y.dispatch(e.util.updateQueryData(f,g,O)):void 0,cacheDataLoaded:E,cacheEntryRemoved:C},T=m(g,k);Promise.resolve(T).catch(O=>{if(O!==Ga)throw O})}return d},cp=({api:e,context:t,queryThunk:r,mutationThunk:n})=>{const i=xo(r,n),o=It(r,n),a=qe(r,n),s={};return(u,d)=>{var l,p;if(i(u)){const{requestId:f,arg:{endpointName:g,originalArgs:_}}=u.meta,y=t.endpointDefinitions[g],h=y==null?void 0:y.onQueryStarted;if(h){const b={},m=new Promise((S,x)=>{b.resolve=S,b.reject=x});m.catch(()=>{}),s[f]=b;const w=e.endpoints[g].select(y.type==="query"?_:f),C=d.dispatch((S,x,k)=>k),E={...d,getCacheEntry:()=>w(d.getState()),requestId:f,extra:C,updateCachedData:y.type==="query"?S=>d.dispatch(e.util.updateQueryData(g,_,S)):void 0,queryFulfilled:m};h(_,E)}}else if(a(u)){const{requestId:f,baseQueryMeta:g}=u.meta;(l=s[f])==null||l.resolve({data:u.payload,meta:g}),delete s[f]}else if(o(u)){const{requestId:f,rejectedWithValue:g,baseQueryMeta:_}=u.meta;(p=s[f])==null||p.reject({error:u.payload??u.error,isUnhandledError:!g,meta:_}),delete s[f]}}},up=({api:e,context:{apiUid:t},reducerPath:r})=>(n,i)=>{e.util.resetApiState.match(n)&&i.dispatch(e.internalActions.middlewareRegistered(t)),typeof process<"u"},lp=({api:e,queryThunk:t,internalState:r})=>{const n=`${e.reducerPath}/subscriptions`;let i=null,o=null;const{updateSubscriptionOptions:a,unsubscribeQueryResult:s}=e.internalActions,c=(f,g)=>{var y,h,b;if(a.match(g)){const{queryCacheKey:m,requestId:w,options:C}=g.payload;return(y=f==null?void 0:f[m])!=null&&y[w]&&(f[m][w]=C),!0}if(s.match(g)){const{queryCacheKey:m,requestId:w}=g.payload;return f[m]&&delete f[m][w],!0}if(e.internalActions.removeQueryResult.match(g))return delete f[g.payload.queryCacheKey],!0;if(t.pending.match(g)){const{meta:{arg:m,requestId:w}}=g,C=f[h=m.queryCacheKey]??(f[h]={});return C[`${w}_running`]={},m.subscribe&&(C[w]=m.subscriptionOptions??C[w]??{}),!0}let _=!1;if(t.fulfilled.match(g)||t.rejected.match(g)){const m=f[g.meta.arg.queryCacheKey]||{},w=`${g.meta.requestId}_running`;_||(_=!!m[w]),delete m[w]}if(t.rejected.match(g)){const{meta:{condition:m,arg:w,requestId:C}}=g;if(m&&w.subscribe){const E=f[b=w.queryCacheKey]??(f[b]={});E[C]=w.subscriptionOptions??E[C]??{},_=!0}}return _},u=()=>r.currentSubscriptions,p={getSubscriptions:u,getSubscriptionCount:f=>{const _=u()[f]??{};return Tt(_)},isRequestSubscribed:(f,g)=>{var y;const _=u();return!!((y=_==null?void 0:_[f])!=null&&y[g])}};return(f,g)=>{if(i||(i=JSON.parse(JSON.stringify(r.currentSubscriptions))),e.util.resetApiState.match(f))return i=r.currentSubscriptions={},o=null,[!0,!1];if(e.internalActions.internal_getRTKQSubscriptions.match(f))return[!1,p];const _=c(r.currentSubscriptions,f);let y=!0;if(_){o||(o=setTimeout(()=>{const m=JSON.parse(JSON.stringify(r.currentSubscriptions)),[,w]=Dc(i,()=>m);g.next(e.internalActions.subscriptionsUpdated(w)),i=m,o=null},500));const h=typeof f.type=="string"&&!!f.type.startsWith(n),b=t.rejected.match(f)&&f.meta.condition&&!!f.meta.arg.subscribe;y=!h&&!b}return[y,!1]}};function dp(e){const{reducerPath:t,queryThunk:r,api:n,context:i}=e,{apiUid:o}=i,a={invalidateTags:se(`${t}/invalidateTags`)},s=l=>l.type.startsWith(`${t}/`),c=[up,np,ip,op,sp,cp];return{middleware:l=>{let p=!1;const g={...e,internalState:{currentSubscriptions:{}},refetchQuery:d,isThisApiSliceAction:s},_=c.map(b=>b(g)),y=lp(g),h=ap(g);return b=>m=>{if(!Oc(m))return b(m);p||(p=!0,l.dispatch(n.internalActions.middlewareRegistered(o)));const w={...l,next:b},C=l.getState(),[E,S]=y(m,w,C);let x;if(E?x=b(m):x=S,l.getState()[t]&&(h(m,w,C),s(m)||i.hasRehydrationInfo(m)))for(let k of _)k(m,w,C);return x}},actions:a};function d(l,p,f={}){return r({type:"query",endpointName:l.endpointName,originalArgs:l.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:p,...f})}}function je(e,...t){return Object.assign(e,...t)}var Qa=Symbol(),fp=()=>({name:Qa,init(e,{baseQuery:t,tagTypes:r,reducerPath:n,serializeQueryArgs:i,keepUnusedDataFor:o,refetchOnMountOrArgChange:a,refetchOnFocus:s,refetchOnReconnect:c,invalidationBehavior:u},d){Zd();const l=U=>(typeof process<"u",U);Object.assign(e,{reducerPath:n,endpoints:{},internalActions:{onOnline:Ro,onOffline:Qc,onFocus:To,onFocusLost:Gc},util:{}});const{queryThunk:p,mutationThunk:f,patchQueryData:g,updateQueryData:_,upsertQueryData:y,prefetch:h,buildMatchThunkActions:b}=Jf({baseQuery:t,reducerPath:n,context:d,api:e,serializeQueryArgs:i,assertTagType:l}),{reducer:m,actions:w}=Xf({context:d,queryThunk:p,mutationThunk:f,reducerPath:n,assertTagType:l,config:{refetchOnFocus:s,refetchOnReconnect:c,refetchOnMountOrArgChange:a,keepUnusedDataFor:o,reducerPath:n,invalidationBehavior:u}});je(e.util,{patchQueryData:g,updateQueryData:_,upsertQueryData:y,prefetch:h,resetApiState:w.resetApiState}),je(e.internalActions,w);const{middleware:C,actions:E}=dp({reducerPath:n,context:d,queryThunk:p,mutationThunk:f,api:e,assertTagType:l});je(e.util,E),je(e,{reducer:m,middleware:C});const{buildQuerySelector:S,buildMutationSelector:x,selectInvalidatedBy:k,selectCachedArgsForQuery:T}=Zf({serializeQueryArgs:i,reducerPath:n});je(e.util,{selectInvalidatedBy:k,selectCachedArgsForQuery:T});const{buildInitiateQuery:O,buildInitiateMutation:A,getRunningMutationThunk:P,getRunningMutationsThunk:N,getRunningQueriesThunk:H,getRunningQueryThunk:J}=Kf({queryThunk:p,mutationThunk:f,api:e,serializeQueryArgs:i,context:d});return je(e.util,{getRunningMutationThunk:P,getRunningMutationsThunk:N,getRunningQueryThunk:J,getRunningQueriesThunk:H}),{name:Qa,injectEndpoint(U,M){var Q;const ae=e;(Q=ae.endpoints)[U]??(Q[U]={}),Yc(M)?je(ae.endpoints[U],{name:U,select:S(U,M),initiate:O(U,M)},b(p,U)):Qf(M)&&je(ae.endpoints[U],{name:U,select:x(),initiate:A(U)},b(f,U))}}}}),Xc={exports:{}},Zc={};const pp=ud(ur);/**
8
+ */var ie=typeof Symbol=="function"&&Symbol.for,$o=ie?Symbol.for("react.element"):60103,Uo=ie?Symbol.for("react.portal"):60106,Wn=ie?Symbol.for("react.fragment"):60107,Vn=ie?Symbol.for("react.strict_mode"):60108,Gn=ie?Symbol.for("react.profiler"):60114,Qn=ie?Symbol.for("react.provider"):60109,Yn=ie?Symbol.for("react.context"):60110,jo=ie?Symbol.for("react.async_mode"):60111,Kn=ie?Symbol.for("react.concurrent_mode"):60111,Jn=ie?Symbol.for("react.forward_ref"):60112,Xn=ie?Symbol.for("react.suspense"):60113,Gd=ie?Symbol.for("react.suspense_list"):60120,Zn=ie?Symbol.for("react.memo"):60115,ei=ie?Symbol.for("react.lazy"):60116,Qd=ie?Symbol.for("react.block"):60121,Yd=ie?Symbol.for("react.fundamental"):60117,Kd=ie?Symbol.for("react.responder"):60118,Jd=ie?Symbol.for("react.scope"):60119;function Se(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case $o:switch(e=e.type,e){case jo:case Kn:case Wn:case Gn:case Vn:case Xn:return e;default:switch(e=e&&e.$$typeof,e){case Yn:case Jn:case ei:case Zn:case Qn:return e;default:return t}}case Uo:return t}}}function Kc(e){return Se(e)===Kn}V.AsyncMode=jo;V.ConcurrentMode=Kn;V.ContextConsumer=Yn;V.ContextProvider=Qn;V.Element=$o;V.ForwardRef=Jn;V.Fragment=Wn;V.Lazy=ei;V.Memo=Zn;V.Portal=Uo;V.Profiler=Gn;V.StrictMode=Vn;V.Suspense=Xn;V.isAsyncMode=function(e){return Kc(e)||Se(e)===jo};V.isConcurrentMode=Kc;V.isContextConsumer=function(e){return Se(e)===Yn};V.isContextProvider=function(e){return Se(e)===Qn};V.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===$o};V.isForwardRef=function(e){return Se(e)===Jn};V.isFragment=function(e){return Se(e)===Wn};V.isLazy=function(e){return Se(e)===ei};V.isMemo=function(e){return Se(e)===Zn};V.isPortal=function(e){return Se(e)===Uo};V.isProfiler=function(e){return Se(e)===Gn};V.isStrictMode=function(e){return Se(e)===Vn};V.isSuspense=function(e){return Se(e)===Xn};V.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Wn||e===Kn||e===Gn||e===Vn||e===Xn||e===Gd||typeof e=="object"&&e!==null&&(e.$$typeof===ei||e.$$typeof===Zn||e.$$typeof===Qn||e.$$typeof===Yn||e.$$typeof===Jn||e.$$typeof===Yd||e.$$typeof===Kd||e.$$typeof===Jd||e.$$typeof===Qd)};V.typeOf=Se;Yc.exports=V;var Xd=Yc.exports,Jc=Xd,Zd={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ef={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Xc={};Xc[Jc.ForwardRef]=Zd;Xc[Jc.Memo]=ef;var tf=!0;function Zc(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):n+=i+" "}),n}var zo=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||tf===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},Ho=function(t,r,n){zo(t,r,n);var i=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var o=r;do t.insert(r===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function rf(e){for(var t=0,r,n=0,i=e.length;i>=4;++n,i-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var nf={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},of=/[A-Z]|^ms/g,af=/_EMO_([^_]+?)_([^]*?)_EMO_/g,eu=function(t){return t.charCodeAt(1)===45},Ka=function(t){return t!=null&&typeof t!="boolean"},hi=Vc(function(e){return eu(e)?e:e.replace(of,"-$&").toLowerCase()}),Ja=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(af,function(n,i,o){return Fe={name:i,styles:o,next:Fe},i})}return nf[t]!==1&&!eu(t)&&typeof r=="number"&&r!==0?r+"px":r};function Tr(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Fe={name:r.name,styles:r.styles,next:Fe},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Fe={name:n.name,styles:n.styles,next:Fe},n=n.next;var i=r.styles+";";return i}return sf(e,t,r)}case"function":{if(e!==void 0){var o=Fe,a=r(e);return Fe=o,Tr(e,t,a)}break}}if(t==null)return r;var s=t[r];return s!==void 0?s:r}function sf(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=Tr(e,t,r[i])+";";else for(var o in r){var a=r[o];if(typeof a!="object")t!=null&&t[a]!==void 0?n+=o+"{"+t[a]+"}":Ka(a)&&(n+=hi(o)+":"+Ja(o,a)+";");else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var s=0;s<a.length;s++)Ka(a[s])&&(n+=hi(o)+":"+Ja(o,a[s])+";");else{var c=Tr(e,t,a);switch(o){case"animation":case"animationName":{n+=hi(o)+":"+c+";";break}default:n+=o+"{"+c+"}"}}}return n}var Xa=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Fe,ti=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,o="";Fe=void 0;var a=t[0];a==null||a.raw===void 0?(i=!1,o+=Tr(n,r,a)):o+=a[0];for(var s=1;s<t.length;s++)o+=Tr(n,r,t[s]),i&&(o+=a[s]);Xa.lastIndex=0;for(var c="",u;(u=Xa.exec(o))!==null;)c+="-"+u[1];var p=rf(o)+c;return{name:p,styles:o,next:Fe}},cf=function(t){return t()},tu=Cr.useInsertionEffect?Cr.useInsertionEffect:!1,ru=tu||cf,Za=tu||_t,ri={}.hasOwnProperty,nu=jn(typeof HTMLElement<"u"?Qc({key:"css"}):null),uf=nu.Provider,qo=function(t){return Lo(function(r,n){var i=Qt(nu);return t(r,i,n)})},Wo=jn({}),qi="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",iu=function(t,r){var n={};for(var i in r)ri.call(r,i)&&(n[i]=r[i]);return n[qi]=t,n},lf=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return zo(r,n,i),ru(function(){return Ho(r,n,i)}),null},df=qo(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var i=e[qi],o=[n],a="";typeof e.className=="string"?a=Zc(t.registered,o,e.className):e.className!=null&&(a=e.className+" ");var s=ti(o,void 0,Qt(Wo));a+=t.key+"-"+s.name;var c={};for(var u in e)ri.call(e,u)&&u!=="css"&&u!==qi&&(c[u]=e[u]);return c.ref=r,c.className=a,Z(we,null,Z(lf,{cache:t,serialized:s,isStringTag:typeof i=="string"}),Z(i,c))}),ou=df,ff=qo(function(e,t){var r=e.styles,n=ti([r],void 0,Qt(Wo)),i=Ce();return Za(function(){var o=t.key+"-global",a=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,c=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),c!==null&&(s=!0,c.setAttribute("data-emotion",o),a.hydrate([c])),i.current=[a,s],function(){a.flush()}},[t]),Za(function(){var o=i.current,a=o[0],s=o[1];if(s){o[1]=!1;return}if(n.next!==void 0&&Ho(t,n.next,!0),a.tags.length){var c=a.tags[a.tags.length-1].nextElementSibling;a.before=c,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null});function pf(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return ti(t)}var mf=0;function xn(e,t,r,n,i,o){var a,s,c={};for(s in t)s=="ref"?a=t[s]:c[s]=t[s];var u={type:e,props:c,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--mf,__i:-1,__u:0,__source:i,__self:o};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)c[s]===void 0&&(c[s]=a[s]);return P.vnode&&P.vnode(u),u}var mt=we;function _(e,t,r){return ri.call(t,"css")?xn(ou,iu(e,t),r):xn(e,t,r)}function R(e,t,r){return ri.call(t,"css")?xn(ou,iu(e,t),r):xn(e,t,r)}const Kt=({size:e=48})=>_("div",{css:{display:"inline-block","@keyframes spin":{to:{transform:"rotate(360deg)"}},animation:"spin 1s linear infinite"},children:R("svg",{width:e,height:e,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[_("path",{d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM1.99743 8C1.99743 11.3151 4.68487 14.0026 8 14.0026C11.3151 14.0026 14.0026 11.3151 14.0026 8C14.0026 4.68487 11.3151 1.99743 8 1.99743C4.68487 1.99743 1.99743 4.68487 1.99743 8Z",fill:"white","fill-opacity":"0.3"}),_("path",{d:"M8 1C8 0.447715 8.44943 -0.00643769 8.99741 0.0624193C9.70527 0.151368 10.3996 0.334798 11.0615 0.608964C12.0321 1.011 12.914 1.60028 13.6569 2.34315C14.3997 3.08602 14.989 3.96793 15.391 4.93853C15.6652 5.60043 15.8486 6.29473 15.9376 7.0026C16.0064 7.55057 15.5523 8 15 8C14.4477 8 14.0085 7.54925 13.9169 7.00462C13.842 6.55939 13.7169 6.12298 13.5433 5.7039C13.2417 4.97595 12.7998 4.31451 12.2426 3.75736C11.6855 3.20021 11.0241 2.75825 10.2961 2.45672C9.87702 2.28313 9.44061 2.15804 8.99538 2.08314C8.45075 1.99152 8 1.55228 8 1Z",css:{fill:"var(--fl-color-primary)"}})]})}),hf={"toggle-removed-from-page":{splitType:"percentage",variants:[{variantName:"control",percentage:70},{variantName:"toggle-removed-from-page",percentage:30}]}};var vf=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,gf=Vc(function(e){return vf.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),yf=gf,bf=function(t){return t!=="theme"},es=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?yf:bf},ts=function(t,r,n){var i;if(r){var o=r.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(a){return t.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&n&&(i=t.__emotion_forwardProp),i},wf=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return zo(r,n,i),ru(function(){return Ho(r,n,i)}),null},_f=function e(t,r){var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,o,a;r!==void 0&&(o=r.label,a=r.target);var s=ts(t,r,n),c=s||es(i),u=!c("as");return function(){var p=arguments,f=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&f.push("label:"+o+";"),p[0]==null||p[0].raw===void 0)f.push.apply(f,p);else{f.push(p[0][0]);for(var d=p.length,l=1;l<d;l++)f.push(p[l],p[0][l])}var m=qo(function(h,v,b){var w=u&&h.as||i,g="",y=[],E=h;if(h.theme==null){E={};for(var C in h)E[C]=h[C];E.theme=Qt(Wo)}typeof h.className=="string"?g=Zc(v.registered,y,h.className):h.className!=null&&(g=h.className+" ");var S=ti(f.concat(y),v.registered,E);g+=v.key+"-"+S.name,a!==void 0&&(g+=" "+a);var x=u&&s===void 0?es(w):c,k={};for(var T in h)u&&T==="as"||x(T)&&(k[T]=h[T]);return k.className=g,k.ref=b,Z(we,null,Z(wf,{cache:v,serialized:S,isStringTag:typeof w=="string"}),Z(w,k))});return m.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=i,m.__emotion_styles=f,m.__emotion_forwardProp=s,Object.defineProperty(m,"toString",{value:function(){return"."+a}}),m.withComponent=function(h,v){return e(h,Hi({},r,v,{shouldForwardProp:ts(m,v,!0)})).apply(void 0,f)},m}},Sf=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],kn=_f.bind();Sf.forEach(function(e){kn[e]=kn(e)});function oe(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Ef=typeof Symbol=="function"&&Symbol.observable||"@@observable",rs=Ef,vi=()=>Math.random().toString(36).substring(7).split("").join("."),Cf={INIT:`@@redux/INIT${vi()}`,REPLACE:`@@redux/REPLACE${vi()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${vi()}`},Tn=Cf;function ze(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function au(e,t,r){if(typeof e!="function")throw new Error(oe(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(oe(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(oe(1));return r(au)(e,t)}let n=e,i=t,o=new Map,a=o,s=0,c=!1;function u(){a===o&&(a=new Map,o.forEach((v,b)=>{a.set(b,v)}))}function p(){if(c)throw new Error(oe(3));return i}function f(v){if(typeof v!="function")throw new Error(oe(4));if(c)throw new Error(oe(5));let b=!0;u();const w=s++;return a.set(w,v),function(){if(b){if(c)throw new Error(oe(6));b=!1,u(),a.delete(w),o=null}}}function d(v){if(!ze(v))throw new Error(oe(7));if(typeof v.type>"u")throw new Error(oe(8));if(typeof v.type!="string")throw new Error(oe(17));if(c)throw new Error(oe(9));try{c=!0,i=n(i,v)}finally{c=!1}return(o=a).forEach(w=>{w()}),v}function l(v){if(typeof v!="function")throw new Error(oe(10));n=v,d({type:Tn.REPLACE})}function m(){const v=f;return{subscribe(b){if(typeof b!="object"||b===null)throw new Error(oe(11));function w(){const y=b;y.next&&y.next(p())}return w(),{unsubscribe:v(w)}},[rs](){return this}}}return d({type:Tn.INIT}),{dispatch:d,subscribe:f,getState:p,replaceReducer:l,[rs]:m}}function xf(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:Tn.INIT})>"u")throw new Error(oe(12));if(typeof r(void 0,{type:Tn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(oe(13))})}function su(e){const t=Object.keys(e),r={};for(let o=0;o<t.length;o++){const a=t[o];typeof e[a]=="function"&&(r[a]=e[a])}const n=Object.keys(r);let i;try{xf(r)}catch(o){i=o}return function(a={},s){if(i)throw i;let c=!1;const u={};for(let p=0;p<n.length;p++){const f=n[p],d=r[f],l=a[f],m=d(l,s);if(typeof m>"u")throw s&&s.type,new Error(oe(14));u[f]=m,c=c||m!==l}return c=c||n.length!==Object.keys(a).length,c?u:a}}function Rn(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function kf(...e){return t=>(r,n)=>{const i=t(r,n);let o=()=>{throw new Error(oe(15))};const a={getState:i.getState,dispatch:(c,...u)=>o(c,...u)},s=e.map(c=>c(a));return o=Rn(...s)(i.dispatch),{...i,dispatch:o}}}function cu(e){return ze(e)&&"type"in e&&typeof e.type=="string"}var Vo=Symbol.for("immer-nothing"),mr=Symbol.for("immer-draftable"),he=Symbol.for("immer-state");function se(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var gt=Object.getPrototypeOf;function Oe(e){return!!e&&!!e[he]}function Pe(e){var t;return e?uu(e)||Array.isArray(e)||!!e[mr]||!!((t=e.constructor)!=null&&t[mr])||jr(e)||zr(e):!1}var Tf=Object.prototype.constructor.toString();function uu(e){if(!e||typeof e!="object")return!1;const t=gt(e);if(t===null)return!0;const r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object?!0:typeof r=="function"&&Function.toString.call(r)===Tf}function Rf(e){return Oe(e)||se(15,e),e[he].base_}function Rr(e,t){yt(e)===0?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function yt(e){const t=e[he];return t?t.type_:Array.isArray(e)?1:jr(e)?2:zr(e)?3:0}function Ar(e,t){return yt(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function gi(e,t){return yt(e)===2?e.get(t):e[t]}function lu(e,t,r){const n=yt(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function Af(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function jr(e){return e instanceof Map}function zr(e){return e instanceof Set}function ut(e){return e.copy_||e.base_}function Wi(e,t){if(jr(e))return new Map(e);if(zr(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&uu(e))return gt(e)?{...e}:Object.assign(Object.create(null),e);const r=Object.getOwnPropertyDescriptors(e);delete r[he];let n=Reflect.ownKeys(r);for(let i=0;i<n.length;i++){const o=n[i],a=r[o];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(r[o]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[o]})}return Object.create(gt(e),r)}function Go(e,t=!1){return ni(e)||Oe(e)||!Pe(e)||(yt(e)>1&&(e.set=e.add=e.clear=e.delete=Of),Object.freeze(e),t&&Object.entries(e).forEach(([r,n])=>Go(n,!0))),e}function Of(){se(2)}function ni(e){return Object.isFrozen(e)}var Vi={};function bt(e){const t=Vi[e];return t||se(0,e),t}function Pf(e,t){Vi[e]||(Vi[e]=t)}var Or;function du(){return Or}function If(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function ns(e,t){t&&(bt("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Gi(e){Qi(e),e.drafts_.forEach(Lf),e.drafts_=null}function Qi(e){e===Or&&(Or=e.parent_)}function is(e){return Or=If(Or,e)}function Lf(e){const t=e[he];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function os(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[he].modified_&&(Gi(t),se(4)),Pe(e)&&(e=An(t,e),t.parent_||On(t,e)),t.patches_&&bt("Patches").generateReplacementPatches_(r[he].base_,e,t.patches_,t.inversePatches_)):e=An(t,r,[]),Gi(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Vo?e:void 0}function An(e,t,r){if(ni(t))return t;const n=t[he];if(!n)return Rr(t,(i,o)=>as(e,n,t,i,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return On(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const i=n.copy_;let o=i,a=!1;n.type_===3&&(o=new Set(i),i.clear(),a=!0),Rr(o,(s,c)=>as(e,n,i,s,c,r,a)),On(e,i,!1),r&&e.patches_&&bt("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function as(e,t,r,n,i,o,a){if(Oe(i)){const s=o&&t&&t.type_!==3&&!Ar(t.assigned_,n)?o.concat(n):void 0,c=An(e,i,s);if(lu(r,n,c),Oe(c))e.canAutoFreeze_=!1;else return}else a&&r.add(i);if(Pe(i)&&!ni(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;An(e,i),(!t||!t.scope_.parent_)&&typeof n!="symbol"&&Object.prototype.propertyIsEnumerable.call(r,n)&&On(e,i)}}function On(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Go(t,r)}function Nf(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:du(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=n,o=Qo;r&&(i=[n],o=Pr);const{revoke:a,proxy:s}=Proxy.revocable(i,o);return n.draft_=s,n.revoke_=a,s}var Qo={get(e,t){if(t===he)return e;const r=ut(e);if(!Ar(r,t))return Mf(e,r,t);const n=r[t];return e.finalized_||!Pe(n)?n:n===yi(e.base_,t)?(bi(e),e.copy_[t]=Ki(n,e)):n},has(e,t){return t in ut(e)},ownKeys(e){return Reflect.ownKeys(ut(e))},set(e,t,r){const n=fu(ut(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const i=yi(ut(e),t),o=i==null?void 0:i[he];if(o&&o.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(Af(r,i)&&(r!==void 0||Ar(e.base_,t)))return!0;bi(e),Yi(e)}return e.copy_[t]===r&&(r!==void 0||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_[t]=!0),!0},deleteProperty(e,t){return yi(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,bi(e),Yi(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=ut(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){se(11)},getPrototypeOf(e){return gt(e.base_)},setPrototypeOf(){se(12)}},Pr={};Rr(Qo,(e,t)=>{Pr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Pr.deleteProperty=function(e,t){return Pr.set.call(this,e,t,void 0)};Pr.set=function(e,t,r){return Qo.set.call(this,e[0],t,r,e[0])};function yi(e,t){const r=e[he];return(r?ut(r):e)[t]}function Mf(e,t,r){var i;const n=fu(t,r);return n?"value"in n?n.value:(i=n.get)==null?void 0:i.call(e.draft_):void 0}function fu(e,t){if(!(t in e))return;let r=gt(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=gt(r)}}function Yi(e){e.modified_||(e.modified_=!0,e.parent_&&Yi(e.parent_))}function bi(e){e.copy_||(e.copy_=Wi(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Ff=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,r,n)=>{if(typeof t=="function"&&typeof r!="function"){const o=r;r=t;const a=this;return function(c=o,...u){return a.produce(c,p=>r.call(this,p,...u))}}typeof r!="function"&&se(6),n!==void 0&&typeof n!="function"&&se(7);let i;if(Pe(t)){const o=is(this),a=Ki(t,void 0);let s=!0;try{i=r(a),s=!1}finally{s?Gi(o):Qi(o)}return ns(o,n),os(i,o)}else if(!t||typeof t!="object"){if(i=r(t),i===void 0&&(i=t),i===Vo&&(i=void 0),this.autoFreeze_&&Go(i,!0),n){const o=[],a=[];bt("Patches").generateReplacementPatches_(t,i,o,a),n(o,a)}return i}else se(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(a,...s)=>this.produceWithPatches(a,c=>t(c,...s));let n,i;return[this.produce(t,r,(a,s)=>{n=a,i=s}),n,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){Pe(e)||se(8),Oe(e)&&(e=pu(e));const t=is(this),r=Ki(e,void 0);return r[he].isManual_=!0,Qi(t),r}finishDraft(e,t){const r=e&&e[he];(!r||!r.isManual_)&&se(9);const{scope_:n}=r;return ns(n,t),os(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){const i=t[r];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}r>-1&&(t=t.slice(r+1));const n=bt("Patches").applyPatches_;return Oe(e)?n(e,t):this.produce(e,i=>n(i,t))}};function Ki(e,t){const r=jr(e)?bt("MapSet").proxyMap_(e,t):zr(e)?bt("MapSet").proxySet_(e,t):Nf(e,t);return(t?t.scope_:du()).drafts_.push(r),r}function pu(e){return Oe(e)||se(10,e),mu(e)}function mu(e){if(!Pe(e)||ni(e))return e;const t=e[he];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=Wi(e,t.scope_.immer_.useStrictShallowCopy_)}else r=Wi(e,!0);return Rr(r,(n,i)=>{lu(r,n,mu(i))}),t&&(t.finalized_=!1),r}function Df(){const t="replace",r="add",n="remove";function i(d,l,m,h){switch(d.type_){case 0:case 2:return a(d,l,m,h);case 1:return o(d,l,m,h);case 3:return s(d,l,m,h)}}function o(d,l,m,h){let{base_:v,assigned_:b}=d,w=d.copy_;w.length<v.length&&([v,w]=[w,v],[m,h]=[h,m]);for(let g=0;g<v.length;g++)if(b[g]&&w[g]!==v[g]){const y=l.concat([g]);m.push({op:t,path:y,value:f(w[g])}),h.push({op:t,path:y,value:f(v[g])})}for(let g=v.length;g<w.length;g++){const y=l.concat([g]);m.push({op:r,path:y,value:f(w[g])})}for(let g=w.length-1;v.length<=g;--g){const y=l.concat([g]);h.push({op:n,path:y})}}function a(d,l,m,h){const{base_:v,copy_:b}=d;Rr(d.assigned_,(w,g)=>{const y=gi(v,w),E=gi(b,w),C=g?Ar(v,w)?t:r:n;if(y===E&&C===t)return;const S=l.concat(w);m.push(C===n?{op:C,path:S}:{op:C,path:S,value:E}),h.push(C===r?{op:n,path:S}:C===n?{op:r,path:S,value:f(y)}:{op:t,path:S,value:f(y)})})}function s(d,l,m,h){let{base_:v,copy_:b}=d,w=0;v.forEach(g=>{if(!b.has(g)){const y=l.concat([w]);m.push({op:n,path:y,value:g}),h.unshift({op:r,path:y,value:g})}w++}),w=0,b.forEach(g=>{if(!v.has(g)){const y=l.concat([w]);m.push({op:r,path:y,value:g}),h.unshift({op:n,path:y,value:g})}w++})}function c(d,l,m,h){m.push({op:t,path:[],value:l===Vo?void 0:l}),h.push({op:t,path:[],value:d})}function u(d,l){return l.forEach(m=>{const{path:h,op:v}=m;let b=d;for(let E=0;E<h.length-1;E++){const C=yt(b);let S=h[E];typeof S!="string"&&typeof S!="number"&&(S=""+S),(C===0||C===1)&&(S==="__proto__"||S==="constructor")&&se(19),typeof b=="function"&&S==="prototype"&&se(19),b=gi(b,S),typeof b!="object"&&se(18,h.join("/"))}const w=yt(b),g=p(m.value),y=h[h.length-1];switch(v){case t:switch(w){case 2:return b.set(y,g);case 3:se(16);default:return b[y]=g}case r:switch(w){case 1:return y==="-"?b.push(g):b.splice(y,0,g);case 2:return b.set(y,g);case 3:return b.add(g);default:return b[y]=g}case n:switch(w){case 1:return b.splice(y,1);case 2:return b.delete(y);case 3:return b.delete(m.value);default:return delete b[y]}default:se(17,v)}}),d}function p(d){if(!Pe(d))return d;if(Array.isArray(d))return d.map(p);if(jr(d))return new Map(Array.from(d.entries()).map(([m,h])=>[m,p(h)]));if(zr(d))return new Set(Array.from(d).map(p));const l=Object.create(gt(d));for(const m in d)l[m]=p(d[m]);return Ar(d,mr)&&(l[mr]=d[mr]),l}function f(d){return Oe(d)?p(d):d}Pf("Patches",{applyPatches_:u,generatePatches_:i,generateReplacementPatches_:c})}var _e=new Ff,Hr=_e.produce,hu=_e.produceWithPatches.bind(_e);_e.setAutoFreeze.bind(_e);_e.setUseStrictShallowCopy.bind(_e);var ss=_e.applyPatches.bind(_e);_e.createDraft.bind(_e);_e.finishDraft.bind(_e);function Bf(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function $f(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function Uf(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(r=>typeof r=="function")){const r=e.map(n=>typeof n=="function"?`function ${n.name||"unnamed"}()`:typeof n).join(", ");throw new TypeError(`${t}[${r}]`)}}var cs=e=>Array.isArray(e)?e:[e];function jf(e){const t=Array.isArray(e[0])?e[0]:e;return Uf(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function zf(e,t){const r=[],{length:n}=e;for(let i=0;i<n;i++)r.push(e[i].apply(null,t));return r}var Hf=class{constructor(e){this.value=e}deref(){return this.value}},qf=typeof WeakRef<"u"?WeakRef:Hf,Wf=0,us=1;function rn(){return{s:Wf,v:void 0,o:null,p:null}}function Ir(e,t={}){let r=rn();const{resultEqualityCheck:n}=t;let i,o=0;function a(){var f;let s=r;const{length:c}=arguments;for(let d=0,l=c;d<l;d++){const m=arguments[d];if(typeof m=="function"||typeof m=="object"&&m!==null){let h=s.o;h===null&&(s.o=h=new WeakMap);const v=h.get(m);v===void 0?(s=rn(),h.set(m,s)):s=v}else{let h=s.p;h===null&&(s.p=h=new Map);const v=h.get(m);v===void 0?(s=rn(),h.set(m,s)):s=v}}const u=s;let p;if(s.s===us?p=s.v:(p=e.apply(null,arguments),o++),u.s=us,n){const d=((f=i==null?void 0:i.deref)==null?void 0:f.call(i))??i;d!=null&&n(d,p)&&(p=d,o!==0&&o--),i=typeof p=="object"&&p!==null||typeof p=="function"?new qf(p):p}return u.v=p,p}return a.clearCache=()=>{r=rn(),a.resetResultsCount()},a.resultsCount=()=>o,a.resetResultsCount=()=>{o=0},a}function vu(e,...t){const r=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,n=(...i)=>{let o=0,a=0,s,c={},u=i.pop();typeof u=="object"&&(c=u,u=i.pop()),Bf(u,`createSelector expects an output function after the inputs, but received: [${typeof u}]`);const p={...r,...c},{memoize:f,memoizeOptions:d=[],argsMemoize:l=Ir,argsMemoizeOptions:m=[],devModeChecks:h={}}=p,v=cs(d),b=cs(m),w=jf(i),g=f(function(){return o++,u.apply(null,arguments)},...v),y=l(function(){a++;const C=zf(w,arguments);return s=g.apply(null,C),s},...b);return Object.assign(y,{resultFunc:u,memoizedResultFunc:g,dependencies:w,dependencyRecomputations:()=>a,resetDependencyRecomputations:()=>{a=0},lastResult:()=>s,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:f,argsMemoize:l})};return Object.assign(n,{withTypes:()=>n}),n}var Dt=vu(Ir),Vf=Object.assign((e,t=Dt)=>{$f(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const r=Object.keys(e),n=r.map(o=>e[o]);return t(n,(...o)=>o.reduce((a,s,c)=>(a[r[c]]=s,a),{}))},{withTypes:()=>Vf});function gu(e){return({dispatch:r,getState:n})=>i=>o=>typeof o=="function"?o(r,n,e):i(o)}var Gf=gu(),Qf=gu,Yf=(...e)=>{const t=vu(...e);return(...r)=>{const n=t(...r),i=(o,...a)=>n(Oe(o)?pu(o):o,...a);return Object.assign(i,n),i}};Yf(Ir);var Kf=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Rn:Rn.apply(null,arguments)},Jf=e=>e&&typeof e.match=="function";function pe(e,t){function r(...n){if(t){let i=t(...n);if(!i)throw new Error(ke(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:n[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=n=>cu(n)&&n.type===e,r}var yu=class ur extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,ur.prototype)}static get[Symbol.species](){return ur}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new ur(...t[0].concat(this)):new ur(...t.concat(this))}};function ls(e){return Pe(e)?Hr(e,()=>{}):e}function ds(e,t,r){if(e.has(t)){let i=e.get(t);return r.update&&(i=r.update(i,t,e),e.set(t,i)),i}if(!r.insert)throw new Error(ke(10));const n=r.insert(t,e);return e.set(t,n),n}function Xf(e){return typeof e=="boolean"}var Zf=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t??{};let a=new yu;return r&&(Xf(r)?a.push(Gf):a.push(Qf(r.extraArgument))),a},It="RTK_autoBatch",or=()=>e=>({payload:e,meta:{[It]:!0}}),bu=e=>t=>{setTimeout(t,e)},ep=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:bu(10),tp=(e={type:"raf"})=>t=>(...r)=>{const n=t(...r);let i=!0,o=!1,a=!1;const s=new Set,c=e.type==="tick"?queueMicrotask:e.type==="raf"?ep:e.type==="callback"?e.queueNotification:bu(e.timeout),u=()=>{a=!1,o&&(o=!1,s.forEach(p=>p()))};return Object.assign({},n,{subscribe(p){const f=()=>i&&p(),d=n.subscribe(f);return s.add(p),()=>{d(),s.delete(p)}},dispatch(p){var f;try{return i=!((f=p==null?void 0:p.meta)!=null&&f[It]),o=!i,o&&(a||(a=!0,c(u))),n.dispatch(p)}finally{i=!0}}})},rp=e=>function(r){const{autoBatch:n=!0}=r??{};let i=new yu(e);return n&&i.push(tp(typeof n=="object"?n:void 0)),i},np=!0;function ip(e){const t=Zf(),{reducer:r=void 0,middleware:n,devTools:i=!0,preloadedState:o=void 0,enhancers:a=void 0}=e||{};let s;if(typeof r=="function")s=r;else if(ze(r))s=su(r);else throw new Error(ke(1));let c;typeof n=="function"?c=n(t):c=t();let u=Rn;i&&(u=Kf({trace:!np,...typeof i=="object"&&i}));const p=kf(...c),f=rp(p);let d=typeof a=="function"?a(f):f();const l=u(...d);return au(s,o,l)}function wu(e){const t={},r=[];let n;const i={addCase(o,a){const s=typeof o=="string"?o:o.type;if(!s)throw new Error(ke(28));if(s in t)throw new Error(ke(29));return t[s]=a,i},addMatcher(o,a){return r.push({matcher:o,reducer:a}),i},addDefaultCase(o){return n=o,i}};return e(i),[t,r,n]}function op(e){return typeof e=="function"}function ap(e,t){let[r,n,i]=wu(t),o;if(op(e))o=()=>ls(e());else{const s=ls(e);o=()=>s}function a(s=o(),c){let u=[r[c.type],...n.filter(({matcher:p})=>p(c)).map(({reducer:p})=>p)];return u.filter(p=>!!p).length===0&&(u=[i]),u.reduce((p,f)=>{if(f)if(Oe(p)){const l=f(p,c);return l===void 0?p:l}else{if(Pe(p))return Hr(p,d=>f(d,c));{const d=f(p,c);if(d===void 0){if(p===null)return p;throw new Error(ke(9))}return d}}return p},s)}return a.getInitialState=o,a}var sp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",_u=(e=21)=>{let t="",r=e;for(;r--;)t+=sp[Math.random()*64|0];return t},Su=(e,t)=>Jf(e)?e.match(t):e(t);function rt(...e){return t=>e.some(r=>Su(r,t))}function hr(...e){return t=>e.every(r=>Su(r,t))}function ii(e,t){if(!e||!e.meta)return!1;const r=typeof e.meta.requestId=="string",n=t.indexOf(e.meta.requestStatus)>-1;return r&&n}function qr(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function Yo(...e){return e.length===0?t=>ii(t,["pending"]):qr(e)?t=>{const r=e.map(i=>i.pending);return rt(...r)(t)}:Yo()(e[0])}function zt(...e){return e.length===0?t=>ii(t,["rejected"]):qr(e)?t=>{const r=e.map(i=>i.rejected);return rt(...r)(t)}:zt()(e[0])}function oi(...e){const t=r=>r&&r.meta&&r.meta.rejectedWithValue;return e.length===0?r=>hr(zt(...e),t)(r):qr(e)?r=>hr(zt(...e),t)(r):oi()(e[0])}function nt(...e){return e.length===0?t=>ii(t,["fulfilled"]):qr(e)?t=>{const r=e.map(i=>i.fulfilled);return rt(...r)(t)}:nt()(e[0])}function Ji(...e){return e.length===0?t=>ii(t,["pending","fulfilled","rejected"]):qr(e)?t=>{const r=[];for(const i of e)r.push(i.pending,i.rejected,i.fulfilled);return rt(...r)(t)}:Ji()(e[0])}var cp=["name","message","stack","code"],wi=class{constructor(e,t){fi(this,"_type");this.payload=e,this.meta=t}},fs=class{constructor(e,t){fi(this,"_type");this.payload=e,this.meta=t}},up=e=>{if(typeof e=="object"&&e!==null){const t={};for(const r of cp)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},ps=(()=>{function e(t,r,n){const i=pe(t+"/fulfilled",(c,u,p,f)=>({payload:c,meta:{...f||{},arg:p,requestId:u,requestStatus:"fulfilled"}})),o=pe(t+"/pending",(c,u,p)=>({payload:void 0,meta:{...p||{},arg:u,requestId:c,requestStatus:"pending"}})),a=pe(t+"/rejected",(c,u,p,f,d)=>({payload:f,error:(n&&n.serializeError||up)(c||"Rejected"),meta:{...d||{},arg:p,requestId:u,rejectedWithValue:!!f,requestStatus:"rejected",aborted:(c==null?void 0:c.name)==="AbortError",condition:(c==null?void 0:c.name)==="ConditionError"}}));function s(c){return(u,p,f)=>{const d=n!=null&&n.idGenerator?n.idGenerator(c):_u(),l=new AbortController;let m;function h(b){m=b,l.abort()}const v=async function(){var g,y;let b;try{let E=(g=n==null?void 0:n.condition)==null?void 0:g.call(n,c,{getState:p,extra:f});if(dp(E)&&(E=await E),E===!1||l.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const C=new Promise((S,x)=>l.signal.addEventListener("abort",()=>x({name:"AbortError",message:m||"Aborted"})));u(o(d,c,(y=n==null?void 0:n.getPendingMeta)==null?void 0:y.call(n,{requestId:d,arg:c},{getState:p,extra:f}))),b=await Promise.race([C,Promise.resolve(r(c,{dispatch:u,getState:p,extra:f,requestId:d,signal:l.signal,abort:h,rejectWithValue:(S,x)=>new wi(S,x),fulfillWithValue:(S,x)=>new fs(S,x)})).then(S=>{if(S instanceof wi)throw S;return S instanceof fs?i(S.payload,d,c,S.meta):i(S,d,c)})])}catch(E){b=E instanceof wi?a(null,d,c,E.payload,E.meta):a(E,d,c)}return n&&!n.dispatchConditionRejection&&a.match(b)&&b.meta.condition||u(b),b}();return Object.assign(v,{abort:h,requestId:d,arg:c,unwrap(){return v.then(lp)}})}}return Object.assign(s,{pending:o,rejected:a,fulfilled:i,settled:rt(a,i),typePrefix:t})}return e.withTypes=()=>e,e})();function lp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function dp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var fp=Symbol.for("rtk-slice-createasyncthunk");function pp(e,t){return`${e}/${t}`}function mp({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[fp];return function(i){const{name:o,reducerPath:a=o}=i;if(!o)throw new Error(ke(11));typeof process<"u";const s=(typeof i.reducers=="function"?i.reducers(vp()):i.reducers)||{},c=Object.keys(s),u={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},p={addCase(v,b){const w=typeof v=="string"?v:v.type;if(!w)throw new Error(ke(12));if(w in u.sliceCaseReducersByType)throw new Error(ke(13));return u.sliceCaseReducersByType[w]=b,p},addMatcher(v,b){return u.sliceMatchers.push({matcher:v,reducer:b}),p},exposeAction(v,b){return u.actionCreators[v]=b,p},exposeCaseReducer(v,b){return u.sliceCaseReducersByName[v]=b,p}};c.forEach(v=>{const b=s[v],w={reducerName:v,type:pp(o,v),createNotation:typeof i.reducers=="function"};yp(b)?wp(w,b,p,t):gp(w,b,p)});function f(){const[v={},b=[],w=void 0]=typeof i.extraReducers=="function"?wu(i.extraReducers):[i.extraReducers],g={...v,...u.sliceCaseReducersByType};return ap(i.initialState,y=>{for(let E in g)y.addCase(E,g[E]);for(let E of u.sliceMatchers)y.addMatcher(E.matcher,E.reducer);for(let E of b)y.addMatcher(E.matcher,E.reducer);w&&y.addDefaultCase(w)})}const d=v=>v,l=new WeakMap;let m;const h={name:o,reducerPath:a,reducer(v,b){return m||(m=f()),m(v,b)},actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState(){return m||(m=f()),m.getInitialState()},getSelectors(v=d){const b=ds(l,this,{insert:()=>new WeakMap});return ds(b,v,{insert:()=>{const w={};for(const[g,y]of Object.entries(i.selectors??{}))w[g]=hp(this,y,v,this!==h);return w}})},selectSlice(v){let b=v[this.reducerPath];return typeof b>"u"&&this!==h&&(b=this.getInitialState()),b},get selectors(){return this.getSelectors(this.selectSlice)},injectInto(v,{reducerPath:b,...w}={}){const g=b??this.reducerPath;return v.inject({reducerPath:g,reducer:this.reducer},w),{...this,reducerPath:g}}};return h}}function hp(e,t,r,n){function i(o,...a){let s=r.call(e,o);return typeof s>"u"&&n&&(s=e.getInitialState()),t(s,...a)}return i.unwrapped=t,i}var qe=mp();function vp(){function e(t,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...r}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...r){return t(...r)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,r){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:r}},asyncThunk:e}}function gp({type:e,reducerName:t,createNotation:r},n,i){let o,a;if("reducer"in n){if(r&&!bp(n))throw new Error(ke(17));o=n.reducer,a=n.prepare}else o=n;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,a?pe(e,a):pe(e))}function yp(e){return e._reducerDefinitionType==="asyncThunk"}function bp(e){return e._reducerDefinitionType==="reducerWithPrepare"}function wp({type:e,reducerName:t},r,n,i){if(!i)throw new Error(ke(18));const{payloadCreator:o,fulfilled:a,pending:s,rejected:c,settled:u,options:p}=r,f=i(e,o,p);n.exposeAction(t,f),a&&n.addCase(f.fulfilled,a),s&&n.addCase(f.pending,s),c&&n.addCase(f.rejected,c),u&&n.addMatcher(f.settled,u),n.exposeCaseReducer(t,{fulfilled:a||nn,pending:s||nn,rejected:c||nn,settled:u||nn})}function nn(){}var Ko="listenerMiddleware";pe(`${Ko}/add`);pe(`${Ko}/removeAll`);pe(`${Ko}/remove`);function ke(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Eu=(e=>(e.uninitialized="uninitialized",e.pending="pending",e.fulfilled="fulfilled",e.rejected="rejected",e))(Eu||{});function _p(e){return{status:e,isUninitialized:e==="uninitialized",isLoading:e==="pending",isSuccess:e==="fulfilled",isError:e==="rejected"}}function Sp(e){return new RegExp("(^|:)//").test(e)}var Ep=e=>e.replace(/\/$/,""),Cp=e=>e.replace(/^\//,"");function xp(e,t){if(!e)return t;if(!t)return e;if(Sp(t))return t;const r=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=Ep(e),t=Cp(t),`${e}${r}${t}`}var ms=e=>[].concat(...e);function kp(){return typeof navigator>"u"||navigator.onLine===void 0?!0:navigator.onLine}function Tp(){return typeof document>"u"?!0:document.visibilityState!=="hidden"}var hs=ze;function Cu(e,t){if(e===t||!(hs(e)&&hs(t)||Array.isArray(e)&&Array.isArray(t)))return t;const r=Object.keys(t),n=Object.keys(e);let i=r.length===n.length;const o=Array.isArray(t)?[]:{};for(const a of r)o[a]=Cu(e[a],t[a]),i&&(i=e[a]===o[a]);return i?e:o}var vs=(...e)=>fetch(...e),Rp=e=>e.status>=200&&e.status<=299,Ap=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function gs(e){if(!ze(e))return e;const t={...e};for(const[r,n]of Object.entries(t))n===void 0&&delete t[r];return t}function Op({baseUrl:e,prepareHeaders:t=f=>f,fetchFn:r=vs,paramsSerializer:n,isJsonContentType:i=Ap,jsonContentType:o="application/json",jsonReplacer:a,timeout:s,responseHandler:c,validateStatus:u,...p}={}){return typeof fetch>"u"&&r===vs&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),async(d,l)=>{const{signal:m,getState:h,extra:v,endpoint:b,forced:w,type:g}=l;let y,{url:E,headers:C=new Headers(p.headers),params:S=void 0,responseHandler:x=c??"json",validateStatus:k=u??Rp,timeout:T=s,...O}=typeof d=="string"?{url:d}:d,A={...p,signal:m,...O};C=new Headers(gs(C)),A.headers=await t(C,{getState:h,extra:v,endpoint:b,forced:w,type:g})||C;const I=U=>typeof U=="object"&&(ze(U)||Array.isArray(U)||typeof U.toJSON=="function");if(!A.headers.has("content-type")&&I(A.body)&&A.headers.set("content-type",o),I(A.body)&&i(A.headers)&&(A.body=JSON.stringify(A.body,a)),S){const U=~E.indexOf("?")?"&":"?",Ee=n?n(S):new URLSearchParams(gs(S));E+=U+Ee}E=xp(e,E);const N=new Request(E,A);y={request:new Request(E,A)};let J,$=!1,B=T&&setTimeout(()=>{$=!0,l.abort()},T);try{J=await r(N)}catch(U){return{error:{status:$?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(U)},meta:y}}finally{B&&clearTimeout(B)}const ne=J.clone();y.response=ne;let X,ge="";try{let U;if(await Promise.all([f(J,x).then(Ee=>X=Ee,Ee=>U=Ee),ne.text().then(Ee=>ge=Ee,()=>{})]),U)throw U}catch(U){return{error:{status:"PARSING_ERROR",originalStatus:J.status,data:ge,error:String(U)},meta:y}}return k(J,X)?{data:X,meta:y}:{error:{status:J.status,data:X},meta:y}};async function f(d,l){if(typeof l=="function")return l(d);if(l==="content-type"&&(l=i(d.headers)?"json":"text"),l==="json"){const m=await d.text();return m.length?JSON.parse(m):null}return d.text()}}var ys=class{constructor(e,t=void 0){this.value=e,this.meta=t}},Jo=pe("__rtkq/focused"),xu=pe("__rtkq/unfocused"),Xo=pe("__rtkq/online"),ku=pe("__rtkq/offline");function Tu(e){return e.type==="query"}function Pp(e){return e.type==="mutation"}function Zo(e,t,r,n,i,o){return Ip(e)?e(t,r,n,i).map(Xi).map(o):Array.isArray(e)?e.map(Xi).map(o):[]}function Ip(e){return typeof e=="function"}function Xi(e){return typeof e=="string"?{type:e}:e}function bs(e){return e!=null}function Bt(e){let t=0;for(const r in e)t++;return t}var Lr=Symbol("forceQueryFn"),Zi=e=>typeof e[Lr]=="function";function Lp({serializeQueryArgs:e,queryThunk:t,mutationThunk:r,api:n,context:i}){const o=new Map,a=new Map,{unsubscribeQueryResult:s,removeMutationResult:c,updateSubscriptionOptions:u}=n.internalActions;return{buildInitiateQuery:m,buildInitiateMutation:h,getRunningQueryThunk:p,getRunningMutationThunk:f,getRunningQueriesThunk:d,getRunningMutationsThunk:l};function p(v,b){return w=>{var E;const g=i.endpointDefinitions[v],y=e({queryArgs:b,endpointDefinition:g,endpointName:v});return(E=o.get(w))==null?void 0:E[y]}}function f(v,b){return w=>{var g;return(g=a.get(w))==null?void 0:g[b]}}function d(){return v=>Object.values(o.get(v)||{}).filter(bs)}function l(){return v=>Object.values(a.get(v)||{}).filter(bs)}function m(v,b){const w=(g,{subscribe:y=!0,forceRefetch:E,subscriptionOptions:C,[Lr]:S}={})=>(x,k)=>{var ge;const T=e({queryArgs:g,endpointDefinition:b,endpointName:v}),O=t({type:"query",subscribe:y,forceRefetch:E,subscriptionOptions:C,endpointName:v,originalArgs:g,queryCacheKey:T,[Lr]:S}),A=n.endpoints[v].select(g),I=x(O),N=A(k()),{requestId:Y,abort:J}=I,$=N.requestId!==Y,B=(ge=o.get(x))==null?void 0:ge[T],ne=()=>A(k()),X=Object.assign(S?I.then(ne):$&&!B?Promise.resolve(N):Promise.all([B,I]).then(ne),{arg:g,requestId:Y,subscriptionOptions:C,queryCacheKey:T,abort:J,async unwrap(){const U=await X;if(U.isError)throw U.error;return U.data},refetch:()=>x(w(g,{subscribe:!1,forceRefetch:!0})),unsubscribe(){y&&x(s({queryCacheKey:T,requestId:Y}))},updateSubscriptionOptions(U){X.subscriptionOptions=U,x(u({endpointName:v,requestId:Y,queryCacheKey:T,options:U}))}});if(!B&&!$&&!S){const U=o.get(x)||{};U[T]=X,o.set(x,U),X.then(()=>{delete U[T],Bt(U)||o.delete(x)})}return X};return w}function h(v){return(b,{track:w=!0,fixedCacheKey:g}={})=>(y,E)=>{const C=r({type:"mutation",endpointName:v,originalArgs:b,track:w,fixedCacheKey:g}),S=y(C),{requestId:x,abort:k,unwrap:T}=S,O=S.unwrap().then(Y=>({data:Y})).catch(Y=>({error:Y})),A=()=>{y(c({requestId:x,fixedCacheKey:g}))},I=Object.assign(O,{arg:S.arg,requestId:x,abort:k,unwrap:T,reset:A}),N=a.get(y)||{};return a.set(y,N),N[x]=I,I.then(()=>{delete N[x],Bt(N)||a.delete(y)}),g&&(N[g]=I,I.then(()=>{N[g]===I&&(delete N[g],Bt(N)||a.delete(y))})),I}}}function ws(e){return e}function Np({reducerPath:e,baseQuery:t,context:{endpointDefinitions:r},serializeQueryArgs:n,api:i,assertTagType:o}){const a=(w,g,y,E)=>(C,S)=>{const x=r[w],k=n({queryArgs:g,endpointDefinition:x,endpointName:w});if(C(i.internalActions.queryResultPatched({queryCacheKey:k,patches:y})),!E)return;const T=i.endpoints[w].select(g)(S()),O=Zo(x.providesTags,T.data,void 0,g,{},o);C(i.internalActions.updateProvidedBy({queryCacheKey:k,providedTags:O}))},s=(w,g,y,E=!0)=>(C,S)=>{const k=i.endpoints[w].select(g)(S());let T={patches:[],inversePatches:[],undo:()=>C(i.util.patchQueryData(w,g,T.inversePatches,E))};if(k.status==="uninitialized")return T;let O;if("data"in k)if(Pe(k.data)){const[A,I,N]=hu(k.data,y);T.patches.push(...I),T.inversePatches.push(...N),O=A}else O=y(k.data),T.patches.push({op:"replace",path:[],value:O}),T.inversePatches.push({op:"replace",path:[],value:k.data});return C(i.util.patchQueryData(w,g,T.patches,E)),T},c=(w,g,y)=>E=>E(i.endpoints[w].initiate(g,{subscribe:!1,forceRefetch:!0,[Lr]:()=>({data:y})})),u=async(w,{signal:g,abort:y,rejectWithValue:E,fulfillWithValue:C,dispatch:S,getState:x,extra:k})=>{const T=r[w.endpointName];try{let O=ws,A;const I={signal:g,abort:y,dispatch:S,getState:x,extra:k,endpoint:w.endpointName,type:w.type,forced:w.type==="query"?p(w,x()):void 0},N=w.type==="query"?w[Lr]:void 0;if(N?A=N():T.query?(A=await t(T.query(w.originalArgs),I,T.extraOptions),T.transformResponse&&(O=T.transformResponse)):A=await T.queryFn(w.originalArgs,I,T.extraOptions,Y=>t(Y,I,T.extraOptions)),typeof process<"u",A.error)throw new ys(A.error,A.meta);return C(await O(A.data,A.meta,w.originalArgs),{fulfilledTimeStamp:Date.now(),baseQueryMeta:A.meta,[It]:!0})}catch(O){let A=O;if(A instanceof ys){let I=ws;T.query&&T.transformErrorResponse&&(I=T.transformErrorResponse);try{return E(await I(A.value,A.meta,w.originalArgs),{baseQueryMeta:A.meta,[It]:!0})}catch(N){A=N}}throw typeof process<"u",console.error(A),A}};function p(w,g){var x,k,T;const y=(k=(x=g[e])==null?void 0:x.queries)==null?void 0:k[w.queryCacheKey],E=(T=g[e])==null?void 0:T.config.refetchOnMountOrArgChange,C=y==null?void 0:y.fulfilledTimeStamp,S=w.forceRefetch??(w.subscribe&&E);return S?S===!0||(Number(new Date)-Number(C))/1e3>=S:!1}const f=ps(`${e}/executeQuery`,u,{getPendingMeta(){return{startedTimeStamp:Date.now(),[It]:!0}},condition(w,{getState:g}){var T,O,A;const y=g(),E=(O=(T=y[e])==null?void 0:T.queries)==null?void 0:O[w.queryCacheKey],C=E==null?void 0:E.fulfilledTimeStamp,S=w.originalArgs,x=E==null?void 0:E.originalArgs,k=r[w.endpointName];return Zi(w)?!0:(E==null?void 0:E.status)==="pending"?!1:p(w,y)||Tu(k)&&((A=k==null?void 0:k.forceRefetch)!=null&&A.call(k,{currentArg:S,previousArg:x,endpointState:E,state:y}))?!0:!C},dispatchConditionRejection:!0}),d=ps(`${e}/executeMutation`,u,{getPendingMeta(){return{startedTimeStamp:Date.now(),[It]:!0}}}),l=w=>"force"in w,m=w=>"ifOlderThan"in w,h=(w,g,y)=>(E,C)=>{const S=l(y)&&y.force,x=m(y)&&y.ifOlderThan,k=(O=!0)=>i.endpoints[w].initiate(g,{forceRefetch:O}),T=i.endpoints[w].select(g)(C());if(S)E(k());else if(x){const O=T==null?void 0:T.fulfilledTimeStamp;if(!O){E(k());return}(Number(new Date)-Number(new Date(O)))/1e3>=x&&E(k())}else E(k(!1))};function v(w){return g=>{var y,E;return((E=(y=g==null?void 0:g.meta)==null?void 0:y.arg)==null?void 0:E.endpointName)===w}}function b(w,g){return{matchPending:hr(Yo(w),v(g)),matchFulfilled:hr(nt(w),v(g)),matchRejected:hr(zt(w),v(g))}}return{queryThunk:f,mutationThunk:d,prefetch:h,updateQueryData:s,upsertQueryData:c,patchQueryData:a,buildMatchThunkActions:b}}function Ru(e,t,r,n){return Zo(r[e.meta.arg.endpointName][t],nt(e)?e.payload:void 0,oi(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,n)}function on(e,t,r){const n=e[t];n&&r(n)}function Nr(e){return("arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)??e.requestId}function _s(e,t,r){const n=e[Nr(t)];n&&r(n)}var ar={};function Mp({reducerPath:e,queryThunk:t,mutationThunk:r,context:{endpointDefinitions:n,apiUid:i,extractRehydrationInfo:o,hasRehydrationInfo:a},assertTagType:s,config:c}){const u=pe(`${e}/resetApiState`),p=qe({name:`${e}/queries`,initialState:ar,reducers:{removeQueryResult:{reducer(g,{payload:{queryCacheKey:y}}){delete g[y]},prepare:or()},queryResultPatched:{reducer(g,{payload:{queryCacheKey:y,patches:E}}){on(g,y,C=>{C.data=ss(C.data,E.concat())})},prepare:or()}},extraReducers(g){g.addCase(t.pending,(y,{meta:E,meta:{arg:C}})=>{var x;const S=Zi(C);y[x=C.queryCacheKey]??(y[x]={status:"uninitialized",endpointName:C.endpointName}),on(y,C.queryCacheKey,k=>{k.status="pending",k.requestId=S&&k.requestId?k.requestId:E.requestId,C.originalArgs!==void 0&&(k.originalArgs=C.originalArgs),k.startedTimeStamp=E.startedTimeStamp})}).addCase(t.fulfilled,(y,{meta:E,payload:C})=>{on(y,E.arg.queryCacheKey,S=>{if(S.requestId!==E.requestId&&!Zi(E.arg))return;const{merge:x}=n[E.arg.endpointName];if(S.status="fulfilled",x)if(S.data!==void 0){const{fulfilledTimeStamp:k,arg:T,baseQueryMeta:O,requestId:A}=E;let I=Hr(S.data,N=>x(N,C,{arg:T.originalArgs,baseQueryMeta:O,fulfilledTimeStamp:k,requestId:A}));S.data=I}else S.data=C;else S.data=n[E.arg.endpointName].structuralSharing??!0?Cu(Oe(S.data)?Rf(S.data):S.data,C):C;delete S.error,S.fulfilledTimeStamp=E.fulfilledTimeStamp})}).addCase(t.rejected,(y,{meta:{condition:E,arg:C,requestId:S},error:x,payload:k})=>{on(y,C.queryCacheKey,T=>{if(!E){if(T.requestId!==S)return;T.status="rejected",T.error=k??x}})}).addMatcher(a,(y,E)=>{const{queries:C}=o(E);for(const[S,x]of Object.entries(C))((x==null?void 0:x.status)==="fulfilled"||(x==null?void 0:x.status)==="rejected")&&(y[S]=x)})}}),f=qe({name:`${e}/mutations`,initialState:ar,reducers:{removeMutationResult:{reducer(g,{payload:y}){const E=Nr(y);E in g&&delete g[E]},prepare:or()}},extraReducers(g){g.addCase(r.pending,(y,{meta:E,meta:{requestId:C,arg:S,startedTimeStamp:x}})=>{S.track&&(y[Nr(E)]={requestId:C,status:"pending",endpointName:S.endpointName,startedTimeStamp:x})}).addCase(r.fulfilled,(y,{payload:E,meta:C})=>{C.arg.track&&_s(y,C,S=>{S.requestId===C.requestId&&(S.status="fulfilled",S.data=E,S.fulfilledTimeStamp=C.fulfilledTimeStamp)})}).addCase(r.rejected,(y,{payload:E,error:C,meta:S})=>{S.arg.track&&_s(y,S,x=>{x.requestId===S.requestId&&(x.status="rejected",x.error=E??C)})}).addMatcher(a,(y,E)=>{const{mutations:C}=o(E);for(const[S,x]of Object.entries(C))((x==null?void 0:x.status)==="fulfilled"||(x==null?void 0:x.status)==="rejected")&&S!==(x==null?void 0:x.requestId)&&(y[S]=x)})}}),d=qe({name:`${e}/invalidation`,initialState:ar,reducers:{updateProvidedBy:{reducer(g,y){var S,x;const{queryCacheKey:E,providedTags:C}=y.payload;for(const k of Object.values(g))for(const T of Object.values(k)){const O=T.indexOf(E);O!==-1&&T.splice(O,1)}for(const{type:k,id:T}of C){const O=(S=g[k]??(g[k]={}))[x=T||"__internal_without_id"]??(S[x]=[]);O.includes(E)||O.push(E)}},prepare:or()}},extraReducers(g){g.addCase(p.actions.removeQueryResult,(y,{payload:{queryCacheKey:E}})=>{for(const C of Object.values(y))for(const S of Object.values(C)){const x=S.indexOf(E);x!==-1&&S.splice(x,1)}}).addMatcher(a,(y,E)=>{var S,x;const{provided:C}=o(E);for(const[k,T]of Object.entries(C))for(const[O,A]of Object.entries(T)){const I=(S=y[k]??(y[k]={}))[x=O||"__internal_without_id"]??(S[x]=[]);for(const N of A)I.includes(N)||I.push(N)}}).addMatcher(rt(nt(t),oi(t)),(y,E)=>{const C=Ru(E,"providesTags",n,s),{queryCacheKey:S}=E.meta.arg;d.caseReducers.updateProvidedBy(y,d.actions.updateProvidedBy({queryCacheKey:S,providedTags:C}))})}}),l=qe({name:`${e}/subscriptions`,initialState:ar,reducers:{updateSubscriptionOptions(g,y){},unsubscribeQueryResult(g,y){},internal_getRTKQSubscriptions(){}}}),m=qe({name:`${e}/internalSubscriptions`,initialState:ar,reducers:{subscriptionsUpdated:{reducer(g,y){return ss(g,y.payload)},prepare:or()}}}),h=qe({name:`${e}/config`,initialState:{online:kp(),focused:Tp(),middlewareRegistered:!1,...c},reducers:{middlewareRegistered(g,{payload:y}){g.middlewareRegistered=g.middlewareRegistered==="conflict"||i!==y?"conflict":!0}},extraReducers:g=>{g.addCase(Xo,y=>{y.online=!0}).addCase(ku,y=>{y.online=!1}).addCase(Jo,y=>{y.focused=!0}).addCase(xu,y=>{y.focused=!1}).addMatcher(a,y=>({...y}))}}),v=su({queries:p.reducer,mutations:f.reducer,provided:d.reducer,subscriptions:m.reducer,config:h.reducer}),b=(g,y)=>v(u.match(y)?void 0:g,y),w={...h.actions,...p.actions,...l.actions,...m.actions,...f.actions,...d.actions,resetApiState:u};return{reducer:b,actions:w}}var ft=Symbol.for("RTKQ/skipToken"),Au={status:"uninitialized"},Ss=Hr(Au,()=>{}),Es=Hr(Au,()=>{});function Fp({serializeQueryArgs:e,reducerPath:t}){const r=p=>Ss,n=p=>Es;return{buildQuerySelector:a,buildMutationSelector:s,selectInvalidatedBy:c,selectCachedArgsForQuery:u};function i(p){return{...p,..._p(p.status)}}function o(p){return p[t]}function a(p,f){return d=>{const l=e({queryArgs:d,endpointDefinition:f,endpointName:p});return Dt(d===ft?r:v=>{var b,w;return((w=(b=o(v))==null?void 0:b.queries)==null?void 0:w[l])??Ss},i)}}function s(){return p=>{let f;return typeof p=="object"?f=Nr(p)??ft:f=p,Dt(f===ft?n:m=>{var h,v;return((v=(h=o(m))==null?void 0:h.mutations)==null?void 0:v[f])??Es},i)}}function c(p,f){const d=p[t],l=new Set;for(const m of f.map(Xi)){const h=d.provided[m.type];if(!h)continue;let v=(m.id!==void 0?h[m.id]:ms(Object.values(h)))??[];for(const b of v)l.add(b)}return ms(Array.from(l.values()).map(m=>{const h=d.queries[m];return h?[{queryCacheKey:m,endpointName:h.endpointName,originalArgs:h.originalArgs}]:[]}))}function u(p,f){return Object.values(p[t].queries).filter(d=>(d==null?void 0:d.endpointName)===f&&d.status!=="uninitialized").map(d=>d.originalArgs)}}var Tt=WeakMap?new WeakMap:void 0,Cs=({endpointName:e,queryArgs:t})=>{let r="";const n=Tt==null?void 0:Tt.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,a)=>ze(a)?Object.keys(a).sort().reduce((s,c)=>(s[c]=a[c],s),{}):a);ze(t)&&(Tt==null||Tt.set(t,i)),r=i}return`${e}(${r})`};function Dp(...e){return function(r){const n=Ir(u=>{var p;return(p=r.extractRehydrationInfo)==null?void 0:p.call(r,u,{reducerPath:r.reducerPath??"api"})}),i={reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1,invalidationBehavior:"delayed",...r,extractRehydrationInfo:n,serializeQueryArgs(u){let p=Cs;if("serializeQueryArgs"in u.endpointDefinition){const f=u.endpointDefinition.serializeQueryArgs;p=d=>{const l=f(d);return typeof l=="string"?l:Cs({...d,queryArgs:l})}}else r.serializeQueryArgs&&(p=r.serializeQueryArgs);return p(u)},tagTypes:[...r.tagTypes||[]]},o={endpointDefinitions:{},batch(u){u()},apiUid:_u(),extractRehydrationInfo:n,hasRehydrationInfo:Ir(u=>n(u)!=null)},a={injectEndpoints:c,enhanceEndpoints({addTagTypes:u,endpoints:p}){if(u)for(const f of u)i.tagTypes.includes(f)||i.tagTypes.push(f);if(p)for(const[f,d]of Object.entries(p))typeof d=="function"?d(o.endpointDefinitions[f]):Object.assign(o.endpointDefinitions[f]||{},d);return a}},s=e.map(u=>u.init(a,i,o));function c(u){const p=u.endpoints({query:f=>({...f,type:"query"}),mutation:f=>({...f,type:"mutation"})});for(const[f,d]of Object.entries(p)){if(!u.overrideExisting&&f in o.endpointDefinitions){typeof process<"u";continue}o.endpointDefinitions[f]=d;for(const l of s)l.injectEndpoint(f,d)}return a}return a.injectEndpoints({endpoints:r.endpoints})}}function Bp(e){for(let t in e)return!1;return!0}var $p=2147483647/1e3-1,Up=({reducerPath:e,api:t,context:r,internalState:n})=>{const{removeQueryResult:i,unsubscribeQueryResult:o}=t.internalActions;function a(p){const f=n.currentSubscriptions[p];return!!f&&!Bp(f)}const s={},c=(p,f,d)=>{var l;if(o.match(p)){const m=f.getState()[e],{queryCacheKey:h}=p.payload;u(h,(l=m.queries[h])==null?void 0:l.endpointName,f,m.config)}if(t.util.resetApiState.match(p))for(const[m,h]of Object.entries(s))h&&clearTimeout(h),delete s[m];if(r.hasRehydrationInfo(p)){const m=f.getState()[e],{queries:h}=r.extractRehydrationInfo(p);for(const[v,b]of Object.entries(h))u(v,b==null?void 0:b.endpointName,f,m.config)}};function u(p,f,d,l){const m=r.endpointDefinitions[f],h=(m==null?void 0:m.keepUnusedDataFor)??l.keepUnusedDataFor;if(h===1/0)return;const v=Math.max(0,Math.min(h,$p));if(!a(p)){const b=s[p];b&&clearTimeout(b),s[p]=setTimeout(()=>{a(p)||d.dispatch(i({queryCacheKey:p})),delete s[p]},v*1e3)}}return c},jp=({reducerPath:e,context:t,context:{endpointDefinitions:r},mutationThunk:n,queryThunk:i,api:o,assertTagType:a,refetchQuery:s,internalState:c})=>{const{removeQueryResult:u}=o.internalActions,p=rt(nt(n),oi(n)),f=rt(nt(n,i),zt(n,i));let d=[];const l=(v,b)=>{p(v)?h(Ru(v,"invalidatesTags",r,a),b):f(v)?h([],b):o.util.invalidateTags.match(v)&&h(Zo(v.payload,void 0,void 0,void 0,void 0,a),b)};function m(v){var b,w;for(const g in v.queries)if(((b=v.queries[g])==null?void 0:b.status)==="pending")return!0;for(const g in v.mutations)if(((w=v.mutations[g])==null?void 0:w.status)==="pending")return!0;return!1}function h(v,b){const w=b.getState(),g=w[e];if(d.push(...v),g.config.invalidationBehavior==="delayed"&&m(g))return;const y=d;if(d=[],y.length===0)return;const E=o.util.selectInvalidatedBy(w,y);t.batch(()=>{const C=Array.from(E.values());for(const{queryCacheKey:S}of C){const x=g.queries[S],k=c.currentSubscriptions[S]??{};x&&(Bt(k)===0?b.dispatch(u({queryCacheKey:S})):x.status!=="uninitialized"&&b.dispatch(s(x,S)))}})}return l},zp=({reducerPath:e,queryThunk:t,api:r,refetchQuery:n,internalState:i})=>{const o={},a=(d,l)=>{(r.internalActions.updateSubscriptionOptions.match(d)||r.internalActions.unsubscribeQueryResult.match(d))&&c(d.payload,l),(t.pending.match(d)||t.rejected.match(d)&&d.meta.condition)&&c(d.meta.arg,l),(t.fulfilled.match(d)||t.rejected.match(d)&&!d.meta.condition)&&s(d.meta.arg,l),r.util.resetApiState.match(d)&&p()};function s({queryCacheKey:d},l){const h=l.getState()[e].queries[d],v=i.currentSubscriptions[d];if(!h||h.status==="uninitialized")return;const b=f(v);if(!Number.isFinite(b))return;const w=o[d];w!=null&&w.timeout&&(clearTimeout(w.timeout),w.timeout=void 0);const g=Date.now()+b,y=o[d]={nextPollTimestamp:g,pollingInterval:b,timeout:setTimeout(()=>{y.timeout=void 0,l.dispatch(n(h,d))},b)}}function c({queryCacheKey:d},l){const h=l.getState()[e].queries[d],v=i.currentSubscriptions[d];if(!h||h.status==="uninitialized")return;const b=f(v);if(!Number.isFinite(b)){u(d);return}const w=o[d],g=Date.now()+b;(!w||g<w.nextPollTimestamp)&&s({queryCacheKey:d},l)}function u(d){const l=o[d];l!=null&&l.timeout&&clearTimeout(l.timeout),delete o[d]}function p(){for(const d of Object.keys(o))u(d)}function f(d={}){let l=Number.POSITIVE_INFINITY;for(let m in d)d[m].pollingInterval&&(l=Math.min(d[m].pollingInterval,l));return l}return a},Hp=({reducerPath:e,context:t,api:r,refetchQuery:n,internalState:i})=>{const{removeQueryResult:o}=r.internalActions,a=(c,u)=>{Jo.match(c)&&s(u,"refetchOnFocus"),Xo.match(c)&&s(u,"refetchOnReconnect")};function s(c,u){const p=c.getState()[e],f=p.queries,d=i.currentSubscriptions;t.batch(()=>{for(const l of Object.keys(d)){const m=f[l],h=d[l];if(!h||!m)continue;(Object.values(h).some(b=>b[u]===!0)||Object.values(h).every(b=>b[u]===void 0)&&p.config[u])&&(Bt(h)===0?c.dispatch(o({queryCacheKey:l})):m.status!=="uninitialized"&&c.dispatch(n(m,l)))}})}return a},xs=new Error("Promise never resolved before cacheEntryRemoved."),qp=({api:e,reducerPath:t,context:r,queryThunk:n,mutationThunk:i,internalState:o})=>{const a=Ji(n),s=Ji(i),c=nt(n,i),u={},p=(l,m,h)=>{const v=f(l);if(n.pending.match(l)){const b=h[t].queries[v],w=m.getState()[t].queries[v];!b&&w&&d(l.meta.arg.endpointName,l.meta.arg.originalArgs,v,m,l.meta.requestId)}else if(i.pending.match(l))m.getState()[t].mutations[v]&&d(l.meta.arg.endpointName,l.meta.arg.originalArgs,v,m,l.meta.requestId);else if(c(l)){const b=u[v];b!=null&&b.valueResolved&&(b.valueResolved({data:l.payload,meta:l.meta.baseQueryMeta}),delete b.valueResolved)}else if(e.internalActions.removeQueryResult.match(l)||e.internalActions.removeMutationResult.match(l)){const b=u[v];b&&(delete u[v],b.cacheEntryRemoved())}else if(e.util.resetApiState.match(l))for(const[b,w]of Object.entries(u))delete u[b],w.cacheEntryRemoved()};function f(l){return a(l)?l.meta.arg.queryCacheKey:s(l)?l.meta.requestId:e.internalActions.removeQueryResult.match(l)?l.payload.queryCacheKey:e.internalActions.removeMutationResult.match(l)?Nr(l.payload):""}function d(l,m,h,v,b){const w=r.endpointDefinitions[l],g=w==null?void 0:w.onCacheEntryAdded;if(!g)return;let y={};const E=new Promise(O=>{y.cacheEntryRemoved=O}),C=Promise.race([new Promise(O=>{y.valueResolved=O}),E.then(()=>{throw xs})]);C.catch(()=>{}),u[h]=y;const S=e.endpoints[l].select(w.type==="query"?m:h),x=v.dispatch((O,A,I)=>I),k={...v,getCacheEntry:()=>S(v.getState()),requestId:b,extra:x,updateCachedData:w.type==="query"?O=>v.dispatch(e.util.updateQueryData(l,m,O)):void 0,cacheDataLoaded:C,cacheEntryRemoved:E},T=g(m,k);Promise.resolve(T).catch(O=>{if(O!==xs)throw O})}return p},Wp=({api:e,context:t,queryThunk:r,mutationThunk:n})=>{const i=Yo(r,n),o=zt(r,n),a=nt(r,n),s={};return(u,p)=>{var f,d;if(i(u)){const{requestId:l,arg:{endpointName:m,originalArgs:h}}=u.meta,v=t.endpointDefinitions[m],b=v==null?void 0:v.onQueryStarted;if(b){const w={},g=new Promise((S,x)=>{w.resolve=S,w.reject=x});g.catch(()=>{}),s[l]=w;const y=e.endpoints[m].select(v.type==="query"?h:l),E=p.dispatch((S,x,k)=>k),C={...p,getCacheEntry:()=>y(p.getState()),requestId:l,extra:E,updateCachedData:v.type==="query"?S=>p.dispatch(e.util.updateQueryData(m,h,S)):void 0,queryFulfilled:g};b(h,C)}}else if(a(u)){const{requestId:l,baseQueryMeta:m}=u.meta;(f=s[l])==null||f.resolve({data:u.payload,meta:m}),delete s[l]}else if(o(u)){const{requestId:l,rejectedWithValue:m,baseQueryMeta:h}=u.meta;(d=s[l])==null||d.reject({error:u.payload??u.error,isUnhandledError:!m,meta:h}),delete s[l]}}},Vp=({api:e,context:{apiUid:t},reducerPath:r})=>(n,i)=>{e.util.resetApiState.match(n)&&i.dispatch(e.internalActions.middlewareRegistered(t)),typeof process<"u"},Gp=({api:e,queryThunk:t,internalState:r})=>{const n=`${e.reducerPath}/subscriptions`;let i=null,o=null;const{updateSubscriptionOptions:a,unsubscribeQueryResult:s}=e.internalActions,c=(l,m)=>{var v,b,w;if(a.match(m)){const{queryCacheKey:g,requestId:y,options:E}=m.payload;return(v=l==null?void 0:l[g])!=null&&v[y]&&(l[g][y]=E),!0}if(s.match(m)){const{queryCacheKey:g,requestId:y}=m.payload;return l[g]&&delete l[g][y],!0}if(e.internalActions.removeQueryResult.match(m))return delete l[m.payload.queryCacheKey],!0;if(t.pending.match(m)){const{meta:{arg:g,requestId:y}}=m,E=l[b=g.queryCacheKey]??(l[b]={});return E[`${y}_running`]={},g.subscribe&&(E[y]=g.subscriptionOptions??E[y]??{}),!0}let h=!1;if(t.fulfilled.match(m)||t.rejected.match(m)){const g=l[m.meta.arg.queryCacheKey]||{},y=`${m.meta.requestId}_running`;h||(h=!!g[y]),delete g[y]}if(t.rejected.match(m)){const{meta:{condition:g,arg:y,requestId:E}}=m;if(g&&y.subscribe){const C=l[w=y.queryCacheKey]??(l[w]={});C[E]=y.subscriptionOptions??C[E]??{},h=!0}}return h},u=()=>r.currentSubscriptions,d={getSubscriptions:u,getSubscriptionCount:l=>{const h=u()[l]??{};return Bt(h)},isRequestSubscribed:(l,m)=>{var v;const h=u();return!!((v=h==null?void 0:h[l])!=null&&v[m])}};return(l,m)=>{if(i||(i=JSON.parse(JSON.stringify(r.currentSubscriptions))),e.util.resetApiState.match(l))return i=r.currentSubscriptions={},o=null,[!0,!1];if(e.internalActions.internal_getRTKQSubscriptions.match(l))return[!1,d];const h=c(r.currentSubscriptions,l);let v=!0;if(h){o||(o=setTimeout(()=>{const g=JSON.parse(JSON.stringify(r.currentSubscriptions)),[,y]=hu(i,()=>g);m.next(e.internalActions.subscriptionsUpdated(y)),i=g,o=null},500));const b=typeof l.type=="string"&&!!l.type.startsWith(n),w=t.rejected.match(l)&&l.meta.condition&&!!l.meta.arg.subscribe;v=!b&&!w}return[v,!1]}};function Qp(e){const{reducerPath:t,queryThunk:r,api:n,context:i}=e,{apiUid:o}=i,a={invalidateTags:pe(`${t}/invalidateTags`)},s=f=>f.type.startsWith(`${t}/`),c=[Vp,Up,jp,zp,qp,Wp];return{middleware:f=>{let d=!1;const m={...e,internalState:{currentSubscriptions:{}},refetchQuery:p,isThisApiSliceAction:s},h=c.map(w=>w(m)),v=Gp(m),b=Hp(m);return w=>g=>{if(!cu(g))return w(g);d||(d=!0,f.dispatch(n.internalActions.middlewareRegistered(o)));const y={...f,next:w},E=f.getState(),[C,S]=v(g,y,E);let x;if(C?x=w(g):x=S,f.getState()[t]&&(b(g,y,E),s(g)||i.hasRehydrationInfo(g)))for(let k of h)k(g,y,E);return x}},actions:a};function p(f,d,l={}){return r({type:"query",endpointName:f.endpointName,originalArgs:f.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:d,...l})}}function Ze(e,...t){return Object.assign(e,...t)}var ks=Symbol(),Yp=()=>({name:ks,init(e,{baseQuery:t,tagTypes:r,reducerPath:n,serializeQueryArgs:i,keepUnusedDataFor:o,refetchOnMountOrArgChange:a,refetchOnFocus:s,refetchOnReconnect:c,invalidationBehavior:u},p){Df();const f=$=>(typeof process<"u",$);Object.assign(e,{reducerPath:n,endpoints:{},internalActions:{onOnline:Xo,onOffline:ku,onFocus:Jo,onFocusLost:xu},util:{}});const{queryThunk:d,mutationThunk:l,patchQueryData:m,updateQueryData:h,upsertQueryData:v,prefetch:b,buildMatchThunkActions:w}=Np({baseQuery:t,reducerPath:n,context:p,api:e,serializeQueryArgs:i,assertTagType:f}),{reducer:g,actions:y}=Mp({context:p,queryThunk:d,mutationThunk:l,reducerPath:n,assertTagType:f,config:{refetchOnFocus:s,refetchOnReconnect:c,refetchOnMountOrArgChange:a,keepUnusedDataFor:o,reducerPath:n,invalidationBehavior:u}});Ze(e.util,{patchQueryData:m,updateQueryData:h,upsertQueryData:v,prefetch:b,resetApiState:y.resetApiState}),Ze(e.internalActions,y);const{middleware:E,actions:C}=Qp({reducerPath:n,context:p,queryThunk:d,mutationThunk:l,api:e,assertTagType:f});Ze(e.util,C),Ze(e,{reducer:g,middleware:E});const{buildQuerySelector:S,buildMutationSelector:x,selectInvalidatedBy:k,selectCachedArgsForQuery:T}=Fp({serializeQueryArgs:i,reducerPath:n});Ze(e.util,{selectInvalidatedBy:k,selectCachedArgsForQuery:T});const{buildInitiateQuery:O,buildInitiateMutation:A,getRunningMutationThunk:I,getRunningMutationsThunk:N,getRunningQueriesThunk:Y,getRunningQueryThunk:J}=Lp({queryThunk:d,mutationThunk:l,api:e,serializeQueryArgs:i,context:p});return Ze(e.util,{getRunningMutationThunk:I,getRunningMutationsThunk:N,getRunningQueryThunk:J,getRunningQueriesThunk:Y}),{name:ks,injectEndpoint($,B){var X;const ne=e;(X=ne.endpoints)[$]??(X[$]={}),Tu(B)?Ze(ne.endpoints[$],{name:$,select:S($,B),initiate:O($,B)},w(d,$)):Pp(B)&&Ze(ne.endpoints[$],{name:$,select:x(),initiate:A($)},w(l,$))}}}}),Ou={exports:{}},Pu={};const Kp=Vd(Cr);/**
9
9
  * @license React
10
10
  * use-sync-external-store-with-selector.production.min.js
11
11
  *
@@ -13,13 +13,13 @@ var ol=Object.defineProperty;var al=(e,t,r)=>t in e?ol(e,t,{enumerable:!0,config
13
13
  *
14
14
  * This source code is licensed under the MIT license found in the
15
15
  * LICENSE file in the root directory of this source tree.
16
- */var Or=pp;function mp(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var hp=typeof Object.is=="function"?Object.is:mp,vp=Or.useSyncExternalStore,gp=Or.useRef,yp=Or.useEffect,bp=Or.useMemo,_p=Or.useDebugValue;Zc.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var o=gp(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=bp(function(){function c(f){if(!u){if(u=!0,d=f,f=n(f),i!==void 0&&a.hasValue){var g=a.value;if(i(g,f))return l=g}return l=f}if(g=l,hp(d,f))return g;var _=n(f);return i!==void 0&&i(g,_)?g:(d=f,l=_)}var u=!1,d,l,p=r===void 0?null:r;return[function(){return c(t())},p===null?void 0:function(){return c(p())}]},[t,r,n,i]);var s=vp(e,o[0],o[1]);return yp(function(){a.hasValue=!0,a.value=s},[s]),_p(s),s};Xc.exports=Zc;var wp=Xc.exports,de="default"in ur?sc:ur,Ya=Symbol.for("react-redux-context"),Ka=typeof globalThis<"u"?globalThis:{};function Sp(){if(!de.createContext)return{};const e=Ka[Ya]??(Ka[Ya]=new Map);let t=e.get(de.createContext);return t||(t=de.createContext(null),e.set(de.createContext,t)),t}var Ve=Sp(),Cp=()=>{throw new Error("uSES not initialized!")};function Oo(e=Ve){return function(){return de.useContext(e)}}var eu=Oo(),tu=Cp,Ep=e=>{tu=e},xp=(e,t)=>e===t;function kp(e=Ve){const t=e===Ve?eu:Oo(e);return function(n,i={}){const{equalityFn:o=xp,devModeChecks:a={}}=typeof i=="function"?{equalityFn:i}:i,{store:s,subscription:c,getServerState:u,stabilityCheck:d,identityFunctionCheck:l}=t();de.useRef(!0);const p=de.useCallback({[n.name](g){return n(g)}}[n.name],[n,d,a.stabilityCheck]),f=tu(c.addNestedSub,s.getState,u||s.getState,p,o);return de.useDebugValue(f),f}}var ru=kp();function nu(e){e()}function Tp(){let e=null,t=null;return{clear(){e=null,t=null},notify(){nu(()=>{let r=e;for(;r;)r.callback(),r=r.next})},get(){let r=[],n=e;for(;n;)r.push(n),n=n.next;return r},subscribe(r){let n=!0,i=t={callback:r,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!n||e===null||(n=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var Ja={notify(){},get:()=>[]};function Rp(e,t){let r,n=Ja,i=0,o=!1;function a(_){d();const y=n.subscribe(_);let h=!1;return()=>{h||(h=!0,y(),l())}}function s(){n.notify()}function c(){g.onStateChange&&g.onStateChange()}function u(){return o}function d(){i++,r||(r=t?t.addNestedSub(c):e.subscribe(c),n=Tp())}function l(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=Ja)}function p(){o||(o=!0,d())}function f(){o&&(o=!1,l())}const g={addNestedSub:a,notifyNestedSubs:s,handleChangeWrapper:c,isSubscribed:u,trySubscribe:p,tryUnsubscribe:f,getListeners:()=>n};return g}var Ap=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Op=Ap?de.useLayoutEffect:de.useEffect;function Xa(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function fn(e,t){if(Xa(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let i=0;i<r.length;i++)if(!Object.prototype.hasOwnProperty.call(t,r[i])||!Xa(e[r[i]],t[r[i]]))return!1;return!0}function Ip({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const a=de.useMemo(()=>{const u=Rp(e);return{store:e,subscription:u,getServerState:n?()=>n:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,n,i,o]),s=de.useMemo(()=>e.getState(),[e]);Op(()=>{const{subscription:u}=a;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),s!==e.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[a,s]);const c=t||Ve;return de.createElement(c.Provider,{value:a},r)}var Pp=Ip;function iu(e=Ve){const t=e===Ve?eu:Oo(e);return function(){const{store:n}=t();return n}}var ou=iu();function Lp(e=Ve){const t=e===Ve?ou:iu(e);return function(){return t().dispatch}}var au=Lp(),Np=nu;Ep(wp.useSyncExternalStoreWithSelector);function Za(e,t,r,n){const i=ie(()=>({queryArgs:e,serialized:typeof e=="object"?t({queryArgs:e,endpointDefinition:r,endpointName:n}):e}),[e,t,r,n]),o=ve(i);return G(()=>{o.current.serialized!==i.serialized&&(o.current=i)},[i]),o.current.serialized===i.serialized?o.current.queryArgs:e}var Jn=Symbol();function Xn(e){const t=ve(e);return G(()=>{fn(t.current,e)||(t.current=e)},[e]),fn(t.current,e)?t.current:e}var gt=WeakMap?new WeakMap:void 0,Mp=({endpointName:e,queryArgs:t})=>{let r="";const n=gt==null?void 0:gt.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,a)=>Pe(a)?Object.keys(a).sort().reduce((s,c)=>(s[c]=a[c],s),{}):a);Pe(t)&&(gt==null||gt.set(t,i)),r=i}return`${e}(${r})`},Fp=typeof window<"u"&&window.document&&window.document.createElement?dt:G,Dp=e=>e.isUninitialized?{...e,isUninitialized:!1,isFetching:!0,isLoading:e.data===void 0,status:qc.pending}:e;function $p({api:e,moduleOptions:{batch:t,hooks:{useDispatch:r,useSelector:n,useStore:i},unstable__sideEffectsInRender:o},serializeQueryArgs:a,context:s}){const c=o?f=>f():G;return{buildQueryHooks:l,buildMutationHook:p,usePrefetch:d};function u(f,g,_){if(g!=null&&g.endpointName&&f.isUninitialized){const{endpointName:C}=g,E=s.endpointDefinitions[C];a({queryArgs:g.originalArgs,endpointDefinition:E,endpointName:C})===a({queryArgs:_,endpointDefinition:E,endpointName:C})&&(g=void 0)}let y=f.isSuccess?f.data:g==null?void 0:g.data;y===void 0&&(y=f.data);const h=y!==void 0,b=f.isLoading,m=!h&&b,w=f.isSuccess||b&&h;return{...f,data:y,currentData:f.data,isFetching:b,isLoading:m,isSuccess:w}}function d(f,g){const _=r(),y=Xn(g);return bt((h,b)=>_(e.util.prefetch(f,h,{...y,...b})),[f,_,y])}function l(f){const g=(h,{refetchOnReconnect:b,refetchOnFocus:m,refetchOnMountOrArgChange:w,skip:C=!1,pollingInterval:E=0}={})=>{const{initiate:S}=e.endpoints[f],x=r(),k=ve();if(!k.current){const M=x(e.internalActions.internal_getRTKQSubscriptions());k.current=M}const T=Za(C?rt:h,Mp,s.endpointDefinitions[f],f),O=Xn({refetchOnReconnect:b,refetchOnFocus:m,pollingInterval:E}),A=ve(!1),P=ve();let{queryCacheKey:N,requestId:H}=P.current||{},J=!1;N&&H&&(J=k.current.isRequestSubscribed(N,H));const U=!J&&A.current;return c(()=>{A.current=J}),c(()=>{U&&(P.current=void 0)},[U]),c(()=>{var Q;const M=P.current;if(typeof process<"u",T===rt){M==null||M.unsubscribe(),P.current=void 0;return}const ae=(Q=P.current)==null?void 0:Q.subscriptionOptions;if(!M||M.arg!==T){M==null||M.unsubscribe();const xe=x(S(T,{subscriptionOptions:O,forceRefetch:w}));P.current=xe}else O!==ae&&M.updateSubscriptionOptions(O)},[x,S,w,T,O,U]),G(()=>()=>{var M;(M=P.current)==null||M.unsubscribe(),P.current=void 0},[]),ie(()=>({refetch:()=>{var M;if(!P.current)throw new Error(ye(38));return(M=P.current)==null?void 0:M.refetch()}}),[])},_=({refetchOnReconnect:h,refetchOnFocus:b,pollingInterval:m=0}={})=>{const{initiate:w}=e.endpoints[f],C=r(),[E,S]=Ie(Jn),x=ve(),k=Xn({refetchOnReconnect:h,refetchOnFocus:b,pollingInterval:m});c(()=>{var P,N;const A=(P=x.current)==null?void 0:P.subscriptionOptions;k!==A&&((N=x.current)==null||N.updateSubscriptionOptions(k))},[k]);const T=ve(k);c(()=>{T.current=k},[k]);const O=bt(function(A,P=!1){let N;return t(()=>{var H;(H=x.current)==null||H.unsubscribe(),x.current=N=C(w(A,{subscriptionOptions:T.current,forceRefetch:!P})),S(A)}),N},[C,w]);return G(()=>()=>{var A;(A=x==null?void 0:x.current)==null||A.unsubscribe()},[]),G(()=>{E!==Jn&&!x.current&&O(E,!0)},[E,O]),ie(()=>[O,E],[O,E])},y=(h,{skip:b=!1,selectFromResult:m}={})=>{const{select:w}=e.endpoints[f],C=Za(b?rt:h,a,s.endpointDefinitions[f],f),E=ve(),S=ie(()=>kt([w(C),(A,P)=>P,A=>C],u),[w,C]),x=ie(()=>m?kt([S],m,{devModeChecks:{identityFunctionCheck:"never"}}):S,[S,m]),k=n(A=>x(A,E.current),fn),T=i(),O=S(T.getState(),E.current);return Fp(()=>{E.current=O},[O]),k};return{useQueryState:y,useQuerySubscription:g,useLazyQuerySubscription:_,useLazyQuery(h){const[b,m]=_(h),w=y(m,{...h,skip:m===Jn}),C=ie(()=>({lastArg:m}),[m]);return ie(()=>[b,w,C],[b,w,C])},useQuery(h,b){const m=g(h,b),w=y(h,{selectFromResult:h===rt||b!=null&&b.skip?void 0:Dp,...b}),{data:C,status:E,isLoading:S,isSuccess:x,isError:k,error:T}=w;return rn({data:C,status:E,isLoading:S,isSuccess:x,isError:k,error:T}),ie(()=>({...w,...m}),[w,m])}}}function p(f){return({selectFromResult:g,fixedCacheKey:_}={})=>{const{select:y,initiate:h}=e.endpoints[f],b=r(),[m,w]=Ie();G(()=>()=>{m!=null&&m.arg.fixedCacheKey||m==null||m.reset()},[m]);const C=bt(function(Q){const xe=b(h(Q,{fixedCacheKey:_}));return w(xe),xe},[b,h,_]),{requestId:E}=m||{},S=ie(()=>y({fixedCacheKey:_,requestId:m==null?void 0:m.requestId}),[_,m,y]),x=ie(()=>g?kt([S],g):S,[g,S]),k=n(x,fn),T=_==null?m==null?void 0:m.arg.originalArgs:void 0,O=bt(()=>{t(()=>{m&&w(void 0),_&&b(e.internalActions.removeMutationResult({requestId:E,fixedCacheKey:_}))})},[b,_,m,E]),{endpointName:A,data:P,status:N,isLoading:H,isSuccess:J,isError:U,error:M}=k;rn({endpointName:A,data:P,status:N,isLoading:H,isSuccess:J,isError:U,error:M});const ae=ie(()=>({...k,originalArgs:T,reset:O}),[k,T,O]);return ie(()=>[C,ae],[C,ae])}}}function Bp(e){return e.type==="query"}function Up(e){return e.type==="mutation"}function Zn(e){return e.replace(e[0],e[0].toUpperCase())}function Ur(e,...t){return Object.assign(e,...t)}var jp=Symbol(),zp=({batch:e=Np,hooks:t={useDispatch:au,useSelector:ru,useStore:ou},unstable__sideEffectsInRender:r=!1,...n}={})=>({name:jp,init(i,{serializeQueryArgs:o},a){const s=i,{buildQueryHooks:c,buildMutationHook:u,usePrefetch:d}=$p({api:i,moduleOptions:{batch:e,hooks:t,unstable__sideEffectsInRender:r},serializeQueryArgs:o,context:a});return Ur(s,{usePrefetch:d}),Ur(a,{batch:e}),{injectEndpoint(l,p){if(Bp(p)){const{useQuery:f,useLazyQuery:g,useLazyQuerySubscription:_,useQueryState:y,useQuerySubscription:h}=c(l);Ur(s.endpoints[l],{useQuery:f,useLazyQuery:g,useLazyQuerySubscription:_,useQueryState:y,useQuerySubscription:h}),i[`use${Zn(l)}Query`]=f,i[`useLazy${Zn(l)}Query`]=g}else if(Up(p)){const f=u(l);Ur(s.endpoints[l],{useMutation:f}),i[`use${Zn(l)}Mutation`]=f}}}}}),su=ep(fp(),zp());const cu=async(e,t,r)=>{const n=t.getState().session.backendUrl;return Gf({baseUrl:n,prepareHeaders:(i,{getState:o})=>{const{session:a}=o();return i.set("Accept","application/json"),i.set("Authorization",`Bearer ${a.accessToken}`),i}})(e,t,r)},rr=su({baseQuery:cu,reducerPath:"segmentApi",endpoints:e=>({segmentIdentify:e.mutation({query:()=>({url:"super-campaign/backend/segment/identify",method:"POST"})}),segmentTrack:e.mutation({query:({event:t,properties:r})=>({url:"super-campaign/backend/segment/t",method:"POST",body:{event:t,properties:r}})}),segmentPage:e.mutation({query:({event:t,properties:r})=>({url:"super-campaign/backend/segment/p",method:"POST",body:{event:t,properties:r}})})})}),{useSegmentIdentifyMutation:Hp,useSegmentTrackMutation:mb,useSegmentPageMutation:hb}=rr,ot=su({baseQuery:cu,reducerPath:"backendApi",endpoints:e=>({campaignConnect:e.query({query:()=>({url:"super-campaign/backend/campaign-connect",method:"GET"}),keepUnusedDataFor:Number.MAX_SAFE_INTEGER})})}),{useLazyCampaignConnectQuery:Wp}=ot,qp={selectedVariants:{}},Ai=Le({name:"experimentsData",initialState:qp,reducers:{setExperiment:(e,t)=>{const{experimentName:r,selectedVariant:n}=t.payload;return e.selectedVariants[r]||(e.selectedVariants[r]=n),e}}}),{setExperiment:Vp}=Ai.actions,Oi=Le({name:"session",initialState:{},reducers:{setSession:(e,t)=>t.payload}}),{setSession:Gp}=Oi.actions,Ii=Le({name:"state",initialState:{},reducers:{setFunds:(e,t)=>{e.funds=t.payload},setSelectedFund:(e,t)=>{e.selectedFund={fundId:t.payload.fundId,iframeType:t.payload.iframeType,fundType:t.payload.fundType}},clearSelectedFund:e=>{e.selectedFund=void 0}}}),{setFunds:Qp,setSelectedFund:uu,clearSelectedFund:be}=Ii.actions,St=wf({reducer:{[Oi.name]:Oi.reducer,[ot.reducerPath]:ot.reducer,[rr.reducerPath]:rr.reducer,[Ii.reducerPath]:Ii.reducer,[Ai.reducerPath]:Ai.reducer},middleware:e=>e().concat(ot.middleware,rr.middleware)}),Ir=()=>au(),Ce=ru,Io=({fillWidth:e=!1,fillWidthOnMobile:t=!1,disabled:r=!1,onClick:n=void 0,children:i})=>{const[o,a]=Ie(0);return R("button",{css:[{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",fontSize:"1rem",lineHeight:"1.5rem"},{display:"inline-flex",alignItems:"center",justifyContent:"center",borderWidth:"1px",fontWeight:"500"},{borderRadius:"0.375rem","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)",":focus":{outline:"2px solid transparent",outlineOffset:"2px","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)"}},{pointerEvents:"auto",":focus":{"--tw-ring-color":"var(--fl-color-primary-focus)","--tw-ring-offset-width":"2px"}},{":disabled":{pointerEvents:"none","--tw-border-opacity":"1",borderColor:"rgb(209 213 219 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity))"}},{borderColor:"transparent",backgroundColor:"var(--fl-color-primary)","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))",":hover":{backgroundColor:"var(--fl-color-primary-hover)"}},(e||t)&&{width:"100%"},t&&{"@media (min-width: 640px)":{width:"auto"}}],disabled:r,onClick:async()=>{if(!(!n||o===1))try{a(1),await n(),a(0)}catch(c){throw a(2),c}},children:[o===1&&v($t,{size:16}),v("div",{css:[o===1&&{display:"none"}],children:i})]})},Po="32367272075001",Lo="slate",Ge=e=>{document.dispatchEvent(new CustomEvent(e.type,{detail:e}))},Pi=()=>{Ge({sender:"super-campaign",type:"choose-another-fund-requested"})},Yp=e=>{Ge({sender:"super-campaign",type:"fund-panel-shown",shownFunds:e.map(t=>({fundId:t.fundId,fundType:t.fundType}))})},Kp=e=>{Ge({sender:"super-campaign",type:"fund-tile-clicked",fundId:e.fundId,fundType:e.fundType,fundName:e.name,fundUsi:e.fundId===Lo?Po:void 0})},Y=e=>{Ge({sender:"super-campaign",type:"fund-pds-viewed",pageName:"Panel Fund Page",fundName:e.name,fundUsi:e.fundId===Lo?Po:void 0})},Jp=()=>{Ge({sender:"super-campaign",type:"disclaimer-accepted"})},Xp=()=>{Ge({sender:"super-campaign",type:"disclaimer-viewed"})},Ct=e=>{Ge({sender:"super-campaign",type:"promoted-fund-joined",fundJoinInfo:e})},Zp=()=>{Ge({sender:"super-campaign",type:"super-campaign-loaded"})};var ge={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},Ae=console,tt={};Object.keys(ge).forEach(function(e){tt[e]=Ae[e]});var Gt="Datadog Browser SDK:",te={debug:tt.debug.bind(Ae,Gt),log:tt.log.bind(Ae,Gt),info:tt.info.bind(Ae,Gt),warn:tt.warn.bind(Ae,Gt),error:tt.error.bind(Ae,Gt)};function lu(e,t){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];try{return e.apply(void 0,r)}catch(i){te.error(t,i)}}}var _r;(function(e){e.PAGEHIDE="pagehide",e.FEATURE_FLAGS="feature_flags",e.RESOURCE_PAGE_STATES="resource_page_states",e.COLLECT_FLUSH_REASON="collect_flush_reason",e.ZERO_LCP_TELEMETRY="zero_lcp_telemetry",e.DISABLE_REPLAY_INLINE_CSS="disable_replay_inline_css",e.WRITABLE_RESOURCE_GRAPHQL="writable_resource_graphql",e.CUSTOM_VITALS="custom_vitals"})(_r||(_r={}));var No=new Set;function em(e){e.forEach(function(t){No.add(t)})}function du(e){return No.has(e)}function tm(){return No}function Li(e){return e!==0&&Math.random()*100<=e}function ei(e){return rm(e)&&e>=0&&e<=100}function rm(e){return typeof e=="number"}var Pr=1e3,ft=60*Pr,nm=60*ft;function nr(){return new Date().getTime()}function Qe(){return nr()}function pn(){return performance.now()}function Bt(){return{relative:pn(),timeStamp:Qe()}}function im(){return{relative:0,timeStamp:fu()}}function om(e,t){return t-e}function am(e,t){return e+t}function sm(e){return e-fu()}var ti;function fu(){return ti===void 0&&(ti=performance.timing.navigationStart),ti}var $e=1024,pu=1024*$e,cm=/[^\u0000-\u007F]/;function Mo(e){return cm.test(e)?window.TextEncoder!==void 0?new TextEncoder().encode(e).length:new Blob([e]).size:e.length}function Ut(e,t){return e.indexOf(t)!==-1}function mu(e){if(Array.from)return Array.from(e);var t=[];if(e instanceof Set)e.forEach(function(n){return t.push(n)});else for(var r=0;r<e.length;r++)t.push(e[r]);return t}function um(e,t){for(var r=0;r<e.length;r+=1){var n=e[r];if(t(n,r))return n}}function Pt(e){return Object.keys(e).map(function(t){return e[t]})}function lm(e){return Object.keys(e).map(function(t){return[t,e[t]]})}function hu(e,t){return e.slice(0,t.length)===t}function dm(e,t){return e.slice(-t.length)===t}function le(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.forEach(function(n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}),e}function fm(e){return le({},e)}function es(e,t){return Object.keys(e).some(function(r){return e[r]===t})}function Fo(e){return Object.keys(e).length===0}function Ye(){if(typeof globalThis=="object")return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var e=_dd_temp_;return delete Object.prototype._dd_temp_,typeof e!="object"&&(typeof self=="object"?e=self:typeof window=="object"?e=window:e={}),e}function Lt(e,t){var r=Ye(),n;return r.Zone&&typeof r.Zone.__symbol__=="function"&&(n=e[r.Zone.__symbol__(t)]),n||(n=e[t]),n}var pm=function(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))},mn,vu=!1;function mm(e){mn=e}function hm(e){vu=e}function vm(e,t,r){var n=r.value;r.value=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var a=mn?$(n):n;return a.apply(this,i)}}function $(e){return function(){return wr(e,this,arguments)}}function wr(e,t,r){try{return e.apply(t,r)}catch(n){if(Ni(n),mn)try{mn(n)}catch(i){Ni(i)}}}function Ni(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];vu&&te.error.apply(te,pm(["[MONITOR]"],e,!1))}function Lr(e,t){return Lt(Ye(),"setTimeout")($(e),t)}function gu(e){Lt(Ye(),"clearTimeout")(e)}function Do(e,t){return Lt(Ye(),"setInterval")($(e),t)}function yu(e){Lt(Ye(),"clearInterval")(e)}var re=function(){function e(t){this.onFirstSubscribe=t,this.observers=[]}return e.prototype.subscribe=function(t){var r=this;return!this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0),this.observers.push(t),{unsubscribe:function(){r.observers=r.observers.filter(function(n){return t!==n}),!r.observers.length&&r.onLastUnsubscribe&&r.onLastUnsubscribe()}}},e.prototype.notify=function(t){this.observers.forEach(function(r){return r(t)})},e}();function bu(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new re(function(r){var n=e.map(function(i){return i.subscribe(function(o){return r.notify(o)})});return function(){return n.forEach(function(i){return i.unsubscribe()})}})}function _u(e,t,r){var n=r&&r.leading!==void 0?r.leading:!0,i=r&&r.trailing!==void 0?r.trailing:!0,o=!1,a,s;return{throttled:function(){for(var c=[],u=0;u<arguments.length;u++)c[u]=arguments[u];if(o){a=c;return}n?e.apply(void 0,c):a=c,o=!0,s=Lr(function(){i&&a&&e.apply(void 0,a),o=!1,a=void 0},t)},cancel:function(){gu(s),o=!1,a=void 0}}}function jt(){}function pt(e){return e?(parseInt(e,10)^Math.random()*16>>parseInt(e,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,pt)}var hn=/([\w-]+)\s*=\s*([^;]+)/g;function gm(e,t){for(hn.lastIndex=0;;){var r=hn.exec(e);if(r){if(r[1]===t)return r[2]}else break}}function ym(e){var t=new Map;for(hn.lastIndex=0;;){var r=hn.exec(e);if(r)t.set(r[1],r[2]);else break}return t}function bm(e,t,r){r===void 0&&(r="");var n=e.charCodeAt(t-1),i=n>=55296&&n<=56319,o=i?t+1:t;return e.length<=o?e:"".concat(e.slice(0,o)).concat(r)}var wu=4*nm,Su=15*ft;function _m(){return wm()===1}var jr;function wm(){return jr??(jr=Sm())}function Sm(e){var t;e===void 0&&(e=window);var r=e.navigator.userAgent;return e.chrome||/HeadlessChrome/.test(r)?1:((t=e.navigator.vendor)===null||t===void 0?void 0:t.indexOf("Apple"))===0||/safari/i.test(r)&&!/chrome|android/i.test(r)?2:e.document.documentMode?0:3}function jn(e,t,r,n){var i=new Date;i.setTime(i.getTime()+r);var o="expires=".concat(i.toUTCString()),a=n&&n.crossSite?"none":"strict",s=n&&n.domain?";domain=".concat(n.domain):"",c=n&&n.secure?";secure":"",u=n&&n.partitioned?";partitioned":"";document.cookie="".concat(e,"=").concat(t,";").concat(o,";path=/;samesite=").concat(a).concat(s).concat(c).concat(u)}function $o(e){return gm(document.cookie,e)}var ri;function nt(e){return ri||(ri=ym(document.cookie)),ri.get(e)}function Bo(e,t){jn(e,"",0,t)}function Cm(e){if(document.cookie===void 0||document.cookie===null)return!1;try{var t="dd_cookie_test_".concat(pt()),r="test";jn(t,r,ft,e);var n=$o(t)===r;return Bo(t,e),n}catch(i){return te.error(i),!1}}var ni;function Em(){if(ni===void 0){for(var e="dd_site_test_".concat(pt()),t="test",r=window.location.hostname.split("."),n=r.pop();r.length&&!$o(e);)n="".concat(r.pop(),".").concat(n),jn(e,t,Pr,{domain:n});Bo(e,{domain:n}),ni=n}return ni}var mt="_dd_s",Cu=/^([a-z]+)=([a-z0-9-]+)$/,Uo="&";function Mi(e){return Fo(e)}function Eu(e){e.expire=String(nr()+Su)}function xu(e){return lm(e).map(function(t){var r=t[0],n=t[1];return"".concat(r,"=").concat(n)}).join(Uo)}function ku(e){var t={};return xm(e)&&e.split(Uo).forEach(function(r){var n=Cu.exec(r);if(n!==null){var i=n[1],o=n[2];t[i]=o}}),t}function xm(e){return!!e&&(e.indexOf(Uo)!==-1||Cu.test(e))}var km="_dd",Tm="_dd_r",Rm="_dd_l",Am="rum",Om="logs";function Im(e){var t=nt(mt);if(!t){var r=nt(km),n=nt(Tm),i=nt(Rm),o={};r&&(o.id=r),i&&/^[01]$/.test(i)&&(o[Om]=i),n&&/^[012]$/.test(n)&&(o[Am]=n),Mi(o)||(Eu(o),e.persistSession(o))}}function Pm(e){var t=Dm(e);return Cm(t)?{type:"Cookie",cookieOptions:t}:void 0}function Lm(e){var t={isLockEnabled:_m(),persistSession:Nm(e),retrieveSession:Mm,clearSession:Fm(e)};return Im(t),t}function Nm(e){return function(t){jn(mt,xu(t),Su,e)}}function Mm(){var e=$o(mt);return ku(e)}function Fm(e){return function(){Bo(mt,e)}}function Dm(e){var t={};return t.secure=!!e.useSecureSessionCookie||!!e.usePartitionedCrossSiteSessionCookie||!!e.useCrossSiteSessionCookie,t.crossSite=!!e.usePartitionedCrossSiteSessionCookie||!!e.useCrossSiteSessionCookie,t.partitioned=!!e.usePartitionedCrossSiteSessionCookie,e.trackSessionAcrossSubdomains&&(t.domain=Em()),t}var $m="_dd_test_";function Bm(){try{var e=pt(),t="".concat($m).concat(e);localStorage.setItem(t,e);var r=localStorage.getItem(t);return localStorage.removeItem(t),e===r?{type:"LocalStorage"}:void 0}catch{return}}function Um(){return{isLockEnabled:!1,persistSession:jm,retrieveSession:zm,clearSession:Hm}}function jm(e){localStorage.setItem(mt,xu(e))}function zm(){var e=localStorage.getItem(mt);return ku(e)}function Hm(){localStorage.removeItem(mt)}var Wm=10,qm=100,Tu=[],Zr;function ir(e,t,r){var n;r===void 0&&(r=0);var i=t.isLockEnabled,o=t.retrieveSession,a=t.persistSession,s=t.clearSession;if(Zr||(Zr=e),e!==Zr){Tu.push(e);return}if(i&&r>=qm){ts(t);return}var c,u=o();if(i){if(u.lock){zr(e,t,r);return}if(c=pt(),u.lock=c,a(u),u=o(),u.lock!==c){zr(e,t,r);return}}var d=e.process(u);if(i&&(u=o(),u.lock!==c)){zr(e,t,r);return}if(d&&(Mi(d)?s():(Eu(d),a(d))),i&&!(d&&Mi(d))){if(u=o(),u.lock!==c){zr(e,t,r);return}delete u.lock,a(u),d=u}(n=e.after)===null||n===void 0||n.call(e,d||u),ts(t)}function zr(e,t,r){Lr(function(){ir(e,t,r+1)},Wm)}function ts(e){Zr=void 0;var t=Tu.shift();t&&ir(t,e)}var rs=Pr;function Vm(e){var t=Pm(e);return!t&&e.allowFallbackToLocalStorage&&(t=Bm()),t}function Gm(e,t,r){var n=new re,i=new re,o=e.type==="Cookie"?Lm(e.cookieOptions):Um(),a=o.clearSession,s=o.retrieveSession,c=Do(g,rs),u=C(),d=_u(function(){var S;ir({process:function(x){var k=_(x);return S=y(k),k},after:function(x){S&&!h()&&w(x),u=x}},o)},rs),l=d.throttled,p=d.cancel;function f(){ir({process:function(S){return h()?_(S):void 0}},o)}function g(){ir({process:function(S){return E(S)?void 0:{}},after:_},o)}function _(S){return E(S)||(S={}),h()&&(b(S)?m():u=S),S}function y(S){var x=r(S[t]),k=x.trackingType,T=x.isTracked;return S[t]=k,T&&!S.id&&(S.id=pt(),S.created=String(nr())),T}function h(){return u[t]!==void 0}function b(S){return u.id!==S.id||u[t]!==S[t]}function m(){u={},i.notify()}function w(S){u=S,n.notify()}function C(){var S=s();return E(S)?S:{}}function E(S){return(S.created===void 0||nr()-Number(S.created)<wu)&&(S.expire===void 0||nr()<Number(S.expire))}return{expandOrRenewSession:l,expandSession:f,getSession:function(){return u},renewObservable:n,expireObservable:i,expire:function(){p(),a(),_({})},stop:function(){yu(c)}}}var Fi={GRANTED:"granted",NOT_GRANTED:"not-granted"};function Qm(e){var t=new re;return{tryToInit:function(r){e||(e=r)},update:function(r){e=r,t.notify()},isGranted:function(){return e===Fi.GRANTED},observable:t}}function zt(e,t,r){if(typeof e!="object"||e===null)return JSON.stringify(e);var n=Et(Object.prototype),i=Et(Array.prototype),o=Et(Object.getPrototypeOf(e)),a=Et(e);try{return JSON.stringify(e,t,r)}catch{return"<error: unable to serialize object>"}finally{n(),i(),o(),a()}}function Et(e){var t=e,r=t.toJSON;return r?(delete t.toJSON,function(){t.toJSON=r}):jt}function jo(e){return Ym(e,location.href).href}function Ym(e,t){var r=Km();if(r)try{return t!==void 0?new r(e,t):new r(e)}catch(a){throw new Error("Failed to construct URL: ".concat(String(a)," ").concat(zt({url:e,base:t})))}if(t===void 0&&!/:/.test(e))throw new Error("Invalid URL: '".concat(e,"'"));var n=document,i=n.createElement("a");if(t!==void 0){n=document.implementation.createHTMLDocument("");var o=n.createElement("base");o.href=t,n.head.appendChild(o),n.body.appendChild(i)}return i.href=e,i}var ns=URL,Hr;function Km(){if(Hr===void 0)try{var e=new ns("http://test/path");Hr=e.href==="http://test/path"}catch{Hr=!1}return Hr?ns:void 0}var Jm="datad0g.com",Xm="dd0g-gov.com",or="datadoghq.com",Zm="ddog-gov.com";function ar(e,t,r){var n=eh(e,t);return{build:function(i,o){var a=rh(e,t,r,i,o);return n(a)},urlPrefix:n(""),trackType:t}}function eh(e,t){var r="/api/v2/".concat(t),n=e.proxy;if(typeof n=="string"){var i=jo(n);return function(a){return"".concat(i,"?ddforward=").concat(encodeURIComponent("".concat(r,"?").concat(a)))}}if(typeof n=="function")return function(a){return n({path:r,parameters:a})};var o=th(e);return function(a){return"https://".concat(o).concat(r,"?").concat(a)}}function th(e){var t=e.site,r=t===void 0?or:t,n=e.internalAnalyticsSubdomain;if(n&&r===or)return"".concat(n,".").concat(or);if(r===Xm)return"http-intake.logs.".concat(r);var i=r.split("."),o=i.pop();return"browser-intake-".concat(i.join("-"),".").concat(o)}function rh(e,t,r,n,i){var o=e.clientToken,a=e.internalAnalyticsSubdomain,s=i.retry,c=i.flushReason,u=i.encoding,d=["sdk_version:".concat("5.11.0"),"api:".concat(n)].concat(r);c&&du(_r.COLLECT_FLUSH_REASON)&&d.push("flush_reason:".concat(c)),s&&d.push("retry_count:".concat(s.count),"retry_after:".concat(s.lastFailureStatus));var l=["ddsource=browser","ddtags=".concat(encodeURIComponent(d.join(","))),"dd-api-key=".concat(o),"dd-evp-origin-version=".concat(encodeURIComponent("5.11.0")),"dd-evp-origin=browser","dd-request-id=".concat(pt())];return u&&l.push("dd-evp-encoding=".concat(u)),t==="rum"&&l.push("batch_time=".concat(Qe())),a&&l.reverse(),l.join("&")}var nh=200;function ih(e){var t=e.env,r=e.service,n=e.version,i=e.datacenter,o=[];return t&&o.push(Wr("env",t)),r&&o.push(Wr("service",r)),n&&o.push(Wr("version",n)),i&&o.push(Wr("datacenter",i)),o}var oh=/[^a-z0-9_:./-]/;function Wr(e,t){var r=nh-e.length-1;(t.length>r||oh.test(t))&&te.warn("".concat(e," value doesn't meet tag requirements and will be sanitized"));var n=t.replace(/,/g,"_");return"".concat(e,":").concat(n)}function ah(e){var t=ih(e),r=sh(e,t),n=Pt(r).map(function(o){return o.urlPrefix}),i=ch(e,n,t);return le({isIntakeUrl:function(o){return n.some(function(a){return o.indexOf(a)===0})},replica:i,site:e.site||or},r)}function sh(e,t){return{logsEndpointBuilder:ar(e,"logs",t),rumEndpointBuilder:ar(e,"rum",t),sessionReplayEndpointBuilder:ar(e,"replay",t)}}function ch(e,t,r){if(e.replica){var n=le({},e,{site:or,clientToken:e.replica.clientToken}),i={logsEndpointBuilder:ar(n,"logs",r),rumEndpointBuilder:ar(n,"rum",r)};return t.push.apply(t,Pt(i).map(function(o){return o.urlPrefix})),le({applicationId:e.replica.applicationId},i)}}function uh(e){var t,r,n,i;if(!e||!e.clientToken){te.error("Client Token is not configured, we will not send any data.");return}if(e.sessionSampleRate!==void 0&&!ei(e.sessionSampleRate)){te.error("Session Sample Rate should be a number between 0 and 100");return}if(e.telemetrySampleRate!==void 0&&!ei(e.telemetrySampleRate)){te.error("Telemetry Sample Rate should be a number between 0 and 100");return}if(e.telemetryConfigurationSampleRate!==void 0&&!ei(e.telemetryConfigurationSampleRate)){te.error("Telemetry Configuration Sample Rate should be a number between 0 and 100");return}if(e.trackingConsent!==void 0&&!es(Fi,e.trackingConsent)){te.error('Tracking Consent should be either "granted" or "not-granted"');return}return Array.isArray(e.enableExperimentalFeatures)&&em(e.enableExperimentalFeatures.filter(function(o){return es(_r,o)})),le({beforeSend:e.beforeSend&&lu(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:Vm(e),sessionSampleRate:(t=e.sessionSampleRate)!==null&&t!==void 0?t:100,telemetrySampleRate:(r=e.telemetrySampleRate)!==null&&r!==void 0?r:20,telemetryConfigurationSampleRate:(n=e.telemetryConfigurationSampleRate)!==null&&n!==void 0?n:5,service:e.service,silentMultipleInit:!!e.silentMultipleInit,allowUntrustedEvents:!!e.allowUntrustedEvents,trackingConsent:(i=e.trackingConsent)!==null&&i!==void 0?i:Fi.GRANTED,batchBytesLimit:16*$e,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:30*Pr,batchMessagesLimit:50,messageBytesLimit:256*$e},ah(e))}function lh(e){return{session_sample_rate:e.sessionSampleRate,telemetry_sample_rate:e.telemetrySampleRate,telemetry_configuration_sample_rate:e.telemetryConfigurationSampleRate,use_before_send:!!e.beforeSend,use_cross_site_session_cookie:e.useCrossSiteSessionCookie,use_partitioned_cross_site_session_cookie:e.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:e.useSecureSessionCookie,use_proxy:!!e.proxy,silent_multiple_init:e.silentMultipleInit,track_session_across_subdomains:e.trackSessionAcrossSubdomains,allow_fallback_to_local_storage:!!e.allowFallbackToLocalStorage,store_contexts_across_pages:!!e.storeContextsAcrossPages,allow_untrusted_events:!!e.allowUntrustedEvents}}function at(e,t,r){var n=e[t],i=dh(n,r),o=function(){if(typeof i=="function")return i.apply(this,arguments)};return e[t]=o,{stop:function(){e[t]===o?e[t]=n:i=n}}}function dh(e,t){return function(){var r=arguments,n,i;return wr(t,null,[{target:this,parameters:r,onPostCall:function(o){i=o}}]),typeof e=="function"&&(n=e.apply(this,r)),i&&wr(i,null,[n]),n}}var Nr="?";function Ue(e){var t=[],r=ii(e,"stack"),n=String(e);return r&&hu(r,n)&&(r=r.slice(n.length)),r&&r.split(`
17
- `).forEach(function(i){var o=mh(i)||vh(i)||yh(i)||wh(i);o&&(!o.func&&o.line&&(o.func=Nr),t.push(o))}),{message:ii(e,"message"),name:ii(e,"name"),stack:t}}var Ru="((?:file|https?|blob|chrome-extension|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",Nt="(?::(\\d+))",fh=new RegExp("^\\s*at (.*?) ?\\(".concat(Ru).concat(Nt,"?").concat(Nt,"?\\)?\\s*$"),"i"),ph=new RegExp("\\((\\S*)".concat(Nt).concat(Nt,"\\)"));function mh(e){var t=fh.exec(e);if(t){var r=t[2]&&t[2].indexOf("native")===0,n=t[2]&&t[2].indexOf("eval")===0,i=ph.exec(t[2]);return n&&i&&(t[2]=i[1],t[3]=i[2],t[4]=i[3]),{args:r?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||Nr,line:t[3]?+t[3]:void 0,url:r?void 0:t[2]}}}var hh=new RegExp("^\\s*at ?".concat(Ru).concat(Nt,"?").concat(Nt,"??\\s*$"),"i");function vh(e){var t=hh.exec(e);if(t)return{args:[],column:t[3]?+t[3]:void 0,func:Nr,line:t[2]?+t[2]:void 0,url:t[1]}}var gh=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function yh(e){var t=gh.exec(e);if(t)return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||Nr,line:+t[3],url:t[2]}}var bh=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,_h=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function wh(e){var t=bh.exec(e);if(t){var r=t[3]&&t[3].indexOf(" > eval")>-1,n=_h.exec(t[3]);return r&&n&&(t[3]=n[1],t[4]=n[2],t[5]=void 0),{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||Nr,line:t[4]?+t[4]:void 0,url:t[3]}}}function ii(e,t){if(!(typeof e!="object"||!e||!(t in e))){var r=e[t];return typeof r=="string"?r:void 0}}function Sh(e,t,r,n){var i=[{url:t,column:n,line:r}],o=Eh(e),a=o.name,s=o.message;return{name:a,message:s,stack:i}}var Ch=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function Eh(e){var t,r,n;return{}.toString.call(e)==="[object String]"&&(t=Ch.exec(e),r=t[1],n=t[2]),{name:r,message:n}}var xh=220*$e,kh="$",Th=3;function Be(e,t){var r;t===void 0&&(t=xh);var n=Et(Object.prototype),i=Et(Array.prototype),o=[],a=new WeakMap,s=oi(e,kh,void 0,o,a),c=((r=JSON.stringify(s))===null||r===void 0?void 0:r.length)||0;if(c>t){ai(t,"discarded",e);return}for(;o.length>0&&c<t;){var u=o.shift(),d=0;if(Array.isArray(u.source))for(var l=0;l<u.source.length;l++){var p=oi(u.source[l],u.path,l,o,a);if(p!==void 0?c+=JSON.stringify(p).length:c+=4,c+=d,d=1,c>t){ai(t,"truncated",e);break}u.target[l]=p}else for(var l in u.source)if(Object.prototype.hasOwnProperty.call(u.source,l)){var p=oi(u.source[l],u.path,l,o,a);if(p!==void 0&&(c+=JSON.stringify(p).length+d+l.length+Th,d=1),c>t){ai(t,"truncated",e);break}u.target[l]=p}}return n(),i(),s}function oi(e,t,r,n,i){var o=Oh(e);if(!o||typeof o!="object")return Rh(o);var a=Ah(o);if(a!=="[Object]"&&a!=="[Array]"&&a!=="[Error]")return a;var s=e;if(i.has(s))return"[Reference seen at ".concat(i.get(s),"]");var c=r!==void 0?"".concat(t,".").concat(r):t,u=Array.isArray(o)?[]:{};return i.set(s,c),n.push({source:o,target:u,path:c}),u}function Rh(e){return typeof e=="bigint"?"[BigInt] ".concat(e.toString()):typeof e=="function"?"[Function] ".concat(e.name||"unknown"):typeof e=="symbol"?"[Symbol] ".concat(e.description||e.toString()):e}function Ah(e){try{if(e instanceof Event)return{isTrusted:e.isTrusted};var t=Object.prototype.toString.call(e),r=t.match(/\[object (.*)\]/);if(r&&r[1])return"[".concat(r[1],"]")}catch{}return"[Unserializable]"}function Oh(e){var t=e;if(t&&typeof t.toJSON=="function")try{return t.toJSON()}catch{}return e}function ai(e,t,r){te.warn("The data provided has been ".concat(t," as it is over the limit of ").concat(e," characters:"),r)}var Au="No stack, consider using an instance of Error";function Ou(e){var t=e.stackTrace,r=e.originalError,n=e.handlingStack,i=e.startClocks,o=e.nonErrorPrefix,a=e.source,s=e.handling,c=r instanceof Error,u=Ih(t,c,o,r),d=Ph(c,t)?ht(t):Au,l=c?Lu(r,a):void 0,p=t==null?void 0:t.name,f=Iu(r);return{startClocks:i,source:a,handling:s,handlingStack:n,originalError:r,type:p,message:u,stack:d,causes:l,fingerprint:f}}function Ih(e,t,r,n){return e!=null&&e.message&&(e!=null&&e.name)?e.message:t?"Empty message":"".concat(r," ").concat(zt(Be(n)))}function Ph(e,t){return t===void 0?!1:e?!0:t.stack.length>0&&(t.stack.length>1||t.stack[0].url!==void 0)}function Iu(e){return e instanceof Error&&"dd_fingerprint"in e?String(e.dd_fingerprint):void 0}function ht(e){var t=Pu(e);return e.stack.forEach(function(r){var n=r.func==="?"?"<anonymous>":r.func,i=r.args&&r.args.length>0?"(".concat(r.args.join(", "),")"):"",o=r.line?":".concat(r.line):"",a=r.line&&r.column?":".concat(r.column):"";t+=`
18
- at `.concat(n).concat(i," @ ").concat(r.url).concat(o).concat(a)}),t}function Lh(e){var t;return(t=/@ (.+)/.exec(e))===null||t===void 0?void 0:t[1]}function Pu(e){return"".concat(e.name||"Error",": ").concat(e.message)}function Nh(){var e=2,t=new Error,r;if(!t.stack)try{throw t}catch{}return wr(function(){var n=Ue(t);n.stack=n.stack.slice(e),r=ht(n)}),r}function Lu(e,t){for(var r=e,n=[];(r==null?void 0:r.cause)instanceof Error&&n.length<10;){var i=Ue(r.cause);n.push({message:r.cause.message,source:t,type:i==null?void 0:i.name,stack:i&&ht(i)}),r=r.cause}return n.length?n:void 0}var Ee={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"};function Mh(e){var t=function(i,o){var a=Ou({stackTrace:i,originalError:o,startClocks:Bt(),nonErrorPrefix:"Uncaught",source:Ee.SOURCE,handling:"unhandled"});e.notify(a)},r=Fh(t).stop,n=Dh(t).stop;return{stop:function(){r(),n()}}}function Fh(e){return at(window,"onerror",function(t){var r=t.parameters,n=r[0],i=r[1],o=r[2],a=r[3],s=r[4],c;s instanceof Error?c=Ue(s):c=Sh(n,i,o,a),e(c,s??n)})}function Dh(e){return at(window,"onunhandledrejection",function(t){var r=t.parameters[0],n=r.reason||"Empty reason",i=Ue(n);e(i,n)})}function $h(e){var t=le({version:"5.11.0",onReady:function(r){r()}},e);return Object.defineProperty(t,"_setDebug",{get:function(){return hm},enumerable:!1}),t}function Bh(e,t,r){var n=e[t];e[t]=r,n&&n.q&&n.q.forEach(function(i){return lu(i,"onReady callback threw an error:")()})}function Nu(e,t){t.silentMultipleInit||te.error("".concat(e," is already initialized."))}var oe;(function(e){e.BEFORE_UNLOAD="beforeunload",e.CLICK="click",e.DBL_CLICK="dblclick",e.KEY_DOWN="keydown",e.LOAD="load",e.POP_STATE="popstate",e.SCROLL="scroll",e.TOUCH_START="touchstart",e.TOUCH_END="touchend",e.TOUCH_MOVE="touchmove",e.VISIBILITY_CHANGE="visibilitychange",e.PAGE_SHOW="pageshow",e.FREEZE="freeze",e.RESUME="resume",e.DOM_CONTENT_LOADED="DOMContentLoaded",e.POINTER_DOWN="pointerdown",e.POINTER_UP="pointerup",e.POINTER_CANCEL="pointercancel",e.HASH_CHANGE="hashchange",e.PAGE_HIDE="pagehide",e.MOUSE_DOWN="mousedown",e.MOUSE_UP="mouseup",e.MOUSE_MOVE="mousemove",e.FOCUS="focus",e.BLUR="blur",e.CONTEXT_MENU="contextmenu",e.RESIZE="resize",e.CHANGE="change",e.INPUT="input",e.PLAY="play",e.PAUSE="pause",e.SECURITY_POLICY_VIOLATION="securitypolicyviolation",e.SELECTION_CHANGE="selectionchange",e.STORAGE="storage"})(oe||(oe={}));function Ht(e,t,r,n,i){return zo(e,t,[r],n,i)}function zo(e,t,r,n,i){var o=i===void 0?{}:i,a=o.once,s=o.capture,c=o.passive,u=$(function(f){!f.isTrusted&&!f.__ddIsTrusted&&!e.allowUntrustedEvents||(a&&p(),n(f))}),d=c?{capture:s,passive:c}:s,l=Lt(t,"addEventListener");r.forEach(function(f){return l.call(t,f,u,d)});function p(){var f=Lt(t,"removeEventListener");r.forEach(function(g){return f.call(t,g,u,d)})}return{stop:p}}var ze={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function Uh(e,t){var r=[];Ut(t,ze.cspViolation)&&r.push(zh(e));var n=t.filter(function(i){return i!==ze.cspViolation});return n.length&&r.push(jh(n)),bu.apply(void 0,r)}function jh(e){return new re(function(t){if(window.ReportingObserver){var r=$(function(i,o){return i.forEach(function(a){t.notify(Hh(a))})}),n=new window.ReportingObserver(r,{types:e,buffered:!0});return n.observe(),function(){n.disconnect()}}})}function zh(e){return new re(function(t){var r=Ht(e,document,oe.SECURITY_POLICY_VIOLATION,function(n){t.notify(Wh(n))}).stop;return r})}function Hh(e){var t=e.type,r=e.body;return{type:t,subtype:r.id,message:"".concat(t,": ").concat(r.message),originalReport:e,stack:Mu(r.id,r.message,r.sourceFile,r.lineNumber,r.columnNumber)}}function Wh(e){var t=ze.cspViolation,r="'".concat(e.blockedURI,"' blocked by '").concat(e.effectiveDirective,"' directive");return{type:ze.cspViolation,subtype:e.effectiveDirective,message:"".concat(t,": ").concat(r),stack:Mu(e.effectiveDirective,e.originalPolicy?"".concat(r,' of the policy "').concat(bm(e.originalPolicy,100,"..."),'"'):"no policy",e.sourceFile,e.lineNumber,e.columnNumber),originalReport:e}}function Mu(e,t,r,n,i){return r?ht({name:e,message:t,stack:[{func:"?",url:r,line:n??void 0,column:i??void 0}]}):void 0}function Fu(e,t){var r=window.__ddBrowserSdkExtensionCallback;r&&r({type:e,payload:t})}function Ho(e){return e===null?"null":Array.isArray(e)?"array":typeof e}function vn(e,t,r){if(r===void 0&&(r=qh()),t===void 0)return e;if(typeof t!="object"||t===null)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){var n=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,n)}if(!r.hasAlreadyBeenSeen(t)){if(Array.isArray(t)){for(var i=Array.isArray(e)?e:[],o=0;o<t.length;++o)i[o]=vn(i[o],t[o],r);return i}var a=Ho(e)==="object"?e:{};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(a[s]=vn(a[s],t[s],r));return a}}function Du(e){return vn(void 0,e)}function Mt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n=0,i=e;n<i.length;n++){var o=i[n];o!=null&&(r=vn(r,o))}return r}function qh(){if(typeof WeakSet<"u"){var e=new WeakSet;return{hasAlreadyBeenSeen:function(r){var n=e.has(r);return n||e.add(r),n}}}var t=[];return{hasAlreadyBeenSeen:function(r){var n=t.indexOf(r)>=0;return n||t.push(r),n}}}function Vh(){var e,t=window.navigator;return{status:t.onLine?"connected":"not_connected",interfaces:t.connection&&t.connection.type?[t.connection.type]:void 0,effective_type:(e=t.connection)===null||e===void 0?void 0:e.effectiveType}}var Wo={log:"log",configuration:"configuration"},Gh=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],Qh=[Zm],Re={maxEventsPerPage:0,sentEventCount:0,telemetryEnabled:!1,telemetryConfigurationEnabled:!1},Di;function Yh(e,t){var r,n=new re;Re.telemetryEnabled=!Ut(Qh,t.site)&&Li(t.telemetrySampleRate),Re.telemetryConfigurationEnabled=Re.telemetryEnabled&&Li(t.telemetryConfigurationSampleRate);var i=Kh();Di=function(a){if(Re.telemetryEnabled){var s=o(e,a,i);n.notify(s),Fu("telemetry",s)}},mm(Bu),le(Re,{maxEventsPerPage:t.maxTelemetryEventsPerPage,sentEventCount:0});function o(a,s,c){return Mt({type:"telemetry",date:Qe(),service:a,version:"5.11.0",source:"browser",_dd:{format_version:2},telemetry:Mt(s,{runtime_env:c,connectivity:Vh()}),experimental_features:mu(tm())},r!==void 0?r():{})}return{setContextProvider:function(a){r=a},observable:n,enabled:Re.telemetryEnabled}}function Kh(){return{is_local_file:window.location.protocol==="file:",is_worker:"WorkerGlobalScope"in self}}function Jh(e){return e.site===Jm}function $u(e,t){Ni(ge.debug,e,t),qo(le({type:Wo.log,message:e,status:"debug"},t))}function Bu(e,t){qo(le({type:Wo.log,status:"error"},Zh(e),t))}function Xh(e){Re.telemetryConfigurationEnabled&&qo({type:Wo.configuration,configuration:e})}function qo(e){Di&&Re.sentEventCount<Re.maxEventsPerPage&&(Re.sentEventCount+=1,Di(e))}function Zh(e){if(e instanceof Error){var t=Ue(e);return{error:{kind:t.name,stack:ht(ev(t))},message:t.message}}return{error:{stack:Au},message:"".concat("Uncaught"," ").concat(zt(e))}}function ev(e){return e.stack=e.stack.filter(function(t){return!t.url||Gh.some(function(r){return hu(t.url,r)})}),e}function tv(e){var t=new Set;return e.forEach(function(r){return t.add(r)}),mu(t)}function Uu(e,t){var r=e.indexOf(t);r>=0&&e.splice(r,1)}var qr=1/0,rv=ft,nv=function(){function e(t,r){var n=this;this.expireDelay=t,this.maxEntries=r,this.entries=[],this.clearOldValuesInterval=Do(function(){return n.clearOldValues()},rv)}return e.prototype.add=function(t,r){var n=this,i={value:t,startTime:r,endTime:qr,remove:function(){Uu(n.entries,i)},close:function(o){i.endTime=o}};return this.maxEntries&&this.entries.length>=this.maxEntries&&this.entries.pop(),this.entries.unshift(i),i},e.prototype.find=function(t){t===void 0&&(t=qr);for(var r=0,n=this.entries;r<n.length;r++){var i=n[r];if(i.startTime<=t){if(t<=i.endTime)return i.value;break}}},e.prototype.closeActive=function(t){var r=this.entries[0];r&&r.endTime===qr&&r.close(t)},e.prototype.findAll=function(t,r){t===void 0&&(t=qr),r===void 0&&(r=0);var n=am(t,r);return this.entries.filter(function(i){return i.startTime<=n&&t<=i.endTime}).map(function(i){return i.value})},e.prototype.reset=function(){this.entries=[]},e.prototype.stop=function(){yu(this.clearOldValuesInterval)},e.prototype.clearOldValues=function(){for(var t=pn()-this.expireDelay;this.entries.length>0&&this.entries[this.entries.length-1].endTime<t;)this.entries.pop()},e}(),iv=ft,ov=wu;function av(e,t,r,n){var i=new re,o=new re,a=Gm(e.sessionStoreStrategyType,t,r),s=new nv(ov);a.renewObservable.subscribe(function(){s.add(c(),pn()),i.notify()}),a.expireObservable.subscribe(function(){o.notify(),s.closeActive(pn())}),a.expandOrRenewSession(),s.add(c(),im().relative),n.observable.subscribe(function(){n.isGranted()?a.expandOrRenewSession():a.expire()}),sv(e,function(){n.isGranted()&&a.expandOrRenewSession()}),cv(e,function(){return a.expandSession()});function c(){return{id:a.getSession().id,trackingType:a.getSession()[t]}}return{findActiveSession:function(u){return s.find(u)},renewObservable:i,expireObservable:o,expire:a.expire}}function sv(e,t){zo(e,window,[oe.CLICK,oe.TOUCH_START,oe.KEY_DOWN,oe.SCROLL],t,{capture:!0,passive:!0}).stop}function cv(e,t){var r=function(){document.visibilityState==="visible"&&t()};Ht(e,document,oe.VISIBILITY_CHANGE,r).stop,Do(r,iv)}function ju(e){return e>=500}function uv(e){try{return e.clone()}catch{return}}var lv=80*$e,dv=32,zu=3*pu,fv=ft,Hu=Pr;function Wu(e,t,r,n,i){t.transportStatus===0&&t.queuedPayloads.size()===0&&t.bandwidthMonitor.canHandle(e)?Vu(e,t,r,{onSuccess:function(){return Gu(0,t,r,n,i)},onFailure:function(){t.queuedPayloads.enqueue(e),qu(t,r,n,i)}}):t.queuedPayloads.enqueue(e)}function qu(e,t,r,n){e.transportStatus===2&&Lr(function(){var i=e.queuedPayloads.first();Vu(i,e,t,{onSuccess:function(){e.queuedPayloads.dequeue(),e.currentBackoffTime=Hu,Gu(1,e,t,r,n)},onFailure:function(){e.currentBackoffTime=Math.min(fv,e.currentBackoffTime*2),qu(e,t,r,n)}})},e.currentBackoffTime)}function Vu(e,t,r,n){var i=n.onSuccess,o=n.onFailure;t.bandwidthMonitor.add(e),r(e,function(a){t.bandwidthMonitor.remove(e),pv(a)?(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:a.status},o()):(t.transportStatus=0,i())})}function Gu(e,t,r,n,i){e===0&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(i({message:"Reached max ".concat(n," events size queued for upload: ").concat(zu/pu,"MiB"),source:Ee.AGENT,startClocks:Bt()}),t.queueFullReported=!0);var o=t.queuedPayloads;for(t.queuedPayloads=Qu();o.size()>0;)Wu(o.dequeue(),t,r,n,i)}function pv(e){return e.type!=="opaque"&&(e.status===0&&!navigator.onLine||e.status===408||e.status===429||ju(e.status))}function mv(){return{transportStatus:0,currentBackoffTime:Hu,bandwidthMonitor:hv(),queuedPayloads:Qu(),queueFullReported:!1}}function Qu(){var e=[];return{bytesCount:0,enqueue:function(t){this.isFull()||(e.push(t),this.bytesCount+=t.bytesCount)},first:function(){return e[0]},dequeue:function(){var t=e.shift();return t&&(this.bytesCount-=t.bytesCount),t},size:function(){return e.length},isFull:function(){return this.bytesCount>=zu}}}function hv(){return{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(e){return this.ongoingRequestCount===0||this.ongoingByteCount+e.bytesCount<=lv&&this.ongoingRequestCount<dv},add:function(e){this.ongoingRequestCount+=1,this.ongoingByteCount+=e.bytesCount},remove:function(e){this.ongoingRequestCount-=1,this.ongoingByteCount-=e.bytesCount}}}function vv(e,t,r,n){var i=mv(),o=function(a,s){return bv(e,t,r,a,s)};return{send:function(a){Wu(a,i,o,t.trackType,n)},sendOnExit:function(a){gv(e,t,r,a)}}}function gv(e,t,r,n){var i=!!navigator.sendBeacon&&n.bytesCount<r;if(i)try{var o=t.build("beacon",n),a=navigator.sendBeacon(o,n.data);if(a)return}catch(c){yv(c)}var s=t.build("xhr",n);$i(e,s,n.data)}var is=!1;function yv(e){is||(is=!0,Bu(e))}function bv(e,t,r,n,i){var o=_v()&&n.bytesCount<r;if(o){var a=t.build("fetch",n);fetch(a,{method:"POST",body:n.data,keepalive:!0,mode:"cors"}).then($(function(c){return i==null?void 0:i({status:c.status,type:c.type})}),$(function(){var c=t.build("xhr",n);$i(e,c,n.data,i)}))}else{var s=t.build("xhr",n);$i(e,s,n.data,i)}}function _v(){try{return window.Request&&"keepalive"in new Request("http://a")}catch{return!1}}function $i(e,t,r,n){var i=new XMLHttpRequest;i.open("POST",t,!0),r instanceof Blob&&i.setRequestHeader("Content-Type",r.type),Ht(e,i,"loadend",function(){n==null||n({status:i.status})},{once:!0}),i.send(r)}function Vo(){var e=wv();if(e)return{getCapabilities:function(){var t;return JSON.parse(((t=e.getCapabilities)===null||t===void 0?void 0:t.call(e))||"[]")},getPrivacyLevel:function(){var t;return(t=e.getPrivacyLevel)===null||t===void 0?void 0:t.call(e)},getAllowedWebViewHosts:function(){return JSON.parse(e.getAllowedWebViewHosts())},send:function(t,r,n){var i=n?{id:n}:void 0;e.send(JSON.stringify({eventType:t,event:r,view:i}))}}}function gn(e){var t;e===void 0&&(e=(t=Ye().location)===null||t===void 0?void 0:t.hostname);var r=Vo();return!!r&&r.getAllowedWebViewHosts().some(function(n){return e===n||dm(e,".".concat(n))})}function wv(){return Ye().DatadogEventBridge}var Kt={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function Sv(e){return new re(function(t){var r=du(_r.PAGEHIDE),n=zo(e,window,[oe.VISIBILITY_CHANGE,oe.FREEZE,oe.PAGE_HIDE],function(o){o.type===oe.PAGE_HIDE&&r?t.notify({reason:Kt.PAGEHIDE}):o.type===oe.VISIBILITY_CHANGE&&document.visibilityState==="hidden"?t.notify({reason:Kt.HIDDEN}):o.type===oe.FREEZE&&t.notify({reason:Kt.FROZEN})},{capture:!0}).stop,i=jt;return r||(i=Ht(e,window,oe.BEFORE_UNLOAD,function(){t.notify({reason:Kt.UNLOADING})}).stop),function(){n(),i()}})}function Cv(e){return Ut(Pt(Kt),e)}var Ev=function(){function e(t,r,n,i){var o=this;this.encoder=t,this.request=r,this.flushController=n,this.messageBytesLimit=i,this.upsertBuffer={},this.flushSubscription=this.flushController.flushObservable.subscribe(function(a){return o.flush(a)})}return e.prototype.add=function(t){this.addOrUpdate(t)},e.prototype.upsert=function(t,r){this.addOrUpdate(t,r)},e.prototype.stop=function(){this.flushSubscription.unsubscribe()},e.prototype.flush=function(t){var r=Pt(this.upsertBuffer).join(`
19
- `);this.upsertBuffer={};var n=Cv(t.reason),i=n?this.request.sendOnExit:this.request.send;if(n&&this.encoder.isAsync){var o=this.encoder.finishSync();o.outputBytesCount&&i(os(o,t));var a=[o.pendingData,r].filter(Boolean).join(`
20
- `);a&&i({data:a,bytesCount:Mo(a),flushReason:t.reason})}else r&&this.encoder.write(this.encoder.isEmpty?r:`
21
- `.concat(r)),this.encoder.finish(function(s){i(os(s,t))})},e.prototype.addOrUpdate=function(t,r){var n=zt(t),i=this.encoder.estimateEncodedBytesCount(n);if(i>=this.messageBytesLimit){te.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(this.messageBytesLimit,"KB."));return}this.hasMessageFor(r)&&this.remove(r),this.push(n,i,r)},e.prototype.push=function(t,r,n){var i=this;this.flushController.notifyBeforeAddMessage(r),n!==void 0?(this.upsertBuffer[n]=t,this.flushController.notifyAfterAddMessage()):this.encoder.write(this.encoder.isEmpty?t:`
22
- `.concat(t),function(o){i.flushController.notifyAfterAddMessage(o-r)})},e.prototype.remove=function(t){var r=this.upsertBuffer[t];delete this.upsertBuffer[t];var n=this.encoder.estimateEncodedBytesCount(r);this.flushController.notifyAfterRemoveMessage(n)},e.prototype.hasMessageFor=function(t){return t!==void 0&&this.upsertBuffer[t]!==void 0},e}();function os(e,t){var r;return typeof e.output=="string"?r=e.output:r=new Blob([e.output],{type:"text/plain"}),{data:r,bytesCount:e.outputBytesCount,encoding:e.encoding,flushReason:t.reason}}function xv(e){var t=e.messagesLimit,r=e.bytesLimit,n=e.durationLimit,i=e.pageExitObservable,o=e.sessionExpireObservable,a=i.subscribe(function(_){return l(_.reason)}),s=o.subscribe(function(){return l("session_expire")}),c=new re(function(){return function(){a.unsubscribe(),s.unsubscribe()}}),u=0,d=0;function l(_){if(d!==0){var y=d,h=u;d=0,u=0,g(),c.notify({reason:_,messagesCount:y,bytesCount:h})}}var p;function f(){p===void 0&&(p=Lr(function(){l("duration_limit")},n))}function g(){gu(p),p=void 0}return{flushObservable:c,get messagesCount(){return d},notifyBeforeAddMessage:function(_){u+_>=r&&l("bytes_limit"),d+=1,u+=_,f()},notifyAfterAddMessage:function(_){_===void 0&&(_=0),u+=_,d>=t?l("messages_limit"):u>=r&&l("bytes_limit")},notifyAfterRemoveMessage:function(_){u-=_,d-=1,d===0&&g()}}}function Yu(e,t,r,n,i,o){var a=c(e,t),s=r&&c(e,r);function c(u,d){var l=d.endpoint,p=d.encoder;return new Ev(p,vv(u,l,u.batchBytesLimit,n),xv({messagesLimit:u.batchMessagesLimit,bytesLimit:u.batchBytesLimit,durationLimit:u.flushTimeout,pageExitObservable:i,sessionExpireObservable:o}),u.messageBytesLimit)}return{flushObservable:a.flushController.flushObservable,add:function(u,d){d===void 0&&(d=!0),a.add(u),s&&d&&s.add(r.transformMessage?r.transformMessage(u):u)},upsert:function(u,d){a.upsert(u,d),s&&s.upsert(r.transformMessage?r.transformMessage(u):u,d)},stop:function(){a.stop(),s==null||s.stop()}}}function yn(){var e="",t=0;return{isAsync:!1,get isEmpty(){return!e},write:function(r,n){var i=Mo(r);t+=i,e+=r,n&&n(i)},finish:function(r){r(this.finishSync())},finishSync:function(){var r={output:e,outputBytesCount:t,rawBytesCount:t,pendingData:""};return e="",t=0,r},estimateEncodedBytesCount:function(r){return r.length}}}var kv=function(){function e(){this.callbacks={}}return e.prototype.notify=function(t,r){var n=this.callbacks[t];n&&n.forEach(function(i){return i(r)})},e.prototype.subscribe=function(t,r){var n=this;return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(r),{unsubscribe:function(){n.callbacks[t]=n.callbacks[t].filter(function(i){return r!==i})}}},e}();function Tv(e,t,r){var n=0,i=!1;return{isLimitReached:function(){if(n===0&&Lr(function(){n=0},ft),n+=1,n<=t||i)return i=!1,!1;if(n===t+1){i=!0;try{r({message:"Reached max number of ".concat(e,"s by minute: ").concat(t),source:Ee.AGENT,startClocks:Bt()})}finally{i=!1}}return!0}}}var si,Go=new WeakMap;function Rv(e){return si||(si=Av(e)),si}function Av(e){return new re(function(t){var r=at(XMLHttpRequest.prototype,"open",Ov).stop,n=at(XMLHttpRequest.prototype,"send",function(o){Iv(o,e,t)}).stop,i=at(XMLHttpRequest.prototype,"abort",Pv).stop;return function(){r(),n(),i()}})}function Ov(e){var t=e.target,r=e.parameters,n=r[0],i=r[1];Go.set(t,{state:"open",method:String(n).toUpperCase(),url:jo(String(i))})}function Iv(e,t,r){var n=e.target,i=Go.get(n);if(i){var o=i;o.state="start",o.startClocks=Bt(),o.isAborted=!1,o.xhr=n;var a=!1,s=at(n,"onreadystatechange",function(){n.readyState===XMLHttpRequest.DONE&&c()}).stop,c=function(){if(u(),s(),!a){a=!0;var d=i;d.state="complete",d.duration=om(o.startClocks.timeStamp,Qe()),d.status=n.status,r.notify(fm(d))}},u=Ht(t,n,"loadend",c).stop;r.notify(o)}}function Pv(e){var t=e.target,r=Go.get(t);r&&(r.isAborted=!0)}var ci;function Lv(){return ci||(ci=Nv()),ci}function Nv(){return new re(function(e){if(window.fetch){var t=at(window,"fetch",function(r){return Mv(r,e)}).stop;return t}})}function Mv(e,t){var r=e.parameters,n=e.onPostCall,i=r[0],o=r[1],a=o&&o.method;a===void 0&&i instanceof Request&&(a=i.method);var s=a!==void 0?String(a).toUpperCase():"GET",c=i instanceof Request?i.url:jo(String(i)),u=Bt(),d={state:"start",init:o,input:i,method:s,startClocks:u,url:c};t.notify(d),r[0]=d.input,r[1]=d.init,n(function(l){return Fv(t,l,d)})}function Fv(e,t,r){var n=function(i){var o=r;o.state="resolve","stack"in i||i instanceof Error?(o.status=0,o.isAborted=i instanceof DOMException&&i.code===DOMException.ABORT_ERR,o.error=i):"status"in i&&(o.response=i,o.responseType=i.type,o.status=i.status,o.isAborted=!1),e.notify(o)};t.then($(n),$(n))}var ui={};function Dv(e){var t=e.map(function(r){return ui[r]||(ui[r]=$v(r)),ui[r]});return bu.apply(void 0,t)}function $v(e){return new re(function(t){var r=Ae[e];return Ae[e]=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];r.apply(console,n);var o=Nh();wr(function(){t.notify(Bv(n,e,o))})},function(){Ae[e]=r}})}function Bv(e,t,r){var n=e.map(function(c){return Uv(c)}).join(" "),i,o,a;if(t===ge.error){var s=um(e,function(c){return c instanceof Error});i=s?ht(Ue(s)):void 0,o=Iu(s),a=s?Lu(s,"console"):void 0}return{api:t,message:n,stack:i,handlingStack:r,fingerprint:o,causes:a}}function Uv(e){return typeof e=="string"?Be(e):e instanceof Error?Pu(Ue(e)):zt(Be(e),void 0,2)}var jv=500,zv=function(){function e(){this.buffer=[]}return e.prototype.add=function(t){var r=this.buffer.push(t);r>jv&&this.buffer.splice(0,1)},e.prototype.remove=function(t){Uu(this.buffer,t)},e.prototype.drain=function(t){this.buffer.forEach(function(r){return r(t)}),this.buffer.length=0},e}();function Bi(e){var t={},r=new re,n={getContext:function(){return Du(t)},setContext:function(i){Ho(i)==="object"?(t=Be(i),e.updateCustomerData(t)):n.clearContext(),r.notify()},setContextProperty:function(i,o){t[i]=Be(o),e.updateCustomerData(t),r.notify()},removeContextProperty:function(i){delete t[i],e.updateCustomerData(t),r.notify()},clearContext:function(){t={},e.resetCustomerData(),r.notify()},changeObservable:r};return n}var Hv="_dd_c",Wv=[];function as(e,t,r,n){var i=qv(r,n);Wv.push(Ht(e,window,oe.STORAGE,function(c){var u=c.key;i===u&&o()})),t.changeObservable.subscribe(a),t.setContext(Mt(s(),t.getContext()));function o(){t.setContext(s())}function a(){localStorage.setItem(i,JSON.stringify(t.getContext()))}function s(){var c=localStorage.getItem(i);return c!==null?JSON.parse(c):{}}}function qv(e,t){return"".concat(Hv,"_").concat(e,"_").concat(t)}var Vv=3*$e,Gv=16*$e,Qv=200;function Yv(e){e===void 0&&(e=2);var t=new Map,r=!1;function n(i){if(i===void 0&&(i=0),!(r||e===0)){var o=e===2?Vv:Gv,a=i;t.forEach(function(s){a+=s.getBytesCount()}),a>o&&(Kv(o),r=!0)}}return{createDetachedTracker:function(){var i=ss(function(){return n(i.getBytesCount())});return i},getOrCreateTracker:function(i){return t.has(i)||t.set(i,ss(n)),t.get(i)},setCompressionStatus:function(i){e===0&&(e=i,n())},getCompressionStatus:function(){return e},stop:function(){t.forEach(function(i){return i.stop()}),t.clear()}}}function ss(e){var t=0,r=_u(function(a){t=Mo(zt(a)),e()},Qv),n=r.throttled,i=r.cancel,o=function(){i(),t=0};return{updateCustomerData:function(a){Fo(a)?o():n(a)},resetCustomerData:o,getBytesCount:function(){return t},stop:function(){i()}}}function Kv(e){te.warn("Customer data exceeds the recommended ".concat(e/$e,"KiB threshold. More details: https://docs.datadoghq.com/real_user_monitoring/browser/troubleshooting/#customer-data-exceeds-the-recommended-threshold-warning"))}function Jv(e,t,r){var n=e.getReader(),i=[],o=0;a();function a(){n.read().then($(function(c){if(c.done){s();return}r.collectStreamBody&&i.push(c.value),o+=c.value.length,o>r.bytesLimit?s():a()}),$(function(c){return t(c)}))}function s(){n.cancel().catch(jt);var c,u;if(r.collectStreamBody){var d;if(i.length===1)d=i[0];else{d=new Uint8Array(o);var l=0;i.forEach(function(p){d.set(p,l),l+=p.length})}c=d.slice(0,r.bytesLimit),u=d.length>r.bytesLimit}t(void 0,c,u)}}var Xv="datadog-synthetics-public-id",Zv="datadog-synthetics-result-id",eg="datadog-synthetics-injects-rum";function Ku(){return!!(window._DATADOG_SYNTHETICS_INJECTS_RUM||nt(eg))}function tg(){var e=window._DATADOG_SYNTHETICS_PUBLIC_ID||nt(Xv);return typeof e=="string"?e:void 0}function rg(){var e=window._DATADOG_SYNTHETICS_RESULT_ID||nt(Zv);return typeof e=="string"?e:void 0}function cs(e){var t=le({},e),r=["id","name","email"];return r.forEach(function(n){n in t&&(t[n]=String(t[n]))}),t}function ng(e){var t=Ho(e)==="object";return t||te.error("Unsupported user:",e),t}var ig=function(e,t,r,n){var i=arguments.length,o=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,r,o):a(t,r))||o);return i>3&&o&&Object.defineProperty(t,r,o),o},W={debug:"debug",error:"error",info:"info",warn:"warn"},Ui={console:"console",http:"http",silent:"silent"},og=Object.keys(W),us=function(){function e(t,r,n,i,o,a){i===void 0&&(i=Ui.http),o===void 0&&(o=W.debug),a===void 0&&(a={}),this.handleLogStrategy=t,this.handlerType=i,this.level=o,this.contextManager=Bi(r),this.contextManager.setContext(a),n&&this.contextManager.setContextProperty("logger",{name:n})}return e.prototype.log=function(t,r,n,i){n===void 0&&(n=W.info);var o;if(i!=null){var a=i instanceof Error?Ue(i):void 0,s=Ou({stackTrace:a,originalError:i,nonErrorPrefix:"Provided",source:Ee.LOGGER,handling:"handled",startClocks:Bt()});o={stack:s.stack,kind:s.type,message:s.message,causes:s.causes}}var c=Be(r),u=o?Mt({error:o},c):c;this.handleLogStrategy({message:Be(t),context:u,status:n},this)},e.prototype.debug=function(t,r,n){this.log(t,r,W.debug,n)},e.prototype.info=function(t,r,n){this.log(t,r,W.info,n)},e.prototype.warn=function(t,r,n){this.log(t,r,W.warn,n)},e.prototype.error=function(t,r,n){this.log(t,r,W.error,n)},e.prototype.setContext=function(t){this.contextManager.setContext(t)},e.prototype.getContext=function(){return this.contextManager.getContext()},e.prototype.setContextProperty=function(t,r){this.contextManager.setContextProperty(t,r)},e.prototype.removeContextProperty=function(t){this.contextManager.removeContextProperty(t)},e.prototype.clearContext=function(){this.contextManager.clearContext()},e.prototype.setHandler=function(t){this.handlerType=t},e.prototype.getHandler=function(){return this.handlerType},e.prototype.setLevel=function(t){this.level=t},e.prototype.getLevel=function(){return this.level},ig([vm],e.prototype,"log",null),e}();function ag(e,t){return{view:{referrer:document.referrer,url:window.location.href},context:e.getContext(),user:t.getContext()}}var sg=32*$e;function cg(e){var t=uh(e),r=ls(e.forwardConsoleLogs,Pt(ge),"Forward Console Logs"),n=ls(e.forwardReports,Pt(ze),"Forward Reports");if(!(!t||!r||!n))return e.forwardErrorsToLogs&&!Ut(r,ge.error)&&r.push(ge.error),le({forwardErrorsToLogs:e.forwardErrorsToLogs!==!1,forwardConsoleLogs:r,forwardReports:n,requestErrorResponseLengthLimit:sg},t)}function ls(e,t,r){if(e===void 0)return[];if(!(e==="all"||Array.isArray(e)&&e.every(function(n){return Ut(t,n)}))){te.error("".concat(r,' should be "all" or an array with allowed values "').concat(t.join('", "'),'"'));return}return e==="all"?t:tv(e)}function ug(e){var t=lh(e);return le({forward_errors_to_logs:e.forwardErrorsToLogs,forward_console_logs:e.forwardConsoleLogs,forward_reports:e.forwardReports},t)}function lg(e,t,r){var n=new zv,i,o,a=t.observable.subscribe(s);function s(){if(!(!o||!i||!t.isGranted())){a.unsubscribe();var c=r(i,o);n.drain(c)}}return{init:function(c){if(!c){te.error("Missing configuration");return}if(gn()&&(c=dg(c)),i=c,o){Nu("DD_LOGS",c);return}var u=cg(c);u&&(o=u,t.tryToInit(u.trackingConsent),s())},get initConfiguration(){return i},getInternalContext:jt,handleLog:function(c,u,d,l){d===void 0&&(d=e()),l===void 0&&(l=Qe()),n.add(function(p){return p.handleLog(c,u,d,l)})}}}function dg(e){return le({},e,{clientToken:"empty"})}var ds="logs";function fg(e){var t=Yv(),r=Bi(t.getOrCreateTracker(2)),n=Bi(t.getOrCreateTracker(1)),i=Qm();function o(){return ag(r,n)}var a=lg(o,i,function(u,d){u.storeContextsAcrossPages&&(as(d,r,ds,2),as(d,n,ds,1));var l=e(u,d,o,i);return a=pg(u,l),l}),s={},c=new us(function(){for(var u=[],d=0;d<arguments.length;d++)u[d]=arguments[d];return a.handleLog.apply(a,u)},t.createDetachedTracker());return $h({logger:c,init:$(function(u){return a.init(u)}),setTrackingConsent:$(function(u){return i.update(u)}),getGlobalContext:$(function(){return r.getContext()}),setGlobalContext:$(function(u){return r.setContext(u)}),setGlobalContextProperty:$(function(u,d){return r.setContextProperty(u,d)}),removeGlobalContextProperty:$(function(u){return r.removeContextProperty(u)}),clearGlobalContext:$(function(){return r.clearContext()}),createLogger:$(function(u,d){return d===void 0&&(d={}),s[u]=new us(function(){for(var l=[],p=0;p<arguments.length;p++)l[p]=arguments[p];return a.handleLog.apply(a,l)},t.createDetachedTracker(),Be(u),d.handler,d.level,Be(d.context)),s[u]}),getLogger:$(function(u){return s[u]}),getInitConfiguration:$(function(){return Du(a.initConfiguration)}),getInternalContext:$(function(u){return a.getInternalContext(u)}),setUser:$(function(u){ng(u)&&n.setContext(cs(u))}),getUser:$(function(){return n.getContext()}),setUserProperty:$(function(u,d){var l,p=cs((l={},l[u]=d,l))[u];n.setContextProperty(u,p)}),removeUserProperty:$(function(u){return n.removeContextProperty(u)}),clearUser:$(function(){return n.clearContext()})})}function pg(e,t){return le({init:function(r){Nu("DD_LOGS",r)},initConfiguration:e},t)}var mg="logs";function hg(e,t){var r=av(e,mg,function(n){return gg(e,n)},t);return{findTrackedSession:function(n){var i=r.findActiveSession(n);return i&&i.trackingType==="1"?{id:i.id}:void 0},expireObservable:r.expireObservable}}function vg(e){var t=Ju(e)==="1",r=t?{}:void 0;return{findTrackedSession:function(){return r},expireObservable:new re}}function Ju(e){return Li(e.sessionSampleRate)?"1":"0"}function gg(e,t){var r=yg(t)?t:Ju(e);return{trackingType:r,isTracked:r==="1"}}function yg(e){return e==="0"||e==="1"}var fs=!1;function en(e){var t=window;if(Ku()){var r=n(t.DD_RUM_SYNTHETICS);return!r&&!fs&&(fs=!0,$u("Logs sent before RUM is injected by the synthetics worker",{testId:tg(),resultId:rg()})),r}return n(t.DD_RUM);function n(i){if(i&&i.getInternalContext)return i.getInternalContext(e)}}function bg(e,t,r,n,i){var o=og.concat(["custom"]),a={};o.forEach(function(s){a[s]=Tv(s,t.eventRateLimiterThreshold,i)}),r.subscribe(0,function(s){var c,u,d=s.rawLogsEvent,l=s.messageContext,p=l===void 0?void 0:l,f=s.savedCommonContext,g=f===void 0?void 0:f,_=sm(d.date),y=e.findTrackedSession(_);if(y){var h=g||n(),b=Mt({service:t.service,session_id:y.id,usr:Fo(h.user)?void 0:h.user,view:h.view},h.context,en(_),d,p);((c=t.beforeSend)===null||c===void 0?void 0:c.call(t,b))===!1||b.origin!==Ee.AGENT&&((u=a[b.status])!==null&&u!==void 0?u:a.custom).isLimitReached()||r.notify(1,b)}})}var Je,_g=(Je={},Je[ge.log]=W.info,Je[ge.debug]=W.debug,Je[ge.info]=W.info,Je[ge.warn]=W.warn,Je[ge.error]=W.error,Je);function wg(e,t){var r=Dv(e.forwardConsoleLogs).subscribe(function(n){t.notify(0,{rawLogsEvent:{date:Qe(),message:n.message,origin:Ee.CONSOLE,error:n.api===ge.error?{stack:n.stack,fingerprint:n.fingerprint,causes:n.causes}:void 0,status:_g[n.api]}})});return{stop:function(){r.unsubscribe()}}}var Qt,Sg=(Qt={},Qt[ze.cspViolation]=W.error,Qt[ze.intervention]=W.error,Qt[ze.deprecation]=W.warn,Qt);function Cg(e,t){var r=Uh(e,e.forwardReports).subscribe(function(n){var i=n.message,o=Sg[n.type],a;o===W.error?a={kind:n.subtype,stack:n.stack}:n.stack&&(i+=" Found in ".concat(Lh(n.stack))),t.notify(0,{rawLogsEvent:{date:Qe(),message:i,origin:Ee.REPORT,error:a,status:o}})});return{stop:function(){r.unsubscribe()}}}function Eg(e,t){if(!e.forwardErrorsToLogs)return{stop:jt};var r=Rv(e).subscribe(function(o){o.state==="complete"&&i("xhr",o)}),n=Lv().subscribe(function(o){o.state==="resolve"&&i("fetch",o)});function i(o,a){!e.isIntakeUrl(a.url)&&(Rg(a)||ju(a.status))&&("xhr"in a?xg(a.xhr,e,s):a.response?Tg(a.response,e,s):a.error&&kg(a.error,e,s));function s(c){t.notify(0,{rawLogsEvent:{message:"".concat(Ag(o)," error ").concat(a.method," ").concat(a.url),date:a.startClocks.timeStamp,error:{stack:c||"Failed to load"},http:{method:a.method,status_code:a.status,url:a.url},status:W.error,origin:Ee.NETWORK}})}}return{stop:function(){r.unsubscribe(),n.unsubscribe()}}}function xg(e,t,r){typeof e.response=="string"?r(Qo(e.response,t)):r(e.response)}function kg(e,t,r){r(Qo(ht(Ue(e)),t))}function Tg(e,t,r){var n=uv(e);!n||!n.body?r():window.TextDecoder?Og(n.body,t.requestErrorResponseLengthLimit,function(i,o){r(i?"Unable to retrieve response: ".concat(i):o)}):n.text().then($(function(i){return r(Qo(i,t))}),$(function(i){return r("Unable to retrieve response: ".concat(i))}))}function Rg(e){return e.status===0&&e.responseType!=="opaque"}function Qo(e,t){return e.length>t.requestErrorResponseLengthLimit?"".concat(e.substring(0,t.requestErrorResponseLengthLimit),"..."):e}function Ag(e){return e==="xhr"?"XHR":"Fetch"}function Og(e,t,r){Jv(e,function(n,i,o){if(n)r(n);else{var a=new TextDecoder().decode(i);o&&(a+="..."),r(void 0,a)}},{bytesLimit:t,collectStreamBody:!0})}function Ig(e,t){if(!e.forwardErrorsToLogs)return{stop:jt};var r=new re,n=Mh(r).stop,i=r.subscribe(function(o){t.notify(0,{rawLogsEvent:{message:o.message,date:o.startClocks.timeStamp,error:{kind:o.type,stack:o.stack,causes:o.causes},origin:Ee.SOURCE,status:W.error}})});return{stop:function(){n(),i.unsubscribe()}}}var Pg=kv,yt,ps=(yt={},yt[W.debug]=0,yt[W.info]=1,yt[W.warn]=2,yt[W.error]=3,yt);function Lg(e){function t(r,n,i,o){var a=Mt(n.getContext(),r.context);ms(r.status,Ui.console,n)&&Ng(r,a),ms(r.status,Ui.http,n)&&e.notify(0,{rawLogsEvent:{date:o||Qe(),message:r.message,status:r.status,origin:Ee.LOGGER},messageContext:a,savedCommonContext:i})}return{handleLog:t}}function ms(e,t,r){var n=r.getHandler(),i=Array.isArray(n)?n:[n];return ps[e]>=ps[r.getLevel()]&&Ut(i,t)}function Ng(e,t){tt[e.status].call(Ae,e.message,t)}function Mg(e,t,r,n,i){var o=Yu(e,{endpoint:e.logsEndpointBuilder,encoder:yn()},e.replica&&{endpoint:e.replica.logsEndpointBuilder,encoder:yn()},r,n,i.expireObservable);return t.subscribe(1,function(a){o.add(a)}),o}function Fg(e){var t=Vo();e.subscribe(1,function(r){t.send("log",r)})}function Dg(e){return{get:function(t){var r=e.findTrackedSession(t);if(r)return{session_id:r.id}}}}function $g(e){return function(t){e.notify(0,{rawLogsEvent:{message:t.message,date:t.startClocks.timeStamp,origin:Ee.AGENT,status:W.error}}),$u("Error reported to customer",{"error.message":t.message})}}function Bg(e,t,r,n,i){var o=Yh("browser-logs-sdk",t);o.setContextProvider(function(){var l,p,f,g,_,y;return{application:{id:(l=en())===null||l===void 0?void 0:l.application_id},session:{id:(p=i.findTrackedSession())===null||p===void 0?void 0:p.id},view:{id:(g=(f=en())===null||f===void 0?void 0:f.view)===null||g===void 0?void 0:g.id},action:{id:(y=(_=en())===null||_===void 0?void 0:_.user_action)===null||y===void 0?void 0:y.id}}});var a=[];if(gn()){var s=Vo(),c=o.observable.subscribe(function(l){return s.send("internal_telemetry",l)});a.push(function(){return c.unsubscribe()})}else{var u=Yu(t,{endpoint:t.rumEndpointBuilder,encoder:yn()},t.replica&&{endpoint:t.replica.rumEndpointBuilder,encoder:yn()},r,n,i.expireObservable);a.push(function(){return u.stop()});var d=o.observable.subscribe(function(l){return u.add(l,Jh(t))});a.push(function(){return d.unsubscribe()})}return Xh(ug(e)),{telemetry:o,stop:function(){a.forEach(function(l){return l()})}}}function Ug(e,t,r,n){var i=new Pg,o=[];i.subscribe(1,function(f){return Fu("logs",f)});var a=$g(i),s=Sv(t),c=t.sessionStoreStrategyType&&!gn()&&!Ku()?hg(t,n):vg(t),u=Bg(e,t,a,s,c).stop;o.push(function(){return u()}),Eg(t,i),Ig(t,i),wg(t,i),Cg(t,i);var d=Lg(i).handleLog;if(bg(c,t,i,r,a),gn())Fg(i);else{var l=Mg(t,i,a,s,c).stop;o.push(function(){return l()})}var p=Dg(c);return{handleLog:d,getInternalContext:p.get,stop:function(){o.forEach(function(f){return f()})}}}var bn=fg(Ug);Bh(Ye(),"DD_LOGS",bn);const Xu="local",Ne=(e,t)=>bn.logger.error(e,t),jg=()=>{const e=zg();bn.init({clientToken:"pub3024831b8d3568048614d6e5a6d44f27",forwardErrorsToLogs:e!=Xu,version:"1.20.16"}),bn.setGlobalContext({team:"super",env:e,service:"ApolloSuperCampaign.UI"})},zg=()=>{const e=window.location.hostname.toLowerCase().split(".")[0];switch(e){case"autodev-partner":case"test-partner":case"sandbox-partner":return e.replace("-partner","");case"partner":return"prod";default:return Xu}},Hg=sn.a({fontWeight:"500",textDecorationLine:"underline",textUnderlineOffset:"2px",":hover":{"--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))"}}),Wg="_extnav=true",L=({link:e,onClick:t,children:r,...n})=>{const i=e.indexOf("?")===-1?"?":"&",o=`${e}${i}${Wg}`;return v(Hg,{target:"_blank",href:o,onClick:t,...n,children:r})},qg=""+new URL("assets/logo-active-BAEWzF0a.svg",import.meta.url).href,Vg="Active Super",ji={fundId:"active",name:Vg,logo:qg,iframeType:"PromotedFundJoinV1",features:[v("p",{children:"Winner of Canstar's 2023 Outstanding Value – Superannuation Award considering investment performance, fees and product features*"}),v("p",{children:"Recognised as a leader in responsible investment"}),v("p",{children:"Calls answered in 20 seconds (average over 5 years)"})],featureSubText:v("span",{children:"*Based on a comparison of the Active Super Accumulation Scheme held by those aged 20-69 years and balances between $30,000 and $1.5 million."}),disclaimer:R("p",{children:["Issued by LGSS Pty Limited as trustee for Local Government Super (Active Super ABN:28 901 371 321). Consider the PDS and TMD at"," ",v(L,{onClick:()=>Y(ji),link:"https://www.activesuper.com.au/pds",children:"activesuper.com.au"})," ","before making a decision."]})},Gg=""+new URL("assets/logo-aus-eth-FW9TuDYd.svg",import.meta.url).href,Qg="Australian Ethical",li="https://www.australianethical.com.au/super/pds-forms/",sr={fundId:"australian-ethical",name:Qg,logo:Gg,iframeType:"PromotedFundJoinV2",features:[R("p",{children:["Fastest growing super fund in Australia",v("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),R("p",{children:["Nil investments in fossil fuel companies",v("sup",{css:{fontSize:"0.625rem"},children:"2"})]}),v("p",{children:"Competitive returns"})],featureSubText:R("ol",{css:{marginLeft:"0.75rem",listStylePosition:"outside",listStyleType:"decimal"},children:[v("li",{children:"Source: KPMG Super Insights Report 2022."}),v("li",{children:"All our options go through positive and negative ethical screening in accordance with the Australian Ethical Charter (in place since 1986)."})]}),disclaimer:R("p",{children:["Issued by Australian Ethical Superannuation Pty Ltd (ABN 43 079 259 733, RSE L0001441, AFSL 526055). Please consider the"," ",v(L,{link:"https://www.australianethical.com.au/globalassets/pdf-files/forms--pds/superpension/important-information/ae-financial-services-guide_sec.pdf",children:"Financial Services Guide"}),", the"," ",v(L,{link:li,onClick:()=>Y(sr),children:"Product Disclosure Statement"})," ","and"," ",v(L,{link:li,onClick:()=>Y(sr),children:"Target Market Determination"})," ","available on our"," ",v(L,{link:li,onClick:()=>Y(sr),children:"website"}),"."]})},Yg=""+new URL("assets/logo-art-6eMN3DO0.svg",import.meta.url).href,hs="Australian Retirement Trust",zi={fundId:"australian-retirement-trust",name:hs,logo:Yg,iframeType:"PromotedFundJoinV1",features:[v("p",{children:"$200 billion in retirement savings"}),v("p",{children:"2+ million members"}),v("p",{children:"A focus on delivering strong, long‑term returns"})],featureSubText:v("span",{children:"QSuper is now part of Australian Retirement Trust. If you have an existing QSuper account, you will continue to hold that account by selecting this option."}),disclaimer:R("p",{children:["You should consider the"," ",v(L,{link:"https://www.australianretirementtrust.com.au/library/media/pdfs/pds/super-savings-product-disclosure-statement-and-membership-form.pdf",onClick:()=>Y(zi),children:"Product Disclosure Statement"})," ","and"," ",v(L,{link:"https://www.australianretirementtrust.com.au/tmd",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of this fund."]}),abnInfo:hs,abn:"60 905 115 063"},Kg=""+new URL("assets/logo-aware-C8PXTRJG.svg",import.meta.url).href,Jg="Aware Super",Hi={fundId:"aware",name:Jg,logo:Kg,iframeType:"PromotedFundJoinV1",features:[R("p",{children:["Multi-award winning fund named Retirement Offering of the Year 2024.",v("sup",{css:{fontSize:"0.625rem"},children:">"})]}),v("p",{children:"Local call centres and a 45-minute Super Helpful check-in."}),v("p",{children:"Returns like 8.40% p.a^ over 10 years for our High Growth option."})],disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{children:[v("sup",{css:{fontSize:"0.625rem"},children:">"}),"Awards are just one factor to consider when deciding on a product."," ",v(L,{link:"https://aware.com.au/member/about-us/awards",children:"Find out more on our awards."})," ","^Past performance is not an indicator of future performance."," ",v(L,{link:"https://aware.com.au/member/what-we-offer/investments/investment-returns",children:"View our returns"}),". Consider if we’re right for you and"," ",v(L,{link:"https://aware.com.au/member/contact-aware-super/forms-and-documents",onClick:()=>Y(Hi),children:"read the PDS and TMD"}),"."]}),v("p",{children:"Issued by Aware Super Pty Ltd. (ABN 11 118 202 672, AFSL 293340), the trustee of Aware Super (ABN 53 226 460 365)."})]})},Xg=""+new URL("assets/logo-brighter-cKB6xH2M.svg",import.meta.url).href,Zg="Brighter Super",Wi={fundId:"brightersuper",name:Zg,logo:Xg,iframeType:"PromotedFundJoinV2",features:[v("p",{children:"A not-for-profit fund with personalised service and strong member focus"}),v("p",{children:"No cost super health checks by phone, online or in-person to get you set up"}),v("p",{children:"Solid long-term performance, competitive fees & proudly Queensland based"})],disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{children:["You should consider the"," ",v(L,{link:"https://brightersuper.com.au/-/media/public/files/pds-and-guides/accumulation-account-pds.pdf",onClick:()=>Y(Wi),children:"Product Disclosure Statement"})," ","&"," ",v(L,{link:"https://brightersuper.com.au/-/media/public/files/target-market-determination/tmd-brighter-super-accumulation-account.pdf",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the Fund."]}),v("p",{children:"Product issued by LGIAsuper Trustee (ABN 94 085 088 484 AFS Licence No. 230511) as trustee for LGIAsuper (ABN 23 053 121 564), trading as Brighter Super."})]})},ey=""+new URL("assets/logo-first-CusDmGWL.svg",import.meta.url).href,ty="First Super",qi={fundId:"first-super",name:ty,logo:ey,iframeType:"PromotedFundJoinV2",features:[v("p",{children:"Industry SuperFund that offers five investment options and default insurance"}),v("p",{children:"Strong long-term investment returns and superior customer service - members first"}),v("p",{children:"Established super fund – anyone can join including KiwiSaver members"})],disclaimer:R("div",{children:[R("p",{children:["General advice only which has been prepared without taking into account your objectives, financial situation or needs. Consider whether the advice is appropriate for you and read the Product Disclosure Statement (PDS) before making any investment decisions. PDS and Target Market Determination are available at our"," ",v(L,{onClick:()=>Y(qi),link:"https://www.firstsuper.com.au/forms-tools/product-disclosure-statements/",children:"website"}),". Past performance is not a reliable indicator of future performance."]}),v("br",{}),v("p",{children:"Issued by First Super Pty Ltd ABN 42 053 498 472, AFSL 223988 (Trustee) as Trustee of First Super ABN 56 286 625 181."})]})},ry=""+new URL("assets/logo-hesta-NL7xF41R.svg",import.meta.url).href,ny="HESTA",Vi={fundId:"hesta-default",name:ny,logo:ry,iframeType:"PromotedFundJoinV2",features:[v("p",{children:"A top-performing super fund* working for real-world impact"}),v("p",{children:"1+ million members"}),v("p",{children:"Expert help whenever you need it to help you face the future with confidence"})],featureSubText:void 0,disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{css:{fontStyle:"italic"},children:["* SuperRatings 10 Year Platinum Performance 2014-2024 (MySuper). Investment performance contributes to but is not the only factor in determining this product rating. Product ratings and awards are only one factor to be considered. See"," ",v(L,{link:"https://www.hesta.com.au/ratings",children:"hesta.com.au/ratings"})," ","for more information."]}),R("p",{children:["Consider whether this product is appropriate for you by reading the Product Disclosure Statement and Target Market Determination at"," ",v(L,{onClick:()=>Y(Vi),link:"https://www.hesta.com.au/pds",children:"hesta.com.au/pds"})," ","In considering your own circumstances about the suitability of HESTA products, you may wish to consult an adviser or use the ATO YourSuper comparison tool. Please also consider the relevant risks."]}),v("p",{children:"Issued by H.E.S.T. Australia Ltd ABN 66 006 818 695 AFSL No. 235249, Trustee of HESTA"})]})},iy=""+new URL("assets/logo-legalsuper-xG2DgGHY.svg",import.meta.url).href,oy="legalsuper",Gi={fundId:"legalsuper",name:oy,logo:iy,iframeType:"PromotedFundJoinV2",features:[v("p",{children:"Strong performance - our investment options are designed to deliver steady returns."}),v("p",{children:"Personalised support - so you can access advice, knowledge and assistance when you need it."}),v("p",{children:"Tailored insurance - various cover options that adapt to life’s milestones and career changes."})],disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{children:["This information is of a general nature. Please refer to the legalsuper Product Disclosure Statement (PDS) and Target Market Determination (TMD) available at"," ",v(L,{link:"https://www.legalsuper.com.au/",onClick:()=>Y(Gi),children:"www.legalsuper.com.au"})," ","before making any decision. Past performance is not a guide to future performance."]}),v("p",{children:"Legal Super Pty Ltd ABN 37 004 455 789 AFSL 246315 as the Trustee for Legal Super ABN 60 346 078 879."})]})},ay={"mercermychoice-image-tile":{splitType:"percentage",shouldRun:({state:e})=>{var t;return((t=e.funds)==null?void 0:t.length)===1&&e.funds[0].fundId==="mercermychoice"},variants:[{percentage:50,variantName:"control"},{percentage:50,variantName:"image-tile"}]}},sy=""+new URL("assets/coverImage-BkXL9zfW.png",import.meta.url).href,cy=""+new URL("assets/logo-mercer-mychoice-BB6VztRp.svg",import.meta.url).href,uy="Mercer MyChoice",Qi={fundId:"mercermychoice",name:uy,logo:cy,coverImage:sy,experiments:ay,iframeType:"PromotedFundJoinV2",features:[v("p",{children:"Save more super with our low fees"}),v("p",{children:"Take control with 6 MyChoice investment options"}),v("p",{children:"Join 850,000 Australians who trust our global expertise"})],disclaimer:R("div",{children:[R("p",{children:["You should consider the"," ",v(L,{link:"https://www.mercersuper.com.au/campaign-page/mercer-mychoice",onClick:()=>Y(Qi),children:"Product Disclosure Statement"})," ","and"," ",v(L,{link:"https://www.mercersuper.com.au/documents/target-market-determinations",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]}),v("br",{}),v("p",{children:"Issued by Mercer Superannuation (Australia) Limited (‘Mercer Super’) ABN: 79 004 717 533"})]}),extraBadge:v("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},children:"Low fees"})},ly=""+new URL("assets/logo-mine-7mxPtjsF.svg",import.meta.url).href,dy="Mine Super",Yi={fundId:"mine",name:dy,logo:ly,iframeType:"PromotedFundJoinV2",features:[R("p",{children:[v("i",{children:"Money"})," magazine’s Best of the Best Awards for Best Value Superannuation Fund for Young People 2024."]}),v("p",{children:"Insurance cover^ that’s got your back if you’re unable to work due to sickness or injury."}),v("p",{children:"Low fixed admin fee of $1 per week."})],featureSubText:["^Subject to meeting eligibility criteria."],disclaimer:v("div",{children:R("p",{children:["Mine Super products are issued by AUSCOAL Superannuation Pty Ltd ABN 70 003 566 989 AFS licence 246864 Trustee for the Mine Superannuation Fund ABN 16 457 520 308. Refer to the"," ",v(L,{link:"https://www.mine.com.au/super/about-my-super/super-pds",onClick:()=>Y(Yi),children:"PDS"})," ","and ",v(L,{link:"https://www.mine.com.au/tmd",children:"TMDs"})," on our website at ",v(L,{link:"https://www.mine.com.au/",children:"mine.com.au"})," when considering if our financial products are right for you."]})})},fy=""+new URL("assets/logo-reisuper-aM5iDbpN.svg",import.meta.url).href,py="REI Super",Ki={fundId:"reisuper",name:py,logo:fy,iframeType:"PromotedFundJoinV2",features:[v("p",{children:"Built by and for the real estate industry"}),v("p",{children:"Consistent long-term performance with competitive fees*"}),v("p",{children:"All profits to members, not shareholders"})],disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[v("p",{children:"*Balanced Option net investment return of 9.45% for year ending 30 June 2023."}),R("p",{children:["You should consider the"," ",v(L,{link:"https://www.reisuper.com.au/docs/default-source/super/rei-super-pds.pdf?utm_source=flarehr&utm_medium=banners&utm_campaign=flarehr_join&utm_term=pds",onClick:()=>Y(Ki),children:"Product Disclosure Statement"})," ","and"," ",v(L,{link:"https://www.reisuper.com.au/publications-and-forms/target-market-determination?utm_source=flarehr&utm_medium=banners&utm_campaign=flarehr_join&utm_term=tmd",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]})]}),abnInfo:"REI Superannuation Fund Pty Ltd",abn:"68 056 044 770"},my=""+new URL("assets/logo-slate-CowODvPX.png",import.meta.url).href,hy="Slate Super",_n={fundId:Lo,name:hy,logo:my,iframeType:"SlateJoin",features:[v("p",{children:"A lifestage investment strategy that evolves with you"}),v("p",{children:"Advanced mobile app with retirement forecast and smart features"}),v("p",{children:"Member advocates at Slate to assist with your account"})],disclaimer:R("p",{children:["You should consider the"," ",v(L,{link:"https://slate.co/pds/?utm_source=flare&utm_medium=superselection",onClick:()=>Y(_n),children:"Product Disclosure Statement"})," ","and"," ",v(L,{link:"https://slate.co/forms-and-documents/target-market-determination/",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]}),abnInfo:"Diversa Trustees Limited",abn:"49 006 421 638"},vy=""+new URL("assets/logo-spirit-CAaRIHR7.svg",import.meta.url).href,gy="Spirit Super",Ji={fundId:"spirit",name:gy,logo:vy,iframeType:"PromotedFundJoinV2",features:[v("p",{children:"Proud Industry SuperFund - all profits go back to members"}),R("p",{children:["Best customer experience in super",v("sup",{css:{fontSize:"0.625rem"},children:"1"})," and best for value",v("sup",{css:{fontSize:"0.625rem"},children:"2"})]}),R("p",{children:["Low fees",v("sup",{css:{fontSize:"0.625rem"},children:"3"})," with a focus on strong returns and investing with impact in communities",v("sup",{css:{fontSize:"0.625rem"},children:"4"})]})],featureSubText:v("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:R("ol",{css:{listStyleType:"decimal","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[v("li",{children:v("span",{children:"CSBA SenseCX Benchmark 2021-22"})}),v("li",{children:v("span",{children:"Awarded Best for Value in the WeMoney Superannuation Awards 2022"})}),v("li",{children:v("span",{children:"Just $67.60 + 0.15% pa admin fees, capped at $517.60"})}),v("li",{children:v("span",{children:"Rainmaker ESG Leader Rating 2022"})})]})}),disclaimer:R("p",{children:["Past performance isn’t a reliable indicator of future performance. Consider the PDS and TMD at"," ",v(L,{link:"https://www.spiritsuper.com.au/pds",onClick:()=>Y(Ji),children:"www.spiritsuper.com.au/pds"})," ","before making a decision. Issuer is Motor Trades Association of Australia Superannuation Fund Pty Ltd (AFSL 238 718, ABN 14 008 650 628), the trustee of Spirit Super (ABN 74 559 365 913). Advice is provided by Quadrant First Pty Ltd (ABN 78 102 167 877, AFSL 284443)."]})},yy=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,by="Unisuper",_y="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",wy="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",Xi={fundId:"unisuper-default",name:by,logo:yy,iframeType:"PromotedFundJoinV2",features:[v("p",{children:"Low fees, better value – Our fees are among the lowest in the industry.^"}),v("p",{children:"Strong, long-term performance – We regularly exceed industry averages.*"}),R("p",{children:["Award winning super – Continually recognised as one of Australia’s best-performing funds.",v("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{children:["^Read more about our fees and how we compare"," ",v(L,{link:"https://www.unisuper.com.au/super/products-and-fees",children:"here"}),"."]}),R("p",{children:["*Past performance is not an indicator of future performance. Read more about our performance and how we compare"," ",v(L,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),R("p",{children:[v("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",v(L,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),R("p",{children:["Remember to consider the"," ",v(L,{link:_y,onClick:()=>Y(Xi),children:"Product Disclosure Statement"})," ","and ",v(L,{link:wy,children:"Target Market Determination"})," that is relevant to you."]}),v("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},Sy=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,Cy=""+new URL("assets/unisuper-default-badge1-CC2-KRH2.svg",import.meta.url).href,Ey=""+new URL("assets/unisuper-default-badge2-CqUa_Zky.svg",import.meta.url).href,xy=""+new URL("assets/unisuper-default-badge3-B7j1-pyZ.svg",import.meta.url).href,Vr="Unisuper",ky="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",Ty="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",Zi={fundId:"unisuper-default-v2",name:Vr,logo:Sy,iframeType:"PromotedFundJoinV2",features:[v("p",{children:"Low fees, better value – Our fees are among the lowest in the industry.^"}),v("p",{children:"Strong, long-term performance – We regularly exceed industry averages.*"}),R("p",{children:["Award winning super – Continually recognised as one of Australia’s best-performing funds.",v("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],customContent:R("div",{css:{marginTop:"1.5rem",display:"flex",gap:"0.75rem"},children:[v("div",{children:v("img",{alt:Vr,src:Cy})}),v("div",{children:v("img",{alt:Vr,src:Ey})}),v("div",{children:v("img",{alt:Vr,src:xy})})]}),disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{children:["^Read more about our fees and how we compare"," ",v(L,{link:"https://www.unisuper.com.au/super/products-and-fees",children:"here"}),"."]}),R("p",{children:["*Past performance is not an indicator of future performance. Read more about our performance and how we compare"," ",v(L,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),R("p",{children:[v("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",v(L,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),R("p",{children:["Remember to consider the"," ",v(L,{link:ky,onClick:()=>Y(Zi),children:"Product Disclosure Statement"})," ","and ",v(L,{link:Ty,children:"Target Market Determination"})," that is relevant to you."]}),v("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},Ry=""+new URL("assets/logo-virgin-Dg0nHidv.svg",import.meta.url).href,Ay="Virgin Money Super",eo={fundId:"virgin",name:Ay,logo:Ry,iframeType:"PromotedFundJoinV2",features:[R("p",{children:["Returns above industry and retail super fund medians over the past 5 years",v("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),v("p",{children:"One of the lowest fees in the market"}),R("p",{children:["Virgin Money rewards you with Velocity Points on your contributions",v("sup",{css:{fontSize:"0.625rem"},children:"2"})]})],featureSubText:v("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:R("ol",{css:{listStyleType:"decimal","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[v("li",{children:v("span",{children:"Past performance is not a reliable indicator of future performance. Source: SuperRatings Fund Crediting Rate Survey April 2022."})}),v("li",{children:v("span",{children:v(L,{css:{fontWeight:"400"},link:"https://virginmoney.com.au/superannuation/forms-and-key-information/key-documents",children:"Eligibility and T&Cs apply"})})})]})}),disclaimer:R("p",{children:["Prepared by Virgin Money Financial Services Pty Ltd ABN 51 113 285 395 AFSL 286869 (‘Virgin Money’). Virgin Money Super is a plan in the Mercer Super Trust ABN 19 905 422 981. Virgin Money Super is issued by Mercer Superannuation (Australia) Limited (MSAL) ABN 79 004 717 533 AFSL 235906 as trustee of the Mercer Super Trust. Consider the PDS and TMD at"," ",v(L,{link:"https://virginmoney.com.au/superannuation/",onClick:()=>Y(eo),children:"www.virginmoney.com.au"})," ","before making a decision"]}),extraBadge:v("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},children:"Low fees"})},Oy=e=>{switch(e.fundId){case ji.fundId:return{...ji,fundType:e.type};case sr.fundId:return{...sr,fundType:e.type};case zi.fundId:return{...zi,fundType:e.type};case Hi.fundId:return{...Hi,fundType:e.type};case Wi.fundId:return{...Wi,fundType:e.type};case qi.fundId:return{...qi,fundType:e.type};case Vi.fundId:return{...Vi,fundType:e.type};case Gi.fundId:return{...Gi,fundType:e.type};case Qi.fundId:return{...Qi,fundType:e.type};case Yi.fundId:return{...Yi,fundType:e.type};case Ki.fundId:return{...Ki,fundType:e.type};case _n.fundId:return{..._n,fundType:e.type};case Ji.fundId:return{...Ji,fundType:e.type};case Xi.fundId:return{...Xi,fundType:e.type};case Zi.fundId:return{...Zi,fundType:e.type};case eo.fundId:return{...eo,fundType:e.type}}return Ne("Fund ID was not mapped from the Campaign Connect response.",{fund:e}),null},Zu=e=>(e==null?void 0:e.flatMap(t=>Oy(t)??[]))??[],el=()=>/iPad|iPhone|iPod/.test(navigator.userAgent),tl=()=>/Android/.test(navigator.userAgent),Iy=()=>tl()?"Android":el()?"iOS":"Unknown",Py=()=>{const e=navigator.userAgent;let t;const r=e.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];return/trident/i.test(r[1])?(t=/\brv[ :]+(\d+)/g.exec(e)||[],"IE "+(t[1]||"")):r[1]==="Chrome"&&(t=e.match(/\bOPR\/(\d+)/),t!=null)?"Opera "+t[1]:r[1]==="Safari"&&(t=e.match(/version\/(\d+)/i),t!=null)?"Safari "+t[1]:r[1]+" "+r[2]},Ly=()=>{const e=tl()||el()?"Mobile":"Desktop",t=e==="Mobile"?Iy():"N/A",r=Py();return{deviceType:e,platform:t,browser:r}};class Jt extends Error{}Jt.prototype.name="InvalidTokenError";function Ny(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,r)=>{let n=r.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function My(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return Ny(t)}catch{return atob(t)}}function Fy(e,t){if(typeof e!="string")throw new Jt("Invalid token specified: must be a string");t||(t={});const r=t.header===!0?0:1,n=e.split(".")[r];if(typeof n!="string")throw new Jt(`Invalid token specified: missing part #${r+1}`);let i;try{i=My(n)}catch(o){throw new Jt(`Invalid token specified: invalid base64 for part #${r+1} (${o.message})`)}try{return JSON.parse(i)}catch(o){throw new Jt(`Invalid token specified: invalid json for part #${r+1} (${o.message})`)}}const Dy=e=>Fy(e).sub,$y=(e,t)=>{let r=0;for(const n of t)if(r+=n.percentage,e<r)return n.variantName;return t[0].variantName},By=(e,t)=>{if(t.splitType==="percentage"){const r=parseInt(e.replace(/[^A-F0-9]/gi,""),16),n=t.variants.reduce((a,s)=>a+s.percentage,0),i=r%n;return $y(i,t.variants)}return t.variants[0].variantName},rl=e=>{if(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const r=t,n=e[r];if(!n.shouldRun||n.shouldRun(St.getState())){const i=Dy(St.getState().session.accessToken||""),o=By(i,n);if(o){St.dispatch(Vp({experimentName:r,selectedVariant:o}));const{deviceType:a,browser:s,platform:c}=Ly();St.dispatch(rr.endpoints.segmentTrack.initiate({event:"$experiment_started",properties:{"Experiment name":r,"Variant name":o,deviceType:a,platform:c,browser:s}}))}}}}},Uy=()=>{const[e]=Wp(),[t,r]=Ie(!1),n=Ir();if(G(()=>{Zp(),Xp()},[]),t)return v($t,{});const i=async()=>{r(!0),Jp();const{data:o,isSuccess:a,status:s}=await e();if(!a){Ne("Backend service call failed.",{isSuccess:a,status:s}),r(!1);return}const c=o==null?void 0:o.promotedFunds.filter(d=>d.type==="defined-benefits");if(o.hasDefinedBenefitsEligibility&&(c==null?void 0:c.length)>0){n(uu({fundId:c[0].fundId,fundType:c[0].type,iframeType:"PromotedFundJoinV2"}));return}n(Qp(o.promotedFunds)),Zu(o.promotedFunds||[]).forEach(d=>{d.experiments&&rl(d.experiments)})};return R("div",{children:[v("div",{css:{textAlign:"center",fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.875rem",lineHeight:"2.25rem"}},children:"Important information about super"}),v("div",{css:{marginTop:"0.75rem",maxWidth:"800px",textAlign:"center",lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))","@media (min-width: 640px)":{marginTop:"1rem",fontSize:"1.125rem",lineHeight:"2rem"}},children:"The choice of superannuation fund is an important personal financial decision. Next, you’ll be asked to nominate a super fund to receive your employer contributions."}),v("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children:R("div",{css:{maxWidth:"560px",borderRadius:"0.5rem",borderWidth:"1px",padding:"1rem",paddingBottom:"1.5rem","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)","@media (min-width: 640px)":{padding:"1.5rem",paddingBottom:"2rem"}},children:[v("div",{css:{fontWeight:"700",lineHeight:"1.5rem","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"1.75rem"}},children:"By clicking “Continue” you acknowledge that:"}),R("ul",{css:{marginBottom:"1.5rem",marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem"},children:[v("li",{children:"Flare (we/us) provides this paperless employee management service, will feature superannuation funds and offer you employee benefits that you may be interested in;"}),v("li",{children:"all content contained in the following pages does not take into account any of your objectives, financial situation or needs and does not constitute financial product advice;"}),v("li",{children:"in featuring any superannuation funds, we, the technology partner you are accessing us via, or your employer, are not providing any opinion or recommendation (actual or implied) in relation to the suitability or appropriateness of the featured funds;"}),v("li",{children:"Trustees of the featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others pay us to have their application form on our platform;"}),v("li",{children:"in the event that you choose one of the featured superannuation funds, we may pass on your personal information and TFN to a related party for the purpose of completing your chosen fund's application form."}),R("li",{children:["Your personal data that is provided to us will be subject to our"," ",v(L,{css:{"--tw-text-opacity":"1",color:"rgb(37 99 235 / var(--tw-text-opacity))",textDecorationLine:"none",":hover":{"--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"}},link:"https://www.flarehr.com/privacy-policy",children:"Privacy Policy"}),"."]})]}),v(Io,{fillWidth:!0,onClick:()=>i(),children:"Continue"})]})})]})},jy=(e,t)=>{window.parent.postMessage(e,t===void 0?"*":t)},nl=e=>{jy({type:"pageNavigated",url:e,sender:"flare"})},zy=()=>{const e=window.location.hostname.toLowerCase().split(".")[0];switch(e){case"autodev-partner":case"test-partner":case"partner":case"sandbox-partner":return e.replace("partner","");default:return"autodev-"}},Hy=`https://${zy()}api.simplefinancialchoices.com/promoted-funds/embed`,Gr=e=>e.replace(/ /g,""),Xe=e=>!(typeof e=="string"&&e.trim().length>0),Wy=()=>{const e=Ce(s=>s.state.selectedFund),t=Ce(s=>s.session.accessToken),r=Ir(),n=ot.endpoints.campaignConnect.useQueryState().data;if(!e||!t||!n)return Ne("PfjIFrame was in an inconsistent state and the user was redirected to the three panel.",{fund:e,data:n?"Not null":"Null",authToken:t?"Not null":"Null"}),r(be()),v($t,{});const i={authToken:t,employerDefault:e.fundType==="promoted-default",fundId:e.fundId,accountId:n.userProfile.accountId,partnerId:n.userProfile.partnerId,title:n.userProfile.title??"",firstName:n.userProfile.firstName,middleName:n.userProfile.middleName,lastName:n.userProfile.lastName,dateOfBirth:n.userProfile.dateOfBirth??"",mobilePhone:n.userProfile.mobilePhone??"",email:n.userProfile.email,gender:n.userProfile.gender??"",taxFileNumber:n.userProfile.tfn??"",addressLine1:n.userProfile.address.addressLine1,addressLine2:n.userProfile.address.addressLine2??"",city:n.userProfile.address.city,state:n.userProfile.address.state,postCode:n.userProfile.address.postcode},o=Cr();G(()=>{var c;const s=(c=o.current)==null?void 0:c.contentDocument;if(s){s.open();const u=s.createElement("form");u.method="POST",u.target="_self",u.action=Hy;let d;for(d in i){const l=i[d];if(l!==void 0){const p=document.createElement("input");p.name=d,p.type="hidden",typeof l=="boolean"?p.value=l?"true":"false":p.value=l,u.append(p)}}s.appendChild(u),s.close(),u.submit()}},[o]);const a=async s=>{const{data:c}=s;if(c.sender==="promoted-fund-redirect"){switch(window.removeEventListener("message",a),c.type){case"cancel":r(be());break;case"success-promoted":{if(Xe(c.memberNumber)||Xe(c.usi)){Ne("Bad response from PFJ",{type:c.type,memberNumber:c.memberNumber,usi:c.usi}),r(be());break}Ct({fundType:"Promoted",fundId:e.fundId,usi:Gr(c.usi),memberNumber:c.memberNumber,memberFirstName:c.memberFirstName,memberFamilyName:c.memberFamilyName});break}case"success-promoted-default":{if(Xe(c.usi)){Ne("Bad response from PFJ",{type:c.type,usi:c.usi}),r(be());break}Ct({fundType:"PromotedDefault",fundId:c.fundId,usi:Gr(c.usi)});break}case"success-promoted-default-with-join":{if(Xe(c.memberNumber)||Xe(c.usi)){Ne("Bad response from PFJ",{type:c.type,memberNumber:c.memberNumber,usi:c.usi}),r(be());break}Ct({fundType:"PromotedDefaultWithJoin",fundId:e.fundId,usi:Gr(c.usi),memberNumber:c.memberNumber,memberFirstName:c.memberFirstName,memberFamilyName:c.memberFamilyName});break}case"success-defined-benefits":{if(Xe(c.memberNumber)||Xe(c.usi)){Ne("Bad response from PFJ",{type:c.type,memberNumber:c.memberNumber,usi:c.usi}),r(be());break}Ct({fundType:"DefinedBenefits",fundId:c.fundId,usi:Gr(c.usi),memberNumber:c.memberNumber,memberElectContributionRatePreTax:c.memberElectContributionRatePreTax,memberElectContributionRatePostTax:c.memberElectContributionRatePostTax});break}}r(be())}if(c.sender==="promoted-fund-join"){const u=o.current;if(!u)return;switch(c.type){case"contentResized":u.height=c.height>0?String(c.height):u.height,u.width=c.width>0?String(c.width):u.width;break;case"pageNavigated":window.scroll(u.offsetLeft,u.offsetTop),nl(window.location.href);break}}};return window.addEventListener("message",a),v("div",{css:{width:"100vw"},children:v("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},qy=()=>window.location.origin.includes("localhost")?"autodev-partner":window.location.hostname.toLowerCase().split(".")[0],Vy=`https://${qy()}.flarehr.com/promoted-fund-join/embed/v1.0/web`,Gy=()=>{const e=Ce(s=>s.session.accessToken),t=Ce(s=>s.state.selectedFund),r=Ir(),n=ot.endpoints.campaignConnect.useQueryState().data;if(!n||!t)return Ne("PfjV1IFrame was in an inconsistent state and the user was redirected to the three panel.",{fund:t,data:n?"Not null":"Null"}),r(be()),v($t,{});const i={authToken:e??"",fundId:t.fundId,partnerId:n.userProfile.partnerId,accountId:n.userProfile.accountId,title:n.userProfile.title??"",firstName:n.userProfile.firstName,middleName:n.userProfile.middleName,lastName:n.userProfile.lastName,dateOfBirth:n.userProfile.dateOfBirth??"",mobilePhone:n.userProfile.mobilePhone??"",email:n.userProfile.email,gender:n.userProfile.gender??"",taxFileNumber:n.userProfile.tfn??"",addressLine1:n.userProfile.address.addressLine1,addressLine2:n.userProfile.address.addressLine2??"",city:n.userProfile.address.city,state:n.userProfile.address.state,postCode:n.userProfile.address.postcode},o=Cr();G(()=>{var c;const s=(c=o.current)==null?void 0:c.contentDocument;if(s){s.open();const u=s.createElement("form");u.method="POST",u.target="_self",u.action=Vy;let d;for(d in i){const l=i[d];if(l!==void 0){const p=document.createElement("input");p.type="hidden",p.name=d,p.value=l,u.append(p)}}s.appendChild(u),s.close(),u.submit()}},[o]);const a=async s=>{const{data:c}=s;if(c.sender==="promoted-fund-redirect"){switch(window.removeEventListener("message",a),c.type){case"success":{c.memberNumber&&Ct({fundType:"Promoted",fundId:t.fundId,usi:c.usi.replace(/ /g,""),memberNumber:c.memberNumber});break}default:r(be());break}return}if(c.sender==="promoted-fund-join"){const u=o.current;if(!u)return;switch(c.type){case"contentResized":u.height=c.height>0?String(c.height):u.height,u.width=c.width>0?String(c.width):u.width;break;case"pageNavigated":window.scroll(u.offsetLeft,u.offsetTop),nl(window.location.href);break}}};return window.addEventListener("message",a),v("div",{css:{width:"100vw"},children:v("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},Qy="interop-mode",Yy="react-native",vs=()=>new URLSearchParams(window.location.search).get(Qy)===Yy,il=()=>{const e=window.location.hostname.toLowerCase().split(".")[0];switch(e){case"autodev-partner":case"test-partner":case"partner":return e.replace("partner","");default:return"autodev-"}},gs=`https://${il()}join.slatesuper.com.au/confirm`,ys=`https://${il()}partner.flarehr.com/super-selection/embed/v1.0/app/slate-redirect.html`,Ky=e=>{switch(e){case"Male":return"Male";case"Female":return"Female";case"Intersex":return"Intersex/Indeterminate";default:return"Unknown"}},Jy=()=>{const e=Ce(s=>s.session.accessToken),t=Ir(),r=ot.endpoints.campaignConnect.useQueryState().data;if(!r)return Ne("SlateIFrame was in an inconsistent state and the user was redirected to the three panel.",{data:r?"Not null":"Null"}),t(be()),v($t,{});const i={authToken:!gs.match(/autodev|sandbox/)?e:void 0,successRedirectUrl:ys,cancelRedirectUrl:ys,skipConsolidation:vs()?"true":"false",skipInsurance:vs()?"true":"false",firstName:r.userProfile.firstName,middleName:r.userProfile.middleName,lastName:r.userProfile.lastName,dateOfBirth:r.userProfile.dateOfBirth??"",mobilePhone:r.userProfile.mobilePhone??"",email:r.userProfile.email,gender:Ky(r.userProfile.gender),taxFileNumber:r.userProfile.tfn??"",addressLine1:r.userProfile.address.addressLine1,addressLine2:r.userProfile.address.addressLine2??"",city:r.userProfile.address.city,state:r.userProfile.address.state,postCode:r.userProfile.address.postcode},o=Cr();G(()=>{var c;const s=(c=o.current)==null?void 0:c.contentDocument;if(s){s.open();const u=s.createElement("form");u.method="POST",u.target="_self",u.action=gs;let d;for(d in i){const l=i[d];if(l!==void 0){const p=document.createElement("input");p.type="hidden",p.name=d,p.value=l,u.append(p)}}s.appendChild(u),s.close(),u.submit()}},[o]);const a=async s=>{const{data:c}=s;if(c.sender==="slate-redirect"){switch(window.removeEventListener("message",a),c.type){case"success":{Ct({fundType:"Promoted",fundId:_n.fundId,usi:Po,memberNumber:c.memberNumber});break}default:t(be());break}return}if(c.sender==="flare")switch(c.type){case"contentResized":{const u=o.current;if(!u)return;u.height=c.height>0?String(c.height):u.height,u.width=c.width>0?String(c.width):u.width;break}}};return window.addEventListener("message",a),v("div",{css:{width:"100vw"},children:v("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},Xy=({size:e,...t})=>v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#22c55e",width:e?e*4:"100%",...t,children:v("path",{"fill-rule":"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z","clip-rule":"evenodd"})}),bs={Check:Xy},Zy=({name:e,logo:t,coverImage:r,extraBadge:n,isPromotedDefault:i,isMultiFund:o})=>{const a=Ce(u=>u.experimentsData),s=R(it,{children:[R("div",{css:{marginRight:"-0.5rem",marginTop:"-1.25rem",textAlign:"right"},children:[n,i&&v("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(219 234 254 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"},children:"Employer Default"}),v("span",{css:{marginRight:"0.125rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(31 41 55 / var(--tw-text-opacity))"},children:"Featured"})]}),R("div",{css:[{marginTop:"0.5rem",display:"flex","@media (min-width: 768px)":{marginTop:"0px"},"@media (min-width: 1024px)":{display:"block"}},o&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:[v("img",{css:[{height:"3rem",width:"80px",objectFit:"contain","@media (min-width: 768px)":{display:"none",height:"3.5rem",width:"96px"},"@media (min-width: 1024px)":{height:"4rem",width:"140px",objectPosition:"left"}},o&&{"@media (min-width: 1024px)":{display:"block"}}],alt:e,src:t}),v("div",{css:{display:"grid",alignContent:"center"},children:v("p",{css:[{marginLeft:"1rem",fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","@media (min-width: 768px)":{marginBottom:"0px",marginLeft:"0px",fontSize:"1.125rem",lineHeight:"1.75rem"}},o&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:e})})]})]}),c=R(it,{children:[R("div",{css:{marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"4rem",alignItems:"center",justifyContent:"space-between"},children:[v("img",{css:[{width:"100px"}],alt:e,src:t}),R("div",{children:[n,i&&v("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(219 234 254 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"},children:"Employer Default"}),v("span",{css:{marginRight:"0.125rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(31 41 55 / var(--tw-text-opacity))"},children:"Featured"})]})]}),v("img",{css:[{width:"100%"},o&&{"@media (min-width: 1024px)":{display:"block"}}],alt:e,src:r})]});return v(it,{children:a.selectedVariants["mercermychoice-image-tile"]==="image-tile"?c:s})},eb=({features:e,featureSubText:t,customContent:r,name:n})=>{const i=Ce(s=>s.experimentsData),o=R(it,{children:[v("div",{css:{marginTop:"1rem","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.25rem","@media (min-width: 640px)":{marginTop:"0.5rem"}},children:e.map(s=>R("div",{css:{display:"flex"},children:[v("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:v(bs.Check,{alt:"checked"})}),v("div",{css:{lineHeight:"1.25rem"},children:s})]}))}),t&&v("p",{css:{marginTop:"1rem",fontSize:"0.75rem",lineHeight:"1rem",fontStyle:"italic","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:t}),r]}),a=R(it,{children:[R("div",{css:{padding:"1.5rem",paddingBottom:"0px"},children:[v("div",{css:[{fontSize:"1.125rem",lineHeight:"1.75rem",fontWeight:"700"}],children:n}),e.map(s=>R("div",{css:{marginTop:"0.5rem",display:"flex"},children:[v("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:v(bs.Check,{alt:"checked"})}),v("div",{css:{fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"400"},children:s})]}))]}),t&&v("p",{css:{marginTop:"1rem",fontSize:"0.75rem",lineHeight:"1rem",fontStyle:"italic","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:t}),r]});return v(it,{children:i.selectedVariants["mercermychoice-image-tile"]==="image-tile"?a:o})},tb=({name:e,logo:t,coverImage:r,features:n,featureSubText:i,isMultiFund:o,isPromotedDefault:a,extraBadge:s,customContent:c})=>{const u=Ce(d=>d.experimentsData);return R("div",{css:[{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem"},u.selectedVariants["mercermychoice-image-tile"]==="image-tile"&&{padding:"0px"}],children:[v(Zy,{name:e,logo:t,coverImage:r,isMultiFund:o,extraBadge:s,isPromotedDefault:a}),v(eb,{name:e,features:n,customContent:c,featureSubText:i})]})},_s=({isActive:e,children:t,onClick:r})=>v("div",{css:[{display:"block",height:"100%",width:"auto",borderRadius:"0.375rem",paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"500","--tw-ring-offset-width":"1px",":focus":{zIndex:"10",outline:"2px solid transparent",outlineOffset:"2px","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-color":"var(--fl-color-primary-focus)"},"@media (min-width: 640px)":{paddingLeft:"2rem",paddingRight:"2rem"}},e&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",color:"var(--fl-color-primary)","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},!e&&{"--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))",":hover":{backgroundColor:"var(--fl-color-primary-hover)"}},{cursor:"pointer"}],onClick:r,children:t}),rb=()=>v("div",{css:{display:"flex",justifyContent:"center"},children:R("div",{css:{maxWidth:"800px",textAlign:"center"},children:[v("h3",{css:{marginBottom:"0.75rem",fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","@media (min-width: 640px)":{marginBottom:"1rem",fontSize:"1.875rem",lineHeight:"2.25rem"}},children:"Nominate a super fund"}),R(it,{children:[v("div",{css:{lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"2rem"}},children:"You can choose any super fund, including your current fund/SMSF, your employer’s default fund, or alternatively, you can select from one of the featured funds."}),R("div",{css:{marginTop:"2rem",display:"inline-flex",whiteSpace:"normal",borderRadius:"0.5rem",backgroundColor:"var(--fl-color-primary)",padding:"0.125rem","@media (min-width: 640px)":{marginTop:"3rem"}},children:[v(_s,{isActive:!0,children:"Featured super funds"}),v(_s,{onClick:()=>Pi(),children:"Choose another fund"})]})]})]})}),ws=({fund:e,isMultiFund:t})=>{const r=Ir(),n=Ce(({experimentsData:i})=>i);return R("div",{css:{display:"flex",height:"100%",flexDirection:"column",justifyContent:"space-between",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem",paddingBottom:"1.5rem"},children:[R("div",{children:[v("div",{css:[{"@media (min-width: 768px)":{maxWidth:"240px"}},t&&{"@media (min-width: 1024px)":{maxWidth:"100%"}},n.selectedVariants["mercermychoice-image-tile"]==="image-tile"&&{"@media (min-width: 768px)":{maxWidth:"100%"}}],children:v(Io,{fillWidth:!0,onClick:()=>{Kp(e),r(uu({fundId:e.fundId,fundType:e.fundType,iframeType:e.iframeType}))},children:"Choose this fund"})}),v("div",{css:{marginTop:"1.5rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:e.disclaimer})]}),e.abnInfo&&e.abn&&R("div",{css:{marginTop:"0.5rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:[R("p",{children:["Issued by ",e.abnInfo,"."]}),R("p",{children:["ABN: ",e.abn]})]})]})},nb="https://my.gov.au",ib="www.my.gov.au",ob="https://www.apra.gov.au/register-of-superannuation-institutions",ab="www.apra.gov.au",sb=()=>{const[e,t]=Ce(i=>[i.state.funds,i.experimentsData]),r=Zu(e??[]);G(()=>{Yp(r)},[]);const n=r.length>1;return R("div",{children:[v(rb,{}),R("div",{css:{marginTop:"2rem",textAlign:"center",fontSize:"0.875rem",lineHeight:"1.5rem"},children:[v("p",{css:{lineHeight:"1.5rem"},children:"Not ready to join a new fund, or want to nominate another super fund?"}),v("div",{onClick:()=>Pi(),children:R("span",{css:{marginTop:"0.75rem",display:"inline-block",cursor:"pointer",fontWeight:"500",color:"var(--fl-color-primary)"},children:["Skip Featured Funds ",v("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",css:{display:"inline",height:"1.25rem",width:"1.25rem",fill:"var(--fl-color-primary)",".group:hover &":{fill:"#fff"}},children:v("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3"})})]})})]}),v("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center"},children:R("div",{css:[{borderRadius:"0.5rem",borderLeftWidth:"1px",borderTopWidth:"1px","@media (min-width: 1024px)":{display:"grid",borderBottomWidth:"1px"}},r.length===1&&{maxWidth:"720px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(1, minmax(0, 1fr))"}},r.length===2&&{maxWidth:"720px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(2, minmax(0, 1fr))"}},r.length===3&&{maxWidth:"960px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(3, minmax(0, 1fr))"}}],children:[r.map((i,o)=>v("div",{css:[{borderRightWidth:"1px"},o===0&&{borderTopRightRadius:"0.5rem"},o===0&&o!==r.length-1&&{"@media (min-width: 1024px)":{borderTopRightRadius:"0px"}},o===r.length-1&&{borderBottomRightRadius:"0.5rem","@media (min-width: 1024px)":{borderBottomRightRadius:"0px",borderTopRightRadius:"0.5rem"}}],children:R("div",{css:[{display:"flex",borderBottomWidth:"1px","@media (min-width: 1024px)":{borderBottomWidth:"0px"}},o===r.length-1&&{borderBottomRightRadius:"0.5rem",borderBottomLeftRadius:"0.5rem"}],children:[v("div",{css:[{display:"none",width:"9rem",justifyContent:"center",paddingLeft:"1.5rem",paddingTop:"1.5rem","@media (min-width: 768px)":{display:"flex"}},n&&{"@media (min-width: 1024px)":{display:"none"}},t.selectedVariants["mercermychoice-image-tile"]==="image-tile"&&{"@media (min-width: 768px)":{display:"none"}}],children:v("img",{css:{height:"4rem",width:"100%",maxWidth:"96px",objectFit:"contain"},alt:i.name,src:i.logo})}),R("div",{css:[{width:"100%"},t.selectedVariants["mercermychoice-image-tile"]==="image-tile"&&{minWidth:"286px",maxWidth:"480px"}],children:[v(tb,{logo:i.logo,name:i.name,coverImage:i.coverImage,features:i.features,featureSubText:i.featureSubText,isMultiFund:n,isPromotedDefault:i.fundType==="promoted-default",extraBadge:i.extraBadge,customContent:i.customContent}),v("div",{css:[n&&{"@media (min-width: 1024px)":{display:"none"}}],children:v(ws,{fund:i,isMultiFund:n})})]})]})})),r.map((i,o)=>v("div",{css:[{display:"none",borderRightWidth:"1px"},n&&{"@media (min-width: 1024px)":{display:"block"}},o===r.length-1&&{borderBottomRightRadius:"0.5rem"}],children:v(ws,{fund:i,isMultiFund:n})}))]})}),v("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children:R("div",{css:{maxWidth:"720px",borderBottomWidth:"1px",paddingBottom:"2rem","@media (min-width: 640px)":{paddingBottom:"3rem"}},children:[v("h5",{css:{fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"1.75rem"}},children:"Or, choose another super fund:"}),R("ul",{css:{marginBottom:"1.5rem",marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem","@media (min-width: 640px)":{fontSize:"1rem",lineHeight:"1.5rem"}},children:[v("li",{children:"Select this option if you'd like to use your current account with another super fund, your self-managed super fund, or your employer's default fund."}),R("li",{children:["If you are unsure of your current super fund details, you can find out at"," ",v(L,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:nb,children:ib})]}),R("li",{children:["A full list of super funds can be viewed at"," ",v(L,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:ob,children:ab})]})]}),v(Io,{fillWidthOnMobile:!0,onClick:()=>Pi(),children:"Choose another super fund"})]})}),v("div",{css:{display:"flex",justifyContent:"center"},children:R("div",{css:{maxWidth:"720px",paddingTop:"2rem","@media (min-width: 640px)":{paddingTop:"3rem"}},children:[v("h5",{css:{fontWeight:"600"},children:"IMPORTANT INFORMATION:"}),R("ul",{css:{marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem"},children:[v("li",{children:"The superannuation funds featured above are for your information only. The order, position and placement of content should not be interpreted as an opinion or recommendation (actual or implied) by Flare as to the suitability or appropriateness of any superannuation fund for you. In featuring these superannuation funds, Flare has not taken into account your objectives, financial situation or needs."}),v("li",{children:"This is not a comparison service. This page contains factual information only and does not constitute either general or personal advice about any financial products. We do not take into account your objectives, financial situation or needs. If you have questions or need help making a decision about your superannuation fund, you should speak to a licensed financial product advice provider."}),v("li",{children:"Flare, the technology partner you are accessing Flare via and your employer do not endorse or accept responsibility for any financial product advice or services provided by the promoters or trustees of the featured superannuation funds. Flare does not endorse or accept responsibility for any of the content shown about any of the featured superannuation funds."}),v("li",{children:"You should consider the relevant superannuation fund’s PDS and TMD (if applicable) in deciding whether to apply to join the superannuation fund. Each of the superannuation funds featured above include a link to their PDS and TMD (if applicable) for your convenience. If you are considering joining another superannuation fund, you can typically find the PDS and TMD (if applicable) on that fund’s website."}),v("li",{children:"You should be aware that the trustees of featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others pay us to have their application form on our platform."})]})]})})]})},cb=sn.div({display:"flex",justifyContent:"center"}),ub=()=>{const{funds:e,selectedFund:t}=Ce(i=>i.state),[r]=Hp();return G(()=>{r()},[]),v(cb,{children:(()=>{if(t){if(t.iframeType==="PromotedFundJoinV2")return v(Wy,{});if(t.iframeType==="SlateJoin")return v(Jy,{});if(t.iframeType==="PromotedFundJoinV1")return v(Gy,{})}else if(e)return v(sb,{});return v(Uy,{})})()})},lb=()=>v(Rd,{styles:Ad`*, ::before, ::after {
16
+ */var Wr=Kp;function Jp(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Xp=typeof Object.is=="function"?Object.is:Jp,Zp=Wr.useSyncExternalStore,em=Wr.useRef,tm=Wr.useEffect,rm=Wr.useMemo,nm=Wr.useDebugValue;Pu.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var o=em(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=rm(function(){function c(l){if(!u){if(u=!0,p=l,l=n(l),i!==void 0&&a.hasValue){var m=a.value;if(i(m,l))return f=m}return f=l}if(m=f,Xp(p,l))return m;var h=n(l);return i!==void 0&&i(m,h)?m:(p=l,f=h)}var u=!1,p,f,d=r===void 0?null:r;return[function(){return c(t())},d===null?void 0:function(){return c(d())}]},[t,r,n,i]);var s=Zp(e,o[0],o[1]);return tm(function(){a.hasValue=!0,a.value=s},[s]),nm(s),s};Ou.exports=Pu;var im=Ou.exports,ye="default"in Cr?$c:Cr,Ts=Symbol.for("react-redux-context"),Rs=typeof globalThis<"u"?globalThis:{};function om(){if(!ye.createContext)return{};const e=Rs[Ts]??(Rs[Ts]=new Map);let t=e.get(ye.createContext);return t||(t=ye.createContext(null),e.set(ye.createContext,t)),t}var it=om(),am=()=>{throw new Error("uSES not initialized!")};function ea(e=it){return function(){return ye.useContext(e)}}var Iu=ea(),Lu=am,sm=e=>{Lu=e},cm=(e,t)=>e===t;function um(e=it){const t=e===it?Iu:ea(e);return function(n,i={}){const{equalityFn:o=cm,devModeChecks:a={}}=typeof i=="function"?{equalityFn:i}:i,{store:s,subscription:c,getServerState:u,stabilityCheck:p,identityFunctionCheck:f}=t();ye.useRef(!0);const d=ye.useCallback({[n.name](m){return n(m)}}[n.name],[n,p,a.stabilityCheck]),l=Lu(c.addNestedSub,s.getState,u||s.getState,d,o);return ye.useDebugValue(l),l}}var Nu=um();function Mu(e){e()}function lm(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Mu(()=>{let r=e;for(;r;)r.callback(),r=r.next})},get(){let r=[],n=e;for(;n;)r.push(n),n=n.next;return r},subscribe(r){let n=!0,i=t={callback:r,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!n||e===null||(n=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var As={notify(){},get:()=>[]};function dm(e,t){let r,n=As,i=0,o=!1;function a(h){p();const v=n.subscribe(h);let b=!1;return()=>{b||(b=!0,v(),f())}}function s(){n.notify()}function c(){m.onStateChange&&m.onStateChange()}function u(){return o}function p(){i++,r||(r=t?t.addNestedSub(c):e.subscribe(c),n=lm())}function f(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=As)}function d(){o||(o=!0,p())}function l(){o&&(o=!1,f())}const m={addNestedSub:a,notifyNestedSubs:s,handleChangeWrapper:c,isSubscribed:u,trySubscribe:d,tryUnsubscribe:l,getListeners:()=>n};return m}var fm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",pm=fm?ye.useLayoutEffect:ye.useEffect;function Os(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function Pn(e,t){if(Os(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let i=0;i<r.length;i++)if(!Object.prototype.hasOwnProperty.call(t,r[i])||!Os(e[r[i]],t[r[i]]))return!1;return!0}function mm({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const a=ye.useMemo(()=>{const u=dm(e);return{store:e,subscription:u,getServerState:n?()=>n:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,n,i,o]),s=ye.useMemo(()=>e.getState(),[e]);pm(()=>{const{subscription:u}=a;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),s!==e.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[a,s]);const c=t||it;return ye.createElement(c.Provider,{value:a},r)}var hm=mm;function Fu(e=it){const t=e===it?Iu:ea(e);return function(){const{store:n}=t();return n}}var Du=Fu();function vm(e=it){const t=e===it?Du:Fu(e);return function(){return t().dispatch}}var Bu=vm(),gm=Mu;sm(im.useSyncExternalStoreWithSelector);function Ps(e,t,r,n){const i=de(()=>({queryArgs:e,serialized:typeof e=="object"?t({queryArgs:e,endpointDefinition:r,endpointName:n}):e}),[e,t,r,n]),o=Ce(i);return te(()=>{o.current.serialized!==i.serialized&&(o.current=i)},[i]),o.current.serialized===i.serialized?o.current.queryArgs:e}var _i=Symbol();function Si(e){const t=Ce(e);return te(()=>{Pn(t.current,e)||(t.current=e)},[e]),Pn(t.current,e)?t.current:e}var Rt=WeakMap?new WeakMap:void 0,ym=({endpointName:e,queryArgs:t})=>{let r="";const n=Rt==null?void 0:Rt.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,a)=>ze(a)?Object.keys(a).sort().reduce((s,c)=>(s[c]=a[c],s),{}):a);ze(t)&&(Rt==null||Rt.set(t,i)),r=i}return`${e}(${r})`},bm=typeof window<"u"&&window.document&&window.document.createElement?_t:te,wm=e=>e.isUninitialized?{...e,isUninitialized:!1,isFetching:!0,isLoading:e.data===void 0,status:Eu.pending}:e;function _m({api:e,moduleOptions:{batch:t,hooks:{useDispatch:r,useSelector:n,useStore:i},unstable__sideEffectsInRender:o},serializeQueryArgs:a,context:s}){const c=o?l=>l():te;return{buildQueryHooks:f,buildMutationHook:d,usePrefetch:p};function u(l,m,h){if(m!=null&&m.endpointName&&l.isUninitialized){const{endpointName:E}=m,C=s.endpointDefinitions[E];a({queryArgs:m.originalArgs,endpointDefinition:C,endpointName:E})===a({queryArgs:h,endpointDefinition:C,endpointName:E})&&(m=void 0)}let v=l.isSuccess?l.data:m==null?void 0:m.data;v===void 0&&(v=l.data);const b=v!==void 0,w=l.isLoading,g=!b&&w,y=l.isSuccess||w&&b;return{...l,data:v,currentData:l.data,isFetching:w,isLoading:g,isSuccess:y}}function p(l,m){const h=r(),v=Si(m);return Ot((b,w)=>h(e.util.prefetch(l,b,{...v,...w})),[l,h,v])}function f(l){const m=(b,{refetchOnReconnect:w,refetchOnFocus:g,refetchOnMountOrArgChange:y,skip:E=!1,pollingInterval:C=0}={})=>{const{initiate:S}=e.endpoints[l],x=r(),k=Ce();if(!k.current){const B=x(e.internalActions.internal_getRTKQSubscriptions());k.current=B}const T=Ps(E?ft:b,ym,s.endpointDefinitions[l],l),O=Si({refetchOnReconnect:w,refetchOnFocus:g,pollingInterval:C}),A=Ce(!1),I=Ce();let{queryCacheKey:N,requestId:Y}=I.current||{},J=!1;N&&Y&&(J=k.current.isRequestSubscribed(N,Y));const $=!J&&A.current;return c(()=>{A.current=J}),c(()=>{$&&(I.current=void 0)},[$]),c(()=>{var X;const B=I.current;if(typeof process<"u",T===ft){B==null||B.unsubscribe(),I.current=void 0;return}const ne=(X=I.current)==null?void 0:X.subscriptionOptions;if(!B||B.arg!==T){B==null||B.unsubscribe();const ge=x(S(T,{subscriptionOptions:O,forceRefetch:y}));I.current=ge}else O!==ne&&B.updateSubscriptionOptions(O)},[x,S,y,T,O,$]),te(()=>()=>{var B;(B=I.current)==null||B.unsubscribe(),I.current=void 0},[]),de(()=>({refetch:()=>{var B;if(!I.current)throw new Error(ke(38));return(B=I.current)==null?void 0:B.refetch()}}),[])},h=({refetchOnReconnect:b,refetchOnFocus:w,pollingInterval:g=0}={})=>{const{initiate:y}=e.endpoints[l],E=r(),[C,S]=je(_i),x=Ce(),k=Si({refetchOnReconnect:b,refetchOnFocus:w,pollingInterval:g});c(()=>{var I,N;const A=(I=x.current)==null?void 0:I.subscriptionOptions;k!==A&&((N=x.current)==null||N.updateSubscriptionOptions(k))},[k]);const T=Ce(k);c(()=>{T.current=k},[k]);const O=Ot(function(A,I=!1){let N;return t(()=>{var Y;(Y=x.current)==null||Y.unsubscribe(),x.current=N=E(y(A,{subscriptionOptions:T.current,forceRefetch:!I})),S(A)}),N},[E,y]);return te(()=>()=>{var A;(A=x==null?void 0:x.current)==null||A.unsubscribe()},[]),te(()=>{C!==_i&&!x.current&&O(C,!0)},[C,O]),de(()=>[O,C],[O,C])},v=(b,{skip:w=!1,selectFromResult:g}={})=>{const{select:y}=e.endpoints[l],E=Ps(w?ft:b,a,s.endpointDefinitions[l],l),C=Ce(),S=de(()=>Dt([y(E),(A,I)=>I,A=>E],u),[y,E]),x=de(()=>g?Dt([S],g,{devModeChecks:{identityFunctionCheck:"never"}}):S,[S,g]),k=n(A=>x(A,C.current),Pn),T=i(),O=S(T.getState(),C.current);return bm(()=>{C.current=O},[O]),k};return{useQueryState:v,useQuerySubscription:m,useLazyQuerySubscription:h,useLazyQuery(b){const[w,g]=h(b),y=v(g,{...b,skip:g===_i}),E=de(()=>({lastArg:g}),[g]);return de(()=>[w,y,E],[w,y,E])},useQuery(b,w){const g=m(b,w),y=v(b,{selectFromResult:b===ft||w!=null&&w.skip?void 0:wm,...w}),{data:E,status:C,isLoading:S,isSuccess:x,isError:k,error:T}=y;return Sn({data:E,status:C,isLoading:S,isSuccess:x,isError:k,error:T}),de(()=>({...y,...g}),[y,g])}}}function d(l){return({selectFromResult:m,fixedCacheKey:h}={})=>{const{select:v,initiate:b}=e.endpoints[l],w=r(),[g,y]=je();te(()=>()=>{g!=null&&g.arg.fixedCacheKey||g==null||g.reset()},[g]);const E=Ot(function(X){const ge=w(b(X,{fixedCacheKey:h}));return y(ge),ge},[w,b,h]),{requestId:C}=g||{},S=de(()=>v({fixedCacheKey:h,requestId:g==null?void 0:g.requestId}),[h,g,v]),x=de(()=>m?Dt([S],m):S,[m,S]),k=n(x,Pn),T=h==null?g==null?void 0:g.arg.originalArgs:void 0,O=Ot(()=>{t(()=>{g&&y(void 0),h&&w(e.internalActions.removeMutationResult({requestId:C,fixedCacheKey:h}))})},[w,h,g,C]),{endpointName:A,data:I,status:N,isLoading:Y,isSuccess:J,isError:$,error:B}=k;Sn({endpointName:A,data:I,status:N,isLoading:Y,isSuccess:J,isError:$,error:B});const ne=de(()=>({...k,originalArgs:T,reset:O}),[k,T,O]);return de(()=>[E,ne],[E,ne])}}}function Sm(e){return e.type==="query"}function Em(e){return e.type==="mutation"}function Ei(e){return e.replace(e[0],e[0].toUpperCase())}function an(e,...t){return Object.assign(e,...t)}var Cm=Symbol(),xm=({batch:e=gm,hooks:t={useDispatch:Bu,useSelector:Nu,useStore:Du},unstable__sideEffectsInRender:r=!1,...n}={})=>({name:Cm,init(i,{serializeQueryArgs:o},a){const s=i,{buildQueryHooks:c,buildMutationHook:u,usePrefetch:p}=_m({api:i,moduleOptions:{batch:e,hooks:t,unstable__sideEffectsInRender:r},serializeQueryArgs:o,context:a});return an(s,{usePrefetch:p}),an(a,{batch:e}),{injectEndpoint(f,d){if(Sm(d)){const{useQuery:l,useLazyQuery:m,useLazyQuerySubscription:h,useQueryState:v,useQuerySubscription:b}=c(f);an(s.endpoints[f],{useQuery:l,useLazyQuery:m,useLazyQuerySubscription:h,useQueryState:v,useQuerySubscription:b}),i[`use${Ei(f)}Query`]=l,i[`useLazy${Ei(f)}Query`]=m}else if(Em(d)){const l=u(f);an(s.endpoints[f],{useMutation:l}),i[`use${Ei(f)}Mutation`]=l}}}}}),$u=Dp(Yp(),xm());const Uu=async(e,t,r)=>{const n=t.getState().session.backendUrl;return Op({baseUrl:n,prepareHeaders:(i,{getState:o})=>{const{session:a}=o();return i.set("Accept","application/json"),i.set("Authorization",`Bearer ${a.accessToken}`),i}})(e,t,r)};var eo={exports:{}};(function(e,t){(function(r,n){var i="1.0.37",o="",a="?",s="function",c="undefined",u="object",p="string",f="major",d="model",l="name",m="type",h="vendor",v="version",b="architecture",w="console",g="mobile",y="tablet",E="smarttv",C="wearable",S="embedded",x=500,k="Amazon",T="Apple",O="ASUS",A="BlackBerry",I="Browser",N="Chrome",Y="Edge",J="Firefox",$="Google",B="Huawei",ne="LG",X="Microsoft",ge="Motorola",U="Opera",Ee="Samsung",ba="Sharp",Jr="Sony",si="Xiaomi",ci="Zebra",wa="Facebook",_a="Chromium OS",Sa="Mac OS",Bl=function(D,q){var F={};for(var Q in D)q[Q]&&q[Q].length%2===0?F[Q]=q[Q].concat(D[Q]):F[Q]=D[Q];return F},Xr=function(D){for(var q={},F=0;F<D.length;F++)q[D[F].toUpperCase()]=D[F];return q},Ea=function(D,q){return typeof D===p?rr(q).indexOf(rr(D))!==-1:!1},rr=function(D){return D.toLowerCase()},$l=function(D){return typeof D===p?D.replace(/[^\d\.]/g,o).split(".")[0]:n},ui=function(D,q){if(typeof D===p)return D=D.replace(/^\s\s*/,o),typeof q===c?D:D.substring(0,x)},nr=function(D,q){for(var F=0,Q,Xe,Le,H,L,Ne;F<q.length&&!L;){var di=q[F],ka=q[F+1];for(Q=Xe=0;Q<di.length&&!L&&di[Q];)if(L=di[Q++].exec(D),L)for(Le=0;Le<ka.length;Le++)Ne=L[++Xe],H=ka[Le],typeof H===u&&H.length>0?H.length===2?typeof H[1]==s?this[H[0]]=H[1].call(this,Ne):this[H[0]]=H[1]:H.length===3?typeof H[1]===s&&!(H[1].exec&&H[1].test)?this[H[0]]=Ne?H[1].call(this,Ne,H[2]):n:this[H[0]]=Ne?Ne.replace(H[1],H[2]):n:H.length===4&&(this[H[0]]=Ne?H[3].call(this,Ne.replace(H[1],H[2])):n):this[H]=Ne||n;F+=2}},li=function(D,q){for(var F in q)if(typeof q[F]===u&&q[F].length>0){for(var Q=0;Q<q[F].length;Q++)if(Ea(q[F][Q],D))return F===a?n:F}else if(Ea(q[F],D))return F===a?n:F;return D},Ul={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Ca={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},xa={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[v,[l,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[v,[l,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[l,v],[/opios[\/ ]+([\w\.]+)/i],[v,[l,U+" Mini"]],[/\bopr\/([\w\.]+)/i],[v,[l,U]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[v,[l,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[l,v],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[v,[l,"UC"+I]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[v,[l,"WeChat"]],[/konqueror\/([\w\.]+)/i],[v,[l,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[v,[l,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[v,[l,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[v,[l,"Smart Lenovo "+I]],[/(avast|avg)\/([\w\.]+)/i],[[l,/(.+)/,"$1 Secure "+I],v],[/\bfocus\/([\w\.]+)/i],[v,[l,J+" Focus"]],[/\bopt\/([\w\.]+)/i],[v,[l,U+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[v,[l,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[v,[l,"Dolphin"]],[/coast\/([\w\.]+)/i],[v,[l,U+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[v,[l,"MIUI "+I]],[/fxios\/([-\w\.]+)/i],[v,[l,J]],[/\bqihu|(qi?ho?o?|360)browser/i],[[l,"360 "+I]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[l,/(.+)/,"$1 "+I],v],[/samsungbrowser\/([\w\.]+)/i],[v,[l,Ee+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[l,/_/g," "],v],[/metasr[\/ ]?([\d\.]+)/i],[v,[l,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[l,"Sogou Mobile"],v],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[l,v],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[l],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[l,wa],v],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[l,v],[/\bgsa\/([\w\.]+) .*safari\//i],[v,[l,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[v,[l,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[v,[l,N+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[l,N+" WebView"],v],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[v,[l,"Android "+I]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[l,v],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[v,[l,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[v,l],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[l,[v,li,Ul]],[/(webkit|khtml)\/([\w\.]+)/i],[l,v],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[l,"Netscape"],v],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[v,[l,J+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[l,v],[/(cobalt)\/([\w\.]+)/i],[l,[v,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[b,"amd64"]],[/(ia32(?=;))/i],[[b,rr]],[/((?:i[346]|x)86)[;\)]/i],[[b,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[b,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[b,"armhf"]],[/windows (ce|mobile); ppc;/i],[[b,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[b,/ower/,o,rr]],[/(sun4\w)[;\)]/i],[[b,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[b,rr]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[h,Ee],[m,y]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[h,Ee],[m,g]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[h,T],[m,g]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[h,T],[m,y]],[/(macintosh);/i],[d,[h,T]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[h,ba],[m,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[h,B],[m,y]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[h,B],[m,g]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[h,si],[m,g]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[h,si],[m,y]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[h,"OPPO"],[m,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[h,"Vivo"],[m,g]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[h,"Realme"],[m,g]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[h,ge],[m,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[h,ge],[m,y]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[h,ne],[m,y]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[h,ne],[m,g]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[h,"Lenovo"],[m,y]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[h,"Nokia"],[m,g]],[/(pixel c)\b/i],[d,[h,$],[m,y]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[h,$],[m,g]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[h,Jr],[m,g]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[h,Jr],[m,y]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[h,"OnePlus"],[m,g]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[h,k],[m,y]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[h,k],[m,g]],[/(playbook);[-\w\),; ]+(rim)/i],[d,h,[m,y]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[h,A],[m,g]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[h,O],[m,y]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[h,O],[m,g]],[/(nexus 9)/i],[d,[h,"HTC"],[m,y]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[d,/_/g," "],[m,g]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[h,"Acer"],[m,y]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[h,"Meizu"],[m,g]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[h,"Ulefone"],[m,g]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[h,d,[m,g]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,d,[m,y]],[/(surface duo)/i],[d,[h,X],[m,y]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[h,"Fairphone"],[m,g]],[/(u304aa)/i],[d,[h,"AT&T"],[m,g]],[/\bsie-(\w*)/i],[d,[h,"Siemens"],[m,g]],[/\b(rct\w+) b/i],[d,[h,"RCA"],[m,y]],[/\b(venue[\d ]{2,7}) b/i],[d,[h,"Dell"],[m,y]],[/\b(q(?:mv|ta)\w+) b/i],[d,[h,"Verizon"],[m,y]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[h,"Barnes & Noble"],[m,y]],[/\b(tm\d{3}\w+) b/i],[d,[h,"NuVision"],[m,y]],[/\b(k88) b/i],[d,[h,"ZTE"],[m,y]],[/\b(nx\d{3}j) b/i],[d,[h,"ZTE"],[m,g]],[/\b(gen\d{3}) b.+49h/i],[d,[h,"Swiss"],[m,g]],[/\b(zur\d{3}) b/i],[d,[h,"Swiss"],[m,y]],[/\b((zeki)?tb.*\b) b/i],[d,[h,"Zeki"],[m,y]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],d,[m,y]],[/\b(ns-?\w{0,9}) b/i],[d,[h,"Insignia"],[m,y]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[h,"NextBook"],[m,y]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],d,[m,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],d,[m,g]],[/\b(ph-1) /i],[d,[h,"Essential"],[m,g]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[h,"Envizen"],[m,y]],[/\b(trio[-\w\. ]+) b/i],[d,[h,"MachSpeed"],[m,y]],[/\btu_(1491) b/i],[d,[h,"Rotor"],[m,y]],[/(shield[\w ]+) b/i],[d,[h,"Nvidia"],[m,y]],[/(sprint) (\w+)/i],[h,d,[m,g]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[h,X],[m,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[h,ci],[m,y]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[h,ci],[m,g]],[/smart-tv.+(samsung)/i],[h,[m,E]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[h,Ee],[m,E]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,ne],[m,E]],[/(apple) ?tv/i],[h,[d,T+" TV"],[m,E]],[/crkey/i],[[d,N+"cast"],[h,$],[m,E]],[/droid.+aft(\w+)( bui|\))/i],[d,[h,k],[m,E]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[h,ba],[m,E]],[/(bravia[\w ]+)( bui|\))/i],[d,[h,Jr],[m,E]],[/(mitv-\w{5}) bui/i],[d,[h,si],[m,E]],[/Hbbtv.*(technisat) (.*);/i],[h,d,[m,E]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,ui],[d,ui],[m,E]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[m,E]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,d,[m,w]],[/droid.+; (shield) bui/i],[d,[h,"Nvidia"],[m,w]],[/(playstation [345portablevi]+)/i],[d,[h,Jr],[m,w]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[h,X],[m,w]],[/((pebble))app/i],[h,d,[m,C]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[h,T],[m,C]],[/droid.+; (glass) \d/i],[d,[h,$],[m,C]],[/droid.+; (wt63?0{2,3})\)/i],[d,[h,ci],[m,C]],[/(quest( 2| pro)?)/i],[d,[h,wa],[m,C]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[m,S]],[/(aeobc)\b/i],[d,[h,k],[m,S]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[m,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[m,y]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[m,y]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[m,g]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[v,[l,Y+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[v,[l,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[l,v],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[v,l]],os:[[/microsoft (windows) (vista|xp)/i],[l,v],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[l,[v,li,Ca]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[v,li,Ca],[l,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[v,/_/g,"."],[l,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[l,Sa],[v,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[v,l],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[l,v],[/\(bb(10);/i],[v,[l,A]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[v,[l,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[v,[l,J+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[v,[l,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[v,[l,"watchOS"]],[/crkey\/([\d\.]+)/i],[v,[l,N+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[l,_a],v],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[l,v],[/(sunos) ?([\w\.\d]*)/i],[[l,"Solaris"],v],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[l,v]]},Te=function(D,q){if(typeof D===u&&(q=D,D=n),!(this instanceof Te))return new Te(D,q).getResult();var F=typeof r!==c&&r.navigator?r.navigator:n,Q=D||(F&&F.userAgent?F.userAgent:o),Xe=F&&F.userAgentData?F.userAgentData:n,Le=q?Bl(xa,q):xa,H=F&&F.userAgent==Q;return this.getBrowser=function(){var L={};return L[l]=n,L[v]=n,nr.call(L,Q,Le.browser),L[f]=$l(L[v]),H&&F&&F.brave&&typeof F.brave.isBrave==s&&(L[l]="Brave"),L},this.getCPU=function(){var L={};return L[b]=n,nr.call(L,Q,Le.cpu),L},this.getDevice=function(){var L={};return L[h]=n,L[d]=n,L[m]=n,nr.call(L,Q,Le.device),H&&!L[m]&&Xe&&Xe.mobile&&(L[m]=g),H&&L[d]=="Macintosh"&&F&&typeof F.standalone!==c&&F.maxTouchPoints&&F.maxTouchPoints>2&&(L[d]="iPad",L[m]=y),L},this.getEngine=function(){var L={};return L[l]=n,L[v]=n,nr.call(L,Q,Le.engine),L},this.getOS=function(){var L={};return L[l]=n,L[v]=n,nr.call(L,Q,Le.os),H&&!L[l]&&Xe&&Xe.platform!="Unknown"&&(L[l]=Xe.platform.replace(/chrome os/i,_a).replace(/macos/i,Sa)),L},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Q},this.setUA=function(L){return Q=typeof L===p&&L.length>x?ui(L,x):L,this},this.setUA(Q),this};Te.VERSION=i,Te.BROWSER=Xr([l,v,f]),Te.CPU=Xr([b]),Te.DEVICE=Xr([d,h,m,w,g,E,y,C,S]),Te.ENGINE=Te.OS=Xr([l,v]),e.exports&&(t=e.exports=Te),t.UAParser=Te;var kt=typeof r!==c&&(r.jQuery||r.Zepto);if(kt&&!kt.ua){var Zr=new Te;kt.ua=Zr.getResult(),kt.ua.get=function(){return Zr.getUA()},kt.ua.set=function(D){Zr.setUA(D);var q=Zr.getResult();for(var F in q)kt.ua[F]=q[F]}}})(typeof window=="object"?window:Wd)})(eo,eo.exports);var km=eo.exports;const Ci=new km.UAParser,ju=()=>/iPad|iPhone|iPod/.test(navigator.userAgent),zu=()=>/Android/.test(navigator.userAgent),Ht=()=>zu()||ju(),Tm=()=>({deviceType:zu()||ju()?"Mobile":"Desktop",platform:Ci.getOS().name,Browser:Ci.getBrowser().name,"Browser Version":Ci.getBrowser().version}),vr=$u({baseQuery:Uu,reducerPath:"segmentApi",endpoints:e=>({segmentIdentify:e.mutation({query:()=>({url:"super-campaign/backend/segment/identify",method:"POST"})}),segmentTrack:e.mutation({query:({event:t,properties:r})=>({url:"super-campaign/backend/segment/t",method:"POST",body:{event:t,properties:{...r,...Tm()}}})}),segmentPage:e.mutation({query:({event:t,properties:r})=>({url:"super-campaign/backend/segment/p",method:"POST",body:{event:t,properties:r}})})})}),{useSegmentIdentifyMutation:Rm,useSegmentTrackMutation:Am,useSegmentPageMutation:Zb}=vr,ht=$u({baseQuery:Uu,reducerPath:"backendApi",endpoints:e=>({campaignConnect:e.query({query:()=>({url:"super-campaign/backend/campaign-connect",method:"GET"}),keepUnusedDataFor:Number.MAX_SAFE_INTEGER}),appLoaded:e.mutation({query:()=>({url:"super-campaign/backend/app-loaded",method:"POST"})})})}),{useLazyCampaignConnectQuery:Om,useAppLoadedMutation:Pm}=ht,Im={selectedVariants:{}},to=qe({name:"experimentsData",initialState:Im,reducers:{setExperiment:(e,t)=>{const{experimentName:r,selectedVariant:n}=t.payload;return e.selectedVariants[r]||(e.selectedVariants[r]=n),e}}}),{setExperiment:Lm}=to.actions,ro=qe({name:"session",initialState:{},reducers:{setSession:(e,t)=>t.payload}}),{setSession:Nm}=ro.actions,no=qe({name:"state",initialState:{},reducers:{setFunds:(e,t)=>{e.funds=t.payload},setSelectedFund:(e,t)=>{e.selectedFund={fundId:t.payload.fundId,iframeType:t.payload.iframeType,fundType:t.payload.fundType}},clearSelectedFund:e=>{e.selectedFund=void 0}}}),{setFunds:Mm,setSelectedFund:Hu,clearSelectedFund:Re}=no.actions,Lt=ip({reducer:{[ro.name]:ro.reducer,[ht.reducerPath]:ht.reducer,[vr.reducerPath]:vr.reducer,[no.reducerPath]:no.reducer,[to.reducerPath]:to.reducer},middleware:e=>e().concat(ht.middleware,vr.middleware)}),Vr=()=>Bu(),Qe=Nu,ta=({fillWidth:e=!1,fillWidthOnMobile:t=!1,disabled:r=!1,onClick:n=void 0,children:i})=>{const[o,a]=je(0);return R("button",{css:[{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",fontSize:"1rem",lineHeight:"1.5rem"},{display:"inline-flex",alignItems:"center",justifyContent:"center",borderWidth:"1px",fontWeight:"500"},{borderRadius:"0.375rem","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)",":focus":{outline:"2px solid transparent",outlineOffset:"2px","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)"}},{pointerEvents:"auto",":focus":{"--tw-ring-color":"var(--fl-color-primary-focus)","--tw-ring-offset-width":"2px"}},{":disabled":{pointerEvents:"none","--tw-border-opacity":"1",borderColor:"rgb(209 213 219 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity))"}},{borderColor:"transparent",backgroundColor:"var(--fl-color-primary)","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))",":hover":{backgroundColor:"var(--fl-color-primary-hover)"}},(e||t)&&{width:"100%"},t&&{"@media (min-width: 640px)":{width:"auto"}}],disabled:r,onClick:async()=>{if(!(!n||o===1))try{a(1),await n(),a(0)}catch(c){throw a(2),c}},children:[o===1&&_(Kt,{size:16}),_("div",{css:[o===1&&{display:"none"}],children:i})]})},ra="32367272075001",na="slate",He=e=>{document.dispatchEvent(new CustomEvent(e.type,{detail:e}))},qu=()=>{const[e]=Am();return t=>{He({sender:"super-campaign",type:"choose-another-fund-requested"}),e({event:"FeaturedFunds Skipped",properties:{method:t}})}},Fm=e=>{He({sender:"super-campaign",type:"fund-panel-shown",shownFunds:e.map(t=>({fundId:t.fundId,fundType:t.fundType}))})},Dm=e=>{He({sender:"super-campaign",type:"fund-tile-clicked",fundId:e.fundId,fundType:e.fundType,fundName:e.name,fundUsi:e.fundId===na?ra:void 0})},re=e=>{He({sender:"super-campaign",type:"fund-pds-viewed",pageName:"Panel Fund Page",fundName:e.name,fundUsi:e.fundId===na?ra:void 0})},Bm=()=>{He({sender:"super-campaign",type:"disclaimer-accepted"})},$m=()=>{He({sender:"super-campaign",type:"disclaimer-viewed"})},Nt=e=>{He({sender:"super-campaign",type:"promoted-fund-joined",fundJoinInfo:e})},Um=()=>{He({sender:"super-campaign",type:"super-campaign-loaded"})},jm=e=>{He({sender:"super-campaign",type:"super-campaign-load-failed",reason:e})},zm=e=>{He({sender:"super-campaign",type:"super-campaign-failed",reason:e})};var xe={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},Be=console,dt={};Object.keys(xe).forEach(function(e){dt[e]=Be[e]});var sr="Datadog Browser SDK:",ce={debug:dt.debug.bind(Be,sr),log:dt.log.bind(Be,sr),info:dt.info.bind(Be,sr),warn:dt.warn.bind(Be,sr),error:dt.error.bind(Be,sr)};function Wu(e,t){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];try{return e.apply(void 0,r)}catch(i){ce.error(t,i)}}}var Mr;(function(e){e.PAGEHIDE="pagehide",e.FEATURE_FLAGS="feature_flags",e.RESOURCE_PAGE_STATES="resource_page_states",e.COLLECT_FLUSH_REASON="collect_flush_reason",e.ZERO_LCP_TELEMETRY="zero_lcp_telemetry",e.DISABLE_REPLAY_INLINE_CSS="disable_replay_inline_css",e.WRITABLE_RESOURCE_GRAPHQL="writable_resource_graphql",e.CUSTOM_VITALS="custom_vitals"})(Mr||(Mr={}));var ia=new Set;function Hm(e){e.forEach(function(t){ia.add(t)})}function Vu(e){return ia.has(e)}function qm(){return ia}function io(e){return e!==0&&Math.random()*100<=e}function xi(e){return Wm(e)&&e>=0&&e<=100}function Wm(e){return typeof e=="number"}var Gr=1e3,St=60*Gr,Vm=60*St;function gr(){return new Date().getTime()}function ot(){return gr()}function In(){return performance.now()}function Jt(){return{relative:In(),timeStamp:ot()}}function Gm(){return{relative:0,timeStamp:Gu()}}function Qm(e,t){return t-e}function Ym(e,t){return e+t}function Km(e){return e-Gu()}var ki;function Gu(){return ki===void 0&&(ki=performance.timing.navigationStart),ki}var Ye=1024,Qu=1024*Ye,Jm=/[^\u0000-\u007F]/;function oa(e){return Jm.test(e)?window.TextEncoder!==void 0?new TextEncoder().encode(e).length:new Blob([e]).size:e.length}function Xt(e,t){return e.indexOf(t)!==-1}function Yu(e){if(Array.from)return Array.from(e);var t=[];if(e instanceof Set)e.forEach(function(n){return t.push(n)});else for(var r=0;r<e.length;r++)t.push(e[r]);return t}function Xm(e,t){for(var r=0;r<e.length;r+=1){var n=e[r];if(t(n,r))return n}}function qt(e){return Object.keys(e).map(function(t){return e[t]})}function Zm(e){return Object.keys(e).map(function(t){return[t,e[t]]})}function Ku(e,t){return e.slice(0,t.length)===t}function eh(e,t){return e.slice(-t.length)===t}function ve(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.forEach(function(n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}),e}function th(e){return ve({},e)}function Is(e,t){return Object.keys(e).some(function(r){return e[r]===t})}function aa(e){return Object.keys(e).length===0}function at(){if(typeof globalThis=="object")return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var e=_dd_temp_;return delete Object.prototype._dd_temp_,typeof e!="object"&&(typeof self=="object"?e=self:typeof window=="object"?e=window:e={}),e}function Wt(e,t){var r=at(),n;return r.Zone&&typeof r.Zone.__symbol__=="function"&&(n=e[r.Zone.__symbol__(t)]),n||(n=e[t]),n}var rh=function(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))},Ln,Ju=!1;function nh(e){Ln=e}function ih(e){Ju=e}function oh(e,t,r){var n=r.value;r.value=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var a=Ln?W(n):n;return a.apply(this,i)}}function W(e){return function(){return Fr(e,this,arguments)}}function Fr(e,t,r){try{return e.apply(t,r)}catch(n){if(oo(n),Ln)try{Ln(n)}catch(i){oo(i)}}}function oo(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];Ju&&ce.error.apply(ce,rh(["[MONITOR]"],e,!1))}function Qr(e,t){return Wt(at(),"setTimeout")(W(e),t)}function Xu(e){Wt(at(),"clearTimeout")(e)}function sa(e,t){return Wt(at(),"setInterval")(W(e),t)}function Zu(e){Wt(at(),"clearInterval")(e)}var ue=function(){function e(t){this.onFirstSubscribe=t,this.observers=[]}return e.prototype.subscribe=function(t){var r=this;return!this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0),this.observers.push(t),{unsubscribe:function(){r.observers=r.observers.filter(function(n){return t!==n}),!r.observers.length&&r.onLastUnsubscribe&&r.onLastUnsubscribe()}}},e.prototype.notify=function(t){this.observers.forEach(function(r){return r(t)})},e}();function el(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new ue(function(r){var n=e.map(function(i){return i.subscribe(function(o){return r.notify(o)})});return function(){return n.forEach(function(i){return i.unsubscribe()})}})}function tl(e,t,r){var n=r&&r.leading!==void 0?r.leading:!0,i=r&&r.trailing!==void 0?r.trailing:!0,o=!1,a,s;return{throttled:function(){for(var c=[],u=0;u<arguments.length;u++)c[u]=arguments[u];if(o){a=c;return}n?e.apply(void 0,c):a=c,o=!0,s=Qr(function(){i&&a&&e.apply(void 0,a),o=!1,a=void 0},t)},cancel:function(){Xu(s),o=!1,a=void 0}}}function Zt(){}function Et(e){return e?(parseInt(e,10)^Math.random()*16>>parseInt(e,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,Et)}var Nn=/([\w-]+)\s*=\s*([^;]+)/g;function ah(e,t){for(Nn.lastIndex=0;;){var r=Nn.exec(e);if(r){if(r[1]===t)return r[2]}else break}}function sh(e){var t=new Map;for(Nn.lastIndex=0;;){var r=Nn.exec(e);if(r)t.set(r[1],r[2]);else break}return t}function ch(e,t,r){r===void 0&&(r="");var n=e.charCodeAt(t-1),i=n>=55296&&n<=56319,o=i?t+1:t;return e.length<=o?e:"".concat(e.slice(0,o)).concat(r)}var rl=4*Vm,nl=15*St;function uh(){return lh()===1}var sn;function lh(){return sn??(sn=dh())}function dh(e){var t;e===void 0&&(e=window);var r=e.navigator.userAgent;return e.chrome||/HeadlessChrome/.test(r)?1:((t=e.navigator.vendor)===null||t===void 0?void 0:t.indexOf("Apple"))===0||/safari/i.test(r)&&!/chrome|android/i.test(r)?2:e.document.documentMode?0:3}function ai(e,t,r,n){var i=new Date;i.setTime(i.getTime()+r);var o="expires=".concat(i.toUTCString()),a=n&&n.crossSite?"none":"strict",s=n&&n.domain?";domain=".concat(n.domain):"",c=n&&n.secure?";secure":"",u=n&&n.partitioned?";partitioned":"";document.cookie="".concat(e,"=").concat(t,";").concat(o,";path=/;samesite=").concat(a).concat(s).concat(c).concat(u)}function ca(e){return ah(document.cookie,e)}var Ti;function pt(e){return Ti||(Ti=sh(document.cookie)),Ti.get(e)}function ua(e,t){ai(e,"",0,t)}function fh(e){if(document.cookie===void 0||document.cookie===null)return!1;try{var t="dd_cookie_test_".concat(Et()),r="test";ai(t,r,St,e);var n=ca(t)===r;return ua(t,e),n}catch(i){return ce.error(i),!1}}var Ri;function ph(){if(Ri===void 0){for(var e="dd_site_test_".concat(Et()),t="test",r=window.location.hostname.split("."),n=r.pop();r.length&&!ca(e);)n="".concat(r.pop(),".").concat(n),ai(e,t,Gr,{domain:n});ua(e,{domain:n}),Ri=n}return Ri}var Ct="_dd_s",il=/^([a-z]+)=([a-z0-9-]+)$/,la="&";function ao(e){return aa(e)}function ol(e){e.expire=String(gr()+nl)}function al(e){return Zm(e).map(function(t){var r=t[0],n=t[1];return"".concat(r,"=").concat(n)}).join(la)}function sl(e){var t={};return mh(e)&&e.split(la).forEach(function(r){var n=il.exec(r);if(n!==null){var i=n[1],o=n[2];t[i]=o}}),t}function mh(e){return!!e&&(e.indexOf(la)!==-1||il.test(e))}var hh="_dd",vh="_dd_r",gh="_dd_l",yh="rum",bh="logs";function wh(e){var t=pt(Ct);if(!t){var r=pt(hh),n=pt(vh),i=pt(gh),o={};r&&(o.id=r),i&&/^[01]$/.test(i)&&(o[bh]=i),n&&/^[012]$/.test(n)&&(o[yh]=n),ao(o)||(ol(o),e.persistSession(o))}}function _h(e){var t=kh(e);return fh(t)?{type:"Cookie",cookieOptions:t}:void 0}function Sh(e){var t={isLockEnabled:uh(),persistSession:Eh(e),retrieveSession:Ch,clearSession:xh(e)};return wh(t),t}function Eh(e){return function(t){ai(Ct,al(t),nl,e)}}function Ch(){var e=ca(Ct);return sl(e)}function xh(e){return function(){ua(Ct,e)}}function kh(e){var t={};return t.secure=!!e.useSecureSessionCookie||!!e.usePartitionedCrossSiteSessionCookie||!!e.useCrossSiteSessionCookie,t.crossSite=!!e.usePartitionedCrossSiteSessionCookie||!!e.useCrossSiteSessionCookie,t.partitioned=!!e.usePartitionedCrossSiteSessionCookie,e.trackSessionAcrossSubdomains&&(t.domain=ph()),t}var Th="_dd_test_";function Rh(){try{var e=Et(),t="".concat(Th).concat(e);localStorage.setItem(t,e);var r=localStorage.getItem(t);return localStorage.removeItem(t),e===r?{type:"LocalStorage"}:void 0}catch{return}}function Ah(){return{isLockEnabled:!1,persistSession:Oh,retrieveSession:Ph,clearSession:Ih}}function Oh(e){localStorage.setItem(Ct,al(e))}function Ph(){var e=localStorage.getItem(Ct);return sl(e)}function Ih(){localStorage.removeItem(Ct)}var Lh=10,Nh=100,cl=[],bn;function yr(e,t,r){var n;r===void 0&&(r=0);var i=t.isLockEnabled,o=t.retrieveSession,a=t.persistSession,s=t.clearSession;if(bn||(bn=e),e!==bn){cl.push(e);return}if(i&&r>=Nh){Ls(t);return}var c,u=o();if(i){if(u.lock){cn(e,t,r);return}if(c=Et(),u.lock=c,a(u),u=o(),u.lock!==c){cn(e,t,r);return}}var p=e.process(u);if(i&&(u=o(),u.lock!==c)){cn(e,t,r);return}if(p&&(ao(p)?s():(ol(p),a(p))),i&&!(p&&ao(p))){if(u=o(),u.lock!==c){cn(e,t,r);return}delete u.lock,a(u),p=u}(n=e.after)===null||n===void 0||n.call(e,p||u),Ls(t)}function cn(e,t,r){Qr(function(){yr(e,t,r+1)},Lh)}function Ls(e){bn=void 0;var t=cl.shift();t&&yr(t,e)}var Ns=Gr;function Mh(e){var t=_h(e);return!t&&e.allowFallbackToLocalStorage&&(t=Rh()),t}function Fh(e,t,r){var n=new ue,i=new ue,o=e.type==="Cookie"?Sh(e.cookieOptions):Ah(),a=o.clearSession,s=o.retrieveSession,c=sa(m,Ns),u=E(),p=tl(function(){var S;yr({process:function(x){var k=h(x);return S=v(k),k},after:function(x){S&&!b()&&y(x),u=x}},o)},Ns),f=p.throttled,d=p.cancel;function l(){yr({process:function(S){return b()?h(S):void 0}},o)}function m(){yr({process:function(S){return C(S)?void 0:{}},after:h},o)}function h(S){return C(S)||(S={}),b()&&(w(S)?g():u=S),S}function v(S){var x=r(S[t]),k=x.trackingType,T=x.isTracked;return S[t]=k,T&&!S.id&&(S.id=Et(),S.created=String(gr())),T}function b(){return u[t]!==void 0}function w(S){return u.id!==S.id||u[t]!==S[t]}function g(){u={},i.notify()}function y(S){u=S,n.notify()}function E(){var S=s();return C(S)?S:{}}function C(S){return(S.created===void 0||gr()-Number(S.created)<rl)&&(S.expire===void 0||gr()<Number(S.expire))}return{expandOrRenewSession:f,expandSession:l,getSession:function(){return u},renewObservable:n,expireObservable:i,expire:function(){d(),a(),h({})},stop:function(){Zu(c)}}}var so={GRANTED:"granted",NOT_GRANTED:"not-granted"};function Dh(e){var t=new ue;return{tryToInit:function(r){e||(e=r)},update:function(r){e=r,t.notify()},isGranted:function(){return e===so.GRANTED},observable:t}}function er(e,t,r){if(typeof e!="object"||e===null)return JSON.stringify(e);var n=Mt(Object.prototype),i=Mt(Array.prototype),o=Mt(Object.getPrototypeOf(e)),a=Mt(e);try{return JSON.stringify(e,t,r)}catch{return"<error: unable to serialize object>"}finally{n(),i(),o(),a()}}function Mt(e){var t=e,r=t.toJSON;return r?(delete t.toJSON,function(){t.toJSON=r}):Zt}function da(e){return Bh(e,location.href).href}function Bh(e,t){var r=$h();if(r)try{return t!==void 0?new r(e,t):new r(e)}catch(a){throw new Error("Failed to construct URL: ".concat(String(a)," ").concat(er({url:e,base:t})))}if(t===void 0&&!/:/.test(e))throw new Error("Invalid URL: '".concat(e,"'"));var n=document,i=n.createElement("a");if(t!==void 0){n=document.implementation.createHTMLDocument("");var o=n.createElement("base");o.href=t,n.head.appendChild(o),n.body.appendChild(i)}return i.href=e,i}var Ms=URL,un;function $h(){if(un===void 0)try{var e=new Ms("http://test/path");un=e.href==="http://test/path"}catch{un=!1}return un?Ms:void 0}var Uh="datad0g.com",jh="dd0g-gov.com",br="datadoghq.com",zh="ddog-gov.com";function wr(e,t,r){var n=Hh(e,t);return{build:function(i,o){var a=Wh(e,t,r,i,o);return n(a)},urlPrefix:n(""),trackType:t}}function Hh(e,t){var r="/api/v2/".concat(t),n=e.proxy;if(typeof n=="string"){var i=da(n);return function(a){return"".concat(i,"?ddforward=").concat(encodeURIComponent("".concat(r,"?").concat(a)))}}if(typeof n=="function")return function(a){return n({path:r,parameters:a})};var o=qh(e);return function(a){return"https://".concat(o).concat(r,"?").concat(a)}}function qh(e){var t=e.site,r=t===void 0?br:t,n=e.internalAnalyticsSubdomain;if(n&&r===br)return"".concat(n,".").concat(br);if(r===jh)return"http-intake.logs.".concat(r);var i=r.split("."),o=i.pop();return"browser-intake-".concat(i.join("-"),".").concat(o)}function Wh(e,t,r,n,i){var o=e.clientToken,a=e.internalAnalyticsSubdomain,s=i.retry,c=i.flushReason,u=i.encoding,p=["sdk_version:".concat("5.11.0"),"api:".concat(n)].concat(r);c&&Vu(Mr.COLLECT_FLUSH_REASON)&&p.push("flush_reason:".concat(c)),s&&p.push("retry_count:".concat(s.count),"retry_after:".concat(s.lastFailureStatus));var f=["ddsource=browser","ddtags=".concat(encodeURIComponent(p.join(","))),"dd-api-key=".concat(o),"dd-evp-origin-version=".concat(encodeURIComponent("5.11.0")),"dd-evp-origin=browser","dd-request-id=".concat(Et())];return u&&f.push("dd-evp-encoding=".concat(u)),t==="rum"&&f.push("batch_time=".concat(ot())),a&&f.reverse(),f.join("&")}var Vh=200;function Gh(e){var t=e.env,r=e.service,n=e.version,i=e.datacenter,o=[];return t&&o.push(ln("env",t)),r&&o.push(ln("service",r)),n&&o.push(ln("version",n)),i&&o.push(ln("datacenter",i)),o}var Qh=/[^a-z0-9_:./-]/;function ln(e,t){var r=Vh-e.length-1;(t.length>r||Qh.test(t))&&ce.warn("".concat(e," value doesn't meet tag requirements and will be sanitized"));var n=t.replace(/,/g,"_");return"".concat(e,":").concat(n)}function Yh(e){var t=Gh(e),r=Kh(e,t),n=qt(r).map(function(o){return o.urlPrefix}),i=Jh(e,n,t);return ve({isIntakeUrl:function(o){return n.some(function(a){return o.indexOf(a)===0})},replica:i,site:e.site||br},r)}function Kh(e,t){return{logsEndpointBuilder:wr(e,"logs",t),rumEndpointBuilder:wr(e,"rum",t),sessionReplayEndpointBuilder:wr(e,"replay",t)}}function Jh(e,t,r){if(e.replica){var n=ve({},e,{site:br,clientToken:e.replica.clientToken}),i={logsEndpointBuilder:wr(n,"logs",r),rumEndpointBuilder:wr(n,"rum",r)};return t.push.apply(t,qt(i).map(function(o){return o.urlPrefix})),ve({applicationId:e.replica.applicationId},i)}}function Xh(e){var t,r,n,i;if(!e||!e.clientToken){ce.error("Client Token is not configured, we will not send any data.");return}if(e.sessionSampleRate!==void 0&&!xi(e.sessionSampleRate)){ce.error("Session Sample Rate should be a number between 0 and 100");return}if(e.telemetrySampleRate!==void 0&&!xi(e.telemetrySampleRate)){ce.error("Telemetry Sample Rate should be a number between 0 and 100");return}if(e.telemetryConfigurationSampleRate!==void 0&&!xi(e.telemetryConfigurationSampleRate)){ce.error("Telemetry Configuration Sample Rate should be a number between 0 and 100");return}if(e.trackingConsent!==void 0&&!Is(so,e.trackingConsent)){ce.error('Tracking Consent should be either "granted" or "not-granted"');return}return Array.isArray(e.enableExperimentalFeatures)&&Hm(e.enableExperimentalFeatures.filter(function(o){return Is(Mr,o)})),ve({beforeSend:e.beforeSend&&Wu(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:Mh(e),sessionSampleRate:(t=e.sessionSampleRate)!==null&&t!==void 0?t:100,telemetrySampleRate:(r=e.telemetrySampleRate)!==null&&r!==void 0?r:20,telemetryConfigurationSampleRate:(n=e.telemetryConfigurationSampleRate)!==null&&n!==void 0?n:5,service:e.service,silentMultipleInit:!!e.silentMultipleInit,allowUntrustedEvents:!!e.allowUntrustedEvents,trackingConsent:(i=e.trackingConsent)!==null&&i!==void 0?i:so.GRANTED,batchBytesLimit:16*Ye,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:30*Gr,batchMessagesLimit:50,messageBytesLimit:256*Ye},Yh(e))}function Zh(e){return{session_sample_rate:e.sessionSampleRate,telemetry_sample_rate:e.telemetrySampleRate,telemetry_configuration_sample_rate:e.telemetryConfigurationSampleRate,use_before_send:!!e.beforeSend,use_cross_site_session_cookie:e.useCrossSiteSessionCookie,use_partitioned_cross_site_session_cookie:e.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:e.useSecureSessionCookie,use_proxy:!!e.proxy,silent_multiple_init:e.silentMultipleInit,track_session_across_subdomains:e.trackSessionAcrossSubdomains,allow_fallback_to_local_storage:!!e.allowFallbackToLocalStorage,store_contexts_across_pages:!!e.storeContextsAcrossPages,allow_untrusted_events:!!e.allowUntrustedEvents}}function vt(e,t,r){var n=e[t],i=ev(n,r),o=function(){if(typeof i=="function")return i.apply(this,arguments)};return e[t]=o,{stop:function(){e[t]===o?e[t]=n:i=n}}}function ev(e,t){return function(){var r=arguments,n,i;return Fr(t,null,[{target:this,parameters:r,onPostCall:function(o){i=o}}]),typeof e=="function"&&(n=e.apply(this,r)),i&&Fr(i,null,[n]),n}}var Yr="?";function Je(e){var t=[],r=Ai(e,"stack"),n=String(e);return r&&Ku(r,n)&&(r=r.slice(n.length)),r&&r.split(`
17
+ `).forEach(function(i){var o=nv(i)||ov(i)||sv(i)||lv(i);o&&(!o.func&&o.line&&(o.func=Yr),t.push(o))}),{message:Ai(e,"message"),name:Ai(e,"name"),stack:t}}var ul="((?:file|https?|blob|chrome-extension|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",Vt="(?::(\\d+))",tv=new RegExp("^\\s*at (.*?) ?\\(".concat(ul).concat(Vt,"?").concat(Vt,"?\\)?\\s*$"),"i"),rv=new RegExp("\\((\\S*)".concat(Vt).concat(Vt,"\\)"));function nv(e){var t=tv.exec(e);if(t){var r=t[2]&&t[2].indexOf("native")===0,n=t[2]&&t[2].indexOf("eval")===0,i=rv.exec(t[2]);return n&&i&&(t[2]=i[1],t[3]=i[2],t[4]=i[3]),{args:r?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||Yr,line:t[3]?+t[3]:void 0,url:r?void 0:t[2]}}}var iv=new RegExp("^\\s*at ?".concat(ul).concat(Vt,"?").concat(Vt,"??\\s*$"),"i");function ov(e){var t=iv.exec(e);if(t)return{args:[],column:t[3]?+t[3]:void 0,func:Yr,line:t[2]?+t[2]:void 0,url:t[1]}}var av=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function sv(e){var t=av.exec(e);if(t)return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||Yr,line:+t[3],url:t[2]}}var cv=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,uv=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function lv(e){var t=cv.exec(e);if(t){var r=t[3]&&t[3].indexOf(" > eval")>-1,n=uv.exec(t[3]);return r&&n&&(t[3]=n[1],t[4]=n[2],t[5]=void 0),{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||Yr,line:t[4]?+t[4]:void 0,url:t[3]}}}function Ai(e,t){if(!(typeof e!="object"||!e||!(t in e))){var r=e[t];return typeof r=="string"?r:void 0}}function dv(e,t,r,n){var i=[{url:t,column:n,line:r}],o=pv(e),a=o.name,s=o.message;return{name:a,message:s,stack:i}}var fv=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function pv(e){var t,r,n;return{}.toString.call(e)==="[object String]"&&(t=fv.exec(e),r=t[1],n=t[2]),{name:r,message:n}}var mv=220*Ye,hv="$",vv=3;function Ke(e,t){var r;t===void 0&&(t=mv);var n=Mt(Object.prototype),i=Mt(Array.prototype),o=[],a=new WeakMap,s=Oi(e,hv,void 0,o,a),c=((r=JSON.stringify(s))===null||r===void 0?void 0:r.length)||0;if(c>t){Pi(t,"discarded",e);return}for(;o.length>0&&c<t;){var u=o.shift(),p=0;if(Array.isArray(u.source))for(var f=0;f<u.source.length;f++){var d=Oi(u.source[f],u.path,f,o,a);if(d!==void 0?c+=JSON.stringify(d).length:c+=4,c+=p,p=1,c>t){Pi(t,"truncated",e);break}u.target[f]=d}else for(var f in u.source)if(Object.prototype.hasOwnProperty.call(u.source,f)){var d=Oi(u.source[f],u.path,f,o,a);if(d!==void 0&&(c+=JSON.stringify(d).length+p+f.length+vv,p=1),c>t){Pi(t,"truncated",e);break}u.target[f]=d}}return n(),i(),s}function Oi(e,t,r,n,i){var o=bv(e);if(!o||typeof o!="object")return gv(o);var a=yv(o);if(a!=="[Object]"&&a!=="[Array]"&&a!=="[Error]")return a;var s=e;if(i.has(s))return"[Reference seen at ".concat(i.get(s),"]");var c=r!==void 0?"".concat(t,".").concat(r):t,u=Array.isArray(o)?[]:{};return i.set(s,c),n.push({source:o,target:u,path:c}),u}function gv(e){return typeof e=="bigint"?"[BigInt] ".concat(e.toString()):typeof e=="function"?"[Function] ".concat(e.name||"unknown"):typeof e=="symbol"?"[Symbol] ".concat(e.description||e.toString()):e}function yv(e){try{if(e instanceof Event)return{isTrusted:e.isTrusted};var t=Object.prototype.toString.call(e),r=t.match(/\[object (.*)\]/);if(r&&r[1])return"[".concat(r[1],"]")}catch{}return"[Unserializable]"}function bv(e){var t=e;if(t&&typeof t.toJSON=="function")try{return t.toJSON()}catch{}return e}function Pi(e,t,r){ce.warn("The data provided has been ".concat(t," as it is over the limit of ").concat(e," characters:"),r)}var ll="No stack, consider using an instance of Error";function dl(e){var t=e.stackTrace,r=e.originalError,n=e.handlingStack,i=e.startClocks,o=e.nonErrorPrefix,a=e.source,s=e.handling,c=r instanceof Error,u=wv(t,c,o,r),p=_v(c,t)?xt(t):ll,f=c?ml(r,a):void 0,d=t==null?void 0:t.name,l=fl(r);return{startClocks:i,source:a,handling:s,handlingStack:n,originalError:r,type:d,message:u,stack:p,causes:f,fingerprint:l}}function wv(e,t,r,n){return e!=null&&e.message&&(e!=null&&e.name)?e.message:t?"Empty message":"".concat(r," ").concat(er(Ke(n)))}function _v(e,t){return t===void 0?!1:e?!0:t.stack.length>0&&(t.stack.length>1||t.stack[0].url!==void 0)}function fl(e){return e instanceof Error&&"dd_fingerprint"in e?String(e.dd_fingerprint):void 0}function xt(e){var t=pl(e);return e.stack.forEach(function(r){var n=r.func==="?"?"<anonymous>":r.func,i=r.args&&r.args.length>0?"(".concat(r.args.join(", "),")"):"",o=r.line?":".concat(r.line):"",a=r.line&&r.column?":".concat(r.column):"";t+=`
18
+ at `.concat(n).concat(i," @ ").concat(r.url).concat(o).concat(a)}),t}function Sv(e){var t;return(t=/@ (.+)/.exec(e))===null||t===void 0?void 0:t[1]}function pl(e){return"".concat(e.name||"Error",": ").concat(e.message)}function Ev(){var e=2,t=new Error,r;if(!t.stack)try{throw t}catch{}return Fr(function(){var n=Je(t);n.stack=n.stack.slice(e),r=xt(n)}),r}function ml(e,t){for(var r=e,n=[];(r==null?void 0:r.cause)instanceof Error&&n.length<10;){var i=Je(r.cause);n.push({message:r.cause.message,source:t,type:i==null?void 0:i.name,stack:i&&xt(i)}),r=r.cause}return n.length?n:void 0}var Ie={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"};function Cv(e){var t=function(i,o){var a=dl({stackTrace:i,originalError:o,startClocks:Jt(),nonErrorPrefix:"Uncaught",source:Ie.SOURCE,handling:"unhandled"});e.notify(a)},r=xv(t).stop,n=kv(t).stop;return{stop:function(){r(),n()}}}function xv(e){return vt(window,"onerror",function(t){var r=t.parameters,n=r[0],i=r[1],o=r[2],a=r[3],s=r[4],c;s instanceof Error?c=Je(s):c=dv(n,i,o,a),e(c,s??n)})}function kv(e){return vt(window,"onunhandledrejection",function(t){var r=t.parameters[0],n=r.reason||"Empty reason",i=Je(n);e(i,n)})}function Tv(e){var t=ve({version:"5.11.0",onReady:function(r){r()}},e);return Object.defineProperty(t,"_setDebug",{get:function(){return ih},enumerable:!1}),t}function Rv(e,t,r){var n=e[t];e[t]=r,n&&n.q&&n.q.forEach(function(i){return Wu(i,"onReady callback threw an error:")()})}function hl(e,t){t.silentMultipleInit||ce.error("".concat(e," is already initialized."))}var fe;(function(e){e.BEFORE_UNLOAD="beforeunload",e.CLICK="click",e.DBL_CLICK="dblclick",e.KEY_DOWN="keydown",e.LOAD="load",e.POP_STATE="popstate",e.SCROLL="scroll",e.TOUCH_START="touchstart",e.TOUCH_END="touchend",e.TOUCH_MOVE="touchmove",e.VISIBILITY_CHANGE="visibilitychange",e.PAGE_SHOW="pageshow",e.FREEZE="freeze",e.RESUME="resume",e.DOM_CONTENT_LOADED="DOMContentLoaded",e.POINTER_DOWN="pointerdown",e.POINTER_UP="pointerup",e.POINTER_CANCEL="pointercancel",e.HASH_CHANGE="hashchange",e.PAGE_HIDE="pagehide",e.MOUSE_DOWN="mousedown",e.MOUSE_UP="mouseup",e.MOUSE_MOVE="mousemove",e.FOCUS="focus",e.BLUR="blur",e.CONTEXT_MENU="contextmenu",e.RESIZE="resize",e.CHANGE="change",e.INPUT="input",e.PLAY="play",e.PAUSE="pause",e.SECURITY_POLICY_VIOLATION="securitypolicyviolation",e.SELECTION_CHANGE="selectionchange",e.STORAGE="storage"})(fe||(fe={}));function tr(e,t,r,n,i){return fa(e,t,[r],n,i)}function fa(e,t,r,n,i){var o=i===void 0?{}:i,a=o.once,s=o.capture,c=o.passive,u=W(function(l){!l.isTrusted&&!l.__ddIsTrusted&&!e.allowUntrustedEvents||(a&&d(),n(l))}),p=c?{capture:s,passive:c}:s,f=Wt(t,"addEventListener");r.forEach(function(l){return f.call(t,l,u,p)});function d(){var l=Wt(t,"removeEventListener");r.forEach(function(m){return l.call(t,m,u,p)})}return{stop:d}}var et={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function Av(e,t){var r=[];Xt(t,et.cspViolation)&&r.push(Pv(e));var n=t.filter(function(i){return i!==et.cspViolation});return n.length&&r.push(Ov(n)),el.apply(void 0,r)}function Ov(e){return new ue(function(t){if(window.ReportingObserver){var r=W(function(i,o){return i.forEach(function(a){t.notify(Iv(a))})}),n=new window.ReportingObserver(r,{types:e,buffered:!0});return n.observe(),function(){n.disconnect()}}})}function Pv(e){return new ue(function(t){var r=tr(e,document,fe.SECURITY_POLICY_VIOLATION,function(n){t.notify(Lv(n))}).stop;return r})}function Iv(e){var t=e.type,r=e.body;return{type:t,subtype:r.id,message:"".concat(t,": ").concat(r.message),originalReport:e,stack:vl(r.id,r.message,r.sourceFile,r.lineNumber,r.columnNumber)}}function Lv(e){var t=et.cspViolation,r="'".concat(e.blockedURI,"' blocked by '").concat(e.effectiveDirective,"' directive");return{type:et.cspViolation,subtype:e.effectiveDirective,message:"".concat(t,": ").concat(r),stack:vl(e.effectiveDirective,e.originalPolicy?"".concat(r,' of the policy "').concat(ch(e.originalPolicy,100,"..."),'"'):"no policy",e.sourceFile,e.lineNumber,e.columnNumber),originalReport:e}}function vl(e,t,r,n,i){return r?xt({name:e,message:t,stack:[{func:"?",url:r,line:n??void 0,column:i??void 0}]}):void 0}function gl(e,t){var r=window.__ddBrowserSdkExtensionCallback;r&&r({type:e,payload:t})}function pa(e){return e===null?"null":Array.isArray(e)?"array":typeof e}function Mn(e,t,r){if(r===void 0&&(r=Nv()),t===void 0)return e;if(typeof t!="object"||t===null)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){var n=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,n)}if(!r.hasAlreadyBeenSeen(t)){if(Array.isArray(t)){for(var i=Array.isArray(e)?e:[],o=0;o<t.length;++o)i[o]=Mn(i[o],t[o],r);return i}var a=pa(e)==="object"?e:{};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(a[s]=Mn(a[s],t[s],r));return a}}function yl(e){return Mn(void 0,e)}function Gt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n=0,i=e;n<i.length;n++){var o=i[n];o!=null&&(r=Mn(r,o))}return r}function Nv(){if(typeof WeakSet<"u"){var e=new WeakSet;return{hasAlreadyBeenSeen:function(r){var n=e.has(r);return n||e.add(r),n}}}var t=[];return{hasAlreadyBeenSeen:function(r){var n=t.indexOf(r)>=0;return n||t.push(r),n}}}function Mv(){var e,t=window.navigator;return{status:t.onLine?"connected":"not_connected",interfaces:t.connection&&t.connection.type?[t.connection.type]:void 0,effective_type:(e=t.connection)===null||e===void 0?void 0:e.effectiveType}}var ma={log:"log",configuration:"configuration"},Fv=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],Dv=[zh],De={maxEventsPerPage:0,sentEventCount:0,telemetryEnabled:!1,telemetryConfigurationEnabled:!1},co;function Bv(e,t){var r,n=new ue;De.telemetryEnabled=!Xt(Dv,t.site)&&io(t.telemetrySampleRate),De.telemetryConfigurationEnabled=De.telemetryEnabled&&io(t.telemetryConfigurationSampleRate);var i=$v();co=function(a){if(De.telemetryEnabled){var s=o(e,a,i);n.notify(s),gl("telemetry",s)}},nh(wl),ve(De,{maxEventsPerPage:t.maxTelemetryEventsPerPage,sentEventCount:0});function o(a,s,c){return Gt({type:"telemetry",date:ot(),service:a,version:"5.11.0",source:"browser",_dd:{format_version:2},telemetry:Gt(s,{runtime_env:c,connectivity:Mv()}),experimental_features:Yu(qm())},r!==void 0?r():{})}return{setContextProvider:function(a){r=a},observable:n,enabled:De.telemetryEnabled}}function $v(){return{is_local_file:window.location.protocol==="file:",is_worker:"WorkerGlobalScope"in self}}function Uv(e){return e.site===Uh}function bl(e,t){oo(xe.debug,e,t),ha(ve({type:ma.log,message:e,status:"debug"},t))}function wl(e,t){ha(ve({type:ma.log,status:"error"},zv(e),t))}function jv(e){De.telemetryConfigurationEnabled&&ha({type:ma.configuration,configuration:e})}function ha(e){co&&De.sentEventCount<De.maxEventsPerPage&&(De.sentEventCount+=1,co(e))}function zv(e){if(e instanceof Error){var t=Je(e);return{error:{kind:t.name,stack:xt(Hv(t))},message:t.message}}return{error:{stack:ll},message:"".concat("Uncaught"," ").concat(er(e))}}function Hv(e){return e.stack=e.stack.filter(function(t){return!t.url||Fv.some(function(r){return Ku(t.url,r)})}),e}function qv(e){var t=new Set;return e.forEach(function(r){return t.add(r)}),Yu(t)}function _l(e,t){var r=e.indexOf(t);r>=0&&e.splice(r,1)}var dn=1/0,Wv=St,Vv=function(){function e(t,r){var n=this;this.expireDelay=t,this.maxEntries=r,this.entries=[],this.clearOldValuesInterval=sa(function(){return n.clearOldValues()},Wv)}return e.prototype.add=function(t,r){var n=this,i={value:t,startTime:r,endTime:dn,remove:function(){_l(n.entries,i)},close:function(o){i.endTime=o}};return this.maxEntries&&this.entries.length>=this.maxEntries&&this.entries.pop(),this.entries.unshift(i),i},e.prototype.find=function(t){t===void 0&&(t=dn);for(var r=0,n=this.entries;r<n.length;r++){var i=n[r];if(i.startTime<=t){if(t<=i.endTime)return i.value;break}}},e.prototype.closeActive=function(t){var r=this.entries[0];r&&r.endTime===dn&&r.close(t)},e.prototype.findAll=function(t,r){t===void 0&&(t=dn),r===void 0&&(r=0);var n=Ym(t,r);return this.entries.filter(function(i){return i.startTime<=n&&t<=i.endTime}).map(function(i){return i.value})},e.prototype.reset=function(){this.entries=[]},e.prototype.stop=function(){Zu(this.clearOldValuesInterval)},e.prototype.clearOldValues=function(){for(var t=In()-this.expireDelay;this.entries.length>0&&this.entries[this.entries.length-1].endTime<t;)this.entries.pop()},e}(),Gv=St,Qv=rl;function Yv(e,t,r,n){var i=new ue,o=new ue,a=Fh(e.sessionStoreStrategyType,t,r),s=new Vv(Qv);a.renewObservable.subscribe(function(){s.add(c(),In()),i.notify()}),a.expireObservable.subscribe(function(){o.notify(),s.closeActive(In())}),a.expandOrRenewSession(),s.add(c(),Gm().relative),n.observable.subscribe(function(){n.isGranted()?a.expandOrRenewSession():a.expire()}),Kv(e,function(){n.isGranted()&&a.expandOrRenewSession()}),Jv(e,function(){return a.expandSession()});function c(){return{id:a.getSession().id,trackingType:a.getSession()[t]}}return{findActiveSession:function(u){return s.find(u)},renewObservable:i,expireObservable:o,expire:a.expire}}function Kv(e,t){fa(e,window,[fe.CLICK,fe.TOUCH_START,fe.KEY_DOWN,fe.SCROLL],t,{capture:!0,passive:!0}).stop}function Jv(e,t){var r=function(){document.visibilityState==="visible"&&t()};tr(e,document,fe.VISIBILITY_CHANGE,r).stop,sa(r,Gv)}function Sl(e){return e>=500}function Xv(e){try{return e.clone()}catch{return}}var Zv=80*Ye,eg=32,El=3*Qu,tg=St,Cl=Gr;function xl(e,t,r,n,i){t.transportStatus===0&&t.queuedPayloads.size()===0&&t.bandwidthMonitor.canHandle(e)?Tl(e,t,r,{onSuccess:function(){return Rl(0,t,r,n,i)},onFailure:function(){t.queuedPayloads.enqueue(e),kl(t,r,n,i)}}):t.queuedPayloads.enqueue(e)}function kl(e,t,r,n){e.transportStatus===2&&Qr(function(){var i=e.queuedPayloads.first();Tl(i,e,t,{onSuccess:function(){e.queuedPayloads.dequeue(),e.currentBackoffTime=Cl,Rl(1,e,t,r,n)},onFailure:function(){e.currentBackoffTime=Math.min(tg,e.currentBackoffTime*2),kl(e,t,r,n)}})},e.currentBackoffTime)}function Tl(e,t,r,n){var i=n.onSuccess,o=n.onFailure;t.bandwidthMonitor.add(e),r(e,function(a){t.bandwidthMonitor.remove(e),rg(a)?(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:a.status},o()):(t.transportStatus=0,i())})}function Rl(e,t,r,n,i){e===0&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(i({message:"Reached max ".concat(n," events size queued for upload: ").concat(El/Qu,"MiB"),source:Ie.AGENT,startClocks:Jt()}),t.queueFullReported=!0);var o=t.queuedPayloads;for(t.queuedPayloads=Al();o.size()>0;)xl(o.dequeue(),t,r,n,i)}function rg(e){return e.type!=="opaque"&&(e.status===0&&!navigator.onLine||e.status===408||e.status===429||Sl(e.status))}function ng(){return{transportStatus:0,currentBackoffTime:Cl,bandwidthMonitor:ig(),queuedPayloads:Al(),queueFullReported:!1}}function Al(){var e=[];return{bytesCount:0,enqueue:function(t){this.isFull()||(e.push(t),this.bytesCount+=t.bytesCount)},first:function(){return e[0]},dequeue:function(){var t=e.shift();return t&&(this.bytesCount-=t.bytesCount),t},size:function(){return e.length},isFull:function(){return this.bytesCount>=El}}}function ig(){return{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(e){return this.ongoingRequestCount===0||this.ongoingByteCount+e.bytesCount<=Zv&&this.ongoingRequestCount<eg},add:function(e){this.ongoingRequestCount+=1,this.ongoingByteCount+=e.bytesCount},remove:function(e){this.ongoingRequestCount-=1,this.ongoingByteCount-=e.bytesCount}}}function og(e,t,r,n){var i=ng(),o=function(a,s){return cg(e,t,r,a,s)};return{send:function(a){xl(a,i,o,t.trackType,n)},sendOnExit:function(a){ag(e,t,r,a)}}}function ag(e,t,r,n){var i=!!navigator.sendBeacon&&n.bytesCount<r;if(i)try{var o=t.build("beacon",n),a=navigator.sendBeacon(o,n.data);if(a)return}catch(c){sg(c)}var s=t.build("xhr",n);uo(e,s,n.data)}var Fs=!1;function sg(e){Fs||(Fs=!0,wl(e))}function cg(e,t,r,n,i){var o=ug()&&n.bytesCount<r;if(o){var a=t.build("fetch",n);fetch(a,{method:"POST",body:n.data,keepalive:!0,mode:"cors"}).then(W(function(c){return i==null?void 0:i({status:c.status,type:c.type})}),W(function(){var c=t.build("xhr",n);uo(e,c,n.data,i)}))}else{var s=t.build("xhr",n);uo(e,s,n.data,i)}}function ug(){try{return window.Request&&"keepalive"in new Request("http://a")}catch{return!1}}function uo(e,t,r,n){var i=new XMLHttpRequest;i.open("POST",t,!0),r instanceof Blob&&i.setRequestHeader("Content-Type",r.type),tr(e,i,"loadend",function(){n==null||n({status:i.status})},{once:!0}),i.send(r)}function va(){var e=lg();if(e)return{getCapabilities:function(){var t;return JSON.parse(((t=e.getCapabilities)===null||t===void 0?void 0:t.call(e))||"[]")},getPrivacyLevel:function(){var t;return(t=e.getPrivacyLevel)===null||t===void 0?void 0:t.call(e)},getAllowedWebViewHosts:function(){return JSON.parse(e.getAllowedWebViewHosts())},send:function(t,r,n){var i=n?{id:n}:void 0;e.send(JSON.stringify({eventType:t,event:r,view:i}))}}}function Fn(e){var t;e===void 0&&(e=(t=at().location)===null||t===void 0?void 0:t.hostname);var r=va();return!!r&&r.getAllowedWebViewHosts().some(function(n){return e===n||eh(e,".".concat(n))})}function lg(){return at().DatadogEventBridge}var lr={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function dg(e){return new ue(function(t){var r=Vu(Mr.PAGEHIDE),n=fa(e,window,[fe.VISIBILITY_CHANGE,fe.FREEZE,fe.PAGE_HIDE],function(o){o.type===fe.PAGE_HIDE&&r?t.notify({reason:lr.PAGEHIDE}):o.type===fe.VISIBILITY_CHANGE&&document.visibilityState==="hidden"?t.notify({reason:lr.HIDDEN}):o.type===fe.FREEZE&&t.notify({reason:lr.FROZEN})},{capture:!0}).stop,i=Zt;return r||(i=tr(e,window,fe.BEFORE_UNLOAD,function(){t.notify({reason:lr.UNLOADING})}).stop),function(){n(),i()}})}function fg(e){return Xt(qt(lr),e)}var pg=function(){function e(t,r,n,i){var o=this;this.encoder=t,this.request=r,this.flushController=n,this.messageBytesLimit=i,this.upsertBuffer={},this.flushSubscription=this.flushController.flushObservable.subscribe(function(a){return o.flush(a)})}return e.prototype.add=function(t){this.addOrUpdate(t)},e.prototype.upsert=function(t,r){this.addOrUpdate(t,r)},e.prototype.stop=function(){this.flushSubscription.unsubscribe()},e.prototype.flush=function(t){var r=qt(this.upsertBuffer).join(`
19
+ `);this.upsertBuffer={};var n=fg(t.reason),i=n?this.request.sendOnExit:this.request.send;if(n&&this.encoder.isAsync){var o=this.encoder.finishSync();o.outputBytesCount&&i(Ds(o,t));var a=[o.pendingData,r].filter(Boolean).join(`
20
+ `);a&&i({data:a,bytesCount:oa(a),flushReason:t.reason})}else r&&this.encoder.write(this.encoder.isEmpty?r:`
21
+ `.concat(r)),this.encoder.finish(function(s){i(Ds(s,t))})},e.prototype.addOrUpdate=function(t,r){var n=er(t),i=this.encoder.estimateEncodedBytesCount(n);if(i>=this.messageBytesLimit){ce.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(this.messageBytesLimit,"KB."));return}this.hasMessageFor(r)&&this.remove(r),this.push(n,i,r)},e.prototype.push=function(t,r,n){var i=this;this.flushController.notifyBeforeAddMessage(r),n!==void 0?(this.upsertBuffer[n]=t,this.flushController.notifyAfterAddMessage()):this.encoder.write(this.encoder.isEmpty?t:`
22
+ `.concat(t),function(o){i.flushController.notifyAfterAddMessage(o-r)})},e.prototype.remove=function(t){var r=this.upsertBuffer[t];delete this.upsertBuffer[t];var n=this.encoder.estimateEncodedBytesCount(r);this.flushController.notifyAfterRemoveMessage(n)},e.prototype.hasMessageFor=function(t){return t!==void 0&&this.upsertBuffer[t]!==void 0},e}();function Ds(e,t){var r;return typeof e.output=="string"?r=e.output:r=new Blob([e.output],{type:"text/plain"}),{data:r,bytesCount:e.outputBytesCount,encoding:e.encoding,flushReason:t.reason}}function mg(e){var t=e.messagesLimit,r=e.bytesLimit,n=e.durationLimit,i=e.pageExitObservable,o=e.sessionExpireObservable,a=i.subscribe(function(h){return f(h.reason)}),s=o.subscribe(function(){return f("session_expire")}),c=new ue(function(){return function(){a.unsubscribe(),s.unsubscribe()}}),u=0,p=0;function f(h){if(p!==0){var v=p,b=u;p=0,u=0,m(),c.notify({reason:h,messagesCount:v,bytesCount:b})}}var d;function l(){d===void 0&&(d=Qr(function(){f("duration_limit")},n))}function m(){Xu(d),d=void 0}return{flushObservable:c,get messagesCount(){return p},notifyBeforeAddMessage:function(h){u+h>=r&&f("bytes_limit"),p+=1,u+=h,l()},notifyAfterAddMessage:function(h){h===void 0&&(h=0),u+=h,p>=t?f("messages_limit"):u>=r&&f("bytes_limit")},notifyAfterRemoveMessage:function(h){u-=h,p-=1,p===0&&m()}}}function Ol(e,t,r,n,i,o){var a=c(e,t),s=r&&c(e,r);function c(u,p){var f=p.endpoint,d=p.encoder;return new pg(d,og(u,f,u.batchBytesLimit,n),mg({messagesLimit:u.batchMessagesLimit,bytesLimit:u.batchBytesLimit,durationLimit:u.flushTimeout,pageExitObservable:i,sessionExpireObservable:o}),u.messageBytesLimit)}return{flushObservable:a.flushController.flushObservable,add:function(u,p){p===void 0&&(p=!0),a.add(u),s&&p&&s.add(r.transformMessage?r.transformMessage(u):u)},upsert:function(u,p){a.upsert(u,p),s&&s.upsert(r.transformMessage?r.transformMessage(u):u,p)},stop:function(){a.stop(),s==null||s.stop()}}}function Dn(){var e="",t=0;return{isAsync:!1,get isEmpty(){return!e},write:function(r,n){var i=oa(r);t+=i,e+=r,n&&n(i)},finish:function(r){r(this.finishSync())},finishSync:function(){var r={output:e,outputBytesCount:t,rawBytesCount:t,pendingData:""};return e="",t=0,r},estimateEncodedBytesCount:function(r){return r.length}}}var hg=function(){function e(){this.callbacks={}}return e.prototype.notify=function(t,r){var n=this.callbacks[t];n&&n.forEach(function(i){return i(r)})},e.prototype.subscribe=function(t,r){var n=this;return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(r),{unsubscribe:function(){n.callbacks[t]=n.callbacks[t].filter(function(i){return r!==i})}}},e}();function vg(e,t,r){var n=0,i=!1;return{isLimitReached:function(){if(n===0&&Qr(function(){n=0},St),n+=1,n<=t||i)return i=!1,!1;if(n===t+1){i=!0;try{r({message:"Reached max number of ".concat(e,"s by minute: ").concat(t),source:Ie.AGENT,startClocks:Jt()})}finally{i=!1}}return!0}}}var Ii,ga=new WeakMap;function gg(e){return Ii||(Ii=yg(e)),Ii}function yg(e){return new ue(function(t){var r=vt(XMLHttpRequest.prototype,"open",bg).stop,n=vt(XMLHttpRequest.prototype,"send",function(o){wg(o,e,t)}).stop,i=vt(XMLHttpRequest.prototype,"abort",_g).stop;return function(){r(),n(),i()}})}function bg(e){var t=e.target,r=e.parameters,n=r[0],i=r[1];ga.set(t,{state:"open",method:String(n).toUpperCase(),url:da(String(i))})}function wg(e,t,r){var n=e.target,i=ga.get(n);if(i){var o=i;o.state="start",o.startClocks=Jt(),o.isAborted=!1,o.xhr=n;var a=!1,s=vt(n,"onreadystatechange",function(){n.readyState===XMLHttpRequest.DONE&&c()}).stop,c=function(){if(u(),s(),!a){a=!0;var p=i;p.state="complete",p.duration=Qm(o.startClocks.timeStamp,ot()),p.status=n.status,r.notify(th(p))}},u=tr(t,n,"loadend",c).stop;r.notify(o)}}function _g(e){var t=e.target,r=ga.get(t);r&&(r.isAborted=!0)}var Li;function Sg(){return Li||(Li=Eg()),Li}function Eg(){return new ue(function(e){if(window.fetch){var t=vt(window,"fetch",function(r){return Cg(r,e)}).stop;return t}})}function Cg(e,t){var r=e.parameters,n=e.onPostCall,i=r[0],o=r[1],a=o&&o.method;a===void 0&&i instanceof Request&&(a=i.method);var s=a!==void 0?String(a).toUpperCase():"GET",c=i instanceof Request?i.url:da(String(i)),u=Jt(),p={state:"start",init:o,input:i,method:s,startClocks:u,url:c};t.notify(p),r[0]=p.input,r[1]=p.init,n(function(f){return xg(t,f,p)})}function xg(e,t,r){var n=function(i){var o=r;o.state="resolve","stack"in i||i instanceof Error?(o.status=0,o.isAborted=i instanceof DOMException&&i.code===DOMException.ABORT_ERR,o.error=i):"status"in i&&(o.response=i,o.responseType=i.type,o.status=i.status,o.isAborted=!1),e.notify(o)};t.then(W(n),W(n))}var Ni={};function kg(e){var t=e.map(function(r){return Ni[r]||(Ni[r]=Tg(r)),Ni[r]});return el.apply(void 0,t)}function Tg(e){return new ue(function(t){var r=Be[e];return Be[e]=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];r.apply(console,n);var o=Ev();Fr(function(){t.notify(Rg(n,e,o))})},function(){Be[e]=r}})}function Rg(e,t,r){var n=e.map(function(c){return Ag(c)}).join(" "),i,o,a;if(t===xe.error){var s=Xm(e,function(c){return c instanceof Error});i=s?xt(Je(s)):void 0,o=fl(s),a=s?ml(s,"console"):void 0}return{api:t,message:n,stack:i,handlingStack:r,fingerprint:o,causes:a}}function Ag(e){return typeof e=="string"?Ke(e):e instanceof Error?pl(Je(e)):er(Ke(e),void 0,2)}var Og=500,Pg=function(){function e(){this.buffer=[]}return e.prototype.add=function(t){var r=this.buffer.push(t);r>Og&&this.buffer.splice(0,1)},e.prototype.remove=function(t){_l(this.buffer,t)},e.prototype.drain=function(t){this.buffer.forEach(function(r){return r(t)}),this.buffer.length=0},e}();function lo(e){var t={},r=new ue,n={getContext:function(){return yl(t)},setContext:function(i){pa(i)==="object"?(t=Ke(i),e.updateCustomerData(t)):n.clearContext(),r.notify()},setContextProperty:function(i,o){t[i]=Ke(o),e.updateCustomerData(t),r.notify()},removeContextProperty:function(i){delete t[i],e.updateCustomerData(t),r.notify()},clearContext:function(){t={},e.resetCustomerData(),r.notify()},changeObservable:r};return n}var Ig="_dd_c",Lg=[];function Bs(e,t,r,n){var i=Ng(r,n);Lg.push(tr(e,window,fe.STORAGE,function(c){var u=c.key;i===u&&o()})),t.changeObservable.subscribe(a),t.setContext(Gt(s(),t.getContext()));function o(){t.setContext(s())}function a(){localStorage.setItem(i,JSON.stringify(t.getContext()))}function s(){var c=localStorage.getItem(i);return c!==null?JSON.parse(c):{}}}function Ng(e,t){return"".concat(Ig,"_").concat(e,"_").concat(t)}var Mg=3*Ye,Fg=16*Ye,Dg=200;function Bg(e){e===void 0&&(e=2);var t=new Map,r=!1;function n(i){if(i===void 0&&(i=0),!(r||e===0)){var o=e===2?Mg:Fg,a=i;t.forEach(function(s){a+=s.getBytesCount()}),a>o&&($g(o),r=!0)}}return{createDetachedTracker:function(){var i=$s(function(){return n(i.getBytesCount())});return i},getOrCreateTracker:function(i){return t.has(i)||t.set(i,$s(n)),t.get(i)},setCompressionStatus:function(i){e===0&&(e=i,n())},getCompressionStatus:function(){return e},stop:function(){t.forEach(function(i){return i.stop()}),t.clear()}}}function $s(e){var t=0,r=tl(function(a){t=oa(er(a)),e()},Dg),n=r.throttled,i=r.cancel,o=function(){i(),t=0};return{updateCustomerData:function(a){aa(a)?o():n(a)},resetCustomerData:o,getBytesCount:function(){return t},stop:function(){i()}}}function $g(e){ce.warn("Customer data exceeds the recommended ".concat(e/Ye,"KiB threshold. More details: https://docs.datadoghq.com/real_user_monitoring/browser/troubleshooting/#customer-data-exceeds-the-recommended-threshold-warning"))}function Ug(e,t,r){var n=e.getReader(),i=[],o=0;a();function a(){n.read().then(W(function(c){if(c.done){s();return}r.collectStreamBody&&i.push(c.value),o+=c.value.length,o>r.bytesLimit?s():a()}),W(function(c){return t(c)}))}function s(){n.cancel().catch(Zt);var c,u;if(r.collectStreamBody){var p;if(i.length===1)p=i[0];else{p=new Uint8Array(o);var f=0;i.forEach(function(d){p.set(d,f),f+=d.length})}c=p.slice(0,r.bytesLimit),u=p.length>r.bytesLimit}t(void 0,c,u)}}var jg="datadog-synthetics-public-id",zg="datadog-synthetics-result-id",Hg="datadog-synthetics-injects-rum";function Pl(){return!!(window._DATADOG_SYNTHETICS_INJECTS_RUM||pt(Hg))}function qg(){var e=window._DATADOG_SYNTHETICS_PUBLIC_ID||pt(jg);return typeof e=="string"?e:void 0}function Wg(){var e=window._DATADOG_SYNTHETICS_RESULT_ID||pt(zg);return typeof e=="string"?e:void 0}function Us(e){var t=ve({},e),r=["id","name","email"];return r.forEach(function(n){n in t&&(t[n]=String(t[n]))}),t}function Vg(e){var t=pa(e)==="object";return t||ce.error("Unsupported user:",e),t}var Gg=function(e,t,r,n){var i=arguments.length,o=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,r,o):a(t,r))||o);return i>3&&o&&Object.defineProperty(t,r,o),o},K={debug:"debug",error:"error",info:"info",warn:"warn"},fo={console:"console",http:"http",silent:"silent"},Qg=Object.keys(K),js=function(){function e(t,r,n,i,o,a){i===void 0&&(i=fo.http),o===void 0&&(o=K.debug),a===void 0&&(a={}),this.handleLogStrategy=t,this.handlerType=i,this.level=o,this.contextManager=lo(r),this.contextManager.setContext(a),n&&this.contextManager.setContextProperty("logger",{name:n})}return e.prototype.log=function(t,r,n,i){n===void 0&&(n=K.info);var o;if(i!=null){var a=i instanceof Error?Je(i):void 0,s=dl({stackTrace:a,originalError:i,nonErrorPrefix:"Provided",source:Ie.LOGGER,handling:"handled",startClocks:Jt()});o={stack:s.stack,kind:s.type,message:s.message,causes:s.causes}}var c=Ke(r),u=o?Gt({error:o},c):c;this.handleLogStrategy({message:Ke(t),context:u,status:n},this)},e.prototype.debug=function(t,r,n){this.log(t,r,K.debug,n)},e.prototype.info=function(t,r,n){this.log(t,r,K.info,n)},e.prototype.warn=function(t,r,n){this.log(t,r,K.warn,n)},e.prototype.error=function(t,r,n){this.log(t,r,K.error,n)},e.prototype.setContext=function(t){this.contextManager.setContext(t)},e.prototype.getContext=function(){return this.contextManager.getContext()},e.prototype.setContextProperty=function(t,r){this.contextManager.setContextProperty(t,r)},e.prototype.removeContextProperty=function(t){this.contextManager.removeContextProperty(t)},e.prototype.clearContext=function(){this.contextManager.clearContext()},e.prototype.setHandler=function(t){this.handlerType=t},e.prototype.getHandler=function(){return this.handlerType},e.prototype.setLevel=function(t){this.level=t},e.prototype.getLevel=function(){return this.level},Gg([oh],e.prototype,"log",null),e}();function Yg(e,t){return{view:{referrer:document.referrer,url:window.location.href},context:e.getContext(),user:t.getContext()}}var Kg=32*Ye;function Jg(e){var t=Xh(e),r=zs(e.forwardConsoleLogs,qt(xe),"Forward Console Logs"),n=zs(e.forwardReports,qt(et),"Forward Reports");if(!(!t||!r||!n))return e.forwardErrorsToLogs&&!Xt(r,xe.error)&&r.push(xe.error),ve({forwardErrorsToLogs:e.forwardErrorsToLogs!==!1,forwardConsoleLogs:r,forwardReports:n,requestErrorResponseLengthLimit:Kg},t)}function zs(e,t,r){if(e===void 0)return[];if(!(e==="all"||Array.isArray(e)&&e.every(function(n){return Xt(t,n)}))){ce.error("".concat(r,' should be "all" or an array with allowed values "').concat(t.join('", "'),'"'));return}return e==="all"?t:qv(e)}function Xg(e){var t=Zh(e);return ve({forward_errors_to_logs:e.forwardErrorsToLogs,forward_console_logs:e.forwardConsoleLogs,forward_reports:e.forwardReports},t)}function Zg(e,t,r){var n=new Pg,i,o,a=t.observable.subscribe(s);function s(){if(!(!o||!i||!t.isGranted())){a.unsubscribe();var c=r(i,o);n.drain(c)}}return{init:function(c){if(!c){ce.error("Missing configuration");return}if(Fn()&&(c=ey(c)),i=c,o){hl("DD_LOGS",c);return}var u=Jg(c);u&&(o=u,t.tryToInit(u.trackingConsent),s())},get initConfiguration(){return i},getInternalContext:Zt,handleLog:function(c,u,p,f){p===void 0&&(p=e()),f===void 0&&(f=ot()),n.add(function(d){return d.handleLog(c,u,p,f)})}}}function ey(e){return ve({},e,{clientToken:"empty"})}var Hs="logs";function ty(e){var t=Bg(),r=lo(t.getOrCreateTracker(2)),n=lo(t.getOrCreateTracker(1)),i=Dh();function o(){return Yg(r,n)}var a=Zg(o,i,function(u,p){u.storeContextsAcrossPages&&(Bs(p,r,Hs,2),Bs(p,n,Hs,1));var f=e(u,p,o,i);return a=ry(u,f),f}),s={},c=new js(function(){for(var u=[],p=0;p<arguments.length;p++)u[p]=arguments[p];return a.handleLog.apply(a,u)},t.createDetachedTracker());return Tv({logger:c,init:W(function(u){return a.init(u)}),setTrackingConsent:W(function(u){return i.update(u)}),getGlobalContext:W(function(){return r.getContext()}),setGlobalContext:W(function(u){return r.setContext(u)}),setGlobalContextProperty:W(function(u,p){return r.setContextProperty(u,p)}),removeGlobalContextProperty:W(function(u){return r.removeContextProperty(u)}),clearGlobalContext:W(function(){return r.clearContext()}),createLogger:W(function(u,p){return p===void 0&&(p={}),s[u]=new js(function(){for(var f=[],d=0;d<arguments.length;d++)f[d]=arguments[d];return a.handleLog.apply(a,f)},t.createDetachedTracker(),Ke(u),p.handler,p.level,Ke(p.context)),s[u]}),getLogger:W(function(u){return s[u]}),getInitConfiguration:W(function(){return yl(a.initConfiguration)}),getInternalContext:W(function(u){return a.getInternalContext(u)}),setUser:W(function(u){Vg(u)&&n.setContext(Us(u))}),getUser:W(function(){return n.getContext()}),setUserProperty:W(function(u,p){var f,d=Us((f={},f[u]=p,f))[u];n.setContextProperty(u,d)}),removeUserProperty:W(function(u){return n.removeContextProperty(u)}),clearUser:W(function(){return n.clearContext()})})}function ry(e,t){return ve({init:function(r){hl("DD_LOGS",r)},initConfiguration:e},t)}var ny="logs";function iy(e,t){var r=Yv(e,ny,function(n){return ay(e,n)},t);return{findTrackedSession:function(n){var i=r.findActiveSession(n);return i&&i.trackingType==="1"?{id:i.id}:void 0},expireObservable:r.expireObservable}}function oy(e){var t=Il(e)==="1",r=t?{}:void 0;return{findTrackedSession:function(){return r},expireObservable:new ue}}function Il(e){return io(e.sessionSampleRate)?"1":"0"}function ay(e,t){var r=sy(t)?t:Il(e);return{trackingType:r,isTracked:r==="1"}}function sy(e){return e==="0"||e==="1"}var qs=!1;function wn(e){var t=window;if(Pl()){var r=n(t.DD_RUM_SYNTHETICS);return!r&&!qs&&(qs=!0,bl("Logs sent before RUM is injected by the synthetics worker",{testId:qg(),resultId:Wg()})),r}return n(t.DD_RUM);function n(i){if(i&&i.getInternalContext)return i.getInternalContext(e)}}function cy(e,t,r,n,i){var o=Qg.concat(["custom"]),a={};o.forEach(function(s){a[s]=vg(s,t.eventRateLimiterThreshold,i)}),r.subscribe(0,function(s){var c,u,p=s.rawLogsEvent,f=s.messageContext,d=f===void 0?void 0:f,l=s.savedCommonContext,m=l===void 0?void 0:l,h=Km(p.date),v=e.findTrackedSession(h);if(v){var b=m||n(),w=Gt({service:t.service,session_id:v.id,usr:aa(b.user)?void 0:b.user,view:b.view},b.context,wn(h),p,d);((c=t.beforeSend)===null||c===void 0?void 0:c.call(t,w))===!1||w.origin!==Ie.AGENT&&((u=a[w.status])!==null&&u!==void 0?u:a.custom).isLimitReached()||r.notify(1,w)}})}var st,uy=(st={},st[xe.log]=K.info,st[xe.debug]=K.debug,st[xe.info]=K.info,st[xe.warn]=K.warn,st[xe.error]=K.error,st);function ly(e,t){var r=kg(e.forwardConsoleLogs).subscribe(function(n){t.notify(0,{rawLogsEvent:{date:ot(),message:n.message,origin:Ie.CONSOLE,error:n.api===xe.error?{stack:n.stack,fingerprint:n.fingerprint,causes:n.causes}:void 0,status:uy[n.api]}})});return{stop:function(){r.unsubscribe()}}}var cr,dy=(cr={},cr[et.cspViolation]=K.error,cr[et.intervention]=K.error,cr[et.deprecation]=K.warn,cr);function fy(e,t){var r=Av(e,e.forwardReports).subscribe(function(n){var i=n.message,o=dy[n.type],a;o===K.error?a={kind:n.subtype,stack:n.stack}:n.stack&&(i+=" Found in ".concat(Sv(n.stack))),t.notify(0,{rawLogsEvent:{date:ot(),message:i,origin:Ie.REPORT,error:a,status:o}})});return{stop:function(){r.unsubscribe()}}}function py(e,t){if(!e.forwardErrorsToLogs)return{stop:Zt};var r=gg(e).subscribe(function(o){o.state==="complete"&&i("xhr",o)}),n=Sg().subscribe(function(o){o.state==="resolve"&&i("fetch",o)});function i(o,a){!e.isIntakeUrl(a.url)&&(gy(a)||Sl(a.status))&&("xhr"in a?my(a.xhr,e,s):a.response?vy(a.response,e,s):a.error&&hy(a.error,e,s));function s(c){t.notify(0,{rawLogsEvent:{message:"".concat(yy(o)," error ").concat(a.method," ").concat(a.url),date:a.startClocks.timeStamp,error:{stack:c||"Failed to load"},http:{method:a.method,status_code:a.status,url:a.url},status:K.error,origin:Ie.NETWORK}})}}return{stop:function(){r.unsubscribe(),n.unsubscribe()}}}function my(e,t,r){typeof e.response=="string"?r(ya(e.response,t)):r(e.response)}function hy(e,t,r){r(ya(xt(Je(e)),t))}function vy(e,t,r){var n=Xv(e);!n||!n.body?r():window.TextDecoder?by(n.body,t.requestErrorResponseLengthLimit,function(i,o){r(i?"Unable to retrieve response: ".concat(i):o)}):n.text().then(W(function(i){return r(ya(i,t))}),W(function(i){return r("Unable to retrieve response: ".concat(i))}))}function gy(e){return e.status===0&&e.responseType!=="opaque"}function ya(e,t){return e.length>t.requestErrorResponseLengthLimit?"".concat(e.substring(0,t.requestErrorResponseLengthLimit),"..."):e}function yy(e){return e==="xhr"?"XHR":"Fetch"}function by(e,t,r){Ug(e,function(n,i,o){if(n)r(n);else{var a=new TextDecoder().decode(i);o&&(a+="..."),r(void 0,a)}},{bytesLimit:t,collectStreamBody:!0})}function wy(e,t){if(!e.forwardErrorsToLogs)return{stop:Zt};var r=new ue,n=Cv(r).stop,i=r.subscribe(function(o){t.notify(0,{rawLogsEvent:{message:o.message,date:o.startClocks.timeStamp,error:{kind:o.type,stack:o.stack,causes:o.causes},origin:Ie.SOURCE,status:K.error}})});return{stop:function(){n(),i.unsubscribe()}}}var _y=hg,At,Ws=(At={},At[K.debug]=0,At[K.info]=1,At[K.warn]=2,At[K.error]=3,At);function Sy(e){function t(r,n,i,o){var a=Gt(n.getContext(),r.context);Vs(r.status,fo.console,n)&&Ey(r,a),Vs(r.status,fo.http,n)&&e.notify(0,{rawLogsEvent:{date:o||ot(),message:r.message,status:r.status,origin:Ie.LOGGER},messageContext:a,savedCommonContext:i})}return{handleLog:t}}function Vs(e,t,r){var n=r.getHandler(),i=Array.isArray(n)?n:[n];return Ws[e]>=Ws[r.getLevel()]&&Xt(i,t)}function Ey(e,t){dt[e.status].call(Be,e.message,t)}function Cy(e,t,r,n,i){var o=Ol(e,{endpoint:e.logsEndpointBuilder,encoder:Dn()},e.replica&&{endpoint:e.replica.logsEndpointBuilder,encoder:Dn()},r,n,i.expireObservable);return t.subscribe(1,function(a){o.add(a)}),o}function xy(e){var t=va();e.subscribe(1,function(r){t.send("log",r)})}function ky(e){return{get:function(t){var r=e.findTrackedSession(t);if(r)return{session_id:r.id}}}}function Ty(e){return function(t){e.notify(0,{rawLogsEvent:{message:t.message,date:t.startClocks.timeStamp,origin:Ie.AGENT,status:K.error}}),bl("Error reported to customer",{"error.message":t.message})}}function Ry(e,t,r,n,i){var o=Bv("browser-logs-sdk",t);o.setContextProvider(function(){var f,d,l,m,h,v;return{application:{id:(f=wn())===null||f===void 0?void 0:f.application_id},session:{id:(d=i.findTrackedSession())===null||d===void 0?void 0:d.id},view:{id:(m=(l=wn())===null||l===void 0?void 0:l.view)===null||m===void 0?void 0:m.id},action:{id:(v=(h=wn())===null||h===void 0?void 0:h.user_action)===null||v===void 0?void 0:v.id}}});var a=[];if(Fn()){var s=va(),c=o.observable.subscribe(function(f){return s.send("internal_telemetry",f)});a.push(function(){return c.unsubscribe()})}else{var u=Ol(t,{endpoint:t.rumEndpointBuilder,encoder:Dn()},t.replica&&{endpoint:t.replica.rumEndpointBuilder,encoder:Dn()},r,n,i.expireObservable);a.push(function(){return u.stop()});var p=o.observable.subscribe(function(f){return u.add(f,Uv(t))});a.push(function(){return p.unsubscribe()})}return jv(Xg(e)),{telemetry:o,stop:function(){a.forEach(function(f){return f()})}}}function Ay(e,t,r,n){var i=new _y,o=[];i.subscribe(1,function(l){return gl("logs",l)});var a=Ty(i),s=dg(t),c=t.sessionStoreStrategyType&&!Fn()&&!Pl()?iy(t,n):oy(t),u=Ry(e,t,a,s,c).stop;o.push(function(){return u()}),py(t,i),wy(t,i),ly(t,i),fy(t,i);var p=Sy(i).handleLog;if(cy(c,t,i,r,a),Fn())xy(i);else{var f=Cy(t,i,a,s,c).stop;o.push(function(){return f()})}var d=ky(c);return{handleLog:p,getInternalContext:d.get,stop:function(){o.forEach(function(l){return l()})}}}var Bn=ty(Ay);Rv(at(),"DD_LOGS",Bn);const Ll="local",$e=(e,t)=>Bn.logger.error(e,t),Oy=()=>{const e=Py();Bn.init({clientToken:"pub3024831b8d3568048614d6e5a6d44f27",forwardErrorsToLogs:e!=Ll,version:"1.22.18"}),Bn.setGlobalContext({team:"super",env:e,service:"ApolloSuperCampaign.UI"})},Py=()=>{const e=window.location.hostname.toLowerCase().split(".")[0];switch(e){case"autodev-partner":case"test-partner":case"sandbox-partner":return e.replace("-partner","");case"partner":return"prod";default:return Ll}},Iy=kn.a({fontWeight:"500",textDecorationLine:"underline",textUnderlineOffset:"2px",":hover":{"--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))"}}),Ly="_extnav=true",M=({link:e,onClick:t,children:r,...n})=>{const i=e.indexOf("?")===-1?"?":"&",o=`${e}${i}${Ly}`;return _(Iy,{target:"_blank",href:o,onClick:t,...n,children:r})},Ny=""+new URL("assets/logo-active-BAEWzF0a.svg",import.meta.url).href,My="Active Super",po={fundId:"active",name:My,logo:Ny,iframeType:"PromotedFundJoinV1",features:[_("p",{children:"Winner of Canstar's 2023 Outstanding Value – Superannuation Award considering investment performance, fees and product features*"}),_("p",{children:"Recognised as a leader in responsible investment"}),_("p",{children:"Calls answered in 20 seconds (average over 5 years)"})],featureSubText:_("span",{children:"*Based on a comparison of the Active Super Accumulation Scheme held by those aged 20-69 years and balances between $30,000 and $1.5 million."}),disclaimer:R("p",{children:["Issued by LGSS Pty Limited as trustee for Local Government Super (Active Super ABN:28 901 371 321). Consider the PDS and TMD at"," ",_(M,{onClick:()=>re(po),link:"https://www.activesuper.com.au/pds",children:"activesuper.com.au"})," ","before making a decision."]})},Fy=""+new URL("assets/logo-aus-eth-FW9TuDYd.svg",import.meta.url).href,Dy="Australian Ethical",Mi="https://www.australianethical.com.au/super/pds-forms/",_r={fundId:"australian-ethical",name:Dy,logo:Fy,iframeType:"PromotedFundJoinV2",features:[R("p",{children:["Fastest growing super fund in Australia",_("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),R("p",{children:["Nil investments in fossil fuel companies",_("sup",{css:{fontSize:"0.625rem"},children:"2"})]}),_("p",{children:"Competitive returns"})],featureSubText:R("ol",{css:{marginLeft:"0.75rem",listStylePosition:"outside",listStyleType:"decimal"},children:[_("li",{children:"Source: KPMG Super Insights Report 2022."}),_("li",{children:"All our options go through positive and negative ethical screening in accordance with the Australian Ethical Charter (in place since 1986)."})]}),disclaimer:R("p",{children:["Issued by Australian Ethical Superannuation Pty Ltd (ABN 43 079 259 733, RSE L0001441, AFSL 526055). Please consider the"," ",_(M,{link:"https://www.australianethical.com.au/globalassets/pdf-files/forms--pds/superpension/important-information/ae-financial-services-guide_sec.pdf",children:"Financial Services Guide"}),", the"," ",_(M,{link:Mi,onClick:()=>re(_r),children:"Product Disclosure Statement"})," ","and"," ",_(M,{link:Mi,onClick:()=>re(_r),children:"Target Market Determination"})," ","available on our"," ",_(M,{link:Mi,onClick:()=>re(_r),children:"website"}),"."]})},By=""+new URL("assets/logo-art-6eMN3DO0.svg",import.meta.url).href,Gs="Australian Retirement Trust",mo={fundId:"australian-retirement-trust",name:Gs,logo:By,iframeType:"PromotedFundJoinV1",features:[_("p",{children:"$200 billion in retirement savings"}),_("p",{children:"2+ million members"}),_("p",{children:"A focus on delivering strong, long‑term returns"})],featureSubText:_("span",{children:"QSuper is now part of Australian Retirement Trust. If you have an existing QSuper account, you will continue to hold that account by selecting this option."}),disclaimer:R("p",{children:["You should consider the"," ",_(M,{link:"https://www.australianretirementtrust.com.au/library/media/pdfs/pds/super-savings-product-disclosure-statement-and-membership-form.pdf",onClick:()=>re(mo),children:"Product Disclosure Statement"})," ","and"," ",_(M,{link:"https://www.australianretirementtrust.com.au/tmd",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of this fund."]}),abnInfo:Gs,abn:"60 905 115 063"},$y=""+new URL("assets/logo-aware-C8PXTRJG.svg",import.meta.url).href,Uy="Aware Super",ho={fundId:"aware",name:Uy,logo:$y,iframeType:"PromotedFundJoinV1",features:[R("p",{children:["Multi-award winning fund named Retirement Offering of the Year 2024.",_("sup",{css:{fontSize:"0.625rem"},children:">"})]}),_("p",{children:"Local call centres and a 45-minute Super Helpful check-in."}),_("p",{children:"Returns like 8.40% p.a^ over 10 years for our High Growth option."})],disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{children:[_("sup",{css:{fontSize:"0.625rem"},children:">"}),"Awards are just one factor to consider when deciding on a product."," ",_(M,{link:"https://aware.com.au/member/about-us/awards",children:"Find out more on our awards."})," ","^Past performance is not an indicator of future performance."," ",_(M,{link:"https://aware.com.au/member/what-we-offer/investments/investment-returns",children:"View our returns"}),". Consider if we’re right for you and"," ",_(M,{link:"https://aware.com.au/member/contact-aware-super/forms-and-documents",onClick:()=>re(ho),children:"read the PDS and TMD"}),"."]}),_("p",{children:"Issued by Aware Super Pty Ltd. (ABN 11 118 202 672, AFSL 293340), the trustee of Aware Super (ABN 53 226 460 365)."})]})},jy=""+new URL("assets/logo-brighter-cKB6xH2M.svg",import.meta.url).href,zy="Brighter Super",vo={fundId:"brightersuper",name:zy,logo:jy,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"A not-for-profit fund with personalised service and strong member focus"}),_("p",{children:"No cost super health checks by phone, online or in-person to get you set up"}),_("p",{children:"Solid long-term performance, competitive fees & proudly Queensland based"})],disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{children:["You should consider the"," ",_(M,{link:"https://brightersuper.com.au/-/media/public/files/pds-and-guides/accumulation-account-pds.pdf",onClick:()=>re(vo),children:"Product Disclosure Statement"})," ","&"," ",_(M,{link:"https://brightersuper.com.au/-/media/public/files/target-market-determination/tmd-brighter-super-accumulation-account.pdf",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the Fund."]}),_("p",{children:"Product issued by LGIAsuper Trustee (ABN 94 085 088 484 AFS Licence No. 230511) as trustee for LGIAsuper (ABN 23 053 121 564), trading as Brighter Super."})]})},Hy=""+new URL("assets/logo-first-CusDmGWL.svg",import.meta.url).href,qy="First Super",go={fundId:"first-super",name:qy,logo:Hy,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Industry SuperFund that offers five investment options and default insurance"}),_("p",{children:"Strong long-term investment returns and superior customer service - members first"}),_("p",{children:"Established super fund – anyone can join including KiwiSaver members"})],disclaimer:R("div",{children:[R("p",{children:["General advice only which has been prepared without taking into account your objectives, financial situation or needs. Consider whether the advice is appropriate for you and read the Product Disclosure Statement (PDS) before making any investment decisions. PDS and Target Market Determination are available at our"," ",_(M,{onClick:()=>re(go),link:"https://www.firstsuper.com.au/forms-tools/product-disclosure-statements/",children:"website"}),". Past performance is not a reliable indicator of future performance."]}),_("br",{}),_("p",{children:"Issued by First Super Pty Ltd ABN 42 053 498 472, AFSL 223988 (Trustee) as Trustee of First Super ABN 56 286 625 181."})]})},Wy=""+new URL("assets/logo-hesta-NL7xF41R.svg",import.meta.url).href,Vy="HESTA",yo={fundId:"hesta-default",name:Vy,logo:Wy,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"A top-performing super fund* working for real-world impact"}),_("p",{children:"1+ million members"}),_("p",{children:"Expert help whenever you need it to help you face the future with confidence"})],featureSubText:void 0,disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{css:{fontStyle:"italic"},children:["* SuperRatings 10 Year Platinum Performance 2014-2024 (MySuper). Investment performance contributes to but is not the only factor in determining this product rating. Product ratings and awards are only one factor to be considered. See"," ",_(M,{link:"https://www.hesta.com.au/ratings",children:"hesta.com.au/ratings"})," ","for more information."]}),R("p",{children:["Consider whether this product is appropriate for you by reading the Product Disclosure Statement and Target Market Determination at"," ",_(M,{onClick:()=>re(yo),link:"https://www.hesta.com.au/pds",children:"hesta.com.au/pds"})," ","In considering your own circumstances about the suitability of HESTA products, you may wish to consult an adviser or use the ATO YourSuper comparison tool. Please also consider the relevant risks."]}),_("p",{children:"Issued by H.E.S.T. Australia Ltd ABN 66 006 818 695 AFSL No. 235249, Trustee of HESTA"})]})},Gy=""+new URL("assets/logo-legalsuper-xG2DgGHY.svg",import.meta.url).href,Qy="legalsuper",Sr={fundId:"legalsuper",name:Qy,logo:Gy,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Strong performance - our investment options are designed to deliver steady returns."}),_("p",{children:"Personalised support - so you can access advice, knowledge and assistance when you need it."}),_("p",{children:"Tailored insurance - various cover options that adapt to life’s milestones and career changes."})],disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{children:["This information is of a general nature. Please refer to the legalsuper"," ",_(M,{link:"https://www.legalsuper.com.au/super-pds",onClick:()=>re(Sr),children:"Product Disclosure Statement (PDS)"})," ","and"," ",_(M,{link:"https://www.legalsuper.com.au/super-tmd",onClick:()=>re(Sr),children:"Target Market Determination (TMD)"})," ","available at"," ",_(M,{link:"https://www.legalsuper.com.au/",onClick:()=>re(Sr),children:"www.legalsuper.com.au"})," ","before making any decision. Past performance is not a guide to future performance."]}),_("p",{children:"Legal Super Pty Ltd ABN 37 004 455 789 AFSL 246315 as the Trustee for legalsuper ABN 60 346 078 879."})]})},Yy=""+new URL("assets/coverImage-BkXL9zfW.png",import.meta.url).href,Ky=""+new URL("assets/logo-mercer-mychoice-BB6VztRp.svg",import.meta.url).href,Jy="Mercer MyChoice",bo={fundId:"mercermychoice",name:Jy,logo:Ky,coverImage:Yy,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Save more super with our low fees"}),_("p",{children:"Take control with 6 MyChoice investment options"}),_("p",{children:"Join 850,000 Australians who trust our global expertise"})],disclaimer:R("div",{children:[R("p",{children:["You should consider the"," ",_(M,{link:"https://www.mercersuper.com.au/campaign-page/mercer-mychoice",onClick:()=>re(bo),children:"Product Disclosure Statement"})," ","and"," ",_(M,{link:"https://www.mercersuper.com.au/documents/target-market-determinations",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]}),_("br",{}),_("p",{children:"Issued by Mercer Superannuation (Australia) Limited (‘Mercer Super’) ABN: 79 004 717 533"})]}),extraBadge:_("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},children:"Low fees"})},Xy=""+new URL("assets/logo-mine-7mxPtjsF.svg",import.meta.url).href,Zy="Mine Super",wo={fundId:"mine",name:Zy,logo:Xy,iframeType:"PromotedFundJoinV2",features:[R("p",{children:[_("i",{children:"Money"})," magazine’s Best of the Best Awards for Best Value Superannuation Fund for Young People 2024."]}),_("p",{children:"Insurance cover^ that’s got your back if you’re unable to work due to sickness or injury."}),_("p",{children:"Low fixed admin fee of $1 per week."})],featureSubText:["^Subject to meeting eligibility criteria."],disclaimer:_("div",{children:R("p",{children:["Mine Super products are issued by AUSCOAL Superannuation Pty Ltd ABN 70 003 566 989 AFS licence 246864 Trustee for the Mine Superannuation Fund ABN 16 457 520 308. Refer to the"," ",_(M,{link:"https://www.mine.com.au/super/about-my-super/super-pds",onClick:()=>re(wo),children:"PDS"})," ","and ",_(M,{link:"https://www.mine.com.au/tmd",children:"TMDs"})," on our website at ",_(M,{link:"https://www.mine.com.au/",children:"mine.com.au"})," when considering if our financial products are right for you."]})})},eb=""+new URL("assets/logo-reisuper-aM5iDbpN.svg",import.meta.url).href,tb="REI Super",_o={fundId:"reisuper",name:tb,logo:eb,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Built by and for the real estate industry"}),_("p",{children:"Consistent long-term performance with competitive fees*"}),_("p",{children:"All profits to members, not shareholders"})],disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[_("p",{children:"*Balanced Option net investment return of 9.45% for year ending 30 June 2023."}),R("p",{children:["You should consider the"," ",_(M,{link:"https://www.reisuper.com.au/docs/default-source/super/rei-super-pds.pdf?utm_source=flarehr&utm_medium=banners&utm_campaign=flarehr_join&utm_term=pds",onClick:()=>re(_o),children:"Product Disclosure Statement"})," ","and"," ",_(M,{link:"https://www.reisuper.com.au/publications-and-forms/target-market-determination?utm_source=flarehr&utm_medium=banners&utm_campaign=flarehr_join&utm_term=tmd",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]})]}),abnInfo:"REI Superannuation Fund Pty Ltd",abn:"68 056 044 770"},rb=""+new URL("assets/logo-slate-CowODvPX.png",import.meta.url).href,nb="Slate Super",$n={fundId:na,name:nb,logo:rb,iframeType:"SlateJoin",features:[_("p",{children:"A lifestage investment strategy that evolves with you"}),_("p",{children:"Advanced mobile app with retirement forecast and smart features"}),_("p",{children:"Member advocates at Slate to assist with your account"})],disclaimer:R("p",{children:["You should consider the"," ",_(M,{link:"https://slate.co/pds/?utm_source=flare&utm_medium=superselection",onClick:()=>re($n),children:"Product Disclosure Statement"})," ","and"," ",_(M,{link:"https://slate.co/forms-and-documents/target-market-determination/",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]}),abnInfo:"Diversa Trustees Limited",abn:"49 006 421 638"},ib=""+new URL("assets/logo-spirit-CAaRIHR7.svg",import.meta.url).href,ob="Spirit Super",So={fundId:"spirit",name:ob,logo:ib,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Proud Industry SuperFund - all profits go back to members"}),R("p",{children:["Best customer experience in super",_("sup",{css:{fontSize:"0.625rem"},children:"1"})," and best for value",_("sup",{css:{fontSize:"0.625rem"},children:"2"})]}),R("p",{children:["Low fees",_("sup",{css:{fontSize:"0.625rem"},children:"3"})," with a focus on strong returns and investing with impact in communities",_("sup",{css:{fontSize:"0.625rem"},children:"4"})]})],featureSubText:_("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:R("ol",{css:{listStyleType:"decimal","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[_("li",{children:_("span",{children:"CSBA SenseCX Benchmark 2021-22"})}),_("li",{children:_("span",{children:"Awarded Best for Value in the WeMoney Superannuation Awards 2022"})}),_("li",{children:_("span",{children:"Just $67.60 + 0.15% pa admin fees, capped at $517.60"})}),_("li",{children:_("span",{children:"Rainmaker ESG Leader Rating 2022"})})]})}),disclaimer:R("p",{children:["Past performance isn’t a reliable indicator of future performance. Consider the PDS and TMD at"," ",_(M,{link:"https://www.spiritsuper.com.au/pds",onClick:()=>re(So),children:"www.spiritsuper.com.au/pds"})," ","before making a decision. Issuer is Motor Trades Association of Australia Superannuation Fund Pty Ltd (AFSL 238 718, ABN 14 008 650 628), the trustee of Spirit Super (ABN 74 559 365 913). Advice is provided by Quadrant First Pty Ltd (ABN 78 102 167 877, AFSL 284443)."]})},ab=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,sb="Unisuper",cb="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",ub="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",Eo={fundId:"unisuper-default",name:sb,logo:ab,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Low fees, better value – Our fees are among the lowest in the industry.^"}),_("p",{children:"Strong, long-term performance – We regularly exceed industry averages.*"}),R("p",{children:["Award winning super – Continually recognised as one of Australia’s best-performing funds.",_("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{children:["^Read more about our fees and how we compare"," ",_(M,{link:"https://www.unisuper.com.au/super/products-and-fees",children:"here"}),"."]}),R("p",{children:["*Past performance is not an indicator of future performance. Read more about our performance and how we compare"," ",_(M,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),R("p",{children:[_("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",_(M,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),R("p",{children:["Remember to consider the"," ",_(M,{link:cb,onClick:()=>re(Eo),children:"Product Disclosure Statement"})," ","and ",_(M,{link:ub,children:"Target Market Determination"})," that is relevant to you."]}),_("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},lb=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,db=""+new URL("assets/unisuper-default-badge1-CC2-KRH2.svg",import.meta.url).href,fb=""+new URL("assets/unisuper-default-badge2-CqUa_Zky.svg",import.meta.url).href,pb=""+new URL("assets/unisuper-default-badge3-B7j1-pyZ.svg",import.meta.url).href,fn="Unisuper",mb="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",hb="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",Co={fundId:"unisuper-default-v2",name:fn,logo:lb,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Low fees, better value – Our fees are among the lowest in the industry.^"}),_("p",{children:"Strong, long-term performance – We regularly exceed industry averages.*"}),R("p",{children:["Award winning super – Continually recognised as one of Australia’s best-performing funds.",_("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],customContent:R("div",{css:{marginTop:"1.5rem",display:"flex",gap:"0.75rem"},children:[_("div",{children:_("img",{alt:fn,src:db})}),_("div",{children:_("img",{alt:fn,src:fb})}),_("div",{children:_("img",{alt:fn,src:pb})})]}),disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{children:["^Read more about our fees and how we compare"," ",_(M,{link:"https://www.unisuper.com.au/super/products-and-fees",children:"here"}),"."]}),R("p",{children:["*Past performance is not an indicator of future performance. Read more about our performance and how we compare"," ",_(M,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),R("p",{children:[_("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",_(M,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),R("p",{children:["Remember to consider the"," ",_(M,{link:mb,onClick:()=>re(Co),children:"Product Disclosure Statement"})," ","and ",_(M,{link:hb,children:"Target Market Determination"})," that is relevant to you."]}),_("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},vb=""+new URL("assets/logo-virgin-Dg0nHidv.svg",import.meta.url).href,gb="Virgin Money Super",xo={fundId:"virgin",name:gb,logo:vb,iframeType:"PromotedFundJoinV2",features:[R("p",{children:["Returns above industry and retail super fund medians over the past 5 years",_("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),_("p",{children:"One of the lowest fees in the market"}),R("p",{children:["Virgin Money rewards you with Velocity Points on your contributions",_("sup",{css:{fontSize:"0.625rem"},children:"2"})]})],featureSubText:_("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:R("ol",{css:{listStyleType:"decimal","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[_("li",{children:_("span",{children:"Past performance is not a reliable indicator of future performance. Source: SuperRatings Fund Crediting Rate Survey April 2022."})}),_("li",{children:_("span",{children:_(M,{css:{fontWeight:"400"},link:"https://virginmoney.com.au/superannuation/forms-and-key-information/key-documents",children:"Eligibility and T&Cs apply"})})})]})}),disclaimer:R("p",{children:["Prepared by Virgin Money Financial Services Pty Ltd ABN 51 113 285 395 AFSL 286869 (‘Virgin Money’). Virgin Money Super is a plan in the Mercer Super Trust ABN 19 905 422 981. Virgin Money Super is issued by Mercer Superannuation (Australia) Limited (MSAL) ABN 79 004 717 533 AFSL 235906 as trustee of the Mercer Super Trust. Consider the PDS and TMD at"," ",_(M,{link:"https://virginmoney.com.au/superannuation/",onClick:()=>re(xo),children:"www.virginmoney.com.au"})," ","before making a decision"]}),extraBadge:_("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},children:"Low fees"})},yb=e=>{switch(e.fundId){case po.fundId:return{...po,fundType:e.type};case _r.fundId:return{..._r,fundType:e.type};case mo.fundId:return{...mo,fundType:e.type};case ho.fundId:return{...ho,fundType:e.type};case vo.fundId:return{...vo,fundType:e.type};case go.fundId:return{...go,fundType:e.type};case yo.fundId:return{...yo,fundType:e.type};case Sr.fundId:return{...Sr,fundType:e.type};case bo.fundId:return{...bo,fundType:e.type};case wo.fundId:return{...wo,fundType:e.type};case _o.fundId:return{..._o,fundType:e.type};case $n.fundId:return{...$n,fundType:e.type};case So.fundId:return{...So,fundType:e.type};case Eo.fundId:return{...Eo,fundType:e.type};case Co.fundId:return{...Co,fundType:e.type};case xo.fundId:return{...xo,fundType:e.type}}return $e("Fund ID was not mapped from the Campaign Connect response.",{fund:e}),null},Nl=e=>(e==null?void 0:e.flatMap(t=>yb(t)??[]))??[];class dr extends Error{}dr.prototype.name="InvalidTokenError";function bb(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,r)=>{let n=r.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function wb(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return bb(t)}catch{return atob(t)}}function _b(e,t){if(typeof e!="string")throw new dr("Invalid token specified: must be a string");t||(t={});const r=t.header===!0?0:1,n=e.split(".")[r];if(typeof n!="string")throw new dr(`Invalid token specified: missing part #${r+1}`);let i;try{i=wb(n)}catch(o){throw new dr(`Invalid token specified: invalid base64 for part #${r+1} (${o.message})`)}try{return JSON.parse(i)}catch(o){throw new dr(`Invalid token specified: invalid json for part #${r+1} (${o.message})`)}}const Sb=e=>_b(e).sub,Eb=(e,t)=>{let r=0;for(const n of t)if(r+=n.percentage,e<r)return n.variantName;return t[0].variantName},Cb=(e,t)=>{if(t.splitType==="percentage"){const r=parseInt(e.replace(/[^A-F0-9]/gi,""),16),n=t.variants.reduce((a,s)=>a+s.percentage,0),i=r%n;return Eb(i,t.variants)}return t.variants[0].variantName},Ml=e=>{if(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const r=t,n=e[r];if(!n.shouldRun||n.shouldRun(Lt.getState())){const i=Sb(Lt.getState().session.accessToken||""),o=Cb(i,n);o&&(Lt.dispatch(Lm({experimentName:r,selectedVariant:o})),Lt.dispatch(vr.endpoints.segmentTrack.initiate({event:"$experiment_started",properties:{"Experiment name":r,"Variant name":o}})))}}}},xb=()=>{const[e]=Om(),[t,r]=je(!0),n=Vr(),[i]=Pm();if(te(()=>{(async()=>{const s=await i();"data"in s?(Um(),$m(),r(!1)):($e("App-loaded service call failed.",{error:s.error}),jm(`App-loaded service call failed: ${JSON.stringify(s.error)}`))})()},[]),t)return _(Kt,{});const o=async()=>{r(!0),Bm();const{data:a,isSuccess:s,status:c}=await e();if(!s){$e("Backend service call failed.",{status:c}),zm(`Backend service call failed: ${c}`);return}const u=a==null?void 0:a.promotedFunds.filter(f=>f.type==="defined-benefits");if(a.hasDefinedBenefitsEligibility&&(u==null?void 0:u.length)>0){n(Hu({fundId:u[0].fundId,fundType:u[0].type,iframeType:"PromotedFundJoinV2"}));return}n(Mm(a.promotedFunds)),Nl(a.promotedFunds||[]).forEach(f=>{f.experiments&&Ml(f.experiments)})};return R("div",{children:[_("div",{css:{textAlign:"center",fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.875rem",lineHeight:"2.25rem"}},children:"Important information about super"}),_("div",{css:{marginTop:"0.75rem",maxWidth:"800px",textAlign:"center",lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))","@media (min-width: 640px)":{marginTop:"1rem",fontSize:"1.125rem",lineHeight:"2rem"}},children:"The choice of superannuation fund is an important personal financial decision. Next, you’ll be asked to nominate a super fund to receive your employer contributions."}),_("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children:R("div",{css:{maxWidth:"560px",borderRadius:"0.5rem",borderWidth:"1px",padding:"1rem",paddingBottom:"1.5rem","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)","@media (min-width: 640px)":{padding:"1.5rem",paddingBottom:"2rem"}},children:[_("div",{css:{fontWeight:"700",lineHeight:"1.5rem","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"1.75rem"}},children:"By clicking “Continue” you acknowledge that:"}),R("ul",{css:{marginBottom:"1.5rem",marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem"},children:[_("li",{children:"Flare (we/us) provides this paperless employee management service, will feature superannuation funds and offer you employee benefits that you may be interested in;"}),_("li",{children:"all content contained in the following pages does not take into account any of your objectives, financial situation or needs and does not constitute financial product advice;"}),_("li",{children:"in featuring any superannuation funds, we, the technology partner you are accessing us via, or your employer, are not providing any opinion or recommendation (actual or implied) in relation to the suitability or appropriateness of the featured funds;"}),_("li",{children:"Trustees of the featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others pay us to have their application form on our platform;"}),_("li",{children:"in the event that you choose one of the featured superannuation funds, we may pass on your personal information and TFN to a related party for the purpose of completing your chosen fund's application form."}),R("li",{children:["Your personal data that is provided to us will be subject to our"," ",_(M,{css:{"--tw-text-opacity":"1",color:"rgb(37 99 235 / var(--tw-text-opacity))",textDecorationLine:"none",":hover":{"--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"}},link:"https://www.flarehr.com/privacy-policy",children:"Privacy Policy"}),"."]})]}),_(ta,{fillWidth:!0,onClick:()=>o(),children:"Continue"})]})})]})},kb=(e,t)=>{window.parent.postMessage(e,t===void 0?"*":t)},Fl=e=>{kb({type:"pageNavigated",url:e,sender:"flare"})},Tb=()=>{const e=window.location.hostname.toLowerCase().split(".")[0];switch(e){case"autodev-partner":case"test-partner":case"partner":case"sandbox-partner":return e.replace("partner","");default:return"autodev-"}},Rb=`https://${Tb()}api.simplefinancialchoices.com/promoted-funds/embed`,pn=e=>e.replace(/ /g,""),ct=e=>!(typeof e=="string"&&e.trim().length>0),Ab=()=>{const e=Qe(s=>s.state.selectedFund),t=Qe(s=>s.session.accessToken),r=Vr(),n=ht.endpoints.campaignConnect.useQueryState().data;if(!e||!t||!n)return $e("PfjIFrame was in an inconsistent state and the user was redirected to the three panel.",{fund:e,data:n?"Not null":"Null",authToken:t?"Not null":"Null"}),r(Re()),_(Kt,{});const i={authToken:t,employerDefault:e.fundType==="promoted-default",fundId:e.fundId,accountId:n.userProfile.accountId,partnerId:n.userProfile.partnerId,title:n.userProfile.title??"",firstName:n.userProfile.firstName,middleName:n.userProfile.middleName,lastName:n.userProfile.lastName,dateOfBirth:n.userProfile.dateOfBirth??"",mobilePhone:n.userProfile.mobilePhone??"",email:n.userProfile.email,gender:n.userProfile.gender??"",taxFileNumber:n.userProfile.tfn??"",addressLine1:n.userProfile.address.addressLine1,addressLine2:n.userProfile.address.addressLine2??"",city:n.userProfile.address.city,state:n.userProfile.address.state,postCode:n.userProfile.address.postcode},o=Br();te(()=>{var c;const s=(c=o.current)==null?void 0:c.contentDocument;if(s){s.open();const u=s.createElement("form");u.method="POST",u.target="_self",u.action=Rb;let p;for(p in i){const f=i[p];if(f!==void 0){const d=document.createElement("input");d.name=p,d.type="hidden",typeof f=="boolean"?d.value=f?"true":"false":d.value=f,u.append(d)}}s.appendChild(u),s.close(),u.submit()}},[o]);const a=async s=>{const{data:c}=s;if(c.sender==="promoted-fund-redirect"){switch(window.removeEventListener("message",a),c.type){case"cancel":r(Re());break;case"success-promoted":{if(ct(c.memberNumber)||ct(c.usi)){$e("Bad response from PFJ",{type:c.type,memberNumber:c.memberNumber,usi:c.usi}),r(Re());break}Nt({fundType:"Promoted",fundId:e.fundId,usi:pn(c.usi),memberNumber:c.memberNumber,memberFirstName:c.memberFirstName,memberFamilyName:c.memberFamilyName});break}case"success-promoted-default":{if(ct(c.usi)){$e("Bad response from PFJ",{type:c.type,usi:c.usi}),r(Re());break}Nt({fundType:"PromotedDefault",fundId:c.fundId,usi:pn(c.usi)});break}case"success-promoted-default-with-join":{if(ct(c.memberNumber)||ct(c.usi)){$e("Bad response from PFJ",{type:c.type,memberNumber:c.memberNumber,usi:c.usi}),r(Re());break}Nt({fundType:"PromotedDefaultWithJoin",fundId:e.fundId,usi:pn(c.usi),memberNumber:c.memberNumber,memberFirstName:c.memberFirstName,memberFamilyName:c.memberFamilyName});break}case"success-defined-benefits":{if(ct(c.memberNumber)||ct(c.usi)){$e("Bad response from PFJ",{type:c.type,memberNumber:c.memberNumber,usi:c.usi}),r(Re());break}Nt({fundType:"DefinedBenefits",fundId:c.fundId,usi:pn(c.usi),memberNumber:c.memberNumber,memberElectContributionRatePreTax:c.memberElectContributionRatePreTax,memberElectContributionRatePostTax:c.memberElectContributionRatePostTax});break}}r(Re())}if(c.sender==="promoted-fund-join"){const u=o.current;if(!u)return;switch(c.type){case"contentResized":u.height=c.height>0?String(c.height):u.height,u.width=c.width>0?String(c.width):u.width;break;case"pageNavigated":window.scroll(u.offsetLeft,u.offsetTop),Fl(window.location.href);break}}};return window.addEventListener("message",a),_("div",{css:{width:"100vw"},children:_("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},Ob=()=>window.location.origin.includes("localhost")?"autodev-partner":window.location.hostname.toLowerCase().split(".")[0],Pb=`https://${Ob()}.flarehr.com/promoted-fund-join/embed/v1.0/web`,Ib=()=>{const e=Qe(s=>s.session.accessToken),t=Qe(s=>s.state.selectedFund),r=Vr(),n=ht.endpoints.campaignConnect.useQueryState().data;if(!n||!t)return $e("PfjV1IFrame was in an inconsistent state and the user was redirected to the three panel.",{fund:t,data:n?"Not null":"Null"}),r(Re()),_(Kt,{});const i={authToken:e??"",fundId:t.fundId,partnerId:n.userProfile.partnerId,accountId:n.userProfile.accountId,title:n.userProfile.title??"",firstName:n.userProfile.firstName,middleName:n.userProfile.middleName,lastName:n.userProfile.lastName,dateOfBirth:n.userProfile.dateOfBirth??"",mobilePhone:n.userProfile.mobilePhone??"",email:n.userProfile.email,gender:n.userProfile.gender??"",taxFileNumber:n.userProfile.tfn??"",addressLine1:n.userProfile.address.addressLine1,addressLine2:n.userProfile.address.addressLine2??"",city:n.userProfile.address.city,state:n.userProfile.address.state,postCode:n.userProfile.address.postcode},o=Br();te(()=>{var c;const s=(c=o.current)==null?void 0:c.contentDocument;if(s){s.open();const u=s.createElement("form");u.method="POST",u.target="_self",u.action=Pb;let p;for(p in i){const f=i[p];if(f!==void 0){const d=document.createElement("input");d.type="hidden",d.name=p,d.value=f,u.append(d)}}s.appendChild(u),s.close(),u.submit()}},[o]);const a=async s=>{const{data:c}=s;if(c.sender==="promoted-fund-redirect"){switch(window.removeEventListener("message",a),c.type){case"success":{c.memberNumber&&Nt({fundType:"Promoted",fundId:t.fundId,usi:c.usi.replace(/ /g,""),memberNumber:c.memberNumber});break}default:r(Re());break}return}if(c.sender==="promoted-fund-join"){const u=o.current;if(!u)return;switch(c.type){case"contentResized":u.height=c.height>0?String(c.height):u.height,u.width=c.width>0?String(c.width):u.width;break;case"pageNavigated":window.scroll(u.offsetLeft,u.offsetTop),Fl(window.location.href);break}}};return window.addEventListener("message",a),_("div",{css:{width:"100vw"},children:_("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},Lb="interop-mode",Nb="react-native",Qs=()=>new URLSearchParams(window.location.search).get(Lb)===Nb,Dl=()=>{const e=window.location.hostname.toLowerCase().split(".")[0];switch(e){case"autodev-partner":case"test-partner":case"partner":return e.replace("partner","");default:return"autodev-"}},Ys=`https://${Dl()}join.slatesuper.com.au/confirm`,Ks=`https://${Dl()}partner.flarehr.com/super-selection/embed/v1.0/app/slate-redirect.html`,Mb=e=>{switch(e){case"Male":return"Male";case"Female":return"Female";case"Intersex":return"Intersex/Indeterminate";default:return"Unknown"}},Fb=()=>{const e=Qe(s=>s.session.accessToken),t=Vr(),r=ht.endpoints.campaignConnect.useQueryState().data;if(!r)return $e("SlateIFrame was in an inconsistent state and the user was redirected to the three panel.",{data:r?"Not null":"Null"}),t(Re()),_(Kt,{});const i={authToken:!Ys.match(/autodev|sandbox/)?e:void 0,successRedirectUrl:Ks,cancelRedirectUrl:Ks,skipConsolidation:Qs()?"true":"false",skipInsurance:Qs()?"true":"false",firstName:r.userProfile.firstName,middleName:r.userProfile.middleName,lastName:r.userProfile.lastName,dateOfBirth:r.userProfile.dateOfBirth??"",mobilePhone:r.userProfile.mobilePhone??"",email:r.userProfile.email,gender:Mb(r.userProfile.gender),taxFileNumber:r.userProfile.tfn??"",addressLine1:r.userProfile.address.addressLine1,addressLine2:r.userProfile.address.addressLine2??"",city:r.userProfile.address.city,state:r.userProfile.address.state,postCode:r.userProfile.address.postcode},o=Br();te(()=>{var c;const s=(c=o.current)==null?void 0:c.contentDocument;if(s){s.open();const u=s.createElement("form");u.method="POST",u.target="_self",u.action=Ys;let p;for(p in i){const f=i[p];if(f!==void 0){const d=document.createElement("input");d.type="hidden",d.name=p,d.value=f,u.append(d)}}s.appendChild(u),s.close(),u.submit()}},[o]);const a=async s=>{const{data:c}=s;if(c.sender==="slate-redirect"){switch(window.removeEventListener("message",a),c.type){case"success":{Nt({fundType:"Promoted",fundId:$n.fundId,usi:ra,memberNumber:c.memberNumber});break}default:t(Re());break}return}if(c.sender==="flare")switch(c.type){case"contentResized":{const u=o.current;if(!u)return;u.height=c.height>0?String(c.height):u.height,u.width=c.width>0?String(c.width):u.width;break}}};return window.addEventListener("message",a),_("div",{css:{width:"100vw"},children:_("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},Db=({size:e,...t})=>_("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#22c55e",width:e?e*4:"100%",...t,children:_("path",{"fill-rule":"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z","clip-rule":"evenodd"})}),Js={Check:Db},Kr=()=>{const{funds:e}=Qe(({state:t})=>t);return(e==null?void 0:e.length)===1&&e[0].fundId==="mercermychoice"},Bb=({name:e,logo:t,coverImage:r,extraBadge:n,isPromotedDefault:i,isMultiFund:o})=>{const a=Kr(),s=R(mt,{children:[R("div",{css:{marginRight:"-0.5rem",marginTop:"-1.25rem",textAlign:"right"},children:[n,i&&_("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(219 234 254 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"},children:"Employer Default"}),_("span",{css:{marginRight:"0.125rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(31 41 55 / var(--tw-text-opacity))"},children:"Featured"})]}),R("div",{css:[{marginTop:"0.5rem",display:"flex","@media (min-width: 768px)":{marginTop:"0px"},"@media (min-width: 1024px)":{display:"block"}},o&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:[_("img",{css:[{height:"3rem",width:"80px",objectFit:"contain","@media (min-width: 768px)":{display:"none",height:"3.5rem",width:"96px"},"@media (min-width: 1024px)":{height:"4rem",width:"140px",objectPosition:"left"}},o&&{"@media (min-width: 1024px)":{display:"block"}}],alt:e,src:t}),_("div",{css:{display:"grid",alignContent:"center"},children:_("p",{css:[{marginLeft:"1rem",fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","@media (min-width: 768px)":{marginBottom:"0px",marginLeft:"0px",fontSize:"1.125rem",lineHeight:"1.75rem"}},o&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:e})})]})]}),c=R(mt,{children:[R("div",{css:{marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"4rem",alignItems:"center",justifyContent:"space-between"},children:[_("img",{css:[{width:"100px"}],alt:e,src:t}),R("div",{children:[n,i&&_("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(219 234 254 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"},children:"Employer Default"}),_("span",{css:{marginRight:"0.125rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(31 41 55 / var(--tw-text-opacity))"},children:"Featured"})]})]}),_("img",{css:[{width:"100%"},o&&{"@media (min-width: 1024px)":{display:"block"}}],alt:e,src:r})]});return _(mt,{children:a&&Ht()?c:s})},$b=({features:e,featureSubText:t,customContent:r,name:n})=>{const i=Kr(),o=R(mt,{children:[_("div",{css:{marginTop:"1rem","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.25rem","@media (min-width: 640px)":{marginTop:"0.5rem"}},children:e.map(s=>R("div",{css:{display:"flex"},children:[_("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:_(Js.Check,{alt:"checked"})}),_("div",{css:{lineHeight:"1.25rem"},children:s})]}))}),t&&_("p",{css:{marginTop:"1rem",fontSize:"0.75rem",lineHeight:"1rem",fontStyle:"italic","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:t}),r]}),a=R(mt,{children:[R("div",{css:{padding:"1.5rem",paddingBottom:"0px"},children:[_("div",{css:[{fontSize:"1.125rem",lineHeight:"1.75rem",fontWeight:"700"}],children:n}),e.map(s=>R("div",{css:{marginTop:"0.5rem",display:"flex"},children:[_("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:_(Js.Check,{alt:"checked"})}),_("div",{css:{fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"400"},children:s})]}))]}),t&&_("p",{css:{marginTop:"1rem",fontSize:"0.75rem",lineHeight:"1rem",fontStyle:"italic","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:t}),r]});return _(mt,{children:i&&Ht()?a:o})},Ub=({name:e,logo:t,coverImage:r,features:n,featureSubText:i,isMultiFund:o,isPromotedDefault:a,extraBadge:s,customContent:c})=>{const u=Kr();return R("div",{css:[{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem"},u&&Ht()&&{padding:"0px"}],children:[_(Bb,{name:e,logo:t,coverImage:r,isMultiFund:o,extraBadge:s,isPromotedDefault:a}),_($b,{name:e,features:n,customContent:c,featureSubText:i})]})},Xs=({isActive:e,children:t,onClick:r})=>_("div",{css:[{display:"block",height:"100%",width:"auto",borderRadius:"0.375rem",paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"500","--tw-ring-offset-width":"1px",":focus":{zIndex:"10",outline:"2px solid transparent",outlineOffset:"2px","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-color":"var(--fl-color-primary-focus)"},"@media (min-width: 640px)":{paddingLeft:"2rem",paddingRight:"2rem"}},e&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",color:"var(--fl-color-primary)","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},!e&&{"--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))",":hover":{backgroundColor:"var(--fl-color-primary-hover)"}},{cursor:"pointer"}],onClick:r,children:t}),jb=()=>{const e=qu(),t=Qe(r=>r.experimentsData);return _("div",{css:{display:"flex",justifyContent:"center"},children:R("div",{css:{maxWidth:"800px",textAlign:"center"},children:[_("h3",{css:{marginBottom:"0.75rem",fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","@media (min-width: 640px)":{marginBottom:"1rem",fontSize:"1.875rem",lineHeight:"2.25rem"}},children:"Nominate a super fund"}),R(mt,{children:[_("div",{css:{lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"2rem"}},children:"You can choose any super fund, including your current fund/SMSF, your employer’s default fund, or alternatively, you can select from one of the featured funds."}),t.selectedVariants["toggle-removed-from-page"]==="control"&&R("div",{css:{marginTop:"2rem",display:"inline-flex",whiteSpace:"normal",borderRadius:"0.5rem",backgroundColor:"var(--fl-color-primary)",padding:"0.125rem","@media (min-width: 640px)":{marginTop:"3rem"}},children:[_(Xs,{isActive:!0,children:"Featured super funds"}),_(Xs,{onClick:()=>e("toggle"),children:"Choose another fund"})]})]})]})})},Zs=({fund:e,isMultiFund:t})=>{const r=Vr(),n=Kr();return R("div",{css:{display:"flex",height:"100%",flexDirection:"column",justifyContent:"space-between",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem",paddingBottom:"1.5rem"},children:[R("div",{children:[_("div",{css:[{"@media (min-width: 768px)":{maxWidth:"240px"}},t&&{"@media (min-width: 1024px)":{maxWidth:"100%"}},n&&Ht()&&{"@media (min-width: 768px)":{maxWidth:"100%"}}],children:_(ta,{fillWidth:!0,onClick:()=>{Dm(e),r(Hu({fundId:e.fundId,fundType:e.fundType,iframeType:e.iframeType}))},children:"Choose this fund"})}),_("div",{css:{marginTop:"1.5rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:e.disclaimer})]}),e.abnInfo&&e.abn&&R("div",{css:{marginTop:"0.5rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:[R("p",{children:["Issued by ",e.abnInfo,"."]}),R("p",{children:["ABN: ",e.abn]})]})]})},zb="https://my.gov.au",Hb="www.my.gov.au",qb="https://www.apra.gov.au/register-of-superannuation-institutions",Wb="www.apra.gov.au",Vb=()=>{const[e]=Qe(o=>[o.state.funds]),t=Kr(),r=Nl(e??[]),n=qu();te(()=>{Fm(r)},[]);const i=r.length>1;return R("div",{children:[_(jb,{}),R("div",{css:{marginTop:"2rem",textAlign:"center",fontSize:"0.875rem",lineHeight:"1.5rem"},children:[_("p",{css:{lineHeight:"1.5rem"},children:"Not ready to join a new fund, or want to nominate another super fund?"}),_("div",{onClick:()=>n("skipCopy"),children:R("span",{css:{marginTop:"0.75rem",display:"inline-block",cursor:"pointer",fontWeight:"500",color:"var(--fl-color-primary)"},children:["Skip Featured Funds ",_("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",css:{display:"inline",height:"1.25rem",width:"1.25rem",fill:"var(--fl-color-primary)",".group:hover &":{fill:"#fff"}},children:_("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3"})})]})})]}),_("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center"},children:R("div",{css:[{borderRadius:"0.5rem",borderLeftWidth:"1px",borderTopWidth:"1px","@media (min-width: 1024px)":{display:"grid",borderBottomWidth:"1px"}},r.length===1&&{maxWidth:"720px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(1, minmax(0, 1fr))"}},r.length===2&&{maxWidth:"720px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(2, minmax(0, 1fr))"}},r.length===3&&{maxWidth:"960px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(3, minmax(0, 1fr))"}}],children:[r.map((o,a)=>_("div",{css:[{borderRightWidth:"1px"},a===0&&{borderTopRightRadius:"0.5rem"},a===0&&a!==r.length-1&&{"@media (min-width: 1024px)":{borderTopRightRadius:"0px"}},a===r.length-1&&{borderBottomRightRadius:"0.5rem","@media (min-width: 1024px)":{borderBottomRightRadius:"0px",borderTopRightRadius:"0.5rem"}}],children:R("div",{css:[{display:"flex",borderBottomWidth:"1px","@media (min-width: 1024px)":{borderBottomWidth:"0px"}},a===r.length-1&&{borderBottomRightRadius:"0.5rem",borderBottomLeftRadius:"0.5rem"}],children:[_("div",{css:[{display:"none",width:"9rem",justifyContent:"center",paddingLeft:"1.5rem",paddingTop:"1.5rem","@media (min-width: 768px)":{display:"flex"}},i&&{"@media (min-width: 1024px)":{display:"none"}},t&&Ht()&&{"@media (min-width: 768px)":{display:"none"}}],children:_("img",{css:{height:"4rem",width:"100%",maxWidth:"96px",objectFit:"contain"},alt:o.name,src:o.logo})}),R("div",{css:[{width:"100%"},t&&Ht()&&{minWidth:"286px",maxWidth:"480px"}],children:[_(Ub,{logo:o.logo,name:o.name,coverImage:o.coverImage,features:o.features,featureSubText:o.featureSubText,isMultiFund:i,isPromotedDefault:o.fundType==="promoted-default",extraBadge:o.extraBadge,customContent:o.customContent}),_("div",{css:[i&&{"@media (min-width: 1024px)":{display:"none"}}],children:_(Zs,{fund:o,isMultiFund:i})})]})]})})),r.map((o,a)=>_("div",{css:[{display:"none",borderRightWidth:"1px"},i&&{"@media (min-width: 1024px)":{display:"block"}},a===r.length-1&&{borderBottomRightRadius:"0.5rem"}],children:_(Zs,{fund:o,isMultiFund:i})}))]})}),_("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children:R("div",{css:{maxWidth:"720px",borderBottomWidth:"1px",paddingBottom:"2rem","@media (min-width: 640px)":{paddingBottom:"3rem"}},children:[_("h5",{css:{fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"1.75rem"}},children:"Or, choose another super fund:"}),R("ul",{css:{marginBottom:"1.5rem",marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem","@media (min-width: 640px)":{fontSize:"1rem",lineHeight:"1.5rem"}},children:[_("li",{children:"Select this option if you'd like to use your current account with another super fund, your self-managed super fund, or your employer's default fund."}),R("li",{children:["If you are unsure of your current super fund details, you can find out at"," ",_(M,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:zb,children:Hb})]}),R("li",{children:["A full list of super funds can be viewed at"," ",_(M,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:qb,children:Wb})]})]}),_(ta,{fillWidthOnMobile:!0,onClick:()=>n("button"),children:"Choose another super fund"})]})}),_("div",{css:{display:"flex",justifyContent:"center"},children:R("div",{css:{maxWidth:"720px",paddingTop:"2rem","@media (min-width: 640px)":{paddingTop:"3rem"}},children:[_("h5",{css:{fontWeight:"600"},children:"IMPORTANT INFORMATION:"}),R("ul",{css:{marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem"},children:[_("li",{children:"The superannuation funds featured above are for your information only. The order, position and placement of content should not be interpreted as an opinion or recommendation (actual or implied) by Flare as to the suitability or appropriateness of any superannuation fund for you. In featuring these superannuation funds, Flare has not taken into account your objectives, financial situation or needs."}),_("li",{children:"This is not a comparison service. This page contains factual information only and does not constitute either general or personal advice about any financial products. We do not take into account your objectives, financial situation or needs. If you have questions or need help making a decision about your superannuation fund, you should speak to a licensed financial product advice provider."}),_("li",{children:"Flare, the technology partner you are accessing Flare via and your employer do not endorse or accept responsibility for any financial product advice or services provided by the promoters or trustees of the featured superannuation funds. Flare does not endorse or accept responsibility for any of the content shown about any of the featured superannuation funds."}),_("li",{children:"You should consider the relevant superannuation fund’s PDS and TMD (if applicable) in deciding whether to apply to join the superannuation fund. Each of the superannuation funds featured above include a link to their PDS and TMD (if applicable) for your convenience. If you are considering joining another superannuation fund, you can typically find the PDS and TMD (if applicable) on that fund’s website."}),_("li",{children:"You should be aware that the trustees of featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others pay us to have their application form on our platform."})]})]})})]})},Gb=kn.div({display:"flex",justifyContent:"center"}),Qb=()=>{const{funds:e,selectedFund:t}=Qe(i=>i.state),[r]=Rm();return te(()=>{r()},[]),_(Gb,{children:(()=>{if(t){if(t.iframeType==="PromotedFundJoinV2")return _(Ab,{});if(t.iframeType==="SlateJoin")return _(Fb,{});if(t.iframeType==="PromotedFundJoinV1")return _(Ib,{})}else if(e)return _(Vb,{});return _(xb,{})})()})},Yb=()=>_(ff,{styles:pf`*, ::before, ::after {
23
23
  box-sizing: border-box;
24
24
  border-width: 0;
25
25
  border-style: solid;
@@ -269,4 +269,4 @@ img, video {
269
269
  --tw-backdrop-opacity: var(--tw-empty,/*!*/ /*!*/);
270
270
  --tw-backdrop-saturate: var(--tw-empty,/*!*/ /*!*/);
271
271
  --tw-backdrop-sepia: var(--tw-empty,/*!*/ /*!*/);
272
- }`}),db=e=>{const{"access-token":t,"backend-url":r}=e,[n,i]=Ie(!1);G(()=>{jg()},[]),G(()=>{St.dispatch(Gp({accessToken:t,backendUrl:r})),rl(Id),i(!0)},[t,r]);const o=ve(null),[a,s]=Ie(void 0);return G(()=>{s(o.current??void 0)},[o]),v("div",{ref:o,children:v(xd,{value:vc({key:"ascui",container:a,prepend:!0}),children:R(Pp,{store:St,children:[v(lb,{}),v("div",{css:{fontFamily:"Inter, sans-serif"},children:n?v(ub,{}):v($t,{})})]})})})},fb="apollo-super-campaign";gl(db,fb,[],{shadow:!0});
272
+ }`}),Kb=e=>{const{"access-token":t,"backend-url":r}=e,[n,i]=je(!1);te(()=>{Oy()},[]),te(()=>{Lt.dispatch(Nm({accessToken:t,backendUrl:r})),Ml(hf),i(!0)},[t,r]);const o=Ce(null),[a,s]=je(void 0);return te(()=>{s(o.current??void 0)},[o]),_("div",{ref:o,children:_(uf,{value:Qc({key:"ascui",container:a,prepend:!0}),children:R(hm,{store:Lt,children:[_(Yb,{}),_("div",{css:{fontFamily:"Inter, sans-serif"},children:n?_(Qb,{}):_(Kt,{})})]})})})},Jb="apollo-super-campaign";Zl(Kb,Jb,[],{shadow:!0});