@flarehr/apollo-super-campaign 1.53.55 → 1.53.56

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 pu=Object.defineProperty,hu=Object.defineProperties;var mu=Object.getOwnPropertyDescriptors;var kr=Object.getOwnPropertySymbols;var Co=Object.prototype.hasOwnProperty,ko=Object.prototype.propertyIsEnumerable;var On=(e,t,r)=>t in e?pu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,N=(e,t)=>{for(var r in t||(t={}))Co.call(t,r)&&On(e,r,t[r]);if(kr)for(var r of kr(t))ko.call(t,r)&&On(e,r,t[r]);return e},J=(e,t)=>hu(e,mu(t));var We=(e,t)=>{var r={};for(var n in e)Co.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&kr)for(var n of kr(e))t.indexOf(n)<0&&ko.call(e,n)&&(r[n]=e[n]);return r};var Bn=(e,t,r)=>(On(e,typeof t!="symbol"?t+"":t,r),r);var me=(e,t,r)=>new Promise((n,i)=>{var o=c=>{try{s(r.next(c))}catch(f){i(f)}},a=c=>{try{s(r.throw(c))}catch(f){i(f)}},s=c=>c.done?n(c.value):Promise.resolve(c.value).then(o,a);s((r=r.apply(e,t)).next())});(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)}})();function ni(){return ni=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},ni.apply(this,arguments)}var lr,F,$a,st,xo,Ua,ii,za,Gt={},ja=[],gu=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,nn=Array.isArray;function Qe(e,t){for(var r in t)e[r]=t[r];return e}function Ha(e){var t=e.parentNode;t&&t.removeChild(e)}function X(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?lr.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 qt(e,a,n,i,null)}function qt(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==null?++$a:i,__i:-1,__u:0};return i==null&&F.vnode!=null&&F.vnode(o),o}function on(){return{current:null}}function Ce(e){return e.children}function Me(e,t){this.props=e,this.context=t}function xt(e,t){if(t==null)return e.__?xt(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"?xt(e):null}function Wa(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 Wa(e)}}function oi(e){(!e.__d&&(e.__d=!0)&&st.push(e)&&!Hr.__r++||xo!==F.debounceRendering)&&((xo=F.debounceRendering)||Ua)(Hr)}function Hr(){var e,t,r,n,i,o,a,s,c;for(st.sort(ii);e=st.shift();)e.__d&&(t=st.length,n=void 0,o=(i=(r=e).__v).__e,s=[],c=[],(a=r.__P)&&((n=Qe({},i)).__v=i.__v+1,F.vnode&&F.vnode(n),Pi(a,n,i,r.__n,a.ownerSVGElement!==void 0,32&i.__u?[o]:null,s,o==null?xt(i):o,!!(32&i.__u),c),n.__.__k[n.__i]=n,Qa(s,n,c),n.__e!=o&&Wa(n)),st.length>t&&st.sort(ii));Hr.__r=0}function qa(e,t,r,n,i,o,a,s,c,f,w){var m,l,u,d,p,h=n&&n.__k||ja,v=t.length;for(r.__d=c,yu(r,t,h),c=r.__d,m=0;m<v;m++)(u=r.__k[m])!=null&&typeof u!="boolean"&&typeof u!="function"&&(l=u.__i===-1?Gt:h[u.__i]||Gt,u.__i=m,Pi(e,u,l,i,o,a,s,c,f,w),d=u.__e,u.ref&&l.ref!=u.ref&&(l.ref&&Ii(l.ref,null,u),w.push(u.ref,u.__c||d,u)),p==null&&d!=null&&(p=d),65536&u.__u||l.__k===u.__k?c=Va(u,c,e):typeof u.type=="function"&&u.__d!==void 0?c=u.__d:d&&(c=d.nextSibling),u.__d=void 0,u.__u&=-196609);r.__d=c,r.__e=p}function yu(e,t,r){var n,i,o,a,s,c=t.length,f=r.length,w=f,m=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?qt(null,i,null,null,i):nn(i)?qt(Ce,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?qt(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)!=null?(i.__=e,i.__b=e.__b+1,s=wu(i,r,a=n+m,w),i.__i=s,o=null,s!==-1&&(w--,(o=r[s])&&(o.__u|=131072)),o==null||o.__v===null?(s==-1&&m--,typeof i.type!="function"&&(i.__u|=65536)):s!==a&&(s===a+1?m++:s>a?w>c-a?m+=s-a:m--:m=s<a&&s==a-1?s-a:0,s!==n+m&&(i.__u|=65536))):(o=r[n])&&o.key==null&&o.__e&&(o.__e==e.__d&&(e.__d=xt(o)),ai(o,o,!1),r[n]=null,w--);if(w)for(n=0;n<f;n++)(o=r[n])!=null&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=xt(o)),ai(o,o))}function Va(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=Va(n[i],t,r));return t}return e.__e!=t&&(r.insertBefore(e.__e,t||null),t=e.__e),t&&t.nextSibling}function Je(e,t){return t=t||[],e==null||typeof e=="boolean"||(nn(e)?e.some(function(r){Je(r,t)}):t.push(e)),t}function wu(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 To(e,t,r){t[0]==="-"?e.setProperty(t,r==null?"":r):e[t]=r==null?"":typeof r!="number"||gu.test(t)?r:r+"px"}function xr(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||To(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||To(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?Ao:Eo,o)):e.removeEventListener(t,o?Ao:Eo,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==null?"":r;break e}catch(a){}typeof r=="function"||(r==null||r===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,r))}}function Eo(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(F.event?F.event(e):e)}function Ao(e){return this.l[e.type+!0](F.event?F.event(e):e)}function Pi(e,t,r,n,i,o,a,s,c,f){var w,m,l,u,d,p,h,v,_,g,b,S,k,C,x,T=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(c=!!(32&r.__u),o=[s=t.__e=r.__e]),(w=F.__b)&&w(t);e:if(typeof T=="function")try{if(v=t.props,_=(w=T.contextType)&&n[w.__c],g=w?_?_.props.value:w.__:n,r.__c?h=(m=t.__c=r.__c).__=m.__E:("prototype"in T&&T.prototype.render?t.__c=m=new T(v,g):(t.__c=m=new Me(v,g),m.constructor=T,m.render=bu),_&&_.sub(m),m.props=v,m.state||(m.state={}),m.context=g,m.__n=n,l=m.__d=!0,m.__h=[],m._sb=[]),m.__s==null&&(m.__s=m.state),T.getDerivedStateFromProps!=null&&(m.__s==m.state&&(m.__s=Qe({},m.__s)),Qe(m.__s,T.getDerivedStateFromProps(v,m.__s))),u=m.props,d=m.state,m.__v=t,l)T.getDerivedStateFromProps==null&&m.componentWillMount!=null&&m.componentWillMount(),m.componentDidMount!=null&&m.__h.push(m.componentDidMount);else{if(T.getDerivedStateFromProps==null&&v!==u&&m.componentWillReceiveProps!=null&&m.componentWillReceiveProps(v,g),!m.__e&&(m.shouldComponentUpdate!=null&&m.shouldComponentUpdate(v,m.__s,g)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(m.props=v,m.state=m.__s,m.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(E){E&&(E.__=t)}),b=0;b<m._sb.length;b++)m.__h.push(m._sb[b]);m._sb=[],m.__h.length&&a.push(m);break e}m.componentWillUpdate!=null&&m.componentWillUpdate(v,m.__s,g),m.componentDidUpdate!=null&&m.__h.push(function(){m.componentDidUpdate(u,d,p)})}if(m.context=g,m.props=v,m.__P=e,m.__e=!1,S=F.__r,k=0,"prototype"in T&&T.prototype.render){for(m.state=m.__s,m.__d=!1,S&&S(t),w=m.render(m.props,m.state,m.context),C=0;C<m._sb.length;C++)m.__h.push(m._sb[C]);m._sb=[]}else do m.__d=!1,S&&S(t),w=m.render(m.props,m.state,m.context),m.state=m.__s;while(m.__d&&++k<25);m.state=m.__s,m.getChildContext!=null&&(n=Qe(Qe({},n),m.getChildContext())),l||m.getSnapshotBeforeUpdate==null||(p=m.getSnapshotBeforeUpdate(u,d)),qa(e,nn(x=w!=null&&w.type===Ce&&w.key==null?w.props.children:w)?x:[x],t,r,n,i,o,a,s,c,f),m.base=t.__e,t.__u&=-161,m.__h.length&&a.push(m),h&&(m.__E=m.__=null)}catch(E){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),F.__e(E,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,f);(w=F.diffed)&&w(t)}function Qa(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)Ii(r[n],r[++n],r[++n]);F.__c&&F.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){F.__e(o,i.__v)}})}function vu(e,t,r,n,i,o,a,s,c){var f,w,m,l,u,d,p,h=r.props,v=t.props,_=t.type;if(_==="svg"&&(i=!0),o!=null){for(f=0;f<o.length;f++)if((u=o[f])&&"setAttribute"in u==!!_&&(_?u.localName===_:u.nodeType===3)){e=u,o[f]=null;break}}if(e==null){if(_===null)return document.createTextNode(v);e=i?document.createElementNS("http://www.w3.org/2000/svg",_):document.createElement(_,v.is&&v),o=null,s=!1}if(_===null)h===v||s&&e.data===v||(e.data=v);else{if(o=o&&lr.call(e.childNodes),h=r.props||Gt,!s&&o!=null)for(h={},f=0;f<e.attributes.length;f++)h[(u=e.attributes[f]).name]=u.value;for(f in h)u=h[f],f=="children"||(f=="dangerouslySetInnerHTML"?m=u:f==="key"||f in v||xr(e,f,null,u,i));for(f in v)u=v[f],f=="children"?l=u:f=="dangerouslySetInnerHTML"?w=u:f=="value"?d=u:f=="checked"?p=u:f==="key"||s&&typeof u!="function"||h[f]===u||xr(e,f,u,h[f],i);if(w)s||m&&(w.__html===m.__html||w.__html===e.innerHTML)||(e.innerHTML=w.__html),t.__k=[];else if(m&&(e.innerHTML=""),qa(e,nn(l)?l:[l],t,r,n,i&&_!=="foreignObject",o,a,o?o[0]:r.__k&&xt(r,0),s,c),o!=null)for(f=o.length;f--;)o[f]!=null&&Ha(o[f]);s||(f="value",d!==void 0&&(d!==e[f]||_==="progress"&&!d||_==="option"&&d!==h[f])&&xr(e,f,d,h[f],!1),f="checked",p!==void 0&&p!==e[f]&&xr(e,f,p,h[f],!1))}return e}function Ii(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(n){F.__e(n,r)}}function ai(e,t,r){var n,i;if(F.unmount&&F.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||Ii(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){F.__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]&&ai(n[i],t,r||typeof e.type!="function");r||e.__e==null||Ha(e.__e),e.__=e.__e=e.__d=void 0}function bu(e,t,r){return this.constructor(e,r)}function et(e,t,r){var n,i,o,a;F.__&&F.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],a=[],Pi(t,e=(!n&&r||t).__k=X(Ce,null,[e]),i||Gt,Gt,t.ownerSVGElement!==void 0,!n&&r?[r]:i?null:t.firstChild?lr.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,a),Qa(o,e,a)}function Mi(e,t){et(e,t,Mi)}function Fi(e,t,r){var n,i,o,a,s=Qe({},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?lr.call(arguments,2):r),qt(e.type,s,n||e.key,i||e.ref,null)}function an(e,t){var r={__c:t="__cC"+za++,__: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,oi(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}lr=ja.slice,F={__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}},$a=0,Me.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Qe({},this.state),typeof e=="function"&&(e=e(Qe({},r),this.props)),e&&Qe(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),oi(this))},Me.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),oi(this))},Me.prototype.render=Ce,st=[],Ua=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ii=function(e,t){return e.__v.__b-t.__v.__b},Hr.__r=0,za=0;var Ke,K,Ln,Ro,Tt=0,Ja=[],Dr=[],Po=F.__b,Io=F.__r,Mo=F.diffed,Fo=F.__c,No=F.unmount;function ht(e,t){F.__h&&F.__h(K,e,Tt||t),Tt=0;var r=K.__H||(K.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:Dr}),r.__[e]}function he(e){return Tt=1,Ni(Ga,e)}function Ni(e,t,r){var n=ht(Ke++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):Ga(void 0,t),function(s){var c=n.__N?n.__N[0]:n.__[0],f=n.t(c,s);c!==f&&(n.__N=[f,n.__[1]],n.__c.setState({}))}],n.__c=K,!K.u)){var i=function(s,c,f){if(!n.__c.__H)return!0;var w=n.__c.__H.__.filter(function(l){return l.__c});if(w.every(function(l){return!l.__N}))return!o||o.call(this,s,c,f);var m=!1;return w.forEach(function(l){if(l.__N){var u=l.__[0];l.__=l.__N,l.__N=void 0,u!==l.__[0]&&(m=!0)}}),!(!m&&n.__c.props===s)&&(!o||o.call(this,s,c,f))};K.u=!0;var o=K.shouldComponentUpdate,a=K.componentWillUpdate;K.componentWillUpdate=function(s,c,f){if(this.__e){var w=o;o=void 0,i(s,c,f),o=w}a&&a.call(this,s,c,f)},K.shouldComponentUpdate=i}return n.__N||n.__}function Z(e,t){var r=ht(Ke++,3);!F.__s&&Di(r.__H,t)&&(r.__=e,r.i=t,K.__H.__h.push(r))}function mt(e,t){var r=ht(Ke++,4);!F.__s&&Di(r.__H,t)&&(r.__=e,r.i=t,K.__h.push(r))}function ve(e){return Tt=5,ce(function(){return{current:e}},[])}function Ka(e,t,r){Tt=6,mt(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 ce(e,t){var r=ht(Ke++,7);return Di(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function vt(e,t){return Tt=8,ce(function(){return e},t)}function Nt(e){var t=K.context[e.__c],r=ht(Ke++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(K)),t.props.value):e.__}function Wr(e,t){F.useDebugValue&&F.useDebugValue(t?t(e):e)}function _u(e){var t=ht(Ke++,10),r=he();return t.__=e,K.componentDidCatch||(K.componentDidCatch=function(n,i){t.__&&t.__(n,i),r[1](n)}),[r[0],function(){r[1](void 0)}]}function Ya(){var e=ht(Ke++,11);if(!e.__){for(var t=K.__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 Su(){for(var e;e=Ja.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Or),e.__H.__h.forEach(si),e.__H.__h=[]}catch(t){e.__H.__h=[],F.__e(t,e.__v)}}F.__b=function(e){K=null,Po&&Po(e)},F.__r=function(e){Io&&Io(e),Ke=0;var t=(K=e.__c).__H;t&&(Ln===K?(t.__h=[],K.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=Dr,r.__N=r.i=void 0})):(t.__h.forEach(Or),t.__h.forEach(si),t.__h=[],Ke=0)),Ln=K},F.diffed=function(e){Mo&&Mo(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ja.push(t)!==1&&Ro===F.requestAnimationFrame||((Ro=F.requestAnimationFrame)||Cu)(Su)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==Dr&&(r.__=r.__V),r.i=void 0,r.__V=Dr})),Ln=K=null},F.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Or),r.__h=r.__h.filter(function(n){return!n.__||si(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],F.__e(n,r.__v)}}),Fo&&Fo(e,t)},F.unmount=function(e){No&&No(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{Or(n)}catch(i){t=i}}),r.__H=void 0,t&&F.__e(t,r.__v))};var Do=typeof requestAnimationFrame=="function";function Cu(e){var t,r=function(){clearTimeout(n),Do&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);Do&&(t=requestAnimationFrame(r))}function Or(e){var t=K,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),K=t}function si(e){var t=K;e.__c=e.__(),K=t}function Di(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function Ga(e,t){return typeof t=="function"?t(e):t}function Za(e,t){for(var r in t)e[r]=t[r];return e}function ci(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 qr(e){this.props=e}function Xa(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:ci(this.props,i)}function n(i){return this.shouldComponentUpdate=r,X(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(qr.prototype=new Me).isPureReactComponent=!0,qr.prototype.shouldComponentUpdate=function(e,t){return ci(this.props,e)||ci(this.state,t)};var Oo=F.__b;F.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Oo&&Oo(e)};var ku=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Oi(e){function t(r){var n=Za({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=ku,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Bo=function(e,t){return e==null?null:Je(Je(e).map(t))},es={map:Bo,forEach:Bo,count:function(e){return e?Je(e).length:0},only:function(e){var t=Je(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Je},xu=F.__e;F.__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)}xu(e,t,r,n)};var Lo=F.unmount;function ts(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=Za({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return ts(n,t,r)})),e}function rs(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return rs(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 Vt(){this.__u=0,this.t=null,this.__b=null}function ns(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 X(r,o)}return i.displayName="Lazy",i.__f=!0,i}function bt(){this.u=null,this.o=null}F.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Lo&&Lo(e)},(Vt.prototype=new Me).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var i=ns(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]=rs(c,c.__c.__P,c.__c.__O)}var f;for(n.setState({__a:n.__b=null});f=n.t.pop();)f.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(a,a)},Vt.prototype.componentWillUnmount=function(){this.t=[]},Vt.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]=ts(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&X(Ce,null,e.fallback);return i&&(i.__u&=-33),[X(Ce,null,t.__a?null:e.children),i]};var $o=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 Tu(e){return this.getChildContext=function(){return e.context},e.children}function Eu(e){var t=this,r=e.i;t.componentWillUnmount=function(){et(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)}}),et(X(Tu,{context:t.context},e.__v),t.l)}function os(e,t){var r=X(Eu,{__v:e,i:t});return r.containerInfo=t,r}(bt.prototype=new Me).__a=function(e){var t=this,r=ns(t.__v),n=t.o.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),$o(t,e,n)):i()};r?r(o):o()}},bt.prototype.render=function(e){this.u=null,this.o=new Map;var t=Je(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){$o(e,r,t)})};var as=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,Au=/^(?: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]/,Ru=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Pu=/[A-Z0-9]/g,Iu=typeof document!="undefined",Mu=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function ss(e,t,r){return t.__k==null&&(t.textContent=""),et(e,t),typeof r=="function"&&r(),e?e.__c:null}function cs(e,t,r){return Mi(e,t),typeof r=="function"&&r(),e?e.__c:null}Me.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Me.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Uo=F.event;function Fu(){}function Nu(){return this.cancelBubble}function Du(){return this.defaultPrevented}F.event=function(e){return Uo&&(e=Uo(e)),e.persist=Fu,e.isPropagationStopped=Nu,e.isDefaultPrevented=Du,e.nativeEvent=e};var Bi,Ou={enumerable:!1,configurable:!0,get:function(){return this.class}},zo=F.vnode;F.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||Iu&&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"||Mu(r.type)?s==="onfocus"?o="onfocusin":s==="onblur"?o="onfocusout":Ru.test(o)?o=s:n.indexOf("-")===-1&&Au.test(o)?o=o.replace(Pu,"-$&").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=Je(r.children).forEach(function(c){c.props.selected=i.value.indexOf(c.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=Je(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",Ou)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=as,zo&&zo(e)};var jo=F.__r;F.__r=function(e){jo&&jo(e),Bi=e.__c};var Ho=F.diffed;F.diffed=function(e){Ho&&Ho(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),Bi=null};var us={ReactCurrentDispatcher:{current:{readContext:function(e){return Bi.__n[e.__c].props.value}}}},Bu="17.0.2";function ls(e){return X.bind(null,e)}function dr(e){return!!e&&e.$$typeof===as}function ds(e){return dr(e)&&e.type===Ce}function fs(e){return dr(e)?Fi.apply(null,arguments):e}function ps(e){return!!e.__k&&(et(null,e),!0)}function hs(e){return e&&(e.base||e.nodeType===1&&e)||null}var ms=function(e,t){return e(t)},gs=function(e,t){return e(t)},ys=Ce;function Li(e){e()}function ws(e){return e}function vs(){return[!1,Li]}var bs=mt,_s=dr;function Ss(e,t){var r=t(),n=he({h:{__:r,v:t}}),i=n[0].h,o=n[1];return mt(function(){i.__=r,i.v=t,$n(i)&&o({h:i})},[e,r,t]),Z(function(){return $n(i)&&o({h:i}),e(function(){$n(i)&&o({h:i})})},[e]),r}function $n(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(a){return!0}}var Cs={useState:he,useId:Ya,useReducer:Ni,useEffect:Z,useLayoutEffect:mt,useInsertionEffect:bs,useTransition:vs,useDeferredValue:ws,useSyncExternalStore:Ss,startTransition:Li,useRef:ve,useImperativeHandle:Ka,useMemo:ce,useCallback:vt,useContext:Nt,useDebugValue:Wr,version:"17.0.2",Children:es,render:ss,hydrate:cs,unmountComponentAtNode:ps,createPortal:os,createElement:X,createContext:an,createFactory:ls,cloneElement:fs,createRef:on,Fragment:Ce,isValidElement:dr,isElement:_s,isFragment:ds,findDOMNode:hs,Component:Me,PureComponent:qr,memo:Xa,forwardRef:Oi,flushSync:gs,unstable_batchedUpdates:ms,StrictMode:ys,Suspense:Vt,SuspenseList:bt,lazy:is,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:us};const Zt=Object.freeze(Object.defineProperty({__proto__:null,Children:es,Component:Me,Fragment:Ce,PureComponent:qr,StrictMode:ys,Suspense:Vt,SuspenseList:bt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:us,cloneElement:fs,createContext:an,createElement:X,createFactory:ls,createPortal:os,createRef:on,default:Cs,findDOMNode:hs,flushSync:gs,forwardRef:Oi,hydrate:cs,isElement:_s,isFragment:ds,isValidElement:dr,lazy:is,memo:Xa,render:ss,startTransition:Li,unmountComponentAtNode:ps,unstable_batchedUpdates:ms,useCallback:vt,useContext:Nt,useDebugValue:Wr,useDeferredValue:ws,useEffect:Z,useErrorBoundary:_u,useId:Ya,useImperativeHandle:Ka,useInsertionEffect:bs,useLayoutEffect:mt,useMemo:ce,useReducer:Ni,useRef:ve,useState:he,useSyncExternalStore:Ss,useTransition:vs,version:Bu},Symbol.toStringTag,{value:"Module"}));function ks(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Lu=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,$u=ks(function(e){return Lu.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Uu(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 zu(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 ju=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(zu(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Uu(i);try{o.insertRule(n,o.cssRules.length)}catch(a){}}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}(),pe="-ms-",Vr="-moz-",H="-webkit-",xs="comm",$i="rule",Ui="decl",Hu="@import",Ts="@keyframes",Wu="@layer",qu=Math.abs,sn=String.fromCharCode,Vu=Object.assign;function Qu(e,t){return ue(e,0)^45?(((t<<2^ue(e,0))<<2^ue(e,1))<<2^ue(e,2))<<2^ue(e,3):0}function Es(e){return e.trim()}function Ju(e,t){return(e=t.exec(e))?e[0]:e}function W(e,t,r){return e.replace(t,r)}function ui(e,t){return e.indexOf(t)}function ue(e,t){return e.charCodeAt(t)|0}function Xt(e,t,r){return e.slice(t,r)}function Be(e){return e.length}function zi(e){return e.length}function Tr(e,t){return t.push(e),e}function Ku(e,t){return e.map(t).join("")}var cn=1,Et=1,As=0,ye=0,te=0,Dt="";function un(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:cn,column:Et,length:a,return:""}}function $t(e,t){return Vu(un("",null,null,"",null,null,0),e,{length:-e.length},t)}function Yu(){return te}function Gu(){return te=ye>0?ue(Dt,--ye):0,Et--,te===10&&(Et=1,cn--),te}function Se(){return te=ye<As?ue(Dt,ye++):0,Et++,te===10&&(Et=1,cn++),te}function $e(){return ue(Dt,ye)}function Br(){return ye}function fr(e,t){return Xt(Dt,e,t)}function er(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 Rs(e){return cn=Et=1,As=Be(Dt=e),ye=0,[]}function Ps(e){return Dt="",e}function Lr(e){return Es(fr(ye-1,li(e===91?e+2:e===40?e+1:e)))}function Zu(e){for(;(te=$e())&&te<33;)Se();return er(e)>2||er(te)>3?"":" "}function Xu(e,t){for(;--t&&Se()&&!(te<48||te>102||te>57&&te<65||te>70&&te<97););return fr(e,Br()+(t<6&&$e()==32&&Se()==32))}function li(e){for(;Se();)switch(te){case e:return ye;case 34:case 39:e!==34&&e!==39&&li(te);break;case 40:e===41&&li(e);break;case 92:Se();break}return ye}function el(e,t){for(;Se()&&e+te!==57;)if(e+te===84&&$e()===47)break;return"/*"+fr(t,ye-1)+"*"+sn(e===47?e:Se())}function tl(e){for(;!er($e());)Se();return fr(e,ye)}function rl(e){return Ps($r("",null,null,null,[""],e=Rs(e),0,[0],e))}function $r(e,t,r,n,i,o,a,s,c){for(var f=0,w=0,m=a,l=0,u=0,d=0,p=1,h=1,v=1,_=0,g="",b=i,S=o,k=n,C=g;h;)switch(d=_,_=Se()){case 40:if(d!=108&&ue(C,m-1)==58){ui(C+=W(Lr(_),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:C+=Lr(_);break;case 9:case 10:case 13:case 32:C+=Zu(d);break;case 92:C+=Xu(Br()-1,7);continue;case 47:switch($e()){case 42:case 47:Tr(nl(el(Se(),Br()),t,r),c);break;default:C+="/"}break;case 123*p:s[f++]=Be(C)*v;case 125*p:case 59:case 0:switch(_){case 0:case 125:h=0;case 59+w:v==-1&&(C=W(C,/\f/g,"")),u>0&&Be(C)-m&&Tr(u>32?qo(C+";",n,r,m-1):qo(W(C," ","")+";",n,r,m-2),c);break;case 59:C+=";";default:if(Tr(k=Wo(C,t,r,f,w,i,s,g,b=[],S=[],m),o),_===123)if(w===0)$r(C,t,k,k,b,o,m,s,S);else switch(l===99&&ue(C,3)===110?100:l){case 100:case 108:case 109:case 115:$r(e,k,k,n&&Tr(Wo(e,k,k,0,0,i,s,g,i,b=[],m),S),i,S,m,s,n?b:S);break;default:$r(C,k,k,k,[""],S,0,s,S)}}f=w=u=0,p=v=1,g=C="",m=a;break;case 58:m=1+Be(C),u=d;default:if(p<1){if(_==123)--p;else if(_==125&&p++==0&&Gu()==125)continue}switch(C+=sn(_),_*p){case 38:v=w>0?1:(C+="\f",-1);break;case 44:s[f++]=(Be(C)-1)*v,v=1;break;case 64:$e()===45&&(C+=Lr(Se())),l=$e(),w=m=Be(g=C+=tl(Br())),_++;break;case 45:d===45&&Be(C)==2&&(p=0)}}return o}function Wo(e,t,r,n,i,o,a,s,c,f,w){for(var m=i-1,l=i===0?o:[""],u=zi(l),d=0,p=0,h=0;d<n;++d)for(var v=0,_=Xt(e,m+1,m=qu(p=a[d])),g=e;v<u;++v)(g=Es(p>0?l[v]+" "+_:W(_,/&\f/g,l[v])))&&(c[h++]=g);return un(e,t,r,i===0?$i:s,c,f,w)}function nl(e,t,r){return un(e,t,r,xs,sn(Yu()),Xt(e,2,-2),0)}function qo(e,t,r,n){return un(e,t,r,Ui,Xt(e,0,n),Xt(e,n+1,-1),n)}function St(e,t){for(var r="",n=zi(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function il(e,t,r,n){switch(e.type){case Wu:if(e.children.length)break;case Hu:case Ui:return e.return=e.return||e.value;case xs:return"";case Ts:return e.return=e.value+"{"+St(e.children,n)+"}";case $i:e.value=e.props.join(",")}return Be(r=St(e.children,n))?e.return=e.value+"{"+r+"}":""}function ol(e){var t=zi(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 al(e){return function(t){t.root||(t=t.return)&&e(t)}}var sl=function(t,r,n){for(var i=0,o=0;i=o,o=$e(),i===38&&o===12&&(r[n]=1),!er(o);)Se();return fr(t,ye)},cl=function(t,r){var n=-1,i=44;do switch(er(i)){case 0:i===38&&$e()===12&&(r[n]=1),t[n]+=sl(ye-1,r,n);break;case 2:t[n]+=Lr(i);break;case 4:if(i===44){t[++n]=$e()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=sn(i)}while(i=Se());return t},ul=function(t,r){return Ps(cl(Rs(t),r))},Vo=new WeakMap,ll=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&&!Vo.get(n))&&!i){Vo.set(t,!0);for(var o=[],a=ul(r,o),s=n.props,c=0,f=0;c<a.length;c++)for(var w=0;w<s.length;w++,f++)t.props[f]=o[c]?a[c].replace(/&\f/g,s[w]):s[w]+" "+a[c]}}},dl=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Is(e,t){switch(Qu(e,t)){case 5103:return H+"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 H+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return H+e+Vr+e+pe+e+e;case 6828:case 4268:return H+e+pe+e+e;case 6165:return H+e+pe+"flex-"+e+e;case 5187:return H+e+W(e,/(\w+).+(:[^]+)/,H+"box-$1$2"+pe+"flex-$1$2")+e;case 5443:return H+e+pe+"flex-item-"+W(e,/flex-|-self/,"")+e;case 4675:return H+e+pe+"flex-line-pack"+W(e,/align-content|flex-|-self/,"")+e;case 5548:return H+e+pe+W(e,"shrink","negative")+e;case 5292:return H+e+pe+W(e,"basis","preferred-size")+e;case 6060:return H+"box-"+W(e,"-grow","")+H+e+pe+W(e,"grow","positive")+e;case 4554:return H+W(e,/([^-])(transform)/g,"$1"+H+"$2")+e;case 6187:return W(W(W(e,/(zoom-|grab)/,H+"$1"),/(image-set)/,H+"$1"),e,"")+e;case 5495:case 3959:return W(e,/(image-set\([^]*)/,H+"$1$`$1");case 4968:return W(W(e,/(.+:)(flex-)?(.*)/,H+"box-pack:$3"+pe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+H+e+e;case 4095:case 3583:case 4068:case 2532:return W(e,/(.+)-inline(.+)/,H+"$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(Be(e)-1-t>6)switch(ue(e,t+1)){case 109:if(ue(e,t+4)!==45)break;case 102:return W(e,/(.+:)(.+)-([^]+)/,"$1"+H+"$2-$3$1"+Vr+(ue(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ui(e,"stretch")?Is(W(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ue(e,t+1)!==115)break;case 6444:switch(ue(e,Be(e)-3-(~ui(e,"!important")&&10))){case 107:return W(e,":",":"+H)+e;case 101:return W(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+H+(ue(e,14)===45?"inline-":"")+"box$3$1"+H+"$2$3$1"+pe+"$2box$3")+e}break;case 5936:switch(ue(e,t+11)){case 114:return H+e+pe+W(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return H+e+pe+W(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return H+e+pe+W(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return H+e+pe+e+e}return e}var fl=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case Ui:t.return=Is(t.value,t.length);break;case Ts:return St([$t(t,{value:W(t.value,"@","@"+H)})],i);case $i:if(t.length)return Ku(t.props,function(o){switch(Ju(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return St([$t(t,{props:[W(o,/:(read-\w+)/,":"+Vr+"$1")]})],i);case"::placeholder":return St([$t(t,{props:[W(o,/:(plac\w+)/,":"+H+"input-$1")]}),$t(t,{props:[W(o,/:(plac\w+)/,":"+Vr+"$1")]}),$t(t,{props:[W(o,/:(plac\w+)/,pe+"input-$1")]})],i)}return""})}},pl=[fl],Ms=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(p){var h=p.getAttribute("data-emotion");h.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var i=t.stylisPlugins||pl,o={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(p){for(var h=p.getAttribute("data-emotion").split(" "),v=1;v<h.length;v++)o[h[v]]=!0;s.push(p)});var c,f=[ll,dl];{var w,m=[il,al(function(p){w.insert(p)})],l=ol(f.concat(i,m)),u=function(h){return St(rl(h),l)};c=function(h,v,_,g){w=_,u(h?h+"{"+v.styles+"}":v.styles),g&&(d.inserted[v.name]=!0)}}var d={key:r,sheet:new ju({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 d.sheet.hydrate(s),d},hl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function ml(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 Fs={exports:{}},Q={};/** @license React v16.13.1
1
+ var pu=Object.defineProperty,hu=Object.defineProperties;var mu=Object.getOwnPropertyDescriptors;var kr=Object.getOwnPropertySymbols;var Co=Object.prototype.hasOwnProperty,ko=Object.prototype.propertyIsEnumerable;var On=(e,t,r)=>t in e?pu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,N=(e,t)=>{for(var r in t||(t={}))Co.call(t,r)&&On(e,r,t[r]);if(kr)for(var r of kr(t))ko.call(t,r)&&On(e,r,t[r]);return e},J=(e,t)=>hu(e,mu(t));var We=(e,t)=>{var r={};for(var n in e)Co.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&kr)for(var n of kr(e))t.indexOf(n)<0&&ko.call(e,n)&&(r[n]=e[n]);return r};var Bn=(e,t,r)=>(On(e,typeof t!="symbol"?t+"":t,r),r);var me=(e,t,r)=>new Promise((n,i)=>{var o=c=>{try{s(r.next(c))}catch(h){i(h)}},a=c=>{try{s(r.throw(c))}catch(h){i(h)}},s=c=>c.done?n(c.value):Promise.resolve(c.value).then(o,a);s((r=r.apply(e,t)).next())});(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)}})();function ni(){return ni=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},ni.apply(this,arguments)}var lr,F,$a,st,xo,Ua,ii,za,Gt={},ja=[],gu=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,nn=Array.isArray;function Qe(e,t){for(var r in t)e[r]=t[r];return e}function Ha(e){var t=e.parentNode;t&&t.removeChild(e)}function X(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?lr.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 qt(e,a,n,i,null)}function qt(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==null?++$a:i,__i:-1,__u:0};return i==null&&F.vnode!=null&&F.vnode(o),o}function on(){return{current:null}}function Ce(e){return e.children}function Fe(e,t){this.props=e,this.context=t}function xt(e,t){if(t==null)return e.__?xt(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"?xt(e):null}function Wa(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 Wa(e)}}function oi(e){(!e.__d&&(e.__d=!0)&&st.push(e)&&!Hr.__r++||xo!==F.debounceRendering)&&((xo=F.debounceRendering)||Ua)(Hr)}function Hr(){var e,t,r,n,i,o,a,s,c;for(st.sort(ii);e=st.shift();)e.__d&&(t=st.length,n=void 0,o=(i=(r=e).__v).__e,s=[],c=[],(a=r.__P)&&((n=Qe({},i)).__v=i.__v+1,F.vnode&&F.vnode(n),Pi(a,n,i,r.__n,a.ownerSVGElement!==void 0,32&i.__u?[o]:null,s,o==null?xt(i):o,!!(32&i.__u),c),n.__.__k[n.__i]=n,Qa(s,n,c),n.__e!=o&&Wa(n)),st.length>t&&st.sort(ii));Hr.__r=0}function qa(e,t,r,n,i,o,a,s,c,h,d){var m,l,u,f,p,g=n&&n.__k||ja,v=t.length;for(r.__d=c,yu(r,t,g),c=r.__d,m=0;m<v;m++)(u=r.__k[m])!=null&&typeof u!="boolean"&&typeof u!="function"&&(l=u.__i===-1?Gt:g[u.__i]||Gt,u.__i=m,Pi(e,u,l,i,o,a,s,c,h,d),f=u.__e,u.ref&&l.ref!=u.ref&&(l.ref&&Ii(l.ref,null,u),d.push(u.ref,u.__c||f,u)),p==null&&f!=null&&(p=f),65536&u.__u||l.__k===u.__k?c=Va(u,c,e):typeof u.type=="function"&&u.__d!==void 0?c=u.__d:f&&(c=f.nextSibling),u.__d=void 0,u.__u&=-196609);r.__d=c,r.__e=p}function yu(e,t,r){var n,i,o,a,s,c=t.length,h=r.length,d=h,m=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?qt(null,i,null,null,i):nn(i)?qt(Ce,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?qt(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)!=null?(i.__=e,i.__b=e.__b+1,s=wu(i,r,a=n+m,d),i.__i=s,o=null,s!==-1&&(d--,(o=r[s])&&(o.__u|=131072)),o==null||o.__v===null?(s==-1&&m--,typeof i.type!="function"&&(i.__u|=65536)):s!==a&&(s===a+1?m++:s>a?d>c-a?m+=s-a:m--:m=s<a&&s==a-1?s-a:0,s!==n+m&&(i.__u|=65536))):(o=r[n])&&o.key==null&&o.__e&&(o.__e==e.__d&&(e.__d=xt(o)),ai(o,o,!1),r[n]=null,d--);if(d)for(n=0;n<h;n++)(o=r[n])!=null&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=xt(o)),ai(o,o))}function Va(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=Va(n[i],t,r));return t}return e.__e!=t&&(r.insertBefore(e.__e,t||null),t=e.__e),t&&t.nextSibling}function Je(e,t){return t=t||[],e==null||typeof e=="boolean"||(nn(e)?e.some(function(r){Je(r,t)}):t.push(e)),t}function wu(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 To(e,t,r){t[0]==="-"?e.setProperty(t,r==null?"":r):e[t]=r==null?"":typeof r!="number"||gu.test(t)?r:r+"px"}function xr(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||To(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||To(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?Ao:Eo,o)):e.removeEventListener(t,o?Ao:Eo,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==null?"":r;break e}catch(a){}typeof r=="function"||(r==null||r===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,r))}}function Eo(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(F.event?F.event(e):e)}function Ao(e){return this.l[e.type+!0](F.event?F.event(e):e)}function Pi(e,t,r,n,i,o,a,s,c,h){var d,m,l,u,f,p,g,v,_,y,b,S,k,C,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=F.__b)&&d(t);e:if(typeof T=="function")try{if(v=t.props,_=(d=T.contextType)&&n[d.__c],y=d?_?_.props.value:d.__:n,r.__c?g=(m=t.__c=r.__c).__=m.__E:("prototype"in T&&T.prototype.render?t.__c=m=new T(v,y):(t.__c=m=new Fe(v,y),m.constructor=T,m.render=bu),_&&_.sub(m),m.props=v,m.state||(m.state={}),m.context=y,m.__n=n,l=m.__d=!0,m.__h=[],m._sb=[]),m.__s==null&&(m.__s=m.state),T.getDerivedStateFromProps!=null&&(m.__s==m.state&&(m.__s=Qe({},m.__s)),Qe(m.__s,T.getDerivedStateFromProps(v,m.__s))),u=m.props,f=m.state,m.__v=t,l)T.getDerivedStateFromProps==null&&m.componentWillMount!=null&&m.componentWillMount(),m.componentDidMount!=null&&m.__h.push(m.componentDidMount);else{if(T.getDerivedStateFromProps==null&&v!==u&&m.componentWillReceiveProps!=null&&m.componentWillReceiveProps(v,y),!m.__e&&(m.shouldComponentUpdate!=null&&m.shouldComponentUpdate(v,m.__s,y)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(m.props=v,m.state=m.__s,m.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(E){E&&(E.__=t)}),b=0;b<m._sb.length;b++)m.__h.push(m._sb[b]);m._sb=[],m.__h.length&&a.push(m);break e}m.componentWillUpdate!=null&&m.componentWillUpdate(v,m.__s,y),m.componentDidUpdate!=null&&m.__h.push(function(){m.componentDidUpdate(u,f,p)})}if(m.context=y,m.props=v,m.__P=e,m.__e=!1,S=F.__r,k=0,"prototype"in T&&T.prototype.render){for(m.state=m.__s,m.__d=!1,S&&S(t),d=m.render(m.props,m.state,m.context),C=0;C<m._sb.length;C++)m.__h.push(m._sb[C]);m._sb=[]}else do m.__d=!1,S&&S(t),d=m.render(m.props,m.state,m.context),m.state=m.__s;while(m.__d&&++k<25);m.state=m.__s,m.getChildContext!=null&&(n=Qe(Qe({},n),m.getChildContext())),l||m.getSnapshotBeforeUpdate==null||(p=m.getSnapshotBeforeUpdate(u,f)),qa(e,nn(x=d!=null&&d.type===Ce&&d.key==null?d.props.children:d)?x:[x],t,r,n,i,o,a,s,c,h),m.base=t.__e,t.__u&=-161,m.__h.length&&a.push(m),g&&(m.__E=m.__=null)}catch(E){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),F.__e(E,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,h);(d=F.diffed)&&d(t)}function Qa(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)Ii(r[n],r[++n],r[++n]);F.__c&&F.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){F.__e(o,i.__v)}})}function vu(e,t,r,n,i,o,a,s,c){var h,d,m,l,u,f,p,g=r.props,v=t.props,_=t.type;if(_==="svg"&&(i=!0),o!=null){for(h=0;h<o.length;h++)if((u=o[h])&&"setAttribute"in u==!!_&&(_?u.localName===_:u.nodeType===3)){e=u,o[h]=null;break}}if(e==null){if(_===null)return document.createTextNode(v);e=i?document.createElementNS("http://www.w3.org/2000/svg",_):document.createElement(_,v.is&&v),o=null,s=!1}if(_===null)g===v||s&&e.data===v||(e.data=v);else{if(o=o&&lr.call(e.childNodes),g=r.props||Gt,!s&&o!=null)for(g={},h=0;h<e.attributes.length;h++)g[(u=e.attributes[h]).name]=u.value;for(h in g)u=g[h],h=="children"||(h=="dangerouslySetInnerHTML"?m=u:h==="key"||h in v||xr(e,h,null,u,i));for(h in v)u=v[h],h=="children"?l=u:h=="dangerouslySetInnerHTML"?d=u:h=="value"?f=u:h=="checked"?p=u:h==="key"||s&&typeof u!="function"||g[h]===u||xr(e,h,u,g[h],i);if(d)s||m&&(d.__html===m.__html||d.__html===e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(m&&(e.innerHTML=""),qa(e,nn(l)?l:[l],t,r,n,i&&_!=="foreignObject",o,a,o?o[0]:r.__k&&xt(r,0),s,c),o!=null)for(h=o.length;h--;)o[h]!=null&&Ha(o[h]);s||(h="value",f!==void 0&&(f!==e[h]||_==="progress"&&!f||_==="option"&&f!==g[h])&&xr(e,h,f,g[h],!1),h="checked",p!==void 0&&p!==e[h]&&xr(e,h,p,g[h],!1))}return e}function Ii(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(n){F.__e(n,r)}}function ai(e,t,r){var n,i;if(F.unmount&&F.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||Ii(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){F.__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]&&ai(n[i],t,r||typeof e.type!="function");r||e.__e==null||Ha(e.__e),e.__=e.__e=e.__d=void 0}function bu(e,t,r){return this.constructor(e,r)}function et(e,t,r){var n,i,o,a;F.__&&F.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],a=[],Pi(t,e=(!n&&r||t).__k=X(Ce,null,[e]),i||Gt,Gt,t.ownerSVGElement!==void 0,!n&&r?[r]:i?null:t.firstChild?lr.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,a),Qa(o,e,a)}function Mi(e,t){et(e,t,Mi)}function Fi(e,t,r){var n,i,o,a,s=Qe({},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?lr.call(arguments,2):r),qt(e.type,s,n||e.key,i||e.ref,null)}function an(e,t){var r={__c:t="__cC"+za++,__: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,oi(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}lr=ja.slice,F={__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}},$a=0,Fe.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Qe({},this.state),typeof e=="function"&&(e=e(Qe({},r),this.props)),e&&Qe(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),oi(this))},Fe.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),oi(this))},Fe.prototype.render=Ce,st=[],Ua=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ii=function(e,t){return e.__v.__b-t.__v.__b},Hr.__r=0,za=0;var Ke,K,Ln,Ro,Tt=0,Ja=[],Dr=[],Po=F.__b,Io=F.__r,Mo=F.diffed,Fo=F.__c,No=F.unmount;function ht(e,t){F.__h&&F.__h(K,e,Tt||t),Tt=0;var r=K.__H||(K.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:Dr}),r.__[e]}function ae(e){return Tt=1,Ni(Ga,e)}function Ni(e,t,r){var n=ht(Ke++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):Ga(void 0,t),function(s){var c=n.__N?n.__N[0]:n.__[0],h=n.t(c,s);c!==h&&(n.__N=[h,n.__[1]],n.__c.setState({}))}],n.__c=K,!K.u)){var i=function(s,c,h){if(!n.__c.__H)return!0;var d=n.__c.__H.__.filter(function(l){return l.__c});if(d.every(function(l){return!l.__N}))return!o||o.call(this,s,c,h);var m=!1;return d.forEach(function(l){if(l.__N){var u=l.__[0];l.__=l.__N,l.__N=void 0,u!==l.__[0]&&(m=!0)}}),!(!m&&n.__c.props===s)&&(!o||o.call(this,s,c,h))};K.u=!0;var o=K.shouldComponentUpdate,a=K.componentWillUpdate;K.componentWillUpdate=function(s,c,h){if(this.__e){var d=o;o=void 0,i(s,c,h),o=d}a&&a.call(this,s,c,h)},K.shouldComponentUpdate=i}return n.__N||n.__}function Z(e,t){var r=ht(Ke++,3);!F.__s&&Di(r.__H,t)&&(r.__=e,r.i=t,K.__H.__h.push(r))}function mt(e,t){var r=ht(Ke++,4);!F.__s&&Di(r.__H,t)&&(r.__=e,r.i=t,K.__h.push(r))}function ve(e){return Tt=5,ue(function(){return{current:e}},[])}function Ka(e,t,r){Tt=6,mt(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 ue(e,t){var r=ht(Ke++,7);return Di(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function vt(e,t){return Tt=8,ue(function(){return e},t)}function Nt(e){var t=K.context[e.__c],r=ht(Ke++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(K)),t.props.value):e.__}function Wr(e,t){F.useDebugValue&&F.useDebugValue(t?t(e):e)}function _u(e){var t=ht(Ke++,10),r=ae();return t.__=e,K.componentDidCatch||(K.componentDidCatch=function(n,i){t.__&&t.__(n,i),r[1](n)}),[r[0],function(){r[1](void 0)}]}function Ya(){var e=ht(Ke++,11);if(!e.__){for(var t=K.__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 Su(){for(var e;e=Ja.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Or),e.__H.__h.forEach(si),e.__H.__h=[]}catch(t){e.__H.__h=[],F.__e(t,e.__v)}}F.__b=function(e){K=null,Po&&Po(e)},F.__r=function(e){Io&&Io(e),Ke=0;var t=(K=e.__c).__H;t&&(Ln===K?(t.__h=[],K.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=Dr,r.__N=r.i=void 0})):(t.__h.forEach(Or),t.__h.forEach(si),t.__h=[],Ke=0)),Ln=K},F.diffed=function(e){Mo&&Mo(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ja.push(t)!==1&&Ro===F.requestAnimationFrame||((Ro=F.requestAnimationFrame)||Cu)(Su)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==Dr&&(r.__=r.__V),r.i=void 0,r.__V=Dr})),Ln=K=null},F.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Or),r.__h=r.__h.filter(function(n){return!n.__||si(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],F.__e(n,r.__v)}}),Fo&&Fo(e,t)},F.unmount=function(e){No&&No(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{Or(n)}catch(i){t=i}}),r.__H=void 0,t&&F.__e(t,r.__v))};var Do=typeof requestAnimationFrame=="function";function Cu(e){var t,r=function(){clearTimeout(n),Do&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);Do&&(t=requestAnimationFrame(r))}function Or(e){var t=K,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),K=t}function si(e){var t=K;e.__c=e.__(),K=t}function Di(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function Ga(e,t){return typeof t=="function"?t(e):t}function Za(e,t){for(var r in t)e[r]=t[r];return e}function ci(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 qr(e){this.props=e}function Xa(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:ci(this.props,i)}function n(i){return this.shouldComponentUpdate=r,X(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(qr.prototype=new Fe).isPureReactComponent=!0,qr.prototype.shouldComponentUpdate=function(e,t){return ci(this.props,e)||ci(this.state,t)};var Oo=F.__b;F.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Oo&&Oo(e)};var ku=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Oi(e){function t(r){var n=Za({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=ku,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Bo=function(e,t){return e==null?null:Je(Je(e).map(t))},es={map:Bo,forEach:Bo,count:function(e){return e?Je(e).length:0},only:function(e){var t=Je(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Je},xu=F.__e;F.__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)}xu(e,t,r,n)};var Lo=F.unmount;function ts(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=Za({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return ts(n,t,r)})),e}function rs(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return rs(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 Vt(){this.__u=0,this.t=null,this.__b=null}function ns(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 X(r,o)}return i.displayName="Lazy",i.__f=!0,i}function bt(){this.u=null,this.o=null}F.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Lo&&Lo(e)},(Vt.prototype=new Fe).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var i=ns(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]=rs(c,c.__c.__P,c.__c.__O)}var h;for(n.setState({__a:n.__b=null});h=n.t.pop();)h.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(a,a)},Vt.prototype.componentWillUnmount=function(){this.t=[]},Vt.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]=ts(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&X(Ce,null,e.fallback);return i&&(i.__u&=-33),[X(Ce,null,t.__a?null:e.children),i]};var $o=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 Tu(e){return this.getChildContext=function(){return e.context},e.children}function Eu(e){var t=this,r=e.i;t.componentWillUnmount=function(){et(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)}}),et(X(Tu,{context:t.context},e.__v),t.l)}function os(e,t){var r=X(Eu,{__v:e,i:t});return r.containerInfo=t,r}(bt.prototype=new Fe).__a=function(e){var t=this,r=ns(t.__v),n=t.o.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),$o(t,e,n)):i()};r?r(o):o()}},bt.prototype.render=function(e){this.u=null,this.o=new Map;var t=Je(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){$o(e,r,t)})};var as=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,Au=/^(?: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]/,Ru=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Pu=/[A-Z0-9]/g,Iu=typeof document!="undefined",Mu=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function ss(e,t,r){return t.__k==null&&(t.textContent=""),et(e,t),typeof r=="function"&&r(),e?e.__c:null}function cs(e,t,r){return Mi(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 Uo=F.event;function Fu(){}function Nu(){return this.cancelBubble}function Du(){return this.defaultPrevented}F.event=function(e){return Uo&&(e=Uo(e)),e.persist=Fu,e.isPropagationStopped=Nu,e.isDefaultPrevented=Du,e.nativeEvent=e};var Bi,Ou={enumerable:!1,configurable:!0,get:function(){return this.class}},zo=F.vnode;F.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||Iu&&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"||Mu(r.type)?s==="onfocus"?o="onfocusin":s==="onblur"?o="onfocusout":Ru.test(o)?o=s:n.indexOf("-")===-1&&Au.test(o)?o=o.replace(Pu,"-$&").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=Je(r.children).forEach(function(c){c.props.selected=i.value.indexOf(c.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=Je(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",Ou)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=as,zo&&zo(e)};var jo=F.__r;F.__r=function(e){jo&&jo(e),Bi=e.__c};var Ho=F.diffed;F.diffed=function(e){Ho&&Ho(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),Bi=null};var us={ReactCurrentDispatcher:{current:{readContext:function(e){return Bi.__n[e.__c].props.value}}}},Bu="17.0.2";function ls(e){return X.bind(null,e)}function dr(e){return!!e&&e.$$typeof===as}function ds(e){return dr(e)&&e.type===Ce}function fs(e){return dr(e)?Fi.apply(null,arguments):e}function ps(e){return!!e.__k&&(et(null,e),!0)}function hs(e){return e&&(e.base||e.nodeType===1&&e)||null}var ms=function(e,t){return e(t)},gs=function(e,t){return e(t)},ys=Ce;function Li(e){e()}function ws(e){return e}function vs(){return[!1,Li]}var bs=mt,_s=dr;function Ss(e,t){var r=t(),n=ae({h:{__:r,v:t}}),i=n[0].h,o=n[1];return mt(function(){i.__=r,i.v=t,$n(i)&&o({h:i})},[e,r,t]),Z(function(){return $n(i)&&o({h:i}),e(function(){$n(i)&&o({h:i})})},[e]),r}function $n(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(a){return!0}}var Cs={useState:ae,useId:Ya,useReducer:Ni,useEffect:Z,useLayoutEffect:mt,useInsertionEffect:bs,useTransition:vs,useDeferredValue:ws,useSyncExternalStore:Ss,startTransition:Li,useRef:ve,useImperativeHandle:Ka,useMemo:ue,useCallback:vt,useContext:Nt,useDebugValue:Wr,version:"17.0.2",Children:es,render:ss,hydrate:cs,unmountComponentAtNode:ps,createPortal:os,createElement:X,createContext:an,createFactory:ls,cloneElement:fs,createRef:on,Fragment:Ce,isValidElement:dr,isElement:_s,isFragment:ds,findDOMNode:hs,Component:Fe,PureComponent:qr,memo:Xa,forwardRef:Oi,flushSync:gs,unstable_batchedUpdates:ms,StrictMode:ys,Suspense:Vt,SuspenseList:bt,lazy:is,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:us};const Zt=Object.freeze(Object.defineProperty({__proto__:null,Children:es,Component:Fe,Fragment:Ce,PureComponent:qr,StrictMode:ys,Suspense:Vt,SuspenseList:bt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:us,cloneElement:fs,createContext:an,createElement:X,createFactory:ls,createPortal:os,createRef:on,default:Cs,findDOMNode:hs,flushSync:gs,forwardRef:Oi,hydrate:cs,isElement:_s,isFragment:ds,isValidElement:dr,lazy:is,memo:Xa,render:ss,startTransition:Li,unmountComponentAtNode:ps,unstable_batchedUpdates:ms,useCallback:vt,useContext:Nt,useDebugValue:Wr,useDeferredValue:ws,useEffect:Z,useErrorBoundary:_u,useId:Ya,useImperativeHandle:Ka,useInsertionEffect:bs,useLayoutEffect:mt,useMemo:ue,useReducer:Ni,useRef:ve,useState:ae,useSyncExternalStore:Ss,useTransition:vs,version:Bu},Symbol.toStringTag,{value:"Module"}));function ks(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Lu=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,$u=ks(function(e){return Lu.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Uu(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 zu(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 ju=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(zu(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Uu(i);try{o.insertRule(n,o.cssRules.length)}catch(a){}}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}(),he="-ms-",Vr="-moz-",H="-webkit-",xs="comm",$i="rule",Ui="decl",Hu="@import",Ts="@keyframes",Wu="@layer",qu=Math.abs,sn=String.fromCharCode,Vu=Object.assign;function Qu(e,t){return le(e,0)^45?(((t<<2^le(e,0))<<2^le(e,1))<<2^le(e,2))<<2^le(e,3):0}function Es(e){return e.trim()}function Ju(e,t){return(e=t.exec(e))?e[0]:e}function W(e,t,r){return e.replace(t,r)}function ui(e,t){return e.indexOf(t)}function le(e,t){return e.charCodeAt(t)|0}function Xt(e,t,r){return e.slice(t,r)}function Le(e){return e.length}function zi(e){return e.length}function Tr(e,t){return t.push(e),e}function Ku(e,t){return e.map(t).join("")}var cn=1,Et=1,As=0,ye=0,te=0,Dt="";function un(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:cn,column:Et,length:a,return:""}}function $t(e,t){return Vu(un("",null,null,"",null,null,0),e,{length:-e.length},t)}function Yu(){return te}function Gu(){return te=ye>0?le(Dt,--ye):0,Et--,te===10&&(Et=1,cn--),te}function Se(){return te=ye<As?le(Dt,ye++):0,Et++,te===10&&(Et=1,cn++),te}function Ue(){return le(Dt,ye)}function Br(){return ye}function fr(e,t){return Xt(Dt,e,t)}function er(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 Rs(e){return cn=Et=1,As=Le(Dt=e),ye=0,[]}function Ps(e){return Dt="",e}function Lr(e){return Es(fr(ye-1,li(e===91?e+2:e===40?e+1:e)))}function Zu(e){for(;(te=Ue())&&te<33;)Se();return er(e)>2||er(te)>3?"":" "}function Xu(e,t){for(;--t&&Se()&&!(te<48||te>102||te>57&&te<65||te>70&&te<97););return fr(e,Br()+(t<6&&Ue()==32&&Se()==32))}function li(e){for(;Se();)switch(te){case e:return ye;case 34:case 39:e!==34&&e!==39&&li(te);break;case 40:e===41&&li(e);break;case 92:Se();break}return ye}function el(e,t){for(;Se()&&e+te!==57;)if(e+te===84&&Ue()===47)break;return"/*"+fr(t,ye-1)+"*"+sn(e===47?e:Se())}function tl(e){for(;!er(Ue());)Se();return fr(e,ye)}function rl(e){return Ps($r("",null,null,null,[""],e=Rs(e),0,[0],e))}function $r(e,t,r,n,i,o,a,s,c){for(var h=0,d=0,m=a,l=0,u=0,f=0,p=1,g=1,v=1,_=0,y="",b=i,S=o,k=n,C=y;g;)switch(f=_,_=Se()){case 40:if(f!=108&&le(C,m-1)==58){ui(C+=W(Lr(_),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:C+=Lr(_);break;case 9:case 10:case 13:case 32:C+=Zu(f);break;case 92:C+=Xu(Br()-1,7);continue;case 47:switch(Ue()){case 42:case 47:Tr(nl(el(Se(),Br()),t,r),c);break;default:C+="/"}break;case 123*p:s[h++]=Le(C)*v;case 125*p:case 59:case 0:switch(_){case 0:case 125:g=0;case 59+d:v==-1&&(C=W(C,/\f/g,"")),u>0&&Le(C)-m&&Tr(u>32?qo(C+";",n,r,m-1):qo(W(C," ","")+";",n,r,m-2),c);break;case 59:C+=";";default:if(Tr(k=Wo(C,t,r,h,d,i,s,y,b=[],S=[],m),o),_===123)if(d===0)$r(C,t,k,k,b,o,m,s,S);else switch(l===99&&le(C,3)===110?100:l){case 100:case 108:case 109:case 115:$r(e,k,k,n&&Tr(Wo(e,k,k,0,0,i,s,y,i,b=[],m),S),i,S,m,s,n?b:S);break;default:$r(C,k,k,k,[""],S,0,s,S)}}h=d=u=0,p=v=1,y=C="",m=a;break;case 58:m=1+Le(C),u=f;default:if(p<1){if(_==123)--p;else if(_==125&&p++==0&&Gu()==125)continue}switch(C+=sn(_),_*p){case 38:v=d>0?1:(C+="\f",-1);break;case 44:s[h++]=(Le(C)-1)*v,v=1;break;case 64:Ue()===45&&(C+=Lr(Se())),l=Ue(),d=m=Le(y=C+=tl(Br())),_++;break;case 45:f===45&&Le(C)==2&&(p=0)}}return o}function Wo(e,t,r,n,i,o,a,s,c,h,d){for(var m=i-1,l=i===0?o:[""],u=zi(l),f=0,p=0,g=0;f<n;++f)for(var v=0,_=Xt(e,m+1,m=qu(p=a[f])),y=e;v<u;++v)(y=Es(p>0?l[v]+" "+_:W(_,/&\f/g,l[v])))&&(c[g++]=y);return un(e,t,r,i===0?$i:s,c,h,d)}function nl(e,t,r){return un(e,t,r,xs,sn(Yu()),Xt(e,2,-2),0)}function qo(e,t,r,n){return un(e,t,r,Ui,Xt(e,0,n),Xt(e,n+1,-1),n)}function St(e,t){for(var r="",n=zi(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function il(e,t,r,n){switch(e.type){case Wu:if(e.children.length)break;case Hu:case Ui:return e.return=e.return||e.value;case xs:return"";case Ts:return e.return=e.value+"{"+St(e.children,n)+"}";case $i:e.value=e.props.join(",")}return Le(r=St(e.children,n))?e.return=e.value+"{"+r+"}":""}function ol(e){var t=zi(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 al(e){return function(t){t.root||(t=t.return)&&e(t)}}var sl=function(t,r,n){for(var i=0,o=0;i=o,o=Ue(),i===38&&o===12&&(r[n]=1),!er(o);)Se();return fr(t,ye)},cl=function(t,r){var n=-1,i=44;do switch(er(i)){case 0:i===38&&Ue()===12&&(r[n]=1),t[n]+=sl(ye-1,r,n);break;case 2:t[n]+=Lr(i);break;case 4:if(i===44){t[++n]=Ue()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=sn(i)}while(i=Se());return t},ul=function(t,r){return Ps(cl(Rs(t),r))},Vo=new WeakMap,ll=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&&!Vo.get(n))&&!i){Vo.set(t,!0);for(var o=[],a=ul(r,o),s=n.props,c=0,h=0;c<a.length;c++)for(var d=0;d<s.length;d++,h++)t.props[h]=o[c]?a[c].replace(/&\f/g,s[d]):s[d]+" "+a[c]}}},dl=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Is(e,t){switch(Qu(e,t)){case 5103:return H+"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 H+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return H+e+Vr+e+he+e+e;case 6828:case 4268:return H+e+he+e+e;case 6165:return H+e+he+"flex-"+e+e;case 5187:return H+e+W(e,/(\w+).+(:[^]+)/,H+"box-$1$2"+he+"flex-$1$2")+e;case 5443:return H+e+he+"flex-item-"+W(e,/flex-|-self/,"")+e;case 4675:return H+e+he+"flex-line-pack"+W(e,/align-content|flex-|-self/,"")+e;case 5548:return H+e+he+W(e,"shrink","negative")+e;case 5292:return H+e+he+W(e,"basis","preferred-size")+e;case 6060:return H+"box-"+W(e,"-grow","")+H+e+he+W(e,"grow","positive")+e;case 4554:return H+W(e,/([^-])(transform)/g,"$1"+H+"$2")+e;case 6187:return W(W(W(e,/(zoom-|grab)/,H+"$1"),/(image-set)/,H+"$1"),e,"")+e;case 5495:case 3959:return W(e,/(image-set\([^]*)/,H+"$1$`$1");case 4968:return W(W(e,/(.+:)(flex-)?(.*)/,H+"box-pack:$3"+he+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+H+e+e;case 4095:case 3583:case 4068:case 2532:return W(e,/(.+)-inline(.+)/,H+"$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(Le(e)-1-t>6)switch(le(e,t+1)){case 109:if(le(e,t+4)!==45)break;case 102:return W(e,/(.+:)(.+)-([^]+)/,"$1"+H+"$2-$3$1"+Vr+(le(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ui(e,"stretch")?Is(W(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(le(e,t+1)!==115)break;case 6444:switch(le(e,Le(e)-3-(~ui(e,"!important")&&10))){case 107:return W(e,":",":"+H)+e;case 101:return W(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+H+(le(e,14)===45?"inline-":"")+"box$3$1"+H+"$2$3$1"+he+"$2box$3")+e}break;case 5936:switch(le(e,t+11)){case 114:return H+e+he+W(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return H+e+he+W(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return H+e+he+W(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return H+e+he+e+e}return e}var fl=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case Ui:t.return=Is(t.value,t.length);break;case Ts:return St([$t(t,{value:W(t.value,"@","@"+H)})],i);case $i:if(t.length)return Ku(t.props,function(o){switch(Ju(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return St([$t(t,{props:[W(o,/:(read-\w+)/,":"+Vr+"$1")]})],i);case"::placeholder":return St([$t(t,{props:[W(o,/:(plac\w+)/,":"+H+"input-$1")]}),$t(t,{props:[W(o,/:(plac\w+)/,":"+Vr+"$1")]}),$t(t,{props:[W(o,/:(plac\w+)/,he+"input-$1")]})],i)}return""})}},pl=[fl],Ms=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(p){var g=p.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var i=t.stylisPlugins||pl,o={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(p){for(var g=p.getAttribute("data-emotion").split(" "),v=1;v<g.length;v++)o[g[v]]=!0;s.push(p)});var c,h=[ll,dl];{var d,m=[il,al(function(p){d.insert(p)})],l=ol(h.concat(i,m)),u=function(g){return St(rl(g),l)};c=function(g,v,_,y){d=_,u(g?g+"{"+v.styles+"}":v.styles),y&&(f.inserted[v.name]=!0)}}var f={key:r,sheet:new ju({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 f.sheet.hydrate(s),f},hl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function ml(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 Fs={exports:{}},Q={};/** @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 ae=typeof Symbol=="function"&&Symbol.for,ji=ae?Symbol.for("react.element"):60103,Hi=ae?Symbol.for("react.portal"):60106,ln=ae?Symbol.for("react.fragment"):60107,dn=ae?Symbol.for("react.strict_mode"):60108,fn=ae?Symbol.for("react.profiler"):60114,pn=ae?Symbol.for("react.provider"):60109,hn=ae?Symbol.for("react.context"):60110,Wi=ae?Symbol.for("react.async_mode"):60111,mn=ae?Symbol.for("react.concurrent_mode"):60111,gn=ae?Symbol.for("react.forward_ref"):60112,yn=ae?Symbol.for("react.suspense"):60113,gl=ae?Symbol.for("react.suspense_list"):60120,wn=ae?Symbol.for("react.memo"):60115,vn=ae?Symbol.for("react.lazy"):60116,yl=ae?Symbol.for("react.block"):60121,wl=ae?Symbol.for("react.fundamental"):60117,vl=ae?Symbol.for("react.responder"):60118,bl=ae?Symbol.for("react.scope"):60119;function xe(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case ji:switch(e=e.type,e){case Wi:case mn:case ln:case fn:case dn:case yn:return e;default:switch(e=e&&e.$$typeof,e){case hn:case gn:case vn:case wn:case pn:return e;default:return t}}case Hi:return t}}}function Ns(e){return xe(e)===mn}Q.AsyncMode=Wi;Q.ConcurrentMode=mn;Q.ContextConsumer=hn;Q.ContextProvider=pn;Q.Element=ji;Q.ForwardRef=gn;Q.Fragment=ln;Q.Lazy=vn;Q.Memo=wn;Q.Portal=Hi;Q.Profiler=fn;Q.StrictMode=dn;Q.Suspense=yn;Q.isAsyncMode=function(e){return Ns(e)||xe(e)===Wi};Q.isConcurrentMode=Ns;Q.isContextConsumer=function(e){return xe(e)===hn};Q.isContextProvider=function(e){return xe(e)===pn};Q.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===ji};Q.isForwardRef=function(e){return xe(e)===gn};Q.isFragment=function(e){return xe(e)===ln};Q.isLazy=function(e){return xe(e)===vn};Q.isMemo=function(e){return xe(e)===wn};Q.isPortal=function(e){return xe(e)===Hi};Q.isProfiler=function(e){return xe(e)===fn};Q.isStrictMode=function(e){return xe(e)===dn};Q.isSuspense=function(e){return xe(e)===yn};Q.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ln||e===mn||e===fn||e===dn||e===yn||e===gl||typeof e=="object"&&e!==null&&(e.$$typeof===vn||e.$$typeof===wn||e.$$typeof===pn||e.$$typeof===hn||e.$$typeof===gn||e.$$typeof===wl||e.$$typeof===vl||e.$$typeof===bl||e.$$typeof===yl)};Q.typeOf=xe;Fs.exports=Q;var _l=Fs.exports,Ds=_l,Sl={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Cl={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Os={};Os[Ds.ForwardRef]=Sl;Os[Ds.Memo]=Cl;var kl=!0;function Bs(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):n+=i+" "}),n}var qi=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||kl===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},Vi=function(t,r,n){qi(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 xl(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 Tl={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},El=/[A-Z]|^ms/g,Al=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ls=function(t){return t.charCodeAt(1)===45},Qo=function(t){return t!=null&&typeof t!="boolean"},Un=ks(function(e){return Ls(e)?e:e.replace(El,"-$&").toLowerCase()}),Jo=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Al,function(n,i,o){return Le={name:i,styles:o,next:Le},i})}return Tl[t]!==1&&!Ls(t)&&typeof r=="number"&&r!==0?r+"px":r};function tr(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Le={name:r.name,styles:r.styles,next:Le},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Le={name:n.name,styles:n.styles,next:Le},n=n.next;var i=r.styles+";";return i}return Rl(e,t,r)}case"function":{if(e!==void 0){var o=Le,a=r(e);return Le=o,tr(e,t,a)}break}}if(t==null)return r;var s=t[r];return s!==void 0?s:r}function Rl(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=tr(e,t,r[i])+";";else for(var o in r){var a=r[o];if(typeof a!="object")t!=null&&t[a]!==void 0?n+=o+"{"+t[a]+"}":Qo(a)&&(n+=Un(o)+":"+Jo(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++)Qo(a[s])&&(n+=Un(o)+":"+Jo(o,a[s])+";");else{var c=tr(e,t,a);switch(o){case"animation":case"animationName":{n+=Un(o)+":"+c+";";break}default:n+=o+"{"+c+"}"}}}return n}var Ko=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Le,bn=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="";Le=void 0;var a=t[0];a==null||a.raw===void 0?(i=!1,o+=tr(n,r,a)):o+=a[0];for(var s=1;s<t.length;s++)o+=tr(n,r,t[s]),i&&(o+=a[s]);Ko.lastIndex=0;for(var c="",f;(f=Ko.exec(o))!==null;)c+="-"+f[1];var w=xl(o)+c;return{name:w,styles:o,next:Le}},Pl=function(t){return t()},$s=Zt.useInsertionEffect?Zt.useInsertionEffect:!1,Us=$s||Pl,Yo=$s||mt,_n={}.hasOwnProperty,zs=an(typeof HTMLElement!="undefined"?Ms({key:"css"}):null),Il=zs.Provider,Qi=function(t){return Oi(function(r,n){var i=Nt(zs);return t(r,i,n)})},Ji=an({}),di="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",js=function(t,r){var n={};for(var i in r)_n.call(r,i)&&(n[i]=r[i]);return n[di]=t,n},Ml=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return qi(r,n,i),Us(function(){return Vi(r,n,i)}),null},Fl=Qi(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var i=e[di],o=[n],a="";typeof e.className=="string"?a=Bs(t.registered,o,e.className):e.className!=null&&(a=e.className+" ");var s=bn(o,void 0,Nt(Ji));a+=t.key+"-"+s.name;var c={};for(var f in e)_n.call(e,f)&&f!=="css"&&f!==di&&(c[f]=e[f]);return c.ref=r,c.className=a,X(Ce,null,X(Ml,{cache:t,serialized:s,isStringTag:typeof i=="string"}),X(i,c))}),Hs=Fl,Nl=Qi(function(e,t){var r=e.styles,n=bn([r],void 0,Nt(Ji)),i=ve();return Yo(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]),Yo(function(){var o=i.current,a=o[0],s=o[1];if(s){o[1]=!1;return}if(n.next!==void 0&&Vi(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 Dl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return bn(t)}var Ol=$u,Bl=function(t){return t!=="theme"},Go=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Ol:Bl},Zo=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},Ll=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return qi(r,n,i),Us(function(){return Vi(r,n,i)}),null},$l=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=Zo(t,r,n),c=s||Go(i),f=!c("as");return function(){var w=arguments,m=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&m.push("label:"+o+";"),w[0]==null||w[0].raw===void 0)m.push.apply(m,w);else{m.push(w[0][0]);for(var l=w.length,u=1;u<l;u++)m.push(w[u],w[0][u])}var d=Qi(function(p,h,v){var _=f&&p.as||i,g="",b=[],S=p;if(p.theme==null){S={};for(var k in p)S[k]=p[k];S.theme=Nt(Ji)}typeof p.className=="string"?g=Bs(h.registered,b,p.className):p.className!=null&&(g=p.className+" ");var C=bn(m.concat(b),h.registered,S);g+=h.key+"-"+C.name,a!==void 0&&(g+=" "+a);var x=f&&s===void 0?Go(_):c,T={};for(var E in p)f&&E==="as"||x(E)&&(T[E]=p[E]);return T.className=g,T.ref=v,X(Ce,null,X(Ll,{cache:h,serialized:C,isStringTag:typeof _=="string"}),X(_,T))});return d.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",d.defaultProps=t.defaultProps,d.__emotion_real=d,d.__emotion_base=i,d.__emotion_styles=m,d.__emotion_forwardProp=s,Object.defineProperty(d,"toString",{value:function(){return"."+a}}),d.withComponent=function(p,h){return e(p,ni({},r,h,{shouldForwardProp:Zo(d,h,!0)})).apply(void 0,m)},d}},Ul=["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"],j=$l.bind();Ul.forEach(function(e){j[e]=j(e)});function se(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 zl=typeof Symbol=="function"&&Symbol.observable||"@@observable",Xo=zl,zn=()=>Math.random().toString(36).substring(7).split("").join("."),jl={INIT:`@@redux/INIT${zn()}`,REPLACE:`@@redux/REPLACE${zn()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${zn()}`},Qr=jl;function ze(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Ws(e,t,r){if(typeof e!="function")throw new Error(se(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(se(0));if(typeof t=="function"&&typeof r=="undefined"&&(r=t,t=void 0),typeof r!="undefined"){if(typeof r!="function")throw new Error(se(1));return r(Ws)(e,t)}let n=e,i=t,o=new Map,a=o,s=0,c=!1;function f(){a===o&&(a=new Map,o.forEach((h,v)=>{a.set(v,h)}))}function w(){if(c)throw new Error(se(3));return i}function m(h){if(typeof h!="function")throw new Error(se(4));if(c)throw new Error(se(5));let v=!0;f();const _=s++;return a.set(_,h),function(){if(v){if(c)throw new Error(se(6));v=!1,f(),a.delete(_),o=null}}}function l(h){if(!ze(h))throw new Error(se(7));if(typeof h.type=="undefined")throw new Error(se(8));if(typeof h.type!="string")throw new Error(se(17));if(c)throw new Error(se(9));try{c=!0,i=n(i,h)}finally{c=!1}return(o=a).forEach(_=>{_()}),h}function u(h){if(typeof h!="function")throw new Error(se(10));n=h,l({type:Qr.REPLACE})}function d(){const h=m;return{subscribe(v){if(typeof v!="object"||v===null)throw new Error(se(11));function _(){const b=v;b.next&&b.next(w())}return _(),{unsubscribe:h(_)}},[Xo](){return this}}}return l({type:Qr.INIT}),{dispatch:l,subscribe:m,getState:w,replaceReducer:u,[Xo]:d}}function Hl(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:Qr.INIT})=="undefined")throw new Error(se(12));if(typeof r(void 0,{type:Qr.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(se(13))})}function qs(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{Hl(r)}catch(o){i=o}return function(a={},s){if(i)throw i;let c=!1;const f={};for(let w=0;w<n.length;w++){const m=n[w],l=r[m],u=a[m],d=l(u,s);if(typeof d=="undefined")throw s&&s.type,new Error(se(14));f[m]=d,c=c||d!==u}return c=c||n.length!==Object.keys(a).length,c?f:a}}function Jr(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function Wl(...e){return t=>(r,n)=>{const i=t(r,n);let o=()=>{throw new Error(se(15))};const a={getState:i.getState,dispatch:(c,...f)=>o(c,...f)},s=e.map(c=>c(a));return o=Jr(...s)(i.dispatch),J(N({},i),{dispatch:o})}}function Vs(e){return ze(e)&&"type"in e&&typeof e.type=="string"}var Ki=Symbol.for("immer-nothing"),Qt=Symbol.for("immer-draftable"),we=Symbol.for("immer-state");function le(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var lt=Object.getPrototypeOf;function Fe(e){return!!e&&!!e[we]}function Ne(e){var t;return e?Qs(e)||Array.isArray(e)||!!e[Qt]||!!((t=e.constructor)!=null&&t[Qt])||pr(e)||hr(e):!1}var ql=Object.prototype.constructor.toString();function Qs(e){if(!e||typeof e!="object")return!1;const t=lt(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)===ql}function Vl(e){return Fe(e)||le(15,e),e[we].base_}function rr(e,t){dt(e)===0?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function dt(e){const t=e[we];return t?t.type_:Array.isArray(e)?1:pr(e)?2:hr(e)?3:0}function nr(e,t){return dt(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function jn(e,t){return dt(e)===2?e.get(t):e[t]}function Js(e,t,r){const n=dt(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function Ql(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function pr(e){return e instanceof Map}function hr(e){return e instanceof Set}function at(e){return e.copy_||e.base_}function fi(e,t){if(pr(e))return new Map(e);if(hr(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&Qs(e))return lt(e)?N({},e):Object.assign(Object.create(null),e);const r=Object.getOwnPropertyDescriptors(e);delete r[we];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(lt(e),r)}function Yi(e,t=!1){return Sn(e)||Fe(e)||!Ne(e)||(dt(e)>1&&(e.set=e.add=e.clear=e.delete=Jl),Object.freeze(e),t&&Object.entries(e).forEach(([r,n])=>Yi(n,!0))),e}function Jl(){le(2)}function Sn(e){return Object.isFrozen(e)}var pi={};function ft(e){const t=pi[e];return t||le(0,e),t}function Kl(e,t){pi[e]||(pi[e]=t)}var ir;function Ks(){return ir}function Yl(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function ea(e,t){t&&(ft("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function hi(e){mi(e),e.drafts_.forEach(Gl),e.drafts_=null}function mi(e){e===ir&&(ir=e.parent_)}function ta(e){return ir=Yl(ir,e)}function Gl(e){const t=e[we];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function ra(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[we].modified_&&(hi(t),le(4)),Ne(e)&&(e=Kr(t,e),t.parent_||Yr(t,e)),t.patches_&&ft("Patches").generateReplacementPatches_(r[we].base_,e,t.patches_,t.inversePatches_)):e=Kr(t,r,[]),hi(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Ki?e:void 0}function Kr(e,t,r){if(Sn(t))return t;const n=t[we];if(!n)return rr(t,(i,o)=>na(e,n,t,i,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return Yr(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const i=n.copy_;let o=i,a=!1;n.type_===3&&(o=new Set(i),i.clear(),a=!0),rr(o,(s,c)=>na(e,n,i,s,c,r,a)),Yr(e,i,!1),r&&e.patches_&&ft("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function na(e,t,r,n,i,o,a){if(Fe(i)){const s=o&&t&&t.type_!==3&&!nr(t.assigned_,n)?o.concat(n):void 0,c=Kr(e,i,s);if(Js(r,n,c),Fe(c))e.canAutoFreeze_=!1;else return}else a&&r.add(i);if(Ne(i)&&!Sn(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Kr(e,i),(!t||!t.scope_.parent_)&&typeof n!="symbol"&&Object.prototype.propertyIsEnumerable.call(r,n)&&Yr(e,i)}}function Yr(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Yi(t,r)}function Zl(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:Ks(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=n,o=Gi;r&&(i=[n],o=or);const{revoke:a,proxy:s}=Proxy.revocable(i,o);return n.draft_=s,n.revoke_=a,s}var Gi={get(e,t){if(t===we)return e;const r=at(e);if(!nr(r,t))return Xl(e,r,t);const n=r[t];return e.finalized_||!Ne(n)?n:n===Hn(e.base_,t)?(Wn(e),e.copy_[t]=yi(n,e)):n},has(e,t){return t in at(e)},ownKeys(e){return Reflect.ownKeys(at(e))},set(e,t,r){const n=Ys(at(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const i=Hn(at(e),t),o=i==null?void 0:i[we];if(o&&o.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(Ql(r,i)&&(r!==void 0||nr(e.base_,t)))return!0;Wn(e),gi(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),gi(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=at(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){le(11)},getPrototypeOf(e){return lt(e.base_)},setPrototypeOf(){le(12)}},or={};rr(Gi,(e,t)=>{or[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});or.deleteProperty=function(e,t){return or.set.call(this,e,t,void 0)};or.set=function(e,t,r){return Gi.set.call(this,e[0],t,r,e[0])};function Hn(e,t){const r=e[we];return(r?at(r):e)[t]}function Xl(e,t,r){var i;const n=Ys(t,r);return n?"value"in n?n.value:(i=n.get)==null?void 0:i.call(e.draft_):void 0}function Ys(e,t){if(!(t in e))return;let r=lt(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=lt(r)}}function gi(e){e.modified_||(e.modified_=!0,e.parent_&&gi(e.parent_))}function Wn(e){e.copy_||(e.copy_=fi(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var ed=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,...f){return a.produce(c,w=>r.call(this,w,...f))}}typeof r!="function"&&le(6),n!==void 0&&typeof n!="function"&&le(7);let i;if(Ne(t)){const o=ta(this),a=yi(t,void 0);let s=!0;try{i=r(a),s=!1}finally{s?hi(o):mi(o)}return ea(o,n),ra(i,o)}else if(!t||typeof t!="object"){if(i=r(t),i===void 0&&(i=t),i===Ki&&(i=void 0),this.autoFreeze_&&Yi(i,!0),n){const o=[],a=[];ft("Patches").generateReplacementPatches_(t,i,o,a),n(o,a)}return i}else le(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){Ne(e)||le(8),Fe(e)&&(e=Gs(e));const t=ta(this),r=yi(e,void 0);return r[we].isManual_=!0,mi(t),r}finishDraft(e,t){const r=e&&e[we];(!r||!r.isManual_)&&le(9);const{scope_:n}=r;return ea(n,t),ra(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=ft("Patches").applyPatches_;return Fe(e)?n(e,t):this.produce(e,i=>n(i,t))}};function yi(e,t){const r=pr(e)?ft("MapSet").proxyMap_(e,t):hr(e)?ft("MapSet").proxySet_(e,t):Zl(e,t);return(t?t.scope_:Ks()).drafts_.push(r),r}function Gs(e){return Fe(e)||le(10,e),Zs(e)}function Zs(e){if(!Ne(e)||Sn(e))return e;const t=e[we];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=fi(e,t.scope_.immer_.useStrictShallowCopy_)}else r=fi(e,!0);return rr(r,(n,i)=>{Js(r,n,Zs(i))}),t&&(t.finalized_=!1),r}function td(){const t="replace",r="add",n="remove";function i(l,u,d,p){switch(l.type_){case 0:case 2:return a(l,u,d,p);case 1:return o(l,u,d,p);case 3:return s(l,u,d,p)}}function o(l,u,d,p){let{base_:h,assigned_:v}=l,_=l.copy_;_.length<h.length&&([h,_]=[_,h],[d,p]=[p,d]);for(let g=0;g<h.length;g++)if(v[g]&&_[g]!==h[g]){const b=u.concat([g]);d.push({op:t,path:b,value:m(_[g])}),p.push({op:t,path:b,value:m(h[g])})}for(let g=h.length;g<_.length;g++){const b=u.concat([g]);d.push({op:r,path:b,value:m(_[g])})}for(let g=_.length-1;h.length<=g;--g){const b=u.concat([g]);p.push({op:n,path:b})}}function a(l,u,d,p){const{base_:h,copy_:v}=l;rr(l.assigned_,(_,g)=>{const b=jn(h,_),S=jn(v,_),k=g?nr(h,_)?t:r:n;if(b===S&&k===t)return;const C=u.concat(_);d.push(k===n?{op:k,path:C}:{op:k,path:C,value:S}),p.push(k===r?{op:n,path:C}:k===n?{op:r,path:C,value:m(b)}:{op:t,path:C,value:m(b)})})}function s(l,u,d,p){let{base_:h,copy_:v}=l,_=0;h.forEach(g=>{if(!v.has(g)){const b=u.concat([_]);d.push({op:n,path:b,value:g}),p.unshift({op:r,path:b,value:g})}_++}),_=0,v.forEach(g=>{if(!h.has(g)){const b=u.concat([_]);d.push({op:r,path:b,value:g}),p.unshift({op:n,path:b,value:g})}_++})}function c(l,u,d,p){d.push({op:t,path:[],value:u===Ki?void 0:u}),p.push({op:t,path:[],value:l})}function f(l,u){return u.forEach(d=>{const{path:p,op:h}=d;let v=l;for(let S=0;S<p.length-1;S++){const k=dt(v);let C=p[S];typeof C!="string"&&typeof C!="number"&&(C=""+C),(k===0||k===1)&&(C==="__proto__"||C==="constructor")&&le(19),typeof v=="function"&&C==="prototype"&&le(19),v=jn(v,C),typeof v!="object"&&le(18,p.join("/"))}const _=dt(v),g=w(d.value),b=p[p.length-1];switch(h){case t:switch(_){case 2:return v.set(b,g);case 3:le(16);default:return v[b]=g}case r:switch(_){case 1:return b==="-"?v.push(g):v.splice(b,0,g);case 2:return v.set(b,g);case 3:return v.add(g);default:return v[b]=g}case n:switch(_){case 1:return v.splice(b,1);case 2:return v.delete(b);case 3:return v.delete(d.value);default:return delete v[b]}default:le(17,h)}}),l}function w(l){if(!Ne(l))return l;if(Array.isArray(l))return l.map(w);if(pr(l))return new Map(Array.from(l.entries()).map(([d,p])=>[d,w(p)]));if(hr(l))return new Set(Array.from(l).map(w));const u=Object.create(lt(l));for(const d in l)u[d]=w(l[d]);return nr(l,Qt)&&(u[Qt]=l[Qt]),u}function m(l){return Fe(l)?w(l):l}Kl("Patches",{applyPatches_:f,generatePatches_:i,generateReplacementPatches_:c})}var ke=new ed,mr=ke.produce,Xs=ke.produceWithPatches.bind(ke);ke.setAutoFreeze.bind(ke);ke.setUseStrictShallowCopy.bind(ke);var ia=ke.applyPatches.bind(ke);ke.createDraft.bind(ke);ke.finishDraft.bind(ke);function rd(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function nd(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function id(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(r=>typeof r=="function")){const r=e.map(n=>typeof n=="function"?`function ${n.name||"unnamed"}()`:typeof n).join(", ");throw new TypeError(`${t}[${r}]`)}}var oa=e=>Array.isArray(e)?e:[e];function od(e){const t=Array.isArray(e[0])?e[0]:e;return id(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function ad(e,t){const r=[],{length:n}=e;for(let i=0;i<n;i++)r.push(e[i].apply(null,t));return r}var sd=class{constructor(e){this.value=e}deref(){return this.value}},cd=typeof WeakRef!="undefined"?WeakRef:sd,ud=0,aa=1;function Er(){return{s:ud,v:void 0,o:null,p:null}}function ar(e,t={}){let r=Er();const{resultEqualityCheck:n}=t;let i,o=0;function a(){var m,l;let s=r;const{length:c}=arguments;for(let u=0,d=c;u<d;u++){const p=arguments[u];if(typeof p=="function"||typeof p=="object"&&p!==null){let h=s.o;h===null&&(s.o=h=new WeakMap);const v=h.get(p);v===void 0?(s=Er(),h.set(p,s)):s=v}else{let h=s.p;h===null&&(s.p=h=new Map);const v=h.get(p);v===void 0?(s=Er(),h.set(p,s)):s=v}}const f=s;let w;if(s.s===aa?w=s.v:(w=e.apply(null,arguments),o++),f.s=aa,n){const u=(l=(m=i==null?void 0:i.deref)==null?void 0:m.call(i))!=null?l:i;u!=null&&n(u,w)&&(w=u,o!==0&&o--),i=typeof w=="object"&&w!==null||typeof w=="function"?new cd(w):w}return f.v=w,w}return a.clearCache=()=>{r=Er(),a.resetResultsCount()},a.resultsCount=()=>o,a.resetResultsCount=()=>{o=0},a}function ec(e,...t){const r=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,n=(...i)=>{let o=0,a=0,s,c={},f=i.pop();typeof f=="object"&&(c=f,f=i.pop()),rd(f,`createSelector expects an output function after the inputs, but received: [${typeof f}]`);const w=N(N({},r),c),{memoize:m,memoizeOptions:l=[],argsMemoize:u=ar,argsMemoizeOptions:d=[],devModeChecks:p={}}=w,h=oa(l),v=oa(d),_=od(i),g=m(function(){return o++,f.apply(null,arguments)},...h),b=u(function(){a++;const k=ad(_,arguments);return s=g.apply(null,k),s},...v);return Object.assign(b,{resultFunc:f,memoizedResultFunc:g,dependencies:_,dependencyRecomputations:()=>a,resetDependencyRecomputations:()=>{a=0},lastResult:()=>s,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:m,argsMemoize:u})};return Object.assign(n,{withTypes:()=>n}),n}var Ct=ec(ar),ld=Object.assign((e,t=Ct)=>{nd(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:()=>ld});function tc(e){return({dispatch:r,getState:n})=>i=>o=>typeof o=="function"?o(r,n,e):i(o)}var dd=tc(),fd=tc,pd=(...e)=>{const t=ec(...e);return(...r)=>{const n=t(...r),i=(o,...a)=>n(Fe(o)?Gs(o):o,...a);return Object.assign(i,n),i}};pd(ar);var hd=typeof window!="undefined"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Jr:Jr.apply(null,arguments)},md=e=>e&&typeof e.match=="function";function ge(e,t){function r(...n){if(t){let i=t(...n);if(!i)throw new Error(Ee(0));return N(N({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=>Vs(n)&&n.type===e,r}var rc=class jt extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,jt.prototype)}static get[Symbol.species](){return jt}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new jt(...t[0].concat(this)):new jt(...t.concat(this))}};function sa(e){return Ne(e)?mr(e,()=>{}):e}function ca(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(Ee(10));const n=r.insert(t,e);return e.set(t,n),n}function gd(e){return typeof e=="boolean"}var yd=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t!=null?t:{};let a=new rc;return r&&(gd(r)?a.push(dd):a.push(fd(r.extraArgument))),a},_t="RTK_autoBatch",Ut=()=>e=>({payload:e,meta:{[_t]:!0}}),nc=e=>t=>{setTimeout(t,e)},wd=typeof window!="undefined"&&window.requestAnimationFrame?window.requestAnimationFrame:nc(10),vd=(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"?wd:e.type==="callback"?e.queueNotification:nc(e.timeout),f=()=>{a=!1,o&&(o=!1,s.forEach(w=>w()))};return Object.assign({},n,{subscribe(w){const m=()=>i&&w(),l=n.subscribe(m);return s.add(w),()=>{l(),s.delete(w)}},dispatch(w){var m;try{return i=!((m=w==null?void 0:w.meta)!=null&&m[_t]),o=!i,o&&(a||(a=!0,c(f))),n.dispatch(w)}finally{i=!0}}})},bd=e=>function(r){const{autoBatch:n=!0}=r!=null?r:{};let i=new rc(e);return n&&i.push(vd(typeof n=="object"?n:void 0)),i},_d=!0;function Sd(e){const t=yd(),{reducer:r=void 0,middleware:n,devTools:i=!0,preloadedState:o=void 0,enhancers:a=void 0}=e||{};let s;if(typeof r=="function")s=r;else if(ze(r))s=qs(r);else throw new Error(Ee(1));let c;typeof n=="function"?c=n(t):c=t();let f=Jr;i&&(f=hd(N({trace:!_d},typeof i=="object"&&i)));const w=Wl(...c),m=bd(w);let l=typeof a=="function"?a(m):m();const u=f(...l);return Ws(s,o,u)}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(Ee(28));if(s in t)throw new Error(Ee(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 Cd(e){return typeof e=="function"}function kd(e,t){let[r,n,i]=ic(t),o;if(Cd(e))o=()=>sa(e());else{const s=sa(e);o=()=>s}function a(s=o(),c){let f=[r[c.type],...n.filter(({matcher:w})=>w(c)).map(({reducer:w})=>w)];return f.filter(w=>!!w).length===0&&(f=[i]),f.reduce((w,m)=>{if(m)if(Fe(w)){const u=m(w,c);return u===void 0?w:u}else{if(Ne(w))return mr(w,l=>m(l,c));{const l=m(w,c);if(l===void 0){if(w===null)return w;throw new Error(Ee(9))}return l}}return w},s)}return a.getInitialState=o,a}var xd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",oc=(e=21)=>{let t="",r=e;for(;r--;)t+=xd[Math.random()*64|0];return t},ac=(e,t)=>md(e)?e.match(t):e(t);function tt(...e){return t=>e.some(r=>ac(r,t))}function Jt(...e){return t=>e.every(r=>ac(r,t))}function Cn(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 gr(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function Zi(...e){return e.length===0?t=>Cn(t,["pending"]):gr(e)?t=>{const r=e.map(i=>i.pending);return tt(...r)(t)}:Zi()(e[0])}function At(...e){return e.length===0?t=>Cn(t,["rejected"]):gr(e)?t=>{const r=e.map(i=>i.rejected);return tt(...r)(t)}:At()(e[0])}function kn(...e){const t=r=>r&&r.meta&&r.meta.rejectedWithValue;return e.length===0?r=>Jt(At(...e),t)(r):gr(e)?r=>Jt(At(...e),t)(r):kn()(e[0])}function rt(...e){return e.length===0?t=>Cn(t,["fulfilled"]):gr(e)?t=>{const r=e.map(i=>i.fulfilled);return tt(...r)(t)}:rt()(e[0])}function wi(...e){return e.length===0?t=>Cn(t,["pending","fulfilled","rejected"]):gr(e)?t=>{const r=[];for(const i of e)r.push(i.pending,i.rejected,i.fulfilled);return tt(...r)(t)}:wi()(e[0])}var Td=["name","message","stack","code"],qn=class{constructor(e,t){Bn(this,"_type");this.payload=e,this.meta=t}},ua=class{constructor(e,t){Bn(this,"_type");this.payload=e,this.meta=t}},Ed=e=>{if(typeof e=="object"&&e!==null){const t={};for(const r of Td)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},la=(()=>{function e(t,r,n){const i=ge(t+"/fulfilled",(c,f,w,m)=>({payload:c,meta:J(N({},m||{}),{arg:w,requestId:f,requestStatus:"fulfilled"})})),o=ge(t+"/pending",(c,f,w)=>({payload:void 0,meta:J(N({},w||{}),{arg:f,requestId:c,requestStatus:"pending"})})),a=ge(t+"/rejected",(c,f,w,m,l)=>({payload:m,error:(n&&n.serializeError||Ed)(c||"Rejected"),meta:J(N({},l||{}),{arg:w,requestId:f,rejectedWithValue:!!m,requestStatus:"rejected",aborted:(c==null?void 0:c.name)==="AbortError",condition:(c==null?void 0:c.name)==="ConditionError"})}));function s(c){return(f,w,m)=>{const l=n!=null&&n.idGenerator?n.idGenerator(c):oc(),u=new AbortController;let d;function p(v){d=v,u.abort()}const h=function(){return me(this,null,function*(){var g,b;let v;try{let S=(g=n==null?void 0:n.condition)==null?void 0:g.call(n,c,{getState:w,extra:m});if(Rd(S)&&(S=yield S),S===!1||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const k=new Promise((C,x)=>u.signal.addEventListener("abort",()=>x({name:"AbortError",message:d||"Aborted"})));f(o(l,c,(b=n==null?void 0:n.getPendingMeta)==null?void 0:b.call(n,{requestId:l,arg:c},{getState:w,extra:m}))),v=yield Promise.race([k,Promise.resolve(r(c,{dispatch:f,getState:w,extra:m,requestId:l,signal:u.signal,abort:p,rejectWithValue:(C,x)=>new qn(C,x),fulfillWithValue:(C,x)=>new ua(C,x)})).then(C=>{if(C instanceof qn)throw C;return C instanceof ua?i(C.payload,l,c,C.meta):i(C,l,c)})])}catch(S){v=S instanceof qn?a(null,l,c,S.payload,S.meta):a(S,l,c)}return n&&!n.dispatchConditionRejection&&a.match(v)&&v.meta.condition||f(v),v})}();return Object.assign(h,{abort:p,requestId:l,arg:c,unwrap(){return h.then(Ad)}})}}return Object.assign(s,{pending:o,rejected:a,fulfilled:i,settled:tt(a,i),typePrefix:t})}return e.withTypes=()=>e,e})();function Ad(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Rd(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Pd=Symbol.for("rtk-slice-createasyncthunk");function Id(e,t){return`${e}/${t}`}function Md({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[Pd];return function(i){const{name:o,reducerPath:a=o}=i;if(!o)throw new Error(Ee(11));const s=(typeof i.reducers=="function"?i.reducers(Nd()):i.reducers)||{},c=Object.keys(s),f={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},w={addCase(h,v){const _=typeof h=="string"?h:h.type;if(!_)throw new Error(Ee(12));if(_ in f.sliceCaseReducersByType)throw new Error(Ee(13));return f.sliceCaseReducersByType[_]=v,w},addMatcher(h,v){return f.sliceMatchers.push({matcher:h,reducer:v}),w},exposeAction(h,v){return f.actionCreators[h]=v,w},exposeCaseReducer(h,v){return f.sliceCaseReducersByName[h]=v,w}};c.forEach(h=>{const v=s[h],_={reducerName:h,type:Id(o,h),createNotation:typeof i.reducers=="function"};Od(v)?Ld(_,v,w,t):Dd(_,v,w)});function m(){const[h={},v=[],_=void 0]=typeof i.extraReducers=="function"?ic(i.extraReducers):[i.extraReducers],g=N(N({},h),f.sliceCaseReducersByType);return kd(i.initialState,b=>{for(let S in g)b.addCase(S,g[S]);for(let S of f.sliceMatchers)b.addMatcher(S.matcher,S.reducer);for(let S of v)b.addMatcher(S.matcher,S.reducer);_&&b.addDefaultCase(_)})}const l=h=>h,u=new WeakMap;let d;const p={name:o,reducerPath:a,reducer(h,v){return d||(d=m()),d(h,v)},actions:f.actionCreators,caseReducers:f.sliceCaseReducersByName,getInitialState(){return d||(d=m()),d.getInitialState()},getSelectors(h=l){const v=ca(u,this,{insert:()=>new WeakMap});return ca(v,h,{insert:()=>{var g;const _={};for(const[b,S]of Object.entries((g=i.selectors)!=null?g:{}))_[b]=Fd(this,S,h,this!==p);return _}})},selectSlice(h){let v=h[this.reducerPath];return typeof v=="undefined"&&this!==p&&(v=this.getInitialState()),v},get selectors(){return this.getSelectors(this.selectSlice)},injectInto(h,g={}){var b=g,{reducerPath:v}=b,_=We(b,["reducerPath"]);const S=v!=null?v:this.reducerPath;return h.inject({reducerPath:S,reducer:this.reducer},_),J(N({},this),{reducerPath:S})}};return p}}function Fd(e,t,r,n){function i(o,...a){let s=r.call(e,o);return typeof s=="undefined"&&n&&(s=e.getInitialState()),t(s,...a)}return i.unwrapped=t,i}var Ve=Md();function Nd(){function e(t,r){return N({_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 Dd({type:e,reducerName:t,createNotation:r},n,i){let o,a;if("reducer"in n){if(r&&!Bd(n))throw new Error(Ee(17));o=n.reducer,a=n.prepare}else o=n;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,a?ge(e,a):ge(e))}function Od(e){return e._reducerDefinitionType==="asyncThunk"}function Bd(e){return e._reducerDefinitionType==="reducerWithPrepare"}function Ld({type:e,reducerName:t},r,n,i){if(!i)throw new Error(Ee(18));const{payloadCreator:o,fulfilled:a,pending:s,rejected:c,settled:f,options:w}=r,m=i(e,o,w);n.exposeAction(t,m),a&&n.addCase(m.fulfilled,a),s&&n.addCase(m.pending,s),c&&n.addCase(m.rejected,c),f&&n.addMatcher(m.settled,f),n.exposeCaseReducer(t,{fulfilled:a||Ar,pending:s||Ar,rejected:c||Ar,settled:f||Ar})}function Ar(){}var Xi="listenerMiddleware";ge(`${Xi}/add`);ge(`${Xi}/removeAll`);ge(`${Xi}/remove`);function Ee(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 sc=(e=>(e.uninitialized="uninitialized",e.pending="pending",e.fulfilled="fulfilled",e.rejected="rejected",e))(sc||{});function $d(e){return{status:e,isUninitialized:e==="uninitialized",isLoading:e==="pending",isSuccess:e==="fulfilled",isError:e==="rejected"}}function Ud(e){return new RegExp("(^|:)//").test(e)}var zd=e=>e.replace(/\/$/,""),jd=e=>e.replace(/^\//,"");function Hd(e,t){if(!e)return t;if(!t)return e;if(Ud(t))return t;const r=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=zd(e),t=jd(t),`${e}${r}${t}`}var da=e=>[].concat(...e);function Wd(){return typeof navigator=="undefined"||navigator.onLine===void 0?!0:navigator.onLine}function qd(){return typeof document=="undefined"?!0:document.visibilityState!=="hidden"}var fa=ze;function cc(e,t){if(e===t||!(fa(e)&&fa(t)||Array.isArray(e)&&Array.isArray(t)))return t;const r=Object.keys(t),n=Object.keys(e);let i=r.length===n.length;const o=Array.isArray(t)?[]:{};for(const a of r)o[a]=cc(e[a],t[a]),i&&(i=e[a]===o[a]);return i?e:o}var pa=(...e)=>fetch(...e),Vd=e=>e.status>=200&&e.status<=299,Qd=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function ha(e){if(!ze(e))return e;const t=N({},e);for(const[r,n]of Object.entries(t))n===void 0&&delete t[r];return t}function Jd(m={}){var l=m,{baseUrl:e,prepareHeaders:t=u=>u,fetchFn:r=pa,paramsSerializer:n,isJsonContentType:i=Qd,jsonContentType:o="application/json",jsonReplacer:a,timeout:s,responseHandler:c,validateStatus:f}=l,w=We(l,["baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","jsonContentType","jsonReplacer","timeout","responseHandler","validateStatus"]);return typeof fetch=="undefined"&&r===pa&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),(d,p)=>me(this,null,function*(){const{signal:h,getState:v,extra:_,endpoint:g,forced:b,type:S}=p;let k,Ot=typeof d=="string"?{url:d}:d,{url:C,headers:x=new Headers(w.headers),params:T=void 0,responseHandler:E=c!=null?c:"json",validateStatus:R=f!=null?f:Vd,timeout:I=s}=Ot,P=We(Ot,["url","headers","params","responseHandler","validateStatus","timeout"]),M=N(J(N({},w),{signal:h}),P);x=new Headers(ha(x)),M.headers=(yield t(x,{getState:v,extra:_,endpoint:g,forced:b,type:S}))||x;const $=oe=>typeof oe=="object"&&(ze(oe)||Array.isArray(oe)||typeof oe.toJSON=="function");if(!M.headers.has("content-type")&&$(M.body)&&M.headers.set("content-type",o),$(M.body)&&i(M.headers)&&(M.body=JSON.stringify(M.body,a)),T){const oe=~C.indexOf("?")?"&":"?",Pe=n?n(T):new URLSearchParams(ha(T));C+=oe+Pe}C=Hd(e,C);const G=new Request(C,M);k={request:new Request(C,M)};let L,ne=!1,ee=I&&setTimeout(()=>{ne=!0,p.abort()},I);try{L=yield r(G)}catch(oe){return{error:{status:ne?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(oe)},meta:k}}finally{ee&&clearTimeout(ee)}const fe=L.clone();k.response=fe;let He,ie="";try{let oe;if(yield Promise.all([u(L,E).then(Pe=>He=Pe,Pe=>oe=Pe),fe.text().then(Pe=>ie=Pe,()=>{})]),oe)throw oe}catch(oe){return{error:{status:"PARSING_ERROR",originalStatus:L.status,data:ie,error:String(oe)},meta:k}}return R(L,He)?{data:He,meta:k}:{error:{status:L.status,data:He},meta:k}});function u(d,p){return me(this,null,function*(){if(typeof p=="function")return p(d);if(p==="content-type"&&(p=i(d.headers)?"json":"text"),p==="json"){const h=yield d.text();return h.length?JSON.parse(h):null}return d.text()})}}var ma=class{constructor(e,t=void 0){this.value=e,this.meta=t}},eo=ge("__rtkq/focused"),uc=ge("__rtkq/unfocused"),to=ge("__rtkq/online"),lc=ge("__rtkq/offline");function dc(e){return e.type==="query"}function Kd(e){return e.type==="mutation"}function ro(e,t,r,n,i,o){return Yd(e)?e(t,r,n,i).map(vi).map(o):Array.isArray(e)?e.map(vi).map(o):[]}function Yd(e){return typeof e=="function"}function vi(e){return typeof e=="string"?{type:e}:e}function ga(e){return e!=null}function kt(e){let t=0;for(const r in e)t++;return t}var sr=Symbol("forceQueryFn"),bi=e=>typeof e[sr]=="function";function Gd({serializeQueryArgs:e,queryThunk:t,mutationThunk:r,api:n,context:i}){const o=new Map,a=new Map,{unsubscribeQueryResult:s,removeMutationResult:c,updateSubscriptionOptions:f}=n.internalActions;return{buildInitiateQuery:d,buildInitiateMutation:p,getRunningQueryThunk:w,getRunningMutationThunk:m,getRunningQueriesThunk:l,getRunningMutationsThunk:u};function w(h,v){return _=>{var S;const g=i.endpointDefinitions[h],b=e({queryArgs:v,endpointDefinition:g,endpointName:h});return(S=o.get(_))==null?void 0:S[b]}}function m(h,v){return _=>{var g;return(g=a.get(_))==null?void 0:g[v]}}function l(){return h=>Object.values(o.get(h)||{}).filter(ga)}function u(){return h=>Object.values(a.get(h)||{}).filter(ga)}function d(h,v){const _=(g,{subscribe:b=!0,forceRefetch:S,subscriptionOptions:k,[sr]:C}={})=>(x,T)=>{var fe;const E=e({queryArgs:g,endpointDefinition:v,endpointName:h}),R=t({type:"query",subscribe:b,forceRefetch:S,subscriptionOptions:k,endpointName:h,originalArgs:g,queryCacheKey:E,[sr]:C}),I=n.endpoints[h].select(g),P=x(R),M=I(T()),{requestId:$,abort:G}=P,z=M.requestId!==$,L=(fe=o.get(x))==null?void 0:fe[E],ne=()=>I(T()),ee=Object.assign(C?P.then(ne):z&&!L?Promise.resolve(M):Promise.all([L,P]).then(ne),{arg:g,requestId:$,subscriptionOptions:k,queryCacheKey:E,abort:G,unwrap(){return me(this,null,function*(){const ie=yield ee;if(ie.isError)throw ie.error;return ie.data})},refetch:()=>x(_(g,{subscribe:!1,forceRefetch:!0})),unsubscribe(){b&&x(s({queryCacheKey:E,requestId:$}))},updateSubscriptionOptions(ie){ee.subscriptionOptions=ie,x(f({endpointName:h,requestId:$,queryCacheKey:E,options:ie}))}});if(!L&&!z&&!C){const ie=o.get(x)||{};ie[E]=ee,o.set(x,ie),ee.then(()=>{delete ie[E],kt(ie)||o.delete(x)})}return ee};return _}function p(h){return(v,{track:_=!0,fixedCacheKey:g}={})=>(b,S)=>{const k=r({type:"mutation",endpointName:h,originalArgs:v,track:_,fixedCacheKey:g}),C=b(k),{requestId:x,abort:T,unwrap:E}=C,R=C.unwrap().then($=>({data:$})).catch($=>({error:$})),I=()=>{b(c({requestId:x,fixedCacheKey:g}))},P=Object.assign(R,{arg:C.arg,requestId:x,abort:T,unwrap:E,reset:I}),M=a.get(b)||{};return a.set(b,M),M[x]=P,P.then(()=>{delete M[x],kt(M)||a.delete(b)}),g&&(M[g]=P,P.then(()=>{M[g]===P&&(delete M[g],kt(M)||a.delete(b))})),P}}}function ya(e){return e}function Zd({reducerPath:e,baseQuery:t,context:{endpointDefinitions:r},serializeQueryArgs:n,api:i,assertTagType:o}){const a=(_,g,b,S)=>(k,C)=>{const x=r[_],T=n({queryArgs:g,endpointDefinition:x,endpointName:_});if(k(i.internalActions.queryResultPatched({queryCacheKey:T,patches:b})),!S)return;const E=i.endpoints[_].select(g)(C()),R=ro(x.providesTags,E.data,void 0,g,{},o);k(i.internalActions.updateProvidedBy({queryCacheKey:T,providedTags:R}))},s=(_,g,b,S=!0)=>(k,C)=>{const T=i.endpoints[_].select(g)(C());let E={patches:[],inversePatches:[],undo:()=>k(i.util.patchQueryData(_,g,E.inversePatches,S))};if(T.status==="uninitialized")return E;let R;if("data"in T)if(Ne(T.data)){const[I,P,M]=Xs(T.data,b);E.patches.push(...P),E.inversePatches.push(...M),R=I}else R=b(T.data),E.patches.push({op:"replace",path:[],value:R}),E.inversePatches.push({op:"replace",path:[],value:T.data});return k(i.util.patchQueryData(_,g,E.patches,S)),E},c=(_,g,b)=>S=>S(i.endpoints[_].initiate(g,{subscribe:!1,forceRefetch:!0,[sr]:()=>({data:b})})),f=(E,R)=>me(this,[E,R],function*(_,{signal:g,abort:b,rejectWithValue:S,fulfillWithValue:k,dispatch:C,getState:x,extra:T}){const I=r[_.endpointName];try{let P=ya,M;const $={signal:g,abort:b,dispatch:C,getState:x,extra:T,endpoint:_.endpointName,type:_.type,forced:_.type==="query"?w(_,x()):void 0},G=_.type==="query"?_[sr]:void 0;if(G?M=G():I.query?(M=yield t(I.query(_.originalArgs),$,I.extraOptions),I.transformResponse&&(P=I.transformResponse)):M=yield I.queryFn(_.originalArgs,$,I.extraOptions,z=>t(z,$,I.extraOptions)),M.error)throw new ma(M.error,M.meta);return k(yield P(M.data,M.meta,_.originalArgs),{fulfilledTimeStamp:Date.now(),baseQueryMeta:M.meta,[_t]:!0})}catch(P){let M=P;if(M instanceof ma){let $=ya;I.query&&I.transformErrorResponse&&($=I.transformErrorResponse);try{return S(yield $(M.value,M.meta,_.originalArgs),{baseQueryMeta:M.meta,[_t]:!0})}catch(G){M=G}}throw console.error(M),M}});function w(_,g){var x,T,E,R;const b=(T=(x=g[e])==null?void 0:x.queries)==null?void 0:T[_.queryCacheKey],S=(E=g[e])==null?void 0:E.config.refetchOnMountOrArgChange,k=b==null?void 0:b.fulfilledTimeStamp,C=(R=_.forceRefetch)!=null?R:_.subscribe&&S;return C?C===!0||(Number(new Date)-Number(k))/1e3>=C:!1}const m=la(`${e}/executeQuery`,f,{getPendingMeta(){return{startedTimeStamp:Date.now(),[_t]:!0}},condition(_,{getState:g}){var E,R,I;const b=g(),S=(R=(E=b[e])==null?void 0:E.queries)==null?void 0:R[_.queryCacheKey],k=S==null?void 0:S.fulfilledTimeStamp,C=_.originalArgs,x=S==null?void 0:S.originalArgs,T=r[_.endpointName];return bi(_)?!0:(S==null?void 0:S.status)==="pending"?!1:w(_,b)||dc(T)&&((I=T==null?void 0:T.forceRefetch)!=null&&I.call(T,{currentArg:C,previousArg:x,endpointState:S,state:b}))?!0:!k},dispatchConditionRejection:!0}),l=la(`${e}/executeMutation`,f,{getPendingMeta(){return{startedTimeStamp:Date.now(),[_t]:!0}}}),u=_=>"force"in _,d=_=>"ifOlderThan"in _,p=(_,g,b)=>(S,k)=>{const C=u(b)&&b.force,x=d(b)&&b.ifOlderThan,T=(R=!0)=>i.endpoints[_].initiate(g,{forceRefetch:R}),E=i.endpoints[_].select(g)(k());if(C)S(T());else if(x){const R=E==null?void 0:E.fulfilledTimeStamp;if(!R){S(T());return}(Number(new Date)-Number(new Date(R)))/1e3>=x&&S(T())}else S(T(!1))};function h(_){return g=>{var b,S;return((S=(b=g==null?void 0:g.meta)==null?void 0:b.arg)==null?void 0:S.endpointName)===_}}function v(_,g){return{matchPending:Jt(Zi(_),h(g)),matchFulfilled:Jt(rt(_),h(g)),matchRejected:Jt(At(_),h(g))}}return{queryThunk:m,mutationThunk:l,prefetch:p,updateQueryData:s,upsertQueryData:c,patchQueryData:a,buildMatchThunkActions:v}}function fc(e,t,r,n){return ro(r[e.meta.arg.endpointName][t],rt(e)?e.payload:void 0,kn(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,n)}function Rr(e,t,r){const n=e[t];n&&r(n)}function cr(e){var t;return(t="arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)!=null?t:e.requestId}function wa(e,t,r){const n=e[cr(t)];n&&r(n)}var zt={};function Xd({reducerPath:e,queryThunk:t,mutationThunk:r,context:{endpointDefinitions:n,apiUid:i,extractRehydrationInfo:o,hasRehydrationInfo:a},assertTagType:s,config:c}){const f=ge(`${e}/resetApiState`),w=Ve({name:`${e}/queries`,initialState:zt,reducers:{removeQueryResult:{reducer(g,{payload:{queryCacheKey:b}}){delete g[b]},prepare:Ut()},queryResultPatched:{reducer(g,{payload:{queryCacheKey:b,patches:S}}){Rr(g,b,k=>{k.data=ia(k.data,S.concat())})},prepare:Ut()}},extraReducers(g){g.addCase(t.pending,(b,{meta:S,meta:{arg:k}})=>{var x,T;const C=bi(k);(T=b[x=k.queryCacheKey])!=null||(b[x]={status:"uninitialized",endpointName:k.endpointName}),Rr(b,k.queryCacheKey,E=>{E.status="pending",E.requestId=C&&E.requestId?E.requestId:S.requestId,k.originalArgs!==void 0&&(E.originalArgs=k.originalArgs),E.startedTimeStamp=S.startedTimeStamp})}).addCase(t.fulfilled,(b,{meta:S,payload:k})=>{Rr(b,S.arg.queryCacheKey,C=>{var T;if(C.requestId!==S.requestId&&!bi(S.arg))return;const{merge:x}=n[S.arg.endpointName];if(C.status="fulfilled",x)if(C.data!==void 0){const{fulfilledTimeStamp:E,arg:R,baseQueryMeta:I,requestId:P}=S;let M=mr(C.data,$=>x($,k,{arg:R.originalArgs,baseQueryMeta:I,fulfilledTimeStamp:E,requestId:P}));C.data=M}else C.data=k;else C.data=(T=n[S.arg.endpointName].structuralSharing)==null||T?cc(Fe(C.data)?Vl(C.data):C.data,k):k;delete C.error,C.fulfilledTimeStamp=S.fulfilledTimeStamp})}).addCase(t.rejected,(b,{meta:{condition:S,arg:k,requestId:C},error:x,payload:T})=>{Rr(b,k.queryCacheKey,E=>{if(!S){if(E.requestId!==C)return;E.status="rejected",E.error=T!=null?T:x}})}).addMatcher(a,(b,S)=>{const{queries:k}=o(S);for(const[C,x]of Object.entries(k))((x==null?void 0:x.status)==="fulfilled"||(x==null?void 0:x.status)==="rejected")&&(b[C]=x)})}}),m=Ve({name:`${e}/mutations`,initialState:zt,reducers:{removeMutationResult:{reducer(g,{payload:b}){const S=cr(b);S in g&&delete g[S]},prepare:Ut()}},extraReducers(g){g.addCase(r.pending,(b,{meta:S,meta:{requestId:k,arg:C,startedTimeStamp:x}})=>{C.track&&(b[cr(S)]={requestId:k,status:"pending",endpointName:C.endpointName,startedTimeStamp:x})}).addCase(r.fulfilled,(b,{payload:S,meta:k})=>{k.arg.track&&wa(b,k,C=>{C.requestId===k.requestId&&(C.status="fulfilled",C.data=S,C.fulfilledTimeStamp=k.fulfilledTimeStamp)})}).addCase(r.rejected,(b,{payload:S,error:k,meta:C})=>{C.arg.track&&wa(b,C,x=>{x.requestId===C.requestId&&(x.status="rejected",x.error=S!=null?S:k)})}).addMatcher(a,(b,S)=>{const{mutations:k}=o(S);for(const[C,x]of Object.entries(k))((x==null?void 0:x.status)==="fulfilled"||(x==null?void 0:x.status)==="rejected")&&C!==(x==null?void 0:x.requestId)&&(b[C]=x)})}}),l=Ve({name:`${e}/invalidation`,initialState:zt,reducers:{updateProvidedBy:{reducer(g,b){var C,x,T,E;const{queryCacheKey:S,providedTags:k}=b.payload;for(const R of Object.values(g))for(const I of Object.values(R)){const P=I.indexOf(S);P!==-1&&I.splice(P,1)}for(const{type:R,id:I}of k){const P=(E=(x=(C=g[R])!=null?C:g[R]={})[T=I||"__internal_without_id"])!=null?E:x[T]=[];P.includes(S)||P.push(S)}},prepare:Ut()}},extraReducers(g){g.addCase(w.actions.removeQueryResult,(b,{payload:{queryCacheKey:S}})=>{for(const k of Object.values(b))for(const C of Object.values(k)){const x=C.indexOf(S);x!==-1&&C.splice(x,1)}}).addMatcher(a,(b,S)=>{var C,x,T,E;const{provided:k}=o(S);for(const[R,I]of Object.entries(k))for(const[P,M]of Object.entries(I)){const $=(E=(x=(C=b[R])!=null?C:b[R]={})[T=P||"__internal_without_id"])!=null?E:x[T]=[];for(const G of M)$.includes(G)||$.push(G)}}).addMatcher(tt(rt(t),kn(t)),(b,S)=>{const k=fc(S,"providesTags",n,s),{queryCacheKey:C}=S.meta.arg;l.caseReducers.updateProvidedBy(b,l.actions.updateProvidedBy({queryCacheKey:C,providedTags:k}))})}}),u=Ve({name:`${e}/subscriptions`,initialState:zt,reducers:{updateSubscriptionOptions(g,b){},unsubscribeQueryResult(g,b){},internal_getRTKQSubscriptions(){}}}),d=Ve({name:`${e}/internalSubscriptions`,initialState:zt,reducers:{subscriptionsUpdated:{reducer(g,b){return ia(g,b.payload)},prepare:Ut()}}}),p=Ve({name:`${e}/config`,initialState:N({online:Wd(),focused:qd(),middlewareRegistered:!1},c),reducers:{middlewareRegistered(g,{payload:b}){g.middlewareRegistered=g.middlewareRegistered==="conflict"||i!==b?"conflict":!0}},extraReducers:g=>{g.addCase(to,b=>{b.online=!0}).addCase(lc,b=>{b.online=!1}).addCase(eo,b=>{b.focused=!0}).addCase(uc,b=>{b.focused=!1}).addMatcher(a,b=>N({},b))}}),h=qs({queries:w.reducer,mutations:m.reducer,provided:l.reducer,subscriptions:d.reducer,config:p.reducer}),v=(g,b)=>h(f.match(b)?void 0:g,b),_=J(N(N(N(N(N(N({},p.actions),w.actions),u.actions),d.actions),m.actions),l.actions),{resetApiState:f});return{reducer:v,actions:_}}var ct=Symbol.for("RTKQ/skipToken"),pc={status:"uninitialized"},va=mr(pc,()=>{}),ba=mr(pc,()=>{});function ef({serializeQueryArgs:e,reducerPath:t}){const r=w=>va,n=w=>ba;return{buildQuerySelector:a,buildMutationSelector:s,selectInvalidatedBy:c,selectCachedArgsForQuery:f};function i(w){return N(N({},w),$d(w.status))}function o(w){return w[t]}function a(w,m){return l=>{const u=e({queryArgs:l,endpointDefinition:m,endpointName:w});return Ct(l===ct?r:h=>{var v,_,g;return(g=(_=(v=o(h))==null?void 0:v.queries)==null?void 0:_[u])!=null?g:va},i)}}function s(){return w=>{var d;let m;return typeof w=="object"?m=(d=cr(w))!=null?d:ct:m=w,Ct(m===ct?n:p=>{var h,v,_;return(_=(v=(h=o(p))==null?void 0:h.mutations)==null?void 0:v[m])!=null?_:ba},i)}}function c(w,m){var d;const l=w[t],u=new Set;for(const p of m.map(vi)){const h=l.provided[p.type];if(!h)continue;let v=(d=p.id!==void 0?h[p.id]:da(Object.values(h)))!=null?d:[];for(const _ of v)u.add(_)}return da(Array.from(u.values()).map(p=>{const h=l.queries[p];return h?[{queryCacheKey:p,endpointName:h.endpointName,originalArgs:h.originalArgs}]:[]}))}function f(w,m){return Object.values(w[t].queries).filter(l=>(l==null?void 0:l.endpointName)===m&&l.status!=="uninitialized").map(l=>l.originalArgs)}}var yt=WeakMap?new WeakMap:void 0,_a=({endpointName:e,queryArgs:t})=>{let r="";const n=yt==null?void 0:yt.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,a)=>ze(a)?Object.keys(a).sort().reduce((s,c)=>(s[c]=a[c],s),{}):a);ze(t)&&(yt==null||yt.set(t,i)),r=i}return`${e}(${r})`};function tf(...e){return function(r){const n=ar(f=>{var w,m;return(m=r.extractRehydrationInfo)==null?void 0:m.call(r,f,{reducerPath:(w=r.reducerPath)!=null?w:"api"})}),i=J(N({reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1,invalidationBehavior:"delayed"},r),{extractRehydrationInfo:n,serializeQueryArgs(f){let w=_a;if("serializeQueryArgs"in f.endpointDefinition){const m=f.endpointDefinition.serializeQueryArgs;w=l=>{const u=m(l);return typeof u=="string"?u:_a(J(N({},l),{queryArgs:u}))}}else r.serializeQueryArgs&&(w=r.serializeQueryArgs);return w(f)},tagTypes:[...r.tagTypes||[]]}),o={endpointDefinitions:{},batch(f){f()},apiUid:oc(),extractRehydrationInfo:n,hasRehydrationInfo:ar(f=>n(f)!=null)},a={injectEndpoints:c,enhanceEndpoints({addTagTypes:f,endpoints:w}){if(f)for(const m of f)i.tagTypes.includes(m)||i.tagTypes.push(m);if(w)for(const[m,l]of Object.entries(w))typeof l=="function"?l(o.endpointDefinitions[m]):Object.assign(o.endpointDefinitions[m]||{},l);return a}},s=e.map(f=>f.init(a,i,o));function c(f){const w=f.endpoints({query:m=>J(N({},m),{type:"query"}),mutation:m=>J(N({},m),{type:"mutation"})});for(const[m,l]of Object.entries(w))if(!(!f.overrideExisting&&m in o.endpointDefinitions)){o.endpointDefinitions[m]=l;for(const u of s)u.injectEndpoint(m,l)}return a}return a.injectEndpoints({endpoints:r.endpoints})}}function rf(e){for(let t in e)return!1;return!0}var nf=2147483647/1e3-1,of=({reducerPath:e,api:t,context:r,internalState:n})=>{const{removeQueryResult:i,unsubscribeQueryResult:o}=t.internalActions;function a(w){const m=n.currentSubscriptions[w];return!!m&&!rf(m)}const s={},c=(w,m,l)=>{var u;if(o.match(w)){const d=m.getState()[e],{queryCacheKey:p}=w.payload;f(p,(u=d.queries[p])==null?void 0:u.endpointName,m,d.config)}if(t.util.resetApiState.match(w))for(const[d,p]of Object.entries(s))p&&clearTimeout(p),delete s[d];if(r.hasRehydrationInfo(w)){const d=m.getState()[e],{queries:p}=r.extractRehydrationInfo(w);for(const[h,v]of Object.entries(p))f(h,v==null?void 0:v.endpointName,m,d.config)}};function f(w,m,l,u){var v;const d=r.endpointDefinitions[m],p=(v=d==null?void 0:d.keepUnusedDataFor)!=null?v:u.keepUnusedDataFor;if(p===1/0)return;const h=Math.max(0,Math.min(p,nf));if(!a(w)){const _=s[w];_&&clearTimeout(_),s[w]=setTimeout(()=>{a(w)||l.dispatch(i({queryCacheKey:w})),delete s[w]},h*1e3)}}return c},af=({reducerPath:e,context:t,context:{endpointDefinitions:r},mutationThunk:n,queryThunk:i,api:o,assertTagType:a,refetchQuery:s,internalState:c})=>{const{removeQueryResult:f}=o.internalActions,w=tt(rt(n),kn(n)),m=tt(rt(n,i),At(n,i));let l=[];const u=(h,v)=>{w(h)?p(fc(h,"invalidatesTags",r,a),v):m(h)?p([],v):o.util.invalidateTags.match(h)&&p(ro(h.payload,void 0,void 0,void 0,void 0,a),v)};function d(h){var v,_;for(const g in h.queries)if(((v=h.queries[g])==null?void 0:v.status)==="pending")return!0;for(const g in h.mutations)if(((_=h.mutations[g])==null?void 0:_.status)==="pending")return!0;return!1}function p(h,v){const _=v.getState(),g=_[e];if(l.push(...h),g.config.invalidationBehavior==="delayed"&&d(g))return;const b=l;if(l=[],b.length===0)return;const S=o.util.selectInvalidatedBy(_,b);t.batch(()=>{var C;const k=Array.from(S.values());for(const{queryCacheKey:x}of k){const T=g.queries[x],E=(C=c.currentSubscriptions[x])!=null?C:{};T&&(kt(E)===0?v.dispatch(f({queryCacheKey:x})):T.status!=="uninitialized"&&v.dispatch(s(T,x)))}})}return u},sf=({reducerPath:e,queryThunk:t,api:r,refetchQuery:n,internalState:i})=>{const o={},a=(l,u)=>{(r.internalActions.updateSubscriptionOptions.match(l)||r.internalActions.unsubscribeQueryResult.match(l))&&c(l.payload,u),(t.pending.match(l)||t.rejected.match(l)&&l.meta.condition)&&c(l.meta.arg,u),(t.fulfilled.match(l)||t.rejected.match(l)&&!l.meta.condition)&&s(l.meta.arg,u),r.util.resetApiState.match(l)&&w()};function s({queryCacheKey:l},u){const p=u.getState()[e].queries[l],h=i.currentSubscriptions[l];if(!p||p.status==="uninitialized")return;const v=m(h);if(!Number.isFinite(v))return;const _=o[l];_!=null&&_.timeout&&(clearTimeout(_.timeout),_.timeout=void 0);const g=Date.now()+v,b=o[l]={nextPollTimestamp:g,pollingInterval:v,timeout:setTimeout(()=>{b.timeout=void 0,u.dispatch(n(p,l))},v)}}function c({queryCacheKey:l},u){const p=u.getState()[e].queries[l],h=i.currentSubscriptions[l];if(!p||p.status==="uninitialized")return;const v=m(h);if(!Number.isFinite(v)){f(l);return}const _=o[l],g=Date.now()+v;(!_||g<_.nextPollTimestamp)&&s({queryCacheKey:l},u)}function f(l){const u=o[l];u!=null&&u.timeout&&clearTimeout(u.timeout),delete o[l]}function w(){for(const l of Object.keys(o))f(l)}function m(l={}){let u=Number.POSITIVE_INFINITY;for(let d in l)l[d].pollingInterval&&(u=Math.min(l[d].pollingInterval,u));return u}return a},cf=({reducerPath:e,context:t,api:r,refetchQuery:n,internalState:i})=>{const{removeQueryResult:o}=r.internalActions,a=(c,f)=>{eo.match(c)&&s(f,"refetchOnFocus"),to.match(c)&&s(f,"refetchOnReconnect")};function s(c,f){const w=c.getState()[e],m=w.queries,l=i.currentSubscriptions;t.batch(()=>{for(const u of Object.keys(l)){const d=m[u],p=l[u];if(!p||!d)continue;(Object.values(p).some(v=>v[f]===!0)||Object.values(p).every(v=>v[f]===void 0)&&w.config[f])&&(kt(p)===0?c.dispatch(o({queryCacheKey:u})):d.status!=="uninitialized"&&c.dispatch(n(d,u)))}})}return a},Sa=new Error("Promise never resolved before cacheEntryRemoved."),uf=({api:e,reducerPath:t,context:r,queryThunk:n,mutationThunk:i,internalState:o})=>{const a=wi(n),s=wi(i),c=rt(n,i),f={},w=(u,d,p)=>{const h=m(u);if(n.pending.match(u)){const v=p[t].queries[h],_=d.getState()[t].queries[h];!v&&_&&l(u.meta.arg.endpointName,u.meta.arg.originalArgs,h,d,u.meta.requestId)}else if(i.pending.match(u))d.getState()[t].mutations[h]&&l(u.meta.arg.endpointName,u.meta.arg.originalArgs,h,d,u.meta.requestId);else if(c(u)){const v=f[h];v!=null&&v.valueResolved&&(v.valueResolved({data:u.payload,meta:u.meta.baseQueryMeta}),delete v.valueResolved)}else if(e.internalActions.removeQueryResult.match(u)||e.internalActions.removeMutationResult.match(u)){const v=f[h];v&&(delete f[h],v.cacheEntryRemoved())}else if(e.util.resetApiState.match(u))for(const[v,_]of Object.entries(f))delete f[v],_.cacheEntryRemoved()};function m(u){return a(u)?u.meta.arg.queryCacheKey:s(u)?u.meta.requestId:e.internalActions.removeQueryResult.match(u)?u.payload.queryCacheKey:e.internalActions.removeMutationResult.match(u)?cr(u.payload):""}function l(u,d,p,h,v){const _=r.endpointDefinitions[u],g=_==null?void 0:_.onCacheEntryAdded;if(!g)return;let b={};const S=new Promise(R=>{b.cacheEntryRemoved=R}),k=Promise.race([new Promise(R=>{b.valueResolved=R}),S.then(()=>{throw Sa})]);k.catch(()=>{}),f[p]=b;const C=e.endpoints[u].select(_.type==="query"?d:p),x=h.dispatch((R,I,P)=>P),T=J(N({},h),{getCacheEntry:()=>C(h.getState()),requestId:v,extra:x,updateCachedData:_.type==="query"?R=>h.dispatch(e.util.updateQueryData(u,d,R)):void 0,cacheDataLoaded:k,cacheEntryRemoved:S}),E=g(d,T);Promise.resolve(E).catch(R=>{if(R!==Sa)throw R})}return w},lf=({api:e,context:t,queryThunk:r,mutationThunk:n})=>{const i=Zi(r,n),o=At(r,n),a=rt(r,n),s={};return(f,w)=>{var m,l,u;if(i(f)){const{requestId:d,arg:{endpointName:p,originalArgs:h}}=f.meta,v=t.endpointDefinitions[p],_=v==null?void 0:v.onQueryStarted;if(_){const g={},b=new Promise((x,T)=>{g.resolve=x,g.reject=T});b.catch(()=>{}),s[d]=g;const S=e.endpoints[p].select(v.type==="query"?h:d),k=w.dispatch((x,T,E)=>E),C=J(N({},w),{getCacheEntry:()=>S(w.getState()),requestId:d,extra:k,updateCachedData:v.type==="query"?x=>w.dispatch(e.util.updateQueryData(p,h,x)):void 0,queryFulfilled:b});_(h,C)}}else if(a(f)){const{requestId:d,baseQueryMeta:p}=f.meta;(m=s[d])==null||m.resolve({data:f.payload,meta:p}),delete s[d]}else if(o(f)){const{requestId:d,rejectedWithValue:p,baseQueryMeta:h}=f.meta;(u=s[d])==null||u.reject({error:(l=f.payload)!=null?l:f.error,isUnhandledError:!p,meta:h}),delete s[d]}}},df=({api:e,context:{apiUid:t},reducerPath:r})=>(n,i)=>{e.util.resetApiState.match(n)&&i.dispatch(e.internalActions.middlewareRegistered(t))},ff=({api:e,queryThunk:t,internalState:r})=>{const n=`${e.reducerPath}/subscriptions`;let i=null,o=null;const{updateSubscriptionOptions:a,unsubscribeQueryResult:s}=e.internalActions,c=(u,d)=>{var h,v,_,g,b,S,k,C,x;if(a.match(d)){const{queryCacheKey:T,requestId:E,options:R}=d.payload;return(h=u==null?void 0:u[T])!=null&&h[E]&&(u[T][E]=R),!0}if(s.match(d)){const{queryCacheKey:T,requestId:E}=d.payload;return u[T]&&delete u[T][E],!0}if(e.internalActions.removeQueryResult.match(d))return delete u[d.payload.queryCacheKey],!0;if(t.pending.match(d)){const{meta:{arg:T,requestId:E}}=d,R=(_=u[v=T.queryCacheKey])!=null?_:u[v]={};return R[`${E}_running`]={},T.subscribe&&(R[E]=(b=(g=T.subscriptionOptions)!=null?g:R[E])!=null?b:{}),!0}let p=!1;if(t.fulfilled.match(d)||t.rejected.match(d)){const T=u[d.meta.arg.queryCacheKey]||{},E=`${d.meta.requestId}_running`;p||(p=!!T[E]),delete T[E]}if(t.rejected.match(d)){const{meta:{condition:T,arg:E,requestId:R}}=d;if(T&&E.subscribe){const I=(k=u[S=E.queryCacheKey])!=null?k:u[S]={};I[R]=(x=(C=E.subscriptionOptions)!=null?C:I[R])!=null?x:{},p=!0}}return p},f=()=>r.currentSubscriptions,l={getSubscriptions:f,getSubscriptionCount:u=>{var h;const p=(h=f()[u])!=null?h:{};return kt(p)},isRequestSubscribed:(u,d)=>{var h;const p=f();return!!((h=p==null?void 0:p[u])!=null&&h[d])}};return(u,d)=>{if(i||(i=JSON.parse(JSON.stringify(r.currentSubscriptions))),e.util.resetApiState.match(u))return i=r.currentSubscriptions={},o=null,[!0,!1];if(e.internalActions.internal_getRTKQSubscriptions.match(u))return[!1,l];const p=c(r.currentSubscriptions,u);let h=!0;if(p){o||(o=setTimeout(()=>{const g=JSON.parse(JSON.stringify(r.currentSubscriptions)),[,b]=Xs(i,()=>g);d.next(e.internalActions.subscriptionsUpdated(b)),i=g,o=null},500));const v=typeof u.type=="string"&&!!u.type.startsWith(n),_=t.rejected.match(u)&&u.meta.condition&&!!u.meta.arg.subscribe;h=!v&&!_}return[h,!1]}};function pf(e){const{reducerPath:t,queryThunk:r,api:n,context:i}=e,{apiUid:o}=i,a={invalidateTags:ge(`${t}/invalidateTags`)},s=m=>m.type.startsWith(`${t}/`),c=[df,of,af,sf,uf,lf];return{middleware:m=>{let l=!1,u={currentSubscriptions:{}};const d=J(N({},e),{internalState:u,refetchQuery:w,isThisApiSliceAction:s}),p=c.map(_=>_(d)),h=ff(d),v=cf(d);return _=>g=>{if(!Vs(g))return _(g);l||(l=!0,m.dispatch(n.internalActions.middlewareRegistered(o)));const b=J(N({},m),{next:_}),S=m.getState(),[k,C]=h(g,b,S);let x;if(k?x=_(g):x=C,m.getState()[t]&&(v(g,b,S),s(g)||i.hasRehydrationInfo(g)))for(let T of p)T(g,b,S);return x}},actions:a};function w(m,l,u={}){return r(N({type:"query",endpointName:m.endpointName,originalArgs:m.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:l},u))}}function Ge(e,...t){return Object.assign(e,...t)}var Ca=Symbol(),hf=()=>({name:Ca,init(e,{baseQuery:t,tagTypes:r,reducerPath:n,serializeQueryArgs:i,keepUnusedDataFor:o,refetchOnMountOrArgChange:a,refetchOnFocus:s,refetchOnReconnect:c,invalidationBehavior:f},w){td();const m=z=>z;Object.assign(e,{reducerPath:n,endpoints:{},internalActions:{onOnline:to,onOffline:lc,onFocus:eo,onFocusLost:uc},util:{}});const{queryThunk:l,mutationThunk:u,patchQueryData:d,updateQueryData:p,upsertQueryData:h,prefetch:v,buildMatchThunkActions:_}=Zd({baseQuery:t,reducerPath:n,context:w,api:e,serializeQueryArgs:i,assertTagType:m}),{reducer:g,actions:b}=Xd({context:w,queryThunk:l,mutationThunk:u,reducerPath:n,assertTagType:m,config:{refetchOnFocus:s,refetchOnReconnect:c,refetchOnMountOrArgChange:a,keepUnusedDataFor:o,reducerPath:n,invalidationBehavior:f}});Ge(e.util,{patchQueryData:d,updateQueryData:p,upsertQueryData:h,prefetch:v,resetApiState:b.resetApiState}),Ge(e.internalActions,b);const{middleware:S,actions:k}=pf({reducerPath:n,context:w,queryThunk:l,mutationThunk:u,api:e,assertTagType:m});Ge(e.util,k),Ge(e,{reducer:g,middleware:S});const{buildQuerySelector:C,buildMutationSelector:x,selectInvalidatedBy:T,selectCachedArgsForQuery:E}=ef({serializeQueryArgs:i,reducerPath:n});Ge(e.util,{selectInvalidatedBy:T,selectCachedArgsForQuery:E});const{buildInitiateQuery:R,buildInitiateMutation:I,getRunningMutationThunk:P,getRunningMutationsThunk:M,getRunningQueriesThunk:$,getRunningQueryThunk:G}=Gd({queryThunk:l,mutationThunk:u,api:e,serializeQueryArgs:i,context:w});return Ge(e.util,{getRunningMutationThunk:P,getRunningMutationsThunk:M,getRunningQueryThunk:G,getRunningQueriesThunk:$}),{name:Ca,injectEndpoint(z,L){var ee,fe;const ne=e;(fe=(ee=ne.endpoints)[z])!=null||(ee[z]={}),dc(L)?Ge(ne.endpoints[z],{name:z,select:C(z,L),initiate:R(z,L)},_(l,z)):Kd(L)&&Ge(ne.endpoints[z],{name:z,select:x(),initiate:I(z)},_(u,z))}}}}),hc={exports:{}},mc={};const mf=ml(Zt);/**
8
+ */var se=typeof Symbol=="function"&&Symbol.for,ji=se?Symbol.for("react.element"):60103,Hi=se?Symbol.for("react.portal"):60106,ln=se?Symbol.for("react.fragment"):60107,dn=se?Symbol.for("react.strict_mode"):60108,fn=se?Symbol.for("react.profiler"):60114,pn=se?Symbol.for("react.provider"):60109,hn=se?Symbol.for("react.context"):60110,Wi=se?Symbol.for("react.async_mode"):60111,mn=se?Symbol.for("react.concurrent_mode"):60111,gn=se?Symbol.for("react.forward_ref"):60112,yn=se?Symbol.for("react.suspense"):60113,gl=se?Symbol.for("react.suspense_list"):60120,wn=se?Symbol.for("react.memo"):60115,vn=se?Symbol.for("react.lazy"):60116,yl=se?Symbol.for("react.block"):60121,wl=se?Symbol.for("react.fundamental"):60117,vl=se?Symbol.for("react.responder"):60118,bl=se?Symbol.for("react.scope"):60119;function xe(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case ji:switch(e=e.type,e){case Wi:case mn:case ln:case fn:case dn:case yn:return e;default:switch(e=e&&e.$$typeof,e){case hn:case gn:case vn:case wn:case pn:return e;default:return t}}case Hi:return t}}}function Ns(e){return xe(e)===mn}Q.AsyncMode=Wi;Q.ConcurrentMode=mn;Q.ContextConsumer=hn;Q.ContextProvider=pn;Q.Element=ji;Q.ForwardRef=gn;Q.Fragment=ln;Q.Lazy=vn;Q.Memo=wn;Q.Portal=Hi;Q.Profiler=fn;Q.StrictMode=dn;Q.Suspense=yn;Q.isAsyncMode=function(e){return Ns(e)||xe(e)===Wi};Q.isConcurrentMode=Ns;Q.isContextConsumer=function(e){return xe(e)===hn};Q.isContextProvider=function(e){return xe(e)===pn};Q.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===ji};Q.isForwardRef=function(e){return xe(e)===gn};Q.isFragment=function(e){return xe(e)===ln};Q.isLazy=function(e){return xe(e)===vn};Q.isMemo=function(e){return xe(e)===wn};Q.isPortal=function(e){return xe(e)===Hi};Q.isProfiler=function(e){return xe(e)===fn};Q.isStrictMode=function(e){return xe(e)===dn};Q.isSuspense=function(e){return xe(e)===yn};Q.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ln||e===mn||e===fn||e===dn||e===yn||e===gl||typeof e=="object"&&e!==null&&(e.$$typeof===vn||e.$$typeof===wn||e.$$typeof===pn||e.$$typeof===hn||e.$$typeof===gn||e.$$typeof===wl||e.$$typeof===vl||e.$$typeof===bl||e.$$typeof===yl)};Q.typeOf=xe;Fs.exports=Q;var _l=Fs.exports,Ds=_l,Sl={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Cl={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Os={};Os[Ds.ForwardRef]=Sl;Os[Ds.Memo]=Cl;var kl=!0;function Bs(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):n+=i+" "}),n}var qi=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||kl===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},Vi=function(t,r,n){qi(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 xl(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 Tl={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},El=/[A-Z]|^ms/g,Al=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ls=function(t){return t.charCodeAt(1)===45},Qo=function(t){return t!=null&&typeof t!="boolean"},Un=ks(function(e){return Ls(e)?e:e.replace(El,"-$&").toLowerCase()}),Jo=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Al,function(n,i,o){return $e={name:i,styles:o,next:$e},i})}return Tl[t]!==1&&!Ls(t)&&typeof r=="number"&&r!==0?r+"px":r};function tr(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return $e={name:r.name,styles:r.styles,next:$e},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)$e={name:n.name,styles:n.styles,next:$e},n=n.next;var i=r.styles+";";return i}return Rl(e,t,r)}case"function":{if(e!==void 0){var o=$e,a=r(e);return $e=o,tr(e,t,a)}break}}if(t==null)return r;var s=t[r];return s!==void 0?s:r}function Rl(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=tr(e,t,r[i])+";";else for(var o in r){var a=r[o];if(typeof a!="object")t!=null&&t[a]!==void 0?n+=o+"{"+t[a]+"}":Qo(a)&&(n+=Un(o)+":"+Jo(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++)Qo(a[s])&&(n+=Un(o)+":"+Jo(o,a[s])+";");else{var c=tr(e,t,a);switch(o){case"animation":case"animationName":{n+=Un(o)+":"+c+";";break}default:n+=o+"{"+c+"}"}}}return n}var Ko=/label:\s*([^\s;\n{]+)\s*(;|$)/g,$e,bn=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="";$e=void 0;var a=t[0];a==null||a.raw===void 0?(i=!1,o+=tr(n,r,a)):o+=a[0];for(var s=1;s<t.length;s++)o+=tr(n,r,t[s]),i&&(o+=a[s]);Ko.lastIndex=0;for(var c="",h;(h=Ko.exec(o))!==null;)c+="-"+h[1];var d=xl(o)+c;return{name:d,styles:o,next:$e}},Pl=function(t){return t()},$s=Zt.useInsertionEffect?Zt.useInsertionEffect:!1,Us=$s||Pl,Yo=$s||mt,_n={}.hasOwnProperty,zs=an(typeof HTMLElement!="undefined"?Ms({key:"css"}):null),Il=zs.Provider,Qi=function(t){return Oi(function(r,n){var i=Nt(zs);return t(r,i,n)})},Ji=an({}),di="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",js=function(t,r){var n={};for(var i in r)_n.call(r,i)&&(n[i]=r[i]);return n[di]=t,n},Ml=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return qi(r,n,i),Us(function(){return Vi(r,n,i)}),null},Fl=Qi(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var i=e[di],o=[n],a="";typeof e.className=="string"?a=Bs(t.registered,o,e.className):e.className!=null&&(a=e.className+" ");var s=bn(o,void 0,Nt(Ji));a+=t.key+"-"+s.name;var c={};for(var h in e)_n.call(e,h)&&h!=="css"&&h!==di&&(c[h]=e[h]);return c.ref=r,c.className=a,X(Ce,null,X(Ml,{cache:t,serialized:s,isStringTag:typeof i=="string"}),X(i,c))}),Hs=Fl,Nl=Qi(function(e,t){var r=e.styles,n=bn([r],void 0,Nt(Ji)),i=ve();return Yo(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]),Yo(function(){var o=i.current,a=o[0],s=o[1];if(s){o[1]=!1;return}if(n.next!==void 0&&Vi(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 Dl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return bn(t)}var Ol=$u,Bl=function(t){return t!=="theme"},Go=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Ol:Bl},Zo=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},Ll=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return qi(r,n,i),Us(function(){return Vi(r,n,i)}),null},$l=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=Zo(t,r,n),c=s||Go(i),h=!c("as");return function(){var d=arguments,m=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&m.push("label:"+o+";"),d[0]==null||d[0].raw===void 0)m.push.apply(m,d);else{m.push(d[0][0]);for(var l=d.length,u=1;u<l;u++)m.push(d[u],d[0][u])}var f=Qi(function(p,g,v){var _=h&&p.as||i,y="",b=[],S=p;if(p.theme==null){S={};for(var k in p)S[k]=p[k];S.theme=Nt(Ji)}typeof p.className=="string"?y=Bs(g.registered,b,p.className):p.className!=null&&(y=p.className+" ");var C=bn(m.concat(b),g.registered,S);y+=g.key+"-"+C.name,a!==void 0&&(y+=" "+a);var x=h&&s===void 0?Go(_):c,T={};for(var E in p)h&&E==="as"||x(E)&&(T[E]=p[E]);return T.className=y,T.ref=v,X(Ce,null,X(Ll,{cache:g,serialized:C,isStringTag:typeof _=="string"}),X(_,T))});return f.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",f.defaultProps=t.defaultProps,f.__emotion_real=f,f.__emotion_base=i,f.__emotion_styles=m,f.__emotion_forwardProp=s,Object.defineProperty(f,"toString",{value:function(){return"."+a}}),f.withComponent=function(p,g){return e(p,ni({},r,g,{shouldForwardProp:Zo(f,g,!0)})).apply(void 0,m)},f}},Ul=["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"],j=$l.bind();Ul.forEach(function(e){j[e]=j(e)});function ce(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 zl=typeof Symbol=="function"&&Symbol.observable||"@@observable",Xo=zl,zn=()=>Math.random().toString(36).substring(7).split("").join("."),jl={INIT:`@@redux/INIT${zn()}`,REPLACE:`@@redux/REPLACE${zn()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${zn()}`},Qr=jl;function ze(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Ws(e,t,r){if(typeof e!="function")throw new Error(ce(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(ce(0));if(typeof t=="function"&&typeof r=="undefined"&&(r=t,t=void 0),typeof r!="undefined"){if(typeof r!="function")throw new Error(ce(1));return r(Ws)(e,t)}let n=e,i=t,o=new Map,a=o,s=0,c=!1;function h(){a===o&&(a=new Map,o.forEach((g,v)=>{a.set(v,g)}))}function d(){if(c)throw new Error(ce(3));return i}function m(g){if(typeof g!="function")throw new Error(ce(4));if(c)throw new Error(ce(5));let v=!0;h();const _=s++;return a.set(_,g),function(){if(v){if(c)throw new Error(ce(6));v=!1,h(),a.delete(_),o=null}}}function l(g){if(!ze(g))throw new Error(ce(7));if(typeof g.type=="undefined")throw new Error(ce(8));if(typeof g.type!="string")throw new Error(ce(17));if(c)throw new Error(ce(9));try{c=!0,i=n(i,g)}finally{c=!1}return(o=a).forEach(_=>{_()}),g}function u(g){if(typeof g!="function")throw new Error(ce(10));n=g,l({type:Qr.REPLACE})}function f(){const g=m;return{subscribe(v){if(typeof v!="object"||v===null)throw new Error(ce(11));function _(){const b=v;b.next&&b.next(d())}return _(),{unsubscribe:g(_)}},[Xo](){return this}}}return l({type:Qr.INIT}),{dispatch:l,subscribe:m,getState:d,replaceReducer:u,[Xo]:f}}function Hl(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:Qr.INIT})=="undefined")throw new Error(ce(12));if(typeof r(void 0,{type:Qr.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(ce(13))})}function qs(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{Hl(r)}catch(o){i=o}return function(a={},s){if(i)throw i;let c=!1;const h={};for(let d=0;d<n.length;d++){const m=n[d],l=r[m],u=a[m],f=l(u,s);if(typeof f=="undefined")throw s&&s.type,new Error(ce(14));h[m]=f,c=c||f!==u}return c=c||n.length!==Object.keys(a).length,c?h:a}}function Jr(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function Wl(...e){return t=>(r,n)=>{const i=t(r,n);let o=()=>{throw new Error(ce(15))};const a={getState:i.getState,dispatch:(c,...h)=>o(c,...h)},s=e.map(c=>c(a));return o=Jr(...s)(i.dispatch),J(N({},i),{dispatch:o})}}function Vs(e){return ze(e)&&"type"in e&&typeof e.type=="string"}var Ki=Symbol.for("immer-nothing"),Qt=Symbol.for("immer-draftable"),we=Symbol.for("immer-state");function de(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var lt=Object.getPrototypeOf;function Ne(e){return!!e&&!!e[we]}function De(e){var t;return e?Qs(e)||Array.isArray(e)||!!e[Qt]||!!((t=e.constructor)!=null&&t[Qt])||pr(e)||hr(e):!1}var ql=Object.prototype.constructor.toString();function Qs(e){if(!e||typeof e!="object")return!1;const t=lt(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)===ql}function Vl(e){return Ne(e)||de(15,e),e[we].base_}function rr(e,t){dt(e)===0?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function dt(e){const t=e[we];return t?t.type_:Array.isArray(e)?1:pr(e)?2:hr(e)?3:0}function nr(e,t){return dt(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function jn(e,t){return dt(e)===2?e.get(t):e[t]}function Js(e,t,r){const n=dt(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function Ql(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function pr(e){return e instanceof Map}function hr(e){return e instanceof Set}function at(e){return e.copy_||e.base_}function fi(e,t){if(pr(e))return new Map(e);if(hr(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&Qs(e))return lt(e)?N({},e):Object.assign(Object.create(null),e);const r=Object.getOwnPropertyDescriptors(e);delete r[we];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(lt(e),r)}function Yi(e,t=!1){return Sn(e)||Ne(e)||!De(e)||(dt(e)>1&&(e.set=e.add=e.clear=e.delete=Jl),Object.freeze(e),t&&Object.entries(e).forEach(([r,n])=>Yi(n,!0))),e}function Jl(){de(2)}function Sn(e){return Object.isFrozen(e)}var pi={};function ft(e){const t=pi[e];return t||de(0,e),t}function Kl(e,t){pi[e]||(pi[e]=t)}var ir;function Ks(){return ir}function Yl(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function ea(e,t){t&&(ft("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function hi(e){mi(e),e.drafts_.forEach(Gl),e.drafts_=null}function mi(e){e===ir&&(ir=e.parent_)}function ta(e){return ir=Yl(ir,e)}function Gl(e){const t=e[we];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function ra(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[we].modified_&&(hi(t),de(4)),De(e)&&(e=Kr(t,e),t.parent_||Yr(t,e)),t.patches_&&ft("Patches").generateReplacementPatches_(r[we].base_,e,t.patches_,t.inversePatches_)):e=Kr(t,r,[]),hi(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Ki?e:void 0}function Kr(e,t,r){if(Sn(t))return t;const n=t[we];if(!n)return rr(t,(i,o)=>na(e,n,t,i,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return Yr(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const i=n.copy_;let o=i,a=!1;n.type_===3&&(o=new Set(i),i.clear(),a=!0),rr(o,(s,c)=>na(e,n,i,s,c,r,a)),Yr(e,i,!1),r&&e.patches_&&ft("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function na(e,t,r,n,i,o,a){if(Ne(i)){const s=o&&t&&t.type_!==3&&!nr(t.assigned_,n)?o.concat(n):void 0,c=Kr(e,i,s);if(Js(r,n,c),Ne(c))e.canAutoFreeze_=!1;else return}else a&&r.add(i);if(De(i)&&!Sn(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Kr(e,i),(!t||!t.scope_.parent_)&&typeof n!="symbol"&&Object.prototype.propertyIsEnumerable.call(r,n)&&Yr(e,i)}}function Yr(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Yi(t,r)}function Zl(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:Ks(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=n,o=Gi;r&&(i=[n],o=or);const{revoke:a,proxy:s}=Proxy.revocable(i,o);return n.draft_=s,n.revoke_=a,s}var Gi={get(e,t){if(t===we)return e;const r=at(e);if(!nr(r,t))return Xl(e,r,t);const n=r[t];return e.finalized_||!De(n)?n:n===Hn(e.base_,t)?(Wn(e),e.copy_[t]=yi(n,e)):n},has(e,t){return t in at(e)},ownKeys(e){return Reflect.ownKeys(at(e))},set(e,t,r){const n=Ys(at(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const i=Hn(at(e),t),o=i==null?void 0:i[we];if(o&&o.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(Ql(r,i)&&(r!==void 0||nr(e.base_,t)))return!0;Wn(e),gi(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),gi(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=at(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){de(11)},getPrototypeOf(e){return lt(e.base_)},setPrototypeOf(){de(12)}},or={};rr(Gi,(e,t)=>{or[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});or.deleteProperty=function(e,t){return or.set.call(this,e,t,void 0)};or.set=function(e,t,r){return Gi.set.call(this,e[0],t,r,e[0])};function Hn(e,t){const r=e[we];return(r?at(r):e)[t]}function Xl(e,t,r){var i;const n=Ys(t,r);return n?"value"in n?n.value:(i=n.get)==null?void 0:i.call(e.draft_):void 0}function Ys(e,t){if(!(t in e))return;let r=lt(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=lt(r)}}function gi(e){e.modified_||(e.modified_=!0,e.parent_&&gi(e.parent_))}function Wn(e){e.copy_||(e.copy_=fi(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var ed=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,...h){return a.produce(c,d=>r.call(this,d,...h))}}typeof r!="function"&&de(6),n!==void 0&&typeof n!="function"&&de(7);let i;if(De(t)){const o=ta(this),a=yi(t,void 0);let s=!0;try{i=r(a),s=!1}finally{s?hi(o):mi(o)}return ea(o,n),ra(i,o)}else if(!t||typeof t!="object"){if(i=r(t),i===void 0&&(i=t),i===Ki&&(i=void 0),this.autoFreeze_&&Yi(i,!0),n){const o=[],a=[];ft("Patches").generateReplacementPatches_(t,i,o,a),n(o,a)}return i}else de(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){De(e)||de(8),Ne(e)&&(e=Gs(e));const t=ta(this),r=yi(e,void 0);return r[we].isManual_=!0,mi(t),r}finishDraft(e,t){const r=e&&e[we];(!r||!r.isManual_)&&de(9);const{scope_:n}=r;return ea(n,t),ra(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=ft("Patches").applyPatches_;return Ne(e)?n(e,t):this.produce(e,i=>n(i,t))}};function yi(e,t){const r=pr(e)?ft("MapSet").proxyMap_(e,t):hr(e)?ft("MapSet").proxySet_(e,t):Zl(e,t);return(t?t.scope_:Ks()).drafts_.push(r),r}function Gs(e){return Ne(e)||de(10,e),Zs(e)}function Zs(e){if(!De(e)||Sn(e))return e;const t=e[we];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=fi(e,t.scope_.immer_.useStrictShallowCopy_)}else r=fi(e,!0);return rr(r,(n,i)=>{Js(r,n,Zs(i))}),t&&(t.finalized_=!1),r}function td(){const t="replace",r="add",n="remove";function i(l,u,f,p){switch(l.type_){case 0:case 2:return a(l,u,f,p);case 1:return o(l,u,f,p);case 3:return s(l,u,f,p)}}function o(l,u,f,p){let{base_:g,assigned_:v}=l,_=l.copy_;_.length<g.length&&([g,_]=[_,g],[f,p]=[p,f]);for(let y=0;y<g.length;y++)if(v[y]&&_[y]!==g[y]){const b=u.concat([y]);f.push({op:t,path:b,value:m(_[y])}),p.push({op:t,path:b,value:m(g[y])})}for(let y=g.length;y<_.length;y++){const b=u.concat([y]);f.push({op:r,path:b,value:m(_[y])})}for(let y=_.length-1;g.length<=y;--y){const b=u.concat([y]);p.push({op:n,path:b})}}function a(l,u,f,p){const{base_:g,copy_:v}=l;rr(l.assigned_,(_,y)=>{const b=jn(g,_),S=jn(v,_),k=y?nr(g,_)?t:r:n;if(b===S&&k===t)return;const C=u.concat(_);f.push(k===n?{op:k,path:C}:{op:k,path:C,value:S}),p.push(k===r?{op:n,path:C}:k===n?{op:r,path:C,value:m(b)}:{op:t,path:C,value:m(b)})})}function s(l,u,f,p){let{base_:g,copy_:v}=l,_=0;g.forEach(y=>{if(!v.has(y)){const b=u.concat([_]);f.push({op:n,path:b,value:y}),p.unshift({op:r,path:b,value:y})}_++}),_=0,v.forEach(y=>{if(!g.has(y)){const b=u.concat([_]);f.push({op:r,path:b,value:y}),p.unshift({op:n,path:b,value:y})}_++})}function c(l,u,f,p){f.push({op:t,path:[],value:u===Ki?void 0:u}),p.push({op:t,path:[],value:l})}function h(l,u){return u.forEach(f=>{const{path:p,op:g}=f;let v=l;for(let S=0;S<p.length-1;S++){const k=dt(v);let C=p[S];typeof C!="string"&&typeof C!="number"&&(C=""+C),(k===0||k===1)&&(C==="__proto__"||C==="constructor")&&de(19),typeof v=="function"&&C==="prototype"&&de(19),v=jn(v,C),typeof v!="object"&&de(18,p.join("/"))}const _=dt(v),y=d(f.value),b=p[p.length-1];switch(g){case t:switch(_){case 2:return v.set(b,y);case 3:de(16);default:return v[b]=y}case r:switch(_){case 1:return b==="-"?v.push(y):v.splice(b,0,y);case 2:return v.set(b,y);case 3:return v.add(y);default:return v[b]=y}case n:switch(_){case 1:return v.splice(b,1);case 2:return v.delete(b);case 3:return v.delete(f.value);default:return delete v[b]}default:de(17,g)}}),l}function d(l){if(!De(l))return l;if(Array.isArray(l))return l.map(d);if(pr(l))return new Map(Array.from(l.entries()).map(([f,p])=>[f,d(p)]));if(hr(l))return new Set(Array.from(l).map(d));const u=Object.create(lt(l));for(const f in l)u[f]=d(l[f]);return nr(l,Qt)&&(u[Qt]=l[Qt]),u}function m(l){return Ne(l)?d(l):l}Kl("Patches",{applyPatches_:h,generatePatches_:i,generateReplacementPatches_:c})}var ke=new ed,mr=ke.produce,Xs=ke.produceWithPatches.bind(ke);ke.setAutoFreeze.bind(ke);ke.setUseStrictShallowCopy.bind(ke);var ia=ke.applyPatches.bind(ke);ke.createDraft.bind(ke);ke.finishDraft.bind(ke);function rd(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function nd(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function id(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(r=>typeof r=="function")){const r=e.map(n=>typeof n=="function"?`function ${n.name||"unnamed"}()`:typeof n).join(", ");throw new TypeError(`${t}[${r}]`)}}var oa=e=>Array.isArray(e)?e:[e];function od(e){const t=Array.isArray(e[0])?e[0]:e;return id(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function ad(e,t){const r=[],{length:n}=e;for(let i=0;i<n;i++)r.push(e[i].apply(null,t));return r}var sd=class{constructor(e){this.value=e}deref(){return this.value}},cd=typeof WeakRef!="undefined"?WeakRef:sd,ud=0,aa=1;function Er(){return{s:ud,v:void 0,o:null,p:null}}function ar(e,t={}){let r=Er();const{resultEqualityCheck:n}=t;let i,o=0;function a(){var m,l;let s=r;const{length:c}=arguments;for(let u=0,f=c;u<f;u++){const p=arguments[u];if(typeof p=="function"||typeof p=="object"&&p!==null){let g=s.o;g===null&&(s.o=g=new WeakMap);const v=g.get(p);v===void 0?(s=Er(),g.set(p,s)):s=v}else{let g=s.p;g===null&&(s.p=g=new Map);const v=g.get(p);v===void 0?(s=Er(),g.set(p,s)):s=v}}const h=s;let d;if(s.s===aa?d=s.v:(d=e.apply(null,arguments),o++),h.s=aa,n){const u=(l=(m=i==null?void 0:i.deref)==null?void 0:m.call(i))!=null?l:i;u!=null&&n(u,d)&&(d=u,o!==0&&o--),i=typeof d=="object"&&d!==null||typeof d=="function"?new cd(d):d}return h.v=d,d}return a.clearCache=()=>{r=Er(),a.resetResultsCount()},a.resultsCount=()=>o,a.resetResultsCount=()=>{o=0},a}function ec(e,...t){const r=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,n=(...i)=>{let o=0,a=0,s,c={},h=i.pop();typeof h=="object"&&(c=h,h=i.pop()),rd(h,`createSelector expects an output function after the inputs, but received: [${typeof h}]`);const d=N(N({},r),c),{memoize:m,memoizeOptions:l=[],argsMemoize:u=ar,argsMemoizeOptions:f=[],devModeChecks:p={}}=d,g=oa(l),v=oa(f),_=od(i),y=m(function(){return o++,h.apply(null,arguments)},...g),b=u(function(){a++;const k=ad(_,arguments);return s=y.apply(null,k),s},...v);return Object.assign(b,{resultFunc:h,memoizedResultFunc:y,dependencies:_,dependencyRecomputations:()=>a,resetDependencyRecomputations:()=>{a=0},lastResult:()=>s,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:m,argsMemoize:u})};return Object.assign(n,{withTypes:()=>n}),n}var Ct=ec(ar),ld=Object.assign((e,t=Ct)=>{nd(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:()=>ld});function tc(e){return({dispatch:r,getState:n})=>i=>o=>typeof o=="function"?o(r,n,e):i(o)}var dd=tc(),fd=tc,pd=(...e)=>{const t=ec(...e);return(...r)=>{const n=t(...r),i=(o,...a)=>n(Ne(o)?Gs(o):o,...a);return Object.assign(i,n),i}};pd(ar);var hd=typeof window!="undefined"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Jr:Jr.apply(null,arguments)},md=e=>e&&typeof e.match=="function";function ge(e,t){function r(...n){if(t){let i=t(...n);if(!i)throw new Error(Ee(0));return N(N({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=>Vs(n)&&n.type===e,r}var rc=class jt extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,jt.prototype)}static get[Symbol.species](){return jt}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new jt(...t[0].concat(this)):new jt(...t.concat(this))}};function sa(e){return De(e)?mr(e,()=>{}):e}function ca(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(Ee(10));const n=r.insert(t,e);return e.set(t,n),n}function gd(e){return typeof e=="boolean"}var yd=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t!=null?t:{};let a=new rc;return r&&(gd(r)?a.push(dd):a.push(fd(r.extraArgument))),a},_t="RTK_autoBatch",Ut=()=>e=>({payload:e,meta:{[_t]:!0}}),nc=e=>t=>{setTimeout(t,e)},wd=typeof window!="undefined"&&window.requestAnimationFrame?window.requestAnimationFrame:nc(10),vd=(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"?wd:e.type==="callback"?e.queueNotification:nc(e.timeout),h=()=>{a=!1,o&&(o=!1,s.forEach(d=>d()))};return Object.assign({},n,{subscribe(d){const m=()=>i&&d(),l=n.subscribe(m);return s.add(d),()=>{l(),s.delete(d)}},dispatch(d){var m;try{return i=!((m=d==null?void 0:d.meta)!=null&&m[_t]),o=!i,o&&(a||(a=!0,c(h))),n.dispatch(d)}finally{i=!0}}})},bd=e=>function(r){const{autoBatch:n=!0}=r!=null?r:{};let i=new rc(e);return n&&i.push(vd(typeof n=="object"?n:void 0)),i},_d=!0;function Sd(e){const t=yd(),{reducer:r=void 0,middleware:n,devTools:i=!0,preloadedState:o=void 0,enhancers:a=void 0}=e||{};let s;if(typeof r=="function")s=r;else if(ze(r))s=qs(r);else throw new Error(Ee(1));let c;typeof n=="function"?c=n(t):c=t();let h=Jr;i&&(h=hd(N({trace:!_d},typeof i=="object"&&i)));const d=Wl(...c),m=bd(d);let l=typeof a=="function"?a(m):m();const u=h(...l);return Ws(s,o,u)}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(Ee(28));if(s in t)throw new Error(Ee(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 Cd(e){return typeof e=="function"}function kd(e,t){let[r,n,i]=ic(t),o;if(Cd(e))o=()=>sa(e());else{const s=sa(e);o=()=>s}function a(s=o(),c){let h=[r[c.type],...n.filter(({matcher:d})=>d(c)).map(({reducer:d})=>d)];return h.filter(d=>!!d).length===0&&(h=[i]),h.reduce((d,m)=>{if(m)if(Ne(d)){const u=m(d,c);return u===void 0?d:u}else{if(De(d))return mr(d,l=>m(l,c));{const l=m(d,c);if(l===void 0){if(d===null)return d;throw new Error(Ee(9))}return l}}return d},s)}return a.getInitialState=o,a}var xd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",oc=(e=21)=>{let t="",r=e;for(;r--;)t+=xd[Math.random()*64|0];return t},ac=(e,t)=>md(e)?e.match(t):e(t);function tt(...e){return t=>e.some(r=>ac(r,t))}function Jt(...e){return t=>e.every(r=>ac(r,t))}function Cn(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 gr(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function Zi(...e){return e.length===0?t=>Cn(t,["pending"]):gr(e)?t=>{const r=e.map(i=>i.pending);return tt(...r)(t)}:Zi()(e[0])}function At(...e){return e.length===0?t=>Cn(t,["rejected"]):gr(e)?t=>{const r=e.map(i=>i.rejected);return tt(...r)(t)}:At()(e[0])}function kn(...e){const t=r=>r&&r.meta&&r.meta.rejectedWithValue;return e.length===0?r=>Jt(At(...e),t)(r):gr(e)?r=>Jt(At(...e),t)(r):kn()(e[0])}function rt(...e){return e.length===0?t=>Cn(t,["fulfilled"]):gr(e)?t=>{const r=e.map(i=>i.fulfilled);return tt(...r)(t)}:rt()(e[0])}function wi(...e){return e.length===0?t=>Cn(t,["pending","fulfilled","rejected"]):gr(e)?t=>{const r=[];for(const i of e)r.push(i.pending,i.rejected,i.fulfilled);return tt(...r)(t)}:wi()(e[0])}var Td=["name","message","stack","code"],qn=class{constructor(e,t){Bn(this,"_type");this.payload=e,this.meta=t}},ua=class{constructor(e,t){Bn(this,"_type");this.payload=e,this.meta=t}},Ed=e=>{if(typeof e=="object"&&e!==null){const t={};for(const r of Td)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},la=(()=>{function e(t,r,n){const i=ge(t+"/fulfilled",(c,h,d,m)=>({payload:c,meta:J(N({},m||{}),{arg:d,requestId:h,requestStatus:"fulfilled"})})),o=ge(t+"/pending",(c,h,d)=>({payload:void 0,meta:J(N({},d||{}),{arg:h,requestId:c,requestStatus:"pending"})})),a=ge(t+"/rejected",(c,h,d,m,l)=>({payload:m,error:(n&&n.serializeError||Ed)(c||"Rejected"),meta:J(N({},l||{}),{arg:d,requestId:h,rejectedWithValue:!!m,requestStatus:"rejected",aborted:(c==null?void 0:c.name)==="AbortError",condition:(c==null?void 0:c.name)==="ConditionError"})}));function s(c){return(h,d,m)=>{const l=n!=null&&n.idGenerator?n.idGenerator(c):oc(),u=new AbortController;let f;function p(v){f=v,u.abort()}const g=function(){return me(this,null,function*(){var y,b;let v;try{let S=(y=n==null?void 0:n.condition)==null?void 0:y.call(n,c,{getState:d,extra:m});if(Rd(S)&&(S=yield S),S===!1||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const k=new Promise((C,x)=>u.signal.addEventListener("abort",()=>x({name:"AbortError",message:f||"Aborted"})));h(o(l,c,(b=n==null?void 0:n.getPendingMeta)==null?void 0:b.call(n,{requestId:l,arg:c},{getState:d,extra:m}))),v=yield Promise.race([k,Promise.resolve(r(c,{dispatch:h,getState:d,extra:m,requestId:l,signal:u.signal,abort:p,rejectWithValue:(C,x)=>new qn(C,x),fulfillWithValue:(C,x)=>new ua(C,x)})).then(C=>{if(C instanceof qn)throw C;return C instanceof ua?i(C.payload,l,c,C.meta):i(C,l,c)})])}catch(S){v=S instanceof qn?a(null,l,c,S.payload,S.meta):a(S,l,c)}return n&&!n.dispatchConditionRejection&&a.match(v)&&v.meta.condition||h(v),v})}();return Object.assign(g,{abort:p,requestId:l,arg:c,unwrap(){return g.then(Ad)}})}}return Object.assign(s,{pending:o,rejected:a,fulfilled:i,settled:tt(a,i),typePrefix:t})}return e.withTypes=()=>e,e})();function Ad(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Rd(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Pd=Symbol.for("rtk-slice-createasyncthunk");function Id(e,t){return`${e}/${t}`}function Md({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[Pd];return function(i){const{name:o,reducerPath:a=o}=i;if(!o)throw new Error(Ee(11));const s=(typeof i.reducers=="function"?i.reducers(Nd()):i.reducers)||{},c=Object.keys(s),h={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},d={addCase(g,v){const _=typeof g=="string"?g:g.type;if(!_)throw new Error(Ee(12));if(_ in h.sliceCaseReducersByType)throw new Error(Ee(13));return h.sliceCaseReducersByType[_]=v,d},addMatcher(g,v){return h.sliceMatchers.push({matcher:g,reducer:v}),d},exposeAction(g,v){return h.actionCreators[g]=v,d},exposeCaseReducer(g,v){return h.sliceCaseReducersByName[g]=v,d}};c.forEach(g=>{const v=s[g],_={reducerName:g,type:Id(o,g),createNotation:typeof i.reducers=="function"};Od(v)?Ld(_,v,d,t):Dd(_,v,d)});function m(){const[g={},v=[],_=void 0]=typeof i.extraReducers=="function"?ic(i.extraReducers):[i.extraReducers],y=N(N({},g),h.sliceCaseReducersByType);return kd(i.initialState,b=>{for(let S in y)b.addCase(S,y[S]);for(let S of h.sliceMatchers)b.addMatcher(S.matcher,S.reducer);for(let S of v)b.addMatcher(S.matcher,S.reducer);_&&b.addDefaultCase(_)})}const l=g=>g,u=new WeakMap;let f;const p={name:o,reducerPath:a,reducer(g,v){return f||(f=m()),f(g,v)},actions:h.actionCreators,caseReducers:h.sliceCaseReducersByName,getInitialState(){return f||(f=m()),f.getInitialState()},getSelectors(g=l){const v=ca(u,this,{insert:()=>new WeakMap});return ca(v,g,{insert:()=>{var y;const _={};for(const[b,S]of Object.entries((y=i.selectors)!=null?y:{}))_[b]=Fd(this,S,g,this!==p);return _}})},selectSlice(g){let v=g[this.reducerPath];return typeof v=="undefined"&&this!==p&&(v=this.getInitialState()),v},get selectors(){return this.getSelectors(this.selectSlice)},injectInto(g,y={}){var b=y,{reducerPath:v}=b,_=We(b,["reducerPath"]);const S=v!=null?v:this.reducerPath;return g.inject({reducerPath:S,reducer:this.reducer},_),J(N({},this),{reducerPath:S})}};return p}}function Fd(e,t,r,n){function i(o,...a){let s=r.call(e,o);return typeof s=="undefined"&&n&&(s=e.getInitialState()),t(s,...a)}return i.unwrapped=t,i}var Ve=Md();function Nd(){function e(t,r){return N({_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 Dd({type:e,reducerName:t,createNotation:r},n,i){let o,a;if("reducer"in n){if(r&&!Bd(n))throw new Error(Ee(17));o=n.reducer,a=n.prepare}else o=n;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,a?ge(e,a):ge(e))}function Od(e){return e._reducerDefinitionType==="asyncThunk"}function Bd(e){return e._reducerDefinitionType==="reducerWithPrepare"}function Ld({type:e,reducerName:t},r,n,i){if(!i)throw new Error(Ee(18));const{payloadCreator:o,fulfilled:a,pending:s,rejected:c,settled:h,options:d}=r,m=i(e,o,d);n.exposeAction(t,m),a&&n.addCase(m.fulfilled,a),s&&n.addCase(m.pending,s),c&&n.addCase(m.rejected,c),h&&n.addMatcher(m.settled,h),n.exposeCaseReducer(t,{fulfilled:a||Ar,pending:s||Ar,rejected:c||Ar,settled:h||Ar})}function Ar(){}var Xi="listenerMiddleware";ge(`${Xi}/add`);ge(`${Xi}/removeAll`);ge(`${Xi}/remove`);function Ee(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 sc=(e=>(e.uninitialized="uninitialized",e.pending="pending",e.fulfilled="fulfilled",e.rejected="rejected",e))(sc||{});function $d(e){return{status:e,isUninitialized:e==="uninitialized",isLoading:e==="pending",isSuccess:e==="fulfilled",isError:e==="rejected"}}function Ud(e){return new RegExp("(^|:)//").test(e)}var zd=e=>e.replace(/\/$/,""),jd=e=>e.replace(/^\//,"");function Hd(e,t){if(!e)return t;if(!t)return e;if(Ud(t))return t;const r=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=zd(e),t=jd(t),`${e}${r}${t}`}var da=e=>[].concat(...e);function Wd(){return typeof navigator=="undefined"||navigator.onLine===void 0?!0:navigator.onLine}function qd(){return typeof document=="undefined"?!0:document.visibilityState!=="hidden"}var fa=ze;function cc(e,t){if(e===t||!(fa(e)&&fa(t)||Array.isArray(e)&&Array.isArray(t)))return t;const r=Object.keys(t),n=Object.keys(e);let i=r.length===n.length;const o=Array.isArray(t)?[]:{};for(const a of r)o[a]=cc(e[a],t[a]),i&&(i=e[a]===o[a]);return i?e:o}var pa=(...e)=>fetch(...e),Vd=e=>e.status>=200&&e.status<=299,Qd=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function ha(e){if(!ze(e))return e;const t=N({},e);for(const[r,n]of Object.entries(t))n===void 0&&delete t[r];return t}function Jd(m={}){var l=m,{baseUrl:e,prepareHeaders:t=u=>u,fetchFn:r=pa,paramsSerializer:n,isJsonContentType:i=Qd,jsonContentType:o="application/json",jsonReplacer:a,timeout:s,responseHandler:c,validateStatus:h}=l,d=We(l,["baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","jsonContentType","jsonReplacer","timeout","responseHandler","validateStatus"]);return typeof fetch=="undefined"&&r===pa&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),(f,p)=>me(this,null,function*(){const{signal:g,getState:v,extra:_,endpoint:y,forced:b,type:S}=p;let k,Ot=typeof f=="string"?{url:f}:f,{url:C,headers:x=new Headers(d.headers),params:T=void 0,responseHandler:E=c!=null?c:"json",validateStatus:R=h!=null?h:Vd,timeout:I=s}=Ot,P=We(Ot,["url","headers","params","responseHandler","validateStatus","timeout"]),M=N(J(N({},d),{signal:g}),P);x=new Headers(ha(x)),M.headers=(yield t(x,{getState:v,extra:_,endpoint:y,forced:b,type:S}))||x;const $=oe=>typeof oe=="object"&&(ze(oe)||Array.isArray(oe)||typeof oe.toJSON=="function");if(!M.headers.has("content-type")&&$(M.body)&&M.headers.set("content-type",o),$(M.body)&&i(M.headers)&&(M.body=JSON.stringify(M.body,a)),T){const oe=~C.indexOf("?")?"&":"?",Ie=n?n(T):new URLSearchParams(ha(T));C+=oe+Ie}C=Hd(e,C);const G=new Request(C,M);k={request:new Request(C,M)};let L,ne=!1,ee=I&&setTimeout(()=>{ne=!0,p.abort()},I);try{L=yield r(G)}catch(oe){return{error:{status:ne?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(oe)},meta:k}}finally{ee&&clearTimeout(ee)}const pe=L.clone();k.response=pe;let He,ie="";try{let oe;if(yield Promise.all([u(L,E).then(Ie=>He=Ie,Ie=>oe=Ie),pe.text().then(Ie=>ie=Ie,()=>{})]),oe)throw oe}catch(oe){return{error:{status:"PARSING_ERROR",originalStatus:L.status,data:ie,error:String(oe)},meta:k}}return R(L,He)?{data:He,meta:k}:{error:{status:L.status,data:He},meta:k}});function u(f,p){return me(this,null,function*(){if(typeof p=="function")return p(f);if(p==="content-type"&&(p=i(f.headers)?"json":"text"),p==="json"){const g=yield f.text();return g.length?JSON.parse(g):null}return f.text()})}}var ma=class{constructor(e,t=void 0){this.value=e,this.meta=t}},eo=ge("__rtkq/focused"),uc=ge("__rtkq/unfocused"),to=ge("__rtkq/online"),lc=ge("__rtkq/offline");function dc(e){return e.type==="query"}function Kd(e){return e.type==="mutation"}function ro(e,t,r,n,i,o){return Yd(e)?e(t,r,n,i).map(vi).map(o):Array.isArray(e)?e.map(vi).map(o):[]}function Yd(e){return typeof e=="function"}function vi(e){return typeof e=="string"?{type:e}:e}function ga(e){return e!=null}function kt(e){let t=0;for(const r in e)t++;return t}var sr=Symbol("forceQueryFn"),bi=e=>typeof e[sr]=="function";function Gd({serializeQueryArgs:e,queryThunk:t,mutationThunk:r,api:n,context:i}){const o=new Map,a=new Map,{unsubscribeQueryResult:s,removeMutationResult:c,updateSubscriptionOptions:h}=n.internalActions;return{buildInitiateQuery:f,buildInitiateMutation:p,getRunningQueryThunk:d,getRunningMutationThunk:m,getRunningQueriesThunk:l,getRunningMutationsThunk:u};function d(g,v){return _=>{var S;const y=i.endpointDefinitions[g],b=e({queryArgs:v,endpointDefinition:y,endpointName:g});return(S=o.get(_))==null?void 0:S[b]}}function m(g,v){return _=>{var y;return(y=a.get(_))==null?void 0:y[v]}}function l(){return g=>Object.values(o.get(g)||{}).filter(ga)}function u(){return g=>Object.values(a.get(g)||{}).filter(ga)}function f(g,v){const _=(y,{subscribe:b=!0,forceRefetch:S,subscriptionOptions:k,[sr]:C}={})=>(x,T)=>{var pe;const E=e({queryArgs:y,endpointDefinition:v,endpointName:g}),R=t({type:"query",subscribe:b,forceRefetch:S,subscriptionOptions:k,endpointName:g,originalArgs:y,queryCacheKey:E,[sr]:C}),I=n.endpoints[g].select(y),P=x(R),M=I(T()),{requestId:$,abort:G}=P,z=M.requestId!==$,L=(pe=o.get(x))==null?void 0:pe[E],ne=()=>I(T()),ee=Object.assign(C?P.then(ne):z&&!L?Promise.resolve(M):Promise.all([L,P]).then(ne),{arg:y,requestId:$,subscriptionOptions:k,queryCacheKey:E,abort:G,unwrap(){return me(this,null,function*(){const ie=yield ee;if(ie.isError)throw ie.error;return ie.data})},refetch:()=>x(_(y,{subscribe:!1,forceRefetch:!0})),unsubscribe(){b&&x(s({queryCacheKey:E,requestId:$}))},updateSubscriptionOptions(ie){ee.subscriptionOptions=ie,x(h({endpointName:g,requestId:$,queryCacheKey:E,options:ie}))}});if(!L&&!z&&!C){const ie=o.get(x)||{};ie[E]=ee,o.set(x,ie),ee.then(()=>{delete ie[E],kt(ie)||o.delete(x)})}return ee};return _}function p(g){return(v,{track:_=!0,fixedCacheKey:y}={})=>(b,S)=>{const k=r({type:"mutation",endpointName:g,originalArgs:v,track:_,fixedCacheKey:y}),C=b(k),{requestId:x,abort:T,unwrap:E}=C,R=C.unwrap().then($=>({data:$})).catch($=>({error:$})),I=()=>{b(c({requestId:x,fixedCacheKey:y}))},P=Object.assign(R,{arg:C.arg,requestId:x,abort:T,unwrap:E,reset:I}),M=a.get(b)||{};return a.set(b,M),M[x]=P,P.then(()=>{delete M[x],kt(M)||a.delete(b)}),y&&(M[y]=P,P.then(()=>{M[y]===P&&(delete M[y],kt(M)||a.delete(b))})),P}}}function ya(e){return e}function Zd({reducerPath:e,baseQuery:t,context:{endpointDefinitions:r},serializeQueryArgs:n,api:i,assertTagType:o}){const a=(_,y,b,S)=>(k,C)=>{const x=r[_],T=n({queryArgs:y,endpointDefinition:x,endpointName:_});if(k(i.internalActions.queryResultPatched({queryCacheKey:T,patches:b})),!S)return;const E=i.endpoints[_].select(y)(C()),R=ro(x.providesTags,E.data,void 0,y,{},o);k(i.internalActions.updateProvidedBy({queryCacheKey:T,providedTags:R}))},s=(_,y,b,S=!0)=>(k,C)=>{const T=i.endpoints[_].select(y)(C());let E={patches:[],inversePatches:[],undo:()=>k(i.util.patchQueryData(_,y,E.inversePatches,S))};if(T.status==="uninitialized")return E;let R;if("data"in T)if(De(T.data)){const[I,P,M]=Xs(T.data,b);E.patches.push(...P),E.inversePatches.push(...M),R=I}else R=b(T.data),E.patches.push({op:"replace",path:[],value:R}),E.inversePatches.push({op:"replace",path:[],value:T.data});return k(i.util.patchQueryData(_,y,E.patches,S)),E},c=(_,y,b)=>S=>S(i.endpoints[_].initiate(y,{subscribe:!1,forceRefetch:!0,[sr]:()=>({data:b})})),h=(E,R)=>me(this,[E,R],function*(_,{signal:y,abort:b,rejectWithValue:S,fulfillWithValue:k,dispatch:C,getState:x,extra:T}){const I=r[_.endpointName];try{let P=ya,M;const $={signal:y,abort:b,dispatch:C,getState:x,extra:T,endpoint:_.endpointName,type:_.type,forced:_.type==="query"?d(_,x()):void 0},G=_.type==="query"?_[sr]:void 0;if(G?M=G():I.query?(M=yield t(I.query(_.originalArgs),$,I.extraOptions),I.transformResponse&&(P=I.transformResponse)):M=yield I.queryFn(_.originalArgs,$,I.extraOptions,z=>t(z,$,I.extraOptions)),M.error)throw new ma(M.error,M.meta);return k(yield P(M.data,M.meta,_.originalArgs),{fulfilledTimeStamp:Date.now(),baseQueryMeta:M.meta,[_t]:!0})}catch(P){let M=P;if(M instanceof ma){let $=ya;I.query&&I.transformErrorResponse&&($=I.transformErrorResponse);try{return S(yield $(M.value,M.meta,_.originalArgs),{baseQueryMeta:M.meta,[_t]:!0})}catch(G){M=G}}throw console.error(M),M}});function d(_,y){var x,T,E,R;const b=(T=(x=y[e])==null?void 0:x.queries)==null?void 0:T[_.queryCacheKey],S=(E=y[e])==null?void 0:E.config.refetchOnMountOrArgChange,k=b==null?void 0:b.fulfilledTimeStamp,C=(R=_.forceRefetch)!=null?R:_.subscribe&&S;return C?C===!0||(Number(new Date)-Number(k))/1e3>=C:!1}const m=la(`${e}/executeQuery`,h,{getPendingMeta(){return{startedTimeStamp:Date.now(),[_t]:!0}},condition(_,{getState:y}){var E,R,I;const b=y(),S=(R=(E=b[e])==null?void 0:E.queries)==null?void 0:R[_.queryCacheKey],k=S==null?void 0:S.fulfilledTimeStamp,C=_.originalArgs,x=S==null?void 0:S.originalArgs,T=r[_.endpointName];return bi(_)?!0:(S==null?void 0:S.status)==="pending"?!1:d(_,b)||dc(T)&&((I=T==null?void 0:T.forceRefetch)!=null&&I.call(T,{currentArg:C,previousArg:x,endpointState:S,state:b}))?!0:!k},dispatchConditionRejection:!0}),l=la(`${e}/executeMutation`,h,{getPendingMeta(){return{startedTimeStamp:Date.now(),[_t]:!0}}}),u=_=>"force"in _,f=_=>"ifOlderThan"in _,p=(_,y,b)=>(S,k)=>{const C=u(b)&&b.force,x=f(b)&&b.ifOlderThan,T=(R=!0)=>i.endpoints[_].initiate(y,{forceRefetch:R}),E=i.endpoints[_].select(y)(k());if(C)S(T());else if(x){const R=E==null?void 0:E.fulfilledTimeStamp;if(!R){S(T());return}(Number(new Date)-Number(new Date(R)))/1e3>=x&&S(T())}else S(T(!1))};function g(_){return y=>{var b,S;return((S=(b=y==null?void 0:y.meta)==null?void 0:b.arg)==null?void 0:S.endpointName)===_}}function v(_,y){return{matchPending:Jt(Zi(_),g(y)),matchFulfilled:Jt(rt(_),g(y)),matchRejected:Jt(At(_),g(y))}}return{queryThunk:m,mutationThunk:l,prefetch:p,updateQueryData:s,upsertQueryData:c,patchQueryData:a,buildMatchThunkActions:v}}function fc(e,t,r,n){return ro(r[e.meta.arg.endpointName][t],rt(e)?e.payload:void 0,kn(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,n)}function Rr(e,t,r){const n=e[t];n&&r(n)}function cr(e){var t;return(t="arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)!=null?t:e.requestId}function wa(e,t,r){const n=e[cr(t)];n&&r(n)}var zt={};function Xd({reducerPath:e,queryThunk:t,mutationThunk:r,context:{endpointDefinitions:n,apiUid:i,extractRehydrationInfo:o,hasRehydrationInfo:a},assertTagType:s,config:c}){const h=ge(`${e}/resetApiState`),d=Ve({name:`${e}/queries`,initialState:zt,reducers:{removeQueryResult:{reducer(y,{payload:{queryCacheKey:b}}){delete y[b]},prepare:Ut()},queryResultPatched:{reducer(y,{payload:{queryCacheKey:b,patches:S}}){Rr(y,b,k=>{k.data=ia(k.data,S.concat())})},prepare:Ut()}},extraReducers(y){y.addCase(t.pending,(b,{meta:S,meta:{arg:k}})=>{var x,T;const C=bi(k);(T=b[x=k.queryCacheKey])!=null||(b[x]={status:"uninitialized",endpointName:k.endpointName}),Rr(b,k.queryCacheKey,E=>{E.status="pending",E.requestId=C&&E.requestId?E.requestId:S.requestId,k.originalArgs!==void 0&&(E.originalArgs=k.originalArgs),E.startedTimeStamp=S.startedTimeStamp})}).addCase(t.fulfilled,(b,{meta:S,payload:k})=>{Rr(b,S.arg.queryCacheKey,C=>{var T;if(C.requestId!==S.requestId&&!bi(S.arg))return;const{merge:x}=n[S.arg.endpointName];if(C.status="fulfilled",x)if(C.data!==void 0){const{fulfilledTimeStamp:E,arg:R,baseQueryMeta:I,requestId:P}=S;let M=mr(C.data,$=>x($,k,{arg:R.originalArgs,baseQueryMeta:I,fulfilledTimeStamp:E,requestId:P}));C.data=M}else C.data=k;else C.data=(T=n[S.arg.endpointName].structuralSharing)==null||T?cc(Ne(C.data)?Vl(C.data):C.data,k):k;delete C.error,C.fulfilledTimeStamp=S.fulfilledTimeStamp})}).addCase(t.rejected,(b,{meta:{condition:S,arg:k,requestId:C},error:x,payload:T})=>{Rr(b,k.queryCacheKey,E=>{if(!S){if(E.requestId!==C)return;E.status="rejected",E.error=T!=null?T:x}})}).addMatcher(a,(b,S)=>{const{queries:k}=o(S);for(const[C,x]of Object.entries(k))((x==null?void 0:x.status)==="fulfilled"||(x==null?void 0:x.status)==="rejected")&&(b[C]=x)})}}),m=Ve({name:`${e}/mutations`,initialState:zt,reducers:{removeMutationResult:{reducer(y,{payload:b}){const S=cr(b);S in y&&delete y[S]},prepare:Ut()}},extraReducers(y){y.addCase(r.pending,(b,{meta:S,meta:{requestId:k,arg:C,startedTimeStamp:x}})=>{C.track&&(b[cr(S)]={requestId:k,status:"pending",endpointName:C.endpointName,startedTimeStamp:x})}).addCase(r.fulfilled,(b,{payload:S,meta:k})=>{k.arg.track&&wa(b,k,C=>{C.requestId===k.requestId&&(C.status="fulfilled",C.data=S,C.fulfilledTimeStamp=k.fulfilledTimeStamp)})}).addCase(r.rejected,(b,{payload:S,error:k,meta:C})=>{C.arg.track&&wa(b,C,x=>{x.requestId===C.requestId&&(x.status="rejected",x.error=S!=null?S:k)})}).addMatcher(a,(b,S)=>{const{mutations:k}=o(S);for(const[C,x]of Object.entries(k))((x==null?void 0:x.status)==="fulfilled"||(x==null?void 0:x.status)==="rejected")&&C!==(x==null?void 0:x.requestId)&&(b[C]=x)})}}),l=Ve({name:`${e}/invalidation`,initialState:zt,reducers:{updateProvidedBy:{reducer(y,b){var C,x,T,E;const{queryCacheKey:S,providedTags:k}=b.payload;for(const R of Object.values(y))for(const I of Object.values(R)){const P=I.indexOf(S);P!==-1&&I.splice(P,1)}for(const{type:R,id:I}of k){const P=(E=(x=(C=y[R])!=null?C:y[R]={})[T=I||"__internal_without_id"])!=null?E:x[T]=[];P.includes(S)||P.push(S)}},prepare:Ut()}},extraReducers(y){y.addCase(d.actions.removeQueryResult,(b,{payload:{queryCacheKey:S}})=>{for(const k of Object.values(b))for(const C of Object.values(k)){const x=C.indexOf(S);x!==-1&&C.splice(x,1)}}).addMatcher(a,(b,S)=>{var C,x,T,E;const{provided:k}=o(S);for(const[R,I]of Object.entries(k))for(const[P,M]of Object.entries(I)){const $=(E=(x=(C=b[R])!=null?C:b[R]={})[T=P||"__internal_without_id"])!=null?E:x[T]=[];for(const G of M)$.includes(G)||$.push(G)}}).addMatcher(tt(rt(t),kn(t)),(b,S)=>{const k=fc(S,"providesTags",n,s),{queryCacheKey:C}=S.meta.arg;l.caseReducers.updateProvidedBy(b,l.actions.updateProvidedBy({queryCacheKey:C,providedTags:k}))})}}),u=Ve({name:`${e}/subscriptions`,initialState:zt,reducers:{updateSubscriptionOptions(y,b){},unsubscribeQueryResult(y,b){},internal_getRTKQSubscriptions(){}}}),f=Ve({name:`${e}/internalSubscriptions`,initialState:zt,reducers:{subscriptionsUpdated:{reducer(y,b){return ia(y,b.payload)},prepare:Ut()}}}),p=Ve({name:`${e}/config`,initialState:N({online:Wd(),focused:qd(),middlewareRegistered:!1},c),reducers:{middlewareRegistered(y,{payload:b}){y.middlewareRegistered=y.middlewareRegistered==="conflict"||i!==b?"conflict":!0}},extraReducers:y=>{y.addCase(to,b=>{b.online=!0}).addCase(lc,b=>{b.online=!1}).addCase(eo,b=>{b.focused=!0}).addCase(uc,b=>{b.focused=!1}).addMatcher(a,b=>N({},b))}}),g=qs({queries:d.reducer,mutations:m.reducer,provided:l.reducer,subscriptions:f.reducer,config:p.reducer}),v=(y,b)=>g(h.match(b)?void 0:y,b),_=J(N(N(N(N(N(N({},p.actions),d.actions),u.actions),f.actions),m.actions),l.actions),{resetApiState:h});return{reducer:v,actions:_}}var ct=Symbol.for("RTKQ/skipToken"),pc={status:"uninitialized"},va=mr(pc,()=>{}),ba=mr(pc,()=>{});function ef({serializeQueryArgs:e,reducerPath:t}){const r=d=>va,n=d=>ba;return{buildQuerySelector:a,buildMutationSelector:s,selectInvalidatedBy:c,selectCachedArgsForQuery:h};function i(d){return N(N({},d),$d(d.status))}function o(d){return d[t]}function a(d,m){return l=>{const u=e({queryArgs:l,endpointDefinition:m,endpointName:d});return Ct(l===ct?r:g=>{var v,_,y;return(y=(_=(v=o(g))==null?void 0:v.queries)==null?void 0:_[u])!=null?y:va},i)}}function s(){return d=>{var f;let m;return typeof d=="object"?m=(f=cr(d))!=null?f:ct:m=d,Ct(m===ct?n:p=>{var g,v,_;return(_=(v=(g=o(p))==null?void 0:g.mutations)==null?void 0:v[m])!=null?_:ba},i)}}function c(d,m){var f;const l=d[t],u=new Set;for(const p of m.map(vi)){const g=l.provided[p.type];if(!g)continue;let v=(f=p.id!==void 0?g[p.id]:da(Object.values(g)))!=null?f:[];for(const _ of v)u.add(_)}return da(Array.from(u.values()).map(p=>{const g=l.queries[p];return g?[{queryCacheKey:p,endpointName:g.endpointName,originalArgs:g.originalArgs}]:[]}))}function h(d,m){return Object.values(d[t].queries).filter(l=>(l==null?void 0:l.endpointName)===m&&l.status!=="uninitialized").map(l=>l.originalArgs)}}var yt=WeakMap?new WeakMap:void 0,_a=({endpointName:e,queryArgs:t})=>{let r="";const n=yt==null?void 0:yt.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,a)=>ze(a)?Object.keys(a).sort().reduce((s,c)=>(s[c]=a[c],s),{}):a);ze(t)&&(yt==null||yt.set(t,i)),r=i}return`${e}(${r})`};function tf(...e){return function(r){const n=ar(h=>{var d,m;return(m=r.extractRehydrationInfo)==null?void 0:m.call(r,h,{reducerPath:(d=r.reducerPath)!=null?d:"api"})}),i=J(N({reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1,invalidationBehavior:"delayed"},r),{extractRehydrationInfo:n,serializeQueryArgs(h){let d=_a;if("serializeQueryArgs"in h.endpointDefinition){const m=h.endpointDefinition.serializeQueryArgs;d=l=>{const u=m(l);return typeof u=="string"?u:_a(J(N({},l),{queryArgs:u}))}}else r.serializeQueryArgs&&(d=r.serializeQueryArgs);return d(h)},tagTypes:[...r.tagTypes||[]]}),o={endpointDefinitions:{},batch(h){h()},apiUid:oc(),extractRehydrationInfo:n,hasRehydrationInfo:ar(h=>n(h)!=null)},a={injectEndpoints:c,enhanceEndpoints({addTagTypes:h,endpoints:d}){if(h)for(const m of h)i.tagTypes.includes(m)||i.tagTypes.push(m);if(d)for(const[m,l]of Object.entries(d))typeof l=="function"?l(o.endpointDefinitions[m]):Object.assign(o.endpointDefinitions[m]||{},l);return a}},s=e.map(h=>h.init(a,i,o));function c(h){const d=h.endpoints({query:m=>J(N({},m),{type:"query"}),mutation:m=>J(N({},m),{type:"mutation"})});for(const[m,l]of Object.entries(d))if(!(!h.overrideExisting&&m in o.endpointDefinitions)){o.endpointDefinitions[m]=l;for(const u of s)u.injectEndpoint(m,l)}return a}return a.injectEndpoints({endpoints:r.endpoints})}}function rf(e){for(let t in e)return!1;return!0}var nf=2147483647/1e3-1,of=({reducerPath:e,api:t,context:r,internalState:n})=>{const{removeQueryResult:i,unsubscribeQueryResult:o}=t.internalActions;function a(d){const m=n.currentSubscriptions[d];return!!m&&!rf(m)}const s={},c=(d,m,l)=>{var u;if(o.match(d)){const f=m.getState()[e],{queryCacheKey:p}=d.payload;h(p,(u=f.queries[p])==null?void 0:u.endpointName,m,f.config)}if(t.util.resetApiState.match(d))for(const[f,p]of Object.entries(s))p&&clearTimeout(p),delete s[f];if(r.hasRehydrationInfo(d)){const f=m.getState()[e],{queries:p}=r.extractRehydrationInfo(d);for(const[g,v]of Object.entries(p))h(g,v==null?void 0:v.endpointName,m,f.config)}};function h(d,m,l,u){var v;const f=r.endpointDefinitions[m],p=(v=f==null?void 0:f.keepUnusedDataFor)!=null?v:u.keepUnusedDataFor;if(p===1/0)return;const g=Math.max(0,Math.min(p,nf));if(!a(d)){const _=s[d];_&&clearTimeout(_),s[d]=setTimeout(()=>{a(d)||l.dispatch(i({queryCacheKey:d})),delete s[d]},g*1e3)}}return c},af=({reducerPath:e,context:t,context:{endpointDefinitions:r},mutationThunk:n,queryThunk:i,api:o,assertTagType:a,refetchQuery:s,internalState:c})=>{const{removeQueryResult:h}=o.internalActions,d=tt(rt(n),kn(n)),m=tt(rt(n,i),At(n,i));let l=[];const u=(g,v)=>{d(g)?p(fc(g,"invalidatesTags",r,a),v):m(g)?p([],v):o.util.invalidateTags.match(g)&&p(ro(g.payload,void 0,void 0,void 0,void 0,a),v)};function f(g){var v,_;for(const y in g.queries)if(((v=g.queries[y])==null?void 0:v.status)==="pending")return!0;for(const y in g.mutations)if(((_=g.mutations[y])==null?void 0:_.status)==="pending")return!0;return!1}function p(g,v){const _=v.getState(),y=_[e];if(l.push(...g),y.config.invalidationBehavior==="delayed"&&f(y))return;const b=l;if(l=[],b.length===0)return;const S=o.util.selectInvalidatedBy(_,b);t.batch(()=>{var C;const k=Array.from(S.values());for(const{queryCacheKey:x}of k){const T=y.queries[x],E=(C=c.currentSubscriptions[x])!=null?C:{};T&&(kt(E)===0?v.dispatch(h({queryCacheKey:x})):T.status!=="uninitialized"&&v.dispatch(s(T,x)))}})}return u},sf=({reducerPath:e,queryThunk:t,api:r,refetchQuery:n,internalState:i})=>{const o={},a=(l,u)=>{(r.internalActions.updateSubscriptionOptions.match(l)||r.internalActions.unsubscribeQueryResult.match(l))&&c(l.payload,u),(t.pending.match(l)||t.rejected.match(l)&&l.meta.condition)&&c(l.meta.arg,u),(t.fulfilled.match(l)||t.rejected.match(l)&&!l.meta.condition)&&s(l.meta.arg,u),r.util.resetApiState.match(l)&&d()};function s({queryCacheKey:l},u){const p=u.getState()[e].queries[l],g=i.currentSubscriptions[l];if(!p||p.status==="uninitialized")return;const v=m(g);if(!Number.isFinite(v))return;const _=o[l];_!=null&&_.timeout&&(clearTimeout(_.timeout),_.timeout=void 0);const y=Date.now()+v,b=o[l]={nextPollTimestamp:y,pollingInterval:v,timeout:setTimeout(()=>{b.timeout=void 0,u.dispatch(n(p,l))},v)}}function c({queryCacheKey:l},u){const p=u.getState()[e].queries[l],g=i.currentSubscriptions[l];if(!p||p.status==="uninitialized")return;const v=m(g);if(!Number.isFinite(v)){h(l);return}const _=o[l],y=Date.now()+v;(!_||y<_.nextPollTimestamp)&&s({queryCacheKey:l},u)}function h(l){const u=o[l];u!=null&&u.timeout&&clearTimeout(u.timeout),delete o[l]}function d(){for(const l of Object.keys(o))h(l)}function m(l={}){let u=Number.POSITIVE_INFINITY;for(let f in l)l[f].pollingInterval&&(u=Math.min(l[f].pollingInterval,u));return u}return a},cf=({reducerPath:e,context:t,api:r,refetchQuery:n,internalState:i})=>{const{removeQueryResult:o}=r.internalActions,a=(c,h)=>{eo.match(c)&&s(h,"refetchOnFocus"),to.match(c)&&s(h,"refetchOnReconnect")};function s(c,h){const d=c.getState()[e],m=d.queries,l=i.currentSubscriptions;t.batch(()=>{for(const u of Object.keys(l)){const f=m[u],p=l[u];if(!p||!f)continue;(Object.values(p).some(v=>v[h]===!0)||Object.values(p).every(v=>v[h]===void 0)&&d.config[h])&&(kt(p)===0?c.dispatch(o({queryCacheKey:u})):f.status!=="uninitialized"&&c.dispatch(n(f,u)))}})}return a},Sa=new Error("Promise never resolved before cacheEntryRemoved."),uf=({api:e,reducerPath:t,context:r,queryThunk:n,mutationThunk:i,internalState:o})=>{const a=wi(n),s=wi(i),c=rt(n,i),h={},d=(u,f,p)=>{const g=m(u);if(n.pending.match(u)){const v=p[t].queries[g],_=f.getState()[t].queries[g];!v&&_&&l(u.meta.arg.endpointName,u.meta.arg.originalArgs,g,f,u.meta.requestId)}else if(i.pending.match(u))f.getState()[t].mutations[g]&&l(u.meta.arg.endpointName,u.meta.arg.originalArgs,g,f,u.meta.requestId);else if(c(u)){const v=h[g];v!=null&&v.valueResolved&&(v.valueResolved({data:u.payload,meta:u.meta.baseQueryMeta}),delete v.valueResolved)}else if(e.internalActions.removeQueryResult.match(u)||e.internalActions.removeMutationResult.match(u)){const v=h[g];v&&(delete h[g],v.cacheEntryRemoved())}else if(e.util.resetApiState.match(u))for(const[v,_]of Object.entries(h))delete h[v],_.cacheEntryRemoved()};function m(u){return a(u)?u.meta.arg.queryCacheKey:s(u)?u.meta.requestId:e.internalActions.removeQueryResult.match(u)?u.payload.queryCacheKey:e.internalActions.removeMutationResult.match(u)?cr(u.payload):""}function l(u,f,p,g,v){const _=r.endpointDefinitions[u],y=_==null?void 0:_.onCacheEntryAdded;if(!y)return;let b={};const S=new Promise(R=>{b.cacheEntryRemoved=R}),k=Promise.race([new Promise(R=>{b.valueResolved=R}),S.then(()=>{throw Sa})]);k.catch(()=>{}),h[p]=b;const C=e.endpoints[u].select(_.type==="query"?f:p),x=g.dispatch((R,I,P)=>P),T=J(N({},g),{getCacheEntry:()=>C(g.getState()),requestId:v,extra:x,updateCachedData:_.type==="query"?R=>g.dispatch(e.util.updateQueryData(u,f,R)):void 0,cacheDataLoaded:k,cacheEntryRemoved:S}),E=y(f,T);Promise.resolve(E).catch(R=>{if(R!==Sa)throw R})}return d},lf=({api:e,context:t,queryThunk:r,mutationThunk:n})=>{const i=Zi(r,n),o=At(r,n),a=rt(r,n),s={};return(h,d)=>{var m,l,u;if(i(h)){const{requestId:f,arg:{endpointName:p,originalArgs:g}}=h.meta,v=t.endpointDefinitions[p],_=v==null?void 0:v.onQueryStarted;if(_){const y={},b=new Promise((x,T)=>{y.resolve=x,y.reject=T});b.catch(()=>{}),s[f]=y;const S=e.endpoints[p].select(v.type==="query"?g:f),k=d.dispatch((x,T,E)=>E),C=J(N({},d),{getCacheEntry:()=>S(d.getState()),requestId:f,extra:k,updateCachedData:v.type==="query"?x=>d.dispatch(e.util.updateQueryData(p,g,x)):void 0,queryFulfilled:b});_(g,C)}}else if(a(h)){const{requestId:f,baseQueryMeta:p}=h.meta;(m=s[f])==null||m.resolve({data:h.payload,meta:p}),delete s[f]}else if(o(h)){const{requestId:f,rejectedWithValue:p,baseQueryMeta:g}=h.meta;(u=s[f])==null||u.reject({error:(l=h.payload)!=null?l:h.error,isUnhandledError:!p,meta:g}),delete s[f]}}},df=({api:e,context:{apiUid:t},reducerPath:r})=>(n,i)=>{e.util.resetApiState.match(n)&&i.dispatch(e.internalActions.middlewareRegistered(t))},ff=({api:e,queryThunk:t,internalState:r})=>{const n=`${e.reducerPath}/subscriptions`;let i=null,o=null;const{updateSubscriptionOptions:a,unsubscribeQueryResult:s}=e.internalActions,c=(u,f)=>{var g,v,_,y,b,S,k,C,x;if(a.match(f)){const{queryCacheKey:T,requestId:E,options:R}=f.payload;return(g=u==null?void 0:u[T])!=null&&g[E]&&(u[T][E]=R),!0}if(s.match(f)){const{queryCacheKey:T,requestId:E}=f.payload;return u[T]&&delete u[T][E],!0}if(e.internalActions.removeQueryResult.match(f))return delete u[f.payload.queryCacheKey],!0;if(t.pending.match(f)){const{meta:{arg:T,requestId:E}}=f,R=(_=u[v=T.queryCacheKey])!=null?_:u[v]={};return R[`${E}_running`]={},T.subscribe&&(R[E]=(b=(y=T.subscriptionOptions)!=null?y:R[E])!=null?b:{}),!0}let p=!1;if(t.fulfilled.match(f)||t.rejected.match(f)){const T=u[f.meta.arg.queryCacheKey]||{},E=`${f.meta.requestId}_running`;p||(p=!!T[E]),delete T[E]}if(t.rejected.match(f)){const{meta:{condition:T,arg:E,requestId:R}}=f;if(T&&E.subscribe){const I=(k=u[S=E.queryCacheKey])!=null?k:u[S]={};I[R]=(x=(C=E.subscriptionOptions)!=null?C:I[R])!=null?x:{},p=!0}}return p},h=()=>r.currentSubscriptions,l={getSubscriptions:h,getSubscriptionCount:u=>{var g;const p=(g=h()[u])!=null?g:{};return kt(p)},isRequestSubscribed:(u,f)=>{var g;const p=h();return!!((g=p==null?void 0:p[u])!=null&&g[f])}};return(u,f)=>{if(i||(i=JSON.parse(JSON.stringify(r.currentSubscriptions))),e.util.resetApiState.match(u))return i=r.currentSubscriptions={},o=null,[!0,!1];if(e.internalActions.internal_getRTKQSubscriptions.match(u))return[!1,l];const p=c(r.currentSubscriptions,u);let g=!0;if(p){o||(o=setTimeout(()=>{const y=JSON.parse(JSON.stringify(r.currentSubscriptions)),[,b]=Xs(i,()=>y);f.next(e.internalActions.subscriptionsUpdated(b)),i=y,o=null},500));const v=typeof u.type=="string"&&!!u.type.startsWith(n),_=t.rejected.match(u)&&u.meta.condition&&!!u.meta.arg.subscribe;g=!v&&!_}return[g,!1]}};function pf(e){const{reducerPath:t,queryThunk:r,api:n,context:i}=e,{apiUid:o}=i,a={invalidateTags:ge(`${t}/invalidateTags`)},s=m=>m.type.startsWith(`${t}/`),c=[df,of,af,sf,uf,lf];return{middleware:m=>{let l=!1,u={currentSubscriptions:{}};const f=J(N({},e),{internalState:u,refetchQuery:d,isThisApiSliceAction:s}),p=c.map(_=>_(f)),g=ff(f),v=cf(f);return _=>y=>{if(!Vs(y))return _(y);l||(l=!0,m.dispatch(n.internalActions.middlewareRegistered(o)));const b=J(N({},m),{next:_}),S=m.getState(),[k,C]=g(y,b,S);let x;if(k?x=_(y):x=C,m.getState()[t]&&(v(y,b,S),s(y)||i.hasRehydrationInfo(y)))for(let T of p)T(y,b,S);return x}},actions:a};function d(m,l,u={}){return r(N({type:"query",endpointName:m.endpointName,originalArgs:m.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:l},u))}}function Ge(e,...t){return Object.assign(e,...t)}var Ca=Symbol(),hf=()=>({name:Ca,init(e,{baseQuery:t,tagTypes:r,reducerPath:n,serializeQueryArgs:i,keepUnusedDataFor:o,refetchOnMountOrArgChange:a,refetchOnFocus:s,refetchOnReconnect:c,invalidationBehavior:h},d){td();const m=z=>z;Object.assign(e,{reducerPath:n,endpoints:{},internalActions:{onOnline:to,onOffline:lc,onFocus:eo,onFocusLost:uc},util:{}});const{queryThunk:l,mutationThunk:u,patchQueryData:f,updateQueryData:p,upsertQueryData:g,prefetch:v,buildMatchThunkActions:_}=Zd({baseQuery:t,reducerPath:n,context:d,api:e,serializeQueryArgs:i,assertTagType:m}),{reducer:y,actions:b}=Xd({context:d,queryThunk:l,mutationThunk:u,reducerPath:n,assertTagType:m,config:{refetchOnFocus:s,refetchOnReconnect:c,refetchOnMountOrArgChange:a,keepUnusedDataFor:o,reducerPath:n,invalidationBehavior:h}});Ge(e.util,{patchQueryData:f,updateQueryData:p,upsertQueryData:g,prefetch:v,resetApiState:b.resetApiState}),Ge(e.internalActions,b);const{middleware:S,actions:k}=pf({reducerPath:n,context:d,queryThunk:l,mutationThunk:u,api:e,assertTagType:m});Ge(e.util,k),Ge(e,{reducer:y,middleware:S});const{buildQuerySelector:C,buildMutationSelector:x,selectInvalidatedBy:T,selectCachedArgsForQuery:E}=ef({serializeQueryArgs:i,reducerPath:n});Ge(e.util,{selectInvalidatedBy:T,selectCachedArgsForQuery:E});const{buildInitiateQuery:R,buildInitiateMutation:I,getRunningMutationThunk:P,getRunningMutationsThunk:M,getRunningQueriesThunk:$,getRunningQueryThunk:G}=Gd({queryThunk:l,mutationThunk:u,api:e,serializeQueryArgs:i,context:d});return Ge(e.util,{getRunningMutationThunk:P,getRunningMutationsThunk:M,getRunningQueryThunk:G,getRunningQueriesThunk:$}),{name:Ca,injectEndpoint(z,L){var ee,pe;const ne=e;(pe=(ee=ne.endpoints)[z])!=null||(ee[z]={}),dc(L)?Ge(ne.endpoints[z],{name:z,select:C(z,L),initiate:R(z,L)},_(l,z)):Kd(L)&&Ge(ne.endpoints[z],{name:z,select:x(),initiate:I(z)},_(u,z))}}}}),hc={exports:{}},mc={};const mf=ml(Zt);/**
9
9
  * @license React
10
10
  * use-sync-external-store-with-selector.production.min.js
11
11
  *
@@ -13,14 +13,14 @@ var pu=Object.defineProperty,hu=Object.defineProperties;var mu=Object.getOwnProp
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 yr=mf;function gf(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var yf=typeof Object.is=="function"?Object.is:gf,wf=yr.useSyncExternalStore,vf=yr.useRef,bf=yr.useEffect,_f=yr.useMemo,Sf=yr.useDebugValue;mc.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var o=vf(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=_f(function(){function c(u){if(!f){if(f=!0,w=u,u=n(u),i!==void 0&&a.hasValue){var d=a.value;if(i(d,u))return m=d}return m=u}if(d=m,yf(w,u))return d;var p=n(u);return i!==void 0&&i(d,p)?d:(w=u,m=p)}var f=!1,w,m,l=r===void 0?null:r;return[function(){return c(t())},l===null?void 0:function(){return c(l())}]},[t,r,n,i]);var s=wf(e,o[0],o[1]);return bf(function(){a.hasValue=!0,a.value=s},[s]),Sf(s),s};hc.exports=mc;var Cf=hc.exports,_e="default"in Zt?Cs:Zt,ka=Symbol.for("react-redux-context"),xa=typeof globalThis!="undefined"?globalThis:{};function kf(){var r;if(!_e.createContext)return{};const e=(r=xa[ka])!=null?r:xa[ka]=new Map;let t=e.get(_e.createContext);return t||(t=_e.createContext(null),e.set(_e.createContext,t)),t}var nt=kf(),xf=()=>{throw new Error("uSES not initialized!")};function no(e=nt){return function(){return _e.useContext(e)}}var gc=no(),yc=xf,Tf=e=>{yc=e},Ef=(e,t)=>e===t;function Af(e=nt){const t=e===nt?gc:no(e);return function(n,i={}){const{equalityFn:o=Ef,devModeChecks:a={}}=typeof i=="function"?{equalityFn:i}:i,{store:s,subscription:c,getServerState:f,stabilityCheck:w,identityFunctionCheck:m}=t();_e.useRef(!0);const l=_e.useCallback({[n.name](d){return n(d)}}[n.name],[n,w,a.stabilityCheck]),u=yc(c.addNestedSub,s.getState,f||s.getState,l,o);return _e.useDebugValue(u),u}}var wc=Af();function vc(e){e()}function Rf(){let e=null,t=null;return{clear(){e=null,t=null},notify(){vc(()=>{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 Ta={notify(){},get:()=>[]};function Pf(e,t){let r,n=Ta,i=0,o=!1;function a(p){w();const h=n.subscribe(p);let v=!1;return()=>{v||(v=!0,h(),m())}}function s(){n.notify()}function c(){d.onStateChange&&d.onStateChange()}function f(){return o}function w(){i++,r||(r=t?t.addNestedSub(c):e.subscribe(c),n=Rf())}function m(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=Ta)}function l(){o||(o=!0,w())}function u(){o&&(o=!1,m())}const d={addNestedSub:a,notifyNestedSubs:s,handleChangeWrapper:c,isSubscribed:f,trySubscribe:l,tryUnsubscribe:u,getListeners:()=>n};return d}var If=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",Mf=If?_e.useLayoutEffect:_e.useEffect;function Ea(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function Gr(e,t){if(Ea(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])||!Ea(e[r[i]],t[r[i]]))return!1;return!0}function Ff({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const a=_e.useMemo(()=>{const f=Pf(e);return{store:e,subscription:f,getServerState:n?()=>n:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,n,i,o]),s=_e.useMemo(()=>e.getState(),[e]);Mf(()=>{const{subscription:f}=a;return f.onStateChange=f.notifyNestedSubs,f.trySubscribe(),s!==e.getState()&&f.notifyNestedSubs(),()=>{f.tryUnsubscribe(),f.onStateChange=void 0}},[a,s]);const c=t||nt;return _e.createElement(c.Provider,{value:a},r)}var Nf=Ff;function bc(e=nt){const t=e===nt?gc:no(e);return function(){const{store:n}=t();return n}}var _c=bc();function Df(e=nt){const t=e===nt?_c:bc(e);return function(){return t().dispatch}}var Sc=Df(),Of=vc;Tf(Cf.useSyncExternalStoreWithSelector);function Aa(e,t,r,n){const i=ce(()=>({queryArgs:e,serialized:typeof e=="object"?t({queryArgs:e,endpointDefinition:r,endpointName:n}):e}),[e,t,r,n]),o=ve(i);return Z(()=>{o.current.serialized!==i.serialized&&(o.current=i)},[i]),o.current.serialized===i.serialized?o.current.queryArgs:e}var Vn=Symbol();function Qn(e){const t=ve(e);return Z(()=>{Gr(t.current,e)||(t.current=e)},[e]),Gr(t.current,e)?t.current:e}var wt=WeakMap?new WeakMap:void 0,Bf=({endpointName:e,queryArgs:t})=>{let r="";const n=wt==null?void 0:wt.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,a)=>ze(a)?Object.keys(a).sort().reduce((s,c)=>(s[c]=a[c],s),{}):a);ze(t)&&(wt==null||wt.set(t,i)),r=i}return`${e}(${r})`},Lf=typeof window!="undefined"&&window.document&&window.document.createElement?mt:Z,$f=e=>e.isUninitialized?J(N({},e),{isUninitialized:!1,isFetching:!0,isLoading:e.data===void 0,status:sc.pending}):e;function Uf({api:e,moduleOptions:{batch:t,hooks:{useDispatch:r,useSelector:n,useStore:i},unstable__sideEffectsInRender:o},serializeQueryArgs:a,context:s}){const c=o?u=>u():Z;return{buildQueryHooks:m,buildMutationHook:l,usePrefetch:w};function f(u,d,p){if(d!=null&&d.endpointName&&u.isUninitialized){const{endpointName:S}=d,k=s.endpointDefinitions[S];a({queryArgs:d.originalArgs,endpointDefinition:k,endpointName:S})===a({queryArgs:p,endpointDefinition:k,endpointName:S})&&(d=void 0)}let h=u.isSuccess?u.data:d==null?void 0:d.data;h===void 0&&(h=u.data);const v=h!==void 0,_=u.isLoading,g=!v&&_,b=u.isSuccess||_&&v;return J(N({},u),{data:h,currentData:u.data,isFetching:_,isLoading:g,isSuccess:b})}function w(u,d){const p=r(),h=Qn(d);return vt((v,_)=>p(e.util.prefetch(u,v,N(N({},h),_))),[u,p,h])}function m(u){const d=(v,{refetchOnReconnect:_,refetchOnFocus:g,refetchOnMountOrArgChange:b,skip:S=!1,pollingInterval:k=0}={})=>{const{initiate:C}=e.endpoints[u],x=r(),T=ve();if(!T.current){const L=x(e.internalActions.internal_getRTKQSubscriptions());T.current=L}const E=Aa(S?ct:v,Bf,s.endpointDefinitions[u],u),R=Qn({refetchOnReconnect:_,refetchOnFocus:g,pollingInterval:k}),I=ve(!1),P=ve();let{queryCacheKey:M,requestId:$}=P.current||{},G=!1;M&&$&&(G=T.current.isRequestSubscribed(M,$));const z=!G&&I.current;return c(()=>{I.current=G}),c(()=>{z&&(P.current=void 0)},[z]),c(()=>{var ee;const L=P.current;if(E===ct){L==null||L.unsubscribe(),P.current=void 0;return}const ne=(ee=P.current)==null?void 0:ee.subscriptionOptions;if(!L||L.arg!==E){L==null||L.unsubscribe();const fe=x(C(E,{subscriptionOptions:R,forceRefetch:b}));P.current=fe}else R!==ne&&L.updateSubscriptionOptions(R)},[x,C,b,E,R,z]),Z(()=>()=>{var L;(L=P.current)==null||L.unsubscribe(),P.current=void 0},[]),ce(()=>({refetch:()=>{var L;if(!P.current)throw new Error(Ee(38));return(L=P.current)==null?void 0:L.refetch()}}),[])},p=({refetchOnReconnect:v,refetchOnFocus:_,pollingInterval:g=0}={})=>{const{initiate:b}=e.endpoints[u],S=r(),[k,C]=he(Vn),x=ve(),T=Qn({refetchOnReconnect:v,refetchOnFocus:_,pollingInterval:g});c(()=>{var P,M;const I=(P=x.current)==null?void 0:P.subscriptionOptions;T!==I&&((M=x.current)==null||M.updateSubscriptionOptions(T))},[T]);const E=ve(T);c(()=>{E.current=T},[T]);const R=vt(function(I,P=!1){let M;return t(()=>{var $;($=x.current)==null||$.unsubscribe(),x.current=M=S(b(I,{subscriptionOptions:E.current,forceRefetch:!P})),C(I)}),M},[S,b]);return Z(()=>()=>{var I;(I=x==null?void 0:x.current)==null||I.unsubscribe()},[]),Z(()=>{k!==Vn&&!x.current&&R(k,!0)},[k,R]),ce(()=>[R,k],[R,k])},h=(v,{skip:_=!1,selectFromResult:g}={})=>{const{select:b}=e.endpoints[u],S=Aa(_?ct:v,a,s.endpointDefinitions[u],u),k=ve(),C=ce(()=>Ct([b(S),(I,P)=>P,I=>S],f),[b,S]),x=ce(()=>g?Ct([C],g,{devModeChecks:{identityFunctionCheck:"never"}}):C,[C,g]),T=n(I=>x(I,k.current),Gr),E=i(),R=C(E.getState(),k.current);return Lf(()=>{k.current=R},[R]),T};return{useQueryState:h,useQuerySubscription:d,useLazyQuerySubscription:p,useLazyQuery(v){const[_,g]=p(v),b=h(g,J(N({},v),{skip:g===Vn})),S=ce(()=>({lastArg:g}),[g]);return ce(()=>[_,b,S],[_,b,S])},useQuery(v,_){const g=d(v,_),b=h(v,N({selectFromResult:v===ct||_!=null&&_.skip?void 0:$f},_)),{data:S,status:k,isLoading:C,isSuccess:x,isError:T,error:E}=b;return Wr({data:S,status:k,isLoading:C,isSuccess:x,isError:T,error:E}),ce(()=>N(N({},b),g),[b,g])}}}function l(u){return({selectFromResult:d,fixedCacheKey:p}={})=>{const{select:h,initiate:v}=e.endpoints[u],_=r(),[g,b]=he();Z(()=>()=>{g!=null&&g.arg.fixedCacheKey||g==null||g.reset()},[g]);const S=vt(function(ee){const fe=_(v(ee,{fixedCacheKey:p}));return b(fe),fe},[_,v,p]),{requestId:k}=g||{},C=ce(()=>h({fixedCacheKey:p,requestId:g==null?void 0:g.requestId}),[p,g,h]),x=ce(()=>d?Ct([C],d):C,[d,C]),T=n(x,Gr),E=p==null?g==null?void 0:g.arg.originalArgs:void 0,R=vt(()=>{t(()=>{g&&b(void 0),p&&_(e.internalActions.removeMutationResult({requestId:k,fixedCacheKey:p}))})},[_,p,g,k]),{endpointName:I,data:P,status:M,isLoading:$,isSuccess:G,isError:z,error:L}=T;Wr({endpointName:I,data:P,status:M,isLoading:$,isSuccess:G,isError:z,error:L});const ne=ce(()=>J(N({},T),{originalArgs:E,reset:R}),[T,E,R]);return ce(()=>[S,ne],[S,ne])}}}function zf(e){return e.type==="query"}function jf(e){return e.type==="mutation"}function Jn(e){return e.replace(e[0],e[0].toUpperCase())}function Pr(e,...t){return Object.assign(e,...t)}var Hf=Symbol(),Wf=(i={})=>{var o=i,{batch:e=Of,hooks:t={useDispatch:Sc,useSelector:wc,useStore:_c},unstable__sideEffectsInRender:r=!1}=o,n=We(o,["batch","hooks","unstable__sideEffectsInRender"]);return{name:Hf,init(a,{serializeQueryArgs:s},c){const f=a,{buildQueryHooks:w,buildMutationHook:m,usePrefetch:l}=Uf({api:a,moduleOptions:{batch:e,hooks:t,unstable__sideEffectsInRender:r},serializeQueryArgs:s,context:c});return Pr(f,{usePrefetch:l}),Pr(c,{batch:e}),{injectEndpoint(u,d){if(zf(d)){const{useQuery:p,useLazyQuery:h,useLazyQuerySubscription:v,useQueryState:_,useQuerySubscription:g}=w(u);Pr(f.endpoints[u],{useQuery:p,useLazyQuery:h,useLazyQuerySubscription:v,useQueryState:_,useQuerySubscription:g}),a[`use${Jn(u)}Query`]=p,a[`useLazy${Jn(u)}Query`]=h}else if(jf(d)){const p=m(u);Pr(f.endpoints[u],{useMutation:p}),a[`use${Jn(u)}Mutation`]=p}}}}}},Cc=tf(hf(),Wf());const kc=(e,t,r)=>me(void 0,null,function*(){const n=t.getState().session.backendUrl;return Jd({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)}),Xe=Cc({baseQuery:kc,reducerPath:"backendApi",endpoints:e=>({campaignConnect:e.query({query:()=>({url:"super-campaign/backend/campaign-connect",method:"GET"}),keepUnusedDataFor:Number.MAX_SAFE_INTEGER}),byofCampaignConnect:e.query({query:t=>({url:`super-campaign/backend/byof-campaign-connect/${t}`,method:"GET"})}),appLoaded:e.mutation({query:()=>({url:"super-campaign/backend/app-loaded",method:"POST"})}),errorLogs:e.mutation({query:t=>({url:"super-campaign/backend/error-logs",method:"POST",body:t})})})}),{useLazyCampaignConnectQuery:qf,useCampaignConnectQuery:Vf,useByofCampaignConnectQuery:xc,useAppLoadedMutation:Qf,useErrorLogsMutation:Zg}=Xe;var _i={exports:{}};(function(e,t){(function(r,n){var i="1.0.37",o="",a="?",s="function",c="undefined",f="object",w="string",m="major",l="model",u="name",d="type",p="vendor",h="version",v="architecture",_="console",g="mobile",b="tablet",S="smarttv",k="wearable",C="embedded",x=500,T="Amazon",E="Apple",R="ASUS",I="BlackBerry",P="Browser",M="Chrome",$="Edge",G="Firefox",z="Google",L="Huawei",ne="LG",ee="Microsoft",fe="Motorola",He="Opera",ie="Samsung",Ot="Sharp",oe="Sony",Pe="Xiaomi",Mn="Zebra",go="Facebook",yo="Chromium OS",wo="Mac OS",lu=function(U,V){var B={};for(var Y in U)V[Y]&&V[Y].length%2===0?B[Y]=V[Y].concat(U[Y]):B[Y]=U[Y];return B},Sr=function(U){for(var V={},B=0;B<U.length;B++)V[U[B].toUpperCase()]=U[B];return V},vo=function(U,V){return typeof U===w?Bt(V).indexOf(Bt(U))!==-1:!1},Bt=function(U){return U.toLowerCase()},du=function(U){return typeof U===w?U.replace(/[^\d\.]/g,o).split(".")[0]:n},Fn=function(U,V){if(typeof U===w)return U=U.replace(/^\s\s*/,o),typeof V===c?U:U.substring(0,x)},Lt=function(U,V){for(var B=0,Y,Ye,De,q,O,Oe;B<V.length&&!O;){var Dn=V[B],So=V[B+1];for(Y=Ye=0;Y<Dn.length&&!O&&Dn[Y];)if(O=Dn[Y++].exec(U),O)for(De=0;De<So.length;De++)Oe=O[++Ye],q=So[De],typeof q===f&&q.length>0?q.length===2?typeof q[1]==s?this[q[0]]=q[1].call(this,Oe):this[q[0]]=q[1]:q.length===3?typeof q[1]===s&&!(q[1].exec&&q[1].test)?this[q[0]]=Oe?q[1].call(this,Oe,q[2]):n:this[q[0]]=Oe?Oe.replace(q[1],q[2]):n:q.length===4&&(this[q[0]]=Oe?q[3].call(this,Oe.replace(q[1],q[2])):n):this[q]=Oe||n;B+=2}},Nn=function(U,V){for(var B in V)if(typeof V[B]===f&&V[B].length>0){for(var Y=0;Y<V[B].length;Y++)if(vo(V[B][Y],U))return B===a?n:B}else if(vo(V[B],U))return B===a?n:B;return U},fu={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},bo={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},_o={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[h,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,h],[/opios[\/ ]+([\w\.]+)/i],[h,[u,He+" Mini"]],[/\bopr\/([\w\.]+)/i],[h,[u,He]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[h,[u,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[u,h],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[h,[u,"UC"+P]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[h,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[h,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[h,[u,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[h,[u,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[h,[u,"Smart Lenovo "+P]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure "+P],h],[/\bfocus\/([\w\.]+)/i],[h,[u,G+" Focus"]],[/\bopt\/([\w\.]+)/i],[h,[u,He+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[h,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[h,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[h,[u,He+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[h,[u,"MIUI "+P]],[/fxios\/([-\w\.]+)/i],[h,[u,G]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360 "+P]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1 "+P],h],[/samsungbrowser\/([\w\.]+)/i],[h,[u,ie+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],h],[/metasr[\/ ]?([\d\.]+)/i],[h,[u,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[u,"Sogou Mobile"],h],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[u,h],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,go],h],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[u,h],[/\bgsa\/([\w\.]+) .*safari\//i],[h,[u,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[h,[u,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[h,[u,M+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,M+" WebView"],h],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[h,[u,"Android "+P]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,h],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[h,[u,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[h,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[h,Nn,fu]],[/(webkit|khtml)\/([\w\.]+)/i],[u,h],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],h],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[h,[u,G+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[u,h],[/(cobalt)\/([\w\.]+)/i],[u,[h,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[v,"amd64"]],[/(ia32(?=;))/i],[[v,Bt]],[/((?:i[346]|x)86)[;\)]/i],[[v,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[v,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[v,"armhf"]],[/windows (ce|mobile); ppc;/i],[[v,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[v,/ower/,o,Bt]],[/(sun4\w)[;\)]/i],[[v,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[v,Bt]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[l,[p,ie],[d,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[p,ie],[d,g]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[l,[p,E],[d,g]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[p,E],[d,b]],[/(macintosh);/i],[l,[p,E]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[p,Ot],[d,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[p,L],[d,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[l,[p,L],[d,g]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[l,/_/g," "],[p,Pe],[d,g]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[p,Pe],[d,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[p,"OPPO"],[d,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[p,"Vivo"],[d,g]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[l,[p,"Realme"],[d,g]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[l,[p,fe],[d,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[p,fe],[d,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[p,ne],[d,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[p,ne],[d,g]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[p,"Lenovo"],[d,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[p,"Nokia"],[d,g]],[/(pixel c)\b/i],[l,[p,z],[d,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[p,z],[d,g]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[p,oe],[d,g]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[p,oe],[d,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[p,"OnePlus"],[d,g]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[p,T],[d,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[p,T],[d,g]],[/(playbook);[-\w\),; ]+(rim)/i],[l,p,[d,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[p,I],[d,g]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[p,R],[d,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[p,R],[d,g]],[/(nexus 9)/i],[l,[p,"HTC"],[d,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[p,[l,/_/g," "],[d,g]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[p,"Acer"],[d,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[p,"Meizu"],[d,g]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[l,[p,"Ulefone"],[d,g]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[p,l,[d,g]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[p,l,[d,b]],[/(surface duo)/i],[l,[p,ee],[d,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[p,"Fairphone"],[d,g]],[/(u304aa)/i],[l,[p,"AT&T"],[d,g]],[/\bsie-(\w*)/i],[l,[p,"Siemens"],[d,g]],[/\b(rct\w+) b/i],[l,[p,"RCA"],[d,b]],[/\b(venue[\d ]{2,7}) b/i],[l,[p,"Dell"],[d,b]],[/\b(q(?:mv|ta)\w+) b/i],[l,[p,"Verizon"],[d,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[p,"Barnes & Noble"],[d,b]],[/\b(tm\d{3}\w+) b/i],[l,[p,"NuVision"],[d,b]],[/\b(k88) b/i],[l,[p,"ZTE"],[d,b]],[/\b(nx\d{3}j) b/i],[l,[p,"ZTE"],[d,g]],[/\b(gen\d{3}) b.+49h/i],[l,[p,"Swiss"],[d,g]],[/\b(zur\d{3}) b/i],[l,[p,"Swiss"],[d,b]],[/\b((zeki)?tb.*\b) b/i],[l,[p,"Zeki"],[d,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[p,"Dragon Touch"],l,[d,b]],[/\b(ns-?\w{0,9}) b/i],[l,[p,"Insignia"],[d,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[p,"NextBook"],[d,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[p,"Voice"],l,[d,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[p,"LvTel"],l,[d,g]],[/\b(ph-1) /i],[l,[p,"Essential"],[d,g]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[p,"Envizen"],[d,b]],[/\b(trio[-\w\. ]+) b/i],[l,[p,"MachSpeed"],[d,b]],[/\btu_(1491) b/i],[l,[p,"Rotor"],[d,b]],[/(shield[\w ]+) b/i],[l,[p,"Nvidia"],[d,b]],[/(sprint) (\w+)/i],[p,l,[d,g]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[p,ee],[d,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[p,Mn],[d,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[p,Mn],[d,g]],[/smart-tv.+(samsung)/i],[p,[d,S]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[p,ie],[d,S]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[p,ne],[d,S]],[/(apple) ?tv/i],[p,[l,E+" TV"],[d,S]],[/crkey/i],[[l,M+"cast"],[p,z],[d,S]],[/droid.+aft(\w+)( bui|\))/i],[l,[p,T],[d,S]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[l,[p,Ot],[d,S]],[/(bravia[\w ]+)( bui|\))/i],[l,[p,oe],[d,S]],[/(mitv-\w{5}) bui/i],[l,[p,Pe],[d,S]],[/Hbbtv.*(technisat) (.*);/i],[p,l,[d,S]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[p,Fn],[l,Fn],[d,S]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[d,S]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[p,l,[d,_]],[/droid.+; (shield) bui/i],[l,[p,"Nvidia"],[d,_]],[/(playstation [345portablevi]+)/i],[l,[p,oe],[d,_]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[p,ee],[d,_]],[/((pebble))app/i],[p,l,[d,k]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[l,[p,E],[d,k]],[/droid.+; (glass) \d/i],[l,[p,z],[d,k]],[/droid.+; (wt63?0{2,3})\)/i],[l,[p,Mn],[d,k]],[/(quest( 2| pro)?)/i],[l,[p,go],[d,k]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[p,[d,C]],[/(aeobc)\b/i],[l,[p,T],[d,C]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[l,[d,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[d,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[d,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[d,g]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[p,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[h,[u,$+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[u,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[u,h],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,h],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[u,[h,Nn,bo]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[h,Nn,bo],[u,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,wo],[h,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[h,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,h],[/\(bb(10);/i],[h,[u,I]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[h,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[h,[u,G+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[u,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[h,[u,"watchOS"]],[/crkey\/([\d\.]+)/i],[h,[u,M+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[u,yo],h],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[u,h],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],h],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[u,h]]},Ie=function(U,V){if(typeof U===f&&(V=U,U=n),!(this instanceof Ie))return new Ie(U,V).getResult();var B=typeof r!==c&&r.navigator?r.navigator:n,Y=U||(B&&B.userAgent?B.userAgent:o),Ye=B&&B.userAgentData?B.userAgentData:n,De=V?lu(_o,V):_o,q=B&&B.userAgent==Y;return this.getBrowser=function(){var O={};return O[u]=n,O[h]=n,Lt.call(O,Y,De.browser),O[m]=du(O[h]),q&&B&&B.brave&&typeof B.brave.isBrave==s&&(O[u]="Brave"),O},this.getCPU=function(){var O={};return O[v]=n,Lt.call(O,Y,De.cpu),O},this.getDevice=function(){var O={};return O[p]=n,O[l]=n,O[d]=n,Lt.call(O,Y,De.device),q&&!O[d]&&Ye&&Ye.mobile&&(O[d]=g),q&&O[l]=="Macintosh"&&B&&typeof B.standalone!==c&&B.maxTouchPoints&&B.maxTouchPoints>2&&(O[l]="iPad",O[d]=b),O},this.getEngine=function(){var O={};return O[u]=n,O[h]=n,Lt.call(O,Y,De.engine),O},this.getOS=function(){var O={};return O[u]=n,O[h]=n,Lt.call(O,Y,De.os),q&&!O[u]&&Ye&&Ye.platform!="Unknown"&&(O[u]=Ye.platform.replace(/chrome os/i,yo).replace(/macos/i,wo)),O},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Y},this.setUA=function(O){return Y=typeof O===w&&O.length>x?Fn(O,x):O,this},this.setUA(Y),this};Ie.VERSION=i,Ie.BROWSER=Sr([u,h,m]),Ie.CPU=Sr([v]),Ie.DEVICE=Sr([l,p,d,_,g,S,b,k,C]),Ie.ENGINE=Ie.OS=Sr([u,h]),e.exports&&(t=e.exports=Ie),t.UAParser=Ie;var gt=typeof r!==c&&(r.jQuery||r.Zepto);if(gt&&!gt.ua){var Cr=new Ie;gt.ua=Cr.getResult(),gt.ua.get=function(){return Cr.getUA()},gt.ua.set=function(U){Cr.setUA(U);var V=Cr.getResult();for(var B in V)gt.ua[B]=V[B]}}})(typeof window=="object"?window:hl)})(_i,_i.exports);var Jf=_i.exports;const Kn=new Jf.UAParser,Tc=()=>/iPad|iPhone|iPod/.test(navigator.userAgent),Ec=()=>/Android/.test(navigator.userAgent),pt=()=>Ec()||Tc(),Ac=()=>({deviceType:Ec()||Tc()?"Mobile":"Desktop",platform:Kn.getOS().name,Browser:Kn.getBrowser().name,"Browser Version":Kn.getBrowser().version}),Kt=Cc({baseQuery:kc,reducerPath:"segmentApi",endpoints:e=>({segmentIdentify:e.mutation({query:()=>({url:"super-campaign/backend/segment/identify",method:"POST"})}),segmentTrack:e.mutation({query:({event:t,properties:r})=>({url:"super-campaign/backend/segment/t",method:"POST",body:{event:t,properties:N(N({},r),Ac())}})}),segmentPage:e.mutation({query:({event:t,properties:r})=>({url:"super-campaign/backend/segment/p",method:"POST",body:{event:t,properties:r}})})})}),{useSegmentIdentifyMutation:Kf,useSegmentTrackMutation:Yf,useSegmentPageMutation:Xg}=Kt,Gf={selectedVariants:{}},Si=Ve({name:"experimentsData",initialState:Gf,reducers:{setExperiment:(e,t)=>{const{experimentName:r,selectedVariant:n}=t.payload;return e.selectedVariants[r]||(e.selectedVariants[r]=n),e}}}),{setExperiment:Zf}=Si.actions,Ci=Ve({name:"session",initialState:{},reducers:{setSession:(e,t)=>t.payload}}),{setSession:Xf}=Ci.actions,ki=Ve({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,fundName:t.payload.fundName}},clearSelectedFund:e=>{e.selectedFund=void 0}}}),{setFunds:ep,setSelectedFund:io,clearSelectedFund:qe}=ki.actions,ut=Sd({reducer:{[Ci.name]:Ci.reducer,[Xe.reducerPath]:Xe.reducer,[Kt.reducerPath]:Kt.reducer,[ki.reducerPath]:ki.reducer,[Si.reducerPath]:Si.reducer},middleware:e=>e().concat(Xe.middleware,Kt.middleware)}),wr=()=>Sc(),Re=wc,xn="32367272075001",Tn="slate",de=e=>{document.dispatchEvent(new CustomEvent(e.type,{detail:e}))},tp=()=>{de({sender:"byof-engagement",type:"continue",reason:"No content to display"})},rp=()=>{de({sender:"byof-engagement",type:"continue",reason:"Continue button was clicked"})},np=()=>{de({sender:"byof-engagement",type:"continue",reason:"Timeout, or a backend error has occurred"})},ip=()=>{const[e]=Yf();return()=>{de({sender:"super-campaign",type:"choose-another-fund-requested"}),e({event:"FeaturedFunds Skipped",properties:{method:"button"}})}},op=e=>{de({sender:"super-campaign",type:"fund-panel-shown",shownFunds:e.map(t=>({fundId:t.fundId,fundType:t.fundType}))})},ap=e=>{de({sender:"super-campaign",type:"fund-tile-clicked",fundId:e.fundId,fundType:e.fundType,fundName:e.name,fundUsi:e.fundId===Tn?xn:void 0})},re=e=>{de({sender:"super-campaign",type:"fund-pds-viewed",pageName:"Panel Fund Page",fundName:e.name,fundUsi:e.fundId===Tn?xn:void 0})},sp=()=>{de({sender:"super-campaign",type:"disclaimer-accepted"})},cp=()=>{de({sender:"super-campaign",type:"disclaimer-viewed"})},Ht=(e,t)=>{de({sender:e,type:"promoted-fund-joined",fundJoinInfo:t})},up=()=>{de({sender:"super-campaign",type:"super-campaign-loaded"})},lp=e=>{de({sender:"super-campaign",type:"super-campaign-load-failed",reason:e})},dp=e=>{de({sender:"super-campaign",type:"super-campaign-failed",reason:e})},fp=()=>{de({sender:"featured-funds",type:"back-clicked"})},pp=e=>{de({sender:"featured-funds",type:"featured-fund-panel-shown",shownFunds:e.map(t=>({fundId:t.fundId,fundType:"promoted"}))})},hp=e=>{de({sender:"featured-funds",type:"continue-clicked",fundId:e.fundId,fundName:e.name,fundType:"promoted",fundUsi:e.fundId.toString()===Tn?xn:void 0})},Rc=()=>{de({sender:"featured-funds",type:"cancel-clicked"})};var mp=0;function Zr(e,t,r,n,i,o){var a,s,c={};for(s in t)s=="ref"?a=t[s]:c[s]=t[s];var f={type:e,props:c,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--mp,__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 F.vnode&&F.vnode(f),f}var Ae=Ce;function y(e,t,r){return _n.call(t,"css")?Zr(Hs,js(e,t),r):Zr(e,t,r)}function A(e,t,r){return _n.call(t,"css")?Zr(Hs,js(e,t),r):Zr(e,t,r)}const gp=j.a({fontWeight:"500",textDecorationLine:"underline",textUnderlineOffset:"2px",":hover":{"--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))"}}),yp="_extnav=true",D=i=>{var o=i,{link:e,onClick:t,children:r}=o,n=We(o,["link","onClick","children"]);const a=e.indexOf("?")===-1?"?":"&",s=`${e}${a}${yp}`;return y(gp,J(N({target:"_blank",href:s,onClick:t},n),{children:r}))},wp=""+new URL("assets/logo-australian-D0VAGS6p.svg",import.meta.url).href,vp="AustralianSuper",bp="https://www.australiansuper.com/tools-and-advice/learn/product-disclosure-statements?utm_medium=digital&utm_source=pds_choose&utm_campaign=new_channels_flare|join|fy25|q1|august",_p="https://www.australiansuper.com/tools-and-advice/learn/target-market-determinations?utm_medium=digital&utm_source=tmd&utm_campaign=new_channels_flare|join|fy25|q1|august",xi={fundId:"australian-super-default",name:vp,logo:wp,iframeType:"PromotedFundJoinV2",features:[A("p",{children:["One in seven working Australians are with AustralianSuper",y("sup",{css:{fontSize:"0.625rem"},children:"1"}),"."]}),y("p",{children:"Digital tools and resources for super management and future planning."}),y("p",{children:"Access to a wide range of investment options."})],featureSubText:void 0,disclaimer:A("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:[y("p",{children:"1. Source: Australian Bureau of Statistics (Labour force) December 2023 and AustralianSuper Member Data."}),A("p",{children:["You should consider the"," ",y(D,{onClick:()=>re(xi),link:bp,children:"Product Disclosure Statement"})," ","and"," ",y(D,{onClick:()=>re(xi),link:_p,children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the Fund."]}),y("p",{children:"Sponsored by AustralianSuper Pty Ltd. AustralianSuper Pty Ltd ABN 94 006 457 987 AFSL 233788, Trustee of AustralianSuper ABN 65 714 394 898."})]})},Sp=""+new URL("assets/logo-aware-DYvmVUZ1.svg",import.meta.url).href,Cp="Aware Super",Pc={fundId:"aware-super",name:Cp,logo:Sp,iframeType:"PromotedFundJoinV2",features:[y("p",{children:"8.83% p.a.* returns over 10 years to 30 June 2024 (High Growth option)"}),y("p",{children:"Members get a 45-minute Super Helpful check-in with an advisor"}),y("p",{children:"Multi-award winning fund^ "})],disclaimer:A("div",{children:[A("p",{children:["Consider if we’re right for you and read the"," ",y(D,{onClick:()=>re(Pc),link:"https://aware.com.au/member/contact-aware-super/forms-and-documents",children:"PDS and TMD"}),".",y("br",{}),"^Awards are just one factor to consider when deciding on a product."," ",y(D,{link:"https://aware.com.au/member/about-us/awards",children:"Learn about our awards."}),".",y("br",{}),"*SuperRatings Fund Crediting Rate Survey, June 2024. Based on SR50 Growth (77-90) Index. Past performance does not indicate future performance."]}),y("br",{}),y("p",{children:"Aware Super Pty Ltd (ABN 11 118 202 672, AFSL 293340), trustee of Aware Super (ABN 53 226 460 365)."})]})},kp=""+new URL("assets/logo-aware-DYvmVUZ1.svg",import.meta.url).href,xp="Aware Super",Ic={fundId:"aware-super-default",name:xp,logo:kp,iframeType:"PromotedFundJoinV2",features:[y("p",{children:"8.83% p.a.* returns over 10 years to 30 June 2024 (High Growth option)"}),y("p",{children:"Members get a 45-minute Super Helpful check-in with an advisor"}),y("p",{children:"Multi-award winning fund^ "})],disclaimer:A("div",{children:[A("p",{children:["Consider if we’re right for you and read the"," ",y(D,{onClick:()=>re(Ic),link:"https://aware.com.au/member/contact-aware-super/forms-and-documents",children:"PDS and TMD"}),".",y("br",{}),"^Awards are just one factor to consider when deciding on a product."," ",y(D,{link:"https://aware.com.au/member/about-us/awards",children:"Learn about our awards."}),".",y("br",{}),"*SuperRatings Fund Crediting Rate Survey, June 2024. Based on SR50 Growth (77-90) Index. Past performance does not indicate future performance."]}),y("br",{}),y("p",{children:"Aware Super Pty Ltd (ABN 11 118 202 672, AFSL 293340), trustee of Aware Super (ABN 53 226 460 365)."})]})},Tp=""+new URL("assets/logo-brighter-cKB6xH2M.svg",import.meta.url).href,Ep="https://www.brightersuper.com.au/-/media/public/files/pds-and-guides/accumulation-account-pds.pdf",Ap="https://www.brightersuper.com.au/-/media/public/files/target-market-determination/tmd-brighter-super-accumulation-account.pdf",Rp="https://www.brightersuper.com.au/news/double-digit-returns-in-2023-and-some-of-the-lowest-fees-in-australia",Pp="https://www.brightersuper.com.au/about-us/awards",Ip="Brighter Super",Mc={fundId:"brightersuper",name:Ip,logo:Tp,iframeType:"PromotedFundJoinV2",features:[y("p",{children:"Double-digit returns for our MySuper option in 2023^"}),y("p",{children:"Top 3 industry fund for lowest MySuper fees in Australia^"}),A("p",{children:["Platinum rated by SuperRatings for 16 years in a row",y("sup",{css:{fontSize:"0.625rem"},children:"+"})]})],disclaimer:A("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:[A("p",{children:["^Past performance is not an indicator of future performance."," ",y(D,{link:Rp,children:"Find out more about our MySuper fees and returns."}),y("sup",{css:{fontSize:"0.625rem"},children:"+"}),"Ratings are only one factor to consider."," ",y(D,{link:Pp,children:"View our ratings and awards."})]}),A("p",{children:["Consider the"," ",y(D,{link:Ep,onClick:()=>re(Mc),children:"PDS"})," ","& ",y(D,{link:Ap,children:"TMD"})," before deciding to join."]}),y("p",{children:"Issued by LGIAsuper Trustee (ABN 94 085 088 484, AFSL 230511) as trustee for LGIAsuper (ABN 23 053 121 584), t/a Brighter Super."})]})},Mp=""+new URL("assets/logo-first-CusDmGWL.svg",import.meta.url).href,Fp="First Super",Fc={fundId:"first-super",name:Fp,logo:Mp,iframeType:"PromotedFundJoinV2",features:[y("p",{children:"Industry SuperFund that offers five investment options and default insurance"}),y("p",{children:"Strong long-term investment returns and superior customer service - members first"}),y("p",{children:"Established super fund – anyone can join including KiwiSaver members"})],disclaimer:A("div",{children:[A("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"," ",y(D,{onClick:()=>re(Fc),link:"https://www.firstsuper.com.au/forms-tools/product-disclosure-statements/",children:"website"}),". Past performance is not a reliable indicator of future performance."]}),y("br",{}),y("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."})]})},Np=""+new URL("assets/logo-hesta-NL7xF41R.svg",import.meta.url).href,Dp="HESTA",Nc={fundId:"hesta-default",name:Dp,logo:Np,iframeType:"PromotedFundJoinV2",features:[y("p",{children:"A top-performing super fund* working for real-world impact"}),y("p",{children:"1+ million members"}),y("p",{children:"Expert help whenever you need it to help you face the future with confidence"})],featureSubText:void 0,disclaimer:A("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:[A("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"," ",y(D,{link:"https://www.hesta.com.au/ratings",children:"hesta.com.au/ratings"})," ","for more information."]}),A("p",{children:["Consider whether this product is appropriate for you by reading the Product Disclosure Statement and Target Market Determination at"," ",y(D,{onClick:()=>re(Nc),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."]}),y("p",{children:"Issued by H.E.S.T. Australia Ltd ABN 66 006 818 695 AFSL No. 235249, Trustee of HESTA"})]})},Op=""+new URL("assets/logo-legalsuper-xG2DgGHY.svg",import.meta.url).href,Bp="legalsuper",Ur={fundId:"legalsuper",name:Bp,logo:Op,iframeType:"PromotedFundJoinV2",features:[y("p",{children:"Strong performance - our investment options are designed to deliver steady returns."}),y("p",{children:"Personalised support - so you can access advice, knowledge and assistance when you need it."}),y("p",{children:"Tailored insurance - various cover options that adapt to life’s milestones and career changes."})],disclaimer:A("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:[A("p",{children:["This information is of a general nature. Please refer to the legalsuper"," ",y(D,{link:"https://www.legalsuper.com.au/super-pds",onClick:()=>re(Ur),children:"Product Disclosure Statement (PDS)"})," ","and"," ",y(D,{link:"https://www.legalsuper.com.au/super-tmd",onClick:()=>re(Ur),children:"Target Market Determination (TMD)"})," ","available at"," ",y(D,{link:"https://www.legalsuper.com.au/",onClick:()=>re(Ur),children:"www.legalsuper.com.au"})," ","before making any decision. Past performance is not a guide to future performance."]}),y("p",{children:"Legal Super Pty Ltd ABN 37 004 455 789 AFSL 246315 as the Trustee for legalsuper ABN 60 346 078 879."})]})},Lp=""+new URL("assets/coverImage-BkXL9zfW.png",import.meta.url).href,$p=""+new URL("assets/logo-mercer-mychoice-BB6VztRp.svg",import.meta.url).href,Up="Mercer MyChoice",oo={fundId:"mercermychoice",name:Up,logo:$p,coverImage:Lp,iframeType:"PromotedFundJoinV2",features:[y("p",{children:"Save more super with our low fees"}),y("p",{children:"Take control with 6 MyChoice investment options"}),y("p",{children:"Join 850,000 Australians who trust our global expertise"})],disclaimer:A("div",{children:[A("p",{children:["You should consider the"," ",y(D,{link:"https://www.mercersuper.com.au/campaign-page/mercer-mychoice",onClick:()=>re(oo),children:"Product Disclosure Statement"})," ","and"," ",y(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."]}),y("br",{}),y("p",{children:"Issued by Mercer Superannuation (Australia) Limited (‘Mercer Super’) ABN: 79 004 717 533"})]}),extraBadge:y("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"}),footnoteTextOverride:"Powered by Flare FS"},zp=""+new URL("assets/logo-mine-7mxPtjsF.svg",import.meta.url).href,jp="Mine Super",Dc={fundId:"mine",name:jp,logo:zp,iframeType:"PromotedFundJoinV2",features:[A("p",{children:[y("i",{children:"Money"})," magazine’s Best of the Best Awards for Best Value Superannuation Fund for Young People 2024."]}),y("p",{children:"Insurance cover^ that’s got your back if you’re unable to work due to sickness or injury."}),y("p",{children:"One of the lowest fixed admin fees ($0.75 per week)."})],featureSubText:["^Subject to meeting eligibility criteria."],disclaimer:y("div",{children:A("p",{children:["Mine Super products are issued by AUSCOAL Superannuation Pty Ltd ABN 70 003 566 989 AFS licence 246864 Trustee for the Mine Superannuation Fund ABN 16 457 520 308. Refer to the"," ",y(D,{link:"https://www.mine.com.au/super/about-my-super/super-pds",onClick:()=>re(Dc),children:"PDS"})," ","and ",y(D,{link:"https://www.mine.com.au/tmd",children:"TMDs"})," on our website at ",y(D,{link:"https://www.mine.com.au/",children:"mine.com.au"})," when considering if our financial products are right for you."]})})},Hp=""+new URL("assets/logo-reisuper-aM5iDbpN.svg",import.meta.url).href,Wp="REI Super",Oc={fundId:"reisuper",name:Wp,logo:Hp,iframeType:"PromotedFundJoinV2",features:[y("p",{children:"Built by and for the real estate industry"}),y("p",{children:"Consistent long-term performance with competitive fees*"}),y("p",{children:"All profits to members, not shareholders"})],disclaimer:A("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:[y("p",{children:"*Balanced Option net investment return of 9.45% for year ending 30 June 2023."}),A("p",{children:["You should consider the"," ",y(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(Oc),children:"Product Disclosure Statement"})," ","and"," ",y(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"},qp=""+new URL("assets/logo-slate-CowODvPX.png",import.meta.url).href,Vp="Slate Super",Xr={fundId:Tn,name:Vp,logo:qp,iframeType:"SlateJoin",features:[y("p",{children:"A lifestage investment strategy that evolves with you"}),y("p",{children:"Advanced mobile app with retirement forecast and smart features"}),y("p",{children:"Member advocates at Slate to assist with your account"})],disclaimer:A("p",{children:["You should consider the"," ",y(D,{link:"https://slate.co/pds/?utm_source=flare&utm_medium=superselection",onClick:()=>re(Xr),children:"Product Disclosure Statement"})," ","and"," ",y(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"},Qp=""+new URL("assets/logo-spirit-CAaRIHR7.svg",import.meta.url).href,Jp="Spirit Super",Bc={fundId:"spirit",name:Jp,logo:Qp,iframeType:"PromotedFundJoinV2",features:[y("p",{children:"Industry SuperFund - profit to members"}),A("p",{children:["Low fees and a history of strong long-term returns",y("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),A("p",{children:["Best customer experience",y("sup",{css:{fontSize:"0.625rem"},children:"2"})]})],featureSubText:y("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:A("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:[y("li",{children:y("span",{children:"Spirit Super's 10-year, Balanced MySuper option as at 31 March 2024. Past performance isn't a reliable indicator of future performance."})}),y("li",{children:y("span",{children:y(D,{link:"https://www.spiritsuper.com.au/News/Best-in-customer-service-again",children:"CSBA Sense CX Benchmark ratings 2022/23/24"})})})]})}),disclaimer:A("p",{children:["Awards and ratings are only one factor to consider when investing in super. Spirit Super has a commercial agreement with Customer Service Benchmarking Australia Pty Ltd for quality assurance and staff training within our contact centre. Read the award information, PDS and TMD at"," ",y(D,{link:"https://www.spiritsuper.com.au",onClick:()=>re(Bc),children:"spiritsuper.com.au"})," ","and consider your personal circumstances before deciding. Issuer is Motor Trades Association of Australia Superannuation Fund Pty Ltd (AFSL 238 718, ABN 14 008 650 628). Advice by Quadrant First Pty Ltd (AFSL 284 443, ABN 78 102 167 877)."]})},Kp=""+new URL("assets/logo-superhero-DEVv355I.svg",import.meta.url).href,Yp="Superhero Super",Lc={fundId:"superhero",name:Yp,logo:Kp,iframeType:"PromotedFundJoinV2",features:[y("p",{children:"Primed for performance - Our range of investments are designed to deliver"}),y("p",{children:"Low fees - Means more super to build the future you want"}),y("p",{children:"Award winning^ - A direct investment option to build your portfolio your way"})],featureSubText:["^ Awarded Winner: Excellent Rates and Fees, Winner: Best for Direct Investments in the WeMoney Superannuation Awards 2024"],disclaimer:A("div",{children:[A("p",{children:["Superhero Super is a sub-plan of OneSuper (ABN 43 905 581 638), which is issued by Diversa Trustees Limited (ABN 49 006 421 638) as trustee. You should consider the"," ",y(D,{onClick:()=>re(Lc),link:"https://superhe.ro/ext/superhero-super-pds.pdf",children:"Product Disclosure Statement"})," ","and"," ",y(D,{link:"https://cdn.trusteecloud.com/01cd640f-c204-4591-9c2b-c7e4ca5df769/superhero-transition-to-retirement-target-market-determination",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]}),y("br",{}),y("p",{children:"Superhero Super"}),y("p",{children:"USI: 43 905 581 638 018"})]})},Gp=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,Zp="Unisuper",Xp="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",eh="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",$c={fundId:"unisuper",name:Zp,logo:Gp,iframeType:"PromotedFundJoinV2",features:[y("p",{children:"Our fees are among the lowest in the industry.^"}),y("p",{children:"Our strong, long-term performance has regularly exceeded industry averages.*"}),A("p",{children:["We’re consistently awarded as one of Australia’s best-performing funds.",y("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],disclaimer:A("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:[A("p",{children:["^Read more about our fees and how we compare"," ",y(D,{link:"https://www.unisuper.com.au/super/products-and-fees",children:"here"}),"."]}),A("p",{children:["*Past performance is not an indicator of future performance. Read more about our performance and how we compare"," ",y(D,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),A("p",{children:[y("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",y(D,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),A("p",{children:["Remember to consider the"," ",y(D,{link:Xp,onClick:()=>re($c),children:"Product Disclosure Statement"})," ","and ",y(D,{link:eh,children:"Target Market Determination"})," that is relevant to you."]}),y("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},th=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,rh=""+new URL("assets/unisuper-default-badge1-CC2-KRH2.svg",import.meta.url).href,nh=""+new URL("assets/unisuper-default-badge2-CqUa_Zky.svg",import.meta.url).href,ih=""+new URL("assets/unisuper-default-badge3-B7j1-pyZ.svg",import.meta.url).href,Ir="Unisuper",oh="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",ah="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",Uc={fundId:"unisuper-default-v2",name:Ir,logo:th,iframeType:"PromotedFundJoinV2",features:[y("p",{children:"Low fees, better value – Our fees are among the lowest in the industry.^"}),y("p",{children:"Strong, long-term performance – We regularly exceed industry averages.*"}),A("p",{children:["Award winning super – Continually recognised as one of Australia’s best-performing funds.",y("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],customContent:A("div",{css:{marginTop:"1.5rem",display:"flex",gap:"0.75rem"},children:[y("div",{children:y("img",{alt:Ir,src:rh})}),y("div",{children:y("img",{alt:Ir,src:nh})}),y("div",{children:y("img",{alt:Ir,src:ih})})]}),disclaimer:A("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:[A("p",{children:["^Read more about our fees and how we compare"," ",y(D,{link:"https://www.unisuper.com.au/super/products-and-fees",children:"here"}),"."]}),A("p",{children:["*Past performance is not an indicator of future performance. Read more about our performance and how we compare"," ",y(D,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),A("p",{children:[y("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",y(D,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),A("p",{children:["Remember to consider the"," ",y(D,{link:oh,onClick:()=>re(Uc),children:"Product Disclosure Statement"})," ","and ",y(D,{link:ah,children:"Target Market Determination"})," that is relevant to you."]}),y("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},sh=""+new URL("assets/logo-virgin-Dg0nHidv.svg",import.meta.url).href,ch="Virgin Money Super",zr={fundId:"virgin",name:ch,logo:sh,iframeType:"PromotedFundJoinV2",features:[A("p",{children:["Returns above industry and retail super fund medians over the past 5 years",y("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),y("p",{children:"One of the lowest fees in the market"}),A("p",{children:["Virgin Money rewards you with Velocity Points on your contributions",y("sup",{css:{fontSize:"0.625rem"},children:"2"})]})],featureSubText:y("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:A("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:[y("li",{children:y("span",{children:"Past performance is not a reliable indicator of future performance. Source: SuperRatings Fund Crediting Rate Survey April 2022."})}),y("li",{children:y("span",{children:y(D,{css:{fontWeight:"400"},link:"https://virginmoney.com.au/superannuation/forms-and-key-information/key-documents",children:"Eligibility and T&Cs apply"})})})]})}),disclaimer:A("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"," ",y(D,{link:"https://virginmoney.com.au/superannuation/",onClick:()=>re(zr),children:"www.virginmoney.com.au"})," ","before making a decision"]}),extraBadge:y("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"}),footnoteTextOverride:"Powered by Flare FS",experiments:{"social-validation-popular-virgin":{splitType:"percentage",rotations:0,shouldRun:e=>{var n,i;const t=Xe.endpoints.campaignConnect.select()(e).data,r=(n=t==null?void 0:t.promotedFunds.find(o=>o.fundId===zr.fundId))==null?void 0:n.recentJoinerCount;return!!((!pt()||((i=t==null?void 0:t.promotedFunds)==null?void 0:i[0].fundId)===zr.fundId)&&!(t!=null&&t.promotedFunds.find(o=>o.fundId==="mercermychoice"))&&r)},variants:[{variantName:"control",percentage:0},{variantName:"num-badge",percentage:0},{variantName:"pop-badge",percentage:100}]}}},uh=""+new URL("assets/logo-virgin-Dg0nHidv.svg",import.meta.url).href,lh="Virgin Money Super",zc={fundId:"virgin-default",name:lh,logo:uh,iframeType:"PromotedFundJoinV2",features:[A("p",{children:["Returns above industry and retail super fund medians over the past 5 years",y("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),y("p",{children:"One of the lowest fees in the market"}),A("p",{children:["Virgin Money rewards you with Velocity Points on your contributions",y("sup",{css:{fontSize:"0.625rem"},children:"2"})]})],featureSubText:y("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:A("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:[y("li",{children:y("span",{children:"Past performance is not a reliable indicator of future performance. Source: SuperRatings Fund Crediting Rate Survey April 2022."})}),y("li",{children:y("span",{children:y(D,{css:{fontWeight:"400"},link:"https://virginmoney.com.au/superannuation/forms-and-key-information/key-documents",children:"Eligibility and T&Cs apply"})})})]})}),disclaimer:A("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"," ",y(D,{link:"https://virginmoney.com.au/superannuation/",onClick:()=>re(zc),children:"www.virginmoney.com.au"})," ","before making a decision"]}),extraBadge:y("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"}),footnoteTextOverride:"Powered by Flare FS"},dh=5*1e3;let jr=[];const be=(e,t)=>{jr.push({log:e,params:N(N({},t),Ac())})},fh=()=>setInterval(()=>me(void 0,null,function*(){jr.length>0&&"data"in(yield ut.dispatch(Xe.endpoints.errorLogs.initiate({logs:jr})))&&(jr=[])}),dh),ph=[Pc,Ic,Mc,Fc,Nc,Ur,oo,Dc,Oc,Xr,Bc,$c,Uc,zr,zc,xi,Lc],ao=e=>{const t=ph.find(r=>r.fundId===e.fundId);if(t)return J(N({},t),{fundType:e.type,recentJoinerCount:e.recentJoinerCount})},hh=e=>{const t=[];for(const n of e){const i=ao(n);i?t.push(i):be(`Fund ID "${n.fundId}" was not mapped from the Campaign Connect response.`,{fund:n})}if(t.length>0)return t.slice(0,3);const r=oo;return be(`No fund IDs were mapped, returning "${r.fundId}"`,{funds:e}),[J(N({},r),{fundType:"promoted"})]},mh=e=>e==="unisuper-db"?"UniSuper":(be('No defined-benefits fund IDs were mapped."',{fundId:e}),""),so=()=>{const{selectedFund:e}=Re(r=>r.state);let t="Powered by Flare";if(e){const r=ao({fundId:e==null?void 0:e.fundId,type:"promoted"});r!=null&&r.footnoteTextOverride&&(t=r.footnoteTextOverride)}return A("div",{css:{marginLeft:"auto",marginRight:"auto",marginTop:"2rem",width:"100%",maxWidth:"960px",textAlign:"center",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))","@media (min-width: 640px)":{marginTop:"5rem"}},children:[y("span",{children:t}),A("p",{css:{display:"block",color:"transparent"},children:["v","1.53.55"]})]})},gh=j.div({display:"flex",height:"100%",flexDirection:"column",alignItems:"center",justifyContent:"center"}),yh=j.div({display:"inline-block","@keyframes spin":{to:{transform:"rotate(360deg)"}},animation:"spin 1s linear infinite"}),wh=j.div({marginTop:"0.75rem",textAlign:"center",fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(17 24 39 / var(--tw-text-opacity))","@media (min-width: 640px)":{fontSize:"1.875rem",lineHeight:"2.25rem"}}),vh=j.div({marginTop:"2rem",textAlign:"center",fontSize:"1.125rem",lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(17 24 39 / var(--tw-text-opacity))"}),Ue=({size:e=48,isComputingPanelFunds:t=!1})=>{const[r,n]=he(!1);return Z(()=>{let i;return t&&(i=setTimeout(()=>{n(!0)},3e3)),()=>clearTimeout(i)},[t]),A(gh,{children:[y(yh,{children:A("svg",{width:e,height:e,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[y("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"}),y("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)"}})]})}),t&&A(Ae,{children:[y(wh,{children:"Setting up your super choices"}),r&&y(vh,{children:"This may take a few seconds, please don't close this window"})]})]})},Rt=({fillWidth:e=!1,fillWidthOnMobile:t=!1,disabled:r=!1,onClick:n=void 0,children:i,variant:o="primary"})=>{const[a,s]=he(0);return A("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))"}},o==="primary"&&{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)"}},o==="secondary"&&{"--tw-border-opacity":"1",borderColor:"rgb(209 213 219 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(55 65 81 / var(--tw-text-opacity))",":hover":{"--tw-bg-opacity":"1",backgroundColor:"rgb(249 250 251 / var(--tw-bg-opacity))"}},(e||t)&&{width:"100%"},t&&{"@media (min-width: 640px)":{width:"auto"}}],disabled:r,onClick:()=>me(void 0,null,function*(){if(!(!n||a===1))try{s(1),yield n(),s(0)}catch(f){throw s(2),f}}),children:[a===1&&y(Ue,{size:16}),y("div",{css:[a===1&&{display:"none"}],children:i})]})},bh=j.div({width:"fit-content",borderRadius:"0.5rem",borderWidth:"1px"}),_h=j.div({display:"flex",justifyContent:"flex-end",paddingRight:"0.5rem",paddingTop:"0.5rem"}),Sh=j.div({marginRight:"0.25rem",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))"}),Ch=j.div({padding:"0.75rem","@media (min-width: 640px)":{paddingLeft:"3.5rem",paddingRight:"3.5rem",paddingBottom:"2rem"}}),kh=({pillContent:e,children:t})=>A(bh,{children:[e&&y(_h,{children:y(Sh,{children:e})}),y(Ch,{children:t})]});class Wt extends Error{}Wt.prototype.name="InvalidTokenError";function xh(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,r)=>{let n=r.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function Th(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return xh(t)}catch(r){return atob(t)}}function jc(e,t){if(typeof e!="string")throw new Wt("Invalid token specified: must be a string");t||(t={});const r=t.header===!0?0:1,n=e.split(".")[r];if(typeof n!="string")throw new Wt(`Invalid token specified: missing part #${r+1}`);let i;try{i=Th(n)}catch(o){throw new Wt(`Invalid token specified: invalid base64 for part #${r+1} (${o.message})`)}try{return JSON.parse(i)}catch(o){throw new Wt(`Invalid token specified: invalid json for part #${r+1} (${o.message})`)}}const Eh=e=>jc(e),Ah=()=>{const{superBackendUrl:e,accessToken:t,fundUsi:r}=Re(a=>a.session),{data:n}=xc(r||""),i=`${e}/activity-tracker/track`;return{createTrackedLink:(a,s)=>{var d,p;if(!t)throw new Error("No access token found");const{sub:c,session_id:f}=Eh(t);(!n||n.engagements.length===0)&&be("No engagements found when attempting to create tracked link");const{accountId:w,partnerId:m,engagements:l}=n!=null?n:{accountId:"",partnerId:"",engagements:[]};a=encodeURIComponent(a);let u=`${i}?url=${a}&id=${c}&sId=${f}&usi=${r}&fId=${(p=(d=l[0])==null?void 0:d.fundId)!=null?p:""}&aId=${w}&pId=${m}&ft=manual`;if(s.eventType){const h=encodeURIComponent(s.eventType);u+=`&et=${h}`}return s.type&&(u+=`&type=${s.type}`),s.engagementId&&(u+=`&eId=${s.engagementId}`),u}}};function Rh(e){const t=document.documentElement;for(const r in e.colors)t.style.setProperty(`--${r}`,e.colors[r])}var vr={},Ph=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},Hc={},Te={};let co;const Ih=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];Te.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};Te.getSymbolTotalCodewords=function(t){return Ih[t]};Te.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};Te.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');co=t};Te.isKanjiModeEnabled=function(){return typeof co!="undefined"};Te.toSJIS=function(t){return co(t)};var En={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+r)}}e.isValid=function(n){return n&&typeof n.bit!="undefined"&&n.bit>=0&&n.bit<4},e.from=function(n,i){if(e.isValid(n))return n;try{return t(n)}catch(o){return i}}})(En);function Wc(){this.buffer=[],this.length=0}Wc.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let r=0;r<t;r++)this.putBit((e>>>t-r-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var Mh=Wc;function br(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}br.prototype.set=function(e,t,r,n){const i=e*this.size+t;this.data[i]=r,n&&(this.reservedBit[i]=!0)};br.prototype.get=function(e,t){return this.data[e*this.size+t]};br.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r};br.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var Fh=br,qc={};(function(e){const t=Te.getSymbolSize;e.getRowColCoords=function(n){if(n===1)return[];const i=Math.floor(n/7)+2,o=t(n),a=o===145?26:Math.ceil((o-13)/(2*i-2))*2,s=[o-7];for(let c=1;c<i-1;c++)s[c]=s[c-1]-a;return s.push(6),s.reverse()},e.getPositions=function(n){const i=[],o=e.getRowColCoords(n),a=o.length;for(let s=0;s<a;s++)for(let c=0;c<a;c++)s===0&&c===0||s===0&&c===a-1||s===a-1&&c===0||i.push([o[s],o[c]]);return i}})(qc);var Vc={};const Nh=Te.getSymbolSize,Ra=7;Vc.getPositions=function(t){const r=Nh(t);return[[0,0],[r-Ra,0],[0,r-Ra]]};var Qc={};(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(i){return i!=null&&i!==""&&!isNaN(i)&&i>=0&&i<=7},e.from=function(i){return e.isValid(i)?parseInt(i,10):void 0},e.getPenaltyN1=function(i){const o=i.size;let a=0,s=0,c=0,f=null,w=null;for(let m=0;m<o;m++){s=c=0,f=w=null;for(let l=0;l<o;l++){let u=i.get(m,l);u===f?s++:(s>=5&&(a+=t.N1+(s-5)),f=u,s=1),u=i.get(l,m),u===w?c++:(c>=5&&(a+=t.N1+(c-5)),w=u,c=1)}s>=5&&(a+=t.N1+(s-5)),c>=5&&(a+=t.N1+(c-5))}return a},e.getPenaltyN2=function(i){const o=i.size;let a=0;for(let s=0;s<o-1;s++)for(let c=0;c<o-1;c++){const f=i.get(s,c)+i.get(s,c+1)+i.get(s+1,c)+i.get(s+1,c+1);(f===4||f===0)&&a++}return a*t.N2},e.getPenaltyN3=function(i){const o=i.size;let a=0,s=0,c=0;for(let f=0;f<o;f++){s=c=0;for(let w=0;w<o;w++)s=s<<1&2047|i.get(f,w),w>=10&&(s===1488||s===93)&&a++,c=c<<1&2047|i.get(w,f),w>=10&&(c===1488||c===93)&&a++}return a*t.N3},e.getPenaltyN4=function(i){let o=0;const a=i.data.length;for(let c=0;c<a;c++)o+=i.data[c];return Math.abs(Math.ceil(o*100/a/5)-10)*t.N4};function r(n,i,o){switch(n){case e.Patterns.PATTERN000:return(i+o)%2===0;case e.Patterns.PATTERN001:return i%2===0;case e.Patterns.PATTERN010:return o%3===0;case e.Patterns.PATTERN011:return(i+o)%3===0;case e.Patterns.PATTERN100:return(Math.floor(i/2)+Math.floor(o/3))%2===0;case e.Patterns.PATTERN101:return i*o%2+i*o%3===0;case e.Patterns.PATTERN110:return(i*o%2+i*o%3)%2===0;case e.Patterns.PATTERN111:return(i*o%3+(i+o)%2)%2===0;default:throw new Error("bad maskPattern:"+n)}}e.applyMask=function(i,o){const a=o.size;for(let s=0;s<a;s++)for(let c=0;c<a;c++)o.isReserved(c,s)||o.xor(c,s,r(i,c,s))},e.getBestMask=function(i,o){const a=Object.keys(e.Patterns).length;let s=0,c=1/0;for(let f=0;f<a;f++){o(f),e.applyMask(f,i);const w=e.getPenaltyN1(i)+e.getPenaltyN2(i)+e.getPenaltyN3(i)+e.getPenaltyN4(i);e.applyMask(f,i),w<c&&(c=w,s=f)}return s}})(Qc);var An={};const Ze=En,Mr=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],Fr=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];An.getBlocksCount=function(t,r){switch(r){case Ze.L:return Mr[(t-1)*4+0];case Ze.M:return Mr[(t-1)*4+1];case Ze.Q:return Mr[(t-1)*4+2];case Ze.H:return Mr[(t-1)*4+3];default:return}};An.getTotalCodewordsCount=function(t,r){switch(r){case Ze.L:return Fr[(t-1)*4+0];case Ze.M:return Fr[(t-1)*4+1];case Ze.Q:return Fr[(t-1)*4+2];case Ze.H:return Fr[(t-1)*4+3];default:return}};var Jc={},Rn={};const Yt=new Uint8Array(512),en=new Uint8Array(256);(function(){let t=1;for(let r=0;r<255;r++)Yt[r]=t,en[t]=r,t<<=1,t&256&&(t^=285);for(let r=255;r<512;r++)Yt[r]=Yt[r-255]})();Rn.log=function(t){if(t<1)throw new Error("log("+t+")");return en[t]};Rn.exp=function(t){return Yt[t]};Rn.mul=function(t,r){return t===0||r===0?0:Yt[en[t]+en[r]]};(function(e){const t=Rn;e.mul=function(n,i){const o=new Uint8Array(n.length+i.length-1);for(let a=0;a<n.length;a++)for(let s=0;s<i.length;s++)o[a+s]^=t.mul(n[a],i[s]);return o},e.mod=function(n,i){let o=new Uint8Array(n);for(;o.length-i.length>=0;){const a=o[0];for(let c=0;c<i.length;c++)o[c]^=t.mul(i[c],a);let s=0;for(;s<o.length&&o[s]===0;)s++;o=o.slice(s)}return o},e.generateECPolynomial=function(n){let i=new Uint8Array([1]);for(let o=0;o<n;o++)i=e.mul(i,new Uint8Array([1,t.exp(o)]));return i}})(Jc);const Kc=Jc;function uo(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}uo.prototype.initialize=function(t){this.degree=t,this.genPoly=Kc.generateECPolynomial(this.degree)};uo.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const r=new Uint8Array(t.length+this.degree);r.set(t);const n=Kc.mod(r,this.genPoly),i=this.degree-n.length;if(i>0){const o=new Uint8Array(this.degree);return o.set(n,i),o}return n};var Dh=uo,Yc={},it={},lo={};lo.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var je={};const Gc="[0-9]+",Oh="[A-Z $%*+\\-./:]+";let ur="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";ur=ur.replace(/u/g,"\\u");const Bh="(?:(?![A-Z0-9 $%*+\\-./:]|"+ur+`)(?:.|[\r
17
- ]))+`;je.KANJI=new RegExp(ur,"g");je.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");je.BYTE=new RegExp(Bh,"g");je.NUMERIC=new RegExp(Gc,"g");je.ALPHANUMERIC=new RegExp(Oh,"g");const Lh=new RegExp("^"+ur+"$"),$h=new RegExp("^"+Gc+"$"),Uh=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");je.testKanji=function(t){return Lh.test(t)};je.testNumeric=function(t){return $h.test(t)};je.testAlphanumeric=function(t){return Uh.test(t)};(function(e){const t=lo,r=je;e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(o,a){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!t.isValid(a))throw new Error("Invalid version: "+a);return a>=1&&a<10?o.ccBits[0]:a<27?o.ccBits[1]:o.ccBits[2]},e.getBestModeForData=function(o){return r.testNumeric(o)?e.NUMERIC:r.testAlphanumeric(o)?e.ALPHANUMERIC:r.testKanji(o)?e.KANJI:e.BYTE},e.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},e.isValid=function(o){return o&&o.bit&&o.ccBits};function n(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+i)}}e.from=function(o,a){if(e.isValid(o))return o;try{return n(o)}catch(s){return a}}})(it);(function(e){const t=Te,r=An,n=En,i=it,o=lo,a=7973,s=t.getBCHDigit(a);function c(l,u,d){for(let p=1;p<=40;p++)if(u<=e.getCapacity(p,d,l))return p}function f(l,u){return i.getCharCountIndicator(l,u)+4}function w(l,u){let d=0;return l.forEach(function(p){const h=f(p.mode,u);d+=h+p.getBitsLength()}),d}function m(l,u){for(let d=1;d<=40;d++)if(w(l,d)<=e.getCapacity(d,u,i.MIXED))return d}e.from=function(u,d){return o.isValid(u)?parseInt(u,10):d},e.getCapacity=function(u,d,p){if(!o.isValid(u))throw new Error("Invalid QR Code version");typeof p=="undefined"&&(p=i.BYTE);const h=t.getSymbolTotalCodewords(u),v=r.getTotalCodewordsCount(u,d),_=(h-v)*8;if(p===i.MIXED)return _;const g=_-f(p,u);switch(p){case i.NUMERIC:return Math.floor(g/10*3);case i.ALPHANUMERIC:return Math.floor(g/11*2);case i.KANJI:return Math.floor(g/13);case i.BYTE:default:return Math.floor(g/8)}},e.getBestVersionForData=function(u,d){let p;const h=n.from(d,n.M);if(Array.isArray(u)){if(u.length>1)return m(u,h);if(u.length===0)return 1;p=u[0]}else p=u;return c(p.mode,p.getLength(),h)},e.getEncodedBits=function(u){if(!o.isValid(u)||u<7)throw new Error("Invalid QR Code version");let d=u<<12;for(;t.getBCHDigit(d)-s>=0;)d^=a<<t.getBCHDigit(d)-s;return u<<12|d}})(Yc);var Zc={};const Ti=Te,Xc=1335,zh=21522,Pa=Ti.getBCHDigit(Xc);Zc.getEncodedBits=function(t,r){const n=t.bit<<3|r;let i=n<<10;for(;Ti.getBCHDigit(i)-Pa>=0;)i^=Xc<<Ti.getBCHDigit(i)-Pa;return(n<<10|i)^zh};var eu={};const jh=it;function Pt(e){this.mode=jh.NUMERIC,this.data=e.toString()}Pt.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};Pt.prototype.getLength=function(){return this.data.length};Pt.prototype.getBitsLength=function(){return Pt.getBitsLength(this.data.length)};Pt.prototype.write=function(t){let r,n,i;for(r=0;r+3<=this.data.length;r+=3)n=this.data.substr(r,3),i=parseInt(n,10),t.put(i,10);const o=this.data.length-r;o>0&&(n=this.data.substr(r),i=parseInt(n,10),t.put(i,o*3+1))};var Hh=Pt;const Wh=it,Yn=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function It(e){this.mode=Wh.ALPHANUMERIC,this.data=e}It.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};It.prototype.getLength=function(){return this.data.length};It.prototype.getBitsLength=function(){return It.getBitsLength(this.data.length)};It.prototype.write=function(t){let r;for(r=0;r+2<=this.data.length;r+=2){let n=Yn.indexOf(this.data[r])*45;n+=Yn.indexOf(this.data[r+1]),t.put(n,11)}this.data.length%2&&t.put(Yn.indexOf(this.data[r]),6)};var qh=It,Vh=function(t){for(var r=[],n=t.length,i=0;i<n;i++){var o=t.charCodeAt(i);if(o>=55296&&o<=56319&&n>i+1){var a=t.charCodeAt(i+1);a>=56320&&a<=57343&&(o=(o-55296)*1024+a-56320+65536,i+=1)}if(o<128){r.push(o);continue}if(o<2048){r.push(o>>6|192),r.push(o&63|128);continue}if(o<55296||o>=57344&&o<65536){r.push(o>>12|224),r.push(o>>6&63|128),r.push(o&63|128);continue}if(o>=65536&&o<=1114111){r.push(o>>18|240),r.push(o>>12&63|128),r.push(o>>6&63|128),r.push(o&63|128);continue}r.push(239,191,189)}return new Uint8Array(r).buffer};const Qh=Vh,Jh=it;function Mt(e){this.mode=Jh.BYTE,typeof e=="string"&&(e=Qh(e)),this.data=new Uint8Array(e)}Mt.getBitsLength=function(t){return t*8};Mt.prototype.getLength=function(){return this.data.length};Mt.prototype.getBitsLength=function(){return Mt.getBitsLength(this.data.length)};Mt.prototype.write=function(e){for(let t=0,r=this.data.length;t<r;t++)e.put(this.data[t],8)};var Kh=Mt;const Yh=it,Gh=Te;function Ft(e){this.mode=Yh.KANJI,this.data=e}Ft.getBitsLength=function(t){return t*13};Ft.prototype.getLength=function(){return this.data.length};Ft.prototype.getBitsLength=function(){return Ft.getBitsLength(this.data.length)};Ft.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let r=Gh.toSJIS(this.data[t]);if(r>=33088&&r<=40956)r-=33088;else if(r>=57408&&r<=60351)r-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+`
18
- Make sure your charset is UTF-8`);r=(r>>>8&255)*192+(r&255),e.put(r,13)}};var Zh=Ft,tu={exports:{}};(function(e){var t={single_source_shortest_paths:function(r,n,i){var o={},a={};a[n]=0;var s=t.PriorityQueue.make();s.push(n,0);for(var c,f,w,m,l,u,d,p,h;!s.empty();){c=s.pop(),f=c.value,m=c.cost,l=r[f]||{};for(w in l)l.hasOwnProperty(w)&&(u=l[w],d=m+u,p=a[w],h=typeof a[w]=="undefined",(h||p>d)&&(a[w]=d,s.push(w,d),o[w]=f))}if(typeof i!="undefined"&&typeof a[i]=="undefined"){var v=["Could not find a path from ",n," to ",i,"."].join("");throw new Error(v)}return o},extract_shortest_path_from_predecessor_list:function(r,n){for(var i=[],o=n;o;)i.push(o),r[o],o=r[o];return i.reverse(),i},find_path:function(r,n,i){var o=t.single_source_shortest_paths(r,n,i);return t.extract_shortest_path_from_predecessor_list(o,i)},PriorityQueue:{make:function(r){var n=t.PriorityQueue,i={},o;r=r||{};for(o in n)n.hasOwnProperty(o)&&(i[o]=n[o]);return i.queue=[],i.sorter=r.sorter||n.default_sorter,i},default_sorter:function(r,n){return r.cost-n.cost},push:function(r,n){var i={value:r,cost:n};this.queue.push(i),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(tu);var Xh=tu.exports;(function(e){const t=it,r=Hh,n=qh,i=Kh,o=Zh,a=je,s=Te,c=Xh;function f(v){return unescape(encodeURIComponent(v)).length}function w(v,_,g){const b=[];let S;for(;(S=v.exec(g))!==null;)b.push({data:S[0],index:S.index,mode:_,length:S[0].length});return b}function m(v){const _=w(a.NUMERIC,t.NUMERIC,v),g=w(a.ALPHANUMERIC,t.ALPHANUMERIC,v);let b,S;return s.isKanjiModeEnabled()?(b=w(a.BYTE,t.BYTE,v),S=w(a.KANJI,t.KANJI,v)):(b=w(a.BYTE_KANJI,t.BYTE,v),S=[]),_.concat(g,b,S).sort(function(C,x){return C.index-x.index}).map(function(C){return{data:C.data,mode:C.mode,length:C.length}})}function l(v,_){switch(_){case t.NUMERIC:return r.getBitsLength(v);case t.ALPHANUMERIC:return n.getBitsLength(v);case t.KANJI:return o.getBitsLength(v);case t.BYTE:return i.getBitsLength(v)}}function u(v){return v.reduce(function(_,g){const b=_.length-1>=0?_[_.length-1]:null;return b&&b.mode===g.mode?(_[_.length-1].data+=g.data,_):(_.push(g),_)},[])}function d(v){const _=[];for(let g=0;g<v.length;g++){const b=v[g];switch(b.mode){case t.NUMERIC:_.push([b,{data:b.data,mode:t.ALPHANUMERIC,length:b.length},{data:b.data,mode:t.BYTE,length:b.length}]);break;case t.ALPHANUMERIC:_.push([b,{data:b.data,mode:t.BYTE,length:b.length}]);break;case t.KANJI:_.push([b,{data:b.data,mode:t.BYTE,length:f(b.data)}]);break;case t.BYTE:_.push([{data:b.data,mode:t.BYTE,length:f(b.data)}])}}return _}function p(v,_){const g={},b={start:{}};let S=["start"];for(let k=0;k<v.length;k++){const C=v[k],x=[];for(let T=0;T<C.length;T++){const E=C[T],R=""+k+T;x.push(R),g[R]={node:E,lastCount:0},b[R]={};for(let I=0;I<S.length;I++){const P=S[I];g[P]&&g[P].node.mode===E.mode?(b[P][R]=l(g[P].lastCount+E.length,E.mode)-l(g[P].lastCount,E.mode),g[P].lastCount+=E.length):(g[P]&&(g[P].lastCount=E.length),b[P][R]=l(E.length,E.mode)+4+t.getCharCountIndicator(E.mode,_))}}S=x}for(let k=0;k<S.length;k++)b[S[k]].end=0;return{map:b,table:g}}function h(v,_){let g;const b=t.getBestModeForData(v);if(g=t.from(_,b),g!==t.BYTE&&g.bit<b.bit)throw new Error('"'+v+'" cannot be encoded with mode '+t.toString(g)+`.
19
- Suggested mode is: `+t.toString(b));switch(g===t.KANJI&&!s.isKanjiModeEnabled()&&(g=t.BYTE),g){case t.NUMERIC:return new r(v);case t.ALPHANUMERIC:return new n(v);case t.KANJI:return new o(v);case t.BYTE:return new i(v)}}e.fromArray=function(_){return _.reduce(function(g,b){return typeof b=="string"?g.push(h(b,null)):b.data&&g.push(h(b.data,b.mode)),g},[])},e.fromString=function(_,g){const b=m(_,s.isKanjiModeEnabled()),S=d(b),k=p(S,g),C=c.find_path(k.map,"start","end"),x=[];for(let T=1;T<C.length-1;T++)x.push(k.table[C[T]].node);return e.fromArray(u(x))},e.rawSplit=function(_){return e.fromArray(m(_,s.isKanjiModeEnabled()))}})(eu);const Pn=Te,Gn=En,em=Mh,tm=Fh,rm=qc,nm=Vc,Ei=Qc,Ai=An,im=Dh,tn=Yc,om=Zc,am=it,Zn=eu;function sm(e,t){const r=e.size,n=nm.getPositions(t);for(let i=0;i<n.length;i++){const o=n[i][0],a=n[i][1];for(let s=-1;s<=7;s++)if(!(o+s<=-1||r<=o+s))for(let c=-1;c<=7;c++)a+c<=-1||r<=a+c||(s>=0&&s<=6&&(c===0||c===6)||c>=0&&c<=6&&(s===0||s===6)||s>=2&&s<=4&&c>=2&&c<=4?e.set(o+s,a+c,!0,!0):e.set(o+s,a+c,!1,!0))}}function cm(e){const t=e.size;for(let r=8;r<t-8;r++){const n=r%2===0;e.set(r,6,n,!0),e.set(6,r,n,!0)}}function um(e,t){const r=rm.getPositions(t);for(let n=0;n<r.length;n++){const i=r[n][0],o=r[n][1];for(let a=-2;a<=2;a++)for(let s=-2;s<=2;s++)a===-2||a===2||s===-2||s===2||a===0&&s===0?e.set(i+a,o+s,!0,!0):e.set(i+a,o+s,!1,!0)}}function lm(e,t){const r=e.size,n=tn.getEncodedBits(t);let i,o,a;for(let s=0;s<18;s++)i=Math.floor(s/3),o=s%3+r-8-3,a=(n>>s&1)===1,e.set(i,o,a,!0),e.set(o,i,a,!0)}function Xn(e,t,r){const n=e.size,i=om.getEncodedBits(t,r);let o,a;for(o=0;o<15;o++)a=(i>>o&1)===1,o<6?e.set(o,8,a,!0):o<8?e.set(o+1,8,a,!0):e.set(n-15+o,8,a,!0),o<8?e.set(8,n-o-1,a,!0):o<9?e.set(8,15-o-1+1,a,!0):e.set(8,15-o-1,a,!0);e.set(n-8,8,1,!0)}function dm(e,t){const r=e.size;let n=-1,i=r-1,o=7,a=0;for(let s=r-1;s>0;s-=2)for(s===6&&s--;;){for(let c=0;c<2;c++)if(!e.isReserved(i,s-c)){let f=!1;a<t.length&&(f=(t[a]>>>o&1)===1),e.set(i,s-c,f),o--,o===-1&&(a++,o=7)}if(i+=n,i<0||r<=i){i-=n,n=-n;break}}}function fm(e,t,r){const n=new em;r.forEach(function(c){n.put(c.mode.bit,4),n.put(c.getLength(),am.getCharCountIndicator(c.mode,e)),c.write(n)});const i=Pn.getSymbolTotalCodewords(e),o=Ai.getTotalCodewordsCount(e,t),a=(i-o)*8;for(n.getLengthInBits()+4<=a&&n.put(0,4);n.getLengthInBits()%8!==0;)n.putBit(0);const s=(a-n.getLengthInBits())/8;for(let c=0;c<s;c++)n.put(c%2?17:236,8);return pm(n,e,t)}function pm(e,t,r){const n=Pn.getSymbolTotalCodewords(t),i=Ai.getTotalCodewordsCount(t,r),o=n-i,a=Ai.getBlocksCount(t,r),s=n%a,c=a-s,f=Math.floor(n/a),w=Math.floor(o/a),m=w+1,l=f-w,u=new im(l);let d=0;const p=new Array(a),h=new Array(a);let v=0;const _=new Uint8Array(e.buffer);for(let C=0;C<a;C++){const x=C<c?w:m;p[C]=_.slice(d,d+x),h[C]=u.encode(p[C]),d+=x,v=Math.max(v,x)}const g=new Uint8Array(n);let b=0,S,k;for(S=0;S<v;S++)for(k=0;k<a;k++)S<p[k].length&&(g[b++]=p[k][S]);for(S=0;S<l;S++)for(k=0;k<a;k++)g[b++]=h[k][S];return g}function hm(e,t,r,n){let i;if(Array.isArray(e))i=Zn.fromArray(e);else if(typeof e=="string"){let f=t;if(!f){const w=Zn.rawSplit(e);f=tn.getBestVersionForData(w,r)}i=Zn.fromString(e,f||40)}else throw new Error("Invalid data");const o=tn.getBestVersionForData(i,r);if(!o)throw new Error("The amount of data is too big to be stored in a QR Code");if(!t)t=o;else if(t<o)throw new Error(`
16
+ */var yr=mf;function gf(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var yf=typeof Object.is=="function"?Object.is:gf,wf=yr.useSyncExternalStore,vf=yr.useRef,bf=yr.useEffect,_f=yr.useMemo,Sf=yr.useDebugValue;mc.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var o=vf(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=_f(function(){function c(u){if(!h){if(h=!0,d=u,u=n(u),i!==void 0&&a.hasValue){var f=a.value;if(i(f,u))return m=f}return m=u}if(f=m,yf(d,u))return f;var p=n(u);return i!==void 0&&i(f,p)?f:(d=u,m=p)}var h=!1,d,m,l=r===void 0?null:r;return[function(){return c(t())},l===null?void 0:function(){return c(l())}]},[t,r,n,i]);var s=wf(e,o[0],o[1]);return bf(function(){a.hasValue=!0,a.value=s},[s]),Sf(s),s};hc.exports=mc;var Cf=hc.exports,_e="default"in Zt?Cs:Zt,ka=Symbol.for("react-redux-context"),xa=typeof globalThis!="undefined"?globalThis:{};function kf(){var r;if(!_e.createContext)return{};const e=(r=xa[ka])!=null?r:xa[ka]=new Map;let t=e.get(_e.createContext);return t||(t=_e.createContext(null),e.set(_e.createContext,t)),t}var nt=kf(),xf=()=>{throw new Error("uSES not initialized!")};function no(e=nt){return function(){return _e.useContext(e)}}var gc=no(),yc=xf,Tf=e=>{yc=e},Ef=(e,t)=>e===t;function Af(e=nt){const t=e===nt?gc:no(e);return function(n,i={}){const{equalityFn:o=Ef,devModeChecks:a={}}=typeof i=="function"?{equalityFn:i}:i,{store:s,subscription:c,getServerState:h,stabilityCheck:d,identityFunctionCheck:m}=t();_e.useRef(!0);const l=_e.useCallback({[n.name](f){return n(f)}}[n.name],[n,d,a.stabilityCheck]),u=yc(c.addNestedSub,s.getState,h||s.getState,l,o);return _e.useDebugValue(u),u}}var wc=Af();function vc(e){e()}function Rf(){let e=null,t=null;return{clear(){e=null,t=null},notify(){vc(()=>{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 Ta={notify(){},get:()=>[]};function Pf(e,t){let r,n=Ta,i=0,o=!1;function a(p){d();const g=n.subscribe(p);let v=!1;return()=>{v||(v=!0,g(),m())}}function s(){n.notify()}function c(){f.onStateChange&&f.onStateChange()}function h(){return o}function d(){i++,r||(r=t?t.addNestedSub(c):e.subscribe(c),n=Rf())}function m(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=Ta)}function l(){o||(o=!0,d())}function u(){o&&(o=!1,m())}const f={addNestedSub:a,notifyNestedSubs:s,handleChangeWrapper:c,isSubscribed:h,trySubscribe:l,tryUnsubscribe:u,getListeners:()=>n};return f}var If=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",Mf=If?_e.useLayoutEffect:_e.useEffect;function Ea(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function Gr(e,t){if(Ea(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])||!Ea(e[r[i]],t[r[i]]))return!1;return!0}function Ff({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const a=_e.useMemo(()=>{const h=Pf(e);return{store:e,subscription:h,getServerState:n?()=>n:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,n,i,o]),s=_e.useMemo(()=>e.getState(),[e]);Mf(()=>{const{subscription:h}=a;return h.onStateChange=h.notifyNestedSubs,h.trySubscribe(),s!==e.getState()&&h.notifyNestedSubs(),()=>{h.tryUnsubscribe(),h.onStateChange=void 0}},[a,s]);const c=t||nt;return _e.createElement(c.Provider,{value:a},r)}var Nf=Ff;function bc(e=nt){const t=e===nt?gc:no(e);return function(){const{store:n}=t();return n}}var _c=bc();function Df(e=nt){const t=e===nt?_c:bc(e);return function(){return t().dispatch}}var Sc=Df(),Of=vc;Tf(Cf.useSyncExternalStoreWithSelector);function Aa(e,t,r,n){const i=ue(()=>({queryArgs:e,serialized:typeof e=="object"?t({queryArgs:e,endpointDefinition:r,endpointName:n}):e}),[e,t,r,n]),o=ve(i);return Z(()=>{o.current.serialized!==i.serialized&&(o.current=i)},[i]),o.current.serialized===i.serialized?o.current.queryArgs:e}var Vn=Symbol();function Qn(e){const t=ve(e);return Z(()=>{Gr(t.current,e)||(t.current=e)},[e]),Gr(t.current,e)?t.current:e}var wt=WeakMap?new WeakMap:void 0,Bf=({endpointName:e,queryArgs:t})=>{let r="";const n=wt==null?void 0:wt.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,a)=>ze(a)?Object.keys(a).sort().reduce((s,c)=>(s[c]=a[c],s),{}):a);ze(t)&&(wt==null||wt.set(t,i)),r=i}return`${e}(${r})`},Lf=typeof window!="undefined"&&window.document&&window.document.createElement?mt:Z,$f=e=>e.isUninitialized?J(N({},e),{isUninitialized:!1,isFetching:!0,isLoading:e.data===void 0,status:sc.pending}):e;function Uf({api:e,moduleOptions:{batch:t,hooks:{useDispatch:r,useSelector:n,useStore:i},unstable__sideEffectsInRender:o},serializeQueryArgs:a,context:s}){const c=o?u=>u():Z;return{buildQueryHooks:m,buildMutationHook:l,usePrefetch:d};function h(u,f,p){if(f!=null&&f.endpointName&&u.isUninitialized){const{endpointName:S}=f,k=s.endpointDefinitions[S];a({queryArgs:f.originalArgs,endpointDefinition:k,endpointName:S})===a({queryArgs:p,endpointDefinition:k,endpointName:S})&&(f=void 0)}let g=u.isSuccess?u.data:f==null?void 0:f.data;g===void 0&&(g=u.data);const v=g!==void 0,_=u.isLoading,y=!v&&_,b=u.isSuccess||_&&v;return J(N({},u),{data:g,currentData:u.data,isFetching:_,isLoading:y,isSuccess:b})}function d(u,f){const p=r(),g=Qn(f);return vt((v,_)=>p(e.util.prefetch(u,v,N(N({},g),_))),[u,p,g])}function m(u){const f=(v,{refetchOnReconnect:_,refetchOnFocus:y,refetchOnMountOrArgChange:b,skip:S=!1,pollingInterval:k=0}={})=>{const{initiate:C}=e.endpoints[u],x=r(),T=ve();if(!T.current){const L=x(e.internalActions.internal_getRTKQSubscriptions());T.current=L}const E=Aa(S?ct:v,Bf,s.endpointDefinitions[u],u),R=Qn({refetchOnReconnect:_,refetchOnFocus:y,pollingInterval:k}),I=ve(!1),P=ve();let{queryCacheKey:M,requestId:$}=P.current||{},G=!1;M&&$&&(G=T.current.isRequestSubscribed(M,$));const z=!G&&I.current;return c(()=>{I.current=G}),c(()=>{z&&(P.current=void 0)},[z]),c(()=>{var ee;const L=P.current;if(E===ct){L==null||L.unsubscribe(),P.current=void 0;return}const ne=(ee=P.current)==null?void 0:ee.subscriptionOptions;if(!L||L.arg!==E){L==null||L.unsubscribe();const pe=x(C(E,{subscriptionOptions:R,forceRefetch:b}));P.current=pe}else R!==ne&&L.updateSubscriptionOptions(R)},[x,C,b,E,R,z]),Z(()=>()=>{var L;(L=P.current)==null||L.unsubscribe(),P.current=void 0},[]),ue(()=>({refetch:()=>{var L;if(!P.current)throw new Error(Ee(38));return(L=P.current)==null?void 0:L.refetch()}}),[])},p=({refetchOnReconnect:v,refetchOnFocus:_,pollingInterval:y=0}={})=>{const{initiate:b}=e.endpoints[u],S=r(),[k,C]=ae(Vn),x=ve(),T=Qn({refetchOnReconnect:v,refetchOnFocus:_,pollingInterval:y});c(()=>{var P,M;const I=(P=x.current)==null?void 0:P.subscriptionOptions;T!==I&&((M=x.current)==null||M.updateSubscriptionOptions(T))},[T]);const E=ve(T);c(()=>{E.current=T},[T]);const R=vt(function(I,P=!1){let M;return t(()=>{var $;($=x.current)==null||$.unsubscribe(),x.current=M=S(b(I,{subscriptionOptions:E.current,forceRefetch:!P})),C(I)}),M},[S,b]);return Z(()=>()=>{var I;(I=x==null?void 0:x.current)==null||I.unsubscribe()},[]),Z(()=>{k!==Vn&&!x.current&&R(k,!0)},[k,R]),ue(()=>[R,k],[R,k])},g=(v,{skip:_=!1,selectFromResult:y}={})=>{const{select:b}=e.endpoints[u],S=Aa(_?ct:v,a,s.endpointDefinitions[u],u),k=ve(),C=ue(()=>Ct([b(S),(I,P)=>P,I=>S],h),[b,S]),x=ue(()=>y?Ct([C],y,{devModeChecks:{identityFunctionCheck:"never"}}):C,[C,y]),T=n(I=>x(I,k.current),Gr),E=i(),R=C(E.getState(),k.current);return Lf(()=>{k.current=R},[R]),T};return{useQueryState:g,useQuerySubscription:f,useLazyQuerySubscription:p,useLazyQuery(v){const[_,y]=p(v),b=g(y,J(N({},v),{skip:y===Vn})),S=ue(()=>({lastArg:y}),[y]);return ue(()=>[_,b,S],[_,b,S])},useQuery(v,_){const y=f(v,_),b=g(v,N({selectFromResult:v===ct||_!=null&&_.skip?void 0:$f},_)),{data:S,status:k,isLoading:C,isSuccess:x,isError:T,error:E}=b;return Wr({data:S,status:k,isLoading:C,isSuccess:x,isError:T,error:E}),ue(()=>N(N({},b),y),[b,y])}}}function l(u){return({selectFromResult:f,fixedCacheKey:p}={})=>{const{select:g,initiate:v}=e.endpoints[u],_=r(),[y,b]=ae();Z(()=>()=>{y!=null&&y.arg.fixedCacheKey||y==null||y.reset()},[y]);const S=vt(function(ee){const pe=_(v(ee,{fixedCacheKey:p}));return b(pe),pe},[_,v,p]),{requestId:k}=y||{},C=ue(()=>g({fixedCacheKey:p,requestId:y==null?void 0:y.requestId}),[p,y,g]),x=ue(()=>f?Ct([C],f):C,[f,C]),T=n(x,Gr),E=p==null?y==null?void 0:y.arg.originalArgs:void 0,R=vt(()=>{t(()=>{y&&b(void 0),p&&_(e.internalActions.removeMutationResult({requestId:k,fixedCacheKey:p}))})},[_,p,y,k]),{endpointName:I,data:P,status:M,isLoading:$,isSuccess:G,isError:z,error:L}=T;Wr({endpointName:I,data:P,status:M,isLoading:$,isSuccess:G,isError:z,error:L});const ne=ue(()=>J(N({},T),{originalArgs:E,reset:R}),[T,E,R]);return ue(()=>[S,ne],[S,ne])}}}function zf(e){return e.type==="query"}function jf(e){return e.type==="mutation"}function Jn(e){return e.replace(e[0],e[0].toUpperCase())}function Pr(e,...t){return Object.assign(e,...t)}var Hf=Symbol(),Wf=(i={})=>{var o=i,{batch:e=Of,hooks:t={useDispatch:Sc,useSelector:wc,useStore:_c},unstable__sideEffectsInRender:r=!1}=o,n=We(o,["batch","hooks","unstable__sideEffectsInRender"]);return{name:Hf,init(a,{serializeQueryArgs:s},c){const h=a,{buildQueryHooks:d,buildMutationHook:m,usePrefetch:l}=Uf({api:a,moduleOptions:{batch:e,hooks:t,unstable__sideEffectsInRender:r},serializeQueryArgs:s,context:c});return Pr(h,{usePrefetch:l}),Pr(c,{batch:e}),{injectEndpoint(u,f){if(zf(f)){const{useQuery:p,useLazyQuery:g,useLazyQuerySubscription:v,useQueryState:_,useQuerySubscription:y}=d(u);Pr(h.endpoints[u],{useQuery:p,useLazyQuery:g,useLazyQuerySubscription:v,useQueryState:_,useQuerySubscription:y}),a[`use${Jn(u)}Query`]=p,a[`useLazy${Jn(u)}Query`]=g}else if(jf(f)){const p=m(u);Pr(h.endpoints[u],{useMutation:p}),a[`use${Jn(u)}Mutation`]=p}}}}}},Cc=tf(hf(),Wf());const kc=(e,t,r)=>me(void 0,null,function*(){const n=t.getState().session.backendUrl;return Jd({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)}),Xe=Cc({baseQuery:kc,reducerPath:"backendApi",endpoints:e=>({campaignConnect:e.query({query:()=>({url:"super-campaign/backend/campaign-connect",method:"GET"}),keepUnusedDataFor:Number.MAX_SAFE_INTEGER}),byofCampaignConnect:e.query({query:t=>({url:`super-campaign/backend/byof-campaign-connect/${t}`,method:"GET"})}),appLoaded:e.mutation({query:()=>({url:"super-campaign/backend/app-loaded",method:"POST"})}),errorLogs:e.mutation({query:t=>({url:"super-campaign/backend/error-logs",method:"POST",body:t})})})}),{useLazyCampaignConnectQuery:qf,useCampaignConnectQuery:Vf,useByofCampaignConnectQuery:xc,useAppLoadedMutation:Qf,useErrorLogsMutation:Zg}=Xe;var _i={exports:{}};(function(e,t){(function(r,n){var i="1.0.37",o="",a="?",s="function",c="undefined",h="object",d="string",m="major",l="model",u="name",f="type",p="vendor",g="version",v="architecture",_="console",y="mobile",b="tablet",S="smarttv",k="wearable",C="embedded",x=500,T="Amazon",E="Apple",R="ASUS",I="BlackBerry",P="Browser",M="Chrome",$="Edge",G="Firefox",z="Google",L="Huawei",ne="LG",ee="Microsoft",pe="Motorola",He="Opera",ie="Samsung",Ot="Sharp",oe="Sony",Ie="Xiaomi",Mn="Zebra",go="Facebook",yo="Chromium OS",wo="Mac OS",lu=function(U,V){var B={};for(var Y in U)V[Y]&&V[Y].length%2===0?B[Y]=V[Y].concat(U[Y]):B[Y]=U[Y];return B},Sr=function(U){for(var V={},B=0;B<U.length;B++)V[U[B].toUpperCase()]=U[B];return V},vo=function(U,V){return typeof U===d?Bt(V).indexOf(Bt(U))!==-1:!1},Bt=function(U){return U.toLowerCase()},du=function(U){return typeof U===d?U.replace(/[^\d\.]/g,o).split(".")[0]:n},Fn=function(U,V){if(typeof U===d)return U=U.replace(/^\s\s*/,o),typeof V===c?U:U.substring(0,x)},Lt=function(U,V){for(var B=0,Y,Ye,Oe,q,O,Be;B<V.length&&!O;){var Dn=V[B],So=V[B+1];for(Y=Ye=0;Y<Dn.length&&!O&&Dn[Y];)if(O=Dn[Y++].exec(U),O)for(Oe=0;Oe<So.length;Oe++)Be=O[++Ye],q=So[Oe],typeof q===h&&q.length>0?q.length===2?typeof q[1]==s?this[q[0]]=q[1].call(this,Be):this[q[0]]=q[1]:q.length===3?typeof q[1]===s&&!(q[1].exec&&q[1].test)?this[q[0]]=Be?q[1].call(this,Be,q[2]):n:this[q[0]]=Be?Be.replace(q[1],q[2]):n:q.length===4&&(this[q[0]]=Be?q[3].call(this,Be.replace(q[1],q[2])):n):this[q]=Be||n;B+=2}},Nn=function(U,V){for(var B in V)if(typeof V[B]===h&&V[B].length>0){for(var Y=0;Y<V[B].length;Y++)if(vo(V[B][Y],U))return B===a?n:B}else if(vo(V[B],U))return B===a?n:B;return U},fu={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},bo={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},_o={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[g,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[g,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,g],[/opios[\/ ]+([\w\.]+)/i],[g,[u,He+" Mini"]],[/\bopr\/([\w\.]+)/i],[g,[u,He]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[g,[u,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[u,g],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[g,[u,"UC"+P]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[g,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[g,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[g,[u,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[g,[u,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[g,[u,"Smart Lenovo "+P]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure "+P],g],[/\bfocus\/([\w\.]+)/i],[g,[u,G+" Focus"]],[/\bopt\/([\w\.]+)/i],[g,[u,He+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[g,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[g,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[g,[u,He+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[g,[u,"MIUI "+P]],[/fxios\/([-\w\.]+)/i],[g,[u,G]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360 "+P]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1 "+P],g],[/samsungbrowser\/([\w\.]+)/i],[g,[u,ie+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],g],[/metasr[\/ ]?([\d\.]+)/i],[g,[u,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[u,"Sogou Mobile"],g],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[u,g],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,go],g],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[u,g],[/\bgsa\/([\w\.]+) .*safari\//i],[g,[u,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[g,[u,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[g,[u,M+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,M+" WebView"],g],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[g,[u,"Android "+P]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,g],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[g,[u,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[g,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[g,Nn,fu]],[/(webkit|khtml)\/([\w\.]+)/i],[u,g],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],g],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[g,[u,G+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[u,g],[/(cobalt)\/([\w\.]+)/i],[u,[g,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[v,"amd64"]],[/(ia32(?=;))/i],[[v,Bt]],[/((?:i[346]|x)86)[;\)]/i],[[v,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[v,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[v,"armhf"]],[/windows (ce|mobile); ppc;/i],[[v,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[v,/ower/,o,Bt]],[/(sun4\w)[;\)]/i],[[v,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[v,Bt]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[l,[p,ie],[f,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[p,ie],[f,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[l,[p,E],[f,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[p,E],[f,b]],[/(macintosh);/i],[l,[p,E]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[p,Ot],[f,y]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[p,L],[f,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[l,[p,L],[f,y]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[l,/_/g," "],[p,Ie],[f,y]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[p,Ie],[f,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[p,"OPPO"],[f,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[p,"Vivo"],[f,y]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[l,[p,"Realme"],[f,y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[l,[p,pe],[f,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[p,pe],[f,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[p,ne],[f,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[p,ne],[f,y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[p,"Lenovo"],[f,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[p,"Nokia"],[f,y]],[/(pixel c)\b/i],[l,[p,z],[f,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[p,z],[f,y]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[p,oe],[f,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[p,oe],[f,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[p,"OnePlus"],[f,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[p,T],[f,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[p,T],[f,y]],[/(playbook);[-\w\),; ]+(rim)/i],[l,p,[f,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[p,I],[f,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[p,R],[f,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[p,R],[f,y]],[/(nexus 9)/i],[l,[p,"HTC"],[f,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[p,[l,/_/g," "],[f,y]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[p,"Acer"],[f,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[p,"Meizu"],[f,y]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[l,[p,"Ulefone"],[f,y]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[p,l,[f,y]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[p,l,[f,b]],[/(surface duo)/i],[l,[p,ee],[f,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[p,"Fairphone"],[f,y]],[/(u304aa)/i],[l,[p,"AT&T"],[f,y]],[/\bsie-(\w*)/i],[l,[p,"Siemens"],[f,y]],[/\b(rct\w+) b/i],[l,[p,"RCA"],[f,b]],[/\b(venue[\d ]{2,7}) b/i],[l,[p,"Dell"],[f,b]],[/\b(q(?:mv|ta)\w+) b/i],[l,[p,"Verizon"],[f,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[p,"Barnes & Noble"],[f,b]],[/\b(tm\d{3}\w+) b/i],[l,[p,"NuVision"],[f,b]],[/\b(k88) b/i],[l,[p,"ZTE"],[f,b]],[/\b(nx\d{3}j) b/i],[l,[p,"ZTE"],[f,y]],[/\b(gen\d{3}) b.+49h/i],[l,[p,"Swiss"],[f,y]],[/\b(zur\d{3}) b/i],[l,[p,"Swiss"],[f,b]],[/\b((zeki)?tb.*\b) b/i],[l,[p,"Zeki"],[f,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[p,"Dragon Touch"],l,[f,b]],[/\b(ns-?\w{0,9}) b/i],[l,[p,"Insignia"],[f,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[p,"NextBook"],[f,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[p,"Voice"],l,[f,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[p,"LvTel"],l,[f,y]],[/\b(ph-1) /i],[l,[p,"Essential"],[f,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[p,"Envizen"],[f,b]],[/\b(trio[-\w\. ]+) b/i],[l,[p,"MachSpeed"],[f,b]],[/\btu_(1491) b/i],[l,[p,"Rotor"],[f,b]],[/(shield[\w ]+) b/i],[l,[p,"Nvidia"],[f,b]],[/(sprint) (\w+)/i],[p,l,[f,y]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[p,ee],[f,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[p,Mn],[f,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[p,Mn],[f,y]],[/smart-tv.+(samsung)/i],[p,[f,S]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[p,ie],[f,S]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[p,ne],[f,S]],[/(apple) ?tv/i],[p,[l,E+" TV"],[f,S]],[/crkey/i],[[l,M+"cast"],[p,z],[f,S]],[/droid.+aft(\w+)( bui|\))/i],[l,[p,T],[f,S]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[l,[p,Ot],[f,S]],[/(bravia[\w ]+)( bui|\))/i],[l,[p,oe],[f,S]],[/(mitv-\w{5}) bui/i],[l,[p,Ie],[f,S]],[/Hbbtv.*(technisat) (.*);/i],[p,l,[f,S]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[p,Fn],[l,Fn],[f,S]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[f,S]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[p,l,[f,_]],[/droid.+; (shield) bui/i],[l,[p,"Nvidia"],[f,_]],[/(playstation [345portablevi]+)/i],[l,[p,oe],[f,_]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[p,ee],[f,_]],[/((pebble))app/i],[p,l,[f,k]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[l,[p,E],[f,k]],[/droid.+; (glass) \d/i],[l,[p,z],[f,k]],[/droid.+; (wt63?0{2,3})\)/i],[l,[p,Mn],[f,k]],[/(quest( 2| pro)?)/i],[l,[p,go],[f,k]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[p,[f,C]],[/(aeobc)\b/i],[l,[p,T],[f,C]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[l,[f,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[f,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[f,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[f,y]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[p,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[g,[u,$+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[g,[u,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[u,g],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[g,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,g],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[u,[g,Nn,bo]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[g,Nn,bo],[u,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[g,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,wo],[g,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[g,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,g],[/\(bb(10);/i],[g,[u,I]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[g,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[g,[u,G+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[g,[u,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[g,[u,"watchOS"]],[/crkey\/([\d\.]+)/i],[g,[u,M+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[u,yo],g],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[u,g],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],g],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[u,g]]},Me=function(U,V){if(typeof U===h&&(V=U,U=n),!(this instanceof Me))return new Me(U,V).getResult();var B=typeof r!==c&&r.navigator?r.navigator:n,Y=U||(B&&B.userAgent?B.userAgent:o),Ye=B&&B.userAgentData?B.userAgentData:n,Oe=V?lu(_o,V):_o,q=B&&B.userAgent==Y;return this.getBrowser=function(){var O={};return O[u]=n,O[g]=n,Lt.call(O,Y,Oe.browser),O[m]=du(O[g]),q&&B&&B.brave&&typeof B.brave.isBrave==s&&(O[u]="Brave"),O},this.getCPU=function(){var O={};return O[v]=n,Lt.call(O,Y,Oe.cpu),O},this.getDevice=function(){var O={};return O[p]=n,O[l]=n,O[f]=n,Lt.call(O,Y,Oe.device),q&&!O[f]&&Ye&&Ye.mobile&&(O[f]=y),q&&O[l]=="Macintosh"&&B&&typeof B.standalone!==c&&B.maxTouchPoints&&B.maxTouchPoints>2&&(O[l]="iPad",O[f]=b),O},this.getEngine=function(){var O={};return O[u]=n,O[g]=n,Lt.call(O,Y,Oe.engine),O},this.getOS=function(){var O={};return O[u]=n,O[g]=n,Lt.call(O,Y,Oe.os),q&&!O[u]&&Ye&&Ye.platform!="Unknown"&&(O[u]=Ye.platform.replace(/chrome os/i,yo).replace(/macos/i,wo)),O},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Y},this.setUA=function(O){return Y=typeof O===d&&O.length>x?Fn(O,x):O,this},this.setUA(Y),this};Me.VERSION=i,Me.BROWSER=Sr([u,g,m]),Me.CPU=Sr([v]),Me.DEVICE=Sr([l,p,f,_,y,S,b,k,C]),Me.ENGINE=Me.OS=Sr([u,g]),e.exports&&(t=e.exports=Me),t.UAParser=Me;var gt=typeof r!==c&&(r.jQuery||r.Zepto);if(gt&&!gt.ua){var Cr=new Me;gt.ua=Cr.getResult(),gt.ua.get=function(){return Cr.getUA()},gt.ua.set=function(U){Cr.setUA(U);var V=Cr.getResult();for(var B in V)gt.ua[B]=V[B]}}})(typeof window=="object"?window:hl)})(_i,_i.exports);var Jf=_i.exports;const Kn=new Jf.UAParser,Tc=()=>/iPad|iPhone|iPod/.test(navigator.userAgent),Ec=()=>/Android/.test(navigator.userAgent),pt=()=>Ec()||Tc(),Ac=()=>({deviceType:Ec()||Tc()?"Mobile":"Desktop",platform:Kn.getOS().name,Browser:Kn.getBrowser().name,"Browser Version":Kn.getBrowser().version}),Kt=Cc({baseQuery:kc,reducerPath:"segmentApi",endpoints:e=>({segmentIdentify:e.mutation({query:()=>({url:"super-campaign/backend/segment/identify",method:"POST"})}),segmentTrack:e.mutation({query:({event:t,properties:r})=>({url:"super-campaign/backend/segment/t",method:"POST",body:{event:t,properties:N(N({},r),Ac())}})}),segmentPage:e.mutation({query:({event:t,properties:r})=>({url:"super-campaign/backend/segment/p",method:"POST",body:{event:t,properties:r}})})})}),{useSegmentIdentifyMutation:Kf,useSegmentTrackMutation:Yf,useSegmentPageMutation:Xg}=Kt,Gf={selectedVariants:{}},Si=Ve({name:"experimentsData",initialState:Gf,reducers:{setExperiment:(e,t)=>{const{experimentName:r,selectedVariant:n}=t.payload;return e.selectedVariants[r]||(e.selectedVariants[r]=n),e}}}),{setExperiment:Zf}=Si.actions,Ci=Ve({name:"session",initialState:{},reducers:{setSession:(e,t)=>t.payload}}),{setSession:Xf}=Ci.actions,ki=Ve({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,fundName:t.payload.fundName}},clearSelectedFund:e=>{e.selectedFund=void 0}}}),{setFunds:ep,setSelectedFund:io,clearSelectedFund:qe}=ki.actions,ut=Sd({reducer:{[Ci.name]:Ci.reducer,[Xe.reducerPath]:Xe.reducer,[Kt.reducerPath]:Kt.reducer,[ki.reducerPath]:ki.reducer,[Si.reducerPath]:Si.reducer},middleware:e=>e().concat(Xe.middleware,Kt.middleware)}),wr=()=>Sc(),Pe=wc,xn="32367272075001",Tn="slate",fe=e=>{document.dispatchEvent(new CustomEvent(e.type,{detail:e}))},tp=()=>{fe({sender:"byof-engagement",type:"continue",reason:"No content to display"})},rp=()=>{fe({sender:"byof-engagement",type:"continue",reason:"Continue button was clicked"})},np=()=>{fe({sender:"byof-engagement",type:"continue",reason:"Timeout, or a backend error has occurred"})},ip=()=>{const[e]=Yf();return()=>{fe({sender:"super-campaign",type:"choose-another-fund-requested"}),e({event:"FeaturedFunds Skipped",properties:{method:"button"}})}},op=e=>{fe({sender:"super-campaign",type:"fund-panel-shown",shownFunds:e.map(t=>({fundId:t.fundId,fundType:t.fundType}))})},ap=e=>{fe({sender:"super-campaign",type:"fund-tile-clicked",fundId:e.fundId,fundType:e.fundType,fundName:e.name,fundUsi:e.fundId===Tn?xn:void 0})},re=e=>{fe({sender:"super-campaign",type:"fund-pds-viewed",pageName:"Panel Fund Page",fundName:e.name,fundUsi:e.fundId===Tn?xn:void 0})},sp=()=>{fe({sender:"super-campaign",type:"disclaimer-accepted"})},cp=()=>{fe({sender:"super-campaign",type:"disclaimer-viewed"})},Ht=(e,t)=>{fe({sender:e,type:"promoted-fund-joined",fundJoinInfo:t})},up=()=>{fe({sender:"super-campaign",type:"super-campaign-loaded"})},lp=e=>{fe({sender:"super-campaign",type:"super-campaign-load-failed",reason:e})},dp=e=>{fe({sender:"super-campaign",type:"super-campaign-failed",reason:e})},fp=()=>{fe({sender:"featured-funds",type:"back-clicked"})},pp=e=>{fe({sender:"featured-funds",type:"featured-fund-panel-shown",shownFunds:e.map(t=>({fundId:t.fundId,fundType:"promoted"}))})},hp=e=>{fe({sender:"featured-funds",type:"continue-clicked",fundId:e.fundId,fundName:e.name,fundType:"promoted",fundUsi:e.fundId.toString()===Tn?xn:void 0})},Rc=()=>{fe({sender:"featured-funds",type:"cancel-clicked"})};var mp=0;function Zr(e,t,r,n,i,o){var a,s,c={};for(s in t)s=="ref"?a=t[s]:c[s]=t[s];var h={type:e,props:c,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--mp,__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 F.vnode&&F.vnode(h),h}var Ae=Ce;function w(e,t,r){return _n.call(t,"css")?Zr(Hs,js(e,t),r):Zr(e,t,r)}function A(e,t,r){return _n.call(t,"css")?Zr(Hs,js(e,t),r):Zr(e,t,r)}const gp=j.a({fontWeight:"500",textDecorationLine:"underline",textUnderlineOffset:"2px",":hover":{"--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))"}}),yp="_extnav=true",D=i=>{var o=i,{link:e,onClick:t,children:r}=o,n=We(o,["link","onClick","children"]);const a=e.indexOf("?")===-1?"?":"&",s=`${e}${a}${yp}`;return w(gp,J(N({target:"_blank",href:s,onClick:t},n),{children:r}))},wp=""+new URL("assets/logo-australian-D0VAGS6p.svg",import.meta.url).href,vp="AustralianSuper",bp="https://www.australiansuper.com/tools-and-advice/learn/product-disclosure-statements?utm_medium=digital&utm_source=pds_choose&utm_campaign=new_channels_flare|join|fy25|q1|august",_p="https://www.australiansuper.com/tools-and-advice/learn/target-market-determinations?utm_medium=digital&utm_source=tmd&utm_campaign=new_channels_flare|join|fy25|q1|august",xi={fundId:"australian-super-default",name:vp,logo:wp,iframeType:"PromotedFundJoinV2",features:[A("p",{children:["One in seven working Australians are with AustralianSuper",w("sup",{css:{fontSize:"0.625rem"},children:"1"}),"."]}),w("p",{children:"Digital tools and resources for super management and future planning."}),w("p",{children:"Access to a wide range of investment options."})],featureSubText:void 0,disclaimer:A("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:"1. Source: Australian Bureau of Statistics (Labour force) December 2023 and AustralianSuper Member Data."}),A("p",{children:["You should consider the"," ",w(D,{onClick:()=>re(xi),link:bp,children:"Product Disclosure Statement"})," ","and"," ",w(D,{onClick:()=>re(xi),link:_p,children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the Fund."]}),w("p",{children:"Sponsored by AustralianSuper Pty Ltd. AustralianSuper Pty Ltd ABN 94 006 457 987 AFSL 233788, Trustee of AustralianSuper ABN 65 714 394 898."})]})},Sp=""+new URL("assets/logo-aware-DYvmVUZ1.svg",import.meta.url).href,Cp="Aware Super",Pc={fundId:"aware-super",name:Cp,logo:Sp,iframeType:"PromotedFundJoinV2",features:[w("p",{children:"8.83% p.a.* returns over 10 years to 30 June 2024 (High Growth option)"}),w("p",{children:"Members get a 45-minute Super Helpful check-in with an advisor"}),w("p",{children:"Multi-award winning fund^ "})],disclaimer:A("div",{children:[A("p",{children:["Consider if we’re right for you and read the"," ",w(D,{onClick:()=>re(Pc),link:"https://aware.com.au/member/contact-aware-super/forms-and-documents",children:"PDS and TMD"}),".",w("br",{}),"^Awards are just one factor to consider when deciding on a product."," ",w(D,{link:"https://aware.com.au/member/about-us/awards",children:"Learn about our awards."}),".",w("br",{}),"*SuperRatings Fund Crediting Rate Survey, June 2024. Based on SR50 Growth (77-90) Index. Past performance does not indicate future performance."]}),w("br",{}),w("p",{children:"Aware Super Pty Ltd (ABN 11 118 202 672, AFSL 293340), trustee of Aware Super (ABN 53 226 460 365)."})]})},kp=""+new URL("assets/logo-aware-DYvmVUZ1.svg",import.meta.url).href,xp="Aware Super",Ic={fundId:"aware-super-default",name:xp,logo:kp,iframeType:"PromotedFundJoinV2",features:[w("p",{children:"8.83% p.a.* returns over 10 years to 30 June 2024 (High Growth option)"}),w("p",{children:"Members get a 45-minute Super Helpful check-in with an advisor"}),w("p",{children:"Multi-award winning fund^ "})],disclaimer:A("div",{children:[A("p",{children:["Consider if we’re right for you and read the"," ",w(D,{onClick:()=>re(Ic),link:"https://aware.com.au/member/contact-aware-super/forms-and-documents",children:"PDS and TMD"}),".",w("br",{}),"^Awards are just one factor to consider when deciding on a product."," ",w(D,{link:"https://aware.com.au/member/about-us/awards",children:"Learn about our awards."}),".",w("br",{}),"*SuperRatings Fund Crediting Rate Survey, June 2024. Based on SR50 Growth (77-90) Index. Past performance does not indicate future performance."]}),w("br",{}),w("p",{children:"Aware Super Pty Ltd (ABN 11 118 202 672, AFSL 293340), trustee of Aware Super (ABN 53 226 460 365)."})]})},Tp=""+new URL("assets/logo-brighter-cKB6xH2M.svg",import.meta.url).href,Ep="https://www.brightersuper.com.au/-/media/public/files/pds-and-guides/accumulation-account-pds.pdf",Ap="https://www.brightersuper.com.au/-/media/public/files/target-market-determination/tmd-brighter-super-accumulation-account.pdf",Rp="https://www.brightersuper.com.au/news/double-digit-returns-in-2023-and-some-of-the-lowest-fees-in-australia",Pp="https://www.brightersuper.com.au/about-us/awards",Ip="Brighter Super",Mc={fundId:"brightersuper",name:Ip,logo:Tp,iframeType:"PromotedFundJoinV2",features:[w("p",{children:"Double-digit returns for our MySuper option in 2023^"}),w("p",{children:"Top 3 industry fund for lowest MySuper fees in Australia^"}),A("p",{children:["Platinum rated by SuperRatings for 16 years in a row",w("sup",{css:{fontSize:"0.625rem"},children:"+"})]})],disclaimer:A("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:[A("p",{children:["^Past performance is not an indicator of future performance."," ",w(D,{link:Rp,children:"Find out more about our MySuper fees and returns."}),w("sup",{css:{fontSize:"0.625rem"},children:"+"}),"Ratings are only one factor to consider."," ",w(D,{link:Pp,children:"View our ratings and awards."})]}),A("p",{children:["Consider the"," ",w(D,{link:Ep,onClick:()=>re(Mc),children:"PDS"})," ","& ",w(D,{link:Ap,children:"TMD"})," before deciding to join."]}),w("p",{children:"Issued by LGIAsuper Trustee (ABN 94 085 088 484, AFSL 230511) as trustee for LGIAsuper (ABN 23 053 121 584), t/a Brighter Super."})]})},Mp=""+new URL("assets/logo-first-CusDmGWL.svg",import.meta.url).href,Fp="First Super",Fc={fundId:"first-super",name:Fp,logo:Mp,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:A("div",{children:[A("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(Fc),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."})]})},Np=""+new URL("assets/logo-hesta-NL7xF41R.svg",import.meta.url).href,Dp="HESTA",Nc={fundId:"hesta-default",name:Dp,logo:Np,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:A("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:[A("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,{link:"https://www.hesta.com.au/ratings",children:"hesta.com.au/ratings"})," ","for more information."]}),A("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(Nc),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"})]})},Op=""+new URL("assets/logo-legalsuper-xG2DgGHY.svg",import.meta.url).href,Bp="legalsuper",Ur={fundId:"legalsuper",name:Bp,logo:Op,iframeType:"PromotedFundJoinV2",features:[w("p",{children:"Strong performance - our investment options are designed to deliver steady returns."}),w("p",{children:"Personalised support - so you can access advice, knowledge and assistance when you need it."}),w("p",{children:"Tailored insurance - various cover options that adapt to life’s milestones and career changes."})],disclaimer:A("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:[A("p",{children:["This information is of a general nature. Please refer to the legalsuper"," ",w(D,{link:"https://www.legalsuper.com.au/super-pds",onClick:()=>re(Ur),children:"Product Disclosure Statement (PDS)"})," ","and"," ",w(D,{link:"https://www.legalsuper.com.au/super-tmd",onClick:()=>re(Ur),children:"Target Market Determination (TMD)"})," ","available at"," ",w(D,{link:"https://www.legalsuper.com.au/",onClick:()=>re(Ur),children:"www.legalsuper.com.au"})," ","before making any decision. Past performance is not a guide to future performance."]}),w("p",{children:"Legal Super Pty Ltd ABN 37 004 455 789 AFSL 246315 as the Trustee for legalsuper ABN 60 346 078 879."})]})},Lp=""+new URL("assets/coverImage-BkXL9zfW.png",import.meta.url).href,$p=""+new URL("assets/logo-mercer-mychoice-BB6VztRp.svg",import.meta.url).href,Up="Mercer MyChoice",oo={fundId:"mercermychoice",name:Up,logo:$p,coverImage:Lp,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:A("div",{children:[A("p",{children:["You should consider the"," ",w(D,{link:"https://www.mercersuper.com.au/campaign-page/mercer-mychoice",onClick:()=>re(oo),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"}),footnoteTextOverride:"Powered by Flare FS"},zp=""+new URL("assets/logo-mine-7mxPtjsF.svg",import.meta.url).href,jp="Mine Super",Dc={fundId:"mine",name:jp,logo:zp,iframeType:"PromotedFundJoinV2",features:[A("p",{children:[w("i",{children:"Money"})," magazine’s Best of the Best Awards for Best Value Superannuation Fund for Young People 2024."]}),w("p",{children:"Insurance cover^ that’s got your back if you’re unable to work due to sickness or injury."}),w("p",{children:"One of the lowest fixed admin fees ($0.75 per week)."})],featureSubText:["^Subject to meeting eligibility criteria."],disclaimer:w("div",{children:A("p",{children:["Mine Super products are issued by AUSCOAL Superannuation Pty Ltd ABN 70 003 566 989 AFS licence 246864 Trustee for the Mine Superannuation Fund ABN 16 457 520 308. Refer to the"," ",w(D,{link:"https://www.mine.com.au/super/about-my-super/super-pds",onClick:()=>re(Dc),children:"PDS"})," ","and ",w(D,{link:"https://www.mine.com.au/tmd",children:"TMDs"})," on our website at ",w(D,{link:"https://www.mine.com.au/",children:"mine.com.au"})," when considering if our financial products are right for you."]})})},Hp=""+new URL("assets/logo-reisuper-aM5iDbpN.svg",import.meta.url).href,Wp="REI Super",Oc={fundId:"reisuper",name:Wp,logo:Hp,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:A("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."}),A("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(Oc),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"},qp=""+new URL("assets/logo-slate-CowODvPX.png",import.meta.url).href,Vp="Slate Super",Xr={fundId:Tn,name:Vp,logo:qp,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:A("p",{children:["You should consider the"," ",w(D,{link:"https://slate.co/pds/?utm_source=flare&utm_medium=superselection",onClick:()=>re(Xr),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"},Qp=""+new URL("assets/logo-spirit-CAaRIHR7.svg",import.meta.url).href,Jp="Spirit Super",Bc={fundId:"spirit",name:Jp,logo:Qp,iframeType:"PromotedFundJoinV2",features:[w("p",{children:"Industry SuperFund - profit to members"}),A("p",{children:["Low fees and a history of strong long-term returns",w("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),A("p",{children:["Best customer experience",w("sup",{css:{fontSize:"0.625rem"},children:"2"})]})],featureSubText:w("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:A("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:"Spirit Super's 10-year, Balanced MySuper option as at 31 March 2024. Past performance isn't a reliable indicator of future performance."})}),w("li",{children:w("span",{children:w(D,{link:"https://www.spiritsuper.com.au/News/Best-in-customer-service-again",children:"CSBA Sense CX Benchmark ratings 2022/23/24"})})})]})}),disclaimer:A("p",{children:["Awards and ratings are only one factor to consider when investing in super. Spirit Super has a commercial agreement with Customer Service Benchmarking Australia Pty Ltd for quality assurance and staff training within our contact centre. Read the award information, PDS and TMD at"," ",w(D,{link:"https://www.spiritsuper.com.au",onClick:()=>re(Bc),children:"spiritsuper.com.au"})," ","and consider your personal circumstances before deciding. Issuer is Motor Trades Association of Australia Superannuation Fund Pty Ltd (AFSL 238 718, ABN 14 008 650 628). Advice by Quadrant First Pty Ltd (AFSL 284 443, ABN 78 102 167 877)."]})},Kp=""+new URL("assets/logo-superhero-DEVv355I.svg",import.meta.url).href,Yp="Superhero Super",Lc={fundId:"superhero",name:Yp,logo:Kp,iframeType:"PromotedFundJoinV2",features:[w("p",{children:"Primed for performance - Our range of investments are designed to deliver"}),w("p",{children:"Low fees - Means more super to build the future you want"}),w("p",{children:"Award winning^ - A direct investment option to build your portfolio your way"})],featureSubText:["^ Awarded Winner: Excellent Rates and Fees, Winner: Best for Direct Investments in the WeMoney Superannuation Awards 2024"],disclaimer:A("div",{children:[A("p",{children:["Superhero Super is a sub-plan of OneSuper (ABN 43 905 581 638), which is issued by Diversa Trustees Limited (ABN 49 006 421 638) as trustee. You should consider the"," ",w(D,{onClick:()=>re(Lc),link:"https://superhe.ro/ext/superhero-super-pds.pdf",children:"Product Disclosure Statement"})," ","and"," ",w(D,{link:"https://cdn.trusteecloud.com/01cd640f-c204-4591-9c2b-c7e4ca5df769/superhero-transition-to-retirement-target-market-determination",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]}),w("br",{}),w("p",{children:"Superhero Super"}),w("p",{children:"USI: 43 905 581 638 018"})]})},Gp=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,Zp="Unisuper",Xp="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",eh="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",$c={fundId:"unisuper",name:Zp,logo:Gp,iframeType:"PromotedFundJoinV2",features:[w("p",{children:"Our fees are among the lowest in the industry.^"}),w("p",{children:"Our strong, long-term performance has regularly exceeded industry averages.*"}),A("p",{children:["We’re consistently awarded as one of Australia’s best-performing funds.",w("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],disclaimer:A("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:[A("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"}),"."]}),A("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"}),"."]}),A("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"}),"."]}),A("p",{children:["Remember to consider the"," ",w(D,{link:Xp,onClick:()=>re($c),children:"Product Disclosure Statement"})," ","and ",w(D,{link:eh,children:"Target Market Determination"})," that is relevant to you."]}),w("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},th=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,rh=""+new URL("assets/unisuper-default-badge1-CC2-KRH2.svg",import.meta.url).href,nh=""+new URL("assets/unisuper-default-badge2-CqUa_Zky.svg",import.meta.url).href,ih=""+new URL("assets/unisuper-default-badge3-B7j1-pyZ.svg",import.meta.url).href,Ir="Unisuper",oh="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",ah="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",Uc={fundId:"unisuper-default-v2",name:Ir,logo:th,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.*"}),A("p",{children:["Award winning super – Continually recognised as one of Australia’s best-performing funds.",w("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],customContent:A("div",{css:{marginTop:"1.5rem",display:"flex",gap:"0.75rem"},children:[w("div",{children:w("img",{alt:Ir,src:rh})}),w("div",{children:w("img",{alt:Ir,src:nh})}),w("div",{children:w("img",{alt:Ir,src:ih})})]}),disclaimer:A("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:[A("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"}),"."]}),A("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"}),"."]}),A("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"}),"."]}),A("p",{children:["Remember to consider the"," ",w(D,{link:oh,onClick:()=>re(Uc),children:"Product Disclosure Statement"})," ","and ",w(D,{link:ah,children:"Target Market Determination"})," that is relevant to you."]}),w("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},sh=""+new URL("assets/logo-virgin-Dg0nHidv.svg",import.meta.url).href,ch="Virgin Money Super",zr={fundId:"virgin",name:ch,logo:sh,iframeType:"PromotedFundJoinV2",features:[A("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"}),A("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:A("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:A("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(zr),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"}),footnoteTextOverride:"Powered by Flare FS",experiments:{"social-validation-popular-virgin":{splitType:"percentage",rotations:0,shouldRun:e=>{var n,i;const t=Xe.endpoints.campaignConnect.select()(e).data,r=(n=t==null?void 0:t.promotedFunds.find(o=>o.fundId===zr.fundId))==null?void 0:n.recentJoinerCount;return!!((!pt()||((i=t==null?void 0:t.promotedFunds)==null?void 0:i[0].fundId)===zr.fundId)&&!(t!=null&&t.promotedFunds.find(o=>o.fundId==="mercermychoice"))&&r)},variants:[{variantName:"control",percentage:0},{variantName:"num-badge",percentage:0},{variantName:"pop-badge",percentage:100}]}}},uh=""+new URL("assets/logo-virgin-Dg0nHidv.svg",import.meta.url).href,lh="Virgin Money Super",zc={fundId:"virgin-default",name:lh,logo:uh,iframeType:"PromotedFundJoinV2",features:[A("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"}),A("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:A("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:A("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(zc),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"}),footnoteTextOverride:"Powered by Flare FS"},dh=5*1e3;let jr=[];const be=(e,t)=>{jr.push({log:e,params:N(N({},t),Ac())})},fh=()=>setInterval(()=>me(void 0,null,function*(){jr.length>0&&"data"in(yield ut.dispatch(Xe.endpoints.errorLogs.initiate({logs:jr})))&&(jr=[])}),dh),ph=[Pc,Ic,Mc,Fc,Nc,Ur,oo,Dc,Oc,Xr,Bc,$c,Uc,zr,zc,xi,Lc],ao=e=>{const t=ph.find(r=>r.fundId===e.fundId);if(t)return J(N({},t),{fundType:e.type,recentJoinerCount:e.recentJoinerCount})},hh=e=>{const t=[];for(const n of e){const i=ao(n);i?t.push(i):be(`Fund ID "${n.fundId}" was not mapped from the Campaign Connect response.`,{fund:n})}if(t.length>0)return t.slice(0,3);const r=oo;return be(`No fund IDs were mapped, returning "${r.fundId}"`,{funds:e}),[J(N({},r),{fundType:"promoted"})]},mh=e=>e==="unisuper-db"?"UniSuper":(be('No defined-benefits fund IDs were mapped."',{fundId:e}),""),so=()=>{const{selectedFund:e}=Pe(r=>r.state);let t="Powered by Flare";if(e){const r=ao({fundId:e==null?void 0:e.fundId,type:"promoted"});r!=null&&r.footnoteTextOverride&&(t=r.footnoteTextOverride)}return A("div",{css:{marginLeft:"auto",marginRight:"auto",marginTop:"2rem",width:"100%",maxWidth:"960px",textAlign:"center",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))","@media (min-width: 640px)":{marginTop:"5rem"}},children:[w("span",{children:t}),A("p",{css:{display:"block",color:"transparent"},children:["v","1.53.56"]})]})},gh=j.div({display:"flex",height:"100%",flexDirection:"column",alignItems:"center",justifyContent:"center"}),yh=j.div({display:"inline-block","@keyframes spin":{to:{transform:"rotate(360deg)"}},animation:"spin 1s linear infinite"}),wh=j.div({marginTop:"0.75rem",textAlign:"center",fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(17 24 39 / var(--tw-text-opacity))","@media (min-width: 640px)":{fontSize:"1.875rem",lineHeight:"2.25rem"}}),vh=j.div({marginTop:"2rem",textAlign:"center",fontSize:"1.125rem",lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(17 24 39 / var(--tw-text-opacity))"}),Re=({size:e=48,isComputingPanelFunds:t=!1})=>{const[r,n]=ae(!1);return Z(()=>{let i;return t&&(i=setTimeout(()=>{n(!0)},3e3)),()=>clearTimeout(i)},[t]),A(gh,{children:[w(yh,{children:A("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)"}})]})}),t&&A(Ae,{children:[w(wh,{children:"Setting up your super choices"}),r&&w(vh,{children:"This may take a few seconds, please don't close this window"})]})]})},Rt=({fillWidth:e=!1,fillWidthOnMobile:t=!1,disabled:r=!1,onClick:n=void 0,children:i,variant:o="primary"})=>{const[a,s]=ae(0);return A("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))"}},o==="primary"&&{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)"}},o==="secondary"&&{"--tw-border-opacity":"1",borderColor:"rgb(209 213 219 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(55 65 81 / var(--tw-text-opacity))",":hover":{"--tw-bg-opacity":"1",backgroundColor:"rgb(249 250 251 / var(--tw-bg-opacity))"}},(e||t)&&{width:"100%"},t&&{"@media (min-width: 640px)":{width:"auto"}}],disabled:r,onClick:()=>me(void 0,null,function*(){if(!(!n||a===1))try{s(1),yield n(),s(0)}catch(h){throw s(2),h}}),children:[a===1&&w(Re,{size:16}),w("div",{css:[a===1&&{display:"none"}],children:i})]})},bh=j.div({width:"fit-content",borderRadius:"0.5rem",borderWidth:"1px"}),_h=j.div({display:"flex",justifyContent:"flex-end",paddingRight:"0.5rem",paddingTop:"0.5rem"}),Sh=j.div({marginRight:"0.25rem",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))"}),Ch=j.div({padding:"0.75rem","@media (min-width: 640px)":{paddingLeft:"3.5rem",paddingRight:"3.5rem",paddingBottom:"2rem"}}),kh=({pillContent:e,children:t})=>A(bh,{children:[e&&w(_h,{children:w(Sh,{children:e})}),w(Ch,{children:t})]});class Wt extends Error{}Wt.prototype.name="InvalidTokenError";function xh(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,r)=>{let n=r.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function Th(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return xh(t)}catch(r){return atob(t)}}function jc(e,t){if(typeof e!="string")throw new Wt("Invalid token specified: must be a string");t||(t={});const r=t.header===!0?0:1,n=e.split(".")[r];if(typeof n!="string")throw new Wt(`Invalid token specified: missing part #${r+1}`);let i;try{i=Th(n)}catch(o){throw new Wt(`Invalid token specified: invalid base64 for part #${r+1} (${o.message})`)}try{return JSON.parse(i)}catch(o){throw new Wt(`Invalid token specified: invalid json for part #${r+1} (${o.message})`)}}const Eh=e=>jc(e),Ah=()=>{const{superBackendUrl:e,accessToken:t,fundUsi:r}=Pe(a=>a.session),{data:n}=xc(r||""),i=`${e}/activity-tracker/track`;return{createTrackedLink:(a,s)=>{var f,p;if(!t)throw new Error("No access token found");const{sub:c,session_id:h}=Eh(t);(!n||n.engagements.length===0)&&be("No engagements found when attempting to create tracked link");const{accountId:d,partnerId:m,engagements:l}=n!=null?n:{accountId:"",partnerId:"",engagements:[]};a=encodeURIComponent(a);let u=`${i}?url=${a}&id=${c}&sId=${h}&usi=${r}&fId=${(p=(f=l[0])==null?void 0:f.fundId)!=null?p:""}&aId=${d}&pId=${m}&ft=manual`;if(s.eventType){const g=encodeURIComponent(s.eventType);u+=`&et=${g}`}return s.type&&(u+=`&type=${s.type}`),s.engagementId&&(u+=`&eId=${s.engagementId}`),u}}};function Rh(e){const t=document.documentElement;for(const r in e.colors)t.style.setProperty(`--${r}`,e.colors[r])}var vr={},Ph=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},Hc={},Te={};let co;const Ih=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];Te.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};Te.getSymbolTotalCodewords=function(t){return Ih[t]};Te.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};Te.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');co=t};Te.isKanjiModeEnabled=function(){return typeof co!="undefined"};Te.toSJIS=function(t){return co(t)};var En={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+r)}}e.isValid=function(n){return n&&typeof n.bit!="undefined"&&n.bit>=0&&n.bit<4},e.from=function(n,i){if(e.isValid(n))return n;try{return t(n)}catch(o){return i}}})(En);function Wc(){this.buffer=[],this.length=0}Wc.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let r=0;r<t;r++)this.putBit((e>>>t-r-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var Mh=Wc;function br(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}br.prototype.set=function(e,t,r,n){const i=e*this.size+t;this.data[i]=r,n&&(this.reservedBit[i]=!0)};br.prototype.get=function(e,t){return this.data[e*this.size+t]};br.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r};br.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var Fh=br,qc={};(function(e){const t=Te.getSymbolSize;e.getRowColCoords=function(n){if(n===1)return[];const i=Math.floor(n/7)+2,o=t(n),a=o===145?26:Math.ceil((o-13)/(2*i-2))*2,s=[o-7];for(let c=1;c<i-1;c++)s[c]=s[c-1]-a;return s.push(6),s.reverse()},e.getPositions=function(n){const i=[],o=e.getRowColCoords(n),a=o.length;for(let s=0;s<a;s++)for(let c=0;c<a;c++)s===0&&c===0||s===0&&c===a-1||s===a-1&&c===0||i.push([o[s],o[c]]);return i}})(qc);var Vc={};const Nh=Te.getSymbolSize,Ra=7;Vc.getPositions=function(t){const r=Nh(t);return[[0,0],[r-Ra,0],[0,r-Ra]]};var Qc={};(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(i){return i!=null&&i!==""&&!isNaN(i)&&i>=0&&i<=7},e.from=function(i){return e.isValid(i)?parseInt(i,10):void 0},e.getPenaltyN1=function(i){const o=i.size;let a=0,s=0,c=0,h=null,d=null;for(let m=0;m<o;m++){s=c=0,h=d=null;for(let l=0;l<o;l++){let u=i.get(m,l);u===h?s++:(s>=5&&(a+=t.N1+(s-5)),h=u,s=1),u=i.get(l,m),u===d?c++:(c>=5&&(a+=t.N1+(c-5)),d=u,c=1)}s>=5&&(a+=t.N1+(s-5)),c>=5&&(a+=t.N1+(c-5))}return a},e.getPenaltyN2=function(i){const o=i.size;let a=0;for(let s=0;s<o-1;s++)for(let c=0;c<o-1;c++){const h=i.get(s,c)+i.get(s,c+1)+i.get(s+1,c)+i.get(s+1,c+1);(h===4||h===0)&&a++}return a*t.N2},e.getPenaltyN3=function(i){const o=i.size;let a=0,s=0,c=0;for(let h=0;h<o;h++){s=c=0;for(let d=0;d<o;d++)s=s<<1&2047|i.get(h,d),d>=10&&(s===1488||s===93)&&a++,c=c<<1&2047|i.get(d,h),d>=10&&(c===1488||c===93)&&a++}return a*t.N3},e.getPenaltyN4=function(i){let o=0;const a=i.data.length;for(let c=0;c<a;c++)o+=i.data[c];return Math.abs(Math.ceil(o*100/a/5)-10)*t.N4};function r(n,i,o){switch(n){case e.Patterns.PATTERN000:return(i+o)%2===0;case e.Patterns.PATTERN001:return i%2===0;case e.Patterns.PATTERN010:return o%3===0;case e.Patterns.PATTERN011:return(i+o)%3===0;case e.Patterns.PATTERN100:return(Math.floor(i/2)+Math.floor(o/3))%2===0;case e.Patterns.PATTERN101:return i*o%2+i*o%3===0;case e.Patterns.PATTERN110:return(i*o%2+i*o%3)%2===0;case e.Patterns.PATTERN111:return(i*o%3+(i+o)%2)%2===0;default:throw new Error("bad maskPattern:"+n)}}e.applyMask=function(i,o){const a=o.size;for(let s=0;s<a;s++)for(let c=0;c<a;c++)o.isReserved(c,s)||o.xor(c,s,r(i,c,s))},e.getBestMask=function(i,o){const a=Object.keys(e.Patterns).length;let s=0,c=1/0;for(let h=0;h<a;h++){o(h),e.applyMask(h,i);const d=e.getPenaltyN1(i)+e.getPenaltyN2(i)+e.getPenaltyN3(i)+e.getPenaltyN4(i);e.applyMask(h,i),d<c&&(c=d,s=h)}return s}})(Qc);var An={};const Ze=En,Mr=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],Fr=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];An.getBlocksCount=function(t,r){switch(r){case Ze.L:return Mr[(t-1)*4+0];case Ze.M:return Mr[(t-1)*4+1];case Ze.Q:return Mr[(t-1)*4+2];case Ze.H:return Mr[(t-1)*4+3];default:return}};An.getTotalCodewordsCount=function(t,r){switch(r){case Ze.L:return Fr[(t-1)*4+0];case Ze.M:return Fr[(t-1)*4+1];case Ze.Q:return Fr[(t-1)*4+2];case Ze.H:return Fr[(t-1)*4+3];default:return}};var Jc={},Rn={};const Yt=new Uint8Array(512),en=new Uint8Array(256);(function(){let t=1;for(let r=0;r<255;r++)Yt[r]=t,en[t]=r,t<<=1,t&256&&(t^=285);for(let r=255;r<512;r++)Yt[r]=Yt[r-255]})();Rn.log=function(t){if(t<1)throw new Error("log("+t+")");return en[t]};Rn.exp=function(t){return Yt[t]};Rn.mul=function(t,r){return t===0||r===0?0:Yt[en[t]+en[r]]};(function(e){const t=Rn;e.mul=function(n,i){const o=new Uint8Array(n.length+i.length-1);for(let a=0;a<n.length;a++)for(let s=0;s<i.length;s++)o[a+s]^=t.mul(n[a],i[s]);return o},e.mod=function(n,i){let o=new Uint8Array(n);for(;o.length-i.length>=0;){const a=o[0];for(let c=0;c<i.length;c++)o[c]^=t.mul(i[c],a);let s=0;for(;s<o.length&&o[s]===0;)s++;o=o.slice(s)}return o},e.generateECPolynomial=function(n){let i=new Uint8Array([1]);for(let o=0;o<n;o++)i=e.mul(i,new Uint8Array([1,t.exp(o)]));return i}})(Jc);const Kc=Jc;function uo(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}uo.prototype.initialize=function(t){this.degree=t,this.genPoly=Kc.generateECPolynomial(this.degree)};uo.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const r=new Uint8Array(t.length+this.degree);r.set(t);const n=Kc.mod(r,this.genPoly),i=this.degree-n.length;if(i>0){const o=new Uint8Array(this.degree);return o.set(n,i),o}return n};var Dh=uo,Yc={},it={},lo={};lo.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var je={};const Gc="[0-9]+",Oh="[A-Z $%*+\\-./:]+";let ur="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";ur=ur.replace(/u/g,"\\u");const Bh="(?:(?![A-Z0-9 $%*+\\-./:]|"+ur+`)(?:.|[\r
17
+ ]))+`;je.KANJI=new RegExp(ur,"g");je.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");je.BYTE=new RegExp(Bh,"g");je.NUMERIC=new RegExp(Gc,"g");je.ALPHANUMERIC=new RegExp(Oh,"g");const Lh=new RegExp("^"+ur+"$"),$h=new RegExp("^"+Gc+"$"),Uh=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");je.testKanji=function(t){return Lh.test(t)};je.testNumeric=function(t){return $h.test(t)};je.testAlphanumeric=function(t){return Uh.test(t)};(function(e){const t=lo,r=je;e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(o,a){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!t.isValid(a))throw new Error("Invalid version: "+a);return a>=1&&a<10?o.ccBits[0]:a<27?o.ccBits[1]:o.ccBits[2]},e.getBestModeForData=function(o){return r.testNumeric(o)?e.NUMERIC:r.testAlphanumeric(o)?e.ALPHANUMERIC:r.testKanji(o)?e.KANJI:e.BYTE},e.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},e.isValid=function(o){return o&&o.bit&&o.ccBits};function n(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+i)}}e.from=function(o,a){if(e.isValid(o))return o;try{return n(o)}catch(s){return a}}})(it);(function(e){const t=Te,r=An,n=En,i=it,o=lo,a=7973,s=t.getBCHDigit(a);function c(l,u,f){for(let p=1;p<=40;p++)if(u<=e.getCapacity(p,f,l))return p}function h(l,u){return i.getCharCountIndicator(l,u)+4}function d(l,u){let f=0;return l.forEach(function(p){const g=h(p.mode,u);f+=g+p.getBitsLength()}),f}function m(l,u){for(let f=1;f<=40;f++)if(d(l,f)<=e.getCapacity(f,u,i.MIXED))return f}e.from=function(u,f){return o.isValid(u)?parseInt(u,10):f},e.getCapacity=function(u,f,p){if(!o.isValid(u))throw new Error("Invalid QR Code version");typeof p=="undefined"&&(p=i.BYTE);const g=t.getSymbolTotalCodewords(u),v=r.getTotalCodewordsCount(u,f),_=(g-v)*8;if(p===i.MIXED)return _;const y=_-h(p,u);switch(p){case i.NUMERIC:return Math.floor(y/10*3);case i.ALPHANUMERIC:return Math.floor(y/11*2);case i.KANJI:return Math.floor(y/13);case i.BYTE:default:return Math.floor(y/8)}},e.getBestVersionForData=function(u,f){let p;const g=n.from(f,n.M);if(Array.isArray(u)){if(u.length>1)return m(u,g);if(u.length===0)return 1;p=u[0]}else p=u;return c(p.mode,p.getLength(),g)},e.getEncodedBits=function(u){if(!o.isValid(u)||u<7)throw new Error("Invalid QR Code version");let f=u<<12;for(;t.getBCHDigit(f)-s>=0;)f^=a<<t.getBCHDigit(f)-s;return u<<12|f}})(Yc);var Zc={};const Ti=Te,Xc=1335,zh=21522,Pa=Ti.getBCHDigit(Xc);Zc.getEncodedBits=function(t,r){const n=t.bit<<3|r;let i=n<<10;for(;Ti.getBCHDigit(i)-Pa>=0;)i^=Xc<<Ti.getBCHDigit(i)-Pa;return(n<<10|i)^zh};var eu={};const jh=it;function Pt(e){this.mode=jh.NUMERIC,this.data=e.toString()}Pt.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};Pt.prototype.getLength=function(){return this.data.length};Pt.prototype.getBitsLength=function(){return Pt.getBitsLength(this.data.length)};Pt.prototype.write=function(t){let r,n,i;for(r=0;r+3<=this.data.length;r+=3)n=this.data.substr(r,3),i=parseInt(n,10),t.put(i,10);const o=this.data.length-r;o>0&&(n=this.data.substr(r),i=parseInt(n,10),t.put(i,o*3+1))};var Hh=Pt;const Wh=it,Yn=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function It(e){this.mode=Wh.ALPHANUMERIC,this.data=e}It.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};It.prototype.getLength=function(){return this.data.length};It.prototype.getBitsLength=function(){return It.getBitsLength(this.data.length)};It.prototype.write=function(t){let r;for(r=0;r+2<=this.data.length;r+=2){let n=Yn.indexOf(this.data[r])*45;n+=Yn.indexOf(this.data[r+1]),t.put(n,11)}this.data.length%2&&t.put(Yn.indexOf(this.data[r]),6)};var qh=It,Vh=function(t){for(var r=[],n=t.length,i=0;i<n;i++){var o=t.charCodeAt(i);if(o>=55296&&o<=56319&&n>i+1){var a=t.charCodeAt(i+1);a>=56320&&a<=57343&&(o=(o-55296)*1024+a-56320+65536,i+=1)}if(o<128){r.push(o);continue}if(o<2048){r.push(o>>6|192),r.push(o&63|128);continue}if(o<55296||o>=57344&&o<65536){r.push(o>>12|224),r.push(o>>6&63|128),r.push(o&63|128);continue}if(o>=65536&&o<=1114111){r.push(o>>18|240),r.push(o>>12&63|128),r.push(o>>6&63|128),r.push(o&63|128);continue}r.push(239,191,189)}return new Uint8Array(r).buffer};const Qh=Vh,Jh=it;function Mt(e){this.mode=Jh.BYTE,typeof e=="string"&&(e=Qh(e)),this.data=new Uint8Array(e)}Mt.getBitsLength=function(t){return t*8};Mt.prototype.getLength=function(){return this.data.length};Mt.prototype.getBitsLength=function(){return Mt.getBitsLength(this.data.length)};Mt.prototype.write=function(e){for(let t=0,r=this.data.length;t<r;t++)e.put(this.data[t],8)};var Kh=Mt;const Yh=it,Gh=Te;function Ft(e){this.mode=Yh.KANJI,this.data=e}Ft.getBitsLength=function(t){return t*13};Ft.prototype.getLength=function(){return this.data.length};Ft.prototype.getBitsLength=function(){return Ft.getBitsLength(this.data.length)};Ft.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let r=Gh.toSJIS(this.data[t]);if(r>=33088&&r<=40956)r-=33088;else if(r>=57408&&r<=60351)r-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+`
18
+ Make sure your charset is UTF-8`);r=(r>>>8&255)*192+(r&255),e.put(r,13)}};var Zh=Ft,tu={exports:{}};(function(e){var t={single_source_shortest_paths:function(r,n,i){var o={},a={};a[n]=0;var s=t.PriorityQueue.make();s.push(n,0);for(var c,h,d,m,l,u,f,p,g;!s.empty();){c=s.pop(),h=c.value,m=c.cost,l=r[h]||{};for(d in l)l.hasOwnProperty(d)&&(u=l[d],f=m+u,p=a[d],g=typeof a[d]=="undefined",(g||p>f)&&(a[d]=f,s.push(d,f),o[d]=h))}if(typeof i!="undefined"&&typeof a[i]=="undefined"){var v=["Could not find a path from ",n," to ",i,"."].join("");throw new Error(v)}return o},extract_shortest_path_from_predecessor_list:function(r,n){for(var i=[],o=n;o;)i.push(o),r[o],o=r[o];return i.reverse(),i},find_path:function(r,n,i){var o=t.single_source_shortest_paths(r,n,i);return t.extract_shortest_path_from_predecessor_list(o,i)},PriorityQueue:{make:function(r){var n=t.PriorityQueue,i={},o;r=r||{};for(o in n)n.hasOwnProperty(o)&&(i[o]=n[o]);return i.queue=[],i.sorter=r.sorter||n.default_sorter,i},default_sorter:function(r,n){return r.cost-n.cost},push:function(r,n){var i={value:r,cost:n};this.queue.push(i),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(tu);var Xh=tu.exports;(function(e){const t=it,r=Hh,n=qh,i=Kh,o=Zh,a=je,s=Te,c=Xh;function h(v){return unescape(encodeURIComponent(v)).length}function d(v,_,y){const b=[];let S;for(;(S=v.exec(y))!==null;)b.push({data:S[0],index:S.index,mode:_,length:S[0].length});return b}function m(v){const _=d(a.NUMERIC,t.NUMERIC,v),y=d(a.ALPHANUMERIC,t.ALPHANUMERIC,v);let b,S;return s.isKanjiModeEnabled()?(b=d(a.BYTE,t.BYTE,v),S=d(a.KANJI,t.KANJI,v)):(b=d(a.BYTE_KANJI,t.BYTE,v),S=[]),_.concat(y,b,S).sort(function(C,x){return C.index-x.index}).map(function(C){return{data:C.data,mode:C.mode,length:C.length}})}function l(v,_){switch(_){case t.NUMERIC:return r.getBitsLength(v);case t.ALPHANUMERIC:return n.getBitsLength(v);case t.KANJI:return o.getBitsLength(v);case t.BYTE:return i.getBitsLength(v)}}function u(v){return v.reduce(function(_,y){const b=_.length-1>=0?_[_.length-1]:null;return b&&b.mode===y.mode?(_[_.length-1].data+=y.data,_):(_.push(y),_)},[])}function f(v){const _=[];for(let y=0;y<v.length;y++){const b=v[y];switch(b.mode){case t.NUMERIC:_.push([b,{data:b.data,mode:t.ALPHANUMERIC,length:b.length},{data:b.data,mode:t.BYTE,length:b.length}]);break;case t.ALPHANUMERIC:_.push([b,{data:b.data,mode:t.BYTE,length:b.length}]);break;case t.KANJI:_.push([b,{data:b.data,mode:t.BYTE,length:h(b.data)}]);break;case t.BYTE:_.push([{data:b.data,mode:t.BYTE,length:h(b.data)}])}}return _}function p(v,_){const y={},b={start:{}};let S=["start"];for(let k=0;k<v.length;k++){const C=v[k],x=[];for(let T=0;T<C.length;T++){const E=C[T],R=""+k+T;x.push(R),y[R]={node:E,lastCount:0},b[R]={};for(let I=0;I<S.length;I++){const P=S[I];y[P]&&y[P].node.mode===E.mode?(b[P][R]=l(y[P].lastCount+E.length,E.mode)-l(y[P].lastCount,E.mode),y[P].lastCount+=E.length):(y[P]&&(y[P].lastCount=E.length),b[P][R]=l(E.length,E.mode)+4+t.getCharCountIndicator(E.mode,_))}}S=x}for(let k=0;k<S.length;k++)b[S[k]].end=0;return{map:b,table:y}}function g(v,_){let y;const b=t.getBestModeForData(v);if(y=t.from(_,b),y!==t.BYTE&&y.bit<b.bit)throw new Error('"'+v+'" cannot be encoded with mode '+t.toString(y)+`.
19
+ Suggested mode is: `+t.toString(b));switch(y===t.KANJI&&!s.isKanjiModeEnabled()&&(y=t.BYTE),y){case t.NUMERIC:return new r(v);case t.ALPHANUMERIC:return new n(v);case t.KANJI:return new o(v);case t.BYTE:return new i(v)}}e.fromArray=function(_){return _.reduce(function(y,b){return typeof b=="string"?y.push(g(b,null)):b.data&&y.push(g(b.data,b.mode)),y},[])},e.fromString=function(_,y){const b=m(_,s.isKanjiModeEnabled()),S=f(b),k=p(S,y),C=c.find_path(k.map,"start","end"),x=[];for(let T=1;T<C.length-1;T++)x.push(k.table[C[T]].node);return e.fromArray(u(x))},e.rawSplit=function(_){return e.fromArray(m(_,s.isKanjiModeEnabled()))}})(eu);const Pn=Te,Gn=En,em=Mh,tm=Fh,rm=qc,nm=Vc,Ei=Qc,Ai=An,im=Dh,tn=Yc,om=Zc,am=it,Zn=eu;function sm(e,t){const r=e.size,n=nm.getPositions(t);for(let i=0;i<n.length;i++){const o=n[i][0],a=n[i][1];for(let s=-1;s<=7;s++)if(!(o+s<=-1||r<=o+s))for(let c=-1;c<=7;c++)a+c<=-1||r<=a+c||(s>=0&&s<=6&&(c===0||c===6)||c>=0&&c<=6&&(s===0||s===6)||s>=2&&s<=4&&c>=2&&c<=4?e.set(o+s,a+c,!0,!0):e.set(o+s,a+c,!1,!0))}}function cm(e){const t=e.size;for(let r=8;r<t-8;r++){const n=r%2===0;e.set(r,6,n,!0),e.set(6,r,n,!0)}}function um(e,t){const r=rm.getPositions(t);for(let n=0;n<r.length;n++){const i=r[n][0],o=r[n][1];for(let a=-2;a<=2;a++)for(let s=-2;s<=2;s++)a===-2||a===2||s===-2||s===2||a===0&&s===0?e.set(i+a,o+s,!0,!0):e.set(i+a,o+s,!1,!0)}}function lm(e,t){const r=e.size,n=tn.getEncodedBits(t);let i,o,a;for(let s=0;s<18;s++)i=Math.floor(s/3),o=s%3+r-8-3,a=(n>>s&1)===1,e.set(i,o,a,!0),e.set(o,i,a,!0)}function Xn(e,t,r){const n=e.size,i=om.getEncodedBits(t,r);let o,a;for(o=0;o<15;o++)a=(i>>o&1)===1,o<6?e.set(o,8,a,!0):o<8?e.set(o+1,8,a,!0):e.set(n-15+o,8,a,!0),o<8?e.set(8,n-o-1,a,!0):o<9?e.set(8,15-o-1+1,a,!0):e.set(8,15-o-1,a,!0);e.set(n-8,8,1,!0)}function dm(e,t){const r=e.size;let n=-1,i=r-1,o=7,a=0;for(let s=r-1;s>0;s-=2)for(s===6&&s--;;){for(let c=0;c<2;c++)if(!e.isReserved(i,s-c)){let h=!1;a<t.length&&(h=(t[a]>>>o&1)===1),e.set(i,s-c,h),o--,o===-1&&(a++,o=7)}if(i+=n,i<0||r<=i){i-=n,n=-n;break}}}function fm(e,t,r){const n=new em;r.forEach(function(c){n.put(c.mode.bit,4),n.put(c.getLength(),am.getCharCountIndicator(c.mode,e)),c.write(n)});const i=Pn.getSymbolTotalCodewords(e),o=Ai.getTotalCodewordsCount(e,t),a=(i-o)*8;for(n.getLengthInBits()+4<=a&&n.put(0,4);n.getLengthInBits()%8!==0;)n.putBit(0);const s=(a-n.getLengthInBits())/8;for(let c=0;c<s;c++)n.put(c%2?17:236,8);return pm(n,e,t)}function pm(e,t,r){const n=Pn.getSymbolTotalCodewords(t),i=Ai.getTotalCodewordsCount(t,r),o=n-i,a=Ai.getBlocksCount(t,r),s=n%a,c=a-s,h=Math.floor(n/a),d=Math.floor(o/a),m=d+1,l=h-d,u=new im(l);let f=0;const p=new Array(a),g=new Array(a);let v=0;const _=new Uint8Array(e.buffer);for(let C=0;C<a;C++){const x=C<c?d:m;p[C]=_.slice(f,f+x),g[C]=u.encode(p[C]),f+=x,v=Math.max(v,x)}const y=new Uint8Array(n);let b=0,S,k;for(S=0;S<v;S++)for(k=0;k<a;k++)S<p[k].length&&(y[b++]=p[k][S]);for(S=0;S<l;S++)for(k=0;k<a;k++)y[b++]=g[k][S];return y}function hm(e,t,r,n){let i;if(Array.isArray(e))i=Zn.fromArray(e);else if(typeof e=="string"){let h=t;if(!h){const d=Zn.rawSplit(e);h=tn.getBestVersionForData(d,r)}i=Zn.fromString(e,h||40)}else throw new Error("Invalid data");const o=tn.getBestVersionForData(i,r);if(!o)throw new Error("The amount of data is too big to be stored in a QR Code");if(!t)t=o;else if(t<o)throw new Error(`
20
20
  The chosen QR Code version cannot contain this amount of data.
21
21
  Minimum version required to store current data is: `+o+`.
22
- `);const a=fm(t,r,i),s=Pn.getSymbolSize(t),c=new tm(s);return sm(c,t),cm(c),um(c,t),Xn(c,r,0),t>=7&&lm(c,t),dm(c,a),isNaN(n)&&(n=Ei.getBestMask(c,Xn.bind(null,c,r))),Ei.applyMask(n,c),Xn(c,r,n),{modules:c,version:t,errorCorrectionLevel:r,maskPattern:n,segments:i}}Hc.create=function(t,r){if(typeof t=="undefined"||t==="")throw new Error("No input text");let n=Gn.M,i,o;return typeof r!="undefined"&&(n=Gn.from(r.errorCorrectionLevel,Gn.M),i=tn.from(r.version),o=Ei.from(r.maskPattern),r.toSJISFunc&&Pn.setToSJISFunction(r.toSJISFunc)),hm(t,i,n,o)};var ru={},fo={};(function(e){function t(r){if(typeof r=="number"&&(r=r.toString()),typeof r!="string")throw new Error("Color should be defined as hex string");let n=r.slice().replace("#","").split("");if(n.length<3||n.length===5||n.length>8)throw new Error("Invalid hex color: "+r);(n.length===3||n.length===4)&&(n=Array.prototype.concat.apply([],n.map(function(o){return[o,o]}))),n.length===6&&n.push("F","F");const i=parseInt(n.join(""),16);return{r:i>>24&255,g:i>>16&255,b:i>>8&255,a:i&255,hex:"#"+n.slice(0,6).join("")}}e.getOptions=function(n){n||(n={}),n.color||(n.color={});const i=typeof n.margin=="undefined"||n.margin===null||n.margin<0?4:n.margin,o=n.width&&n.width>=21?n.width:void 0,a=n.scale||4;return{width:o,scale:o?4:a,margin:i,color:{dark:t(n.color.dark||"#000000ff"),light:t(n.color.light||"#ffffffff")},type:n.type,rendererOpts:n.rendererOpts||{}}},e.getScale=function(n,i){return i.width&&i.width>=n+i.margin*2?i.width/(n+i.margin*2):i.scale},e.getImageWidth=function(n,i){const o=e.getScale(n,i);return Math.floor((n+i.margin*2)*o)},e.qrToImageData=function(n,i,o){const a=i.modules.size,s=i.modules.data,c=e.getScale(a,o),f=Math.floor((a+o.margin*2)*c),w=o.margin*c,m=[o.color.light,o.color.dark];for(let l=0;l<f;l++)for(let u=0;u<f;u++){let d=(l*f+u)*4,p=o.color.light;if(l>=w&&u>=w&&l<f-w&&u<f-w){const h=Math.floor((l-w)/c),v=Math.floor((u-w)/c);p=m[s[h*a+v]?1:0]}n[d++]=p.r,n[d++]=p.g,n[d++]=p.b,n[d]=p.a}}})(fo);(function(e){const t=fo;function r(i,o,a){i.clearRect(0,0,o.width,o.height),o.style||(o.style={}),o.height=a,o.width=a,o.style.height=a+"px",o.style.width=a+"px"}function n(){try{return document.createElement("canvas")}catch(i){throw new Error("You need to specify a canvas element")}}e.render=function(o,a,s){let c=s,f=a;typeof c=="undefined"&&(!a||!a.getContext)&&(c=a,a=void 0),a||(f=n()),c=t.getOptions(c);const w=t.getImageWidth(o.modules.size,c),m=f.getContext("2d"),l=m.createImageData(w,w);return t.qrToImageData(l.data,o,c),r(m,f,w),m.putImageData(l,0,0),f},e.renderToDataURL=function(o,a,s){let c=s;typeof c=="undefined"&&(!a||!a.getContext)&&(c=a,a=void 0),c||(c={});const f=e.render(o,a,c),w=c.type||"image/png",m=c.rendererOpts||{};return f.toDataURL(w,m.quality)}})(ru);var nu={};const mm=fo;function Ia(e,t){const r=e.a/255,n=t+'="'+e.hex+'"';return r<1?n+" "+t+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function ei(e,t,r){let n=e+t;return typeof r!="undefined"&&(n+=" "+r),n}function gm(e,t,r){let n="",i=0,o=!1,a=0;for(let s=0;s<e.length;s++){const c=Math.floor(s%t),f=Math.floor(s/t);!c&&!o&&(o=!0),e[s]?(a++,s>0&&c>0&&e[s-1]||(n+=o?ei("M",c+r,.5+f+r):ei("m",i,0),i=0,o=!1),c+1<t&&e[s+1]||(n+=ei("h",a),a=0)):i++}return n}nu.render=function(t,r,n){const i=mm.getOptions(r),o=t.modules.size,a=t.modules.data,s=o+i.margin*2,c=i.color.light.a?"<path "+Ia(i.color.light,"fill")+' d="M0 0h'+s+"v"+s+'H0z"/>':"",f="<path "+Ia(i.color.dark,"stroke")+' d="'+gm(a,o,i.margin)+'"/>',w='viewBox="0 0 '+s+" "+s+'"',l='<svg xmlns="http://www.w3.org/2000/svg" '+(i.width?'width="'+i.width+'" height="'+i.width+'" ':"")+w+' shape-rendering="crispEdges">'+c+f+`</svg>
23
- `;return typeof n=="function"&&n(null,l),l};const ym=Ph,Ri=Hc,iu=ru,wm=nu;function po(e,t,r,n,i){const o=[].slice.call(arguments,1),a=o.length,s=typeof o[a-1]=="function";if(!s&&!ym())throw new Error("Callback required as last argument");if(s){if(a<2)throw new Error("Too few arguments provided");a===2?(i=r,r=t,t=n=void 0):a===3&&(t.getContext&&typeof i=="undefined"?(i=n,n=void 0):(i=n,n=r,r=t,t=void 0))}else{if(a<1)throw new Error("Too few arguments provided");return a===1?(r=t,t=n=void 0):a===2&&!t.getContext&&(n=r,r=t,t=void 0),new Promise(function(c,f){try{const w=Ri.create(r,n);c(e(w,t,n))}catch(w){f(w)}})}try{const c=Ri.create(r,n);i(null,e(c,t,n))}catch(c){i(c)}}vr.create=Ri.create;vr.toCanvas=po.bind(null,iu.render);vr.toDataURL=po.bind(null,iu.renderToDataURL);vr.toString=po.bind(null,function(e,t,r){return wm.render(e,r)});const vm=""+new URL("assets/android-badge-CJfxIs_L.svg",import.meta.url).href,bm=""+new URL("assets/apple-badge-9Sgpxn4d.svg",import.meta.url).href,_m=j.div({display:"flex",width:"848px",justifyContent:"space-between"}),Sm=j.div({display:"flex",width:"100%",flexDirection:"column",justifyContent:"space-between"}),Cm=j.div({marginBottom:"0.75rem",textAlign:"center",fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700",color:"var(--theme-600)","@media (min-width: 640px)":{textAlign:"left",fontSize:"1.125rem",lineHeight:"1.75rem"}}),km=j.div({textAlign:"center",fontSize:"1.25rem",lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(17 24 39 / var(--tw-text-opacity))","@media (min-width: 640px)":{textAlign:"left",fontSize:"1.875rem",lineHeight:"2.25rem"}}),xm=j.div({display:"flex",width:"420px",flexDirection:"column",justifyContent:"center"}),Tm=j.div({marginTop:"1.5rem",marginBottom:"1.5rem",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"space-evenly",borderRadius:"0.5rem",borderWidth:"1px",padding:"0.75rem","@media (min-width: 640px)":{marginTop:"2rem",marginBottom:"2rem",flexDirection:"row",justifyContent:"space-between",padding:"0.75rem",paddingRight:"1.5rem"}}),Em=j.div({display:"flex",width:"100%",flexDirection:"column"}),Am=j.div({marginBottom:"1rem",textAlign:"center",fontSize:"1.125rem",lineHeight:"1.5rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(17 24 39 / var(--tw-text-opacity))","@media (min-width: 640px)":{textAlign:"left",fontSize:"1.125rem",lineHeight:"1.75rem"}}),Rm=j.div({marginRight:"1.5rem",flex:"none"}),Pm=j.img({height:"120px",width:"120px"}),Im=j.div({display:"flex",justifyContent:"space-evenly","@media (min-width: 640px)":{justifyContent:"space-between"}}),Mm=j.img({height:"40px",width:"100%","@media (min-width: 640px)":{height:"34px"}}),Fm=j.img({height:"40px",width:"100%","@media (min-width: 640px)":{height:"34px"}}),Nm=j.div({fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"400","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"}),Dm=j.div({marginTop:"1.25rem",display:"flex",width:"100%",justifyContent:"center","@media (min-width: 640px)":{marginRight:"1rem",width:"400px"}}),Om=j.img({width:"240px","@media (min-width: 640px)":{width:"400px"}}),Bm=j.div({marginTop:"2rem",width:"320px","@media (min-width: 640px)":{marginTop:"3rem"}}),ti=j.div({display:"none","@media (min-width: 640px)":{display:"block"}}),Ma=j.div({display:"block","@media (min-width: 640px)":{display:"none"}}),In=({fundName:e,engagementId:t,theme:r,iOsDownloadUrl:n,androidDownloadUrl:i,qrCodeUrl:o,enableQrTracking:a=!0,title:s,subHeading:c,disclaimer:f,appMockupsImage:w})=>{const[m,l]=he(""),[u,d]=he(""),[p,h]=he(""),{createTrackedLink:v}=Ah(),_=`Thanks for staying with ${e}`,g=`Get the ${e} app to access your account and track your super 24/7!`;if(Z(()=>{const x="ByofEngagementApp Downloaded",T=a?v(o,{eventType:x,type:"QR",engagementId:t}):o;d(v(n,{eventType:x,type:"apple",engagementId:t})),h(v(i,{eventType:x,type:"android",engagementId:t}));const E={margin:0,errorCorrectionLevel:"L",color:{dark:r.colors["theme-600"]}};me(void 0,null,function*(){const I=yield vr.toDataURL(T,E);l(I)})},[v,a,i,n,o,r,t]),Rh(r),!m||!u||!p)return y(Ue,{});const b=()=>A(Ae,{children:[y(Cm,{children:s!=null?s:_}),y(km,{children:c!=null?c:g})]}),S=()=>A(Tm,{children:[y(Rm,{children:y(ti,{children:y(Pm,{alt:`${e} app download`,src:m})})}),A(Em,{children:[A(Am,{children:[y(Ma,{children:"Download the app now"}),y(ti,{children:"Scan to download the app"})]}),A(Im,{children:[y(D,{link:u,children:y(Mm,{alt:"Apple badge",src:bm})}),y(D,{link:p,children:y(Fm,{alt:"Android badge",src:vm})})]})]})]}),k=()=>y(Nm,{children:f}),C=()=>y(Dm,{children:y(Om,{alt:`${e} app`,src:w})});return A(Ae,{children:[A(kh,{pillContent:"Partner advertisement",children:[y(Ma,{children:A(Sm,{children:[y(b,{}),y(C,{}),y(S,{}),f&&y(k,{})]})}),y(ti,{children:A(_m,{children:[A(xm,{children:[y(b,{}),y(S,{}),f&&y(k,{})]}),y(C,{})]})})]}),y(Bm,{children:y(Rt,{onClick:rp,fillWidth:!0,children:"Continue"})})]})},Lm=""+new URL("assets/app-mockups-CsPJDZFr.png",import.meta.url).href,$m={colors:{"theme-50":"#F1E0FF","theme-100":"#D1F5EF","theme-200":"#AC82CE","theme-300":"#804EA9","theme-400":"#5F298B","theme-500":"#401069","theme-600":"#260046","theme-700":"#19002F","theme-800":"#0D0017","theme-900":"#000000"}},Um=()=>y(In,{fundName:"Australian Super",engagementId:"australian",theme:$m,iOsDownloadUrl:"https://www.australiansuper.com/tools-and-advice/mobile-app?cro=444&utm_medium=digital&utm_source=appstore&utm_campaign=new_channels_flare%7Cjoin%7Cfy25%7Cq1%7Caugust",androidDownloadUrl:"https://www.australiansuper.com/tools-and-advice/mobile-app?cro=444&utm_medium=digital&utm_source=googleplay&utm_campaign=new_channels_flare%7Cjoin%7Cfy25%7Cq1%7Caugust",qrCodeUrl:"https://www.australiansuper.com/tools-and-advice/mobile-app?cro=444&utm_medium=digital&utm_source=qr&utm_campaign=new_channels_flare%7Cjoin%7Cfy25%7Cq1%7Caugust",enableQrTracking:!1,title:"Make the most out of your super",subHeading:"Manage your super anytime, anywhere with the AustralianSuper app.",disclaimer:"Disclaimer: Apple and the Apple logo are trademarks of Apple Inc., registered in the U.S. and other countries. App Store is a service mark of Apple Inc. Google Play and the Google Play logo are trademarks of Google Inc.",appMockupsImage:Lm}),zm=""+new URL("assets/app-mockups-BoH89R6-.png",import.meta.url).href,jm={colors:{"theme-50":"#FFF2FA","theme-100":"#FFDFF5","theme-200":"#FFC2EB","theme-300":"#FF98DA","theme-400":"#FF64C3","theme-500":"#FA2EA7","theme-600":"#EC008C","theme-700":"#C00D77","theme-800":"#921961","theme-900":"#661F49"}},Hm=()=>y(In,{fundName:"Aware Super",engagementId:"aware-super",theme:jm,iOsDownloadUrl:"https://apps.apple.com/au/app/aware-super/id1461702710",androidDownloadUrl:"https://play.google.com/store/apps/details?id=au.com.fss&hl=en_AU",qrCodeUrl:"https://www.google.com/search?q=TODO",appMockupsImage:zm}),Wm=""+new URL("assets/app-mockups-vh7MArzz.png",import.meta.url).href,qm={colors:{"theme-50":"#F0E5FF","theme-100":"#E0CEFA","theme-200":"#CFB5F5","theme-300":"#BA95F0","theme-400":"#A26FEA","theme-500":"#8948E5","theme-600":"#7226E0","theme-700":"#5C1CB6","theme-800":"#49188D","theme-900":"#361663"}},Vm=()=>y(In,{fundName:"Hesta Super",engagementId:"hesta",theme:qm,iOsDownloadUrl:"https://apps.apple.com/au/app/hesta/id1663706652",androidDownloadUrl:"https://play.google.com/store/apps/details?id=app.hesta.com.au&hl=en_AU",qrCodeUrl:"https://www.google.com/search?q=TODO",appMockupsImage:Wm}),Qm=""+new URL("assets/app-mockups-DTmU8YYR.png",import.meta.url).href,Jm={colors:{"theme-50":"#EBFFFB","theme-100":"#D1F5EF","theme-200":"#9DDED3","theme-300":"#76CDBC","theme-400":"#57B3A3","theme-500":"#339E8B","theme-600":"#1C8270","theme-700":"#0E6858","theme-800":"#044D40","theme-900":"#00332A"}},Km=()=>y(In,{fundName:"Spirit Super",engagementId:"spirit",theme:Jm,iOsDownloadUrl:"https://apps.apple.com/au/app/spirit-super/id1409544432",androidDownloadUrl:"https://play.google.com/store/apps/details?id=com.mtaa.membercentre.app&hl=en",qrCodeUrl:"https://www.google.com/search?q=TODO",appMockupsImage:Qm}),Fa={australian:y(Um,{}),spirit:y(Km,{}),hesta:y(Vm,{}),"aware-super":y(Hm,{})},Ym=()=>{var a;const e=Re(s=>s.session),{data:t,isLoading:r,isError:n,error:i}=xc(e.fundUsi||""),o=t&&((a=t.engagements)==null?void 0:a.length)>0;if(r)return y(Ue,{});if(!r&&(!t||n))return be("Error when calling campaign connect to compute BYOF engagements",{fundUsi:e.fundUsi,data:t,error:i}),np(),y(Ue,{});if(o){const{engagementId:s}=t.engagements[0];if(s in Fa)return Fa[s]}return!r&&!o&&tp(),y(Ue,{})},Gm=j.div({display:"flex",flexDirection:"column",alignItems:"center"}),Zm=()=>A(Gm,{children:[y(Ym,{}),y(so,{})]}),Xm=()=>y(Zm,{}),eg=(e,t)=>{window.parent.postMessage(e,t===void 0?"*":t)},tg=e=>{eg({type:"pageNavigated",url:e,sender:"flare"})},rg=()=>{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-"}},ng=`https://${rg()}api.simplefinancialchoices.com/promoted-funds/embed`,Nr=e=>e.replace(/ /g,""),ot=e=>!(typeof e=="string"&&e.trim().length>0),ig=({app:e})=>{const t=Re(s=>s.state.selectedFund),r=Re(s=>s.session.accessToken),n=wr(),i=Xe.endpoints.campaignConnect.useQueryState().data,o=on();if(Z(()=>{var s,c,f,w,m,l,u;if(i&&r&&t){const d={authToken:r,employerDefault:t.fundType==="promoted-default",fundId:t.fundId,accountId:i.userProfile.accountId,partnerId:i.userProfile.partnerId,placementId:e==="featured-funds"?"byof":"panel",title:(s=i.userProfile.title)!=null?s:"",firstName:i.userProfile.firstName,middleName:i.userProfile.middleName,lastName:i.userProfile.lastName,dateOfBirth:(c=i.userProfile.dateOfBirth)!=null?c:"",mobilePhone:(f=i.userProfile.mobilePhone)!=null?f:"",email:i.userProfile.email,gender:(w=i.userProfile.gender)!=null?w:"",taxFileNumber:(m=i.userProfile.tfn)!=null?m:"",addressLine1:i.userProfile.address.addressLine1,addressLine2:(l=i.userProfile.address.addressLine2)!=null?l:"",city:i.userProfile.address.city,state:i.userProfile.address.state,postCode:i.userProfile.address.postcode},p=(u=o.current)==null?void 0:u.contentDocument;if(p){p.open();const h=p.createElement("form");h.method="POST",h.target="_self",h.action=ng;let v;for(v in d){const _=d[v];if(_!==void 0){const g=document.createElement("input");g.name=v,g.type="hidden",typeof _=="boolean"?g.value=_?"true":"false":g.value=_,h.append(g)}}p.appendChild(h),p.close(),h.submit()}}},[o,i,t,r,e]),!t||!r||!i)return be("PfjIFrame was in an inconsistent state and the user was redirected to the three panel.",{fund:t,data:i?"Not null":"Null",authToken:r?"Not null":"Null"}),n(qe()),y(Ue,{});const a=s=>me(void 0,null,function*(){const{data:c}=s;if(c.sender==="promoted-fund-redirect"){switch(window.removeEventListener("message",a),c.type){case"cancel":e==="featured-funds"&&Rc(),n(qe());break;case"success-promoted":{if(ot(c.memberNumber)||ot(c.usi)){be("Bad response from PFJ",{type:c.type,memberNumber:c.memberNumber,usi:c.usi}),n(qe());break}Ht(e,{fundType:"Promoted",fundId:t.fundId,usi:Nr(c.usi),memberNumber:c.memberNumber,memberFirstName:c.memberFirstName,memberFamilyName:c.memberFamilyName,fundName:t.fundName});break}case"success-promoted-default":{if(ot(c.usi)){be("Bad response from PFJ",{type:c.type,usi:c.usi}),n(qe());break}Ht(e,{fundType:"PromotedDefault",fundId:c.fundId,usi:Nr(c.usi),fundName:t.fundName});break}case"success-promoted-default-with-join":{if(ot(c.memberNumber)||ot(c.usi)){be("Bad response from PFJ",{type:c.type,memberNumber:c.memberNumber,usi:c.usi}),n(qe());break}Ht(e,{fundType:"PromotedDefaultWithJoin",fundId:t.fundId,usi:Nr(c.usi),memberNumber:c.memberNumber,memberFirstName:c.memberFirstName,memberFamilyName:c.memberFamilyName,fundName:t.fundName});break}case"success-defined-benefits":{if(ot(c.memberNumber)||ot(c.usi)){be("Bad response from PFJ",{type:c.type,memberNumber:c.memberNumber,usi:c.usi}),n(qe());break}Ht(e,{fundType:"DefinedBenefits",fundId:c.fundId,usi:Nr(c.usi),memberNumber:c.memberNumber,memberElectContributionRatePreTax:c.memberElectContributionRatePreTax,memberElectContributionRatePostTax:c.memberElectContributionRatePostTax,fundName:t.fundName});break}}n(qe())}if(c.sender==="promoted-fund-join"){const f=o.current;if(!f)return;switch(c.type){case"contentResized":f.height=c.height>0?String(c.height):f.height,f.width=c.width>0?String(c.width):f.width;break;case"pageNavigated":window.scroll(f.offsetLeft,f.offsetTop),tg(window.location.href);break}}});return window.addEventListener("message",a),y("div",{css:{width:"100vw"},children:y("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},og="interop-mode",ag="react-native",Na=()=>window.location.search.includes(`${og}=${ag}`),ou=()=>{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-"}},Da=`https://${ou()}join.slatesuper.com.au/confirm`,Oa=`https://${ou()}partner.flarehr.com/super-selection/embed/v1.0/app/slate-redirect.html`,sg=e=>{switch(e){case"Male":return"Male";case"Female":return"Female";case"Intersex":return"Intersex/Indeterminate";default:return"Unknown"}},cg=({app:e})=>{const t=Re(s=>s.session.accessToken),r=wr(),n=Xe.endpoints.campaignConnect.useQueryState().data,i=!Da.match(/autodev|sandbox/),o=on();if(Z(()=>{var s,c,f,w,m;if(n){const l={authToken:i?t:void 0,successRedirectUrl:Oa,cancelRedirectUrl:Oa,skipConsolidation:Na()?"true":"false",skipInsurance:Na()?"true":"false",firstName:n.userProfile.firstName,middleName:n.userProfile.middleName,lastName:n.userProfile.lastName,dateOfBirth:(s=n.userProfile.dateOfBirth)!=null?s:"",mobilePhone:(c=n.userProfile.mobilePhone)!=null?c:"",email:n.userProfile.email,gender:sg(n.userProfile.gender),taxFileNumber:(f=n.userProfile.tfn)!=null?f:"",addressLine1:n.userProfile.address.addressLine1,addressLine2:(w=n.userProfile.address.addressLine2)!=null?w:"",city:n.userProfile.address.city,state:n.userProfile.address.state,postCode:n.userProfile.address.postcode},u=(m=o.current)==null?void 0:m.contentDocument;if(u){u.open();const d=u.createElement("form");d.method="POST",d.target="_self",d.action=Da;let p;for(p in l){const h=l[p];if(h!==void 0){const v=document.createElement("input");v.type="hidden",v.name=p,v.value=h,d.append(v)}}u.appendChild(d),u.close(),d.submit()}}},[o,n,t,i]),!n)return be("SlateIFrame was in an inconsistent state and the user was redirected to the three panel.",{data:n?"Not null":"Null"}),r(qe()),y(Ue,{});const a=s=>me(void 0,null,function*(){const{data:c}=s;if(c.sender==="slate-redirect"){switch(window.removeEventListener("message",a),c.type){case"success":{Ht(e,{fundType:"Promoted",fundId:Xr.fundId,usi:xn,memberNumber:c.memberNumber,fundName:Xr.name});break}default:r(qe()),e==="featured-funds"&&Rc();break}return}if(c.sender==="flare")switch(c.type){case"contentResized":{const f=o.current;if(!f)return;f.height=c.height>0?String(c.height):f.height,f.width=c.width>0?String(c.width):f.width;break}}});return window.addEventListener("message",a),y("div",{css:{width:"100vw"},children:y("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},au=({app:e})=>{const{selectedFund:t}=Re(n=>n.state);return y(Ae,{children:(()=>{if(t){if(t.iframeType==="PromotedFundJoinV2")return y(ig,{app:e});if(t.iframeType==="SlateJoin")return y(cg,{app:e})}return y(Ae,{})})()})},ug=e=>window.playwrightRunning?"00000000-0000-0000-0000-000000000000":jc(e).sub,lg=(e,t)=>{let r=0;for(const n of t)if(r+=n.percentage,e<r)return n.variantName;return t[0].variantName},dg=(e,t)=>{if(e.length===0||t===0)return e;const r=e.length;return t=(t%r+r)%r,e.slice(-t)+e.slice(0,-t)},fg=(e,t)=>{if(t.splitType==="percentage"){const r=dg(e.replace(/[^A-F0-9]/gi,""),t.rotations),n=parseInt(r,16),i=t.variants.reduce((s,c)=>s+c.percentage,0),o=n%i;return lg(o,t.variants)}return t.variants[0].variantName},su=e=>{if(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const r=t,n=e[r];if(!n.shouldRun||n.shouldRun(ut.getState())){const i=ug(ut.getState().session.accessToken||""),o=fg(i,n);o&&(ut.dispatch(Zf({experimentName:r,selectedVariant:o})),ut.dispatch(Kt.endpoints.segmentTrack.initiate({event:"$experiment_started",properties:{"Experiment name":r,"Variant name":o}})))}}}},pg=()=>{const[e]=qf(),[t,r]=he(!0),[n,i]=he(!1),o=wr(),[a]=Qf();if(Z(()=>{me(void 0,null,function*(){const f=yield a();"data"in f?(up(),cp(),r(!1)):(be("App-loaded service call failed.",{error:f.error}),lp(`App-loaded service call failed: ${JSON.stringify(f.error)}`))})},[a]),t||n)return y(Ue,{isComputingPanelFunds:n});const s=()=>me(void 0,null,function*(){i(!0),sp();const{data:c,isSuccess:f,status:w}=yield e();if(!f){be("Backend service call failed.",{status:w}),dp(`Backend service call failed: ${w}`);return}const m=c==null?void 0:c.promotedFunds.filter(l=>l.type==="defined-benefits");if(c.hasDefinedBenefitsEligibility&&(m==null?void 0:m.length)>0){const l=mh(m[0].fundId);o(io({fundId:m[0].fundId,fundType:"defined-benefits",iframeType:"PromotedFundJoinV2",fundName:l}));return}o(ep(c.promotedFunds)),c.promotedFunds.forEach(l=>{const u=ao(l);u!=null&&u.experiments&&su(u.experiments)})});return A("div",{children:[y("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"}),y("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."}),y("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children:A("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:[y("div",{css:{fontWeight:"700",lineHeight:"1.5rem","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"1.75rem"}},children:"By clicking “Continue” you acknowledge that:"}),A("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:[y("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;"}),y("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;"}),y("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;"}),y("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;"}),y("li",{children:"In order to prevent duplicate accounts, you agree that we may send your information to our partner super funds exclusively for the purpose of identifying whether you may be an existing member."}),y("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."}),A("li",{children:["Your personal data that is provided to us will be subject to our"," ",y(D,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:"https://www.flarehr.com/privacy-policy",children:"Privacy Policy"}),"."]})]}),y(Rt,{fillWidth:!0,onClick:()=>s(),children:"Continue"})]})})]})},cu=({points:e,title:t})=>A("div",{css:{maxWidth:"720px"},children:[y("h5",{css:{fontWeight:"600",textTransform:"uppercase"},children:t}),y("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:e.map((r,n)=>y("li",{children:r},n))})]}),hg=({badgeType:e})=>y("div",{css:[!e&&{visibility:"hidden"},{height:"2.25rem",borderTopLeftRadius:"0.375rem",borderTopRightRadius:"0.375rem",paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"0.375rem",paddingBottom:"0.375rem",textAlign:"center"},(e==null?void 0:e.color)==="green"&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},(e==null?void 0:e.color)==="blue"&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(219 234 254 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"},(e==null?void 0:e.color)==="purple"&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(243 232 255 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(107 33 168 / var(--tw-text-opacity))"},(e==null?void 0:e.color)==="yellow"&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(254 249 195 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(133 77 14 / var(--tw-text-opacity))"}],children:A("div",{css:{fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"500"},children:[(e==null?void 0:e.boldText)&&y("span",{css:{fontWeight:"700"},children:e==null?void 0:e.boldText}),e==null?void 0:e.text]})}),_r=()=>{const{funds:e}=Re(({state:t})=>t);return(e==null?void 0:e.length)===1&&e[0].fundId==="mercermychoice"},mg=()=>y("div",{css:{display:"flex",justifyContent:"center"},children:y("div",{css:{maxWidth:"800px",textAlign:"center"},children:y("h3",{css:{fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.875rem",lineHeight:"2.25rem"}},children:"Nominate a super fund"})})}),Ba=({fund:e,isMultiFund:t})=>{const r=wr(),n=_r();return A("div",{css:{display:"flex",height:"100%",flexDirection:"column",justifyContent:"space-between",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem",paddingBottom:"1.5rem"},children:[A("div",{children:[y("div",{css:[{"@media (min-width: 768px)":{maxWidth:"240px"}},t&&{"@media (min-width: 1024px)":{maxWidth:"100%"}},n&&pt()&&{"@media (min-width: 768px)":{maxWidth:"100%"}}],children:y(Rt,{fillWidth:!0,onClick:()=>{ap(e),r(io({fundId:e.fundId,fundType:e.fundType,iframeType:e.iframeType,fundName:e.name}))},children:"Choose this fund"})}),y("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&&A("div",{css:{marginTop:"0.5rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:[A("p",{children:["Issued by ",e.abnInfo,"."]}),A("p",{children:["ABN: ",e.abn]})]})]})},gg=r=>{var n=r,{size:e}=n,t=We(n,["size"]);return y("svg",J(N({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#22c55e",width:e?e*4:"100%"},t),{children:y("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"})}))},yg=r=>{var n=r,{size:e}=n,t=We(n,["size"]);return y("svg",J(N({viewBox:"-1 -1 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:e?e*4:"100%"},t),{children:y("rect",{x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5",css:{stroke:"#d1d5db",".group:hover &":{stroke:"var(--fl-color-primary)",strokeWidth:"2"}}})}))},wg=r=>{var n=r,{size:e}=n,t=We(n,["size"]);return y("svg",J(N({viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",width:e?e*4:"100%",css:{fill:"var(--fl-color-primary)"}},t),{children:y("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16ZM11.7071 6.70711C12.0976 6.31658 12.0976 5.68342 11.7071 5.29289C11.3166 4.90237 10.6834 4.90237 10.2929 5.29289L7 8.58579L5.70711 7.29289C5.31658 6.90237 4.68342 6.90237 4.29289 7.29289C3.90237 7.68342 3.90237 8.31658 4.29289 8.70711L6.29289 10.7071C6.68342 11.0976 7.31658 11.0976 7.70711 10.7071L11.7071 6.70711Z"})}))},rn={Check:gg,CheckCircle:yg,CheckCircleFilled:wg},vg=({name:e,logo:t,coverImage:r,extraBadge:n,isPromotedDefault:i,isMultiFund:o})=>{const a=_r(),s=A(Ae,{children:[A("div",{css:{marginRight:"-0.5rem",marginTop:"-1.25rem",textAlign:"right"},children:[n,i&&y("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"}),y("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"})]}),A("div",{css:[{marginTop:"0.5rem",display:"flex","@media (min-width: 768px)":{marginTop:"0px"},"@media (min-width: 1024px)":{display:"block"}},o&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:[y("img",{css:[{height:"3rem",width:"80px",objectFit:"contain","@media (min-width: 768px)":{display:"none",height:"3.5rem",width:"96px"},"@media (min-width: 1024px)":{height:"4rem",width:"140px",objectPosition:"left"}},o&&{"@media (min-width: 1024px)":{display:"block"}}],alt:e,src:t}),y("div",{css:{display:"grid",alignContent:"center"},children:y("p",{css:[{marginLeft:"1rem",fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","@media (min-width: 768px)":{marginBottom:"0px",marginLeft:"0px",fontSize:"1.125rem",lineHeight:"1.75rem"}},o&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:e})})]})]}),c=A(Ae,{children:[A("div",{css:{marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"4rem",alignItems:"center",justifyContent:"space-between"},children:[y("img",{css:[{width:"100px"}],alt:e,src:t}),A("div",{children:[n,i&&y("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"}),y("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"})]})]}),y("img",{css:[{width:"100%"},o&&{"@media (min-width: 1024px)":{display:"block"}}],alt:e,src:r})]});return y(Ae,{children:a&&pt()?c:s})},bg=({features:e,featureSubText:t,customContent:r,name:n})=>{const i=_r(),o=A(Ae,{children:[y("div",{css:{marginTop:"1rem","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.25rem","@media (min-width: 640px)":{marginTop:"0.5rem"}},children:e.map(s=>A("div",{css:{display:"flex"},children:[y("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:y(rn.Check,{alt:"checked"})}),y("div",{css:{lineHeight:"1.25rem"},children:s})]}))}),t&&y("p",{css:{marginTop:"1rem",fontSize:"0.75rem",lineHeight:"1rem",fontStyle:"italic","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:t}),r]}),a=A(Ae,{children:[A("div",{css:{padding:"1.5rem",paddingBottom:"0px"},children:[y("div",{css:[{fontSize:"1.125rem",lineHeight:"1.75rem",fontWeight:"700"}],children:n}),e.map(s=>A("div",{css:{marginTop:"0.5rem",display:"flex"},children:[y("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:y(rn.Check,{alt:"checked"})}),y("div",{css:{fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"400"},children:s})]}))]}),t&&y("p",{css:{marginTop:"1rem",fontSize:"0.75rem",lineHeight:"1rem",fontStyle:"italic","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:t}),r]});return y(Ae,{children:i&&pt()?a:o})},_g=({name:e,logo:t,coverImage:r,features:n,featureSubText:i,isMultiFund:o,isPromotedDefault:a,extraBadge:s,customContent:c})=>{const f=_r();return A("div",{css:[{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem"},f&&pt()&&{padding:"0px"}],children:[y(vg,{name:e,logo:t,coverImage:r,isMultiFund:o,extraBadge:s,isPromotedDefault:a}),y(bg,{name:e,features:n,customContent:c,featureSubText:i})]})},Sg="https://my.gov.au",Cg="www.my.gov.au",kg="https://www.apra.gov.au/register-of-superannuation-institutions",xg="www.apra.gov.au",Tg=(e,t)=>{if(e.fundId==="virgin"){const r=t.selectedVariants["social-validation-popular-virgin"];if(e.recentJoinerCount&&r==="num-badge")return{color:"green",text:`${e.recentJoinerCount}+ people joined last week`,boldText:"Popular: "};if(r==="pop-badge")return{color:"green",text:"Popular"}}},Eg=()=>{const e=Re(s=>s.state.funds),t=Re(s=>s.experimentsData),r=_r(),n=ce(()=>hh(e!=null?e:[]).map(s=>J(N({},s),{badgeType:Tg(s,t)})),[e,t]),i=ip();Z(()=>{op(n)},[n]);const o=n.length>1,a=n.some(s=>s.badgeType);return A("div",{children:[y(mg,{}),y("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center"},children:y("div",{children:A("div",{css:[{"@media (min-width: 1024px)":{display:"grid"}},n.length===1&&{maxWidth:"720px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(1, minmax(0, 1fr))"}},n.length===2&&{maxWidth:"720px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(2, minmax(0, 1fr))"}},n.length===3&&{maxWidth:"960px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(3, minmax(0, 1fr))"}}],children:[n.map((s,c)=>A("div",{children:[a&&y(hg,{badgeType:s.badgeType}),y("div",{css:[n.length===1&&{maxWidth:"720px"},n.length===2&&{maxWidth:"720px"},n.length===3&&{maxWidth:"960px"},{height:"100%",borderBottomWidth:"1px",borderLeftWidth:"1px",borderRightWidth:"1px",borderTopWidth:"1px","@media (min-width: 1024px)":{borderBottomWidth:"0px"}},c!==0&&{borderTopWidth:"0px","@media (min-width: 1024px)":{borderLeftWidth:"0px",borderTopWidth:"1px"}},c===0&&{borderTopLeftRadius:"0.5rem",borderTopRightRadius:"0.5rem"},c===0&&c!==n.length-1&&{"@media (min-width: 1024px)":{borderTopRightRadius:"0px"}},c===n.length-1&&{borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem","@media (min-width: 1024px)":{borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",borderTopRightRadius:"0.5rem"}},!o&&{"@media (min-width: 1024px)":{borderBottomRightRadius:"0.5rem",borderBottomLeftRadius:"0.5rem",borderBottomWidth:"1px"}},s.badgeType&&{borderTopLeftRadius:"0px",borderTopRightRadius:"0px","@media (min-width: 1024px)":{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"}}],children:A("div",{css:[{display:"flex"}],children:[y("div",{css:[{display:"none",width:"9rem",justifyContent:"center",paddingLeft:"1.5rem",paddingTop:"1.5rem","@media (min-width: 768px)":{display:"flex"}},o&&{"@media (min-width: 1024px)":{display:"none"}},r&&pt()&&{"@media (min-width: 768px)":{display:"none"}}],children:y("img",{css:{height:"4rem",width:"100%",maxWidth:"96px",objectFit:"contain"},alt:s.name,src:s.logo})}),A("div",{css:[{width:"100%"},r&&pt()&&{minWidth:"286px",maxWidth:"480px"}],children:[y(_g,{logo:s.logo,name:s.name,coverImage:s.coverImage,features:s.features,featureSubText:s.featureSubText,isMultiFund:o,isPromotedDefault:s.fundType==="promoted-default",extraBadge:s.extraBadge,customContent:s.customContent}),y("div",{css:[o&&{"@media (min-width: 1024px)":{display:"none"}}],children:y(Ba,{fund:s,isMultiFund:o})})]})]})})]})),n.map((s,c)=>y("div",{css:[{display:"none",borderBottomWidth:"1px",borderRightWidth:"1px"},o&&{"@media (min-width: 1024px)":{display:"block"}},c===0&&{borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem",borderLeftWidth:"1px"},c===0&&c!==n.length-1&&{"@media (min-width: 1024px)":{borderBottomRightRadius:"0px"}},c===n.length-1&&{borderBottomRightRadius:"0.5rem"}],children:y(Ba,{fund:s,isMultiFund:o})}))]})})}),y("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children:A("div",{css:{maxWidth:"720px",borderBottomWidth:"1px",paddingBottom:"2rem","@media (min-width: 640px)":{paddingBottom:"3rem"}},children:[y("h5",{css:{fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"1.75rem"}},children:"Or, choose another super fund:"}),A("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:[y("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."}),A("li",{children:["If you are unsure of your current super fund details, you can find out at"," ",y(D,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:Sg,children:Cg})]}),A("li",{children:["A full list of super funds can be viewed at"," ",y(D,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:kg,children:xg})]})]}),y(Rt,{fillWidthOnMobile:!0,onClick:()=>i(),children:"Choose another super fund"})]})}),y("div",{css:{display:"flex",justifyContent:"center",paddingTop:"2rem","@media (min-width: 640px)":{paddingTop:"3rem"}},children:y(cu,{title:"IMPORTANT INFORMATION:",points:["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.","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.","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.","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.","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."]})})]})},Ag=j.div({display:"flex",flexDirection:"column",alignItems:"center"}),Rg=()=>{const{funds:e,selectedFund:t}=Re(i=>i.state),[r]=Kf();return Z(()=>{r()},[r]),A(Ag,{children:[y("div",{children:t?y(au,{app:"super-campaign"}):e?y(Eg,{}):y(pg,{})}),y("div",{children:y(so,{})})]})},Pg=()=>y(Rg,{}),Ig={},Mg=e=>{const t="api.simplefinancialchoices.com",r="https://",n=/https:\/\/(.*?)-partner/,i=e.match(n);if(!i)return`${r}${t}`;const o=i[1];return`${r}${o}-${t}`};function ho(){return(ho=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 Fg=["context","children"];function Ng(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,Fg);return Fi(t,r)}function Dg(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=X(Ng,ho({},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[uu(s[a].name)]=s[a].value);for(a=c.length;a--;){var f=t(c[a],null),w=c[a].slot;w?o[w]=X(La,{name:w},f):i[a]=f}var m=n?X(La,null,i):i;return X(n||r.nodeName.toLowerCase(),o,m)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Mi:et)(this._vdom,this._root)}function uu(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function Og(e,t,r){if(this._vdom){var n={};n[e]=r=r==null?void 0:r,n[uu(e)]=r,this._vdom=Fi(this._vdom,n),et(this._vdom,this._root)}}function Bg(){et(this._vdom=null,this._root)}function La(e,t){var r=this;return X("slot",ho({},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 Lg(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=Dg,i.prototype.attributeChangedCallback=Og,i.prototype.disconnectedCallback=Bg,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)}const $g=()=>y(Nl,{styles:Dl`*, ::before, ::after {
22
+ `);const a=fm(t,r,i),s=Pn.getSymbolSize(t),c=new tm(s);return sm(c,t),cm(c),um(c,t),Xn(c,r,0),t>=7&&lm(c,t),dm(c,a),isNaN(n)&&(n=Ei.getBestMask(c,Xn.bind(null,c,r))),Ei.applyMask(n,c),Xn(c,r,n),{modules:c,version:t,errorCorrectionLevel:r,maskPattern:n,segments:i}}Hc.create=function(t,r){if(typeof t=="undefined"||t==="")throw new Error("No input text");let n=Gn.M,i,o;return typeof r!="undefined"&&(n=Gn.from(r.errorCorrectionLevel,Gn.M),i=tn.from(r.version),o=Ei.from(r.maskPattern),r.toSJISFunc&&Pn.setToSJISFunction(r.toSJISFunc)),hm(t,i,n,o)};var ru={},fo={};(function(e){function t(r){if(typeof r=="number"&&(r=r.toString()),typeof r!="string")throw new Error("Color should be defined as hex string");let n=r.slice().replace("#","").split("");if(n.length<3||n.length===5||n.length>8)throw new Error("Invalid hex color: "+r);(n.length===3||n.length===4)&&(n=Array.prototype.concat.apply([],n.map(function(o){return[o,o]}))),n.length===6&&n.push("F","F");const i=parseInt(n.join(""),16);return{r:i>>24&255,g:i>>16&255,b:i>>8&255,a:i&255,hex:"#"+n.slice(0,6).join("")}}e.getOptions=function(n){n||(n={}),n.color||(n.color={});const i=typeof n.margin=="undefined"||n.margin===null||n.margin<0?4:n.margin,o=n.width&&n.width>=21?n.width:void 0,a=n.scale||4;return{width:o,scale:o?4:a,margin:i,color:{dark:t(n.color.dark||"#000000ff"),light:t(n.color.light||"#ffffffff")},type:n.type,rendererOpts:n.rendererOpts||{}}},e.getScale=function(n,i){return i.width&&i.width>=n+i.margin*2?i.width/(n+i.margin*2):i.scale},e.getImageWidth=function(n,i){const o=e.getScale(n,i);return Math.floor((n+i.margin*2)*o)},e.qrToImageData=function(n,i,o){const a=i.modules.size,s=i.modules.data,c=e.getScale(a,o),h=Math.floor((a+o.margin*2)*c),d=o.margin*c,m=[o.color.light,o.color.dark];for(let l=0;l<h;l++)for(let u=0;u<h;u++){let f=(l*h+u)*4,p=o.color.light;if(l>=d&&u>=d&&l<h-d&&u<h-d){const g=Math.floor((l-d)/c),v=Math.floor((u-d)/c);p=m[s[g*a+v]?1:0]}n[f++]=p.r,n[f++]=p.g,n[f++]=p.b,n[f]=p.a}}})(fo);(function(e){const t=fo;function r(i,o,a){i.clearRect(0,0,o.width,o.height),o.style||(o.style={}),o.height=a,o.width=a,o.style.height=a+"px",o.style.width=a+"px"}function n(){try{return document.createElement("canvas")}catch(i){throw new Error("You need to specify a canvas element")}}e.render=function(o,a,s){let c=s,h=a;typeof c=="undefined"&&(!a||!a.getContext)&&(c=a,a=void 0),a||(h=n()),c=t.getOptions(c);const d=t.getImageWidth(o.modules.size,c),m=h.getContext("2d"),l=m.createImageData(d,d);return t.qrToImageData(l.data,o,c),r(m,h,d),m.putImageData(l,0,0),h},e.renderToDataURL=function(o,a,s){let c=s;typeof c=="undefined"&&(!a||!a.getContext)&&(c=a,a=void 0),c||(c={});const h=e.render(o,a,c),d=c.type||"image/png",m=c.rendererOpts||{};return h.toDataURL(d,m.quality)}})(ru);var nu={};const mm=fo;function Ia(e,t){const r=e.a/255,n=t+'="'+e.hex+'"';return r<1?n+" "+t+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function ei(e,t,r){let n=e+t;return typeof r!="undefined"&&(n+=" "+r),n}function gm(e,t,r){let n="",i=0,o=!1,a=0;for(let s=0;s<e.length;s++){const c=Math.floor(s%t),h=Math.floor(s/t);!c&&!o&&(o=!0),e[s]?(a++,s>0&&c>0&&e[s-1]||(n+=o?ei("M",c+r,.5+h+r):ei("m",i,0),i=0,o=!1),c+1<t&&e[s+1]||(n+=ei("h",a),a=0)):i++}return n}nu.render=function(t,r,n){const i=mm.getOptions(r),o=t.modules.size,a=t.modules.data,s=o+i.margin*2,c=i.color.light.a?"<path "+Ia(i.color.light,"fill")+' d="M0 0h'+s+"v"+s+'H0z"/>':"",h="<path "+Ia(i.color.dark,"stroke")+' d="'+gm(a,o,i.margin)+'"/>',d='viewBox="0 0 '+s+" "+s+'"',l='<svg xmlns="http://www.w3.org/2000/svg" '+(i.width?'width="'+i.width+'" height="'+i.width+'" ':"")+d+' shape-rendering="crispEdges">'+c+h+`</svg>
23
+ `;return typeof n=="function"&&n(null,l),l};const ym=Ph,Ri=Hc,iu=ru,wm=nu;function po(e,t,r,n,i){const o=[].slice.call(arguments,1),a=o.length,s=typeof o[a-1]=="function";if(!s&&!ym())throw new Error("Callback required as last argument");if(s){if(a<2)throw new Error("Too few arguments provided");a===2?(i=r,r=t,t=n=void 0):a===3&&(t.getContext&&typeof i=="undefined"?(i=n,n=void 0):(i=n,n=r,r=t,t=void 0))}else{if(a<1)throw new Error("Too few arguments provided");return a===1?(r=t,t=n=void 0):a===2&&!t.getContext&&(n=r,r=t,t=void 0),new Promise(function(c,h){try{const d=Ri.create(r,n);c(e(d,t,n))}catch(d){h(d)}})}try{const c=Ri.create(r,n);i(null,e(c,t,n))}catch(c){i(c)}}vr.create=Ri.create;vr.toCanvas=po.bind(null,iu.render);vr.toDataURL=po.bind(null,iu.renderToDataURL);vr.toString=po.bind(null,function(e,t,r){return wm.render(e,r)});const vm=""+new URL("assets/android-badge-CJfxIs_L.svg",import.meta.url).href,bm=""+new URL("assets/apple-badge-9Sgpxn4d.svg",import.meta.url).href,_m=j.div({display:"flex",width:"848px",justifyContent:"space-between"}),Sm=j.div({display:"flex",width:"100%",flexDirection:"column",justifyContent:"space-between"}),Cm=j.div({marginBottom:"0.75rem",textAlign:"center",fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700",color:"var(--theme-600)","@media (min-width: 640px)":{textAlign:"left",fontSize:"1.125rem",lineHeight:"1.75rem"}}),km=j.div({textAlign:"center",fontSize:"1.25rem",lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(17 24 39 / var(--tw-text-opacity))","@media (min-width: 640px)":{textAlign:"left",fontSize:"1.875rem",lineHeight:"2.25rem"}}),xm=j.div({display:"flex",width:"420px",flexDirection:"column",justifyContent:"center"}),Tm=j.div({marginTop:"1.5rem",marginBottom:"1.5rem",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"space-evenly",borderRadius:"0.5rem",borderWidth:"1px",padding:"0.75rem","@media (min-width: 640px)":{marginTop:"2rem",marginBottom:"2rem",flexDirection:"row",justifyContent:"space-between",padding:"0.75rem",paddingRight:"1.5rem"}}),Em=j.div({display:"flex",width:"100%",flexDirection:"column"}),Am=j.div({marginBottom:"1rem",textAlign:"center",fontSize:"1.125rem",lineHeight:"1.5rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(17 24 39 / var(--tw-text-opacity))","@media (min-width: 640px)":{textAlign:"left",fontSize:"1.125rem",lineHeight:"1.75rem"}}),Rm=j.div({marginRight:"1.5rem",flex:"none"}),Pm=j.img({height:"120px",width:"120px"}),Im=j.div({display:"flex",justifyContent:"space-evenly","@media (min-width: 640px)":{justifyContent:"space-between"}}),Mm=j.img({height:"40px",width:"100%","@media (min-width: 640px)":{height:"34px"}}),Fm=j.img({height:"40px",width:"100%","@media (min-width: 640px)":{height:"34px"}}),Nm=j.div({fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"400","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"}),Dm=j.div({marginTop:"1.25rem",display:"flex",width:"100%",justifyContent:"center","@media (min-width: 640px)":{marginRight:"1rem",width:"400px"}}),Om=j.img({width:"240px","@media (min-width: 640px)":{width:"400px"}}),Bm=j.div({marginTop:"2rem",width:"320px","@media (min-width: 640px)":{marginTop:"3rem"}}),ti=j.div({display:"none","@media (min-width: 640px)":{display:"block"}}),Ma=j.div({display:"block","@media (min-width: 640px)":{display:"none"}}),In=({fundName:e,engagementId:t,theme:r,iOsDownloadUrl:n,androidDownloadUrl:i,qrCodeUrl:o,enableQrTracking:a=!0,title:s,subHeading:c,disclaimer:h,appMockupsImage:d})=>{const[m,l]=ae(""),[u,f]=ae(""),[p,g]=ae(""),{createTrackedLink:v}=Ah(),_=`Thanks for staying with ${e}`,y=`Get the ${e} app to access your account and track your super 24/7!`;if(Z(()=>{const x="ByofEngagementApp Downloaded",T=a?v(o,{eventType:x,type:"QR",engagementId:t}):o;f(v(n,{eventType:x,type:"apple",engagementId:t})),g(v(i,{eventType:x,type:"android",engagementId:t}));const E={margin:0,errorCorrectionLevel:"L",color:{dark:r.colors["theme-600"]}};me(void 0,null,function*(){const I=yield vr.toDataURL(T,E);l(I)})},[v,a,i,n,o,r,t]),Rh(r),!m||!u||!p)return w(Re,{});const b=()=>A(Ae,{children:[w(Cm,{children:s!=null?s:_}),w(km,{children:c!=null?c:y})]}),S=()=>A(Tm,{children:[w(Rm,{children:w(ti,{children:w(Pm,{alt:`${e} app download`,src:m})})}),A(Em,{children:[A(Am,{children:[w(Ma,{children:"Download the app now"}),w(ti,{children:"Scan to download the app"})]}),A(Im,{children:[w(D,{link:u,children:w(Mm,{alt:"Apple badge",src:bm})}),w(D,{link:p,children:w(Fm,{alt:"Android badge",src:vm})})]})]})]}),k=()=>w(Nm,{children:h}),C=()=>w(Dm,{children:w(Om,{alt:`${e} app`,src:d})});return A(Ae,{children:[A(kh,{pillContent:"Partner advertisement",children:[w(Ma,{children:A(Sm,{children:[w(b,{}),w(C,{}),w(S,{}),h&&w(k,{})]})}),w(ti,{children:A(_m,{children:[A(xm,{children:[w(b,{}),w(S,{}),h&&w(k,{})]}),w(C,{})]})})]}),w(Bm,{children:w(Rt,{onClick:rp,fillWidth:!0,children:"Continue"})})]})},Lm=""+new URL("assets/app-mockups-CsPJDZFr.png",import.meta.url).href,$m={colors:{"theme-50":"#F1E0FF","theme-100":"#D1F5EF","theme-200":"#AC82CE","theme-300":"#804EA9","theme-400":"#5F298B","theme-500":"#401069","theme-600":"#260046","theme-700":"#19002F","theme-800":"#0D0017","theme-900":"#000000"}},Um=()=>w(In,{fundName:"Australian Super",engagementId:"australian",theme:$m,iOsDownloadUrl:"https://www.australiansuper.com/tools-and-advice/mobile-app?cro=444&utm_medium=digital&utm_source=appstore&utm_campaign=new_channels_flare%7Cjoin%7Cfy25%7Cq1%7Caugust",androidDownloadUrl:"https://www.australiansuper.com/tools-and-advice/mobile-app?cro=444&utm_medium=digital&utm_source=googleplay&utm_campaign=new_channels_flare%7Cjoin%7Cfy25%7Cq1%7Caugust",qrCodeUrl:"https://www.australiansuper.com/tools-and-advice/mobile-app?cro=444&utm_medium=digital&utm_source=qr&utm_campaign=new_channels_flare%7Cjoin%7Cfy25%7Cq1%7Caugust",enableQrTracking:!1,title:"Make the most out of your super",subHeading:"Manage your super anytime, anywhere with the AustralianSuper app.",disclaimer:"Disclaimer: Apple and the Apple logo are trademarks of Apple Inc., registered in the U.S. and other countries. App Store is a service mark of Apple Inc. Google Play and the Google Play logo are trademarks of Google Inc.",appMockupsImage:Lm}),zm=""+new URL("assets/app-mockups-BoH89R6-.png",import.meta.url).href,jm={colors:{"theme-50":"#FFF2FA","theme-100":"#FFDFF5","theme-200":"#FFC2EB","theme-300":"#FF98DA","theme-400":"#FF64C3","theme-500":"#FA2EA7","theme-600":"#EC008C","theme-700":"#C00D77","theme-800":"#921961","theme-900":"#661F49"}},Hm=()=>w(In,{fundName:"Aware Super",engagementId:"aware-super",theme:jm,iOsDownloadUrl:"https://apps.apple.com/au/app/aware-super/id1461702710",androidDownloadUrl:"https://play.google.com/store/apps/details?id=au.com.fss&hl=en_AU",qrCodeUrl:"https://www.google.com/search?q=TODO",appMockupsImage:zm}),Wm=""+new URL("assets/app-mockups-vh7MArzz.png",import.meta.url).href,qm={colors:{"theme-50":"#F0E5FF","theme-100":"#E0CEFA","theme-200":"#CFB5F5","theme-300":"#BA95F0","theme-400":"#A26FEA","theme-500":"#8948E5","theme-600":"#7226E0","theme-700":"#5C1CB6","theme-800":"#49188D","theme-900":"#361663"}},Vm=()=>w(In,{fundName:"Hesta Super",engagementId:"hesta",theme:qm,iOsDownloadUrl:"https://apps.apple.com/au/app/hesta/id1663706652",androidDownloadUrl:"https://play.google.com/store/apps/details?id=app.hesta.com.au&hl=en_AU",qrCodeUrl:"https://www.google.com/search?q=TODO",appMockupsImage:Wm}),Qm=""+new URL("assets/app-mockups-DTmU8YYR.png",import.meta.url).href,Jm={colors:{"theme-50":"#EBFFFB","theme-100":"#D1F5EF","theme-200":"#9DDED3","theme-300":"#76CDBC","theme-400":"#57B3A3","theme-500":"#339E8B","theme-600":"#1C8270","theme-700":"#0E6858","theme-800":"#044D40","theme-900":"#00332A"}},Km=()=>w(In,{fundName:"Spirit Super",engagementId:"spirit",theme:Jm,iOsDownloadUrl:"https://apps.apple.com/au/app/spirit-super/id1409544432",androidDownloadUrl:"https://play.google.com/store/apps/details?id=com.mtaa.membercentre.app&hl=en",qrCodeUrl:"https://www.google.com/search?q=TODO",appMockupsImage:Qm}),Fa={australian:w(Um,{}),spirit:w(Km,{}),hesta:w(Vm,{}),"aware-super":w(Hm,{})},Ym=()=>{var a;const e=Pe(s=>s.session),{data:t,isLoading:r,isError:n,error:i}=xc(e.fundUsi||""),o=t&&((a=t.engagements)==null?void 0:a.length)>0;if(r)return w(Re,{});if(!r&&(!t||n))return be("Error when calling campaign connect to compute BYOF engagements",{fundUsi:e.fundUsi,data:t,error:i}),np(),w(Re,{});if(o){const{engagementId:s}=t.engagements[0];if(s in Fa)return Fa[s]}return!r&&!o&&tp(),w(Re,{})},Gm=j.div({display:"flex",flexDirection:"column",alignItems:"center"}),Zm=()=>A(Gm,{children:[w(Ym,{}),w(so,{})]}),Xm=()=>w(Zm,{}),eg=(e,t)=>{window.parent.postMessage(e,t===void 0?"*":t)},tg=e=>{eg({type:"pageNavigated",url:e,sender:"flare"})},rg=()=>{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-"}},ng=`https://${rg()}api.simplefinancialchoices.com/promoted-funds/embed`,Nr=e=>e.replace(/ /g,""),ot=e=>!(typeof e=="string"&&e.trim().length>0),ig=({app:e})=>{const t=Pe(h=>h.state.selectedFund),r=Pe(h=>h.session.accessToken),n=wr(),i=Xe.endpoints.campaignConnect.useQueryState().data,[o,a]=ae(!1),s=on();if(Z(()=>{var h,d,m,l,u,f,p;if(i&&r&&t){const g={authToken:r,employerDefault:t.fundType==="promoted-default",fundId:t.fundId,accountId:i.userProfile.accountId,partnerId:i.userProfile.partnerId,placementId:e==="featured-funds"?"byof":"panel",title:(h=i.userProfile.title)!=null?h:"",firstName:i.userProfile.firstName,middleName:i.userProfile.middleName,lastName:i.userProfile.lastName,dateOfBirth:(d=i.userProfile.dateOfBirth)!=null?d:"",mobilePhone:(m=i.userProfile.mobilePhone)!=null?m:"",email:i.userProfile.email,gender:(l=i.userProfile.gender)!=null?l:"",taxFileNumber:(u=i.userProfile.tfn)!=null?u:"",addressLine1:i.userProfile.address.addressLine1,addressLine2:(f=i.userProfile.address.addressLine2)!=null?f:"",city:i.userProfile.address.city,state:i.userProfile.address.state,postCode:i.userProfile.address.postcode},v=(p=s.current)==null?void 0:p.contentDocument;if(v){v.open();const _=v.createElement("form");_.method="POST",_.target="_self",_.action=ng;let y;for(y in g){const b=g[y];if(b!==void 0){const S=document.createElement("input");S.name=y,S.type="hidden",typeof b=="boolean"?S.value=b?"true":"false":S.value=b,_.append(S)}}v.appendChild(_),v.close(),_.submit()}}},[s,i,t,r,e]),!t||!r||!i)return be("PfjIFrame was in an inconsistent state and the user was redirected to the three panel.",{fund:t,data:i?"Not null":"Null",authToken:r?"Not null":"Null"}),n(qe()),w(Re,{});const c=h=>me(void 0,null,function*(){const{data:d}=h;if(d.sender==="promoted-fund-redirect"){switch(window.removeEventListener("message",c),d.type){case"cancel":e==="featured-funds"&&Rc(),n(qe());break;case"success-promoted":{if(ot(d.memberNumber)||ot(d.usi)){be("Bad response from PFJ",{type:d.type,memberNumber:d.memberNumber,usi:d.usi}),n(qe());break}Ht(e,{fundType:"Promoted",fundId:t.fundId,usi:Nr(d.usi),memberNumber:d.memberNumber,memberFirstName:d.memberFirstName,memberFamilyName:d.memberFamilyName,fundName:t.fundName});break}case"success-promoted-default":{if(ot(d.usi)){be("Bad response from PFJ",{type:d.type,usi:d.usi}),n(qe());break}Ht(e,{fundType:"PromotedDefault",fundId:d.fundId,usi:Nr(d.usi),fundName:t.fundName});break}case"success-promoted-default-with-join":{if(ot(d.memberNumber)||ot(d.usi)){be("Bad response from PFJ",{type:d.type,memberNumber:d.memberNumber,usi:d.usi}),n(qe());break}Ht(e,{fundType:"PromotedDefaultWithJoin",fundId:t.fundId,usi:Nr(d.usi),memberNumber:d.memberNumber,memberFirstName:d.memberFirstName,memberFamilyName:d.memberFamilyName,fundName:t.fundName});break}case"success-defined-benefits":{if(ot(d.memberNumber)||ot(d.usi)){be("Bad response from PFJ",{type:d.type,memberNumber:d.memberNumber,usi:d.usi}),n(qe());break}Ht(e,{fundType:"DefinedBenefits",fundId:d.fundId,usi:Nr(d.usi),memberNumber:d.memberNumber,memberElectContributionRatePreTax:d.memberElectContributionRatePreTax,memberElectContributionRatePostTax:d.memberElectContributionRatePostTax,fundName:t.fundName});break}}n(qe())}if(d.sender==="promoted-fund-join"){const m=s.current;if(!m)return;switch(d.type){case"contentResized":m.height=d.height>0?String(d.height):m.height,m.width=d.width>0?String(d.width):m.width;break;case"pageNavigated":window.scroll(m.offsetLeft,m.offsetTop),tg(window.location.href),a(!0);break}}});return window.addEventListener("message",c),A("div",{css:{width:"100vw"},children:[!o&&w(Re,{}),w("iframe",{ref:s,width:"100%",height:window.innerHeight,css:[{borderWidth:"0px"},!o&&{display:"none"}]})]})},og="interop-mode",ag="react-native",Na=()=>window.location.search.includes(`${og}=${ag}`),ou=()=>{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-"}},Da=`https://${ou()}join.slatesuper.com.au/confirm`,Oa=`https://${ou()}partner.flarehr.com/super-selection/embed/v1.0/app/slate-redirect.html`,sg=e=>{switch(e){case"Male":return"Male";case"Female":return"Female";case"Intersex":return"Intersex/Indeterminate";default:return"Unknown"}},cg=({app:e})=>{const t=Pe(h=>h.session.accessToken),r=wr(),n=Xe.endpoints.campaignConnect.useQueryState().data,[i,o]=ae(!1),a=!Da.match(/autodev|sandbox/),s=on();if(Z(()=>{var h,d,m,l,u;if(n){const f={authToken:a?t:void 0,successRedirectUrl:Oa,cancelRedirectUrl:Oa,skipConsolidation:Na()?"true":"false",skipInsurance:Na()?"true":"false",firstName:n.userProfile.firstName,middleName:n.userProfile.middleName,lastName:n.userProfile.lastName,dateOfBirth:(h=n.userProfile.dateOfBirth)!=null?h:"",mobilePhone:(d=n.userProfile.mobilePhone)!=null?d:"",email:n.userProfile.email,gender:sg(n.userProfile.gender),taxFileNumber:(m=n.userProfile.tfn)!=null?m:"",addressLine1:n.userProfile.address.addressLine1,addressLine2:(l=n.userProfile.address.addressLine2)!=null?l:"",city:n.userProfile.address.city,state:n.userProfile.address.state,postCode:n.userProfile.address.postcode},p=(u=s.current)==null?void 0:u.contentDocument;if(p){p.open();const g=p.createElement("form");g.method="POST",g.target="_self",g.action=Da;let v;for(v in f){const _=f[v];if(_!==void 0){const y=document.createElement("input");y.type="hidden",y.name=v,y.value=_,g.append(y)}}p.appendChild(g),p.close(),g.submit()}}},[s,n,t,a]),!n)return be("SlateIFrame was in an inconsistent state and the user was redirected to the three panel.",{data:n?"Not null":"Null"}),r(qe()),w(Re,{});const c=h=>me(void 0,null,function*(){const{data:d}=h;if(d.sender==="slate-redirect"){switch(window.removeEventListener("message",c),d.type){case"success":{Ht(e,{fundType:"Promoted",fundId:Xr.fundId,usi:xn,memberNumber:d.memberNumber,fundName:Xr.name});break}default:r(qe()),e==="featured-funds"&&Rc();break}return}if(d.sender==="flare")switch(d.type){case"contentResized":{const m=s.current;if(!m)return;m.height=d.height>0?String(d.height):m.height,m.width=d.width>0?String(d.width):m.width,o(!0);break}}});return window.addEventListener("message",c),A("div",{css:{width:"100vw"},children:[!i&&w(Re,{}),w("iframe",{ref:s,width:"100%",height:window.innerHeight,css:[{borderWidth:"0px"},!i&&{display:"none"}]})]})},au=({app:e})=>{const{selectedFund:t}=Pe(n=>n.state);return w(Ae,{children:(()=>{if(t){if(t.iframeType==="PromotedFundJoinV2")return w(ig,{app:e});if(t.iframeType==="SlateJoin")return w(cg,{app:e})}return w(Ae,{})})()})},ug=e=>window.playwrightRunning?"00000000-0000-0000-0000-000000000000":jc(e).sub,lg=(e,t)=>{let r=0;for(const n of t)if(r+=n.percentage,e<r)return n.variantName;return t[0].variantName},dg=(e,t)=>{if(e.length===0||t===0)return e;const r=e.length;return t=(t%r+r)%r,e.slice(-t)+e.slice(0,-t)},fg=(e,t)=>{if(t.splitType==="percentage"){const r=dg(e.replace(/[^A-F0-9]/gi,""),t.rotations),n=parseInt(r,16),i=t.variants.reduce((s,c)=>s+c.percentage,0),o=n%i;return lg(o,t.variants)}return t.variants[0].variantName},su=e=>{if(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const r=t,n=e[r];if(!n.shouldRun||n.shouldRun(ut.getState())){const i=ug(ut.getState().session.accessToken||""),o=fg(i,n);o&&(ut.dispatch(Zf({experimentName:r,selectedVariant:o})),ut.dispatch(Kt.endpoints.segmentTrack.initiate({event:"$experiment_started",properties:{"Experiment name":r,"Variant name":o}})))}}}},pg=()=>{const[e]=qf(),[t,r]=ae(!0),[n,i]=ae(!1),o=wr(),[a]=Qf();if(Z(()=>{me(void 0,null,function*(){const h=yield a();"data"in h?(up(),cp(),r(!1)):(be("App-loaded service call failed.",{error:h.error}),lp(`App-loaded service call failed: ${JSON.stringify(h.error)}`))})},[a]),t||n)return w(Re,{isComputingPanelFunds:n});const s=()=>me(void 0,null,function*(){i(!0),sp();const{data:c,isSuccess:h,status:d}=yield e();if(!h){be("Backend service call failed.",{status:d}),dp(`Backend service call failed: ${d}`);return}const m=c==null?void 0:c.promotedFunds.filter(l=>l.type==="defined-benefits");if(c.hasDefinedBenefitsEligibility&&(m==null?void 0:m.length)>0){const l=mh(m[0].fundId);o(io({fundId:m[0].fundId,fundType:"defined-benefits",iframeType:"PromotedFundJoinV2",fundName:l}));return}o(ep(c.promotedFunds)),c.promotedFunds.forEach(l=>{const u=ao(l);u!=null&&u.experiments&&su(u.experiments)})});return A("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:A("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:"}),A("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 order to prevent duplicate accounts, you agree that we may send your information to our partner super funds exclusively for the purpose of identifying whether you may be an existing member."}),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."}),A("li",{children:["Your personal data that is provided to us will be subject to our"," ",w(D,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:"https://www.flarehr.com/privacy-policy",children:"Privacy Policy"}),"."]})]}),w(Rt,{fillWidth:!0,onClick:()=>s(),children:"Continue"})]})})]})},cu=({points:e,title:t})=>A("div",{css:{maxWidth:"720px"},children:[w("h5",{css:{fontWeight:"600",textTransform:"uppercase"},children:t}),w("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:e.map((r,n)=>w("li",{children:r},n))})]}),hg=({badgeType:e})=>w("div",{css:[!e&&{visibility:"hidden"},{height:"2.25rem",borderTopLeftRadius:"0.375rem",borderTopRightRadius:"0.375rem",paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"0.375rem",paddingBottom:"0.375rem",textAlign:"center"},(e==null?void 0:e.color)==="green"&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},(e==null?void 0:e.color)==="blue"&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(219 234 254 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"},(e==null?void 0:e.color)==="purple"&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(243 232 255 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(107 33 168 / var(--tw-text-opacity))"},(e==null?void 0:e.color)==="yellow"&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(254 249 195 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(133 77 14 / var(--tw-text-opacity))"}],children:A("div",{css:{fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"500"},children:[(e==null?void 0:e.boldText)&&w("span",{css:{fontWeight:"700"},children:e==null?void 0:e.boldText}),e==null?void 0:e.text]})}),_r=()=>{const{funds:e}=Pe(({state:t})=>t);return(e==null?void 0:e.length)===1&&e[0].fundId==="mercermychoice"},mg=()=>w("div",{css:{display:"flex",justifyContent:"center"},children:w("div",{css:{maxWidth:"800px",textAlign:"center"},children:w("h3",{css:{fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.875rem",lineHeight:"2.25rem"}},children:"Nominate a super fund"})})}),Ba=({fund:e,isMultiFund:t})=>{const r=wr(),n=_r();return A("div",{css:{display:"flex",height:"100%",flexDirection:"column",justifyContent:"space-between",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem",paddingBottom:"1.5rem"},children:[A("div",{children:[w("div",{css:[{"@media (min-width: 768px)":{maxWidth:"240px"}},t&&{"@media (min-width: 1024px)":{maxWidth:"100%"}},n&&pt()&&{"@media (min-width: 768px)":{maxWidth:"100%"}}],children:w(Rt,{fillWidth:!0,onClick:()=>{ap(e),r(io({fundId:e.fundId,fundType:e.fundType,iframeType:e.iframeType,fundName:e.name}))},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&&A("div",{css:{marginTop:"0.5rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:[A("p",{children:["Issued by ",e.abnInfo,"."]}),A("p",{children:["ABN: ",e.abn]})]})]})},gg=r=>{var n=r,{size:e}=n,t=We(n,["size"]);return w("svg",J(N({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"})}))},yg=r=>{var n=r,{size:e}=n,t=We(n,["size"]);return w("svg",J(N({viewBox:"-1 -1 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:e?e*4:"100%"},t),{children:w("rect",{x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5",css:{stroke:"#d1d5db",".group:hover &":{stroke:"var(--fl-color-primary)",strokeWidth:"2"}}})}))},wg=r=>{var n=r,{size:e}=n,t=We(n,["size"]);return w("svg",J(N({viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",width:e?e*4:"100%",css:{fill:"var(--fl-color-primary)"}},t),{children:w("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16ZM11.7071 6.70711C12.0976 6.31658 12.0976 5.68342 11.7071 5.29289C11.3166 4.90237 10.6834 4.90237 10.2929 5.29289L7 8.58579L5.70711 7.29289C5.31658 6.90237 4.68342 6.90237 4.29289 7.29289C3.90237 7.68342 3.90237 8.31658 4.29289 8.70711L6.29289 10.7071C6.68342 11.0976 7.31658 11.0976 7.70711 10.7071L11.7071 6.70711Z"})}))},rn={Check:gg,CheckCircle:yg,CheckCircleFilled:wg},vg=({name:e,logo:t,coverImage:r,extraBadge:n,isPromotedDefault:i,isMultiFund:o})=>{const a=_r(),s=A(Ae,{children:[A("div",{css:{marginRight:"-0.5rem",marginTop:"-1.25rem",textAlign:"right"},children:[n,i&&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"})]}),A("div",{css:[{marginTop:"0.5rem",display:"flex","@media (min-width: 768px)":{marginTop:"0px"},"@media (min-width: 1024px)":{display:"block"}},o&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:[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"}},o&&{"@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"}},o&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:e})})]})]}),c=A(Ae,{children:[A("div",{css:{marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"4rem",alignItems:"center",justifyContent:"space-between"},children:[w("img",{css:[{width:"100px"}],alt:e,src:t}),A("div",{children:[n,i&&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"})]})]}),w("img",{css:[{width:"100%"},o&&{"@media (min-width: 1024px)":{display:"block"}}],alt:e,src:r})]});return w(Ae,{children:a&&pt()?c:s})},bg=({features:e,featureSubText:t,customContent:r,name:n})=>{const i=_r(),o=A(Ae,{children:[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:e.map(s=>A("div",{css:{display:"flex"},children:[w("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:w(rn.Check,{alt:"checked"})}),w("div",{css:{lineHeight:"1.25rem"},children:s})]}))}),t&&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:t}),r]}),a=A(Ae,{children:[A("div",{css:{padding:"1.5rem",paddingBottom:"0px"},children:[w("div",{css:[{fontSize:"1.125rem",lineHeight:"1.75rem",fontWeight:"700"}],children:n}),e.map(s=>A("div",{css:{marginTop:"0.5rem",display:"flex"},children:[w("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:w(rn.Check,{alt:"checked"})}),w("div",{css:{fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"400"},children:s})]}))]}),t&&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:t}),r]});return w(Ae,{children:i&&pt()?a:o})},_g=({name:e,logo:t,coverImage:r,features:n,featureSubText:i,isMultiFund:o,isPromotedDefault:a,extraBadge:s,customContent:c})=>{const h=_r();return A("div",{css:[{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem"},h&&pt()&&{padding:"0px"}],children:[w(vg,{name:e,logo:t,coverImage:r,isMultiFund:o,extraBadge:s,isPromotedDefault:a}),w(bg,{name:e,features:n,customContent:c,featureSubText:i})]})},Sg="https://my.gov.au",Cg="www.my.gov.au",kg="https://www.apra.gov.au/register-of-superannuation-institutions",xg="www.apra.gov.au",Tg=(e,t)=>{if(e.fundId==="virgin"){const r=t.selectedVariants["social-validation-popular-virgin"];if(e.recentJoinerCount&&r==="num-badge")return{color:"green",text:`${e.recentJoinerCount}+ people joined last week`,boldText:"Popular: "};if(r==="pop-badge")return{color:"green",text:"Popular"}}},Eg=()=>{const e=Pe(s=>s.state.funds),t=Pe(s=>s.experimentsData),r=_r(),n=ue(()=>hh(e!=null?e:[]).map(s=>J(N({},s),{badgeType:Tg(s,t)})),[e,t]),i=ip();Z(()=>{op(n)},[n]);const o=n.length>1,a=n.some(s=>s.badgeType);return A("div",{children:[w(mg,{}),w("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center"},children:w("div",{children:A("div",{css:[{"@media (min-width: 1024px)":{display:"grid"}},n.length===1&&{maxWidth:"720px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(1, minmax(0, 1fr))"}},n.length===2&&{maxWidth:"720px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(2, minmax(0, 1fr))"}},n.length===3&&{maxWidth:"960px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(3, minmax(0, 1fr))"}}],children:[n.map((s,c)=>A("div",{children:[a&&w(hg,{badgeType:s.badgeType}),w("div",{css:[n.length===1&&{maxWidth:"720px"},n.length===2&&{maxWidth:"720px"},n.length===3&&{maxWidth:"960px"},{height:"100%",borderBottomWidth:"1px",borderLeftWidth:"1px",borderRightWidth:"1px",borderTopWidth:"1px","@media (min-width: 1024px)":{borderBottomWidth:"0px"}},c!==0&&{borderTopWidth:"0px","@media (min-width: 1024px)":{borderLeftWidth:"0px",borderTopWidth:"1px"}},c===0&&{borderTopLeftRadius:"0.5rem",borderTopRightRadius:"0.5rem"},c===0&&c!==n.length-1&&{"@media (min-width: 1024px)":{borderTopRightRadius:"0px"}},c===n.length-1&&{borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem","@media (min-width: 1024px)":{borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",borderTopRightRadius:"0.5rem"}},!o&&{"@media (min-width: 1024px)":{borderBottomRightRadius:"0.5rem",borderBottomLeftRadius:"0.5rem",borderBottomWidth:"1px"}},s.badgeType&&{borderTopLeftRadius:"0px",borderTopRightRadius:"0px","@media (min-width: 1024px)":{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"}}],children:A("div",{css:[{display:"flex"}],children:[w("div",{css:[{display:"none",width:"9rem",justifyContent:"center",paddingLeft:"1.5rem",paddingTop:"1.5rem","@media (min-width: 768px)":{display:"flex"}},o&&{"@media (min-width: 1024px)":{display:"none"}},r&&pt()&&{"@media (min-width: 768px)":{display:"none"}}],children:w("img",{css:{height:"4rem",width:"100%",maxWidth:"96px",objectFit:"contain"},alt:s.name,src:s.logo})}),A("div",{css:[{width:"100%"},r&&pt()&&{minWidth:"286px",maxWidth:"480px"}],children:[w(_g,{logo:s.logo,name:s.name,coverImage:s.coverImage,features:s.features,featureSubText:s.featureSubText,isMultiFund:o,isPromotedDefault:s.fundType==="promoted-default",extraBadge:s.extraBadge,customContent:s.customContent}),w("div",{css:[o&&{"@media (min-width: 1024px)":{display:"none"}}],children:w(Ba,{fund:s,isMultiFund:o})})]})]})})]})),n.map((s,c)=>w("div",{css:[{display:"none",borderBottomWidth:"1px",borderRightWidth:"1px"},o&&{"@media (min-width: 1024px)":{display:"block"}},c===0&&{borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem",borderLeftWidth:"1px"},c===0&&c!==n.length-1&&{"@media (min-width: 1024px)":{borderBottomRightRadius:"0px"}},c===n.length-1&&{borderBottomRightRadius:"0.5rem"}],children:w(Ba,{fund:s,isMultiFund:o})}))]})})}),w("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children:A("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:"}),A("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."}),A("li",{children:["If you are unsure of your current super fund details, you can find out at"," ",w(D,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:Sg,children:Cg})]}),A("li",{children:["A full list of super funds can be viewed at"," ",w(D,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:kg,children:xg})]})]}),w(Rt,{fillWidthOnMobile:!0,onClick:()=>i(),children:"Choose another super fund"})]})}),w("div",{css:{display:"flex",justifyContent:"center",paddingTop:"2rem","@media (min-width: 640px)":{paddingTop:"3rem"}},children:w(cu,{title:"IMPORTANT INFORMATION:",points:["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.","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.","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.","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.","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."]})})]})},Ag=j.div({display:"flex",flexDirection:"column",alignItems:"center"}),Rg=()=>{const{funds:e,selectedFund:t}=Pe(i=>i.state),[r]=Kf();return Z(()=>{r()},[r]),A(Ag,{children:[w("div",{children:t?w(au,{app:"super-campaign"}):e?w(Eg,{}):w(pg,{})}),w("div",{children:w(so,{})})]})},Pg=()=>w(Rg,{}),Ig={},Mg=e=>{const t="api.simplefinancialchoices.com",r="https://",n=/https:\/\/(.*?)-partner/,i=e.match(n);if(!i)return`${r}${t}`;const o=i[1];return`${r}${o}-${t}`};function ho(){return(ho=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 Fg=["context","children"];function Ng(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,Fg);return Fi(t,r)}function Dg(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=X(Ng,ho({},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[uu(s[a].name)]=s[a].value);for(a=c.length;a--;){var h=t(c[a],null),d=c[a].slot;d?o[d]=X(La,{name:d},h):i[a]=h}var m=n?X(La,null,i):i;return X(n||r.nodeName.toLowerCase(),o,m)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Mi:et)(this._vdom,this._root)}function uu(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function Og(e,t,r){if(this._vdom){var n={};n[e]=r=r==null?void 0:r,n[uu(e)]=r,this._vdom=Fi(this._vdom,n),et(this._vdom,this._root)}}function Bg(){et(this._vdom=null,this._root)}function La(e,t){var r=this;return X("slot",ho({},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 Lg(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=Dg,i.prototype.attributeChangedCallback=Og,i.prototype.disconnectedCallback=Bg,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)}const $g=()=>w(Nl,{styles:Dl`*, ::before, ::after {
24
24
  box-sizing: border-box;
25
25
  border-width: 0;
26
26
  border-style: solid;
@@ -270,4 +270,4 @@ img, video {
270
270
  --tw-backdrop-opacity: var(--tw-empty,/*!*/ /*!*/);
271
271
  --tw-backdrop-saturate: var(--tw-empty,/*!*/ /*!*/);
272
272
  --tw-backdrop-sepia: var(--tw-empty,/*!*/ /*!*/);
273
- }`}),Ug=(e,t)=>r=>{const{"access-token":n,"backend-url":i,"fund-usi":o}=r,a=Mg(i),[s,c]=he(!1);Z(()=>{const l=fh();return()=>{clearInterval(l)}},[]),Z(()=>{ut.dispatch(Xf({accessToken:n,backendUrl:i,superBackendUrl:a,fundUsi:o})),su(Ig),c(!0)},[n,i,a,o]);const f=ve(null),[w,m]=he(void 0);return Z(()=>{var l;m((l=f.current)!=null?l:void 0)},[f]),y("div",{ref:f,children:y(Il,{value:Ms({key:t,container:w,prepend:!0}),children:A(Nf,{store:ut,children:[y($g,{}),y("div",{css:{fontFamily:"Inter, sans-serif"},children:s?e({}):y(Ue,{})})]})})})},mo=(e,t,r)=>{Lg(Ug(e,t),t,r,{shadow:!0})},zg=""+new URL("assets/logo-aware-DYvmVUZ1.svg",import.meta.url).href,jg="Aware Super",Hg={fundId:"aware-super",name:jg,logo:zg,iframeType:"PromotedFundJoinV2"},Wg=[Hg],qg=e=>Wg.find(r=>r.fundId===e),Vg=({featuredFund:e,isSelected:t,onClick:r})=>e?A("div",{css:[{width:"100%",cursor:"pointer",alignItems:"center",borderRadius:"0.375rem",padding:"0.5rem",paddingLeft:"1rem","--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(1px + 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-inset":"inset","--tw-ring-opacity":"1","--tw-ring-color":"rgb(229 231 235 / var(--tw-ring-opacity))"},{display:"flex",flexDirection:"row"},{"--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)"},{":hover":{"--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)"}},t&&{"--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-within":{outlineStyle:"solid",outlineColor:"var(--fl-color-primary)"}}],for:e.fundId,onClick:r,className:"group",children:[y("input",{id:e.fundId,type:"radio",name:"fund",checked:t,css:{height:"0px",width:"0px"}}),A("div",{css:{display:"flex",flexGrow:"1",alignItems:"center",gap:"1rem"},children:[y("img",{css:{height:"3rem",width:"80px",objectFit:"contain"},alt:e.name,src:e.logo}),y("p",{css:{fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"600"},children:e.name})]}),y("div",{css:{display:"flex",width:"44px",justifyContent:"center"},children:t?y(rn.CheckCircleFilled,{size:4}):y(rn.CheckCircle,{size:4})})]}):y(Ae,{}),ri=[qg("aware-super")],Qg=()=>{const e=wr(),[t,r]=he(ri[0]);Z(()=>{pp(ri)},[]);const n=c=>{r(c)},i=()=>{t&&(e(io({fundId:t.fundId,fundName:t.name,fundType:"promoted",iframeType:t.iframeType})),hp(t))},o=()=>{fp()},a=ve(null),s=()=>{var c;(c=a.current)==null||c.scrollIntoView({behavior:"smooth"})};return A("div",{css:{display:"flex",width:"100%",flexDirection:"column",alignItems:"center",gap:"3rem"},children:[A("div",{css:{display:"flex",width:"100%",maxWidth:"560px",flexDirection:"column",alignItems:"center",gap:"2rem"},children:[A("div",{css:{width:"100%","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(1rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(1rem * var(--tw-space-y-reverse))"},borderRadius:"0.5rem",borderWidth:"1px",padding:"1.5rem",paddingBottom:"2rem","--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)"},children:[A("div",{css:{display:"flex",flexDirection:"column",alignItems:"flex-start","@media (min-width: 640px)":{flexDirection:"row",alignItems:"center"}},children:[y("div",{css:{flexGrow:"1",fontSize:"1.125rem",lineHeight:"1.75rem",fontWeight:"700"},children:"Join a featured super fund"}),y("a",{css:{cursor:"pointer",fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"600",color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},onClick:s,onKeyDown:c=>c.key==="Enter"&&s(),tabIndex:0,children:"About featured funds"})]}),y("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:ri.map((c,f)=>y(Vg,{featuredFund:c,isSelected:t===c,onClick:()=>n(c)},f))})]}),A("div",{css:{width:"20rem","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(1rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(1rem * var(--tw-space-y-reverse))"}},children:[y(Rt,{fillWidth:!0,disabled:!t,onClick:i,children:"Continue"}),y(Rt,{variant:"secondary",fillWidth:!0,onClick:o,children:"Back"})]})]}),y("div",{css:{height:"1px",width:"100%",maxWidth:"720px",borderTopWidth:"1px"}}),y("div",{ref:a,children:y(cu,{title:"Important information - Featured super funds",points:["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.","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.","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.","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.","You should be aware that, if you do choose one of the featured superannuation funds, Flare and it’s associates will normally receive a fee for you doing so (this includes Simple Financial Choices Pty Ltd, a wholly owned subsidiary of Flare, which is a sub-promoter of Slate Super)."]})})]})},Jg=j.div({display:"flex",flexDirection:"column",alignItems:"center"}),Kg=()=>{const{selectedFund:e}=Re(n=>n.state),{isLoading:t}=Vf();return A(Jg,{children:[t?y(Ue,{}):e?y(au,{app:"featured-funds"}):y(Qg,{}),y(so,{})]})},Yg=()=>y(Kg,{});mo(Pg,"apollo-super-campaign");mo(Xm,"apollo-super-byof-engagement",["fund-usi"]);mo(Yg,"apollo-super-campaign-featured-funds");
273
+ }`}),Ug=(e,t)=>r=>{const{"access-token":n,"backend-url":i,"fund-usi":o}=r,a=Mg(i),[s,c]=ae(!1);Z(()=>{const l=fh();return()=>{clearInterval(l)}},[]),Z(()=>{ut.dispatch(Xf({accessToken:n,backendUrl:i,superBackendUrl:a,fundUsi:o})),su(Ig),c(!0)},[n,i,a,o]);const h=ve(null),[d,m]=ae(void 0);return Z(()=>{var l;m((l=h.current)!=null?l:void 0)},[h]),w("div",{ref:h,children:w(Il,{value:Ms({key:t,container:d,prepend:!0}),children:A(Nf,{store:ut,children:[w($g,{}),w("div",{css:{fontFamily:"Inter, sans-serif"},children:s?e({}):w(Re,{})})]})})})},mo=(e,t,r)=>{Lg(Ug(e,t),t,r,{shadow:!0})},zg=""+new URL("assets/logo-aware-DYvmVUZ1.svg",import.meta.url).href,jg="Aware Super",Hg={fundId:"aware-super",name:jg,logo:zg,iframeType:"PromotedFundJoinV2"},Wg=[Hg],qg=e=>Wg.find(r=>r.fundId===e),Vg=({featuredFund:e,isSelected:t,onClick:r})=>e?A("div",{css:[{width:"100%",cursor:"pointer",alignItems:"center",borderRadius:"0.375rem",padding:"0.5rem",paddingLeft:"1rem","--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(1px + 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-inset":"inset","--tw-ring-opacity":"1","--tw-ring-color":"rgb(229 231 235 / var(--tw-ring-opacity))"},{display:"flex",flexDirection:"row"},{"--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)"},{":hover":{"--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)"}},t&&{"--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-within":{outlineStyle:"solid",outlineColor:"var(--fl-color-primary)"}}],for:e.fundId,onClick:r,className:"group",children:[w("input",{id:e.fundId,type:"radio",name:"fund",checked:t,css:{height:"0px",width:"0px"}}),A("div",{css:{display:"flex",flexGrow:"1",alignItems:"center",gap:"1rem"},children:[w("img",{css:{height:"3rem",width:"80px",objectFit:"contain"},alt:e.name,src:e.logo}),w("p",{css:{fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"600"},children:e.name})]}),w("div",{css:{display:"flex",width:"44px",justifyContent:"center"},children:t?w(rn.CheckCircleFilled,{size:4}):w(rn.CheckCircle,{size:4})})]}):w(Ae,{}),ri=[qg("aware-super")],Qg=()=>{const e=wr(),[t,r]=ae(ri[0]);Z(()=>{pp(ri)},[]);const n=c=>{r(c)},i=()=>{t&&(e(io({fundId:t.fundId,fundName:t.name,fundType:"promoted",iframeType:t.iframeType})),hp(t))},o=()=>{fp()},a=ve(null),s=()=>{var c;(c=a.current)==null||c.scrollIntoView({behavior:"smooth"})};return A("div",{css:{display:"flex",width:"100%",flexDirection:"column",alignItems:"center",gap:"3rem"},children:[A("div",{css:{display:"flex",width:"100%",maxWidth:"560px",flexDirection:"column",alignItems:"center",gap:"2rem"},children:[A("div",{css:{width:"100%","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(1rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(1rem * var(--tw-space-y-reverse))"},borderRadius:"0.5rem",borderWidth:"1px",padding:"1.5rem",paddingBottom:"2rem","--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)"},children:[A("div",{css:{display:"flex",flexDirection:"column",alignItems:"flex-start","@media (min-width: 640px)":{flexDirection:"row",alignItems:"center"}},children:[w("div",{css:{flexGrow:"1",fontSize:"1.125rem",lineHeight:"1.75rem",fontWeight:"700"},children:"Join a featured super fund"}),w("a",{css:{cursor:"pointer",fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"600",color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},onClick:s,onKeyDown:c=>c.key==="Enter"&&s(),tabIndex:0,children:"About featured funds"})]}),w("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:ri.map((c,h)=>w(Vg,{featuredFund:c,isSelected:t===c,onClick:()=>n(c)},h))})]}),A("div",{css:{width:"20rem","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(1rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(1rem * var(--tw-space-y-reverse))"}},children:[w(Rt,{fillWidth:!0,disabled:!t,onClick:i,children:"Continue"}),w(Rt,{variant:"secondary",fillWidth:!0,onClick:o,children:"Back"})]})]}),w("div",{css:{height:"1px",width:"100%",maxWidth:"720px",borderTopWidth:"1px"}}),w("div",{ref:a,children:w(cu,{title:"Important information - Featured super funds",points:["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.","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.","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.","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.","You should be aware that, if you do choose one of the featured superannuation funds, Flare and it’s associates will normally receive a fee for you doing so (this includes Simple Financial Choices Pty Ltd, a wholly owned subsidiary of Flare, which is a sub-promoter of Slate Super)."]})})]})},Jg=j.div({display:"flex",flexDirection:"column",alignItems:"center"}),Kg=()=>{const{selectedFund:e}=Pe(n=>n.state),{isLoading:t}=Vf();return A(Jg,{children:[t?w(Re,{}):e?w(au,{app:"featured-funds"}):w(Qg,{}),w(so,{})]})},Yg=()=>w(Kg,{});mo(Pg,"apollo-super-campaign");mo(Xm,"apollo-super-byof-engagement",["fund-usi"]);mo(Yg,"apollo-super-campaign-featured-funds");