@flarehr/apollo-super-campaign 0.1.656 → 0.1.658
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.
|
@@ -5,7 +5,7 @@ var jl=Object.defineProperty;var zl=(e,t,r)=>t in e?jl(e,t,{enumerable:!0,config
|
|
|
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 ie=typeof Symbol=="function"&&Symbol.for,Uo=ie?Symbol.for("react.element"):60103,jo=ie?Symbol.for("react.portal"):60106,Vn=ie?Symbol.for("react.fragment"):60107,Gn=ie?Symbol.for("react.strict_mode"):60108,Qn=ie?Symbol.for("react.profiler"):60114,Yn=ie?Symbol.for("react.provider"):60109,Kn=ie?Symbol.for("react.context"):60110,zo=ie?Symbol.for("react.async_mode"):60111,Jn=ie?Symbol.for("react.concurrent_mode"):60111,Xn=ie?Symbol.for("react.forward_ref"):60112,Zn=ie?Symbol.for("react.suspense"):60113,Gd=ie?Symbol.for("react.suspense_list"):60120,ei=ie?Symbol.for("react.memo"):60115,ti=ie?Symbol.for("react.lazy"):60116,Qd=ie?Symbol.for("react.block"):60121,Yd=ie?Symbol.for("react.fundamental"):60117,Kd=ie?Symbol.for("react.responder"):60118,Jd=ie?Symbol.for("react.scope"):60119;function Se(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Uo:switch(e=e.type,e){case zo:case Jn:case Vn:case Qn:case Gn:case Zn:return e;default:switch(e=e&&e.$$typeof,e){case Kn:case Xn:case ti:case ei:case Yn:return e;default:return t}}case jo:return t}}}function Jc(e){return Se(e)===Jn}V.AsyncMode=zo;V.ConcurrentMode=Jn;V.ContextConsumer=Kn;V.ContextProvider=Yn;V.Element=Uo;V.ForwardRef=Xn;V.Fragment=Vn;V.Lazy=ti;V.Memo=ei;V.Portal=jo;V.Profiler=Qn;V.StrictMode=Gn;V.Suspense=Zn;V.isAsyncMode=function(e){return Jc(e)||Se(e)===zo};V.isConcurrentMode=Jc;V.isContextConsumer=function(e){return Se(e)===Kn};V.isContextProvider=function(e){return Se(e)===Yn};V.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Uo};V.isForwardRef=function(e){return Se(e)===Xn};V.isFragment=function(e){return Se(e)===Vn};V.isLazy=function(e){return Se(e)===ti};V.isMemo=function(e){return Se(e)===ei};V.isPortal=function(e){return Se(e)===jo};V.isProfiler=function(e){return Se(e)===Qn};V.isStrictMode=function(e){return Se(e)===Gn};V.isSuspense=function(e){return Se(e)===Zn};V.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Vn||e===Jn||e===Qn||e===Gn||e===Zn||e===Gd||typeof e=="object"&&e!==null&&(e.$$typeof===ti||e.$$typeof===ei||e.$$typeof===Yn||e.$$typeof===Kn||e.$$typeof===Xn||e.$$typeof===Yd||e.$$typeof===Kd||e.$$typeof===Jd||e.$$typeof===Qd)};V.typeOf=Se;Kc.exports=V;var Xd=Kc.exports,Xc=Xd,Zd={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ef={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Zc={};Zc[Xc.ForwardRef]=Zd;Zc[Xc.Memo]=ef;var tf=!0;function eu(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):n+=i+" "}),n}var Ho=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||tf===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},qo=function(t,r,n){Ho(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 rf(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 nf={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},of=/[A-Z]|^ms/g,af=/_EMO_([^_]+?)_([^]*?)_EMO_/g,tu=function(t){return t.charCodeAt(1)===45},Ja=function(t){return t!=null&&typeof t!="boolean"},vi=Gc(function(e){return tu(e)?e:e.replace(of,"-$&").toLowerCase()}),Xa=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(af,function(n,i,o){return De={name:i,styles:o,next:De},i})}return nf[t]!==1&&!tu(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 sf(e,t,r)}case"function":{if(e!==void 0){var o=De,a=r(e);return De=o,Tr(e,t,a)}break}}if(t==null)return r;var s=t[r];return s!==void 0?s:r}function sf(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=Tr(e,t,r[i])+";";else for(var o in r){var a=r[o];if(typeof a!="object")t!=null&&t[a]!==void 0?n+=o+"{"+t[a]+"}":Ja(a)&&(n+=vi(o)+":"+Xa(o,a)+";");else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var s=0;s<a.length;s++)Ja(a[s])&&(n+=vi(o)+":"+Xa(o,a[s])+";");else{var c=Tr(e,t,a);switch(o){case"animation":case"animationName":{n+=vi(o)+":"+c+";";break}default:n+=o+"{"+c+"}"}}}return n}var Za=/label:\s*([^\s;\n{]+)\s*(;|$)/g,De,ri=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 a=t[0];a==null||a.raw===void 0?(i=!1,o+=Tr(n,r,a)):o+=a[0];for(var s=1;s<t.length;s++)o+=Tr(n,r,t[s]),i&&(o+=a[s]);Za.lastIndex=0;for(var c="",u;(u=Za.exec(o))!==null;)c+="-"+u[1];var p=rf(o)+c;return{name:p,styles:o,next:De}},cf=function(t){return t()},ru=Er.useInsertionEffect?Er.useInsertionEffect:!1,nu=ru||cf,es=ru||_t,ni={}.hasOwnProperty,iu=zn(typeof HTMLElement<"u"?Yc({key:"css"}):null),uf=iu.Provider,Wo=function(t){return No(function(r,n){var i=Qt(iu);return t(r,i,n)})},Vo=zn({}),Wi="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ou=function(t,r){var n={};for(var i in r)ni.call(r,i)&&(n[i]=r[i]);return n[Wi]=t,n},lf=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Ho(r,n,i),nu(function(){return qo(r,n,i)}),null},df=Wo(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var i=e[Wi],o=[n],a="";typeof e.className=="string"?a=eu(t.registered,o,e.className):e.className!=null&&(a=e.className+" ");var s=ri(o,void 0,Qt(Vo));a+=t.key+"-"+s.name;var c={};for(var u in e)ni.call(e,u)&&u!=="css"&&u!==Wi&&(c[u]=e[u]);return c.ref=r,c.className=a,Z(we,null,Z(lf,{cache:t,serialized:s,isStringTag:typeof i=="string"}),Z(i,c))}),au=df,ff=Wo(function(e,t){var r=e.styles,n=ri([r],void 0,Qt(Vo)),i=Ee();return es(function(){var o=t.key+"-global",a=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,c=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),c!==null&&(s=!0,c.setAttribute("data-emotion",o),a.hydrate([c])),i.current=[a,s],function(){a.flush()}},[t]),es(function(){var o=i.current,a=o[0],s=o[1];if(s){o[1]=!1;return}if(n.next!==void 0&&qo(t,n.next,!0),a.tags.length){var c=a.tags[a.tags.length-1].nextElementSibling;a.before=c,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null});function pf(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return ri(t)}var mf=0;function xn(e,t,r,n,i,o){var a,s,c={};for(s in t)s=="ref"?a=t[s]:c[s]=t[s];var u={type:e,props:c,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--mf,__i:-1,__u:0,__source:i,__self:o};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)c[s]===void 0&&(c[s]=a[s]);return P.vnode&&P.vnode(u),u}var mt=we;function b(e,t,r){return ni.call(t,"css")?xn(au,ou(e,t),r):xn(e,t,r)}function R(e,t,r){return ni.call(t,"css")?xn(au,ou(e,t),r):xn(e,t,r)}const Kt=({size:e=48})=>b("div",{css:{display:"inline-block","@keyframes spin":{to:{transform:"rotate(360deg)"}},animation:"spin 1s linear infinite"},children:R("svg",{width:e,height:e,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[b("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"}),b("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)"}})]})}),hf={"toggle-removed-from-page":{splitType:"percentage",rotations:0,variants:[{variantName:"control",percentage:70},{variantName:"toggle-removed-from-page",percentage:30}]}};var vf=/^((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)-.*))$/,gf=Gc(function(e){return vf.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),yf=gf,bf=function(t){return t!=="theme"},ts=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?yf:bf},rs=function(t,r,n){var i;if(r){var o=r.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(a){return t.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&n&&(i=t.__emotion_forwardProp),i},wf=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Ho(r,n,i),nu(function(){return qo(r,n,i)}),null},_f=function e(t,r){var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,o,a;r!==void 0&&(o=r.label,a=r.target);var s=rs(t,r,n),c=s||ts(i),u=!c("as");return function(){var p=arguments,f=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&f.push("label:"+o+";"),p[0]==null||p[0].raw===void 0)f.push.apply(f,p);else{f.push(p[0][0]);for(var d=p.length,l=1;l<d;l++)f.push(p[l],p[0][l])}var m=Wo(function(h,v,w){var _=u&&h.as||i,g="",y=[],C=h;if(h.theme==null){C={};for(var E in h)C[E]=h[E];C.theme=Qt(Vo)}typeof h.className=="string"?g=eu(v.registered,y,h.className):h.className!=null&&(g=h.className+" ");var S=ri(f.concat(y),v.registered,C);g+=v.key+"-"+S.name,a!==void 0&&(g+=" "+a);var x=u&&s===void 0?ts(_):c,k={};for(var T in h)u&&T==="as"||x(T)&&(k[T]=h[T]);return k.className=g,k.ref=w,Z(we,null,Z(wf,{cache:v,serialized:S,isStringTag:typeof _=="string"}),Z(_,k))});return m.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=i,m.__emotion_styles=f,m.__emotion_forwardProp=s,Object.defineProperty(m,"toString",{value:function(){return"."+a}}),m.withComponent=function(h,v){return e(h,qi({},r,v,{shouldForwardProp:rs(m,v,!0)})).apply(void 0,f)},m}},Sf=["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"],kn=_f.bind();Sf.forEach(function(e){kn[e]=kn(e)});function oe(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 Cf=typeof Symbol=="function"&&Symbol.observable||"@@observable",ns=Cf,gi=()=>Math.random().toString(36).substring(7).split("").join("."),Ef={INIT:`@@redux/INIT${gi()}`,REPLACE:`@@redux/REPLACE${gi()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${gi()}`},Tn=Ef;function ze(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function su(e,t,r){if(typeof e!="function")throw new Error(oe(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(oe(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(oe(1));return r(su)(e,t)}let n=e,i=t,o=new Map,a=o,s=0,c=!1;function u(){a===o&&(a=new Map,o.forEach((v,w)=>{a.set(w,v)}))}function p(){if(c)throw new Error(oe(3));return i}function f(v){if(typeof v!="function")throw new Error(oe(4));if(c)throw new Error(oe(5));let w=!0;u();const _=s++;return a.set(_,v),function(){if(w){if(c)throw new Error(oe(6));w=!1,u(),a.delete(_),o=null}}}function d(v){if(!ze(v))throw new Error(oe(7));if(typeof v.type>"u")throw new Error(oe(8));if(typeof v.type!="string")throw new Error(oe(17));if(c)throw new Error(oe(9));try{c=!0,i=n(i,v)}finally{c=!1}return(o=a).forEach(_=>{_()}),v}function l(v){if(typeof v!="function")throw new Error(oe(10));n=v,d({type:Tn.REPLACE})}function m(){const v=f;return{subscribe(w){if(typeof w!="object"||w===null)throw new Error(oe(11));function _(){const y=w;y.next&&y.next(p())}return _(),{unsubscribe:v(_)}},[ns](){return this}}}return d({type:Tn.INIT}),{dispatch:d,subscribe:f,getState:p,replaceReducer:l,[ns]:m}}function xf(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:Tn.INIT})>"u")throw new Error(oe(12));if(typeof r(void 0,{type:Tn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(oe(13))})}function cu(e){const t=Object.keys(e),r={};for(let o=0;o<t.length;o++){const a=t[o];typeof e[a]=="function"&&(r[a]=e[a])}const n=Object.keys(r);let i;try{xf(r)}catch(o){i=o}return function(a={},s){if(i)throw i;let c=!1;const u={};for(let p=0;p<n.length;p++){const f=n[p],d=r[f],l=a[f],m=d(l,s);if(typeof m>"u")throw s&&s.type,new Error(oe(14));u[f]=m,c=c||m!==l}return c=c||n.length!==Object.keys(a).length,c?u:a}}function Rn(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function kf(...e){return t=>(r,n)=>{const i=t(r,n);let o=()=>{throw new Error(oe(15))};const a={getState:i.getState,dispatch:(c,...u)=>o(c,...u)},s=e.map(c=>c(a));return o=Rn(...s)(i.dispatch),{...i,dispatch:o}}}function uu(e){return ze(e)&&"type"in e&&typeof e.type=="string"}var Go=Symbol.for("immer-nothing"),mr=Symbol.for("immer-draftable"),he=Symbol.for("immer-state");function se(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var gt=Object.getPrototypeOf;function Pe(e){return!!e&&!!e[he]}function Ie(e){var t;return e?lu(e)||Array.isArray(e)||!!e[mr]||!!((t=e.constructor)!=null&&t[mr])||jr(e)||zr(e):!1}var Tf=Object.prototype.constructor.toString();function lu(e){if(!e||typeof e!="object")return!1;const t=gt(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)===Tf}function Rf(e){return Pe(e)||se(15,e),e[he].base_}function Rr(e,t){yt(e)===0?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function yt(e){const t=e[he];return t?t.type_:Array.isArray(e)?1:jr(e)?2:zr(e)?3:0}function Ar(e,t){return yt(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function yi(e,t){return yt(e)===2?e.get(t):e[t]}function du(e,t,r){const n=yt(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function Af(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function jr(e){return e instanceof Map}function zr(e){return e instanceof Set}function ut(e){return e.copy_||e.base_}function Vi(e,t){if(jr(e))return new Map(e);if(zr(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&lu(e))return gt(e)?{...e}:Object.assign(Object.create(null),e);const r=Object.getOwnPropertyDescriptors(e);delete r[he];let n=Reflect.ownKeys(r);for(let i=0;i<n.length;i++){const o=n[i],a=r[o];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(r[o]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[o]})}return Object.create(gt(e),r)}function Qo(e,t=!1){return ii(e)||Pe(e)||!Ie(e)||(yt(e)>1&&(e.set=e.add=e.clear=e.delete=Of),Object.freeze(e),t&&Object.entries(e).forEach(([r,n])=>Qo(n,!0))),e}function Of(){se(2)}function ii(e){return Object.isFrozen(e)}var Gi={};function bt(e){const t=Gi[e];return t||se(0,e),t}function Pf(e,t){Gi[e]||(Gi[e]=t)}var Or;function fu(){return Or}function If(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function is(e,t){t&&(bt("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Qi(e){Yi(e),e.drafts_.forEach(Lf),e.drafts_=null}function Yi(e){e===Or&&(Or=e.parent_)}function os(e){return Or=If(Or,e)}function Lf(e){const t=e[he];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function as(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[he].modified_&&(Qi(t),se(4)),Ie(e)&&(e=An(t,e),t.parent_||On(t,e)),t.patches_&&bt("Patches").generateReplacementPatches_(r[he].base_,e,t.patches_,t.inversePatches_)):e=An(t,r,[]),Qi(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Go?e:void 0}function An(e,t,r){if(ii(t))return t;const n=t[he];if(!n)return Rr(t,(i,o)=>ss(e,n,t,i,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return On(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const i=n.copy_;let o=i,a=!1;n.type_===3&&(o=new Set(i),i.clear(),a=!0),Rr(o,(s,c)=>ss(e,n,i,s,c,r,a)),On(e,i,!1),r&&e.patches_&&bt("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function ss(e,t,r,n,i,o,a){if(Pe(i)){const s=o&&t&&t.type_!==3&&!Ar(t.assigned_,n)?o.concat(n):void 0,c=An(e,i,s);if(du(r,n,c),Pe(c))e.canAutoFreeze_=!1;else return}else a&&r.add(i);if(Ie(i)&&!ii(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;An(e,i),(!t||!t.scope_.parent_)&&typeof n!="symbol"&&Object.prototype.propertyIsEnumerable.call(r,n)&&On(e,i)}}function On(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Qo(t,r)}function Nf(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:fu(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=n,o=Yo;r&&(i=[n],o=Pr);const{revoke:a,proxy:s}=Proxy.revocable(i,o);return n.draft_=s,n.revoke_=a,s}var Yo={get(e,t){if(t===he)return e;const r=ut(e);if(!Ar(r,t))return Mf(e,r,t);const n=r[t];return e.finalized_||!Ie(n)?n:n===bi(e.base_,t)?(wi(e),e.copy_[t]=Ji(n,e)):n},has(e,t){return t in ut(e)},ownKeys(e){return Reflect.ownKeys(ut(e))},set(e,t,r){const n=pu(ut(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const i=bi(ut(e),t),o=i==null?void 0:i[he];if(o&&o.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(Af(r,i)&&(r!==void 0||Ar(e.base_,t)))return!0;wi(e),Ki(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 bi(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,wi(e),Ki(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=ut(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){se(11)},getPrototypeOf(e){return gt(e.base_)},setPrototypeOf(){se(12)}},Pr={};Rr(Yo,(e,t)=>{Pr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Pr.deleteProperty=function(e,t){return Pr.set.call(this,e,t,void 0)};Pr.set=function(e,t,r){return Yo.set.call(this,e[0],t,r,e[0])};function bi(e,t){const r=e[he];return(r?ut(r):e)[t]}function Mf(e,t,r){var i;const n=pu(t,r);return n?"value"in n?n.value:(i=n.get)==null?void 0:i.call(e.draft_):void 0}function pu(e,t){if(!(t in e))return;let r=gt(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=gt(r)}}function Ki(e){e.modified_||(e.modified_=!0,e.parent_&&Ki(e.parent_))}function wi(e){e.copy_||(e.copy_=Vi(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Ff=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,r,n)=>{if(typeof t=="function"&&typeof r!="function"){const o=r;r=t;const a=this;return function(c=o,...u){return a.produce(c,p=>r.call(this,p,...u))}}typeof r!="function"&&se(6),n!==void 0&&typeof n!="function"&&se(7);let i;if(Ie(t)){const o=os(this),a=Ji(t,void 0);let s=!0;try{i=r(a),s=!1}finally{s?Qi(o):Yi(o)}return is(o,n),as(i,o)}else if(!t||typeof t!="object"){if(i=r(t),i===void 0&&(i=t),i===Go&&(i=void 0),this.autoFreeze_&&Qo(i,!0),n){const o=[],a=[];bt("Patches").generateReplacementPatches_(t,i,o,a),n(o,a)}return i}else se(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(a,...s)=>this.produceWithPatches(a,c=>t(c,...s));let n,i;return[this.produce(t,r,(a,s)=>{n=a,i=s}),n,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){Ie(e)||se(8),Pe(e)&&(e=mu(e));const t=os(this),r=Ji(e,void 0);return r[he].isManual_=!0,Yi(t),r}finishDraft(e,t){const r=e&&e[he];(!r||!r.isManual_)&&se(9);const{scope_:n}=r;return is(n,t),as(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=bt("Patches").applyPatches_;return Pe(e)?n(e,t):this.produce(e,i=>n(i,t))}};function Ji(e,t){const r=jr(e)?bt("MapSet").proxyMap_(e,t):zr(e)?bt("MapSet").proxySet_(e,t):Nf(e,t);return(t?t.scope_:fu()).drafts_.push(r),r}function mu(e){return Pe(e)||se(10,e),hu(e)}function hu(e){if(!Ie(e)||ii(e))return e;const t=e[he];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=Vi(e,t.scope_.immer_.useStrictShallowCopy_)}else r=Vi(e,!0);return Rr(r,(n,i)=>{du(r,n,hu(i))}),t&&(t.finalized_=!1),r}function Df(){const t="replace",r="add",n="remove";function i(d,l,m,h){switch(d.type_){case 0:case 2:return a(d,l,m,h);case 1:return o(d,l,m,h);case 3:return s(d,l,m,h)}}function o(d,l,m,h){let{base_:v,assigned_:w}=d,_=d.copy_;_.length<v.length&&([v,_]=[_,v],[m,h]=[h,m]);for(let g=0;g<v.length;g++)if(w[g]&&_[g]!==v[g]){const y=l.concat([g]);m.push({op:t,path:y,value:f(_[g])}),h.push({op:t,path:y,value:f(v[g])})}for(let g=v.length;g<_.length;g++){const y=l.concat([g]);m.push({op:r,path:y,value:f(_[g])})}for(let g=_.length-1;v.length<=g;--g){const y=l.concat([g]);h.push({op:n,path:y})}}function a(d,l,m,h){const{base_:v,copy_:w}=d;Rr(d.assigned_,(_,g)=>{const y=yi(v,_),C=yi(w,_),E=g?Ar(v,_)?t:r:n;if(y===C&&E===t)return;const S=l.concat(_);m.push(E===n?{op:E,path:S}:{op:E,path:S,value:C}),h.push(E===r?{op:n,path:S}:E===n?{op:r,path:S,value:f(y)}:{op:t,path:S,value:f(y)})})}function s(d,l,m,h){let{base_:v,copy_:w}=d,_=0;v.forEach(g=>{if(!w.has(g)){const y=l.concat([_]);m.push({op:n,path:y,value:g}),h.unshift({op:r,path:y,value:g})}_++}),_=0,w.forEach(g=>{if(!v.has(g)){const y=l.concat([_]);m.push({op:r,path:y,value:g}),h.unshift({op:n,path:y,value:g})}_++})}function c(d,l,m,h){m.push({op:t,path:[],value:l===Go?void 0:l}),h.push({op:t,path:[],value:d})}function u(d,l){return l.forEach(m=>{const{path:h,op:v}=m;let w=d;for(let C=0;C<h.length-1;C++){const E=yt(w);let S=h[C];typeof S!="string"&&typeof S!="number"&&(S=""+S),(E===0||E===1)&&(S==="__proto__"||S==="constructor")&&se(19),typeof w=="function"&&S==="prototype"&&se(19),w=yi(w,S),typeof w!="object"&&se(18,h.join("/"))}const _=yt(w),g=p(m.value),y=h[h.length-1];switch(v){case t:switch(_){case 2:return w.set(y,g);case 3:se(16);default:return w[y]=g}case r:switch(_){case 1:return y==="-"?w.push(g):w.splice(y,0,g);case 2:return w.set(y,g);case 3:return w.add(g);default:return w[y]=g}case n:switch(_){case 1:return w.splice(y,1);case 2:return w.delete(y);case 3:return w.delete(m.value);default:return delete w[y]}default:se(17,v)}}),d}function p(d){if(!Ie(d))return d;if(Array.isArray(d))return d.map(p);if(jr(d))return new Map(Array.from(d.entries()).map(([m,h])=>[m,p(h)]));if(zr(d))return new Set(Array.from(d).map(p));const l=Object.create(gt(d));for(const m in d)l[m]=p(d[m]);return Ar(d,mr)&&(l[mr]=d[mr]),l}function f(d){return Pe(d)?p(d):d}Pf("Patches",{applyPatches_:u,generatePatches_:i,generateReplacementPatches_:c})}var _e=new Ff,Hr=_e.produce,vu=_e.produceWithPatches.bind(_e);_e.setAutoFreeze.bind(_e);_e.setUseStrictShallowCopy.bind(_e);var cs=_e.applyPatches.bind(_e);_e.createDraft.bind(_e);_e.finishDraft.bind(_e);function Bf(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function $f(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function Uf(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 jf(e){const t=Array.isArray(e[0])?e[0]:e;return Uf(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function zf(e,t){const r=[],{length:n}=e;for(let i=0;i<n;i++)r.push(e[i].apply(null,t));return r}var Hf=class{constructor(e){this.value=e}deref(){return this.value}},qf=typeof WeakRef<"u"?WeakRef:Hf,Wf=0,ls=1;function rn(){return{s:Wf,v:void 0,o:null,p:null}}function Ir(e,t={}){let r=rn();const{resultEqualityCheck:n}=t;let i,o=0;function a(){var f;let s=r;const{length:c}=arguments;for(let d=0,l=c;d<l;d++){const m=arguments[d];if(typeof m=="function"||typeof m=="object"&&m!==null){let h=s.o;h===null&&(s.o=h=new WeakMap);const v=h.get(m);v===void 0?(s=rn(),h.set(m,s)):s=v}else{let h=s.p;h===null&&(s.p=h=new Map);const v=h.get(m);v===void 0?(s=rn(),h.set(m,s)):s=v}}const u=s;let p;if(s.s===ls?p=s.v:(p=e.apply(null,arguments),o++),u.s=ls,n){const d=((f=i==null?void 0:i.deref)==null?void 0:f.call(i))??i;d!=null&&n(d,p)&&(p=d,o!==0&&o--),i=typeof p=="object"&&p!==null||typeof p=="function"?new qf(p):p}return u.v=p,p}return a.clearCache=()=>{r=rn(),a.resetResultsCount()},a.resultsCount=()=>o,a.resetResultsCount=()=>{o=0},a}function gu(e,...t){const r=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,n=(...i)=>{let o=0,a=0,s,c={},u=i.pop();typeof u=="object"&&(c=u,u=i.pop()),Bf(u,`createSelector expects an output function after the inputs, but received: [${typeof u}]`);const p={...r,...c},{memoize:f,memoizeOptions:d=[],argsMemoize:l=Ir,argsMemoizeOptions:m=[],devModeChecks:h={}}=p,v=us(d),w=us(m),_=jf(i),g=f(function(){return o++,u.apply(null,arguments)},...v),y=l(function(){a++;const E=zf(_,arguments);return s=g.apply(null,E),s},...w);return Object.assign(y,{resultFunc:u,memoizedResultFunc:g,dependencies:_,dependencyRecomputations:()=>a,resetDependencyRecomputations:()=>{a=0},lastResult:()=>s,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:f,argsMemoize:l})};return Object.assign(n,{withTypes:()=>n}),n}var Dt=gu(Ir),Vf=Object.assign((e,t=Dt)=>{$f(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const r=Object.keys(e),n=r.map(o=>e[o]);return t(n,(...o)=>o.reduce((a,s,c)=>(a[r[c]]=s,a),{}))},{withTypes:()=>Vf});function yu(e){return({dispatch:r,getState:n})=>i=>o=>typeof o=="function"?o(r,n,e):i(o)}var Gf=yu(),Qf=yu,Yf=(...e)=>{const t=gu(...e);return(...r)=>{const n=t(...r),i=(o,...a)=>n(Pe(o)?mu(o):o,...a);return Object.assign(i,n),i}};Yf(Ir);var Kf=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Rn:Rn.apply(null,arguments)},Jf=e=>e&&typeof e.match=="function";function pe(e,t){function r(...n){if(t){let i=t(...n);if(!i)throw new Error(ke(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:n[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=n=>uu(n)&&n.type===e,r}var bu=class ur extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,ur.prototype)}static get[Symbol.species](){return ur}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new ur(...t[0].concat(this)):new ur(...t.concat(this))}};function ds(e){return Ie(e)?Hr(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(ke(10));const n=r.insert(t,e);return e.set(t,n),n}function Xf(e){return typeof e=="boolean"}var Zf=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t??{};let a=new bu;return r&&(Xf(r)?a.push(Gf):a.push(Qf(r.extraArgument))),a},It="RTK_autoBatch",or=()=>e=>({payload:e,meta:{[It]:!0}}),wu=e=>t=>{setTimeout(t,e)},ep=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:wu(10),tp=(e={type:"raf"})=>t=>(...r)=>{const n=t(...r);let i=!0,o=!1,a=!1;const s=new Set,c=e.type==="tick"?queueMicrotask:e.type==="raf"?ep:e.type==="callback"?e.queueNotification:wu(e.timeout),u=()=>{a=!1,o&&(o=!1,s.forEach(p=>p()))};return Object.assign({},n,{subscribe(p){const f=()=>i&&p(),d=n.subscribe(f);return s.add(p),()=>{d(),s.delete(p)}},dispatch(p){var f;try{return i=!((f=p==null?void 0:p.meta)!=null&&f[It]),o=!i,o&&(a||(a=!0,c(u))),n.dispatch(p)}finally{i=!0}}})},rp=e=>function(r){const{autoBatch:n=!0}=r??{};let i=new bu(e);return n&&i.push(tp(typeof n=="object"?n:void 0)),i},np=!0;function ip(e){const t=Zf(),{reducer:r=void 0,middleware:n,devTools:i=!0,preloadedState:o=void 0,enhancers:a=void 0}=e||{};let s;if(typeof r=="function")s=r;else if(ze(r))s=cu(r);else throw new Error(ke(1));let c;typeof n=="function"?c=n(t):c=t();let u=Rn;i&&(u=Kf({trace:!np,...typeof i=="object"&&i}));const p=kf(...c),f=rp(p);let d=typeof a=="function"?a(f):f();const l=u(...d);return su(s,o,l)}function _u(e){const t={},r=[];let n;const i={addCase(o,a){const s=typeof o=="string"?o:o.type;if(!s)throw new Error(ke(28));if(s in t)throw new Error(ke(29));return t[s]=a,i},addMatcher(o,a){return r.push({matcher:o,reducer:a}),i},addDefaultCase(o){return n=o,i}};return e(i),[t,r,n]}function op(e){return typeof e=="function"}function ap(e,t){let[r,n,i]=_u(t),o;if(op(e))o=()=>ds(e());else{const s=ds(e);o=()=>s}function a(s=o(),c){let u=[r[c.type],...n.filter(({matcher:p})=>p(c)).map(({reducer:p})=>p)];return u.filter(p=>!!p).length===0&&(u=[i]),u.reduce((p,f)=>{if(f)if(Pe(p)){const l=f(p,c);return l===void 0?p:l}else{if(Ie(p))return Hr(p,d=>f(d,c));{const d=f(p,c);if(d===void 0){if(p===null)return p;throw new Error(ke(9))}return d}}return p},s)}return a.getInitialState=o,a}var sp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Su=(e=21)=>{let t="",r=e;for(;r--;)t+=sp[Math.random()*64|0];return t},Cu=(e,t)=>Jf(e)?e.match(t):e(t);function rt(...e){return t=>e.some(r=>Cu(r,t))}function hr(...e){return t=>e.every(r=>Cu(r,t))}function oi(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 qr(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function Ko(...e){return e.length===0?t=>oi(t,["pending"]):qr(e)?t=>{const r=e.map(i=>i.pending);return rt(...r)(t)}:Ko()(e[0])}function zt(...e){return e.length===0?t=>oi(t,["rejected"]):qr(e)?t=>{const r=e.map(i=>i.rejected);return rt(...r)(t)}:zt()(e[0])}function ai(...e){const t=r=>r&&r.meta&&r.meta.rejectedWithValue;return e.length===0?r=>hr(zt(...e),t)(r):qr(e)?r=>hr(zt(...e),t)(r):ai()(e[0])}function nt(...e){return e.length===0?t=>oi(t,["fulfilled"]):qr(e)?t=>{const r=e.map(i=>i.fulfilled);return rt(...r)(t)}:nt()(e[0])}function Xi(...e){return e.length===0?t=>oi(t,["pending","fulfilled","rejected"]):qr(e)?t=>{const r=[];for(const i of e)r.push(i.pending,i.rejected,i.fulfilled);return rt(...r)(t)}:Xi()(e[0])}var cp=["name","message","stack","code"],_i=class{constructor(e,t){pi(this,"_type");this.payload=e,this.meta=t}},ps=class{constructor(e,t){pi(this,"_type");this.payload=e,this.meta=t}},up=e=>{if(typeof e=="object"&&e!==null){const t={};for(const r of cp)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},ms=(()=>{function e(t,r,n){const i=pe(t+"/fulfilled",(c,u,p,f)=>({payload:c,meta:{...f||{},arg:p,requestId:u,requestStatus:"fulfilled"}})),o=pe(t+"/pending",(c,u,p)=>({payload:void 0,meta:{...p||{},arg:u,requestId:c,requestStatus:"pending"}})),a=pe(t+"/rejected",(c,u,p,f,d)=>({payload:f,error:(n&&n.serializeError||up)(c||"Rejected"),meta:{...d||{},arg:p,requestId:u,rejectedWithValue:!!f,requestStatus:"rejected",aborted:(c==null?void 0:c.name)==="AbortError",condition:(c==null?void 0:c.name)==="ConditionError"}}));function s(c){return(u,p,f)=>{const d=n!=null&&n.idGenerator?n.idGenerator(c):Su(),l=new AbortController;let m;function h(w){m=w,l.abort()}const v=async function(){var g,y;let w;try{let C=(g=n==null?void 0:n.condition)==null?void 0:g.call(n,c,{getState:p,extra:f});if(dp(C)&&(C=await C),C===!1||l.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const E=new Promise((S,x)=>l.signal.addEventListener("abort",()=>x({name:"AbortError",message:m||"Aborted"})));u(o(d,c,(y=n==null?void 0:n.getPendingMeta)==null?void 0:y.call(n,{requestId:d,arg:c},{getState:p,extra:f}))),w=await Promise.race([E,Promise.resolve(r(c,{dispatch:u,getState:p,extra:f,requestId:d,signal:l.signal,abort:h,rejectWithValue:(S,x)=>new _i(S,x),fulfillWithValue:(S,x)=>new ps(S,x)})).then(S=>{if(S instanceof _i)throw S;return S instanceof ps?i(S.payload,d,c,S.meta):i(S,d,c)})])}catch(C){w=C instanceof _i?a(null,d,c,C.payload,C.meta):a(C,d,c)}return n&&!n.dispatchConditionRejection&&a.match(w)&&w.meta.condition||u(w),w}();return Object.assign(v,{abort:h,requestId:d,arg:c,unwrap(){return v.then(lp)}})}}return Object.assign(s,{pending:o,rejected:a,fulfilled:i,settled:rt(a,i),typePrefix:t})}return e.withTypes=()=>e,e})();function lp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function dp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var fp=Symbol.for("rtk-slice-createasyncthunk");function pp(e,t){return`${e}/${t}`}function mp({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[fp];return function(i){const{name:o,reducerPath:a=o}=i;if(!o)throw new Error(ke(11));typeof process<"u";const s=(typeof i.reducers=="function"?i.reducers(vp()):i.reducers)||{},c=Object.keys(s),u={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},p={addCase(v,w){const _=typeof v=="string"?v:v.type;if(!_)throw new Error(ke(12));if(_ in u.sliceCaseReducersByType)throw new Error(ke(13));return u.sliceCaseReducersByType[_]=w,p},addMatcher(v,w){return u.sliceMatchers.push({matcher:v,reducer:w}),p},exposeAction(v,w){return u.actionCreators[v]=w,p},exposeCaseReducer(v,w){return u.sliceCaseReducersByName[v]=w,p}};c.forEach(v=>{const w=s[v],_={reducerName:v,type:pp(o,v),createNotation:typeof i.reducers=="function"};yp(w)?wp(_,w,p,t):gp(_,w,p)});function f(){const[v={},w=[],_=void 0]=typeof i.extraReducers=="function"?_u(i.extraReducers):[i.extraReducers],g={...v,...u.sliceCaseReducersByType};return ap(i.initialState,y=>{for(let C in g)y.addCase(C,g[C]);for(let C of u.sliceMatchers)y.addMatcher(C.matcher,C.reducer);for(let C of w)y.addMatcher(C.matcher,C.reducer);_&&y.addDefaultCase(_)})}const d=v=>v,l=new WeakMap;let m;const h={name:o,reducerPath:a,reducer(v,w){return m||(m=f()),m(v,w)},actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState(){return m||(m=f()),m.getInitialState()},getSelectors(v=d){const w=fs(l,this,{insert:()=>new WeakMap});return fs(w,v,{insert:()=>{const _={};for(const[g,y]of Object.entries(i.selectors??{}))_[g]=hp(this,y,v,this!==h);return _}})},selectSlice(v){let w=v[this.reducerPath];return typeof w>"u"&&this!==h&&(w=this.getInitialState()),w},get selectors(){return this.getSelectors(this.selectSlice)},injectInto(v,{reducerPath:w,..._}={}){const g=w??this.reducerPath;return v.inject({reducerPath:g,reducer:this.reducer},_),{...this,reducerPath:g}}};return h}}function hp(e,t,r,n){function i(o,...a){let s=r.call(e,o);return typeof s>"u"&&n&&(s=e.getInitialState()),t(s,...a)}return i.unwrapped=t,i}var qe=mp();function vp(){function e(t,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...r}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...r){return t(...r)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,r){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:r}},asyncThunk:e}}function gp({type:e,reducerName:t,createNotation:r},n,i){let o,a;if("reducer"in n){if(r&&!bp(n))throw new Error(ke(17));o=n.reducer,a=n.prepare}else o=n;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,a?pe(e,a):pe(e))}function yp(e){return e._reducerDefinitionType==="asyncThunk"}function bp(e){return e._reducerDefinitionType==="reducerWithPrepare"}function wp({type:e,reducerName:t},r,n,i){if(!i)throw new Error(ke(18));const{payloadCreator:o,fulfilled:a,pending:s,rejected:c,settled:u,options:p}=r,f=i(e,o,p);n.exposeAction(t,f),a&&n.addCase(f.fulfilled,a),s&&n.addCase(f.pending,s),c&&n.addCase(f.rejected,c),u&&n.addMatcher(f.settled,u),n.exposeCaseReducer(t,{fulfilled:a||nn,pending:s||nn,rejected:c||nn,settled:u||nn})}function nn(){}var Jo="listenerMiddleware";pe(`${Jo}/add`);pe(`${Jo}/removeAll`);pe(`${Jo}/remove`);function ke(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 Eu=(e=>(e.uninitialized="uninitialized",e.pending="pending",e.fulfilled="fulfilled",e.rejected="rejected",e))(Eu||{});function _p(e){return{status:e,isUninitialized:e==="uninitialized",isLoading:e==="pending",isSuccess:e==="fulfilled",isError:e==="rejected"}}function Sp(e){return new RegExp("(^|:)//").test(e)}var Cp=e=>e.replace(/\/$/,""),Ep=e=>e.replace(/^\//,"");function xp(e,t){if(!e)return t;if(!t)return e;if(Sp(t))return t;const r=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=Cp(e),t=Ep(t),`${e}${r}${t}`}var hs=e=>[].concat(...e);function kp(){return typeof navigator>"u"||navigator.onLine===void 0?!0:navigator.onLine}function Tp(){return typeof document>"u"?!0:document.visibilityState!=="hidden"}var vs=ze;function xu(e,t){if(e===t||!(vs(e)&&vs(t)||Array.isArray(e)&&Array.isArray(t)))return t;const r=Object.keys(t),n=Object.keys(e);let i=r.length===n.length;const o=Array.isArray(t)?[]:{};for(const a of r)o[a]=xu(e[a],t[a]),i&&(i=e[a]===o[a]);return i?e:o}var gs=(...e)=>fetch(...e),Rp=e=>e.status>=200&&e.status<=299,Ap=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function ys(e){if(!ze(e))return e;const t={...e};for(const[r,n]of Object.entries(t))n===void 0&&delete t[r];return t}function Op({baseUrl:e,prepareHeaders:t=f=>f,fetchFn:r=gs,paramsSerializer:n,isJsonContentType:i=Ap,jsonContentType:o="application/json",jsonReplacer:a,timeout:s,responseHandler:c,validateStatus:u,...p}={}){return typeof fetch>"u"&&r===gs&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),async(d,l)=>{const{signal:m,getState:h,extra:v,endpoint:w,forced:_,type:g}=l;let y,{url:C,headers:E=new Headers(p.headers),params:S=void 0,responseHandler:x=c??"json",validateStatus:k=u??Rp,timeout:T=s,...O}=typeof d=="string"?{url:d}:d,A={...p,signal:m,...O};E=new Headers(ys(E)),A.headers=await t(E,{getState:h,extra:v,endpoint:w,forced:_,type:g})||E;const I=U=>typeof U=="object"&&(ze(U)||Array.isArray(U)||typeof U.toJSON=="function");if(!A.headers.has("content-type")&&I(A.body)&&A.headers.set("content-type",o),I(A.body)&&i(A.headers)&&(A.body=JSON.stringify(A.body,a)),S){const U=~C.indexOf("?")?"&":"?",Ce=n?n(S):new URLSearchParams(ys(S));C+=U+Ce}C=xp(e,C);const M=new Request(C,A);y={request:new Request(C,A)};let J,$=!1,B=T&&setTimeout(()=>{$=!0,l.abort()},T);try{J=await r(M)}catch(U){return{error:{status:$?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(U)},meta:y}}finally{B&&clearTimeout(B)}const ne=J.clone();y.response=ne;let X,ge="";try{let U;if(await Promise.all([f(J,x).then(Ce=>X=Ce,Ce=>U=Ce),ne.text().then(Ce=>ge=Ce,()=>{})]),U)throw U}catch(U){return{error:{status:"PARSING_ERROR",originalStatus:J.status,data:ge,error:String(U)},meta:y}}return k(J,X)?{data:X,meta:y}:{error:{status:J.status,data:X},meta:y}};async function f(d,l){if(typeof l=="function")return l(d);if(l==="content-type"&&(l=i(d.headers)?"json":"text"),l==="json"){const m=await d.text();return m.length?JSON.parse(m):null}return d.text()}}var bs=class{constructor(e,t=void 0){this.value=e,this.meta=t}},Xo=pe("__rtkq/focused"),ku=pe("__rtkq/unfocused"),Zo=pe("__rtkq/online"),Tu=pe("__rtkq/offline");function Ru(e){return e.type==="query"}function Pp(e){return e.type==="mutation"}function ea(e,t,r,n,i,o){return Ip(e)?e(t,r,n,i).map(Zi).map(o):Array.isArray(e)?e.map(Zi).map(o):[]}function Ip(e){return typeof e=="function"}function Zi(e){return typeof e=="string"?{type:e}:e}function ws(e){return e!=null}function Bt(e){let t=0;for(const r in e)t++;return t}var Lr=Symbol("forceQueryFn"),eo=e=>typeof e[Lr]=="function";function Lp({serializeQueryArgs:e,queryThunk:t,mutationThunk:r,api:n,context:i}){const o=new Map,a=new Map,{unsubscribeQueryResult:s,removeMutationResult:c,updateSubscriptionOptions:u}=n.internalActions;return{buildInitiateQuery:m,buildInitiateMutation:h,getRunningQueryThunk:p,getRunningMutationThunk:f,getRunningQueriesThunk:d,getRunningMutationsThunk:l};function p(v,w){return _=>{var C;const g=i.endpointDefinitions[v],y=e({queryArgs:w,endpointDefinition:g,endpointName:v});return(C=o.get(_))==null?void 0:C[y]}}function f(v,w){return _=>{var g;return(g=a.get(_))==null?void 0:g[w]}}function d(){return v=>Object.values(o.get(v)||{}).filter(ws)}function l(){return v=>Object.values(a.get(v)||{}).filter(ws)}function m(v,w){const _=(g,{subscribe:y=!0,forceRefetch:C,subscriptionOptions:E,[Lr]:S}={})=>(x,k)=>{var ge;const T=e({queryArgs:g,endpointDefinition:w,endpointName:v}),O=t({type:"query",subscribe:y,forceRefetch:C,subscriptionOptions:E,endpointName:v,originalArgs:g,queryCacheKey:T,[Lr]:S}),A=n.endpoints[v].select(g),I=x(O),M=A(k()),{requestId:Y,abort:J}=I,$=M.requestId!==Y,B=(ge=o.get(x))==null?void 0:ge[T],ne=()=>A(k()),X=Object.assign(S?I.then(ne):$&&!B?Promise.resolve(M):Promise.all([B,I]).then(ne),{arg:g,requestId:Y,subscriptionOptions:E,queryCacheKey:T,abort:J,async unwrap(){const U=await X;if(U.isError)throw U.error;return U.data},refetch:()=>x(_(g,{subscribe:!1,forceRefetch:!0})),unsubscribe(){y&&x(s({queryCacheKey:T,requestId:Y}))},updateSubscriptionOptions(U){X.subscriptionOptions=U,x(u({endpointName:v,requestId:Y,queryCacheKey:T,options:U}))}});if(!B&&!$&&!S){const U=o.get(x)||{};U[T]=X,o.set(x,U),X.then(()=>{delete U[T],Bt(U)||o.delete(x)})}return X};return _}function h(v){return(w,{track:_=!0,fixedCacheKey:g}={})=>(y,C)=>{const E=r({type:"mutation",endpointName:v,originalArgs:w,track:_,fixedCacheKey:g}),S=y(E),{requestId:x,abort:k,unwrap:T}=S,O=S.unwrap().then(Y=>({data:Y})).catch(Y=>({error:Y})),A=()=>{y(c({requestId:x,fixedCacheKey:g}))},I=Object.assign(O,{arg:S.arg,requestId:x,abort:k,unwrap:T,reset:A}),M=a.get(y)||{};return a.set(y,M),M[x]=I,I.then(()=>{delete M[x],Bt(M)||a.delete(y)}),g&&(M[g]=I,I.then(()=>{M[g]===I&&(delete M[g],Bt(M)||a.delete(y))})),I}}}function _s(e){return e}function Np({reducerPath:e,baseQuery:t,context:{endpointDefinitions:r},serializeQueryArgs:n,api:i,assertTagType:o}){const a=(_,g,y,C)=>(E,S)=>{const x=r[_],k=n({queryArgs:g,endpointDefinition:x,endpointName:_});if(E(i.internalActions.queryResultPatched({queryCacheKey:k,patches:y})),!C)return;const T=i.endpoints[_].select(g)(S()),O=ea(x.providesTags,T.data,void 0,g,{},o);E(i.internalActions.updateProvidedBy({queryCacheKey:k,providedTags:O}))},s=(_,g,y,C=!0)=>(E,S)=>{const k=i.endpoints[_].select(g)(S());let T={patches:[],inversePatches:[],undo:()=>E(i.util.patchQueryData(_,g,T.inversePatches,C))};if(k.status==="uninitialized")return T;let O;if("data"in k)if(Ie(k.data)){const[A,I,M]=vu(k.data,y);T.patches.push(...I),T.inversePatches.push(...M),O=A}else O=y(k.data),T.patches.push({op:"replace",path:[],value:O}),T.inversePatches.push({op:"replace",path:[],value:k.data});return E(i.util.patchQueryData(_,g,T.patches,C)),T},c=(_,g,y)=>C=>C(i.endpoints[_].initiate(g,{subscribe:!1,forceRefetch:!0,[Lr]:()=>({data:y})})),u=async(_,{signal:g,abort:y,rejectWithValue:C,fulfillWithValue:E,dispatch:S,getState:x,extra:k})=>{const T=r[_.endpointName];try{let O=_s,A;const I={signal:g,abort:y,dispatch:S,getState:x,extra:k,endpoint:_.endpointName,type:_.type,forced:_.type==="query"?p(_,x()):void 0},M=_.type==="query"?_[Lr]:void 0;if(M?A=M():T.query?(A=await t(T.query(_.originalArgs),I,T.extraOptions),T.transformResponse&&(O=T.transformResponse)):A=await T.queryFn(_.originalArgs,I,T.extraOptions,Y=>t(Y,I,T.extraOptions)),typeof process<"u",A.error)throw new bs(A.error,A.meta);return E(await O(A.data,A.meta,_.originalArgs),{fulfilledTimeStamp:Date.now(),baseQueryMeta:A.meta,[It]:!0})}catch(O){let A=O;if(A instanceof bs){let I=_s;T.query&&T.transformErrorResponse&&(I=T.transformErrorResponse);try{return C(await I(A.value,A.meta,_.originalArgs),{baseQueryMeta:A.meta,[It]:!0})}catch(M){A=M}}throw typeof process<"u",console.error(A),A}};function p(_,g){var x,k,T;const y=(k=(x=g[e])==null?void 0:x.queries)==null?void 0:k[_.queryCacheKey],C=(T=g[e])==null?void 0:T.config.refetchOnMountOrArgChange,E=y==null?void 0:y.fulfilledTimeStamp,S=_.forceRefetch??(_.subscribe&&C);return S?S===!0||(Number(new Date)-Number(E))/1e3>=S:!1}const f=ms(`${e}/executeQuery`,u,{getPendingMeta(){return{startedTimeStamp:Date.now(),[It]:!0}},condition(_,{getState:g}){var T,O,A;const y=g(),C=(O=(T=y[e])==null?void 0:T.queries)==null?void 0:O[_.queryCacheKey],E=C==null?void 0:C.fulfilledTimeStamp,S=_.originalArgs,x=C==null?void 0:C.originalArgs,k=r[_.endpointName];return eo(_)?!0:(C==null?void 0:C.status)==="pending"?!1:p(_,y)||Ru(k)&&((A=k==null?void 0:k.forceRefetch)!=null&&A.call(k,{currentArg:S,previousArg:x,endpointState:C,state:y}))?!0:!E},dispatchConditionRejection:!0}),d=ms(`${e}/executeMutation`,u,{getPendingMeta(){return{startedTimeStamp:Date.now(),[It]:!0}}}),l=_=>"force"in _,m=_=>"ifOlderThan"in _,h=(_,g,y)=>(C,E)=>{const S=l(y)&&y.force,x=m(y)&&y.ifOlderThan,k=(O=!0)=>i.endpoints[_].initiate(g,{forceRefetch:O}),T=i.endpoints[_].select(g)(E());if(S)C(k());else if(x){const O=T==null?void 0:T.fulfilledTimeStamp;if(!O){C(k());return}(Number(new Date)-Number(new Date(O)))/1e3>=x&&C(k())}else C(k(!1))};function v(_){return g=>{var y,C;return((C=(y=g==null?void 0:g.meta)==null?void 0:y.arg)==null?void 0:C.endpointName)===_}}function w(_,g){return{matchPending:hr(Ko(_),v(g)),matchFulfilled:hr(nt(_),v(g)),matchRejected:hr(zt(_),v(g))}}return{queryThunk:f,mutationThunk:d,prefetch:h,updateQueryData:s,upsertQueryData:c,patchQueryData:a,buildMatchThunkActions:w}}function Au(e,t,r,n){return ea(r[e.meta.arg.endpointName][t],nt(e)?e.payload:void 0,ai(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,n)}function on(e,t,r){const n=e[t];n&&r(n)}function Nr(e){return("arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)??e.requestId}function Ss(e,t,r){const n=e[Nr(t)];n&&r(n)}var ar={};function Mp({reducerPath:e,queryThunk:t,mutationThunk:r,context:{endpointDefinitions:n,apiUid:i,extractRehydrationInfo:o,hasRehydrationInfo:a},assertTagType:s,config:c}){const u=pe(`${e}/resetApiState`),p=qe({name:`${e}/queries`,initialState:ar,reducers:{removeQueryResult:{reducer(g,{payload:{queryCacheKey:y}}){delete g[y]},prepare:or()},queryResultPatched:{reducer(g,{payload:{queryCacheKey:y,patches:C}}){on(g,y,E=>{E.data=cs(E.data,C.concat())})},prepare:or()}},extraReducers(g){g.addCase(t.pending,(y,{meta:C,meta:{arg:E}})=>{var x;const S=eo(E);y[x=E.queryCacheKey]??(y[x]={status:"uninitialized",endpointName:E.endpointName}),on(y,E.queryCacheKey,k=>{k.status="pending",k.requestId=S&&k.requestId?k.requestId:C.requestId,E.originalArgs!==void 0&&(k.originalArgs=E.originalArgs),k.startedTimeStamp=C.startedTimeStamp})}).addCase(t.fulfilled,(y,{meta:C,payload:E})=>{on(y,C.arg.queryCacheKey,S=>{if(S.requestId!==C.requestId&&!eo(C.arg))return;const{merge:x}=n[C.arg.endpointName];if(S.status="fulfilled",x)if(S.data!==void 0){const{fulfilledTimeStamp:k,arg:T,baseQueryMeta:O,requestId:A}=C;let I=Hr(S.data,M=>x(M,E,{arg:T.originalArgs,baseQueryMeta:O,fulfilledTimeStamp:k,requestId:A}));S.data=I}else S.data=E;else S.data=n[C.arg.endpointName].structuralSharing??!0?xu(Pe(S.data)?Rf(S.data):S.data,E):E;delete S.error,S.fulfilledTimeStamp=C.fulfilledTimeStamp})}).addCase(t.rejected,(y,{meta:{condition:C,arg:E,requestId:S},error:x,payload:k})=>{on(y,E.queryCacheKey,T=>{if(!C){if(T.requestId!==S)return;T.status="rejected",T.error=k??x}})}).addMatcher(a,(y,C)=>{const{queries:E}=o(C);for(const[S,x]of Object.entries(E))((x==null?void 0:x.status)==="fulfilled"||(x==null?void 0:x.status)==="rejected")&&(y[S]=x)})}}),f=qe({name:`${e}/mutations`,initialState:ar,reducers:{removeMutationResult:{reducer(g,{payload:y}){const C=Nr(y);C in g&&delete g[C]},prepare:or()}},extraReducers(g){g.addCase(r.pending,(y,{meta:C,meta:{requestId:E,arg:S,startedTimeStamp:x}})=>{S.track&&(y[Nr(C)]={requestId:E,status:"pending",endpointName:S.endpointName,startedTimeStamp:x})}).addCase(r.fulfilled,(y,{payload:C,meta:E})=>{E.arg.track&&Ss(y,E,S=>{S.requestId===E.requestId&&(S.status="fulfilled",S.data=C,S.fulfilledTimeStamp=E.fulfilledTimeStamp)})}).addCase(r.rejected,(y,{payload:C,error:E,meta:S})=>{S.arg.track&&Ss(y,S,x=>{x.requestId===S.requestId&&(x.status="rejected",x.error=C??E)})}).addMatcher(a,(y,C)=>{const{mutations:E}=o(C);for(const[S,x]of Object.entries(E))((x==null?void 0:x.status)==="fulfilled"||(x==null?void 0:x.status)==="rejected")&&S!==(x==null?void 0:x.requestId)&&(y[S]=x)})}}),d=qe({name:`${e}/invalidation`,initialState:ar,reducers:{updateProvidedBy:{reducer(g,y){var S,x;const{queryCacheKey:C,providedTags:E}=y.payload;for(const k of Object.values(g))for(const T of Object.values(k)){const O=T.indexOf(C);O!==-1&&T.splice(O,1)}for(const{type:k,id:T}of E){const O=(S=g[k]??(g[k]={}))[x=T||"__internal_without_id"]??(S[x]=[]);O.includes(C)||O.push(C)}},prepare:or()}},extraReducers(g){g.addCase(p.actions.removeQueryResult,(y,{payload:{queryCacheKey:C}})=>{for(const E of Object.values(y))for(const S of Object.values(E)){const x=S.indexOf(C);x!==-1&&S.splice(x,1)}}).addMatcher(a,(y,C)=>{var S,x;const{provided:E}=o(C);for(const[k,T]of Object.entries(E))for(const[O,A]of Object.entries(T)){const I=(S=y[k]??(y[k]={}))[x=O||"__internal_without_id"]??(S[x]=[]);for(const M of A)I.includes(M)||I.push(M)}}).addMatcher(rt(nt(t),ai(t)),(y,C)=>{const E=Au(C,"providesTags",n,s),{queryCacheKey:S}=C.meta.arg;d.caseReducers.updateProvidedBy(y,d.actions.updateProvidedBy({queryCacheKey:S,providedTags:E}))})}}),l=qe({name:`${e}/subscriptions`,initialState:ar,reducers:{updateSubscriptionOptions(g,y){},unsubscribeQueryResult(g,y){},internal_getRTKQSubscriptions(){}}}),m=qe({name:`${e}/internalSubscriptions`,initialState:ar,reducers:{subscriptionsUpdated:{reducer(g,y){return cs(g,y.payload)},prepare:or()}}}),h=qe({name:`${e}/config`,initialState:{online:kp(),focused:Tp(),middlewareRegistered:!1,...c},reducers:{middlewareRegistered(g,{payload:y}){g.middlewareRegistered=g.middlewareRegistered==="conflict"||i!==y?"conflict":!0}},extraReducers:g=>{g.addCase(Zo,y=>{y.online=!0}).addCase(Tu,y=>{y.online=!1}).addCase(Xo,y=>{y.focused=!0}).addCase(ku,y=>{y.focused=!1}).addMatcher(a,y=>({...y}))}}),v=cu({queries:p.reducer,mutations:f.reducer,provided:d.reducer,subscriptions:m.reducer,config:h.reducer}),w=(g,y)=>v(u.match(y)?void 0:g,y),_={...h.actions,...p.actions,...l.actions,...m.actions,...f.actions,...d.actions,resetApiState:u};return{reducer:w,actions:_}}var ft=Symbol.for("RTKQ/skipToken"),Ou={status:"uninitialized"},Cs=Hr(Ou,()=>{}),Es=Hr(Ou,()=>{});function Fp({serializeQueryArgs:e,reducerPath:t}){const r=p=>Cs,n=p=>Es;return{buildQuerySelector:a,buildMutationSelector:s,selectInvalidatedBy:c,selectCachedArgsForQuery:u};function i(p){return{...p,..._p(p.status)}}function o(p){return p[t]}function a(p,f){return d=>{const l=e({queryArgs:d,endpointDefinition:f,endpointName:p});return Dt(d===ft?r:v=>{var w,_;return((_=(w=o(v))==null?void 0:w.queries)==null?void 0:_[l])??Cs},i)}}function s(){return p=>{let f;return typeof p=="object"?f=Nr(p)??ft:f=p,Dt(f===ft?n:m=>{var h,v;return((v=(h=o(m))==null?void 0:h.mutations)==null?void 0:v[f])??Es},i)}}function c(p,f){const d=p[t],l=new Set;for(const m of f.map(Zi)){const h=d.provided[m.type];if(!h)continue;let v=(m.id!==void 0?h[m.id]:hs(Object.values(h)))??[];for(const w of v)l.add(w)}return hs(Array.from(l.values()).map(m=>{const h=d.queries[m];return h?[{queryCacheKey:m,endpointName:h.endpointName,originalArgs:h.originalArgs}]:[]}))}function u(p,f){return Object.values(p[t].queries).filter(d=>(d==null?void 0:d.endpointName)===f&&d.status!=="uninitialized").map(d=>d.originalArgs)}}var Tt=WeakMap?new WeakMap:void 0,xs=({endpointName:e,queryArgs:t})=>{let r="";const n=Tt==null?void 0:Tt.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,a)=>ze(a)?Object.keys(a).sort().reduce((s,c)=>(s[c]=a[c],s),{}):a);ze(t)&&(Tt==null||Tt.set(t,i)),r=i}return`${e}(${r})`};function Dp(...e){return function(r){const n=Ir(u=>{var p;return(p=r.extractRehydrationInfo)==null?void 0:p.call(r,u,{reducerPath:r.reducerPath??"api"})}),i={reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1,invalidationBehavior:"delayed",...r,extractRehydrationInfo:n,serializeQueryArgs(u){let p=xs;if("serializeQueryArgs"in u.endpointDefinition){const f=u.endpointDefinition.serializeQueryArgs;p=d=>{const l=f(d);return typeof l=="string"?l:xs({...d,queryArgs:l})}}else r.serializeQueryArgs&&(p=r.serializeQueryArgs);return p(u)},tagTypes:[...r.tagTypes||[]]},o={endpointDefinitions:{},batch(u){u()},apiUid:Su(),extractRehydrationInfo:n,hasRehydrationInfo:Ir(u=>n(u)!=null)},a={injectEndpoints:c,enhanceEndpoints({addTagTypes:u,endpoints:p}){if(u)for(const f of u)i.tagTypes.includes(f)||i.tagTypes.push(f);if(p)for(const[f,d]of Object.entries(p))typeof d=="function"?d(o.endpointDefinitions[f]):Object.assign(o.endpointDefinitions[f]||{},d);return a}},s=e.map(u=>u.init(a,i,o));function c(u){const p=u.endpoints({query:f=>({...f,type:"query"}),mutation:f=>({...f,type:"mutation"})});for(const[f,d]of Object.entries(p)){if(!u.overrideExisting&&f in o.endpointDefinitions){typeof process<"u";continue}o.endpointDefinitions[f]=d;for(const l of s)l.injectEndpoint(f,d)}return a}return a.injectEndpoints({endpoints:r.endpoints})}}function Bp(e){for(let t in e)return!1;return!0}var $p=2147483647/1e3-1,Up=({reducerPath:e,api:t,context:r,internalState:n})=>{const{removeQueryResult:i,unsubscribeQueryResult:o}=t.internalActions;function a(p){const f=n.currentSubscriptions[p];return!!f&&!Bp(f)}const s={},c=(p,f,d)=>{var l;if(o.match(p)){const m=f.getState()[e],{queryCacheKey:h}=p.payload;u(h,(l=m.queries[h])==null?void 0:l.endpointName,f,m.config)}if(t.util.resetApiState.match(p))for(const[m,h]of Object.entries(s))h&&clearTimeout(h),delete s[m];if(r.hasRehydrationInfo(p)){const m=f.getState()[e],{queries:h}=r.extractRehydrationInfo(p);for(const[v,w]of Object.entries(h))u(v,w==null?void 0:w.endpointName,f,m.config)}};function u(p,f,d,l){const m=r.endpointDefinitions[f],h=(m==null?void 0:m.keepUnusedDataFor)??l.keepUnusedDataFor;if(h===1/0)return;const v=Math.max(0,Math.min(h,$p));if(!a(p)){const w=s[p];w&&clearTimeout(w),s[p]=setTimeout(()=>{a(p)||d.dispatch(i({queryCacheKey:p})),delete s[p]},v*1e3)}}return c},jp=({reducerPath:e,context:t,context:{endpointDefinitions:r},mutationThunk:n,queryThunk:i,api:o,assertTagType:a,refetchQuery:s,internalState:c})=>{const{removeQueryResult:u}=o.internalActions,p=rt(nt(n),ai(n)),f=rt(nt(n,i),zt(n,i));let d=[];const l=(v,w)=>{p(v)?h(Au(v,"invalidatesTags",r,a),w):f(v)?h([],w):o.util.invalidateTags.match(v)&&h(ea(v.payload,void 0,void 0,void 0,void 0,a),w)};function m(v){var w,_;for(const g in v.queries)if(((w=v.queries[g])==null?void 0:w.status)==="pending")return!0;for(const g in v.mutations)if(((_=v.mutations[g])==null?void 0:_.status)==="pending")return!0;return!1}function h(v,w){const _=w.getState(),g=_[e];if(d.push(...v),g.config.invalidationBehavior==="delayed"&&m(g))return;const y=d;if(d=[],y.length===0)return;const C=o.util.selectInvalidatedBy(_,y);t.batch(()=>{const E=Array.from(C.values());for(const{queryCacheKey:S}of E){const x=g.queries[S],k=c.currentSubscriptions[S]??{};x&&(Bt(k)===0?w.dispatch(u({queryCacheKey:S})):x.status!=="uninitialized"&&w.dispatch(s(x,S)))}})}return l},zp=({reducerPath:e,queryThunk:t,api:r,refetchQuery:n,internalState:i})=>{const o={},a=(d,l)=>{(r.internalActions.updateSubscriptionOptions.match(d)||r.internalActions.unsubscribeQueryResult.match(d))&&c(d.payload,l),(t.pending.match(d)||t.rejected.match(d)&&d.meta.condition)&&c(d.meta.arg,l),(t.fulfilled.match(d)||t.rejected.match(d)&&!d.meta.condition)&&s(d.meta.arg,l),r.util.resetApiState.match(d)&&p()};function s({queryCacheKey:d},l){const h=l.getState()[e].queries[d],v=i.currentSubscriptions[d];if(!h||h.status==="uninitialized")return;const w=f(v);if(!Number.isFinite(w))return;const _=o[d];_!=null&&_.timeout&&(clearTimeout(_.timeout),_.timeout=void 0);const g=Date.now()+w,y=o[d]={nextPollTimestamp:g,pollingInterval:w,timeout:setTimeout(()=>{y.timeout=void 0,l.dispatch(n(h,d))},w)}}function c({queryCacheKey:d},l){const h=l.getState()[e].queries[d],v=i.currentSubscriptions[d];if(!h||h.status==="uninitialized")return;const w=f(v);if(!Number.isFinite(w)){u(d);return}const _=o[d],g=Date.now()+w;(!_||g<_.nextPollTimestamp)&&s({queryCacheKey:d},l)}function u(d){const l=o[d];l!=null&&l.timeout&&clearTimeout(l.timeout),delete o[d]}function p(){for(const d of Object.keys(o))u(d)}function f(d={}){let l=Number.POSITIVE_INFINITY;for(let m in d)d[m].pollingInterval&&(l=Math.min(d[m].pollingInterval,l));return l}return a},Hp=({reducerPath:e,context:t,api:r,refetchQuery:n,internalState:i})=>{const{removeQueryResult:o}=r.internalActions,a=(c,u)=>{Xo.match(c)&&s(u,"refetchOnFocus"),Zo.match(c)&&s(u,"refetchOnReconnect")};function s(c,u){const p=c.getState()[e],f=p.queries,d=i.currentSubscriptions;t.batch(()=>{for(const l of Object.keys(d)){const m=f[l],h=d[l];if(!h||!m)continue;(Object.values(h).some(w=>w[u]===!0)||Object.values(h).every(w=>w[u]===void 0)&&p.config[u])&&(Bt(h)===0?c.dispatch(o({queryCacheKey:l})):m.status!=="uninitialized"&&c.dispatch(n(m,l)))}})}return a},ks=new Error("Promise never resolved before cacheEntryRemoved."),qp=({api:e,reducerPath:t,context:r,queryThunk:n,mutationThunk:i,internalState:o})=>{const a=Xi(n),s=Xi(i),c=nt(n,i),u={},p=(l,m,h)=>{const v=f(l);if(n.pending.match(l)){const w=h[t].queries[v],_=m.getState()[t].queries[v];!w&&_&&d(l.meta.arg.endpointName,l.meta.arg.originalArgs,v,m,l.meta.requestId)}else if(i.pending.match(l))m.getState()[t].mutations[v]&&d(l.meta.arg.endpointName,l.meta.arg.originalArgs,v,m,l.meta.requestId);else if(c(l)){const w=u[v];w!=null&&w.valueResolved&&(w.valueResolved({data:l.payload,meta:l.meta.baseQueryMeta}),delete w.valueResolved)}else if(e.internalActions.removeQueryResult.match(l)||e.internalActions.removeMutationResult.match(l)){const w=u[v];w&&(delete u[v],w.cacheEntryRemoved())}else if(e.util.resetApiState.match(l))for(const[w,_]of Object.entries(u))delete u[w],_.cacheEntryRemoved()};function f(l){return a(l)?l.meta.arg.queryCacheKey:s(l)?l.meta.requestId:e.internalActions.removeQueryResult.match(l)?l.payload.queryCacheKey:e.internalActions.removeMutationResult.match(l)?Nr(l.payload):""}function d(l,m,h,v,w){const _=r.endpointDefinitions[l],g=_==null?void 0:_.onCacheEntryAdded;if(!g)return;let y={};const C=new Promise(O=>{y.cacheEntryRemoved=O}),E=Promise.race([new Promise(O=>{y.valueResolved=O}),C.then(()=>{throw ks})]);E.catch(()=>{}),u[h]=y;const S=e.endpoints[l].select(_.type==="query"?m:h),x=v.dispatch((O,A,I)=>I),k={...v,getCacheEntry:()=>S(v.getState()),requestId:w,extra:x,updateCachedData:_.type==="query"?O=>v.dispatch(e.util.updateQueryData(l,m,O)):void 0,cacheDataLoaded:E,cacheEntryRemoved:C},T=g(m,k);Promise.resolve(T).catch(O=>{if(O!==ks)throw O})}return p},Wp=({api:e,context:t,queryThunk:r,mutationThunk:n})=>{const i=Ko(r,n),o=zt(r,n),a=nt(r,n),s={};return(u,p)=>{var f,d;if(i(u)){const{requestId:l,arg:{endpointName:m,originalArgs:h}}=u.meta,v=t.endpointDefinitions[m],w=v==null?void 0:v.onQueryStarted;if(w){const _={},g=new Promise((S,x)=>{_.resolve=S,_.reject=x});g.catch(()=>{}),s[l]=_;const y=e.endpoints[m].select(v.type==="query"?h:l),C=p.dispatch((S,x,k)=>k),E={...p,getCacheEntry:()=>y(p.getState()),requestId:l,extra:C,updateCachedData:v.type==="query"?S=>p.dispatch(e.util.updateQueryData(m,h,S)):void 0,queryFulfilled:g};w(h,E)}}else if(a(u)){const{requestId:l,baseQueryMeta:m}=u.meta;(f=s[l])==null||f.resolve({data:u.payload,meta:m}),delete s[l]}else if(o(u)){const{requestId:l,rejectedWithValue:m,baseQueryMeta:h}=u.meta;(d=s[l])==null||d.reject({error:u.payload??u.error,isUnhandledError:!m,meta:h}),delete s[l]}}},Vp=({api:e,context:{apiUid:t},reducerPath:r})=>(n,i)=>{e.util.resetApiState.match(n)&&i.dispatch(e.internalActions.middlewareRegistered(t)),typeof process<"u"},Gp=({api:e,queryThunk:t,internalState:r})=>{const n=`${e.reducerPath}/subscriptions`;let i=null,o=null;const{updateSubscriptionOptions:a,unsubscribeQueryResult:s}=e.internalActions,c=(l,m)=>{var v,w,_;if(a.match(m)){const{queryCacheKey:g,requestId:y,options:C}=m.payload;return(v=l==null?void 0:l[g])!=null&&v[y]&&(l[g][y]=C),!0}if(s.match(m)){const{queryCacheKey:g,requestId:y}=m.payload;return l[g]&&delete l[g][y],!0}if(e.internalActions.removeQueryResult.match(m))return delete l[m.payload.queryCacheKey],!0;if(t.pending.match(m)){const{meta:{arg:g,requestId:y}}=m,C=l[w=g.queryCacheKey]??(l[w]={});return C[`${y}_running`]={},g.subscribe&&(C[y]=g.subscriptionOptions??C[y]??{}),!0}let h=!1;if(t.fulfilled.match(m)||t.rejected.match(m)){const g=l[m.meta.arg.queryCacheKey]||{},y=`${m.meta.requestId}_running`;h||(h=!!g[y]),delete g[y]}if(t.rejected.match(m)){const{meta:{condition:g,arg:y,requestId:C}}=m;if(g&&y.subscribe){const E=l[_=y.queryCacheKey]??(l[_]={});E[C]=y.subscriptionOptions??E[C]??{},h=!0}}return h},u=()=>r.currentSubscriptions,d={getSubscriptions:u,getSubscriptionCount:l=>{const h=u()[l]??{};return Bt(h)},isRequestSubscribed:(l,m)=>{var v;const h=u();return!!((v=h==null?void 0:h[l])!=null&&v[m])}};return(l,m)=>{if(i||(i=JSON.parse(JSON.stringify(r.currentSubscriptions))),e.util.resetApiState.match(l))return i=r.currentSubscriptions={},o=null,[!0,!1];if(e.internalActions.internal_getRTKQSubscriptions.match(l))return[!1,d];const h=c(r.currentSubscriptions,l);let v=!0;if(h){o||(o=setTimeout(()=>{const g=JSON.parse(JSON.stringify(r.currentSubscriptions)),[,y]=vu(i,()=>g);m.next(e.internalActions.subscriptionsUpdated(y)),i=g,o=null},500));const w=typeof l.type=="string"&&!!l.type.startsWith(n),_=t.rejected.match(l)&&l.meta.condition&&!!l.meta.arg.subscribe;v=!w&&!_}return[v,!1]}};function Qp(e){const{reducerPath:t,queryThunk:r,api:n,context:i}=e,{apiUid:o}=i,a={invalidateTags:pe(`${t}/invalidateTags`)},s=f=>f.type.startsWith(`${t}/`),c=[Vp,Up,jp,zp,qp,Wp];return{middleware:f=>{let d=!1;const m={...e,internalState:{currentSubscriptions:{}},refetchQuery:p,isThisApiSliceAction:s},h=c.map(_=>_(m)),v=Gp(m),w=Hp(m);return _=>g=>{if(!uu(g))return _(g);d||(d=!0,f.dispatch(n.internalActions.middlewareRegistered(o)));const y={...f,next:_},C=f.getState(),[E,S]=v(g,y,C);let x;if(E?x=_(g):x=S,f.getState()[t]&&(w(g,y,C),s(g)||i.hasRehydrationInfo(g)))for(let k of h)k(g,y,C);return x}},actions:a};function p(f,d,l={}){return r({type:"query",endpointName:f.endpointName,originalArgs:f.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:d,...l})}}function Ze(e,...t){return Object.assign(e,...t)}var Ts=Symbol(),Yp=()=>({name:Ts,init(e,{baseQuery:t,tagTypes:r,reducerPath:n,serializeQueryArgs:i,keepUnusedDataFor:o,refetchOnMountOrArgChange:a,refetchOnFocus:s,refetchOnReconnect:c,invalidationBehavior:u},p){Df();const f=$=>(typeof process<"u",$);Object.assign(e,{reducerPath:n,endpoints:{},internalActions:{onOnline:Zo,onOffline:Tu,onFocus:Xo,onFocusLost:ku},util:{}});const{queryThunk:d,mutationThunk:l,patchQueryData:m,updateQueryData:h,upsertQueryData:v,prefetch:w,buildMatchThunkActions:_}=Np({baseQuery:t,reducerPath:n,context:p,api:e,serializeQueryArgs:i,assertTagType:f}),{reducer:g,actions:y}=Mp({context:p,queryThunk:d,mutationThunk:l,reducerPath:n,assertTagType:f,config:{refetchOnFocus:s,refetchOnReconnect:c,refetchOnMountOrArgChange:a,keepUnusedDataFor:o,reducerPath:n,invalidationBehavior:u}});Ze(e.util,{patchQueryData:m,updateQueryData:h,upsertQueryData:v,prefetch:w,resetApiState:y.resetApiState}),Ze(e.internalActions,y);const{middleware:C,actions:E}=Qp({reducerPath:n,context:p,queryThunk:d,mutationThunk:l,api:e,assertTagType:f});Ze(e.util,E),Ze(e,{reducer:g,middleware:C});const{buildQuerySelector:S,buildMutationSelector:x,selectInvalidatedBy:k,selectCachedArgsForQuery:T}=Fp({serializeQueryArgs:i,reducerPath:n});Ze(e.util,{selectInvalidatedBy:k,selectCachedArgsForQuery:T});const{buildInitiateQuery:O,buildInitiateMutation:A,getRunningMutationThunk:I,getRunningMutationsThunk:M,getRunningQueriesThunk:Y,getRunningQueryThunk:J}=Lp({queryThunk:d,mutationThunk:l,api:e,serializeQueryArgs:i,context:p});return Ze(e.util,{getRunningMutationThunk:I,getRunningMutationsThunk:M,getRunningQueryThunk:J,getRunningQueriesThunk:Y}),{name:Ts,injectEndpoint($,B){var X;const ne=e;(X=ne.endpoints)[$]??(X[$]={}),Ru(B)?Ze(ne.endpoints[$],{name:$,select:S($,B),initiate:O($,B)},_(d,$)):Pp(B)&&Ze(ne.endpoints[$],{name:$,select:x(),initiate:A($)},_(l,$))}}}}),Pu={exports:{}},Iu={};const Kp=Vd(Er);/**
|
|
8
|
+
*/var ie=typeof Symbol=="function"&&Symbol.for,Uo=ie?Symbol.for("react.element"):60103,jo=ie?Symbol.for("react.portal"):60106,Vn=ie?Symbol.for("react.fragment"):60107,Gn=ie?Symbol.for("react.strict_mode"):60108,Qn=ie?Symbol.for("react.profiler"):60114,Yn=ie?Symbol.for("react.provider"):60109,Kn=ie?Symbol.for("react.context"):60110,zo=ie?Symbol.for("react.async_mode"):60111,Jn=ie?Symbol.for("react.concurrent_mode"):60111,Xn=ie?Symbol.for("react.forward_ref"):60112,Zn=ie?Symbol.for("react.suspense"):60113,Gd=ie?Symbol.for("react.suspense_list"):60120,ei=ie?Symbol.for("react.memo"):60115,ti=ie?Symbol.for("react.lazy"):60116,Qd=ie?Symbol.for("react.block"):60121,Yd=ie?Symbol.for("react.fundamental"):60117,Kd=ie?Symbol.for("react.responder"):60118,Jd=ie?Symbol.for("react.scope"):60119;function Se(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Uo:switch(e=e.type,e){case zo:case Jn:case Vn:case Qn:case Gn:case Zn:return e;default:switch(e=e&&e.$$typeof,e){case Kn:case Xn:case ti:case ei:case Yn:return e;default:return t}}case jo:return t}}}function Jc(e){return Se(e)===Jn}V.AsyncMode=zo;V.ConcurrentMode=Jn;V.ContextConsumer=Kn;V.ContextProvider=Yn;V.Element=Uo;V.ForwardRef=Xn;V.Fragment=Vn;V.Lazy=ti;V.Memo=ei;V.Portal=jo;V.Profiler=Qn;V.StrictMode=Gn;V.Suspense=Zn;V.isAsyncMode=function(e){return Jc(e)||Se(e)===zo};V.isConcurrentMode=Jc;V.isContextConsumer=function(e){return Se(e)===Kn};V.isContextProvider=function(e){return Se(e)===Yn};V.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Uo};V.isForwardRef=function(e){return Se(e)===Xn};V.isFragment=function(e){return Se(e)===Vn};V.isLazy=function(e){return Se(e)===ti};V.isMemo=function(e){return Se(e)===ei};V.isPortal=function(e){return Se(e)===jo};V.isProfiler=function(e){return Se(e)===Qn};V.isStrictMode=function(e){return Se(e)===Gn};V.isSuspense=function(e){return Se(e)===Zn};V.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Vn||e===Jn||e===Qn||e===Gn||e===Zn||e===Gd||typeof e=="object"&&e!==null&&(e.$$typeof===ti||e.$$typeof===ei||e.$$typeof===Yn||e.$$typeof===Kn||e.$$typeof===Xn||e.$$typeof===Yd||e.$$typeof===Kd||e.$$typeof===Jd||e.$$typeof===Qd)};V.typeOf=Se;Kc.exports=V;var Xd=Kc.exports,Xc=Xd,Zd={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ef={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Zc={};Zc[Xc.ForwardRef]=Zd;Zc[Xc.Memo]=ef;var tf=!0;function eu(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):n+=i+" "}),n}var Ho=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||tf===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},qo=function(t,r,n){Ho(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 rf(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 nf={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},of=/[A-Z]|^ms/g,af=/_EMO_([^_]+?)_([^]*?)_EMO_/g,tu=function(t){return t.charCodeAt(1)===45},Ja=function(t){return t!=null&&typeof t!="boolean"},vi=Gc(function(e){return tu(e)?e:e.replace(of,"-$&").toLowerCase()}),Xa=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(af,function(n,i,o){return De={name:i,styles:o,next:De},i})}return nf[t]!==1&&!tu(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 sf(e,t,r)}case"function":{if(e!==void 0){var o=De,a=r(e);return De=o,Tr(e,t,a)}break}}if(t==null)return r;var s=t[r];return s!==void 0?s:r}function sf(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=Tr(e,t,r[i])+";";else for(var o in r){var a=r[o];if(typeof a!="object")t!=null&&t[a]!==void 0?n+=o+"{"+t[a]+"}":Ja(a)&&(n+=vi(o)+":"+Xa(o,a)+";");else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var s=0;s<a.length;s++)Ja(a[s])&&(n+=vi(o)+":"+Xa(o,a[s])+";");else{var c=Tr(e,t,a);switch(o){case"animation":case"animationName":{n+=vi(o)+":"+c+";";break}default:n+=o+"{"+c+"}"}}}return n}var Za=/label:\s*([^\s;\n{]+)\s*(;|$)/g,De,ri=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 a=t[0];a==null||a.raw===void 0?(i=!1,o+=Tr(n,r,a)):o+=a[0];for(var s=1;s<t.length;s++)o+=Tr(n,r,t[s]),i&&(o+=a[s]);Za.lastIndex=0;for(var c="",u;(u=Za.exec(o))!==null;)c+="-"+u[1];var p=rf(o)+c;return{name:p,styles:o,next:De}},cf=function(t){return t()},ru=Er.useInsertionEffect?Er.useInsertionEffect:!1,nu=ru||cf,es=ru||_t,ni={}.hasOwnProperty,iu=zn(typeof HTMLElement<"u"?Yc({key:"css"}):null),uf=iu.Provider,Wo=function(t){return No(function(r,n){var i=Qt(iu);return t(r,i,n)})},Vo=zn({}),Wi="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ou=function(t,r){var n={};for(var i in r)ni.call(r,i)&&(n[i]=r[i]);return n[Wi]=t,n},lf=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Ho(r,n,i),nu(function(){return qo(r,n,i)}),null},df=Wo(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var i=e[Wi],o=[n],a="";typeof e.className=="string"?a=eu(t.registered,o,e.className):e.className!=null&&(a=e.className+" ");var s=ri(o,void 0,Qt(Vo));a+=t.key+"-"+s.name;var c={};for(var u in e)ni.call(e,u)&&u!=="css"&&u!==Wi&&(c[u]=e[u]);return c.ref=r,c.className=a,Z(we,null,Z(lf,{cache:t,serialized:s,isStringTag:typeof i=="string"}),Z(i,c))}),au=df,ff=Wo(function(e,t){var r=e.styles,n=ri([r],void 0,Qt(Vo)),i=Ee();return es(function(){var o=t.key+"-global",a=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,c=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),c!==null&&(s=!0,c.setAttribute("data-emotion",o),a.hydrate([c])),i.current=[a,s],function(){a.flush()}},[t]),es(function(){var o=i.current,a=o[0],s=o[1];if(s){o[1]=!1;return}if(n.next!==void 0&&qo(t,n.next,!0),a.tags.length){var c=a.tags[a.tags.length-1].nextElementSibling;a.before=c,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null});function pf(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return ri(t)}var mf=0;function xn(e,t,r,n,i,o){var a,s,c={};for(s in t)s=="ref"?a=t[s]:c[s]=t[s];var u={type:e,props:c,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--mf,__i:-1,__u:0,__source:i,__self:o};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)c[s]===void 0&&(c[s]=a[s]);return P.vnode&&P.vnode(u),u}var mt=we;function b(e,t,r){return ni.call(t,"css")?xn(au,ou(e,t),r):xn(e,t,r)}function R(e,t,r){return ni.call(t,"css")?xn(au,ou(e,t),r):xn(e,t,r)}const Kt=({size:e=48})=>b("div",{css:{display:"inline-block","@keyframes spin":{to:{transform:"rotate(360deg)"}},animation:"spin 1s linear infinite"},children:R("svg",{width:e,height:e,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[b("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"}),b("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)"}})]})}),hf={"toggle-removed-from-page":{splitType:"percentage",variants:[{variantName:"control",percentage:70},{variantName:"toggle-removed-from-page",percentage:30}]}};var vf=/^((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)-.*))$/,gf=Gc(function(e){return vf.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),yf=gf,bf=function(t){return t!=="theme"},ts=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?yf:bf},rs=function(t,r,n){var i;if(r){var o=r.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(a){return t.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&n&&(i=t.__emotion_forwardProp),i},wf=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Ho(r,n,i),nu(function(){return qo(r,n,i)}),null},_f=function e(t,r){var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,o,a;r!==void 0&&(o=r.label,a=r.target);var s=rs(t,r,n),c=s||ts(i),u=!c("as");return function(){var p=arguments,f=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&f.push("label:"+o+";"),p[0]==null||p[0].raw===void 0)f.push.apply(f,p);else{f.push(p[0][0]);for(var d=p.length,l=1;l<d;l++)f.push(p[l],p[0][l])}var m=Wo(function(h,v,w){var _=u&&h.as||i,g="",y=[],C=h;if(h.theme==null){C={};for(var E in h)C[E]=h[E];C.theme=Qt(Vo)}typeof h.className=="string"?g=eu(v.registered,y,h.className):h.className!=null&&(g=h.className+" ");var S=ri(f.concat(y),v.registered,C);g+=v.key+"-"+S.name,a!==void 0&&(g+=" "+a);var x=u&&s===void 0?ts(_):c,k={};for(var T in h)u&&T==="as"||x(T)&&(k[T]=h[T]);return k.className=g,k.ref=w,Z(we,null,Z(wf,{cache:v,serialized:S,isStringTag:typeof _=="string"}),Z(_,k))});return m.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=i,m.__emotion_styles=f,m.__emotion_forwardProp=s,Object.defineProperty(m,"toString",{value:function(){return"."+a}}),m.withComponent=function(h,v){return e(h,qi({},r,v,{shouldForwardProp:rs(m,v,!0)})).apply(void 0,f)},m}},Sf=["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"],kn=_f.bind();Sf.forEach(function(e){kn[e]=kn(e)});function oe(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 Cf=typeof Symbol=="function"&&Symbol.observable||"@@observable",ns=Cf,gi=()=>Math.random().toString(36).substring(7).split("").join("."),Ef={INIT:`@@redux/INIT${gi()}`,REPLACE:`@@redux/REPLACE${gi()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${gi()}`},Tn=Ef;function ze(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function su(e,t,r){if(typeof e!="function")throw new Error(oe(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(oe(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(oe(1));return r(su)(e,t)}let n=e,i=t,o=new Map,a=o,s=0,c=!1;function u(){a===o&&(a=new Map,o.forEach((v,w)=>{a.set(w,v)}))}function p(){if(c)throw new Error(oe(3));return i}function f(v){if(typeof v!="function")throw new Error(oe(4));if(c)throw new Error(oe(5));let w=!0;u();const _=s++;return a.set(_,v),function(){if(w){if(c)throw new Error(oe(6));w=!1,u(),a.delete(_),o=null}}}function d(v){if(!ze(v))throw new Error(oe(7));if(typeof v.type>"u")throw new Error(oe(8));if(typeof v.type!="string")throw new Error(oe(17));if(c)throw new Error(oe(9));try{c=!0,i=n(i,v)}finally{c=!1}return(o=a).forEach(_=>{_()}),v}function l(v){if(typeof v!="function")throw new Error(oe(10));n=v,d({type:Tn.REPLACE})}function m(){const v=f;return{subscribe(w){if(typeof w!="object"||w===null)throw new Error(oe(11));function _(){const y=w;y.next&&y.next(p())}return _(),{unsubscribe:v(_)}},[ns](){return this}}}return d({type:Tn.INIT}),{dispatch:d,subscribe:f,getState:p,replaceReducer:l,[ns]:m}}function xf(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:Tn.INIT})>"u")throw new Error(oe(12));if(typeof r(void 0,{type:Tn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(oe(13))})}function cu(e){const t=Object.keys(e),r={};for(let o=0;o<t.length;o++){const a=t[o];typeof e[a]=="function"&&(r[a]=e[a])}const n=Object.keys(r);let i;try{xf(r)}catch(o){i=o}return function(a={},s){if(i)throw i;let c=!1;const u={};for(let p=0;p<n.length;p++){const f=n[p],d=r[f],l=a[f],m=d(l,s);if(typeof m>"u")throw s&&s.type,new Error(oe(14));u[f]=m,c=c||m!==l}return c=c||n.length!==Object.keys(a).length,c?u:a}}function Rn(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function kf(...e){return t=>(r,n)=>{const i=t(r,n);let o=()=>{throw new Error(oe(15))};const a={getState:i.getState,dispatch:(c,...u)=>o(c,...u)},s=e.map(c=>c(a));return o=Rn(...s)(i.dispatch),{...i,dispatch:o}}}function uu(e){return ze(e)&&"type"in e&&typeof e.type=="string"}var Go=Symbol.for("immer-nothing"),mr=Symbol.for("immer-draftable"),he=Symbol.for("immer-state");function se(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var gt=Object.getPrototypeOf;function Pe(e){return!!e&&!!e[he]}function Ie(e){var t;return e?lu(e)||Array.isArray(e)||!!e[mr]||!!((t=e.constructor)!=null&&t[mr])||jr(e)||zr(e):!1}var Tf=Object.prototype.constructor.toString();function lu(e){if(!e||typeof e!="object")return!1;const t=gt(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)===Tf}function Rf(e){return Pe(e)||se(15,e),e[he].base_}function Rr(e,t){yt(e)===0?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function yt(e){const t=e[he];return t?t.type_:Array.isArray(e)?1:jr(e)?2:zr(e)?3:0}function Ar(e,t){return yt(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function yi(e,t){return yt(e)===2?e.get(t):e[t]}function du(e,t,r){const n=yt(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function Af(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function jr(e){return e instanceof Map}function zr(e){return e instanceof Set}function ut(e){return e.copy_||e.base_}function Vi(e,t){if(jr(e))return new Map(e);if(zr(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&lu(e))return gt(e)?{...e}:Object.assign(Object.create(null),e);const r=Object.getOwnPropertyDescriptors(e);delete r[he];let n=Reflect.ownKeys(r);for(let i=0;i<n.length;i++){const o=n[i],a=r[o];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(r[o]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[o]})}return Object.create(gt(e),r)}function Qo(e,t=!1){return ii(e)||Pe(e)||!Ie(e)||(yt(e)>1&&(e.set=e.add=e.clear=e.delete=Of),Object.freeze(e),t&&Object.entries(e).forEach(([r,n])=>Qo(n,!0))),e}function Of(){se(2)}function ii(e){return Object.isFrozen(e)}var Gi={};function bt(e){const t=Gi[e];return t||se(0,e),t}function Pf(e,t){Gi[e]||(Gi[e]=t)}var Or;function fu(){return Or}function If(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function is(e,t){t&&(bt("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Qi(e){Yi(e),e.drafts_.forEach(Lf),e.drafts_=null}function Yi(e){e===Or&&(Or=e.parent_)}function os(e){return Or=If(Or,e)}function Lf(e){const t=e[he];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function as(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[he].modified_&&(Qi(t),se(4)),Ie(e)&&(e=An(t,e),t.parent_||On(t,e)),t.patches_&&bt("Patches").generateReplacementPatches_(r[he].base_,e,t.patches_,t.inversePatches_)):e=An(t,r,[]),Qi(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Go?e:void 0}function An(e,t,r){if(ii(t))return t;const n=t[he];if(!n)return Rr(t,(i,o)=>ss(e,n,t,i,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return On(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const i=n.copy_;let o=i,a=!1;n.type_===3&&(o=new Set(i),i.clear(),a=!0),Rr(o,(s,c)=>ss(e,n,i,s,c,r,a)),On(e,i,!1),r&&e.patches_&&bt("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function ss(e,t,r,n,i,o,a){if(Pe(i)){const s=o&&t&&t.type_!==3&&!Ar(t.assigned_,n)?o.concat(n):void 0,c=An(e,i,s);if(du(r,n,c),Pe(c))e.canAutoFreeze_=!1;else return}else a&&r.add(i);if(Ie(i)&&!ii(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;An(e,i),(!t||!t.scope_.parent_)&&typeof n!="symbol"&&Object.prototype.propertyIsEnumerable.call(r,n)&&On(e,i)}}function On(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Qo(t,r)}function Nf(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:fu(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=n,o=Yo;r&&(i=[n],o=Pr);const{revoke:a,proxy:s}=Proxy.revocable(i,o);return n.draft_=s,n.revoke_=a,s}var Yo={get(e,t){if(t===he)return e;const r=ut(e);if(!Ar(r,t))return Mf(e,r,t);const n=r[t];return e.finalized_||!Ie(n)?n:n===bi(e.base_,t)?(wi(e),e.copy_[t]=Ji(n,e)):n},has(e,t){return t in ut(e)},ownKeys(e){return Reflect.ownKeys(ut(e))},set(e,t,r){const n=pu(ut(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const i=bi(ut(e),t),o=i==null?void 0:i[he];if(o&&o.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(Af(r,i)&&(r!==void 0||Ar(e.base_,t)))return!0;wi(e),Ki(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 bi(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,wi(e),Ki(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=ut(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){se(11)},getPrototypeOf(e){return gt(e.base_)},setPrototypeOf(){se(12)}},Pr={};Rr(Yo,(e,t)=>{Pr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Pr.deleteProperty=function(e,t){return Pr.set.call(this,e,t,void 0)};Pr.set=function(e,t,r){return Yo.set.call(this,e[0],t,r,e[0])};function bi(e,t){const r=e[he];return(r?ut(r):e)[t]}function Mf(e,t,r){var i;const n=pu(t,r);return n?"value"in n?n.value:(i=n.get)==null?void 0:i.call(e.draft_):void 0}function pu(e,t){if(!(t in e))return;let r=gt(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=gt(r)}}function Ki(e){e.modified_||(e.modified_=!0,e.parent_&&Ki(e.parent_))}function wi(e){e.copy_||(e.copy_=Vi(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Ff=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,r,n)=>{if(typeof t=="function"&&typeof r!="function"){const o=r;r=t;const a=this;return function(c=o,...u){return a.produce(c,p=>r.call(this,p,...u))}}typeof r!="function"&&se(6),n!==void 0&&typeof n!="function"&&se(7);let i;if(Ie(t)){const o=os(this),a=Ji(t,void 0);let s=!0;try{i=r(a),s=!1}finally{s?Qi(o):Yi(o)}return is(o,n),as(i,o)}else if(!t||typeof t!="object"){if(i=r(t),i===void 0&&(i=t),i===Go&&(i=void 0),this.autoFreeze_&&Qo(i,!0),n){const o=[],a=[];bt("Patches").generateReplacementPatches_(t,i,o,a),n(o,a)}return i}else se(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(a,...s)=>this.produceWithPatches(a,c=>t(c,...s));let n,i;return[this.produce(t,r,(a,s)=>{n=a,i=s}),n,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){Ie(e)||se(8),Pe(e)&&(e=mu(e));const t=os(this),r=Ji(e,void 0);return r[he].isManual_=!0,Yi(t),r}finishDraft(e,t){const r=e&&e[he];(!r||!r.isManual_)&&se(9);const{scope_:n}=r;return is(n,t),as(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=bt("Patches").applyPatches_;return Pe(e)?n(e,t):this.produce(e,i=>n(i,t))}};function Ji(e,t){const r=jr(e)?bt("MapSet").proxyMap_(e,t):zr(e)?bt("MapSet").proxySet_(e,t):Nf(e,t);return(t?t.scope_:fu()).drafts_.push(r),r}function mu(e){return Pe(e)||se(10,e),hu(e)}function hu(e){if(!Ie(e)||ii(e))return e;const t=e[he];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=Vi(e,t.scope_.immer_.useStrictShallowCopy_)}else r=Vi(e,!0);return Rr(r,(n,i)=>{du(r,n,hu(i))}),t&&(t.finalized_=!1),r}function Df(){const t="replace",r="add",n="remove";function i(d,l,m,h){switch(d.type_){case 0:case 2:return a(d,l,m,h);case 1:return o(d,l,m,h);case 3:return s(d,l,m,h)}}function o(d,l,m,h){let{base_:v,assigned_:w}=d,_=d.copy_;_.length<v.length&&([v,_]=[_,v],[m,h]=[h,m]);for(let g=0;g<v.length;g++)if(w[g]&&_[g]!==v[g]){const y=l.concat([g]);m.push({op:t,path:y,value:f(_[g])}),h.push({op:t,path:y,value:f(v[g])})}for(let g=v.length;g<_.length;g++){const y=l.concat([g]);m.push({op:r,path:y,value:f(_[g])})}for(let g=_.length-1;v.length<=g;--g){const y=l.concat([g]);h.push({op:n,path:y})}}function a(d,l,m,h){const{base_:v,copy_:w}=d;Rr(d.assigned_,(_,g)=>{const y=yi(v,_),C=yi(w,_),E=g?Ar(v,_)?t:r:n;if(y===C&&E===t)return;const S=l.concat(_);m.push(E===n?{op:E,path:S}:{op:E,path:S,value:C}),h.push(E===r?{op:n,path:S}:E===n?{op:r,path:S,value:f(y)}:{op:t,path:S,value:f(y)})})}function s(d,l,m,h){let{base_:v,copy_:w}=d,_=0;v.forEach(g=>{if(!w.has(g)){const y=l.concat([_]);m.push({op:n,path:y,value:g}),h.unshift({op:r,path:y,value:g})}_++}),_=0,w.forEach(g=>{if(!v.has(g)){const y=l.concat([_]);m.push({op:r,path:y,value:g}),h.unshift({op:n,path:y,value:g})}_++})}function c(d,l,m,h){m.push({op:t,path:[],value:l===Go?void 0:l}),h.push({op:t,path:[],value:d})}function u(d,l){return l.forEach(m=>{const{path:h,op:v}=m;let w=d;for(let C=0;C<h.length-1;C++){const E=yt(w);let S=h[C];typeof S!="string"&&typeof S!="number"&&(S=""+S),(E===0||E===1)&&(S==="__proto__"||S==="constructor")&&se(19),typeof w=="function"&&S==="prototype"&&se(19),w=yi(w,S),typeof w!="object"&&se(18,h.join("/"))}const _=yt(w),g=p(m.value),y=h[h.length-1];switch(v){case t:switch(_){case 2:return w.set(y,g);case 3:se(16);default:return w[y]=g}case r:switch(_){case 1:return y==="-"?w.push(g):w.splice(y,0,g);case 2:return w.set(y,g);case 3:return w.add(g);default:return w[y]=g}case n:switch(_){case 1:return w.splice(y,1);case 2:return w.delete(y);case 3:return w.delete(m.value);default:return delete w[y]}default:se(17,v)}}),d}function p(d){if(!Ie(d))return d;if(Array.isArray(d))return d.map(p);if(jr(d))return new Map(Array.from(d.entries()).map(([m,h])=>[m,p(h)]));if(zr(d))return new Set(Array.from(d).map(p));const l=Object.create(gt(d));for(const m in d)l[m]=p(d[m]);return Ar(d,mr)&&(l[mr]=d[mr]),l}function f(d){return Pe(d)?p(d):d}Pf("Patches",{applyPatches_:u,generatePatches_:i,generateReplacementPatches_:c})}var _e=new Ff,Hr=_e.produce,vu=_e.produceWithPatches.bind(_e);_e.setAutoFreeze.bind(_e);_e.setUseStrictShallowCopy.bind(_e);var cs=_e.applyPatches.bind(_e);_e.createDraft.bind(_e);_e.finishDraft.bind(_e);function Bf(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function $f(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function Uf(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 jf(e){const t=Array.isArray(e[0])?e[0]:e;return Uf(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function zf(e,t){const r=[],{length:n}=e;for(let i=0;i<n;i++)r.push(e[i].apply(null,t));return r}var Hf=class{constructor(e){this.value=e}deref(){return this.value}},qf=typeof WeakRef<"u"?WeakRef:Hf,Wf=0,ls=1;function rn(){return{s:Wf,v:void 0,o:null,p:null}}function Ir(e,t={}){let r=rn();const{resultEqualityCheck:n}=t;let i,o=0;function a(){var f;let s=r;const{length:c}=arguments;for(let d=0,l=c;d<l;d++){const m=arguments[d];if(typeof m=="function"||typeof m=="object"&&m!==null){let h=s.o;h===null&&(s.o=h=new WeakMap);const v=h.get(m);v===void 0?(s=rn(),h.set(m,s)):s=v}else{let h=s.p;h===null&&(s.p=h=new Map);const v=h.get(m);v===void 0?(s=rn(),h.set(m,s)):s=v}}const u=s;let p;if(s.s===ls?p=s.v:(p=e.apply(null,arguments),o++),u.s=ls,n){const d=((f=i==null?void 0:i.deref)==null?void 0:f.call(i))??i;d!=null&&n(d,p)&&(p=d,o!==0&&o--),i=typeof p=="object"&&p!==null||typeof p=="function"?new qf(p):p}return u.v=p,p}return a.clearCache=()=>{r=rn(),a.resetResultsCount()},a.resultsCount=()=>o,a.resetResultsCount=()=>{o=0},a}function gu(e,...t){const r=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,n=(...i)=>{let o=0,a=0,s,c={},u=i.pop();typeof u=="object"&&(c=u,u=i.pop()),Bf(u,`createSelector expects an output function after the inputs, but received: [${typeof u}]`);const p={...r,...c},{memoize:f,memoizeOptions:d=[],argsMemoize:l=Ir,argsMemoizeOptions:m=[],devModeChecks:h={}}=p,v=us(d),w=us(m),_=jf(i),g=f(function(){return o++,u.apply(null,arguments)},...v),y=l(function(){a++;const E=zf(_,arguments);return s=g.apply(null,E),s},...w);return Object.assign(y,{resultFunc:u,memoizedResultFunc:g,dependencies:_,dependencyRecomputations:()=>a,resetDependencyRecomputations:()=>{a=0},lastResult:()=>s,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:f,argsMemoize:l})};return Object.assign(n,{withTypes:()=>n}),n}var Dt=gu(Ir),Vf=Object.assign((e,t=Dt)=>{$f(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const r=Object.keys(e),n=r.map(o=>e[o]);return t(n,(...o)=>o.reduce((a,s,c)=>(a[r[c]]=s,a),{}))},{withTypes:()=>Vf});function yu(e){return({dispatch:r,getState:n})=>i=>o=>typeof o=="function"?o(r,n,e):i(o)}var Gf=yu(),Qf=yu,Yf=(...e)=>{const t=gu(...e);return(...r)=>{const n=t(...r),i=(o,...a)=>n(Pe(o)?mu(o):o,...a);return Object.assign(i,n),i}};Yf(Ir);var Kf=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Rn:Rn.apply(null,arguments)},Jf=e=>e&&typeof e.match=="function";function pe(e,t){function r(...n){if(t){let i=t(...n);if(!i)throw new Error(ke(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:n[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=n=>uu(n)&&n.type===e,r}var bu=class ur extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,ur.prototype)}static get[Symbol.species](){return ur}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new ur(...t[0].concat(this)):new ur(...t.concat(this))}};function ds(e){return Ie(e)?Hr(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(ke(10));const n=r.insert(t,e);return e.set(t,n),n}function Xf(e){return typeof e=="boolean"}var Zf=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t??{};let a=new bu;return r&&(Xf(r)?a.push(Gf):a.push(Qf(r.extraArgument))),a},It="RTK_autoBatch",or=()=>e=>({payload:e,meta:{[It]:!0}}),wu=e=>t=>{setTimeout(t,e)},ep=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:wu(10),tp=(e={type:"raf"})=>t=>(...r)=>{const n=t(...r);let i=!0,o=!1,a=!1;const s=new Set,c=e.type==="tick"?queueMicrotask:e.type==="raf"?ep:e.type==="callback"?e.queueNotification:wu(e.timeout),u=()=>{a=!1,o&&(o=!1,s.forEach(p=>p()))};return Object.assign({},n,{subscribe(p){const f=()=>i&&p(),d=n.subscribe(f);return s.add(p),()=>{d(),s.delete(p)}},dispatch(p){var f;try{return i=!((f=p==null?void 0:p.meta)!=null&&f[It]),o=!i,o&&(a||(a=!0,c(u))),n.dispatch(p)}finally{i=!0}}})},rp=e=>function(r){const{autoBatch:n=!0}=r??{};let i=new bu(e);return n&&i.push(tp(typeof n=="object"?n:void 0)),i},np=!0;function ip(e){const t=Zf(),{reducer:r=void 0,middleware:n,devTools:i=!0,preloadedState:o=void 0,enhancers:a=void 0}=e||{};let s;if(typeof r=="function")s=r;else if(ze(r))s=cu(r);else throw new Error(ke(1));let c;typeof n=="function"?c=n(t):c=t();let u=Rn;i&&(u=Kf({trace:!np,...typeof i=="object"&&i}));const p=kf(...c),f=rp(p);let d=typeof a=="function"?a(f):f();const l=u(...d);return su(s,o,l)}function _u(e){const t={},r=[];let n;const i={addCase(o,a){const s=typeof o=="string"?o:o.type;if(!s)throw new Error(ke(28));if(s in t)throw new Error(ke(29));return t[s]=a,i},addMatcher(o,a){return r.push({matcher:o,reducer:a}),i},addDefaultCase(o){return n=o,i}};return e(i),[t,r,n]}function op(e){return typeof e=="function"}function ap(e,t){let[r,n,i]=_u(t),o;if(op(e))o=()=>ds(e());else{const s=ds(e);o=()=>s}function a(s=o(),c){let u=[r[c.type],...n.filter(({matcher:p})=>p(c)).map(({reducer:p})=>p)];return u.filter(p=>!!p).length===0&&(u=[i]),u.reduce((p,f)=>{if(f)if(Pe(p)){const l=f(p,c);return l===void 0?p:l}else{if(Ie(p))return Hr(p,d=>f(d,c));{const d=f(p,c);if(d===void 0){if(p===null)return p;throw new Error(ke(9))}return d}}return p},s)}return a.getInitialState=o,a}var sp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Su=(e=21)=>{let t="",r=e;for(;r--;)t+=sp[Math.random()*64|0];return t},Cu=(e,t)=>Jf(e)?e.match(t):e(t);function rt(...e){return t=>e.some(r=>Cu(r,t))}function hr(...e){return t=>e.every(r=>Cu(r,t))}function oi(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 qr(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function Ko(...e){return e.length===0?t=>oi(t,["pending"]):qr(e)?t=>{const r=e.map(i=>i.pending);return rt(...r)(t)}:Ko()(e[0])}function zt(...e){return e.length===0?t=>oi(t,["rejected"]):qr(e)?t=>{const r=e.map(i=>i.rejected);return rt(...r)(t)}:zt()(e[0])}function ai(...e){const t=r=>r&&r.meta&&r.meta.rejectedWithValue;return e.length===0?r=>hr(zt(...e),t)(r):qr(e)?r=>hr(zt(...e),t)(r):ai()(e[0])}function nt(...e){return e.length===0?t=>oi(t,["fulfilled"]):qr(e)?t=>{const r=e.map(i=>i.fulfilled);return rt(...r)(t)}:nt()(e[0])}function Xi(...e){return e.length===0?t=>oi(t,["pending","fulfilled","rejected"]):qr(e)?t=>{const r=[];for(const i of e)r.push(i.pending,i.rejected,i.fulfilled);return rt(...r)(t)}:Xi()(e[0])}var cp=["name","message","stack","code"],_i=class{constructor(e,t){pi(this,"_type");this.payload=e,this.meta=t}},ps=class{constructor(e,t){pi(this,"_type");this.payload=e,this.meta=t}},up=e=>{if(typeof e=="object"&&e!==null){const t={};for(const r of cp)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},ms=(()=>{function e(t,r,n){const i=pe(t+"/fulfilled",(c,u,p,f)=>({payload:c,meta:{...f||{},arg:p,requestId:u,requestStatus:"fulfilled"}})),o=pe(t+"/pending",(c,u,p)=>({payload:void 0,meta:{...p||{},arg:u,requestId:c,requestStatus:"pending"}})),a=pe(t+"/rejected",(c,u,p,f,d)=>({payload:f,error:(n&&n.serializeError||up)(c||"Rejected"),meta:{...d||{},arg:p,requestId:u,rejectedWithValue:!!f,requestStatus:"rejected",aborted:(c==null?void 0:c.name)==="AbortError",condition:(c==null?void 0:c.name)==="ConditionError"}}));function s(c){return(u,p,f)=>{const d=n!=null&&n.idGenerator?n.idGenerator(c):Su(),l=new AbortController;let m;function h(w){m=w,l.abort()}const v=async function(){var g,y;let w;try{let C=(g=n==null?void 0:n.condition)==null?void 0:g.call(n,c,{getState:p,extra:f});if(dp(C)&&(C=await C),C===!1||l.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const E=new Promise((S,x)=>l.signal.addEventListener("abort",()=>x({name:"AbortError",message:m||"Aborted"})));u(o(d,c,(y=n==null?void 0:n.getPendingMeta)==null?void 0:y.call(n,{requestId:d,arg:c},{getState:p,extra:f}))),w=await Promise.race([E,Promise.resolve(r(c,{dispatch:u,getState:p,extra:f,requestId:d,signal:l.signal,abort:h,rejectWithValue:(S,x)=>new _i(S,x),fulfillWithValue:(S,x)=>new ps(S,x)})).then(S=>{if(S instanceof _i)throw S;return S instanceof ps?i(S.payload,d,c,S.meta):i(S,d,c)})])}catch(C){w=C instanceof _i?a(null,d,c,C.payload,C.meta):a(C,d,c)}return n&&!n.dispatchConditionRejection&&a.match(w)&&w.meta.condition||u(w),w}();return Object.assign(v,{abort:h,requestId:d,arg:c,unwrap(){return v.then(lp)}})}}return Object.assign(s,{pending:o,rejected:a,fulfilled:i,settled:rt(a,i),typePrefix:t})}return e.withTypes=()=>e,e})();function lp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function dp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var fp=Symbol.for("rtk-slice-createasyncthunk");function pp(e,t){return`${e}/${t}`}function mp({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[fp];return function(i){const{name:o,reducerPath:a=o}=i;if(!o)throw new Error(ke(11));typeof process<"u";const s=(typeof i.reducers=="function"?i.reducers(vp()):i.reducers)||{},c=Object.keys(s),u={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},p={addCase(v,w){const _=typeof v=="string"?v:v.type;if(!_)throw new Error(ke(12));if(_ in u.sliceCaseReducersByType)throw new Error(ke(13));return u.sliceCaseReducersByType[_]=w,p},addMatcher(v,w){return u.sliceMatchers.push({matcher:v,reducer:w}),p},exposeAction(v,w){return u.actionCreators[v]=w,p},exposeCaseReducer(v,w){return u.sliceCaseReducersByName[v]=w,p}};c.forEach(v=>{const w=s[v],_={reducerName:v,type:pp(o,v),createNotation:typeof i.reducers=="function"};yp(w)?wp(_,w,p,t):gp(_,w,p)});function f(){const[v={},w=[],_=void 0]=typeof i.extraReducers=="function"?_u(i.extraReducers):[i.extraReducers],g={...v,...u.sliceCaseReducersByType};return ap(i.initialState,y=>{for(let C in g)y.addCase(C,g[C]);for(let C of u.sliceMatchers)y.addMatcher(C.matcher,C.reducer);for(let C of w)y.addMatcher(C.matcher,C.reducer);_&&y.addDefaultCase(_)})}const d=v=>v,l=new WeakMap;let m;const h={name:o,reducerPath:a,reducer(v,w){return m||(m=f()),m(v,w)},actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState(){return m||(m=f()),m.getInitialState()},getSelectors(v=d){const w=fs(l,this,{insert:()=>new WeakMap});return fs(w,v,{insert:()=>{const _={};for(const[g,y]of Object.entries(i.selectors??{}))_[g]=hp(this,y,v,this!==h);return _}})},selectSlice(v){let w=v[this.reducerPath];return typeof w>"u"&&this!==h&&(w=this.getInitialState()),w},get selectors(){return this.getSelectors(this.selectSlice)},injectInto(v,{reducerPath:w,..._}={}){const g=w??this.reducerPath;return v.inject({reducerPath:g,reducer:this.reducer},_),{...this,reducerPath:g}}};return h}}function hp(e,t,r,n){function i(o,...a){let s=r.call(e,o);return typeof s>"u"&&n&&(s=e.getInitialState()),t(s,...a)}return i.unwrapped=t,i}var qe=mp();function vp(){function e(t,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...r}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...r){return t(...r)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,r){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:r}},asyncThunk:e}}function gp({type:e,reducerName:t,createNotation:r},n,i){let o,a;if("reducer"in n){if(r&&!bp(n))throw new Error(ke(17));o=n.reducer,a=n.prepare}else o=n;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,a?pe(e,a):pe(e))}function yp(e){return e._reducerDefinitionType==="asyncThunk"}function bp(e){return e._reducerDefinitionType==="reducerWithPrepare"}function wp({type:e,reducerName:t},r,n,i){if(!i)throw new Error(ke(18));const{payloadCreator:o,fulfilled:a,pending:s,rejected:c,settled:u,options:p}=r,f=i(e,o,p);n.exposeAction(t,f),a&&n.addCase(f.fulfilled,a),s&&n.addCase(f.pending,s),c&&n.addCase(f.rejected,c),u&&n.addMatcher(f.settled,u),n.exposeCaseReducer(t,{fulfilled:a||nn,pending:s||nn,rejected:c||nn,settled:u||nn})}function nn(){}var Jo="listenerMiddleware";pe(`${Jo}/add`);pe(`${Jo}/removeAll`);pe(`${Jo}/remove`);function ke(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 Eu=(e=>(e.uninitialized="uninitialized",e.pending="pending",e.fulfilled="fulfilled",e.rejected="rejected",e))(Eu||{});function _p(e){return{status:e,isUninitialized:e==="uninitialized",isLoading:e==="pending",isSuccess:e==="fulfilled",isError:e==="rejected"}}function Sp(e){return new RegExp("(^|:)//").test(e)}var Cp=e=>e.replace(/\/$/,""),Ep=e=>e.replace(/^\//,"");function xp(e,t){if(!e)return t;if(!t)return e;if(Sp(t))return t;const r=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=Cp(e),t=Ep(t),`${e}${r}${t}`}var hs=e=>[].concat(...e);function kp(){return typeof navigator>"u"||navigator.onLine===void 0?!0:navigator.onLine}function Tp(){return typeof document>"u"?!0:document.visibilityState!=="hidden"}var vs=ze;function xu(e,t){if(e===t||!(vs(e)&&vs(t)||Array.isArray(e)&&Array.isArray(t)))return t;const r=Object.keys(t),n=Object.keys(e);let i=r.length===n.length;const o=Array.isArray(t)?[]:{};for(const a of r)o[a]=xu(e[a],t[a]),i&&(i=e[a]===o[a]);return i?e:o}var gs=(...e)=>fetch(...e),Rp=e=>e.status>=200&&e.status<=299,Ap=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function ys(e){if(!ze(e))return e;const t={...e};for(const[r,n]of Object.entries(t))n===void 0&&delete t[r];return t}function Op({baseUrl:e,prepareHeaders:t=f=>f,fetchFn:r=gs,paramsSerializer:n,isJsonContentType:i=Ap,jsonContentType:o="application/json",jsonReplacer:a,timeout:s,responseHandler:c,validateStatus:u,...p}={}){return typeof fetch>"u"&&r===gs&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),async(d,l)=>{const{signal:m,getState:h,extra:v,endpoint:w,forced:_,type:g}=l;let y,{url:C,headers:E=new Headers(p.headers),params:S=void 0,responseHandler:x=c??"json",validateStatus:k=u??Rp,timeout:T=s,...O}=typeof d=="string"?{url:d}:d,A={...p,signal:m,...O};E=new Headers(ys(E)),A.headers=await t(E,{getState:h,extra:v,endpoint:w,forced:_,type:g})||E;const I=U=>typeof U=="object"&&(ze(U)||Array.isArray(U)||typeof U.toJSON=="function");if(!A.headers.has("content-type")&&I(A.body)&&A.headers.set("content-type",o),I(A.body)&&i(A.headers)&&(A.body=JSON.stringify(A.body,a)),S){const U=~C.indexOf("?")?"&":"?",Ce=n?n(S):new URLSearchParams(ys(S));C+=U+Ce}C=xp(e,C);const M=new Request(C,A);y={request:new Request(C,A)};let J,$=!1,B=T&&setTimeout(()=>{$=!0,l.abort()},T);try{J=await r(M)}catch(U){return{error:{status:$?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(U)},meta:y}}finally{B&&clearTimeout(B)}const ne=J.clone();y.response=ne;let X,ge="";try{let U;if(await Promise.all([f(J,x).then(Ce=>X=Ce,Ce=>U=Ce),ne.text().then(Ce=>ge=Ce,()=>{})]),U)throw U}catch(U){return{error:{status:"PARSING_ERROR",originalStatus:J.status,data:ge,error:String(U)},meta:y}}return k(J,X)?{data:X,meta:y}:{error:{status:J.status,data:X},meta:y}};async function f(d,l){if(typeof l=="function")return l(d);if(l==="content-type"&&(l=i(d.headers)?"json":"text"),l==="json"){const m=await d.text();return m.length?JSON.parse(m):null}return d.text()}}var bs=class{constructor(e,t=void 0){this.value=e,this.meta=t}},Xo=pe("__rtkq/focused"),ku=pe("__rtkq/unfocused"),Zo=pe("__rtkq/online"),Tu=pe("__rtkq/offline");function Ru(e){return e.type==="query"}function Pp(e){return e.type==="mutation"}function ea(e,t,r,n,i,o){return Ip(e)?e(t,r,n,i).map(Zi).map(o):Array.isArray(e)?e.map(Zi).map(o):[]}function Ip(e){return typeof e=="function"}function Zi(e){return typeof e=="string"?{type:e}:e}function ws(e){return e!=null}function Bt(e){let t=0;for(const r in e)t++;return t}var Lr=Symbol("forceQueryFn"),eo=e=>typeof e[Lr]=="function";function Lp({serializeQueryArgs:e,queryThunk:t,mutationThunk:r,api:n,context:i}){const o=new Map,a=new Map,{unsubscribeQueryResult:s,removeMutationResult:c,updateSubscriptionOptions:u}=n.internalActions;return{buildInitiateQuery:m,buildInitiateMutation:h,getRunningQueryThunk:p,getRunningMutationThunk:f,getRunningQueriesThunk:d,getRunningMutationsThunk:l};function p(v,w){return _=>{var C;const g=i.endpointDefinitions[v],y=e({queryArgs:w,endpointDefinition:g,endpointName:v});return(C=o.get(_))==null?void 0:C[y]}}function f(v,w){return _=>{var g;return(g=a.get(_))==null?void 0:g[w]}}function d(){return v=>Object.values(o.get(v)||{}).filter(ws)}function l(){return v=>Object.values(a.get(v)||{}).filter(ws)}function m(v,w){const _=(g,{subscribe:y=!0,forceRefetch:C,subscriptionOptions:E,[Lr]:S}={})=>(x,k)=>{var ge;const T=e({queryArgs:g,endpointDefinition:w,endpointName:v}),O=t({type:"query",subscribe:y,forceRefetch:C,subscriptionOptions:E,endpointName:v,originalArgs:g,queryCacheKey:T,[Lr]:S}),A=n.endpoints[v].select(g),I=x(O),M=A(k()),{requestId:Y,abort:J}=I,$=M.requestId!==Y,B=(ge=o.get(x))==null?void 0:ge[T],ne=()=>A(k()),X=Object.assign(S?I.then(ne):$&&!B?Promise.resolve(M):Promise.all([B,I]).then(ne),{arg:g,requestId:Y,subscriptionOptions:E,queryCacheKey:T,abort:J,async unwrap(){const U=await X;if(U.isError)throw U.error;return U.data},refetch:()=>x(_(g,{subscribe:!1,forceRefetch:!0})),unsubscribe(){y&&x(s({queryCacheKey:T,requestId:Y}))},updateSubscriptionOptions(U){X.subscriptionOptions=U,x(u({endpointName:v,requestId:Y,queryCacheKey:T,options:U}))}});if(!B&&!$&&!S){const U=o.get(x)||{};U[T]=X,o.set(x,U),X.then(()=>{delete U[T],Bt(U)||o.delete(x)})}return X};return _}function h(v){return(w,{track:_=!0,fixedCacheKey:g}={})=>(y,C)=>{const E=r({type:"mutation",endpointName:v,originalArgs:w,track:_,fixedCacheKey:g}),S=y(E),{requestId:x,abort:k,unwrap:T}=S,O=S.unwrap().then(Y=>({data:Y})).catch(Y=>({error:Y})),A=()=>{y(c({requestId:x,fixedCacheKey:g}))},I=Object.assign(O,{arg:S.arg,requestId:x,abort:k,unwrap:T,reset:A}),M=a.get(y)||{};return a.set(y,M),M[x]=I,I.then(()=>{delete M[x],Bt(M)||a.delete(y)}),g&&(M[g]=I,I.then(()=>{M[g]===I&&(delete M[g],Bt(M)||a.delete(y))})),I}}}function _s(e){return e}function Np({reducerPath:e,baseQuery:t,context:{endpointDefinitions:r},serializeQueryArgs:n,api:i,assertTagType:o}){const a=(_,g,y,C)=>(E,S)=>{const x=r[_],k=n({queryArgs:g,endpointDefinition:x,endpointName:_});if(E(i.internalActions.queryResultPatched({queryCacheKey:k,patches:y})),!C)return;const T=i.endpoints[_].select(g)(S()),O=ea(x.providesTags,T.data,void 0,g,{},o);E(i.internalActions.updateProvidedBy({queryCacheKey:k,providedTags:O}))},s=(_,g,y,C=!0)=>(E,S)=>{const k=i.endpoints[_].select(g)(S());let T={patches:[],inversePatches:[],undo:()=>E(i.util.patchQueryData(_,g,T.inversePatches,C))};if(k.status==="uninitialized")return T;let O;if("data"in k)if(Ie(k.data)){const[A,I,M]=vu(k.data,y);T.patches.push(...I),T.inversePatches.push(...M),O=A}else O=y(k.data),T.patches.push({op:"replace",path:[],value:O}),T.inversePatches.push({op:"replace",path:[],value:k.data});return E(i.util.patchQueryData(_,g,T.patches,C)),T},c=(_,g,y)=>C=>C(i.endpoints[_].initiate(g,{subscribe:!1,forceRefetch:!0,[Lr]:()=>({data:y})})),u=async(_,{signal:g,abort:y,rejectWithValue:C,fulfillWithValue:E,dispatch:S,getState:x,extra:k})=>{const T=r[_.endpointName];try{let O=_s,A;const I={signal:g,abort:y,dispatch:S,getState:x,extra:k,endpoint:_.endpointName,type:_.type,forced:_.type==="query"?p(_,x()):void 0},M=_.type==="query"?_[Lr]:void 0;if(M?A=M():T.query?(A=await t(T.query(_.originalArgs),I,T.extraOptions),T.transformResponse&&(O=T.transformResponse)):A=await T.queryFn(_.originalArgs,I,T.extraOptions,Y=>t(Y,I,T.extraOptions)),typeof process<"u",A.error)throw new bs(A.error,A.meta);return E(await O(A.data,A.meta,_.originalArgs),{fulfilledTimeStamp:Date.now(),baseQueryMeta:A.meta,[It]:!0})}catch(O){let A=O;if(A instanceof bs){let I=_s;T.query&&T.transformErrorResponse&&(I=T.transformErrorResponse);try{return C(await I(A.value,A.meta,_.originalArgs),{baseQueryMeta:A.meta,[It]:!0})}catch(M){A=M}}throw typeof process<"u",console.error(A),A}};function p(_,g){var x,k,T;const y=(k=(x=g[e])==null?void 0:x.queries)==null?void 0:k[_.queryCacheKey],C=(T=g[e])==null?void 0:T.config.refetchOnMountOrArgChange,E=y==null?void 0:y.fulfilledTimeStamp,S=_.forceRefetch??(_.subscribe&&C);return S?S===!0||(Number(new Date)-Number(E))/1e3>=S:!1}const f=ms(`${e}/executeQuery`,u,{getPendingMeta(){return{startedTimeStamp:Date.now(),[It]:!0}},condition(_,{getState:g}){var T,O,A;const y=g(),C=(O=(T=y[e])==null?void 0:T.queries)==null?void 0:O[_.queryCacheKey],E=C==null?void 0:C.fulfilledTimeStamp,S=_.originalArgs,x=C==null?void 0:C.originalArgs,k=r[_.endpointName];return eo(_)?!0:(C==null?void 0:C.status)==="pending"?!1:p(_,y)||Ru(k)&&((A=k==null?void 0:k.forceRefetch)!=null&&A.call(k,{currentArg:S,previousArg:x,endpointState:C,state:y}))?!0:!E},dispatchConditionRejection:!0}),d=ms(`${e}/executeMutation`,u,{getPendingMeta(){return{startedTimeStamp:Date.now(),[It]:!0}}}),l=_=>"force"in _,m=_=>"ifOlderThan"in _,h=(_,g,y)=>(C,E)=>{const S=l(y)&&y.force,x=m(y)&&y.ifOlderThan,k=(O=!0)=>i.endpoints[_].initiate(g,{forceRefetch:O}),T=i.endpoints[_].select(g)(E());if(S)C(k());else if(x){const O=T==null?void 0:T.fulfilledTimeStamp;if(!O){C(k());return}(Number(new Date)-Number(new Date(O)))/1e3>=x&&C(k())}else C(k(!1))};function v(_){return g=>{var y,C;return((C=(y=g==null?void 0:g.meta)==null?void 0:y.arg)==null?void 0:C.endpointName)===_}}function w(_,g){return{matchPending:hr(Ko(_),v(g)),matchFulfilled:hr(nt(_),v(g)),matchRejected:hr(zt(_),v(g))}}return{queryThunk:f,mutationThunk:d,prefetch:h,updateQueryData:s,upsertQueryData:c,patchQueryData:a,buildMatchThunkActions:w}}function Au(e,t,r,n){return ea(r[e.meta.arg.endpointName][t],nt(e)?e.payload:void 0,ai(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,n)}function on(e,t,r){const n=e[t];n&&r(n)}function Nr(e){return("arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)??e.requestId}function Ss(e,t,r){const n=e[Nr(t)];n&&r(n)}var ar={};function Mp({reducerPath:e,queryThunk:t,mutationThunk:r,context:{endpointDefinitions:n,apiUid:i,extractRehydrationInfo:o,hasRehydrationInfo:a},assertTagType:s,config:c}){const u=pe(`${e}/resetApiState`),p=qe({name:`${e}/queries`,initialState:ar,reducers:{removeQueryResult:{reducer(g,{payload:{queryCacheKey:y}}){delete g[y]},prepare:or()},queryResultPatched:{reducer(g,{payload:{queryCacheKey:y,patches:C}}){on(g,y,E=>{E.data=cs(E.data,C.concat())})},prepare:or()}},extraReducers(g){g.addCase(t.pending,(y,{meta:C,meta:{arg:E}})=>{var x;const S=eo(E);y[x=E.queryCacheKey]??(y[x]={status:"uninitialized",endpointName:E.endpointName}),on(y,E.queryCacheKey,k=>{k.status="pending",k.requestId=S&&k.requestId?k.requestId:C.requestId,E.originalArgs!==void 0&&(k.originalArgs=E.originalArgs),k.startedTimeStamp=C.startedTimeStamp})}).addCase(t.fulfilled,(y,{meta:C,payload:E})=>{on(y,C.arg.queryCacheKey,S=>{if(S.requestId!==C.requestId&&!eo(C.arg))return;const{merge:x}=n[C.arg.endpointName];if(S.status="fulfilled",x)if(S.data!==void 0){const{fulfilledTimeStamp:k,arg:T,baseQueryMeta:O,requestId:A}=C;let I=Hr(S.data,M=>x(M,E,{arg:T.originalArgs,baseQueryMeta:O,fulfilledTimeStamp:k,requestId:A}));S.data=I}else S.data=E;else S.data=n[C.arg.endpointName].structuralSharing??!0?xu(Pe(S.data)?Rf(S.data):S.data,E):E;delete S.error,S.fulfilledTimeStamp=C.fulfilledTimeStamp})}).addCase(t.rejected,(y,{meta:{condition:C,arg:E,requestId:S},error:x,payload:k})=>{on(y,E.queryCacheKey,T=>{if(!C){if(T.requestId!==S)return;T.status="rejected",T.error=k??x}})}).addMatcher(a,(y,C)=>{const{queries:E}=o(C);for(const[S,x]of Object.entries(E))((x==null?void 0:x.status)==="fulfilled"||(x==null?void 0:x.status)==="rejected")&&(y[S]=x)})}}),f=qe({name:`${e}/mutations`,initialState:ar,reducers:{removeMutationResult:{reducer(g,{payload:y}){const C=Nr(y);C in g&&delete g[C]},prepare:or()}},extraReducers(g){g.addCase(r.pending,(y,{meta:C,meta:{requestId:E,arg:S,startedTimeStamp:x}})=>{S.track&&(y[Nr(C)]={requestId:E,status:"pending",endpointName:S.endpointName,startedTimeStamp:x})}).addCase(r.fulfilled,(y,{payload:C,meta:E})=>{E.arg.track&&Ss(y,E,S=>{S.requestId===E.requestId&&(S.status="fulfilled",S.data=C,S.fulfilledTimeStamp=E.fulfilledTimeStamp)})}).addCase(r.rejected,(y,{payload:C,error:E,meta:S})=>{S.arg.track&&Ss(y,S,x=>{x.requestId===S.requestId&&(x.status="rejected",x.error=C??E)})}).addMatcher(a,(y,C)=>{const{mutations:E}=o(C);for(const[S,x]of Object.entries(E))((x==null?void 0:x.status)==="fulfilled"||(x==null?void 0:x.status)==="rejected")&&S!==(x==null?void 0:x.requestId)&&(y[S]=x)})}}),d=qe({name:`${e}/invalidation`,initialState:ar,reducers:{updateProvidedBy:{reducer(g,y){var S,x;const{queryCacheKey:C,providedTags:E}=y.payload;for(const k of Object.values(g))for(const T of Object.values(k)){const O=T.indexOf(C);O!==-1&&T.splice(O,1)}for(const{type:k,id:T}of E){const O=(S=g[k]??(g[k]={}))[x=T||"__internal_without_id"]??(S[x]=[]);O.includes(C)||O.push(C)}},prepare:or()}},extraReducers(g){g.addCase(p.actions.removeQueryResult,(y,{payload:{queryCacheKey:C}})=>{for(const E of Object.values(y))for(const S of Object.values(E)){const x=S.indexOf(C);x!==-1&&S.splice(x,1)}}).addMatcher(a,(y,C)=>{var S,x;const{provided:E}=o(C);for(const[k,T]of Object.entries(E))for(const[O,A]of Object.entries(T)){const I=(S=y[k]??(y[k]={}))[x=O||"__internal_without_id"]??(S[x]=[]);for(const M of A)I.includes(M)||I.push(M)}}).addMatcher(rt(nt(t),ai(t)),(y,C)=>{const E=Au(C,"providesTags",n,s),{queryCacheKey:S}=C.meta.arg;d.caseReducers.updateProvidedBy(y,d.actions.updateProvidedBy({queryCacheKey:S,providedTags:E}))})}}),l=qe({name:`${e}/subscriptions`,initialState:ar,reducers:{updateSubscriptionOptions(g,y){},unsubscribeQueryResult(g,y){},internal_getRTKQSubscriptions(){}}}),m=qe({name:`${e}/internalSubscriptions`,initialState:ar,reducers:{subscriptionsUpdated:{reducer(g,y){return cs(g,y.payload)},prepare:or()}}}),h=qe({name:`${e}/config`,initialState:{online:kp(),focused:Tp(),middlewareRegistered:!1,...c},reducers:{middlewareRegistered(g,{payload:y}){g.middlewareRegistered=g.middlewareRegistered==="conflict"||i!==y?"conflict":!0}},extraReducers:g=>{g.addCase(Zo,y=>{y.online=!0}).addCase(Tu,y=>{y.online=!1}).addCase(Xo,y=>{y.focused=!0}).addCase(ku,y=>{y.focused=!1}).addMatcher(a,y=>({...y}))}}),v=cu({queries:p.reducer,mutations:f.reducer,provided:d.reducer,subscriptions:m.reducer,config:h.reducer}),w=(g,y)=>v(u.match(y)?void 0:g,y),_={...h.actions,...p.actions,...l.actions,...m.actions,...f.actions,...d.actions,resetApiState:u};return{reducer:w,actions:_}}var ft=Symbol.for("RTKQ/skipToken"),Ou={status:"uninitialized"},Cs=Hr(Ou,()=>{}),Es=Hr(Ou,()=>{});function Fp({serializeQueryArgs:e,reducerPath:t}){const r=p=>Cs,n=p=>Es;return{buildQuerySelector:a,buildMutationSelector:s,selectInvalidatedBy:c,selectCachedArgsForQuery:u};function i(p){return{...p,..._p(p.status)}}function o(p){return p[t]}function a(p,f){return d=>{const l=e({queryArgs:d,endpointDefinition:f,endpointName:p});return Dt(d===ft?r:v=>{var w,_;return((_=(w=o(v))==null?void 0:w.queries)==null?void 0:_[l])??Cs},i)}}function s(){return p=>{let f;return typeof p=="object"?f=Nr(p)??ft:f=p,Dt(f===ft?n:m=>{var h,v;return((v=(h=o(m))==null?void 0:h.mutations)==null?void 0:v[f])??Es},i)}}function c(p,f){const d=p[t],l=new Set;for(const m of f.map(Zi)){const h=d.provided[m.type];if(!h)continue;let v=(m.id!==void 0?h[m.id]:hs(Object.values(h)))??[];for(const w of v)l.add(w)}return hs(Array.from(l.values()).map(m=>{const h=d.queries[m];return h?[{queryCacheKey:m,endpointName:h.endpointName,originalArgs:h.originalArgs}]:[]}))}function u(p,f){return Object.values(p[t].queries).filter(d=>(d==null?void 0:d.endpointName)===f&&d.status!=="uninitialized").map(d=>d.originalArgs)}}var Tt=WeakMap?new WeakMap:void 0,xs=({endpointName:e,queryArgs:t})=>{let r="";const n=Tt==null?void 0:Tt.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,a)=>ze(a)?Object.keys(a).sort().reduce((s,c)=>(s[c]=a[c],s),{}):a);ze(t)&&(Tt==null||Tt.set(t,i)),r=i}return`${e}(${r})`};function Dp(...e){return function(r){const n=Ir(u=>{var p;return(p=r.extractRehydrationInfo)==null?void 0:p.call(r,u,{reducerPath:r.reducerPath??"api"})}),i={reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1,invalidationBehavior:"delayed",...r,extractRehydrationInfo:n,serializeQueryArgs(u){let p=xs;if("serializeQueryArgs"in u.endpointDefinition){const f=u.endpointDefinition.serializeQueryArgs;p=d=>{const l=f(d);return typeof l=="string"?l:xs({...d,queryArgs:l})}}else r.serializeQueryArgs&&(p=r.serializeQueryArgs);return p(u)},tagTypes:[...r.tagTypes||[]]},o={endpointDefinitions:{},batch(u){u()},apiUid:Su(),extractRehydrationInfo:n,hasRehydrationInfo:Ir(u=>n(u)!=null)},a={injectEndpoints:c,enhanceEndpoints({addTagTypes:u,endpoints:p}){if(u)for(const f of u)i.tagTypes.includes(f)||i.tagTypes.push(f);if(p)for(const[f,d]of Object.entries(p))typeof d=="function"?d(o.endpointDefinitions[f]):Object.assign(o.endpointDefinitions[f]||{},d);return a}},s=e.map(u=>u.init(a,i,o));function c(u){const p=u.endpoints({query:f=>({...f,type:"query"}),mutation:f=>({...f,type:"mutation"})});for(const[f,d]of Object.entries(p)){if(!u.overrideExisting&&f in o.endpointDefinitions){typeof process<"u";continue}o.endpointDefinitions[f]=d;for(const l of s)l.injectEndpoint(f,d)}return a}return a.injectEndpoints({endpoints:r.endpoints})}}function Bp(e){for(let t in e)return!1;return!0}var $p=2147483647/1e3-1,Up=({reducerPath:e,api:t,context:r,internalState:n})=>{const{removeQueryResult:i,unsubscribeQueryResult:o}=t.internalActions;function a(p){const f=n.currentSubscriptions[p];return!!f&&!Bp(f)}const s={},c=(p,f,d)=>{var l;if(o.match(p)){const m=f.getState()[e],{queryCacheKey:h}=p.payload;u(h,(l=m.queries[h])==null?void 0:l.endpointName,f,m.config)}if(t.util.resetApiState.match(p))for(const[m,h]of Object.entries(s))h&&clearTimeout(h),delete s[m];if(r.hasRehydrationInfo(p)){const m=f.getState()[e],{queries:h}=r.extractRehydrationInfo(p);for(const[v,w]of Object.entries(h))u(v,w==null?void 0:w.endpointName,f,m.config)}};function u(p,f,d,l){const m=r.endpointDefinitions[f],h=(m==null?void 0:m.keepUnusedDataFor)??l.keepUnusedDataFor;if(h===1/0)return;const v=Math.max(0,Math.min(h,$p));if(!a(p)){const w=s[p];w&&clearTimeout(w),s[p]=setTimeout(()=>{a(p)||d.dispatch(i({queryCacheKey:p})),delete s[p]},v*1e3)}}return c},jp=({reducerPath:e,context:t,context:{endpointDefinitions:r},mutationThunk:n,queryThunk:i,api:o,assertTagType:a,refetchQuery:s,internalState:c})=>{const{removeQueryResult:u}=o.internalActions,p=rt(nt(n),ai(n)),f=rt(nt(n,i),zt(n,i));let d=[];const l=(v,w)=>{p(v)?h(Au(v,"invalidatesTags",r,a),w):f(v)?h([],w):o.util.invalidateTags.match(v)&&h(ea(v.payload,void 0,void 0,void 0,void 0,a),w)};function m(v){var w,_;for(const g in v.queries)if(((w=v.queries[g])==null?void 0:w.status)==="pending")return!0;for(const g in v.mutations)if(((_=v.mutations[g])==null?void 0:_.status)==="pending")return!0;return!1}function h(v,w){const _=w.getState(),g=_[e];if(d.push(...v),g.config.invalidationBehavior==="delayed"&&m(g))return;const y=d;if(d=[],y.length===0)return;const C=o.util.selectInvalidatedBy(_,y);t.batch(()=>{const E=Array.from(C.values());for(const{queryCacheKey:S}of E){const x=g.queries[S],k=c.currentSubscriptions[S]??{};x&&(Bt(k)===0?w.dispatch(u({queryCacheKey:S})):x.status!=="uninitialized"&&w.dispatch(s(x,S)))}})}return l},zp=({reducerPath:e,queryThunk:t,api:r,refetchQuery:n,internalState:i})=>{const o={},a=(d,l)=>{(r.internalActions.updateSubscriptionOptions.match(d)||r.internalActions.unsubscribeQueryResult.match(d))&&c(d.payload,l),(t.pending.match(d)||t.rejected.match(d)&&d.meta.condition)&&c(d.meta.arg,l),(t.fulfilled.match(d)||t.rejected.match(d)&&!d.meta.condition)&&s(d.meta.arg,l),r.util.resetApiState.match(d)&&p()};function s({queryCacheKey:d},l){const h=l.getState()[e].queries[d],v=i.currentSubscriptions[d];if(!h||h.status==="uninitialized")return;const w=f(v);if(!Number.isFinite(w))return;const _=o[d];_!=null&&_.timeout&&(clearTimeout(_.timeout),_.timeout=void 0);const g=Date.now()+w,y=o[d]={nextPollTimestamp:g,pollingInterval:w,timeout:setTimeout(()=>{y.timeout=void 0,l.dispatch(n(h,d))},w)}}function c({queryCacheKey:d},l){const h=l.getState()[e].queries[d],v=i.currentSubscriptions[d];if(!h||h.status==="uninitialized")return;const w=f(v);if(!Number.isFinite(w)){u(d);return}const _=o[d],g=Date.now()+w;(!_||g<_.nextPollTimestamp)&&s({queryCacheKey:d},l)}function u(d){const l=o[d];l!=null&&l.timeout&&clearTimeout(l.timeout),delete o[d]}function p(){for(const d of Object.keys(o))u(d)}function f(d={}){let l=Number.POSITIVE_INFINITY;for(let m in d)d[m].pollingInterval&&(l=Math.min(d[m].pollingInterval,l));return l}return a},Hp=({reducerPath:e,context:t,api:r,refetchQuery:n,internalState:i})=>{const{removeQueryResult:o}=r.internalActions,a=(c,u)=>{Xo.match(c)&&s(u,"refetchOnFocus"),Zo.match(c)&&s(u,"refetchOnReconnect")};function s(c,u){const p=c.getState()[e],f=p.queries,d=i.currentSubscriptions;t.batch(()=>{for(const l of Object.keys(d)){const m=f[l],h=d[l];if(!h||!m)continue;(Object.values(h).some(w=>w[u]===!0)||Object.values(h).every(w=>w[u]===void 0)&&p.config[u])&&(Bt(h)===0?c.dispatch(o({queryCacheKey:l})):m.status!=="uninitialized"&&c.dispatch(n(m,l)))}})}return a},ks=new Error("Promise never resolved before cacheEntryRemoved."),qp=({api:e,reducerPath:t,context:r,queryThunk:n,mutationThunk:i,internalState:o})=>{const a=Xi(n),s=Xi(i),c=nt(n,i),u={},p=(l,m,h)=>{const v=f(l);if(n.pending.match(l)){const w=h[t].queries[v],_=m.getState()[t].queries[v];!w&&_&&d(l.meta.arg.endpointName,l.meta.arg.originalArgs,v,m,l.meta.requestId)}else if(i.pending.match(l))m.getState()[t].mutations[v]&&d(l.meta.arg.endpointName,l.meta.arg.originalArgs,v,m,l.meta.requestId);else if(c(l)){const w=u[v];w!=null&&w.valueResolved&&(w.valueResolved({data:l.payload,meta:l.meta.baseQueryMeta}),delete w.valueResolved)}else if(e.internalActions.removeQueryResult.match(l)||e.internalActions.removeMutationResult.match(l)){const w=u[v];w&&(delete u[v],w.cacheEntryRemoved())}else if(e.util.resetApiState.match(l))for(const[w,_]of Object.entries(u))delete u[w],_.cacheEntryRemoved()};function f(l){return a(l)?l.meta.arg.queryCacheKey:s(l)?l.meta.requestId:e.internalActions.removeQueryResult.match(l)?l.payload.queryCacheKey:e.internalActions.removeMutationResult.match(l)?Nr(l.payload):""}function d(l,m,h,v,w){const _=r.endpointDefinitions[l],g=_==null?void 0:_.onCacheEntryAdded;if(!g)return;let y={};const C=new Promise(O=>{y.cacheEntryRemoved=O}),E=Promise.race([new Promise(O=>{y.valueResolved=O}),C.then(()=>{throw ks})]);E.catch(()=>{}),u[h]=y;const S=e.endpoints[l].select(_.type==="query"?m:h),x=v.dispatch((O,A,I)=>I),k={...v,getCacheEntry:()=>S(v.getState()),requestId:w,extra:x,updateCachedData:_.type==="query"?O=>v.dispatch(e.util.updateQueryData(l,m,O)):void 0,cacheDataLoaded:E,cacheEntryRemoved:C},T=g(m,k);Promise.resolve(T).catch(O=>{if(O!==ks)throw O})}return p},Wp=({api:e,context:t,queryThunk:r,mutationThunk:n})=>{const i=Ko(r,n),o=zt(r,n),a=nt(r,n),s={};return(u,p)=>{var f,d;if(i(u)){const{requestId:l,arg:{endpointName:m,originalArgs:h}}=u.meta,v=t.endpointDefinitions[m],w=v==null?void 0:v.onQueryStarted;if(w){const _={},g=new Promise((S,x)=>{_.resolve=S,_.reject=x});g.catch(()=>{}),s[l]=_;const y=e.endpoints[m].select(v.type==="query"?h:l),C=p.dispatch((S,x,k)=>k),E={...p,getCacheEntry:()=>y(p.getState()),requestId:l,extra:C,updateCachedData:v.type==="query"?S=>p.dispatch(e.util.updateQueryData(m,h,S)):void 0,queryFulfilled:g};w(h,E)}}else if(a(u)){const{requestId:l,baseQueryMeta:m}=u.meta;(f=s[l])==null||f.resolve({data:u.payload,meta:m}),delete s[l]}else if(o(u)){const{requestId:l,rejectedWithValue:m,baseQueryMeta:h}=u.meta;(d=s[l])==null||d.reject({error:u.payload??u.error,isUnhandledError:!m,meta:h}),delete s[l]}}},Vp=({api:e,context:{apiUid:t},reducerPath:r})=>(n,i)=>{e.util.resetApiState.match(n)&&i.dispatch(e.internalActions.middlewareRegistered(t)),typeof process<"u"},Gp=({api:e,queryThunk:t,internalState:r})=>{const n=`${e.reducerPath}/subscriptions`;let i=null,o=null;const{updateSubscriptionOptions:a,unsubscribeQueryResult:s}=e.internalActions,c=(l,m)=>{var v,w,_;if(a.match(m)){const{queryCacheKey:g,requestId:y,options:C}=m.payload;return(v=l==null?void 0:l[g])!=null&&v[y]&&(l[g][y]=C),!0}if(s.match(m)){const{queryCacheKey:g,requestId:y}=m.payload;return l[g]&&delete l[g][y],!0}if(e.internalActions.removeQueryResult.match(m))return delete l[m.payload.queryCacheKey],!0;if(t.pending.match(m)){const{meta:{arg:g,requestId:y}}=m,C=l[w=g.queryCacheKey]??(l[w]={});return C[`${y}_running`]={},g.subscribe&&(C[y]=g.subscriptionOptions??C[y]??{}),!0}let h=!1;if(t.fulfilled.match(m)||t.rejected.match(m)){const g=l[m.meta.arg.queryCacheKey]||{},y=`${m.meta.requestId}_running`;h||(h=!!g[y]),delete g[y]}if(t.rejected.match(m)){const{meta:{condition:g,arg:y,requestId:C}}=m;if(g&&y.subscribe){const E=l[_=y.queryCacheKey]??(l[_]={});E[C]=y.subscriptionOptions??E[C]??{},h=!0}}return h},u=()=>r.currentSubscriptions,d={getSubscriptions:u,getSubscriptionCount:l=>{const h=u()[l]??{};return Bt(h)},isRequestSubscribed:(l,m)=>{var v;const h=u();return!!((v=h==null?void 0:h[l])!=null&&v[m])}};return(l,m)=>{if(i||(i=JSON.parse(JSON.stringify(r.currentSubscriptions))),e.util.resetApiState.match(l))return i=r.currentSubscriptions={},o=null,[!0,!1];if(e.internalActions.internal_getRTKQSubscriptions.match(l))return[!1,d];const h=c(r.currentSubscriptions,l);let v=!0;if(h){o||(o=setTimeout(()=>{const g=JSON.parse(JSON.stringify(r.currentSubscriptions)),[,y]=vu(i,()=>g);m.next(e.internalActions.subscriptionsUpdated(y)),i=g,o=null},500));const w=typeof l.type=="string"&&!!l.type.startsWith(n),_=t.rejected.match(l)&&l.meta.condition&&!!l.meta.arg.subscribe;v=!w&&!_}return[v,!1]}};function Qp(e){const{reducerPath:t,queryThunk:r,api:n,context:i}=e,{apiUid:o}=i,a={invalidateTags:pe(`${t}/invalidateTags`)},s=f=>f.type.startsWith(`${t}/`),c=[Vp,Up,jp,zp,qp,Wp];return{middleware:f=>{let d=!1;const m={...e,internalState:{currentSubscriptions:{}},refetchQuery:p,isThisApiSliceAction:s},h=c.map(_=>_(m)),v=Gp(m),w=Hp(m);return _=>g=>{if(!uu(g))return _(g);d||(d=!0,f.dispatch(n.internalActions.middlewareRegistered(o)));const y={...f,next:_},C=f.getState(),[E,S]=v(g,y,C);let x;if(E?x=_(g):x=S,f.getState()[t]&&(w(g,y,C),s(g)||i.hasRehydrationInfo(g)))for(let k of h)k(g,y,C);return x}},actions:a};function p(f,d,l={}){return r({type:"query",endpointName:f.endpointName,originalArgs:f.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:d,...l})}}function Ze(e,...t){return Object.assign(e,...t)}var Ts=Symbol(),Yp=()=>({name:Ts,init(e,{baseQuery:t,tagTypes:r,reducerPath:n,serializeQueryArgs:i,keepUnusedDataFor:o,refetchOnMountOrArgChange:a,refetchOnFocus:s,refetchOnReconnect:c,invalidationBehavior:u},p){Df();const f=$=>(typeof process<"u",$);Object.assign(e,{reducerPath:n,endpoints:{},internalActions:{onOnline:Zo,onOffline:Tu,onFocus:Xo,onFocusLost:ku},util:{}});const{queryThunk:d,mutationThunk:l,patchQueryData:m,updateQueryData:h,upsertQueryData:v,prefetch:w,buildMatchThunkActions:_}=Np({baseQuery:t,reducerPath:n,context:p,api:e,serializeQueryArgs:i,assertTagType:f}),{reducer:g,actions:y}=Mp({context:p,queryThunk:d,mutationThunk:l,reducerPath:n,assertTagType:f,config:{refetchOnFocus:s,refetchOnReconnect:c,refetchOnMountOrArgChange:a,keepUnusedDataFor:o,reducerPath:n,invalidationBehavior:u}});Ze(e.util,{patchQueryData:m,updateQueryData:h,upsertQueryData:v,prefetch:w,resetApiState:y.resetApiState}),Ze(e.internalActions,y);const{middleware:C,actions:E}=Qp({reducerPath:n,context:p,queryThunk:d,mutationThunk:l,api:e,assertTagType:f});Ze(e.util,E),Ze(e,{reducer:g,middleware:C});const{buildQuerySelector:S,buildMutationSelector:x,selectInvalidatedBy:k,selectCachedArgsForQuery:T}=Fp({serializeQueryArgs:i,reducerPath:n});Ze(e.util,{selectInvalidatedBy:k,selectCachedArgsForQuery:T});const{buildInitiateQuery:O,buildInitiateMutation:A,getRunningMutationThunk:I,getRunningMutationsThunk:M,getRunningQueriesThunk:Y,getRunningQueryThunk:J}=Lp({queryThunk:d,mutationThunk:l,api:e,serializeQueryArgs:i,context:p});return Ze(e.util,{getRunningMutationThunk:I,getRunningMutationsThunk:M,getRunningQueryThunk:J,getRunningQueriesThunk:Y}),{name:Ts,injectEndpoint($,B){var X;const ne=e;(X=ne.endpoints)[$]??(X[$]={}),Ru(B)?Ze(ne.endpoints[$],{name:$,select:S($,B),initiate:O($,B)},_(d,$)):Pp(B)&&Ze(ne.endpoints[$],{name:$,select:x(),initiate:A($)},_(l,$))}}}}),Pu={exports:{}},Iu={};const Kp=Vd(Er);/**
|
|
9
9
|
* @license React
|
|
10
10
|
* use-sync-external-store-with-selector.production.min.js
|
|
11
11
|
*
|
|
@@ -13,13 +13,13 @@ var jl=Object.defineProperty;var zl=(e,t,r)=>t in e?jl(e,t,{enumerable:!0,config
|
|
|
13
13
|
*
|
|
14
14
|
* This source code is licensed under the MIT license found in the
|
|
15
15
|
* LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/var Wr=Kp;function Jp(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Xp=typeof Object.is=="function"?Object.is:Jp,Zp=Wr.useSyncExternalStore,em=Wr.useRef,tm=Wr.useEffect,rm=Wr.useMemo,nm=Wr.useDebugValue;Iu.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var o=em(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=rm(function(){function c(l){if(!u){if(u=!0,p=l,l=n(l),i!==void 0&&a.hasValue){var m=a.value;if(i(m,l))return f=m}return f=l}if(m=f,Xp(p,l))return m;var h=n(l);return i!==void 0&&i(m,h)?m:(p=l,f=h)}var u=!1,p,f,d=r===void 0?null:r;return[function(){return c(t())},d===null?void 0:function(){return c(d())}]},[t,r,n,i]);var s=Zp(e,o[0],o[1]);return tm(function(){a.hasValue=!0,a.value=s},[s]),nm(s),s};Pu.exports=Iu;var im=Pu.exports,ye="default"in Er?Uc:Er,Rs=Symbol.for("react-redux-context"),As=typeof globalThis<"u"?globalThis:{};function om(){if(!ye.createContext)return{};const e=As[Rs]??(As[Rs]=new Map);let t=e.get(ye.createContext);return t||(t=ye.createContext(null),e.set(ye.createContext,t)),t}var it=om(),am=()=>{throw new Error("uSES not initialized!")};function ta(e=it){return function(){return ye.useContext(e)}}var Lu=ta(),Nu=am,sm=e=>{Nu=e},cm=(e,t)=>e===t;function um(e=it){const t=e===it?Lu:ta(e);return function(n,i={}){const{equalityFn:o=cm,devModeChecks:a={}}=typeof i=="function"?{equalityFn:i}:i,{store:s,subscription:c,getServerState:u,stabilityCheck:p,identityFunctionCheck:f}=t();ye.useRef(!0);const d=ye.useCallback({[n.name](m){return n(m)}}[n.name],[n,p,a.stabilityCheck]),l=Nu(c.addNestedSub,s.getState,u||s.getState,d,o);return ye.useDebugValue(l),l}}var Mu=um();function Fu(e){e()}function lm(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Fu(()=>{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 Os={notify(){},get:()=>[]};function dm(e,t){let r,n=Os,i=0,o=!1;function a(h){p();const v=n.subscribe(h);let w=!1;return()=>{w||(w=!0,v(),f())}}function s(){n.notify()}function c(){m.onStateChange&&m.onStateChange()}function u(){return o}function p(){i++,r||(r=t?t.addNestedSub(c):e.subscribe(c),n=lm())}function f(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=Os)}function d(){o||(o=!0,p())}function l(){o&&(o=!1,f())}const m={addNestedSub:a,notifyNestedSubs:s,handleChangeWrapper:c,isSubscribed:u,trySubscribe:d,tryUnsubscribe:l,getListeners:()=>n};return m}var fm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",pm=fm?ye.useLayoutEffect:ye.useEffect;function Ps(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function Pn(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 mm({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const a=ye.useMemo(()=>{const u=dm(e);return{store:e,subscription:u,getServerState:n?()=>n:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,n,i,o]),s=ye.useMemo(()=>e.getState(),[e]);pm(()=>{const{subscription:u}=a;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),s!==e.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[a,s]);const c=t||it;return ye.createElement(c.Provider,{value:a},r)}var hm=mm;function Du(e=it){const t=e===it?Lu:ta(e);return function(){const{store:n}=t();return n}}var Bu=Du();function vm(e=it){const t=e===it?Bu:Du(e);return function(){return t().dispatch}}var $u=vm(),gm=Fu;sm(im.useSyncExternalStoreWithSelector);function Is(e,t,r,n){const i=de(()=>({queryArgs:e,serialized:typeof e=="object"?t({queryArgs:e,endpointDefinition:r,endpointName:n}):e}),[e,t,r,n]),o=Ee(i);return re(()=>{o.current.serialized!==i.serialized&&(o.current=i)},[i]),o.current.serialized===i.serialized?o.current.queryArgs:e}var Si=Symbol();function Ci(e){const t=Ee(e);return re(()=>{Pn(t.current,e)||(t.current=e)},[e]),Pn(t.current,e)?t.current:e}var Rt=WeakMap?new WeakMap:void 0,ym=({endpointName:e,queryArgs:t})=>{let r="";const n=Rt==null?void 0:Rt.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,a)=>ze(a)?Object.keys(a).sort().reduce((s,c)=>(s[c]=a[c],s),{}):a);ze(t)&&(Rt==null||Rt.set(t,i)),r=i}return`${e}(${r})`},bm=typeof window<"u"&&window.document&&window.document.createElement?_t:re,wm=e=>e.isUninitialized?{...e,isUninitialized:!1,isFetching:!0,isLoading:e.data===void 0,status:Eu.pending}:e;function _m({api:e,moduleOptions:{batch:t,hooks:{useDispatch:r,useSelector:n,useStore:i},unstable__sideEffectsInRender:o},serializeQueryArgs:a,context:s}){const c=o?l=>l():re;return{buildQueryHooks:f,buildMutationHook:d,usePrefetch:p};function u(l,m,h){if(m!=null&&m.endpointName&&l.isUninitialized){const{endpointName:C}=m,E=s.endpointDefinitions[C];a({queryArgs:m.originalArgs,endpointDefinition:E,endpointName:C})===a({queryArgs:h,endpointDefinition:E,endpointName:C})&&(m=void 0)}let v=l.isSuccess?l.data:m==null?void 0:m.data;v===void 0&&(v=l.data);const w=v!==void 0,_=l.isLoading,g=!w&&_,y=l.isSuccess||_&&w;return{...l,data:v,currentData:l.data,isFetching:_,isLoading:g,isSuccess:y}}function p(l,m){const h=r(),v=Ci(m);return Ot((w,_)=>h(e.util.prefetch(l,w,{...v,..._})),[l,h,v])}function f(l){const m=(w,{refetchOnReconnect:_,refetchOnFocus:g,refetchOnMountOrArgChange:y,skip:C=!1,pollingInterval:E=0}={})=>{const{initiate:S}=e.endpoints[l],x=r(),k=Ee();if(!k.current){const B=x(e.internalActions.internal_getRTKQSubscriptions());k.current=B}const T=Is(C?ft:w,ym,s.endpointDefinitions[l],l),O=Ci({refetchOnReconnect:_,refetchOnFocus:g,pollingInterval:E}),A=Ee(!1),I=Ee();let{queryCacheKey:M,requestId:Y}=I.current||{},J=!1;M&&Y&&(J=k.current.isRequestSubscribed(M,Y));const $=!J&&A.current;return c(()=>{A.current=J}),c(()=>{$&&(I.current=void 0)},[$]),c(()=>{var X;const B=I.current;if(typeof process<"u",T===ft){B==null||B.unsubscribe(),I.current=void 0;return}const ne=(X=I.current)==null?void 0:X.subscriptionOptions;if(!B||B.arg!==T){B==null||B.unsubscribe();const ge=x(S(T,{subscriptionOptions:O,forceRefetch:y}));I.current=ge}else O!==ne&&B.updateSubscriptionOptions(O)},[x,S,y,T,O,$]),re(()=>()=>{var B;(B=I.current)==null||B.unsubscribe(),I.current=void 0},[]),de(()=>({refetch:()=>{var B;if(!I.current)throw new Error(ke(38));return(B=I.current)==null?void 0:B.refetch()}}),[])},h=({refetchOnReconnect:w,refetchOnFocus:_,pollingInterval:g=0}={})=>{const{initiate:y}=e.endpoints[l],C=r(),[E,S]=je(Si),x=Ee(),k=Ci({refetchOnReconnect:w,refetchOnFocus:_,pollingInterval:g});c(()=>{var I,M;const A=(I=x.current)==null?void 0:I.subscriptionOptions;k!==A&&((M=x.current)==null||M.updateSubscriptionOptions(k))},[k]);const T=Ee(k);c(()=>{T.current=k},[k]);const O=Ot(function(A,I=!1){let M;return t(()=>{var Y;(Y=x.current)==null||Y.unsubscribe(),x.current=M=C(y(A,{subscriptionOptions:T.current,forceRefetch:!I})),S(A)}),M},[C,y]);return re(()=>()=>{var A;(A=x==null?void 0:x.current)==null||A.unsubscribe()},[]),re(()=>{E!==Si&&!x.current&&O(E,!0)},[E,O]),de(()=>[O,E],[O,E])},v=(w,{skip:_=!1,selectFromResult:g}={})=>{const{select:y}=e.endpoints[l],C=Is(_?ft:w,a,s.endpointDefinitions[l],l),E=Ee(),S=de(()=>Dt([y(C),(A,I)=>I,A=>C],u),[y,C]),x=de(()=>g?Dt([S],g,{devModeChecks:{identityFunctionCheck:"never"}}):S,[S,g]),k=n(A=>x(A,E.current),Pn),T=i(),O=S(T.getState(),E.current);return bm(()=>{E.current=O},[O]),k};return{useQueryState:v,useQuerySubscription:m,useLazyQuerySubscription:h,useLazyQuery(w){const[_,g]=h(w),y=v(g,{...w,skip:g===Si}),C=de(()=>({lastArg:g}),[g]);return de(()=>[_,y,C],[_,y,C])},useQuery(w,_){const g=m(w,_),y=v(w,{selectFromResult:w===ft||_!=null&&_.skip?void 0:wm,..._}),{data:C,status:E,isLoading:S,isSuccess:x,isError:k,error:T}=y;return Sn({data:C,status:E,isLoading:S,isSuccess:x,isError:k,error:T}),de(()=>({...y,...g}),[y,g])}}}function d(l){return({selectFromResult:m,fixedCacheKey:h}={})=>{const{select:v,initiate:w}=e.endpoints[l],_=r(),[g,y]=je();re(()=>()=>{g!=null&&g.arg.fixedCacheKey||g==null||g.reset()},[g]);const C=Ot(function(X){const ge=_(w(X,{fixedCacheKey:h}));return y(ge),ge},[_,w,h]),{requestId:E}=g||{},S=de(()=>v({fixedCacheKey:h,requestId:g==null?void 0:g.requestId}),[h,g,v]),x=de(()=>m?Dt([S],m):S,[m,S]),k=n(x,Pn),T=h==null?g==null?void 0:g.arg.originalArgs:void 0,O=Ot(()=>{t(()=>{g&&y(void 0),h&&_(e.internalActions.removeMutationResult({requestId:E,fixedCacheKey:h}))})},[_,h,g,E]),{endpointName:A,data:I,status:M,isLoading:Y,isSuccess:J,isError:$,error:B}=k;Sn({endpointName:A,data:I,status:M,isLoading:Y,isSuccess:J,isError:$,error:B});const ne=de(()=>({...k,originalArgs:T,reset:O}),[k,T,O]);return de(()=>[C,ne],[C,ne])}}}function Sm(e){return e.type==="query"}function Cm(e){return e.type==="mutation"}function Ei(e){return e.replace(e[0],e[0].toUpperCase())}function an(e,...t){return Object.assign(e,...t)}var Em=Symbol(),xm=({batch:e=gm,hooks:t={useDispatch:$u,useSelector:Mu,useStore:Bu},unstable__sideEffectsInRender:r=!1,...n}={})=>({name:Em,init(i,{serializeQueryArgs:o},a){const s=i,{buildQueryHooks:c,buildMutationHook:u,usePrefetch:p}=_m({api:i,moduleOptions:{batch:e,hooks:t,unstable__sideEffectsInRender:r},serializeQueryArgs:o,context:a});return an(s,{usePrefetch:p}),an(a,{batch:e}),{injectEndpoint(f,d){if(Sm(d)){const{useQuery:l,useLazyQuery:m,useLazyQuerySubscription:h,useQueryState:v,useQuerySubscription:w}=c(f);an(s.endpoints[f],{useQuery:l,useLazyQuery:m,useLazyQuerySubscription:h,useQueryState:v,useQuerySubscription:w}),i[`use${Ei(f)}Query`]=l,i[`useLazy${Ei(f)}Query`]=m}else if(Cm(d)){const l=u(f);an(s.endpoints[f],{useMutation:l}),i[`use${Ei(f)}Mutation`]=l}}}}}),Uu=Dp(Yp(),xm());const ju=async(e,t,r)=>{const n=t.getState().session.backendUrl;return Op({baseUrl:n,prepareHeaders:(i,{getState:o})=>{const{session:a}=o();return i.set("Accept","application/json"),i.set("Authorization",`Bearer ${a.accessToken}`),i}})(e,t,r)};var to={exports:{}};(function(e,t){(function(r,n){var i="1.0.37",o="",a="?",s="function",c="undefined",u="object",p="string",f="major",d="model",l="name",m="type",h="vendor",v="version",w="architecture",_="console",g="mobile",y="tablet",C="smarttv",E="wearable",S="embedded",x=500,k="Amazon",T="Apple",O="ASUS",A="BlackBerry",I="Browser",M="Chrome",Y="Edge",J="Firefox",$="Google",B="Huawei",ne="LG",X="Microsoft",ge="Motorola",U="Opera",Ce="Samsung",wa="Sharp",Jr="Sony",ci="Xiaomi",ui="Zebra",_a="Facebook",Sa="Chromium OS",Ca="Mac OS",Bl=function(D,q){var F={};for(var Q in D)q[Q]&&q[Q].length%2===0?F[Q]=q[Q].concat(D[Q]):F[Q]=D[Q];return F},Xr=function(D){for(var q={},F=0;F<D.length;F++)q[D[F].toUpperCase()]=D[F];return q},Ea=function(D,q){return typeof D===p?rr(q).indexOf(rr(D))!==-1:!1},rr=function(D){return D.toLowerCase()},$l=function(D){return typeof D===p?D.replace(/[^\d\.]/g,o).split(".")[0]:n},li=function(D,q){if(typeof D===p)return D=D.replace(/^\s\s*/,o),typeof q===c?D:D.substring(0,x)},nr=function(D,q){for(var F=0,Q,Xe,Ne,H,N,Me;F<q.length&&!N;){var fi=q[F],Ta=q[F+1];for(Q=Xe=0;Q<fi.length&&!N&&fi[Q];)if(N=fi[Q++].exec(D),N)for(Ne=0;Ne<Ta.length;Ne++)Me=N[++Xe],H=Ta[Ne],typeof H===u&&H.length>0?H.length===2?typeof H[1]==s?this[H[0]]=H[1].call(this,Me):this[H[0]]=H[1]:H.length===3?typeof H[1]===s&&!(H[1].exec&&H[1].test)?this[H[0]]=Me?H[1].call(this,Me,H[2]):n:this[H[0]]=Me?Me.replace(H[1],H[2]):n:H.length===4&&(this[H[0]]=Me?H[3].call(this,Me.replace(H[1],H[2])):n):this[H]=Me||n;F+=2}},di=function(D,q){for(var F in q)if(typeof q[F]===u&&q[F].length>0){for(var Q=0;Q<q[F].length;Q++)if(Ea(q[F][Q],D))return F===a?n:F}else if(Ea(q[F],D))return F===a?n:F;return D},Ul={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},xa={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"},ka={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[v,[l,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[v,[l,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[l,v],[/opios[\/ ]+([\w\.]+)/i],[v,[l,U+" Mini"]],[/\bopr\/([\w\.]+)/i],[v,[l,U]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[v,[l,"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],[l,v],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[v,[l,"UC"+I]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[v,[l,"WeChat"]],[/konqueror\/([\w\.]+)/i],[v,[l,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[v,[l,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[v,[l,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[v,[l,"Smart Lenovo "+I]],[/(avast|avg)\/([\w\.]+)/i],[[l,/(.+)/,"$1 Secure "+I],v],[/\bfocus\/([\w\.]+)/i],[v,[l,J+" Focus"]],[/\bopt\/([\w\.]+)/i],[v,[l,U+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[v,[l,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[v,[l,"Dolphin"]],[/coast\/([\w\.]+)/i],[v,[l,U+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[v,[l,"MIUI "+I]],[/fxios\/([-\w\.]+)/i],[v,[l,J]],[/\bqihu|(qi?ho?o?|360)browser/i],[[l,"360 "+I]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[l,/(.+)/,"$1 "+I],v],[/samsungbrowser\/([\w\.]+)/i],[v,[l,Ce+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[l,/_/g," "],v],[/metasr[\/ ]?([\d\.]+)/i],[v,[l,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[l,"Sogou Mobile"],v],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[l,v],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[l],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[l,_a],v],[/(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],[l,v],[/\bgsa\/([\w\.]+) .*safari\//i],[v,[l,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[v,[l,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[v,[l,M+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[l,M+" WebView"],v],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[v,[l,"Android "+I]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[l,v],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[v,[l,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[v,l],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[l,[v,di,Ul]],[/(webkit|khtml)\/([\w\.]+)/i],[l,v],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[l,"Netscape"],v],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[v,[l,J+" 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],[l,v],[/(cobalt)\/([\w\.]+)/i],[l,[v,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[w,"amd64"]],[/(ia32(?=;))/i],[[w,rr]],[/((?: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,rr]],[/(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,rr]]],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,[h,Ce],[m,y]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[h,Ce],[m,g]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[h,T],[m,g]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[h,T],[m,y]],[/(macintosh);/i],[d,[h,T]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[h,wa],[m,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[h,B],[m,y]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[h,B],[m,g]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[h,ci],[m,g]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[h,ci],[m,y]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[h,"OPPO"],[m,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[h,"Vivo"],[m,g]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[h,"Realme"],[m,g]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[h,ge],[m,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[h,ge],[m,y]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[h,ne],[m,y]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[h,ne],[m,g]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[h,"Lenovo"],[m,y]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[h,"Nokia"],[m,g]],[/(pixel c)\b/i],[d,[h,$],[m,y]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[h,$],[m,g]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[h,Jr],[m,g]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[h,Jr],[m,y]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[h,"OnePlus"],[m,g]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[h,k],[m,y]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[h,k],[m,g]],[/(playbook);[-\w\),; ]+(rim)/i],[d,h,[m,y]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[h,A],[m,g]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[h,O],[m,y]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[h,O],[m,g]],[/(nexus 9)/i],[d,[h,"HTC"],[m,y]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[d,/_/g," "],[m,g]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[h,"Acer"],[m,y]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[h,"Meizu"],[m,g]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[h,"Ulefone"],[m,g]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[h,d,[m,g]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,d,[m,y]],[/(surface duo)/i],[d,[h,X],[m,y]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[h,"Fairphone"],[m,g]],[/(u304aa)/i],[d,[h,"AT&T"],[m,g]],[/\bsie-(\w*)/i],[d,[h,"Siemens"],[m,g]],[/\b(rct\w+) b/i],[d,[h,"RCA"],[m,y]],[/\b(venue[\d ]{2,7}) b/i],[d,[h,"Dell"],[m,y]],[/\b(q(?:mv|ta)\w+) b/i],[d,[h,"Verizon"],[m,y]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[h,"Barnes & Noble"],[m,y]],[/\b(tm\d{3}\w+) b/i],[d,[h,"NuVision"],[m,y]],[/\b(k88) b/i],[d,[h,"ZTE"],[m,y]],[/\b(nx\d{3}j) b/i],[d,[h,"ZTE"],[m,g]],[/\b(gen\d{3}) b.+49h/i],[d,[h,"Swiss"],[m,g]],[/\b(zur\d{3}) b/i],[d,[h,"Swiss"],[m,y]],[/\b((zeki)?tb.*\b) b/i],[d,[h,"Zeki"],[m,y]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],d,[m,y]],[/\b(ns-?\w{0,9}) b/i],[d,[h,"Insignia"],[m,y]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[h,"NextBook"],[m,y]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],d,[m,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],d,[m,g]],[/\b(ph-1) /i],[d,[h,"Essential"],[m,g]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[h,"Envizen"],[m,y]],[/\b(trio[-\w\. ]+) b/i],[d,[h,"MachSpeed"],[m,y]],[/\btu_(1491) b/i],[d,[h,"Rotor"],[m,y]],[/(shield[\w ]+) b/i],[d,[h,"Nvidia"],[m,y]],[/(sprint) (\w+)/i],[h,d,[m,g]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[h,X],[m,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[h,ui],[m,y]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[h,ui],[m,g]],[/smart-tv.+(samsung)/i],[h,[m,C]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[h,Ce],[m,C]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,ne],[m,C]],[/(apple) ?tv/i],[h,[d,T+" TV"],[m,C]],[/crkey/i],[[d,M+"cast"],[h,$],[m,C]],[/droid.+aft(\w+)( bui|\))/i],[d,[h,k],[m,C]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[h,wa],[m,C]],[/(bravia[\w ]+)( bui|\))/i],[d,[h,Jr],[m,C]],[/(mitv-\w{5}) bui/i],[d,[h,ci],[m,C]],[/Hbbtv.*(technisat) (.*);/i],[h,d,[m,C]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,li],[d,li],[m,C]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[m,C]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,d,[m,_]],[/droid.+; (shield) bui/i],[d,[h,"Nvidia"],[m,_]],[/(playstation [345portablevi]+)/i],[d,[h,Jr],[m,_]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[h,X],[m,_]],[/((pebble))app/i],[h,d,[m,E]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[h,T],[m,E]],[/droid.+; (glass) \d/i],[d,[h,$],[m,E]],[/droid.+; (wt63?0{2,3})\)/i],[d,[h,ui],[m,E]],[/(quest( 2| pro)?)/i],[d,[h,_a],[m,E]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[m,S]],[/(aeobc)\b/i],[d,[h,k],[m,S]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[m,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[m,y]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[m,y]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[m,g]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[v,[l,Y+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[v,[l,"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],[l,v],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[v,l]],os:[[/microsoft (windows) (vista|xp)/i],[l,v],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[l,[v,di,xa]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[v,di,xa],[l,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[v,/_/g,"."],[l,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[l,Ca],[v,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[v,l],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[l,v],[/\(bb(10);/i],[v,[l,A]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[v,[l,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[v,[l,J+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[v,[l,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[v,[l,"watchOS"]],[/crkey\/([\d\.]+)/i],[v,[l,M+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[l,Sa],v],[/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],[l,v],[/(sunos) ?([\w\.\d]*)/i],[[l,"Solaris"],v],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[l,v]]},Te=function(D,q){if(typeof D===u&&(q=D,D=n),!(this instanceof Te))return new Te(D,q).getResult();var F=typeof r!==c&&r.navigator?r.navigator:n,Q=D||(F&&F.userAgent?F.userAgent:o),Xe=F&&F.userAgentData?F.userAgentData:n,Ne=q?Bl(ka,q):ka,H=F&&F.userAgent==Q;return this.getBrowser=function(){var N={};return N[l]=n,N[v]=n,nr.call(N,Q,Ne.browser),N[f]=$l(N[v]),H&&F&&F.brave&&typeof F.brave.isBrave==s&&(N[l]="Brave"),N},this.getCPU=function(){var N={};return N[w]=n,nr.call(N,Q,Ne.cpu),N},this.getDevice=function(){var N={};return N[h]=n,N[d]=n,N[m]=n,nr.call(N,Q,Ne.device),H&&!N[m]&&Xe&&Xe.mobile&&(N[m]=g),H&&N[d]=="Macintosh"&&F&&typeof F.standalone!==c&&F.maxTouchPoints&&F.maxTouchPoints>2&&(N[d]="iPad",N[m]=y),N},this.getEngine=function(){var N={};return N[l]=n,N[v]=n,nr.call(N,Q,Ne.engine),N},this.getOS=function(){var N={};return N[l]=n,N[v]=n,nr.call(N,Q,Ne.os),H&&!N[l]&&Xe&&Xe.platform!="Unknown"&&(N[l]=Xe.platform.replace(/chrome os/i,Sa).replace(/macos/i,Ca)),N},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 Q},this.setUA=function(N){return Q=typeof N===p&&N.length>x?li(N,x):N,this},this.setUA(Q),this};Te.VERSION=i,Te.BROWSER=Xr([l,v,f]),Te.CPU=Xr([w]),Te.DEVICE=Xr([d,h,m,_,g,C,y,E,S]),Te.ENGINE=Te.OS=Xr([l,v]),e.exports&&(t=e.exports=Te),t.UAParser=Te;var kt=typeof r!==c&&(r.jQuery||r.Zepto);if(kt&&!kt.ua){var Zr=new Te;kt.ua=Zr.getResult(),kt.ua.get=function(){return Zr.getUA()},kt.ua.set=function(D){Zr.setUA(D);var q=Zr.getResult();for(var F in q)kt.ua[F]=q[F]}}})(typeof window=="object"?window:Wd)})(to,to.exports);var km=to.exports;const xi=new km.UAParser,zu=()=>/iPad|iPhone|iPod/.test(navigator.userAgent),Hu=()=>/Android/.test(navigator.userAgent),Ht=()=>Hu()||zu(),Tm=()=>({deviceType:Hu()||zu()?"Mobile":"Desktop",platform:xi.getOS().name,Browser:xi.getBrowser().name,"Browser Version":xi.getBrowser().version}),vr=Uu({baseQuery:ju,reducerPath:"segmentApi",endpoints:e=>({segmentIdentify:e.mutation({query:()=>({url:"super-campaign/backend/segment/identify",method:"POST"})}),segmentTrack:e.mutation({query:({event:t,properties:r})=>({url:"super-campaign/backend/segment/t",method:"POST",body:{event:t,properties:{...r,...Tm()}}})}),segmentPage:e.mutation({query:({event:t,properties:r})=>({url:"super-campaign/backend/segment/p",method:"POST",body:{event:t,properties:r}})})})}),{useSegmentIdentifyMutation:Rm,useSegmentTrackMutation:Am,useSegmentPageMutation:uw}=vr,ht=Uu({baseQuery:ju,reducerPath:"backendApi",endpoints:e=>({campaignConnect:e.query({query:()=>({url:"super-campaign/backend/campaign-connect",method:"GET"}),keepUnusedDataFor:Number.MAX_SAFE_INTEGER}),appLoaded:e.mutation({query:()=>({url:"super-campaign/backend/app-loaded",method:"POST"})})})}),{useLazyCampaignConnectQuery:Om,useAppLoadedMutation:Pm}=ht,Im={selectedVariants:{}},ro=qe({name:"experimentsData",initialState:Im,reducers:{setExperiment:(e,t)=>{const{experimentName:r,selectedVariant:n}=t.payload;return e.selectedVariants[r]||(e.selectedVariants[r]=n),e}}}),{setExperiment:Lm}=ro.actions,no=qe({name:"session",initialState:{},reducers:{setSession:(e,t)=>t.payload}}),{setSession:Nm}=no.actions,io=qe({name:"state",initialState:{},reducers:{setFunds:(e,t)=>{e.funds=t.payload},setSelectedFund:(e,t)=>{e.selectedFund={fundId:t.payload.fundId,iframeType:t.payload.iframeType,fundType:t.payload.fundType}},clearSelectedFund:e=>{e.selectedFund=void 0}}}),{setFunds:Mm,setSelectedFund:qu,clearSelectedFund:Re}=io.actions,Lt=ip({reducer:{[no.name]:no.reducer,[ht.reducerPath]:ht.reducer,[vr.reducerPath]:vr.reducer,[io.reducerPath]:io.reducer,[ro.reducerPath]:ro.reducer},middleware:e=>e().concat(ht.middleware,vr.middleware)}),Vr=()=>$u(),Qe=Mu,ra=({fillWidth:e=!1,fillWidthOnMobile:t=!1,disabled:r=!1,onClick:n=void 0,children:i})=>{const[o,a]=je(0);return R("button",{css:[{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",fontSize:"1rem",lineHeight:"1.5rem"},{display:"inline-flex",alignItems:"center",justifyContent:"center",borderWidth:"1px",fontWeight:"500"},{borderRadius:"0.375rem","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)",":focus":{outline:"2px solid transparent",outlineOffset:"2px","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)"}},{pointerEvents:"auto",":focus":{"--tw-ring-color":"var(--fl-color-primary-focus)","--tw-ring-offset-width":"2px"}},{":disabled":{pointerEvents:"none","--tw-border-opacity":"1",borderColor:"rgb(209 213 219 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity))"}},{borderColor:"transparent",backgroundColor:"var(--fl-color-primary)","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))",":hover":{backgroundColor:"var(--fl-color-primary-hover)"}},(e||t)&&{width:"100%"},t&&{"@media (min-width: 640px)":{width:"auto"}}],disabled:r,onClick:async()=>{if(!(!n||o===1))try{a(1),await n(),a(0)}catch(c){throw a(2),c}},children:[o===1&&b(Kt,{size:16}),b("div",{css:[o===1&&{display:"none"}],children:i})]})},na="32367272075001",ia="slate",He=e=>{document.dispatchEvent(new CustomEvent(e.type,{detail:e}))},Wu=()=>{const[e]=Am();return t=>{He({sender:"super-campaign",type:"choose-another-fund-requested"}),e({event:"FeaturedFunds Skipped",properties:{method:t}})}},Fm=e=>{He({sender:"super-campaign",type:"fund-panel-shown",shownFunds:e.map(t=>({fundId:t.fundId,fundType:t.fundType}))})},Dm=e=>{He({sender:"super-campaign",type:"fund-tile-clicked",fundId:e.fundId,fundType:e.fundType,fundName:e.name,fundUsi:e.fundId===ia?na:void 0})},ee=e=>{He({sender:"super-campaign",type:"fund-pds-viewed",pageName:"Panel Fund Page",fundName:e.name,fundUsi:e.fundId===ia?na:void 0})},Bm=()=>{He({sender:"super-campaign",type:"disclaimer-accepted"})},$m=()=>{He({sender:"super-campaign",type:"disclaimer-viewed"})},Nt=e=>{He({sender:"super-campaign",type:"promoted-fund-joined",fundJoinInfo:e})},Um=()=>{He({sender:"super-campaign",type:"super-campaign-loaded"})},jm=e=>{He({sender:"super-campaign",type:"super-campaign-load-failed",reason:e})},zm=e=>{He({sender:"super-campaign",type:"super-campaign-failed",reason:e})};var xe={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},$e=console,dt={};Object.keys(xe).forEach(function(e){dt[e]=$e[e]});var sr="Datadog Browser SDK:",ce={debug:dt.debug.bind($e,sr),log:dt.log.bind($e,sr),info:dt.info.bind($e,sr),warn:dt.warn.bind($e,sr),error:dt.error.bind($e,sr)};function Vu(e,t){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];try{return e.apply(void 0,r)}catch(i){ce.error(t,i)}}}var Mr;(function(e){e.PAGEHIDE="pagehide",e.FEATURE_FLAGS="feature_flags",e.RESOURCE_PAGE_STATES="resource_page_states",e.COLLECT_FLUSH_REASON="collect_flush_reason",e.ZERO_LCP_TELEMETRY="zero_lcp_telemetry",e.DISABLE_REPLAY_INLINE_CSS="disable_replay_inline_css",e.WRITABLE_RESOURCE_GRAPHQL="writable_resource_graphql",e.CUSTOM_VITALS="custom_vitals"})(Mr||(Mr={}));var oa=new Set;function Hm(e){e.forEach(function(t){oa.add(t)})}function Gu(e){return oa.has(e)}function qm(){return oa}function oo(e){return e!==0&&Math.random()*100<=e}function ki(e){return Wm(e)&&e>=0&&e<=100}function Wm(e){return typeof e=="number"}var Gr=1e3,St=60*Gr,Vm=60*St;function gr(){return new Date().getTime()}function ot(){return gr()}function In(){return performance.now()}function Jt(){return{relative:In(),timeStamp:ot()}}function Gm(){return{relative:0,timeStamp:Qu()}}function Qm(e,t){return t-e}function Ym(e,t){return e+t}function Km(e){return e-Qu()}var Ti;function Qu(){return Ti===void 0&&(Ti=performance.timing.navigationStart),Ti}var Ye=1024,Yu=1024*Ye,Jm=/[^\u0000-\u007F]/;function aa(e){return Jm.test(e)?window.TextEncoder!==void 0?new TextEncoder().encode(e).length:new Blob([e]).size:e.length}function Xt(e,t){return e.indexOf(t)!==-1}function Ku(e){if(Array.from)return Array.from(e);var t=[];if(e instanceof Set)e.forEach(function(n){return t.push(n)});else for(var r=0;r<e.length;r++)t.push(e[r]);return t}function Xm(e,t){for(var r=0;r<e.length;r+=1){var n=e[r];if(t(n,r))return n}}function qt(e){return Object.keys(e).map(function(t){return e[t]})}function Zm(e){return Object.keys(e).map(function(t){return[t,e[t]]})}function Ju(e,t){return e.slice(0,t.length)===t}function eh(e,t){return e.slice(-t.length)===t}function ve(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.forEach(function(n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}),e}function th(e){return ve({},e)}function Ls(e,t){return Object.keys(e).some(function(r){return e[r]===t})}function sa(e){return Object.keys(e).length===0}function at(){if(typeof globalThis=="object")return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var e=_dd_temp_;return delete Object.prototype._dd_temp_,typeof e!="object"&&(typeof self=="object"?e=self:typeof window=="object"?e=window:e={}),e}function Wt(e,t){var r=at(),n;return r.Zone&&typeof r.Zone.__symbol__=="function"&&(n=e[r.Zone.__symbol__(t)]),n||(n=e[t]),n}var rh=function(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))},Ln,Xu=!1;function nh(e){Ln=e}function ih(e){Xu=e}function oh(e,t,r){var n=r.value;r.value=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var a=Ln?W(n):n;return a.apply(this,i)}}function W(e){return function(){return Fr(e,this,arguments)}}function Fr(e,t,r){try{return e.apply(t,r)}catch(n){if(ao(n),Ln)try{Ln(n)}catch(i){ao(i)}}}function ao(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];Xu&&ce.error.apply(ce,rh(["[MONITOR]"],e,!1))}function Qr(e,t){return Wt(at(),"setTimeout")(W(e),t)}function Zu(e){Wt(at(),"clearTimeout")(e)}function ca(e,t){return Wt(at(),"setInterval")(W(e),t)}function el(e){Wt(at(),"clearInterval")(e)}var ue=function(){function e(t){this.onFirstSubscribe=t,this.observers=[]}return e.prototype.subscribe=function(t){var r=this;return!this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0),this.observers.push(t),{unsubscribe:function(){r.observers=r.observers.filter(function(n){return t!==n}),!r.observers.length&&r.onLastUnsubscribe&&r.onLastUnsubscribe()}}},e.prototype.notify=function(t){this.observers.forEach(function(r){return r(t)})},e}();function tl(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new ue(function(r){var n=e.map(function(i){return i.subscribe(function(o){return r.notify(o)})});return function(){return n.forEach(function(i){return i.unsubscribe()})}})}function rl(e,t,r){var n=r&&r.leading!==void 0?r.leading:!0,i=r&&r.trailing!==void 0?r.trailing:!0,o=!1,a,s;return{throttled:function(){for(var c=[],u=0;u<arguments.length;u++)c[u]=arguments[u];if(o){a=c;return}n?e.apply(void 0,c):a=c,o=!0,s=Qr(function(){i&&a&&e.apply(void 0,a),o=!1,a=void 0},t)},cancel:function(){Zu(s),o=!1,a=void 0}}}function Zt(){}function Ct(e){return e?(parseInt(e,10)^Math.random()*16>>parseInt(e,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,Ct)}var Nn=/([\w-]+)\s*=\s*([^;]+)/g;function ah(e,t){for(Nn.lastIndex=0;;){var r=Nn.exec(e);if(r){if(r[1]===t)return r[2]}else break}}function sh(e){var t=new Map;for(Nn.lastIndex=0;;){var r=Nn.exec(e);if(r)t.set(r[1],r[2]);else break}return t}function ch(e,t,r){r===void 0&&(r="");var n=e.charCodeAt(t-1),i=n>=55296&&n<=56319,o=i?t+1:t;return e.length<=o?e:"".concat(e.slice(0,o)).concat(r)}var nl=4*Vm,il=15*St;function uh(){return lh()===1}var sn;function lh(){return sn??(sn=dh())}function dh(e){var t;e===void 0&&(e=window);var r=e.navigator.userAgent;return e.chrome||/HeadlessChrome/.test(r)?1:((t=e.navigator.vendor)===null||t===void 0?void 0:t.indexOf("Apple"))===0||/safari/i.test(r)&&!/chrome|android/i.test(r)?2:e.document.documentMode?0:3}function si(e,t,r,n){var i=new Date;i.setTime(i.getTime()+r);var o="expires=".concat(i.toUTCString()),a=n&&n.crossSite?"none":"strict",s=n&&n.domain?";domain=".concat(n.domain):"",c=n&&n.secure?";secure":"",u=n&&n.partitioned?";partitioned":"";document.cookie="".concat(e,"=").concat(t,";").concat(o,";path=/;samesite=").concat(a).concat(s).concat(c).concat(u)}function ua(e){return ah(document.cookie,e)}var Ri;function pt(e){return Ri||(Ri=sh(document.cookie)),Ri.get(e)}function la(e,t){si(e,"",0,t)}function fh(e){if(document.cookie===void 0||document.cookie===null)return!1;try{var t="dd_cookie_test_".concat(Ct()),r="test";si(t,r,St,e);var n=ua(t)===r;return la(t,e),n}catch(i){return ce.error(i),!1}}var Ai;function ph(){if(Ai===void 0){for(var e="dd_site_test_".concat(Ct()),t="test",r=window.location.hostname.split("."),n=r.pop();r.length&&!ua(e);)n="".concat(r.pop(),".").concat(n),si(e,t,Gr,{domain:n});la(e,{domain:n}),Ai=n}return Ai}var Et="_dd_s",ol=/^([a-z]+)=([a-z0-9-]+)$/,da="&";function so(e){return sa(e)}function al(e){e.expire=String(gr()+il)}function sl(e){return Zm(e).map(function(t){var r=t[0],n=t[1];return"".concat(r,"=").concat(n)}).join(da)}function cl(e){var t={};return mh(e)&&e.split(da).forEach(function(r){var n=ol.exec(r);if(n!==null){var i=n[1],o=n[2];t[i]=o}}),t}function mh(e){return!!e&&(e.indexOf(da)!==-1||ol.test(e))}var hh="_dd",vh="_dd_r",gh="_dd_l",yh="rum",bh="logs";function wh(e){var t=pt(Et);if(!t){var r=pt(hh),n=pt(vh),i=pt(gh),o={};r&&(o.id=r),i&&/^[01]$/.test(i)&&(o[bh]=i),n&&/^[012]$/.test(n)&&(o[yh]=n),so(o)||(al(o),e.persistSession(o))}}function _h(e){var t=kh(e);return fh(t)?{type:"Cookie",cookieOptions:t}:void 0}function Sh(e){var t={isLockEnabled:uh(),persistSession:Ch(e),retrieveSession:Eh,clearSession:xh(e)};return wh(t),t}function Ch(e){return function(t){si(Et,sl(t),il,e)}}function Eh(){var e=ua(Et);return cl(e)}function xh(e){return function(){la(Et,e)}}function kh(e){var t={};return t.secure=!!e.useSecureSessionCookie||!!e.usePartitionedCrossSiteSessionCookie||!!e.useCrossSiteSessionCookie,t.crossSite=!!e.usePartitionedCrossSiteSessionCookie||!!e.useCrossSiteSessionCookie,t.partitioned=!!e.usePartitionedCrossSiteSessionCookie,e.trackSessionAcrossSubdomains&&(t.domain=ph()),t}var Th="_dd_test_";function Rh(){try{var e=Ct(),t="".concat(Th).concat(e);localStorage.setItem(t,e);var r=localStorage.getItem(t);return localStorage.removeItem(t),e===r?{type:"LocalStorage"}:void 0}catch{return}}function Ah(){return{isLockEnabled:!1,persistSession:Oh,retrieveSession:Ph,clearSession:Ih}}function Oh(e){localStorage.setItem(Et,sl(e))}function Ph(){var e=localStorage.getItem(Et);return cl(e)}function Ih(){localStorage.removeItem(Et)}var Lh=10,Nh=100,ul=[],bn;function yr(e,t,r){var n;r===void 0&&(r=0);var i=t.isLockEnabled,o=t.retrieveSession,a=t.persistSession,s=t.clearSession;if(bn||(bn=e),e!==bn){ul.push(e);return}if(i&&r>=Nh){Ns(t);return}var c,u=o();if(i){if(u.lock){cn(e,t,r);return}if(c=Ct(),u.lock=c,a(u),u=o(),u.lock!==c){cn(e,t,r);return}}var p=e.process(u);if(i&&(u=o(),u.lock!==c)){cn(e,t,r);return}if(p&&(so(p)?s():(al(p),a(p))),i&&!(p&&so(p))){if(u=o(),u.lock!==c){cn(e,t,r);return}delete u.lock,a(u),p=u}(n=e.after)===null||n===void 0||n.call(e,p||u),Ns(t)}function cn(e,t,r){Qr(function(){yr(e,t,r+1)},Lh)}function Ns(e){bn=void 0;var t=ul.shift();t&&yr(t,e)}var Ms=Gr;function Mh(e){var t=_h(e);return!t&&e.allowFallbackToLocalStorage&&(t=Rh()),t}function Fh(e,t,r){var n=new ue,i=new ue,o=e.type==="Cookie"?Sh(e.cookieOptions):Ah(),a=o.clearSession,s=o.retrieveSession,c=ca(m,Ms),u=C(),p=rl(function(){var S;yr({process:function(x){var k=h(x);return S=v(k),k},after:function(x){S&&!w()&&y(x),u=x}},o)},Ms),f=p.throttled,d=p.cancel;function l(){yr({process:function(S){return w()?h(S):void 0}},o)}function m(){yr({process:function(S){return E(S)?void 0:{}},after:h},o)}function h(S){return E(S)||(S={}),w()&&(_(S)?g():u=S),S}function v(S){var x=r(S[t]),k=x.trackingType,T=x.isTracked;return S[t]=k,T&&!S.id&&(S.id=Ct(),S.created=String(gr())),T}function w(){return u[t]!==void 0}function _(S){return u.id!==S.id||u[t]!==S[t]}function g(){u={},i.notify()}function y(S){u=S,n.notify()}function C(){var S=s();return E(S)?S:{}}function E(S){return(S.created===void 0||gr()-Number(S.created)<nl)&&(S.expire===void 0||gr()<Number(S.expire))}return{expandOrRenewSession:f,expandSession:l,getSession:function(){return u},renewObservable:n,expireObservable:i,expire:function(){d(),a(),h({})},stop:function(){el(c)}}}var co={GRANTED:"granted",NOT_GRANTED:"not-granted"};function Dh(e){var t=new ue;return{tryToInit:function(r){e||(e=r)},update:function(r){e=r,t.notify()},isGranted:function(){return e===co.GRANTED},observable:t}}function er(e,t,r){if(typeof e!="object"||e===null)return JSON.stringify(e);var n=Mt(Object.prototype),i=Mt(Array.prototype),o=Mt(Object.getPrototypeOf(e)),a=Mt(e);try{return JSON.stringify(e,t,r)}catch{return"<error: unable to serialize object>"}finally{n(),i(),o(),a()}}function Mt(e){var t=e,r=t.toJSON;return r?(delete t.toJSON,function(){t.toJSON=r}):Zt}function fa(e){return Bh(e,location.href).href}function Bh(e,t){var r=$h();if(r)try{return t!==void 0?new r(e,t):new r(e)}catch(a){throw new Error("Failed to construct URL: ".concat(String(a)," ").concat(er({url:e,base:t})))}if(t===void 0&&!/:/.test(e))throw new Error("Invalid URL: '".concat(e,"'"));var n=document,i=n.createElement("a");if(t!==void 0){n=document.implementation.createHTMLDocument("");var o=n.createElement("base");o.href=t,n.head.appendChild(o),n.body.appendChild(i)}return i.href=e,i}var Fs=URL,un;function $h(){if(un===void 0)try{var e=new Fs("http://test/path");un=e.href==="http://test/path"}catch{un=!1}return un?Fs:void 0}var Uh="datad0g.com",jh="dd0g-gov.com",br="datadoghq.com",zh="ddog-gov.com";function wr(e,t,r){var n=Hh(e,t);return{build:function(i,o){var a=Wh(e,t,r,i,o);return n(a)},urlPrefix:n(""),trackType:t}}function Hh(e,t){var r="/api/v2/".concat(t),n=e.proxy;if(typeof n=="string"){var i=fa(n);return function(a){return"".concat(i,"?ddforward=").concat(encodeURIComponent("".concat(r,"?").concat(a)))}}if(typeof n=="function")return function(a){return n({path:r,parameters:a})};var o=qh(e);return function(a){return"https://".concat(o).concat(r,"?").concat(a)}}function qh(e){var t=e.site,r=t===void 0?br:t,n=e.internalAnalyticsSubdomain;if(n&&r===br)return"".concat(n,".").concat(br);if(r===jh)return"http-intake.logs.".concat(r);var i=r.split("."),o=i.pop();return"browser-intake-".concat(i.join("-"),".").concat(o)}function Wh(e,t,r,n,i){var o=e.clientToken,a=e.internalAnalyticsSubdomain,s=i.retry,c=i.flushReason,u=i.encoding,p=["sdk_version:".concat("5.11.0"),"api:".concat(n)].concat(r);c&&Gu(Mr.COLLECT_FLUSH_REASON)&&p.push("flush_reason:".concat(c)),s&&p.push("retry_count:".concat(s.count),"retry_after:".concat(s.lastFailureStatus));var f=["ddsource=browser","ddtags=".concat(encodeURIComponent(p.join(","))),"dd-api-key=".concat(o),"dd-evp-origin-version=".concat(encodeURIComponent("5.11.0")),"dd-evp-origin=browser","dd-request-id=".concat(Ct())];return u&&f.push("dd-evp-encoding=".concat(u)),t==="rum"&&f.push("batch_time=".concat(ot())),a&&f.reverse(),f.join("&")}var Vh=200;function Gh(e){var t=e.env,r=e.service,n=e.version,i=e.datacenter,o=[];return t&&o.push(ln("env",t)),r&&o.push(ln("service",r)),n&&o.push(ln("version",n)),i&&o.push(ln("datacenter",i)),o}var Qh=/[^a-z0-9_:./-]/;function ln(e,t){var r=Vh-e.length-1;(t.length>r||Qh.test(t))&&ce.warn("".concat(e," value doesn't meet tag requirements and will be sanitized"));var n=t.replace(/,/g,"_");return"".concat(e,":").concat(n)}function Yh(e){var t=Gh(e),r=Kh(e,t),n=qt(r).map(function(o){return o.urlPrefix}),i=Jh(e,n,t);return ve({isIntakeUrl:function(o){return n.some(function(a){return o.indexOf(a)===0})},replica:i,site:e.site||br},r)}function Kh(e,t){return{logsEndpointBuilder:wr(e,"logs",t),rumEndpointBuilder:wr(e,"rum",t),sessionReplayEndpointBuilder:wr(e,"replay",t)}}function Jh(e,t,r){if(e.replica){var n=ve({},e,{site:br,clientToken:e.replica.clientToken}),i={logsEndpointBuilder:wr(n,"logs",r),rumEndpointBuilder:wr(n,"rum",r)};return t.push.apply(t,qt(i).map(function(o){return o.urlPrefix})),ve({applicationId:e.replica.applicationId},i)}}function Xh(e){var t,r,n,i;if(!e||!e.clientToken){ce.error("Client Token is not configured, we will not send any data.");return}if(e.sessionSampleRate!==void 0&&!ki(e.sessionSampleRate)){ce.error("Session Sample Rate should be a number between 0 and 100");return}if(e.telemetrySampleRate!==void 0&&!ki(e.telemetrySampleRate)){ce.error("Telemetry Sample Rate should be a number between 0 and 100");return}if(e.telemetryConfigurationSampleRate!==void 0&&!ki(e.telemetryConfigurationSampleRate)){ce.error("Telemetry Configuration Sample Rate should be a number between 0 and 100");return}if(e.trackingConsent!==void 0&&!Ls(co,e.trackingConsent)){ce.error('Tracking Consent should be either "granted" or "not-granted"');return}return Array.isArray(e.enableExperimentalFeatures)&&Hm(e.enableExperimentalFeatures.filter(function(o){return Ls(Mr,o)})),ve({beforeSend:e.beforeSend&&Vu(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:Mh(e),sessionSampleRate:(t=e.sessionSampleRate)!==null&&t!==void 0?t:100,telemetrySampleRate:(r=e.telemetrySampleRate)!==null&&r!==void 0?r:20,telemetryConfigurationSampleRate:(n=e.telemetryConfigurationSampleRate)!==null&&n!==void 0?n:5,service:e.service,silentMultipleInit:!!e.silentMultipleInit,allowUntrustedEvents:!!e.allowUntrustedEvents,trackingConsent:(i=e.trackingConsent)!==null&&i!==void 0?i:co.GRANTED,batchBytesLimit:16*Ye,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:30*Gr,batchMessagesLimit:50,messageBytesLimit:256*Ye},Yh(e))}function Zh(e){return{session_sample_rate:e.sessionSampleRate,telemetry_sample_rate:e.telemetrySampleRate,telemetry_configuration_sample_rate:e.telemetryConfigurationSampleRate,use_before_send:!!e.beforeSend,use_cross_site_session_cookie:e.useCrossSiteSessionCookie,use_partitioned_cross_site_session_cookie:e.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:e.useSecureSessionCookie,use_proxy:!!e.proxy,silent_multiple_init:e.silentMultipleInit,track_session_across_subdomains:e.trackSessionAcrossSubdomains,allow_fallback_to_local_storage:!!e.allowFallbackToLocalStorage,store_contexts_across_pages:!!e.storeContextsAcrossPages,allow_untrusted_events:!!e.allowUntrustedEvents}}function vt(e,t,r){var n=e[t],i=ev(n,r),o=function(){if(typeof i=="function")return i.apply(this,arguments)};return e[t]=o,{stop:function(){e[t]===o?e[t]=n:i=n}}}function ev(e,t){return function(){var r=arguments,n,i;return Fr(t,null,[{target:this,parameters:r,onPostCall:function(o){i=o}}]),typeof e=="function"&&(n=e.apply(this,r)),i&&Fr(i,null,[n]),n}}var Yr="?";function Je(e){var t=[],r=Oi(e,"stack"),n=String(e);return r&&Ju(r,n)&&(r=r.slice(n.length)),r&&r.split(`
|
|
16
|
+
*/var Wr=Kp;function Jp(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Xp=typeof Object.is=="function"?Object.is:Jp,Zp=Wr.useSyncExternalStore,em=Wr.useRef,tm=Wr.useEffect,rm=Wr.useMemo,nm=Wr.useDebugValue;Iu.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var o=em(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=rm(function(){function c(l){if(!u){if(u=!0,p=l,l=n(l),i!==void 0&&a.hasValue){var m=a.value;if(i(m,l))return f=m}return f=l}if(m=f,Xp(p,l))return m;var h=n(l);return i!==void 0&&i(m,h)?m:(p=l,f=h)}var u=!1,p,f,d=r===void 0?null:r;return[function(){return c(t())},d===null?void 0:function(){return c(d())}]},[t,r,n,i]);var s=Zp(e,o[0],o[1]);return tm(function(){a.hasValue=!0,a.value=s},[s]),nm(s),s};Pu.exports=Iu;var im=Pu.exports,ye="default"in Er?Uc:Er,Rs=Symbol.for("react-redux-context"),As=typeof globalThis<"u"?globalThis:{};function om(){if(!ye.createContext)return{};const e=As[Rs]??(As[Rs]=new Map);let t=e.get(ye.createContext);return t||(t=ye.createContext(null),e.set(ye.createContext,t)),t}var it=om(),am=()=>{throw new Error("uSES not initialized!")};function ta(e=it){return function(){return ye.useContext(e)}}var Lu=ta(),Nu=am,sm=e=>{Nu=e},cm=(e,t)=>e===t;function um(e=it){const t=e===it?Lu:ta(e);return function(n,i={}){const{equalityFn:o=cm,devModeChecks:a={}}=typeof i=="function"?{equalityFn:i}:i,{store:s,subscription:c,getServerState:u,stabilityCheck:p,identityFunctionCheck:f}=t();ye.useRef(!0);const d=ye.useCallback({[n.name](m){return n(m)}}[n.name],[n,p,a.stabilityCheck]),l=Nu(c.addNestedSub,s.getState,u||s.getState,d,o);return ye.useDebugValue(l),l}}var Mu=um();function Fu(e){e()}function lm(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Fu(()=>{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 Os={notify(){},get:()=>[]};function dm(e,t){let r,n=Os,i=0,o=!1;function a(h){p();const v=n.subscribe(h);let w=!1;return()=>{w||(w=!0,v(),f())}}function s(){n.notify()}function c(){m.onStateChange&&m.onStateChange()}function u(){return o}function p(){i++,r||(r=t?t.addNestedSub(c):e.subscribe(c),n=lm())}function f(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=Os)}function d(){o||(o=!0,p())}function l(){o&&(o=!1,f())}const m={addNestedSub:a,notifyNestedSubs:s,handleChangeWrapper:c,isSubscribed:u,trySubscribe:d,tryUnsubscribe:l,getListeners:()=>n};return m}var fm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",pm=fm?ye.useLayoutEffect:ye.useEffect;function Ps(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function Pn(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 mm({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const a=ye.useMemo(()=>{const u=dm(e);return{store:e,subscription:u,getServerState:n?()=>n:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,n,i,o]),s=ye.useMemo(()=>e.getState(),[e]);pm(()=>{const{subscription:u}=a;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),s!==e.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[a,s]);const c=t||it;return ye.createElement(c.Provider,{value:a},r)}var hm=mm;function Du(e=it){const t=e===it?Lu:ta(e);return function(){const{store:n}=t();return n}}var Bu=Du();function vm(e=it){const t=e===it?Bu:Du(e);return function(){return t().dispatch}}var $u=vm(),gm=Fu;sm(im.useSyncExternalStoreWithSelector);function Is(e,t,r,n){const i=de(()=>({queryArgs:e,serialized:typeof e=="object"?t({queryArgs:e,endpointDefinition:r,endpointName:n}):e}),[e,t,r,n]),o=Ee(i);return re(()=>{o.current.serialized!==i.serialized&&(o.current=i)},[i]),o.current.serialized===i.serialized?o.current.queryArgs:e}var Si=Symbol();function Ci(e){const t=Ee(e);return re(()=>{Pn(t.current,e)||(t.current=e)},[e]),Pn(t.current,e)?t.current:e}var Rt=WeakMap?new WeakMap:void 0,ym=({endpointName:e,queryArgs:t})=>{let r="";const n=Rt==null?void 0:Rt.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,a)=>ze(a)?Object.keys(a).sort().reduce((s,c)=>(s[c]=a[c],s),{}):a);ze(t)&&(Rt==null||Rt.set(t,i)),r=i}return`${e}(${r})`},bm=typeof window<"u"&&window.document&&window.document.createElement?_t:re,wm=e=>e.isUninitialized?{...e,isUninitialized:!1,isFetching:!0,isLoading:e.data===void 0,status:Eu.pending}:e;function _m({api:e,moduleOptions:{batch:t,hooks:{useDispatch:r,useSelector:n,useStore:i},unstable__sideEffectsInRender:o},serializeQueryArgs:a,context:s}){const c=o?l=>l():re;return{buildQueryHooks:f,buildMutationHook:d,usePrefetch:p};function u(l,m,h){if(m!=null&&m.endpointName&&l.isUninitialized){const{endpointName:C}=m,E=s.endpointDefinitions[C];a({queryArgs:m.originalArgs,endpointDefinition:E,endpointName:C})===a({queryArgs:h,endpointDefinition:E,endpointName:C})&&(m=void 0)}let v=l.isSuccess?l.data:m==null?void 0:m.data;v===void 0&&(v=l.data);const w=v!==void 0,_=l.isLoading,g=!w&&_,y=l.isSuccess||_&&w;return{...l,data:v,currentData:l.data,isFetching:_,isLoading:g,isSuccess:y}}function p(l,m){const h=r(),v=Ci(m);return Ot((w,_)=>h(e.util.prefetch(l,w,{...v,..._})),[l,h,v])}function f(l){const m=(w,{refetchOnReconnect:_,refetchOnFocus:g,refetchOnMountOrArgChange:y,skip:C=!1,pollingInterval:E=0}={})=>{const{initiate:S}=e.endpoints[l],x=r(),k=Ee();if(!k.current){const B=x(e.internalActions.internal_getRTKQSubscriptions());k.current=B}const T=Is(C?ft:w,ym,s.endpointDefinitions[l],l),O=Ci({refetchOnReconnect:_,refetchOnFocus:g,pollingInterval:E}),A=Ee(!1),I=Ee();let{queryCacheKey:M,requestId:Y}=I.current||{},J=!1;M&&Y&&(J=k.current.isRequestSubscribed(M,Y));const $=!J&&A.current;return c(()=>{A.current=J}),c(()=>{$&&(I.current=void 0)},[$]),c(()=>{var X;const B=I.current;if(typeof process<"u",T===ft){B==null||B.unsubscribe(),I.current=void 0;return}const ne=(X=I.current)==null?void 0:X.subscriptionOptions;if(!B||B.arg!==T){B==null||B.unsubscribe();const ge=x(S(T,{subscriptionOptions:O,forceRefetch:y}));I.current=ge}else O!==ne&&B.updateSubscriptionOptions(O)},[x,S,y,T,O,$]),re(()=>()=>{var B;(B=I.current)==null||B.unsubscribe(),I.current=void 0},[]),de(()=>({refetch:()=>{var B;if(!I.current)throw new Error(ke(38));return(B=I.current)==null?void 0:B.refetch()}}),[])},h=({refetchOnReconnect:w,refetchOnFocus:_,pollingInterval:g=0}={})=>{const{initiate:y}=e.endpoints[l],C=r(),[E,S]=je(Si),x=Ee(),k=Ci({refetchOnReconnect:w,refetchOnFocus:_,pollingInterval:g});c(()=>{var I,M;const A=(I=x.current)==null?void 0:I.subscriptionOptions;k!==A&&((M=x.current)==null||M.updateSubscriptionOptions(k))},[k]);const T=Ee(k);c(()=>{T.current=k},[k]);const O=Ot(function(A,I=!1){let M;return t(()=>{var Y;(Y=x.current)==null||Y.unsubscribe(),x.current=M=C(y(A,{subscriptionOptions:T.current,forceRefetch:!I})),S(A)}),M},[C,y]);return re(()=>()=>{var A;(A=x==null?void 0:x.current)==null||A.unsubscribe()},[]),re(()=>{E!==Si&&!x.current&&O(E,!0)},[E,O]),de(()=>[O,E],[O,E])},v=(w,{skip:_=!1,selectFromResult:g}={})=>{const{select:y}=e.endpoints[l],C=Is(_?ft:w,a,s.endpointDefinitions[l],l),E=Ee(),S=de(()=>Dt([y(C),(A,I)=>I,A=>C],u),[y,C]),x=de(()=>g?Dt([S],g,{devModeChecks:{identityFunctionCheck:"never"}}):S,[S,g]),k=n(A=>x(A,E.current),Pn),T=i(),O=S(T.getState(),E.current);return bm(()=>{E.current=O},[O]),k};return{useQueryState:v,useQuerySubscription:m,useLazyQuerySubscription:h,useLazyQuery(w){const[_,g]=h(w),y=v(g,{...w,skip:g===Si}),C=de(()=>({lastArg:g}),[g]);return de(()=>[_,y,C],[_,y,C])},useQuery(w,_){const g=m(w,_),y=v(w,{selectFromResult:w===ft||_!=null&&_.skip?void 0:wm,..._}),{data:C,status:E,isLoading:S,isSuccess:x,isError:k,error:T}=y;return Sn({data:C,status:E,isLoading:S,isSuccess:x,isError:k,error:T}),de(()=>({...y,...g}),[y,g])}}}function d(l){return({selectFromResult:m,fixedCacheKey:h}={})=>{const{select:v,initiate:w}=e.endpoints[l],_=r(),[g,y]=je();re(()=>()=>{g!=null&&g.arg.fixedCacheKey||g==null||g.reset()},[g]);const C=Ot(function(X){const ge=_(w(X,{fixedCacheKey:h}));return y(ge),ge},[_,w,h]),{requestId:E}=g||{},S=de(()=>v({fixedCacheKey:h,requestId:g==null?void 0:g.requestId}),[h,g,v]),x=de(()=>m?Dt([S],m):S,[m,S]),k=n(x,Pn),T=h==null?g==null?void 0:g.arg.originalArgs:void 0,O=Ot(()=>{t(()=>{g&&y(void 0),h&&_(e.internalActions.removeMutationResult({requestId:E,fixedCacheKey:h}))})},[_,h,g,E]),{endpointName:A,data:I,status:M,isLoading:Y,isSuccess:J,isError:$,error:B}=k;Sn({endpointName:A,data:I,status:M,isLoading:Y,isSuccess:J,isError:$,error:B});const ne=de(()=>({...k,originalArgs:T,reset:O}),[k,T,O]);return de(()=>[C,ne],[C,ne])}}}function Sm(e){return e.type==="query"}function Cm(e){return e.type==="mutation"}function Ei(e){return e.replace(e[0],e[0].toUpperCase())}function an(e,...t){return Object.assign(e,...t)}var Em=Symbol(),xm=({batch:e=gm,hooks:t={useDispatch:$u,useSelector:Mu,useStore:Bu},unstable__sideEffectsInRender:r=!1,...n}={})=>({name:Em,init(i,{serializeQueryArgs:o},a){const s=i,{buildQueryHooks:c,buildMutationHook:u,usePrefetch:p}=_m({api:i,moduleOptions:{batch:e,hooks:t,unstable__sideEffectsInRender:r},serializeQueryArgs:o,context:a});return an(s,{usePrefetch:p}),an(a,{batch:e}),{injectEndpoint(f,d){if(Sm(d)){const{useQuery:l,useLazyQuery:m,useLazyQuerySubscription:h,useQueryState:v,useQuerySubscription:w}=c(f);an(s.endpoints[f],{useQuery:l,useLazyQuery:m,useLazyQuerySubscription:h,useQueryState:v,useQuerySubscription:w}),i[`use${Ei(f)}Query`]=l,i[`useLazy${Ei(f)}Query`]=m}else if(Cm(d)){const l=u(f);an(s.endpoints[f],{useMutation:l}),i[`use${Ei(f)}Mutation`]=l}}}}}),Uu=Dp(Yp(),xm());const ju=async(e,t,r)=>{const n=t.getState().session.backendUrl;return Op({baseUrl:n,prepareHeaders:(i,{getState:o})=>{const{session:a}=o();return i.set("Accept","application/json"),i.set("Authorization",`Bearer ${a.accessToken}`),i}})(e,t,r)};var to={exports:{}};(function(e,t){(function(r,n){var i="1.0.37",o="",a="?",s="function",c="undefined",u="object",p="string",f="major",d="model",l="name",m="type",h="vendor",v="version",w="architecture",_="console",g="mobile",y="tablet",C="smarttv",E="wearable",S="embedded",x=500,k="Amazon",T="Apple",O="ASUS",A="BlackBerry",I="Browser",M="Chrome",Y="Edge",J="Firefox",$="Google",B="Huawei",ne="LG",X="Microsoft",ge="Motorola",U="Opera",Ce="Samsung",wa="Sharp",Jr="Sony",ci="Xiaomi",ui="Zebra",_a="Facebook",Sa="Chromium OS",Ca="Mac OS",Bl=function(D,q){var F={};for(var Q in D)q[Q]&&q[Q].length%2===0?F[Q]=q[Q].concat(D[Q]):F[Q]=D[Q];return F},Xr=function(D){for(var q={},F=0;F<D.length;F++)q[D[F].toUpperCase()]=D[F];return q},Ea=function(D,q){return typeof D===p?rr(q).indexOf(rr(D))!==-1:!1},rr=function(D){return D.toLowerCase()},$l=function(D){return typeof D===p?D.replace(/[^\d\.]/g,o).split(".")[0]:n},li=function(D,q){if(typeof D===p)return D=D.replace(/^\s\s*/,o),typeof q===c?D:D.substring(0,x)},nr=function(D,q){for(var F=0,Q,Xe,Ne,H,N,Me;F<q.length&&!N;){var fi=q[F],Ta=q[F+1];for(Q=Xe=0;Q<fi.length&&!N&&fi[Q];)if(N=fi[Q++].exec(D),N)for(Ne=0;Ne<Ta.length;Ne++)Me=N[++Xe],H=Ta[Ne],typeof H===u&&H.length>0?H.length===2?typeof H[1]==s?this[H[0]]=H[1].call(this,Me):this[H[0]]=H[1]:H.length===3?typeof H[1]===s&&!(H[1].exec&&H[1].test)?this[H[0]]=Me?H[1].call(this,Me,H[2]):n:this[H[0]]=Me?Me.replace(H[1],H[2]):n:H.length===4&&(this[H[0]]=Me?H[3].call(this,Me.replace(H[1],H[2])):n):this[H]=Me||n;F+=2}},di=function(D,q){for(var F in q)if(typeof q[F]===u&&q[F].length>0){for(var Q=0;Q<q[F].length;Q++)if(Ea(q[F][Q],D))return F===a?n:F}else if(Ea(q[F],D))return F===a?n:F;return D},Ul={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},xa={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"},ka={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[v,[l,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[v,[l,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[l,v],[/opios[\/ ]+([\w\.]+)/i],[v,[l,U+" Mini"]],[/\bopr\/([\w\.]+)/i],[v,[l,U]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[v,[l,"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],[l,v],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[v,[l,"UC"+I]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[v,[l,"WeChat"]],[/konqueror\/([\w\.]+)/i],[v,[l,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[v,[l,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[v,[l,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[v,[l,"Smart Lenovo "+I]],[/(avast|avg)\/([\w\.]+)/i],[[l,/(.+)/,"$1 Secure "+I],v],[/\bfocus\/([\w\.]+)/i],[v,[l,J+" Focus"]],[/\bopt\/([\w\.]+)/i],[v,[l,U+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[v,[l,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[v,[l,"Dolphin"]],[/coast\/([\w\.]+)/i],[v,[l,U+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[v,[l,"MIUI "+I]],[/fxios\/([-\w\.]+)/i],[v,[l,J]],[/\bqihu|(qi?ho?o?|360)browser/i],[[l,"360 "+I]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[l,/(.+)/,"$1 "+I],v],[/samsungbrowser\/([\w\.]+)/i],[v,[l,Ce+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[l,/_/g," "],v],[/metasr[\/ ]?([\d\.]+)/i],[v,[l,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[l,"Sogou Mobile"],v],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[l,v],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[l],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[l,_a],v],[/(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],[l,v],[/\bgsa\/([\w\.]+) .*safari\//i],[v,[l,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[v,[l,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[v,[l,M+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[l,M+" WebView"],v],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[v,[l,"Android "+I]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[l,v],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[v,[l,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[v,l],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[l,[v,di,Ul]],[/(webkit|khtml)\/([\w\.]+)/i],[l,v],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[l,"Netscape"],v],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[v,[l,J+" 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],[l,v],[/(cobalt)\/([\w\.]+)/i],[l,[v,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[w,"amd64"]],[/(ia32(?=;))/i],[[w,rr]],[/((?: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,rr]],[/(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,rr]]],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,[h,Ce],[m,y]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[h,Ce],[m,g]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[h,T],[m,g]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[h,T],[m,y]],[/(macintosh);/i],[d,[h,T]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[h,wa],[m,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[h,B],[m,y]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[h,B],[m,g]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[h,ci],[m,g]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[h,ci],[m,y]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[h,"OPPO"],[m,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[h,"Vivo"],[m,g]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[h,"Realme"],[m,g]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[h,ge],[m,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[h,ge],[m,y]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[h,ne],[m,y]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[h,ne],[m,g]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[h,"Lenovo"],[m,y]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[h,"Nokia"],[m,g]],[/(pixel c)\b/i],[d,[h,$],[m,y]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[h,$],[m,g]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[h,Jr],[m,g]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[h,Jr],[m,y]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[h,"OnePlus"],[m,g]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[h,k],[m,y]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[h,k],[m,g]],[/(playbook);[-\w\),; ]+(rim)/i],[d,h,[m,y]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[h,A],[m,g]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[h,O],[m,y]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[h,O],[m,g]],[/(nexus 9)/i],[d,[h,"HTC"],[m,y]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[d,/_/g," "],[m,g]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[h,"Acer"],[m,y]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[h,"Meizu"],[m,g]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[h,"Ulefone"],[m,g]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[h,d,[m,g]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,d,[m,y]],[/(surface duo)/i],[d,[h,X],[m,y]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[h,"Fairphone"],[m,g]],[/(u304aa)/i],[d,[h,"AT&T"],[m,g]],[/\bsie-(\w*)/i],[d,[h,"Siemens"],[m,g]],[/\b(rct\w+) b/i],[d,[h,"RCA"],[m,y]],[/\b(venue[\d ]{2,7}) b/i],[d,[h,"Dell"],[m,y]],[/\b(q(?:mv|ta)\w+) b/i],[d,[h,"Verizon"],[m,y]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[h,"Barnes & Noble"],[m,y]],[/\b(tm\d{3}\w+) b/i],[d,[h,"NuVision"],[m,y]],[/\b(k88) b/i],[d,[h,"ZTE"],[m,y]],[/\b(nx\d{3}j) b/i],[d,[h,"ZTE"],[m,g]],[/\b(gen\d{3}) b.+49h/i],[d,[h,"Swiss"],[m,g]],[/\b(zur\d{3}) b/i],[d,[h,"Swiss"],[m,y]],[/\b((zeki)?tb.*\b) b/i],[d,[h,"Zeki"],[m,y]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],d,[m,y]],[/\b(ns-?\w{0,9}) b/i],[d,[h,"Insignia"],[m,y]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[h,"NextBook"],[m,y]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],d,[m,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],d,[m,g]],[/\b(ph-1) /i],[d,[h,"Essential"],[m,g]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[h,"Envizen"],[m,y]],[/\b(trio[-\w\. ]+) b/i],[d,[h,"MachSpeed"],[m,y]],[/\btu_(1491) b/i],[d,[h,"Rotor"],[m,y]],[/(shield[\w ]+) b/i],[d,[h,"Nvidia"],[m,y]],[/(sprint) (\w+)/i],[h,d,[m,g]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[h,X],[m,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[h,ui],[m,y]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[h,ui],[m,g]],[/smart-tv.+(samsung)/i],[h,[m,C]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[h,Ce],[m,C]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,ne],[m,C]],[/(apple) ?tv/i],[h,[d,T+" TV"],[m,C]],[/crkey/i],[[d,M+"cast"],[h,$],[m,C]],[/droid.+aft(\w+)( bui|\))/i],[d,[h,k],[m,C]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[h,wa],[m,C]],[/(bravia[\w ]+)( bui|\))/i],[d,[h,Jr],[m,C]],[/(mitv-\w{5}) bui/i],[d,[h,ci],[m,C]],[/Hbbtv.*(technisat) (.*);/i],[h,d,[m,C]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,li],[d,li],[m,C]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[m,C]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,d,[m,_]],[/droid.+; (shield) bui/i],[d,[h,"Nvidia"],[m,_]],[/(playstation [345portablevi]+)/i],[d,[h,Jr],[m,_]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[h,X],[m,_]],[/((pebble))app/i],[h,d,[m,E]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[h,T],[m,E]],[/droid.+; (glass) \d/i],[d,[h,$],[m,E]],[/droid.+; (wt63?0{2,3})\)/i],[d,[h,ui],[m,E]],[/(quest( 2| pro)?)/i],[d,[h,_a],[m,E]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[m,S]],[/(aeobc)\b/i],[d,[h,k],[m,S]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[m,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[m,y]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[m,y]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[m,g]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[v,[l,Y+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[v,[l,"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],[l,v],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[v,l]],os:[[/microsoft (windows) (vista|xp)/i],[l,v],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[l,[v,di,xa]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[v,di,xa],[l,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[v,/_/g,"."],[l,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[l,Ca],[v,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[v,l],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[l,v],[/\(bb(10);/i],[v,[l,A]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[v,[l,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[v,[l,J+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[v,[l,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[v,[l,"watchOS"]],[/crkey\/([\d\.]+)/i],[v,[l,M+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[l,Sa],v],[/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],[l,v],[/(sunos) ?([\w\.\d]*)/i],[[l,"Solaris"],v],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[l,v]]},Te=function(D,q){if(typeof D===u&&(q=D,D=n),!(this instanceof Te))return new Te(D,q).getResult();var F=typeof r!==c&&r.navigator?r.navigator:n,Q=D||(F&&F.userAgent?F.userAgent:o),Xe=F&&F.userAgentData?F.userAgentData:n,Ne=q?Bl(ka,q):ka,H=F&&F.userAgent==Q;return this.getBrowser=function(){var N={};return N[l]=n,N[v]=n,nr.call(N,Q,Ne.browser),N[f]=$l(N[v]),H&&F&&F.brave&&typeof F.brave.isBrave==s&&(N[l]="Brave"),N},this.getCPU=function(){var N={};return N[w]=n,nr.call(N,Q,Ne.cpu),N},this.getDevice=function(){var N={};return N[h]=n,N[d]=n,N[m]=n,nr.call(N,Q,Ne.device),H&&!N[m]&&Xe&&Xe.mobile&&(N[m]=g),H&&N[d]=="Macintosh"&&F&&typeof F.standalone!==c&&F.maxTouchPoints&&F.maxTouchPoints>2&&(N[d]="iPad",N[m]=y),N},this.getEngine=function(){var N={};return N[l]=n,N[v]=n,nr.call(N,Q,Ne.engine),N},this.getOS=function(){var N={};return N[l]=n,N[v]=n,nr.call(N,Q,Ne.os),H&&!N[l]&&Xe&&Xe.platform!="Unknown"&&(N[l]=Xe.platform.replace(/chrome os/i,Sa).replace(/macos/i,Ca)),N},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 Q},this.setUA=function(N){return Q=typeof N===p&&N.length>x?li(N,x):N,this},this.setUA(Q),this};Te.VERSION=i,Te.BROWSER=Xr([l,v,f]),Te.CPU=Xr([w]),Te.DEVICE=Xr([d,h,m,_,g,C,y,E,S]),Te.ENGINE=Te.OS=Xr([l,v]),e.exports&&(t=e.exports=Te),t.UAParser=Te;var kt=typeof r!==c&&(r.jQuery||r.Zepto);if(kt&&!kt.ua){var Zr=new Te;kt.ua=Zr.getResult(),kt.ua.get=function(){return Zr.getUA()},kt.ua.set=function(D){Zr.setUA(D);var q=Zr.getResult();for(var F in q)kt.ua[F]=q[F]}}})(typeof window=="object"?window:Wd)})(to,to.exports);var km=to.exports;const xi=new km.UAParser,zu=()=>/iPad|iPhone|iPod/.test(navigator.userAgent),Hu=()=>/Android/.test(navigator.userAgent),Ht=()=>Hu()||zu(),Tm=()=>({deviceType:Hu()||zu()?"Mobile":"Desktop",platform:xi.getOS().name,Browser:xi.getBrowser().name,"Browser Version":xi.getBrowser().version}),vr=Uu({baseQuery:ju,reducerPath:"segmentApi",endpoints:e=>({segmentIdentify:e.mutation({query:()=>({url:"super-campaign/backend/segment/identify",method:"POST"})}),segmentTrack:e.mutation({query:({event:t,properties:r})=>({url:"super-campaign/backend/segment/t",method:"POST",body:{event:t,properties:{...r,...Tm()}}})}),segmentPage:e.mutation({query:({event:t,properties:r})=>({url:"super-campaign/backend/segment/p",method:"POST",body:{event:t,properties:r}})})})}),{useSegmentIdentifyMutation:Rm,useSegmentTrackMutation:Am,useSegmentPageMutation:cw}=vr,ht=Uu({baseQuery:ju,reducerPath:"backendApi",endpoints:e=>({campaignConnect:e.query({query:()=>({url:"super-campaign/backend/campaign-connect",method:"GET"}),keepUnusedDataFor:Number.MAX_SAFE_INTEGER}),appLoaded:e.mutation({query:()=>({url:"super-campaign/backend/app-loaded",method:"POST"})})})}),{useLazyCampaignConnectQuery:Om,useAppLoadedMutation:Pm}=ht,Im={selectedVariants:{}},ro=qe({name:"experimentsData",initialState:Im,reducers:{setExperiment:(e,t)=>{const{experimentName:r,selectedVariant:n}=t.payload;return e.selectedVariants[r]||(e.selectedVariants[r]=n),e}}}),{setExperiment:Lm}=ro.actions,no=qe({name:"session",initialState:{},reducers:{setSession:(e,t)=>t.payload}}),{setSession:Nm}=no.actions,io=qe({name:"state",initialState:{},reducers:{setFunds:(e,t)=>{e.funds=t.payload},setSelectedFund:(e,t)=>{e.selectedFund={fundId:t.payload.fundId,iframeType:t.payload.iframeType,fundType:t.payload.fundType}},clearSelectedFund:e=>{e.selectedFund=void 0}}}),{setFunds:Mm,setSelectedFund:qu,clearSelectedFund:Re}=io.actions,Lt=ip({reducer:{[no.name]:no.reducer,[ht.reducerPath]:ht.reducer,[vr.reducerPath]:vr.reducer,[io.reducerPath]:io.reducer,[ro.reducerPath]:ro.reducer},middleware:e=>e().concat(ht.middleware,vr.middleware)}),Vr=()=>$u(),Qe=Mu,ra=({fillWidth:e=!1,fillWidthOnMobile:t=!1,disabled:r=!1,onClick:n=void 0,children:i})=>{const[o,a]=je(0);return R("button",{css:[{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",fontSize:"1rem",lineHeight:"1.5rem"},{display:"inline-flex",alignItems:"center",justifyContent:"center",borderWidth:"1px",fontWeight:"500"},{borderRadius:"0.375rem","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)",":focus":{outline:"2px solid transparent",outlineOffset:"2px","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)"}},{pointerEvents:"auto",":focus":{"--tw-ring-color":"var(--fl-color-primary-focus)","--tw-ring-offset-width":"2px"}},{":disabled":{pointerEvents:"none","--tw-border-opacity":"1",borderColor:"rgb(209 213 219 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity))"}},{borderColor:"transparent",backgroundColor:"var(--fl-color-primary)","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))",":hover":{backgroundColor:"var(--fl-color-primary-hover)"}},(e||t)&&{width:"100%"},t&&{"@media (min-width: 640px)":{width:"auto"}}],disabled:r,onClick:async()=>{if(!(!n||o===1))try{a(1),await n(),a(0)}catch(c){throw a(2),c}},children:[o===1&&b(Kt,{size:16}),b("div",{css:[o===1&&{display:"none"}],children:i})]})},na="32367272075001",ia="slate",He=e=>{document.dispatchEvent(new CustomEvent(e.type,{detail:e}))},Wu=()=>{const[e]=Am();return t=>{He({sender:"super-campaign",type:"choose-another-fund-requested"}),e({event:"FeaturedFunds Skipped",properties:{method:t}})}},Fm=e=>{He({sender:"super-campaign",type:"fund-panel-shown",shownFunds:e.map(t=>({fundId:t.fundId,fundType:t.fundType}))})},Dm=e=>{He({sender:"super-campaign",type:"fund-tile-clicked",fundId:e.fundId,fundType:e.fundType,fundName:e.name,fundUsi:e.fundId===ia?na:void 0})},ee=e=>{He({sender:"super-campaign",type:"fund-pds-viewed",pageName:"Panel Fund Page",fundName:e.name,fundUsi:e.fundId===ia?na:void 0})},Bm=()=>{He({sender:"super-campaign",type:"disclaimer-accepted"})},$m=()=>{He({sender:"super-campaign",type:"disclaimer-viewed"})},Nt=e=>{He({sender:"super-campaign",type:"promoted-fund-joined",fundJoinInfo:e})},Um=()=>{He({sender:"super-campaign",type:"super-campaign-loaded"})},jm=e=>{He({sender:"super-campaign",type:"super-campaign-load-failed",reason:e})},zm=e=>{He({sender:"super-campaign",type:"super-campaign-failed",reason:e})};var xe={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},$e=console,dt={};Object.keys(xe).forEach(function(e){dt[e]=$e[e]});var sr="Datadog Browser SDK:",ce={debug:dt.debug.bind($e,sr),log:dt.log.bind($e,sr),info:dt.info.bind($e,sr),warn:dt.warn.bind($e,sr),error:dt.error.bind($e,sr)};function Vu(e,t){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];try{return e.apply(void 0,r)}catch(i){ce.error(t,i)}}}var Mr;(function(e){e.PAGEHIDE="pagehide",e.FEATURE_FLAGS="feature_flags",e.RESOURCE_PAGE_STATES="resource_page_states",e.COLLECT_FLUSH_REASON="collect_flush_reason",e.ZERO_LCP_TELEMETRY="zero_lcp_telemetry",e.DISABLE_REPLAY_INLINE_CSS="disable_replay_inline_css",e.WRITABLE_RESOURCE_GRAPHQL="writable_resource_graphql",e.CUSTOM_VITALS="custom_vitals"})(Mr||(Mr={}));var oa=new Set;function Hm(e){e.forEach(function(t){oa.add(t)})}function Gu(e){return oa.has(e)}function qm(){return oa}function oo(e){return e!==0&&Math.random()*100<=e}function ki(e){return Wm(e)&&e>=0&&e<=100}function Wm(e){return typeof e=="number"}var Gr=1e3,St=60*Gr,Vm=60*St;function gr(){return new Date().getTime()}function ot(){return gr()}function In(){return performance.now()}function Jt(){return{relative:In(),timeStamp:ot()}}function Gm(){return{relative:0,timeStamp:Qu()}}function Qm(e,t){return t-e}function Ym(e,t){return e+t}function Km(e){return e-Qu()}var Ti;function Qu(){return Ti===void 0&&(Ti=performance.timing.navigationStart),Ti}var Ye=1024,Yu=1024*Ye,Jm=/[^\u0000-\u007F]/;function aa(e){return Jm.test(e)?window.TextEncoder!==void 0?new TextEncoder().encode(e).length:new Blob([e]).size:e.length}function Xt(e,t){return e.indexOf(t)!==-1}function Ku(e){if(Array.from)return Array.from(e);var t=[];if(e instanceof Set)e.forEach(function(n){return t.push(n)});else for(var r=0;r<e.length;r++)t.push(e[r]);return t}function Xm(e,t){for(var r=0;r<e.length;r+=1){var n=e[r];if(t(n,r))return n}}function qt(e){return Object.keys(e).map(function(t){return e[t]})}function Zm(e){return Object.keys(e).map(function(t){return[t,e[t]]})}function Ju(e,t){return e.slice(0,t.length)===t}function eh(e,t){return e.slice(-t.length)===t}function ve(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.forEach(function(n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}),e}function th(e){return ve({},e)}function Ls(e,t){return Object.keys(e).some(function(r){return e[r]===t})}function sa(e){return Object.keys(e).length===0}function at(){if(typeof globalThis=="object")return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var e=_dd_temp_;return delete Object.prototype._dd_temp_,typeof e!="object"&&(typeof self=="object"?e=self:typeof window=="object"?e=window:e={}),e}function Wt(e,t){var r=at(),n;return r.Zone&&typeof r.Zone.__symbol__=="function"&&(n=e[r.Zone.__symbol__(t)]),n||(n=e[t]),n}var rh=function(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))},Ln,Xu=!1;function nh(e){Ln=e}function ih(e){Xu=e}function oh(e,t,r){var n=r.value;r.value=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var a=Ln?W(n):n;return a.apply(this,i)}}function W(e){return function(){return Fr(e,this,arguments)}}function Fr(e,t,r){try{return e.apply(t,r)}catch(n){if(ao(n),Ln)try{Ln(n)}catch(i){ao(i)}}}function ao(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];Xu&&ce.error.apply(ce,rh(["[MONITOR]"],e,!1))}function Qr(e,t){return Wt(at(),"setTimeout")(W(e),t)}function Zu(e){Wt(at(),"clearTimeout")(e)}function ca(e,t){return Wt(at(),"setInterval")(W(e),t)}function el(e){Wt(at(),"clearInterval")(e)}var ue=function(){function e(t){this.onFirstSubscribe=t,this.observers=[]}return e.prototype.subscribe=function(t){var r=this;return!this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0),this.observers.push(t),{unsubscribe:function(){r.observers=r.observers.filter(function(n){return t!==n}),!r.observers.length&&r.onLastUnsubscribe&&r.onLastUnsubscribe()}}},e.prototype.notify=function(t){this.observers.forEach(function(r){return r(t)})},e}();function tl(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new ue(function(r){var n=e.map(function(i){return i.subscribe(function(o){return r.notify(o)})});return function(){return n.forEach(function(i){return i.unsubscribe()})}})}function rl(e,t,r){var n=r&&r.leading!==void 0?r.leading:!0,i=r&&r.trailing!==void 0?r.trailing:!0,o=!1,a,s;return{throttled:function(){for(var c=[],u=0;u<arguments.length;u++)c[u]=arguments[u];if(o){a=c;return}n?e.apply(void 0,c):a=c,o=!0,s=Qr(function(){i&&a&&e.apply(void 0,a),o=!1,a=void 0},t)},cancel:function(){Zu(s),o=!1,a=void 0}}}function Zt(){}function Ct(e){return e?(parseInt(e,10)^Math.random()*16>>parseInt(e,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,Ct)}var Nn=/([\w-]+)\s*=\s*([^;]+)/g;function ah(e,t){for(Nn.lastIndex=0;;){var r=Nn.exec(e);if(r){if(r[1]===t)return r[2]}else break}}function sh(e){var t=new Map;for(Nn.lastIndex=0;;){var r=Nn.exec(e);if(r)t.set(r[1],r[2]);else break}return t}function ch(e,t,r){r===void 0&&(r="");var n=e.charCodeAt(t-1),i=n>=55296&&n<=56319,o=i?t+1:t;return e.length<=o?e:"".concat(e.slice(0,o)).concat(r)}var nl=4*Vm,il=15*St;function uh(){return lh()===1}var sn;function lh(){return sn??(sn=dh())}function dh(e){var t;e===void 0&&(e=window);var r=e.navigator.userAgent;return e.chrome||/HeadlessChrome/.test(r)?1:((t=e.navigator.vendor)===null||t===void 0?void 0:t.indexOf("Apple"))===0||/safari/i.test(r)&&!/chrome|android/i.test(r)?2:e.document.documentMode?0:3}function si(e,t,r,n){var i=new Date;i.setTime(i.getTime()+r);var o="expires=".concat(i.toUTCString()),a=n&&n.crossSite?"none":"strict",s=n&&n.domain?";domain=".concat(n.domain):"",c=n&&n.secure?";secure":"",u=n&&n.partitioned?";partitioned":"";document.cookie="".concat(e,"=").concat(t,";").concat(o,";path=/;samesite=").concat(a).concat(s).concat(c).concat(u)}function ua(e){return ah(document.cookie,e)}var Ri;function pt(e){return Ri||(Ri=sh(document.cookie)),Ri.get(e)}function la(e,t){si(e,"",0,t)}function fh(e){if(document.cookie===void 0||document.cookie===null)return!1;try{var t="dd_cookie_test_".concat(Ct()),r="test";si(t,r,St,e);var n=ua(t)===r;return la(t,e),n}catch(i){return ce.error(i),!1}}var Ai;function ph(){if(Ai===void 0){for(var e="dd_site_test_".concat(Ct()),t="test",r=window.location.hostname.split("."),n=r.pop();r.length&&!ua(e);)n="".concat(r.pop(),".").concat(n),si(e,t,Gr,{domain:n});la(e,{domain:n}),Ai=n}return Ai}var Et="_dd_s",ol=/^([a-z]+)=([a-z0-9-]+)$/,da="&";function so(e){return sa(e)}function al(e){e.expire=String(gr()+il)}function sl(e){return Zm(e).map(function(t){var r=t[0],n=t[1];return"".concat(r,"=").concat(n)}).join(da)}function cl(e){var t={};return mh(e)&&e.split(da).forEach(function(r){var n=ol.exec(r);if(n!==null){var i=n[1],o=n[2];t[i]=o}}),t}function mh(e){return!!e&&(e.indexOf(da)!==-1||ol.test(e))}var hh="_dd",vh="_dd_r",gh="_dd_l",yh="rum",bh="logs";function wh(e){var t=pt(Et);if(!t){var r=pt(hh),n=pt(vh),i=pt(gh),o={};r&&(o.id=r),i&&/^[01]$/.test(i)&&(o[bh]=i),n&&/^[012]$/.test(n)&&(o[yh]=n),so(o)||(al(o),e.persistSession(o))}}function _h(e){var t=kh(e);return fh(t)?{type:"Cookie",cookieOptions:t}:void 0}function Sh(e){var t={isLockEnabled:uh(),persistSession:Ch(e),retrieveSession:Eh,clearSession:xh(e)};return wh(t),t}function Ch(e){return function(t){si(Et,sl(t),il,e)}}function Eh(){var e=ua(Et);return cl(e)}function xh(e){return function(){la(Et,e)}}function kh(e){var t={};return t.secure=!!e.useSecureSessionCookie||!!e.usePartitionedCrossSiteSessionCookie||!!e.useCrossSiteSessionCookie,t.crossSite=!!e.usePartitionedCrossSiteSessionCookie||!!e.useCrossSiteSessionCookie,t.partitioned=!!e.usePartitionedCrossSiteSessionCookie,e.trackSessionAcrossSubdomains&&(t.domain=ph()),t}var Th="_dd_test_";function Rh(){try{var e=Ct(),t="".concat(Th).concat(e);localStorage.setItem(t,e);var r=localStorage.getItem(t);return localStorage.removeItem(t),e===r?{type:"LocalStorage"}:void 0}catch{return}}function Ah(){return{isLockEnabled:!1,persistSession:Oh,retrieveSession:Ph,clearSession:Ih}}function Oh(e){localStorage.setItem(Et,sl(e))}function Ph(){var e=localStorage.getItem(Et);return cl(e)}function Ih(){localStorage.removeItem(Et)}var Lh=10,Nh=100,ul=[],bn;function yr(e,t,r){var n;r===void 0&&(r=0);var i=t.isLockEnabled,o=t.retrieveSession,a=t.persistSession,s=t.clearSession;if(bn||(bn=e),e!==bn){ul.push(e);return}if(i&&r>=Nh){Ns(t);return}var c,u=o();if(i){if(u.lock){cn(e,t,r);return}if(c=Ct(),u.lock=c,a(u),u=o(),u.lock!==c){cn(e,t,r);return}}var p=e.process(u);if(i&&(u=o(),u.lock!==c)){cn(e,t,r);return}if(p&&(so(p)?s():(al(p),a(p))),i&&!(p&&so(p))){if(u=o(),u.lock!==c){cn(e,t,r);return}delete u.lock,a(u),p=u}(n=e.after)===null||n===void 0||n.call(e,p||u),Ns(t)}function cn(e,t,r){Qr(function(){yr(e,t,r+1)},Lh)}function Ns(e){bn=void 0;var t=ul.shift();t&&yr(t,e)}var Ms=Gr;function Mh(e){var t=_h(e);return!t&&e.allowFallbackToLocalStorage&&(t=Rh()),t}function Fh(e,t,r){var n=new ue,i=new ue,o=e.type==="Cookie"?Sh(e.cookieOptions):Ah(),a=o.clearSession,s=o.retrieveSession,c=ca(m,Ms),u=C(),p=rl(function(){var S;yr({process:function(x){var k=h(x);return S=v(k),k},after:function(x){S&&!w()&&y(x),u=x}},o)},Ms),f=p.throttled,d=p.cancel;function l(){yr({process:function(S){return w()?h(S):void 0}},o)}function m(){yr({process:function(S){return E(S)?void 0:{}},after:h},o)}function h(S){return E(S)||(S={}),w()&&(_(S)?g():u=S),S}function v(S){var x=r(S[t]),k=x.trackingType,T=x.isTracked;return S[t]=k,T&&!S.id&&(S.id=Ct(),S.created=String(gr())),T}function w(){return u[t]!==void 0}function _(S){return u.id!==S.id||u[t]!==S[t]}function g(){u={},i.notify()}function y(S){u=S,n.notify()}function C(){var S=s();return E(S)?S:{}}function E(S){return(S.created===void 0||gr()-Number(S.created)<nl)&&(S.expire===void 0||gr()<Number(S.expire))}return{expandOrRenewSession:f,expandSession:l,getSession:function(){return u},renewObservable:n,expireObservable:i,expire:function(){d(),a(),h({})},stop:function(){el(c)}}}var co={GRANTED:"granted",NOT_GRANTED:"not-granted"};function Dh(e){var t=new ue;return{tryToInit:function(r){e||(e=r)},update:function(r){e=r,t.notify()},isGranted:function(){return e===co.GRANTED},observable:t}}function er(e,t,r){if(typeof e!="object"||e===null)return JSON.stringify(e);var n=Mt(Object.prototype),i=Mt(Array.prototype),o=Mt(Object.getPrototypeOf(e)),a=Mt(e);try{return JSON.stringify(e,t,r)}catch{return"<error: unable to serialize object>"}finally{n(),i(),o(),a()}}function Mt(e){var t=e,r=t.toJSON;return r?(delete t.toJSON,function(){t.toJSON=r}):Zt}function fa(e){return Bh(e,location.href).href}function Bh(e,t){var r=$h();if(r)try{return t!==void 0?new r(e,t):new r(e)}catch(a){throw new Error("Failed to construct URL: ".concat(String(a)," ").concat(er({url:e,base:t})))}if(t===void 0&&!/:/.test(e))throw new Error("Invalid URL: '".concat(e,"'"));var n=document,i=n.createElement("a");if(t!==void 0){n=document.implementation.createHTMLDocument("");var o=n.createElement("base");o.href=t,n.head.appendChild(o),n.body.appendChild(i)}return i.href=e,i}var Fs=URL,un;function $h(){if(un===void 0)try{var e=new Fs("http://test/path");un=e.href==="http://test/path"}catch{un=!1}return un?Fs:void 0}var Uh="datad0g.com",jh="dd0g-gov.com",br="datadoghq.com",zh="ddog-gov.com";function wr(e,t,r){var n=Hh(e,t);return{build:function(i,o){var a=Wh(e,t,r,i,o);return n(a)},urlPrefix:n(""),trackType:t}}function Hh(e,t){var r="/api/v2/".concat(t),n=e.proxy;if(typeof n=="string"){var i=fa(n);return function(a){return"".concat(i,"?ddforward=").concat(encodeURIComponent("".concat(r,"?").concat(a)))}}if(typeof n=="function")return function(a){return n({path:r,parameters:a})};var o=qh(e);return function(a){return"https://".concat(o).concat(r,"?").concat(a)}}function qh(e){var t=e.site,r=t===void 0?br:t,n=e.internalAnalyticsSubdomain;if(n&&r===br)return"".concat(n,".").concat(br);if(r===jh)return"http-intake.logs.".concat(r);var i=r.split("."),o=i.pop();return"browser-intake-".concat(i.join("-"),".").concat(o)}function Wh(e,t,r,n,i){var o=e.clientToken,a=e.internalAnalyticsSubdomain,s=i.retry,c=i.flushReason,u=i.encoding,p=["sdk_version:".concat("5.11.0"),"api:".concat(n)].concat(r);c&&Gu(Mr.COLLECT_FLUSH_REASON)&&p.push("flush_reason:".concat(c)),s&&p.push("retry_count:".concat(s.count),"retry_after:".concat(s.lastFailureStatus));var f=["ddsource=browser","ddtags=".concat(encodeURIComponent(p.join(","))),"dd-api-key=".concat(o),"dd-evp-origin-version=".concat(encodeURIComponent("5.11.0")),"dd-evp-origin=browser","dd-request-id=".concat(Ct())];return u&&f.push("dd-evp-encoding=".concat(u)),t==="rum"&&f.push("batch_time=".concat(ot())),a&&f.reverse(),f.join("&")}var Vh=200;function Gh(e){var t=e.env,r=e.service,n=e.version,i=e.datacenter,o=[];return t&&o.push(ln("env",t)),r&&o.push(ln("service",r)),n&&o.push(ln("version",n)),i&&o.push(ln("datacenter",i)),o}var Qh=/[^a-z0-9_:./-]/;function ln(e,t){var r=Vh-e.length-1;(t.length>r||Qh.test(t))&&ce.warn("".concat(e," value doesn't meet tag requirements and will be sanitized"));var n=t.replace(/,/g,"_");return"".concat(e,":").concat(n)}function Yh(e){var t=Gh(e),r=Kh(e,t),n=qt(r).map(function(o){return o.urlPrefix}),i=Jh(e,n,t);return ve({isIntakeUrl:function(o){return n.some(function(a){return o.indexOf(a)===0})},replica:i,site:e.site||br},r)}function Kh(e,t){return{logsEndpointBuilder:wr(e,"logs",t),rumEndpointBuilder:wr(e,"rum",t),sessionReplayEndpointBuilder:wr(e,"replay",t)}}function Jh(e,t,r){if(e.replica){var n=ve({},e,{site:br,clientToken:e.replica.clientToken}),i={logsEndpointBuilder:wr(n,"logs",r),rumEndpointBuilder:wr(n,"rum",r)};return t.push.apply(t,qt(i).map(function(o){return o.urlPrefix})),ve({applicationId:e.replica.applicationId},i)}}function Xh(e){var t,r,n,i;if(!e||!e.clientToken){ce.error("Client Token is not configured, we will not send any data.");return}if(e.sessionSampleRate!==void 0&&!ki(e.sessionSampleRate)){ce.error("Session Sample Rate should be a number between 0 and 100");return}if(e.telemetrySampleRate!==void 0&&!ki(e.telemetrySampleRate)){ce.error("Telemetry Sample Rate should be a number between 0 and 100");return}if(e.telemetryConfigurationSampleRate!==void 0&&!ki(e.telemetryConfigurationSampleRate)){ce.error("Telemetry Configuration Sample Rate should be a number between 0 and 100");return}if(e.trackingConsent!==void 0&&!Ls(co,e.trackingConsent)){ce.error('Tracking Consent should be either "granted" or "not-granted"');return}return Array.isArray(e.enableExperimentalFeatures)&&Hm(e.enableExperimentalFeatures.filter(function(o){return Ls(Mr,o)})),ve({beforeSend:e.beforeSend&&Vu(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:Mh(e),sessionSampleRate:(t=e.sessionSampleRate)!==null&&t!==void 0?t:100,telemetrySampleRate:(r=e.telemetrySampleRate)!==null&&r!==void 0?r:20,telemetryConfigurationSampleRate:(n=e.telemetryConfigurationSampleRate)!==null&&n!==void 0?n:5,service:e.service,silentMultipleInit:!!e.silentMultipleInit,allowUntrustedEvents:!!e.allowUntrustedEvents,trackingConsent:(i=e.trackingConsent)!==null&&i!==void 0?i:co.GRANTED,batchBytesLimit:16*Ye,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:30*Gr,batchMessagesLimit:50,messageBytesLimit:256*Ye},Yh(e))}function Zh(e){return{session_sample_rate:e.sessionSampleRate,telemetry_sample_rate:e.telemetrySampleRate,telemetry_configuration_sample_rate:e.telemetryConfigurationSampleRate,use_before_send:!!e.beforeSend,use_cross_site_session_cookie:e.useCrossSiteSessionCookie,use_partitioned_cross_site_session_cookie:e.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:e.useSecureSessionCookie,use_proxy:!!e.proxy,silent_multiple_init:e.silentMultipleInit,track_session_across_subdomains:e.trackSessionAcrossSubdomains,allow_fallback_to_local_storage:!!e.allowFallbackToLocalStorage,store_contexts_across_pages:!!e.storeContextsAcrossPages,allow_untrusted_events:!!e.allowUntrustedEvents}}function vt(e,t,r){var n=e[t],i=ev(n,r),o=function(){if(typeof i=="function")return i.apply(this,arguments)};return e[t]=o,{stop:function(){e[t]===o?e[t]=n:i=n}}}function ev(e,t){return function(){var r=arguments,n,i;return Fr(t,null,[{target:this,parameters:r,onPostCall:function(o){i=o}}]),typeof e=="function"&&(n=e.apply(this,r)),i&&Fr(i,null,[n]),n}}var Yr="?";function Je(e){var t=[],r=Oi(e,"stack"),n=String(e);return r&&Ju(r,n)&&(r=r.slice(n.length)),r&&r.split(`
|
|
17
17
|
`).forEach(function(i){var o=nv(i)||ov(i)||sv(i)||lv(i);o&&(!o.func&&o.line&&(o.func=Yr),t.push(o))}),{message:Oi(e,"message"),name:Oi(e,"name"),stack:t}}var ll="((?:file|https?|blob|chrome-extension|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",Vt="(?::(\\d+))",tv=new RegExp("^\\s*at (.*?) ?\\(".concat(ll).concat(Vt,"?").concat(Vt,"?\\)?\\s*$"),"i"),rv=new RegExp("\\((\\S*)".concat(Vt).concat(Vt,"\\)"));function nv(e){var t=tv.exec(e);if(t){var r=t[2]&&t[2].indexOf("native")===0,n=t[2]&&t[2].indexOf("eval")===0,i=rv.exec(t[2]);return n&&i&&(t[2]=i[1],t[3]=i[2],t[4]=i[3]),{args:r?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||Yr,line:t[3]?+t[3]:void 0,url:r?void 0:t[2]}}}var iv=new RegExp("^\\s*at ?".concat(ll).concat(Vt,"?").concat(Vt,"??\\s*$"),"i");function ov(e){var t=iv.exec(e);if(t)return{args:[],column:t[3]?+t[3]:void 0,func:Yr,line:t[2]?+t[2]:void 0,url:t[1]}}var av=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function sv(e){var t=av.exec(e);if(t)return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||Yr,line:+t[3],url:t[2]}}var cv=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,uv=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function lv(e){var t=cv.exec(e);if(t){var r=t[3]&&t[3].indexOf(" > eval")>-1,n=uv.exec(t[3]);return r&&n&&(t[3]=n[1],t[4]=n[2],t[5]=void 0),{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||Yr,line:t[4]?+t[4]:void 0,url:t[3]}}}function Oi(e,t){if(!(typeof e!="object"||!e||!(t in e))){var r=e[t];return typeof r=="string"?r:void 0}}function dv(e,t,r,n){var i=[{url:t,column:n,line:r}],o=pv(e),a=o.name,s=o.message;return{name:a,message:s,stack:i}}var fv=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function pv(e){var t,r,n;return{}.toString.call(e)==="[object String]"&&(t=fv.exec(e),r=t[1],n=t[2]),{name:r,message:n}}var mv=220*Ye,hv="$",vv=3;function Ke(e,t){var r;t===void 0&&(t=mv);var n=Mt(Object.prototype),i=Mt(Array.prototype),o=[],a=new WeakMap,s=Pi(e,hv,void 0,o,a),c=((r=JSON.stringify(s))===null||r===void 0?void 0:r.length)||0;if(c>t){Ii(t,"discarded",e);return}for(;o.length>0&&c<t;){var u=o.shift(),p=0;if(Array.isArray(u.source))for(var f=0;f<u.source.length;f++){var d=Pi(u.source[f],u.path,f,o,a);if(d!==void 0?c+=JSON.stringify(d).length:c+=4,c+=p,p=1,c>t){Ii(t,"truncated",e);break}u.target[f]=d}else for(var f in u.source)if(Object.prototype.hasOwnProperty.call(u.source,f)){var d=Pi(u.source[f],u.path,f,o,a);if(d!==void 0&&(c+=JSON.stringify(d).length+p+f.length+vv,p=1),c>t){Ii(t,"truncated",e);break}u.target[f]=d}}return n(),i(),s}function Pi(e,t,r,n,i){var o=bv(e);if(!o||typeof o!="object")return gv(o);var a=yv(o);if(a!=="[Object]"&&a!=="[Array]"&&a!=="[Error]")return a;var s=e;if(i.has(s))return"[Reference seen at ".concat(i.get(s),"]");var c=r!==void 0?"".concat(t,".").concat(r):t,u=Array.isArray(o)?[]:{};return i.set(s,c),n.push({source:o,target:u,path:c}),u}function gv(e){return typeof e=="bigint"?"[BigInt] ".concat(e.toString()):typeof e=="function"?"[Function] ".concat(e.name||"unknown"):typeof e=="symbol"?"[Symbol] ".concat(e.description||e.toString()):e}function yv(e){try{if(e instanceof Event)return{isTrusted:e.isTrusted};var t=Object.prototype.toString.call(e),r=t.match(/\[object (.*)\]/);if(r&&r[1])return"[".concat(r[1],"]")}catch{}return"[Unserializable]"}function bv(e){var t=e;if(t&&typeof t.toJSON=="function")try{return t.toJSON()}catch{}return e}function Ii(e,t,r){ce.warn("The data provided has been ".concat(t," as it is over the limit of ").concat(e," characters:"),r)}var dl="No stack, consider using an instance of Error";function fl(e){var t=e.stackTrace,r=e.originalError,n=e.handlingStack,i=e.startClocks,o=e.nonErrorPrefix,a=e.source,s=e.handling,c=r instanceof Error,u=wv(t,c,o,r),p=_v(c,t)?xt(t):dl,f=c?hl(r,a):void 0,d=t==null?void 0:t.name,l=pl(r);return{startClocks:i,source:a,handling:s,handlingStack:n,originalError:r,type:d,message:u,stack:p,causes:f,fingerprint:l}}function wv(e,t,r,n){return e!=null&&e.message&&(e!=null&&e.name)?e.message:t?"Empty message":"".concat(r," ").concat(er(Ke(n)))}function _v(e,t){return t===void 0?!1:e?!0:t.stack.length>0&&(t.stack.length>1||t.stack[0].url!==void 0)}function pl(e){return e instanceof Error&&"dd_fingerprint"in e?String(e.dd_fingerprint):void 0}function xt(e){var t=ml(e);return e.stack.forEach(function(r){var n=r.func==="?"?"<anonymous>":r.func,i=r.args&&r.args.length>0?"(".concat(r.args.join(", "),")"):"",o=r.line?":".concat(r.line):"",a=r.line&&r.column?":".concat(r.column):"";t+=`
|
|
18
18
|
at `.concat(n).concat(i," @ ").concat(r.url).concat(o).concat(a)}),t}function Sv(e){var t;return(t=/@ (.+)/.exec(e))===null||t===void 0?void 0:t[1]}function ml(e){return"".concat(e.name||"Error",": ").concat(e.message)}function Cv(){var e=2,t=new Error,r;if(!t.stack)try{throw t}catch{}return Fr(function(){var n=Je(t);n.stack=n.stack.slice(e),r=xt(n)}),r}function hl(e,t){for(var r=e,n=[];(r==null?void 0:r.cause)instanceof Error&&n.length<10;){var i=Je(r.cause);n.push({message:r.cause.message,source:t,type:i==null?void 0:i.name,stack:i&&xt(i)}),r=r.cause}return n.length?n:void 0}var Le={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"};function Ev(e){var t=function(i,o){var a=fl({stackTrace:i,originalError:o,startClocks:Jt(),nonErrorPrefix:"Uncaught",source:Le.SOURCE,handling:"unhandled"});e.notify(a)},r=xv(t).stop,n=kv(t).stop;return{stop:function(){r(),n()}}}function xv(e){return vt(window,"onerror",function(t){var r=t.parameters,n=r[0],i=r[1],o=r[2],a=r[3],s=r[4],c;s instanceof Error?c=Je(s):c=dv(n,i,o,a),e(c,s??n)})}function kv(e){return vt(window,"onunhandledrejection",function(t){var r=t.parameters[0],n=r.reason||"Empty reason",i=Je(n);e(i,n)})}function Tv(e){var t=ve({version:"5.11.0",onReady:function(r){r()}},e);return Object.defineProperty(t,"_setDebug",{get:function(){return ih},enumerable:!1}),t}function Rv(e,t,r){var n=e[t];e[t]=r,n&&n.q&&n.q.forEach(function(i){return Vu(i,"onReady callback threw an error:")()})}function vl(e,t){t.silentMultipleInit||ce.error("".concat(e," is already initialized."))}var fe;(function(e){e.BEFORE_UNLOAD="beforeunload",e.CLICK="click",e.DBL_CLICK="dblclick",e.KEY_DOWN="keydown",e.LOAD="load",e.POP_STATE="popstate",e.SCROLL="scroll",e.TOUCH_START="touchstart",e.TOUCH_END="touchend",e.TOUCH_MOVE="touchmove",e.VISIBILITY_CHANGE="visibilitychange",e.PAGE_SHOW="pageshow",e.FREEZE="freeze",e.RESUME="resume",e.DOM_CONTENT_LOADED="DOMContentLoaded",e.POINTER_DOWN="pointerdown",e.POINTER_UP="pointerup",e.POINTER_CANCEL="pointercancel",e.HASH_CHANGE="hashchange",e.PAGE_HIDE="pagehide",e.MOUSE_DOWN="mousedown",e.MOUSE_UP="mouseup",e.MOUSE_MOVE="mousemove",e.FOCUS="focus",e.BLUR="blur",e.CONTEXT_MENU="contextmenu",e.RESIZE="resize",e.CHANGE="change",e.INPUT="input",e.PLAY="play",e.PAUSE="pause",e.SECURITY_POLICY_VIOLATION="securitypolicyviolation",e.SELECTION_CHANGE="selectionchange",e.STORAGE="storage"})(fe||(fe={}));function tr(e,t,r,n,i){return pa(e,t,[r],n,i)}function pa(e,t,r,n,i){var o=i===void 0?{}:i,a=o.once,s=o.capture,c=o.passive,u=W(function(l){!l.isTrusted&&!l.__ddIsTrusted&&!e.allowUntrustedEvents||(a&&d(),n(l))}),p=c?{capture:s,passive:c}:s,f=Wt(t,"addEventListener");r.forEach(function(l){return f.call(t,l,u,p)});function d(){var l=Wt(t,"removeEventListener");r.forEach(function(m){return l.call(t,m,u,p)})}return{stop:d}}var et={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function Av(e,t){var r=[];Xt(t,et.cspViolation)&&r.push(Pv(e));var n=t.filter(function(i){return i!==et.cspViolation});return n.length&&r.push(Ov(n)),tl.apply(void 0,r)}function Ov(e){return new ue(function(t){if(window.ReportingObserver){var r=W(function(i,o){return i.forEach(function(a){t.notify(Iv(a))})}),n=new window.ReportingObserver(r,{types:e,buffered:!0});return n.observe(),function(){n.disconnect()}}})}function Pv(e){return new ue(function(t){var r=tr(e,document,fe.SECURITY_POLICY_VIOLATION,function(n){t.notify(Lv(n))}).stop;return r})}function Iv(e){var t=e.type,r=e.body;return{type:t,subtype:r.id,message:"".concat(t,": ").concat(r.message),originalReport:e,stack:gl(r.id,r.message,r.sourceFile,r.lineNumber,r.columnNumber)}}function Lv(e){var t=et.cspViolation,r="'".concat(e.blockedURI,"' blocked by '").concat(e.effectiveDirective,"' directive");return{type:et.cspViolation,subtype:e.effectiveDirective,message:"".concat(t,": ").concat(r),stack:gl(e.effectiveDirective,e.originalPolicy?"".concat(r,' of the policy "').concat(ch(e.originalPolicy,100,"..."),'"'):"no policy",e.sourceFile,e.lineNumber,e.columnNumber),originalReport:e}}function gl(e,t,r,n,i){return r?xt({name:e,message:t,stack:[{func:"?",url:r,line:n??void 0,column:i??void 0}]}):void 0}function yl(e,t){var r=window.__ddBrowserSdkExtensionCallback;r&&r({type:e,payload:t})}function ma(e){return e===null?"null":Array.isArray(e)?"array":typeof e}function Mn(e,t,r){if(r===void 0&&(r=Nv()),t===void 0)return e;if(typeof t!="object"||t===null)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){var n=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,n)}if(!r.hasAlreadyBeenSeen(t)){if(Array.isArray(t)){for(var i=Array.isArray(e)?e:[],o=0;o<t.length;++o)i[o]=Mn(i[o],t[o],r);return i}var a=ma(e)==="object"?e:{};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(a[s]=Mn(a[s],t[s],r));return a}}function bl(e){return Mn(void 0,e)}function Gt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n=0,i=e;n<i.length;n++){var o=i[n];o!=null&&(r=Mn(r,o))}return r}function Nv(){if(typeof WeakSet<"u"){var e=new WeakSet;return{hasAlreadyBeenSeen:function(r){var n=e.has(r);return n||e.add(r),n}}}var t=[];return{hasAlreadyBeenSeen:function(r){var n=t.indexOf(r)>=0;return n||t.push(r),n}}}function Mv(){var e,t=window.navigator;return{status:t.onLine?"connected":"not_connected",interfaces:t.connection&&t.connection.type?[t.connection.type]:void 0,effective_type:(e=t.connection)===null||e===void 0?void 0:e.effectiveType}}var ha={log:"log",configuration:"configuration"},Fv=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],Dv=[zh],Be={maxEventsPerPage:0,sentEventCount:0,telemetryEnabled:!1,telemetryConfigurationEnabled:!1},uo;function Bv(e,t){var r,n=new ue;Be.telemetryEnabled=!Xt(Dv,t.site)&&oo(t.telemetrySampleRate),Be.telemetryConfigurationEnabled=Be.telemetryEnabled&&oo(t.telemetryConfigurationSampleRate);var i=$v();uo=function(a){if(Be.telemetryEnabled){var s=o(e,a,i);n.notify(s),yl("telemetry",s)}},nh(_l),ve(Be,{maxEventsPerPage:t.maxTelemetryEventsPerPage,sentEventCount:0});function o(a,s,c){return Gt({type:"telemetry",date:ot(),service:a,version:"5.11.0",source:"browser",_dd:{format_version:2},telemetry:Gt(s,{runtime_env:c,connectivity:Mv()}),experimental_features:Ku(qm())},r!==void 0?r():{})}return{setContextProvider:function(a){r=a},observable:n,enabled:Be.telemetryEnabled}}function $v(){return{is_local_file:window.location.protocol==="file:",is_worker:"WorkerGlobalScope"in self}}function Uv(e){return e.site===Uh}function wl(e,t){ao(xe.debug,e,t),va(ve({type:ha.log,message:e,status:"debug"},t))}function _l(e,t){va(ve({type:ha.log,status:"error"},zv(e),t))}function jv(e){Be.telemetryConfigurationEnabled&&va({type:ha.configuration,configuration:e})}function va(e){uo&&Be.sentEventCount<Be.maxEventsPerPage&&(Be.sentEventCount+=1,uo(e))}function zv(e){if(e instanceof Error){var t=Je(e);return{error:{kind:t.name,stack:xt(Hv(t))},message:t.message}}return{error:{stack:dl},message:"".concat("Uncaught"," ").concat(er(e))}}function Hv(e){return e.stack=e.stack.filter(function(t){return!t.url||Fv.some(function(r){return Ju(t.url,r)})}),e}function qv(e){var t=new Set;return e.forEach(function(r){return t.add(r)}),Ku(t)}function Sl(e,t){var r=e.indexOf(t);r>=0&&e.splice(r,1)}var dn=1/0,Wv=St,Vv=function(){function e(t,r){var n=this;this.expireDelay=t,this.maxEntries=r,this.entries=[],this.clearOldValuesInterval=ca(function(){return n.clearOldValues()},Wv)}return e.prototype.add=function(t,r){var n=this,i={value:t,startTime:r,endTime:dn,remove:function(){Sl(n.entries,i)},close:function(o){i.endTime=o}};return this.maxEntries&&this.entries.length>=this.maxEntries&&this.entries.pop(),this.entries.unshift(i),i},e.prototype.find=function(t){t===void 0&&(t=dn);for(var r=0,n=this.entries;r<n.length;r++){var i=n[r];if(i.startTime<=t){if(t<=i.endTime)return i.value;break}}},e.prototype.closeActive=function(t){var r=this.entries[0];r&&r.endTime===dn&&r.close(t)},e.prototype.findAll=function(t,r){t===void 0&&(t=dn),r===void 0&&(r=0);var n=Ym(t,r);return this.entries.filter(function(i){return i.startTime<=n&&t<=i.endTime}).map(function(i){return i.value})},e.prototype.reset=function(){this.entries=[]},e.prototype.stop=function(){el(this.clearOldValuesInterval)},e.prototype.clearOldValues=function(){for(var t=In()-this.expireDelay;this.entries.length>0&&this.entries[this.entries.length-1].endTime<t;)this.entries.pop()},e}(),Gv=St,Qv=nl;function Yv(e,t,r,n){var i=new ue,o=new ue,a=Fh(e.sessionStoreStrategyType,t,r),s=new Vv(Qv);a.renewObservable.subscribe(function(){s.add(c(),In()),i.notify()}),a.expireObservable.subscribe(function(){o.notify(),s.closeActive(In())}),a.expandOrRenewSession(),s.add(c(),Gm().relative),n.observable.subscribe(function(){n.isGranted()?a.expandOrRenewSession():a.expire()}),Kv(e,function(){n.isGranted()&&a.expandOrRenewSession()}),Jv(e,function(){return a.expandSession()});function c(){return{id:a.getSession().id,trackingType:a.getSession()[t]}}return{findActiveSession:function(u){return s.find(u)},renewObservable:i,expireObservable:o,expire:a.expire}}function Kv(e,t){pa(e,window,[fe.CLICK,fe.TOUCH_START,fe.KEY_DOWN,fe.SCROLL],t,{capture:!0,passive:!0}).stop}function Jv(e,t){var r=function(){document.visibilityState==="visible"&&t()};tr(e,document,fe.VISIBILITY_CHANGE,r).stop,ca(r,Gv)}function Cl(e){return e>=500}function Xv(e){try{return e.clone()}catch{return}}var Zv=80*Ye,eg=32,El=3*Yu,tg=St,xl=Gr;function kl(e,t,r,n,i){t.transportStatus===0&&t.queuedPayloads.size()===0&&t.bandwidthMonitor.canHandle(e)?Rl(e,t,r,{onSuccess:function(){return Al(0,t,r,n,i)},onFailure:function(){t.queuedPayloads.enqueue(e),Tl(t,r,n,i)}}):t.queuedPayloads.enqueue(e)}function Tl(e,t,r,n){e.transportStatus===2&&Qr(function(){var i=e.queuedPayloads.first();Rl(i,e,t,{onSuccess:function(){e.queuedPayloads.dequeue(),e.currentBackoffTime=xl,Al(1,e,t,r,n)},onFailure:function(){e.currentBackoffTime=Math.min(tg,e.currentBackoffTime*2),Tl(e,t,r,n)}})},e.currentBackoffTime)}function Rl(e,t,r,n){var i=n.onSuccess,o=n.onFailure;t.bandwidthMonitor.add(e),r(e,function(a){t.bandwidthMonitor.remove(e),rg(a)?(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:a.status},o()):(t.transportStatus=0,i())})}function Al(e,t,r,n,i){e===0&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(i({message:"Reached max ".concat(n," events size queued for upload: ").concat(El/Yu,"MiB"),source:Le.AGENT,startClocks:Jt()}),t.queueFullReported=!0);var o=t.queuedPayloads;for(t.queuedPayloads=Ol();o.size()>0;)kl(o.dequeue(),t,r,n,i)}function rg(e){return e.type!=="opaque"&&(e.status===0&&!navigator.onLine||e.status===408||e.status===429||Cl(e.status))}function ng(){return{transportStatus:0,currentBackoffTime:xl,bandwidthMonitor:ig(),queuedPayloads:Ol(),queueFullReported:!1}}function Ol(){var e=[];return{bytesCount:0,enqueue:function(t){this.isFull()||(e.push(t),this.bytesCount+=t.bytesCount)},first:function(){return e[0]},dequeue:function(){var t=e.shift();return t&&(this.bytesCount-=t.bytesCount),t},size:function(){return e.length},isFull:function(){return this.bytesCount>=El}}}function ig(){return{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(e){return this.ongoingRequestCount===0||this.ongoingByteCount+e.bytesCount<=Zv&&this.ongoingRequestCount<eg},add:function(e){this.ongoingRequestCount+=1,this.ongoingByteCount+=e.bytesCount},remove:function(e){this.ongoingRequestCount-=1,this.ongoingByteCount-=e.bytesCount}}}function og(e,t,r,n){var i=ng(),o=function(a,s){return cg(e,t,r,a,s)};return{send:function(a){kl(a,i,o,t.trackType,n)},sendOnExit:function(a){ag(e,t,r,a)}}}function ag(e,t,r,n){var i=!!navigator.sendBeacon&&n.bytesCount<r;if(i)try{var o=t.build("beacon",n),a=navigator.sendBeacon(o,n.data);if(a)return}catch(c){sg(c)}var s=t.build("xhr",n);lo(e,s,n.data)}var Ds=!1;function sg(e){Ds||(Ds=!0,_l(e))}function cg(e,t,r,n,i){var o=ug()&&n.bytesCount<r;if(o){var a=t.build("fetch",n);fetch(a,{method:"POST",body:n.data,keepalive:!0,mode:"cors"}).then(W(function(c){return i==null?void 0:i({status:c.status,type:c.type})}),W(function(){var c=t.build("xhr",n);lo(e,c,n.data,i)}))}else{var s=t.build("xhr",n);lo(e,s,n.data,i)}}function ug(){try{return window.Request&&"keepalive"in new Request("http://a")}catch{return!1}}function lo(e,t,r,n){var i=new XMLHttpRequest;i.open("POST",t,!0),r instanceof Blob&&i.setRequestHeader("Content-Type",r.type),tr(e,i,"loadend",function(){n==null||n({status:i.status})},{once:!0}),i.send(r)}function ga(){var e=lg();if(e)return{getCapabilities:function(){var t;return JSON.parse(((t=e.getCapabilities)===null||t===void 0?void 0:t.call(e))||"[]")},getPrivacyLevel:function(){var t;return(t=e.getPrivacyLevel)===null||t===void 0?void 0:t.call(e)},getAllowedWebViewHosts:function(){return JSON.parse(e.getAllowedWebViewHosts())},send:function(t,r,n){var i=n?{id:n}:void 0;e.send(JSON.stringify({eventType:t,event:r,view:i}))}}}function Fn(e){var t;e===void 0&&(e=(t=at().location)===null||t===void 0?void 0:t.hostname);var r=ga();return!!r&&r.getAllowedWebViewHosts().some(function(n){return e===n||eh(e,".".concat(n))})}function lg(){return at().DatadogEventBridge}var lr={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function dg(e){return new ue(function(t){var r=Gu(Mr.PAGEHIDE),n=pa(e,window,[fe.VISIBILITY_CHANGE,fe.FREEZE,fe.PAGE_HIDE],function(o){o.type===fe.PAGE_HIDE&&r?t.notify({reason:lr.PAGEHIDE}):o.type===fe.VISIBILITY_CHANGE&&document.visibilityState==="hidden"?t.notify({reason:lr.HIDDEN}):o.type===fe.FREEZE&&t.notify({reason:lr.FROZEN})},{capture:!0}).stop,i=Zt;return r||(i=tr(e,window,fe.BEFORE_UNLOAD,function(){t.notify({reason:lr.UNLOADING})}).stop),function(){n(),i()}})}function fg(e){return Xt(qt(lr),e)}var pg=function(){function e(t,r,n,i){var o=this;this.encoder=t,this.request=r,this.flushController=n,this.messageBytesLimit=i,this.upsertBuffer={},this.flushSubscription=this.flushController.flushObservable.subscribe(function(a){return o.flush(a)})}return e.prototype.add=function(t){this.addOrUpdate(t)},e.prototype.upsert=function(t,r){this.addOrUpdate(t,r)},e.prototype.stop=function(){this.flushSubscription.unsubscribe()},e.prototype.flush=function(t){var r=qt(this.upsertBuffer).join(`
|
|
19
19
|
`);this.upsertBuffer={};var n=fg(t.reason),i=n?this.request.sendOnExit:this.request.send;if(n&&this.encoder.isAsync){var o=this.encoder.finishSync();o.outputBytesCount&&i(Bs(o,t));var a=[o.pendingData,r].filter(Boolean).join(`
|
|
20
20
|
`);a&&i({data:a,bytesCount:aa(a),flushReason:t.reason})}else r&&this.encoder.write(this.encoder.isEmpty?r:`
|
|
21
21
|
`.concat(r)),this.encoder.finish(function(s){i(Bs(s,t))})},e.prototype.addOrUpdate=function(t,r){var n=er(t),i=this.encoder.estimateEncodedBytesCount(n);if(i>=this.messageBytesLimit){ce.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(this.messageBytesLimit,"KB."));return}this.hasMessageFor(r)&&this.remove(r),this.push(n,i,r)},e.prototype.push=function(t,r,n){var i=this;this.flushController.notifyBeforeAddMessage(r),n!==void 0?(this.upsertBuffer[n]=t,this.flushController.notifyAfterAddMessage()):this.encoder.write(this.encoder.isEmpty?t:`
|
|
22
|
-
`.concat(t),function(o){i.flushController.notifyAfterAddMessage(o-r)})},e.prototype.remove=function(t){var r=this.upsertBuffer[t];delete this.upsertBuffer[t];var n=this.encoder.estimateEncodedBytesCount(r);this.flushController.notifyAfterRemoveMessage(n)},e.prototype.hasMessageFor=function(t){return t!==void 0&&this.upsertBuffer[t]!==void 0},e}();function Bs(e,t){var r;return typeof e.output=="string"?r=e.output:r=new Blob([e.output],{type:"text/plain"}),{data:r,bytesCount:e.outputBytesCount,encoding:e.encoding,flushReason:t.reason}}function mg(e){var t=e.messagesLimit,r=e.bytesLimit,n=e.durationLimit,i=e.pageExitObservable,o=e.sessionExpireObservable,a=i.subscribe(function(h){return f(h.reason)}),s=o.subscribe(function(){return f("session_expire")}),c=new ue(function(){return function(){a.unsubscribe(),s.unsubscribe()}}),u=0,p=0;function f(h){if(p!==0){var v=p,w=u;p=0,u=0,m(),c.notify({reason:h,messagesCount:v,bytesCount:w})}}var d;function l(){d===void 0&&(d=Qr(function(){f("duration_limit")},n))}function m(){Zu(d),d=void 0}return{flushObservable:c,get messagesCount(){return p},notifyBeforeAddMessage:function(h){u+h>=r&&f("bytes_limit"),p+=1,u+=h,l()},notifyAfterAddMessage:function(h){h===void 0&&(h=0),u+=h,p>=t?f("messages_limit"):u>=r&&f("bytes_limit")},notifyAfterRemoveMessage:function(h){u-=h,p-=1,p===0&&m()}}}function Pl(e,t,r,n,i,o){var a=c(e,t),s=r&&c(e,r);function c(u,p){var f=p.endpoint,d=p.encoder;return new pg(d,og(u,f,u.batchBytesLimit,n),mg({messagesLimit:u.batchMessagesLimit,bytesLimit:u.batchBytesLimit,durationLimit:u.flushTimeout,pageExitObservable:i,sessionExpireObservable:o}),u.messageBytesLimit)}return{flushObservable:a.flushController.flushObservable,add:function(u,p){p===void 0&&(p=!0),a.add(u),s&&p&&s.add(r.transformMessage?r.transformMessage(u):u)},upsert:function(u,p){a.upsert(u,p),s&&s.upsert(r.transformMessage?r.transformMessage(u):u,p)},stop:function(){a.stop(),s==null||s.stop()}}}function Dn(){var e="",t=0;return{isAsync:!1,get isEmpty(){return!e},write:function(r,n){var i=aa(r);t+=i,e+=r,n&&n(i)},finish:function(r){r(this.finishSync())},finishSync:function(){var r={output:e,outputBytesCount:t,rawBytesCount:t,pendingData:""};return e="",t=0,r},estimateEncodedBytesCount:function(r){return r.length}}}var hg=function(){function e(){this.callbacks={}}return e.prototype.notify=function(t,r){var n=this.callbacks[t];n&&n.forEach(function(i){return i(r)})},e.prototype.subscribe=function(t,r){var n=this;return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(r),{unsubscribe:function(){n.callbacks[t]=n.callbacks[t].filter(function(i){return r!==i})}}},e}();function vg(e,t,r){var n=0,i=!1;return{isLimitReached:function(){if(n===0&&Qr(function(){n=0},St),n+=1,n<=t||i)return i=!1,!1;if(n===t+1){i=!0;try{r({message:"Reached max number of ".concat(e,"s by minute: ").concat(t),source:Le.AGENT,startClocks:Jt()})}finally{i=!1}}return!0}}}var Li,ya=new WeakMap;function gg(e){return Li||(Li=yg(e)),Li}function yg(e){return new ue(function(t){var r=vt(XMLHttpRequest.prototype,"open",bg).stop,n=vt(XMLHttpRequest.prototype,"send",function(o){wg(o,e,t)}).stop,i=vt(XMLHttpRequest.prototype,"abort",_g).stop;return function(){r(),n(),i()}})}function bg(e){var t=e.target,r=e.parameters,n=r[0],i=r[1];ya.set(t,{state:"open",method:String(n).toUpperCase(),url:fa(String(i))})}function wg(e,t,r){var n=e.target,i=ya.get(n);if(i){var o=i;o.state="start",o.startClocks=Jt(),o.isAborted=!1,o.xhr=n;var a=!1,s=vt(n,"onreadystatechange",function(){n.readyState===XMLHttpRequest.DONE&&c()}).stop,c=function(){if(u(),s(),!a){a=!0;var p=i;p.state="complete",p.duration=Qm(o.startClocks.timeStamp,ot()),p.status=n.status,r.notify(th(p))}},u=tr(t,n,"loadend",c).stop;r.notify(o)}}function _g(e){var t=e.target,r=ya.get(t);r&&(r.isAborted=!0)}var Ni;function Sg(){return Ni||(Ni=Cg()),Ni}function Cg(){return new ue(function(e){if(window.fetch){var t=vt(window,"fetch",function(r){return Eg(r,e)}).stop;return t}})}function Eg(e,t){var r=e.parameters,n=e.onPostCall,i=r[0],o=r[1],a=o&&o.method;a===void 0&&i instanceof Request&&(a=i.method);var s=a!==void 0?String(a).toUpperCase():"GET",c=i instanceof Request?i.url:fa(String(i)),u=Jt(),p={state:"start",init:o,input:i,method:s,startClocks:u,url:c};t.notify(p),r[0]=p.input,r[1]=p.init,n(function(f){return xg(t,f,p)})}function xg(e,t,r){var n=function(i){var o=r;o.state="resolve","stack"in i||i instanceof Error?(o.status=0,o.isAborted=i instanceof DOMException&&i.code===DOMException.ABORT_ERR,o.error=i):"status"in i&&(o.response=i,o.responseType=i.type,o.status=i.status,o.isAborted=!1),e.notify(o)};t.then(W(n),W(n))}var Mi={};function kg(e){var t=e.map(function(r){return Mi[r]||(Mi[r]=Tg(r)),Mi[r]});return tl.apply(void 0,t)}function Tg(e){return new ue(function(t){var r=$e[e];return $e[e]=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];r.apply(console,n);var o=Cv();Fr(function(){t.notify(Rg(n,e,o))})},function(){$e[e]=r}})}function Rg(e,t,r){var n=e.map(function(c){return Ag(c)}).join(" "),i,o,a;if(t===xe.error){var s=Xm(e,function(c){return c instanceof Error});i=s?xt(Je(s)):void 0,o=pl(s),a=s?hl(s,"console"):void 0}return{api:t,message:n,stack:i,handlingStack:r,fingerprint:o,causes:a}}function Ag(e){return typeof e=="string"?Ke(e):e instanceof Error?ml(Je(e)):er(Ke(e),void 0,2)}var Og=500,Pg=function(){function e(){this.buffer=[]}return e.prototype.add=function(t){var r=this.buffer.push(t);r>Og&&this.buffer.splice(0,1)},e.prototype.remove=function(t){Sl(this.buffer,t)},e.prototype.drain=function(t){this.buffer.forEach(function(r){return r(t)}),this.buffer.length=0},e}();function fo(e){var t={},r=new ue,n={getContext:function(){return bl(t)},setContext:function(i){ma(i)==="object"?(t=Ke(i),e.updateCustomerData(t)):n.clearContext(),r.notify()},setContextProperty:function(i,o){t[i]=Ke(o),e.updateCustomerData(t),r.notify()},removeContextProperty:function(i){delete t[i],e.updateCustomerData(t),r.notify()},clearContext:function(){t={},e.resetCustomerData(),r.notify()},changeObservable:r};return n}var Ig="_dd_c",Lg=[];function $s(e,t,r,n){var i=Ng(r,n);Lg.push(tr(e,window,fe.STORAGE,function(c){var u=c.key;i===u&&o()})),t.changeObservable.subscribe(a),t.setContext(Gt(s(),t.getContext()));function o(){t.setContext(s())}function a(){localStorage.setItem(i,JSON.stringify(t.getContext()))}function s(){var c=localStorage.getItem(i);return c!==null?JSON.parse(c):{}}}function Ng(e,t){return"".concat(Ig,"_").concat(e,"_").concat(t)}var Mg=3*Ye,Fg=16*Ye,Dg=200;function Bg(e){e===void 0&&(e=2);var t=new Map,r=!1;function n(i){if(i===void 0&&(i=0),!(r||e===0)){var o=e===2?Mg:Fg,a=i;t.forEach(function(s){a+=s.getBytesCount()}),a>o&&($g(o),r=!0)}}return{createDetachedTracker:function(){var i=Us(function(){return n(i.getBytesCount())});return i},getOrCreateTracker:function(i){return t.has(i)||t.set(i,Us(n)),t.get(i)},setCompressionStatus:function(i){e===0&&(e=i,n())},getCompressionStatus:function(){return e},stop:function(){t.forEach(function(i){return i.stop()}),t.clear()}}}function Us(e){var t=0,r=rl(function(a){t=aa(er(a)),e()},Dg),n=r.throttled,i=r.cancel,o=function(){i(),t=0};return{updateCustomerData:function(a){sa(a)?o():n(a)},resetCustomerData:o,getBytesCount:function(){return t},stop:function(){i()}}}function $g(e){ce.warn("Customer data exceeds the recommended ".concat(e/Ye,"KiB threshold. More details: https://docs.datadoghq.com/real_user_monitoring/browser/troubleshooting/#customer-data-exceeds-the-recommended-threshold-warning"))}function Ug(e,t,r){var n=e.getReader(),i=[],o=0;a();function a(){n.read().then(W(function(c){if(c.done){s();return}r.collectStreamBody&&i.push(c.value),o+=c.value.length,o>r.bytesLimit?s():a()}),W(function(c){return t(c)}))}function s(){n.cancel().catch(Zt);var c,u;if(r.collectStreamBody){var p;if(i.length===1)p=i[0];else{p=new Uint8Array(o);var f=0;i.forEach(function(d){p.set(d,f),f+=d.length})}c=p.slice(0,r.bytesLimit),u=p.length>r.bytesLimit}t(void 0,c,u)}}var jg="datadog-synthetics-public-id",zg="datadog-synthetics-result-id",Hg="datadog-synthetics-injects-rum";function Il(){return!!(window._DATADOG_SYNTHETICS_INJECTS_RUM||pt(Hg))}function qg(){var e=window._DATADOG_SYNTHETICS_PUBLIC_ID||pt(jg);return typeof e=="string"?e:void 0}function Wg(){var e=window._DATADOG_SYNTHETICS_RESULT_ID||pt(zg);return typeof e=="string"?e:void 0}function js(e){var t=ve({},e),r=["id","name","email"];return r.forEach(function(n){n in t&&(t[n]=String(t[n]))}),t}function Vg(e){var t=ma(e)==="object";return t||ce.error("Unsupported user:",e),t}var Gg=function(e,t,r,n){var i=arguments.length,o=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,r,o):a(t,r))||o);return i>3&&o&&Object.defineProperty(t,r,o),o},K={debug:"debug",error:"error",info:"info",warn:"warn"},po={console:"console",http:"http",silent:"silent"},Qg=Object.keys(K),zs=function(){function e(t,r,n,i,o,a){i===void 0&&(i=po.http),o===void 0&&(o=K.debug),a===void 0&&(a={}),this.handleLogStrategy=t,this.handlerType=i,this.level=o,this.contextManager=fo(r),this.contextManager.setContext(a),n&&this.contextManager.setContextProperty("logger",{name:n})}return e.prototype.log=function(t,r,n,i){n===void 0&&(n=K.info);var o;if(i!=null){var a=i instanceof Error?Je(i):void 0,s=fl({stackTrace:a,originalError:i,nonErrorPrefix:"Provided",source:Le.LOGGER,handling:"handled",startClocks:Jt()});o={stack:s.stack,kind:s.type,message:s.message,causes:s.causes}}var c=Ke(r),u=o?Gt({error:o},c):c;this.handleLogStrategy({message:Ke(t),context:u,status:n},this)},e.prototype.debug=function(t,r,n){this.log(t,r,K.debug,n)},e.prototype.info=function(t,r,n){this.log(t,r,K.info,n)},e.prototype.warn=function(t,r,n){this.log(t,r,K.warn,n)},e.prototype.error=function(t,r,n){this.log(t,r,K.error,n)},e.prototype.setContext=function(t){this.contextManager.setContext(t)},e.prototype.getContext=function(){return this.contextManager.getContext()},e.prototype.setContextProperty=function(t,r){this.contextManager.setContextProperty(t,r)},e.prototype.removeContextProperty=function(t){this.contextManager.removeContextProperty(t)},e.prototype.clearContext=function(){this.contextManager.clearContext()},e.prototype.setHandler=function(t){this.handlerType=t},e.prototype.getHandler=function(){return this.handlerType},e.prototype.setLevel=function(t){this.level=t},e.prototype.getLevel=function(){return this.level},Gg([oh],e.prototype,"log",null),e}();function Yg(e,t){return{view:{referrer:document.referrer,url:window.location.href},context:e.getContext(),user:t.getContext()}}var Kg=32*Ye;function Jg(e){var t=Xh(e),r=Hs(e.forwardConsoleLogs,qt(xe),"Forward Console Logs"),n=Hs(e.forwardReports,qt(et),"Forward Reports");if(!(!t||!r||!n))return e.forwardErrorsToLogs&&!Xt(r,xe.error)&&r.push(xe.error),ve({forwardErrorsToLogs:e.forwardErrorsToLogs!==!1,forwardConsoleLogs:r,forwardReports:n,requestErrorResponseLengthLimit:Kg},t)}function Hs(e,t,r){if(e===void 0)return[];if(!(e==="all"||Array.isArray(e)&&e.every(function(n){return Xt(t,n)}))){ce.error("".concat(r,' should be "all" or an array with allowed values "').concat(t.join('", "'),'"'));return}return e==="all"?t:qv(e)}function Xg(e){var t=Zh(e);return ve({forward_errors_to_logs:e.forwardErrorsToLogs,forward_console_logs:e.forwardConsoleLogs,forward_reports:e.forwardReports},t)}function Zg(e,t,r){var n=new Pg,i,o,a=t.observable.subscribe(s);function s(){if(!(!o||!i||!t.isGranted())){a.unsubscribe();var c=r(i,o);n.drain(c)}}return{init:function(c){if(!c){ce.error("Missing configuration");return}if(Fn()&&(c=ey(c)),i=c,o){vl("DD_LOGS",c);return}var u=Jg(c);u&&(o=u,t.tryToInit(u.trackingConsent),s())},get initConfiguration(){return i},getInternalContext:Zt,handleLog:function(c,u,p,f){p===void 0&&(p=e()),f===void 0&&(f=ot()),n.add(function(d){return d.handleLog(c,u,p,f)})}}}function ey(e){return ve({},e,{clientToken:"empty"})}var qs="logs";function ty(e){var t=Bg(),r=fo(t.getOrCreateTracker(2)),n=fo(t.getOrCreateTracker(1)),i=Dh();function o(){return Yg(r,n)}var a=Zg(o,i,function(u,p){u.storeContextsAcrossPages&&($s(p,r,qs,2),$s(p,n,qs,1));var f=e(u,p,o,i);return a=ry(u,f),f}),s={},c=new zs(function(){for(var u=[],p=0;p<arguments.length;p++)u[p]=arguments[p];return a.handleLog.apply(a,u)},t.createDetachedTracker());return Tv({logger:c,init:W(function(u){return a.init(u)}),setTrackingConsent:W(function(u){return i.update(u)}),getGlobalContext:W(function(){return r.getContext()}),setGlobalContext:W(function(u){return r.setContext(u)}),setGlobalContextProperty:W(function(u,p){return r.setContextProperty(u,p)}),removeGlobalContextProperty:W(function(u){return r.removeContextProperty(u)}),clearGlobalContext:W(function(){return r.clearContext()}),createLogger:W(function(u,p){return p===void 0&&(p={}),s[u]=new zs(function(){for(var f=[],d=0;d<arguments.length;d++)f[d]=arguments[d];return a.handleLog.apply(a,f)},t.createDetachedTracker(),Ke(u),p.handler,p.level,Ke(p.context)),s[u]}),getLogger:W(function(u){return s[u]}),getInitConfiguration:W(function(){return bl(a.initConfiguration)}),getInternalContext:W(function(u){return a.getInternalContext(u)}),setUser:W(function(u){Vg(u)&&n.setContext(js(u))}),getUser:W(function(){return n.getContext()}),setUserProperty:W(function(u,p){var f,d=js((f={},f[u]=p,f))[u];n.setContextProperty(u,d)}),removeUserProperty:W(function(u){return n.removeContextProperty(u)}),clearUser:W(function(){return n.clearContext()})})}function ry(e,t){return ve({init:function(r){vl("DD_LOGS",r)},initConfiguration:e},t)}var ny="logs";function iy(e,t){var r=Yv(e,ny,function(n){return ay(e,n)},t);return{findTrackedSession:function(n){var i=r.findActiveSession(n);return i&&i.trackingType==="1"?{id:i.id}:void 0},expireObservable:r.expireObservable}}function oy(e){var t=Ll(e)==="1",r=t?{}:void 0;return{findTrackedSession:function(){return r},expireObservable:new ue}}function Ll(e){return oo(e.sessionSampleRate)?"1":"0"}function ay(e,t){var r=sy(t)?t:Ll(e);return{trackingType:r,isTracked:r==="1"}}function sy(e){return e==="0"||e==="1"}var Ws=!1;function wn(e){var t=window;if(Il()){var r=n(t.DD_RUM_SYNTHETICS);return!r&&!Ws&&(Ws=!0,wl("Logs sent before RUM is injected by the synthetics worker",{testId:qg(),resultId:Wg()})),r}return n(t.DD_RUM);function n(i){if(i&&i.getInternalContext)return i.getInternalContext(e)}}function cy(e,t,r,n,i){var o=Qg.concat(["custom"]),a={};o.forEach(function(s){a[s]=vg(s,t.eventRateLimiterThreshold,i)}),r.subscribe(0,function(s){var c,u,p=s.rawLogsEvent,f=s.messageContext,d=f===void 0?void 0:f,l=s.savedCommonContext,m=l===void 0?void 0:l,h=Km(p.date),v=e.findTrackedSession(h);if(v){var w=m||n(),_=Gt({service:t.service,session_id:v.id,usr:sa(w.user)?void 0:w.user,view:w.view},w.context,wn(h),p,d);((c=t.beforeSend)===null||c===void 0?void 0:c.call(t,_))===!1||_.origin!==Le.AGENT&&((u=a[_.status])!==null&&u!==void 0?u:a.custom).isLimitReached()||r.notify(1,_)}})}var st,uy=(st={},st[xe.log]=K.info,st[xe.debug]=K.debug,st[xe.info]=K.info,st[xe.warn]=K.warn,st[xe.error]=K.error,st);function ly(e,t){var r=kg(e.forwardConsoleLogs).subscribe(function(n){t.notify(0,{rawLogsEvent:{date:ot(),message:n.message,origin:Le.CONSOLE,error:n.api===xe.error?{stack:n.stack,fingerprint:n.fingerprint,causes:n.causes}:void 0,status:uy[n.api]}})});return{stop:function(){r.unsubscribe()}}}var cr,dy=(cr={},cr[et.cspViolation]=K.error,cr[et.intervention]=K.error,cr[et.deprecation]=K.warn,cr);function fy(e,t){var r=Av(e,e.forwardReports).subscribe(function(n){var i=n.message,o=dy[n.type],a;o===K.error?a={kind:n.subtype,stack:n.stack}:n.stack&&(i+=" Found in ".concat(Sv(n.stack))),t.notify(0,{rawLogsEvent:{date:ot(),message:i,origin:Le.REPORT,error:a,status:o}})});return{stop:function(){r.unsubscribe()}}}function py(e,t){if(!e.forwardErrorsToLogs)return{stop:Zt};var r=gg(e).subscribe(function(o){o.state==="complete"&&i("xhr",o)}),n=Sg().subscribe(function(o){o.state==="resolve"&&i("fetch",o)});function i(o,a){!e.isIntakeUrl(a.url)&&(gy(a)||Cl(a.status))&&("xhr"in a?my(a.xhr,e,s):a.response?vy(a.response,e,s):a.error&&hy(a.error,e,s));function s(c){t.notify(0,{rawLogsEvent:{message:"".concat(yy(o)," error ").concat(a.method," ").concat(a.url),date:a.startClocks.timeStamp,error:{stack:c||"Failed to load"},http:{method:a.method,status_code:a.status,url:a.url},status:K.error,origin:Le.NETWORK}})}}return{stop:function(){r.unsubscribe(),n.unsubscribe()}}}function my(e,t,r){typeof e.response=="string"?r(ba(e.response,t)):r(e.response)}function hy(e,t,r){r(ba(xt(Je(e)),t))}function vy(e,t,r){var n=Xv(e);!n||!n.body?r():window.TextDecoder?by(n.body,t.requestErrorResponseLengthLimit,function(i,o){r(i?"Unable to retrieve response: ".concat(i):o)}):n.text().then(W(function(i){return r(ba(i,t))}),W(function(i){return r("Unable to retrieve response: ".concat(i))}))}function gy(e){return e.status===0&&e.responseType!=="opaque"}function ba(e,t){return e.length>t.requestErrorResponseLengthLimit?"".concat(e.substring(0,t.requestErrorResponseLengthLimit),"..."):e}function yy(e){return e==="xhr"?"XHR":"Fetch"}function by(e,t,r){Ug(e,function(n,i,o){if(n)r(n);else{var a=new TextDecoder().decode(i);o&&(a+="..."),r(void 0,a)}},{bytesLimit:t,collectStreamBody:!0})}function wy(e,t){if(!e.forwardErrorsToLogs)return{stop:Zt};var r=new ue,n=Ev(r).stop,i=r.subscribe(function(o){t.notify(0,{rawLogsEvent:{message:o.message,date:o.startClocks.timeStamp,error:{kind:o.type,stack:o.stack,causes:o.causes},origin:Le.SOURCE,status:K.error}})});return{stop:function(){n(),i.unsubscribe()}}}var _y=hg,At,Vs=(At={},At[K.debug]=0,At[K.info]=1,At[K.warn]=2,At[K.error]=3,At);function Sy(e){function t(r,n,i,o){var a=Gt(n.getContext(),r.context);Gs(r.status,po.console,n)&&Cy(r,a),Gs(r.status,po.http,n)&&e.notify(0,{rawLogsEvent:{date:o||ot(),message:r.message,status:r.status,origin:Le.LOGGER},messageContext:a,savedCommonContext:i})}return{handleLog:t}}function Gs(e,t,r){var n=r.getHandler(),i=Array.isArray(n)?n:[n];return Vs[e]>=Vs[r.getLevel()]&&Xt(i,t)}function Cy(e,t){dt[e.status].call($e,e.message,t)}function Ey(e,t,r,n,i){var o=Pl(e,{endpoint:e.logsEndpointBuilder,encoder:Dn()},e.replica&&{endpoint:e.replica.logsEndpointBuilder,encoder:Dn()},r,n,i.expireObservable);return t.subscribe(1,function(a){o.add(a)}),o}function xy(e){var t=ga();e.subscribe(1,function(r){t.send("log",r)})}function ky(e){return{get:function(t){var r=e.findTrackedSession(t);if(r)return{session_id:r.id}}}}function Ty(e){return function(t){e.notify(0,{rawLogsEvent:{message:t.message,date:t.startClocks.timeStamp,origin:Le.AGENT,status:K.error}}),wl("Error reported to customer",{"error.message":t.message})}}function Ry(e,t,r,n,i){var o=Bv("browser-logs-sdk",t);o.setContextProvider(function(){var f,d,l,m,h,v;return{application:{id:(f=wn())===null||f===void 0?void 0:f.application_id},session:{id:(d=i.findTrackedSession())===null||d===void 0?void 0:d.id},view:{id:(m=(l=wn())===null||l===void 0?void 0:l.view)===null||m===void 0?void 0:m.id},action:{id:(v=(h=wn())===null||h===void 0?void 0:h.user_action)===null||v===void 0?void 0:v.id}}});var a=[];if(Fn()){var s=ga(),c=o.observable.subscribe(function(f){return s.send("internal_telemetry",f)});a.push(function(){return c.unsubscribe()})}else{var u=Pl(t,{endpoint:t.rumEndpointBuilder,encoder:Dn()},t.replica&&{endpoint:t.replica.rumEndpointBuilder,encoder:Dn()},r,n,i.expireObservable);a.push(function(){return u.stop()});var p=o.observable.subscribe(function(f){return u.add(f,Uv(t))});a.push(function(){return p.unsubscribe()})}return jv(Xg(e)),{telemetry:o,stop:function(){a.forEach(function(f){return f()})}}}function Ay(e,t,r,n){var i=new _y,o=[];i.subscribe(1,function(l){return yl("logs",l)});var a=Ty(i),s=dg(t),c=t.sessionStoreStrategyType&&!Fn()&&!Il()?iy(t,n):oy(t),u=Ry(e,t,a,s,c).stop;o.push(function(){return u()}),py(t,i),wy(t,i),ly(t,i),fy(t,i);var p=Sy(i).handleLog;if(cy(c,t,i,r,a),Fn())xy(i);else{var f=Ey(t,i,a,s,c).stop;o.push(function(){return f()})}var d=ky(c);return{handleLog:p,getInternalContext:d.get,stop:function(){o.forEach(function(l){return l()})}}}var Bn=ty(Ay);Rv(at(),"DD_LOGS",Bn);const Oy="local",Ae=(e,t)=>Bn.logger.error(e,t),Py=()=>{const e=Iy();Bn.init({clientToken:"pub3024831b8d3568048614d6e5a6d44f27",forwardErrorsToLogs:!1,version:"0.1.656"}),Bn.setGlobalContext({team:"super",env:e,service:"ApolloSuperCampaign.UI"})},Iy=()=>{const e=window.location.hostname.toLowerCase().split(".")[0];switch(e){case"autodev-partner":case"test-partner":case"sandbox-partner":return e.replace("-partner","");case"partner":return"prod";default:return Oy}},Ly=kn.a({fontWeight:"500",textDecorationLine:"underline",textUnderlineOffset:"2px",":hover":{"--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))"}}),Ny="_extnav=true",L=({link:e,onClick:t,children:r,...n})=>{const i=e.indexOf("?")===-1?"?":"&",o=`${e}${i}${Ny}`;return b(Ly,{target:"_blank",href:o,onClick:t,...n,children:r})},My=""+new URL("assets/logo-active-BAEWzF0a.svg",import.meta.url).href,Fy="Active Super",mo={fundId:"active",name:Fy,logo:My,iframeType:"PromotedFundJoinV1",features:[b("p",{children:"Winner of Canstar's 2023 Outstanding Value – Superannuation Award considering investment performance, fees and product features*"}),b("p",{children:"Recognised as a leader in responsible investment"}),b("p",{children:"Calls answered in 20 seconds (average over 5 years)"})],featureSubText:b("span",{children:"*Based on a comparison of the Active Super Accumulation Scheme held by those aged 20-69 years and balances between $30,000 and $1.5 million."}),disclaimer:R("p",{children:["Issued by LGSS Pty Limited as trustee for Local Government Super (Active Super ABN:28 901 371 321). Consider the PDS and TMD at"," ",b(L,{onClick:()=>ee(mo),link:"https://www.activesuper.com.au/pds",children:"activesuper.com.au"})," ","before making a decision."]})},Dy=""+new URL("assets/logo-aus-eth-FW9TuDYd.svg",import.meta.url).href,By="Australian Ethical",Fi="https://www.australianethical.com.au/super/pds-forms/",_r={fundId:"australian-ethical",name:By,logo:Dy,iframeType:"PromotedFundJoinV2",features:[R("p",{children:["Fastest growing super fund in Australia",b("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),R("p",{children:["Nil investments in fossil fuel companies",b("sup",{css:{fontSize:"0.625rem"},children:"2"})]}),b("p",{children:"Competitive returns"})],featureSubText:R("ol",{css:{marginLeft:"0.75rem",listStylePosition:"outside",listStyleType:"decimal"},children:[b("li",{children:"Source: KPMG Super Insights Report 2022."}),b("li",{children:"All our options go through positive and negative ethical screening in accordance with the Australian Ethical Charter (in place since 1986)."})]}),disclaimer:R("p",{children:["Issued by Australian Ethical Superannuation Pty Ltd (ABN 43 079 259 733, RSE L0001441, AFSL 526055). Please consider the"," ",b(L,{link:"https://www.australianethical.com.au/globalassets/pdf-files/forms--pds/superpension/important-information/ae-financial-services-guide_sec.pdf",children:"Financial Services Guide"}),", the"," ",b(L,{link:Fi,onClick:()=>ee(_r),children:"Product Disclosure Statement"})," ","and"," ",b(L,{link:Fi,onClick:()=>ee(_r),children:"Target Market Determination"})," ","available on our"," ",b(L,{link:Fi,onClick:()=>ee(_r),children:"website"}),"."]})},$y=""+new URL("assets/logo-art-6eMN3DO0.svg",import.meta.url).href,Qs="Australian Retirement Trust",ho={fundId:"australian-retirement-trust",name:Qs,logo:$y,iframeType:"PromotedFundJoinV1",features:[b("p",{children:"$200 billion in retirement savings"}),b("p",{children:"2+ million members"}),b("p",{children:"A focus on delivering strong, long‑term returns"})],featureSubText:b("span",{children:"QSuper is now part of Australian Retirement Trust. If you have an existing QSuper account, you will continue to hold that account by selecting this option."}),disclaimer:R("p",{children:["You should consider the"," ",b(L,{link:"https://www.australianretirementtrust.com.au/library/media/pdfs/pds/super-savings-product-disclosure-statement-and-membership-form.pdf",onClick:()=>ee(ho),children:"Product Disclosure Statement"})," ","and"," ",b(L,{link:"https://www.australianretirementtrust.com.au/tmd",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of this fund."]}),abnInfo:Qs,abn:"60 905 115 063"},Uy=""+new URL("assets/logo-aware-C8PXTRJG.svg",import.meta.url).href,jy="Aware Super",vo={fundId:"aware",name:jy,logo:Uy,iframeType:"PromotedFundJoinV1",features:[R("p",{children:["Multi-award winning fund named Retirement Offering of the Year 2024.",b("sup",{css:{fontSize:"0.625rem"},children:">"})]}),b("p",{children:"Local call centres and a 45-minute Super Helpful check-in."}),b("p",{children:"Returns like 8.40% p.a^ over 10 years for our High Growth option."})],disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{children:[b("sup",{css:{fontSize:"0.625rem"},children:">"}),"Awards are just one factor to consider when deciding on a product."," ",b(L,{link:"https://aware.com.au/member/about-us/awards",children:"Find out more on our awards."})," ","^Past performance is not an indicator of future performance."," ",b(L,{link:"https://aware.com.au/member/what-we-offer/investments/investment-returns",children:"View our returns"}),". Consider if we’re right for you and"," ",b(L,{link:"https://aware.com.au/member/contact-aware-super/forms-and-documents",onClick:()=>ee(vo),children:"read the PDS and TMD"}),"."]}),b("p",{children:"Issued by Aware Super Pty Ltd. (ABN 11 118 202 672, AFSL 293340), the trustee of Aware Super (ABN 53 226 460 365)."})]})},zy=""+new URL("assets/logo-brighter-cKB6xH2M.svg",import.meta.url).href,Hy="https://www.brightersuper.com.au/-/media/public/files/pds-and-guides/accumulation-account-pds.pdf",qy="https://www.brightersuper.com.au/-/media/public/files/target-market-determination/tmd-brighter-super-accumulation-account.pdf",Wy="https://www.brightersuper.com.au/news/double-digit-returns-in-2023-and-some-of-the-lowest-fees-in-australia",Vy="https://www.brightersuper.com.au/about-us/awards",Gy="Brighter Super",go={fundId:"brightersuper",name:Gy,logo:zy,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Double-digit returns for our MySuper option in 2023^"}),b("p",{children:"Top 3 industry fund for lowest MySuper fees in Australia^"}),R("p",{children:["Platinum rated by SuperRatings for 16 years in a row",b("sup",{css:{fontSize:"0.625rem"},children:"+"})]})],disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{children:["^Past performance is not an indicator of future performance."," ",b(L,{link:Wy,children:"Find out more about our MySuper fees and returns."}),b("sup",{css:{fontSize:"0.625rem"},children:"+"}),"Ratings are only one factor to consider."," ",b(L,{link:Vy,children:"View our ratings and awards."})]}),R("p",{children:["Consider the"," ",b(L,{link:Hy,onClick:()=>ee(go),children:"PDS"})," ","& ",b(L,{link:qy,children:"TMD"})," before deciding to join."]}),b("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."})]})},Qy=""+new URL("assets/logo-first-CusDmGWL.svg",import.meta.url).href,Yy="First Super",yo={fundId:"first-super",name:Yy,logo:Qy,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Industry SuperFund that offers five investment options and default insurance"}),b("p",{children:"Strong long-term investment returns and superior customer service - members first"}),b("p",{children:"Established super fund – anyone can join including KiwiSaver members"})],disclaimer:R("div",{children:[R("p",{children:["General advice only which has been prepared without taking into account your objectives, financial situation or needs. Consider whether the advice is appropriate for you and read the Product Disclosure Statement (PDS) before making any investment decisions. PDS and Target Market Determination are available at our"," ",b(L,{onClick:()=>ee(yo),link:"https://www.firstsuper.com.au/forms-tools/product-disclosure-statements/",children:"website"}),". Past performance is not a reliable indicator of future performance."]}),b("br",{}),b("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."})]})},Ky=""+new URL("assets/logo-hesta-NL7xF41R.svg",import.meta.url).href,Jy="HESTA",bo={fundId:"hesta-default",name:Jy,logo:Ky,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"A top-performing super fund* working for real-world impact"}),b("p",{children:"1+ million members"}),b("p",{children:"Expert help whenever you need it to help you face the future with confidence"})],featureSubText:void 0,disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{css:{fontStyle:"italic"},children:["* SuperRatings 10 Year Platinum Performance 2014-2024 (MySuper). Investment performance contributes to but is not the only factor in determining this product rating. Product ratings and awards are only one factor to be considered. See"," ",b(L,{link:"https://www.hesta.com.au/ratings",children:"hesta.com.au/ratings"})," ","for more information."]}),R("p",{children:["Consider whether this product is appropriate for you by reading the Product Disclosure Statement and Target Market Determination at"," ",b(L,{onClick:()=>ee(bo),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."]}),b("p",{children:"Issued by H.E.S.T. Australia Ltd ABN 66 006 818 695 AFSL No. 235249, Trustee of HESTA"})]})},Xy=""+new URL("assets/logo-legalsuper-xG2DgGHY.svg",import.meta.url).href,Zy="legalsuper",Sr={fundId:"legalsuper",name:Zy,logo:Xy,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Strong performance - our investment options are designed to deliver steady returns."}),b("p",{children:"Personalised support - so you can access advice, knowledge and assistance when you need it."}),b("p",{children:"Tailored insurance - various cover options that adapt to life’s milestones and career changes."})],disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{children:["This information is of a general nature. Please refer to the legalsuper"," ",b(L,{link:"https://www.legalsuper.com.au/super-pds",onClick:()=>ee(Sr),children:"Product Disclosure Statement (PDS)"})," ","and"," ",b(L,{link:"https://www.legalsuper.com.au/super-tmd",onClick:()=>ee(Sr),children:"Target Market Determination (TMD)"})," ","available at"," ",b(L,{link:"https://www.legalsuper.com.au/",onClick:()=>ee(Sr),children:"www.legalsuper.com.au"})," ","before making any decision. Past performance is not a guide to future performance."]}),b("p",{children:"Legal Super Pty Ltd ABN 37 004 455 789 AFSL 246315 as the Trustee for legalsuper ABN 60 346 078 879."})]})},eb=""+new URL("assets/coverImage-BkXL9zfW.png",import.meta.url).href,tb=""+new URL("assets/logo-mercer-mychoice-BB6VztRp.svg",import.meta.url).href,rb="Mercer MyChoice",$n={fundId:"mercermychoice",name:rb,logo:tb,coverImage:eb,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Save more super with our low fees"}),b("p",{children:"Take control with 6 MyChoice investment options"}),b("p",{children:"Join 850,000 Australians who trust our global expertise"})],disclaimer:R("div",{children:[R("p",{children:["You should consider the"," ",b(L,{link:"https://www.mercersuper.com.au/campaign-page/mercer-mychoice",onClick:()=>ee($n),children:"Product Disclosure Statement"})," ","and"," ",b(L,{link:"https://www.mercersuper.com.au/documents/target-market-determinations",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]}),b("br",{}),b("p",{children:"Issued by Mercer Superannuation (Australia) Limited (‘Mercer Super’) ABN: 79 004 717 533"})]}),extraBadge:b("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"})},nb=""+new URL("assets/logo-mine-7mxPtjsF.svg",import.meta.url).href,ib="Mine Super",wo={fundId:"mine",name:ib,logo:nb,iframeType:"PromotedFundJoinV2",features:[R("p",{children:[b("i",{children:"Money"})," magazine’s Best of the Best Awards for Best Value Superannuation Fund for Young People 2024."]}),b("p",{children:"Insurance cover^ that’s got your back if you’re unable to work due to sickness or injury."}),b("p",{children:"One of the lowest fixed admin fees ($0.75 per week)."})],featureSubText:["^Subject to meeting eligibility criteria."],disclaimer:b("div",{children:R("p",{children:["Mine Super products are issued by AUSCOAL Superannuation Pty Ltd ABN 70 003 566 989 AFS licence 246864 Trustee for the Mine Superannuation Fund ABN 16 457 520 308. Refer to the"," ",b(L,{link:"https://www.mine.com.au/super/about-my-super/super-pds",onClick:()=>ee(wo),children:"PDS"})," ","and ",b(L,{link:"https://www.mine.com.au/tmd",children:"TMDs"})," on our website at ",b(L,{link:"https://www.mine.com.au/",children:"mine.com.au"})," when considering if our financial products are right for you."]})})},ob=""+new URL("assets/logo-reisuper-aM5iDbpN.svg",import.meta.url).href,ab="REI Super",_o={fundId:"reisuper",name:ab,logo:ob,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Built by and for the real estate industry"}),b("p",{children:"Consistent long-term performance with competitive fees*"}),b("p",{children:"All profits to members, not shareholders"})],disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[b("p",{children:"*Balanced Option net investment return of 9.45% for year ending 30 June 2023."}),R("p",{children:["You should consider the"," ",b(L,{link:"https://www.reisuper.com.au/docs/default-source/super/rei-super-pds.pdf?utm_source=flarehr&utm_medium=banners&utm_campaign=flarehr_join&utm_term=pds",onClick:()=>ee(_o),children:"Product Disclosure Statement"})," ","and"," ",b(L,{link:"https://www.reisuper.com.au/publications-and-forms/target-market-determination?utm_source=flarehr&utm_medium=banners&utm_campaign=flarehr_join&utm_term=tmd",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]})]}),abnInfo:"REI Superannuation Fund Pty Ltd",abn:"68 056 044 770"},sb=""+new URL("assets/logo-slate-CowODvPX.png",import.meta.url).href,cb="Slate Super",Un={fundId:ia,name:cb,logo:sb,iframeType:"SlateJoin",features:[b("p",{children:"A lifestage investment strategy that evolves with you"}),b("p",{children:"Advanced mobile app with retirement forecast and smart features"}),b("p",{children:"Member advocates at Slate to assist with your account"})],disclaimer:R("p",{children:["You should consider the"," ",b(L,{link:"https://slate.co/pds/?utm_source=flare&utm_medium=superselection",onClick:()=>ee(Un),children:"Product Disclosure Statement"})," ","and"," ",b(L,{link:"https://slate.co/forms-and-documents/target-market-determination/",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]}),abnInfo:"Diversa Trustees Limited",abn:"49 006 421 638"},ub=""+new URL("assets/logo-spirit-CAaRIHR7.svg",import.meta.url).href,lb="Spirit Super",So={fundId:"spirit",name:lb,logo:ub,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Industry SuperFund - profit to members"}),R("p",{children:["Low fees",b("sup",{css:{fontSize:"0.625rem"},children:"1"})," and a history of strong returns",b("sup",{css:{fontSize:"0.625rem"},children:"2"})]}),R("p",{children:["Best customer experience",b("sup",{css:{fontSize:"0.625rem"},children:"3"})]})],featureSubText:b("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:R("ol",{css:{listStyleType:"decimal","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[b("li",{children:b("span",{children:"$67.60 + 0.15% of account balance pa in admin fees, capped at $517.60"})}),b("li",{children:b("span",{children:"Past performance isn't a reliable indicator of future performance"})}),b("li",{children:b("span",{children:b(L,{link:"https://www.spiritsuper.com.au/News/Best-in-customer-service-again",children:"CSBA Sense CX Benchmark ratings 2022/23/24"})})})]})}),disclaimer:R("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"," ",b(L,{link:"https://www.spiritsuper.com.au",onClick:()=>ee(So),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)."]})},db=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,fb="Unisuper",pb="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",mb="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",Co={fundId:"unisuper",name:fb,logo:db,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Our fees are among the lowest in the industry.^"}),b("p",{children:"Our strong, long-term performance regularly exceeds industry averages.*"}),R("p",{children:["We’re consistently awarded as one of Australia’s best-performing funds.",b("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{children:["^Read more about our fees and how we compare"," ",b(L,{link:"https://www.unisuper.com.au/super/products-and-fees",children:"here"}),"."]}),R("p",{children:["*Past performance is not an indicator of future performance. Read more about our performance and how we compare"," ",b(L,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),R("p",{children:[b("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",b(L,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),R("p",{children:["Remember to consider the"," ",b(L,{link:pb,onClick:()=>ee(Co),children:"Product Disclosure Statement"})," ","and ",b(L,{link:mb,children:"Target Market Determination"})," that is relevant to you."]}),b("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},hb=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,vb="Unisuper",gb="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",yb="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",Eo={fundId:"unisuper-default",name:vb,logo:hb,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Low fees, better value – Our fees are among the lowest in the industry.^"}),b("p",{children:"Strong, long-term performance – We regularly exceed industry averages.*"}),R("p",{children:["Award winning super – Continually recognised as one of Australia’s best-performing funds.",b("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{children:["^Read more about our fees and how we compare"," ",b(L,{link:"https://www.unisuper.com.au/super/products-and-fees",children:"here"}),"."]}),R("p",{children:["*Past performance is not an indicator of future performance. Read more about our performance and how we compare"," ",b(L,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),R("p",{children:[b("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",b(L,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),R("p",{children:["Remember to consider the"," ",b(L,{link:gb,onClick:()=>ee(Eo),children:"Product Disclosure Statement"})," ","and ",b(L,{link:yb,children:"Target Market Determination"})," that is relevant to you."]}),b("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},bb=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,wb=""+new URL("assets/unisuper-default-badge1-CC2-KRH2.svg",import.meta.url).href,_b=""+new URL("assets/unisuper-default-badge2-CqUa_Zky.svg",import.meta.url).href,Sb=""+new URL("assets/unisuper-default-badge3-B7j1-pyZ.svg",import.meta.url).href,fn="Unisuper",Cb="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",Eb="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",xo={fundId:"unisuper-default-v2",name:fn,logo:bb,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Low fees, better value – Our fees are among the lowest in the industry.^"}),b("p",{children:"Strong, long-term performance – We regularly exceed industry averages.*"}),R("p",{children:["Award winning super – Continually recognised as one of Australia’s best-performing funds.",b("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],customContent:R("div",{css:{marginTop:"1.5rem",display:"flex",gap:"0.75rem"},children:[b("div",{children:b("img",{alt:fn,src:wb})}),b("div",{children:b("img",{alt:fn,src:_b})}),b("div",{children:b("img",{alt:fn,src:Sb})})]}),disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{children:["^Read more about our fees and how we compare"," ",b(L,{link:"https://www.unisuper.com.au/super/products-and-fees",children:"here"}),"."]}),R("p",{children:["*Past performance is not an indicator of future performance. Read more about our performance and how we compare"," ",b(L,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),R("p",{children:[b("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",b(L,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),R("p",{children:["Remember to consider the"," ",b(L,{link:Cb,onClick:()=>ee(xo),children:"Product Disclosure Statement"})," ","and ",b(L,{link:Eb,children:"Target Market Determination"})," that is relevant to you."]}),b("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},xb=""+new URL("assets/logo-virgin-Dg0nHidv.svg",import.meta.url).href,kb="Virgin Money Super",ko={fundId:"virgin",name:kb,logo:xb,iframeType:"PromotedFundJoinV2",features:[R("p",{children:["Returns above industry and retail super fund medians over the past 5 years",b("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),b("p",{children:"One of the lowest fees in the market"}),R("p",{children:["Virgin Money rewards you with Velocity Points on your contributions",b("sup",{css:{fontSize:"0.625rem"},children:"2"})]})],featureSubText:b("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:R("ol",{css:{listStyleType:"decimal","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[b("li",{children:b("span",{children:"Past performance is not a reliable indicator of future performance. Source: SuperRatings Fund Crediting Rate Survey April 2022."})}),b("li",{children:b("span",{children:b(L,{css:{fontWeight:"400"},link:"https://virginmoney.com.au/superannuation/forms-and-key-information/key-documents",children:"Eligibility and T&Cs apply"})})})]})}),disclaimer:R("p",{children:["Prepared by Virgin Money Financial Services Pty Ltd ABN 51 113 285 395 AFSL 286869 (‘Virgin Money’). Virgin Money Super is a plan in the Mercer Super Trust ABN 19 905 422 981. Virgin Money Super is issued by Mercer Superannuation (Australia) Limited (MSAL) ABN 79 004 717 533 AFSL 235906 as trustee of the Mercer Super Trust. Consider the PDS and TMD at"," ",b(L,{link:"https://virginmoney.com.au/superannuation/",onClick:()=>ee(ko),children:"www.virginmoney.com.au"})," ","before making a decision"]}),extraBadge:b("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"})},Nl=e=>{switch(e.fundId){case mo.fundId:return{...mo,fundType:e.type};case _r.fundId:return{..._r,fundType:e.type};case ho.fundId:return{...ho,fundType:e.type};case vo.fundId:return{...vo,fundType:e.type};case go.fundId:return{...go,fundType:e.type};case yo.fundId:return{...yo,fundType:e.type};case bo.fundId:return{...bo,fundType:e.type};case Sr.fundId:return{...Sr,fundType:e.type};case $n.fundId:return{...$n,fundType:e.type};case wo.fundId:return{...wo,fundType:e.type};case _o.fundId:return{..._o,fundType:e.type};case Un.fundId:return{...Un,fundType:e.type};case So.fundId:return{...So,fundType:e.type};case Co.fundId:return{...Co,fundType:e.type};case Eo.fundId:return{...Eo,fundType:e.type};case xo.fundId:return{...xo,fundType:e.type};case ko.fundId:return{...ko,fundType:e.type}}return null},Tb=e=>{const t=[];for(const n of e){const i=Nl(n);i?t.push(i):Ae(`Fund ID "${n.fundId}" was not mapped from the Campaign Connect response.`,{fund:n})}if(t.length>0)return t;const r=$n;return Ae(`No fund IDs were mapped, returning "${r.fundId}"`,{funds:e}),[{...r,fundType:"promoted"}]};class dr extends Error{}dr.prototype.name="InvalidTokenError";function Rb(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 Ab(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 Rb(t)}catch{return atob(t)}}function Ob(e,t){if(typeof e!="string")throw new dr("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 dr(`Invalid token specified: missing part #${r+1}`);let i;try{i=Ab(n)}catch(o){throw new dr(`Invalid token specified: invalid base64 for part #${r+1} (${o.message})`)}try{return JSON.parse(i)}catch(o){throw new dr(`Invalid token specified: invalid json for part #${r+1} (${o.message})`)}}const Pb=e=>window.playwrightRunning?"00000000-0000-0000-0000-000000000000":Ob(e).sub,Ib=(e,t)=>{let r=0;for(const n of t)if(r+=n.percentage,e<r)return n.variantName;return t[0].variantName},Lb=(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)},Nb=(e,t)=>{if(t.splitType==="percentage"){const r=Lb(e.replace(/[^A-F0-9]/gi,""),t.rotations),n=parseInt(r,16),i=t.variants.reduce((s,c)=>s+c.percentage,0),o=n%i;return Ib(o,t.variants)}return t.variants[0].variantName},Ml=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=Pb(Lt.getState().session.accessToken||""),o=Nb(i,n);o&&(Lt.dispatch(Lm({experimentName:r,selectedVariant:o})),Lt.dispatch(vr.endpoints.segmentTrack.initiate({event:"$experiment_started",properties:{"Experiment name":r,"Variant name":o}})))}}}},Mb=()=>{const[e]=Om(),[t,r]=je(!0),n=Vr(),[i]=Pm();if(re(()=>{(async()=>{const s=await i();"data"in s?(Um(),$m(),r(!1)):(Ae("App-loaded service call failed.",{error:s.error}),jm(`App-loaded service call failed: ${JSON.stringify(s.error)}`))})()},[]),t)return b(Kt,{});const o=async()=>{r(!0),Bm();const{data:a,isSuccess:s,status:c}=await e();if(!s){Ae("Backend service call failed.",{status:c}),zm(`Backend service call failed: ${c}`);return}const u=a==null?void 0:a.promotedFunds.filter(p=>p.type==="defined-benefits");if(a.hasDefinedBenefitsEligibility&&(u==null?void 0:u.length)>0){n(qu({fundId:u[0].fundId,fundType:u[0].type,iframeType:"PromotedFundJoinV2"}));return}n(Mm(a.promotedFunds)),a.promotedFunds.forEach(p=>{const f=Nl(p);f!=null&&f.experiments&&Ml(f.experiments)})};return R("div",{children:[b("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"}),b("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."}),b("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children:R("div",{css:{maxWidth:"560px",borderRadius:"0.5rem",borderWidth:"1px",padding:"1rem",paddingBottom:"1.5rem","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)","@media (min-width: 640px)":{padding:"1.5rem",paddingBottom:"2rem"}},children:[b("div",{css:{fontWeight:"700",lineHeight:"1.5rem","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"1.75rem"}},children:"By clicking “Continue” you acknowledge that:"}),R("ul",{css:{marginBottom:"1.5rem",marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem"},children:[b("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;"}),b("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;"}),b("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;"}),b("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;"}),b("li",{children:"in the event that you choose one of the featured superannuation funds, we may pass on your personal information and TFN to a related party for the purpose of completing your chosen fund's application form."}),R("li",{children:["Your personal data that is provided to us will be subject to our"," ",b(L,{css:{"--tw-text-opacity":"1",color:"rgb(37 99 235 / var(--tw-text-opacity))",textDecorationLine:"none",":hover":{"--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"}},link:"https://www.flarehr.com/privacy-policy",children:"Privacy Policy"}),"."]})]}),b(ra,{fillWidth:!0,onClick:()=>o(),children:"Continue"})]})})]})},Fb=(e,t)=>{window.parent.postMessage(e,t===void 0?"*":t)},Fl=e=>{Fb({type:"pageNavigated",url:e,sender:"flare"})},Db=()=>{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-"}},Bb=`https://${Db()}api.simplefinancialchoices.com/promoted-funds/embed`,pn=e=>e.replace(/ /g,""),ct=e=>!(typeof e=="string"&&e.trim().length>0),$b=()=>{const e=Qe(s=>s.state.selectedFund),t=Qe(s=>s.session.accessToken),r=Vr(),n=ht.endpoints.campaignConnect.useQueryState().data;if(!e||!t||!n)return Ae("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(Re()),b(Kt,{});const i={authToken:t,employerDefault:e.fundType==="promoted-default",fundId:e.fundId,accountId:n.userProfile.accountId,partnerId:n.userProfile.partnerId,title:n.userProfile.title??"",firstName:n.userProfile.firstName,middleName:n.userProfile.middleName,lastName:n.userProfile.lastName,dateOfBirth:n.userProfile.dateOfBirth??"",mobilePhone:n.userProfile.mobilePhone??"",email:n.userProfile.email,gender:n.userProfile.gender??"",taxFileNumber:n.userProfile.tfn??"",addressLine1:n.userProfile.address.addressLine1,addressLine2:n.userProfile.address.addressLine2??"",city:n.userProfile.address.city,state:n.userProfile.address.state,postCode:n.userProfile.address.postcode},o=Br();re(()=>{var c;const s=(c=o.current)==null?void 0:c.contentDocument;if(s){s.open();const u=s.createElement("form");u.method="POST",u.target="_self",u.action=Bb;let p;for(p in i){const f=i[p];if(f!==void 0){const d=document.createElement("input");d.name=p,d.type="hidden",typeof f=="boolean"?d.value=f?"true":"false":d.value=f,u.append(d)}}s.appendChild(u),s.close(),u.submit()}},[o]);const a=async s=>{const{data:c}=s;if(c.sender==="promoted-fund-redirect"){switch(window.removeEventListener("message",a),c.type){case"cancel":r(Re());break;case"success-promoted":{if(ct(c.memberNumber)||ct(c.usi)){Ae("Bad response from PFJ",{type:c.type,memberNumber:c.memberNumber,usi:c.usi}),r(Re());break}Nt({fundType:"Promoted",fundId:e.fundId,usi:pn(c.usi),memberNumber:c.memberNumber,memberFirstName:c.memberFirstName,memberFamilyName:c.memberFamilyName});break}case"success-promoted-default":{if(ct(c.usi)){Ae("Bad response from PFJ",{type:c.type,usi:c.usi}),r(Re());break}Nt({fundType:"PromotedDefault",fundId:c.fundId,usi:pn(c.usi)});break}case"success-promoted-default-with-join":{if(ct(c.memberNumber)||ct(c.usi)){Ae("Bad response from PFJ",{type:c.type,memberNumber:c.memberNumber,usi:c.usi}),r(Re());break}Nt({fundType:"PromotedDefaultWithJoin",fundId:e.fundId,usi:pn(c.usi),memberNumber:c.memberNumber,memberFirstName:c.memberFirstName,memberFamilyName:c.memberFamilyName});break}case"success-defined-benefits":{if(ct(c.memberNumber)||ct(c.usi)){Ae("Bad response from PFJ",{type:c.type,memberNumber:c.memberNumber,usi:c.usi}),r(Re());break}Nt({fundType:"DefinedBenefits",fundId:c.fundId,usi:pn(c.usi),memberNumber:c.memberNumber,memberElectContributionRatePreTax:c.memberElectContributionRatePreTax,memberElectContributionRatePostTax:c.memberElectContributionRatePostTax});break}}r(Re())}if(c.sender==="promoted-fund-join"){const u=o.current;if(!u)return;switch(c.type){case"contentResized":u.height=c.height>0?String(c.height):u.height,u.width=c.width>0?String(c.width):u.width;break;case"pageNavigated":window.scroll(u.offsetLeft,u.offsetTop),Fl(window.location.href);break}}};return window.addEventListener("message",a),b("div",{css:{width:"100vw"},children:b("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},Ub=()=>window.location.origin.includes("localhost")?"autodev-partner":window.location.hostname.toLowerCase().split(".")[0],jb=`https://${Ub()}.flarehr.com/promoted-fund-join/embed/v1.0/web`,zb=()=>{const e=Qe(s=>s.session.accessToken),t=Qe(s=>s.state.selectedFund),r=Vr(),n=ht.endpoints.campaignConnect.useQueryState().data;if(!n||!t)return Ae("PfjV1IFrame was in an inconsistent state and the user was redirected to the three panel.",{fund:t,data:n?"Not null":"Null"}),r(Re()),b(Kt,{});const i={authToken:e??"",fundId:t.fundId,partnerId:n.userProfile.partnerId,accountId:n.userProfile.accountId,title:n.userProfile.title??"",firstName:n.userProfile.firstName,middleName:n.userProfile.middleName,lastName:n.userProfile.lastName,dateOfBirth:n.userProfile.dateOfBirth??"",mobilePhone:n.userProfile.mobilePhone??"",email:n.userProfile.email,gender:n.userProfile.gender??"",taxFileNumber:n.userProfile.tfn??"",addressLine1:n.userProfile.address.addressLine1,addressLine2:n.userProfile.address.addressLine2??"",city:n.userProfile.address.city,state:n.userProfile.address.state,postCode:n.userProfile.address.postcode},o=Br();re(()=>{var c;const s=(c=o.current)==null?void 0:c.contentDocument;if(s){s.open();const u=s.createElement("form");u.method="POST",u.target="_self",u.action=jb;let p;for(p in i){const f=i[p];if(f!==void 0){const d=document.createElement("input");d.type="hidden",d.name=p,d.value=f,u.append(d)}}s.appendChild(u),s.close(),u.submit()}},[o]);const a=async s=>{const{data:c}=s;if(c.sender==="promoted-fund-redirect"){switch(window.removeEventListener("message",a),c.type){case"success":{c.memberNumber&&Nt({fundType:"Promoted",fundId:t.fundId,usi:c.usi.replace(/ /g,""),memberNumber:c.memberNumber});break}default:r(Re());break}return}if(c.sender==="promoted-fund-join"){const u=o.current;if(!u)return;switch(c.type){case"contentResized":u.height=c.height>0?String(c.height):u.height,u.width=c.width>0?String(c.width):u.width;break;case"pageNavigated":window.scroll(u.offsetLeft,u.offsetTop),Fl(window.location.href);break}}};return window.addEventListener("message",a),b("div",{css:{width:"100vw"},children:b("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},Hb="interop-mode",qb="react-native",Ys=()=>new URLSearchParams(window.location.search).get(Hb)===qb,Dl=()=>{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-"}},Ks=`https://${Dl()}join.slatesuper.com.au/confirm`,Js=`https://${Dl()}partner.flarehr.com/super-selection/embed/v1.0/app/slate-redirect.html`,Wb=e=>{switch(e){case"Male":return"Male";case"Female":return"Female";case"Intersex":return"Intersex/Indeterminate";default:return"Unknown"}},Vb=()=>{const e=Qe(s=>s.session.accessToken),t=Vr(),r=ht.endpoints.campaignConnect.useQueryState().data;if(!r)return Ae("SlateIFrame was in an inconsistent state and the user was redirected to the three panel.",{data:r?"Not null":"Null"}),t(Re()),b(Kt,{});const i={authToken:!Ks.match(/autodev|sandbox/)?e:void 0,successRedirectUrl:Js,cancelRedirectUrl:Js,skipConsolidation:Ys()?"true":"false",skipInsurance:Ys()?"true":"false",firstName:r.userProfile.firstName,middleName:r.userProfile.middleName,lastName:r.userProfile.lastName,dateOfBirth:r.userProfile.dateOfBirth??"",mobilePhone:r.userProfile.mobilePhone??"",email:r.userProfile.email,gender:Wb(r.userProfile.gender),taxFileNumber:r.userProfile.tfn??"",addressLine1:r.userProfile.address.addressLine1,addressLine2:r.userProfile.address.addressLine2??"",city:r.userProfile.address.city,state:r.userProfile.address.state,postCode:r.userProfile.address.postcode},o=Br();re(()=>{var c;const s=(c=o.current)==null?void 0:c.contentDocument;if(s){s.open();const u=s.createElement("form");u.method="POST",u.target="_self",u.action=Ks;let p;for(p in i){const f=i[p];if(f!==void 0){const d=document.createElement("input");d.type="hidden",d.name=p,d.value=f,u.append(d)}}s.appendChild(u),s.close(),u.submit()}},[o]);const a=async s=>{const{data:c}=s;if(c.sender==="slate-redirect"){switch(window.removeEventListener("message",a),c.type){case"success":{Nt({fundType:"Promoted",fundId:Un.fundId,usi:na,memberNumber:c.memberNumber});break}default:t(Re());break}return}if(c.sender==="flare")switch(c.type){case"contentResized":{const u=o.current;if(!u)return;u.height=c.height>0?String(c.height):u.height,u.width=c.width>0?String(c.width):u.width;break}}};return window.addEventListener("message",a),b("div",{css:{width:"100vw"},children:b("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},Gb=({size:e,...t})=>b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#22c55e",width:e?e*4:"100%",...t,children:b("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"})}),Xs={Check:Gb},Kr=()=>{const{funds:e}=Qe(({state:t})=>t);return(e==null?void 0:e.length)===1&&e[0].fundId==="mercermychoice"},Qb=({name:e,logo:t,coverImage:r,extraBadge:n,isPromotedDefault:i,isMultiFund:o})=>{const a=Kr(),s=R(mt,{children:[R("div",{css:{marginRight:"-0.5rem",marginTop:"-1.25rem",textAlign:"right"},children:[n,i&&b("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"}),b("span",{css:{marginRight:"0.125rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(31 41 55 / var(--tw-text-opacity))"},children:"Featured"})]}),R("div",{css:[{marginTop:"0.5rem",display:"flex","@media (min-width: 768px)":{marginTop:"0px"},"@media (min-width: 1024px)":{display:"block"}},o&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:[b("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}),b("div",{css:{display:"grid",alignContent:"center"},children:b("p",{css:[{marginLeft:"1rem",fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","@media (min-width: 768px)":{marginBottom:"0px",marginLeft:"0px",fontSize:"1.125rem",lineHeight:"1.75rem"}},o&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:e})})]})]}),c=R(mt,{children:[R("div",{css:{marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"4rem",alignItems:"center",justifyContent:"space-between"},children:[b("img",{css:[{width:"100px"}],alt:e,src:t}),R("div",{children:[n,i&&b("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"}),b("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"})]})]}),b("img",{css:[{width:"100%"},o&&{"@media (min-width: 1024px)":{display:"block"}}],alt:e,src:r})]});return b(mt,{children:a&&Ht()?c:s})},Yb=({features:e,featureSubText:t,customContent:r,name:n})=>{const i=Kr(),o=R(mt,{children:[b("div",{css:{marginTop:"1rem","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.25rem","@media (min-width: 640px)":{marginTop:"0.5rem"}},children:e.map(s=>R("div",{css:{display:"flex"},children:[b("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:b(Xs.Check,{alt:"checked"})}),b("div",{css:{lineHeight:"1.25rem"},children:s})]}))}),t&&b("p",{css:{marginTop:"1rem",fontSize:"0.75rem",lineHeight:"1rem",fontStyle:"italic","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:t}),r]}),a=R(mt,{children:[R("div",{css:{padding:"1.5rem",paddingBottom:"0px"},children:[b("div",{css:[{fontSize:"1.125rem",lineHeight:"1.75rem",fontWeight:"700"}],children:n}),e.map(s=>R("div",{css:{marginTop:"0.5rem",display:"flex"},children:[b("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:b(Xs.Check,{alt:"checked"})}),b("div",{css:{fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"400"},children:s})]}))]}),t&&b("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 b(mt,{children:i&&Ht()?a:o})},Kb=({name:e,logo:t,coverImage:r,features:n,featureSubText:i,isMultiFund:o,isPromotedDefault:a,extraBadge:s,customContent:c})=>{const u=Kr();return R("div",{css:[{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem"},u&&Ht()&&{padding:"0px"}],children:[b(Qb,{name:e,logo:t,coverImage:r,isMultiFund:o,extraBadge:s,isPromotedDefault:a}),b(Yb,{name:e,features:n,customContent:c,featureSubText:i})]})},Zs=({isActive:e,children:t,onClick:r})=>b("div",{css:[{display:"block",height:"100%",width:"auto",borderRadius:"0.375rem",paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"500","--tw-ring-offset-width":"1px",":focus":{zIndex:"10",outline:"2px solid transparent",outlineOffset:"2px","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-color":"var(--fl-color-primary-focus)"},"@media (min-width: 640px)":{paddingLeft:"2rem",paddingRight:"2rem"}},e&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",color:"var(--fl-color-primary)","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},!e&&{"--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))",":hover":{backgroundColor:"var(--fl-color-primary-hover)"}},{cursor:"pointer"}],onClick:r,children:t}),Jb=()=>{const e=Wu(),t=Qe(r=>r.experimentsData);return b("div",{css:{display:"flex",justifyContent:"center"},children:R("div",{css:{maxWidth:"800px",textAlign:"center"},children:[b("h3",{css:{marginBottom:"0.75rem",fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","@media (min-width: 640px)":{marginBottom:"1rem",fontSize:"1.875rem",lineHeight:"2.25rem"}},children:"Nominate a super fund"}),R(mt,{children:[b("div",{css:{lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"2rem"}},children:"You can choose any super fund, including your current fund/SMSF, your employer’s default fund, or alternatively, you can select from one of the featured funds."}),t.selectedVariants["toggle-removed-from-page"]==="control"&&R("div",{css:{marginTop:"2rem",display:"inline-flex",whiteSpace:"normal",borderRadius:"0.5rem",backgroundColor:"var(--fl-color-primary)",padding:"0.125rem","@media (min-width: 640px)":{marginTop:"3rem"}},children:[b(Zs,{isActive:!0,children:"Featured super funds"}),b(Zs,{onClick:()=>e("toggle"),children:"Choose another fund"})]})]})]})})},ec=({fund:e,isMultiFund:t})=>{const r=Vr(),n=Kr();return R("div",{css:{display:"flex",height:"100%",flexDirection:"column",justifyContent:"space-between",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem",paddingBottom:"1.5rem"},children:[R("div",{children:[b("div",{css:[{"@media (min-width: 768px)":{maxWidth:"240px"}},t&&{"@media (min-width: 1024px)":{maxWidth:"100%"}},n&&Ht()&&{"@media (min-width: 768px)":{maxWidth:"100%"}}],children:b(ra,{fillWidth:!0,onClick:()=>{Dm(e),r(qu({fundId:e.fundId,fundType:e.fundType,iframeType:e.iframeType}))},children:"Choose this fund"})}),b("div",{css:{marginTop:"1.5rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:e.disclaimer})]}),e.abnInfo&&e.abn&&R("div",{css:{marginTop:"0.5rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:[R("p",{children:["Issued by ",e.abnInfo,"."]}),R("p",{children:["ABN: ",e.abn]})]})]})},Xb="https://my.gov.au",Zb="www.my.gov.au",ew="https://www.apra.gov.au/register-of-superannuation-institutions",tw="www.apra.gov.au",rw=()=>{const[e]=Qe(o=>[o.state.funds]),t=Kr(),r=Tb(e??[]),n=Wu();re(()=>{Fm(r)},[]);const i=r.length>1;return R("div",{children:[b(Jb,{}),R("div",{css:{marginTop:"2rem",textAlign:"center",fontSize:"0.875rem",lineHeight:"1.5rem"},children:[b("p",{css:{lineHeight:"1.5rem"},children:"Not ready to join a new fund, or want to nominate another super fund?"}),b("div",{onClick:()=>n("skipCopy"),children:R("span",{css:{marginTop:"0.75rem",display:"inline-block",cursor:"pointer",fontWeight:"500",color:"var(--fl-color-primary)"},children:["Skip Featured Funds ",b("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:b("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3"})})]})})]}),b("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center"},children:R("div",{css:[{borderRadius:"0.5rem",borderLeftWidth:"1px",borderTopWidth:"1px","@media (min-width: 1024px)":{display:"grid",borderBottomWidth:"1px"}},r.length===1&&{maxWidth:"720px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(1, minmax(0, 1fr))"}},r.length===2&&{maxWidth:"720px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(2, minmax(0, 1fr))"}},r.length===3&&{maxWidth:"960px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(3, minmax(0, 1fr))"}}],children:[r.map((o,a)=>b("div",{css:[{borderRightWidth:"1px"},a===0&&{borderTopRightRadius:"0.5rem"},a===0&&a!==r.length-1&&{"@media (min-width: 1024px)":{borderTopRightRadius:"0px"}},a===r.length-1&&{borderBottomRightRadius:"0.5rem","@media (min-width: 1024px)":{borderBottomRightRadius:"0px",borderTopRightRadius:"0.5rem"}}],children:R("div",{css:[{display:"flex",borderBottomWidth:"1px","@media (min-width: 1024px)":{borderBottomWidth:"0px"}},a===r.length-1&&{borderBottomRightRadius:"0.5rem",borderBottomLeftRadius:"0.5rem"}],children:[b("div",{css:[{display:"none",width:"9rem",justifyContent:"center",paddingLeft:"1.5rem",paddingTop:"1.5rem","@media (min-width: 768px)":{display:"flex"}},i&&{"@media (min-width: 1024px)":{display:"none"}},t&&Ht()&&{"@media (min-width: 768px)":{display:"none"}}],children:b("img",{css:{height:"4rem",width:"100%",maxWidth:"96px",objectFit:"contain"},alt:o.name,src:o.logo})}),R("div",{css:[{width:"100%"},t&&Ht()&&{minWidth:"286px",maxWidth:"480px"}],children:[b(Kb,{logo:o.logo,name:o.name,coverImage:o.coverImage,features:o.features,featureSubText:o.featureSubText,isMultiFund:i,isPromotedDefault:o.fundType==="promoted-default",extraBadge:o.extraBadge,customContent:o.customContent}),b("div",{css:[i&&{"@media (min-width: 1024px)":{display:"none"}}],children:b(ec,{fund:o,isMultiFund:i})})]})]})})),r.map((o,a)=>b("div",{css:[{display:"none",borderRightWidth:"1px"},i&&{"@media (min-width: 1024px)":{display:"block"}},a===r.length-1&&{borderBottomRightRadius:"0.5rem"}],children:b(ec,{fund:o,isMultiFund:i})}))]})}),b("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children:R("div",{css:{maxWidth:"720px",borderBottomWidth:"1px",paddingBottom:"2rem","@media (min-width: 640px)":{paddingBottom:"3rem"}},children:[b("h5",{css:{fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"1.75rem"}},children:"Or, choose another super fund:"}),R("ul",{css:{marginBottom:"1.5rem",marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem","@media (min-width: 640px)":{fontSize:"1rem",lineHeight:"1.5rem"}},children:[b("li",{children:"Select this option if you'd like to use your current account with another super fund, your self-managed super fund, or your employer's default fund."}),R("li",{children:["If you are unsure of your current super fund details, you can find out at"," ",b(L,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:Xb,children:Zb})]}),R("li",{children:["A full list of super funds can be viewed at"," ",b(L,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:ew,children:tw})]})]}),b(ra,{fillWidthOnMobile:!0,onClick:()=>n("button"),children:"Choose another super fund"})]})}),b("div",{css:{display:"flex",justifyContent:"center"},children:R("div",{css:{maxWidth:"720px",paddingTop:"2rem","@media (min-width: 640px)":{paddingTop:"3rem"}},children:[b("h5",{css:{fontWeight:"600"},children:"IMPORTANT INFORMATION:"}),R("ul",{css:{marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem"},children:[b("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."}),b("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."}),b("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."}),b("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."}),b("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."})]})]})})]})},nw=kn.div({display:"flex",justifyContent:"center"}),iw=()=>{const{funds:e,selectedFund:t}=Qe(i=>i.state),[r]=Rm();return re(()=>{r()},[]),b(nw,{children:(()=>{if(t){if(t.iframeType==="PromotedFundJoinV2")return b($b,{});if(t.iframeType==="SlateJoin")return b(Vb,{});if(t.iframeType==="PromotedFundJoinV1")return b(zb,{})}else if(e)return b(rw,{});return b(Mb,{})})()})},ow=()=>b(ff,{styles:pf`*, ::before, ::after {
|
|
22
|
+
`.concat(t),function(o){i.flushController.notifyAfterAddMessage(o-r)})},e.prototype.remove=function(t){var r=this.upsertBuffer[t];delete this.upsertBuffer[t];var n=this.encoder.estimateEncodedBytesCount(r);this.flushController.notifyAfterRemoveMessage(n)},e.prototype.hasMessageFor=function(t){return t!==void 0&&this.upsertBuffer[t]!==void 0},e}();function Bs(e,t){var r;return typeof e.output=="string"?r=e.output:r=new Blob([e.output],{type:"text/plain"}),{data:r,bytesCount:e.outputBytesCount,encoding:e.encoding,flushReason:t.reason}}function mg(e){var t=e.messagesLimit,r=e.bytesLimit,n=e.durationLimit,i=e.pageExitObservable,o=e.sessionExpireObservable,a=i.subscribe(function(h){return f(h.reason)}),s=o.subscribe(function(){return f("session_expire")}),c=new ue(function(){return function(){a.unsubscribe(),s.unsubscribe()}}),u=0,p=0;function f(h){if(p!==0){var v=p,w=u;p=0,u=0,m(),c.notify({reason:h,messagesCount:v,bytesCount:w})}}var d;function l(){d===void 0&&(d=Qr(function(){f("duration_limit")},n))}function m(){Zu(d),d=void 0}return{flushObservable:c,get messagesCount(){return p},notifyBeforeAddMessage:function(h){u+h>=r&&f("bytes_limit"),p+=1,u+=h,l()},notifyAfterAddMessage:function(h){h===void 0&&(h=0),u+=h,p>=t?f("messages_limit"):u>=r&&f("bytes_limit")},notifyAfterRemoveMessage:function(h){u-=h,p-=1,p===0&&m()}}}function Pl(e,t,r,n,i,o){var a=c(e,t),s=r&&c(e,r);function c(u,p){var f=p.endpoint,d=p.encoder;return new pg(d,og(u,f,u.batchBytesLimit,n),mg({messagesLimit:u.batchMessagesLimit,bytesLimit:u.batchBytesLimit,durationLimit:u.flushTimeout,pageExitObservable:i,sessionExpireObservable:o}),u.messageBytesLimit)}return{flushObservable:a.flushController.flushObservable,add:function(u,p){p===void 0&&(p=!0),a.add(u),s&&p&&s.add(r.transformMessage?r.transformMessage(u):u)},upsert:function(u,p){a.upsert(u,p),s&&s.upsert(r.transformMessage?r.transformMessage(u):u,p)},stop:function(){a.stop(),s==null||s.stop()}}}function Dn(){var e="",t=0;return{isAsync:!1,get isEmpty(){return!e},write:function(r,n){var i=aa(r);t+=i,e+=r,n&&n(i)},finish:function(r){r(this.finishSync())},finishSync:function(){var r={output:e,outputBytesCount:t,rawBytesCount:t,pendingData:""};return e="",t=0,r},estimateEncodedBytesCount:function(r){return r.length}}}var hg=function(){function e(){this.callbacks={}}return e.prototype.notify=function(t,r){var n=this.callbacks[t];n&&n.forEach(function(i){return i(r)})},e.prototype.subscribe=function(t,r){var n=this;return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(r),{unsubscribe:function(){n.callbacks[t]=n.callbacks[t].filter(function(i){return r!==i})}}},e}();function vg(e,t,r){var n=0,i=!1;return{isLimitReached:function(){if(n===0&&Qr(function(){n=0},St),n+=1,n<=t||i)return i=!1,!1;if(n===t+1){i=!0;try{r({message:"Reached max number of ".concat(e,"s by minute: ").concat(t),source:Le.AGENT,startClocks:Jt()})}finally{i=!1}}return!0}}}var Li,ya=new WeakMap;function gg(e){return Li||(Li=yg(e)),Li}function yg(e){return new ue(function(t){var r=vt(XMLHttpRequest.prototype,"open",bg).stop,n=vt(XMLHttpRequest.prototype,"send",function(o){wg(o,e,t)}).stop,i=vt(XMLHttpRequest.prototype,"abort",_g).stop;return function(){r(),n(),i()}})}function bg(e){var t=e.target,r=e.parameters,n=r[0],i=r[1];ya.set(t,{state:"open",method:String(n).toUpperCase(),url:fa(String(i))})}function wg(e,t,r){var n=e.target,i=ya.get(n);if(i){var o=i;o.state="start",o.startClocks=Jt(),o.isAborted=!1,o.xhr=n;var a=!1,s=vt(n,"onreadystatechange",function(){n.readyState===XMLHttpRequest.DONE&&c()}).stop,c=function(){if(u(),s(),!a){a=!0;var p=i;p.state="complete",p.duration=Qm(o.startClocks.timeStamp,ot()),p.status=n.status,r.notify(th(p))}},u=tr(t,n,"loadend",c).stop;r.notify(o)}}function _g(e){var t=e.target,r=ya.get(t);r&&(r.isAborted=!0)}var Ni;function Sg(){return Ni||(Ni=Cg()),Ni}function Cg(){return new ue(function(e){if(window.fetch){var t=vt(window,"fetch",function(r){return Eg(r,e)}).stop;return t}})}function Eg(e,t){var r=e.parameters,n=e.onPostCall,i=r[0],o=r[1],a=o&&o.method;a===void 0&&i instanceof Request&&(a=i.method);var s=a!==void 0?String(a).toUpperCase():"GET",c=i instanceof Request?i.url:fa(String(i)),u=Jt(),p={state:"start",init:o,input:i,method:s,startClocks:u,url:c};t.notify(p),r[0]=p.input,r[1]=p.init,n(function(f){return xg(t,f,p)})}function xg(e,t,r){var n=function(i){var o=r;o.state="resolve","stack"in i||i instanceof Error?(o.status=0,o.isAborted=i instanceof DOMException&&i.code===DOMException.ABORT_ERR,o.error=i):"status"in i&&(o.response=i,o.responseType=i.type,o.status=i.status,o.isAborted=!1),e.notify(o)};t.then(W(n),W(n))}var Mi={};function kg(e){var t=e.map(function(r){return Mi[r]||(Mi[r]=Tg(r)),Mi[r]});return tl.apply(void 0,t)}function Tg(e){return new ue(function(t){var r=$e[e];return $e[e]=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];r.apply(console,n);var o=Cv();Fr(function(){t.notify(Rg(n,e,o))})},function(){$e[e]=r}})}function Rg(e,t,r){var n=e.map(function(c){return Ag(c)}).join(" "),i,o,a;if(t===xe.error){var s=Xm(e,function(c){return c instanceof Error});i=s?xt(Je(s)):void 0,o=pl(s),a=s?hl(s,"console"):void 0}return{api:t,message:n,stack:i,handlingStack:r,fingerprint:o,causes:a}}function Ag(e){return typeof e=="string"?Ke(e):e instanceof Error?ml(Je(e)):er(Ke(e),void 0,2)}var Og=500,Pg=function(){function e(){this.buffer=[]}return e.prototype.add=function(t){var r=this.buffer.push(t);r>Og&&this.buffer.splice(0,1)},e.prototype.remove=function(t){Sl(this.buffer,t)},e.prototype.drain=function(t){this.buffer.forEach(function(r){return r(t)}),this.buffer.length=0},e}();function fo(e){var t={},r=new ue,n={getContext:function(){return bl(t)},setContext:function(i){ma(i)==="object"?(t=Ke(i),e.updateCustomerData(t)):n.clearContext(),r.notify()},setContextProperty:function(i,o){t[i]=Ke(o),e.updateCustomerData(t),r.notify()},removeContextProperty:function(i){delete t[i],e.updateCustomerData(t),r.notify()},clearContext:function(){t={},e.resetCustomerData(),r.notify()},changeObservable:r};return n}var Ig="_dd_c",Lg=[];function $s(e,t,r,n){var i=Ng(r,n);Lg.push(tr(e,window,fe.STORAGE,function(c){var u=c.key;i===u&&o()})),t.changeObservable.subscribe(a),t.setContext(Gt(s(),t.getContext()));function o(){t.setContext(s())}function a(){localStorage.setItem(i,JSON.stringify(t.getContext()))}function s(){var c=localStorage.getItem(i);return c!==null?JSON.parse(c):{}}}function Ng(e,t){return"".concat(Ig,"_").concat(e,"_").concat(t)}var Mg=3*Ye,Fg=16*Ye,Dg=200;function Bg(e){e===void 0&&(e=2);var t=new Map,r=!1;function n(i){if(i===void 0&&(i=0),!(r||e===0)){var o=e===2?Mg:Fg,a=i;t.forEach(function(s){a+=s.getBytesCount()}),a>o&&($g(o),r=!0)}}return{createDetachedTracker:function(){var i=Us(function(){return n(i.getBytesCount())});return i},getOrCreateTracker:function(i){return t.has(i)||t.set(i,Us(n)),t.get(i)},setCompressionStatus:function(i){e===0&&(e=i,n())},getCompressionStatus:function(){return e},stop:function(){t.forEach(function(i){return i.stop()}),t.clear()}}}function Us(e){var t=0,r=rl(function(a){t=aa(er(a)),e()},Dg),n=r.throttled,i=r.cancel,o=function(){i(),t=0};return{updateCustomerData:function(a){sa(a)?o():n(a)},resetCustomerData:o,getBytesCount:function(){return t},stop:function(){i()}}}function $g(e){ce.warn("Customer data exceeds the recommended ".concat(e/Ye,"KiB threshold. More details: https://docs.datadoghq.com/real_user_monitoring/browser/troubleshooting/#customer-data-exceeds-the-recommended-threshold-warning"))}function Ug(e,t,r){var n=e.getReader(),i=[],o=0;a();function a(){n.read().then(W(function(c){if(c.done){s();return}r.collectStreamBody&&i.push(c.value),o+=c.value.length,o>r.bytesLimit?s():a()}),W(function(c){return t(c)}))}function s(){n.cancel().catch(Zt);var c,u;if(r.collectStreamBody){var p;if(i.length===1)p=i[0];else{p=new Uint8Array(o);var f=0;i.forEach(function(d){p.set(d,f),f+=d.length})}c=p.slice(0,r.bytesLimit),u=p.length>r.bytesLimit}t(void 0,c,u)}}var jg="datadog-synthetics-public-id",zg="datadog-synthetics-result-id",Hg="datadog-synthetics-injects-rum";function Il(){return!!(window._DATADOG_SYNTHETICS_INJECTS_RUM||pt(Hg))}function qg(){var e=window._DATADOG_SYNTHETICS_PUBLIC_ID||pt(jg);return typeof e=="string"?e:void 0}function Wg(){var e=window._DATADOG_SYNTHETICS_RESULT_ID||pt(zg);return typeof e=="string"?e:void 0}function js(e){var t=ve({},e),r=["id","name","email"];return r.forEach(function(n){n in t&&(t[n]=String(t[n]))}),t}function Vg(e){var t=ma(e)==="object";return t||ce.error("Unsupported user:",e),t}var Gg=function(e,t,r,n){var i=arguments.length,o=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,r,o):a(t,r))||o);return i>3&&o&&Object.defineProperty(t,r,o),o},K={debug:"debug",error:"error",info:"info",warn:"warn"},po={console:"console",http:"http",silent:"silent"},Qg=Object.keys(K),zs=function(){function e(t,r,n,i,o,a){i===void 0&&(i=po.http),o===void 0&&(o=K.debug),a===void 0&&(a={}),this.handleLogStrategy=t,this.handlerType=i,this.level=o,this.contextManager=fo(r),this.contextManager.setContext(a),n&&this.contextManager.setContextProperty("logger",{name:n})}return e.prototype.log=function(t,r,n,i){n===void 0&&(n=K.info);var o;if(i!=null){var a=i instanceof Error?Je(i):void 0,s=fl({stackTrace:a,originalError:i,nonErrorPrefix:"Provided",source:Le.LOGGER,handling:"handled",startClocks:Jt()});o={stack:s.stack,kind:s.type,message:s.message,causes:s.causes}}var c=Ke(r),u=o?Gt({error:o},c):c;this.handleLogStrategy({message:Ke(t),context:u,status:n},this)},e.prototype.debug=function(t,r,n){this.log(t,r,K.debug,n)},e.prototype.info=function(t,r,n){this.log(t,r,K.info,n)},e.prototype.warn=function(t,r,n){this.log(t,r,K.warn,n)},e.prototype.error=function(t,r,n){this.log(t,r,K.error,n)},e.prototype.setContext=function(t){this.contextManager.setContext(t)},e.prototype.getContext=function(){return this.contextManager.getContext()},e.prototype.setContextProperty=function(t,r){this.contextManager.setContextProperty(t,r)},e.prototype.removeContextProperty=function(t){this.contextManager.removeContextProperty(t)},e.prototype.clearContext=function(){this.contextManager.clearContext()},e.prototype.setHandler=function(t){this.handlerType=t},e.prototype.getHandler=function(){return this.handlerType},e.prototype.setLevel=function(t){this.level=t},e.prototype.getLevel=function(){return this.level},Gg([oh],e.prototype,"log",null),e}();function Yg(e,t){return{view:{referrer:document.referrer,url:window.location.href},context:e.getContext(),user:t.getContext()}}var Kg=32*Ye;function Jg(e){var t=Xh(e),r=Hs(e.forwardConsoleLogs,qt(xe),"Forward Console Logs"),n=Hs(e.forwardReports,qt(et),"Forward Reports");if(!(!t||!r||!n))return e.forwardErrorsToLogs&&!Xt(r,xe.error)&&r.push(xe.error),ve({forwardErrorsToLogs:e.forwardErrorsToLogs!==!1,forwardConsoleLogs:r,forwardReports:n,requestErrorResponseLengthLimit:Kg},t)}function Hs(e,t,r){if(e===void 0)return[];if(!(e==="all"||Array.isArray(e)&&e.every(function(n){return Xt(t,n)}))){ce.error("".concat(r,' should be "all" or an array with allowed values "').concat(t.join('", "'),'"'));return}return e==="all"?t:qv(e)}function Xg(e){var t=Zh(e);return ve({forward_errors_to_logs:e.forwardErrorsToLogs,forward_console_logs:e.forwardConsoleLogs,forward_reports:e.forwardReports},t)}function Zg(e,t,r){var n=new Pg,i,o,a=t.observable.subscribe(s);function s(){if(!(!o||!i||!t.isGranted())){a.unsubscribe();var c=r(i,o);n.drain(c)}}return{init:function(c){if(!c){ce.error("Missing configuration");return}if(Fn()&&(c=ey(c)),i=c,o){vl("DD_LOGS",c);return}var u=Jg(c);u&&(o=u,t.tryToInit(u.trackingConsent),s())},get initConfiguration(){return i},getInternalContext:Zt,handleLog:function(c,u,p,f){p===void 0&&(p=e()),f===void 0&&(f=ot()),n.add(function(d){return d.handleLog(c,u,p,f)})}}}function ey(e){return ve({},e,{clientToken:"empty"})}var qs="logs";function ty(e){var t=Bg(),r=fo(t.getOrCreateTracker(2)),n=fo(t.getOrCreateTracker(1)),i=Dh();function o(){return Yg(r,n)}var a=Zg(o,i,function(u,p){u.storeContextsAcrossPages&&($s(p,r,qs,2),$s(p,n,qs,1));var f=e(u,p,o,i);return a=ry(u,f),f}),s={},c=new zs(function(){for(var u=[],p=0;p<arguments.length;p++)u[p]=arguments[p];return a.handleLog.apply(a,u)},t.createDetachedTracker());return Tv({logger:c,init:W(function(u){return a.init(u)}),setTrackingConsent:W(function(u){return i.update(u)}),getGlobalContext:W(function(){return r.getContext()}),setGlobalContext:W(function(u){return r.setContext(u)}),setGlobalContextProperty:W(function(u,p){return r.setContextProperty(u,p)}),removeGlobalContextProperty:W(function(u){return r.removeContextProperty(u)}),clearGlobalContext:W(function(){return r.clearContext()}),createLogger:W(function(u,p){return p===void 0&&(p={}),s[u]=new zs(function(){for(var f=[],d=0;d<arguments.length;d++)f[d]=arguments[d];return a.handleLog.apply(a,f)},t.createDetachedTracker(),Ke(u),p.handler,p.level,Ke(p.context)),s[u]}),getLogger:W(function(u){return s[u]}),getInitConfiguration:W(function(){return bl(a.initConfiguration)}),getInternalContext:W(function(u){return a.getInternalContext(u)}),setUser:W(function(u){Vg(u)&&n.setContext(js(u))}),getUser:W(function(){return n.getContext()}),setUserProperty:W(function(u,p){var f,d=js((f={},f[u]=p,f))[u];n.setContextProperty(u,d)}),removeUserProperty:W(function(u){return n.removeContextProperty(u)}),clearUser:W(function(){return n.clearContext()})})}function ry(e,t){return ve({init:function(r){vl("DD_LOGS",r)},initConfiguration:e},t)}var ny="logs";function iy(e,t){var r=Yv(e,ny,function(n){return ay(e,n)},t);return{findTrackedSession:function(n){var i=r.findActiveSession(n);return i&&i.trackingType==="1"?{id:i.id}:void 0},expireObservable:r.expireObservable}}function oy(e){var t=Ll(e)==="1",r=t?{}:void 0;return{findTrackedSession:function(){return r},expireObservable:new ue}}function Ll(e){return oo(e.sessionSampleRate)?"1":"0"}function ay(e,t){var r=sy(t)?t:Ll(e);return{trackingType:r,isTracked:r==="1"}}function sy(e){return e==="0"||e==="1"}var Ws=!1;function wn(e){var t=window;if(Il()){var r=n(t.DD_RUM_SYNTHETICS);return!r&&!Ws&&(Ws=!0,wl("Logs sent before RUM is injected by the synthetics worker",{testId:qg(),resultId:Wg()})),r}return n(t.DD_RUM);function n(i){if(i&&i.getInternalContext)return i.getInternalContext(e)}}function cy(e,t,r,n,i){var o=Qg.concat(["custom"]),a={};o.forEach(function(s){a[s]=vg(s,t.eventRateLimiterThreshold,i)}),r.subscribe(0,function(s){var c,u,p=s.rawLogsEvent,f=s.messageContext,d=f===void 0?void 0:f,l=s.savedCommonContext,m=l===void 0?void 0:l,h=Km(p.date),v=e.findTrackedSession(h);if(v){var w=m||n(),_=Gt({service:t.service,session_id:v.id,usr:sa(w.user)?void 0:w.user,view:w.view},w.context,wn(h),p,d);((c=t.beforeSend)===null||c===void 0?void 0:c.call(t,_))===!1||_.origin!==Le.AGENT&&((u=a[_.status])!==null&&u!==void 0?u:a.custom).isLimitReached()||r.notify(1,_)}})}var st,uy=(st={},st[xe.log]=K.info,st[xe.debug]=K.debug,st[xe.info]=K.info,st[xe.warn]=K.warn,st[xe.error]=K.error,st);function ly(e,t){var r=kg(e.forwardConsoleLogs).subscribe(function(n){t.notify(0,{rawLogsEvent:{date:ot(),message:n.message,origin:Le.CONSOLE,error:n.api===xe.error?{stack:n.stack,fingerprint:n.fingerprint,causes:n.causes}:void 0,status:uy[n.api]}})});return{stop:function(){r.unsubscribe()}}}var cr,dy=(cr={},cr[et.cspViolation]=K.error,cr[et.intervention]=K.error,cr[et.deprecation]=K.warn,cr);function fy(e,t){var r=Av(e,e.forwardReports).subscribe(function(n){var i=n.message,o=dy[n.type],a;o===K.error?a={kind:n.subtype,stack:n.stack}:n.stack&&(i+=" Found in ".concat(Sv(n.stack))),t.notify(0,{rawLogsEvent:{date:ot(),message:i,origin:Le.REPORT,error:a,status:o}})});return{stop:function(){r.unsubscribe()}}}function py(e,t){if(!e.forwardErrorsToLogs)return{stop:Zt};var r=gg(e).subscribe(function(o){o.state==="complete"&&i("xhr",o)}),n=Sg().subscribe(function(o){o.state==="resolve"&&i("fetch",o)});function i(o,a){!e.isIntakeUrl(a.url)&&(gy(a)||Cl(a.status))&&("xhr"in a?my(a.xhr,e,s):a.response?vy(a.response,e,s):a.error&&hy(a.error,e,s));function s(c){t.notify(0,{rawLogsEvent:{message:"".concat(yy(o)," error ").concat(a.method," ").concat(a.url),date:a.startClocks.timeStamp,error:{stack:c||"Failed to load"},http:{method:a.method,status_code:a.status,url:a.url},status:K.error,origin:Le.NETWORK}})}}return{stop:function(){r.unsubscribe(),n.unsubscribe()}}}function my(e,t,r){typeof e.response=="string"?r(ba(e.response,t)):r(e.response)}function hy(e,t,r){r(ba(xt(Je(e)),t))}function vy(e,t,r){var n=Xv(e);!n||!n.body?r():window.TextDecoder?by(n.body,t.requestErrorResponseLengthLimit,function(i,o){r(i?"Unable to retrieve response: ".concat(i):o)}):n.text().then(W(function(i){return r(ba(i,t))}),W(function(i){return r("Unable to retrieve response: ".concat(i))}))}function gy(e){return e.status===0&&e.responseType!=="opaque"}function ba(e,t){return e.length>t.requestErrorResponseLengthLimit?"".concat(e.substring(0,t.requestErrorResponseLengthLimit),"..."):e}function yy(e){return e==="xhr"?"XHR":"Fetch"}function by(e,t,r){Ug(e,function(n,i,o){if(n)r(n);else{var a=new TextDecoder().decode(i);o&&(a+="..."),r(void 0,a)}},{bytesLimit:t,collectStreamBody:!0})}function wy(e,t){if(!e.forwardErrorsToLogs)return{stop:Zt};var r=new ue,n=Ev(r).stop,i=r.subscribe(function(o){t.notify(0,{rawLogsEvent:{message:o.message,date:o.startClocks.timeStamp,error:{kind:o.type,stack:o.stack,causes:o.causes},origin:Le.SOURCE,status:K.error}})});return{stop:function(){n(),i.unsubscribe()}}}var _y=hg,At,Vs=(At={},At[K.debug]=0,At[K.info]=1,At[K.warn]=2,At[K.error]=3,At);function Sy(e){function t(r,n,i,o){var a=Gt(n.getContext(),r.context);Gs(r.status,po.console,n)&&Cy(r,a),Gs(r.status,po.http,n)&&e.notify(0,{rawLogsEvent:{date:o||ot(),message:r.message,status:r.status,origin:Le.LOGGER},messageContext:a,savedCommonContext:i})}return{handleLog:t}}function Gs(e,t,r){var n=r.getHandler(),i=Array.isArray(n)?n:[n];return Vs[e]>=Vs[r.getLevel()]&&Xt(i,t)}function Cy(e,t){dt[e.status].call($e,e.message,t)}function Ey(e,t,r,n,i){var o=Pl(e,{endpoint:e.logsEndpointBuilder,encoder:Dn()},e.replica&&{endpoint:e.replica.logsEndpointBuilder,encoder:Dn()},r,n,i.expireObservable);return t.subscribe(1,function(a){o.add(a)}),o}function xy(e){var t=ga();e.subscribe(1,function(r){t.send("log",r)})}function ky(e){return{get:function(t){var r=e.findTrackedSession(t);if(r)return{session_id:r.id}}}}function Ty(e){return function(t){e.notify(0,{rawLogsEvent:{message:t.message,date:t.startClocks.timeStamp,origin:Le.AGENT,status:K.error}}),wl("Error reported to customer",{"error.message":t.message})}}function Ry(e,t,r,n,i){var o=Bv("browser-logs-sdk",t);o.setContextProvider(function(){var f,d,l,m,h,v;return{application:{id:(f=wn())===null||f===void 0?void 0:f.application_id},session:{id:(d=i.findTrackedSession())===null||d===void 0?void 0:d.id},view:{id:(m=(l=wn())===null||l===void 0?void 0:l.view)===null||m===void 0?void 0:m.id},action:{id:(v=(h=wn())===null||h===void 0?void 0:h.user_action)===null||v===void 0?void 0:v.id}}});var a=[];if(Fn()){var s=ga(),c=o.observable.subscribe(function(f){return s.send("internal_telemetry",f)});a.push(function(){return c.unsubscribe()})}else{var u=Pl(t,{endpoint:t.rumEndpointBuilder,encoder:Dn()},t.replica&&{endpoint:t.replica.rumEndpointBuilder,encoder:Dn()},r,n,i.expireObservable);a.push(function(){return u.stop()});var p=o.observable.subscribe(function(f){return u.add(f,Uv(t))});a.push(function(){return p.unsubscribe()})}return jv(Xg(e)),{telemetry:o,stop:function(){a.forEach(function(f){return f()})}}}function Ay(e,t,r,n){var i=new _y,o=[];i.subscribe(1,function(l){return yl("logs",l)});var a=Ty(i),s=dg(t),c=t.sessionStoreStrategyType&&!Fn()&&!Il()?iy(t,n):oy(t),u=Ry(e,t,a,s,c).stop;o.push(function(){return u()}),py(t,i),wy(t,i),ly(t,i),fy(t,i);var p=Sy(i).handleLog;if(cy(c,t,i,r,a),Fn())xy(i);else{var f=Ey(t,i,a,s,c).stop;o.push(function(){return f()})}var d=ky(c);return{handleLog:p,getInternalContext:d.get,stop:function(){o.forEach(function(l){return l()})}}}var Bn=ty(Ay);Rv(at(),"DD_LOGS",Bn);const Oy="local",Ae=(e,t)=>Bn.logger.error(e,t),Py=()=>{const e=Iy();Bn.init({clientToken:"pub3024831b8d3568048614d6e5a6d44f27",forwardErrorsToLogs:!1,version:"0.1.658"}),Bn.setGlobalContext({team:"super",env:e,service:"ApolloSuperCampaign.UI"})},Iy=()=>{const e=window.location.hostname.toLowerCase().split(".")[0];switch(e){case"autodev-partner":case"test-partner":case"sandbox-partner":return e.replace("-partner","");case"partner":return"prod";default:return Oy}},Ly=kn.a({fontWeight:"500",textDecorationLine:"underline",textUnderlineOffset:"2px",":hover":{"--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))"}}),Ny="_extnav=true",L=({link:e,onClick:t,children:r,...n})=>{const i=e.indexOf("?")===-1?"?":"&",o=`${e}${i}${Ny}`;return b(Ly,{target:"_blank",href:o,onClick:t,...n,children:r})},My=""+new URL("assets/logo-active-BAEWzF0a.svg",import.meta.url).href,Fy="Active Super",mo={fundId:"active",name:Fy,logo:My,iframeType:"PromotedFundJoinV1",features:[b("p",{children:"Winner of Canstar's 2023 Outstanding Value – Superannuation Award considering investment performance, fees and product features*"}),b("p",{children:"Recognised as a leader in responsible investment"}),b("p",{children:"Calls answered in 20 seconds (average over 5 years)"})],featureSubText:b("span",{children:"*Based on a comparison of the Active Super Accumulation Scheme held by those aged 20-69 years and balances between $30,000 and $1.5 million."}),disclaimer:R("p",{children:["Issued by LGSS Pty Limited as trustee for Local Government Super (Active Super ABN:28 901 371 321). Consider the PDS and TMD at"," ",b(L,{onClick:()=>ee(mo),link:"https://www.activesuper.com.au/pds",children:"activesuper.com.au"})," ","before making a decision."]})},Dy=""+new URL("assets/logo-aus-eth-FW9TuDYd.svg",import.meta.url).href,By="Australian Ethical",Fi="https://www.australianethical.com.au/super/pds-forms/",_r={fundId:"australian-ethical",name:By,logo:Dy,iframeType:"PromotedFundJoinV2",features:[R("p",{children:["Fastest growing super fund in Australia",b("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),R("p",{children:["Nil investments in fossil fuel companies",b("sup",{css:{fontSize:"0.625rem"},children:"2"})]}),b("p",{children:"Competitive returns"})],featureSubText:R("ol",{css:{marginLeft:"0.75rem",listStylePosition:"outside",listStyleType:"decimal"},children:[b("li",{children:"Source: KPMG Super Insights Report 2022."}),b("li",{children:"All our options go through positive and negative ethical screening in accordance with the Australian Ethical Charter (in place since 1986)."})]}),disclaimer:R("p",{children:["Issued by Australian Ethical Superannuation Pty Ltd (ABN 43 079 259 733, RSE L0001441, AFSL 526055). Please consider the"," ",b(L,{link:"https://www.australianethical.com.au/globalassets/pdf-files/forms--pds/superpension/important-information/ae-financial-services-guide_sec.pdf",children:"Financial Services Guide"}),", the"," ",b(L,{link:Fi,onClick:()=>ee(_r),children:"Product Disclosure Statement"})," ","and"," ",b(L,{link:Fi,onClick:()=>ee(_r),children:"Target Market Determination"})," ","available on our"," ",b(L,{link:Fi,onClick:()=>ee(_r),children:"website"}),"."]})},$y=""+new URL("assets/logo-art-6eMN3DO0.svg",import.meta.url).href,Qs="Australian Retirement Trust",ho={fundId:"australian-retirement-trust",name:Qs,logo:$y,iframeType:"PromotedFundJoinV1",features:[b("p",{children:"$200 billion in retirement savings"}),b("p",{children:"2+ million members"}),b("p",{children:"A focus on delivering strong, long‑term returns"})],featureSubText:b("span",{children:"QSuper is now part of Australian Retirement Trust. If you have an existing QSuper account, you will continue to hold that account by selecting this option."}),disclaimer:R("p",{children:["You should consider the"," ",b(L,{link:"https://www.australianretirementtrust.com.au/library/media/pdfs/pds/super-savings-product-disclosure-statement-and-membership-form.pdf",onClick:()=>ee(ho),children:"Product Disclosure Statement"})," ","and"," ",b(L,{link:"https://www.australianretirementtrust.com.au/tmd",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of this fund."]}),abnInfo:Qs,abn:"60 905 115 063"},Uy=""+new URL("assets/logo-aware-C8PXTRJG.svg",import.meta.url).href,jy="Aware Super",vo={fundId:"aware",name:jy,logo:Uy,iframeType:"PromotedFundJoinV1",features:[R("p",{children:["Multi-award winning fund named Retirement Offering of the Year 2024.",b("sup",{css:{fontSize:"0.625rem"},children:">"})]}),b("p",{children:"Local call centres and a 45-minute Super Helpful check-in."}),b("p",{children:"Returns like 8.40% p.a^ over 10 years for our High Growth option."})],disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{children:[b("sup",{css:{fontSize:"0.625rem"},children:">"}),"Awards are just one factor to consider when deciding on a product."," ",b(L,{link:"https://aware.com.au/member/about-us/awards",children:"Find out more on our awards."})," ","^Past performance is not an indicator of future performance."," ",b(L,{link:"https://aware.com.au/member/what-we-offer/investments/investment-returns",children:"View our returns"}),". Consider if we’re right for you and"," ",b(L,{link:"https://aware.com.au/member/contact-aware-super/forms-and-documents",onClick:()=>ee(vo),children:"read the PDS and TMD"}),"."]}),b("p",{children:"Issued by Aware Super Pty Ltd. (ABN 11 118 202 672, AFSL 293340), the trustee of Aware Super (ABN 53 226 460 365)."})]})},zy=""+new URL("assets/logo-brighter-cKB6xH2M.svg",import.meta.url).href,Hy="https://www.brightersuper.com.au/-/media/public/files/pds-and-guides/accumulation-account-pds.pdf",qy="https://www.brightersuper.com.au/-/media/public/files/target-market-determination/tmd-brighter-super-accumulation-account.pdf",Wy="https://www.brightersuper.com.au/news/double-digit-returns-in-2023-and-some-of-the-lowest-fees-in-australia",Vy="https://www.brightersuper.com.au/about-us/awards",Gy="Brighter Super",go={fundId:"brightersuper",name:Gy,logo:zy,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Double-digit returns for our MySuper option in 2023^"}),b("p",{children:"Top 3 industry fund for lowest MySuper fees in Australia^"}),R("p",{children:["Platinum rated by SuperRatings for 16 years in a row",b("sup",{css:{fontSize:"0.625rem"},children:"+"})]})],disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{children:["^Past performance is not an indicator of future performance."," ",b(L,{link:Wy,children:"Find out more about our MySuper fees and returns."}),b("sup",{css:{fontSize:"0.625rem"},children:"+"}),"Ratings are only one factor to consider."," ",b(L,{link:Vy,children:"View our ratings and awards."})]}),R("p",{children:["Consider the"," ",b(L,{link:Hy,onClick:()=>ee(go),children:"PDS"})," ","& ",b(L,{link:qy,children:"TMD"})," before deciding to join."]}),b("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."})]})},Qy=""+new URL("assets/logo-first-CusDmGWL.svg",import.meta.url).href,Yy="First Super",yo={fundId:"first-super",name:Yy,logo:Qy,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Industry SuperFund that offers five investment options and default insurance"}),b("p",{children:"Strong long-term investment returns and superior customer service - members first"}),b("p",{children:"Established super fund – anyone can join including KiwiSaver members"})],disclaimer:R("div",{children:[R("p",{children:["General advice only which has been prepared without taking into account your objectives, financial situation or needs. Consider whether the advice is appropriate for you and read the Product Disclosure Statement (PDS) before making any investment decisions. PDS and Target Market Determination are available at our"," ",b(L,{onClick:()=>ee(yo),link:"https://www.firstsuper.com.au/forms-tools/product-disclosure-statements/",children:"website"}),". Past performance is not a reliable indicator of future performance."]}),b("br",{}),b("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."})]})},Ky=""+new URL("assets/logo-hesta-NL7xF41R.svg",import.meta.url).href,Jy="HESTA",bo={fundId:"hesta-default",name:Jy,logo:Ky,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"A top-performing super fund* working for real-world impact"}),b("p",{children:"1+ million members"}),b("p",{children:"Expert help whenever you need it to help you face the future with confidence"})],featureSubText:void 0,disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{css:{fontStyle:"italic"},children:["* SuperRatings 10 Year Platinum Performance 2014-2024 (MySuper). Investment performance contributes to but is not the only factor in determining this product rating. Product ratings and awards are only one factor to be considered. See"," ",b(L,{link:"https://www.hesta.com.au/ratings",children:"hesta.com.au/ratings"})," ","for more information."]}),R("p",{children:["Consider whether this product is appropriate for you by reading the Product Disclosure Statement and Target Market Determination at"," ",b(L,{onClick:()=>ee(bo),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."]}),b("p",{children:"Issued by H.E.S.T. Australia Ltd ABN 66 006 818 695 AFSL No. 235249, Trustee of HESTA"})]})},Xy=""+new URL("assets/logo-legalsuper-xG2DgGHY.svg",import.meta.url).href,Zy="legalsuper",Sr={fundId:"legalsuper",name:Zy,logo:Xy,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Strong performance - our investment options are designed to deliver steady returns."}),b("p",{children:"Personalised support - so you can access advice, knowledge and assistance when you need it."}),b("p",{children:"Tailored insurance - various cover options that adapt to life’s milestones and career changes."})],disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{children:["This information is of a general nature. Please refer to the legalsuper"," ",b(L,{link:"https://www.legalsuper.com.au/super-pds",onClick:()=>ee(Sr),children:"Product Disclosure Statement (PDS)"})," ","and"," ",b(L,{link:"https://www.legalsuper.com.au/super-tmd",onClick:()=>ee(Sr),children:"Target Market Determination (TMD)"})," ","available at"," ",b(L,{link:"https://www.legalsuper.com.au/",onClick:()=>ee(Sr),children:"www.legalsuper.com.au"})," ","before making any decision. Past performance is not a guide to future performance."]}),b("p",{children:"Legal Super Pty Ltd ABN 37 004 455 789 AFSL 246315 as the Trustee for legalsuper ABN 60 346 078 879."})]})},eb=""+new URL("assets/coverImage-BkXL9zfW.png",import.meta.url).href,tb=""+new URL("assets/logo-mercer-mychoice-BB6VztRp.svg",import.meta.url).href,rb="Mercer MyChoice",$n={fundId:"mercermychoice",name:rb,logo:tb,coverImage:eb,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Save more super with our low fees"}),b("p",{children:"Take control with 6 MyChoice investment options"}),b("p",{children:"Join 850,000 Australians who trust our global expertise"})],disclaimer:R("div",{children:[R("p",{children:["You should consider the"," ",b(L,{link:"https://www.mercersuper.com.au/campaign-page/mercer-mychoice",onClick:()=>ee($n),children:"Product Disclosure Statement"})," ","and"," ",b(L,{link:"https://www.mercersuper.com.au/documents/target-market-determinations",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]}),b("br",{}),b("p",{children:"Issued by Mercer Superannuation (Australia) Limited (‘Mercer Super’) ABN: 79 004 717 533"})]}),extraBadge:b("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"})},nb=""+new URL("assets/logo-mine-7mxPtjsF.svg",import.meta.url).href,ib="Mine Super",wo={fundId:"mine",name:ib,logo:nb,iframeType:"PromotedFundJoinV2",features:[R("p",{children:[b("i",{children:"Money"})," magazine’s Best of the Best Awards for Best Value Superannuation Fund for Young People 2024."]}),b("p",{children:"Insurance cover^ that’s got your back if you’re unable to work due to sickness or injury."}),b("p",{children:"One of the lowest fixed admin fees ($0.75 per week)."})],featureSubText:["^Subject to meeting eligibility criteria."],disclaimer:b("div",{children:R("p",{children:["Mine Super products are issued by AUSCOAL Superannuation Pty Ltd ABN 70 003 566 989 AFS licence 246864 Trustee for the Mine Superannuation Fund ABN 16 457 520 308. Refer to the"," ",b(L,{link:"https://www.mine.com.au/super/about-my-super/super-pds",onClick:()=>ee(wo),children:"PDS"})," ","and ",b(L,{link:"https://www.mine.com.au/tmd",children:"TMDs"})," on our website at ",b(L,{link:"https://www.mine.com.au/",children:"mine.com.au"})," when considering if our financial products are right for you."]})})},ob=""+new URL("assets/logo-reisuper-aM5iDbpN.svg",import.meta.url).href,ab="REI Super",_o={fundId:"reisuper",name:ab,logo:ob,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Built by and for the real estate industry"}),b("p",{children:"Consistent long-term performance with competitive fees*"}),b("p",{children:"All profits to members, not shareholders"})],disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[b("p",{children:"*Balanced Option net investment return of 9.45% for year ending 30 June 2023."}),R("p",{children:["You should consider the"," ",b(L,{link:"https://www.reisuper.com.au/docs/default-source/super/rei-super-pds.pdf?utm_source=flarehr&utm_medium=banners&utm_campaign=flarehr_join&utm_term=pds",onClick:()=>ee(_o),children:"Product Disclosure Statement"})," ","and"," ",b(L,{link:"https://www.reisuper.com.au/publications-and-forms/target-market-determination?utm_source=flarehr&utm_medium=banners&utm_campaign=flarehr_join&utm_term=tmd",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]})]}),abnInfo:"REI Superannuation Fund Pty Ltd",abn:"68 056 044 770"},sb=""+new URL("assets/logo-slate-CowODvPX.png",import.meta.url).href,cb="Slate Super",Un={fundId:ia,name:cb,logo:sb,iframeType:"SlateJoin",features:[b("p",{children:"A lifestage investment strategy that evolves with you"}),b("p",{children:"Advanced mobile app with retirement forecast and smart features"}),b("p",{children:"Member advocates at Slate to assist with your account"})],disclaimer:R("p",{children:["You should consider the"," ",b(L,{link:"https://slate.co/pds/?utm_source=flare&utm_medium=superselection",onClick:()=>ee(Un),children:"Product Disclosure Statement"})," ","and"," ",b(L,{link:"https://slate.co/forms-and-documents/target-market-determination/",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]}),abnInfo:"Diversa Trustees Limited",abn:"49 006 421 638"},ub=""+new URL("assets/logo-spirit-CAaRIHR7.svg",import.meta.url).href,lb="Spirit Super",So={fundId:"spirit",name:lb,logo:ub,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Industry SuperFund - profit to members"}),R("p",{children:["Low fees",b("sup",{css:{fontSize:"0.625rem"},children:"1"})," and a history of strong returns",b("sup",{css:{fontSize:"0.625rem"},children:"2"})]}),R("p",{children:["Best customer experience",b("sup",{css:{fontSize:"0.625rem"},children:"3"})]})],featureSubText:b("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:R("ol",{css:{listStyleType:"decimal","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[b("li",{children:b("span",{children:"$67.60 + 0.15% of account balance pa in admin fees, capped at $517.60"})}),b("li",{children:b("span",{children:"Past performance isn't a reliable indicator of future performance"})}),b("li",{children:b("span",{children:b(L,{link:"https://www.spiritsuper.com.au/News/Best-in-customer-service-again",children:"CSBA Sense CX Benchmark ratings 2022/23/24"})})})]})}),disclaimer:R("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"," ",b(L,{link:"https://www.spiritsuper.com.au",onClick:()=>ee(So),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)."]})},db=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,fb="Unisuper",pb="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",mb="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",Co={fundId:"unisuper",name:fb,logo:db,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Our fees are among the lowest in the industry.^"}),b("p",{children:"Our strong, long-term performance regularly exceeds industry averages.*"}),R("p",{children:["We’re consistently awarded as one of Australia’s best-performing funds.",b("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{children:["^Read more about our fees and how we compare"," ",b(L,{link:"https://www.unisuper.com.au/super/products-and-fees",children:"here"}),"."]}),R("p",{children:["*Past performance is not an indicator of future performance. Read more about our performance and how we compare"," ",b(L,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),R("p",{children:[b("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",b(L,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),R("p",{children:["Remember to consider the"," ",b(L,{link:pb,onClick:()=>ee(Co),children:"Product Disclosure Statement"})," ","and ",b(L,{link:mb,children:"Target Market Determination"})," that is relevant to you."]}),b("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},hb=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,vb="Unisuper",gb="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",yb="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",Eo={fundId:"unisuper-default",name:vb,logo:hb,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Low fees, better value – Our fees are among the lowest in the industry.^"}),b("p",{children:"Strong, long-term performance – We regularly exceed industry averages.*"}),R("p",{children:["Award winning super – Continually recognised as one of Australia’s best-performing funds.",b("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{children:["^Read more about our fees and how we compare"," ",b(L,{link:"https://www.unisuper.com.au/super/products-and-fees",children:"here"}),"."]}),R("p",{children:["*Past performance is not an indicator of future performance. Read more about our performance and how we compare"," ",b(L,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),R("p",{children:[b("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",b(L,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),R("p",{children:["Remember to consider the"," ",b(L,{link:gb,onClick:()=>ee(Eo),children:"Product Disclosure Statement"})," ","and ",b(L,{link:yb,children:"Target Market Determination"})," that is relevant to you."]}),b("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},bb=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,wb=""+new URL("assets/unisuper-default-badge1-CC2-KRH2.svg",import.meta.url).href,_b=""+new URL("assets/unisuper-default-badge2-CqUa_Zky.svg",import.meta.url).href,Sb=""+new URL("assets/unisuper-default-badge3-B7j1-pyZ.svg",import.meta.url).href,fn="Unisuper",Cb="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",Eb="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",xo={fundId:"unisuper-default-v2",name:fn,logo:bb,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Low fees, better value – Our fees are among the lowest in the industry.^"}),b("p",{children:"Strong, long-term performance – We regularly exceed industry averages.*"}),R("p",{children:["Award winning super – Continually recognised as one of Australia’s best-performing funds.",b("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],customContent:R("div",{css:{marginTop:"1.5rem",display:"flex",gap:"0.75rem"},children:[b("div",{children:b("img",{alt:fn,src:wb})}),b("div",{children:b("img",{alt:fn,src:_b})}),b("div",{children:b("img",{alt:fn,src:Sb})})]}),disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{children:["^Read more about our fees and how we compare"," ",b(L,{link:"https://www.unisuper.com.au/super/products-and-fees",children:"here"}),"."]}),R("p",{children:["*Past performance is not an indicator of future performance. Read more about our performance and how we compare"," ",b(L,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),R("p",{children:[b("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",b(L,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),R("p",{children:["Remember to consider the"," ",b(L,{link:Cb,onClick:()=>ee(xo),children:"Product Disclosure Statement"})," ","and ",b(L,{link:Eb,children:"Target Market Determination"})," that is relevant to you."]}),b("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},xb=""+new URL("assets/logo-virgin-Dg0nHidv.svg",import.meta.url).href,kb="Virgin Money Super",ko={fundId:"virgin",name:kb,logo:xb,iframeType:"PromotedFundJoinV2",features:[R("p",{children:["Returns above industry and retail super fund medians over the past 5 years",b("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),b("p",{children:"One of the lowest fees in the market"}),R("p",{children:["Virgin Money rewards you with Velocity Points on your contributions",b("sup",{css:{fontSize:"0.625rem"},children:"2"})]})],featureSubText:b("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:R("ol",{css:{listStyleType:"decimal","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[b("li",{children:b("span",{children:"Past performance is not a reliable indicator of future performance. Source: SuperRatings Fund Crediting Rate Survey April 2022."})}),b("li",{children:b("span",{children:b(L,{css:{fontWeight:"400"},link:"https://virginmoney.com.au/superannuation/forms-and-key-information/key-documents",children:"Eligibility and T&Cs apply"})})})]})}),disclaimer:R("p",{children:["Prepared by Virgin Money Financial Services Pty Ltd ABN 51 113 285 395 AFSL 286869 (‘Virgin Money’). Virgin Money Super is a plan in the Mercer Super Trust ABN 19 905 422 981. Virgin Money Super is issued by Mercer Superannuation (Australia) Limited (MSAL) ABN 79 004 717 533 AFSL 235906 as trustee of the Mercer Super Trust. Consider the PDS and TMD at"," ",b(L,{link:"https://virginmoney.com.au/superannuation/",onClick:()=>ee(ko),children:"www.virginmoney.com.au"})," ","before making a decision"]}),extraBadge:b("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"})},Nl=e=>{switch(e.fundId){case mo.fundId:return{...mo,fundType:e.type};case _r.fundId:return{..._r,fundType:e.type};case ho.fundId:return{...ho,fundType:e.type};case vo.fundId:return{...vo,fundType:e.type};case go.fundId:return{...go,fundType:e.type};case yo.fundId:return{...yo,fundType:e.type};case bo.fundId:return{...bo,fundType:e.type};case Sr.fundId:return{...Sr,fundType:e.type};case $n.fundId:return{...$n,fundType:e.type};case wo.fundId:return{...wo,fundType:e.type};case _o.fundId:return{..._o,fundType:e.type};case Un.fundId:return{...Un,fundType:e.type};case So.fundId:return{...So,fundType:e.type};case Co.fundId:return{...Co,fundType:e.type};case Eo.fundId:return{...Eo,fundType:e.type};case xo.fundId:return{...xo,fundType:e.type};case ko.fundId:return{...ko,fundType:e.type}}return null},Tb=e=>{const t=[];for(const n of e){const i=Nl(n);i?t.push(i):Ae(`Fund ID "${n.fundId}" was not mapped from the Campaign Connect response.`,{fund:n})}if(t.length>0)return t;const r=$n;return Ae(`No fund IDs were mapped, returning "${r.fundId}"`,{funds:e}),[{...r,fundType:"promoted"}]};class dr extends Error{}dr.prototype.name="InvalidTokenError";function Rb(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 Ab(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 Rb(t)}catch{return atob(t)}}function Ob(e,t){if(typeof e!="string")throw new dr("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 dr(`Invalid token specified: missing part #${r+1}`);let i;try{i=Ab(n)}catch(o){throw new dr(`Invalid token specified: invalid base64 for part #${r+1} (${o.message})`)}try{return JSON.parse(i)}catch(o){throw new dr(`Invalid token specified: invalid json for part #${r+1} (${o.message})`)}}const Pb=e=>window.playwrightRunning?"00000000-0000-0000-0000-000000000000":Ob(e).sub,Ib=(e,t)=>{let r=0;for(const n of t)if(r+=n.percentage,e<r)return n.variantName;return t[0].variantName},Lb=(e,t)=>{if(t.splitType==="percentage"){const r=parseInt(e.replace(/[^A-F0-9]/gi,""),16),n=t.variants.reduce((a,s)=>a+s.percentage,0),i=r%n;return Ib(i,t.variants)}return t.variants[0].variantName},Ml=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=Pb(Lt.getState().session.accessToken||""),o=Lb(i,n);o&&(Lt.dispatch(Lm({experimentName:r,selectedVariant:o})),Lt.dispatch(vr.endpoints.segmentTrack.initiate({event:"$experiment_started",properties:{"Experiment name":r,"Variant name":o}})))}}}},Nb=()=>{const[e]=Om(),[t,r]=je(!0),n=Vr(),[i]=Pm();if(re(()=>{(async()=>{const s=await i();"data"in s?(Um(),$m(),r(!1)):(Ae("App-loaded service call failed.",{error:s.error}),jm(`App-loaded service call failed: ${JSON.stringify(s.error)}`))})()},[]),t)return b(Kt,{});const o=async()=>{r(!0),Bm();const{data:a,isSuccess:s,status:c}=await e();if(!s){Ae("Backend service call failed.",{status:c}),zm(`Backend service call failed: ${c}`);return}const u=a==null?void 0:a.promotedFunds.filter(p=>p.type==="defined-benefits");if(a.hasDefinedBenefitsEligibility&&(u==null?void 0:u.length)>0){n(qu({fundId:u[0].fundId,fundType:u[0].type,iframeType:"PromotedFundJoinV2"}));return}n(Mm(a.promotedFunds)),a.promotedFunds.forEach(p=>{const f=Nl(p);f!=null&&f.experiments&&Ml(f.experiments)})};return R("div",{children:[b("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"}),b("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."}),b("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children:R("div",{css:{maxWidth:"560px",borderRadius:"0.5rem",borderWidth:"1px",padding:"1rem",paddingBottom:"1.5rem","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)","@media (min-width: 640px)":{padding:"1.5rem",paddingBottom:"2rem"}},children:[b("div",{css:{fontWeight:"700",lineHeight:"1.5rem","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"1.75rem"}},children:"By clicking “Continue” you acknowledge that:"}),R("ul",{css:{marginBottom:"1.5rem",marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem"},children:[b("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;"}),b("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;"}),b("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;"}),b("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;"}),b("li",{children:"in the event that you choose one of the featured superannuation funds, we may pass on your personal information and TFN to a related party for the purpose of completing your chosen fund's application form."}),R("li",{children:["Your personal data that is provided to us will be subject to our"," ",b(L,{css:{"--tw-text-opacity":"1",color:"rgb(37 99 235 / var(--tw-text-opacity))",textDecorationLine:"none",":hover":{"--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"}},link:"https://www.flarehr.com/privacy-policy",children:"Privacy Policy"}),"."]})]}),b(ra,{fillWidth:!0,onClick:()=>o(),children:"Continue"})]})})]})},Mb=(e,t)=>{window.parent.postMessage(e,t===void 0?"*":t)},Fl=e=>{Mb({type:"pageNavigated",url:e,sender:"flare"})},Fb=()=>{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-"}},Db=`https://${Fb()}api.simplefinancialchoices.com/promoted-funds/embed`,pn=e=>e.replace(/ /g,""),ct=e=>!(typeof e=="string"&&e.trim().length>0),Bb=()=>{const e=Qe(s=>s.state.selectedFund),t=Qe(s=>s.session.accessToken),r=Vr(),n=ht.endpoints.campaignConnect.useQueryState().data;if(!e||!t||!n)return Ae("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(Re()),b(Kt,{});const i={authToken:t,employerDefault:e.fundType==="promoted-default",fundId:e.fundId,accountId:n.userProfile.accountId,partnerId:n.userProfile.partnerId,title:n.userProfile.title??"",firstName:n.userProfile.firstName,middleName:n.userProfile.middleName,lastName:n.userProfile.lastName,dateOfBirth:n.userProfile.dateOfBirth??"",mobilePhone:n.userProfile.mobilePhone??"",email:n.userProfile.email,gender:n.userProfile.gender??"",taxFileNumber:n.userProfile.tfn??"",addressLine1:n.userProfile.address.addressLine1,addressLine2:n.userProfile.address.addressLine2??"",city:n.userProfile.address.city,state:n.userProfile.address.state,postCode:n.userProfile.address.postcode},o=Br();re(()=>{var c;const s=(c=o.current)==null?void 0:c.contentDocument;if(s){s.open();const u=s.createElement("form");u.method="POST",u.target="_self",u.action=Db;let p;for(p in i){const f=i[p];if(f!==void 0){const d=document.createElement("input");d.name=p,d.type="hidden",typeof f=="boolean"?d.value=f?"true":"false":d.value=f,u.append(d)}}s.appendChild(u),s.close(),u.submit()}},[o]);const a=async s=>{const{data:c}=s;if(c.sender==="promoted-fund-redirect"){switch(window.removeEventListener("message",a),c.type){case"cancel":r(Re());break;case"success-promoted":{if(ct(c.memberNumber)||ct(c.usi)){Ae("Bad response from PFJ",{type:c.type,memberNumber:c.memberNumber,usi:c.usi}),r(Re());break}Nt({fundType:"Promoted",fundId:e.fundId,usi:pn(c.usi),memberNumber:c.memberNumber,memberFirstName:c.memberFirstName,memberFamilyName:c.memberFamilyName});break}case"success-promoted-default":{if(ct(c.usi)){Ae("Bad response from PFJ",{type:c.type,usi:c.usi}),r(Re());break}Nt({fundType:"PromotedDefault",fundId:c.fundId,usi:pn(c.usi)});break}case"success-promoted-default-with-join":{if(ct(c.memberNumber)||ct(c.usi)){Ae("Bad response from PFJ",{type:c.type,memberNumber:c.memberNumber,usi:c.usi}),r(Re());break}Nt({fundType:"PromotedDefaultWithJoin",fundId:e.fundId,usi:pn(c.usi),memberNumber:c.memberNumber,memberFirstName:c.memberFirstName,memberFamilyName:c.memberFamilyName});break}case"success-defined-benefits":{if(ct(c.memberNumber)||ct(c.usi)){Ae("Bad response from PFJ",{type:c.type,memberNumber:c.memberNumber,usi:c.usi}),r(Re());break}Nt({fundType:"DefinedBenefits",fundId:c.fundId,usi:pn(c.usi),memberNumber:c.memberNumber,memberElectContributionRatePreTax:c.memberElectContributionRatePreTax,memberElectContributionRatePostTax:c.memberElectContributionRatePostTax});break}}r(Re())}if(c.sender==="promoted-fund-join"){const u=o.current;if(!u)return;switch(c.type){case"contentResized":u.height=c.height>0?String(c.height):u.height,u.width=c.width>0?String(c.width):u.width;break;case"pageNavigated":window.scroll(u.offsetLeft,u.offsetTop),Fl(window.location.href);break}}};return window.addEventListener("message",a),b("div",{css:{width:"100vw"},children:b("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},$b=()=>window.location.origin.includes("localhost")?"autodev-partner":window.location.hostname.toLowerCase().split(".")[0],Ub=`https://${$b()}.flarehr.com/promoted-fund-join/embed/v1.0/web`,jb=()=>{const e=Qe(s=>s.session.accessToken),t=Qe(s=>s.state.selectedFund),r=Vr(),n=ht.endpoints.campaignConnect.useQueryState().data;if(!n||!t)return Ae("PfjV1IFrame was in an inconsistent state and the user was redirected to the three panel.",{fund:t,data:n?"Not null":"Null"}),r(Re()),b(Kt,{});const i={authToken:e??"",fundId:t.fundId,partnerId:n.userProfile.partnerId,accountId:n.userProfile.accountId,title:n.userProfile.title??"",firstName:n.userProfile.firstName,middleName:n.userProfile.middleName,lastName:n.userProfile.lastName,dateOfBirth:n.userProfile.dateOfBirth??"",mobilePhone:n.userProfile.mobilePhone??"",email:n.userProfile.email,gender:n.userProfile.gender??"",taxFileNumber:n.userProfile.tfn??"",addressLine1:n.userProfile.address.addressLine1,addressLine2:n.userProfile.address.addressLine2??"",city:n.userProfile.address.city,state:n.userProfile.address.state,postCode:n.userProfile.address.postcode},o=Br();re(()=>{var c;const s=(c=o.current)==null?void 0:c.contentDocument;if(s){s.open();const u=s.createElement("form");u.method="POST",u.target="_self",u.action=Ub;let p;for(p in i){const f=i[p];if(f!==void 0){const d=document.createElement("input");d.type="hidden",d.name=p,d.value=f,u.append(d)}}s.appendChild(u),s.close(),u.submit()}},[o]);const a=async s=>{const{data:c}=s;if(c.sender==="promoted-fund-redirect"){switch(window.removeEventListener("message",a),c.type){case"success":{c.memberNumber&&Nt({fundType:"Promoted",fundId:t.fundId,usi:c.usi.replace(/ /g,""),memberNumber:c.memberNumber});break}default:r(Re());break}return}if(c.sender==="promoted-fund-join"){const u=o.current;if(!u)return;switch(c.type){case"contentResized":u.height=c.height>0?String(c.height):u.height,u.width=c.width>0?String(c.width):u.width;break;case"pageNavigated":window.scroll(u.offsetLeft,u.offsetTop),Fl(window.location.href);break}}};return window.addEventListener("message",a),b("div",{css:{width:"100vw"},children:b("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},zb="interop-mode",Hb="react-native",Ys=()=>new URLSearchParams(window.location.search).get(zb)===Hb,Dl=()=>{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-"}},Ks=`https://${Dl()}join.slatesuper.com.au/confirm`,Js=`https://${Dl()}partner.flarehr.com/super-selection/embed/v1.0/app/slate-redirect.html`,qb=e=>{switch(e){case"Male":return"Male";case"Female":return"Female";case"Intersex":return"Intersex/Indeterminate";default:return"Unknown"}},Wb=()=>{const e=Qe(s=>s.session.accessToken),t=Vr(),r=ht.endpoints.campaignConnect.useQueryState().data;if(!r)return Ae("SlateIFrame was in an inconsistent state and the user was redirected to the three panel.",{data:r?"Not null":"Null"}),t(Re()),b(Kt,{});const i={authToken:!Ks.match(/autodev|sandbox/)?e:void 0,successRedirectUrl:Js,cancelRedirectUrl:Js,skipConsolidation:Ys()?"true":"false",skipInsurance:Ys()?"true":"false",firstName:r.userProfile.firstName,middleName:r.userProfile.middleName,lastName:r.userProfile.lastName,dateOfBirth:r.userProfile.dateOfBirth??"",mobilePhone:r.userProfile.mobilePhone??"",email:r.userProfile.email,gender:qb(r.userProfile.gender),taxFileNumber:r.userProfile.tfn??"",addressLine1:r.userProfile.address.addressLine1,addressLine2:r.userProfile.address.addressLine2??"",city:r.userProfile.address.city,state:r.userProfile.address.state,postCode:r.userProfile.address.postcode},o=Br();re(()=>{var c;const s=(c=o.current)==null?void 0:c.contentDocument;if(s){s.open();const u=s.createElement("form");u.method="POST",u.target="_self",u.action=Ks;let p;for(p in i){const f=i[p];if(f!==void 0){const d=document.createElement("input");d.type="hidden",d.name=p,d.value=f,u.append(d)}}s.appendChild(u),s.close(),u.submit()}},[o]);const a=async s=>{const{data:c}=s;if(c.sender==="slate-redirect"){switch(window.removeEventListener("message",a),c.type){case"success":{Nt({fundType:"Promoted",fundId:Un.fundId,usi:na,memberNumber:c.memberNumber});break}default:t(Re());break}return}if(c.sender==="flare")switch(c.type){case"contentResized":{const u=o.current;if(!u)return;u.height=c.height>0?String(c.height):u.height,u.width=c.width>0?String(c.width):u.width;break}}};return window.addEventListener("message",a),b("div",{css:{width:"100vw"},children:b("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},Vb=({size:e,...t})=>b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#22c55e",width:e?e*4:"100%",...t,children:b("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"})}),Xs={Check:Vb},Kr=()=>{const{funds:e}=Qe(({state:t})=>t);return(e==null?void 0:e.length)===1&&e[0].fundId==="mercermychoice"},Gb=({name:e,logo:t,coverImage:r,extraBadge:n,isPromotedDefault:i,isMultiFund:o})=>{const a=Kr(),s=R(mt,{children:[R("div",{css:{marginRight:"-0.5rem",marginTop:"-1.25rem",textAlign:"right"},children:[n,i&&b("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"}),b("span",{css:{marginRight:"0.125rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(31 41 55 / var(--tw-text-opacity))"},children:"Featured"})]}),R("div",{css:[{marginTop:"0.5rem",display:"flex","@media (min-width: 768px)":{marginTop:"0px"},"@media (min-width: 1024px)":{display:"block"}},o&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:[b("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}),b("div",{css:{display:"grid",alignContent:"center"},children:b("p",{css:[{marginLeft:"1rem",fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","@media (min-width: 768px)":{marginBottom:"0px",marginLeft:"0px",fontSize:"1.125rem",lineHeight:"1.75rem"}},o&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:e})})]})]}),c=R(mt,{children:[R("div",{css:{marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"4rem",alignItems:"center",justifyContent:"space-between"},children:[b("img",{css:[{width:"100px"}],alt:e,src:t}),R("div",{children:[n,i&&b("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"}),b("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"})]})]}),b("img",{css:[{width:"100%"},o&&{"@media (min-width: 1024px)":{display:"block"}}],alt:e,src:r})]});return b(mt,{children:a&&Ht()?c:s})},Qb=({features:e,featureSubText:t,customContent:r,name:n})=>{const i=Kr(),o=R(mt,{children:[b("div",{css:{marginTop:"1rem","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.25rem","@media (min-width: 640px)":{marginTop:"0.5rem"}},children:e.map(s=>R("div",{css:{display:"flex"},children:[b("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:b(Xs.Check,{alt:"checked"})}),b("div",{css:{lineHeight:"1.25rem"},children:s})]}))}),t&&b("p",{css:{marginTop:"1rem",fontSize:"0.75rem",lineHeight:"1rem",fontStyle:"italic","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:t}),r]}),a=R(mt,{children:[R("div",{css:{padding:"1.5rem",paddingBottom:"0px"},children:[b("div",{css:[{fontSize:"1.125rem",lineHeight:"1.75rem",fontWeight:"700"}],children:n}),e.map(s=>R("div",{css:{marginTop:"0.5rem",display:"flex"},children:[b("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:b(Xs.Check,{alt:"checked"})}),b("div",{css:{fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"400"},children:s})]}))]}),t&&b("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 b(mt,{children:i&&Ht()?a:o})},Yb=({name:e,logo:t,coverImage:r,features:n,featureSubText:i,isMultiFund:o,isPromotedDefault:a,extraBadge:s,customContent:c})=>{const u=Kr();return R("div",{css:[{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem"},u&&Ht()&&{padding:"0px"}],children:[b(Gb,{name:e,logo:t,coverImage:r,isMultiFund:o,extraBadge:s,isPromotedDefault:a}),b(Qb,{name:e,features:n,customContent:c,featureSubText:i})]})},Zs=({isActive:e,children:t,onClick:r})=>b("div",{css:[{display:"block",height:"100%",width:"auto",borderRadius:"0.375rem",paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"500","--tw-ring-offset-width":"1px",":focus":{zIndex:"10",outline:"2px solid transparent",outlineOffset:"2px","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-color":"var(--fl-color-primary-focus)"},"@media (min-width: 640px)":{paddingLeft:"2rem",paddingRight:"2rem"}},e&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",color:"var(--fl-color-primary)","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},!e&&{"--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))",":hover":{backgroundColor:"var(--fl-color-primary-hover)"}},{cursor:"pointer"}],onClick:r,children:t}),Kb=()=>{const e=Wu(),t=Qe(r=>r.experimentsData);return b("div",{css:{display:"flex",justifyContent:"center"},children:R("div",{css:{maxWidth:"800px",textAlign:"center"},children:[b("h3",{css:{marginBottom:"0.75rem",fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","@media (min-width: 640px)":{marginBottom:"1rem",fontSize:"1.875rem",lineHeight:"2.25rem"}},children:"Nominate a super fund"}),R(mt,{children:[b("div",{css:{lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"2rem"}},children:"You can choose any super fund, including your current fund/SMSF, your employer’s default fund, or alternatively, you can select from one of the featured funds."}),t.selectedVariants["toggle-removed-from-page"]==="control"&&R("div",{css:{marginTop:"2rem",display:"inline-flex",whiteSpace:"normal",borderRadius:"0.5rem",backgroundColor:"var(--fl-color-primary)",padding:"0.125rem","@media (min-width: 640px)":{marginTop:"3rem"}},children:[b(Zs,{isActive:!0,children:"Featured super funds"}),b(Zs,{onClick:()=>e("toggle"),children:"Choose another fund"})]})]})]})})},ec=({fund:e,isMultiFund:t})=>{const r=Vr(),n=Kr();return R("div",{css:{display:"flex",height:"100%",flexDirection:"column",justifyContent:"space-between",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem",paddingBottom:"1.5rem"},children:[R("div",{children:[b("div",{css:[{"@media (min-width: 768px)":{maxWidth:"240px"}},t&&{"@media (min-width: 1024px)":{maxWidth:"100%"}},n&&Ht()&&{"@media (min-width: 768px)":{maxWidth:"100%"}}],children:b(ra,{fillWidth:!0,onClick:()=>{Dm(e),r(qu({fundId:e.fundId,fundType:e.fundType,iframeType:e.iframeType}))},children:"Choose this fund"})}),b("div",{css:{marginTop:"1.5rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:e.disclaimer})]}),e.abnInfo&&e.abn&&R("div",{css:{marginTop:"0.5rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:[R("p",{children:["Issued by ",e.abnInfo,"."]}),R("p",{children:["ABN: ",e.abn]})]})]})},Jb="https://my.gov.au",Xb="www.my.gov.au",Zb="https://www.apra.gov.au/register-of-superannuation-institutions",ew="www.apra.gov.au",tw=()=>{const[e]=Qe(o=>[o.state.funds]),t=Kr(),r=Tb(e??[]),n=Wu();re(()=>{Fm(r)},[]);const i=r.length>1;return R("div",{children:[b(Kb,{}),R("div",{css:{marginTop:"2rem",textAlign:"center",fontSize:"0.875rem",lineHeight:"1.5rem"},children:[b("p",{css:{lineHeight:"1.5rem"},children:"Not ready to join a new fund, or want to nominate another super fund?"}),b("div",{onClick:()=>n("skipCopy"),children:R("span",{css:{marginTop:"0.75rem",display:"inline-block",cursor:"pointer",fontWeight:"500",color:"var(--fl-color-primary)"},children:["Skip Featured Funds ",b("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:b("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3"})})]})})]}),b("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center"},children:R("div",{css:[{borderRadius:"0.5rem",borderLeftWidth:"1px",borderTopWidth:"1px","@media (min-width: 1024px)":{display:"grid",borderBottomWidth:"1px"}},r.length===1&&{maxWidth:"720px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(1, minmax(0, 1fr))"}},r.length===2&&{maxWidth:"720px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(2, minmax(0, 1fr))"}},r.length===3&&{maxWidth:"960px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(3, minmax(0, 1fr))"}}],children:[r.map((o,a)=>b("div",{css:[{borderRightWidth:"1px"},a===0&&{borderTopRightRadius:"0.5rem"},a===0&&a!==r.length-1&&{"@media (min-width: 1024px)":{borderTopRightRadius:"0px"}},a===r.length-1&&{borderBottomRightRadius:"0.5rem","@media (min-width: 1024px)":{borderBottomRightRadius:"0px",borderTopRightRadius:"0.5rem"}}],children:R("div",{css:[{display:"flex",borderBottomWidth:"1px","@media (min-width: 1024px)":{borderBottomWidth:"0px"}},a===r.length-1&&{borderBottomRightRadius:"0.5rem",borderBottomLeftRadius:"0.5rem"}],children:[b("div",{css:[{display:"none",width:"9rem",justifyContent:"center",paddingLeft:"1.5rem",paddingTop:"1.5rem","@media (min-width: 768px)":{display:"flex"}},i&&{"@media (min-width: 1024px)":{display:"none"}},t&&Ht()&&{"@media (min-width: 768px)":{display:"none"}}],children:b("img",{css:{height:"4rem",width:"100%",maxWidth:"96px",objectFit:"contain"},alt:o.name,src:o.logo})}),R("div",{css:[{width:"100%"},t&&Ht()&&{minWidth:"286px",maxWidth:"480px"}],children:[b(Yb,{logo:o.logo,name:o.name,coverImage:o.coverImage,features:o.features,featureSubText:o.featureSubText,isMultiFund:i,isPromotedDefault:o.fundType==="promoted-default",extraBadge:o.extraBadge,customContent:o.customContent}),b("div",{css:[i&&{"@media (min-width: 1024px)":{display:"none"}}],children:b(ec,{fund:o,isMultiFund:i})})]})]})})),r.map((o,a)=>b("div",{css:[{display:"none",borderRightWidth:"1px"},i&&{"@media (min-width: 1024px)":{display:"block"}},a===r.length-1&&{borderBottomRightRadius:"0.5rem"}],children:b(ec,{fund:o,isMultiFund:i})}))]})}),b("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children:R("div",{css:{maxWidth:"720px",borderBottomWidth:"1px",paddingBottom:"2rem","@media (min-width: 640px)":{paddingBottom:"3rem"}},children:[b("h5",{css:{fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"1.75rem"}},children:"Or, choose another super fund:"}),R("ul",{css:{marginBottom:"1.5rem",marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem","@media (min-width: 640px)":{fontSize:"1rem",lineHeight:"1.5rem"}},children:[b("li",{children:"Select this option if you'd like to use your current account with another super fund, your self-managed super fund, or your employer's default fund."}),R("li",{children:["If you are unsure of your current super fund details, you can find out at"," ",b(L,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:Jb,children:Xb})]}),R("li",{children:["A full list of super funds can be viewed at"," ",b(L,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:Zb,children:ew})]})]}),b(ra,{fillWidthOnMobile:!0,onClick:()=>n("button"),children:"Choose another super fund"})]})}),b("div",{css:{display:"flex",justifyContent:"center"},children:R("div",{css:{maxWidth:"720px",paddingTop:"2rem","@media (min-width: 640px)":{paddingTop:"3rem"}},children:[b("h5",{css:{fontWeight:"600"},children:"IMPORTANT INFORMATION:"}),R("ul",{css:{marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem"},children:[b("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."}),b("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."}),b("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."}),b("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."}),b("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."})]})]})})]})},rw=kn.div({display:"flex",justifyContent:"center"}),nw=()=>{const{funds:e,selectedFund:t}=Qe(i=>i.state),[r]=Rm();return re(()=>{r()},[]),b(rw,{children:(()=>{if(t){if(t.iframeType==="PromotedFundJoinV2")return b(Bb,{});if(t.iframeType==="SlateJoin")return b(Wb,{});if(t.iframeType==="PromotedFundJoinV1")return b(jb,{})}else if(e)return b(tw,{});return b(Nb,{})})()})},iw=()=>b(ff,{styles:pf`*, ::before, ::after {
|
|
23
23
|
box-sizing: border-box;
|
|
24
24
|
border-width: 0;
|
|
25
25
|
border-style: solid;
|
|
@@ -269,4 +269,4 @@ img, video {
|
|
|
269
269
|
--tw-backdrop-opacity: var(--tw-empty,/*!*/ /*!*/);
|
|
270
270
|
--tw-backdrop-saturate: var(--tw-empty,/*!*/ /*!*/);
|
|
271
271
|
--tw-backdrop-sepia: var(--tw-empty,/*!*/ /*!*/);
|
|
272
|
-
}`}),
|
|
272
|
+
}`}),ow=e=>{const{"access-token":t,"backend-url":r}=e,[n,i]=je(!1);re(()=>{Py()},[]),re(()=>{Lt.dispatch(Nm({accessToken:t,backendUrl:r})),Ml(hf),i(!0)},[t,r]);const o=Ee(null),[a,s]=je(void 0);return re(()=>{s(o.current??void 0)},[o]),b("div",{ref:o,children:b(uf,{value:Yc({key:"ascui",container:a,prepend:!0}),children:R(hm,{store:Lt,children:[b(iw,{}),b("div",{css:{fontFamily:"Inter, sans-serif"},children:n?b(nw,{}):b(Kt,{})})]})})})},aw="apollo-super-campaign";Zl(ow,aw,[],{shadow:!0});
|