@flarehr/apollo-super-campaign 0.1.335 → 0.1.337
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
var Hu=Object.defineProperty;var Wu=(e,t,r)=>t in e?Hu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Dn=(e,t,r)=>(Wu(e,typeof t!="symbol"?t+"":t,r),r);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=r(i);fetch(i.href,o)}})();var br,I,ds,Xe,$o,fs,ai,ps,ar={},hs=[],qu=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,vn=Array.isArray;function Le(e,t){for(var r in t)e[r]=t[r];return e}function ms(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?br.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)a[o]===void 0&&(a[o]=e.defaultProps[o]);return Jt(e,a,n,i,null)}function Jt(e,t,r,n,i){var o={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:i??++ds,__i:-1,__u:0};return i==null&&I.vnode!=null&&I.vnode(o),o}function _r(){return{current:null}}function pe(e){return e.children}function _e(e,t){this.props=e,this.context=t}function Tt(e,t){if(t==null)return e.__?Tt(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?Tt(e):null}function vs(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 vs(e)}}function si(e){(!e.__d&&(e.__d=!0)&&Xe.push(e)&&!Jr.__r++||$o!==I.debounceRendering)&&(($o=I.debounceRendering)||fs)(Jr)}function Jr(){var e,t,r,n,i,o,a,s,c;for(Xe.sort(ai);e=Xe.shift();)e.__d&&(t=Xe.length,n=void 0,o=(i=(r=e).__v).__e,s=[],c=[],(a=r.__P)&&((n=Le({},i)).__v=i.__v+1,I.vnode&&I.vnode(n),qi(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,bs(s,n,c),n.__e!=o&&vs(n)),Xe.length>t&&Xe.sort(ai));Jr.__r=0}function ys(e,t,r,n,i,o,a,s,c,u,d){var l,p,f,v,b,y=n&&n.__k||hs,m=t.length;for(r.__d=c,Gu(r,t,y),c=r.__d,l=0;l<m;l++)(f=r.__k[l])!=null&&typeof f!="boolean"&&typeof f!="function"&&(p=f.__i===-1?ar:y[f.__i]||ar,f.__i=l,qi(e,f,p,i,o,a,s,c,u,d),v=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&Gi(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=gs(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 Gu(e,t,r){var n,i,o,a,s,c=t.length,u=r.length,d=u,l=0;for(e.__k=[],n=0;n<c;n++)(i=e.__k[n]=(i=t[n])==null||typeof i=="boolean"||typeof i=="function"?null:typeof i=="string"||typeof i=="number"||typeof i=="bigint"||i.constructor==String?Jt(null,i,null,null,i):vn(i)?Jt(pe,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?Jt(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)!=null?(i.__=e,i.__b=e.__b+1,s=Qu(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)),ci(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)),ci(o,o))}function gs(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=gs(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"||(vn(e)?e.some(function(r){Ne(r,t)}):t.push(e)),t}function Qu(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 Bo(e,t,r){t[0]==="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||qu.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||Bo(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||Bo(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:Uo,o)):e.removeEventListener(t,o?jo:Uo,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 Uo(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 qi(e,t,r,n,i,o,a,s,c,u){var d,l,p,f,v,b,y,m,g,h,_,C,E,w,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=I.__b)&&d(t);e:if(typeof T=="function")try{if(m=t.props,g=(d=T.contextType)&&n[d.__c],h=d?g?g.props.value:d.__:n,r.__c?y=(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=Yu),g&&g.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)}),_=0;_<l._sb.length;_++)l.__h.push(l._sb[_]);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=I.__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),w=0;w<l._sb.length;w++)l.__h.push(l._sb[w]);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)),ys(e,vn(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(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),I.__e(k,t,r)}else o==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=Vu(r.__e,t,r,n,i,o,a,c,u);(d=I.diffed)&&d(t)}function bs(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)Gi(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 Vu(e,t,r,n,i,o,a,s,c){var u,d,l,p,f,v,b,y=r.props,m=t.props,g=t.type;if(g==="svg"&&(i=!0),o!=null){for(u=0;u<o.length;u++)if((f=o[u])&&"setAttribute"in f==!!g&&(g?f.localName===g:f.nodeType===3)){e=f,o[u]=null;break}}if(e==null){if(g===null)return document.createTextNode(m);e=i?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,m.is&&m),o=null,s=!1}if(g===null)y===m||s&&e.data===m||(e.data=m);else{if(o=o&&br.call(e.childNodes),y=r.props||ar,!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 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"||y[u]===f||Pr(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=""),ys(e,vn(p)?p:[p],t,r,n,i&&g!=="foreignObject",o,a,o?o[0]:r.__k&&Tt(r,0),s,c),o!=null)for(u=o.length;u--;)o[u]!=null&&ms(o[u]);s||(u="value",v!==void 0&&(v!==e[u]||g==="progress"&&!v||g==="option"&&v!==y[u])&&Pr(e,u,v,y[u],!1),u="checked",b!==void 0&&b!==e[u]&&Pr(e,u,b,y[u],!1))}return e}function Gi(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(n){I.__e(n,r)}}function ci(e,t,r){var n,i;if(I.unmount&&I.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||Gi(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]&&ci(n[i],t,r||typeof e.type!="function");r||e.__e==null||ms(e.__e),e.__=e.__e=e.__d=void 0}function Yu(e,t,r){return this.constructor(e,r)}function ze(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=[],qi(t,e=(!n&&r||t).__k=q(pe,null,[e]),i||ar,ar,t.ownerSVGElement!==void 0,!n&&r?[r]:i?null:t.firstChild?br.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,a),bs(o,e,a)}function Qi(e,t){ze(e,t,Qi)}function Vi(e,t,r){var n,i,o,a,s=Le({},e.props);for(o in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)o=="key"?n=t[o]:o=="ref"?i=t[o]:s[o]=t[o]===void 0&&a!==void 0?a[o]:t[o];return arguments.length>2&&(s.children=arguments.length>3?br.call(arguments,2):r),Jt(e.type,s,n||e.key,i||e.ref,null)}function yn(e,t){var r={__c:t="__cC"+ps++,__: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,si(s)})},this.sub=function(a){i.push(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){i.splice(i.indexOf(a),1),s&&s.call(a)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}br=hs.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}},ds=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),si(this))},_e.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),si(this))},_e.prototype.render=pe,Xe=[],fs=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ai=function(e,t){return e.__v.__b-t.__v.__b},Jr.__r=0,ps=0;function Yi(){return(Yi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var Ku=["context","children"];function Ju(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,Ku);return Vi(t,r)}function Xu(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=q(Ju,Yi({},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[_s(s[a].name)]=s[a].value);for(a=c.length;a--;){var u=t(c[a],null),d=c[a].slot;d?o[d]=q(zo,{name:d},u):i[a]=u}var l=n?q(zo,null,i):i;return q(n||r.nodeName.toLowerCase(),o,l)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Qi:ze)(this._vdom,this._root)}function _s(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function Zu(e,t,r){if(this._vdom){var n={};n[e]=r=r??void 0,n[_s(e)]=r,this._vdom=Vi(this._vdom,n),ze(this._vdom,this._root)}}function el(){ze(this._vdom=null,this._root)}function zo(e,t){var r=this;return q("slot",Yi({},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 tl(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=Xu,i.prototype.attributeChangedCallback=Zu,i.prototype.disconnectedCallback=el,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,$n,Ho,kt=0,ws=[],Wr=[],Wo=I.__b,qo=I.__r,Go=I.diffed,Qo=I.__c,Vo=I.unmount;function ct(e,t){I.__h&&I.__h(j,e,kt||t),kt=0;var r=j.__H||(j.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:Wr}),r.__[e]}function Ae(e){return kt=1,Ki(Es,e)}function Ki(e,t,r){var n=ct(Me++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):Es(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 Q(e,t){var r=ct(Me++,3);!I.__s&&Ji(r.__H,t)&&(r.__=e,r.i=t,j.__H.__h.push(r))}function ut(e,t){var r=ct(Me++,4);!I.__s&&Ji(r.__H,t)&&(r.__=e,r.i=t,j.__h.push(r))}function ve(e){return kt=5,ne(function(){return{current:e}},[])}function Ss(e,t,r){kt=6,ut(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 ne(e,t){var r=ct(Me++,7);return Ji(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function gt(e,t){return kt=8,ne(function(){return e},t)}function Ft(e){var t=j.context[e.__c],r=ct(Me++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(j)),t.props.value):e.__}function Xr(e,t){I.useDebugValue&&I.useDebugValue(t?t(e):e)}function rl(e){var t=ct(Me++,10),r=Ae();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 Cs(){var e=ct(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 nl(){for(var e;e=ws.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(qr),e.__H.__h.forEach(ui),e.__H.__h=[]}catch(t){e.__H.__h=[],I.__e(t,e.__v)}}I.__b=function(e){j=null,Wo&&Wo(e)},I.__r=function(e){qo&&qo(e),Me=0;var t=(j=e.__c).__H;t&&($n===j?(t.__h=[],j.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=Wr,r.__N=r.i=void 0})):(t.__h.forEach(qr),t.__h.forEach(ui),t.__h=[],Me=0)),$n=j},I.diffed=function(e){Go&&Go(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(ws.push(t)!==1&&Ho===I.requestAnimationFrame||((Ho=I.requestAnimationFrame)||il)(nl)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==Wr&&(r.__=r.__V),r.i=void 0,r.__V=Wr})),$n=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.__||ui(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],I.__e(n,r.__v)}}),Qo&&Qo(e,t)},I.unmount=function(e){Vo&&Vo(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 Yo=typeof requestAnimationFrame=="function";function il(e){var t,r=function(){clearTimeout(n),Yo&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);Yo&&(t=requestAnimationFrame(r))}function qr(e){var t=j,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),j=t}function ui(e){var t=j;e.__c=e.__(),j=t}function Ji(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function Es(e,t){return typeof t=="function"?t(e):t}function xs(e,t){for(var r in t)e[r]=t[r];return e}function li(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 Ts(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:li(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}(Zr.prototype=new _e).isPureReactComponent=!0,Zr.prototype.shouldComponentUpdate=function(e,t){return li(this.props,e)||li(this.state,t)};var Ko=I.__b;I.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ko&&Ko(e)};var ol=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Xi(e){function t(r){var n=xs({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=ol,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Jo=function(e,t){return e==null?null:Ne(Ne(e).map(t))},ks={map:Jo,forEach:Jo,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},al=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)}al(e,t,r,n)};var Xo=I.unmount;function Rs(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=xs({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Rs(n,t,r)})),e}function Os(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return Os(n,t,r)}),e.__c&&e.__c.__P===t&&(e.__e&&r.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=r)),e}function Xt(){this.__u=0,this.t=null,this.__b=null}function As(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Is(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 bt(){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),Xo&&Xo(e)},(Xt.prototype=new _e).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var i=As(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]=Os(c,c.__c.__P,c.__c.__O)}var u;for(n.setState({__a:n.__b=null});u=n.t.pop();)u.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(a,a)},Xt.prototype.componentWillUnmount=function(){this.t=[]},Xt.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=Rs(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 Zo=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 sl(e){return this.getChildContext=function(){return e.context},e.children}function cl(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(q(sl,{context:t.context},e.__v),t.l)}function Ps(e,t){var r=q(cl,{__v:e,i:t});return r.containerInfo=t,r}(bt.prototype=new _e).__a=function(e){var t=this,r=As(t.__v),n=t.o.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),Zo(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){Zo(e,r,t)})};var Ls=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,ul=/^(?: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]/,ll=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,dl=/[A-Z0-9]/g,fl=typeof document<"u",pl=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Ns(e,t,r){return t.__k==null&&(t.textContent=""),ze(e,t),typeof r=="function"&&r(),e?e.__c:null}function Ms(e,t,r){return Qi(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 ea=I.event;function hl(){}function ml(){return this.cancelBubble}function vl(){return this.defaultPrevented}I.event=function(e){return ea&&(e=ea(e)),e.persist=hl,e.isPropagationStopped=ml,e.isDefaultPrevented=vl,e.nativeEvent=e};var Zi,yl={enumerable:!1,configurable:!0,get:function(){return this.class}},ta=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||fl&&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"||pl(r.type)?s==="onfocus"?o="onfocusin":s==="onblur"?o="onfocusout":ll.test(o)?o=s:n.indexOf("-")===-1&&ul.test(o)?o=o.replace(dl,"-$&").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",yl)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=Ls,ta&&ta(e)};var ra=I.__r;I.__r=function(e){ra&&ra(e),Zi=e.__c};var na=I.diffed;I.diffed=function(e){na&&na(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),Zi=null};var Fs={ReactCurrentDispatcher:{current:{readContext:function(e){return Zi.__n[e.__c].props.value}}}},gl="17.0.2";function Ds(e){return q.bind(null,e)}function wr(e){return!!e&&e.$$typeof===Ls}function $s(e){return wr(e)&&e.type===pe}function Bs(e){return wr(e)?Vi.apply(null,arguments):e}function Us(e){return!!e.__k&&(ze(null,e),!0)}function js(e){return e&&(e.base||e.nodeType===1&&e)||null}var zs=function(e,t){return e(t)},Hs=function(e,t){return e(t)},Ws=pe;function eo(e){e()}function qs(e){return e}function Gs(){return[!1,eo]}var Qs=ut,Vs=wr;function Ys(e,t){var r=t(),n=Ae({h:{__:r,v:t}}),i=n[0].h,o=n[1];return ut(function(){i.__=r,i.v=t,Bn(i)&&o({h:i})},[e,r,t]),Q(function(){return Bn(i)&&o({h:i}),e(function(){Bn(i)&&o({h:i})})},[e]),r}function Bn(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 Ks={useState:Ae,useId:Cs,useReducer:Ki,useEffect:Q,useLayoutEffect:ut,useInsertionEffect:Qs,useTransition:Gs,useDeferredValue:qs,useSyncExternalStore:Ys,startTransition:eo,useRef:ve,useImperativeHandle:Ss,useMemo:ne,useCallback:gt,useContext:Ft,useDebugValue:Xr,version:"17.0.2",Children:ks,render:Ns,hydrate:Ms,unmountComponentAtNode:Us,createPortal:Ps,createElement:q,createContext:yn,createFactory:Ds,cloneElement:Bs,createRef:_r,Fragment:pe,isValidElement:wr,isElement:Vs,isFragment:$s,findDOMNode:js,Component:_e,PureComponent:Zr,memo:Ts,forwardRef:Xi,flushSync:Hs,unstable_batchedUpdates:zs,StrictMode:Ws,Suspense:Xt,SuspenseList:bt,lazy:Is,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Fs};const sr=Object.freeze(Object.defineProperty({__proto__:null,Children:ks,Component:_e,Fragment:pe,PureComponent:Zr,StrictMode:Ws,Suspense:Xt,SuspenseList:bt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Fs,cloneElement:Bs,createContext:yn,createElement:q,createFactory:Ds,createPortal:Ps,createRef:_r,default:Ks,findDOMNode:js,flushSync:Hs,forwardRef:Xi,hydrate:Ms,isElement:Vs,isFragment:$s,isValidElement:wr,lazy:Is,memo:Ts,render:Ns,startTransition:eo,unmountComponentAtNode:Us,unstable_batchedUpdates:zs,useCallback:gt,useContext:Ft,useDebugValue:Xr,useDeferredValue:qs,useEffect:Q,useErrorBoundary:rl,useId:Cs,useImperativeHandle:Ss,useInsertionEffect:Qs,useLayoutEffect:ut,useMemo:ne,useReducer:Ki,useRef:ve,useState:Ae,useSyncExternalStore:Ys,useTransition:Gs,version:gl},Symbol.toStringTag,{value:"Module"}));function bl(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 _l(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 wl=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(_l(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=bl(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}(),re="-ms-",en="-moz-",M="-webkit-",Js="comm",to="rule",ro="decl",Sl="@import",Xs="@keyframes",Cl="@layer",El=Math.abs,gn=String.fromCharCode,xl=Object.assign;function Tl(e,t){return X(e,0)^45?(((t<<2^X(e,0))<<2^X(e,1))<<2^X(e,2))<<2^X(e,3):0}function Zs(e){return e.trim()}function kl(e,t){return(e=t.exec(e))?e[0]:e}function F(e,t,r){return e.replace(t,r)}function di(e,t){return e.indexOf(t)}function X(e,t){return e.charCodeAt(t)|0}function cr(e,t,r){return e.slice(t,r)}function xe(e){return e.length}function no(e){return e.length}function Lr(e,t){return t.push(e),e}function Rl(e,t){return e.map(t).join("")}var bn=1,Rt=1,ec=0,ce=0,G=0,Dt="";function _n(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:bn,column:Rt,length:a,return:""}}function Wt(e,t){return xl(_n("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ol(){return G}function Al(){return G=ce>0?X(Dt,--ce):0,Rt--,G===10&&(Rt=1,bn--),G}function fe(){return G=ce<ec?X(Dt,ce++):0,Rt++,G===10&&(Rt=1,bn++),G}function Oe(){return X(Dt,ce)}function Gr(){return ce}function Sr(e,t){return cr(Dt,e,t)}function ur(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function tc(e){return bn=Rt=1,ec=xe(Dt=e),ce=0,[]}function rc(e){return Dt="",e}function Qr(e){return Zs(Sr(ce-1,fi(e===91?e+2:e===40?e+1:e)))}function Il(e){for(;(G=Oe())&&G<33;)fe();return ur(e)>2||ur(G)>3?"":" "}function Pl(e,t){for(;--t&&fe()&&!(G<48||G>102||G>57&&G<65||G>70&&G<97););return Sr(e,Gr()+(t<6&&Oe()==32&&fe()==32))}function fi(e){for(;fe();)switch(G){case e:return ce;case 34:case 39:e!==34&&e!==39&&fi(G);break;case 40:e===41&&fi(e);break;case 92:fe();break}return ce}function Ll(e,t){for(;fe()&&e+G!==57;)if(e+G===84&&Oe()===47)break;return"/*"+Sr(t,ce-1)+"*"+gn(e===47?e:fe())}function Nl(e){for(;!ur(Oe());)fe();return Sr(e,ce)}function Ml(e){return rc(Vr("",null,null,null,[""],e=tc(e),0,[0],e))}function Vr(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,y=1,m=1,g=0,h="",_=i,C=o,E=n,w=h;y;)switch(v=g,g=fe()){case 40:if(v!=108&&X(w,l-1)==58){di(w+=F(Qr(g),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:w+=Qr(g);break;case 9:case 10:case 13:case 32:w+=Il(v);break;case 92:w+=Pl(Gr()-1,7);continue;case 47:switch(Oe()){case 42:case 47:Lr(Fl(Ll(fe(),Gr()),t,r),c);break;default:w+="/"}break;case 123*b:s[u++]=xe(w)*m;case 125*b:case 59:case 0:switch(g){case 0:case 125:y=0;case 59+d:m==-1&&(w=F(w,/\f/g,"")),f>0&&xe(w)-l&&Lr(f>32?oa(w+";",n,r,l-1):oa(F(w," ","")+";",n,r,l-2),c);break;case 59:w+=";";default:if(Lr(E=ia(w,t,r,u,d,i,s,h,_=[],C=[],l),o),g===123)if(d===0)Vr(w,t,E,E,_,o,l,s,C);else switch(p===99&&X(w,3)===110?100:p){case 100:case 108:case 109:case 115:Vr(e,E,E,n&&Lr(ia(e,E,E,0,0,i,s,h,i,_=[],l),C),i,C,l,s,n?_:C);break;default:Vr(w,E,E,E,[""],C,0,s,C)}}u=d=f=0,b=m=1,h=w="",l=a;break;case 58:l=1+xe(w),f=v;default:if(b<1){if(g==123)--b;else if(g==125&&b++==0&&Al()==125)continue}switch(w+=gn(g),g*b){case 38:m=d>0?1:(w+="\f",-1);break;case 44:s[u++]=(xe(w)-1)*m,m=1;break;case 64:Oe()===45&&(w+=Qr(fe())),p=Oe(),d=l=xe(h=w+=Nl(Gr())),g++;break;case 45:v===45&&xe(w)==2&&(b=0)}}return o}function ia(e,t,r,n,i,o,a,s,c,u,d){for(var l=i-1,p=i===0?o:[""],f=no(p),v=0,b=0,y=0;v<n;++v)for(var m=0,g=cr(e,l+1,l=El(b=a[v])),h=e;m<f;++m)(h=Zs(b>0?p[m]+" "+g:F(g,/&\f/g,p[m])))&&(c[y++]=h);return _n(e,t,r,i===0?to:s,c,u,d)}function Fl(e,t,r){return _n(e,t,r,Js,gn(Ol()),cr(e,2,-2),0)}function oa(e,t,r,n){return _n(e,t,r,ro,cr(e,0,n),cr(e,n+1,-1),n)}function Ct(e,t){for(var r="",n=no(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function Dl(e,t,r,n){switch(e.type){case Cl:if(e.children.length)break;case Sl:case ro:return e.return=e.return||e.value;case Js:return"";case Xs:return e.return=e.value+"{"+Ct(e.children,n)+"}";case to:e.value=e.props.join(",")}return xe(r=Ct(e.children,n))?e.return=e.value+"{"+r+"}":""}function $l(e){var t=no(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 Bl(e){return function(t){t.root||(t=t.return)&&e(t)}}function nc(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Ul=function(t,r,n){for(var i=0,o=0;i=o,o=Oe(),i===38&&o===12&&(r[n]=1),!ur(o);)fe();return Sr(t,ce)},jl=function(t,r){var n=-1,i=44;do switch(ur(i)){case 0:i===38&&Oe()===12&&(r[n]=1),t[n]+=Ul(ce-1,r,n);break;case 2:t[n]+=Qr(i);break;case 4:if(i===44){t[++n]=Oe()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=gn(i)}while(i=fe());return t},zl=function(t,r){return rc(jl(tc(t),r))},aa=new WeakMap,Hl=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&&!aa.get(n))&&!i){aa.set(t,!0);for(var o=[],a=zl(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]}}},Wl=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function ic(e,t){switch(Tl(e,t)){case 5103:return M+"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 M+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return M+e+en+e+re+e+e;case 6828:case 4268:return M+e+re+e+e;case 6165:return M+e+re+"flex-"+e+e;case 5187:return M+e+F(e,/(\w+).+(:[^]+)/,M+"box-$1$2"+re+"flex-$1$2")+e;case 5443:return M+e+re+"flex-item-"+F(e,/flex-|-self/,"")+e;case 4675:return M+e+re+"flex-line-pack"+F(e,/align-content|flex-|-self/,"")+e;case 5548:return M+e+re+F(e,"shrink","negative")+e;case 5292:return M+e+re+F(e,"basis","preferred-size")+e;case 6060:return M+"box-"+F(e,"-grow","")+M+e+re+F(e,"grow","positive")+e;case 4554:return M+F(e,/([^-])(transform)/g,"$1"+M+"$2")+e;case 6187:return F(F(F(e,/(zoom-|grab)/,M+"$1"),/(image-set)/,M+"$1"),e,"")+e;case 5495:case 3959:return F(e,/(image-set\([^]*)/,M+"$1$`$1");case 4968:return F(F(e,/(.+:)(flex-)?(.*)/,M+"box-pack:$3"+re+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+M+e+e;case 4095:case 3583:case 4068:case 2532:return F(e,/(.+)-inline(.+)/,M+"$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(X(e,t+1)){case 109:if(X(e,t+4)!==45)break;case 102:return F(e,/(.+:)(.+)-([^]+)/,"$1"+M+"$2-$3$1"+en+(X(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~di(e,"stretch")?ic(F(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(X(e,t+1)!==115)break;case 6444:switch(X(e,xe(e)-3-(~di(e,"!important")&&10))){case 107:return F(e,":",":"+M)+e;case 101:return F(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+M+(X(e,14)===45?"inline-":"")+"box$3$1"+M+"$2$3$1"+re+"$2box$3")+e}break;case 5936:switch(X(e,t+11)){case 114:return M+e+re+F(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return M+e+re+F(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return M+e+re+F(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return M+e+re+e+e}return e}var ql=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case ro:t.return=ic(t.value,t.length);break;case Xs:return Ct([Wt(t,{value:F(t.value,"@","@"+M)})],i);case to:if(t.length)return Rl(t.props,function(o){switch(kl(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ct([Wt(t,{props:[F(o,/:(read-\w+)/,":"+en+"$1")]})],i);case"::placeholder":return Ct([Wt(t,{props:[F(o,/:(plac\w+)/,":"+M+"input-$1")]}),Wt(t,{props:[F(o,/:(plac\w+)/,":"+en+"$1")]}),Wt(t,{props:[F(o,/:(plac\w+)/,re+"input-$1")]})],i)}return""})}},Gl=[ql],oc=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 y=b.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(b),b.setAttribute("data-s",""))})}var i=t.stylisPlugins||Gl,o={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(b){for(var y=b.getAttribute("data-emotion").split(" "),m=1;m<y.length;m++)o[y[m]]=!0;s.push(b)});var c,u=[Hl,Wl];{var d,l=[Dl,Bl(function(b){d.insert(b)})],p=$l(u.concat(i,l)),f=function(y){return Ct(Ml(y),p)};c=function(y,m,g,h){d=g,f(y?y+"{"+m.styles+"}":m.styles),h&&(v.inserted[m.name]=!0)}}var v={key:r,sheet:new wl({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 pi(){return pi=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},pi.apply(this,arguments)}function Ql(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 ac={exports:{}},B={};/** @license React v16.13.1
|
|
1
|
+
var Js=Object.defineProperty;var Gs=(e,t,r)=>t in e?Js(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Pr=(e,t,r)=>(Gs(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 s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).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 Tt,O,so,$e,Jn,ao,zr,co,mt={},uo=[],Ys=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,ar=Array.isArray;function we(e,t){for(var r in t)e[r]=t[r];return e}function lo(e){var t=e.parentNode;t&&t.removeChild(e)}function U(e,t,r){var n,i,o,s={};for(o in t)o=="key"?n=t[o]:o=="ref"?i=t[o]:s[o]=t[o];if(arguments.length>2&&(s.children=arguments.length>3?Tt.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)s[o]===void 0&&(s[o]=e.defaultProps[o]);return lt(e,s,n,i,null)}function lt(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??++so,__i:-1,__u:0};return i==null&&O.vnode!=null&&O.vnode(o),o}function Pt(){return{current:null}}function ae(e){return e.children}function fe(e,t){this.props=e,this.context=t}function Ze(e,t){if(t==null)return e.__?Ze(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"?Ze(e):null}function fo(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 fo(e)}}function Br(e){(!e.__d&&(e.__d=!0)&&$e.push(e)&&!Jt.__r++||Jn!==O.debounceRendering)&&((Jn=O.debounceRendering)||ao)(Jt)}function Jt(){var e,t,r,n,i,o,s,a,c;for($e.sort(zr);e=$e.shift();)e.__d&&(t=$e.length,n=void 0,o=(i=(r=e).__v).__e,a=[],c=[],(s=r.__P)&&((n=we({},i)).__v=i.__v+1,O.vnode&&O.vnode(n),_n(s,n,i,r.__n,s.ownerSVGElement!==void 0,32&i.__u?[o]:null,a,o??Ze(i),!!(32&i.__u),c),n.__.__k[n.__i]=n,mo(a,n,c),n.__e!=o&&fo(n)),$e.length>t&&$e.sort(zr));Jt.__r=0}function po(e,t,r,n,i,o,s,a,c,d,f){var u,p,l,g,b,_=n&&n.__k||uo,m=t.length;for(r.__d=c,Xs(r,t,_),c=r.__d,u=0;u<m;u++)(l=r.__k[u])!=null&&typeof l!="boolean"&&typeof l!="function"&&(p=l.__i===-1?mt:_[l.__i]||mt,l.__i=u,_n(e,l,p,i,o,s,a,c,d,f),g=l.__e,l.ref&&p.ref!=l.ref&&(p.ref&&vn(p.ref,null,l),f.push(l.ref,l.__c||g,l)),b==null&&g!=null&&(b=g),65536&l.__u||p.__k===l.__k?c=ho(l,c,e):typeof l.type=="function"&&l.__d!==void 0?c=l.__d:g&&(c=g.nextSibling),l.__d=void 0,l.__u&=-196609);r.__d=c,r.__e=b}function Xs(e,t,r){var n,i,o,s,a,c=t.length,d=r.length,f=d,u=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?lt(null,i,null,null,i):ar(i)?lt(ae,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?lt(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)!=null?(i.__=e,i.__b=e.__b+1,a=Zs(i,r,s=n+u,f),i.__i=a,o=null,a!==-1&&(f--,(o=r[a])&&(o.__u|=131072)),o==null||o.__v===null?(a==-1&&u--,typeof i.type!="function"&&(i.__u|=65536)):a!==s&&(a===s+1?u++:a>s?f>c-s?u+=a-s:u--:u=a<s&&a==s-1?a-s:0,a!==n+u&&(i.__u|=65536))):(o=r[n])&&o.key==null&&o.__e&&(o.__e==e.__d&&(e.__d=Ze(o)),Wr(o,o,!1),r[n]=null,f--);if(f)for(n=0;n<d;n++)(o=r[n])!=null&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=Ze(o)),Wr(o,o))}function ho(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=ho(n[i],t,r));return t}return e.__e!=t&&(r.insertBefore(e.__e,t||null),t=e.__e),t&&t.nextSibling}function Se(e,t){return t=t||[],e==null||typeof e=="boolean"||(ar(e)?e.some(function(r){Se(r,t)}):t.push(e)),t}function Zs(e,t,r,n){var i=e.key,o=e.type,s=r-1,a=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(;s>=0||a<t.length;){if(s>=0){if((c=t[s])&&!(131072&c.__u)&&i==c.key&&o===c.type)return s;s--}if(a<t.length){if((c=t[a])&&!(131072&c.__u)&&i==c.key&&o===c.type)return a;a++}}return-1}function Gn(e,t,r){t[0]==="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||Ys.test(t)?r:r+"px"}function Dt(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||Gn(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||Gn(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?Xn:Yn,o)):e.removeEventListener(t,o?Xn:Yn,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 Yn(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(O.event?O.event(e):e)}function Xn(e){return this.l[e.type+!0](O.event?O.event(e):e)}function _n(e,t,r,n,i,o,s,a,c,d){var f,u,p,l,g,b,_,m,y,h,v,S,k,x,C,T=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(c=!!(32&r.__u),o=[a=t.__e=r.__e]),(f=O.__b)&&f(t);e:if(typeof T=="function")try{if(m=t.props,y=(f=T.contextType)&&n[f.__c],h=f?y?y.props.value:f.__:n,r.__c?_=(u=t.__c=r.__c).__=u.__E:("prototype"in T&&T.prototype.render?t.__c=u=new T(m,h):(t.__c=u=new fe(m,h),u.constructor=T,u.render=ta),y&&y.sub(u),u.props=m,u.state||(u.state={}),u.context=h,u.__n=n,p=u.__d=!0,u.__h=[],u._sb=[]),u.__s==null&&(u.__s=u.state),T.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=we({},u.__s)),we(u.__s,T.getDerivedStateFromProps(m,u.__s))),l=u.props,g=u.state,u.__v=t,p)T.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(T.getDerivedStateFromProps==null&&m!==l&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(m,h),!u.__e&&(u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(m,u.__s,h)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(u.props=m,u.state=u.__s,u.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(P){P&&(P.__=t)}),v=0;v<u._sb.length;v++)u.__h.push(u._sb[v]);u._sb=[],u.__h.length&&s.push(u);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(m,u.__s,h),u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(l,g,b)})}if(u.context=h,u.props=m,u.__P=e,u.__e=!1,S=O.__r,k=0,"prototype"in T&&T.prototype.render){for(u.state=u.__s,u.__d=!1,S&&S(t),f=u.render(u.props,u.state,u.context),x=0;x<u._sb.length;x++)u.__h.push(u._sb[x]);u._sb=[]}else do u.__d=!1,S&&S(t),f=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++k<25);u.state=u.__s,u.getChildContext!=null&&(n=we(we({},n),u.getChildContext())),p||u.getSnapshotBeforeUpdate==null||(b=u.getSnapshotBeforeUpdate(l,g)),po(e,ar(C=f!=null&&f.type===ae&&f.key==null?f.props.children:f)?C:[C],t,r,n,i,o,s,a,c,d),u.base=t.__e,t.__u&=-161,u.__h.length&&s.push(u),_&&(u.__E=u.__=null)}catch(P){t.__v=null,c||o!=null?(t.__e=a,t.__u|=c?160:32,o[o.indexOf(a)]=null):(t.__e=r.__e,t.__k=r.__k),O.__e(P,t,r)}else o==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=ea(r.__e,t,r,n,i,o,s,c,d);(f=O.diffed)&&f(t)}function mo(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)vn(r[n],r[++n],r[++n]);O.__c&&O.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){O.__e(o,i.__v)}})}function ea(e,t,r,n,i,o,s,a,c){var d,f,u,p,l,g,b,_=r.props,m=t.props,y=t.type;if(y==="svg"&&(i=!0),o!=null){for(d=0;d<o.length;d++)if((l=o[d])&&"setAttribute"in l==!!y&&(y?l.localName===y:l.nodeType===3)){e=l,o[d]=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,a=!1}if(y===null)_===m||a&&e.data===m||(e.data=m);else{if(o=o&&Tt.call(e.childNodes),_=r.props||mt,!a&&o!=null)for(_={},d=0;d<e.attributes.length;d++)_[(l=e.attributes[d]).name]=l.value;for(d in _)l=_[d],d=="children"||(d=="dangerouslySetInnerHTML"?u=l:d==="key"||d in m||Dt(e,d,null,l,i));for(d in m)l=m[d],d=="children"?p=l:d=="dangerouslySetInnerHTML"?f=l:d=="value"?g=l:d=="checked"?b=l:d==="key"||a&&typeof l!="function"||_[d]===l||Dt(e,d,l,_[d],i);if(f)a||u&&(f.__html===u.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(u&&(e.innerHTML=""),po(e,ar(p)?p:[p],t,r,n,i&&y!=="foreignObject",o,s,o?o[0]:r.__k&&Ze(r,0),a,c),o!=null)for(d=o.length;d--;)o[d]!=null&&lo(o[d]);a||(d="value",g!==void 0&&(g!==e[d]||y==="progress"&&!g||y==="option"&&g!==_[d])&&Dt(e,d,g,_[d],!1),d="checked",b!==void 0&&b!==e[d]&&Dt(e,d,b,_[d],!1))}return e}function vn(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(n){O.__e(n,r)}}function Wr(e,t,r){var n,i;if(O.unmount&&O.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||vn(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){O.__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]&&Wr(n[i],t,r||typeof e.type!="function");r||e.__e==null||lo(e.__e),e.__=e.__e=e.__d=void 0}function ta(e,t,r){return this.constructor(e,r)}function Pe(e,t,r){var n,i,o,s;O.__&&O.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],s=[],_n(t,e=(!n&&r||t).__k=U(ae,null,[e]),i||mt,mt,t.ownerSVGElement!==void 0,!n&&r?[r]:i?null:t.firstChild?Tt.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,s),mo(o,e,s)}function bn(e,t){Pe(e,t,bn)}function wn(e,t,r){var n,i,o,s,a=we({},e.props);for(o in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)o=="key"?n=t[o]:o=="ref"?i=t[o]:a[o]=t[o]===void 0&&s!==void 0?s[o]:t[o];return arguments.length>2&&(a.children=arguments.length>3?Tt.call(arguments,2):r),lt(e.type,a,n||e.key,i||e.ref,null)}function cr(e,t){var r={__c:t="__cC"+co++,__: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(s){this.props.value!==s.value&&i.some(function(a){a.__e=!0,Br(a)})},this.sub=function(s){i.push(s);var a=s.componentWillUnmount;s.componentWillUnmount=function(){i.splice(i.indexOf(s),1),a&&a.call(s)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}Tt=uo.slice,O={__e:function(e,t,r,n){for(var i,o,s;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&o.getDerivedStateFromError!=null&&(i.setState(o.getDerivedStateFromError(e)),s=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,n||{}),s=i.__d),s)return i.__E=i}catch(a){e=a}throw e}},so=0,fe.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=we({},this.state),typeof e=="function"&&(e=e(we({},r),this.props)),e&&we(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),Br(this))},fe.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Br(this))},fe.prototype.render=ae,$e=[],ao=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,zr=function(e,t){return e.__v.__b-t.__v.__b},Jt.__r=0,co=0;function Sn(){return(Sn=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 ra=["context","children"];function na(e){this.getChildContext=function(){return e.context};var t=e.children,r=function(n,i){if(n==null)return{};var o,s,a={},c=Object.keys(n);for(s=0;s<c.length;s++)i.indexOf(o=c[s])>=0||(a[o]=n[o]);return a}(e,ra);return wn(t,r)}function ia(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=U(na,Sn({},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={},s=0,a=r.attributes,c=r.childNodes;for(s=a.length;s--;)a[s].name!=="slot"&&(o[a[s].name]=a[s].value,o[yo(a[s].name)]=a[s].value);for(s=c.length;s--;){var d=t(c[s],null),f=c[s].slot;f?o[f]=U(Zn,{name:f},d):i[s]=d}var u=n?U(Zn,null,i):i;return U(n||r.nodeName.toLowerCase(),o,u)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?bn:Pe)(this._vdom,this._root)}function yo(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function oa(e,t,r){if(this._vdom){var n={};n[e]=r=r??void 0,n[yo(e)]=r,this._vdom=wn(this._vdom,n),Pe(this._vdom,this._root)}}function sa(){Pe(this._vdom=null,this._root)}function Zn(e,t){var r=this;return U("slot",Sn({},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 aa(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=ia,i.prototype.attributeChangedCallback=oa,i.prototype.disconnectedCallback=sa,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(s){this._vdom?this.attributeChangedCallback(o,null,s):(this._props||(this._props={}),this._props[o]=s,this.connectedCallback());var a=typeof s;s!=null&&a!=="string"&&a!=="boolean"&&a!=="number"||this.setAttribute(o,s)}})}),customElements.define(t||e.tagName||e.displayName||e.name,i)}var xe,z,Rr,ei,et=0,go=[],qt=[],ti=O.__b,ri=O.__r,ni=O.diffed,ii=O.__c,oi=O.unmount;function Be(e,t){O.__h&&O.__h(z,e,et||t),et=0;var r=z.__H||(z.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:qt}),r.__[e]}function ve(e){return et=1,xn(bo,e)}function xn(e,t,r){var n=Be(xe++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):bo(void 0,t),function(a){var c=n.__N?n.__N[0]:n.__[0],d=n.t(c,a);c!==d&&(n.__N=[d,n.__[1]],n.__c.setState({}))}],n.__c=z,!z.u)){var i=function(a,c,d){if(!n.__c.__H)return!0;var f=n.__c.__H.__.filter(function(p){return p.__c});if(f.every(function(p){return!p.__N}))return!o||o.call(this,a,c,d);var u=!1;return f.forEach(function(p){if(p.__N){var l=p.__[0];p.__=p.__N,p.__N=void 0,l!==p.__[0]&&(u=!0)}}),!(!u&&n.__c.props===a)&&(!o||o.call(this,a,c,d))};z.u=!0;var o=z.shouldComponentUpdate,s=z.componentWillUpdate;z.componentWillUpdate=function(a,c,d){if(this.__e){var f=o;o=void 0,i(a,c,d),o=f}s&&s.call(this,a,c,d)},z.shouldComponentUpdate=i}return n.__N||n.__}function Q(e,t){var r=Be(xe++,3);!O.__s&&kn(r.__H,t)&&(r.__=e,r.i=t,z.__H.__h.push(r))}function We(e,t){var r=Be(xe++,4);!O.__s&&kn(r.__H,t)&&(r.__=e,r.i=t,z.__h.push(r))}function le(e){return et=5,Z(function(){return{current:e}},[])}function _o(e,t,r){et=6,We(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 Z(e,t){var r=Be(xe++,7);return kn(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function Qe(e,t){return et=8,Z(function(){return e},t)}function it(e){var t=z.context[e.__c],r=Be(xe++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(z)),t.props.value):e.__}function Gt(e,t){O.useDebugValue&&O.useDebugValue(t?t(e):e)}function ca(e){var t=Be(xe++,10),r=ve();return t.__=e,z.componentDidCatch||(z.componentDidCatch=function(n,i){t.__&&t.__(n,i),r[1](n)}),[r[0],function(){r[1](void 0)}]}function vo(){var e=Be(xe++,11);if(!e.__){for(var t=z.__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 ua(){for(var e;e=go.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Ht),e.__H.__h.forEach(Ur),e.__H.__h=[]}catch(t){e.__H.__h=[],O.__e(t,e.__v)}}O.__b=function(e){z=null,ti&&ti(e)},O.__r=function(e){ri&&ri(e),xe=0;var t=(z=e.__c).__H;t&&(Rr===z?(t.__h=[],z.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=qt,r.__N=r.i=void 0})):(t.__h.forEach(Ht),t.__h.forEach(Ur),t.__h=[],xe=0)),Rr=z},O.diffed=function(e){ni&&ni(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(go.push(t)!==1&&ei===O.requestAnimationFrame||((ei=O.requestAnimationFrame)||la)(ua)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==qt&&(r.__=r.__V),r.i=void 0,r.__V=qt})),Rr=z=null},O.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Ht),r.__h=r.__h.filter(function(n){return!n.__||Ur(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],O.__e(n,r.__v)}}),ii&&ii(e,t)},O.unmount=function(e){oi&&oi(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{Ht(n)}catch(i){t=i}}),r.__H=void 0,t&&O.__e(t,r.__v))};var si=typeof requestAnimationFrame=="function";function la(e){var t,r=function(){clearTimeout(n),si&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);si&&(t=requestAnimationFrame(r))}function Ht(e){var t=z,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),z=t}function Ur(e){var t=z;e.__c=e.__(),z=t}function kn(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function bo(e,t){return typeof t=="function"?t(e):t}function wo(e,t){for(var r in t)e[r]=t[r];return e}function qr(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 Yt(e){this.props=e}function So(e,t){function r(i){var o=this.props.ref,s=o==i.ref;return!s&&o&&(o.call?o(null):o.current=null),t?!t(this.props,i)||!s:qr(this.props,i)}function n(i){return this.shouldComponentUpdate=r,U(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(Yt.prototype=new fe).isPureReactComponent=!0,Yt.prototype.shouldComponentUpdate=function(e,t){return qr(this.props,e)||qr(this.state,t)};var ai=O.__b;O.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ai&&ai(e)};var da=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Cn(e){function t(r){var n=wo({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=da,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var ci=function(e,t){return e==null?null:Se(Se(e).map(t))},xo={map:ci,forEach:ci,count:function(e){return e?Se(e).length:0},only:function(e){var t=Se(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Se},fa=O.__e;O.__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)}fa(e,t,r,n)};var ui=O.unmount;function ko(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=wo({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return ko(n,t,r)})),e}function Co(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return Co(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 dt(){this.__u=0,this.t=null,this.__b=null}function To(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Po(e){var t,r,n;function i(o){if(t||(t=e()).then(function(s){r=s.default||s},function(s){n=s}),n)throw n;if(!r)throw t;return U(r,o)}return i.displayName="Lazy",i.__f=!0,i}function Ve(){this.u=null,this.o=null}O.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),ui&&ui(e)},(dt.prototype=new fe).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var i=To(n.__v),o=!1,s=function(){o||(o=!0,r.__R=null,i?i(a):a())};r.__R=s;var a=function(){if(!--n.__u){if(n.state.__a){var c=n.state.__a;n.__v.__k[0]=Co(c,c.__c.__P,c.__c.__O)}var d;for(n.setState({__a:n.__b=null});d=n.t.pop();)d.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(s,s)},dt.prototype.componentWillUnmount=function(){this.t=[]},dt.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]=ko(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&U(ae,null,e.fallback);return i&&(i.__u&=-33),[U(ae,null,t.__a?null:e.children),i]};var li=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 pa(e){return this.getChildContext=function(){return e.context},e.children}function ha(e){var t=this,r=e.i;t.componentWillUnmount=function(){Pe(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)}}),Pe(U(pa,{context:t.context},e.__v),t.l)}function Ro(e,t){var r=U(ha,{__v:e,i:t});return r.containerInfo=t,r}(Ve.prototype=new fe).__a=function(e){var t=this,r=To(t.__v),n=t.o.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),li(t,e,n)):i()};r?r(o):o()}},Ve.prototype.render=function(e){this.u=null,this.o=new Map;var t=Se(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},Ve.prototype.componentDidUpdate=Ve.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,r){li(e,r,t)})};var Eo=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,ma=/^(?: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]/,ya=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ga=/[A-Z0-9]/g,_a=typeof document<"u",va=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Ao(e,t,r){return t.__k==null&&(t.textContent=""),Pe(e,t),typeof r=="function"&&r(),e?e.__c:null}function Oo(e,t,r){return bn(e,t),typeof r=="function"&&r(),e?e.__c:null}fe.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(fe.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var di=O.event;function ba(){}function wa(){return this.cancelBubble}function Sa(){return this.defaultPrevented}O.event=function(e){return di&&(e=di(e)),e.persist=ba,e.isPropagationStopped=wa,e.isDefaultPrevented=Sa,e.nativeEvent=e};var Tn,xa={enumerable:!1,configurable:!0,get:function(){return this.class}},fi=O.vnode;O.vnode=function(e){typeof e.type=="string"&&function(t){var r=t.props,n=t.type,i={};for(var o in r){var s=r[o];if(!(o==="value"&&"defaultValue"in r&&s==null||_a&&o==="children"&&n==="noscript"||o==="class"||o==="className")){var a=o.toLowerCase();o==="defaultValue"&&"value"in r&&r.value==null?o="value":o==="download"&&s===!0?s="":a==="ondoubleclick"?o="ondblclick":a!=="onchange"||n!=="input"&&n!=="textarea"||va(r.type)?a==="onfocus"?o="onfocusin":a==="onblur"?o="onfocusout":ya.test(o)?o=a:n.indexOf("-")===-1&&ma.test(o)?o=o.replace(ga,"-$&").toLowerCase():s===null&&(s=void 0):a=o="oninput",a==="oninput"&&i[o=a]&&(o="oninputCapture"),i[o]=s}}n=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=Se(r.children).forEach(function(c){c.props.selected=i.value.indexOf(c.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=Se(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",xa)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=Eo,fi&&fi(e)};var pi=O.__r;O.__r=function(e){pi&&pi(e),Tn=e.__c};var hi=O.diffed;O.diffed=function(e){hi&&hi(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),Tn=null};var Io={ReactCurrentDispatcher:{current:{readContext:function(e){return Tn.__n[e.__c].props.value}}}},ka="17.0.2";function Mo(e){return U.bind(null,e)}function Rt(e){return!!e&&e.$$typeof===Eo}function $o(e){return Rt(e)&&e.type===ae}function No(e){return Rt(e)?wn.apply(null,arguments):e}function Fo(e){return!!e.__k&&(Pe(null,e),!0)}function Do(e){return e&&(e.base||e.nodeType===1&&e)||null}var Lo=function(e,t){return e(t)},jo=function(e,t){return e(t)},zo=ae;function Pn(e){e()}function Bo(e){return e}function Wo(){return[!1,Pn]}var Uo=We,qo=Rt;function Ho(e,t){var r=t(),n=ve({h:{__:r,v:t}}),i=n[0].h,o=n[1];return We(function(){i.__=r,i.v=t,Er(i)&&o({h:i})},[e,r,t]),Q(function(){return Er(i)&&o({h:i}),e(function(){Er(i)&&o({h:i})})},[e]),r}function Er(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 Qo={useState:ve,useId:vo,useReducer:xn,useEffect:Q,useLayoutEffect:We,useInsertionEffect:Uo,useTransition:Wo,useDeferredValue:Bo,useSyncExternalStore:Ho,startTransition:Pn,useRef:le,useImperativeHandle:_o,useMemo:Z,useCallback:Qe,useContext:it,useDebugValue:Gt,version:"17.0.2",Children:xo,render:Ao,hydrate:Oo,unmountComponentAtNode:Fo,createPortal:Ro,createElement:U,createContext:cr,createFactory:Mo,cloneElement:No,createRef:Pt,Fragment:ae,isValidElement:Rt,isElement:qo,isFragment:$o,findDOMNode:Do,Component:fe,PureComponent:Yt,memo:So,forwardRef:Cn,flushSync:jo,unstable_batchedUpdates:Lo,StrictMode:zo,Suspense:dt,SuspenseList:Ve,lazy:Po,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Io};const yt=Object.freeze(Object.defineProperty({__proto__:null,Children:xo,Component:fe,Fragment:ae,PureComponent:Yt,StrictMode:zo,Suspense:dt,SuspenseList:Ve,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Io,cloneElement:No,createContext:cr,createElement:U,createFactory:Mo,createPortal:Ro,createRef:Pt,default:Qo,findDOMNode:Do,flushSync:jo,forwardRef:Cn,hydrate:Oo,isElement:qo,isFragment:$o,isValidElement:Rt,lazy:Po,memo:So,render:Ao,startTransition:Pn,unmountComponentAtNode:Fo,unstable_batchedUpdates:Lo,useCallback:Qe,useContext:it,useDebugValue:Gt,useDeferredValue:Bo,useEffect:Q,useErrorBoundary:ca,useId:vo,useImperativeHandle:_o,useInsertionEffect:Uo,useLayoutEffect:We,useMemo:Z,useReducer:xn,useRef:le,useState:ve,useSyncExternalStore:Ho,useTransition:Wo,version:ka},Symbol.toStringTag,{value:"Module"}));function Ca(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 Ta(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 Pa=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(Ta(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Ca(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}(),X="-ms-",Xt="-moz-",N="-webkit-",Vo="comm",Rn="rule",En="decl",Ra="@import",Ko="@keyframes",Ea="@layer",Aa=Math.abs,ur=String.fromCharCode,Oa=Object.assign;function Ia(e,t){return G(e,0)^45?(((t<<2^G(e,0))<<2^G(e,1))<<2^G(e,2))<<2^G(e,3):0}function Jo(e){return e.trim()}function Ma(e,t){return(e=t.exec(e))?e[0]:e}function F(e,t,r){return e.replace(t,r)}function Hr(e,t){return e.indexOf(t)}function G(e,t){return e.charCodeAt(t)|0}function gt(e,t,r){return e.slice(t,r)}function ye(e){return e.length}function An(e){return e.length}function Lt(e,t){return t.push(e),e}function $a(e,t){return e.map(t).join("")}var lr=1,tt=1,Go=0,ne=0,q=0,ot="";function dr(e,t,r,n,i,o,s){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:lr,column:tt,length:s,return:""}}function st(e,t){return Oa(dr("",null,null,"",null,null,0),e,{length:-e.length},t)}function Na(){return q}function Fa(){return q=ne>0?G(ot,--ne):0,tt--,q===10&&(tt=1,lr--),q}function se(){return q=ne<Go?G(ot,ne++):0,tt++,q===10&&(tt=1,lr++),q}function _e(){return G(ot,ne)}function Qt(){return ne}function Et(e,t){return gt(ot,e,t)}function _t(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 Yo(e){return lr=tt=1,Go=ye(ot=e),ne=0,[]}function Xo(e){return ot="",e}function Vt(e){return Jo(Et(ne-1,Qr(e===91?e+2:e===40?e+1:e)))}function Da(e){for(;(q=_e())&&q<33;)se();return _t(e)>2||_t(q)>3?"":" "}function La(e,t){for(;--t&&se()&&!(q<48||q>102||q>57&&q<65||q>70&&q<97););return Et(e,Qt()+(t<6&&_e()==32&&se()==32))}function Qr(e){for(;se();)switch(q){case e:return ne;case 34:case 39:e!==34&&e!==39&&Qr(q);break;case 40:e===41&&Qr(e);break;case 92:se();break}return ne}function ja(e,t){for(;se()&&e+q!==57;)if(e+q===84&&_e()===47)break;return"/*"+Et(t,ne-1)+"*"+ur(e===47?e:se())}function za(e){for(;!_t(_e());)se();return Et(e,ne)}function Ba(e){return Xo(Kt("",null,null,null,[""],e=Yo(e),0,[0],e))}function Kt(e,t,r,n,i,o,s,a,c){for(var d=0,f=0,u=s,p=0,l=0,g=0,b=1,_=1,m=1,y=0,h="",v=i,S=o,k=n,x=h;_;)switch(g=y,y=se()){case 40:if(g!=108&&G(x,u-1)==58){Hr(x+=F(Vt(y),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:x+=Vt(y);break;case 9:case 10:case 13:case 32:x+=Da(g);break;case 92:x+=La(Qt()-1,7);continue;case 47:switch(_e()){case 42:case 47:Lt(Wa(ja(se(),Qt()),t,r),c);break;default:x+="/"}break;case 123*b:a[d++]=ye(x)*m;case 125*b:case 59:case 0:switch(y){case 0:case 125:_=0;case 59+f:m==-1&&(x=F(x,/\f/g,"")),l>0&&ye(x)-u&&Lt(l>32?yi(x+";",n,r,u-1):yi(F(x," ","")+";",n,r,u-2),c);break;case 59:x+=";";default:if(Lt(k=mi(x,t,r,d,f,i,a,h,v=[],S=[],u),o),y===123)if(f===0)Kt(x,t,k,k,v,o,u,a,S);else switch(p===99&&G(x,3)===110?100:p){case 100:case 108:case 109:case 115:Kt(e,k,k,n&&Lt(mi(e,k,k,0,0,i,a,h,i,v=[],u),S),i,S,u,a,n?v:S);break;default:Kt(x,k,k,k,[""],S,0,a,S)}}d=f=l=0,b=m=1,h=x="",u=s;break;case 58:u=1+ye(x),l=g;default:if(b<1){if(y==123)--b;else if(y==125&&b++==0&&Fa()==125)continue}switch(x+=ur(y),y*b){case 38:m=f>0?1:(x+="\f",-1);break;case 44:a[d++]=(ye(x)-1)*m,m=1;break;case 64:_e()===45&&(x+=Vt(se())),p=_e(),f=u=ye(h=x+=za(Qt())),y++;break;case 45:g===45&&ye(x)==2&&(b=0)}}return o}function mi(e,t,r,n,i,o,s,a,c,d,f){for(var u=i-1,p=i===0?o:[""],l=An(p),g=0,b=0,_=0;g<n;++g)for(var m=0,y=gt(e,u+1,u=Aa(b=s[g])),h=e;m<l;++m)(h=Jo(b>0?p[m]+" "+y:F(y,/&\f/g,p[m])))&&(c[_++]=h);return dr(e,t,r,i===0?Rn:a,c,d,f)}function Wa(e,t,r){return dr(e,t,r,Vo,ur(Na()),gt(e,2,-2),0)}function yi(e,t,r,n){return dr(e,t,r,En,gt(e,0,n),gt(e,n+1,-1),n)}function Ge(e,t){for(var r="",n=An(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function Ua(e,t,r,n){switch(e.type){case Ea:if(e.children.length)break;case Ra:case En:return e.return=e.return||e.value;case Vo:return"";case Ko:return e.return=e.value+"{"+Ge(e.children,n)+"}";case Rn:e.value=e.props.join(",")}return ye(r=Ge(e.children,n))?e.return=e.value+"{"+r+"}":""}function qa(e){var t=An(e);return function(r,n,i,o){for(var s="",a=0;a<t;a++)s+=e[a](r,n,i,o)||"";return s}}function Ha(e){return function(t){t.root||(t=t.return)&&e(t)}}function Zo(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Qa=function(t,r,n){for(var i=0,o=0;i=o,o=_e(),i===38&&o===12&&(r[n]=1),!_t(o);)se();return Et(t,ne)},Va=function(t,r){var n=-1,i=44;do switch(_t(i)){case 0:i===38&&_e()===12&&(r[n]=1),t[n]+=Qa(ne-1,r,n);break;case 2:t[n]+=Vt(i);break;case 4:if(i===44){t[++n]=_e()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=ur(i)}while(i=se());return t},Ka=function(t,r){return Xo(Va(Yo(t),r))},gi=new WeakMap,Ja=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&&!gi.get(n))&&!i){gi.set(t,!0);for(var o=[],s=Ka(r,o),a=n.props,c=0,d=0;c<s.length;c++)for(var f=0;f<a.length;f++,d++)t.props[d]=o[c]?s[c].replace(/&\f/g,a[f]):a[f]+" "+s[c]}}},Ga=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function es(e,t){switch(Ia(e,t)){case 5103:return N+"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 N+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return N+e+Xt+e+X+e+e;case 6828:case 4268:return N+e+X+e+e;case 6165:return N+e+X+"flex-"+e+e;case 5187:return N+e+F(e,/(\w+).+(:[^]+)/,N+"box-$1$2"+X+"flex-$1$2")+e;case 5443:return N+e+X+"flex-item-"+F(e,/flex-|-self/,"")+e;case 4675:return N+e+X+"flex-line-pack"+F(e,/align-content|flex-|-self/,"")+e;case 5548:return N+e+X+F(e,"shrink","negative")+e;case 5292:return N+e+X+F(e,"basis","preferred-size")+e;case 6060:return N+"box-"+F(e,"-grow","")+N+e+X+F(e,"grow","positive")+e;case 4554:return N+F(e,/([^-])(transform)/g,"$1"+N+"$2")+e;case 6187:return F(F(F(e,/(zoom-|grab)/,N+"$1"),/(image-set)/,N+"$1"),e,"")+e;case 5495:case 3959:return F(e,/(image-set\([^]*)/,N+"$1$`$1");case 4968:return F(F(e,/(.+:)(flex-)?(.*)/,N+"box-pack:$3"+X+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+N+e+e;case 4095:case 3583:case 4068:case 2532:return F(e,/(.+)-inline(.+)/,N+"$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(ye(e)-1-t>6)switch(G(e,t+1)){case 109:if(G(e,t+4)!==45)break;case 102:return F(e,/(.+:)(.+)-([^]+)/,"$1"+N+"$2-$3$1"+Xt+(G(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Hr(e,"stretch")?es(F(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(G(e,t+1)!==115)break;case 6444:switch(G(e,ye(e)-3-(~Hr(e,"!important")&&10))){case 107:return F(e,":",":"+N)+e;case 101:return F(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+N+(G(e,14)===45?"inline-":"")+"box$3$1"+N+"$2$3$1"+X+"$2box$3")+e}break;case 5936:switch(G(e,t+11)){case 114:return N+e+X+F(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return N+e+X+F(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return N+e+X+F(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return N+e+X+e+e}return e}var Ya=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case En:t.return=es(t.value,t.length);break;case Ko:return Ge([st(t,{value:F(t.value,"@","@"+N)})],i);case Rn:if(t.length)return $a(t.props,function(o){switch(Ma(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ge([st(t,{props:[F(o,/:(read-\w+)/,":"+Xt+"$1")]})],i);case"::placeholder":return Ge([st(t,{props:[F(o,/:(plac\w+)/,":"+N+"input-$1")]}),st(t,{props:[F(o,/:(plac\w+)/,":"+Xt+"$1")]}),st(t,{props:[F(o,/:(plac\w+)/,X+"input-$1")]})],i)}return""})}},Xa=[Ya],ts=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 _=b.getAttribute("data-emotion");_.indexOf(" ")!==-1&&(document.head.appendChild(b),b.setAttribute("data-s",""))})}var i=t.stylisPlugins||Xa,o={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(b){for(var _=b.getAttribute("data-emotion").split(" "),m=1;m<_.length;m++)o[_[m]]=!0;a.push(b)});var c,d=[Ja,Ga];{var f,u=[Ua,Ha(function(b){f.insert(b)})],p=qa(d.concat(i,u)),l=function(_){return Ge(Ba(_),p)};c=function(_,m,y,h){f=y,l(_?_+"{"+m.styles+"}":m.styles),h&&(g.inserted[m.name]=!0)}}var g={key:r,sheet:new Pa({key:r,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:c};return g.sheet.hydrate(a),g};function Vr(){return Vr=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},Vr.apply(this,arguments)}function Za(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 rs={exports:{}},L={};/** @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 Y=typeof Symbol=="function"&&Symbol.for,io=Y?Symbol.for("react.element"):60103,oo=Y?Symbol.for("react.portal"):60106,wn=Y?Symbol.for("react.fragment"):60107,Sn=Y?Symbol.for("react.strict_mode"):60108,Cn=Y?Symbol.for("react.profiler"):60114,En=Y?Symbol.for("react.provider"):60109,xn=Y?Symbol.for("react.context"):60110,ao=Y?Symbol.for("react.async_mode"):60111,Tn=Y?Symbol.for("react.concurrent_mode"):60111,kn=Y?Symbol.for("react.forward_ref"):60112,Rn=Y?Symbol.for("react.suspense"):60113,Vl=Y?Symbol.for("react.suspense_list"):60120,On=Y?Symbol.for("react.memo"):60115,An=Y?Symbol.for("react.lazy"):60116,Yl=Y?Symbol.for("react.block"):60121,Kl=Y?Symbol.for("react.fundamental"):60117,Jl=Y?Symbol.for("react.responder"):60118,Xl=Y?Symbol.for("react.scope"):60119;function me(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case io:switch(e=e.type,e){case ao:case Tn:case wn:case Cn:case Sn:case Rn:return e;default:switch(e=e&&e.$$typeof,e){case xn:case kn:case An:case On:case En:return e;default:return t}}case oo:return t}}}function sc(e){return me(e)===Tn}B.AsyncMode=ao;B.ConcurrentMode=Tn;B.ContextConsumer=xn;B.ContextProvider=En;B.Element=io;B.ForwardRef=kn;B.Fragment=wn;B.Lazy=An;B.Memo=On;B.Portal=oo;B.Profiler=Cn;B.StrictMode=Sn;B.Suspense=Rn;B.isAsyncMode=function(e){return sc(e)||me(e)===ao};B.isConcurrentMode=sc;B.isContextConsumer=function(e){return me(e)===xn};B.isContextProvider=function(e){return me(e)===En};B.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===io};B.isForwardRef=function(e){return me(e)===kn};B.isFragment=function(e){return me(e)===wn};B.isLazy=function(e){return me(e)===An};B.isMemo=function(e){return me(e)===On};B.isPortal=function(e){return me(e)===oo};B.isProfiler=function(e){return me(e)===Cn};B.isStrictMode=function(e){return me(e)===Sn};B.isSuspense=function(e){return me(e)===Rn};B.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===wn||e===Tn||e===Cn||e===Sn||e===Rn||e===Vl||typeof e=="object"&&e!==null&&(e.$$typeof===An||e.$$typeof===On||e.$$typeof===En||e.$$typeof===xn||e.$$typeof===kn||e.$$typeof===Kl||e.$$typeof===Jl||e.$$typeof===Xl||e.$$typeof===Yl)};B.typeOf=me;ac.exports=B;var Zl=ac.exports,cc=Zl,ed={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},td={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},uc={};uc[cc.ForwardRef]=ed;uc[cc.Memo]=td;var rd=!0;function lc(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):n+=i+" "}),n}var so=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||rd===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},co=function(t,r,n){so(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 nd(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 id={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},od=/[A-Z]|^ms/g,ad=/_EMO_([^_]+?)_([^]*?)_EMO_/g,dc=function(t){return t.charCodeAt(1)===45},sa=function(t){return t!=null&&typeof t!="boolean"},Un=nc(function(e){return dc(e)?e:e.replace(od,"-$&").toLowerCase()}),ca=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(ad,function(n,i,o){return Te={name:i,styles:o,next:Te},i})}return id[t]!==1&&!dc(t)&&typeof r=="number"&&r!==0?r+"px":r};function lr(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Te={name:r.name,styles:r.styles,next:Te},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Te={name:n.name,styles:n.styles,next:Te},n=n.next;var i=r.styles+";";return i}return sd(e,t,r)}case"function":{if(e!==void 0){var o=Te,a=r(e);return Te=o,lr(e,t,a)}break}}if(t==null)return r;var s=t[r];return s!==void 0?s:r}function sd(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=lr(e,t,r[i])+";";else for(var o in r){var a=r[o];if(typeof a!="object")t!=null&&t[a]!==void 0?n+=o+"{"+t[a]+"}":sa(a)&&(n+=Un(o)+":"+ca(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++)sa(a[s])&&(n+=Un(o)+":"+ca(o,a[s])+";");else{var c=lr(e,t,a);switch(o){case"animation":case"animationName":{n+=Un(o)+":"+c+";";break}default:n+=o+"{"+c+"}"}}}return n}var ua=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Te,In=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,o="";Te=void 0;var a=t[0];a==null||a.raw===void 0?(i=!1,o+=lr(n,r,a)):o+=a[0];for(var s=1;s<t.length;s++)o+=lr(n,r,t[s]),i&&(o+=a[s]);ua.lastIndex=0;for(var c="",u;(u=ua.exec(o))!==null;)c+="-"+u[1];var d=nd(o)+c;return{name:d,styles:o,next:Te}},cd=function(t){return t()},fc=sr.useInsertionEffect?sr.useInsertionEffect:!1,pc=fc||cd,la=fc||ut,Pn={}.hasOwnProperty,hc=yn(typeof HTMLElement<"u"?oc({key:"css"}):null),ud=hc.Provider,uo=function(t){return Xi(function(r,n){var i=Ft(hc);return t(r,i,n)})},lo=yn({}),hi="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",mc=function(t,r){var n={};for(var i in r)Pn.call(r,i)&&(n[i]=r[i]);return n[hi]=t,n},ld=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return so(r,n,i),pc(function(){return co(r,n,i)}),null},dd=uo(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var i=e[hi],o=[n],a="";typeof e.className=="string"?a=lc(t.registered,o,e.className):e.className!=null&&(a=e.className+" ");var s=In(o,void 0,Ft(lo));a+=t.key+"-"+s.name;var c={};for(var u in e)Pn.call(e,u)&&u!=="css"&&u!==hi&&(c[u]=e[u]);return c.ref=r,c.className=a,q(pe,null,q(ld,{cache:t,serialized:s,isStringTag:typeof i=="string"}),q(i,c))}),vc=dd,fd=uo(function(e,t){var r=e.styles,n=In([r],void 0,Ft(lo)),i=ve();return la(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]),la(function(){var o=i.current,a=o[0],s=o[1];if(s){o[1]=!1;return}if(n.next!==void 0&&co(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 pd(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return In(t)}var hd=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:--hd,__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 md=pe;function S(e,t,r){return Pn.call(t,"css")?tn(vc,mc(e,t),r):tn(e,t,r)}function R(e,t,r){return Pn.call(t,"css")?tn(vc,mc(e,t),r):tn(e,t,r)}const $t=({size:e=48})=>S("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:[S("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"}),S("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 vd=/^((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)-.*))$/,yd=nc(function(e){return vd.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),gd=yd,bd=function(t){return t!=="theme"},da=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?gd:bd},fa=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},_d=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return so(r,n,i),pc(function(){return co(r,n,i)}),null},wd=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=fa(t,r,n),c=s||da(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=uo(function(b,y,m){var g=u&&b.as||i,h="",_=[],C=b;if(b.theme==null){C={};for(var E in b)C[E]=b[E];C.theme=Ft(lo)}typeof b.className=="string"?h=lc(y.registered,_,b.className):b.className!=null&&(h=b.className+" ");var w=In(l.concat(_),y.registered,C);h+=y.key+"-"+w.name,a!==void 0&&(h+=" "+a);var x=u&&s===void 0?da(g):c,T={};for(var k in b)u&&k==="as"||x(k)&&(T[k]=b[k]);return T.className=h,T.ref=m,q(pe,null,q(_d,{cache:y,serialized:w,isStringTag:typeof g=="string"}),q(g,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,y){return e(b,pi({},r,y,{shouldForwardProp:fa(v,y,!0)})).apply(void 0,l)},v}},Sd=["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=wd.bind();Sd.forEach(function(e){rn[e]=rn(e)});function J(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 Cd=typeof Symbol=="function"&&Symbol.observable||"@@observable",pa=Cd,jn=()=>Math.random().toString(36).substring(7).split("").join("."),Ed={INIT:`@@redux/INIT${jn()}`,REPLACE:`@@redux/REPLACE${jn()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${jn()}`},nn=Ed;function Ie(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 yc(e,t,r){if(typeof e!="function")throw new Error(J(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(J(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(J(1));return r(yc)(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,m)=>{a.set(m,y)}))}function d(){if(c)throw new Error(J(3));return i}function l(y){if(typeof y!="function")throw new Error(J(4));if(c)throw new Error(J(5));let m=!0;u();const g=s++;return a.set(g,y),function(){if(m){if(c)throw new Error(J(6));m=!1,u(),a.delete(g),o=null}}}function p(y){if(!Ie(y))throw new Error(J(7));if(typeof y.type>"u")throw new Error(J(8));if(typeof y.type!="string")throw new Error(J(17));if(c)throw new Error(J(9));try{c=!0,i=n(i,y)}finally{c=!1}return(o=a).forEach(g=>{g()}),y}function f(y){if(typeof y!="function")throw new Error(J(10));n=y,p({type:nn.REPLACE})}function v(){const y=l;return{subscribe(m){if(typeof m!="object"||m===null)throw new Error(J(11));function g(){const _=m;_.next&&_.next(d())}return g(),{unsubscribe:y(g)}},[pa](){return this}}}return p({type:nn.INIT}),{dispatch:p,subscribe:l,getState:d,replaceReducer:f,[pa]:v}}function xd(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:nn.INIT})>"u")throw new Error(J(12));if(typeof r(void 0,{type:nn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(J(13))})}function gc(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{xd(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(J(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 Td(...e){return t=>(r,n)=>{const i=t(r,n);let o=()=>{throw new Error(J(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 bc(e){return Ie(e)&&"type"in e&&typeof e.type=="string"}var fo=Symbol.for("immer-nothing"),Zt=Symbol.for("immer-draftable"),ue=Symbol.for("immer-state");function Z(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var it=Object.getPrototypeOf;function we(e){return!!e&&!!e[ue]}function Se(e){var t;return e?_c(e)||Array.isArray(e)||!!e[Zt]||!!((t=e.constructor)!=null&&t[Zt])||Cr(e)||Er(e):!1}var kd=Object.prototype.constructor.toString();function _c(e){if(!e||typeof e!="object")return!1;const t=it(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)===kd}function Rd(e){return we(e)||Z(15,e),e[ue].base_}function Ot(e,t){ot(e)===0?Object.entries(e).forEach(([r,n])=>{t(r,n,e)}):e.forEach((r,n)=>t(n,r,e))}function ot(e){const t=e[ue];return t?t.type_:Array.isArray(e)?1:Cr(e)?2:Er(e)?3:0}function dr(e,t){return ot(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function zn(e,t){return ot(e)===2?e.get(t):e[t]}function wc(e,t,r){const n=ot(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function Od(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Cr(e){return e instanceof Map}function Er(e){return e instanceof Set}function Je(e){return e.copy_||e.base_}function mi(e,t){if(Cr(e))return new Map(e);if(Er(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&_c(e))return it(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(it(e),r)}function po(e,t=!1){return Ln(e)||we(e)||!Se(e)||(ot(e)>1&&(e.set=e.add=e.clear=e.delete=Ad),Object.freeze(e),t&&Ot(e,(r,n)=>po(n,!0))),e}function Ad(){Z(2)}function Ln(e){return Object.isFrozen(e)}var vi={};function at(e){const t=vi[e];return t||Z(0,e),t}function Id(e,t){vi[e]||(vi[e]=t)}var fr;function Sc(){return fr}function Pd(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function ha(e,t){t&&(at("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function yi(e){gi(e),e.drafts_.forEach(Ld),e.drafts_=null}function gi(e){e===fr&&(fr=e.parent_)}function ma(e){return fr=Pd(fr,e)}function Ld(e){const t=e[ue];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function va(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[ue].modified_&&(yi(t),Z(4)),Se(e)&&(e=an(t,e),t.parent_||sn(t,e)),t.patches_&&at("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!==fo?e:void 0}function an(e,t,r){if(Ln(t))return t;const n=t[ue];if(!n)return Ot(t,(i,o)=>ya(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),Ot(o,(s,c)=>ya(e,n,i,s,c,r,a)),sn(e,i,!1),r&&e.patches_&&at("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function ya(e,t,r,n,i,o,a){if(we(i)){const s=o&&t&&t.type_!==3&&!dr(t.assigned_,n)?o.concat(n):void 0,c=an(e,i,s);if(wc(r,n,c),we(c))e.canAutoFreeze_=!1;else return}else a&&r.add(i);if(Se(i)&&!Ln(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_&&po(t,r)}function Nd(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:Sc(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=n,o=ho;r&&(i=[n],o=pr);const{revoke:a,proxy:s}=Proxy.revocable(i,o);return n.draft_=s,n.revoke_=a,s}var ho={get(e,t){if(t===ue)return e;const r=Je(e);if(!dr(r,t))return Md(e,r,t);const n=r[t];return e.finalized_||!Se(n)?n:n===Hn(e.base_,t)?(Wn(e),e.copy_[t]=_i(n,e)):n},has(e,t){return t in Je(e)},ownKeys(e){return Reflect.ownKeys(Je(e))},set(e,t,r){const n=Cc(Je(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const i=Hn(Je(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(Od(r,i)&&(r!==void 0||dr(e.base_,t)))return!0;Wn(e),bi(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 Hn(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Wn(e),bi(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=Je(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){Z(11)},getPrototypeOf(e){return it(e.base_)},setPrototypeOf(){Z(12)}},pr={};Ot(ho,(e,t)=>{pr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});pr.deleteProperty=function(e,t){return pr.set.call(this,e,t,void 0)};pr.set=function(e,t,r){return ho.set.call(this,e[0],t,r,e[0])};function Hn(e,t){const r=e[ue];return(r?Je(r):e)[t]}function Md(e,t,r){var i;const n=Cc(t,r);return n?"value"in n?n.value:(i=n.get)==null?void 0:i.call(e.draft_):void 0}function Cc(e,t){if(!(t in e))return;let r=it(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=it(r)}}function bi(e){e.modified_||(e.modified_=!0,e.parent_&&bi(e.parent_))}function Wn(e){e.copy_||(e.copy_=mi(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Fd=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"&&Z(6),n!==void 0&&typeof n!="function"&&Z(7);let i;if(Se(t)){const o=ma(this),a=_i(t,void 0);let s=!0;try{i=r(a),s=!1}finally{s?yi(o):gi(o)}return ha(o,n),va(i,o)}else if(!t||typeof t!="object"){if(i=r(t),i===void 0&&(i=t),i===fo&&(i=void 0),this.autoFreeze_&&po(i,!0),n){const o=[],a=[];at("Patches").generateReplacementPatches_(t,i,o,a),n(o,a)}return i}else Z(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)||Z(8),we(e)&&(e=Ec(e));const t=ma(this),r=_i(e,void 0);return r[ue].isManual_=!0,gi(t),r}finishDraft(e,t){const r=e&&e[ue];(!r||!r.isManual_)&&Z(9);const{scope_:n}=r;return ha(n,t),va(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=at("Patches").applyPatches_;return we(e)?n(e,t):this.produce(e,i=>n(i,t))}};function _i(e,t){const r=Cr(e)?at("MapSet").proxyMap_(e,t):Er(e)?at("MapSet").proxySet_(e,t):Nd(e,t);return(t?t.scope_:Sc()).drafts_.push(r),r}function Ec(e){return we(e)||Z(10,e),xc(e)}function xc(e){if(!Se(e)||Ln(e))return e;const t=e[ue];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=mi(e,t.scope_.immer_.useStrictShallowCopy_)}else r=mi(e,!0);return Ot(r,(n,i)=>{wc(r,n,xc(i))}),t&&(t.finalized_=!1),r}function Dd(){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_:y,assigned_:m}=p,g=p.copy_;g.length<y.length&&([y,g]=[g,y],[v,b]=[b,v]);for(let h=0;h<y.length;h++)if(m[h]&&g[h]!==y[h]){const _=f.concat([h]);v.push({op:t,path:_,value:l(g[h])}),b.push({op:t,path:_,value:l(y[h])})}for(let h=y.length;h<g.length;h++){const _=f.concat([h]);v.push({op:r,path:_,value:l(g[h])})}for(let h=g.length-1;y.length<=h;--h){const _=f.concat([h]);b.push({op:n,path:_})}}function a(p,f,v,b){const{base_:y,copy_:m}=p;Ot(p.assigned_,(g,h)=>{const _=zn(y,g),C=zn(m,g),E=h?dr(y,g)?t:r:n;if(_===C&&E===t)return;const w=f.concat(g);v.push(E===n?{op:E,path:w}:{op:E,path:w,value:C}),b.push(E===r?{op:n,path:w}:E===n?{op:r,path:w,value:l(_)}:{op:t,path:w,value:l(_)})})}function s(p,f,v,b){let{base_:y,copy_:m}=p,g=0;y.forEach(h=>{if(!m.has(h)){const _=f.concat([g]);v.push({op:n,path:_,value:h}),b.unshift({op:r,path:_,value:h})}g++}),g=0,m.forEach(h=>{if(!y.has(h)){const _=f.concat([g]);v.push({op:r,path:_,value:h}),b.unshift({op:n,path:_,value:h})}g++})}function c(p,f,v,b){v.push({op:t,path:[],value:f===fo?void 0:f}),b.push({op:t,path:[],value:p})}function u(p,f){return f.forEach(v=>{const{path:b,op:y}=v;let m=p;for(let C=0;C<b.length-1;C++){const E=ot(m);let w=b[C];typeof w!="string"&&typeof w!="number"&&(w=""+w),(E===0||E===1)&&(w==="__proto__"||w==="constructor")&&Z(19),typeof m=="function"&&w==="prototype"&&Z(19),m=zn(m,w),typeof m!="object"&&Z(18,b.join("/"))}const g=ot(m),h=d(v.value),_=b[b.length-1];switch(y){case t:switch(g){case 2:return m.set(_,h);case 3:Z(16);default:return m[_]=h}case r:switch(g){case 1:return _==="-"?m.push(h):m.splice(_,0,h);case 2:return m.set(_,h);case 3:return m.add(h);default:return m[_]=h}case n:switch(g){case 1:return m.splice(_,1);case 2:return m.delete(_);case 3:return m.delete(v.value);default:return delete m[_]}default:Z(17,y)}}),p}function d(p){if(!Se(p))return p;if(Array.isArray(p))return p.map(d);if(Cr(p))return new Map(Array.from(p.entries()).map(([v,b])=>[v,d(b)]));if(Er(p))return new Set(Array.from(p).map(d));const f=Object.create(it(p));for(const v in p)f[v]=d(p[v]);return dr(p,Zt)&&(f[Zt]=p[Zt]),f}function l(p){return we(p)?d(p):p}Id("Patches",{applyPatches_:u,generatePatches_:i,generateReplacementPatches_:c})}var he=new Fd,xr=he.produce,Tc=he.produceWithPatches.bind(he);he.setAutoFreeze.bind(he);he.setUseStrictShallowCopy.bind(he);var ga=he.applyPatches.bind(he);he.createDraft.bind(he);he.finishDraft.bind(he);function $d(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function Bd(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function Ud(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 ba=e=>Array.isArray(e)?e:[e];function jd(e){const t=Array.isArray(e[0])?e[0]:e;return Ud(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function zd(e,t){const r=[],{length:n}=e;for(let i=0;i<n;i++)r.push(e[i].apply(null,t));return r}var Hd=class{constructor(e){this.value=e}deref(){return this.value}},Wd=typeof WeakRef<"u"?WeakRef:Hd,qd=0,_a=1;function Nr(){return{s:qd,v:void 0,o:null,p:null}}function hr(e,t={}){let r=Nr();const{resultEqualityCheck:n}=t;let i,o=0;function a(){var l;let s=r;const{length:c}=arguments;for(let p=0,f=c;p<f;p++){const v=arguments[p];if(typeof v=="function"||typeof v=="object"&&v!==null){let b=s.o;b===null&&(s.o=b=new WeakMap);const y=b.get(v);y===void 0?(s=Nr(),b.set(v,s)):s=y}else{let b=s.p;b===null&&(s.p=b=new Map);const y=b.get(v);y===void 0?(s=Nr(),b.set(v,s)):s=y}}const u=s;let d;if(s.s===_a?d=s.v:(d=e.apply(null,arguments),o++),u.s=_a,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 Wd(d):d}return u.v=d,d}return a.clearCache=()=>{r=Nr(),a.resetResultsCount()},a.resultsCount=()=>o,a.resetResultsCount=()=>{o=0},a}function kc(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()),$d(u,`createSelector expects an output function after the inputs, but received: [${typeof u}]`);const d={...r,...c},{memoize:l,memoizeOptions:p=[],argsMemoize:f=hr,argsMemoizeOptions:v=[],devModeChecks:b={}}=d,y=ba(p),m=ba(v),g=jd(i),h=l(function(){return o++,u.apply(null,arguments)},...y),_=f(function(){a++;const E=zd(g,arguments);return s=h.apply(null,E),s},...m);return Object.assign(_,{resultFunc:u,memoizedResultFunc:h,dependencies:g,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=kc(hr),Gd=Object.assign((e,t=Et)=>{Bd(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:()=>Gd});function Rc(e){return({dispatch:r,getState:n})=>i=>o=>typeof o=="function"?o(r,n,e):i(o)}var Qd=Rc(),Vd=Rc,Yd=(...e)=>{const t=kc(...e);return(...r)=>{const n=t(...r),i=(o,...a)=>n(we(o)?Ec(o):o,...a);return Object.assign(i,n),i}};Yd(hr);var Kd=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)},Jd=e=>e&&typeof e.match=="function";function ae(e,t){function r(...n){if(t){let i=t(...n);if(!i)throw new Error(ge(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=>bc(n)&&n.type===e,r}var Oc=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 wa(e){return Se(e)?xr(e,()=>{}):e}function Sa(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(ge(10));const n=r.insert(t,e);return e.set(t,n),n}function Xd(e){return typeof e=="boolean"}var Zd=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t??{};let a=new Oc;return r&&(Xd(r)?a.push(Qd):a.push(Vd(r.extraArgument))),a},_t="RTK_autoBatch",qt=()=>e=>({payload:e,meta:{[_t]:!0}}),Ac=e=>t=>{setTimeout(t,e)},ef=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Ac(10),tf=(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"?ef:e.type==="callback"?e.queueNotification:Ac(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}}})},rf=e=>function(r){const{autoBatch:n=!0}=r??{};let i=new Oc(e);return n&&i.push(tf(typeof n=="object"?n:void 0)),i},nf=!0;function of(e){const t=Zd(),{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(Ie(r))s=gc(r);else throw new Error(ge(1));let c;typeof n=="function"?c=n(t):c=t();let u=on;i&&(u=Kd({trace:!nf,...typeof i=="object"&&i}));const d=Td(...c),l=rf(d);let p=typeof a=="function"?a(l):l();const f=u(...p);return yc(s,o,f)}function Ic(e){const t={},r=[];let n;const i={addCase(o,a){const s=typeof o=="string"?o:o.type;if(!s)throw new Error(ge(28));if(s in t)throw new Error(ge(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 af(e){return typeof e=="function"}function sf(e,t){let[r,n,i]=Ic(t),o;if(af(e))o=()=>wa(e());else{const s=wa(e);o=()=>s}function a(s=o(),c){let u=[r[c.type],...n.filter(({matcher:d})=>d(c)).map(({reducer:d})=>d)];return u.filter(d=>!!d).length===0&&(u=[i]),u.reduce((d,l)=>{if(l)if(we(d)){const f=l(d,c);return f===void 0?d:f}else{if(Se(d))return xr(d,p=>l(p,c));{const p=l(d,c);if(p===void 0){if(d===null)return d;throw new Error(ge(9))}return p}}return d},s)}return a.getInitialState=o,a}var cf="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Pc=(e=21)=>{let t="",r=e;for(;r--;)t+=cf[Math.random()*64|0];return t},Lc=(e,t)=>Jd(e)?e.match(t):e(t);function He(...e){return t=>e.some(r=>Lc(r,t))}function er(...e){return t=>e.every(r=>Lc(r,t))}function Nn(e,t){if(!e||!e.meta)return!1;const r=typeof e.meta.requestId=="string",n=t.indexOf(e.meta.requestStatus)>-1;return r&&n}function Tr(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function mo(...e){return e.length===0?t=>Nn(t,["pending"]):Tr(e)?t=>{const r=e.map(i=>i.pending);return He(...r)(t)}:mo()(e[0])}function At(...e){return e.length===0?t=>Nn(t,["rejected"]):Tr(e)?t=>{const r=e.map(i=>i.rejected);return He(...r)(t)}:At()(e[0])}function Mn(...e){const t=r=>r&&r.meta&&r.meta.rejectedWithValue;return e.length===0?r=>er(At(...e),t)(r):Tr(e)?r=>er(At(...e),t)(r):Mn()(e[0])}function We(...e){return e.length===0?t=>Nn(t,["fulfilled"]):Tr(e)?t=>{const r=e.map(i=>i.fulfilled);return He(...r)(t)}:We()(e[0])}function wi(...e){return e.length===0?t=>Nn(t,["pending","fulfilled","rejected"]):Tr(e)?t=>{const r=[];for(const i of e)r.push(i.pending,i.rejected,i.fulfilled);return He(...r)(t)}:wi()(e[0])}var uf=["name","message","stack","code"],qn=class{constructor(e,t){Dn(this,"_type");this.payload=e,this.meta=t}},Ca=class{constructor(e,t){Dn(this,"_type");this.payload=e,this.meta=t}},lf=e=>{if(typeof e=="object"&&e!==null){const t={};for(const r of uf)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},Ea=(()=>{function e(t,r,n){const i=ae(t+"/fulfilled",(c,u,d,l)=>({payload:c,meta:{...l||{},arg:d,requestId:u,requestStatus:"fulfilled"}})),o=ae(t+"/pending",(c,u,d)=>({payload:void 0,meta:{...d||{},arg:u,requestId:c,requestStatus:"pending"}})),a=ae(t+"/rejected",(c,u,d,l,p)=>({payload:l,error:(n&&n.serializeError||lf)(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):Pc(),f=new AbortController;let v;function b(m){v=m,f.abort()}const y=async function(){var h,_;let m;try{let C=(h=n==null?void 0:n.condition)==null?void 0:h.call(n,c,{getState:d,extra:l});if(ff(C)&&(C=await C),C===!1||f.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const E=new Promise((w,x)=>f.signal.addEventListener("abort",()=>x({name:"AbortError",message:v||"Aborted"})));u(o(p,c,(_=n==null?void 0:n.getPendingMeta)==null?void 0:_.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:(w,x)=>new qn(w,x),fulfillWithValue:(w,x)=>new Ca(w,x)})).then(w=>{if(w instanceof qn)throw w;return w instanceof Ca?i(w.payload,p,c,w.meta):i(w,p,c)})])}catch(C){m=C instanceof qn?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(y,{abort:b,requestId:p,arg:c,unwrap(){return y.then(df)}})}}return Object.assign(s,{pending:o,rejected:a,fulfilled:i,settled:He(a,i),typePrefix:t})}return e.withTypes=()=>e,e})();function df(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function ff(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var pf=Symbol.for("rtk-slice-createasyncthunk");function hf(e,t){return`${e}/${t}`}function mf({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[pf];return function(i){const{name:o,reducerPath:a=o}=i;if(!o)throw new Error(ge(11));typeof process<"u";const s=(typeof i.reducers=="function"?i.reducers(yf()):i.reducers)||{},c=Object.keys(s),u={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},d={addCase(y,m){const g=typeof y=="string"?y:y.type;if(!g)throw new Error(ge(12));if(g in u.sliceCaseReducersByType)throw new Error(ge(13));return u.sliceCaseReducersByType[g]=m,d},addMatcher(y,m){return u.sliceMatchers.push({matcher:y,reducer:m}),d},exposeAction(y,m){return u.actionCreators[y]=m,d},exposeCaseReducer(y,m){return u.sliceCaseReducersByName[y]=m,d}};c.forEach(y=>{const m=s[y],g={reducerName:y,type:hf(o,y),createNotation:typeof i.reducers=="function"};bf(m)?wf(g,m,d,t):gf(g,m,d)});function l(){const[y={},m=[],g=void 0]=typeof i.extraReducers=="function"?Ic(i.extraReducers):[i.extraReducers],h={...y,...u.sliceCaseReducersByType};return sf(i.initialState,_=>{for(let C in h)_.addCase(C,h[C]);for(let C of u.sliceMatchers)_.addMatcher(C.matcher,C.reducer);for(let C of m)_.addMatcher(C.matcher,C.reducer);g&&_.addDefaultCase(g)})}const p=y=>y,f=new WeakMap;let v;const b={name:o,reducerPath:a,reducer(y,m){return v||(v=l()),v(y,m)},actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState(){return v||(v=l()),v.getInitialState()},getSelectors(y=p){const m=Sa(f,this,{insert:()=>new WeakMap});return Sa(m,y,{insert:()=>{const g={};for(const[h,_]of Object.entries(i.selectors??{}))g[h]=vf(this,_,y,this!==b);return g}})},selectSlice(y){let m=y[this.reducerPath];return typeof m>"u"&&this!==b&&(m=this.getInitialState()),m},get selectors(){return this.getSelectors(this.selectSlice)},injectInto(y,{reducerPath:m,...g}={}){const h=m??this.reducerPath;return y.inject({reducerPath:h,reducer:this.reducer},g),{...this,reducerPath:h}}};return b}}function vf(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=mf();function yf(){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 gf({type:e,reducerName:t,createNotation:r},n,i){let o,a;if("reducer"in n){if(r&&!_f(n))throw new Error(ge(17));o=n.reducer,a=n.prepare}else o=n;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,a?ae(e,a):ae(e))}function bf(e){return e._reducerDefinitionType==="asyncThunk"}function _f(e){return e._reducerDefinitionType==="reducerWithPrepare"}function wf({type:e,reducerName:t},r,n,i){if(!i)throw new Error(ge(18));const{payloadCreator:o,fulfilled:a,pending:s,rejected:c,settled:u,options:d}=r,l=i(e,o,d);n.exposeAction(t,l),a&&n.addCase(l.fulfilled,a),s&&n.addCase(l.pending,s),c&&n.addCase(l.rejected,c),u&&n.addMatcher(l.settled,u),n.exposeCaseReducer(t,{fulfilled:a||Mr,pending:s||Mr,rejected:c||Mr,settled:u||Mr})}function Mr(){}var vo="listenerMiddleware";ae(`${vo}/add`);ae(`${vo}/removeAll`);ae(`${vo}/remove`);function ge(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 Nc=(e=>(e.uninitialized="uninitialized",e.pending="pending",e.fulfilled="fulfilled",e.rejected="rejected",e))(Nc||{});function Sf(e){return{status:e,isUninitialized:e==="uninitialized",isLoading:e==="pending",isSuccess:e==="fulfilled",isError:e==="rejected"}}function Cf(e){return new RegExp("(^|:)//").test(e)}var Ef=e=>e.replace(/\/$/,""),xf=e=>e.replace(/^\//,"");function Tf(e,t){if(!e)return t;if(!t)return e;if(Cf(t))return t;const r=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=Ef(e),t=xf(t),`${e}${r}${t}`}var xa=e=>[].concat(...e);function kf(){return typeof navigator>"u"||navigator.onLine===void 0?!0:navigator.onLine}function Rf(){return typeof document>"u"?!0:document.visibilityState!=="hidden"}var Ta=Ie;function Mc(e,t){if(e===t||!(Ta(e)&&Ta(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]=Mc(e[a],t[a]),i&&(i=e[a]===o[a]);return i?e:o}var ka=(...e)=>fetch(...e),Of=e=>e.status>=200&&e.status<=299,Af=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function Ra(e){if(!Ie(e))return e;const t={...e};for(const[r,n]of Object.entries(t))n===void 0&&delete t[r];return t}function If({baseUrl:e,prepareHeaders:t=l=>l,fetchFn:r=ka,paramsSerializer:n,isJsonContentType:i=Af,jsonContentType:o="application/json",jsonReplacer:a,timeout:s,responseHandler:c,validateStatus:u,...d}={}){return typeof fetch>"u"&&r===ka&&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:y,endpoint:m,forced:g,type:h}=f;let _,{url:C,headers:E=new Headers(d.headers),params:w=void 0,responseHandler:x=c??"json",validateStatus:T=u??Of,timeout:k=s,...A}=typeof p=="string"?{url:p}:p,O={...d,signal:v,...A};E=new Headers(Ra(E)),O.headers=await t(E,{getState:b,extra:y,endpoint:m,forced:g,type:h})||E;const P=z=>typeof z=="object"&&(Ie(z)||Array.isArray(z)||typeof z.toJSON=="function");if(!O.headers.has("content-type")&&P(O.body)&&O.headers.set("content-type",o),P(O.body)&&i(O.headers)&&(O.body=JSON.stringify(O.body,a)),w){const z=~C.indexOf("?")?"&":"?",Ve=n?n(w):new URLSearchParams(Ra(w));C+=z+Ve}C=Tf(e,C);const L=new Request(C,O);_={request:new Request(C,O)};let K,U=!1,N=k&&setTimeout(()=>{U=!0,f.abort()},k);try{K=await r(L)}catch(z){return{error:{status:U?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(z)},meta:_}}finally{N&&clearTimeout(N)}const oe=K.clone();_.response=oe;let V,Ee="";try{let z;if(await Promise.all([l(K,x).then(Ve=>V=Ve,Ve=>z=Ve),oe.text().then(Ve=>Ee=Ve,()=>{})]),z)throw z}catch(z){return{error:{status:"PARSING_ERROR",originalStatus:K.status,data:Ee,error:String(z)},meta:_}}return T(K,V)?{data:V,meta:_}:{error:{status:K.status,data:V},meta:_}};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 Oa=class{constructor(e,t=void 0){this.value=e,this.meta=t}},yo=ae("__rtkq/focused"),Fc=ae("__rtkq/unfocused"),go=ae("__rtkq/online"),Dc=ae("__rtkq/offline");function $c(e){return e.type==="query"}function Pf(e){return e.type==="mutation"}function bo(e,t,r,n,i,o){return Lf(e)?e(t,r,n,i).map(Si).map(o):Array.isArray(e)?e.map(Si).map(o):[]}function Lf(e){return typeof e=="function"}function Si(e){return typeof e=="string"?{type:e}:e}function Aa(e){return e!=null}function xt(e){let t=0;for(const r in e)t++;return t}var mr=Symbol("forceQueryFn"),Ci=e=>typeof e[mr]=="function";function Nf({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(y,m){return g=>{var C;const h=i.endpointDefinitions[y],_=e({queryArgs:m,endpointDefinition:h,endpointName:y});return(C=o.get(g))==null?void 0:C[_]}}function l(y,m){return g=>{var h;return(h=a.get(g))==null?void 0:h[m]}}function p(){return y=>Object.values(o.get(y)||{}).filter(Aa)}function f(){return y=>Object.values(a.get(y)||{}).filter(Aa)}function v(y,m){const g=(h,{subscribe:_=!0,forceRefetch:C,subscriptionOptions:E,[mr]:w}={})=>(x,T)=>{var Ee;const k=e({queryArgs:h,endpointDefinition:m,endpointName:y}),A=t({type:"query",subscribe:_,forceRefetch:C,subscriptionOptions:E,endpointName:y,originalArgs:h,queryCacheKey:k,[mr]:w}),O=n.endpoints[y].select(h),P=x(A),L=O(T()),{requestId:H,abort:K}=P,U=L.requestId!==H,N=(Ee=o.get(x))==null?void 0:Ee[k],oe=()=>O(T()),V=Object.assign(w?P.then(oe):U&&!N?Promise.resolve(L):Promise.all([N,P]).then(oe),{arg:h,requestId:H,subscriptionOptions:E,queryCacheKey:k,abort:K,async unwrap(){const z=await V;if(z.isError)throw z.error;return z.data},refetch:()=>x(g(h,{subscribe:!1,forceRefetch:!0})),unsubscribe(){_&&x(s({queryCacheKey:k,requestId:H}))},updateSubscriptionOptions(z){V.subscriptionOptions=z,x(u({endpointName:y,requestId:H,queryCacheKey:k,options:z}))}});if(!N&&!U&&!w){const z=o.get(x)||{};z[k]=V,o.set(x,z),V.then(()=>{delete z[k],xt(z)||o.delete(x)})}return V};return g}function b(y){return(m,{track:g=!0,fixedCacheKey:h}={})=>(_,C)=>{const E=r({type:"mutation",endpointName:y,originalArgs:m,track:g,fixedCacheKey:h}),w=_(E),{requestId:x,abort:T,unwrap:k}=w,A=w.unwrap().then(H=>({data:H})).catch(H=>({error:H})),O=()=>{_(c({requestId:x,fixedCacheKey:h}))},P=Object.assign(A,{arg:w.arg,requestId:x,abort:T,unwrap:k,reset:O}),L=a.get(_)||{};return a.set(_,L),L[x]=P,P.then(()=>{delete L[x],xt(L)||a.delete(_)}),h&&(L[h]=P,P.then(()=>{L[h]===P&&(delete L[h],xt(L)||a.delete(_))})),P}}}function Ia(e){return e}function Mf({reducerPath:e,baseQuery:t,context:{endpointDefinitions:r},serializeQueryArgs:n,api:i,assertTagType:o}){const a=(g,h,_,C)=>(E,w)=>{const x=r[g],T=n({queryArgs:h,endpointDefinition:x,endpointName:g});if(E(i.internalActions.queryResultPatched({queryCacheKey:T,patches:_})),!C)return;const k=i.endpoints[g].select(h)(w()),A=bo(x.providesTags,k.data,void 0,h,{},o);E(i.internalActions.updateProvidedBy({queryCacheKey:T,providedTags:A}))},s=(g,h,_,C=!0)=>(E,w)=>{const T=i.endpoints[g].select(h)(w());let k={patches:[],inversePatches:[],undo:()=>E(i.util.patchQueryData(g,h,k.inversePatches,C))};if(T.status==="uninitialized")return k;let A;if("data"in T)if(Se(T.data)){const[O,P,L]=Tc(T.data,_);k.patches.push(...P),k.inversePatches.push(...L),A=O}else A=_(T.data),k.patches.push({op:"replace",path:[],value:A}),k.inversePatches.push({op:"replace",path:[],value:T.data});return E(i.util.patchQueryData(g,h,k.patches,C)),k},c=(g,h,_)=>C=>C(i.endpoints[g].initiate(h,{subscribe:!1,forceRefetch:!0,[mr]:()=>({data:_})})),u=async(g,{signal:h,abort:_,rejectWithValue:C,fulfillWithValue:E,dispatch:w,getState:x,extra:T})=>{const k=r[g.endpointName];try{let A=Ia,O;const P={signal:h,abort:_,dispatch:w,getState:x,extra:T,endpoint:g.endpointName,type:g.type,forced:g.type==="query"?d(g,x()):void 0},L=g.type==="query"?g[mr]:void 0;if(L?O=L():k.query?(O=await t(k.query(g.originalArgs),P,k.extraOptions),k.transformResponse&&(A=k.transformResponse)):O=await k.queryFn(g.originalArgs,P,k.extraOptions,H=>t(H,P,k.extraOptions)),typeof process<"u",O.error)throw new Oa(O.error,O.meta);return E(await A(O.data,O.meta,g.originalArgs),{fulfilledTimeStamp:Date.now(),baseQueryMeta:O.meta,[_t]:!0})}catch(A){let O=A;if(O instanceof Oa){let P=Ia;k.query&&k.transformErrorResponse&&(P=k.transformErrorResponse);try{return C(await P(O.value,O.meta,g.originalArgs),{baseQueryMeta:O.meta,[_t]:!0})}catch(L){O=L}}throw typeof process<"u",console.error(O),O}};function d(g,h){var x,T,k;const _=(T=(x=h[e])==null?void 0:x.queries)==null?void 0:T[g.queryCacheKey],C=(k=h[e])==null?void 0:k.config.refetchOnMountOrArgChange,E=_==null?void 0:_.fulfilledTimeStamp,w=g.forceRefetch??(g.subscribe&&C);return w?w===!0||(Number(new Date)-Number(E))/1e3>=w:!1}const l=Ea(`${e}/executeQuery`,u,{getPendingMeta(){return{startedTimeStamp:Date.now(),[_t]:!0}},condition(g,{getState:h}){var k,A,O;const _=h(),C=(A=(k=_[e])==null?void 0:k.queries)==null?void 0:A[g.queryCacheKey],E=C==null?void 0:C.fulfilledTimeStamp,w=g.originalArgs,x=C==null?void 0:C.originalArgs,T=r[g.endpointName];return Ci(g)?!0:(C==null?void 0:C.status)==="pending"?!1:d(g,_)||$c(T)&&((O=T==null?void 0:T.forceRefetch)!=null&&O.call(T,{currentArg:w,previousArg:x,endpointState:C,state:_}))?!0:!E},dispatchConditionRejection:!0}),p=Ea(`${e}/executeMutation`,u,{getPendingMeta(){return{startedTimeStamp:Date.now(),[_t]:!0}}}),f=g=>"force"in g,v=g=>"ifOlderThan"in g,b=(g,h,_)=>(C,E)=>{const w=f(_)&&_.force,x=v(_)&&_.ifOlderThan,T=(A=!0)=>i.endpoints[g].initiate(h,{forceRefetch:A}),k=i.endpoints[g].select(h)(E());if(w)C(T());else if(x){const A=k==null?void 0:k.fulfilledTimeStamp;if(!A){C(T());return}(Number(new Date)-Number(new Date(A)))/1e3>=x&&C(T())}else C(T(!1))};function y(g){return h=>{var _,C;return((C=(_=h==null?void 0:h.meta)==null?void 0:_.arg)==null?void 0:C.endpointName)===g}}function m(g,h){return{matchPending:er(mo(g),y(h)),matchFulfilled:er(We(g),y(h)),matchRejected:er(At(g),y(h))}}return{queryThunk:l,mutationThunk:p,prefetch:b,updateQueryData:s,upsertQueryData:c,patchQueryData:a,buildMatchThunkActions:m}}function Bc(e,t,r,n){return bo(r[e.meta.arg.endpointName][t],We(e)?e.payload:void 0,Mn(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,n)}function Fr(e,t,r){const n=e[t];n&&r(n)}function vr(e){return("arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)??e.requestId}function Pa(e,t,r){const n=e[vr(t)];n&&r(n)}var Gt={};function Ff({reducerPath:e,queryThunk:t,mutationThunk:r,context:{endpointDefinitions:n,apiUid:i,extractRehydrationInfo:o,hasRehydrationInfo:a},assertTagType:s,config:c}){const u=ae(`${e}/resetApiState`),d=Ue({name:`${e}/queries`,initialState:Gt,reducers:{removeQueryResult:{reducer(h,{payload:{queryCacheKey:_}}){delete h[_]},prepare:qt()},queryResultPatched:{reducer(h,{payload:{queryCacheKey:_,patches:C}}){Fr(h,_,E=>{E.data=ga(E.data,C.concat())})},prepare:qt()}},extraReducers(h){h.addCase(t.pending,(_,{meta:C,meta:{arg:E}})=>{var x;const w=Ci(E);_[x=E.queryCacheKey]??(_[x]={status:"uninitialized",endpointName:E.endpointName}),Fr(_,E.queryCacheKey,T=>{T.status="pending",T.requestId=w&&T.requestId?T.requestId:C.requestId,E.originalArgs!==void 0&&(T.originalArgs=E.originalArgs),T.startedTimeStamp=C.startedTimeStamp})}).addCase(t.fulfilled,(_,{meta:C,payload:E})=>{Fr(_,C.arg.queryCacheKey,w=>{if(w.requestId!==C.requestId&&!Ci(C.arg))return;const{merge:x}=n[C.arg.endpointName];if(w.status="fulfilled",x)if(w.data!==void 0){const{fulfilledTimeStamp:T,arg:k,baseQueryMeta:A,requestId:O}=C;let P=xr(w.data,L=>x(L,E,{arg:k.originalArgs,baseQueryMeta:A,fulfilledTimeStamp:T,requestId:O}));w.data=P}else w.data=E;else w.data=n[C.arg.endpointName].structuralSharing??!0?Mc(we(w.data)?Rd(w.data):w.data,E):E;delete w.error,w.fulfilledTimeStamp=C.fulfilledTimeStamp})}).addCase(t.rejected,(_,{meta:{condition:C,arg:E,requestId:w},error:x,payload:T})=>{Fr(_,E.queryCacheKey,k=>{if(!C){if(k.requestId!==w)return;k.status="rejected",k.error=T??x}})}).addMatcher(a,(_,C)=>{const{queries:E}=o(C);for(const[w,x]of Object.entries(E))((x==null?void 0:x.status)==="fulfilled"||(x==null?void 0:x.status)==="rejected")&&(_[w]=x)})}}),l=Ue({name:`${e}/mutations`,initialState:Gt,reducers:{removeMutationResult:{reducer(h,{payload:_}){const C=vr(_);C in h&&delete h[C]},prepare:qt()}},extraReducers(h){h.addCase(r.pending,(_,{meta:C,meta:{requestId:E,arg:w,startedTimeStamp:x}})=>{w.track&&(_[vr(C)]={requestId:E,status:"pending",endpointName:w.endpointName,startedTimeStamp:x})}).addCase(r.fulfilled,(_,{payload:C,meta:E})=>{E.arg.track&&Pa(_,E,w=>{w.requestId===E.requestId&&(w.status="fulfilled",w.data=C,w.fulfilledTimeStamp=E.fulfilledTimeStamp)})}).addCase(r.rejected,(_,{payload:C,error:E,meta:w})=>{w.arg.track&&Pa(_,w,x=>{x.requestId===w.requestId&&(x.status="rejected",x.error=C??E)})}).addMatcher(a,(_,C)=>{const{mutations:E}=o(C);for(const[w,x]of Object.entries(E))((x==null?void 0:x.status)==="fulfilled"||(x==null?void 0:x.status)==="rejected")&&w!==(x==null?void 0:x.requestId)&&(_[w]=x)})}}),p=Ue({name:`${e}/invalidation`,initialState:Gt,reducers:{updateProvidedBy:{reducer(h,_){var w,x;const{queryCacheKey:C,providedTags:E}=_.payload;for(const T of Object.values(h))for(const k of Object.values(T)){const A=k.indexOf(C);A!==-1&&k.splice(A,1)}for(const{type:T,id:k}of E){const A=(w=h[T]??(h[T]={}))[x=k||"__internal_without_id"]??(w[x]=[]);A.includes(C)||A.push(C)}},prepare:qt()}},extraReducers(h){h.addCase(d.actions.removeQueryResult,(_,{payload:{queryCacheKey:C}})=>{for(const E of Object.values(_))for(const w of Object.values(E)){const x=w.indexOf(C);x!==-1&&w.splice(x,1)}}).addMatcher(a,(_,C)=>{var w,x;const{provided:E}=o(C);for(const[T,k]of Object.entries(E))for(const[A,O]of Object.entries(k)){const P=(w=_[T]??(_[T]={}))[x=A||"__internal_without_id"]??(w[x]=[]);for(const L of O)P.includes(L)||P.push(L)}}).addMatcher(He(We(t),Mn(t)),(_,C)=>{const E=Bc(C,"providesTags",n,s),{queryCacheKey:w}=C.meta.arg;p.caseReducers.updateProvidedBy(_,p.actions.updateProvidedBy({queryCacheKey:w,providedTags:E}))})}}),f=Ue({name:`${e}/subscriptions`,initialState:Gt,reducers:{updateSubscriptionOptions(h,_){},unsubscribeQueryResult(h,_){},internal_getRTKQSubscriptions(){}}}),v=Ue({name:`${e}/internalSubscriptions`,initialState:Gt,reducers:{subscriptionsUpdated:{reducer(h,_){return ga(h,_.payload)},prepare:qt()}}}),b=Ue({name:`${e}/config`,initialState:{online:kf(),focused:Rf(),middlewareRegistered:!1,...c},reducers:{middlewareRegistered(h,{payload:_}){h.middlewareRegistered=h.middlewareRegistered==="conflict"||i!==_?"conflict":!0}},extraReducers:h=>{h.addCase(go,_=>{_.online=!0}).addCase(Dc,_=>{_.online=!1}).addCase(yo,_=>{_.focused=!0}).addCase(Fc,_=>{_.focused=!1}).addMatcher(a,_=>({..._}))}}),y=gc({queries:d.reducer,mutations:l.reducer,provided:p.reducer,subscriptions:v.reducer,config:b.reducer}),m=(h,_)=>y(u.match(_)?void 0:h,_),g={...b.actions,...d.actions,...f.actions,...v.actions,...l.actions,...p.actions,resetApiState:u};return{reducer:m,actions:g}}var et=Symbol.for("RTKQ/skipToken"),Uc={status:"uninitialized"},La=xr(Uc,()=>{}),Na=xr(Uc,()=>{});function Df({serializeQueryArgs:e,reducerPath:t}){const r=d=>La,n=d=>Na;return{buildQuerySelector:a,buildMutationSelector:s,selectInvalidatedBy:c,selectCachedArgsForQuery:u};function i(d){return{...d,...Sf(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===et?r:y=>{var m,g;return((g=(m=o(y))==null?void 0:m.queries)==null?void 0:g[f])??La},i)}}function s(){return d=>{let l;return typeof d=="object"?l=vr(d)??et:l=d,Et(l===et?n:v=>{var b,y;return((y=(b=o(v))==null?void 0:b.mutations)==null?void 0:y[l])??Na},i)}}function c(d,l){const p=d[t],f=new Set;for(const v of l.map(Si)){const b=p.provided[v.type];if(!b)continue;let y=(v.id!==void 0?b[v.id]:xa(Object.values(b)))??[];for(const m of y)f.add(m)}return xa(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,Ma=({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)=>Ie(a)?Object.keys(a).sort().reduce((s,c)=>(s[c]=a[c],s),{}):a);Ie(t)&&(mt==null||mt.set(t,i)),r=i}return`${e}(${r})`};function $f(...e){return function(r){const n=hr(u=>{var d;return(d=r.extractRehydrationInfo)==null?void 0:d.call(r,u,{reducerPath:r.reducerPath??"api"})}),i={reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1,invalidationBehavior:"delayed",...r,extractRehydrationInfo:n,serializeQueryArgs(u){let d=Ma;if("serializeQueryArgs"in u.endpointDefinition){const l=u.endpointDefinition.serializeQueryArgs;d=p=>{const f=l(p);return typeof f=="string"?f:Ma({...p,queryArgs:f})}}else r.serializeQueryArgs&&(d=r.serializeQueryArgs);return d(u)},tagTypes:[...r.tagTypes||[]]},o={endpointDefinitions:{},batch(u){u()},apiUid:Pc(),extractRehydrationInfo:n,hasRehydrationInfo:hr(u=>n(u)!=null)},a={injectEndpoints:c,enhanceEndpoints({addTagTypes:u,endpoints:d}){if(u)for(const l of u)i.tagTypes.includes(l)||i.tagTypes.push(l);if(d)for(const[l,p]of Object.entries(d))typeof p=="function"?p(o.endpointDefinitions[l]):Object.assign(o.endpointDefinitions[l]||{},p);return a}},s=e.map(u=>u.init(a,i,o));function c(u){const d=u.endpoints({query:l=>({...l,type:"query"}),mutation:l=>({...l,type:"mutation"})});for(const[l,p]of Object.entries(d)){if(!u.overrideExisting&&l in o.endpointDefinitions){typeof process<"u";continue}o.endpointDefinitions[l]=p;for(const f of s)f.injectEndpoint(l,p)}return a}return a.injectEndpoints({endpoints:r.endpoints})}}function Bf(e){for(let t in e)return!1;return!0}var Uf=2147483647/1e3-1,jf=({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&&!Bf(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[y,m]of Object.entries(b))u(y,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 y=Math.max(0,Math.min(b,Uf));if(!a(d)){const m=s[d];m&&clearTimeout(m),s[d]=setTimeout(()=>{a(d)||p.dispatch(i({queryCacheKey:d})),delete s[d]},y*1e3)}}return c},zf=({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(We(n),Mn(n)),l=He(We(n,i),At(n,i));let p=[];const f=(y,m)=>{d(y)?b(Bc(y,"invalidatesTags",r,a),m):l(y)?b([],m):o.util.invalidateTags.match(y)&&b(bo(y.payload,void 0,void 0,void 0,void 0,a),m)};function v(y){var m,g;for(const h in y.queries)if(((m=y.queries[h])==null?void 0:m.status)==="pending")return!0;for(const h in y.mutations)if(((g=y.mutations[h])==null?void 0:g.status)==="pending")return!0;return!1}function b(y,m){const g=m.getState(),h=g[e];if(p.push(...y),h.config.invalidationBehavior==="delayed"&&v(h))return;const _=p;if(p=[],_.length===0)return;const C=o.util.selectInvalidatedBy(g,_);t.batch(()=>{const E=Array.from(C.values());for(const{queryCacheKey:w}of E){const x=h.queries[w],T=c.currentSubscriptions[w]??{};x&&(xt(T)===0?m.dispatch(u({queryCacheKey:w})):x.status!=="uninitialized"&&m.dispatch(s(x,w)))}})}return f},Hf=({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],y=i.currentSubscriptions[p];if(!b||b.status==="uninitialized")return;const m=l(y);if(!Number.isFinite(m))return;const g=o[p];g!=null&&g.timeout&&(clearTimeout(g.timeout),g.timeout=void 0);const h=Date.now()+m,_=o[p]={nextPollTimestamp:h,pollingInterval:m,timeout:setTimeout(()=>{_.timeout=void 0,f.dispatch(n(b,p))},m)}}function c({queryCacheKey:p},f){const b=f.getState()[e].queries[p],y=i.currentSubscriptions[p];if(!b||b.status==="uninitialized")return;const m=l(y);if(!Number.isFinite(m)){u(p);return}const g=o[p],h=Date.now()+m;(!g||h<g.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},Wf=({reducerPath:e,context:t,api:r,refetchQuery:n,internalState:i})=>{const{removeQueryResult:o}=r.internalActions,a=(c,u)=>{yo.match(c)&&s(u,"refetchOnFocus"),go.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},Fa=new Error("Promise never resolved before cacheEntryRemoved."),qf=({api:e,reducerPath:t,context:r,queryThunk:n,mutationThunk:i,internalState:o})=>{const a=wi(n),s=wi(i),c=We(n,i),u={},d=(f,v,b)=>{const y=l(f);if(n.pending.match(f)){const m=b[t].queries[y],g=v.getState()[t].queries[y];!m&&g&&p(f.meta.arg.endpointName,f.meta.arg.originalArgs,y,v,f.meta.requestId)}else if(i.pending.match(f))v.getState()[t].mutations[y]&&p(f.meta.arg.endpointName,f.meta.arg.originalArgs,y,v,f.meta.requestId);else if(c(f)){const m=u[y];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[y];m&&(delete u[y],m.cacheEntryRemoved())}else if(e.util.resetApiState.match(f))for(const[m,g]of Object.entries(u))delete u[m],g.cacheEntryRemoved()};function l(f){return a(f)?f.meta.arg.queryCacheKey:s(f)?f.meta.requestId:e.internalActions.removeQueryResult.match(f)?f.payload.queryCacheKey:e.internalActions.removeMutationResult.match(f)?vr(f.payload):""}function p(f,v,b,y,m){const g=r.endpointDefinitions[f],h=g==null?void 0:g.onCacheEntryAdded;if(!h)return;let _={};const C=new Promise(A=>{_.cacheEntryRemoved=A}),E=Promise.race([new Promise(A=>{_.valueResolved=A}),C.then(()=>{throw Fa})]);E.catch(()=>{}),u[b]=_;const w=e.endpoints[f].select(g.type==="query"?v:b),x=y.dispatch((A,O,P)=>P),T={...y,getCacheEntry:()=>w(y.getState()),requestId:m,extra:x,updateCachedData:g.type==="query"?A=>y.dispatch(e.util.updateQueryData(f,v,A)):void 0,cacheDataLoaded:E,cacheEntryRemoved:C},k=h(v,T);Promise.resolve(k).catch(A=>{if(A!==Fa)throw A})}return d},Gf=({api:e,context:t,queryThunk:r,mutationThunk:n})=>{const i=mo(r,n),o=At(r,n),a=We(r,n),s={};return(u,d)=>{var l,p;if(i(u)){const{requestId:f,arg:{endpointName:v,originalArgs:b}}=u.meta,y=t.endpointDefinitions[v],m=y==null?void 0:y.onQueryStarted;if(m){const g={},h=new Promise((w,x)=>{g.resolve=w,g.reject=x});h.catch(()=>{}),s[f]=g;const _=e.endpoints[v].select(y.type==="query"?b:f),C=d.dispatch((w,x,T)=>T),E={...d,getCacheEntry:()=>_(d.getState()),requestId:f,extra:C,updateCachedData:y.type==="query"?w=>d.dispatch(e.util.updateQueryData(v,b,w)):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]}}},Qf=({api:e,context:{apiUid:t},reducerPath:r})=>(n,i)=>{e.util.resetApiState.match(n)&&i.dispatch(e.internalActions.middlewareRegistered(t)),typeof process<"u"},Vf=({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 y,m,g;if(a.match(v)){const{queryCacheKey:h,requestId:_,options:C}=v.payload;return(y=f==null?void 0:f[h])!=null&&y[_]&&(f[h][_]=C),!0}if(s.match(v)){const{queryCacheKey:h,requestId:_}=v.payload;return f[h]&&delete f[h][_],!0}if(e.internalActions.removeQueryResult.match(v))return delete f[v.payload.queryCacheKey],!0;if(t.pending.match(v)){const{meta:{arg:h,requestId:_}}=v,C=f[m=h.queryCacheKey]??(f[m]={});return C[`${_}_running`]={},h.subscribe&&(C[_]=h.subscriptionOptions??C[_]??{}),!0}let b=!1;if(t.fulfilled.match(v)||t.rejected.match(v)){const h=f[v.meta.arg.queryCacheKey]||{},_=`${v.meta.requestId}_running`;b||(b=!!h[_]),delete h[_]}if(t.rejected.match(v)){const{meta:{condition:h,arg:_,requestId:C}}=v;if(h&&_.subscribe){const E=f[g=_.queryCacheKey]??(f[g]={});E[C]=_.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 y;const b=u();return!!((y=b==null?void 0:b[f])!=null&&y[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 y=!0;if(b){o||(o=setTimeout(()=>{const h=JSON.parse(JSON.stringify(r.currentSubscriptions)),[,_]=Tc(i,()=>h);v.next(e.internalActions.subscriptionsUpdated(_)),i=h,o=null},500));const m=typeof f.type=="string"&&!!f.type.startsWith(n),g=t.rejected.match(f)&&f.meta.condition&&!!f.meta.arg.subscribe;y=!m&&!g}return[y,!1]}};function Yf(e){const{reducerPath:t,queryThunk:r,api:n,context:i}=e,{apiUid:o}=i,a={invalidateTags:ae(`${t}/invalidateTags`)},s=l=>l.type.startsWith(`${t}/`),c=[Qf,jf,zf,Hf,qf,Gf];return{middleware:l=>{let p=!1;const v={...e,internalState:{currentSubscriptions:{}},refetchQuery:d,isThisApiSliceAction:s},b=c.map(g=>g(v)),y=Vf(v),m=Wf(v);return g=>h=>{if(!bc(h))return g(h);p||(p=!0,l.dispatch(n.internalActions.middlewareRegistered(o)));const _={...l,next:g},C=l.getState(),[E,w]=y(h,_,C);let x;if(E?x=g(h):x=w,l.getState()[t]&&(m(h,_,C),s(h)||i.hasRehydrationInfo(h)))for(let T of b)T(h,_,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 Da=Symbol(),Kf=()=>({name:Da,init(e,{baseQuery:t,tagTypes:r,reducerPath:n,serializeQueryArgs:i,keepUnusedDataFor:o,refetchOnMountOrArgChange:a,refetchOnFocus:s,refetchOnReconnect:c,invalidationBehavior:u},d){Dd();const l=U=>(typeof process<"u",U);Object.assign(e,{reducerPath:n,endpoints:{},internalActions:{onOnline:go,onOffline:Dc,onFocus:yo,onFocusLost:Fc},util:{}});const{queryThunk:p,mutationThunk:f,patchQueryData:v,updateQueryData:b,upsertQueryData:y,prefetch:m,buildMatchThunkActions:g}=Mf({baseQuery:t,reducerPath:n,context:d,api:e,serializeQueryArgs:i,assertTagType:l}),{reducer:h,actions:_}=Ff({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:y,prefetch:m,resetApiState:_.resetApiState}),Be(e.internalActions,_);const{middleware:C,actions:E}=Yf({reducerPath:n,context:d,queryThunk:p,mutationThunk:f,api:e,assertTagType:l});Be(e.util,E),Be(e,{reducer:h,middleware:C});const{buildQuerySelector:w,buildMutationSelector:x,selectInvalidatedBy:T,selectCachedArgsForQuery:k}=Df({serializeQueryArgs:i,reducerPath:n});Be(e.util,{selectInvalidatedBy:T,selectCachedArgsForQuery:k});const{buildInitiateQuery:A,buildInitiateMutation:O,getRunningMutationThunk:P,getRunningMutationsThunk:L,getRunningQueriesThunk:H,getRunningQueryThunk:K}=Nf({queryThunk:p,mutationThunk:f,api:e,serializeQueryArgs:i,context:d});return Be(e.util,{getRunningMutationThunk:P,getRunningMutationsThunk:L,getRunningQueryThunk:K,getRunningQueriesThunk:H}),{name:Da,injectEndpoint(U,N){var V;const oe=e;(V=oe.endpoints)[U]??(V[U]={}),$c(N)?Be(oe.endpoints[U],{name:U,select:w(U,N),initiate:A(U,N)},g(p,U)):Pf(N)&&Be(oe.endpoints[U],{name:U,select:x(),initiate:O(U)},g(f,U))}}}}),jc={exports:{}},zc={};const Jf=Ql(sr);/**
|
|
8
|
+
*/var V=typeof Symbol=="function"&&Symbol.for,On=V?Symbol.for("react.element"):60103,In=V?Symbol.for("react.portal"):60106,fr=V?Symbol.for("react.fragment"):60107,pr=V?Symbol.for("react.strict_mode"):60108,hr=V?Symbol.for("react.profiler"):60114,mr=V?Symbol.for("react.provider"):60109,yr=V?Symbol.for("react.context"):60110,Mn=V?Symbol.for("react.async_mode"):60111,gr=V?Symbol.for("react.concurrent_mode"):60111,_r=V?Symbol.for("react.forward_ref"):60112,vr=V?Symbol.for("react.suspense"):60113,ec=V?Symbol.for("react.suspense_list"):60120,br=V?Symbol.for("react.memo"):60115,wr=V?Symbol.for("react.lazy"):60116,tc=V?Symbol.for("react.block"):60121,rc=V?Symbol.for("react.fundamental"):60117,nc=V?Symbol.for("react.responder"):60118,ic=V?Symbol.for("react.scope"):60119;function ue(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case On:switch(e=e.type,e){case Mn:case gr:case fr:case hr:case pr:case vr:return e;default:switch(e=e&&e.$$typeof,e){case yr:case _r:case wr:case br:case mr:return e;default:return t}}case In:return t}}}function ns(e){return ue(e)===gr}L.AsyncMode=Mn;L.ConcurrentMode=gr;L.ContextConsumer=yr;L.ContextProvider=mr;L.Element=On;L.ForwardRef=_r;L.Fragment=fr;L.Lazy=wr;L.Memo=br;L.Portal=In;L.Profiler=hr;L.StrictMode=pr;L.Suspense=vr;L.isAsyncMode=function(e){return ns(e)||ue(e)===Mn};L.isConcurrentMode=ns;L.isContextConsumer=function(e){return ue(e)===yr};L.isContextProvider=function(e){return ue(e)===mr};L.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===On};L.isForwardRef=function(e){return ue(e)===_r};L.isFragment=function(e){return ue(e)===fr};L.isLazy=function(e){return ue(e)===wr};L.isMemo=function(e){return ue(e)===br};L.isPortal=function(e){return ue(e)===In};L.isProfiler=function(e){return ue(e)===hr};L.isStrictMode=function(e){return ue(e)===pr};L.isSuspense=function(e){return ue(e)===vr};L.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===fr||e===gr||e===hr||e===pr||e===vr||e===ec||typeof e=="object"&&e!==null&&(e.$$typeof===wr||e.$$typeof===br||e.$$typeof===mr||e.$$typeof===yr||e.$$typeof===_r||e.$$typeof===rc||e.$$typeof===nc||e.$$typeof===ic||e.$$typeof===tc)};L.typeOf=ue;rs.exports=L;var oc=rs.exports,is=oc,sc={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ac={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},os={};os[is.ForwardRef]=sc;os[is.Memo]=ac;var cc=!0;function ss(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):n+=i+" "}),n}var $n=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||cc===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},Nn=function(t,r,n){$n(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 uc(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 lc={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},dc=/[A-Z]|^ms/g,fc=/_EMO_([^_]+?)_([^]*?)_EMO_/g,as=function(t){return t.charCodeAt(1)===45},_i=function(t){return t!=null&&typeof t!="boolean"},Ar=Zo(function(e){return as(e)?e:e.replace(dc,"-$&").toLowerCase()}),vi=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(fc,function(n,i,o){return ge={name:i,styles:o,next:ge},i})}return lc[t]!==1&&!as(t)&&typeof r=="number"&&r!==0?r+"px":r};function vt(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 ge={name:r.name,styles:r.styles,next:ge},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)ge={name:n.name,styles:n.styles,next:ge},n=n.next;var i=r.styles+";";return i}return pc(e,t,r)}case"function":{if(e!==void 0){var o=ge,s=r(e);return ge=o,vt(e,t,s)}break}}if(t==null)return r;var a=t[r];return a!==void 0?a:r}function pc(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=vt(e,t,r[i])+";";else for(var o in r){var s=r[o];if(typeof s!="object")t!=null&&t[s]!==void 0?n+=o+"{"+t[s]+"}":_i(s)&&(n+=Ar(o)+":"+vi(o,s)+";");else if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var a=0;a<s.length;a++)_i(s[a])&&(n+=Ar(o)+":"+vi(o,s[a])+";");else{var c=vt(e,t,s);switch(o){case"animation":case"animationName":{n+=Ar(o)+":"+c+";";break}default:n+=o+"{"+c+"}"}}}return n}var bi=/label:\s*([^\s;\n{]+)\s*(;|$)/g,ge,Sr=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="";ge=void 0;var s=t[0];s==null||s.raw===void 0?(i=!1,o+=vt(n,r,s)):o+=s[0];for(var a=1;a<t.length;a++)o+=vt(n,r,t[a]),i&&(o+=s[a]);bi.lastIndex=0;for(var c="",d;(d=bi.exec(o))!==null;)c+="-"+d[1];var f=uc(o)+c;return{name:f,styles:o,next:ge}},hc=function(t){return t()},cs=yt.useInsertionEffect?yt.useInsertionEffect:!1,us=cs||hc,wi=cs||We,xr={}.hasOwnProperty,ls=cr(typeof HTMLElement<"u"?ts({key:"css"}):null),mc=ls.Provider,Fn=function(t){return Cn(function(r,n){var i=it(ls);return t(r,i,n)})},Dn=cr({}),Kr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ds=function(t,r){var n={};for(var i in r)xr.call(r,i)&&(n[i]=r[i]);return n[Kr]=t,n},yc=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return $n(r,n,i),us(function(){return Nn(r,n,i)}),null},gc=Fn(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var i=e[Kr],o=[n],s="";typeof e.className=="string"?s=ss(t.registered,o,e.className):e.className!=null&&(s=e.className+" ");var a=Sr(o,void 0,it(Dn));s+=t.key+"-"+a.name;var c={};for(var d in e)xr.call(e,d)&&d!=="css"&&d!==Kr&&(c[d]=e[d]);return c.ref=r,c.className=s,U(ae,null,U(yc,{cache:t,serialized:a,isStringTag:typeof i=="string"}),U(i,c))}),fs=gc,_c=Fn(function(e,t){var r=e.styles,n=Sr([r],void 0,it(Dn)),i=le();return wi(function(){var o=t.key+"-global",s=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,c=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),c!==null&&(a=!0,c.setAttribute("data-emotion",o),s.hydrate([c])),i.current=[s,a],function(){s.flush()}},[t]),wi(function(){var o=i.current,s=o[0],a=o[1];if(a){o[1]=!1;return}if(n.next!==void 0&&Nn(t,n.next,!0),s.tags.length){var c=s.tags[s.tags.length-1].nextElementSibling;s.before=c,s.flush()}t.insert("",n,s,!1)},[t,n.name]),null});function vc(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Sr(t)}var bc=0;function Zt(e,t,r,n,i,o){var s,a,c={};for(a in t)a=="ref"?s=t[a]:c[a]=t[a];var d={type:e,props:c,key:r,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--bc,__i:-1,__u:0,__source:i,__self:o};if(typeof e=="function"&&(s=e.defaultProps))for(a in s)c[a]===void 0&&(c[a]=s[a]);return O.vnode&&O.vnode(d),d}var At=ae;function w(e,t,r){return xr.call(t,"css")?Zt(fs,ds(e,t),r):Zt(e,t,r)}function R(e,t,r){return xr.call(t,"css")?Zt(fs,ds(e,t),r):Zt(e,t,r)}const Ln=({size:e=48})=>w("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:[w("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"}),w("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 wc=/^((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)-.*))$/,Sc=Zo(function(e){return wc.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),xc=Sc,kc=function(t){return t!=="theme"},Si=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?xc:kc},xi=function(t,r,n){var i;if(r){var o=r.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(s){return t.__emotion_forwardProp(s)&&o(s)}:o}return typeof i!="function"&&n&&(i=t.__emotion_forwardProp),i},Cc=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return $n(r,n,i),us(function(){return Nn(r,n,i)}),null},Tc=function e(t,r){var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,o,s;r!==void 0&&(o=r.label,s=r.target);var a=xi(t,r,n),c=a||Si(i),d=!c("as");return function(){var f=arguments,u=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&u.push("label:"+o+";"),f[0]==null||f[0].raw===void 0)u.push.apply(u,f);else{u.push(f[0][0]);for(var p=f.length,l=1;l<p;l++)u.push(f[l],f[0][l])}var g=Fn(function(b,_,m){var y=d&&b.as||i,h="",v=[],S=b;if(b.theme==null){S={};for(var k in b)S[k]=b[k];S.theme=it(Dn)}typeof b.className=="string"?h=ss(_.registered,v,b.className):b.className!=null&&(h=b.className+" ");var x=Sr(u.concat(v),_.registered,S);h+=_.key+"-"+x.name,s!==void 0&&(h+=" "+s);var C=d&&a===void 0?Si(y):c,T={};for(var P in b)d&&P==="as"||C(P)&&(T[P]=b[P]);return T.className=h,T.ref=m,U(ae,null,U(Cc,{cache:_,serialized:x,isStringTag:typeof y=="string"}),U(y,T))});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=u,g.__emotion_forwardProp=a,Object.defineProperty(g,"toString",{value:function(){return"."+s}}),g.withComponent=function(b,_){return e(b,Vr({},r,_,{shouldForwardProp:xi(g,_,!0)})).apply(void 0,u)},g}},Pc=["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"],er=Tc.bind();Pc.forEach(function(e){er[e]=er(e)});function J(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 Rc=typeof Symbol=="function"&&Symbol.observable||"@@observable",ki=Rc,Or=()=>Math.random().toString(36).substring(7).split("").join("."),Ec={INIT:`@@redux/INIT${Or()}`,REPLACE:`@@redux/REPLACE${Or()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Or()}`},tr=Ec;function be(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 ps(e,t,r){if(typeof e!="function")throw new Error(J(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(J(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(J(1));return r(ps)(e,t)}let n=e,i=t,o=new Map,s=o,a=0,c=!1;function d(){s===o&&(s=new Map,o.forEach((_,m)=>{s.set(m,_)}))}function f(){if(c)throw new Error(J(3));return i}function u(_){if(typeof _!="function")throw new Error(J(4));if(c)throw new Error(J(5));let m=!0;d();const y=a++;return s.set(y,_),function(){if(m){if(c)throw new Error(J(6));m=!1,d(),s.delete(y),o=null}}}function p(_){if(!be(_))throw new Error(J(7));if(typeof _.type>"u")throw new Error(J(8));if(typeof _.type!="string")throw new Error(J(17));if(c)throw new Error(J(9));try{c=!0,i=n(i,_)}finally{c=!1}return(o=s).forEach(y=>{y()}),_}function l(_){if(typeof _!="function")throw new Error(J(10));n=_,p({type:tr.REPLACE})}function g(){const _=u;return{subscribe(m){if(typeof m!="object"||m===null)throw new Error(J(11));function y(){const v=m;v.next&&v.next(f())}return y(),{unsubscribe:_(y)}},[ki](){return this}}}return p({type:tr.INIT}),{dispatch:p,subscribe:u,getState:f,replaceReducer:l,[ki]:g}}function Ac(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:tr.INIT})>"u")throw new Error(J(12));if(typeof r(void 0,{type:tr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(J(13))})}function hs(e){const t=Object.keys(e),r={};for(let o=0;o<t.length;o++){const s=t[o];typeof e[s]=="function"&&(r[s]=e[s])}const n=Object.keys(r);let i;try{Ac(r)}catch(o){i=o}return function(s={},a){if(i)throw i;let c=!1;const d={};for(let f=0;f<n.length;f++){const u=n[f],p=r[u],l=s[u],g=p(l,a);if(typeof g>"u")throw a&&a.type,new Error(J(14));d[u]=g,c=c||g!==l}return c=c||n.length!==Object.keys(s).length,c?d:s}}function rr(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function Oc(...e){return t=>(r,n)=>{const i=t(r,n);let o=()=>{throw new Error(J(15))};const s={getState:i.getState,dispatch:(c,...d)=>o(c,...d)},a=e.map(c=>c(s));return o=rr(...a)(i.dispatch),{...i,dispatch:o}}}function ms(e){return be(e)&&"type"in e&&typeof e.type=="string"}var jn=Symbol.for("immer-nothing"),ft=Symbol.for("immer-draftable"),ie=Symbol.for("immer-state");function Y(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var De=Object.getPrototypeOf;function pe(e){return!!e&&!!e[ie]}function he(e){var t;return e?ys(e)||Array.isArray(e)||!!e[ft]||!!((t=e.constructor)!=null&&t[ft])||Ot(e)||It(e):!1}var Ic=Object.prototype.constructor.toString();function ys(e){if(!e||typeof e!="object")return!1;const t=De(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)===Ic}function Mc(e){return pe(e)||Y(15,e),e[ie].base_}function rt(e,t){Le(e)===0?Object.entries(e).forEach(([r,n])=>{t(r,n,e)}):e.forEach((r,n)=>t(n,r,e))}function Le(e){const t=e[ie];return t?t.type_:Array.isArray(e)?1:Ot(e)?2:It(e)?3:0}function bt(e,t){return Le(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Ir(e,t){return Le(e)===2?e.get(t):e[t]}function gs(e,t,r){const n=Le(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function $c(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Ot(e){return e instanceof Map}function It(e){return e instanceof Set}function Me(e){return e.copy_||e.base_}function Jr(e,t){if(Ot(e))return new Map(e);if(It(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&ys(e))return De(e)?{...e}:Object.assign(Object.create(null),e);const r=Object.getOwnPropertyDescriptors(e);delete r[ie];let n=Reflect.ownKeys(r);for(let i=0;i<n.length;i++){const o=n[i],s=r[o];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(r[o]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[o]})}return Object.create(De(e),r)}function zn(e,t=!1){return kr(e)||pe(e)||!he(e)||(Le(e)>1&&(e.set=e.add=e.clear=e.delete=Nc),Object.freeze(e),t&&rt(e,(r,n)=>zn(n,!0))),e}function Nc(){Y(2)}function kr(e){return Object.isFrozen(e)}var Gr={};function je(e){const t=Gr[e];return t||Y(0,e),t}function Fc(e,t){Gr[e]||(Gr[e]=t)}var wt;function _s(){return wt}function Dc(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Ci(e,t){t&&(je("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Yr(e){Xr(e),e.drafts_.forEach(Lc),e.drafts_=null}function Xr(e){e===wt&&(wt=e.parent_)}function Ti(e){return wt=Dc(wt,e)}function Lc(e){const t=e[ie];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Pi(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[ie].modified_&&(Yr(t),Y(4)),he(e)&&(e=nr(t,e),t.parent_||ir(t,e)),t.patches_&&je("Patches").generateReplacementPatches_(r[ie].base_,e,t.patches_,t.inversePatches_)):e=nr(t,r,[]),Yr(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==jn?e:void 0}function nr(e,t,r){if(kr(t))return t;const n=t[ie];if(!n)return rt(t,(i,o)=>Ri(e,n,t,i,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return ir(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const i=n.copy_;let o=i,s=!1;n.type_===3&&(o=new Set(i),i.clear(),s=!0),rt(o,(a,c)=>Ri(e,n,i,a,c,r,s)),ir(e,i,!1),r&&e.patches_&&je("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function Ri(e,t,r,n,i,o,s){if(pe(i)){const a=o&&t&&t.type_!==3&&!bt(t.assigned_,n)?o.concat(n):void 0,c=nr(e,i,a);if(gs(r,n,c),pe(c))e.canAutoFreeze_=!1;else return}else s&&r.add(i);if(he(i)&&!kr(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;nr(e,i),(!t||!t.scope_.parent_)&&ir(e,i)}}function ir(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&zn(t,r)}function jc(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:_s(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=n,o=Bn;r&&(i=[n],o=St);const{revoke:s,proxy:a}=Proxy.revocable(i,o);return n.draft_=a,n.revoke_=s,a}var Bn={get(e,t){if(t===ie)return e;const r=Me(e);if(!bt(r,t))return zc(e,r,t);const n=r[t];return e.finalized_||!he(n)?n:n===Mr(e.base_,t)?($r(e),e.copy_[t]=en(n,e)):n},has(e,t){return t in Me(e)},ownKeys(e){return Reflect.ownKeys(Me(e))},set(e,t,r){const n=vs(Me(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const i=Mr(Me(e),t),o=i==null?void 0:i[ie];if(o&&o.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if($c(r,i)&&(r!==void 0||bt(e.base_,t)))return!0;$r(e),Zr(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 Mr(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,$r(e),Zr(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=Me(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){Y(11)},getPrototypeOf(e){return De(e.base_)},setPrototypeOf(){Y(12)}},St={};rt(Bn,(e,t)=>{St[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});St.deleteProperty=function(e,t){return St.set.call(this,e,t,void 0)};St.set=function(e,t,r){return Bn.set.call(this,e[0],t,r,e[0])};function Mr(e,t){const r=e[ie];return(r?Me(r):e)[t]}function zc(e,t,r){var i;const n=vs(t,r);return n?"value"in n?n.value:(i=n.get)==null?void 0:i.call(e.draft_):void 0}function vs(e,t){if(!(t in e))return;let r=De(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=De(r)}}function Zr(e){e.modified_||(e.modified_=!0,e.parent_&&Zr(e.parent_))}function $r(e){e.copy_||(e.copy_=Jr(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Bc=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 s=this;return function(c=o,...d){return s.produce(c,f=>r.call(this,f,...d))}}typeof r!="function"&&Y(6),n!==void 0&&typeof n!="function"&&Y(7);let i;if(he(t)){const o=Ti(this),s=en(t,void 0);let a=!0;try{i=r(s),a=!1}finally{a?Yr(o):Xr(o)}return Ci(o,n),Pi(i,o)}else if(!t||typeof t!="object"){if(i=r(t),i===void 0&&(i=t),i===jn&&(i=void 0),this.autoFreeze_&&zn(i,!0),n){const o=[],s=[];je("Patches").generateReplacementPatches_(t,i,o,s),n(o,s)}return i}else Y(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(s,...a)=>this.produceWithPatches(s,c=>t(c,...a));let n,i;return[this.produce(t,r,(s,a)=>{n=s,i=a}),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){he(e)||Y(8),pe(e)&&(e=bs(e));const t=Ti(this),r=en(e,void 0);return r[ie].isManual_=!0,Xr(t),r}finishDraft(e,t){const r=e&&e[ie];(!r||!r.isManual_)&&Y(9);const{scope_:n}=r;return Ci(n,t),Pi(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=je("Patches").applyPatches_;return pe(e)?n(e,t):this.produce(e,i=>n(i,t))}};function en(e,t){const r=Ot(e)?je("MapSet").proxyMap_(e,t):It(e)?je("MapSet").proxySet_(e,t):jc(e,t);return(t?t.scope_:_s()).drafts_.push(r),r}function bs(e){return pe(e)||Y(10,e),ws(e)}function ws(e){if(!he(e)||kr(e))return e;const t=e[ie];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=Jr(e,t.scope_.immer_.useStrictShallowCopy_)}else r=Jr(e,!0);return rt(r,(n,i)=>{gs(r,n,ws(i))}),t&&(t.finalized_=!1),r}function Wc(){const t="replace",r="add",n="remove";function i(p,l,g,b){switch(p.type_){case 0:case 2:return s(p,l,g,b);case 1:return o(p,l,g,b);case 3:return a(p,l,g,b)}}function o(p,l,g,b){let{base_:_,assigned_:m}=p,y=p.copy_;y.length<_.length&&([_,y]=[y,_],[g,b]=[b,g]);for(let h=0;h<_.length;h++)if(m[h]&&y[h]!==_[h]){const v=l.concat([h]);g.push({op:t,path:v,value:u(y[h])}),b.push({op:t,path:v,value:u(_[h])})}for(let h=_.length;h<y.length;h++){const v=l.concat([h]);g.push({op:r,path:v,value:u(y[h])})}for(let h=y.length-1;_.length<=h;--h){const v=l.concat([h]);b.push({op:n,path:v})}}function s(p,l,g,b){const{base_:_,copy_:m}=p;rt(p.assigned_,(y,h)=>{const v=Ir(_,y),S=Ir(m,y),k=h?bt(_,y)?t:r:n;if(v===S&&k===t)return;const x=l.concat(y);g.push(k===n?{op:k,path:x}:{op:k,path:x,value:S}),b.push(k===r?{op:n,path:x}:k===n?{op:r,path:x,value:u(v)}:{op:t,path:x,value:u(v)})})}function a(p,l,g,b){let{base_:_,copy_:m}=p,y=0;_.forEach(h=>{if(!m.has(h)){const v=l.concat([y]);g.push({op:n,path:v,value:h}),b.unshift({op:r,path:v,value:h})}y++}),y=0,m.forEach(h=>{if(!_.has(h)){const v=l.concat([y]);g.push({op:r,path:v,value:h}),b.unshift({op:n,path:v,value:h})}y++})}function c(p,l,g,b){g.push({op:t,path:[],value:l===jn?void 0:l}),b.push({op:t,path:[],value:p})}function d(p,l){return l.forEach(g=>{const{path:b,op:_}=g;let m=p;for(let S=0;S<b.length-1;S++){const k=Le(m);let x=b[S];typeof x!="string"&&typeof x!="number"&&(x=""+x),(k===0||k===1)&&(x==="__proto__"||x==="constructor")&&Y(19),typeof m=="function"&&x==="prototype"&&Y(19),m=Ir(m,x),typeof m!="object"&&Y(18,b.join("/"))}const y=Le(m),h=f(g.value),v=b[b.length-1];switch(_){case t:switch(y){case 2:return m.set(v,h);case 3:Y(16);default:return m[v]=h}case r:switch(y){case 1:return v==="-"?m.push(h):m.splice(v,0,h);case 2:return m.set(v,h);case 3:return m.add(h);default:return m[v]=h}case n:switch(y){case 1:return m.splice(v,1);case 2:return m.delete(v);case 3:return m.delete(g.value);default:return delete m[v]}default:Y(17,_)}}),p}function f(p){if(!he(p))return p;if(Array.isArray(p))return p.map(f);if(Ot(p))return new Map(Array.from(p.entries()).map(([g,b])=>[g,f(b)]));if(It(p))return new Set(Array.from(p).map(f));const l=Object.create(De(p));for(const g in p)l[g]=f(p[g]);return bt(p,ft)&&(l[ft]=p[ft]),l}function u(p){return pe(p)?f(p):p}Fc("Patches",{applyPatches_:d,generatePatches_:i,generateReplacementPatches_:c})}var ce=new Bc,Mt=ce.produce,Ss=ce.produceWithPatches.bind(ce);ce.setAutoFreeze.bind(ce);ce.setUseStrictShallowCopy.bind(ce);var Ei=ce.applyPatches.bind(ce);ce.createDraft.bind(ce);ce.finishDraft.bind(ce);function Uc(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function qc(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function Hc(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 Ai=e=>Array.isArray(e)?e:[e];function Qc(e){const t=Array.isArray(e[0])?e[0]:e;return Hc(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function Vc(e,t){const r=[],{length:n}=e;for(let i=0;i<n;i++)r.push(e[i].apply(null,t));return r}var Kc=class{constructor(e){this.value=e}deref(){return this.value}},Jc=typeof WeakRef<"u"?WeakRef:Kc,Gc=0,Oi=1;function jt(){return{s:Gc,v:void 0,o:null,p:null}}function xt(e,t={}){let r=jt();const{resultEqualityCheck:n}=t;let i,o=0;function s(){var u;let a=r;const{length:c}=arguments;for(let p=0,l=c;p<l;p++){const g=arguments[p];if(typeof g=="function"||typeof g=="object"&&g!==null){let b=a.o;b===null&&(a.o=b=new WeakMap);const _=b.get(g);_===void 0?(a=jt(),b.set(g,a)):a=_}else{let b=a.p;b===null&&(a.p=b=new Map);const _=b.get(g);_===void 0?(a=jt(),b.set(g,a)):a=_}}const d=a;let f;if(a.s===Oi?f=a.v:(f=e.apply(null,arguments),o++),d.s=Oi,n){const p=((u=i==null?void 0:i.deref)==null?void 0:u.call(i))??i;p!=null&&n(p,f)&&(f=p,o!==0&&o--),i=typeof f=="object"&&f!==null||typeof f=="function"?new Jc(f):f}return d.v=f,f}return s.clearCache=()=>{r=jt(),s.resetResultsCount()},s.resultsCount=()=>o,s.resetResultsCount=()=>{o=0},s}function xs(e,...t){const r=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,n=(...i)=>{let o=0,s=0,a,c={},d=i.pop();typeof d=="object"&&(c=d,d=i.pop()),Uc(d,`createSelector expects an output function after the inputs, but received: [${typeof d}]`);const f={...r,...c},{memoize:u,memoizeOptions:p=[],argsMemoize:l=xt,argsMemoizeOptions:g=[],devModeChecks:b={}}=f,_=Ai(p),m=Ai(g),y=Qc(i),h=u(function(){return o++,d.apply(null,arguments)},..._),v=l(function(){s++;const k=Vc(y,arguments);return a=h.apply(null,k),a},...m);return Object.assign(v,{resultFunc:d,memoizedResultFunc:h,dependencies:y,dependencyRecomputations:()=>s,resetDependencyRecomputations:()=>{s=0},lastResult:()=>a,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:u,argsMemoize:l})};return Object.assign(n,{withTypes:()=>n}),n}var Ye=xs(xt),Yc=Object.assign((e,t=Ye)=>{qc(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((s,a,c)=>(s[r[c]]=a,s),{}))},{withTypes:()=>Yc});function ks(e){return({dispatch:r,getState:n})=>i=>o=>typeof o=="function"?o(r,n,e):i(o)}var Xc=ks(),Zc=ks,eu=(...e)=>{const t=xs(...e);return(...r)=>{const n=t(...r),i=(o,...s)=>n(pe(o)?bs(o):o,...s);return Object.assign(i,n),i}};eu(xt);var tu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?rr:rr.apply(null,arguments)},ru=e=>e&&typeof e.match=="function";function te(e,t){function r(...n){if(t){let i=t(...n);if(!i)throw new Error(de(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=>ms(n)&&n.type===e,r}var Cs=class ut extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,ut.prototype)}static get[Symbol.species](){return ut}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new ut(...t[0].concat(this)):new ut(...t.concat(this))}};function Ii(e){return he(e)?Mt(e,()=>{}):e}function Mi(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(de(10));const n=r.insert(t,e);return e.set(t,n),n}function nu(e){return typeof e=="boolean"}var iu=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t??{};let s=new Cs;return r&&(nu(r)?s.push(Xc):s.push(Zc(r.extraArgument))),s},Ke="RTK_autoBatch",at=()=>e=>({payload:e,meta:{[Ke]:!0}}),Ts=e=>t=>{setTimeout(t,e)},ou=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Ts(10),su=(e={type:"raf"})=>t=>(...r)=>{const n=t(...r);let i=!0,o=!1,s=!1;const a=new Set,c=e.type==="tick"?queueMicrotask:e.type==="raf"?ou:e.type==="callback"?e.queueNotification:Ts(e.timeout),d=()=>{s=!1,o&&(o=!1,a.forEach(f=>f()))};return Object.assign({},n,{subscribe(f){const u=()=>i&&f(),p=n.subscribe(u);return a.add(f),()=>{p(),a.delete(f)}},dispatch(f){var u;try{return i=!((u=f==null?void 0:f.meta)!=null&&u[Ke]),o=!i,o&&(s||(s=!0,c(d))),n.dispatch(f)}finally{i=!0}}})},au=e=>function(r){const{autoBatch:n=!0}=r??{};let i=new Cs(e);return n&&i.push(su(typeof n=="object"?n:void 0)),i},cu=!0;function uu(e){const t=iu(),{reducer:r=void 0,middleware:n,devTools:i=!0,preloadedState:o=void 0,enhancers:s=void 0}=e||{};let a;if(typeof r=="function")a=r;else if(be(r))a=hs(r);else throw new Error(de(1));let c;typeof n=="function"?c=n(t):c=t();let d=rr;i&&(d=tu({trace:!cu,...typeof i=="object"&&i}));const f=Oc(...c),u=au(f);let p=typeof s=="function"?s(u):u();const l=d(...p);return ps(a,o,l)}function Ps(e){const t={},r=[];let n;const i={addCase(o,s){const a=typeof o=="string"?o:o.type;if(!a)throw new Error(de(28));if(a in t)throw new Error(de(29));return t[a]=s,i},addMatcher(o,s){return r.push({matcher:o,reducer:s}),i},addDefaultCase(o){return n=o,i}};return e(i),[t,r,n]}function lu(e){return typeof e=="function"}function du(e,t){let[r,n,i]=Ps(t),o;if(lu(e))o=()=>Ii(e());else{const a=Ii(e);o=()=>a}function s(a=o(),c){let d=[r[c.type],...n.filter(({matcher:f})=>f(c)).map(({reducer:f})=>f)];return d.filter(f=>!!f).length===0&&(d=[i]),d.reduce((f,u)=>{if(u)if(pe(f)){const l=u(f,c);return l===void 0?f:l}else{if(he(f))return Mt(f,p=>u(p,c));{const p=u(f,c);if(p===void 0){if(f===null)return f;throw new Error(de(9))}return p}}return f},a)}return s.getInitialState=o,s}var fu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Rs=(e=21)=>{let t="",r=e;for(;r--;)t+=fu[Math.random()*64|0];return t},Es=(e,t)=>ru(e)?e.match(t):e(t);function Re(...e){return t=>e.some(r=>Es(r,t))}function pt(...e){return t=>e.every(r=>Es(r,t))}function Cr(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 $t(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function Wn(...e){return e.length===0?t=>Cr(t,["pending"]):$t(e)?t=>{const r=e.map(i=>i.pending);return Re(...r)(t)}:Wn()(e[0])}function nt(...e){return e.length===0?t=>Cr(t,["rejected"]):$t(e)?t=>{const r=e.map(i=>i.rejected);return Re(...r)(t)}:nt()(e[0])}function Tr(...e){const t=r=>r&&r.meta&&r.meta.rejectedWithValue;return e.length===0?r=>pt(nt(...e),t)(r):$t(e)?r=>pt(nt(...e),t)(r):Tr()(e[0])}function Ee(...e){return e.length===0?t=>Cr(t,["fulfilled"]):$t(e)?t=>{const r=e.map(i=>i.fulfilled);return Re(...r)(t)}:Ee()(e[0])}function tn(...e){return e.length===0?t=>Cr(t,["pending","fulfilled","rejected"]):$t(e)?t=>{const r=[];for(const i of e)r.push(i.pending,i.rejected,i.fulfilled);return Re(...r)(t)}:tn()(e[0])}var pu=["name","message","stack","code"],Nr=class{constructor(e,t){Pr(this,"_type");this.payload=e,this.meta=t}},$i=class{constructor(e,t){Pr(this,"_type");this.payload=e,this.meta=t}},hu=e=>{if(typeof e=="object"&&e!==null){const t={};for(const r of pu)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},Ni=(()=>{function e(t,r,n){const i=te(t+"/fulfilled",(c,d,f,u)=>({payload:c,meta:{...u||{},arg:f,requestId:d,requestStatus:"fulfilled"}})),o=te(t+"/pending",(c,d,f)=>({payload:void 0,meta:{...f||{},arg:d,requestId:c,requestStatus:"pending"}})),s=te(t+"/rejected",(c,d,f,u,p)=>({payload:u,error:(n&&n.serializeError||hu)(c||"Rejected"),meta:{...p||{},arg:f,requestId:d,rejectedWithValue:!!u,requestStatus:"rejected",aborted:(c==null?void 0:c.name)==="AbortError",condition:(c==null?void 0:c.name)==="ConditionError"}}));function a(c){return(d,f,u)=>{const p=n!=null&&n.idGenerator?n.idGenerator(c):Rs(),l=new AbortController;let g;function b(m){g=m,l.abort()}const _=async function(){var h,v;let m;try{let S=(h=n==null?void 0:n.condition)==null?void 0:h.call(n,c,{getState:f,extra:u});if(yu(S)&&(S=await S),S===!1||l.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const k=new Promise((x,C)=>l.signal.addEventListener("abort",()=>C({name:"AbortError",message:g||"Aborted"})));d(o(p,c,(v=n==null?void 0:n.getPendingMeta)==null?void 0:v.call(n,{requestId:p,arg:c},{getState:f,extra:u}))),m=await Promise.race([k,Promise.resolve(r(c,{dispatch:d,getState:f,extra:u,requestId:p,signal:l.signal,abort:b,rejectWithValue:(x,C)=>new Nr(x,C),fulfillWithValue:(x,C)=>new $i(x,C)})).then(x=>{if(x instanceof Nr)throw x;return x instanceof $i?i(x.payload,p,c,x.meta):i(x,p,c)})])}catch(S){m=S instanceof Nr?s(null,p,c,S.payload,S.meta):s(S,p,c)}return n&&!n.dispatchConditionRejection&&s.match(m)&&m.meta.condition||d(m),m}();return Object.assign(_,{abort:b,requestId:p,arg:c,unwrap(){return _.then(mu)}})}}return Object.assign(a,{pending:o,rejected:s,fulfilled:i,settled:Re(s,i),typePrefix:t})}return e.withTypes=()=>e,e})();function mu(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function yu(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var gu=Symbol.for("rtk-slice-createasyncthunk");function _u(e,t){return`${e}/${t}`}function vu({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[gu];return function(i){const{name:o,reducerPath:s=o}=i;if(!o)throw new Error(de(11));typeof process<"u";const a=(typeof i.reducers=="function"?i.reducers(wu()):i.reducers)||{},c=Object.keys(a),d={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},f={addCase(_,m){const y=typeof _=="string"?_:_.type;if(!y)throw new Error(de(12));if(y in d.sliceCaseReducersByType)throw new Error(de(13));return d.sliceCaseReducersByType[y]=m,f},addMatcher(_,m){return d.sliceMatchers.push({matcher:_,reducer:m}),f},exposeAction(_,m){return d.actionCreators[_]=m,f},exposeCaseReducer(_,m){return d.sliceCaseReducersByName[_]=m,f}};c.forEach(_=>{const m=a[_],y={reducerName:_,type:_u(o,_),createNotation:typeof i.reducers=="function"};xu(m)?Cu(y,m,f,t):Su(y,m,f)});function u(){const[_={},m=[],y=void 0]=typeof i.extraReducers=="function"?Ps(i.extraReducers):[i.extraReducers],h={..._,...d.sliceCaseReducersByType};return du(i.initialState,v=>{for(let S in h)v.addCase(S,h[S]);for(let S of d.sliceMatchers)v.addMatcher(S.matcher,S.reducer);for(let S of m)v.addMatcher(S.matcher,S.reducer);y&&v.addDefaultCase(y)})}const p=_=>_,l=new WeakMap;let g;const b={name:o,reducerPath:s,reducer(_,m){return g||(g=u()),g(_,m)},actions:d.actionCreators,caseReducers:d.sliceCaseReducersByName,getInitialState(){return g||(g=u()),g.getInitialState()},getSelectors(_=p){const m=Mi(l,this,{insert:()=>new WeakMap});return Mi(m,_,{insert:()=>{const y={};for(const[h,v]of Object.entries(i.selectors??{}))y[h]=bu(this,v,_,this!==b);return y}})},selectSlice(_){let m=_[this.reducerPath];return typeof m>"u"&&this!==b&&(m=this.getInitialState()),m},get selectors(){return this.getSelectors(this.selectSlice)},injectInto(_,{reducerPath:m,...y}={}){const h=m??this.reducerPath;return _.inject({reducerPath:h,reducer:this.reducer},y),{...this,reducerPath:h}}};return b}}function bu(e,t,r,n){function i(o,...s){let a=r.call(e,o);return typeof a>"u"&&n&&(a=e.getInitialState()),t(a,...s)}return i.unwrapped=t,i}var Ce=vu();function wu(){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 Su({type:e,reducerName:t,createNotation:r},n,i){let o,s;if("reducer"in n){if(r&&!ku(n))throw new Error(de(17));o=n.reducer,s=n.prepare}else o=n;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,s?te(e,s):te(e))}function xu(e){return e._reducerDefinitionType==="asyncThunk"}function ku(e){return e._reducerDefinitionType==="reducerWithPrepare"}function Cu({type:e,reducerName:t},r,n,i){if(!i)throw new Error(de(18));const{payloadCreator:o,fulfilled:s,pending:a,rejected:c,settled:d,options:f}=r,u=i(e,o,f);n.exposeAction(t,u),s&&n.addCase(u.fulfilled,s),a&&n.addCase(u.pending,a),c&&n.addCase(u.rejected,c),d&&n.addMatcher(u.settled,d),n.exposeCaseReducer(t,{fulfilled:s||zt,pending:a||zt,rejected:c||zt,settled:d||zt})}function zt(){}var Un="listenerMiddleware";te(`${Un}/add`);te(`${Un}/removeAll`);te(`${Un}/remove`);function de(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 As=(e=>(e.uninitialized="uninitialized",e.pending="pending",e.fulfilled="fulfilled",e.rejected="rejected",e))(As||{});function Tu(e){return{status:e,isUninitialized:e==="uninitialized",isLoading:e==="pending",isSuccess:e==="fulfilled",isError:e==="rejected"}}function Pu(e){return new RegExp("(^|:)//").test(e)}var Ru=e=>e.replace(/\/$/,""),Eu=e=>e.replace(/^\//,"");function Au(e,t){if(!e)return t;if(!t)return e;if(Pu(t))return t;const r=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=Ru(e),t=Eu(t),`${e}${r}${t}`}var Fi=e=>[].concat(...e);function Ou(){return typeof navigator>"u"||navigator.onLine===void 0?!0:navigator.onLine}function Iu(){return typeof document>"u"?!0:document.visibilityState!=="hidden"}var Di=be;function Os(e,t){if(e===t||!(Di(e)&&Di(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 s of r)o[s]=Os(e[s],t[s]),i&&(i=e[s]===o[s]);return i?e:o}var Li=(...e)=>fetch(...e),Mu=e=>e.status>=200&&e.status<=299,$u=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function ji(e){if(!be(e))return e;const t={...e};for(const[r,n]of Object.entries(t))n===void 0&&delete t[r];return t}function Nu({baseUrl:e,prepareHeaders:t=u=>u,fetchFn:r=Li,paramsSerializer:n,isJsonContentType:i=$u,jsonContentType:o="application/json",jsonReplacer:s,timeout:a,responseHandler:c,validateStatus:d,...f}={}){return typeof fetch>"u"&&r===Li&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),async(p,l)=>{const{signal:g,getState:b,extra:_,endpoint:m,forced:y,type:h}=l;let v,{url:S,headers:k=new Headers(f.headers),params:x=void 0,responseHandler:C=c??"json",validateStatus:T=d??Mu,timeout:P=a,...A}=typeof p=="string"?{url:p}:p,E={...f,signal:g,...A};k=new Headers(ji(k)),E.headers=await t(k,{getState:b,extra:_,endpoint:m,forced:y,type:h})||k;const I=B=>typeof B=="object"&&(be(B)||Array.isArray(B)||typeof B.toJSON=="function");if(!E.headers.has("content-type")&&I(E.body)&&E.headers.set("content-type",o),I(E.body)&&i(E.headers)&&(E.body=JSON.stringify(E.body,s)),x){const B=~S.indexOf("?")?"&":"?",Oe=n?n(x):new URLSearchParams(ji(x));S+=B+Oe}S=Au(e,S);const M=new Request(S,E);v={request:new Request(S,E)};let K,j=!1,$=P&&setTimeout(()=>{j=!0,l.abort()},P);try{K=await r(M)}catch(B){return{error:{status:j?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(B)},meta:v}}finally{$&&clearTimeout($)}const ee=K.clone();v.response=ee;let H,me="";try{let B;if(await Promise.all([u(K,C).then(Oe=>H=Oe,Oe=>B=Oe),ee.text().then(Oe=>me=Oe,()=>{})]),B)throw B}catch(B){return{error:{status:"PARSING_ERROR",originalStatus:K.status,data:me,error:String(B)},meta:v}}return T(K,H)?{data:H,meta:v}:{error:{status:K.status,data:H},meta:v}};async function u(p,l){if(typeof l=="function")return l(p);if(l==="content-type"&&(l=i(p.headers)?"json":"text"),l==="json"){const g=await p.text();return g.length?JSON.parse(g):null}return p.text()}}var zi=class{constructor(e,t=void 0){this.value=e,this.meta=t}},qn=te("__rtkq/focused"),Is=te("__rtkq/unfocused"),Hn=te("__rtkq/online"),Ms=te("__rtkq/offline");function $s(e){return e.type==="query"}function Fu(e){return e.type==="mutation"}function Qn(e,t,r,n,i,o){return Du(e)?e(t,r,n,i).map(rn).map(o):Array.isArray(e)?e.map(rn).map(o):[]}function Du(e){return typeof e=="function"}function rn(e){return typeof e=="string"?{type:e}:e}function Bi(e){return e!=null}function Xe(e){let t=0;for(const r in e)t++;return t}var kt=Symbol("forceQueryFn"),nn=e=>typeof e[kt]=="function";function Lu({serializeQueryArgs:e,queryThunk:t,mutationThunk:r,api:n,context:i}){const o=new Map,s=new Map,{unsubscribeQueryResult:a,removeMutationResult:c,updateSubscriptionOptions:d}=n.internalActions;return{buildInitiateQuery:g,buildInitiateMutation:b,getRunningQueryThunk:f,getRunningMutationThunk:u,getRunningQueriesThunk:p,getRunningMutationsThunk:l};function f(_,m){return y=>{var S;const h=i.endpointDefinitions[_],v=e({queryArgs:m,endpointDefinition:h,endpointName:_});return(S=o.get(y))==null?void 0:S[v]}}function u(_,m){return y=>{var h;return(h=s.get(y))==null?void 0:h[m]}}function p(){return _=>Object.values(o.get(_)||{}).filter(Bi)}function l(){return _=>Object.values(s.get(_)||{}).filter(Bi)}function g(_,m){const y=(h,{subscribe:v=!0,forceRefetch:S,subscriptionOptions:k,[kt]:x}={})=>(C,T)=>{var me;const P=e({queryArgs:h,endpointDefinition:m,endpointName:_}),A=t({type:"query",subscribe:v,forceRefetch:S,subscriptionOptions:k,endpointName:_,originalArgs:h,queryCacheKey:P,[kt]:x}),E=n.endpoints[_].select(h),I=C(A),M=E(T()),{requestId:W,abort:K}=I,j=M.requestId!==W,$=(me=o.get(C))==null?void 0:me[P],ee=()=>E(T()),H=Object.assign(x?I.then(ee):j&&!$?Promise.resolve(M):Promise.all([$,I]).then(ee),{arg:h,requestId:W,subscriptionOptions:k,queryCacheKey:P,abort:K,async unwrap(){const B=await H;if(B.isError)throw B.error;return B.data},refetch:()=>C(y(h,{subscribe:!1,forceRefetch:!0})),unsubscribe(){v&&C(a({queryCacheKey:P,requestId:W}))},updateSubscriptionOptions(B){H.subscriptionOptions=B,C(d({endpointName:_,requestId:W,queryCacheKey:P,options:B}))}});if(!$&&!j&&!x){const B=o.get(C)||{};B[P]=H,o.set(C,B),H.then(()=>{delete B[P],Xe(B)||o.delete(C)})}return H};return y}function b(_){return(m,{track:y=!0,fixedCacheKey:h}={})=>(v,S)=>{const k=r({type:"mutation",endpointName:_,originalArgs:m,track:y,fixedCacheKey:h}),x=v(k),{requestId:C,abort:T,unwrap:P}=x,A=x.unwrap().then(W=>({data:W})).catch(W=>({error:W})),E=()=>{v(c({requestId:C,fixedCacheKey:h}))},I=Object.assign(A,{arg:x.arg,requestId:C,abort:T,unwrap:P,reset:E}),M=s.get(v)||{};return s.set(v,M),M[C]=I,I.then(()=>{delete M[C],Xe(M)||s.delete(v)}),h&&(M[h]=I,I.then(()=>{M[h]===I&&(delete M[h],Xe(M)||s.delete(v))})),I}}}function Wi(e){return e}function ju({reducerPath:e,baseQuery:t,context:{endpointDefinitions:r},serializeQueryArgs:n,api:i,assertTagType:o}){const s=(y,h,v,S)=>(k,x)=>{const C=r[y],T=n({queryArgs:h,endpointDefinition:C,endpointName:y});if(k(i.internalActions.queryResultPatched({queryCacheKey:T,patches:v})),!S)return;const P=i.endpoints[y].select(h)(x()),A=Qn(C.providesTags,P.data,void 0,h,{},o);k(i.internalActions.updateProvidedBy({queryCacheKey:T,providedTags:A}))},a=(y,h,v,S=!0)=>(k,x)=>{const T=i.endpoints[y].select(h)(x());let P={patches:[],inversePatches:[],undo:()=>k(i.util.patchQueryData(y,h,P.inversePatches,S))};if(T.status==="uninitialized")return P;let A;if("data"in T)if(he(T.data)){const[E,I,M]=Ss(T.data,v);P.patches.push(...I),P.inversePatches.push(...M),A=E}else A=v(T.data),P.patches.push({op:"replace",path:[],value:A}),P.inversePatches.push({op:"replace",path:[],value:T.data});return k(i.util.patchQueryData(y,h,P.patches,S)),P},c=(y,h,v)=>S=>S(i.endpoints[y].initiate(h,{subscribe:!1,forceRefetch:!0,[kt]:()=>({data:v})})),d=async(y,{signal:h,abort:v,rejectWithValue:S,fulfillWithValue:k,dispatch:x,getState:C,extra:T})=>{const P=r[y.endpointName];try{let A=Wi,E;const I={signal:h,abort:v,dispatch:x,getState:C,extra:T,endpoint:y.endpointName,type:y.type,forced:y.type==="query"?f(y,C()):void 0},M=y.type==="query"?y[kt]:void 0;if(M?E=M():P.query?(E=await t(P.query(y.originalArgs),I,P.extraOptions),P.transformResponse&&(A=P.transformResponse)):E=await P.queryFn(y.originalArgs,I,P.extraOptions,W=>t(W,I,P.extraOptions)),typeof process<"u",E.error)throw new zi(E.error,E.meta);return k(await A(E.data,E.meta,y.originalArgs),{fulfilledTimeStamp:Date.now(),baseQueryMeta:E.meta,[Ke]:!0})}catch(A){let E=A;if(E instanceof zi){let I=Wi;P.query&&P.transformErrorResponse&&(I=P.transformErrorResponse);try{return S(await I(E.value,E.meta,y.originalArgs),{baseQueryMeta:E.meta,[Ke]:!0})}catch(M){E=M}}throw typeof process<"u",console.error(E),E}};function f(y,h){var C,T,P;const v=(T=(C=h[e])==null?void 0:C.queries)==null?void 0:T[y.queryCacheKey],S=(P=h[e])==null?void 0:P.config.refetchOnMountOrArgChange,k=v==null?void 0:v.fulfilledTimeStamp,x=y.forceRefetch??(y.subscribe&&S);return x?x===!0||(Number(new Date)-Number(k))/1e3>=x:!1}const u=Ni(`${e}/executeQuery`,d,{getPendingMeta(){return{startedTimeStamp:Date.now(),[Ke]:!0}},condition(y,{getState:h}){var P,A,E;const v=h(),S=(A=(P=v[e])==null?void 0:P.queries)==null?void 0:A[y.queryCacheKey],k=S==null?void 0:S.fulfilledTimeStamp,x=y.originalArgs,C=S==null?void 0:S.originalArgs,T=r[y.endpointName];return nn(y)?!0:(S==null?void 0:S.status)==="pending"?!1:f(y,v)||$s(T)&&((E=T==null?void 0:T.forceRefetch)!=null&&E.call(T,{currentArg:x,previousArg:C,endpointState:S,state:v}))?!0:!k},dispatchConditionRejection:!0}),p=Ni(`${e}/executeMutation`,d,{getPendingMeta(){return{startedTimeStamp:Date.now(),[Ke]:!0}}}),l=y=>"force"in y,g=y=>"ifOlderThan"in y,b=(y,h,v)=>(S,k)=>{const x=l(v)&&v.force,C=g(v)&&v.ifOlderThan,T=(A=!0)=>i.endpoints[y].initiate(h,{forceRefetch:A}),P=i.endpoints[y].select(h)(k());if(x)S(T());else if(C){const A=P==null?void 0:P.fulfilledTimeStamp;if(!A){S(T());return}(Number(new Date)-Number(new Date(A)))/1e3>=C&&S(T())}else S(T(!1))};function _(y){return h=>{var v,S;return((S=(v=h==null?void 0:h.meta)==null?void 0:v.arg)==null?void 0:S.endpointName)===y}}function m(y,h){return{matchPending:pt(Wn(y),_(h)),matchFulfilled:pt(Ee(y),_(h)),matchRejected:pt(nt(y),_(h))}}return{queryThunk:u,mutationThunk:p,prefetch:b,updateQueryData:a,upsertQueryData:c,patchQueryData:s,buildMatchThunkActions:m}}function Ns(e,t,r,n){return Qn(r[e.meta.arg.endpointName][t],Ee(e)?e.payload:void 0,Tr(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,n)}function Bt(e,t,r){const n=e[t];n&&r(n)}function Ct(e){return("arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)??e.requestId}function Ui(e,t,r){const n=e[Ct(t)];n&&r(n)}var ct={};function zu({reducerPath:e,queryThunk:t,mutationThunk:r,context:{endpointDefinitions:n,apiUid:i,extractRehydrationInfo:o,hasRehydrationInfo:s},assertTagType:a,config:c}){const d=te(`${e}/resetApiState`),f=Ce({name:`${e}/queries`,initialState:ct,reducers:{removeQueryResult:{reducer(h,{payload:{queryCacheKey:v}}){delete h[v]},prepare:at()},queryResultPatched:{reducer(h,{payload:{queryCacheKey:v,patches:S}}){Bt(h,v,k=>{k.data=Ei(k.data,S.concat())})},prepare:at()}},extraReducers(h){h.addCase(t.pending,(v,{meta:S,meta:{arg:k}})=>{var C;const x=nn(k);v[C=k.queryCacheKey]??(v[C]={status:"uninitialized",endpointName:k.endpointName}),Bt(v,k.queryCacheKey,T=>{T.status="pending",T.requestId=x&&T.requestId?T.requestId:S.requestId,k.originalArgs!==void 0&&(T.originalArgs=k.originalArgs),T.startedTimeStamp=S.startedTimeStamp})}).addCase(t.fulfilled,(v,{meta:S,payload:k})=>{Bt(v,S.arg.queryCacheKey,x=>{if(x.requestId!==S.requestId&&!nn(S.arg))return;const{merge:C}=n[S.arg.endpointName];if(x.status="fulfilled",C)if(x.data!==void 0){const{fulfilledTimeStamp:T,arg:P,baseQueryMeta:A,requestId:E}=S;let I=Mt(x.data,M=>C(M,k,{arg:P.originalArgs,baseQueryMeta:A,fulfilledTimeStamp:T,requestId:E}));x.data=I}else x.data=k;else x.data=n[S.arg.endpointName].structuralSharing??!0?Os(pe(x.data)?Mc(x.data):x.data,k):k;delete x.error,x.fulfilledTimeStamp=S.fulfilledTimeStamp})}).addCase(t.rejected,(v,{meta:{condition:S,arg:k,requestId:x},error:C,payload:T})=>{Bt(v,k.queryCacheKey,P=>{if(!S){if(P.requestId!==x)return;P.status="rejected",P.error=T??C}})}).addMatcher(s,(v,S)=>{const{queries:k}=o(S);for(const[x,C]of Object.entries(k))((C==null?void 0:C.status)==="fulfilled"||(C==null?void 0:C.status)==="rejected")&&(v[x]=C)})}}),u=Ce({name:`${e}/mutations`,initialState:ct,reducers:{removeMutationResult:{reducer(h,{payload:v}){const S=Ct(v);S in h&&delete h[S]},prepare:at()}},extraReducers(h){h.addCase(r.pending,(v,{meta:S,meta:{requestId:k,arg:x,startedTimeStamp:C}})=>{x.track&&(v[Ct(S)]={requestId:k,status:"pending",endpointName:x.endpointName,startedTimeStamp:C})}).addCase(r.fulfilled,(v,{payload:S,meta:k})=>{k.arg.track&&Ui(v,k,x=>{x.requestId===k.requestId&&(x.status="fulfilled",x.data=S,x.fulfilledTimeStamp=k.fulfilledTimeStamp)})}).addCase(r.rejected,(v,{payload:S,error:k,meta:x})=>{x.arg.track&&Ui(v,x,C=>{C.requestId===x.requestId&&(C.status="rejected",C.error=S??k)})}).addMatcher(s,(v,S)=>{const{mutations:k}=o(S);for(const[x,C]of Object.entries(k))((C==null?void 0:C.status)==="fulfilled"||(C==null?void 0:C.status)==="rejected")&&x!==(C==null?void 0:C.requestId)&&(v[x]=C)})}}),p=Ce({name:`${e}/invalidation`,initialState:ct,reducers:{updateProvidedBy:{reducer(h,v){var x,C;const{queryCacheKey:S,providedTags:k}=v.payload;for(const T of Object.values(h))for(const P of Object.values(T)){const A=P.indexOf(S);A!==-1&&P.splice(A,1)}for(const{type:T,id:P}of k){const A=(x=h[T]??(h[T]={}))[C=P||"__internal_without_id"]??(x[C]=[]);A.includes(S)||A.push(S)}},prepare:at()}},extraReducers(h){h.addCase(f.actions.removeQueryResult,(v,{payload:{queryCacheKey:S}})=>{for(const k of Object.values(v))for(const x of Object.values(k)){const C=x.indexOf(S);C!==-1&&x.splice(C,1)}}).addMatcher(s,(v,S)=>{var x,C;const{provided:k}=o(S);for(const[T,P]of Object.entries(k))for(const[A,E]of Object.entries(P)){const I=(x=v[T]??(v[T]={}))[C=A||"__internal_without_id"]??(x[C]=[]);for(const M of E)I.includes(M)||I.push(M)}}).addMatcher(Re(Ee(t),Tr(t)),(v,S)=>{const k=Ns(S,"providesTags",n,a),{queryCacheKey:x}=S.meta.arg;p.caseReducers.updateProvidedBy(v,p.actions.updateProvidedBy({queryCacheKey:x,providedTags:k}))})}}),l=Ce({name:`${e}/subscriptions`,initialState:ct,reducers:{updateSubscriptionOptions(h,v){},unsubscribeQueryResult(h,v){},internal_getRTKQSubscriptions(){}}}),g=Ce({name:`${e}/internalSubscriptions`,initialState:ct,reducers:{subscriptionsUpdated:{reducer(h,v){return Ei(h,v.payload)},prepare:at()}}}),b=Ce({name:`${e}/config`,initialState:{online:Ou(),focused:Iu(),middlewareRegistered:!1,...c},reducers:{middlewareRegistered(h,{payload:v}){h.middlewareRegistered=h.middlewareRegistered==="conflict"||i!==v?"conflict":!0}},extraReducers:h=>{h.addCase(Hn,v=>{v.online=!0}).addCase(Ms,v=>{v.online=!1}).addCase(qn,v=>{v.focused=!0}).addCase(Is,v=>{v.focused=!1}).addMatcher(s,v=>({...v}))}}),_=hs({queries:f.reducer,mutations:u.reducer,provided:p.reducer,subscriptions:g.reducer,config:b.reducer}),m=(h,v)=>_(d.match(v)?void 0:h,v),y={...b.actions,...f.actions,...l.actions,...g.actions,...u.actions,...p.actions,resetApiState:d};return{reducer:m,actions:y}}var Ne=Symbol.for("RTKQ/skipToken"),Fs={status:"uninitialized"},qi=Mt(Fs,()=>{}),Hi=Mt(Fs,()=>{});function Bu({serializeQueryArgs:e,reducerPath:t}){const r=f=>qi,n=f=>Hi;return{buildQuerySelector:s,buildMutationSelector:a,selectInvalidatedBy:c,selectCachedArgsForQuery:d};function i(f){return{...f,...Tu(f.status)}}function o(f){return f[t]}function s(f,u){return p=>{const l=e({queryArgs:p,endpointDefinition:u,endpointName:f});return Ye(p===Ne?r:_=>{var m,y;return((y=(m=o(_))==null?void 0:m.queries)==null?void 0:y[l])??qi},i)}}function a(){return f=>{let u;return typeof f=="object"?u=Ct(f)??Ne:u=f,Ye(u===Ne?n:g=>{var b,_;return((_=(b=o(g))==null?void 0:b.mutations)==null?void 0:_[u])??Hi},i)}}function c(f,u){const p=f[t],l=new Set;for(const g of u.map(rn)){const b=p.provided[g.type];if(!b)continue;let _=(g.id!==void 0?b[g.id]:Fi(Object.values(b)))??[];for(const m of _)l.add(m)}return Fi(Array.from(l.values()).map(g=>{const b=p.queries[g];return b?[{queryCacheKey:g,endpointName:b.endpointName,originalArgs:b.originalArgs}]:[]}))}function d(f,u){return Object.values(f[t].queries).filter(p=>(p==null?void 0:p.endpointName)===u&&p.status!=="uninitialized").map(p=>p.originalArgs)}}var qe=WeakMap?new WeakMap:void 0,Qi=({endpointName:e,queryArgs:t})=>{let r="";const n=qe==null?void 0:qe.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,s)=>be(s)?Object.keys(s).sort().reduce((a,c)=>(a[c]=s[c],a),{}):s);be(t)&&(qe==null||qe.set(t,i)),r=i}return`${e}(${r})`};function Wu(...e){return function(r){const n=xt(d=>{var f;return(f=r.extractRehydrationInfo)==null?void 0:f.call(r,d,{reducerPath:r.reducerPath??"api"})}),i={reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1,invalidationBehavior:"delayed",...r,extractRehydrationInfo:n,serializeQueryArgs(d){let f=Qi;if("serializeQueryArgs"in d.endpointDefinition){const u=d.endpointDefinition.serializeQueryArgs;f=p=>{const l=u(p);return typeof l=="string"?l:Qi({...p,queryArgs:l})}}else r.serializeQueryArgs&&(f=r.serializeQueryArgs);return f(d)},tagTypes:[...r.tagTypes||[]]},o={endpointDefinitions:{},batch(d){d()},apiUid:Rs(),extractRehydrationInfo:n,hasRehydrationInfo:xt(d=>n(d)!=null)},s={injectEndpoints:c,enhanceEndpoints({addTagTypes:d,endpoints:f}){if(d)for(const u of d)i.tagTypes.includes(u)||i.tagTypes.push(u);if(f)for(const[u,p]of Object.entries(f))typeof p=="function"?p(o.endpointDefinitions[u]):Object.assign(o.endpointDefinitions[u]||{},p);return s}},a=e.map(d=>d.init(s,i,o));function c(d){const f=d.endpoints({query:u=>({...u,type:"query"}),mutation:u=>({...u,type:"mutation"})});for(const[u,p]of Object.entries(f)){if(!d.overrideExisting&&u in o.endpointDefinitions){typeof process<"u";continue}o.endpointDefinitions[u]=p;for(const l of a)l.injectEndpoint(u,p)}return s}return s.injectEndpoints({endpoints:r.endpoints})}}function Uu(e){for(let t in e)return!1;return!0}var qu=2147483647/1e3-1,Hu=({reducerPath:e,api:t,context:r,internalState:n})=>{const{removeQueryResult:i,unsubscribeQueryResult:o}=t.internalActions;function s(f){const u=n.currentSubscriptions[f];return!!u&&!Uu(u)}const a={},c=(f,u,p)=>{var l;if(o.match(f)){const g=u.getState()[e],{queryCacheKey:b}=f.payload;d(b,(l=g.queries[b])==null?void 0:l.endpointName,u,g.config)}if(t.util.resetApiState.match(f))for(const[g,b]of Object.entries(a))b&&clearTimeout(b),delete a[g];if(r.hasRehydrationInfo(f)){const g=u.getState()[e],{queries:b}=r.extractRehydrationInfo(f);for(const[_,m]of Object.entries(b))d(_,m==null?void 0:m.endpointName,u,g.config)}};function d(f,u,p,l){const g=r.endpointDefinitions[u],b=(g==null?void 0:g.keepUnusedDataFor)??l.keepUnusedDataFor;if(b===1/0)return;const _=Math.max(0,Math.min(b,qu));if(!s(f)){const m=a[f];m&&clearTimeout(m),a[f]=setTimeout(()=>{s(f)||p.dispatch(i({queryCacheKey:f})),delete a[f]},_*1e3)}}return c},Qu=({reducerPath:e,context:t,context:{endpointDefinitions:r},mutationThunk:n,queryThunk:i,api:o,assertTagType:s,refetchQuery:a,internalState:c})=>{const{removeQueryResult:d}=o.internalActions,f=Re(Ee(n),Tr(n)),u=Re(Ee(n,i),nt(n,i));let p=[];const l=(_,m)=>{f(_)?b(Ns(_,"invalidatesTags",r,s),m):u(_)?b([],m):o.util.invalidateTags.match(_)&&b(Qn(_.payload,void 0,void 0,void 0,void 0,s),m)};function g(_){var m,y;for(const h in _.queries)if(((m=_.queries[h])==null?void 0:m.status)==="pending")return!0;for(const h in _.mutations)if(((y=_.mutations[h])==null?void 0:y.status)==="pending")return!0;return!1}function b(_,m){const y=m.getState(),h=y[e];if(p.push(..._),h.config.invalidationBehavior==="delayed"&&g(h))return;const v=p;if(p=[],v.length===0)return;const S=o.util.selectInvalidatedBy(y,v);t.batch(()=>{const k=Array.from(S.values());for(const{queryCacheKey:x}of k){const C=h.queries[x],T=c.currentSubscriptions[x]??{};C&&(Xe(T)===0?m.dispatch(d({queryCacheKey:x})):C.status!=="uninitialized"&&m.dispatch(a(C,x)))}})}return l},Vu=({reducerPath:e,queryThunk:t,api:r,refetchQuery:n,internalState:i})=>{const o={},s=(p,l)=>{(r.internalActions.updateSubscriptionOptions.match(p)||r.internalActions.unsubscribeQueryResult.match(p))&&c(p.payload,l),(t.pending.match(p)||t.rejected.match(p)&&p.meta.condition)&&c(p.meta.arg,l),(t.fulfilled.match(p)||t.rejected.match(p)&&!p.meta.condition)&&a(p.meta.arg,l),r.util.resetApiState.match(p)&&f()};function a({queryCacheKey:p},l){const b=l.getState()[e].queries[p],_=i.currentSubscriptions[p];if(!b||b.status==="uninitialized")return;const m=u(_);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,v=o[p]={nextPollTimestamp:h,pollingInterval:m,timeout:setTimeout(()=>{v.timeout=void 0,l.dispatch(n(b,p))},m)}}function c({queryCacheKey:p},l){const b=l.getState()[e].queries[p],_=i.currentSubscriptions[p];if(!b||b.status==="uninitialized")return;const m=u(_);if(!Number.isFinite(m)){d(p);return}const y=o[p],h=Date.now()+m;(!y||h<y.nextPollTimestamp)&&a({queryCacheKey:p},l)}function d(p){const l=o[p];l!=null&&l.timeout&&clearTimeout(l.timeout),delete o[p]}function f(){for(const p of Object.keys(o))d(p)}function u(p={}){let l=Number.POSITIVE_INFINITY;for(let g in p)p[g].pollingInterval&&(l=Math.min(p[g].pollingInterval,l));return l}return s},Ku=({reducerPath:e,context:t,api:r,refetchQuery:n,internalState:i})=>{const{removeQueryResult:o}=r.internalActions,s=(c,d)=>{qn.match(c)&&a(d,"refetchOnFocus"),Hn.match(c)&&a(d,"refetchOnReconnect")};function a(c,d){const f=c.getState()[e],u=f.queries,p=i.currentSubscriptions;t.batch(()=>{for(const l of Object.keys(p)){const g=u[l],b=p[l];if(!b||!g)continue;(Object.values(b).some(m=>m[d]===!0)||Object.values(b).every(m=>m[d]===void 0)&&f.config[d])&&(Xe(b)===0?c.dispatch(o({queryCacheKey:l})):g.status!=="uninitialized"&&c.dispatch(n(g,l)))}})}return s},Vi=new Error("Promise never resolved before cacheEntryRemoved."),Ju=({api:e,reducerPath:t,context:r,queryThunk:n,mutationThunk:i,internalState:o})=>{const s=tn(n),a=tn(i),c=Ee(n,i),d={},f=(l,g,b)=>{const _=u(l);if(n.pending.match(l)){const m=b[t].queries[_],y=g.getState()[t].queries[_];!m&&y&&p(l.meta.arg.endpointName,l.meta.arg.originalArgs,_,g,l.meta.requestId)}else if(i.pending.match(l))g.getState()[t].mutations[_]&&p(l.meta.arg.endpointName,l.meta.arg.originalArgs,_,g,l.meta.requestId);else if(c(l)){const m=d[_];m!=null&&m.valueResolved&&(m.valueResolved({data:l.payload,meta:l.meta.baseQueryMeta}),delete m.valueResolved)}else if(e.internalActions.removeQueryResult.match(l)||e.internalActions.removeMutationResult.match(l)){const m=d[_];m&&(delete d[_],m.cacheEntryRemoved())}else if(e.util.resetApiState.match(l))for(const[m,y]of Object.entries(d))delete d[m],y.cacheEntryRemoved()};function u(l){return s(l)?l.meta.arg.queryCacheKey:a(l)?l.meta.requestId:e.internalActions.removeQueryResult.match(l)?l.payload.queryCacheKey:e.internalActions.removeMutationResult.match(l)?Ct(l.payload):""}function p(l,g,b,_,m){const y=r.endpointDefinitions[l],h=y==null?void 0:y.onCacheEntryAdded;if(!h)return;let v={};const S=new Promise(A=>{v.cacheEntryRemoved=A}),k=Promise.race([new Promise(A=>{v.valueResolved=A}),S.then(()=>{throw Vi})]);k.catch(()=>{}),d[b]=v;const x=e.endpoints[l].select(y.type==="query"?g:b),C=_.dispatch((A,E,I)=>I),T={..._,getCacheEntry:()=>x(_.getState()),requestId:m,extra:C,updateCachedData:y.type==="query"?A=>_.dispatch(e.util.updateQueryData(l,g,A)):void 0,cacheDataLoaded:k,cacheEntryRemoved:S},P=h(g,T);Promise.resolve(P).catch(A=>{if(A!==Vi)throw A})}return f},Gu=({api:e,context:t,queryThunk:r,mutationThunk:n})=>{const i=Wn(r,n),o=nt(r,n),s=Ee(r,n),a={};return(d,f)=>{var u,p;if(i(d)){const{requestId:l,arg:{endpointName:g,originalArgs:b}}=d.meta,_=t.endpointDefinitions[g],m=_==null?void 0:_.onQueryStarted;if(m){const y={},h=new Promise((x,C)=>{y.resolve=x,y.reject=C});h.catch(()=>{}),a[l]=y;const v=e.endpoints[g].select(_.type==="query"?b:l),S=f.dispatch((x,C,T)=>T),k={...f,getCacheEntry:()=>v(f.getState()),requestId:l,extra:S,updateCachedData:_.type==="query"?x=>f.dispatch(e.util.updateQueryData(g,b,x)):void 0,queryFulfilled:h};m(b,k)}}else if(s(d)){const{requestId:l,baseQueryMeta:g}=d.meta;(u=a[l])==null||u.resolve({data:d.payload,meta:g}),delete a[l]}else if(o(d)){const{requestId:l,rejectedWithValue:g,baseQueryMeta:b}=d.meta;(p=a[l])==null||p.reject({error:d.payload??d.error,isUnhandledError:!g,meta:b}),delete a[l]}}},Yu=({api:e,context:{apiUid:t},reducerPath:r})=>(n,i)=>{e.util.resetApiState.match(n)&&i.dispatch(e.internalActions.middlewareRegistered(t)),typeof process<"u"},Xu=({api:e,queryThunk:t,internalState:r})=>{const n=`${e.reducerPath}/subscriptions`;let i=null,o=null;const{updateSubscriptionOptions:s,unsubscribeQueryResult:a}=e.internalActions,c=(l,g)=>{var _,m,y;if(s.match(g)){const{queryCacheKey:h,requestId:v,options:S}=g.payload;return(_=l==null?void 0:l[h])!=null&&_[v]&&(l[h][v]=S),!0}if(a.match(g)){const{queryCacheKey:h,requestId:v}=g.payload;return l[h]&&delete l[h][v],!0}if(e.internalActions.removeQueryResult.match(g))return delete l[g.payload.queryCacheKey],!0;if(t.pending.match(g)){const{meta:{arg:h,requestId:v}}=g,S=l[m=h.queryCacheKey]??(l[m]={});return S[`${v}_running`]={},h.subscribe&&(S[v]=h.subscriptionOptions??S[v]??{}),!0}let b=!1;if(t.fulfilled.match(g)||t.rejected.match(g)){const h=l[g.meta.arg.queryCacheKey]||{},v=`${g.meta.requestId}_running`;b||(b=!!h[v]),delete h[v]}if(t.rejected.match(g)){const{meta:{condition:h,arg:v,requestId:S}}=g;if(h&&v.subscribe){const k=l[y=v.queryCacheKey]??(l[y]={});k[S]=v.subscriptionOptions??k[S]??{},b=!0}}return b},d=()=>r.currentSubscriptions,p={getSubscriptions:d,getSubscriptionCount:l=>{const b=d()[l]??{};return Xe(b)},isRequestSubscribed:(l,g)=>{var _;const b=d();return!!((_=b==null?void 0:b[l])!=null&&_[g])}};return(l,g)=>{if(i||(i=JSON.parse(JSON.stringify(r.currentSubscriptions))),e.util.resetApiState.match(l))return i=r.currentSubscriptions={},o=null,[!0,!1];if(e.internalActions.internal_getRTKQSubscriptions.match(l))return[!1,p];const b=c(r.currentSubscriptions,l);let _=!0;if(b){o||(o=setTimeout(()=>{const h=JSON.parse(JSON.stringify(r.currentSubscriptions)),[,v]=Ss(i,()=>h);g.next(e.internalActions.subscriptionsUpdated(v)),i=h,o=null},500));const m=typeof l.type=="string"&&!!l.type.startsWith(n),y=t.rejected.match(l)&&l.meta.condition&&!!l.meta.arg.subscribe;_=!m&&!y}return[_,!1]}};function Zu(e){const{reducerPath:t,queryThunk:r,api:n,context:i}=e,{apiUid:o}=i,s={invalidateTags:te(`${t}/invalidateTags`)},a=u=>u.type.startsWith(`${t}/`),c=[Yu,Hu,Qu,Vu,Ju,Gu];return{middleware:u=>{let p=!1;const g={...e,internalState:{currentSubscriptions:{}},refetchQuery:f,isThisApiSliceAction:a},b=c.map(y=>y(g)),_=Xu(g),m=Ku(g);return y=>h=>{if(!ms(h))return y(h);p||(p=!0,u.dispatch(n.internalActions.middlewareRegistered(o)));const v={...u,next:y},S=u.getState(),[k,x]=_(h,v,S);let C;if(k?C=y(h):C=x,u.getState()[t]&&(m(h,v,S),a(h)||i.hasRehydrationInfo(h)))for(let T of b)T(h,v,S);return C}},actions:s};function f(u,p,l={}){return r({type:"query",endpointName:u.endpointName,originalArgs:u.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:p,...l})}}function ke(e,...t){return Object.assign(e,...t)}var Ki=Symbol(),el=()=>({name:Ki,init(e,{baseQuery:t,tagTypes:r,reducerPath:n,serializeQueryArgs:i,keepUnusedDataFor:o,refetchOnMountOrArgChange:s,refetchOnFocus:a,refetchOnReconnect:c,invalidationBehavior:d},f){Wc();const u=j=>(typeof process<"u",j);Object.assign(e,{reducerPath:n,endpoints:{},internalActions:{onOnline:Hn,onOffline:Ms,onFocus:qn,onFocusLost:Is},util:{}});const{queryThunk:p,mutationThunk:l,patchQueryData:g,updateQueryData:b,upsertQueryData:_,prefetch:m,buildMatchThunkActions:y}=ju({baseQuery:t,reducerPath:n,context:f,api:e,serializeQueryArgs:i,assertTagType:u}),{reducer:h,actions:v}=zu({context:f,queryThunk:p,mutationThunk:l,reducerPath:n,assertTagType:u,config:{refetchOnFocus:a,refetchOnReconnect:c,refetchOnMountOrArgChange:s,keepUnusedDataFor:o,reducerPath:n,invalidationBehavior:d}});ke(e.util,{patchQueryData:g,updateQueryData:b,upsertQueryData:_,prefetch:m,resetApiState:v.resetApiState}),ke(e.internalActions,v);const{middleware:S,actions:k}=Zu({reducerPath:n,context:f,queryThunk:p,mutationThunk:l,api:e,assertTagType:u});ke(e.util,k),ke(e,{reducer:h,middleware:S});const{buildQuerySelector:x,buildMutationSelector:C,selectInvalidatedBy:T,selectCachedArgsForQuery:P}=Bu({serializeQueryArgs:i,reducerPath:n});ke(e.util,{selectInvalidatedBy:T,selectCachedArgsForQuery:P});const{buildInitiateQuery:A,buildInitiateMutation:E,getRunningMutationThunk:I,getRunningMutationsThunk:M,getRunningQueriesThunk:W,getRunningQueryThunk:K}=Lu({queryThunk:p,mutationThunk:l,api:e,serializeQueryArgs:i,context:f});return ke(e.util,{getRunningMutationThunk:I,getRunningMutationsThunk:M,getRunningQueryThunk:K,getRunningQueriesThunk:W}),{name:Ki,injectEndpoint(j,$){var H;const ee=e;(H=ee.endpoints)[j]??(H[j]={}),$s($)?ke(ee.endpoints[j],{name:j,select:x(j,$),initiate:A(j,$)},y(p,j)):Fu($)&&ke(ee.endpoints[j],{name:j,select:C(),initiate:E(j)},y(l,j))}}}}),Ds={exports:{}},Ls={};const tl=Za(yt);/**
|
|
9
9
|
* @license React
|
|
10
10
|
* use-sync-external-store-with-selector.production.min.js
|
|
11
11
|
*
|
|
@@ -13,13 +13,7 @@ var Hu=Object.defineProperty;var Wu=(e,t,r)=>t in e?Hu(e,t,{enumerable:!0,config
|
|
|
13
13
|
*
|
|
14
14
|
* This source code is licensed under the MIT license found in the
|
|
15
15
|
* LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/var kr=Jf;function Xf(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Zf=typeof Object.is=="function"?Object.is:Xf,ep=kr.useSyncExternalStore,tp=kr.useRef,rp=kr.useEffect,np=kr.useMemo,ip=kr.useDebugValue;zc.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var o=tp(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=np(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,Zf(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=ep(e,o[0],o[1]);return rp(function(){a.hasValue=!0,a.value=s},[s]),ip(s),s};jc.exports=zc;var op=jc.exports,de="default"in sr?Ks:sr,$a=Symbol.for("react-redux-context"),Ba=typeof globalThis<"u"?globalThis:{};function ap(){if(!de.createContext)return{};const e=Ba[$a]??(Ba[$a]=new Map);let t=e.get(de.createContext);return t||(t=de.createContext(null),e.set(de.createContext,t)),t}var qe=ap(),sp=()=>{throw new Error("uSES not initialized!")};function _o(e=qe){return function(){return de.useContext(e)}}var Hc=_o(),Wc=sp,cp=e=>{Wc=e},up=(e,t)=>e===t;function lp(e=qe){const t=e===qe?Hc:_o(e);return function(n,i={}){const{equalityFn:o=up,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=Wc(c.addNestedSub,s.getState,u||s.getState,p,o);return de.useDebugValue(f),f}}var qc=lp();function Gc(e){e()}function dp(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Gc(()=>{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 Ua={notify(){},get:()=>[]};function fp(e,t){let r,n=Ua,i=0,o=!1;function a(b){d();const y=n.subscribe(b);let m=!1;return()=>{m||(m=!0,y(),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=dp())}function l(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=Ua)}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 pp=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",hp=pp?de.useLayoutEffect:de.useEffect;function ja(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function cn(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 mp({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const a=de.useMemo(()=>{const u=fp(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]);hp(()=>{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||qe;return de.createElement(c.Provider,{value:a},r)}var vp=mp;function Qc(e=qe){const t=e===qe?Hc:_o(e);return function(){const{store:n}=t();return n}}var Vc=Qc();function yp(e=qe){const t=e===qe?Vc:Qc(e);return function(){return t().dispatch}}var Yc=yp(),gp=Gc;cp(op.useSyncExternalStoreWithSelector);function za(e,t,r,n){const i=ne(()=>({queryArgs:e,serialized:typeof e=="object"?t({queryArgs:e,endpointDefinition:r,endpointName:n}):e}),[e,t,r,n]),o=ve(i);return Q(()=>{o.current.serialized!==i.serialized&&(o.current=i)},[i]),o.current.serialized===i.serialized?o.current.queryArgs:e}var Gn=Symbol();function Qn(e){const t=ve(e);return Q(()=>{cn(t.current,e)||(t.current=e)},[e]),cn(t.current,e)?t.current:e}var vt=WeakMap?new WeakMap:void 0,bp=({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)=>Ie(a)?Object.keys(a).sort().reduce((s,c)=>(s[c]=a[c],s),{}):a);Ie(t)&&(vt==null||vt.set(t,i)),r=i}return`${e}(${r})`},_p=typeof window<"u"&&window.document&&window.document.createElement?ut:Q,wp=e=>e.isUninitialized?{...e,isUninitialized:!1,isFetching:!0,isLoading:e.data===void 0,status:Nc.pending}:e;function Sp({api:e,moduleOptions:{batch:t,hooks:{useDispatch:r,useSelector:n,useStore:i},unstable__sideEffectsInRender:o},serializeQueryArgs:a,context:s}){const c=o?f=>f():Q;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 y=f.isSuccess?f.data:v==null?void 0:v.data;y===void 0&&(y=f.data);const m=y!==void 0,g=f.isLoading,h=!m&&g,_=f.isSuccess||g&&m;return{...f,data:y,currentData:f.data,isFetching:g,isLoading:h,isSuccess:_}}function d(f,v){const b=r(),y=Qn(v);return gt((m,g)=>b(e.util.prefetch(f,m,{...y,...g})),[f,b,y])}function l(f){const v=(m,{refetchOnReconnect:g,refetchOnFocus:h,refetchOnMountOrArgChange:_,skip:C=!1,pollingInterval:E=0}={})=>{const{initiate:w}=e.endpoints[f],x=r(),T=ve();if(!T.current){const N=x(e.internalActions.internal_getRTKQSubscriptions());T.current=N}const k=za(C?et:m,bp,s.endpointDefinitions[f],f),A=Qn({refetchOnReconnect:g,refetchOnFocus:h,pollingInterval:E}),O=ve(!1),P=ve();let{queryCacheKey:L,requestId:H}=P.current||{},K=!1;L&&H&&(K=T.current.isRequestSubscribed(L,H));const U=!K&&O.current;return c(()=>{O.current=K}),c(()=>{U&&(P.current=void 0)},[U]),c(()=>{var V;const N=P.current;if(typeof process<"u",k===et){N==null||N.unsubscribe(),P.current=void 0;return}const oe=(V=P.current)==null?void 0:V.subscriptionOptions;if(!N||N.arg!==k){N==null||N.unsubscribe();const Ee=x(w(k,{subscriptionOptions:A,forceRefetch:_}));P.current=Ee}else A!==oe&&N.updateSubscriptionOptions(A)},[x,w,_,k,A,U]),Q(()=>()=>{var N;(N=P.current)==null||N.unsubscribe(),P.current=void 0},[]),ne(()=>({refetch:()=>{var N;if(!P.current)throw new Error(ge(38));return(N=P.current)==null?void 0:N.refetch()}}),[])},b=({refetchOnReconnect:m,refetchOnFocus:g,pollingInterval:h=0}={})=>{const{initiate:_}=e.endpoints[f],C=r(),[E,w]=Ae(Gn),x=ve(),T=Qn({refetchOnReconnect:m,refetchOnFocus:g,pollingInterval:h});c(()=>{var P,L;const O=(P=x.current)==null?void 0:P.subscriptionOptions;T!==O&&((L=x.current)==null||L.updateSubscriptionOptions(T))},[T]);const k=ve(T);c(()=>{k.current=T},[T]);const A=gt(function(O,P=!1){let L;return t(()=>{var H;(H=x.current)==null||H.unsubscribe(),x.current=L=C(_(O,{subscriptionOptions:k.current,forceRefetch:!P})),w(O)}),L},[C,_]);return Q(()=>()=>{var O;(O=x==null?void 0:x.current)==null||O.unsubscribe()},[]),Q(()=>{E!==Gn&&!x.current&&A(E,!0)},[E,A]),ne(()=>[A,E],[A,E])},y=(m,{skip:g=!1,selectFromResult:h}={})=>{const{select:_}=e.endpoints[f],C=za(g?et:m,a,s.endpointDefinitions[f],f),E=ve(),w=ne(()=>Et([_(C),(O,P)=>P,O=>C],u),[_,C]),x=ne(()=>h?Et([w],h,{devModeChecks:{identityFunctionCheck:"never"}}):w,[w,h]),T=n(O=>x(O,E.current),cn),k=i(),A=w(k.getState(),E.current);return _p(()=>{E.current=A},[A]),T};return{useQueryState:y,useQuerySubscription:v,useLazyQuerySubscription:b,useLazyQuery(m){const[g,h]=b(m),_=y(h,{...m,skip:h===Gn}),C=ne(()=>({lastArg:h}),[h]);return ne(()=>[g,_,C],[g,_,C])},useQuery(m,g){const h=v(m,g),_=y(m,{selectFromResult:m===et||g!=null&&g.skip?void 0:wp,...g}),{data:C,status:E,isLoading:w,isSuccess:x,isError:T,error:k}=_;return Xr({data:C,status:E,isLoading:w,isSuccess:x,isError:T,error:k}),ne(()=>({..._,...h}),[_,h])}}}function p(f){return({selectFromResult:v,fixedCacheKey:b}={})=>{const{select:y,initiate:m}=e.endpoints[f],g=r(),[h,_]=Ae();Q(()=>()=>{h!=null&&h.arg.fixedCacheKey||h==null||h.reset()},[h]);const C=gt(function(V){const Ee=g(m(V,{fixedCacheKey:b}));return _(Ee),Ee},[g,m,b]),{requestId:E}=h||{},w=ne(()=>y({fixedCacheKey:b,requestId:h==null?void 0:h.requestId}),[b,h,y]),x=ne(()=>v?Et([w],v):w,[v,w]),T=n(x,cn),k=b==null?h==null?void 0:h.arg.originalArgs:void 0,A=gt(()=>{t(()=>{h&&_(void 0),b&&g(e.internalActions.removeMutationResult({requestId:E,fixedCacheKey:b}))})},[g,b,h,E]),{endpointName:O,data:P,status:L,isLoading:H,isSuccess:K,isError:U,error:N}=T;Xr({endpointName:O,data:P,status:L,isLoading:H,isSuccess:K,isError:U,error:N});const oe=ne(()=>({...T,originalArgs:k,reset:A}),[T,k,A]);return ne(()=>[C,oe],[C,oe])}}}function Cp(e){return e.type==="query"}function Ep(e){return e.type==="mutation"}function Vn(e){return e.replace(e[0],e[0].toUpperCase())}function Dr(e,...t){return Object.assign(e,...t)}var xp=Symbol(),Tp=({batch:e=gp,hooks:t={useDispatch:Yc,useSelector:qc,useStore:Vc},unstable__sideEffectsInRender:r=!1,...n}={})=>({name:xp,init(i,{serializeQueryArgs:o},a){const s=i,{buildQueryHooks:c,buildMutationHook:u,usePrefetch:d}=Sp({api:i,moduleOptions:{batch:e,hooks:t,unstable__sideEffectsInRender:r},serializeQueryArgs:o,context:a});return Dr(s,{usePrefetch:d}),Dr(a,{batch:e}),{injectEndpoint(l,p){if(Cp(p)){const{useQuery:f,useLazyQuery:v,useLazyQuerySubscription:b,useQueryState:y,useQuerySubscription:m}=c(l);Dr(s.endpoints[l],{useQuery:f,useLazyQuery:v,useLazyQuerySubscription:b,useQueryState:y,useQuerySubscription:m}),i[`use${Vn(l)}Query`]=f,i[`useLazy${Vn(l)}Query`]=v}else if(Ep(p)){const f=u(l);Dr(s.endpoints[l],{useMutation:f}),i[`use${Vn(l)}Mutation`]=f}}}}}),kp=$f(Kf(),Tp());const Rp=async(e,t,r)=>{const n=t.getState().session.backendUrl;return If({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)},rt=kp({baseQuery:Rp,reducerPath:"backendApi",endpoints:e=>({campaignConnect:e.query({query:()=>({url:"super-campaign/backend/campaign-connect",method:"GET"}),keepUnusedDataFor:Number.MAX_SAFE_INTEGER})})}),{useLazyCampaignConnectQuery:Op}=rt,Ei=Ue({name:"session",initialState:{},reducers:{setSession:(e,t)=>t.payload}}),{setSession:Ap}=Ei.actions,xi=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:Ip,setSelectedFund:Kc,clearSelectedFund:be}=xi.actions,Ha=of({reducer:{[Ei.name]:Ei.reducer,[rt.reducerPath]:rt.reducer,[xi.reducerPath]:xi.reducer},middleware:e=>e().concat(rt.middleware)}),Rr=()=>Yc(),st=qc,wo=({fillWidth:e=!1,fillWidthOnMobile:t=!1,disabled:r=!1,onClick:n=void 0,children:i})=>{const[o,a]=Ae(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&&S($t,{size:16}),S("div",{css:[o===1&&{display:"none"}],children:i})]})},Pp=rn.a({fontWeight:"500",textDecorationLine:"underline",textUnderlineOffset:"2px",":hover":{"--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))"}}),Lp="_extnav=true",$=({link:e,onClick:t,children:r,...n})=>{const i=e.indexOf("?")===-1?"?":"&",o=`${e}${i}${Lp}`;return S(Pp,{target:"_blank",href:o,onClick:t,...n,children:r})},Np=""+new URL("assets/logo-slate-qMDg7z1_.png",import.meta.url).href,Mp="Slate Super",So="32367272075001",It={fundId:"slate",name:Mp,logo:Np,iframeType:"SlateJoin",features:[S("p",{children:"A lifestage investment strategy that evolves with you"}),S("p",{children:"Advanced mobile app with retirement forecast and smart features"}),S("p",{children:"Member advocates at Slate to assist with your account"})],disclaimer:R("p",{children:["You should consider the"," ",S($,{link:"https://slate.co/pds/?utm_source=flare&utm_medium=superselection",onClick:()=>se(It),children:"Product Disclosure Statement"})," ","and"," ",S($,{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"},lt=e=>{document.dispatchEvent(new CustomEvent(e.type,{detail:e}))},Ti=()=>{lt({sender:"super-campaign",type:"choose-another-fund-requested"})},Fp=e=>{lt({sender:"super-campaign",type:"fund-panel-shown",shownFunds:e.map(t=>({fundId:t.fundId,fundType:t.fundType}))})},Dp=e=>{lt({sender:"super-campaign",type:"fund-tile-clicked",fundId:e.fundId,fundType:e.fundType,fundName:e.name,fundUsi:e.fundId===It.fundId?So:void 0})},se=e=>{lt({sender:"super-campaign",type:"fund-pds-viewed",pageName:"Panel Fund Page",fundName:e.name,fundUsi:e.fundId===It.fundId?So:void 0})},$p=()=>{lt({sender:"super-campaign",type:"disclaimer-accepted"})},Bp=()=>{lt({sender:"super-campaign",type:"disclaimer-viewed"})},wt=e=>{lt({sender:"super-campaign",type:"promoted-fund-joined",fundJoinInfo:e})};var ye={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},Re=console,Ze={};Object.keys(ye).forEach(function(e){Ze[e]=Re[e]});var Qt="Datadog Browser SDK:",ee={debug:Ze.debug.bind(Re,Qt),log:Ze.log.bind(Re,Qt),info:Ze.info.bind(Re,Qt),warn:Ze.warn.bind(Re,Qt),error:Ze.error.bind(Re,Qt)};function Jc(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){ee.error(t,i)}}}var yr;(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"})(yr||(yr={}));var Co=new Set;function Up(e){e.forEach(function(t){Co.add(t)})}function Xc(e){return Co.has(e)}function jp(){return Co}function ki(e){return e!==0&&Math.random()*100<=e}function Yn(e){return zp(e)&&e>=0&&e<=100}function zp(e){return typeof e=="number"}var Or=1e3,dt=60*Or,Hp=60*dt;function tr(){return new Date().getTime()}function Ge(){return tr()}function un(){return performance.now()}function Bt(){return{relative:un(),timeStamp:Ge()}}function Wp(){return{relative:0,timeStamp:Zc()}}function qp(e,t){return t-e}function Gp(e,t){return e+t}function Qp(e){return e-Zc()}var Kn;function Zc(){return Kn===void 0&&(Kn=performance.timing.navigationStart),Kn}var Fe=1024,eu=1024*Fe,Vp=/[^\u0000-\u007F]/;function Eo(e){return Vp.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 tu(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 Yp(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 Kp(e){return Object.keys(e).map(function(t){return[t,e[t]]})}function ru(e,t){return e.slice(0,t.length)===t}function Jp(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 Xp(e){return le({},e)}function Wa(e,t){return Object.keys(e).some(function(r){return e[r]===t})}function xo(e){return Object.keys(e).length===0}function Qe(){if(typeof globalThis=="object")return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var e=_dd_temp_;return delete Object.prototype._dd_temp_,typeof e!="object"&&(typeof self=="object"?e=self:typeof window=="object"?e=window:e={}),e}function Lt(e,t){var r=Qe(),n;return r.Zone&&typeof r.Zone.__symbol__=="function"&&(n=e[r.Zone.__symbol__(t)]),n||(n=e[t]),n}var Zp=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,nu=!1;function eh(e){ln=e}function th(e){nu=e}function rh(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?D(n):n;return a.apply(this,i)}}function D(e){return function(){return gr(e,this,arguments)}}function gr(e,t,r){try{return e.apply(t,r)}catch(n){if(Ri(n),ln)try{ln(n)}catch(i){Ri(i)}}}function Ri(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];nu&&ee.error.apply(ee,Zp(["[MONITOR]"],e,!1))}function Ar(e,t){return Lt(Qe(),"setTimeout")(D(e),t)}function iu(e){Lt(Qe(),"clearTimeout")(e)}function To(e,t){return Lt(Qe(),"setInterval")(D(e),t)}function ou(e){Lt(Qe(),"clearInterval")(e)}var te=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 au(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new te(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 su(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(){iu(s),o=!1,a=void 0}}}function jt(){}function ft(e){return e?(parseInt(e,10)^Math.random()*16>>parseInt(e,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,ft)}var dn=/([\w-]+)\s*=\s*([^;]+)/g;function nh(e,t){for(dn.lastIndex=0;;){var r=dn.exec(e);if(r){if(r[1]===t)return r[2]}else break}}function ih(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 oh(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 cu=4*Hp,uu=15*dt;function ah(){return sh()===1}var $r;function sh(){return $r??($r=ch())}function ch(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 Fn(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 ko(e){return nh(document.cookie,e)}var Jn;function tt(e){return Jn||(Jn=ih(document.cookie)),Jn.get(e)}function Ro(e,t){Fn(e,"",0,t)}function uh(e){if(document.cookie===void 0||document.cookie===null)return!1;try{var t="dd_cookie_test_".concat(ft()),r="test";Fn(t,r,dt,e);var n=ko(t)===r;return Ro(t,e),n}catch(i){return ee.error(i),!1}}var Xn;function lh(){if(Xn===void 0){for(var e="dd_site_test_".concat(ft()),t="test",r=window.location.hostname.split("."),n=r.pop();r.length&&!ko(e);)n="".concat(r.pop(),".").concat(n),Fn(e,t,Or,{domain:n});Ro(e,{domain:n}),Xn=n}return Xn}var pt="_dd_s",lu=/^([a-z]+)=([a-z0-9-]+)$/,Oo="&";function Oi(e){return xo(e)}function du(e){e.expire=String(tr()+uu)}function fu(e){return Kp(e).map(function(t){var r=t[0],n=t[1];return"".concat(r,"=").concat(n)}).join(Oo)}function pu(e){var t={};return dh(e)&&e.split(Oo).forEach(function(r){var n=lu.exec(r);if(n!==null){var i=n[1],o=n[2];t[i]=o}}),t}function dh(e){return!!e&&(e.indexOf(Oo)!==-1||lu.test(e))}var fh="_dd",ph="_dd_r",hh="_dd_l",mh="rum",vh="logs";function yh(e){var t=tt(pt);if(!t){var r=tt(fh),n=tt(ph),i=tt(hh),o={};r&&(o.id=r),i&&/^[01]$/.test(i)&&(o[vh]=i),n&&/^[012]$/.test(n)&&(o[mh]=n),Oi(o)||(du(o),e.persistSession(o))}}function gh(e){var t=Ch(e);return uh(t)?{type:"Cookie",cookieOptions:t}:void 0}function bh(e){var t={isLockEnabled:ah(),persistSession:_h(e),retrieveSession:wh,clearSession:Sh(e)};return yh(t),t}function _h(e){return function(t){Fn(pt,fu(t),uu,e)}}function wh(){var e=ko(pt);return pu(e)}function Sh(e){return function(){Ro(pt,e)}}function Ch(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=lh()),t}var Eh="_dd_test_";function xh(){try{var e=ft(),t="".concat(Eh).concat(e);localStorage.setItem(t,e);var r=localStorage.getItem(t);return localStorage.removeItem(t),e===r?{type:"LocalStorage"}:void 0}catch{return}}function Th(){return{isLockEnabled:!1,persistSession:kh,retrieveSession:Rh,clearSession:Oh}}function kh(e){localStorage.setItem(pt,fu(e))}function Rh(){var e=localStorage.getItem(pt);return pu(e)}function Oh(){localStorage.removeItem(pt)}var Ah=10,Ih=100,hu=[],Yr;function rr(e,t,r){var n;r===void 0&&(r=0);var i=t.isLockEnabled,o=t.retrieveSession,a=t.persistSession,s=t.clearSession;if(Yr||(Yr=e),e!==Yr){hu.push(e);return}if(i&&r>=Ih){qa(t);return}var c,u=o();if(i){if(u.lock){Br(e,t,r);return}if(c=ft(),u.lock=c,a(u),u=o(),u.lock!==c){Br(e,t,r);return}}var d=e.process(u);if(i&&(u=o(),u.lock!==c)){Br(e,t,r);return}if(d&&(Oi(d)?s():(du(d),a(d))),i&&!(d&&Oi(d))){if(u=o(),u.lock!==c){Br(e,t,r);return}delete u.lock,a(u),d=u}(n=e.after)===null||n===void 0||n.call(e,d||u),qa(t)}function Br(e,t,r){Ar(function(){rr(e,t,r+1)},Ah)}function qa(e){Yr=void 0;var t=hu.shift();t&&rr(t,e)}var Ga=Or;function Ph(e){var t=gh(e);return!t&&e.allowFallbackToLocalStorage&&(t=xh()),t}function Lh(e,t,r){var n=new te,i=new te,o=e.type==="Cookie"?bh(e.cookieOptions):Th(),a=o.clearSession,s=o.retrieveSession,c=To(v,Ga),u=C(),d=su(function(){var w;rr({process:function(x){var T=b(x);return w=y(T),T},after:function(x){w&&!m()&&_(x),u=x}},o)},Ga),l=d.throttled,p=d.cancel;function f(){rr({process:function(w){return m()?b(w):void 0}},o)}function v(){rr({process:function(w){return E(w)?void 0:{}},after:b},o)}function b(w){return E(w)||(w={}),m()&&(g(w)?h():u=w),w}function y(w){var x=r(w[t]),T=x.trackingType,k=x.isTracked;return w[t]=T,k&&!w.id&&(w.id=ft(),w.created=String(tr())),k}function m(){return u[t]!==void 0}function g(w){return u.id!==w.id||u[t]!==w[t]}function h(){u={},i.notify()}function _(w){u=w,n.notify()}function C(){var w=s();return E(w)?w:{}}function E(w){return(w.created===void 0||tr()-Number(w.created)<cu)&&(w.expire===void 0||tr()<Number(w.expire))}return{expandOrRenewSession:l,expandSession:f,getSession:function(){return u},renewObservable:n,expireObservable:i,expire:function(){p(),a(),b({})},stop:function(){ou(c)}}}var Ai={GRANTED:"granted",NOT_GRANTED:"not-granted"};function Nh(e){var t=new te;return{tryToInit:function(r){e||(e=r)},update:function(r){e=r,t.notify()},isGranted:function(){return e===Ai.GRANTED},observable:t}}function zt(e,t,r){if(typeof e!="object"||e===null)return JSON.stringify(e);var n=St(Object.prototype),i=St(Array.prototype),o=St(Object.getPrototypeOf(e)),a=St(e);try{return JSON.stringify(e,t,r)}catch{return"<error: unable to serialize object>"}finally{n(),i(),o(),a()}}function St(e){var t=e,r=t.toJSON;return r?(delete t.toJSON,function(){t.toJSON=r}):jt}function Ao(e){return Mh(e,location.href).href}function Mh(e,t){var r=Fh();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 Qa=URL,Ur;function Fh(){if(Ur===void 0)try{var e=new Qa("http://test/path");Ur=e.href==="http://test/path"}catch{Ur=!1}return Ur?Qa:void 0}var Dh="datad0g.com",$h="dd0g-gov.com",nr="datadoghq.com",Bh="ddog-gov.com";function ir(e,t,r){var n=Uh(e,t);return{build:function(i,o){var a=zh(e,t,r,i,o);return n(a)},urlPrefix:n(""),trackType:t}}function Uh(e,t){var r="/api/v2/".concat(t),n=e.proxy;if(typeof n=="string"){var i=Ao(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=jh(e);return function(a){return"https://".concat(o).concat(r,"?").concat(a)}}function jh(e){var t=e.site,r=t===void 0?nr:t,n=e.internalAnalyticsSubdomain;if(n&&r===nr)return"".concat(n,".").concat(nr);if(r===$h)return"http-intake.logs.".concat(r);var i=r.split("."),o=i.pop();return"browser-intake-".concat(i.join("-"),".").concat(o)}function zh(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&&Xc(yr.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(Ge())),a&&l.reverse(),l.join("&")}var Hh=200;function Wh(e){var t=e.env,r=e.service,n=e.version,i=e.datacenter,o=[];return t&&o.push(jr("env",t)),r&&o.push(jr("service",r)),n&&o.push(jr("version",n)),i&&o.push(jr("datacenter",i)),o}var qh=/[^a-z0-9_:./-]/;function jr(e,t){var r=Hh-e.length-1;(t.length>r||qh.test(t))&&ee.warn("".concat(e," value doesn't meet tag requirements and will be sanitized"));var n=t.replace(/,/g,"_");return"".concat(e,":").concat(n)}function Gh(e){var t=Wh(e),r=Qh(e,t),n=Pt(r).map(function(o){return o.urlPrefix}),i=Vh(e,n,t);return le({isIntakeUrl:function(o){return n.some(function(a){return o.indexOf(a)===0})},replica:i,site:e.site||nr},r)}function Qh(e,t){return{logsEndpointBuilder:ir(e,"logs",t),rumEndpointBuilder:ir(e,"rum",t),sessionReplayEndpointBuilder:ir(e,"replay",t)}}function Vh(e,t,r){if(e.replica){var n=le({},e,{site:nr,clientToken:e.replica.clientToken}),i={logsEndpointBuilder:ir(n,"logs",r),rumEndpointBuilder:ir(n,"rum",r)};return t.push.apply(t,Pt(i).map(function(o){return o.urlPrefix})),le({applicationId:e.replica.applicationId},i)}}function Yh(e){var t,r,n,i;if(!e||!e.clientToken){ee.error("Client Token is not configured, we will not send any data.");return}if(e.sessionSampleRate!==void 0&&!Yn(e.sessionSampleRate)){ee.error("Session Sample Rate should be a number between 0 and 100");return}if(e.telemetrySampleRate!==void 0&&!Yn(e.telemetrySampleRate)){ee.error("Telemetry Sample Rate should be a number between 0 and 100");return}if(e.telemetryConfigurationSampleRate!==void 0&&!Yn(e.telemetryConfigurationSampleRate)){ee.error("Telemetry Configuration Sample Rate should be a number between 0 and 100");return}if(e.trackingConsent!==void 0&&!Wa(Ai,e.trackingConsent)){ee.error('Tracking Consent should be either "granted" or "not-granted"');return}return Array.isArray(e.enableExperimentalFeatures)&&Up(e.enableExperimentalFeatures.filter(function(o){return Wa(yr,o)})),le({beforeSend:e.beforeSend&&Jc(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:Ph(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:Ai.GRANTED,batchBytesLimit:16*Fe,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:30*Or,batchMessagesLimit:50,messageBytesLimit:256*Fe},Gh(e))}function Kh(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 nt(e,t,r){var n=e[t],i=Jh(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 Jh(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 Ir="?";function $e(e){var t=[],r=Zn(e,"stack"),n=String(e);return r&&ru(r,n)&&(r=r.slice(n.length)),r&&r.split(`
|
|
17
|
-
`).forEach(function(i){var o=em(i)||rm(i)||im(i)||sm(i);o&&(!o.func&&o.line&&(o.func=Ir),t.push(o))}),{message:Zn(e,"message"),name:Zn(e,"name"),stack:t}}var mu="((?:file|https?|blob|chrome-extension|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",Nt="(?::(\\d+))",Xh=new RegExp("^\\s*at (.*?) ?\\(".concat(mu).concat(Nt,"?").concat(Nt,"?\\)?\\s*$"),"i"),Zh=new RegExp("\\((\\S*)".concat(Nt).concat(Nt,"\\)"));function em(e){var t=Xh.exec(e);if(t){var r=t[2]&&t[2].indexOf("native")===0,n=t[2]&&t[2].indexOf("eval")===0,i=Zh.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]||Ir,line:t[3]?+t[3]:void 0,url:r?void 0:t[2]}}}var tm=new RegExp("^\\s*at ?".concat(mu).concat(Nt,"?").concat(Nt,"??\\s*$"),"i");function rm(e){var t=tm.exec(e);if(t)return{args:[],column:t[3]?+t[3]:void 0,func:Ir,line:t[2]?+t[2]:void 0,url:t[1]}}var nm=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function im(e){var t=nm.exec(e);if(t)return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||Ir,line:+t[3],url:t[2]}}var om=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,am=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function sm(e){var t=om.exec(e);if(t){var r=t[3]&&t[3].indexOf(" > eval")>-1,n=am.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]||Ir,line:t[4]?+t[4]:void 0,url:t[3]}}}function Zn(e,t){if(!(typeof e!="object"||!e||!(t in e))){var r=e[t];return typeof r=="string"?r:void 0}}function cm(e,t,r,n){var i=[{url:t,column:n,line:r}],o=lm(e),a=o.name,s=o.message;return{name:a,message:s,stack:i}}var um=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function lm(e){var t,r,n;return{}.toString.call(e)==="[object String]"&&(t=um.exec(e),r=t[1],n=t[2]),{name:r,message:n}}var dm=220*Fe,fm="$",pm=3;function De(e,t){var r;t===void 0&&(t=dm);var n=St(Object.prototype),i=St(Array.prototype),o=[],a=new WeakMap,s=ei(e,fm,void 0,o,a),c=((r=JSON.stringify(s))===null||r===void 0?void 0:r.length)||0;if(c>t){ti(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=ei(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){ti(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=ei(u.source[l],u.path,l,o,a);if(p!==void 0&&(c+=JSON.stringify(p).length+d+l.length+pm,d=1),c>t){ti(t,"truncated",e);break}u.target[l]=p}}return n(),i(),s}function ei(e,t,r,n,i){var o=vm(e);if(!o||typeof o!="object")return hm(o);var a=mm(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 hm(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 mm(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 vm(e){var t=e;if(t&&typeof t.toJSON=="function")try{return t.toJSON()}catch{}return e}function ti(e,t,r){ee.warn("The data provided has been ".concat(t," as it is over the limit of ").concat(e," characters:"),r)}var vu="No stack, consider using an instance of Error";function yu(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=ym(t,c,o,r),d=gm(c,t)?ht(t):vu,l=c?_u(r,a):void 0,p=t==null?void 0:t.name,f=gu(r);return{startClocks:i,source:a,handling:s,handlingStack:n,originalError:r,type:p,message:u,stack:d,causes:l,fingerprint:f}}function ym(e,t,r,n){return e!=null&&e.message&&(e!=null&&e.name)?e.message:t?"Empty message":"".concat(r," ").concat(zt(De(n)))}function gm(e,t){return t===void 0?!1:e?!0:t.stack.length>0&&(t.stack.length>1||t.stack[0].url!==void 0)}function gu(e){return e instanceof Error&&"dd_fingerprint"in e?String(e.dd_fingerprint):void 0}function ht(e){var t=bu(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 bm(e){var t;return(t=/@ (.+)/.exec(e))===null||t===void 0?void 0:t[1]}function bu(e){return"".concat(e.name||"Error",": ").concat(e.message)}function _m(){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 _u(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 wm(e){var t=function(i,o){var a=yu({stackTrace:i,originalError:o,startClocks:Bt(),nonErrorPrefix:"Uncaught",source:Ce.SOURCE,handling:"unhandled"});e.notify(a)},r=Sm(t).stop,n=Cm(t).stop;return{stop:function(){r(),n()}}}function Sm(e){return nt(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=cm(n,i,o,a),e(c,s??n)})}function Cm(e){return nt(window,"onunhandledrejection",function(t){var r=t.parameters[0],n=r.reason||"Empty reason",i=$e(n);e(i,n)})}function Em(e){var t=le({version:"5.11.0",onReady:function(r){r()}},e);return Object.defineProperty(t,"_setDebug",{get:function(){return th},enumerable:!1}),t}function xm(e,t,r){var n=e[t];e[t]=r,n&&n.q&&n.q.forEach(function(i){return Jc(i,"onReady callback threw an error:")()})}function wu(e,t){t.silentMultipleInit||ee.error("".concat(e," is already initialized."))}var ie;(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"})(ie||(ie={}));function Ht(e,t,r,n,i){return Io(e,t,[r],n,i)}function Io(e,t,r,n,i){var o=i===void 0?{}:i,a=o.once,s=o.capture,c=o.passive,u=D(function(f){!f.isTrusted&&!f.__ddIsTrusted&&!e.allowUntrustedEvents||(a&&p(),n(f))}),d=c?{capture:s,passive:c}:s,l=Lt(t,"addEventListener");r.forEach(function(f){return l.call(t,f,u,d)});function p(){var f=Lt(t,"removeEventListener");r.forEach(function(v){return f.call(t,v,u,d)})}return{stop:p}}var je={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function Tm(e,t){var r=[];Ut(t,je.cspViolation)&&r.push(Rm(e));var n=t.filter(function(i){return i!==je.cspViolation});return n.length&&r.push(km(n)),au.apply(void 0,r)}function km(e){return new te(function(t){if(window.ReportingObserver){var r=D(function(i,o){return i.forEach(function(a){t.notify(Om(a))})}),n=new window.ReportingObserver(r,{types:e,buffered:!0});return n.observe(),function(){n.disconnect()}}})}function Rm(e){return new te(function(t){var r=Ht(e,document,ie.SECURITY_POLICY_VIOLATION,function(n){t.notify(Am(n))}).stop;return r})}function Om(e){var t=e.type,r=e.body;return{type:t,subtype:r.id,message:"".concat(t,": ").concat(r.message),originalReport:e,stack:Su(r.id,r.message,r.sourceFile,r.lineNumber,r.columnNumber)}}function Am(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:Su(e.effectiveDirective,e.originalPolicy?"".concat(r,' of the policy "').concat(oh(e.originalPolicy,100,"..."),'"'):"no policy",e.sourceFile,e.lineNumber,e.columnNumber),originalReport:e}}function Su(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 Cu(e,t){var r=window.__ddBrowserSdkExtensionCallback;r&&r({type:e,payload:t})}function Po(e){return e===null?"null":Array.isArray(e)?"array":typeof e}function fn(e,t,r){if(r===void 0&&(r=Im()),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=Po(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 Eu(e){return fn(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=fn(r,o))}return r}function Im(){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 Pm(){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 Lo={log:"log",configuration:"configuration"},Lm=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],Nm=[Bh],ke={maxEventsPerPage:0,sentEventCount:0,telemetryEnabled:!1,telemetryConfigurationEnabled:!1},Ii;function Mm(e,t){var r,n=new te;ke.telemetryEnabled=!Ut(Nm,t.site)&&ki(t.telemetrySampleRate),ke.telemetryConfigurationEnabled=ke.telemetryEnabled&&ki(t.telemetryConfigurationSampleRate);var i=Fm();Ii=function(a){if(ke.telemetryEnabled){var s=o(e,a,i);n.notify(s),Cu("telemetry",s)}},eh(Tu),le(ke,{maxEventsPerPage:t.maxTelemetryEventsPerPage,sentEventCount:0});function o(a,s,c){return Mt({type:"telemetry",date:Ge(),service:a,version:"5.11.0",source:"browser",_dd:{format_version:2},telemetry:Mt(s,{runtime_env:c,connectivity:Pm()}),experimental_features:tu(jp())},r!==void 0?r():{})}return{setContextProvider:function(a){r=a},observable:n,enabled:ke.telemetryEnabled}}function Fm(){return{is_local_file:window.location.protocol==="file:",is_worker:"WorkerGlobalScope"in self}}function Dm(e){return e.site===Dh}function xu(e,t){Ri(ye.debug,e,t),No(le({type:Lo.log,message:e,status:"debug"},t))}function Tu(e,t){No(le({type:Lo.log,status:"error"},Bm(e),t))}function $m(e){ke.telemetryConfigurationEnabled&&No({type:Lo.configuration,configuration:e})}function No(e){Ii&&ke.sentEventCount<ke.maxEventsPerPage&&(ke.sentEventCount+=1,Ii(e))}function Bm(e){if(e instanceof Error){var t=$e(e);return{error:{kind:t.name,stack:ht(Um(t))},message:t.message}}return{error:{stack:vu},message:"".concat("Uncaught"," ").concat(zt(e))}}function Um(e){return e.stack=e.stack.filter(function(t){return!t.url||Lm.some(function(r){return ru(t.url,r)})}),e}function jm(e){var t=new Set;return e.forEach(function(r){return t.add(r)}),tu(t)}function ku(e,t){var r=e.indexOf(t);r>=0&&e.splice(r,1)}var zr=1/0,zm=dt,Hm=function(){function e(t,r){var n=this;this.expireDelay=t,this.maxEntries=r,this.entries=[],this.clearOldValuesInterval=To(function(){return n.clearOldValues()},zm)}return e.prototype.add=function(t,r){var n=this,i={value:t,startTime:r,endTime:zr,remove:function(){ku(n.entries,i)},close:function(o){i.endTime=o}};return this.maxEntries&&this.entries.length>=this.maxEntries&&this.entries.pop(),this.entries.unshift(i),i},e.prototype.find=function(t){t===void 0&&(t=zr);for(var r=0,n=this.entries;r<n.length;r++){var i=n[r];if(i.startTime<=t){if(t<=i.endTime)return i.value;break}}},e.prototype.closeActive=function(t){var r=this.entries[0];r&&r.endTime===zr&&r.close(t)},e.prototype.findAll=function(t,r){t===void 0&&(t=zr),r===void 0&&(r=0);var n=Gp(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(){ou(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}(),Wm=dt,qm=cu;function Gm(e,t,r,n){var i=new te,o=new te,a=Lh(e.sessionStoreStrategyType,t,r),s=new Hm(qm);a.renewObservable.subscribe(function(){s.add(c(),un()),i.notify()}),a.expireObservable.subscribe(function(){o.notify(),s.closeActive(un())}),a.expandOrRenewSession(),s.add(c(),Wp().relative),n.observable.subscribe(function(){n.isGranted()?a.expandOrRenewSession():a.expire()}),Qm(e,function(){n.isGranted()&&a.expandOrRenewSession()}),Vm(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 Qm(e,t){Io(e,window,[ie.CLICK,ie.TOUCH_START,ie.KEY_DOWN,ie.SCROLL],t,{capture:!0,passive:!0}).stop}function Vm(e,t){var r=function(){document.visibilityState==="visible"&&t()};Ht(e,document,ie.VISIBILITY_CHANGE,r).stop,To(r,Wm)}function Ru(e){return e>=500}function Ym(e){try{return e.clone()}catch{return}}var Km=80*Fe,Jm=32,Ou=3*eu,Xm=dt,Au=Or;function Iu(e,t,r,n,i){t.transportStatus===0&&t.queuedPayloads.size()===0&&t.bandwidthMonitor.canHandle(e)?Lu(e,t,r,{onSuccess:function(){return Nu(0,t,r,n,i)},onFailure:function(){t.queuedPayloads.enqueue(e),Pu(t,r,n,i)}}):t.queuedPayloads.enqueue(e)}function Pu(e,t,r,n){e.transportStatus===2&&Ar(function(){var i=e.queuedPayloads.first();Lu(i,e,t,{onSuccess:function(){e.queuedPayloads.dequeue(),e.currentBackoffTime=Au,Nu(1,e,t,r,n)},onFailure:function(){e.currentBackoffTime=Math.min(Xm,e.currentBackoffTime*2),Pu(e,t,r,n)}})},e.currentBackoffTime)}function Lu(e,t,r,n){var i=n.onSuccess,o=n.onFailure;t.bandwidthMonitor.add(e),r(e,function(a){t.bandwidthMonitor.remove(e),Zm(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 Nu(e,t,r,n,i){e===0&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(i({message:"Reached max ".concat(n," events size queued for upload: ").concat(Ou/eu,"MiB"),source:Ce.AGENT,startClocks:Bt()}),t.queueFullReported=!0);var o=t.queuedPayloads;for(t.queuedPayloads=Mu();o.size()>0;)Iu(o.dequeue(),t,r,n,i)}function Zm(e){return e.type!=="opaque"&&(e.status===0&&!navigator.onLine||e.status===408||e.status===429||Ru(e.status))}function ev(){return{transportStatus:0,currentBackoffTime:Au,bandwidthMonitor:tv(),queuedPayloads:Mu(),queueFullReported:!1}}function Mu(){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>=Ou}}}function tv(){return{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(e){return this.ongoingRequestCount===0||this.ongoingByteCount+e.bytesCount<=Km&&this.ongoingRequestCount<Jm},add:function(e){this.ongoingRequestCount+=1,this.ongoingByteCount+=e.bytesCount},remove:function(e){this.ongoingRequestCount-=1,this.ongoingByteCount-=e.bytesCount}}}function rv(e,t,r,n){var i=ev(),o=function(a,s){return ov(e,t,r,a,s)};return{send:function(a){Iu(a,i,o,t.trackType,n)},sendOnExit:function(a){nv(e,t,r,a)}}}function nv(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){iv(c)}var s=t.build("xhr",n);Pi(e,s,n.data)}var Va=!1;function iv(e){Va||(Va=!0,Tu(e))}function ov(e,t,r,n,i){var o=av()&&n.bytesCount<r;if(o){var a=t.build("fetch",n);fetch(a,{method:"POST",body:n.data,keepalive:!0,mode:"cors"}).then(D(function(c){return i==null?void 0:i({status:c.status,type:c.type})}),D(function(){var c=t.build("xhr",n);Pi(e,c,n.data,i)}))}else{var s=t.build("xhr",n);Pi(e,s,n.data,i)}}function av(){try{return window.Request&&"keepalive"in new Request("http://a")}catch{return!1}}function Pi(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 Mo(){var e=sv();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=Mo();return!!r&&r.getAllowedWebViewHosts().some(function(n){return e===n||Jp(e,".".concat(n))})}function sv(){return Qe().DatadogEventBridge}var Kt={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function cv(e){return new te(function(t){var r=Xc(yr.PAGEHIDE),n=Io(e,window,[ie.VISIBILITY_CHANGE,ie.FREEZE,ie.PAGE_HIDE],function(o){o.type===ie.PAGE_HIDE&&r?t.notify({reason:Kt.PAGEHIDE}):o.type===ie.VISIBILITY_CHANGE&&document.visibilityState==="hidden"?t.notify({reason:Kt.HIDDEN}):o.type===ie.FREEZE&&t.notify({reason:Kt.FROZEN})},{capture:!0}).stop,i=jt;return r||(i=Ht(e,window,ie.BEFORE_UNLOAD,function(){t.notify({reason:Kt.UNLOADING})}).stop),function(){n(),i()}})}function uv(e){return Ut(Pt(Kt),e)}var lv=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=uv(t.reason),i=n?this.request.sendOnExit:this.request.send;if(n&&this.encoder.isAsync){var o=this.encoder.finishSync();o.outputBytesCount&&i(Ya(o,t));var a=[o.pendingData,r].filter(Boolean).join(`
|
|
20
|
-
`);a&&i({data:a,bytesCount:Eo(a),flushReason:t.reason})}else r&&this.encoder.write(this.encoder.isEmpty?r:`
|
|
21
|
-
`.concat(r)),this.encoder.finish(function(s){i(Ya(s,t))})},e.prototype.addOrUpdate=function(t,r){var n=zt(t),i=this.encoder.estimateEncodedBytesCount(n);if(i>=this.messageBytesLimit){ee.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 Ya(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 dv(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 te(function(){return function(){a.unsubscribe(),s.unsubscribe()}}),u=0,d=0;function l(b){if(d!==0){var y=d,m=u;d=0,u=0,v(),c.notify({reason:b,messagesCount:y,bytesCount:m})}}var p;function f(){p===void 0&&(p=Ar(function(){l("duration_limit")},n))}function v(){iu(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 Fu(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 lv(p,rv(u,l,u.batchBytesLimit,n),dv({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=Eo(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 fv=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 pv(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:Bt()})}finally{i=!1}}return!0}}}var ri,Fo=new WeakMap;function hv(e){return ri||(ri=mv(e)),ri}function mv(e){return new te(function(t){var r=nt(XMLHttpRequest.prototype,"open",vv).stop,n=nt(XMLHttpRequest.prototype,"send",function(o){yv(o,e,t)}).stop,i=nt(XMLHttpRequest.prototype,"abort",gv).stop;return function(){r(),n(),i()}})}function vv(e){var t=e.target,r=e.parameters,n=r[0],i=r[1];Fo.set(t,{state:"open",method:String(n).toUpperCase(),url:Ao(String(i))})}function yv(e,t,r){var n=e.target,i=Fo.get(n);if(i){var o=i;o.state="start",o.startClocks=Bt(),o.isAborted=!1,o.xhr=n;var a=!1,s=nt(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=qp(o.startClocks.timeStamp,Ge()),d.status=n.status,r.notify(Xp(d))}},u=Ht(t,n,"loadend",c).stop;r.notify(o)}}function gv(e){var t=e.target,r=Fo.get(t);r&&(r.isAborted=!0)}var ni;function bv(){return ni||(ni=_v()),ni}function _v(){return new te(function(e){if(window.fetch){var t=nt(window,"fetch",function(r){return wv(r,e)}).stop;return t}})}function wv(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:Ao(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 Sv(t,l,d)})}function Sv(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(D(n),D(n))}var ii={};function Cv(e){var t=e.map(function(r){return ii[r]||(ii[r]=Ev(r)),ii[r]});return au.apply(void 0,t)}function Ev(e){return new te(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=_m();gr(function(){t.notify(xv(n,e,o))})},function(){Re[e]=r}})}function xv(e,t,r){var n=e.map(function(c){return Tv(c)}).join(" "),i,o,a;if(t===ye.error){var s=Yp(e,function(c){return c instanceof Error});i=s?ht($e(s)):void 0,o=gu(s),a=s?_u(s,"console"):void 0}return{api:t,message:n,stack:i,handlingStack:r,fingerprint:o,causes:a}}function Tv(e){return typeof e=="string"?De(e):e instanceof Error?bu($e(e)):zt(De(e),void 0,2)}var kv=500,Rv=function(){function e(){this.buffer=[]}return e.prototype.add=function(t){var r=this.buffer.push(t);r>kv&&this.buffer.splice(0,1)},e.prototype.remove=function(t){ku(this.buffer,t)},e.prototype.drain=function(t){this.buffer.forEach(function(r){return r(t)}),this.buffer.length=0},e}();function Li(e){var t={},r=new te,n={getContext:function(){return Eu(t)},setContext:function(i){Po(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 Ov="_dd_c",Av=[];function Ka(e,t,r,n){var i=Iv(r,n);Av.push(Ht(e,window,ie.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 Iv(e,t){return"".concat(Ov,"_").concat(e,"_").concat(t)}var Pv=3*Fe,Lv=16*Fe,Nv=200;function Mv(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?Pv:Lv,a=i;t.forEach(function(s){a+=s.getBytesCount()}),a>o&&(Fv(o),r=!0)}}return{createDetachedTracker:function(){var i=Ja(function(){return n(i.getBytesCount())});return i},getOrCreateTracker:function(i){return t.has(i)||t.set(i,Ja(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 Ja(e){var t=0,r=su(function(a){t=Eo(zt(a)),e()},Nv),n=r.throttled,i=r.cancel,o=function(){i(),t=0};return{updateCustomerData:function(a){xo(a)?o():n(a)},resetCustomerData:o,getBytesCount:function(){return t},stop:function(){i()}}}function Fv(e){ee.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 Dv(e,t,r){var n=e.getReader(),i=[],o=0;a();function a(){n.read().then(D(function(c){if(c.done){s();return}r.collectStreamBody&&i.push(c.value),o+=c.value.length,o>r.bytesLimit?s():a()}),D(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 $v="datadog-synthetics-public-id",Bv="datadog-synthetics-result-id",Uv="datadog-synthetics-injects-rum";function Du(){return!!(window._DATADOG_SYNTHETICS_INJECTS_RUM||tt(Uv))}function jv(){var e=window._DATADOG_SYNTHETICS_PUBLIC_ID||tt($v);return typeof e=="string"?e:void 0}function zv(){var e=window._DATADOG_SYNTHETICS_RESULT_ID||tt(Bv);return typeof e=="string"?e:void 0}function Xa(e){var t=le({},e),r=["id","name","email"];return r.forEach(function(n){n in t&&(t[n]=String(t[n]))}),t}function Hv(e){var t=Po(e)==="object";return t||ee.error("Unsupported user:",e),t}var Wv=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"},Ni={console:"console",http:"http",silent:"silent"},qv=Object.keys(W),Za=function(){function e(t,r,n,i,o,a){i===void 0&&(i=Ni.http),o===void 0&&(o=W.debug),a===void 0&&(a={}),this.handleLogStrategy=t,this.handlerType=i,this.level=o,this.contextManager=Li(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?$e(i):void 0,s=yu({stackTrace:a,originalError:i,nonErrorPrefix:"Provided",source:Ce.LOGGER,handling:"handled",startClocks:Bt()});o={stack:s.stack,kind:s.type,message:s.message,causes:s.causes}}var c=De(r),u=o?Mt({error:o},c):c;this.handleLogStrategy({message:De(t),context:u,status:n},this)},e.prototype.debug=function(t,r,n){this.log(t,r,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},Wv([rh],e.prototype,"log",null),e}();function Gv(e,t){return{view:{referrer:document.referrer,url:window.location.href},context:e.getContext(),user:t.getContext()}}var Qv=32*Fe;function Vv(e){var t=Yh(e),r=es(e.forwardConsoleLogs,Pt(ye),"Forward Console Logs"),n=es(e.forwardReports,Pt(je),"Forward Reports");if(!(!t||!r||!n))return e.forwardErrorsToLogs&&!Ut(r,ye.error)&&r.push(ye.error),le({forwardErrorsToLogs:e.forwardErrorsToLogs!==!1,forwardConsoleLogs:r,forwardReports:n,requestErrorResponseLengthLimit:Qv},t)}function es(e,t,r){if(e===void 0)return[];if(!(e==="all"||Array.isArray(e)&&e.every(function(n){return Ut(t,n)}))){ee.error("".concat(r,' should be "all" or an array with allowed values "').concat(t.join('", "'),'"'));return}return e==="all"?t:jm(e)}function Yv(e){var t=Kh(e);return le({forward_errors_to_logs:e.forwardErrorsToLogs,forward_console_logs:e.forwardConsoleLogs,forward_reports:e.forwardReports},t)}function Kv(e,t,r){var n=new Rv,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){ee.error("Missing configuration");return}if(pn()&&(c=Jv(c)),i=c,o){wu("DD_LOGS",c);return}var u=Vv(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=Ge()),n.add(function(p){return p.handleLog(c,u,d,l)})}}}function Jv(e){return le({},e,{clientToken:"empty"})}var ts="logs";function Xv(e){var t=Mv(),r=Li(t.getOrCreateTracker(2)),n=Li(t.getOrCreateTracker(1)),i=Nh();function o(){return Gv(r,n)}var a=Kv(o,i,function(u,d){u.storeContextsAcrossPages&&(Ka(d,r,ts,2),Ka(d,n,ts,1));var l=e(u,d,o,i);return a=Zv(u,l),l}),s={},c=new Za(function(){for(var u=[],d=0;d<arguments.length;d++)u[d]=arguments[d];return a.handleLog.apply(a,u)},t.createDetachedTracker());return Em({logger:c,init:D(function(u){return a.init(u)}),setTrackingConsent:D(function(u){return i.update(u)}),getGlobalContext:D(function(){return r.getContext()}),setGlobalContext:D(function(u){return r.setContext(u)}),setGlobalContextProperty:D(function(u,d){return r.setContextProperty(u,d)}),removeGlobalContextProperty:D(function(u){return r.removeContextProperty(u)}),clearGlobalContext:D(function(){return r.clearContext()}),createLogger:D(function(u,d){return d===void 0&&(d={}),s[u]=new Za(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:D(function(u){return s[u]}),getInitConfiguration:D(function(){return Eu(a.initConfiguration)}),getInternalContext:D(function(u){return a.getInternalContext(u)}),setUser:D(function(u){Hv(u)&&n.setContext(Xa(u))}),getUser:D(function(){return n.getContext()}),setUserProperty:D(function(u,d){var l,p=Xa((l={},l[u]=d,l))[u];n.setContextProperty(u,p)}),removeUserProperty:D(function(u){return n.removeContextProperty(u)}),clearUser:D(function(){return n.clearContext()})})}function Zv(e,t){return le({init:function(r){wu("DD_LOGS",r)},initConfiguration:e},t)}var ey="logs";function ty(e,t){var r=Gm(e,ey,function(n){return ny(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 ry(e){var t=$u(e)==="1",r=t?{}:void 0;return{findTrackedSession:function(){return r},expireObservable:new te}}function $u(e){return ki(e.sessionSampleRate)?"1":"0"}function ny(e,t){var r=iy(t)?t:$u(e);return{trackingType:r,isTracked:r==="1"}}function iy(e){return e==="0"||e==="1"}var rs=!1;function Kr(e){var t=window;if(Du()){var r=n(t.DD_RUM_SYNTHETICS);return!r&&!rs&&(rs=!0,xu("Logs sent before RUM is injected by the synthetics worker",{testId:jv(),resultId:zv()})),r}return n(t.DD_RUM);function n(i){if(i&&i.getInternalContext)return i.getInternalContext(e)}}function oy(e,t,r,n,i){var o=qv.concat(["custom"]),a={};o.forEach(function(s){a[s]=pv(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=Qp(d.date),y=e.findTrackedSession(b);if(y){var m=v||n(),g=Mt({service:t.service,session_id:y.id,usr:xo(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,g))===!1||g.origin!==Ce.AGENT&&((u=a[g.status])!==null&&u!==void 0?u:a.custom).isLimitReached()||r.notify(1,g)}})}var Ye,ay=(Ye={},Ye[ye.log]=W.info,Ye[ye.debug]=W.debug,Ye[ye.info]=W.info,Ye[ye.warn]=W.warn,Ye[ye.error]=W.error,Ye);function sy(e,t){var r=Cv(e.forwardConsoleLogs).subscribe(function(n){t.notify(0,{rawLogsEvent:{date:Ge(),message:n.message,origin:Ce.CONSOLE,error:n.api===ye.error?{stack:n.stack,fingerprint:n.fingerprint,causes:n.causes}:void 0,status:ay[n.api]}})});return{stop:function(){r.unsubscribe()}}}var Vt,cy=(Vt={},Vt[je.cspViolation]=W.error,Vt[je.intervention]=W.error,Vt[je.deprecation]=W.warn,Vt);function uy(e,t){var r=Tm(e,e.forwardReports).subscribe(function(n){var i=n.message,o=cy[n.type],a;o===W.error?a={kind:n.subtype,stack:n.stack}:n.stack&&(i+=" Found in ".concat(bm(n.stack))),t.notify(0,{rawLogsEvent:{date:Ge(),message:i,origin:Ce.REPORT,error:a,status:o}})});return{stop:function(){r.unsubscribe()}}}function ly(e,t){if(!e.forwardErrorsToLogs)return{stop:jt};var r=hv(e).subscribe(function(o){o.state==="complete"&&i("xhr",o)}),n=bv().subscribe(function(o){o.state==="resolve"&&i("fetch",o)});function i(o,a){!e.isIntakeUrl(a.url)&&(hy(a)||Ru(a.status))&&("xhr"in a?dy(a.xhr,e,s):a.response?py(a.response,e,s):a.error&&fy(a.error,e,s));function s(c){t.notify(0,{rawLogsEvent:{message:"".concat(my(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:Ce.NETWORK}})}}return{stop:function(){r.unsubscribe(),n.unsubscribe()}}}function dy(e,t,r){typeof e.response=="string"?r(Do(e.response,t)):r(e.response)}function fy(e,t,r){r(Do(ht($e(e)),t))}function py(e,t,r){var n=Ym(e);!n||!n.body?r():window.TextDecoder?vy(n.body,t.requestErrorResponseLengthLimit,function(i,o){r(i?"Unable to retrieve response: ".concat(i):o)}):n.text().then(D(function(i){return r(Do(i,t))}),D(function(i){return r("Unable to retrieve response: ".concat(i))}))}function hy(e){return e.status===0&&e.responseType!=="opaque"}function Do(e,t){return e.length>t.requestErrorResponseLengthLimit?"".concat(e.substring(0,t.requestErrorResponseLengthLimit),"..."):e}function my(e){return e==="xhr"?"XHR":"Fetch"}function vy(e,t,r){Dv(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 yy(e,t){if(!e.forwardErrorsToLogs)return{stop:jt};var r=new te,n=wm(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:W.error}})});return{stop:function(){n(),i.unsubscribe()}}}var gy=fv,yt,ns=(yt={},yt[W.debug]=0,yt[W.info]=1,yt[W.warn]=2,yt[W.error]=3,yt);function by(e){function t(r,n,i,o){var a=Mt(n.getContext(),r.context);is(r.status,Ni.console,n)&&_y(r,a),is(r.status,Ni.http,n)&&e.notify(0,{rawLogsEvent:{date:o||Ge(),message:r.message,status:r.status,origin:Ce.LOGGER},messageContext:a,savedCommonContext:i})}return{handleLog:t}}function is(e,t,r){var n=r.getHandler(),i=Array.isArray(n)?n:[n];return ns[e]>=ns[r.getLevel()]&&Ut(i,t)}function _y(e,t){Ze[e.status].call(Re,e.message,t)}function wy(e,t,r,n,i){var o=Fu(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 Sy(e){var t=Mo();e.subscribe(1,function(r){t.send("log",r)})}function Cy(e){return{get:function(t){var r=e.findTrackedSession(t);if(r)return{session_id:r.id}}}}function Ey(e){return function(t){e.notify(0,{rawLogsEvent:{message:t.message,date:t.startClocks.timeStamp,origin:Ce.AGENT,status:W.error}}),xu("Error reported to customer",{"error.message":t.message})}}function xy(e,t,r,n,i){var o=Mm("browser-logs-sdk",t);o.setContextProvider(function(){var l,p,f,v,b,y;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:(y=(b=Kr())===null||b===void 0?void 0:b.user_action)===null||y===void 0?void 0:y.id}}});var a=[];if(pn()){var s=Mo(),c=o.observable.subscribe(function(l){return s.send("internal_telemetry",l)});a.push(function(){return c.unsubscribe()})}else{var u=Fu(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,Dm(t))});a.push(function(){return d.unsubscribe()})}return $m(Yv(e)),{telemetry:o,stop:function(){a.forEach(function(l){return l()})}}}function Ty(e,t,r,n){var i=new gy,o=[];i.subscribe(1,function(f){return Cu("logs",f)});var a=Ey(i),s=cv(t),c=t.sessionStoreStrategyType&&!pn()&&!Du()?ty(t,n):ry(t),u=xy(e,t,a,s,c).stop;o.push(function(){return u()}),ly(t,i),yy(t,i),sy(t,i),uy(t,i);var d=by(i).handleLog;if(oy(c,t,i,r,a),pn())Sy(i);else{var l=wy(t,i,a,s,c).stop;o.push(function(){return l()})}var p=Cy(c);return{handleLog:d,getInternalContext:p.get,stop:function(){o.forEach(function(f){return f()})}}}var mn=Xv(Ty);xm(Qe(),"DD_LOGS",mn);const Bu="local",Pe=(e,t)=>mn.logger.error(e,t),ky=()=>{const e=Ry();mn.init({clientToken:"pub3024831b8d3568048614d6e5a6d44f27",forwardErrorsToLogs:e!=Bu,version:"0.1.335"}),mn.setGlobalContext({team:"super",env:e,service:"ApolloSuperCampaign.UI"})},Ry=()=>{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 Bu}},Oy=""+new URL("assets/logo-active-QBFsxdGu.svg",import.meta.url).href,Ay="Active Super",Mi={fundId:"active",name:Ay,logo:Oy,iframeType:"PromotedFundJoinV1",features:[S("p",{children:"Winner of Canstar's 2023 Outstanding Value – Superannuation Award considering investment performance, fees and product features*"}),S("p",{children:"Recognised as a leader in responsible investment"}),S("p",{children:"Calls answered in 20 seconds (average over 5 years)"})],featureSubText:S("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"," ",S($,{onClick:()=>se(Mi),link:"https://www.activesuper.com.au/pds",children:"activesuper.com.au"})," ","before making a decision."]})},Iy=""+new URL("assets/logo-aus-eth-BVvU7g2H.svg",import.meta.url).href,Py="Australian Ethical",oi="https://www.australianethical.com.au/super/pds-forms/",or={fundId:"australian-ethical",name:Py,logo:Iy,iframeType:"PromotedFundJoinV2",features:[R("p",{children:["Fastest growing super fund in Australia",S("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),R("p",{children:["Nil investments in fossil fuel companies",S("sup",{css:{fontSize:"0.625rem"},children:"2"})]}),S("p",{children:"Competitive returns"})],featureSubText:R("ol",{css:{marginLeft:"0.75rem",listStylePosition:"outside",listStyleType:"decimal"},children:[S("li",{children:"Source: KPMG Super Insights Report 2022."}),S("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"," ",S($,{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"," ",S($,{link:oi,onClick:()=>se(or),children:"Product Disclosure Statement"})," ","and"," ",S($,{link:oi,onClick:()=>se(or),children:"Target Market Determination"})," ","available on our"," ",S($,{link:oi,onClick:()=>se(or),children:"website"}),"."]})},Ly=""+new URL("assets/logo-art-OnjDdwzt.svg",import.meta.url).href,os="Australian Retirement Trust",Fi={fundId:"australian-retirement-trust",name:os,logo:Ly,iframeType:"PromotedFundJoinV1",features:[S("p",{children:"$200 billion in retirement savings"}),S("p",{children:"2+ million members"}),S("p",{children:"A focus on delivering strong, long‑term returns"})],featureSubText:S("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"," ",S($,{link:"https://www.australianretirementtrust.com.au/library/media/pdfs/pds/super-savings-product-disclosure-statement-and-membership-form.pdf",onClick:()=>se(Fi),children:"Product Disclosure Statement"})," ","and"," ",S($,{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:os,abn:"60 905 115 063"},Ny=""+new URL("assets/logo-aware-27z0JfJC.svg",import.meta.url).href,My="Aware Super",Di={fundId:"aware",name:My,logo:Ny,iframeType:"PromotedFundJoinV1",features:[S("p",{children:"Awarded Canstar’s Outstanding Value Super^ in 2022 and 2023."}),R("p",{children:["Over 1 million",S("sup",{css:{fontSize:"0.625rem"},children:"‡"})," Australians trust us with their super."]}),S("p",{children:"Our super helpful app helps you stay in control of your super."})],featureSubText:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.125rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.125rem * var(--tw-space-y-reverse))"}},children:[R("p",{children:["^ See"," ",S($,{link:"https://aware.com.au/awards",children:"aware.com.au/awards"})," for more information"]}),R("p",{children:[S("sup",{css:{fontSize:"0.625rem"},children:"‡"})," Member numbers as of December 2023"]})]}),disclaimer:R("p",{children:["You should consider the"," ",S($,{link:"https://aware.com.au/member/campaign/flare-documents?cid=par-aq-no-su-Flare-PDSTMD-Direct-ImpDocs-",onClick:()=>se(Di),children:"Product Disclosure Statement and Target Market Determination"})," ","before deciding to invest in or apply to become a member of this fund."]}),abnInfo:"Aware Super Pty Ltd",abn:"53 226 460 365"},Fy=""+new URL("assets/logo-first-rrA5hli9.svg",import.meta.url).href,Dy="First Super",$i={fundId:"first-super",name:Dy,logo:Fy,iframeType:"PromotedFundJoinV2",features:[S("p",{children:"Industry SuperFund that offers five investment options and default insurance"}),S("p",{children:"Strong long-term investment returns and superior customer service - members first"}),S("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"," ",S($,{onClick:()=>se($i),link:"https://www.firstsuper.com.au/forms-tools/product-disclosure-statements/",children:"website"}),". Past performance is not a reliable indicator of future performance."]}),S("br",{}),S("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."})]})},$y=""+new URL("assets/logo-hesta-DS-8ReNU.svg",import.meta.url).href,By="HESTA",Bi={fundId:"hesta-default",name:By,logo:$y,iframeType:"PromotedFundJoinV2",features:[S("p",{children:"A top-performing super fund* working for real-world impact"}),S("p",{children:"1+ million members"}),S("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"," ",S($,{css:{textDecorationLine:"underline",textUnderlineOffset:"2px",":hover":{"--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))"}},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"," ",S($,{onClick:()=>se(Bi),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."]}),S("p",{children:"Issued by H.E.S.T. Australia Ltd ABN 66 006 818 695 AFSL No. 235249, Trustee of HESTA"})]})},Uy=""+new URL("assets/logo-mercer-mychoice-AQelc7Ua.svg",import.meta.url).href,jy="Mercer MyChoice",Ui={fundId:"mercermychoice",name:jy,logo:Uy,iframeType:"PromotedFundJoinV2",features:[S("p",{children:"Save more super with our low fees"}),S("p",{children:"Take control with 6 MyChoice investment options"}),S("p",{children:"Join 850,000 Australians who trust our global expertise"})],disclaimer:R("div",{children:[R("p",{children:["You should consider the"," ",S($,{link:"https://www.mercersuper.com.au/campaign-page/mercer-mychoice",onClick:()=>se(Ui),children:"Product Disclosure Statement"})," ","and"," ",S($,{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."]}),S("br",{}),S("p",{children:"Issued by Mercer Superannuation (Australia) Limited (‘Mercer Super’) ABN: 79 004 717 533"})]}),extraBadge:S("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"})},zy=""+new URL("assets/logo-reisuper-GjOYg26T.svg",import.meta.url).href,Hy="REI Super",ji={fundId:"reisuper",name:Hy,logo:zy,iframeType:"PromotedFundJoinV2",features:[S("p",{children:"Built by and for the real estate industry"}),S("p",{children:"Consistent long-term performance with competitive fees*"}),S("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:[S("p",{children:"*Balanced Option net investment return of 9.45% for year ending 30 June 2023."}),R("p",{children:["You should consider the"," ",S($,{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:()=>se(ji),children:"Product Disclosure Statement"})," ","and"," ",S($,{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"},Wy=""+new URL("assets/logo-spirit-gGkSB0e4.svg",import.meta.url).href,qy="Spirit Super",zi={fundId:"spirit",name:qy,logo:Wy,iframeType:"PromotedFundJoinV2",features:[S("p",{children:"Proud Industry SuperFund - all profits go back to members"}),R("p",{children:["Best customer experience in super",S("sup",{css:{fontSize:"0.625rem"},children:"1"})," and best for value",S("sup",{css:{fontSize:"0.625rem"},children:"2"})]}),R("p",{children:["Low fees",S("sup",{css:{fontSize:"0.625rem"},children:"3"})," with a focus on strong returns and investing with impact in communities",S("sup",{css:{fontSize:"0.625rem"},children:"4"})]})],featureSubText:S("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:[S("li",{children:S("span",{children:"CSBA SenseCX Benchmark 2021-22"})}),S("li",{children:S("span",{children:"Awarded Best for Value in the WeMoney Superannuation Awards 2022"})}),S("li",{children:S("span",{children:"Just $67.60 + 0.15% pa admin fees, capped at $517.60"})}),S("li",{children:S("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"," ",S($,{link:"https://www.spiritsuper.com.au/pds",onClick:()=>se(zi),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)."]})},Gy=""+new URL("assets/logo-unisuper-1d8aWLNy.svg",import.meta.url).href,Qy="Unisuper",Vy="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",Yy="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",Hi={fundId:"unisuper-default",name:Qy,logo:Gy,iframeType:"PromotedFundJoinV2",features:[S("p",{children:"Low fees, better value – Our fees are among the lowest in the industry.^"}),S("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.",S("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"," ",S($,{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"," ",S($,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),R("p",{children:[S("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",S($,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),R("p",{children:["Remember to consider the"," ",S($,{link:Vy,onClick:()=>se(Hi),children:"Product Disclosure Statement"})," ","and ",S($,{link:Yy,children:"Target Market Determination"})," that is relevant to you."]}),S("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},Ky=""+new URL("assets/logo-virgin-4NJx4nb0.svg",import.meta.url).href,Jy="Virgin Money Super",Wi={fundId:"virgin",name:Jy,logo:Ky,iframeType:"PromotedFundJoinV2",features:[R("p",{children:["Returns above industry and retail super fund medians over the past 5 years",S("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),S("p",{children:"One of the lowest fees in the market"}),R("p",{children:["Virgin Money rewards you with Velocity Points on your contributions",S("sup",{css:{fontSize:"0.625rem"},children:"2"})]})],featureSubText:S("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:[S("li",{children:S("span",{children:"Past performance is not a reliable indicator of future performance. Source: SuperRatings Fund Crediting Rate Survey April 2022."})}),S("li",{children:S("span",{children:S($,{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"," ",S($,{link:"https://virginmoney.com.au/superannuation/",onClick:()=>se(Wi),children:"www.virginmoney.com.au"})," ","before making a decision"]}),extraBadge:S("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"})},Uu=e=>{switch(e.fundId){case Mi.fundId:return{...Mi,fundType:e.type};case or.fundId:return{...or,fundType:e.type};case Fi.fundId:return{...Fi,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 It.fundId:return{...It,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}}return Pe("Fund ID was not mapped from the Campaign Connect response.",{fund:e}),null},Xy=e=>(e==null?void 0:e.flatMap(t=>Uu(t)??[]))??[],Zy=()=>{const[e]=Op(),[t,r]=Ae(!1),n=Rr();if(Q(()=>{Bp()},[]),t)return S($t,{});const i=async()=>{r(!0),$p();const{data:o,isSuccess:a,status:s}=await e();if(!a){Pe("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){const u=Uu(c[0]);u&&n(Kc({fundId:u.fundId,fundType:u.fundType,iframeType:u.iframeType}));return}n(Ip(o.promotedFunds))};return R("div",{children:[S("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"}),S("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."}),S("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:[S("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:[S("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;"}),S("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;"}),S("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;"}),S("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;"}),S("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"," ",S($,{css:{fontWeight:"500","--tw-text-opacity":"1",color:"rgb(37 99 235 / var(--tw-text-opacity))",":hover":{"--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"}},link:"https://www.flarehr.com/privacy-policy",children:"Privacy Policy"}),"."]})]}),S(wo,{fillWidth:!0,onClick:()=>i(),children:"Continue"})]})})]})},eg=(e,t)=>{window.parent.postMessage(e,t===void 0?"*":t)},ju=e=>{eg({type:"pageNavigated",url:e,sender:"flare"})},tg=()=>{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-"}},rg=`https://${tg()}api.simplefinancialchoices.com/promoted-funds/embed`,Hr=e=>e.replace(/ /g,""),Ke=e=>!(typeof e=="string"&&e.trim().length>0),ng=()=>{const e=st(s=>s.state.selectedFund),t=st(s=>s.session.accessToken),r=Rr(),n=rt.endpoints.campaignConnect.useQueryState().data;if(!e||!t||!n)return Pe("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()),S($t,{});const i={authToken:t,employerDefault:e.fundType==="promoted-default",fundId:e.fundId,accountId:n.userProfile.accountId,partnerId:n.userProfile.partnerId,title:n.userProfile.title??"",firstName:n.userProfile.firstName,middleName:n.userProfile.middleName,lastName:n.userProfile.lastName,dateOfBirth:n.userProfile.dateOfBirth??"",mobilePhone:n.userProfile.mobilePhone??"",email:n.userProfile.email,gender:n.userProfile.gender??"",taxFileNumber:n.userProfile.tfn??"",addressLine1:n.userProfile.address.addressLine1,addressLine2:n.userProfile.address.addressLine2??"",city:n.userProfile.address.city,state:n.userProfile.address.state,postCode:n.userProfile.address.postcode},o=_r();Q(()=>{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=rg;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(Ke(c.memberNumber)||Ke(c.usi)){Pe("Bad response from PFJ",{type:c.type,memberNumber:c.memberNumber,usi:c.usi}),r(be());break}wt({fundType:"Promoted",fundId:e.fundId,usi:Hr(c.usi),memberNumber:c.memberNumber,memberFirstName:c.memberFirstName,memberFamilyName:c.memberFamilyName});break}case"success-promoted-default":{if(Ke(c.usi)){Pe("Bad response from PFJ",{type:c.type,usi:c.usi}),r(be());break}wt({fundType:"PromotedDefault",fundId:c.fundId,usi:Hr(c.usi)});break}case"success-promoted-default-with-join":{if(Ke(c.memberNumber)||Ke(c.usi)){Pe("Bad response from PFJ",{type:c.type,memberNumber:c.memberNumber,usi:c.usi}),r(be());break}wt({fundType:"PromotedDefaultWithJoin",fundId:e.fundId,usi:Hr(c.usi),memberNumber:c.memberNumber,memberFirstName:c.memberFirstName,memberFamilyName:c.memberFamilyName});break}case"success-defined-benefits":{if(Ke(c.memberNumber)||Ke(c.usi)){Pe("Bad response from PFJ",{type:c.type,memberNumber:c.memberNumber,usi:c.usi}),r(be());break}wt({fundType:"DefinedBenefits",fundId:c.fundId,usi:Hr(c.usi),memberNumber:c.memberNumber,memberElectContributionRatePreTax:c.memberElectContributionRatePreTax,memberElectContributionRatePostTax:c.memberElectContributionRatePostTax});break}}r(be())}if(c.sender==="promoted-fund-join"){const u=o.current;if(!u)return;switch(c.type){case"contentResized":u.height=c.height>0?String(c.height):u.height,u.width=c.width>0?String(c.width):u.width;break;case"pageNavigated":window.scroll(u.offsetLeft,u.offsetTop),ju(window.location.href);break}}};return window.addEventListener("message",a),S("div",{css:{width:"100vw"},children:S("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},ig=()=>window.location.origin.includes("localhost")?"autodev-partner":window.location.hostname.toLowerCase().split(".")[0],og=`https://${ig()}.flarehr.com/promoted-fund-join/embed/v1.0/web`,ag=()=>{const e=st(s=>s.session.accessToken),t=st(s=>s.state.selectedFund),r=Rr(),n=rt.endpoints.campaignConnect.useQueryState().data;if(!n||!t)return Pe("PfjV1IFrame was in an inconsistent state and the user was redirected to the three panel.",{fund:t,data:n?"Not null":"Null"}),r(be()),S($t,{});const i={authToken:e??"",fundId:t.fundId,partnerId:n.userProfile.partnerId,accountId:n.userProfile.accountId,title:n.userProfile.title??"",firstName:n.userProfile.firstName,middleName:n.userProfile.middleName,lastName:n.userProfile.lastName,dateOfBirth:n.userProfile.dateOfBirth??"",mobilePhone:n.userProfile.mobilePhone??"",email:n.userProfile.email,gender:n.userProfile.gender??"",taxFileNumber:n.userProfile.tfn??"",addressLine1:n.userProfile.address.addressLine1,addressLine2:n.userProfile.address.addressLine2??"",city:n.userProfile.address.city,state:n.userProfile.address.state,postCode:n.userProfile.address.postcode},o=_r();Q(()=>{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=og;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),ju(window.location.href);break}}};return window.addEventListener("message",a),S("div",{css:{width:"100vw"},children:S("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},sg="interop-mode",cg="react-native",as=()=>new URLSearchParams(window.location.search).get(sg)===cg,zu=()=>{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-"}},ss=`https://${zu()}join.slatesuper.com.au/confirm`,cs=`https://${zu()}partner.flarehr.com/super-selection/embed/v1.0/app/slate-redirect.html`,ug=e=>{switch(e){case"Male":return"Male";case"Female":return"Female";case"Intersex":return"Intersex/Indeterminate";default:return"Unknown"}},lg=()=>{const e=st(s=>s.session.accessToken),t=Rr(),r=rt.endpoints.campaignConnect.useQueryState().data;if(!r)return Pe("SlateIFrame was in an inconsistent state and the user was redirected to the three panel.",{data:r?"Not null":"Null"}),t(be()),S($t,{});const i={authToken:!ss.match(/autodev|sandbox/)?e:void 0,successRedirectUrl:cs,cancelRedirectUrl:cs,skipConsolidation:as()?"true":"false",skipInsurance:as()?"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:ug(r.userProfile.gender),taxFileNumber:r.userProfile.tfn??"",addressLine1:r.userProfile.address.addressLine1,addressLine2:r.userProfile.address.addressLine2??"",city:r.userProfile.address.city,state:r.userProfile.address.state,postCode:r.userProfile.address.postcode},o=_r();Q(()=>{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=ss;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:It.fundId,usi:So,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),S("div",{css:{width:"100vw"},children:S("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},us=({isActive:e,children:t,onClick:r})=>S("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&&"hover:bg-primary-hover text-white",{cursor:"pointer"}],onClick:r,children:t}),dg=()=>S("div",{css:{display:"flex",justifyContent:"center"},children:R("div",{css:{maxWidth:"800px",textAlign:"center"},children:[S("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(md,{children:[S("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:[S(us,{isActive:!0,children:"Featured super funds"}),S(us,{onClick:()=>Ti(),children:"Choose another fund"})]})]})]})}),ls=({fund:e,isMultiFund:t})=>{const r=Rr();return R("div",{css:{display:"flex",height:"100%",flexDirection:"column",justifyContent:"space-between",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem",paddingBottom:"1.5rem"},children:[R("div",{children:[S("div",{css:[{"@media (min-width: 768px)":{maxWidth:"240px"}},t&&{"@media (min-width: 1024px)":{maxWidth:"100%"}}],children:S(wo,{fillWidth:!0,onClick:()=>{Dp(e),r(Kc({fundId:e.fundId,fundType:e.fundType,iframeType:e.iframeType}))},children:"Choose this fund"})}),S("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]})]})]})},fg=({size:e,...t})=>S("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#22c55e",width:e?e*4:"100%",...t,children:S("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"})}),pg={Check:fg},hg=({name:e,logo:t,features:r,featureSubText:n,isMultiFund:i,isPromotedDefault:o,extraBadge:a})=>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&&S("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"}),S("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:[S("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}),S("div",{css:{display:"grid",alignContent:"center"},children:S("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})})]}),S("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(s=>R("div",{css:{display:"flex"},children:[S("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:S(pg.Check,{alt:"checked"})}),S("div",{css:{lineHeight:"1.25rem"},children:s})]}))}),n&&S("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})]}),mg="https://my.gov.au",vg="www.my.gov.au",yg="https://www.apra.gov.au/register-of-superannuation-institutions",gg="www.apra.gov.au",bg=()=>{const e=st(n=>n.state.funds),t=Xy(e??[]);Q(()=>{Fp(t)},[]);const r=t.length>1;return R("div",{children:[S(dg,{}),R("div",{css:{marginTop:"2rem",textAlign:"center",fontSize:"0.875rem",lineHeight:"1.5rem"},children:[S("p",{css:{lineHeight:"1.5rem"},children:"Not ready to join a new fund, or want to nominate another super fund?"}),S("div",{onClick:()=>Ti(),children:R("span",{css:{marginTop:"0.75rem",display:"inline-block",cursor:"pointer",fontWeight:"500",color:"var(--fl-color-primary)"},children:["Skip Featured Funds ",S("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:S("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3"})})]})})]}),S("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)=>S("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:[S("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:S("img",{css:{height:"4rem",width:"100%",maxWidth:"96px",objectFit:"contain"},alt:n.name,src:n.logo})}),R("div",{css:{width:"100%"},children:[S(hg,{logo:n.logo,name:n.name,features:n.features,featureSubText:n.featureSubText,isMultiFund:r,isPromotedDefault:n.fundType==="promoted-default",extraBadge:n.extraBadge}),S("div",{css:[r&&{"@media (min-width: 1024px)":{display:"none"}}],children:S(ls,{fund:n,isMultiFund:r})})]})]})})),t.map((n,i)=>S("div",{css:[{display:"none",borderRightWidth:"1px"},r&&{"@media (min-width: 1024px)":{display:"block"}},i===t.length-1&&{borderBottomRightRadius:"0.5rem"}],children:S(ls,{fund:n,isMultiFund:r})}))]})}),S("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:[S("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:[S("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"," ",S($,{css:{fontWeight:"500",color:"var(--fl-color-primary)",":hover":{color:"var(--fl-color-primary-hover)"}},link:mg,children:vg})]}),R("li",{children:["A full list of super funds can be viewed at"," ",S($,{css:{fontWeight:"500",color:"var(--fl-color-primary)",":hover":{color:"var(--fl-color-primary-hover)"}},link:yg,children:gg})]})]}),S(wo,{fillWidthOnMobile:!0,onClick:()=>Ti(),children:"Choose another super fund"})]})}),S("div",{css:{display:"flex",justifyContent:"center"},children:R("div",{css:{maxWidth:"720px",paddingTop:"2rem","@media (min-width: 640px)":{paddingTop:"3rem"}},children:[S("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:[S("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."}),S("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."}),S("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."}),S("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."}),S("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."})]})]})})]})},_g=rn.div({display:"flex",justifyContent:"center"}),wg=()=>{const{funds:e,selectedFund:t}=st(n=>n.state);return S(_g,{children:(()=>{if(t){if(t.iframeType==="PromotedFundJoinV2")return S(ng,{});if(t.iframeType==="SlateJoin")return S(lg,{});if(t.iframeType==="PromotedFundJoinV1")return S(ag,{})}else if(e)return S(bg,{});return S(Zy,{})})()})},Sg=()=>S(fd,{styles:pd`*, ::before, ::after {
|
|
16
|
+
*/var Nt=tl;function rl(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var nl=typeof Object.is=="function"?Object.is:rl,il=Nt.useSyncExternalStore,ol=Nt.useRef,sl=Nt.useEffect,al=Nt.useMemo,cl=Nt.useDebugValue;Ls.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var o=ol(null);if(o.current===null){var s={hasValue:!1,value:null};o.current=s}else s=o.current;o=al(function(){function c(l){if(!d){if(d=!0,f=l,l=n(l),i!==void 0&&s.hasValue){var g=s.value;if(i(g,l))return u=g}return u=l}if(g=u,nl(f,l))return g;var b=n(l);return i!==void 0&&i(g,b)?g:(f=l,u=b)}var d=!1,f,u,p=r===void 0?null:r;return[function(){return c(t())},p===null?void 0:function(){return c(p())}]},[t,r,n,i]);var a=il(e,o[0],o[1]);return sl(function(){s.hasValue=!0,s.value=a},[a]),cl(a),a};Ds.exports=Ls;var ul=Ds.exports,oe="default"in yt?Qo:yt,Ji=Symbol.for("react-redux-context"),Gi=typeof globalThis<"u"?globalThis:{};function ll(){if(!oe.createContext)return{};const e=Gi[Ji]??(Gi[Ji]=new Map);let t=e.get(oe.createContext);return t||(t=oe.createContext(null),e.set(oe.createContext,t)),t}var Ae=ll(),dl=()=>{throw new Error("uSES not initialized!")};function Vn(e=Ae){return function(){return oe.useContext(e)}}var js=Vn(),zs=dl,fl=e=>{zs=e},pl=(e,t)=>e===t;function hl(e=Ae){const t=e===Ae?js:Vn(e);return function(n,i={}){const{equalityFn:o=pl,devModeChecks:s={}}=typeof i=="function"?{equalityFn:i}:i,{store:a,subscription:c,getServerState:d,stabilityCheck:f,identityFunctionCheck:u}=t();oe.useRef(!0);const p=oe.useCallback({[n.name](g){return n(g)}}[n.name],[n,f,s.stabilityCheck]),l=zs(c.addNestedSub,a.getState,d||a.getState,p,o);return oe.useDebugValue(l),l}}var Bs=hl();function Ws(e){e()}function ml(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Ws(()=>{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 Yi={notify(){},get:()=>[]};function yl(e,t){let r,n=Yi,i=0,o=!1;function s(b){f();const _=n.subscribe(b);let m=!1;return()=>{m||(m=!0,_(),u())}}function a(){n.notify()}function c(){g.onStateChange&&g.onStateChange()}function d(){return o}function f(){i++,r||(r=t?t.addNestedSub(c):e.subscribe(c),n=ml())}function u(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=Yi)}function p(){o||(o=!0,f())}function l(){o&&(o=!1,u())}const g={addNestedSub:s,notifyNestedSubs:a,handleChangeWrapper:c,isSubscribed:d,trySubscribe:p,tryUnsubscribe:l,getListeners:()=>n};return g}var gl=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",_l=gl?oe.useLayoutEffect:oe.useEffect;function Xi(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function or(e,t){if(Xi(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])||!Xi(e[r[i]],t[r[i]]))return!1;return!0}function vl({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const s=oe.useMemo(()=>{const d=yl(e);return{store:e,subscription:d,getServerState:n?()=>n:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,n,i,o]),a=oe.useMemo(()=>e.getState(),[e]);_l(()=>{const{subscription:d}=s;return d.onStateChange=d.notifyNestedSubs,d.trySubscribe(),a!==e.getState()&&d.notifyNestedSubs(),()=>{d.tryUnsubscribe(),d.onStateChange=void 0}},[s,a]);const c=t||Ae;return oe.createElement(c.Provider,{value:s},r)}var bl=vl;function Us(e=Ae){const t=e===Ae?js:Vn(e);return function(){const{store:n}=t();return n}}var qs=Us();function wl(e=Ae){const t=e===Ae?qs:Us(e);return function(){return t().dispatch}}var Hs=wl(),Sl=Ws;fl(ul.useSyncExternalStoreWithSelector);function Zi(e,t,r,n){const i=Z(()=>({queryArgs:e,serialized:typeof e=="object"?t({queryArgs:e,endpointDefinition:r,endpointName:n}):e}),[e,t,r,n]),o=le(i);return Q(()=>{o.current.serialized!==i.serialized&&(o.current=i)},[i]),o.current.serialized===i.serialized?o.current.queryArgs:e}var Fr=Symbol();function Dr(e){const t=le(e);return Q(()=>{or(t.current,e)||(t.current=e)},[e]),or(t.current,e)?t.current:e}var He=WeakMap?new WeakMap:void 0,xl=({endpointName:e,queryArgs:t})=>{let r="";const n=He==null?void 0:He.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,s)=>be(s)?Object.keys(s).sort().reduce((a,c)=>(a[c]=s[c],a),{}):s);be(t)&&(He==null||He.set(t,i)),r=i}return`${e}(${r})`},kl=typeof window<"u"&&window.document&&window.document.createElement?We:Q,Cl=e=>e.isUninitialized?{...e,isUninitialized:!1,isFetching:!0,isLoading:e.data===void 0,status:As.pending}:e;function Tl({api:e,moduleOptions:{batch:t,hooks:{useDispatch:r,useSelector:n,useStore:i},unstable__sideEffectsInRender:o},serializeQueryArgs:s,context:a}){const c=o?l=>l():Q;return{buildQueryHooks:u,buildMutationHook:p,usePrefetch:f};function d(l,g,b){if(g!=null&&g.endpointName&&l.isUninitialized){const{endpointName:S}=g,k=a.endpointDefinitions[S];s({queryArgs:g.originalArgs,endpointDefinition:k,endpointName:S})===s({queryArgs:b,endpointDefinition:k,endpointName:S})&&(g=void 0)}let _=l.isSuccess?l.data:g==null?void 0:g.data;_===void 0&&(_=l.data);const m=_!==void 0,y=l.isLoading,h=!m&&y,v=l.isSuccess||y&&m;return{...l,data:_,currentData:l.data,isFetching:y,isLoading:h,isSuccess:v}}function f(l,g){const b=r(),_=Dr(g);return Qe((m,y)=>b(e.util.prefetch(l,m,{..._,...y})),[l,b,_])}function u(l){const g=(m,{refetchOnReconnect:y,refetchOnFocus:h,refetchOnMountOrArgChange:v,skip:S=!1,pollingInterval:k=0}={})=>{const{initiate:x}=e.endpoints[l],C=r(),T=le();if(!T.current){const $=C(e.internalActions.internal_getRTKQSubscriptions());T.current=$}const P=Zi(S?Ne:m,xl,a.endpointDefinitions[l],l),A=Dr({refetchOnReconnect:y,refetchOnFocus:h,pollingInterval:k}),E=le(!1),I=le();let{queryCacheKey:M,requestId:W}=I.current||{},K=!1;M&&W&&(K=T.current.isRequestSubscribed(M,W));const j=!K&&E.current;return c(()=>{E.current=K}),c(()=>{j&&(I.current=void 0)},[j]),c(()=>{var H;const $=I.current;if(typeof process<"u",P===Ne){$==null||$.unsubscribe(),I.current=void 0;return}const ee=(H=I.current)==null?void 0:H.subscriptionOptions;if(!$||$.arg!==P){$==null||$.unsubscribe();const me=C(x(P,{subscriptionOptions:A,forceRefetch:v}));I.current=me}else A!==ee&&$.updateSubscriptionOptions(A)},[C,x,v,P,A,j]),Q(()=>()=>{var $;($=I.current)==null||$.unsubscribe(),I.current=void 0},[]),Z(()=>({refetch:()=>{var $;if(!I.current)throw new Error(de(38));return($=I.current)==null?void 0:$.refetch()}}),[])},b=({refetchOnReconnect:m,refetchOnFocus:y,pollingInterval:h=0}={})=>{const{initiate:v}=e.endpoints[l],S=r(),[k,x]=ve(Fr),C=le(),T=Dr({refetchOnReconnect:m,refetchOnFocus:y,pollingInterval:h});c(()=>{var I,M;const E=(I=C.current)==null?void 0:I.subscriptionOptions;T!==E&&((M=C.current)==null||M.updateSubscriptionOptions(T))},[T]);const P=le(T);c(()=>{P.current=T},[T]);const A=Qe(function(E,I=!1){let M;return t(()=>{var W;(W=C.current)==null||W.unsubscribe(),C.current=M=S(v(E,{subscriptionOptions:P.current,forceRefetch:!I})),x(E)}),M},[S,v]);return Q(()=>()=>{var E;(E=C==null?void 0:C.current)==null||E.unsubscribe()},[]),Q(()=>{k!==Fr&&!C.current&&A(k,!0)},[k,A]),Z(()=>[A,k],[A,k])},_=(m,{skip:y=!1,selectFromResult:h}={})=>{const{select:v}=e.endpoints[l],S=Zi(y?Ne:m,s,a.endpointDefinitions[l],l),k=le(),x=Z(()=>Ye([v(S),(E,I)=>I,E=>S],d),[v,S]),C=Z(()=>h?Ye([x],h,{devModeChecks:{identityFunctionCheck:"never"}}):x,[x,h]),T=n(E=>C(E,k.current),or),P=i(),A=x(P.getState(),k.current);return kl(()=>{k.current=A},[A]),T};return{useQueryState:_,useQuerySubscription:g,useLazyQuerySubscription:b,useLazyQuery(m){const[y,h]=b(m),v=_(h,{...m,skip:h===Fr}),S=Z(()=>({lastArg:h}),[h]);return Z(()=>[y,v,S],[y,v,S])},useQuery(m,y){const h=g(m,y),v=_(m,{selectFromResult:m===Ne||y!=null&&y.skip?void 0:Cl,...y}),{data:S,status:k,isLoading:x,isSuccess:C,isError:T,error:P}=v;return Gt({data:S,status:k,isLoading:x,isSuccess:C,isError:T,error:P}),Z(()=>({...v,...h}),[v,h])}}}function p(l){return({selectFromResult:g,fixedCacheKey:b}={})=>{const{select:_,initiate:m}=e.endpoints[l],y=r(),[h,v]=ve();Q(()=>()=>{h!=null&&h.arg.fixedCacheKey||h==null||h.reset()},[h]);const S=Qe(function(H){const me=y(m(H,{fixedCacheKey:b}));return v(me),me},[y,m,b]),{requestId:k}=h||{},x=Z(()=>_({fixedCacheKey:b,requestId:h==null?void 0:h.requestId}),[b,h,_]),C=Z(()=>g?Ye([x],g):x,[g,x]),T=n(C,or),P=b==null?h==null?void 0:h.arg.originalArgs:void 0,A=Qe(()=>{t(()=>{h&&v(void 0),b&&y(e.internalActions.removeMutationResult({requestId:k,fixedCacheKey:b}))})},[y,b,h,k]),{endpointName:E,data:I,status:M,isLoading:W,isSuccess:K,isError:j,error:$}=T;Gt({endpointName:E,data:I,status:M,isLoading:W,isSuccess:K,isError:j,error:$});const ee=Z(()=>({...T,originalArgs:P,reset:A}),[T,P,A]);return Z(()=>[S,ee],[S,ee])}}}function Pl(e){return e.type==="query"}function Rl(e){return e.type==="mutation"}function Lr(e){return e.replace(e[0],e[0].toUpperCase())}function Wt(e,...t){return Object.assign(e,...t)}var El=Symbol(),Al=({batch:e=Sl,hooks:t={useDispatch:Hs,useSelector:Bs,useStore:qs},unstable__sideEffectsInRender:r=!1,...n}={})=>({name:El,init(i,{serializeQueryArgs:o},s){const a=i,{buildQueryHooks:c,buildMutationHook:d,usePrefetch:f}=Tl({api:i,moduleOptions:{batch:e,hooks:t,unstable__sideEffectsInRender:r},serializeQueryArgs:o,context:s});return Wt(a,{usePrefetch:f}),Wt(s,{batch:e}),{injectEndpoint(u,p){if(Pl(p)){const{useQuery:l,useLazyQuery:g,useLazyQuerySubscription:b,useQueryState:_,useQuerySubscription:m}=c(u);Wt(a.endpoints[u],{useQuery:l,useLazyQuery:g,useLazyQuerySubscription:b,useQueryState:_,useQuerySubscription:m}),i[`use${Lr(u)}Query`]=l,i[`useLazy${Lr(u)}Query`]=g}else if(Rl(p)){const l=d(u);Wt(a.endpoints[u],{useMutation:l}),i[`use${Lr(u)}Mutation`]=l}}}}}),Ol=Wu(el(),Al());const Il=async(e,t,r)=>{const n=t.getState().session.backendUrl;return Nu({baseUrl:n,prepareHeaders:(i,{getState:o})=>{const{session:s}=o();return i.set("Accept","application/json"),i.set("Authorization",`Bearer ${s.accessToken}`),i}})(e,t,r)},Fe=Ol({baseQuery:Il,reducerPath:"backendApi",endpoints:e=>({campaignConnect:e.query({query:()=>({url:"super-campaign/backend/campaign-connect",method:"GET"}),keepUnusedDataFor:Number.MAX_SAFE_INTEGER})})}),{useLazyCampaignConnectQuery:Ml}=Fe,on=Ce({name:"session",initialState:{},reducers:{setSession:(e,t)=>t.payload}}),{setSession:$l}=on.actions,sn=Ce({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:Nl,setSelectedFund:Qs,clearSelectedFund:Te}=sn.actions,eo=uu({reducer:{[on.name]:on.reducer,[Fe.reducerPath]:Fe.reducer,[sn.reducerPath]:sn.reducer},middleware:e=>e().concat(Fe.middleware)}),Ft=()=>Hs(),ze=Bs,Kn=({fillWidth:e=!1,fillWidthOnMobile:t=!1,disabled:r=!1,onClick:n=void 0,children:i})=>{const[o,s]=ve(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{s(1),await n(),s(0)}catch(c){throw s(2),c}},children:[o===1&&w(Ln,{size:16}),w("div",{css:[o===1&&{display:"none"}],children:i})]})},Ue=e=>{document.dispatchEvent(new CustomEvent(e.type,{detail:e}))},an=()=>{Ue({sender:"super-campaign",type:"choose-another-fund-requested"})},Fl=e=>{Ue({sender:"super-campaign",type:"fund-panel-shown",shownFunds:e.map(t=>({fundId:t.fundId,fundType:t.fundType}))})},Dl=e=>{Ue({sender:"super-campaign",type:"fund-tile-clicked",fundId:e.fundId,fundType:e.fundType,fundName:e.name,fundUsi:void 0})},re=e=>{Ue({sender:"super-campaign",type:"fund-pds-viewed",pageName:"Panel Fund Page",fundName:e.name,fundUsi:void 0})},Ll=()=>{Ue({sender:"super-campaign",type:"disclaimer-accepted"})},jl=()=>{Ue({sender:"super-campaign",type:"disclaimer-viewed"})},Je=e=>{Ue({sender:"super-campaign",type:"promoted-fund-joined",fundJoinInfo:e})},zl=er.a({fontWeight:"500",textDecorationLine:"underline",textUnderlineOffset:"2px",":hover":{"--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))"}}),Bl="_extnav=true",D=({link:e,onClick:t,children:r,...n})=>{const i=e.indexOf("?")===-1?"?":"&",o=`${e}${i}${Bl}`;return w(zl,{target:"_blank",href:o,onClick:t,...n,children:r})},Wl=""+new URL("assets/logo-active-QBFsxdGu.svg",import.meta.url).href,Ul="Active Super",cn={fundId:"active",name:Ul,logo:Wl,iframeType:"PromotedFundJoinV1",features:[w("p",{children:"Winner of Canstar's 2023 Outstanding Value – Superannuation Award considering investment performance, fees and product features*"}),w("p",{children:"Recognised as a leader in responsible investment"}),w("p",{children:"Calls answered in 20 seconds (average over 5 years)"})],featureSubText:w("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"," ",w(D,{onClick:()=>re(cn),link:"https://www.activesuper.com.au/pds",children:"activesuper.com.au"})," ","before making a decision."]})},ql=""+new URL("assets/logo-aus-eth-BVvU7g2H.svg",import.meta.url).href,Hl="Australian Ethical",jr="https://www.australianethical.com.au/super/pds-forms/",ht={fundId:"australian-ethical",name:Hl,logo:ql,iframeType:"PromotedFundJoinV2",features:[R("p",{children:["Fastest growing super fund in Australia",w("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),R("p",{children:["Nil investments in fossil fuel companies",w("sup",{css:{fontSize:"0.625rem"},children:"2"})]}),w("p",{children:"Competitive returns"})],featureSubText:R("ol",{css:{marginLeft:"0.75rem",listStylePosition:"outside",listStyleType:"decimal"},children:[w("li",{children:"Source: KPMG Super Insights Report 2022."}),w("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"," ",w(D,{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"," ",w(D,{link:jr,onClick:()=>re(ht),children:"Product Disclosure Statement"})," ","and"," ",w(D,{link:jr,onClick:()=>re(ht),children:"Target Market Determination"})," ","available on our"," ",w(D,{link:jr,onClick:()=>re(ht),children:"website"}),"."]})},Ql=""+new URL("assets/logo-art-OnjDdwzt.svg",import.meta.url).href,to="Australian Retirement Trust",un={fundId:"australian-retirement-trust",name:to,logo:Ql,iframeType:"PromotedFundJoinV1",features:[w("p",{children:"$200 billion in retirement savings"}),w("p",{children:"2+ million members"}),w("p",{children:"A focus on delivering strong, long‑term returns"})],featureSubText:w("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"," ",w(D,{link:"https://www.australianretirementtrust.com.au/library/media/pdfs/pds/super-savings-product-disclosure-statement-and-membership-form.pdf",onClick:()=>re(un),children:"Product Disclosure Statement"})," ","and"," ",w(D,{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:to,abn:"60 905 115 063"},Vl=""+new URL("assets/logo-aware-27z0JfJC.svg",import.meta.url).href,Kl="Aware Super",ln={fundId:"aware",name:Kl,logo:Vl,iframeType:"PromotedFundJoinV1",features:[w("p",{children:"Awarded Canstar’s Outstanding Value Super^ in 2022 and 2023."}),R("p",{children:["Over 1 million",w("sup",{css:{fontSize:"0.625rem"},children:"‡"})," Australians trust us with their super."]}),w("p",{children:"Our super helpful app helps you stay in control of your super."})],featureSubText:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.125rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.125rem * var(--tw-space-y-reverse))"}},children:[R("p",{children:["^ See"," ",w(D,{link:"https://aware.com.au/awards",children:"aware.com.au/awards"})," for more information"]}),R("p",{children:[w("sup",{css:{fontSize:"0.625rem"},children:"‡"})," Member numbers as of December 2023"]})]}),disclaimer:R("p",{children:["You should consider the"," ",w(D,{link:"https://aware.com.au/member/campaign/flare-documents?cid=par-aq-no-su-Flare-PDSTMD-Direct-ImpDocs-",onClick:()=>re(ln),children:"Product Disclosure Statement and Target Market Determination"})," ","before deciding to invest in or apply to become a member of this fund."]}),abnInfo:"Aware Super Pty Ltd",abn:"53 226 460 365"},Jl=""+new URL("assets/logo-first-rrA5hli9.svg",import.meta.url).href,Gl="First Super",dn={fundId:"first-super",name:Gl,logo:Jl,iframeType:"PromotedFundJoinV2",features:[w("p",{children:"Industry SuperFund that offers five investment options and default insurance"}),w("p",{children:"Strong long-term investment returns and superior customer service - members first"}),w("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"," ",w(D,{onClick:()=>re(dn),link:"https://www.firstsuper.com.au/forms-tools/product-disclosure-statements/",children:"website"}),". Past performance is not a reliable indicator of future performance."]}),w("br",{}),w("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."})]})},Yl=""+new URL("assets/logo-hesta-DS-8ReNU.svg",import.meta.url).href,Xl="HESTA",fn={fundId:"hesta-default",name:Xl,logo:Yl,iframeType:"PromotedFundJoinV2",features:[w("p",{children:"A top-performing super fund* working for real-world impact"}),w("p",{children:"1+ million members"}),w("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"," ",w(D,{css:{textDecorationLine:"underline",textUnderlineOffset:"2px",":hover":{"--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))"}},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"," ",w(D,{onClick:()=>re(fn),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."]}),w("p",{children:"Issued by H.E.S.T. Australia Ltd ABN 66 006 818 695 AFSL No. 235249, Trustee of HESTA"})]})},Zl=""+new URL("assets/logo-mercer-mychoice-AQelc7Ua.svg",import.meta.url).href,ed="Mercer MyChoice",pn={fundId:"mercermychoice",name:ed,logo:Zl,iframeType:"PromotedFundJoinV2",features:[w("p",{children:"Save more super with our low fees"}),w("p",{children:"Take control with 6 MyChoice investment options"}),w("p",{children:"Join 850,000 Australians who trust our global expertise"})],disclaimer:R("div",{children:[R("p",{children:["You should consider the"," ",w(D,{link:"https://www.mercersuper.com.au/campaign-page/mercer-mychoice",onClick:()=>re(pn),children:"Product Disclosure Statement"})," ","and"," ",w(D,{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."]}),w("br",{}),w("p",{children:"Issued by Mercer Superannuation (Australia) Limited (‘Mercer Super’) ABN: 79 004 717 533"})]}),extraBadge:w("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"})},td=""+new URL("assets/logo-reisuper-GjOYg26T.svg",import.meta.url).href,rd="REI Super",hn={fundId:"reisuper",name:rd,logo:td,iframeType:"PromotedFundJoinV2",features:[w("p",{children:"Built by and for the real estate industry"}),w("p",{children:"Consistent long-term performance with competitive fees*"}),w("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:[w("p",{children:"*Balanced Option net investment return of 9.45% for year ending 30 June 2023."}),R("p",{children:["You should consider the"," ",w(D,{link:"https://www.reisuper.com.au/docs/default-source/super/rei-super-pds.pdf?utm_source=flarehr&utm_medium=banners&utm_campaign=flarehr_join&utm_term=pds",onClick:()=>re(hn),children:"Product Disclosure Statement"})," ","and"," ",w(D,{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"},nd=""+new URL("assets/logo-slate-qMDg7z1_.png",import.meta.url).href,id="Slate Super",od="32367272075001",sr={fundId:"slate",name:id,logo:nd,iframeType:"SlateJoin",features:[w("p",{children:"A lifestage investment strategy that evolves with you"}),w("p",{children:"Advanced mobile app with retirement forecast and smart features"}),w("p",{children:"Member advocates at Slate to assist with your account"})],disclaimer:R("p",{children:["You should consider the"," ",w(D,{link:"https://slate.co/pds/?utm_source=flare&utm_medium=superselection",onClick:()=>re(sr),children:"Product Disclosure Statement"})," ","and"," ",w(D,{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"},sd=""+new URL("assets/logo-spirit-gGkSB0e4.svg",import.meta.url).href,ad="Spirit Super",mn={fundId:"spirit",name:ad,logo:sd,iframeType:"PromotedFundJoinV2",features:[w("p",{children:"Proud Industry SuperFund - all profits go back to members"}),R("p",{children:["Best customer experience in super",w("sup",{css:{fontSize:"0.625rem"},children:"1"})," and best for value",w("sup",{css:{fontSize:"0.625rem"},children:"2"})]}),R("p",{children:["Low fees",w("sup",{css:{fontSize:"0.625rem"},children:"3"})," with a focus on strong returns and investing with impact in communities",w("sup",{css:{fontSize:"0.625rem"},children:"4"})]})],featureSubText:w("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:[w("li",{children:w("span",{children:"CSBA SenseCX Benchmark 2021-22"})}),w("li",{children:w("span",{children:"Awarded Best for Value in the WeMoney Superannuation Awards 2022"})}),w("li",{children:w("span",{children:"Just $67.60 + 0.15% pa admin fees, capped at $517.60"})}),w("li",{children:w("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"," ",w(D,{link:"https://www.spiritsuper.com.au/pds",onClick:()=>re(mn),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)."]})},cd=""+new URL("assets/logo-unisuper-1d8aWLNy.svg",import.meta.url).href,ud="Unisuper",ld="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",dd="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",yn={fundId:"unisuper-default",name:ud,logo:cd,iframeType:"PromotedFundJoinV2",features:[w("p",{children:"Low fees, better value – Our fees are among the lowest in the industry.^"}),w("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.",w("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"," ",w(D,{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"," ",w(D,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),R("p",{children:[w("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",w(D,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),R("p",{children:["Remember to consider the"," ",w(D,{link:ld,onClick:()=>re(yn),children:"Product Disclosure Statement"})," ","and ",w(D,{link:dd,children:"Target Market Determination"})," that is relevant to you."]}),w("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},fd=""+new URL("assets/logo-virgin-4NJx4nb0.svg",import.meta.url).href,pd="Virgin Money Super",gn={fundId:"virgin",name:pd,logo:fd,iframeType:"PromotedFundJoinV2",features:[R("p",{children:["Returns above industry and retail super fund medians over the past 5 years",w("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),w("p",{children:"One of the lowest fees in the market"}),R("p",{children:["Virgin Money rewards you with Velocity Points on your contributions",w("sup",{css:{fontSize:"0.625rem"},children:"2"})]})],featureSubText:w("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:[w("li",{children:w("span",{children:"Past performance is not a reliable indicator of future performance. Source: SuperRatings Fund Crediting Rate Survey April 2022."})}),w("li",{children:w("span",{children:w(D,{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"," ",w(D,{link:"https://virginmoney.com.au/superannuation/",onClick:()=>re(gn),children:"www.virginmoney.com.au"})," ","before making a decision"]}),extraBadge:w("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"})},Vs=e=>{switch(e.fundId){case cn.fundId:return{...cn,fundType:e.type};case ht.fundId:return{...ht,fundType:e.type};case un.fundId:return{...un,fundType:e.type};case ln.fundId:return{...ln,fundType:e.type};case dn.fundId:return{...dn,fundType:e.type};case fn.fundId:return{...fn,fundType:e.type};case pn.fundId:return{...pn,fundType:e.type};case hn.fundId:return{...hn,fundType:e.type};case sr.fundId:return{...sr,fundType:e.type};case mn.fundId:return{...mn,fundType:e.type};case yn.fundId:return{...yn,fundType:e.type};case gn.fundId:return{...gn,fundType:e.type}}return null},hd=e=>(e==null?void 0:e.flatMap(t=>Vs(t)??[]))??[],md=()=>{const[e]=Ml(),[t,r]=ve(!1),n=Ft();if(Q(()=>{jl()},[]),t)return w(Ln,{});const i=async()=>{r(!0),Ll();const{data:o}=await e();if(!o)return;const s=o==null?void 0:o.promotedFunds.filter(a=>a.type==="defined-benefits");if(o.hasDefinedBenefitsEligibility&&s){const a=Vs(s[0]);a&&n(Qs({fundId:a.fundId,fundType:a.fundType,iframeType:a.iframeType}));return}n(Nl(o.promotedFunds))};return R("div",{children:[w("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"}),w("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."}),w("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:[w("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:[w("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;"}),w("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;"}),w("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;"}),w("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;"}),w("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"," ",w(D,{css:{fontWeight:"500","--tw-text-opacity":"1",color:"rgb(37 99 235 / var(--tw-text-opacity))",":hover":{"--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"}},link:"https://www.flarehr.com/privacy-policy",children:"Privacy Policy"}),"."]})]}),w(Kn,{fillWidth:!0,onClick:()=>i(),children:"Continue"})]})})]})},yd=()=>{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-"}},gd=`https://${yd()}api.simplefinancialchoices.com/promoted-funds/embed`,Ut=e=>e.replace(/ /g,""),Ie=e=>!(typeof e=="string"&&e.trim().length>0),_d=()=>{const e=ze(a=>a.state.selectedFund),t=ze(a=>a.session.accessToken),r=Ft(),n=Fe.endpoints.campaignConnect.useQueryState().data;if(!e||!t||!n)return w(At,{children:"Error!"});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=Pt();Q(()=>{var c;const a=(c=o.current)==null?void 0:c.contentDocument;if(a){a.open();const d=a.createElement("form");d.method="POST",d.target="_self",d.action=gd;let f;for(f in i){const u=i[f];if(u!==void 0){const p=document.createElement("input");p.name=f,p.type="hidden",typeof u=="boolean"?p.value=u?"true":"false":p.value=u,d.append(p)}}a.appendChild(d),a.close(),d.submit()}},[o]);const s=async a=>{const{data:c}=a,d=o.current;if(d){if(c.sender==="promoted-fund-redirect"){switch(window.removeEventListener("message",s),c.type){case"cancel":r(Te());break;case"success-promoted":{if(Ie(c.memberNumber)||Ie(c.usi)){r(Te());break}Je({fundType:"Promoted",fundId:e.fundId,usi:Ut(c.usi),memberNumber:c.memberNumber,memberFirstName:c.memberFirstName,memberFamilyName:c.memberFamilyName});break}case"success-promoted-default":{if(Ie(c.usi)){r(Te());break}Je({fundType:"PromotedDefault",fundId:c.fundId,usi:Ut(c.usi)});break}case"success-promoted-default-with-join":{if(Ie(c.memberNumber)||Ie(c.usi)){r(Te());break}Je({fundType:"PromotedDefaultWithJoin",fundId:e.fundId,usi:Ut(c.usi),memberNumber:c.memberNumber,memberFirstName:c.memberFirstName,memberFamilyName:c.memberFamilyName});break}case"success-defined-benefits":{if(Ie(c.memberNumber)||Ie(c.usi)){r(Te());break}Je({fundType:"DefinedBenefits",fundId:c.fundId,usi:Ut(c.usi),memberNumber:c.memberNumber,memberElectContributionRatePreTax:c.memberElectContributionRatePreTax,memberElectContributionRatePostTax:c.memberElectContributionRatePostTax});break}}r(Te())}if(c.sender==="promoted-fund-join")switch(c.type){case"contentResized":d.height=c.height>0?String(c.height):d.height,d.width=c.width>0?String(c.width):d.width;break;case"pageNavigated":window.scroll(d.offsetLeft,d.offsetTop);break}}};return window.addEventListener("message",s),w("div",{css:{width:"100vw"},children:w("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},vd=()=>window.location.origin.includes("localhost")?"autodev-partner":window.location.hostname.toLowerCase().split(".")[0],bd=`https://${vd()}.flarehr.com/promoted-fund-join/embed/v1.0/web`,wd=()=>{const e=ze(a=>a.session.accessToken),t=ze(a=>a.state.selectedFund),r=Ft(),n=Fe.endpoints.campaignConnect.useQueryState().data;if(!n||!t)return w(At,{children:"Error!"});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=Pt();Q(()=>{var c;const a=(c=o.current)==null?void 0:c.contentDocument;if(a){a.open();const d=a.createElement("form");d.method="POST",d.target="_self",d.action=bd;let f;for(f in i){const u=i[f];if(u!==void 0){const p=document.createElement("input");p.type="hidden",p.name=f,p.value=u,d.append(p)}}a.appendChild(d),a.close(),d.submit()}},[o]);const s=async a=>{const{data:c}=a,d=o.current;if(d){if(c.sender==="promoted-fund-redirect"){switch(window.removeEventListener("message",s),c.type){case"success":{c.memberNumber&&Je({fundType:"Promoted",fundId:t.fundId,usi:c.usi.replace(/ /g,""),memberNumber:c.memberNumber});break}default:r(Te());break}return}if(c.sender==="promoted-fund-join")switch(c.type){case"contentResized":d.height=c.height>0?String(c.height):d.height,d.width=c.width>0?String(c.width):d.width;break;case"pageNavigated":window.scroll(d.offsetLeft,d.offsetTop);break}}};return window.addEventListener("message",s),w("div",{css:{width:"100vw"},children:w("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},Ks=()=>{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-"}},ro=`https://${Ks()}join.slatesuper.com.au/confirm`,no=`https://${Ks()}partner.flarehr.com/super-selection/embed/v1.0/app/slate-redirect.html`,Sd=e=>{switch(e){case"Male":return"Male";case"Female":return"Female";case"Intersex":return"Intersex/Indeterminate";default:return"Unknown"}},xd=()=>{const e=ze(a=>a.session.accessToken),t=Ft(),r=Fe.endpoints.campaignConnect.useQueryState().data;if(!r)return w(At,{children:"Error!"});const i={authToken:!ro.match(/autodev|sandbox/)?e:void 0,successRedirectUrl:no,cancelRedirectUrl:no,skipConsolidation:"false",skipInsurance:"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:Sd(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=Pt();Q(()=>{var c;const a=(c=o.current)==null?void 0:c.contentDocument;if(a){a.open();const d=a.createElement("form");d.method="POST",d.target="_self",d.action=ro;let f;for(f in i){const u=i[f];if(u!==void 0){const p=document.createElement("input");p.type="hidden",p.name=f,p.value=u,d.append(p)}}a.appendChild(d),a.close(),d.submit()}},[o]);const s=async a=>{const{data:c}=a,d=o.current;if(d){if(c.sender==="slate-redirect"){switch(window.removeEventListener("message",s),c.type){case"success":{Je({fundType:"Promoted",fundId:sr.fundId,usi:od,memberNumber:c.memberNumber});break}default:t(Te());break}return}if(c.sender==="flare")switch(c.type){case"contentResized":d.height=c.height>0?String(c.height):d.height,d.width=c.width>0?String(c.width):d.width;break}}};return window.addEventListener("message",s),w("div",{css:{width:"100vw"},children:w("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},io=({isActive:e,children:t,onClick:r})=>w("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&&"hover:bg-primary-hover text-white",{cursor:"pointer"}],onClick:r,children:t}),kd=()=>w("div",{css:{display:"flex",justifyContent:"center"},children:R("div",{css:{maxWidth:"800px",textAlign:"center"},children:[w("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(At,{children:[w("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:[w(io,{isActive:!0,children:"Featured super funds"}),w(io,{onClick:()=>an(),children:"Choose another fund"})]})]})]})}),oo=({fund:e,isMultiFund:t})=>{const r=Ft();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:[w("div",{css:[{"@media (min-width: 768px)":{maxWidth:"240px"}},t&&{"@media (min-width: 1024px)":{maxWidth:"100%"}}],children:w(Kn,{fillWidth:!0,onClick:()=>{Dl(e),r(Qs({fundId:e.fundId,fundType:e.fundType,iframeType:e.iframeType}))},children:"Choose this fund"})}),w("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]})]})]})},Cd=({size:e,...t})=>w("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#22c55e",width:e?e*4:"100%",...t,children:w("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"})}),Td={Check:Cd},Pd=({name:e,logo:t,features:r,featureSubText:n,isMultiFund:i,isPromotedDefault:o,extraBadge:s})=>R("div",{css:{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem"},children:[R("div",{css:{marginRight:"-0.5rem",marginTop:"-1.25rem",textAlign:"right"},children:[s,o&&w("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"}),w("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:[w("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}),w("div",{css:{display:"grid",alignContent:"center"},children:w("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})})]}),w("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(a=>R("div",{css:{display:"flex"},children:[w("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:w(Td.Check,{alt:"checked"})}),w("div",{css:{lineHeight:"1.25rem"},children:a})]}))}),n&&w("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})]}),Rd="https://my.gov.au",Ed="www.my.gov.au",Ad="https://www.apra.gov.au/register-of-superannuation-institutions",Od="www.apra.gov.au",Id=()=>{const e=ze(n=>n.state.funds),t=hd(e??[]);if(Q(()=>{t&&Fl(t)},[t]),!t)return w(At,{children:"Error!"});const r=t.length>1;return R("div",{children:[w(kd,{}),R("div",{css:{marginTop:"2rem",textAlign:"center",fontSize:"0.875rem",lineHeight:"1.5rem"},children:[w("p",{css:{lineHeight:"1.5rem"},children:"Not ready to join a new fund, or want to nominate another super fund?"}),w("div",{onClick:()=>an(),children:R("span",{css:{marginTop:"0.75rem",display:"inline-block",cursor:"pointer",fontWeight:"500",color:"var(--fl-color-primary)"},children:["Skip Featured Funds ",w("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:w("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3"})})]})})]}),w("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)=>w("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:[w("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:w("img",{css:{height:"4rem",width:"100%",maxWidth:"96px",objectFit:"contain"},alt:n.name,src:n.logo})}),R("div",{css:{width:"100%"},children:[w(Pd,{logo:n.logo,name:n.name,features:n.features,featureSubText:n.featureSubText,isMultiFund:r,isPromotedDefault:n.fundType==="promoted-default",extraBadge:n.extraBadge}),w("div",{css:[r&&{"@media (min-width: 1024px)":{display:"none"}}],children:w(oo,{fund:n,isMultiFund:r})})]})]})})),t.map((n,i)=>w("div",{css:[{display:"none",borderRightWidth:"1px"},r&&{"@media (min-width: 1024px)":{display:"block"}},i===t.length-1&&{borderBottomRightRadius:"0.5rem"}],children:w(oo,{fund:n,isMultiFund:r})}))]})}),w("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:[w("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:[w("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"," ",w(D,{css:{fontWeight:"500",color:"var(--fl-color-primary)",":hover":{color:"var(--fl-color-primary-hover)"}},link:Rd,children:Ed})]}),R("li",{children:["A full list of super funds can be viewed at"," ",w(D,{css:{fontWeight:"500",color:"var(--fl-color-primary)",":hover":{color:"var(--fl-color-primary-hover)"}},link:Ad,children:Od})]})]}),w(Kn,{fillWidthOnMobile:!0,onClick:()=>an(),children:"Choose another super fund"})]})}),w("div",{css:{display:"flex",justifyContent:"center"},children:R("div",{css:{maxWidth:"720px",paddingTop:"2rem","@media (min-width: 640px)":{paddingTop:"3rem"}},children:[w("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:[w("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."}),w("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."}),w("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."}),w("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."}),w("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."})]})]})})]})},Md=er.div({display:"flex",justifyContent:"center"}),$d=()=>{const{funds:e,selectedFund:t}=ze(n=>n.state);return w(Md,{children:(()=>{if(t){if(t.iframeType==="PromotedFundJoinV2")return w(_d,{});if(t.iframeType==="SlateJoin")return w(xd,{});if(t.iframeType==="PromotedFundJoinV1")return w(wd,{})}else if(e)return w(Id,{});return w(md,{})})()})},Nd=()=>w(_c,{styles:vc`*, ::before, ::after {
|
|
23
17
|
box-sizing: border-box;
|
|
24
18
|
border-width: 0;
|
|
25
19
|
border-style: solid;
|
|
@@ -269,4 +263,4 @@ img, video {
|
|
|
269
263
|
--tw-backdrop-opacity: var(--tw-empty,/*!*/ /*!*/);
|
|
270
264
|
--tw-backdrop-saturate: var(--tw-empty,/*!*/ /*!*/);
|
|
271
265
|
--tw-backdrop-sepia: var(--tw-empty,/*!*/ /*!*/);
|
|
272
|
-
}`}),
|
|
266
|
+
}`}),Fd=e=>{const{"access-token":t,"backend-url":r}=e,[n,i]=ve(!1);Q(()=>{eo.dispatch($l({accessToken:t,backendUrl:r})),i(!0)},[t,r]);const o=le(null),[s,a]=ve(void 0);return Q(()=>{a(o.current??void 0)},[o]),w("div",{ref:o,children:w(mc,{value:ts({key:"ascui",container:s,prepend:!0}),children:R(bl,{store:eo,children:[w(Nd,{}),n?w($d,{}):w(Ln,{})]})})})},Dd="apollo-super-campaign";aa(Fd,Dd,[],{shadow:!0});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flarehr/apollo-super-campaign",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.337",
|
|
4
4
|
"description": "Flare Apollo Campaign",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"type": "module",
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
"lint": "eslint . --ext .ts,.tsx"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@datadog/browser-logs": "5.11.0",
|
|
22
21
|
"@emotion/react": "11.11.3",
|
|
23
22
|
"@emotion/styled": "11.11.0",
|
|
24
23
|
"@reduxjs/toolkit": "2.0.1",
|