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