@flarehr/apollo-super-campaign 1.19.15 → 1.20.16

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.
Files changed (21) hide show
  1. package/dist/apollo-super-campaign.js +10 -10
  2. package/dist/assets/coverImage-BkXL9zfW.png +0 -0
  3. package/package.json +8 -3
  4. /package/dist/assets/{logo-active-QBFsxdGu.svg → logo-active-BAEWzF0a.svg} +0 -0
  5. /package/dist/assets/{logo-art-OnjDdwzt.svg → logo-art-6eMN3DO0.svg} +0 -0
  6. /package/dist/assets/{logo-aus-eth-BVvU7g2H.svg → logo-aus-eth-FW9TuDYd.svg} +0 -0
  7. /package/dist/assets/{logo-aware-vD100SRj.svg → logo-aware-C8PXTRJG.svg} +0 -0
  8. /package/dist/assets/{logo-brighter-HCgesR9j.svg → logo-brighter-cKB6xH2M.svg} +0 -0
  9. /package/dist/assets/{logo-first-rrA5hli9.svg → logo-first-CusDmGWL.svg} +0 -0
  10. /package/dist/assets/{logo-hesta-DS-8ReNU.svg → logo-hesta-NL7xF41R.svg} +0 -0
  11. /package/dist/assets/{logo-legalsuper-MRtg4Bh2.svg → logo-legalsuper-xG2DgGHY.svg} +0 -0
  12. /package/dist/assets/{logo-mercer-mychoice-AQelc7Ua.svg → logo-mercer-mychoice-BB6VztRp.svg} +0 -0
  13. /package/dist/assets/{logo-mine-O5sT7Y7B.svg → logo-mine-7mxPtjsF.svg} +0 -0
  14. /package/dist/assets/{logo-reisuper-GjOYg26T.svg → logo-reisuper-aM5iDbpN.svg} +0 -0
  15. /package/dist/assets/{logo-slate-qMDg7z1_.png → logo-slate-CowODvPX.png} +0 -0
  16. /package/dist/assets/{logo-spirit-gGkSB0e4.svg → logo-spirit-CAaRIHR7.svg} +0 -0
  17. /package/dist/assets/{logo-unisuper-1d8aWLNy.svg → logo-unisuper-DV3xpYs3.svg} +0 -0
  18. /package/dist/assets/{logo-virgin-4NJx4nb0.svg → logo-virgin-Dg0nHidv.svg} +0 -0
  19. /package/dist/assets/{unisuper-default-badge1-gtvikR9g.svg → unisuper-default-badge1-CC2-KRH2.svg} +0 -0
  20. /package/dist/assets/{unisuper-default-badge2-qlGv2ZMr.svg → unisuper-default-badge2-CqUa_Zky.svg} +0 -0
  21. /package/dist/assets/{unisuper-default-badge3-e49fqcmc.svg → unisuper-default-badge3-B7j1-pyZ.svg} +0 -0
@@ -1,11 +1,11 @@
1
- var Vu=Object.defineProperty;var Qu=(e,t,r)=>t in e?Vu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var $n=(e,t,r)=>(Qu(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 br,P,vs,Ze,Ho,gs,si,ys,ar={},bs=[],Yu=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,gn=Array.isArray;function Le(e,t){for(var r in t)e[r]=t[r];return e}function _s(e){var t=e.parentNode;t&&t.removeChild(e)}function W(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?br.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 Jt(e,a,n,i,null)}function Jt(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??++vs,__i:-1,__u:0};return i==null&&P.vnode!=null&&P.vnode(o),o}function _r(){return{current:null}}function pe(e){return e.children}function _e(e,t){this.props=e,this.context=t}function Tt(e,t){if(t==null)return e.__?Tt(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"?Tt(e):null}function ws(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 ws(e)}}function ci(e){(!e.__d&&(e.__d=!0)&&Ze.push(e)&&!Xr.__r++||Ho!==P.debounceRendering)&&((Ho=P.debounceRendering)||gs)(Xr)}function Xr(){var e,t,r,n,i,o,a,s,c;for(Ze.sort(si);e=Ze.shift();)e.__d&&(t=Ze.length,n=void 0,o=(i=(r=e).__v).__e,s=[],c=[],(a=r.__P)&&((n=Le({},i)).__v=i.__v+1,P.vnode&&P.vnode(n),Ki(a,n,i,r.__n,a.ownerSVGElement!==void 0,32&i.__u?[o]:null,s,o??Tt(i),!!(32&i.__u),c),n.__.__k[n.__i]=n,Es(s,n,c),n.__e!=o&&ws(n)),Ze.length>t&&Ze.sort(si));Xr.__r=0}function Ss(e,t,r,n,i,o,a,s,c,u,d){var l,p,f,v,b,g=n&&n.__k||bs,m=t.length;for(r.__d=c,Ku(r,t,g),c=r.__d,l=0;l<m;l++)(f=r.__k[l])!=null&&typeof f!="boolean"&&typeof f!="function"&&(p=f.__i===-1?ar:g[f.__i]||ar,f.__i=l,Ki(e,f,p,i,o,a,s,c,u,d),v=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&Ji(p.ref,null,f),d.push(f.ref,f.__c||v,f)),b==null&&v!=null&&(b=v),65536&f.__u||p.__k===f.__k?c=Cs(f,c,e):typeof f.type=="function"&&f.__d!==void 0?c=f.__d:v&&(c=v.nextSibling),f.__d=void 0,f.__u&=-196609);r.__d=c,r.__e=b}function Ku(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?Jt(null,i,null,null,i):gn(i)?Jt(pe,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?Jt(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)!=null?(i.__=e,i.__b=e.__b+1,s=Ju(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=Tt(o)),ui(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=Tt(o)),ui(o,o))}function Cs(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=Cs(n[i],t,r));return t}return e.__e!=t&&(r.insertBefore(e.__e,t||null),t=e.__e),t&&t.nextSibling}function Ne(e,t){return t=t||[],e==null||typeof e=="boolean"||(gn(e)?e.some(function(r){Ne(r,t)}):t.push(e)),t}function Ju(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 qo(e,t,r){t[0]==="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||Yu.test(t)?r:r+"px"}function Ir(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||qo(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||qo(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?Go:Wo,o)):e.removeEventListener(t,o?Go:Wo,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 Wo(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 Go(e){return this.l[e.type+!0](P.event?P.event(e):e)}function Ki(e,t,r,n,i,o,a,s,c,u){var d,l,p,f,v,b,g,m,y,h,w,C,E,S,x,T=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(c=!!(32&r.__u),o=[s=t.__e=r.__e]),(d=P.__b)&&d(t);e:if(typeof T=="function")try{if(m=t.props,y=(d=T.contextType)&&n[d.__c],h=d?y?y.props.value:d.__:n,r.__c?g=(l=t.__c=r.__c).__=l.__E:("prototype"in T&&T.prototype.render?t.__c=l=new T(m,h):(t.__c=l=new _e(m,h),l.constructor=T,l.render=Zu),y&&y.sub(l),l.props=m,l.state||(l.state={}),l.context=h,l.__n=n,p=l.__d=!0,l.__h=[],l._sb=[]),l.__s==null&&(l.__s=l.state),T.getDerivedStateFromProps!=null&&(l.__s==l.state&&(l.__s=Le({},l.__s)),Le(l.__s,T.getDerivedStateFromProps(m,l.__s))),f=l.props,v=l.state,l.__v=t,p)T.getDerivedStateFromProps==null&&l.componentWillMount!=null&&l.componentWillMount(),l.componentDidMount!=null&&l.__h.push(l.componentDidMount);else{if(T.getDerivedStateFromProps==null&&m!==f&&l.componentWillReceiveProps!=null&&l.componentWillReceiveProps(m,h),!l.__e&&(l.shouldComponentUpdate!=null&&l.shouldComponentUpdate(m,l.__s,h)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(l.props=m,l.state=l.__s,l.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(k){k&&(k.__=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(m,l.__s,h),l.componentDidUpdate!=null&&l.__h.push(function(){l.componentDidUpdate(f,v,b)})}if(l.context=h,l.props=m,l.__P=e,l.__e=!1,C=P.__r,E=0,"prototype"in T&&T.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=Le(Le({},n),l.getChildContext())),p||l.getSnapshotBeforeUpdate==null||(b=l.getSnapshotBeforeUpdate(f,v)),Ss(e,gn(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),g&&(l.__E=l.__=null)}catch(k){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(k,t,r)}else o==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=Xu(r.__e,t,r,n,i,o,a,c,u);(d=P.diffed)&&d(t)}function Es(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)Ji(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 Xu(e,t,r,n,i,o,a,s,c){var u,d,l,p,f,v,b,g=r.props,m=t.props,y=t.type;if(y==="svg"&&(i=!0),o!=null){for(u=0;u<o.length;u++)if((f=o[u])&&"setAttribute"in f==!!y&&(y?f.localName===y:f.nodeType===3)){e=f,o[u]=null;break}}if(e==null){if(y===null)return document.createTextNode(m);e=i?document.createElementNS("http://www.w3.org/2000/svg",y):document.createElement(y,m.is&&m),o=null,s=!1}if(y===null)g===m||s&&e.data===m||(e.data=m);else{if(o=o&&br.call(e.childNodes),g=r.props||ar,!s&&o!=null)for(g={},u=0;u<e.attributes.length;u++)g[(f=e.attributes[u]).name]=f.value;for(u in g)f=g[u],u=="children"||(u=="dangerouslySetInnerHTML"?l=f:u==="key"||u in m||Ir(e,u,null,f,i));for(u in m)f=m[u],u=="children"?p=f:u=="dangerouslySetInnerHTML"?d=f:u=="value"?v=f:u=="checked"?b=f:u==="key"||s&&typeof f!="function"||g[u]===f||Ir(e,u,f,g[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=""),Ss(e,gn(p)?p:[p],t,r,n,i&&y!=="foreignObject",o,a,o?o[0]:r.__k&&Tt(r,0),s,c),o!=null)for(u=o.length;u--;)o[u]!=null&&_s(o[u]);s||(u="value",v!==void 0&&(v!==e[u]||y==="progress"&&!v||y==="option"&&v!==g[u])&&Ir(e,u,v,g[u],!1),u="checked",b!==void 0&&b!==e[u]&&Ir(e,u,b,g[u],!1))}return e}function Ji(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(n){P.__e(n,r)}}function ui(e,t,r){var n,i;if(P.unmount&&P.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||Ji(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]&&ui(n[i],t,r||typeof e.type!="function");r||e.__e==null||_s(e.__e),e.__=e.__e=e.__d=void 0}function Zu(e,t,r){return this.constructor(e,r)}function ze(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=[],Ki(t,e=(!n&&r||t).__k=W(pe,null,[e]),i||ar,ar,t.ownerSVGElement!==void 0,!n&&r?[r]:i?null:t.firstChild?br.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,a),Es(o,e,a)}function Xi(e,t){ze(e,t,Xi)}function Zi(e,t,r){var n,i,o,a,s=Le({},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?br.call(arguments,2):r),Jt(e.type,s,n||e.key,i||e.ref,null)}function yn(e,t){var r={__c:t="__cC"+ys++,__: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,ci(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}br=bs.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}},vs=0,_e.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Le({},this.state),typeof e=="function"&&(e=e(Le({},r),this.props)),e&&Le(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),ci(this))},_e.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),ci(this))},_e.prototype.render=pe,Ze=[],gs=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,si=function(e,t){return e.__v.__b-t.__v.__b},Xr.__r=0,ys=0;function eo(){return(eo=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 el=["context","children"];function tl(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,el);return Zi(t,r)}function rl(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=W(tl,eo({},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[xs(s[a].name)]=s[a].value);for(a=c.length;a--;){var u=t(c[a],null),d=c[a].slot;d?o[d]=W(Vo,{name:d},u):i[a]=u}var l=n?W(Vo,null,i):i;return W(n||r.nodeName.toLowerCase(),o,l)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Xi:ze)(this._vdom,this._root)}function xs(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function nl(e,t,r){if(this._vdom){var n={};n[e]=r=r??void 0,n[xs(e)]=r,this._vdom=Zi(this._vdom,n),ze(this._vdom,this._root)}}function il(){ze(this._vdom=null,this._root)}function Vo(e,t){var r=this;return W("slot",eo({},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 ol(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=rl,i.prototype.attributeChangedCallback=nl,i.prototype.disconnectedCallback=il,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 Me,j,Bn,Qo,kt=0,Ts=[],Wr=[],Yo=P.__b,Ko=P.__r,Jo=P.diffed,Xo=P.__c,Zo=P.unmount;function ut(e,t){P.__h&&P.__h(j,e,kt||t),kt=0;var r=j.__H||(j.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:Wr}),r.__[e]}function Oe(e){return kt=1,to(As,e)}function to(e,t,r){var n=ut(Me++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):As(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 V(e,t){var r=ut(Me++,3);!P.__s&&ro(r.__H,t)&&(r.__=e,r.i=t,j.__H.__h.push(r))}function lt(e,t){var r=ut(Me++,4);!P.__s&&ro(r.__H,t)&&(r.__=e,r.i=t,j.__h.push(r))}function ve(e){return kt=5,ie(function(){return{current:e}},[])}function ks(e,t,r){kt=6,lt(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=ut(Me++,7);return ro(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function yt(e,t){return kt=8,ie(function(){return e},t)}function Ft(e){var t=j.context[e.__c],r=ut(Me++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(j)),t.props.value):e.__}function Zr(e,t){P.useDebugValue&&P.useDebugValue(t?t(e):e)}function al(e){var t=ut(Me++,10),r=Oe();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 Rs(){var e=ut(Me++,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 sl(){for(var e;e=Ts.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Gr),e.__H.__h.forEach(li),e.__H.__h=[]}catch(t){e.__H.__h=[],P.__e(t,e.__v)}}P.__b=function(e){j=null,Yo&&Yo(e)},P.__r=function(e){Ko&&Ko(e),Me=0;var t=(j=e.__c).__H;t&&(Bn===j?(t.__h=[],j.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=Wr,r.__N=r.i=void 0})):(t.__h.forEach(Gr),t.__h.forEach(li),t.__h=[],Me=0)),Bn=j},P.diffed=function(e){Jo&&Jo(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ts.push(t)!==1&&Qo===P.requestAnimationFrame||((Qo=P.requestAnimationFrame)||cl)(sl)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==Wr&&(r.__=r.__V),r.i=void 0,r.__V=Wr})),Bn=j=null},P.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Gr),r.__h=r.__h.filter(function(n){return!n.__||li(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],P.__e(n,r.__v)}}),Xo&&Xo(e,t)},P.unmount=function(e){Zo&&Zo(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{Gr(n)}catch(i){t=i}}),r.__H=void 0,t&&P.__e(t,r.__v))};var ea=typeof requestAnimationFrame=="function";function cl(e){var t,r=function(){clearTimeout(n),ea&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);ea&&(t=requestAnimationFrame(r))}function Gr(e){var t=j,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),j=t}function li(e){var t=j;e.__c=e.__(),j=t}function ro(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function As(e,t){return typeof t=="function"?t(e):t}function Os(e,t){for(var r in t)e[r]=t[r];return e}function di(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 Ps(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:di(this.props,i)}function n(i){return this.shouldComponentUpdate=r,W(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(en.prototype=new _e).isPureReactComponent=!0,en.prototype.shouldComponentUpdate=function(e,t){return di(this.props,e)||di(this.state,t)};var ta=P.__b;P.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ta&&ta(e)};var ul=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function no(e){function t(r){var n=Os({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=ul,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var ra=function(e,t){return e==null?null:Ne(Ne(e).map(t))},Is={map:ra,forEach:ra,count:function(e){return e?Ne(e).length:0},only:function(e){var t=Ne(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Ne},ll=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)}ll(e,t,r,n)};var na=P.unmount;function Ls(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=Os({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Ls(n,t,r)})),e}function Ns(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return Ns(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 Xt(){this.__u=0,this.t=null,this.__b=null}function Ms(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Fs(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 W(r,o)}return i.displayName="Lazy",i.__f=!0,i}function bt(){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),na&&na(e)},(Xt.prototype=new _e).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var i=Ms(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]=Ns(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)},Xt.prototype.componentWillUnmount=function(){this.t=[]},Xt.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]=Ls(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&W(pe,null,e.fallback);return i&&(i.__u&=-33),[W(pe,null,t.__a?null:e.children),i]};var ia=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 dl(e){return this.getChildContext=function(){return e.context},e.children}function fl(e){var t=this,r=e.i;t.componentWillUnmount=function(){ze(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)}}),ze(W(dl,{context:t.context},e.__v),t.l)}function Ds(e,t){var r=W(fl,{__v:e,i:t});return r.containerInfo=t,r}(bt.prototype=new _e).__a=function(e){var t=this,r=Ms(t.__v),n=t.o.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),ia(t,e,n)):i()};r?r(o):o()}},bt.prototype.render=function(e){this.u=null,this.o=new Map;var t=Ne(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},bt.prototype.componentDidUpdate=bt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,r){ia(e,r,t)})};var $s=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,pl=/^(?: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]/,hl=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ml=/[A-Z0-9]/g,vl=typeof document<"u",gl=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Bs(e,t,r){return t.__k==null&&(t.textContent=""),ze(e,t),typeof r=="function"&&r(),e?e.__c:null}function Us(e,t,r){return Xi(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 oa=P.event;function yl(){}function bl(){return this.cancelBubble}function _l(){return this.defaultPrevented}P.event=function(e){return oa&&(e=oa(e)),e.persist=yl,e.isPropagationStopped=bl,e.isDefaultPrevented=_l,e.nativeEvent=e};var io,wl={enumerable:!1,configurable:!0,get:function(){return this.class}},aa=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||vl&&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"||gl(r.type)?s==="onfocus"?o="onfocusin":s==="onblur"?o="onfocusout":hl.test(o)?o=s:n.indexOf("-")===-1&&pl.test(o)?o=o.replace(ml,"-$&").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=Ne(r.children).forEach(function(c){c.props.selected=i.value.indexOf(c.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=Ne(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",wl)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=$s,aa&&aa(e)};var sa=P.__r;P.__r=function(e){sa&&sa(e),io=e.__c};var ca=P.diffed;P.diffed=function(e){ca&&ca(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),io=null};var js={ReactCurrentDispatcher:{current:{readContext:function(e){return io.__n[e.__c].props.value}}}},Sl="17.0.2";function zs(e){return W.bind(null,e)}function wr(e){return!!e&&e.$$typeof===$s}function Hs(e){return wr(e)&&e.type===pe}function qs(e){return wr(e)?Zi.apply(null,arguments):e}function Ws(e){return!!e.__k&&(ze(null,e),!0)}function Gs(e){return e&&(e.base||e.nodeType===1&&e)||null}var Vs=function(e,t){return e(t)},Qs=function(e,t){return e(t)},Ys=pe;function oo(e){e()}function Ks(e){return e}function Js(){return[!1,oo]}var Xs=lt,Zs=wr;function ec(e,t){var r=t(),n=Oe({h:{__:r,v:t}}),i=n[0].h,o=n[1];return lt(function(){i.__=r,i.v=t,Un(i)&&o({h:i})},[e,r,t]),V(function(){return Un(i)&&o({h:i}),e(function(){Un(i)&&o({h:i})})},[e]),r}function Un(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 tc={useState:Oe,useId:Rs,useReducer:to,useEffect:V,useLayoutEffect:lt,useInsertionEffect:Xs,useTransition:Js,useDeferredValue:Ks,useSyncExternalStore:ec,startTransition:oo,useRef:ve,useImperativeHandle:ks,useMemo:ie,useCallback:yt,useContext:Ft,useDebugValue:Zr,version:"17.0.2",Children:Is,render:Bs,hydrate:Us,unmountComponentAtNode:Ws,createPortal:Ds,createElement:W,createContext:yn,createFactory:zs,cloneElement:qs,createRef:_r,Fragment:pe,isValidElement:wr,isElement:Zs,isFragment:Hs,findDOMNode:Gs,Component:_e,PureComponent:en,memo:Ps,forwardRef:no,flushSync:Qs,unstable_batchedUpdates:Vs,StrictMode:Ys,Suspense:Xt,SuspenseList:bt,lazy:Fs,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:js};const sr=Object.freeze(Object.defineProperty({__proto__:null,Children:Is,Component:_e,Fragment:pe,PureComponent:en,StrictMode:Ys,Suspense:Xt,SuspenseList:bt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:js,cloneElement:qs,createContext:yn,createElement:W,createFactory:zs,createPortal:Ds,createRef:_r,default:tc,findDOMNode:Gs,flushSync:Qs,forwardRef:no,hydrate:Us,isElement:Zs,isFragment:Hs,isValidElement:wr,lazy:Fs,memo:Ps,render:Bs,startTransition:oo,unmountComponentAtNode:Ws,unstable_batchedUpdates:Vs,useCallback:yt,useContext:Ft,useDebugValue:Zr,useDeferredValue:Ks,useEffect:V,useErrorBoundary:al,useId:Rs,useImperativeHandle:ks,useInsertionEffect:Xs,useLayoutEffect:lt,useMemo:ie,useReducer:to,useRef:ve,useState:Oe,useSyncExternalStore:ec,useTransition:Js,version:Sl},Symbol.toStringTag,{value:"Module"}));function Cl(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 El(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 xl=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(El(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Cl(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-",tn="-moz-",F="-webkit-",rc="comm",ao="rule",so="decl",Tl="@import",nc="@keyframes",kl="@layer",Rl=Math.abs,bn=String.fromCharCode,Al=Object.assign;function Ol(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 ic(e){return e.trim()}function Pl(e,t){return(e=t.exec(e))?e[0]:e}function D(e,t,r){return e.replace(t,r)}function fi(e,t){return e.indexOf(t)}function Z(e,t){return e.charCodeAt(t)|0}function cr(e,t,r){return e.slice(t,r)}function xe(e){return e.length}function co(e){return e.length}function Lr(e,t){return t.push(e),e}function Il(e,t){return e.map(t).join("")}var _n=1,Rt=1,oc=0,ce=0,G=0,Dt="";function wn(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:_n,column:Rt,length:a,return:""}}function qt(e,t){return Al(wn("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ll(){return G}function Nl(){return G=ce>0?Z(Dt,--ce):0,Rt--,G===10&&(Rt=1,_n--),G}function fe(){return G=ce<oc?Z(Dt,ce++):0,Rt++,G===10&&(Rt=1,_n++),G}function Ae(){return Z(Dt,ce)}function Vr(){return ce}function Sr(e,t){return cr(Dt,e,t)}function ur(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 ac(e){return _n=Rt=1,oc=xe(Dt=e),ce=0,[]}function sc(e){return Dt="",e}function Qr(e){return ic(Sr(ce-1,pi(e===91?e+2:e===40?e+1:e)))}function Ml(e){for(;(G=Ae())&&G<33;)fe();return ur(e)>2||ur(G)>3?"":" "}function Fl(e,t){for(;--t&&fe()&&!(G<48||G>102||G>57&&G<65||G>70&&G<97););return Sr(e,Vr()+(t<6&&Ae()==32&&fe()==32))}function pi(e){for(;fe();)switch(G){case e:return ce;case 34:case 39:e!==34&&e!==39&&pi(G);break;case 40:e===41&&pi(e);break;case 92:fe();break}return ce}function Dl(e,t){for(;fe()&&e+G!==57;)if(e+G===84&&Ae()===47)break;return"/*"+Sr(t,ce-1)+"*"+bn(e===47?e:fe())}function $l(e){for(;!ur(Ae());)fe();return Sr(e,ce)}function Bl(e){return sc(Yr("",null,null,null,[""],e=ac(e),0,[0],e))}function Yr(e,t,r,n,i,o,a,s,c){for(var u=0,d=0,l=a,p=0,f=0,v=0,b=1,g=1,m=1,y=0,h="",w=i,C=o,E=n,S=h;g;)switch(v=y,y=fe()){case 40:if(v!=108&&Z(S,l-1)==58){fi(S+=D(Qr(y),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:S+=Qr(y);break;case 9:case 10:case 13:case 32:S+=Ml(v);break;case 92:S+=Fl(Vr()-1,7);continue;case 47:switch(Ae()){case 42:case 47:Lr(Ul(Dl(fe(),Vr()),t,r),c);break;default:S+="/"}break;case 123*b:s[u++]=xe(S)*m;case 125*b:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+d:m==-1&&(S=D(S,/\f/g,"")),f>0&&xe(S)-l&&Lr(f>32?la(S+";",n,r,l-1):la(D(S," ","")+";",n,r,l-2),c);break;case 59:S+=";";default:if(Lr(E=ua(S,t,r,u,d,i,s,h,w=[],C=[],l),o),y===123)if(d===0)Yr(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:Yr(e,E,E,n&&Lr(ua(e,E,E,0,0,i,s,h,i,w=[],l),C),i,C,l,s,n?w:C);break;default:Yr(S,E,E,E,[""],C,0,s,C)}}u=d=f=0,b=m=1,h=S="",l=a;break;case 58:l=1+xe(S),f=v;default:if(b<1){if(y==123)--b;else if(y==125&&b++==0&&Nl()==125)continue}switch(S+=bn(y),y*b){case 38:m=d>0?1:(S+="\f",-1);break;case 44:s[u++]=(xe(S)-1)*m,m=1;break;case 64:Ae()===45&&(S+=Qr(fe())),p=Ae(),d=l=xe(h=S+=$l(Vr())),y++;break;case 45:v===45&&xe(S)==2&&(b=0)}}return o}function ua(e,t,r,n,i,o,a,s,c,u,d){for(var l=i-1,p=i===0?o:[""],f=co(p),v=0,b=0,g=0;v<n;++v)for(var m=0,y=cr(e,l+1,l=Rl(b=a[v])),h=e;m<f;++m)(h=ic(b>0?p[m]+" "+y:D(y,/&\f/g,p[m])))&&(c[g++]=h);return wn(e,t,r,i===0?ao:s,c,u,d)}function Ul(e,t,r){return wn(e,t,r,rc,bn(Ll()),cr(e,2,-2),0)}function la(e,t,r,n){return wn(e,t,r,so,cr(e,0,n),cr(e,n+1,-1),n)}function Ct(e,t){for(var r="",n=co(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function jl(e,t,r,n){switch(e.type){case kl:if(e.children.length)break;case Tl:case so:return e.return=e.return||e.value;case rc:return"";case nc:return e.return=e.value+"{"+Ct(e.children,n)+"}";case ao:e.value=e.props.join(",")}return xe(r=Ct(e.children,n))?e.return=e.value+"{"+r+"}":""}function zl(e){var t=co(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 Hl(e){return function(t){t.root||(t=t.return)&&e(t)}}function cc(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var ql=function(t,r,n){for(var i=0,o=0;i=o,o=Ae(),i===38&&o===12&&(r[n]=1),!ur(o);)fe();return Sr(t,ce)},Wl=function(t,r){var n=-1,i=44;do switch(ur(i)){case 0:i===38&&Ae()===12&&(r[n]=1),t[n]+=ql(ce-1,r,n);break;case 2:t[n]+=Qr(i);break;case 4:if(i===44){t[++n]=Ae()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=bn(i)}while(i=fe());return t},Gl=function(t,r){return sc(Wl(ac(t),r))},da=new WeakMap,Vl=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&&!da.get(n))&&!i){da.set(t,!0);for(var o=[],a=Gl(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]}}},Ql=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function uc(e,t){switch(Ol(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+tn+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(xe(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"+tn+(Z(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~fi(e,"stretch")?uc(D(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Z(e,t+1)!==115)break;case 6444:switch(Z(e,xe(e)-3-(~fi(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 Yl=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case so:t.return=uc(t.value,t.length);break;case nc:return Ct([qt(t,{value:D(t.value,"@","@"+F)})],i);case ao:if(t.length)return Il(t.props,function(o){switch(Pl(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ct([qt(t,{props:[D(o,/:(read-\w+)/,":"+tn+"$1")]})],i);case"::placeholder":return Ct([qt(t,{props:[D(o,/:(plac\w+)/,":"+F+"input-$1")]}),qt(t,{props:[D(o,/:(plac\w+)/,":"+tn+"$1")]}),qt(t,{props:[D(o,/:(plac\w+)/,ne+"input-$1")]})],i)}return""})}},Kl=[Yl],lc=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(b){var g=b.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(b),b.setAttribute("data-s",""))})}var i=t.stylisPlugins||Kl,o={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(b){for(var g=b.getAttribute("data-emotion").split(" "),m=1;m<g.length;m++)o[g[m]]=!0;s.push(b)});var c,u=[Vl,Ql];{var d,l=[jl,Hl(function(b){d.insert(b)})],p=zl(u.concat(i,l)),f=function(g){return Ct(Bl(g),p)};c=function(g,m,y,h){d=y,f(g?g+"{"+m.styles+"}":m.styles),h&&(v.inserted[m.name]=!0)}}var v={key:r,sheet:new xl({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 v.sheet.hydrate(s),v};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)}function Jl(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 dc={exports:{}},B={};/** @license React v16.13.1
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
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,uo=K?Symbol.for("react.element"):60103,lo=K?Symbol.for("react.portal"):60106,Sn=K?Symbol.for("react.fragment"):60107,Cn=K?Symbol.for("react.strict_mode"):60108,En=K?Symbol.for("react.profiler"):60114,xn=K?Symbol.for("react.provider"):60109,Tn=K?Symbol.for("react.context"):60110,fo=K?Symbol.for("react.async_mode"):60111,kn=K?Symbol.for("react.concurrent_mode"):60111,Rn=K?Symbol.for("react.forward_ref"):60112,An=K?Symbol.for("react.suspense"):60113,Xl=K?Symbol.for("react.suspense_list"):60120,On=K?Symbol.for("react.memo"):60115,Pn=K?Symbol.for("react.lazy"):60116,Zl=K?Symbol.for("react.block"):60121,ed=K?Symbol.for("react.fundamental"):60117,td=K?Symbol.for("react.responder"):60118,rd=K?Symbol.for("react.scope"):60119;function me(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case uo:switch(e=e.type,e){case fo:case kn:case Sn:case En:case Cn:case An:return e;default:switch(e=e&&e.$$typeof,e){case Tn:case Rn:case Pn:case On:case xn:return e;default:return t}}case lo:return t}}}function fc(e){return me(e)===kn}B.AsyncMode=fo;B.ConcurrentMode=kn;B.ContextConsumer=Tn;B.ContextProvider=xn;B.Element=uo;B.ForwardRef=Rn;B.Fragment=Sn;B.Lazy=Pn;B.Memo=On;B.Portal=lo;B.Profiler=En;B.StrictMode=Cn;B.Suspense=An;B.isAsyncMode=function(e){return fc(e)||me(e)===fo};B.isConcurrentMode=fc;B.isContextConsumer=function(e){return me(e)===Tn};B.isContextProvider=function(e){return me(e)===xn};B.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===uo};B.isForwardRef=function(e){return me(e)===Rn};B.isFragment=function(e){return me(e)===Sn};B.isLazy=function(e){return me(e)===Pn};B.isMemo=function(e){return me(e)===On};B.isPortal=function(e){return me(e)===lo};B.isProfiler=function(e){return me(e)===En};B.isStrictMode=function(e){return me(e)===Cn};B.isSuspense=function(e){return me(e)===An};B.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Sn||e===kn||e===En||e===Cn||e===An||e===Xl||typeof e=="object"&&e!==null&&(e.$$typeof===Pn||e.$$typeof===On||e.$$typeof===xn||e.$$typeof===Tn||e.$$typeof===Rn||e.$$typeof===ed||e.$$typeof===td||e.$$typeof===rd||e.$$typeof===Zl)};B.typeOf=me;dc.exports=B;var nd=dc.exports,pc=nd,id={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},od={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},hc={};hc[pc.ForwardRef]=id;hc[pc.Memo]=od;var ad=!0;function mc(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):n+=i+" "}),n}var po=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||ad===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},ho=function(t,r,n){po(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 sd(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 cd={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},ud=/[A-Z]|^ms/g,ld=/_EMO_([^_]+?)_([^]*?)_EMO_/g,vc=function(t){return t.charCodeAt(1)===45},fa=function(t){return t!=null&&typeof t!="boolean"},jn=cc(function(e){return vc(e)?e:e.replace(ud,"-$&").toLowerCase()}),pa=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(ld,function(n,i,o){return Te={name:i,styles:o,next:Te},i})}return cd[t]!==1&&!vc(t)&&typeof r=="number"&&r!==0?r+"px":r};function lr(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 dd(e,t,r)}case"function":{if(e!==void 0){var o=Te,a=r(e);return Te=o,lr(e,t,a)}break}}if(t==null)return r;var s=t[r];return s!==void 0?s:r}function dd(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=lr(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]+"}":fa(a)&&(n+=jn(o)+":"+pa(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++)fa(a[s])&&(n+=jn(o)+":"+pa(o,a[s])+";");else{var c=lr(e,t,a);switch(o){case"animation":case"animationName":{n+=jn(o)+":"+c+";";break}default:n+=o+"{"+c+"}"}}}return n}var ha=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Te,In=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+=lr(n,r,a)):o+=a[0];for(var s=1;s<t.length;s++)o+=lr(n,r,t[s]),i&&(o+=a[s]);ha.lastIndex=0;for(var c="",u;(u=ha.exec(o))!==null;)c+="-"+u[1];var d=sd(o)+c;return{name:d,styles:o,next:Te}},fd=function(t){return t()},gc=sr.useInsertionEffect?sr.useInsertionEffect:!1,yc=gc||fd,ma=gc||lt,Ln={}.hasOwnProperty,bc=yn(typeof HTMLElement<"u"?lc({key:"css"}):null),pd=bc.Provider,mo=function(t){return no(function(r,n){var i=Ft(bc);return t(r,i,n)})},vo=yn({}),mi="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",_c=function(t,r){var n={};for(var i in r)Ln.call(r,i)&&(n[i]=r[i]);return n[mi]=t,n},hd=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return po(r,n,i),yc(function(){return ho(r,n,i)}),null},md=mo(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var i=e[mi],o=[n],a="";typeof e.className=="string"?a=mc(t.registered,o,e.className):e.className!=null&&(a=e.className+" ");var s=In(o,void 0,Ft(vo));a+=t.key+"-"+s.name;var c={};for(var u in e)Ln.call(e,u)&&u!=="css"&&u!==mi&&(c[u]=e[u]);return c.ref=r,c.className=a,W(pe,null,W(hd,{cache:t,serialized:s,isStringTag:typeof i=="string"}),W(i,c))}),wc=md,vd=mo(function(e,t){var r=e.styles,n=In([r],void 0,Ft(vo)),i=ve();return ma(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]),ma(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 gd(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return In(t)}var yd=0;function rn(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:--yd,__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 bd=pe;function _(e,t,r){return Ln.call(t,"css")?rn(wc,_c(e,t),r):rn(e,t,r)}function R(e,t,r){return Ln.call(t,"css")?rn(wc,_c(e,t),r):rn(e,t,r)}const $t=({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)"}})]})});var _d=/^((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|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)-.*))$/,wd=cc(function(e){return _d.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Sd=wd,Cd=function(t){return t!=="theme"},va=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Sd:Cd},ga=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},Ed=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return po(r,n,i),yc(function(){return ho(r,n,i)}),null},xd=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=ga(t,r,n),c=s||va(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 v=mo(function(b,g,m){var y=u&&b.as||i,h="",w=[],C=b;if(b.theme==null){C={};for(var E in b)C[E]=b[E];C.theme=Ft(vo)}typeof b.className=="string"?h=mc(g.registered,w,b.className):b.className!=null&&(h=b.className+" ");var S=In(l.concat(w),g.registered,C);h+=g.key+"-"+S.name,a!==void 0&&(h+=" "+a);var x=u&&s===void 0?va(y):c,T={};for(var k in b)u&&k==="as"||x(k)&&(T[k]=b[k]);return T.className=h,T.ref=m,W(pe,null,W(Ed,{cache:g,serialized:S,isStringTag:typeof y=="string"}),W(y,T))});return v.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",v.defaultProps=t.defaultProps,v.__emotion_real=v,v.__emotion_base=i,v.__emotion_styles=l,v.__emotion_forwardProp=s,Object.defineProperty(v,"toString",{value:function(){return"."+a}}),v.withComponent=function(b,g){return e(b,hi({},r,g,{shouldForwardProp:ga(v,g,!0)})).apply(void 0,l)},v}},Td=["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"],nn=xd.bind();Td.forEach(function(e){nn[e]=nn(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 kd=typeof Symbol=="function"&&Symbol.observable||"@@observable",ya=kd,zn=()=>Math.random().toString(36).substring(7).split("").join("."),Rd={INIT:`@@redux/INIT${zn()}`,REPLACE:`@@redux/REPLACE${zn()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${zn()}`},on=Rd;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 Sc(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(Sc)(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((g,m)=>{a.set(m,g)}))}function d(){if(c)throw new Error(X(3));return i}function l(g){if(typeof g!="function")throw new Error(X(4));if(c)throw new Error(X(5));let m=!0;u();const y=s++;return a.set(y,g),function(){if(m){if(c)throw new Error(X(6));m=!1,u(),a.delete(y),o=null}}}function p(g){if(!Pe(g))throw new Error(X(7));if(typeof g.type>"u")throw new Error(X(8));if(typeof g.type!="string")throw new Error(X(17));if(c)throw new Error(X(9));try{c=!0,i=n(i,g)}finally{c=!1}return(o=a).forEach(y=>{y()}),g}function f(g){if(typeof g!="function")throw new Error(X(10));n=g,p({type:on.REPLACE})}function v(){const g=l;return{subscribe(m){if(typeof m!="object"||m===null)throw new Error(X(11));function y(){const w=m;w.next&&w.next(d())}return y(),{unsubscribe:g(y)}},[ya](){return this}}}return p({type:on.INIT}),{dispatch:p,subscribe:l,getState:d,replaceReducer:f,[ya]:v}}function Ad(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:on.INIT})>"u")throw new Error(X(12));if(typeof r(void 0,{type:on.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(X(13))})}function Cc(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{Ad(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],v=p(f,s);if(typeof v>"u")throw s&&s.type,new Error(X(14));u[l]=v,c=c||v!==f}return c=c||n.length!==Object.keys(a).length,c?u:a}}function an(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function Od(...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=an(...s)(i.dispatch),{...i,dispatch:o}}}function Ec(e){return Pe(e)&&"type"in e&&typeof e.type=="string"}var go=Symbol.for("immer-nothing"),Zt=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 ot=Object.getPrototypeOf;function we(e){return!!e&&!!e[ue]}function Se(e){var t;return e?xc(e)||Array.isArray(e)||!!e[Zt]||!!((t=e.constructor)!=null&&t[Zt])||Cr(e)||Er(e):!1}var Pd=Object.prototype.constructor.toString();function xc(e){if(!e||typeof e!="object")return!1;const t=ot(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)===Pd}function Id(e){return we(e)||ee(15,e),e[ue].base_}function At(e,t){at(e)===0?Object.entries(e).forEach(([r,n])=>{t(r,n,e)}):e.forEach((r,n)=>t(n,r,e))}function at(e){const t=e[ue];return t?t.type_:Array.isArray(e)?1:Cr(e)?2:Er(e)?3:0}function dr(e,t){return at(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Hn(e,t){return at(e)===2?e.get(t):e[t]}function Tc(e,t,r){const n=at(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function Ld(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Cr(e){return e instanceof Map}function Er(e){return e instanceof Set}function Xe(e){return e.copy_||e.base_}function vi(e,t){if(Cr(e))return new Map(e);if(Er(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&xc(e))return ot(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(ot(e),r)}function yo(e,t=!1){return Nn(e)||we(e)||!Se(e)||(at(e)>1&&(e.set=e.add=e.clear=e.delete=Nd),Object.freeze(e),t&&At(e,(r,n)=>yo(n,!0))),e}function Nd(){ee(2)}function Nn(e){return Object.isFrozen(e)}var gi={};function st(e){const t=gi[e];return t||ee(0,e),t}function Md(e,t){gi[e]||(gi[e]=t)}var fr;function kc(){return fr}function Fd(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function ba(e,t){t&&(st("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function yi(e){bi(e),e.drafts_.forEach(Dd),e.drafts_=null}function bi(e){e===fr&&(fr=e.parent_)}function _a(e){return fr=Fd(fr,e)}function Dd(e){const t=e[ue];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function wa(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[ue].modified_&&(yi(t),ee(4)),Se(e)&&(e=sn(t,e),t.parent_||cn(t,e)),t.patches_&&st("Patches").generateReplacementPatches_(r[ue].base_,e,t.patches_,t.inversePatches_)):e=sn(t,r,[]),yi(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==go?e:void 0}function sn(e,t,r){if(Nn(t))return t;const n=t[ue];if(!n)return At(t,(i,o)=>Sa(e,n,t,i,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return cn(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),At(o,(s,c)=>Sa(e,n,i,s,c,r,a)),cn(e,i,!1),r&&e.patches_&&st("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function Sa(e,t,r,n,i,o,a){if(we(i)){const s=o&&t&&t.type_!==3&&!dr(t.assigned_,n)?o.concat(n):void 0,c=sn(e,i,s);if(Tc(r,n,c),we(c))e.canAutoFreeze_=!1;else return}else a&&r.add(i);if(Se(i)&&!Nn(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;sn(e,i),(!t||!t.scope_.parent_)&&cn(e,i)}}function cn(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&yo(t,r)}function $d(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:kc(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=n,o=bo;r&&(i=[n],o=pr);const{revoke:a,proxy:s}=Proxy.revocable(i,o);return n.draft_=s,n.revoke_=a,s}var bo={get(e,t){if(t===ue)return e;const r=Xe(e);if(!dr(r,t))return Bd(e,r,t);const n=r[t];return e.finalized_||!Se(n)?n:n===qn(e.base_,t)?(Wn(e),e.copy_[t]=wi(n,e)):n},has(e,t){return t in Xe(e)},ownKeys(e){return Reflect.ownKeys(Xe(e))},set(e,t,r){const n=Rc(Xe(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const i=qn(Xe(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(Ld(r,i)&&(r!==void 0||dr(e.base_,t)))return!0;Wn(e),_i(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,Wn(e),_i(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=Xe(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 ot(e.base_)},setPrototypeOf(){ee(12)}},pr={};At(bo,(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 bo.set.call(this,e[0],t,r,e[0])};function qn(e,t){const r=e[ue];return(r?Xe(r):e)[t]}function Bd(e,t,r){var i;const n=Rc(t,r);return n?"value"in n?n.value:(i=n.get)==null?void 0:i.call(e.draft_):void 0}function Rc(e,t){if(!(t in e))return;let r=ot(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=ot(r)}}function _i(e){e.modified_||(e.modified_=!0,e.parent_&&_i(e.parent_))}function Wn(e){e.copy_||(e.copy_=vi(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Ud=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=_a(this),a=wi(t,void 0);let s=!0;try{i=r(a),s=!1}finally{s?yi(o):bi(o)}return ba(o,n),wa(i,o)}else if(!t||typeof t!="object"){if(i=r(t),i===void 0&&(i=t),i===go&&(i=void 0),this.autoFreeze_&&yo(i,!0),n){const o=[],a=[];st("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=Ac(e));const t=_a(this),r=wi(e,void 0);return r[ue].isManual_=!0,bi(t),r}finishDraft(e,t){const r=e&&e[ue];(!r||!r.isManual_)&&ee(9);const{scope_:n}=r;return ba(n,t),wa(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=st("Patches").applyPatches_;return we(e)?n(e,t):this.produce(e,i=>n(i,t))}};function wi(e,t){const r=Cr(e)?st("MapSet").proxyMap_(e,t):Er(e)?st("MapSet").proxySet_(e,t):$d(e,t);return(t?t.scope_:kc()).drafts_.push(r),r}function Ac(e){return we(e)||ee(10,e),Oc(e)}function Oc(e){if(!Se(e)||Nn(e))return e;const t=e[ue];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=vi(e,t.scope_.immer_.useStrictShallowCopy_)}else r=vi(e,!0);return At(r,(n,i)=>{Tc(r,n,Oc(i))}),t&&(t.finalized_=!1),r}function jd(){const t="replace",r="add",n="remove";function i(p,f,v,b){switch(p.type_){case 0:case 2:return a(p,f,v,b);case 1:return o(p,f,v,b);case 3:return s(p,f,v,b)}}function o(p,f,v,b){let{base_:g,assigned_:m}=p,y=p.copy_;y.length<g.length&&([g,y]=[y,g],[v,b]=[b,v]);for(let h=0;h<g.length;h++)if(m[h]&&y[h]!==g[h]){const w=f.concat([h]);v.push({op:t,path:w,value:l(y[h])}),b.push({op:t,path:w,value:l(g[h])})}for(let h=g.length;h<y.length;h++){const w=f.concat([h]);v.push({op:r,path:w,value:l(y[h])})}for(let h=y.length-1;g.length<=h;--h){const w=f.concat([h]);b.push({op:n,path:w})}}function a(p,f,v,b){const{base_:g,copy_:m}=p;At(p.assigned_,(y,h)=>{const w=Hn(g,y),C=Hn(m,y),E=h?dr(g,y)?t:r:n;if(w===C&&E===t)return;const S=f.concat(y);v.push(E===n?{op:E,path:S}:{op:E,path:S,value:C}),b.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,v,b){let{base_:g,copy_:m}=p,y=0;g.forEach(h=>{if(!m.has(h)){const w=f.concat([y]);v.push({op:n,path:w,value:h}),b.unshift({op:r,path:w,value:h})}y++}),y=0,m.forEach(h=>{if(!g.has(h)){const w=f.concat([y]);v.push({op:r,path:w,value:h}),b.unshift({op:n,path:w,value:h})}y++})}function c(p,f,v,b){v.push({op:t,path:[],value:f===go?void 0:f}),b.push({op:t,path:[],value:p})}function u(p,f){return f.forEach(v=>{const{path:b,op:g}=v;let m=p;for(let C=0;C<b.length-1;C++){const E=at(m);let S=b[C];typeof S!="string"&&typeof S!="number"&&(S=""+S),(E===0||E===1)&&(S==="__proto__"||S==="constructor")&&ee(19),typeof m=="function"&&S==="prototype"&&ee(19),m=Hn(m,S),typeof m!="object"&&ee(18,b.join("/"))}const y=at(m),h=d(v.value),w=b[b.length-1];switch(g){case t:switch(y){case 2:return m.set(w,h);case 3:ee(16);default:return m[w]=h}case r:switch(y){case 1:return w==="-"?m.push(h):m.splice(w,0,h);case 2:return m.set(w,h);case 3:return m.add(h);default:return m[w]=h}case n:switch(y){case 1:return m.splice(w,1);case 2:return m.delete(w);case 3:return m.delete(v.value);default:return delete m[w]}default:ee(17,g)}}),p}function d(p){if(!Se(p))return p;if(Array.isArray(p))return p.map(d);if(Cr(p))return new Map(Array.from(p.entries()).map(([v,b])=>[v,d(b)]));if(Er(p))return new Set(Array.from(p).map(d));const f=Object.create(ot(p));for(const v in p)f[v]=d(p[v]);return dr(p,Zt)&&(f[Zt]=p[Zt]),f}function l(p){return we(p)?d(p):p}Md("Patches",{applyPatches_:u,generatePatches_:i,generateReplacementPatches_:c})}var he=new Ud,xr=he.produce,Pc=he.produceWithPatches.bind(he);he.setAutoFreeze.bind(he);he.setUseStrictShallowCopy.bind(he);var Ca=he.applyPatches.bind(he);he.createDraft.bind(he);he.finishDraft.bind(he);function zd(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function Hd(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function qd(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 Ea=e=>Array.isArray(e)?e:[e];function Wd(e){const t=Array.isArray(e[0])?e[0]:e;return qd(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function Gd(e,t){const r=[],{length:n}=e;for(let i=0;i<n;i++)r.push(e[i].apply(null,t));return r}var Vd=class{constructor(e){this.value=e}deref(){return this.value}},Qd=typeof WeakRef<"u"?WeakRef:Vd,Yd=0,xa=1;function Nr(){return{s:Yd,v:void 0,o:null,p:null}}function hr(e,t={}){let r=Nr();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 v=arguments[p];if(typeof v=="function"||typeof v=="object"&&v!==null){let b=s.o;b===null&&(s.o=b=new WeakMap);const g=b.get(v);g===void 0?(s=Nr(),b.set(v,s)):s=g}else{let b=s.p;b===null&&(s.p=b=new Map);const g=b.get(v);g===void 0?(s=Nr(),b.set(v,s)):s=g}}const u=s;let d;if(s.s===xa?d=s.v:(d=e.apply(null,arguments),o++),u.s=xa,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 Qd(d):d}return u.v=d,d}return a.clearCache=()=>{r=Nr(),a.resetResultsCount()},a.resultsCount=()=>o,a.resetResultsCount=()=>{o=0},a}function Ic(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()),zd(u,`createSelector expects an output function after the inputs, but received: [${typeof u}]`);const d={...r,...c},{memoize:l,memoizeOptions:p=[],argsMemoize:f=hr,argsMemoizeOptions:v=[],devModeChecks:b={}}=d,g=Ea(p),m=Ea(v),y=Wd(i),h=l(function(){return o++,u.apply(null,arguments)},...g),w=f(function(){a++;const E=Gd(y,arguments);return s=h.apply(null,E),s},...m);return Object.assign(w,{resultFunc:u,memoizedResultFunc:h,dependencies:y,dependencyRecomputations:()=>a,resetDependencyRecomputations:()=>{a=0},lastResult:()=>s,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:l,argsMemoize:f})};return Object.assign(n,{withTypes:()=>n}),n}var Et=Ic(hr),Kd=Object.assign((e,t=Et)=>{Hd(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:()=>Kd});function Lc(e){return({dispatch:r,getState:n})=>i=>o=>typeof o=="function"?o(r,n,e):i(o)}var Jd=Lc(),Xd=Lc,Zd=(...e)=>{const t=Ic(...e);return(...r)=>{const n=t(...r),i=(o,...a)=>n(we(o)?Ac(o):o,...a);return Object.assign(i,n),i}};Zd(hr);var ef=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?an:an.apply(null,arguments)},tf=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=>Ec(n)&&n.type===e,r}var Nc=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 Ta(e){return Se(e)?xr(e,()=>{}):e}function ka(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 rf(e){return typeof e=="boolean"}var nf=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t??{};let a=new Nc;return r&&(rf(r)?a.push(Jd):a.push(Xd(r.extraArgument))),a},_t="RTK_autoBatch",Wt=()=>e=>({payload:e,meta:{[_t]:!0}}),Mc=e=>t=>{setTimeout(t,e)},of=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Mc(10),af=(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"?of:e.type==="callback"?e.queueNotification:Mc(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[_t]),o=!i,o&&(a||(a=!0,c(u))),n.dispatch(d)}finally{i=!0}}})},sf=e=>function(r){const{autoBatch:n=!0}=r??{};let i=new Nc(e);return n&&i.push(af(typeof n=="object"?n:void 0)),i},cf=!0;function uf(e){const t=nf(),{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=Cc(r);else throw new Error(ye(1));let c;typeof n=="function"?c=n(t):c=t();let u=an;i&&(u=ef({trace:!cf,...typeof i=="object"&&i}));const d=Od(...c),l=sf(d);let p=typeof a=="function"?a(l):l();const f=u(...p);return Sc(s,o,f)}function Fc(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 lf(e){return typeof e=="function"}function df(e,t){let[r,n,i]=Fc(t),o;if(lf(e))o=()=>Ta(e());else{const s=Ta(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 xr(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 ff="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Dc=(e=21)=>{let t="",r=e;for(;r--;)t+=ff[Math.random()*64|0];return t},$c=(e,t)=>tf(e)?e.match(t):e(t);function He(...e){return t=>e.some(r=>$c(r,t))}function er(...e){return t=>e.every(r=>$c(r,t))}function Mn(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 Tr(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function _o(...e){return e.length===0?t=>Mn(t,["pending"]):Tr(e)?t=>{const r=e.map(i=>i.pending);return He(...r)(t)}:_o()(e[0])}function Ot(...e){return e.length===0?t=>Mn(t,["rejected"]):Tr(e)?t=>{const r=e.map(i=>i.rejected);return He(...r)(t)}:Ot()(e[0])}function Fn(...e){const t=r=>r&&r.meta&&r.meta.rejectedWithValue;return e.length===0?r=>er(Ot(...e),t)(r):Tr(e)?r=>er(Ot(...e),t)(r):Fn()(e[0])}function qe(...e){return e.length===0?t=>Mn(t,["fulfilled"]):Tr(e)?t=>{const r=e.map(i=>i.fulfilled);return He(...r)(t)}:qe()(e[0])}function Si(...e){return e.length===0?t=>Mn(t,["pending","fulfilled","rejected"]):Tr(e)?t=>{const r=[];for(const i of e)r.push(i.pending,i.rejected,i.fulfilled);return He(...r)(t)}:Si()(e[0])}var pf=["name","message","stack","code"],Gn=class{constructor(e,t){$n(this,"_type");this.payload=e,this.meta=t}},Ra=class{constructor(e,t){$n(this,"_type");this.payload=e,this.meta=t}},hf=e=>{if(typeof e=="object"&&e!==null){const t={};for(const r of pf)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},Aa=(()=>{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||hf)(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):Dc(),f=new AbortController;let v;function b(m){v=m,f.abort()}const g=async function(){var h,w;let m;try{let C=(h=n==null?void 0:n.condition)==null?void 0:h.call(n,c,{getState:d,extra:l});if(vf(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:v||"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}))),m=await Promise.race([E,Promise.resolve(r(c,{dispatch:u,getState:d,extra:l,requestId:p,signal:f.signal,abort:b,rejectWithValue:(S,x)=>new Gn(S,x),fulfillWithValue:(S,x)=>new Ra(S,x)})).then(S=>{if(S instanceof Gn)throw S;return S instanceof Ra?i(S.payload,p,c,S.meta):i(S,p,c)})])}catch(C){m=C instanceof Gn?a(null,p,c,C.payload,C.meta):a(C,p,c)}return n&&!n.dispatchConditionRejection&&a.match(m)&&m.meta.condition||u(m),m}();return Object.assign(g,{abort:b,requestId:p,arg:c,unwrap(){return g.then(mf)}})}}return Object.assign(s,{pending:o,rejected:a,fulfilled:i,settled:He(a,i),typePrefix:t})}return e.withTypes=()=>e,e})();function mf(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function vf(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var gf=Symbol.for("rtk-slice-createasyncthunk");function yf(e,t){return`${e}/${t}`}function bf({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[gf];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(wf()):i.reducers)||{},c=Object.keys(s),u={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},d={addCase(g,m){const y=typeof g=="string"?g:g.type;if(!y)throw new Error(ye(12));if(y in u.sliceCaseReducersByType)throw new Error(ye(13));return u.sliceCaseReducersByType[y]=m,d},addMatcher(g,m){return u.sliceMatchers.push({matcher:g,reducer:m}),d},exposeAction(g,m){return u.actionCreators[g]=m,d},exposeCaseReducer(g,m){return u.sliceCaseReducersByName[g]=m,d}};c.forEach(g=>{const m=s[g],y={reducerName:g,type:yf(o,g),createNotation:typeof i.reducers=="function"};Cf(m)?xf(y,m,d,t):Sf(y,m,d)});function l(){const[g={},m=[],y=void 0]=typeof i.extraReducers=="function"?Fc(i.extraReducers):[i.extraReducers],h={...g,...u.sliceCaseReducersByType};return df(i.initialState,w=>{for(let C in h)w.addCase(C,h[C]);for(let C of u.sliceMatchers)w.addMatcher(C.matcher,C.reducer);for(let C of m)w.addMatcher(C.matcher,C.reducer);y&&w.addDefaultCase(y)})}const p=g=>g,f=new WeakMap;let v;const b={name:o,reducerPath:a,reducer(g,m){return v||(v=l()),v(g,m)},actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState(){return v||(v=l()),v.getInitialState()},getSelectors(g=p){const m=ka(f,this,{insert:()=>new WeakMap});return ka(m,g,{insert:()=>{const y={};for(const[h,w]of Object.entries(i.selectors??{}))y[h]=_f(this,w,g,this!==b);return y}})},selectSlice(g){let m=g[this.reducerPath];return typeof m>"u"&&this!==b&&(m=this.getInitialState()),m},get selectors(){return this.getSelectors(this.selectSlice)},injectInto(g,{reducerPath:m,...y}={}){const h=m??this.reducerPath;return g.inject({reducerPath:h,reducer:this.reducer},y),{...this,reducerPath:h}}};return b}}function _f(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 Ue=bf();function wf(){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 Sf({type:e,reducerName:t,createNotation:r},n,i){let o,a;if("reducer"in n){if(r&&!Ef(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 Cf(e){return e._reducerDefinitionType==="asyncThunk"}function Ef(e){return e._reducerDefinitionType==="reducerWithPrepare"}function xf({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||Mr,pending:s||Mr,rejected:c||Mr,settled:u||Mr})}function Mr(){}var wo="listenerMiddleware";se(`${wo}/add`);se(`${wo}/removeAll`);se(`${wo}/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 Bc=(e=>(e.uninitialized="uninitialized",e.pending="pending",e.fulfilled="fulfilled",e.rejected="rejected",e))(Bc||{});function Tf(e){return{status:e,isUninitialized:e==="uninitialized",isLoading:e==="pending",isSuccess:e==="fulfilled",isError:e==="rejected"}}function kf(e){return new RegExp("(^|:)//").test(e)}var Rf=e=>e.replace(/\/$/,""),Af=e=>e.replace(/^\//,"");function Of(e,t){if(!e)return t;if(!t)return e;if(kf(t))return t;const r=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=Rf(e),t=Af(t),`${e}${r}${t}`}var Oa=e=>[].concat(...e);function Pf(){return typeof navigator>"u"||navigator.onLine===void 0?!0:navigator.onLine}function If(){return typeof document>"u"?!0:document.visibilityState!=="hidden"}var Pa=Pe;function Uc(e,t){if(e===t||!(Pa(e)&&Pa(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]=Uc(e[a],t[a]),i&&(i=e[a]===o[a]);return i?e:o}var Ia=(...e)=>fetch(...e),Lf=e=>e.status>=200&&e.status<=299,Nf=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function La(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 Mf({baseUrl:e,prepareHeaders:t=l=>l,fetchFn:r=Ia,paramsSerializer:n,isJsonContentType:i=Nf,jsonContentType:o="application/json",jsonReplacer:a,timeout:s,responseHandler:c,validateStatus:u,...d}={}){return typeof fetch>"u"&&r===Ia&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),async(p,f)=>{const{signal:v,getState:b,extra:g,endpoint:m,forced:y,type:h}=f;let w,{url:C,headers:E=new Headers(d.headers),params:S=void 0,responseHandler:x=c??"json",validateStatus:T=u??Lf,timeout:k=s,...O}=typeof p=="string"?{url:p}:p,A={...d,signal:v,...O};E=new Headers(La(E)),A.headers=await t(E,{getState:b,extra:g,endpoint:m,forced:y,type:h})||E;const I=z=>typeof z=="object"&&(Pe(z)||Array.isArray(z)||typeof z.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 z=~C.indexOf("?")?"&":"?",Ye=n?n(S):new URLSearchParams(La(S));C+=z+Ye}C=Of(e,C);const N=new Request(C,A);w={request:new Request(C,A)};let J,U=!1,M=k&&setTimeout(()=>{U=!0,f.abort()},k);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,Ee="";try{let z;if(await Promise.all([l(J,x).then(Ye=>Q=Ye,Ye=>z=Ye),ae.text().then(Ye=>Ee=Ye,()=>{})]),z)throw z}catch(z){return{error:{status:"PARSING_ERROR",originalStatus:J.status,data:Ee,error:String(z)},meta:w}}return T(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 v=await p.text();return v.length?JSON.parse(v):null}return p.text()}}var Na=class{constructor(e,t=void 0){this.value=e,this.meta=t}},So=se("__rtkq/focused"),jc=se("__rtkq/unfocused"),Co=se("__rtkq/online"),zc=se("__rtkq/offline");function Hc(e){return e.type==="query"}function Ff(e){return e.type==="mutation"}function Eo(e,t,r,n,i,o){return Df(e)?e(t,r,n,i).map(Ci).map(o):Array.isArray(e)?e.map(Ci).map(o):[]}function Df(e){return typeof e=="function"}function Ci(e){return typeof e=="string"?{type:e}:e}function Ma(e){return e!=null}function xt(e){let t=0;for(const r in e)t++;return t}var mr=Symbol("forceQueryFn"),Ei=e=>typeof e[mr]=="function";function $f({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:v,buildInitiateMutation:b,getRunningQueryThunk:d,getRunningMutationThunk:l,getRunningQueriesThunk:p,getRunningMutationsThunk:f};function d(g,m){return y=>{var C;const h=i.endpointDefinitions[g],w=e({queryArgs:m,endpointDefinition:h,endpointName:g});return(C=o.get(y))==null?void 0:C[w]}}function l(g,m){return y=>{var h;return(h=a.get(y))==null?void 0:h[m]}}function p(){return g=>Object.values(o.get(g)||{}).filter(Ma)}function f(){return g=>Object.values(a.get(g)||{}).filter(Ma)}function v(g,m){const y=(h,{subscribe:w=!0,forceRefetch:C,subscriptionOptions:E,[mr]:S}={})=>(x,T)=>{var Ee;const k=e({queryArgs:h,endpointDefinition:m,endpointName:g}),O=t({type:"query",subscribe:w,forceRefetch:C,subscriptionOptions:E,endpointName:g,originalArgs:h,queryCacheKey:k,[mr]:S}),A=n.endpoints[g].select(h),I=x(O),N=A(T()),{requestId:H,abort:J}=I,U=N.requestId!==H,M=(Ee=o.get(x))==null?void 0:Ee[k],ae=()=>A(T()),Q=Object.assign(S?I.then(ae):U&&!M?Promise.resolve(N):Promise.all([M,I]).then(ae),{arg:h,requestId:H,subscriptionOptions:E,queryCacheKey:k,abort:J,async unwrap(){const z=await Q;if(z.isError)throw z.error;return z.data},refetch:()=>x(y(h,{subscribe:!1,forceRefetch:!0})),unsubscribe(){w&&x(s({queryCacheKey:k,requestId:H}))},updateSubscriptionOptions(z){Q.subscriptionOptions=z,x(u({endpointName:g,requestId:H,queryCacheKey:k,options:z}))}});if(!M&&!U&&!S){const z=o.get(x)||{};z[k]=Q,o.set(x,z),Q.then(()=>{delete z[k],xt(z)||o.delete(x)})}return Q};return y}function b(g){return(m,{track:y=!0,fixedCacheKey:h}={})=>(w,C)=>{const E=r({type:"mutation",endpointName:g,originalArgs:m,track:y,fixedCacheKey:h}),S=w(E),{requestId:x,abort:T,unwrap:k}=S,O=S.unwrap().then(H=>({data:H})).catch(H=>({error:H})),A=()=>{w(c({requestId:x,fixedCacheKey:h}))},I=Object.assign(O,{arg:S.arg,requestId:x,abort:T,unwrap:k,reset:A}),N=a.get(w)||{};return a.set(w,N),N[x]=I,I.then(()=>{delete N[x],xt(N)||a.delete(w)}),h&&(N[h]=I,I.then(()=>{N[h]===I&&(delete N[h],xt(N)||a.delete(w))})),I}}}function Fa(e){return e}function Bf({reducerPath:e,baseQuery:t,context:{endpointDefinitions:r},serializeQueryArgs:n,api:i,assertTagType:o}){const a=(y,h,w,C)=>(E,S)=>{const x=r[y],T=n({queryArgs:h,endpointDefinition:x,endpointName:y});if(E(i.internalActions.queryResultPatched({queryCacheKey:T,patches:w})),!C)return;const k=i.endpoints[y].select(h)(S()),O=Eo(x.providesTags,k.data,void 0,h,{},o);E(i.internalActions.updateProvidedBy({queryCacheKey:T,providedTags:O}))},s=(y,h,w,C=!0)=>(E,S)=>{const T=i.endpoints[y].select(h)(S());let k={patches:[],inversePatches:[],undo:()=>E(i.util.patchQueryData(y,h,k.inversePatches,C))};if(T.status==="uninitialized")return k;let O;if("data"in T)if(Se(T.data)){const[A,I,N]=Pc(T.data,w);k.patches.push(...I),k.inversePatches.push(...N),O=A}else O=w(T.data),k.patches.push({op:"replace",path:[],value:O}),k.inversePatches.push({op:"replace",path:[],value:T.data});return E(i.util.patchQueryData(y,h,k.patches,C)),k},c=(y,h,w)=>C=>C(i.endpoints[y].initiate(h,{subscribe:!1,forceRefetch:!0,[mr]:()=>({data:w})})),u=async(y,{signal:h,abort:w,rejectWithValue:C,fulfillWithValue:E,dispatch:S,getState:x,extra:T})=>{const k=r[y.endpointName];try{let O=Fa,A;const I={signal:h,abort:w,dispatch:S,getState:x,extra:T,endpoint:y.endpointName,type:y.type,forced:y.type==="query"?d(y,x()):void 0},N=y.type==="query"?y[mr]:void 0;if(N?A=N():k.query?(A=await t(k.query(y.originalArgs),I,k.extraOptions),k.transformResponse&&(O=k.transformResponse)):A=await k.queryFn(y.originalArgs,I,k.extraOptions,H=>t(H,I,k.extraOptions)),typeof process<"u",A.error)throw new Na(A.error,A.meta);return E(await O(A.data,A.meta,y.originalArgs),{fulfilledTimeStamp:Date.now(),baseQueryMeta:A.meta,[_t]:!0})}catch(O){let A=O;if(A instanceof Na){let I=Fa;k.query&&k.transformErrorResponse&&(I=k.transformErrorResponse);try{return C(await I(A.value,A.meta,y.originalArgs),{baseQueryMeta:A.meta,[_t]:!0})}catch(N){A=N}}throw typeof process<"u",console.error(A),A}};function d(y,h){var x,T,k;const w=(T=(x=h[e])==null?void 0:x.queries)==null?void 0:T[y.queryCacheKey],C=(k=h[e])==null?void 0:k.config.refetchOnMountOrArgChange,E=w==null?void 0:w.fulfilledTimeStamp,S=y.forceRefetch??(y.subscribe&&C);return S?S===!0||(Number(new Date)-Number(E))/1e3>=S:!1}const l=Aa(`${e}/executeQuery`,u,{getPendingMeta(){return{startedTimeStamp:Date.now(),[_t]:!0}},condition(y,{getState:h}){var k,O,A;const w=h(),C=(O=(k=w[e])==null?void 0:k.queries)==null?void 0:O[y.queryCacheKey],E=C==null?void 0:C.fulfilledTimeStamp,S=y.originalArgs,x=C==null?void 0:C.originalArgs,T=r[y.endpointName];return Ei(y)?!0:(C==null?void 0:C.status)==="pending"?!1:d(y,w)||Hc(T)&&((A=T==null?void 0:T.forceRefetch)!=null&&A.call(T,{currentArg:S,previousArg:x,endpointState:C,state:w}))?!0:!E},dispatchConditionRejection:!0}),p=Aa(`${e}/executeMutation`,u,{getPendingMeta(){return{startedTimeStamp:Date.now(),[_t]:!0}}}),f=y=>"force"in y,v=y=>"ifOlderThan"in y,b=(y,h,w)=>(C,E)=>{const S=f(w)&&w.force,x=v(w)&&w.ifOlderThan,T=(O=!0)=>i.endpoints[y].initiate(h,{forceRefetch:O}),k=i.endpoints[y].select(h)(E());if(S)C(T());else if(x){const O=k==null?void 0:k.fulfilledTimeStamp;if(!O){C(T());return}(Number(new Date)-Number(new Date(O)))/1e3>=x&&C(T())}else C(T(!1))};function g(y){return h=>{var w,C;return((C=(w=h==null?void 0:h.meta)==null?void 0:w.arg)==null?void 0:C.endpointName)===y}}function m(y,h){return{matchPending:er(_o(y),g(h)),matchFulfilled:er(qe(y),g(h)),matchRejected:er(Ot(y),g(h))}}return{queryThunk:l,mutationThunk:p,prefetch:b,updateQueryData:s,upsertQueryData:c,patchQueryData:a,buildMatchThunkActions:m}}function qc(e,t,r,n){return Eo(r[e.meta.arg.endpointName][t],qe(e)?e.payload:void 0,Fn(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,n)}function Fr(e,t,r){const n=e[t];n&&r(n)}function vr(e){return("arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)??e.requestId}function Da(e,t,r){const n=e[vr(t)];n&&r(n)}var Gt={};function Uf({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=Ue({name:`${e}/queries`,initialState:Gt,reducers:{removeQueryResult:{reducer(h,{payload:{queryCacheKey:w}}){delete h[w]},prepare:Wt()},queryResultPatched:{reducer(h,{payload:{queryCacheKey:w,patches:C}}){Fr(h,w,E=>{E.data=Ca(E.data,C.concat())})},prepare:Wt()}},extraReducers(h){h.addCase(t.pending,(w,{meta:C,meta:{arg:E}})=>{var x;const S=Ei(E);w[x=E.queryCacheKey]??(w[x]={status:"uninitialized",endpointName:E.endpointName}),Fr(w,E.queryCacheKey,T=>{T.status="pending",T.requestId=S&&T.requestId?T.requestId:C.requestId,E.originalArgs!==void 0&&(T.originalArgs=E.originalArgs),T.startedTimeStamp=C.startedTimeStamp})}).addCase(t.fulfilled,(w,{meta:C,payload:E})=>{Fr(w,C.arg.queryCacheKey,S=>{if(S.requestId!==C.requestId&&!Ei(C.arg))return;const{merge:x}=n[C.arg.endpointName];if(S.status="fulfilled",x)if(S.data!==void 0){const{fulfilledTimeStamp:T,arg:k,baseQueryMeta:O,requestId:A}=C;let I=xr(S.data,N=>x(N,E,{arg:k.originalArgs,baseQueryMeta:O,fulfilledTimeStamp:T,requestId:A}));S.data=I}else S.data=E;else S.data=n[C.arg.endpointName].structuralSharing??!0?Uc(we(S.data)?Id(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:T})=>{Fr(w,E.queryCacheKey,k=>{if(!C){if(k.requestId!==S)return;k.status="rejected",k.error=T??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=Ue({name:`${e}/mutations`,initialState:Gt,reducers:{removeMutationResult:{reducer(h,{payload:w}){const C=vr(w);C in h&&delete h[C]},prepare:Wt()}},extraReducers(h){h.addCase(r.pending,(w,{meta:C,meta:{requestId:E,arg:S,startedTimeStamp:x}})=>{S.track&&(w[vr(C)]={requestId:E,status:"pending",endpointName:S.endpointName,startedTimeStamp:x})}).addCase(r.fulfilled,(w,{payload:C,meta:E})=>{E.arg.track&&Da(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&&Da(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=Ue({name:`${e}/invalidation`,initialState:Gt,reducers:{updateProvidedBy:{reducer(h,w){var S,x;const{queryCacheKey:C,providedTags:E}=w.payload;for(const T of Object.values(h))for(const k of Object.values(T)){const O=k.indexOf(C);O!==-1&&k.splice(O,1)}for(const{type:T,id:k}of E){const O=(S=h[T]??(h[T]={}))[x=k||"__internal_without_id"]??(S[x]=[]);O.includes(C)||O.push(C)}},prepare:Wt()}},extraReducers(h){h.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[T,k]of Object.entries(E))for(const[O,A]of Object.entries(k)){const I=(S=w[T]??(w[T]={}))[x=O||"__internal_without_id"]??(S[x]=[]);for(const N of A)I.includes(N)||I.push(N)}}).addMatcher(He(qe(t),Fn(t)),(w,C)=>{const E=qc(C,"providesTags",n,s),{queryCacheKey:S}=C.meta.arg;p.caseReducers.updateProvidedBy(w,p.actions.updateProvidedBy({queryCacheKey:S,providedTags:E}))})}}),f=Ue({name:`${e}/subscriptions`,initialState:Gt,reducers:{updateSubscriptionOptions(h,w){},unsubscribeQueryResult(h,w){},internal_getRTKQSubscriptions(){}}}),v=Ue({name:`${e}/internalSubscriptions`,initialState:Gt,reducers:{subscriptionsUpdated:{reducer(h,w){return Ca(h,w.payload)},prepare:Wt()}}}),b=Ue({name:`${e}/config`,initialState:{online:Pf(),focused:If(),middlewareRegistered:!1,...c},reducers:{middlewareRegistered(h,{payload:w}){h.middlewareRegistered=h.middlewareRegistered==="conflict"||i!==w?"conflict":!0}},extraReducers:h=>{h.addCase(Co,w=>{w.online=!0}).addCase(zc,w=>{w.online=!1}).addCase(So,w=>{w.focused=!0}).addCase(jc,w=>{w.focused=!1}).addMatcher(a,w=>({...w}))}}),g=Cc({queries:d.reducer,mutations:l.reducer,provided:p.reducer,subscriptions:v.reducer,config:b.reducer}),m=(h,w)=>g(u.match(w)?void 0:h,w),y={...b.actions,...d.actions,...f.actions,...v.actions,...l.actions,...p.actions,resetApiState:u};return{reducer:m,actions:y}}var tt=Symbol.for("RTKQ/skipToken"),Wc={status:"uninitialized"},$a=xr(Wc,()=>{}),Ba=xr(Wc,()=>{});function jf({serializeQueryArgs:e,reducerPath:t}){const r=d=>$a,n=d=>Ba;return{buildQuerySelector:a,buildMutationSelector:s,selectInvalidatedBy:c,selectCachedArgsForQuery:u};function i(d){return{...d,...Tf(d.status)}}function o(d){return d[t]}function a(d,l){return p=>{const f=e({queryArgs:p,endpointDefinition:l,endpointName:d});return Et(p===tt?r:g=>{var m,y;return((y=(m=o(g))==null?void 0:m.queries)==null?void 0:y[f])??$a},i)}}function s(){return d=>{let l;return typeof d=="object"?l=vr(d)??tt:l=d,Et(l===tt?n:v=>{var b,g;return((g=(b=o(v))==null?void 0:b.mutations)==null?void 0:g[l])??Ba},i)}}function c(d,l){const p=d[t],f=new Set;for(const v of l.map(Ci)){const b=p.provided[v.type];if(!b)continue;let g=(v.id!==void 0?b[v.id]:Oa(Object.values(b)))??[];for(const m of g)f.add(m)}return Oa(Array.from(f.values()).map(v=>{const b=p.queries[v];return b?[{queryCacheKey:v,endpointName:b.endpointName,originalArgs:b.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 mt=WeakMap?new WeakMap:void 0,Ua=({endpointName:e,queryArgs:t})=>{let r="";const n=mt==null?void 0:mt.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)&&(mt==null||mt.set(t,i)),r=i}return`${e}(${r})`};function zf(...e){return function(r){const n=hr(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=Ua;if("serializeQueryArgs"in u.endpointDefinition){const l=u.endpointDefinition.serializeQueryArgs;d=p=>{const f=l(p);return typeof f=="string"?f:Ua({...p,queryArgs:f})}}else r.serializeQueryArgs&&(d=r.serializeQueryArgs);return d(u)},tagTypes:[...r.tagTypes||[]]},o={endpointDefinitions:{},batch(u){u()},apiUid:Dc(),extractRehydrationInfo:n,hasRehydrationInfo:hr(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 Hf(e){for(let t in e)return!1;return!0}var qf=2147483647/1e3-1,Wf=({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&&!Hf(l)}const s={},c=(d,l,p)=>{var f;if(o.match(d)){const v=l.getState()[e],{queryCacheKey:b}=d.payload;u(b,(f=v.queries[b])==null?void 0:f.endpointName,l,v.config)}if(t.util.resetApiState.match(d))for(const[v,b]of Object.entries(s))b&&clearTimeout(b),delete s[v];if(r.hasRehydrationInfo(d)){const v=l.getState()[e],{queries:b}=r.extractRehydrationInfo(d);for(const[g,m]of Object.entries(b))u(g,m==null?void 0:m.endpointName,l,v.config)}};function u(d,l,p,f){const v=r.endpointDefinitions[l],b=(v==null?void 0:v.keepUnusedDataFor)??f.keepUnusedDataFor;if(b===1/0)return;const g=Math.max(0,Math.min(b,qf));if(!a(d)){const m=s[d];m&&clearTimeout(m),s[d]=setTimeout(()=>{a(d)||p.dispatch(i({queryCacheKey:d})),delete s[d]},g*1e3)}}return c},Gf=({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=He(qe(n),Fn(n)),l=He(qe(n,i),Ot(n,i));let p=[];const f=(g,m)=>{d(g)?b(qc(g,"invalidatesTags",r,a),m):l(g)?b([],m):o.util.invalidateTags.match(g)&&b(Eo(g.payload,void 0,void 0,void 0,void 0,a),m)};function v(g){var m,y;for(const h in g.queries)if(((m=g.queries[h])==null?void 0:m.status)==="pending")return!0;for(const h in g.mutations)if(((y=g.mutations[h])==null?void 0:y.status)==="pending")return!0;return!1}function b(g,m){const y=m.getState(),h=y[e];if(p.push(...g),h.config.invalidationBehavior==="delayed"&&v(h))return;const w=p;if(p=[],w.length===0)return;const C=o.util.selectInvalidatedBy(y,w);t.batch(()=>{const E=Array.from(C.values());for(const{queryCacheKey:S}of E){const x=h.queries[S],T=c.currentSubscriptions[S]??{};x&&(xt(T)===0?m.dispatch(u({queryCacheKey:S})):x.status!=="uninitialized"&&m.dispatch(s(x,S)))}})}return f},Vf=({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 b=f.getState()[e].queries[p],g=i.currentSubscriptions[p];if(!b||b.status==="uninitialized")return;const m=l(g);if(!Number.isFinite(m))return;const y=o[p];y!=null&&y.timeout&&(clearTimeout(y.timeout),y.timeout=void 0);const h=Date.now()+m,w=o[p]={nextPollTimestamp:h,pollingInterval:m,timeout:setTimeout(()=>{w.timeout=void 0,f.dispatch(n(b,p))},m)}}function c({queryCacheKey:p},f){const b=f.getState()[e].queries[p],g=i.currentSubscriptions[p];if(!b||b.status==="uninitialized")return;const m=l(g);if(!Number.isFinite(m)){u(p);return}const y=o[p],h=Date.now()+m;(!y||h<y.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 v in p)p[v].pollingInterval&&(f=Math.min(p[v].pollingInterval,f));return f}return a},Qf=({reducerPath:e,context:t,api:r,refetchQuery:n,internalState:i})=>{const{removeQueryResult:o}=r.internalActions,a=(c,u)=>{So.match(c)&&s(u,"refetchOnFocus"),Co.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 v=l[f],b=p[f];if(!b||!v)continue;(Object.values(b).some(m=>m[u]===!0)||Object.values(b).every(m=>m[u]===void 0)&&d.config[u])&&(xt(b)===0?c.dispatch(o({queryCacheKey:f})):v.status!=="uninitialized"&&c.dispatch(n(v,f)))}})}return a},ja=new Error("Promise never resolved before cacheEntryRemoved."),Yf=({api:e,reducerPath:t,context:r,queryThunk:n,mutationThunk:i,internalState:o})=>{const a=Si(n),s=Si(i),c=qe(n,i),u={},d=(f,v,b)=>{const g=l(f);if(n.pending.match(f)){const m=b[t].queries[g],y=v.getState()[t].queries[g];!m&&y&&p(f.meta.arg.endpointName,f.meta.arg.originalArgs,g,v,f.meta.requestId)}else if(i.pending.match(f))v.getState()[t].mutations[g]&&p(f.meta.arg.endpointName,f.meta.arg.originalArgs,g,v,f.meta.requestId);else if(c(f)){const m=u[g];m!=null&&m.valueResolved&&(m.valueResolved({data:f.payload,meta:f.meta.baseQueryMeta}),delete m.valueResolved)}else if(e.internalActions.removeQueryResult.match(f)||e.internalActions.removeMutationResult.match(f)){const m=u[g];m&&(delete u[g],m.cacheEntryRemoved())}else if(e.util.resetApiState.match(f))for(const[m,y]of Object.entries(u))delete u[m],y.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)?vr(f.payload):""}function p(f,v,b,g,m){const y=r.endpointDefinitions[f],h=y==null?void 0:y.onCacheEntryAdded;if(!h)return;let w={};const C=new Promise(O=>{w.cacheEntryRemoved=O}),E=Promise.race([new Promise(O=>{w.valueResolved=O}),C.then(()=>{throw ja})]);E.catch(()=>{}),u[b]=w;const S=e.endpoints[f].select(y.type==="query"?v:b),x=g.dispatch((O,A,I)=>I),T={...g,getCacheEntry:()=>S(g.getState()),requestId:m,extra:x,updateCachedData:y.type==="query"?O=>g.dispatch(e.util.updateQueryData(f,v,O)):void 0,cacheDataLoaded:E,cacheEntryRemoved:C},k=h(v,T);Promise.resolve(k).catch(O=>{if(O!==ja)throw O})}return d},Kf=({api:e,context:t,queryThunk:r,mutationThunk:n})=>{const i=_o(r,n),o=Ot(r,n),a=qe(r,n),s={};return(u,d)=>{var l,p;if(i(u)){const{requestId:f,arg:{endpointName:v,originalArgs:b}}=u.meta,g=t.endpointDefinitions[v],m=g==null?void 0:g.onQueryStarted;if(m){const y={},h=new Promise((S,x)=>{y.resolve=S,y.reject=x});h.catch(()=>{}),s[f]=y;const w=e.endpoints[v].select(g.type==="query"?b:f),C=d.dispatch((S,x,T)=>T),E={...d,getCacheEntry:()=>w(d.getState()),requestId:f,extra:C,updateCachedData:g.type==="query"?S=>d.dispatch(e.util.updateQueryData(v,b,S)):void 0,queryFulfilled:h};m(b,E)}}else if(a(u)){const{requestId:f,baseQueryMeta:v}=u.meta;(l=s[f])==null||l.resolve({data:u.payload,meta:v}),delete s[f]}else if(o(u)){const{requestId:f,rejectedWithValue:v,baseQueryMeta:b}=u.meta;(p=s[f])==null||p.reject({error:u.payload??u.error,isUnhandledError:!v,meta:b}),delete s[f]}}},Jf=({api:e,context:{apiUid:t},reducerPath:r})=>(n,i)=>{e.util.resetApiState.match(n)&&i.dispatch(e.internalActions.middlewareRegistered(t)),typeof process<"u"},Xf=({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,v)=>{var g,m,y;if(a.match(v)){const{queryCacheKey:h,requestId:w,options:C}=v.payload;return(g=f==null?void 0:f[h])!=null&&g[w]&&(f[h][w]=C),!0}if(s.match(v)){const{queryCacheKey:h,requestId:w}=v.payload;return f[h]&&delete f[h][w],!0}if(e.internalActions.removeQueryResult.match(v))return delete f[v.payload.queryCacheKey],!0;if(t.pending.match(v)){const{meta:{arg:h,requestId:w}}=v,C=f[m=h.queryCacheKey]??(f[m]={});return C[`${w}_running`]={},h.subscribe&&(C[w]=h.subscriptionOptions??C[w]??{}),!0}let b=!1;if(t.fulfilled.match(v)||t.rejected.match(v)){const h=f[v.meta.arg.queryCacheKey]||{},w=`${v.meta.requestId}_running`;b||(b=!!h[w]),delete h[w]}if(t.rejected.match(v)){const{meta:{condition:h,arg:w,requestId:C}}=v;if(h&&w.subscribe){const E=f[y=w.queryCacheKey]??(f[y]={});E[C]=w.subscriptionOptions??E[C]??{},b=!0}}return b},u=()=>r.currentSubscriptions,p={getSubscriptions:u,getSubscriptionCount:f=>{const b=u()[f]??{};return xt(b)},isRequestSubscribed:(f,v)=>{var g;const b=u();return!!((g=b==null?void 0:b[f])!=null&&g[v])}};return(f,v)=>{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 b=c(r.currentSubscriptions,f);let g=!0;if(b){o||(o=setTimeout(()=>{const h=JSON.parse(JSON.stringify(r.currentSubscriptions)),[,w]=Pc(i,()=>h);v.next(e.internalActions.subscriptionsUpdated(w)),i=h,o=null},500));const m=typeof f.type=="string"&&!!f.type.startsWith(n),y=t.rejected.match(f)&&f.meta.condition&&!!f.meta.arg.subscribe;g=!m&&!y}return[g,!1]}};function Zf(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=[Jf,Wf,Gf,Vf,Yf,Kf];return{middleware:l=>{let p=!1;const v={...e,internalState:{currentSubscriptions:{}},refetchQuery:d,isThisApiSliceAction:s},b=c.map(y=>y(v)),g=Xf(v),m=Qf(v);return y=>h=>{if(!Ec(h))return y(h);p||(p=!0,l.dispatch(n.internalActions.middlewareRegistered(o)));const w={...l,next:y},C=l.getState(),[E,S]=g(h,w,C);let x;if(E?x=y(h):x=S,l.getState()[t]&&(m(h,w,C),s(h)||i.hasRehydrationInfo(h)))for(let T of b)T(h,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 Be(e,...t){return Object.assign(e,...t)}var za=Symbol(),ep=()=>({name:za,init(e,{baseQuery:t,tagTypes:r,reducerPath:n,serializeQueryArgs:i,keepUnusedDataFor:o,refetchOnMountOrArgChange:a,refetchOnFocus:s,refetchOnReconnect:c,invalidationBehavior:u},d){jd();const l=U=>(typeof process<"u",U);Object.assign(e,{reducerPath:n,endpoints:{},internalActions:{onOnline:Co,onOffline:zc,onFocus:So,onFocusLost:jc},util:{}});const{queryThunk:p,mutationThunk:f,patchQueryData:v,updateQueryData:b,upsertQueryData:g,prefetch:m,buildMatchThunkActions:y}=Bf({baseQuery:t,reducerPath:n,context:d,api:e,serializeQueryArgs:i,assertTagType:l}),{reducer:h,actions:w}=Uf({context:d,queryThunk:p,mutationThunk:f,reducerPath:n,assertTagType:l,config:{refetchOnFocus:s,refetchOnReconnect:c,refetchOnMountOrArgChange:a,keepUnusedDataFor:o,reducerPath:n,invalidationBehavior:u}});Be(e.util,{patchQueryData:v,updateQueryData:b,upsertQueryData:g,prefetch:m,resetApiState:w.resetApiState}),Be(e.internalActions,w);const{middleware:C,actions:E}=Zf({reducerPath:n,context:d,queryThunk:p,mutationThunk:f,api:e,assertTagType:l});Be(e.util,E),Be(e,{reducer:h,middleware:C});const{buildQuerySelector:S,buildMutationSelector:x,selectInvalidatedBy:T,selectCachedArgsForQuery:k}=jf({serializeQueryArgs:i,reducerPath:n});Be(e.util,{selectInvalidatedBy:T,selectCachedArgsForQuery:k});const{buildInitiateQuery:O,buildInitiateMutation:A,getRunningMutationThunk:I,getRunningMutationsThunk:N,getRunningQueriesThunk:H,getRunningQueryThunk:J}=$f({queryThunk:p,mutationThunk:f,api:e,serializeQueryArgs:i,context:d});return Be(e.util,{getRunningMutationThunk:I,getRunningMutationsThunk:N,getRunningQueryThunk:J,getRunningQueriesThunk:H}),{name:za,injectEndpoint(U,M){var Q;const ae=e;(Q=ae.endpoints)[U]??(Q[U]={}),Hc(M)?Be(ae.endpoints[U],{name:U,select:S(U,M),initiate:O(U,M)},y(p,U)):Ff(M)&&Be(ae.endpoints[U],{name:U,select:x(),initiate:A(U)},y(f,U))}}}}),Gc={exports:{}},Vc={};const tp=Jl(sr);/**
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);/**
9
9
  * @license React
10
10
  * use-sync-external-store-with-selector.production.min.js
11
11
  *
@@ -13,13 +13,13 @@ var Vu=Object.defineProperty;var Qu=(e,t,r)=>t in e?Vu(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 kr=tp;function rp(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var np=typeof Object.is=="function"?Object.is:rp,ip=kr.useSyncExternalStore,op=kr.useRef,ap=kr.useEffect,sp=kr.useMemo,cp=kr.useDebugValue;Vc.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var o=op(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=sp(function(){function c(f){if(!u){if(u=!0,d=f,f=n(f),i!==void 0&&a.hasValue){var v=a.value;if(i(v,f))return l=v}return l=f}if(v=l,np(d,f))return v;var b=n(f);return i!==void 0&&i(v,b)?v:(d=f,l=b)}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=ip(e,o[0],o[1]);return ap(function(){a.hasValue=!0,a.value=s},[s]),cp(s),s};Gc.exports=Vc;var up=Gc.exports,de="default"in sr?tc:sr,Ha=Symbol.for("react-redux-context"),qa=typeof globalThis<"u"?globalThis:{};function lp(){if(!de.createContext)return{};const e=qa[Ha]??(qa[Ha]=new Map);let t=e.get(de.createContext);return t||(t=de.createContext(null),e.set(de.createContext,t)),t}var We=lp(),dp=()=>{throw new Error("uSES not initialized!")};function xo(e=We){return function(){return de.useContext(e)}}var Qc=xo(),Yc=dp,fp=e=>{Yc=e},pp=(e,t)=>e===t;function hp(e=We){const t=e===We?Qc:xo(e);return function(n,i={}){const{equalityFn:o=pp,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](v){return n(v)}}[n.name],[n,d,a.stabilityCheck]),f=Yc(c.addNestedSub,s.getState,u||s.getState,p,o);return de.useDebugValue(f),f}}var Kc=hp();function Jc(e){e()}function mp(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Jc(()=>{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 Wa={notify(){},get:()=>[]};function vp(e,t){let r,n=Wa,i=0,o=!1;function a(b){d();const g=n.subscribe(b);let m=!1;return()=>{m||(m=!0,g(),l())}}function s(){n.notify()}function c(){v.onStateChange&&v.onStateChange()}function u(){return o}function d(){i++,r||(r=t?t.addNestedSub(c):e.subscribe(c),n=mp())}function l(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=Wa)}function p(){o||(o=!0,d())}function f(){o&&(o=!1,l())}const v={addNestedSub:a,notifyNestedSubs:s,handleChangeWrapper:c,isSubscribed:u,trySubscribe:p,tryUnsubscribe:f,getListeners:()=>n};return v}var gp=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",yp=gp?de.useLayoutEffect:de.useEffect;function Ga(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function un(e,t){if(Ga(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])||!Ga(e[r[i]],t[r[i]]))return!1;return!0}function bp({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const a=de.useMemo(()=>{const u=vp(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]);yp(()=>{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||We;return de.createElement(c.Provider,{value:a},r)}var _p=bp;function Xc(e=We){const t=e===We?Qc:xo(e);return function(){const{store:n}=t();return n}}var Zc=Xc();function wp(e=We){const t=e===We?Zc:Xc(e);return function(){return t().dispatch}}var eu=wp(),Sp=Jc;fp(up.useSyncExternalStoreWithSelector);function Va(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 V(()=>{o.current.serialized!==i.serialized&&(o.current=i)},[i]),o.current.serialized===i.serialized?o.current.queryArgs:e}var Vn=Symbol();function Qn(e){const t=ve(e);return V(()=>{un(t.current,e)||(t.current=e)},[e]),un(t.current,e)?t.current:e}var vt=WeakMap?new WeakMap:void 0,Cp=({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})`},Ep=typeof window<"u"&&window.document&&window.document.createElement?lt:V,xp=e=>e.isUninitialized?{...e,isUninitialized:!1,isFetching:!0,isLoading:e.data===void 0,status:Bc.pending}:e;function Tp({api:e,moduleOptions:{batch:t,hooks:{useDispatch:r,useSelector:n,useStore:i},unstable__sideEffectsInRender:o},serializeQueryArgs:a,context:s}){const c=o?f=>f():V;return{buildQueryHooks:l,buildMutationHook:p,usePrefetch:d};function u(f,v,b){if(v!=null&&v.endpointName&&f.isUninitialized){const{endpointName:C}=v,E=s.endpointDefinitions[C];a({queryArgs:v.originalArgs,endpointDefinition:E,endpointName:C})===a({queryArgs:b,endpointDefinition:E,endpointName:C})&&(v=void 0)}let g=f.isSuccess?f.data:v==null?void 0:v.data;g===void 0&&(g=f.data);const m=g!==void 0,y=f.isLoading,h=!m&&y,w=f.isSuccess||y&&m;return{...f,data:g,currentData:f.data,isFetching:y,isLoading:h,isSuccess:w}}function d(f,v){const b=r(),g=Qn(v);return yt((m,y)=>b(e.util.prefetch(f,m,{...g,...y})),[f,b,g])}function l(f){const v=(m,{refetchOnReconnect:y,refetchOnFocus:h,refetchOnMountOrArgChange:w,skip:C=!1,pollingInterval:E=0}={})=>{const{initiate:S}=e.endpoints[f],x=r(),T=ve();if(!T.current){const M=x(e.internalActions.internal_getRTKQSubscriptions());T.current=M}const k=Va(C?tt:m,Cp,s.endpointDefinitions[f],f),O=Qn({refetchOnReconnect:y,refetchOnFocus:h,pollingInterval:E}),A=ve(!1),I=ve();let{queryCacheKey:N,requestId:H}=I.current||{},J=!1;N&&H&&(J=T.current.isRequestSubscribed(N,H));const U=!J&&A.current;return c(()=>{A.current=J}),c(()=>{U&&(I.current=void 0)},[U]),c(()=>{var Q;const M=I.current;if(typeof process<"u",k===tt){M==null||M.unsubscribe(),I.current=void 0;return}const ae=(Q=I.current)==null?void 0:Q.subscriptionOptions;if(!M||M.arg!==k){M==null||M.unsubscribe();const Ee=x(S(k,{subscriptionOptions:O,forceRefetch:w}));I.current=Ee}else O!==ae&&M.updateSubscriptionOptions(O)},[x,S,w,k,O,U]),V(()=>()=>{var M;(M=I.current)==null||M.unsubscribe(),I.current=void 0},[]),ie(()=>({refetch:()=>{var M;if(!I.current)throw new Error(ye(38));return(M=I.current)==null?void 0:M.refetch()}}),[])},b=({refetchOnReconnect:m,refetchOnFocus:y,pollingInterval:h=0}={})=>{const{initiate:w}=e.endpoints[f],C=r(),[E,S]=Oe(Vn),x=ve(),T=Qn({refetchOnReconnect:m,refetchOnFocus:y,pollingInterval:h});c(()=>{var I,N;const A=(I=x.current)==null?void 0:I.subscriptionOptions;T!==A&&((N=x.current)==null||N.updateSubscriptionOptions(T))},[T]);const k=ve(T);c(()=>{k.current=T},[T]);const O=yt(function(A,I=!1){let N;return t(()=>{var H;(H=x.current)==null||H.unsubscribe(),x.current=N=C(w(A,{subscriptionOptions:k.current,forceRefetch:!I})),S(A)}),N},[C,w]);return V(()=>()=>{var A;(A=x==null?void 0:x.current)==null||A.unsubscribe()},[]),V(()=>{E!==Vn&&!x.current&&O(E,!0)},[E,O]),ie(()=>[O,E],[O,E])},g=(m,{skip:y=!1,selectFromResult:h}={})=>{const{select:w}=e.endpoints[f],C=Va(y?tt:m,a,s.endpointDefinitions[f],f),E=ve(),S=ie(()=>Et([w(C),(A,I)=>I,A=>C],u),[w,C]),x=ie(()=>h?Et([S],h,{devModeChecks:{identityFunctionCheck:"never"}}):S,[S,h]),T=n(A=>x(A,E.current),un),k=i(),O=S(k.getState(),E.current);return Ep(()=>{E.current=O},[O]),T};return{useQueryState:g,useQuerySubscription:v,useLazyQuerySubscription:b,useLazyQuery(m){const[y,h]=b(m),w=g(h,{...m,skip:h===Vn}),C=ie(()=>({lastArg:h}),[h]);return ie(()=>[y,w,C],[y,w,C])},useQuery(m,y){const h=v(m,y),w=g(m,{selectFromResult:m===tt||y!=null&&y.skip?void 0:xp,...y}),{data:C,status:E,isLoading:S,isSuccess:x,isError:T,error:k}=w;return Zr({data:C,status:E,isLoading:S,isSuccess:x,isError:T,error:k}),ie(()=>({...w,...h}),[w,h])}}}function p(f){return({selectFromResult:v,fixedCacheKey:b}={})=>{const{select:g,initiate:m}=e.endpoints[f],y=r(),[h,w]=Oe();V(()=>()=>{h!=null&&h.arg.fixedCacheKey||h==null||h.reset()},[h]);const C=yt(function(Q){const Ee=y(m(Q,{fixedCacheKey:b}));return w(Ee),Ee},[y,m,b]),{requestId:E}=h||{},S=ie(()=>g({fixedCacheKey:b,requestId:h==null?void 0:h.requestId}),[b,h,g]),x=ie(()=>v?Et([S],v):S,[v,S]),T=n(x,un),k=b==null?h==null?void 0:h.arg.originalArgs:void 0,O=yt(()=>{t(()=>{h&&w(void 0),b&&y(e.internalActions.removeMutationResult({requestId:E,fixedCacheKey:b}))})},[y,b,h,E]),{endpointName:A,data:I,status:N,isLoading:H,isSuccess:J,isError:U,error:M}=T;Zr({endpointName:A,data:I,status:N,isLoading:H,isSuccess:J,isError:U,error:M});const ae=ie(()=>({...T,originalArgs:k,reset:O}),[T,k,O]);return ie(()=>[C,ae],[C,ae])}}}function kp(e){return e.type==="query"}function Rp(e){return e.type==="mutation"}function Yn(e){return e.replace(e[0],e[0].toUpperCase())}function Dr(e,...t){return Object.assign(e,...t)}var Ap=Symbol(),Op=({batch:e=Sp,hooks:t={useDispatch:eu,useSelector:Kc,useStore:Zc},unstable__sideEffectsInRender:r=!1,...n}={})=>({name:Ap,init(i,{serializeQueryArgs:o},a){const s=i,{buildQueryHooks:c,buildMutationHook:u,usePrefetch:d}=Tp({api:i,moduleOptions:{batch:e,hooks:t,unstable__sideEffectsInRender:r},serializeQueryArgs:o,context:a});return Dr(s,{usePrefetch:d}),Dr(a,{batch:e}),{injectEndpoint(l,p){if(kp(p)){const{useQuery:f,useLazyQuery:v,useLazyQuerySubscription:b,useQueryState:g,useQuerySubscription:m}=c(l);Dr(s.endpoints[l],{useQuery:f,useLazyQuery:v,useLazyQuerySubscription:b,useQueryState:g,useQuerySubscription:m}),i[`use${Yn(l)}Query`]=f,i[`useLazy${Yn(l)}Query`]=v}else if(Rp(p)){const f=u(l);Dr(s.endpoints[l],{useMutation:f}),i[`use${Yn(l)}Mutation`]=f}}}}}),Pp=zf(ep(),Op());const Ip=async(e,t,r)=>{const n=t.getState().session.backendUrl;return Mf({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)},nt=Pp({baseQuery:Ip,reducerPath:"backendApi",endpoints:e=>({campaignConnect:e.query({query:()=>({url:"super-campaign/backend/campaign-connect",method:"GET"}),keepUnusedDataFor:Number.MAX_SAFE_INTEGER})})}),{useLazyCampaignConnectQuery:Lp}=nt,xi=Ue({name:"session",initialState:{},reducers:{setSession:(e,t)=>t.payload}}),{setSession:Np}=xi.actions,Ti=Ue({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:Mp,setSelectedFund:tu,clearSelectedFund:be}=Ti.actions,Qa=uf({reducer:{[xi.name]:xi.reducer,[nt.reducerPath]:nt.reducer,[Ti.reducerPath]:Ti.reducer},middleware:e=>e().concat(nt.middleware)}),Rr=()=>eu(),ct=Kc,To=({fillWidth:e=!1,fillWidthOnMobile:t=!1,disabled:r=!1,onClick:n=void 0,children:i})=>{const[o,a]=Oe(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&&_($t,{size:16}),_("div",{css:[o===1&&{display:"none"}],children:i})]})},Fp=nn.a({fontWeight:"500",textDecorationLine:"underline",textUnderlineOffset:"2px",":hover":{"--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))"}}),Dp="_extnav=true",L=({link:e,onClick:t,children:r,...n})=>{const i=e.indexOf("?")===-1?"?":"&",o=`${e}${i}${Dp}`;return _(Fp,{target:"_blank",href:o,onClick:t,...n,children:r})},$p=""+new URL("assets/logo-slate-qMDg7z1_.png",import.meta.url).href,Bp="Slate Super",ko="32367272075001",Pt={fundId:"slate",name:Bp,logo:$p,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"," ",_(L,{link:"https://slate.co/pds/?utm_source=flare&utm_medium=superselection",onClick:()=>Y(Pt),children:"Product Disclosure Statement"})," ","and"," ",_(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"},Ge=e=>{document.dispatchEvent(new CustomEvent(e.type,{detail:e}))},ki=()=>{Ge({sender:"super-campaign",type:"choose-another-fund-requested"})},Up=e=>{Ge({sender:"super-campaign",type:"fund-panel-shown",shownFunds:e.map(t=>({fundId:t.fundId,fundType:t.fundType}))})},jp=e=>{Ge({sender:"super-campaign",type:"fund-tile-clicked",fundId:e.fundId,fundType:e.fundType,fundName:e.name,fundUsi:e.fundId===Pt.fundId?ko:void 0})},Y=e=>{Ge({sender:"super-campaign",type:"fund-pds-viewed",pageName:"Panel Fund Page",fundName:e.name,fundUsi:e.fundId===Pt.fundId?ko:void 0})},zp=()=>{Ge({sender:"super-campaign",type:"disclaimer-accepted"})},Hp=()=>{Ge({sender:"super-campaign",type:"disclaimer-viewed"})},wt=e=>{Ge({sender:"super-campaign",type:"promoted-fund-joined",fundJoinInfo:e})},qp=()=>{Ge({sender:"super-campaign",type:"super-campaign-loaded"})};var ge={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},Re=console,et={};Object.keys(ge).forEach(function(e){et[e]=Re[e]});var Vt="Datadog Browser SDK:",te={debug:et.debug.bind(Re,Vt),log:et.log.bind(Re,Vt),info:et.info.bind(Re,Vt),warn:et.warn.bind(Re,Vt),error:et.error.bind(Re,Vt)};function ru(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 gr;(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"})(gr||(gr={}));var Ro=new Set;function Wp(e){e.forEach(function(t){Ro.add(t)})}function nu(e){return Ro.has(e)}function Gp(){return Ro}function Ri(e){return e!==0&&Math.random()*100<=e}function Kn(e){return Vp(e)&&e>=0&&e<=100}function Vp(e){return typeof e=="number"}var Ar=1e3,dt=60*Ar,Qp=60*dt;function tr(){return new Date().getTime()}function Ve(){return tr()}function ln(){return performance.now()}function Bt(){return{relative:ln(),timeStamp:Ve()}}function Yp(){return{relative:0,timeStamp:iu()}}function Kp(e,t){return t-e}function Jp(e,t){return e+t}function Xp(e){return e-iu()}var Jn;function iu(){return Jn===void 0&&(Jn=performance.timing.navigationStart),Jn}var Fe=1024,ou=1024*Fe,Zp=/[^\u0000-\u007F]/;function Ao(e){return Zp.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 au(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 eh(e,t){for(var r=0;r<e.length;r+=1){var n=e[r];if(t(n,r))return n}}function It(e){return Object.keys(e).map(function(t){return e[t]})}function th(e){return Object.keys(e).map(function(t){return[t,e[t]]})}function su(e,t){return e.slice(0,t.length)===t}function rh(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 nh(e){return le({},e)}function Ya(e,t){return Object.keys(e).some(function(r){return e[r]===t})}function Oo(e){return Object.keys(e).length===0}function Qe(){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=Qe(),n;return r.Zone&&typeof r.Zone.__symbol__=="function"&&(n=e[r.Zone.__symbol__(t)]),n||(n=e[t]),n}var ih=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))},dn,cu=!1;function oh(e){dn=e}function ah(e){cu=e}function sh(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=dn?$(n):n;return a.apply(this,i)}}function $(e){return function(){return yr(e,this,arguments)}}function yr(e,t,r){try{return e.apply(t,r)}catch(n){if(Ai(n),dn)try{dn(n)}catch(i){Ai(i)}}}function Ai(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];cu&&te.error.apply(te,ih(["[MONITOR]"],e,!1))}function Or(e,t){return Lt(Qe(),"setTimeout")($(e),t)}function uu(e){Lt(Qe(),"clearTimeout")(e)}function Po(e,t){return Lt(Qe(),"setInterval")($(e),t)}function lu(e){Lt(Qe(),"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 du(){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 fu(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=Or(function(){i&&a&&e.apply(void 0,a),o=!1,a=void 0},t)},cancel:function(){uu(s),o=!1,a=void 0}}}function jt(){}function ft(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,ft)}var fn=/([\w-]+)\s*=\s*([^;]+)/g;function ch(e,t){for(fn.lastIndex=0;;){var r=fn.exec(e);if(r){if(r[1]===t)return r[2]}else break}}function uh(e){var t=new Map;for(fn.lastIndex=0;;){var r=fn.exec(e);if(r)t.set(r[1],r[2]);else break}return t}function lh(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 pu=4*Qp,hu=15*dt;function dh(){return fh()===1}var $r;function fh(){return $r??($r=ph())}function ph(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 Dn(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 Io(e){return ch(document.cookie,e)}var Xn;function rt(e){return Xn||(Xn=uh(document.cookie)),Xn.get(e)}function Lo(e,t){Dn(e,"",0,t)}function hh(e){if(document.cookie===void 0||document.cookie===null)return!1;try{var t="dd_cookie_test_".concat(ft()),r="test";Dn(t,r,dt,e);var n=Io(t)===r;return Lo(t,e),n}catch(i){return te.error(i),!1}}var Zn;function mh(){if(Zn===void 0){for(var e="dd_site_test_".concat(ft()),t="test",r=window.location.hostname.split("."),n=r.pop();r.length&&!Io(e);)n="".concat(r.pop(),".").concat(n),Dn(e,t,Ar,{domain:n});Lo(e,{domain:n}),Zn=n}return Zn}var pt="_dd_s",mu=/^([a-z]+)=([a-z0-9-]+)$/,No="&";function Oi(e){return Oo(e)}function vu(e){e.expire=String(tr()+hu)}function gu(e){return th(e).map(function(t){var r=t[0],n=t[1];return"".concat(r,"=").concat(n)}).join(No)}function yu(e){var t={};return vh(e)&&e.split(No).forEach(function(r){var n=mu.exec(r);if(n!==null){var i=n[1],o=n[2];t[i]=o}}),t}function vh(e){return!!e&&(e.indexOf(No)!==-1||mu.test(e))}var gh="_dd",yh="_dd_r",bh="_dd_l",_h="rum",wh="logs";function Sh(e){var t=rt(pt);if(!t){var r=rt(gh),n=rt(yh),i=rt(bh),o={};r&&(o.id=r),i&&/^[01]$/.test(i)&&(o[wh]=i),n&&/^[012]$/.test(n)&&(o[_h]=n),Oi(o)||(vu(o),e.persistSession(o))}}function Ch(e){var t=Rh(e);return hh(t)?{type:"Cookie",cookieOptions:t}:void 0}function Eh(e){var t={isLockEnabled:dh(),persistSession:xh(e),retrieveSession:Th,clearSession:kh(e)};return Sh(t),t}function xh(e){return function(t){Dn(pt,gu(t),hu,e)}}function Th(){var e=Io(pt);return yu(e)}function kh(e){return function(){Lo(pt,e)}}function Rh(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=mh()),t}var Ah="_dd_test_";function Oh(){try{var e=ft(),t="".concat(Ah).concat(e);localStorage.setItem(t,e);var r=localStorage.getItem(t);return localStorage.removeItem(t),e===r?{type:"LocalStorage"}:void 0}catch{return}}function Ph(){return{isLockEnabled:!1,persistSession:Ih,retrieveSession:Lh,clearSession:Nh}}function Ih(e){localStorage.setItem(pt,gu(e))}function Lh(){var e=localStorage.getItem(pt);return yu(e)}function Nh(){localStorage.removeItem(pt)}var Mh=10,Fh=100,bu=[],Kr;function rr(e,t,r){var n;r===void 0&&(r=0);var i=t.isLockEnabled,o=t.retrieveSession,a=t.persistSession,s=t.clearSession;if(Kr||(Kr=e),e!==Kr){bu.push(e);return}if(i&&r>=Fh){Ka(t);return}var c,u=o();if(i){if(u.lock){Br(e,t,r);return}if(c=ft(),u.lock=c,a(u),u=o(),u.lock!==c){Br(e,t,r);return}}var d=e.process(u);if(i&&(u=o(),u.lock!==c)){Br(e,t,r);return}if(d&&(Oi(d)?s():(vu(d),a(d))),i&&!(d&&Oi(d))){if(u=o(),u.lock!==c){Br(e,t,r);return}delete u.lock,a(u),d=u}(n=e.after)===null||n===void 0||n.call(e,d||u),Ka(t)}function Br(e,t,r){Or(function(){rr(e,t,r+1)},Mh)}function Ka(e){Kr=void 0;var t=bu.shift();t&&rr(t,e)}var Ja=Ar;function Dh(e){var t=Ch(e);return!t&&e.allowFallbackToLocalStorage&&(t=Oh()),t}function $h(e,t,r){var n=new re,i=new re,o=e.type==="Cookie"?Eh(e.cookieOptions):Ph(),a=o.clearSession,s=o.retrieveSession,c=Po(v,Ja),u=C(),d=fu(function(){var S;rr({process:function(x){var T=b(x);return S=g(T),T},after:function(x){S&&!m()&&w(x),u=x}},o)},Ja),l=d.throttled,p=d.cancel;function f(){rr({process:function(S){return m()?b(S):void 0}},o)}function v(){rr({process:function(S){return E(S)?void 0:{}},after:b},o)}function b(S){return E(S)||(S={}),m()&&(y(S)?h():u=S),S}function g(S){var x=r(S[t]),T=x.trackingType,k=x.isTracked;return S[t]=T,k&&!S.id&&(S.id=ft(),S.created=String(tr())),k}function m(){return u[t]!==void 0}function y(S){return u.id!==S.id||u[t]!==S[t]}function h(){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||tr()-Number(S.created)<pu)&&(S.expire===void 0||tr()<Number(S.expire))}return{expandOrRenewSession:l,expandSession:f,getSession:function(){return u},renewObservable:n,expireObservable:i,expire:function(){p(),a(),b({})},stop:function(){lu(c)}}}var Pi={GRANTED:"granted",NOT_GRANTED:"not-granted"};function Bh(e){var t=new re;return{tryToInit:function(r){e||(e=r)},update:function(r){e=r,t.notify()},isGranted:function(){return e===Pi.GRANTED},observable:t}}function zt(e,t,r){if(typeof e!="object"||e===null)return JSON.stringify(e);var n=St(Object.prototype),i=St(Array.prototype),o=St(Object.getPrototypeOf(e)),a=St(e);try{return JSON.stringify(e,t,r)}catch{return"<error: unable to serialize object>"}finally{n(),i(),o(),a()}}function St(e){var t=e,r=t.toJSON;return r?(delete t.toJSON,function(){t.toJSON=r}):jt}function Mo(e){return Uh(e,location.href).href}function Uh(e,t){var r=jh();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 Xa=URL,Ur;function jh(){if(Ur===void 0)try{var e=new Xa("http://test/path");Ur=e.href==="http://test/path"}catch{Ur=!1}return Ur?Xa:void 0}var zh="datad0g.com",Hh="dd0g-gov.com",nr="datadoghq.com",qh="ddog-gov.com";function ir(e,t,r){var n=Wh(e,t);return{build:function(i,o){var a=Vh(e,t,r,i,o);return n(a)},urlPrefix:n(""),trackType:t}}function Wh(e,t){var r="/api/v2/".concat(t),n=e.proxy;if(typeof n=="string"){var i=Mo(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=Gh(e);return function(a){return"https://".concat(o).concat(r,"?").concat(a)}}function Gh(e){var t=e.site,r=t===void 0?nr:t,n=e.internalAnalyticsSubdomain;if(n&&r===nr)return"".concat(n,".").concat(nr);if(r===Hh)return"http-intake.logs.".concat(r);var i=r.split("."),o=i.pop();return"browser-intake-".concat(i.join("-"),".").concat(o)}function Vh(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&&nu(gr.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(ft())];return u&&l.push("dd-evp-encoding=".concat(u)),t==="rum"&&l.push("batch_time=".concat(Ve())),a&&l.reverse(),l.join("&")}var Qh=200;function Yh(e){var t=e.env,r=e.service,n=e.version,i=e.datacenter,o=[];return t&&o.push(jr("env",t)),r&&o.push(jr("service",r)),n&&o.push(jr("version",n)),i&&o.push(jr("datacenter",i)),o}var Kh=/[^a-z0-9_:./-]/;function jr(e,t){var r=Qh-e.length-1;(t.length>r||Kh.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 Jh(e){var t=Yh(e),r=Xh(e,t),n=It(r).map(function(o){return o.urlPrefix}),i=Zh(e,n,t);return le({isIntakeUrl:function(o){return n.some(function(a){return o.indexOf(a)===0})},replica:i,site:e.site||nr},r)}function Xh(e,t){return{logsEndpointBuilder:ir(e,"logs",t),rumEndpointBuilder:ir(e,"rum",t),sessionReplayEndpointBuilder:ir(e,"replay",t)}}function Zh(e,t,r){if(e.replica){var n=le({},e,{site:nr,clientToken:e.replica.clientToken}),i={logsEndpointBuilder:ir(n,"logs",r),rumEndpointBuilder:ir(n,"rum",r)};return t.push.apply(t,It(i).map(function(o){return o.urlPrefix})),le({applicationId:e.replica.applicationId},i)}}function em(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&&!Kn(e.sessionSampleRate)){te.error("Session Sample Rate should be a number between 0 and 100");return}if(e.telemetrySampleRate!==void 0&&!Kn(e.telemetrySampleRate)){te.error("Telemetry Sample Rate should be a number between 0 and 100");return}if(e.telemetryConfigurationSampleRate!==void 0&&!Kn(e.telemetryConfigurationSampleRate)){te.error("Telemetry Configuration Sample Rate should be a number between 0 and 100");return}if(e.trackingConsent!==void 0&&!Ya(Pi,e.trackingConsent)){te.error('Tracking Consent should be either "granted" or "not-granted"');return}return Array.isArray(e.enableExperimentalFeatures)&&Wp(e.enableExperimentalFeatures.filter(function(o){return Ya(gr,o)})),le({beforeSend:e.beforeSend&&ru(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:Dh(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:Pi.GRANTED,batchBytesLimit:16*Fe,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:30*Ar,batchMessagesLimit:50,messageBytesLimit:256*Fe},Jh(e))}function tm(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 it(e,t,r){var n=e[t],i=rm(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 rm(e,t){return function(){var r=arguments,n,i;return yr(t,null,[{target:this,parameters:r,onPostCall:function(o){i=o}}]),typeof e=="function"&&(n=e.apply(this,r)),i&&yr(i,null,[n]),n}}var Pr="?";function $e(e){var t=[],r=ei(e,"stack"),n=String(e);return r&&su(r,n)&&(r=r.slice(n.length)),r&&r.split(`
17
- `).forEach(function(i){var o=om(i)||sm(i)||um(i)||fm(i);o&&(!o.func&&o.line&&(o.func=Pr),t.push(o))}),{message:ei(e,"message"),name:ei(e,"name"),stack:t}}var _u="((?:file|https?|blob|chrome-extension|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",Nt="(?::(\\d+))",nm=new RegExp("^\\s*at (.*?) ?\\(".concat(_u).concat(Nt,"?").concat(Nt,"?\\)?\\s*$"),"i"),im=new RegExp("\\((\\S*)".concat(Nt).concat(Nt,"\\)"));function om(e){var t=nm.exec(e);if(t){var r=t[2]&&t[2].indexOf("native")===0,n=t[2]&&t[2].indexOf("eval")===0,i=im.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]||Pr,line:t[3]?+t[3]:void 0,url:r?void 0:t[2]}}}var am=new RegExp("^\\s*at ?".concat(_u).concat(Nt,"?").concat(Nt,"??\\s*$"),"i");function sm(e){var t=am.exec(e);if(t)return{args:[],column:t[3]?+t[3]:void 0,func:Pr,line:t[2]?+t[2]:void 0,url:t[1]}}var cm=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function um(e){var t=cm.exec(e);if(t)return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||Pr,line:+t[3],url:t[2]}}var lm=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,dm=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function fm(e){var t=lm.exec(e);if(t){var r=t[3]&&t[3].indexOf(" > eval")>-1,n=dm.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]||Pr,line:t[4]?+t[4]:void 0,url:t[3]}}}function ei(e,t){if(!(typeof e!="object"||!e||!(t in e))){var r=e[t];return typeof r=="string"?r:void 0}}function pm(e,t,r,n){var i=[{url:t,column:n,line:r}],o=mm(e),a=o.name,s=o.message;return{name:a,message:s,stack:i}}var hm=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function mm(e){var t,r,n;return{}.toString.call(e)==="[object String]"&&(t=hm.exec(e),r=t[1],n=t[2]),{name:r,message:n}}var vm=220*Fe,gm="$",ym=3;function De(e,t){var r;t===void 0&&(t=vm);var n=St(Object.prototype),i=St(Array.prototype),o=[],a=new WeakMap,s=ti(e,gm,void 0,o,a),c=((r=JSON.stringify(s))===null||r===void 0?void 0:r.length)||0;if(c>t){ri(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=ti(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){ri(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=ti(u.source[l],u.path,l,o,a);if(p!==void 0&&(c+=JSON.stringify(p).length+d+l.length+ym,d=1),c>t){ri(t,"truncated",e);break}u.target[l]=p}}return n(),i(),s}function ti(e,t,r,n,i){var o=wm(e);if(!o||typeof o!="object")return bm(o);var a=_m(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 bm(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 _m(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 wm(e){var t=e;if(t&&typeof t.toJSON=="function")try{return t.toJSON()}catch{}return e}function ri(e,t,r){te.warn("The data provided has been ".concat(t," as it is over the limit of ").concat(e," characters:"),r)}var wu="No stack, consider using an instance of Error";function Su(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=Sm(t,c,o,r),d=Cm(c,t)?ht(t):wu,l=c?xu(r,a):void 0,p=t==null?void 0:t.name,f=Cu(r);return{startClocks:i,source:a,handling:s,handlingStack:n,originalError:r,type:p,message:u,stack:d,causes:l,fingerprint:f}}function Sm(e,t,r,n){return e!=null&&e.message&&(e!=null&&e.name)?e.message:t?"Empty message":"".concat(r," ").concat(zt(De(n)))}function Cm(e,t){return t===void 0?!1:e?!0:t.stack.length>0&&(t.stack.length>1||t.stack[0].url!==void 0)}function Cu(e){return e instanceof Error&&"dd_fingerprint"in e?String(e.dd_fingerprint):void 0}function ht(e){var t=Eu(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 Em(e){var t;return(t=/@ (.+)/.exec(e))===null||t===void 0?void 0:t[1]}function Eu(e){return"".concat(e.name||"Error",": ").concat(e.message)}function xm(){var e=2,t=new Error,r;if(!t.stack)try{throw t}catch{}return yr(function(){var n=$e(t);n.stack=n.stack.slice(e),r=ht(n)}),r}function xu(e,t){for(var r=e,n=[];(r==null?void 0:r.cause)instanceof Error&&n.length<10;){var i=$e(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 Ce={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"};function Tm(e){var t=function(i,o){var a=Su({stackTrace:i,originalError:o,startClocks:Bt(),nonErrorPrefix:"Uncaught",source:Ce.SOURCE,handling:"unhandled"});e.notify(a)},r=km(t).stop,n=Rm(t).stop;return{stop:function(){r(),n()}}}function km(e){return it(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=$e(s):c=pm(n,i,o,a),e(c,s??n)})}function Rm(e){return it(window,"onunhandledrejection",function(t){var r=t.parameters[0],n=r.reason||"Empty reason",i=$e(n);e(i,n)})}function Am(e){var t=le({version:"5.11.0",onReady:function(r){r()}},e);return Object.defineProperty(t,"_setDebug",{get:function(){return ah},enumerable:!1}),t}function Om(e,t,r){var n=e[t];e[t]=r,n&&n.q&&n.q.forEach(function(i){return ru(i,"onReady callback threw an error:")()})}function Tu(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 Fo(e,t,[r],n,i)}function Fo(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(v){return f.call(t,v,u,d)})}return{stop:p}}var je={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function Pm(e,t){var r=[];Ut(t,je.cspViolation)&&r.push(Lm(e));var n=t.filter(function(i){return i!==je.cspViolation});return n.length&&r.push(Im(n)),du.apply(void 0,r)}function Im(e){return new re(function(t){if(window.ReportingObserver){var r=$(function(i,o){return i.forEach(function(a){t.notify(Nm(a))})}),n=new window.ReportingObserver(r,{types:e,buffered:!0});return n.observe(),function(){n.disconnect()}}})}function Lm(e){return new re(function(t){var r=Ht(e,document,oe.SECURITY_POLICY_VIOLATION,function(n){t.notify(Mm(n))}).stop;return r})}function Nm(e){var t=e.type,r=e.body;return{type:t,subtype:r.id,message:"".concat(t,": ").concat(r.message),originalReport:e,stack:ku(r.id,r.message,r.sourceFile,r.lineNumber,r.columnNumber)}}function Mm(e){var t=je.cspViolation,r="'".concat(e.blockedURI,"' blocked by '").concat(e.effectiveDirective,"' directive");return{type:je.cspViolation,subtype:e.effectiveDirective,message:"".concat(t,": ").concat(r),stack:ku(e.effectiveDirective,e.originalPolicy?"".concat(r,' of the policy "').concat(lh(e.originalPolicy,100,"..."),'"'):"no policy",e.sourceFile,e.lineNumber,e.columnNumber),originalReport:e}}function ku(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 Ru(e,t){var r=window.__ddBrowserSdkExtensionCallback;r&&r({type:e,payload:t})}function Do(e){return e===null?"null":Array.isArray(e)?"array":typeof e}function pn(e,t,r){if(r===void 0&&(r=Fm()),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]=pn(i[o],t[o],r);return i}var a=Do(e)==="object"?e:{};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(a[s]=pn(a[s],t[s],r));return a}}function Au(e){return pn(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=pn(r,o))}return r}function Fm(){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 Dm(){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 $o={log:"log",configuration:"configuration"},$m=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],Bm=[qh],ke={maxEventsPerPage:0,sentEventCount:0,telemetryEnabled:!1,telemetryConfigurationEnabled:!1},Ii;function Um(e,t){var r,n=new re;ke.telemetryEnabled=!Ut(Bm,t.site)&&Ri(t.telemetrySampleRate),ke.telemetryConfigurationEnabled=ke.telemetryEnabled&&Ri(t.telemetryConfigurationSampleRate);var i=jm();Ii=function(a){if(ke.telemetryEnabled){var s=o(e,a,i);n.notify(s),Ru("telemetry",s)}},oh(Pu),le(ke,{maxEventsPerPage:t.maxTelemetryEventsPerPage,sentEventCount:0});function o(a,s,c){return Mt({type:"telemetry",date:Ve(),service:a,version:"5.11.0",source:"browser",_dd:{format_version:2},telemetry:Mt(s,{runtime_env:c,connectivity:Dm()}),experimental_features:au(Gp())},r!==void 0?r():{})}return{setContextProvider:function(a){r=a},observable:n,enabled:ke.telemetryEnabled}}function jm(){return{is_local_file:window.location.protocol==="file:",is_worker:"WorkerGlobalScope"in self}}function zm(e){return e.site===zh}function Ou(e,t){Ai(ge.debug,e,t),Bo(le({type:$o.log,message:e,status:"debug"},t))}function Pu(e,t){Bo(le({type:$o.log,status:"error"},qm(e),t))}function Hm(e){ke.telemetryConfigurationEnabled&&Bo({type:$o.configuration,configuration:e})}function Bo(e){Ii&&ke.sentEventCount<ke.maxEventsPerPage&&(ke.sentEventCount+=1,Ii(e))}function qm(e){if(e instanceof Error){var t=$e(e);return{error:{kind:t.name,stack:ht(Wm(t))},message:t.message}}return{error:{stack:wu},message:"".concat("Uncaught"," ").concat(zt(e))}}function Wm(e){return e.stack=e.stack.filter(function(t){return!t.url||$m.some(function(r){return su(t.url,r)})}),e}function Gm(e){var t=new Set;return e.forEach(function(r){return t.add(r)}),au(t)}function Iu(e,t){var r=e.indexOf(t);r>=0&&e.splice(r,1)}var zr=1/0,Vm=dt,Qm=function(){function e(t,r){var n=this;this.expireDelay=t,this.maxEntries=r,this.entries=[],this.clearOldValuesInterval=Po(function(){return n.clearOldValues()},Vm)}return e.prototype.add=function(t,r){var n=this,i={value:t,startTime:r,endTime:zr,remove:function(){Iu(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=zr);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===zr&&r.close(t)},e.prototype.findAll=function(t,r){t===void 0&&(t=zr),r===void 0&&(r=0);var n=Jp(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(){lu(this.clearOldValuesInterval)},e.prototype.clearOldValues=function(){for(var t=ln()-this.expireDelay;this.entries.length>0&&this.entries[this.entries.length-1].endTime<t;)this.entries.pop()},e}(),Ym=dt,Km=pu;function Jm(e,t,r,n){var i=new re,o=new re,a=$h(e.sessionStoreStrategyType,t,r),s=new Qm(Km);a.renewObservable.subscribe(function(){s.add(c(),ln()),i.notify()}),a.expireObservable.subscribe(function(){o.notify(),s.closeActive(ln())}),a.expandOrRenewSession(),s.add(c(),Yp().relative),n.observable.subscribe(function(){n.isGranted()?a.expandOrRenewSession():a.expire()}),Xm(e,function(){n.isGranted()&&a.expandOrRenewSession()}),Zm(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 Xm(e,t){Fo(e,window,[oe.CLICK,oe.TOUCH_START,oe.KEY_DOWN,oe.SCROLL],t,{capture:!0,passive:!0}).stop}function Zm(e,t){var r=function(){document.visibilityState==="visible"&&t()};Ht(e,document,oe.VISIBILITY_CHANGE,r).stop,Po(r,Ym)}function Lu(e){return e>=500}function ev(e){try{return e.clone()}catch{return}}var tv=80*Fe,rv=32,Nu=3*ou,nv=dt,Mu=Ar;function Fu(e,t,r,n,i){t.transportStatus===0&&t.queuedPayloads.size()===0&&t.bandwidthMonitor.canHandle(e)?$u(e,t,r,{onSuccess:function(){return Bu(0,t,r,n,i)},onFailure:function(){t.queuedPayloads.enqueue(e),Du(t,r,n,i)}}):t.queuedPayloads.enqueue(e)}function Du(e,t,r,n){e.transportStatus===2&&Or(function(){var i=e.queuedPayloads.first();$u(i,e,t,{onSuccess:function(){e.queuedPayloads.dequeue(),e.currentBackoffTime=Mu,Bu(1,e,t,r,n)},onFailure:function(){e.currentBackoffTime=Math.min(nv,e.currentBackoffTime*2),Du(e,t,r,n)}})},e.currentBackoffTime)}function $u(e,t,r,n){var i=n.onSuccess,o=n.onFailure;t.bandwidthMonitor.add(e),r(e,function(a){t.bandwidthMonitor.remove(e),iv(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 Bu(e,t,r,n,i){e===0&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(i({message:"Reached max ".concat(n," events size queued for upload: ").concat(Nu/ou,"MiB"),source:Ce.AGENT,startClocks:Bt()}),t.queueFullReported=!0);var o=t.queuedPayloads;for(t.queuedPayloads=Uu();o.size()>0;)Fu(o.dequeue(),t,r,n,i)}function iv(e){return e.type!=="opaque"&&(e.status===0&&!navigator.onLine||e.status===408||e.status===429||Lu(e.status))}function ov(){return{transportStatus:0,currentBackoffTime:Mu,bandwidthMonitor:av(),queuedPayloads:Uu(),queueFullReported:!1}}function Uu(){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>=Nu}}}function av(){return{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(e){return this.ongoingRequestCount===0||this.ongoingByteCount+e.bytesCount<=tv&&this.ongoingRequestCount<rv},add:function(e){this.ongoingRequestCount+=1,this.ongoingByteCount+=e.bytesCount},remove:function(e){this.ongoingRequestCount-=1,this.ongoingByteCount-=e.bytesCount}}}function sv(e,t,r,n){var i=ov(),o=function(a,s){return lv(e,t,r,a,s)};return{send:function(a){Fu(a,i,o,t.trackType,n)},sendOnExit:function(a){cv(e,t,r,a)}}}function cv(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){uv(c)}var s=t.build("xhr",n);Li(e,s,n.data)}var Za=!1;function uv(e){Za||(Za=!0,Pu(e))}function lv(e,t,r,n,i){var o=dv()&&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);Li(e,c,n.data,i)}))}else{var s=t.build("xhr",n);Li(e,s,n.data,i)}}function dv(){try{return window.Request&&"keepalive"in new Request("http://a")}catch{return!1}}function Li(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 Uo(){var e=fv();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 hn(e){var t;e===void 0&&(e=(t=Qe().location)===null||t===void 0?void 0:t.hostname);var r=Uo();return!!r&&r.getAllowedWebViewHosts().some(function(n){return e===n||rh(e,".".concat(n))})}function fv(){return Qe().DatadogEventBridge}var Kt={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function pv(e){return new re(function(t){var r=nu(gr.PAGEHIDE),n=Fo(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 hv(e){return Ut(It(Kt),e)}var mv=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=It(this.upsertBuffer).join(`
19
- `);this.upsertBuffer={};var n=hv(t.reason),i=n?this.request.sendOnExit:this.request.send;if(n&&this.encoder.isAsync){var o=this.encoder.finishSync();o.outputBytesCount&&i(es(o,t));var a=[o.pendingData,r].filter(Boolean).join(`
20
- `);a&&i({data:a,bytesCount:Ao(a),flushReason:t.reason})}else r&&this.encoder.write(this.encoder.isEmpty?r:`
21
- `.concat(r)),this.encoder.finish(function(s){i(es(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 es(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 vv(e){var t=e.messagesLimit,r=e.bytesLimit,n=e.durationLimit,i=e.pageExitObservable,o=e.sessionExpireObservable,a=i.subscribe(function(b){return l(b.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(b){if(d!==0){var g=d,m=u;d=0,u=0,v(),c.notify({reason:b,messagesCount:g,bytesCount:m})}}var p;function f(){p===void 0&&(p=Or(function(){l("duration_limit")},n))}function v(){uu(p),p=void 0}return{flushObservable:c,get messagesCount(){return d},notifyBeforeAddMessage:function(b){u+b>=r&&l("bytes_limit"),d+=1,u+=b,f()},notifyAfterAddMessage:function(b){b===void 0&&(b=0),u+=b,d>=t?l("messages_limit"):u>=r&&l("bytes_limit")},notifyAfterRemoveMessage:function(b){u-=b,d-=1,d===0&&v()}}}function ju(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 mv(p,sv(u,l,u.batchBytesLimit,n),vv({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 mn(){var e="",t=0;return{isAsync:!1,get isEmpty(){return!e},write:function(r,n){var i=Ao(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 gv=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 yv(e,t,r){var n=0,i=!1;return{isLimitReached:function(){if(n===0&&Or(function(){n=0},dt),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:Ce.AGENT,startClocks:Bt()})}finally{i=!1}}return!0}}}var ni,jo=new WeakMap;function bv(e){return ni||(ni=_v(e)),ni}function _v(e){return new re(function(t){var r=it(XMLHttpRequest.prototype,"open",wv).stop,n=it(XMLHttpRequest.prototype,"send",function(o){Sv(o,e,t)}).stop,i=it(XMLHttpRequest.prototype,"abort",Cv).stop;return function(){r(),n(),i()}})}function wv(e){var t=e.target,r=e.parameters,n=r[0],i=r[1];jo.set(t,{state:"open",method:String(n).toUpperCase(),url:Mo(String(i))})}function Sv(e,t,r){var n=e.target,i=jo.get(n);if(i){var o=i;o.state="start",o.startClocks=Bt(),o.isAborted=!1,o.xhr=n;var a=!1,s=it(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=Kp(o.startClocks.timeStamp,Ve()),d.status=n.status,r.notify(nh(d))}},u=Ht(t,n,"loadend",c).stop;r.notify(o)}}function Cv(e){var t=e.target,r=jo.get(t);r&&(r.isAborted=!0)}var ii;function Ev(){return ii||(ii=xv()),ii}function xv(){return new re(function(e){if(window.fetch){var t=it(window,"fetch",function(r){return Tv(r,e)}).stop;return t}})}function Tv(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:Mo(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 kv(t,l,d)})}function kv(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 oi={};function Rv(e){var t=e.map(function(r){return oi[r]||(oi[r]=Av(r)),oi[r]});return du.apply(void 0,t)}function Av(e){return new re(function(t){var r=Re[e];return Re[e]=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];r.apply(console,n);var o=xm();yr(function(){t.notify(Ov(n,e,o))})},function(){Re[e]=r}})}function Ov(e,t,r){var n=e.map(function(c){return Pv(c)}).join(" "),i,o,a;if(t===ge.error){var s=eh(e,function(c){return c instanceof Error});i=s?ht($e(s)):void 0,o=Cu(s),a=s?xu(s,"console"):void 0}return{api:t,message:n,stack:i,handlingStack:r,fingerprint:o,causes:a}}function Pv(e){return typeof e=="string"?De(e):e instanceof Error?Eu($e(e)):zt(De(e),void 0,2)}var Iv=500,Lv=function(){function e(){this.buffer=[]}return e.prototype.add=function(t){var r=this.buffer.push(t);r>Iv&&this.buffer.splice(0,1)},e.prototype.remove=function(t){Iu(this.buffer,t)},e.prototype.drain=function(t){this.buffer.forEach(function(r){return r(t)}),this.buffer.length=0},e}();function Ni(e){var t={},r=new re,n={getContext:function(){return Au(t)},setContext:function(i){Do(i)==="object"?(t=De(i),e.updateCustomerData(t)):n.clearContext(),r.notify()},setContextProperty:function(i,o){t[i]=De(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 Nv="_dd_c",Mv=[];function ts(e,t,r,n){var i=Fv(r,n);Mv.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 Fv(e,t){return"".concat(Nv,"_").concat(e,"_").concat(t)}var Dv=3*Fe,$v=16*Fe,Bv=200;function Uv(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?Dv:$v,a=i;t.forEach(function(s){a+=s.getBytesCount()}),a>o&&(jv(o),r=!0)}}return{createDetachedTracker:function(){var i=rs(function(){return n(i.getBytesCount())});return i},getOrCreateTracker:function(i){return t.has(i)||t.set(i,rs(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 rs(e){var t=0,r=fu(function(a){t=Ao(zt(a)),e()},Bv),n=r.throttled,i=r.cancel,o=function(){i(),t=0};return{updateCustomerData:function(a){Oo(a)?o():n(a)},resetCustomerData:o,getBytesCount:function(){return t},stop:function(){i()}}}function jv(e){te.warn("Customer data exceeds the recommended ".concat(e/Fe,"KiB threshold. More details: https://docs.datadoghq.com/real_user_monitoring/browser/troubleshooting/#customer-data-exceeds-the-recommended-threshold-warning"))}function zv(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 Hv="datadog-synthetics-public-id",qv="datadog-synthetics-result-id",Wv="datadog-synthetics-injects-rum";function zu(){return!!(window._DATADOG_SYNTHETICS_INJECTS_RUM||rt(Wv))}function Gv(){var e=window._DATADOG_SYNTHETICS_PUBLIC_ID||rt(Hv);return typeof e=="string"?e:void 0}function Vv(){var e=window._DATADOG_SYNTHETICS_RESULT_ID||rt(qv);return typeof e=="string"?e:void 0}function ns(e){var t=le({},e),r=["id","name","email"];return r.forEach(function(n){n in t&&(t[n]=String(t[n]))}),t}function Qv(e){var t=Do(e)==="object";return t||te.error("Unsupported user:",e),t}var Yv=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},q={debug:"debug",error:"error",info:"info",warn:"warn"},Mi={console:"console",http:"http",silent:"silent"},Kv=Object.keys(q),is=function(){function e(t,r,n,i,o,a){i===void 0&&(i=Mi.http),o===void 0&&(o=q.debug),a===void 0&&(a={}),this.handleLogStrategy=t,this.handlerType=i,this.level=o,this.contextManager=Ni(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=q.info);var o;if(i!=null){var a=i instanceof Error?$e(i):void 0,s=Su({stackTrace:a,originalError:i,nonErrorPrefix:"Provided",source:Ce.LOGGER,handling:"handled",startClocks:Bt()});o={stack:s.stack,kind:s.type,message:s.message,causes:s.causes}}var c=De(r),u=o?Mt({error:o},c):c;this.handleLogStrategy({message:De(t),context:u,status:n},this)},e.prototype.debug=function(t,r,n){this.log(t,r,q.debug,n)},e.prototype.info=function(t,r,n){this.log(t,r,q.info,n)},e.prototype.warn=function(t,r,n){this.log(t,r,q.warn,n)},e.prototype.error=function(t,r,n){this.log(t,r,q.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},Yv([sh],e.prototype,"log",null),e}();function Jv(e,t){return{view:{referrer:document.referrer,url:window.location.href},context:e.getContext(),user:t.getContext()}}var Xv=32*Fe;function Zv(e){var t=em(e),r=os(e.forwardConsoleLogs,It(ge),"Forward Console Logs"),n=os(e.forwardReports,It(je),"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:Xv},t)}function os(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:Gm(e)}function eg(e){var t=tm(e);return le({forward_errors_to_logs:e.forwardErrorsToLogs,forward_console_logs:e.forwardConsoleLogs,forward_reports:e.forwardReports},t)}function tg(e,t,r){var n=new Lv,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(hn()&&(c=rg(c)),i=c,o){Tu("DD_LOGS",c);return}var u=Zv(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=Ve()),n.add(function(p){return p.handleLog(c,u,d,l)})}}}function rg(e){return le({},e,{clientToken:"empty"})}var as="logs";function ng(e){var t=Uv(),r=Ni(t.getOrCreateTracker(2)),n=Ni(t.getOrCreateTracker(1)),i=Bh();function o(){return Jv(r,n)}var a=tg(o,i,function(u,d){u.storeContextsAcrossPages&&(ts(d,r,as,2),ts(d,n,as,1));var l=e(u,d,o,i);return a=ig(u,l),l}),s={},c=new is(function(){for(var u=[],d=0;d<arguments.length;d++)u[d]=arguments[d];return a.handleLog.apply(a,u)},t.createDetachedTracker());return Am({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 is(function(){for(var l=[],p=0;p<arguments.length;p++)l[p]=arguments[p];return a.handleLog.apply(a,l)},t.createDetachedTracker(),De(u),d.handler,d.level,De(d.context)),s[u]}),getLogger:$(function(u){return s[u]}),getInitConfiguration:$(function(){return Au(a.initConfiguration)}),getInternalContext:$(function(u){return a.getInternalContext(u)}),setUser:$(function(u){Qv(u)&&n.setContext(ns(u))}),getUser:$(function(){return n.getContext()}),setUserProperty:$(function(u,d){var l,p=ns((l={},l[u]=d,l))[u];n.setContextProperty(u,p)}),removeUserProperty:$(function(u){return n.removeContextProperty(u)}),clearUser:$(function(){return n.clearContext()})})}function ig(e,t){return le({init:function(r){Tu("DD_LOGS",r)},initConfiguration:e},t)}var og="logs";function ag(e,t){var r=Jm(e,og,function(n){return cg(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 sg(e){var t=Hu(e)==="1",r=t?{}:void 0;return{findTrackedSession:function(){return r},expireObservable:new re}}function Hu(e){return Ri(e.sessionSampleRate)?"1":"0"}function cg(e,t){var r=ug(t)?t:Hu(e);return{trackingType:r,isTracked:r==="1"}}function ug(e){return e==="0"||e==="1"}var ss=!1;function Jr(e){var t=window;if(zu()){var r=n(t.DD_RUM_SYNTHETICS);return!r&&!ss&&(ss=!0,Ou("Logs sent before RUM is injected by the synthetics worker",{testId:Gv(),resultId:Vv()})),r}return n(t.DD_RUM);function n(i){if(i&&i.getInternalContext)return i.getInternalContext(e)}}function lg(e,t,r,n,i){var o=Kv.concat(["custom"]),a={};o.forEach(function(s){a[s]=yv(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,v=f===void 0?void 0:f,b=Xp(d.date),g=e.findTrackedSession(b);if(g){var m=v||n(),y=Mt({service:t.service,session_id:g.id,usr:Oo(m.user)?void 0:m.user,view:m.view},m.context,Jr(b),d,p);((c=t.beforeSend)===null||c===void 0?void 0:c.call(t,y))===!1||y.origin!==Ce.AGENT&&((u=a[y.status])!==null&&u!==void 0?u:a.custom).isLimitReached()||r.notify(1,y)}})}var Ke,dg=(Ke={},Ke[ge.log]=q.info,Ke[ge.debug]=q.debug,Ke[ge.info]=q.info,Ke[ge.warn]=q.warn,Ke[ge.error]=q.error,Ke);function fg(e,t){var r=Rv(e.forwardConsoleLogs).subscribe(function(n){t.notify(0,{rawLogsEvent:{date:Ve(),message:n.message,origin:Ce.CONSOLE,error:n.api===ge.error?{stack:n.stack,fingerprint:n.fingerprint,causes:n.causes}:void 0,status:dg[n.api]}})});return{stop:function(){r.unsubscribe()}}}var Qt,pg=(Qt={},Qt[je.cspViolation]=q.error,Qt[je.intervention]=q.error,Qt[je.deprecation]=q.warn,Qt);function hg(e,t){var r=Pm(e,e.forwardReports).subscribe(function(n){var i=n.message,o=pg[n.type],a;o===q.error?a={kind:n.subtype,stack:n.stack}:n.stack&&(i+=" Found in ".concat(Em(n.stack))),t.notify(0,{rawLogsEvent:{date:Ve(),message:i,origin:Ce.REPORT,error:a,status:o}})});return{stop:function(){r.unsubscribe()}}}function mg(e,t){if(!e.forwardErrorsToLogs)return{stop:jt};var r=bv(e).subscribe(function(o){o.state==="complete"&&i("xhr",o)}),n=Ev().subscribe(function(o){o.state==="resolve"&&i("fetch",o)});function i(o,a){!e.isIntakeUrl(a.url)&&(bg(a)||Lu(a.status))&&("xhr"in a?vg(a.xhr,e,s):a.response?yg(a.response,e,s):a.error&&gg(a.error,e,s));function s(c){t.notify(0,{rawLogsEvent:{message:"".concat(_g(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:q.error,origin:Ce.NETWORK}})}}return{stop:function(){r.unsubscribe(),n.unsubscribe()}}}function vg(e,t,r){typeof e.response=="string"?r(zo(e.response,t)):r(e.response)}function gg(e,t,r){r(zo(ht($e(e)),t))}function yg(e,t,r){var n=ev(e);!n||!n.body?r():window.TextDecoder?wg(n.body,t.requestErrorResponseLengthLimit,function(i,o){r(i?"Unable to retrieve response: ".concat(i):o)}):n.text().then($(function(i){return r(zo(i,t))}),$(function(i){return r("Unable to retrieve response: ".concat(i))}))}function bg(e){return e.status===0&&e.responseType!=="opaque"}function zo(e,t){return e.length>t.requestErrorResponseLengthLimit?"".concat(e.substring(0,t.requestErrorResponseLengthLimit),"..."):e}function _g(e){return e==="xhr"?"XHR":"Fetch"}function wg(e,t,r){zv(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 Sg(e,t){if(!e.forwardErrorsToLogs)return{stop:jt};var r=new re,n=Tm(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:Ce.SOURCE,status:q.error}})});return{stop:function(){n(),i.unsubscribe()}}}var Cg=gv,gt,cs=(gt={},gt[q.debug]=0,gt[q.info]=1,gt[q.warn]=2,gt[q.error]=3,gt);function Eg(e){function t(r,n,i,o){var a=Mt(n.getContext(),r.context);us(r.status,Mi.console,n)&&xg(r,a),us(r.status,Mi.http,n)&&e.notify(0,{rawLogsEvent:{date:o||Ve(),message:r.message,status:r.status,origin:Ce.LOGGER},messageContext:a,savedCommonContext:i})}return{handleLog:t}}function us(e,t,r){var n=r.getHandler(),i=Array.isArray(n)?n:[n];return cs[e]>=cs[r.getLevel()]&&Ut(i,t)}function xg(e,t){et[e.status].call(Re,e.message,t)}function Tg(e,t,r,n,i){var o=ju(e,{endpoint:e.logsEndpointBuilder,encoder:mn()},e.replica&&{endpoint:e.replica.logsEndpointBuilder,encoder:mn()},r,n,i.expireObservable);return t.subscribe(1,function(a){o.add(a)}),o}function kg(e){var t=Uo();e.subscribe(1,function(r){t.send("log",r)})}function Rg(e){return{get:function(t){var r=e.findTrackedSession(t);if(r)return{session_id:r.id}}}}function Ag(e){return function(t){e.notify(0,{rawLogsEvent:{message:t.message,date:t.startClocks.timeStamp,origin:Ce.AGENT,status:q.error}}),Ou("Error reported to customer",{"error.message":t.message})}}function Og(e,t,r,n,i){var o=Um("browser-logs-sdk",t);o.setContextProvider(function(){var l,p,f,v,b,g;return{application:{id:(l=Jr())===null||l===void 0?void 0:l.application_id},session:{id:(p=i.findTrackedSession())===null||p===void 0?void 0:p.id},view:{id:(v=(f=Jr())===null||f===void 0?void 0:f.view)===null||v===void 0?void 0:v.id},action:{id:(g=(b=Jr())===null||b===void 0?void 0:b.user_action)===null||g===void 0?void 0:g.id}}});var a=[];if(hn()){var s=Uo(),c=o.observable.subscribe(function(l){return s.send("internal_telemetry",l)});a.push(function(){return c.unsubscribe()})}else{var u=ju(t,{endpoint:t.rumEndpointBuilder,encoder:mn()},t.replica&&{endpoint:t.replica.rumEndpointBuilder,encoder:mn()},r,n,i.expireObservable);a.push(function(){return u.stop()});var d=o.observable.subscribe(function(l){return u.add(l,zm(t))});a.push(function(){return d.unsubscribe()})}return Hm(eg(e)),{telemetry:o,stop:function(){a.forEach(function(l){return l()})}}}function Pg(e,t,r,n){var i=new Cg,o=[];i.subscribe(1,function(f){return Ru("logs",f)});var a=Ag(i),s=pv(t),c=t.sessionStoreStrategyType&&!hn()&&!zu()?ag(t,n):sg(t),u=Og(e,t,a,s,c).stop;o.push(function(){return u()}),mg(t,i),Sg(t,i),fg(t,i),hg(t,i);var d=Eg(i).handleLog;if(lg(c,t,i,r,a),hn())kg(i);else{var l=Tg(t,i,a,s,c).stop;o.push(function(){return l()})}var p=Rg(c);return{handleLog:d,getInternalContext:p.get,stop:function(){o.forEach(function(f){return f()})}}}var vn=ng(Pg);Om(Qe(),"DD_LOGS",vn);const qu="local",Ie=(e,t)=>vn.logger.error(e,t),Ig=()=>{const e=Lg();vn.init({clientToken:"pub3024831b8d3568048614d6e5a6d44f27",forwardErrorsToLogs:e!=qu,version:"1.19.15"}),vn.setGlobalContext({team:"super",env:e,service:"ApolloSuperCampaign.UI"})},Lg=()=>{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 qu}},Ng=()=>{const[e]=Lp(),[t,r]=Oe(!1),n=Rr();if(V(()=>{qp(),Hp()},[]),t)return _($t,{});const i=async()=>{r(!0),zp();const{data:o,isSuccess:a,status:s}=await e();if(!a){Ie("Backend service call failed.",{isSuccess:a,status:s}),r(!1);return}const c=o==null?void 0:o.promotedFunds.filter(u=>u.type==="defined-benefits");if(o.hasDefinedBenefitsEligibility&&(c==null?void 0:c.length)>0){n(tu({fundId:c[0].fundId,fundType:c[0].type,iframeType:"PromotedFundJoinV2"}));return}n(Mp(o.promotedFunds))};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"," ",_(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"}),"."]})]}),_(To,{fillWidth:!0,onClick:()=>i(),children:"Continue"})]})})]})},Mg=(e,t)=>{window.parent.postMessage(e,t===void 0?"*":t)},Wu=e=>{Mg({type:"pageNavigated",url:e,sender:"flare"})},Fg=()=>{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-"}},Dg=`https://${Fg()}api.simplefinancialchoices.com/promoted-funds/embed`,Hr=e=>e.replace(/ /g,""),Je=e=>!(typeof e=="string"&&e.trim().length>0),$g=()=>{const e=ct(s=>s.state.selectedFund),t=ct(s=>s.session.accessToken),r=Rr(),n=nt.endpoints.campaignConnect.useQueryState().data;if(!e||!t||!n)return Ie("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()),_($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=_r();V(()=>{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=Dg;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(Je(c.memberNumber)||Je(c.usi)){Ie("Bad response from PFJ",{type:c.type,memberNumber:c.memberNumber,usi:c.usi}),r(be());break}wt({fundType:"Promoted",fundId:e.fundId,usi:Hr(c.usi),memberNumber:c.memberNumber,memberFirstName:c.memberFirstName,memberFamilyName:c.memberFamilyName});break}case"success-promoted-default":{if(Je(c.usi)){Ie("Bad response from PFJ",{type:c.type,usi:c.usi}),r(be());break}wt({fundType:"PromotedDefault",fundId:c.fundId,usi:Hr(c.usi)});break}case"success-promoted-default-with-join":{if(Je(c.memberNumber)||Je(c.usi)){Ie("Bad response from PFJ",{type:c.type,memberNumber:c.memberNumber,usi:c.usi}),r(be());break}wt({fundType:"PromotedDefaultWithJoin",fundId:e.fundId,usi:Hr(c.usi),memberNumber:c.memberNumber,memberFirstName:c.memberFirstName,memberFamilyName:c.memberFamilyName});break}case"success-defined-benefits":{if(Je(c.memberNumber)||Je(c.usi)){Ie("Bad response from PFJ",{type:c.type,memberNumber:c.memberNumber,usi:c.usi}),r(be());break}wt({fundType:"DefinedBenefits",fundId:c.fundId,usi:Hr(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),Wu(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"}})})},Bg=()=>window.location.origin.includes("localhost")?"autodev-partner":window.location.hostname.toLowerCase().split(".")[0],Ug=`https://${Bg()}.flarehr.com/promoted-fund-join/embed/v1.0/web`,jg=()=>{const e=ct(s=>s.session.accessToken),t=ct(s=>s.state.selectedFund),r=Rr(),n=nt.endpoints.campaignConnect.useQueryState().data;if(!n||!t)return Ie("PfjV1IFrame was in an inconsistent state and the user was redirected to the three panel.",{fund:t,data:n?"Not null":"Null"}),r(be()),_($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=_r();V(()=>{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=Ug;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&&wt({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),Wu(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"}})})},zg="interop-mode",Hg="react-native",ls=()=>new URLSearchParams(window.location.search).get(zg)===Hg,Gu=()=>{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-"}},ds=`https://${Gu()}join.slatesuper.com.au/confirm`,fs=`https://${Gu()}partner.flarehr.com/super-selection/embed/v1.0/app/slate-redirect.html`,qg=e=>{switch(e){case"Male":return"Male";case"Female":return"Female";case"Intersex":return"Intersex/Indeterminate";default:return"Unknown"}},Wg=()=>{const e=ct(s=>s.session.accessToken),t=Rr(),r=nt.endpoints.campaignConnect.useQueryState().data;if(!r)return Ie("SlateIFrame was in an inconsistent state and the user was redirected to the three panel.",{data:r?"Not null":"Null"}),t(be()),_($t,{});const i={authToken:!ds.match(/autodev|sandbox/)?e:void 0,successRedirectUrl:fs,cancelRedirectUrl:fs,skipConsolidation:ls()?"true":"false",skipInsurance:ls()?"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:qg(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=_r();V(()=>{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=ds;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":{wt({fundType:"Promoted",fundId:Pt.fundId,usi:ko,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),_("div",{css:{width:"100vw"},children:_("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},Gg=""+new URL("assets/logo-active-QBFsxdGu.svg",import.meta.url).href,Vg="Active Super",Fi={fundId:"active",name:Vg,logo:Gg,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"," ",_(L,{onClick:()=>Y(Fi),link:"https://www.activesuper.com.au/pds",children:"activesuper.com.au"})," ","before making a decision."]})},Qg=""+new URL("assets/logo-aus-eth-BVvU7g2H.svg",import.meta.url).href,Yg="Australian Ethical",ai="https://www.australianethical.com.au/super/pds-forms/",or={fundId:"australian-ethical",name:Yg,logo:Qg,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"," ",_(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"," ",_(L,{link:ai,onClick:()=>Y(or),children:"Product Disclosure Statement"})," ","and"," ",_(L,{link:ai,onClick:()=>Y(or),children:"Target Market Determination"})," ","available on our"," ",_(L,{link:ai,onClick:()=>Y(or),children:"website"}),"."]})},Kg=""+new URL("assets/logo-art-OnjDdwzt.svg",import.meta.url).href,ps="Australian Retirement Trust",Di={fundId:"australian-retirement-trust",name:ps,logo:Kg,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"," ",_(L,{link:"https://www.australianretirementtrust.com.au/library/media/pdfs/pds/super-savings-product-disclosure-statement-and-membership-form.pdf",onClick:()=>Y(Di),children:"Product Disclosure Statement"})," ","and"," ",_(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:ps,abn:"60 905 115 063"},Jg=""+new URL("assets/logo-aware-vD100SRj.svg",import.meta.url).href,Xg="Aware Super",$i={fundId:"aware",name:Xg,logo:Jg,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."," ",_(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."," ",_(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"," ",_(L,{link:"https://aware.com.au/member/contact-aware-super/forms-and-documents",onClick:()=>Y($i),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)."})]})},Zg=""+new URL("assets/logo-brighter-HCgesR9j.svg",import.meta.url).href,ey="Brighter Super",Bi={fundId:"brightersuper",name:ey,logo:Zg,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"," ",_(L,{link:"https://brightersuper.com.au/-/media/public/files/pds-and-guides/accumulation-account-pds.pdf",onClick:()=>Y(Bi),children:"Product Disclosure Statement"})," ","&"," ",_(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."]}),_("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."})]})},ty=""+new URL("assets/logo-first-rrA5hli9.svg",import.meta.url).href,ry="First Super",Ui={fundId:"first-super",name:ry,logo:ty,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"," ",_(L,{onClick:()=>Y(Ui),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."})]})},ny=""+new URL("assets/logo-hesta-DS-8ReNU.svg",import.meta.url).href,iy="HESTA",ji={fundId:"hesta-default",name:iy,logo:ny,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"," ",_(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"," ",_(L,{onClick:()=>Y(ji),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"})]})},oy=""+new URL("assets/logo-legalsuper-MRtg4Bh2.svg",import.meta.url).href,ay="legalsuper",zi={fundId:"legalsuper",name:ay,logo:oy,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 Product Disclosure Statement (PDS) and Target Market Determination (TMD) available at"," ",_(L,{link:"https://www.legalsuper.com.au/",onClick:()=>Y(zi),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 Legal Super ABN 60 346 078 879."})]})},sy=""+new URL("assets/logo-mercer-mychoice-AQelc7Ua.svg",import.meta.url).href,cy="Mercer MyChoice",Hi={fundId:"mercermychoice",name:cy,logo:sy,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"," ",_(L,{link:"https://www.mercersuper.com.au/campaign-page/mercer-mychoice",onClick:()=>Y(Hi),children:"Product Disclosure Statement"})," ","and"," ",_(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."]}),_("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"})},uy=""+new URL("assets/logo-mine-O5sT7Y7B.svg",import.meta.url).href,ly="Mine Super",qi={fundId:"mine",name:ly,logo:uy,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"," ",_(L,{link:"https://www.mine.com.au/super/about-my-super/super-pds",onClick:()=>Y(qi),children:"PDS"})," ","and ",_(L,{link:"https://www.mine.com.au/tmd",children:"TMDs"})," on our website at ",_(L,{link:"https://www.mine.com.au/",children:"mine.com.au"})," when considering if our financial products are right for you."]})})},dy=""+new URL("assets/logo-reisuper-GjOYg26T.svg",import.meta.url).href,fy="REI Super",Wi={fundId:"reisuper",name:fy,logo:dy,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"," ",_(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(Wi),children:"Product Disclosure Statement"})," ","and"," ",_(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"},py=""+new URL("assets/logo-spirit-gGkSB0e4.svg",import.meta.url).href,hy="Spirit Super",Gi={fundId:"spirit",name:hy,logo:py,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"," ",_(L,{link:"https://www.spiritsuper.com.au/pds",onClick:()=>Y(Gi),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)."]})},my=""+new URL("assets/logo-unisuper-1d8aWLNy.svg",import.meta.url).href,vy="Unisuper",gy="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",yy="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",Vi={fundId:"unisuper-default",name:vy,logo:my,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"," ",_(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"," ",_(L,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),R("p",{children:[_("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",_(L,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),R("p",{children:["Remember to consider the"," ",_(L,{link:gy,onClick:()=>Y(Vi),children:"Product Disclosure Statement"})," ","and ",_(L,{link:yy,children:"Target Market Determination"})," that is relevant to you."]}),_("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},by=""+new URL("assets/logo-unisuper-1d8aWLNy.svg",import.meta.url).href,_y=""+new URL("assets/unisuper-default-badge1-gtvikR9g.svg",import.meta.url).href,wy=""+new URL("assets/unisuper-default-badge2-qlGv2ZMr.svg",import.meta.url).href,Sy=""+new URL("assets/unisuper-default-badge3-e49fqcmc.svg",import.meta.url).href,qr="Unisuper",Cy="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",Ey="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",Qi={fundId:"unisuper-default-v2",name:qr,logo:by,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:qr,src:_y})}),_("div",{children:_("img",{alt:qr,src:wy})}),_("div",{children:_("img",{alt:qr,src:Sy})})]}),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"," ",_(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"," ",_(L,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),R("p",{children:[_("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",_(L,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),R("p",{children:["Remember to consider the"," ",_(L,{link:Cy,onClick:()=>Y(Qi),children:"Product Disclosure Statement"})," ","and ",_(L,{link:Ey,children:"Target Market Determination"})," that is relevant to you."]}),_("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},xy=""+new URL("assets/logo-virgin-4NJx4nb0.svg",import.meta.url).href,Ty="Virgin Money Super",Yi={fundId:"virgin",name:Ty,logo:xy,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:_(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"," ",_(L,{link:"https://virginmoney.com.au/superannuation/",onClick:()=>Y(Yi),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"})},ky=e=>{switch(e.fundId){case Fi.fundId:return{...Fi,fundType:e.type};case or.fundId:return{...or,fundType:e.type};case Di.fundId:return{...Di,fundType:e.type};case $i.fundId:return{...$i,fundType:e.type};case Bi.fundId:return{...Bi,fundType:e.type};case Ui.fundId:return{...Ui,fundType:e.type};case ji.fundId:return{...ji,fundType:e.type};case zi.fundId:return{...zi,fundType:e.type};case Hi.fundId:return{...Hi,fundType:e.type};case qi.fundId:return{...qi,fundType:e.type};case Wi.fundId:return{...Wi,fundType:e.type};case Pt.fundId:return{...Pt,fundType:e.type};case Gi.fundId:return{...Gi,fundType:e.type};case Vi.fundId:return{...Vi,fundType:e.type};case Qi.fundId:return{...Qi,fundType:e.type};case Yi.fundId:return{...Yi,fundType:e.type}}return Ie("Fund ID was not mapped from the Campaign Connect response.",{fund:e}),null},Ry=e=>(e==null?void 0:e.flatMap(t=>ky(t)??[]))??[],hs=({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}),Ay=()=>_("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(bd,{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."}),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:[_(hs,{isActive:!0,children:"Featured super funds"}),_(hs,{onClick:()=>ki(),children:"Choose another fund"})]})]})]})}),ms=({fund:e,isMultiFund:t})=>{const r=Rr();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%"}}],children:_(To,{fillWidth:!0,onClick:()=>{jp(e),r(tu({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]})]})]})},Oy=({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"})}),Py={Check:Oy},Iy=({name:e,logo:t,features:r,featureSubText:n,isMultiFund:i,isPromotedDefault:o,extraBadge:a,customContent:s})=>R("div",{css:{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem"},children:[R("div",{css:{marginRight:"-0.5rem",marginTop:"-1.25rem",textAlign:"right"},children:[a,o&&_("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"}},i&&{"@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"}},i&&{"@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"}},i&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:e})})]}),_("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:r.map(c=>R("div",{css:{display:"flex"},children:[_("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:_(Py.Check,{alt:"checked"})}),_("div",{css:{lineHeight:"1.25rem"},children:c})]}))}),n&&_("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:n}),s]}),Ly="https://my.gov.au",Ny="www.my.gov.au",My="https://www.apra.gov.au/register-of-superannuation-institutions",Fy="www.apra.gov.au",Dy=()=>{const e=ct(n=>n.state.funds),t=Ry(e??[]);V(()=>{Up(t)},[]);const r=t.length>1;return R("div",{children:[_(Ay,{}),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:()=>ki(),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"}},t.length===1&&{maxWidth:"720px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(1, minmax(0, 1fr))"}},t.length===2&&{maxWidth:"720px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(2, minmax(0, 1fr))"}},t.length===3&&{maxWidth:"960px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(3, minmax(0, 1fr))"}}],children:[t.map((n,i)=>_("div",{css:[{borderRightWidth:"1px"},i===0&&{borderTopRightRadius:"0.5rem"},i===0&&i!==t.length-1&&{"@media (min-width: 1024px)":{borderTopRightRadius:"0px"}},i===t.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"}},i===t.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"}},r&&{"@media (min-width: 1024px)":{display:"none"}}],children:_("img",{css:{height:"4rem",width:"100%",maxWidth:"96px",objectFit:"contain"},alt:n.name,src:n.logo})}),R("div",{css:{width:"100%"},children:[_(Iy,{logo:n.logo,name:n.name,features:n.features,featureSubText:n.featureSubText,isMultiFund:r,isPromotedDefault:n.fundType==="promoted-default",extraBadge:n.extraBadge,customContent:n.customContent}),_("div",{css:[r&&{"@media (min-width: 1024px)":{display:"none"}}],children:_(ms,{fund:n,isMultiFund:r})})]})]})})),t.map((n,i)=>_("div",{css:[{display:"none",borderRightWidth:"1px"},r&&{"@media (min-width: 1024px)":{display:"block"}},i===t.length-1&&{borderBottomRightRadius:"0.5rem"}],children:_(ms,{fund:n,isMultiFund:r})}))]})}),_("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"," ",_(L,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:Ly,children:Ny})]}),R("li",{children:["A full list of super funds can be viewed at"," ",_(L,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:My,children:Fy})]})]}),_(To,{fillWidthOnMobile:!0,onClick:()=>ki(),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."})]})]})})]})},$y=nn.div({display:"flex",justifyContent:"center"}),By=()=>{const{funds:e,selectedFund:t}=ct(n=>n.state);return _($y,{children:(()=>{if(t){if(t.iframeType==="PromotedFundJoinV2")return _($g,{});if(t.iframeType==="SlateJoin")return _(Wg,{});if(t.iframeType==="PromotedFundJoinV1")return _(jg,{})}else if(e)return _(Dy,{});return _(Ng,{})})()})},Uy=()=>_(vd,{styles:gd`*, ::before, ::after {
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 {
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
- }`}),jy=e=>{const{"access-token":t,"backend-url":r}=e,[n,i]=Oe(!1);V(()=>{Ig()},[]),V(()=>{Qa.dispatch(Np({accessToken:t,backendUrl:r})),i(!0)},[t,r]);const o=ve(null),[a,s]=Oe(void 0);return V(()=>{s(o.current??void 0)},[o]),_("div",{ref:o,children:_(pd,{value:lc({key:"ascui",container:a,prepend:!0}),children:R(_p,{store:Qa,children:[_(Uy,{}),_("div",{css:{fontFamily:"Inter, sans-serif"},children:n?_(By,{}):_($t,{})})]})})})},zy="apollo-super-campaign";ol(jy,zy,[],{shadow:!0});
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});