@flarehr/apollo-super-campaign 1.41.41 → 1.43.43

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 su=Object.defineProperty,au=Object.defineProperties;var cu=Object.getOwnPropertyDescriptors;var kr=Object.getOwnPropertySymbols;var Ao=Object.prototype.hasOwnProperty,xo=Object.prototype.propertyIsEnumerable;var Fn=(e,t,r)=>t in e?su(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,I=(e,t)=>{for(var r in t||(t={}))Ao.call(t,r)&&Fn(e,r,t[r]);if(kr)for(var r of kr(t))xo.call(t,r)&&Fn(e,r,t[r]);return e},$=(e,t)=>au(e,cu(t));var ot=(e,t)=>{var r={};for(var n in e)Ao.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&&xo.call(e,n)&&(r[n]=e[n]);return r};var Dn=(e,t,r)=>(Fn(e,typeof t!="symbol"?t+"":t,r),r);var pe=(e,t,r)=>new Promise((n,i)=>{var o=u=>{try{a(r.next(u))}catch(m){i(m)}},s=u=>{try{a(r.throw(u))}catch(m){i(m)}},a=u=>u.done?n(u.value):Promise.resolve(u.value).then(o,s);a((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 s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=r(i);fetch(i.href,o)}})();function Xn(){return Xn=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},Xn.apply(this,arguments)}var fr,D,Ws,ct,To,qs,Zn,Vs,Xt={},Qs=[],uu=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,tn=Array.isArray;function Qe(e,t){for(var r in t)e[r]=t[r];return e}function Ks(e){var t=e.parentNode;t&&t.removeChild(e)}function X(e,t,r){var n,i,o,s={};for(o in t)o=="key"?n=t[o]:o=="ref"?i=t[o]:s[o]=t[o];if(arguments.length>2&&(s.children=arguments.length>3?fr.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)s[o]===void 0&&(s[o]=e.defaultProps[o]);return qt(e,s,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?++Ws:i,__i:-1,__u:0};return i==null&&D.vnode!=null&&D.vnode(o),o}function rn(){return{current:null}}function _e(e){return e.children}function Ie(e,t){this.props=e,this.context=t}function At(e,t){if(t==null)return e.__?At(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"?At(e):null}function Js(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 Js(e)}}function ei(e){(!e.__d&&(e.__d=!0)&&ct.push(e)&&!jr.__r++||To!==D.debounceRendering)&&((To=D.debounceRendering)||qs)(jr)}function jr(){var e,t,r,n,i,o,s,a,u;for(ct.sort(Zn);e=ct.shift();)e.__d&&(t=ct.length,n=void 0,o=(i=(r=e).__v).__e,a=[],u=[],(s=r.__P)&&((n=Qe({},i)).__v=i.__v+1,D.vnode&&D.vnode(n),Mi(s,n,i,r.__n,s.ownerSVGElement!==void 0,32&i.__u?[o]:null,a,o==null?At(i):o,!!(32&i.__u),u),n.__.__k[n.__i]=n,Xs(a,n,u),n.__e!=o&&Js(n)),ct.length>t&&ct.sort(Zn));jr.__r=0}function Ys(e,t,r,n,i,o,s,a,u,m,g){var h,d,c,l,f,p=n&&n.__k||Qs,w=t.length;for(r.__d=u,lu(r,t,p),u=r.__d,h=0;h<w;h++)(c=r.__k[h])!=null&&typeof c!="boolean"&&typeof c!="function"&&(d=c.__i===-1?Xt:p[c.__i]||Xt,c.__i=h,Mi(e,c,d,i,o,s,a,u,m,g),l=c.__e,c.ref&&d.ref!=c.ref&&(d.ref&&Ni(d.ref,null,c),g.push(c.ref,c.__c||l,c)),f==null&&l!=null&&(f=l),65536&c.__u||d.__k===c.__k?u=Gs(c,u,e):typeof c.type=="function"&&c.__d!==void 0?u=c.__d:l&&(u=l.nextSibling),c.__d=void 0,c.__u&=-196609);r.__d=u,r.__e=f}function lu(e,t,r){var n,i,o,s,a,u=t.length,m=r.length,g=m,h=0;for(e.__k=[],n=0;n<u;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):tn(i)?qt(_e,{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,a=du(i,r,s=n+h,g),i.__i=a,o=null,a!==-1&&(g--,(o=r[a])&&(o.__u|=131072)),o==null||o.__v===null?(a==-1&&h--,typeof i.type!="function"&&(i.__u|=65536)):a!==s&&(a===s+1?h++:a>s?g>u-s?h+=a-s:h--:h=a<s&&a==s-1?a-s:0,a!==n+h&&(i.__u|=65536))):(o=r[n])&&o.key==null&&o.__e&&(o.__e==e.__d&&(e.__d=At(o)),ti(o,o,!1),r[n]=null,g--);if(g)for(n=0;n<m;n++)(o=r[n])!=null&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=At(o)),ti(o,o))}function Gs(e,t,r){var n,i;if(typeof e.type=="function"){for(n=e.__k,i=0;n&&i<n.length;i++)n[i]&&(n[i].__=e,t=Gs(n[i],t,r));return t}return e.__e!=t&&(r.insertBefore(e.__e,t||null),t=e.__e),t&&t.nextSibling}function Ke(e,t){return t=t||[],e==null||typeof e=="boolean"||(tn(e)?e.some(function(r){Ke(r,t)}):t.push(e)),t}function du(e,t,r,n){var i=e.key,o=e.type,s=r-1,a=r+1,u=t[r];if(u===null||u&&i==u.key&&o===u.type)return r;if(n>(u!=null&&!(131072&u.__u)?1:0))for(;s>=0||a<t.length;){if(s>=0){if((u=t[s])&&!(131072&u.__u)&&i==u.key&&o===u.type)return s;s--}if(a<t.length){if((u=t[a])&&!(131072&u.__u)&&i==u.key&&o===u.type)return a;a++}}return-1}function Ro(e,t,r){t[0]==="-"?e.setProperty(t,r==null?"":r):e[t]=r==null?"":typeof r!="number"||uu.test(t)?r:r+"px"}function Ar(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||Ro(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||Ro(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?Io:Po,o)):e.removeEventListener(t,o?Io:Po,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(s){}typeof r=="function"||(r==null||r===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,r))}}function Po(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(D.event?D.event(e):e)}function Io(e){return this.l[e.type+!0](D.event?D.event(e):e)}function Mi(e,t,r,n,i,o,s,a,u,m){var g,h,d,c,l,f,p,w,v,y,b,S,E,C,k,A=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(u=!!(32&r.__u),o=[a=t.__e=r.__e]),(g=D.__b)&&g(t);e:if(typeof A=="function")try{if(w=t.props,v=(g=A.contextType)&&n[g.__c],y=g?v?v.props.value:g.__:n,r.__c?p=(h=t.__c=r.__c).__=h.__E:("prototype"in A&&A.prototype.render?t.__c=h=new A(w,y):(t.__c=h=new Ie(w,y),h.constructor=A,h.render=pu),v&&v.sub(h),h.props=w,h.state||(h.state={}),h.context=y,h.__n=n,d=h.__d=!0,h.__h=[],h._sb=[]),h.__s==null&&(h.__s=h.state),A.getDerivedStateFromProps!=null&&(h.__s==h.state&&(h.__s=Qe({},h.__s)),Qe(h.__s,A.getDerivedStateFromProps(w,h.__s))),c=h.props,l=h.state,h.__v=t,d)A.getDerivedStateFromProps==null&&h.componentWillMount!=null&&h.componentWillMount(),h.componentDidMount!=null&&h.__h.push(h.componentDidMount);else{if(A.getDerivedStateFromProps==null&&w!==c&&h.componentWillReceiveProps!=null&&h.componentWillReceiveProps(w,y),!h.__e&&(h.shouldComponentUpdate!=null&&h.shouldComponentUpdate(w,h.__s,y)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(h.props=w,h.state=h.__s,h.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(x){x&&(x.__=t)}),b=0;b<h._sb.length;b++)h.__h.push(h._sb[b]);h._sb=[],h.__h.length&&s.push(h);break e}h.componentWillUpdate!=null&&h.componentWillUpdate(w,h.__s,y),h.componentDidUpdate!=null&&h.__h.push(function(){h.componentDidUpdate(c,l,f)})}if(h.context=y,h.props=w,h.__P=e,h.__e=!1,S=D.__r,E=0,"prototype"in A&&A.prototype.render){for(h.state=h.__s,h.__d=!1,S&&S(t),g=h.render(h.props,h.state,h.context),C=0;C<h._sb.length;C++)h.__h.push(h._sb[C]);h._sb=[]}else do h.__d=!1,S&&S(t),g=h.render(h.props,h.state,h.context),h.state=h.__s;while(h.__d&&++E<25);h.state=h.__s,h.getChildContext!=null&&(n=Qe(Qe({},n),h.getChildContext())),d||h.getSnapshotBeforeUpdate==null||(f=h.getSnapshotBeforeUpdate(c,l)),Ys(e,tn(k=g!=null&&g.type===_e&&g.key==null?g.props.children:g)?k:[k],t,r,n,i,o,s,a,u,m),h.base=t.__e,t.__u&=-161,h.__h.length&&s.push(h),p&&(h.__E=h.__=null)}catch(x){t.__v=null,u||o!=null?(t.__e=a,t.__u|=u?160:32,o[o.indexOf(a)]=null):(t.__e=r.__e,t.__k=r.__k),D.__e(x,t,r)}else o==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=fu(r.__e,t,r,n,i,o,s,u,m);(g=D.diffed)&&g(t)}function Xs(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)Ni(r[n],r[++n],r[++n]);D.__c&&D.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){D.__e(o,i.__v)}})}function fu(e,t,r,n,i,o,s,a,u){var m,g,h,d,c,l,f,p=r.props,w=t.props,v=t.type;if(v==="svg"&&(i=!0),o!=null){for(m=0;m<o.length;m++)if((c=o[m])&&"setAttribute"in c==!!v&&(v?c.localName===v:c.nodeType===3)){e=c,o[m]=null;break}}if(e==null){if(v===null)return document.createTextNode(w);e=i?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,w.is&&w),o=null,a=!1}if(v===null)p===w||a&&e.data===w||(e.data=w);else{if(o=o&&fr.call(e.childNodes),p=r.props||Xt,!a&&o!=null)for(p={},m=0;m<e.attributes.length;m++)p[(c=e.attributes[m]).name]=c.value;for(m in p)c=p[m],m=="children"||(m=="dangerouslySetInnerHTML"?h=c:m==="key"||m in w||Ar(e,m,null,c,i));for(m in w)c=w[m],m=="children"?d=c:m=="dangerouslySetInnerHTML"?g=c:m=="value"?l=c:m=="checked"?f=c:m==="key"||a&&typeof c!="function"||p[m]===c||Ar(e,m,c,p[m],i);if(g)a||h&&(g.__html===h.__html||g.__html===e.innerHTML)||(e.innerHTML=g.__html),t.__k=[];else if(h&&(e.innerHTML=""),Ys(e,tn(d)?d:[d],t,r,n,i&&v!=="foreignObject",o,s,o?o[0]:r.__k&&At(r,0),a,u),o!=null)for(m=o.length;m--;)o[m]!=null&&Ks(o[m]);a||(m="value",l!==void 0&&(l!==e[m]||v==="progress"&&!l||v==="option"&&l!==p[m])&&Ar(e,m,l,p[m],!1),m="checked",f!==void 0&&f!==e[m]&&Ar(e,m,f,p[m],!1))}return e}function Ni(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(n){D.__e(n,r)}}function ti(e,t,r){var n,i;if(D.unmount&&D.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||Ni(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){D.__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]&&ti(n[i],t,r||typeof e.type!="function");r||e.__e==null||Ks(e.__e),e.__=e.__e=e.__d=void 0}function pu(e,t,r){return this.constructor(e,r)}function et(e,t,r){var n,i,o,s;D.__&&D.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],s=[],Mi(t,e=(!n&&r||t).__k=X(_e,null,[e]),i||Xt,Xt,t.ownerSVGElement!==void 0,!n&&r?[r]:i?null:t.firstChild?fr.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,s),Xs(o,e,s)}function Oi(e,t){et(e,t,Oi)}function Li(e,t,r){var n,i,o,s,a=Qe({},e.props);for(o in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)o=="key"?n=t[o]:o=="ref"?i=t[o]:a[o]=t[o]===void 0&&s!==void 0?s[o]:t[o];return arguments.length>2&&(a.children=arguments.length>3?fr.call(arguments,2):r),qt(e.type,a,n||e.key,i||e.ref,null)}function nn(e,t){var r={__c:t="__cC"+Vs++,__:e,Consumer:function(n,i){return n.children(i)},Provider:function(n){var i,o;return this.getChildContext||(i=[],(o={})[t]=this,this.getChildContext=function(){return o},this.shouldComponentUpdate=function(s){this.props.value!==s.value&&i.some(function(a){a.__e=!0,ei(a)})},this.sub=function(s){i.push(s);var a=s.componentWillUnmount;s.componentWillUnmount=function(){i.splice(i.indexOf(s),1),a&&a.call(s)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}fr=Qs.slice,D={__e:function(e,t,r,n){for(var i,o,s;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&o.getDerivedStateFromError!=null&&(i.setState(o.getDerivedStateFromError(e)),s=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,n||{}),s=i.__d),s)return i.__E=i}catch(a){e=a}throw e}},Ws=0,Ie.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),ei(this))},Ie.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),ei(this))},Ie.prototype.render=_e,ct=[],qs=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Zn=function(e,t){return e.__v.__b-t.__v.__b},jr.__r=0,Vs=0;var Ye,K,Mn,Bo,xt=0,Zs=[],Nr=[],Fo=D.__b,Do=D.__r,Mo=D.diffed,No=D.__c,Oo=D.unmount;function ht(e,t){D.__h&&D.__h(K,e,xt||t),xt=0;var r=K.__H||(K.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:Nr}),r.__[e]}function be(e){return xt=1,$i(ra,e)}function $i(e,t,r){var n=ht(Ye++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):ra(void 0,t),function(a){var u=n.__N?n.__N[0]:n.__[0],m=n.t(u,a);u!==m&&(n.__N=[m,n.__[1]],n.__c.setState({}))}],n.__c=K,!K.u)){var i=function(a,u,m){if(!n.__c.__H)return!0;var g=n.__c.__H.__.filter(function(d){return d.__c});if(g.every(function(d){return!d.__N}))return!o||o.call(this,a,u,m);var h=!1;return g.forEach(function(d){if(d.__N){var c=d.__[0];d.__=d.__N,d.__N=void 0,c!==d.__[0]&&(h=!0)}}),!(!h&&n.__c.props===a)&&(!o||o.call(this,a,u,m))};K.u=!0;var o=K.shouldComponentUpdate,s=K.componentWillUpdate;K.componentWillUpdate=function(a,u,m){if(this.__e){var g=o;o=void 0,i(a,u,m),o=g}s&&s.call(this,a,u,m)},K.shouldComponentUpdate=i}return n.__N||n.__}function te(e,t){var r=ht(Ye++,3);!D.__s&&zi(r.__H,t)&&(r.__=e,r.i=t,K.__H.__h.push(r))}function mt(e,t){var r=ht(Ye++,4);!D.__s&&zi(r.__H,t)&&(r.__=e,r.i=t,K.__h.push(r))}function Ae(e){return xt=5,ae(function(){return{current:e}},[])}function ea(e,t,r){xt=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 ae(e,t){var r=ht(Ye++,7);return zi(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function vt(e,t){return xt=8,ae(function(){return e},t)}function Dt(e){var t=K.context[e.__c],r=ht(Ye++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(K)),t.props.value):e.__}function Hr(e,t){D.useDebugValue&&D.useDebugValue(t?t(e):e)}function hu(e){var t=ht(Ye++,10),r=be();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 ta(){var e=ht(Ye++,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 mu(){for(var e;e=Zs.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Or),e.__H.__h.forEach(ri),e.__H.__h=[]}catch(t){e.__H.__h=[],D.__e(t,e.__v)}}D.__b=function(e){K=null,Fo&&Fo(e)},D.__r=function(e){Do&&Do(e),Ye=0;var t=(K=e.__c).__H;t&&(Mn===K?(t.__h=[],K.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=Nr,r.__N=r.i=void 0})):(t.__h.forEach(Or),t.__h.forEach(ri),t.__h=[],Ye=0)),Mn=K},D.diffed=function(e){Mo&&Mo(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Zs.push(t)!==1&&Bo===D.requestAnimationFrame||((Bo=D.requestAnimationFrame)||gu)(mu)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==Nr&&(r.__=r.__V),r.i=void 0,r.__V=Nr})),Mn=K=null},D.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Or),r.__h=r.__h.filter(function(n){return!n.__||ri(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],D.__e(n,r.__v)}}),No&&No(e,t)},D.unmount=function(e){Oo&&Oo(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&&D.__e(t,r.__v))};var Lo=typeof requestAnimationFrame=="function";function gu(e){var t,r=function(){clearTimeout(n),Lo&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);Lo&&(t=requestAnimationFrame(r))}function Or(e){var t=K,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),K=t}function ri(e){var t=K;e.__c=e.__(),K=t}function zi(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function ra(e,t){return typeof t=="function"?t(e):t}function na(e,t){for(var r in t)e[r]=t[r];return e}function ni(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 Wr(e){this.props=e}function ia(e,t){function r(i){var o=this.props.ref,s=o==i.ref;return!s&&o&&(o.call?o(null):o.current=null),t?!t(this.props,i)||!s:ni(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}(Wr.prototype=new Ie).isPureReactComponent=!0,Wr.prototype.shouldComponentUpdate=function(e,t){return ni(this.props,e)||ni(this.state,t)};var $o=D.__b;D.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),$o&&$o(e)};var yu=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ui(e){function t(r){var n=na({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=yu,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var zo=function(e,t){return e==null?null:Ke(Ke(e).map(t))},oa={map:zo,forEach:zo,count:function(e){return e?Ke(e).length:0},only:function(e){var t=Ke(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Ke},wu=D.__e;D.__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)}wu(e,t,r,n)};var Uo=D.unmount;function sa(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=na({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return sa(n,t,r)})),e}function aa(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return aa(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 ca(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ua(e){var t,r,n;function i(o){if(t||(t=e()).then(function(s){r=s.default||s},function(s){n=s}),n)throw n;if(!r)throw t;return X(r,o)}return i.displayName="Lazy",i.__f=!0,i}function _t(){this.u=null,this.o=null}D.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Uo&&Uo(e)},(Vt.prototype=new Ie).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var i=ca(n.__v),o=!1,s=function(){o||(o=!0,r.__R=null,i?i(a):a())};r.__R=s;var a=function(){if(!--n.__u){if(n.state.__a){var u=n.state.__a;n.__v.__k[0]=aa(u,u.__c.__P,u.__c.__O)}var m;for(n.setState({__a:n.__b=null});m=n.t.pop();)m.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(s,s)},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]=sa(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&X(_e,null,e.fallback);return i&&(i.__u&=-33),[X(_e,null,t.__a?null:e.children),i]};var jo=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 bu(e){return this.getChildContext=function(){return e.context},e.children}function vu(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(bu,{context:t.context},e.__v),t.l)}function la(e,t){var r=X(vu,{__v:e,i:t});return r.containerInfo=t,r}(_t.prototype=new Ie).__a=function(e){var t=this,r=ca(t.__v),n=t.o.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),jo(t,e,n)):i()};r?r(o):o()}},_t.prototype.render=function(e){this.u=null,this.o=new Map;var t=Ke(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.o.set(t[r],this.u=[1,0,this.u]);return e.children},_t.prototype.componentDidUpdate=_t.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,r){jo(e,r,t)})};var da=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,_u=/^(?: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]/,Su=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Cu=/[A-Z0-9]/g,Eu=typeof document!="undefined",ku=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function fa(e,t,r){return t.__k==null&&(t.textContent=""),et(e,t),typeof r=="function"&&r(),e?e.__c:null}function pa(e,t,r){return Oi(e,t),typeof r=="function"&&r(),e?e.__c:null}Ie.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Ie.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Ho=D.event;function Au(){}function xu(){return this.cancelBubble}function Tu(){return this.defaultPrevented}D.event=function(e){return Ho&&(e=Ho(e)),e.persist=Au,e.isPropagationStopped=xu,e.isDefaultPrevented=Tu,e.nativeEvent=e};var ji,Ru={enumerable:!1,configurable:!0,get:function(){return this.class}},Wo=D.vnode;D.vnode=function(e){typeof e.type=="string"&&function(t){var r=t.props,n=t.type,i={};for(var o in r){var s=r[o];if(!(o==="value"&&"defaultValue"in r&&s==null||Eu&&o==="children"&&n==="noscript"||o==="class"||o==="className")){var a=o.toLowerCase();o==="defaultValue"&&"value"in r&&r.value==null?o="value":o==="download"&&s===!0?s="":a==="ondoubleclick"?o="ondblclick":a!=="onchange"||n!=="input"&&n!=="textarea"||ku(r.type)?a==="onfocus"?o="onfocusin":a==="onblur"?o="onfocusout":Su.test(o)?o=a:n.indexOf("-")===-1&&_u.test(o)?o=o.replace(Cu,"-$&").toLowerCase():s===null&&(s=void 0):a=o="oninput",a==="oninput"&&i[o=a]&&(o="oninputCapture"),i[o]=s}}n=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=Ke(r.children).forEach(function(u){u.props.selected=i.value.indexOf(u.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=Ke(r.children).forEach(function(u){u.props.selected=i.multiple?i.defaultValue.indexOf(u.props.value)!=-1:i.defaultValue==u.props.value})),r.class&&!r.className?(i.class=r.class,Object.defineProperty(i,"className",Ru)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=da,Wo&&Wo(e)};var qo=D.__r;D.__r=function(e){qo&&qo(e),ji=e.__c};var Vo=D.diffed;D.diffed=function(e){Vo&&Vo(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),ji=null};var ha={ReactCurrentDispatcher:{current:{readContext:function(e){return ji.__n[e.__c].props.value}}}},Pu="17.0.2";function ma(e){return X.bind(null,e)}function pr(e){return!!e&&e.$$typeof===da}function ga(e){return pr(e)&&e.type===_e}function ya(e){return pr(e)?Li.apply(null,arguments):e}function wa(e){return!!e.__k&&(et(null,e),!0)}function ba(e){return e&&(e.base||e.nodeType===1&&e)||null}var va=function(e,t){return e(t)},_a=function(e,t){return e(t)},Sa=_e;function Hi(e){e()}function Ca(e){return e}function Ea(){return[!1,Hi]}var ka=mt,Aa=pr;function xa(e,t){var r=t(),n=be({h:{__:r,v:t}}),i=n[0].h,o=n[1];return mt(function(){i.__=r,i.v=t,Nn(i)&&o({h:i})},[e,r,t]),te(function(){return Nn(i)&&o({h:i}),e(function(){Nn(i)&&o({h:i})})},[e]),r}function Nn(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(s){return!0}}var Ta={useState:be,useId:ta,useReducer:$i,useEffect:te,useLayoutEffect:mt,useInsertionEffect:ka,useTransition:Ea,useDeferredValue:Ca,useSyncExternalStore:xa,startTransition:Hi,useRef:Ae,useImperativeHandle:ea,useMemo:ae,useCallback:vt,useContext:Dt,useDebugValue:Hr,version:"17.0.2",Children:oa,render:fa,hydrate:pa,unmountComponentAtNode:wa,createPortal:la,createElement:X,createContext:nn,createFactory:ma,cloneElement:ya,createRef:rn,Fragment:_e,isValidElement:pr,isElement:Aa,isFragment:ga,findDOMNode:ba,Component:Ie,PureComponent:Wr,memo:ia,forwardRef:Ui,flushSync:_a,unstable_batchedUpdates:va,StrictMode:Sa,Suspense:Vt,SuspenseList:_t,lazy:ua,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ha};const Zt=Object.freeze(Object.defineProperty({__proto__:null,Children:oa,Component:Ie,Fragment:_e,PureComponent:Wr,StrictMode:Sa,Suspense:Vt,SuspenseList:_t,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ha,cloneElement:ya,createContext:nn,createElement:X,createFactory:ma,createPortal:la,createRef:rn,default:Ta,findDOMNode:ba,flushSync:_a,forwardRef:Ui,hydrate:pa,isElement:Aa,isFragment:ga,isValidElement:pr,lazy:ua,memo:ia,render:fa,startTransition:Hi,unmountComponentAtNode:wa,unstable_batchedUpdates:va,useCallback:vt,useContext:Dt,useDebugValue:Hr,useDeferredValue:Ca,useEffect:te,useErrorBoundary:hu,useId:ta,useImperativeHandle:ea,useInsertionEffect:ka,useLayoutEffect:mt,useMemo:ae,useReducer:$i,useRef:Ae,useState:be,useSyncExternalStore:xa,useTransition:Ea,version:Pu},Symbol.toStringTag,{value:"Module"}));function Ra(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Iu=/^((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)-.*))$/,Bu=Ra(function(e){return Iu.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Fu(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 Du(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 Mu=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(Du(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Fu(i);try{o.insertRule(n,o.cssRules.length)}catch(s){}}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}(),de="-ms-",qr="-moz-",H="-webkit-",Pa="comm",Wi="rule",qi="decl",Nu="@import",Ia="@keyframes",Ou="@layer",Lu=Math.abs,on=String.fromCharCode,$u=Object.assign;function zu(e,t){return ce(e,0)^45?(((t<<2^ce(e,0))<<2^ce(e,1))<<2^ce(e,2))<<2^ce(e,3):0}function Ba(e){return e.trim()}function Uu(e,t){return(e=t.exec(e))?e[0]:e}function W(e,t,r){return e.replace(t,r)}function ii(e,t){return e.indexOf(t)}function ce(e,t){return e.charCodeAt(t)|0}function er(e,t,r){return e.slice(t,r)}function Le(e){return e.length}function Vi(e){return e.length}function xr(e,t){return t.push(e),e}function ju(e,t){return e.map(t).join("")}var sn=1,Tt=1,Fa=0,me=0,ee=0,Mt="";function an(e,t,r,n,i,o,s){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:sn,column:Tt,length:s,return:""}}function $t(e,t){return $u(an("",null,null,"",null,null,0),e,{length:-e.length},t)}function Hu(){return ee}function Wu(){return ee=me>0?ce(Mt,--me):0,Tt--,ee===10&&(Tt=1,sn--),ee}function ve(){return ee=me<Fa?ce(Mt,me++):0,Tt++,ee===10&&(Tt=1,sn++),ee}function ze(){return ce(Mt,me)}function Lr(){return me}function hr(e,t){return er(Mt,e,t)}function tr(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 Da(e){return sn=Tt=1,Fa=Le(Mt=e),me=0,[]}function Ma(e){return Mt="",e}function $r(e){return Ba(hr(me-1,oi(e===91?e+2:e===40?e+1:e)))}function qu(e){for(;(ee=ze())&&ee<33;)ve();return tr(e)>2||tr(ee)>3?"":" "}function Vu(e,t){for(;--t&&ve()&&!(ee<48||ee>102||ee>57&&ee<65||ee>70&&ee<97););return hr(e,Lr()+(t<6&&ze()==32&&ve()==32))}function oi(e){for(;ve();)switch(ee){case e:return me;case 34:case 39:e!==34&&e!==39&&oi(ee);break;case 40:e===41&&oi(e);break;case 92:ve();break}return me}function Qu(e,t){for(;ve()&&e+ee!==57;)if(e+ee===84&&ze()===47)break;return"/*"+hr(t,me-1)+"*"+on(e===47?e:ve())}function Ku(e){for(;!tr(ze());)ve();return hr(e,me)}function Ju(e){return Ma(zr("",null,null,null,[""],e=Da(e),0,[0],e))}function zr(e,t,r,n,i,o,s,a,u){for(var m=0,g=0,h=s,d=0,c=0,l=0,f=1,p=1,w=1,v=0,y="",b=i,S=o,E=n,C=y;p;)switch(l=v,v=ve()){case 40:if(l!=108&&ce(C,h-1)==58){ii(C+=W($r(v),"&","&\f"),"&\f")!=-1&&(w=-1);break}case 34:case 39:case 91:C+=$r(v);break;case 9:case 10:case 13:case 32:C+=qu(l);break;case 92:C+=Vu(Lr()-1,7);continue;case 47:switch(ze()){case 42:case 47:xr(Yu(Qu(ve(),Lr()),t,r),u);break;default:C+="/"}break;case 123*f:a[m++]=Le(C)*w;case 125*f:case 59:case 0:switch(v){case 0:case 125:p=0;case 59+g:w==-1&&(C=W(C,/\f/g,"")),c>0&&Le(C)-h&&xr(c>32?Ko(C+";",n,r,h-1):Ko(W(C," ","")+";",n,r,h-2),u);break;case 59:C+=";";default:if(xr(E=Qo(C,t,r,m,g,i,a,y,b=[],S=[],h),o),v===123)if(g===0)zr(C,t,E,E,b,o,h,a,S);else switch(d===99&&ce(C,3)===110?100:d){case 100:case 108:case 109:case 115:zr(e,E,E,n&&xr(Qo(e,E,E,0,0,i,a,y,i,b=[],h),S),i,S,h,a,n?b:S);break;default:zr(C,E,E,E,[""],S,0,a,S)}}m=g=c=0,f=w=1,y=C="",h=s;break;case 58:h=1+Le(C),c=l;default:if(f<1){if(v==123)--f;else if(v==125&&f++==0&&Wu()==125)continue}switch(C+=on(v),v*f){case 38:w=g>0?1:(C+="\f",-1);break;case 44:a[m++]=(Le(C)-1)*w,w=1;break;case 64:ze()===45&&(C+=$r(ve())),d=ze(),g=h=Le(y=C+=Ku(Lr())),v++;break;case 45:l===45&&Le(C)==2&&(f=0)}}return o}function Qo(e,t,r,n,i,o,s,a,u,m,g){for(var h=i-1,d=i===0?o:[""],c=Vi(d),l=0,f=0,p=0;l<n;++l)for(var w=0,v=er(e,h+1,h=Lu(f=s[l])),y=e;w<c;++w)(y=Ba(f>0?d[w]+" "+v:W(v,/&\f/g,d[w])))&&(u[p++]=y);return an(e,t,r,i===0?Wi:a,u,m,g)}function Yu(e,t,r){return an(e,t,r,Pa,on(Hu()),er(e,2,-2),0)}function Ko(e,t,r,n){return an(e,t,r,qi,er(e,0,n),er(e,n+1,-1),n)}function Ct(e,t){for(var r="",n=Vi(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function Gu(e,t,r,n){switch(e.type){case Ou:if(e.children.length)break;case Nu:case qi:return e.return=e.return||e.value;case Pa:return"";case Ia:return e.return=e.value+"{"+Ct(e.children,n)+"}";case Wi:e.value=e.props.join(",")}return Le(r=Ct(e.children,n))?e.return=e.value+"{"+r+"}":""}function Xu(e){var t=Vi(e);return function(r,n,i,o){for(var s="",a=0;a<t;a++)s+=e[a](r,n,i,o)||"";return s}}function Zu(e){return function(t){t.root||(t=t.return)&&e(t)}}var el=function(t,r,n){for(var i=0,o=0;i=o,o=ze(),i===38&&o===12&&(r[n]=1),!tr(o);)ve();return hr(t,me)},tl=function(t,r){var n=-1,i=44;do switch(tr(i)){case 0:i===38&&ze()===12&&(r[n]=1),t[n]+=el(me-1,r,n);break;case 2:t[n]+=$r(i);break;case 4:if(i===44){t[++n]=ze()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=on(i)}while(i=ve());return t},rl=function(t,r){return Ma(tl(Da(t),r))},Jo=new WeakMap,nl=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&&!Jo.get(n))&&!i){Jo.set(t,!0);for(var o=[],s=rl(r,o),a=n.props,u=0,m=0;u<s.length;u++)for(var g=0;g<a.length;g++,m++)t.props[m]=o[u]?s[u].replace(/&\f/g,a[g]):a[g]+" "+s[u]}}},il=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Na(e,t){switch(zu(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+qr+e+de+e+e;case 6828:case 4268:return H+e+de+e+e;case 6165:return H+e+de+"flex-"+e+e;case 5187:return H+e+W(e,/(\w+).+(:[^]+)/,H+"box-$1$2"+de+"flex-$1$2")+e;case 5443:return H+e+de+"flex-item-"+W(e,/flex-|-self/,"")+e;case 4675:return H+e+de+"flex-line-pack"+W(e,/align-content|flex-|-self/,"")+e;case 5548:return H+e+de+W(e,"shrink","negative")+e;case 5292:return H+e+de+W(e,"basis","preferred-size")+e;case 6060:return H+"box-"+W(e,"-grow","")+H+e+de+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"+de+"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(ce(e,t+1)){case 109:if(ce(e,t+4)!==45)break;case 102:return W(e,/(.+:)(.+)-([^]+)/,"$1"+H+"$2-$3$1"+qr+(ce(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ii(e,"stretch")?Na(W(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ce(e,t+1)!==115)break;case 6444:switch(ce(e,Le(e)-3-(~ii(e,"!important")&&10))){case 107:return W(e,":",":"+H)+e;case 101:return W(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+H+(ce(e,14)===45?"inline-":"")+"box$3$1"+H+"$2$3$1"+de+"$2box$3")+e}break;case 5936:switch(ce(e,t+11)){case 114:return H+e+de+W(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return H+e+de+W(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return H+e+de+W(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return H+e+de+e+e}return e}var ol=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case qi:t.return=Na(t.value,t.length);break;case Ia:return Ct([$t(t,{value:W(t.value,"@","@"+H)})],i);case Wi:if(t.length)return ju(t.props,function(o){switch(Uu(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ct([$t(t,{props:[W(o,/:(read-\w+)/,":"+qr+"$1")]})],i);case"::placeholder":return Ct([$t(t,{props:[W(o,/:(plac\w+)/,":"+H+"input-$1")]}),$t(t,{props:[W(o,/:(plac\w+)/,":"+qr+"$1")]}),$t(t,{props:[W(o,/:(plac\w+)/,de+"input-$1")]})],i)}return""})}},sl=[ol],Oa=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(f){var p=f.getAttribute("data-emotion");p.indexOf(" ")!==-1&&(document.head.appendChild(f),f.setAttribute("data-s",""))})}var i=t.stylisPlugins||sl,o={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(f){for(var p=f.getAttribute("data-emotion").split(" "),w=1;w<p.length;w++)o[p[w]]=!0;a.push(f)});var u,m=[nl,il];{var g,h=[Gu,Zu(function(f){g.insert(f)})],d=Xu(m.concat(i,h)),c=function(p){return Ct(Ju(p),d)};u=function(p,w,v,y){g=v,c(p?p+"{"+w.styles+"}":w.styles),y&&(l.inserted[w.name]=!0)}}var l={key:r,sheet:new Mu({key:r,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:u};return l.sheet.hydrate(a),l},al=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function cl(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 La={exports:{}},Q={};/** @license React v16.13.1
1
+ var au=Object.defineProperty,cu=Object.defineProperties;var uu=Object.getOwnPropertyDescriptors;var kr=Object.getOwnPropertySymbols;var Ao=Object.prototype.hasOwnProperty,To=Object.prototype.propertyIsEnumerable;var Fn=(e,t,r)=>t in e?au(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,I=(e,t)=>{for(var r in t||(t={}))Ao.call(t,r)&&Fn(e,r,t[r]);if(kr)for(var r of kr(t))To.call(t,r)&&Fn(e,r,t[r]);return e},$=(e,t)=>cu(e,uu(t));var ot=(e,t)=>{var r={};for(var n in e)Ao.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&&To.call(e,n)&&(r[n]=e[n]);return r};var Nn=(e,t,r)=>(Fn(e,typeof t!="symbol"?t+"":t,r),r);var pe=(e,t,r)=>new Promise((n,i)=>{var o=u=>{try{a(r.next(u))}catch(m){i(m)}},s=u=>{try{a(r.throw(u))}catch(m){i(m)}},a=u=>u.done?n(u.value):Promise.resolve(u.value).then(o,s);a((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 s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=r(i);fetch(i.href,o)}})();function Zn(){return Zn=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},Zn.apply(this,arguments)}var dr,N,Ws,ct,Ro,Vs,ei,Qs,Gt={},Ks=[],lu=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,en=Array.isArray;function Ve(e,t){for(var r in t)e[r]=t[r];return e}function Js(e){var t=e.parentNode;t&&t.removeChild(e)}function X(e,t,r){var n,i,o,s={};for(o in t)o=="key"?n=t[o]:o=="ref"?i=t[o]:s[o]=t[o];if(arguments.length>2&&(s.children=arguments.length>3?dr.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)s[o]===void 0&&(s[o]=e.defaultProps[o]);return qt(e,s,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?++Ws:i,__i:-1,__u:0};return i==null&&N.vnode!=null&&N.vnode(o),o}function tn(){return{current:null}}function _e(e){return e.children}function Pe(e,t){this.props=e,this.context=t}function Et(e,t){if(t==null)return e.__?Et(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"?Et(e):null}function Ys(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 Ys(e)}}function ti(e){(!e.__d&&(e.__d=!0)&&ct.push(e)&&!zr.__r++||Ro!==N.debounceRendering)&&((Ro=N.debounceRendering)||Vs)(zr)}function zr(){var e,t,r,n,i,o,s,a,u;for(ct.sort(ei);e=ct.shift();)e.__d&&(t=ct.length,n=void 0,o=(i=(r=e).__v).__e,a=[],u=[],(s=r.__P)&&((n=Ve({},i)).__v=i.__v+1,N.vnode&&N.vnode(n),Di(s,n,i,r.__n,s.ownerSVGElement!==void 0,32&i.__u?[o]:null,a,o==null?Et(i):o,!!(32&i.__u),u),n.__.__k[n.__i]=n,Zs(a,n,u),n.__e!=o&&Ys(n)),ct.length>t&&ct.sort(ei));zr.__r=0}function Gs(e,t,r,n,i,o,s,a,u,m,g){var h,d,c,l,f,p=n&&n.__k||Ks,w=t.length;for(r.__d=u,du(r,t,p),u=r.__d,h=0;h<w;h++)(c=r.__k[h])!=null&&typeof c!="boolean"&&typeof c!="function"&&(d=c.__i===-1?Gt:p[c.__i]||Gt,c.__i=h,Di(e,c,d,i,o,s,a,u,m,g),l=c.__e,c.ref&&d.ref!=c.ref&&(d.ref&&Oi(d.ref,null,c),g.push(c.ref,c.__c||l,c)),f==null&&l!=null&&(f=l),65536&c.__u||d.__k===c.__k?u=Xs(c,u,e):typeof c.type=="function"&&c.__d!==void 0?u=c.__d:l&&(u=l.nextSibling),c.__d=void 0,c.__u&=-196609);r.__d=u,r.__e=f}function du(e,t,r){var n,i,o,s,a,u=t.length,m=r.length,g=m,h=0;for(e.__k=[],n=0;n<u;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):en(i)?qt(_e,{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,a=fu(i,r,s=n+h,g),i.__i=a,o=null,a!==-1&&(g--,(o=r[a])&&(o.__u|=131072)),o==null||o.__v===null?(a==-1&&h--,typeof i.type!="function"&&(i.__u|=65536)):a!==s&&(a===s+1?h++:a>s?g>u-s?h+=a-s:h--:h=a<s&&a==s-1?a-s:0,a!==n+h&&(i.__u|=65536))):(o=r[n])&&o.key==null&&o.__e&&(o.__e==e.__d&&(e.__d=Et(o)),ri(o,o,!1),r[n]=null,g--);if(g)for(n=0;n<m;n++)(o=r[n])!=null&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=Et(o)),ri(o,o))}function Xs(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=Xs(n[i],t,r));return t}return e.__e!=t&&(r.insertBefore(e.__e,t||null),t=e.__e),t&&t.nextSibling}function Qe(e,t){return t=t||[],e==null||typeof e=="boolean"||(en(e)?e.some(function(r){Qe(r,t)}):t.push(e)),t}function fu(e,t,r,n){var i=e.key,o=e.type,s=r-1,a=r+1,u=t[r];if(u===null||u&&i==u.key&&o===u.type)return r;if(n>(u!=null&&!(131072&u.__u)?1:0))for(;s>=0||a<t.length;){if(s>=0){if((u=t[s])&&!(131072&u.__u)&&i==u.key&&o===u.type)return s;s--}if(a<t.length){if((u=t[a])&&!(131072&u.__u)&&i==u.key&&o===u.type)return a;a++}}return-1}function Po(e,t,r){t[0]==="-"?e.setProperty(t,r==null?"":r):e[t]=r==null?"":typeof r!="number"||lu.test(t)?r:r+"px"}function Er(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||Po(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||Po(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?Mo:Io,o)):e.removeEventListener(t,o?Mo:Io,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(s){}typeof r=="function"||(r==null||r===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,r))}}function Io(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(N.event?N.event(e):e)}function Mo(e){return this.l[e.type+!0](N.event?N.event(e):e)}function Di(e,t,r,n,i,o,s,a,u,m){var g,h,d,c,l,f,p,w,v,y,b,S,k,C,E,x=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(u=!!(32&r.__u),o=[a=t.__e=r.__e]),(g=N.__b)&&g(t);e:if(typeof x=="function")try{if(w=t.props,v=(g=x.contextType)&&n[g.__c],y=g?v?v.props.value:g.__:n,r.__c?p=(h=t.__c=r.__c).__=h.__E:("prototype"in x&&x.prototype.render?t.__c=h=new x(w,y):(t.__c=h=new Pe(w,y),h.constructor=x,h.render=hu),v&&v.sub(h),h.props=w,h.state||(h.state={}),h.context=y,h.__n=n,d=h.__d=!0,h.__h=[],h._sb=[]),h.__s==null&&(h.__s=h.state),x.getDerivedStateFromProps!=null&&(h.__s==h.state&&(h.__s=Ve({},h.__s)),Ve(h.__s,x.getDerivedStateFromProps(w,h.__s))),c=h.props,l=h.state,h.__v=t,d)x.getDerivedStateFromProps==null&&h.componentWillMount!=null&&h.componentWillMount(),h.componentDidMount!=null&&h.__h.push(h.componentDidMount);else{if(x.getDerivedStateFromProps==null&&w!==c&&h.componentWillReceiveProps!=null&&h.componentWillReceiveProps(w,y),!h.__e&&(h.shouldComponentUpdate!=null&&h.shouldComponentUpdate(w,h.__s,y)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(h.props=w,h.state=h.__s,h.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(A){A&&(A.__=t)}),b=0;b<h._sb.length;b++)h.__h.push(h._sb[b]);h._sb=[],h.__h.length&&s.push(h);break e}h.componentWillUpdate!=null&&h.componentWillUpdate(w,h.__s,y),h.componentDidUpdate!=null&&h.__h.push(function(){h.componentDidUpdate(c,l,f)})}if(h.context=y,h.props=w,h.__P=e,h.__e=!1,S=N.__r,k=0,"prototype"in x&&x.prototype.render){for(h.state=h.__s,h.__d=!1,S&&S(t),g=h.render(h.props,h.state,h.context),C=0;C<h._sb.length;C++)h.__h.push(h._sb[C]);h._sb=[]}else do h.__d=!1,S&&S(t),g=h.render(h.props,h.state,h.context),h.state=h.__s;while(h.__d&&++k<25);h.state=h.__s,h.getChildContext!=null&&(n=Ve(Ve({},n),h.getChildContext())),d||h.getSnapshotBeforeUpdate==null||(f=h.getSnapshotBeforeUpdate(c,l)),Gs(e,en(E=g!=null&&g.type===_e&&g.key==null?g.props.children:g)?E:[E],t,r,n,i,o,s,a,u,m),h.base=t.__e,t.__u&=-161,h.__h.length&&s.push(h),p&&(h.__E=h.__=null)}catch(A){t.__v=null,u||o!=null?(t.__e=a,t.__u|=u?160:32,o[o.indexOf(a)]=null):(t.__e=r.__e,t.__k=r.__k),N.__e(A,t,r)}else o==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=pu(r.__e,t,r,n,i,o,s,u,m);(g=N.diffed)&&g(t)}function Zs(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)Oi(r[n],r[++n],r[++n]);N.__c&&N.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){N.__e(o,i.__v)}})}function pu(e,t,r,n,i,o,s,a,u){var m,g,h,d,c,l,f,p=r.props,w=t.props,v=t.type;if(v==="svg"&&(i=!0),o!=null){for(m=0;m<o.length;m++)if((c=o[m])&&"setAttribute"in c==!!v&&(v?c.localName===v:c.nodeType===3)){e=c,o[m]=null;break}}if(e==null){if(v===null)return document.createTextNode(w);e=i?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,w.is&&w),o=null,a=!1}if(v===null)p===w||a&&e.data===w||(e.data=w);else{if(o=o&&dr.call(e.childNodes),p=r.props||Gt,!a&&o!=null)for(p={},m=0;m<e.attributes.length;m++)p[(c=e.attributes[m]).name]=c.value;for(m in p)c=p[m],m=="children"||(m=="dangerouslySetInnerHTML"?h=c:m==="key"||m in w||Er(e,m,null,c,i));for(m in w)c=w[m],m=="children"?d=c:m=="dangerouslySetInnerHTML"?g=c:m=="value"?l=c:m=="checked"?f=c:m==="key"||a&&typeof c!="function"||p[m]===c||Er(e,m,c,p[m],i);if(g)a||h&&(g.__html===h.__html||g.__html===e.innerHTML)||(e.innerHTML=g.__html),t.__k=[];else if(h&&(e.innerHTML=""),Gs(e,en(d)?d:[d],t,r,n,i&&v!=="foreignObject",o,s,o?o[0]:r.__k&&Et(r,0),a,u),o!=null)for(m=o.length;m--;)o[m]!=null&&Js(o[m]);a||(m="value",l!==void 0&&(l!==e[m]||v==="progress"&&!l||v==="option"&&l!==p[m])&&Er(e,m,l,p[m],!1),m="checked",f!==void 0&&f!==e[m]&&Er(e,m,f,p[m],!1))}return e}function Oi(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(n){N.__e(n,r)}}function ri(e,t,r){var n,i;if(N.unmount&&N.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||Oi(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){N.__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]&&ri(n[i],t,r||typeof e.type!="function");r||e.__e==null||Js(e.__e),e.__=e.__e=e.__d=void 0}function hu(e,t,r){return this.constructor(e,r)}function et(e,t,r){var n,i,o,s;N.__&&N.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],s=[],Di(t,e=(!n&&r||t).__k=X(_e,null,[e]),i||Gt,Gt,t.ownerSVGElement!==void 0,!n&&r?[r]:i?null:t.firstChild?dr.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,s),Zs(o,e,s)}function Li(e,t){et(e,t,Li)}function $i(e,t,r){var n,i,o,s,a=Ve({},e.props);for(o in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)o=="key"?n=t[o]:o=="ref"?i=t[o]:a[o]=t[o]===void 0&&s!==void 0?s[o]:t[o];return arguments.length>2&&(a.children=arguments.length>3?dr.call(arguments,2):r),qt(e.type,a,n||e.key,i||e.ref,null)}function rn(e,t){var r={__c:t="__cC"+Qs++,__:e,Consumer:function(n,i){return n.children(i)},Provider:function(n){var i,o;return this.getChildContext||(i=[],(o={})[t]=this,this.getChildContext=function(){return o},this.shouldComponentUpdate=function(s){this.props.value!==s.value&&i.some(function(a){a.__e=!0,ti(a)})},this.sub=function(s){i.push(s);var a=s.componentWillUnmount;s.componentWillUnmount=function(){i.splice(i.indexOf(s),1),a&&a.call(s)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}dr=Ks.slice,N={__e:function(e,t,r,n){for(var i,o,s;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&o.getDerivedStateFromError!=null&&(i.setState(o.getDerivedStateFromError(e)),s=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,n||{}),s=i.__d),s)return i.__E=i}catch(a){e=a}throw e}},Ws=0,Pe.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ve({},this.state),typeof e=="function"&&(e=e(Ve({},r),this.props)),e&&Ve(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),ti(this))},Pe.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),ti(this))},Pe.prototype.render=_e,ct=[],Vs=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ei=function(e,t){return e.__v.__b-t.__v.__b},zr.__r=0,Qs=0;var Je,K,Bn,Fo,xt=0,ea=[],Br=[],No=N.__b,Bo=N.__r,Do=N.diffed,Oo=N.__c,Lo=N.unmount;function ht(e,t){N.__h&&N.__h(K,e,xt||t),xt=0;var r=K.__H||(K.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:Br}),r.__[e]}function be(e){return xt=1,Ui(na,e)}function Ui(e,t,r){var n=ht(Je++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):na(void 0,t),function(a){var u=n.__N?n.__N[0]:n.__[0],m=n.t(u,a);u!==m&&(n.__N=[m,n.__[1]],n.__c.setState({}))}],n.__c=K,!K.u)){var i=function(a,u,m){if(!n.__c.__H)return!0;var g=n.__c.__H.__.filter(function(d){return d.__c});if(g.every(function(d){return!d.__N}))return!o||o.call(this,a,u,m);var h=!1;return g.forEach(function(d){if(d.__N){var c=d.__[0];d.__=d.__N,d.__N=void 0,c!==d.__[0]&&(h=!0)}}),!(!h&&n.__c.props===a)&&(!o||o.call(this,a,u,m))};K.u=!0;var o=K.shouldComponentUpdate,s=K.componentWillUpdate;K.componentWillUpdate=function(a,u,m){if(this.__e){var g=o;o=void 0,i(a,u,m),o=g}s&&s.call(this,a,u,m)},K.shouldComponentUpdate=i}return n.__N||n.__}function te(e,t){var r=ht(Je++,3);!N.__s&&zi(r.__H,t)&&(r.__=e,r.i=t,K.__H.__h.push(r))}function mt(e,t){var r=ht(Je++,4);!N.__s&&zi(r.__H,t)&&(r.__=e,r.i=t,K.__h.push(r))}function xe(e){return xt=5,ae(function(){return{current:e}},[])}function ta(e,t,r){xt=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 ae(e,t){var r=ht(Je++,7);return zi(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function bt(e,t){return xt=8,ae(function(){return e},t)}function Ft(e){var t=K.context[e.__c],r=ht(Je++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(K)),t.props.value):e.__}function jr(e,t){N.useDebugValue&&N.useDebugValue(t?t(e):e)}function mu(e){var t=ht(Je++,10),r=be();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 ra(){var e=ht(Je++,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 gu(){for(var e;e=ea.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Dr),e.__H.__h.forEach(ni),e.__H.__h=[]}catch(t){e.__H.__h=[],N.__e(t,e.__v)}}N.__b=function(e){K=null,No&&No(e)},N.__r=function(e){Bo&&Bo(e),Je=0;var t=(K=e.__c).__H;t&&(Bn===K?(t.__h=[],K.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=Br,r.__N=r.i=void 0})):(t.__h.forEach(Dr),t.__h.forEach(ni),t.__h=[],Je=0)),Bn=K},N.diffed=function(e){Do&&Do(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(ea.push(t)!==1&&Fo===N.requestAnimationFrame||((Fo=N.requestAnimationFrame)||yu)(gu)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==Br&&(r.__=r.__V),r.i=void 0,r.__V=Br})),Bn=K=null},N.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Dr),r.__h=r.__h.filter(function(n){return!n.__||ni(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],N.__e(n,r.__v)}}),Oo&&Oo(e,t)},N.unmount=function(e){Lo&&Lo(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{Dr(n)}catch(i){t=i}}),r.__H=void 0,t&&N.__e(t,r.__v))};var $o=typeof requestAnimationFrame=="function";function yu(e){var t,r=function(){clearTimeout(n),$o&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);$o&&(t=requestAnimationFrame(r))}function Dr(e){var t=K,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),K=t}function ni(e){var t=K;e.__c=e.__(),K=t}function zi(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function na(e,t){return typeof t=="function"?t(e):t}function ia(e,t){for(var r in t)e[r]=t[r];return e}function ii(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 Hr(e){this.props=e}function oa(e,t){function r(i){var o=this.props.ref,s=o==i.ref;return!s&&o&&(o.call?o(null):o.current=null),t?!t(this.props,i)||!s:ii(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}(Hr.prototype=new Pe).isPureReactComponent=!0,Hr.prototype.shouldComponentUpdate=function(e,t){return ii(this.props,e)||ii(this.state,t)};var Uo=N.__b;N.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Uo&&Uo(e)};var wu=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ji(e){function t(r){var n=ia({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=wu,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var zo=function(e,t){return e==null?null:Qe(Qe(e).map(t))},sa={map:zo,forEach:zo,count:function(e){return e?Qe(e).length:0},only:function(e){var t=Qe(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Qe},bu=N.__e;N.__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)}bu(e,t,r,n)};var jo=N.unmount;function aa(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=ia({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return aa(n,t,r)})),e}function ca(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return ca(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 Wt(){this.__u=0,this.t=null,this.__b=null}function ua(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function la(e){var t,r,n;function i(o){if(t||(t=e()).then(function(s){r=s.default||s},function(s){n=s}),n)throw n;if(!r)throw t;return X(r,o)}return i.displayName="Lazy",i.__f=!0,i}function vt(){this.u=null,this.o=null}N.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),jo&&jo(e)},(Wt.prototype=new Pe).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var i=ua(n.__v),o=!1,s=function(){o||(o=!0,r.__R=null,i?i(a):a())};r.__R=s;var a=function(){if(!--n.__u){if(n.state.__a){var u=n.state.__a;n.__v.__k[0]=ca(u,u.__c.__P,u.__c.__O)}var m;for(n.setState({__a:n.__b=null});m=n.t.pop();)m.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(s,s)},Wt.prototype.componentWillUnmount=function(){this.t=[]},Wt.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]=aa(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&X(_e,null,e.fallback);return i&&(i.__u&=-33),[X(_e,null,t.__a?null:e.children),i]};var Ho=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 vu(e){return this.getChildContext=function(){return e.context},e.children}function _u(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(vu,{context:t.context},e.__v),t.l)}function da(e,t){var r=X(_u,{__v:e,i:t});return r.containerInfo=t,r}(vt.prototype=new Pe).__a=function(e){var t=this,r=ua(t.__v),n=t.o.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),Ho(t,e,n)):i()};r?r(o):o()}},vt.prototype.render=function(e){this.u=null,this.o=new Map;var t=Qe(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},vt.prototype.componentDidUpdate=vt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,r){Ho(e,r,t)})};var fa=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,Su=/^(?: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]/,Cu=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ku=/[A-Z0-9]/g,Eu=typeof document!="undefined",xu=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function pa(e,t,r){return t.__k==null&&(t.textContent=""),et(e,t),typeof r=="function"&&r(),e?e.__c:null}function ha(e,t,r){return Li(e,t),typeof r=="function"&&r(),e?e.__c:null}Pe.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Pe.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var qo=N.event;function Au(){}function Tu(){return this.cancelBubble}function Ru(){return this.defaultPrevented}N.event=function(e){return qo&&(e=qo(e)),e.persist=Au,e.isPropagationStopped=Tu,e.isDefaultPrevented=Ru,e.nativeEvent=e};var Hi,Pu={enumerable:!1,configurable:!0,get:function(){return this.class}},Wo=N.vnode;N.vnode=function(e){typeof e.type=="string"&&function(t){var r=t.props,n=t.type,i={};for(var o in r){var s=r[o];if(!(o==="value"&&"defaultValue"in r&&s==null||Eu&&o==="children"&&n==="noscript"||o==="class"||o==="className")){var a=o.toLowerCase();o==="defaultValue"&&"value"in r&&r.value==null?o="value":o==="download"&&s===!0?s="":a==="ondoubleclick"?o="ondblclick":a!=="onchange"||n!=="input"&&n!=="textarea"||xu(r.type)?a==="onfocus"?o="onfocusin":a==="onblur"?o="onfocusout":Cu.test(o)?o=a:n.indexOf("-")===-1&&Su.test(o)?o=o.replace(ku,"-$&").toLowerCase():s===null&&(s=void 0):a=o="oninput",a==="oninput"&&i[o=a]&&(o="oninputCapture"),i[o]=s}}n=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=Qe(r.children).forEach(function(u){u.props.selected=i.value.indexOf(u.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=Qe(r.children).forEach(function(u){u.props.selected=i.multiple?i.defaultValue.indexOf(u.props.value)!=-1:i.defaultValue==u.props.value})),r.class&&!r.className?(i.class=r.class,Object.defineProperty(i,"className",Pu)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=fa,Wo&&Wo(e)};var Vo=N.__r;N.__r=function(e){Vo&&Vo(e),Hi=e.__c};var Qo=N.diffed;N.diffed=function(e){Qo&&Qo(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),Hi=null};var ma={ReactCurrentDispatcher:{current:{readContext:function(e){return Hi.__n[e.__c].props.value}}}},Iu="17.0.2";function ga(e){return X.bind(null,e)}function fr(e){return!!e&&e.$$typeof===fa}function ya(e){return fr(e)&&e.type===_e}function wa(e){return fr(e)?$i.apply(null,arguments):e}function ba(e){return!!e.__k&&(et(null,e),!0)}function va(e){return e&&(e.base||e.nodeType===1&&e)||null}var _a=function(e,t){return e(t)},Sa=function(e,t){return e(t)},Ca=_e;function qi(e){e()}function ka(e){return e}function Ea(){return[!1,qi]}var xa=mt,Aa=fr;function Ta(e,t){var r=t(),n=be({h:{__:r,v:t}}),i=n[0].h,o=n[1];return mt(function(){i.__=r,i.v=t,Dn(i)&&o({h:i})},[e,r,t]),te(function(){return Dn(i)&&o({h:i}),e(function(){Dn(i)&&o({h:i})})},[e]),r}function Dn(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(s){return!0}}var Ra={useState:be,useId:ra,useReducer:Ui,useEffect:te,useLayoutEffect:mt,useInsertionEffect:xa,useTransition:Ea,useDeferredValue:ka,useSyncExternalStore:Ta,startTransition:qi,useRef:xe,useImperativeHandle:ta,useMemo:ae,useCallback:bt,useContext:Ft,useDebugValue:jr,version:"17.0.2",Children:sa,render:pa,hydrate:ha,unmountComponentAtNode:ba,createPortal:da,createElement:X,createContext:rn,createFactory:ga,cloneElement:wa,createRef:tn,Fragment:_e,isValidElement:fr,isElement:Aa,isFragment:ya,findDOMNode:va,Component:Pe,PureComponent:Hr,memo:oa,forwardRef:ji,flushSync:Sa,unstable_batchedUpdates:_a,StrictMode:Ca,Suspense:Wt,SuspenseList:vt,lazy:la,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ma};const Xt=Object.freeze(Object.defineProperty({__proto__:null,Children:sa,Component:Pe,Fragment:_e,PureComponent:Hr,StrictMode:Ca,Suspense:Wt,SuspenseList:vt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ma,cloneElement:wa,createContext:rn,createElement:X,createFactory:ga,createPortal:da,createRef:tn,default:Ra,findDOMNode:va,flushSync:Sa,forwardRef:ji,hydrate:ha,isElement:Aa,isFragment:ya,isValidElement:fr,lazy:la,memo:oa,render:pa,startTransition:qi,unmountComponentAtNode:ba,unstable_batchedUpdates:_a,useCallback:bt,useContext:Ft,useDebugValue:jr,useDeferredValue:ka,useEffect:te,useErrorBoundary:mu,useId:ra,useImperativeHandle:ta,useInsertionEffect:xa,useLayoutEffect:mt,useMemo:ae,useReducer:Ui,useRef:xe,useState:be,useSyncExternalStore:Ta,useTransition:Ea,version:Iu},Symbol.toStringTag,{value:"Module"}));function Pa(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Mu=/^((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)-.*))$/,Fu=Pa(function(e){return Mu.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Nu(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 Bu(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 Du=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(Bu(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Nu(i);try{o.insertRule(n,o.cssRules.length)}catch(s){}}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}(),de="-ms-",qr="-moz-",H="-webkit-",Ia="comm",Wi="rule",Vi="decl",Ou="@import",Ma="@keyframes",Lu="@layer",$u=Math.abs,nn=String.fromCharCode,Uu=Object.assign;function zu(e,t){return ce(e,0)^45?(((t<<2^ce(e,0))<<2^ce(e,1))<<2^ce(e,2))<<2^ce(e,3):0}function Fa(e){return e.trim()}function ju(e,t){return(e=t.exec(e))?e[0]:e}function q(e,t,r){return e.replace(t,r)}function oi(e,t){return e.indexOf(t)}function ce(e,t){return e.charCodeAt(t)|0}function Zt(e,t,r){return e.slice(t,r)}function Be(e){return e.length}function Qi(e){return e.length}function xr(e,t){return t.push(e),e}function Hu(e,t){return e.map(t).join("")}var on=1,At=1,Na=0,me=0,ee=0,Nt="";function sn(e,t,r,n,i,o,s){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:on,column:At,length:s,return:""}}function Lt(e,t){return Uu(sn("",null,null,"",null,null,0),e,{length:-e.length},t)}function qu(){return ee}function Wu(){return ee=me>0?ce(Nt,--me):0,At--,ee===10&&(At=1,on--),ee}function ve(){return ee=me<Na?ce(Nt,me++):0,At++,ee===10&&(At=1,on++),ee}function Oe(){return ce(Nt,me)}function Or(){return me}function pr(e,t){return Zt(Nt,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 Ba(e){return on=At=1,Na=Be(Nt=e),me=0,[]}function Da(e){return Nt="",e}function Lr(e){return Fa(pr(me-1,si(e===91?e+2:e===40?e+1:e)))}function Vu(e){for(;(ee=Oe())&&ee<33;)ve();return er(e)>2||er(ee)>3?"":" "}function Qu(e,t){for(;--t&&ve()&&!(ee<48||ee>102||ee>57&&ee<65||ee>70&&ee<97););return pr(e,Or()+(t<6&&Oe()==32&&ve()==32))}function si(e){for(;ve();)switch(ee){case e:return me;case 34:case 39:e!==34&&e!==39&&si(ee);break;case 40:e===41&&si(e);break;case 92:ve();break}return me}function Ku(e,t){for(;ve()&&e+ee!==57;)if(e+ee===84&&Oe()===47)break;return"/*"+pr(t,me-1)+"*"+nn(e===47?e:ve())}function Ju(e){for(;!er(Oe());)ve();return pr(e,me)}function Yu(e){return Da($r("",null,null,null,[""],e=Ba(e),0,[0],e))}function $r(e,t,r,n,i,o,s,a,u){for(var m=0,g=0,h=s,d=0,c=0,l=0,f=1,p=1,w=1,v=0,y="",b=i,S=o,k=n,C=y;p;)switch(l=v,v=ve()){case 40:if(l!=108&&ce(C,h-1)==58){oi(C+=q(Lr(v),"&","&\f"),"&\f")!=-1&&(w=-1);break}case 34:case 39:case 91:C+=Lr(v);break;case 9:case 10:case 13:case 32:C+=Vu(l);break;case 92:C+=Qu(Or()-1,7);continue;case 47:switch(Oe()){case 42:case 47:xr(Gu(Ku(ve(),Or()),t,r),u);break;default:C+="/"}break;case 123*f:a[m++]=Be(C)*w;case 125*f:case 59:case 0:switch(v){case 0:case 125:p=0;case 59+g:w==-1&&(C=q(C,/\f/g,"")),c>0&&Be(C)-h&&xr(c>32?Jo(C+";",n,r,h-1):Jo(q(C," ","")+";",n,r,h-2),u);break;case 59:C+=";";default:if(xr(k=Ko(C,t,r,m,g,i,a,y,b=[],S=[],h),o),v===123)if(g===0)$r(C,t,k,k,b,o,h,a,S);else switch(d===99&&ce(C,3)===110?100:d){case 100:case 108:case 109:case 115:$r(e,k,k,n&&xr(Ko(e,k,k,0,0,i,a,y,i,b=[],h),S),i,S,h,a,n?b:S);break;default:$r(C,k,k,k,[""],S,0,a,S)}}m=g=c=0,f=w=1,y=C="",h=s;break;case 58:h=1+Be(C),c=l;default:if(f<1){if(v==123)--f;else if(v==125&&f++==0&&Wu()==125)continue}switch(C+=nn(v),v*f){case 38:w=g>0?1:(C+="\f",-1);break;case 44:a[m++]=(Be(C)-1)*w,w=1;break;case 64:Oe()===45&&(C+=Lr(ve())),d=Oe(),g=h=Be(y=C+=Ju(Or())),v++;break;case 45:l===45&&Be(C)==2&&(f=0)}}return o}function Ko(e,t,r,n,i,o,s,a,u,m,g){for(var h=i-1,d=i===0?o:[""],c=Qi(d),l=0,f=0,p=0;l<n;++l)for(var w=0,v=Zt(e,h+1,h=$u(f=s[l])),y=e;w<c;++w)(y=Fa(f>0?d[w]+" "+v:q(v,/&\f/g,d[w])))&&(u[p++]=y);return sn(e,t,r,i===0?Wi:a,u,m,g)}function Gu(e,t,r){return sn(e,t,r,Ia,nn(qu()),Zt(e,2,-2),0)}function Jo(e,t,r,n){return sn(e,t,r,Vi,Zt(e,0,n),Zt(e,n+1,-1),n)}function St(e,t){for(var r="",n=Qi(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function Xu(e,t,r,n){switch(e.type){case Lu:if(e.children.length)break;case Ou:case Vi:return e.return=e.return||e.value;case Ia:return"";case Ma:return e.return=e.value+"{"+St(e.children,n)+"}";case Wi:e.value=e.props.join(",")}return Be(r=St(e.children,n))?e.return=e.value+"{"+r+"}":""}function Zu(e){var t=Qi(e);return function(r,n,i,o){for(var s="",a=0;a<t;a++)s+=e[a](r,n,i,o)||"";return s}}function el(e){return function(t){t.root||(t=t.return)&&e(t)}}var tl=function(t,r,n){for(var i=0,o=0;i=o,o=Oe(),i===38&&o===12&&(r[n]=1),!er(o);)ve();return pr(t,me)},rl=function(t,r){var n=-1,i=44;do switch(er(i)){case 0:i===38&&Oe()===12&&(r[n]=1),t[n]+=tl(me-1,r,n);break;case 2:t[n]+=Lr(i);break;case 4:if(i===44){t[++n]=Oe()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=nn(i)}while(i=ve());return t},nl=function(t,r){return Da(rl(Ba(t),r))},Yo=new WeakMap,il=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&&!Yo.get(n))&&!i){Yo.set(t,!0);for(var o=[],s=nl(r,o),a=n.props,u=0,m=0;u<s.length;u++)for(var g=0;g<a.length;g++,m++)t.props[m]=o[u]?s[u].replace(/&\f/g,a[g]):a[g]+" "+s[u]}}},ol=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Oa(e,t){switch(zu(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+qr+e+de+e+e;case 6828:case 4268:return H+e+de+e+e;case 6165:return H+e+de+"flex-"+e+e;case 5187:return H+e+q(e,/(\w+).+(:[^]+)/,H+"box-$1$2"+de+"flex-$1$2")+e;case 5443:return H+e+de+"flex-item-"+q(e,/flex-|-self/,"")+e;case 4675:return H+e+de+"flex-line-pack"+q(e,/align-content|flex-|-self/,"")+e;case 5548:return H+e+de+q(e,"shrink","negative")+e;case 5292:return H+e+de+q(e,"basis","preferred-size")+e;case 6060:return H+"box-"+q(e,"-grow","")+H+e+de+q(e,"grow","positive")+e;case 4554:return H+q(e,/([^-])(transform)/g,"$1"+H+"$2")+e;case 6187:return q(q(q(e,/(zoom-|grab)/,H+"$1"),/(image-set)/,H+"$1"),e,"")+e;case 5495:case 3959:return q(e,/(image-set\([^]*)/,H+"$1$`$1");case 4968:return q(q(e,/(.+:)(flex-)?(.*)/,H+"box-pack:$3"+de+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+H+e+e;case 4095:case 3583:case 4068:case 2532:return q(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(ce(e,t+1)){case 109:if(ce(e,t+4)!==45)break;case 102:return q(e,/(.+:)(.+)-([^]+)/,"$1"+H+"$2-$3$1"+qr+(ce(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~oi(e,"stretch")?Oa(q(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ce(e,t+1)!==115)break;case 6444:switch(ce(e,Be(e)-3-(~oi(e,"!important")&&10))){case 107:return q(e,":",":"+H)+e;case 101:return q(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+H+(ce(e,14)===45?"inline-":"")+"box$3$1"+H+"$2$3$1"+de+"$2box$3")+e}break;case 5936:switch(ce(e,t+11)){case 114:return H+e+de+q(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return H+e+de+q(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return H+e+de+q(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return H+e+de+e+e}return e}var sl=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case Vi:t.return=Oa(t.value,t.length);break;case Ma:return St([Lt(t,{value:q(t.value,"@","@"+H)})],i);case Wi:if(t.length)return Hu(t.props,function(o){switch(ju(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return St([Lt(t,{props:[q(o,/:(read-\w+)/,":"+qr+"$1")]})],i);case"::placeholder":return St([Lt(t,{props:[q(o,/:(plac\w+)/,":"+H+"input-$1")]}),Lt(t,{props:[q(o,/:(plac\w+)/,":"+qr+"$1")]}),Lt(t,{props:[q(o,/:(plac\w+)/,de+"input-$1")]})],i)}return""})}},al=[sl],La=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(f){var p=f.getAttribute("data-emotion");p.indexOf(" ")!==-1&&(document.head.appendChild(f),f.setAttribute("data-s",""))})}var i=t.stylisPlugins||al,o={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(f){for(var p=f.getAttribute("data-emotion").split(" "),w=1;w<p.length;w++)o[p[w]]=!0;a.push(f)});var u,m=[il,ol];{var g,h=[Xu,el(function(f){g.insert(f)})],d=Zu(m.concat(i,h)),c=function(p){return St(Yu(p),d)};u=function(p,w,v,y){g=v,c(p?p+"{"+w.styles+"}":w.styles),y&&(l.inserted[w.name]=!0)}}var l={key:r,sheet:new Du({key:r,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:u};return l.sheet.hydrate(a),l},cl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function ul(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 $a={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 oe=typeof Symbol=="function"&&Symbol.for,Qi=oe?Symbol.for("react.element"):60103,Ki=oe?Symbol.for("react.portal"):60106,cn=oe?Symbol.for("react.fragment"):60107,un=oe?Symbol.for("react.strict_mode"):60108,ln=oe?Symbol.for("react.profiler"):60114,dn=oe?Symbol.for("react.provider"):60109,fn=oe?Symbol.for("react.context"):60110,Ji=oe?Symbol.for("react.async_mode"):60111,pn=oe?Symbol.for("react.concurrent_mode"):60111,hn=oe?Symbol.for("react.forward_ref"):60112,mn=oe?Symbol.for("react.suspense"):60113,ul=oe?Symbol.for("react.suspense_list"):60120,gn=oe?Symbol.for("react.memo"):60115,yn=oe?Symbol.for("react.lazy"):60116,ll=oe?Symbol.for("react.block"):60121,dl=oe?Symbol.for("react.fundamental"):60117,fl=oe?Symbol.for("react.responder"):60118,pl=oe?Symbol.for("react.scope"):60119;function Ce(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Qi:switch(e=e.type,e){case Ji:case pn:case cn:case ln:case un:case mn:return e;default:switch(e=e&&e.$$typeof,e){case fn:case hn:case yn:case gn:case dn:return e;default:return t}}case Ki:return t}}}function $a(e){return Ce(e)===pn}Q.AsyncMode=Ji;Q.ConcurrentMode=pn;Q.ContextConsumer=fn;Q.ContextProvider=dn;Q.Element=Qi;Q.ForwardRef=hn;Q.Fragment=cn;Q.Lazy=yn;Q.Memo=gn;Q.Portal=Ki;Q.Profiler=ln;Q.StrictMode=un;Q.Suspense=mn;Q.isAsyncMode=function(e){return $a(e)||Ce(e)===Ji};Q.isConcurrentMode=$a;Q.isContextConsumer=function(e){return Ce(e)===fn};Q.isContextProvider=function(e){return Ce(e)===dn};Q.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Qi};Q.isForwardRef=function(e){return Ce(e)===hn};Q.isFragment=function(e){return Ce(e)===cn};Q.isLazy=function(e){return Ce(e)===yn};Q.isMemo=function(e){return Ce(e)===gn};Q.isPortal=function(e){return Ce(e)===Ki};Q.isProfiler=function(e){return Ce(e)===ln};Q.isStrictMode=function(e){return Ce(e)===un};Q.isSuspense=function(e){return Ce(e)===mn};Q.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===cn||e===pn||e===ln||e===un||e===mn||e===ul||typeof e=="object"&&e!==null&&(e.$$typeof===yn||e.$$typeof===gn||e.$$typeof===dn||e.$$typeof===fn||e.$$typeof===hn||e.$$typeof===dl||e.$$typeof===fl||e.$$typeof===pl||e.$$typeof===ll)};Q.typeOf=Ce;La.exports=Q;var hl=La.exports,za=hl,ml={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},gl={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ua={};Ua[za.ForwardRef]=ml;Ua[za.Memo]=gl;var yl=!0;function ja(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):n+=i+" "}),n}var Yi=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||yl===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},Gi=function(t,r,n){Yi(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 wl(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 bl={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},vl=/[A-Z]|^ms/g,_l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ha=function(t){return t.charCodeAt(1)===45},Yo=function(t){return t!=null&&typeof t!="boolean"},On=Ra(function(e){return Ha(e)?e:e.replace(vl,"-$&").toLowerCase()}),Go=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(_l,function(n,i,o){return $e={name:i,styles:o,next:$e},i})}return bl[t]!==1&&!Ha(t)&&typeof r=="number"&&r!==0?r+"px":r};function rr(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 Sl(e,t,r)}case"function":{if(e!==void 0){var o=$e,s=r(e);return $e=o,rr(e,t,s)}break}}if(t==null)return r;var a=t[r];return a!==void 0?a:r}function Sl(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=rr(e,t,r[i])+";";else for(var o in r){var s=r[o];if(typeof s!="object")t!=null&&t[s]!==void 0?n+=o+"{"+t[s]+"}":Yo(s)&&(n+=On(o)+":"+Go(o,s)+";");else if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var a=0;a<s.length;a++)Yo(s[a])&&(n+=On(o)+":"+Go(o,s[a])+";");else{var u=rr(e,t,s);switch(o){case"animation":case"animationName":{n+=On(o)+":"+u+";";break}default:n+=o+"{"+u+"}"}}}return n}var Xo=/label:\s*([^\s;\n{]+)\s*(;|$)/g,$e,wn=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 s=t[0];s==null||s.raw===void 0?(i=!1,o+=rr(n,r,s)):o+=s[0];for(var a=1;a<t.length;a++)o+=rr(n,r,t[a]),i&&(o+=s[a]);Xo.lastIndex=0;for(var u="",m;(m=Xo.exec(o))!==null;)u+="-"+m[1];var g=wl(o)+u;return{name:g,styles:o,next:$e}},Cl=function(t){return t()},Wa=Zt.useInsertionEffect?Zt.useInsertionEffect:!1,qa=Wa||Cl,Zo=Wa||mt,bn={}.hasOwnProperty,Va=nn(typeof HTMLElement!="undefined"?Oa({key:"css"}):null),El=Va.Provider,Xi=function(t){return Ui(function(r,n){var i=Dt(Va);return t(r,i,n)})},Zi=nn({}),si="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Qa=function(t,r){var n={};for(var i in r)bn.call(r,i)&&(n[i]=r[i]);return n[si]=t,n},kl=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Yi(r,n,i),qa(function(){return Gi(r,n,i)}),null},Al=Xi(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var i=e[si],o=[n],s="";typeof e.className=="string"?s=ja(t.registered,o,e.className):e.className!=null&&(s=e.className+" ");var a=wn(o,void 0,Dt(Zi));s+=t.key+"-"+a.name;var u={};for(var m in e)bn.call(e,m)&&m!=="css"&&m!==si&&(u[m]=e[m]);return u.ref=r,u.className=s,X(_e,null,X(kl,{cache:t,serialized:a,isStringTag:typeof i=="string"}),X(i,u))}),Ka=Al,xl=Xi(function(e,t){var r=e.styles,n=wn([r],void 0,Dt(Zi)),i=Ae();return Zo(function(){var o=t.key+"-global",s=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,u=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),u!==null&&(a=!0,u.setAttribute("data-emotion",o),s.hydrate([u])),i.current=[s,a],function(){s.flush()}},[t]),Zo(function(){var o=i.current,s=o[0],a=o[1];if(a){o[1]=!1;return}if(n.next!==void 0&&Gi(t,n.next,!0),s.tags.length){var u=s.tags[s.tags.length-1].nextElementSibling;s.before=u,s.flush()}t.insert("",n,s,!1)},[t,n.name]),null});function Tl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return wn(t)}var Rl=Bu,Pl=function(t){return t!=="theme"},es=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Rl:Pl},ts=function(t,r,n){var i;if(r){var o=r.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(s){return t.__emotion_forwardProp(s)&&o(s)}:o}return typeof i!="function"&&n&&(i=t.__emotion_forwardProp),i},Il=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Yi(r,n,i),qa(function(){return Gi(r,n,i)}),null},Bl=function e(t,r){var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,o,s;r!==void 0&&(o=r.label,s=r.target);var a=ts(t,r,n),u=a||es(i),m=!u("as");return function(){var g=arguments,h=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&h.push("label:"+o+";"),g[0]==null||g[0].raw===void 0)h.push.apply(h,g);else{h.push(g[0][0]);for(var d=g.length,c=1;c<d;c++)h.push(g[c],g[0][c])}var l=Xi(function(f,p,w){var v=m&&f.as||i,y="",b=[],S=f;if(f.theme==null){S={};for(var E in f)S[E]=f[E];S.theme=Dt(Zi)}typeof f.className=="string"?y=ja(p.registered,b,f.className):f.className!=null&&(y=f.className+" ");var C=wn(h.concat(b),p.registered,S);y+=p.key+"-"+C.name,s!==void 0&&(y+=" "+s);var k=m&&a===void 0?es(v):u,A={};for(var x in f)m&&x==="as"||k(x)&&(A[x]=f[x]);return A.className=y,A.ref=w,X(_e,null,X(Il,{cache:p,serialized:C,isStringTag:typeof v=="string"}),X(v,A))});return l.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",l.defaultProps=t.defaultProps,l.__emotion_real=l,l.__emotion_base=i,l.__emotion_styles=h,l.__emotion_forwardProp=a,Object.defineProperty(l,"toString",{value:function(){return"."+s}}),l.withComponent=function(f,p){return e(f,Xn({},r,p,{shouldForwardProp:ts(l,p,!0)})).apply(void 0,h)},l}},Fl=["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"],G=Bl.bind();Fl.forEach(function(e){G[e]=G(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 Dl=typeof Symbol=="function"&&Symbol.observable||"@@observable",rs=Dl,Ln=()=>Math.random().toString(36).substring(7).split("").join("."),Ml={INIT:`@@redux/INIT${Ln()}`,REPLACE:`@@redux/REPLACE${Ln()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Ln()}`},Vr=Ml;function je(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 Ja(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(Ja)(e,t)}let n=e,i=t,o=new Map,s=o,a=0,u=!1;function m(){s===o&&(s=new Map,o.forEach((p,w)=>{s.set(w,p)}))}function g(){if(u)throw new Error(se(3));return i}function h(p){if(typeof p!="function")throw new Error(se(4));if(u)throw new Error(se(5));let w=!0;m();const v=a++;return s.set(v,p),function(){if(w){if(u)throw new Error(se(6));w=!1,m(),s.delete(v),o=null}}}function d(p){if(!je(p))throw new Error(se(7));if(typeof p.type=="undefined")throw new Error(se(8));if(typeof p.type!="string")throw new Error(se(17));if(u)throw new Error(se(9));try{u=!0,i=n(i,p)}finally{u=!1}return(o=s).forEach(v=>{v()}),p}function c(p){if(typeof p!="function")throw new Error(se(10));n=p,d({type:Vr.REPLACE})}function l(){const p=h;return{subscribe(w){if(typeof w!="object"||w===null)throw new Error(se(11));function v(){const b=w;b.next&&b.next(g())}return v(),{unsubscribe:p(v)}},[rs](){return this}}}return d({type:Vr.INIT}),{dispatch:d,subscribe:h,getState:g,replaceReducer:c,[rs]:l}}function Nl(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:Vr.INIT})=="undefined")throw new Error(se(12));if(typeof r(void 0,{type:Vr.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(se(13))})}function Ya(e){const t=Object.keys(e),r={};for(let o=0;o<t.length;o++){const s=t[o];typeof e[s]=="function"&&(r[s]=e[s])}const n=Object.keys(r);let i;try{Nl(r)}catch(o){i=o}return function(s={},a){if(i)throw i;let u=!1;const m={};for(let g=0;g<n.length;g++){const h=n[g],d=r[h],c=s[h],l=d(c,a);if(typeof l=="undefined")throw a&&a.type,new Error(se(14));m[h]=l,u=u||l!==c}return u=u||n.length!==Object.keys(s).length,u?m:s}}function Qr(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function Ol(...e){return t=>(r,n)=>{const i=t(r,n);let o=()=>{throw new Error(se(15))};const s={getState:i.getState,dispatch:(u,...m)=>o(u,...m)},a=e.map(u=>u(s));return o=Qr(...a)(i.dispatch),$(I({},i),{dispatch:o})}}function Ga(e){return je(e)&&"type"in e&&typeof e.type=="string"}var eo=Symbol.for("immer-nothing"),Qt=Symbol.for("immer-draftable"),ge=Symbol.for("immer-state");function ue(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var dt=Object.getPrototypeOf;function De(e){return!!e&&!!e[ge]}function Me(e){var t;return e?Xa(e)||Array.isArray(e)||!!e[Qt]||!!((t=e.constructor)!=null&&t[Qt])||mr(e)||gr(e):!1}var Ll=Object.prototype.constructor.toString();function Xa(e){if(!e||typeof e!="object")return!1;const t=dt(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)===Ll}function $l(e){return De(e)||ue(15,e),e[ge].base_}function nr(e,t){ft(e)===0?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function ft(e){const t=e[ge];return t?t.type_:Array.isArray(e)?1:mr(e)?2:gr(e)?3:0}function ir(e,t){return ft(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function $n(e,t){return ft(e)===2?e.get(t):e[t]}function Za(e,t,r){const n=ft(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function zl(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function mr(e){return e instanceof Map}function gr(e){return e instanceof Set}function at(e){return e.copy_||e.base_}function ai(e,t){if(mr(e))return new Map(e);if(gr(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&Xa(e))return dt(e)?I({},e):Object.assign(Object.create(null),e);const r=Object.getOwnPropertyDescriptors(e);delete r[ge];let n=Reflect.ownKeys(r);for(let i=0;i<n.length;i++){const o=n[i],s=r[o];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(r[o]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[o]})}return Object.create(dt(e),r)}function to(e,t=!1){return vn(e)||De(e)||!Me(e)||(ft(e)>1&&(e.set=e.add=e.clear=e.delete=Ul),Object.freeze(e),t&&Object.entries(e).forEach(([r,n])=>to(n,!0))),e}function Ul(){ue(2)}function vn(e){return Object.isFrozen(e)}var ci={};function pt(e){const t=ci[e];return t||ue(0,e),t}function jl(e,t){ci[e]||(ci[e]=t)}var or;function ec(){return or}function Hl(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function ns(e,t){t&&(pt("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function ui(e){li(e),e.drafts_.forEach(Wl),e.drafts_=null}function li(e){e===or&&(or=e.parent_)}function is(e){return or=Hl(or,e)}function Wl(e){const t=e[ge];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function os(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[ge].modified_&&(ui(t),ue(4)),Me(e)&&(e=Kr(t,e),t.parent_||Jr(t,e)),t.patches_&&pt("Patches").generateReplacementPatches_(r[ge].base_,e,t.patches_,t.inversePatches_)):e=Kr(t,r,[]),ui(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==eo?e:void 0}function Kr(e,t,r){if(vn(t))return t;const n=t[ge];if(!n)return nr(t,(i,o)=>ss(e,n,t,i,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return Jr(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const i=n.copy_;let o=i,s=!1;n.type_===3&&(o=new Set(i),i.clear(),s=!0),nr(o,(a,u)=>ss(e,n,i,a,u,r,s)),Jr(e,i,!1),r&&e.patches_&&pt("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function ss(e,t,r,n,i,o,s){if(De(i)){const a=o&&t&&t.type_!==3&&!ir(t.assigned_,n)?o.concat(n):void 0,u=Kr(e,i,a);if(Za(r,n,u),De(u))e.canAutoFreeze_=!1;else return}else s&&r.add(i);if(Me(i)&&!vn(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)&&Jr(e,i)}}function Jr(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&to(t,r)}function ql(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:ec(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=n,o=ro;r&&(i=[n],o=sr);const{revoke:s,proxy:a}=Proxy.revocable(i,o);return n.draft_=a,n.revoke_=s,a}var ro={get(e,t){if(t===ge)return e;const r=at(e);if(!ir(r,t))return Vl(e,r,t);const n=r[t];return e.finalized_||!Me(n)?n:n===zn(e.base_,t)?(Un(e),e.copy_[t]=fi(n,e)):n},has(e,t){return t in at(e)},ownKeys(e){return Reflect.ownKeys(at(e))},set(e,t,r){const n=tc(at(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const i=zn(at(e),t),o=i==null?void 0:i[ge];if(o&&o.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(zl(r,i)&&(r!==void 0||ir(e.base_,t)))return!0;Un(e),di(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 zn(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Un(e),di(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(){ue(11)},getPrototypeOf(e){return dt(e.base_)},setPrototypeOf(){ue(12)}},sr={};nr(ro,(e,t)=>{sr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});sr.deleteProperty=function(e,t){return sr.set.call(this,e,t,void 0)};sr.set=function(e,t,r){return ro.set.call(this,e[0],t,r,e[0])};function zn(e,t){const r=e[ge];return(r?at(r):e)[t]}function Vl(e,t,r){var i;const n=tc(t,r);return n?"value"in n?n.value:(i=n.get)==null?void 0:i.call(e.draft_):void 0}function tc(e,t){if(!(t in e))return;let r=dt(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=dt(r)}}function di(e){e.modified_||(e.modified_=!0,e.parent_&&di(e.parent_))}function Un(e){e.copy_||(e.copy_=ai(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Ql=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,r,n)=>{if(typeof t=="function"&&typeof r!="function"){const o=r;r=t;const s=this;return function(u=o,...m){return s.produce(u,g=>r.call(this,g,...m))}}typeof r!="function"&&ue(6),n!==void 0&&typeof n!="function"&&ue(7);let i;if(Me(t)){const o=is(this),s=fi(t,void 0);let a=!0;try{i=r(s),a=!1}finally{a?ui(o):li(o)}return ns(o,n),os(i,o)}else if(!t||typeof t!="object"){if(i=r(t),i===void 0&&(i=t),i===eo&&(i=void 0),this.autoFreeze_&&to(i,!0),n){const o=[],s=[];pt("Patches").generateReplacementPatches_(t,i,o,s),n(o,s)}return i}else ue(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(s,...a)=>this.produceWithPatches(s,u=>t(u,...a));let n,i;return[this.produce(t,r,(s,a)=>{n=s,i=a}),n,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){Me(e)||ue(8),De(e)&&(e=rc(e));const t=is(this),r=fi(e,void 0);return r[ge].isManual_=!0,li(t),r}finishDraft(e,t){const r=e&&e[ge];(!r||!r.isManual_)&&ue(9);const{scope_:n}=r;return ns(n,t),os(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){const i=t[r];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}r>-1&&(t=t.slice(r+1));const n=pt("Patches").applyPatches_;return De(e)?n(e,t):this.produce(e,i=>n(i,t))}};function fi(e,t){const r=mr(e)?pt("MapSet").proxyMap_(e,t):gr(e)?pt("MapSet").proxySet_(e,t):ql(e,t);return(t?t.scope_:ec()).drafts_.push(r),r}function rc(e){return De(e)||ue(10,e),nc(e)}function nc(e){if(!Me(e)||vn(e))return e;const t=e[ge];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=ai(e,t.scope_.immer_.useStrictShallowCopy_)}else r=ai(e,!0);return nr(r,(n,i)=>{Za(r,n,nc(i))}),t&&(t.finalized_=!1),r}function Kl(){const t="replace",r="add",n="remove";function i(d,c,l,f){switch(d.type_){case 0:case 2:return s(d,c,l,f);case 1:return o(d,c,l,f);case 3:return a(d,c,l,f)}}function o(d,c,l,f){let{base_:p,assigned_:w}=d,v=d.copy_;v.length<p.length&&([p,v]=[v,p],[l,f]=[f,l]);for(let y=0;y<p.length;y++)if(w[y]&&v[y]!==p[y]){const b=c.concat([y]);l.push({op:t,path:b,value:h(v[y])}),f.push({op:t,path:b,value:h(p[y])})}for(let y=p.length;y<v.length;y++){const b=c.concat([y]);l.push({op:r,path:b,value:h(v[y])})}for(let y=v.length-1;p.length<=y;--y){const b=c.concat([y]);f.push({op:n,path:b})}}function s(d,c,l,f){const{base_:p,copy_:w}=d;nr(d.assigned_,(v,y)=>{const b=$n(p,v),S=$n(w,v),E=y?ir(p,v)?t:r:n;if(b===S&&E===t)return;const C=c.concat(v);l.push(E===n?{op:E,path:C}:{op:E,path:C,value:S}),f.push(E===r?{op:n,path:C}:E===n?{op:r,path:C,value:h(b)}:{op:t,path:C,value:h(b)})})}function a(d,c,l,f){let{base_:p,copy_:w}=d,v=0;p.forEach(y=>{if(!w.has(y)){const b=c.concat([v]);l.push({op:n,path:b,value:y}),f.unshift({op:r,path:b,value:y})}v++}),v=0,w.forEach(y=>{if(!p.has(y)){const b=c.concat([v]);l.push({op:r,path:b,value:y}),f.unshift({op:n,path:b,value:y})}v++})}function u(d,c,l,f){l.push({op:t,path:[],value:c===eo?void 0:c}),f.push({op:t,path:[],value:d})}function m(d,c){return c.forEach(l=>{const{path:f,op:p}=l;let w=d;for(let S=0;S<f.length-1;S++){const E=ft(w);let C=f[S];typeof C!="string"&&typeof C!="number"&&(C=""+C),(E===0||E===1)&&(C==="__proto__"||C==="constructor")&&ue(19),typeof w=="function"&&C==="prototype"&&ue(19),w=$n(w,C),typeof w!="object"&&ue(18,f.join("/"))}const v=ft(w),y=g(l.value),b=f[f.length-1];switch(p){case t:switch(v){case 2:return w.set(b,y);case 3:ue(16);default:return w[b]=y}case r:switch(v){case 1:return b==="-"?w.push(y):w.splice(b,0,y);case 2:return w.set(b,y);case 3:return w.add(y);default:return w[b]=y}case n:switch(v){case 1:return w.splice(b,1);case 2:return w.delete(b);case 3:return w.delete(l.value);default:return delete w[b]}default:ue(17,p)}}),d}function g(d){if(!Me(d))return d;if(Array.isArray(d))return d.map(g);if(mr(d))return new Map(Array.from(d.entries()).map(([l,f])=>[l,g(f)]));if(gr(d))return new Set(Array.from(d).map(g));const c=Object.create(dt(d));for(const l in d)c[l]=g(d[l]);return ir(d,Qt)&&(c[Qt]=d[Qt]),c}function h(d){return De(d)?g(d):d}jl("Patches",{applyPatches_:m,generatePatches_:i,generateReplacementPatches_:u})}var Se=new Ql,yr=Se.produce,ic=Se.produceWithPatches.bind(Se);Se.setAutoFreeze.bind(Se);Se.setUseStrictShallowCopy.bind(Se);var as=Se.applyPatches.bind(Se);Se.createDraft.bind(Se);Se.finishDraft.bind(Se);function Jl(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function Yl(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function Gl(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(r=>typeof r=="function")){const r=e.map(n=>typeof n=="function"?`function ${n.name||"unnamed"}()`:typeof n).join(", ");throw new TypeError(`${t}[${r}]`)}}var cs=e=>Array.isArray(e)?e:[e];function Xl(e){const t=Array.isArray(e[0])?e[0]:e;return Gl(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function Zl(e,t){const r=[],{length:n}=e;for(let i=0;i<n;i++)r.push(e[i].apply(null,t));return r}var ed=class{constructor(e){this.value=e}deref(){return this.value}},td=typeof WeakRef!="undefined"?WeakRef:ed,rd=0,us=1;function Tr(){return{s:rd,v:void 0,o:null,p:null}}function ar(e,t={}){let r=Tr();const{resultEqualityCheck:n}=t;let i,o=0;function s(){var h,d;let a=r;const{length:u}=arguments;for(let c=0,l=u;c<l;c++){const f=arguments[c];if(typeof f=="function"||typeof f=="object"&&f!==null){let p=a.o;p===null&&(a.o=p=new WeakMap);const w=p.get(f);w===void 0?(a=Tr(),p.set(f,a)):a=w}else{let p=a.p;p===null&&(a.p=p=new Map);const w=p.get(f);w===void 0?(a=Tr(),p.set(f,a)):a=w}}const m=a;let g;if(a.s===us?g=a.v:(g=e.apply(null,arguments),o++),m.s=us,n){const c=(d=(h=i==null?void 0:i.deref)==null?void 0:h.call(i))!=null?d:i;c!=null&&n(c,g)&&(g=c,o!==0&&o--),i=typeof g=="object"&&g!==null||typeof g=="function"?new td(g):g}return m.v=g,g}return s.clearCache=()=>{r=Tr(),s.resetResultsCount()},s.resultsCount=()=>o,s.resetResultsCount=()=>{o=0},s}function oc(e,...t){const r=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,n=(...i)=>{let o=0,s=0,a,u={},m=i.pop();typeof m=="object"&&(u=m,m=i.pop()),Jl(m,`createSelector expects an output function after the inputs, but received: [${typeof m}]`);const g=I(I({},r),u),{memoize:h,memoizeOptions:d=[],argsMemoize:c=ar,argsMemoizeOptions:l=[],devModeChecks:f={}}=g,p=cs(d),w=cs(l),v=Xl(i),y=h(function(){return o++,m.apply(null,arguments)},...p),b=c(function(){s++;const E=Zl(v,arguments);return a=y.apply(null,E),a},...w);return Object.assign(b,{resultFunc:m,memoizedResultFunc:y,dependencies:v,dependencyRecomputations:()=>s,resetDependencyRecomputations:()=>{s=0},lastResult:()=>a,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:h,argsMemoize:c})};return Object.assign(n,{withTypes:()=>n}),n}var Et=oc(ar),nd=Object.assign((e,t=Et)=>{Yl(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const r=Object.keys(e),n=r.map(o=>e[o]);return t(n,(...o)=>o.reduce((s,a,u)=>(s[r[u]]=a,s),{}))},{withTypes:()=>nd});function sc(e){return({dispatch:r,getState:n})=>i=>o=>typeof o=="function"?o(r,n,e):i(o)}var id=sc(),od=sc,sd=(...e)=>{const t=oc(...e);return(...r)=>{const n=t(...r),i=(o,...s)=>n(De(o)?rc(o):o,...s);return Object.assign(i,n),i}};sd(ar);var ad=typeof window!="undefined"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Qr:Qr.apply(null,arguments)},cd=e=>e&&typeof e.match=="function";function he(e,t){function r(...n){if(t){let i=t(...n);if(!i)throw new Error(xe(0));return I(I({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=>Ga(n)&&n.type===e,r}var ac=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 ls(e){return Me(e)?yr(e,()=>{}):e}function ds(e,t,r){if(e.has(t)){let i=e.get(t);return r.update&&(i=r.update(i,t,e),e.set(t,i)),i}if(!r.insert)throw new Error(xe(10));const n=r.insert(t,e);return e.set(t,n),n}function ud(e){return typeof e=="boolean"}var ld=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t!=null?t:{};let s=new ac;return r&&(ud(r)?s.push(id):s.push(od(r.extraArgument))),s},St="RTK_autoBatch",zt=()=>e=>({payload:e,meta:{[St]:!0}}),cc=e=>t=>{setTimeout(t,e)},dd=typeof window!="undefined"&&window.requestAnimationFrame?window.requestAnimationFrame:cc(10),fd=(e={type:"raf"})=>t=>(...r)=>{const n=t(...r);let i=!0,o=!1,s=!1;const a=new Set,u=e.type==="tick"?queueMicrotask:e.type==="raf"?dd:e.type==="callback"?e.queueNotification:cc(e.timeout),m=()=>{s=!1,o&&(o=!1,a.forEach(g=>g()))};return Object.assign({},n,{subscribe(g){const h=()=>i&&g(),d=n.subscribe(h);return a.add(g),()=>{d(),a.delete(g)}},dispatch(g){var h;try{return i=!((h=g==null?void 0:g.meta)!=null&&h[St]),o=!i,o&&(s||(s=!0,u(m))),n.dispatch(g)}finally{i=!0}}})},pd=e=>function(r){const{autoBatch:n=!0}=r!=null?r:{};let i=new ac(e);return n&&i.push(fd(typeof n=="object"?n:void 0)),i},hd=!0;function md(e){const t=ld(),{reducer:r=void 0,middleware:n,devTools:i=!0,preloadedState:o=void 0,enhancers:s=void 0}=e||{};let a;if(typeof r=="function")a=r;else if(je(r))a=Ya(r);else throw new Error(xe(1));let u;typeof n=="function"?u=n(t):u=t();let m=Qr;i&&(m=ad(I({trace:!hd},typeof i=="object"&&i)));const g=Ol(...u),h=pd(g);let d=typeof s=="function"?s(h):h();const c=m(...d);return Ja(a,o,c)}function uc(e){const t={},r=[];let n;const i={addCase(o,s){const a=typeof o=="string"?o:o.type;if(!a)throw new Error(xe(28));if(a in t)throw new Error(xe(29));return t[a]=s,i},addMatcher(o,s){return r.push({matcher:o,reducer:s}),i},addDefaultCase(o){return n=o,i}};return e(i),[t,r,n]}function gd(e){return typeof e=="function"}function yd(e,t){let[r,n,i]=uc(t),o;if(gd(e))o=()=>ls(e());else{const a=ls(e);o=()=>a}function s(a=o(),u){let m=[r[u.type],...n.filter(({matcher:g})=>g(u)).map(({reducer:g})=>g)];return m.filter(g=>!!g).length===0&&(m=[i]),m.reduce((g,h)=>{if(h)if(De(g)){const c=h(g,u);return c===void 0?g:c}else{if(Me(g))return yr(g,d=>h(d,u));{const d=h(g,u);if(d===void 0){if(g===null)return g;throw new Error(xe(9))}return d}}return g},a)}return s.getInitialState=o,s}var wd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",lc=(e=21)=>{let t="",r=e;for(;r--;)t+=wd[Math.random()*64|0];return t},dc=(e,t)=>cd(e)?e.match(t):e(t);function tt(...e){return t=>e.some(r=>dc(r,t))}function Kt(...e){return t=>e.every(r=>dc(r,t))}function _n(e,t){if(!e||!e.meta)return!1;const r=typeof e.meta.requestId=="string",n=t.indexOf(e.meta.requestStatus)>-1;return r&&n}function wr(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function no(...e){return e.length===0?t=>_n(t,["pending"]):wr(e)?t=>{const r=e.map(i=>i.pending);return tt(...r)(t)}:no()(e[0])}function Rt(...e){return e.length===0?t=>_n(t,["rejected"]):wr(e)?t=>{const r=e.map(i=>i.rejected);return tt(...r)(t)}:Rt()(e[0])}function Sn(...e){const t=r=>r&&r.meta&&r.meta.rejectedWithValue;return e.length===0?r=>Kt(Rt(...e),t)(r):wr(e)?r=>Kt(Rt(...e),t)(r):Sn()(e[0])}function rt(...e){return e.length===0?t=>_n(t,["fulfilled"]):wr(e)?t=>{const r=e.map(i=>i.fulfilled);return tt(...r)(t)}:rt()(e[0])}function pi(...e){return e.length===0?t=>_n(t,["pending","fulfilled","rejected"]):wr(e)?t=>{const r=[];for(const i of e)r.push(i.pending,i.rejected,i.fulfilled);return tt(...r)(t)}:pi()(e[0])}var bd=["name","message","stack","code"],jn=class{constructor(e,t){Dn(this,"_type");this.payload=e,this.meta=t}},fs=class{constructor(e,t){Dn(this,"_type");this.payload=e,this.meta=t}},vd=e=>{if(typeof e=="object"&&e!==null){const t={};for(const r of bd)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},ps=(()=>{function e(t,r,n){const i=he(t+"/fulfilled",(u,m,g,h)=>({payload:u,meta:$(I({},h||{}),{arg:g,requestId:m,requestStatus:"fulfilled"})})),o=he(t+"/pending",(u,m,g)=>({payload:void 0,meta:$(I({},g||{}),{arg:m,requestId:u,requestStatus:"pending"})})),s=he(t+"/rejected",(u,m,g,h,d)=>({payload:h,error:(n&&n.serializeError||vd)(u||"Rejected"),meta:$(I({},d||{}),{arg:g,requestId:m,rejectedWithValue:!!h,requestStatus:"rejected",aborted:(u==null?void 0:u.name)==="AbortError",condition:(u==null?void 0:u.name)==="ConditionError"})}));function a(u){return(m,g,h)=>{const d=n!=null&&n.idGenerator?n.idGenerator(u):lc(),c=new AbortController;let l;function f(w){l=w,c.abort()}const p=function(){return pe(this,null,function*(){var y,b;let w;try{let S=(y=n==null?void 0:n.condition)==null?void 0:y.call(n,u,{getState:g,extra:h});if(Sd(S)&&(S=yield S),S===!1||c.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const E=new Promise((C,k)=>c.signal.addEventListener("abort",()=>k({name:"AbortError",message:l||"Aborted"})));m(o(d,u,(b=n==null?void 0:n.getPendingMeta)==null?void 0:b.call(n,{requestId:d,arg:u},{getState:g,extra:h}))),w=yield Promise.race([E,Promise.resolve(r(u,{dispatch:m,getState:g,extra:h,requestId:d,signal:c.signal,abort:f,rejectWithValue:(C,k)=>new jn(C,k),fulfillWithValue:(C,k)=>new fs(C,k)})).then(C=>{if(C instanceof jn)throw C;return C instanceof fs?i(C.payload,d,u,C.meta):i(C,d,u)})])}catch(S){w=S instanceof jn?s(null,d,u,S.payload,S.meta):s(S,d,u)}return n&&!n.dispatchConditionRejection&&s.match(w)&&w.meta.condition||m(w),w})}();return Object.assign(p,{abort:f,requestId:d,arg:u,unwrap(){return p.then(_d)}})}}return Object.assign(a,{pending:o,rejected:s,fulfilled:i,settled:tt(s,i),typePrefix:t})}return e.withTypes=()=>e,e})();function _d(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Sd(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Cd=Symbol.for("rtk-slice-createasyncthunk");function Ed(e,t){return`${e}/${t}`}function kd({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[Cd];return function(i){const{name:o,reducerPath:s=o}=i;if(!o)throw new Error(xe(11));const a=(typeof i.reducers=="function"?i.reducers(xd()):i.reducers)||{},u=Object.keys(a),m={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},g={addCase(p,w){const v=typeof p=="string"?p:p.type;if(!v)throw new Error(xe(12));if(v in m.sliceCaseReducersByType)throw new Error(xe(13));return m.sliceCaseReducersByType[v]=w,g},addMatcher(p,w){return m.sliceMatchers.push({matcher:p,reducer:w}),g},exposeAction(p,w){return m.actionCreators[p]=w,g},exposeCaseReducer(p,w){return m.sliceCaseReducersByName[p]=w,g}};u.forEach(p=>{const w=a[p],v={reducerName:p,type:Ed(o,p),createNotation:typeof i.reducers=="function"};Rd(w)?Id(v,w,g,t):Td(v,w,g)});function h(){const[p={},w=[],v=void 0]=typeof i.extraReducers=="function"?uc(i.extraReducers):[i.extraReducers],y=I(I({},p),m.sliceCaseReducersByType);return yd(i.initialState,b=>{for(let S in y)b.addCase(S,y[S]);for(let S of m.sliceMatchers)b.addMatcher(S.matcher,S.reducer);for(let S of w)b.addMatcher(S.matcher,S.reducer);v&&b.addDefaultCase(v)})}const d=p=>p,c=new WeakMap;let l;const f={name:o,reducerPath:s,reducer(p,w){return l||(l=h()),l(p,w)},actions:m.actionCreators,caseReducers:m.sliceCaseReducersByName,getInitialState(){return l||(l=h()),l.getInitialState()},getSelectors(p=d){const w=ds(c,this,{insert:()=>new WeakMap});return ds(w,p,{insert:()=>{var y;const v={};for(const[b,S]of Object.entries((y=i.selectors)!=null?y:{}))v[b]=Ad(this,S,p,this!==f);return v}})},selectSlice(p){let w=p[this.reducerPath];return typeof w=="undefined"&&this!==f&&(w=this.getInitialState()),w},get selectors(){return this.getSelectors(this.selectSlice)},injectInto(p,y={}){var b=y,{reducerPath:w}=b,v=ot(b,["reducerPath"]);const S=w!=null?w:this.reducerPath;return p.inject({reducerPath:S,reducer:this.reducer},v),$(I({},this),{reducerPath:S})}};return f}}function Ad(e,t,r,n){function i(o,...s){let a=r.call(e,o);return typeof a=="undefined"&&n&&(a=e.getInitialState()),t(a,...s)}return i.unwrapped=t,i}var Ve=kd();function xd(){function e(t,r){return I({_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 Td({type:e,reducerName:t,createNotation:r},n,i){let o,s;if("reducer"in n){if(r&&!Pd(n))throw new Error(xe(17));o=n.reducer,s=n.prepare}else o=n;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,s?he(e,s):he(e))}function Rd(e){return e._reducerDefinitionType==="asyncThunk"}function Pd(e){return e._reducerDefinitionType==="reducerWithPrepare"}function Id({type:e,reducerName:t},r,n,i){if(!i)throw new Error(xe(18));const{payloadCreator:o,fulfilled:s,pending:a,rejected:u,settled:m,options:g}=r,h=i(e,o,g);n.exposeAction(t,h),s&&n.addCase(h.fulfilled,s),a&&n.addCase(h.pending,a),u&&n.addCase(h.rejected,u),m&&n.addMatcher(h.settled,m),n.exposeCaseReducer(t,{fulfilled:s||Rr,pending:a||Rr,rejected:u||Rr,settled:m||Rr})}function Rr(){}var io="listenerMiddleware";he(`${io}/add`);he(`${io}/removeAll`);he(`${io}/remove`);function xe(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 fc=(e=>(e.uninitialized="uninitialized",e.pending="pending",e.fulfilled="fulfilled",e.rejected="rejected",e))(fc||{});function Bd(e){return{status:e,isUninitialized:e==="uninitialized",isLoading:e==="pending",isSuccess:e==="fulfilled",isError:e==="rejected"}}function Fd(e){return new RegExp("(^|:)//").test(e)}var Dd=e=>e.replace(/\/$/,""),Md=e=>e.replace(/^\//,"");function Nd(e,t){if(!e)return t;if(!t)return e;if(Fd(t))return t;const r=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=Dd(e),t=Md(t),`${e}${r}${t}`}var hs=e=>[].concat(...e);function Od(){return typeof navigator=="undefined"||navigator.onLine===void 0?!0:navigator.onLine}function Ld(){return typeof document=="undefined"?!0:document.visibilityState!=="hidden"}var ms=je;function pc(e,t){if(e===t||!(ms(e)&&ms(t)||Array.isArray(e)&&Array.isArray(t)))return t;const r=Object.keys(t),n=Object.keys(e);let i=r.length===n.length;const o=Array.isArray(t)?[]:{};for(const s of r)o[s]=pc(e[s],t[s]),i&&(i=e[s]===o[s]);return i?e:o}var gs=(...e)=>fetch(...e),$d=e=>e.status>=200&&e.status<=299,zd=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function ys(e){if(!je(e))return e;const t=I({},e);for(const[r,n]of Object.entries(t))n===void 0&&delete t[r];return t}function Ud(h={}){var d=h,{baseUrl:e,prepareHeaders:t=c=>c,fetchFn:r=gs,paramsSerializer:n,isJsonContentType:i=zd,jsonContentType:o="application/json",jsonReplacer:s,timeout:a,responseHandler:u,validateStatus:m}=d,g=ot(d,["baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","jsonContentType","jsonReplacer","timeout","responseHandler","validateStatus"]);return typeof fetch=="undefined"&&r===gs&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),(l,f)=>pe(this,null,function*(){const{signal:p,getState:w,extra:v,endpoint:y,forced:b,type:S}=f;let E,Nt=typeof l=="string"?{url:l}:l,{url:C,headers:k=new Headers(g.headers),params:A=void 0,responseHandler:x=u!=null?u:"json",validateStatus:R=m!=null?m:$d,timeout:F=a}=Nt,P=ot(Nt,["url","headers","params","responseHandler","validateStatus","timeout"]),B=I($(I({},g),{signal:p}),P);k=new Headers(ys(k)),B.headers=(yield t(k,{getState:w,extra:v,endpoint:y,forced:b,type:S}))||k;const z=ie=>typeof ie=="object"&&(je(ie)||Array.isArray(ie)||typeof ie.toJSON=="function");if(!B.headers.has("content-type")&&z(B.body)&&B.headers.set("content-type",o),z(B.body)&&i(B.headers)&&(B.body=JSON.stringify(B.body,s)),A){const ie=~C.indexOf("?")?"&":"?",Re=n?n(A):new URLSearchParams(ys(A));C+=ie+Re}C=Nd(e,C);const Y=new Request(C,B);E={request:new Request(C,B)};let L,re=!1,Z=F&&setTimeout(()=>{re=!0,f.abort()},F);try{L=yield r(Y)}catch(ie){return{error:{status:re?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(ie)},meta:E}}finally{Z&&clearTimeout(Z)}const le=L.clone();E.response=le;let We,ne="";try{let ie;if(yield Promise.all([c(L,x).then(Re=>We=Re,Re=>ie=Re),le.text().then(Re=>ne=Re,()=>{})]),ie)throw ie}catch(ie){return{error:{status:"PARSING_ERROR",originalStatus:L.status,data:ne,error:String(ie)},meta:E}}return R(L,We)?{data:We,meta:E}:{error:{status:L.status,data:We},meta:E}});function c(l,f){return pe(this,null,function*(){if(typeof f=="function")return f(l);if(f==="content-type"&&(f=i(l.headers)?"json":"text"),f==="json"){const p=yield l.text();return p.length?JSON.parse(p):null}return l.text()})}}var ws=class{constructor(e,t=void 0){this.value=e,this.meta=t}},oo=he("__rtkq/focused"),hc=he("__rtkq/unfocused"),so=he("__rtkq/online"),mc=he("__rtkq/offline");function gc(e){return e.type==="query"}function jd(e){return e.type==="mutation"}function ao(e,t,r,n,i,o){return Hd(e)?e(t,r,n,i).map(hi).map(o):Array.isArray(e)?e.map(hi).map(o):[]}function Hd(e){return typeof e=="function"}function hi(e){return typeof e=="string"?{type:e}:e}function bs(e){return e!=null}function kt(e){let t=0;for(const r in e)t++;return t}var cr=Symbol("forceQueryFn"),mi=e=>typeof e[cr]=="function";function Wd({serializeQueryArgs:e,queryThunk:t,mutationThunk:r,api:n,context:i}){const o=new Map,s=new Map,{unsubscribeQueryResult:a,removeMutationResult:u,updateSubscriptionOptions:m}=n.internalActions;return{buildInitiateQuery:l,buildInitiateMutation:f,getRunningQueryThunk:g,getRunningMutationThunk:h,getRunningQueriesThunk:d,getRunningMutationsThunk:c};function g(p,w){return v=>{var S;const y=i.endpointDefinitions[p],b=e({queryArgs:w,endpointDefinition:y,endpointName:p});return(S=o.get(v))==null?void 0:S[b]}}function h(p,w){return v=>{var y;return(y=s.get(v))==null?void 0:y[w]}}function d(){return p=>Object.values(o.get(p)||{}).filter(bs)}function c(){return p=>Object.values(s.get(p)||{}).filter(bs)}function l(p,w){const v=(y,{subscribe:b=!0,forceRefetch:S,subscriptionOptions:E,[cr]:C}={})=>(k,A)=>{var le;const x=e({queryArgs:y,endpointDefinition:w,endpointName:p}),R=t({type:"query",subscribe:b,forceRefetch:S,subscriptionOptions:E,endpointName:p,originalArgs:y,queryCacheKey:x,[cr]:C}),F=n.endpoints[p].select(y),P=k(R),B=F(A()),{requestId:z,abort:Y}=P,j=B.requestId!==z,L=(le=o.get(k))==null?void 0:le[x],re=()=>F(A()),Z=Object.assign(C?P.then(re):j&&!L?Promise.resolve(B):Promise.all([L,P]).then(re),{arg:y,requestId:z,subscriptionOptions:E,queryCacheKey:x,abort:Y,unwrap(){return pe(this,null,function*(){const ne=yield Z;if(ne.isError)throw ne.error;return ne.data})},refetch:()=>k(v(y,{subscribe:!1,forceRefetch:!0})),unsubscribe(){b&&k(a({queryCacheKey:x,requestId:z}))},updateSubscriptionOptions(ne){Z.subscriptionOptions=ne,k(m({endpointName:p,requestId:z,queryCacheKey:x,options:ne}))}});if(!L&&!j&&!C){const ne=o.get(k)||{};ne[x]=Z,o.set(k,ne),Z.then(()=>{delete ne[x],kt(ne)||o.delete(k)})}return Z};return v}function f(p){return(w,{track:v=!0,fixedCacheKey:y}={})=>(b,S)=>{const E=r({type:"mutation",endpointName:p,originalArgs:w,track:v,fixedCacheKey:y}),C=b(E),{requestId:k,abort:A,unwrap:x}=C,R=C.unwrap().then(z=>({data:z})).catch(z=>({error:z})),F=()=>{b(u({requestId:k,fixedCacheKey:y}))},P=Object.assign(R,{arg:C.arg,requestId:k,abort:A,unwrap:x,reset:F}),B=s.get(b)||{};return s.set(b,B),B[k]=P,P.then(()=>{delete B[k],kt(B)||s.delete(b)}),y&&(B[y]=P,P.then(()=>{B[y]===P&&(delete B[y],kt(B)||s.delete(b))})),P}}}function vs(e){return e}function qd({reducerPath:e,baseQuery:t,context:{endpointDefinitions:r},serializeQueryArgs:n,api:i,assertTagType:o}){const s=(v,y,b,S)=>(E,C)=>{const k=r[v],A=n({queryArgs:y,endpointDefinition:k,endpointName:v});if(E(i.internalActions.queryResultPatched({queryCacheKey:A,patches:b})),!S)return;const x=i.endpoints[v].select(y)(C()),R=ao(k.providesTags,x.data,void 0,y,{},o);E(i.internalActions.updateProvidedBy({queryCacheKey:A,providedTags:R}))},a=(v,y,b,S=!0)=>(E,C)=>{const A=i.endpoints[v].select(y)(C());let x={patches:[],inversePatches:[],undo:()=>E(i.util.patchQueryData(v,y,x.inversePatches,S))};if(A.status==="uninitialized")return x;let R;if("data"in A)if(Me(A.data)){const[F,P,B]=ic(A.data,b);x.patches.push(...P),x.inversePatches.push(...B),R=F}else R=b(A.data),x.patches.push({op:"replace",path:[],value:R}),x.inversePatches.push({op:"replace",path:[],value:A.data});return E(i.util.patchQueryData(v,y,x.patches,S)),x},u=(v,y,b)=>S=>S(i.endpoints[v].initiate(y,{subscribe:!1,forceRefetch:!0,[cr]:()=>({data:b})})),m=(x,R)=>pe(this,[x,R],function*(v,{signal:y,abort:b,rejectWithValue:S,fulfillWithValue:E,dispatch:C,getState:k,extra:A}){const F=r[v.endpointName];try{let P=vs,B;const z={signal:y,abort:b,dispatch:C,getState:k,extra:A,endpoint:v.endpointName,type:v.type,forced:v.type==="query"?g(v,k()):void 0},Y=v.type==="query"?v[cr]:void 0;if(Y?B=Y():F.query?(B=yield t(F.query(v.originalArgs),z,F.extraOptions),F.transformResponse&&(P=F.transformResponse)):B=yield F.queryFn(v.originalArgs,z,F.extraOptions,j=>t(j,z,F.extraOptions)),B.error)throw new ws(B.error,B.meta);return E(yield P(B.data,B.meta,v.originalArgs),{fulfilledTimeStamp:Date.now(),baseQueryMeta:B.meta,[St]:!0})}catch(P){let B=P;if(B instanceof ws){let z=vs;F.query&&F.transformErrorResponse&&(z=F.transformErrorResponse);try{return S(yield z(B.value,B.meta,v.originalArgs),{baseQueryMeta:B.meta,[St]:!0})}catch(Y){B=Y}}throw console.error(B),B}});function g(v,y){var k,A,x,R;const b=(A=(k=y[e])==null?void 0:k.queries)==null?void 0:A[v.queryCacheKey],S=(x=y[e])==null?void 0:x.config.refetchOnMountOrArgChange,E=b==null?void 0:b.fulfilledTimeStamp,C=(R=v.forceRefetch)!=null?R:v.subscribe&&S;return C?C===!0||(Number(new Date)-Number(E))/1e3>=C:!1}const h=ps(`${e}/executeQuery`,m,{getPendingMeta(){return{startedTimeStamp:Date.now(),[St]:!0}},condition(v,{getState:y}){var x,R,F;const b=y(),S=(R=(x=b[e])==null?void 0:x.queries)==null?void 0:R[v.queryCacheKey],E=S==null?void 0:S.fulfilledTimeStamp,C=v.originalArgs,k=S==null?void 0:S.originalArgs,A=r[v.endpointName];return mi(v)?!0:(S==null?void 0:S.status)==="pending"?!1:g(v,b)||gc(A)&&((F=A==null?void 0:A.forceRefetch)!=null&&F.call(A,{currentArg:C,previousArg:k,endpointState:S,state:b}))?!0:!E},dispatchConditionRejection:!0}),d=ps(`${e}/executeMutation`,m,{getPendingMeta(){return{startedTimeStamp:Date.now(),[St]:!0}}}),c=v=>"force"in v,l=v=>"ifOlderThan"in v,f=(v,y,b)=>(S,E)=>{const C=c(b)&&b.force,k=l(b)&&b.ifOlderThan,A=(R=!0)=>i.endpoints[v].initiate(y,{forceRefetch:R}),x=i.endpoints[v].select(y)(E());if(C)S(A());else if(k){const R=x==null?void 0:x.fulfilledTimeStamp;if(!R){S(A());return}(Number(new Date)-Number(new Date(R)))/1e3>=k&&S(A())}else S(A(!1))};function p(v){return y=>{var b,S;return((S=(b=y==null?void 0:y.meta)==null?void 0:b.arg)==null?void 0:S.endpointName)===v}}function w(v,y){return{matchPending:Kt(no(v),p(y)),matchFulfilled:Kt(rt(v),p(y)),matchRejected:Kt(Rt(v),p(y))}}return{queryThunk:h,mutationThunk:d,prefetch:f,updateQueryData:a,upsertQueryData:u,patchQueryData:s,buildMatchThunkActions:w}}function yc(e,t,r,n){return ao(r[e.meta.arg.endpointName][t],rt(e)?e.payload:void 0,Sn(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,n)}function Pr(e,t,r){const n=e[t];n&&r(n)}function ur(e){var t;return(t="arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)!=null?t:e.requestId}function _s(e,t,r){const n=e[ur(t)];n&&r(n)}var Ut={};function Vd({reducerPath:e,queryThunk:t,mutationThunk:r,context:{endpointDefinitions:n,apiUid:i,extractRehydrationInfo:o,hasRehydrationInfo:s},assertTagType:a,config:u}){const m=he(`${e}/resetApiState`),g=Ve({name:`${e}/queries`,initialState:Ut,reducers:{removeQueryResult:{reducer(y,{payload:{queryCacheKey:b}}){delete y[b]},prepare:zt()},queryResultPatched:{reducer(y,{payload:{queryCacheKey:b,patches:S}}){Pr(y,b,E=>{E.data=as(E.data,S.concat())})},prepare:zt()}},extraReducers(y){y.addCase(t.pending,(b,{meta:S,meta:{arg:E}})=>{var k,A;const C=mi(E);(A=b[k=E.queryCacheKey])!=null||(b[k]={status:"uninitialized",endpointName:E.endpointName}),Pr(b,E.queryCacheKey,x=>{x.status="pending",x.requestId=C&&x.requestId?x.requestId:S.requestId,E.originalArgs!==void 0&&(x.originalArgs=E.originalArgs),x.startedTimeStamp=S.startedTimeStamp})}).addCase(t.fulfilled,(b,{meta:S,payload:E})=>{Pr(b,S.arg.queryCacheKey,C=>{var A;if(C.requestId!==S.requestId&&!mi(S.arg))return;const{merge:k}=n[S.arg.endpointName];if(C.status="fulfilled",k)if(C.data!==void 0){const{fulfilledTimeStamp:x,arg:R,baseQueryMeta:F,requestId:P}=S;let B=yr(C.data,z=>k(z,E,{arg:R.originalArgs,baseQueryMeta:F,fulfilledTimeStamp:x,requestId:P}));C.data=B}else C.data=E;else C.data=(A=n[S.arg.endpointName].structuralSharing)==null||A?pc(De(C.data)?$l(C.data):C.data,E):E;delete C.error,C.fulfilledTimeStamp=S.fulfilledTimeStamp})}).addCase(t.rejected,(b,{meta:{condition:S,arg:E,requestId:C},error:k,payload:A})=>{Pr(b,E.queryCacheKey,x=>{if(!S){if(x.requestId!==C)return;x.status="rejected",x.error=A!=null?A:k}})}).addMatcher(s,(b,S)=>{const{queries:E}=o(S);for(const[C,k]of Object.entries(E))((k==null?void 0:k.status)==="fulfilled"||(k==null?void 0:k.status)==="rejected")&&(b[C]=k)})}}),h=Ve({name:`${e}/mutations`,initialState:Ut,reducers:{removeMutationResult:{reducer(y,{payload:b}){const S=ur(b);S in y&&delete y[S]},prepare:zt()}},extraReducers(y){y.addCase(r.pending,(b,{meta:S,meta:{requestId:E,arg:C,startedTimeStamp:k}})=>{C.track&&(b[ur(S)]={requestId:E,status:"pending",endpointName:C.endpointName,startedTimeStamp:k})}).addCase(r.fulfilled,(b,{payload:S,meta:E})=>{E.arg.track&&_s(b,E,C=>{C.requestId===E.requestId&&(C.status="fulfilled",C.data=S,C.fulfilledTimeStamp=E.fulfilledTimeStamp)})}).addCase(r.rejected,(b,{payload:S,error:E,meta:C})=>{C.arg.track&&_s(b,C,k=>{k.requestId===C.requestId&&(k.status="rejected",k.error=S!=null?S:E)})}).addMatcher(s,(b,S)=>{const{mutations:E}=o(S);for(const[C,k]of Object.entries(E))((k==null?void 0:k.status)==="fulfilled"||(k==null?void 0:k.status)==="rejected")&&C!==(k==null?void 0:k.requestId)&&(b[C]=k)})}}),d=Ve({name:`${e}/invalidation`,initialState:Ut,reducers:{updateProvidedBy:{reducer(y,b){var C,k,A,x;const{queryCacheKey:S,providedTags:E}=b.payload;for(const R of Object.values(y))for(const F of Object.values(R)){const P=F.indexOf(S);P!==-1&&F.splice(P,1)}for(const{type:R,id:F}of E){const P=(x=(k=(C=y[R])!=null?C:y[R]={})[A=F||"__internal_without_id"])!=null?x:k[A]=[];P.includes(S)||P.push(S)}},prepare:zt()}},extraReducers(y){y.addCase(g.actions.removeQueryResult,(b,{payload:{queryCacheKey:S}})=>{for(const E of Object.values(b))for(const C of Object.values(E)){const k=C.indexOf(S);k!==-1&&C.splice(k,1)}}).addMatcher(s,(b,S)=>{var C,k,A,x;const{provided:E}=o(S);for(const[R,F]of Object.entries(E))for(const[P,B]of Object.entries(F)){const z=(x=(k=(C=b[R])!=null?C:b[R]={})[A=P||"__internal_without_id"])!=null?x:k[A]=[];for(const Y of B)z.includes(Y)||z.push(Y)}}).addMatcher(tt(rt(t),Sn(t)),(b,S)=>{const E=yc(S,"providesTags",n,a),{queryCacheKey:C}=S.meta.arg;d.caseReducers.updateProvidedBy(b,d.actions.updateProvidedBy({queryCacheKey:C,providedTags:E}))})}}),c=Ve({name:`${e}/subscriptions`,initialState:Ut,reducers:{updateSubscriptionOptions(y,b){},unsubscribeQueryResult(y,b){},internal_getRTKQSubscriptions(){}}}),l=Ve({name:`${e}/internalSubscriptions`,initialState:Ut,reducers:{subscriptionsUpdated:{reducer(y,b){return as(y,b.payload)},prepare:zt()}}}),f=Ve({name:`${e}/config`,initialState:I({online:Od(),focused:Ld(),middlewareRegistered:!1},u),reducers:{middlewareRegistered(y,{payload:b}){y.middlewareRegistered=y.middlewareRegistered==="conflict"||i!==b?"conflict":!0}},extraReducers:y=>{y.addCase(so,b=>{b.online=!0}).addCase(mc,b=>{b.online=!1}).addCase(oo,b=>{b.focused=!0}).addCase(hc,b=>{b.focused=!1}).addMatcher(s,b=>I({},b))}}),p=Ya({queries:g.reducer,mutations:h.reducer,provided:d.reducer,subscriptions:l.reducer,config:f.reducer}),w=(y,b)=>p(m.match(b)?void 0:y,b),v=$(I(I(I(I(I(I({},f.actions),g.actions),c.actions),l.actions),h.actions),d.actions),{resetApiState:m});return{reducer:w,actions:v}}var ut=Symbol.for("RTKQ/skipToken"),wc={status:"uninitialized"},Ss=yr(wc,()=>{}),Cs=yr(wc,()=>{});function Qd({serializeQueryArgs:e,reducerPath:t}){const r=g=>Ss,n=g=>Cs;return{buildQuerySelector:s,buildMutationSelector:a,selectInvalidatedBy:u,selectCachedArgsForQuery:m};function i(g){return I(I({},g),Bd(g.status))}function o(g){return g[t]}function s(g,h){return d=>{const c=e({queryArgs:d,endpointDefinition:h,endpointName:g});return Et(d===ut?r:p=>{var w,v,y;return(y=(v=(w=o(p))==null?void 0:w.queries)==null?void 0:v[c])!=null?y:Ss},i)}}function a(){return g=>{var l;let h;return typeof g=="object"?h=(l=ur(g))!=null?l:ut:h=g,Et(h===ut?n:f=>{var p,w,v;return(v=(w=(p=o(f))==null?void 0:p.mutations)==null?void 0:w[h])!=null?v:Cs},i)}}function u(g,h){var l;const d=g[t],c=new Set;for(const f of h.map(hi)){const p=d.provided[f.type];if(!p)continue;let w=(l=f.id!==void 0?p[f.id]:hs(Object.values(p)))!=null?l:[];for(const v of w)c.add(v)}return hs(Array.from(c.values()).map(f=>{const p=d.queries[f];return p?[{queryCacheKey:f,endpointName:p.endpointName,originalArgs:p.originalArgs}]:[]}))}function m(g,h){return Object.values(g[t].queries).filter(d=>(d==null?void 0:d.endpointName)===h&&d.status!=="uninitialized").map(d=>d.originalArgs)}}var wt=WeakMap?new WeakMap:void 0,Es=({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,s)=>je(s)?Object.keys(s).sort().reduce((a,u)=>(a[u]=s[u],a),{}):s);je(t)&&(wt==null||wt.set(t,i)),r=i}return`${e}(${r})`};function Kd(...e){return function(r){const n=ar(m=>{var g,h;return(h=r.extractRehydrationInfo)==null?void 0:h.call(r,m,{reducerPath:(g=r.reducerPath)!=null?g:"api"})}),i=$(I({reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1,invalidationBehavior:"delayed"},r),{extractRehydrationInfo:n,serializeQueryArgs(m){let g=Es;if("serializeQueryArgs"in m.endpointDefinition){const h=m.endpointDefinition.serializeQueryArgs;g=d=>{const c=h(d);return typeof c=="string"?c:Es($(I({},d),{queryArgs:c}))}}else r.serializeQueryArgs&&(g=r.serializeQueryArgs);return g(m)},tagTypes:[...r.tagTypes||[]]}),o={endpointDefinitions:{},batch(m){m()},apiUid:lc(),extractRehydrationInfo:n,hasRehydrationInfo:ar(m=>n(m)!=null)},s={injectEndpoints:u,enhanceEndpoints({addTagTypes:m,endpoints:g}){if(m)for(const h of m)i.tagTypes.includes(h)||i.tagTypes.push(h);if(g)for(const[h,d]of Object.entries(g))typeof d=="function"?d(o.endpointDefinitions[h]):Object.assign(o.endpointDefinitions[h]||{},d);return s}},a=e.map(m=>m.init(s,i,o));function u(m){const g=m.endpoints({query:h=>$(I({},h),{type:"query"}),mutation:h=>$(I({},h),{type:"mutation"})});for(const[h,d]of Object.entries(g))if(!(!m.overrideExisting&&h in o.endpointDefinitions)){o.endpointDefinitions[h]=d;for(const c of a)c.injectEndpoint(h,d)}return s}return s.injectEndpoints({endpoints:r.endpoints})}}function Jd(e){for(let t in e)return!1;return!0}var Yd=2147483647/1e3-1,Gd=({reducerPath:e,api:t,context:r,internalState:n})=>{const{removeQueryResult:i,unsubscribeQueryResult:o}=t.internalActions;function s(g){const h=n.currentSubscriptions[g];return!!h&&!Jd(h)}const a={},u=(g,h,d)=>{var c;if(o.match(g)){const l=h.getState()[e],{queryCacheKey:f}=g.payload;m(f,(c=l.queries[f])==null?void 0:c.endpointName,h,l.config)}if(t.util.resetApiState.match(g))for(const[l,f]of Object.entries(a))f&&clearTimeout(f),delete a[l];if(r.hasRehydrationInfo(g)){const l=h.getState()[e],{queries:f}=r.extractRehydrationInfo(g);for(const[p,w]of Object.entries(f))m(p,w==null?void 0:w.endpointName,h,l.config)}};function m(g,h,d,c){var w;const l=r.endpointDefinitions[h],f=(w=l==null?void 0:l.keepUnusedDataFor)!=null?w:c.keepUnusedDataFor;if(f===1/0)return;const p=Math.max(0,Math.min(f,Yd));if(!s(g)){const v=a[g];v&&clearTimeout(v),a[g]=setTimeout(()=>{s(g)||d.dispatch(i({queryCacheKey:g})),delete a[g]},p*1e3)}}return u},Xd=({reducerPath:e,context:t,context:{endpointDefinitions:r},mutationThunk:n,queryThunk:i,api:o,assertTagType:s,refetchQuery:a,internalState:u})=>{const{removeQueryResult:m}=o.internalActions,g=tt(rt(n),Sn(n)),h=tt(rt(n,i),Rt(n,i));let d=[];const c=(p,w)=>{g(p)?f(yc(p,"invalidatesTags",r,s),w):h(p)?f([],w):o.util.invalidateTags.match(p)&&f(ao(p.payload,void 0,void 0,void 0,void 0,s),w)};function l(p){var w,v;for(const y in p.queries)if(((w=p.queries[y])==null?void 0:w.status)==="pending")return!0;for(const y in p.mutations)if(((v=p.mutations[y])==null?void 0:v.status)==="pending")return!0;return!1}function f(p,w){const v=w.getState(),y=v[e];if(d.push(...p),y.config.invalidationBehavior==="delayed"&&l(y))return;const b=d;if(d=[],b.length===0)return;const S=o.util.selectInvalidatedBy(v,b);t.batch(()=>{var C;const E=Array.from(S.values());for(const{queryCacheKey:k}of E){const A=y.queries[k],x=(C=u.currentSubscriptions[k])!=null?C:{};A&&(kt(x)===0?w.dispatch(m({queryCacheKey:k})):A.status!=="uninitialized"&&w.dispatch(a(A,k)))}})}return c},Zd=({reducerPath:e,queryThunk:t,api:r,refetchQuery:n,internalState:i})=>{const o={},s=(d,c)=>{(r.internalActions.updateSubscriptionOptions.match(d)||r.internalActions.unsubscribeQueryResult.match(d))&&u(d.payload,c),(t.pending.match(d)||t.rejected.match(d)&&d.meta.condition)&&u(d.meta.arg,c),(t.fulfilled.match(d)||t.rejected.match(d)&&!d.meta.condition)&&a(d.meta.arg,c),r.util.resetApiState.match(d)&&g()};function a({queryCacheKey:d},c){const f=c.getState()[e].queries[d],p=i.currentSubscriptions[d];if(!f||f.status==="uninitialized")return;const w=h(p);if(!Number.isFinite(w))return;const v=o[d];v!=null&&v.timeout&&(clearTimeout(v.timeout),v.timeout=void 0);const y=Date.now()+w,b=o[d]={nextPollTimestamp:y,pollingInterval:w,timeout:setTimeout(()=>{b.timeout=void 0,c.dispatch(n(f,d))},w)}}function u({queryCacheKey:d},c){const f=c.getState()[e].queries[d],p=i.currentSubscriptions[d];if(!f||f.status==="uninitialized")return;const w=h(p);if(!Number.isFinite(w)){m(d);return}const v=o[d],y=Date.now()+w;(!v||y<v.nextPollTimestamp)&&a({queryCacheKey:d},c)}function m(d){const c=o[d];c!=null&&c.timeout&&clearTimeout(c.timeout),delete o[d]}function g(){for(const d of Object.keys(o))m(d)}function h(d={}){let c=Number.POSITIVE_INFINITY;for(let l in d)d[l].pollingInterval&&(c=Math.min(d[l].pollingInterval,c));return c}return s},ef=({reducerPath:e,context:t,api:r,refetchQuery:n,internalState:i})=>{const{removeQueryResult:o}=r.internalActions,s=(u,m)=>{oo.match(u)&&a(m,"refetchOnFocus"),so.match(u)&&a(m,"refetchOnReconnect")};function a(u,m){const g=u.getState()[e],h=g.queries,d=i.currentSubscriptions;t.batch(()=>{for(const c of Object.keys(d)){const l=h[c],f=d[c];if(!f||!l)continue;(Object.values(f).some(w=>w[m]===!0)||Object.values(f).every(w=>w[m]===void 0)&&g.config[m])&&(kt(f)===0?u.dispatch(o({queryCacheKey:c})):l.status!=="uninitialized"&&u.dispatch(n(l,c)))}})}return s},ks=new Error("Promise never resolved before cacheEntryRemoved."),tf=({api:e,reducerPath:t,context:r,queryThunk:n,mutationThunk:i,internalState:o})=>{const s=pi(n),a=pi(i),u=rt(n,i),m={},g=(c,l,f)=>{const p=h(c);if(n.pending.match(c)){const w=f[t].queries[p],v=l.getState()[t].queries[p];!w&&v&&d(c.meta.arg.endpointName,c.meta.arg.originalArgs,p,l,c.meta.requestId)}else if(i.pending.match(c))l.getState()[t].mutations[p]&&d(c.meta.arg.endpointName,c.meta.arg.originalArgs,p,l,c.meta.requestId);else if(u(c)){const w=m[p];w!=null&&w.valueResolved&&(w.valueResolved({data:c.payload,meta:c.meta.baseQueryMeta}),delete w.valueResolved)}else if(e.internalActions.removeQueryResult.match(c)||e.internalActions.removeMutationResult.match(c)){const w=m[p];w&&(delete m[p],w.cacheEntryRemoved())}else if(e.util.resetApiState.match(c))for(const[w,v]of Object.entries(m))delete m[w],v.cacheEntryRemoved()};function h(c){return s(c)?c.meta.arg.queryCacheKey:a(c)?c.meta.requestId:e.internalActions.removeQueryResult.match(c)?c.payload.queryCacheKey:e.internalActions.removeMutationResult.match(c)?ur(c.payload):""}function d(c,l,f,p,w){const v=r.endpointDefinitions[c],y=v==null?void 0:v.onCacheEntryAdded;if(!y)return;let b={};const S=new Promise(R=>{b.cacheEntryRemoved=R}),E=Promise.race([new Promise(R=>{b.valueResolved=R}),S.then(()=>{throw ks})]);E.catch(()=>{}),m[f]=b;const C=e.endpoints[c].select(v.type==="query"?l:f),k=p.dispatch((R,F,P)=>P),A=$(I({},p),{getCacheEntry:()=>C(p.getState()),requestId:w,extra:k,updateCachedData:v.type==="query"?R=>p.dispatch(e.util.updateQueryData(c,l,R)):void 0,cacheDataLoaded:E,cacheEntryRemoved:S}),x=y(l,A);Promise.resolve(x).catch(R=>{if(R!==ks)throw R})}return g},rf=({api:e,context:t,queryThunk:r,mutationThunk:n})=>{const i=no(r,n),o=Rt(r,n),s=rt(r,n),a={};return(m,g)=>{var h,d,c;if(i(m)){const{requestId:l,arg:{endpointName:f,originalArgs:p}}=m.meta,w=t.endpointDefinitions[f],v=w==null?void 0:w.onQueryStarted;if(v){const y={},b=new Promise((k,A)=>{y.resolve=k,y.reject=A});b.catch(()=>{}),a[l]=y;const S=e.endpoints[f].select(w.type==="query"?p:l),E=g.dispatch((k,A,x)=>x),C=$(I({},g),{getCacheEntry:()=>S(g.getState()),requestId:l,extra:E,updateCachedData:w.type==="query"?k=>g.dispatch(e.util.updateQueryData(f,p,k)):void 0,queryFulfilled:b});v(p,C)}}else if(s(m)){const{requestId:l,baseQueryMeta:f}=m.meta;(h=a[l])==null||h.resolve({data:m.payload,meta:f}),delete a[l]}else if(o(m)){const{requestId:l,rejectedWithValue:f,baseQueryMeta:p}=m.meta;(c=a[l])==null||c.reject({error:(d=m.payload)!=null?d:m.error,isUnhandledError:!f,meta:p}),delete a[l]}}},nf=({api:e,context:{apiUid:t},reducerPath:r})=>(n,i)=>{e.util.resetApiState.match(n)&&i.dispatch(e.internalActions.middlewareRegistered(t))},of=({api:e,queryThunk:t,internalState:r})=>{const n=`${e.reducerPath}/subscriptions`;let i=null,o=null;const{updateSubscriptionOptions:s,unsubscribeQueryResult:a}=e.internalActions,u=(c,l)=>{var p,w,v,y,b,S,E,C,k;if(s.match(l)){const{queryCacheKey:A,requestId:x,options:R}=l.payload;return(p=c==null?void 0:c[A])!=null&&p[x]&&(c[A][x]=R),!0}if(a.match(l)){const{queryCacheKey:A,requestId:x}=l.payload;return c[A]&&delete c[A][x],!0}if(e.internalActions.removeQueryResult.match(l))return delete c[l.payload.queryCacheKey],!0;if(t.pending.match(l)){const{meta:{arg:A,requestId:x}}=l,R=(v=c[w=A.queryCacheKey])!=null?v:c[w]={};return R[`${x}_running`]={},A.subscribe&&(R[x]=(b=(y=A.subscriptionOptions)!=null?y:R[x])!=null?b:{}),!0}let f=!1;if(t.fulfilled.match(l)||t.rejected.match(l)){const A=c[l.meta.arg.queryCacheKey]||{},x=`${l.meta.requestId}_running`;f||(f=!!A[x]),delete A[x]}if(t.rejected.match(l)){const{meta:{condition:A,arg:x,requestId:R}}=l;if(A&&x.subscribe){const F=(E=c[S=x.queryCacheKey])!=null?E:c[S]={};F[R]=(k=(C=x.subscriptionOptions)!=null?C:F[R])!=null?k:{},f=!0}}return f},m=()=>r.currentSubscriptions,d={getSubscriptions:m,getSubscriptionCount:c=>{var p;const f=(p=m()[c])!=null?p:{};return kt(f)},isRequestSubscribed:(c,l)=>{var p;const f=m();return!!((p=f==null?void 0:f[c])!=null&&p[l])}};return(c,l)=>{if(i||(i=JSON.parse(JSON.stringify(r.currentSubscriptions))),e.util.resetApiState.match(c))return i=r.currentSubscriptions={},o=null,[!0,!1];if(e.internalActions.internal_getRTKQSubscriptions.match(c))return[!1,d];const f=u(r.currentSubscriptions,c);let p=!0;if(f){o||(o=setTimeout(()=>{const y=JSON.parse(JSON.stringify(r.currentSubscriptions)),[,b]=ic(i,()=>y);l.next(e.internalActions.subscriptionsUpdated(b)),i=y,o=null},500));const w=typeof c.type=="string"&&!!c.type.startsWith(n),v=t.rejected.match(c)&&c.meta.condition&&!!c.meta.arg.subscribe;p=!w&&!v}return[p,!1]}};function sf(e){const{reducerPath:t,queryThunk:r,api:n,context:i}=e,{apiUid:o}=i,s={invalidateTags:he(`${t}/invalidateTags`)},a=h=>h.type.startsWith(`${t}/`),u=[nf,Gd,Xd,Zd,tf,rf];return{middleware:h=>{let d=!1,c={currentSubscriptions:{}};const l=$(I({},e),{internalState:c,refetchQuery:g,isThisApiSliceAction:a}),f=u.map(v=>v(l)),p=of(l),w=ef(l);return v=>y=>{if(!Ga(y))return v(y);d||(d=!0,h.dispatch(n.internalActions.middlewareRegistered(o)));const b=$(I({},h),{next:v}),S=h.getState(),[E,C]=p(y,b,S);let k;if(E?k=v(y):k=C,h.getState()[t]&&(w(y,b,S),a(y)||i.hasRehydrationInfo(y)))for(let A of f)A(y,b,S);return k}},actions:s};function g(h,d,c={}){return r(I({type:"query",endpointName:h.endpointName,originalArgs:h.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:d},c))}}function Xe(e,...t){return Object.assign(e,...t)}var As=Symbol(),af=()=>({name:As,init(e,{baseQuery:t,tagTypes:r,reducerPath:n,serializeQueryArgs:i,keepUnusedDataFor:o,refetchOnMountOrArgChange:s,refetchOnFocus:a,refetchOnReconnect:u,invalidationBehavior:m},g){Kl();const h=j=>j;Object.assign(e,{reducerPath:n,endpoints:{},internalActions:{onOnline:so,onOffline:mc,onFocus:oo,onFocusLost:hc},util:{}});const{queryThunk:d,mutationThunk:c,patchQueryData:l,updateQueryData:f,upsertQueryData:p,prefetch:w,buildMatchThunkActions:v}=qd({baseQuery:t,reducerPath:n,context:g,api:e,serializeQueryArgs:i,assertTagType:h}),{reducer:y,actions:b}=Vd({context:g,queryThunk:d,mutationThunk:c,reducerPath:n,assertTagType:h,config:{refetchOnFocus:a,refetchOnReconnect:u,refetchOnMountOrArgChange:s,keepUnusedDataFor:o,reducerPath:n,invalidationBehavior:m}});Xe(e.util,{patchQueryData:l,updateQueryData:f,upsertQueryData:p,prefetch:w,resetApiState:b.resetApiState}),Xe(e.internalActions,b);const{middleware:S,actions:E}=sf({reducerPath:n,context:g,queryThunk:d,mutationThunk:c,api:e,assertTagType:h});Xe(e.util,E),Xe(e,{reducer:y,middleware:S});const{buildQuerySelector:C,buildMutationSelector:k,selectInvalidatedBy:A,selectCachedArgsForQuery:x}=Qd({serializeQueryArgs:i,reducerPath:n});Xe(e.util,{selectInvalidatedBy:A,selectCachedArgsForQuery:x});const{buildInitiateQuery:R,buildInitiateMutation:F,getRunningMutationThunk:P,getRunningMutationsThunk:B,getRunningQueriesThunk:z,getRunningQueryThunk:Y}=Wd({queryThunk:d,mutationThunk:c,api:e,serializeQueryArgs:i,context:g});return Xe(e.util,{getRunningMutationThunk:P,getRunningMutationsThunk:B,getRunningQueryThunk:Y,getRunningQueriesThunk:z}),{name:As,injectEndpoint(j,L){var Z,le;const re=e;(le=(Z=re.endpoints)[j])!=null||(Z[j]={}),gc(L)?Xe(re.endpoints[j],{name:j,select:C(j,L),initiate:R(j,L)},v(d,j)):jd(L)&&Xe(re.endpoints[j],{name:j,select:k(),initiate:F(j)},v(c,j))}}}}),bc={exports:{}},vc={};const cf=cl(Zt);/**
8
+ */var oe=typeof Symbol=="function"&&Symbol.for,Ki=oe?Symbol.for("react.element"):60103,Ji=oe?Symbol.for("react.portal"):60106,an=oe?Symbol.for("react.fragment"):60107,cn=oe?Symbol.for("react.strict_mode"):60108,un=oe?Symbol.for("react.profiler"):60114,ln=oe?Symbol.for("react.provider"):60109,dn=oe?Symbol.for("react.context"):60110,Yi=oe?Symbol.for("react.async_mode"):60111,fn=oe?Symbol.for("react.concurrent_mode"):60111,pn=oe?Symbol.for("react.forward_ref"):60112,hn=oe?Symbol.for("react.suspense"):60113,ll=oe?Symbol.for("react.suspense_list"):60120,mn=oe?Symbol.for("react.memo"):60115,gn=oe?Symbol.for("react.lazy"):60116,dl=oe?Symbol.for("react.block"):60121,fl=oe?Symbol.for("react.fundamental"):60117,pl=oe?Symbol.for("react.responder"):60118,hl=oe?Symbol.for("react.scope"):60119;function Ce(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Ki:switch(e=e.type,e){case Yi:case fn:case an:case un:case cn:case hn:return e;default:switch(e=e&&e.$$typeof,e){case dn:case pn:case gn:case mn:case ln:return e;default:return t}}case Ji:return t}}}function Ua(e){return Ce(e)===fn}Q.AsyncMode=Yi;Q.ConcurrentMode=fn;Q.ContextConsumer=dn;Q.ContextProvider=ln;Q.Element=Ki;Q.ForwardRef=pn;Q.Fragment=an;Q.Lazy=gn;Q.Memo=mn;Q.Portal=Ji;Q.Profiler=un;Q.StrictMode=cn;Q.Suspense=hn;Q.isAsyncMode=function(e){return Ua(e)||Ce(e)===Yi};Q.isConcurrentMode=Ua;Q.isContextConsumer=function(e){return Ce(e)===dn};Q.isContextProvider=function(e){return Ce(e)===ln};Q.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ki};Q.isForwardRef=function(e){return Ce(e)===pn};Q.isFragment=function(e){return Ce(e)===an};Q.isLazy=function(e){return Ce(e)===gn};Q.isMemo=function(e){return Ce(e)===mn};Q.isPortal=function(e){return Ce(e)===Ji};Q.isProfiler=function(e){return Ce(e)===un};Q.isStrictMode=function(e){return Ce(e)===cn};Q.isSuspense=function(e){return Ce(e)===hn};Q.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===an||e===fn||e===un||e===cn||e===hn||e===ll||typeof e=="object"&&e!==null&&(e.$$typeof===gn||e.$$typeof===mn||e.$$typeof===ln||e.$$typeof===dn||e.$$typeof===pn||e.$$typeof===fl||e.$$typeof===pl||e.$$typeof===hl||e.$$typeof===dl)};Q.typeOf=Ce;$a.exports=Q;var ml=$a.exports,za=ml,gl={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},yl={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ja={};ja[za.ForwardRef]=gl;ja[za.Memo]=yl;var wl=!0;function Ha(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):n+=i+" "}),n}var Gi=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||wl===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},Xi=function(t,r,n){Gi(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 bl(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 vl={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},_l=/[A-Z]|^ms/g,Sl=/_EMO_([^_]+?)_([^]*?)_EMO_/g,qa=function(t){return t.charCodeAt(1)===45},Go=function(t){return t!=null&&typeof t!="boolean"},On=Pa(function(e){return qa(e)?e:e.replace(_l,"-$&").toLowerCase()}),Xo=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Sl,function(n,i,o){return De={name:i,styles:o,next:De},i})}return vl[t]!==1&&!qa(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 De={name:r.name,styles:r.styles,next:De},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)De={name:n.name,styles:n.styles,next:De},n=n.next;var i=r.styles+";";return i}return Cl(e,t,r)}case"function":{if(e!==void 0){var o=De,s=r(e);return De=o,tr(e,t,s)}break}}if(t==null)return r;var a=t[r];return a!==void 0?a:r}function Cl(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 s=r[o];if(typeof s!="object")t!=null&&t[s]!==void 0?n+=o+"{"+t[s]+"}":Go(s)&&(n+=On(o)+":"+Xo(o,s)+";");else if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var a=0;a<s.length;a++)Go(s[a])&&(n+=On(o)+":"+Xo(o,s[a])+";");else{var u=tr(e,t,s);switch(o){case"animation":case"animationName":{n+=On(o)+":"+u+";";break}default:n+=o+"{"+u+"}"}}}return n}var Zo=/label:\s*([^\s;\n{]+)\s*(;|$)/g,De,yn=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="";De=void 0;var s=t[0];s==null||s.raw===void 0?(i=!1,o+=tr(n,r,s)):o+=s[0];for(var a=1;a<t.length;a++)o+=tr(n,r,t[a]),i&&(o+=s[a]);Zo.lastIndex=0;for(var u="",m;(m=Zo.exec(o))!==null;)u+="-"+m[1];var g=bl(o)+u;return{name:g,styles:o,next:De}},kl=function(t){return t()},Wa=Xt.useInsertionEffect?Xt.useInsertionEffect:!1,Va=Wa||kl,es=Wa||mt,wn={}.hasOwnProperty,Qa=rn(typeof HTMLElement!="undefined"?La({key:"css"}):null),El=Qa.Provider,Zi=function(t){return ji(function(r,n){var i=Ft(Qa);return t(r,i,n)})},eo=rn({}),ai="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Ka=function(t,r){var n={};for(var i in r)wn.call(r,i)&&(n[i]=r[i]);return n[ai]=t,n},xl=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Gi(r,n,i),Va(function(){return Xi(r,n,i)}),null},Al=Zi(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var i=e[ai],o=[n],s="";typeof e.className=="string"?s=Ha(t.registered,o,e.className):e.className!=null&&(s=e.className+" ");var a=yn(o,void 0,Ft(eo));s+=t.key+"-"+a.name;var u={};for(var m in e)wn.call(e,m)&&m!=="css"&&m!==ai&&(u[m]=e[m]);return u.ref=r,u.className=s,X(_e,null,X(xl,{cache:t,serialized:a,isStringTag:typeof i=="string"}),X(i,u))}),Ja=Al,Tl=Zi(function(e,t){var r=e.styles,n=yn([r],void 0,Ft(eo)),i=xe();return es(function(){var o=t.key+"-global",s=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,u=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),u!==null&&(a=!0,u.setAttribute("data-emotion",o),s.hydrate([u])),i.current=[s,a],function(){s.flush()}},[t]),es(function(){var o=i.current,s=o[0],a=o[1];if(a){o[1]=!1;return}if(n.next!==void 0&&Xi(t,n.next,!0),s.tags.length){var u=s.tags[s.tags.length-1].nextElementSibling;s.before=u,s.flush()}t.insert("",n,s,!1)},[t,n.name]),null});function Rl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return yn(t)}var Pl=Fu,Il=function(t){return t!=="theme"},ts=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Pl:Il},rs=function(t,r,n){var i;if(r){var o=r.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(s){return t.__emotion_forwardProp(s)&&o(s)}:o}return typeof i!="function"&&n&&(i=t.__emotion_forwardProp),i},Ml=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Gi(r,n,i),Va(function(){return Xi(r,n,i)}),null},Fl=function e(t,r){var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,o,s;r!==void 0&&(o=r.label,s=r.target);var a=rs(t,r,n),u=a||ts(i),m=!u("as");return function(){var g=arguments,h=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&h.push("label:"+o+";"),g[0]==null||g[0].raw===void 0)h.push.apply(h,g);else{h.push(g[0][0]);for(var d=g.length,c=1;c<d;c++)h.push(g[c],g[0][c])}var l=Zi(function(f,p,w){var v=m&&f.as||i,y="",b=[],S=f;if(f.theme==null){S={};for(var k in f)S[k]=f[k];S.theme=Ft(eo)}typeof f.className=="string"?y=Ha(p.registered,b,f.className):f.className!=null&&(y=f.className+" ");var C=yn(h.concat(b),p.registered,S);y+=p.key+"-"+C.name,s!==void 0&&(y+=" "+s);var E=m&&a===void 0?ts(v):u,x={};for(var A in f)m&&A==="as"||E(A)&&(x[A]=f[A]);return x.className=y,x.ref=w,X(_e,null,X(Ml,{cache:p,serialized:C,isStringTag:typeof v=="string"}),X(v,x))});return l.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",l.defaultProps=t.defaultProps,l.__emotion_real=l,l.__emotion_base=i,l.__emotion_styles=h,l.__emotion_forwardProp=a,Object.defineProperty(l,"toString",{value:function(){return"."+s}}),l.withComponent=function(f,p){return e(f,Zn({},r,p,{shouldForwardProp:rs(l,p,!0)})).apply(void 0,h)},l}},Nl=["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=Fl.bind();Nl.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 Bl=typeof Symbol=="function"&&Symbol.observable||"@@observable",ns=Bl,Ln=()=>Math.random().toString(36).substring(7).split("").join("."),Dl={INIT:`@@redux/INIT${Ln()}`,REPLACE:`@@redux/REPLACE${Ln()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Ln()}`},Wr=Dl;function Ue(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 Ya(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(Ya)(e,t)}let n=e,i=t,o=new Map,s=o,a=0,u=!1;function m(){s===o&&(s=new Map,o.forEach((p,w)=>{s.set(w,p)}))}function g(){if(u)throw new Error(se(3));return i}function h(p){if(typeof p!="function")throw new Error(se(4));if(u)throw new Error(se(5));let w=!0;m();const v=a++;return s.set(v,p),function(){if(w){if(u)throw new Error(se(6));w=!1,m(),s.delete(v),o=null}}}function d(p){if(!Ue(p))throw new Error(se(7));if(typeof p.type=="undefined")throw new Error(se(8));if(typeof p.type!="string")throw new Error(se(17));if(u)throw new Error(se(9));try{u=!0,i=n(i,p)}finally{u=!1}return(o=s).forEach(v=>{v()}),p}function c(p){if(typeof p!="function")throw new Error(se(10));n=p,d({type:Wr.REPLACE})}function l(){const p=h;return{subscribe(w){if(typeof w!="object"||w===null)throw new Error(se(11));function v(){const b=w;b.next&&b.next(g())}return v(),{unsubscribe:p(v)}},[ns](){return this}}}return d({type:Wr.INIT}),{dispatch:d,subscribe:h,getState:g,replaceReducer:c,[ns]:l}}function Ol(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:Wr.INIT})=="undefined")throw new Error(se(12));if(typeof r(void 0,{type:Wr.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(se(13))})}function Ga(e){const t=Object.keys(e),r={};for(let o=0;o<t.length;o++){const s=t[o];typeof e[s]=="function"&&(r[s]=e[s])}const n=Object.keys(r);let i;try{Ol(r)}catch(o){i=o}return function(s={},a){if(i)throw i;let u=!1;const m={};for(let g=0;g<n.length;g++){const h=n[g],d=r[h],c=s[h],l=d(c,a);if(typeof l=="undefined")throw a&&a.type,new Error(se(14));m[h]=l,u=u||l!==c}return u=u||n.length!==Object.keys(s).length,u?m:s}}function Vr(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function Ll(...e){return t=>(r,n)=>{const i=t(r,n);let o=()=>{throw new Error(se(15))};const s={getState:i.getState,dispatch:(u,...m)=>o(u,...m)},a=e.map(u=>u(s));return o=Vr(...a)(i.dispatch),$(I({},i),{dispatch:o})}}function Xa(e){return Ue(e)&&"type"in e&&typeof e.type=="string"}var to=Symbol.for("immer-nothing"),Vt=Symbol.for("immer-draftable"),ge=Symbol.for("immer-state");function ue(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var dt=Object.getPrototypeOf;function Ie(e){return!!e&&!!e[ge]}function Me(e){var t;return e?Za(e)||Array.isArray(e)||!!e[Vt]||!!((t=e.constructor)!=null&&t[Vt])||hr(e)||mr(e):!1}var $l=Object.prototype.constructor.toString();function Za(e){if(!e||typeof e!="object")return!1;const t=dt(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)===$l}function Ul(e){return Ie(e)||ue(15,e),e[ge].base_}function rr(e,t){ft(e)===0?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function ft(e){const t=e[ge];return t?t.type_:Array.isArray(e)?1:hr(e)?2:mr(e)?3:0}function nr(e,t){return ft(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function $n(e,t){return ft(e)===2?e.get(t):e[t]}function ec(e,t,r){const n=ft(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function zl(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function hr(e){return e instanceof Map}function mr(e){return e instanceof Set}function at(e){return e.copy_||e.base_}function ci(e,t){if(hr(e))return new Map(e);if(mr(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&Za(e))return dt(e)?I({},e):Object.assign(Object.create(null),e);const r=Object.getOwnPropertyDescriptors(e);delete r[ge];let n=Reflect.ownKeys(r);for(let i=0;i<n.length;i++){const o=n[i],s=r[o];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(r[o]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[o]})}return Object.create(dt(e),r)}function ro(e,t=!1){return bn(e)||Ie(e)||!Me(e)||(ft(e)>1&&(e.set=e.add=e.clear=e.delete=jl),Object.freeze(e),t&&Object.entries(e).forEach(([r,n])=>ro(n,!0))),e}function jl(){ue(2)}function bn(e){return Object.isFrozen(e)}var ui={};function pt(e){const t=ui[e];return t||ue(0,e),t}function Hl(e,t){ui[e]||(ui[e]=t)}var ir;function tc(){return ir}function ql(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function is(e,t){t&&(pt("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function li(e){di(e),e.drafts_.forEach(Wl),e.drafts_=null}function di(e){e===ir&&(ir=e.parent_)}function os(e){return ir=ql(ir,e)}function Wl(e){const t=e[ge];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function ss(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[ge].modified_&&(li(t),ue(4)),Me(e)&&(e=Qr(t,e),t.parent_||Kr(t,e)),t.patches_&&pt("Patches").generateReplacementPatches_(r[ge].base_,e,t.patches_,t.inversePatches_)):e=Qr(t,r,[]),li(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==to?e:void 0}function Qr(e,t,r){if(bn(t))return t;const n=t[ge];if(!n)return rr(t,(i,o)=>as(e,n,t,i,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return Kr(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const i=n.copy_;let o=i,s=!1;n.type_===3&&(o=new Set(i),i.clear(),s=!0),rr(o,(a,u)=>as(e,n,i,a,u,r,s)),Kr(e,i,!1),r&&e.patches_&&pt("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function as(e,t,r,n,i,o,s){if(Ie(i)){const a=o&&t&&t.type_!==3&&!nr(t.assigned_,n)?o.concat(n):void 0,u=Qr(e,i,a);if(ec(r,n,u),Ie(u))e.canAutoFreeze_=!1;else return}else s&&r.add(i);if(Me(i)&&!bn(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Qr(e,i),(!t||!t.scope_.parent_)&&typeof n!="symbol"&&Object.prototype.propertyIsEnumerable.call(r,n)&&Kr(e,i)}}function Kr(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&ro(t,r)}function Vl(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:tc(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=n,o=no;r&&(i=[n],o=or);const{revoke:s,proxy:a}=Proxy.revocable(i,o);return n.draft_=a,n.revoke_=s,a}var no={get(e,t){if(t===ge)return e;const r=at(e);if(!nr(r,t))return Ql(e,r,t);const n=r[t];return e.finalized_||!Me(n)?n:n===Un(e.base_,t)?(zn(e),e.copy_[t]=pi(n,e)):n},has(e,t){return t in at(e)},ownKeys(e){return Reflect.ownKeys(at(e))},set(e,t,r){const n=rc(at(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const i=Un(at(e),t),o=i==null?void 0:i[ge];if(o&&o.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(zl(r,i)&&(r!==void 0||nr(e.base_,t)))return!0;zn(e),fi(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 Un(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,zn(e),fi(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(){ue(11)},getPrototypeOf(e){return dt(e.base_)},setPrototypeOf(){ue(12)}},or={};rr(no,(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 no.set.call(this,e[0],t,r,e[0])};function Un(e,t){const r=e[ge];return(r?at(r):e)[t]}function Ql(e,t,r){var i;const n=rc(t,r);return n?"value"in n?n.value:(i=n.get)==null?void 0:i.call(e.draft_):void 0}function rc(e,t){if(!(t in e))return;let r=dt(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=dt(r)}}function fi(e){e.modified_||(e.modified_=!0,e.parent_&&fi(e.parent_))}function zn(e){e.copy_||(e.copy_=ci(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Kl=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,r,n)=>{if(typeof t=="function"&&typeof r!="function"){const o=r;r=t;const s=this;return function(u=o,...m){return s.produce(u,g=>r.call(this,g,...m))}}typeof r!="function"&&ue(6),n!==void 0&&typeof n!="function"&&ue(7);let i;if(Me(t)){const o=os(this),s=pi(t,void 0);let a=!0;try{i=r(s),a=!1}finally{a?li(o):di(o)}return is(o,n),ss(i,o)}else if(!t||typeof t!="object"){if(i=r(t),i===void 0&&(i=t),i===to&&(i=void 0),this.autoFreeze_&&ro(i,!0),n){const o=[],s=[];pt("Patches").generateReplacementPatches_(t,i,o,s),n(o,s)}return i}else ue(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(s,...a)=>this.produceWithPatches(s,u=>t(u,...a));let n,i;return[this.produce(t,r,(s,a)=>{n=s,i=a}),n,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){Me(e)||ue(8),Ie(e)&&(e=nc(e));const t=os(this),r=pi(e,void 0);return r[ge].isManual_=!0,di(t),r}finishDraft(e,t){const r=e&&e[ge];(!r||!r.isManual_)&&ue(9);const{scope_:n}=r;return is(n,t),ss(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=pt("Patches").applyPatches_;return Ie(e)?n(e,t):this.produce(e,i=>n(i,t))}};function pi(e,t){const r=hr(e)?pt("MapSet").proxyMap_(e,t):mr(e)?pt("MapSet").proxySet_(e,t):Vl(e,t);return(t?t.scope_:tc()).drafts_.push(r),r}function nc(e){return Ie(e)||ue(10,e),ic(e)}function ic(e){if(!Me(e)||bn(e))return e;const t=e[ge];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=ci(e,t.scope_.immer_.useStrictShallowCopy_)}else r=ci(e,!0);return rr(r,(n,i)=>{ec(r,n,ic(i))}),t&&(t.finalized_=!1),r}function Jl(){const t="replace",r="add",n="remove";function i(d,c,l,f){switch(d.type_){case 0:case 2:return s(d,c,l,f);case 1:return o(d,c,l,f);case 3:return a(d,c,l,f)}}function o(d,c,l,f){let{base_:p,assigned_:w}=d,v=d.copy_;v.length<p.length&&([p,v]=[v,p],[l,f]=[f,l]);for(let y=0;y<p.length;y++)if(w[y]&&v[y]!==p[y]){const b=c.concat([y]);l.push({op:t,path:b,value:h(v[y])}),f.push({op:t,path:b,value:h(p[y])})}for(let y=p.length;y<v.length;y++){const b=c.concat([y]);l.push({op:r,path:b,value:h(v[y])})}for(let y=v.length-1;p.length<=y;--y){const b=c.concat([y]);f.push({op:n,path:b})}}function s(d,c,l,f){const{base_:p,copy_:w}=d;rr(d.assigned_,(v,y)=>{const b=$n(p,v),S=$n(w,v),k=y?nr(p,v)?t:r:n;if(b===S&&k===t)return;const C=c.concat(v);l.push(k===n?{op:k,path:C}:{op:k,path:C,value:S}),f.push(k===r?{op:n,path:C}:k===n?{op:r,path:C,value:h(b)}:{op:t,path:C,value:h(b)})})}function a(d,c,l,f){let{base_:p,copy_:w}=d,v=0;p.forEach(y=>{if(!w.has(y)){const b=c.concat([v]);l.push({op:n,path:b,value:y}),f.unshift({op:r,path:b,value:y})}v++}),v=0,w.forEach(y=>{if(!p.has(y)){const b=c.concat([v]);l.push({op:r,path:b,value:y}),f.unshift({op:n,path:b,value:y})}v++})}function u(d,c,l,f){l.push({op:t,path:[],value:c===to?void 0:c}),f.push({op:t,path:[],value:d})}function m(d,c){return c.forEach(l=>{const{path:f,op:p}=l;let w=d;for(let S=0;S<f.length-1;S++){const k=ft(w);let C=f[S];typeof C!="string"&&typeof C!="number"&&(C=""+C),(k===0||k===1)&&(C==="__proto__"||C==="constructor")&&ue(19),typeof w=="function"&&C==="prototype"&&ue(19),w=$n(w,C),typeof w!="object"&&ue(18,f.join("/"))}const v=ft(w),y=g(l.value),b=f[f.length-1];switch(p){case t:switch(v){case 2:return w.set(b,y);case 3:ue(16);default:return w[b]=y}case r:switch(v){case 1:return b==="-"?w.push(y):w.splice(b,0,y);case 2:return w.set(b,y);case 3:return w.add(y);default:return w[b]=y}case n:switch(v){case 1:return w.splice(b,1);case 2:return w.delete(b);case 3:return w.delete(l.value);default:return delete w[b]}default:ue(17,p)}}),d}function g(d){if(!Me(d))return d;if(Array.isArray(d))return d.map(g);if(hr(d))return new Map(Array.from(d.entries()).map(([l,f])=>[l,g(f)]));if(mr(d))return new Set(Array.from(d).map(g));const c=Object.create(dt(d));for(const l in d)c[l]=g(d[l]);return nr(d,Vt)&&(c[Vt]=d[Vt]),c}function h(d){return Ie(d)?g(d):d}Hl("Patches",{applyPatches_:m,generatePatches_:i,generateReplacementPatches_:u})}var Se=new Kl,gr=Se.produce,oc=Se.produceWithPatches.bind(Se);Se.setAutoFreeze.bind(Se);Se.setUseStrictShallowCopy.bind(Se);var cs=Se.applyPatches.bind(Se);Se.createDraft.bind(Se);Se.finishDraft.bind(Se);function Yl(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function Gl(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function Xl(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 us=e=>Array.isArray(e)?e:[e];function Zl(e){const t=Array.isArray(e[0])?e[0]:e;return Xl(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function ed(e,t){const r=[],{length:n}=e;for(let i=0;i<n;i++)r.push(e[i].apply(null,t));return r}var td=class{constructor(e){this.value=e}deref(){return this.value}},rd=typeof WeakRef!="undefined"?WeakRef:td,nd=0,ls=1;function Ar(){return{s:nd,v:void 0,o:null,p:null}}function sr(e,t={}){let r=Ar();const{resultEqualityCheck:n}=t;let i,o=0;function s(){var h,d;let a=r;const{length:u}=arguments;for(let c=0,l=u;c<l;c++){const f=arguments[c];if(typeof f=="function"||typeof f=="object"&&f!==null){let p=a.o;p===null&&(a.o=p=new WeakMap);const w=p.get(f);w===void 0?(a=Ar(),p.set(f,a)):a=w}else{let p=a.p;p===null&&(a.p=p=new Map);const w=p.get(f);w===void 0?(a=Ar(),p.set(f,a)):a=w}}const m=a;let g;if(a.s===ls?g=a.v:(g=e.apply(null,arguments),o++),m.s=ls,n){const c=(d=(h=i==null?void 0:i.deref)==null?void 0:h.call(i))!=null?d:i;c!=null&&n(c,g)&&(g=c,o!==0&&o--),i=typeof g=="object"&&g!==null||typeof g=="function"?new rd(g):g}return m.v=g,g}return s.clearCache=()=>{r=Ar(),s.resetResultsCount()},s.resultsCount=()=>o,s.resetResultsCount=()=>{o=0},s}function sc(e,...t){const r=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,n=(...i)=>{let o=0,s=0,a,u={},m=i.pop();typeof m=="object"&&(u=m,m=i.pop()),Yl(m,`createSelector expects an output function after the inputs, but received: [${typeof m}]`);const g=I(I({},r),u),{memoize:h,memoizeOptions:d=[],argsMemoize:c=sr,argsMemoizeOptions:l=[],devModeChecks:f={}}=g,p=us(d),w=us(l),v=Zl(i),y=h(function(){return o++,m.apply(null,arguments)},...p),b=c(function(){s++;const k=ed(v,arguments);return a=y.apply(null,k),a},...w);return Object.assign(b,{resultFunc:m,memoizedResultFunc:y,dependencies:v,dependencyRecomputations:()=>s,resetDependencyRecomputations:()=>{s=0},lastResult:()=>a,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:h,argsMemoize:c})};return Object.assign(n,{withTypes:()=>n}),n}var Ct=sc(sr),id=Object.assign((e,t=Ct)=>{Gl(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const r=Object.keys(e),n=r.map(o=>e[o]);return t(n,(...o)=>o.reduce((s,a,u)=>(s[r[u]]=a,s),{}))},{withTypes:()=>id});function ac(e){return({dispatch:r,getState:n})=>i=>o=>typeof o=="function"?o(r,n,e):i(o)}var od=ac(),sd=ac,ad=(...e)=>{const t=sc(...e);return(...r)=>{const n=t(...r),i=(o,...s)=>n(Ie(o)?nc(o):o,...s);return Object.assign(i,n),i}};ad(sr);var cd=typeof window!="undefined"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Vr:Vr.apply(null,arguments)},ud=e=>e&&typeof e.match=="function";function he(e,t){function r(...n){if(t){let i=t(...n);if(!i)throw new Error(Ae(0));return I(I({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=>Xa(n)&&n.type===e,r}var cc=class zt extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,zt.prototype)}static get[Symbol.species](){return zt}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new zt(...t[0].concat(this)):new zt(...t.concat(this))}};function ds(e){return Me(e)?gr(e,()=>{}):e}function fs(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(Ae(10));const n=r.insert(t,e);return e.set(t,n),n}function ld(e){return typeof e=="boolean"}var dd=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t!=null?t:{};let s=new cc;return r&&(ld(r)?s.push(od):s.push(sd(r.extraArgument))),s},_t="RTK_autoBatch",$t=()=>e=>({payload:e,meta:{[_t]:!0}}),uc=e=>t=>{setTimeout(t,e)},fd=typeof window!="undefined"&&window.requestAnimationFrame?window.requestAnimationFrame:uc(10),pd=(e={type:"raf"})=>t=>(...r)=>{const n=t(...r);let i=!0,o=!1,s=!1;const a=new Set,u=e.type==="tick"?queueMicrotask:e.type==="raf"?fd:e.type==="callback"?e.queueNotification:uc(e.timeout),m=()=>{s=!1,o&&(o=!1,a.forEach(g=>g()))};return Object.assign({},n,{subscribe(g){const h=()=>i&&g(),d=n.subscribe(h);return a.add(g),()=>{d(),a.delete(g)}},dispatch(g){var h;try{return i=!((h=g==null?void 0:g.meta)!=null&&h[_t]),o=!i,o&&(s||(s=!0,u(m))),n.dispatch(g)}finally{i=!0}}})},hd=e=>function(r){const{autoBatch:n=!0}=r!=null?r:{};let i=new cc(e);return n&&i.push(pd(typeof n=="object"?n:void 0)),i},md=!0;function gd(e){const t=dd(),{reducer:r=void 0,middleware:n,devTools:i=!0,preloadedState:o=void 0,enhancers:s=void 0}=e||{};let a;if(typeof r=="function")a=r;else if(Ue(r))a=Ga(r);else throw new Error(Ae(1));let u;typeof n=="function"?u=n(t):u=t();let m=Vr;i&&(m=cd(I({trace:!md},typeof i=="object"&&i)));const g=Ll(...u),h=hd(g);let d=typeof s=="function"?s(h):h();const c=m(...d);return Ya(a,o,c)}function lc(e){const t={},r=[];let n;const i={addCase(o,s){const a=typeof o=="string"?o:o.type;if(!a)throw new Error(Ae(28));if(a in t)throw new Error(Ae(29));return t[a]=s,i},addMatcher(o,s){return r.push({matcher:o,reducer:s}),i},addDefaultCase(o){return n=o,i}};return e(i),[t,r,n]}function yd(e){return typeof e=="function"}function wd(e,t){let[r,n,i]=lc(t),o;if(yd(e))o=()=>ds(e());else{const a=ds(e);o=()=>a}function s(a=o(),u){let m=[r[u.type],...n.filter(({matcher:g})=>g(u)).map(({reducer:g})=>g)];return m.filter(g=>!!g).length===0&&(m=[i]),m.reduce((g,h)=>{if(h)if(Ie(g)){const c=h(g,u);return c===void 0?g:c}else{if(Me(g))return gr(g,d=>h(d,u));{const d=h(g,u);if(d===void 0){if(g===null)return g;throw new Error(Ae(9))}return d}}return g},a)}return s.getInitialState=o,s}var bd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",dc=(e=21)=>{let t="",r=e;for(;r--;)t+=bd[Math.random()*64|0];return t},fc=(e,t)=>ud(e)?e.match(t):e(t);function tt(...e){return t=>e.some(r=>fc(r,t))}function Qt(...e){return t=>e.every(r=>fc(r,t))}function vn(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 yr(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function io(...e){return e.length===0?t=>vn(t,["pending"]):yr(e)?t=>{const r=e.map(i=>i.pending);return tt(...r)(t)}:io()(e[0])}function Tt(...e){return e.length===0?t=>vn(t,["rejected"]):yr(e)?t=>{const r=e.map(i=>i.rejected);return tt(...r)(t)}:Tt()(e[0])}function _n(...e){const t=r=>r&&r.meta&&r.meta.rejectedWithValue;return e.length===0?r=>Qt(Tt(...e),t)(r):yr(e)?r=>Qt(Tt(...e),t)(r):_n()(e[0])}function rt(...e){return e.length===0?t=>vn(t,["fulfilled"]):yr(e)?t=>{const r=e.map(i=>i.fulfilled);return tt(...r)(t)}:rt()(e[0])}function hi(...e){return e.length===0?t=>vn(t,["pending","fulfilled","rejected"]):yr(e)?t=>{const r=[];for(const i of e)r.push(i.pending,i.rejected,i.fulfilled);return tt(...r)(t)}:hi()(e[0])}var vd=["name","message","stack","code"],jn=class{constructor(e,t){Nn(this,"_type");this.payload=e,this.meta=t}},ps=class{constructor(e,t){Nn(this,"_type");this.payload=e,this.meta=t}},_d=e=>{if(typeof e=="object"&&e!==null){const t={};for(const r of vd)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},hs=(()=>{function e(t,r,n){const i=he(t+"/fulfilled",(u,m,g,h)=>({payload:u,meta:$(I({},h||{}),{arg:g,requestId:m,requestStatus:"fulfilled"})})),o=he(t+"/pending",(u,m,g)=>({payload:void 0,meta:$(I({},g||{}),{arg:m,requestId:u,requestStatus:"pending"})})),s=he(t+"/rejected",(u,m,g,h,d)=>({payload:h,error:(n&&n.serializeError||_d)(u||"Rejected"),meta:$(I({},d||{}),{arg:g,requestId:m,rejectedWithValue:!!h,requestStatus:"rejected",aborted:(u==null?void 0:u.name)==="AbortError",condition:(u==null?void 0:u.name)==="ConditionError"})}));function a(u){return(m,g,h)=>{const d=n!=null&&n.idGenerator?n.idGenerator(u):dc(),c=new AbortController;let l;function f(w){l=w,c.abort()}const p=function(){return pe(this,null,function*(){var y,b;let w;try{let S=(y=n==null?void 0:n.condition)==null?void 0:y.call(n,u,{getState:g,extra:h});if(Cd(S)&&(S=yield S),S===!1||c.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const k=new Promise((C,E)=>c.signal.addEventListener("abort",()=>E({name:"AbortError",message:l||"Aborted"})));m(o(d,u,(b=n==null?void 0:n.getPendingMeta)==null?void 0:b.call(n,{requestId:d,arg:u},{getState:g,extra:h}))),w=yield Promise.race([k,Promise.resolve(r(u,{dispatch:m,getState:g,extra:h,requestId:d,signal:c.signal,abort:f,rejectWithValue:(C,E)=>new jn(C,E),fulfillWithValue:(C,E)=>new ps(C,E)})).then(C=>{if(C instanceof jn)throw C;return C instanceof ps?i(C.payload,d,u,C.meta):i(C,d,u)})])}catch(S){w=S instanceof jn?s(null,d,u,S.payload,S.meta):s(S,d,u)}return n&&!n.dispatchConditionRejection&&s.match(w)&&w.meta.condition||m(w),w})}();return Object.assign(p,{abort:f,requestId:d,arg:u,unwrap(){return p.then(Sd)}})}}return Object.assign(a,{pending:o,rejected:s,fulfilled:i,settled:tt(s,i),typePrefix:t})}return e.withTypes=()=>e,e})();function Sd(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Cd(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var kd=Symbol.for("rtk-slice-createasyncthunk");function Ed(e,t){return`${e}/${t}`}function xd({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[kd];return function(i){const{name:o,reducerPath:s=o}=i;if(!o)throw new Error(Ae(11));const a=(typeof i.reducers=="function"?i.reducers(Td()):i.reducers)||{},u=Object.keys(a),m={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},g={addCase(p,w){const v=typeof p=="string"?p:p.type;if(!v)throw new Error(Ae(12));if(v in m.sliceCaseReducersByType)throw new Error(Ae(13));return m.sliceCaseReducersByType[v]=w,g},addMatcher(p,w){return m.sliceMatchers.push({matcher:p,reducer:w}),g},exposeAction(p,w){return m.actionCreators[p]=w,g},exposeCaseReducer(p,w){return m.sliceCaseReducersByName[p]=w,g}};u.forEach(p=>{const w=a[p],v={reducerName:p,type:Ed(o,p),createNotation:typeof i.reducers=="function"};Pd(w)?Md(v,w,g,t):Rd(v,w,g)});function h(){const[p={},w=[],v=void 0]=typeof i.extraReducers=="function"?lc(i.extraReducers):[i.extraReducers],y=I(I({},p),m.sliceCaseReducersByType);return wd(i.initialState,b=>{for(let S in y)b.addCase(S,y[S]);for(let S of m.sliceMatchers)b.addMatcher(S.matcher,S.reducer);for(let S of w)b.addMatcher(S.matcher,S.reducer);v&&b.addDefaultCase(v)})}const d=p=>p,c=new WeakMap;let l;const f={name:o,reducerPath:s,reducer(p,w){return l||(l=h()),l(p,w)},actions:m.actionCreators,caseReducers:m.sliceCaseReducersByName,getInitialState(){return l||(l=h()),l.getInitialState()},getSelectors(p=d){const w=fs(c,this,{insert:()=>new WeakMap});return fs(w,p,{insert:()=>{var y;const v={};for(const[b,S]of Object.entries((y=i.selectors)!=null?y:{}))v[b]=Ad(this,S,p,this!==f);return v}})},selectSlice(p){let w=p[this.reducerPath];return typeof w=="undefined"&&this!==f&&(w=this.getInitialState()),w},get selectors(){return this.getSelectors(this.selectSlice)},injectInto(p,y={}){var b=y,{reducerPath:w}=b,v=ot(b,["reducerPath"]);const S=w!=null?w:this.reducerPath;return p.inject({reducerPath:S,reducer:this.reducer},v),$(I({},this),{reducerPath:S})}};return f}}function Ad(e,t,r,n){function i(o,...s){let a=r.call(e,o);return typeof a=="undefined"&&n&&(a=e.getInitialState()),t(a,...s)}return i.unwrapped=t,i}var We=xd();function Td(){function e(t,r){return I({_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 Rd({type:e,reducerName:t,createNotation:r},n,i){let o,s;if("reducer"in n){if(r&&!Id(n))throw new Error(Ae(17));o=n.reducer,s=n.prepare}else o=n;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,s?he(e,s):he(e))}function Pd(e){return e._reducerDefinitionType==="asyncThunk"}function Id(e){return e._reducerDefinitionType==="reducerWithPrepare"}function Md({type:e,reducerName:t},r,n,i){if(!i)throw new Error(Ae(18));const{payloadCreator:o,fulfilled:s,pending:a,rejected:u,settled:m,options:g}=r,h=i(e,o,g);n.exposeAction(t,h),s&&n.addCase(h.fulfilled,s),a&&n.addCase(h.pending,a),u&&n.addCase(h.rejected,u),m&&n.addMatcher(h.settled,m),n.exposeCaseReducer(t,{fulfilled:s||Tr,pending:a||Tr,rejected:u||Tr,settled:m||Tr})}function Tr(){}var oo="listenerMiddleware";he(`${oo}/add`);he(`${oo}/removeAll`);he(`${oo}/remove`);function Ae(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 pc=(e=>(e.uninitialized="uninitialized",e.pending="pending",e.fulfilled="fulfilled",e.rejected="rejected",e))(pc||{});function Fd(e){return{status:e,isUninitialized:e==="uninitialized",isLoading:e==="pending",isSuccess:e==="fulfilled",isError:e==="rejected"}}function Nd(e){return new RegExp("(^|:)//").test(e)}var Bd=e=>e.replace(/\/$/,""),Dd=e=>e.replace(/^\//,"");function Od(e,t){if(!e)return t;if(!t)return e;if(Nd(t))return t;const r=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=Bd(e),t=Dd(t),`${e}${r}${t}`}var ms=e=>[].concat(...e);function Ld(){return typeof navigator=="undefined"||navigator.onLine===void 0?!0:navigator.onLine}function $d(){return typeof document=="undefined"?!0:document.visibilityState!=="hidden"}var gs=Ue;function hc(e,t){if(e===t||!(gs(e)&&gs(t)||Array.isArray(e)&&Array.isArray(t)))return t;const r=Object.keys(t),n=Object.keys(e);let i=r.length===n.length;const o=Array.isArray(t)?[]:{};for(const s of r)o[s]=hc(e[s],t[s]),i&&(i=e[s]===o[s]);return i?e:o}var ys=(...e)=>fetch(...e),Ud=e=>e.status>=200&&e.status<=299,zd=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function ws(e){if(!Ue(e))return e;const t=I({},e);for(const[r,n]of Object.entries(t))n===void 0&&delete t[r];return t}function jd(h={}){var d=h,{baseUrl:e,prepareHeaders:t=c=>c,fetchFn:r=ys,paramsSerializer:n,isJsonContentType:i=zd,jsonContentType:o="application/json",jsonReplacer:s,timeout:a,responseHandler:u,validateStatus:m}=d,g=ot(d,["baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","jsonContentType","jsonReplacer","timeout","responseHandler","validateStatus"]);return typeof fetch=="undefined"&&r===ys&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),(l,f)=>pe(this,null,function*(){const{signal:p,getState:w,extra:v,endpoint:y,forced:b,type:S}=f;let k,Bt=typeof l=="string"?{url:l}:l,{url:C,headers:E=new Headers(g.headers),params:x=void 0,responseHandler:A=u!=null?u:"json",validateStatus:R=m!=null?m:Ud,timeout:F=a}=Bt,P=ot(Bt,["url","headers","params","responseHandler","validateStatus","timeout"]),M=I($(I({},g),{signal:p}),P);E=new Headers(ws(E)),M.headers=(yield t(E,{getState:w,extra:v,endpoint:y,forced:b,type:S}))||E;const U=ie=>typeof ie=="object"&&(Ue(ie)||Array.isArray(ie)||typeof ie.toJSON=="function");if(!M.headers.has("content-type")&&U(M.body)&&M.headers.set("content-type",o),U(M.body)&&i(M.headers)&&(M.body=JSON.stringify(M.body,s)),x){const ie=~C.indexOf("?")?"&":"?",Te=n?n(x):new URLSearchParams(ws(x));C+=ie+Te}C=Od(e,C);const G=new Request(C,M);k={request:new Request(C,M)};let L,re=!1,Z=F&&setTimeout(()=>{re=!0,f.abort()},F);try{L=yield r(G)}catch(ie){return{error:{status:re?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(ie)},meta:k}}finally{Z&&clearTimeout(Z)}const le=L.clone();k.response=le;let He,ne="";try{let ie;if(yield Promise.all([c(L,A).then(Te=>He=Te,Te=>ie=Te),le.text().then(Te=>ne=Te,()=>{})]),ie)throw ie}catch(ie){return{error:{status:"PARSING_ERROR",originalStatus:L.status,data:ne,error:String(ie)},meta:k}}return R(L,He)?{data:He,meta:k}:{error:{status:L.status,data:He},meta:k}});function c(l,f){return pe(this,null,function*(){if(typeof f=="function")return f(l);if(f==="content-type"&&(f=i(l.headers)?"json":"text"),f==="json"){const p=yield l.text();return p.length?JSON.parse(p):null}return l.text()})}}var bs=class{constructor(e,t=void 0){this.value=e,this.meta=t}},so=he("__rtkq/focused"),mc=he("__rtkq/unfocused"),ao=he("__rtkq/online"),gc=he("__rtkq/offline");function yc(e){return e.type==="query"}function Hd(e){return e.type==="mutation"}function co(e,t,r,n,i,o){return qd(e)?e(t,r,n,i).map(mi).map(o):Array.isArray(e)?e.map(mi).map(o):[]}function qd(e){return typeof e=="function"}function mi(e){return typeof e=="string"?{type:e}:e}function vs(e){return e!=null}function kt(e){let t=0;for(const r in e)t++;return t}var ar=Symbol("forceQueryFn"),gi=e=>typeof e[ar]=="function";function Wd({serializeQueryArgs:e,queryThunk:t,mutationThunk:r,api:n,context:i}){const o=new Map,s=new Map,{unsubscribeQueryResult:a,removeMutationResult:u,updateSubscriptionOptions:m}=n.internalActions;return{buildInitiateQuery:l,buildInitiateMutation:f,getRunningQueryThunk:g,getRunningMutationThunk:h,getRunningQueriesThunk:d,getRunningMutationsThunk:c};function g(p,w){return v=>{var S;const y=i.endpointDefinitions[p],b=e({queryArgs:w,endpointDefinition:y,endpointName:p});return(S=o.get(v))==null?void 0:S[b]}}function h(p,w){return v=>{var y;return(y=s.get(v))==null?void 0:y[w]}}function d(){return p=>Object.values(o.get(p)||{}).filter(vs)}function c(){return p=>Object.values(s.get(p)||{}).filter(vs)}function l(p,w){const v=(y,{subscribe:b=!0,forceRefetch:S,subscriptionOptions:k,[ar]:C}={})=>(E,x)=>{var le;const A=e({queryArgs:y,endpointDefinition:w,endpointName:p}),R=t({type:"query",subscribe:b,forceRefetch:S,subscriptionOptions:k,endpointName:p,originalArgs:y,queryCacheKey:A,[ar]:C}),F=n.endpoints[p].select(y),P=E(R),M=F(x()),{requestId:U,abort:G}=P,j=M.requestId!==U,L=(le=o.get(E))==null?void 0:le[A],re=()=>F(x()),Z=Object.assign(C?P.then(re):j&&!L?Promise.resolve(M):Promise.all([L,P]).then(re),{arg:y,requestId:U,subscriptionOptions:k,queryCacheKey:A,abort:G,unwrap(){return pe(this,null,function*(){const ne=yield Z;if(ne.isError)throw ne.error;return ne.data})},refetch:()=>E(v(y,{subscribe:!1,forceRefetch:!0})),unsubscribe(){b&&E(a({queryCacheKey:A,requestId:U}))},updateSubscriptionOptions(ne){Z.subscriptionOptions=ne,E(m({endpointName:p,requestId:U,queryCacheKey:A,options:ne}))}});if(!L&&!j&&!C){const ne=o.get(E)||{};ne[A]=Z,o.set(E,ne),Z.then(()=>{delete ne[A],kt(ne)||o.delete(E)})}return Z};return v}function f(p){return(w,{track:v=!0,fixedCacheKey:y}={})=>(b,S)=>{const k=r({type:"mutation",endpointName:p,originalArgs:w,track:v,fixedCacheKey:y}),C=b(k),{requestId:E,abort:x,unwrap:A}=C,R=C.unwrap().then(U=>({data:U})).catch(U=>({error:U})),F=()=>{b(u({requestId:E,fixedCacheKey:y}))},P=Object.assign(R,{arg:C.arg,requestId:E,abort:x,unwrap:A,reset:F}),M=s.get(b)||{};return s.set(b,M),M[E]=P,P.then(()=>{delete M[E],kt(M)||s.delete(b)}),y&&(M[y]=P,P.then(()=>{M[y]===P&&(delete M[y],kt(M)||s.delete(b))})),P}}}function _s(e){return e}function Vd({reducerPath:e,baseQuery:t,context:{endpointDefinitions:r},serializeQueryArgs:n,api:i,assertTagType:o}){const s=(v,y,b,S)=>(k,C)=>{const E=r[v],x=n({queryArgs:y,endpointDefinition:E,endpointName:v});if(k(i.internalActions.queryResultPatched({queryCacheKey:x,patches:b})),!S)return;const A=i.endpoints[v].select(y)(C()),R=co(E.providesTags,A.data,void 0,y,{},o);k(i.internalActions.updateProvidedBy({queryCacheKey:x,providedTags:R}))},a=(v,y,b,S=!0)=>(k,C)=>{const x=i.endpoints[v].select(y)(C());let A={patches:[],inversePatches:[],undo:()=>k(i.util.patchQueryData(v,y,A.inversePatches,S))};if(x.status==="uninitialized")return A;let R;if("data"in x)if(Me(x.data)){const[F,P,M]=oc(x.data,b);A.patches.push(...P),A.inversePatches.push(...M),R=F}else R=b(x.data),A.patches.push({op:"replace",path:[],value:R}),A.inversePatches.push({op:"replace",path:[],value:x.data});return k(i.util.patchQueryData(v,y,A.patches,S)),A},u=(v,y,b)=>S=>S(i.endpoints[v].initiate(y,{subscribe:!1,forceRefetch:!0,[ar]:()=>({data:b})})),m=(A,R)=>pe(this,[A,R],function*(v,{signal:y,abort:b,rejectWithValue:S,fulfillWithValue:k,dispatch:C,getState:E,extra:x}){const F=r[v.endpointName];try{let P=_s,M;const U={signal:y,abort:b,dispatch:C,getState:E,extra:x,endpoint:v.endpointName,type:v.type,forced:v.type==="query"?g(v,E()):void 0},G=v.type==="query"?v[ar]:void 0;if(G?M=G():F.query?(M=yield t(F.query(v.originalArgs),U,F.extraOptions),F.transformResponse&&(P=F.transformResponse)):M=yield F.queryFn(v.originalArgs,U,F.extraOptions,j=>t(j,U,F.extraOptions)),M.error)throw new bs(M.error,M.meta);return k(yield P(M.data,M.meta,v.originalArgs),{fulfilledTimeStamp:Date.now(),baseQueryMeta:M.meta,[_t]:!0})}catch(P){let M=P;if(M instanceof bs){let U=_s;F.query&&F.transformErrorResponse&&(U=F.transformErrorResponse);try{return S(yield U(M.value,M.meta,v.originalArgs),{baseQueryMeta:M.meta,[_t]:!0})}catch(G){M=G}}throw console.error(M),M}});function g(v,y){var E,x,A,R;const b=(x=(E=y[e])==null?void 0:E.queries)==null?void 0:x[v.queryCacheKey],S=(A=y[e])==null?void 0:A.config.refetchOnMountOrArgChange,k=b==null?void 0:b.fulfilledTimeStamp,C=(R=v.forceRefetch)!=null?R:v.subscribe&&S;return C?C===!0||(Number(new Date)-Number(k))/1e3>=C:!1}const h=hs(`${e}/executeQuery`,m,{getPendingMeta(){return{startedTimeStamp:Date.now(),[_t]:!0}},condition(v,{getState:y}){var A,R,F;const b=y(),S=(R=(A=b[e])==null?void 0:A.queries)==null?void 0:R[v.queryCacheKey],k=S==null?void 0:S.fulfilledTimeStamp,C=v.originalArgs,E=S==null?void 0:S.originalArgs,x=r[v.endpointName];return gi(v)?!0:(S==null?void 0:S.status)==="pending"?!1:g(v,b)||yc(x)&&((F=x==null?void 0:x.forceRefetch)!=null&&F.call(x,{currentArg:C,previousArg:E,endpointState:S,state:b}))?!0:!k},dispatchConditionRejection:!0}),d=hs(`${e}/executeMutation`,m,{getPendingMeta(){return{startedTimeStamp:Date.now(),[_t]:!0}}}),c=v=>"force"in v,l=v=>"ifOlderThan"in v,f=(v,y,b)=>(S,k)=>{const C=c(b)&&b.force,E=l(b)&&b.ifOlderThan,x=(R=!0)=>i.endpoints[v].initiate(y,{forceRefetch:R}),A=i.endpoints[v].select(y)(k());if(C)S(x());else if(E){const R=A==null?void 0:A.fulfilledTimeStamp;if(!R){S(x());return}(Number(new Date)-Number(new Date(R)))/1e3>=E&&S(x())}else S(x(!1))};function p(v){return y=>{var b,S;return((S=(b=y==null?void 0:y.meta)==null?void 0:b.arg)==null?void 0:S.endpointName)===v}}function w(v,y){return{matchPending:Qt(io(v),p(y)),matchFulfilled:Qt(rt(v),p(y)),matchRejected:Qt(Tt(v),p(y))}}return{queryThunk:h,mutationThunk:d,prefetch:f,updateQueryData:a,upsertQueryData:u,patchQueryData:s,buildMatchThunkActions:w}}function wc(e,t,r,n){return co(r[e.meta.arg.endpointName][t],rt(e)?e.payload:void 0,_n(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 Ss(e,t,r){const n=e[cr(t)];n&&r(n)}var Ut={};function Qd({reducerPath:e,queryThunk:t,mutationThunk:r,context:{endpointDefinitions:n,apiUid:i,extractRehydrationInfo:o,hasRehydrationInfo:s},assertTagType:a,config:u}){const m=he(`${e}/resetApiState`),g=We({name:`${e}/queries`,initialState:Ut,reducers:{removeQueryResult:{reducer(y,{payload:{queryCacheKey:b}}){delete y[b]},prepare:$t()},queryResultPatched:{reducer(y,{payload:{queryCacheKey:b,patches:S}}){Rr(y,b,k=>{k.data=cs(k.data,S.concat())})},prepare:$t()}},extraReducers(y){y.addCase(t.pending,(b,{meta:S,meta:{arg:k}})=>{var E,x;const C=gi(k);(x=b[E=k.queryCacheKey])!=null||(b[E]={status:"uninitialized",endpointName:k.endpointName}),Rr(b,k.queryCacheKey,A=>{A.status="pending",A.requestId=C&&A.requestId?A.requestId:S.requestId,k.originalArgs!==void 0&&(A.originalArgs=k.originalArgs),A.startedTimeStamp=S.startedTimeStamp})}).addCase(t.fulfilled,(b,{meta:S,payload:k})=>{Rr(b,S.arg.queryCacheKey,C=>{var x;if(C.requestId!==S.requestId&&!gi(S.arg))return;const{merge:E}=n[S.arg.endpointName];if(C.status="fulfilled",E)if(C.data!==void 0){const{fulfilledTimeStamp:A,arg:R,baseQueryMeta:F,requestId:P}=S;let M=gr(C.data,U=>E(U,k,{arg:R.originalArgs,baseQueryMeta:F,fulfilledTimeStamp:A,requestId:P}));C.data=M}else C.data=k;else C.data=(x=n[S.arg.endpointName].structuralSharing)==null||x?hc(Ie(C.data)?Ul(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:E,payload:x})=>{Rr(b,k.queryCacheKey,A=>{if(!S){if(A.requestId!==C)return;A.status="rejected",A.error=x!=null?x:E}})}).addMatcher(s,(b,S)=>{const{queries:k}=o(S);for(const[C,E]of Object.entries(k))((E==null?void 0:E.status)==="fulfilled"||(E==null?void 0:E.status)==="rejected")&&(b[C]=E)})}}),h=We({name:`${e}/mutations`,initialState:Ut,reducers:{removeMutationResult:{reducer(y,{payload:b}){const S=cr(b);S in y&&delete y[S]},prepare:$t()}},extraReducers(y){y.addCase(r.pending,(b,{meta:S,meta:{requestId:k,arg:C,startedTimeStamp:E}})=>{C.track&&(b[cr(S)]={requestId:k,status:"pending",endpointName:C.endpointName,startedTimeStamp:E})}).addCase(r.fulfilled,(b,{payload:S,meta:k})=>{k.arg.track&&Ss(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&&Ss(b,C,E=>{E.requestId===C.requestId&&(E.status="rejected",E.error=S!=null?S:k)})}).addMatcher(s,(b,S)=>{const{mutations:k}=o(S);for(const[C,E]of Object.entries(k))((E==null?void 0:E.status)==="fulfilled"||(E==null?void 0:E.status)==="rejected")&&C!==(E==null?void 0:E.requestId)&&(b[C]=E)})}}),d=We({name:`${e}/invalidation`,initialState:Ut,reducers:{updateProvidedBy:{reducer(y,b){var C,E,x,A;const{queryCacheKey:S,providedTags:k}=b.payload;for(const R of Object.values(y))for(const F of Object.values(R)){const P=F.indexOf(S);P!==-1&&F.splice(P,1)}for(const{type:R,id:F}of k){const P=(A=(E=(C=y[R])!=null?C:y[R]={})[x=F||"__internal_without_id"])!=null?A:E[x]=[];P.includes(S)||P.push(S)}},prepare:$t()}},extraReducers(y){y.addCase(g.actions.removeQueryResult,(b,{payload:{queryCacheKey:S}})=>{for(const k of Object.values(b))for(const C of Object.values(k)){const E=C.indexOf(S);E!==-1&&C.splice(E,1)}}).addMatcher(s,(b,S)=>{var C,E,x,A;const{provided:k}=o(S);for(const[R,F]of Object.entries(k))for(const[P,M]of Object.entries(F)){const U=(A=(E=(C=b[R])!=null?C:b[R]={})[x=P||"__internal_without_id"])!=null?A:E[x]=[];for(const G of M)U.includes(G)||U.push(G)}}).addMatcher(tt(rt(t),_n(t)),(b,S)=>{const k=wc(S,"providesTags",n,a),{queryCacheKey:C}=S.meta.arg;d.caseReducers.updateProvidedBy(b,d.actions.updateProvidedBy({queryCacheKey:C,providedTags:k}))})}}),c=We({name:`${e}/subscriptions`,initialState:Ut,reducers:{updateSubscriptionOptions(y,b){},unsubscribeQueryResult(y,b){},internal_getRTKQSubscriptions(){}}}),l=We({name:`${e}/internalSubscriptions`,initialState:Ut,reducers:{subscriptionsUpdated:{reducer(y,b){return cs(y,b.payload)},prepare:$t()}}}),f=We({name:`${e}/config`,initialState:I({online:Ld(),focused:$d(),middlewareRegistered:!1},u),reducers:{middlewareRegistered(y,{payload:b}){y.middlewareRegistered=y.middlewareRegistered==="conflict"||i!==b?"conflict":!0}},extraReducers:y=>{y.addCase(ao,b=>{b.online=!0}).addCase(gc,b=>{b.online=!1}).addCase(so,b=>{b.focused=!0}).addCase(mc,b=>{b.focused=!1}).addMatcher(s,b=>I({},b))}}),p=Ga({queries:g.reducer,mutations:h.reducer,provided:d.reducer,subscriptions:l.reducer,config:f.reducer}),w=(y,b)=>p(m.match(b)?void 0:y,b),v=$(I(I(I(I(I(I({},f.actions),g.actions),c.actions),l.actions),h.actions),d.actions),{resetApiState:m});return{reducer:w,actions:v}}var ut=Symbol.for("RTKQ/skipToken"),bc={status:"uninitialized"},Cs=gr(bc,()=>{}),ks=gr(bc,()=>{});function Kd({serializeQueryArgs:e,reducerPath:t}){const r=g=>Cs,n=g=>ks;return{buildQuerySelector:s,buildMutationSelector:a,selectInvalidatedBy:u,selectCachedArgsForQuery:m};function i(g){return I(I({},g),Fd(g.status))}function o(g){return g[t]}function s(g,h){return d=>{const c=e({queryArgs:d,endpointDefinition:h,endpointName:g});return Ct(d===ut?r:p=>{var w,v,y;return(y=(v=(w=o(p))==null?void 0:w.queries)==null?void 0:v[c])!=null?y:Cs},i)}}function a(){return g=>{var l;let h;return typeof g=="object"?h=(l=cr(g))!=null?l:ut:h=g,Ct(h===ut?n:f=>{var p,w,v;return(v=(w=(p=o(f))==null?void 0:p.mutations)==null?void 0:w[h])!=null?v:ks},i)}}function u(g,h){var l;const d=g[t],c=new Set;for(const f of h.map(mi)){const p=d.provided[f.type];if(!p)continue;let w=(l=f.id!==void 0?p[f.id]:ms(Object.values(p)))!=null?l:[];for(const v of w)c.add(v)}return ms(Array.from(c.values()).map(f=>{const p=d.queries[f];return p?[{queryCacheKey:f,endpointName:p.endpointName,originalArgs:p.originalArgs}]:[]}))}function m(g,h){return Object.values(g[t].queries).filter(d=>(d==null?void 0:d.endpointName)===h&&d.status!=="uninitialized").map(d=>d.originalArgs)}}var yt=WeakMap?new WeakMap:void 0,Es=({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,s)=>Ue(s)?Object.keys(s).sort().reduce((a,u)=>(a[u]=s[u],a),{}):s);Ue(t)&&(yt==null||yt.set(t,i)),r=i}return`${e}(${r})`};function Jd(...e){return function(r){const n=sr(m=>{var g,h;return(h=r.extractRehydrationInfo)==null?void 0:h.call(r,m,{reducerPath:(g=r.reducerPath)!=null?g:"api"})}),i=$(I({reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1,invalidationBehavior:"delayed"},r),{extractRehydrationInfo:n,serializeQueryArgs(m){let g=Es;if("serializeQueryArgs"in m.endpointDefinition){const h=m.endpointDefinition.serializeQueryArgs;g=d=>{const c=h(d);return typeof c=="string"?c:Es($(I({},d),{queryArgs:c}))}}else r.serializeQueryArgs&&(g=r.serializeQueryArgs);return g(m)},tagTypes:[...r.tagTypes||[]]}),o={endpointDefinitions:{},batch(m){m()},apiUid:dc(),extractRehydrationInfo:n,hasRehydrationInfo:sr(m=>n(m)!=null)},s={injectEndpoints:u,enhanceEndpoints({addTagTypes:m,endpoints:g}){if(m)for(const h of m)i.tagTypes.includes(h)||i.tagTypes.push(h);if(g)for(const[h,d]of Object.entries(g))typeof d=="function"?d(o.endpointDefinitions[h]):Object.assign(o.endpointDefinitions[h]||{},d);return s}},a=e.map(m=>m.init(s,i,o));function u(m){const g=m.endpoints({query:h=>$(I({},h),{type:"query"}),mutation:h=>$(I({},h),{type:"mutation"})});for(const[h,d]of Object.entries(g))if(!(!m.overrideExisting&&h in o.endpointDefinitions)){o.endpointDefinitions[h]=d;for(const c of a)c.injectEndpoint(h,d)}return s}return s.injectEndpoints({endpoints:r.endpoints})}}function Yd(e){for(let t in e)return!1;return!0}var Gd=2147483647/1e3-1,Xd=({reducerPath:e,api:t,context:r,internalState:n})=>{const{removeQueryResult:i,unsubscribeQueryResult:o}=t.internalActions;function s(g){const h=n.currentSubscriptions[g];return!!h&&!Yd(h)}const a={},u=(g,h,d)=>{var c;if(o.match(g)){const l=h.getState()[e],{queryCacheKey:f}=g.payload;m(f,(c=l.queries[f])==null?void 0:c.endpointName,h,l.config)}if(t.util.resetApiState.match(g))for(const[l,f]of Object.entries(a))f&&clearTimeout(f),delete a[l];if(r.hasRehydrationInfo(g)){const l=h.getState()[e],{queries:f}=r.extractRehydrationInfo(g);for(const[p,w]of Object.entries(f))m(p,w==null?void 0:w.endpointName,h,l.config)}};function m(g,h,d,c){var w;const l=r.endpointDefinitions[h],f=(w=l==null?void 0:l.keepUnusedDataFor)!=null?w:c.keepUnusedDataFor;if(f===1/0)return;const p=Math.max(0,Math.min(f,Gd));if(!s(g)){const v=a[g];v&&clearTimeout(v),a[g]=setTimeout(()=>{s(g)||d.dispatch(i({queryCacheKey:g})),delete a[g]},p*1e3)}}return u},Zd=({reducerPath:e,context:t,context:{endpointDefinitions:r},mutationThunk:n,queryThunk:i,api:o,assertTagType:s,refetchQuery:a,internalState:u})=>{const{removeQueryResult:m}=o.internalActions,g=tt(rt(n),_n(n)),h=tt(rt(n,i),Tt(n,i));let d=[];const c=(p,w)=>{g(p)?f(wc(p,"invalidatesTags",r,s),w):h(p)?f([],w):o.util.invalidateTags.match(p)&&f(co(p.payload,void 0,void 0,void 0,void 0,s),w)};function l(p){var w,v;for(const y in p.queries)if(((w=p.queries[y])==null?void 0:w.status)==="pending")return!0;for(const y in p.mutations)if(((v=p.mutations[y])==null?void 0:v.status)==="pending")return!0;return!1}function f(p,w){const v=w.getState(),y=v[e];if(d.push(...p),y.config.invalidationBehavior==="delayed"&&l(y))return;const b=d;if(d=[],b.length===0)return;const S=o.util.selectInvalidatedBy(v,b);t.batch(()=>{var C;const k=Array.from(S.values());for(const{queryCacheKey:E}of k){const x=y.queries[E],A=(C=u.currentSubscriptions[E])!=null?C:{};x&&(kt(A)===0?w.dispatch(m({queryCacheKey:E})):x.status!=="uninitialized"&&w.dispatch(a(x,E)))}})}return c},ef=({reducerPath:e,queryThunk:t,api:r,refetchQuery:n,internalState:i})=>{const o={},s=(d,c)=>{(r.internalActions.updateSubscriptionOptions.match(d)||r.internalActions.unsubscribeQueryResult.match(d))&&u(d.payload,c),(t.pending.match(d)||t.rejected.match(d)&&d.meta.condition)&&u(d.meta.arg,c),(t.fulfilled.match(d)||t.rejected.match(d)&&!d.meta.condition)&&a(d.meta.arg,c),r.util.resetApiState.match(d)&&g()};function a({queryCacheKey:d},c){const f=c.getState()[e].queries[d],p=i.currentSubscriptions[d];if(!f||f.status==="uninitialized")return;const w=h(p);if(!Number.isFinite(w))return;const v=o[d];v!=null&&v.timeout&&(clearTimeout(v.timeout),v.timeout=void 0);const y=Date.now()+w,b=o[d]={nextPollTimestamp:y,pollingInterval:w,timeout:setTimeout(()=>{b.timeout=void 0,c.dispatch(n(f,d))},w)}}function u({queryCacheKey:d},c){const f=c.getState()[e].queries[d],p=i.currentSubscriptions[d];if(!f||f.status==="uninitialized")return;const w=h(p);if(!Number.isFinite(w)){m(d);return}const v=o[d],y=Date.now()+w;(!v||y<v.nextPollTimestamp)&&a({queryCacheKey:d},c)}function m(d){const c=o[d];c!=null&&c.timeout&&clearTimeout(c.timeout),delete o[d]}function g(){for(const d of Object.keys(o))m(d)}function h(d={}){let c=Number.POSITIVE_INFINITY;for(let l in d)d[l].pollingInterval&&(c=Math.min(d[l].pollingInterval,c));return c}return s},tf=({reducerPath:e,context:t,api:r,refetchQuery:n,internalState:i})=>{const{removeQueryResult:o}=r.internalActions,s=(u,m)=>{so.match(u)&&a(m,"refetchOnFocus"),ao.match(u)&&a(m,"refetchOnReconnect")};function a(u,m){const g=u.getState()[e],h=g.queries,d=i.currentSubscriptions;t.batch(()=>{for(const c of Object.keys(d)){const l=h[c],f=d[c];if(!f||!l)continue;(Object.values(f).some(w=>w[m]===!0)||Object.values(f).every(w=>w[m]===void 0)&&g.config[m])&&(kt(f)===0?u.dispatch(o({queryCacheKey:c})):l.status!=="uninitialized"&&u.dispatch(n(l,c)))}})}return s},xs=new Error("Promise never resolved before cacheEntryRemoved."),rf=({api:e,reducerPath:t,context:r,queryThunk:n,mutationThunk:i,internalState:o})=>{const s=hi(n),a=hi(i),u=rt(n,i),m={},g=(c,l,f)=>{const p=h(c);if(n.pending.match(c)){const w=f[t].queries[p],v=l.getState()[t].queries[p];!w&&v&&d(c.meta.arg.endpointName,c.meta.arg.originalArgs,p,l,c.meta.requestId)}else if(i.pending.match(c))l.getState()[t].mutations[p]&&d(c.meta.arg.endpointName,c.meta.arg.originalArgs,p,l,c.meta.requestId);else if(u(c)){const w=m[p];w!=null&&w.valueResolved&&(w.valueResolved({data:c.payload,meta:c.meta.baseQueryMeta}),delete w.valueResolved)}else if(e.internalActions.removeQueryResult.match(c)||e.internalActions.removeMutationResult.match(c)){const w=m[p];w&&(delete m[p],w.cacheEntryRemoved())}else if(e.util.resetApiState.match(c))for(const[w,v]of Object.entries(m))delete m[w],v.cacheEntryRemoved()};function h(c){return s(c)?c.meta.arg.queryCacheKey:a(c)?c.meta.requestId:e.internalActions.removeQueryResult.match(c)?c.payload.queryCacheKey:e.internalActions.removeMutationResult.match(c)?cr(c.payload):""}function d(c,l,f,p,w){const v=r.endpointDefinitions[c],y=v==null?void 0:v.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 xs})]);k.catch(()=>{}),m[f]=b;const C=e.endpoints[c].select(v.type==="query"?l:f),E=p.dispatch((R,F,P)=>P),x=$(I({},p),{getCacheEntry:()=>C(p.getState()),requestId:w,extra:E,updateCachedData:v.type==="query"?R=>p.dispatch(e.util.updateQueryData(c,l,R)):void 0,cacheDataLoaded:k,cacheEntryRemoved:S}),A=y(l,x);Promise.resolve(A).catch(R=>{if(R!==xs)throw R})}return g},nf=({api:e,context:t,queryThunk:r,mutationThunk:n})=>{const i=io(r,n),o=Tt(r,n),s=rt(r,n),a={};return(m,g)=>{var h,d,c;if(i(m)){const{requestId:l,arg:{endpointName:f,originalArgs:p}}=m.meta,w=t.endpointDefinitions[f],v=w==null?void 0:w.onQueryStarted;if(v){const y={},b=new Promise((E,x)=>{y.resolve=E,y.reject=x});b.catch(()=>{}),a[l]=y;const S=e.endpoints[f].select(w.type==="query"?p:l),k=g.dispatch((E,x,A)=>A),C=$(I({},g),{getCacheEntry:()=>S(g.getState()),requestId:l,extra:k,updateCachedData:w.type==="query"?E=>g.dispatch(e.util.updateQueryData(f,p,E)):void 0,queryFulfilled:b});v(p,C)}}else if(s(m)){const{requestId:l,baseQueryMeta:f}=m.meta;(h=a[l])==null||h.resolve({data:m.payload,meta:f}),delete a[l]}else if(o(m)){const{requestId:l,rejectedWithValue:f,baseQueryMeta:p}=m.meta;(c=a[l])==null||c.reject({error:(d=m.payload)!=null?d:m.error,isUnhandledError:!f,meta:p}),delete a[l]}}},of=({api:e,context:{apiUid:t},reducerPath:r})=>(n,i)=>{e.util.resetApiState.match(n)&&i.dispatch(e.internalActions.middlewareRegistered(t))},sf=({api:e,queryThunk:t,internalState:r})=>{const n=`${e.reducerPath}/subscriptions`;let i=null,o=null;const{updateSubscriptionOptions:s,unsubscribeQueryResult:a}=e.internalActions,u=(c,l)=>{var p,w,v,y,b,S,k,C,E;if(s.match(l)){const{queryCacheKey:x,requestId:A,options:R}=l.payload;return(p=c==null?void 0:c[x])!=null&&p[A]&&(c[x][A]=R),!0}if(a.match(l)){const{queryCacheKey:x,requestId:A}=l.payload;return c[x]&&delete c[x][A],!0}if(e.internalActions.removeQueryResult.match(l))return delete c[l.payload.queryCacheKey],!0;if(t.pending.match(l)){const{meta:{arg:x,requestId:A}}=l,R=(v=c[w=x.queryCacheKey])!=null?v:c[w]={};return R[`${A}_running`]={},x.subscribe&&(R[A]=(b=(y=x.subscriptionOptions)!=null?y:R[A])!=null?b:{}),!0}let f=!1;if(t.fulfilled.match(l)||t.rejected.match(l)){const x=c[l.meta.arg.queryCacheKey]||{},A=`${l.meta.requestId}_running`;f||(f=!!x[A]),delete x[A]}if(t.rejected.match(l)){const{meta:{condition:x,arg:A,requestId:R}}=l;if(x&&A.subscribe){const F=(k=c[S=A.queryCacheKey])!=null?k:c[S]={};F[R]=(E=(C=A.subscriptionOptions)!=null?C:F[R])!=null?E:{},f=!0}}return f},m=()=>r.currentSubscriptions,d={getSubscriptions:m,getSubscriptionCount:c=>{var p;const f=(p=m()[c])!=null?p:{};return kt(f)},isRequestSubscribed:(c,l)=>{var p;const f=m();return!!((p=f==null?void 0:f[c])!=null&&p[l])}};return(c,l)=>{if(i||(i=JSON.parse(JSON.stringify(r.currentSubscriptions))),e.util.resetApiState.match(c))return i=r.currentSubscriptions={},o=null,[!0,!1];if(e.internalActions.internal_getRTKQSubscriptions.match(c))return[!1,d];const f=u(r.currentSubscriptions,c);let p=!0;if(f){o||(o=setTimeout(()=>{const y=JSON.parse(JSON.stringify(r.currentSubscriptions)),[,b]=oc(i,()=>y);l.next(e.internalActions.subscriptionsUpdated(b)),i=y,o=null},500));const w=typeof c.type=="string"&&!!c.type.startsWith(n),v=t.rejected.match(c)&&c.meta.condition&&!!c.meta.arg.subscribe;p=!w&&!v}return[p,!1]}};function af(e){const{reducerPath:t,queryThunk:r,api:n,context:i}=e,{apiUid:o}=i,s={invalidateTags:he(`${t}/invalidateTags`)},a=h=>h.type.startsWith(`${t}/`),u=[of,Xd,Zd,ef,rf,nf];return{middleware:h=>{let d=!1,c={currentSubscriptions:{}};const l=$(I({},e),{internalState:c,refetchQuery:g,isThisApiSliceAction:a}),f=u.map(v=>v(l)),p=sf(l),w=tf(l);return v=>y=>{if(!Xa(y))return v(y);d||(d=!0,h.dispatch(n.internalActions.middlewareRegistered(o)));const b=$(I({},h),{next:v}),S=h.getState(),[k,C]=p(y,b,S);let E;if(k?E=v(y):E=C,h.getState()[t]&&(w(y,b,S),a(y)||i.hasRehydrationInfo(y)))for(let x of f)x(y,b,S);return E}},actions:s};function g(h,d,c={}){return r(I({type:"query",endpointName:h.endpointName,originalArgs:h.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:d},c))}}function Ge(e,...t){return Object.assign(e,...t)}var As=Symbol(),cf=()=>({name:As,init(e,{baseQuery:t,tagTypes:r,reducerPath:n,serializeQueryArgs:i,keepUnusedDataFor:o,refetchOnMountOrArgChange:s,refetchOnFocus:a,refetchOnReconnect:u,invalidationBehavior:m},g){Jl();const h=j=>j;Object.assign(e,{reducerPath:n,endpoints:{},internalActions:{onOnline:ao,onOffline:gc,onFocus:so,onFocusLost:mc},util:{}});const{queryThunk:d,mutationThunk:c,patchQueryData:l,updateQueryData:f,upsertQueryData:p,prefetch:w,buildMatchThunkActions:v}=Vd({baseQuery:t,reducerPath:n,context:g,api:e,serializeQueryArgs:i,assertTagType:h}),{reducer:y,actions:b}=Qd({context:g,queryThunk:d,mutationThunk:c,reducerPath:n,assertTagType:h,config:{refetchOnFocus:a,refetchOnReconnect:u,refetchOnMountOrArgChange:s,keepUnusedDataFor:o,reducerPath:n,invalidationBehavior:m}});Ge(e.util,{patchQueryData:l,updateQueryData:f,upsertQueryData:p,prefetch:w,resetApiState:b.resetApiState}),Ge(e.internalActions,b);const{middleware:S,actions:k}=af({reducerPath:n,context:g,queryThunk:d,mutationThunk:c,api:e,assertTagType:h});Ge(e.util,k),Ge(e,{reducer:y,middleware:S});const{buildQuerySelector:C,buildMutationSelector:E,selectInvalidatedBy:x,selectCachedArgsForQuery:A}=Kd({serializeQueryArgs:i,reducerPath:n});Ge(e.util,{selectInvalidatedBy:x,selectCachedArgsForQuery:A});const{buildInitiateQuery:R,buildInitiateMutation:F,getRunningMutationThunk:P,getRunningMutationsThunk:M,getRunningQueriesThunk:U,getRunningQueryThunk:G}=Wd({queryThunk:d,mutationThunk:c,api:e,serializeQueryArgs:i,context:g});return Ge(e.util,{getRunningMutationThunk:P,getRunningMutationsThunk:M,getRunningQueryThunk:G,getRunningQueriesThunk:U}),{name:As,injectEndpoint(j,L){var Z,le;const re=e;(le=(Z=re.endpoints)[j])!=null||(Z[j]={}),yc(L)?Ge(re.endpoints[j],{name:j,select:C(j,L),initiate:R(j,L)},v(d,j)):Hd(L)&&Ge(re.endpoints[j],{name:j,select:E(),initiate:F(j)},v(c,j))}}}}),vc={exports:{}},_c={};const uf=ul(Xt);/**
9
9
  * @license React
10
10
  * use-sync-external-store-with-selector.production.min.js
11
11
  *
@@ -13,14 +13,14 @@ var su=Object.defineProperty,au=Object.defineProperties;var cu=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 br=cf;function uf(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var lf=typeof Object.is=="function"?Object.is:uf,df=br.useSyncExternalStore,ff=br.useRef,pf=br.useEffect,hf=br.useMemo,mf=br.useDebugValue;vc.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var o=ff(null);if(o.current===null){var s={hasValue:!1,value:null};o.current=s}else s=o.current;o=hf(function(){function u(c){if(!m){if(m=!0,g=c,c=n(c),i!==void 0&&s.hasValue){var l=s.value;if(i(l,c))return h=l}return h=c}if(l=h,lf(g,c))return l;var f=n(c);return i!==void 0&&i(l,f)?l:(g=c,h=f)}var m=!1,g,h,d=r===void 0?null:r;return[function(){return u(t())},d===null?void 0:function(){return u(d())}]},[t,r,n,i]);var a=df(e,o[0],o[1]);return pf(function(){s.hasValue=!0,s.value=a},[a]),mf(a),a};bc.exports=vc;var gf=bc.exports,we="default"in Zt?Ta:Zt,xs=Symbol.for("react-redux-context"),Ts=typeof globalThis!="undefined"?globalThis:{};function yf(){var r;if(!we.createContext)return{};const e=(r=Ts[xs])!=null?r:Ts[xs]=new Map;let t=e.get(we.createContext);return t||(t=we.createContext(null),e.set(we.createContext,t)),t}var nt=yf(),wf=()=>{throw new Error("uSES not initialized!")};function co(e=nt){return function(){return we.useContext(e)}}var _c=co(),Sc=wf,bf=e=>{Sc=e},vf=(e,t)=>e===t;function _f(e=nt){const t=e===nt?_c:co(e);return function(n,i={}){const{equalityFn:o=vf,devModeChecks:s={}}=typeof i=="function"?{equalityFn:i}:i,{store:a,subscription:u,getServerState:m,stabilityCheck:g,identityFunctionCheck:h}=t();we.useRef(!0);const d=we.useCallback({[n.name](l){return n(l)}}[n.name],[n,g,s.stabilityCheck]),c=Sc(u.addNestedSub,a.getState,m||a.getState,d,o);return we.useDebugValue(c),c}}var Cc=_f();function Ec(e){e()}function Sf(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Ec(()=>{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 Rs={notify(){},get:()=>[]};function Cf(e,t){let r,n=Rs,i=0,o=!1;function s(f){g();const p=n.subscribe(f);let w=!1;return()=>{w||(w=!0,p(),h())}}function a(){n.notify()}function u(){l.onStateChange&&l.onStateChange()}function m(){return o}function g(){i++,r||(r=t?t.addNestedSub(u):e.subscribe(u),n=Sf())}function h(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=Rs)}function d(){o||(o=!0,g())}function c(){o&&(o=!1,h())}const l={addNestedSub:s,notifyNestedSubs:a,handleChangeWrapper:u,isSubscribed:m,trySubscribe:d,tryUnsubscribe:c,getListeners:()=>n};return l}var Ef=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",kf=Ef?we.useLayoutEffect:we.useEffect;function Ps(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function Yr(e,t){if(Ps(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])||!Ps(e[r[i]],t[r[i]]))return!1;return!0}function Af({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const s=we.useMemo(()=>{const m=Cf(e);return{store:e,subscription:m,getServerState:n?()=>n:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,n,i,o]),a=we.useMemo(()=>e.getState(),[e]);kf(()=>{const{subscription:m}=s;return m.onStateChange=m.notifyNestedSubs,m.trySubscribe(),a!==e.getState()&&m.notifyNestedSubs(),()=>{m.tryUnsubscribe(),m.onStateChange=void 0}},[s,a]);const u=t||nt;return we.createElement(u.Provider,{value:s},r)}var xf=Af;function kc(e=nt){const t=e===nt?_c:co(e);return function(){const{store:n}=t();return n}}var Ac=kc();function Tf(e=nt){const t=e===nt?Ac:kc(e);return function(){return t().dispatch}}var xc=Tf(),Rf=Ec;bf(gf.useSyncExternalStoreWithSelector);function Is(e,t,r,n){const i=ae(()=>({queryArgs:e,serialized:typeof e=="object"?t({queryArgs:e,endpointDefinition:r,endpointName:n}):e}),[e,t,r,n]),o=Ae(i);return te(()=>{o.current.serialized!==i.serialized&&(o.current=i)},[i]),o.current.serialized===i.serialized?o.current.queryArgs:e}var Hn=Symbol();function Wn(e){const t=Ae(e);return te(()=>{Yr(t.current,e)||(t.current=e)},[e]),Yr(t.current,e)?t.current:e}var bt=WeakMap?new WeakMap:void 0,Pf=({endpointName:e,queryArgs:t})=>{let r="";const n=bt==null?void 0:bt.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,s)=>je(s)?Object.keys(s).sort().reduce((a,u)=>(a[u]=s[u],a),{}):s);je(t)&&(bt==null||bt.set(t,i)),r=i}return`${e}(${r})`},If=typeof window!="undefined"&&window.document&&window.document.createElement?mt:te,Bf=e=>e.isUninitialized?$(I({},e),{isUninitialized:!1,isFetching:!0,isLoading:e.data===void 0,status:fc.pending}):e;function Ff({api:e,moduleOptions:{batch:t,hooks:{useDispatch:r,useSelector:n,useStore:i},unstable__sideEffectsInRender:o},serializeQueryArgs:s,context:a}){const u=o?c=>c():te;return{buildQueryHooks:h,buildMutationHook:d,usePrefetch:g};function m(c,l,f){if(l!=null&&l.endpointName&&c.isUninitialized){const{endpointName:S}=l,E=a.endpointDefinitions[S];s({queryArgs:l.originalArgs,endpointDefinition:E,endpointName:S})===s({queryArgs:f,endpointDefinition:E,endpointName:S})&&(l=void 0)}let p=c.isSuccess?c.data:l==null?void 0:l.data;p===void 0&&(p=c.data);const w=p!==void 0,v=c.isLoading,y=!w&&v,b=c.isSuccess||v&&w;return $(I({},c),{data:p,currentData:c.data,isFetching:v,isLoading:y,isSuccess:b})}function g(c,l){const f=r(),p=Wn(l);return vt((w,v)=>f(e.util.prefetch(c,w,I(I({},p),v))),[c,f,p])}function h(c){const l=(w,{refetchOnReconnect:v,refetchOnFocus:y,refetchOnMountOrArgChange:b,skip:S=!1,pollingInterval:E=0}={})=>{const{initiate:C}=e.endpoints[c],k=r(),A=Ae();if(!A.current){const L=k(e.internalActions.internal_getRTKQSubscriptions());A.current=L}const x=Is(S?ut:w,Pf,a.endpointDefinitions[c],c),R=Wn({refetchOnReconnect:v,refetchOnFocus:y,pollingInterval:E}),F=Ae(!1),P=Ae();let{queryCacheKey:B,requestId:z}=P.current||{},Y=!1;B&&z&&(Y=A.current.isRequestSubscribed(B,z));const j=!Y&&F.current;return u(()=>{F.current=Y}),u(()=>{j&&(P.current=void 0)},[j]),u(()=>{var Z;const L=P.current;if(x===ut){L==null||L.unsubscribe(),P.current=void 0;return}const re=(Z=P.current)==null?void 0:Z.subscriptionOptions;if(!L||L.arg!==x){L==null||L.unsubscribe();const le=k(C(x,{subscriptionOptions:R,forceRefetch:b}));P.current=le}else R!==re&&L.updateSubscriptionOptions(R)},[k,C,b,x,R,j]),te(()=>()=>{var L;(L=P.current)==null||L.unsubscribe(),P.current=void 0},[]),ae(()=>({refetch:()=>{var L;if(!P.current)throw new Error(xe(38));return(L=P.current)==null?void 0:L.refetch()}}),[])},f=({refetchOnReconnect:w,refetchOnFocus:v,pollingInterval:y=0}={})=>{const{initiate:b}=e.endpoints[c],S=r(),[E,C]=be(Hn),k=Ae(),A=Wn({refetchOnReconnect:w,refetchOnFocus:v,pollingInterval:y});u(()=>{var P,B;const F=(P=k.current)==null?void 0:P.subscriptionOptions;A!==F&&((B=k.current)==null||B.updateSubscriptionOptions(A))},[A]);const x=Ae(A);u(()=>{x.current=A},[A]);const R=vt(function(F,P=!1){let B;return t(()=>{var z;(z=k.current)==null||z.unsubscribe(),k.current=B=S(b(F,{subscriptionOptions:x.current,forceRefetch:!P})),C(F)}),B},[S,b]);return te(()=>()=>{var F;(F=k==null?void 0:k.current)==null||F.unsubscribe()},[]),te(()=>{E!==Hn&&!k.current&&R(E,!0)},[E,R]),ae(()=>[R,E],[R,E])},p=(w,{skip:v=!1,selectFromResult:y}={})=>{const{select:b}=e.endpoints[c],S=Is(v?ut:w,s,a.endpointDefinitions[c],c),E=Ae(),C=ae(()=>Et([b(S),(F,P)=>P,F=>S],m),[b,S]),k=ae(()=>y?Et([C],y,{devModeChecks:{identityFunctionCheck:"never"}}):C,[C,y]),A=n(F=>k(F,E.current),Yr),x=i(),R=C(x.getState(),E.current);return If(()=>{E.current=R},[R]),A};return{useQueryState:p,useQuerySubscription:l,useLazyQuerySubscription:f,useLazyQuery(w){const[v,y]=f(w),b=p(y,$(I({},w),{skip:y===Hn})),S=ae(()=>({lastArg:y}),[y]);return ae(()=>[v,b,S],[v,b,S])},useQuery(w,v){const y=l(w,v),b=p(w,I({selectFromResult:w===ut||v!=null&&v.skip?void 0:Bf},v)),{data:S,status:E,isLoading:C,isSuccess:k,isError:A,error:x}=b;return Hr({data:S,status:E,isLoading:C,isSuccess:k,isError:A,error:x}),ae(()=>I(I({},b),y),[b,y])}}}function d(c){return({selectFromResult:l,fixedCacheKey:f}={})=>{const{select:p,initiate:w}=e.endpoints[c],v=r(),[y,b]=be();te(()=>()=>{y!=null&&y.arg.fixedCacheKey||y==null||y.reset()},[y]);const S=vt(function(Z){const le=v(w(Z,{fixedCacheKey:f}));return b(le),le},[v,w,f]),{requestId:E}=y||{},C=ae(()=>p({fixedCacheKey:f,requestId:y==null?void 0:y.requestId}),[f,y,p]),k=ae(()=>l?Et([C],l):C,[l,C]),A=n(k,Yr),x=f==null?y==null?void 0:y.arg.originalArgs:void 0,R=vt(()=>{t(()=>{y&&b(void 0),f&&v(e.internalActions.removeMutationResult({requestId:E,fixedCacheKey:f}))})},[v,f,y,E]),{endpointName:F,data:P,status:B,isLoading:z,isSuccess:Y,isError:j,error:L}=A;Hr({endpointName:F,data:P,status:B,isLoading:z,isSuccess:Y,isError:j,error:L});const re=ae(()=>$(I({},A),{originalArgs:x,reset:R}),[A,x,R]);return ae(()=>[S,re],[S,re])}}}function Df(e){return e.type==="query"}function Mf(e){return e.type==="mutation"}function qn(e){return e.replace(e[0],e[0].toUpperCase())}function Ir(e,...t){return Object.assign(e,...t)}var Nf=Symbol(),Of=(i={})=>{var o=i,{batch:e=Rf,hooks:t={useDispatch:xc,useSelector:Cc,useStore:Ac},unstable__sideEffectsInRender:r=!1}=o,n=ot(o,["batch","hooks","unstable__sideEffectsInRender"]);return{name:Nf,init(s,{serializeQueryArgs:a},u){const m=s,{buildQueryHooks:g,buildMutationHook:h,usePrefetch:d}=Ff({api:s,moduleOptions:{batch:e,hooks:t,unstable__sideEffectsInRender:r},serializeQueryArgs:a,context:u});return Ir(m,{usePrefetch:d}),Ir(u,{batch:e}),{injectEndpoint(c,l){if(Df(l)){const{useQuery:f,useLazyQuery:p,useLazyQuerySubscription:w,useQueryState:v,useQuerySubscription:y}=g(c);Ir(m.endpoints[c],{useQuery:f,useLazyQuery:p,useLazyQuerySubscription:w,useQueryState:v,useQuerySubscription:y}),s[`use${qn(c)}Query`]=f,s[`useLazy${qn(c)}Query`]=p}else if(Mf(l)){const f=h(c);Ir(m.endpoints[c],{useMutation:f}),s[`use${qn(c)}Mutation`]=f}}}}}},Tc=Kd(af(),Of());const Rc=(e,t,r)=>pe(void 0,null,function*(){const n=t.getState().session.backendUrl;return Ud({baseUrl:n,prepareHeaders:(i,{getState:o})=>{const{session:s}=o();return i.set("Accept","application/json"),i.set("Authorization",`Bearer ${s.accessToken}`),i}})(e,t,r)}),Be=Tc({baseQuery:Rc,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:Lf,useByofCampaignConnectQuery:Pc,useAppLoadedMutation:$f,useErrorLogsMutation:ug}=Be;var gi={exports:{}};(function(e,t){(function(r,n){var i="1.0.37",o="",s="?",a="function",u="undefined",m="object",g="string",h="major",d="model",c="name",l="type",f="vendor",p="version",w="architecture",v="console",y="mobile",b="tablet",S="smarttv",E="wearable",C="embedded",k=500,A="Amazon",x="Apple",R="ASUS",F="BlackBerry",P="Browser",B="Chrome",z="Edge",Y="Firefox",j="Google",L="Huawei",re="LG",Z="Microsoft",le="Motorola",We="Opera",ne="Samsung",Nt="Sharp",ie="Sony",Re="Xiaomi",Rn="Zebra",bo="Facebook",vo="Chromium OS",_o="Mac OS",nu=function(U,V){var N={};for(var J in U)V[J]&&V[J].length%2===0?N[J]=V[J].concat(U[J]):N[J]=U[J];return N},Cr=function(U){for(var V={},N=0;N<U.length;N++)V[U[N].toUpperCase()]=U[N];return V},So=function(U,V){return typeof U===g?Ot(V).indexOf(Ot(U))!==-1:!1},Ot=function(U){return U.toLowerCase()},iu=function(U){return typeof U===g?U.replace(/[^\d\.]/g,o).split(".")[0]:n},Pn=function(U,V){if(typeof U===g)return U=U.replace(/^\s\s*/,o),typeof V===u?U:U.substring(0,k)},Lt=function(U,V){for(var N=0,J,Ge,Ne,q,M,Oe;N<V.length&&!M;){var Bn=V[N],ko=V[N+1];for(J=Ge=0;J<Bn.length&&!M&&Bn[J];)if(M=Bn[J++].exec(U),M)for(Ne=0;Ne<ko.length;Ne++)Oe=M[++Ge],q=ko[Ne],typeof q===m&&q.length>0?q.length===2?typeof q[1]==a?this[q[0]]=q[1].call(this,Oe):this[q[0]]=q[1]:q.length===3?typeof q[1]===a&&!(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;N+=2}},In=function(U,V){for(var N in V)if(typeof V[N]===m&&V[N].length>0){for(var J=0;J<V[N].length;J++)if(So(V[N][J],U))return N===s?n:N}else if(So(V[N],U))return N===s?n:N;return U},ou={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Co={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"},Eo={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[p,[c,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[p,[c,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[c,p],[/opios[\/ ]+([\w\.]+)/i],[p,[c,We+" Mini"]],[/\bopr\/([\w\.]+)/i],[p,[c,We]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[p,[c,"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],[c,p],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[p,[c,"UC"+P]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[p,[c,"WeChat"]],[/konqueror\/([\w\.]+)/i],[p,[c,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[p,[c,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[p,[c,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[p,[c,"Smart Lenovo "+P]],[/(avast|avg)\/([\w\.]+)/i],[[c,/(.+)/,"$1 Secure "+P],p],[/\bfocus\/([\w\.]+)/i],[p,[c,Y+" Focus"]],[/\bopt\/([\w\.]+)/i],[p,[c,We+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[c,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[c,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[c,We+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[c,"MIUI "+P]],[/fxios\/([-\w\.]+)/i],[p,[c,Y]],[/\bqihu|(qi?ho?o?|360)browser/i],[[c,"360 "+P]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[c,/(.+)/,"$1 "+P],p],[/samsungbrowser\/([\w\.]+)/i],[p,[c,ne+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[c,/_/g," "],p],[/metasr[\/ ]?([\d\.]+)/i],[p,[c,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[c,"Sogou Mobile"],p],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[c,p],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[c],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[c,bo],p],[/(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],[c,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[c,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[p,[c,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[c,B+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[c,B+" WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[c,"Android "+P]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[c,p],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[p,[c,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[p,c],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[c,[p,In,ou]],[/(webkit|khtml)\/([\w\.]+)/i],[c,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[c,"Netscape"],p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[c,Y+" 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],[c,p],[/(cobalt)\/([\w\.]+)/i],[c,[p,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[w,"amd64"]],[/(ia32(?=;))/i],[[w,Ot]],[/((?:i[346]|x)86)[;\)]/i],[[w,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[w,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[w,"armhf"]],[/windows (ce|mobile); ppc;/i],[[w,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[w,/ower/,o,Ot]],[/(sun4\w)[;\)]/i],[[w,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[w,Ot]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[f,ne],[l,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[f,ne],[l,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[f,x],[l,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[f,x],[l,b]],[/(macintosh);/i],[d,[f,x]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[f,Nt],[l,y]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[f,L],[l,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[f,L],[l,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],[[d,/_/g," "],[f,Re],[l,y]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[f,Re],[l,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[f,"OPPO"],[l,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[f,"Vivo"],[l,y]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[f,"Realme"],[l,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],[d,[f,le],[l,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[f,le],[l,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[f,re],[l,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[f,re],[l,y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[f,"Lenovo"],[l,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[f,"Nokia"],[l,y]],[/(pixel c)\b/i],[d,[f,j],[l,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[f,j],[l,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],[d,[f,ie],[l,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[f,ie],[l,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[f,"OnePlus"],[l,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[f,A],[l,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[f,A],[l,y]],[/(playbook);[-\w\),; ]+(rim)/i],[d,f,[l,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[f,F],[l,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[f,R],[l,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[f,R],[l,y]],[/(nexus 9)/i],[d,[f,"HTC"],[l,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[f,[d,/_/g," "],[l,y]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[f,"Acer"],[l,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[f,"Meizu"],[l,y]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[f,"Ulefone"],[l,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],[f,d,[l,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],[f,d,[l,b]],[/(surface duo)/i],[d,[f,Z],[l,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[f,"Fairphone"],[l,y]],[/(u304aa)/i],[d,[f,"AT&T"],[l,y]],[/\bsie-(\w*)/i],[d,[f,"Siemens"],[l,y]],[/\b(rct\w+) b/i],[d,[f,"RCA"],[l,b]],[/\b(venue[\d ]{2,7}) b/i],[d,[f,"Dell"],[l,b]],[/\b(q(?:mv|ta)\w+) b/i],[d,[f,"Verizon"],[l,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[f,"Barnes & Noble"],[l,b]],[/\b(tm\d{3}\w+) b/i],[d,[f,"NuVision"],[l,b]],[/\b(k88) b/i],[d,[f,"ZTE"],[l,b]],[/\b(nx\d{3}j) b/i],[d,[f,"ZTE"],[l,y]],[/\b(gen\d{3}) b.+49h/i],[d,[f,"Swiss"],[l,y]],[/\b(zur\d{3}) b/i],[d,[f,"Swiss"],[l,b]],[/\b((zeki)?tb.*\b) b/i],[d,[f,"Zeki"],[l,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[f,"Dragon Touch"],d,[l,b]],[/\b(ns-?\w{0,9}) b/i],[d,[f,"Insignia"],[l,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[f,"NextBook"],[l,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[f,"Voice"],d,[l,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[f,"LvTel"],d,[l,y]],[/\b(ph-1) /i],[d,[f,"Essential"],[l,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[f,"Envizen"],[l,b]],[/\b(trio[-\w\. ]+) b/i],[d,[f,"MachSpeed"],[l,b]],[/\btu_(1491) b/i],[d,[f,"Rotor"],[l,b]],[/(shield[\w ]+) b/i],[d,[f,"Nvidia"],[l,b]],[/(sprint) (\w+)/i],[f,d,[l,y]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[f,Z],[l,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[f,Rn],[l,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[f,Rn],[l,y]],[/smart-tv.+(samsung)/i],[f,[l,S]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[f,ne],[l,S]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[f,re],[l,S]],[/(apple) ?tv/i],[f,[d,x+" TV"],[l,S]],[/crkey/i],[[d,B+"cast"],[f,j],[l,S]],[/droid.+aft(\w+)( bui|\))/i],[d,[f,A],[l,S]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[f,Nt],[l,S]],[/(bravia[\w ]+)( bui|\))/i],[d,[f,ie],[l,S]],[/(mitv-\w{5}) bui/i],[d,[f,Re],[l,S]],[/Hbbtv.*(technisat) (.*);/i],[f,d,[l,S]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[f,Pn],[d,Pn],[l,S]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[l,S]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[f,d,[l,v]],[/droid.+; (shield) bui/i],[d,[f,"Nvidia"],[l,v]],[/(playstation [345portablevi]+)/i],[d,[f,ie],[l,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[f,Z],[l,v]],[/((pebble))app/i],[f,d,[l,E]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[f,x],[l,E]],[/droid.+; (glass) \d/i],[d,[f,j],[l,E]],[/droid.+; (wt63?0{2,3})\)/i],[d,[f,Rn],[l,E]],[/(quest( 2| pro)?)/i],[d,[f,bo],[l,E]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[f,[l,C]],[/(aeobc)\b/i],[d,[f,A],[l,C]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[l,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[l,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[l,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[l,y]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[f,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[p,[c,z+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[c,"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],[c,p],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,c]],os:[[/microsoft (windows) (vista|xp)/i],[c,p],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[c,[p,In,Co]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[p,In,Co],[c,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[p,/_/g,"."],[c,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[c,_o],[p,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[p,c],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[c,p],[/\(bb(10);/i],[p,[c,F]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[c,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[c,Y+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[c,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[p,[c,"watchOS"]],[/crkey\/([\d\.]+)/i],[p,[c,B+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[c,vo],p],[/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],[c,p],[/(sunos) ?([\w\.\d]*)/i],[[c,"Solaris"],p],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[c,p]]},Pe=function(U,V){if(typeof U===m&&(V=U,U=n),!(this instanceof Pe))return new Pe(U,V).getResult();var N=typeof r!==u&&r.navigator?r.navigator:n,J=U||(N&&N.userAgent?N.userAgent:o),Ge=N&&N.userAgentData?N.userAgentData:n,Ne=V?nu(Eo,V):Eo,q=N&&N.userAgent==J;return this.getBrowser=function(){var M={};return M[c]=n,M[p]=n,Lt.call(M,J,Ne.browser),M[h]=iu(M[p]),q&&N&&N.brave&&typeof N.brave.isBrave==a&&(M[c]="Brave"),M},this.getCPU=function(){var M={};return M[w]=n,Lt.call(M,J,Ne.cpu),M},this.getDevice=function(){var M={};return M[f]=n,M[d]=n,M[l]=n,Lt.call(M,J,Ne.device),q&&!M[l]&&Ge&&Ge.mobile&&(M[l]=y),q&&M[d]=="Macintosh"&&N&&typeof N.standalone!==u&&N.maxTouchPoints&&N.maxTouchPoints>2&&(M[d]="iPad",M[l]=b),M},this.getEngine=function(){var M={};return M[c]=n,M[p]=n,Lt.call(M,J,Ne.engine),M},this.getOS=function(){var M={};return M[c]=n,M[p]=n,Lt.call(M,J,Ne.os),q&&!M[c]&&Ge&&Ge.platform!="Unknown"&&(M[c]=Ge.platform.replace(/chrome os/i,vo).replace(/macos/i,_o)),M},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 J},this.setUA=function(M){return J=typeof M===g&&M.length>k?Pn(M,k):M,this},this.setUA(J),this};Pe.VERSION=i,Pe.BROWSER=Cr([c,p,h]),Pe.CPU=Cr([w]),Pe.DEVICE=Cr([d,f,l,v,y,S,b,E,C]),Pe.ENGINE=Pe.OS=Cr([c,p]),e.exports&&(t=e.exports=Pe),t.UAParser=Pe;var yt=typeof r!==u&&(r.jQuery||r.Zepto);if(yt&&!yt.ua){var Er=new Pe;yt.ua=Er.getResult(),yt.ua.get=function(){return Er.getUA()},yt.ua.set=function(U){Er.setUA(U);var V=Er.getResult();for(var N in V)yt.ua[N]=V[N]}}})(typeof window=="object"?window:al)})(gi,gi.exports);var zf=gi.exports;const Vn=new zf.UAParser,Ic=()=>/iPad|iPhone|iPod/.test(navigator.userAgent),Bc=()=>/Android/.test(navigator.userAgent),Fe=()=>Bc()||Ic(),Fc=()=>({deviceType:Bc()||Ic()?"Mobile":"Desktop",platform:Vn.getOS().name,Browser:Vn.getBrowser().name,"Browser Version":Vn.getBrowser().version}),Jt=Tc({baseQuery:Rc,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:I(I({},r),Fc())}})}),segmentPage:e.mutation({query:({event:t,properties:r})=>({url:"super-campaign/backend/segment/p",method:"POST",body:{event:t,properties:r}})})})}),{useSegmentIdentifyMutation:Uf,useSegmentTrackMutation:jf,useSegmentPageMutation:lg}=Jt,Hf={selectedVariants:{}},yi=Ve({name:"experimentsData",initialState:Hf,reducers:{setExperiment:(e,t)=>{const{experimentName:r,selectedVariant:n}=t.payload;return e.selectedVariants[r]||(e.selectedVariants[r]=n),e}}}),{setExperiment:Wf}=yi.actions,wi=Ve({name:"session",initialState:{},reducers:{setSession:(e,t)=>t.payload}}),{setSession:qf}=wi.actions,bi=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:Vf,setSelectedFund:Dc,clearSelectedFund:qe}=bi.actions,lt=md({reducer:{[wi.name]:wi.reducer,[Be.reducerPath]:Be.reducer,[Jt.reducerPath]:Jt.reducer,[bi.reducerPath]:bi.reducer,[yi.reducerPath]:yi.reducer},middleware:e=>e().concat(Be.middleware,Jt.middleware)}),Cn=()=>xc(),Te=Cc,uo="32367272075001",lo="slate",Ee=e=>{document.dispatchEvent(new CustomEvent(e.type,{detail:e}))},Qf=()=>{Ee({sender:"byof-engagement",type:"continue",reason:"No content to display"})},En=()=>{Ee({sender:"byof-engagement",type:"continue",reason:"Continue button was clicked"})},Kf=()=>{Ee({sender:"byof-engagement",type:"continue",reason:"Timeout, or a backend error has occurred"})},Jf=()=>{const[e]=jf();return t=>{Ee({sender:"super-campaign",type:"choose-another-fund-requested"}),e({event:"FeaturedFunds Skipped",properties:{method:t}})}},Yf=e=>{Ee({sender:"super-campaign",type:"fund-panel-shown",shownFunds:e.map(t=>({fundId:t.fundId,fundType:t.fundType}))})},Gf=e=>{Ee({sender:"super-campaign",type:"fund-tile-clicked",fundId:e.fundId,fundType:e.fundType,fundName:e.name,fundUsi:e.fundId===lo?uo:void 0})},fe=e=>{Ee({sender:"super-campaign",type:"fund-pds-viewed",pageName:"Panel Fund Page",fundName:e.name,fundUsi:e.fundId===lo?uo:void 0})},Xf=()=>{Ee({sender:"super-campaign",type:"disclaimer-accepted"})},Zf=()=>{Ee({sender:"super-campaign",type:"disclaimer-viewed"})},Ht=e=>{Ee({sender:"super-campaign",type:"promoted-fund-joined",fundJoinInfo:e})},ep=()=>{Ee({sender:"super-campaign",type:"super-campaign-loaded"})},tp=e=>{Ee({sender:"super-campaign",type:"super-campaign-load-failed",reason:e})},rp=e=>{Ee({sender:"super-campaign",type:"super-campaign-failed",reason:e})};var np=0;function Gr(e,t,r,n,i,o){var s,a,u={};for(a in t)a=="ref"?s=t[a]:u[a]=t[a];var m={type:e,props:u,key:r,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--np,__i:-1,__u:0,__source:i,__self:o};if(typeof e=="function"&&(s=e.defaultProps))for(a in s)u[a]===void 0&&(u[a]=s[a]);return D.vnode&&D.vnode(m),m}var Ue=_e;function _(e,t,r){return bn.call(t,"css")?Gr(Ka,Qa(e,t),r):Gr(e,t,r)}function T(e,t,r){return bn.call(t,"css")?Gr(Ka,Qa(e,t),r):Gr(e,t,r)}const ip=G.a({fontWeight:"500",textDecorationLine:"underline",textUnderlineOffset:"2px",":hover":{"--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))"}}),op="_extnav=true",O=i=>{var o=i,{link:e,onClick:t,children:r}=o,n=ot(o,["link","onClick","children"]);const s=e.indexOf("?")===-1?"?":"&",a=`${e}${s}${op}`;return _(ip,$(I({target:"_blank",href:a,onClick:t},n),{children:r}))},sp=""+new URL("assets/logo-aware-DYvmVUZ1.svg",import.meta.url).href,ap="Aware Super",vi={fundId:"aware-super",name:ap,logo:sp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Multi-award winning fund named Retirement Offering of the Year 2024.^"}),_("p",{children:"Members get a 45-minute Super Helpful check-in with an advisor."}),_("p",{children:"8.97% p.a.* returns over 10 years to 31 March 2024 (High Growth option)"})],disclaimer:T("div",{children:[T("p",{children:["Consider if we’re right for you and read the"," ",_(O,{onClick:()=>fe(vi),link:"https://aware.com.au/member/contact-aware-super/forms-and-documents/",children:"PDS and TMD"}),".",_("br",{}),"^Awards are just one factor to consider when deciding on a product."," ",_(O,{link:"https://aware.com.au/member/about-us/awards/",children:"Learn about our awards"}),".",_("br",{}),"*SuperRatings Fund Crediting Rate Survey, March 2024. Based on SR50 Growth (77-90) Index. Past performance does not indicate future performance."]}),_("br",{}),_("p",{children:"Aware Super Pty Ltd (ABN 11 118 202 672, AFSL 293340), trustee of Aware Super (ABN 53 226 460 365)."})]})},cp=""+new URL("assets/logo-brighter-cKB6xH2M.svg",import.meta.url).href,up="https://www.brightersuper.com.au/-/media/public/files/pds-and-guides/accumulation-account-pds.pdf",lp="https://www.brightersuper.com.au/-/media/public/files/target-market-determination/tmd-brighter-super-accumulation-account.pdf",dp="https://www.brightersuper.com.au/news/double-digit-returns-in-2023-and-some-of-the-lowest-fees-in-australia",fp="https://www.brightersuper.com.au/about-us/awards",pp="Brighter Super",_i={fundId:"brightersuper",name:pp,logo:cp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Double-digit returns for our MySuper option in 2023^"}),_("p",{children:"Top 3 industry fund for lowest MySuper fees in Australia^"}),T("p",{children:["Platinum rated by SuperRatings for 16 years in a row",_("sup",{css:{fontSize:"0.625rem"},children:"+"})]})],disclaimer:T("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:[T("p",{children:["^Past performance is not an indicator of future performance."," ",_(O,{link:dp,children:"Find out more about our MySuper fees and returns."}),_("sup",{css:{fontSize:"0.625rem"},children:"+"}),"Ratings are only one factor to consider."," ",_(O,{link:fp,children:"View our ratings and awards."})]}),T("p",{children:["Consider the"," ",_(O,{link:up,onClick:()=>fe(_i),children:"PDS"})," ","& ",_(O,{link:lp,children:"TMD"})," before deciding to join."]}),_("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."})]})},hp=""+new URL("assets/logo-first-CusDmGWL.svg",import.meta.url).href,mp="First Super",Si={fundId:"first-super",name:mp,logo:hp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Industry SuperFund that offers five investment options and default insurance"}),_("p",{children:"Strong long-term investment returns and superior customer service - members first"}),_("p",{children:"Established super fund – anyone can join including KiwiSaver members"})],disclaimer:T("div",{children:[T("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"," ",_(O,{onClick:()=>fe(Si),link:"https://www.firstsuper.com.au/forms-tools/product-disclosure-statements/",children:"website"}),". Past performance is not a reliable indicator of future performance."]}),_("br",{}),_("p",{children:"Issued by First Super Pty Ltd ABN 42 053 498 472, AFSL 223988 (Trustee) as Trustee of First Super ABN 56 286 625 181."})]})},gp=""+new URL("assets/logo-hesta-NL7xF41R.svg",import.meta.url).href,yp="HESTA",Ci={fundId:"hesta-default",name:yp,logo:gp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"A top-performing super fund* working for real-world impact"}),_("p",{children:"1+ million members"}),_("p",{children:"Expert help whenever you need it to help you face the future with confidence"})],featureSubText:void 0,disclaimer:T("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:[T("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"," ",_(O,{link:"https://www.hesta.com.au/ratings",children:"hesta.com.au/ratings"})," ","for more information."]}),T("p",{children:["Consider whether this product is appropriate for you by reading the Product Disclosure Statement and Target Market Determination at"," ",_(O,{onClick:()=>fe(Ci),link:"https://www.hesta.com.au/pds",children:"hesta.com.au/pds"})," ","In considering your own circumstances about the suitability of HESTA products, you may wish to consult an adviser or use the ATO YourSuper comparison tool. Please also consider the relevant risks."]}),_("p",{children:"Issued by H.E.S.T. Australia Ltd ABN 66 006 818 695 AFSL No. 235249, Trustee of HESTA"})]})},wp=""+new URL("assets/logo-legalsuper-xG2DgGHY.svg",import.meta.url).href,bp="legalsuper",Yt={fundId:"legalsuper",name:bp,logo:wp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Strong performance - our investment options are designed to deliver steady returns."}),_("p",{children:"Personalised support - so you can access advice, knowledge and assistance when you need it."}),_("p",{children:"Tailored insurance - various cover options that adapt to life’s milestones and career changes."})],disclaimer:T("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:[T("p",{children:["This information is of a general nature. Please refer to the legalsuper"," ",_(O,{link:"https://www.legalsuper.com.au/super-pds",onClick:()=>fe(Yt),children:"Product Disclosure Statement (PDS)"})," ","and"," ",_(O,{link:"https://www.legalsuper.com.au/super-tmd",onClick:()=>fe(Yt),children:"Target Market Determination (TMD)"})," ","available at"," ",_(O,{link:"https://www.legalsuper.com.au/",onClick:()=>fe(Yt),children:"www.legalsuper.com.au"})," ","before making any decision. Past performance is not a guide to future performance."]}),_("p",{children:"Legal Super Pty Ltd ABN 37 004 455 789 AFSL 246315 as the Trustee for legalsuper ABN 60 346 078 879."})]})},vp=""+new URL("assets/coverImage-BkXL9zfW.png",import.meta.url).href,_p=""+new URL("assets/logo-mercer-mychoice-BB6VztRp.svg",import.meta.url).href,Sp=["04D04CB7-AE67-4D1C-8A1E-68451E64A659","06151553-3055-4B83-BC3C-9EC1CA642F88","0723654D-A9AF-453A-B376-54A2EF5E50F5","0E09CFC5-2DF2-432A-BBEC-25B84E65F21A","0E306866-97B3-4BE4-B97A-4BA1B1CEE95C","1EC966EE-C6D4-4BB8-ABF5-0A6FD8FC9882","25949BFA-334E-4DFC-9278-5018E093F1F8","3B13774E-E528-422E-9152-0B24EA2E5C2A","4C5BD86C-1496-431F-A649-A0E92858008A","5E169341-47A2-4D69-BA8C-A5A0F108CACD","6D23F9F0-D1C8-4121-A03A-6B9C3F0097EB","7B555D55-DDBB-44CE-8D6D-9553A419FE5A","8F8965D6-7B50-4D88-BC60-8D3B5EDDDE41","9B6747FE-DB3F-4F03-AA7C-21DF0C81955E","A10F82EC-7AFB-4E1C-914C-C0717ECE05DD","AAA060B4-EEC1-4ADC-A8B3-3D3A077A8829","B60D57B8-015C-44BB-A425-D7D78B29AC3F","BB0A686A-6ADC-4E03-9789-62F135D75A0A","D1A8905E-C28C-4F09-94D6-208063A76DB3","D9E0FC54-70B3-43C0-A347-A85CE496F3EF","DDCDC552-E5D6-4E95-9B71-9FD25F75AF35","E0FE92D8-6E61-42BE-AD6F-7E6FAEEB8D06","E57FFD69-0B30-480D-BCB2-CA3C65D6B58C","E7C4CE53-5CDE-4F0D-A2D4-ED8FF90D6138","F89A21D7-4FD0-41D2-A7A5-602E4462BC93","FA2F7EDC-2F5C-43E2-90D3-1125BDE3E602","FA650343-6D1D-4EF1-95E7-666D86C405EC"],Bs=["35225A44-1235-4774-A292-69461DCF16E4","42EC210A-07EB-4252-82C5-F10FBE6884D6","5EF1A2B7-4AED-46BA-9455-E118664DFA16","A7E3600B-40B3-4B48-9BC1-D78C91CAA365"],Cp="Mercer MyChoice",Xr={fundId:"mercermychoice",name:Cp,logo:_p,coverImage:vp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Save more super with our low fees"}),_("p",{children:"Take control with 6 MyChoice investment options"}),_("p",{children:"Join 850,000 Australians who trust our global expertise"})],disclaimer:T("div",{children:[T("p",{children:["You should consider the"," ",_(O,{link:"https://www.mercersuper.com.au/campaign-page/mercer-mychoice",onClick:()=>fe(Xr),children:"Product Disclosure Statement"})," ","and"," ",_(O,{link:"https://www.mercersuper.com.au/documents/target-market-determinations",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]}),_("br",{}),_("p",{children:"Issued by Mercer Superannuation (Australia) Limited (‘Mercer Super’) ABN: 79 004 717 533"})]}),extraBadge:_("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},children:"Low fees"}),footnoteTextOverride:"Powered by Flare FS",experiments:{"social-validation-business-mercermychoice":{splitType:"percentage",rotations:0,shouldRun:e=>{var n,i;const t=Be.endpoints.campaignConnect.select()(e).data,r=(n=t==null?void 0:t.userProfile.accountId)!=null?n:"";return!!(Bs.includes(r)&&(t!=null&&t.promotedFunds.find(o=>o.fundId==="mercermychoice"))&&(!Fe()||((i=t==null?void 0:t.promotedFunds)==null?void 0:i[0].fundId)==="mercermychoice")&&!(t!=null&&t.promotedFunds.find(o=>o.fundId==="virgin")))},variants:[{variantName:"control",percentage:50},{variantName:"badge",percentage:50}]},"social-validation-popular-mercermychoice":{splitType:"percentage",rotations:0,shouldRun:e=>{var i,o;const t=Bs.concat(Sp),r=Be.endpoints.campaignConnect.select()(e).data,n=(i=r==null?void 0:r.userProfile.accountId)!=null?i:"";return!!(!t.includes(n)&&(r!=null&&r.promotedFunds.find(s=>s.fundId==="mercermychoice"))&&(!Fe()||((o=r==null?void 0:r.promotedFunds)==null?void 0:o[0].fundId)==="mercermychoice")&&!(r!=null&&r.promotedFunds.find(s=>s.fundId==="virgin")))},variants:[{variantName:"control",percentage:5},{variantName:"badge",percentage:95}]}}},Ep=""+new URL("assets/logo-mine-7mxPtjsF.svg",import.meta.url).href,kp="Mine Super",Ei={fundId:"mine",name:kp,logo:Ep,iframeType:"PromotedFundJoinV2",features:[T("p",{children:[_("i",{children:"Money"})," magazine’s Best of the Best Awards for Best Value Superannuation Fund for Young People 2024."]}),_("p",{children:"Insurance cover^ that’s got your back if you’re unable to work due to sickness or injury."}),_("p",{children:"One of the lowest fixed admin fees ($0.75 per week)."})],featureSubText:["^Subject to meeting eligibility criteria."],disclaimer:_("div",{children:T("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"," ",_(O,{link:"https://www.mine.com.au/super/about-my-super/super-pds",onClick:()=>fe(Ei),children:"PDS"})," ","and ",_(O,{link:"https://www.mine.com.au/tmd",children:"TMDs"})," on our website at ",_(O,{link:"https://www.mine.com.au/",children:"mine.com.au"})," when considering if our financial products are right for you."]})})},Ap=""+new URL("assets/logo-reisuper-aM5iDbpN.svg",import.meta.url).href,xp="REI Super",ki={fundId:"reisuper",name:xp,logo:Ap,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Built by and for the real estate industry"}),_("p",{children:"Consistent long-term performance with competitive fees*"}),_("p",{children:"All profits to members, not shareholders"})],disclaimer:T("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[_("p",{children:"*Balanced Option net investment return of 9.45% for year ending 30 June 2023."}),T("p",{children:["You should consider the"," ",_(O,{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:()=>fe(ki),children:"Product Disclosure Statement"})," ","and"," ",_(O,{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"},Tp=""+new URL("assets/logo-slate-CowODvPX.png",import.meta.url).href,Rp="Slate Super",lr={fundId:lo,name:Rp,logo:Tp,iframeType:"SlateJoin",features:[_("p",{children:"A lifestage investment strategy that evolves with you"}),_("p",{children:"Advanced mobile app with retirement forecast and smart features"}),_("p",{children:"Member advocates at Slate to assist with your account"})],disclaimer:T("p",{children:["You should consider the"," ",_(O,{link:"https://slate.co/pds/?utm_source=flare&utm_medium=superselection",onClick:()=>fe(lr),children:"Product Disclosure Statement"})," ","and"," ",_(O,{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"},Pp=""+new URL("assets/logo-spirit-CAaRIHR7.svg",import.meta.url).href,Ip="Spirit Super",Ai={fundId:"spirit",name:Ip,logo:Pp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Industry SuperFund - profit to members"}),T("p",{children:["Low fees",_("sup",{css:{fontSize:"0.625rem"},children:"1"})," and a history of strong returns",_("sup",{css:{fontSize:"0.625rem"},children:"2"})]}),T("p",{children:["Best customer experience",_("sup",{css:{fontSize:"0.625rem"},children:"3"})]})],featureSubText:_("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:T("ol",{css:{listStyleType:"decimal","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[_("li",{children:_("span",{children:"$67.60 + 0.15% of account balance pa in admin fees, capped at $517.60"})}),_("li",{children:_("span",{children:"Past performance isn't a reliable indicator of future performance"})}),_("li",{children:_("span",{children:_(O,{link:"https://www.spiritsuper.com.au/News/Best-in-customer-service-again",children:"CSBA Sense CX Benchmark ratings 2022/23/24"})})})]})}),disclaimer:T("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. Read the award information, PDS and TMD at"," ",_(O,{link:"https://www.spiritsuper.com.au",onClick:()=>fe(Ai),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)."]})},Bp=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,Fp="Unisuper",Dp="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",Mp="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",xi={fundId:"unisuper",name:Fp,logo:Bp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Our fees are among the lowest in the industry.^"}),_("p",{children:"Our strong, long-term performance regularly exceeds industry averages.*"}),T("p",{children:["We’re consistently awarded as one of Australia’s best-performing funds.",_("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],disclaimer:T("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:[T("p",{children:["^Read more about our fees and how we compare"," ",_(O,{link:"https://www.unisuper.com.au/super/products-and-fees",children:"here"}),"."]}),T("p",{children:["*Past performance is not an indicator of future performance. Read more about our performance and how we compare"," ",_(O,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),T("p",{children:[_("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",_(O,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),T("p",{children:["Remember to consider the"," ",_(O,{link:Dp,onClick:()=>fe(xi),children:"Product Disclosure Statement"})," ","and ",_(O,{link:Mp,children:"Target Market Determination"})," that is relevant to you."]}),_("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},Np=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,Op=""+new URL("assets/unisuper-default-badge1-CC2-KRH2.svg",import.meta.url).href,Lp=""+new URL("assets/unisuper-default-badge2-CqUa_Zky.svg",import.meta.url).href,$p=""+new URL("assets/unisuper-default-badge3-B7j1-pyZ.svg",import.meta.url).href,Br="Unisuper",zp="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",Up="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",Ti={fundId:"unisuper-default-v2",name:Br,logo:Np,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Low fees, better value – Our fees are among the lowest in the industry.^"}),_("p",{children:"Strong, long-term performance – We regularly exceed industry averages.*"}),T("p",{children:["Award winning super – Continually recognised as one of Australia’s best-performing funds.",_("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],customContent:T("div",{css:{marginTop:"1.5rem",display:"flex",gap:"0.75rem"},children:[_("div",{children:_("img",{alt:Br,src:Op})}),_("div",{children:_("img",{alt:Br,src:Lp})}),_("div",{children:_("img",{alt:Br,src:$p})})]}),disclaimer:T("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:[T("p",{children:["^Read more about our fees and how we compare"," ",_(O,{link:"https://www.unisuper.com.au/super/products-and-fees",children:"here"}),"."]}),T("p",{children:["*Past performance is not an indicator of future performance. Read more about our performance and how we compare"," ",_(O,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),T("p",{children:[_("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",_(O,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),T("p",{children:["Remember to consider the"," ",_(O,{link:zp,onClick:()=>fe(Ti),children:"Product Disclosure Statement"})," ","and ",_(O,{link:Up,children:"Target Market Determination"})," that is relevant to you."]}),_("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},jp=""+new URL("assets/logo-virgin-Dg0nHidv.svg",import.meta.url).href,Fs=["04D04CB7-AE67-4D1C-8A1E-68451E64A659","06151553-3055-4B83-BC3C-9EC1CA642F88","0723654D-A9AF-453A-B376-54A2EF5E50F5","0E09CFC5-2DF2-432A-BBEC-25B84E65F21A","0E306866-97B3-4BE4-B97A-4BA1B1CEE95C","1EC966EE-C6D4-4BB8-ABF5-0A6FD8FC9882","25949BFA-334E-4DFC-9278-5018E093F1F8","3B13774E-E528-422E-9152-0B24EA2E5C2A","4C5BD86C-1496-431F-A649-A0E92858008A","5E169341-47A2-4D69-BA8C-A5A0F108CACD","6D23F9F0-D1C8-4121-A03A-6B9C3F0097EB","7B555D55-DDBB-44CE-8D6D-9553A419FE5A","8F8965D6-7B50-4D88-BC60-8D3B5EDDDE41","9B6747FE-DB3F-4F03-AA7C-21DF0C81955E","A10F82EC-7AFB-4E1C-914C-C0717ECE05DD","AAA060B4-EEC1-4ADC-A8B3-3D3A077A8829","B60D57B8-015C-44BB-A425-D7D78B29AC3F","BB0A686A-6ADC-4E03-9789-62F135D75A0A","D1A8905E-C28C-4F09-94D6-208063A76DB3","D9E0FC54-70B3-43C0-A347-A85CE496F3EF","DDCDC552-E5D6-4E95-9B71-9FD25F75AF35","E0FE92D8-6E61-42BE-AD6F-7E6FAEEB8D06","E57FFD69-0B30-480D-BCB2-CA3C65D6B58C","E7C4CE53-5CDE-4F0D-A2D4-ED8FF90D6138","F89A21D7-4FD0-41D2-A7A5-602E4462BC93","FA2F7EDC-2F5C-43E2-90D3-1125BDE3E602","FA650343-6D1D-4EF1-95E7-666D86C405EC"],Hp=["35225A44-1235-4774-A292-69461DCF16E4","42EC210A-07EB-4252-82C5-F10FBE6884D6","5EF1A2B7-4AED-46BA-9455-E118664DFA16","A7E3600B-40B3-4B48-9BC1-D78C91CAA365"],Wp="Virgin Money Super",Ri={fundId:"virgin",name:Wp,logo:jp,iframeType:"PromotedFundJoinV2",features:[T("p",{children:["Returns above industry and retail super fund medians over the past 5 years",_("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),_("p",{children:"One of the lowest fees in the market"}),T("p",{children:["Virgin Money rewards you with Velocity Points on your contributions",_("sup",{css:{fontSize:"0.625rem"},children:"2"})]})],featureSubText:_("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:T("ol",{css:{listStyleType:"decimal","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[_("li",{children:_("span",{children:"Past performance is not a reliable indicator of future performance. Source: SuperRatings Fund Crediting Rate Survey April 2022."})}),_("li",{children:_("span",{children:_(O,{css:{fontWeight:"400"},link:"https://virginmoney.com.au/superannuation/forms-and-key-information/key-documents",children:"Eligibility and T&Cs apply"})})})]})}),disclaimer:T("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"," ",_(O,{link:"https://virginmoney.com.au/superannuation/",onClick:()=>fe(Ri),children:"www.virginmoney.com.au"})," ","before making a decision"]}),extraBadge:_("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},children:"Low fees"}),footnoteTextOverride:"Powered by Flare FS",experiments:{"social-validation-business-virgin":{splitType:"percentage",rotations:0,shouldRun:e=>{var n,i;const t=Be.endpoints.campaignConnect.select()(e).data,r=(n=t==null?void 0:t.userProfile.accountId)!=null?n:"";return!!(Fs.includes(r)&&(t!=null&&t.promotedFunds.find(o=>o.fundId==="virgin"))&&(!Fe()||((i=t==null?void 0:t.promotedFunds)==null?void 0:i[0].fundId)==="virgin")&&!(t!=null&&t.promotedFunds.find(o=>o.fundId==="mercermychoice")))},variants:[{variantName:"control",percentage:50},{variantName:"badge",percentage:50}]},"social-validation-popular-virgin":{splitType:"percentage",rotations:0,shouldRun:e=>{var i,o;const t=Hp.concat(Fs),r=Be.endpoints.campaignConnect.select()(e).data,n=(i=r==null?void 0:r.userProfile.accountId)!=null?i:"";return!!(!t.includes(n)&&(r!=null&&r.promotedFunds.find(s=>s.fundId==="virgin"))&&(!Fe()||((o=r==null?void 0:r.promotedFunds)==null?void 0:o[0].fundId)==="virgin")&&!(r!=null&&r.promotedFunds.find(s=>s.fundId==="mercermychoice")))},variants:[{variantName:"control",percentage:5},{variantName:"badge",percentage:95}]}}},qp=""+new URL("assets/logo-virgin-Dg0nHidv.svg",import.meta.url).href,Vp="Virgin Money Super",Pi={fundId:"virgin-default",name:Vp,logo:qp,iframeType:"PromotedFundJoinV2",features:[T("p",{children:["Returns above industry and retail super fund medians over the past 5 years",_("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),_("p",{children:"One of the lowest fees in the market"}),T("p",{children:["Virgin Money rewards you with Velocity Points on your contributions",_("sup",{css:{fontSize:"0.625rem"},children:"2"})]})],featureSubText:_("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:T("ol",{css:{listStyleType:"decimal","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[_("li",{children:_("span",{children:"Past performance is not a reliable indicator of future performance. Source: SuperRatings Fund Crediting Rate Survey April 2022."})}),_("li",{children:_("span",{children:_(O,{css:{fontWeight:"400"},link:"https://virginmoney.com.au/superannuation/forms-and-key-information/key-documents",children:"Eligibility and T&Cs apply"})})})]})}),disclaimer:T("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"," ",_(O,{link:"https://virginmoney.com.au/superannuation/",onClick:()=>fe(Pi),children:"www.virginmoney.com.au"})," ","before making a decision"]}),extraBadge:_("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},children:"Low fees"}),footnoteTextOverride:"Powered by Flare FS"},Qp=5*1e3;let Ur=[];const ye=(e,t)=>{Ur.push({log:e,params:I(I({},t),Fc())})},Kp=()=>setInterval(()=>pe(void 0,null,function*(){Ur.length>0&&"data"in(yield lt.dispatch(Be.endpoints.errorLogs.initiate({logs:Ur})))&&(Ur=[])}),Qp),fo=e=>{switch(e.fundId){case vi.fundId:return $(I({},vi),{fundType:e.type});case _i.fundId:return $(I({},_i),{fundType:e.type});case Si.fundId:return $(I({},Si),{fundType:e.type});case Ci.fundId:return $(I({},Ci),{fundType:e.type});case Yt.fundId:return $(I({},Yt),{fundType:e.type});case Xr.fundId:return $(I({},Xr),{fundType:e.type});case Ei.fundId:return $(I({},Ei),{fundType:e.type});case ki.fundId:return $(I({},ki),{fundType:e.type});case lr.fundId:return $(I({},lr),{fundType:e.type});case Ai.fundId:return $(I({},Ai),{fundType:e.type});case xi.fundId:return $(I({},xi),{fundType:e.type});case Ti.fundId:return $(I({},Ti),{fundType:e.type});case Ri.fundId:return $(I({},Ri),{fundType:e.type});case Pi.fundId:return $(I({},Pi),{fundType:e.type})}return null},Jp=e=>{const t=[];for(const n of e){const i=fo(n);i?t.push(i):ye(`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=Xr;return ye(`No fund IDs were mapped, returning "${r.fundId}"`,{funds:e}),[$(I({},r),{fundType:"promoted"})]},Yp=e=>e==="unisuper-db"?"UniSuper":(ye('No defined-benefits fund IDs were mapped."',{fundId:e}),""),Mc=()=>{const{selectedFund:e}=Te(r=>r.state);let t="Powered by Flare";if(e){const r=fo({fundId:e==null?void 0:e.fundId,type:"promoted"});r!=null&&r.footnoteTextOverride&&(t=r.footnoteTextOverride)}return T("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:[_("span",{children:t}),T("p",{css:{display:"block",color:"transparent"},children:["v","1.41.41"]})]})},Je=({size:e=48})=>_("div",{css:{display:"inline-block","@keyframes spin":{to:{transform:"rotate(360deg)"}},animation:"spin 1s linear infinite"},children:T("svg",{width:e,height:e,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[_("path",{d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM1.99743 8C1.99743 11.3151 4.68487 14.0026 8 14.0026C11.3151 14.0026 14.0026 11.3151 14.0026 8C14.0026 4.68487 11.3151 1.99743 8 1.99743C4.68487 1.99743 1.99743 4.68487 1.99743 8Z",fill:"white","fill-opacity":"0.3"}),_("path",{d:"M8 1C8 0.447715 8.44943 -0.00643769 8.99741 0.0624193C9.70527 0.151368 10.3996 0.334798 11.0615 0.608964C12.0321 1.011 12.914 1.60028 13.6569 2.34315C14.3997 3.08602 14.989 3.96793 15.391 4.93853C15.6652 5.60043 15.8486 6.29473 15.9376 7.0026C16.0064 7.55057 15.5523 8 15 8C14.4477 8 14.0085 7.54925 13.9169 7.00462C13.842 6.55939 13.7169 6.12298 13.5433 5.7039C13.2417 4.97595 12.7998 4.31451 12.2426 3.75736C11.6855 3.20021 11.0241 2.75825 10.2961 2.45672C9.87702 2.28313 9.44061 2.15804 8.99538 2.08314C8.45075 1.99152 8 1.55228 8 1Z",css:{fill:"var(--fl-color-primary)"}})]})}),gt=({fillWidth:e=!1,fillWidthOnMobile:t=!1,disabled:r=!1,onClick:n=void 0,children:i})=>{const[o,s]=be(0);return T("button",{css:[{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",fontSize:"1rem",lineHeight:"1.5rem"},{display:"inline-flex",alignItems:"center",justifyContent:"center",borderWidth:"1px",fontWeight:"500"},{borderRadius:"0.375rem","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)",":focus":{outline:"2px solid transparent",outlineOffset:"2px","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)"}},{pointerEvents:"auto",":focus":{"--tw-ring-color":"var(--fl-color-primary-focus)","--tw-ring-offset-width":"2px"}},{":disabled":{pointerEvents:"none","--tw-border-opacity":"1",borderColor:"rgb(209 213 219 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity))"}},{borderColor:"transparent",backgroundColor:"var(--fl-color-primary)","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))",":hover":{backgroundColor:"var(--fl-color-primary-hover)"}},(e||t)&&{width:"100%"},t&&{"@media (min-width: 640px)":{width:"auto"}}],disabled:r,onClick:()=>pe(void 0,null,function*(){if(!(!n||o===1))try{s(1),yield n(),s(0)}catch(u){throw s(2),u}}),children:[o===1&&_(Je,{size:16}),_("div",{css:[o===1&&{display:"none"}],children:i})]})},Gp=()=>T(Ue,{children:[_("div",{children:"Australian Super"}),_(gt,{onClick:En,children:"Continue"})]}),Xp=()=>T(Ue,{children:[_("div",{children:"Aware Super"}),_(gt,{onClick:En,children:"Continue"})]}),Zp=()=>T(Ue,{children:[_("div",{children:"Hesta"}),_(gt,{onClick:En,children:"Continue"})]}),eh=G.div({marginBottom:"3rem",borderRadius:"0.5rem",borderWidth:"1px"}),th=G.div({display:"flex",justifyContent:"flex-end",paddingRight:"0.5rem",paddingTop:"0.5rem"}),rh=G.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))"}),nh=G.div({paddingLeft:"3.5rem",paddingRight:"3.5rem",paddingBottom:"2rem"}),ih=({pillContent:e,children:t})=>T(eh,{children:[e&&_(th,{children:_(rh,{children:e})}),_(nh,{children:t})]});class Wt extends Error{}Wt.prototype.name="InvalidTokenError";function oh(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 sh(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 oh(t)}catch(r){return atob(t)}}function Nc(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=sh(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 ah=e=>Nc(e),ch=()=>{const{superBackendUrl:e,accessToken:t,fundUsi:r}=Te(s=>s.session),{data:n}=Pc(r||""),i=`${e}/activity-tracker/track`;return{createTrackedLink:(s,a)=>{var l,f;if(!t)throw new Error("No access token found");const{sub:u,session_id:m}=ah(t);(!n||n.engagements.length===0)&&ye("No engagements found when attempting to create tracked link");const{accountId:g,partnerId:h,engagements:d}=n!=null?n:{accountId:"",partnerId:"",engagements:[]};s=encodeURIComponent(s);let c=`${i}?url=${s}&id=${u}&sId=${m}&usi=${r}&fId=${(f=(l=d[0])==null?void 0:l.fundId)!=null?f:""}&aId=${g}&pId=${h}&ft=manual`;if(a.eventType){const p=encodeURIComponent(a.eventType);c+=`&et=${p}`}return a.type&&(c+=`&type=${a.type}`),a.engagementId&&(c+=`&eId=${a.engagementId}`),c}}};function uh(e){const t=document.documentElement;for(const r in e.colors)t.style.setProperty(`--${r}`,e.colors[r])}var vr={},lh=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},Oc={},ke={};let po;const dh=[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];ke.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};ke.getSymbolTotalCodewords=function(t){return dh[t]};ke.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};ke.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');po=t};ke.isKanjiModeEnabled=function(){return typeof po!="undefined"};ke.toSJIS=function(t){return po(t)};var kn={};(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}}})(kn);function Lc(){this.buffer=[],this.length=0}Lc.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 fh=Lc;function _r(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)}_r.prototype.set=function(e,t,r,n){const i=e*this.size+t;this.data[i]=r,n&&(this.reservedBit[i]=!0)};_r.prototype.get=function(e,t){return this.data[e*this.size+t]};_r.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r};_r.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var ph=_r,$c={};(function(e){const t=ke.getSymbolSize;e.getRowColCoords=function(n){if(n===1)return[];const i=Math.floor(n/7)+2,o=t(n),s=o===145?26:Math.ceil((o-13)/(2*i-2))*2,a=[o-7];for(let u=1;u<i-1;u++)a[u]=a[u-1]-s;return a.push(6),a.reverse()},e.getPositions=function(n){const i=[],o=e.getRowColCoords(n),s=o.length;for(let a=0;a<s;a++)for(let u=0;u<s;u++)a===0&&u===0||a===0&&u===s-1||a===s-1&&u===0||i.push([o[a],o[u]]);return i}})($c);var zc={};const hh=ke.getSymbolSize,Ds=7;zc.getPositions=function(t){const r=hh(t);return[[0,0],[r-Ds,0],[0,r-Ds]]};var Uc={};(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 s=0,a=0,u=0,m=null,g=null;for(let h=0;h<o;h++){a=u=0,m=g=null;for(let d=0;d<o;d++){let c=i.get(h,d);c===m?a++:(a>=5&&(s+=t.N1+(a-5)),m=c,a=1),c=i.get(d,h),c===g?u++:(u>=5&&(s+=t.N1+(u-5)),g=c,u=1)}a>=5&&(s+=t.N1+(a-5)),u>=5&&(s+=t.N1+(u-5))}return s},e.getPenaltyN2=function(i){const o=i.size;let s=0;for(let a=0;a<o-1;a++)for(let u=0;u<o-1;u++){const m=i.get(a,u)+i.get(a,u+1)+i.get(a+1,u)+i.get(a+1,u+1);(m===4||m===0)&&s++}return s*t.N2},e.getPenaltyN3=function(i){const o=i.size;let s=0,a=0,u=0;for(let m=0;m<o;m++){a=u=0;for(let g=0;g<o;g++)a=a<<1&2047|i.get(m,g),g>=10&&(a===1488||a===93)&&s++,u=u<<1&2047|i.get(g,m),g>=10&&(u===1488||u===93)&&s++}return s*t.N3},e.getPenaltyN4=function(i){let o=0;const s=i.data.length;for(let u=0;u<s;u++)o+=i.data[u];return Math.abs(Math.ceil(o*100/s/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 s=o.size;for(let a=0;a<s;a++)for(let u=0;u<s;u++)o.isReserved(u,a)||o.xor(u,a,r(i,u,a))},e.getBestMask=function(i,o){const s=Object.keys(e.Patterns).length;let a=0,u=1/0;for(let m=0;m<s;m++){o(m),e.applyMask(m,i);const g=e.getPenaltyN1(i)+e.getPenaltyN2(i)+e.getPenaltyN3(i)+e.getPenaltyN4(i);e.applyMask(m,i),g<u&&(u=g,a=m)}return a}})(Uc);var An={};const Ze=kn,Fr=[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],Dr=[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 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}};An.getTotalCodewordsCount=function(t,r){switch(r){case Ze.L:return Dr[(t-1)*4+0];case Ze.M:return Dr[(t-1)*4+1];case Ze.Q:return Dr[(t-1)*4+2];case Ze.H:return Dr[(t-1)*4+3];default:return}};var jc={},xn={};const Gt=new Uint8Array(512),Zr=new Uint8Array(256);(function(){let t=1;for(let r=0;r<255;r++)Gt[r]=t,Zr[t]=r,t<<=1,t&256&&(t^=285);for(let r=255;r<512;r++)Gt[r]=Gt[r-255]})();xn.log=function(t){if(t<1)throw new Error("log("+t+")");return Zr[t]};xn.exp=function(t){return Gt[t]};xn.mul=function(t,r){return t===0||r===0?0:Gt[Zr[t]+Zr[r]]};(function(e){const t=xn;e.mul=function(n,i){const o=new Uint8Array(n.length+i.length-1);for(let s=0;s<n.length;s++)for(let a=0;a<i.length;a++)o[s+a]^=t.mul(n[s],i[a]);return o},e.mod=function(n,i){let o=new Uint8Array(n);for(;o.length-i.length>=0;){const s=o[0];for(let u=0;u<i.length;u++)o[u]^=t.mul(i[u],s);let a=0;for(;a<o.length&&o[a]===0;)a++;o=o.slice(a)}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 Hc=jc;function ho(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}ho.prototype.initialize=function(t){this.degree=t,this.genPoly=Hc.generateECPolynomial(this.degree)};ho.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=Hc.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 mh=ho,Wc={},it={},mo={};mo.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var He={};const qc="[0-9]+",gh="[A-Z $%*+\\-./:]+";let dr="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";dr=dr.replace(/u/g,"\\u");const yh="(?:(?![A-Z0-9 $%*+\\-./:]|"+dr+`)(?:.|[\r
17
- ]))+`;He.KANJI=new RegExp(dr,"g");He.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");He.BYTE=new RegExp(yh,"g");He.NUMERIC=new RegExp(qc,"g");He.ALPHANUMERIC=new RegExp(gh,"g");const wh=new RegExp("^"+dr+"$"),bh=new RegExp("^"+qc+"$"),vh=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");He.testKanji=function(t){return wh.test(t)};He.testNumeric=function(t){return bh.test(t)};He.testAlphanumeric=function(t){return vh.test(t)};(function(e){const t=mo,r=He;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,s){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!t.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?o.ccBits[0]:s<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,s){if(e.isValid(o))return o;try{return n(o)}catch(a){return s}}})(it);(function(e){const t=ke,r=An,n=kn,i=it,o=mo,s=7973,a=t.getBCHDigit(s);function u(d,c,l){for(let f=1;f<=40;f++)if(c<=e.getCapacity(f,l,d))return f}function m(d,c){return i.getCharCountIndicator(d,c)+4}function g(d,c){let l=0;return d.forEach(function(f){const p=m(f.mode,c);l+=p+f.getBitsLength()}),l}function h(d,c){for(let l=1;l<=40;l++)if(g(d,l)<=e.getCapacity(l,c,i.MIXED))return l}e.from=function(c,l){return o.isValid(c)?parseInt(c,10):l},e.getCapacity=function(c,l,f){if(!o.isValid(c))throw new Error("Invalid QR Code version");typeof f=="undefined"&&(f=i.BYTE);const p=t.getSymbolTotalCodewords(c),w=r.getTotalCodewordsCount(c,l),v=(p-w)*8;if(f===i.MIXED)return v;const y=v-m(f,c);switch(f){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(c,l){let f;const p=n.from(l,n.M);if(Array.isArray(c)){if(c.length>1)return h(c,p);if(c.length===0)return 1;f=c[0]}else f=c;return u(f.mode,f.getLength(),p)},e.getEncodedBits=function(c){if(!o.isValid(c)||c<7)throw new Error("Invalid QR Code version");let l=c<<12;for(;t.getBCHDigit(l)-a>=0;)l^=s<<t.getBCHDigit(l)-a;return c<<12|l}})(Wc);var Vc={};const Ii=ke,Qc=1335,_h=21522,Ms=Ii.getBCHDigit(Qc);Vc.getEncodedBits=function(t,r){const n=t.bit<<3|r;let i=n<<10;for(;Ii.getBCHDigit(i)-Ms>=0;)i^=Qc<<Ii.getBCHDigit(i)-Ms;return(n<<10|i)^_h};var Kc={};const Sh=it;function Pt(e){this.mode=Sh.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 Ch=Pt;const Eh=it,Qn=["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=Eh.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=Qn.indexOf(this.data[r])*45;n+=Qn.indexOf(this.data[r+1]),t.put(n,11)}this.data.length%2&&t.put(Qn.indexOf(this.data[r]),6)};var kh=It,Ah=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 s=t.charCodeAt(i+1);s>=56320&&s<=57343&&(o=(o-55296)*1024+s-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 xh=Ah,Th=it;function Bt(e){this.mode=Th.BYTE,typeof e=="string"&&(e=xh(e)),this.data=new Uint8Array(e)}Bt.getBitsLength=function(t){return t*8};Bt.prototype.getLength=function(){return this.data.length};Bt.prototype.getBitsLength=function(){return Bt.getBitsLength(this.data.length)};Bt.prototype.write=function(e){for(let t=0,r=this.data.length;t<r;t++)e.put(this.data[t],8)};var Rh=Bt;const Ph=it,Ih=ke;function Ft(e){this.mode=Ph.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=Ih.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 Bh=Ft,Jc={exports:{}};(function(e){var t={single_source_shortest_paths:function(r,n,i){var o={},s={};s[n]=0;var a=t.PriorityQueue.make();a.push(n,0);for(var u,m,g,h,d,c,l,f,p;!a.empty();){u=a.pop(),m=u.value,h=u.cost,d=r[m]||{};for(g in d)d.hasOwnProperty(g)&&(c=d[g],l=h+c,f=s[g],p=typeof s[g]=="undefined",(p||f>l)&&(s[g]=l,a.push(g,l),o[g]=m))}if(typeof i!="undefined"&&typeof s[i]=="undefined"){var w=["Could not find a path from ",n," to ",i,"."].join("");throw new Error(w)}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})(Jc);var Fh=Jc.exports;(function(e){const t=it,r=Ch,n=kh,i=Rh,o=Bh,s=He,a=ke,u=Fh;function m(w){return unescape(encodeURIComponent(w)).length}function g(w,v,y){const b=[];let S;for(;(S=w.exec(y))!==null;)b.push({data:S[0],index:S.index,mode:v,length:S[0].length});return b}function h(w){const v=g(s.NUMERIC,t.NUMERIC,w),y=g(s.ALPHANUMERIC,t.ALPHANUMERIC,w);let b,S;return a.isKanjiModeEnabled()?(b=g(s.BYTE,t.BYTE,w),S=g(s.KANJI,t.KANJI,w)):(b=g(s.BYTE_KANJI,t.BYTE,w),S=[]),v.concat(y,b,S).sort(function(C,k){return C.index-k.index}).map(function(C){return{data:C.data,mode:C.mode,length:C.length}})}function d(w,v){switch(v){case t.NUMERIC:return r.getBitsLength(w);case t.ALPHANUMERIC:return n.getBitsLength(w);case t.KANJI:return o.getBitsLength(w);case t.BYTE:return i.getBitsLength(w)}}function c(w){return w.reduce(function(v,y){const b=v.length-1>=0?v[v.length-1]:null;return b&&b.mode===y.mode?(v[v.length-1].data+=y.data,v):(v.push(y),v)},[])}function l(w){const v=[];for(let y=0;y<w.length;y++){const b=w[y];switch(b.mode){case t.NUMERIC:v.push([b,{data:b.data,mode:t.ALPHANUMERIC,length:b.length},{data:b.data,mode:t.BYTE,length:b.length}]);break;case t.ALPHANUMERIC:v.push([b,{data:b.data,mode:t.BYTE,length:b.length}]);break;case t.KANJI:v.push([b,{data:b.data,mode:t.BYTE,length:m(b.data)}]);break;case t.BYTE:v.push([{data:b.data,mode:t.BYTE,length:m(b.data)}])}}return v}function f(w,v){const y={},b={start:{}};let S=["start"];for(let E=0;E<w.length;E++){const C=w[E],k=[];for(let A=0;A<C.length;A++){const x=C[A],R=""+E+A;k.push(R),y[R]={node:x,lastCount:0},b[R]={};for(let F=0;F<S.length;F++){const P=S[F];y[P]&&y[P].node.mode===x.mode?(b[P][R]=d(y[P].lastCount+x.length,x.mode)-d(y[P].lastCount,x.mode),y[P].lastCount+=x.length):(y[P]&&(y[P].lastCount=x.length),b[P][R]=d(x.length,x.mode)+4+t.getCharCountIndicator(x.mode,v))}}S=k}for(let E=0;E<S.length;E++)b[S[E]].end=0;return{map:b,table:y}}function p(w,v){let y;const b=t.getBestModeForData(w);if(y=t.from(v,b),y!==t.BYTE&&y.bit<b.bit)throw new Error('"'+w+'" cannot be encoded with mode '+t.toString(y)+`.
19
- Suggested mode is: `+t.toString(b));switch(y===t.KANJI&&!a.isKanjiModeEnabled()&&(y=t.BYTE),y){case t.NUMERIC:return new r(w);case t.ALPHANUMERIC:return new n(w);case t.KANJI:return new o(w);case t.BYTE:return new i(w)}}e.fromArray=function(v){return v.reduce(function(y,b){return typeof b=="string"?y.push(p(b,null)):b.data&&y.push(p(b.data,b.mode)),y},[])},e.fromString=function(v,y){const b=h(v,a.isKanjiModeEnabled()),S=l(b),E=f(S,y),C=u.find_path(E.map,"start","end"),k=[];for(let A=1;A<C.length-1;A++)k.push(E.table[C[A]].node);return e.fromArray(c(k))},e.rawSplit=function(v){return e.fromArray(h(v,a.isKanjiModeEnabled()))}})(Kc);const Tn=ke,Kn=kn,Dh=fh,Mh=ph,Nh=$c,Oh=zc,Bi=Uc,Fi=An,Lh=mh,en=Wc,$h=Vc,zh=it,Jn=Kc;function Uh(e,t){const r=e.size,n=Oh.getPositions(t);for(let i=0;i<n.length;i++){const o=n[i][0],s=n[i][1];for(let a=-1;a<=7;a++)if(!(o+a<=-1||r<=o+a))for(let u=-1;u<=7;u++)s+u<=-1||r<=s+u||(a>=0&&a<=6&&(u===0||u===6)||u>=0&&u<=6&&(a===0||a===6)||a>=2&&a<=4&&u>=2&&u<=4?e.set(o+a,s+u,!0,!0):e.set(o+a,s+u,!1,!0))}}function jh(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 Hh(e,t){const r=Nh.getPositions(t);for(let n=0;n<r.length;n++){const i=r[n][0],o=r[n][1];for(let s=-2;s<=2;s++)for(let a=-2;a<=2;a++)s===-2||s===2||a===-2||a===2||s===0&&a===0?e.set(i+s,o+a,!0,!0):e.set(i+s,o+a,!1,!0)}}function Wh(e,t){const r=e.size,n=en.getEncodedBits(t);let i,o,s;for(let a=0;a<18;a++)i=Math.floor(a/3),o=a%3+r-8-3,s=(n>>a&1)===1,e.set(i,o,s,!0),e.set(o,i,s,!0)}function Yn(e,t,r){const n=e.size,i=$h.getEncodedBits(t,r);let o,s;for(o=0;o<15;o++)s=(i>>o&1)===1,o<6?e.set(o,8,s,!0):o<8?e.set(o+1,8,s,!0):e.set(n-15+o,8,s,!0),o<8?e.set(8,n-o-1,s,!0):o<9?e.set(8,15-o-1+1,s,!0):e.set(8,15-o-1,s,!0);e.set(n-8,8,1,!0)}function qh(e,t){const r=e.size;let n=-1,i=r-1,o=7,s=0;for(let a=r-1;a>0;a-=2)for(a===6&&a--;;){for(let u=0;u<2;u++)if(!e.isReserved(i,a-u)){let m=!1;s<t.length&&(m=(t[s]>>>o&1)===1),e.set(i,a-u,m),o--,o===-1&&(s++,o=7)}if(i+=n,i<0||r<=i){i-=n,n=-n;break}}}function Vh(e,t,r){const n=new Dh;r.forEach(function(u){n.put(u.mode.bit,4),n.put(u.getLength(),zh.getCharCountIndicator(u.mode,e)),u.write(n)});const i=Tn.getSymbolTotalCodewords(e),o=Fi.getTotalCodewordsCount(e,t),s=(i-o)*8;for(n.getLengthInBits()+4<=s&&n.put(0,4);n.getLengthInBits()%8!==0;)n.putBit(0);const a=(s-n.getLengthInBits())/8;for(let u=0;u<a;u++)n.put(u%2?17:236,8);return Qh(n,e,t)}function Qh(e,t,r){const n=Tn.getSymbolTotalCodewords(t),i=Fi.getTotalCodewordsCount(t,r),o=n-i,s=Fi.getBlocksCount(t,r),a=n%s,u=s-a,m=Math.floor(n/s),g=Math.floor(o/s),h=g+1,d=m-g,c=new Lh(d);let l=0;const f=new Array(s),p=new Array(s);let w=0;const v=new Uint8Array(e.buffer);for(let C=0;C<s;C++){const k=C<u?g:h;f[C]=v.slice(l,l+k),p[C]=c.encode(f[C]),l+=k,w=Math.max(w,k)}const y=new Uint8Array(n);let b=0,S,E;for(S=0;S<w;S++)for(E=0;E<s;E++)S<f[E].length&&(y[b++]=f[E][S]);for(S=0;S<d;S++)for(E=0;E<s;E++)y[b++]=p[E][S];return y}function Kh(e,t,r,n){let i;if(Array.isArray(e))i=Jn.fromArray(e);else if(typeof e=="string"){let m=t;if(!m){const g=Jn.rawSplit(e);m=en.getBestVersionForData(g,r)}i=Jn.fromString(e,m||40)}else throw new Error("Invalid data");const o=en.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 wr=uf;function lf(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var df=typeof Object.is=="function"?Object.is:lf,ff=wr.useSyncExternalStore,pf=wr.useRef,hf=wr.useEffect,mf=wr.useMemo,gf=wr.useDebugValue;_c.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var o=pf(null);if(o.current===null){var s={hasValue:!1,value:null};o.current=s}else s=o.current;o=mf(function(){function u(c){if(!m){if(m=!0,g=c,c=n(c),i!==void 0&&s.hasValue){var l=s.value;if(i(l,c))return h=l}return h=c}if(l=h,df(g,c))return l;var f=n(c);return i!==void 0&&i(l,f)?l:(g=c,h=f)}var m=!1,g,h,d=r===void 0?null:r;return[function(){return u(t())},d===null?void 0:function(){return u(d())}]},[t,r,n,i]);var a=ff(e,o[0],o[1]);return hf(function(){s.hasValue=!0,s.value=a},[a]),gf(a),a};vc.exports=_c;var yf=vc.exports,we="default"in Xt?Ra:Xt,Ts=Symbol.for("react-redux-context"),Rs=typeof globalThis!="undefined"?globalThis:{};function wf(){var r;if(!we.createContext)return{};const e=(r=Rs[Ts])!=null?r:Rs[Ts]=new Map;let t=e.get(we.createContext);return t||(t=we.createContext(null),e.set(we.createContext,t)),t}var nt=wf(),bf=()=>{throw new Error("uSES not initialized!")};function uo(e=nt){return function(){return we.useContext(e)}}var Sc=uo(),Cc=bf,vf=e=>{Cc=e},_f=(e,t)=>e===t;function Sf(e=nt){const t=e===nt?Sc:uo(e);return function(n,i={}){const{equalityFn:o=_f,devModeChecks:s={}}=typeof i=="function"?{equalityFn:i}:i,{store:a,subscription:u,getServerState:m,stabilityCheck:g,identityFunctionCheck:h}=t();we.useRef(!0);const d=we.useCallback({[n.name](l){return n(l)}}[n.name],[n,g,s.stabilityCheck]),c=Cc(u.addNestedSub,a.getState,m||a.getState,d,o);return we.useDebugValue(c),c}}var kc=Sf();function Ec(e){e()}function Cf(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Ec(()=>{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 Ps={notify(){},get:()=>[]};function kf(e,t){let r,n=Ps,i=0,o=!1;function s(f){g();const p=n.subscribe(f);let w=!1;return()=>{w||(w=!0,p(),h())}}function a(){n.notify()}function u(){l.onStateChange&&l.onStateChange()}function m(){return o}function g(){i++,r||(r=t?t.addNestedSub(u):e.subscribe(u),n=Cf())}function h(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=Ps)}function d(){o||(o=!0,g())}function c(){o&&(o=!1,h())}const l={addNestedSub:s,notifyNestedSubs:a,handleChangeWrapper:u,isSubscribed:m,trySubscribe:d,tryUnsubscribe:c,getListeners:()=>n};return l}var Ef=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",xf=Ef?we.useLayoutEffect:we.useEffect;function Is(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function Jr(e,t){if(Is(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])||!Is(e[r[i]],t[r[i]]))return!1;return!0}function Af({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const s=we.useMemo(()=>{const m=kf(e);return{store:e,subscription:m,getServerState:n?()=>n:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,n,i,o]),a=we.useMemo(()=>e.getState(),[e]);xf(()=>{const{subscription:m}=s;return m.onStateChange=m.notifyNestedSubs,m.trySubscribe(),a!==e.getState()&&m.notifyNestedSubs(),()=>{m.tryUnsubscribe(),m.onStateChange=void 0}},[s,a]);const u=t||nt;return we.createElement(u.Provider,{value:s},r)}var Tf=Af;function xc(e=nt){const t=e===nt?Sc:uo(e);return function(){const{store:n}=t();return n}}var Ac=xc();function Rf(e=nt){const t=e===nt?Ac:xc(e);return function(){return t().dispatch}}var Tc=Rf(),Pf=Ec;vf(yf.useSyncExternalStoreWithSelector);function Ms(e,t,r,n){const i=ae(()=>({queryArgs:e,serialized:typeof e=="object"?t({queryArgs:e,endpointDefinition:r,endpointName:n}):e}),[e,t,r,n]),o=xe(i);return te(()=>{o.current.serialized!==i.serialized&&(o.current=i)},[i]),o.current.serialized===i.serialized?o.current.queryArgs:e}var Hn=Symbol();function qn(e){const t=xe(e);return te(()=>{Jr(t.current,e)||(t.current=e)},[e]),Jr(t.current,e)?t.current:e}var wt=WeakMap?new WeakMap:void 0,If=({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,s)=>Ue(s)?Object.keys(s).sort().reduce((a,u)=>(a[u]=s[u],a),{}):s);Ue(t)&&(wt==null||wt.set(t,i)),r=i}return`${e}(${r})`},Mf=typeof window!="undefined"&&window.document&&window.document.createElement?mt:te,Ff=e=>e.isUninitialized?$(I({},e),{isUninitialized:!1,isFetching:!0,isLoading:e.data===void 0,status:pc.pending}):e;function Nf({api:e,moduleOptions:{batch:t,hooks:{useDispatch:r,useSelector:n,useStore:i},unstable__sideEffectsInRender:o},serializeQueryArgs:s,context:a}){const u=o?c=>c():te;return{buildQueryHooks:h,buildMutationHook:d,usePrefetch:g};function m(c,l,f){if(l!=null&&l.endpointName&&c.isUninitialized){const{endpointName:S}=l,k=a.endpointDefinitions[S];s({queryArgs:l.originalArgs,endpointDefinition:k,endpointName:S})===s({queryArgs:f,endpointDefinition:k,endpointName:S})&&(l=void 0)}let p=c.isSuccess?c.data:l==null?void 0:l.data;p===void 0&&(p=c.data);const w=p!==void 0,v=c.isLoading,y=!w&&v,b=c.isSuccess||v&&w;return $(I({},c),{data:p,currentData:c.data,isFetching:v,isLoading:y,isSuccess:b})}function g(c,l){const f=r(),p=qn(l);return bt((w,v)=>f(e.util.prefetch(c,w,I(I({},p),v))),[c,f,p])}function h(c){const l=(w,{refetchOnReconnect:v,refetchOnFocus:y,refetchOnMountOrArgChange:b,skip:S=!1,pollingInterval:k=0}={})=>{const{initiate:C}=e.endpoints[c],E=r(),x=xe();if(!x.current){const L=E(e.internalActions.internal_getRTKQSubscriptions());x.current=L}const A=Ms(S?ut:w,If,a.endpointDefinitions[c],c),R=qn({refetchOnReconnect:v,refetchOnFocus:y,pollingInterval:k}),F=xe(!1),P=xe();let{queryCacheKey:M,requestId:U}=P.current||{},G=!1;M&&U&&(G=x.current.isRequestSubscribed(M,U));const j=!G&&F.current;return u(()=>{F.current=G}),u(()=>{j&&(P.current=void 0)},[j]),u(()=>{var Z;const L=P.current;if(A===ut){L==null||L.unsubscribe(),P.current=void 0;return}const re=(Z=P.current)==null?void 0:Z.subscriptionOptions;if(!L||L.arg!==A){L==null||L.unsubscribe();const le=E(C(A,{subscriptionOptions:R,forceRefetch:b}));P.current=le}else R!==re&&L.updateSubscriptionOptions(R)},[E,C,b,A,R,j]),te(()=>()=>{var L;(L=P.current)==null||L.unsubscribe(),P.current=void 0},[]),ae(()=>({refetch:()=>{var L;if(!P.current)throw new Error(Ae(38));return(L=P.current)==null?void 0:L.refetch()}}),[])},f=({refetchOnReconnect:w,refetchOnFocus:v,pollingInterval:y=0}={})=>{const{initiate:b}=e.endpoints[c],S=r(),[k,C]=be(Hn),E=xe(),x=qn({refetchOnReconnect:w,refetchOnFocus:v,pollingInterval:y});u(()=>{var P,M;const F=(P=E.current)==null?void 0:P.subscriptionOptions;x!==F&&((M=E.current)==null||M.updateSubscriptionOptions(x))},[x]);const A=xe(x);u(()=>{A.current=x},[x]);const R=bt(function(F,P=!1){let M;return t(()=>{var U;(U=E.current)==null||U.unsubscribe(),E.current=M=S(b(F,{subscriptionOptions:A.current,forceRefetch:!P})),C(F)}),M},[S,b]);return te(()=>()=>{var F;(F=E==null?void 0:E.current)==null||F.unsubscribe()},[]),te(()=>{k!==Hn&&!E.current&&R(k,!0)},[k,R]),ae(()=>[R,k],[R,k])},p=(w,{skip:v=!1,selectFromResult:y}={})=>{const{select:b}=e.endpoints[c],S=Ms(v?ut:w,s,a.endpointDefinitions[c],c),k=xe(),C=ae(()=>Ct([b(S),(F,P)=>P,F=>S],m),[b,S]),E=ae(()=>y?Ct([C],y,{devModeChecks:{identityFunctionCheck:"never"}}):C,[C,y]),x=n(F=>E(F,k.current),Jr),A=i(),R=C(A.getState(),k.current);return Mf(()=>{k.current=R},[R]),x};return{useQueryState:p,useQuerySubscription:l,useLazyQuerySubscription:f,useLazyQuery(w){const[v,y]=f(w),b=p(y,$(I({},w),{skip:y===Hn})),S=ae(()=>({lastArg:y}),[y]);return ae(()=>[v,b,S],[v,b,S])},useQuery(w,v){const y=l(w,v),b=p(w,I({selectFromResult:w===ut||v!=null&&v.skip?void 0:Ff},v)),{data:S,status:k,isLoading:C,isSuccess:E,isError:x,error:A}=b;return jr({data:S,status:k,isLoading:C,isSuccess:E,isError:x,error:A}),ae(()=>I(I({},b),y),[b,y])}}}function d(c){return({selectFromResult:l,fixedCacheKey:f}={})=>{const{select:p,initiate:w}=e.endpoints[c],v=r(),[y,b]=be();te(()=>()=>{y!=null&&y.arg.fixedCacheKey||y==null||y.reset()},[y]);const S=bt(function(Z){const le=v(w(Z,{fixedCacheKey:f}));return b(le),le},[v,w,f]),{requestId:k}=y||{},C=ae(()=>p({fixedCacheKey:f,requestId:y==null?void 0:y.requestId}),[f,y,p]),E=ae(()=>l?Ct([C],l):C,[l,C]),x=n(E,Jr),A=f==null?y==null?void 0:y.arg.originalArgs:void 0,R=bt(()=>{t(()=>{y&&b(void 0),f&&v(e.internalActions.removeMutationResult({requestId:k,fixedCacheKey:f}))})},[v,f,y,k]),{endpointName:F,data:P,status:M,isLoading:U,isSuccess:G,isError:j,error:L}=x;jr({endpointName:F,data:P,status:M,isLoading:U,isSuccess:G,isError:j,error:L});const re=ae(()=>$(I({},x),{originalArgs:A,reset:R}),[x,A,R]);return ae(()=>[S,re],[S,re])}}}function Bf(e){return e.type==="query"}function Df(e){return e.type==="mutation"}function Wn(e){return e.replace(e[0],e[0].toUpperCase())}function Pr(e,...t){return Object.assign(e,...t)}var Of=Symbol(),Lf=(i={})=>{var o=i,{batch:e=Pf,hooks:t={useDispatch:Tc,useSelector:kc,useStore:Ac},unstable__sideEffectsInRender:r=!1}=o,n=ot(o,["batch","hooks","unstable__sideEffectsInRender"]);return{name:Of,init(s,{serializeQueryArgs:a},u){const m=s,{buildQueryHooks:g,buildMutationHook:h,usePrefetch:d}=Nf({api:s,moduleOptions:{batch:e,hooks:t,unstable__sideEffectsInRender:r},serializeQueryArgs:a,context:u});return Pr(m,{usePrefetch:d}),Pr(u,{batch:e}),{injectEndpoint(c,l){if(Bf(l)){const{useQuery:f,useLazyQuery:p,useLazyQuerySubscription:w,useQueryState:v,useQuerySubscription:y}=g(c);Pr(m.endpoints[c],{useQuery:f,useLazyQuery:p,useLazyQuerySubscription:w,useQueryState:v,useQuerySubscription:y}),s[`use${Wn(c)}Query`]=f,s[`useLazy${Wn(c)}Query`]=p}else if(Df(l)){const f=h(c);Pr(m.endpoints[c],{useMutation:f}),s[`use${Wn(c)}Mutation`]=f}}}}}},Rc=Jd(cf(),Lf());const Pc=(e,t,r)=>pe(void 0,null,function*(){const n=t.getState().session.backendUrl;return jd({baseUrl:n,prepareHeaders:(i,{getState:o})=>{const{session:s}=o();return i.set("Accept","application/json"),i.set("Authorization",`Bearer ${s.accessToken}`),i}})(e,t,r)}),Le=Rc({baseQuery:Pc,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:$f,useByofCampaignConnectQuery:Ic,useAppLoadedMutation:Uf,useErrorLogsMutation:wg}=Le;var yi={exports:{}};(function(e,t){(function(r,n){var i="1.0.37",o="",s="?",a="function",u="undefined",m="object",g="string",h="major",d="model",c="name",l="type",f="vendor",p="version",w="architecture",v="console",y="mobile",b="tablet",S="smarttv",k="wearable",C="embedded",E=500,x="Amazon",A="Apple",R="ASUS",F="BlackBerry",P="Browser",M="Chrome",U="Edge",G="Firefox",j="Google",L="Huawei",re="LG",Z="Microsoft",le="Motorola",He="Opera",ne="Samsung",Bt="Sharp",ie="Sony",Te="Xiaomi",Rn="Zebra",vo="Facebook",_o="Chromium OS",So="Mac OS",iu=function(z,V){var D={};for(var Y in z)V[Y]&&V[Y].length%2===0?D[Y]=V[Y].concat(z[Y]):D[Y]=z[Y];return D},Sr=function(z){for(var V={},D=0;D<z.length;D++)V[z[D].toUpperCase()]=z[D];return V},Co=function(z,V){return typeof z===g?Dt(V).indexOf(Dt(z))!==-1:!1},Dt=function(z){return z.toLowerCase()},ou=function(z){return typeof z===g?z.replace(/[^\d\.]/g,o).split(".")[0]:n},Pn=function(z,V){if(typeof z===g)return z=z.replace(/^\s\s*/,o),typeof V===u?z:z.substring(0,E)},Ot=function(z,V){for(var D=0,Y,Ye,Fe,W,B,Ne;D<V.length&&!B;){var Mn=V[D],xo=V[D+1];for(Y=Ye=0;Y<Mn.length&&!B&&Mn[Y];)if(B=Mn[Y++].exec(z),B)for(Fe=0;Fe<xo.length;Fe++)Ne=B[++Ye],W=xo[Fe],typeof W===m&&W.length>0?W.length===2?typeof W[1]==a?this[W[0]]=W[1].call(this,Ne):this[W[0]]=W[1]:W.length===3?typeof W[1]===a&&!(W[1].exec&&W[1].test)?this[W[0]]=Ne?W[1].call(this,Ne,W[2]):n:this[W[0]]=Ne?Ne.replace(W[1],W[2]):n:W.length===4&&(this[W[0]]=Ne?W[3].call(this,Ne.replace(W[1],W[2])):n):this[W]=Ne||n;D+=2}},In=function(z,V){for(var D in V)if(typeof V[D]===m&&V[D].length>0){for(var Y=0;Y<V[D].length;Y++)if(Co(V[D][Y],z))return D===s?n:D}else if(Co(V[D],z))return D===s?n:D;return z},su={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},ko={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"},Eo={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[p,[c,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[p,[c,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[c,p],[/opios[\/ ]+([\w\.]+)/i],[p,[c,He+" Mini"]],[/\bopr\/([\w\.]+)/i],[p,[c,He]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[p,[c,"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],[c,p],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[p,[c,"UC"+P]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[p,[c,"WeChat"]],[/konqueror\/([\w\.]+)/i],[p,[c,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[p,[c,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[p,[c,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[p,[c,"Smart Lenovo "+P]],[/(avast|avg)\/([\w\.]+)/i],[[c,/(.+)/,"$1 Secure "+P],p],[/\bfocus\/([\w\.]+)/i],[p,[c,G+" Focus"]],[/\bopt\/([\w\.]+)/i],[p,[c,He+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[c,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[c,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[c,He+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[c,"MIUI "+P]],[/fxios\/([-\w\.]+)/i],[p,[c,G]],[/\bqihu|(qi?ho?o?|360)browser/i],[[c,"360 "+P]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[c,/(.+)/,"$1 "+P],p],[/samsungbrowser\/([\w\.]+)/i],[p,[c,ne+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[c,/_/g," "],p],[/metasr[\/ ]?([\d\.]+)/i],[p,[c,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[c,"Sogou Mobile"],p],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[c,p],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[c],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[c,vo],p],[/(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],[c,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[c,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[p,[c,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[c,M+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[c,M+" WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[c,"Android "+P]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[c,p],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[p,[c,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[p,c],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[c,[p,In,su]],[/(webkit|khtml)\/([\w\.]+)/i],[c,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[c,"Netscape"],p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[c,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],[c,p],[/(cobalt)\/([\w\.]+)/i],[c,[p,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[w,"amd64"]],[/(ia32(?=;))/i],[[w,Dt]],[/((?:i[346]|x)86)[;\)]/i],[[w,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[w,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[w,"armhf"]],[/windows (ce|mobile); ppc;/i],[[w,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[w,/ower/,o,Dt]],[/(sun4\w)[;\)]/i],[[w,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[w,Dt]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[f,ne],[l,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[f,ne],[l,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[f,A],[l,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[f,A],[l,b]],[/(macintosh);/i],[d,[f,A]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[f,Bt],[l,y]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[f,L],[l,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[f,L],[l,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],[[d,/_/g," "],[f,Te],[l,y]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[f,Te],[l,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[f,"OPPO"],[l,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[f,"Vivo"],[l,y]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[f,"Realme"],[l,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],[d,[f,le],[l,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[f,le],[l,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[f,re],[l,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[f,re],[l,y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[f,"Lenovo"],[l,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[f,"Nokia"],[l,y]],[/(pixel c)\b/i],[d,[f,j],[l,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[f,j],[l,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],[d,[f,ie],[l,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[f,ie],[l,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[f,"OnePlus"],[l,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[f,x],[l,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[f,x],[l,y]],[/(playbook);[-\w\),; ]+(rim)/i],[d,f,[l,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[f,F],[l,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[f,R],[l,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[f,R],[l,y]],[/(nexus 9)/i],[d,[f,"HTC"],[l,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[f,[d,/_/g," "],[l,y]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[f,"Acer"],[l,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[f,"Meizu"],[l,y]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[f,"Ulefone"],[l,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],[f,d,[l,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],[f,d,[l,b]],[/(surface duo)/i],[d,[f,Z],[l,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[f,"Fairphone"],[l,y]],[/(u304aa)/i],[d,[f,"AT&T"],[l,y]],[/\bsie-(\w*)/i],[d,[f,"Siemens"],[l,y]],[/\b(rct\w+) b/i],[d,[f,"RCA"],[l,b]],[/\b(venue[\d ]{2,7}) b/i],[d,[f,"Dell"],[l,b]],[/\b(q(?:mv|ta)\w+) b/i],[d,[f,"Verizon"],[l,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[f,"Barnes & Noble"],[l,b]],[/\b(tm\d{3}\w+) b/i],[d,[f,"NuVision"],[l,b]],[/\b(k88) b/i],[d,[f,"ZTE"],[l,b]],[/\b(nx\d{3}j) b/i],[d,[f,"ZTE"],[l,y]],[/\b(gen\d{3}) b.+49h/i],[d,[f,"Swiss"],[l,y]],[/\b(zur\d{3}) b/i],[d,[f,"Swiss"],[l,b]],[/\b((zeki)?tb.*\b) b/i],[d,[f,"Zeki"],[l,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[f,"Dragon Touch"],d,[l,b]],[/\b(ns-?\w{0,9}) b/i],[d,[f,"Insignia"],[l,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[f,"NextBook"],[l,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[f,"Voice"],d,[l,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[f,"LvTel"],d,[l,y]],[/\b(ph-1) /i],[d,[f,"Essential"],[l,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[f,"Envizen"],[l,b]],[/\b(trio[-\w\. ]+) b/i],[d,[f,"MachSpeed"],[l,b]],[/\btu_(1491) b/i],[d,[f,"Rotor"],[l,b]],[/(shield[\w ]+) b/i],[d,[f,"Nvidia"],[l,b]],[/(sprint) (\w+)/i],[f,d,[l,y]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[f,Z],[l,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[f,Rn],[l,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[f,Rn],[l,y]],[/smart-tv.+(samsung)/i],[f,[l,S]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[f,ne],[l,S]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[f,re],[l,S]],[/(apple) ?tv/i],[f,[d,A+" TV"],[l,S]],[/crkey/i],[[d,M+"cast"],[f,j],[l,S]],[/droid.+aft(\w+)( bui|\))/i],[d,[f,x],[l,S]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[f,Bt],[l,S]],[/(bravia[\w ]+)( bui|\))/i],[d,[f,ie],[l,S]],[/(mitv-\w{5}) bui/i],[d,[f,Te],[l,S]],[/Hbbtv.*(technisat) (.*);/i],[f,d,[l,S]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[f,Pn],[d,Pn],[l,S]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[l,S]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[f,d,[l,v]],[/droid.+; (shield) bui/i],[d,[f,"Nvidia"],[l,v]],[/(playstation [345portablevi]+)/i],[d,[f,ie],[l,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[f,Z],[l,v]],[/((pebble))app/i],[f,d,[l,k]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[f,A],[l,k]],[/droid.+; (glass) \d/i],[d,[f,j],[l,k]],[/droid.+; (wt63?0{2,3})\)/i],[d,[f,Rn],[l,k]],[/(quest( 2| pro)?)/i],[d,[f,vo],[l,k]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[f,[l,C]],[/(aeobc)\b/i],[d,[f,x],[l,C]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[l,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[l,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[l,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[l,y]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[f,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[p,[c,U+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[c,"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],[c,p],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,c]],os:[[/microsoft (windows) (vista|xp)/i],[c,p],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[c,[p,In,ko]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[p,In,ko],[c,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[p,/_/g,"."],[c,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[c,So],[p,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[p,c],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[c,p],[/\(bb(10);/i],[p,[c,F]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[c,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[c,G+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[c,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[p,[c,"watchOS"]],[/crkey\/([\d\.]+)/i],[p,[c,M+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[c,_o],p],[/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],[c,p],[/(sunos) ?([\w\.\d]*)/i],[[c,"Solaris"],p],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[c,p]]},Re=function(z,V){if(typeof z===m&&(V=z,z=n),!(this instanceof Re))return new Re(z,V).getResult();var D=typeof r!==u&&r.navigator?r.navigator:n,Y=z||(D&&D.userAgent?D.userAgent:o),Ye=D&&D.userAgentData?D.userAgentData:n,Fe=V?iu(Eo,V):Eo,W=D&&D.userAgent==Y;return this.getBrowser=function(){var B={};return B[c]=n,B[p]=n,Ot.call(B,Y,Fe.browser),B[h]=ou(B[p]),W&&D&&D.brave&&typeof D.brave.isBrave==a&&(B[c]="Brave"),B},this.getCPU=function(){var B={};return B[w]=n,Ot.call(B,Y,Fe.cpu),B},this.getDevice=function(){var B={};return B[f]=n,B[d]=n,B[l]=n,Ot.call(B,Y,Fe.device),W&&!B[l]&&Ye&&Ye.mobile&&(B[l]=y),W&&B[d]=="Macintosh"&&D&&typeof D.standalone!==u&&D.maxTouchPoints&&D.maxTouchPoints>2&&(B[d]="iPad",B[l]=b),B},this.getEngine=function(){var B={};return B[c]=n,B[p]=n,Ot.call(B,Y,Fe.engine),B},this.getOS=function(){var B={};return B[c]=n,B[p]=n,Ot.call(B,Y,Fe.os),W&&!B[c]&&Ye&&Ye.platform!="Unknown"&&(B[c]=Ye.platform.replace(/chrome os/i,_o).replace(/macos/i,So)),B},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(B){return Y=typeof B===g&&B.length>E?Pn(B,E):B,this},this.setUA(Y),this};Re.VERSION=i,Re.BROWSER=Sr([c,p,h]),Re.CPU=Sr([w]),Re.DEVICE=Sr([d,f,l,v,y,S,b,k,C]),Re.ENGINE=Re.OS=Sr([c,p]),e.exports&&(t=e.exports=Re),t.UAParser=Re;var gt=typeof r!==u&&(r.jQuery||r.Zepto);if(gt&&!gt.ua){var Cr=new Re;gt.ua=Cr.getResult(),gt.ua.get=function(){return Cr.getUA()},gt.ua.set=function(z){Cr.setUA(z);var V=Cr.getResult();for(var D in V)gt.ua[D]=V[D]}}})(typeof window=="object"?window:cl)})(yi,yi.exports);var zf=yi.exports;const Vn=new zf.UAParser,Mc=()=>/iPad|iPhone|iPod/.test(navigator.userAgent),Fc=()=>/Android/.test(navigator.userAgent),$e=()=>Fc()||Mc(),Nc=()=>({deviceType:Fc()||Mc()?"Mobile":"Desktop",platform:Vn.getOS().name,Browser:Vn.getBrowser().name,"Browser Version":Vn.getBrowser().version}),Kt=Rc({baseQuery:Pc,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:I(I({},r),Nc())}})}),segmentPage:e.mutation({query:({event:t,properties:r})=>({url:"super-campaign/backend/segment/p",method:"POST",body:{event:t,properties:r}})})})}),{useSegmentIdentifyMutation:jf,useSegmentTrackMutation:Hf,useSegmentPageMutation:bg}=Kt,qf={selectedVariants:{}},wi=We({name:"experimentsData",initialState:qf,reducers:{setExperiment:(e,t)=>{const{experimentName:r,selectedVariant:n}=t.payload;return e.selectedVariants[r]||(e.selectedVariants[r]=n),e}}}),{setExperiment:Wf}=wi.actions,bi=We({name:"session",initialState:{},reducers:{setSession:(e,t)=>t.payload}}),{setSession:Vf}=bi.actions,vi=We({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:Qf,setSelectedFund:Bc,clearSelectedFund:qe}=vi.actions,lt=gd({reducer:{[bi.name]:bi.reducer,[Le.reducerPath]:Le.reducer,[Kt.reducerPath]:Kt.reducer,[vi.reducerPath]:vi.reducer,[wi.reducerPath]:wi.reducer},middleware:e=>e().concat(Le.middleware,Kt.middleware)}),Sn=()=>Tc(),ze=kc,lo="32367272075001",fo="slate",ke=e=>{document.dispatchEvent(new CustomEvent(e.type,{detail:e}))},Kf=()=>{ke({sender:"byof-engagement",type:"continue",reason:"No content to display"})},Jf=()=>{ke({sender:"byof-engagement",type:"continue",reason:"Continue button was clicked"})},Yf=()=>{ke({sender:"byof-engagement",type:"continue",reason:"Timeout, or a backend error has occurred"})},Gf=()=>{const[e]=Hf();return()=>{ke({sender:"super-campaign",type:"choose-another-fund-requested"}),e({event:"FeaturedFunds Skipped",properties:{method:"button"}})}},Xf=e=>{ke({sender:"super-campaign",type:"fund-panel-shown",shownFunds:e.map(t=>({fundId:t.fundId,fundType:t.fundType}))})},Zf=e=>{ke({sender:"super-campaign",type:"fund-tile-clicked",fundId:e.fundId,fundType:e.fundType,fundName:e.name,fundUsi:e.fundId===fo?lo:void 0})},fe=e=>{ke({sender:"super-campaign",type:"fund-pds-viewed",pageName:"Panel Fund Page",fundName:e.name,fundUsi:e.fundId===fo?lo:void 0})},ep=()=>{ke({sender:"super-campaign",type:"disclaimer-accepted"})},tp=()=>{ke({sender:"super-campaign",type:"disclaimer-viewed"})},jt=e=>{ke({sender:"super-campaign",type:"promoted-fund-joined",fundJoinInfo:e})},rp=()=>{ke({sender:"super-campaign",type:"super-campaign-loaded"})},np=e=>{ke({sender:"super-campaign",type:"super-campaign-load-failed",reason:e})},ip=e=>{ke({sender:"super-campaign",type:"super-campaign-failed",reason:e})};var op=0;function Yr(e,t,r,n,i,o){var s,a,u={};for(a in t)a=="ref"?s=t[a]:u[a]=t[a];var m={type:e,props:u,key:r,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--op,__i:-1,__u:0,__source:i,__self:o};if(typeof e=="function"&&(s=e.defaultProps))for(a in s)u[a]===void 0&&(u[a]=s[a]);return N.vnode&&N.vnode(m),m}var Ze=_e;function _(e,t,r){return wn.call(t,"css")?Yr(Ja,Ka(e,t),r):Yr(e,t,r)}function T(e,t,r){return wn.call(t,"css")?Yr(Ja,Ka(e,t),r):Yr(e,t,r)}const sp=J.a({fontWeight:"500",textDecorationLine:"underline",textUnderlineOffset:"2px",":hover":{"--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))"}}),ap="_extnav=true",O=i=>{var o=i,{link:e,onClick:t,children:r}=o,n=ot(o,["link","onClick","children"]);const s=e.indexOf("?")===-1?"?":"&",a=`${e}${s}${ap}`;return _(sp,$(I({target:"_blank",href:a,onClick:t},n),{children:r}))},cp=""+new URL("assets/logo-aware-DYvmVUZ1.svg",import.meta.url).href,up="Aware Super",_i={fundId:"aware-super",name:up,logo:cp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Multi-award winning fund named Retirement Offering of the Year 2024.^"}),_("p",{children:"Members get a 45-minute Super Helpful check-in with an advisor."}),_("p",{children:"8.97% p.a.* returns over 10 years to 31 March 2024 (High Growth option)"})],disclaimer:T("div",{children:[T("p",{children:["Consider if we’re right for you and read the"," ",_(O,{onClick:()=>fe(_i),link:"https://aware.com.au/member/contact-aware-super/forms-and-documents/",children:"PDS and TMD"}),".",_("br",{}),"^Awards are just one factor to consider when deciding on a product."," ",_(O,{link:"https://aware.com.au/member/about-us/awards/",children:"Learn about our awards"}),".",_("br",{}),"*SuperRatings Fund Crediting Rate Survey, March 2024. Based on SR50 Growth (77-90) Index. Past performance does not indicate future performance."]}),_("br",{}),_("p",{children:"Aware Super Pty Ltd (ABN 11 118 202 672, AFSL 293340), trustee of Aware Super (ABN 53 226 460 365)."})]})},lp=""+new URL("assets/logo-brighter-cKB6xH2M.svg",import.meta.url).href,dp="https://www.brightersuper.com.au/-/media/public/files/pds-and-guides/accumulation-account-pds.pdf",fp="https://www.brightersuper.com.au/-/media/public/files/target-market-determination/tmd-brighter-super-accumulation-account.pdf",pp="https://www.brightersuper.com.au/news/double-digit-returns-in-2023-and-some-of-the-lowest-fees-in-australia",hp="https://www.brightersuper.com.au/about-us/awards",mp="Brighter Super",Si={fundId:"brightersuper",name:mp,logo:lp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Double-digit returns for our MySuper option in 2023^"}),_("p",{children:"Top 3 industry fund for lowest MySuper fees in Australia^"}),T("p",{children:["Platinum rated by SuperRatings for 16 years in a row",_("sup",{css:{fontSize:"0.625rem"},children:"+"})]})],disclaimer:T("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:[T("p",{children:["^Past performance is not an indicator of future performance."," ",_(O,{link:pp,children:"Find out more about our MySuper fees and returns."}),_("sup",{css:{fontSize:"0.625rem"},children:"+"}),"Ratings are only one factor to consider."," ",_(O,{link:hp,children:"View our ratings and awards."})]}),T("p",{children:["Consider the"," ",_(O,{link:dp,onClick:()=>fe(Si),children:"PDS"})," ","& ",_(O,{link:fp,children:"TMD"})," before deciding to join."]}),_("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."})]})},gp=""+new URL("assets/logo-first-CusDmGWL.svg",import.meta.url).href,yp="First Super",Ci={fundId:"first-super",name:yp,logo:gp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Industry SuperFund that offers five investment options and default insurance"}),_("p",{children:"Strong long-term investment returns and superior customer service - members first"}),_("p",{children:"Established super fund – anyone can join including KiwiSaver members"})],disclaimer:T("div",{children:[T("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"," ",_(O,{onClick:()=>fe(Ci),link:"https://www.firstsuper.com.au/forms-tools/product-disclosure-statements/",children:"website"}),". Past performance is not a reliable indicator of future performance."]}),_("br",{}),_("p",{children:"Issued by First Super Pty Ltd ABN 42 053 498 472, AFSL 223988 (Trustee) as Trustee of First Super ABN 56 286 625 181."})]})},wp=""+new URL("assets/logo-hesta-NL7xF41R.svg",import.meta.url).href,bp="HESTA",ki={fundId:"hesta-default",name:bp,logo:wp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"A top-performing super fund* working for real-world impact"}),_("p",{children:"1+ million members"}),_("p",{children:"Expert help whenever you need it to help you face the future with confidence"})],featureSubText:void 0,disclaimer:T("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:[T("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"," ",_(O,{link:"https://www.hesta.com.au/ratings",children:"hesta.com.au/ratings"})," ","for more information."]}),T("p",{children:["Consider whether this product is appropriate for you by reading the Product Disclosure Statement and Target Market Determination at"," ",_(O,{onClick:()=>fe(ki),link:"https://www.hesta.com.au/pds",children:"hesta.com.au/pds"})," ","In considering your own circumstances about the suitability of HESTA products, you may wish to consult an adviser or use the ATO YourSuper comparison tool. Please also consider the relevant risks."]}),_("p",{children:"Issued by H.E.S.T. Australia Ltd ABN 66 006 818 695 AFSL No. 235249, Trustee of HESTA"})]})},vp=""+new URL("assets/logo-legalsuper-xG2DgGHY.svg",import.meta.url).href,_p="legalsuper",Jt={fundId:"legalsuper",name:_p,logo:vp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Strong performance - our investment options are designed to deliver steady returns."}),_("p",{children:"Personalised support - so you can access advice, knowledge and assistance when you need it."}),_("p",{children:"Tailored insurance - various cover options that adapt to life’s milestones and career changes."})],disclaimer:T("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:[T("p",{children:["This information is of a general nature. Please refer to the legalsuper"," ",_(O,{link:"https://www.legalsuper.com.au/super-pds",onClick:()=>fe(Jt),children:"Product Disclosure Statement (PDS)"})," ","and"," ",_(O,{link:"https://www.legalsuper.com.au/super-tmd",onClick:()=>fe(Jt),children:"Target Market Determination (TMD)"})," ","available at"," ",_(O,{link:"https://www.legalsuper.com.au/",onClick:()=>fe(Jt),children:"www.legalsuper.com.au"})," ","before making any decision. Past performance is not a guide to future performance."]}),_("p",{children:"Legal Super Pty Ltd ABN 37 004 455 789 AFSL 246315 as the Trustee for legalsuper ABN 60 346 078 879."})]})},Sp=""+new URL("assets/coverImage-BkXL9zfW.png",import.meta.url).href,Cp=""+new URL("assets/logo-mercer-mychoice-BB6VztRp.svg",import.meta.url).href,kp=["35225A44-1235-4774-A292-69461DCF16E4","42EC210A-07EB-4252-82C5-F10FBE6884D6","5EF1A2B7-4AED-46BA-9455-E118664DFA16","A7E3600B-40B3-4B48-9BC1-D78C91CAA365"],Ep="Mercer MyChoice",Gr={fundId:"mercermychoice",name:Ep,logo:Cp,coverImage:Sp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Save more super with our low fees"}),_("p",{children:"Take control with 6 MyChoice investment options"}),_("p",{children:"Join 850,000 Australians who trust our global expertise"})],disclaimer:T("div",{children:[T("p",{children:["You should consider the"," ",_(O,{link:"https://www.mercersuper.com.au/campaign-page/mercer-mychoice",onClick:()=>fe(Gr),children:"Product Disclosure Statement"})," ","and"," ",_(O,{link:"https://www.mercersuper.com.au/documents/target-market-determinations",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]}),_("br",{}),_("p",{children:"Issued by Mercer Superannuation (Australia) Limited (‘Mercer Super’) ABN: 79 004 717 533"})]}),extraBadge:_("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},children:"Low fees"}),footnoteTextOverride:"Powered by Flare FS",experiments:{"social-validation-business-mercermychoice":{splitType:"percentage",rotations:0,shouldRun:e=>{var n,i;const t=Le.endpoints.campaignConnect.select()(e).data,r=(n=t==null?void 0:t.userProfile.accountId)!=null?n:"";return!!(kp.includes(r)&&(t!=null&&t.promotedFunds.find(o=>o.fundId==="mercermychoice"))&&(!$e()||((i=t==null?void 0:t.promotedFunds)==null?void 0:i[0].fundId)==="mercermychoice")&&!(t!=null&&t.promotedFunds.find(o=>o.fundId==="virgin")))},variants:[{variantName:"control",percentage:50},{variantName:"badge",percentage:50}]}}},xp=""+new URL("assets/logo-mine-7mxPtjsF.svg",import.meta.url).href,Ap="Mine Super",Ei={fundId:"mine",name:Ap,logo:xp,iframeType:"PromotedFundJoinV2",features:[T("p",{children:[_("i",{children:"Money"})," magazine’s Best of the Best Awards for Best Value Superannuation Fund for Young People 2024."]}),_("p",{children:"Insurance cover^ that’s got your back if you’re unable to work due to sickness or injury."}),_("p",{children:"One of the lowest fixed admin fees ($0.75 per week)."})],featureSubText:["^Subject to meeting eligibility criteria."],disclaimer:_("div",{children:T("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"," ",_(O,{link:"https://www.mine.com.au/super/about-my-super/super-pds",onClick:()=>fe(Ei),children:"PDS"})," ","and ",_(O,{link:"https://www.mine.com.au/tmd",children:"TMDs"})," on our website at ",_(O,{link:"https://www.mine.com.au/",children:"mine.com.au"})," when considering if our financial products are right for you."]})})},Tp=""+new URL("assets/logo-reisuper-aM5iDbpN.svg",import.meta.url).href,Rp="REI Super",xi={fundId:"reisuper",name:Rp,logo:Tp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Built by and for the real estate industry"}),_("p",{children:"Consistent long-term performance with competitive fees*"}),_("p",{children:"All profits to members, not shareholders"})],disclaimer:T("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[_("p",{children:"*Balanced Option net investment return of 9.45% for year ending 30 June 2023."}),T("p",{children:["You should consider the"," ",_(O,{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:()=>fe(xi),children:"Product Disclosure Statement"})," ","and"," ",_(O,{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"},Pp=""+new URL("assets/logo-slate-CowODvPX.png",import.meta.url).href,Ip="Slate Super",ur={fundId:fo,name:Ip,logo:Pp,iframeType:"SlateJoin",features:[_("p",{children:"A lifestage investment strategy that evolves with you"}),_("p",{children:"Advanced mobile app with retirement forecast and smart features"}),_("p",{children:"Member advocates at Slate to assist with your account"})],disclaimer:T("p",{children:["You should consider the"," ",_(O,{link:"https://slate.co/pds/?utm_source=flare&utm_medium=superselection",onClick:()=>fe(ur),children:"Product Disclosure Statement"})," ","and"," ",_(O,{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"},Mp=""+new URL("assets/logo-spirit-CAaRIHR7.svg",import.meta.url).href,Fp="Spirit Super",Ai={fundId:"spirit",name:Fp,logo:Mp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Industry SuperFund - profit to members"}),T("p",{children:["Low fees",_("sup",{css:{fontSize:"0.625rem"},children:"1"})," and a history of strong returns",_("sup",{css:{fontSize:"0.625rem"},children:"2"})]}),T("p",{children:["Best customer experience",_("sup",{css:{fontSize:"0.625rem"},children:"3"})]})],featureSubText:_("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:T("ol",{css:{listStyleType:"decimal","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[_("li",{children:_("span",{children:"$67.60 + 0.15% of account balance pa in admin fees, capped at $517.60"})}),_("li",{children:_("span",{children:"Past performance isn't a reliable indicator of future performance"})}),_("li",{children:_("span",{children:_(O,{link:"https://www.spiritsuper.com.au/News/Best-in-customer-service-again",children:"CSBA Sense CX Benchmark ratings 2022/23/24"})})})]})}),disclaimer:T("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. Read the award information, PDS and TMD at"," ",_(O,{link:"https://www.spiritsuper.com.au",onClick:()=>fe(Ai),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)."]})},Np=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,Bp="Unisuper",Dp="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",Op="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",Ti={fundId:"unisuper",name:Bp,logo:Np,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Our fees are among the lowest in the industry.^"}),_("p",{children:"Our strong, long-term performance regularly exceeds industry averages.*"}),T("p",{children:["We’re consistently awarded as one of Australia’s best-performing funds.",_("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],disclaimer:T("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:[T("p",{children:["^Read more about our fees and how we compare"," ",_(O,{link:"https://www.unisuper.com.au/super/products-and-fees",children:"here"}),"."]}),T("p",{children:["*Past performance is not an indicator of future performance. Read more about our performance and how we compare"," ",_(O,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),T("p",{children:[_("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",_(O,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),T("p",{children:["Remember to consider the"," ",_(O,{link:Dp,onClick:()=>fe(Ti),children:"Product Disclosure Statement"})," ","and ",_(O,{link:Op,children:"Target Market Determination"})," that is relevant to you."]}),_("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},Lp=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,$p=""+new URL("assets/unisuper-default-badge1-CC2-KRH2.svg",import.meta.url).href,Up=""+new URL("assets/unisuper-default-badge2-CqUa_Zky.svg",import.meta.url).href,zp=""+new URL("assets/unisuper-default-badge3-B7j1-pyZ.svg",import.meta.url).href,Ir="Unisuper",jp="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",Hp="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",Ri={fundId:"unisuper-default-v2",name:Ir,logo:Lp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Low fees, better value – Our fees are among the lowest in the industry.^"}),_("p",{children:"Strong, long-term performance – We regularly exceed industry averages.*"}),T("p",{children:["Award winning super – Continually recognised as one of Australia’s best-performing funds.",_("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],customContent:T("div",{css:{marginTop:"1.5rem",display:"flex",gap:"0.75rem"},children:[_("div",{children:_("img",{alt:Ir,src:$p})}),_("div",{children:_("img",{alt:Ir,src:Up})}),_("div",{children:_("img",{alt:Ir,src:zp})})]}),disclaimer:T("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:[T("p",{children:["^Read more about our fees and how we compare"," ",_(O,{link:"https://www.unisuper.com.au/super/products-and-fees",children:"here"}),"."]}),T("p",{children:["*Past performance is not an indicator of future performance. Read more about our performance and how we compare"," ",_(O,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),T("p",{children:[_("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",_(O,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),T("p",{children:["Remember to consider the"," ",_(O,{link:jp,onClick:()=>fe(Ri),children:"Product Disclosure Statement"})," ","and ",_(O,{link:Hp,children:"Target Market Determination"})," that is relevant to you."]}),_("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},qp=""+new URL("assets/logo-virgin-Dg0nHidv.svg",import.meta.url).href,Fs=["04D04CB7-AE67-4D1C-8A1E-68451E64A659","06151553-3055-4B83-BC3C-9EC1CA642F88","0723654D-A9AF-453A-B376-54A2EF5E50F5","0E09CFC5-2DF2-432A-BBEC-25B84E65F21A","0E306866-97B3-4BE4-B97A-4BA1B1CEE95C","1EC966EE-C6D4-4BB8-ABF5-0A6FD8FC9882","25949BFA-334E-4DFC-9278-5018E093F1F8","3B13774E-E528-422E-9152-0B24EA2E5C2A","4C5BD86C-1496-431F-A649-A0E92858008A","5E169341-47A2-4D69-BA8C-A5A0F108CACD","6D23F9F0-D1C8-4121-A03A-6B9C3F0097EB","7B555D55-DDBB-44CE-8D6D-9553A419FE5A","8F8965D6-7B50-4D88-BC60-8D3B5EDDDE41","9B6747FE-DB3F-4F03-AA7C-21DF0C81955E","A10F82EC-7AFB-4E1C-914C-C0717ECE05DD","AAA060B4-EEC1-4ADC-A8B3-3D3A077A8829","B60D57B8-015C-44BB-A425-D7D78B29AC3F","BB0A686A-6ADC-4E03-9789-62F135D75A0A","D1A8905E-C28C-4F09-94D6-208063A76DB3","D9E0FC54-70B3-43C0-A347-A85CE496F3EF","DDCDC552-E5D6-4E95-9B71-9FD25F75AF35","E0FE92D8-6E61-42BE-AD6F-7E6FAEEB8D06","E57FFD69-0B30-480D-BCB2-CA3C65D6B58C","E7C4CE53-5CDE-4F0D-A2D4-ED8FF90D6138","F89A21D7-4FD0-41D2-A7A5-602E4462BC93","FA2F7EDC-2F5C-43E2-90D3-1125BDE3E602","FA650343-6D1D-4EF1-95E7-666D86C405EC"],Wp=["35225A44-1235-4774-A292-69461DCF16E4","42EC210A-07EB-4252-82C5-F10FBE6884D6","5EF1A2B7-4AED-46BA-9455-E118664DFA16","A7E3600B-40B3-4B48-9BC1-D78C91CAA365"],Vp="Virgin Money Super",Pi={fundId:"virgin",name:Vp,logo:qp,iframeType:"PromotedFundJoinV2",features:[T("p",{children:["Returns above industry and retail super fund medians over the past 5 years",_("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),_("p",{children:"One of the lowest fees in the market"}),T("p",{children:["Virgin Money rewards you with Velocity Points on your contributions",_("sup",{css:{fontSize:"0.625rem"},children:"2"})]})],featureSubText:_("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:T("ol",{css:{listStyleType:"decimal","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[_("li",{children:_("span",{children:"Past performance is not a reliable indicator of future performance. Source: SuperRatings Fund Crediting Rate Survey April 2022."})}),_("li",{children:_("span",{children:_(O,{css:{fontWeight:"400"},link:"https://virginmoney.com.au/superannuation/forms-and-key-information/key-documents",children:"Eligibility and T&Cs apply"})})})]})}),disclaimer:T("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"," ",_(O,{link:"https://virginmoney.com.au/superannuation/",onClick:()=>fe(Pi),children:"www.virginmoney.com.au"})," ","before making a decision"]}),extraBadge:_("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},children:"Low fees"}),footnoteTextOverride:"Powered by Flare FS",experiments:{"social-validation-business-virgin":{splitType:"percentage",rotations:0,shouldRun:e=>{var n,i;const t=Le.endpoints.campaignConnect.select()(e).data,r=(n=t==null?void 0:t.userProfile.accountId)!=null?n:"";return!!(Fs.includes(r)&&(t!=null&&t.promotedFunds.find(o=>o.fundId==="virgin"))&&(!$e()||((i=t==null?void 0:t.promotedFunds)==null?void 0:i[0].fundId)==="virgin")&&!(t!=null&&t.promotedFunds.find(o=>o.fundId==="mercermychoice")))},variants:[{variantName:"control",percentage:50},{variantName:"badge",percentage:50}]},"social-validation-popular-virgin":{splitType:"percentage",rotations:0,shouldRun:e=>{var i,o;const t=Wp.concat(Fs),r=Le.endpoints.campaignConnect.select()(e).data,n=(i=r==null?void 0:r.userProfile.accountId)!=null?i:"";return!!(!t.includes(n)&&(r!=null&&r.promotedFunds.find(s=>s.fundId==="virgin"))&&(!$e()||((o=r==null?void 0:r.promotedFunds)==null?void 0:o[0].fundId)==="virgin")&&!(r!=null&&r.promotedFunds.find(s=>s.fundId==="mercermychoice")))},variants:[{variantName:"control",percentage:5},{variantName:"badge",percentage:95}]}}},Qp=""+new URL("assets/logo-virgin-Dg0nHidv.svg",import.meta.url).href,Kp="Virgin Money Super",Ii={fundId:"virgin-default",name:Kp,logo:Qp,iframeType:"PromotedFundJoinV2",features:[T("p",{children:["Returns above industry and retail super fund medians over the past 5 years",_("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),_("p",{children:"One of the lowest fees in the market"}),T("p",{children:["Virgin Money rewards you with Velocity Points on your contributions",_("sup",{css:{fontSize:"0.625rem"},children:"2"})]})],featureSubText:_("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:T("ol",{css:{listStyleType:"decimal","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[_("li",{children:_("span",{children:"Past performance is not a reliable indicator of future performance. Source: SuperRatings Fund Crediting Rate Survey April 2022."})}),_("li",{children:_("span",{children:_(O,{css:{fontWeight:"400"},link:"https://virginmoney.com.au/superannuation/forms-and-key-information/key-documents",children:"Eligibility and T&Cs apply"})})})]})}),disclaimer:T("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"," ",_(O,{link:"https://virginmoney.com.au/superannuation/",onClick:()=>fe(Ii),children:"www.virginmoney.com.au"})," ","before making a decision"]}),extraBadge:_("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},children:"Low fees"}),footnoteTextOverride:"Powered by Flare FS"},Jp=5*1e3;let Ur=[];const ye=(e,t)=>{Ur.push({log:e,params:I(I({},t),Nc())})},Yp=()=>setInterval(()=>pe(void 0,null,function*(){Ur.length>0&&"data"in(yield lt.dispatch(Le.endpoints.errorLogs.initiate({logs:Ur})))&&(Ur=[])}),Jp),po=e=>{switch(e.fundId){case _i.fundId:return $(I({},_i),{fundType:e.type});case Si.fundId:return $(I({},Si),{fundType:e.type});case Ci.fundId:return $(I({},Ci),{fundType:e.type});case ki.fundId:return $(I({},ki),{fundType:e.type});case Jt.fundId:return $(I({},Jt),{fundType:e.type});case Gr.fundId:return $(I({},Gr),{fundType:e.type});case Ei.fundId:return $(I({},Ei),{fundType:e.type});case xi.fundId:return $(I({},xi),{fundType:e.type});case ur.fundId:return $(I({},ur),{fundType:e.type});case Ai.fundId:return $(I({},Ai),{fundType:e.type});case Ti.fundId:return $(I({},Ti),{fundType:e.type});case Ri.fundId:return $(I({},Ri),{fundType:e.type});case Pi.fundId:return $(I({},Pi),{fundType:e.type});case Ii.fundId:return $(I({},Ii),{fundType:e.type})}return null},Gp=e=>{const t=[];for(const n of e){const i=po(n);i?t.push(i):ye(`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=Gr;return ye(`No fund IDs were mapped, returning "${r.fundId}"`,{funds:e}),[$(I({},r),{fundType:"promoted"})]},Xp=e=>e==="unisuper-db"?"UniSuper":(ye('No defined-benefits fund IDs were mapped."',{fundId:e}),""),Dc=()=>{const{selectedFund:e}=ze(r=>r.state);let t="Powered by Flare";if(e){const r=po({fundId:e==null?void 0:e.fundId,type:"promoted"});r!=null&&r.footnoteTextOverride&&(t=r.footnoteTextOverride)}return T("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:[_("span",{children:t}),T("p",{css:{display:"block",color:"transparent"},children:["v","1.43.43"]})]})},Ke=({size:e=48})=>_("div",{css:{display:"inline-block","@keyframes spin":{to:{transform:"rotate(360deg)"}},animation:"spin 1s linear infinite"},children:T("svg",{width:e,height:e,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[_("path",{d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM1.99743 8C1.99743 11.3151 4.68487 14.0026 8 14.0026C11.3151 14.0026 14.0026 11.3151 14.0026 8C14.0026 4.68487 11.3151 1.99743 8 1.99743C4.68487 1.99743 1.99743 4.68487 1.99743 8Z",fill:"white","fill-opacity":"0.3"}),_("path",{d:"M8 1C8 0.447715 8.44943 -0.00643769 8.99741 0.0624193C9.70527 0.151368 10.3996 0.334798 11.0615 0.608964C12.0321 1.011 12.914 1.60028 13.6569 2.34315C14.3997 3.08602 14.989 3.96793 15.391 4.93853C15.6652 5.60043 15.8486 6.29473 15.9376 7.0026C16.0064 7.55057 15.5523 8 15 8C14.4477 8 14.0085 7.54925 13.9169 7.00462C13.842 6.55939 13.7169 6.12298 13.5433 5.7039C13.2417 4.97595 12.7998 4.31451 12.2426 3.75736C11.6855 3.20021 11.0241 2.75825 10.2961 2.45672C9.87702 2.28313 9.44061 2.15804 8.99538 2.08314C8.45075 1.99152 8 1.55228 8 1Z",css:{fill:"var(--fl-color-primary)"}})]})}),Cn=({fillWidth:e=!1,fillWidthOnMobile:t=!1,disabled:r=!1,onClick:n=void 0,children:i})=>{const[o,s]=be(0);return T("button",{css:[{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",fontSize:"1rem",lineHeight:"1.5rem"},{display:"inline-flex",alignItems:"center",justifyContent:"center",borderWidth:"1px",fontWeight:"500"},{borderRadius:"0.375rem","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)",":focus":{outline:"2px solid transparent",outlineOffset:"2px","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)"}},{pointerEvents:"auto",":focus":{"--tw-ring-color":"var(--fl-color-primary-focus)","--tw-ring-offset-width":"2px"}},{":disabled":{pointerEvents:"none","--tw-border-opacity":"1",borderColor:"rgb(209 213 219 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity))"}},{borderColor:"transparent",backgroundColor:"var(--fl-color-primary)","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))",":hover":{backgroundColor:"var(--fl-color-primary-hover)"}},(e||t)&&{width:"100%"},t&&{"@media (min-width: 640px)":{width:"auto"}}],disabled:r,onClick:()=>pe(void 0,null,function*(){if(!(!n||o===1))try{s(1),yield n(),s(0)}catch(u){throw s(2),u}}),children:[o===1&&_(Ke,{size:16}),_("div",{css:[o===1&&{display:"none"}],children:i})]})},Zp=J.div({width:"fit-content",borderRadius:"0.5rem",borderWidth:"1px"}),eh=J.div({display:"flex",justifyContent:"flex-end",paddingRight:"0.5rem",paddingTop:"0.5rem"}),th=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))"}),rh=J.div({padding:"0.75rem","@media (min-width: 640px)":{paddingLeft:"3.5rem",paddingRight:"3.5rem",paddingBottom:"2rem"}}),nh=({pillContent:e,children:t})=>T(Zp,{children:[e&&_(eh,{children:_(th,{children:e})}),_(rh,{children:t})]});class Ht extends Error{}Ht.prototype.name="InvalidTokenError";function ih(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 oh(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 ih(t)}catch(r){return atob(t)}}function Oc(e,t){if(typeof e!="string")throw new Ht("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 Ht(`Invalid token specified: missing part #${r+1}`);let i;try{i=oh(n)}catch(o){throw new Ht(`Invalid token specified: invalid base64 for part #${r+1} (${o.message})`)}try{return JSON.parse(i)}catch(o){throw new Ht(`Invalid token specified: invalid json for part #${r+1} (${o.message})`)}}const sh=e=>Oc(e),ah=()=>{const{superBackendUrl:e,accessToken:t,fundUsi:r}=ze(s=>s.session),{data:n}=Ic(r||""),i=`${e}/activity-tracker/track`;return{createTrackedLink:(s,a)=>{var l,f;if(!t)throw new Error("No access token found");const{sub:u,session_id:m}=sh(t);(!n||n.engagements.length===0)&&ye("No engagements found when attempting to create tracked link");const{accountId:g,partnerId:h,engagements:d}=n!=null?n:{accountId:"",partnerId:"",engagements:[]};s=encodeURIComponent(s);let c=`${i}?url=${s}&id=${u}&sId=${m}&usi=${r}&fId=${(f=(l=d[0])==null?void 0:l.fundId)!=null?f:""}&aId=${g}&pId=${h}&ft=manual`;if(a.eventType){const p=encodeURIComponent(a.eventType);c+=`&et=${p}`}return a.type&&(c+=`&type=${a.type}`),a.engagementId&&(c+=`&eId=${a.engagementId}`),c}}};function ch(e){const t=document.documentElement;for(const r in e.colors)t.style.setProperty(`--${r}`,e.colors[r])}var br={},uh=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},Lc={},Ee={};let ho;const lh=[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];Ee.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};Ee.getSymbolTotalCodewords=function(t){return lh[t]};Ee.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};Ee.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');ho=t};Ee.isKanjiModeEnabled=function(){return typeof ho!="undefined"};Ee.toSJIS=function(t){return ho(t)};var kn={};(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}}})(kn);function $c(){this.buffer=[],this.length=0}$c.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 dh=$c;function vr(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)}vr.prototype.set=function(e,t,r,n){const i=e*this.size+t;this.data[i]=r,n&&(this.reservedBit[i]=!0)};vr.prototype.get=function(e,t){return this.data[e*this.size+t]};vr.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r};vr.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var fh=vr,Uc={};(function(e){const t=Ee.getSymbolSize;e.getRowColCoords=function(n){if(n===1)return[];const i=Math.floor(n/7)+2,o=t(n),s=o===145?26:Math.ceil((o-13)/(2*i-2))*2,a=[o-7];for(let u=1;u<i-1;u++)a[u]=a[u-1]-s;return a.push(6),a.reverse()},e.getPositions=function(n){const i=[],o=e.getRowColCoords(n),s=o.length;for(let a=0;a<s;a++)for(let u=0;u<s;u++)a===0&&u===0||a===0&&u===s-1||a===s-1&&u===0||i.push([o[a],o[u]]);return i}})(Uc);var zc={};const ph=Ee.getSymbolSize,Ns=7;zc.getPositions=function(t){const r=ph(t);return[[0,0],[r-Ns,0],[0,r-Ns]]};var jc={};(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 s=0,a=0,u=0,m=null,g=null;for(let h=0;h<o;h++){a=u=0,m=g=null;for(let d=0;d<o;d++){let c=i.get(h,d);c===m?a++:(a>=5&&(s+=t.N1+(a-5)),m=c,a=1),c=i.get(d,h),c===g?u++:(u>=5&&(s+=t.N1+(u-5)),g=c,u=1)}a>=5&&(s+=t.N1+(a-5)),u>=5&&(s+=t.N1+(u-5))}return s},e.getPenaltyN2=function(i){const o=i.size;let s=0;for(let a=0;a<o-1;a++)for(let u=0;u<o-1;u++){const m=i.get(a,u)+i.get(a,u+1)+i.get(a+1,u)+i.get(a+1,u+1);(m===4||m===0)&&s++}return s*t.N2},e.getPenaltyN3=function(i){const o=i.size;let s=0,a=0,u=0;for(let m=0;m<o;m++){a=u=0;for(let g=0;g<o;g++)a=a<<1&2047|i.get(m,g),g>=10&&(a===1488||a===93)&&s++,u=u<<1&2047|i.get(g,m),g>=10&&(u===1488||u===93)&&s++}return s*t.N3},e.getPenaltyN4=function(i){let o=0;const s=i.data.length;for(let u=0;u<s;u++)o+=i.data[u];return Math.abs(Math.ceil(o*100/s/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 s=o.size;for(let a=0;a<s;a++)for(let u=0;u<s;u++)o.isReserved(u,a)||o.xor(u,a,r(i,u,a))},e.getBestMask=function(i,o){const s=Object.keys(e.Patterns).length;let a=0,u=1/0;for(let m=0;m<s;m++){o(m),e.applyMask(m,i);const g=e.getPenaltyN1(i)+e.getPenaltyN2(i)+e.getPenaltyN3(i)+e.getPenaltyN4(i);e.applyMask(m,i),g<u&&(u=g,a=m)}return a}})(jc);var En={};const Xe=kn,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];En.getBlocksCount=function(t,r){switch(r){case Xe.L:return Mr[(t-1)*4+0];case Xe.M:return Mr[(t-1)*4+1];case Xe.Q:return Mr[(t-1)*4+2];case Xe.H:return Mr[(t-1)*4+3];default:return}};En.getTotalCodewordsCount=function(t,r){switch(r){case Xe.L:return Fr[(t-1)*4+0];case Xe.M:return Fr[(t-1)*4+1];case Xe.Q:return Fr[(t-1)*4+2];case Xe.H:return Fr[(t-1)*4+3];default:return}};var Hc={},xn={};const Yt=new Uint8Array(512),Xr=new Uint8Array(256);(function(){let t=1;for(let r=0;r<255;r++)Yt[r]=t,Xr[t]=r,t<<=1,t&256&&(t^=285);for(let r=255;r<512;r++)Yt[r]=Yt[r-255]})();xn.log=function(t){if(t<1)throw new Error("log("+t+")");return Xr[t]};xn.exp=function(t){return Yt[t]};xn.mul=function(t,r){return t===0||r===0?0:Yt[Xr[t]+Xr[r]]};(function(e){const t=xn;e.mul=function(n,i){const o=new Uint8Array(n.length+i.length-1);for(let s=0;s<n.length;s++)for(let a=0;a<i.length;a++)o[s+a]^=t.mul(n[s],i[a]);return o},e.mod=function(n,i){let o=new Uint8Array(n);for(;o.length-i.length>=0;){const s=o[0];for(let u=0;u<i.length;u++)o[u]^=t.mul(i[u],s);let a=0;for(;a<o.length&&o[a]===0;)a++;o=o.slice(a)}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}})(Hc);const qc=Hc;function mo(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}mo.prototype.initialize=function(t){this.degree=t,this.genPoly=qc.generateECPolynomial(this.degree)};mo.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=qc.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 hh=mo,Wc={},it={},go={};go.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var je={};const Vc="[0-9]+",mh="[A-Z $%*+\\-./:]+";let lr="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";lr=lr.replace(/u/g,"\\u");const gh="(?:(?![A-Z0-9 $%*+\\-./:]|"+lr+`)(?:.|[\r
17
+ ]))+`;je.KANJI=new RegExp(lr,"g");je.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");je.BYTE=new RegExp(gh,"g");je.NUMERIC=new RegExp(Vc,"g");je.ALPHANUMERIC=new RegExp(mh,"g");const yh=new RegExp("^"+lr+"$"),wh=new RegExp("^"+Vc+"$"),bh=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");je.testKanji=function(t){return yh.test(t)};je.testNumeric=function(t){return wh.test(t)};je.testAlphanumeric=function(t){return bh.test(t)};(function(e){const t=go,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,s){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!t.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?o.ccBits[0]:s<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,s){if(e.isValid(o))return o;try{return n(o)}catch(a){return s}}})(it);(function(e){const t=Ee,r=En,n=kn,i=it,o=go,s=7973,a=t.getBCHDigit(s);function u(d,c,l){for(let f=1;f<=40;f++)if(c<=e.getCapacity(f,l,d))return f}function m(d,c){return i.getCharCountIndicator(d,c)+4}function g(d,c){let l=0;return d.forEach(function(f){const p=m(f.mode,c);l+=p+f.getBitsLength()}),l}function h(d,c){for(let l=1;l<=40;l++)if(g(d,l)<=e.getCapacity(l,c,i.MIXED))return l}e.from=function(c,l){return o.isValid(c)?parseInt(c,10):l},e.getCapacity=function(c,l,f){if(!o.isValid(c))throw new Error("Invalid QR Code version");typeof f=="undefined"&&(f=i.BYTE);const p=t.getSymbolTotalCodewords(c),w=r.getTotalCodewordsCount(c,l),v=(p-w)*8;if(f===i.MIXED)return v;const y=v-m(f,c);switch(f){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(c,l){let f;const p=n.from(l,n.M);if(Array.isArray(c)){if(c.length>1)return h(c,p);if(c.length===0)return 1;f=c[0]}else f=c;return u(f.mode,f.getLength(),p)},e.getEncodedBits=function(c){if(!o.isValid(c)||c<7)throw new Error("Invalid QR Code version");let l=c<<12;for(;t.getBCHDigit(l)-a>=0;)l^=s<<t.getBCHDigit(l)-a;return c<<12|l}})(Wc);var Qc={};const Mi=Ee,Kc=1335,vh=21522,Bs=Mi.getBCHDigit(Kc);Qc.getEncodedBits=function(t,r){const n=t.bit<<3|r;let i=n<<10;for(;Mi.getBCHDigit(i)-Bs>=0;)i^=Kc<<Mi.getBCHDigit(i)-Bs;return(n<<10|i)^vh};var Jc={};const _h=it;function Rt(e){this.mode=_h.NUMERIC,this.data=e.toString()}Rt.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};Rt.prototype.getLength=function(){return this.data.length};Rt.prototype.getBitsLength=function(){return Rt.getBitsLength(this.data.length)};Rt.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 Sh=Rt;const Ch=it,Qn=["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 Pt(e){this.mode=Ch.ALPHANUMERIC,this.data=e}Pt.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};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;for(r=0;r+2<=this.data.length;r+=2){let n=Qn.indexOf(this.data[r])*45;n+=Qn.indexOf(this.data[r+1]),t.put(n,11)}this.data.length%2&&t.put(Qn.indexOf(this.data[r]),6)};var kh=Pt,Eh=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 s=t.charCodeAt(i+1);s>=56320&&s<=57343&&(o=(o-55296)*1024+s-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 xh=Eh,Ah=it;function It(e){this.mode=Ah.BYTE,typeof e=="string"&&(e=xh(e)),this.data=new Uint8Array(e)}It.getBitsLength=function(t){return t*8};It.prototype.getLength=function(){return this.data.length};It.prototype.getBitsLength=function(){return It.getBitsLength(this.data.length)};It.prototype.write=function(e){for(let t=0,r=this.data.length;t<r;t++)e.put(this.data[t],8)};var Th=It;const Rh=it,Ph=Ee;function Mt(e){this.mode=Rh.KANJI,this.data=e}Mt.getBitsLength=function(t){return t*13};Mt.prototype.getLength=function(){return this.data.length};Mt.prototype.getBitsLength=function(){return Mt.getBitsLength(this.data.length)};Mt.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let r=Ph.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 Ih=Mt,Yc={exports:{}};(function(e){var t={single_source_shortest_paths:function(r,n,i){var o={},s={};s[n]=0;var a=t.PriorityQueue.make();a.push(n,0);for(var u,m,g,h,d,c,l,f,p;!a.empty();){u=a.pop(),m=u.value,h=u.cost,d=r[m]||{};for(g in d)d.hasOwnProperty(g)&&(c=d[g],l=h+c,f=s[g],p=typeof s[g]=="undefined",(p||f>l)&&(s[g]=l,a.push(g,l),o[g]=m))}if(typeof i!="undefined"&&typeof s[i]=="undefined"){var w=["Could not find a path from ",n," to ",i,"."].join("");throw new Error(w)}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})(Yc);var Mh=Yc.exports;(function(e){const t=it,r=Sh,n=kh,i=Th,o=Ih,s=je,a=Ee,u=Mh;function m(w){return unescape(encodeURIComponent(w)).length}function g(w,v,y){const b=[];let S;for(;(S=w.exec(y))!==null;)b.push({data:S[0],index:S.index,mode:v,length:S[0].length});return b}function h(w){const v=g(s.NUMERIC,t.NUMERIC,w),y=g(s.ALPHANUMERIC,t.ALPHANUMERIC,w);let b,S;return a.isKanjiModeEnabled()?(b=g(s.BYTE,t.BYTE,w),S=g(s.KANJI,t.KANJI,w)):(b=g(s.BYTE_KANJI,t.BYTE,w),S=[]),v.concat(y,b,S).sort(function(C,E){return C.index-E.index}).map(function(C){return{data:C.data,mode:C.mode,length:C.length}})}function d(w,v){switch(v){case t.NUMERIC:return r.getBitsLength(w);case t.ALPHANUMERIC:return n.getBitsLength(w);case t.KANJI:return o.getBitsLength(w);case t.BYTE:return i.getBitsLength(w)}}function c(w){return w.reduce(function(v,y){const b=v.length-1>=0?v[v.length-1]:null;return b&&b.mode===y.mode?(v[v.length-1].data+=y.data,v):(v.push(y),v)},[])}function l(w){const v=[];for(let y=0;y<w.length;y++){const b=w[y];switch(b.mode){case t.NUMERIC:v.push([b,{data:b.data,mode:t.ALPHANUMERIC,length:b.length},{data:b.data,mode:t.BYTE,length:b.length}]);break;case t.ALPHANUMERIC:v.push([b,{data:b.data,mode:t.BYTE,length:b.length}]);break;case t.KANJI:v.push([b,{data:b.data,mode:t.BYTE,length:m(b.data)}]);break;case t.BYTE:v.push([{data:b.data,mode:t.BYTE,length:m(b.data)}])}}return v}function f(w,v){const y={},b={start:{}};let S=["start"];for(let k=0;k<w.length;k++){const C=w[k],E=[];for(let x=0;x<C.length;x++){const A=C[x],R=""+k+x;E.push(R),y[R]={node:A,lastCount:0},b[R]={};for(let F=0;F<S.length;F++){const P=S[F];y[P]&&y[P].node.mode===A.mode?(b[P][R]=d(y[P].lastCount+A.length,A.mode)-d(y[P].lastCount,A.mode),y[P].lastCount+=A.length):(y[P]&&(y[P].lastCount=A.length),b[P][R]=d(A.length,A.mode)+4+t.getCharCountIndicator(A.mode,v))}}S=E}for(let k=0;k<S.length;k++)b[S[k]].end=0;return{map:b,table:y}}function p(w,v){let y;const b=t.getBestModeForData(w);if(y=t.from(v,b),y!==t.BYTE&&y.bit<b.bit)throw new Error('"'+w+'" cannot be encoded with mode '+t.toString(y)+`.
19
+ Suggested mode is: `+t.toString(b));switch(y===t.KANJI&&!a.isKanjiModeEnabled()&&(y=t.BYTE),y){case t.NUMERIC:return new r(w);case t.ALPHANUMERIC:return new n(w);case t.KANJI:return new o(w);case t.BYTE:return new i(w)}}e.fromArray=function(v){return v.reduce(function(y,b){return typeof b=="string"?y.push(p(b,null)):b.data&&y.push(p(b.data,b.mode)),y},[])},e.fromString=function(v,y){const b=h(v,a.isKanjiModeEnabled()),S=l(b),k=f(S,y),C=u.find_path(k.map,"start","end"),E=[];for(let x=1;x<C.length-1;x++)E.push(k.table[C[x]].node);return e.fromArray(c(E))},e.rawSplit=function(v){return e.fromArray(h(v,a.isKanjiModeEnabled()))}})(Jc);const An=Ee,Kn=kn,Fh=dh,Nh=fh,Bh=Uc,Dh=zc,Fi=jc,Ni=En,Oh=hh,Zr=Wc,Lh=Qc,$h=it,Jn=Jc;function Uh(e,t){const r=e.size,n=Dh.getPositions(t);for(let i=0;i<n.length;i++){const o=n[i][0],s=n[i][1];for(let a=-1;a<=7;a++)if(!(o+a<=-1||r<=o+a))for(let u=-1;u<=7;u++)s+u<=-1||r<=s+u||(a>=0&&a<=6&&(u===0||u===6)||u>=0&&u<=6&&(a===0||a===6)||a>=2&&a<=4&&u>=2&&u<=4?e.set(o+a,s+u,!0,!0):e.set(o+a,s+u,!1,!0))}}function zh(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 jh(e,t){const r=Bh.getPositions(t);for(let n=0;n<r.length;n++){const i=r[n][0],o=r[n][1];for(let s=-2;s<=2;s++)for(let a=-2;a<=2;a++)s===-2||s===2||a===-2||a===2||s===0&&a===0?e.set(i+s,o+a,!0,!0):e.set(i+s,o+a,!1,!0)}}function Hh(e,t){const r=e.size,n=Zr.getEncodedBits(t);let i,o,s;for(let a=0;a<18;a++)i=Math.floor(a/3),o=a%3+r-8-3,s=(n>>a&1)===1,e.set(i,o,s,!0),e.set(o,i,s,!0)}function Yn(e,t,r){const n=e.size,i=Lh.getEncodedBits(t,r);let o,s;for(o=0;o<15;o++)s=(i>>o&1)===1,o<6?e.set(o,8,s,!0):o<8?e.set(o+1,8,s,!0):e.set(n-15+o,8,s,!0),o<8?e.set(8,n-o-1,s,!0):o<9?e.set(8,15-o-1+1,s,!0):e.set(8,15-o-1,s,!0);e.set(n-8,8,1,!0)}function qh(e,t){const r=e.size;let n=-1,i=r-1,o=7,s=0;for(let a=r-1;a>0;a-=2)for(a===6&&a--;;){for(let u=0;u<2;u++)if(!e.isReserved(i,a-u)){let m=!1;s<t.length&&(m=(t[s]>>>o&1)===1),e.set(i,a-u,m),o--,o===-1&&(s++,o=7)}if(i+=n,i<0||r<=i){i-=n,n=-n;break}}}function Wh(e,t,r){const n=new Fh;r.forEach(function(u){n.put(u.mode.bit,4),n.put(u.getLength(),$h.getCharCountIndicator(u.mode,e)),u.write(n)});const i=An.getSymbolTotalCodewords(e),o=Ni.getTotalCodewordsCount(e,t),s=(i-o)*8;for(n.getLengthInBits()+4<=s&&n.put(0,4);n.getLengthInBits()%8!==0;)n.putBit(0);const a=(s-n.getLengthInBits())/8;for(let u=0;u<a;u++)n.put(u%2?17:236,8);return Vh(n,e,t)}function Vh(e,t,r){const n=An.getSymbolTotalCodewords(t),i=Ni.getTotalCodewordsCount(t,r),o=n-i,s=Ni.getBlocksCount(t,r),a=n%s,u=s-a,m=Math.floor(n/s),g=Math.floor(o/s),h=g+1,d=m-g,c=new Oh(d);let l=0;const f=new Array(s),p=new Array(s);let w=0;const v=new Uint8Array(e.buffer);for(let C=0;C<s;C++){const E=C<u?g:h;f[C]=v.slice(l,l+E),p[C]=c.encode(f[C]),l+=E,w=Math.max(w,E)}const y=new Uint8Array(n);let b=0,S,k;for(S=0;S<w;S++)for(k=0;k<s;k++)S<f[k].length&&(y[b++]=f[k][S]);for(S=0;S<d;S++)for(k=0;k<s;k++)y[b++]=p[k][S];return y}function Qh(e,t,r,n){let i;if(Array.isArray(e))i=Jn.fromArray(e);else if(typeof e=="string"){let m=t;if(!m){const g=Jn.rawSplit(e);m=Zr.getBestVersionForData(g,r)}i=Jn.fromString(e,m||40)}else throw new Error("Invalid data");const o=Zr.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 s=Vh(t,r,i),a=Tn.getSymbolSize(t),u=new Mh(a);return Uh(u,t),jh(u),Hh(u,t),Yn(u,r,0),t>=7&&Wh(u,t),qh(u,s),isNaN(n)&&(n=Bi.getBestMask(u,Yn.bind(null,u,r))),Bi.applyMask(n,u),Yn(u,r,n),{modules:u,version:t,errorCorrectionLevel:r,maskPattern:n,segments:i}}Oc.create=function(t,r){if(typeof t=="undefined"||t==="")throw new Error("No input text");let n=Kn.M,i,o;return typeof r!="undefined"&&(n=Kn.from(r.errorCorrectionLevel,Kn.M),i=en.from(r.version),o=Bi.from(r.maskPattern),r.toSJISFunc&&Tn.setToSJISFunction(r.toSJISFunc)),Kh(t,i,n,o)};var Yc={},go={};(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,s=n.scale||4;return{width:o,scale:o?4:s,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 s=i.modules.size,a=i.modules.data,u=e.getScale(s,o),m=Math.floor((s+o.margin*2)*u),g=o.margin*u,h=[o.color.light,o.color.dark];for(let d=0;d<m;d++)for(let c=0;c<m;c++){let l=(d*m+c)*4,f=o.color.light;if(d>=g&&c>=g&&d<m-g&&c<m-g){const p=Math.floor((d-g)/u),w=Math.floor((c-g)/u);f=h[a[p*s+w]?1:0]}n[l++]=f.r,n[l++]=f.g,n[l++]=f.b,n[l]=f.a}}})(go);(function(e){const t=go;function r(i,o,s){i.clearRect(0,0,o.width,o.height),o.style||(o.style={}),o.height=s,o.width=s,o.style.height=s+"px",o.style.width=s+"px"}function n(){try{return document.createElement("canvas")}catch(i){throw new Error("You need to specify a canvas element")}}e.render=function(o,s,a){let u=a,m=s;typeof u=="undefined"&&(!s||!s.getContext)&&(u=s,s=void 0),s||(m=n()),u=t.getOptions(u);const g=t.getImageWidth(o.modules.size,u),h=m.getContext("2d"),d=h.createImageData(g,g);return t.qrToImageData(d.data,o,u),r(h,m,g),h.putImageData(d,0,0),m},e.renderToDataURL=function(o,s,a){let u=a;typeof u=="undefined"&&(!s||!s.getContext)&&(u=s,s=void 0),u||(u={});const m=e.render(o,s,u),g=u.type||"image/png",h=u.rendererOpts||{};return m.toDataURL(g,h.quality)}})(Yc);var Gc={};const Jh=go;function Ns(e,t){const r=e.a/255,n=t+'="'+e.hex+'"';return r<1?n+" "+t+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function Gn(e,t,r){let n=e+t;return typeof r!="undefined"&&(n+=" "+r),n}function Yh(e,t,r){let n="",i=0,o=!1,s=0;for(let a=0;a<e.length;a++){const u=Math.floor(a%t),m=Math.floor(a/t);!u&&!o&&(o=!0),e[a]?(s++,a>0&&u>0&&e[a-1]||(n+=o?Gn("M",u+r,.5+m+r):Gn("m",i,0),i=0,o=!1),u+1<t&&e[a+1]||(n+=Gn("h",s),s=0)):i++}return n}Gc.render=function(t,r,n){const i=Jh.getOptions(r),o=t.modules.size,s=t.modules.data,a=o+i.margin*2,u=i.color.light.a?"<path "+Ns(i.color.light,"fill")+' d="M0 0h'+a+"v"+a+'H0z"/>':"",m="<path "+Ns(i.color.dark,"stroke")+' d="'+Yh(s,o,i.margin)+'"/>',g='viewBox="0 0 '+a+" "+a+'"',d='<svg xmlns="http://www.w3.org/2000/svg" '+(i.width?'width="'+i.width+'" height="'+i.width+'" ':"")+g+' shape-rendering="crispEdges">'+u+m+`</svg>
23
- `;return typeof n=="function"&&n(null,d),d};const Gh=lh,Di=Oc,Xc=Yc,Xh=Gc;function yo(e,t,r,n,i){const o=[].slice.call(arguments,1),s=o.length,a=typeof o[s-1]=="function";if(!a&&!Gh())throw new Error("Callback required as last argument");if(a){if(s<2)throw new Error("Too few arguments provided");s===2?(i=r,r=t,t=n=void 0):s===3&&(t.getContext&&typeof i=="undefined"?(i=n,n=void 0):(i=n,n=r,r=t,t=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(r=t,t=n=void 0):s===2&&!t.getContext&&(n=r,r=t,t=void 0),new Promise(function(u,m){try{const g=Di.create(r,n);u(e(g,t,n))}catch(g){m(g)}})}try{const u=Di.create(r,n);i(null,e(u,t,n))}catch(u){i(u)}}vr.create=Di.create;vr.toCanvas=yo.bind(null,Xc.render);vr.toDataURL=yo.bind(null,Xc.renderToDataURL);vr.toString=yo.bind(null,function(e,t,r){return Xh.render(e,r)});const Zh=""+new URL("assets/android-badge-CJfxIs_L.svg",import.meta.url).href,em=""+new URL("assets/apple-badge-9Sgpxn4d.svg",import.meta.url).href,tm=G.div({display:"flex",width:"848px",alignItems:"center",justifyContent:"space-between"}),rm=G.div({width:"400px"}),nm=G.div({paddingTop:"1rem"}),im=G.div({marginBottom:"0.75rem",fontSize:"1.125rem",lineHeight:"1.75rem",fontWeight:"800",color:"var(--theme-600)"}),om=G.div({fontSize:"1.875rem",lineHeight:"2.25rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(17 24 39 / var(--tw-text-opacity))"}),sm=G.div({marginTop:"2rem",display:"flex",alignItems:"center",justifyContent:"space-between",borderRadius:"1rem","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))",padding:"1.5rem"}),am=G.div({display:"flex",flexDirection:"column"}),cm=G.div({marginBottom:"1rem",fontSize:"1.125rem",lineHeight:"1.75rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(17 24 39 / var(--tw-text-opacity))"}),um=G.img({height:"100px",width:"100px"}),lm=G.div({display:"flex",justifyContent:"space-between"}),dm=G.img({height:"34px",width:"100%"}),fm=G.img({height:"34px",width:"100%"}),pm=G.img({marginRight:"1rem",height:"490px",width:"100%"}),hm=G.div({width:"320px"}),mm=({fundName:e,engagementId:t,theme:r,iOsDownloadUrl:n,androidDownloadUrl:i,qrCodeUrl:o,appMockupsImage:s})=>{const[a,u]=be(""),[m,g]=be(""),[h,d]=be(""),{createTrackedLink:c}=ch(),l=Te(f=>f.session);return te(()=>{const f="ByofEngagementApp Downloaded",p=c(o,{eventType:f,type:"QR",engagementId:t});g(c(n,{eventType:f,type:"apple",engagementId:t})),d(c(i,{eventType:f,type:"android",engagementId:t}));const w={color:{dark:r.colors["theme-600"]}};pe(void 0,null,function*(){const y=yield vr.toDataURL(p,w);u(y)})},[l]),uh(r),!a||!m||!h?_(Je,{}):T(Ue,{children:[_(ih,{pillContent:"Partner advertisement",children:T(tm,{children:[T(rm,{children:[T(im,{children:["Thanks for staying with ",e]}),T(om,{children:["Get the ",e," app to access your account and track your super 24/7!"]}),T(sm,{children:[_(um,{alt:`${e} app download`,src:a}),T(am,{children:[_(cm,{children:"Scan to download the app"}),T(lm,{children:[_("a",{href:m,children:_(dm,{alt:"Apple badge",src:em})}),_("a",{href:h,children:_(fm,{alt:"Android badge",src:Zh})})]})]})]})]}),_(nm,{children:_(pm,{alt:`${e} app`,src:s})})]})}),_(hm,{children:_(gt,{onClick:En,fillWidth:!0,children:"Continue"})})]})},gm=""+new URL("assets/app-mockups-Cr1XEjQA.png",import.meta.url).href,ym={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"}},wm=()=>_(mm,{fundName:"Spirit Super",engagementId:"spirit",theme:ym,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:gm}),Os={australian:_(Gp,{}),spirit:_(wm,{}),hesta:_(Zp,{}),"aware-super":_(Xp,{})},bm=()=>{var s;const e=Te(a=>a.session),{data:t,isLoading:r,isError:n,error:i}=Pc(e.fundUsi||""),o=t&&((s=t.engagements)==null?void 0:s.length)>0;if(r)return _(Je,{});if(!r&&(!t||n))return ye("Error when calling campaign connect to compute BYOF engagements",{fundUsi:e.fundUsi,data:t,error:i}),Kf(),_(Je,{});if(o){const{engagementId:a}=t.engagements[0];if(a in Os)return Os[a]}return!r&&!o&&Qf(),_(Je,{})},vm=G.div({display:"flex",flexDirection:"column",alignItems:"center"}),_m=()=>T(vm,{children:[_(bm,{}),_(Mc,{})]}),Sm=()=>_(_m,{}),Cm=e=>window.playwrightRunning?"00000000-0000-0000-0000-000000000000":Nc(e).sub,Em=(e,t)=>{let r=0;for(const n of t)if(r+=n.percentage,e<r)return n.variantName;return t[0].variantName},km=(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)},Am=(e,t)=>{if(t.splitType==="percentage"){const r=km(e.replace(/[^A-F0-9]/gi,""),t.rotations),n=parseInt(r,16),i=t.variants.reduce((a,u)=>a+u.percentage,0),o=n%i;return Em(o,t.variants)}return t.variants[0].variantName},Zc=e=>{if(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const r=t,n=e[r];if(!n.shouldRun||n.shouldRun(lt.getState())){const i=Cm(lt.getState().session.accessToken||""),o=Am(i,n);o&&(lt.dispatch(Wf({experimentName:r,selectedVariant:o})),lt.dispatch(Jt.endpoints.segmentTrack.initiate({event:"$experiment_started",properties:{"Experiment name":r,"Variant name":o}})))}}}},xm=()=>{const[e]=Lf(),[t,r]=be(!0),n=Cn(),[i]=$f();if(te(()=>{pe(void 0,null,function*(){const a=yield i();"data"in a?(ep(),Zf(),r(!1)):(ye("App-loaded service call failed.",{error:a.error}),tp(`App-loaded service call failed: ${JSON.stringify(a.error)}`))})},[]),t)return _(Je,{});const o=()=>pe(void 0,null,function*(){r(!0),Xf();const{data:s,isSuccess:a,status:u}=yield e();if(!a){ye("Backend service call failed.",{status:u}),rp(`Backend service call failed: ${u}`);return}const m=s==null?void 0:s.promotedFunds.filter(g=>g.type==="defined-benefits");if(s.hasDefinedBenefitsEligibility&&(m==null?void 0:m.length)>0){const g=Yp(m[0].fundId);n(Dc({fundId:m[0].fundId,fundType:"defined-benefits",iframeType:"PromotedFundJoinV2",fundName:g}));return}n(Vf(s.promotedFunds)),s.promotedFunds.forEach(g=>{const h=fo(g);h!=null&&h.experiments&&Zc(h.experiments)})});return T("div",{children:[_("div",{css:{textAlign:"center",fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.875rem",lineHeight:"2.25rem"}},children:"Important information about super"}),_("div",{css:{marginTop:"0.75rem",maxWidth:"800px",textAlign:"center",lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))","@media (min-width: 640px)":{marginTop:"1rem",fontSize:"1.125rem",lineHeight:"2rem"}},children:"The choice of superannuation fund is an important personal financial decision. Next, you’ll be asked to nominate a super fund to receive your employer contributions."}),_("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children:T("div",{css:{maxWidth:"560px",borderRadius:"0.5rem",borderWidth:"1px",padding:"1rem",paddingBottom:"1.5rem","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)","@media (min-width: 640px)":{padding:"1.5rem",paddingBottom:"2rem"}},children:[_("div",{css:{fontWeight:"700",lineHeight:"1.5rem","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"1.75rem"}},children:"By clicking “Continue” you acknowledge that:"}),T("ul",{css:{marginBottom:"1.5rem",marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem"},children:[_("li",{children:"Flare (we/us) provides this paperless employee management service, will feature superannuation funds and offer you employee benefits that you may be interested in;"}),_("li",{children:"all content contained in the following pages does not take into account any of your objectives, financial situation or needs and does not constitute financial product advice;"}),_("li",{children:"in featuring any superannuation funds, we, the technology partner you are accessing us via, or your employer, are not providing any opinion or recommendation (actual or implied) in relation to the suitability or appropriateness of the featured funds;"}),_("li",{children:"Trustees of the featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others pay us to have their application form on our platform;"}),_("li",{children:"in the event that you choose one of the featured superannuation funds, we may pass on your personal information and TFN to a related party for the purpose of completing your chosen fund's application form."}),T("li",{children:["Your personal data that is provided to us will be subject to our"," ",_(O,{css:{"--tw-text-opacity":"1",color:"rgb(37 99 235 / var(--tw-text-opacity))",textDecorationLine:"none",":hover":{"--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"}},link:"https://www.flarehr.com/privacy-policy",children:"Privacy Policy"}),"."]})]}),_(gt,{fillWidth:!0,onClick:()=>o(),children:"Continue"})]})})]})},Tm=(e,t)=>{window.parent.postMessage(e,t===void 0?"*":t)},Rm=e=>{Tm({type:"pageNavigated",url:e,sender:"flare"})},Pm=()=>{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-"}},Im=`https://${Pm()}api.simplefinancialchoices.com/promoted-funds/embed`,Mr=e=>e.replace(/ /g,""),st=e=>!(typeof e=="string"&&e.trim().length>0),Bm=()=>{var a,u,m,g,h,d;const e=Te(c=>c.state.selectedFund),t=Te(c=>c.session.accessToken),r=Cn(),n=Be.endpoints.campaignConnect.useQueryState().data;if(!e||!t||!n)return ye("PfjIFrame was in an inconsistent state and the user was redirected to the three panel.",{fund:e,data:n?"Not null":"Null",authToken:t?"Not null":"Null"}),r(qe()),_(Je,{});const i={authToken:t,employerDefault:e.fundType==="promoted-default",fundId:e.fundId,accountId:n.userProfile.accountId,partnerId:n.userProfile.partnerId,title:(a=n.userProfile.title)!=null?a:"",firstName:n.userProfile.firstName,middleName:n.userProfile.middleName,lastName:n.userProfile.lastName,dateOfBirth:(u=n.userProfile.dateOfBirth)!=null?u:"",mobilePhone:(m=n.userProfile.mobilePhone)!=null?m:"",email:n.userProfile.email,gender:(g=n.userProfile.gender)!=null?g:"",taxFileNumber:(h=n.userProfile.tfn)!=null?h:"",addressLine1:n.userProfile.address.addressLine1,addressLine2:(d=n.userProfile.address.addressLine2)!=null?d:"",city:n.userProfile.address.city,state:n.userProfile.address.state,postCode:n.userProfile.address.postcode},o=rn();te(()=>{var l;const c=(l=o.current)==null?void 0:l.contentDocument;if(c){c.open();const f=c.createElement("form");f.method="POST",f.target="_self",f.action=Im;let p;for(p in i){const w=i[p];if(w!==void 0){const v=document.createElement("input");v.name=p,v.type="hidden",typeof w=="boolean"?v.value=w?"true":"false":v.value=w,f.append(v)}}c.appendChild(f),c.close(),f.submit()}},[o]);const s=c=>pe(void 0,null,function*(){const{data:l}=c;if(l.sender==="promoted-fund-redirect"){switch(window.removeEventListener("message",s),l.type){case"cancel":r(qe());break;case"success-promoted":{if(st(l.memberNumber)||st(l.usi)){ye("Bad response from PFJ",{type:l.type,memberNumber:l.memberNumber,usi:l.usi}),r(qe());break}Ht({fundType:"Promoted",fundId:e.fundId,usi:Mr(l.usi),memberNumber:l.memberNumber,memberFirstName:l.memberFirstName,memberFamilyName:l.memberFamilyName,fundName:e.fundName});break}case"success-promoted-default":{if(st(l.usi)){ye("Bad response from PFJ",{type:l.type,usi:l.usi}),r(qe());break}Ht({fundType:"PromotedDefault",fundId:l.fundId,usi:Mr(l.usi),fundName:e.fundName});break}case"success-promoted-default-with-join":{if(st(l.memberNumber)||st(l.usi)){ye("Bad response from PFJ",{type:l.type,memberNumber:l.memberNumber,usi:l.usi}),r(qe());break}Ht({fundType:"PromotedDefaultWithJoin",fundId:e.fundId,usi:Mr(l.usi),memberNumber:l.memberNumber,memberFirstName:l.memberFirstName,memberFamilyName:l.memberFamilyName,fundName:e.fundName});break}case"success-defined-benefits":{if(st(l.memberNumber)||st(l.usi)){ye("Bad response from PFJ",{type:l.type,memberNumber:l.memberNumber,usi:l.usi}),r(qe());break}Ht({fundType:"DefinedBenefits",fundId:l.fundId,usi:Mr(l.usi),memberNumber:l.memberNumber,memberElectContributionRatePreTax:l.memberElectContributionRatePreTax,memberElectContributionRatePostTax:l.memberElectContributionRatePostTax,fundName:e.fundName});break}}r(qe())}if(l.sender==="promoted-fund-join"){const f=o.current;if(!f)return;switch(l.type){case"contentResized":f.height=l.height>0?String(l.height):f.height,f.width=l.width>0?String(l.width):f.width;break;case"pageNavigated":window.scroll(f.offsetLeft,f.offsetTop),Rm(window.location.href);break}}});return window.addEventListener("message",s),_("div",{css:{width:"100vw"},children:_("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},Fm="interop-mode",Dm="react-native",Ls=()=>window.location.search.includes(`${Fm}=${Dm}`),eu=()=>{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-"}},$s=`https://${eu()}join.slatesuper.com.au/confirm`,zs=`https://${eu()}partner.flarehr.com/super-selection/embed/v1.0/app/slate-redirect.html`,Mm=e=>{switch(e){case"Male":return"Male";case"Female":return"Female";case"Intersex":return"Intersex/Indeterminate";default:return"Unknown"}},Nm=()=>{var a,u,m,g;const e=Te(h=>h.session.accessToken),t=Cn(),r=Be.endpoints.campaignConnect.useQueryState().data;if(!r)return ye("SlateIFrame was in an inconsistent state and the user was redirected to the three panel.",{data:r?"Not null":"Null"}),t(qe()),_(Je,{});const i={authToken:!$s.match(/autodev|sandbox/)?e:void 0,successRedirectUrl:zs,cancelRedirectUrl:zs,skipConsolidation:Ls()?"true":"false",skipInsurance:Ls()?"true":"false",firstName:r.userProfile.firstName,middleName:r.userProfile.middleName,lastName:r.userProfile.lastName,dateOfBirth:(a=r.userProfile.dateOfBirth)!=null?a:"",mobilePhone:(u=r.userProfile.mobilePhone)!=null?u:"",email:r.userProfile.email,gender:Mm(r.userProfile.gender),taxFileNumber:(m=r.userProfile.tfn)!=null?m:"",addressLine1:r.userProfile.address.addressLine1,addressLine2:(g=r.userProfile.address.addressLine2)!=null?g:"",city:r.userProfile.address.city,state:r.userProfile.address.state,postCode:r.userProfile.address.postcode},o=rn();te(()=>{var d;const h=(d=o.current)==null?void 0:d.contentDocument;if(h){h.open();const c=h.createElement("form");c.method="POST",c.target="_self",c.action=$s;let l;for(l in i){const f=i[l];if(f!==void 0){const p=document.createElement("input");p.type="hidden",p.name=l,p.value=f,c.append(p)}}h.appendChild(c),h.close(),c.submit()}},[o]);const s=h=>pe(void 0,null,function*(){const{data:d}=h;if(d.sender==="slate-redirect"){switch(window.removeEventListener("message",s),d.type){case"success":{Ht({fundType:"Promoted",fundId:lr.fundId,usi:uo,memberNumber:d.memberNumber,fundName:lr.name});break}default:t(qe());break}return}if(d.sender==="flare")switch(d.type){case"contentResized":{const c=o.current;if(!c)return;c.height=d.height>0?String(d.height):c.height,c.width=d.width>0?String(d.width):c.width;break}}});return window.addEventListener("message",s),_("div",{css:{width:"100vw"},children:_("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},Om=({type:e})=>_("div",{css:[{height:"2.25rem",borderTopLeftRadius:"0.375rem",borderTopRightRadius:"0.375rem",paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"0.375rem",paddingBottom:"0.375rem",textAlign:"center"},e==="popular"&&{"--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==="industry"&&{"--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==="workspace"&&{"--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==="business"&&{"--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:T("div",{css:{fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"500"},children:[e==="popular"&&"Popular",e==="industry"&&"Popular in your industry",e==="workspace"&&"Popular in your workplace",e==="business"&&"Popular in your business"]})}),Lm=r=>{var n=r,{size:e}=n,t=ot(n,["size"]);return _("svg",$(I({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#22c55e",width:e?e*4:"100%"},t),{children:_("path",{"fill-rule":"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z","clip-rule":"evenodd"})}))},Us={Check:Lm},Sr=()=>{const{funds:e}=Te(({state:t})=>t);return(e==null?void 0:e.length)===1&&e[0].fundId==="mercermychoice"},$m=({name:e,logo:t,coverImage:r,extraBadge:n,isPromotedDefault:i,isMultiFund:o})=>{const s=Sr(),a=T(Ue,{children:[T("div",{css:{marginRight:"-0.5rem",marginTop:"-1.25rem",textAlign:"right"},children:[n,i&&_("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(219 234 254 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"},children:"Employer Default"}),_("span",{css:{marginRight:"0.125rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(31 41 55 / var(--tw-text-opacity))"},children:"Featured"})]}),T("div",{css:[{marginTop:"0.5rem",display:"flex","@media (min-width: 768px)":{marginTop:"0px"},"@media (min-width: 1024px)":{display:"block"}},o&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:[_("img",{css:[{height:"3rem",width:"80px",objectFit:"contain","@media (min-width: 768px)":{display:"none",height:"3.5rem",width:"96px"},"@media (min-width: 1024px)":{height:"4rem",width:"140px",objectPosition:"left"}},o&&{"@media (min-width: 1024px)":{display:"block"}}],alt:e,src:t}),_("div",{css:{display:"grid",alignContent:"center"},children:_("p",{css:[{marginLeft:"1rem",fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","@media (min-width: 768px)":{marginBottom:"0px",marginLeft:"0px",fontSize:"1.125rem",lineHeight:"1.75rem"}},o&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:e})})]})]}),u=T(Ue,{children:[T("div",{css:{marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"4rem",alignItems:"center",justifyContent:"space-between"},children:[_("img",{css:[{width:"100px"}],alt:e,src:t}),T("div",{children:[n,i&&_("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(219 234 254 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"},children:"Employer Default"}),_("span",{css:{marginRight:"0.125rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(31 41 55 / var(--tw-text-opacity))"},children:"Featured"})]})]}),_("img",{css:[{width:"100%"},o&&{"@media (min-width: 1024px)":{display:"block"}}],alt:e,src:r})]});return _(Ue,{children:s&&Fe()?u:a})},zm=({features:e,featureSubText:t,customContent:r,name:n})=>{const i=Sr(),o=T(Ue,{children:[_("div",{css:{marginTop:"1rem","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.25rem","@media (min-width: 640px)":{marginTop:"0.5rem"}},children:e.map(a=>T("div",{css:{display:"flex"},children:[_("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:_(Us.Check,{alt:"checked"})}),_("div",{css:{lineHeight:"1.25rem"},children:a})]}))}),t&&_("p",{css:{marginTop:"1rem",fontSize:"0.75rem",lineHeight:"1rem",fontStyle:"italic","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:t}),r]}),s=T(Ue,{children:[T("div",{css:{padding:"1.5rem",paddingBottom:"0px"},children:[_("div",{css:[{fontSize:"1.125rem",lineHeight:"1.75rem",fontWeight:"700"}],children:n}),e.map(a=>T("div",{css:{marginTop:"0.5rem",display:"flex"},children:[_("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:_(Us.Check,{alt:"checked"})}),_("div",{css:{fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"400"},children:a})]}))]}),t&&_("p",{css:{marginTop:"1rem",fontSize:"0.75rem",lineHeight:"1rem",fontStyle:"italic","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:t}),r]});return _(Ue,{children:i&&Fe()?s:o})},Um=({name:e,logo:t,coverImage:r,features:n,featureSubText:i,isMultiFund:o,isPromotedDefault:s,extraBadge:a,customContent:u})=>{const m=Sr();return T("div",{css:[{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem"},m&&Fe()&&{padding:"0px"}],children:[_($m,{name:e,logo:t,coverImage:r,isMultiFund:o,extraBadge:a,isPromotedDefault:s}),_(zm,{name:e,features:n,customContent:u,featureSubText:i})]})},jm=()=>{const e=Te(t=>t.experimentsData);return _("div",{css:{display:"flex",justifyContent:"center"},children:T("div",{css:{maxWidth:"800px",textAlign:"center"},children:[_("h3",{css:{fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.875rem",lineHeight:"2.25rem"}},children:"Nominate a super fund"}),e.selectedVariants["simplified-page-header"]==="control"&&_("div",{css:{marginTop:"0.75rem",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:"You can choose any super fund, including your current fund/SMSF, your employer’s default fund, or alternatively, you can select from one of the featured funds."})]})})},js=({fund:e,isMultiFund:t})=>{const r=Cn(),n=Sr();return T("div",{css:{display:"flex",height:"100%",flexDirection:"column",justifyContent:"space-between",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem",paddingBottom:"1.5rem"},children:[T("div",{children:[_("div",{css:[{"@media (min-width: 768px)":{maxWidth:"240px"}},t&&{"@media (min-width: 1024px)":{maxWidth:"100%"}},n&&Fe()&&{"@media (min-width: 768px)":{maxWidth:"100%"}}],children:_(gt,{fillWidth:!0,onClick:()=>{Gf(e),r(Dc({fundId:e.fundId,fundType:e.fundType,iframeType:e.iframeType,fundName:e.name}))},children:"Choose this fund"})}),_("div",{css:{marginTop:"1.5rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:e.disclaimer})]}),e.abnInfo&&e.abn&&T("div",{css:{marginTop:"0.5rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:[T("p",{children:["Issued by ",e.abnInfo,"."]}),T("p",{children:["ABN: ",e.abn]})]})]})},Hm="https://my.gov.au",Wm="www.my.gov.au",qm="https://www.apra.gov.au/register-of-superannuation-institutions",Vm="www.apra.gov.au",Qm=(e,t)=>{if(t.selectedVariants["social-validation-popular-virgin"]==="badge"&&e==="virgin"||t.selectedVariants["social-validation-popular-mercermychoice"]==="badge"&&e==="mercermychoice")return"popular";if(t.selectedVariants["social-validation-business-virgin"]==="badge"&&e==="virgin"||t.selectedVariants["social-validation-business-mercermychoice"]==="badge"&&e==="mercermychoice")return"business"},Km=()=>{const e=Te(s=>s.state.funds),t=Te(s=>s.experimentsData),r=Sr(),n=ae(()=>Jp(e!=null?e:[]),[e]),i=Jf();te(()=>{Yf(n)},[]);const o=n.length>1;return T("div",{children:[_(jm,{}),t.selectedVariants["simplified-page-header"]==="control"&&T("div",{css:{marginTop:"2rem",textAlign:"center",fontSize:"0.875rem",lineHeight:"1.5rem"},children:[_("p",{css:{lineHeight:"1.5rem"},children:"Not ready to join a new fund, or want to nominate another super fund?"}),_("div",{css:{marginLeft:"auto",marginRight:"auto",width:"fit-content",cursor:"pointer"},onClick:()=>i("skipCopy"),children:T("span",{css:{marginTop:"0.75rem",display:"inline-block",fontWeight:"600",color:"var(--fl-color-primary)"},children:["Choose another fund ",_("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",css:{display:"inline",height:"1.25rem",width:"1.25rem",fill:"var(--fl-color-primary)",".group:hover &":{fill:"#fff"}},children:_("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3"})})]})})]}),_("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center"},children:_("div",{children:T("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,a)=>{const u=Qm(s.fundId,t);return T("div",{children:[(!Fe()||a===0)&&_("div",{css:[{visibility:"hidden"},u&&{visibility:"visible"}],children:_(Om,{type:u})}),_("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"}},a!==0&&{borderTopWidth:"0px","@media (min-width: 1024px)":{borderLeftWidth:"0px",borderTopWidth:"1px"}},a===0&&{borderTopLeftRadius:"0.5rem",borderTopRightRadius:"0.5rem"},a===0&&a!==n.length-1&&{"@media (min-width: 1024px)":{borderTopRightRadius:"0px"}},a===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"}},u&&{borderTopLeftRadius:"0px",borderTopRightRadius:"0px","@media (min-width: 1024px)":{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"}}],children:T("div",{css:[{display:"flex"}],children:[_("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&&Fe()&&{"@media (min-width: 768px)":{display:"none"}}],children:_("img",{css:{height:"4rem",width:"100%",maxWidth:"96px",objectFit:"contain"},alt:s.name,src:s.logo})}),T("div",{css:[{width:"100%"},r&&Fe()&&{minWidth:"286px",maxWidth:"480px"}],children:[_(Um,{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}),_("div",{css:[o&&{"@media (min-width: 1024px)":{display:"none"}}],children:_(js,{fund:s,isMultiFund:o})})]})]})})]})}),n.map((s,a)=>_("div",{css:[{display:"none",borderBottomWidth:"1px",borderRightWidth:"1px"},o&&{"@media (min-width: 1024px)":{display:"block"}},a===0&&{borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem",borderLeftWidth:"1px"},a===0&&a!==n.length-1&&{"@media (min-width: 1024px)":{borderBottomRightRadius:"0px"}},a===n.length-1&&{borderBottomRightRadius:"0.5rem"}],children:_(js,{fund:s,isMultiFund:o})}))]})})}),_("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children:T("div",{css:{maxWidth:"720px",borderBottomWidth:"1px",paddingBottom:"2rem","@media (min-width: 640px)":{paddingBottom:"3rem"}},children:[_("h5",{css:{fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"1.75rem"}},children:"Or, choose another super fund:"}),T("ul",{css:{marginBottom:"1.5rem",marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem","@media (min-width: 640px)":{fontSize:"1rem",lineHeight:"1.5rem"}},children:[_("li",{children:"Select this option if you'd like to use your current account with another super fund, your self-managed super fund, or your employer's default fund."}),T("li",{children:["If you are unsure of your current super fund details, you can find out at"," ",_(O,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:Hm,children:Wm})]}),T("li",{children:["A full list of super funds can be viewed at"," ",_(O,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:qm,children:Vm})]})]}),_(gt,{fillWidthOnMobile:!0,onClick:()=>i("button"),children:"Choose another super fund"})]})}),_("div",{css:{display:"flex",justifyContent:"center"},children:T("div",{css:{maxWidth:"720px",paddingTop:"2rem","@media (min-width: 640px)":{paddingTop:"3rem"}},children:[_("h5",{css:{fontWeight:"600"},children:"IMPORTANT INFORMATION:"}),T("ul",{css:{marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem"},children:[_("li",{children:"The superannuation funds featured above are for your information only. The order, position and placement of content should not be interpreted as an opinion or recommendation (actual or implied) by Flare as to the suitability or appropriateness of any superannuation fund for you. In featuring these superannuation funds, Flare has not taken into account your objectives, financial situation or needs."}),_("li",{children:"This is not a comparison service. This page contains factual information only and does not constitute either general or personal advice about any financial products. We do not take into account your objectives, financial situation or needs. If you have questions or need help making a decision about your superannuation fund, you should speak to a licensed financial product advice provider."}),_("li",{children:"Flare, the technology partner you are accessing Flare via and your employer do not endorse or accept responsibility for any financial product advice or services provided by the promoters or trustees of the featured superannuation funds. Flare does not endorse or accept responsibility for any of the content shown about any of the featured superannuation funds."}),_("li",{children:"You should consider the relevant superannuation fund’s PDS and TMD (if applicable) in deciding whether to apply to join the superannuation fund. Each of the superannuation funds featured above include a link to their PDS and TMD (if applicable) for your convenience. If you are considering joining another superannuation fund, you can typically find the PDS and TMD (if applicable) on that fund’s website."}),_("li",{children:"You should be aware that the trustees of featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others pay us to have their application form on our platform."})]})]})})]})},Jm=G.div({display:"flex",flexDirection:"column",alignItems:"center"}),Ym=()=>{const{funds:e,selectedFund:t}=Te(i=>i.state),[r]=Uf();return te(()=>{r()},[]),T(Jm,{children:[_("div",{children:(()=>{if(t){if(t.iframeType==="PromotedFundJoinV2")return _(Bm,{});if(t.iframeType==="SlateJoin")return _(Nm,{})}else if(e)return _(Km,{});return _(xm,{})})()}),_("div",{children:_(Mc,{})})]})},Gm=()=>_(Ym,{}),Xm={"simplified-page-header":{splitType:"percentage",rotations:1,variants:[{variantName:"control",percentage:50},{variantName:"simplified-page-header",percentage:50}]}},Zm=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 wo(){return(wo=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 eg=["context","children"];function tg(e){this.getChildContext=function(){return e.context};var t=e.children,r=function(n,i){if(n==null)return{};var o,s,a={},u=Object.keys(n);for(s=0;s<u.length;s++)i.indexOf(o=u[s])>=0||(a[o]=n[o]);return a}(e,eg);return Li(t,r)}function rg(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=X(tg,wo({},this._props,{context:e.detail.context}),function t(r,n){if(r.nodeType===3)return r.data;if(r.nodeType!==1)return null;var i=[],o={},s=0,a=r.attributes,u=r.childNodes;for(s=a.length;s--;)a[s].name!=="slot"&&(o[a[s].name]=a[s].value,o[tu(a[s].name)]=a[s].value);for(s=u.length;s--;){var m=t(u[s],null),g=u[s].slot;g?o[g]=X(Hs,{name:g},m):i[s]=m}var h=n?X(Hs,null,i):i;return X(n||r.nodeName.toLowerCase(),o,h)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Oi:et)(this._vdom,this._root)}function tu(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function ng(e,t,r){if(this._vdom){var n={};n[e]=r=r==null?void 0:r,n[tu(e)]=r,this._vdom=Li(this._vdom,n),et(this._vdom,this._root)}}function ig(){et(this._vdom=null,this._root)}function Hs(e,t){var r=this;return X("slot",wo({},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 og(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=rg,i.prototype.attributeChangedCallback=ng,i.prototype.disconnectedCallback=ig,r=r||e.observedAttributes||Object.keys(e.propTypes||{}),i.observedAttributes=r,r.forEach(function(o){Object.defineProperty(i.prototype,o,{get:function(){return this._vdom.props[o]},set:function(s){this._vdom?this.attributeChangedCallback(o,null,s):(this._props||(this._props={}),this._props[o]=s,this.connectedCallback());var a=typeof s;s!=null&&a!=="string"&&a!=="boolean"&&a!=="number"||this.setAttribute(o,s)}})}),customElements.define(t||e.tagName||e.displayName||e.name,i)}const sg=()=>_(xl,{styles:Tl`*, ::before, ::after {
22
+ `);const s=Wh(t,r,i),a=An.getSymbolSize(t),u=new Nh(a);return Uh(u,t),zh(u),jh(u,t),Yn(u,r,0),t>=7&&Hh(u,t),qh(u,s),isNaN(n)&&(n=Fi.getBestMask(u,Yn.bind(null,u,r))),Fi.applyMask(n,u),Yn(u,r,n),{modules:u,version:t,errorCorrectionLevel:r,maskPattern:n,segments:i}}Lc.create=function(t,r){if(typeof t=="undefined"||t==="")throw new Error("No input text");let n=Kn.M,i,o;return typeof r!="undefined"&&(n=Kn.from(r.errorCorrectionLevel,Kn.M),i=Zr.from(r.version),o=Fi.from(r.maskPattern),r.toSJISFunc&&An.setToSJISFunction(r.toSJISFunc)),Qh(t,i,n,o)};var Gc={},yo={};(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,s=n.scale||4;return{width:o,scale:o?4:s,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 s=i.modules.size,a=i.modules.data,u=e.getScale(s,o),m=Math.floor((s+o.margin*2)*u),g=o.margin*u,h=[o.color.light,o.color.dark];for(let d=0;d<m;d++)for(let c=0;c<m;c++){let l=(d*m+c)*4,f=o.color.light;if(d>=g&&c>=g&&d<m-g&&c<m-g){const p=Math.floor((d-g)/u),w=Math.floor((c-g)/u);f=h[a[p*s+w]?1:0]}n[l++]=f.r,n[l++]=f.g,n[l++]=f.b,n[l]=f.a}}})(yo);(function(e){const t=yo;function r(i,o,s){i.clearRect(0,0,o.width,o.height),o.style||(o.style={}),o.height=s,o.width=s,o.style.height=s+"px",o.style.width=s+"px"}function n(){try{return document.createElement("canvas")}catch(i){throw new Error("You need to specify a canvas element")}}e.render=function(o,s,a){let u=a,m=s;typeof u=="undefined"&&(!s||!s.getContext)&&(u=s,s=void 0),s||(m=n()),u=t.getOptions(u);const g=t.getImageWidth(o.modules.size,u),h=m.getContext("2d"),d=h.createImageData(g,g);return t.qrToImageData(d.data,o,u),r(h,m,g),h.putImageData(d,0,0),m},e.renderToDataURL=function(o,s,a){let u=a;typeof u=="undefined"&&(!s||!s.getContext)&&(u=s,s=void 0),u||(u={});const m=e.render(o,s,u),g=u.type||"image/png",h=u.rendererOpts||{};return m.toDataURL(g,h.quality)}})(Gc);var Xc={};const Kh=yo;function Ds(e,t){const r=e.a/255,n=t+'="'+e.hex+'"';return r<1?n+" "+t+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function Gn(e,t,r){let n=e+t;return typeof r!="undefined"&&(n+=" "+r),n}function Jh(e,t,r){let n="",i=0,o=!1,s=0;for(let a=0;a<e.length;a++){const u=Math.floor(a%t),m=Math.floor(a/t);!u&&!o&&(o=!0),e[a]?(s++,a>0&&u>0&&e[a-1]||(n+=o?Gn("M",u+r,.5+m+r):Gn("m",i,0),i=0,o=!1),u+1<t&&e[a+1]||(n+=Gn("h",s),s=0)):i++}return n}Xc.render=function(t,r,n){const i=Kh.getOptions(r),o=t.modules.size,s=t.modules.data,a=o+i.margin*2,u=i.color.light.a?"<path "+Ds(i.color.light,"fill")+' d="M0 0h'+a+"v"+a+'H0z"/>':"",m="<path "+Ds(i.color.dark,"stroke")+' d="'+Jh(s,o,i.margin)+'"/>',g='viewBox="0 0 '+a+" "+a+'"',d='<svg xmlns="http://www.w3.org/2000/svg" '+(i.width?'width="'+i.width+'" height="'+i.width+'" ':"")+g+' shape-rendering="crispEdges">'+u+m+`</svg>
23
+ `;return typeof n=="function"&&n(null,d),d};const Yh=uh,Bi=Lc,Zc=Gc,Gh=Xc;function wo(e,t,r,n,i){const o=[].slice.call(arguments,1),s=o.length,a=typeof o[s-1]=="function";if(!a&&!Yh())throw new Error("Callback required as last argument");if(a){if(s<2)throw new Error("Too few arguments provided");s===2?(i=r,r=t,t=n=void 0):s===3&&(t.getContext&&typeof i=="undefined"?(i=n,n=void 0):(i=n,n=r,r=t,t=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(r=t,t=n=void 0):s===2&&!t.getContext&&(n=r,r=t,t=void 0),new Promise(function(u,m){try{const g=Bi.create(r,n);u(e(g,t,n))}catch(g){m(g)}})}try{const u=Bi.create(r,n);i(null,e(u,t,n))}catch(u){i(u)}}br.create=Bi.create;br.toCanvas=wo.bind(null,Zc.render);br.toDataURL=wo.bind(null,Zc.renderToDataURL);br.toString=wo.bind(null,function(e,t,r){return Gh.render(e,r)});const Xh=""+new URL("assets/android-badge-CJfxIs_L.svg",import.meta.url).href,Zh=""+new URL("assets/apple-badge-9Sgpxn4d.svg",import.meta.url).href,em=J.div({display:"flex",width:"848px",justifyContent:"space-between"}),tm=J.div({display:"flex",width:"100%",flexDirection:"column",justifyContent:"space-between"}),rm=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"}}),nm=J.div({textAlign:"center",fontSize:"1.25rem",lineHeight:"1.75rem",fontWeight:"700","--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"}}),im=J.div({display:"flex",width:"400px",flexDirection:"column",justifyContent:"center"}),om=J.div({marginTop:"1.5rem",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"space-evenly",borderRadius:"1rem","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))",padding:"0.75rem","@media (min-width: 640px)":{marginTop:"2rem",flexDirection:"row",justifyContent:"space-between",padding:"1.5rem"}}),sm=J.div({display:"flex",width:"100%",flexDirection:"column"}),am=J.div({marginBottom:"1rem",textAlign:"center",fontSize:"1rem",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"}}),cm=J.div({marginRight:"1.5rem",flex:"none"}),um=J.img({height:"100px",width:"100px"}),lm=J.div({display:"flex",justifyContent:"space-evenly","@media (min-width: 640px)":{justifyContent:"space-between"}}),dm=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"}}),pm=J.div({marginTop:"1.25rem",display:"flex",width:"100%",justifyContent:"center","@media (min-width: 640px)":{marginRight:"1rem",width:"350px"}}),hm=J.img({width:"240px","@media (min-width: 640px)":{width:"350px"}}),mm=J.div({marginTop:"2rem",width:"320px","@media (min-width: 640px)":{marginTop:"3rem"}}),Xn=J.div({display:"none","@media (min-width: 640px)":{display:"block"}}),Os=J.div({display:"block","@media (min-width: 640px)":{display:"none"}}),Tn=({fundName:e,engagementId:t,theme:r,iOsDownloadUrl:n,androidDownloadUrl:i,qrCodeUrl:o,appMockupsImage:s})=>{const[a,u]=be(""),[m,g]=be(""),[h,d]=be(""),{createTrackedLink:c}=ah();if(te(()=>{const w="ByofEngagementApp Downloaded",v=c(o,{eventType:w,type:"QR",engagementId:t});g(c(n,{eventType:w,type:"apple",engagementId:t})),d(c(i,{eventType:w,type:"android",engagementId:t}));const y={color:{dark:r.colors["theme-600"]}};pe(void 0,null,function*(){const S=yield br.toDataURL(v,y);u(S)})},[]),ch(r),!a||!m||!h)return _(Ke,{});const l=()=>T(Ze,{children:[T(rm,{children:["Thanks for staying with ",e]}),T(nm,{children:["Get the ",e," app to access your account and track your super 24/7!"]})]}),f=()=>T(om,{children:[_(cm,{children:_(Xn,{children:_(um,{alt:`${e} app download`,src:a})})}),T(sm,{children:[T(am,{children:[_(Os,{children:"Download the app now"}),_(Xn,{children:"Scan to download the app"})]}),T(lm,{children:[_("a",{href:m,children:_(dm,{alt:"Apple badge",src:Zh})}),_("a",{href:h,children:_(fm,{alt:"Android badge",src:Xh})})]})]})]}),p=()=>_(pm,{children:_(hm,{alt:`${e} app`,src:s})});return T(Ze,{children:[T(nh,{pillContent:"Partner advertisement",children:[_(Os,{children:T(tm,{children:[_(l,{}),_(p,{}),_(f,{})]})}),_(Xn,{children:T(em,{children:[T(im,{children:[_(l,{}),_(f,{})]}),_(p,{})]})})]}),_(mm,{children:_(Cn,{onClick:Jf,fillWidth:!0,children:"Continue"})})]})},gm=""+new URL("assets/app-mockups-rijN2nFq.png",import.meta.url).href,ym={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"}},wm=()=>_(Tn,{fundName:"Australian Super",engagementId:"australian",theme:ym,iOsDownloadUrl:"https://apps.apple.com/au/app/australiansuper/id1020067456",androidDownloadUrl:"https://play.google.com/store/apps/details?id=com.australiansuper.android.australiansuper&hl=en_AU",qrCodeUrl:"https://www.google.com/search?q=TODO",appMockupsImage:gm}),bm=""+new URL("assets/app-mockups-BoH89R6-.png",import.meta.url).href,vm={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"}},_m=()=>_(Tn,{fundName:"Aware Super",engagementId:"aware-super",theme:vm,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:bm}),Sm=""+new URL("assets/app-mockups-vh7MArzz.png",import.meta.url).href,Cm={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"}},km=()=>_(Tn,{fundName:"Hesta Super",engagementId:"hesta",theme:Cm,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:Sm}),Em=""+new URL("assets/app-mockups-Cr1XEjQA.png",import.meta.url).href,xm={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"}},Am=()=>_(Tn,{fundName:"Spirit Super",engagementId:"spirit",theme:xm,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:Em}),Ls={australian:_(wm,{}),spirit:_(Am,{}),hesta:_(km,{}),"aware-super":_(_m,{})},Tm=()=>{var s;const e=ze(a=>a.session),{data:t,isLoading:r,isError:n,error:i}=Ic(e.fundUsi||""),o=t&&((s=t.engagements)==null?void 0:s.length)>0;if(r)return _(Ke,{});if(!r&&(!t||n))return ye("Error when calling campaign connect to compute BYOF engagements",{fundUsi:e.fundUsi,data:t,error:i}),Yf(),_(Ke,{});if(o){const{engagementId:a}=t.engagements[0];if(a in Ls)return Ls[a]}return!r&&!o&&Kf(),_(Ke,{})},Rm=J.div({display:"flex",flexDirection:"column",alignItems:"center"}),Pm=()=>T(Rm,{children:[_(Tm,{}),_(Dc,{})]}),Im=()=>_(Pm,{}),Mm=e=>window.playwrightRunning?"00000000-0000-0000-0000-000000000000":Oc(e).sub,Fm=(e,t)=>{let r=0;for(const n of t)if(r+=n.percentage,e<r)return n.variantName;return t[0].variantName},Nm=(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)},Bm=(e,t)=>{if(t.splitType==="percentage"){const r=Nm(e.replace(/[^A-F0-9]/gi,""),t.rotations),n=parseInt(r,16),i=t.variants.reduce((a,u)=>a+u.percentage,0),o=n%i;return Fm(o,t.variants)}return t.variants[0].variantName},eu=e=>{if(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const r=t,n=e[r];if(!n.shouldRun||n.shouldRun(lt.getState())){const i=Mm(lt.getState().session.accessToken||""),o=Bm(i,n);o&&(lt.dispatch(Wf({experimentName:r,selectedVariant:o})),lt.dispatch(Kt.endpoints.segmentTrack.initiate({event:"$experiment_started",properties:{"Experiment name":r,"Variant name":o}})))}}}},Dm=()=>{const[e]=$f(),[t,r]=be(!0),n=Sn(),[i]=Uf();if(te(()=>{pe(void 0,null,function*(){const a=yield i();"data"in a?(rp(),tp(),r(!1)):(ye("App-loaded service call failed.",{error:a.error}),np(`App-loaded service call failed: ${JSON.stringify(a.error)}`))})},[]),t)return _(Ke,{});const o=()=>pe(void 0,null,function*(){r(!0),ep();const{data:s,isSuccess:a,status:u}=yield e();if(!a){ye("Backend service call failed.",{status:u}),ip(`Backend service call failed: ${u}`);return}const m=s==null?void 0:s.promotedFunds.filter(g=>g.type==="defined-benefits");if(s.hasDefinedBenefitsEligibility&&(m==null?void 0:m.length)>0){const g=Xp(m[0].fundId);n(Bc({fundId:m[0].fundId,fundType:"defined-benefits",iframeType:"PromotedFundJoinV2",fundName:g}));return}n(Qf(s.promotedFunds)),s.promotedFunds.forEach(g=>{const h=po(g);h!=null&&h.experiments&&eu(h.experiments)})});return T("div",{children:[_("div",{css:{textAlign:"center",fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.875rem",lineHeight:"2.25rem"}},children:"Important information about super"}),_("div",{css:{marginTop:"0.75rem",maxWidth:"800px",textAlign:"center",lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))","@media (min-width: 640px)":{marginTop:"1rem",fontSize:"1.125rem",lineHeight:"2rem"}},children:"The choice of superannuation fund is an important personal financial decision. Next, you’ll be asked to nominate a super fund to receive your employer contributions."}),_("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children:T("div",{css:{maxWidth:"560px",borderRadius:"0.5rem",borderWidth:"1px",padding:"1rem",paddingBottom:"1.5rem","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)","@media (min-width: 640px)":{padding:"1.5rem",paddingBottom:"2rem"}},children:[_("div",{css:{fontWeight:"700",lineHeight:"1.5rem","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"1.75rem"}},children:"By clicking “Continue” you acknowledge that:"}),T("ul",{css:{marginBottom:"1.5rem",marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem"},children:[_("li",{children:"Flare (we/us) provides this paperless employee management service, will feature superannuation funds and offer you employee benefits that you may be interested in;"}),_("li",{children:"all content contained in the following pages does not take into account any of your objectives, financial situation or needs and does not constitute financial product advice;"}),_("li",{children:"in featuring any superannuation funds, we, the technology partner you are accessing us via, or your employer, are not providing any opinion or recommendation (actual or implied) in relation to the suitability or appropriateness of the featured funds;"}),_("li",{children:"Trustees of the featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others pay us to have their application form on our platform;"}),_("li",{children:"in the event that you choose one of the featured superannuation funds, we may pass on your personal information and TFN to a related party for the purpose of completing your chosen fund's application form."}),T("li",{children:["Your personal data that is provided to us will be subject to our"," ",_(O,{css:{"--tw-text-opacity":"1",color:"rgb(37 99 235 / var(--tw-text-opacity))",textDecorationLine:"none",":hover":{"--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"}},link:"https://www.flarehr.com/privacy-policy",children:"Privacy Policy"}),"."]})]}),_(Cn,{fillWidth:!0,onClick:()=>o(),children:"Continue"})]})})]})},Om=(e,t)=>{window.parent.postMessage(e,t===void 0?"*":t)},Lm=e=>{Om({type:"pageNavigated",url:e,sender:"flare"})},$m=()=>{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-"}},Um=`https://${$m()}api.simplefinancialchoices.com/promoted-funds/embed`,Nr=e=>e.replace(/ /g,""),st=e=>!(typeof e=="string"&&e.trim().length>0),zm=()=>{var a,u,m,g,h,d;const e=ze(c=>c.state.selectedFund),t=ze(c=>c.session.accessToken),r=Sn(),n=Le.endpoints.campaignConnect.useQueryState().data;if(!e||!t||!n)return ye("PfjIFrame was in an inconsistent state and the user was redirected to the three panel.",{fund:e,data:n?"Not null":"Null",authToken:t?"Not null":"Null"}),r(qe()),_(Ke,{});const i={authToken:t,employerDefault:e.fundType==="promoted-default",fundId:e.fundId,accountId:n.userProfile.accountId,partnerId:n.userProfile.partnerId,title:(a=n.userProfile.title)!=null?a:"",firstName:n.userProfile.firstName,middleName:n.userProfile.middleName,lastName:n.userProfile.lastName,dateOfBirth:(u=n.userProfile.dateOfBirth)!=null?u:"",mobilePhone:(m=n.userProfile.mobilePhone)!=null?m:"",email:n.userProfile.email,gender:(g=n.userProfile.gender)!=null?g:"",taxFileNumber:(h=n.userProfile.tfn)!=null?h:"",addressLine1:n.userProfile.address.addressLine1,addressLine2:(d=n.userProfile.address.addressLine2)!=null?d:"",city:n.userProfile.address.city,state:n.userProfile.address.state,postCode:n.userProfile.address.postcode},o=tn();te(()=>{var l;const c=(l=o.current)==null?void 0:l.contentDocument;if(c){c.open();const f=c.createElement("form");f.method="POST",f.target="_self",f.action=Um;let p;for(p in i){const w=i[p];if(w!==void 0){const v=document.createElement("input");v.name=p,v.type="hidden",typeof w=="boolean"?v.value=w?"true":"false":v.value=w,f.append(v)}}c.appendChild(f),c.close(),f.submit()}},[o]);const s=c=>pe(void 0,null,function*(){const{data:l}=c;if(l.sender==="promoted-fund-redirect"){switch(window.removeEventListener("message",s),l.type){case"cancel":r(qe());break;case"success-promoted":{if(st(l.memberNumber)||st(l.usi)){ye("Bad response from PFJ",{type:l.type,memberNumber:l.memberNumber,usi:l.usi}),r(qe());break}jt({fundType:"Promoted",fundId:e.fundId,usi:Nr(l.usi),memberNumber:l.memberNumber,memberFirstName:l.memberFirstName,memberFamilyName:l.memberFamilyName,fundName:e.fundName});break}case"success-promoted-default":{if(st(l.usi)){ye("Bad response from PFJ",{type:l.type,usi:l.usi}),r(qe());break}jt({fundType:"PromotedDefault",fundId:l.fundId,usi:Nr(l.usi),fundName:e.fundName});break}case"success-promoted-default-with-join":{if(st(l.memberNumber)||st(l.usi)){ye("Bad response from PFJ",{type:l.type,memberNumber:l.memberNumber,usi:l.usi}),r(qe());break}jt({fundType:"PromotedDefaultWithJoin",fundId:e.fundId,usi:Nr(l.usi),memberNumber:l.memberNumber,memberFirstName:l.memberFirstName,memberFamilyName:l.memberFamilyName,fundName:e.fundName});break}case"success-defined-benefits":{if(st(l.memberNumber)||st(l.usi)){ye("Bad response from PFJ",{type:l.type,memberNumber:l.memberNumber,usi:l.usi}),r(qe());break}jt({fundType:"DefinedBenefits",fundId:l.fundId,usi:Nr(l.usi),memberNumber:l.memberNumber,memberElectContributionRatePreTax:l.memberElectContributionRatePreTax,memberElectContributionRatePostTax:l.memberElectContributionRatePostTax,fundName:e.fundName});break}}r(qe())}if(l.sender==="promoted-fund-join"){const f=o.current;if(!f)return;switch(l.type){case"contentResized":f.height=l.height>0?String(l.height):f.height,f.width=l.width>0?String(l.width):f.width;break;case"pageNavigated":window.scroll(f.offsetLeft,f.offsetTop),Lm(window.location.href);break}}});return window.addEventListener("message",s),_("div",{css:{width:"100vw"},children:_("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},jm="interop-mode",Hm="react-native",$s=()=>window.location.search.includes(`${jm}=${Hm}`),tu=()=>{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-"}},Us=`https://${tu()}join.slatesuper.com.au/confirm`,zs=`https://${tu()}partner.flarehr.com/super-selection/embed/v1.0/app/slate-redirect.html`,qm=e=>{switch(e){case"Male":return"Male";case"Female":return"Female";case"Intersex":return"Intersex/Indeterminate";default:return"Unknown"}},Wm=()=>{var a,u,m,g;const e=ze(h=>h.session.accessToken),t=Sn(),r=Le.endpoints.campaignConnect.useQueryState().data;if(!r)return ye("SlateIFrame was in an inconsistent state and the user was redirected to the three panel.",{data:r?"Not null":"Null"}),t(qe()),_(Ke,{});const i={authToken:!Us.match(/autodev|sandbox/)?e:void 0,successRedirectUrl:zs,cancelRedirectUrl:zs,skipConsolidation:$s()?"true":"false",skipInsurance:$s()?"true":"false",firstName:r.userProfile.firstName,middleName:r.userProfile.middleName,lastName:r.userProfile.lastName,dateOfBirth:(a=r.userProfile.dateOfBirth)!=null?a:"",mobilePhone:(u=r.userProfile.mobilePhone)!=null?u:"",email:r.userProfile.email,gender:qm(r.userProfile.gender),taxFileNumber:(m=r.userProfile.tfn)!=null?m:"",addressLine1:r.userProfile.address.addressLine1,addressLine2:(g=r.userProfile.address.addressLine2)!=null?g:"",city:r.userProfile.address.city,state:r.userProfile.address.state,postCode:r.userProfile.address.postcode},o=tn();te(()=>{var d;const h=(d=o.current)==null?void 0:d.contentDocument;if(h){h.open();const c=h.createElement("form");c.method="POST",c.target="_self",c.action=Us;let l;for(l in i){const f=i[l];if(f!==void 0){const p=document.createElement("input");p.type="hidden",p.name=l,p.value=f,c.append(p)}}h.appendChild(c),h.close(),c.submit()}},[o]);const s=h=>pe(void 0,null,function*(){const{data:d}=h;if(d.sender==="slate-redirect"){switch(window.removeEventListener("message",s),d.type){case"success":{jt({fundType:"Promoted",fundId:ur.fundId,usi:lo,memberNumber:d.memberNumber,fundName:ur.name});break}default:t(qe());break}return}if(d.sender==="flare")switch(d.type){case"contentResized":{const c=o.current;if(!c)return;c.height=d.height>0?String(d.height):c.height,c.width=d.width>0?String(d.width):c.width;break}}});return window.addEventListener("message",s),_("div",{css:{width:"100vw"},children:_("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},Vm=({type:e})=>_("div",{css:[{height:"2.25rem",borderTopLeftRadius:"0.375rem",borderTopRightRadius:"0.375rem",paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"0.375rem",paddingBottom:"0.375rem",textAlign:"center"},e==="popular"&&{"--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==="industry"&&{"--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==="workspace"&&{"--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==="business"&&{"--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:T("div",{css:{fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"500"},children:[e==="popular"&&"Popular",e==="industry"&&"Popular in your industry",e==="workspace"&&"Popular in your workplace",e==="business"&&"Popular in your business"]})}),Qm=r=>{var n=r,{size:e}=n,t=ot(n,["size"]);return _("svg",$(I({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#22c55e",width:e?e*4:"100%"},t),{children:_("path",{"fill-rule":"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z","clip-rule":"evenodd"})}))},js={Check:Qm},_r=()=>{const{funds:e}=ze(({state:t})=>t);return(e==null?void 0:e.length)===1&&e[0].fundId==="mercermychoice"},Km=({name:e,logo:t,coverImage:r,extraBadge:n,isPromotedDefault:i,isMultiFund:o})=>{const s=_r(),a=T(Ze,{children:[T("div",{css:{marginRight:"-0.5rem",marginTop:"-1.25rem",textAlign:"right"},children:[n,i&&_("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(219 234 254 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"},children:"Employer Default"}),_("span",{css:{marginRight:"0.125rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(31 41 55 / var(--tw-text-opacity))"},children:"Featured"})]}),T("div",{css:[{marginTop:"0.5rem",display:"flex","@media (min-width: 768px)":{marginTop:"0px"},"@media (min-width: 1024px)":{display:"block"}},o&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:[_("img",{css:[{height:"3rem",width:"80px",objectFit:"contain","@media (min-width: 768px)":{display:"none",height:"3.5rem",width:"96px"},"@media (min-width: 1024px)":{height:"4rem",width:"140px",objectPosition:"left"}},o&&{"@media (min-width: 1024px)":{display:"block"}}],alt:e,src:t}),_("div",{css:{display:"grid",alignContent:"center"},children:_("p",{css:[{marginLeft:"1rem",fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","@media (min-width: 768px)":{marginBottom:"0px",marginLeft:"0px",fontSize:"1.125rem",lineHeight:"1.75rem"}},o&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:e})})]})]}),u=T(Ze,{children:[T("div",{css:{marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"4rem",alignItems:"center",justifyContent:"space-between"},children:[_("img",{css:[{width:"100px"}],alt:e,src:t}),T("div",{children:[n,i&&_("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(219 234 254 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"},children:"Employer Default"}),_("span",{css:{marginRight:"0.125rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(31 41 55 / var(--tw-text-opacity))"},children:"Featured"})]})]}),_("img",{css:[{width:"100%"},o&&{"@media (min-width: 1024px)":{display:"block"}}],alt:e,src:r})]});return _(Ze,{children:s&&$e()?u:a})},Jm=({features:e,featureSubText:t,customContent:r,name:n})=>{const i=_r(),o=T(Ze,{children:[_("div",{css:{marginTop:"1rem","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.25rem","@media (min-width: 640px)":{marginTop:"0.5rem"}},children:e.map(a=>T("div",{css:{display:"flex"},children:[_("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:_(js.Check,{alt:"checked"})}),_("div",{css:{lineHeight:"1.25rem"},children:a})]}))}),t&&_("p",{css:{marginTop:"1rem",fontSize:"0.75rem",lineHeight:"1rem",fontStyle:"italic","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:t}),r]}),s=T(Ze,{children:[T("div",{css:{padding:"1.5rem",paddingBottom:"0px"},children:[_("div",{css:[{fontSize:"1.125rem",lineHeight:"1.75rem",fontWeight:"700"}],children:n}),e.map(a=>T("div",{css:{marginTop:"0.5rem",display:"flex"},children:[_("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:_(js.Check,{alt:"checked"})}),_("div",{css:{fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"400"},children:a})]}))]}),t&&_("p",{css:{marginTop:"1rem",fontSize:"0.75rem",lineHeight:"1rem",fontStyle:"italic","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:t}),r]});return _(Ze,{children:i&&$e()?s:o})},Ym=({name:e,logo:t,coverImage:r,features:n,featureSubText:i,isMultiFund:o,isPromotedDefault:s,extraBadge:a,customContent:u})=>{const m=_r();return T("div",{css:[{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem"},m&&$e()&&{padding:"0px"}],children:[_(Km,{name:e,logo:t,coverImage:r,isMultiFund:o,extraBadge:a,isPromotedDefault:s}),_(Jm,{name:e,features:n,customContent:u,featureSubText:i})]})},Gm=()=>_("div",{css:{display:"flex",justifyContent:"center"},children:_("div",{css:{maxWidth:"800px",textAlign:"center"},children:_("h3",{css:{fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.875rem",lineHeight:"2.25rem"}},children:"Nominate a super fund"})})}),Hs=({fund:e,isMultiFund:t})=>{const r=Sn(),n=_r();return T("div",{css:{display:"flex",height:"100%",flexDirection:"column",justifyContent:"space-between",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem",paddingBottom:"1.5rem"},children:[T("div",{children:[_("div",{css:[{"@media (min-width: 768px)":{maxWidth:"240px"}},t&&{"@media (min-width: 1024px)":{maxWidth:"100%"}},n&&$e()&&{"@media (min-width: 768px)":{maxWidth:"100%"}}],children:_(Cn,{fillWidth:!0,onClick:()=>{Zf(e),r(Bc({fundId:e.fundId,fundType:e.fundType,iframeType:e.iframeType,fundName:e.name}))},children:"Choose this fund"})}),_("div",{css:{marginTop:"1.5rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:e.disclaimer})]}),e.abnInfo&&e.abn&&T("div",{css:{marginTop:"0.5rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:[T("p",{children:["Issued by ",e.abnInfo,"."]}),T("p",{children:["ABN: ",e.abn]})]})]})},Xm="https://my.gov.au",Zm="www.my.gov.au",eg="https://www.apra.gov.au/register-of-superannuation-institutions",tg="www.apra.gov.au",rg=(e,t)=>{if(t.selectedVariants["social-validation-popular-virgin"]==="badge"&&e==="virgin")return"popular";if(t.selectedVariants["social-validation-business-virgin"]==="badge"&&e==="virgin"||t.selectedVariants["social-validation-business-mercermychoice"]==="badge"&&e==="mercermychoice")return"business"},ng=()=>{const e=ze(s=>s.state.funds),t=ze(s=>s.experimentsData),r=_r(),n=ae(()=>Gp(e!=null?e:[]),[e]),i=Gf();te(()=>{Xf(n)},[]);const o=n.length>1;return T("div",{children:[_(Gm,{}),_("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center"},children:_("div",{children:T("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,a)=>{const u=rg(s.fundId,t);return T("div",{children:[(!$e()||a===0)&&_("div",{css:[{visibility:"hidden"},u&&{visibility:"visible"}],children:_(Vm,{type:u})}),_("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"}},a!==0&&{borderTopWidth:"0px","@media (min-width: 1024px)":{borderLeftWidth:"0px",borderTopWidth:"1px"}},a===0&&{borderTopLeftRadius:"0.5rem",borderTopRightRadius:"0.5rem"},a===0&&a!==n.length-1&&{"@media (min-width: 1024px)":{borderTopRightRadius:"0px"}},a===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"}},u&&{borderTopLeftRadius:"0px",borderTopRightRadius:"0px","@media (min-width: 1024px)":{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"}}],children:T("div",{css:[{display:"flex"}],children:[_("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&&$e()&&{"@media (min-width: 768px)":{display:"none"}}],children:_("img",{css:{height:"4rem",width:"100%",maxWidth:"96px",objectFit:"contain"},alt:s.name,src:s.logo})}),T("div",{css:[{width:"100%"},r&&$e()&&{minWidth:"286px",maxWidth:"480px"}],children:[_(Ym,{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}),_("div",{css:[o&&{"@media (min-width: 1024px)":{display:"none"}}],children:_(Hs,{fund:s,isMultiFund:o})})]})]})})]})}),n.map((s,a)=>_("div",{css:[{display:"none",borderBottomWidth:"1px",borderRightWidth:"1px"},o&&{"@media (min-width: 1024px)":{display:"block"}},a===0&&{borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem",borderLeftWidth:"1px"},a===0&&a!==n.length-1&&{"@media (min-width: 1024px)":{borderBottomRightRadius:"0px"}},a===n.length-1&&{borderBottomRightRadius:"0.5rem"}],children:_(Hs,{fund:s,isMultiFund:o})}))]})})}),_("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children:T("div",{css:{maxWidth:"720px",borderBottomWidth:"1px",paddingBottom:"2rem","@media (min-width: 640px)":{paddingBottom:"3rem"}},children:[_("h5",{css:{fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"1.75rem"}},children:"Or, choose another super fund:"}),T("ul",{css:{marginBottom:"1.5rem",marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem","@media (min-width: 640px)":{fontSize:"1rem",lineHeight:"1.5rem"}},children:[_("li",{children:"Select this option if you'd like to use your current account with another super fund, your self-managed super fund, or your employer's default fund."}),T("li",{children:["If you are unsure of your current super fund details, you can find out at"," ",_(O,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:Xm,children:Zm})]}),T("li",{children:["A full list of super funds can be viewed at"," ",_(O,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:eg,children:tg})]})]}),_(Cn,{fillWidthOnMobile:!0,onClick:()=>i(),children:"Choose another super fund"})]})}),_("div",{css:{display:"flex",justifyContent:"center"},children:T("div",{css:{maxWidth:"720px",paddingTop:"2rem","@media (min-width: 640px)":{paddingTop:"3rem"}},children:[_("h5",{css:{fontWeight:"600"},children:"IMPORTANT INFORMATION:"}),T("ul",{css:{marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem"},children:[_("li",{children:"The superannuation funds featured above are for your information only. The order, position and placement of content should not be interpreted as an opinion or recommendation (actual or implied) by Flare as to the suitability or appropriateness of any superannuation fund for you. In featuring these superannuation funds, Flare has not taken into account your objectives, financial situation or needs."}),_("li",{children:"This is not a comparison service. This page contains factual information only and does not constitute either general or personal advice about any financial products. We do not take into account your objectives, financial situation or needs. If you have questions or need help making a decision about your superannuation fund, you should speak to a licensed financial product advice provider."}),_("li",{children:"Flare, the technology partner you are accessing Flare via and your employer do not endorse or accept responsibility for any financial product advice or services provided by the promoters or trustees of the featured superannuation funds. Flare does not endorse or accept responsibility for any of the content shown about any of the featured superannuation funds."}),_("li",{children:"You should consider the relevant superannuation fund’s PDS and TMD (if applicable) in deciding whether to apply to join the superannuation fund. Each of the superannuation funds featured above include a link to their PDS and TMD (if applicable) for your convenience. If you are considering joining another superannuation fund, you can typically find the PDS and TMD (if applicable) on that fund’s website."}),_("li",{children:"You should be aware that the trustees of featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others pay us to have their application form on our platform."})]})]})})]})},ig=J.div({display:"flex",flexDirection:"column",alignItems:"center"}),og=()=>{const{funds:e,selectedFund:t}=ze(i=>i.state),[r]=jf();return te(()=>{r()},[]),T(ig,{children:[_("div",{children:(()=>{if(t){if(t.iframeType==="PromotedFundJoinV2")return _(zm,{});if(t.iframeType==="SlateJoin")return _(Wm,{})}else if(e)return _(ng,{});return _(Dm,{})})()}),_("div",{children:_(Dc,{})})]})},sg=()=>_(og,{}),ag={},cg=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 bo(){return(bo=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 ug=["context","children"];function lg(e){this.getChildContext=function(){return e.context};var t=e.children,r=function(n,i){if(n==null)return{};var o,s,a={},u=Object.keys(n);for(s=0;s<u.length;s++)i.indexOf(o=u[s])>=0||(a[o]=n[o]);return a}(e,ug);return $i(t,r)}function dg(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=X(lg,bo({},this._props,{context:e.detail.context}),function t(r,n){if(r.nodeType===3)return r.data;if(r.nodeType!==1)return null;var i=[],o={},s=0,a=r.attributes,u=r.childNodes;for(s=a.length;s--;)a[s].name!=="slot"&&(o[a[s].name]=a[s].value,o[ru(a[s].name)]=a[s].value);for(s=u.length;s--;){var m=t(u[s],null),g=u[s].slot;g?o[g]=X(qs,{name:g},m):i[s]=m}var h=n?X(qs,null,i):i;return X(n||r.nodeName.toLowerCase(),o,h)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Li:et)(this._vdom,this._root)}function ru(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function fg(e,t,r){if(this._vdom){var n={};n[e]=r=r==null?void 0:r,n[ru(e)]=r,this._vdom=$i(this._vdom,n),et(this._vdom,this._root)}}function pg(){et(this._vdom=null,this._root)}function qs(e,t){var r=this;return X("slot",bo({},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 hg(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=fg,i.prototype.disconnectedCallback=pg,r=r||e.observedAttributes||Object.keys(e.propTypes||{}),i.observedAttributes=r,r.forEach(function(o){Object.defineProperty(i.prototype,o,{get:function(){return this._vdom.props[o]},set:function(s){this._vdom?this.attributeChangedCallback(o,null,s):(this._props||(this._props={}),this._props[o]=s,this.connectedCallback());var a=typeof s;s!=null&&a!=="string"&&a!=="boolean"&&a!=="number"||this.setAttribute(o,s)}})}),customElements.define(t||e.tagName||e.displayName||e.name,i)}const mg=()=>_(Tl,{styles:Rl`*, ::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
- }`}),ag=(e,t)=>r=>{const{"access-token":n,"backend-url":i,"fund-usi":o}=r,s=Zm(i),[a,u]=be(!1);te(()=>{const d=Kp();return()=>{clearInterval(d)}},[]),te(()=>{lt.dispatch(qf({accessToken:n,backendUrl:i,superBackendUrl:s,fundUsi:o})),Zc(Xm),u(!0)},[n,i,o]);const m=Ae(null),[g,h]=be(void 0);return te(()=>{var d;h((d=m.current)!=null?d:void 0)},[m]),_("div",{ref:m,children:_(El,{value:Oa({key:t,container:g,prepend:!0}),children:T(xf,{store:lt,children:[_(sg,{}),_("div",{css:{fontFamily:"Inter, sans-serif"},children:a?e({}):_(Je,{})})]})})})},ru=(e,t,r)=>{og(ag(e,t),t,r,{shadow:!0})};ru(Gm,"apollo-super-campaign");ru(Sm,"apollo-super-byof-engagement",["fund-usi"]);
273
+ }`}),gg=(e,t)=>r=>{const{"access-token":n,"backend-url":i,"fund-usi":o}=r,s=cg(i),[a,u]=be(!1);te(()=>{const d=Yp();return()=>{clearInterval(d)}},[]),te(()=>{lt.dispatch(Vf({accessToken:n,backendUrl:i,superBackendUrl:s,fundUsi:o})),eu(ag),u(!0)},[n,i,o]);const m=xe(null),[g,h]=be(void 0);return te(()=>{var d;h((d=m.current)!=null?d:void 0)},[m]),_("div",{ref:m,children:_(El,{value:La({key:t,container:g,prepend:!0}),children:T(Tf,{store:lt,children:[_(mg,{}),_("div",{css:{fontFamily:"Inter, sans-serif"},children:a?e({}):_(Ke,{})})]})})})},nu=(e,t,r)=>{hg(gg(e,t),t,r,{shadow:!0})};nu(sg,"apollo-super-campaign");nu(Im,"apollo-super-byof-engagement",["fund-usi"]);