options.fireExperimentExposure
is false.\n * @param experimentName\n */\n static manuallyLogExperimentExposure(experimentName) {\n statsig_js_lite_1.default.manuallyLogExperimentExposure(experimentName);\n }\n static shutdownStatsig() {\n statsig_js_lite_1.default.shutdown();\n }\n /**\n * Adds a new override for the given gate.\n *\n * This method is additive, meaning you can call it multiple times with different gate names to build\n * your full set of overrides.\n *\n * Overrides are persisted to the `STATSIG_JS_LITE_LOCAL_OVERRIDES` key in localStorage, so they will\n * continue to affect every client that is initialized on the same domain after this method is called.\n * If you are using this API for testing purposes, you should call ${@link clearGateOverride} after\n * your tests are completed to remove this localStorage entry.\n *\n * @param {string} gateName\n * @param {boolean} value\n */\n static overrideGate(gateName, value) {\n statsig_js_lite_1.default.overrideGate(gateName, value);\n }\n /**\n * Removes any overrides that have been set for the given gate.\n * @param {string} gateName\n */\n static clearGateOverride(gateName) {\n statsig_js_lite_1.default.overrideGate(gateName, null);\n }\n /**\n * Adds a new override for the given config (or experiment).\n *\n * This method is additive, meaning you can call it multiple times with different experiment names to build\n * your full set of overrides.\n *\n * Overrides are persisted to the `STATSIG_JS_LITE_LOCAL_OVERRIDES` key in localStorage, so they will\n * continue to affect every client that is initialized on the same domain after this method is called.\n * If you are using this API for testing purposes, you should call ${@link clearConfigOverride} after\n * your tests are completed to remove this localStorage entry.\n *\n * @param {string} experimentName\n * @param {object} values\n */\n static overrideConfig(experimentName, values) {\n statsig_js_lite_1.default.overrideConfig(experimentName, values);\n }\n /**\n * Removes any overrides that have been set for the given experiment.\n * @param {string} experimentName\n */\n static clearConfigOverride(experimentName) {\n statsig_js_lite_1.default.overrideConfig(experimentName, null);\n }\n /**\n * Set overrides for gates, experiments and layers in batch.\n *\n * Note that these overrides are **not** additive and will completely replace any that have been added\n * via prior calls to {@link overrideConfig} or {@link overrideGate}.\n *\n * Overrides are persisted to the `STATSIG_JS_LITE_LOCAL_OVERRIDES` key in localStorage, so they will\n * continue to affect every client that is initialized on the same domain after this method is called.\n * If you are using this API for testing purposes, you should call ${@link clearAllOverrides} after\n * your tests are completed to remove this localStorage entry.\n *\n * @param {object} overrides\n */\n static setOverrides(overrides) {\n statsig_js_lite_1.default.setOverrides(Object.assign({ gates: {}, configs: {}, layers: {} }, overrides));\n }\n /**\n * Clears overrides for all gates, configs (including experiments) and layers.\n */\n static clearAllOverrides() {\n statsig_js_lite_1.default.setOverrides(null);\n }\n /**\n * Returns whether the given identifiers and customAttributes align with the current\n * set that is being used by the client.\n *\n * If this method returns false, then the {@link updateUser} or {@link updateUserWithValues}\n * methods can be used to re-align these values.\n *\n * @param identifiers\n * @param customAttributes\n * @returns a flag indicating whether the clients current configuration aligns with the given values\n */\n static isCurrentUser(identifiers, customAttributes) {\n return (FeatureGates.shallowEquals(FeatureGates.currentIdentifiers, identifiers) &&\n FeatureGates.shallowEquals(FeatureGates.currentAttributes, customAttributes));\n }\n /**\n * This method initializes the client using a network call to fetch the bootstrap values for the given user.\n *\n * @param clientOptions\n * @param identifiers\n * @param customAttributes\n * @private\n */\n static async init(clientOptions, identifiers, customAttributes) {\n const fromValuesClientOptions = Object.assign(Object.assign({}, clientOptions), { disableCurrentPageLogging: true });\n let experimentValues;\n let customAttributesFromResult;\n try {\n // If client sdk key fetch fails, an error would be thrown and handled instead of waiting for the experiment\n // values request to be settled, and it will fall back to use default values.\n const clientSdkKeyPromise = fetcher_1.default.fetchClientSdk(clientOptions).then((value) => (fromValuesClientOptions.sdkKey = value.clientSdkKey));\n const experimentValuesPromise = fetcher_1.default.fetchExperimentValues(clientOptions, identifiers, customAttributes);\n // Only wait for the experiment values request to finish and try to initialise the client with experiment\n // values if both requests are successful. Else an error would be thrown and handled by the catch\n const [, experimentValuesResult] = await Promise.all([\n clientSdkKeyPromise,\n experimentValuesPromise\n ]);\n experimentValues = experimentValuesResult.experimentValues;\n customAttributesFromResult =\n experimentValuesResult.customAttributes;\n }\n catch (error) {\n if (error instanceof Error) {\n console.error(`Error occurred when trying to fetch the Feature Gates client values, error: ${error === null || error === void 0 ? void 0 : error.message}`);\n }\n console.warn(`Initialising Statsig client without values`);\n await FeatureGates.initFromValues(fromValuesClientOptions, identifiers, customAttributes);\n throw error;\n }\n await this.initFromValues(fromValuesClientOptions, identifiers, customAttributesFromResult, experimentValues);\n }\n /**\n * This method initializes the client using a set of boostrap values obtained from one of the server-side SDKs.\n *\n * @param clientOptions\n * @param identifiers\n * @param customAttributes\n * @param initializeValues\n * @private\n */\n static async initFromValues(clientOptions, identifiers, customAttributes, initializeValues = {}) {\n const user = this.toStatsigUser(identifiers, customAttributes);\n FeatureGates.currentIdentifiers = identifiers;\n FeatureGates.currentAttributes = customAttributes;\n if (!clientOptions.sdkKey) {\n clientOptions.sdkKey = DEFAULT_CLIENT_KEY;\n }\n if (!clientOptions.eventLoggingApi) {\n clientOptions.eventLoggingApi = DEFAULT_EVENT_LOGGING_API;\n }\n const { sdkKey } = clientOptions;\n const statsigOptions = this.toStatsigOptions(clientOptions, initializeValues);\n try {\n await statsig_js_lite_1.default.initialize(sdkKey, user, statsigOptions);\n }\n catch (error) {\n if (error instanceof Error) {\n console.error(`Error occurred when trying to initialise the Statsig client, error: ${error === null || error === void 0 ? void 0 : error.message}`);\n }\n console.warn(`Initialising Statsig client with default sdk key and without values`);\n await statsig_js_lite_1.default.initialize(DEFAULT_CLIENT_KEY, user, Object.assign(Object.assign({}, statsigOptions), { initializeValues: {} }));\n throw error;\n }\n }\n /**\n * This method creates an instance of StatsigUser from the given set of identifiers and attributes.\n *\n * @param identifiers\n * @param customAttributes\n * @private\n */\n static toStatsigUser(identifiers, customAttributes) {\n const user = {\n customIDs: identifiers,\n custom: customAttributes\n };\n if (identifiers.atlassianAccountId) {\n user.userID = identifiers.atlassianAccountId;\n }\n return user;\n }\n /**\n * This method updates the user for this client with the bootstrap values returned from a given Promise.\n * It uses the customAttributes from fetching experiment values to update the Statsig user but\n * uses the customAttributes from given input to check if the user has changed.\n *\n * @param identifiers\n * @param customAttributes\n * @param initializeValuesPromise\n * @private\n */\n static async updateUserUsingInitializeValuesProducer(getInitializeValues, identifiers, customAttributes) {\n if (!FeatureGates.initPromise) {\n throw new Error('The FeatureGates client must be initialized before you can update the user.');\n }\n // If the user isn't changing at all, then exit immediately\n if (FeatureGates.isCurrentUser(identifiers, customAttributes)) {\n return FeatureGates.initPromise;\n }\n // Wait for the current initialize/update to finish\n const originalInitPromise = FeatureGates.initPromise;\n try {\n await FeatureGates.initPromise;\n }\n catch (err) {\n // Proceed with the user update even if the init failed, since this update\n // may put the client back into a valid state.\n }\n const initializeValuesPromise = getInitializeValues();\n const updateUserPromise = FeatureGates.updateStatsigClientUser(initializeValuesPromise, identifiers, customAttributes);\n // We replace the init promise here since we are essentially re-initializing the client at this point.\n // Any subsequent calls to await FeatureGates.initialize() or FeatureGates.updateUser() will now also await this user update.\n FeatureGates.initPromise = updateUserPromise.catch(() => {\n // If the update failed then it changed nothing, so revert back to the original promise.\n FeatureGates.initPromise = originalInitPromise;\n });\n return updateUserPromise;\n }\n /**\n * This method updates the user on the nested Statsig client\n *\n * @param identifiers\n * @param customAttributes\n * @param initializeValuesPromise\n * @private\n */\n static async updateStatsigClientUser(initializeValuesPromise, identifiers, customAttributes) {\n var _a, _b;\n let initializeValues, user;\n try {\n initializeValues = await initializeValuesPromise;\n user = FeatureGates.toStatsigUser(identifiers, initializeValues.customAttributesFromFetch);\n }\n catch (err) {\n // Make sure the updateUserCompletionCallback is called for any errors in our custom code.\n // This is not necessary for the updateUserWithValues call, because the Statsig client will already invoke the callback itself.\n const errMsg = err instanceof Error ? err.message : JSON.stringify(err);\n (_b = (_a = FeatureGates.initOptions).updateUserCompletionCallback) === null || _b === void 0 ? void 0 : _b.call(_a, false, errMsg);\n throw err;\n }\n const success = statsig_js_lite_1.default.updateUserWithValues(user, initializeValues.experimentValues);\n if (success) {\n FeatureGates.currentIdentifiers = identifiers;\n FeatureGates.currentAttributes = customAttributes;\n }\n else {\n throw new Error('Failed to update user. An unexpected error occured.');\n }\n }\n /**\n * This method transforms the options given by the user into the format accepted by the Statsig client.\n *\n * @param options\n * @private\n */\n static toStatsigOptions(options, initializeValues) {\n const { \n // De-structured to remove from restClientOptions\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n sdkKey, \n // De-structured to remove from restClientOptions\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n updateUserCompletionCallback } = options, restClientOptions = __rest(options, [\"sdkKey\", \"updateUserCompletionCallback\"]);\n return Object.assign(Object.assign(Object.assign({}, restClientOptions), { initializeValues, environment: {\n tier: options.environment\n }, disableCurrentPageLogging: true }), (options.updateUserCompletionCallback && {\n updateUserCompletionCallback: FeatureGates.toStatsigUpdateUserCompletionCallback(options.updateUserCompletionCallback)\n }));\n }\n /**\n * This method transforms an UpdateUserCompletionCallback in our own format into the format accepted by the Statsig client.\n *\n * @param callback\n * @private\n */\n static toStatsigUpdateUserCompletionCallback(callback) {\n /**\n * The duration passed to the callback indicates how long the update took, but it is deceptive since it only times the\n * Statsig code and doesn't account for all of the extra custom work we do to obtain the bootstrap values.\n * As a result, we just suppress this parameter in our own callback rather than trying to keep it accurate.\n */\n return (_duration, success, message) => {\n callback(success, message);\n };\n }\n static shallowEquals(objectA, objectB) {\n if (!objectA && !objectB) {\n return true;\n }\n if (!objectA || !objectB) {\n return false;\n }\n const aEntries = Object.entries(objectA);\n const bEntries = Object.entries(objectB);\n if (aEntries.length !== bEntries.length) {\n return false;\n }\n const ascendingKeyOrder = ([key1], [key2]) => key1.localeCompare(key2);\n aEntries.sort(ascendingKeyOrder);\n bEntries.sort(ascendingKeyOrder);\n for (let i = 0; i < aEntries.length; i++) {\n const [, aValue] = aEntries[i];\n const [, bValue] = bEntries[i];\n if (aValue !== bValue) {\n return false;\n }\n }\n return true;\n }\n}\nFeatureGates.initPromise = null;\nFeatureGates.initCompleted = false;\nFeatureGates.hasGetExperimentErrorOccurred = false;\nFeatureGates.hasGetExperimentValueErrorOccurred = false;\nFeatureGates.hasCheckGateErrorOccurred = false;\nexports.default = FeatureGates;\n// This makes it possible to get a reference to the FeatureGates client at runtime.\n// This is important for overriding values in Cyprus tests, as there needs to be a\n// way to get the exact instance for a window in order to mock some of its methods.\nif (typeof window !== 'undefined') {\n window.__FEATUREGATES_JS__ = FeatureGates;\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FeatureGateEnvironment = void 0;\nvar FeatureGateEnvironment;\n(function (FeatureGateEnvironment) {\n FeatureGateEnvironment[\"Development\"] = \"development\";\n FeatureGateEnvironment[\"Staging\"] = \"staging\";\n FeatureGateEnvironment[\"Production\"] = \"production\";\n})(FeatureGateEnvironment || (exports.FeatureGateEnvironment = FeatureGateEnvironment = {}));\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CLIENT_VERSION = void 0;\nexports.CLIENT_VERSION = \"4.7.1\";\n"],"names":["ContextTypes","getAtlaskitAnalyticsEventHandlers","getAtlaskitAnalyticsContext","noop","AnalyticsListener","Component","constructor","props","super","this","getAnalyticsEventHandlers","channel","onEvent","context","event","eventChannel","contextValue","render","children","value","ExportedAnalyticsListener","_ref","_process","_process$env","_process2","_process2$env","DEBUG_MODE","undefined","globalThis","process","env","JEST_WORKER_ID","NODE_ENV","PFF_GLOBAL_KEY","hasProcessEnv","ENABLE_GLOBAL_PLATFORM_FF_OVERRIDE","DEFAULT_PFF_GLOBAL","earlyResolvedFlags","Map","booleanResolver","flagKey","globalVar","window","getBooleanFF","name","args","console","debug","_globalVar$PFF_GLOBAL3","result","warn","e","resolveBooleanFlag","LevelContext","createContext","TopLevelContext","topLevelRef","current","setTopLevel","LevelProvider","currentLevel","useContext","useEffect","Provider","LayeringProvider","useRef","useMemo","level","UNSAFE_LAYERING","isNested","content","ESCAPE","useCloseOnEscapePress","onClose","isDisabled","escapePressed","isLayerDisabled","UNSAFE_useLayering","onKeyDown","useCallback","isDisabledLayer","key","onKeyUp","document","type","listener","capture","EMPTY_MODIFIERS","usePopper","referenceElement","popperElement","options","prevOptions","optionsWithDefaults","onFirstUpdate","placement","strategy","modifiers","_React$useState","styles","popper","position","left","top","arrow","attributes","state","setState","updateStateModifier","enabled","phase","fn","elements","Object","keys","map","element","requires","popperOptions","newOptions","concat","popperInstanceRef","setOptions","popperInstance","createPopper","destroy","update","forceUpdate","NOOP","NOOP_PROMISE","Promise","resolve","Popper","_ref$placement","_ref$strategy","_ref$modifiers","innerRef","referenceNode","Manager","setPopperElement","_React$useState2","arrowElement","setArrowElement","_usePopper","childrenProps","ref","style","hasPopperEscaped","modifiersData","hide","isReferenceHidden","arrowProps","constantModifiers","flipVariations","padding","boundary","rootBoundary","defaultChildrenFn","defaultOffset","offset","offsetX","offsetY","internalModifiers","mergedModifiers","cache","serialized","isStringTag","className","registered","hasOwnProperty","EmotionCacheContext","HTMLElement","func","forwardRef","typePropName","Insertion","inserted","insert","sheet","next","Emotion$1","cssProp","css","WrappedComponent","registeredStyles","classNames","rawClassName","split","forEach","push","newProps","call","jsx","arguments","argsLength","length","createElementArgArray","Array","createEmotionProps","i","_len","_key","createContainer","zIndex","container","createElement","getPortalParent","parentElement","querySelector","parent","display","body","appendChild","removePortalContainer","removeChild","appendPortalContainerIfNotAppended","InternalPortal","createPortal","useIsomorphicLayoutEffect","useLayoutEffect","zIndexToName","getLayerName","firePortalEvent","eventName","detail","layer","Number","CustomEvent","getEvent","dispatchEvent","Portal","mountStrategy","isSubsequentRender","setIsSubsequentRender","useState","useMountEffect","zIndexNumber","CHANNEL","DEFAULT_THEME_MODE","THEME_MODES","theme","includes","mode","themed","modesOrVariant","variantModes","variantProp","variants","modes","R300","Y300","G300","B100","B400","N0","N200","N800","DN600","DN300","DN50","RepositionOnUpdate","light","dark","isFirstRenderRef","Fragment","popupStyles","boxSizing","flex","backgroundColor","borderRadius","boxShadow","outline","popupOverflowStyles","overflow","DefaultPopupComponent","shouldRenderToParent","htmlAttributes","isOpen","id","testId","fallbackPlacements","shouldFlip","popupComponent","PopupContainer","autoFocus","triggerRef","shouldUseCaptureOnOutsideClick","popupRef","setPopupRef","initialFocusRef","setInitialFocusRef","trapConfig","clickOutsideDeactivates","escapeDeactivates","initialFocus","fallbackFocus","returnFocusOnDeactivate","focusTrap","frameId","requestAnimationFrame","activate","cancelAnimationFrame","deactivate","useFocusManager","closePopup","target","contains","isClickOnPopup","isClickOnTrigger","useCloseManager","node","tabIndex","Popup","memo","trigger","setTriggerRef","renderPopperWrapper","Reference","__assign","assign","t","s","n","p","prototype","apply","defineProperty","exports","bindAll","bind_1","toOptions","bindings","sharedOptions","unbinds","original","binding","getBinding","bind","unbind","_a","addEventListener","removeEventListener","enumerable","get","bind_all_1","tabbable","listeningFocusTrap","tryFocus","focus","activeElement","tagName","toLowerCase","select","module","userOptions","tabbableNodes","firstTabbableNode","lastTabbableNode","nodeFocusedBeforeActivation","active","paused","tabEvent","config","trap","activateOptions","defaultedActivateOptions","onActivate","addListeners","pause","removeListeners","unpause","deactivateOptions","defaultedDeactivateOptions","returnFocus","onDeactivate","setTimeout","updateTabbableNodes","getNodeForOption","Error","firstFocusNode","checkFocus","checkClick","checkPointerDown","checkKey","optionName","optionValue","preventDefault","stopImmediatePropagation","blur","shiftKey","readjustFocus","keyCode","hasAttribute","getAttribute","currentFocusIndex","indexOf","handleTab","isEscapeEvent","obj","prop","qs","sep","eq","regexp","maxKeys","len","kstr","vstr","k","v","x","replace","idx","substr","decodeURIComponent","isArray","stringifyPrimitive","isFinite","ks","encodeURIComponent","join","decode","parse","encode","stringify","hasElementType","Element","hasMap","hasSet","Set","hasArrayBuffer","ArrayBuffer","isView","equal","a","b","it","size","entries","done","has","RegExp","source","flags","valueOf","toString","$$typeof","error","message","match","ManagerReferenceNodeContext","ManagerReferenceNodeSetterContext","setReferenceNode","hasUnmounted","handleSetReferenceNode","refHandler","Boolean","unwrapArray","arg","safeInvoke","setRef","fromEntries","reduce","acc","generateUID","counter","WeakMap","uid","item","index","set","el","candidate","candidateIndexAttr","candidateIndex","elementDocument","ownerDocument","basicTabbables","orderedTabbables","isUnavailable","isOffCache","isOff","nodeComputedStyle","documentElement","defaultView","getComputedStyle","parentNode","computedStyle","visibility","createIsUnavailable","candidateSelectors","candidates","querySelectorAll","includeContainer","matches","msMatchesSelector","webkitMatchesSelector","some","candidateSelector","slice","unshift","l","parseInt","isNaN","disabled","sort","AnalyticsEvent","payload","updater","UIAnalyticsEvent","hasFired","handlers","JSON","handler","useAnalyticsEvents","analyticsContext","createAnalyticsEvent","getEnv","validateEnv","atob","Buffer","encoded","from","btoa","str","URLSearchParams","TypeError","productShorthands","confluence","jira","stride","bitbucket","trello","originParamName","originVersioningAttributes","originLibrary","OriginTracer","generateId","product","dangerouslySkipValidation","validate","static","test","EmptyOriginTracer","MalformedOriginTracer","url","params","replaceQuery","queryString","fromEncoded","createEmpty","createMalformed","delete","encodedOrigin","originData","encodedOriginString","base64","base64url","String","padLength","base64UrlToBase64","json","originJSONObject","maybeShorthand","products","expandProductShorthand","fromJSONObject","toJSONObject","addToUrl","originalQueryString","isEmpty","isMalformed","isValid","toAnalyticsAttributes","transformValue","hasGeneratedId","originProduct","isValidId","isValidProduct","originMalformed","replacer","wholeMatch","beforeQuery","afterQuery","newQueryString","TRACKING_EVENT_NAMES","ACTION_SUBJECT_IDS","api","init","converter","defaultAttributes","expires","Date","now","toUTCString","escape","stringifiedAttributes","attributeName","cookie","write","create","cookies","jar","parts","found","read","remove","withAttributes","withConverter","freeze","path","containerStyle","buttonStyle","indicatorStyle","CartIcon","numberOfProductTrials","width","height","viewBox","fill","xmlns","opacity","d","fillRule","clipRule","CartButton","analyticsAttributes","onClick","wacCartRendered","action","actionSubject","actionSubjectId","fire","title","keyframes","insertable","anim","Consumer","useTheme","defaultGetTokens","emptyThemeFn","getTokens","ThemeContext","themeProps","tokens","themeFn","valueFn","mixedFn","createTheme","presetSizes","xsmall","small","medium","large","xlarge","rotateStyles","animation","to","transform","animationTimingFunction","transformOrigin","loadInStyles","strokeDashoffset","animationFillMode","wrapperStyles","verticalAlign","circleStyles","strokeDasharray","strokeLinecap","strokeWidth","filter","stroke","appearance","delay","interactionName","label","providedSize","animationDelay","getStrokeColor","hold","cx","cy","r","spacingTokens","color","background","accent","blue","bolder","subtle","subtler","subtlest","gray","green","magenta","orange","purple","red","teal","yellow","brand","default","hovered","pressed","bold","danger","discovery","information","input","selected","success","warning","blanket","border","inverse","elevation","surface","footer","solid","alternate1","alternate2","alternate3","primary","overlay","raised","icon","link","text","utility","MISSING_TOKEN","alternate","isValidNestedObject","rawTokens","getValue","tokenName","colorBackgroundDefaultTokens","colorBorderDefaultTokens","colorTextDefaultTokens","wplToken","spinnerContainerStyle","headerContainerStyle","headerStyle","descriptionStyle","dividerStyle","footerContainerStyle","totalValueStyle","taxSubtextStyle","buttonWrapper","bodyStyle","linkStyle","errorContainerStyle","ErrorIcon","x1","y1","x2","y2","gradientUnits","stopColor","ErrorState","errorScreenDisplayed","wacCartPopoverErrorScreen","href","rel","EntitlementsPopup","addPaymentDetailsURL","formattedTotalPrice","hasError","isLoading","wacCartPopoverViewed","wacCartAddPaymentDetailsButtonClicked","SurfaceContext","displayName","asAllowlist","textAlignMap","center","textAlign","end","start","textTransformMap","none","textTransform","lowercase","uppercase","verticalAlignMap","middle","bottom","baseStyles","margin","truncateStyles","textOverflow","whiteSpace","HasTextAncestorContext","as","colorProp","fontSize","fontWeight","lineHeight","shouldTruncate","UNSAFE_style","inverseTextColor","useColor","isWrapped","component","fontFamilyMap","sans","textColorMap","fontSizeMap","fontWeightMap","lineHeightMap","regular","semibold","fontFamily","code","heading","monospace","dimensionMap","spaceMap","borderColorMap","backgroundColorMap","surfaceColorMap","borderWidthMap","spacingProperties","getSerializedStylesMap","cssProperty","tokenMap","emotionSpacingMap","token","paddingStylesMap","styleMap","spacingProperty","backgroundColorStylesMap","surfaceColorStylesMap","ui","isSurfaceColorToken","tokensMap","blockSize","borderColor","borderWidth","columnGap","gap","inlineSize","inset","insetBlock","insetBlockEnd","insetBlockStart","insetInline","insetInlineEnd","insetInlineStart","marginBlock","marginBlockEnd","marginBlockStart","marginBottom","marginInline","marginInlineEnd","marginInlineStart","marginLeft","marginRight","marginTop","maxBlockSize","maxHeight","maxInlineSize","maxWidth","minBlockSize","minHeight","minInlineSize","minWidth","outlineOffset","outlineWidth","outlineColor","paddingBlock","paddingBlockEnd","paddingBlockStart","paddingBottom","paddingInline","paddingInlineEnd","paddingInlineStart","paddingLeft","paddingRight","paddingTop","right","rowGap","card","navigation","dialog","modal","flag","spotlight","tooltip","uniqueSymbol","Symbol","safeSelectors","transformStyles","styleObj","tokenValue","parseXcss","xcss","_spreadClass","safeHtmlAttributes","transformedStyles","baseXcss","Lozenge","isBold","appearanceStyle","appearanceType","backgroundColors","maxWidthValue","maxWidthIsPc","textColors","inprogress","moved","new","removed","defaultLogoParams","getColorsFromAppearance","iconGradientStart","iconGradientStop","iconColor","textColor","atlassianLogoTextColor","CSS_VAR_COLOR","CSS_VAR_FILL","baseWrapperStyles","userSelect","stopColorStyles","stop","sizeStyles","val","svg","userDefinedTestId","rest","shouldApplyStopColor","role","dangerouslySetInnerHTML","__html","colors","JSW_KEY","JSM_KEY","JWM_KEY","JPD_KEY","CONFLUENCE_KEY","PRODUCT_NAME_BY_KEY","PRODUCT_ICON_BY_KEY","lozengeStyle","mainContentStyle","productTextStyle","productNameStyle","totalCostStyle","subContentStyle","siteNameStyle","userBreakdownStyle","EntitlementItem","daysLeft","productKey","productAndPlanName","siteName","usersPriceBreakdown","IconComponent","count","ShowAllLink","totalEntitlementsCount","showAllLinkDisplayed","wacCartShowAllLinkDisplayed","showAllLinkClicked","wacCartShowAllLinkClicked","fetchAPI","async","initObj","baseURL","location","hostname","fetch","credentials","mapSiteToEntitlements","site","existingTransactionAccountId","existingInvoiceGroupId","foundTransactionId","foundInvoiceGroupId","entitlements","ccpTransactionAccountId","invoiceGroupId","_","currentProduct","siteURLMatch","exec","currDate","utcZero","UTC","getFullYear","getMonth","getDate","daysLeftInTrial","numberOfSeconds","trialEndDate","toMilliseconds","Math","round","toSeconds","toMinutes","toHours","toDays","toWeeks","toMonths","toYears","entitlementId","ccpEntitlementId","edition","toUpperCase","invoiceGroupResp","headers","ok","status","statusText","wacCartInvoiceGroupsCallFailed","aaid","invoiceable","formatPrice","Intl","NumberFormat","minimumFractionDigits","maximumFractionDigits","currency","currencyDisplay","format","AdminCartWrapper","enrolled","wacCartFeatureExposed","transactionAccountId","hasRun","cachedEntitlements","setCachedEntitlements","setTotalEntitlementsCount","setTransactionAccountId","setInvoiceGroupId","productHubInfo","sites","noSitesFound","wacCartProductHubInfoReturnedNoSites","recvTransactionAccountId","recvInvoiceGroupId","siteIdx","countTotalEntitlements","foundEntitlements","taId","iGroupId","numEntitlements","noEntitlementsFound","wacCartProductHubInfoReturnedNoEntitlements","wacCartUseEntitlementsFailed","useEntitlements","estimates","fetchEntitlementListings","isLoadingEntitlementListings","fetchEntitlementListingsError","isFetching","setIsFetching","setHasError","setFormattedTotalPrice","setEstimates","totalPrice","compiledEstimates","entitlementById","entitlement","allEstimateResponses","all","estimateResp","wacCartEstimateCallFailed","items","chargeQuantity","total","chargeElement","quantity","every","estimate","wacCartUseEntitlementListingsFailed","useEntitlementListings","popupOpen","setPopupOpen","isProd","numberOfEntitlements","handleCartClick","wacCartIconClicked","wacCartIcon","popupState","handleClosePopup","wacCartPopoverClosed","getAddPaymentDetailsURL","triggerProps","FeatureGatedAdminTrialCart","enrolledAb","fireExperimentExposure","versionDefinitionV0","description","channels","fieldDefinitions","schema","versions","sendAnalytics","analyticsEvent","mergedAnalyticsEvent","currentAnalyicsEvent","_objectSpread","trackEvent","getEnvironment","Environment","apiKey","environment","FeatureGateEnvironment","_storage$getCookie","atlassianAccountId","storage","React","FeatureGatesInitialization","targetApp","identifiers","customAttributes","platform","locale","lang","version","fields","versionSelect","root","nodeType","freeGlobal","g","global","self","punycode","maxInt","base","tMax","skew","damp","regexPunycode","regexNonASCII","regexSeparators","errors","baseMinusTMin","floor","stringFromCharCode","fromCharCode","RangeError","array","mapDomain","string","ucs2decode","extra","output","charCodeAt","ucs2encode","digitToBasic","digit","adapt","delta","numPoints","firstTime","out","basic","j","oldi","w","baseMinusT","codePoint","inputLength","bias","lastIndexOf","splice","handledCPCount","basicLength","m","q","currentValue","handledCPCountPlusOne","qMinusT","util","Url","protocol","slashes","auth","host","port","hash","search","query","pathname","protocolPattern","portPattern","simplePathPattern","unwise","autoEscape","nonHostChars","hostEndingChars","hostnamePartPattern","hostnamePartStart","unsafeProtocol","hostlessProtocol","slashedProtocol","querystring","parseQueryString","slashesDenoteHost","isString","queryIndex","splitter","uSplit","trim","simplePath","proto","lowerProto","atSign","hostEnd","hec","parseHost","ipv6Hostname","hostparts","part","newpart","validParts","notHost","bit","toASCII","h","ae","esc","qm","isObject","charAt","relative","resolveObject","u","urlParse","tkeys","tk","tkey","rkeys","rk","rkey","relPath","shift","isSourceAbs","isRelAbs","mustEndAbs","removeAllDots","srcPath","psychotic","pop","isNullOrUndefined","authInHost","isNull","last","hasTrailingSlash","up","isAbsolute","errors_1","types_1","version_1","Fetcher","fetcherOptions","fetchRequest","requestBody","response","ResponseError","serviceEnv","useGatewayUrl","Development","Staging","method","baseUrl","getBaseUrl","useGatewayURL","fetchTimeout","fetchTimeoutMs","abortSignal","AbortSignal","timeout","AbortController","abortController","signal","abort","CLIENT_VERSION","handleResponseError","extractResponseBody","__importDefault","mod","__esModule","Fetcher_1","__createBinding","o","k2","desc","getOwnPropertyDescriptor","writable","configurable","__setModuleDefault","__importStar","__exportStar","__rest","getOwnPropertySymbols","propertyIsEnumerable","EvaluationReason","DynamicConfig","statsig_js_lite_1","statsig_js_lite_2","fetcher_1","DEFAULT_CLIENT_KEY","FeatureGates","clientOptions","initPromise","shallowEquals","initOptions","then","initCompleted","initializeValues","initFromValues","fetchOptions","updateUserUsingInitializeValuesProducer","fetchExperimentValues","experimentValues","customAttributesFromFetch","gateName","checkGate","hasCheckGateErrorOccurred","msg","experimentName","getExperiment","getExperimentWithExposureLoggingDisabled","hasGetExperimentErrorOccurred","time","reason","parameterName","defaultValue","experiment","typeGuard","hasGetExperimentValueErrorOccurred","manuallyLogExperimentExposure","shutdown","overrideGate","values","overrideConfig","overrides","setOverrides","gates","configs","layers","currentIdentifiers","currentAttributes","fromValuesClientOptions","disableCurrentPageLogging","customAttributesFromResult","clientSdkKeyPromise","fetchClientSdk","sdkKey","clientSdkKey","experimentValuesPromise","experimentValuesResult","user","toStatsigUser","eventLoggingApi","statsigOptions","toStatsigOptions","initialize","customIDs","custom","userID","getInitializeValues","isCurrentUser","originalInitPromise","err","initializeValuesPromise","updateUserPromise","updateStatsigClientUser","catch","_b","errMsg","updateUserCompletionCallback","updateUserWithValues","restClientOptions","tier","toStatsigUpdateUserCompletionCallback","callback","_duration","objectA","objectB","aEntries","bEntries","ascendingKeyOrder","key1","key2","localeCompare","aValue","bValue","__FEATUREGATES_JS__"],"sourceRoot":""}