PageSourceSearch

https://yugyd.com/s/f2dba714593df994eb9510fec4d7f721-CDN/9d0pul/94…entication-plugin:split_109.js?locale=en-US

js yugyd.com collected 2026-09-24 14:57:58 UTC 351,055 bytes, 38 lines download raw bytes

1WRMCB=function(e){var c=console;if(c&&c.log&&c.error){c.log('Error running batched script.');c.error(e);}}
2;
3try {
4/* module-key = 'com.atlassian.plugins.authentication.atlassian-authentication-plugin:split_109', location = 'frontend/bundled.109.js' */
5(()=>{(self.webpackChunk_atlassian_dc_crowd_atlassian_authentication_plugin=self.webpackChunk_atlassian_dc_crowd_atlassian_authentication_plugin||[]).push([[109],{7194:(y,t,e)=>{"use strict";e.d(t,{O:()=>o});const o=()=>window.AJS.contextPath()},3687:(y,t,e)=>{"use strict";e.d(t,{Z:()=>n});var o=e(548),a=(0,o.createContext)({getAtlaskitAnalyticsContext:function(){return[]},getAtlaskitAnalyticsEventHandlers:function(){return[]}});const n=a},4158:(y,t,e)=>{"use strict";e.d(t,{O:()=>n});var o=e(548),a=e.n(o),c=e(3687),n=function(){return(0,o.useContext)(c.Z)}},2184:(y,t,e)=>{"use strict";e.d(t,{_:()=>P});var o=e(548);function a($,K){if($.length!==K.length)return!1;for(var X=0;X<$.length;X++)if($[X]!==K[X])return!1;return!0}function c($,K){var X=(0,o.useState)(function(){return{inputs:K,result:$()}})[0],le=(0,o.useRef)(!0),fe=(0,o.useRef)(X),ae=le.current||!!(K&&fe.current.inputs&&a(K,fe.current.inputs)),M=ae?fe.current:{inputs:K,result:$()};return(0,o.useEffect)(function(){le.current=!1,fe.current=M},[M]),M.result}function n($,K){return c(function(){return $},K)}var i=null,r=null,s=e(4978),u=e(5378),l=e(564),v=e(674),d=e(9589),f=e(3075),g=e(7101),h=e(3772),m=e(6872);function b($,K){var X=Object.keys($);if(Object.getOwnPropertySymbols){var le=Object.getOwnPropertySymbols($);K&&(le=le.filter(function(fe){return Object.getOwnPropertyDescriptor($,fe).enumerable})),X.push.apply(X,le)}return X}function x($){for(var K=1;K<arguments.length;K++){var X=arguments[K]!=null?arguments[K]:{};K%2?b(Object(X),!0).forEach(function(le){(0,h.Z)($,le,X[le])}):Object.getOwnPropertyDescriptors?Object.defineProperties($,Object.getOwnPropertyDescriptors(X)):b(Object(X)).forEach(function(le){Object.defineProperty($,le,Object.getOwnPropertyDescriptor(X,le))})}return $}var R=function(K){var X;return K instanceof w||!!(K!=null&&K._isAnalyticsEvent)||(K==null||(X=K.constructor)===null||X===void 0?void 0:X.name)==="AnalyticsEvent"},w=function(){function $(K){var X=this;(0,u.Z)(this,$),(0,h.Z)(this,"_isAnalyticsEvent",!0),(0,h.Z)(this,"clone",function(){var le=x({},X.payload);return new $({payload:le})}),this.payload=K.payload}return(0,l.Z)($,[{key:"update",value:function(X){return typeof X=="function"&&(this.payload=X(this.payload)),(0,m.Z)(X)==="object"&&(this.payload=x(x({},this.payload),X)),this}}])}();function j($,K,X){return K=(0,d.Z)(K),(0,v.Z)($,A()?Reflect.construct(K,X||[],(0,d.Z)($).constructor):K.apply($,X))}function A(){try{var $=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(K){}return(A=function(){return!!$})()}function E($,K,X,le){var fe=(0,f.Z)((0,d.Z)(1&le?$.prototype:$),K,X);return 2&le&&typeof fe=="function"?function(ae){return fe.apply(X,ae)}:fe}var I=function(K){var X;return K instanceof z||!!(K!=null&&K._isUIAnalyticsEvent)||(K==null||(X=K.constructor)===null||X===void 0?void 0:X.name)==="UIAnalyticsEvent"},z=function($){function K(X){var le;return(0,u.Z)(this,K),le=j(this,K,[X]),(0,h.Z)(le,"_isUIAnalyticsEvent",!0),(0,h.Z)(le,"clone",function(){if(le.hasFired)return null;var fe=(0,s.Z)(le.context),ae=(0,s.Z)(le.handlers),M=JSON.parse(JSON.stringify(le.payload));return new K({context:fe,handlers:ae,payload:M})}),(0,h.Z)(le,"fire",function(fe){le.hasFired||(le.handlers.forEach(function(ae){return ae(le,fe)}),le.hasFired=!0)}),le.context=X.context||[],le.handlers=X.handlers||[],le.hasFired=!1,le}return(0,g.Z)(K,$),(0,l.Z)(K,[{key:"update",value:function(le){return this.hasFired?this:E(K,"update",this,3)([le])}}])}(w),Z=e(4158);function P(){var $=(0,Z.O)(),K=n(function(X){return new z({context:$.getAtlaskitAnalyticsContext(),handlers:$.getAtlaskitAnalyticsEventHandlers(),payload:X})},[$]);return{createAnalyticsEvent:K}}},8254:(y,t,e)=>{"use strict";e.d(t,{B:()=>u});var o=e(3772),a=e(548),c=e.n(a),n=e(2184),i=e(7914);function r(l,v){var d=Object.keys(l);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(l);v&&(f=f.filter(function(g){return Object.getOwnPropertyDescriptor(l,g).enumerable})),d.push.apply(d,f)}return d}function s(l){for(var v=1;v<arguments.length;v++){var d=arguments[v]!=null?arguments[v]:{};
5v%2?r(Object(d),!0).forEach(function(f){(0,o.Z)(l,f,d[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(d)):r(Object(d)).forEach(function(f){Object.defineProperty(l,f,Object.getOwnPropertyDescriptor(d,f))})}return l}function u(l){var v=l.fn,d=l.action,f=l.componentName,g=l.actionSubject,h=l.packageName,m=l.packageVersion,b=l.analyticsData,x=(0,n._)(),R=x.createAnalyticsEvent,w=(0,i.V)(b),j=(0,i.V)(v),A=(0,a.useCallback)(function(E){var I=R({action:d,actionSubject:g||f,attributes:{componentName:f,packageName:h,packageVersion:m}}),z=s({componentName:f,packageName:h,packageVersion:m},w.current);I.context.push(z);var Z=I.clone();Z&&Z.fire("atlaskit"),j.current(E,I)},[d,f,g,h,m,R,w,j]);return A}},7914:(y,t,e)=>{"use strict";e.d(t,{V:()=>c});var o=e(548),a=e.n(o),c=function(i){var r=(0,o.useRef)(i);return r.current=i,r}},1870:(y,t,e)=>{"use strict";e.d(t,{Z:()=>r});var o=e(548),a=(0,o.createContext)({}),c=function(u){var l=u.routerLinkComponent,v=u.children;return React.createElement(a.Provider,{value:{routerLinkComponent:l}},v)};const n=null;var i=function(){var u=(0,o.useContext)(a),l=u.routerLinkComponent;if(l)return l};const r=i},5843:(y,t,e)=>{"use strict";e.d(t,{Z:()=>er});var o=e(5904),a=e(220),c=e(9231),n=e(548),i=e.n(n),r=e(1517),s=["children"];function u(we){var oe=function(ue,N){return ue(N)},ye=(0,n.createContext)(we);function tt(ce){var ue=(0,n.useContext)(ye),N=ue||oe,q=N(ce);return q}function mt(ce){var ue=ce.children,N=(0,c.Z)(ce,s),q=tt(N);return i().createElement(i().Fragment,null,ue(q))}function Vt(ce){var ue=(0,n.useContext)(ye),N=ce.value||oe,q=(0,n.useCallback)(function(ge){return N(ue,ge)},[ue,N]);return i().createElement(ye.Provider,{value:q},ce.children)}return{Consumer:mt,Provider:Vt,useTheme:tt}}var l=u(function(){return{mode:"light"}}),v=l.Provider,d=l.Consumer,f=l.useTheme,g={Provider:v,Consumer:d};const h=null;var m=e(4570),b=e(8254),x=e(6359),R=2,w=(0,m.iv)({outline:"".concat(R,"px solid ","var(--ds-border-focused, #2684FF)"),outlineOffset:R}),j=(0,m.iv)({outlineColor:"var(--ds-border-focused, #2684FF)",outlineOffset:-R,outlineStyle:"solid",outlineWidth:"var(--ds-border-width-outline, 2px)"}),A=(0,m.iv)({"&:focus":w,"&:focus-visible":w,"&:focus:not(:focus-visible)":{outline:"none"},"@media screen and (forced-colors: active), screen and (-ms-high-contrast: active)":{"&:focus-visible":{outline:"1px solid"}}}),E=(0,m.iv)({"&:focus":j,"&:focus-visible":j,"&:focus:not(:focus-visible)":{outline:"none"},"@media screen and (forced-colors: active), screen and (-ms-high-contrast: active)":{"&:focus-visible":{outline:"1px solid",outlineOffset:"-1px"}}}),I=(0,n.memo)(function(we){var oe=we.children,ye=we.isInset,tt=we.focus,mt=ye?j:w,Vt=ye?E:A,ce=typeof tt=="undefined"?Vt:tt==="on"&&mt;return(0,m.tZ)(m.ms,null,function(ue){var N=ue.css,q=ue.cx;return n.Children.only(ce?(0,n.cloneElement)(oe,{className:q([N(ce),oe.props.className])}):oe)})});I.displayName="FocusRing";const z=I;var Z=e(7172),P=e(3153);function $(we){we.preventDefault(),we.stopPropagation()}var K=9;function X(we){we.keyCode!==K&&$(we)}var le={onMouseDownCapture:$,onMouseUpCapture:$,onKeyDownCapture:X,onKeyUpCapture:X,onTouchStartCapture:$,onTouchEndCapture:$,onPointerDownCapture:$,onPointerUpCapture:$,onClickCapture:$,onClick:$},fe={};function ae(we){var oe=we.isInteractive;return oe?fe:le}var M=e(3772),G=e(736),ke=e(5091),ne="rgba(179, 212, 255, 0.6)",Ee={background:{default:{default:{light:"var(--ds-background-neutral, ".concat(P.os,")"),dark:"var(--ds-background-neutral, ".concat(P.nA,")")},hover:{light:"var(--ds-background-neutral-hovered, ".concat(P.kd,")"),dark:"var(--ds-background-neutral-hovered, ".concat(P.mn,")")},active:{light:"var(--ds-background-neutral-pressed, ".concat(ne,")"),dark:"var(--ds-background-neutral-pressed, ".concat(P.tE,")")},disabled:{light:"var(--ds-background-disabled, ".concat(P.os,")"),dark:"var(--ds-background-disabled, ".concat(P.nA,")")},selected:{light:"var(--ds-background-selected, ".concat(P.TG,")"),dark:"var(--ds-background-selected, ".concat(P.xU,")")},focusSelected:{light:"var(--ds-background-selected, ".concat(P.TG,")"),dark:"var(--ds-background-selected, ".concat(P.xU,")")}},primary:{default:{light:"var(--ds-background-brand-bold, ".concat(P.AX,")"),dark:"var(--ds-background-brand-bold, ".concat(P.vP,")")},hover:{light:"var(--ds-background-brand-bold-hovered, ".concat(P.M5,")"),dark:"var(--ds-background-brand-bold-hovered, ".concat(P.tE,")")},active:{light:"var(--ds-background-brand-bold-pressed, ".concat(P.YC,")"),dark:"var(--ds-background-brand-bold-pressed, ".concat(P.VY,")")},disabled:{light:"var(--ds-background-disabled, ".concat(P.os,")"),dark:"var(--ds-background-disabled, ".concat(P.nA,")")},selected:{light:"var(--ds-background-selected, ".concat(P.TG,")"),dark:"var(--ds-background-selected, ".concat(P.xU,")")},focusSelected:{light:"var(--ds-background-selected, ".concat(P.TG,")"),dark:"var(--ds-background-selected, ".concat(P.xU,")")}},warning:{default:{light:"var(--ds-background-warning-bold, ".concat(P.Z3,")"),dark:"var(--ds-background-warning-bold, ".concat(P.Z3,")")},hover:{light:"var(--ds-background-warning-bold-hovered, ".concat(P.cS,")"),dark:"var(--ds-background-warning-bold-hovered, ".concat(P.cS,")")},active:{light:"var(--ds-background-warning-bold-pressed, ".concat(P.jC,")"),dark:"var(--ds-background-warning-bold-pressed, ".concat(P.jC,")")},disabled:{light:"var(--ds-background-disabled, ".concat(P.os,")"),dark:"var(--ds-background-disabled, ".concat(P.nA,")")},selected:{light:"var(--ds-background-selected, ".concat(P.jC,")"),dark:"var(--ds-background-selected, ".concat(P.jC,")")},focusSelected:{light:"var(--ds-background-selected, ".concat(P.jC,")"),dark:"var(--ds-background-selected, ".concat(P.jC,")")}},danger:{default:{light:"var(--ds-background-danger-bold, ".concat(P.$H,")"),dark:"var(--ds-background-danger-bold, ".concat(P.$H,")")},hover:{light:"var(--ds-background-danger-bold-hovered, ".concat(P.rt,")"),dark:"var(--ds-background-danger-bold-hovered, ".concat(P.rt,")")},active:{light:"var(--ds-background-danger-bold-pressed, ".concat(P.gR,")"),dark:"var(--ds-background-danger-bold-pressed, ".concat(P.gR,")")},disabled:{light:"var(--ds-background-disabled, ".concat(P.os,")"),dark:"var(--ds-background-disabled, ".concat(P.nA,")")},selected:{light:"var(--ds-background-selected, ".concat(P.gR,")"),dark:"var(--ds-background-selected, ".concat(P.gR,")")},focusSelected:{light:"var(--ds-background-selected, ".concat(P.gR,")"),dark:"var(--ds-background-selected, ".concat(P.gR,")")}},link:{default:{light:"var(--ds-background-neutral-subtle, none)",dark:"var(--ds-background-neutral-subtle, none)"},selected:{light:"var(--ds-background-selected, ".concat(P.TG,")"),dark:"var(--ds-background-selected, ".concat(P.IR,")")},focusSelected:{light:"var(--ds-background-selected, ".concat(P.TG,")"),dark:"var(--ds-background-selected, ".concat(P.IR,")")}},subtle:{default:{light:"var(--ds-background-neutral-subtle, none)",dark:"var(--ds-background-neutral-subtle, none)"},hover:{light:"var(--ds-background-neutral-subtle-hovered, ".concat(P.kd,")"),dark:"var(--ds-background-neutral-subtle-hovered, ".concat(P.mn,")")},active:{light:"var(--ds-background-neutral-subtle-pressed, ".concat(ne,")"),dark:"var(--ds-background-neutral-subtle-pressed, ".concat(P.tE,")")},disabled:{light:"var(--ds-background-neutral-subtle, none)",dark:"var(--ds-background-neutral-subtle, none)"},selected:{light:"var(--ds-background-selected, ".concat(P.TG,")"),dark:"var(--ds-background-selected, ".concat(P.xU,")")},focusSelected:{light:"var(--ds-background-selected, ".concat(P.TG,")"),dark:"var(--ds-background-selected, ".concat(P.xU,")")}},"subtle-link":{default:{light:"var(--ds-background-neutral-subtle, none)",dark:"var(--ds-background-neutral-subtle, none)"},selected:{light:"var(--ds-background-selected, ".concat(P.TG,")"),dark:"var(--ds-background-selected, ".concat(P.IR,")")},focusSelected:{light:"var(--ds-background-selected, ".concat(P.TG,")"),dark:"var(--ds-background-selected, ".concat(P.IR,")")}}},color:{default:{default:{light:"var(--ds-text, ".concat(P.Mx,")"),dark:"var(--ds-text, ".concat(P.oe,")")},active:{light:"var(--ds-text, ".concat(P.AX,")"),dark:"var(--ds-text, ".concat(P.AX,")")},disabled:{light:"var(--ds-text-disabled, ".concat(P.n2,")"),dark:"var(--ds-text-disabled, ".concat(P.Dw,")")},selected:{light:"var(--ds-text-selected, ".concat(P.IR,")"),dark:"var(--ds-text-selected, ".concat(P.oe,")")},focusSelected:{light:"var(--ds-text-selected, ".concat(P.IR,")"),dark:"var(--ds-text-selected, ".concat(P.oe,")")}},primary:{default:{light:"var(--ds-text-inverse, ".concat(P.N0,")"),dark:"var(--ds-text-inverse, ".concat(P.Dw,")")},disabled:{light:"var(--ds-text-disabled, ".concat(P.n2,")"),dark:"var(--ds-text-disabled, ".concat(P.Dw,")")},selected:{light:"var(--ds-text-selected, ".concat(P.IR,")"),dark:"var(--ds-text-selected, ".concat(P.oe,")")},focusSelected:{light:"var(--ds-text-selected, ".concat(P.IR,")"),dark:"var(--ds-text-selected, ".concat(P.oe,")")}},warning:{default:{light:"var(--ds-text-warning-inverse, ".concat(P.q2,")"),dark:"var(--ds-text-warning-inverse, ".concat(P.q2,")")},disabled:{light:"var(--ds-text-disabled, ".concat(P.n2,")"),dark:"var(--ds-text-disabled, ".concat(P.Dw,")")},selected:{light:"var(--ds-text-selected, ".concat(P.q2,")"),dark:"var(--ds-text-selected, ".concat(P.q2,")")},focusSelected:{light:"var(--ds-text-selected, ".concat(P.q2,")"),dark:"var(--ds-text-selected, ".concat(P.q2,")")}},danger:{default:{light:"var(--ds-text-inverse, ".concat(P.N0,")"),dark:"var(--ds-text-inverse, ".concat(P.N0,")")},disabled:{light:"var(--ds-text-disabled, ".concat(P.n2,")"),dark:"var(--ds-text-disabled, ".concat(P.Dw,")")},selected:{light:"var(--ds-text-selected, ".concat(P.N0,")"),dark:"var(--ds-text-selected, ".concat(P.N0,")")},focusSelected:{light:"var(--ds-text-selected, ".concat(P.N0,")"),dark:"var(--ds-text-selected, ".concat(P.N0,")")}},link:{default:{light:"var(--ds-link, ".concat(P.AX,")"),dark:"var(--ds-link, ".concat(P.vP,")")},hover:{light:"var(--ds-link, ".concat(P.M5,")"),dark:"var(--ds-link, ".concat(P.tE,")")},active:{light:"var(--ds-link-pressed, ".concat(P.YC,")"),dark:"var(--ds-link-pressed, ".concat(P.VY,")")},disabled:{light:"var(--ds-text-disabled, ".concat(P.n2,")"),dark:"var(--ds-text-disabled, ".concat(P.Sk,")")},selected:{light:"var(--ds-text-selected, ".concat(P.IR,")"),dark:"var(--ds-text-selected, ".concat(P.TG,")")},focusSelected:{light:"var(--ds-text-selected, ".concat(P.IR,")"),dark:"var(--ds-text-selected, ".concat(P.TG,")")}},subtle:{default:{light:"var(--ds-text, ".concat(P.Mx,")"),dark:"var(--ds-text, ".concat(P.oe,")")},active:{light:"var(--ds-text, ".concat(P.AX,")"),dark:"var(--ds-text, ".concat(P.AX,")")},disabled:{light:"var(--ds-text-disabled, ".concat(P.n2,")"),dark:"var(--ds-text-disabled, ".concat(P.Sk,")")},selected:{light:"var(--ds-text-selected, ".concat(P.IR,")"),dark:"var(--ds-text-selected, ".concat(P.oe,")")},focusSelected:{light:"var(--ds-text-selected, ".concat(P.IR,")"),dark:"var(--ds-text-selected, ".concat(P.oe,")")}},"subtle-link":{default:{light:"var(--ds-text-subtle, ".concat(P.iw,")"),dark:"var(--ds-text-subtle, ".concat(P.oe,")")},hover:{light:"var(--ds-text-subtle, ".concat(P.WA,")"),dark:"var(--ds-text-subtle, ".concat(P.BA,")")},active:{light:"var(--ds-text, ".concat(P.zN,")"),dark:"var(--ds-text, ".concat(P.Tx,")")},disabled:{light:"var(--ds-text-disabled, ".concat(P.n2,")"),dark:"var(--ds-text-disabled, ".concat(P.Sk,")")},selected:{light:"var(--ds-text-selected, ".concat(P.IR,")"),dark:"var(--ds-text-selected, ".concat(P.oe,")")},focusSelected:{light:"var(--ds-text-selected, ".concat(P.IR,")"),dark:"var(--ds-text-selected, ".concat(P.oe,")")}}}};const Te=Ee;function Re(we,oe){var ye=Object.keys(we);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(we);oe&&(tt=tt.filter(function(mt){return Object.getOwnPropertyDescriptor(we,mt).enumerable})),ye.push.apply(ye,tt)}return ye}function Fe(we){for(var oe=1;oe<arguments.length;oe++){var ye=arguments[oe]!=null?arguments[oe]:{};
5oe%2?Re(Object(ye),!0).forEach(function(tt){(0,M.Z)(we,tt,ye[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(we,Object.getOwnPropertyDescriptors(ye)):Re(Object(ye)).forEach(function(tt){Object.defineProperty(we,tt,Object.getOwnPropertyDescriptor(ye,tt))})}return we}var rt=(0,ke.ww)(),$e=["default","primary","danger","warning"],dt={default:"".concat(32/14,"em"),compact:"".concat(24/14,"em"),none:"auto"},et={default:dt.default,compact:dt.compact,none:"inherit"},Nt={default:"0 ".concat(rt+rt/4,"px"),compact:"0 ".concat(rt+rt/4,"px"),none:"0"},je={compact:"0 ".concat(rt/4,"px"),default:"0 ".concat(rt/4,"px"),none:"0"},Mt={default:"middle",compact:"middle",none:"baseline"},zt={content:"0 ".concat(rt/4,"px"),icon:"0 ".concat(rt/4,"px")},Tt={borderRadius:"inherit",inset:"var(--ds-space-0, 0px)",borderStyle:"solid",borderWidth:"var(--ds-border-width, 1px)",pointerEvents:"none",position:"absolute"},$t={background:"var(--ds-background-neutral-subtle, #00000000)",color:"var(--ds-text, #172B4D)","&:not([disabled])::after":Fe(Fe({},Tt),{},{content:'""',borderColor:"var(--ds-border, #091E4224)"}),"&:hover":{background:"var(--ds-background-neutral-hovered, #091E4224)"},"&:active":{background:"var(--ds-background-neutral-pressed, #091E424F)"},'&[data-has-overlay="true"]:not([disabled]):hover':{background:"var(--ds-background-neutral-subtle, #00000000)"}},de={background:"var(--ds-background-brand-bold, #0C66E4)",color:"var(--ds-text-inverse, #FFFFFF)","&:hover":{background:"var(--ds-background-brand-bold-hovered, #0055CC)"},"&:active":{background:"var(--ds-background-brand-bold-pressed, #09326C)"},'&[data-has-overlay="true"]:not([disabled]):hover':{background:"var(--ds-background-brand-bold, #0C66E4)"}},ee={background:"transparent",color:"var(--ds-link, #0C66E4)","&:hover":{color:"var(--ds-link, #0C66E4)",textDecoration:"underline"},"&:active":{color:"var(--ds-link-pressed, #0055CC)",textDecoration:"underline"}},_e={background:"transparent",color:"var(--ds-text-subtle, #44546F)","&:hover":{background:"var(--ds-background-neutral-subtle-hovered, #091E420F)"},"&:active":{background:"var(--ds-background-neutral-subtle-pressed, #091E4224)"},'&[data-has-overlay="true"]:not([disabled]):hover':{background:"transparent"}},Pe={background:"transparent",color:"var(--ds-text-subtle, #44546F)","&:hover":{background:"transparent",color:"var(--ds-text-subtle, #44546F)",textDecoration:"underline"},"&:active":{background:"transparent",color:"var(--ds-text, #172B4D)",textDecoration:"underline"}},Ke={background:"var(--ds-background-warning-bold, #F5CD47)",color:"var(--ds-text-warning-inverse, #172B4D)","&:hover":{background:"var(--ds-background-warning-bold-hovered, #E2B203)"},"&:active":{background:"var(--ds-background-warning-bold-pressed, #CF9F02)"},'&[data-has-overlay="true"]:not([disabled]):hover':{background:"var(--ds-background-warning-bold, #F5CD47)"}},Ce={background:"var(--ds-background-danger-bold, #C9372C)",color:"var(--ds-text-inverse, #FFFFFF)","&:hover":{background:"var(--ds-background-danger-bold-hovered, #AE2E24)"},"&:active":{background:"var(--ds-background-danger-bold-pressed, #5D1F1A)"},'&[data-has-overlay="true"]:not([disabled]):hover':{background:"var(--ds-background-danger-bold, #C9372C)"}},Je={background:"var(--ds-background-selected, #E9F2FF)",color:"var(--ds-text-selected, #0C66E4)","&:not([disabled])::after":Fe(Fe({},Tt),{},{content:'""',borderColor:"var(--ds-border-selected, #0C66E4)"})},We={'&[data-has-overlay="true"]':{cursor:"default",textDecoration:"none"}};function It(we){var oe=we.group,ye=we.key,tt=we.mode,mt=oe[ye]||oe.default;return mt[tt]}function Y(we){var oe=we.appearance,ye=we.key,tt=we.mode;return{background:It({group:Te.background[oe],key:ye,mode:tt}),color:"".concat(It({group:Te.color[oe],key:ye,mode:tt})," !important")}}function Ct(we){var oe=we.appearance,ye=we.spacing,tt=we.mode,mt=we.isSelected,Vt=we.shouldFitContainer,ce=we.isOnlySingleIcon,ue=Y({appearance:oe,key:mt?"selected":"default",mode:tt});return Fe(Fe(Fe(Fe({alignItems:"baseline",borderWidth:0,borderRadius:"var(--ds-border-radius, 3px)",boxSizing:"border-box",display:"inline-flex",fontSize:"inherit",fontStyle:"normal",fontFamily:"inherit",fontWeight:"var(--ds-font-weight-medium, 500)",maxWidth:"100%",position:"relative",textAlign:"center",textDecoration:"none",transition:"background 0.1s ease-out, box-shadow 0.15s cubic-bezier(0.47, 0.03, 
50.49, 1.38)",whiteSpace:"nowrap"},!(0,G.fg)("platform-component-visual-refresh")&&ue),{},{cursor:"pointer",height:dt[ye],lineHeight:et[ye],padding:ce?je[ye]:Nt[ye],verticalAlign:Mt[ye],width:Vt?"100%":"auto",justifyContent:"center"},!(0,G.fg)("platform-component-visual-refresh")&&Fe(Fe({"&:visited":Fe({},ue),"&:hover":Fe(Fe({},Y({appearance:oe,key:mt?"selected":"hover",mode:tt})),{},{textDecoration:!mt&&(oe==="link"||oe==="subtle-link")?"underline":"inherit",transitionDuration:"0s, 0.15s"}),"&:active":Fe(Fe({},Y({appearance:oe,key:mt?"selected":"active",mode:tt})),{},{transitionDuration:"0s, 0s"}),'&[data-firefox-is-active="true"]':Fe(Fe({},Y({appearance:oe,key:mt?"selected":"active",mode:tt})),{},{transitionDuration:"0s, 0s"}),"&[disabled]":Fe(Fe({},Y({appearance:oe,key:"disabled",mode:tt})),{},{cursor:"not-allowed",textDecoration:"none"})},We),{},{'&[data-has-overlay="true"]:not([disabled]):hover, &[data-has-overlay="true"]:not([disabled]):active':Fe({},Y({appearance:oe,key:mt?"selected":"default",mode:tt}))})),(0,G.fg)("platform-component-visual-refresh")&&(mt?Je:Fe(Fe(Fe(Fe(Fe(Fe(Fe(Fe({},oe==="default"&&$t),oe==="primary"&&de),oe==="link"&&ee),oe==="subtle"&&_e),oe==="subtle-link"&&Pe),oe==="warning"&&Ke),oe==="danger"&&Ce),{},{"&[disabled]":{color:"var(--ds-text-disabled, #091E424F)",backgroundColor:$e.includes(oe)?"var(--ds-background-disabled, #091E4208)":"transparent",cursor:"not-allowed",textDecoration:"none","&:hovered":{backgroundColor:$e.includes(oe)?"var(--ds-background-disabled, #091E4208)":"transparent"},"&:active":{backgroundColor:$e.includes(oe)?"var(--ds-background-disabled, #091E4208)":"transparent"}}},We))),{},{"&::-moz-focus-inner":{border:0,margin:0,padding:0}})}function jt(we){var oe=we.spacing;return(0,m.iv)({display:"flex",margin:oe==="none"?0:zt.icon,flexGrow:0,flexShrink:0,alignSelf:"center",fontSize:0,lineHeight:0,userSelect:"none"})}function Ft(we){var oe=we.spacing;return(0,m.iv)({margin:oe==="none"?0:zt.content,flexGrow:1,flexShrink:1,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"})}function Rt(we){var oe=we.hasOverlay;return(0,m.iv)({opacity:oe?0:1,transition:"opacity 0.3s"})}var qt={position:"absolute",left:0,top:0,right:0,bottom:0,display:"flex",justifyContent:"center",alignItems:"center"},Ht=e(449),nr=function(oe){return oe&&(0,n.isValidElement)(oe)&&oe.type===Ht.Z},Wt=["analyticsContext","appearance","autoFocus","buttonCss","children","className","href","component","iconAfter","iconBefore","interactionName","isDisabled","isSelected","onBlur","onClick","onFocus","onMouseDown","overlay","shouldFitContainer","spacing","tabIndex","type","testId"],_t={"> *":{pointerEvents:"none"}},Jt=(0,m.iv)({"--ds--button--new-icon-padding-end":"var(--ds-space-025, 2px)","--ds--button--new-icon-padding-start":"var(--ds-space-050, 4px)",marginInlineStart:"var(--ds-space-negative-025, -2px)"}),se=(0,m.iv)({"--ds--button--new-icon-padding-end":"var(--ds-space-050, 4px)","--ds--button--new-icon-padding-start":"var(--ds-space-025, 2px)",marginInlineEnd:"var(--ds-space-negative-025, -2px)"}),Be=function(oe,ye){return!oe||nr(oe)?null:ye},Ve=function(oe,ye){return nr(oe)?oe:oe?(0,m.tZ)("span",{css:ye},oe):null},Ie=i().forwardRef(function(oe,ye){var tt=oe.analyticsContext,mt=oe.appearance,Vt=mt===void 0?"default":mt,ce=oe.autoFocus,ue=ce===void 0?!1:ce,N=oe.buttonCss,q=oe.children,ge=oe.className,be=oe.href,Ne=oe.component,Ye=Ne===void 0?be?"a":"button":Ne,He=oe.iconAfter,ze=oe.iconBefore,Ge=oe.interactionName,yt=oe.isDisabled,ht=yt===void 0?!1:yt,Et=oe.isSelected,At=Et===void 0?!1:Et,St=oe.onBlur,vt=oe.onClick,tr=vt===void 0?r.Z:vt,fr=oe.onFocus,ir=oe.onMouseDown,Yt=ir===void 0?r.Z:ir,sr=oe.overlay,Xt=oe.shouldFitContainer,vr=oe.spacing,gr=vr===void 0?"default":vr,cr=oe.tabIndex,U=cr===void 0?0:cr,D=oe.type,p=D===void 0?be?void 0:"button":D,k=oe.testId,T=(0,c.Z)(oe,Wt),V=(0,n.useRef)(),W=(0,n.useCallback)(function(st){if(V.current=st,ye!=null){if(typeof ye=="function"){ye(st);return}ye.current=st}},[V,ye]);(0,x.Z)(V,ue);var H=(0,n.useContext)(Z.Z),J=(0,n.useCallback)(function(st,wt){H&&H.tracePress(Ge,st.timeStamp),tr(st,wt)},[tr,H,Ge]),ie=(0,b.B)({fn:J,action:"clicked",componentName:"button",packageName:"@atlaskit/button",packageVersion:"23.2.7",analyticsData:tt}),De=(0,n.useCallback)(function(st){st.preventDefault(),Yt(st)},[Yt]);(0,n.useEffect)(function(){var st=V.current;ht&&st&&st===document.activeElement&&st.blur()},[ht]);var Le=!!sr,Ue=(0,m.iv)(Rt({hasOverlay:Le})),at=!ht&&!Le,pt={};return(At||ht||Vt==="warning")&&(pt={"[data-theme] & circle":{stroke:"".concat(At||ht?"var(--ds-icon-subtle, ".concat(P.Mx,")"):"var(--ds-icon-warning-inverse, ".concat(P.Mx,")")," !important")}}),(0,m.tZ)(z,null,(0,m.tZ)(Ye,(0,o.Z)({},T,{ref:W,className:ge,css:[N,at?null:_t],"data-has-overlay":Le?!0:void 0,"data-testid":k,disabled:ht,href:at?be:void 0,onBlur:St,onClick:ie,onFocus:fr,onMouseDown:De,tabIndex:ht?-1:U,type:p}
5,ae({isInteractive:at})),ze?(0,m.tZ)("span",{css:[Ue,jt({spacing:gr}),Be(q,Jt)]},ze):null,Ve(q,[Ue,Ft({spacing:gr})]),He?(0,m.tZ)("span",{css:[Ue,jt({spacing:gr}),Be(q,se)]},He):null,sr?(0,m.tZ)("span",{css:[qt,pt]},sr):null))});const Oe=Ie;function xe(we){var oe=we.children,ye=we.iconBefore,tt=we.iconAfter;return nr(oe)?!0:oe?!1:!!(ye&&!tt||!ye&&tt)}var ct=["appearance","children","iconBefore","iconAfter","isSelected","onMouseDown","onMouseUp","shouldFitContainer","spacing"],lt=typeof navigator!="undefined"&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1,ut=i().memo(i().forwardRef(function(oe,ye){var tt=oe.appearance,mt=tt===void 0?"default":tt,Vt=oe.children,ce=oe.iconBefore,ue=oe.iconAfter,N=oe.isSelected,q=N===void 0?!1:N,ge=oe.onMouseDown,be=ge===void 0?r.Z:ge,Ne=oe.onMouseUp,Ye=Ne===void 0?r.Z:Ne,He=oe.shouldFitContainer,ze=He===void 0?!1:He,Ge=oe.spacing,yt=Ge===void 0?"default":Ge,ht=(0,c.Z)(oe,ct),Et=f(),At=Et.mode,St=xe({children:Vt,iconBefore:ce,iconAfter:ue}),vt=(0,n.useState)(!1),tr=(0,a.Z)(vt,2),fr=tr[0],ir=tr[1],Yt=(0,n.useCallback)(function(vr){be(vr),lt&&ir(!0)},[be,ir]),sr=(0,n.useCallback)(function(vr){Ye(vr),lt&&ir(!1)},[Ye,ir]),Xt=(0,n.useMemo)(function(){return Ct({appearance:mt,spacing:yt,mode:At,isSelected:q,shouldFitContainer:ze,isOnlySingleIcon:St})},[mt,yt,At,q,ze,St]);return i().createElement(Oe,(0,o.Z)({},ht,{ref:ye,appearance:mt,buttonCss:Xt,children:Vt,"data-firefox-is-active":fr?!0:void 0,iconAfter:ue,iconBefore:ce,isSelected:q,onMouseDown:Yt,onMouseUp:sr,spacing:yt}))}));ut.displayName="Button";const er=ut},6359:(y,t,e)=>{"use strict";e.d(t,{Z:()=>c});var o=e(548),a=e.n(o);function c(n,i){var r=(0,o.useRef)(!0);(0,o.useEffect)(function(){n&&r.current&&i&&n.current&&n.current.focus(),r.current=!1},[i,n])}},1517:(y,t,e)=>{"use strict";e.d(t,{Z:()=>o});function o(){}},1908:(y,t,e)=>{"use strict";e.d(t,{Z:()=>c});var o=e(548),a=e.n(o),c=(0,o.createContext)(void 0)},1868:(y,t,e)=>{"use strict";e.d(t,{Z:()=>A});var o=e(3772),a=e(220),c=e(6872),n=e(548),i=e(4569),r=e(2357),s=e(1908),u=e(5254),l=null,v=function(I){var z=I.children,Z=I.htmlFor,P=I.id,$=I.testId;return n.createElement("label",{id:P,htmlFor:Z,"data-testid":$,className:(0,i.Z)(["_11c8dcr7 _1e0c1o8l _syaz1gjq _k48pmoej _6rth1b66 _1pfhze3t"])},z)},d=function(I){var z=I.children;return React.createElement("legend",{className:ax(["_11c8dcr7 _1e0c1o8l _syaz1gjq _k48pmoej _6rth1b66 _1pfhze3t"])},z)},f=null;function g(){return n.createElement("span",{"aria-hidden":"true",title:"required",className:(0,i.Z)(["_syaz1ick _ect41gqc _bozgv77o"])},"*")}function h(E,I){var z=Object.keys(E);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(E);I&&(Z=Z.filter(function(P){return Object.getOwnPropertyDescriptor(E,P).enumerable})),z.push.apply(z,Z)}return z}function m(E){for(var I=1;I<arguments.length;I++){var z=arguments[I]!=null?arguments[I]:{};I%2?h(Object(z),!0).forEach(function(Z){(0,o.Z)(E,Z,z[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(E,Object.getOwnPropertyDescriptors(z)):h(Object(z)).forEach(function(Z){Object.defineProperty(E,Z,Object.getOwnPropertyDescriptor(z,Z))})}return E}var b=null;function x(E){return!!(E&&E.target)}function R(E){return typeof E=="function"}function w(E){var I=(0,n.useRef)(E);return(0,n.useEffect)(function(){I.current=E}),I}function j(E,I){return E===I||typeof E=="function"&&typeof I=="function"?!0:Array.isArray(E)&&Array.isArray(I)||(0,c.Z)(E)==="object"&&(0,c.Z)(I)==="object"?JSON.stringify(E)===JSON.stringify(I):!1}function A(E){var I,z=(0,n.useContext)(u.q3),Z=z.registerField,P=z.getCurrentValue,$=(0,n.useContext)(u.Zd)||E.isDisabled||!1,K=R(E.defaultValue)?E.defaultValue():E.defaultValue,X=w(E),le=!j(X.current.defaultValue,E.defaultValue),fe=(0,n.useState)({fieldProps:{onChange:function(){},onBlur:function(){},onFocus:function(){},value:le?K:(I=P(E.name))!==null&&I!==void 0?I:K},error:void 0,valid:!1,meta:{dirty:!1,dirtySinceLastSubmit:!1,touched:!1,valid:!1,validating:!1,submitting:!1,submitFailed:!1,error:void 0,submitError:void 0}}),ae=(0,a.Z)(fe,2),M=ae[0],G=ae[1],ke=w(M);(0,n.useEffect)(function(){function Fe(){var $e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{dirty:$e.dirty||!1,dirtySinceLastSubmit:$e.dirtySinceLastSubmit||!1,touched:$e.touched||!1,valid:$e.valid||!1,submitting:$e.submitting||!1,submitFailed:$e.submitFailed||!1,error:$e.error,submitError:$e.submitError,validating:!!$e.validating}}var rt=Z(X.current.name,le||R(X.current.defaultValue)?X.current.defaultValue:ke.current.fieldProps.value,function($e){var dt=$e.submitting?ke.current.meta.dirtySinceLastSubmit:$e.dirtySinceLastSubmit,et=$e.submitting?ke.current.meta.submitFailed:$e.submitFailed,Nt=dt&&X.current.validate?void 0:$e.submitError,je=Nt||($e.touched||$e.dirty)&&$e.error,Mt=et?je===void 0:$e.valid;function zt(Tt,$t){if(X.current.transform)return X.current.transform(Tt,$t);if(x(Tt)){var de=Tt.currentTarget;if(de.type==="checkbox")return de.checked?de.value||!0:de.value?void 0:!1;if(de)return de.value}else return Tt}
5G({fieldProps:{onChange:function($t){$e.change(zt($t,$e.value))},onBlur:$e.blur,onFocus:$e.focus,value:$e.value},error:je||void 0,valid:Mt||!1,meta:Fe($e)})},{dirty:!0,dirtySinceLastSubmit:!0,touched:!0,valid:!0,submitting:!0,submitFailed:!0,value:!0,error:!0,submitError:!0,validating:!0},{getValidator:function(){return function(et,Nt,je){var Mt=X.current.validate;if(Mt&&je)return Mt(et,Nt,Fe(je))}}});return rt},[X,ke,Z,E.name,le]);var ne=(0,r.Me)(),Ee=(0,n.useMemo)(function(){return E.id?E.id:"".concat(E.name,"-").concat(ne)},[E.id,E.name,ne]),Te=function(){var rt="";return M.error&&(rt+="".concat(Ee,"-error ")),M.valid&&(rt+="".concat(Ee,"-valid ")),"".concat(rt).concat(Ee,"-helper")},Re=m(m({},M.fieldProps),{},{name:E.name,isDisabled:$,isInvalid:!!M.error,isRequired:!!E.isRequired,"aria-invalid":M.error?"true":"false","aria-describedby":Te(),"aria-labelledby":"".concat(Ee,"-label"),id:Ee});return n.createElement("div",{"data-testid":E.testId,className:(0,i.Z)(["_1pfhu2gc"])},E.label&&n.createElement(v,{htmlFor:Ee,id:"".concat(Ee,"-label"),testId:E.testId&&"".concat(E.testId,"--label")},E.label,E.isRequired&&n.createElement(g,null),E.elementAfterLabel),n.createElement(s.Z.Provider,{value:Ee},E.children({fieldProps:Re,error:M.error,valid:M.valid,meta:M.meta})))}},5254:(y,t,e)=>{"use strict";e.d(t,{q3:()=>zt,Zd:()=>Tt,ZP:()=>$t});var o=e(220),a=e(548),c=e.n(a),n=e(5904),i=e(9047),r=46,s=/\\(\\)?/g,u=RegExp(`[^.[\\]]+|\\[(?:([^"'][^[]*)|(["'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))`,"g"),l=function(ee){var _e=[];return ee.charCodeAt(0)===r&&_e.push(""),ee.replace(u,function(Pe,Ke,Ce,Je){var We=Pe;Ce?We=Je.replace(s,"$1"):Ke&&(We=Ke.trim()),_e.push(We)}),_e},v={},d=/[.[\]]+/,f=function(ee){if(ee==null||!ee.length)return[];if(typeof ee!="string")throw new Error("toPath() expects a string");return v[ee]==null&&(ee.endsWith("[]")?v[ee]=ee.split(d).filter(Boolean):v[ee]=l(ee)),v[ee]},g=function(ee,_e){for(var Pe=f(_e),Ke=ee,Ce=0;Ce<Pe.length;Ce++){var Je=Pe[Ce];if(Ke==null||typeof Ke!="object"||Array.isArray(Ke)&&isNaN(Je))return;Ke=Ke[Je]}return Ke};function h(de){var ee=m(de,"string");return typeof ee=="symbol"?ee:String(ee)}function m(de,ee){if(typeof de!="object"||de===null)return de;var _e=de[Symbol.toPrimitive];if(_e!==void 0){var Pe=_e.call(de,ee||"default");if(typeof Pe!="object")return Pe;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ee==="string"?String:Number)(de)}var b=function de(ee,_e,Pe,Ke,Ce){if(_e>=Pe.length)return Ke;var Je=Pe[_e];if(isNaN(Je)){var We;if(ee==null){var It,Y=de(void 0,_e+1,Pe,Ke,Ce);return Y===void 0?void 0:(It={},It[Je]=Y,It)}if(Array.isArray(ee))throw new Error("Cannot set a non-numeric property on an array");var Ct=de(ee[Je],_e+1,Pe,Ke,Ce);if(Ct===void 0){var jt=Object.keys(ee).length;if(ee[Je]===void 0&&jt===0)return;if(ee[Je]!==void 0&&jt<=1)return!isNaN(Pe[_e-1])&&!Ce?{}:void 0;ee[Je];var Ft=(0,i.Z)(ee,[Je].map(h));return Ft}return(0,n.Z)({},ee,(We={},We[Je]=Ct,We))}var Rt=Number(Je);if(ee==null){var qt=de(void 0,_e+1,Pe,Ke,Ce);if(qt===void 0)return;var Ht=[];return Ht[Rt]=qt,Ht}if(!Array.isArray(ee))throw new Error("Cannot set a numeric property on an object");var nr=ee[Rt],Wt=de(nr,_e+1,Pe,Ke,Ce),_t=[].concat(ee);if(Ce&&Wt===void 0){if(_t.splice(Rt,1),_t.length===0)return}else _t[Rt]=Wt;return _t},x=function(ee,_e,Pe,Ke){if(Ke===void 0&&(Ke=!1),ee==null)throw new Error("Cannot call setIn() with "+String(ee)+" state");if(_e==null)throw new Error("Cannot call setIn() with "+String(_e)+" key");return b(ee,0,f(_e),Pe,Ke)},R="FINAL_FORM/form-error",w="FINAL_FORM/array-error";function j(de,ee){var _e=de.errors,Pe=de.initialValues,Ke=de.lastSubmittedValues,Ce=de.submitErrors,Je=de.submitFailed,We=de.submitSucceeded,It=de.submitting,Y=de.values,Ct=ee.active,jt=ee.blur,Ft=ee.change,Rt=ee.data,qt=ee.focus,Ht=ee.modified,nr=ee.modifiedSinceLastSubmit,Wt=ee.name,_t=ee.touched,Jt=ee.validating,se=ee.visited,Be=g(Y,Wt),Ve=g(_e,Wt);Ve&&Ve[w]&&(Ve=Ve[w]);var Ie=Ce&&g(Ce,Wt),Oe=Pe&&g(Pe,Wt),xe=ee.isEqual(Oe,Be),ct=!!(Ke&&!ee.isEqual(g(Ke,Wt),Be)),lt=!Ve&&!Ie;return{active:Ct,blur:jt,change:Ft,data:Rt,dirty:!xe,dirtySinceLastSubmit:ct,error:Ve,focu
5s:qt,initial:Oe,invalid:!lt,length:Array.isArray(Be)?Be.length:void 0,modified:Ht,modifiedSinceLastSubmit:nr,name:Wt,pristine:xe,submitError:Ie,submitFailed:Je,submitSucceeded:We,submitting:It,touched:_t,valid:lt,value:Be,visited:se,validating:Jt}}var A=["active","data","dirty","dirtySinceLastSubmit","error","initial","invalid","length","modified","modifiedSinceLastSubmit","pristine","submitError","submitFailed","submitSucceeded","submitting","touched","valid","value","visited","validating"],E=function(ee,_e){if(ee===_e)return!0;if(typeof ee!="object"||!ee||typeof _e!="object"||!_e)return!1;var Pe=Object.keys(ee),Ke=Object.keys(_e);if(Pe.length!==Ke.length)return!1;for(var Ce=Object.prototype.hasOwnProperty.bind(_e),Je=0;Je<Pe.length;Je++){var We=Pe[Je];if(!Ce(We)||ee[We]!==_e[We])return!1}return!0};function I(de,ee,_e,Pe,Ke,Ce){var Je=!1;return Ke.forEach(function(We){Pe[We]&&(de[We]=ee[We],(!_e||(~Ce.indexOf(We)?!E(ee[We],_e[We]):ee[We]!==_e[We]))&&(Je=!0))}),Je}var z=["data"],Z=function(ee,_e,Pe,Ke){var Ce={blur:ee.blur,change:ee.change,focus:ee.focus,name:ee.name},Je=I(Ce,ee,_e,Pe,A,z)||!_e;return Je||Ke?Ce:void 0},P=["active","dirty","dirtyFields","dirtyFieldsSinceLastSubmit","dirtySinceLastSubmit","error","errors","hasSubmitErrors","hasValidationErrors","initialValues","invalid","modified","modifiedSinceLastSubmit","pristine","submitting","submitError","submitErrors","submitFailed","submitSucceeded","touched","valid","validating","values","visited"],$=["touched","visited"];function K(de,ee,_e,Pe){var Ke={},Ce=I(Ke,de,ee,_e,P,$)||!ee;return Ce||Pe?Ke:void 0}var X=function(ee){var _e,Pe;return function(){for(var Ke=arguments.length,Ce=new Array(Ke),Je=0;Je<Ke;Je++)Ce[Je]=arguments[Je];return(!_e||Ce.length!==_e.length||Ce.some(function(We,It){return!E(_e[It],We)}))&&(_e=Ce,Pe=ee.apply(void 0,Ce)),Pe}},le=function(de){return!!de&&(typeof de=="object"||typeof de=="function")&&typeof de.then=="function"},fe="4.20.10",ae=null,M=function(ee,_e){return ee===_e},G=function de(ee){return Object.keys(ee).some(function(_e){var Pe=ee[_e];return Pe&&typeof Pe=="object"&&!(Pe instanceof Error)?de(Pe):typeof Pe!="undefined"})};function ke(de){var ee=de.active,_e=de.dirtySinceLastSubmit,Pe=de.modifiedSinceLastSubmit,Ke=de.error,Ce=de.errors,Je=de.initialValues,We=de.pristine,It=de.submitting,Y=de.submitFailed,Ct=de.submitSucceeded,jt=de.submitError,Ft=de.submitErrors,Rt=de.valid,qt=de.validating,Ht=de.values;return{active:ee,dirty:!We,dirtySinceLastSubmit:_e,modifiedSinceLastSubmit:Pe,error:Ke,errors:Ce,hasSubmitErrors:!!(jt||Ft&&G(Ft)),hasValidationErrors:!!(Ke||G(Ce)),invalid:!Rt,initialValues:Je,pristine:We,submitting:It,submitFailed:Y,submitSucceeded:Ct,submitError:jt,submitErrors:Ft,valid:Rt,validating:qt>0,values:Ht}}function ne(de,ee,_e,Pe,Ke,Ce){var Je=Ke(_e,Pe,ee,Ce);return Je?(de(Je),!0):!1}function Ee(de,ee,_e,Pe,Ke){var Ce=de.entries;Object.keys(Ce).forEach(function(Je){var We=Ce[Number(Je)];if(We){var It=We.subscription,Y=We.subscriber,Ct=We.notified;ne(Y,It,ee,_e,Pe,Ke||!Ct)&&(We.notified=!0)}})}function Te(de){if(!de)throw new Error("No config specified");var ee=de.debug,_e=de.destroyOnUnregister,Pe=de.keepDirtyOnReinitialize,Ke=de.initialValues,Ce=de.mutators,Je=de.onSubmit,We=de.validate,It=de.validateOnBlur;if(!Je)throw new Error("No onSubmit function specified");var Y={subscribers:{index:0,entries:{}},fieldSubscribers:{},fields:{},formState:{asyncErrors:{},dirtySinceLastSubmit:!1,modifiedSinceLastSubmit:!1,errors:{},initialValues:Ke&&(0,n.Z)({},Ke),invalid:!1,pristine:!0,submitting:!1,submitFailed:!1,submitSucceeded:!1,resetWhileSubmitting:!1,valid:!0,validating:0,values:Ke?(0,n.Z)({},Ke):{}},lastFormState:void 0},Ct=0,jt=!1,Ft=!1,Rt=!1,qt=0,Ht={},nr=function(N){return function(q){return delete Ht[N],q}},Wt=function(N,q,ge){var be=g(N.formState.values,q),Ne=ge(be);N.formState.values=x(N.formState.values,q,Ne)||{}},_t=function(N,q,ge){if(N.fields[q]){var be,Ne;N.fields=(0,n.Z)({},N.fields,(be={},be[ge]=(0,n.Z)({},N.fields[q],{name:ge,blur:function(){return ce.blur(ge)},change:function(ze){return ce.change(ge,ze)}
5,focus:function(){return ce.focus(ge)},lastFieldState:void 0}),be)),delete N.fields[q],N.fieldSubscribers=(0,n.Z)({},N.fieldSubscribers,(Ne={},Ne[ge]=N.fieldSubscribers[q],Ne)),delete N.fieldSubscribers[q];var Ye=g(N.formState.values,q);N.formState.values=x(N.formState.values,q,void 0)||{},N.formState.values=x(N.formState.values,ge,Ye),delete N.lastFormState}},Jt=function(N){return function(){if(Ce){for(var q={formState:Y.formState,fields:Y.fields,fieldSubscribers:Y.fieldSubscribers,lastFormState:Y.lastFormState},ge=arguments.length,be=new Array(ge),Ne=0;Ne<ge;Ne++)be[Ne]=arguments[Ne];var Ye=Ce[N](be,q,{changeValue:Wt,getIn:g,renameField:_t,resetFieldState:ce.resetFieldState,setIn:x,shallowEqual:E});return Y.formState=q.formState,Y.fields=q.fields,Y.fieldSubscribers=q.fieldSubscribers,Y.lastFormState=q.lastFormState,Oe(void 0,function(){xe(),ye()}),Ye}}},se=Ce?Object.keys(Ce).reduce(function(ue,N){return ue[N]=Jt(N),ue},{}):{},Be=function(N){var q=[];if(We){var ge=We((0,n.Z)({},Y.formState.values));le(ge)?q.push(ge.then(function(be){return N(be,!0)})):N(ge,!1)}return q},Ve=function(N){return Object.keys(N.validators).reduce(function(q,ge){var be=N.validators[Number(ge)]();return be&&q.push(be),q},[])},Ie=function(N,q){var ge=[],be=Ve(N);if(be.length){var Ne;be.forEach(function(Ye){var He=Ye(g(Y.formState.values,N.name),Y.formState.values,Ye.length===0||Ye.length===3?j(Y.formState,Y.fields[N.name]):void 0);if(He&&le(He)){N.validating=!0;var ze=He.then(function(Ge){Y.fields[N.name]&&(Y.fields[N.name].validating=!1,q(Ge))});ge.push(ze)}else Ne||(Ne=He)}),q(Ne)}return ge},Oe=function(N,q){if(jt){Ft=!0,q();return}var ge=Y.fields,be=Y.formState,Ne=(0,n.Z)({},ge),Ye=Object.keys(Ne);if(!We&&!Ye.some(function(Yt){return Ve(Ne[Yt]).length})){q();return}
5var He=!1;if(N){var ze=Ne[N];if(ze){var Ge=ze.validateFields;Ge&&(He=!0,Ye=Ge.length?Ge.concat(N):[N])}}var yt={},ht={},Et={},At=[].concat(Be(function(Yt,sr){sr?ht=Yt||{}:yt=Yt||{}}),Ye.reduce(function(Yt,sr){return Yt.concat(Ie(ge[sr],function(Xt){Et[sr]=Xt}))},[])),St=At.length>0,vt=++qt,tr=Promise.all(At).then(nr(vt));St&&(Ht[vt]=tr);var fr=function(sr){var Xt=(0,n.Z)({},He?be.errors:{},yt,sr?ht:be.asyncErrors),vr=function(cr){Ye.forEach(function(U){if(ge[U]){var D=g(yt,U),p=g(Xt,U),k=Ve(Ne[U]).length,T=Et[U];cr(U,k&&T||We&&D||(!D&&!He?p:void 0))}})};vr(function(gr,cr){Xt=x(Xt,gr,cr)||{}}),vr(function(gr,cr){if(cr&&cr[w]){var U=g(Xt,gr),D=[].concat(U);D[w]=cr[w],Xt=x(Xt,gr,D)}}),E(be.errors,Xt)||(be.errors=Xt),sr&&(be.asyncErrors=ht),be.error=yt[R]};if(St&&(Y.formState.validating++,q()),fr(!1),q(),St){var ir=function(){Y.formState.validating--,q(),Y.formState.validating===0&&Y.lastFormState.validating&&ye()};tr.then(function(){qt>vt||fr(!0)}).then(ir,ir)}},xe=function(N){if(!Ct){var q=Y.fields,ge=Y.fieldSubscribers,be=Y.formState,Ne=(0,n.Z)({},q),Ye=function(ze){var Ge=Ne[ze],yt=j(be,Ge),ht=Ge.lastFieldState;Ge.lastFieldState=yt;var Et=ge[ze];Et&&Ee(Et,yt,ht,Z,ht===void 0)};N?Ye(N):Object.keys(Ne).forEach(Ye)}},ct=function(){Object.keys(Y.fields).forEach(function(N){Y.fields[N].touched=!0})},lt=function(){return!!(Y.formState.error||G(Y.formState.errors))},ut=function(){var N=Y.fields,q=Y.formState,ge=Y.lastFormState,be=(0,n.Z)({},N),Ne=Object.keys(be),Ye=!1,He=Ne.reduce(function(St,vt){var tr=!be[vt].isEqual(g(q.values,vt),g(q.initialValues||{},vt));return tr&&(Ye=!0,St[vt]=!0),St},{}),ze=Ne.reduce(function(St,vt){var tr=q.lastSubmittedValues||{};return be[vt].isEqual(g(q.values,vt),g(tr,vt))||(St[vt]=!0),St},{});q.pristine=!Ye,q.dirtySinceLastSubmit=!!(q.lastSubmittedValues&&Object.values(ze).some(function(St){return St})),q.modifiedSinceLastSubmit=!!(q.lastSubmittedValues&&Object.keys(be).some(function(St){return be[St].modifiedSinceLastSubmit})),q.valid=!q.error&&!q.submitError&&!G(q.errors)&&!(q.submitErrors&&G(q.submitErrors));var Ge=ke(q),yt=Ne.reduce(function(St,vt){return St.modified[vt]=be[vt].modified,St.touched[vt]=be[vt].touched,St.visited[vt]=be[vt].visited,St},{modified:{},touched:{},visited:{}}),ht=yt.modified,Et=yt.touched,At=yt.visited;return Ge.dirtyFields=ge&&E(ge.dirtyFields,He)?ge.dirtyFields:He,Ge.dirtyFieldsSinceLastSubmit=ge&&E(ge.dirtyFieldsSinceLastSubmit,ze)?ge.dirtyFieldsSinceLastSubmit:ze,Ge.modified=ge&&E(ge.modified,ht)?ge.modified:ht,Ge.touched=ge&&E(ge.touched,Et)?ge.touched:Et,Ge.visited=ge&&E(ge.visited,At)?ge.visited:At,ge&&E(ge,Ge)?ge:Ge},er=function(){return ee&&!0&&ee(ut(),Object.keys(Y.fields).reduce(function(N,q){return N[q]=Y.fields[q],N},{}))},we=!1,oe=!1,ye=function ue(){if(we)oe=!0;else{if(we=!0,er(),!Ct&&!(jt&&Rt)){var N=Y.lastFormState,q=ut();q!==N&&(Y.lastFormState=q,Ee(Y.subscribers,q,N,K))}we=!1,oe&&(oe=!1,ue())}},tt=function(){return Object.keys(Y.fields).some(function(N){return Y.fields[N].beforeSubmit&&Y.fields[N].beforeSubmit()===!1})},mt=function(){return Object.keys(Y.fields).forEach(function(N){return Y.fields[N].afterSubmit&&Y.fields[N].afterSubmit()})},Vt=function(){return Object.keys(Y.fields).forEach(function(N){return Y.fields[N].modifiedSinceLastSubmit=!1})};Oe(void 0,function(){ye()});var ce={batch:function(N){Ct++,N(),Ct--,xe(),ye()},blur:function(N){var q=Y.fields,ge=Y.formState,be=q[N];be&&(delete ge.active,q[N]=(0,n.Z)({},be,{active:!1,touched:!0}),It?Oe(N,function(){xe(),ye()}):(xe(),ye()))},change:function(N,q){var ge=Y.fields,be=Y.formState;if(g(be.values,N)!==q){Wt(Y,N,function(){return q});var Ne=ge[N];Ne&&(ge[N]=(0,n.Z)({},Ne,{modified:!0,modifiedSinceLastSubmit:!!be.lastSubmittedValues})),It?(xe(),ye()):Oe(N,function(){xe(),ye()})}},get destroyOnUnregister(){return!!_e},set destroyOnUnregister(ue){_e=ue},focus:function(N){var q=Y.fields[N];q&&!q.active&&(Y.formState.active=N,q.active=!0,q.visited=!0,xe(),ye())},mutators:se,getFieldState:function(N){var q=Y.fields[N];return q&&q.lastFieldState},getRegisteredFields:function(){return Object.keys(Y.fields)},getState:function(){return ut()},initialize:function(N){var q=Y.fields,ge=Y.formState,be=(0,n.Z)({},q),Ne=typeof N=="function"?N(ge.values):N;Pe||(ge.values=Ne);var Ye=Pe?Object.keys(be).reduce(function(He,ze){var Ge=be[ze],yt=Ge.isEqual(g(ge.values,ze),g(ge.initialValues||{},ze));return yt||(He[ze]=g(ge.values,ze)),He},{}):{};ge.initialValues=Ne,ge.values=Ne,Object.keys(Ye).forEach(function(He){ge.values=x(ge.values,He,Ye[He])||{}}),Oe(void 0,function(){xe(),ye()})},isValidationPaused:function(){return jt},pauseValidation:function(N){N===void 0&&(N=!0),jt=!0,Rt=N},registerField:function(N,q,ge,be){ge===void 0&&(ge={}),Y.fieldSubscribers[N]||(Y.fieldSubscribers[N]={index:0,entries:{}});var Ne=Y.fieldSubscribers[N].index++;Y.fieldSubscribers[N].entries[Ne]={subscriber:X(q),subscription:ge,notified:!1};var Ye=Y.fields[N]||{active:!1,afterSubmit:be&&be.afterSubmit,beforeSubmit:be&&be.beforeSubmit,data:be&&be.data||{},isEqual:be&&be.isEqual||M,lastFieldState:void 0,modified:!1,modifiedSinceLastSubmit:!1,name:N,touched:!1,valid:!0,validateFields:be&&be.validateFields,validators:{},validating:!1,visited:!1};Ye.blur=Ye.blur||function(){return ce.blur(N)},Ye.change=Ye.change||function(ht){return ce.change(N,ht)}
5,Ye.focus=Ye.focus||function(){return ce.focus(N)},Y.fields[N]=Ye;var He=!1,ze=be&&be.silent,Ge=function(){ze&&Y.fields[N]?xe(N):(ye(),xe())};if(be){He=!!(be.getValidator&&be.getValidator()),be.getValidator&&(Y.fields[N].validators[Ne]=be.getValidator);var yt=g(Y.formState.values,N)===void 0;be.initialValue!==void 0&&(yt||g(Y.formState.values,N)===g(Y.formState.initialValues,N))&&(Y.formState.initialValues=x(Y.formState.initialValues||{},N,be.initialValue),Y.formState.values=x(Y.formState.values,N,be.initialValue),Oe(void 0,Ge)),be.defaultValue!==void 0&&be.initialValue===void 0&&g(Y.formState.initialValues,N)===void 0&&yt&&(Y.formState.values=x(Y.formState.values,N,be.defaultValue))}return He?Oe(void 0,Ge):Ge(),function(){var ht=!1;Y.fields[N]&&(ht=!!(Y.fields[N].validators[Ne]&&Y.fields[N].validators[Ne]()),delete Y.fields[N].validators[Ne]);var Et=!!Y.fieldSubscribers[N];Et&&delete Y.fieldSubscribers[N].entries[Ne];var At=Et&&!Object.keys(Y.fieldSubscribers[N].entries).length;At&&(delete Y.fieldSubscribers[N],delete Y.fields[N],ht&&(Y.formState.errors=x(Y.formState.errors,N,void 0)||{}),_e&&(Y.formState.values=x(Y.formState.values,N,void 0,!0)||{})),ze||(ht?Oe(void 0,function(){ye(),xe()}):At&&ye())}},reset:function(N){N===void 0&&(N=Y.formState.initialValues),Y.formState.submitting&&(Y.formState.resetWhileSubmitting=!0),Y.formState.submitFailed=!1,Y.formState.submitSucceeded=!1,delete Y.formState.submitError,delete Y.formState.submitErrors,delete Y.formState.lastSubmittedValues,ce.initialize(N||{})},resetFieldState:function(N){Y.fields[N]=(0,n.Z)({},Y.fields[N],{active:!1,lastFieldState:void 0,modified:!1,touched:!1,valid:!0,validating:!1,visited:!1}),Oe(void 0,function(){xe(),ye()})},restart:function(N){N===void 0&&(N=Y.formState.initialValues),ce.batch(function(){for(var q in Y.fields)ce.resetFieldState(q),Y.fields[q]=(0,n.Z)({},Y.fields[q],{active:!1,lastFieldState:void 0,modified:!1,modifiedSinceLastSubmit:!1,touched:!1,valid:!0,validating:!1,visited:!1});ce.reset(N)})},resumeValidation:function(){jt=!1,Rt=!1,Ft&&Oe(void 0,function(){xe(),ye()}),Ft=!1},setConfig:function(N,q){switch(N){case"debug":ee=q;break;case"destroyOnUnregister":_e=q;break;case"initialValues":ce.initialize(q);break;case"keepDirtyOnReinitialize":Pe=q;break;case"mutators":Ce=q,q?(Object.keys(se).forEach(function(ge){ge in q||delete se[ge]}),Object.keys(q).forEach(function(ge){se[ge]=Jt(ge)})):Object.keys(se).forEach(function(ge){delete se[ge]});break;case"onSubmit":Je=q;break;case"validate":We=q,Oe(void 0,function(){xe(),ye()});break;case"validateOnBlur":It=q;break;default:throw new Error("Unrecognised option "+N)}},submit:function(){var N=Y.formState;if(!N.submitting){if(delete N.submitErrors,delete N.submitError,N.lastSubmittedValues=(0,n.Z)({},N.values),lt()){ct(),Vt(),Y.formState.submitFailed=!0,ye(),xe();return}var q=Object.keys(Ht);if(q.length){Promise.all(q.map(function(ze){return Ht[Number(ze)]})).then(ce.submit,console.error);return}var ge=tt();if(!ge){var be,Ne=!1,Ye=function(Ge){N.submitting=!1;var yt=N.resetWhileSubmitting;return yt&&(N.resetWhileSubmitting=!1),Ge&&G(Ge)?(N.submitFailed=!0,N.submitSucceeded=!1,N.submitErrors=Ge,N.submitError=Ge[R],ct()):(yt||(N.submitFailed=!1,N.submitSucceeded=!0),mt()),ye(),xe(),Ne=!0,be&&be(Ge),Ge};N.submitting=!0,N.submitFailed=!1,N.submitSucceeded=!1,N.lastSubmittedValues=(0,n.Z)({},N.values),Vt();var He=Je(N.values,ce,Ye);if(!Ne){if(He&&le(He))return ye(),xe(),He.then(Ye,function(ze){throw Ye(),ze});if(Je.length>=3)return ye(),xe(),new Promise(function(ze){be=ze});Ye(He)}}}},subscribe:function(N,q){if(!N)throw new Error("No callback given.");if(!q)throw new Error("No subscription provided. What values do you want to listen to?");var ge=X(N),be=Y.subscribers,Ne=be.index++;be.entries[Ne]={subscriber:ge,subscription:q,notified:!1};var Ye=ut();return ne(ge,q,Ye,Ye,K,!0),function(){delete be.entries[Ne]}}};return ce}var Re=function(ee){return!!(ee&&typeof ee.focus=="function")},Fe=function(){return typeof document=="undefined"?[]:Array.prototype.slice.call(document.forms).reduce(function(ee,_e){return ee.concat(Array.prototype.slice.call(_e).filter(Re))},[])},rt=function(ee,_e){return ee.find(function(Pe){return Pe.name&&g(_e,Pe.name)})},$e=function(){},dt=function(ee,_e){return function(Pe){var Ke=function(Ct){ee||(ee=Fe),_e||(_e=rt);var jt=_e(ee(),Ct);jt&&jt.focus()},Ce=Pe.submit,Je={},We=Pe.subscribe(function(Y){Je=Y},{errors:!0,submitErrors:!0}),It=function(){var Ct=Je,jt=Ct.errors,Ft=Ct.submitErrors;jt&&Object.keys(jt).length?Ke(jt):Ft&&Object.keys(Ft).length&&Ke(Ft)};return Pe.submit=function(){var Y=Ce.call(Pe);return Y&&typeof Y.then=="function"?Y.then(It,$e):It(),Y},function(){We(),Pe.submit=Ce}}},et=function(ee){return function(){if(typeof document=="undefined")return[];var _e=document.forms[ee];return _e&&_e.length?Array.prototype.slice.call(_e).filter(Re):[]}};const Nt=dt;var je=e(2278),Mt=e.n(je),zt=(0,a.createContext)({registerField:function(){return function(){}},getCurrentValue:function(){},subscribe:function(){return function(){}}}),Tt=(0,a.createContext)(!1);function $t(de){var ee=(0,a.useRef)(null),_e=(0,a.useRef)(de.onSubmit);_e.current=de.onSubmit;var Pe=(0,a.useState)(function(){var Ve=Te({onSubmit:function(){return _e.current.apply(_e,arguments)},destroyOnUnregister:!0,initialValues:{},mutators:{setDefaultValue:function(Oe,xe){var ct=(0,o.Z)(Oe,2),lt=ct[0],ut=ct[1];if(xe.formState.initialValues){var er=xe.formState.initialValues,we=xe.formState.values,oe=lt&&typeof ut=="function"?ut(er[lt]):ut;Mt()(er,lt,oe),Mt()(we,lt,oe)}}}});return Nt(function(){return ee.current?Array.from(ee.current.querySelectorAll("input")):[]})(Ve),Ve}),Ke=(0,o.Z)(Pe,1),Ce=Ke[0],Je=(0,a.useState)({dirty:!1,submitting:!1}),We=(0,o.Z)(Je,2),It=We[0],Y=We[1];(0,a.useEffect)(function(){var Ve=Ce.subscribe(function(Ie){var Oe=Ie.dirty,xe=Ie.submitting;Y({dirty:Oe,submitting:xe})},{dirty:!0,submitting:!0});return Ve},[Ce]);var Ct=(0,a.useCallback)(function(Ve,Ie,Oe,xe,ct){Ce.pauseValidation();var lt=Ce.registerField(Ve,Oe,xe,ct);return Ce.mutators.setDefaultValue(Ve,Ie),Ce.resumeValidation(),lt},[Ce]),jt=function(Ie){Ie&&Ie.preventDefault(),Ce.submit()},Ft=function(Ie){Ce.reset(Ie)},Rt=function(Ie){if(Ie.key==="Enter"&&(Ie.ctrlKey||Ie.metaKey)&&ee.current){var Oe=ee.current.querySelector('button:not([type]), button[type="submit"], input[type="submit"]');Oe&&Oe.click(),Ie.preventDefault()}},qt=de.isDisabled,Ht=qt===void 0?!1:qt,nr=de.children,Wt=It.dirty,_t=It.submitting,Jt=(0,a.useCallback)(function(Ve){var Ie=Ce.getState();return(Ie==null?void 0:Ie.values[Ve])||void 0},[Ce]),se=(0,a.useMemo)(function(){return{registerField:Ct,getCurrentValue:Jt,subscribe:Ce.subscribe}},[Ct,Jt,Ce.subscribe]),Be=function(){if(typeof nr=="function"){var Ve=nr.length>0?nr({formProps:{onSubmit:jt,ref:ee,onKeyDown:Rt},dirty:Wt,reset:Ft,submitting:_t,disabled:Ht,getState:function(){return Ce.getState()},getValues:function(){return Ce.getState().values},setFieldValue:Ce.change}):nr();return Ve===void 0?null:Ve}return nr}();return c().createElement(zt.Provider,{value:se},c().createElement(Tt.Provider,{value:Ht},Be))}},2903:(y,t,e)=>{"use strict";e.d(t,{Z:()=>x});var o=e(220),a=e(548),c=e(4569),n=e(2234),i=e(4522),r=(0,a.createContext)(0),s=function(){return(0,a.useContext)(r)},u=function(w){var j=s();return[j,j&&(j>6?"div":"h".concat(j))||w]},l=function(w){var j=w.children,A=w.value,E=s(),I=E+1;return React.createElement(r.Provider,{value:A||I},j)};const v=null;var d={xxlarge:"h1",xlarge:"h1",large:"h2",medium:"h3",small:"h4",xsmall:"h5",xxsmall:"h6"},f={reset:"_1mouidpf _1dyz4jg8 _1p1dglyw"},g={"color.text":"_syaz1fxt","color.text.inverse":"_syaz15cr","color.text.warning.inverse":"_syazal3n"},h={xxlarge:"_11c84xcc",xlarge:"_11c81c04",large:"_11c8nf1z",medium:"_11c8lodh",small:"_11c8nbxd",xsmall:"_11c8140y",xxsmall:"_11c81vhk"},m=function(w){var j=(0,i.v)();return w||(n.w8.hasOwnProperty(j)?n.w8[j]:"color.text")},b=(0,a.forwardRef)(function(R,w){var j=R.children,A=R.size,E=R.id,I=R.testId,z=R.as,Z=R.color,P=u(d[A]),$=(0,o.Z)(P,2),K=$[0],X=$[1],le=z||X,fe=le==="div"&&K,ae=m(Z);return a.createElement(le,{id:E,ref:w,"data-testid":I,role:fe?"heading":void 0,"aria-level":fe?K:void 0,className:(0,
5c.Z)([f.reset,A&&h[A],g[ae]])},j)});const x=b},4075:(y,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=c(e(548)),a=c(e(1074));function c(r){return r&&r.__esModule?r:{default:r}}const n=r=>o.default.createElement(a.default,Object.assign({dangerouslySetGlyph:'<path fill="currentcolor" fill-rule="evenodd" d="M1 3a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2zm2-.5a.5.5 0 0 0-.5.5v8a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5V3a.5.5 0 0 0-.5-.5zM16 6v6.75A3.25 3.25 0 0 1 12.75 16H6v-1.5h6.75a1.75 1.75 0 0 0 1.75-1.75V6z" clip-rule="evenodd"/>'},r));n.displayName="CopyIcon";var i=t.default=n},3414:(y,t,e)=>{"use strict";var o;o={value:!0},t.Z=void 0;var a=i(e(548)),c=i(e(5242)),n=i(e(7297));function i(u){return u&&u.__esModule?u:{default:u}}const r=u=>a.default.createElement(c.default,Object.assign({LEGACY_fallbackIcon:n.default},u));r.Name="StatusErrorIconMigration";var s=t.Z=r},1820:(y,t,e)=>{"use strict";var o;o={value:!0},t.Z=void 0;var a=i(e(548)),c=i(e(8497)),n=i(e(8444));function i(u){return u&&u.__esModule?u:{default:u}}const r=u=>a.default.createElement(c.default,Object.assign({LEGACY_fallbackIcon:n.default},u));r.Name="StatusSuccessIconMigration";var s=t.Z=r},5242:(y,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=c(e(548)),a=c(e(1074));function c(r){return r&&r.__esModule?r:{default:r}}const n=r=>o.default.createElement(a.default,Object.assign({dangerouslySetGlyph:'<path fill="currentcolor" fill-rule="evenodd" d="M6.586.603a2 2 0 0 1 2.828 0l5.983 5.983a2 2 0 0 1 0 2.828l-5.983 5.982a2 2 0 0 1-2.828 0L.604 9.414a2 2 0 0 1 0-2.828zM8 10.25a1 1 0 1 0 0 2 1 1 0 0 0 0-2m-.75-6.5V9h1.5V3.75z" clip-rule="evenodd"/>'},r));n.displayName="StatusErrorIcon";var i=t.default=n},5410:(y,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=c(e(548)),a=c(e(1074));function c(r){return r&&r.__esModule?r:{default:r}}const n=r=>o.default.createElement(a.default,Object.assign({dangerouslySetGlyph:'<path fill="currentcolor" fill-rule="evenodd" d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0M6.5 6.75v1.5h.75v4.25h1.5v-5A.75.75 0 0 0 8 6.75zM8 3.5a1 1 0 1 0 0 2 1 1 0 0 0 0-2" clip-rule="evenodd"/>'},r));n.displayName="StatusInformationIcon";var i=t.default=n},8497:(y,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=c(e(548)),a=c(e(1074));function c(r){return r&&r.__esModule?r:{default:r}}const n=r=>o.default.createElement(a.default,Object.assign({dangerouslySetGlyph:'<path fill="currentcolor" fill-rule="evenodd" d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0M6.75 9.828 4.826 7.52l-1.152.96 2.5 3a.75.75 0 0 0 1.152 0l5-6-1.152-.96z" clip-rule="evenodd"/>'},r));n.displayName="StatusSuccessIcon";var i=t.default=n},1074:(y,t,e)=>{"use strict";e.r(t),e.d(t,{Icon:()=>m,default:()=>b});var o=e(548),a=e(4569),c=e(736),n=null,i=null,r=null,s=null,u=null,l=null,v={none:"_1bsbpxbi _4t3ipxbi",compact:"_1bsb1ejb _4t3i1ejb",spacious:"_1bsb1ejb _4t3i1ejb"},d={none:"_1bsbutpp _4t3iutpp",compact:"_1bsbpxbi _4t3ipxbi",spacious:"_1bsb1ejb _4t3i1ejb"},f={none:"_1bsbutpp _4t3iutpp",compact:"_1bsbpxbi _4t3ipxbi",spacious:"_1bsb1ejb _4t3i1ejb"},g={core:16,utility:12},h={core:{medium:{none:0,compact:4,spacious:4},small:{none:0,compact:2.66,spacious:8}},utility:{medium:{none:0,compact:2,spacious:6},small:{none:0,compact:2,spacious:6}}},m=(0,o.memo)(function(R){var w,j=R,A=j.color,E=A===void 0?"currentColor":A,I=j.testId,z=j.label,Z=j.LEGACY_primaryColor,P=j.LEGACY_secondaryColor,$=j.LEGACY_size,K=j.LEGACY_fallbackIcon,X=j.dangerouslySetGlyph,le=j.shouldScale,fe=j.LEGACY_margin,ae=j.spacing,M=ae===void 0?"none":ae,G=X?{__html:X}:void 0;if(K&&!(0,c.fg)("platform-visual-refresh-icons"))return o.createElement(K,{primaryColor:Z!=null?Z:E,secondaryColor:P,size:$,label:z,testId:I,UNSAFE_margin:fe});var ke=(w=R.type)!==null&&w!==void 0?w:"core",ne="size"in R&&R.size!==void 0&&(R.size==="small"||R.size==="medium")?R.size:"medium",Ee=g[ke],Te=h[ke][ne][M],Re=Ee+2*Te;return o.createElement("span",{"data-testid":I,role:z?"img":void 0,"aria-label":z||void 0,"aria-hidden":z?void 0:!0,style:{color:E},className:(0,a.Z)(["_1e0c1o8l _vchhusvi _1o9zidpf _vwz4kb7n _y4ti1igz _bozg1mb9","_12va1onz _jcxd1r8n",le&&"_1bsb1kw7 _4t3i1kw7",(ke==="utility"||ne==="small")&&"_vwz4utpp"])},o.createElement("svg",{fill:"none",viewBox:"".concat(0-Te," ").concat(0-Te," ").concat(Re," ").concat(Re),role:"presentation",dangerouslySetInnerHTML:G,className:(0,a.Z)(["_1reo15vq _18m915vq _syaz1r31 _lcxvglyw _s7n4yfq0 _vc881r31",le?"_1bsb1kw7 _4t3i1kw7":ke==="utility"?f[M]:ne==="small"?d[M]:v[M]])}))});const b=m},4588:(y,t,e)=>{"use strict";e.r(t),e.d(t,{Icon:()=>g,IconFacade:()=>w,default:()=>h});var o=e(5904),a=e(3772),c=e(548),n=e.n(c),i=e(4569);function r(j,A){var E=Object.keys(j);if(Object.getOwnPropertySymbols){var I=Object.getOwnPropertySymbols(j);A&&(I=I.filter(function(z){return Object.getOwnPropertyDescriptor(j,z).enumerable})),E.push.apply(E,I)}return E}function s(j){for(var A=1;A<arguments.length;A++){var E=arguments[A]!=null?arguments[A]:{};
5A%2?r(Object(E),!0).forEach(function(I){(0,a.Z)(j,I,E[I])}):Object.getOwnPropertyDescriptors?Object.defineProperties(j,Object.getOwnPropertyDescriptors(E)):r(Object(E)).forEach(function(I){Object.defineProperty(j,I,Object.getOwnPropertyDescriptor(E,I))})}return j}var u=null,l={small:"_1bsb7vkz _4t3i7vkz _5fdi7vkz _zbji7vkz",medium:"_1bsb1tcg _4t3i1tcg _5fdi1tcg _zbji1tcg",large:"_1bsbzwfg _4t3izwfg _5fdizwfg _zbjizwfg",xlarge:"_1bsbckbl _4t3ickbl _5fdickbl _zbjickbl"},v=null,d=null,f=null,g=(0,c.memo)(function(A){var E=A,I=E.glyph,z=E.dangerouslySetGlyph,Z=E.primaryColor,P=Z===void 0?"currentColor":Z,$=E.secondaryColor,K=E.size,X=E.testId,le=E.label,fe=E.width,ae=E.height,M=E.UNSAFE_margin,G=z?{dangerouslySetInnerHTML:{__html:z}}:{children:I?c.createElement(I,{role:"presentation"}):null},ke=fe&&ae?{width:fe+"px",height:ae+"px"}:null;return c.createElement("span",(0,o.Z)({"data-testid":X,"data-vc":"icon-".concat(X),role:le?"img":void 0,"aria-label":le||void 0,"aria-hidden":le?void 0:!0,style:s(s({},ke),{},{"--icon-primary-color":P,"--icon-secondary-color":$,margin:M})},G,{className:(0,i.Z)(["_1e0c1o8l _1o9zidpf _vyfuvuon _vwz4kb7n _1szv15vq _1tly15vq _rzyw1osq _17jb1osq _1ksvoz0e _3se1x1jp _re2rglyw _1veoyfq0 _1kg81r31","_jcxd1r8n _gq0g1onz _1trkwc43",P===$&&"_18hbwc43",$==="transparent"&&"_4fyi1j28",K&&l[K]])}))});const h=g;var m=e(9231),b=e(736),x=["dangerouslySetGlyph","size"],R={utility:{small:"compact",medium:"spacious"},core:{small:"none",medium:"spacious"}},w=(0,c.memo)(function(A){var E=A.dangerouslySetGlyph,I=A.size,z=(0,m.Z)(A,x),Z=z.newIcon,P=I!=null?I:"medium",$=!z.isFacadeDisabled&&(0,b.fg)("platform-visual-refresh-icons-legacy-facade");if($&&Z&&(P==="small"||P==="medium"))if(z.iconType==="utility"){var K=Z;return n().createElement(K,(0,o.Z)({},z,{spacing:(0,b.fg)("platform-visual-refresh-icons-facade-button-fix")?R.utility[P]:"none",color:z.primaryColor||"currentColor",type:z.iconType}))}else{var X=Z;return n().createElement(X,(0,o.Z)({},z,{size:P,spacing:R.core[P],color:z.primaryColor||"currentColor",type:z.iconType}))}return n().createElement(g,(0,o.Z)({dangerouslySetGlyph:E,size:I},z))})},7721:(y,t,e)=>{"use strict";var o;o={value:!0},t.Z=void 0;var a=i(e(548)),c=e(4588),n=i(e(4075));function i(u){return u&&u.__esModule?u:{default:u}}const r=u=>a.default.createElement(c.IconFacade,Object.assign({dangerouslySetGlyph:'<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><g fill="currentcolor"><path d="M10 19h8V8h-8zM8 7.992C8 6.892 8.902 6 10.009 6h7.982C19.101 6 20 6.893 20 7.992v11.016c0 1.1-.902 1.992-2.009 1.992H10.01A2 2 0 0 1 8 19.008z"/><path d="M5 16V4.992C5 3.892 5.902 3 7.009 3H15v13zm2 0h8V5H7z"/></g></svg>'},u,{newIcon:n.default}));r.displayName="CopyIcon";var s=t.Z=r},8444:(y,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(e(548)),a=e(4588),c=n(e(8497));function n(s){return s&&s.__esModule?s:{default:s}}const i=s=>o.default.createElement(a.IconFacade,Object.assign({dangerouslySetGlyph:'<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="currentcolor" fill-rule="evenodd" d="M12 20a8 8 0 1 1 0-16 8 8 0 0 1 0 16m1.364-10.964-2.152 4.11-1.543-1.39a1 1 0 1 0-1.338 1.487l2.5 2.25a1 1 0 0 0 1.555-.279l2.75-5.25a1 1 0 0 0-1.772-.928"/></svg>'},s,{newIcon:c.default}));i.displayName="EditorSuccessIcon";var r=t.default=i},7297:(y,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(e(548)),a=e(4588),c=n(e(5242));function n(s){return s&&s.__esModule?s:{default:s}}const i=s=>o.default.createElement(a.IconFacade,Object.assign({dangerouslySetGlyph:'<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><g fill-rule="evenodd"><path fill="currentcolor" d="M13.416 4.417a2 2 0 0 0-2.832 0l-6.168 6.167a2 2 0 0 0 0 2.833l6.168 6.167a2 2 0 0 0 2.832 0l6.168-6.167a2 2 0 0 0 0-2.833z"/><path fill="inherit" d="M12 14a1 1 0 0 1-1-1V8a1 1 0 0 1 2 0v5a1 1 0 0 1-1 1m0 3a1 1 0 0 1 0-2 1 1 0 0 1 0 2"/></g></svg>'},s,{newIcon:c.default}));i.displayName="ErrorIcon";var r=t.default=i},7172:(y,t,e)=>{"use strict";e.d(t,{Z:()=>c});var o=e(548),a=e.n(o);const c=(0,o.createContext)(null)},943:(y,t,e)=>{"use strict";e.d(t,{NG:()=>A,jC:()=>f,Py:()=>g,Yw:()=>h,i5:()=>m});var o=e(548),a=e.n(o),c=e(1517),n=e(736),i=e(5904);function r(E,I,z){var Z=(0,o.forwardRef)(function(P,$){return E()?a().createElement(I,(0,i.Z)({},P,{ref:$})):a().createElement(z,(0,i.Z)({},P,{ref:$}))});return I.name!==""&&(Z.displayName="ComponentWithCondition[".concat(E.name,"]")),Z}var s=function(I,z,Z){return r(function(){return(0,n.fg)(I)},z,Z)},u=e(4978),l=e(5378),v=e(564),d=function(){function E(I,z){(0,l.Z)(this,E),this.id=I,this.childNodes=[],this.parent=z}return(0,v.Z)(E,[{key:"addChild",value:function(z){this.childNodes.push(z)}},{key:"removeChild",value:function(z){this.childNodes=this.childNodes.filter(function(Z){return Z.id!==z.id})}},{key:"getLevel",value:function(){return this.parent?this.parent.getLevel()+1:1}},{key:"getHeight",value:function(){return this.childNodes.length===0?1:Math.max.apply(Math,(0,u.Z)(this.childNodes.map(function(z){return z.getHeight()})))+1}}])}(),f=(0,o.createContext)(0),g=(0,o.createContext)({current:null}),h=(0,o.createContext)({current:null}),m=(0,o.createContext)({topLevelRef:{current:null},layerList:{current:null},setTopLevel:c.Z}),b=function(I){var z=I.children,Z=I.currentLevel,P=I.node;return(0,o.useEffect)(function(){var $=P.current,K=$.parent;return K==null||K.addChild($),function(){K==null||K.removeChild($)}},[P]),a().createElement(f.Provider,{value:Z},a().createElement(g.Provider,{value:P},z))},x=function(I){var z=I.children,Z=I.currentLevel,P=(0,o.useContext)(m),$=P.layerList,K=(0,o.useRef)(Math.random().toString(36));return(0,o.useEffect)(function(){var X=$==null?void 0:$.current,le=K.current;if(X)return X.push(le),function(){var fe=X.indexOf(le);fe>-1&&X.splice(fe,1)}},[$,K]),a().createElement(f.Provider,{value:Z},z)},R=function(I){var z=I.children,Z=(0,o.useRef)(0),P=(0,o.useRef)([]),$=(0,o.useMemo)(function(){return{topLevelRef:Z,setTopLevel:function(X){Z.current=X},layerList:P}},[Z,P]);return a().createElement(m.Provider,{value:$},z)},w=function(I){var z=I.children,Z=I.isDisabled,P=Z===void 0?!0:Z,$=(0,o.useContext)(f);if(P)return a().createElement(a().Fragment,null,z);var K=$>0,X=a().createElement(x,{currentLevel:$+1},z);return K?X:a().createElement(R,null,X)},j=function(I){var z=I.children,Z=I.isDisabled,P=Z===void 0?!0:Z,$=(0,o.useContext)(f),K=(0,o.useContext)(g),X=(0,o.useRef)(new d(Math.random().toString(36),K.current));if(P)return a().createElement(a().Fragment,null,z);var le=$>0,fe=a().createElement(b,{currentLevel:$+1,node:X},z);return le?fe:a().createElement(h.Provider,{value:X},fe)},A=s("layering-tree-graph",j,w)},8243:(y,t,e)=>{"use strict";e.d(t,{F:()=>i});var o=e(548),a=(0,o.createContext)(null),c=(0,o.createContext)(null);function n(){var r=(0,o.useContext)(c);return r}function i(r){var s=r.isOpen,u=r.onClose,l=(0,o.useContext)(a),v=n();(0,o.useEffect)(function(){if(l!==null&&s)return l.onClose(u,{namespace:v})},[l,s,v,u])}},736:(y,t,e)=>{"use strict";e.d(t,{fg:()=>cr});var o=e(5378),a=e(564),c=e(3772),n=e(9231),i=e(220);function r(U,D,p,k,T,V,W){try{var H=U[V](W),J=H.value}catch(ie){return void p(ie)}H.done?D(J):Promise.resolve(J).then(k,T)}function s(U){return function(){var D=this,p=arguments;return new Promise(function(k,T){var V=U.apply(D,p);function W(J){r(V,k,T,W,H,"next",J)}function H(J){r(V,k,T,W,H,"throw",J)}W(void 0)})}}var u=e(5876),l=e.n(u),v=e(793),d=e(3863),f=e.n(d);function g(U,D){var p=Object.keys(U);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(U);D&&(k=k.filter(function(T){return Object.getOwnPropertyDescriptor(U,T).enumerable}
5)),p.push.apply(p,k)}return p}function h(U){for(var D=1;D<arguments.length;D++){var p=arguments[D]!=null?arguments[D]:{};D%2?g(Object(p),!0).forEach(function(k){(0,c.Z)(U,k,p[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(p)):g(Object(p)).forEach(function(k){Object.defineProperty(U,k,Object.getOwnPropertyDescriptor(p,k))})}return U}var m="@all-features",b=function(){function U(){(0,o.Z)(this,U),(0,c.Z)(this,"eventToValue",new Map),this.emitter=new(f())}return(0,a.Z)(U,[{key:"onGateUpdated",value:function(p,k,T,V){var W=this,H=T(p,h(h({},V),{},{fireGateExposure:!1}));this.eventToValue.get(k)===void 0&&this.eventToValue.set(k,H);var J=function(){var De=T(p,h(h({},V),{},{fireGateExposure:!1})),Le=W.eventToValue.get(k);Le!==De&&(W.eventToValue.set(k,De),k(De))};return this.emitter.on(p,J),function(){W.emitter.off(p,J)}}},{key:"onExperimentValueUpdated",value:function(p,k,T,V,W,H){var J=this,ie="".concat(p,".").concat(k),De=W(p,k,T,h(h({},H),{},{fireExperimentExposure:!1}));this.eventToValue.get(V)===void 0&&this.eventToValue.set(V,De);var Le=function(){var at=W(p,k,T,h(h({},H),{},{fireExperimentExposure:!1})),pt=J.eventToValue.get(V);pt!==at&&(J.eventToValue.set(V,at),V(at))};return this.emitter.on(ie,Le),function(){J.emitter.off(ie,Le)}}},{key:"onAnyUpdated",value:function(p){var k=this;return this.emitter.on(m,p),function(){k.emitter.off(m,p)}}},{key:"anyUpdated",value:function(){var p=this;this.emitter.emit(m),this.emitter.eventNames().filter(function(k){return k!==m}).forEach(function(k){p.emitter.emit(k)})}}])}(),x=e(6872),R="fedramp-moderate",w="commercial",j="fedramp-fedex",A="stg",E="prod",I="dev";function z(){var U,D=globalThis,p=D.MICROS_PERIMETER||D.UNSAFE_ATL_CONTEXT_BOUNDARY;if(p)return p===R;var k=(U=D.location)===null||U===void 0||(U=U.hostname)===null||U===void 0?void 0:U.match(/atlassian-us-gov-mod\.(com|net)|atlassian-us-gov\.(com|net)|atlassian-fex\.(com|net)|atlassian-stg-fedm\.(com|net)/);return k?k.length>0:!1}var Z=function(U){return U.Error="Error",U.LocalOverride="LocalOverride",U.Unrecognized="Unrecognized",U.Uninitialized="Uninitialized",U.NetworkNotModified="NetworkNotModified",U.Network="Network",U.InvalidBootstrap="InvalidBootstrap",U.Bootstrap="Bootstrap",U.Cache="Cache",U.Unknown="Unknown",U}({}),P=function(U){return U.Development="development",U.Staging="staging",U.Production="production",U}({}),$=function(U){return U.COMMERCIAL="commercial",U.FEDRAMP_MODERATE="fedramp-moderate",U}({}),K="non_boolean",X=["api","disableCurrentPageLogging","loggingIntervalMillis","loggingBufferMaxSize","localMode","eventLoggingApi","eventLoggingApiForRetries","disableLocalStorage","ignoreWindowUndefined","disableAllLogging","initTimeoutMs","disableNetworkKeepalive","overrideStableID","disableErrorLogging","disableAutoMetricsLogging"];function le(U,D){var p=Object.keys(U);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(U);D&&(k=k.filter(function(T){return Object.getOwnPropertyDescriptor(U,T).enumerable})),p.push.apply(p,k)}return p}function fe(U){for(var D=1;D<arguments.length;D++){var p=arguments[D]!=null?arguments[D]:{};D%2?le(Object(p),!0).forEach(function(k){(0,c.Z)(U,k,p[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(p)):le(Object(p)).forEach(function(k){Object.defineProperty(U,k,Object.getOwnPropertyDescriptor(p,k))})}return U}var ae=function(D){return fe({perimeter:z()?$.FEDRAMP_MODERATE:$.COMMERCIAL},D)},M=function(D,p){if(!D&&!p)return!0;if(!D||!p)return!1;var k=Object.entries(D),T=Object.entries(p);if(k.length!==T.length)return!1;var V=function(Ue,at){var pt=(0,i.Z)(Ue,1),st=pt[0],wt=(0,i.Z)(at,1),Xe=wt[0];return st.localeCompare(Xe)};k.sort(V),T.sort(V);for(var W=0;W<k.length;W++){var H=(0,i.Z)(k[W],2),J=H[1],ie=(0,i.Z)(T[W],2),De=ie[1];if(J!==De)return!1}return!0},G=function(D,p){var k={customIDs:D,custom:p};return D.atlassianAccountId&&(k.userID=D.atlassianAccountId),k},ke=function(D){var p=D.api,k=D.disableCurrentPageLogging,T=D.loggingIntervalMillis,V=D.loggingBufferMaxSize,W=D.localMode,H=D.eventLoggingApi,J=D.eventLoggingApiForRetries,ie=D.disableLocalStorage,De=D.ignoreWindowUndefined,Le=D.disableAllLogging,Ue=D.initTimeoutMs,at=D.disableNetworkKeepalive,pt=D.overrideStableID,st=D.disableErrorLogging,wt=D.disableAutoMetricsLogging,Xe=(0,n.Z)(D,X);return fe(fe({},Xe),{},{networkConfig:{api:p,logEventUrl:H?H+"rgstr":void 0,logEventFallbackUrls:J?[J]:void 0,preventAllNetworkTraffic:W||!De&&typeof window=="undefined"},includeCurrentPageUrlWithEvents:!k,loggingIntervalMs:T,loggingBufferMaxSize:V,disableStorage:ie===void 0?W:ie,disableLogging:Le===void 0?W:Le})},ne=Object.entries(Z).map(function(U){var D=(0,i.Z)(U,2),p=D[0],k=D[1];return[p.toLowerCase(),k]}),Ee=function(D){var p,k,T,V=D.reason.toLowerCase();return{reason:(p=(k=ne.find(function(W){var H=(0,i.Z)(W,1),J=H[0];return V.includes(J)}))===null||k===void 0?void 0:k[1])!==null&&p!==void 0?p:Z.Unknown,time:(T=D.receivedAt)!==null&&T!==void 0?T:Date.now()}},Te=function(D){return D.map(function(p){return typeof p=="string"?{gate:p}:p})},Re=function(){function U(D,p,k,T){var V=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],W=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"",H=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null;(0,o.Z)(this,U),this.value=p,this._name=D,this._ruleID=k,this._secondaryExposures=V,this._allocatedExperimentName=W,this._evaluationDetail
5s=T,this._onDefaultValueFallback=H}return(0,a.Z)(U,[{key:"get",value:function(p,k,T){var V,W=this.getValue(p,k);if(W==null)return k;var H=Array.isArray(k)?"array":(0,x.Z)(k),J=Array.isArray(W)?"array":(0,x.Z)(W);if(T){var ie;return T(W)?(this.fireExposure(p),W):((ie=this._onDefaultValueFallback)===null||ie===void 0||ie.call(this,this,p,H,J),k)}return k==null||H===J?(this.fireExposure(p),W):((V=this._onDefaultValueFallback)===null||V===void 0||V.call(this,this,p,H,J),k)}},{key:"getValue",value:function(p,k){return p==null?this.value:(k==null&&(k=null),this.value[p]==null?k:(this.fireExposure(p),this.value[p]))}},{key:"fireExposure",value:function(p){this.experiment&&this.experiment.get(p)}}],[{key:"fromExperiment",value:function(p){var k,T,V,W=new U(p.name,p.value,p.ruleID,Ee(p.details),Te((k=(T=p.__evaluation)===null||T===void 0?void 0:T.secondary_exposures)!==null&&k!==void 0?k:[]),(V=p.groupName)!==null&&V!==void 0?V:void 0);return W.experiment=p,W}}])}(),Fe=function(){function U(D,p,k,T){var V=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,W=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[],H=arguments.length>6&&arguments[6]!==void 0?arguments[6]:[],J=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"",ie=arguments.length>8&&arguments[8]!==void 0?arguments[8]:[];(0,o.Z)(this,U),this._logParameterFunction=V,this._name=D,this._value=JSON.parse(JSON.stringify(p!=null?p:{})),this._ruleID=k!=null?k:"",this._evaluationDetails=T,this._secondaryExposures=W,this._undelegatedSecondaryExposures=H,this._allocatedExperimentName=J,this._explicitParameters=ie}return(0,a.Z)(U,[{key:"get",value:function(p,k,T){var V=this,W=this._value[p];if(W==null)return k;var H=function(){return V._logLayerParameterExposure(p),W};return T?T(W)?H():k:k==null||(0,x.Z)(W)===(0,x.Z)(k)&&Array.isArray(k)===Array.isArray(W)?H():k}},{key:"getValue",value:function(p,k){k==null&&(k=null);var T=this._value[p];return T!=null&&this._logLayerParameterExposure(p),T!=null?T:k}},{key:"_logLayerParameterExposure",value:function(p){var k;(k=this._logParameterFunction)===null||k===void 0||k.call(this,this,p)}}],[{key:"fromLayer",value:function(p){var k,T,V,W,H,J,ie=new U(p.name,p.__value,p.ruleID,Ee(p.details),function(De,Le){return p.get(Le)},Te((k=(T=p.__evaluation)===null||T===void 0?void 0:T.secondary_exposures)!==null&&k!==void 0?k:[]),Te((V=(W=p.__evaluation)===null||W===void 0?void 0:W.undelegated_secondary_exposures)!==null&&V!==void 0?V:[]),(H=p.__evaluation)===null||H===void 0?void 0:H.allocated_experiment_name,(J=p.__evaluation)===null||J===void 0?void 0:J.explicit_parameters);return ie}}])}(),rt="5.5.1",$e=e(674),dt=e(9589),et=e(7101),Nt=e(5561);function je(U,D,p){return D=(0,dt.Z)(D),(0,$e.Z)(U,Mt()?Reflect.construct(D,p||[],(0,dt.Z)(U).constructor):D.apply(U,p))}function Mt(){try{var U=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(D){}return(Mt=function(){return!!U})()}var zt=function(U){function D(p){return(0,o.Z)(this,D),je(this,D,[p])}return(0,et.Z)(D,U),(0,a.Z)(D)}((0,Nt.Z)(Error));function Tt(U,D){var p=Object.keys(U);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(U);D&&(k=k.filter(function(T){return Object.getOwnPropertyDescriptor(U,T).enumerable})),p.push.apply(p,k)}return p}function $t(U){for(var D=1;D<arguments.length;D++){var p=arguments[D]!=null?arguments[D]:{};D%2?Tt(Object(p),!0).forEach(function(k){(0,c.Z)(U,k,p[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(p)):Tt(Object(p)).forEach(function(k){Object.defineProperty(U,k,Object.getOwnPropertyDescriptor(p,k))})}return U}var de=5e3,ee="https://api.atlassian.com/flags",_e="https://api.stg.atlassian.com/flags",Pe="https://api.dev.atlassian.com/flags",Ke="https://api.stg.atlassian-us-gov-mod.com/flags",Ce="https://api.atlassian-us-gov-mod.com/flags",Je="https://atlassian-statsig-proxy-archetype.atl-paas.%s.atl-ic.net",We="oasis-stg.com/flags",It="atlassian-isolated.net/flags",Y="/gateway/api/flags",Ct=function(){function U(){(0,o.Z)(this,U)}return(0,a.Z)(U,null,[{key:"fetchClientSdk",value:function(){var D=s(l().mark(function k(T){var V,W;return l().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return V=T.targetApp,W="/api/v2/frontend/clientSdkKey/".concat(V),J.prev=2,J.next=5,this.fetchRequest(W,"GET",T);case 5:return J.abrupt("return",J.sent);case 8:if(J.prev=8,J.t0=J.catch(2),!(J.t0 instanceof Error)){J.next=12;break}throw J.t0;case 12:throw Error("Failed to retrieve client sdk key");case 13:case"end":return J.stop()}},k,this,[[2,8]])}));function p(k){return D.apply(this,arguments)}return p}()},{key:"fetchExperimentValues",value:function(){var D=s(l().mark(function k(T,V,W){var H;return l().wrap(function(ie){for(;;)switch(ie.prev=ie.next){case 0:return H={identifiers:V,customAttributes:W,targetApp:T.targetApp},ie.prev=1,ie.next=4,this.fetchRequest("/api/v2/frontend/experimentValues","POST",T,H);case 4:return ie.abrupt("return",ie.sent);case 7:if(ie.prev=7,ie.t0=ie.catch(1),!(ie.t0 instanceof Error)){ie.next=11;break}throw ie.t0;case 11:throw Error("Failed to retrieve experiment values");case 12:case"end":return ie.stop()}},k,this,[[1,7]])}));function p(k,T,V){return D.apply(this,arguments)}return p}()},{key:"handleResponseError",value:function(){var D=s(l().mark(function k(T){var V;return l().wrap(function(H){for(;;)switch(H.prev=H.next){case 0:if(T.ok){H.next=5;break}return H.next=3,T.text();case 3:throw V=H.sent,new zt("Non 2xx response status received, status: ".concat(T.status,", body: ").concat(JSON.stringify(V)));case 5:if(T.status!==204){H.next=7;break}throw new zt("Unexpected 204 response");case 7:case"end":return H.stop()}},k)}));function p(k){return D.apply(this,arguments)}return p}()},{key:"extractResponseBody",value:function(){var D=s(l().mark(function k(T){var V;return l().wrap(function(H){for(;;)switch(H.prev=H.next){case 0:return H.next=2,T.text();case 2:return V=H.sent,H.abrupt("return",JSON.parse(V));case 4:case"end":return H.stop()}},k)}));function p(k){return D.apply(this,arguments)}return p}()},{key:"getBaseUrl",value:function(p){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,T=arguments.length>2?arguments[2]:void 0,V=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;if(k)return Y;if(T===$.FEDRAMP_MODERATE)switch(p){case P.Production:return Ce;case P.Staging:return Ke;default:throw new Error('Invalid environment "'.concat(p,'" for "').concat(T,'" perimeter'))}else if(T===$.COMMERCIAL)switch(p){case P.Development:return Pe;case P.Staging:var W=this.getApiUrl(V);return W!==null?W:_e;default:var H=this.getApiUrl(V);return H!==null?H:ee}else throw new Error('Invalid perimeter "'.concat(T,'"'))}},{key:"fetchRequest",value:function(){var D=s(l().mark(function k(T,V,W,H){var J,ie,De,Le,Ue;return l().wrap(function(pt){for(;;)switch(pt.prev=pt.next){case 0:return J=U.getBaseUrl(W.environment,W.useGatewayURL,W.perimeter,W.isolationContextId),ie=W.fetchTimeoutMs||de,AbortSignal.timeout?De=AbortSignal.timeout(ie):AbortController&&(Le=new AbortController,De=Le.signal,setTimeout(function(){return Le.abort()},ie)),pt.next=5,fetch("".concat(J).concat(T),$t({method:V,headers:{"Content-Type":"application/json","X-Client-Name":"feature-gate-js-client","X-Client-Version":rt,"X-API-KEY":W.apiKey},signal:De},H&&{body:JSON.stringify(H)}));case 5:return Ue=pt.sent,pt.next=8,this.handleResponseError(Ue);case 8:return pt.next=10,this.extractResponseBody(Ue);case 10:return pt.abrupt("return",pt.sent);case 11:case"end":return pt.stop()}},k,this)}));function p(k,T,V,W){return D.apply(this,arguments)}return p}()},{key:"getApiUrl",value:function(p){var k=this.getWindowLocation();if(k===void 0)return p?Je.replace("%s",p):null;var T=k.protocol,V=k.hostname,W=V.match(/([^.]+)\.oasis-stg\.com$/);if(W)return"".concat(T,"//api.").concat(W[1],".").concat(We);var H=V.match(/([^.]+)\.atlassian-isolated\.net$/);return H?"".concat(T,"//api.").concat(H[1],".").concat(It):null}},{key:"getWindowLocation",value:function(){if(typeof window!="undefined"&&window.location)return window.location}}])}(),jt=e(3075);function Ft(U,D){var p=Object.keys(U);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(U);D&&(k=k.filter(function(T){return Object.getOwnPropertyDescriptor(U,T).enumerable}
5)),p.push.apply(p,k)}return p}function Rt(U){for(var D=1;D<arguments.length;D++){var p=arguments[D]!=null?arguments[D]:{};D%2?Ft(Object(p),!0).forEach(function(k){(0,c.Z)(U,k,p[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(p)):Ft(Object(p)).forEach(function(k){Object.defineProperty(U,k,Object.getOwnPropertyDescriptor(p,k))})}return U}function qt(U,D,p){return D=(0,dt.Z)(D),(0,$e.Z)(U,Ht()?Reflect.construct(D,p||[],(0,dt.Z)(U).constructor):D.apply(U,p))}function Ht(){try{var U=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(D){}return(Ht=function(){return!!U})()}function nr(U,D,p,k){var T=(0,jt.Z)((0,dt.Z)(1&k?U.prototype:U),D,p);return 2&k&&typeof T=="function"?function(V){return T.apply(p,V)}:T}var Wt=function(U){function D(){var p;return(0,o.Z)(this,D),p=qt(this,D,["NoFetchDataAdapter","nofetch"]),(0,c.Z)(p,"bootstrapResult",null),p}return(0,et.Z)(D,U),(0,a.Z)(D,[{key:"setBootstrapData",value:function(k){this.bootstrapResult=k?{source:"Bootstrap",data:JSON.stringify(k),receivedAt:Date.now(),stableID:v.StableID.get(this._getSdkKey()),fullUserHash:null}:null}},{key:"prefetchData",value:function(){var p=s(l().mark(function T(V,W){return l().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:case"end":return J.stop()}},T)}));function k(T,V){return p.apply(this,arguments)}return k}()},{key:"getDataAsync",value:function(){var p=s(l().mark(function T(V,W,H){return l().wrap(function(ie){for(;;)switch(ie.prev=ie.next){case 0:return ie.abrupt("return",this.bootstrapResult&&Rt(Rt({},this.bootstrapResult),{},{fullUserHash:(0,v._getFullUserHash)(W)}));case 1:case"end":return ie.stop()}},T,this)}));function k(T,V,W){return p.apply(this,arguments)}return k}()},{key:"getDataSync",value:function(k){return this.bootstrapResult&&Rt(Rt({},this.bootstrapResult),{},{fullUserHash:(0,v._getFullUserHash)(k)})}},{key:"_fetchFromNetwork",value:function(){var p=s(l().mark(function T(V,W,H){return l().wrap(function(ie){for(;;)switch(ie.prev=ie.next){case 0:return ie.abrupt("return",null);case 1:case"end":return ie.stop()}},T)}));function k(T,V,W){return p.apply(this,arguments)}return k}()},{key:"_getCacheKey",value:function(k){var T=(0,v._getStorageKey)(this._getSdkKey(),k);return"".concat(v.DataAdapterCachePrefix,".").concat(this._cacheSuffix,".").concat(T)}},{key:"_isCachedResultValidFor204",value:function(k,T){return!1}},{key:"setDataLegacy",value:function(k,T){nr(D,"setData",this,3)([k,T])}},{key:"toJSON",value:function(){var k=Rt({},this);return delete k._options,delete k._inMemoryCache,delete k.bootstrapResult,k}}])}(v.DataAdapterCore),_t=e(3191);function Jt(U,D){var p=Object.keys(U);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(U);D&&(k=k.filter(function(T){return Object.getOwnPropertyDescriptor(U,T).enumerable})),p.push.apply(p,k)}return p}function se(U){for(var D=1;D<arguments.length;D++){var p=arguments[D]!=null?arguments[D]:{};D%2?Jt(Object(p),!0).forEach(function(k){(0,c.Z)(U,k,p[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(p)):Jt(Object(p)).forEach(function(k){Object.defineProperty(U,k,Object.getOwnPropertyDescriptor(p,k))})}return U}function Be(U,D){var p=typeof Symbol!="undefined"&&U[Symbol.iterator]||U["@@iterator"];if(!p){if(Array.isArray(U)||(p=Ve(U))||D&&U&&typeof U.length=="number"){p&&(U=p);var k=0,T=function(){};return{s:T,n:function(){return k>=U.length?{done:!0}:{done:!1,value:U[k++]}},e:function(ie){throw ie},f:T}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
6In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var V,W=!0,H=!1;return{s:function(){p=p.call(U)},n:function(){var ie=p.next();return W=ie.done,ie},e:function(ie){H=!0,V=ie},f:function(){try{W||p.return==null||p.return()}finally{if(H)throw V}}}}function Ve(U,D){if(U){if(typeof U=="string")return Ie(U,D);var p={}.toString.call(U).slice(8,-1);return p==="Object"&&U.constructor&&(p=U.constructor.name),p==="Map"||p==="Set"?Array.from(U):p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p)?Ie(U,D):void 0}}function Ie(U,D){(D==null||D>U.length)&&(D=U.length);for(var p=0,k=Array(D);p<D;p++)k[p]=U[p];return k}var Oe="LocalOverride:Recognized",xe="STATSIG_OVERRIDES",ct="STATSIG_JS_LITE_LOCAL_OVERRIDES",lt=function(){return{gates:{},configs:{},layers:{}}},ut=function(D,p){return p+":"+D},er=function(){function U(D){(0,o.Z)(this,U),this._overrides=lt(),this._djb2Map=new Map,this._localStorageKey=D}return(0,a.Z)(U,[{key:"parseStoredOverrides",value:function(p){try{var k=window.localStorage.getItem(p);return k?JSON.parse(k):lt()}catch(T){return lt()}}},{key:"mergeOverrides",value:function(){for(var p=lt(),k=arguments.length,T=new Array(k),V=0;V<k;V++)T[V]=arguments[V];for(var W=0,H=T;W<H.length;W++){for(var J=H[W],ie=0,De=Object.entries((Le=J.gates)!==null&&Le!==void 0?Le:{});ie<De.length;ie++){var Le,Ue=(0,i.Z)(De[ie],2),at=Ue[0],pt=Ue[1];p.gates[at]=pt}for(var st=0,wt=Object.entries((Xe=J.configs)!==null&&Xe!==void 0?Xe:{});st<wt.length;st++){var Xe,ar=(0,i.Z)(wt[st],2),_r=ar[0],Or=ar[1];p.configs[_r]=Or}
6for(var wr=0,kr=Object.entries((Er=J.layers)!==null&&Er!==void 0?Er:{});wr<kr.length;wr++){var Er,O=(0,i.Z)(kr[wr],2),C=O[0],L=O[1];p.layers[C]=L}}return p}},{key:"initFromStoredOverrides",value:function(){var p=this.mergeOverrides(this._overrides,this.parseStoredOverrides(ct),this.parseStoredOverrides(this._localStorageKey));try{window.localStorage.removeItem(ct)}catch(Le){}for(var k=0,T=Object.values(p);k<T.length;k++){var V=T[k],W=new Set(Object.keys(V)),H=Be(W),J;try{for(H.s();!(J=H.n()).done;){var ie=J.value,De=(0,_t._DJB2)(ie);W.has(De)&&delete V[De]}}catch(Le){H.e(Le)}finally{H.f()}}this.applyOverrides(p)}},{key:"saveOverrides",value:function(){try{window.localStorage.setItem(this._localStorageKey,JSON.stringify(this._overrides))}catch(p){}}},{key:"getOverrides",value:function(){return this.mergeOverrides(this._overrides)}},{key:"applyOverrides",value:function(p){var k=se(se({},lt()),p);this._djb2Map.clear();for(var T=0,V=Object.entries(k);T<V.length;T++)for(var W=(0,i.Z)(V[T],2),H=W[0],J=W[1],ie=0,De=Object.entries(J);ie<De.length;ie++){var Le=(0,i.Z)(De[ie],2),Ue=Le[0],at=Le[1];this._djb2Map.set(ut((0,_t._DJB2)(Ue),H),at)}this._overrides=k}},{key:"setOverrides",value:function(p){this.applyOverrides(p),this.saveOverrides()}},{key:"overrideGate",value:function(p,k){this._overrides.gates[p]=k,this._djb2Map.set(ut((0,_t._DJB2)(p),"gates"),k),this.saveOverrides()}},{key:"removeGateOverride",value:function(p){delete this._overrides.gates[p],this._djb2Map.delete(ut((0,_t._DJB2)(p),"gates")),this.saveOverrides()}},{key:"getGateOverride",value:function(p,k){var T,V=(T=this._overrides.gates[p.name])!==null&&T!==void 0?T:this._djb2Map.get(ut(p.name,"gates"));return V==null?null:se(se({},p),{},{value:V,details:se(se({},p.details),{},{reason:Oe})})}},{key:"overrideDynamicConfig",value:function(p,k){this._overrides.configs[p]=k,this._djb2Map.set(ut((0,_t._DJB2)(p),"configs"),k),this.saveOverrides()}},{key:"removeDynamicConfigOverride",value:function(p){delete this._overrides.configs[p],this._djb2Map.delete(ut((0,_t._DJB2)(p),"configs")),this.saveOverrides()}},{key:"getDynamicConfigOverride",value:function(p,k){return this._getConfigOverride(p,this._overrides.configs)}},{key:"overrideExperiment",value:function(p,k){this._overrides.configs[p]=k,this._djb2Map.set(ut((0,_t._DJB2)(p),"configs"),k),this.saveOverrides()}},{key:"removeExperimentOverride",value:function(p){delete this._overrides.configs[p],this._djb2Map.delete(ut((0,_t._DJB2)(p),"configs")),this.saveOverrides()}},{key:"getExperimentOverride",value:function(p,k){return this._getConfigOverride(p,this._overrides.configs)}},{key:"overrideLayer",value:function(p,k){this._overrides.layers[p]=k,this._djb2Map.set(ut((0,_t._DJB2)(p),"layers"),k),this.saveOverrides()}},{key:"removeLayerOverride",value:function(p){delete this._overrides.layers[p],this._djb2Map.delete(ut((0,_t._DJB2)(p),"layers")),this.saveOverrides()}},{key:"removeAllOverrides",value:function(){this._overrides=lt();try{window.localStorage.removeItem(this._localStorageKey)}catch(p){}}},{key:"getLayerOverride",value:function(p,k){var T,V=(T=this._overrides.layers[p.name])!==null&&T!==void 0?T:this._djb2Map.get(ut(p.name,"layers"));return V==null?null:se(se({},p),{},{__value:V,get:(0,_t._makeTypedGet)(p.name,V),details:se(se({},p.details),{},{reason:Oe})})}},{key:"_getConfigOverride",value:function(p,k){var T,V=(T=k[p.name])!==null&&T!==void 0?T:this._djb2Map.get(ut(p.name,"configs"));return V==null?null:se(se({},p),{},{value:V,get:(0,_t._makeTypedGet)(p.name,V),details:se(se({},p.details),{},{reason:Oe})})}}])}(),we=["sdkKey","environment","updateUserCompletionCallback","perimeter"];function oe(U,D){var p=Object.keys(U);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(U);D&&(k=k.filter(function(T){return Object.getOwnPropertyDescriptor(U,T).enumerable})),p.push.apply(p,k)}return p}function ye(U){for(var D=1;D<arguments.length;D++){var p=arguments[D]!=null?arguments[D]:{};D%2?oe(Object(p),!0).forEach(function(k){(0,c.Z)(U,k,p[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(p)):oe(Object(p)).forEac
6h(function(k){Object.defineProperty(U,k,Object.getOwnPropertyDescriptor(p,k))})}return U}var tt="client-default-key",mt="https://xp.atlassian.com/v1/rgstr",Vt=function(){function U(){var D=this,p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},k=p.localStorageKey,T=k===void 0?xe:k,V=p.overrideAdapter;(0,o.Z)(this,U),(0,c.Z)(this,"initPromise",null),(0,c.Z)(this,"initCompleted",!1),(0,c.Z)(this,"initWithDefaults",!1),(0,c.Z)(this,"hasCheckGateErrorOccurred",!1),(0,c.Z)(this,"hasGetExperimentErrorOccurred",!1),(0,c.Z)(this,"hasGetExperimentValueErrorOccurred",!1),(0,c.Z)(this,"hasGetLayerErrorOccurred",!1),(0,c.Z)(this,"hasGetLayerValueErrorOccurred",!1),(0,c.Z)(this,"subscriptions",new b),(0,c.Z)(this,"dataAdapter",new Wt),(0,c.Z)(this,"statsigValuesUpdated",function(){D.user&&D.statsigClient.updateUserSync(D.user,{disableBackgroundCacheRefresh:!0}),D.subscriptions.anyUpdated()}),this.overrideAdapter=V||new er(T)}return(0,a.Z)(U,[{key:"initialize",value:function(){var D=s(l().mark(function k(T,V,W){var H=this,J,ie;return l().wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:if(J=ae(T),!this.initPromise){Le.next=4;break}return M(J,this.initOptions)||console.warn("Feature Gates client already initialized with different options. New options were not applied."),Le.abrupt("return",this.initPromise);case 4:return ie=performance.now(),this.initOptions=J,this.initPromise=this.init(J,V,W).then(function(){H.initCompleted=!0,H.initWithDefaults=!0}).finally(function(){var Ue=performance.now(),at=Ue-ie;H.fireClientEvent(ie,at,"initialize",H.initCompleted,J.apiKey)}),Le.abrupt("return",this.initPromise);case 8:case"end":return Le.stop()}},k,this)}));function p(k,T,V){return D.apply(this,arguments)}return p}()},{key:"initializeWithProvider",value:function(){var D=s(l().mark(function k(T,V,W,H){var J=this,ie,De;return l().wrap(function(Ue){for(;;)switch(Ue.prev=Ue.next){case 0:if(ie=ae(T),!this.initPromise){Ue.next=4;break}return M(ie,this.initOptions)||console.warn("Feature Gates client already initialized with different options. New options were not applied."),Ue.abrupt("return",this.initPromise);case 4:return De=performance.now(),this.initOptions=ie,this.provider=V,this.provider.setClientVersion(rt),this.provider.setApplyUpdateCallback&&this.provider.setApplyUpdateCallback(this.applyUpdateCallback.bind(this)),this.initPromise=this.initWithProvider(ie,V,W,H).then(function(){J.initCompleted=!0,J.
6initWithDefaults=!0}).finally(function(){var at=performance.now(),pt=at-De;J.fireClientEvent(De,pt,"initializeWithProvider",J.initCompleted,V.getApiKey?V.getApiKey():void 0)}),Ue.abrupt("return",this.initPromise);case 11:case"end":return Ue.stop()}},k,this)}));function p(k,T,V,W){return D.apply(this,arguments)}return p}()},{key:"applyUpdateCallback",value:function(p){try{(this.initCompleted||this.initWithDefaults)&&(this.assertInitialized(this.statsigClient),this.dataAdapter.setBootstrapData(p.experimentValues),this.dataAdapter.setData(JSON.stringify(p.experimentValues)),this.statsigValuesUpdated())}catch(k){console.warn("Error when attempting to apply update",k)}}},{key:"fireClientEvent",value:function(p,k,T,V){var W,H=this,J=arguments.length>4&&arguments[4]!==void 0?arguments[4]:void 0;(W=this.initOptions.analyticsWebClient)===null||W===void 0||W.then(function(ie){var De=ye({targetApp:H.initOptions.targetApp,clientVersion:rt,success:V,startTime:p,totalTime:k},J&&{apiKey:J});ie.sendOperationalEvent({action:T,actionSubject:"featureGatesClient",attributes:De,tags:["measurement"],source:"@atlaskit/feature-gate-js-client"})}).catch(function(ie){H.initOptions.environment!==P.Production&&console.error("Analytics web client promise did not resolve",ie)})}},{key:"initializeFromValues",value:function(){var D=s(l().mark(function k(T,V,W){var H=this,J,ie,De,Le=arguments;return l().wrap(function(at){for(;;)switch(at.prev=at.next){case 0:if(J=Le.length>3&&Le[3]!==void 0?Le[3]:{},ie=ae(T),!this.initPromise){at.next=5;break}return M(ie,this.initOptions)||console.warn("Feature Gates client already initialized with different options. New options were not applied."),at.abrupt("return",this.initPromise);case 5:return Object.prototype.hasOwnProperty.call(J,"has_updates")||(J.has_updates=!0),De=performance.now(),this.initOptions=ie,this.initPromise=this.initFromValues(ie,V,W,J).then(function(){H.initCompleted=!0,H.initWithDefaults=!0}).finally(function(){var pt=performance.now(),st=pt-De;H.fireClientEvent(De,st,"initializeFromValues",H.initCompleted)}),at.abrupt("return",this.initPromise);case 10:case"end":return at.stop()}},k,this)}));function p(k,T,V){return D.apply(this,arguments)}return p}()},{key:"assertInitialized",value:function(p){if(!p)throw new Error("Client must be initialized before using this method")}},{key:"updateUser",value:function(){var D=s(l().mark(function k(T,V,W){var H,J;return l().wrap(function(De){for(;;)switch(De.prev=De.next){case 0:return this.assertInitialized(this.statsigClient),H=ae(T),J=function(){return Ct.fetchExperimentValues(H,V,W).then(function(Ue){var at=Ue.experimentValues,pt=Ue.customAttributes;return{experimentValues:at,customAttributesFromFetch:pt}})},De.next=5,this.updateUserUsingInitializeValuesProducer(J,V,W);case 5:case"end":return De.stop()}},k,this)}));function p(k,T,V){return D.apply(this,arguments)}return p}()},{key:"updateUserWithProvider",value:function(){var D=s(l().mark(function k(T,V){var W=this;return l().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:if(this.assertInitialized(this.statsigClient),this.provider){J.next=3;break}throw new Error("Cannot update user using provider as the client was not initialised with a provider");case 3:return J.next=5,this.provider.setProfile(this.initOptions,T,V);
6case 5:return J.next=7,this.updateUserUsingInitializeValuesProducer(function(){return W.provider.getExperimentValues()},T,V);case 7:case"end":return J.stop()}},k,this)}));function p(k,T){return D.apply(this,arguments)}return p}()},{key:"updateUserWithValues",value:function(){var D=s(l().mark(function k(T,V){var W,H,J=arguments;return l().wrap(function(De){for(;;)switch(De.prev=De.next){case 0:return W=J.length>2&&J[2]!==void 0?J[2]:{},this.assertInitialized(this.statsigClient),H=function(){return Promise.resolve({experimentValues:W,customAttributesFromFetch:V})},De.next=5,this.updateUserUsingInitializeValuesProducer(H,T,V);case 5:case"end":return De.stop()}},k,this)}));function p(k,T){return D.apply(this,arguments)}return p}()},{key:"initializeCalled",value:function(){return this.initPromise!=null}},{key:"initializeCompleted",value:function(){return this.initCompleted}},{key:"checkGate",value:function(p){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};try{this.assertInitialized(this.statsigClient);var T=k.fireGateExposure,V=T===void 0?!0:T;return this.statsigClient.checkGate(p,{disableExposureLog:!V})}catch(W){return this.hasCheckGateErrorOccurred||(console.warn({msg:"An error has occurred checking the feature gate. Only the first occurrence of this error is logged.",gateName:p,error:W}),this.hasCheckGateErrorOccurred=!0),!1}}},{key:"isGateExist",value:function(p){try{this.assertInitialized(this.statsigClient);var k=this.statsigClient.getFeatureGate(p,{disableExposureLog:!0});return!k.details.reason.includes("Unrecognized")}catch(T){return console.error("Error occurred when trying to check FeatureGate: ".concat(T)),!0}}},{key:"isExperimentExist",value:function(p){try{this.assertInitialized(this.statsigClient);var k=this.statsigClient.getExperiment(p,{disableExposureLog:!0});return!k.details.reason.includes("Unrecognized")}catch(T){return console.error("Error occurred when trying to check Experiment: ".concat(T)),!0}}},{key:"manuallyLogGateExposure",value:function(p){this.assertInitialized(this.statsigClient),this.statsigClient.checkGate(p)}},{key:"getExperiment",value:function(p){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};try{this.assertInitialized(this.statsigClient);var T=k.fireExperimentExposure,V=T===void 0?!0:T;return Re.fromExperiment(this.statsigClient.getExperiment(p,{disableExposureLog:!V}))}catch(W){return this.hasGetExperimentErrorOccurred||(console.warn({msg:"An error has occurred getting the experiment. Only the first occurrence of this error is logged.",experimentName:p,error:W}),this.hasGetExperimentErrorOccurred=!0),new Re(p,{},"",{time:Date.now(),reason:Z.Error})}}},{key:"getExperimentValue",value:function(p,k,T){var V=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},W=this.getExperiment(p,V);try{var H=V.typeGuard;return W.get(k,T,H)}catch(J){return this.hasGetExperimentValueErrorOccurred||(console.warn({msg:"An error has occurred getting the experiment value. Only the first occurrence of this error is logged.",experimentName:p,defaultValue:T,options:V,error:J}),this.hasGetExperimentValueErrorOccurred=!0),T}}},{key:"manuallyLogExperimentExposure",value:function(p){this.assertInitialized(this.statsigClient),this.statsigClient.getExperiment(p)}},{key:"manuallyLogLayerExposure",value:function(p,k){var T;this.assertInitialized(this.statsigClient),(T=this.statsigClient.getLayer(p))===null||T===void 0||T.get(k)}},{key:"shutdownStatsig",value:function(){this.assertInitialized(this.statsigClient),this.statsigClient.shutdown()}},{key:"overrideGate",value:function(p,k){if(this.overrideAdapter.overrideGate(p,k),this.user){var T;(T=this.statsigClient)===null||T===void 0||T.updateUserSync(this.user,{disableBackgroundCacheRefresh:!0})}this.statsigValuesUpdated()}},{key:"clearGateOverride",value:function(p){this.overrideAdapter.removeGateOverride(p),this.statsigValuesUpdated()}},{key:"overrideConfig",value:function(p,k){this.overrideAdapter.overrideDynamicConfig(p,k),this.statsigValuesUpdated()}},{key:"clearConfigOverride",value:function(p){this.overrideAdapter.removeDynamicConfigOverride(p),this.statsigValuesUpdated()}},{key:"setOverrides",value:function(p){this.overrideAdapter.setOverrides(p),this.statsigValuesUpdated()}},{key:"getOverrides",value:function(){return this.overrideAdapter.getOverrides()}},{key:"clearAllOverrides",value:function(){this.overrideAdapter.removeAllOverrides(),this.statsigValuesUpdated()}},{key:"isCurrentUser",value:function(p,k){return M(this.currentIdentifiers,p)&&M(this.currentAttributes,k)}},{key:"onGateUpdated",value:function(p,k){var T=this,V=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},W=function(J){var ie=V.fireGateExposure,De=ie===void 0?!0:ie;De&&T.manuallyLogGateExposure(p);try{k(J)}catch(Le){console.warn("Error calling callback for gate ".concat(p," with value ").concat(J),Le)}};return this.subscriptions.onGateUpdated(p,W,this.checkGate.bind(this),V)}},{key:"onExperimentValueUpdated",value:function(p,k,T,V){var W=this,H=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},J=function(De){var Le=H.fireExperimentExposure,Ue=Le===void 0?!0:Le;Ue&&W.manuallyLogExperimentExposure(p);try{V(De)}catch(at){console.warn("Error calling callback for experiment ".concat(p," with value ").concat(De),at)}};return this.subscriptions.onExperimentValueUpdated(p,k,T,J,this.getExperimentValue.bind(this),H)}},{key:"onAnyUpdated",value:function(p){return this.subscriptions.onAnyUpdated(p)}},{key:"init",value:function(){var D=s(l().mark(function k(T,V,W){var H,J,ie,De,Le,Ue,at,pt;return l().wrap(function(wt){for(;;)switch(wt.prev=wt.next){case 0:return H=ye({},T),wt.prev=1,De=Ct.fetchClientSdk(T).then(function(Xe){return H.sdkKey=Xe.clientSdkKey}),Le=Ct.fetchExperimentValues(T,V,W),wt.next=6,Promise.all([De,Le]);case 6:Ue=wt.sent,at=(0,i.Z)(Ue,2),pt=at[1],J=pt.experimentValues,ie=pt.customAttributes,wt.
6next=20;break;case 13:return wt.prev=13,wt.t0=wt.catch(1),wt.t0 instanceof Error&&console.error("Error occurred when trying to fetch the Feature Gates client values, error: ".concat(wt.t0===null||wt.t0===void 0?void 0:wt.t0.message)),console.warn("Initialising Statsig client without values"),wt.next=19,this.initFromValues(H,V,W);case 19:throw wt.t0;case 20:return wt.abrupt("return",this.initFromValues(H,V,ie,J));case 21:case"end":return wt.stop()}},k,this,[[1,13]])}));function p(k,T,V){return D.apply(this,arguments)}return p}()},{key:"initWithProvider",value:function(){var D=s(l().mark(function k(T,V,W,H){var J,ie,De,Le,Ue,at,pt,st;return l().wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:return J=ye(ye({},T),{},{disableCurrentPageLogging:!0}),Xe.prev=1,Xe.next=4,V.setProfile(T,W,H);case 4:return Le=V.getClientSdkKey().then(function(ar){return J.sdkKey=ar}),Ue=V.getExperimentValues(),Xe.next=8,Promise.all([Le,Ue]);case 8:at=Xe.sent,pt=(0,i.Z)(at,2),st=pt[1],ie=st.experimentValues,De=st.customAttributesFromFetch,Xe.next=22;break;case 15:return Xe.prev=15,Xe.t0=Xe.catch(1),Xe.t0 instanceof Error&&console.error("Error occurred when trying to fetch the Feature Gates client values, error: ".concat(Xe.t0===null||Xe.t0===void 0?void 0:Xe.t0.message)),console.warn("Initialising Statsig client without values"),Xe.next=21,this.initFromValues(J,W,H);case 21:throw Xe.t0;case 22:return Xe.abrupt("return",this.initFromValues(J,W,De,ie));case 23:case"end":return Xe.stop()}},k,this,[[1,15]])}));function p(k,T,V,W){return D.apply(this,arguments)}return p}()},{key:"initFromValues",value:function(){var D=s(l().mark(function k(T,V,W){var H,J,ie,De,Le,Ue,at,pt,st,wt=arguments;return l().wrap(function(ar){for(;;)switch(ar.prev=ar.next){case 0:return J=wt.length>3&&wt[3]!==void 0?wt[3]:{},this.overrideAdapter.initFromStoredOverrides(),this.currentIdentifiers=V,this.currentAttributes=W,ie=ke(T),ie.sdkKey||(ie.sdkKey=tt),(H=ie.networkConfig)!==null&&H!==void 0&&H.logEventUrl||(ie.networkConfig=ye(ye({},ie.networkConfig),{},{logEventUrl:mt})),ie.perimeter===$.FEDRAMP_MODERATE&&(ie.disableLogging=!0),De=ie.sdkKey,Le=ie.environment,Ue=ie.updateUserCompletionCallback,at=ie.perimeter,pt=(0,n.Z)(ie,we),this.user=G(V,W),st=ye(ye({},pt),{},{environment:{tier:Le},includeCurrentPageUrlWithEvents:!1,dataAdapter:this.dataAdapter,overrideAdapter:this.overrideAdapter,logEventCompressionMode:v.LogEventCompressionMode.Forced}),V.stableId?v.StableID.setOverride(V.stableId,De):st.disableStableID=!0,ar.prev=12,this.statsigClient=new v.StatsigClient(De,this.user,st),this.dataAdapter.setBootstrapData(J),ar.next=17,this.statsigClient.initializeAsync();case 17:ar.next=29;break;case 19:return ar.prev=19,ar.t0=ar.catch(12),ar.t0 instanceof Error&&console.error("Error occurred when trying to initialise the Statsig client, error: ".concat(ar.t0===null||ar.t0===void 0?void 0:ar.t0.message)),console.warn("Initialising Statsig client with default sdk key and without values"),this.statsigClient=new v.StatsigClient(tt,this.user,st),this.dataAdapter.setBootstrapData(),ar.next=27,this.statsigClient.initializeAsync();case 27:throw this.initWithDefaults=!0,ar.t0;case 29:case"end":return ar.stop()}},k,this,[[12,19]])}));function p(k,T,V){return D.apply(this,arguments)}return p}()},{key:"updateUserUsingInitializeValuesProducer",value:function(){var D=s(l().mark(function k(T,V,W){var H=this,J,ie,De;return l().wrap(function(Ue){for(;;)switch(Ue.prev=Ue.next){case 0:if(this.assertInitialized(this.statsigClient),this.initPromise){Ue.next=3;break}throw new Error("The client must be initialized before you can update the user.");case 3:if(!this.isCurrentUser(V,W)){Ue.next=5;break}return Ue.abrupt("return",this.initPromise);case 5:return J=this.initPromise,Ue.prev=6,Ue.next=9,this.initPromise;case 9:Ue.next=13;break;case 11:Ue.prev=11,Ue.t0=Ue.catch(6);case 13:return ie=T(),De=this.updateStatsigClientUser(ie,V,W),this.initPromise=De.catch(s(l().mark(function at(){return l().wrap(function(st){for(;;)switch(st.prev=st.next){case 0:if(H.initPromise=J,!H.provider){st.next=4;break}return st.next=4,H.provider.setProfile(H.initOptions,H.currentIdentifiers,H.currentAttributes);case 4:case"end":return st.stop()}},at)}))),Ue.abrupt("return",De);case 17:case"end":return Ue.stop()}},k,this,[[6,11]])}));function p(k,T,V){return D.apply(this,arguments)}return p}()},{key:"updateStatsigClientUser",value:function(){var D=s(l().mark(function k(T,V,W){var H,J,ie,De,Le,Ue,at,pt,st;return l().wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:return this.assertInitialized(this.statsigClient),Xe.prev=1,Xe.next=4,T;case 4:ie=Xe.sent,De=G(V,ie.customAttributesFromFetch),Xe.next=13;break;case 8:throw Xe.prev=8,Xe.t0=Xe.catch(1),at=Xe.t0 instanceof Error?Xe.t0.message:JSON.stringify(Xe.t0),(Le=(Ue=this.initOptions).updateUserCompletionCallback)===null||Le===void 0||Le.call(Ue,!1,at),Xe.t0;case 13:return pt=!0,st=null,Xe.prev=15,this.dataAdapter.setBootstrapData(ie.experimentValues),this.user=De,Xe.next=20,this.statsigClient.updateUserAsync(this.user);case 20:Xe.next=26;break;
6case 22:Xe.prev=22,Xe.t1=Xe.catch(15),pt=!1,st=String(Xe.t1);case 26:if((H=this.initOptions)===null||H===void 0||(J=H.updateUserCompletionCallback)===null||J===void 0||J.call(H,pt,st),!pt){Xe.next=33;break}this.currentIdentifiers=V,this.currentAttributes=W,this.subscriptions.anyUpdated(),Xe.next=34;break;case 33:throw new Error("Failed to update user. An unexpected error occured.");case 34:case"end":return Xe.stop()}},k,this,[[1,8],[15,22]])}));function p(k,T,V){return D.apply(this,arguments)}return p}()},{key:"getPackageVersion",value:function(){return rt}},{key:"getLayer",value:function(p){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};try{this.assertInitialized(this.statsigClient);var T=k.fireLayerExposure,V=T===void 0?!0:T;return Fe.fromLayer(this.statsigClient.getLayer(p,{disableExposureLog:!V}))}catch(W){return this.hasGetLayerErrorOccurred||(console.warn({msg:"An error has occurred getting the layer. Only the first occurrence of this error is logged.",layerName:p,error:W}),this.hasGetLayerErrorOccurred=!0),Fe.fromLayer((0,v._makeLayer)(p,{reason:"Error"},null))}}},{key:"getLayerValue",value:function(p,k,T){var V=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},W=this.getLayer(p,V);try{var H=V.typeGuard;return W.get(k,T,H)}catch(J){return this.hasGetLayerValueErrorOccurred||(console.warn({msg:"An error has occurred getting the layer value. Only the first occurrence of this error is logged.",layerName:p,defaultValue:T,options:V,error:J}),this.hasGetLayerValueErrorOccurred=!0),T}}}])}(),ce,ue=function(){function U(){(0,o.Z)(this,U)}return(0,a.Z)(U,null,[{key:"isGateExists",value:function(p){return this.client.isGateExist(p)}},{key:"isExperimentExists",value:function(p){return this.client.isExperimentExist(p)}}])}();ce=ue,(0,c.Z)(ue,"client",new Vt),(0,c.Z)(ue,"hasCheckGateErrorOccurred",!1),(0,c.Z)(ue,"hasGetExperimentValueErrorOccurred",!1),(0,c.Z)(ue,"checkGate",function(U,D){try{if(typeof window!="undefined"&&window.__CRITERION__&&typeof window.__CRITERION__.getFeatureFlagOverride=="function"){var p=window.__CRITERION__.getFeatureFlagOverride(U);if(p!==void 0)return p}}catch(k){ce.hasCheckGateErrorOccurred||(console.warn({msg:"An error has occurred checking the feature gate from criterion override. Only the first occurrence of this error is logged.",gateName:U,error:k}),ce.hasCheckGateErrorOccurred=!0)}return ce.client.checkGate(U,D)}),(0,c.Z)(ue,"getExperimentValue",function(U,D,p,k){try{if(typeof window!="undefined"&&window.__CRITERION__&&typeof window.__CRITERION__.getExperimentValueOverride=="function"){var T=window.__CRITERION__.getExperimentValueOverride(U,D);if(T!=null)return T}}catch(V){return ce.hasGetExperimentValueErrorOccurred||(console.warn({msg:"An error has occurred getting the experiment value from criterion override. Only the first occurrence of this error is logged.",experimentName:U,defaultValue:p,options:k,error:V}),ce.hasGetExperimentValueErrorOccurred=!0),p}return ce.client.getExperimentValue(U,D,p,k)}),(0,c.Z)(ue,"initializeCalled",ce.client.initializeCalled.bind(ce.client)),(0,c.Z)(ue,"initializeCompleted",ce.client.initializeCompleted.bind(ce.client)),(0,c.Z)(ue,"initialize",ce.client.initialize.bind(ce.client)),(0,c.Z)(ue,"initializeWithProvider",ce.client.initializeWithProvider.bind(ce.client)),(0,c.Z)(ue,"initializeFromValues",ce.client.initializeFromValues.bind(ce.client)),(0,c.Z)(ue,"manuallyLogGateExposure",ce.client.manuallyLogGateExposure.bind(ce.client)),(0,c.Z)(ue,"getExperiment",ce.client.getExperiment.bind(ce.client)),(0,c.Z)(ue,"manuallyLogExperimentExposure",ce.client.manuallyLogExperimentExposure.bind(ce.client)),(0,c.Z)(ue,"manuallyLogLayerExposure",ce.client.manuallyLogLayerExposure.bind(ce.client)),(0,c.Z)(ue,"shutdownStatsig",ce.client.shutdownStatsig.bind(ce.client)),(0,c.Z)(ue,"overrideGate",ce.client.overrideGate.bind(ce.client)),(0,c.Z)(ue,"clearGateOverride",ce.client.clearGateOverride.bind(ce.client)),(0,c.Z)(ue,"overrideConfig",ce.client.overrideConfig.bind(ce.client)),(0,c.Z)(ue,"clearConfigOverride",ce.client.clearConfigOverride.bind(ce.client)),(0,c.Z)(ue,"setOverrides",ce.client.setOverrides.bind(ce.client)),(0,c.Z)(ue,"getOverrides",ce.client.getOverrides.bind(ce.client)),(0,c.Z)(ue,"clearAllOverrides",ce.client.clearAllOverrides.bind(ce.client)),(0,c.Z)(ue,"isCurrentUser",ce.client.isCurrentUser.bind(ce.client)),(0,c.Z)(ue,"onGateUpdated",ce.client.onGateUpdated.bind(ce.client)),(0,c.Z)(ue,"onExperimentValueUpdated",ce.client.onExperimentValueUpdated.bind(ce.client)),(0,c.Z)(ue,"onAnyUpdated",ce.client.onAnyUpdated.bind(ce.client)),(0,c.Z)(ue,"updateUser",ce.client.updateUser.bind(ce.client)),(0,c.Z)(ue,"updateUserWithProvider",ce.client.updateUserWithProvider.bind(ce.client)),(0,c.Z)(ue,"updateUserWithValues",ce.client.updateUserWithValues.bind(ce.client)),(0,c.Z)(ue,"getPackageVersion",ce.client.getPackageVersion.bind(ce.client)),(0,c.Z)(ue,"getLayer",ce.client.getLayer.bind(ce.client)),(0,c.Z)(ue,"getLayerValue",ce.client.getLayerValue.bind(ce.client));var N=ue;if(typeof window!="undefined")if(window.__FEATUREGATES_JS__===void 0)window.__FEATUREGATES_JS__=ue;else{var q,ge;N=window.__FEATUREGATES_JS__;var be=((q=N)===null||q===void 0||(ge=q.getPackageVersion)===null||ge===void 0?void 0:ge.call(q))||"4.10.0 or earlier";if(be!==rt){var Ne=`Multiple versions of FeatureGateClients found on the current page.
7      The currently bound version is `.concat(be," when module version ").concat(rt," was loading.");console.warn(Ne)}}const Ye=N;var He,ze,Ge=(globalThis==null||(He=globalThis.process)===null||He===void 0||(He=He.env)===null||He===void 0?void 0:He.JEST_WORKER_ID)!==void 0,yt=!Ge&&(globalThis==null||(ze=globalThis.process)===null||ze===void 0||(ze=ze.env)===null||ze===void 0?void 0:ze.NODE_ENV)!=="production",ht=function(){var D;yt&&(D=console).debug.apply(D,arguments)},Et="@atlaskit/platform-feature-flags",At="__PLATFORM_FEATURE_FLAGS__",St=typeof process!="undefined"&&typeof process.env!="undefined",vt=St?process.env.ENABLE_PLATFORM_FF==="true":!1,tr=St?process.env.STORYBOOK_ENABLE_PLATFORM_FF==="true":!1,fr=vt||tr,ir={booleanResolver:void 0},Yt=typeof window!="undefined"?window:globalThis;Yt[At]=Yt[At]||ir;function sr(U){Yt[At].booleanResolver=U}function Xt(U){if(fr)return ht('[%s]: The feature flags were enabled while running tests. The flag "%s" will be always enabled.',Et,U),!0;try{var D,p,k;if(((D=Yt[At])===null||D===void 0?void 0:D.booleanResolver)===void 0||((p=Yt[At])===null||p===void 0?void 0:p.booleanResolver)===null)return Ye.checkGate(U);var T=(k=Yt[At])===null||k===void 0?void 0:k.booleanResolver(U);return typeof T!="boolean"?(console.warn("".concat(U," resolved to a non-boolean value, returning false for safety")),!1):T}catch(V){return!1}}function vr(U){setBooleanResolver(U)}function gr(U){return resolveBooleanFlag(U)}function cr(U){return Xt(U)}},8347:(y,t,e)=>{"use strict";e.d(t,{r:()=>Er});var o=e(4978),a=e(220),c=e(548),n=e.n(c),i=e(4805),r=e(3804),s=e(1438);function u(O){if(O==null)return window;if(O.toString()!=="[object Window]"){var C=O.ownerDocument;return C&&C.defaultView||window}return O}function l(O){var C=u(O).Element;return O instanceof C||O instanceof Element}function v(O){var C=u(O).HTMLElement;return O instanceof C||O instanceof HTMLElement}function d(O){if(typeof ShadowRoot=="undefined")return!1;var C=u(O).ShadowRoot;return O instanceof C||O instanceof ShadowRoot}var f=Math.max,g=Math.min,h=Math.round;function m(){var O=navigator.userAgentData;return O!=null&&O.brands&&Array.isArray(O.brands)?O.brands.map(function(C){return C.brand+"/"+C.version}).join(" "):navigator.userAgent}function b(){return!/^((?!chrome|android).)*safari/i.test(m())}function x(O,C,L){C===void 0&&(C=!1),L===void 0&&(L=!1);var Q=O.getBoundingClientRect(),te=1,ve=1;C&&v(O)&&(te=O.offsetWidth>0&&h(Q.width)/O.offsetWidth||1,ve=O.offsetHeight>0&&h(Q.height)/O.offsetHeight||1);
vendor: 4,702 bytes, line 7
7var Ae=l(O)?u(O):window,me=Ae.visualViewport,pe=!b()&&L,Ze=(Q.left+(pe&&me?me.offsetLeft:0))/te,Se=(Q.top+(pe&&me?me.offsetTop:0))/ve,ot=Q.width/te,bt=Q.height/ve;return{width:ot,height:bt,top:Se,right:Ze+ot,bottom:Se+bt,left:Ze,x:Ze,y:Se}}function R(O){var C=u(O),L=C.pageXOffset,Q=C.pageYOffset;return{scrollLeft:L,scrollTop:Q}}function w(O){return{scrollLeft:O.scrollLeft,scrollTop:O.scrollTop}}function j(O){return O===u(O)||!v(O)?R(O):w(O)}function A(O){return O?(O.nodeName||"").toLowerCase():null}function E(O){return((l(O)?O.ownerDocument:O.document)||window.document).documentElement}function I(O){return x(E(O)).left+R(O).scrollLeft}function z(O){return u(O).getComputedStyle(O)}function Z(O){var C=z(O),L=C.overflow,Q=C.overflowX,te=C.overflowY;return/auto|scroll|overlay|hidden/.test(L+te+Q)}function P(O){var C=O.getBoundingClientRect(),L=h(C.width)/O.offsetWidth||1,Q=h(C.height)/O.offsetHeight||1;return L!==1||Q!==1}function $(O,C,L){L===void 0&&(L=!1);var Q=v(C),te=v(C)&&P(C),ve=E(C),Ae=x(O,te,L),me={scrollLeft:0,scrollTop:0},pe={x:0,y:0};return(Q||!Q&&!L)&&((A(C)!=="body"||Z(ve))&&(me=j(C)),v(C)?(pe=x(C,!0),pe.x+=C.clientLeft,pe.y+=C.clientTop):ve&&(pe.x=I(ve))),{x:Ae.left+me.scrollLeft-pe.x,y:Ae.top+me.scrollTop-pe.y,width:Ae.width,height:Ae.height}}function K(O){var C=x(O),L=O.offsetWidth,Q=O.offsetHeight;return Math.abs(C.width-L)<=1&&(L=C.width),Math.abs(C.height-Q)<=1&&(Q=C.height),{x:O.offsetLeft,y:O.offsetTop,width:L,height:Q}}function X(O){return A(O)==="html"?O:O.assignedSlot||O.parentNode||(d(O)?O.host:null)||E(O)}function le(O){return["html","body","#document"].indexOf(A(O))>=0?O.ownerDocument.body:v(O)&&Z(O)?O:le(X(O))}function fe(O,C){var L;C===void 0&&(C=[]);var Q=le(O),te=Q===((L=O.ownerDocument)==null?void 0:L.body),ve=u(Q),Ae=te?[ve].concat(ve.visualViewport||[],Z(Q)?Q:[]):Q,me=C.concat(Ae);return te?me:me.concat(fe(X(Ae)))}function ae(O){return["table","td","th"].indexOf(A(O))>=0}function M(O){return!v(O)||z(O).position==="fixed"?null:O.offsetParent}function G(O){var C=/firefox/i.test(m()),L=/Trident/i.test(m());if(L&&v(O)){var Q=z(O);if(Q.position==="fixed")return null}var te=X(O);for(d(te)&&(te=te.host);v(te)&&["html","body"].indexOf(A(te))<0;){var ve=z(te);if(ve.transform!=="none"||ve.perspective!=="none"||ve.contain==="paint"||["transform","perspective"].indexOf(ve.willChange)!==-1||C&&ve.willChange==="filter"||C&&ve.filter&&ve.filter!=="none")return te;te=te.parentNode}return null}function ke(O){for(var C=u(O),L=M(O);L&&ae(L)&&z(L).position==="static";)L=M(L);return L&&(A(L)==="html"||A(L)==="body"&&z(L).position==="static")?C:L||G(O)||C}var ne="top",Ee="bottom",Te="right",Re="left",Fe="auto",rt=[ne,Ee,Te,Re],$e="start",dt="end",et="clippingParents",Nt="viewport",je="popper",Mt="reference",zt=rt.reduce(function(O,C){return O.concat([C+"-"+$e,C+"-"+dt])},[]),Tt=[].concat(rt,[Fe]).reduce(function(O,C){return O.concat([C,C+"-"+$e,C+"-"+dt])},[]),$t="beforeRead",de="read",ee="afterRead",_e="beforeMain",Pe="main",Ke="afterMain",Ce="beforeWrite",Je="write",We="afterWrite",It=[$t,de,ee,_e,Pe,Ke,Ce,Je,We];function Y(O){var C=new Map,L=new Set,Q=[];O.forEach(function(ve){C.set(ve.name,ve)});function te(ve){L.add(ve.name);var Ae=[].concat(ve.requires||[],ve.requiresIfExists||[]);Ae.forEach(function(me){if(!L.has(me)){var pe=C.get(me);pe&&te(pe)}}),Q.push(ve)}return O.forEach(function(ve){L.has(ve.name)||te(ve)}),Q}function Ct(O){var C=Y(O);return It.reduce(function(L,Q){return L.concat(C.filter(function(te){return te.phase===Q}))},[])}function jt(O){var C;return function(){return C||(C=new Promise(function(L){Promise.resolve().then(function(){C=void 0,L(O())})})),C}}function Ft(O){var C=O.reduce(function(L,Q){var te=L[Q.name];return L[Q.name]=te?Object.assign({},te,Q,{options:Object.assign({},te.options,Q.options),data:Object.assign({},te.data,Q.data)}):Q,L},{});return Object.keys(C).map(function(L){return C[L]})}var Rt={placement:"bottom",modifiers:[],strategy:"absolute"};function qt(){for(var O=arguments.length,C=new Array(O),L=0;L<O;L++)C[L]=arguments[L];return!C.some(function(Q){return!(Q&&typeof Q.getBoundingClientRect=="function")})}function Ht(O){O===void 0&&(O={});var C=O,L=C.defaultModifiers,Q=L===void 0?[]:L,te=C.defaultOptions,ve=te===void 0?Rt:te;return function(me,pe,Ze){Ze===void 0&&(Ze=ve);var Se={placement:"bottom",orderedModifiers:[],options:Object.assign({},Rt,ve),modifiersData:{},elements:{reference:me,popper:pe},attributes:{},styles:{}},ot=[],bt=!1,Qe={state:Se,setOptions:function(Pt){var Bt=typeof Pt=="function"?Pt(Se.options):Pt;ft(),Se.options=Object.assign({},ve,Se.options,Bt),Se.scrollParents={reference:l(me)?fe(me):me.contextElement?fe(me.contextElement):[],popper:fe(pe)};
vendor: 4,075 bytes, line 7
7var Zt=Ct(Ft([].concat(Q,Se.options.modifiers)));return Se.orderedModifiers=Zt.filter(function(it){return it.enabled}),xt(),Qe.update()},forceUpdate:function(){if(!bt){var Pt=Se.elements,Bt=Pt.reference,Zt=Pt.popper;if(qt(Bt,Zt)){Se.rects={reference:$(Bt,ke(Zt),Se.options.strategy==="fixed"),popper:K(Zt)},Se.reset=!1,Se.placement=Se.options.placement,Se.orderedModifiers.forEach(function(F){return Se.modifiersData[F.name]=Object.assign({},F.data)});for(var it=0;it<Se.orderedModifiers.length;it++){if(Se.reset===!0){Se.reset=!1,it=-1;continue}var Lt=Se.orderedModifiers[it],Ut=Lt.fn,rr=Lt.options,_=rr===void 0?{}:rr,S=Lt.name;typeof Ut=="function"&&(Se=Ut({state:Se,options:_,name:S,instance:Qe})||Se)}}}},update:jt(function(){return new Promise(function(nt){Qe.forceUpdate(),nt(Se)})}),destroy:function(){ft(),bt=!0}};if(!qt(me,pe))return Qe;Qe.setOptions(Ze).then(function(nt){!bt&&Ze.onFirstUpdate&&Ze.onFirstUpdate(nt)});function xt(){Se.orderedModifiers.forEach(function(nt){var Pt=nt.name,Bt=nt.options,Zt=Bt===void 0?{}:Bt,it=nt.effect;if(typeof it=="function"){var Lt=it({state:Se,name:Pt,instance:Qe,options:Zt}),Ut=function(){};ot.push(Lt||Ut)}})}function ft(){ot.forEach(function(nt){return nt()}),ot=[]}return Qe}}var nr=null,Wt={passive:!0};function _t(O){var C=O.state,L=O.instance,Q=O.options,te=Q.scroll,ve=te===void 0?!0:te,Ae=Q.resize,me=Ae===void 0?!0:Ae,pe=u(C.elements.popper),Ze=[].concat(C.scrollParents.reference,C.scrollParents.popper);return ve&&Ze.forEach(function(Se){Se.addEventListener("scroll",L.update,Wt)}),me&&pe.addEventListener("resize",L.update,Wt),function(){ve&&Ze.forEach(function(Se){Se.removeEventListener("scroll",L.update,Wt)}),me&&pe.removeEventListener("resize",L.update,Wt)}}const Jt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:_t,data:{}};function se(O){return O.split("-")[0]}function Be(O){return O.split("-")[1]}function Ve(O){return["top","bottom"].indexOf(O)>=0?"x":"y"}function Ie(O){var C=O.reference,L=O.element,Q=O.placement,te=Q?se(Q):null,ve=Q?Be(Q):null,Ae=C.x+C.width/2-L.width/2,me=C.y+C.height/2-L.height/2,pe;switch(te){case ne:pe={x:Ae,y:C.y-L.height};break;case Ee:pe={x:Ae,y:C.y+C.height};break;case Te:pe={x:C.x+C.width,y:me};break;case Re:pe={x:C.x-L.width,y:me};break;default:pe={x:C.x,y:C.y}}var Ze=te?Ve(te):null;if(Ze!=null){var Se=Ze==="y"?"height":"width";switch(ve){case $e:pe[Ze]=pe[Ze]-(C[Se]/2-L[Se]/2);break;case dt:pe[Ze]=pe[Ze]+(C[Se]/2-L[Se]/2);break;default:}}return pe}function Oe(O){var C=O.state,L=O.name;C.modifiersData[L]=Ie({reference:C.rects.reference,element:C.rects.popper,strategy:"absolute",placement:C.placement})}const xe={name:"popperOffsets",enabled:!0,phase:"read",fn:Oe,data:{}};var ct={top:"auto",right:"auto",bottom:"auto",left:"auto"};function lt(O,C){var L=O.x,Q=O.y,te=C.devicePixelRatio||1;return{x:h(L*te)/te||0,y:h(Q*te)/te||0}}function ut(O){var C,L=O.popper,Q=O.popperRect,te=O.placement,ve=O.variation,Ae=O.offsets,me=O.position,pe=O.gpuAcceleration,Ze=O.adaptive,Se=O.roundOffsets,ot=O.isFixed,bt=Ae.x,Qe=bt===void 0?0:bt,xt=Ae.y,ft=xt===void 0?0:xt,nt=typeof Se=="function"?Se({x:Qe,y:ft}):{x:Qe,y:ft};Qe=nt.x,ft=nt.y;var Pt=Ae.hasOwnProperty("x"),Bt=Ae.hasOwnProperty("y"),Zt=Re,it=ne,Lt=window;if(Ze){var Ut=ke(L),rr="clientHeight",_="clientWidth";if(Ut===u(L)&&(Ut=E(L),z(Ut).position!=="static"&&me==="absolute"&&(rr="scrollHeight",_="scrollWidth")),Ut=Ut,te===ne||(te===Re||te===Te)&&ve===dt){it=Ee;var S=ot&&Ut===Lt&&Lt.visualViewport?Lt.visualViewport.height:Ut[rr];ft-=S-Q.height,ft*=pe?1:-1}if(te===Re||(te===ne||te===Ee)&&ve===dt){Zt=Te;var F=ot&&Ut===Lt&&Lt.visualViewport?Lt.visualViewport.width:Ut[_];Qe-=F-Q.width,Qe*=pe?1:-1}}var B=Object.assign({position:me},Ze&&ct),re=Se===!0?lt({x:Qe,y:ft},u(L)):{x:Qe,y:ft};if(Qe=re.x,ft=re.y,pe){var he;return Object.assign({},B,(he={},he[it]=Bt?"0":"",he[Zt]=Pt?"0":"",he.transform=(Lt.devicePixelRatio||1)<=1?"translate("+Qe+"px, "+ft+"px)":"translate3d("+Qe+"px, "+ft+"px, 0)",he))}return Object.assign({},B,(C={},C[it]=Bt?ft+"px":"",C[Zt]=Pt?Qe+"px":"",C.transform="",C))}
vendor: 11,619 bytes, line 7
7function er(O){var C=O.state,L=O.options,Q=L.gpuAcceleration,te=Q===void 0?!0:Q,ve=L.adaptive,Ae=ve===void 0?!0:ve,me=L.roundOffsets,pe=me===void 0?!0:me,Ze={placement:se(C.placement),variation:Be(C.placement),popper:C.elements.popper,popperRect:C.rects.popper,gpuAcceleration:te,isFixed:C.options.strategy==="fixed"};C.modifiersData.popperOffsets!=null&&(C.styles.popper=Object.assign({},C.styles.popper,ut(Object.assign({},Ze,{offsets:C.modifiersData.popperOffsets,position:C.options.strategy,adaptive:Ae,roundOffsets:pe})))),C.modifiersData.arrow!=null&&(C.styles.arrow=Object.assign({},C.styles.arrow,ut(Object.assign({},Ze,{offsets:C.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:pe})))),C.attributes.popper=Object.assign({},C.attributes.popper,{"data-popper-placement":C.placement})}const we={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:er,data:{}};function oe(O){var C=O.state;Object.keys(C.elements).forEach(function(L){var Q=C.styles[L]||{},te=C.attributes[L]||{},ve=C.elements[L];!v(ve)||!A(ve)||(Object.assign(ve.style,Q),Object.keys(te).forEach(function(Ae){var me=te[Ae];me===!1?ve.removeAttribute(Ae):ve.setAttribute(Ae,me===!0?"":me)}))})}function ye(O){var C=O.state,L={popper:{position:C.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(C.elements.popper.style,L.popper),C.styles=L,C.elements.arrow&&Object.assign(C.elements.arrow.style,L.arrow),function(){Object.keys(C.elements).forEach(function(Q){var te=C.elements[Q],ve=C.attributes[Q]||{},Ae=Object.keys(C.styles.hasOwnProperty(Q)?C.styles[Q]:L[Q]),me=Ae.reduce(function(pe,Ze){return pe[Ze]="",pe},{});!v(te)||!A(te)||(Object.assign(te.style,me),Object.keys(ve).forEach(function(pe){te.removeAttribute(pe)}))})}}const tt={name:"applyStyles",enabled:!0,phase:"write",fn:oe,effect:ye,requires:["computeStyles"]};function mt(O,C,L){var Q=se(O),te=[Re,ne].indexOf(Q)>=0?-1:1,ve=typeof L=="function"?L(Object.assign({},C,{placement:O})):L,Ae=ve[0],me=ve[1];return Ae=Ae||0,me=(me||0)*te,[Re,Te].indexOf(Q)>=0?{x:me,y:Ae}:{x:Ae,y:me}}function Vt(O){var C=O.state,L=O.options,Q=O.name,te=L.offset,ve=te===void 0?[0,0]:te,Ae=Tt.reduce(function(Se,ot){return Se[ot]=mt(ot,C.rects,ve),Se},{}),me=Ae[C.placement],pe=me.x,Ze=me.y;C.modifiersData.popperOffsets!=null&&(C.modifiersData.popperOffsets.x+=pe,C.modifiersData.popperOffsets.y+=Ze),C.modifiersData[Q]=Ae}const ce={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Vt};var ue={left:"right",right:"left",bottom:"top",top:"bottom"};function N(O){return O.replace(/left|right|bottom|top/g,function(C){return ue[C]})}var q={start:"end",end:"start"};function ge(O){return O.replace(/start|end/g,function(C){return q[C]})}function be(O,C){var L=u(O),Q=E(O),te=L.visualViewport,ve=Q.clientWidth,Ae=Q.clientHeight,me=0,pe=0;if(te){ve=te.width,Ae=te.height;var Ze=b();(Ze||!Ze&&C==="fixed")&&(me=te.offsetLeft,pe=te.offsetTop)}return{width:ve,height:Ae,x:me+I(O),y:pe}}function Ne(O){var C,L=E(O),Q=R(O),te=(C=O.ownerDocument)==null?void 0:C.body,ve=f(L.scrollWidth,L.clientWidth,te?te.scrollWidth:0,te?te.clientWidth:0),Ae=f(L.scrollHeight,L.clientHeight,te?te.scrollHeight:0,te?te.clientHeight:0),me=-Q.scrollLeft+I(O),pe=-Q.scrollTop;return z(te||L).direction==="rtl"&&(me+=f(L.clientWidth,te?te.clientWidth:0)-ve),{width:ve,height:Ae,x:me,y:pe}}function Ye(O,C){var L=C.getRootNode&&C.getRootNode();if(O.contains(C))return!0;if(L&&d(L)){var Q=C;do{if(Q&&O.isSameNode(Q))return!0;Q=Q.parentNode||Q.host}while(Q)}return!1}function He(O){return Object.assign({},O,{left:O.x,top:O.y,right:O.x+O.width,bottom:O.y+O.height})}function ze(O,C){var L=x(O,!1,C==="fixed");return L.top=L.top+O.clientTop,L.left=L.left+O.clientLeft,L.bottom=L.top+O.clientHeight,L.right=L.left+O.clientWidth,L.width=O.clientWidth,L.height=O.clientHeight,L.x=L.left,L.y=L.top,L}function Ge(O,C,L){return C===Nt?He(be(O,L)):l(C)?ze(C,L):He(Ne(E(O)))}function yt(O){var C=fe(X(O)),L=["absolute","fixed"].indexOf(z(O).position)>=0,Q=L&&v(O)?ke(O):O;return l(Q)?C.filter(function(te){return l(te)&&Ye(te,Q)&&A(te)!=="body"}):[]}function ht(O,C,L,Q){var te=C==="clippingParents"?yt(O):[].concat(C),ve=[].concat(te,[L]),Ae=ve[0],me=ve.reduce(function(pe,Ze){var Se=Ge(O,Ze,Q);return pe.top=f(Se.top,pe.top),pe.right=g(Se.right,pe.right),pe.bottom=g(Se.bottom,pe.bottom),pe.left=f(Se.left,pe.left),pe},Ge(O,Ae,Q));return me.width=me.right-me.left,me.height=me.bottom-me.top,me.x=me.left,me.y=me.top,me}function Et(){return{top:0,right:0,bottom:0,left:0}}function At(O){return Object.assign({},Et(),O)}function St(O,C){return C.reduce(function(L,Q){return L[Q]=O,L},{})}function vt(O,C){C===void 0&&(C={});var L=C,Q=L.placement,te=Q===void 0?O.placement:Q,ve=L.strategy,Ae=ve===void 0?O.strategy:ve,me=L.boundary,pe=me===void 0?et:me,Ze=L.rootBoundary,Se=Ze===void 0?Nt:Ze,ot=L.elementContext,bt=ot===void 0?je:ot,Qe=L.altBoundary,xt=Qe===void 0?!1:Qe,ft=L.padding,nt=ft===void 0?0:ft,Pt=At(typeof nt!="number"?nt:St(nt,rt)),Bt=bt===je?Mt:je,Zt=O.rects.popper,it=O.elements[xt?Bt:bt],Lt=ht(l(it)?it:it.contextElement||E(O.elements.popper),pe,Se,Ae),Ut=x(O.elements.reference),rr=Ie({reference:Ut,element:Zt,strategy:"absolute",placement:te}),_=He(Object.assign({},Zt,rr)),S=bt===je?_:Ut,F={top:Lt.top-S.top+Pt.top,bottom:S.bottom-Lt.bottom+Pt.bottom,left:Lt.left-S.left+Pt.left,right:S.right-Lt.right+Pt.right},B=O.modifiersData.offset;if(bt===je&&B){var re=B[te];Object.keys(F).forEach(function(he){var Me=[Te,Ee].indexOf(he)>=0?1:-1,qe=[ne,Ee].indexOf(he)>=0?"y":"x";F[he]+=re[qe]*Me})}return F}function tr(O,C){C===void 0&&(C={});var L=C,Q=L.placement,te=L.boundary,ve=L.rootBoundary,Ae=L.padding,me=L.flipVariations,pe=L.allowedAutoPlacements,Ze=pe===void 0?Tt:pe,Se=Be(Q),ot=Se?me?zt:zt.filter(function(xt){return Be(xt)===Se}):rt,bt=ot.filter(function(xt){return Ze.indexOf(xt)>=0});bt.length===0&&(bt=ot);var Qe=bt.reduce(function(xt,ft){return xt[ft]=vt(O,{placement:ft,boundary:te,rootBoundary:ve,padding:Ae})[se(ft)],xt},{});return Object.keys(Qe).sort(function(xt,ft){return Qe[xt]-Qe[ft]})}function fr(O){if(se(O)===Fe)return[];var C=N(O);return[ge(O),C,ge(C)]}function ir(O){var C=O.state,L=O.options,Q=O.name;if(!C.modifiersData[Q]._skip){for(var te=L.mainAxis,ve=te===void 0?!0:te,Ae=L.altAxis,me=Ae===void 0?!0:Ae,pe=L.fallbackPlacements,Ze=L.padding,Se=L.boundary,ot=L.rootBoundary,bt=L.altBoundary,Qe=L.flipVariations,xt=Qe===void 0?!0:Qe,ft=L.allowedAutoPlacements,nt=C.options.placement,Pt=se(nt),Bt=Pt===nt,Zt=pe||(Bt||!xt?[N(nt)]:fr(nt)),it=[nt].concat(Zt).reduce(function(ur,Kt){return ur.concat(se(Kt)===Fe?tr(C,{placement:Kt,boundary:Se,rootBoundary:ot,padding:Ze,flipVariations:xt,allowedAutoPlacements:ft}):Kt)},[]),Lt=C.rects.reference,Ut=C.rects.popper,rr=new Map,_=!0,S=it[0],F=0;F<it.length;F++){var B=it[F],re=se(B),he=Be(B)===$e,Me=[ne,Ee].indexOf(re)>=0,qe=Me?"width":"height",kt=vt(C,{placement:B,boundary:Se,rootBoundary:ot,altBoundary:bt,padding:Ze}),gt=Me?he?Te:Re:he?Ee:ne;Lt[qe]>Ut[qe]&&(gt=N(gt));var Ot=N(gt),Dt=[];if(ve&&Dt.push(kt[re]<=0),me&&Dt.push(kt[gt]<=0,kt[Ot]<=0),Dt.every(function(ur){return ur})){S=B,_=!1;break}rr.set(B,Dt)}if(_)for(var dr=xt?3:1,pr=function(Kt){var or=it.find(function(hr){var br=rr.get(hr);if(br)return br.slice(0,Kt).every(function(yr){return yr})});if(or)return S=or,"break"},lr=dr;lr>0;lr--){var Qt=pr(lr);if(Qt==="break")break}C.placement!==S&&(C.modifiersData[Q]._skip=!0,C.placement=S,C.reset=!0)}}const Yt={name:"flip",enabled:!0,phase:"main",fn:ir,requiresIfExists:["offset"],data:{_skip:!1}};function sr(O){return O==="x"?"y":"x"}function Xt(O,C,L){return f(O,g(C,L))}function vr(O,C,L){var Q=Xt(O,C,L);return Q>L?L:Q}function gr(O){var C=O.state,L=O.options,Q=O.name,te=L.mainAxis,ve=te===void 0?!0:te,Ae=L.altAxis,me=Ae===void 0?!1:Ae,pe=L.boundary,Ze=L.rootBoundary,Se=L.altBoundary,ot=L.padding,bt=L.tether,Qe=bt===void 0?!0:bt,xt=L.tetherOffset,ft=xt===void 0?0:xt,nt=vt(C,{boundary:pe,rootBoundary:Ze,padding:ot,altBoundary:Se}),Pt=se(C.placement),Bt=Be(C.placement),Zt=!Bt,it=Ve(Pt),Lt=sr(it),Ut=C.modifiersData.popperOffsets,rr=C.rects.reference,_=C.rects.popper,S=typeof ft=="function"?ft(Object.assign({},C.rects,{placement:C.placement})):ft,F=typeof S=="number"?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),B=C.modifiersData.offset?C.modifiersData.offset[C.placement]:null,re={x:0,y:0};if(Ut){if(ve){var he,Me=it==="y"?ne:Re,qe=it==="y"?Ee:Te,kt=it==="y"?"height":"width",gt=Ut[it],Ot=gt+nt[Me],Dt=gt-nt[qe],dr=Qe?-_[kt]/2:0,pr=Bt===$e?rr[kt]:_[kt],lr=Bt===$e?-_[kt]:-rr[kt],Qt=C.elements.arrow,ur=Qe&&Qt?K(Qt):{width:0,height:0},Kt=C.modifiersData["arrow#persistent"]?C.modifiersData["arrow#persistent"].padding:Et(),or=Kt[Me],hr=Kt[qe],br=Xt(0,rr[kt],ur[kt]),yr=Zt?rr[kt]/2-dr-br-or-F.mainAxis:pr-br-or-F.mainAxis,mr=Zt?-rr[kt]/2+dr+br+hr+F.mainAxis:lr+br+hr+F.mainAxis,Gt=C.elements.arrow&&ke(C.elements.arrow),Lr=Gt?it==="y"?Gt.clientTop||0:Gt.clientLeft||0:0,Pr=(he=B==null?void 0:B[it])!=null?he:0,Ur=gt+yr-Pr-Lr,Nr=gt+mr-Pr,Dr=Xt(Qe?g(Ot,Ur):Ot,gt,Qe?f(Dt,Nr):Dt);Ut[it]=Dr,re[it]=Dr-gt}if(me){var Ir,zr=it==="x"?ne:Re,Br=it==="x"?Ee:Te,Sr=Ut[Lt],xr=Lt==="y"?"height":"width",Ar=Sr+nt[zr],Rr=Sr-nt[Br],Cr=[ne,Re].indexOf(Pt)!==-1,Mr=(Ir=B==null?void 0:B[Lt])!=null?Ir:0,Tr=Cr?Ar:Sr-rr[xr]-_[xr]-Mr+F.altAxis,jr=Cr?Sr+rr[xr]+_[xr]-Mr-F.altAxis:Rr,Fr=Qe&&Cr?vr(Tr,Sr,jr):Xt(Qe?Tr:Ar,Sr,Qe?jr:Rr);Ut[Lt]=Fr,re[Lt]=Fr-Sr}C.modifiersData[Q]=re}}const cr={name:"preventOverflow",enabled:!0,phase:"main",fn:gr,requiresIfExists:["offset"]};var U=function(C,L){return C=typeof C=="function"?C(Object.assign({},L.rects,{placement:L.placement})):C,At(typeof C!="number"?C:St(C,rt))};function D(O){var C,L=O.state,Q=O.name,te=O.options,ve=L.elements.arrow,Ae=L.modifiersData.popperOffsets,me=se(L.placement),pe=Ve(me),Ze=[Re,Te].indexOf(me)>=0,Se=Ze?"height":"width";if(!(!ve||!Ae)){var ot=U(te.padding,L),bt=K(ve),Qe=pe==="y"?ne:Re,xt=pe==="y"?Ee:Te,ft=L.rects.reference[Se]+L.rects.reference[pe]-Ae[pe]-L.rects.popper[Se],nt=Ae[pe]-L.rects.reference[pe],Pt=ke(ve),Bt=Pt?pe==="y"?Pt.clientHeight||0:Pt.clientWidth||0:0,Zt=ft/2-nt/2,it=ot[Qe],Lt=Bt-bt[Se]-ot[xt],Ut=Bt/2-bt[Se]/2+Zt,rr=Xt(it,Ut,Lt),_=pe;L.modifiersData[Q]=(C={},C[_]=rr,C.centerOffset=rr-Ut,C)}}function p(O){var C=O.state,L=O.options,Q=L.element,te=Q===void 0?"[data-popper-arrow]":Q;te!=null&&(typeof te=="string"&&(te=C.elements.popper.querySelector(te),!te)||Ye(C.elements.popper,te)&&(C.elements.arrow=te))}const k={name:"arrow",enabled:!0,phase:"main",fn:D,effect:p,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function T(O,C,L){return L===void 0&&(L={x:0,y:0}),{top:O.top-C.height-L.y,right:O.right-C.width+L.x,bottom:O.bottom-C.height+L.y,left:O.left-C.width-L.x}}function V(O){return[ne,Te,Ee,Re].some(function(C){return O[C]>=0})}function W(O){var C=O.state,L=O.name,Q=C.rects.reference,te=C.rects.popper,ve=C.modifiersData.preventOverflow,Ae=vt(C,{elementContext:"reference"}),me=vt(C,{altBoundary:!0}),pe=T(Ae,Q),Ze=T(me,te,ve),Se=V(pe),ot=V(Ze);C.modifiersData[L]={referenceClippingOffsets:pe,popperEscapeOffsets:Ze,isReferenceHidden:Se,hasPopperEscaped:ot},C.attributes.popper=Object.assign({},C.attributes.popper,{"data-popper-reference-hidden":Se,"data-popper-escaped":ot})}var J=[Jt,xe,we,tt,ce,Yt,cr,k,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:W}],ie=Ht({defaultModifiers:J}),De=e(563),Le=e.n(De),Ue=[],at=function(C,L,Q){Q===void 0&&(Q={});var te=c.useRef(null),ve={onFirstUpdate:Q.onFirstUpdate,placement:Q.placement||"bottom",strategy:Q.strategy||"absolute",modifiers:Q.modifiers||Ue}
7,Ae=c.useState({styles:{popper:{position:ve.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),me=Ae[0],pe=Ae[1],Ze=c.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(Qe){var xt=Qe.state,ft=Object.keys(xt.elements);s.flushSync(function(){pe({styles:(0,r.sq)(ft.map(function(nt){return[nt,xt.styles[nt]||{}]})),attributes:(0,r.sq)(ft.map(function(nt){return[nt,xt.attributes[nt]]}))})})},requires:["computeStyles"]}},[]),Se=c.useMemo(function(){var bt={onFirstUpdate:ve.onFirstUpdate,placement:ve.placement,strategy:ve.strategy,modifiers:[].concat(ve.modifiers,[Ze,{name:"applyStyles",enabled:!1}])};return Le()(te.current,bt)?te.current||bt:(te.current=bt,bt)},[ve.onFirstUpdate,ve.placement,ve.strategy,ve.modifiers,Ze]),ot=c.useRef();return(0,r.LI)(function(){ot.current&&ot.current.setOptions(Se)},[Se]),(0,r.LI)(function(){if(!(C==null||L==null)){var bt=Q.createPopper||ie,Qe=bt(C,L,Se);return ot.current=Qe,function(){Qe.destroy(),ot.current=null}}},[C,L,Q.createPopper]),{state:ot.current?ot.current.state:null,styles:me.styles,attributes:me.attributes,update:ot.current?ot.current.update:null,forceUpdate:ot.current?ot.current.forceUpdate:null}},pt=function(){},st=function(){return Promise.resolve(null)},wt=[];function Xe(O){var C=O.placement,L=C===void 0?"bottom":C,Q=O.strategy,te=Q===void 0?"absolute":Q,ve=O.modifiers,Ae=ve===void 0?wt:ve,me=O.referenceElement,pe=O.onFirstUpdate,Ze=O.innerRef,Se=O.children,ot=c.useContext(i.C8),bt=c.useState(null),Qe=bt[0],xt=bt[1],ft=c.useState(null),nt=ft[0],Pt=ft[1];c.useEffect(function(){(0,r.k$)(Ze,Qe)},[Ze,Qe]);var Bt=c.useMemo(function(){return{placement:L,strategy:te,onFirstUpdate:pe,modifiers:[].concat(Ae,[{name:"arrow",enabled:nt!=null,options:{element:nt}}])}},[L,te,pe,Ae,nt]),Zt=at(me||ot,Qe,Bt),it=Zt.state,Lt=Zt.styles,Ut=Zt.forceUpdate,rr=Zt.update,_=c.useMemo(function(){return{ref:xt,style:Lt.popper,placement:it?it.placement:L,hasPopperEscaped:it&&it.modifiersData.hide?it.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:it&&it.modifiersData.hide?it.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:Lt.arrow,ref:Pt},forceUpdate:Ut||pt,update:rr||st}},[xt,Pt,L,it,Lt,rr,Ut]);return(0,r.$p)(Se)(_)}function ar(O){var C=O.viewportPadding;return[{name:"maxSizeData",enabled:!0,phase:"read",fn:function(Q){var te=Q.state,ve=Q.name;window.visualViewport&&(te.modifiersData[ve]={viewport:{width:window.visualViewport.width,height:window.visualViewport.height}})}},{name:"maxSize",enabled:!0,phase:"beforeWrite",requiresIfExists:["offset","preventOverflow","flip"],fn:function(Q){var te,ve,Ae,me,pe=Q.state,Ze=pe.modifiersData.maxSizeData;if(!(typeof(Ze==null||(te=Ze.viewport)===null||te===void 0?void 0:te.width)!="number"||typeof(Ze==null||(ve=Ze.viewport)===null||ve===void 0?void 0:ve.height)!="number")){var Se=Ze.viewport,ot=pe.modifiersData.popperOffsets,bt=ot===void 0?{x:0,y:0}:ot,Qe=pe.placement.split("-"),xt=(0,a.Z)(Qe,1),ft=xt[0],nt=(Ae=(me=pe.modifiersData)===null||me===void 0||(me=me.offset)===null||me===void 0?void 0:me[pe.placement])!==null&&Ae!==void 0?Ae:{x:0,y:0},Pt=Se.width-2*C,Bt=Se.height-2*C;ft==="top"&&(Bt=pe.rects.reference.y+nt.y-C),ft==="bottom"&&(Bt=Se.height-bt.y-C),ft==="left"&&(Pt=pe.rects.reference.x+nt.x-C),ft==="right"&&(Pt=Se.width-bt.x-C),pe.styles.popper.maxWidth="".concat(Pt,"px"),pe.styles.popper.maxHeight="".concat(Bt,"px")}}}]}var _r=5,Or=[{name:"flip",options:{flipVariations:!1,padding:_r,boundary:"clippingParents",rootBoundary:"viewport"}}];function wr(){return null}var kr=[0,8];function Er(O){var C=O.children,L=C===void 0?wr:C,Q=O.offset,te=Q===void 0?kr:Q,ve=O.placement,Ae=ve===void 0?"bottom-start":ve,me=O.referenceElement,pe=me===void 0?void 0:me,Ze=O.modifiers,Se=O.strategy,ot=Se===void 0?"fixed":Se,bt=O.shouldFitViewport,Qe=bt===void 0?!1:bt,xt=(0,a.Z)(te,2),ft=xt[0],nt=xt[1],Pt=(0,c.useMemo)(function(){var Zt={name:"preventOverflow",options:{padding:_r,rootBoundary:Qe?"viewport":"document"}},it={name:"offset",options:{offset:[ft,nt]}},Lt=Qe?ar({viewportPadding:_r}):[];return[].concat(Or,[Zt,it],(0,o.Z)(Lt))},[ft,nt,Qe]),Bt=(0,c.useMemo)(function(){return Ze==null?Pt:[].concat((0,o.Z)(Pt),(0,o.Z)(Ze))},[Pt,Ze]);return n().createElement(Xe,{modifiers:Bt,placement:Ae,strategy:ot,referenceElement:pe},L)}},4112:(y,t,e)=>{"use strict";e.d(t,{G:()=>Jt});var o=e(220),a=e(548),c=e.n(a),n=e(2357),i=e(943),r=e(8243),s=e(736),u=e(4805),l=e(2202),v=e(9836),d=e(3340),f=e(4978),g=e(5904),h=e(9231),m=e(4569),b=e(4342),x=e(8347),R=function(Be){var Ve=Be.children,Ie=Be.update,Oe=(0,a.useRef)(!0);return(0,a.useLayoutEffect)(function(){if(Oe.current){Oe.current=!1;return}Ie()},[Ie]),c().createElement(a.Fragment,null,Ve)},w=e(7723),j=e(1517),A=["button","a","input","select","textarea"],E=function(Be){return!!(A.includes(Be.tagName.toLowerCase())||Be.getAttribute("tabindex")!==null||Be.hasAttribute("contenteditable"))},I=function(){var Be=(0,a.useRef)([]),Ve=(0,a.useCallback)(function(xe){var ct=requestAnimationFrame(xe);return Be.current.push(ct),ct},[]),Ie=(0,a.useCallback)(function(xe){cancelAnimationFrame(xe),Be.current=Be.current.filter(function(ct){return ct!==xe})},[]),Oe=(0,a.useCallback)(function(){Be.current.forEach(function(xe){return cancelAnimationFrame(xe)}),Be.current=[]},[]);return{requestFrame:Ve,cancelFrame:Ie,cancelAllFrames:Oe}},z=function(Be){var Ve=Be.isOpen,Ie=Be.onClose,Oe=Be.popupRef,xe=Be.triggerRef,ct=Be.autoFocus,lt=Be.shouldDisableFocusTrap,ut=Be.shouldUseCaptureOnOutsideClick,er=Be.shouldCloseOnTab,we=Be.shouldRenderToParent,oe=(0,b.i)(),ye=oe.isLayerDisabled,tt=oe.currentLevel,mt=I(),Vt=mt.requestFrame,ce=mt.cancelAllFrames;(0,a.useEffect)(function(){if(!Ve||!Oe)return j.Z;var ue=window&&window.self!==window.top&&(0,s.fg)("fix-dropdown-close-outside-iframe"),N=function(ze){if(Ie){var Ge=null;if(ze.target instanceof HTMLElement){var yt;Ge=(yt=ze.target.closest("[data-ds--level]"))===null||yt===void 0?void 0:yt.getAttribute("data-ds--level")}Ge?Ie(ze,Number(Ge)):Ie(ze)}lt&&(0,s.fg)("platform_dst_popup-disable-focuslock")&&Vt(function(){xe==null||xe.setAttribute("tabindex","0"),Oe&&ct&&Oe.setAttribute("tabindex","0")})},q=function(ze){var Ge=ze.target,yt=document.body.contains(Ge);if(!(!yt&&!ue)){if(ye()&&Ge instanceof HTMLElement){var ht,Et=(ht=Ge.closest)===null||ht===void 0?void 0:ht.call(Ge,"[data-ds--level]");if(Et){var At=Et.getAttribute("[data-ds--close--type]");if(At==="single")return;var St=Et.getAttribute("data-ds--level");if(St&&Number(St)>tt)return}}var vt=Oe&&Oe.contains(Ge),tr=xe&&xe.contains(Ge);!vt&&!tr&&(N(ze),document.activeElement&&!E(document.activeElement)&&(0,s.fg)("platform_dst_popup-disable-focuslock")&&(xe==null||xe.focus()))}},ge=function(ze){if((0,s.fg)("platform_dst_popup-disable-focuslock")){var Ge=ze.key,yt=ze.shiftKey;if(yt&&Ge==="Tab"&&!we){if(ye())return;Vt(function(){var At=Oe&&!Oe.contains(document.activeElement);At&&(N(ze),tt===1&&(xe==null||xe.focus()))});return}if(Ge==="Tab"){var ht;if(er){if(ye())return;N(ze);return}if(ye()&&(ht=document.activeElement)!==null&&ht!==void 0&&ht.closest("[aria-modal]"))return;if(lt){Vt(we?function(){var At=Oe&&!Oe.contains(document.activeElement);At&&N(ze)}:function(){document.hasFocus()||N(ze)});return}}if(ye())return;(Ge==="Escape"||Ge==="Esc")&&(xe&&ct&&xe.focus(),N(ze))}else{if(ye())return;var Et=ze.key;(Et==="Escape"||Et==="Esc"||er&&Et==="Tab")&&N(ze)}},be;ue&&Ve&&(be=(0,w.ak)(window.parent.window,{type:"click",listener:q,options:{capture:ut}}));var Ne=j.Z;(0,s.fg)("popup-onclose-fix")?setTimeout(function(){Ne=(0,w.Ev)(window,[{type:"click",listener:q,options:{capture:ut}},{type:"keydown",listener:ge}])},0):Ne=(0,w.Ev)(window,[{type:"click",listener:q,options:{capture:ut}},{type:"keydown",listener:ge}]);var Ye=j.Z;return Ye=(0,w.ak)(window,{type:"blur",listener:function(ze){ye()||!(document.activeElement instanceof HTMLIFrameElement)||N(ze)}}),function(){var He;(0,s.fg)("popup-onclose-fix")?setTimeout(function(){Ne()}
7,0):Ne(),ce(),(He=be)===null||He===void 0||He(),Ye()}},[Ve,Ie,Oe,xe,ct,lt,ut,ye,er,tt,we,Vt,ce])},Z=e(3354),P=e.n(Z),$=function(Be){var Ve=Be.initialFocusRef,Ie=Be.popupRef,Oe=Be.triggerRef,xe=Be.autoFocus,ct=Be.shouldCloseOnTab,lt=Be.shouldDisableFocusTrap,ut=Be.shouldReturnFocus,er=Be.shouldRenderToParent,we=I(),oe=we.requestFrame,ye=we.cancelAllFrames,tt=(0,b.i)(),mt=tt.currentLevel;(0,a.useEffect)(function(){if(!Ie||ct)return j.Z;if(lt&&(0,s.fg)("platform_dst_popup-disable-focuslock")){var Vt=Ie.matches("[id^=ds--dropdown--]"),ce=document.querySelectorAll('[data-ds--level="'.concat(mt-1,'"]'));if(!(ce[ce.length-1]&&!er&&Vt))return oe(function(){Oe==null||Oe.setAttribute("tabindex","-1"),Ie&&xe&&Ie.setAttribute("tabindex","-1"),(Ve||Ie).focus()}),j.Z}var ue={clickOutsideDeactivates:!0,escapeDeactivates:!0,initialFocus:Ve||Ie,fallbackFocus:Ie,returnFocusOnDeactivate:ut},N=P()(Ie,ue);return oe(function(){N.activate()}),function(){ye(),N.deactivate()}},[Ie,Oe,xe,Ve,ct,lt,oe,ye,ut,er,mt])},K=["shouldRenderToParent","shouldFitContainer","children","appearance","className","isReferenceHidden"],X="--ds-elevation-surface-current",le=null,fe={root:"_2rkoglpi _1e0c1ule _vchhusvi _1pby1nn1 _bfhk1bhr _16qs1cd0 _syaz1fxt _1q1l1bhr _nt751r31 _49pcglyw _1hvw1o36"},ae=null,M=null,G=null,ke={root:"_mizu194a _1ah31bk5 _ra3xnqa1 _128m1bk5 _1cvmnqa1 _4davt94y"},ne=(0,a.forwardRef)(function(se,Be){var Ve=se.shouldRenderToParent,Ie=se.shouldFitContainer,Oe=se.children,xe=se.appearance,ct=se.className,lt=se.isReferenceHidden,ut=(0,h.Z)(se,K);return a.createElement("div",(0,g.Z)({className:(0,m.Z)([fe.root,xe==="UNSAFE_modal-below-sm"&&"_dk5d1b66 _c71ldtre _kqsw1n9t _152t1b66",!Ve&&"_1reo1wug _18m91wug",Ie&&"_1bsb1osq",ct])},ut,{ref:Be}),Oe)});function Ee(se){var Be=se.xcss,Ve=se.isOpen,Ie=se.id,Oe=se.offset,xe=se.testId,ct=se.content,lt=se.fallbackPlacements,ut=se.onClose,er=se.boundary,we=se.rootBoundary,oe=se.shouldFlip,ye=se.placement,tt=ye===void 0?"auto":ye,mt=se.popupComponent,Vt=mt===void 0?ne:mt,ce=se.autoFocus,ue=ce===void 0?!0:ce,N=se.triggerRef,q=se.shouldUseCaptureOnOutsideClick,ge=se.shouldRenderToParent,be=se.shouldFitContainer,Ne=se.shouldDisableFocusLock,Ye=se.shouldReturnFocus,He=Ye===void 0?!0:Ye,ze=se.strategy,Ge=se.role,yt=se.label,ht=se.titleId,Et=se.modifiers,At=se.shouldFitViewport,St=se.appearance,vt=St===void 0?"default":St,tr=(0,a.useState)(null),fr=(0,o.Z)(tr,2),ir=fr[0],Yt=fr[1],sr=(0,a.useState)(null),Xt=(0,o.Z)(sr,2),vr=Xt[0],gr=Xt[1],cr=ge&&Ne,U=Ge!=="dialog";$({initialFocusRef:vr,popupRef:ir,shouldCloseOnTab:cr,triggerRef:N,autoFocus:ue,shouldDisableFocusTrap:U,shouldReturnFocus:He}),z({isOpen:Ve,onClose:ut,popupRef:ir,triggerRef:N,shouldUseCaptureOnOutsideClick:q,shouldCloseOnTab:cr,autoFocus:ue,shouldDisableFocusTrap:U,shouldRenderToParent:ge});var D=(0,b.i)(),p=D.currentLevel,k=(0,a.useMemo)(function(){return[{name:"flip",enabled:oe,options:{rootBoundary:we,boundary:er,fallbackPlacements:lt}}].concat((0,f.Z)(Et||[]))},[oe,we,er,lt,Et]);return a.createElement(x.r,{placement:tt,offset:Oe,modifiers:k,strategy:ze,shouldFitViewport:At},function(T){var V=T.ref,W=T.style,H=T.placement,J=T.update,ie=T.isReferenceHidden,De=a.createElement(Vt,{className:(0,m.Z)([Be,!vr&&(0,s.fg)("platform-design-system-apply-popup-wrapper-focus")&&ke.root]),appearance:vt,id:Ie,"data-ds--level":p,"data-placement":H,"data-testid":xe,role:Ge,"aria-label":yt,"aria-labelledby":ht,ref:function(Ue){Ue&&(typeof V=="function"?V(Ue):V.current=Ue,Yt(Ue))},style:vt==="UNSAFE_modal-below-sm"?{}:W,tabIndex:ue?0:void 0,shouldRenderToParent:ge,shouldFitContainer:be,isReferenceHidden:ie},a.createElement(R,{update:J},ct({update:J,isOpen:Ve,onClose:ut,setInitialFocusRef:gr})));return a.createElement(a.Fragment,null,De,vt==="UNSAFE_modal-below-sm"&&a.createElement("div",{className:(0,m.Z)(["_1r04idpf _kqsw1n9t _bfhk10xm"])}))})}const Te=Ee;var Re={above:{xxs:"@media all",xs:"@media (min-width: 30rem)",sm:"@media (min-width: 48rem)",md:"@media (min-width: 64rem)",lg:"@media (min-width: 90rem)",xl:"@media (min-width: 110.5rem)"},only:{xxs:"@media (min-width: 0rem) and (max-width: 29.99rem)",xs:"@media (min-width: 30rem) and (max-width: 47.99rem)",sm:"@media (min-width: 48rem) and (max-width: 63.99rem)",md:"@media (min-width: 64rem) and (max-width: 89.99rem)",lg:"@media (min-width: 90rem) and (max-width: 110.49rem)",xl:"@media (min-width: 110.5rem)"},below:{xs:"@media not all and (min-width: 30rem)",sm:"@media not all and (min-width: 48rem)",md:"@media not all and (min-width: 64rem)",lg:"@media not all and (min-width: 90rem)",xl:"@media not all and (min-width: 110.5rem)"}},Fe,rt,$e,dt,et,Nt,je,Mt,zt,Tt,$t,de,ee,_e,Pe,Ke,Ce,Je,We,It,Y,Ct,jt={"above.xxs":typeof window=="undefined"||(Fe=window)===null||Fe===void 0||(rt=Fe.matchMedia)===null||rt===void 0?void 0:rt.call(Fe,Re.above.xxs.replace("@media ","").trim()),"above.xs":typeof window=="undefined"||($e=window)===null||$e===void 0||(dt=$e.matchMedia)===null||dt===void 0?void 0:dt.call($e,Re.above.xs.replace("@media ","").trim()),"above.sm":typeof window=="undefined"||(et=window)===null||et===void 0||(Nt=et.matchMedia)===null||Nt===void 0?void 0:Nt.call(et,Re.above.sm.replace("@media ","").trim()),"above.md":typeof window=="undefined"||(je=window)===null||je===void 0||(Mt=je.matchMedia)===null||Mt===void 0?void 0:Mt.call(je,Re.above.md.replace("@media ","").trim()),"above.lg":typeof window=="undefined"||(zt=window)===null||zt===void 0||(Tt=zt.matchMedia)===null||Tt===void 0?void 0:Tt.call(zt,Re.above.lg.replace("@media ","").trim()),"above.xl":typeof window=="undefined"||($t=window)===null||$t===void 0||(de=$t.matchMedia)===null||de===void 0?void 0:de.call($t,Re.above.xl.replace("@media ","").trim()),"below.xs":typeof window=="undefined"||(ee=window)===null||ee===void 0||(_e=ee.matchMedia)===null||_e===void 0?void 0:_e.call(ee,Re.below.xs.replace("@media ","").trim()),"below.sm":typeof window=="undefined"||(Pe=window)===null||Pe===void 0||(Ke=Pe.matchMedia)===null||Ke===void 0?void 0:Ke.call(Pe,Re.below.sm.replace("@media ","").trim()),"below.md":typeof window=="undefined"||(Ce=window)===null||Ce===void 0||(Je=Ce.matchMedia)===null||Je===void 0?void 0:Je.call(Ce,Re.below.md.replace("@media ","").trim()),"below.lg":typeof window=="undefined"||(We=window)===null||We===void 0||(It=We.matchMedia)===null||It===void 0?void 0:It.call(We,Re.below.lg.replace("@media ","").trim()),"below.xl":typeof window=="undefined"||(Y=window)===null||Y===void 0||(Ct=Y.matchMedia)===null||Ct===void 0?void 0:Ct.call(Y,Re.below.xl.replace("@media ","").trim())},Ft=function(Be,Ve){var Ie=(0,a.useRef)(Ve);(0,a.useEffect)(function(){Ie.current=Ve},[Ve]);var Oe=!!Ve,xe=jt[Be];return(0,a.useLayoutEffect)(function(){if(Ie.current=Ve,!(!xe||!Oe||!Ie.current))return(0,w.ak)(xe,{type:"change",listener:function(lt){return Ie.current(lt)}})},[xe,Oe]),xe||null};function Rt(se){var Be=se.appearance,Ve=se.shouldRenderToParent,Ie=Ft("below.sm",function(we){lt(!!we.matches)}),Oe=(0,a.useState)(!!(Ie!=null&&Ie.matches)),xe=(0,o.Z)(Oe,2),ct=xe[0],lt=xe[1],ut=Be==="UNSAFE_modal-below-sm"&&ct?"UNSAFE_modal-below-sm":"default",er=Ve&&ut==="default";return{appearance:ut,shouldRenderToParent:er}}var qt=e(5256),Ht=function(){var Be=(0,a.useState)(function(){return(0,qt.Z)(function(Oe,xe,ct){return function(lt){lt&&ct&&(typeof Oe=="function"?Oe(lt):Oe&&(Oe.current=lt),xe(lt))}})}),Ve=(0,o.Z)(Be,1),Ie=Ve[0];return Ie},nr=function(){var Be=(0,a.useState)(function(){return(0,qt.Z)(function(Oe,xe){return function(ct){ct&&(typeof Oe=="function"?Oe(ct):Oe&&(Oe.current=ct),xe(ct))}})}),Ve=(0,o.Z)(Be,1),Ie=Ve[0];return Ie},Wt=400,_t={root:"_kqswh2mm"},Jt=(0,a.memo)(function(se){var Be=se.xcss,Ve=se.appearance,Ie=Ve===void 0?"default":Ve,Oe=se.isOpen,xe=se.id,ct=se.offset,lt=se.testId,ut=se.trigger,er=se.content,we=se.onClose,oe=se.boundary,ye=se.rootBoundary,tt=ye===void 0?"viewport":ye,mt=se.shouldFlip,Vt=mt===void 0?!0:mt,ce=se.placement,ue=ce===void 0?"auto":ce,
7N=se.fallbackPlacements,q=se.popupComponent,ge=se.autoFocus,be=ge===void 0?!0:ge,Ne=se.zIndex,Ye=Ne===void 0?Wt:Ne,He=se.shouldUseCaptureOnOutsideClick,ze=He===void 0?!1:He,Ge=se.shouldRenderToParent,yt=Ge===void 0?!1:Ge,ht=se.shouldFitContainer,Et=ht===void 0?!1:ht,At=se.shouldDisableFocusLock,St=At===void 0?!1:At,vt=se.shouldReturnFocus,tr=vt===void 0?!0:vt,fr=se.strategy,ir=se.role,Yt=se.label,sr=se.titleId,Xt=se.modifiers,vr=se.shouldFitViewport,gr=(0,a.useState)(null),cr=(0,o.Z)(gr,2),U=cr[0],D=cr[1],p=Ht(),k=nr(),T=(0,n.Me)(),V=Rt({appearance:Ie,shouldRenderToParent:yt}),W=V.appearance,H=V.shouldRenderToParent,J=xe||T,ie=(0,a.useCallback)(function(){we==null||we(null)},[we]);(0,r.F)({isOpen:Oe,onClose:ie});var De=a.createElement(i.NG,{isDisabled:!1},a.createElement(Te,{xcss:Be,appearance:W,content:er,isOpen:Oe,placement:ue,fallbackPlacements:N,boundary:oe,rootBoundary:tt,shouldFlip:Vt,offset:ct,popupComponent:q,id:J,testId:lt,onClose:we,autoFocus:be,shouldUseCaptureOnOutsideClick:ze,shouldRenderToParent:H||Et,shouldFitContainer:Et,shouldDisableFocusLock:St,shouldReturnFocus:tr,triggerRef:U,strategy:Et?"absolute":fr,role:ir,label:Yt,titleId:sr,modifiers:Xt,shouldFitViewport:vr})),Le=a.createElement(u.dK,null,a.createElement(l.s,null,function(Ue){var at=Ue.ref;return ut({ref:(0,s.fg)("platform-design-system-popup-ref")?k(at,D):p(at,D,Oe),"aria-controls":Oe?J:void 0,"aria-expanded":Oe,"aria-haspopup":ir==="dialog"&&(0,s.fg)("platform_dst_popup-disable-focuslock")?"dialog":!0})}),Oe&&(H||Et?De:a.createElement(v.Z,{zIndex:Ye},De)));return Et?a.createElement(d.Z,{xcss:_t.root},Le):Le})},9836:(y,t,e)=>{"use strict";e.d(t,{Z:()=>le});var o=e(548),a=e.n(o),c=e(736),n=e(1438),i="atlaskit-portal-container",r="body > .atlaskit-portal-container",s="atlaskit-portal",u=function(ae){var M=document.createElement("div");return M.className=s,M.style.zIndex="".concat(ae),M},l=function(){return document.body},v=function(){var ae=document.querySelector(r);if(!ae){var M,G=document.createElement("div");return G.className=i,G.style.display="flex",(M=l())===null||M===void 0||M.appendChild(G),G}return ae},d=function(ae){v().removeChild(ae)},f=function(ae){ae.parentElement||v().appendChild(ae)},g=function(){return document!==void 0},h=function(ae){if(g()){var M=document.createElement("div");return M.className=s,M.style.zIndex="".concat(ae),M}},m=function(){if(g()){var ae=document.querySelector(r);if(!ae){var M,G=document.createElement("div");return G.className=i,G.style.display="flex",(M=l())===null||M===void 0||M.appendChild(G),G}return ae}};function b(fe){var ae=fe.zIndex,M=fe.children,G=(0,o.useMemo)(function(){return u(ae)},[ae]);return f(G),(0,o.useEffect)(function(){return function(){d(G)}},[G]),(0,n.createPortal)(M,G)}var x=e(220),R=typeof window!="undefined"?o.useLayoutEffect:o.useEffect;function w(fe){var ae=fe.zIndex,M=fe.children,G=(0,o.useState)(null),ke=(0,x.Z)(G,2),ne=ke[0],Ee=ke[1];R(function(){var Re=h(ae);Ee(Re);var Fe=m();if(!(!Re||!Fe))return Fe.appendChild(Re),function(){Re&&Fe.removeChild(Re),Ee(null)}},[ae]);var Te=a().createElement(o.Suspense,{fallback:null},M);return ne?(0,n.createPortal)(Te,ne):null}var j=function(ae){var M=(0,o.useState)(!1),G=(0,x.Z)(M,2),ke=G[0],ne=G[1],Ee=(0,o.useState)(function(){return ae==="layoutEffect"?R:o.useEffect}),Te=(0,x.Z)(Ee,1),Re=Te[0];return Re(function(){ne(!0)},[]),ke};const A=j;var E="akPortalMount",I="akPortalUnmount",z={100:"card",200:"navigation",300:"dialog",400:"layer",500:"blanket",510:"modal",600:"flag",700:"spotlight",9999:"tooltip"},Z=function(ae){return z.hasOwnProperty(ae)?z[ae]:null},P=function(ae,M){var G={layer:Z(Number(M)),zIndex:M};return new CustomEvent(ae,{detail:G})};function $(fe,ae){var M=P(fe,ae);window.dispatchEvent(M)}var K=function(ae){var M=Number(ae);(0,o.useEffect)(function(){return $(E,M),function(){$(I,M)}},[M])};const X=K;function le(fe){var ae=fe.zIndex,M=ae===void 0?0:ae,G=fe.children,ke=fe.mountStrategy,ne=ke===void 0?"effect":ke,Ee=A(ne);return X(M),(0,c.fg)("platform_design_system_team_portal_logic_r18_fix")?a().createElement(w,{zIndex:M},G):Ee?a().createElement(b,{zIndex:M},G):null}},3340:(y,t,e)=>{"use strict";e.d(t,{Z:()=>x});var o=e(5904),a=e(9231),c=e(548),n=e(4569),i=e(4522),r=["as","children","backgroundColor","padding","paddingBlock","paddingBlockStart","paddingBlockEnd","paddingInline","paddingInlineStart","paddingInlineEnd","style","testId","xcss"],s=["className"],u=null,l={"color.background.accent.lime.subtlest":"_bfhkm890","color.background.accent.lime.subtlest.hovered":"_bfhkd4y8","color.background.accent.lime.subtlest.pressed":"_bfhk1fno","color.background.accent.lime.subtler":"_bfhkz2ec","color.background.accent.lime.subtler.hovered":"_bfhk1eds","color.background.accent.lime.subtler.pressed":"_bfhk1hgz","color.background.accent.lime.subtle":"_bfhkbq5w","color.background.accent.lime.subtle.hovered":"_bfhkfoww","color.background.accent.lime.subtle.pressed":"_bfhkhgj8","color.background.accent.lime.bolder":"_bfhktde4","color.background.accent.lime.bolder.hovered":"_bfhknzpa","color.background.accent.lime.bolder.pressed":"_bfhk1b17","color.background.accent.red.subtlest":"_bfhk1vk5","color.background.accent.red.subtlest.hovered":"_bfhk1i6i","color.background.accent.red.subtlest.pressed":"_bfhk1pbw","color.background.accent.red.subtler":"_bfhk1rtt","color.background.accent.red.subtler.hovered":"_bfhkrw5d","color.background.accent.red.subtler.pressed":"_bfhk69rw","color.background.accent.red.subtle":"_bfhkkrt9","color.background.accent.red.subtle.hovered":"_bfhk1sou","color.background.accent.red.subtle.pressed":"_bfhk1tf4","color.background.accent.red.bolder":"_bfhkuibq","color.background.accent.red.bolder.hovered":"_bfhk100f","color.background.accent.red.bolder.pressed":"_bfhkprmn","color.background.accent.orange.subtlest":"_bfhk1g3m","color.background.accent.orange.subtlest.hovered":"_bfhkg4tm","color.background.accent.orange.subtlest.pressed":"_bfhk1ya0","color.background.accent.orange.subtler":"_bfhkf2vu","color.background.accent.orange.subtler.hovered":"_bfhk1lml","color.background.accent.orange.subtler.pressed":"_bfhkuxsx","color.background.accent.orange.subtle":"_bfhk1g6e","color.background.accent.orange.subtle.hovered":"_bfhk1oew","color.background.accent.orange.subtle.pressed":"_bfhk1phk","color.background.accent.orange.bolder":"_bfhkjgng","color.background.accent.orange.bolder.hovered":"_bfhkhi52","color.background.accent.orange.bolder.pressed":"_bfhkf767","color.background.accent.yellow.subtlest":"_bfhk1ozg","color.background.accent.yellow.subtlest.hovered":"_bfhk19g9","color.background.accent.yellow.subtlest.pressed":"_bfhk31d1","color.background.accent.yellow.subtler":"_bfhk3fv2","color.background.accent.yellow.subtler.hovered":"_bfhklg04","color.background.accent.yellow.subtler.pressed":"_bfhk1d44","color.background.accent.yellow.subtle":"_bfhkry5t","color.background.accent.yellow.subtle.hovered":"_bfhk17e6","color.background.accent.yellow.subtle.pressed":"_bfhko0y5","color.background.accent.yellow.bolder":"_bfhk1vop","color.background.accent.yellow.bolder.hovered":"_bfhkkjqf","color.background.accent.yellow.bolder.pressed":"_bfhk32kj","color.background.accent.green.subtlest":"_bfhkn729","color.background.accent.green.subtlest.hovered":"_bfhk3utz","color.background.accent.green.subtlest.pressed":"_bfhkv5yf","color.background.accent.green.subtler":"_bfhk1wnw","color.background.accent.green.subtler.hovered":"_bfhkung8","color.background.accent.green.subtler.pressed":"_bfhk1p19","color.background.accent.green.subtle":"_bfhk1rsu","color.background.accent.green.subtle.hovered":"_bfhk12e3","color.background.accent.green.subtle.pressed":"_bfhk8h4p","color.background.accent.green.bolder":"_bfhk1e5c","color.background.accent.green.bolder.hovered":"_bfhka5yi","color.background.accent.green.bolder.pressed":"_bfhk1azz","color.background.accent.teal.subtlest":"_bfhk7xuz","color.background.accent.teal.subtlest.hovered":"_bfhk108c","color.background.accent.teal.subtlest.pressed":"_bfhk1j2h","color.background.accent.teal.subtler":"_bfhk1a17","color.background.accent.teal.subtler.hovered":"_bfhkg5py","color.background.accent.teal.subtler.pressed":"_bfhkq7li","color.background.accent.teal.subtle":"_bfhktdv8","color.background.accent.teal.subtle.hovered":"_bfhkzh8h","color.background.accent.teal.subtle.pressed":"_bfhk10ai","color.background.accent.teal.bolder":"_bfhk2c8p","color.background.accent.teal.bolder.hovered":"_bfhkl3ve","color.background.accent.teal.bolder.pressed":"_bfhkse6l","color.background.accent.blue.subtlest":"_bfhkavxe","color.background.accent.blue.subtlest.hovered":"_bfhkay3p","color.background.accent.blue.subtlest.pressed":"_bfhk1xmr","color.background.accent.blue.subtler":"_bfhk4v9p","color.background.accent.blue.subtler.hovered":"_bfhk16e6","color.background.accent.blue.subtler.pressed":"_bfhk1uh7","color.background.accent.blue.subtle":"_bfhk1j89","color.background.accent.blue.subtle.hovered":"_bfhk1f4s","color.background.accent.blue.subtle.pressed":"_bfhkqctv","color.background.accent.blue.bolder":"_bfhkc8cv","color.background.accent.blue.bolder.hovered":"_bfhk1cwi","color.background.accent.blue.bolder.pressed":"_bfhkhcrq","color.background.accent.purple.subtlest":"_bfhkp7j4","color.background.accent.purple.subtlest.hovered":"_bfhkm0d5","color.background.accent.purple.subtlest.pressed":"_bfhkgslw","color.background.accent.purple.subtler":"_bfhk1jkz","color.background.accent.purple.subtler.hovered":"_bfhk1wyu","color.background.accent.purple.subtler.pressed":"_bfhk5fkp","color.background.accent.purple.subtle":"_bfhkdh45","color.background.accent.purple.subtle.hovered":"_bfhk1wob","color.background.accent.purple.subtle.pressed":"_bfhkwz05","color.background.accent.purple.bolder":"_bfhkygwo","color.background.accent.purple.bolder.hovered":"_bfhkadgs","color.background.accent.purple.bolder.pressed":"_bfhk1uro","color.background.accent.magenta.subtlest":"_bfhk8tvm","color.background.accent.magenta.subtlest.hovered":"_bfhkr3zd","color.background.accent.magenta.subtlest.pressed":"_bfhk1een","color.background.accent.magenta.subtler":"_bfhkv9ra","color.background.accent.magenta.subtler.hovered":"_bfhk1r0p","color.background.accent.magenta.subtler.pressed":"_bfhkxuzc","color.background.accent.magenta.subtle":"_bfhk1mi6","color.background.accent.magenta.subtle.hovered":"_bfhkrwyz","color.background.accent.magenta.subtle.pressed":"_bfhk1ovh","color.background.accent.magenta.bolder":"_bfhkc3uk","color.background.accent.magenta.bolder.hovered":"_bfhk1ok8","color.background.accent.magenta.bolder.pressed":"_bfhkwaw3","color.background.accent.gray.subtlest":"_bfhk11bn","color.background.accent.gray.subtlest.hovered":"_bfhk12j4","color.background.accent.gray.subtlest.pressed":"_bfhk1lb4","color.background.accent.gray.subtler":"_bfhk1v33","color.background.accent.gray.subtler.hovered":"_bfhk1f7l","color.background.accent.gray.subtler.pressed":"_bfhkd8a2","color.background.accent.gray.subtle":"_bfhk1t05","color.background.accent.gray.subtle.hovered":"_bfhk1a2l","color.background.accent.gray.subtle.pressed":"_bfhk1z0s","color.background.accent.gray.bolder":"_bfhk1t1b","color.background.accent.gray.bolder.hovered":"_bfhke4nv","color.background.accent.gray.bolder.pressed":"_bfhk82ra","color.background.disabled":"_bfhksyzs","color.background.input":"_bfhk1j9a","color.background.input.hovered":"_bfhk1d5g","color.background.input.pressed":"_bfhkr01l","color.background.inverse.subtle":"_bfhk1vck","color.background.inverse.subtle.hovered":"_bfhkmpja","color.background.inverse.subtle.pressed":"_bfhk1gii","color.background.neutral":"_bfhkm7j4","color.background.neutral.hovered":"_bfhk15ej","color.background.neutral.pressed":"_bfhkip91","color.background.neutral.subtle":"_bfhksm61","color.background.neutral.subtle.hovered":"_bfhk166n","color.background.neutral.subtle.pressed":"_bfhk1dty","color.background.neutral.bold":"_bfhkcdhy","color.background.neutral.bold.hovered":"_bfhk1bsc","color.background.neutral.bold.pressed":"_bfhk1b6k","color.background.selected":"_bfhkfg4m","color.background.selected.hovered":"_bfhki1yw","color.background.selected.pressed":"_bfhk19ru","color.background.selected.bold":"_bfhk1fvw","color.background.selected.bold.hovered":"_bfhk18hz","color.background.selected.bold.pressed":"_bfhkgr1v","color.background.brand.subtlest":"_bfhk3wxy","color.background.brand.subtlest.hovered":"_bfhkezq1","color.background.brand.subtlest.pressed":"_bfhk2ggb","color.background.brand.bold":"_bfhkb29m","color.background.brand.bold.hovered":"_bfhku1se","color.background.brand.bold.pressed":"_bfhkqkzo","color.background.brand.boldest":"_bfhk15mt","color.background.brand.boldest.hovered":"_bfhk1uwk","color.background.brand.boldest.pressed":"_bfhk17jr","color.background.danger":"_bfhk1gly","color.background.danger.hovered":"_bfhk1yvi","color.background.danger.pressed":"_bfhk1io2","color.background.danger.bold":"_bfhkybec","color.background.danger.bold.hovered":"_bfhks9hg","color.background.danger.bold.pressed":"_bfhk9pqq","color.background.warning":"_bfhk1tzq","color.background.warning.hovered":"_bfhk1rd4","color.background.warning.pressed":"_bfhk11dh","color.background.warning.bold":"_bfhk190i","color.background.warning.bold.hovered":"_bfhk1i4c","color.background.warning.bold.pressed":"_bfhkrj9s","color.background.success":"_bfhkmv6i","color.background.success.hovered":"_bfhk1jgi","color.background.success.pressed":"_bfhky4f1","color.background.success.bold":"_bfhk8emd","color.background.success.bold.hovered":"_bfhk1q4l","color.background.success.bold.pressed":"_bfhkcrcn","color.background.discovery":"_bfhk1nvp","color.background.discovery.hovered":"_bfhk1xp7","color.background.discovery.pressed":"_bfhkdlkp","color.background.discovery.bold":"_bfhk1lri","color.background.discovery.bold.hovered":"_bfhk1w72","color.background.discovery.bold.pressed":"_bfhkrb53","color.background.information":"_bfhk33gi","color.background.information.hovered":"_bfhk1vps","color.background.information.pressed":"_bfhk1s0z","color.background.information.bold":"_bfhk14wj","color.background.information.bold.hovered":"_bfhk1amz","color.background.information.bold.pressed":"_bfhk5bth","color.blanket":"_bfhk10xm","color.blanket.selected":"_bfhk7wq0","color.blanket.danger":"_bfhkrprw","color.skeleton":"_bfhkn82g","color.skeleton.subtle":"_bfhkh3tw","elevation.surface":"_bfhkvuon","elevation.surface.hovered":"_bfhk108i","elevation.surface.pressed":"_bfhk1ji5","elevation.surface.overlay":"_bfhk1bhr","elevation.surface.overlay.hovered":"_bfhk16qz","elevation.surface.overlay.pressed":"_bfhkvq0a","elevation.surface.raised":"_bfhkhp5a","elevation.surface.raised.hovered":"_bfhk1a0f","elevation.surface.raised.pressed":"_bfhkf7u5","elevation.surface.sunken":"_bfhkqbzx","utility.elevation.surface.current":"_bfhkchd4"},v="--ds-elevation-surface-current",d={"elevation.surface":"_1q1lvuon","elevation.surface.hovered":"_1q1l108i","elevation.surface.pressed":"_1q1l1ji5","elevation.surface.overlay":"_1q1l1bhr","elevation.surface.overlay.hovered":"_1q1l16qz","elevation.surface.overlay.pressed":"_1q1lvq0a","elevation.surface.raised":"_1q1lhp5a","elevation.surface.raised.hovered":"_1q1l1a0f","elevation.surface.raised.pressed":"_1q1lf7u5","elevation.surface.sunken":"_1q1lqbzx"},f={"space.0":"_1q51ze3t","space.025":"_1q51v77o","space.050":"_1q511b66","space.075":"_1q5112x7","space.100":"_1q51u2gc","space.150":"_1q51utpp","space.200":"_1q51pxbi","space.250":"_1q51v47k","space.300":"_1q511ejb","space.400":"_1q51xy5q","space.500":"_1q511jfw","space.600":"_1q51oahv","space.800":"_1q51xncg","space.1000":"_1q511epz"},g={"space.0":"_85i5ze3t","space.025":"_85i5v77o","space.050":"_85i51b66","space.075":"_85i512x7","space.100":"_85i5u2gc","space.150":"_85i5utpp","space.200":"_85i5pxbi","space.250":"_85i5v47k","space.300":"_85i51ejb","space.400":"_85i5xy5q","space.500":"_85i51jfw","space.600":"_85i5oahv","space.800":"_85i5xncg","space.1000":"_85i51epz"},h={"space.0":"_bozgze3t","space.025":"_bozgv77o","space.050":"_bozg1b66","space.075":"_bozg12x7","space.100":"_bozgu2gc","space.150":"_bozgutpp","space.200":"_bozgpxbi","space.250":"_bozgv47k","space.300":"_bozg1ejb","space.400":"_bozgxy5q","space.500":"_bozg1jfw","space.600":"_bozgoahv","space.800":"_bozgxncg","space.1000":"_bozg1epz"},m={"space.0":"_y4tize3t","space.025":"_y4tiv77o","space.050":"_y4ti1b
766","space.075":"_y4ti12x7","space.100":"_y4tiu2gc","space.150":"_y4tiutpp","space.200":"_y4tipxbi","space.250":"_y4tiv47k","space.300":"_y4ti1ejb","space.400":"_y4tixy5q","space.500":"_y4ti1jfw","space.600":"_y4tioahv","space.800":"_y4tixncg","space.1000":"_y4ti1epz"},b=(0,c.forwardRef)(function(w,j){var A=w.as,E=A===void 0?"div":A,I=w.children,z=w.backgroundColor,Z=w.padding,P=w.paddingBlock,$=P===void 0?Z:P,K=w.paddingBlockStart,X=K===void 0?$:K,le=w.paddingBlockEnd,fe=le===void 0?$:le,ae=w.paddingInline,M=ae===void 0?Z:ae,G=w.paddingInlineStart,ke=G===void 0?M:G,ne=w.paddingInlineEnd,Ee=ne===void 0?M:ne,Te=w.style,Re=w.testId,Fe=w.xcss,rt=(0,a.Z)(w,r),$e=rt.className,dt=(0,a.Z)(rt,s),et=c.createElement(E,(0,o.Z)({style:Te,ref:j,className:(0,n.Z)(["_19itglyw _vchhusvi _r06hglyw",z&&l[z],z&&R(z)&&d[z],X&&f[X],fe&&g[fe],ke&&h[ke],Ee&&m[Ee],Fe])},dt,{"data-testid":Re}),I);return z?c.createElement(i.K.Provider,{value:z},et):et});const x=b;function R(w){return w in d}},6305:(y,t,e)=>{"use strict";e.d(t,{Z:()=>f});var o=e(5904),a=e(9231),c=e(548),n=e.n(c),i=e(4570),r=e(4522),s=e(2234),u=e(1922),l=["as","children","backgroundColor","padding","paddingBlock","paddingBlockStart","paddingBlockEnd","paddingInline","paddingInlineStart","paddingInlineEnd","style","testId","xcss"],v=["className"],d=(0,c.forwardRef)(function(h,m){var b=h.as,x=b===void 0?"div":b,R=h.children,w=h.backgroundColor,j=h.padding,A=h.paddingBlock,E=h.paddingBlockStart,I=h.paddingBlockEnd,z=h.paddingInline,Z=h.paddingInlineStart,P=h.paddingInlineEnd,$=h.style,K=h.testId,X=h.xcss,le=(0,a.Z)(h,l),fe=le.className,ae=(0,a.Z)(le,v),M=(0,u.sM)(X),G=(0,i.tZ)(x,(0,o.Z)({style:$,ref:m,className:M.static},ae,{css:[g,w&&s.J5[w],(0,s.DL)(w)&&s.q0[w],j&&s.sh.padding[j],A&&s.sh.paddingBlock[A],E&&s.sh.paddingBlockStart[E],I&&s.sh.paddingBlockEnd[I],z&&s.sh.paddingInline[z],Z&&s.sh.paddingInlineStart[Z],P&&s.sh.paddingInlineEnd[P],M.emotion],"data-testid":K}),R);return w?(0,i.tZ)(r.K.Provider,{value:w},G):G});const f=d;var g=(0,i.iv)({boxSizing:"border-box",appearance:"none",border:"none"})},2899:(y,t,e)=>{"use strict";e.d(t,{Z:()=>f});var o=e(548),a=e.n(o),c=e(4570),n=e(2234),i=e(1922),r={start:(0,c.iv)({justifyContent:"start"}),center:(0,c.iv)({justifyContent:"center"}),end:(0,c.iv)({justifyContent:"end"}),"space-between":(0,c.iv)({justifyContent:"space-between"}),"space-around":(0,c.iv)({justifyContent:"space-around"}),"space-evenly":(0,c.iv)({justifyContent:"space-evenly"}),stretch:(0,c.iv)({justifyContent:"stretch"})},s={column:(0,c.iv)({flexDirection:"column"}),row:(0,c.iv)({flexDirection:"row"})},u={wrap:(0,c.iv)({flexWrap:"wrap"}),nowrap:(0,c.iv)({flexWrap:"nowrap"})},l={start:(0,c.iv)({alignItems:"start"}),center:(0,c.iv)({alignItems:"center"}),baseline:(0,c.iv)({alignItems:"baseline"}),end:(0,c.iv)({alignItems:"end"}),stretch:(0,c.iv)({alignItems:"stretch"})},v=(0,c.iv)({display:"flex",boxSizing:"border-box"}),d=(0,o.memo)((0,o.forwardRef)(function(g,h){var m=g.as,b=m===void 0?"div":m,x=g.role,R=g.alignItems,w=g.justifyContent,j=g.gap,A=g.columnGap,E=g.rowGap,I=g.children,z=g.testId,Z=g.direction,P=g.wrap,$=g.xcss,K=(0,i.sM)($);return(0,c.tZ)(b,{role:x,className:K.static,css:[v,j&&n.o3.gap[j],A&&n.o3.columnGap[A],E&&n.o3.rowGap[E],R&&l[R],Z&&s[Z],w&&r[w],P&&u[P],K.emotion],"data-testid":z,ref:h},I)}));d.displayName="Flex";const f=d},2206:(y,t,e)=>{"use strict";e.d(t,{Z:()=>d});var o=e(4978),a=e(548),c=e.n(a),n=e(4570),i=e(1922),r=e(2899),s={hug:(0,i.tu)({flexGrow:0}),fill:(0,i.tu)({width:"100%",flexGrow:1})},u=(0,n.iv)({color:"var(--ds-text-subtle, #42526E)",marginBlock:"var(--ds-space-0, 0px)",marginInline:"var(--ds-space-negative-025, -2px)",pointerEvents:"none",userSelect:"none"}),l=function(g){var h=g.children;return(0,n.tZ)("span",{css:u},h)},v=(0,a.memo)((0,a.forwardRef)(function(f,g){var h=f.as,m=f.alignInline,b=f.alignBlock,x=b===void 0?"start":b,R=f.shouldWrap,w=R===void 0?!1:R,j=f.spread,A=f.grow,E=f.space,I=f.rowSpace,z=f.separator,Z=f.xcss,P=f.testId,$=f.role,K=f.children,X=typeof z=="string"?(0,n.tZ)(l,null,z):z,le=X?a.Children.toArray(K).filter(Boolean).map(function(M,G){return(0,n.tZ)(a.Fragment,{key:G},z&&G>0?X:null,M)}):K,fe=j||m,ae=A?[s[A]].concat((0,o.Z)(Array.isArray(Z)?Z:[Z])):Z;return(0,n.tZ)(r.Z,{as:h,role:$,alignItems:x,justifyContent:fe,direction:"row",gap:E,rowGap:I,wrap:w?"wrap":void 0,xcss:ae,testId:P,ref:g},le)}));v.displayName="Inline";const d=v},4522:(y,t,e)=>{"use strict";e.d(t,{K:()=>c,v:()=>n});var o=e(548),a=e.n(o),c=(0,o.createContext)("elevation.surface"),n=function(){return(0,o.useContext)(c)};c.displayName="SurfaceProvider"},1922:(y,t,e)=>{"use strict";e.d(t,{sM:()=>x,tu:()=>R});var o=e(4978),a=e(3772),c=e(220),n=e(6872),i=e(4570),r=e(2234);function s(w,j){var A=typeof Symbol!="undefined"&&w[Symbol.iterator]||w["@@iterator"];if(!A){if(Array.isArray(w)||(A=u(w))||j&&w&&typeof w.length=="number"){A&&(w=A);var E=0,I=function(){};return{s:I,n:function(){return E>=w.length?{done:!0}:{done:!1,value:w[E++]}},e:function(K){throw K},f:I}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
8In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var z,Z=!0,P=!1;return{s:function(){A=A.call(w)},n:function(){var K=A.next();return Z=K.done,K},e:function(K){P=!0,z=K},f:function(){try{Z||A.return==null||A.return()}finally{if(P)throw z}}}}
8function u(w,j){if(w){if(typeof w=="string")return l(w,j);var A={}.toString.call(w).slice(8,-1);return A==="Object"&&w.constructor&&(A=w.constructor.name),A==="Map"||A==="Set"?Array.from(w):A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A)?l(w,j):void 0}}function l(w,j){(j==null||j>w.length)&&(j=w.length);for(var A=0,E=Array(j);A<j;A++)E[A]=w[A];return E}var v={backgroundColor:r.Vu,blockSize:r.pp,borderBlockColor:r.DM,borderBlockEndColor:r.DM,borderBlockEndWidth:r.He,borderBlockStartColor:r.DM,borderBlockStartWidth:r.He,borderBlockWidth:r.He,borderBottomColor:r.DM,borderBottomLeftRadius:r.il,borderBottomRightRadius:r.il,borderBottomWidth:r.He,borderColor:r.DM,borderEndEndRadius:r.il,borderEndStartRadius:r.il,borderInlineColor:r.DM,borderInlineEndColor:r.DM,borderInlineEndWidth:r.He,borderInlineStartColor:r.DM,borderInlineStartWidth:r.He,borderInlineWidth:r.He,borderLeftColor:r.DM,borderLeftWidth:r.He,borderRadius:r.il,borderRightColor:r.DM,borderRightWidth:r.He,borderStartEndRadius:r.il,borderStartStartRadius:r.il,borderTopColor:r.DM,borderTopLeftRadius:r.il,borderTopRightRadius:r.il,borderTopWidth:r.He,borderWidth:r.He,bottom:r.TJ,boxShadow:r.ly,color:r.s6,columnGap:r.p9,font:r.dn,fontFamily:r.Yg,fontWeight:r.p1,gap:r.p9,height:r.pp,inlineSize:r.pp,inset:r.TJ,insetBlock:r.TJ,insetBlockEnd:r.TJ,insetBlockStart:r.TJ,insetInline:r.TJ,insetInlineEnd:r.TJ,insetInlineStart:r.TJ,left:r.TJ,margin:r.TJ,marginBlock:r.TJ,marginBlockEnd:r.TJ,marginBlockStart:r.TJ,marginBottom:r.TJ,marginInline:r.TJ,marginInlineEnd:r.TJ,marginInlineStart:r.TJ,marginLeft:r.TJ,marginRight:r.TJ,marginTop:r.TJ,maxBlockSize:r.pp,maxHeight:r.pp,maxInlineSize:r.pp,maxWidth:r.pp,minBlockSize:r.pp,minHeight:r.pp,minInlineSize:r.pp,minWidth:r.pp,opacity:r.QS,outlineColor:r.DM,outlineOffset:r.TJ,outlineWidth:r.He,padding:r.p9,paddingBlock:r.p9,paddingBlockEnd:r.p9,paddingBlockStart:r.p9,paddingBottom:r.p9,paddingInline:r.p9,paddingInlineEnd:r.p9,paddingInlineStart:r.p9,paddingLeft:r.p9,paddingRight:r.p9,paddingTop:r.p9,right:r.TJ,rowGap:r.p9,top:r.TJ,width:r.pp,zIndex:r.qn},d=Symbol("UNSAFE_INTERNAL_styles"),f=function(){return(typeof process=="undefined"?"undefined":(0,n.Z)(process))==="object"&&(0,n.Z)(process.env)==="object"&&!1},g=/(\.|\s|&+|\*\>|#|\[.*\])/,h=/^@media .*$|^::?.*$|^@supports .*$/,m=function(j){return!j||(0,n.Z)(j)!=="object"?j:Array.isArray(j)?j.map(m):(Object.entries(j).forEach(function(A){var E=(0,c.Z)(A,2),I=E[0],z=E[1];if((0,n.Z)(z)==="object"&&h.test(I)){j[I]=m(z);return}if(f()&&g.test(I))throw new Error("Styles not supported for key '".concat(I,"'."));if(I in v){var Z=v[I][z];j[I]=Z!=null?Z:z}}),j)},b=function(j){var A=m(j);return(0,a.Z)({},d,(0,i.iv)(A))},x=function(j){if(Array.isArray(j)){var A=[],E=[],I=s(j),z;try{for(I.s();!(z=I.n()).done;){var Z=z.value,P=x(Z);P.emotion&&A.push.apply(A,(0,o.Z)(P.emotion)),P.static&&E.push(P.static)}}catch(fe){I.e(fe)}finally{I.f()}return{emotion:A,static:E.join(" ")}}var $=j,K=$||{},X=K[d];if(X)return{emotion:[X]};if(j){var le="".concat(j);if(le)return{static:le}}return{}};function R(w){return b(w)}},3749:(y,t,e)=>{"use strict";e.d(t,{Z:()=>g});var o=e(4569),a=e(548),c=e.n(a),n=e(7172),i=e(3153),r={xsmall:8,small:16,medium:24,large:48,xlarge:96};function s(h){return h==="inherit"?"var(--ds-icon-subtle, ".concat(i.Mx,")"):"var(--ds-icon-inverse, ".concat(i.N0,")")}var u=null,l=null,v={rotateStyles:"_j7hqsf8s _5sag12kz _tip812c5 _1pgl2qsq _8hrz1h6o",loadInStyles:"_j7hq1eco _5sag9cwz _1pgl1ytf _1o51q7pw _tzy4idpf",wrapperStyles:"_1e0c116y _s7n4nkob",circleStyles:"_lswuglyw _7ljx1dhp _opj11kw7 _134c892t _1snbbs82 _jcxd7g3v _1tjm1onz"},d=typeof window=="undefined"?a.useEffect:a.useLayoutEffect,f=c().memo(c().forwardRef(function(m,b){var x=m.appearance,R=x===void 0?"inherit":x,w=m.delay,j=w===void 0?0:w,A=m.interactionName,E=m.label,I=m.size,z=I===void 0?"medium":I,Z=m.testId,P=typeof z=="number"?z:r[z],$="".concat(j,"ms"),K=s(R),X=(0,a.useContext)(n.Z);return d(function(){if(X!=null)return X.hold(A)},[X,A]),c().createElement("span",{"data-testid":Z?"".concat(Z,"-wrapper"):"spinner-wrapper",style:{animationDelay:$,width:P,height:P},className:(0,o.Z)([v.wrapperStyles,v.rotateStyles])},c().createElement("svg",{height:P,width:P,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg","data-testid":Z,ref:b,"aria-label":E||void 0,style:{animationDelay:$},role:E?"img":"none",className:(0,o.Z)([v.loadInStyles])},c().createElement("circle",{cx:"8",cy:"8",r:"7",style:{stroke:K},className:(0,o.Z)([v.circleStyles])})))}));const g=f},6297:(y,t,e)=>{"use strict";e.d(t,{Z:()=>ke});var o=e(5904),a=e(6872),c=e(3772),n=e(9231),i=e(4569),r=e(5978),s=e(548),u=e.n(s),l=e(8254),v=e(736),d=["appearance","className","elemAfterInput","elemBeforeInput","isCompact","isDisabled","isInvalid","isMonospaced","isReadOnly","isRequired","name","onBlur","onChange","onFocus","onMouseDown","placeholder","testId","width"];function f(ne,Ee){var Te=Object.keys(ne);if(Object.getOwnPropertySymbols){var Re=Object.getOwnPropertySymbols(ne);Ee&&(Re=Re.filter(function(Fe){return Object.getOwnPropertyDescriptor(ne,Fe).enumerable})),Te.push.apply(Te,Re)}return Te}function g(ne){for(var Ee=1;Ee<arguments.length;Ee++){var Te=arguments[Ee]!=null?arguments[Ee]:{};
8Ee%2?f(Object(Te),!0).forEach(function(Re){(0,c.Z)(ne,Re,Te[Re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ne,Object.getOwnPropertyDescriptors(Te)):f(Object(Te)).forEach(function(Re){Object.defineProperty(ne,Re,Object.getOwnPropertyDescriptor(Te,Re))})}return ne}var h={invalid:"_msj6gir2",disabled:"_6up518qt"},m=null,b={componentName:"textField",packageName:"@atlaskit/textfield",packageVersion:"8.0.7"},x={standard:"_1h6dsyzs _bfhksyzs _syaz1lh4 _80om13gf",subtle:"_1h6d1j28 _bfhk1j28 _syaz1lh4 _80om13gf",none:"_1h6d1j28 _bfhk1j28 _syaz1lh4 _80om13gf"},R=null,w={standard:"_1p9x1p6i _qao9r01l _q433q049",subtle:"_1p9x1p6i _qao9r01l _q433q049",none:"_1p9x1j28 _qao91j28 _q4333sij"},j={standard:"_4cvx1elr _irr31d5g",subtle:"_4cvx1elr _irr31d5g",none:"_4cvx1j28 _irr31j28"},A={standard:"_1h6d1elr _1dqonqa1 _syaz1fxt _80om1kdv _bfhk1j9a _msj6gir2",subtle:"_1h6d1j28 _1dqonqa1 _syaz1fxt _80om1kdv _16hg1j28 _msj6gir2",none:"_1h6d1j28 _1dqoglyw _syaz1fxt _80om1kdv _16hg1j28 _msj6gir2"},E={xsmall:80,small:160,medium:240,large:320,xlarge:480},I=function(Ee){return Ee?Ee in E?"".concat(E[Ee],"px"):"".concat(+Ee,"px"):"100%"},z={standard:"_1dqonqa1 _1q51e4h9 _85i5e4h9 _bozgidpf _y4tiidpf",subtle:"_1dqonqa1 _1q51e4h9 _85i5e4h9 _bozgidpf _y4tiidpf",none:"_1dqoglyw"},Z=null,P=null,$=null,K=null,X=null,le=null,fe=null,ae=null,M=null,G=(0,s.forwardRef)(function(ne,Ee){var Te=ne.appearance,Re=Te===void 0?"standard":Te,Fe=ne.className,rt=ne.elemAfterInput,$e=ne.elemBeforeInput,dt=ne.isCompact,et=dt===void 0?!1:dt,Nt=ne.isDisabled,je=Nt===void 0?!1:Nt,Mt=ne.isInvalid,zt=Mt===void 0?!1:Mt,Tt=ne.isMonospaced,$t=Tt===void 0?!1:Tt,de=ne.isReadOnly,ee=de===void 0?!1:de,_e=ne.isRequired,Pe=_e===void 0?!1:_e,Ke=ne.name,Ce=ne.onBlur,Je=ne.onChange,We=ne.onFocus,It=ne.onMouseDown,Y=ne.placeholder,Ct=ne.testId,jt=ne.width,Ft=(0,n.Z)(ne,d),Rt=(0,s.useRef)(null),qt=(0,l.B)(g({fn:function(Jt){We&&We(Jt)},action:"focused"},b)),Ht=(0,l.B)(g({fn:function(Jt){Ce&&Ce(Jt)},action:"blurred"},b)),nr=(0,s.useCallback)(function(_t){var Jt=_t.target;Jt.tagName!=="INPUT"&&_t.preventDefault(),Rt&&Rt.current&&!je&&document.activeElement!==Rt.current&&Rt.current.focus(),It&&It(_t)},[It,je]),Wt=(0,s.useCallback)(function(_t){Rt.current=_t,Ee&&((0,a.Z)(Ee)==="object"&&(Ee.current=_t),typeof Ee=="function"&&Ee(_t))},[Ee]);return u().createElement("div",{role:"presentation","data-disabled":je||void 0,"data-invalid":zt||void 0,"data-ds--text-field--container":!0,"data-testid":Ct&&"".concat(Ct,"-container"),onMouseDown:nr,className:(0,i.Z)(["_16jlkb7n _1o9zkb7n _i0dl1osq _11c82smr _1reo15vq _18m915vq _v564r5cv _189ee4h9 _1e0c1txw _vchhusvi _4cvr1h6o _1bah1yb4 _lcxv1wug _s7n4jp4b _slp31hna _1tnq1l7b",A[Re],z[Re],!je&&w[Re],!je&&j[Re],je&&h.disabled,je&&x[Re],zt&&h.invalid,zt&&"_1h6d1bqt _4cvx1bqt _16qs13x5 _1dbz13x5 _uk1sr01l",Fe]),style:{maxWidth:"".concat(I(jt)),"--_x5k4n9":(0,r.Z)("inset 0 0 0 ".concat("var(--ds-border-width, 1px)"," ","var(--ds-border-danger, #E2483D)"))}},$e,u().createElement("input",(0,o.Z)({},Ft,{"aria-invalid":zt||void 0,"data-compact":et||void 0,"data-ds--text-field--input":!0,"data-monospaced":$t||void 0,"data-testid":Ct,disabled:je,name:Ke,onBlur:Ht,onChange:Je,onFocus:qt,placeholder:Y,readOnly:ee,ref:Wt,required:Pe,className:(0,i.Z)(["_19itidpf _11c82smr _12ji1r31 _1qu2glyw _12y31o36 _vchhusvi _1bsb1osq _1ul9idpf _bfhk1j28 _syaz1kw7 _80om1kw7 _14jiu2gc _olc6u2gc _1kod12x7 _7ba012x7 _1goxglyw _13xeglyw _1n7e1l2s _1idr131l",$t&&"_ect41odn",et&&"_85i51b66 _1q511b66 _y4ti12x7 _bozg12x7",je&&"_syaz1lh4 _1idr1lh4",je&&"_1fnx18qt",!et&&(0,v.fg)("platform_design_system_team_safari_input_fix")&&"_14ji12x7 _olc612x7 _1kod12x7 _7ba012x7 _l9oiu2gc _549yu2gc _1h5w12x7 _124212x7",(0,v.fg)("platform_design_system_team_safari_input_fix")&&"_11c81ixg _1tn22smr",et&&(0,v.fg)("platform_design_system_team_safari_input_fix")&&"_11zpv77o _1l02v77o _daj712x7 _141f12x7 _1srd1b66 _oi9h1b66 _1e3012x7 _1txv12x7",$t&&(0,v.fg)("platform_design_system_team_safari_input_fix")&&"_ect41odn _14md1odn"])})),rt)});const ke=G},5091:(y,t,e)=>{"use strict";e.d(t,{ug:()=>u,ww:()=>i});var o="__ATLASKIT_THEME__",a="light",c=null,n=function(){return 3},i=function(){return 8},r=function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"var(--ds-border-focused, ".concat(B200,")"),h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:i()/4;return deprecationWarning("@atlaskit/theme","focus ring mixin","Please use `@atlaskit/focus-ring` instead."),`
9  &:focus {
10    outline: none;
11    box-shadow: 0px 0px 0px `.concat(h,"px ").concat(g,`;
12  }
13`)},s=function(){return`
14  box-shadow: none;
15`},u={card:function(){return 100},navigation:function(){return 200},dialog:function(){return 300},layer:function(){return 400},blanket:function(){return 500},modal:function(){return 510},flag:function(){return 600},spotlight:function(){return 700},tooltip:function(){return 9999}},l=function(){return deprecationWarning("@atlaskit/theme","visually hidden mixin","Please use `@atlaskit/visually-hidden` instead."),{border:"0 !important",clip:"rect(1px, 1px, 1px, 1px) !important",height:"1px !important",overflow:"hidden !important",padding:"0 !important",position:"absolute !important",width:"1px !important",whiteSpace:"nowrap !important"}},v=null,d=function(){return{css:{backgroundColor:"var(--ds-skeleton, ".concat(N20A,")"),animationDuration:"1.5s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate"},keyframes:{from:{backgroundColor:"var(--ds-skeleton, ".concat(N20A,")")},to:{backgroundColor:"var(--ds-skeleton-subtle, ".concat(N30A,")")}}}}},4502:(y,t,e)=>{"use strict";e.d(t,{Z:()=>i});var o={"color.text":"--ds-text","color.text.accent.lime":"--ds-text-accent-lime","color.text.accent.lime.bolder":"--ds-text-accent-lime-bolder","color.text.accent.red":"--ds-text-accent-red","color.text.accent.red.bolder":"--ds-text-accent-red-bolder","color.text.accent.orange":"--ds-text-accent-orange","color.text.accent.orange.bolder":"--ds-text-accent-orange-bolder","color.text.accent.yellow":"--ds-text-accent-yellow","color.text.accent.yellow.bolder":"--ds-text-accent-yellow-bolder","color.text.accent.green":"--ds-text-accent-green","color.text.accent.green.bolder":"--ds-text-accent-green-bolder","color.text.accent.teal":"--ds-text-accent-teal","color.text.accent.teal.bolder":"--ds-text-accent-teal-bolder","color.text.accent.blue":"--ds-text-accent-blue","color.text.accent.blue.bolder":"--ds-text-accent-blue-bolder","color.text.accent.purple":"--ds-text-accent-purple","color.text.accent.purple.bolder":"--ds-text-accent-purple-bolder","color.text.accent.magenta":"--ds-text-accent-magenta","color.text.accent.magenta.bolder":"--ds-text-accent-magenta-bolder","color.text.accent.gray":"--ds-text-accent-gray","color.text.accent.gray.bolder":"--ds-text-accent-gray-bolder","color.text.disabled":"--ds-text-disabled","color.text.inverse":"--ds-text-inverse","color.text.selected":"--ds-text-selected","color.text.brand":"--ds-text-brand","color.text.danger":"--ds-text-danger","color.text.warning":"--ds-text-warning","color.text.warning.inverse":"--ds-text-warning-inverse","color.text.success":"--ds-text-success","color.text.discovery":"--ds-text-discovery","color.text.information":"--ds-text-information","color.text.subtlest":"--ds-text-subtlest","color.text.subtle":"--ds-text-subtle","color.link":"--ds-link","color.link.pressed":"--ds-link-pressed","color.link.visited":"--ds-link-visited","color.link.visited.pressed":"--ds-link-visited-pressed","color.icon":"--ds-icon","color.icon.accent.lime":"--ds-icon-accent-lime","color.icon.accent.red":"--ds-icon-accent-red","color.icon.accent.orange":"--ds-icon-accent-orange","color.icon.accent.yellow":"--ds-icon-accent-yellow","color.icon.accent.green":"--ds-icon-accent-green","color.icon.accent.teal":"--ds-icon-accent-teal","color.icon.accent.blue":"--ds-icon-accent-blue","color.icon.accent.purple":"--ds-icon-accent-purple","color.icon.accent.magenta":"--ds-icon-accent-magenta","color.icon.accent.gray":"--ds-icon-accent-gray","color.icon.disabled":"--ds-icon-disabled","color.icon.inverse":"--ds-icon-inverse","color.icon.selected":"--ds-icon-selected","color.icon.brand":"--ds-icon-brand","color.icon.danger":"--ds-icon-danger","color.icon.warning":"--ds-icon-warning","color.icon.warning.inverse":"--ds-icon-warning-inverse","color.icon.success":"--ds-icon-success","color.icon.discovery":"--ds-icon-discovery","color.icon.information":"--ds-icon-information","color.icon.subtlest":"--ds-icon-subtlest","color.icon.subtle":"--ds-icon-subtle","color.border":"--ds-border","color.border.accent.lime":"--ds-border-accent-lime","color.border.accent.red":"--ds-border-accent-red","color.border.accent.orange":"--ds-border-accent-orange","color.border.accent.yellow":"--ds-border-accent-yellow","color.border.accent.green":"--ds-border-accent-green","color.border.accent.teal":"--ds-border-accent-teal","color.border.accent.blue":"--ds-border-accent-blue","color.border.accent.purple":"--ds-border-accent-purple","color.border.accent.magenta":"--ds-border-accent-magenta","color.border.accent.gray":"--ds-border-accent-gray","color.border.disabled":"--ds-border-disabled","color.border.focused":"--ds-border-focused","color.border.input":"--ds-border-input","color.border.inverse":"--ds-border-inverse","color.border.selected":"--ds-border-selected","color.border.brand":"--ds-border-brand","color.border.danger":"--ds-border-danger","color.border.warning":"--ds-border-warning","color.border.success":"--ds-border-success","color.border.discovery":"--ds-border-discovery","color.border.information":"--ds-border-information","color.border.bold":"--ds-border-bold","color.background.accent.lime.subtlest":"--ds-background-accent-lime-subtlest","color.background.accent.lime.subtlest.hovered":"--ds-background-accent-lime-subtlest-hovered","color.background.accent.lime.subtlest.pressed":"--ds-background-accent-lime-subtlest-pressed","color.background.accent.lime.subtler":"--ds-background-accent-lime-subtler","color.background.accent.lime.subtler.hovered":"--ds-background-accent-lime-subtler-hovered","color.background.accent.lime.subtler.pressed":"--ds-background-accent-lime-subtler-pressed","color.background.accent.lime.subtle":"--ds-background-accent-lime-subtle","color.background.accent.lime.subtle.hovered":"--ds-background-accent-lime-subtle-hovered","color.background.accent.lime.subtle.pressed":"--ds-background-accent-lime-subtle-pressed","color.background.accent.lime.bolder":"--ds-background-accent-lime-bolder","color.background.accent.lime.bolder.hovered":"--ds-background-accent-lime-bolder-hovered","color.background.accent.lime.bolder.pressed":"--ds-background-accent-lime-bolder-pressed","color.background.accent.red.subtlest":"--ds-background-accent-red-subtlest","color.background.accent.red.subtlest.hovered":"--ds-background-accent-red-subtlest-hovered","color.background.accent.red.subtlest.pressed":"--ds-background-accent-red-subtlest-pressed","color.background.accent.red.subtler":"--ds-background-accent-red-subtler","color.background.accent.red.subtler.hovered":"--ds-background-accent-red-subtler-hovered","color.background.accent.red.subtler.pressed":"--ds-background-accent-red-subtler-pressed","color.background.accent.red.subtle":"--ds-background-accent-red-subtle","color.background.accent.red.subtle.hovered":"--ds-background-accent-red-subtle-hovered","color.background.accent.red.subtle.pressed":"--ds-background-accent-red-subtle-pressed","color.background.accent.red.bolder":"--ds-background-accent-red-bolder","color.background.accent.red.bolder.hovered":"--ds-background-accent-red-bolder-hovered","color.background.accent.red.bolder.pressed":"--ds-background-accent-red-bolder-pressed","color.background.accent.orange.subtlest":"--ds-background-accent-orange-subtlest","color.background.accent.orange.subtlest.hovered":"--ds-background-accent-orange-subtlest-hovered","color.background.accent.orange.subtlest.pressed":"--ds-background-accent-orange-subtlest-pressed","color.background.accent.orange.subtler":"--ds-background-accent-orange-subtler","color.background.accent.orange.subtler.hovered":"--ds-background-accent-orange-subtler-hovered","color.background.accent.orange.subtler.pressed":"--ds-background-accent-orange-subtler-pressed","color.background.accent.orange.subtle":"--ds-background-accent-orange-subtle","color.background.accent.orange.subtle.hovered":"--ds-background-accent-orange-subtle-hovered","color.background.accent.orange.subtle.pressed":"--ds-background-accent-orange-subtle-pressed","color.background.accent.orange.bolder":"--ds-background-accent-orange-bolder","color.background.accent.orange.bolder.hovered":"--ds-background-accent-orange-bolder-hovered","color.background.accent.orange.bolder.pressed":"--ds-background-accent-orange-bolder-pressed","color.background.accent.yellow.subtlest":"--ds-background-accent-yellow-subtlest","color.background.accent.yellow.subtlest.hovered":"--ds-background-accent-yellow-subtlest-hovered","color.background.accent.yellow.subtlest.pressed":"--ds-background-accent-yellow-subtlest-pressed","color.background.accent.yellow.subtler":"--ds-background-accent-yellow-subtler","color.background.accent.yellow.subtler.hovered":"--ds-background-accent-yellow-subtler-hovered","color.background.accent.yellow.subtler.pressed":"--ds-background-accent-yellow-subtler-pressed","color.background.accent.yellow.subtle":"--ds-background-accent-yellow-subtle","color.background.accent.yellow.subtle.hovered":"--ds-background-accent-yellow-subtle-hovered","color.background.accent.yellow.subtle.pressed":"--ds-background-accent-yellow-subtle-pressed","color.background.accent.yellow.bolder":"--ds-background-accent-yellow-bolder","color.background.accent.yellow.bolder.hovered":"--ds-background-accent-yellow-bolder-hovered","color.background.accent.yellow.bolder.pressed":"--ds-background-accent-yellow-bolder-pressed","color.background.accent.green.subtlest":"--ds-background-accent-green-subtlest","color.background.accent.green.subtlest.hovered":"--ds-background-accent-green-subtlest-hovered","color.background.accent.green.subtlest.pressed":"--ds-background-accent-green-subtlest-pressed","color.background.accent.green.subtler":"--ds-background-accent-green-subtler","color.background.accent.green.subtler.hovered":"--ds-background-accent-green-subtler-hovered","color.background.accent.green.subtler.pressed":"--ds-background-accent-green-subtler-pressed","color.background.accent.green.subtle":"--ds-background-accent-green-subtle","color.background.accent.green.subtle.hovered":"--ds-background-accent-green-subtle-hovered","color.background.accent.green.subtle.pressed":"--ds-background-accent-green-subtle-pressed","color.background.accent.green.bolder":"--ds-background-accent-green-bolder","color.background.accent.green.bolder.hovered":"--ds-background-accent-green-bolder-hovered","color.background.accent.green.bolder.pressed":"--ds-background-accent-green-bolder-pressed","color.background.accent.teal.subtlest":"--ds-background-accent-teal-subtlest","color.background.accent.teal.subtlest.hovered":"--ds-background-accent-teal-subtlest-hovered","color.background.accent.teal.subtlest.pressed":"--ds-background-accent-teal-subtlest-pressed","color.background.accent.teal.subtler":"--ds-background-accent-teal-subtler","color.background.accent.teal.subtler.hovered":"--ds-background-accent-teal-subtler-hovered","color.background.accent.teal.subtler.pressed":"--ds-background-accent-teal-subtler-pressed","color.background.accent.teal.subtle":"--ds-background-accent-teal-subtle","color.background.accent.teal.subtle.hovered":"--ds-background-accent-teal-subtle-hovered","color.background.accent.teal.subtle.pressed":"--ds-background-accent-teal-subtle-pressed","color.background.accent.teal.bolder":"--ds-background-accent-teal-bolder","color.background.accent.teal.bolder.hovered":"--ds-background-accent-teal-bolder-hovered","color.background.accent.teal.bolder.pressed":"--ds-background-accent-teal-bolder-pressed","color.background.accent.blue.subtlest":"--ds-background-accent-blue-subtlest","color.background.accent.blue.subtlest.hovered":"--ds-background-accent-blue-subtlest-hovered","color.background.accent.blue.subtlest.pressed":"--ds-background-accent-blue-subtlest-pressed","color.background.accent.blue.subtl
15er":"--ds-background-accent-blue-subtler","color.background.accent.blue.subtler.hovered":"--ds-background-accent-blue-subtler-hovered","color.background.accent.blue.subtler.pressed":"--ds-background-accent-blue-subtler-pressed","color.background.accent.blue.subtle":"--ds-background-accent-blue-subtle","color.background.accent.blue.subtle.hovered":"--ds-background-accent-blue-subtle-hovered","color.background.accent.blue.subtle.pressed":"--ds-background-accent-blue-subtle-pressed","color.background.accent.blue.bolder":"--ds-background-accent-blue-bolder","color.background.accent.blue.bolder.hovered":"--ds-background-accent-blue-bolder-hovered","color.background.accent.blue.bolder.pressed":"--ds-background-accent-blue-bolder-pressed","color.background.accent.purple.subtlest":"--ds-background-accent-purple-subtlest","color.background.accent.purple.subtlest.hovered":"--ds-background-accent-purple-subtlest-hovered","color.background.accent.purple.subtlest.pressed":"--ds-background-accent-purple-subtlest-pressed","color.background.accent.purple.subtler":"--ds-background-accent-purple-subtler","color.background.accent.purple.subtler.hovered":"--ds-background-accent-purple-subtler-hovered","color.background.accent.purple.subtler.pressed":"--ds-background-accent-purple-subtler-pressed","color.background.accent.purple.subtle":"--ds-background-accent-purple-subtle","color.background.accent.purple.subtle.hovered":"--ds-background-accent-purple-subtle-hovered","color.background.accent.purple.subtle.pressed":"--ds-background-accent-purple-subtle-pressed","color.background.accent.purple.bolder":"--ds-background-accent-purple-bolder","color.background.accent.purple.bolder.hovered":"--ds-background-accent-purple-bolder-hovered","color.background.accent.purple.bolder.pressed":"--ds-background-accent-purple-bolder-pressed","color.background.accent.magenta.subtlest":"--ds-background-accent-magenta-subtlest","color.background.accent.magenta.subtlest.hovered":"--ds-background-accent-magenta-subtlest-hovered","color.background.accent.magenta.subtlest.pressed":"--ds-background-accent-magenta-subtlest-pressed","color.background.accent.magenta.subtler":"--ds-background-accent-magenta-subtler","color.background.accent.magenta.subtler.hovered":"--ds-background-accent-magenta-subtler-hovered","color.background.accent.magenta.subtler.pressed":"--ds-background-accent-magenta-subtler-pressed","color.background.accent.magenta.subtle":"--ds-background-accent-magenta-subtle","color.background.accent.magenta.subtle.hovered":"--ds-background-accent-magenta-subtle-hovered","color.background.accent.magenta.subtle.pressed":"--ds-background-accent-magenta-subtle-pressed","color.background.accent.magenta.bolder":"--ds-background-accent-magenta-bolder","color.background.accent.magenta.bolder.hovered":"--ds-background-accent-magenta-bolder-hovered","color.background.accent.magenta.bolder.pressed":"--ds-background-accent-magenta-bolder-pressed","color.background.accent.gray.subtlest":"--ds-background-accent-gray-subtlest","color.background.accent.gray.subtlest.hovered":"--ds-background-accent-gray-subtlest-hovered","color.background.accent.gray.subtlest.pressed":"--ds-background-accent-gray-subtlest-pressed","color.background.accent.gray.subtler":"--ds-background-accent-gray-subtler","color.background.accent.gray.subtler.hovered":"--ds-background-accent-gray-subtler-hovered","color.background.accent.gray.subtler.pressed":"--ds-background-accent-gray-subtler-pressed","color.background.accent.gray.subtle":"--ds-background-accent-gray-subtle","color.background.accent.gray.subtle.hovered":"--ds-background-accent-gray-subtle-hovered","color.background.accent.gray.subtle.pressed":"--ds-background-accent-gray-subtle-pressed","color.background.accent.gray.bolder":"--ds-background-accent-gray-bolder","color.background.accent.gray.bolder.hovered":"--ds-background-accent-gray-bolder-hovered","color.background.accent.gray.bolder.pressed":"--ds-background-accent-gray-bolder-pressed","color.background.disabled":"--ds-background-disabled","color.background.input":"--ds-background-input","color.background.input.hovered":"--ds-background-input-hovered","color.background.input.pressed":"--ds-background-input-pressed","color.background.inverse.subtle":"--ds-background-inverse-subtle","color.background.inverse.subtle.hovered":"--ds-background-inverse-subtle-hovered","color.background.inverse.subtle.pressed":"--ds-background-inverse-subtle-pressed","color.background.neutral":"--ds-background-neutral","color.background.neutral.hovered":"--ds-background-neutral-hovered","color.background.neutral.pressed":"--ds-background-neutral-pressed","color.background.neutral.subtle":"--ds-background-neutral-subtle","color.background.neutral.subtle.hovered":"--ds-background-neutral-subtle-hovered","color.background.neutral.subtle.pressed":"--ds-background-neutral-subtle-pressed","color.background.neutral.bold":"--ds-background-neutral-bold","color.background.neutral.bold.hovered":"--ds-background-neutral-bold-hovered","color.background.neutral.bold.pressed":"--ds-background-neutral-bold-pressed","color.background.selected":"--ds-background-selected","color.background.selected.hovered":"--ds-background-selected-hovered","color.background.selected.pressed":"--ds-background-selected-pressed","color.background.selected.bold":"--ds-background-selected-bold","color.background.selected.bold.hovered":"--ds-background-selected-bold-hovered","color.background.selected.bold.pressed":"--ds-background-selected-bold-pressed","color.background.brand.subtlest":"--ds-background-brand-subtlest","color.background.brand.subtlest.hovered":"--ds-background-brand-subtlest-hovered","color.background.brand.subtlest.pressed":"--ds-background-brand-subtlest-pressed","color.background.brand.bold":"--ds-background-brand-bold","color.background.brand.bold.hovered":"--ds-background-brand-bold-hovered","color.background.brand.bold.pressed":"--ds-background-brand-bold-pressed","color.background.brand.boldest":"--ds-background-brand-boldest","color.background.brand.boldest.hovered":"--ds-background-brand-boldest-hovered","color.background.brand.boldest.pressed":"--ds-background-brand-boldest-pressed","color.background.danger":"--ds-background-danger","color.background.danger.hovered":"--ds-background-danger-hovered","color.background.danger.pressed":"--ds-background-danger-pressed","color.background.danger.bold":"--ds-background-danger-bold","color.background.danger.bold.hovered":"--ds-background-danger-bold-hovered","color.background.danger.bold.pressed":"--ds-background-danger-bold-pressed","color.background.warning":"--ds-background-warning","color.background.warning.hovered":"--ds-background-warning-hovered","color.background.warning.pressed":"--ds-background-warning-pressed","color.background.warning.bold":"--ds-background-warning-bold","color.background.warning.bold.hovered":"--ds-background-warning-bold-hovered","color.background.warning.bold.pressed":"--ds-background-warning-bold-pressed","color.background.success":"--ds-background-success","color.background.success.hovered":"--ds-background-success-hovered","color.background.success.pressed":"--ds-background-success-pressed","color.background.success.bold":"--ds-background-success-bold","color.background.success.bold.hovered":"--ds-background-success-bold-hovered","color.background.success.bold.pressed":"--ds-background-success-bold-pressed","color.background.discovery":"--ds-background-discovery","color.background.discovery.hovered":"--ds-background-discovery-hovered","color.background.discovery.pressed":"--ds-background-discovery-pressed","color.background.discovery.bold":"--ds-background-discovery-bold","color.background.discovery.bold.hovered":"--ds-background-discovery-bold-hovered","color.background.discovery.bold.pressed":"--ds-background-discovery-bold-pressed","color.background.information":"--ds-background-information","color.background.information.hovered":"--ds-background-information-hovered","color.background.information.pressed":"--ds-background-information-pressed","color.background.information.bold":"--ds-background-information-bold","color.background.information.bold.hovered":"--ds-background-information-bold-hovered","color.background.information.bold.pressed":"--ds-background-information-bold-pressed","color.blanket":"--ds-blanket","color.blanket.selected":"--ds-blanket-selected","color.blanket.danger":"--ds-blanket-danger","color.interaction.hovered":"--ds-interaction-hovered","color.interaction.pressed":"--ds-interaction-pressed","color.skeleton":"--ds-skeleton","color.skeleton.subtle":"--ds-skeleton-subtle","color.chart.categorical.1":"--ds-chart-categorical-1","color.chart.categorical.1.hovered":"--ds-chart-categorical-1-hovered","color.chart.categorical.2":"--ds-chart-categorical-2","color.chart.categorical.2.hovered":"--ds-chart-categorical-2-hovered","color.chart.categorical.3":"--ds-chart-categorical-3","color.chart.categorical.3.hovered":"--ds-chart-categorical-3-hovered","color.chart.categorical.4":"--ds-chart-categorical-4","color.chart.categorical.4.hovered":"--ds-chart-categorical-4-hovered","color.chart.categorical.5":"--ds-chart-categorical-5","color.chart.categorical.5.hovered":"--ds-chart-categorical-5-hovered","color.chart.categorical.6":"--ds-chart-categorical-6","color.chart.categorical.6.hovered":"--ds-chart-categorical-6-hovered","color.chart.categorical.7":"--ds-chart-categorical-7","color.chart.categorical.7.hovered":"--ds-chart-categorical-7-hovered","color.chart.categorical.8":"--ds-chart-categorical-8","color.chart.categorical.8.hovered":"--ds-chart-categorical-8-hovered","color.chart.lime.bold":"--ds-chart-lime-bold","color.chart.lime.bold.hovered":"--ds-chart-lime-bold-hovered","color.chart.lime.bolder":"--ds-chart-lime-bolder","color.chart.lime.bolder.hovered":"--ds-chart-lime-bolder-hovered","color.chart.lime.boldest":"--ds-chart-lime-boldest","color.chart.lime.boldest.hovered":"--ds-chart-lime-boldest-hovered","color.chart.neutral":"--ds-chart-neutral","color.chart.neutral.hovered":"--ds-chart-neutral-hovered","color.chart.red.bold":"--ds-chart-red-bold","color.chart.red.bold.hovered":"--ds-chart-red-bold-hovered","color.chart.red.bolder":"--ds-chart-red-bolder","color.chart.red.bolder.hovered":"--ds-chart-red-bolder-hovered","color.chart.red.bolde
15st":"--ds-chart-red-boldest","color.chart.red.boldest.hovered":"--ds-chart-red-boldest-hovered","color.chart.orange.bold":"--ds-chart-orange-bold","color.chart.orange.bold.hovered":"--ds-chart-orange-bold-hovered","color.chart.orange.bolder":"--ds-chart-orange-bolder","color.chart.orange.bolder.hovered":"--ds-chart-orange-bolder-hovered","color.chart.orange.boldest":"--ds-chart-orange-boldest","color.chart.orange.boldest.hovered":"--ds-chart-orange-boldest-hovered","color.chart.yellow.bold":"--ds-chart-yellow-bold","color.chart.yellow.bold.hovered":"--ds-chart-yellow-bold-hovered","color.chart.yellow.bolder":"--ds-chart-yellow-bolder","color.chart.yellow.bolder.hovered":"--ds-chart-yellow-bolder-hovered","color.chart.yellow.boldest":"--ds-chart-yellow-boldest","color.chart.yellow.boldest.hovered":"--ds-chart-yellow-boldest-hovered","color.chart.green.bold":"--ds-chart-green-bold","color.chart.green.bold.hovered":"--ds-chart-green-bold-hovered","color.chart.green.bolder":"--ds-chart-green-bolder","color.chart.green.bolder.hovered":"--ds-chart-green-bolder-hovered","color.chart.green.boldest":"--ds-chart-green-boldest","color.chart.green.boldest.hovered":"--ds-chart-green-boldest-hovered","color.chart.teal.bold":"--ds-chart-teal-bold","color.chart.teal.bold.hovered":"--ds-chart-teal-bold-hovered","color.chart.teal.bolder":"--ds-chart-teal-bolder","color.chart.teal.bolder.hovered":"--ds-chart-teal-bolder-hovered","color.chart.teal.boldest":"--ds-chart-teal-boldest","color.chart.teal.boldest.hovered":"--ds-chart-teal-boldest-hovered","color.chart.blue.bold":"--ds-chart-blue-bold","color.chart.blue.bold.hovered":"--ds-chart-blue-bold-hovered","color.chart.blue.bolder":"--ds-chart-blue-bolder","color.chart.blue.bolder.hovered":"--ds-chart-blue-bolder-hovered","color.chart.blue.boldest":"--ds-chart-blue-boldest","color.chart.blue.boldest.hovered":"--ds-chart-blue-boldest-hovered","color.chart.purple.bold":"--ds-chart-purple-bold","color.chart.purple.bold.hovered":"--ds-chart-purple-bold-hovered","color.chart.purple.bolder":"--ds-chart-purple-bolder","color.chart.purple.bolder.hovered":"--ds-chart-purple-bolder-hovered","color.chart.purple.boldest":"--ds-chart-purple-boldest","color.chart.purple.boldest.hovered":"--ds-chart-purple-boldest-hovered","color.chart.magenta.bold":"--ds-chart-magenta-bold","color.chart.magenta.bold.hovered":"--ds-chart-magenta-bold-hovered","color.chart.magenta.bolder":"--ds-chart-magenta-bolder","color.chart.magenta.bolder.hovered":"--ds-chart-magenta-bolder-hovered","color.chart.magenta.boldest":"--ds-chart-magenta-boldest","color.chart.magenta.boldest.hovered":"--ds-chart-magenta-boldest-hovered","color.chart.gray.bold":"--ds-chart-gray-bold","color.chart.gray.bold.hovered":"--ds-chart-gray-bold-hovered","color.chart.gray.bolder":"--ds-chart-gray-bolder","color.chart.gray.bolder.hovered":"--ds-chart-gray-bolder-hovered","color.chart.gray.boldest":"--ds-chart-gray-boldest","color.chart.gray.boldest.hovered":"--ds-chart-gray-boldest-hovered","color.chart.brand":"--ds-chart-brand","color.chart.brand.hovered":"--ds-chart-brand-hovered","color.chart.danger":"--ds-chart-danger","color.chart.danger.hovered":"--ds-chart-danger-hovered","color.chart.danger.bold":"--ds-chart-danger-bold","color.chart.danger.bold.hovered":"--ds-chart-danger-bold-hovered","color.chart.warning":"--ds-chart-warning","color.chart.warning.hovered":"--ds-chart-warning-hovered","color.chart.warning.bold":"--ds-chart-warning-bold","color.chart.warning.bold.hovered":"--ds-chart-warning-bold-hovered","color.chart.success":"--ds-chart-success","color.chart.success.hovered":"--ds-chart-success-hovered","color.chart.success.bold":"--ds-chart-success-bold","color.chart.success.bold.hovered":"--ds-chart-success-bold-hovered","color.chart.discovery":"--ds-chart-discovery","color.chart.discovery.hovered":"--ds-chart-discovery-hovered","color.chart.discovery.bold":"--ds-chart-discovery-bold","color.chart.discovery.bold.hovered":"--ds-chart-discovery-bold-hovered","color.chart.information":"--ds-chart-information","color.chart.information.hovered":"--ds-chart-information-hovered","color.chart.information.bold":"--ds-chart-information-bold","color.chart.information.bold.hovered":"--ds-chart-information-bold-hovered","elevation.surface":"--ds-surface","elevation.surface.hovered":"--ds-surface-hovered","elevation.surface.pressed":"--ds-surface-pressed","elevation.surface.overlay":"--ds-surface-overlay","elevation.surface.overlay.hovered":"--ds-surface-overlay-hovered","elevation.surface.overlay.pressed":"--ds-surface-overlay-pressed","elevation.surface.raised":"--ds-surface-raised","elevation.surface.raised.hovered":"--ds-surface-raised-hovered","elevation.surface.raised.pressed":"--ds-surface-raised-pressed","elevation.surface.sunken":"--ds-surface-sunken","elevation.shadow.overflow":"--ds-s
15hadow-overflow","elevation.shadow.overflow.perimeter":"--ds-shadow-overflow-perimeter","elevation.shadow.overflow.spread":"--ds-shadow-overflow-spread","elevation.shadow.overlay":"--ds-shadow-overlay","elevation.shadow.raised":"--ds-shadow-raised","opacity.disabled":"--ds-opacity-disabled","opacity.loading":"--ds-opacity-loading","utility.UNSAFE.textTransformUppercase":"--ds-UNSAFE-textTransformUppercase","utility.UNSAFE.transparent":"--ds-UNSAFE-transparent","utility.elevation.surface.current":"--ds-elevation-surface-current","border.radius.050":"--ds-border-radius-050","border.radius":"--ds-border-radius","border.radius.100":"--ds-border-radius-100","border.radius.200":"--ds-border-radius-200","border.radius.300":"--ds-border-radius-300","border.radius.400":"--ds-border-radius-400","border.radius.circle":"--ds-border-radius-circle","border.width":"--ds-border-width","border.width.0":"--ds-border-width-0","border.width.indicator":"--ds-border-width-indicator","border.width.outline":"--ds-border-width-outline","space.0":"--ds-space-0","space.025":"--ds-space-025","space.050":"--ds-space-050","space.075":"--ds-space-075","space.100":"--ds-space-100","space.150":"--ds-space-150","space.200":"--ds-space-200","space.250":"--ds-space-250","space.300":"--ds-space-300","space.400":"--ds-space-400","space.500":"--ds-space-500","space.600":"--ds-space-600","space.800":"--ds-space-800","space.1000":"--ds-space-1000","space.negative.025":"--ds-space-negative-025","space.negative.050":"--ds-space-negative-050","space.negative.075":"--ds-space-negative-075","space.negative.100":"--ds-space-negative-100","space.negative.150":"--ds-space-negative-150","space.negative.200":"--ds-space-negative-200","space.negative.250":"--ds-space-negative-250","space.negative.300":"--ds-space-negative-300","space.negative.400":"--ds-space-negative-400","font.heading.xxlarge":"--ds-font-heading-xxlarge","font.heading.xlarge":"--ds-font-heading-xlarge","font.heading.large":"--ds-font-heading-large","font.heading.medium":"--ds-font-heading-medium","font.heading.small":"--ds-font-heading-small","font.heading.xsmall":"--ds-font-heading-xsmall","font.heading.xxsmall":"--ds-font-heading-xxsmall","font.body.large":"--ds-font-body-large","font.body":"--ds-font-body","font.body.small":"--ds-font-body-small","font.body.UNSAFE_small":"--ds-font-body-UNSAFE_small","font.metric.large":"--ds-font-metric-large","font.metric.medium":"--ds-font-metric-medium","font.metric.small":"--ds-font-metric-small","font.code":"--ds-font-code","font.weight.regular":"--ds-font-weight-regular","font.weight.medium":"--ds-font-weight-medium","font.weight.semibold":"--ds-font-weight-semibold","font.weight.bold":"--ds-font-weight-bold","font.family.heading":"--ds-font-family-heading","font.family.body":"--ds-font-family-body","font.family.code":"--ds-font-family-code","font.family.brand.heading":"--ds-font-family-brand-heading","font.family.brand.body":"--ds-font-family-brand-body"};const a=o;var c=e(9695);function n(r,s){var u=a[r];u||(u=c.ug);var l=s?"var(".concat(u,", ").concat(s,")"):"var(".concat(u,")");return l}const i=n},449:(y,t,e)=>{"use strict";e.d(t,{Z:()=>i});var o=e(548),a=e(4569),c=null,n=function(s){var u=s.children,l=s.testId,v=s.role,d=s.id;return o.createElement("span",{id:d,"data-testid":l,role:v,className:(0,a.Z)(["_ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _19itidpf _1reo15vq _18m915vq _1bsbt94y _4t3it94y _kqswstnw _ogto7mnp _uiztglyw _o5721q9c"])},u)};const i=n},4569:(y,t,e)=>{"use strict";e.d(t,{Z:()=>a});const o=5;function a(c){if(!c.length)return;if(c.length===1&&c[0]&&!c[0].includes(" "))return c[0];const n={};for(const r of c){if(!r)continue;const s=r.split(" ");for(const u of s){const l=u.startsWith("_")?u.slice(0,o):u;n[l]=u}}let i="";for(const r in n)i+=n[r]+" ";if(i)return i.trimEnd()}},5978:(y,t,e)=>{"use strict";e.d(t,{Z:()=>o});function o(a,c,n){return a!=null?c?n?n+a+c:a+c:a:"var(--c-, )"}},4570:(y,t,e)=>{"use strict";e.d(t,{ms:()=>Zt,iv:()=>xt,tZ:()=>ot});var o=e(548);function a(_){if(_.sheet)return _.sheet;for(var S=0;S<document.styleSheets.length;S++)if(document.styleSheets[S].ownerNode===_)return document.styleSheets[S]}function c(_){var S=document.createElement("style");return S.setAttribute("data-emotion",_.key),_.nonce!==void 0&&S.setAttribute("nonce",_.nonce),S.appendChild(document.createTextNode("")),S.setAttribute("data-s",""),S}var n=function(){function _(F){var B=this;this._insertTag=function(re){var he;B.tags.length===0?B.insertionPoint?he=B.insertionPoint.nextSibling:B.prepend?he=B.container.firstChild:he=B.before:he=B.tags[B.tags.length-1].nextSibling,B.container.insertBefore(re,he),B.tags.push(re)},this.isSpeedy=F.speedy===void 0?!0:F.speedy,this.tags=[],this.ctr=0,this.nonce=F.nonce,this.key=F.key,this.container=F.container,this.prepend=F.prepend,this.insertionPoint=F.insertionPoint,this.before=null}var S=_.prototype;return S.hydrate=function(B){B.forEach(this._insertTag)},S.insert=function(B){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(c(this));var re=this.tags[this.tags.length-1];if(0)var he;if(this.isSpeedy){var Me=a(re);try{Me.insertRule(B,Me.cssRules.length)}catch(qe){}}else re.appendChild(document.createTextNode(B));this.ctr++}
15,S.flush=function(){this.tags.forEach(function(B){return B.parentNode&&B.parentNode.removeChild(B)}),this.tags=[],this.ctr=0},_}(),i=Math.abs,r=String.fromCharCode,s=Object.assign;function u(_,S){return g(_,0)^45?(((S<<2^g(_,0))<<2^g(_,1))<<2^g(_,2))<<2^g(_,3):0}function l(_){return _.trim()}function v(_,S){return(_=S.exec(_))?_[0]:_}function d(_,S,F){return _.replace(S,F)}function f(_,S){return _.indexOf(S)}function g(_,S){return _.charCodeAt(S)|0}function h(_,S,F){return _.slice(S,F)}function m(_){return _.length}function b(_){return _.length}function x(_,S){return S.push(_),_}function R(_,S){return _.map(S).join("")}var w=1,j=1,A=0,E=0,I=0,z="";function Z(_,S,F,B,re,he,Me){return{value:_,root:S,parent:F,type:B,props:re,children:he,line:w,column:j,length:Me,return:""}}function P(_,S){return s(Z("",null,null,"",null,null,0),_,{length:-_.length},S)}function $(){return I}function K(){return I=E>0?g(z,--E):0,j--,I===10&&(j=1,w--),I}function X(){return I=E<A?g(z,E++):0,j++,I===10&&(j=1,w++),I}function le(){return g(z,E)}function fe(){return E}function ae(_,S){return h(z,_,S)}function M(_){switch(_){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function G(_){return w=j=1,A=m(z=_),E=0,[]}function ke(_){return z="",_}function ne(_){return l(ae(E-1,rt(_===91?_+2:_===40?_+1:_)))}function Ee(_){return ke(Re(G(_)))}function Te(_){for(;(I=le())&&I<33;)X();return M(_)>2||M(I)>3?"":" "}function Re(_){for(;X();)switch(M(I)){case 0:append(dt(E-1),_);break;case 2:append(ne(I),_);break;default:append(from(I),_)}return _}function Fe(_,S){for(;--S&&X()&&!(I<48||I>102||I>57&&I<65||I>70&&I<97););return ae(_,fe()+(S<6&&le()==32&&X()==32))}function rt(_){for(;X();)switch(I){case _:return E;case 34:case 39:_!==34&&_!==39&&rt(I);break;case 40:_===41&&rt(_);break;case 92:X();break}return E}function $e(_,S){for(;X()&&_+I!==57;)if(_+I===84&&le()===47)break;return"/*"+ae(S,E-1)+"*"+r(_===47?_:X())}function dt(_){for(;!M(le());)X();return ae(_,E)}var et="-ms-",Nt="-moz-",je="-webkit-",Mt="comm",zt="rule",Tt="decl",$t="@page",de="@media",ee="@import",_e="@charset",Pe="@viewport",Ke="@supports",Ce="@document",Je="@namespace",We="@keyframes",It="@font-face",Y="@counter-style",Ct="@font-feature-values",jt="@layer";function Ft(_,S){for(var F="",B=b(_),re=0;re<B;re++)F+=S(_[re],re,_,S)||"";return F}function Rt(_,S,F,B){switch(_.type){case jt:if(_.children.length)break;case ee:case Tt:return _.return=_.return||_.value;case Mt:return"";case We:return _.return=_.value+"{"+Ft(_.children,B)+"}";case zt:_.value=_.props.join(",")}return m(F=Ft(_.children,B))?_.return=_.value+"{"+F+"}":""}function qt(_){var S=b(_);return function(F,B,re,he){for(var Me="",qe=0;qe<S;qe++)Me+=_[qe](F,B,re,he)||"";return Me}}function Ht(_){return function(S){S.root||(S=S.return)&&_(S)}}function nr(_,S,F,B){if(_.length>-1&&!_.return)switch(_.type){case DECLARATION:_.return=prefix(_.value,_.length,F);return;case KEYFRAMES:return serialize([copy(_,{value:replace(_.value,"@","@"+WEBKIT)})],B);case RULESET:if(_.length)return combine(_.props,function(re){switch(match(re,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return serialize([copy(_,{props:[replace(re,/:(read-\w+)/,":"+MOZ+"$1")]})],B);case"::placeholder":return serialize([copy(_,{props:[replace(re,/:(plac\w+)/,":"+WEBKIT+"input-$1")]}),copy(_,{props:[replace(re,/:(plac\w+)/,":"+MOZ+"$1")]}),copy(_,{props:[replace(re,/:(plac\w+)/,MS+"input-$1")]})],B)}return""})}}function Wt(_){switch(_.type){case RULESET:_.props=_.props.map(function(S){return combine(tokenize(S),function(F,B,re){switch(charat(F,0)){case 12:return substr(F,1,strlen(F));case 0:case 40:case 43:case 62:case 126:return F;case 58:re[++B]==="global"&&(re[B]="",re[++B]="\f"+substr(re[B],B=1,-1));case 32:return B===1?"":F;default:switch(B){case 0:return _=F,sizeof(re)>1?"":F;case(B=sizeof(re)-1):case 2:return B===2?F+_+_:F+_;default:return F}}})})}}function _t(_){return ke(Jt("",null,null,null,[""],_=G(_),0,[0],_))}function Jt(_,S,F,B,re,he,Me,qe,kt){for(var gt=0,Ot=0,Dt=Me,dr=0,pr=0,lr=0,Qt=1,ur=1,Kt=1,or=0,hr="",br=re,yr=he,mr=B,Gt=hr;ur;)switch(lr=or,or=X()){case 40:if(lr!=108&&g(Gt,Dt-1)==58){f(Gt+=d(ne(or),"&","&\f"),"&\f")!=-1&&(Kt=-1);break}case 34:case 39:case 91:Gt+=ne(or);break;
15case 9:case 10:case 13:case 32:Gt+=Te(lr);break;case 92:Gt+=Fe(fe()-1,7);continue;case 47:switch(le()){case 42:case 47:x(Be($e(X(),fe()),S,F),kt);break;default:Gt+="/"}break;case 123*Qt:qe[gt++]=m(Gt)*Kt;case 125*Qt:case 59:case 0:switch(or){case 0:case 125:ur=0;case 59+Ot:Kt==-1&&(Gt=d(Gt,/\f/g,"")),pr>0&&m(Gt)-Dt&&x(pr>32?Ve(Gt+";",B,F,Dt-1):Ve(d(Gt," ","")+";",B,F,Dt-2),kt);break;case 59:Gt+=";";default:if(x(mr=se(Gt,S,F,gt,Ot,re,qe,hr,br=[],yr=[],Dt),he),or===123)if(Ot===0)Jt(Gt,S,mr,mr,br,he,Dt,qe,yr);else switch(dr===99&&g(Gt,3)===110?100:dr){case 100:case 108:case 109:case 115:Jt(_,mr,mr,B&&x(se(_,mr,mr,0,0,re,qe,hr,re,br=[],Dt),yr),re,yr,Dt,qe,B?br:yr);break;default:Jt(Gt,mr,mr,mr,[""],yr,0,qe,yr)}}gt=Ot=pr=0,Qt=Kt=1,hr=Gt="",Dt=Me;break;case 58:Dt=1+m(Gt),pr=lr;default:if(Qt<1){if(or==123)--Qt;else if(or==125&&Qt++==0&&K()==125)continue}switch(Gt+=r(or),or*Qt){case 38:Kt=Ot>0?1:(Gt+="\f",-1);break;case 44:qe[gt++]=(m(Gt)-1)*Kt,Kt=1;break;case 64:le()===45&&(Gt+=ne(X())),dr=le(),Ot=Dt=m(hr=Gt+=dt(fe())),or++;break;case 45:lr===45&&m(Gt)==2&&(Qt=0)}}return he}function se(_,S,F,B,re,he,Me,qe,kt,gt,Ot){for(var Dt=re-1,dr=re===0?he:[""],pr=b(dr),lr=0,Qt=0,ur=0;lr<B;++lr)for(var Kt=0,or=h(_,Dt+1,Dt=i(Qt=Me[lr])),hr=_;Kt<pr;++Kt)(hr=l(Qt>0?dr[Kt]+" "+or:d(or,/&\f/g,dr[Kt])))&&(kt[ur++]=hr);return Z(_,S,F,re===0?zt:qe,kt,gt,Ot)}function Be(_,S,F){return Z(_,S,F,Mt,r($()),h(_,2,-2),0)}function Ve(_,S,F,B){return Z(_,S,F,Tt,h(_,0,B),h(_,B+1,-1),B)}var Ie=function(S,F,B){for(var re=0,he=0;re=he,he=le(),re===38&&he===12&&(F[B]=1),!M(he);)X();return ae(S,E)},Oe=function(S,F){var B=-1,re=44;do switch(M(re)){case 0:re===38&&le()===12&&(F[B]=1),S[B]+=Ie(E-1,F,B);break;case 2:S[B]+=ne(re);break;case 4:if(re===44){S[++B]=le()===58?"&\f":"",F[B]=S[B].length;break}default:S[B]+=r(re)}while(re=X());return S},xe=function(S,F){return ke(Oe(G(S),F))},ct=new WeakMap,lt=function(S){if(!(S.type!=="rule"||!S.parent||S.length<1)){for(var F=S.value,B=S.parent,re=S.column===B.column&&S.line===B.line;B.type!=="rule";)if(B=B.parent,!B)return;if(!(S.props.length===1&&F.charCodeAt(0)!==58&&!ct.get(B))&&!re){ct.set(S,!0);for(var he=[],Me=xe(F,he),qe=B.props,kt=0,gt=0;kt<Me.length;kt++)for(var Ot=0;Ot<qe.length;Ot++,gt++)S.props[gt]=he[kt]?Me[kt].replace(/&\f/g,qe[Ot]):qe[Ot]+" "+Me[kt]}}},ut=function(S){if(S.type==="decl"){var F=S.value;F.charCodeAt(0)===108&&F.charCodeAt(2)===98&&(S.return="",S.value="")}},er="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",we=function(S){return S.type==="comm"&&S.children.indexOf(er)>-1},oe=function(S){return function(F,B,re){if(!(F.type!=="rule"||S.compat)){var he=F.value.match(/(:first|:nth|:nth-last)-child/g);if(he){for(var Me=!!F.parent,qe=Me?F.parent.children:re,kt=qe.length-1;kt>=0;kt--){var gt=qe[kt];if(gt.line<F.line)break;if(gt.column<F.column){if(we(gt))return;break}}he.forEach(function(Ot){console.error('The pseudo class "'+Ot+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+Ot.split("-child")[0]+'-of-type".')})}}}},ye=function(S){return S.type.charCodeAt(1)===105&&S.type.charCodeAt(0)===64},tt=function(S,F){for(var B=S-1;B>=0;B--)if(!ye(F[B]))return!0;return!1},mt=function(S){S.type="",S.value="",S.return="",S.children="",S.props=""},Vt=function(S,F,B){ye(S)&&(S.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),mt(S)):tt(F,B)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),mt(S)))};function ce(_,S){switch(u(_,S)){case 5103:return je+"print-"+_+_;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return je+_+_;case 5349:case 4246:case 4810:case 6968:case 2756:return je+_+Nt+_+et+_+_;case 6828:case 4268:return je+_+et+_+_;case 6165:return je+_+et+"flex-"+_+_;case 5187:return je+_+d(_,/(\w+).+(:[^]+)/,je+"box-$1$2"+et+"flex-$1$2")+_;case 5443:return je+_+et+"flex-item-"+d(_,/flex-|-self/,"")+_;
15case 4675:return je+_+et+"flex-line-pack"+d(_,/align-content|flex-|-self/,"")+_;case 5548:return je+_+et+d(_,"shrink","negative")+_;case 5292:return je+_+et+d(_,"basis","preferred-size")+_;case 6060:return je+"box-"+d(_,"-grow","")+je+_+et+d(_,"grow","positive")+_;case 4554:return je+d(_,/([^-])(transform)/g,"$1"+je+"$2")+_;case 6187:return d(d(d(_,/(zoom-|grab)/,je+"$1"),/(image-set)/,je+"$1"),_,"")+_;case 5495:case 3959:return d(_,/(image-set\([^]*)/,je+"$1$`$1");case 4968:return d(d(_,/(.+:)(flex-)?(.*)/,je+"box-pack:$3"+et+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+je+_+_;case 4095:case 3583:case 4068:case 2532:return d(_,/(.+)-inline(.+)/,je+"$1$2")+_;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(m(_)-1-S>6)switch(g(_,S+1)){case 109:if(g(_,S+4)!==45)break;case 102:return d(_,/(.+:)(.+)-([^]+)/,"$1"+je+"$2-$3$1"+Nt+(g(_,S+3)==108?"$3":"$2-$3"))+_;case 115:return~f(_,"stretch")?ce(d(_,"stretch","fill-available"),S)+_:_}break;case 4949:if(g(_,S+1)!==115)break;case 6444:switch(g(_,m(_)-3-(~f(_,"!important")&&10))){case 107:return d(_,":",":"+je)+_;case 101:return d(_,/(.+:)([^;!]+)(;|!.+)?/,"$1"+je+(g(_,14)===45?"inline-":"")+"box$3$1"+je+"$2$3$1"+et+"$2box$3")+_}break;case 5936:switch(g(_,S+11)){case 114:return je+_+et+d(_,/[svh]\w+-[tblr]{2}/,"tb")+_;case 108:return je+_+et+d(_,/[svh]\w+-[tblr]{2}/,"tb-rl")+_;case 45:return je+_+et+d(_,/[svh]\w+-[tblr]{2}/,"lr")+_}return je+_+et+_+_}return _}var ue=function(S,F,B,re){if(S.length>-1&&!S.return)switch(S.type){case Tt:S.return=ce(S.value,S.length);break;case We:return Ft([P(S,{value:d(S.value,"@","@"+je)})],re);case zt:if(S.length)return R(S.props,function(he){switch(v(he,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ft([P(S,{props:[d(he,/:(read-\w+)/,":"+Nt+"$1")]})],re);case"::placeholder":return Ft([P(S,{props:[d(he,/:(plac\w+)/,":"+je+"input-$1")]}),P(S,{props:[d(he,/:(plac\w+)/,":"+Nt+"$1")]}),P(S,{props:[d(he,/:(plac\w+)/,et+"input-$1")]})],re)}return""})}},N=[ue],q=function(S){var F=S.key;if(F==="css"){var B=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(B,function(Qt){var ur=Qt.getAttribute("data-emotion");ur.indexOf(" ")!==-1&&(document.head.appendChild(Qt),Qt.setAttribute("data-s",""))})}var re=S.stylisPlugins||N,he={},Me,qe=[];Me=S.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+F+' "]'),function(Qt){for(var ur=Qt.getAttribute("data-emotion").split(" "),Kt=1;Kt<ur.length;Kt++)he[ur[Kt]]=!0;qe.push(Qt)});var kt,gt=[lt,ut];{var Ot,Dt=[Rt,Ht(function(Qt){Ot.insert(Qt)})],dr=qt(gt.concat(re,Dt)),pr=function(ur){return Ft(_t(ur),dr)};kt=function(ur,Kt,or,hr){Ot=or,pr(ur?ur+"{"+Kt.styles+"}":Kt.styles),hr&&(lr.inserted[Kt.name]=!0)}}var lr={key:F,sheet:new n({key:F,container:Me,nonce:S.nonce,speedy:S.speedy,prepend:S.prepend,insertionPoint:S.insertionPoint}),nonce:S.nonce,inserted:he,registered:{},insert:kt};return lr.sheet.hydrate(qe),lr},ge=!0;function be(_,S,F){var B="";return F.split(" ").forEach(function(re){_[re]!==void 0?S.push(_[re]+";"):B+=re+" "}),B}var Ne=function(S,F,B){var re=S.key+"-"+F.name;(B===!1||ge===!1)&&S.registered[re]===void 0&&(S.registered[re]=F.styles)},Ye=function(S,F,B){Ne(S,F,B);var re=S.key+"-"+F.name;if(S.inserted[F.name]===void 0){var he=F;do S.insert(F===he?"."+re:"",he,S.sheet,!0),he=he.next;while(he!==void 0)}};function He(_){for(var S=0,F,B=0,re=_.length;re>=4;++B,re-=4)F=_.charCodeAt(B)&255|(_.charCodeAt(++B)&255)<<8|(_.charCodeAt(++B)&255)<<16|(_.charCodeAt(++B)&255)<<24,F=(F&65535)*1540483477+((F>>>16)*59797<<16),F^=F>>>24,S=(F&65535)*1540483477+((F>>>16)*59797<<16)^(S&65535)*1540483477+((S>>>16)*59797<<16);switch(re){case 3:S^=(_.charCodeAt(B+2)&255)<<16;case 2:S^=(_.charCodeAt(B+1)&255)<<8;case 1:S^=_.charCodeAt(B)&255,S=(S&65535)*1540483477+((S>>>16)*59797<<16)}return S^=S>>>13,S=(S&65535)*1540483477+((S>>>16)*59797<<16),((S^S>>>15)>>>0).toString(36)}var ze={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,msGr
15idRow: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};function Ge(_){var S=Object.create(null);return function(F){return S[F]===void 0&&(S[F]=_(F)),S[F]}}var yt=`You have illegal escape sequence in your template literal, most likely inside content's property value.
16Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
17You can read more about this here:
18https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,ht="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Et=/[A-Z]|^ms/g,At=/_EMO_([^_]+?)_([^]*?)_EMO_/g,St=function(S){return S.charCo
18deAt(1)===45},vt=function(S){return S!=null&&typeof S!="boolean"},tr=Ge(function(_){return St(_)?_:_.replace(Et,"-$&").toLowerCase()}),fr=function(S,F){switch(S){case"animation":case"animationName":if(typeof F=="string")return F.replace(At,function(B,re,he){return T={name:re,styles:he,next:T},re})}return ze[S]!==1&&!St(S)&&typeof F=="number"&&F!==0?F+"px":F};if(0)var ir,Yt,sr,Xt,vr,gr;var cr=null;function U(_,S,F){if(F==null)return"";if(F.__emotion_styles!==void 0)return F;switch(typeof F){case"boolean":return"";case"object":{if(F.anim===1)return T={name:F.name,styles:F.styles,next:T},F.name;if(F.styles!==void 0){var B=F.next;if(B!==void 0)for(;B!==void 0;)T={name:B.name,styles:B.styles,next:T},B=B.next;var re=F.styles+";";return re}return D(_,S,F)}case"function":{if(_!==void 0){var he=T,Me=F(_);return T=he,U(_,S,Me)}break}case"string":if(0)var qe,kt;break}if(S==null)return F;var gt=S[F];return gt!==void 0?gt:F}function D(_,S,F){var B="";if(Array.isArray(F))for(var re=0;re<F.length;re++)B+=U(_,S,F[re])+";";else for(var he in F){var Me=F[he];if(typeof Me!="object")S!=null&&S[Me]!==void 0?B+=he+"{"+S[Me]+"}":vt(Me)&&(B+=tr(he)+":"+fr(he,Me)+";");else if(Array.isArray(Me)&&typeof Me[0]=="string"&&(S==null||S[Me[0]]===void 0))for(var qe=0;qe<Me.length;qe++)vt(Me[qe])&&(B+=tr(he)+":"+fr(he,Me[qe])+";");else{var kt=U(_,S,Me);switch(he){case"animation":case"animationName":{B+=tr(he)+":"+kt+";";break}default:B+=he+"{"+kt+"}"}}}return B}var p=/label:\s*([^\s;\n{]+)\s*(;|$)/g,k,T,V=function(S,F,B){if(S.length===1&&typeof S[0]=="object"&&S[0]!==null&&S[0].styles!==void 0)return S[0];var re=!0,he="";T=void 0;var Me=S[0];Me==null||Me.raw===void 0?(re=!1,he+=U(B,F,Me)):he+=Me[0];for(var qe=1;qe<S.length;qe++)he+=U(B,F,S[qe]),re&&(he+=Me[qe]);var kt;p.lastIndex=0;for(var gt="",Ot;(Ot=p.exec(he))!==null;)gt+="-"+Ot[1];var Dt=He(he)+gt;return{name:Dt,styles:he,next:T}},W=function(S){return S()},H=o.useInsertionEffect?o.useInsertionEffect:!1,J=H||W,ie=H||o.useLayoutEffect,De=!0,Le={}.hasOwnProperty,Ue=o.createContext(typeof HTMLElement!="undefined"?q({key:"css"}):null),at=Ue.Provider,pt=function(){return useContext(Ue)},st=function(S){return(0,o.forwardRef)(function(F,B){var re=(0,o.useContext)(Ue);return S(F,re,B)})};De||(st=function(S){return function(F){var B=(0,o.useContext)(Ue);return B===null?(B=q({key:"css"}),o.createElement(Ue.Provider,{value:B},S(F,B))):S(F,B)}});var wt=o.createContext({}),Xe=function(){return React.useContext(wt)},ar=function(S,F){if(typeof F=="function"){var B=F(S);return B}return _extends({},S,F)},_r=null,Or=function(S){var F=React.useContext(wt);return S.theme!==F&&(F=_r(F)(S.theme)),React.createElement(wt.Provider,{value:F},S.children)};function wr(_){var S=_.displayName||_.name||"Component",F=function(he,Me){var qe=React.useContext(wt);return React.createElement(_,_extends({theme:qe,ref:Me},he))},B=React.forwardRef(F);return B.displayName="WithTheme("+S+")",hoistNonReactStatics(B,_)}var kr=function(S){var F=S.split(".");return F[F.length-1]},Er=function(S){var F=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(S);if(F||(F=/^([A-Za-z0-9$.]+)@/.exec(S),F))return kr(F[1])},O=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),C=function(S){return S.replace(/\$/g,"-")},L=function(S){if(S)for(var F=S.split(`
19`),B=0;B<F.length;B++){var re=Er(F[B]);if(re){if(O.has(re))break;if(/^[A-Z]/.test(re))return C(re)}}},Q="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",te="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",ve=function(S,F){var B={};for(var re in F)Le.call(F,re)&&(B[re]=F[re]);if(B[Q]=S,0)var he;return B},Ae=function(S){var F=S.cache,B=S.serialized,re=S.isStringTag;return Ne(F,B,re),J(function(){return Ye(F,B,re)}),null},me=st(function(_,S,F){var B=_.css;typeof B=="string"&&S.registered[B]!==void 0&&(B=S.registered[B]);var re=_[Q],he=[B],Me="";typeof _.className=="string"?Me=be(S.registered,he,_.className):_.className!=null&&(Me=_.className+" ");var qe=V(he,void 0,o.useContext(wt));if(0)var kt;Me+=S.key+"-"+qe.name;var gt={};for(var Ot in _)Le.call(_,Ot)&&Ot!=="css"&&Ot!==Q&&(gt[Ot]=_[Ot]);
19return gt.ref=F,gt.className=Me,o.createElement(o.Fragment,null,o.createElement(Ae,{cache:S,serialized:qe,isStringTag:typeof re=="string"}),o.createElement(re,gt))}),pe=me,Ze=e(3143),Se={name:"@emotion/react",version:"11.11.1",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.2","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.0","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},ot=function(S,F){var B=arguments;if(F==null||!Le.call(F,"css"))return o.createElement.apply(void 0,B);var re=B.length,he=new Array(re);he[0]=pe,he[1]=ve(S,F);for(var Me=2;Me<re;Me++)he[Me]=B[Me];return o.createElement.apply(null,he)},bt=!1,Qe=null;function xt(){for(var _=arguments.length,S=new Array(_),F=0;F<_;F++)S[F]=arguments[F];return V(S)}var ft=function(){var S=xt.apply(void 0,arguments),F="animation-"+S.name;return{name:F,styles:"@keyframes "+F+"{"+S.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},nt=function _(S){for(var F=S.length,B=0,re="";B<F;B++){var he=S[B];if(he!=null){var Me=void 0;switch(typeof he){case"boolean":break;case"object":{if(Array.isArray(he))Me=_(he);else{Me="";for(var qe in he)he[qe]&&qe&&(Me&&(Me+=" "),Me+=qe)}break}default:Me=he}Me&&(re&&(re+=" "),re+=Me)}}return re};function Pt(_,S,F){var B=[],re=be(_,B,F);return B.length<2?F:re+S(B)}var Bt=function(S){var F=S.cache,B=S.serializedArr;return J(function(){for(var re=0;re<B.length;re++)Ye(F,B[re],!1)}),null},Zt=st(function(_,S){var F=!1,B=[],re=function(){for(var gt=arguments.length,Ot=new Array(gt),Dt=0;Dt<gt;Dt++)Ot[Dt]=arguments[Dt];var dr=V(Ot,S.registered);return B.push(dr),Ne(S,dr,!1),S.key+"-"+dr.name},he=function(){for(var gt=arguments.length,Ot=new Array(gt),Dt=0;Dt<gt;Dt++)Ot[Dt]=arguments[Dt];return Pt(S.registered,re,nt(Ot))},Me={css:re,cx:he,theme:o.useContext(wt)},qe=_.children(Me);return F=!0,o.createElement(o.Fragment,null,o.createElement(Bt,{cache:S,serializedArr:B}),qe)});if(0)var it,Lt,Ut,rr},5554:function(y,t,e){"use strict";var o=this&&this.__assign||function(){return o=Object.assign||function(r){for(var s,u=1,l=arguments.length;u<l;u++){s=arguments[u];for(var v in s)Object.prototype.hasOwnProperty.call(s,v)&&(r[v]=s[v])}return r},o.apply(this,arguments)};
19Object.defineProperty(t,"__esModule",{value:!0}),t.bindAll=void 0;var a=e(8006);function c(r){if(typeof r!="undefined")return typeof r=="boolean"?{capture:r}:r}function n(r,s){if(s==null)return r;var u=o(o({},r),{options:o(o({},c(s)),c(r.options))});return u}function i(r,s,u){var l=s.map(function(v){var d=n(v,u);return(0,a.bind)(r,d)});return function(){l.forEach(function(d){return d()})}}t.bindAll=i},8006:(y,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bind=void 0;function e(o,a){var c=a.type,n=a.listener,i=a.options;return o.addEventListener(c,n,i),function(){o.removeEventListener(c,n,i)}}t.bind=e},7723:(y,t,e)=>{"use strict";var o;o={value:!0},t.Ev=t.ak=void 0;var a=e(8006);Object.defineProperty(t,"ak",{enumerable:!0,get:function(){return a.bind}});var c=e(5554);Object.defineProperty(t,"Ev",{enumerable:!0,get:function(){return c.bindAll}})},3863:y=>{"use strict";var t=Object.prototype.hasOwnProperty,e="~";function o(){}Object.create&&(o.prototype=Object.create(null),new o().__proto__||(e=!1));function a(r,s,u){this.fn=r,this.context=s,this.once=u||!1}function c(r,s,u,l,v){if(typeof u!="function")throw new TypeError("The listener must be a function");var d=new a(u,l||r,v),f=e?e+s:s;return r._events[f]?r._events[f].fn?r._events[f]=[r._events[f],d]:r._events[f].push(d):(r._events[f]=d,r._eventsCount++),r}function n(r,s){--r._eventsCount===0?r._events=new o:delete r._events[s]}function i(){this._events=new o,this._eventsCount=0}i.prototype.eventNames=function(){var s=[],u,l;if(this._eventsCount===0)return s;for(l in u=this._events)t.call(u,l)&&s.push(e?l.slice(1):l);return Object.getOwnPropertySymbols?s.concat(Object.getOwnPropertySymbols(u)):s},i.prototype.listeners=function(s){var u=e?e+s:s,l=this._events[u];if(!l)return[];if(l.fn)return[l.fn];for(var v=0,d=l.length,f=new Array(d);v<d;v++)f[v]=l[v].fn;return f},i.prototype.listenerCount=function(s){var u=e?e+s:s,l=this._events[u];return l?l.fn?1:l.length:0},i.prototype.emit=function(s,u,l,v,d,f){var g=e?e+s:s;if(!this._events[g])return!1;var h=this._events[g],m=arguments.length,b,x;if(h.fn){switch(h.once&&this.removeListener(s,h.fn,void 0,!0),m){case 1:return h.fn.call(h.context),!0;case 2:return h.fn.call(h.context,u),!0;case 3:return h.fn.call(h.context,u,l),!0;case 4:return h.fn.call(h.context,u,l,v),!0;case 5:return h.fn.call(h.context,u,l,v,d),!0;case 6:return h.fn.call(h.context,u,l,v,d,f),!0}for(x=1,b=new Array(m-1);x<m;x++)b[x-1]=arguments[x];h.fn.apply(h.context,b)}else{var R=h.length,w;for(x=0;x<R;x++)switch(h[x].once&&this.removeListener(s,h[x].fn,void 0,!0),m){case 1:h[x].fn.call(h[x].context);break;case 2:h[x].fn.call(h[x].context,u);break;case 3:h[x].fn.call(h[x].context,u,l);break;case 4:h[x].fn.call(h[x].context,u,l,v);break;default:if(!b)for(w=1,b=new Array(m-1);w<m;w++)b[w-1]=arguments[w];h[x].fn.apply(h[x].context,b)}}return!0},i.prototype.on=function(s,u,l){return c(this,s,u,l,!1)},i.prototype.once=function(s,u,l){return c(this,s,u,l,!0)},i.prototype.removeListener=function(s,u,l,v){var d=e?e+s:s;if(!this._events[d])return this;if(!u)return n(this,d),this;var f=this._events[d];if(f.fn)f.fn===u&&(!v||f.once)&&(!l||f.context===l)&&n(this,d);else{for(var g=0,h=[],m=f.length;g<m;g++)(f[g].fn!==u||v&&!f[g].once||l&&f[g].context!==l)&&h.push(f[g]);h.length?this._events[d]=h.length===1?h[0]:h:n(this,d)}return this},i.prototype.removeAllListeners=function(s){var u;return s?(u=e?e+s:s,this._events[u]&&n(this,u)):(this._events=new o,this._eventsCount=0),this},i.prototype.off=i.prototype.removeListener,i.prototype.addListener=i.prototype.on,i.prefixed=e,i.EventEmitter=i,y.exports=i},3354:(y,t,e)=>{var o=e(7701),a=null;function c(r,s){var u=[],l=null,v=null,d=null,f=!1,g=!1,h=null,m=typeof r=="string"?document.querySelector(r):r,b=s||{};b.returnFocusOnDeactivate=s&&s.returnFocusOnDeactivate!==void 0?s.returnFocusOnDeactivate:!0,b.escapeDeactivates=s&&s.escapeDeactivates!==void 0?s.escapeDeactivates:!0;var x={activate:R,deactivate:w,pause:j,unpause:A};return x;function R(M){if(!f){var G={onActivate:M&&M.onActivate!==void 0?M.onActivate:b.onActivate};return f=!0,g=!1,d=document.activeElement,G.onActivate&&G.onActivate(),E(),x}}function w(M){if(f){var G={returnFocus:M&&M.returnFocus!==void 0?M.returnFocus:b.returnFocusOnDeactivate,onDeactivate:M&&M.onDeactivate!==void 0?M.onDeactivate:b.onDeactivate};return I(),G.onDeactivate&&G.onDeactivate(),G.returnFocus&&setTimeout(function(){i(d)},0),f=!1,g=!1,this}}function j(){g||!f||(g=!0,I())}function A(){!g||!f||(g=!1,E())}
19function E(){if(f)return a&&a.pause(),a=x,fe(),setTimeout(function(){i(Z())},0),document.addEventListener("focus",K,!0),document.addEventListener("click",$,!0),document.addEventListener("mousedown",P,!0),document.addEventListener("touchstart",P,!0),document.addEventListener("keydown",X,!0),x}function I(){if(!(!f||a!==x))return document.removeEventListener("focus",K,!0),document.removeEventListener("click",$,!0),document.removeEventListener("mousedown",P,!0),document.removeEventListener("touchstart",P,!0),document.removeEventListener("keydown",X,!0),a=null,x}function z(M){var G=b[M],ke=G;if(!G)return null;if(typeof G=="string"&&(ke=document.querySelector(G),!ke))throw new Error("`"+M+"` refers to no known node");if(typeof G=="function"&&(ke=G(),!ke))throw new Error("`"+M+"` did not return a node");return ke}function Z(){var M;if(z("initialFocus")!==null?M=z("initialFocus"):m.contains(document.activeElement)?M=document.activeElement:M=u[0]||z("fallbackFocus"),!M)throw new Error("You can't have a focus-trap without at least one focusable element");return M}function P(M){b.clickOutsideDeactivates&&!m.contains(M.target)&&w({returnFocus:!1})}function $(M){b.clickOutsideDeactivates||m.contains(M.target)||(M.preventDefault(),M.stopImmediatePropagation())}function K(M){m.contains(M.target)||(M.preventDefault(),M.stopImmediatePropagation(),typeof M.target.blur=="function"&&M.target.blur(),h&&ae(h))}function X(M){(M.key==="Tab"||M.keyCode===9)&&le(M),b.escapeDeactivates!==!1&&n(M)&&w()}function le(M){if(fe(),M.target.hasAttribute("tabindex")&&Number(M.target.getAttribute("tabindex"))<0)return h=M;M.preventDefault();var G=u.indexOf(M.target);if(M.shiftKey)return M.target===l||u.indexOf(M.target)===-1?i(v):i(u[G-1]);if(M.target===v)return i(l);i(u[G+1])}function fe(){u=o(m),l=u[0],v=u[u.length-1]}function ae(M){if(M.shiftKey)return i(v);i(l)}}function n(r){return r.key==="Escape"||r.key==="Esc"||r.keyCode===27}function i(r){!r||!r.focus||r!==document.activeElement&&(r.focus(),r.tagName.toLowerCase()==="input"&&r.select())}y.exports=c},3143:(y,t,e)=>{"use strict";var o=e(9439),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},c={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},r={};r[o.ForwardRef]=n,r[o.Memo]=i;function s(m){return o.isMemo(m)?i:r[m.$$typeof]||a}var u=Object.defineProperty,l=Object.getOwnPropertyNames,v=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,g=Object.prototype;function h(m,b,x){if(typeof b!="string"){if(g){var R=f(b);R&&R!==g&&h(m,R,x)}var w=l(b);v&&(w=w.concat(v(b)));for(var j=s(m),A=s(b),E=0;E<w.length;++E){var I=w[E];if(!c[I]&&!(x&&x[I])&&!(A&&A[I])&&!(j&&j[I])){var z=d(b,I);try{u(m,I,z)}catch(Z){}}}}return m}y.exports=h},9471:(y,t,e)=>{var o=e(136),a=e(246),c=e(2828),n=e(4043),i=e(6677);function r(s){var u=-1,l=s==null?0:s.length;for(this.clear();++u<l;){var v=s[u];this.set(v[0],v[1])}}r.prototype.clear=o,r.prototype.delete=a,r.prototype.get=c,r.prototype.has=n,r.prototype.set=i,y.exports=r},4230:(y,t,e)=>{var o=e(8935),a=e(2356),c=e(5731),n=e(5329),i=e(1319);function r(s){var u=-1,l=s==null?0:s.length;for(this.clear();++u<l;){var v=s[u];this.set(v[0],v[1])}}r.prototype.clear=o,r.prototype.delete=a,r.prototype.get=c,r.prototype.has=n,r.prototype.set=i,y.exports=r},3786:(y,t,e)=>{var o=e(9658),a=e(6122),c=o(a,"Map");y.exports=c},9339:(y,t,e)=>{var o=e(6740),a=e(9869),c=e(8959),n=e(7583),i=e(7913);function r(s){var u=-1,l=s==null?0:s.length;for(this.clear();++u<l;){var v=s[u];this.set(v[0],v[1])}}r.prototype.clear=o,r.prototype.delete=a,r.prototype.get=c,r.prototype.has=n,r.prototype.set=i,y.exports=r},3155:(y,t,e)=>{var o=e(6122),a=o.Symbol;y.exports=a},9749:y=>{function t(e,o){for(var a=-1,c=e==null?0:e.length,n=Array(c);++a<c;)n[a]=o(e[a],a,e);return n}y.exports=t},2111:(y,t,e)=>{var o=e(4959),a=e(6163),c=Object.prototype,n=c.hasOwnProperty;function i(r,s,u){var l=r[s];(!(n.call(r,s)&&a(l,u))||u===void 0&&!(s in r))&&o(r,s,u)}y.exports=i},2519:(y,t,e)=>{var o=e(6163);function a(c,n){for(var i=c.length;i--;)if(o(c[i][0],n))return i;return-1}y.exports=a},4959:(y,t,e)=>{var o=e(2339);function a(c,n,i){n=="__proto__"&&o?o(c,n,{configurable:!0,enumerable:!0,value:i,writable:!0}):c[n]=i}y.exports=a},1695:(y,t,e)=>{var o=e(3155),a=e(908),c=e(710),n="[object Null]",i="[object Undef
19ined]",r=o?o.toStringTag:void 0;function s(u){return u==null?u===void 0?i:n:r&&r in Object(u)?a(u):c(u)}y.exports=s},6521:(y,t,e)=>{var o=e(7852),a=e(7475),c=e(5207),n=e(3632),i=/[\\^$.*+?()[\]{}|]/g,r=/^\[object .+?Constructor\]$/,s=Function.prototype,u=Object.prototype,l=s.toString,v=u.hasOwnProperty,d=RegExp("^"+l.call(v).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(g){if(!c(g)||a(g))return!1;var h=o(g)?d:r;return h.test(n(g))}y.exports=f},8905:(y,t,e)=>{var o=e(2111),a=e(487),c=e(6603),n=e(5207),i=e(6187);function r(s,u,l,v){if(!n(s))return s;u=a(u,s);for(var d=-1,f=u.length,g=f-1,h=s;h!=null&&++d<f;){var m=i(u[d]),b=l;if(m==="__proto__"||m==="constructor"||m==="prototype")return s;if(d!=g){var x=h[m];b=v?v(x,m,h):void 0,b===void 0&&(b=n(x)?x:c(u[d+1])?[]:{})}o(h,m,b),h=h[m]}return s}y.exports=r},5002:(y,t,e)=>{var o=e(3155),a=e(9749),c=e(3015),n=e(8286),i=1/0,r=o?o.prototype:void 0,s=r?r.toString:void 0;function u(l){if(typeof l=="string")return l;if(c(l))return a(l,u)+"";if(n(l))return s?s.call(l):"";var v=l+"";return v=="0"&&1/l==-i?"-0":v}y.exports=u},6019:(y,t,e)=>{var o=e(802),a=/^\s+/;function c(n){return n&&n.slice(0,o(n)+1).replace(a,"")}y.exports=c},487:(y,t,e)=>{var o=e(3015),a=e(7301),c=e(9507),n=e(8355);function i(r,s){return o(r)?r:a(r,s)?[r]:c(n(r))}y.exports=i},1614:(y,t,e)=>{var o=e(6122),a=o["__core-js_shared__"];y.exports=a},2339:(y,t,e)=>{var o=e(9658),a=function(){try{var c=o(Object,"defineProperty");return c({},"",{}),c}catch(n){}}();y.exports=a},7149:(y,t,e)=>{var o=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g;y.exports=o},1560:(y,t,e)=>{var o=e(9852);function a(c,n){var i=c.__data__;return o(n)?i[typeof n=="string"?"string":"hash"]:i.map}y.exports=a},9658:(y,t,e)=>{var o=e(6521),a=e(5541);function c(n,i){var r=a(n,i);return o(r)?r:void 0}y.exports=c},908:(y,t,e)=>{var o=e(3155),a=Object.prototype,c=a.hasOwnProperty,n=a.toString,i=o?o.toStringTag:void 0;function r(s){var u=c.call(s,i),l=s[i];try{s[i]=void 0;var v=!0}catch(f){}var d=n.call(s);return v&&(u?s[i]=l:delete s[i]),d}y.exports=r},5541:y=>{function t(e,o){return e==null?void 0:e[o]}y.exports=t},136:(y,t,e)=>{var o=e(7603);function a(){this.__data__=o?o(null):{},this.size=0}y.exports=a},246:y=>{function t(e){var o=this.has(e)&&delete this.__data__[e];return this.size-=o?1:0,o}y.exports=t},2828:(y,t,e)=>{var o=e(7603),a="__lodash_hash_undefined__",c=Object.prototype,n=c.hasOwnProperty;function i(r){var s=this.__data__;if(o){var u=s[r];return u===a?void 0:u}return n.call(s,r)?s[r]:void 0}y.exports=i},4043:(y,t,e)=>{var o=e(7603),a=Object.prototype,c=a.hasOwnProperty;function n(i){var r=this.__data__;return o?r[i]!==void 0:c.call(r,i)}y.exports=n},6677:(y,t,e)=>{var o=e(7603),a="__lodash_hash_undefined__";function c(n,i){var r=this.__data__;return this.size+=this.has(n)?0:1,r[n]=o&&i===void 0?a:i,this}y.exports=c},6603:y=>{var t=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function o(a,c){var n=typeof a;return c=c==null?t:c,!!c&&(n=="number"||n!="symbol"&&e.test(a))&&a>-1&&a%1==0&&a<c}y.exports=o},7301:(y,t,e)=>{var o=e(3015),a=e(8286),c=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function i(r,s){if(o(r))return!1;var u=typeof r;return u=="number"||u=="symbol"||u=="boolean"||r==null||a(r)?!0:n.test(r)||!c.test(r)||s!=null&&r in Object(s)}y.exports=i},9852:y=>{function t(e){var o=typeof e;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?e!=="__proto__":e===null}y.exports=t},7475:(y,t,e)=>{var o=e(1614),a=function(){var n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function c(n){return!!a&&a in n}y.exports=c},8935:y=>{function t(){this.__data__=[],this.size=0}y.exports=t},2356:(y,t,e)=>{var o=e(2519),a=Array.prototype,c=a.splice;function n(i){var r=this.__data__,s=o(r,i);if(s<0)return!1;var u=r.length-1;return s==u?r.pop():c.call(r,s,1),--this.size,!0}y.exports=n},5731:(y,t,e)=>{var o=e(2519);function a(c){var n=this.__data__,i=o(n,c);return i<0?void 0:n[i][1]}y.exports=a},5329:(y,t,e)=>{var o=e(2519);function a(c){return o(this.__data__,c)>-1}y.exports=a},1319:(y,t,e)=>{var o=e(2519);function a(c,n){var i=this.__data__,r=o(i,c);return r<0?(++this.size,i.push([c,n])):i[r][1]=n,this}y.exports=a},6740:(y,t,e)=>{var o=e(9471),a=e(4230),c=e(3786);function n(){this.size=0,this.__data__={hash:new o,map:new(c||a),str
19ing:new o}}y.exports=n},9869:(y,t,e)=>{var o=e(1560);function a(c){var n=o(this,c).delete(c);return this.size-=n?1:0,n}y.exports=a},8959:(y,t,e)=>{var o=e(1560);function a(c){return o(this,c).get(c)}y.exports=a},7583:(y,t,e)=>{var o=e(1560);function a(c){return o(this,c).has(c)}y.exports=a},7913:(y,t,e)=>{var o=e(1560);function a(c,n){var i=o(this,c),r=i.size;return i.set(c,n),this.size+=i.size==r?0:1,this}y.exports=a},6092:(y,t,e)=>{var o=e(9397),a=500;function c(n){var i=o(n,function(s){return r.size===a&&r.clear(),s}),r=i.cache;return i}y.exports=c},7603:(y,t,e)=>{var o=e(9658),a=o(Object,"create");y.exports=a},710:y=>{var t=Object.prototype,e=t.toString;function o(a){return e.call(a)}y.exports=o},6122:(y,t,e)=>{var o=e(7149),a=typeof self=="object"&&self&&self.Object===Object&&self,c=o||a||Function("return this")();y.exports=c},9507:(y,t,e)=>{var o=e(6092),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,c=/\\(\\)?/g,n=o(function(i){var r=[];return i.charCodeAt(0)===46&&r.push(""),i.replace(a,function(s,u,l,v){r.push(l?v.replace(c,"$1"):u||s)}),r});y.exports=n},6187:(y,t,e)=>{var o=e(8286),a=1/0;function c(n){if(typeof n=="string"||o(n))return n;var i=n+"";return i=="0"&&1/n==-a?"-0":i}y.exports=c},3632:y=>{var t=Function.prototype,e=t.toString;function o(a){if(a!=null){try{return e.call(a)}catch(c){}try{return a+""}catch(c){}}return""}y.exports=o},802:y=>{var t=/\s/;function e(o){for(var a=o.length;a--&&t.test(o.charAt(a)););return a}y.exports=e},5492:(y,t,e)=>{var o=e(2606),a="Expected a function";function c(n,i){var r;if(typeof i!="function")throw new TypeError(a);return n=o(n),function(){return--n>0&&(r=i.apply(this,arguments)),n<=1&&(i=void 0),r}}y.exports=c},6163:y=>{function t(e,o){return e===o||e!==e&&o!==o}y.exports=t},3015:y=>{var t=Array.isArray;y.exports=t},7852:(y,t,e)=>{var o=e(1695),a=e(5207),c="[object AsyncFunction]",n="[object Function]",i="[object GeneratorFunction]",r="[object Proxy]";function s(u){if(!a(u))return!1;var l=o(u);return l==n||l==i||l==c||l==r}y.exports=s},5207:y=>{function t(e){var o=typeof e;return e!=null&&(o=="object"||o=="function")}y.exports=t},752:y=>{function t(e){return e!=null&&typeof e=="object"}y.exports=t},8286:(y,t,e)=>{var o=e(1695),a=e(752),c="[object Symbol]";function n(i){return typeof i=="symbol"||a(i)&&o(i)==c}y.exports=n},9397:(y,t,e)=>{var o=e(9339),a="Expected a function";function c(n,i){if(typeof n!="function"||i!=null&&typeof i!="function")throw new TypeError(a);var r=function(){var s=arguments,u=i?i.apply(this,s):s[0],l=r.cache;if(l.has(u))return l.get(u);var v=n.apply(this,s);return r.cache=l.set(u,v)||l,v};return r.cache=new(c.Cache||o),r}c.Cache=o,y.exports=c},4271:(y,t,e)=>{var o=e(5492);function a(c){return o(2,c)}y.exports=a},2278:(y,t,e)=>{var o=e(8905);function a(c,n,i){return c==null?c:o(c,n,i)}y.exports=a},5244:(y,t,e)=>{var o=e(1233),a=1/0,c=17976931348623157e292;function n(i){if(!i)return i===0?i:0;if(i=o(i),i===a||i===-a){var r=i<0?-1:1;return r*c}return i===i?i:0}y.exports=n},2606:(y,t,e)=>{var o=e(5244);function a(c){var n=o(c),i=n%1;return n===n?i?n-i:n:0}y.exports=a},1233:(y,t,e)=>{var o=e(6019),a=e(5207),c=e(8286),n=NaN,i=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt;function l(v){if(typeof v=="number")return v;if(c(v))return n;if(a(v)){var d=typeof v.valueOf=="function"?v.valueOf():v;v=a(d)?d+"":d}if(typeof v!="string")return v===0?v:+v;v=o(v);var f=r.test(v);return f||s.test(v)?u(v.slice(2),f?2:8):i.test(v)?n:+v}y.exports=l},8355:(y,t,e)=>{var o=e(5002);function a(c){return c==null?"":o(c)}y.exports=a},5256:(y,t,e)=>{"use strict";e.d(t,{Z:()=>n});var o=Number.isNaN||function(r){return typeof r=="number"&&r!==r};function a(i,r){return!!(i===r||o(i)&&o(r))}function c(i,r){if(i.length!==r.length)return!1;for(var s=0;s<i.length;s++)if(!a(i[s],r[s]))return!1;return!0}function n(i,r){r===void 0&&(r=c);var s=null;function u(){for(var l=[],v=0;v<arguments.length;v++)l[v]=arguments[v];if(s&&s.lastThis===this&&r(l,s.lastArgs))return s.lastResult;var d=i.apply(this,l);return s={lastResult:d,lastArgs:l,lastThis:this},d}return u.clear=function(){s=null},u}},4267:(y,t,e)=>{"use strict";var o,a=e(1438);if(1)t.s=a.createRoot,o=a.hydrateRoot;else var c},563:y=>{var t=typeof Element!="undefined",e=typeof Map=="function",o=typeof Set=="function",a=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;
19function c(n,i){if(n===i)return!0;if(n&&i&&typeof n=="object"&&typeof i=="object"){if(n.constructor!==i.constructor)return!1;var r,s,u;if(Array.isArray(n)){if(r=n.length,r!=i.length)return!1;for(s=r;s--!==0;)if(!c(n[s],i[s]))return!1;return!0}var l;if(e&&n instanceof Map&&i instanceof Map){if(n.size!==i.size)return!1;for(l=n.entries();!(s=l.next()).done;)if(!i.has(s.value[0]))return!1;for(l=n.entries();!(s=l.next()).done;)if(!c(s.value[1],i.get(s.value[0])))return!1;return!0}if(o&&n instanceof Set&&i instanceof Set){if(n.size!==i.size)return!1;for(l=n.entries();!(s=l.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(n)&&ArrayBuffer.isView(i)){if(r=n.length,r!=i.length)return!1;for(s=r;s--!==0;)if(n[s]!==i[s])return!1;return!0}if(n.constructor===RegExp)return n.source===i.source&&n.flags===i.flags;if(n.valueOf!==Object.prototype.valueOf&&typeof n.valueOf=="function"&&typeof i.valueOf=="function")return n.valueOf()===i.valueOf();if(n.toString!==Object.prototype.toString&&typeof n.toString=="function"&&typeof i.toString=="function")return n.toString()===i.toString();if(u=Object.keys(n),r=u.length,r!==Object.keys(i).length)return!1;for(s=r;s--!==0;)if(!Object.prototype.hasOwnProperty.call(i,u[s]))return!1;if(t&&n instanceof Element)return!1;for(s=r;s--!==0;)if(!((u[s]==="_owner"||u[s]==="__v"||u[s]==="__o")&&n.$$typeof)&&!c(n[u[s]],i[u[s]]))return!1;return!0}return n!==n&&i!==i}y.exports=function(i,r){try{return c(i,r)}catch(s){if((s.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw s}}},9581:(y,t)=>{"use strict";/** @license React v16.13.1
20 * react-is.production.min.js
21 *
22 * Copyright (c) Facebook, Inc. and its affiliates.
23 *
24 * This source code is licensed under the MIT license found in the
25 * LICENSE file in the root directory of this source tree.
26 */var e=typeof Symbol=="function"&&Symbol.for,o=e?Symbol.for("react.element"):60103,a=e?Symbol.for("react.portal"):60106,c=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,r=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,v=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,R=e?Symbol.for("react.scope"):60119;function w(A){if(typeof A=="object"&&A!==null){var E=A.$$typeof;switch(E){case o:switch(A=A.type,A){case u:case l:case c:case i:case n:case d:return A;default:switch(A=A&&A.$$typeof,A){case s:case v:case h:case g:case r:return A;default:return E}}case a:return E}}}function j(A){return w(A)===l}t.AsyncMode=u,t.ConcurrentMode=l,t.ContextConsumer=s,t.ContextProvider=r,t.Element=o,t.ForwardRef=v,t.Fragment=c,t.Lazy=h,t.Memo=g,t.Portal=a,t.Profiler=i,t.StrictMode=n,t.Suspense=d,t.isAsyncMode=function(A){return j(A)||w(A)===u},t.isConcurrentMode=j,t.isContextConsumer=function(A){return w(A)===s},t.isContextProvider=function(A){return w(A)===r},t.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===o},t.isForwardRef=function(A){return w(A)===v},t.isFragment=function(A){return w(A)===c},t.isLazy=function(A){return w(A)===h},t.isMemo=function(A){return w(A)===g},t.isPortal=function(A){return w(A)===a},t.isProfiler=function(A){return w(A)===i},t.isStrictMode=function(A){return w(A)===n},t.isSuspense=function(A){return w(A)===d},t.isValidElementType=function(A){return typeof A=="string"||typeof A=="function"||A===c||A===l||A===i||A===n||A===d||A===f||typeof A=="object"&&A!==null&&(A.$$typeof===h||A.$$typeof===g||A.$$typeof===r||A.$$typeof===s||A.$$typeof===v||A.$$typeof===b||A.$$typeof===x||A.$$typeof===R||A.$$typeof===m)},t.typeOf=w},9439:(y,t,e)=>{"use strict";y.exports=e(9581)},4805:(y,t,e)=>{"use strict";e.d(t,{C8:()=>c,dK:()=>i,mq:()=>n});var o=e(548),a=e.n(o),c=o.createContext(),n=o.createContext();function i(r){var s=r.children,u=o.useState(null),l=u[0],v=u[1],d=o.useRef(!1);o.useEffect(function(){return function(){d.current=!0}},[]);
26var f=o.useCallback(function(g){d.current||v(g)},[]);return o.createElement(c.Provider,{value:l},o.createElement(n.Provider,{value:f},s))}},2202:(y,t,e)=>{"use strict";e.d(t,{s:()=>s});var o=e(548),a=e.n(o),c=e(6613),n=e.n(c),i=e(4805),r=e(3804);function s(u){var l=u.children,v=u.innerRef,d=o.useContext(i.mq),f=o.useCallback(function(g){(0,r.k$)(v,g),(0,r.DL)(d,g)},[v,d]);return o.useEffect(function(){return function(){return(0,r.k$)(v,null)}},[]),o.useEffect(function(){n()(!!d,"`Reference` should not be used outside of a `Manager` component.")},[d]),(0,r.$p)(l)({ref:f})}},3804:(y,t,e)=>{"use strict";e.d(t,{$p:()=>c,DL:()=>n,LI:()=>s,k$:()=>i,sq:()=>r});var o=e(548),a=e.n(o),c=function(l){return Array.isArray(l)?l[0]:l},n=function(l){if(typeof l=="function"){for(var v=arguments.length,d=new Array(v>1?v-1:0),f=1;f<v;f++)d[f-1]=arguments[f];return l.apply(void 0,d)}},i=function(l,v){if(typeof l=="function")return n(l,v);l!=null&&(l.current=v)},r=function(l){return l.reduce(function(v,d){var f=d[0],g=d[1];return v[f]=g,v},{})},s=typeof window!="undefined"&&window.document&&window.document.createElement?o.useLayoutEffect:o.useEffect},3824:(y,t,e)=>{"use strict";e.d(t,{cL:()=>i,zv:()=>s,Gn:()=>u,qz:()=>r});var o=e(548),a=function(){var l=1,v=new WeakMap,d=function(f,g){return typeof f=="number"||typeof f=="string"?g?"idx-".concat(g):"val-".concat(f):v.has(f)?"uid"+v.get(f):(v.set(f,l++),d(f))};return d},c=a(),n=function(l){return l===void 0&&(l=""),{value:1,prefix:l,uid:a()}},i=n(),r=o.createContext(n()),s=function(l){return l.value++},u=function(l){return l?l.prefix:""}},8108:(y,t,e)=>{"use strict";/**
27 * @license React
28 * react-jsx-runtime.production.min.js
29 *
30 * Copyright (c) Facebook, Inc. and its affiliates.
31 *
32 * This source code is licensed under the MIT license found in the
33 * LICENSE file in the root directory of this source tree.
34 */var o=e(548),a=Symbol.for("react.element"),c=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,r={key:!0,ref:!0,__self:!0,__source:!0};function s(u,l,v){var d,f={},g=null,h=null;v!==void 0&&(g=""+v),l.key!==void 0&&(g=""+l.key),l.ref!==void 0&&(h=l.ref);for(d in l)n.call(l,d)&&!r.hasOwnProperty(d)&&(f[d]=l[d]);if(u&&u.defaultProps)for(d in l=u.defaultProps,l)f[d]===void 0&&(f[d]=l[d]);return{$$typeof:a,type:u,key:g,ref:h,props:f,_owner:i.current}}t.Fragment=c,t.jsx=s,t.jsxs=s},9767:(y,t,e)=>{"use strict";y.exports=e(8108)},7701:y=>{y.exports=function(e,o){o=o||{};var a=e.ownerDocument||e,c=[],n=[],i=t(a),r=["input","select","a[href]","textarea","button","[tabindex]"],s=e.querySelectorAll(r.join(","));if(o.includeContainer){var u=Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;r.some(function(m){return u.call(e,m)})&&(s=Array.prototype.slice.apply(s),s.unshift(e))}for(var l,v,d,f=0,g=s.length;f<g;f++)l=s[f],v=parseInt(l.getAttribute("tabindex"),10),d=isNaN(v)?l.tabIndex:v,!(d<0||l.tagName==="INPUT"&&l.type==="hidden"||l.disabled||i(l,a))&&(d===0?c.push(l):n.push({index:f,tabIndex:d,node:l}));var h=n.sort(function(m,b){return m.tabIndex===b.tabIndex?m.index-b.index:m.tabIndex-b.tabIndex}).map(function(m){return m.node});return Array.prototype.push.apply(h,c),h};function t(e){var o=[];function a(c,n){if(c===e.documentElement)return!1;for(var i=0,r=o.length;i<r;i++)if(o[i][0]===c)return o[i][1];n=n||e.defaultView.getComputedStyle(c);var s=!1;return n.display==="none"?s=!0:c.parentNode&&(s=a(c.parentNode)),o.push([c,s]),s}return function(n){if(n===e.documentElement)return!1;var i=e.defaultView.getComputedStyle(n);return a(n,i)?!0:i.visibility==="hidden"}}},6613:y=>{"use strict";var t=!1,e=function(){};if(t){var o=function(c,n){var i=arguments.length;n=new Array(i>1?i-1:0);for(var r=1;r<i;r++)n[r-1]=arguments[r];var s=0,u="Warning: "+c.replace(/%s/g,function(){return n[s++]});typeof console!="undefined"&&console.error(u);try{throw new Error(u)}catch(l){}};e=function(a,c,n){var i=arguments.length;n=new Array(i>2?i-2:0);for(var r=2;r<i;r++)n[r-2]=arguments[r];if(c===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");a||o.apply(null,[c].concat(n))}}y.exports=e},7192:()=>{"use strict"},1438:y=>{"use strict";y.exports=require("atlassian/libs/react-dom")},3761:y=>{"use strict";if(typeof WRM.I18n=="undefined"){var t=new Error("Cannot find module 'WRM.I18n'");throw t.code="MODULE_NOT_FOUND",t}y.exports=WRM.I18n},1202:y=>{"use strict";y.exports=WRM.format},7730:y=>{function t(e,o){this.v=e,this.k=o}y.exports=t,y.exports.__esModule=!0,y.exports.default=y.exports},9096:(y,t,e)=>{var o=e(9875);function a(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var c,n,i=typeof Symbol=="function"?Symbol:{},r=i.iterator||"@@iterator",s=i.toStringTag||"@@toStringTag";function u(b,x,R,w){var j=x&&x.prototype instanceof v?x:v,A=Object.create(j.prototype);
34return o(A,"_invoke",function(E,I,z){var Z,P,$,K=0,X=z||[],le=!1,fe={p:0,n:0,v:c,a:ae,f:ae.bind(c,4),d:function(G,ke){return Z=G,P=0,$=c,fe.n=ke,l}};function ae(M,G){for(P=M,$=G,n=0;!le&&K&&!ke&&n<X.length;n++){var ke,ne=X[n],Ee=fe.p,Te=ne[2];M>3?(ke=Te===G)&&($=ne[(P=ne[4])?5:(P=3,3)],ne[4]=ne[5]=c):ne[0]<=Ee&&((ke=M<2&&Ee<ne[1])?(P=0,fe.v=G,fe.n=ne[1]):Ee<Te&&(ke=M<3||ne[0]>G||G>Te)&&(ne[4]=M,ne[5]=G,fe.n=Te,P=0))}if(ke||M>1)return l;throw le=!0,G}return function(M,G,ke){if(K>1)throw TypeError("Generator is already running");for(le&&G===1&&ae(G,ke),P=G,$=ke;(n=P<2?c:$)||!le;){Z||(P?P<3?(P>1&&(fe.n=-1),ae(P,$)):fe.n=$:fe.v=$);try{if(K=2,Z){if(P||(M="next"),n=Z[M]){if(!(n=n.call(Z,$)))throw TypeError("iterator result is not an object");if(!n.done)return n;$=n.value,P<2&&(P=0)}else P===1&&(n=Z.return)&&n.call(Z),P<2&&($=TypeError("The iterator does not provide a '"+M+"' method"),P=1);Z=c}else if((n=(le=fe.n<0)?$:E.call(I,fe))!==l)break}catch(ne){Z=c,P=1,$=ne}finally{K=1}}return{value:n,done:le}}}(b,R,w),!0),A}var l={};function v(){}function d(){}function f(){}n=Object.getPrototypeOf;var g=[][r]?n(n([][r]())):(o(n={},r,function(){return this}),n),h=f.prototype=v.prototype=Object.create(g);function m(b){return Object.setPrototypeOf?Object.setPrototypeOf(b,f):(b.__proto__=f,o(b,s,"GeneratorFunction")),b.prototype=Object.create(h),b}return d.prototype=f,o(h,"constructor",f),o(f,"constructor",d),d.displayName="GeneratorFunction",o(f,s,"GeneratorFunction"),o(h),o(h,s,"Generator"),o(h,r,function(){return this}),o(h,"toString",function(){return"[object Generator]"}),(y.exports=a=function(){return{w:u,m}},y.exports.__esModule=!0,y.exports.default=y.exports)()}y.exports=a,y.exports.__esModule=!0,y.exports.default=y.exports},5487:(y,t,e)=>{var o=e(8334);function a(c,n,i,r,s){var u=o(c,n,i,r,s);return u.next().then(function(l){return l.done?l.value:u.next()})}y.exports=a,y.exports.__esModule=!0,y.exports.default=y.exports},8334:(y,t,e)=>{var o=e(9096),a=e(4202);function c(n,i,r,s,u){return new a(o().w(n,i,r,s),u||Promise)}y.exports=c,y.exports.__esModule=!0,y.exports.default=y.exports},4202:(y,t,e)=>{var o=e(7730),a=e(9875);function c(n,i){function r(u,l,v,d){try{var f=n[u](l),g=f.value;return g instanceof o?i.resolve(g.v).then(function(h){r("next",h,v,d)},function(h){r("throw",h,v,d)}):i.resolve(g).then(function(h){f.value=h,v(f)},function(h){return r("throw",h,v,d)})}catch(h){d(h)}}var s;this.next||(a(c.prototype),a(c.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),a(this,"_invoke",function(u,l,v){function d(){return new i(function(f,g){r(u,v,f,g)})}return s=s?s.then(d,d):d()},!0)}y.exports=c,y.exports.__esModule=!0,y.exports.default=y.exports},9875:y=>{function t(e,o,a,c){var n=Object.defineProperty;try{n({},"",{})}catch(i){n=0}y.exports=t=function(r,s,u,l){if(s)n?n(r,s,{value:u,enumerable:!l,configurable:!l,writable:!l}):r[s]=u;else{var v=function(f,g){t(r,f,function(h){return this._invoke(f,g,h)})};v("next",0),v("throw",1),v("return",2)}},y.exports.__esModule=!0,y.exports.default=y.exports,t(e,o,a,c)}y.exports=t,y.exports.__esModule=!0,y.exports.default=y.exports},3393:y=>{function t(e){var o=Object(e),a=[];for(var c in o)a.unshift(c);return function n(){for(;a.length;)if((c=a.pop())in o)return n.value=c,n.done=!1,n;return n.done=!0,n}}y.exports=t,y.exports.__esModule=!0,y.exports.default=y.exports},1205:(y,t,e)=>{var o=e(7730),a=e(9096),c=e(5487),n=e(8334),i=e(4202),r=e(3393),s=e(9349);function u(){"use strict";var l=a(),v=l.m(u),d=(Object.getPrototypeOf?Object.getPrototypeOf(v):v.__proto__).constructor;function f(m){var b=typeof m=="function"&&m.constructor;
34return!!b&&(b===d||(b.displayName||b.name)==="GeneratorFunction")}var g={throw:1,return:2,break:3,continue:3};function h(m){var b,x;return function(R){b||(b={stop:function(){return x(R.a,2)},catch:function(){return R.v},abrupt:function(j,A){return x(R.a,g[j],A)},delegateYield:function(j,A,E){return b.resultName=A,x(R.d,s(j),E)},finish:function(j){return x(R.f,j)}},x=function(j,A,E){R.p=b.prev,R.n=b.next;try{return j(A,E)}finally{b.next=R.n}}),b.resultName&&(b[b.resultName]=R.v,b.resultName=void 0),b.sent=R.v,b.next=R.n;try{return m.call(this,b)}finally{R.p=b.prev,R.n=b.next}}}return(y.exports=u=function(){return{wrap:function(x,R,w,j){return l.w(h(x),R,w,j&&j.reverse())},isGeneratorFunction:f,mark:l.m,awrap:function(x,R){return new o(x,R)},AsyncIterator:i,async:function(x,R,w,j,A){return(f(R)?n:c)(h(x),R,w,j,A)},keys:r,values:s}},y.exports.__esModule=!0,y.exports.default=y.exports)()}y.exports=u,y.exports.__esModule=!0,y.exports.default=y.exports},9349:(y,t,e)=>{var o=e(3433).default;function a(c){if(c!=null){var n=c[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],i=0;if(n)return n.call(c);if(typeof c.next=="function")return c;if(!isNaN(c.length))return{next:function(){return c&&i>=c.length&&(c=void 0),{value:c&&c[i++],done:!c}}}}throw new TypeError(o(c)+" is not iterable")}y.exports=a,y.exports.__esModule=!0,y.exports.default=y.exports},3433:y=>{function t(e){"@babel/helpers - typeof";return y.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},y.exports.__esModule=!0,y.exports.default=y.exports,t(e)}y.exports=t,y.exports.__esModule=!0,y.exports.default=y.exports},5876:(y,t,e)=>{var o=e(1205)();y.exports=o;try{regeneratorRuntime=o}catch(a){typeof globalThis=="object"?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},2858:(y,t,e)=>{"use strict";var o,a,c;Object.defineProperty(t,"__esModule",{value:!0}),t._getInstance=t._getStatsigGlobalFlag=t._getStatsigGlobal=void 0;const n=e(3385),i=()=>{try{return typeof __STATSIG__!="undefined"?__STATSIG__:f}catch(g){return f}};t._getStatsigGlobal=i;const r=g=>(0,t._getStatsigGlobal)()[g];t._getStatsigGlobalFlag=r;const s=g=>{const h=(0,t._getStatsigGlobal)();return g?h.instances&&h.instances[g]:(h.instances&&Object.keys(h.instances).length>1&&n.Log.warn("Call made to Statsig global instance without an SDK key but there is more than one client instance. If you are using mulitple clients, please specify the SDK key."),h.firstInstance)};t._getInstance=s;const u="__STATSIG__",l=typeof window!="undefined"?window:{},v=typeof e.g!="undefined"?e.g:{},d=typeof globalThis!="undefined"?globalThis:{},f=(c=(a=(o=l[u])!==null&&o!==void 0?o:v[u])!==null&&a!==void 0?a:d[u])!==null&&c!==void 0?c:{instance:t._getInstance};l[u]=f,v[u]=f,d[u]=f},5839:(y,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getStorageKey=t._getUserStorageKey=void 0;const o=e(2817);function a(n,i,r){var s;if(r)return r(n,i);const u=i&&i.customIDs?i.customIDs:{},l=[`uid:${(s=i==null?void 0:i.userID)!==null&&s!==void 0?s:""}`,`cids:${Object.keys(u).sort((v,d)=>v.localeCompare(d)).map(v=>`${v}-${u[v]}`).join(",")}`,`k:${n}`];return(0,o._DJB2)(l.join("|"))}t._getUserStorageKey=a;function c(n,i,r){return i?a(n,i,r):(0,o._DJB2)(`k:${n}`)}t._getStorageKey=c},3889:(y,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},5443:function(y,t,e){"use strict";var o=this&&this.__awaiter||function(f,g,h,m){function b(x){return x instanceof h?x:new h(function(R){R(x)})}return new(h||(h=Promise))(function(x,R){function w(E){try{A(m.next(E))}catch(I){R(I)}}function j(E){try{A(m.throw(E))}catch(I){R(I)}}function A(E){E.done?x(E.value):b(E.value).then(w,j)}A((m=m.apply(f,g||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t._makeDataAdapterResult=t.DataAdapterCore=void 0;const a=e(3385),c=e(3053),n=e(2876),i=e(4771),r=e(1156),s=10;class u{constructor(g,h){this._adapterName=g,this._cacheSuffix=h,this._options=null,this._sdkKey=null,this._lastModifiedStoreKey=`statsig.last_modified_time.${h}`,this._inMemoryCache=new v}attach(g,h,m){this._sdkKey=g,this._options=h}getDataSync(g){const h=g&&(0,n._normalizeUser)(g,this._options),m=this._getCacheKey(h),b=this._inMemoryCache.get(m,h);if(b&&this._getIsCacheValueValid(b))return b;const x=this._loadFromCache(m);return x&&this._getIsCacheValueValid(x)?(this._inMemoryCache.add(m,x),this._inMemoryCache.get(m,h)):null}setData(g,h){const m=h&&(0,n._normalizeUser)(h,this._options),b=this._getCacheKey(m);this._inMemoryCache.add(b,l("Bootstrap",g,null,m))}_getIsCacheValueValid(g){return g.stableID==null||g.stableID===c.StableID.get(this._getSdkKey())}_getDataAsyncImpl(g,h,m){return o(this,void 0,void 0,function*(){i.Storage.isReady()||(yield i.Storage.isReadyResolver());const b=g!=null?g:this.getDataSync(h),x=[this._fetchAndPrepFromNetwork(b,h,m)];return m!=null&&m.timeoutMs&&x.push(new Promise(R=>setTimeout(R,m.timeoutMs)).then(()=>(a.Log.debug("Fetching latest value timed out"),null))),yield Promise.race(x)})}_prefetchDataImpl(g,h){return o(this,void 0,void 0,function*(){const m=g&&(0,n._normalizeUser)(g,this._options),b=this._getCacheKey(m),x=yield this._getDataAsyncImpl(null,m,h);x&&this._inMemoryCache.add(b,Object.assign(Object.assign({},x),{source:"Prefetch"}))})}_fetchAndPrepFromNetwork(g,h,m){return o(this,void 0,void 0,function*(){var b;const x=(b=g==null?void 0:g.data)!==null&&b!==void 0?b:null,R=g!=null&&this._isCachedResultValidFor204(g,h),w=yield this._fetchFromNetwork(x,h,m,R);if(!w)return a.Log.debug("No response returned for latest value"),null;
34const j=(0,r._typedJsonParse)(w,"has_updates","Response"),A=this._getSdkKey(),E=c.StableID.get(A);let I=null;if((j==null?void 0:j.has_updates)===!0)I=l("Network",w,E,h);else if(x&&(j==null?void 0:j.has_updates)===!1)I=l("NetworkNotModified",x,E,h);else return null;const z=this._getCacheKey(h);return this._inMemoryCache.add(z,I),this._writeToCache(z,I),I})}_getSdkKey(){return this._sdkKey!=null?this._sdkKey:(a.Log.error(`${this._adapterName} is not attached to a Client`),"")}_loadFromCache(g){var h;const m=(h=i.Storage.getItem)===null||h===void 0?void 0:h.call(i.Storage,g);if(m==null)return null;const b=(0,r._typedJsonParse)(m,"source","Cached Result");return b?Object.assign(Object.assign({},b),{source:"Cache"}):null}_writeToCache(g,h){i.Storage.setItem(g,JSON.stringify(h)),this._runLocalStorageCacheEviction(g)}_runLocalStorageCacheEviction(g){var h;const m=(h=(0,i._getObjectFromStorage)(this._lastModifiedStoreKey))!==null&&h!==void 0?h:{};m[g]=Date.now();const b=d(m,s);b&&(delete m[b],i.Storage.removeItem(b)),(0,i._setObjectInStorage)(this._lastModifiedStoreKey,m)}}t.DataAdapterCore=u;function l(f,g,h,m){return{source:f,data:g,receivedAt:Date.now(),stableID:h,fullUserHash:(0,n._getFullUserHash)(m)}}t._makeDataAdapterResult=l;class v{constructor(){this._data={}}get(g,h){var m;const b=this._data[g],x=b==null?void 0:b.stableID,R=(m=h==null?void 0:h.customIDs)===null||m===void 0?void 0:m.stableID;return R&&x&&R!==x?(a.Log.warn("'StatsigUser.customIDs.stableID' mismatch"),null):b}add(g,h){const m=d(this._data,s-1);m&&delete this._data[m],this._data[g]=h}merge(g){this._data=Object.assign(Object.assign({},this._data),g)}}function d(f,g){const h=Object.keys(f);return h.length<=g?null:h.reduce((m,b)=>{const x=f[m],R=f[b];return typeof x=="object"&&typeof R=="object"?R.receivedAt<x.receivedAt?b:m:R<x?b:m})}},8557:(y,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Diagnostics=void 0;const e=new Map,o="start",a="end",c="statsig::diagnostics";t.Diagnostics={_getMarkers:u=>e.get(u),_markInitOverallStart:u=>{r(u,n({},o,"overall"))},_markInitOverallEnd:(u,l,v)=>{r(u,n({success:l,error:l?void 0:{name:"InitializeError",message:"Failed to initialize"},evaluationDetails:v},a,"overall"))},_markInitNetworkReqStart:(u,l)=>{r(u,n(l,o,"initialize","network_request"))},_markInitNetworkReqEnd:(u,l)=>{r(u,n(l,a,"initialize","network_request"))},_markInitProcessStart:u=>{r(u,n({},o,"initialize","process"))},_markInitProcessEnd:(u,l)=>{r(u,n(l,a,"initialize","process"))},_clearMarkers:u=>{e.delete(u)},_formatError(u){if(u&&typeof u=="object")return{code:s(u,"code"),name:s(u,"name"),message:s(u,"message")}},_getDiagnosticsData(u,l,v,d){var f;return{success:(u==null?void 0:u.ok)===!0,statusCode:u==null?void 0:u.status,sdkRegion:(f=u==null?void 0:u.headers)===null||f===void 0?void 0:f.get("x-statsig-region"),isDelta:v.includes('"is_delta":true')===!0?!0:void 0,attempt:l,error:t.Diagnostics._formatError(d)}},_enqueueDiagnosticsEvent(u,l,v,d){const f=t.Diagnostics._getMarkers(v);if(f==null||f.length<=0)return-1;const g=f[f.length-1].timestamp-f[0].timestamp;t.Diagnostics._clearMarkers(v);const h=i(u,{context:"initialize",markers:f.slice(),statsigOptions:d});return l.enqueue(h),g}};function n(u,l,v,d){return Object.assign({key:v,action:l,step:d,timestamp:Date.now()},u)}function i(u,l){return{eventName:c,user:u,value:null,metadata:l,time:Date.now()}}function r(u,l){var v;const d=(v=e.get(u))!==null&&v!==void 0?v:[];d.push(l),e.set(u,d)}function s(u,l){if(l in u)return u[l]}},8970:function(y,t){"use strict";var e=this&&this.__awaiter||function(s,u,l,v){function d(f){return f instanceof l?f:new l(function(g){g(f)})}return new(l||(l=Promise))(function(f,g){function h(x){try{b(v.next(x))}catch(R){g(R)}}function m(x){try{b(v.throw(x))}catch(R){g(R)}}function b(x){x.done?f(x.value):d(x.value).then(h,m)}b((v=v.apply(s,u||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t._fetchTxtRecords=void 0;const o=new Uint8Array([0,0,1,0,0,1,0,0,0,0,0,0,13,102,101,97,116,117,114,101,97,115,115,101,116,115,3,111,114,103,0,0,16,0,1]),a="https://cloudflare-dns.com/dns-query",c=["i","e","d"],n=200;function i(s){return e(this,void 0,void 0,function*(){const u=yield s(a,{method:"POST",headers:{"Content-Type":"application/dns-message",Accept:"application/dns-message"},body:o});if(!u.ok){const d=new Error("Failed to fetch TXT records from DNS");throw d.name="DnsTxtFetchError",d}const l=yield u.arrayBuffer(),v=new Uint8Array(l);return r(v)})}t._fetchTxtRecords=i;function r(s){const u=s.findIndex((v,d)=>
34d<n&&String.fromCharCode(v)==="="&&c.includes(String.fromCharCode(s[d-1])));if(u===-1){const v=new Error("Failed to parse TXT records from DNS");throw v.name="DnsTxtParseError",v}let l="";for(let v=u-1;v<s.length;v++)l+=String.fromCharCode(s[v]);return l.split(",")}},1388:(y,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9585:function(y,t,e){"use strict";var o=this&&this.__awaiter||function(d,f,g,h){function m(b){return b instanceof g?b:new g(function(x){x(b)})}return new(g||(g=Promise))(function(b,x){function R(A){try{j(h.next(A))}catch(E){x(E)}}function w(A){try{j(h.throw(A))}catch(E){x(E)}}function j(A){A.done?b(A.value):m(A.value).then(R,w)}j((h=h.apply(d,f||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorBoundary=t.EXCEPTION_ENDPOINT=void 0;const a=e(3385),c=e(6131),n=e(2281);t.EXCEPTION_ENDPOINT="https://statsigapi.net/v1/sdk_exception";const i="[Statsig] UnknownError";class r{constructor(f,g,h,m){this._sdkKey=f,this._options=g,this._emitter=h,this._lastSeenError=m,this._seen=new Set}wrap(f){try{const g=f;l(g).forEach(h=>{const m=g[h];"$EB"in m||(g[h]=(...b)=>this._capture(h,()=>m.apply(f,b)),g[h].$EB=!0)})}catch(g){this._onError("eb:wrap",g)}}logError(f,g){this._onError(f,g)}getLastSeenErrorAndReset(){const f=this._lastSeenError;return this._lastSeenError=void 0,f!=null?f:null}attachErrorIfNoneExists(f){this._lastSeenError||(this._lastSeenError=s(f))}_capture(f,g){try{const h=g();return h&&h instanceof Promise?h.catch(m=>this._onError(f,m)):h}catch(h){return this._onError(f,h),null}}_onError(f,g){try{a.Log.warn(`Caught error in ${f}`,{error:g}),o(this,void 0,void 0,function*(){var m,b,x,R,w,j,A;const E=g||Error(i),I=E instanceof Error,z=I?E.name:"No Name",Z=s(E);if(this._lastSeenError=Z,this._seen.has(z))return;if(this._seen.add(z),!((b=(m=this._options)===null||m===void 0?void 0:m.networkConfig)===null||b===void 0)&&b.preventAllNetworkTraffic){(x=this._emitter)===null||x===void 0||x.call(this,{name:"error",error:g,tag:f});return}const P=c.SDKType._get(this._sdkKey),$=n.StatsigMetadataProvider.get(),K=I?E.stack:u(E),X=Object.assign({tag:f,exception:z,info:K,statsigOptions:v(this._options)},Object.assign(Object.assign({},$),{sdkType:P}));yield((j=(w=(R=this._options)===null||R===void 0?void 0:R.networkConfig)===null||w===void 0?void 0:w.networkOverrideFunc)!==null&&j!==void 0?j:fetch)(t.EXCEPTION_ENDPOINT,{method:"POST",headers:{"STATSIG-API-KEY":this._sdkKey,"STATSIG-SDK-TYPE":String(P),"STATSIG-SDK-VERSION":String($.sdkVersion),"Content-Type":"application/json"},body:JSON.stringify(X)}),(A=this._emitter)===null||A===void 0||A.call(this,{name:"error",error:g,tag:f})}).then(()=>{}).catch(()=>{})}catch(h){}}}t.ErrorBoundary=r;function s(d){return d instanceof Error?d:typeof d=="string"?new Error(d):new Error("An unknown error occurred.")}function u(d){try{return JSON.stringify(d)}catch(f){return i}}function l(d){const f=new Set;let g=Object.getPrototypeOf(d);for(;g&&g!==Object.prototype;)Object.getOwnPropertyNames(g).filter(h=>typeof(g==null?void 0:g[h])=="function").forEach(h=>f.add(h)),g=Object.getPrototypeOf(g);return Array.from(f)}function v(d){if(!d)return{};const f={};return Object.entries(d).forEach(([g,h])=>{switch(typeof h){case"number":case"bigint":case"boolean":f[String(g)]=h;break;case"string":h.length<50?f[String(g)]=h:f[String(g)]="set";break;case"object":g==="environment"?f.environment=h:g==="networkConfig"?f.networkConfig=h:f[String(g)]=h!=null?"set":"unset";break;default:}}),f}},8611:(y,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},7903:(y,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},6838:function(y,t,e){"use strict";var o=this&&this.__awaiter||function(A,E,I,z){function Z(P){return P instanceof I?P:new I(function($){$(P)})}return new(I||(I=Promise))(function(P,$){function K(fe){try{le(z.next(fe))}catch(ae){$(ae)}}function X(fe){try{le(z.throw(fe))}catch(ae){$(ae)}}function le(fe){fe.done?P(fe.value):Z(fe.value).then(K,X)}le((z=z.apply(A,E||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.EventLogger=void 0;const a=e(5839),c=e(2817),n=e(3385),i=e(4957),r=e(8922),s=e(5099),u=e(1497),l=e(4771),v=e(2174),d=e(8287),f=100,g=1e4,h=1e3,m=6e5,b=500,x=200,R={},w={Startup:"startup",GainedFocus:"gained_focus"};class j{static _safeFlushAndForget(E){var I;(I=R[E])===null||I===void 0||I.flush().catch(()=>{})}static _safeRetryFailedLogs(E){var I;(I=R[E])===null||I===void 0||I._retryFailedLogs(w.GainedFocus)}constructor(E,I,z,Z){var P,$;this._sdkKey=E,this._emitter=I,this._network=z,this._options=Z,this._queue=[],this._lastExposureTimeMap={},this._nonExposedChecks={},this._hasRunQuickFlush=!1,this._creationTime=Date.now(),this._loggingEnabled=(P=Z==null?void 0:Z.loggingEnabled)!==null&&P!==void 0?P:(Z==null?void 0:Z.disableLogging)===!0?u.LoggingEnabledOption.disabled:u.LoggingEnabledOption.browserOnly,Z!=null&&Z.loggingEnabled&&Z.disableLogging!==void 0&&n.Log.warn("Detected both loggingEnabled and disableLogging options. loggingEnabled takes precedence - please remove disableLogging."),this._maxQueueSize=($=Z==null?void 0:Z.loggingBufferMaxSize)!==null&&$!==void 0?$:f;const K=Z==null?void 0:Z.networkConfig;this._logEventUrlConfig=new v.UrlConfiguration(i.Endpoint._rgstr,K==null?void 0:K.logEventUrl,K==null?void 0:K.api,K==null?void 0:K.logEventFallbackUrls)}setLogEventCompressionMode(E){this._network.setLogEventCompressionMode(E)}setLoggingEnabled(E){this._loggingEnabled=E}enqueue(E){this._shouldLogEvent(E)&&(this._normalizeAndAppendEvent(E),this._quickFlushIfNeeded(),this._queue.length>this._maxQueueSize&&j._safeFlushAndForget(this._sdkKey))}incrementNonExposureCount(E){var I;const z=(I=this._nonExposedChecks[E])!==null&&I!==void 0?I:0;this._nonExposedChecks[E]=z+1}reset(){this.flush().catch(()=>{}),this._lastExposureTimeMap={}}start(){var E;const I=(0,r._isServerEnv)();I&&((E=this._options)===null||E===void 0?void 0:E.loggingEnabled)!=="always"||(R[this._sdkKey]=this,I||(0,d._subscribeToVisiblityChanged)(z=>{z==="background"?j._safeFlushAndForget(this._sdkKey):z==="foreground"&&j._safeRetryFailedLogs(this._sdkKey)}
34),this._retryFailedLogs(w.Startup),this._startBackgroundFlushInterval())}stop(){return o(this,void 0,void 0,function*(){this._flushIntervalId&&(clearInterval(this._flushIntervalId),this._flushIntervalId=null),delete R[this._sdkKey],yield this.flush()})}flush(){return o(this,void 0,void 0,function*(){if(this._appendAndResetNonExposedChecks(),this._queue.length===0)return;const E=this._queue;this._queue=[],yield this._sendEvents(E)})}_quickFlushIfNeeded(){this._hasRunQuickFlush||(this._hasRunQuickFlush=!0,!(Date.now()-this._creationTime>x)&&setTimeout(()=>j._safeFlushAndForget(this._sdkKey),x))}_shouldLogEvent(E){var I;if(((I=this._options)===null||I===void 0?void 0:I.loggingEnabled)!=="always"&&(0,r._isServerEnv)())return!1;if(!(0,s._isExposureEvent)(E))return!0;const z=E.user?E.user:{statsigEnvironment:void 0},Z=(0,a._getUserStorageKey)(this._sdkKey,z),P=E.metadata?E.metadata:{},$=[E.eventName,Z,P.gate,P.config,P.ruleID,P.allocatedExperiment,P.parameterName,String(P.isExplicitParameter),P.reason].join("|"),K=this._lastExposureTimeMap[$],X=Date.now();return K&&X-K<m?!1:(Object.keys(this._lastExposureTimeMap).length>h&&(this._lastExposureTimeMap={}),this._lastExposureTimeMap[$]=X,!0)}_sendEvents(E){return o(this,void 0,void 0,function*(){var I,z;if(this._loggingEnabled==="disabled")return this._saveFailedLogsToStorage(E),!1;try{const P=(0,d._isUnloading)()&&this._network.isBeaconSupported()&&((z=(I=this._options)===null||I===void 0?void 0:I.networkConfig)===null||z===void 0?void 0:z.networkOverrideFunc)==null;return this._emitter({name:"pre_logs_flushed",events:E}),(P?this._sendEventsViaBeacon(E):yield this._sendEventsViaPost(E)).success?(this._emitter({name:"logs_flushed",events:E}),!0):(n.Log.warn("Failed to flush events."),this._saveFailedLogsToStorage(E),!1)}catch(Z){return n.Log.warn("Failed to flush events."),!1}})}_sendEventsViaPost(E){return o(this,void 0,void 0,function*(){var I;const z=yield this._network.post(this._getRequestData(E)),Z=(I=z==null?void 0:z.code)!==null&&I!==void 0?I:-1;return{success:Z>=200&&Z<300}})}_sendEventsViaBeacon(E){return{success:this._network.beacon(this._getRequestData(E))}}_getRequestData(E){return{sdkKey:this._sdkKey,data:{events:E},urlConfig:this._logEventUrlConfig,retries:3,isCompressable:!0,params:{[i.NetworkParam.EventCount]:String(E.length)},credentials:"same-origin"}}_saveFailedLogsToStorage(E){for(;E.length>b;)E.shift();const I=this._getStorageKey();try{(0,l._setObjectInStorage)(I,E)}catch(z){n.Log.warn("Unable to save failed logs to storage")}}_retryFailedLogs(E){const I=this._getStorageKey();o(this,void 0,void 0,function*(){l.Storage.isReady()||(yield l.Storage.isReadyResolver());const z=(0,l._getObjectFromStorage)(I);if(!z)return;E===w.Startup&&l.Storage.removeItem(I),(yield this._sendEvents(z))&&E===w.GainedFocus&&l.Storage.removeItem(I)}).catch(()=>{n.Log.warn("Failed to flush stored logs")})}_getStorageKey(){return`statsig.failed_logs.${(0,c._DJB2)(this._sdkKey)}`}_normalizeAndAppendEvent(E){E.user&&(E.user=Object.assign({},E.user),delete E.user.privateAttributes);const I={},z=this._getCurrentPageUrl();z&&(I.statsigMetadata={currentPage:z});const Z=Object.assign(Object.assign({},E),I);n.Log.debug("Enqueued Event:",Z),this._queue.push(Z)}_appendAndResetNonExposedChecks(){Object.keys(this._nonExposedChecks).length!==0&&(this._normalizeAndAppendEvent({eventName:"statsig::non_exposed_checks",user:null,time:Date.now(),metadata:{checks:Object.assign({},this._nonExposedChecks)}}),this._nonExposedChecks={})}_getCurrentPageUrl(){var E;if(((E=this._options)===null||E===void 0?void 0:E.includeCurrentPageUrlWithEvents)!==!1)return(0,r._getCurrentPageUrlSafe)()}_startBackgroundFlushInterval(){var E,I;const z=(I=(E=this._options)===null||E===void 0?void 0:E.loggingIntervalMs)!==null&&I!==void 0?I:g,Z=setInterval(()=>{const P=R[this._sdkKey];!P||P._flushIntervalId!==Z?clearInterval(Z):j._safeFlushAndForget(this._sdkKey)},z);this._flushIntervalId=Z}}t.EventLogger=j},2817:(y,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getSortedObject=t._DJB2Object=t._DJB2=void 0;const o=e(1569),a=i=>{let r=0;for(let s=0;s<i.length;s++){const u=i.charCodeAt(s);r=(r<<5)-r+u,r=r&r}return String(r>>>0)};t._DJB2=a;const c=(i,r)=>(0,t._DJB2)(JSON.stringify((0,t._getSortedObject)(i,r)));t._DJB2Object=c;const n=(i,r)=>{if(i==null)return null;const s=Object.keys(i).sort(),u={};
34return s.forEach(l=>{const v=i[l];if(r===0||(0,o._typeOf)(v)!=="object"){u[l]=v;return}u[l]=(0,t._getSortedObject)(v,r!=null?r-1:r)}),u};t._getSortedObject=n},4142:(y,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},3385:(y,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Log=t.LogLevel=void 0;const e=" DEBUG ",o="  INFO ",a="  WARN ",c=" ERROR ";function n(r){return r.unshift("[Statsig]"),r}t.LogLevel={None:0,Error:1,Warn:2,Info:3,Debug:4};class i{static info(...s){i.level>=t.LogLevel.Info&&console.info(o,...n(s))}static debug(...s){i.level>=t.LogLevel.Debug&&console.debug(e,...n(s))}static warn(...s){i.level>=t.LogLevel.Warn&&console.warn(a,...n(s))}static error(...s){i.level>=t.LogLevel.Error&&console.error(c,...n(s))}}t.Log=i,i.level=t.LogLevel.Warn},8424:(y,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createMemoKey=t.MemoPrefix=void 0,t.MemoPrefix={_gate:"g",_dynamicConfig:"c",_experiment:"e",_configList:"cl",_layer:"l",_paramStore:"p"};const e=new Set([]),o=new Set(["userPersistedValues"]);function a(c,n,i){let r=`${c}|${n}`;if(!i)return r;for(const s of Object.keys(i)){if(o.has(s))return;e.has(s)?r+=`|${s}=true`:r+=`|${s}=${i[s]}`}return r}t.createMemoKey=a},4957:(y,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkParam=t.NetworkDefault=t.Endpoint=void 0,t.Endpoint={_initialize:"initialize",_rgstr:"rgstr",_download_config_specs:"download_config_specs"},t.NetworkDefault={[t.Endpoint._rgstr]:"https://prodregistryv2.org/v1",[t.Endpoint._initialize]:"https://featureassets.org/v1",[t.Endpoint._download_config_specs]:"https://api.statsigcdn.com/v1"},t.NetworkParam={EventCount:"ec",SdkKey:"k",SdkType:"st",SdkVersion:"sv",Time:"t",SessionID:"sid",StatsigEncoded:"se",IsGzipped:"gz"}},7134:function(y,t,e){"use strict";var o=this&&this.__awaiter||function(ae,M,G,ke){function ne(Ee){return Ee instanceof G?Ee:new G(function(Te){Te(Ee)})}return new(G||(G=Promise))(function(Ee,Te){function Re($e){try{rt(ke.next($e))}catch(dt){Te(dt)}}function Fe($e){try{rt(ke.throw($e))}catch(dt){Te(dt)}}function rt($e){$e.done?Ee($e.value):ne($e.value).then(Re,Fe)}rt((ke=ke.apply(ae,M||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkCore=void 0,e(2858);const a=e(2858),c=e(8557),n=e(3385),i=e(4957),r=e(4137),s=e(8768),u=e(6131),l=e(8922),v=e(9275),d=e(3053),f=e(1676),g=e(2281),h=e(1497),m=e(8287),b=1e4,x=500,R=3e4,w=1e3,j=50,A=j/w,E=new Set([408,500,502,503,504,522,524,599]);class I{constructor(M,G){this._emitter=G,this._errorBoundary=null,this._timeout=b,this._netConfig={},this._options={},this._leakyBucket={},this._lastUsedInitUrl=null,M&&(this._options=M),this._options.networkConfig&&(this._netConfig=this._options.networkConfig),this._netConfig.networkTimeoutMs&&(this._timeout=this._netConfig.networkTimeoutMs),this._fallbackResolver=new r.NetworkFallbackResolver(this._options),this.setLogEventCompressionMode(this._getLogEventCompressionMode(M))}setLogEventCompressionMode(M){this._options.logEventCompressionMode=M}setErrorBoundary(M){this._errorBoundary=M,this._errorBoundary.wrap(this),this._errorBoundary.wrap(this._fallbackResolver),this._fallbackResolver.setErrorBoundary(M)}isBeaconSupported(){return typeof navigator!="undefined"&&typeof navigator.sendBeacon=="function"}getLastUsedInitUrlAndReset(){const M=this._lastUsedInitUrl;return this._lastUsedInitUrl=null,M}beacon(M){if(!z(M))return!1;const G=this._getInternalRequestArgs("POST",M),ke=this._getPopulatedURL(G),ne=navigator;return ne.sendBeacon.bind(ne)(ke,G.body)}post(M){return o(this,void 0,void 0,function*(){const G=this._getInternalRequestArgs("POST",M);return this._tryEncodeBody(G),yield this._tryToCompressBody(G),this._sendRequest(G)})}get(M){const G=this._getInternalRequestArgs("GET",M);return this._sendRequest(G)}_sendRequest(M){return o(this,void 0,void 0,function*(){var G,ke,ne,Ee;if(!z(M)||this._netConfig.preventAllNetworkTraffic)return null;const{method:Te,body:Re,retries:Fe,attempt:rt}=M,$e=M.urlConfig.endpoint;if(this._isRateLimited($e))return n.Log.warn(`Request to ${$e} was blocked because you are making requests too frequently.`),null;const dt=rt!=null?rt:1,et=typeof AbortController!="undefined"?new AbortController:null,Nt=setTimeout(()=>{et==null||et.abort(`Timeout of ${this._timeout}ms expired.`)},this._timeout),je=this._getPopulatedURL(M);let Mt=null;
34const zt=(0,m._isUnloading)();try{const Tt={method:Te,body:Re,headers:Object.assign({},M.headers),signal:et==null?void 0:et.signal,priority:M.priority,keepalive:zt};X(M,dt);const $t=this._leakyBucket[$e];if($t&&($t.lastRequestTime=Date.now(),this._leakyBucket[$e]=$t),Mt=yield((G=this._netConfig.networkOverrideFunc)!==null&&G!==void 0?G:fetch)(je,Tt),clearTimeout(Nt),!Mt.ok){const _e=yield Mt.text().catch(()=>"No Text"),Pe=new Error(`NetworkError: ${je} ${_e}`);throw Pe.name="NetworkError",Pe}const ee=yield Mt.text();return le(M,Mt,dt,ee),this._fallbackResolver.tryBumpExpiryTime(M.sdkKey,M.urlConfig),{body:ee,code:Mt.status}}catch(Tt){const $t=$(et,Tt),de=K(et);if(le(M,Mt,dt,"",Tt),(yield this._fallbackResolver.tryFetchUpdatedFallbackInfo(M.sdkKey,M.urlConfig,$t,de))&&(M.fallbackUrl=this._fallbackResolver.getActiveFallbackUrl(M.sdkKey,M.urlConfig)),!Fe||dt>Fe||!E.has((ke=Mt==null?void 0:Mt.status)!==null&&ke!==void 0?ke:500)){(ne=this._emitter)===null||ne===void 0||ne.call(this,{name:"error",error:Tt,tag:f.ErrorTag.NetworkError,requestArgs:M});const _e=`A networking error occurred during ${Te} request to ${je}.`;return n.Log.error(_e,$t,Tt),(Ee=this._errorBoundary)===null||Ee===void 0||Ee.attachErrorIfNoneExists(_e),null}return yield fe(dt),this._sendRequest(Object.assign(Object.assign({},M),{retries:Fe,attempt:dt+1}))}})}_getLogEventCompressionMode(M){let G=M==null?void 0:M.logEventCompressionMode;return!G&&(M==null?void 0:M.disableCompression)===!0&&(G=h.LogEventCompressionMode.Disabled),G||(G=h.LogEventCompressionMode.Enabled),G}_isRateLimited(M){var G;const ke=Date.now(),ne=(G=this._leakyBucket[M])!==null&&G!==void 0?G:{count:0,lastRequestTime:ke},Ee=ke-ne.lastRequestTime,Te=Math.floor(Ee*A);return ne.count=Math.max(0,ne.count-Te),ne.count>=j?!0:(ne.count+=1,ne.lastRequestTime=ke,this._leakyBucket[M]=ne,!1)}_getPopulatedURL(M){var G;const ke=(G=M.fallbackUrl)!==null&&G!==void 0?G:M.urlConfig.getUrl();(M.urlConfig.endpoint===i.Endpoint._initialize||M.urlConfig.endpoint===i.Endpoint._download_config_specs)&&(this._lastUsedInitUrl=ke);const ne=Object.assign({[i.NetworkParam.SdkKey]:M.sdkKey,[i.NetworkParam.SdkType]:u.SDKType._get(M.sdkKey),[i.NetworkParam.SdkVersion]:g.SDK_VERSION,[i.NetworkParam.Time]:String(Date.now()),[i.NetworkParam.SessionID]:v.SessionID.get(M.sdkKey)},M.params),Ee=Object.keys(ne).map(Te=>`${encodeURIComponent(Te)}=${encodeURIComponent(ne[Te])}`).join("&");return`${ke}${Ee?`?${Ee}`:""}`}_tryEncodeBody(M){var G;const ke=(0,l._getWindowSafe)(),ne=M.body;if(!(!M.isStatsigEncodable||this._options.disableStatsigEncoding||typeof ne!="string"||(0,a._getStatsigGlobalFlag)("no-encode")!=null||!(ke!=null&&ke.btoa)))try{M.body=ke.btoa(ne).split("").reverse().join(""),M.params=Object.assign(Object.assign({},(G=M.params)!==null&&G!==void 0?G:{}),{[i.NetworkParam.StatsigEncoded]:"1"})}catch(Ee){n.Log.warn(`Request encoding failed for ${M.urlConfig.getUrl()}`,Ee)}}_tryToCompressBody(M){return o(this,void 0,void 0,function*(){var G;const ke=M.body;if(!(typeof ke!="string"||!P(M,this._options)))try{const ne=new TextEncoder().encode(ke),Ee=new CompressionStream("gzip"),Te=Ee.writable.getWriter();Te.write(ne).catch(n.Log.error),Te.close().catch(n.Log.error);const Re=Ee.readable.getReader(),Fe=[];let rt;for(;!(rt=yield Re.read()).done;)Fe.push(rt.value);const $e=Fe.reduce((Nt,je)=>Nt+je.length,0),dt=new Uint8Array($e);let et=0;for(const Nt of Fe)dt.set(Nt,et),et+=Nt.length;M.body=dt,M.params=Object.assign(Object.assign({},(G=M.params)!==null&&G!==void 0?G:{}),{[i.NetworkParam.IsGzipped]:"1"})}catch(ne){n.Log.warn(`Request compression failed for ${M.urlConfig.getUrl()}`,ne)}})}_getInternalRequestArgs(M,G){const ke=this._fallbackResolver.getActiveFallbackUrl(G.sdkKey,G.urlConfig),ne=Object.assign(Object.assign({},G),{method:M,fallbackUrl:ke});return"data"in G&&Z(ne,G.data),ne}}t.NetworkCore=I;const z=ae=>ae.sdkKey?!0:(n.Log.warn("Unable to make request without an SDK key"),!1),Z=(ae,M)=>{const{sdkKey:G,fallbackUrl:ke}=ae,ne=d.StableID.get(G),Ee=v.SessionID.get(G),Te=u.SDKType._get(G);ae.body=JSON.stringify(Object.assign(Object.assign({},M),{statsigMetadata:Object.assign(Object.assign({},g.StatsigMetadataProvider.get()),{stableID:ne,sessionID:Ee,sdkType:Te,fallbackUrl:ke})}))};function P(ae,M){if(!ae.isCompressable||(0,a._getStatsigGlobalFlag)("no-compress")!=null||typeof CompressionStream=="undefined"||typeof TextEncoder=="undefined")return!1;const G=ae.urlConfig.customUrl!=null||ae.urlConfig.fallbackUrls!=null,ke=s.SDKFlags.get(ae.sdkKey,"enable_log_event_compression")===!0;switch(M.logEventCompressionMode){case h.LogEventCompressionMode.Disabled:return!1;case h.LogEventCompressionMode.Enabled:return!(G&&!ke);case h.LogEventCompressionMode.Forced:return!0;default:return!1}}function $(ae,M){return ae!=null&&ae.signal.aborted&&typeof ae.signal.reason=="str
34ing"?ae.signal.reason:typeof M=="string"?M:M instanceof Error?`${M.name}: ${M.message}`:"Unknown Error"}function K(ae){return(ae==null?void 0:ae.signal.aborted)&&typeof ae.signal.reason=="string"&&ae.signal.reason.includes("Timeout")||!1}function X(ae,M){ae.urlConfig.endpoint===i.Endpoint._initialize&&c.Diagnostics._markInitNetworkReqStart(ae.sdkKey,{attempt:M})}function le(ae,M,G,ke,ne){ae.urlConfig.endpoint===i.Endpoint._initialize&&c.Diagnostics._markInitNetworkReqEnd(ae.sdkKey,c.Diagnostics._getDiagnosticsData(M,G,ke,ne))}function fe(ae){return o(this,void 0,void 0,function*(){yield new Promise(M=>setTimeout(M,Math.min(x*(ae*ae),R)))})}},4137:function(y,t,e){"use strict";var o=this&&this.__awaiter||function(h,m,b,x){function R(w){return w instanceof b?w:new b(function(j){j(w)})}return new(b||(b=Promise))(function(w,j){function A(z){try{I(x.next(z))}catch(Z){j(Z)}}function E(z){try{I(x.throw(z))}catch(Z){j(Z)}}function I(z){z.done?w(z.value):R(z.value).then(A,E)}I((x=x.apply(h,m||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t._isDomainFailure=t.NetworkFallbackResolver=void 0;const a=e(8970),c=e(2817),n=e(3385),i=e(4771),r=7*24*60*60*1e3,s=4*60*60*1e3;class u{constructor(m){var b;this._fallbackInfo=null,this._errorBoundary=null,this._dnsQueryCooldowns={},this._networkOverrideFunc=(b=m.networkConfig)===null||b===void 0?void 0:b.networkOverrideFunc}setErrorBoundary(m){this._errorBoundary=m}tryBumpExpiryTime(m,b){var x;const R=(x=this._fallbackInfo)===null||x===void 0?void 0:x[b.endpoint];R&&(R.expiryTime=Date.now()+r,d(m,Object.assign(Object.assign({},this._fallbackInfo),{[b.endpoint]:R})))}getActiveFallbackUrl(m,b){var x,R;if(b.customUrl!=null&&b.fallbackUrls!=null)return null;let w=this._fallbackInfo;w==null&&(w=(x=f(m))!==null&&x!==void 0?x:{},this._fallbackInfo=w);const j=w[b.endpoint];return!j||Date.now()>((R=j.expiryTime)!==null&&R!==void 0?R:0)||b.getChecksum()!==j.urlConfigChecksum?(delete w[b.endpoint],this._fallbackInfo=w,d(m,this._fallbackInfo),null):j.url?j.url:null}tryFetchUpdatedFallbackInfo(m,b,x,R){return o(this,void 0,void 0,function*(){var w,j;try{if(!l(x,R))return!1;const E=b.customUrl==null&&b.fallbackUrls==null?yield this._tryFetchFallbackUrlsFromNetwork(b):b.fallbackUrls,I=this._pickNewFallbackUrl((w=this._fallbackInfo)===null||w===void 0?void 0:w[b.endpoint],E);return I?(this._updateFallbackInfoWithNewUrl(m,b,I),!0):!1}catch(A){return(j=this._errorBoundary)===null||j===void 0||j.logError("tryFetchUpdatedFallbackInfo",A),!1}})}_updateFallbackInfoWithNewUrl(m,b,x){var R,w,j;const A={urlConfigChecksum:b.getChecksum(),url:x,expiryTime:Date.now()+r,previous:[]},E=b.endpoint,I=(R=this._fallbackInfo)===null||R===void 0?void 0:R[E];I&&A.previous.push(...I.previous),A.previous.length>10&&(A.previous=[]);const z=(j=(w=this._fallbackInfo)===null||w===void 0?void 0:w[E])===null||j===void 0?void 0:j.url;z!=null&&A.previous.push(z),this._fallbackInfo=Object.assign(Object.assign({},this._fallbackInfo),{[E]:A}),d(m,this._fallbackInfo)}_tryFetchFallbackUrlsFromNetwork(m){return o(this,void 0,void 0,function*(){var b;const x=this._dnsQueryCooldowns[m.endpoint];if(x&&Date.now()<x)return null;this._dnsQueryCooldowns[m.endpoint]=Date.now()+s;const R=[],w=yield(0,a._fetchTxtRecords)((b=this._networkOverrideFunc)!==null&&b!==void 0?b:fetch),j=g(m.defaultUrl);for(const A of w){if(!A.startsWith(m.endpointDnsKey+"="))continue;const E=A.split("=");if(E.length>1){let I=E[1];I.endsWith("/")&&(I=I.slice(0,-1)),R.push(`https://${I}${j}`)}}return R})}_pickNewFallbackUrl(m,b){var x;if(b==null)return null;const R=new Set((x=m==null?void 0:m.previous)!==null&&x!==void 0?x:[]),w=m==null?void 0:m.url;let j=null;for(const A of b){const E=A.endsWith("/")?A.slice(0,-1):A;if(!R.has(A)&&E!==w){j=E;break}}return j}}t.NetworkFallbackResolver=u;function l(h,m){var b;const x=(b=h==null?void 0:h.toLowerCase())!==null&&b!==void 0?b:"";return m||x.includes("uncaught exception")||x.includes("failed to fetch")||x.includes("networkerror when attempting to fetch resource")}t._isDomainFailure=l;function v(h){return`statsig.network_fallback.${(0,c._DJB2)(h)}`}function d(h,m){const b=v(h);if(!m||Object.keys(m).length===0){i.Storage.removeItem(b);return}i.Storage.setItem(b,JSON.stringify(m))}function f(h){const m=v(h),b=i.Storage.getItem(m);if(!b)return null;try{return JSON.parse(b)}catch(x){return n.Log.error("Failed to parse FallbackInfo"),null}}function g(h){try{return new URL(h).pathname}catch(m){return null}}},7566:(y,t)=>{"use strict";
34Object.defineProperty(t,"__esModule",{value:!0})},2108:(y,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8768:(y,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SDKFlags=void 0;const e={};t.SDKFlags={setFlags:(o,a)=>{e[o]=a},get:(o,a)=>{var c,n;return(n=(c=e[o])===null||c===void 0?void 0:c[a])!==null&&n!==void 0?n:!1}}},6131:(y,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SDKType=void 0;const e={};let o;t.SDKType={_get:a=>{var c;return((c=e[a])!==null&&c!==void 0?c:"js-mono")+(o!=null?o:"")},_setClientType(a,c){e[a]=c},_setBindingType(a){(!o||o==="-react")&&(o="-"+a)}}},8922:(y,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getUnloadEvent=t._getCurrentPageUrlSafe=t._addDocumentEventListenerSafe=t._addWindowEventListenerSafe=t._isServerEnv=t._getDocumentSafe=t._getWindowSafe=void 0;const e=()=>typeof window!="undefined"?window:null;t._getWindowSafe=e;const o=()=>{var s;const u=(0,t._getWindowSafe)();return(s=u==null?void 0:u.document)!==null&&s!==void 0?s:null};t._getDocumentSafe=o;const a=()=>{if((0,t._getDocumentSafe)()!==null)return!1;const s=typeof process!="undefined"&&process.versions!=null&&process.versions.node!=null;return typeof EdgeRuntime=="string"||s};t._isServerEnv=a;const c=(s,u)=>{const l=(0,t._getWindowSafe)();typeof(l==null?void 0:l.addEventListener)=="function"&&l.addEventListener(s,u)};t._addWindowEventListenerSafe=c;const n=(s,u)=>{const l=(0,t._getDocumentSafe)();typeof(l==null?void 0:l.addEventListener)=="function"&&l.addEventListener(s,u)};t._addDocumentEventListenerSafe=n;const i=()=>{var s;try{return(s=(0,t._getWindowSafe)())===null||s===void 0?void 0:s.location.href.split(/[?#]/)[0]}catch(u){return}};t._getCurrentPageUrlSafe=i;const r=()=>{const s=(0,t._getWindowSafe)();return s&&"onpagehide"in s?"pagehide":"beforeunload"};t._getUnloadEvent=r},9275:(y,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigSession=t.SessionID=void 0;const o=e(2858),a=e(5839),c=e(3385),n=e(4771),i=e(7923),r=30*60*1e3,s=4*60*60*1e3,u={};t.SessionID={get:R=>t.StatsigSession.get(R).data.sessionID},t.StatsigSession={get:R=>{u[R]==null&&(u[R]=l(R));const w=u[R];return d(w)},overrideInitialSessionID:(R,w)=>{u[w]=v(R,w)}};function l(R){let w=x(R);const j=Date.now();return w||(w={sessionID:(0,i.getUUID)(),startTime:j,lastUpdate:j}),{data:w,sdkKey:R}}function v(R,w){const j=Date.now();return{data:{sessionID:R,startTime:j,lastUpdate:j},sdkKey:w}}function d(R){const w=Date.now(),j=R.data,A=R.sdkKey;if(g(j)||h(j)){j.sessionID=(0,i.getUUID)(),j.startTime=w;const I=__STATSIG__==null?void 0:__STATSIG__.instance(A);I&&I.$emt({name:"session_expired"})}j.lastUpdate=w,b(j,R.sdkKey),clearTimeout(R.idleTimeoutID),clearTimeout(R.ageTimeoutID);const E=w-j.startTime;return R.idleTimeoutID=f(A,r),R.ageTimeoutID=f(A,s-E),R}function f(R,w){return setTimeout(()=>{var j;const A=(j=(0,o._getStatsigGlobal)())===null||j===void 0?void 0:j.instance(R);A&&A.$emt({name:"session_expired"})},w)}function g({lastUpdate:R}){return Date.now()-R>r}function h({startTime:R}){return Date.now()-R>s}function m(R){return`statsig.session_id.${(0,a._getStorageKey)(R)}`}function b(R,w){const j=m(w);try{(0,n._setObjectInStorage)(j,R)}catch(A){c.Log.warn("Failed to save SessionID")}}function x(R){const w=m(R);return(0,n._getObjectFromStorage)(w)}},5368:(y,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._fastApproxSizeOf=void 0;const e=2,o=1,a=(c,n)=>{let i=0;const r=Object.keys(c);for(let s=0;s<r.length;s++){const u=r[s],l=c[u];if(i+=u.length,typeof l=="object"&&l!==null?i+=(0,t._fastApproxSizeOf)(l,n)+e:i+=String(l).length+o,i>=n)return i}return i};t._fastApproxSizeOf=a},3053:(y,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StableID=void 0;const o=e(5839),a=e(3385),c=e(8922),n=e(4771),i=e(7923),r={},s={},u={};t.StableID={cookiesEnabled:!1,randomID:Math.random().toString(36),get:m=>{if(u[m])return null;if(r[m]!=null)return r[m];let b=null;return b=f(m),b!=null?(r[m]=b,v(b,m),b):(b=d(m),b==null&&(b=(0,i.getUUID)()),v(b,m),g(b,m),r[m]=b,b)},setOverride:(m,b)=>{r[b]=m,v(m,b),g(m,b)}
34,_setCookiesEnabled:(m,b)=>{s[m]=b},_setDisabled:(m,b)=>{u[m]=b}};function l(m){return`statsig.stable_id.${(0,o._getStorageKey)(m)}`}function v(m,b){const x=l(b);try{(0,n._setObjectInStorage)(x,m)}catch(R){a.Log.warn("Failed to save StableID to storage")}}function d(m){const b=l(m);return(0,n._getObjectFromStorage)(b)}function f(m){if(!s[m]||(0,c._getDocumentSafe)()==null)return null;const b=document.cookie.split(";");for(const x of b){const[R,w]=x.trim().split("=");if(R===h(m))return decodeURIComponent(w)}return null}function g(m,b){if(!s[b]||!document)return;const x=new Date;x.setFullYear(x.getFullYear()+1),document.cookie=`${h(b)}=${encodeURIComponent(m)}; expires=${x.toUTCString()}; path=/`}function h(m){return`statsig.stable_id.${(0,o._getStorageKey)(m)}`}},4493:function(y,t,e){"use strict";var o=this&&this.__awaiter||function(m,b,x,R){function w(j){return j instanceof x?j:new x(function(A){A(j)})}return new(x||(x=Promise))(function(j,A){function E(Z){try{z(R.next(Z))}catch(P){A(P)}}function I(Z){try{z(R.throw(Z))}catch(P){A(P)}}function z(Z){Z.done?j(Z.value):w(Z.value).then(E,I)}z((R=R.apply(m,b||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigClientBase=void 0,e(2858);const a=e(2858),c=e(9585),n=e(6838),i=e(3385),r=e(8424),s=e(8922),u=e(9275),l=e(3053),v=e(1497),d=e(4771),f=3e3;class g{constructor(b,x,R,w){var j,A,E,I;this.loadingStatus="Uninitialized",this._initializePromise=null,this._listeners={};const z=this.$emt.bind(this);(w==null?void 0:w.logLevel)!=null&&(i.Log.level=w.logLevel),w!=null&&w.disableStorage&&d.Storage._setDisabled(!0),w!=null&&w.initialSessionID&&u.StatsigSession.overrideInitialSessionID(w.initialSessionID,b),w!=null&&w.storageProvider&&d.Storage._setProvider(w.storageProvider),w!=null&&w.enableCookies&&l.StableID._setCookiesEnabled(b,w.enableCookies),w!=null&&w.disableStableID&&l.StableID._setDisabled(b,!0),this._sdkKey=b,this._options=w!=null?w:{},this._memoCache={},this.overrideAdapter=(j=w==null?void 0:w.overrideAdapter)!==null&&j!==void 0?j:null,this._logger=new n.EventLogger(b,z,R,w),this._errorBoundary=new c.ErrorBoundary(b,w,z),this._errorBoundary.wrap(this),this._errorBoundary.wrap(x),this._errorBoundary.wrap(this._logger),R.setErrorBoundary(this._errorBoundary),this.dataAdapter=x,this.dataAdapter.attach(b,w,R),this.storageProvider=d.Storage,(I=(E=(A=this.overrideAdapter)===null||A===void 0?void 0:A.loadFromStorage)===null||E===void 0?void 0:E.call(A))===null||I===void 0||I.catch(Z=>this._errorBoundary.logError("OA::loadFromStorage",Z)),this._primeReadyRipcord(),h(b,this)}updateRuntimeOptions(b){b.loggingEnabled?(this._options.loggingEnabled=b.loggingEnabled,this._logger.setLoggingEnabled(b.loggingEnabled)):b.disableLogging!=null&&(this._options.disableLogging=b.disableLogging,this._logger.setLoggingEnabled(b.disableLogging?"disabled":"browser-only")),b.disableStorage!=null&&(this._options.disableStorage=b.disableStorage,d.Storage._setDisabled(b.disableStorage)),b.enableCookies!=null&&(this._options.enableCookies=b.enableCookies,l.StableID._setCookiesEnabled(this._sdkKey,b.enableCookies)),b.logEventCompressionMode?this._logger.setLogEventCompressionMode(b.logEventCompressionMode):b.disableCompression&&this._logger.setLogEventCompressionMode(v.LogEventCompressionMode.Disabled)}flush(){return this._logger.flush()}shutdown(){return o(this,void 0,void 0,function*(){this.$emt({name:"pre_shutdown"}),this._setStatus("Uninitialized",null),this._initializePromise=null,yield this._logger.stop()})}on(b,x){this._listeners[b]||(this._listeners[b]=[]),this._listeners[b].push(x)}off(b,x){if(this._listeners[b]){const R=this._listeners[b].indexOf(x);R!==-1&&this._listeners[b].splice(R,1)}}$on(b,x){x.__isInternal=!0,this.on(b,x)}$emt(b){var x;const R=w=>{try{w(b)}catch(j){if(w.__isInternal===!0){this._errorBoundary.logError(`__emit:${b.name}`,j);return}i.Log.error("An error occurred in a StatsigClientEvent listener. This is not an issue with Statsig.",b)}};this._listeners[b.name]&&this._listeners[b.name].forEach(w=>R(w)),(x=this._listeners["*"])===null||x===void 0||x.forEach(R)}_setStatus(b,x){this.loadingStatus=b,this._memoCache={},this.$emt({name:"values_updated",status:b,values:x})}_enqueueExposure(b,x,R){if((R==null?void 0:R.disableExposureLog)===!0){this._logger.incrementNonExposureCount(b);return}this._logger.enqueue(x)}_memoize(b,x){return(R,w)=>{if(this._options.disableEvaluationMemoization)return x(R,w);const j=(0,r.createMemoKey)(b,R,w);
34return j?(j in this._memoCache||(Object.keys(this._memoCache).length>=f&&(this._memoCache={}),this._memoCache[j]=x(R,w)),this._memoCache[j]):x(R,w)}}}t.StatsigClientBase=g;function h(m,b){var x;if((0,s._isServerEnv)())return;const R=(0,a._getStatsigGlobal)(),w=(x=R.instances)!==null&&x!==void 0?x:{},j=b;w[m]!=null&&i.Log.warn("Creating multiple Statsig clients with the same SDK key can lead to unexpected behavior. Multi-instance support requires different SDK keys."),w[m]=j,R.firstInstance||(R.firstInstance=j),R.instances=w,__STATSIG__=R}},1676:(y,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorTag=void 0,t.ErrorTag={NetworkError:"NetworkError"}},8032:(y,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataAdapterCachePrefix=void 0,t.DataAdapterCachePrefix="statsig.cached"},5099:(y,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._createLayerParameterExposure=t._createConfigExposure=t._mapExposures=t._createGateExposure=t._isExposureEvent=void 0;const e="statsig::config_exposure",o="statsig::gate_exposure",a="statsig::layer_exposure",c=(v,d,f,g,h)=>(f.bootstrapMetadata&&(g.bootstrapMetadata=f.bootstrapMetadata),{eventName:v,user:d,value:null,metadata:l(f,g),secondaryExposures:h,time:Date.now()}),n=({eventName:v})=>v===o||v===e||v===a;t._isExposureEvent=n;const i=(v,d,f)=>{var g,h,m;const b={gate:d.name,gateValue:String(d.value),ruleID:d.ruleID};return((g=d.__evaluation)===null||g===void 0?void 0:g.version)!=null&&(b.configVersion=d.__evaluation.version),c(o,v,d.details,b,r((m=(h=d.__evaluation)===null||h===void 0?void 0:h.secondary_exposures)!==null&&m!==void 0?m:[],f))};t._createGateExposure=i;function r(v,d){return v.map(f=>typeof f=="string"?(d!=null?d:{})[f]:f).filter(f=>f!=null)}t._mapExposures=r;const s=(v,d,f)=>{var g,h,m,b;const x={config:d.name,ruleID:d.ruleID};return((g=d.__evaluation)===null||g===void 0?void 0:g.version)!=null&&(x.configVersion=d.__evaluation.version),((h=d.__evaluation)===null||h===void 0?void 0:h.passed)!=null&&(x.rulePassed=String(d.__evaluation.passed)),c(e,v,d.details,x,r((b=(m=d.__evaluation)===null||m===void 0?void 0:m.secondary_exposures)!==null&&b!==void 0?b:[],f))};t._createConfigExposure=s;const u=(v,d,f,g)=>{var h,m,b,x,R,w,j;const A=d.__evaluation,E=((h=A==null?void 0:A.explicit_parameters)===null||h===void 0?void 0:h.includes(f))===!0;let I="",z=(m=A==null?void 0:A.undelegated_secondary_exposures)!==null&&m!==void 0?m:[];E&&(I=(b=A.allocated_experiment_name)!==null&&b!==void 0?b:"",z=(x=A.secondary_exposures)!==null&&x!==void 0?x:[]);const Z=(R=d.__evaluation)===null||R===void 0?void 0:R.parameter_rule_ids,P={config:d.name,parameterName:f,ruleID:(w=Z==null?void 0:Z[f])!==null&&w!==void 0?w:d.ruleID,allocatedExperiment:I,isExplicitParameter:String(E)};return((j=d.__evaluation)===null||j===void 0?void 0:j.version)!=null&&(P.configVersion=d.__evaluation.version),c(a,v,d.details,P,r(z,g))};t._createLayerParameterExposure=u;const l=(v,d)=>(d.reason=v.reason,v.lcut&&(d.lcut=String(v.lcut)),v.receivedAt&&(d.receivedAt=String(v.receivedAt)),d)},2281:(y,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigMetadataProvider=t.SDK_VERSION=void 0,t.SDK_VERSION="3.20.2";let e={sdkVersion:t.SDK_VERSION,sdkType:"js-mono"};t.StatsigMetadataProvider={get:()=>e,add:o=>{e=Object.assign(Object.assign({},e),o)}}},1497:(y,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoggingEnabledOption=t.LogEventCompressionMode=void 0,t.LogEventCompressionMode={Disabled:"d",Enabled:"e",Forced:"f"},t.LoggingEnabledOption={disabled:"disabled",browserOnly:"browser-only",always:"always"}},2097:(y,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9073:(y,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._makeTypedGet=t._mergeOverride=t._makeLayer=t._makeExperiment=t._makeDynamicConfig=t._makeFeatureGate=void 0;const o=e(3385),a=e(1569);function c(v,d,f,g){var h;return{name:v,details:d,ruleID:(h=f==null?void 0:f.rule_id)!==null&&h!==void 0?h:"",__evaluation:f,value:g}}function n(v,d,f){var g;return Object.assign(Object.assign({},c(v,d,f,(f==null?void 0:f.value)===!0)),{idType:(g=f==null?void 0:f.id_type)!==null&&g!==void 0?g:null})}t._makeFeatureGate=n;function i(v,d,f){var g;const h=(g=f==null?void 0:f.value)!==null&&g!==void 0?g:{};return Object.assign(Object.assign({},c(v,d,f,h)),{get:l(v,f==null?void 0:f.value)})}t._makeDynamicConfig=i;function r(v,d,f){var g;const h=i(v,d,f);return Object.assign(Object.assign({},h),{groupName:(g=f==null?void 0:f.group_name)!==null&&g!==void 0?g:null})}t._makeExperiment=r;function s(v,d,f,g){var h,m;return Object.assign(Object.assign({},c(v,d,f,void 0)),{get:l(v,f==null?void 0:f.value,g),groupName:(h=f==null?void 0:f.group_name)!==null&&h!==void 0?h:null,__value:(m=f==null?void 0:f.value)!==null&&m!==void 0?m:{}})}t._makeLayer=s;function u(v,d,f,g){return Object.assign(Object.assign(Object.assign({},v),d),{get:l(v.name,f,g)})}t._mergeOverride=u;function l(v,d,f){return(g,h)=>{var m;const b=(m=d==null?void 0:d[g])!==null&&m!==void 0?m:null;return b==null?h!=null?h:null:h!=null&&!(0,a._isTypeMatch)(b,h)?(o.Log.warn(`Parameter type mismatch. '${v}.${g}' was found to be type '${typeof b}' but fallback/return type is '${typeof h}'. See https://docs.statsig.com/client/javascript-sdk/#typed-getters`),h!=null?h:null):(f==null||f(g),b)}}t._makeTypedGet=l},3920:(y,t)=>{"use strict";
34Object.defineProperty(t,"__esModule",{value:!0})},1567:(y,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UPDATE_DETAIL_ERROR_MESSAGES=t.createUpdateDetails=void 0;const e=(o,a,c,n,i,r)=>({duration:c,source:a,success:o,error:n,sourceUrl:i,warnings:r});t.createUpdateDetails=e,t.UPDATE_DETAIL_ERROR_MESSAGES={NO_NETWORK_DATA:"No data was returned from the network. This may be due to a network timeout if a timeout value was specified in the options or ad blocker error."}},2876:(y,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getFullUserHash=t._normalizeUser=void 0;const o=e(2817),a=e(3385);function c(i,r,s){try{const u=JSON.parse(JSON.stringify(i));return r!=null&&r.environment!=null?u.statsigEnvironment=r.environment:s!=null&&(u.statsigEnvironment={tier:s}),u}catch(u){return a.Log.error("Failed to JSON.stringify user"),{statsigEnvironment:void 0}}}t._normalizeUser=c;function n(i){return i?(0,o._DJB2Object)(i):null}t._getFullUserHash=n},4771:(y,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._setObjectInStorage=t._getObjectFromStorage=t.Storage=void 0;const o=e(3385),a=e(8922),c={},n={isReady:()=>!0,isReadyResolver:()=>null,getProviderName:()=>"InMemory",getItem:d=>c[d]?c[d]:null,setItem:(d,f)=>{c[d]=f},removeItem:d=>{delete c[d]},getAllKeys:()=>Object.keys(c)};let i=null;try{const d=(0,a._getWindowSafe)();d&&d.localStorage&&typeof d.localStorage.getItem=="function"&&(i={isReady:()=>!0,isReadyResolver:()=>null,getProviderName:()=>"LocalStorage",getItem:f=>d.localStorage.getItem(f),setItem:(f,g)=>d.localStorage.setItem(f,g),removeItem:f=>d.localStorage.removeItem(f),getAllKeys:()=>Object.keys(d.localStorage)})}catch(d){o.Log.warn("Failed to setup localStorageProvider.")}let r=i!=null?i:n,s=r;function u(d){try{return d()}catch(f){if(f instanceof Error&&f.name==="SecurityError")return t.Storage._setProvider(n),null;if(f instanceof Error&&f.name==="QuotaExceededError"){const h=t.Storage.getAllKeys().filter(m=>m.startsWith("statsig."));f.message=`${f.message}. Statsig Keys: ${h.length}`}throw f}}t.Storage={isReady:()=>s.isReady(),isReadyResolver:()=>s.isReadyResolver(),getProviderName:()=>s.getProviderName(),getItem:d=>u(()=>s.getItem(d)),setItem:(d,f)=>u(()=>s.setItem(d,f)),removeItem:d=>s.removeItem(d),getAllKeys:()=>s.getAllKeys(),_setProvider:d=>{r=d,s=d},_setDisabled:d=>{d?s=n:s=r}};function l(d){const f=t.Storage.getItem(d);return JSON.parse(f!=null?f:"null")}t._getObjectFromStorage=l;function v(d,f){t.Storage.setItem(d,JSON.stringify(f))}t._setObjectInStorage=v},1156:(y,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._typedJsonParse=void 0;const o=e(3385);function a(c,n,i){try{const r=JSON.parse(c);if(r&&typeof r=="object"&&n in r)return r}catch(r){}return o.Log.error(`Failed to parse ${i}`),null}t._typedJsonParse=a},1569:(y,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._isTypeMatch=t._typeOf=void 0;function e(a){return Array.isArray(a)?"array":typeof a}t._typeOf=e;function o(a,c){const n=i=>Array.isArray(i)?"array":i===null?"null":typeof i;return n(a)===n(c)}t._isTypeMatch=o},7923:(y,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUUID=void 0;function e(){if(typeof crypto!="undefined"&&typeof crypto.randomUUID=="function")return crypto.randomUUID();let o=new Date().getTime(),a=typeof performance!="undefined"&&performance.now&&performance.now()*1e3||0;return`xxxxxxxx-xxxx-4xxx-${"89ab"[Math.floor(Math.random()*4)]}xxx-xxxxxxxxxxxx`.replace(/[xy]/g,n=>{let i=Math.random()*16;return o>0?(i=(o+i)%16|0,o=Math.floor(o/16)):(i=(a+i)%16|0,a=Math.floor(a/16)),(n==="x"?i:i&7|8).toString(16)})}t.getUUID=e},2174:(y,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UrlConfiguration=void 0;const o=e(2817),a=e(4957),c={[a.Endpoint._initialize]:"i",[a.Endpoint._rgstr]:"e",[a.Endpoint._download_config_specs]:"d"};class n{constructor(r,s,u,l){this.customUrl=null,this.fallbackUrls=null,this.endpoint=r,this.endpointDnsKey=c[r],s&&(this.customUrl=s),!s&&u&&(this.customUrl=u.endsWith("/")?`${u}${r}`:`${u}/${r}`),l&&(this.fallbackUrls=l);const v=a.NetworkDefault[r];this.defaultUrl=`${v}/${r}`}getUrl(){var r;return(r=this.customUrl)!==null&&r!==void 0?r:this.defaultUrl}getChecksum(){var r;const s=((r=this.fallbackUrls)!==null&&r!==void 0?r:[]).sort().join(",");return(0,o._DJB2)(this.customUrl+s)}}t.UrlConfiguration=n},8287:(y,t,e)=>{"use strict";
34Object.defineProperty(t,"__esModule",{value:!0}),t._notifyVisibilityChanged=t._subscribeToVisiblityChanged=t._isUnloading=t._isCurrentlyVisible=void 0;const o=e(8922),a="foreground",c="background",n=[];let i=a,r=!1;const s=()=>i===a;t._isCurrentlyVisible=s;const u=()=>r;t._isUnloading=u;const l=d=>{n.unshift(d)};t._subscribeToVisiblityChanged=l;const v=d=>{d!==i&&(i=d,n.forEach(f=>f(d)))};t._notifyVisibilityChanged=v,(0,o._addWindowEventListenerSafe)("focus",()=>{r=!1,(0,t._notifyVisibilityChanged)(a)}),(0,o._addWindowEventListenerSafe)("blur",()=>(0,t._notifyVisibilityChanged)(c)),(0,o._addDocumentEventListenerSafe)("visibilitychange",()=>{(0,t._notifyVisibilityChanged)(document.visibilityState==="visible"?a:c)}),(0,o._addWindowEventListenerSafe)((0,o._getUnloadEvent)(),()=>{r=!0,(0,t._notifyVisibilityChanged)(c)})},3191:function(y,t,e){"use strict";var o=this&&this.__createBinding||(Object.create?function(l,v,d,f){f===void 0&&(f=d);var g=Object.getOwnPropertyDescriptor(v,d);(!g||("get"in g?!v.__esModule:g.writable||g.configurable))&&(g={enumerable:!0,get:function(){return v[d]}}),Object.defineProperty(l,f,g)}:function(l,v,d,f){f===void 0&&(f=d),l[f]=v[d]}),a=this&&this.__exportStar||function(l,v){for(var d in l)d!=="default"&&!Object.prototype.hasOwnProperty.call(v,d)&&o(v,l,d)};Object.defineProperty(t,"__esModule",{value:!0}),t.Storage=t.Log=t.EventLogger=t.Diagnostics=void 0,e(2858);const c=e(2858),n=e(8557);Object.defineProperty(t,"Diagnostics",{enumerable:!0,get:function(){return n.Diagnostics}});const i=e(6838);Object.defineProperty(t,"EventLogger",{enumerable:!0,get:function(){return i.EventLogger}});const r=e(3385);Object.defineProperty(t,"Log",{enumerable:!0,get:function(){return r.Log}});const s=e(2281),u=e(4771);Object.defineProperty(t,"Storage",{enumerable:!0,get:function(){return u.Storage}}),a(e(2858),t),a(e(5839),t),a(e(3889),t),a(e(5443),t),a(e(8557),t),a(e(1388),t),a(e(9585),t),a(e(8611),t),a(e(7903),t),a(e(2817),t),a(e(4142),t),a(e(3385),t),a(e(8424),t),a(e(4957),t),a(e(7134),t),a(e(7566),t),a(e(2108),t),a(e(8922),t),a(e(6131),t),a(e(9275),t),a(e(5368),t),a(e(3053),t),a(e(4493),t),a(e(1676),t),a(e(8032),t),a(e(5099),t),a(e(2281),t),a(e(1497),t),a(e(2097),t),a(e(9073),t),a(e(3920),t),a(e(2876),t),a(e(4771),t),a(e(1156),t),a(e(1569),t),a(e(2174),t),a(e(7923),t),a(e(8287),t),a(e(1567),t),a(e(8768),t),Object.assign((0,c._getStatsigGlobal)(),{Log:r.Log,SDK_VERSION:s.SDK_VERSION})},3054:(y,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._resolveDeltasResponse=void 0;const o=e(3191),a=2;function c(s,u){const l=(0,o._typedJsonParse)(u,"checksum","DeltasEvaluationResponse");if(!l)return{hadBadDeltaChecksum:!0};const v=n(s,l),d=i(v),f=(0,o._DJB2Object)({feature_gates:d.feature_gates,dynamic_configs:d.dynamic_configs,layer_configs:d.layer_configs},a);return f===l.checksumV2?JSON.stringify(d):{hadBadDeltaChecksum:!0,badChecksum:f,badMergedConfigs:d,badFullResponse:l.deltas_full_response}}t._resolveDeltasResponse=c;function n(s,u){return Object.assign(Object.assign(Object.assign({},s),u),{feature_gates:Object.assign(Object.assign({},s.feature_gates),u.feature_gates),layer_configs:Object.assign(Object.assign({},s.layer_configs),u.layer_configs),dynamic_configs:Object.assign(Object.assign({},s.dynamic_configs),u.dynamic_configs)})}function i(s){const u=s;return r(s.deleted_gates,u.feature_gates),delete u.deleted_gates,r(s.deleted_configs,u.dynamic_configs),delete u.deleted_configs,r(s.deleted_layers,u.layer_configs),delete u.deleted_layers,u}function r(s,u){s==null||s.forEach(l=>{delete u[l]})}},762:(y,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=e(3191);class a{constructor(n){this._sdkKey=n,this._rawValues=null,this._values=null,this._source="Uninitialized",this._lcut=0,this._receivedAt=0,this._bootstrapMetadata=null,this._warnings=new Set}reset(){this._values=null,this._rawValues=null,this._source="Loading",this._lcut=0,this._receivedAt=0,this._bootstrapMetadata=null}finalize(){this._values||(this._source="NoValues")}getValues(){return this._rawValues?(0,o._typedJsonParse)(this._rawValues,"has_updates","EvaluationStoreValues"):null}setValues(n,i){var r;if(!n)return!1;const s=(0,o._typedJsonParse)(n.data,"has_updates","EvaluationResponse");return s==null?!1:(this._source=n.source,(s==null?void 0:s.has_updates)!==!0||(this._rawValues=n.data,this._lcut=s.time,this._receivedAt=n.receivedAt,this._values=s,this._bootstrapMetadata=this._extractBootstrapMetadata(n.source,s),n.source&&s.user&&this._setWarningState(i,s),o.SDKFlags.setFlags(this._sdkKey,(r=s.sdk_flags)!==null&&r!==void 0?r:{})),!0)}getWarnings(){if(this._warnings.size!==0)return Array.from(this._warnings)}getGate(n){var i;return this._getDetailedStoreResult((i=this._values)===null||i===void 0?void 0:i.feature_gates,n)}getConfig(n){var i;return this._getDetailedStoreResult((i=this._values)===null||i===void 0?void 0:i.dynamic_configs,n)}getConfigList(){var n;return!((n=this._values)===null||n===void 0)&&n.dynamic_configs?Object.values(this._values.dynamic_configs).map(i=>i.name):[]}getLayer(n){var i;return this._getDetailedStoreResult((i=this._values)===null||i===void 0?void 0:i.layer_configs,n)}getParamStore(n){var i;return this._getDetailedStoreResult((i=this._values)===null||i===void 0?void 0:i.param_stores,n)}getSource(){return this._source}getExposureMapping(){var n;return(n=this._values)===null||n===void 0?void 0:n.exposures}
34_extractBootstrapMetadata(n,i){if(n!=="Bootstrap")return null;const r={};return i.user&&(r.user=i.user),i.sdkInfo&&(r.generatorSDKInfo=i.sdkInfo),r.lcut=i.time,r}_getDetailedStoreResult(n,i){let r=null;return n&&(r=n[i]?n[i]:n[(0,o._DJB2)(i)]),{result:r,details:this._getDetails(r==null)}}_setWarningState(n,i){var r,s;const u=o.StableID.get(this._sdkKey);if(((r=n.customIDs)===null||r===void 0?void 0:r.stableID)!==u&&(!((s=n.customIDs)===null||s===void 0)&&s.stableID||u)){this._warnings.add("StableIDMismatch");return}if("user"in i){const l=i.user,v=Object.assign(Object.assign({},n),{analyticsOnlyMetadata:void 0});(0,o._getFullUserHash)(v)!==(0,o._getFullUserHash)(l)&&this._warnings.add("PartialUserMatch")}}getCurrentSourceDetails(){if(this._source==="Uninitialized"||this._source==="NoValues")return{reason:this._source};const n={reason:this._source,lcut:this._lcut,receivedAt:this._receivedAt};return this._warnings.size>0&&(n.warnings=Array.from(this._warnings)),n}_getDetails(n){var i,r;const s=this.getCurrentSourceDetails();let u=s.reason;const l=(i=s.warnings)!==null&&i!==void 0?i:[];this._source==="Bootstrap"&&l.length>0&&(u=u+l[0]),u!=="Uninitialized"&&u!=="NoValues"&&(u=`${u}:${n?"Unrecognized":"Recognized"}`);const v=this._source==="Bootstrap"&&(r=this._bootstrapMetadata)!==null&&r!==void 0?r:void 0;return v&&(s.bootstrapMetadata=v),Object.assign(Object.assign({},s),{reason:u})}}t.default=a},2523:function(y,t,e){"use strict";var o=this&&this.__awaiter||function(i,r,s,u){function l(v){return v instanceof s?v:new s(function(d){d(v)})}return new(s||(s=Promise))(function(v,d){function f(m){try{h(u.next(m))}catch(b){d(b)}}function g(m){try{h(u.throw(m))}catch(b){d(b)}}function h(m){m.done?v(m.value):l(m.value).then(f,g)}h((u=u.apply(i,r||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0});const a=e(3191),c=e(3054);class n extends a.NetworkCore{constructor(r,s){super(r,s);const u=r==null?void 0:r.networkConfig;this._option=r,this._initializeUrlConfig=new a.UrlConfiguration(a.Endpoint._initialize,u==null?void 0:u.initializeUrl,u==null?void 0:u.api,u==null?void 0:u.initializeFallbackUrls)}fetchEvaluations(r,s,u,l,v){return o(this,void 0,void 0,function*(){var d,f,g,h,m,b;const x=s?(0,a._typedJsonParse)(s,"has_updates","InitializeResponse"):null;let R={user:l,hash:(g=(f=(d=this._option)===null||d===void 0?void 0:d.networkConfig)===null||f===void 0?void 0:f.initializeHashAlgorithm)!==null&&g!==void 0?g:"djb2",deltasResponseRequested:!1,full_checksum:null};if(x!=null&&x.has_updates){const w=(x==null?void 0:x.hash_used)!==((b=(m=(h=this._option)===null||h===void 0?void 0:h.networkConfig)===null||m===void 0?void 0:m.initializeHashAlgorithm)!==null&&b!==void 0?b:"djb2");R=Object.assign(Object.assign({},R),{sinceTime:v&&!w?x.time:0,previousDerivedFields:"derived_fields"in x&&v?x.derived_fields:{},deltasResponseRequested:!0,full_checksum:x.full_checksum,partialUserMatchSinceTime:w?0:x.time})}return this._fetchEvaluations(r,x,R,u)})}_fetchEvaluations(r,s,u,l){return o(this,void 0,void 0,function*(){var v,d;const f=yield this.post({sdkKey:r,urlConfig:this._initializeUrlConfig,data:u,retries:2,isStatsigEncodable:!0,priority:l});if((f==null?void 0:f.code)===204)return'{"has_updates": false}';if((f==null?void 0:f.code)!==200)return(v=f==null?void 0:f.body)!==null&&v!==void 0?v:null;if((s==null?void 0:s.has_updates)!==!0||((d=f.body)===null||d===void 0?void 0:d.includes('"is_delta":true'))!==!0||u.deltasResponseRequested!==!0)return f.body;const g=(0,c._resolveDeltasResponse)(s,f.body);return typeof g=="string"?g:this._fetchEvaluations(r,s,Object.assign(Object.assign(Object.assign({},u),g),{deltasResponseRequested:!1}),l)})}}t.default=n},5240:(y,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._makeParamStoreGetter=void 0;const o=e(3191),a={disableExposureLog:!0};function c(d){return d==null||d.disableExposureLog===!1}function n(d,f){return f!=null&&!(0,o._isTypeMatch)(d,f)}function i(d,f){return d.value}function r(d,f,g){return d.getFeatureGate(f.gate_name,c(g)?void 0:a).value?f.pass_value:f.fail_value}function s(d,f,g,h){const b=d.getDynamicConfig(f.config_name,c(h)?void 0:a).get(f.param_name);return n(b,g)?g:b}function u(d,f,g,h){const b=d.getExperiment(f.experiment_name,c(h)?void 0:a).get(f.param_name);return n(b,g)?g:b}function l(d,f,g,h){const b=d.getLayer(f.layer_name,c(h)?void 0:a).get(f.param_name);return n(b,g)?g:b}
34function v(d,f,g){return(h,m)=>{if(f==null)return m;const b=f[h];if(b==null||m!=null&&(0,o._typeOf)(m)!==b.param_type)return m;switch(b.ref_type){case"static":return i(b,g);case"gate":return r(d,b,g);case"dynamic_config":return s(d,b,m,g);case"experiment":return u(d,b,m,g);case"layer":return l(d,b,m,g);default:return m}}}t._makeParamStoreGetter=v},462:function(y,t,e){"use strict";var o=this&&this.__awaiter||function(u,l,v,d){function f(g){return g instanceof v?g:new v(function(h){h(g)})}return new(v||(v=Promise))(function(g,h){function m(R){try{x(d.next(R))}catch(w){h(w)}}function b(R){try{x(d.throw(R))}catch(w){h(w)}}function x(R){R.done?g(R.value):f(R.value).then(m,b)}x((d=d.apply(u,l||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0});const a=e(3191),c=e(762),n=e(2523),i=e(5240),r=e(2284);class s extends a.StatsigClientBase{static instance(l){const v=(0,a._getStatsigGlobal)().instance(l);return v instanceof s?v:(a.Log.warn((0,a._isServerEnv)()?"StatsigClient.instance is not supported in server environments":"Unable to find StatsigClient instance"),new s(l!=null?l:"",{}))}constructor(l,v,d=null){var f,g;a.SDKType._setClientType(l,"javascript-client");const h=new n.default(d,b=>{this.$emt(b)});super(l,(f=d==null?void 0:d.dataAdapter)!==null&&f!==void 0?f:new r.StatsigEvaluationsDataAdapter,h,d),this._possibleFirstTouchMetadata={},this.getFeatureGate=this._memoize(a.MemoPrefix._gate,this._getFeatureGateImpl.bind(this)),this.getDynamicConfig=this._memoize(a.MemoPrefix._dynamicConfig,this._getDynamicConfigImpl.bind(this)),this.getExperiment=this._memoize(a.MemoPrefix._experiment,this._getExperimentImpl.bind(this)),this.getConfigList=this._memoize(a.MemoPrefix._configList,this._getConfigListImpl.bind(this)),this.getLayer=this._memoize(a.MemoPrefix._layer,this._getLayerImpl.bind(this)),this.getParameterStore=this._memoize(a.MemoPrefix._paramStore,this._getParameterStoreImpl.bind(this)),this._store=new c.default(l),this._network=h,this._user=this._configureUser(v,d),this._sdkInstanceID=(0,a.getUUID)();const m=(g=d==null?void 0:d.plugins)!==null&&g!==void 0?g:[];for(const b of m)b.bind(this)}initializeSync(l){var v;return this.loadingStatus!=="Uninitialized"?(0,a.createUpdateDetails)(!0,this._store.getSource(),-1,null,null,["MultipleInitializations",...(v=this._store.getWarnings())!==null&&v!==void 0?v:[]]):(this._logger.start(),this.updateUserSync(this._user,l))}initializeAsync(l){return o(this,void 0,void 0,function*(){return this._initializePromise?this._initializePromise:(this._initializePromise=this._initializeAsyncImpl(l),this._initializePromise)})}updateUserSync(l,v){const d=performance.now();try{return this._updateUserSyncImpl(l,v,d)}catch(f){const g=f instanceof Error?f:new Error(String(f));return this._createErrorUpdateDetails(g,d)}}_updateUserSyncImpl(l,v,d){var f;const g=[...(f=this._store.getWarnings())!==null&&f!==void 0?f:[]];this._resetForUser(l);const h=this.dataAdapter.getDataSync(this._user);h==null&&g.push("NoCachedValues"),this._store.setValues(h,this._user),this._finalizeUpdate(h);const m=v==null?void 0:v.disableBackgroundCacheRefresh;return m===!0||m==null&&(h==null?void 0:h.source)==="Bootstrap"?(0,a.createUpdateDetails)(!0,this._store.getSource(),performance.now()-d,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),g):(this._runPostUpdate(h!=null?h:null,this._user),(0,a.createUpdateDetails)(!0,this._store.getSource(),performance.now()-d,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),g))}updateUserAsync(l,v){return o(this,void 0,void 0,function*(){const d=performance.now();try{return yield this._updateUserAsyncImpl(l,v)}catch(f){const g=f instanceof Error?f:new Error(String(f));return this._createErrorUpdateDetails(g,d)}})}_updateUserAsyncImpl(l,v){return o(this,void 0,void 0,function*(){this._resetForUser(l);const d=this._user;a.Diagnostics._markInitOverallStart(this._sdkKey);let f=this.dataAdapter.getDataSync(d);if(this._store.setValues(f,this._user),this._setStatus("Loading",f),f=yield this.dataAdapter.getDataAsync(f,d,v),d!==this._user)return(0,a.createUpdateDetails)(!1,this._store.getSource(),-1,new Error("User changed during update"),this._network.getLastUsedInitUrlAndReset()
34);let g=!1;f!=null&&(a.Diagnostics._markInitProcessStart(this._sdkKey),g=this._store.setValues(f,this._user),a.Diagnostics._markInitProcessEnd(this._sdkKey,{success:g})),this._finalizeUpdate(f),g||(this._errorBoundary.attachErrorIfNoneExists(a.UPDATE_DETAIL_ERROR_MESSAGES.NO_NETWORK_DATA),this.$emt({name:"initialization_failure"})),a.Diagnostics._markInitOverallEnd(this._sdkKey,g,this._store.getCurrentSourceDetails());const h=a.Diagnostics._enqueueDiagnosticsEvent(this._user,this._logger,this._sdkKey,this._options);return(0,a.createUpdateDetails)(g,this._store.getSource(),h,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),this._store.getWarnings())})}getContext(){return{sdkKey:this._sdkKey,options:this._options,values:this._store.getValues(),user:JSON.parse(JSON.stringify(this._user)),errorBoundary:this._errorBoundary,session:a.StatsigSession.get(this._sdkKey),stableID:a.StableID.get(this._sdkKey),sdkInstanceID:this._sdkInstanceID}}checkGate(l,v){return this.getFeatureGate(l,v).value}logEvent(l,v,d){const f=typeof l=="string"?{eventName:l,value:v,metadata:d}:l;this.$emt({name:"log_event_called",event:f}),this._logger.enqueue(Object.assign(Object.assign({},f),{user:this._user,time:Date.now()}))}updateUserWithAnalyticsOnlyMetadata(l){this._user=this._configureUser(Object.assign(Object.assign({},this._user),{analyticsOnlyMetadata:l}),this._options)}_primeReadyRipcord(){this.$on("error",()=>{this.loadingStatus==="Loading"&&this._finalizeUpdate(null)})}_initializeAsyncImpl(l){return o(this,void 0,void 0,function*(){return a.Storage.isReady()||(yield a.Storage.isReadyResolver()),this._logger.start(),this.updateUserAsync(this._user,l)})}_createErrorUpdateDetails(l,v){var d;return(0,a.createUpdateDetails)(!1,this._store.getSource(),performance.now()-v,l,null,[...(d=this._store.getWarnings())!==null&&d!==void 0?d:[]])}_finalizeUpdate(l){this._store.finalize(),this._setStatus("Ready",l)}_runPostUpdate(l,v){this.dataAdapter.getDataAsync(l,v,{priority:"low"}).catch(d=>{a.Log.error("An error occurred after update.",d)})}_resetForUser(l){this._logger.reset(),this._store.reset(),this._user=this._configureUser(l,this._options)}_configureUser(l,v){var d;const f=(0,a._normalizeUser)(l,v),g=(d=f.customIDs)===null||d===void 0?void 0:d.stableID;return g&&a.StableID.setOverride(g,this._sdkKey),f.analyticsOnlyMetadata=Object.assign(Object.assign({},f.analyticsOnlyMetadata),this._possibleFirstTouchMetadata),f}_getFeatureGateImpl(l,v){var d,f;const{result:g,details:h}=this._store.getGate(l),m=(0,a._makeFeatureGate)(l,h,g),b=(f=(d=this.overrideAdapter)===null||d===void 0?void 0:d.getGateOverride)===null||f===void 0?void 0:f.call(d,m,this._user,v),x=b!=null?b:m;return this._enqueueExposure(l,(0,a._createGateExposure)(this._user,x,this._store.getExposureMapping()),v),this.$emt({name:"gate_evaluation",gate:x}),x}_getDynamicConfigImpl(l,v){var d,f;const{result:g,details:h}=this._store.getConfig(l),m=(0,a._makeDynamicConfig)(l,h,g),b=(f=(d=this.overrideAdapter)===null||d===void 0?void 0:d.getDynamicConfigOverride)===null||f===void 0?void 0:f.call(d,m,this._user,v),x=b!=null?b:m;return this._enqueueExposure(l,(0,a._createConfigExposure)(this._user,x,this._store.getExposureMapping()),v),this.$emt({name:"dynamic_config_evaluation",dynamicConfig:x}),x}_getExperimentImpl(l,v){var d,f,g,h;const{result:m,details:b}=this._store.getConfig(l),x=(0,a._makeExperiment)(l,b,m);x.__evaluation!=null&&(x.__evaluation.secondary_exposures=(0,a._mapExposures)((f=(d=x.__evaluation)===null||d===void 0?void 0:d.secondary_exposures)!==null&&f!==void 0?f:[],this._store.getExposureMapping()));const R=(h=(g=this.overrideAdapter)===null||g===void 0?void 0:g.getExperimentOverride)===null||h===void 0?void 0:h.call(g,x,this._user,v),w=R!=null?R:x;return this._enqueueExposure(l,(0,a._createConfigExposure)(this._user,w,this._store.getExposureMapping()),v),this.$emt({name:"experiment_evaluation",experiment:w}),w}_getConfigListImpl(){return this._store.getConfigList()}_getLayerImpl(l,v){var d,f,g;const{result:h,details:m}=this._store.getLayer(l),b=(0,a._makeLayer)(l,m,h),x=(f=(d=this.overrideAdapter)===null||d===void 0?void 0:d.getLayerOverride)===null||f===void 0?void 0:f.call(d,b,this._user,v);v!=null&&v.disableExposureLog&&this._logger.incrementNonExposureCount(l);const R=(0,a._mergeOverride)(b,x,(g=x==null?void 0:x.__value)!==null&&g!==void 0?g:b.__value,w=>{v!=null&&v.disableExposureLog||this._enqueueExposure(l,(0,a._createLayerParameterExposure)(this._user,R,w,this._store.getExposureMapping()),v)});return this.$emt({name:"layer_evaluation",layer:R}),R}_getParameterStoreImpl(l,v){var d,f;const{result:g,details:h}=this._store.getParamStore(l);this._logger.incrementNonExposureCount(l);const m={name:l,details:h,__configuration:g,get:(0,i._makeParamStoreGetter)(this,g,v)},b=(f=(d=this.overrideAdapter)===null||d===void 0?void 0:d.getParamStoreOverride)===null||f===void 0?void 0:f.call(d,m,v);return b!=null&&(m.__configuration=b.config,m.details=b.details,m.get=(0,i._makeParamStoreGetter)(this,b.config,v)),m}}t.default=s},2284:function(y,t,e){"use strict";var o=this&&this.__awaiter||function(i,r,s,u){function l(v){return v instanceof s?v:new s(function(d){d(v)})}
34return new(s||(s=Promise))(function(v,d){function f(m){try{h(u.next(m))}catch(b){d(b)}}function g(m){try{h(u.throw(m))}catch(b){d(b)}}function h(m){m.done?v(m.value):l(m.value).then(f,g)}h((u=u.apply(i,r||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigEvaluationsDataAdapter=void 0;const a=e(3191),c=e(2523);class n extends a.DataAdapterCore{constructor(){super("EvaluationsDataAdapter","evaluations"),this._network=null,this._options=null}attach(r,s,u){super.attach(r,s,u),u!==null&&u instanceof c.default?this._network=u:this._network=new c.default(s!=null?s:{})}getDataAsync(r,s,u){return this._getDataAsyncImpl(r,(0,a._normalizeUser)(s,this._options),u)}prefetchData(r,s){return this._prefetchDataImpl(r,s)}setData(r){const s=(0,a._typedJsonParse)(r,"has_updates","data");s&&"user"in s?super.setData(r,s.user):a.Log.error("StatsigUser not found. You may be using an older server SDK version. Please upgrade your SDK or use setDataLegacy.")}setDataLegacy(r,s){super.setData(r,s)}_fetchFromNetwork(r,s,u,l){return o(this,void 0,void 0,function*(){var v;const d=yield(v=this._network)===null||v===void 0?void 0:v.fetchEvaluations(this._getSdkKey(),r,u==null?void 0:u.priority,s,l);return d!=null?d:null})}_getCacheKey(r){var s;const u=(0,a._getStorageKey)(this._getSdkKey(),r,(s=this._options)===null||s===void 0?void 0:s.customUserCacheKeyFunc);return`${a.DataAdapterCachePrefix}.${this._cacheSuffix}.${u}`}_isCachedResultValidFor204(r,s){return r.fullUserHash!=null&&r.fullUserHash===(0,a._getFullUserHash)(s)}}t.StatsigEvaluationsDataAdapter=n},793:function(y,t,e){"use strict";var o=this&&this.__createBinding||(Object.create?function(r,s,u,l){l===void 0&&(l=u);var v=Object.getOwnPropertyDescriptor(s,u);(!v||("get"in v?!s.__esModule:v.writable||v.configurable))&&(v={enumerable:!0,get:function(){return s[u]}}),Object.defineProperty(r,l,v)}:function(r,s,u,l){l===void 0&&(l=u),r[l]=s[u]}),a=this&&this.__exportStar||function(r,s){for(var u in r)u!=="default"&&!Object.prototype.hasOwnProperty.call(s,u)&&o(s,r,u)};Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigClient=void 0;const c=e(3191),n=e(462);t.StatsigClient=n.default,a(e(3191),t);const i=Object.assign((0,c._getStatsigGlobal)(),{StatsigClient:n.default});t.default=i},660:(y,t,e)=>{"use strict";e.d(t,{Z:()=>c});var o=!0,a="Invariant failed";function c(n,i){if(!n){if(o)throw new Error(a);var r=typeof i=="function"?i():i,s=r?"".concat(a,": ").concat(r):a;throw new Error(s)}}},8104:(y,t,e)=>{"use strict";e.d(t,{Z:()=>o});function o(a,c){(c==null||c>a.length)&&(c=a.length);for(var n=0,i=Array(c);n<c;n++)i[n]=a[n];return i}},5119:(y,t,e)=>{"use strict";e.d(t,{Z:()=>o});function o(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}},5378:(y,t,e)=>{"use strict";e.d(t,{Z:()=>o});function o(a,c){if(!(a instanceof c))throw new TypeError("Cannot call a class as a function")}},564:(y,t,e)=>{"use strict";e.d(t,{Z:()=>c});var o=e(9840);function a(n,i){for(var r=0;r<i.length;r++){var s=i[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(n,(0,o.Z)(s.key),s)}}function c(n,i,r){return i&&a(n.prototype,i),r&&a(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}},3772:(y,t,e)=>{"use strict";e.d(t,{Z:()=>a});var o=e(9840);function a(c,n,i){return(n=(0,o.Z)(n))in c?Object.defineProperty(c,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):c[n]=i,c}},5904:(y,t,e)=>{"use strict";e.d(t,{Z:()=>o});function o(){return o=Object.assign?Object.assign.bind():function(a){for(var c=1;c<arguments.length;c++){var n=arguments[c];for(var i in n)({}).hasOwnProperty.call(n,i)&&(a[i]=n[i])}return a},o.apply(null,arguments)}},3075:(y,t,e)=>{"use strict";e.d(t,{Z:()=>c});var o=e(9589);function a(n,i){for(;!{}.hasOwnProperty.call(n,i)&&(n=(0,o.Z)(n))!==null;);return n}function c(){return c=typeof Reflect!="undefined"&&Reflect.get?Reflect.get.bind():function(n,i,r){var s=a(n,i);if(s){var u=Object.getOwnPropertyDescriptor(s,i);return u.get?u.get.call(arguments.length<3?n:r):u.value}},c.apply(null,arguments)}},9589:(y,t,e)=>{"use strict";e.d(t,{Z:()=>o});
34function o(a){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(c){return c.__proto__||Object.getPrototypeOf(c)},o(a)}},7101:(y,t,e)=>{"use strict";e.d(t,{Z:()=>a});var o=e(6693);function a(c,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");c.prototype=Object.create(n&&n.prototype,{constructor:{value:c,writable:!0,configurable:!0}}),Object.defineProperty(c,"prototype",{writable:!1}),n&&(0,o.Z)(c,n)}},6345:(y,t,e)=>{"use strict";e.d(t,{Z:()=>a});var o=e(6693);function a(c,n){c.prototype=Object.create(n.prototype),c.prototype.constructor=c,(0,o.Z)(c,n)}},9231:(y,t,e)=>{"use strict";e.d(t,{Z:()=>a});var o=e(9047);function a(c,n){if(c==null)return{};var i,r,s=(0,o.Z)(c,n);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(c);for(r=0;r<u.length;r++)i=u[r],n.indexOf(i)===-1&&{}.propertyIsEnumerable.call(c,i)&&(s[i]=c[i])}return s}},9047:(y,t,e)=>{"use strict";e.d(t,{Z:()=>o});function o(a,c){if(a==null)return{};var n={};for(var i in a)if({}.hasOwnProperty.call(a,i)){if(c.indexOf(i)!==-1)continue;n[i]=a[i]}return n}},674:(y,t,e)=>{"use strict";e.d(t,{Z:()=>c});var o=e(6872),a=e(5119);function c(n,i){if(i&&((0,o.Z)(i)=="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(0,a.Z)(n)}},6693:(y,t,e)=>{"use strict";e.d(t,{Z:()=>o});function o(a,c){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},o(a,c)}},220:(y,t,e)=>{"use strict";e.d(t,{Z:()=>i});function o(r){if(Array.isArray(r))return r}function a(r,s){var u=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(u!=null){var l,v,d,f,g=[],h=!0,m=!1;try{if(d=(u=u.call(r)).next,s===0){if(Object(u)!==u)return;h=!1}else for(;!(h=(l=d.call(u)).done)&&(g.push(l.value),g.length!==s);h=!0);}catch(b){m=!0,v=b}finally{try{if(!h&&u.return!=null&&(f=u.return(),Object(f)!==f))return}finally{if(m)throw v}}return g}}var c=e(4657);function n(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
35In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(r,s){return o(r)||a(r,s)||(0,c.Z)(r,s)||n()}},4978:(y,t,e)=>{"use strict";e.d(t,{Z:()=>r});var o=e(8104);function a(s){if(Array.isArray(s))return(0,o.Z)(s)}function c(s){if(typeof Symbol!="undefined"&&s[Symbol.iterator]!=null||s["@@iterator"]!=null)return Array.from(s)}var n=e(4657);function i(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
36In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function r(s){return a(s)||c(s)||(0,n.Z)(s)||i()}},9840:(y,t,e)=>{"use strict";e.d(t,{Z:()=>c});var o=e(6872);function a(n,i){if((0,o.Z)(n)!="object"||!n)return n;var r=n[Symbol.toPrimitive];if(r!==void 0){var s=r.call(n,i||"default");if((0,o.Z)(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(n)}function c(n){var i=a(n,"string");return(0,o.Z)(i)=="symbol"?i:i+""}},6872:(y,t,e)=>{"use strict";e.d(t,{Z:()=>o});function o(a){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},o(a)}},4657:(y,t,e)=>{"use strict";e.d(t,{Z:()=>a});var o=e(8104);function a(c,n){if(c){if(typeof c=="string")return(0,o.Z)(c,n);var i={}.toString.call(c).slice(8,-1);return i==="Object"&&c.constructor&&(i=c.constructor.name),i==="Map"||i==="Set"?Array.from(c):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?(0,o.Z)(c,n):void 0}}},5561:(y,t,e)=>{"use strict";e.d(t,{Z:()=>r});var o=e(9589),a=e(6693);function c(s){try{return Function.toString.call(s).indexOf("[native code]")!==-1}catch(u){return typeof s=="function"}}function n(){try{var s=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(u){}return(n=function(){return!!s})()}function i(s,u,l){if(n())return Reflect.construct.apply(null,arguments);var v=[null];v.push.apply(v,u);var d=new(s.bind.apply(s,v));return l&&(0,a.Z)(d,l.prototype),d}function r(s){var u=typeof Map=="function"?new Map:void 0;return r=function(v){if(v===null||!c(v))return v;if(typeof v!="function")throw new TypeError("Super expression must either be null or a function");if(u!==void 0){if(u.has(v))return u.get(v);u.set(v,d)}function d(){return i(v,arguments,(0,o.Z)(this).constructor)}return d.prototype=Object.create(v.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),(0,a.Z)(d,v)},r(s)}}}]);})();
37
38}catch(e){WRMCB(e)};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.