{"version":3,"file":"for-formuser.js","sources":["webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@emotion+is-prop-valid@0.8.8/node_modules/@emotion/is-prop-valid/dist/is-prop-valid.browser.esm.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@emotion+memoize@0.7.4/node_modules/@emotion/memoize/dist/memoize.browser.esm.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@emotion+stylis@0.8.5/node_modules/@emotion/stylis/dist/stylis.browser.esm.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@emotion+unitless@0.7.5/node_modules/@emotion/unitless/dist/unitless.browser.esm.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/adapters/xhr.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/axios.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/cancel/Cancel.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/cancel/CancelToken.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/cancel/isCancel.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/core/Axios.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/core/InterceptorManager.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/core/buildFullPath.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/core/createError.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/core/dispatchRequest.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/core/enhanceError.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/core/mergeConfig.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/core/settle.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/core/transformData.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/defaults.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/env/data.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/helpers/bind.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/helpers/buildURL.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/helpers/combineURLs.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/helpers/cookies.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/helpers/isAbsoluteURL.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/helpers/isAxiosError.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/helpers/isURLSameOrigin.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/helpers/normalizeHeaderName.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/helpers/parseHeaders.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/helpers/spread.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/helpers/validator.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/utils.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/call-bind@1.0.7/node_modules/call-bind/callBound.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/call-bind@1.0.7/node_modules/call-bind/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/classnames@2.3.2/node_modules/classnames/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@jotforminc+jotform.css@2.3.1/node_modules/@jotforminc/jotform.css/animation.css","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@jotforminc+jotform.css@2.3.1/node_modules/@jotforminc/jotform.css/jotform.css","webpack://@jotforminc/umd-bundler/../../cdns/for-formuser/src/assets/style.scss","webpack://@jotforminc/umd-bundler/../../libs/account-box/src/styles/formUserAccountBox.scss","webpack://@jotforminc/umd-bundler/../../libs/dialog/src/styles/_jfDialog.scss","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/styles/delete-my-account-modal.scss","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/styles/ofac-modal.scss","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/styles/signup-with-social-opts.scss","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/styles/social-terms-step.scss","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/styles/ssoLoginOptions.scss","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/styles/standalone-modal.scss","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/styles/style.scss","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/styles/twoFactorLogin.scss","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/styles/unusual-signup.scss","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/styles/verification-modal.scss","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/temporary-duplicate/styles/SaveAndContinueLater/style.scss","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/styles/style.scss","webpack://@jotforminc/umd-bundler/../../libs/tooltip/src/styles/_jfTooltip.scss","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/api.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/getUrl.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/define-properties@1.2.1/node_modules/define-properties/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/dom-to-image-more@2.8.0/node_modules/dom-to-image-more/src/dom-to-image-more.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/es-define-property@1.0.0/node_modules/es-define-property/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/es-object-atoms@1.0.0/node_modules/es-object-atoms/RequireObjectCoercible.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/exenv@1.2.2/node_modules/exenv/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/for-each@0.3.3/node_modules/for-each/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/get-intrinsic@1.2.4/node_modules/get-intrinsic/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/gopd@1.0.1/node_modules/gopd/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/has-proto@1.0.3/node_modules/has-proto/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/shams.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/has@1.0.4/node_modules/has/src/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/hoist-non-react-statics@3.3.1/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/is-callable@1.2.7/node_modules/is-callable/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/keyboardjs@2.6.4/node_modules/keyboardjs/dist/keyboard.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_DataView.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Hash.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_ListCache.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Map.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_MapCache.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Promise.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Set.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_SetCache.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Stack.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Uint8Array.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_WeakMap.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_apply.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayEach.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayFilter.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayLikeKeys.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayMap.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayPush.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arraySome.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_asciiToArray.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assignValue.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assocIndexOf.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseAssign.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseAssignIn.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseAssignValue.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseClone.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseCreate.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFindIndex.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFlatten.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGet.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetAllKeys.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIndexOf.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsArguments.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsEqual.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsEqualDeep.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsMap.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNaN.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsSet.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsTypedArray.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseKeys.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseKeysIn.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseSetToString.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseSlice.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTimes.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseToString.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTrim.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUnary.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUnset.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cacheHas.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_castPath.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_castSlice.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_charsEndIndex.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneArrayBuffer.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneBuffer.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneDataView.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneRegExp.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneSymbol.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneTypedArray.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_copyArray.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_copyObject.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_copySymbols.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_copySymbolsIn.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_coreJsData.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_customOmitClone.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_defineProperty.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalArrays.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalByTag.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalObjects.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_flatRest.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getAllKeys.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getAllKeysIn.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMapData.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getNative.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getPrototype.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getSymbols.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getSymbolsIn.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getTag.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getValue.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hasUnicode.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashClear.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashDelete.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashGet.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashHas.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashSet.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_initCloneArray.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_initCloneByTag.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_initCloneObject.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isFlattenable.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIndex.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKey.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKeyable.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isMasked.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isPrototype.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheClear.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheDelete.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheGet.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheHas.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheSet.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheClear.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheDelete.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheGet.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheHas.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheSet.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapToArray.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_memoizeCapped.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeCreate.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeKeys.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeKeysIn.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nodeUtil.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overArg.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overRest.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_parent.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheAdd.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheHas.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setToArray.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setToString.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_shortOut.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackClear.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackDelete.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackGet.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackHas.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackSet.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_strictIndexOf.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stringToArray.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stringToPath.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toKey.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toSource.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_trimmedEndIndex.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_unicodeToArray.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/cloneDeep.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/constant.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/debounce.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/eq.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/flatten.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/get.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/identity.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArguments.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isBuffer.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isElement.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEqual.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isFunction.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isLength.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isMap.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isNil.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isNumber.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isPlainObject.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSet.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isTypedArray.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isUndefined.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/keys.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/keysIn.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/last.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/memoize.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/now.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/omit.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubArray.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubFalse.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/throttle.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toNumber.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toString.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/trimEnd.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/node-polyglot@2.4.0/node_modules/node-polyglot/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/object-inspect@1.13.2/node_modules/object-inspect/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/implementation.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/isArguments.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/factoryWithThrowingShims.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/qs@6.11.2/node_modules/qs/lib/formats.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/qs@6.11.2/node_modules/qs/lib/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/qs@6.11.2/node_modules/qs/lib/parse.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/qs@6.11.2/node_modules/qs/lib/stringify.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/qs@6.11.2/node_modules/qs/lib/utils.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/querystring@0.2.0/node_modules/querystring/decode.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/querystring@0.2.0/node_modules/querystring/encode.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/querystring@0.2.0/node_modules/querystring/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react-dom@18.3.0_react@18.3.0/node_modules/react-dom/cjs/react-dom.production.min.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react-dom@18.3.0_react@18.3.0/node_modules/react-dom/client.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react-dom@18.3.0_react@18.3.0/node_modules/react-dom/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react-is@18.3.1/node_modules/react-is/cjs/react-is.production.min.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react-is@18.3.1/node_modules/react-is/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react-lifecycles-compat@3.0.4/node_modules/react-lifecycles-compat/react-lifecycles-compat.es.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react-modal@3.14.4_react-dom@18.3.0_react@18.3.0__react@18.3.0/node_modules/react-modal/lib/components/Modal.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react-modal@3.14.4_react-dom@18.3.0_react@18.3.0__react@18.3.0/node_modules/react-modal/lib/components/ModalPortal.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react-modal@3.14.4_react-dom@18.3.0_react@18.3.0__react@18.3.0/node_modules/react-modal/lib/helpers/ariaAppHider.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react-modal@3.14.4_react-dom@18.3.0_react@18.3.0__react@18.3.0/node_modules/react-modal/lib/helpers/bodyTrap.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react-modal@3.14.4_react-dom@18.3.0_react@18.3.0__react@18.3.0/node_modules/react-modal/lib/helpers/classList.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react-modal@3.14.4_react-dom@18.3.0_react@18.3.0__react@18.3.0/node_modules/react-modal/lib/helpers/focusManager.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react-modal@3.14.4_react-dom@18.3.0_react@18.3.0__react@18.3.0/node_modules/react-modal/lib/helpers/portalOpenInstances.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react-modal@3.14.4_react-dom@18.3.0_react@18.3.0__react@18.3.0/node_modules/react-modal/lib/helpers/safeHTMLElement.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react-modal@3.14.4_react-dom@18.3.0_react@18.3.0__react@18.3.0/node_modules/react-modal/lib/helpers/scopeTab.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react-modal@3.14.4_react-dom@18.3.0_react@18.3.0__react@18.3.0/node_modules/react-modal/lib/helpers/tabbable.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react-modal@3.14.4_react-dom@18.3.0_react@18.3.0__react@18.3.0/node_modules/react-modal/lib/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react-verification-input@4.1.2_react-dom@18.3.0_react@18.3.0__react@18.3.0/node_modules/react-verification-input/lib/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react@18.3.0/node_modules/react/cjs/react-jsx-runtime.production.min.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react@18.3.0/node_modules/react/cjs/react.production.min.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react@18.3.0/node_modules/react/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.production.min.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/set-function-length@1.2.2/node_modules/set-function-length/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/shallowequal@1.1.0/node_modules/shallowequal/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/side-channel@1.0.6/node_modules/side-channel/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/string.prototype.trim@1.2.9/node_modules/string.prototype.trim/implementation.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/string.prototype.trim@1.2.9/node_modules/string.prototype.trim/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/string.prototype.trim@1.2.9/node_modules/string.prototype.trim/polyfill.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/string.prototype.trim@1.2.9/node_modules/string.prototype.trim/shim.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/styled-components@5.3.3_@babel+core@7.25.9_react-dom@18.3.0_react@18.3.0__react-is@18.3.1_react@18.3.0/node_modules/styled-components/dist/styled-components.browser.cjs.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/warning@4.0.3/node_modules/warning/warning.js","webpack://@jotforminc/umd-bundler/../../configs/tracking-config/src/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/es-abstract@1.23.3/node_modules/es-abstract/2024/ToString.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/integrations/functiontostring.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/instrument/history.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/instrument/dom.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/polyfills/interactionCountPolyfill.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/metrics/instrument.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/metrics/browserMetrics.js","webpack://@jotforminc/umd-bundler/../../libs/account-box/src/components/HOCs/OnClickOutside/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/utils.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/platform/common/utils.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/adapters/fetch.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react-async-script@1.2.0_react@18.3.0/node_modules/react-async-script/lib/esm/async-script-loader.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@fullstory+browser@1.6.1/node_modules/@fullstory/browser/dist/index.esm.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/syncpromise.js","webpack://@jotforminc/umd-bundler/../../../../src/icons/general/exclamation-triangle-filled.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/general/check.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/general/link-diagonal-broken.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/general/trash-exclamation-filled.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/general/xmark.svg","webpack://@jotforminc/umd-bundler/../../libs/dialog/src/assets/svg/iconHipaaWarning.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/communication/envelope-closed-filled.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/general/exclamation-circle.svg","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/assets/close.svg","webpack://@jotforminc/umd-bundler/../../../../src/logos/integration/salesforce-logomark-color.svg","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/temporary-duplicate/assets/svg/icon_fb.svg","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/temporary-duplicate/assets/svg/icon_gl.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/general/eye-slash-filled.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/general/eye-filled.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/general/check-sm.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/general/xmark-sm.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/general/info-circle-filled.svg","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/assets/icon_ms.svg","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/temporary-duplicate/assets/svg/icon_em.svg","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/assets/icon_gl_36.svg","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/assets/icon_fb_36.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/brand/salesforce-filled.svg","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/temporary-duplicate/assets/svg/icon_apple_white.svg","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/assets/icon_ms_36.svg","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/assets/icon_ap_36.svg","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/temporary-duplicate/assets/svg/icon_back3.svg","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/temporary-duplicate/assets/svg/icon_back.svg","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/assets/idp-icons/auth0-logo-icon.svg","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/assets/idp-icons/azure-logo-icon.svg","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/assets/idp-icons/google-logo-icon.svg","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/assets/idp-icons/microsoft-logo-icon.svg","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/assets/idp-icons/okta-logo-icon.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/arrows/chevron-left.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/security/lock-filled.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/general/check-circle-filled.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/communication/message-filled.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/security/scan-filled.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/security/key-filled.svg","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/assets/icon_sf_36.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/general/exclamation-circle-filled.svg","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/temporary-duplicate/assets/svg/closeWithCircle.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/general/check-circle.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/general/flag-filled.svg","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue-later/src/assets/svg/sacl_saved_draft.svg","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue-later/src/assets/svg/icon_back.svg","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue-later/src/assets/svg/sacl_send.svg","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue-later/src/assets/svg/icon_link.svg","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue-later/src/assets/svg/iconIndicator.svg","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue-later/src/assets/svg/resend.svg","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue-later/src/assets/svg/iconWarningFilled.svg","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue-later/src/assets/svg/icon_retry.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/users/user-filled.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/arrows/arrows-rotate.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/arrows/arrow-rotate-right.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/general/floppy-disk.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/general/xmark-circle-filled.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/general/link-diagonal.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/arrows/arrow-left.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/communication/paper-plane-filled.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/forms-files/paper-filled.svg","webpack://@jotforminc/umd-bundler/../../../../src/icons/forms-files/file-pencil-filled.svg","webpack://@jotforminc/umd-bundler/../../cdns/for-formuser/src/assets/svg/iconDiscardDraft.svg","webpack://@jotforminc/umd-bundler/../../cdns/for-formuser/src/assets/svg/iconUseDraft.svg","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@swc+helpers@0.5.12/node_modules/@swc/helpers/esm/_define_property.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@swc+helpers@0.5.12/node_modules/@swc/helpers/esm/_object_spread.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@swc+helpers@0.5.12/node_modules/@swc/helpers/esm/_object_spread_props.js","webpack://@jotforminc/umd-bundler/../../libs/storage-helper/src/constants.js","webpack://@jotforminc/umd-bundler/../../libs/storage-helper/src/index.js","webpack://@jotforminc/umd-bundler/../../libs/constants/src/texts/index.js","webpack://@jotforminc/umd-bundler/../../libs/translation/src/domHelper.js","webpack://@jotforminc/umd-bundler/../../libs/translation/src/Translation.js","webpack://@jotforminc/umd-bundler/../../libs/translation/src/components/TranslateProvider.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/nanoid@4.0.2/node_modules/nanoid/index.browser.js","webpack://@jotforminc/umd-bundler/../../libs/utils/src/emailUtils.js","webpack://@jotforminc/umd-bundler/../../libs/constants/src/email/index.js","webpack://@jotforminc/umd-bundler/../../libs/translation/src/constants/index.js","webpack://@jotforminc/umd-bundler/../../libs/translation/src/utils.js","webpack://@jotforminc/umd-bundler/../../libs/translation/src/hof.js","webpack://@jotforminc/umd-bundler/../../libs/translation/src/index.js","webpack://@jotforminc/umd-bundler/../../libs/translation/src/global.js","webpack://@jotforminc/umd-bundler/../../libs/utils/src/validation.js","webpack://@jotforminc/umd-bundler/../../libs/router-bridge/src/jfrouter.js","webpack://@jotforminc/umd-bundler/../../libs/utils/src/misc.js","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue-later/src/components/SCLManager.js","webpack://@jotforminc/umd-bundler/../../libs/dialog/src/styles/_jfDialog.scss?9fef","webpack://@jotforminc/umd-bundler/../../libs/dialog/src/components/Dialog.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/fuse.js@6.4.6/node_modules/fuse.js/dist/fuse.esm.js","webpack://@jotforminc/umd-bundler/../../libs/uikit/src/utils/constants.js","webpack://@jotforminc/umd-bundler/../../libs/uikit/src/utils/index.js","webpack://@jotforminc/umd-bundler/../../libs/uikit/src/utils/hooks.js","webpack://@jotforminc/umd-bundler/../../libs/uikit/src/components/Portal/index.js","webpack://@jotforminc/umd-bundler/../../libs/utils/src/time.js","webpack://@jotforminc/umd-bundler/../../libs/utils/src/data.js","webpack://@jotforminc/umd-bundler/../../libs/constants/src/platforms/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/redux@4.1.2/node_modules/redux/es/redux.js","webpack://@jotforminc/umd-bundler/../../libs/feature-flag/src/components/FeatureFlag/FeatureFlag.js","webpack://@jotforminc/umd-bundler/../../libs/utils/src/platform/platform.js","webpack://@jotforminc/umd-bundler/../../libs/utils/src/dom.js","webpack://@jotforminc/umd-bundler/../../libs/utils/src/loginSignup.js","webpack://@jotforminc/umd-bundler/../../libs/enterprise-utils/src/helpers.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react-google-recaptcha@1.1.0_react@18.3.0/node_modules/react-google-recaptcha/lib/esm/recaptcha.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react-google-recaptcha@1.1.0_react@18.3.0/node_modules/react-google-recaptcha/lib/esm/recaptcha-wrapper.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@swc+helpers@0.5.12/node_modules/@swc/helpers/esm/_object_without_properties.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@swc+helpers@0.5.12/node_modules/@swc/helpers/esm/_object_without_properties_loose.js","webpack://@jotforminc/umd-bundler/../../libs/loading/src/components/Loading.js","webpack://@jotforminc/umd-bundler/../../libs/request-layer/src/utils/managerUtils.ts","webpack://@jotforminc/umd-bundler/../../libs/hooks/src/index.js","webpack://@jotforminc/umd-bundler/../../libs/request-layer/src/request-cache/constants.ts","webpack://@jotforminc/umd-bundler/../../libs/request-layer/src/request-cache/utils.ts","webpack://@jotforminc/umd-bundler/../../libs/request-layer/src/request-cache/index.ts","webpack://@jotforminc/umd-bundler/../../libs/request-layer/src/utils/argumentParser.ts","webpack://@jotforminc/umd-bundler/../../libs/request-layer/src/utils/constructInterceptorConfig.ts","webpack://@jotforminc/umd-bundler/../../libs/request-layer/src/layer/interceptors/index.ts","webpack://@jotforminc/umd-bundler/../../libs/request-layer/src/layer/interceptors/defaultInterceptors/index.ts","webpack://@jotforminc/umd-bundler/../../libs/request-layer/src/layer/interceptors/defaultInterceptors/utils.ts","webpack://@jotforminc/umd-bundler/../../libs/request-layer/src/layer/interceptors/defaultInterceptors/platform/salesforceInterceptors.ts","webpack://@jotforminc/umd-bundler/../../libs/request-layer/src/layer/interceptors/defaultInterceptors/defaultInterceptors.ts","webpack://@jotforminc/umd-bundler/../../libs/request-layer/src/utils/setInterceptors.ts","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/bind.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/core/AxiosError.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/toFormData.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/AxiosURLSearchParams.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/buildURL.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/core/InterceptorManager.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/defaults/transitional.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/platform/browser/classes/FormData.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/platform/browser/classes/Blob.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/platform/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/platform/browser/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/formDataToJSON.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/defaults/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/toURLEncodedForm.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/parseHeaders.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/core/AxiosHeaders.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/core/transformData.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/cancel/isCancel.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/cancel/CanceledError.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/core/settle.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/speedometer.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/throttle.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/progressEventReducer.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/isURLSameOrigin.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/cookies.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/core/buildFullPath.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/isAbsoluteURL.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/combineURLs.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/core/mergeConfig.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/resolveConfig.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/adapters/xhr.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/parseProtocol.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/composeSignals.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/trackStream.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/adapters/adapters.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/null.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/core/dispatchRequest.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/env/data.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/validator.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/core/Axios.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/cancel/CancelToken.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/HttpStatusCode.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/axios.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/spread.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/isAxiosError.js","webpack://@jotforminc/umd-bundler/../../libs/request-layer/src/layer/engines/utils.ts","webpack://@jotforminc/umd-bundler/../../libs/request-layer/src/layer/engines/constants.ts","webpack://@jotforminc/umd-bundler/../../libs/request-layer/src/layer/engines/AxiosEngine.ts","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/index.js","webpack://@jotforminc/umd-bundler/../../libs/request-layer/src/layer/utils.ts","webpack://@jotforminc/umd-bundler/../../libs/request-layer/src/layer/index.ts","webpack://@jotforminc/umd-bundler/../../libs/request-layer/src/layer/interceptors/customInterceptors/index.ts","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/utils/layer.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/utils/helper.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/styles/ofac-modal.scss?eba6","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/OFACModal/OFACModal.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/OFACModal/index.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/utils/loginSignup.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/SalesforceButton.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/FacebookButton.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/GoogleButton.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/styles/style.scss?1dc2","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/Password/scPassword.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/Password/RequirementsList.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/Password/constants.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/ErrorAlert.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/Password/index.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/TermsAndConditionsUrls.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/MicrosoftButton.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/AppleButton.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/SocialButtons.js","webpack://@jotforminc/umd-bundler/../../libs/constants/src/initiators/index.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/api/manager.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/api/index.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/SignupOptions.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/react-google-recaptcha@1.1.0_react@18.3.0/node_modules/react-google-recaptcha/lib/esm/index.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/constants/index.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/SignupWithEmail.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/styles/ssoLoginOptions.scss?1d3f","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/assets/idp-icons/onelogin-logo-icon.svg","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/assets/idp-icons/private-logo-icon.svg","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/assets/idp-icons/icons.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/SSOLoginOptions.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/LoginOptions.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/SSOOptions.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/ForgotPassword.js","webpack://@jotforminc/umd-bundler/../../libs/pie-timer/src/sc/scPieTimer.js","webpack://@jotforminc/umd-bundler/../../libs/pie-timer/src/index.js","webpack://@jotforminc/umd-bundler/../../libs/verification-input/src/index.js","webpack://@jotforminc/umd-bundler/../../libs/uikit/src/components/Button/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/dom-utils/getWindow.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/dom-utils/getBorders.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/enums.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/modifiers/eventListeners.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/utils/getBasePlacement.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/utils/getVariation.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/utils/computeOffsets.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/modifiers/computeStyles.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/dom-utils/contains.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/utils/rectToClientRect.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/utils/expandToHashMap.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/utils/detectOverflow.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/dom-utils/getDecorations.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/utils/within.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/modifiers/hide.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/popper.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/modifiers/applyStyles.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/modifiers/offset.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/modifiers/flip.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/utils/uniqueBy.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/utils/getAltAxis.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/modifiers/arrow.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/utils/debounce.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@popperjs+core@2.0.3/node_modules/@popperjs/core/lib/utils/orderModifiers.js","webpack://@jotforminc/umd-bundler/../../libs/uikit/src/components/Popover/index.js","webpack://@jotforminc/umd-bundler/../../libs/uikit/src/components/Tooltip/index.js","webpack://@jotforminc/umd-bundler/../../libs/common-button/src/components/Button.js","webpack://@jotforminc/umd-bundler/../../libs/uikit/src/components/Modal/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/class-variance-authority@0.7.0/node_modules/class-variance-authority/dist/index.mjs","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/clsx@2.0.0/node_modules/clsx/dist/clsx.mjs","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@jotforminc+jotform.css@2.3.1/node_modules/@jotforminc/jotform.css/jotform.css?cf97","webpack://@jotforminc/umd-bundler/../../libs/magnet/src/tokens/colors/primary.ts","webpack://@jotforminc/umd-bundler/../../libs/magnet/src/components/Button/button.cva.ts","webpack://@jotforminc/umd-bundler/../../libs/magnet/src/tokens/colors/secondary.ts","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@jotforminc+jotform.css@2.3.1/node_modules/@jotforminc/jotform.css/animation.css?a560","webpack://@jotforminc/umd-bundler/../../libs/magnet/src/components/Indicator/indicator.cva.ts","webpack://@jotforminc/umd-bundler/../../libs/magnet/src/components/Indicator/Indicator.tsx","webpack://@jotforminc/umd-bundler/../../libs/magnet/src/components/Indicator/indicator.types.ts","webpack://@jotforminc/umd-bundler/../../libs/magnet/src/components/Button/ButtonContent.tsx","webpack://@jotforminc/umd-bundler/../../libs/magnet/src/components/Loader/loader.cva.ts","webpack://@jotforminc/umd-bundler/../../libs/magnet/src/components/Loader/loader.types.ts","webpack://@jotforminc/umd-bundler/../../libs/magnet/src/components/Loader/Loader.tsx","webpack://@jotforminc/umd-bundler/../../libs/magnet/src/constants/common.values.ts","webpack://@jotforminc/umd-bundler/../../libs/magnet/src/components/Button/Button.tsx","webpack://@jotforminc/umd-bundler/../../libs/magnet/src/components/Button/button.types.ts","webpack://@jotforminc/umd-bundler/../../libs/styled-modal/src/components/StyledModal/styled.js","webpack://@jotforminc/umd-bundler/../../libs/styled-modal/src/components/StyledModal/index.js","webpack://@jotforminc/umd-bundler/../../libs/toggle/src/index.js","webpack://@jotforminc/umd-bundler/../../libs/tooltip/src/styles/_jfTooltip.scss?eae7","webpack://@jotforminc/umd-bundler/../../libs/tooltip/src/components/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@babel+runtime@7.24.7/node_modules/@babel/runtime/helpers/esm/extends.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@babel+runtime@7.24.7/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@babel+runtime@7.24.7/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@babel+runtime@7.24.7/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@babel+runtime@7.24.7/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@babel+runtime@7.24.7/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@babel+runtime@7.24.7/node_modules/@babel/runtime/helpers/esm/construct.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/polished@4.0.5/node_modules/polished/dist/polished.esm.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@babel+runtime@7.24.7/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@babel+runtime@7.24.7/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","webpack://@jotforminc/umd-bundler/../../libs/uikit/src/components/Option/index.js","webpack://@jotforminc/umd-bundler/../../libs/uikit/src/components/OptionGroup/index.js","webpack://@jotforminc/umd-bundler/../../libs/uikit/src/components/SelectionGroup/index.js","webpack://@jotforminc/umd-bundler/../../libs/option-group/src/components/StyledComponents.js","webpack://@jotforminc/umd-bundler/../../libs/option-group/src/components/OptionGroup.js","webpack://@jotforminc/umd-bundler/../../libs/two-factor-settings/src/helpers/constants.js","webpack://@jotforminc/umd-bundler/../../libs/two-factor-settings/src/components/styled.js","webpack://@jotforminc/umd-bundler/../../libs/two-factor-settings/src/sc/scTwoFactorSettings.js","webpack://@jotforminc/umd-bundler/../../libs/two-factor-settings/src/components/InfoBox.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/styles/twoFactorLogin.scss?431b","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/Checkbox.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/TwoFactorLogin.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/EmailAuthLogin.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/TwoFactorMethods.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/SocialInit.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/LoginError.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/DeleteAccountModal/DeleteAccountModalStep1.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/DeleteAccountModal/SocialsContainer.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/DeleteAccountModal/ModalHeader.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/DeleteAccountModal/ErrorMessage.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/DeleteAccountModal/DeleteAccountModalStep2.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/DeleteAccountModal/DeleteAccountModalStep3.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/styles/verification-modal.scss?1109","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/styles/delete-my-account-modal.scss?4f38","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/DeleteAccountModal/DeleteAccountModal.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/ResetSuccess.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/temporary-duplicate/styles/SaveAndContinueLater/style.scss?1830","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/styles/social-terms-step.scss?2afc","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/SocialTermsStep.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/styles/standalone-modal.scss?3191","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/SocialTermsModal.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/utils/renderStandaloneSocialTermsModal.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/EmailAuthLoginModal.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/utils/renderStandaloneEmailAuthModal.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/VerifyAccountModal/Verification.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/VerifyAccountModal/index.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/styles/unusual-signup.scss?af70","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/UnusualSignup/index.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/styles/signup-with-social-opts.scss?116f","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/SignupWithSocialOpts.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/RecoverAccountPage.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/RecoverAccountNotification.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/AccountRecoveryViewTicket.js","webpack://@jotforminc/umd-bundler/../../libs/login-flow/src/components/LoginFlow.js","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue-later/src/components/SharableLinkButton.js","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue-later/src/components/WithoutSignup.js","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue-later/src/components/SaclEpilogue.js","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue-later/src/components/SaclSuccess.js","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue-later/src/components/SaclError.js","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue-later/src/components/SACLNavigation.js","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/styles/style.scss?f839","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/components/errorPages/ErrorScreen.jsx","webpack://@jotforminc/umd-bundler/../../libs/tracking/src/utils/FullStoryManager.ts","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/version.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/worldwide.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/constants.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/carrier.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/is.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/browser.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/debug-build.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/logger.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/string.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/object.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/misc.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/propagationContext.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/time.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/session.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/utils/spanOnScope.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/scope.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/asyncContext/stackStrategy.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/defaultScopes.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/asyncContext/index.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/currentScopes.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/stacktrace.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/normalize.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/memo.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/debug-build.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/baggage.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/semanticAttributes.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/utils/hasTracingEnabled.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/tracing.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/metrics/metric-summary.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/tracing/spanstatus.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/utils/spanUtils.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/tracing/dynamicSamplingContext.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/utils/applyScopeDataToEvent.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/utils/prepareEvent.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/exports.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/breadcrumbs.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+react@8.34.0_react@18.3.0/node_modules/@sentry/react/build/esm/redux.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/integration.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/integrations/inboundfilters.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/integrations/dedupe.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/supports.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/instrument/handlers.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/vendor/supportsHistory.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/dsn.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/envelope.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/error.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/utils/parseSampleRate.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/baseclient.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/api.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/envelope.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/eventProcessors.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/clientreport.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/utils/sdkMetadata.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+browser@8.34.0/node_modules/@sentry/browser/build/npm/esm/debug-build.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+browser@8.34.0/node_modules/@sentry/browser/build/npm/esm/eventbuilder.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+browser@8.34.0/node_modules/@sentry/browser/build/npm/esm/helpers.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+browser@8.34.0/node_modules/@sentry/browser/build/npm/esm/client.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/env.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+browser@8.34.0/node_modules/@sentry/browser/build/npm/esm/userfeedback.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/instrument/xhr.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/instrument/console.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/instrument/fetch.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/severity.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/breadcrumb-log-level.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/url.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+browser@8.34.0/node_modules/@sentry/browser/build/npm/esm/integrations/breadcrumbs.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+browser@8.34.0/node_modules/@sentry/browser/build/npm/esm/integrations/browserapierrors.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/instrument/globalError.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/instrument/globalUnhandledRejection.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+browser@8.34.0/node_modules/@sentry/browser/build/npm/esm/integrations/globalhandlers.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+browser@8.34.0/node_modules/@sentry/browser/build/npm/esm/integrations/httpcontext.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/aggregate-errors.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+browser@8.34.0/node_modules/@sentry/browser/build/npm/esm/integrations/linkederrors.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+browser@8.34.0/node_modules/@sentry/browser/build/npm/esm/stack-parsers.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/debug-build.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/getNativeImplementation.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/transports/base.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+browser@8.34.0/node_modules/@sentry/browser/build/npm/esm/transports/fetch.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/types.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/promisebuffer.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/ratelimit.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+fullstory@3.0.0_@sentry+core@8.34.0/node_modules/@sentry/fullstory/dist/es/index.mjs","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/tracing/sentryNonRecordingSpan.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/tracing/measurement.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/tracing/utils.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/tracing/sentrySpan.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/tracing/logSpans.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/tracing/trace.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/tracing/sampling.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+utils@8.34.0/node_modules/@sentry/utils/build/esm/buildPolyfills/_optionalChain.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/bindReporter.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/generateUniqueID.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/getNavigationEntry.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/getActivationStart.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/initMetric.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/observe.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/onHidden.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/runOnce.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/getVisibilityWatcher.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/whenActivated.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/onFCP.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/getCLS.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/getFID.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/getINP.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/getLCP.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/onTTFB.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/metrics/utils.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/metrics/inp.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/tracing/idleSpan.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/tracing/errors.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+browser@8.34.0/node_modules/@sentry/browser/build/npm/esm/tracing/request.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+browser@8.34.0/node_modules/@sentry/browser/build/npm/esm/tracing/browserTracingIntegration.js","webpack://@jotforminc/umd-bundler/../../libs/tracking/src/constants/index.ts","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry-internal+browser-utils@8.34.0/node_modules/@sentry-internal/browser-utils/build/esm/metrics/cls.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+browser@8.34.0/node_modules/@sentry/browser/build/npm/esm/tracing/backgroundtab.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/fetch.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/integrations/captureconsole.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/integrations/extraerrordata.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+browser@8.34.0/node_modules/@sentry/browser/build/npm/esm/integrations/contextlines.js","webpack://@jotforminc/umd-bundler/../../libs/tracking/src/utils/SentryManager.ts","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+react@8.34.0_react@18.3.0/node_modules/@sentry/react/build/esm/sdk.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+browser@8.34.0/node_modules/@sentry/browser/build/npm/esm/sdk.js","webpack://@jotforminc/umd-bundler/../../../node_modules/.pnpm/@sentry+core@8.34.0/node_modules/@sentry/core/build/esm/sdk.js","webpack://@jotforminc/umd-bundler/../../libs/tracking/src/index.ts","webpack://@jotforminc/umd-bundler/../../libs/tracking/src/utils/TrackingManager.ts","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/utils/index.js","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/constants.js","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/components/errorPages/UnauthorizedScreen.jsx","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/components/errorPages/NotFoundScreen.jsx","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/adapters/Adapter.js","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/adapters/CheckboxAdapter.js","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/adapters/RadioAdapter.js","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/adapters/InputTableAdapter.js","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/adapters/FillinBlanksAdapter.js","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/adapters/FileAdapter.js","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/adapters/PaymentAdapter.js","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/adapters/DropdownAdapter.js","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/adapters/ImageChoiceAdapter.js","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/adapters/MixedAdapter.js","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/adapters/index.js","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/api/index.js","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/components/Loading.jsx","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/components/Error.jsx","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/components/SharableLinkButton.jsx","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/components/Success.jsx","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/components/Login.jsx","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/components/Guest.jsx","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/components/SaveModal.jsx","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/components/Draft.jsx","webpack://@jotforminc/umd-bundler/../../libs/save-and-continue/src/main/SaveAndContinue.jsx","webpack://@jotforminc/umd-bundler/../../libs/utils/src/requestUtils.js","webpack://@jotforminc/umd-bundler/../../libs/utils/src/api.js","webpack://@jotforminc/umd-bundler/../../libs/account-box/src/components/HOCs/OnClickOutside/detect-passive-events.js","webpack://@jotforminc/umd-bundler/../../libs/account-box/src/components/HOCs/OnClickOutside/uid.js","webpack://@jotforminc/umd-bundler/../../libs/account-box/src/constants/texts.js","webpack://@jotforminc/umd-bundler/../../libs/account-box/src/styles/formUserAccountBox.scss?2c15","webpack://@jotforminc/umd-bundler/../../libs/account-box/src/components/FormUserAccountBox.js","webpack://@jotforminc/umd-bundler/../../libs/account-box/src/components/HOCs/OnClickOutside/dom-helpers.js","webpack://@jotforminc/umd-bundler/../../libs/render-account-box/src/utils/RenderAccountBox.js","webpack://@jotforminc/umd-bundler/../../cdns/for-formuser/src/assets/style.scss?753c","webpack://@jotforminc/umd-bundler/../../cdns/for-formuser/src/components/DraftSelectionModal.js","webpack://@jotforminc/umd-bundler/../../cdns/for-formuser/src/index.js"],"sourcesContent":["import memoize from '@emotion/memoize';\n\nvar reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23\n\nvar index = memoize(function (prop) {\n return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111\n /* o */\n && prop.charCodeAt(1) === 110\n /* n */\n && prop.charCodeAt(2) < 91;\n}\n/* Z+1 */\n);\n\nexport default index;\n","function memoize(fn) {\n var cache = {};\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport default memoize;\n","function stylis_min (W) {\n function M(d, c, e, h, a) {\n for (var m = 0, b = 0, v = 0, n = 0, q, g, x = 0, K = 0, k, u = k = q = 0, l = 0, r = 0, I = 0, t = 0, B = e.length, J = B - 1, y, f = '', p = '', F = '', G = '', C; l < B;) {\n g = e.charCodeAt(l);\n l === J && 0 !== b + n + v + m && (0 !== b && (g = 47 === b ? 10 : 47), n = v = m = 0, B++, J++);\n\n if (0 === b + n + v + m) {\n if (l === J && (0 < r && (f = f.replace(N, '')), 0 < f.trim().length)) {\n switch (g) {\n case 32:\n case 9:\n case 59:\n case 13:\n case 10:\n break;\n\n default:\n f += e.charAt(l);\n }\n\n g = 59;\n }\n\n switch (g) {\n case 123:\n f = f.trim();\n q = f.charCodeAt(0);\n k = 1;\n\n for (t = ++l; l < B;) {\n switch (g = e.charCodeAt(l)) {\n case 123:\n k++;\n break;\n\n case 125:\n k--;\n break;\n\n case 47:\n switch (g = e.charCodeAt(l + 1)) {\n case 42:\n case 47:\n a: {\n for (u = l + 1; u < J; ++u) {\n switch (e.charCodeAt(u)) {\n case 47:\n if (42 === g && 42 === e.charCodeAt(u - 1) && l + 2 !== u) {\n l = u + 1;\n break a;\n }\n\n break;\n\n case 10:\n if (47 === g) {\n l = u + 1;\n break a;\n }\n\n }\n }\n\n l = u;\n }\n\n }\n\n break;\n\n case 91:\n g++;\n\n case 40:\n g++;\n\n case 34:\n case 39:\n for (; l++ < J && e.charCodeAt(l) !== g;) {\n }\n\n }\n\n if (0 === k) break;\n l++;\n }\n\n k = e.substring(t, l);\n 0 === q && (q = (f = f.replace(ca, '').trim()).charCodeAt(0));\n\n switch (q) {\n case 64:\n 0 < r && (f = f.replace(N, ''));\n g = f.charCodeAt(1);\n\n switch (g) {\n case 100:\n case 109:\n case 115:\n case 45:\n r = c;\n break;\n\n default:\n r = O;\n }\n\n k = M(c, r, k, g, a + 1);\n t = k.length;\n 0 < A && (r = X(O, f, I), C = H(3, k, r, c, D, z, t, g, a, h), f = r.join(''), void 0 !== C && 0 === (t = (k = C.trim()).length) && (g = 0, k = ''));\n if (0 < t) switch (g) {\n case 115:\n f = f.replace(da, ea);\n\n case 100:\n case 109:\n case 45:\n k = f + '{' + k + '}';\n break;\n\n case 107:\n f = f.replace(fa, '$1 $2');\n k = f + '{' + k + '}';\n k = 1 === w || 2 === w && L('@' + k, 3) ? '@-webkit-' + k + '@' + k : '@' + k;\n break;\n\n default:\n k = f + k, 112 === h && (k = (p += k, ''));\n } else k = '';\n break;\n\n default:\n k = M(c, X(c, f, I), k, h, a + 1);\n }\n\n F += k;\n k = I = r = u = q = 0;\n f = '';\n g = e.charCodeAt(++l);\n break;\n\n case 125:\n case 59:\n f = (0 < r ? f.replace(N, '') : f).trim();\n if (1 < (t = f.length)) switch (0 === u && (q = f.charCodeAt(0), 45 === q || 96 < q && 123 > q) && (t = (f = f.replace(' ', ':')).length), 0 < A && void 0 !== (C = H(1, f, c, d, D, z, p.length, h, a, h)) && 0 === (t = (f = C.trim()).length) && (f = '\\x00\\x00'), q = f.charCodeAt(0), g = f.charCodeAt(1), q) {\n case 0:\n break;\n\n case 64:\n if (105 === g || 99 === g) {\n G += f + e.charAt(l);\n break;\n }\n\n default:\n 58 !== f.charCodeAt(t - 1) && (p += P(f, q, g, f.charCodeAt(2)));\n }\n I = r = u = q = 0;\n f = '';\n g = e.charCodeAt(++l);\n }\n }\n\n switch (g) {\n case 13:\n case 10:\n 47 === b ? b = 0 : 0 === 1 + q && 107 !== h && 0 < f.length && (r = 1, f += '\\x00');\n 0 < A * Y && H(0, f, c, d, D, z, p.length, h, a, h);\n z = 1;\n D++;\n break;\n\n case 59:\n case 125:\n if (0 === b + n + v + m) {\n z++;\n break;\n }\n\n default:\n z++;\n y = e.charAt(l);\n\n switch (g) {\n case 9:\n case 32:\n if (0 === n + m + b) switch (x) {\n case 44:\n case 58:\n case 9:\n case 32:\n y = '';\n break;\n\n default:\n 32 !== g && (y = ' ');\n }\n break;\n\n case 0:\n y = '\\\\0';\n break;\n\n case 12:\n y = '\\\\f';\n break;\n\n case 11:\n y = '\\\\v';\n break;\n\n case 38:\n 0 === n + b + m && (r = I = 1, y = '\\f' + y);\n break;\n\n case 108:\n if (0 === n + b + m + E && 0 < u) switch (l - u) {\n case 2:\n 112 === x && 58 === e.charCodeAt(l - 3) && (E = x);\n\n case 8:\n 111 === K && (E = K);\n }\n break;\n\n case 58:\n 0 === n + b + m && (u = l);\n break;\n\n case 44:\n 0 === b + v + n + m && (r = 1, y += '\\r');\n break;\n\n case 34:\n case 39:\n 0 === b && (n = n === g ? 0 : 0 === n ? g : n);\n break;\n\n case 91:\n 0 === n + b + v && m++;\n break;\n\n case 93:\n 0 === n + b + v && m--;\n break;\n\n case 41:\n 0 === n + b + m && v--;\n break;\n\n case 40:\n if (0 === n + b + m) {\n if (0 === q) switch (2 * x + 3 * K) {\n case 533:\n break;\n\n default:\n q = 1;\n }\n v++;\n }\n\n break;\n\n case 64:\n 0 === b + v + n + m + u + k && (k = 1);\n break;\n\n case 42:\n case 47:\n if (!(0 < n + m + v)) switch (b) {\n case 0:\n switch (2 * g + 3 * e.charCodeAt(l + 1)) {\n case 235:\n b = 47;\n break;\n\n case 220:\n t = l, b = 42;\n }\n\n break;\n\n case 42:\n 47 === g && 42 === x && t + 2 !== l && (33 === e.charCodeAt(t + 2) && (p += e.substring(t, l + 1)), y = '', b = 0);\n }\n }\n\n 0 === b && (f += y);\n }\n\n K = x;\n x = g;\n l++;\n }\n\n t = p.length;\n\n if (0 < t) {\n r = c;\n if (0 < A && (C = H(2, p, r, d, D, z, t, h, a, h), void 0 !== C && 0 === (p = C).length)) return G + p + F;\n p = r.join(',') + '{' + p + '}';\n\n if (0 !== w * E) {\n 2 !== w || L(p, 2) || (E = 0);\n\n switch (E) {\n case 111:\n p = p.replace(ha, ':-moz-$1') + p;\n break;\n\n case 112:\n p = p.replace(Q, '::-webkit-input-$1') + p.replace(Q, '::-moz-$1') + p.replace(Q, ':-ms-input-$1') + p;\n }\n\n E = 0;\n }\n }\n\n return G + p + F;\n }\n\n function X(d, c, e) {\n var h = c.trim().split(ia);\n c = h;\n var a = h.length,\n m = d.length;\n\n switch (m) {\n case 0:\n case 1:\n var b = 0;\n\n for (d = 0 === m ? '' : d[0] + ' '; b < a; ++b) {\n c[b] = Z(d, c[b], e).trim();\n }\n\n break;\n\n default:\n var v = b = 0;\n\n for (c = []; b < a; ++b) {\n for (var n = 0; n < m; ++n) {\n c[v++] = Z(d[n] + ' ', h[b], e).trim();\n }\n }\n\n }\n\n return c;\n }\n\n function Z(d, c, e) {\n var h = c.charCodeAt(0);\n 33 > h && (h = (c = c.trim()).charCodeAt(0));\n\n switch (h) {\n case 38:\n return c.replace(F, '$1' + d.trim());\n\n case 58:\n return d.trim() + c.replace(F, '$1' + d.trim());\n\n default:\n if (0 < 1 * e && 0 < c.indexOf('\\f')) return c.replace(F, (58 === d.charCodeAt(0) ? '' : '$1') + d.trim());\n }\n\n return d + c;\n }\n\n function P(d, c, e, h) {\n var a = d + ';',\n m = 2 * c + 3 * e + 4 * h;\n\n if (944 === m) {\n d = a.indexOf(':', 9) + 1;\n var b = a.substring(d, a.length - 1).trim();\n b = a.substring(0, d).trim() + b + ';';\n return 1 === w || 2 === w && L(b, 1) ? '-webkit-' + b + b : b;\n }\n\n if (0 === w || 2 === w && !L(a, 1)) return a;\n\n switch (m) {\n case 1015:\n return 97 === a.charCodeAt(10) ? '-webkit-' + a + a : a;\n\n case 951:\n return 116 === a.charCodeAt(3) ? '-webkit-' + a + a : a;\n\n case 963:\n return 110 === a.charCodeAt(5) ? '-webkit-' + a + a : a;\n\n case 1009:\n if (100 !== a.charCodeAt(4)) break;\n\n case 969:\n case 942:\n return '-webkit-' + a + a;\n\n case 978:\n return '-webkit-' + a + '-moz-' + a + a;\n\n case 1019:\n case 983:\n return '-webkit-' + a + '-moz-' + a + '-ms-' + a + a;\n\n case 883:\n if (45 === a.charCodeAt(8)) return '-webkit-' + a + a;\n if (0 < a.indexOf('image-set(', 11)) return a.replace(ja, '$1-webkit-$2') + a;\n break;\n\n case 932:\n if (45 === a.charCodeAt(4)) switch (a.charCodeAt(5)) {\n case 103:\n return '-webkit-box-' + a.replace('-grow', '') + '-webkit-' + a + '-ms-' + a.replace('grow', 'positive') + a;\n\n case 115:\n return '-webkit-' + a + '-ms-' + a.replace('shrink', 'negative') + a;\n\n case 98:\n return '-webkit-' + a + '-ms-' + a.replace('basis', 'preferred-size') + a;\n }\n return '-webkit-' + a + '-ms-' + a + a;\n\n case 964:\n return '-webkit-' + a + '-ms-flex-' + a + a;\n\n case 1023:\n if (99 !== a.charCodeAt(8)) break;\n b = a.substring(a.indexOf(':', 15)).replace('flex-', '').replace('space-between', 'justify');\n return '-webkit-box-pack' + b + '-webkit-' + a + '-ms-flex-pack' + b + a;\n\n case 1005:\n return ka.test(a) ? a.replace(aa, ':-webkit-') + a.replace(aa, ':-moz-') + a : a;\n\n case 1e3:\n b = a.substring(13).trim();\n c = b.indexOf('-') + 1;\n\n switch (b.charCodeAt(0) + b.charCodeAt(c)) {\n case 226:\n b = a.replace(G, 'tb');\n break;\n\n case 232:\n b = a.replace(G, 'tb-rl');\n break;\n\n case 220:\n b = a.replace(G, 'lr');\n break;\n\n default:\n return a;\n }\n\n return '-webkit-' + a + '-ms-' + b + a;\n\n case 1017:\n if (-1 === a.indexOf('sticky', 9)) break;\n\n case 975:\n c = (a = d).length - 10;\n b = (33 === a.charCodeAt(c) ? a.substring(0, c) : a).substring(d.indexOf(':', 7) + 1).trim();\n\n switch (m = b.charCodeAt(0) + (b.charCodeAt(7) | 0)) {\n case 203:\n if (111 > b.charCodeAt(8)) break;\n\n case 115:\n a = a.replace(b, '-webkit-' + b) + ';' + a;\n break;\n\n case 207:\n case 102:\n a = a.replace(b, '-webkit-' + (102 < m ? 'inline-' : '') + 'box') + ';' + a.replace(b, '-webkit-' + b) + ';' + a.replace(b, '-ms-' + b + 'box') + ';' + a;\n }\n\n return a + ';';\n\n case 938:\n if (45 === a.charCodeAt(5)) switch (a.charCodeAt(6)) {\n case 105:\n return b = a.replace('-items', ''), '-webkit-' + a + '-webkit-box-' + b + '-ms-flex-' + b + a;\n\n case 115:\n return '-webkit-' + a + '-ms-flex-item-' + a.replace(ba, '') + a;\n\n default:\n return '-webkit-' + a + '-ms-flex-line-pack' + a.replace('align-content', '').replace(ba, '') + a;\n }\n break;\n\n case 973:\n case 989:\n if (45 !== a.charCodeAt(3) || 122 === a.charCodeAt(4)) break;\n\n case 931:\n case 953:\n if (!0 === la.test(d)) return 115 === (b = d.substring(d.indexOf(':') + 1)).charCodeAt(0) ? P(d.replace('stretch', 'fill-available'), c, e, h).replace(':fill-available', ':stretch') : a.replace(b, '-webkit-' + b) + a.replace(b, '-moz-' + b.replace('fill-', '')) + a;\n break;\n\n case 962:\n if (a = '-webkit-' + a + (102 === a.charCodeAt(5) ? '-ms-' + a : '') + a, 211 === e + h && 105 === a.charCodeAt(13) && 0 < a.indexOf('transform', 10)) return a.substring(0, a.indexOf(';', 27) + 1).replace(ma, '$1-webkit-$2') + a;\n }\n\n return a;\n }\n\n function L(d, c) {\n var e = d.indexOf(1 === c ? ':' : '{'),\n h = d.substring(0, 3 !== c ? e : 10);\n e = d.substring(e + 1, d.length - 1);\n return R(2 !== c ? h : h.replace(na, '$1'), e, c);\n }\n\n function ea(d, c) {\n var e = P(c, c.charCodeAt(0), c.charCodeAt(1), c.charCodeAt(2));\n return e !== c + ';' ? e.replace(oa, ' or ($1)').substring(4) : '(' + c + ')';\n }\n\n function H(d, c, e, h, a, m, b, v, n, q) {\n for (var g = 0, x = c, w; g < A; ++g) {\n switch (w = S[g].call(B, d, x, e, h, a, m, b, v, n, q)) {\n case void 0:\n case !1:\n case !0:\n case null:\n break;\n\n default:\n x = w;\n }\n }\n\n if (x !== c) return x;\n }\n\n function T(d) {\n switch (d) {\n case void 0:\n case null:\n A = S.length = 0;\n break;\n\n default:\n if ('function' === typeof d) S[A++] = d;else if ('object' === typeof d) for (var c = 0, e = d.length; c < e; ++c) {\n T(d[c]);\n } else Y = !!d | 0;\n }\n\n return T;\n }\n\n function U(d) {\n d = d.prefix;\n void 0 !== d && (R = null, d ? 'function' !== typeof d ? w = 1 : (w = 2, R = d) : w = 0);\n return U;\n }\n\n function B(d, c) {\n var e = d;\n 33 > e.charCodeAt(0) && (e = e.trim());\n V = e;\n e = [V];\n\n if (0 < A) {\n var h = H(-1, c, e, e, D, z, 0, 0, 0, 0);\n void 0 !== h && 'string' === typeof h && (c = h);\n }\n\n var a = M(O, e, c, 0, 0);\n 0 < A && (h = H(-2, a, e, e, D, z, a.length, 0, 0, 0), void 0 !== h && (a = h));\n V = '';\n E = 0;\n z = D = 1;\n return a;\n }\n\n var ca = /^\\0+/g,\n N = /[\\0\\r\\f]/g,\n aa = /: */g,\n ka = /zoo|gra/,\n ma = /([,: ])(transform)/g,\n ia = /,\\r+?/g,\n F = /([\\t\\r\\n ])*\\f?&/g,\n fa = /@(k\\w+)\\s*(\\S*)\\s*/,\n Q = /::(place)/g,\n ha = /:(read-only)/g,\n G = /[svh]\\w+-[tblr]{2}/,\n da = /\\(\\s*(.*)\\s*\\)/g,\n oa = /([\\s\\S]*?);/g,\n ba = /-self|flex-/g,\n na = /[^]*?(:[rp][el]a[\\w-]+)[^]*/,\n la = /stretch|:\\s*\\w+\\-(?:conte|avail)/,\n ja = /([^-])(image-set\\()/,\n z = 1,\n D = 1,\n E = 0,\n w = 1,\n O = [],\n S = [],\n A = 0,\n R = null,\n Y = 0,\n V = '';\n B.use = T;\n B.set = U;\n void 0 !== W && U(W);\n return B;\n}\n\nexport default stylis_min;\n","var unitlessKeys = {\n animationIterationCount: 1,\n borderImageOutset: 1,\n borderImageSlice: 1,\n borderImageWidth: 1,\n boxFlex: 1,\n boxFlexGroup: 1,\n boxOrdinalGroup: 1,\n columnCount: 1,\n columns: 1,\n flex: 1,\n flexGrow: 1,\n flexPositive: 1,\n flexShrink: 1,\n flexNegative: 1,\n flexOrder: 1,\n gridRow: 1,\n gridRowEnd: 1,\n gridRowSpan: 1,\n gridRowStart: 1,\n gridColumn: 1,\n gridColumnEnd: 1,\n gridColumnSpan: 1,\n gridColumnStart: 1,\n msGridRow: 1,\n msGridRowSpan: 1,\n msGridColumn: 1,\n msGridColumnSpan: 1,\n fontWeight: 1,\n lineHeight: 1,\n opacity: 1,\n order: 1,\n orphans: 1,\n tabSize: 1,\n widows: 1,\n zIndex: 1,\n zoom: 1,\n WebkitLineClamp: 1,\n // SVG-related properties\n fillOpacity: 1,\n floodOpacity: 1,\n stopOpacity: 1,\n strokeDasharray: 1,\n strokeDashoffset: 1,\n strokeMiterlimit: 1,\n strokeOpacity: 1,\n strokeWidth: 1\n};\n\nexport default unitlessKeys;\n","module.exports = require('./lib/axios');","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar cookies = require('./../helpers/cookies');\nvar buildURL = require('./../helpers/buildURL');\nvar buildFullPath = require('../core/buildFullPath');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar createError = require('../core/createError');\nvar defaults = require('../defaults');\nvar Cancel = require('../cancel/Cancel');\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n var responseType = config.responseType;\n var onCanceled;\n function done() {\n if (config.cancelToken) {\n config.cancelToken.unsubscribe(onCanceled);\n }\n\n if (config.signal) {\n config.signal.removeEventListener('abort', onCanceled);\n }\n }\n\n if (utils.isFormData(requestData)) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest();\n\n // HTTP basic authentication\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n var fullPath = buildFullPath(config.baseURL, config.url);\n request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !responseType || responseType === 'text' || responseType === 'json' ?\n request.responseText : request.response;\n var response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n\n settle(function _resolve(value) {\n resolve(value);\n done();\n }, function _reject(err) {\n reject(err);\n done();\n }, response);\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(createError('Request aborted', config, 'ECONNABORTED', request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(createError('Network Error', config, null, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n var timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';\n var transitional = config.transitional || defaults.transitional;\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(createError(\n timeoutErrorMessage,\n config,\n transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if (utils.isStandardBrowserEnv()) {\n // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?\n cookies.read(config.xsrfCookieName) :\n undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n }\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = config.responseType;\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken || config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = function(cancel) {\n if (!request) {\n return;\n }\n reject(!cancel || (cancel && cancel.type) ? new Cancel('canceled') : cancel);\n request.abort();\n request = null;\n };\n\n config.cancelToken && config.cancelToken.subscribe(onCanceled);\n if (config.signal) {\n config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n if (!requestData) {\n requestData = null;\n }\n\n // Send the request\n request.send(requestData);\n });\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar bind = require('./helpers/bind');\nvar Axios = require('./core/Axios');\nvar mergeConfig = require('./core/mergeConfig');\nvar defaults = require('./defaults');\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context);\n\n // Copy context to instance\n utils.extend(instance, context);\n\n // Factory for creating new instances\n instance.create = function create(instanceConfig) {\n return createInstance(mergeConfig(defaultConfig, instanceConfig));\n };\n\n return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Expose Cancel & CancelToken\naxios.Cancel = require('./cancel/Cancel');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel');\naxios.VERSION = require('./env/data').version;\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\n// Expose isAxiosError\naxios.isAxiosError = require('./helpers/isAxiosError');\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n","'use strict';\n\n/**\n * A `Cancel` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\nfunction Cancel(message) {\n this.message = message;\n}\n\nCancel.prototype.toString = function toString() {\n return 'Cancel' + (this.message ? ': ' + this.message : '');\n};\n\nCancel.prototype.__CANCEL__ = true;\n\nmodule.exports = Cancel;\n","'use strict';\n\nvar Cancel = require('./Cancel');\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\nfunction CancelToken(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n var resolvePromise;\n\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n var token = this;\n\n // eslint-disable-next-line func-names\n this.promise.then(function(cancel) {\n if (!token._listeners) return;\n\n var i;\n var l = token._listeners.length;\n\n for (i = 0; i < l; i++) {\n token._listeners[i](cancel);\n }\n token._listeners = null;\n });\n\n // eslint-disable-next-line func-names\n this.promise.then = function(onfulfilled) {\n var _resolve;\n // eslint-disable-next-line func-names\n var promise = new Promise(function(resolve) {\n token.subscribe(resolve);\n _resolve = resolve;\n }).then(onfulfilled);\n\n promise.cancel = function reject() {\n token.unsubscribe(_resolve);\n };\n\n return promise;\n };\n\n executor(function cancel(message) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new Cancel(message);\n resolvePromise(token.reason);\n });\n}\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n\n/**\n * Subscribe to the cancel signal\n */\n\nCancelToken.prototype.subscribe = function subscribe(listener) {\n if (this.reason) {\n listener(this.reason);\n return;\n }\n\n if (this._listeners) {\n this._listeners.push(listener);\n } else {\n this._listeners = [listener];\n }\n};\n\n/**\n * Unsubscribe from the cancel signal\n */\n\nCancelToken.prototype.unsubscribe = function unsubscribe(listener) {\n if (!this._listeners) {\n return;\n }\n var index = this._listeners.indexOf(listener);\n if (index !== -1) {\n this._listeners.splice(index, 1);\n }\n};\n\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\nCancelToken.source = function source() {\n var cancel;\n var token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token: token,\n cancel: cancel\n };\n};\n\nmodule.exports = CancelToken;\n","'use strict';\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar buildURL = require('../helpers/buildURL');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar mergeConfig = require('./mergeConfig');\nvar validator = require('../helpers/validator');\n\nvar validators = validator.validators;\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof config === 'string') {\n config = arguments[1] || {};\n config.url = arguments[0];\n } else {\n config = config || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n // Set config.method\n if (config.method) {\n config.method = config.method.toLowerCase();\n } else if (this.defaults.method) {\n config.method = this.defaults.method.toLowerCase();\n } else {\n config.method = 'get';\n }\n\n var transitional = config.transitional;\n\n if (transitional !== undefined) {\n validator.assertOptions(transitional, {\n silentJSONParsing: validators.transitional(validators.boolean),\n forcedJSONParsing: validators.transitional(validators.boolean),\n clarifyTimeoutError: validators.transitional(validators.boolean)\n }, false);\n }\n\n // filter out skipped interceptors\n var requestInterceptorChain = [];\n var synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n var responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n var promise;\n\n if (!synchronousRequestInterceptors) {\n var chain = [dispatchRequest, undefined];\n\n Array.prototype.unshift.apply(chain, requestInterceptorChain);\n chain = chain.concat(responseInterceptorChain);\n\n promise = Promise.resolve(config);\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n }\n\n\n var newConfig = config;\n while (requestInterceptorChain.length) {\n var onFulfilled = requestInterceptorChain.shift();\n var onRejected = requestInterceptorChain.shift();\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected(error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest(newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n while (responseInterceptorChain.length) {\n promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());\n }\n\n return promise;\n};\n\nAxios.prototype.getUri = function getUri(config) {\n config = mergeConfig(this.defaults, config);\n return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\\?/, '');\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: (config || {}).data\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, data, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n});\n\nmodule.exports = Axios;\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;\n","'use strict';\n\nvar isAbsoluteURL = require('../helpers/isAbsoluteURL');\nvar combineURLs = require('../helpers/combineURLs');\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n * @returns {string} The combined full path\n */\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n};\n","'use strict';\n\nvar enhanceError = require('./enhanceError');\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nmodule.exports = function createError(message, config, code, request, response) {\n var error = new Error(message);\n return enhanceError(error, config, code, request, response);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar transformData = require('./transformData');\nvar isCancel = require('../cancel/isCancel');\nvar defaults = require('../defaults');\nvar Cancel = require('../cancel/Cancel');\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n\n if (config.signal && config.signal.aborted) {\n throw new Cancel('canceled');\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n // Ensure headers exist\n config.headers = config.headers || {};\n\n // Transform request data\n config.data = transformData.call(\n config,\n config.data,\n config.headers,\n config.transformRequest\n );\n\n // Flatten headers\n config.headers = utils.merge(\n config.headers.common || {},\n config.headers[config.method] || {},\n config.headers\n );\n\n utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n function cleanHeaderConfig(method) {\n delete config.headers[method];\n }\n );\n\n var adapter = config.adapter || defaults.adapter;\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData.call(\n config,\n response.data,\n response.headers,\n config.transformResponse\n );\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData.call(\n config,\n reason.response.data,\n reason.response.headers,\n config.transformResponse\n );\n }\n }\n\n return Promise.reject(reason);\n });\n};\n","'use strict';\n\n/**\n * Update an Error with the specified config, error code, and response.\n *\n * @param {Error} error The error to update.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The error.\n */\nmodule.exports = function enhanceError(error, config, code, request, response) {\n error.config = config;\n if (code) {\n error.code = code;\n }\n\n error.request = request;\n error.response = response;\n error.isAxiosError = true;\n\n error.toJSON = function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: this.config,\n code: this.code,\n status: this.response && this.response.status ? this.response.status : null\n };\n };\n return error;\n};\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n * @returns {Object} New object resulting from merging config2 to config1\n */\nmodule.exports = function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n var config = {};\n\n function getMergedValue(target, source) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge(target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDeepProperties(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(config1[prop], config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function valueFromConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(undefined, config2[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function defaultToConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(undefined, config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDirectKeys(prop) {\n if (prop in config2) {\n return getMergedValue(config1[prop], config2[prop]);\n } else if (prop in config1) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n var mergeMap = {\n 'url': valueFromConfig2,\n 'method': valueFromConfig2,\n 'data': valueFromConfig2,\n 'baseURL': defaultToConfig2,\n 'transformRequest': defaultToConfig2,\n 'transformResponse': defaultToConfig2,\n 'paramsSerializer': defaultToConfig2,\n 'timeout': defaultToConfig2,\n 'timeoutMessage': defaultToConfig2,\n 'withCredentials': defaultToConfig2,\n 'adapter': defaultToConfig2,\n 'responseType': defaultToConfig2,\n 'xsrfCookieName': defaultToConfig2,\n 'xsrfHeaderName': defaultToConfig2,\n 'onUploadProgress': defaultToConfig2,\n 'onDownloadProgress': defaultToConfig2,\n 'decompress': defaultToConfig2,\n 'maxContentLength': defaultToConfig2,\n 'maxBodyLength': defaultToConfig2,\n 'transport': defaultToConfig2,\n 'httpAgent': defaultToConfig2,\n 'httpsAgent': defaultToConfig2,\n 'cancelToken': defaultToConfig2,\n 'socketPath': defaultToConfig2,\n 'responseEncoding': defaultToConfig2,\n 'validateStatus': mergeDirectKeys\n };\n\n utils.forEach(Object.keys(config1).concat(Object.keys(config2)), function computeConfigValue(prop) {\n var merge = mergeMap[prop] || mergeDeepProperties;\n var configValue = merge(prop);\n (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);\n });\n\n return config;\n};\n","'use strict';\n\nvar createError = require('./createError');\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(createError(\n 'Request failed with status code ' + response.status,\n response.config,\n null,\n response.request,\n response\n ));\n }\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar defaults = require('./../defaults');\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n var context = this || defaults;\n /*eslint no-param-reassign:0*/\n utils.forEach(fns, function transform(fn) {\n data = fn.call(context, data, headers);\n });\n\n return data;\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar normalizeHeaderName = require('./helpers/normalizeHeaderName');\nvar enhanceError = require('./core/enhanceError');\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = require('./adapters/xhr');\n } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n // For node use HTTP adapter\n adapter = require('./adapters/http');\n }\n return adapter;\n}\n\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nvar defaults = {\n\n transitional: {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n },\n\n adapter: getDefaultAdapter(),\n\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Accept');\n normalizeHeaderName(headers, 'Content-Type');\n\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n if (utils.isObject(data) || (headers && headers['Content-Type'] === 'application/json')) {\n setContentTypeIfUnset(headers, 'application/json');\n return stringifySafely(data);\n }\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n var transitional = this.transitional || defaults.transitional;\n var silentJSONParsing = transitional && transitional.silentJSONParsing;\n var forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';\n\n if (strictJSONParsing || (forcedJSONParsing && utils.isString(data) && data.length)) {\n try {\n return JSON.parse(data);\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw enhanceError(e, this, 'E_JSON_PARSE');\n }\n throw e;\n }\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n\n headers: {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","module.exports = {\n \"version\": \"0.24.0\"\n};","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n return fn.apply(thisArg, args);\n };\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n } else {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n var hashmarkIndex = url.indexOf('#');\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs support document.cookie\n (function standardBrowserEnv() {\n return {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n })() :\n\n // Non standard browser env (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() { return null; },\n remove: function remove() {}\n };\n })()\n);\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d\\+\\-\\.]*:)?\\/\\//i.test(url);\n};\n","'use strict';\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nmodule.exports = function isAxiosError(payload) {\n return (typeof payload === 'object') && (payload.isAxiosError === true);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs have full support of the APIs needed to test\n // whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\n\n /**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })()\n);\n","'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n// Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nvar ignoreDuplicateOf = [\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n];\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) { return parsed; }\n\n utils.forEach(headers.split('\\n'), function parser(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n return;\n }\n if (key === 'set-cookie') {\n parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n });\n\n return parsed;\n};\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};\n","'use strict';\n\nvar VERSION = require('../env/data').version;\n\nvar validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nvar deprecatedWarnings = {};\n\n/**\n * Transitional option validator\n * @param {function|boolean?} validator - set to false if the transitional option has been removed\n * @param {string?} version - deprecated version / removed since version\n * @param {string?} message - some message with additional info\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n function formatMessage(opt, desc) {\n return '[Axios v' + VERSION + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n }\n\n // eslint-disable-next-line func-names\n return function(value, opt, opts) {\n if (validator === false) {\n throw new Error(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')));\n }\n\n if (version && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\n/**\n * Assert object's properties type\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object') {\n throw new TypeError('options must be an object');\n }\n var keys = Object.keys(options);\n var i = keys.length;\n while (i-- > 0) {\n var opt = keys[i];\n var validator = schema[opt];\n if (validator) {\n var value = options[opt];\n var result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new TypeError('option ' + opt + ' must be ' + result);\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw Error('Unknown option ' + opt);\n }\n }\n}\n\nmodule.exports = {\n assertOptions: assertOptions,\n validators: validators\n};\n","'use strict';\n\nvar bind = require('./helpers/bind');\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n return toString.call(val) === '[object Array]';\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nfunction isArrayBuffer(val) {\n return toString.call(val) === '[object ArrayBuffer]';\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(val) {\n return (typeof FormData !== 'undefined') && (val instanceof FormData);\n}\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n var result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {Object} val The value to test\n * @return {boolean} True if value is a plain Object, otherwise false\n */\nfunction isPlainObject(val) {\n if (toString.call(val) !== '[object Object]') {\n return false;\n }\n\n var prototype = Object.getPrototypeOf(val);\n return prototype === null || prototype === Object.prototype;\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nfunction isDate(val) {\n return toString.call(val) === '[object Date]';\n}\n\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nfunction isFile(val) {\n return toString.call(val) === '[object File]';\n}\n\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nfunction isBlob(val) {\n return toString.call(val) === '[object Blob]';\n}\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nfunction isURLSearchParams(val) {\n return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;\n}\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n return str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n */\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||\n navigator.product === 'NativeScript' ||\n navigator.product === 'NS')) {\n return false;\n }\n return (\n typeof window !== 'undefined' &&\n typeof document !== 'undefined'\n );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n var result = {};\n function assignValue(val, key) {\n if (isPlainObject(result[key]) && isPlainObject(val)) {\n result[key] = merge(result[key], val);\n } else if (isPlainObject(val)) {\n result[key] = merge({}, val);\n } else if (isArray(val)) {\n result[key] = val.slice();\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n * @return {string} content value without BOM\n */\nfunction stripBOM(content) {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isBuffer: isBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isPlainObject: isPlainObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n extend: extend,\n trim: trim,\n stripBOM: stripBOM\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar callBind = require('./');\n\nvar $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));\n\nmodule.exports = function callBoundIntrinsic(name, allowMissing) {\n\tvar intrinsic = GetIntrinsic(name, !!allowMissing);\n\tif (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n\t\treturn callBind(intrinsic);\n\t}\n\treturn intrinsic;\n};\n","'use strict';\n\nvar bind = require('function-bind');\nvar GetIntrinsic = require('get-intrinsic');\nvar setFunctionLength = require('set-function-length');\n\nvar $TypeError = require('es-errors/type');\nvar $apply = GetIntrinsic('%Function.prototype.apply%');\nvar $call = GetIntrinsic('%Function.prototype.call%');\nvar $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);\n\nvar $defineProperty = require('es-define-property');\nvar $max = GetIntrinsic('%Math.max%');\n\nmodule.exports = function callBind(originalFunction) {\n\tif (typeof originalFunction !== 'function') {\n\t\tthrow new $TypeError('a function is required');\n\t}\n\tvar func = $reflectApply(bind, $call, arguments);\n\treturn setFunctionLength(\n\t\tfunc,\n\t\t1 + $max(0, originalFunction.length - (arguments.length - 1)),\n\t\ttrue\n\t);\n};\n\nvar applyBind = function applyBind() {\n\treturn $reflectApply(bind, $apply, arguments);\n};\n\nif ($defineProperty) {\n\t$defineProperty(module.exports, 'apply', { value: applyBind });\n} else {\n\tmodule.exports.apply = applyBind;\n}\n","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\tvar nativeCodeString = '[native code]';\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"@keyframes jfa-bounce{0%,20%,53%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{transition-timing-function:cubic-bezier(.215,.61,.355,1);transform:translate3d(0,0,0) scaleY(.95)}90%{transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes jfa-bounce-in{0%,20%,40%,60%,80%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:scale3d(.3,.3,.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(.9,.9,.9)}60%{opacity:1;transform:scale3d(1.03,1.03,1.03)}80%{transform:scale3d(.97,.97,.97)}to{opacity:1;transform:scale3d(1,1,1)}}@keyframes jfa-bounce-in-down{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-150vh,0) scaleY(3)}60%{opacity:1;transform:translate3d(0,25px,0) scaleY(.9)}75%{transform:translate3d(0,-10px,0) scaleY(.95)}90%{transform:translate3d(0,5px,0) scaleY(.985)}to{transform:translate3d(0,0,0)}}@keyframes jfa-bounce-in-left{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-150vw,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(25px,0,0) scaleX(1)}75%{transform:translate3d(-10px,0,0) scaleX(.98)}90%{transform:translate3d(5px,0,0) scaleX(.995)}to{transform:translate3d(0,0,0)}}@keyframes jfa-bounce-in-right{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(150vw,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(-25px,0,0) scaleX(1)}75%{transform:translate3d(10px,0,0) scaleX(.98)}90%{transform:translate3d(-5px,0,0) scaleX(.995)}to{transform:translate3d(0,0,0)}}@keyframes jfa-bounce-in-top{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,150vh,0) scaleY(5)}60%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}75%{transform:translate3d(0,10px,0) scaleY(.95)}90%{transform:translate3d(0,-5px,0) scaleY(.985)}to{transform:translate3d(0,0,0)}}@keyframes jfa-bounce-out{20%{transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(.3,.3,.3);pointer-events:none}}@keyframes jfa-bounce-out-down{20%{transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,300%,0) scaleY(3);pointer-events:none}}@keyframes jfa-bounce-out-left{20%{opacity:1;transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(-300%,0,0) scaleX(2);pointer-events:none}}@keyframes jfa-bounce-out-right{20%{opacity:1;transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(300%,0,0) scaleX(2);pointer-events:none}}@keyframes jfa-bounce-out-top{20%{transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,-300%,0) scaleY(3);pointer-events:none}}@keyframes jfa-fade-in{0%{opacity:0}to{opacity:1}}@keyframes jfa-fade-in-down{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}@keyframes jfa-fade-in-full-down{0%{opacity:0;transform:translate3d(0,-200%,0)}to{opacity:1;transform:translate3d(0,0,0)}}@keyframes jfa-fade-in-left{0%{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}@keyframes jfa-fade-in-full-left{0%{opacity:0;transform:translate3d(-200%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}@keyframes jfa-fade-in-right{0%{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}@keyframes jfa-fade-in-full-right{0%{opacity:0;transform:translate3d(200%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}@keyframes jfa-fade-in-top{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}@keyframes jfa-fade-in-full-top{0%{opacity:0;transform:translate3d(0,200%,0)}to{opacity:1;transform:translate3d(0,0,0)}}@keyframes jfa-fade-out{0%{opacity:1}to{opacity:0;pointer-events:none}}@keyframes jfa-fade-out-down{0%{opacity:1}to{opacity:0;transform:translate3d(0,100%,0);pointer-events:none}}@keyframes jfa-fade-out-full-down{0%{opacity:1}to{opacity:0;transform:translate3d(0,200%,0);pointer-events:none}}@keyframes jfa-fade-out-left{0%{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0);pointer-events:none}}@keyframes jfa-fade-out-full-left{0%{opacity:1}to{opacity:0;transform:translate3d(-200%,0,0);pointer-events:none}}@keyframes jfa-fade-out-right{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0);pointer-events:none}}@keyframes jfa-fade-out-full-right{0%{opacity:1}to{opacity:0;transform:translate3d(200%,0,0);pointer-events:none}}@keyframes jfa-fade-out-top{0%{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0);pointer-events:none}}@keyframes jfa-fade-out-full-top{0%{opacity:1}to{opacity:0;transform:translate3d(0,-200%,0);pointer-events:none}}@keyframes jfa-flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes jfa-pulse{0%,to{transform:scale3d(1,1,1)}50%{transform:scale3d(1.05,1.05,1.05)}}@keyframes jfa-pulse-twice{0%,to{transform:scale3d(1,1,1)}50%{transform:scale3d(1.05,1.05,1.05)}}@keyframes jfa-rotate-in{0%{transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform:translate3d(0,0,0);opacity:1}}@keyframes jfa-rotate-out{0%{opacity:1}to{transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes jfa-shake{0%,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}@keyframes jfa-slide-in-down{0%{transform:translate(0,-100%);visibility:visible}to{transform:translate(0,0)}}@keyframes jfa-slide-in-left{0%{transform:translate(-100%,0);visibility:visible}to{transform:translate(0,0,0)}}@keyframes jfa-slide-in-right{0%{transform:translate(100%,0);visibility:visible}to{transform:translate(0,0)}}@keyframes jfa-slide-in-top{0%{transform:translate(0,100%);visibility:visible}to{transform:translate(0,0,0)}}@keyframes jfa-slide-out-down{0%{transform:translate(0,0)}to{visibility:hidden;transform:translate(0,100%);pointer-events:none}}@keyframes jfa-slide-out-left{0%{transform:translate(0,0)}to{visibility:hidden;transform:translate(-100%,0);pointer-events:none}}@keyframes jfa-slide-out-right{0%{transform:translate(0,0)}to{visibility:hidden;transform:translate(100%,0);pointer-events:none}}@keyframes jfa-slide-out-top{0%{transform:translate(0,0)}to{visibility:hidden;transform:translate(0,-100%);pointer-events:none}}@keyframes jfa-spin{to{transform:rotate(1turn)}}@keyframes jfa-spin-loader{to{transform:rotate(1turn)}}@keyframes jfa-zoom-in{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes jfa-zoom-out{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0;pointer-events:none}}.anim{animation-duration:.5s;animation-fill-mode:forwards}.bounce{animation-name:jfa-bounce;transform-origin:center bottom}.fade-in{animation-name:jfa-fade-in}.fade-in-top{animation-name:jfa-fade-in-top}.fade-out-right{animation-name:jfa-fade-out-right}.pulse{animation-name:jfa-pulse;animation-timing-function:ease-in-out}.spin{animation-name:jfa-spin;transform-origin:center}.spin-loader{animation-name:jfa-spin-loader;animation-iteration-count:infinite;transform-origin:center}.anim-150{animation-duration:.15s}.anim-delay-700{animation-delay:.7s}.anim-700{animation-duration:.7s}.anim-count-infinite{animation-iteration-count:infinite}.anim-backwards{animation-fill-mode:backwards}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"@property --bg-opacity{syntax:\\\"\\\";inherits:false;initial-value:1}@property --color-opacity{syntax:\\\"\\\";inherits:false;initial-value:1}@property --border-opacity{syntax:\\\"\\\";inherits:false;initial-value:1}@property --border-t-opacity{syntax:\\\"\\\";inherits:false;initial-value:1}@property --border-r-opacity{syntax:\\\"\\\";inherits:false;initial-value:1}@property --border-b-opacity{syntax:\\\"\\\";inherits:false;initial-value:1}@property --border-l-opacity{syntax:\\\"\\\";inherits:false;initial-value:1}@property --border-x-opacity{syntax:\\\"\\\";inherits:false;initial-value:1}@property --border-y-opacity{syntax:\\\"\\\";inherits:false;initial-value:1}@property --outline-opacity{syntax:\\\"\\\";inherits:false;initial-value:1}@property --divide-opacity{syntax:\\\"\\\";inherits:false;initial-value:1}@property --fill-opacity{syntax:\\\"\\\";inherits:false;initial-value:1}@property --stroke-opacity{syntax:\\\"\\\";inherits:false;initial-value:1}[class*=border],[class*=divide]>*{border:0 solid}[class*=outline]{outline:0 solid}:root{--jfv-transparent:transparent;--jfv-current:currentColor;--jfv-white:#ffffff;--jfv-black:#000000;--jfv-blue-100:#edf8ff;--jfv-blue-200:#77cfff;--jfv-blue-300:#4dbefc;--jfv-blue-400:#0099ff;--jfv-blue-500:#0075E3;--jfv-blue-600:#0066c3;--jfv-green-100:#edfed1;--jfv-green-200:#cbfb7b;--jfv-green-300:#a8eb38;--jfv-green-400:#7fca00;--jfv-green-500:#64b200;--jfv-green-600:#529300;--jfv-yellow-100:#fff5d2;--jfv-yellow-200:#ffdc7b;--jfv-yellow-300:#ffc42c;--jfv-yellow-400:#ffb629;--jfv-yellow-500:#f9a400;--jfv-yellow-600:#f49200;--jfv-orange-100:#ffe4cc;--jfv-orange-200:#fec48e;--jfv-orange-300:#ffa34f;--jfv-orange-400:#ff7b1c;--jfv-orange-500:#ff6100;--jfv-orange-600:#e55300;--jfv-red-100:#fef2f2;--jfv-red-200:#fecaca;--jfv-red-300:#f87171;--jfv-red-400:#dc2626;--jfv-red-500:#c90909;--jfv-red-600:#ab0101;--jfv-purple-100:#f3e2ff;--jfv-purple-200:#e0b7fd;--jfv-purple-300:#bf78f0;--jfv-purple-400:#9c4dd3;--jfv-purple-500:#892dca;--jfv-purple-600:#6915a4;--jfv-navy-10:#F9F9FF;--jfv-navy-25:#F3F3FE;--jfv-navy-50:#E3E5F5;--jfv-navy-75:#dadef3;--jfv-navy-100:#c8ceed;--jfv-navy-200:#979dc6;--jfv-navy-300:#6C73A8;--jfv-navy-400:#454e80;--jfv-navy-500:#343c6a;--jfv-navy-600:#252d5b;--jfv-navy-700:#0a1551;--jfv-navy-800:#091141;--jfv-navy-900:#050c34;--jfv-gray-25:#F1F1F4;--jfv-gray-50:#E2E3E9;--jfv-gray-75:#D3D6DE;--jfv-gray-100:#BFC3CE;--jfv-gray-200:#A0A6B6;--jfv-gray-300:#7F859C;--jfv-gray-400:#4C536F;--jfv-gray-500:#434A60;--jfv-gray-600:#33384a;--jfv-gray-700:#292D3C;--jfv-gray-800:#131620;--jfv-gray-900:#08090B;--jfv-analytics-light:#B9BEDF;--jfv-analytics-default:#8F96CC;--jfv-analytics-dark:#737CBF;--jfv-approvals-light:#008F75;--jfv-approvals-default:#007862;--jfv-approvals-dark:#006653;--jfv-apps-light:#bf78f0;--jfv-apps-default:#9c4dd3;--jfv-apps-dark:#892dca;--jfv-forms-light:#ff7b1c;--jfv-forms-default:#ff6100;--jfv-forms-dark:#e55300;--jfv-inbox-light:#59BED2;--jfv-inbox-default:#249BB4;--jfv-inbox-dark:#1989A0;--jfv-pages-light:#5887BF;--jfv-pages-default:#034F96;--jfv-pages-dark:#03294C;--jfv-pdf-light:#628EFF;--jfv-pdf-default:#3E62C8;--jfv-pdf-dark:#2F4EAD;--jfv-reports-light:#728DDD;--jfv-reports-default:#5369AB;--jfv-reports-dark:#344067;--jfv-sign-light:#94CD2A;--jfv-sign-default:#7BB60F;--jfv-sign-dark:#6DA900;--jfv-tables-light:#37C768;--jfv-tables-default:#049E38;--jfv-tables-dark:#007B2A;--jfv-teams-light:#303C77;--jfv-teams-default:#18235C;--jfv-teams-dark:#0C1540}.stroke{stroke-width:1px}.cursor-pointer{cursor:pointer}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-auto{cursor:auto}.font-circular{font-family:Circular,BlinkMacSystemFont,Helvetica}.bg-left-bottom{background-position:left bottom}.bg-right-top{background-position:right top}.object-cover{-o-object-fit:cover;object-fit:cover}.transform{--translate-x:0;--translate-y:0;--scale:1;--rotate:0;transform:translateX(var(--translate-x)) translateY(var(--translate-y)) scale(var(--scale)) rotate(var(--rotate))}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.list-inside{list-style-position:inside}.gradient-to-r{--direction:to right}.gradient-to-l,.gradient-to-r{background:linear-gradient(var(--direction),var(--from-color),var(--to-color))}.gradient-to-l{--direction:to left}.to-transparent{--to-color:transparent}.from-navy-900{--from-color:#050c34}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.appearance-none::-webkit-inner-spin-button,.appearance-none::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number].appearance-none{-moz-appearance:textfield}.resize-none{resize:none}.resize-both{resize:both}.resize-x{resize:horizontal}.resize-y{resize:vertical}.break-all{word-break:break-all}.break-keep{word-break:keep-all}.break-word{word-break:break-word}.line-clamp-1,.line-clamp-2{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.line-clamp-2{-webkit-line-clamp:2}.border-0{border-width:0}[dir=rtl] .rtl\\\\:border-l-0{border-left-width:0}.border-t-0{border-top-width:0}.border-2{border-width:.125rem}.border-b-2{border-bottom-width:.125rem}.border-4{border-width:.25rem}.border-l-4{border-left-width:.25rem}.border-b-4{border-bottom-width:.25rem}.border{border-width:1px}.border-l{border-left-width:1px}.border-r,[dir=rtl] .rtl\\\\:border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-b{border-bottom-width:1px}.divide-y>:not(.hidden)~:not(.hidden){border-top-width:1px}.fill-white{fill:rgba(255,255,255,1);fill:rgba(255,255,255,var(--fill-opacity,1))}.fill-blue-300{fill:rgba(77,190,252,1);fill:rgba(77,190,252,var(--fill-opacity,1))}.fill-blue-400{fill:rgba(0,153,255,1);fill:rgba(0,153,255,var(--fill-opacity,1))}.fill-blue-500{fill:rgba(0,117,227,1);fill:rgba(0,117,227,var(--fill-opacity,1))}.fill-blue-600{fill:rgba(0,102,195,1);fill:rgba(0,102,195,var(--fill-opacity,1))}.fill-green-500{fill:rgba(100,178,0,1);fill:rgba(100,178,0,var(--fill-opacity,1))}.fill-yellow-100{fill:rgba(255,245,210,1);fill:rgba(255,245,210,var(--fill-opacity,1))}.fill-yellow-400{fill:rgba(255,182,41,1);fill:rgba(255,182,41,var(--fill-opacity,1))}.fill-yellow-500{fill:rgba(249,164,0,1);fill:rgba(249,164,0,var(--fill-opacity,1))}.fill-yellow-600{fill:rgba(244,146,0,1);fill:rgba(244,146,0,var(--fill-opacity,1))}.fill-red-400{fill:rgba(220,38,38,1);fill:rgba(220,38,38,var(--fill-opacity,1))}.fill-purple-400{fill:rgba(156,77,211,1);fill:rgba(156,77,211,var(--fill-opacity,1))}.divide-navy-100>:not(.hidden)~:not(.hidden){border-color:rgba(200,206,237,1);border-color:rgba(200,206,237,var(--divide-opacity,1))}.fill-navy-100{fill:rgba(200,206,237,1);fill:rgba(200,206,237,var(--fill-opacity,1))}.fill-navy-300{fill:rgba(108,115,168,1);fill:rgba(108,115,168,var(--fill-opacity,1))}.fill-navy-500{fill:rgba(52,60,106,1);fill:rgba(52,60,106,var(--fill-opacity,1))}.fill-navy-700{fill:rgba(10,21,81,1);fill:rgba(10,21,81,var(--fill-opacity,1))}.fill-gray-500{fill:rgba(67,74,96,1);fill:rgba(67,74,96,var(--fill-opacity,1))}.fill-pdf-default{fill:rgba(62,98,200,1);fill:rgba(62,98,200,var(--fill-opacity,1))}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.overflow-scroll{overflow:scroll}.overflow-x-scroll{overflow-x:scroll}.overflow-y-scroll{overflow-y:scroll}.overflow-auto{overflow:auto}.overflow-y-auto{overflow-y:auto}.overflow-visible{overflow:visible}.overscroll-contain{overscroll-behavior:contain}.absolute{position:absolute}.relative{position:relative}.fixed{position:fixed}.static{position:static}.sticky{position:sticky}.text-center{text-align:center}.text-left{text-align:left}.text-right,[dir=rtl] .rtl\\\\:text-right{text-align:right}.text-capitalize{text-transform:capitalize}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.float-left,[dir=rtl] .rtl\\\\:float-left{float:left}.float-right,[dir=rtl] .rtl\\\\:float-right{float:right}.p-0{padding:0}.px-0{padding-left:0;padding-right:0}.py-0{padding-top:0;padding-bottom:0}.pb-0{padding-bottom:0}.pr-0,[dir=rtl] .rtl\\\\:pr-0{padding-right:0}.p-1{padding:.25rem}.px-1{padding-left:.25rem;padding-right:.25rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.pt-1{padding-top:.25rem}.pb-1{padding-bottom:.25rem}.pl-1{padding-left:.25rem}.pr-1{padding-right:.25rem}.p-2{padding:.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pt-2{padding-top:.5rem}.pb-2{padding-bottom:.5rem}.pl-2{padding-left:.5rem}.pr-2{padding-right:.5rem}.p-3{padding:.75rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.pt-3{padding-top:.75rem}.pb-3{padding-bottom:.75rem}.pl-3,[dir=rtl] .rtl\\\\:pl-3{padding-left:.75rem}.pr-3{padding-right:.75rem}.p-4{padding:1rem}.px-4{padding-left:1rem;padding-right:1rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pt-4{padding-top:1rem}.pb-4{padding-bottom:1rem}.pl-4{padding-left:1rem}.pr-4,[dir=rtl] .rtl\\\\:pr-4{padding-right:1rem}.p-5{padding:1.25rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.pt-5{padding-top:1.25rem}.pb-5{padding-bottom:1.25rem}.p-6{padding:1.5rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pt-6{padding-top:1.5rem}.pb-6{padding-bottom:1.5rem}.pl-6{padding-left:1.5rem}.pr-6{padding-right:1.5rem}.px-7{padding-left:1.75rem;padding-right:1.75rem}.py-7{padding-top:1.75rem;padding-bottom:1.75rem}.pt-7{padding-top:1.75rem}.pl-7{padding-left:1.75rem}.pr-7{padding-right:1.75rem}.p-8{padding:2rem}.px-8{padding-left:2rem;padding-right:2rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pt-8{padding-top:2rem}.pb-8{padding-bottom:2rem}.pl-8{padding-left:2rem}.pr-8,[dir=rtl] .rtl\\\\:pr-8{padding-right:2rem}.px-9{padding-left:2.25rem;padding-right:2.25rem}.pt-9{padding-top:2.25rem}.pr-9{padding-right:2.25rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.pt-10{padding-top:2.5rem}.pl-10{padding-left:2.5rem}.pr-10{padding-right:2.5rem}.p-12{padding:3rem}.px-12{padding-left:3rem;padding-right:3rem}.pt-12{padding-top:3rem}.pb-12{padding-bottom:3rem}.pl-12{padding-left:3rem}.p-14{padding:3.5rem}.py-14{padding-top:3.5rem;padding-bottom:3.5rem}.pt-14{padding-top:3.5rem}.pl-14,[dir=rtl] .rtl\\\\:pl-14{padding-left:3.5rem}.pr-14{padding-right:3.5rem}.p-16{padding:4rem}.pt-16{padding-top:4rem}.py-18{padding-top:4.5rem;padding-bottom:4.5rem}.pb-20{padding-bottom:5rem}.pt-24{padding-top:6rem}.pb-24{padding-bottom:6rem}[dir=rtl] .rtl\\\\:pl-28{padding-left:7rem}.pr-28{padding-right:7rem}.pt-36{padding-top:9rem}.pb-36{padding-bottom:9rem}.p-px{padding:1px}.py-px{padding-top:1px;padding-bottom:1px}.p-0\\\\.5{padding:.125rem}.py-0\\\\.5{padding-top:.125rem;padding-bottom:.125rem}.pt-0\\\\.5{padding-top:.125rem}.p-1\\\\.5{padding:.375rem}.px-1\\\\.5{padding-left:.375rem;padding-right:.375rem}.py-1\\\\.5{padding-top:.375rem;padding-bottom:.375rem}.pl-1\\\\.5{padding-left:.375rem}.pr-1\\\\.5{padding-right:.375rem}.p-2\\\\.5{padding:.625rem}.px-2\\\\.5{padding-left:.625rem;padding-right:.625rem}.py-2\\\\.5{padding-top:.625rem;padding-bottom:.625rem}.pl-2\\\\.5{padding-left:.625rem}.p-3\\\\.5{padding:.875rem}.pb-3\\\\.5{padding-bottom:.875rem}.pl-3\\\\.5{padding-left:.875rem}.space-x-1>*+*{margin-left:.25rem}.space-y-1>*+*{margin-top:.25rem}.space-x-2>*+*{margin-left:.5rem}.space-y-2>*+*{margin-top:.5rem}.space-y-3>*+*{margin-top:.75rem}.space-y-4>*+*{margin-top:1rem}.space-y-6>*+*{margin-top:1.5rem}.text-15{font-size:15px;line-height:20px}.text-xxs{font-size:.625rem;line-height:.75rem}.text-xs{font-size:.75rem;line-height:1rem}.text-sm{font-size:.875rem;line-height:1.125rem}.text-md{font-size:1rem;line-height:1.25rem}.text-lg{font-size:1.125rem;line-height:1.375rem}.text-xl{font-size:1.25rem;line-height:1.5rem}.text-2xl{font-size:1.5rem;line-height:1.75rem}.text-3xl{font-size:1.75rem;line-height:2rem}.text-4xl{font-size:2rem;line-height:2.5rem}.text-5xl{font-size:2.25rem;line-height:2.75rem}.text-6xl{font-size:2.5rem;line-height:2.875rem}.text-8xl{font-size:3.375rem;line-height:3.75rem}.line-height-xxs{line-height:.75rem}.line-height-xs{line-height:1rem}.line-height-sm{line-height:1.125rem}.line-height-md{line-height:1.25rem}.line-height-lg{line-height:1.375rem}.line-height-xl{line-height:1.5rem}.line-height-2xl{line-height:1.75rem}.line-height-3xl{line-height:2rem}.line-height-4xl{line-height:2.5rem}.line-height-6xl{line-height:2.875rem}.tracking-xxxs{letter-spacing:-.021em}.tracking-sm{letter-spacing:-.014em}.tracking-md{letter-spacing:-.011em}.tracking-lg{letter-spacing:-.006em}.tracking-xl{letter-spacing:.01em}.pointer-events-none{pointer-events:none}.justify-center{justify-content:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.justify-evenly{justify-content:space-evenly}.justify-self-auto{justify-self:auto}.justify-self-start{justify-self:start}.justify-self-end{justify-self:end}.justify-self-center{justify-self:center}.justify-self-stretch{justify-self:stretch}.self-auto{align-self:auto}.self-center{align-self:center}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.self-stretch{align-self:stretch}.self-baseline{align-self:baseline}.items-center{align-items:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-stretch{align-items:stretch}.items-baseline{align-items:baseline}.align-middle{vertical-align:middle}.align-bottom{vertical-align:bottom}.align-text-top{vertical-align:text-top}.min-w-0{min-width:0}.min-h-0{min-height:0}.min-w-2{min-width:.5rem}.min-w-4{min-width:1rem}.min-h-4{min-height:1rem}.min-w-5{min-width:1.25rem}.min-h-5{min-height:1.25rem}.min-w-6{min-width:1.5rem}.min-h-6{min-height:1.5rem}.min-w-8{min-width:2rem}.min-h-8{min-height:2rem}.min-w-10{min-width:2.5rem}.min-h-10{min-height:2.5rem}.min-w-12{min-width:3rem}.min-h-12{min-height:3rem}.min-w-14{min-width:3.5rem}.min-w-16{min-width:4rem}.min-w-18{min-width:4.5rem}.min-w-20{min-width:5rem}.min-h-24{min-height:6rem}.min-w-28{min-width:7rem}.min-h-32{min-height:8rem}.min-h-36{min-height:9rem}.min-w-40{min-width:10rem}.min-h-40{min-height:10rem}.min-h-48{min-height:12rem}.min-w-52{min-width:13rem}.min-w-56{min-width:14rem}.min-w-60{min-width:15rem}.min-h-60{min-height:15rem}.min-w-64{min-width:16rem}.min-h-64{min-height:16rem}.min-w-68{min-width:17rem}.min-w-72{min-width:18rem}.min-w-76{min-width:19rem}.min-h-76{min-height:19rem}.min-h-80{min-height:20rem}.min-w-92{min-width:23rem}.min-w-100{min-width:25rem}.min-h-100{min-height:25rem}.min-w-auto{min-width:auto}.min-h-sm{min-height:40rem}.min-w-1\\\\/2{min-width:50%}.min-w-1\\\\/3{min-width:33.333333%}.min-w-full{min-width:100%}.min-h-90vh{min-height:90vh}.max-w-0{max-width:0}.max-h-0{max-height:0}.max-h-4{max-height:1rem}.max-w-5{max-width:1.25rem}.max-h-5{max-height:1.25rem}.max-w-6{max-width:1.5rem}.max-h-6{max-height:1.5rem}.max-h-8{max-height:2rem}.max-w-16{max-width:4rem}.max-h-16{max-height:4rem}.max-w-18{max-width:4.5rem}.max-w-20{max-width:5rem}.max-h-28{max-height:7rem}.max-w-32{max-width:8rem}.max-h-32{max-height:8rem}.max-h-36{max-height:9rem}.max-w-40{max-width:10rem}.max-w-48{max-width:12rem}.max-h-48{max-height:12rem}.max-w-52{max-width:13rem}.max-w-56{max-width:14rem}.max-w-60{max-width:15rem}.max-h-64{max-height:16rem}.max-w-72{max-width:18rem}.max-h-72{max-height:18rem}.max-w-76{max-width:19rem}.max-h-76{max-height:19rem}.max-w-80{max-width:20rem}.max-h-80{max-height:20rem}.max-w-84{max-width:21rem}.max-w-88{max-width:22rem}.max-h-92{max-height:23rem}.max-w-96{max-width:24rem}.max-h-96{max-height:24rem}.max-w-100{max-width:25rem}.max-w-104{max-width:26rem}.max-w-112{max-width:28rem}.max-w-116{max-width:29rem}.max-w-120{max-width:30rem}.max-h-120{max-height:30rem}.max-w-sm{max-width:40rem}.max-h-sm{max-height:40rem}.max-w-md{max-width:48rem}.max-h-md{max-height:48rem}.max-w-lg{max-width:64rem}.max-w-xl{max-width:80rem}.max-w-2\\\\/3{max-width:66.666667%}.max-w-4\\\\/5{max-width:80%}.max-w-5\\\\/6{max-width:83.333333%}.max-w-5\\\\/12{max-width:41.666667%}.max-w-10\\\\/12{max-width:83.333333%}.max-w-11\\\\/12{max-width:91.666667%}.max-w-full{max-width:100%}.max-h-full{max-height:100%}.max-w-max{max-width:-moz-max-content;max-width:max-content}.max-h-max{max-height:-moz-max-content;max-height:max-content}.max-h-30vh{max-height:30vh}.max-h-40vh{max-height:40vh}.max-h-100vh{max-height:100vh}.max-w-90vw{max-width:90vw}.cols-none{grid-template-columns:repeat(none,minmax(0,1fr))}.cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.col-start-auto{grid-column-start:auto}.col-end-auto{grid-column-end:auto}.col-start-1{grid-column-start:1}.col-end-1{grid-column-end:1}.col-start-2{grid-column-start:2}.col-end-2{grid-column-end:2}.col-start-3{grid-column-start:3}.col-end-3{grid-column-end:3}.col-start-4{grid-column-start:4}.col-end-4{grid-column-end:4}.col-start-5{grid-column-start:5}.col-end-5{grid-column-end:5}.col-start-6{grid-column-start:6}.col-end-6{grid-column-end:6}.col-start-7{grid-column-start:7}.col-end-7{grid-column-end:7}.col-start-8{grid-column-start:8}.col-end-8{grid-column-end:8}.col-start-9{grid-column-start:9}.col-end-9{grid-column-end:9}.col-start-10{grid-column-start:10}.col-end-10{grid-column-end:10}.col-start-11{grid-column-start:11}.col-end-11{grid-column-end:11}.col-start-12{grid-column-start:12}.col-end-12{grid-column-end:12}.row-start-auto{grid-row-start:auto}.row-end-auto{grid-row-end:auto}.row-start-1{grid-row-start:1}.row-end-1{grid-row-end:1}.row-start-2{grid-row-start:2}.row-end-2{grid-row-end:2}.row-start-3{grid-row-start:3}.row-end-3{grid-row-end:3}.row-start-4{grid-row-start:4}.row-end-4{grid-row-end:4}.row-start-5{grid-row-start:5}.row-end-5{grid-row-end:5}.row-start-6{grid-row-start:6}.row-end-6{grid-row-end:6}.row-start-7{grid-row-start:7}.row-end-7{grid-row-end:7}.row-start-8{grid-row-start:8}.row-end-8{grid-row-end:8}.row-start-9{grid-row-start:9}.row-end-9{grid-row-end:9}.row-start-10{grid-row-start:10}.row-end-10{grid-row-end:10}.row-start-11{grid-row-start:11}.row-end-11{grid-row-end:11}.row-start-12{grid-row-start:12}.row-end-12{grid-row-end:12}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-9{gap:2.25rem}.gap-10{gap:2.5rem}.gap-12{gap:3rem}.gap-14{gap:3.5rem}.gap-0\\\\.5{gap:.125rem}.gap-1\\\\.5{gap:.375rem}.gap-3\\\\.5{gap:.875rem}.visible{visibility:visible}.invisible{visibility:hidden}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-row-reverse{flex-direction:row-reverse}.flex-col-reverse{flex-direction:column-reverse}.shrink-0{flex-shrink:0}.shrink-1{flex-shrink:1}.grow-0{flex-grow:0}.grow-1{flex-grow:1}.flex-0{flex-grow:0;flex-shrink:0}.flex-1{flex-grow:1;flex-shrink:1}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.order-first{order:-9999}.order-last{order:9999}.order-none{order:0}.z-0{z-index:0}.z-1{z-index:1}.-z-1{z-index:-1}.z-2{z-index:2}.z-3{z-index:3}.z-4{z-index:4}.z-5{z-index:5}.z-9{z-index:9}.bg-transparent,.hover\\\\:bg-transparent:hover{background-color:transparent}.border-transparent{border-color:transparent}.border-b-transparent{border-bottom-color:transparent}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.outline-transparent{outline-color:transparent}.color-current{color:currentColor}.border-current{border-color:currentColor}.border-r-current{border-right-color:currentColor}.bg-white,.hover\\\\:bg-white:hover{background-color:rgba(255,255,255,1);background-color:rgba(255,255,255,var(--bg-opacity,1))}.color-white,.hover\\\\:color-white:hover{color:rgba(255,255,255,1);color:rgba(255,255,255,var(--color-opacity,1))}.border-white{border-color:rgba(255,255,255,1);border-color:rgba(255,255,255,var(--border-opacity,1))}.border-r-white{border-right-color:rgba(255,255,255,1);border-right-color:rgba(255,255,255,var(--border-r-opacity,1))}.bg-black{background-color:rgba(0,0,0,1);background-color:rgba(0,0,0,var(--bg-opacity,1))}.color-black,.hover\\\\:color-black:hover{color:rgba(0,0,0,1);color:rgba(0,0,0,var(--color-opacity,1))}.bg-blue-100,.hover\\\\:bg-blue-100:hover{background-color:rgba(237,248,255,1);background-color:rgba(237,248,255,var(--bg-opacity,1))}.color-blue-100,.hover\\\\:color-blue-100:hover{color:rgba(237,248,255,1);color:rgba(237,248,255,var(--color-opacity,1))}.border-blue-100,.hover\\\\:border-blue-100:hover{border-color:rgba(237,248,255,1);border-color:rgba(237,248,255,var(--border-opacity,1))}.outline-blue-100{outline-color:rgba(237,248,255,1);outline-color:rgba(237,248,255,var(--outline-opacity,1))}.bg-blue-200{background-color:rgba(119,207,255,1);background-color:rgba(119,207,255,var(--bg-opacity,1))}.border-blue-200{border-color:rgba(119,207,255,1);border-color:rgba(119,207,255,var(--border-opacity,1))}.border-b-blue-200{border-bottom-color:rgba(119,207,255,1);border-bottom-color:rgba(119,207,255,var(--border-b-opacity,1))}.border-t-blue-200{border-top-color:rgba(119,207,255,1);border-top-color:rgba(119,207,255,var(--border-t-opacity,1))}.border-x-blue-200{border-left-color:rgba(119,207,255,1);border-left-color:rgba(119,207,255,var(--border-x-opacity,1));border-right-color:rgba(119,207,255,1);border-right-color:rgba(119,207,255,var(--border-x-opacity,1))}.outline-blue-200{outline-color:rgba(119,207,255,1);outline-color:rgba(119,207,255,var(--outline-opacity,1))}.bg-blue-300,.hover\\\\:bg-blue-300:hover{background-color:rgba(77,190,252,1);background-color:rgba(77,190,252,var(--bg-opacity,1))}.color-blue-300,.hover\\\\:color-blue-300:hover{color:rgba(77,190,252,1);color:rgba(77,190,252,var(--color-opacity,1))}.border-blue-300,.hover\\\\:border-blue-300:hover{border-color:rgba(77,190,252,1);border-color:rgba(77,190,252,var(--border-opacity,1))}.bg-blue-400,.hover\\\\:bg-blue-400:hover{background-color:rgba(0,153,255,1);background-color:rgba(0,153,255,var(--bg-opacity,1))}.color-blue-400,.hover\\\\:color-blue-400:hover{color:rgba(0,153,255,1);color:rgba(0,153,255,var(--color-opacity,1))}.border-blue-400,.hover\\\\:border-blue-400:hover{border-color:rgba(0,153,255,1);border-color:rgba(0,153,255,var(--border-opacity,1))}.bg-blue-500,.hover\\\\:bg-blue-500:hover{background-color:rgba(0,117,227,1);background-color:rgba(0,117,227,var(--bg-opacity,1))}.color-blue-500,.hover\\\\:color-blue-500:hover{color:rgba(0,117,227,1);color:rgba(0,117,227,var(--color-opacity,1))}.border-blue-500,.hover\\\\:border-blue-500:hover{border-color:rgba(0,117,227,1);border-color:rgba(0,117,227,var(--border-opacity,1))}.border-b-blue-500,.hover\\\\:border-b-blue-500:hover{border-bottom-color:rgba(0,117,227,1);border-bottom-color:rgba(0,117,227,var(--border-b-opacity,1))}.outline-blue-500{outline-color:rgba(0,117,227,1);outline-color:rgba(0,117,227,var(--outline-opacity,1))}.bg-blue-600,.group:hover .group-hover\\\\:bg-blue-600,.hover\\\\:bg-blue-600:hover{background-color:rgba(0,102,195,1);background-color:rgba(0,102,195,var(--bg-opacity,1))}.color-blue-600,.hover\\\\:color-blue-600:hover{color:rgba(0,102,195,1);color:rgba(0,102,195,var(--color-opacity,1))}.border-blue-600,.hover\\\\:border-blue-600:hover{border-color:rgba(0,102,195,1);border-color:rgba(0,102,195,var(--border-opacity,1))}.outline-blue-600{outline-color:rgba(0,102,195,1);outline-color:rgba(0,102,195,var(--outline-opacity,1))}.bg-green-100,.hover\\\\:bg-green-100:hover{background-color:rgba(237,254,209,1);background-color:rgba(237,254,209,var(--bg-opacity,1))}.color-green-100,.hover\\\\:color-green-100:hover{color:rgba(237,254,209,1);color:rgba(237,254,209,var(--color-opacity,1))}.border-green-100,.hover\\\\:border-green-100:hover{border-color:rgba(237,254,209,1);border-color:rgba(237,254,209,var(--border-opacity,1))}.bg-green-200,.hover\\\\:bg-green-200:hover{background-color:rgba(203,251,123,1);background-color:rgba(203,251,123,var(--bg-opacity,1))}.color-green-200,.hover\\\\:color-green-200:hover{color:rgba(203,251,123,1);color:rgba(203,251,123,var(--color-opacity,1))}.border-green-200,.hover\\\\:border-green-200:hover{border-color:rgba(203,251,123,1);border-color:rgba(203,251,123,var(--border-opacity,1))}.outline-green-200{outline-color:rgba(203,251,123,1);outline-color:rgba(203,251,123,var(--outline-opacity,1))}.bg-green-300{background-color:rgba(168,235,56,1);background-color:rgba(168,235,56,var(--bg-opacity,1))}.color-green-300{color:rgba(168,235,56,1);color:rgba(168,235,56,var(--color-opacity,1))}.border-green-300{border-color:rgba(168,235,56,1);border-color:rgba(168,235,56,var(--border-opacity,1))}.bg-green-400{background-color:rgba(127,202,0,1);background-color:rgba(127,202,0,var(--bg-opacity,1))}.color-green-400{color:rgba(127,202,0,1);color:rgba(127,202,0,var(--color-opacity,1))}.bg-green-500,.hover\\\\:bg-green-500:hover{background-color:rgba(100,178,0,1);background-color:rgba(100,178,0,var(--bg-opacity,1))}.color-green-500,.hover\\\\:color-green-500:hover{color:rgba(100,178,0,1);color:rgba(100,178,0,var(--color-opacity,1))}.border-green-500,.hover\\\\:border-green-500:hover{border-color:rgba(100,178,0,1);border-color:rgba(100,178,0,var(--border-opacity,1))}.bg-green-600,.hover\\\\:bg-green-600:hover{background-color:rgba(82,147,0,1);background-color:rgba(82,147,0,var(--bg-opacity,1))}.color-green-600,.hover\\\\:color-green-600:hover{color:rgba(82,147,0,1);color:rgba(82,147,0,var(--color-opacity,1))}.border-green-600,.hover\\\\:border-green-600:hover{border-color:rgba(82,147,0,1);border-color:rgba(82,147,0,var(--border-opacity,1))}.outline-green-600{outline-color:rgba(82,147,0,1);outline-color:rgba(82,147,0,var(--outline-opacity,1))}.bg-yellow-100{background-color:rgba(255,245,210,1);background-color:rgba(255,245,210,var(--bg-opacity,1))}.bg-yellow-200{background-color:rgba(255,220,123,1);background-color:rgba(255,220,123,var(--bg-opacity,1))}.outline-yellow-200{outline-color:rgba(255,220,123,1);outline-color:rgba(255,220,123,var(--outline-opacity,1))}.color-yellow-300{color:rgba(255,196,44,1);color:rgba(255,196,44,var(--color-opacity,1))}.border-yellow-300{border-color:rgba(255,196,44,1);border-color:rgba(255,196,44,var(--border-opacity,1))}.bg-yellow-400,.hover\\\\:bg-yellow-400:hover{background-color:rgba(255,182,41,1);background-color:rgba(255,182,41,var(--bg-opacity,1))}.color-yellow-400,.hover\\\\:color-yellow-400:hover{color:rgba(255,182,41,1);color:rgba(255,182,41,var(--color-opacity,1))}.border-yellow-400,.hover\\\\:border-yellow-400:hover{border-color:rgba(255,182,41,1);border-color:rgba(255,182,41,var(--border-opacity,1))}.color-yellow-500{color:rgba(249,164,0,1);color:rgba(249,164,0,var(--color-opacity,1))}.border-yellow-500{border-color:rgba(249,164,0,1);border-color:rgba(249,164,0,var(--border-opacity,1))}.outline-yellow-500{outline-color:rgba(249,164,0,1);outline-color:rgba(249,164,0,var(--outline-opacity,1))}.bg-yellow-600{background-color:rgba(244,146,0,1);background-color:rgba(244,146,0,var(--bg-opacity,1))}.color-yellow-600{color:rgba(244,146,0,1);color:rgba(244,146,0,var(--color-opacity,1))}.bg-orange-100{background-color:rgba(255,228,204,1);background-color:rgba(255,228,204,var(--bg-opacity,1))}.bg-orange-200{background-color:rgba(254,196,142,1);background-color:rgba(254,196,142,var(--bg-opacity,1))}.bg-orange-300,.hover\\\\:bg-orange-300:hover{background-color:rgba(255,163,79,1);background-color:rgba(255,163,79,var(--bg-opacity,1))}.color-orange-300{color:rgba(255,163,79,1);color:rgba(255,163,79,var(--color-opacity,1))}.bg-orange-400{background-color:rgba(255,123,28,1);background-color:rgba(255,123,28,var(--bg-opacity,1))}.border-orange-400{border-color:rgba(255,123,28,1);border-color:rgba(255,123,28,var(--border-opacity,1))}.bg-orange-500{background-color:rgba(255,97,0,1);background-color:rgba(255,97,0,var(--bg-opacity,1))}.color-orange-500{color:rgba(255,97,0,1);color:rgba(255,97,0,var(--color-opacity,1))}.border-orange-500{border-color:rgba(255,97,0,1);border-color:rgba(255,97,0,var(--border-opacity,1))}.color-orange-600{color:rgba(229,83,0,1);color:rgba(229,83,0,var(--color-opacity,1))}.bg-red-100{background-color:rgba(254,242,242,1);background-color:rgba(254,242,242,var(--bg-opacity,1))}.color-red-100{color:rgba(254,242,242,1);color:rgba(254,242,242,var(--color-opacity,1))}.border-red-100{border-color:rgba(254,242,242,1);border-color:rgba(254,242,242,var(--border-opacity,1))}.bg-red-200{background-color:rgba(254,202,202,1);background-color:rgba(254,202,202,var(--bg-opacity,1))}.color-red-200{color:rgba(254,202,202,1);color:rgba(254,202,202,var(--color-opacity,1))}.border-red-200{border-color:rgba(254,202,202,1);border-color:rgba(254,202,202,var(--border-opacity,1))}.outline-red-200{outline-color:rgba(254,202,202,1);outline-color:rgba(254,202,202,var(--outline-opacity,1))}.bg-red-300{background-color:rgba(248,113,113,1);background-color:rgba(248,113,113,var(--bg-opacity,1))}.color-red-300{color:rgba(248,113,113,1);color:rgba(248,113,113,var(--color-opacity,1))}.border-red-300{border-color:rgba(248,113,113,1);border-color:rgba(248,113,113,var(--border-opacity,1))}.bg-red-400{background-color:rgba(220,38,38,1);background-color:rgba(220,38,38,var(--bg-opacity,1))}.color-red-400{color:rgba(220,38,38,1);color:rgba(220,38,38,var(--color-opacity,1))}.border-red-400{border-color:rgba(220,38,38,1);border-color:rgba(220,38,38,var(--border-opacity,1))}.outline-red-400{outline-color:rgba(220,38,38,1);outline-color:rgba(220,38,38,var(--outline-opacity,1))}.bg-red-500{background-color:rgba(201,9,9,1);background-color:rgba(201,9,9,var(--bg-opacity,1))}.color-red-500{color:rgba(201,9,9,1);color:rgba(201,9,9,var(--color-opacity,1))}.border-red-500{border-color:rgba(201,9,9,1);border-color:rgba(201,9,9,var(--border-opacity,1))}.bg-red-600{background-color:rgba(171,1,1,1);background-color:rgba(171,1,1,var(--bg-opacity,1))}.color-red-600{color:rgba(171,1,1,1);color:rgba(171,1,1,var(--color-opacity,1))}.border-red-600{border-color:rgba(171,1,1,1);border-color:rgba(171,1,1,var(--border-opacity,1))}.bg-purple-100{background-color:rgba(243,226,255,1);background-color:rgba(243,226,255,var(--bg-opacity,1))}.bg-purple-300{background-color:rgba(191,120,240,1);background-color:rgba(191,120,240,var(--bg-opacity,1))}.bg-purple-400{background-color:rgba(156,77,211,1);background-color:rgba(156,77,211,var(--bg-opacity,1))}.color-purple-400{color:rgba(156,77,211,1);color:rgba(156,77,211,var(--color-opacity,1))}.color-purple-500{color:rgba(137,45,202,1);color:rgba(137,45,202,var(--color-opacity,1))}.color-purple-600{color:rgba(105,21,164,1);color:rgba(105,21,164,var(--color-opacity,1))}.bg-navy-10{background-color:rgba(249,249,255,1);background-color:rgba(249,249,255,var(--bg-opacity,1))}.bg-navy-25{background-color:rgba(243,243,254,1);background-color:rgba(243,243,254,var(--bg-opacity,1))}.border-navy-25{border-color:rgba(243,243,254,1);border-color:rgba(243,243,254,var(--border-opacity,1))}.bg-navy-50{background-color:rgba(227,229,245,1);background-color:rgba(227,229,245,var(--bg-opacity,1))}.color-navy-50{color:rgba(227,229,245,1);color:rgba(227,229,245,var(--color-opacity,1))}.border-navy-50{border-color:rgba(227,229,245,1);border-color:rgba(227,229,245,var(--border-opacity,1))}.border-b-navy-50{border-bottom-color:rgba(227,229,245,1);border-bottom-color:rgba(227,229,245,var(--border-b-opacity,1))}.outline-navy-50{outline-color:rgba(227,229,245,1);outline-color:rgba(227,229,245,var(--outline-opacity,1))}.bg-navy-75{background-color:rgba(218,222,243,1);background-color:rgba(218,222,243,var(--bg-opacity,1))}.color-navy-75{color:rgba(218,222,243,1);color:rgba(218,222,243,var(--color-opacity,1))}.border-navy-75{border-color:rgba(218,222,243,1);border-color:rgba(218,222,243,var(--border-opacity,1))}.bg-navy-100{background-color:rgba(200,206,237,1);background-color:rgba(200,206,237,var(--bg-opacity,1))}.color-navy-100{color:rgba(200,206,237,1);color:rgba(200,206,237,var(--color-opacity,1))}.border-navy-100{border-color:rgba(200,206,237,1);border-color:rgba(200,206,237,var(--border-opacity,1))}.bg-navy-200{background-color:rgba(151,157,198,1);background-color:rgba(151,157,198,var(--bg-opacity,1))}.color-navy-200{color:rgba(151,157,198,1);color:rgba(151,157,198,var(--color-opacity,1))}.border-navy-200{border-color:rgba(151,157,198,1);border-color:rgba(151,157,198,var(--border-opacity,1))}.bg-navy-300{background-color:rgba(108,115,168,1);background-color:rgba(108,115,168,var(--bg-opacity,1))}.color-navy-300{color:rgba(108,115,168,1);color:rgba(108,115,168,var(--color-opacity,1))}.border-t-navy-300{border-top-color:rgba(108,115,168,1);border-top-color:rgba(108,115,168,var(--border-t-opacity,1))}.bg-navy-500{background-color:rgba(52,60,106,1);background-color:rgba(52,60,106,var(--bg-opacity,1))}.color-navy-500{color:rgba(52,60,106,1);color:rgba(52,60,106,var(--color-opacity,1))}.border-navy-500{border-color:rgba(52,60,106,1);border-color:rgba(52,60,106,var(--border-opacity,1))}.bg-navy-600{background-color:rgba(37,45,91,1);background-color:rgba(37,45,91,var(--bg-opacity,1))}.color-navy-600{color:rgba(37,45,91,1);color:rgba(37,45,91,var(--color-opacity,1))}.bg-navy-700{background-color:rgba(10,21,81,1);background-color:rgba(10,21,81,var(--bg-opacity,1))}.color-navy-700{color:rgba(10,21,81,1);color:rgba(10,21,81,var(--color-opacity,1))}.border-navy-700{border-color:rgba(10,21,81,1);border-color:rgba(10,21,81,var(--border-opacity,1))}.border-r-navy-700{border-right-color:rgba(10,21,81,1);border-right-color:rgba(10,21,81,var(--border-r-opacity,1))}.bg-navy-800{background-color:rgba(9,17,65,1);background-color:rgba(9,17,65,var(--bg-opacity,1))}.color-navy-800{color:rgba(9,17,65,1);color:rgba(9,17,65,var(--color-opacity,1))}.bg-navy-900{background-color:rgba(5,12,52,1);background-color:rgba(5,12,52,var(--bg-opacity,1))}.bg-gray-25{background-color:rgba(241,241,244,1);background-color:rgba(241,241,244,var(--bg-opacity,1))}.border-gray-25{border-color:rgba(241,241,244,1);border-color:rgba(241,241,244,var(--border-opacity,1))}.border-b-gray-25{border-bottom-color:rgba(241,241,244,1);border-bottom-color:rgba(241,241,244,var(--border-b-opacity,1))}.border-t-gray-25{border-top-color:rgba(241,241,244,1);border-top-color:rgba(241,241,244,var(--border-t-opacity,1))}.bg-gray-50{background-color:rgba(226,227,233,1);background-color:rgba(226,227,233,var(--bg-opacity,1))}.color-gray-50{color:rgba(226,227,233,1);color:rgba(226,227,233,var(--color-opacity,1))}.border-gray-50{border-color:rgba(226,227,233,1);border-color:rgba(226,227,233,var(--border-opacity,1))}.bg-gray-75{background-color:rgba(211,214,222,1);background-color:rgba(211,214,222,var(--bg-opacity,1))}.color-gray-100{color:rgba(191,195,206,1);color:rgba(191,195,206,var(--color-opacity,1))}.border-gray-100{border-color:rgba(191,195,206,1);border-color:rgba(191,195,206,var(--border-opacity,1))}.border-b-gray-100{border-bottom-color:rgba(191,195,206,1);border-bottom-color:rgba(191,195,206,var(--border-b-opacity,1))}.bg-gray-200{background-color:rgba(160,166,182,1);background-color:rgba(160,166,182,var(--bg-opacity,1))}.color-gray-200{color:rgba(160,166,182,1);color:rgba(160,166,182,var(--color-opacity,1))}.border-gray-200{border-color:rgba(160,166,182,1);border-color:rgba(160,166,182,var(--border-opacity,1))}.bg-gray-300{background-color:rgba(127,133,156,1);background-color:rgba(127,133,156,var(--bg-opacity,1))}.color-gray-300{color:rgba(127,133,156,1);color:rgba(127,133,156,var(--color-opacity,1))}.border-gray-300{border-color:rgba(127,133,156,1);border-color:rgba(127,133,156,var(--border-opacity,1))}.bg-gray-400{background-color:rgba(76,83,111,1);background-color:rgba(76,83,111,var(--bg-opacity,1))}.color-gray-400{color:rgba(76,83,111,1);color:rgba(76,83,111,var(--color-opacity,1))}.border-b-gray-400{border-bottom-color:rgba(76,83,111,1);border-bottom-color:rgba(76,83,111,var(--border-b-opacity,1))}.bg-gray-500{background-color:rgba(67,74,96,1);background-color:rgba(67,74,96,var(--bg-opacity,1))}.color-gray-500{color:rgba(67,74,96,1);color:rgba(67,74,96,var(--color-opacity,1))}.border-gray-500{border-color:rgba(67,74,96,1);border-color:rgba(67,74,96,var(--border-opacity,1))}.outline-gray-500{outline-color:rgba(67,74,96,1);outline-color:rgba(67,74,96,var(--outline-opacity,1))}.bg-gray-600{background-color:rgba(51,56,74,1);background-color:rgba(51,56,74,var(--bg-opacity,1))}.color-gray-600{color:rgba(51,56,74,1);color:rgba(51,56,74,var(--color-opacity,1))}.border-gray-600{border-color:rgba(51,56,74,1);border-color:rgba(51,56,74,var(--border-opacity,1))}.bg-gray-700{background-color:rgba(41,45,60,1);background-color:rgba(41,45,60,var(--bg-opacity,1))}.color-gray-700{color:rgba(41,45,60,1);color:rgba(41,45,60,var(--color-opacity,1))}.border-gray-700{border-color:rgba(41,45,60,1);border-color:rgba(41,45,60,var(--border-opacity,1))}.bg-gray-800{background-color:rgba(19,22,32,1);background-color:rgba(19,22,32,var(--bg-opacity,1))}.color-gray-800{color:rgba(19,22,32,1);color:rgba(19,22,32,var(--color-opacity,1))}.bg-gray-900{background-color:rgba(8,9,11,1);background-color:rgba(8,9,11,var(--bg-opacity,1))}.bg-analytics-default{background-color:rgba(143,150,204,1);background-color:rgba(143,150,204,var(--bg-opacity,1))}.color-analytics-default{color:rgba(143,150,204,1);color:rgba(143,150,204,var(--color-opacity,1))}.bg-approvals-default{background-color:rgba(0,120,98,1);background-color:rgba(0,120,98,var(--bg-opacity,1))}.color-approvals-default{color:rgba(0,120,98,1);color:rgba(0,120,98,var(--color-opacity,1))}.border-b-approvals-default{border-bottom-color:rgba(0,120,98,1);border-bottom-color:rgba(0,120,98,var(--border-b-opacity,1))}.bg-apps-default{background-color:rgba(156,77,211,1);background-color:rgba(156,77,211,var(--bg-opacity,1))}.color-apps-default{color:rgba(156,77,211,1);color:rgba(156,77,211,var(--color-opacity,1))}.border-b-apps-default{border-bottom-color:rgba(156,77,211,1);border-bottom-color:rgba(156,77,211,var(--border-b-opacity,1))}.bg-forms-default,.hover\\\\:bg-orange-500:hover{background-color:rgba(255,97,0,1);background-color:rgba(255,97,0,var(--bg-opacity,1))}.color-forms-default,.hover\\\\:color-orange-500:hover{color:rgba(255,97,0,1);color:rgba(255,97,0,var(--color-opacity,1))}.hover\\\\:border-orange-500:hover{border-color:rgba(255,97,0,1);border-color:rgba(255,97,0,var(--border-opacity,1))}.border-b-forms-default{border-bottom-color:rgba(255,97,0,1);border-bottom-color:rgba(255,97,0,var(--border-b-opacity,1))}.bg-inbox-default{background-color:rgba(36,155,180,1);background-color:rgba(36,155,180,var(--bg-opacity,1))}.color-inbox-default{color:rgba(36,155,180,1);color:rgba(36,155,180,var(--color-opacity,1))}.bg-pages-light{background-color:rgba(88,135,191,1);background-color:rgba(88,135,191,var(--bg-opacity,1))}.bg-pages-default{background-color:rgba(3,79,150,1);background-color:rgba(3,79,150,var(--bg-opacity,1))}.color-pages-default{color:rgba(3,79,150,1);color:rgba(3,79,150,var(--color-opacity,1))}.border-b-pages-default{border-bottom-color:rgba(3,79,150,1);border-bottom-color:rgba(3,79,150,var(--border-b-opacity,1))}.bg-pdf-light{background-color:rgba(98,142,255,1);background-color:rgba(98,142,255,var(--bg-opacity,1))}.bg-pdf-default{background-color:rgba(62,98,200,1);background-color:rgba(62,98,200,var(--bg-opacity,1))}.color-pdf-default{color:rgba(62,98,200,1);color:rgba(62,98,200,var(--color-opacity,1))}.border-pdf-default{border-color:rgba(62,98,200,1);border-color:rgba(62,98,200,var(--border-opacity,1))}.border-b-pdf-default{border-bottom-color:rgba(62,98,200,1);border-bottom-color:rgba(62,98,200,var(--border-b-opacity,1))}.bg-reports-default{background-color:rgba(83,105,171,1);background-color:rgba(83,105,171,var(--bg-opacity,1))}.color-reports-default{color:rgba(83,105,171,1);color:rgba(83,105,171,var(--color-opacity,1))}.bg-sign-light{background-color:rgba(148,205,42,1);background-color:rgba(148,205,42,var(--bg-opacity,1))}.bg-sign-default{background-color:rgba(123,182,15,1);background-color:rgba(123,182,15,var(--bg-opacity,1))}.color-sign-default{color:rgba(123,182,15,1);color:rgba(123,182,15,var(--color-opacity,1))}.border-b-sign-default{border-bottom-color:rgba(123,182,15,1);border-bottom-color:rgba(123,182,15,var(--border-b-opacity,1))}.bg-sign-dark{background-color:rgba(109,169,0,1);background-color:rgba(109,169,0,var(--bg-opacity,1))}.bg-tables-light{background-color:rgba(55,199,104,1);background-color:rgba(55,199,104,var(--bg-opacity,1))}.bg-tables-default{background-color:rgba(4,158,56,1);background-color:rgba(4,158,56,var(--bg-opacity,1))}.color-tables-default{color:rgba(4,158,56,1);color:rgba(4,158,56,var(--color-opacity,1))}.bg-teams-default{background-color:rgba(24,35,92,1);background-color:rgba(24,35,92,var(--bg-opacity,1))}.color-teams-default{color:rgba(24,35,92,1);color:rgba(24,35,92,var(--color-opacity,1))}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.block{display:block}.flex{display:flex}.hidden{display:none}.grid{display:grid}.inline{display:inline}.hiddenjf{display:none}.shadow-xs{box-shadow:0 1px 2px 0#1018280d}.shadow-sm{box-shadow:0 1px 2px 0#1018280f,0 1px 3px 0#1018281a}.shadow-md{box-shadow:0 2px 4px -2px #1018280f,0 4px 8px -2px #1018281a}.shadow-lg{box-shadow:0 4px 6px -2px #1018280d,0 12px 16px -4px #1018281a}.shadow-xl{box-shadow:0 8px 8px -4px #1018280a,0 20px 24px -4px #1018281a}.shadow-2xl{box-shadow:0 24px 48px -12px #10182840}.shadow-light-xs{box-shadow:0 0 1px #252d5b0a,0 2px 4px #545f6f29}.shadow-light-sm{box-shadow:0 0 2px #252d5b0a,0 4px 8px #545f6f29}.shadow-light-md{box-shadow:0 2px 4px #252d5b0a,0 8px 16px #545f6f29}.shadow-light-xl{box-shadow:0 2px 8px #252d5b14,0 20px 32px #545f6f3d}.shadow-dark-md{box-shadow:0 2px 4px #0a0b0d0a,0 8px 16px #0a0b0d52}.shadow-dark-lg{box-shadow:0 2px 8px #0a0b0d0a,0 16px 24px #0a0b0d52}.hover\\\\:bg-red-100:hover{background-color:rgba(254,242,242,1);background-color:rgba(254,242,242,var(--bg-opacity,1))}.hover\\\\:color-red-100:hover{color:rgba(254,242,242,1);color:rgba(254,242,242,var(--color-opacity,1))}.hover\\\\:border-red-100:hover{border-color:rgba(254,242,242,1);border-color:rgba(254,242,242,var(--border-opacity,1))}.hover\\\\:bg-red-200:hover{background-color:rgba(254,202,202,1);background-color:rgba(254,202,202,var(--bg-opacity,1))}.hover\\\\:color-red-200:hover{color:rgba(254,202,202,1);color:rgba(254,202,202,var(--color-opacity,1))}.hover\\\\:border-red-200:hover{border-color:rgba(254,202,202,1);border-color:rgba(254,202,202,var(--border-opacity,1))}.hover\\\\:bg-red-400:hover{background-color:rgba(220,38,38,1);background-color:rgba(220,38,38,var(--bg-opacity,1))}.hover\\\\:color-red-400:hover{color:rgba(220,38,38,1);color:rgba(220,38,38,var(--color-opacity,1))}.hover\\\\:border-red-400:hover{border-color:rgba(220,38,38,1);border-color:rgba(220,38,38,var(--border-opacity,1))}.hover\\\\:bg-red-500:hover{background-color:rgba(201,9,9,1);background-color:rgba(201,9,9,var(--bg-opacity,1))}.hover\\\\:border-red-500:hover{border-color:rgba(201,9,9,1);border-color:rgba(201,9,9,var(--border-opacity,1))}.hover\\\\:bg-red-600:hover{background-color:rgba(171,1,1,1);background-color:rgba(171,1,1,var(--bg-opacity,1))}.hover\\\\:color-red-600:hover{color:rgba(171,1,1,1);color:rgba(171,1,1,var(--color-opacity,1))}.hover\\\\:border-red-600:hover{border-color:rgba(171,1,1,1);border-color:rgba(171,1,1,var(--border-opacity,1))}.hover\\\\:bg-purple-300:hover{background-color:rgba(191,120,240,1);background-color:rgba(191,120,240,var(--bg-opacity,1))}.hover\\\\:bg-navy-10:hover{background-color:rgba(249,249,255,1);background-color:rgba(249,249,255,var(--bg-opacity,1))}.hover\\\\:bg-navy-25:hover{background-color:rgba(243,243,254,1);background-color:rgba(243,243,254,var(--bg-opacity,1))}.hover\\\\:bg-navy-50:hover{background-color:rgba(227,229,245,1);background-color:rgba(227,229,245,var(--bg-opacity,1))}.hover\\\\:color-navy-50:hover{color:rgba(227,229,245,1);color:rgba(227,229,245,var(--color-opacity,1))}.hover\\\\:border-navy-50:hover{border-color:rgba(227,229,245,1);border-color:rgba(227,229,245,var(--border-opacity,1))}.hover\\\\:bg-navy-75:hover{background-color:rgba(218,222,243,1);background-color:rgba(218,222,243,var(--bg-opacity,1))}.hover\\\\:bg-navy-100:hover{background-color:rgba(200,206,237,1);background-color:rgba(200,206,237,var(--bg-opacity,1))}.hover\\\\:color-navy-100:hover{color:rgba(200,206,237,1);color:rgba(200,206,237,var(--color-opacity,1))}.hover\\\\:border-navy-100:hover{border-color:rgba(200,206,237,1);border-color:rgba(200,206,237,var(--border-opacity,1))}.hover\\\\:bg-navy-200:hover{background-color:rgba(151,157,198,1);background-color:rgba(151,157,198,var(--bg-opacity,1))}.hover\\\\:border-navy-200:hover{border-color:rgba(151,157,198,1);border-color:rgba(151,157,198,var(--border-opacity,1))}.hover\\\\:bg-navy-300:hover{background-color:rgba(108,115,168,1);background-color:rgba(108,115,168,var(--bg-opacity,1))}.hover\\\\:color-navy-300:hover{color:rgba(108,115,168,1);color:rgba(108,115,168,var(--color-opacity,1))}.hover\\\\:border-navy-300:hover{border-color:rgba(108,115,168,1);border-color:rgba(108,115,168,var(--border-opacity,1))}.hover\\\\:color-navy-400:hover{color:rgba(69,78,128,1);color:rgba(69,78,128,var(--color-opacity,1))}.hover\\\\:color-navy-500:hover{color:rgba(52,60,106,1);color:rgba(52,60,106,var(--color-opacity,1))}.hover\\\\:border-navy-500:hover{border-color:rgba(52,60,106,1);border-color:rgba(52,60,106,var(--border-opacity,1))}.hover\\\\:bg-navy-700:hover{background-color:rgba(10,21,81,1);background-color:rgba(10,21,81,var(--bg-opacity,1))}.hover\\\\:color-navy-700:hover{color:rgba(10,21,81,1);color:rgba(10,21,81,var(--color-opacity,1))}.hover\\\\:border-navy-700:hover{border-color:rgba(10,21,81,1);border-color:rgba(10,21,81,var(--border-opacity,1))}.hover\\\\:bg-gray-25:hover{background-color:rgba(241,241,244,1);background-color:rgba(241,241,244,var(--bg-opacity,1))}.hover\\\\:color-gray-100:hover{color:rgba(191,195,206,1);color:rgba(191,195,206,var(--color-opacity,1))}.hover\\\\:border-gray-100:hover{border-color:rgba(191,195,206,1);border-color:rgba(191,195,206,var(--border-opacity,1))}.hover\\\\:color-gray-200:hover{color:rgba(160,166,182,1);color:rgba(160,166,182,var(--color-opacity,1))}.hover\\\\:border-gray-200:hover{border-color:rgba(160,166,182,1);border-color:rgba(160,166,182,var(--border-opacity,1))}.hover\\\\:color-gray-300:hover{color:rgba(127,133,156,1);color:rgba(127,133,156,var(--color-opacity,1))}.hover\\\\:border-gray-300:hover{border-color:rgba(127,133,156,1);border-color:rgba(127,133,156,var(--border-opacity,1))}.hover\\\\:bg-gray-400:hover{background-color:rgba(76,83,111,1);background-color:rgba(76,83,111,var(--bg-opacity,1))}.hover\\\\:bg-gray-500:hover{background-color:rgba(67,74,96,1);background-color:rgba(67,74,96,var(--bg-opacity,1))}.hover\\\\:color-gray-500:hover{color:rgba(67,74,96,1);color:rgba(67,74,96,var(--color-opacity,1))}.hover\\\\:border-gray-500:hover{border-color:rgba(67,74,96,1);border-color:rgba(67,74,96,var(--border-opacity,1))}.hover\\\\:bg-gray-600:hover{background-color:rgba(51,56,74,1);background-color:rgba(51,56,74,var(--bg-opacity,1))}.hover\\\\:bg-gray-700:hover{background-color:rgba(41,45,60,1);background-color:rgba(41,45,60,var(--bg-opacity,1))}.hover\\\\:color-gray-700:hover{color:rgba(41,45,60,1);color:rgba(41,45,60,var(--color-opacity,1))}.hover\\\\:border-gray-700:hover{border-color:rgba(41,45,60,1);border-color:rgba(41,45,60,var(--border-opacity,1))}.hover\\\\:bg-gray-800:hover{background-color:rgba(19,22,32,1);background-color:rgba(19,22,32,var(--bg-opacity,1))}.hover\\\\:bg-analytics-dark:hover{background-color:rgba(115,124,191,1);background-color:rgba(115,124,191,var(--bg-opacity,1))}.hover\\\\:bg-approvals-default:hover{background-color:rgba(0,120,98,1);background-color:rgba(0,120,98,var(--bg-opacity,1))}.hover\\\\:border-b-approvals-default:hover{border-bottom-color:rgba(0,120,98,1);border-bottom-color:rgba(0,120,98,var(--border-b-opacity,1))}.hover\\\\:bg-approvals-dark:hover{background-color:rgba(0,102,83,1);background-color:rgba(0,102,83,var(--bg-opacity,1))}.hover\\\\:bg-apps-default:hover{background-color:rgba(156,77,211,1);background-color:rgba(156,77,211,var(--bg-opacity,1))}.hover\\\\:border-b-apps-default:hover{border-bottom-color:rgba(156,77,211,1);border-bottom-color:rgba(156,77,211,var(--border-b-opacity,1))}.hover\\\\:bg-apps-dark:hover{background-color:rgba(137,45,202,1);background-color:rgba(137,45,202,var(--bg-opacity,1))}.hover\\\\:bg-forms-default:hover{background-color:rgba(255,97,0,1);background-color:rgba(255,97,0,var(--bg-opacity,1))}.hover\\\\:border-b-forms-default:hover{border-bottom-color:rgba(255,97,0,1);border-bottom-color:rgba(255,97,0,var(--border-b-opacity,1))}.hover\\\\:bg-forms-dark:hover{background-color:rgba(229,83,0,1);background-color:rgba(229,83,0,var(--bg-opacity,1))}.hover\\\\:bg-inbox-dark:hover{background-color:rgba(25,137,160,1);background-color:rgba(25,137,160,var(--bg-opacity,1))}.hover\\\\:bg-pages-light:hover{background-color:rgba(88,135,191,1);background-color:rgba(88,135,191,var(--bg-opacity,1))}.hover\\\\:bg-pages-default:hover{background-color:rgba(3,79,150,1);background-color:rgba(3,79,150,var(--bg-opacity,1))}.hover\\\\:border-b-pages-default:hover{border-bottom-color:rgba(3,79,150,1);border-bottom-color:rgba(3,79,150,var(--border-b-opacity,1))}.hover\\\\:bg-pages-dark:hover{background-color:rgba(3,41,76,1);background-color:rgba(3,41,76,var(--bg-opacity,1))}.hover\\\\:bg-pdf-default:hover{background-color:rgba(62,98,200,1);background-color:rgba(62,98,200,var(--bg-opacity,1))}.hover\\\\:border-b-pdf-default:hover{border-bottom-color:rgba(62,98,200,1);border-bottom-color:rgba(62,98,200,var(--border-b-opacity,1))}.hover\\\\:bg-pdf-dark:hover{background-color:rgba(47,78,173,1);background-color:rgba(47,78,173,var(--bg-opacity,1))}.hover\\\\:bg-reports-dark:hover{background-color:rgba(52,64,103,1);background-color:rgba(52,64,103,var(--bg-opacity,1))}.hover\\\\:bg-sign-light:hover{background-color:rgba(148,205,42,1);background-color:rgba(148,205,42,var(--bg-opacity,1))}.hover\\\\:bg-sign-default:hover{background-color:rgba(123,182,15,1);background-color:rgba(123,182,15,var(--bg-opacity,1))}.hover\\\\:border-b-sign-default:hover{border-bottom-color:rgba(123,182,15,1);border-bottom-color:rgba(123,182,15,var(--border-b-opacity,1))}.hover\\\\:bg-sign-dark:hover{background-color:rgba(109,169,0,1);background-color:rgba(109,169,0,var(--bg-opacity,1))}.hover\\\\:bg-tables-dark:hover{background-color:rgba(0,123,42,1);background-color:rgba(0,123,42,var(--bg-opacity,1))}.hover\\\\:bg-teams-dark:hover{background-color:rgba(12,21,64,1);background-color:rgba(12,21,64,var(--bg-opacity,1))}.hover\\\\:shadow-xs:hover{box-shadow:0 1px 2px 0#1018280d}.focus\\\\:bg-blue-100:focus{background-color:rgba(237,248,255,1);background-color:rgba(237,248,255,var(--bg-opacity,1))}.focus\\\\:color-blue-100:focus{color:rgba(237,248,255,1);color:rgba(237,248,255,var(--color-opacity,1))}.focus\\\\:border-blue-100:focus{border-color:rgba(237,248,255,1);border-color:rgba(237,248,255,var(--border-opacity,1))}.focus\\\\:outline-blue-200:focus{outline-color:rgba(119,207,255,1);outline-color:rgba(119,207,255,var(--outline-opacity,1))}.focus\\\\:bg-blue-300:focus{background-color:rgba(77,190,252,1);background-color:rgba(77,190,252,var(--bg-opacity,1))}.focus\\\\:color-blue-300:focus{color:rgba(77,190,252,1);color:rgba(77,190,252,var(--color-opacity,1))}.focus\\\\:border-blue-300:focus{border-color:rgba(77,190,252,1);border-color:rgba(77,190,252,var(--border-opacity,1))}.focus\\\\:border-blue-400:focus{border-color:rgba(0,153,255,1);border-color:rgba(0,153,255,var(--border-opacity,1))}.focus\\\\:bg-blue-500:focus{background-color:rgba(0,117,227,1);background-color:rgba(0,117,227,var(--bg-opacity,1))}.focus\\\\:color-blue-500:focus{color:rgba(0,117,227,1);color:rgba(0,117,227,var(--color-opacity,1))}.focus\\\\:border-blue-500:focus{border-color:rgba(0,117,227,1);border-color:rgba(0,117,227,var(--border-opacity,1))}.focus\\\\:outline-blue-500:focus{outline-color:rgba(0,117,227,1);outline-color:rgba(0,117,227,var(--outline-opacity,1))}.focus\\\\:bg-blue-600:focus{background-color:rgba(0,102,195,1);background-color:rgba(0,102,195,var(--bg-opacity,1))}.focus\\\\:color-blue-600:focus{color:rgba(0,102,195,1);color:rgba(0,102,195,var(--color-opacity,1))}.focus\\\\:border-blue-600:focus{border-color:rgba(0,102,195,1);border-color:rgba(0,102,195,var(--border-opacity,1))}.focus\\\\:outline-green-200:focus{outline-color:rgba(203,251,123,1);outline-color:rgba(203,251,123,var(--outline-opacity,1))}.focus\\\\:outline-green-300:focus{outline-color:rgba(168,235,56,1);outline-color:rgba(168,235,56,var(--outline-opacity,1))}.focus\\\\:bg-red-100:focus{background-color:rgba(254,242,242,1);background-color:rgba(254,242,242,var(--bg-opacity,1))}.focus\\\\:color-red-100:focus{color:rgba(254,242,242,1);color:rgba(254,242,242,var(--color-opacity,1))}.focus\\\\:border-red-100:focus{border-color:rgba(254,242,242,1);border-color:rgba(254,242,242,var(--border-opacity,1))}.focus\\\\:bg-red-200:focus{background-color:rgba(254,202,202,1);background-color:rgba(254,202,202,var(--bg-opacity,1))}.focus\\\\:color-red-200:focus{color:rgba(254,202,202,1);color:rgba(254,202,202,var(--color-opacity,1))}.focus\\\\:border-red-200:focus{border-color:rgba(254,202,202,1);border-color:rgba(254,202,202,var(--border-opacity,1))}.focus\\\\:outline-red-200:focus{outline-color:rgba(254,202,202,1);outline-color:rgba(254,202,202,var(--outline-opacity,1))}.focus\\\\:outline-red-300:focus{outline-color:rgba(248,113,113,1);outline-color:rgba(248,113,113,var(--outline-opacity,1))}.focus\\\\:bg-red-400:focus{background-color:rgba(220,38,38,1);background-color:rgba(220,38,38,var(--bg-opacity,1))}.focus\\\\:color-red-400:focus{color:rgba(220,38,38,1);color:rgba(220,38,38,var(--color-opacity,1))}.focus\\\\:border-red-400:focus{border-color:rgba(220,38,38,1);border-color:rgba(220,38,38,var(--border-opacity,1))}.focus\\\\:outline-red-400:focus{outline-color:rgba(220,38,38,1);outline-color:rgba(220,38,38,var(--outline-opacity,1))}.focus\\\\:bg-red-600:focus{background-color:rgba(171,1,1,1);background-color:rgba(171,1,1,var(--bg-opacity,1))}.focus\\\\:color-red-600:focus{color:rgba(171,1,1,1);color:rgba(171,1,1,var(--color-opacity,1))}.focus\\\\:border-red-600:focus{border-color:rgba(171,1,1,1);border-color:rgba(171,1,1,var(--border-opacity,1))}.focus\\\\:bg-navy-25:focus{background-color:rgba(243,243,254,1);background-color:rgba(243,243,254,var(--bg-opacity,1))}.focus\\\\:outline-navy-50:focus{outline-color:rgba(227,229,245,1);outline-color:rgba(227,229,245,var(--outline-opacity,1))}.focus\\\\:bg-navy-75:focus{background-color:rgba(218,222,243,1);background-color:rgba(218,222,243,var(--bg-opacity,1))}.focus\\\\:bg-navy-100:focus{background-color:rgba(200,206,237,1);background-color:rgba(200,206,237,var(--bg-opacity,1))}.focus\\\\:outline-navy-100:focus{outline-color:rgba(200,206,237,1);outline-color:rgba(200,206,237,var(--outline-opacity,1))}.focus\\\\:bg-navy-300:focus{background-color:rgba(108,115,168,1);background-color:rgba(108,115,168,var(--bg-opacity,1))}.focus\\\\:bg-navy-700:focus{background-color:rgba(10,21,81,1);background-color:rgba(10,21,81,var(--bg-opacity,1))}.focus\\\\:border-gray-300:focus{border-color:rgba(127,133,156,1);border-color:rgba(127,133,156,var(--border-opacity,1))}.focus\\\\:outline-gray-300:focus{outline-color:rgba(127,133,156,1);outline-color:rgba(127,133,156,var(--outline-opacity,1))}.focus\\\\:outline-analytics-light:focus{outline-color:rgba(185,190,223,1);outline-color:rgba(185,190,223,var(--outline-opacity,1))}.focus\\\\:outline-approvals-light:focus{outline-color:rgba(0,143,117,1);outline-color:rgba(0,143,117,var(--outline-opacity,1))}.focus\\\\:outline-apps-light:focus{outline-color:rgba(191,120,240,1);outline-color:rgba(191,120,240,var(--outline-opacity,1))}.focus\\\\:outline-forms-light:focus{outline-color:rgba(255,123,28,1);outline-color:rgba(255,123,28,var(--outline-opacity,1))}.focus\\\\:outline-inbox-light:focus{outline-color:rgba(89,190,210,1);outline-color:rgba(89,190,210,var(--outline-opacity,1))}.focus\\\\:outline-pages-light:focus{outline-color:rgba(88,135,191,1);outline-color:rgba(88,135,191,var(--outline-opacity,1))}.focus\\\\:outline-pdf-light:focus{outline-color:rgba(98,142,255,1);outline-color:rgba(98,142,255,var(--outline-opacity,1))}.focus\\\\:outline-reports-light:focus{outline-color:rgba(114,141,221,1);outline-color:rgba(114,141,221,var(--outline-opacity,1))}.focus\\\\:outline-sign-light:focus{outline-color:rgba(148,205,42,1);outline-color:rgba(148,205,42,var(--outline-opacity,1))}.focus\\\\:outline-tables-light:focus{outline-color:rgba(55,199,104,1);outline-color:rgba(55,199,104,var(--outline-opacity,1))}.focus\\\\:outline-teams-light:focus{outline-color:rgba(48,60,119,1);outline-color:rgba(48,60,119,var(--outline-opacity,1))}.group:hover .group-hover\\\\:color-navy-400{color:rgba(69,78,128,1);color:rgba(69,78,128,var(--color-opacity,1))}.group:hover .group-hover\\\\:bg-gray-100{background-color:rgba(191,195,206,1);background-color:rgba(191,195,206,var(--bg-opacity,1))}.group:hover .group-hover\\\\:bg-approvals-light{background-color:rgba(0,143,117,1);background-color:rgba(0,143,117,var(--bg-opacity,1))}.group:hover .group-hover\\\\:bg-apps-light{background-color:rgba(191,120,240,1);background-color:rgba(191,120,240,var(--bg-opacity,1))}.group:hover .group-hover\\\\:bg-forms-light{background-color:rgba(255,123,28,1);background-color:rgba(255,123,28,var(--bg-opacity,1))}.group:hover .group-hover\\\\:bg-pages-dark{background-color:rgba(3,41,76,1);background-color:rgba(3,41,76,var(--bg-opacity,1))}.group:hover .group-hover\\\\:bg-pdf-light{background-color:rgba(98,142,255,1);background-color:rgba(98,142,255,var(--bg-opacity,1))}.group:hover .group-hover\\\\:bg-sign-light{background-color:rgba(148,205,42,1);background-color:rgba(148,205,42,var(--bg-opacity,1))}.group:hover .group-hover\\\\:block{display:block}.group:hover .group-hover\\\\:flex{display:flex}.group:hover .group-hover\\\\:hidden{display:none}.focus-within\\\\:bg-blue-100:focus-within{background-color:rgba(237,248,255,1);background-color:rgba(237,248,255,var(--bg-opacity,1))}.focus-within\\\\:color-blue-100:focus-within{color:rgba(237,248,255,1);color:rgba(237,248,255,var(--color-opacity,1))}.focus-within\\\\:border-blue-100:focus-within{border-color:rgba(237,248,255,1);border-color:rgba(237,248,255,var(--border-opacity,1))}.focus-within\\\\:outline-blue-200:focus-within{outline-color:rgba(119,207,255,1);outline-color:rgba(119,207,255,var(--outline-opacity,1))}.focus-within\\\\:bg-blue-300:focus-within{background-color:rgba(77,190,252,1);background-color:rgba(77,190,252,var(--bg-opacity,1))}.focus-within\\\\:color-blue-300:focus-within{color:rgba(77,190,252,1);color:rgba(77,190,252,var(--color-opacity,1))}.focus-within\\\\:border-blue-300:focus-within{border-color:rgba(77,190,252,1);border-color:rgba(77,190,252,var(--border-opacity,1))}.focus-within\\\\:bg-blue-500:focus-within{background-color:rgba(0,117,227,1);background-color:rgba(0,117,227,var(--bg-opacity,1))}.focus-within\\\\:color-blue-500:focus-within{color:rgba(0,117,227,1);color:rgba(0,117,227,var(--color-opacity,1))}.focus-within\\\\:border-blue-500:focus-within{border-color:rgba(0,117,227,1);border-color:rgba(0,117,227,var(--border-opacity,1))}.focus-within\\\\:outline-blue-500:focus-within{outline-color:rgba(0,117,227,1);outline-color:rgba(0,117,227,var(--outline-opacity,1))}.focus-within\\\\:bg-blue-600:focus-within{background-color:rgba(0,102,195,1);background-color:rgba(0,102,195,var(--bg-opacity,1))}.focus-within\\\\:color-blue-600:focus-within{color:rgba(0,102,195,1);color:rgba(0,102,195,var(--color-opacity,1))}.focus-within\\\\:border-blue-600:focus-within{border-color:rgba(0,102,195,1);border-color:rgba(0,102,195,var(--border-opacity,1))}.focus-within\\\\:bg-red-100:focus-within{background-color:rgba(254,242,242,1);background-color:rgba(254,242,242,var(--bg-opacity,1))}.focus-within\\\\:color-red-100:focus-within{color:rgba(254,242,242,1);color:rgba(254,242,242,var(--color-opacity,1))}.focus-within\\\\:border-red-100:focus-within{border-color:rgba(254,242,242,1);border-color:rgba(254,242,242,var(--border-opacity,1))}.focus-within\\\\:bg-red-200:focus-within{background-color:rgba(254,202,202,1);background-color:rgba(254,202,202,var(--bg-opacity,1))}.focus-within\\\\:color-red-200:focus-within{color:rgba(254,202,202,1);color:rgba(254,202,202,var(--color-opacity,1))}.focus-within\\\\:border-red-200:focus-within{border-color:rgba(254,202,202,1);border-color:rgba(254,202,202,var(--border-opacity,1))}.focus-within\\\\:bg-red-400:focus-within{background-color:rgba(220,38,38,1);background-color:rgba(220,38,38,var(--bg-opacity,1))}.focus-within\\\\:color-red-400:focus-within{color:rgba(220,38,38,1);color:rgba(220,38,38,var(--color-opacity,1))}.focus-within\\\\:border-red-400:focus-within{border-color:rgba(220,38,38,1);border-color:rgba(220,38,38,var(--border-opacity,1))}.focus-within\\\\:bg-red-600:focus-within{background-color:rgba(171,1,1,1);background-color:rgba(171,1,1,var(--bg-opacity,1))}.focus-within\\\\:color-red-600:focus-within{color:rgba(171,1,1,1);color:rgba(171,1,1,var(--color-opacity,1))}.focus-within\\\\:border-red-600:focus-within{border-color:rgba(171,1,1,1);border-color:rgba(171,1,1,var(--border-opacity,1))}.focus-within\\\\:bg-navy-25:focus-within{background-color:rgba(243,243,254,1);background-color:rgba(243,243,254,var(--bg-opacity,1))}.focus-within\\\\:bg-navy-75:focus-within{background-color:rgba(218,222,243,1);background-color:rgba(218,222,243,var(--bg-opacity,1))}.focus-within\\\\:bg-navy-100:focus-within{background-color:rgba(200,206,237,1);background-color:rgba(200,206,237,var(--bg-opacity,1))}.focus-within\\\\:bg-navy-300:focus-within{background-color:rgba(108,115,168,1);background-color:rgba(108,115,168,var(--bg-opacity,1))}.focus-within\\\\:bg-navy-700:focus-within{background-color:rgba(10,21,81,1);background-color:rgba(10,21,81,var(--bg-opacity,1))}.outline-0{outline-width:0}.outline-offset-0{outline-offset:0}.hover\\\\:outline-2:hover,.outline-2{outline-width:.125rem}.outline-4{outline-width:.25rem}.outline{outline-width:1px}.font-light{font-weight:300}.font-normal{font-weight:400}.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-black{font-weight:900}.hover\\\\:underline:hover,.underline{text-decoration-line:underline}.hover\\\\:no-underline:hover,.no-underline{text-decoration-line:none}.line-through{text-decoration-line:line-through}.focus\\\\:outline-2:focus{outline-width:.125rem}.focus\\\\:outline-4:focus{outline-width:.25rem}.focus\\\\:outline:focus{outline-width:1px}.h-0{height:0}.w-0{width:0}.h-1{height:.25rem}.w-1{width:.25rem}.h-2{height:.5rem}.w-2{width:.5rem}.h-3{height:.75rem}.w-3{width:.75rem}.h-4{height:1rem}.w-4{width:1rem}.h-5{height:1.25rem}.w-5{width:1.25rem}.h-6{height:1.5rem}.w-6{width:1.5rem}.h-7{height:1.75rem}.w-7{width:1.75rem}.h-8{height:2rem}.w-8{width:2rem}.h-9{height:2.25rem}.w-9{width:2.25rem}.h-10{height:2.5rem}.w-10{width:2.5rem}.h-11{height:2.75rem}.w-11{width:2.75rem}.h-12{height:3rem}.w-12{width:3rem}.h-14{height:3.5rem}.w-14{width:3.5rem}.h-16{height:4rem}.w-16{width:4rem}.h-18{height:4.5rem}.w-18{width:4.5rem}.h-20{height:5rem}.w-20{width:5rem}.group:hover .group-hover\\\\:h-24,.h-24{height:6rem}.w-24{width:6rem}.h-28{height:7rem}.w-28{width:7rem}.h-32{height:8rem}.w-32{width:8rem}.h-36{height:9rem}.h-40{height:10rem}.w-40{width:10rem}.h-44{height:11rem}.h-48{height:12rem}.w-48{width:12rem}.h-52{height:13rem}.w-52{width:13rem}.w-56{width:14rem}.h-60{height:15rem}.h-64{height:16rem}.w-64{width:16rem}.h-72{height:18rem}.w-72{width:18rem}.w-76{width:19rem}.h-80{height:20rem}.w-80{width:20rem}.h-84{height:21rem}.w-84{width:21rem}.w-92{width:23rem}.h-100{height:25rem}.w-100{width:25rem}.w-116{width:29rem}.h-120{height:30rem}.h-auto{height:auto}.hover\\\\:w-auto:hover,.w-auto{width:auto}.w-1\\\\/2{width:50%}.h-1\\\\/3{height:33.333333%}.w-1\\\\/3{width:33.333333%}.w-3\\\\/4{width:75%}.w-1\\\\/5{width:20%}.w-2\\\\/5{width:40%}.w-3\\\\/5{width:60%}.w-4\\\\/5{width:80%}.w-2\\\\/6{width:33.333333%}.h-5\\\\/6{height:83.333333%}.w-5\\\\/6{width:83.333333%}.w-3\\\\/12{width:25%}.w-6\\\\/12{width:50%}.w-8\\\\/12{width:66.666667%}.h-11\\\\/12{height:91.666667%}.w-11\\\\/12{width:91.666667%}.h-full{height:100%}.w-full{width:100%}.h-px{height:1px}.w-px{width:1px}.h-0\\\\.5{height:.125rem}.h-2\\\\.5{height:.625rem}.w-2\\\\.5{width:.625rem}.h-3\\\\.5{height:.875rem}.w-3\\\\.5{width:.875rem}.w-min{width:-moz-min-content;width:min-content}.h-max{height:-moz-max-content;height:max-content}.w-max{width:-moz-max-content;width:max-content}.h-50vh{height:50vh}.h-60vh{height:60vh}.h-100vh{height:100vh}.h-100dvh{height:100dvh}.w-90vw{width:90vw}.w-100vw{width:100vw}.w-100dvw{width:100dvw}.basis-1\\\\/2{flex-basis:50%}.basis-2\\\\/3{flex-basis:66.666667%}.delay-300{transition-delay:.3s}.duration-150{transition-duration:.15s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-all-colors{transition-property:background-color,color,border-color,outline-color}.ease-in{transition-timing-function:ease-in}.ease-out{transition-timing-function:ease-out}.ease-in-out{transition-timing-function:ease-in-out}.hover\\\\:duration-300:hover{transition-duration:.3s}.top-0{top:0}.left-0{left:0}.right-0{right:0}.bottom-0{bottom:0}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{right:0;left:0}.bottom-1{bottom:.25rem}.inset-1{top:.25rem;right:.25rem;bottom:.25rem;left:.25rem}.top-2{top:.5rem}.left-2{left:.5rem}.right-2{right:.5rem}.bottom-2{bottom:.5rem}.inset-2{top:.5rem;right:.5rem;bottom:.5rem;left:.5rem}.-top-2{top:-.5rem}.-left-2{left:-.5rem}.-right-2{right:-.5rem}.top-3{top:.75rem}.left-3{left:.75rem}.right-3{right:.75rem}.top-4{top:1rem}.left-4{left:1rem}.right-4{right:1rem}.bottom-4{bottom:1rem}.top-5{top:1.25rem}.left-5{left:1.25rem}.right-5{right:1.25rem}.top-6{top:1.5rem}.left-6{left:1.5rem}.right-6{right:1.5rem}.bottom-6{bottom:1.5rem}.bottom-7{bottom:1.75rem}.top-8{top:2rem}.right-8{right:2rem}.bottom-8{bottom:2rem}.-top-8{top:-2rem}.top-10{top:2.5rem}.bottom-10{bottom:2.5rem}.-top-10{top:-2.5rem}.-right-10{right:-2.5rem}.right-11{right:2.75rem}.top-12{top:3rem}.bottom-12{bottom:3rem}.top-14{top:3.5rem}.left-18{left:4.5rem}.bottom-18{bottom:4.5rem}.bottom-20{bottom:5rem}.left-24{left:6rem}.top-28{top:7rem}.bottom-28{bottom:7rem}.-left-28{left:-7rem}.-left-44{left:-11rem}.top-1\\\\/2{top:50%}.left-1\\\\/2{left:50%}.right-1\\\\/2{right:50%}.top-1\\\\/3{top:33.333333%}.left-1\\\\/3{left:33.333333%}.top-2\\\\/3{top:66.666667%}.left-2\\\\/3{left:66.666667%}.top-2\\\\/4{top:50%}.top-4\\\\/12{top:33.333333%}.top-11\\\\/12{top:91.666667%}.top-full{top:100%}.left-full{left:100%}.right-full{right:100%}.-left-full{left:-100%}.top-px{top:1px}.bottom-px,.inset-px{bottom:1px}.inset-px{top:1px}.inset-px{right:1px;left:1px}.bottom-0\\\\.5,.inset-0\\\\.5{bottom:.125rem}.inset-0\\\\.5{top:.125rem}.inset-0\\\\.5{right:.125rem;left:.125rem}.right-1\\\\.5{right:.375rem}.inset-1\\\\.5{bottom:.375rem}.inset-1\\\\.5{top:.375rem}.inset-1\\\\.5{right:.375rem;left:.375rem}.-bottom-3\\\\.5{bottom:-.875rem}.left-auto{left:auto}.radius-none{border-radius:0}.radius-b-none{border-bottom-left-radius:0}.radius-b-none,.radius-br-none{border-bottom-right-radius:0}.radius-bl-none{border-bottom-left-radius:0}.radius{border-radius:.25rem}.radius-t{border-top-right-radius:.25rem}.radius-t,.radius-tl{border-top-left-radius:.25rem}.radius-r,.radius-tr{border-top-right-radius:.25rem}.radius-r{border-bottom-right-radius:.25rem}.radius-b{border-bottom-left-radius:.25rem}.radius-b,.radius-br{border-bottom-right-radius:.25rem}.radius-bl,.radius-l{border-bottom-left-radius:.25rem}.radius-l{border-top-left-radius:.25rem}.radius-sm{border-radius:.125rem}.radius-md{border-radius:.375rem}.radius-tl-md{border-top-left-radius:.375rem}.radius-tr-md{border-top-right-radius:.375rem}.radius-b-md{border-bottom-left-radius:.375rem}.radius-b-md,.radius-br-md{border-bottom-right-radius:.375rem}.radius-bl-md{border-bottom-left-radius:.375rem}.radius-lg{border-radius:.5rem}.radius-t-lg{border-top-right-radius:.5rem}.radius-t-lg,.radius-tl-lg{border-top-left-radius:.5rem}.radius-r-lg,.radius-tr-lg{border-top-right-radius:.5rem}.radius-r-lg{border-bottom-right-radius:.5rem}.radius-b-lg{border-bottom-left-radius:.5rem}.radius-b-lg,.radius-br-lg{border-bottom-right-radius:.5rem}.radius-bl-lg,.radius-l-lg{border-bottom-left-radius:.5rem}.radius-l-lg{border-top-left-radius:.5rem}.radius-xl{border-radius:.75rem}.radius-t-xl{border-top-right-radius:.75rem}.radius-t-xl{border-top-left-radius:.75rem}.radius-full{border-radius:9998px}.radius-l-full{border-bottom-left-radius:9998px}.radius-l-full{border-top-left-radius:9998px}.group:hover .group-hover\\\\:left-2\\\\.5{left:.625rem}[dir=rtl] .rtl\\\\:left-0{left:0}[dir=rtl] .rtl\\\\:right-0{right:0}[dir=rtl] .rtl\\\\:right-2{right:.5rem}[dir=rtl] .rtl\\\\:left-4{left:1rem}[dir=rtl] .rtl\\\\:left-5{left:1.25rem}[dir=rtl] .rtl\\\\:left-8{left:2rem}[dir=rtl] .rtl\\\\:left-11{left:2.75rem}[dir=rtl] .rtl\\\\:right-24{right:6rem}[dir=rtl] .rtl\\\\:-right-28{right:-7rem}[dir=rtl] .rtl\\\\:right-1\\\\/2{right:50%}[dir=rtl] .rtl\\\\:right-1\\\\/3{right:33.333333%}[dir=rtl] .rtl\\\\:right-2\\\\/3{right:66.666667%}[dir=rtl] .rtl\\\\:left-auto{left:auto}[dir=rtl] .rtl\\\\:right-auto{right:auto}[dir=rtl] .rtl\\\\:radius-r-none{border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .rtl\\\\:radius-l-none{border-top-left-radius:0;border-bottom-left-radius:0}[dir=rtl] .rtl\\\\:radius-r-lg{border-top-right-radius:.5rem}[dir=rtl] .rtl\\\\:radius-r-lg{border-bottom-right-radius:.5rem}[dir=rtl] .rtl\\\\:radius-l-lg{border-bottom-left-radius:.5rem}[dir=rtl] .rtl\\\\:radius-l-lg{border-top-left-radius:.5rem}.translate-x-0{--translate-x:0}.-translate-x-20{--translate-x:-5rem}.translate-x-120{--translate-x:30rem}.-translate-x-120{--translate-x:-30rem}.translate-y-px{--translate-y:1px}.-translate-y-px{--translate-y:-1px}.translate-y-1\\\\/2{--translate-y:50%}.-translate-y-1\\\\/2{--translate-y:-50%}.translate-x-1\\\\/2{--translate-x:50%}.-translate-x-1\\\\/2{--translate-x:-50%}.-translate-y-6\\\\/12{--translate-y:-50%}.translate-x-6\\\\/12{--translate-x:50%}.translate-x-full{--translate-x:100%}.-translate-x-full{--translate-x:-100%}.scale-75{--scale:0.75}.scale-80{--scale:0.8}.rotate-90{--rotate:90deg}.rotate-180{--rotate:180deg}[dir=rtl] .rtl\\\\:rotate-180{--rotate:180deg}.m-0{margin:0}.mx-0{margin-left:0;margin-right:0}.my-0{margin-top:0;margin-bottom:0}.ml-0,[dir=rtl] .rtl\\\\:ml-0{margin-left:0}.mr-0,[dir=rtl] .rtl\\\\:mr-0{margin-right:0}.mt-0{margin-top:0}.mb-0{margin-bottom:0}.mx-1{margin-left:.25rem;margin-right:.25rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.ml-1,[dir=rtl] .rtl\\\\:ml-1{margin-left:.25rem}.mr-1{margin-right:.25rem}.mt-1{margin-top:.25rem}.mb-1{margin-bottom:.25rem}.-ml-1{margin-left:-.25rem}.-mb-1{margin-bottom:-.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.ml-2,[dir=rtl] .rtl\\\\:ml-2{margin-left:.5rem}.mr-2,[dir=rtl] .rtl\\\\:mr-2{margin-right:.5rem}.mt-2{margin-top:.5rem}.mb-2{margin-bottom:.5rem}.-mt-2{margin-top:-.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.ml-3{margin-left:.75rem}.mr-3,[dir=rtl] .rtl\\\\:mr-3{margin-right:.75rem}.mt-3{margin-top:.75rem}.mb-3{margin-bottom:.75rem}.-m-3{margin:-.75rem}.-mx-3{margin-left:-.75rem;margin-right:-.75rem}.m-4{margin:1rem}.mx-4{margin-left:1rem;margin-right:1rem}.my-4{margin-top:1rem;margin-bottom:1rem}.ml-4,[dir=rtl] .rtl\\\\:ml-4{margin-left:1rem}.mr-4{margin-right:1rem}.mt-4{margin-top:1rem}.mb-4{margin-bottom:1rem}.-mx-4{margin-left:-1rem;margin-right:-1rem}.-mr-4{margin-right:-1rem}.-mt-4{margin-top:-1rem}.mx-5{margin-left:1.25rem;margin-right:1.25rem}.mt-5{margin-top:1.25rem}.mb-5{margin-bottom:1.25rem}.-mx-5{margin-left:-1.25rem;margin-right:-1.25rem}.-mb-5{margin-bottom:-1.25rem}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.mr-6{margin-right:1.5rem}.mt-6{margin-top:1.5rem}.mb-6{margin-bottom:1.5rem}.-mx-6{margin-left:-1.5rem;margin-right:-1.5rem}.-mb-6{margin-bottom:-1.5rem}.mt-7{margin-top:1.75rem}.mb-7{margin-bottom:1.75rem}.my-8{margin-top:2rem;margin-bottom:2rem}.ml-8,[dir=rtl] .rtl\\\\:ml-8{margin-left:2rem}.mr-8{margin-right:2rem}.mt-8{margin-top:2rem}.mb-8{margin-bottom:2rem}.-mx-8{margin-left:-2rem;margin-right:-2rem}.-mt-8{margin-top:-2rem}.mt-9{margin-top:2.25rem}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.mt-10{margin-top:2.5rem}.mb-10{margin-bottom:2.5rem}.mt-11{margin-top:2.75rem}.my-12{margin-top:3rem;margin-bottom:3rem}.mt-12{margin-top:3rem}.mb-12{margin-bottom:3rem}.mx-14{margin-left:3.5rem;margin-right:3.5rem}.ml-14{margin-left:3.5rem}.mt-14{margin-top:3.5rem}.mb-14{margin-bottom:3.5rem}.mt-16{margin-top:4rem}.mb-16{margin-bottom:4rem}.mt-18{margin-top:4.5rem}.mb-18{margin-bottom:4.5rem}.my-20{margin-top:5rem;margin-bottom:5rem}.mt-20{margin-top:5rem}.my-24{margin-top:6rem;margin-bottom:6rem}.my-28{margin-top:7rem;margin-bottom:7rem}.mt-32{margin-top:8rem}.mr-px{margin-right:1px}.mb-px{margin-bottom:1px}.-mt-px{margin-top:-1px}.my-0\\\\.5{margin-top:.125rem;margin-bottom:.125rem}.ml-0\\\\.5{margin-left:.125rem}.mr-0\\\\.5{margin-right:.125rem}.mt-0\\\\.5{margin-top:.125rem}.mb-0\\\\.5{margin-bottom:.125rem}.mx-1\\\\.5{margin-left:.375rem;margin-right:.375rem}.ml-1\\\\.5{margin-left:.375rem}.mr-1\\\\.5{margin-right:.375rem}.mt-1\\\\.5{margin-top:.375rem}.mb-1\\\\.5{margin-bottom:.375rem}.mx-2\\\\.5{margin-left:.625rem;margin-right:.625rem}.ml-2\\\\.5{margin-left:.625rem}.mr-2\\\\.5{margin-right:.625rem}.mt-2\\\\.5{margin-top:.625rem}.mb-2\\\\.5{margin-bottom:.625rem}.mb-3\\\\.5{margin-bottom:.875rem}.-ml-3\\\\.5{margin-left:-.875rem}.-mr-3\\\\.5{margin-right:-.875rem}.m-auto{margin:auto}.mx-auto{margin-left:auto;margin-right:auto}.my-auto{margin-top:auto;margin-bottom:auto}.ml-auto,[dir=rtl] .rtl\\\\:ml-auto{margin-left:auto}.mr-auto,[dir=rtl] .rtl\\\\:mr-auto{margin-right:auto}.mt-auto{margin-top:auto}.mb-auto{margin-bottom:auto}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}@media only screen and (min-width:30rem){[class].xs\\\\:float-right{float:right}[class].xs\\\\:px-0{padding-left:0;padding-right:0}[class].xs\\\\:pt-0{padding-top:0}[class].xs\\\\:px-1{padding-left:.25rem;padding-right:.25rem}[class].xs\\\\:px-2{padding-left:.5rem;padding-right:.5rem}[class].xs\\\\:p-4{padding:1rem}[class].xs\\\\:px-4{padding-left:1rem;padding-right:1rem}[class].xs\\\\:p-6{padding:1.5rem}[class].xs\\\\:px-7{padding-left:1.75rem;padding-right:1.75rem}[class].xs\\\\:px-10{padding-left:2.5rem;padding-right:2.5rem}[class].xs\\\\:pt-10{padding-top:2.5rem}[class].xs\\\\:pb-10{padding-bottom:2.5rem}[class].xs\\\\:pt-12{padding-top:3rem}[class].xs\\\\:pt-20{padding-top:5rem}[class].xs\\\\:pr-28{padding-right:7rem}[class].xs\\\\:py-1\\\\.5{padding-top:.375rem;padding-bottom:.375rem}[class].xs\\\\:text-sm{font-size:.875rem;line-height:1.125rem}[class].xs\\\\:text-lg{font-size:1.125rem;line-height:1.375rem}[class].xs\\\\:line-height-md{line-height:1.25rem}[class].xs\\\\:justify-center{justify-content:center}[class].xs\\\\:justify-start{justify-content:flex-start}[class].xs\\\\:justify-end{justify-content:flex-end}[class].xs\\\\:justify-between{justify-content:space-between}[class].xs\\\\:justify-around{justify-content:space-around}[class].xs\\\\:justify-evenly{justify-content:space-evenly}[class].xs\\\\:justify-self-auto{justify-self:auto}[class].xs\\\\:justify-self-start{justify-self:start}[class].xs\\\\:justify-self-end{justify-self:end}[class].xs\\\\:justify-self-center{justify-self:center}[class].xs\\\\:justify-self-stretch{justify-self:stretch}[class].xs\\\\:self-auto{align-self:auto}[class].xs\\\\:self-center{align-self:center}[class].xs\\\\:self-start{align-self:flex-start}[class].xs\\\\:self-end{align-self:flex-end}[class].xs\\\\:self-stretch{align-self:stretch}[class].xs\\\\:self-baseline{align-self:baseline}[class].xs\\\\:items-center{align-items:center}[class].xs\\\\:items-start{align-items:flex-start}[class].xs\\\\:items-end{align-items:flex-end}[class].xs\\\\:items-stretch{align-items:stretch}[class].xs\\\\:items-baseline{align-items:baseline}[class].xs\\\\:max-w-24{max-width:6rem}[class].xs\\\\:max-h-32{max-height:8rem}[class].xs\\\\:max-h-44{max-height:11rem}[class].xs\\\\:max-w-64{max-width:16rem}[class].xs\\\\:cols-none{grid-template-columns:repeat(none,minmax(0,1fr))}[class].xs\\\\:cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}[class].xs\\\\:cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}[class].xs\\\\:cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}[class].xs\\\\:cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}[class].xs\\\\:cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}[class].xs\\\\:cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}[class].xs\\\\:cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}[class].xs\\\\:cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}[class].xs\\\\:cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}[class].xs\\\\:cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}[class].xs\\\\:cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}[class].xs\\\\:cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}[class].xs\\\\:col-start-auto{grid-column-start:auto}[class].xs\\\\:col-end-auto{grid-column-end:auto}[class].xs\\\\:col-start-1{grid-column-start:1}[class].xs\\\\:col-end-1{grid-column-end:1}[class].xs\\\\:col-start-2{grid-column-start:2}[class].xs\\\\:col-end-2{grid-column-end:2}[class].xs\\\\:col-start-3{grid-column-start:3}[class].xs\\\\:col-end-3{grid-column-end:3}[class].xs\\\\:col-start-4{grid-column-start:4}[class].xs\\\\:col-end-4{grid-column-end:4}[class].xs\\\\:col-start-5{grid-column-start:5}[class].xs\\\\:col-end-5{grid-column-end:5}[class].xs\\\\:col-start-6{grid-column-start:6}[class].xs\\\\:col-end-6{grid-column-end:6}[class].xs\\\\:col-start-7{grid-column-start:7}[class].xs\\\\:col-end-7{grid-column-end:7}[class].xs\\\\:col-start-8{grid-column-start:8}[class].xs\\\\:col-end-8{grid-column-end:8}[class].xs\\\\:col-start-9{grid-column-start:9}[class].xs\\\\:col-end-9{grid-column-end:9}[class].xs\\\\:col-start-10{grid-column-start:10}[class].xs\\\\:col-end-10{grid-column-end:10}[class].xs\\\\:col-start-11{grid-column-start:11}[class].xs\\\\:col-end-11{grid-column-end:11}[class].xs\\\\:col-start-12{grid-column-start:12}[class].xs\\\\:col-end-12{grid-column-end:12}[class].xs\\\\:row-start-auto{grid-row-start:auto}[class].xs\\\\:row-end-auto{grid-row-end:auto}[class].xs\\\\:row-start-1{grid-row-start:1}[class].xs\\\\:row-end-1{grid-row-end:1}[class].xs\\\\:row-start-2{grid-row-start:2}[class].xs\\\\:row-end-2{grid-row-end:2}[class].xs\\\\:row-start-3{grid-row-start:3}[class].xs\\\\:row-end-3{grid-row-end:3}[class].xs\\\\:row-start-4{grid-row-start:4}[class].xs\\\\:row-end-4{grid-row-end:4}[class].xs\\\\:row-start-5{grid-row-start:5}[class].xs\\\\:row-end-5{grid-row-end:5}[class].xs\\\\:row-start-6{grid-row-start:6}[class].xs\\\\:row-end-6{grid-row-end:6}[class].xs\\\\:row-start-7{grid-row-start:7}[class].xs\\\\:row-end-7{grid-row-end:7}[class].xs\\\\:row-start-8{grid-row-start:8}[class].xs\\\\:row-end-8{grid-row-end:8}[class].xs\\\\:row-start-9{grid-row-start:9}[class].xs\\\\:row-end-9{grid-row-end:9}[class].xs\\\\:row-start-10{grid-row-start:10}[class].xs\\\\:row-end-10{grid-row-end:10}[class].xs\\\\:row-start-11{grid-row-start:11}[class].xs\\\\:row-end-11{grid-row-end:11}[class].xs\\\\:row-start-12{grid-row-start:12}[class].xs\\\\:row-end-12{grid-row-end:12}[class].xs\\\\:gap-0{gap:0}[class].xs\\\\:flex-row{flex-direction:row}[class].xs\\\\:flex-col{flex-direction:column}[class].xs\\\\:flex-row-reverse{flex-direction:row-reverse}[class].xs\\\\:flex-col-reverse{flex-direction:column-reverse}[class].xs\\\\:shrink-0{flex-shrink:0}[class].xs\\\\:shrink-1{flex-shrink:1}[class].xs\\\\:grow-0{flex-grow:0}[class].xs\\\\:grow-1{flex-grow:1}[class].xs\\\\:flex-wrap{flex-wrap:wrap}[class].xs\\\\:flex-nowrap{flex-wrap:nowrap}[class].xs\\\\:order-last{order:9999}[class].xs\\\\:bg-gray-600{background-color:rgba(51,56,74,1);background-color:rgba(51,56,74,var(--bg-opacity,1))}[class].xs\\\\:inline-flex{display:inline-flex}[class].xs\\\\:block{display:block}[class].xs\\\\:hidden{display:none}[class].xs\\\\:inline{display:inline}[class].xs\\\\:hiddenjf{display:none}[class].xs\\\\:shadow-none{box-shadow:none}[class].xs\\\\:h-10{height:2.5rem}[class].xs\\\\:w-10{width:2.5rem}[class].xs\\\\:h-20{height:5rem}[class].xs\\\\:w-20{width:5rem}[class].xs\\\\:w-40{width:10rem}[class].xs\\\\:h-44{height:11rem}[class].xs\\\\:w-44{width:11rem}[class].xs\\\\:h-64{height:16rem}[class].xs\\\\:w-64{width:16rem}[class].xs\\\\:h-80{height:20rem}[class].xs\\\\:w-96{width:24rem}[class].xs\\\\:w-108{width:27rem}[class].xs\\\\:w-auto{width:auto}[class].xs\\\\:w-max{width:-moz-max-content;width:max-content}[class].xs\\\\:bottom-0{bottom:0}[class].xs\\\\:-top-4{top:-1rem}[class].xs\\\\:right-5{right:1.25rem}[class].xs\\\\:right-6{right:1.5rem}[class].xs\\\\:top-12{top:3rem}[class].xs\\\\:bottom-12{bottom:3rem}[class].xs\\\\:top-auto{top:auto}[class].xs\\\\:left-auto{left:auto}[class].xs\\\\:bottom-auto{bottom:auto}[class].xs\\\\:radius-b-none{border-bottom-left-radius:0}[class].xs\\\\:radius-b-none{border-bottom-right-radius:0}[class].xs\\\\:radius-t-lg{border-top-right-radius:.5rem}[class].xs\\\\:radius-t-lg{border-top-left-radius:.5rem}[class].xs\\\\:radius-b-lg{border-bottom-left-radius:.5rem}[class].xs\\\\:radius-b-lg{border-bottom-right-radius:.5rem}[class].xs\\\\:radius-r-full{border-top-right-radius:9998px}[class].xs\\\\:radius-r-full{border-bottom-right-radius:9998px}[class].xs\\\\:radius-l-full{border-bottom-left-radius:9998px}[class].xs\\\\:radius-l-full{border-top-left-radius:9998px}[class].xs\\\\:ml-0{margin-left:0}[class].xs\\\\:mr-0{margin-right:0}[class].xs\\\\:mt-0{margin-top:0}[class].xs\\\\:mb-0{margin-bottom:0}[class].xs\\\\:ml-1{margin-left:.25rem}[class].xs\\\\:ml-2{margin-left:.5rem}[class].xs\\\\:mr-2{margin-right:.5rem}[class].xs\\\\:ml-5{margin-left:1.25rem}[class].xs\\\\:mr-5{margin-right:1.25rem}[class].xs\\\\:mr-auto{margin-right:auto}}@media only screen and (min-width:40rem){[class].sm\\\\:line-clamp-2{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}[class].sm\\\\:line-clamp-2{-webkit-line-clamp:2}[class].sm\\\\:border-t-0{border-top-width:0}[class].sm\\\\:border-b-0{border-bottom-width:0}[class].sm\\\\:overflow-auto{overflow:auto}[class].sm\\\\:static{position:static}[class].sm\\\\:text-center,[dir=rtl] [class].sm\\\\:rtl\\\\:text-center{text-align:center}[class].sm\\\\:px-0{padding-left:0;padding-right:0}[class].sm\\\\:pb-0{padding-bottom:0}[class].sm\\\\:pl-0{padding-left:0}[class].sm\\\\:pr-0{padding-right:0}[class].sm\\\\:px-2{padding-left:.5rem;padding-right:.5rem}[class].sm\\\\:pr-2{padding-right:.5rem}[class].sm\\\\:py-3{padding-top:.75rem;padding-bottom:.75rem}[class].sm\\\\:pr-3{padding-right:.75rem}[class].sm\\\\:p-4{padding:1rem}[class].sm\\\\:px-4{padding-left:1rem;padding-right:1rem}[class].sm\\\\:py-4{padding-top:1rem;padding-bottom:1rem}[dir=rtl] [class].sm\\\\:rtl\\\\:pl-4{padding-left:1rem}[class].sm\\\\:pr-4,[dir=rtl] [class].sm\\\\:rtl\\\\:pr-4{padding-right:1rem}[class].sm\\\\:px-7{padding-left:1.75rem;padding-right:1.75rem}[class].sm\\\\:px-8{padding-left:2rem;padding-right:2rem}[class].sm\\\\:pr-10{padding-right:2.5rem}[class].sm\\\\:px-12{padding-left:3rem;padding-right:3rem}[class].sm\\\\:py-0\\\\.5{padding-top:.125rem;padding-bottom:.125rem}[class].sm\\\\:space-y-0>*+*{margin-top:0}[class].sm\\\\:text-md{font-size:1rem;line-height:1.25rem}[class].sm\\\\:text-lg{font-size:1.125rem;line-height:1.375rem}[class].sm\\\\:text-xl{font-size:1.25rem;line-height:1.5rem}[class].sm\\\\:text-2xl{font-size:1.5rem;line-height:1.75rem}[class].sm\\\\:text-4xl{font-size:2rem;line-height:2.5rem}[class].sm\\\\:justify-center{justify-content:center}[class].sm\\\\:justify-start{justify-content:flex-start}[class].sm\\\\:justify-end{justify-content:flex-end}[class].sm\\\\:justify-between{justify-content:space-between}[class].sm\\\\:justify-around{justify-content:space-around}[class].sm\\\\:justify-evenly{justify-content:space-evenly}[class].sm\\\\:justify-self-auto{justify-self:auto}[class].sm\\\\:justify-self-start{justify-self:start}[class].sm\\\\:justify-self-end{justify-self:end}[class].sm\\\\:justify-self-center{justify-self:center}[class].sm\\\\:justify-self-stretch{justify-self:stretch}[class].sm\\\\:self-auto{align-self:auto}[class].sm\\\\:self-center{align-self:center}[class].sm\\\\:self-start{align-self:flex-start}[class].sm\\\\:self-end{align-self:flex-end}[class].sm\\\\:self-stretch{align-self:stretch}[class].sm\\\\:self-baseline{align-self:baseline}[class].sm\\\\:items-center{align-items:center}[class].sm\\\\:items-start{align-items:flex-start}[class].sm\\\\:items-end{align-items:flex-end}[class].sm\\\\:items-stretch{align-items:stretch}[class].sm\\\\:items-baseline{align-items:baseline}[class].sm\\\\:min-w-36{min-width:9rem}[class].sm\\\\:min-w-sm{min-width:40rem}[class].sm\\\\:max-w-32{max-width:8rem}[class].sm\\\\:max-h-44{max-height:11rem}[class].sm\\\\:max-w-3\\\\/4{max-width:75%}[class].sm\\\\:max-h-4\\\\/5{max-height:80%}[class].sm\\\\:max-w-full{max-width:100%}[class].sm\\\\:max-h-50vh{max-height:50vh}[class].sm\\\\:cols-none{grid-template-columns:repeat(none,minmax(0,1fr))}[class].sm\\\\:cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}[class].sm\\\\:cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}[class].sm\\\\:cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}[class].sm\\\\:cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}[class].sm\\\\:cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}[class].sm\\\\:cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}[class].sm\\\\:cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}[class].sm\\\\:cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}[class].sm\\\\:cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}[class].sm\\\\:cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}[class].sm\\\\:cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}[class].sm\\\\:cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}[class].sm\\\\:col-start-auto{grid-column-start:auto}[class].sm\\\\:col-end-auto{grid-column-end:auto}[class].sm\\\\:col-start-1{grid-column-start:1}[class].sm\\\\:col-end-1{grid-column-end:1}[class].sm\\\\:col-start-2{grid-column-start:2}[class].sm\\\\:col-end-2{grid-column-end:2}[class].sm\\\\:col-start-3{grid-column-start:3}[class].sm\\\\:col-end-3{grid-column-end:3}[class].sm\\\\:col-start-4{grid-column-start:4}[class].sm\\\\:col-end-4{grid-column-end:4}[class].sm\\\\:col-start-5{grid-column-start:5}[class].sm\\\\:col-end-5{grid-column-end:5}[class].sm\\\\:col-start-6{grid-column-start:6}[class].sm\\\\:col-end-6{grid-column-end:6}[class].sm\\\\:col-start-7{grid-column-start:7}[class].sm\\\\:col-end-7{grid-column-end:7}[class].sm\\\\:col-start-8{grid-column-start:8}[class].sm\\\\:col-end-8{grid-column-end:8}[class].sm\\\\:col-start-9{grid-column-start:9}[class].sm\\\\:col-end-9{grid-column-end:9}[class].sm\\\\:col-start-10{grid-column-start:10}[class].sm\\\\:col-end-10{grid-column-end:10}[class].sm\\\\:col-start-11{grid-column-start:11}[class].sm\\\\:col-end-11{grid-column-end:11}[class].sm\\\\:col-start-12{grid-column-start:12}[class].sm\\\\:col-end-12{grid-column-end:12}[class].sm\\\\:row-start-auto{grid-row-start:auto}[class].sm\\\\:row-end-auto{grid-row-end:auto}[class].sm\\\\:row-start-1{grid-row-start:1}[class].sm\\\\:row-end-1{grid-row-end:1}[class].sm\\\\:row-start-2{grid-row-start:2}[class].sm\\\\:row-end-2{grid-row-end:2}[class].sm\\\\:row-start-3{grid-row-start:3}[class].sm\\\\:row-end-3{grid-row-end:3}[class].sm\\\\:row-start-4{grid-row-start:4}[class].sm\\\\:row-end-4{grid-row-end:4}[class].sm\\\\:row-start-5{grid-row-start:5}[class].sm\\\\:row-end-5{grid-row-end:5}[class].sm\\\\:row-start-6{grid-row-start:6}[class].sm\\\\:row-end-6{grid-row-end:6}[class].sm\\\\:row-start-7{grid-row-start:7}[class].sm\\\\:row-end-7{grid-row-end:7}[class].sm\\\\:row-start-8{grid-row-start:8}[class].sm\\\\:row-end-8{grid-row-end:8}[class].sm\\\\:row-start-9{grid-row-start:9}[class].sm\\\\:row-end-9{grid-row-end:9}[class].sm\\\\:row-start-10{grid-row-start:10}[class].sm\\\\:row-end-10{grid-row-end:10}[class].sm\\\\:row-start-11{grid-row-start:11}[class].sm\\\\:row-end-11{grid-row-end:11}[class].sm\\\\:row-start-12{grid-row-start:12}[class].sm\\\\:row-end-12{grid-row-end:12}[class].sm\\\\:gap-0{gap:0}[class].sm\\\\:gap-2{gap:.5rem}[class].sm\\\\:gap-3{gap:.75rem}[class].sm\\\\:gap-4{gap:1rem}[class].sm\\\\:gap-8{gap:2rem}[class].sm\\\\:gap-20{gap:5rem}[class].sm\\\\:flex-row{flex-direction:row}[class].sm\\\\:flex-col{flex-direction:column}[class].sm\\\\:flex-row-reverse{flex-direction:row-reverse}[class].sm\\\\:flex-col-reverse{flex-direction:column-reverse}[class].sm\\\\:shrink-0{flex-shrink:0}[class].sm\\\\:shrink-1{flex-shrink:1}[class].sm\\\\:grow-0{flex-grow:0}[class].sm\\\\:grow-1{flex-grow:1}[class].sm\\\\:flex-0{flex-grow:0;flex-shrink:0}[class].sm\\\\:flex-wrap{flex-wrap:wrap}[class].sm\\\\:flex-nowrap{flex-wrap:nowrap}[class].sm\\\\:order-first{order:-9999}[class].sm\\\\:order-last{order:9999}[class].sm\\\\:order-none{order:0}[class].sm\\\\:bg-transparent{background-color:transparent}[class].sm\\\\:border-navy-75{border-color:rgba(218,222,243,1);border-color:rgba(218,222,243,var(--border-opacity,1))}[class].sm\\\\:inline-block{display:inline-block}[class].sm\\\\:block{display:block}[class].sm\\\\:flex{display:flex}[class].sm\\\\:hidden{display:none}[class].sm\\\\:inline{display:inline}[class].sm\\\\:shadow-none{box-shadow:none}[class].sm\\\\:shadow-light-sm{box-shadow:0 0 2px #252d5b0a,0 4px 8px #545f6f29}[class].sm\\\\:h-5{height:1.25rem}[class].sm\\\\:w-5{width:1.25rem}[class].sm\\\\:h-8{height:2rem}[class].sm\\\\:h-10{height:2.5rem}[class].sm\\\\:w-10{width:2.5rem}[class].sm\\\\:h-20{height:5rem}[class].sm\\\\:w-20{width:5rem}[class].sm\\\\:h-28{height:7rem}[class].sm\\\\:w-32{width:8rem}[class].sm\\\\:w-40{width:10rem}[class].sm\\\\:h-44{height:11rem}[class].sm\\\\:w-48{width:12rem}[class].sm\\\\:w-52{width:13rem}[class].sm\\\\:w-56{width:14rem}[class].sm\\\\:w-60{width:15rem}[class].sm\\\\:w-64{width:16rem}[class].sm\\\\:h-72{height:18rem}[class].sm\\\\:w-72{width:18rem}[class].sm\\\\:h-88{height:22rem}[class].sm\\\\:w-120{width:30rem}[class].sm\\\\:h-auto{height:auto}[class].sm\\\\:w-auto{width:auto}[class].sm\\\\:w-1\\\\/2{width:50%}[class].sm\\\\:w-10\\\\/12{width:83.333333%}[class].sm\\\\:h-full{height:100%}[class].sm\\\\:radius-lg{border-radius:.5rem}[class].sm\\\\:mx-0{margin-left:0;margin-right:0}[dir=rtl] [class].sm\\\\:rtl\\\\:ml-0{margin-left:0}[class].sm\\\\:mt-0{margin-top:0}[class].sm\\\\:mb-0{margin-bottom:0}[class].sm\\\\:ml-2{margin-left:.5rem}[class].sm\\\\:mr-2{margin-right:.5rem}[class].sm\\\\:mb-2{margin-bottom:.5rem}[class].sm\\\\:mt-3{margin-top:.75rem}[class].sm\\\\:my-4{margin-top:1rem;margin-bottom:1rem}[class].sm\\\\:ml-4{margin-left:1rem}[class].sm\\\\:mr-4,[dir=rtl] [class].sm\\\\:rtl\\\\:mr-4{margin-right:1rem}[class].sm\\\\:-mx-7{margin-left:-1.75rem;margin-right:-1.75rem}[class].sm\\\\:mt-20{margin-top:5rem}[class].sm\\\\:mb-20{margin-bottom:5rem}[class].sm\\\\:ml-2\\\\.5{margin-left:.625rem}[class].sm\\\\:m-auto{margin:auto}[class].sm\\\\:mx-auto{margin-left:auto;margin-right:auto}[class].sm\\\\:ml-auto{margin-left:auto}[dir=rtl] [class].sm\\\\:rtl\\\\:mr-auto{margin-right:auto}}@media only screen and (min-width:48rem){[dir=rtl] [class].md\\\\:rtl\\\\:border-l-0{border-left-width:0}[class].md\\\\:border-l{border-left-width:1px}[dir=rtl] [class].md\\\\:rtl\\\\:border-r{border-right-width:1px}[class].md\\\\:border-b{border-bottom-width:1px}[class].md\\\\:px-0{padding-left:0;padding-right:0}[class].md\\\\:pl-0{padding-left:0}[class].md\\\\:pr-0,[dir=rtl] [class].md\\\\:rtl\\\\:pr-0{padding-right:0}[class].md\\\\:p-3{padding:.75rem}[class].md\\\\:py-3{padding-top:.75rem;padding-bottom:.75rem}[class].md\\\\:pl-3{padding-left:.75rem}[class].md\\\\:pr-3{padding-right:.75rem}[class].md\\\\:px-4{padding-left:1rem;padding-right:1rem}[class].md\\\\:pt-4{padding-top:1rem}[class].md\\\\:pb-4{padding-bottom:1rem}[class].md\\\\:pl-4{padding-left:1rem}[class].md\\\\:pr-4{padding-right:1rem}[class].md\\\\:px-5{padding-left:1.25rem;padding-right:1.25rem}[class].md\\\\:p-6{padding:1.5rem}[class].md\\\\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}[class].md\\\\:pb-6{padding-bottom:1.5rem}[class].md\\\\:px-8{padding-left:2rem;padding-right:2rem}[class].md\\\\:py-8{padding-top:2rem;padding-bottom:2rem}[class].md\\\\:pr-8{padding-right:2rem}[class].md\\\\:px-10{padding-left:2.5rem;padding-right:2.5rem}[class].md\\\\:pb-10{padding-bottom:2.5rem}[class].md\\\\:pt-12{padding-top:3rem}[class].md\\\\:pt-16{padding-top:4rem}[class].md\\\\:py-18{padding-top:4.5rem;padding-bottom:4.5rem}[class].md\\\\:pr-20{padding-right:5rem}[class].md\\\\:px-24{padding-left:6rem;padding-right:6rem}[class].md\\\\:pb-24{padding-bottom:6rem}[class].md\\\\:px-32{padding-left:8rem;padding-right:8rem}[class].md\\\\:pb-32{padding-bottom:8rem}[class].md\\\\:pb-40{padding-bottom:10rem}[dir=rtl] [class].md\\\\:rtl\\\\:pl-60{padding-left:15rem}[class].md\\\\:pr-60{padding-right:15rem}[class].md\\\\:text-sm{font-size:.875rem;line-height:1.125rem}[class].md\\\\:text-md{font-size:1rem;line-height:1.25rem}[class].md\\\\:text-lg{font-size:1.125rem;line-height:1.375rem}[class].md\\\\:text-xl{font-size:1.25rem;line-height:1.5rem}[class].md\\\\:text-2xl{font-size:1.5rem;line-height:1.75rem}[class].md\\\\:text-3xl{font-size:1.75rem;line-height:2rem}[class].md\\\\:text-4xl{font-size:2rem;line-height:2.5rem}[class].md\\\\:line-height-xl{line-height:1.5rem}[class].md\\\\:line-height-3xl{line-height:2rem}[class].md\\\\:line-height-4xl{line-height:2.5rem}[class].md\\\\:justify-center{justify-content:center}[class].md\\\\:justify-start{justify-content:flex-start}[class].md\\\\:justify-end{justify-content:flex-end}[class].md\\\\:justify-between{justify-content:space-between}[class].md\\\\:justify-around{justify-content:space-around}[class].md\\\\:justify-evenly{justify-content:space-evenly}[class].md\\\\:justify-self-auto{justify-self:auto}[class].md\\\\:justify-self-start{justify-self:start}[class].md\\\\:justify-self-end{justify-self:end}[class].md\\\\:justify-self-center{justify-self:center}[class].md\\\\:justify-self-stretch{justify-self:stretch}[class].md\\\\:self-auto{align-self:auto}[class].md\\\\:self-center{align-self:center}[class].md\\\\:self-start{align-self:flex-start}[class].md\\\\:self-end{align-self:flex-end}[class].md\\\\:self-stretch{align-self:stretch}[class].md\\\\:self-baseline{align-self:baseline}[class].md\\\\:items-center{align-items:center}[class].md\\\\:items-start{align-items:flex-start}[class].md\\\\:items-end{align-items:flex-end}[class].md\\\\:items-stretch{align-items:stretch}[class].md\\\\:items-baseline{align-items:baseline}[class].md\\\\:min-h-10{min-height:2.5rem}[class].md\\\\:min-h-12{min-height:3rem}[class].md\\\\:min-h-16{min-height:4rem}[class].md\\\\:min-h-24{min-height:6rem}[class].md\\\\:min-h-36{min-height:9rem}[class].md\\\\:min-w-40{min-width:10rem}[class].md\\\\:min-w-68{min-width:17rem}[class].md\\\\:min-w-76{min-width:19rem}[class].md\\\\:min-h-120{min-height:30rem}[class].md\\\\:min-w-md{min-width:48rem}[class].md\\\\:max-w-20{max-width:5rem}[class].md\\\\:max-w-56{max-width:14rem}[class].md\\\\:max-w-92{max-width:23rem}[class].md\\\\:max-w-md{max-width:48rem}[class].md\\\\:max-w-xl{max-width:80rem}[class].md\\\\:max-w-3\\\\/5{max-width:60%}[class].md\\\\:cols-none{grid-template-columns:repeat(none,minmax(0,1fr))}[class].md\\\\:cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}[class].md\\\\:cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}[class].md\\\\:cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}[class].md\\\\:cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}[class].md\\\\:cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}[class].md\\\\:cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}[class].md\\\\:cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}[class].md\\\\:cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}[class].md\\\\:cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}[class].md\\\\:cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}[class].md\\\\:cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}[class].md\\\\:cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}[class].md\\\\:col-start-auto{grid-column-start:auto}[class].md\\\\:col-end-auto{grid-column-end:auto}[class].md\\\\:col-start-1{grid-column-start:1}[class].md\\\\:col-end-1{grid-column-end:1}[class].md\\\\:col-start-2{grid-column-start:2}[class].md\\\\:col-end-2{grid-column-end:2}[class].md\\\\:col-start-3{grid-column-start:3}[class].md\\\\:col-end-3{grid-column-end:3}[class].md\\\\:col-start-4{grid-column-start:4}[class].md\\\\:col-end-4{grid-column-end:4}[class].md\\\\:col-start-5{grid-column-start:5}[class].md\\\\:col-end-5{grid-column-end:5}[class].md\\\\:col-start-6{grid-column-start:6}[class].md\\\\:col-end-6{grid-column-end:6}[class].md\\\\:col-start-7{grid-column-start:7}[class].md\\\\:col-end-7{grid-column-end:7}[class].md\\\\:col-start-8{grid-column-start:8}[class].md\\\\:col-end-8{grid-column-end:8}[class].md\\\\:col-start-9{grid-column-start:9}[class].md\\\\:col-end-9{grid-column-end:9}[class].md\\\\:col-start-10{grid-column-start:10}[class].md\\\\:col-end-10{grid-column-end:10}[class].md\\\\:col-start-11{grid-column-start:11}[class].md\\\\:col-end-11{grid-column-end:11}[class].md\\\\:col-start-12{grid-column-start:12}[class].md\\\\:col-end-12{grid-column-end:12}[class].md\\\\:row-start-auto{grid-row-start:auto}[class].md\\\\:row-end-auto{grid-row-end:auto}[class].md\\\\:row-start-1{grid-row-start:1}[class].md\\\\:row-end-1{grid-row-end:1}[class].md\\\\:row-start-2{grid-row-start:2}[class].md\\\\:row-end-2{grid-row-end:2}[class].md\\\\:row-start-3{grid-row-start:3}[class].md\\\\:row-end-3{grid-row-end:3}[class].md\\\\:row-start-4{grid-row-start:4}[class].md\\\\:row-end-4{grid-row-end:4}[class].md\\\\:row-start-5{grid-row-start:5}[class].md\\\\:row-end-5{grid-row-end:5}[class].md\\\\:row-start-6{grid-row-start:6}[class].md\\\\:row-end-6{grid-row-end:6}[class].md\\\\:row-start-7{grid-row-start:7}[class].md\\\\:row-end-7{grid-row-end:7}[class].md\\\\:row-start-8{grid-row-start:8}[class].md\\\\:row-end-8{grid-row-end:8}[class].md\\\\:row-start-9{grid-row-start:9}[class].md\\\\:row-end-9{grid-row-end:9}[class].md\\\\:row-start-10{grid-row-start:10}[class].md\\\\:row-end-10{grid-row-end:10}[class].md\\\\:row-start-11{grid-row-start:11}[class].md\\\\:row-end-11{grid-row-end:11}[class].md\\\\:row-start-12{grid-row-start:12}[class].md\\\\:row-end-12{grid-row-end:12}[class].md\\\\:gap-0{gap:0}[class].md\\\\:gap-4{gap:1rem}[class].md\\\\:gap-5{gap:1.25rem}[class].md\\\\:gap-10{gap:2.5rem}[class].md\\\\:gap-16{gap:4rem}[class].md\\\\:gap-20{gap:5rem}[class].md\\\\:flex-row{flex-direction:row}[class].md\\\\:flex-col{flex-direction:column}[class].md\\\\:flex-row-reverse{flex-direction:row-reverse}[class].md\\\\:flex-col-reverse{flex-direction:column-reverse}[class].md\\\\:shrink-0{flex-shrink:0}[class].md\\\\:shrink-1{flex-shrink:1}[class].md\\\\:grow-0{flex-grow:0}[class].md\\\\:grow-1{flex-grow:1}[class].md\\\\:flex-wrap{flex-wrap:wrap}[class].md\\\\:flex-nowrap{flex-wrap:nowrap}[class].md\\\\:order-first{order:-9999}[class].md\\\\:order-last{order:9999}[class].md\\\\:order-none{order:0}[class].md\\\\:inline-flex{display:inline-flex}[class].md\\\\:block{display:block}[class].md\\\\:flex{display:flex}[class].md\\\\:hidden{display:none}[class].md\\\\:inline{display:inline}[class].md\\\\:hiddenjf{display:none}[class].md\\\\:font-bold{font-weight:700}[class].md\\\\:h-8{height:2rem}[class].md\\\\:h-12{height:3rem}[class].md\\\\:w-12{width:3rem}[class].md\\\\:h-14{height:3.5rem}[class].md\\\\:w-14{width:3.5rem}[class].md\\\\:h-16{height:4rem}[class].md\\\\:w-52{width:13rem}[class].md\\\\:h-64{height:16rem}[class].md\\\\:h-68{height:17rem}[class].md\\\\:w-68{width:17rem}[class].md\\\\:w-120{width:30rem}[class].md\\\\:h-auto{height:auto}[class].md\\\\:w-auto{width:auto}[class].md\\\\:w-2\\\\/6{width:33.333333%}[class].md\\\\:h-full{height:100%}[class].md\\\\:w-full{width:100%}[class].md\\\\:basis-80{flex-basis:20rem}[class].md\\\\:basis-92{flex-basis:23rem}[class].md\\\\:top-0{top:0}[class].md\\\\:right-0{right:0}[class].md\\\\:right-3{right:.75rem}[class].md\\\\:right-6{right:1.5rem}[class].md\\\\:bottom-9{bottom:2.25rem}[class].md\\\\:top-18{top:4.5rem}[class].md\\\\:top-1\\\\/2{top:50%}[class].md\\\\:left-auto{left:auto}[class].md\\\\:bottom-auto{bottom:auto}[class].md\\\\:radius-none{border-radius:0}[class].md\\\\:radius-tr-none{border-top-right-radius:0}[class].md\\\\:radius-bl-none{border-bottom-left-radius:0}[class].md\\\\:radius-r-md,[class].md\\\\:radius-tr-md{border-top-right-radius:.375rem}[class].md\\\\:radius-r-md{border-bottom-right-radius:.375rem}[class].md\\\\:radius-bl-md{border-bottom-left-radius:.375rem}[class].md\\\\:radius-tl-lg{border-top-left-radius:.5rem}[class].md\\\\:radius-tr-lg{border-top-right-radius:.5rem}[class].md\\\\:radius-bl-lg{border-bottom-left-radius:.5rem}[dir=rtl] [class].md\\\\:rtl\\\\:left-0{left:0}[dir=rtl] [class].md\\\\:rtl\\\\:right-auto{right:auto}[class].md\\\\:-translate-y-1\\\\/2{--translate-y:-50%}[class].md\\\\:ml-0{margin-left:0}[class].md\\\\:mr-0{margin-right:0}[class].md\\\\:mt-0{margin-top:0}[class].md\\\\:mb-0{margin-bottom:0}[class].md\\\\:mb-1{margin-bottom:.25rem}[class].md\\\\:mb-2{margin-bottom:.5rem}[class].md\\\\:ml-3{margin-left:.75rem}[class].md\\\\:mt-4{margin-top:1rem}[class].md\\\\:mb-4{margin-bottom:1rem}[class].md\\\\:mb-5{margin-bottom:1.25rem}[class].md\\\\:-mb-5{margin-bottom:-1.25rem}[class].md\\\\:mt-6{margin-top:1.5rem}[class].md\\\\:mb-6{margin-bottom:1.5rem}[class].md\\\\:mb-7{margin-bottom:1.75rem}[class].md\\\\:my-8{margin-top:2rem;margin-bottom:2rem}[class].md\\\\:mb-8{margin-bottom:2rem}[class].md\\\\:-mt-8{margin-top:-2rem}[class].md\\\\:mx-10{margin-left:2.5rem;margin-right:2.5rem}[class].md\\\\:ml-10{margin-left:2.5rem}[class].md\\\\:mr-10{margin-right:2.5rem}[class].md\\\\:mb-12{margin-bottom:3rem}[class].md\\\\:mb-16{margin-bottom:4rem}[class].md\\\\:mt-18{margin-top:4.5rem}[class].md\\\\:-mt-24{margin-top:-6rem}}@media only screen and (min-width:64rem){[class].lg\\\\:absolute{position:absolute}[class].lg\\\\:relative{position:relative}[class].lg\\\\:px-0{padding-left:0;padding-right:0}[class].lg\\\\:py-0{padding-top:0;padding-bottom:0}[class].lg\\\\:px-2{padding-left:.5rem;padding-right:.5rem}[class].lg\\\\:px-3{padding-left:.75rem;padding-right:.75rem}[class].lg\\\\:py-3{padding-top:.75rem;padding-bottom:.75rem}[class].lg\\\\:pb-6{padding-bottom:1.5rem}[class].lg\\\\:p-8{padding:2rem}[class].lg\\\\:py-8{padding-top:2rem;padding-bottom:2rem}[class].lg\\\\:px-12{padding-left:3rem;padding-right:3rem}[class].lg\\\\:pt-12{padding-top:3rem}[class].lg\\\\:pr-16{padding-right:4rem}[class].lg\\\\:text-xs{font-size:.75rem;line-height:1rem}[class].lg\\\\:text-sm{font-size:.875rem;line-height:1.125rem}[class].lg\\\\:text-md{font-size:1rem;line-height:1.25rem}[class].lg\\\\:text-3xl{font-size:1.75rem;line-height:2rem}[class].lg\\\\:text-6xl{font-size:2.5rem;line-height:2.875rem}[class].lg\\\\:text-7xl{font-size:3rem;line-height:3.25rem}[class].lg\\\\:line-height-xl{line-height:1.5rem}[class].lg\\\\:line-height-4xl{line-height:2.5rem}[class].lg\\\\:justify-center{justify-content:center}[class].lg\\\\:justify-start{justify-content:flex-start}[class].lg\\\\:justify-end{justify-content:flex-end}[class].lg\\\\:justify-between{justify-content:space-between}[class].lg\\\\:justify-around{justify-content:space-around}[class].lg\\\\:justify-evenly{justify-content:space-evenly}[class].lg\\\\:justify-self-auto{justify-self:auto}[class].lg\\\\:justify-self-start{justify-self:start}[class].lg\\\\:justify-self-end{justify-self:end}[class].lg\\\\:justify-self-center{justify-self:center}[class].lg\\\\:justify-self-stretch{justify-self:stretch}[class].lg\\\\:self-auto{align-self:auto}[class].lg\\\\:self-center{align-self:center}[class].lg\\\\:self-start{align-self:flex-start}[class].lg\\\\:self-end{align-self:flex-end}[class].lg\\\\:self-stretch{align-self:stretch}[class].lg\\\\:self-baseline{align-self:baseline}[class].lg\\\\:items-center{align-items:center}[class].lg\\\\:items-start{align-items:flex-start}[class].lg\\\\:items-end{align-items:flex-end}[class].lg\\\\:items-stretch{align-items:stretch}[class].lg\\\\:items-baseline{align-items:baseline}[class].lg\\\\:min-h-56{min-height:14rem}[class].lg\\\\:min-w-92{min-width:23rem}[class].lg\\\\:min-w-120{min-width:30rem}[class].lg\\\\:max-w-72{max-width:18rem}[class].lg\\\\:max-h-80{max-height:20rem}[class].lg\\\\:max-w-88{max-width:22rem}[class].lg\\\\:max-w-sm{max-width:40rem}[class].lg\\\\:cols-none{grid-template-columns:repeat(none,minmax(0,1fr))}[class].lg\\\\:cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}[class].lg\\\\:cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}[class].lg\\\\:cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}[class].lg\\\\:cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}[class].lg\\\\:cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}[class].lg\\\\:cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}[class].lg\\\\:cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}[class].lg\\\\:cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}[class].lg\\\\:cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}[class].lg\\\\:cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}[class].lg\\\\:cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}[class].lg\\\\:cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}[class].lg\\\\:col-start-auto{grid-column-start:auto}[class].lg\\\\:col-end-auto{grid-column-end:auto}[class].lg\\\\:col-start-1{grid-column-start:1}[class].lg\\\\:col-end-1{grid-column-end:1}[class].lg\\\\:col-start-2{grid-column-start:2}[class].lg\\\\:col-end-2{grid-column-end:2}[class].lg\\\\:col-start-3{grid-column-start:3}[class].lg\\\\:col-end-3{grid-column-end:3}[class].lg\\\\:col-start-4{grid-column-start:4}[class].lg\\\\:col-end-4{grid-column-end:4}[class].lg\\\\:col-start-5{grid-column-start:5}[class].lg\\\\:col-end-5{grid-column-end:5}[class].lg\\\\:col-start-6{grid-column-start:6}[class].lg\\\\:col-end-6{grid-column-end:6}[class].lg\\\\:col-start-7{grid-column-start:7}[class].lg\\\\:col-end-7{grid-column-end:7}[class].lg\\\\:col-start-8{grid-column-start:8}[class].lg\\\\:col-end-8{grid-column-end:8}[class].lg\\\\:col-start-9{grid-column-start:9}[class].lg\\\\:col-end-9{grid-column-end:9}[class].lg\\\\:col-start-10{grid-column-start:10}[class].lg\\\\:col-end-10{grid-column-end:10}[class].lg\\\\:col-start-11{grid-column-start:11}[class].lg\\\\:col-end-11{grid-column-end:11}[class].lg\\\\:col-start-12{grid-column-start:12}[class].lg\\\\:col-end-12{grid-column-end:12}[class].lg\\\\:row-start-auto{grid-row-start:auto}[class].lg\\\\:row-end-auto{grid-row-end:auto}[class].lg\\\\:row-start-1{grid-row-start:1}[class].lg\\\\:row-end-1{grid-row-end:1}[class].lg\\\\:row-start-2{grid-row-start:2}[class].lg\\\\:row-end-2{grid-row-end:2}[class].lg\\\\:row-start-3{grid-row-start:3}[class].lg\\\\:row-end-3{grid-row-end:3}[class].lg\\\\:row-start-4{grid-row-start:4}[class].lg\\\\:row-end-4{grid-row-end:4}[class].lg\\\\:row-start-5{grid-row-start:5}[class].lg\\\\:row-end-5{grid-row-end:5}[class].lg\\\\:row-start-6{grid-row-start:6}[class].lg\\\\:row-end-6{grid-row-end:6}[class].lg\\\\:row-start-7{grid-row-start:7}[class].lg\\\\:row-end-7{grid-row-end:7}[class].lg\\\\:row-start-8{grid-row-start:8}[class].lg\\\\:row-end-8{grid-row-end:8}[class].lg\\\\:row-start-9{grid-row-start:9}[class].lg\\\\:row-end-9{grid-row-end:9}[class].lg\\\\:row-start-10{grid-row-start:10}[class].lg\\\\:row-end-10{grid-row-end:10}[class].lg\\\\:row-start-11{grid-row-start:11}[class].lg\\\\:row-end-11{grid-row-end:11}[class].lg\\\\:row-start-12{grid-row-start:12}[class].lg\\\\:row-end-12{grid-row-end:12}[class].lg\\\\:gap-0{gap:0}[class].lg\\\\:gap-1{gap:.25rem}[class].lg\\\\:gap-2{gap:.5rem}[class].lg\\\\:gap-3{gap:.75rem}[class].lg\\\\:gap-6{gap:1.5rem}[class].lg\\\\:flex-row{flex-direction:row}[class].lg\\\\:flex-col{flex-direction:column}[class].lg\\\\:flex-row-reverse{flex-direction:row-reverse}[class].lg\\\\:flex-col-reverse{flex-direction:column-reverse}[class].lg\\\\:shrink-0{flex-shrink:0}[class].lg\\\\:shrink-1{flex-shrink:1}[class].lg\\\\:grow-0{flex-grow:0}[class].lg\\\\:grow-1{flex-grow:1}[class].lg\\\\:flex-wrap{flex-wrap:wrap}[class].lg\\\\:flex-nowrap{flex-wrap:nowrap}[class].lg\\\\:order-first{order:-9999}[class].lg\\\\:order-last{order:9999}[class].lg\\\\:order-none{order:0}[class].lg\\\\:block{display:block}[class].lg\\\\:flex{display:flex}[class].lg\\\\:hidden{display:none}[class].lg\\\\:grid{display:grid}[class].lg\\\\:inline{display:inline}[class].lg\\\\:hiddenjf{display:none}[class].lg\\\\:shadow-3xl{box-shadow:0 32px 64px -12px #10182833}[class].lg\\\\:h-5{height:1.25rem}[class].lg\\\\:w-5{width:1.25rem}[class].lg\\\\:h-8{height:2rem}[class].lg\\\\:w-9{width:2.25rem}[class].lg\\\\:h-64{height:16rem}[class].lg\\\\:h-92{height:23rem}[class].lg\\\\:h-auto{height:auto}[class].lg\\\\:w-auto{width:auto}[class].lg\\\\:w-1\\\\/2{width:50%}[class].lg\\\\:w-1\\\\/4{width:25%}[class].lg\\\\:w-2\\\\/5{width:40%}[class].lg\\\\:w-max{width:-moz-max-content;width:max-content}[class].lg\\\\:top-0{top:0}[class].lg\\\\:top-1\\\\/2{top:50%}[class].lg\\\\:-translate-y-1\\\\/2{--translate-y:-50%}[class].lg\\\\:-mt-4{margin-top:-1rem}[class].lg\\\\:mb-5{margin-bottom:1.25rem}[class].lg\\\\:my-10{margin-top:2.5rem;margin-bottom:2.5rem}}@media only screen and (min-width:80rem){[class].xl\\\\:static{position:static}[class].xl\\\\:px-0{padding-left:0;padding-right:0}[class].xl\\\\:px-1\\\\.5{padding-left:.375rem;padding-right:.375rem}[class].xl\\\\:text-xs{font-size:.75rem;line-height:1rem}[class].xl\\\\:text-md{font-size:1rem;line-height:1.25rem}[class].xl\\\\:text-xl{font-size:1.25rem;line-height:1.5rem}[class].xl\\\\:justify-center{justify-content:center}[class].xl\\\\:justify-start{justify-content:flex-start}[class].xl\\\\:justify-end{justify-content:flex-end}[class].xl\\\\:justify-between{justify-content:space-between}[class].xl\\\\:justify-around{justify-content:space-around}[class].xl\\\\:justify-evenly{justify-content:space-evenly}[class].xl\\\\:justify-self-auto{justify-self:auto}[class].xl\\\\:justify-self-start{justify-self:start}[class].xl\\\\:justify-self-end{justify-self:end}[class].xl\\\\:justify-self-center{justify-self:center}[class].xl\\\\:justify-self-stretch{justify-self:stretch}[class].xl\\\\:self-auto{align-self:auto}[class].xl\\\\:self-center{align-self:center}[class].xl\\\\:self-start{align-self:flex-start}[class].xl\\\\:self-end{align-self:flex-end}[class].xl\\\\:self-stretch{align-self:stretch}[class].xl\\\\:self-baseline{align-self:baseline}[class].xl\\\\:items-center{align-items:center}[class].xl\\\\:items-start{align-items:flex-start}[class].xl\\\\:items-end{align-items:flex-end}[class].xl\\\\:items-stretch{align-items:stretch}[class].xl\\\\:items-baseline{align-items:baseline}[class].xl\\\\:cols-none{grid-template-columns:repeat(none,minmax(0,1fr))}[class].xl\\\\:cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}[class].xl\\\\:cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}[class].xl\\\\:cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}[class].xl\\\\:cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}[class].xl\\\\:cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}[class].xl\\\\:cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}[class].xl\\\\:cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}[class].xl\\\\:cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}[class].xl\\\\:cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}[class].xl\\\\:cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}[class].xl\\\\:cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}[class].xl\\\\:cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}[class].xl\\\\:col-start-auto{grid-column-start:auto}[class].xl\\\\:col-end-auto{grid-column-end:auto}[class].xl\\\\:col-start-1{grid-column-start:1}[class].xl\\\\:col-end-1{grid-column-end:1}[class].xl\\\\:col-start-2{grid-column-start:2}[class].xl\\\\:col-end-2{grid-column-end:2}[class].xl\\\\:col-start-3{grid-column-start:3}[class].xl\\\\:col-end-3{grid-column-end:3}[class].xl\\\\:col-start-4{grid-column-start:4}[class].xl\\\\:col-end-4{grid-column-end:4}[class].xl\\\\:col-start-5{grid-column-start:5}[class].xl\\\\:col-end-5{grid-column-end:5}[class].xl\\\\:col-start-6{grid-column-start:6}[class].xl\\\\:col-end-6{grid-column-end:6}[class].xl\\\\:col-start-7{grid-column-start:7}[class].xl\\\\:col-end-7{grid-column-end:7}[class].xl\\\\:col-start-8{grid-column-start:8}[class].xl\\\\:col-end-8{grid-column-end:8}[class].xl\\\\:col-start-9{grid-column-start:9}[class].xl\\\\:col-end-9{grid-column-end:9}[class].xl\\\\:col-start-10{grid-column-start:10}[class].xl\\\\:col-end-10{grid-column-end:10}[class].xl\\\\:col-start-11{grid-column-start:11}[class].xl\\\\:col-end-11{grid-column-end:11}[class].xl\\\\:col-start-12{grid-column-start:12}[class].xl\\\\:col-end-12{grid-column-end:12}[class].xl\\\\:row-start-auto{grid-row-start:auto}[class].xl\\\\:row-end-auto{grid-row-end:auto}[class].xl\\\\:row-start-1{grid-row-start:1}[class].xl\\\\:row-end-1{grid-row-end:1}[class].xl\\\\:row-start-2{grid-row-start:2}[class].xl\\\\:row-end-2{grid-row-end:2}[class].xl\\\\:row-start-3{grid-row-start:3}[class].xl\\\\:row-end-3{grid-row-end:3}[class].xl\\\\:row-start-4{grid-row-start:4}[class].xl\\\\:row-end-4{grid-row-end:4}[class].xl\\\\:row-start-5{grid-row-start:5}[class].xl\\\\:row-end-5{grid-row-end:5}[class].xl\\\\:row-start-6{grid-row-start:6}[class].xl\\\\:row-end-6{grid-row-end:6}[class].xl\\\\:row-start-7{grid-row-start:7}[class].xl\\\\:row-end-7{grid-row-end:7}[class].xl\\\\:row-start-8{grid-row-start:8}[class].xl\\\\:row-end-8{grid-row-end:8}[class].xl\\\\:row-start-9{grid-row-start:9}[class].xl\\\\:row-end-9{grid-row-end:9}[class].xl\\\\:row-start-10{grid-row-start:10}[class].xl\\\\:row-end-10{grid-row-end:10}[class].xl\\\\:row-start-11{grid-row-start:11}[class].xl\\\\:row-end-11{grid-row-end:11}[class].xl\\\\:row-start-12{grid-row-start:12}[class].xl\\\\:row-end-12{grid-row-end:12}[class].xl\\\\:gap-0{gap:0}[class].xl\\\\:flex-row{flex-direction:row}[class].xl\\\\:flex-col{flex-direction:column}[class].xl\\\\:flex-row-reverse{flex-direction:row-reverse}[class].xl\\\\:flex-col-reverse{flex-direction:column-reverse}[class].xl\\\\:shrink-0{flex-shrink:0}[class].xl\\\\:shrink-1{flex-shrink:1}[class].xl\\\\:grow-0{flex-grow:0}[class].xl\\\\:grow-1{flex-grow:1}[class].xl\\\\:flex-wrap{flex-wrap:wrap}[class].xl\\\\:flex-nowrap{flex-wrap:nowrap}[class].xl\\\\:order-first{order:-9999}[class].xl\\\\:order-last{order:9999}[class].xl\\\\:order-none{order:0}[class].xl\\\\:flex{display:flex}[class].xl\\\\:hidden{display:none}[class].xl\\\\:inline{display:inline}[class].xl\\\\:w-auto{width:auto}}@media only screen and (min-width:87.5rem){[class].xxl\\\\:px-4{padding-left:1rem;padding-right:1rem}[class].xxl\\\\:py-4{padding-top:1rem;padding-bottom:1rem}[class].xxl\\\\:pt-5{padding-top:1.25rem}[class].xxl\\\\:pt-6{padding-top:1.5rem}[class].xxl\\\\:px-28{padding-left:7rem;padding-right:7rem}[class].xxl\\\\:text-sm{font-size:.875rem;line-height:1.125rem}[class].xxl\\\\:text-2xl{font-size:1.5rem;line-height:1.75rem}[class].xxl\\\\:text-3xl{font-size:1.75rem;line-height:2rem}[class].xxl\\\\:text-6xl{font-size:2.5rem;line-height:2.875rem}[class].xxl\\\\:line-height-sm{line-height:1.125rem}[class].xxl\\\\:line-height-2xl{line-height:1.75rem}[class].xxl\\\\:justify-center{justify-content:center}[class].xxl\\\\:justify-start{justify-content:flex-start}[class].xxl\\\\:justify-end{justify-content:flex-end}[class].xxl\\\\:justify-between{justify-content:space-between}[class].xxl\\\\:justify-around{justify-content:space-around}[class].xxl\\\\:justify-evenly{justify-content:space-evenly}[class].xxl\\\\:justify-self-auto{justify-self:auto}[class].xxl\\\\:justify-self-start{justify-self:start}[class].xxl\\\\:justify-self-end{justify-self:end}[class].xxl\\\\:justify-self-center{justify-self:center}[class].xxl\\\\:justify-self-stretch{justify-self:stretch}[class].xxl\\\\:self-auto{align-self:auto}[class].xxl\\\\:self-center{align-self:center}[class].xxl\\\\:self-start{align-self:flex-start}[class].xxl\\\\:self-end{align-self:flex-end}[class].xxl\\\\:self-stretch{align-self:stretch}[class].xxl\\\\:self-baseline{align-self:baseline}[class].xxl\\\\:items-center{align-items:center}[class].xxl\\\\:items-start{align-items:flex-start}[class].xxl\\\\:items-end{align-items:flex-end}[class].xxl\\\\:items-stretch{align-items:stretch}[class].xxl\\\\:items-baseline{align-items:baseline}[class].xxl\\\\:cols-none{grid-template-columns:repeat(none,minmax(0,1fr))}[class].xxl\\\\:cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}[class].xxl\\\\:cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}[class].xxl\\\\:cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}[class].xxl\\\\:cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}[class].xxl\\\\:cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}[class].xxl\\\\:cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}[class].xxl\\\\:cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}[class].xxl\\\\:cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}[class].xxl\\\\:cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}[class].xxl\\\\:cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}[class].xxl\\\\:cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}[class].xxl\\\\:cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}[class].xxl\\\\:col-start-auto{grid-column-start:auto}[class].xxl\\\\:col-end-auto{grid-column-end:auto}[class].xxl\\\\:col-start-1{grid-column-start:1}[class].xxl\\\\:col-end-1{grid-column-end:1}[class].xxl\\\\:col-start-2{grid-column-start:2}[class].xxl\\\\:col-end-2{grid-column-end:2}[class].xxl\\\\:col-start-3{grid-column-start:3}[class].xxl\\\\:col-end-3{grid-column-end:3}[class].xxl\\\\:col-start-4{grid-column-start:4}[class].xxl\\\\:col-end-4{grid-column-end:4}[class].xxl\\\\:col-start-5{grid-column-start:5}[class].xxl\\\\:col-end-5{grid-column-end:5}[class].xxl\\\\:col-start-6{grid-column-start:6}[class].xxl\\\\:col-end-6{grid-column-end:6}[class].xxl\\\\:col-start-7{grid-column-start:7}[class].xxl\\\\:col-end-7{grid-column-end:7}[class].xxl\\\\:col-start-8{grid-column-start:8}[class].xxl\\\\:col-end-8{grid-column-end:8}[class].xxl\\\\:col-start-9{grid-column-start:9}[class].xxl\\\\:col-end-9{grid-column-end:9}[class].xxl\\\\:col-start-10{grid-column-start:10}[class].xxl\\\\:col-end-10{grid-column-end:10}[class].xxl\\\\:col-start-11{grid-column-start:11}[class].xxl\\\\:col-end-11{grid-column-end:11}[class].xxl\\\\:col-start-12{grid-column-start:12}[class].xxl\\\\:col-end-12{grid-column-end:12}[class].xxl\\\\:row-start-auto{grid-row-start:auto}[class].xxl\\\\:row-end-auto{grid-row-end:auto}[class].xxl\\\\:row-start-1{grid-row-start:1}[class].xxl\\\\:row-end-1{grid-row-end:1}[class].xxl\\\\:row-start-2{grid-row-start:2}[class].xxl\\\\:row-end-2{grid-row-end:2}[class].xxl\\\\:row-start-3{grid-row-start:3}[class].xxl\\\\:row-end-3{grid-row-end:3}[class].xxl\\\\:row-start-4{grid-row-start:4}[class].xxl\\\\:row-end-4{grid-row-end:4}[class].xxl\\\\:row-start-5{grid-row-start:5}[class].xxl\\\\:row-end-5{grid-row-end:5}[class].xxl\\\\:row-start-6{grid-row-start:6}[class].xxl\\\\:row-end-6{grid-row-end:6}[class].xxl\\\\:row-start-7{grid-row-start:7}[class].xxl\\\\:row-end-7{grid-row-end:7}[class].xxl\\\\:row-start-8{grid-row-start:8}[class].xxl\\\\:row-end-8{grid-row-end:8}[class].xxl\\\\:row-start-9{grid-row-start:9}[class].xxl\\\\:row-end-9{grid-row-end:9}[class].xxl\\\\:row-start-10{grid-row-start:10}[class].xxl\\\\:row-end-10{grid-row-end:10}[class].xxl\\\\:row-start-11{grid-row-start:11}[class].xxl\\\\:row-end-11{grid-row-end:11}[class].xxl\\\\:row-start-12{grid-row-start:12}[class].xxl\\\\:row-end-12{grid-row-end:12}[class].xxl\\\\:gap-0{gap:0}[class].xxl\\\\:flex-row{flex-direction:row}[class].xxl\\\\:flex-col{flex-direction:column}[class].xxl\\\\:flex-row-reverse{flex-direction:row-reverse}[class].xxl\\\\:flex-col-reverse{flex-direction:column-reverse}[class].xxl\\\\:shrink-0{flex-shrink:0}[class].xxl\\\\:shrink-1{flex-shrink:1}[class].xxl\\\\:grow-0{flex-grow:0}[class].xxl\\\\:grow-1{flex-grow:1}[class].xxl\\\\:flex-wrap{flex-wrap:wrap}[class].xxl\\\\:flex-nowrap{flex-wrap:nowrap}[class].xxl\\\\:order-first{order:-9999}[class].xxl\\\\:order-last{order:9999}[class].xxl\\\\:order-none{order:0}[class].xxl\\\\:inline{display:inline}[class].xxl\\\\:w-68{width:17rem}[class].xxl\\\\:w-auto{width:auto}[class].xxl\\\\:mt-0{margin-top:0}[class].xxl\\\\:mb-1{margin-bottom:.25rem}[class].xxl\\\\:mt-5{margin-top:1.25rem}}.placeholder-navy-50::-moz-placeholder{--placeholder-opacity:1;color:rgba(227,229,245,var(--placeholder-opacity))}.placeholder-navy-50::placeholder{--placeholder-opacity:1;color:rgba(227,229,245,var(--placeholder-opacity))}.placeholder-navy-200::-moz-placeholder{--placeholder-opacity:1;color:rgba(151,157,198,var(--placeholder-opacity))}.placeholder-navy-200::placeholder{--placeholder-opacity:1;color:rgba(151,157,198,var(--placeholder-opacity))}.placeholder-navy-300::-moz-placeholder{--placeholder-opacity:1;color:rgba(108,115,168,var(--placeholder-opacity))}.placeholder-navy-300::placeholder{--placeholder-opacity:1;color:rgba(108,115,168,var(--placeholder-opacity))}.border-solid{border-style:solid}.outline-solid{outline-style:solid}.border-dashed{border-style:dashed}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.wrap-nowrap{text-wrap:nowrap}.focus-visible-none:focus-visible{outline:0}.opacity-0{opacity:0}.outline-opacity-0{--outline-opacity:0}.bg-opacity-10,.hover\\\\:bg-opacity-10:hover{--bg-opacity:0.1}.opacity-20{opacity:.2}.bg-opacity-20,.hover\\\\:bg-opacity-20:hover{--bg-opacity:0.2}.border-opacity-20{--border-opacity:0.2}.hover\\\\:outline-opacity-20:hover{--outline-opacity:0.2}.opacity-30{opacity:.3}.bg-opacity-30,.hover\\\\:bg-opacity-30:hover{--bg-opacity:0.3}.border-opacity-30{--border-opacity:0.3}.color-opacity-30{--color-opacity:0.3}.hover\\\\:outline-opacity-30:hover{--outline-opacity:0.3}.opacity-40{opacity:.4}.bg-opacity-40,.hover\\\\:bg-opacity-40:hover{--bg-opacity:0.4}.opacity-50{opacity:.5}.bg-opacity-50{--bg-opacity:0.5}.hover\\\\:outline-opacity-50:hover,.outline-opacity-50{--outline-opacity:0.5}.opacity-60{opacity:.6}.bg-opacity-60{--bg-opacity:0.6}.hover\\\\:opacity-70:hover,.opacity-70{opacity:.7}.bg-opacity-70{--bg-opacity:0.7}.bg-opacity-80{--bg-opacity:0.8}.border-opacity-80,.hover\\\\:border-opacity-80:hover{--border-opacity:0.8}.opacity-90{opacity:.9}.hover\\\\:bg-opacity-90:hover{--bg-opacity:0.9}.group:hover .group-hover\\\\:opacity-100,.hover\\\\:opacity-100:hover,.opacity-100{opacity:1}.border-opacity-100{--border-opacity:1}.focus\\\\:outline-opacity-30:focus{--outline-opacity:0.3}.focus\\\\:bg-opacity-40:focus{--bg-opacity:0.4}.focus\\\\:outline-opacity-50:focus{--outline-opacity:0.5}.focus\\\\:outline-opacity-70:focus{--outline-opacity:0.7}.focus-within\\\\:outline-opacity-30:focus-within{--outline-opacity:0.3}.focus-within\\\\:outline-opacity-50:focus-within{--outline-opacity:0.5}.focus-within\\\\:outline-opacity-100:focus-within{--outline-opacity:1}@media only screen and (min-width:48rem){[class].md\\\\:opacity-100{opacity:1}}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".draftSelectionModalContainer{display:block;background:rgba(0,0,0,.6);position:fixed;top:0;left:0;right:0;bottom:0;height:100%;width:100%;z-index:10;font-family:-apple-system,system-ui,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif;box-sizing:border-box}.draftSelectionModalContainer *{box-sizing:border-box}.draftSelectionModalContent{padding:20px;background:#fefefe;border-radius:5px;text-align:center;position:relative;width:92%;box-shadow:0 5px 10px rgba(0,0,0,.3);transform:translateY(-47%);top:47%;margin:0 auto;max-height:100%;max-width:734px}.draftSelectionTexts{padding:12px 0 18px}.draftSelectionModalContent h4{font-size:22px;line-height:28px;font-weight:500;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:normal;color:#131d48;margin:0 0 8px}.line{border-bottom:solid 1px #e4e4e4;height:1px;margin:0 -20px}.draftSelectionModalContent h5{font-size:18px;line-height:23px;margin:0;font-weight:400;color:#8d8fa8}.draftSelectionActionButtons{display:flex;flex-direction:row;justify-content:space-around;width:100%;max-width:500px;margin:45px auto 35px}.draftSelectionActionButtons button{border:0;padding:0;font-size:18px;color:#131d48;background:rgba(0,0,0,0);font-weight:500;cursor:pointer;font-family:-apple-system,system-ui,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif !important}.draftSelectionActionButtons svg{width:190px;display:block;margin-bottom:10px}@media(max-width: 740px){.draftSelectionActionButtons{flex-direction:column;align-items:center;margin:25px auto 20px}.draftSelectionActionButtons button+button{margin-top:32px}}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".formAccountBox-wrapper{position:absolute;top:12px;right:12px;text-align:left}.jfCardForm.isMobile .formAccountBox-wrapper{top:8px;right:8px}.avatarBox{cursor:pointer;border:solid 1px #fff;background-color:#f98d02;border-radius:50%;width:40px;height:40px;box-shadow:0 0 4px 0 rgba(0,0,0,.19);background-repeat:no-repeat;background-size:cover;background-position:50% 50%}.formAccountBox-tooltip{box-shadow:0 0 6px 0 rgba(0,0,0,.5);background-color:#fff;border-radius:6px;display:block;position:absolute;right:0;top:100%;max-width:320px;width:92vw;padding:3px 0px;margin-top:12px;line-height:1.25;z-index:5;font-family:-apple-system,system-ui,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif;font-size:14px;line-height:1.5;font-weight:500}.formAccountBox-tooltip.isClosed{display:none}.formAccountBox-tooltip:before{content:\\\"\\\";display:inline-block;position:absolute;top:-6px;right:15px;width:12px;height:12px;background:#fff;box-shadow:-1px -1px 1px 0 rgba(0,0,0,.5);transform:rotate(45deg)}.formAccountBox-line{padding:10px 16px}.formAccountBox-line.forUserInfo{border-bottom:1px solid #cfd8dc;font-size:16px;color:#607d8b}.formAccountBox-line.forUserInfo span{display:inline-block;vertical-align:middle}.formAccountBox-line.forLogout{border-top:1px solid #f5f7f8}.forUserInfo .formAccountBox-userInfo{color:#17255b;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;display:inline-block;-webkit-user-select:text;user-select:text}.fab-link{text-decoration:none;color:#17255b;display:inline-block}.formAccountBox-logout{text-decoration:none;color:#828589;display:inline-block;cursor:pointer}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_GET_URL_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/getUrl.js\";\nvar ___CSS_LOADER_URL_IMPORT_0___ = new URL(\"data:image/svg+xml;charset=UTF-8,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%278%27 height=%276%27%3e%3cpath fill=%27none%27 fill-rule=%27evenodd%27 stroke=%27%23FFF%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%271.5%27 d=%27M1 3.1l2.7 2.1L7 1%27/%3e%3c/svg%3e\", import.meta.url);\nvar ___CSS_LOADER_URL_IMPORT_1___ = new URL(\"data:image/svg+xml;charset=UTF-8,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 26 26%27%3e%3cpath fill=%27%237E8098%27 d=%27M17.625.188c-1.68 0-3.242.68-4.531 1.968-1.465 1.465-2.133 3.266-1.938 5.188.149 1.43.797 2.867 1.844 4.156l-7.25 7.25-1.313-1.313c-.64-.64-1.171-.109-1.812.532L2 18.625c-.64.64-1.172 1.14-.531 1.781L2.78 21.72 1.75 22.75c-.64.64-.64 1.672 0 2.313.64.64 1.672.64 2.313 0l11.375-11.375c1.23.773 2.57 1.187 3.874 1.187 1.676 0 3.243-.68 4.532-1.969 1.465-1.465 2.133-3.261 1.937-5.187-.176-1.73-1.093-3.473-2.562-4.938C21.555 1.117 19.574.187 17.625.187zm.063 2.062c1.394 0 2.84.71 4.093 1.969 1.114 1.113 1.809 2.398 1.938 3.656.133 1.305-.324 2.543-1.344 3.563-.914.91-1.977 1.374-3.125 1.374-1.395 0-2.84-.71-4.094-1.968-1.113-1.11-1.808-2.399-1.937-3.656-.133-1.305.324-2.543 1.344-3.563.91-.91 1.972-1.375 3.124-1.375z%27/%3e%3c/svg%3e\", import.meta.url);\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\nvar ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);\nvar ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".jfDialog{max-width:30em;width:100%;background:#fff;margin:auto;border-radius:4px;box-shadow:0 8px 18px rgba(0,0,0,.1);position:relative;z-index:2;transition:.3s;opacity:0;top:2.5em;text-align:center;outline:none}.isNew .jfDialog{max-width:630px;font-family:Circular,-apple-system,system-ui,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif}@media screen and (max-width: 768px){.jfDialog{max-width:100% !important;height:100%;border-radius:0;overflow:auto}}.jfDialog-wrapper{position:fixed;top:0;left:0;width:100%;background:rgba(40,40,40,.6);z-index:210;opacity:0;transition:.3s;height:100%;padding:10em 1.25em 1.25em}@media screen and (max-width: 768px){.jfDialog-wrapper{padding:0}}.jfDialog-header{position:relative;padding:72px 30px 60px}@media screen and (max-width: 768px){.jfDialog-header{margin-bottom:90px}}.jfDialog-header-icon{display:inline-flex;align-items:center;justify-content:center}.jfDialog-header-icon:not(.successIcon){width:80px;height:80px}.jfDialog-header-icon.warningIcon{background-color:rgba(255,182,41,.25);border-radius:100%;color:#ffb629;padding-bottom:7px}.jfDialog-header-icon.successIcon{background-color:rgba(1,189,111,.25);border-radius:100%;color:#fff;position:relative;width:96px;height:96px}.jfDialog-header-icon.successIcon span{background-color:#01bd6f;border-radius:100%}.jfDialog-header-icon.dialogTrashIcon{background-color:rgba(255,73,71,.1);border-radius:100%;color:#ff4947}.jfDialog-header-icon.dialogHIPAAWarningIcon{background-color:#f3f3fe;border-radius:100%}.jfDialog-header-icon svg{display:block;width:60px;height:60px}.isNew .jfDialog-header{padding-bottom:0}.jfDialog-title{font-size:1.375em;font-family:\\\"Circular\\\",\\\"Circular Std Bold\\\",-apple-system,system-ui,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif;margin:12px 0 24px}.isNew .jfDialog-title{font-family:Circular,-apple-system,system-ui,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif}.forThankYou .jfDialog-title{margin-bottom:0;font-size:38px}.forCompleted .jfDialog-title{margin-bottom:0;font-size:32px}.jfDialog-subTitle{margin-top:.375em;color:#8d8fa8}.isNew .jfDialog-subTitle{margin:0;line-height:1.625}.forThankYou .jfDialog-subTitle{color:#23283a}.jfDialog-subTitle span{color:#2b3245}.jfDialog-closeButton{position:absolute;right:18px;top:18px;border:0;cursor:pointer;background-color:#e3e5f5;border-radius:50%;color:#6f76a7;display:flex;justify-content:center;align-items:center;width:40px;height:40px;padding:0;transition:.3s ease}.jfDialog-closeButton:hover{background-color:#dadef3}.jfDialog-closeButton>svg{width:28px;height:28px}.jfDialog-backButton{position:absolute;right:18px;top:18px;border:0;cursor:pointer;border-radius:4px;background-color:#f3f3fe;display:flex;justify-content:center;align-items:center;padding:12px;color:#6f76a7;transition:.3s;font-size:15px}.jfDialog-backButton:hover{background-color:#ececfd;color:#565d8d}.jfDialog-backButton:hover .backIcon>svg{fill:#565d8d}.jfDialog-backButton .backIcon{margin-right:12px}.jfDialog-backButton .backIcon>svg{transition:.3s;display:block;width:100%;height:100%;fill:#6f76a7}.jfDialog-checkBox{display:inline-block;margin-top:1.8em;color:#8d8fa8}.jfDialog-checkBoxLabel{-webkit-user-select:none;user-select:none;cursor:pointer}.jfDialog-checkBoxLabel:before{width:1em;height:1em;border:1px solid #b5b7cc;background-color:#fff;transition:.3s;content:\\\"\\\";margin-right:.525em;border-radius:3px;background-repeat:no-repeat;background-position:center;background-size:.625em;display:inline-block;vertical-align:text-bottom}.jfDialog-checkBoxInput{display:none}.jfDialog-checkBoxInput:checked~.jfDialog-checkBoxLabel:before{background-image:url(\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \");background-color:#78bb07;border-color:#78bb07}.jfDialog-outlineButton{cursor:pointer;transition:.3s;font-size:1em;border-radius:4px;background:none;border:1px solid #adb4d2;color:#a0a6c3;font-family:\\\"Circular Std Medium\\\",-apple-system,system-ui,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif;padding:.75em 2em}.isNew .jfDialog-outlineButton{max-width:630px;font-family:Circular,-apple-system,system-ui,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif}.jfDialog-outlineButton:hover{background-color:#fff}.jfDialog-outlineButton.solidButtonGreen{color:#fff;background-color:#78bb07}.jfDialog-outlineButton.solidButtonGreen:hover{background-color:#4eb100}.jfDialog-outlineButton.solidButtonBlue{color:#fff;background-color:#09f}.jfDialog-outlineButton.solidButtonBlue:hover{background-color:#008ae6}.jfDialog-outlineButton:before{display:inline-block;content:\\\"\\\";min-width:20px;min-height:20px;max-width:20px;max-height:20px;border-radius:50%;border:2px solid #ccc;border-top-color:#fff;margin:-5px 0 -6px -24px;opacity:0;background-size:0;transition:0}.jfDialog-outlineButton.isLoading{opacity:.5;pointer-events:none;transition:.3s}.jfDialog-outlineButton.isLoading:before{opacity:1;margin:-5px 8px -6px 0;animation:loadingSpinner .6s linear infinite}.jfDialog-solidButton{font-family:\\\"Circular Std Medium\\\",-apple-system,system-ui,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif;padding:.75em 2em;border:0;cursor:pointer;transition:.3s;color:#fff;border-radius:4px;font-size:1em;background-color:#ff4948;margin-right:1.2em}.isNew .jfDialog-solidButton{display:inline-block;font-family:Circular,-apple-system,system-ui,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif;margin-bottom:0}.jfDialog-solidButton:hover{background-color:#f12e2d}.jfDialog-footer{background-color:#fafafc;padding:10px 20px;border-radius:0 0 4px 4px;border-top:1px solid #dce2f0}.jfDialog-footer.hasHideButton{display:flex;flex-direction:column}.jfDialog-footer.hasHideButton button{margin:0 0 .8em}.isNew .jfDialog-footer.hasHideButton{align-items:center;background-color:rgba(0,0,0,0);border-width:0;border-radius:0}.isNew .jfDialog-footer.hasHideButton button{margin:18px 0 30px}@media screen and (max-width: 768px){.jfDialog-footer{position:fixed;left:0;right:0;bottom:0;background:#fff}}@media screen and (max-width: 480px){.jfDialog-footer{display:flex;justify-content:center}}.jfDialog-uploadField{display:flex;flex-wrap:wrap;margin:1.6em auto 0}.jfDialog-uploadField>input{display:none}.jfDialog-uploadFieldInput{flex:1 1 auto;background-color:#edeef5;height:2.8em;border-radius:4px;margin-right:.5em;display:flex;align-items:center;text-align:left;padding-left:1em;color:#7e8098}.jfDialog-uploadFieldInput.hasKeyIcon{background-image:url(\" + ___CSS_LOADER_URL_REPLACEMENT_1___ + \");background-size:1.2em;background-repeat:no-repeat;background-position:center left 1em;padding-left:2.9em}.jfDialog-loadingIcon{width:4em;position:absolute;height:2.7em;top:0;text-align:center;left:50%;transform:translateX(-50%);opacity:0;visibility:hidden;pointer-events:none}.jfDialog-loadingIcon svg{height:100%;width:100%}.jfDialog-uploadFieldButton{background-color:#0075e3;color:#fff;display:flex;align-items:center;justify-content:center;border-radius:4px;padding:0 1em;transition:.2s;cursor:pointer}.jfDialog-uploadFieldButton:hover{background-color:#0060ba}.jfDialog-forgotPrivateKey{display:flex;align-items:center;color:#8d8fa8;transition:.2s}.jfDialog-forgotPrivateKey:hover{color:#26262c}.jfDialog.encryptionWizard{max-width:630px}.jfDialog-wrapper .jfDialog.encryptionWizard .jfDialog-header{display:flex;flex-direction:column;align-items:center}.jfDialog-wrapper .jfDialog.encryptionWizard .jfDialog-title{font-size:22px;font-weight:900;margin:16px 0}.jfDialog-wrapper .jfDialog.encryptionWizard .jfDialog-subTitle{max-width:475px}.jfDialog.encryptionWizard .jfDialog-footer{display:flex;justify-content:space-between}.jfDialog.encryptionWizard .jfDialog-footer>.jfDialog-solidButton{order:1;margin-right:0}.jfDialog-wrapper.ReactModal__Overlay--after-open{opacity:1;top:0}.jfDialog-wrapper.ReactModal__Overlay--after-open .jfDialog{opacity:1;top:0}.jfDialog-wrapper.removeActionButton{z-index:10001}.jfDialog-wrapper.removeActionButton .ReactModal__Content{max-width:700px}.jfDialog-wrapper.removeActionButton .ReactModal__Content .jfDialog-header>.jfDialog-subTitle{color:#000;font-family:Circular;line-height:26px}.jfDialog-wrapper.removeActionButton .ReactModal__Content .jfDialog-header>.jfDialog-subTitle~.jfDialog-subTitle{color:#8d8fa8;line-height:inherit}.jfDialog-wrapper.removeActionButton .ReactModal__Content .jfDialog-title{font-weight:500}.jfDialog-wrapper.removeActionButton .ReactModal__Content .jfDialog-footer{display:flex;justify-content:space-between}.jfDialog-wrapper.removeActionButton .ReactModal__Content .jfDialog-footer .jfDialog-solidButton{order:1;margin-right:0}.jfDialog.forEncryptedForm{max-width:36em}.jfDialog.forEncryptedForm .jfDialog-title{margin:.8em 0}.jfDialog.forEncryptedForm .jfDialog-subTitle{text-align:left}.jfDialog.forEncryptedForm .jfDialog-solidButton{position:relative;background-color:#00a661;margin-right:0}.jfDialog.forEncryptedForm .jfDialog-solidButton[disabled]{opacity:.4;cursor:not-allowed}.jfDialog.forEncryptedForm .jfDialog-solidButton.isLoading{color:rgba(0,0,0,0)}.jfDialog.forEncryptedForm .jfDialog-solidButton.isLoading .jfDialog-loadingIcon{opacity:1;visibility:visible}.jfDialog.forEncryptedForm .jfDialog-solidButton:hover{background-color:#00874f}.jfDialog.forEncryptedForm .jfDialog-footer{display:flex;justify-content:space-between}.jfDialog.forEncryptedForm .warningIcon{display:inline-block;width:72px}.jfDialog-wrapper.inMessageSettings{z-index:10001 !important}.forNewMessageSettings.jfDialog{max-width:51.25rem;text-align:left}.forNewMessageSettings.jfDialog .jfDialog-header{display:grid;grid-template-columns:auto minmax(-webkit-min-content, 100%);grid-template-columns:auto minmax(min-content, 100%);padding:20px 24px;align-items:center;border-bottom:1px solid rgba(179,181,199,.5019607843);margin-bottom:0}.forNewMessageSettings.jfDialog .jfDialog-header-img{grid-row:1/3;grid-column:1;display:flex;align-items:center;width:40px;height:40px;padding:8px;justify-content:center;background:#18235c;border-radius:4px;margin-right:12px}.forNewMessageSettings.jfDialog .jfDialog-header-img svg{width:24px;fill:#fff}.forNewMessageSettings.jfDialog .jfDialog-title{margin:0;color:#141e46;font-weight:700;font-size:16px}.forNewMessageSettings.jfDialog .jfDialog-subTitle{margin:0;color:#6f76a7;line-height:25px;margin-bottom:4px;font-size:14px}.forNewMessageSettings.jfDialog .jfDialog-closeButton{top:24px;right:24px}.forNewMessageSettings.jfDialog .jfDialog-main{padding:20px 24px}.forNewMessageSettings.jfDialog .jfDialog-row{margin-bottom:20px}.forNewMessageSettings.jfDialog .jfDialog-row .jfSelect-input{border-color:#c8ceed;background:#fff;height:40px;color:#0a1551}.forNewMessageSettings.jfDialog .jfDialog-row .jfSelect-input.forSenderName{cursor:text}.forNewMessageSettings.jfDialog .jfDialog-footer{display:flex;justify-content:flex-end;padding:10px 24px}.forNewMessageSettings.jfDialog .jfDialog-footer button{background:#78bb07;margin-right:0}.jfDialog.forMessageSettings{max-width:40em;text-align:left;overflow:hidden}.jfDialog.forMessageSettings .jfDialog-header{border-bottom:1px solid #edeef5}.jfDialog.forMessageSettings .jfDialog-main{padding:1.875em}.jfDialog.forMessageSettings .jfDialog-row .jfDialog-title{font-size:1.2em}.jfDialog.forMessageSettings .jfDialog-row .jfDialog-subTitle{margin-bottom:.5em}.jfDialog.forMessageSettings .jfDialog-row:not(:last-child){margin-bottom:1.875em}.jfDialog.forMessageSettings .jfDialog-footer{text-align:right;border-top:0;background-color:#f8f8fb}.jfDialog.forMessageSettings .jfDialog-closeButton{right:1.875em;top:50%;transform:translateY(-50%);width:42px !important;height:42px !important}.jfDialog.forMessageSettings .jfDialog-closeButton .closeIcon{width:22px;height:22px}.jfDialog.forMessageSettings .jfDialog-closeButton svg{width:22px !important;height:22px !important}.jfDialog.forMessageSettings .jfDialog-solidButton{margin-right:0;background-color:#3375eb}.jfDialog.forMessageSettings .jfDialog-solidButton:hover{background-color:#155ad6}@keyframes loadingSpinner{to{transform:rotate(360deg)}}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".delete-account-modal-step-1{background-color:#fff;border-radius:8px;padding-top:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;font-family:Circular,sans-serif;gap:32px}.delete-account-modal-step-1 .delete-step-1-icon-wrapper{display:flex;justify-content:center;align-items:center;width:100%}.delete-account-modal-step-1 .delete-step-1-icon-wrapper .delete-step-1-icon-container{height:56px;width:56px;color:#dc2626;margin-bottom:32px}.delete-account-modal-step-1 .delete-step-1-body{display:flex;flex-direction:column;gap:8px}@media(max-width: 480px){.delete-account-modal-step-1 .delete-step-1-body{display:flex;justify-content:center;align-items:center;height:100%}}.delete-account-modal-step-1 .delete-step-1-body h4{color:#0a1551;font-weight:500;font-size:20px;line-height:32px}.delete-account-modal-step-1 .delete-step-1-body p{text-align:center;color:#6c63a8;font-weight:400;font-size:14px;line-height:24px;margin:0}.delete-account-modal-step-1 .delete-step-1-body p span{font-weight:500;color:#0a1551}.delete-account-modal-step-1 .delete-step-1-body p a{color:#09f;border-bottom:1px solid #09f;margin-right:2px}.delete-account-modal-step-1 .delete-step-1-footer{background-color:#f3f3f3;padding:16px 32px;width:100%;font-size:14px;display:flex;justify-content:space-between;border-radius:0 0 8px 8px}.delete-account-modal-step-1 .delete-step-1-footer .btn{padding:12px 20px;border-radius:4px;font-weight:500;transition:all .2s;min-width:112px;height:40px;line-height:1}.delete-account-modal-step-1 .delete-step-1-footer .btn-red{background-color:#f3f3f3;color:#dc2626;border:1px solid #dc2626}.delete-account-modal-step-1 .delete-step-1-footer .btn-red:hover{background-color:#fef2f2}.delete-account-modal-step-1 .delete-step-1-footer .btn-red:active,.delete-account-modal-step-1 .delete-step-1-footer .btn-red:focus{box-shadow:0 0 1px 3px #f5b2b8}.delete-account-modal-step-1 .delete-step-1-footer .btn-green{background-color:#64b200;color:#fff;border:1px solid #64b200}.delete-account-modal-step-1 .delete-step-1-footer .btn-green:hover{background-color:#3f7000;border:1px solid #3f7000}.delete-account-modal-step-1 .delete-step-1-footer .btn-green:active,.delete-account-modal-step-1 .delete-step-1-footer .btn-green:focus{box-shadow:0 0 1px 3px #cdef9b}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".jfHeader-authForm-close{width:40px !important;height:40px !important}@media(hover: hover){.jfHeader-authForm-close:hover{opacity:.8}}.JotFormBuilder .xcl-contentWrapper{display:flex;justify-content:center;background:#fff}.ofac-modal-wrapper{z-index:99999;font-family:Circular,-apple-system,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif;position:fixed;background-color:rgba(9,17,65,.75);left:0;top:0;right:0;bottom:0}.ofac-modal-wrapper button{border:none;outline:none;cursor:pointer}.ofac-modal-wrapper *{margin:0;padding:0;box-sizing:border-box;text-rendering:optimizeLegibility;font-feature-settings:\\\"liga\\\",\\\"kern\\\";-moz-font-feature-settings:\\\"liga\\\",\\\"kern\\\";-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-font-smoothing:antialiased}.ofac-modal{display:flex;overflow:scroll}.ofac-modal a{text-decoration:none}.ofac-modal--inner{max-width:640px;width:100%;background:#fff;border-radius:8px;margin:auto;position:relative;padding:64px 40px 32px}.ofac-modal--icon{width:80px;height:80px;display:flex;margin:0 auto 32px;color:#dc2626}.ofac-modal--title{font-weight:700;font-size:24px;line-height:32px;color:#0a1551;margin-top:0;margin-bottom:8px;text-align:center}.ofac-modal--content{text-align:center;line-height:24px}.ofac-modal--content p{color:#6c73a8 !important;font-size:16px !important;font-weight:400 !important}.ofac-modal--content p+p{margin-top:16px}.ofac-modal--content strong{font-weight:700}.ofac-modal--close{width:40px;height:40px;position:absolute;top:24px;right:16px;background:rgba(0,0,0,0)}.ofac-modal--close svg{width:100%;height:100%}@media(hover: hover){.ofac-modal--close:hover{opacity:.8}}.ofac-modal--buttons{display:flex;flex-direction:column;align-items:center;margin-top:12px}.ofac-modal--buttons-text-btn{text-decoration:none;font-weight:400;font-size:14px;line-height:24px;color:#09f}.ofac-modal--buttons *+*{margin-top:24px}.ofac-modal--close{width:40px;height:40px;position:absolute;top:24px;right:24px;background:rgba(0,0,0,0)}.ofac-modal--close svg{width:100%;height:100%}@media(hover: hover){.ofac-modal--close:hover{opacity:.8}}@media screen and (max-width: 768px){.ofac-modal--inner{padding:32px}.ofac-modal--icon{width:60px;margin:0 auto 24px}.ofac-modal--title{font-size:24px;line-height:32px}.ofac-modal--buttons{margin-top:16px}.ofac-modal--buttons *+*{margin-top:16px}.ofac-modal--close{width:32px;height:32px;top:16px;right:8px}}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".loginSignupPagesWrapper .sws{border-radius:0;max-width:600px}.loginSignupPagesWrapper .sws.commonModalSws#sws{min-width:auto;margin:auto;background-color:rgba(0,0,0,0)}@media(max-width: 868px){.jfOverlay-modal.xcl-modal:has(.sws){max-width:512px;min-width:480px}}@media(max-width: 480px){.jfOverlay-modal.xcl-modal:has(.sws){max-width:480px;min-width:320px;border-radius:0}}.sws{background-color:#fff;padding:72px 8px;border-radius:10px;position:relative}.sws.commonModalSws{min-width:676px}@media(max-width: 868px){.sws.commonModalSws{max-width:512px;min-width:480px}}@media(max-width: 480px){.sws.commonModalSws{max-width:480px;min-width:320px;border-radius:0}}.sws .title-message{color:#0a1551;font-weight:700;font-size:24px;line-height:32px;margin:8px auto}.sws .description-message{color:#6c73a8;font-size:14px;line-height:24px;margin:0 auto;padding:0 20px}.sws .description-message.fields{margin-bottom:16px;color:#6c73a8;font-size:16px;line-height:24px}.sws .description-message.fields span{color:#0a1551;font-weight:700}@media(max-width: 868px){.sws{max-width:512px;min-width:480px}}@media(max-width: 480px){.sws{max-width:480px;min-width:320px;border-radius:0}}.sws .social-buttons{max-width:-webkit-max-content;max-width:max-content;margin:0 auto;margin-top:16px}.sws .social-buttons .text{text-align:start;color:#6f76a7;font-size:14px;line-height:20px;margin:0 0 6px}.sws .social-buttons .social-buttons-container{display:flex;width:100%}.sws .social-buttons .social-buttons-container .xcl-square-button{background-color:#fff;border:1px solid #c8ceed;border-radius:4px;flex:1 1;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;color:#47507d;padding:7px 8px;font-style:normal;font-size:12px;line-height:16px;transition:all .3s;width:76px;height:76px}.sws .social-buttons .social-buttons-container .xcl-square-button svg{flex-shrink:0;width:36px;height:auto;max-height:36px;margin-bottom:4px}@media(max-width: 480px){.sws .social-buttons .social-buttons-container .xcl-square-button{width:64px;height:60px;line-height:16px;font-size:11px}.sws .social-buttons .social-buttons-container .xcl-square-button svg{width:28px;max-height:28px;margin-bottom:2px}}@media(max-width: 370px){.sws .social-buttons .social-buttons-container .xcl-square-button{width:54px;height:54px;line-height:12px;font-size:10px;padding:6px}}.sws .social-buttons .social-buttons-container .xcl-square-button:not(:last-of-type){margin-right:8px}html[dir=rtl] .sws .social-buttons .social-buttons-container .xcl-square-button{margin-right:0}html[dir=rtl] .sws .social-buttons .social-buttons-container .xcl-square-button:not(:last-of-type){margin-left:8px}.sws .social-buttons .social-buttons-container .xcl-square-button:focus{outline:0;background-color:#eff1f9;border-color:#6a9cff;box-shadow:0 0 0 2px rgba(106,156,255,.6)}.sws .social-buttons .social-buttons-container .xcl-square-button:hover{background-color:#eff1f9;border-color:#c8ceed}.sws .social-buttons .social-buttons-container .xcl-square-button:last-child{margin-right:0}html[dir=rtl] .sws .social-buttons .social-buttons-container .xcl-square-button:last-child{margin-left:0}.sws .sws-divider{height:1px;max-width:324px;background-color:#d2dbf2;margin:28px auto;position:relative}.sws .sws-divider .divider-text{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);background-color:#fff;padding:0 15px;color:#8189b0;font-size:16px;line-height:24px}.sws .sws-input-field{margin:0 auto;max-width:324px}.sws .sws-input-field label{display:block;text-align:start;margin-bottom:8px}.sws .sws-input-field input{width:100%;border:1px solid #c8ceed;border-radius:4px;background-color:#fff;padding:0 12px;font-size:16px;height:40px;transition:all .2s ease-in}.sws .sws-input-field input:focus{outline:0;border-color:#6a9cff;box-shadow:0 0 0 2px rgba(106,156,255,.58)}.sws .sws-input-field input:read-only{border-color:#c8ceed;background-color:#f3f3fe;color:#c8ceed;cursor:not-allowed}.sws .sws-input-field input.input-error{border-color:#d4372c;box-shadow:0px 0px 0px 3px #f6d7d5}.sws .sws-button{width:324px;transition:width 0ms;margin-top:16px;height:48px;font-size:18px;line-height:18px;color:#fff;background-color:#64b200;border:none;border-radius:4px;transition:background-color .2s ease-in}.sws .sws-button:hover{background-color:#4eb100}.sws .sws-button:disabled{opacity:.7;cursor:not-allowed}@media(max-width: 480px){.sws .sws-button{width:100%;max-width:324px}}.sws .sws-login-text{color:#2b3245;font-size:14px;line-height:20px;margin:8px auto 0 auto}.sws .sws-login-text .sws-login-button{border:none;background-color:rgba(0,0,0,0);color:#2c75f2;cursor:pointer;font-weight:700}.sws .sws-login-text .sws-login-button:focus{box-shadow:0px 0px 0px 3px #d3ddfd;border-color:#799af8;outline:0}.sws .sws-fields-back-button{position:absolute;top:16px;left:32px}@media(max-width: 480px){.sws .sws-fields-back-button{left:16px}}html[dir=rtl] .sws .sws-fields-back-button{left:initial;right:32px}html[dir=rtl] .sws .sws-fields-back-button svg{transform:scale(-1)}@media(max-width: 480px){html[dir=rtl] .sws .sws-fields-back-button{left:initial;right:16px}}.sws .sws-fields-back-button .back-button{font-size:14px;line-height:16px;font-weight:500;color:#343c6a;padding:10px 16px 10px 12px;border:none;border-radius:20px;transition:all .2s ease;display:flex;justify-content:center;align-items:center;background-color:rgba(0,0,0,0)}html[dir=rtl] .sws .sws-fields-back-button .back-button{padding:10px 12px 10px 16px}.sws .sws-fields-back-button .back-button:hover{background-color:#f3f3fe}.sws .sws-fields-back-button .back-button svg{color:#343c6a;height:20px;width:20px}.sws .password-fields-container>div{margin:16px auto 0 auto;max-width:320px}.sws .xcl-field-wr#termsField{max-width:324px;margin:0 auto;padding-bottom:0}.sws .sws-error-msg{background-color:#dc2626;border-radius:4px;display:flex;justify-content:flex-start;align-items:center;color:#fff;font-size:12px;line-height:16px;font-weight:400;padding:4px;margin-top:8px;margin-right:auto;margin-left:auto;word-break:break-word;max-width:324px;text-align:left}.sws .sws-error-msg svg{color:#fff;min-width:16px;width:16px;height:16px;margin-right:4px}html[dir=rtl] .sws .sws-error-msg svg{margin-right:0;margin-left:4px}html[dir=rtl] .sws .sws-error-msg{text-align:right}.sws .sws-error-msg.social-buttons-error{margin-top:12px;max-width:100%}.sws .sws-error-msg.name-error{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin-left:0}.sws .sws-error-msg.signup-error{max-width:324px;margin:8px auto}.sws .sws-button-loader{display:flex;justify-content:center;align-items:center}.sws .sws-button-loader .loading{border-radius:50%;width:24px;height:24px;border:2px solid rgba(255,255,255,.2392156863);border-top-color:#fff;animation:spin 1s infinite linear;margin-right:12px}html[dir=rtl] .sws .sws-button-loader .loading{margin-right:0;margin-left:12px}.sws.isOnboardingFlow{width:320px}.sws.isOnboardingFlow .sws-fields-back-button{left:0;top:8px}@media screen and (max-width: 580px){.sws.isOnboardingFlow .sws-fields-back-button{top:-20px}}.sws.isOnboardingFlow .sws-fields-back-button .back-button{padding:0;border-radius:0;font-size:14px;line-height:16px;color:#0075e3;border-bottom:1px solid rgba(0,0,0,0)}.sws.isOnboardingFlow .sws-fields-back-button .back-button svg{color:#0075e3;padding:5px}.sws.isOnboardingFlow .sws-fields-back-button .back-button:hover{background-color:rgba(0,0,0,0)}.sws.isOnboardingFlow .sws-content{display:flex;flex-direction:column}.sws.isOnboardingFlow .sws-content#swsContentFields{flex-direction:column}.sws.isOnboardingFlow .sws-content .sws-divider{width:100%;margin-top:70px;margin-bottom:24px}.sws.isOnboardingFlow .sws-content .sws-divider .divider-text{font-size:14px;line-height:20px;font-weight:400}.sws.isOnboardingFlow.isOnboardingTestVariantReversed .sws-content{flex-direction:column-reverse}.sws.isOnboardingFlow.isOnboardingTestVariantReversed .sws-content .sws-divider{margin-top:50px}.sws.isOnboardingFlow .title-message{text-align:start;margin:8px 0;font-size:24px;line-height:32px}.sws.isOnboardingFlow .title-message.isGreeting{text-align:center}.sws.isOnboardingFlow .description-message{width:100%;padding:0;text-align:center;margin-bottom:40px;font-size:14px;line-height:20px;color:#6c73a8}.sws.isOnboardingFlow .description-message>span{font-weight:700;color:#6c73a8}.sws.isOnboardingFlow .description-message.fields{text-align:start;font-size:14px;line-height:20px;color:#6c73a8}.sws.isOnboardingFlow .sws-input-field.isOnboardingFlow-input-field input{font-size:14px;line-height:16px}.sws.isOnboardingFlow .sws-input-field.isOnboardingFlow-input-field input::placeholder{color:#979dc6}@media(hover: hover){.sws.isOnboardingFlow .sws-input-field.isOnboardingFlow-input-field input:not(:focus):hover{border:1px solid #6c73a8;box-shadow:0 1px 2px rgba(16,24,40,.0509803922)}}.sws.isOnboardingFlow .sws-input-field.isOnboardingFlow-input-field .xcl-togglePass-btn{top:42px}.sws.isOnboardingFlow .sws-input-field label{font-weight:700;color:#0a1551}.sws.isOnboardingFlow .sws-button{background-color:#0075e3;width:100%;height:40px;min-height:40px;font-size:14px;line-height:16px;transition:none;border:none;border-radius:4px}.sws.isOnboardingFlow .sws-button:hover{background-color:#0065c3}.sws.isOnboardingFlow .social-buttons{width:320px;position:relative}.sws.isOnboardingFlow .social-buttons .social-buttons-container{width:320px;justify-content:space-between;align-items:center}.sws.isOnboardingFlow .social-buttons-error{margin-top:0;position:absolute;bottom:-64px}.sws.isOnboardingFlow .social-buttons .social-buttons-container .xcl-square-button{border-radius:6px;border-width:1px;border-style:solid;border-color:#E3E5F5;border-color:var(--primary-border-light, #E3E5F5);background:#FFF;background:var(--primary-background-white, #FFF);box-shadow:0px 6px 10px 0px rgba(131,119,198,.11);width:48px !important;height:48px !important;padding:0;margin:0;flex:none;transition:background-color .3s ease}.sws.isOnboardingFlow .social-buttons .social-buttons-container .xcl-square-button .button-text{transform:translateY(120%);font-size:10px;line-height:16px;color:#6c73a8}.sws.isOnboardingFlow .social-buttons .social-buttons-container .xcl-square-button svg{width:24px;height:24px;margin-top:17px}.sws.isOnboardingFlow .social-buttons .social-buttons-container .xcl-square-button:hover{border-color:#c8ceed;background:#f9f9ff}.sws.isOnboardingFlow .isOnboardingFlow-terms label.sacl-terms:before{border:1.5px solid #c8ceed;border-radius:4px;width:16px;height:16px;top:0}.sws.isOnboardingFlow .isOnboardingFlow-terms .terms-checkbox:checked+label:after{top:0}.sws.isOnboardingFlow .isOnboardingFlow-terms label.sacl-terms{font-size:12px;line-height:16px;font-weight:400;box-sizing:content-box;color:#6c73a8}.sws.isOnboardingFlow .isOnboardingFlow-terms label.sacl-terms a{color:#0075e3}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_GET_URL_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/getUrl.js\";\nvar ___CSS_LOADER_URL_IMPORT_0___ = new URL(\"data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716px%27 height=%2716px%27 viewBox=%270 0 16 16%27%3E%3Cpath fill=%27%23B0BEC5%27 d=%27M8,6.6l6.3-6.3c0.4-0.4,1-0.4,1.4,0c0.4,0.4,0.4,1,0,1.4L9.4,8l6.3,6.3c0.4,0.4,0.4,1,0,1.4c-0.4,0.4-1,0.4-1.4,0L8,9.4l-6.3,6.3c-0.4,0.4-1,0.4-1.4,0c-0.4-0.4-0.4-1,0-1.4L6.6,8L0.3,1.7c-0.4-0.4-0.4-1,0-1.4c0.4-0.4,1-0.4,1.4,0L8,6.6z%27%3E%3C/path%3E%3C/svg%3E\", import.meta.url);\nvar ___CSS_LOADER_URL_IMPORT_1___ = new URL(\"data:image/svg+xml,%3Csvg width=%2712%27 height=%2712%27 viewBox=%270 0 12 12%27 fill=%27none%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cpath fill-rule=%27evenodd%27 clip-rule=%27evenodd%27 d=%27M12 6C12 9.31371 9.31371 12 6 12C2.68629 12 0 9.31371 0 6C0 2.68629 2.68629 0 6 0C9.31371 0 12 2.68629 12 6ZM7 9C7 9.55229 6.55228 10 6 10C5.44772 10 5 9.55229 5 9C5 8.44771 5.44772 8 6 8C6.55228 8 7 8.44771 7 9ZM6 2C5.44772 2 5 2.44772 5 3V6C5 6.55228 5.44772 7 6 7C6.55228 7 7 6.55228 7 6V3C7 2.44772 6.55228 2 6 2Z%27 fill=%27white%27/%3E%3C/svg%3E%0A\", import.meta.url);\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\nvar ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);\nvar ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".social-terms-content{font-family:\\\"Circular\\\",-apple-system,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif;position:relative;display:flex;flex-direction:column;align-items:center;overflow-y:auto;max-width:480px;margin:0 auto;background:#fff;border-radius:4px}@media screen and (max-width: 480px){.social-terms-content{height:100%}}.social-terms-content-title{box-sizing:border-box;margin:0;width:100%;padding:16px 32px;font-weight:bold;font-size:24px;line-height:40px;display:flex;align-items:center;color:#0a1551;box-shadow:inset 0 -1px 0 #e3e5f5}@media screen and (max-width: 480px){.social-terms-content-title{padding:8px 48px 8px 16px;font-size:16px;line-height:1;min-height:56px;text-align:left}}.social-terms-content .closeButton{position:absolute;top:16px;right:16px;z-index:1;padding:0;box-sizing:border-box;width:44px;height:44px;border-radius:50%;background-color:#e6e6f5;background-image:url(\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \");background-repeat:no-repeat;background-position:center center;display:flex;align-items:center;justify-content:center;border:1px solid rgba(0,0,0,0);cursor:pointer}@media screen and (max-width: 480px){.social-terms-content .closeButton{width:40px;height:40px;right:8px;top:8px;background-size:16px}}.social-terms-content .closeButton::before{content:\\\"\\\";position:absolute;right:-4px;top:-4px;display:block;width:48px;height:48px;z-index:-1}.social-terms-content .closeButton:focus{outline:none;border-color:#fff;box-shadow:0 0 0 3px #baceff}.social-terms-content .content{width:100%;box-sizing:border-box;display:flex;align-items:flex-start;flex-direction:column;padding:32px}@media screen and (max-width: 480px){.social-terms-content .content{padding:16px;flex:1 1;justify-content:center}}.multi-column-login .login-left-side .social-terms-content .content{flex:1 1;align-items:flex-start;justify-content:center}.social-terms-content .userWrapper{width:100%;margin:0 0 32px 0;display:flex;align-items:center}@media screen and (max-width: 480px){.social-terms-content .userWrapper{flex-direction:column}}.jNewHeader-accountBox .social-terms-content .userWrapper{flex-direction:column}.social-terms-content .userWrapper .userVisual{flex-shrink:0;width:56px;height:56px;border-radius:8px;margin-right:16px;background-color:#f8f8fa}html[dir=rtl] .social-terms-content .userWrapper .userVisual{margin-right:0;margin-left:16px}@media screen and (max-width: 480px){.social-terms-content .userWrapper .userVisual{width:64px;height:64px;margin:0 0 16px 0}}.social-terms-content .userWrapper .userVisual>img{display:block;width:100%;height:auto}.jNewHeader-accountBox .social-terms-content .userWrapper .userVisual{margin:0 0 16px 0}.social-terms-content .userWrapper .userInfo{display:flex;flex:1 1;flex-direction:column;align-items:flex-start;flex-shrink:0;text-align:left;font-size:16px}@media screen and (max-width: 480px){.social-terms-content .userWrapper .userInfo{align-items:center;text-align:center}}.jNewHeader-accountBox .social-terms-content .userWrapper .userInfo{align-items:center;text-align:center}.social-terms-content .userWrapper .userInfo strong{margin-right:4px;display:inline-block}@media screen and (max-width: 480px){.social-terms-content .userWrapper .userInfo strong{display:none}}.jNewHeader-accountBox .social-terms-content .userWrapper .userInfo strong{display:none}.social-terms-content .userWrapper .userInfo .userName{line-height:24px}.social-terms-content .userWrapper .userInfo .userEmail{line-height:24px;word-break:break-word}.social-terms-content .acceptTerms{margin:0;font-size:16px;line-height:24px;color:#0a1551;display:flex;align-items:flex-start;cursor:pointer;text-align:left}@media screen and (max-width: 480px){.social-terms-content .acceptTerms{font-size:14px}}.social-terms-content .acceptTerms-input{flex-shrink:0;width:20px;height:20px;margin-right:10px;border-radius:4px;transition:.2s all}.social-terms-content .acceptTerms-input:focus{outline:none;border-color:#fff;box-shadow:0 0 0 3px #baceff}@media screen and (max-width: 480px){.social-terms-content .acceptTerms-input{width:16px;height:16px}}html[dir=rtl] .social-terms-content .acceptTerms-input{margin-right:0;margin-left:10px}.social-terms-content .acceptTerms-text{min-height:16px;line-height:1.5}.social-terms-content .acceptTerms a{text-decoration:underline;color:#09f;border-radius:4px;transition:.3s all}.social-terms-content .acceptTerms a:focus{outline:none;border-color:#fff;box-shadow:0 0 0 3px #baceff}.social-terms-content .acceptTerms-error{box-sizing:border-box;padding:0;margin-top:16px;background:#e00e00;background-image:url(\" + ___CSS_LOADER_URL_REPLACEMENT_1___ + \");background-repeat:no-repeat;background-position:top 6px left 6px;border-radius:2px;font-size:12px;line-height:16px;color:#fff;overflow:hidden;height:0;opacity:0;animation:loadError .2s linear forwards}@media screen and (max-width: 480px){.social-terms-content .acceptTerms-error{margin-top:8px}}@keyframes loadError{0%{padding:0;height:0;opacity:0}100%{padding:4px 8px 4px 24px;height:24px;opacity:1}}.social-terms-footer{box-sizing:border-box;width:100%;display:flex;justify-content:flex-end;background-color:#fff;padding:12px 24px;box-shadow:inset 0 1px 0 #e3e5f5;border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media screen and (max-width: 480px){.social-terms-footer{padding:8px 16px}}.social-terms-footer .btn{border:none;padding:8px 32px;background:#09f;color:#fff;border-radius:4px;font-size:14px;line-height:24px;display:flex;align-items:center;justify-content:center;text-align:center;cursor:pointer;transition:.3s all}.social-terms-footer .btn:focus{outline:none;border-color:#fff;box-shadow:0 0 0 3px #baceff}@media screen and (max-width: 480px){.social-terms-footer .btn{width:100%}}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".sso-login-companyLogo{max-width:200px;max-height:150px;height:auto;width:100%;border-radius:8px;margin:0 auto;display:block;-o-object-fit:contain;object-fit:contain}.multiple-sso-title{font-size:1.125rem;line-height:1.5rem;font-weight:700;color:#0a1551;text-align:center;margin-top:2.5rem;margin-bottom:.5rem}.multiple-sso-description{font-size:.875rem;line-height:1.25rem;font-weight:400;color:#6c73a8;margin-bottom:1rem;margin-top:0;text-align:center}.sso-option-list{list-style-type:none;padding:0;margin:0;width:100%}.sso-option-list.compact{display:flex;align-items:center;gap:1rem}@media screen and (max-width: 600px){.sso-option-list.compact{flex-direction:column}}.sso-option-list-item{flex:1 1;min-width:0;align-self:stretch}@media screen and (max-width: 600px){.sso-option-list-item{width:100%}}.sso-option-link{border:1px solid #c8ceed;padding:.5rem .625rem;border-radius:4px;background-color:rgba(0,0,0,0);display:flex;align-items:center;justify-content:center;gap:1rem;text-decoration:none;width:100%;transition:.3s ease;min-height:2.5rem;height:100%;font-size:14px}.sso-option-link:hover{background-color:#eff1f9;border-color:#c8ceed}.compact .sso-option-link{flex-direction:column;gap:.5rem;padding:1rem .25rem}.compact .sso-option-link .sso-option-logo{margin-right:0}.compact .sso-option-link .sso-option-link-text{text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-width:100%}@media screen and (max-width: 600px){.compact .sso-option-link{flex-direction:row;padding:.5rem .625rem}}@media screen and (max-width: 600px){.sso-option-link{width:100%}}.sso-option-logo{width:20px;height:20px;-o-object-fit:contain;object-fit:contain;margin-right:auto;flex-shrink:0}.sso-option-link-text{color:#343c6a;font-weight:500}.sso-option-link-text-wrapper{display:flex;align-items:center;justify-content:center;flex:1 1;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;font-size:.875rem;line-height:1rem;color:#6c73a8;gap:.375rem;padding-right:2.25rem}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_GET_URL_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/getUrl.js\";\nvar ___CSS_LOADER_URL_IMPORT_0___ = new URL(\"data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716px%27 height=%2716px%27 viewBox=%270 0 16 16%27%3E%3Cpath fill=%27%23B0BEC5%27 d=%27M8,6.6l6.3-6.3c0.4-0.4,1-0.4,1.4,0c0.4,0.4,0.4,1,0,1.4L9.4,8l6.3,6.3c0.4,0.4,0.4,1,0,1.4c-0.4,0.4-1,0.4-1.4,0L8,9.4l-6.3,6.3c-0.4,0.4-1,0.4-1.4,0c-0.4-0.4-0.4-1,0-1.4L6.6,8L0.3,1.7c-0.4-0.4-0.4-1,0-1.4c0.4-0.4,1-0.4,1.4,0L8,6.6z%27%3E%3C/path%3E%3C/svg%3E\", import.meta.url);\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\nvar ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".login-flow-standalone-modal-dialog{position:fixed;z-index:9999;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgba(0,0,0,.4);display:flex;align-items:center;justify-content:center}.login-flow-standalone-modal-dialog.social-terms-modal-dialog div[role=dialog]{display:flex;flex-direction:column;justify-content:center;align-items:center}@media screen and (max-width: 480px){.login-flow-standalone-modal-dialog>div[role=dialog]{flex:1 1;height:100%}}.login-flow-standalone-modal-content{position:relative;height:100%}.login-flow-standalone-modal-content .close-button{background-image:url(\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \");background-repeat:no-repeat;background-position:center;background-size:21px;box-sizing:border-box;position:absolute;top:16px;right:16px;z-index:1;padding:0;width:44px;height:44px;border-radius:50%;background-color:#e6e6f5;display:flex;align-items:center;justify-content:center;border:1px solid rgba(0,0,0,0)}@media screen and (max-width: 480px){.login-flow-standalone-modal-content .close-button{background-size:16px;width:40px;height:40px;right:8px;top:8px}}html[dir=rtl] .login-flow-standalone-modal-content .close-button{right:inherit;left:16px}.login-flow-standalone-modal-content .close-button:before{content:\\\"\\\";position:absolute;right:-4px;top:-4px;display:block;width:48px;height:48px;z-index:-1}.login-flow-standalone-modal-content .close-button:focus{outline:none;border-color:#fff;box-shadow:0 0 0 3px #baceff}.email-auth-modal-content{position:relative;background:#fff;box-sizing:border-box;background-color:#fff;width:816px;min-height:475px;border-radius:10px;border:1px solid #d2dbf2;padding:48px 8px;margin:0 auto;overflow:auto}@media screen and (max-width: 816px){.email-auth-modal-content{width:96%;max-width:816px;min-width:480px}}@media screen and (max-width: 480px){.email-auth-modal-content{width:100%;max-width:480px;min-width:320px;border-radius:0}}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_GET_URL_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/getUrl.js\";\nvar ___CSS_LOADER_URL_IMPORT_0___ = new URL(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 10 8%27 fill=%27none%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cpath d=%27M1 4l2.667 3L9 1%27 stroke=%27%23fff%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E\", import.meta.url);\nvar ___CSS_LOADER_URL_IMPORT_1___ = new URL(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 10 8%27 fill=%27none%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cpath d=%27M1 4l2.667 3L9 1%27 stroke=%27%233D6BF6%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E\", import.meta.url);\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\nvar ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);\nvar ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".hide-overflow{overflow:hidden}.social-buttons-container#signupWithSocialOptionsContainer{display:flex;width:100%}.social-buttons-container#signupWithSocialOptionsContainer .xcl-square-button{background-color:#fff;border:1px solid #c8ceed;border-radius:4px;flex:1 1;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;color:#47507d;padding:7px 8px;font-style:normal;font-size:12px;line-height:16px;transition:all .3s;width:76px;height:76px}.social-buttons-container#signupWithSocialOptionsContainer .xcl-square-button svg{flex-shrink:0;width:36px;height:auto;max-height:36px;margin-bottom:4px}@media(max-width: 480px){.social-buttons-container#signupWithSocialOptionsContainer .xcl-square-button{width:64px;height:60px;line-height:16px;font-size:11px}.social-buttons-container#signupWithSocialOptionsContainer .xcl-square-button svg{width:28px;max-height:28px;margin-bottom:2px}}@media(max-width: 370px){.social-buttons-container#signupWithSocialOptionsContainer .xcl-square-button{width:54px;height:54px;line-height:12px;font-size:10px;padding:6px}}.social-buttons-container#signupWithSocialOptionsContainer .xcl-square-button:not(:last-of-type){margin-right:8px}html[dir=rtl] .social-buttons-container#signupWithSocialOptionsContainer .xcl-square-button{margin-right:0}html[dir=rtl] .social-buttons-container#signupWithSocialOptionsContainer .xcl-square-button:not(:last-of-type){margin-left:8px}.social-buttons-container#signupWithSocialOptionsContainer .xcl-square-button:focus{outline:0;background-color:#eff1f9;border-color:#6a9cff;box-shadow:0 0 0 2px rgba(106,156,255,.6)}.social-buttons-container#signupWithSocialOptionsContainer .xcl-square-button:hover{background-color:#eff1f9;border-color:#c8ceed}.social-buttons-container#signupWithSocialOptionsContainer .xcl-square-button:last-child{margin-right:0}html[dir=rtl] .social-buttons-container#signupWithSocialOptionsContainer .xcl-square-button:last-child{margin-left:0}.xcl-overlay.isVisible-modal{display:block}.xcl-modal{max-width:575px;position:relative;font-family:Circular,-apple-system,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif}.xcl-modal button{font-family:Circular,-apple-system,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif !important;cursor:pointer}.xcl-close{border:0;position:absolute;top:16px;right:16px;z-index:2;width:44px;height:44px;border-radius:50%;background-color:#e6e6f5;display:flex;align-items:center;justify-content:center;border:1px solid rgba(0,0,0,0);transition:.2s all;padding:0}.xcl-close span{display:block}.xcl-close svg{display:block;height:21px;width:21px}.xcl-close svg path{fill:#8894ab}.xcl-close:focus{outline:none;border-color:#fff;box-shadow:0 0 0 3px #baceff}.xcl-content{text-align:center;position:relative}.xcl-content:before,.xcl-content:after{content:\\\" \\\";display:table}.xcl-content:after{clear:both}.jfOverlay-modal .xcl-content{box-sizing:border-box;min-height:475px;padding:48px 8px;margin:0;background-color:#fff;border-radius:10px;box-shadow:0 0 75px 15px rgba(0,0,0,.2);border:1px solid #d2dbf2}@media screen and (max-width: 360px){.jfOverlay-modal .xcl-content{margin:0 auto}}.jfOverlay-modal .xcl-content .signupPrompt-slides{display:none}#gateway-connection-modal-container .xcl-content{width:29rem}.jfOverlay-modal .jfMultiColumnModal .xcl-content{border:none;box-shadow:none;width:100%;padding:0}.xcl-content-header{position:relative;font-size:25px;max-width:340px;margin:0 auto;padding-left:8px;padding-right:8px}.xcl-content .m2bt.forForgotTitle{text-align:center;border-bottom:none;line-height:48px;font-size:24px;font-weight:700;color:#0a1551;margin:24px 0 0 0;padding:0}.xcl-content .socialButtonWrapper{clear:both}.xcl-content .socialButtonWrapper:not(.vertical){display:flex;align-content:space-between;flex-direction:row;flex-wrap:wrap}.xcl-content .socialButtonWrapper:not(.vertical)>button{width:calc(50% - 8px);margin:0;font-size:20px}.xcl-content .socialButtonWrapper:not(.vertical)>button+button{margin-left:auto}@media(max-width: 375px){.xcl-content .socialButtonWrapper:not(.vertical)>button{font-size:16px}}.xcl-content .loginContainer{width:100%;margin:24px auto 0 auto;font-size:14px}.wwt .xcl-content .loginContainer .socialButtonWrapper:not(.vertical) button,.login-left-side .xcl-content .loginContainer .socialButtonWrapper:not(.vertical) button{width:100%}.wwt .xcl-content .loginContainer .socialButtonWrapper:not(.vertical) button+button,.login-left-side .xcl-content .loginContainer .socialButtonWrapper:not(.vertical) button+button{margin-top:16px}.xcl-content .signupContainer{width:100%;margin:24px auto 0 auto;font-size:14px}.xcl-cw{max-width:340px;width:100%;margin:20px auto 0;padding:0 8px 16px 8px}.xcl-cw.signupWithSocialButtonsWrapper{max-width:412px}.xcl-cw.signupWithSocialButtonsWrapper form,.xcl-cw.signupWithSocialButtonsWrapper .xcl-divider{max-width:340px;margin:0 auto;display:block}@media screen and (max-width: 736px){.xcl-cw{padding:8px 0}}.xcl-cw.social-login-5-item{max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content}.xcl-cw.social-login-5-item .xcl-divider,.xcl-cw.social-login-5-item .xcl-form{max-width:324px;margin:0 auto}.xcl-cw.social-login-5-item button.xcl-square-button{min-width:76px;height:76px;line-height:16px;font-size:12px}@media screen and (max-width: 736px){.xcl-cw.social-login-5-item button.xcl-square-button{min-width:60px;height:60px;line-height:16px;font-size:11px}.xcl-cw.social-login-5-item button.xcl-square-button svg{width:28px;max-height:28px;margin-bottom:2px}}@media screen and (max-width: 360px){.xcl-cw.social-login-5-item button.xcl-square-button{min-width:54px;max-width:54px;height:54px;line-height:12px;font-size:10px;padding:6px}}.xcl-cw .microsoft-signup-test-login-title{display:flex;font-size:14px;line-height:16px;color:#6f76a7;margin-bottom:8px}.xcl-cw .microsoft-signup-test-wrapper{display:flex;flex-direction:column;width:100%}.xcl-cw .microsoft-signup-test-wrapper.horizontal{flex-direction:row}.xcl-cw .microsoft-signup-test-wrapper.b-signup-wrapper{font-size:16px;flex-direction:row}.xcl-cw .microsoft-signup-test-wrapper.b-signup-wrapper>button{box-sizing:border-box;width:calc(50% - 8px);margin-bottom:0;font-size:16px;padding:7px 8px}.xcl-cw .microsoft-signup-test-wrapper.b-signup-wrapper>button>svg{margin-right:12px;margin-left:4px}.xcl-cw .microsoft-signup-test-wrapper.b-signup-wrapper>button:first-child{margin-right:8px}.xcl-cw .microsoft-signup-test-wrapper.b-signup-wrapper>button:last-child{margin-left:8px}.xcl-cw .social-button-loader{display:flex;align-items:center;justify-content:center;width:100%;min-height:112px;position:relative}.xcl-cw .social-button-loader>svg{width:48px}.xcl-cw .xcl-button-b{border:1px solid #c8ceed;border-radius:4px;flex:1 1;display:flex;flex-shrink:0;min-height:56px;align-items:center;color:#fff;padding:11px 8px;margin-bottom:16px;font-family:Circular,-apple-system,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif;font-style:normal;font-size:20px;line-height:32px;transition:all .3s}.xcl-cw .xcl-button-b:last-child{margin-bottom:0}.xcl-cw .xcl-button-b>svg{flex-shrink:0;width:24px;height:auto;margin-left:8px;margin-right:16px}.xcl-cw .xcl-button-b.button-gl{background-color:#3477f6;border-color:#3477f6}.xcl-cw .xcl-button-b.button-gl:hover{background-color:#2365e3;border-color:#2365e3}.xcl-cw .xcl-button-b.button-ms{background-color:#2e2e2e;border-color:#2e2e2e}.xcl-cw .xcl-button-b.button-ms:hover{background-color:#1a1a1a;border-color:#1a1a1a}.xcl-cw .xcl-button-b.button-fb{background-color:#4267b2;border-color:#4267b2}.xcl-cw .xcl-button-b.button-fb:hover{background-color:#2e55a5;border-color:#2e55a5}.xcl-cw .signup-with-email-button>svg{margin-left:8px;margin-right:16px}html[dir=rtl] .xcl-cw .signup-with-email-button>svg{margin-right:8px;margin-left:16px}.xcl-cw .xcl-square-button{background-color:#fff;border:1px solid #c8ceed;border-radius:4px;flex:1 1;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#47507d;padding:7px 8px;font-family:Circular,-apple-system,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif;font-style:normal;font-size:11px;line-height:14px;transition:all .3s}.xcl-cw .xcl-square-button:not(:last-of-type){margin-right:8px}html[dir=rtl] .xcl-cw .xcl-square-button{margin-right:0;margin-left:8px}.xcl-cw .xcl-square-button:focus{outline:0;background-color:#eff1f9;border-color:#6a9cff;box-shadow:0 0 0 2px rgba(106,156,255,.6)}.xcl-cw .xcl-square-button:hover{background-color:#eff1f9;border-color:#c8ceed}.xcl-cw .xcl-square-button:last-child{margin-right:0}html[dir=rtl] .xcl-cw .xcl-square-button:last-child{margin-left:0}.xcl-cw .xcl-square-button>svg{flex-shrink:0;width:36px;height:auto;max-height:36px;margin-bottom:4px}.xcl-cw .xcl-square-button.button-gl>svg circle{fill:rgba(0,0,0,0)}.xcl-cw .xcl-button-c{border:1px solid #c8ceed;border-radius:4px;flex:1 1;display:flex;flex-shrink:0;min-height:56px;align-items:center;color:#fff;padding:11px 8px;margin-bottom:16px;font-family:Circular,-apple-system,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif;font-style:normal;font-size:20px;line-height:32px;transition:all .3s}.xcl-cw .xcl-button-c:focus{box-shadow:0 0 0 3px #d3ddfd;outline:0}.xcl-cw .xcl-button-c:last-child{margin-bottom:0}.xcl-cw .xcl-button-c>svg{flex-shrink:0;width:24px;height:auto;margin-left:8px;margin-right:16px}.xcl-cw .xcl-button-c.button-gl{background-color:#3477f6;border-color:#3477f6}.xcl-cw .xcl-button-c.button-gl:hover{background-color:#2365e3;border-color:#2365e3}.xcl-cw .xcl-button-c.button-ms{background-color:#2e2e2e;border-color:#2e2e2e}.xcl-cw .xcl-button-c.button-ms:hover{background-color:#1a1a1a;border-color:#1a1a1a}.xcl-cw .xcl-button-c.button-fb{background-color:#4267b2;border-color:#4267b2}.xcl-cw .xcl-button-c.button-fb:hover{background-color:#2e55a5;border-color:#2e55a5}.xcl-companyLogo{max-width:200px;margin-top:32px;max-height:160px}.xcl-companyLogo+.m1t{margin-top:0}.xcl-companyLogo.logoSource{max-width:100px;border-radius:14px}.xcl-button-fb,.xcl-button-ap,.xcl-button-gl,.xcl-button-em,.xcl-button-li,.xcl-button-er,.xcl-button-re,.xcl-button-ms{font-size:20px;color:#fff;height:56px;border:0;width:100%;border-radius:4px;display:flex;align-items:center;padding:0 16px;cursor:pointer;justify-content:flex-start;transition:all .2s ease;font-family:Circular,-apple-system,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif;font-weight:500;text-align:left}html[dir=rtl] .xcl-button-fb,html[dir=rtl] .xcl-button-ap,html[dir=rtl] .xcl-button-gl,html[dir=rtl] .xcl-button-em,html[dir=rtl] .xcl-button-li,html[dir=rtl] .xcl-button-er,html[dir=rtl] .xcl-button-re,html[dir=rtl] .xcl-button-ms{text-align:right}.xcl-button-fb svg,.xcl-button-ap svg,.xcl-button-gl svg,.xcl-button-em svg,.xcl-button-li svg,.xcl-button-er svg,.xcl-button-re svg,.xcl-button-ms svg{width:24px;height:24px;display:block;margin-right:16px;flex-shrink:0}html[dir=rtl] .xcl-button-fb svg,html[dir=rtl] .xcl-button-ap svg,html[dir=rtl] .xcl-button-gl svg,html[dir=rtl] .xcl-button-em svg,html[dir=rtl] .xcl-button-li svg,html[dir=rtl] .xcl-button-er svg,html[dir=rtl] .xcl-button-re svg,html[dir=rtl] .xcl-button-ms svg{margin-right:0;margin-left:16px}.xcl-button-fb:focus,.xcl-button-ap:focus,.xcl-button-gl:focus,.xcl-button-em:focus,.xcl-button-li:focus,.xcl-button-er:focus,.xcl-button-re:focus,.xcl-button-ms:focus{box-shadow:0px 0px 0px 3px #d3ddfd;outline:0}.xcl-button-gl{background-color:#0070f3}.xcl-button-gl:hover{background-color:#2365e3}.xcl-button-fb{background-color:#4267b2;margin-top:15px}.xcl-button-fb:hover{background-color:#2e55a5}.xcl-button-ms{background-color:#2e2e2e;margin-top:15px}.xcl-button-ms:hover{background-color:#161616}.xcl-button-ap{background-color:#000;margin-top:15px}.xcl-button-li,.xcl-button-er,.xcl-button-re{max-width:188px;font-size:14px;height:40px;justify-content:center;text-align:center;margin-right:12px}.xcl-button-li svg,.xcl-button-er svg,.xcl-button-re svg{width:14px;height:14px}.xcl-button-er{background-color:#4374ed}.xcl-button-li{white-space:nowrap;background-color:#78bb07}.xcl-button-re{border:solid 1px #a8aab5;background-color:#f8f8fb;color:#464c5c}.xcl-button-re path{fill:#464c5c}.xcl-button-em{background-color:#ff6100;color:#fff}.xcl-button-em svg g{fill:#fff}.xcl-button-em svg path{fill:#fff}.xcl-button-em svg{width:26px;margin-right:16px;height:auto}html[dir=rtl] .xcl-button-em svg{margin-right:0;margin-left:16px}.xcl-button-em g{transition:all .2s ease;fill:#fff}.xcl-button-em path{transition:all .2s ease}.xcl-button-em:hover{background-color:#ee5b00}.xcl-button-gr{font-family:Circular,-apple-system,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif;border-radius:4px;border:1px solid #78bb07;background-color:#78bb07;color:#fff;font-size:18px;font-weight:500;padding:0;margin-bottom:24px;min-height:56px;width:100%;text-align:center;transition:all .2s ease;text-transform:inherit}.xcl-button-gr:hover{background-color:#4eb100;border-color:#4eb100;color:#fff}.xcl-button-gr:focus{box-shadow:0px 0px 0px 3px #d3ddfd;border-color:#799af8;outline:0}.xcl-button-gr[disabled]{opacity:.5;cursor:not-allowed}.xcl-button-gr .button-loader{width:45px;height:32px;display:block;margin:0 auto}.xcl-button-gr .button-loader .button-loader-item{width:10px;height:10px;border-radius:50%;background:#fff;display:inline-block;margin-left:4px;margin-top:15px;--translateStart: 10px;--translateEnd: -20px}.wwt-inner.enterprise-wwt-inner .xcl-button-gr .button-loader .button-loader-item{--translateStart: 6px;--translateEnd: -12px;width:8px;height:8px}.xcl-button-gr .button-loader .button-loader-item:nth-child(1){animation:bouncing .4s alternate infinite cubic-bezier(0.6, 0.05, 0.15, 0.95)}.xcl-button-gr .button-loader .button-loader-item:nth-child(2){animation:bouncing .4s .1s alternate infinite cubic-bezier(0.6, 0.05, 0.15, 0.95) backwards}.xcl-button-gr .button-loader .button-loader-item:nth-child(3){animation:bouncing .4s .2s alternate infinite cubic-bezier(0.6, 0.05, 0.15, 0.95) backwards}@keyframes bouncing{0%{transform:translate3d(0, var(--translateStart), 0) scale(1.2, 0.85)}100%{transform:translate3d(0, var(--translateEnd), 0) scale(0.9, 1.2)}}.xcl-button-bl{border-radius:4px;font-size:15px;padding:0 16px;color:#fff;background-color:#4c7ff4;border:0;white-space:nowrap}.xcl-button-back{display:flex;align-items:center;position:static;padding:8px 4px;background-color:rgba(0,0,0,0);color:#2b3245;font-size:14px;line-height:12px;height:34px;border:0;border-radius:4px;transition:box-shadow .2s}.xcl-button-back svg{width:18px;margin-right:6px;fill:none}html[dir=rtl] .xcl-button-back svg{margin-right:0;margin-left:6px;transform:scaleX(-1);filter:FlipH;-ms-filter:\\\"FlipH\\\"}.xcl-button-back.forSignupOptions:not(.forceShowBack){display:none}.xcl-button-back.forForgotPass{margin-bottom:12px}.xcl-button-back:focus{box-shadow:0px 0px 0px 3px #d3ddfd;outline:0}.xcl-button-back-static{display:flex;align-items:center;background-color:rgba(0,0,0,0);color:#2b3245;font-size:14px;font-family:Circular,-apple-system,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif;line-height:12px;border:0;padding:0;cursor:pointer}.xcl-button-back-static svg{width:16px;margin-right:6px}.xcl-form{display:flex;flex-direction:column}.xcl-divider{padding:24px 0;text-align:center;position:relative}.xcl-divider:before{content:\\\"\\\";top:50%;left:0;right:0;position:absolute;width:100%;height:1px;background-color:#d2dbf2}.xcl-divider span{display:inline-block;position:relative;margin:0 auto;padding:0 .5rem;z-index:11;background-color:#fefdfc;color:#8189b0;font-weight:400;text-align:center;font-size:18px;line-height:24px}.xcl-field-wr{position:relative;padding-bottom:16px;text-align:left;display:flex;flex-direction:column;align-items:flex-start}.xcl-field-wr .js-toggle-pass-visibility{display:none}.xcl-field-wr .js-toggle-pass-visibility.isVisible{display:initial}.xcl-field-wr.forPassword .xcl-lbl-err span{display:block;margin-bottom:4px}.xcl-field-wr.forPassword .xcl-lbl-err span:before{display:inline-block;content:\\\"-\\\";margin-right:3px}html[dir=rtl] .xcl-field-wr{text-align:right}.xcl-terms-wr{font-size:14px;font-weight:500;text-align:left;color:#424242;display:flex;line-height:1.3em}html[dir=rtl] .xcl-terms-wr{text-align:right}.xcl-terms-wr a{color:#3e6bf6;text-decoration:none;transition:all .2s;border-radius:2px;padding-left:1px;padding-right:1px}.xcl-terms-wr a:focus{outline:0;box-shadow:0px 0px 0px 2px #d3ddfd}.xcl-terms-wr .terms-checkbox{opacity:0;position:relative;margin-right:8px;width:16px;z-index:1;flex-shrink:0}.xcl-terms-wr .terms-checkbox+label.sacl-terms{line-height:24px;z-index:1;box-sizing:content-box}.xcl-terms-wr .terms-checkbox+label.sacl-terms:before{content:\\\"\\\";position:absolute;top:4px;left:0;box-sizing:border-box;width:16px;height:16px;border:1px solid #8f99ad;border-radius:2px;transition:all .2s;background-size:8px;background-repeat:no-repeat;cursor:pointer;background-position:top 4px center}html[dir=rtl] .xcl-terms-wr .terms-checkbox+label.sacl-terms:before{left:inherit;right:0}.xcl-terms-wr .terms-checkbox+label.sacl-terms:after{opacity:0;transform:scale(0);cursor:pointer}.xcl-terms-wr .terms-checkbox:checked+label:before{border-color:#3d6bf6;background-color:#3d6bf6}.xcl-terms-wr .terms-checkbox:checked+label:after{content:\\\"\\\";position:absolute;background-image:url(\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \");background-size:8px;background-position:center;width:16px;height:16px;top:4px;left:0;background-repeat:no-repeat;opacity:1;transform:scale(1)}html[dir=rtl] .xcl-terms-wr .terms-checkbox:checked+label:after{left:inherit;right:0}@media(hover: hover){.xcl-terms-wr .terms-checkbox:hover+label:before{box-shadow:0px 0px 0px 2px #d3ddfd;border-color:#3d6bf6;background-image:url(\" + ___CSS_LOADER_URL_REPLACEMENT_1___ + \")}}.xcl-terms-wr .terms-checkbox:focus+label:before{box-shadow:0px 0px 0px 3px #d3ddfd;border-color:#3d6bf6}.xcl-terms-static{font-size:14px;font-weight:500;text-align:left;color:#424242;line-height:1.3em}.xcl-terms-static a{color:#3e6bf6;text-decoration:none;transition:all .2s;border-radius:2px;padding-left:1px;padding-right:1px}.xcl-terms-static a:focus{outline:0;box-shadow:0px 0px 0px 2px #d3ddfd}.xcl-inp{border-radius:4px;height:40px;font-size:16px;border:solid 1px #c8ceed;display:block;width:100%;padding:0 12px;margin-top:8px;position:relative;background-color:#fff;z-index:2;font-family:Circular,-apple-system,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif;transition:all .2s;-webkit-appearance:none;appearance:none}.xcl-inp:focus{outline:0;border-color:#6a9cff;box-shadow:0 0 0 2px rgba(106,156,255,.58)}.xcl-inp::placeholder{color:#b9c5cb}.xcl-inp.errored{border-color:#d4372c;box-shadow:0px 0px 0px 3px #f6d7d5}.xcl-inp.successed{border-color:#4caf50;box-shadow:0 0 0px 3px #c8e6c9}html.mac.safari .xcl-inp::-webkit-contacts-auto-fill-button{background-color:#cfd8dc}html.mac.safari .xcl-inp::-webkit-credentials-auto-fill-button{background-color:#cfd8dc}html.mac.safari .xcl-inp.forPassword::-webkit-credentials-auto-fill-button{background-color:#cfd8dc;margin-right:40px}.xcl-lbl{line-height:21px;color:#2b3245;display:block;font-size:16px;text-align:left;font-weight:500;width:100%}html[dir=rtl] .xcl-lbl{text-align:right}.xcl-lbl-err{background-color:#d4372c;color:#fff;display:inline-block;margin-top:0;font-size:12px;text-align:left;padding:0 8px;border-radius:2px;z-index:1;line-height:0;transition:all .2s;overflow:hidden}.xcl-lbl-err.isVisible{padding:4px 8px;margin-top:8px;line-height:16px}.xcl-lbl-err.forTerms{border-radius:2px;padding:4px 8px}.xcl-lbl-error-social{position:initial;margin-bottom:6px;max-width:412px;width:100%}.xcl-lbl-error-social.isVisible{display:inline-block}.xcl-togglePass-btn{position:absolute;top:38px;right:10px;background:none;border:0;padding:0;z-index:2;overflow:visible}.xcl-togglePass-btn svg{display:block;width:24px}html[dir=rtl] .xcl-togglePass-btn{left:10px;right:inherit}.xcl-inp[type=password]::-ms-reveal{display:none}.xcl-inp.forPassword[type=password]~.xcl-togglePass-btn .forShow,.xcl-inp.forPassword[type=text]~.xcl-togglePass-btn .forHide{display:block}.xcl-inp.forPassword[type=password]~.xcl-togglePass-btn .forHide,.xcl-inp.forPassword[type=text]~.xcl-togglePass-btn .forShow{display:none}.xcl-link-lg{color:#09f;text-decoration:none;line-height:1.875;cursor:pointer}.xcl-link-fp{font-family:Circular,-apple-system,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif;background-color:rgba(0,0,0,0);border:none;cursor:pointer;display:inline-block;border-radius:2px;margin:6px 0 0 auto;color:#4a5478;text-decoration:none;font-size:13px;line-height:22px;z-index:1;-webkit-appearance:none;appearance:none;transition:box-shadow .2s}.xcl-link-fp:focus{outline:0;box-shadow:0 0 0 3px #d3ddfd}.xcl-link-lg{flex-basis:100%;margin-top:25px;font-size:14px;font-weight:600}.xcl-link-lg:before,.xcl-link-lg:after{content:\\\" \\\";display:table}.xcl-link-lg:after{clear:both}.xcl-wrp{margin:0 36px 24px}.xcl-sew{display:flex;align-items:stretch;padding:16px 0 32px;position:relative;margin:0}.xcl-sew .xcl-inp{flex:1 1;margin-right:12px;margin-top:0;height:40px}.xcl-sew button{flex:0 1}.xcl-sew button:not(.js-nav){min-width:105px}.xcl-esb{display:flex;justify-content:center;flex-wrap:wrap;padding:10px 0 16px}#content.salesforce.auth-flow{min-height:100vh}#content.salesforce.auth-flow .xcl-lbl{line-height:16px;font-size:16px}#content.salesforce.auth-flow .sacl-terms{font-size:14px}.salesforce.auth-flow .xcl-content-header{font-size:24px;line-height:32px;max-width:400px;padding-left:0;padding-right:0}.salesforce.auth-flow .xcl-cw{max-width:400px;padding:0}.salesforce.auth-flow .xcl-cw.social-login-5-item{max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content}.salesforce.auth-flow .xcl-cw .microsoft-signup-test-login-title{font-size:14px;line-height:20px}.salesforce.auth-flow .xcl-cw .xcl-square-button{color:#6c73a8;padding:8.5px 8px;margin-right:8px;font-size:12px;line-height:16px}.salesforce.auth-flow .xcl-cw .xcl-square-button:last-child{margin-right:0}@media screen and (max-width: 736px){.salesforce.auth-flow .xcl-cw .xcl-square-button{min-width:60px;height:60px;line-height:16px;font-size:11px}.salesforce.auth-flow .xcl-cw .xcl-square-button svg{width:28px;max-height:28px;margin-bottom:2px}}@media screen and (max-width: 360px){.salesforce.auth-flow .xcl-cw .xcl-square-button{min-width:54px;max-width:54px;height:54px;line-height:12px;font-size:10px;padding:6px}}.salesforce.auth-flow .xcl-cw .xcl-square-button.signup-with-email-button{font-size:14px;line-height:20px;margin-bottom:28px;font-weight:400;display:flex;flex-direction:row;align-items:center;color:#6c73a8;gap:10px;height:48px}.salesforce.auth-flow .xcl-cw .xcl-square-button.signup-with-email-button>svg{width:20px;height:20px;margin:0}.salesforce.auth-flow .xcl-cw .xcl-square-button.signup-with-email-button>svg path{fill:currentColor}.salesforce.auth-flow .xcl-button-gr{margin-bottom:16px;min-height:48px}.salesforce.auth-flow .xcl-button-back{padding:8px 0;color:#0a1551;font-size:16px;line-height:24px;margin-top:0}.salesforce.auth-flow .xcl-button-back svg circle{fill:#6c73a8}.salesforce.auth-flow .xcl-divider{padding:28px 0}.salesforce.auth-flow .xcl-field-wr.forPassword{min-width:400px}.salesforce.auth-flow .xcl-field-wr.forPassword .hPass-reqs{margin-bottom:8px;font-size:14px;line-height:20px;color:#c8ceed}.salesforce.auth-flow .xcl-field-wr.forPassword .hPass-reqs p{color:#0a1551;margin:4px 0 4px}.salesforce.auth-flow .xcl-field-wr.forPassword .xcl-togglePass-btn{top:24px;right:4px}.salesforce.auth-flow .xcl-terms-wr{color:#0a1551;line-height:20px}.salesforce.auth-flow .xcl-terms-wr a{color:#0075e3}.salesforce.auth-flow .xcl-lbl{color:#0a1551}.salesforce.auth-flow .xcl-link-fp{margin:16px 0 0 auto;font-size:14px;line-height:20px}.salesforce.auth-flow .m2at{margin:0 0 20px}.salesforce.auth-flow .m1b{color:#0a1551;font-weight:400;font-size:14px;line-height:20px;margin-bottom:16px}.salesforce.auth-flow .m1b.alignBottom>button{color:#0075e3}.m1t,.m2at,.m2bt,.m2ct,.m3t{font-weight:400;margin:0;color:#424242}.m1t{font-size:25px;margin-top:16px}.m2bt{font-size:25px;margin:16px 0 25px}.m2at{margin:25px 0;min-height:48px;line-height:48px;font-size:24px;font-weight:700;color:#0a1551}.m2ct,.m3t{font-size:18px;color:#0a1551;font-weight:700}.m2ct~p,.m3t~p{font-size:16px;line-height:24px;font-weight:400;margin:18px auto;color:#47526b}.formUserSCLNavigationWrapper .m2ct~p,.formUserSCLNavigationWrapper .m3t~p{margin:18px auto !important}.m3t~p{max-width:450px}.m4t{font-style:normal;font-weight:bold;font-size:36px;line-height:40px;margin:0}.m4t~p{font-size:16px;line-height:24px;font-weight:300;max-width:300px;margin:18px auto 24px;color:#47526b}.m5t{font-style:normal;font-weight:bold;font-size:36px;line-height:40px;margin-bottom:40px;margin-top:12px}.m1b{color:#2b3245;font-size:14px;line-height:24px;margin-bottom:16px}.m1b.alignBottom{padding:0;margin-bottom:0}.m1b.alignBottom>button{background-color:rgba(0,0,0,0);border:none;color:#2c75f2;font-weight:500;cursor:pointer;border-radius:2px;margin-left:4px;padding-left:4px;padding-right:4px;-webkit-appearance:none;appearance:none;transition:box-shadow .2s}.m1b.alignBottom>button:focus{outline:0;box-shadow:0 0 0 3px #d3ddfd}.m1b.forSignup{margin:24px 0 0;clear:right;width:100%;float:left}.m1b button{background-color:rgba(0,0,0,0);border:none;color:#2c75f2;font-weight:500;cursor:pointer;border-radius:2px;margin-left:4px;padding-left:4px;padding-right:4px;-webkit-appearance:none;appearance:none;transition:box-shadow .2s}.m1b button:focus{outline:0;box-shadow:0 0 0 3px #d3ddfd}html[dir=rtl] .m1b button{margin-left:0;margin-right:8px}.m1ba{margin:16px 0;display:inline-block;font-size:14px;color:#4285f4;cursor:pointer}.m1ba:before,.m1ba:after{content:\\\" \\\";display:table}.m1ba:after{clear:both}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(359deg)}}.icon_savedDraft{width:101px;margin:36px 0 24px;display:inline-block}.xcl-content .icon_error{width:101px;margin:13px 0 18px;display:inline-block}.xcl-contentWrapper.jfOverlay-body.encryption-mode>.xcl-content.xcl-nb-content{width:100%}.icon_loading{width:94px;margin:13px 0 18px;display:inline-block}.icon_loading>svg{animation:spin 1s infinite linear}.iar-w{padding-bottom:16px}.iar-w .m2bt{margin-bottom:12px;text-align:left;color:#607d8b}.iar{color:#2b3245;font-size:14px;line-height:24px;padding-bottom:16px;text-align:left}.iar a{color:#2296f3;text-decoration:underline}.wwt{margin:0;font-family:Circular,-apple-system,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif;height:100vh;position:relative;background:#f3f3fe;display:flex;justify-content:center;align-items:center}.wwt *{box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wwt button{cursor:pointer}.wwt button,.wwt input{font-family:inherit}.wwt-inner{position:relative;z-index:2;width:563px;max-width:90%;padding:48px 24px;background:#fff;box-shadow:0 0 2px 0 rgba(37,45,91,.0392156863);box-shadow:0 4px 8px 0 rgba(84,95,111,.1607843137);border-radius:4px}.wwt-inner div>.sws#sws{padding:0;max-width:auto;min-width:auto}@media(max-width: 480px){.wwt-inner div>.sws#sws .social-buttons .social-buttons-container .xcl-square-button{min-width:56px;width:56px;height:56px}}.wwt-inner div>.sws#sws .sws-fields-back-button{top:-32px;left:0}html[dir=rtl] .wwt-inner div>.sws#sws .sws-fields-back-button{left:initial;right:0}.wwt-inner div>.sws#sws .password-fields-container{margin-top:16px}.wwt-inner div>.sws#sws .password-fields-container>div{max-width:324px;margin:0 auto}@media(max-width: 480px){.wwt-inner{padding:48px 12px;max-width:100%;box-shadow:none}}@media(max-width: 480px){.wwt{background-color:#fff}}.wwt .xcl-button-back{position:static;max-width:340px;width:100%;padding:8px 0px}.wwt .xcl-button-back.forForgotPass{border-bottom:0;margin:0 auto}.wwt.withHeaderStyles .isGreeting{color:#78bb07;font-size:24px;font-weight:600;padding:0 15px}.wwt.withHeaderStyles .isDescription{color:#47507d;font-size:20px;max-width:586px;font-weight:300;margin-left:auto;margin-right:auto;padding:0 16px 32px 16px}.wwl{font-family:Circular,-apple-system,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif;height:100vh;position:relative;width:100%;padding:0 5%;display:flex;flex-direction:column;align-items:center;text-align:center;color:#3f4167}.wwl.forExpired{justify-content:center}.wwl.forPermission{justify-content:space-evenly}.wwl *{box-sizing:border-box}.wwl-title{font-size:24px;font-weight:500;margin:27px 0 18px}.wwl-desc{font-size:18px;line-height:2;max-width:655px}.wwl-visual.forExpired{width:428px}.wwl-visual.forPermission{width:380px}.wwl-visual.forHp{max-width:337px;width:60%}.lding{height:100vh;width:100%;display:flex;align-items:center;justify-content:center;font-family:\\\"system-ui\\\",\\\"sans-serif\\\";font-size:16px;text-transform:uppercase;letter-spacing:1px;font-weight:500;color:#90a4ae}.isGreeting{color:#0a1551;font-size:24px;font-weight:700;font-size:24px;padding:0 15px;min-height:48px;line-height:48px}.isGreeting.m1t{min-height:20px;line-height:30px;font-size:24px;font-weight:700;color:#0a1551;margin-top:20px}.isDescription{color:#47507d;font-size:16px;max-width:586px;font-weight:400;line-height:24px;margin-top:0;margin-bottom:0;margin-left:auto;margin-right:auto;padding:0 15px}@media screen and (max-width: 736px){.isDescription.test-variant{font-size:14px;line-height:24px;max-width:340px;padding:0 8px}}.isSignUpModalLaunch{display:flex;flex-direction:column;align-items:center;justify-content:center;height:auto;width:100%;margin:20px auto 0}.isSignUpModalLaunch.box{background:linear-gradient(93.52deg, #F3F3FE 34.31%, #FCF2F3 120.37%);box-shadow:0px 4px 4px rgba(0,0,0,.15);border-radius:4px;max-width:500px;border-left:5px solid #2e69ff}.isSignUpModalLaunch .bonus-container{width:100%;max-width:438px;padding:10px 15px}.isSignUpModalLaunch .bonus-container h3{font-family:Circular,-apple-system,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif;font-size:15px;font-weight:400;line-height:21px;text-align:center;max-width:300px;margin:0 auto .5rem auto}.isSignUpModalLaunch .bonus-container h3 strong{color:#2e69ff}.isSignUpModalLaunch .bonus-container p{font-family:Circular,-apple-system,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif;color:#2b3245;font-size:13px;line-height:16px;font-weight:400;text-align:center;margin:0}.isLoginWelcomeText{min-height:48px;line-height:48px;font-size:24px;font-weight:700;color:#0a1551;margin:24px 0 0 0;overflow-wrap:break-word}.showMoreWrapper{width:100%;display:flex;justify-content:flex-end;margin-top:15px}.showMoreWrapper button{background:none;border:none;font-size:12px;font-weight:400;color:#546480;border-radius:2px;transition:.2s box-shadow;min-height:24px;margin-top:0}.showMoreWrapper button:focus{box-shadow:0px 0px 0px 3px #d3ddfd;outline:0}@media screen and (max-width: 736px){body:not(.isMobile) .xcl-modal .m1t,body:not(.isMobile) .xcl-modal .m2at,body:not(.isMobile) .xcl-modal .m2bt{font-size:20px;line-height:1.4;min-height:32px}body:not(.isMobile) .xcl-modal .m1t~p,body:not(.isMobile) .xcl-modal .m2at~p,body:not(.isMobile) .xcl-modal .m2bt~p{font-size:18px;line-height:1.5}body:not(.isMobile) .xcl-modal .icon_savedDraft{width:70px}body:not(.isMobile) .xcl-button-fb,body:not(.isMobile) .xcl-button-ap,body:not(.isMobile) .xcl-button-gl,body:not(.isMobile) .xcl-button-em,body:not(.isMobile) .xcl-button-b,body:not(.isMobile) .xcl-button-c{font-size:16px;height:auto;min-height:48px;padding:0 12px}body:not(.isMobile) .xcl-button-fb svg,body:not(.isMobile) .xcl-button-ap svg,body:not(.isMobile) .xcl-button-gl svg,body:not(.isMobile) .xcl-button-em svg,body:not(.isMobile) .xcl-button-b svg,body:not(.isMobile) .xcl-button-c svg{margin-right:12px}body:not(.isMobile) .xcl-button-gr{min-height:48px;font-size:16px}body:not(.isMobile) .xcl-button-bl{margin-top:12px}body:not(.isMobile) .xcl-lbl-err.forWs{bottom:auto;top:51px}body:not(.isMobile) .xcl-sew{margin:0 0 12px;padding:0;flex-direction:column}body:not(.isMobile) .xcl-sew .xcl-inp{margin:0 0 16px}body:not(.isMobile) .xcl-sew .xcl-inp,body:not(.isMobile) .xcl-sew button{flex-basis:40px}body:not(.isMobile) .xcl-esb{flex-direction:column;padding:26px 5% 9px}body:not(.isMobile) .xcl-button-li{margin:16px 0;width:100%;justify-content:center}body:not(.isMobile) .xcl-button-li,body:not(.isMobile) .xcl-button-re{max-width:initial}body:not(.isMobile) .xcl-content .m2bt.forForgotTitle{padding:0 5% 16px}}body.isMobile .xcl-modal .m1t,body.isMobile .xcl-modal .m2at,body.isMobile .xcl-modal .m2bt{font-size:20px;line-height:1.4;min-height:32px}body.isMobile .xcl-modal .m1t~p,body.isMobile .xcl-modal .m2at~p,body.isMobile .xcl-modal .m2bt~p{font-size:18px;line-height:1.5}body.isMobile .xcl-modal .icon_savedDraft{width:70px}body.isMobile .xcl-button-fb,body.isMobile .xcl-button-ap,body.isMobile .xcl-button-gl,body.isMobile .xcl-button-em,body.isMobile .xcl-button-b,body.isMobile .xcl-button-c{font-size:16px;height:auto;min-height:48px;padding:0 12px}body.isMobile .xcl-button-fb svg,body.isMobile .xcl-button-ap svg,body.isMobile .xcl-button-gl svg,body.isMobile .xcl-button-em svg,body.isMobile .xcl-button-b svg,body.isMobile .xcl-button-c svg{margin-right:12px}body.isMobile .xcl-button-gr{min-height:48px;font-size:16px}body.isMobile .xcl-button-bl{margin-top:12px}body.isMobile .xcl-lbl-err.forWs{bottom:auto;top:51px}body.isMobile .xcl-sew{margin:0 0 12px;padding:0;flex-direction:column}body.isMobile .xcl-sew .xcl-inp{margin:0 0 16px}body.isMobile .xcl-sew .xcl-inp,body.isMobile .xcl-sew button{flex-basis:40px}body.isMobile .xcl-esb{flex-direction:column;padding:26px 5% 9px}body.isMobile .xcl-button-li{margin:16px 0;width:100%;justify-content:center}body.isMobile .xcl-button-li,body.isMobile .xcl-button-re{max-width:initial}body.isMobile .xcl-content .m2bt.forForgotTitle{padding:0 5% 16px}body.isMobile.browserOrientation-landscape .formUserSCLNavigationWrapper .jfOverlay[data-mode=modal] .jfOverlay-modal{height:100%;overflow-y:scroll}body.isMobile.browserOrientation-landscape .formUserSCLNavigationWrapper .jfOverlay[data-mode=modal] .jfOverlay-modal .sacl-textarea.isHidden{display:none}body.isMobile.browserOrientation-landscape .formUserSCLNavigationWrapper .jfOverlay[data-mode=modal] .jfOverlay-modal .xcl-esb{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.enterprise-login-container .xcl-cw{max-width:388px}.enterprise-login-container .xcl-button-gr{min-height:2.5rem;font-size:.875rem;line-height:1rem;font-weight:500;text-transform:capitalize;margin-bottom:.875rem;cursor:pointer}.enterprise-login-container .xcl-button-gr.forReset{margin-top:1rem;margin-bottom:2.5rem}.enterprise-login-container .xcl-button-gr:focus{outline:.125rem solid rgba(168,235,56,.5)}.enterprise-login-container .xcl-button-back.forForgotPass{color:#343c6a;border:1px solid #c8ceed;width:auto;padding:0 1.125rem;max-width:100%;line-height:1rem;font-weight:500;height:2.5rem;transition:.3s;text-transform:capitalize;margin:auto}.enterprise-login-container .xcl-button-back.forForgotPass:hover{background-color:#f3f3fe}.enterprise-login-container .xcl-button-back.forForgotPass:focus{box-shadow:none;outline:.125rem solid rgba(227,229,245,.5)}.enterprise-login-container .xcl-button-back.forForgotPass svg{display:none}.enterprise-login-container .xcl-link-fp,.enterprise-login-container .m1b,.enterprise-login-container .m1b.alignBottom>button{font-size:.875rem;line-height:1.25rem}.enterprise-login-container .m1b{color:#6c73a8}.enterprise-login-container .m1b.alignBottom>button{text-transform:capitalize}.enterprise-login-container .xcl-link-fp{padding:0;margin:1rem 0 0 auto;color:#6c73a8}.enterprise-login-container .login-password-wrapper{max-width:100%}.enterprise-login-container .xcl-divider span{color:#6c73a8;font-size:14px;text-transform:lowercase}.enterprise-login-container .xcl-lbl{font-size:.875rem;line-height:1.25rem;color:#0a1551}.wwt-inner.enterprise-wwt-inner{width:500px;padding-bottom:1.5rem;padding-top:1rem;border-radius:8px}@media(max-width: 480px){.wwt-inner.enterprise-wwt-inner{max-width:100%}}.sacl-modal .enterprise-login-container .xcl-content{padding:1rem 1rem 1.5rem}.lf-recaptcha-container{max-width:324px;margin:0 auto}.lf-recaptcha-container>div{display:inline-flex;justify-content:center;align-items:center}.sws .lf-recaptcha-container{margin-top:16px}.xcl-form .lf-recaptcha-container{margin-bottom:16px}.isOnboardingFlow{width:320px}.isOnboardingFlow .loginContainer.social-login-5-item{display:flex;flex-direction:column;padding:0 0 24px}.isOnboardingFlow .loginContainer.social-login-5-item .xcl-form{width:100%}.isOnboardingFlow .loginContainer.social-login-5-item .xcl-form .xcl-field-wr input.xcl-inp{font-size:14px;line-height:16px}.isOnboardingFlow .loginContainer.social-login-5-item .xcl-form .xcl-field-wr input.xcl-inp::placeholder{color:#979dc6}.isOnboardingFlow .loginContainer.social-login-5-item .xcl-form .xcl-field-wr input.xcl-inp:not(:focus):hover{border:1px solid #6c73a8;box-shadow:0 1px 2px rgba(16,24,40,.0509803922)}.isOnboardingFlow .loginContainer.social-login-5-item .xcl-button-gr.button-signin{background-color:#0075e3;border:none;width:100%;height:40px;min-height:40px;font-size:14px;line-height:16px;transition:none;margin-bottom:0;z-index:3;border-radius:4px}.isOnboardingFlow .loginContainer.social-login-5-item .xcl-button-gr.button-signin:hover{background-color:#0065c3}.isOnboardingFlow .loginContainer.social-login-5-item .xcl-divider{width:100%;margin-top:70px;margin-bottom:24px;padding:0}.isOnboardingFlow .loginContainer.social-login-5-item .xcl-divider>span{font-size:14px;line-height:20px;font-weight:400}.isOnboardingFlow .loginContainer.social-login-5-item .xcl-link-fp#forgotPasswordButton{font-size:12px;line-height:16px;font-weight:400;color:#6c73a8}.isOnboardingFlow .loginContainer.social-login-5-item .socialButtonWrapper{width:320px}.isOnboardingFlow .loginContainer.social-login-5-item .socialButtonWrapper .microsoft-signup-test-login-title{display:none}.isOnboardingFlow .loginContainer.social-login-5-item .socialButtonWrapper .microsoft-signup-test-wrapper{justify-content:space-between;align-items:center}.isOnboardingFlow .loginContainer.social-login-5-item .socialButtonWrapper .xcl-square-button{border-radius:6px;border-width:1px;border-style:solid;border-color:#E3E5F5;border-color:var(--primary-border-light, #E3E5F5);background:#FFF;background:var(--primary-background-white, #FFF);box-shadow:0px 6px 10px 0px rgba(131,119,198,.11);width:48px !important;height:48px !important;min-width:48px !important;min-height:48px !important;padding:0;margin:0;flex:none;transition:background-color .3s ease}.isOnboardingFlow .loginContainer.social-login-5-item .socialButtonWrapper .xcl-square-button .button-text{transform:translateY(120%);font-size:10px;line-height:16px;color:#6c73a8}.isOnboardingFlow .loginContainer.social-login-5-item .socialButtonWrapper .xcl-square-button svg{width:24px;height:24px;margin-top:17px}.isOnboardingFlow .loginContainer.social-login-5-item .socialButtonWrapper .xcl-square-button:hover{border-color:#c8ceed;background:#f9f9ff}.isOnboardingFlow.isOnboardingTestVariantReversed .loginContainer.social-login-5-item{flex-direction:column-reverse}.isOnboardingFlow.isOnboardingTestVariantReversed .loginContainer.social-login-5-item .xcl-divider{margin-top:40px}.isOnboardingFlow .isLoginWelcomeText{text-align:center;margin:8px auto;font-size:24px;line-height:32px;min-height:-webkit-max-content;min-height:max-content}.isOnboardingFlow .isDescription{width:100%;padding:0;text-align:center;margin-bottom:40px;font-size:14px;line-height:20px;color:#6c73a8}.twoFactorLogin .xcl-cw{margin-top:0;margin-bottom:20px}.twoFactorLogin .xcl-cw .xcl-form .xcl-field-wr .container{padding:0;max-width:initial;margin-top:10px;margin-left:0;margin-right:0}.twoFactorLogin .recovery-account-button{background:none}.twoFactorLogin.forAuth .xcl-cw{max-width:400px}.twoFactorLogin.forMethod .xcl-cw{max-width:358px}.twoFactorLogin .m2bt.tfa-title{color:#0a1551;padding:0;margin-top:30px;margin-bottom:20px;text-align:center;border-bottom:none;font-style:normal;font-weight:700;font-size:24px;line-height:32px}.twoFactorLogin .tfa-description{font-style:normal;font-weight:400;font-size:14px;line-height:24px}.twoFactorLogin .xcl-lbl{font-weight:600;width:100%}.twoFactorLogin .xcl-lbl .vi__container{gap:initial;height:auto}.twoFactorLogin .xcl-button-back.forForgotPass:hover,.twoFactorLogin .xcl-button-back.forForgotPass:active{color:#000;background:none}.twoFactorLogin .m2bt.tfa-methodsTitle{color:#06b564;font-size:18px;font-weight:500;text-align:center;padding-bottom:16px;margin-bottom:20px;max-width:340px;margin:25px auto 20px}.twoFactorLogin .xcl-button-gr{margin-bottom:0;min-height:44px}.twoFactorLogin .xcl-button-gr:disabled{background:#dadef3;border-color:#dadef3;cursor:auto}.twoFactorLogin .xcl-field-wr{padding-bottom:10px;font-style:normal;font-weight:700;font-size:16px;line-height:24px}.twoFactorLogin .xcl-lbl-err{margin-left:12px}.twoFactorLogin .tfa-methodButton{min-width:100%;background:#fff;color:#0a1551;border:1px solid #dedede;box-sizing:border-box;border-radius:4px;height:50px;display:flex;align-items:center;margin-bottom:8px;white-space:nowrap;transition:all 150ms ease-in-out;padding:16px;font-family:\\\"Circular\\\";font-style:normal;font-weight:400;font-size:16px;line-height:24px}.twoFactorLogin .tfa-methodButton .tfa-methodText{margin-left:16px;cursor:pointer}.twoFactorLogin .tfa-methodButton:hover{background:#fafafa}.twoFactorLogin .tfa-methodButton:hover .tfa-methodIconWrapper svg [fill~=\\\"#8A94A9\\\"]{fill:#2e69ff}.twoFactorLogin .tfa-methodButton:hover .tfa-methodIconWrapper svg [stroke~=\\\"#8A94A9\\\"]{stroke:#2e69ff}.twoFactorLogin .tfa-methodButton:active{box-shadow:0px 0px 1px 1px rgba(166,166,166,.92) inset}.twoFactorLogin .tfa-methodButton .tfa-methodIconWrapper{height:26px;width:26px;border-radius:50%;background:#e3e6f3;margin:0 8px 0 4px;flex-shrink:0;position:relative;display:flex;justify-content:center;align-items:center}.twoFactorLogin .tfa-methodButton .tfa-methodIconWrapper svg [fill],.twoFactorLogin .tfa-methodButton .tfa-methodIconWrapper svg [stroke]{transition:fill 150ms ease-in-out}.twoFactorLogin .tfa-methodButton .tfa-methodIconWrapper.phone svg{width:15px}.twoFactorLogin .tfa-methodButton .tfa-methodIconWrapper.app svg{width:12px}.twoFactorLogin .tfa-methodButton .tfa-methodIconWrapper.email svg{width:12px}.twoFactorLogin .tfa-methodButton .tfa-methodIconWrapper.recovery svg{width:8px}.twoFactorLogin .tfa-timerLine{max-width:340px;width:100%;display:flex;justify-content:space-between;font-size:12px;margin-top:4px}.twoFactorLogin .tfa-timerLine button{background:none;border:none;color:#0041e6;padding:0;margin-left:5px}.twoFactorLogin .tfa-timerLine button:disabled{color:#a0bbff}.twoFactorLogin .tfa-separator{border-bottom:1px solid #edeeef;margin:22px 0}.twoFactorLogin .tfa-otherMethodsLine{width:100%;display:flex;flex-direction:column;align-items:center;font-size:12px;line-height:1.25;gap:4px}.twoFactorLogin .tfa-otherMethodsLine .issue-text{font-size:14px}.twoFactorLogin .container{margin-top:10px;margin-left:0;margin-right:0;padding:0;width:100%}.twoFactorLogin .character{line-height:56px;width:44px;font-size:36px;height:56px;background-color:rgba(255,255,255,.2);border:1px solid #bcbcc8;border-radius:4px;color:#000;text-align:center;text-transform:uppercase}.twoFactorLogin .character+.character{margin-left:8px}html[dir=rtl] .twoFactorLogin .character+.character{margin-left:0;margin-right:8px}.twoFactorLogin .character.hasError{border:1px solid #dd3e3e}.twoFactorLogin .character.hasError.vi__character--selected{outline:none;border:1px solid #dd3e3e}.twoFactorLogin .character.vi__character--selected{outline:none;border:1px solid #2e69ff}.twoFactorLogin .character--inactive{background-color:rgba(255,255,255,.1);box-shadow:none}.jNewHeader-accountBox .twoFactorLogin .m2bt.tfa-title{text-align:left;font-size:22px}.jNewHeader-accountBox .twoFactorLogin .vi__character.character{line-height:60px;height:56px}.jNewHeader-accountBox .twoFactorLogin .tfa-description{text-align:left}.method-buttons{align-self:center;display:flex;justify-content:center;padding:8px 16px 8px 4px;align-items:center;min-width:220px;margin-bottom:12px}.method-buttons svg{width:24px;height:24px}.divider-2fa{border-bottom:1px solid #edeeef;margin-bottom:16px}.recovery-account-button{padding:12px 18px;border-radius:4px;color:#343c6a;font-size:14px;font-weight:500;border:none;cursor:pointer;transition:.2s all}.recovery-account-button:hover{background-color:#f3f3fe}.recovery-account-button:focus{background-color:#e3e5f5}.modalView .jfHeader-subMenuBox .jfHeader-modalViewContent .recovery-2fa-wrapper{max-width:initial}.modalView .jfHeader-subMenuBox .jfHeader-modalViewContent .recovery-2fa-wrapper .back-to-login-wrapper{min-height:286px;height:286px}@media only screen and (max-width: 817px){.modalView .jfHeader-subMenuBox .jfHeader-modalViewContent .recovery-2fa-wrapper .back-to-login-wrapper{min-height:auto;height:auto;padding-bottom:16px}}.modalView .jfHeader-subMenuBox .jfHeader-modalViewContent .recovery-2fa-wrapper .back-to-login-wrapper .recovery-text p{max-width:636px;margin-inline:auto;margin-top:20px}.modalView .jfHeader-subMenuBox .jfHeader-modalViewContent .recovery-2fa-wrapper .divider-2fa{width:50%}@media only screen and (max-width: 817px){.modalView .jfHeader-subMenuBox .jfHeader-modalViewContent .recovery-2fa-wrapper .divider-2fa{width:75%}}.modalView .back-to-login-wrapper{padding-inline:120px}.back-to-login-wrapper .back-to-login{margin-inline:auto;display:flex;border-radius:4px;border:none;padding-right:16px;padding-left:8px;cursor:pointer;transition:.2s all;background:none;height:40px}.back-to-login-wrapper .back-to-login:hover{background-color:#edf8ff}.back-to-login-wrapper .back-to-login:focus{background-color:#edf8ff;outline:3px solid rgba(119,207,255,.5)}.back-to-login-wrapper .back-to-login div{display:flex;align-items:center;gap:8px;border-radius:4px;padding:10px}.back-to-login-wrapper .back-to-login div svg{min-width:20px;min-height:20px;width:20px;height:20px;fill:#0075e3}.back-to-login-wrapper .back-to-login div span{white-space:nowrap;color:#0075e3;font-size:14px;font-weight:500}.back-to-login-wrapper .divider-2fa{max-width:404px;display:flex;margin-inline:auto;background-color:#c8ceed}.recover-2fa-button{margin-top:16px;border-radius:4px;background-color:#0075e3;padding:12px;color:#fff;font-weight:500;font-size:14px;min-width:200px;min-height:40px;height:40px;line-height:0;border:none;cursor:pointer;transition:.2s all}.recover-2fa-button:hover{background-color:#0066c3}.recover-2fa-button:focus{outline:3px solid rgba(119,207,255,.5)}.verification-email-text-wrapper{display:flex;flex-direction:column;margin-left:auto;margin-right:auto;padding:32px;font-size:1rem;line-height:24px;max-width:730px;min-height:auto}.verification-email-text-wrapper .email-sample-wrapper{margin-bottom:16px}.verification-email-text-wrapper .email-sample-wrapper p{margin:0}.verification-email-text-wrapper .email-sample-wrapper span{color:#343c6a;font-weight:700}.verification-email-text-wrapper .security-options-text{margin-bottom:8px}.recovery-2fa-wrapper{display:flex;max-width:740px;margin-left:auto;margin-right:auto;line-height:24px;font-size:16px;justify-content:center}@media only screen and (max-width: 950px){.recovery-2fa-wrapper{max-width:initial}}.recovery-2fa-wrapper .recover-error-wrapper{display:flex;flex-direction:column;align-items:center;margin-bottom:24px}.recovery-2fa-wrapper .recover-error-wrapper .xcl-lbl-err{border-radius:3px}.view-support-ticket-wrapper .view-ticket-button{height:40px;background-color:#0075e3;border:none;color:#fff;border-radius:4px;font-size:14px;padding:12px;min-width:200px;transition:.2s all;margin-top:16px}.view-support-ticket-wrapper .view-ticket-button:hover{background-color:#0066c3}.view-support-ticket-wrapper .view-ticket-button:focus{background-color:#0075e3;outline:3px solid #77cfff}.view-support-ticket-wrapper .recover-2fa-request-text{max-width:636px;margin-inline:auto}.view-support-ticket-wrapper .divider-2fa{margin-block:24px;margin-inline:auto;width:50%;border-bottom-color:#c8ceed}@media only screen and (max-width: 817px){.view-support-ticket-wrapper .divider-2fa{width:75%}}.view-support-ticket-wrapper .back-to-login{border:none;padding:10px;border-radius:4px;transition:.2s all}.view-support-ticket-wrapper .back-to-login:hover{background-color:#edf8ff}.view-support-ticket-wrapper .back-to-login:focus{outline:1px solid #77cfff;background-color:#edf8ff}.view-support-ticket-wrapper .back-to-login-container{display:flex;align-items:center;white-space:nowrap;color:#0075e3;font-size:14px}.view-support-ticket-wrapper .back-to-login-container svg{width:20px;height:20px;min-width:20px;min-height:20px}.view-support-ticket-wrapper .recover-2fa-request-text{font-size:16px;line-height:24px;color:#343c6a;margin-top:28px;margin-bottom:0}.test_otherMethodsButton,.method-buttons{font-size:16px;color:#0075e3;border:none;border-radius:4px;transition:.2s background-color;min-height:40px;background:none;cursor:pointer}.test_otherMethodsButton:hover,.method-buttons:hover{background-color:#edf8ff;transition:.2s background-color}.test_otherMethodsButton:focus,.method-buttons:focus{outline:3px solid #77cfff;background-color:#edf8ff}.test_otherMethodsButton{padding:8px 16px}.jNewHeader-accountBoxWrapper .security-options-text{margin-bottom:8px}.modalView .jfHeader-subMenuBox .jfHeader-modalViewContent .view-support-ticket-wrapper .xcl-content{min-height:286px;height:286px}@media only screen and (max-width: 817px){.modalView .jfHeader-subMenuBox .jfHeader-modalViewContent .view-support-ticket-wrapper .xcl-content{min-height:auto;height:auto;padding-bottom:16px}}.jNewHeader-accountBoxWrapper .back-to-login{background-color:rgba(0,0,0,0);margin-bottom:16px}.jNewHeader-accountBoxWrapper .divider-2fa{width:75%}.loginSignupPagesWrapper .view-support-ticket-wrapper .divider-2fa{max-width:440px}.loginSignupPagesWrapper .recovery-2fa-wrapper{max-width:656px}.enterprise-login-container .twoFactorLogin .xcl-form .xcl-button-gr{margin-top:0;margin-bottom:0;font-size:18px}.enterprise-login-container .twoFactorLogin .xcl-form .remember-session-wrapper .jfCheckbox-input-state::after{left:3px;top:8px}.jfOverlay-modalWrapper .xcl-contentWrapper .recovery-2fa-wrapper .xcl-content{min-height:auto;padding:48px 8px 24px 8px}.jfOverlay-modal .verification-email-container .verification-email-text-wrapper{min-height:auto;padding-inline:120px}@media only screen and (max-width: 817px){.jfOverlay-modal .verification-email-container .verification-email-text-wrapper{padding-inline:32px}}@media only screen and (max-width: 950px){.jfOverlay-modal .verification-email-container .verification-email-text-wrapper{max-width:initial}}#oneTapLoginArea{position:fixed;z-index:9080;right:8px;top:68px;transition:top .2s}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".remember-session-wrapper{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:16px}.remember-session-wrapper span{cursor:default;font-size:14px}.remember-session-wrapper .jfCheckbox{position:relative;display:inline-flex;align-items:center}.remember-session-wrapper .jfCheckbox-input{position:absolute;top:0;opacity:0;pointer-events:none}.remember-session-wrapper .jfCheckbox-input-text{font-size:14px;color:#4b4e60;padding:2px 2px 2px 10px;line-height:1}.remember-session-wrapper .jfCheckbox-input-text:empty{display:none}.remember-session-wrapper .jfCheckbox-input-state{width:19px;min-width:19px;height:19px;border:2px solid #c8ceed;border-radius:4px;position:relative;overflow:hidden;display:inline-block;transition:.3s}.remember-session-wrapper .jfCheckbox-input-wrapper{position:relative;display:flex}.remember-session-wrapper .jfCheckbox-input+.jfCheckbox-input-state{position:relative;cursor:pointer;padding:0}.remember-session-wrapper .jfCheckbox-input+.jfCheckbox-input-state:before{content:\\\"\\\";margin-right:10px;display:inline-block;width:18px;height:18px;transition:.3s}.remember-session-wrapper .jfCheckbox-input:hover+.jfCheckbox-input-state:before{background-color:#d4daf5;transition:.3s}.remember-session-wrapper .jfCheckbox-input:focus+.jfCheckbox-input-state:before{box-shadow:0 0 0 3px rgba(0,0,0,.12);transition:.3s}.remember-session-wrapper .jfCheckbox-input:checked+.jfCheckbox-input-state{border-color:#419fff}.remember-session-wrapper .jfCheckbox-input:checked+.jfCheckbox-input-state:before{background-color:#419fff;transition:.3s}.remember-session-wrapper .jfCheckbox-input:checked+.jfCheckbox-disabled{border-color:#c8ceed}.remember-session-wrapper .jfCheckbox-input:checked+.jfCheckbox-disabled:before{background-color:#c8ceed;transition:.3s}.remember-session-wrapper .jfCheckbox-input:checked+.jfCheckbox-input-state:after{content:\\\"\\\";position:absolute;left:2px;top:7px;background-color:#fff;width:2px;height:2px;box-shadow:2px 0 0 #fff,4px 0 0 #fff,4px -2px 0 #fff,4px -4px 0 #fff,4px -6px 0 #fff,4px -8px 0 #fff;transform:rotate(45deg);transition:.3s}#listing-portal-root.hide-for-2fa{display:none}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_GET_URL_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/getUrl.js\";\nvar ___CSS_LOADER_URL_IMPORT_0___ = new URL(\"data:image/svg+xml,%3Csvg viewBox=%270 0 600 300%27 fill=%27none%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Crect width=%27600%27 height=%27300%27 fill=%27white%27/%3E%3Cpath fill-rule=%27evenodd%27 clip-rule=%27evenodd%27 d=%27M381.847 172.131C379.013 172.131 376.315 171.098 374.326 169.1C372.343 167.107 371.003 164.092 371.003 160.016C371.003 155.89 372.344 152.877 374.324 150.898C376.31 148.913 379.008 147.9 381.847 147.9C384.685 147.9 387.383 148.913 389.369 150.898C391.349 152.877 392.69 155.89 392.69 160.016C392.69 164.141 391.349 167.154 389.369 169.133C387.383 171.118 384.685 172.131 381.847 172.131ZM381.847 134.73C367.458 134.73 356.561 145.316 356.561 160.016C356.561 174.62 367.456 185.301 381.847 185.301C396.237 185.301 407.132 174.62 407.132 160.016C407.132 145.316 396.235 134.73 381.847 134.73Z%27 fill=%27%230A1551%27/%3E%3Cpath fill-rule=%27evenodd%27 clip-rule=%27evenodd%27 d=%27M262.201 172.131C259.368 172.131 256.67 171.098 254.681 169.1C252.698 167.107 251.358 164.092 251.358 160.016C251.358 155.89 252.699 152.877 254.679 150.898C256.665 148.913 259.363 147.9 262.201 147.9C265.04 147.9 267.738 148.913 269.724 150.898C271.704 152.877 273.045 155.89 273.045 160.016C273.045 164.141 271.704 167.154 269.724 169.133C267.738 171.118 265.04 172.131 262.201 172.131ZM262.201 134.73C247.813 134.73 236.916 145.316 236.916 160.016C236.916 174.62 247.811 185.301 262.201 185.301C276.592 185.301 287.487 174.62 287.487 160.016C287.487 145.316 276.59 134.73 262.201 134.73Z%27 fill=%27%230A1551%27/%3E%3Cpath fill-rule=%27evenodd%27 clip-rule=%27evenodd%27 d=%27M446.457 185.302H460.813V156.639C460.813 154.284 461.55 152.231 462.851 150.779C464.14 149.339 466.04 148.426 468.513 148.426C471.105 148.426 472.867 149.285 473.997 150.609C475.146 151.957 475.744 153.908 475.744 156.262V185.302H490.006V156.639C490.006 154.334 490.742 152.277 492.037 150.809C493.32 149.354 495.198 148.426 497.612 148.426C500.256 148.426 502.013 149.287 503.128 150.606C504.265 151.95 504.843 153.9 504.843 156.262V185.302H518.824V153.715C518.824 147.273 516.703 142.597 513.37 139.538C510.052 136.494 505.631 135.142 501.179 135.142C498.023 135.142 495.125 135.679 492.522 136.987C490.307 138.099 488.347 139.75 486.637 142.03C483.867 137.525 478.81 135.142 472.831 135.142C468.472 135.142 463.428 136.871 460.25 140.232V136.463H446.457V185.302Z%27 fill=%27%230A1551%27/%3E%3Cpath fill-rule=%27evenodd%27 clip-rule=%27evenodd%27 d=%27M441.054 136.345V150.975L439.933 150.749C438.596 150.479 437.442 150.39 436.375 150.39C433.331 150.39 430.626 151.135 428.685 152.945C426.756 154.743 425.426 157.736 425.426 162.566V185.302H411.109V136.444H425.052V141.017C428.5 136.872 433.855 136.066 437.217 136.066C438.294 136.066 439.269 136.165 440.195 136.258L441.054 136.345Z%27 fill=%27%230A1551%27/%3E%3Cpath fill-rule=%27evenodd%27 clip-rule=%27evenodd%27 d=%27M183.391 161.221L197.315 161.221L197.473 161.375C197.579 161.479 197.653 161.626 197.667 161.791C197.937 164.834 199.135 167.129 200.928 168.658C202.712 170.18 205.02 170.888 207.426 170.888C210.361 170.888 212.762 169.809 214.42 167.933C216.069 166.068 216.928 163.481 216.928 160.549V119.929H231.982V160.969C231.982 174.108 221.911 185.095 207.531 185.095C200.348 185.095 194.324 182.713 190.1 178.579C185.973 174.54 183.509 168.776 183.4 161.772L183.391 161.221Z%27 fill=%27%230A1551%27/%3E%3Cpath fill-rule=%27evenodd%27 clip-rule=%27evenodd%27 d=%27M354.523 126.653L355.318 126.88V115.799L354.952 115.633C354.392 115.379 353.491 115.148 352.451 114.981C351.398 114.811 350.155 114.698 348.888 114.698C343.953 114.698 338.405 116.331 335.532 119.273C332.661 122.213 331.077 126.404 331.077 131.419V133.705H323.864V146.228H331.077V185.295H345.554V146.228H355.318V133.705H345.554V131.595C345.554 129.341 346.342 128.044 347.35 127.289C348.389 126.509 349.754 126.237 351 126.237C352.872 126.237 353.958 126.492 354.523 126.653Z%27 fill=%27%230A1551%27/%3E%3Cpath fill-rule=%27evenodd%27 clip-rule=%27evenodd%27 d=%27M318.685 173.3L319.432 173.072V184.196L319.088 184.363C318.562 184.619 317.716 184.85 316.738 185.019C315.748 185.189 314.58 185.303 313.39 185.303C308.752 185.303 303.566 183.663 300.866 180.709C298.168 177.757 296.68 173.55 296.68 168.516V146.42H289.901V133.862L296.68 133.862V120.286H310.256V133.862L319.432 133.862V146.42L310.256 146.42V168.339C310.256 170.601 310.997 171.903 311.944 172.662C312.92 173.444 314.203 173.718 315.374 173.718C317.134 173.718 318.154 173.462 318.685 173.3Z%27 fill=%27%230A1551%27/%3E%3Cpath d=%27M102.762 187.095C104.398 188.664 103.242 191.352 100.918 191.352H86.3786C83.51 191.352 81.1758 189.114 81.1758 186.363V172.42C81.1758 170.192 83.979 169.084 85.6151 170.652L102.762 187.095Z%27 fill=%27%230A1551%27/%3E%3Cpath d=%27M125.489 188.307C121.186 184.077 121.186 177.22 125.489 172.99L141.022 157.726C145.325 153.496 152.303 153.496 156.607 157.726C160.911 161.955 160.911 168.813 156.607 173.042L141.075 188.307C136.771 192.536 129.793 192.536 125.489 188.307Z%27 fill=%27%23FFB21D%27/%3E%3Cpath d=%27M84.4534 149.951C80.1496 145.722 80.1496 138.864 84.4534 134.635L107.797 111.694C112.101 107.464 119.079 107.464 123.383 111.694C127.686 115.923 127.686 122.781 123.383 127.01L100.039 149.951C95.735 154.181 88.7572 154.181 84.4534 149.951Z%27 fill=%27%230099FF%27/%3E%3Cpath d=%27M105.824 168.273C101.52 164.043 101.52 157.186 105.824 152.956L141.143 118.247C145.447 114.017 152.425 114.017 156.729 118.247C161.032 122.476 161.032 129.334 156.729 133.563L121.41 168.273C117.106 172.503 110.128 172.503 105.824 168.273Z%27 fill=%27%23FF6100%27/%3E%3C/svg%3E%0A\", import.meta.url);\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\nvar ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".unusual-signup-container{z-index:9999;position:fixed;inset:0;background:#fff;overflow:scroll;padding:0 24px}@media(max-width: 370px){.unusual-signup-container{padding:0 16px}}.unusual-signup-container .unusual-signup{height:100vh;display:table;margin:0 auto}.unusual-signup-container .unusual-signup .custom-header{position:fixed;top:0;left:0;right:0;width:100%;padding:16px 62px;display:flex;justify-content:flex-start;align-items:center;background-color:#fff}@media(max-width: 1000px){.unusual-signup-container .unusual-signup .custom-header{padding:16px}}@media(max-width: 420px){.unusual-signup-container .unusual-signup .custom-header{padding:16px 4px}}.unusual-signup-container .unusual-signup .custom-header .header-logo{min-height:40px;min-width:160px;background-position:center;background-size:cover;position:relative;background-image:url(\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \")}@media(max-width: 420px){.unusual-signup-container .unusual-signup .custom-header .header-logo{min-height:20px;min-width:140px}}.unusual-signup-container .unusual-signup .custom-header .header-logo::after{content:\\\"\\\";width:1px;height:24px;background-color:#c8ceed;position:absolute;right:0;top:9px}html[dir=rtl] .unusual-signup-container .unusual-signup .custom-header .header-logo::after{left:0;right:initial}@media(max-width: 420px){.unusual-signup-container .unusual-signup .custom-header .header-logo::after{top:2px;height:20px}}.unusual-signup-container .unusual-signup .custom-header h2{font-size:20px;line-height:24px;color:#0a1551;font-weight:500;margin-left:16px;white-space:nowrap}html[dir=rtl] .unusual-signup-container .unusual-signup .custom-header h2{margin-left:0;margin-right:16px}@media(max-width: 1000px){.unusual-signup-container .unusual-signup .custom-header h2{font-size:16px}}@media(max-width: 420px){.unusual-signup-container .unusual-signup .custom-header h2{font-size:12px;margin-left:12px}}.unusual-signup-container .unusual-signup-wrapper{max-width:664px;margin:0 auto;text-align:center;display:table-cell;vertical-align:middle}@media(max-width: 700px)or (max-height: 620px){.unusual-signup-container .unusual-signup-wrapper{padding-top:88px;padding-bottom:48px}}.unusual-signup-container .unusual-signup-wrapper .heading-container{text-align:center}.unusual-signup-container .unusual-signup-wrapper .heading-container .flag{background-color:rgba(254,202,202,.5019607843)}.unusual-signup-container .unusual-signup-wrapper .heading-container .check{background-color:rgba(203,251,123,.5019607843)}.unusual-signup-container .unusual-signup-wrapper .heading-container .icon-container{border-radius:8px;display:flex;width:-webkit-max-content;width:max-content;justify-content:center;align-items:center;padding:24px;margin-bottom:32px;margin-left:auto;margin-right:auto}.unusual-signup-container .unusual-signup-wrapper .heading-container .icon-container .flag-icon{color:#dc2626;width:40px;height:40px}.unusual-signup-container .unusual-signup-wrapper .heading-container .icon-container .check-icon{color:#64b200;width:40px;height:40px}@media(max-width: 420px){.unusual-signup-container .unusual-signup-wrapper .heading-container .icon-container{padding:18px;margin-bottom:20px}.unusual-signup-container .unusual-signup-wrapper .heading-container .icon-container .flag-icon{width:32px;height:32px}}.unusual-signup-container .unusual-signup-wrapper .heading-container .heading{color:#0a1551;font-weight:700;font-size:32px;line-height:44px;margin-bottom:8px}@media(max-width: 420px){.unusual-signup-container .unusual-signup-wrapper .heading-container .heading{font-size:24px;line-height:32px}}.unusual-signup-container .unusual-signup-wrapper .heading-container .description{color:#6c73a8;font-size:16px;line-height:24px}.unusual-signup-container .unusual-signup-wrapper .heading-container .description .contact-link{color:#09f}@media(max-width: 420px){.unusual-signup-container .unusual-signup-wrapper .heading-container .description{font-size:14px;line-height:18px}}.unusual-signup-container .unusual-signup-wrapper .radio-buttons-wrapper{margin:56px 0 24px;display:flex;flex-direction:row}.unusual-signup-container .unusual-signup-wrapper .radio-buttons-wrapper .radio-item+.radio-item{margin-left:24px}html[dir=rtl] .unusual-signup-container .unusual-signup-wrapper .radio-buttons-wrapper .radio-item+.radio-item{margin-left:0;margin-right:24px}@media(max-width: 700px){.unusual-signup-container .unusual-signup-wrapper .radio-buttons-wrapper .radio-item+.radio-item{margin:12px 0 0}html[dir=rtl] .unusual-signup-container .unusual-signup-wrapper .radio-buttons-wrapper .radio-item+.radio-item{margin:12px 0 0 0}}@media(max-width: 420px){.unusual-signup-container .unusual-signup-wrapper .radio-buttons-wrapper{margin:32px 0 24px}}.unusual-signup-container .unusual-signup-wrapper .radio-buttons-wrapper .radio-item{display:inline-block;cursor:pointer;overflow:hidden}.unusual-signup-container .unusual-signup-wrapper .radio-buttons-wrapper .radio-item input[type=radio]{display:none}.unusual-signup-container .unusual-signup-wrapper .radio-buttons-wrapper .radio-item input[type=radio]:checked+.radio-content{background-color:#edf8ff;border-color:#0075e3}.unusual-signup-container .unusual-signup-wrapper .radio-buttons-wrapper .radio-item input[type=radio]:checked+.radio-content .radio-check{border:6px solid #0075e3}.unusual-signup-container .unusual-signup-wrapper .radio-buttons-wrapper .radio-item .radio-content{display:flex;align-items:flex-start;justify-content:flex-start;border-radius:4px;border:1px solid #e3e5f5;padding:28px 16px;width:320px;transition:all .2s ease-in;height:100%}.unusual-signup-container .unusual-signup-wrapper .radio-buttons-wrapper .radio-item .radio-content .radio-title{font-size:14px;line-height:20px;color:#6c73a8;margin-left:12px;text-align:start;word-break:break-all}html[dir=rtl] .unusual-signup-container .unusual-signup-wrapper .radio-buttons-wrapper .radio-item .radio-content .radio-title{margin-left:0;margin-right:12px}.unusual-signup-container .unusual-signup-wrapper .radio-buttons-wrapper .radio-item .radio-content .radio-title strong{display:block;font-weight:700;font-size:16px;line-height:24px;color:#0a1551}@media(max-width: 370px){.unusual-signup-container .unusual-signup-wrapper .radio-buttons-wrapper .radio-item .radio-content{width:270px}}.unusual-signup-container .unusual-signup-wrapper .radio-buttons-wrapper .radio-item .radio-check{width:20px;height:20px;min-width:20px;min-height:20px;border-radius:50%;border:2px solid #c8ceed;cursor:pointer;transition:all .2s ease-in}.unusual-signup-container .unusual-signup-wrapper .radio-buttons-wrapper .radio-item .radio-content:hover{border:1px solid #c8ceed}@media(max-width: 700px){.unusual-signup-container .unusual-signup-wrapper .radio-buttons-wrapper{display:flex;flex-direction:column;justify-content:center;align-items:center}}.unusual-signup-container .unusual-signup-wrapper .continue-button{padding:12px 24px;min-width:196px;border-radius:4px;background-color:#0075e3;color:#fff;font-size:14px;line-height:16px;font-weight:500;border:none;transition:all .2s ease-in}.unusual-signup-container .unusual-signup-wrapper .continue-button:hover{background-color:#0066c3}.unusual-signup-container .unusual-signup-wrapper .continue-button:disabled{background-color:rgba(0,117,227,.5019607843);cursor:not-allowed}.unusual-signup-container .unusual-signup .error-wrapper{background-color:#dc2626;padding:8px;border-radius:4px;text-align:start;display:flex;align-items:center;margin-bottom:24px;margin-top:-16px;transition:all .3s ease-in}.unusual-signup-container .unusual-signup .error-wrapper .error-icon{color:#fff;min-width:16px;min-height:16px;width:16px;height:16px;margin-right:8px;padding:0}html[dir=rtl] .unusual-signup-container .unusual-signup .error-wrapper .error-icon{margin-right:0;margin-left:8px}.unusual-signup-container .unusual-signup .error-wrapper .error-msg{color:#fff;font-size:12px;line-height:16px;margin:0}.unusual-signup-container .unusual-signup .error-wrapper .error-msg a{text-decoration:underline;cursor:pointer}.unusual-signup-container .unusual-signup .error-wrapper .error-msg a:hover{text-shadow:none}@media(max-width: 700px){.unusual-signup-container .unusual-signup .error-wrapper{width:320px;margin-left:auto;margin-right:auto}}@media(max-width: 370px){.unusual-signup-container .unusual-signup .error-wrapper{width:270px}}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".xcl-modal{width:100%;min-width:-webkit-max-content;min-width:max-content}@media(max-width: 950px){.xcl-modal{min-width:90%}}@media(max-width: 480px){.xcl-modal{height:100%;min-width:100%}}.xcl-modal .xcl-close{width:40px;height:40px}.xcl-modal .xcl-close svg{width:16px;height:16px}.verify-account-container{background-color:#fff;border-radius:8px;padding-top:64px;display:flex;flex-direction:column;align-items:center;width:100%;padding-bottom:64px}.verify-account-container h1{font-size:24px;line-height:48px;font-weight:700;margin-bottom:32px}@media(max-width: 480px){.verify-account-container h1{font-size:18px;line-height:initial}}.verify-account-container .social-login{display:flex;gap:16px;border:1px solid #c8ceed;padding:14px;border-radius:4px;align-items:center;justify-content:space-between;max-width:450px;min-width:390px}.verify-account-container .social-login:not(:last-child){margin-bottom:5px}.verify-account-container .social-login-info{display:flex;align-items:center;overflow:hidden}.verify-account-container .social-login-info-avatar{width:28px;height:28px;border-radius:50%}.verify-account-container .social-login-info-credentials{text-align:left;-webkit-padding-start:14px;padding-inline-start:14px;line-height:18px}.verify-account-container .social-login-info-credentials-username{color:#3d4044;font-size:14px;font-weight:500}.verify-account-container .social-login-info-credentials-email{font-size:12px;color:#67696d}.verify-account-container .social-login-icon{display:flex;justify-content:center;align-items:center;flex-direction:row-reverse;padding:0 16px;height:40px;border:1px solid #c8ceed;border-radius:4px;cursor:pointer;transition:all .2s;font-size:14px}.verify-account-container .social-login-icon:hover{background-color:#f3f3f3}.verify-account-container .social-login-icon svg{margin-left:5px;width:24px;height:24px}.verify-account-container .social-login span{font-size:16px;font-weight:700;color:#2b3245}.verify-account-container .verify-modal-divider{margin:8px 0;width:380px}.verify-account-container .password-section{display:flex;flex-direction:column;gap:8px;width:100%;max-width:380px}.verify-account-container .password-section label{font-size:16px;font-weight:700;text-align:left;color:#0a1551}.verify-account-container .password-section .verify-form{display:flex;flex-direction:column;width:100%}.verify-account-container .password-section .verify-form input{height:40px;border:1px solid #c8ceed;border-radius:4px;padding:0 12px;transition:all .2s}.verify-account-container .password-section .verify-form input:focus{outline:0;border-color:#6a9cff;box-shadow:0 0 0 2px rgba(106,156,255,.58)}.verify-account-container .password-section .verify-form button{margin-top:16px}.verify-account-container .password-section .verify-form .xcl-lbl-err{margin-top:0}.verify-account-container .submit-button{height:40px;background-color:#dc2626;border:3px solid #dc2626;border-radius:4px;color:#fff;font-weight:500;transition:all .2s}.verify-account-container .submit-button:hover{background-color:#a51b1b;border-color:#a51b1b}.verify-account-container .submit-button.blue{background-color:#0075e3;border-color:#0075e3}.verify-account-container .submit-button.blue:hover:not(:disabled){background-color:#0053a1;border-color:#0053a1}.verify-account-container .submit-button.green{background-color:#64b200;border-color:#64b200}.verify-account-container .submit-button.green:hover:not(:disabled){background-color:#3f7000;border-color:#3f7000}.verify-account-container .submit-button:active{border:3px solid #f5b2b7}.verify-account-container .submit-button:disabled{background-color:#e3e5f5;color:#c8ceed;border:1px solid #e3e5f5;cursor:not-allowed}.verify-account-container .verification-section{width:320px}.verify-account-container .verification-section .verification-message{display:flex;align-items:center;color:#0a1551;font-size:20px;margin-bottom:32px}.verify-account-container .verification-section .verification-message svg{width:20px;height:20px;fill:#529300;margin-right:8px}.verify-account-container .verification-section button{width:100%}.error-message{display:flex;align-items:center;background-color:#dc2626;color:#fff;font-size:12px;border-radius:2px;padding:5px 0 5px 8px;margin-top:12px;width:320px}.error-message svg{width:16px;height:16px;margin-right:8px}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_GET_URL_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/getUrl.js\";\nvar ___CSS_LOADER_URL_IMPORT_0___ = new URL(\"data:image/svg+xml,%0A%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27101%27 height=%2798%27%3E%3Cg fill=%27none%27 fill-rule=%27evenodd%27%3E%3Cg fill-rule=%27nonzero%27%3E%3Cpath fill=%27%23CDCDD9%27 d=%27M92.36 92.36H79.94l-33.76-8.21-33.76 8.21H0V0h20.832L46.18 8.21 71.527 0h8.518l12.314 12.315z%27/%3E%3Cpath fill=%27%23F7F7FF%27 d=%27M20.935 0v38.175h50.49V0h-8.177l-8.534 4.127L46.18 0z%27/%3E%3Cpath fill=%27%23CDCDD9%27 d=%27M46.795 0h17.24v29.555h-17.24z%27/%3E%3Cpath fill=%27%23F7F7FF%27 d=%27M78.813 62.093V92.36H12.315V62.093l33.249-4.215z%27/%3E%3Cpath fill=%27%23F7F7FF%27 d=%27M78.813 59.06v3.744H12.315v-3.743c0-3.374 2.805-6.108 6.266-6.108h53.966c3.46 0 6.266 2.734 6.266 6.108z%27/%3E%3Crect width=%2749.732%27 height=%275.684%27 x=%2721.314%27 y=%2763.941%27 fill=%27%23CDCDD9%27 rx=%272%27/%3E%3Crect width=%2749.732%27 height=%275.684%27 x=%2721.314%27 y=%2779.571%27 fill=%27%23CDCDD9%27 rx=%272%27/%3E%3C/g%3E%3Cpath fill=%27%2301BD6F%27 d=%27M78.133 51.153c12.547 0 22.718 10.29 22.718 22.984 0 12.693-10.17 22.984-22.718 22.984-12.546 0-22.718-10.29-22.718-22.984 0-12.694 10.172-22.984 22.718-22.984%27/%3E%3Cpath fill=%27%23FFFFFE%27 d=%27M91.499 64.028a2.626 2.626 0 0 0-3.707-.085l-14.941 14.23-3.718-3.875a2.629 2.629 0 0 0-3.706-.082 2.608 2.608 0 0 0-.082 3.695l5.528 5.762a2.62 2.62 0 0 0 1.895.807c.65 0 1.302-.24 1.81-.724l16.836-16.034a2.608 2.608 0 0 0 .085-3.694%27/%3E%3C/g%3E%3C/svg%3E\", import.meta.url);\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\nvar ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".sacl-button.form-sacl-button{color:#6f6f6f;border:1px solid #e4e4e4;background:#fff;box-shadow:none;text-shadow:none;margin:0 8px 0 0}.sacl-button.form-sacl-button:hover{border:1px solid #007aff;color:#007aff;background:#fff}.form-pagebreak-next-container{float:right}@media screen and (max-width: 480px){.form-pagebreak-next-container.form-pagebreak-save-container{width:100% !important}.form-pagebreak-next-container.form-pagebreak-save-container .sacl-button.form-sacl-button{width:90%}.form-pagebreak-next-container.form-pagebreak-save-container div.form-sacl-button{margin:0}.form-pagebreak{display:flex;flex-wrap:wrap-reverse}.form-buttons-wrapper .editor-container,.form-pagebreak .editor-container{width:100%}.sacl-button.form-sacl-button{display:block;margin:16px auto !important}}.sacl-hipaa-warning{display:inline-flex;align-items:center;background-color:#ecf4ff;border-radius:4px;padding:8px 12px;margin-bottom:24px;font-size:14px}.sacl-hipaa-warning svg{margin-right:8px}.sacl-textarea{resize:none}.sacl-textarea.isHidden{position:absolute;bottom:-9999px}body.isMobile .jfInput-input.sacl-input{margin-top:1.5em}.sacl-buttonRow.forLogout{z-index:0;position:relative}.sacl-buttonRow.forActions{z-index:1;position:relative}.sacl-linkWrapper{display:table;margin:auto}.sacl-linkWrapper.isHidden{display:none}.sacl-linkWrapper>span{display:inline-block;vertical-align:middle}.sacl-linkWrapper .iconSvg{width:28px;height:28px;display:inline-block}.sacl-linkWrapper .iconSvg svg{fill:#fff}body.isMobile .sacl-linkWrapper{padding-top:1em;text-align:left}.sacl-mailWrapper{float:right}body.isMobile .sacl-mailWrapper{float:none}.sacl-modal-icon{display:inline-block;vertical-align:top;margin-right:10px;width:36px;height:36px}.sacl-state-icon{width:20px;height:20px;display:inline-block;margin:-2px -5px}.sacl-state-text{margin-left:0;position:absolute;left:100%;white-space:nowrap;border-radius:0 4px 4px 0;padding:.75em 1em .75em 0;top:0;opacity:0;transition:opacity .3s ease}.jfProgress-infoContent.jfProgress-sacl{margin-left:5px;min-width:inherit;position:relative;overflow:hidden}.jfProgress-infoContent.jfProgress-sacl .jfProgress-infoContentText{padding:0}.jfProgress-infoContent.jfProgress-sacl:hover{border-radius:4px 0 0 4px;overflow:visible}.jfProgress-infoContent.jfProgress-sacl:hover .sacl-state-text{opacity:1}.isMobile.formMode:not(.onScrollMode) .jfProgress-infoContent.jfProgress-sacl{display:none}.saclLinkButton-tooltip{white-space:nowrap;margin:11px -2px auto auto;text-indent:0}.saclLinkButton-text{font-size:16px;color:#4c7ff4;position:absolute;white-space:nowrap;height:100%;top:0;left:100%;margin-left:12px;padding-top:.75em}body.isMobile .saclLinkButton-text{font-size:16px}.u-tooltipTrigger{position:relative}.u-tooltipTrigger.isActive+.jfTooltip,.u-tooltipTrigger.isActive~.jfTooltip,.u-tooltipTrigger.isActive .jfTooltip{opacity:1 !important;visibility:visible !important;z-index:1}.jfOverlay{display:table;position:fixed;top:0;left:0;height:0;width:0;opacity:0;transition:opacity .15s ease;background-color:rgba(10,21,81,.7);text-align:center;z-index:11}.jfOverlay.isVisible{height:100%;width:100%;opacity:1}.jfOverlay.loginFlowModal{z-index:8001}.jfImage{border:0;max-width:100%;max-height:inherit;width:auto;height:auto}.browserName-InternetExplorer .jfImage{width:100%}.jfImage-wrapper{position:relative;display:block;max-height:inherit;max-width:100%}.jfImage-wrapper.isLeftAlign{text-align:left}.jfImage-wrapper.isCenterAlign{text-align:center}.jfImage-wrapper.isRightAlign{text-align:right}.jfImage-wrapper .jfImage-container{display:inline-block;position:relative}.jfImage-wrapper .jfImage-container:hover button{opacity:1;transition:opacity .15s ease}.jfImage-enlargeButton{position:absolute;top:.4em;right:.4em;background-color:#111;border-radius:4px;font-size:1em;padding:.3em;border:0;display:block;cursor:pointer;width:1.4em;height:1.4em;opacity:0;transition:opacity .15s ease}.jfImage-enlargeButton:focus{outline:0}.jfImage-enlargeButton svg{fill:#fff;width:100%}.jfOverlayImage{max-width:80%;max-height:80%;position:relative}.jfOverlayImage[src=\\\"#\\\"],.jfOverlayImage:not([src]){display:none}.jfOverlay-close{position:absolute;right:1em;top:1em;cursor:pointer}.jfOverlay-close svg{fill:#fff;height:2.5em}.jfOverlay-modalWrapper{display:table-cell;vertical-align:middle}.jfOverlay-modal#sacl-modal{margin-top:0;position:fixed;top:50%;left:50%;overflow-y:auto;transform:translate(-50%, -50%);max-height:100%;border-radius:10px}@media(max-width: 480px){.jfOverlay-modal#sacl-modal{top:0;left:0;transform:translate(0);border-radius:0}}.jfOverlay-modal{max-width:740px;width:100%;margin:0 auto}.jfOverlay-modal.isVisible{display:block}body.isMobile .jfOverlay-modal{font-size:.8em;text-align:center}.formUserSCLNavigationWrapper .jfOverlay-modal{max-width:575px !important}.jfOverlay-actions{margin-top:1.6em}.jfOverlay-actions:before,.jfOverlay-actions:after{content:\\\" \\\";display:table}.jfOverlay-actions:after{clear:both}body.isMobile .jfOverlay-actions{margin-top:0}.jfOverlay-body{font-size:1em;line-height:1.5}.jfOverlay-body p{margin:1em auto}.jfOverlay-title{text-align:center;background-color:#f5f5f5;margin:-24px -36px 1em;font-size:1.5em;text-transform:uppercase;padding:.75em 0;color:#5b5b5b;font-weight:500;border-radius:6px 6px 0 0}.jfOverlay-modalWrapper *{box-sizing:border-box}.jfOverlay-title{color:#63667a;background-color:#edeef5}#sacl-modal .signupPrompt-slides{overflow:hidden}#sacl-modal *{outline:none}#sacl-modal .jfTooltip{color:#eee;font-size:12px;text-align:left}#sacl-modal .jfTooltip.u-tethered{position:absolute;padding:10px 12px;opacity:0;transition:opacity,.15s,ease-in;line-height:16px;visibility:hidden}#sacl-modal .jfTooltip.u-tethered.u-northEast,#sacl-modal .jfTooltip.u-tethered.u-northWest,#sacl-modal .jfTooltip.u-tethered.u-north{top:100%;margin-top:9px}#sacl-modal .jfTooltip.u-tethered.u-northEast:after,#sacl-modal .jfTooltip.u-tethered.u-northWest:after,#sacl-modal .jfTooltip.u-tethered.u-north:after{border-width:0 6px 6px;top:-6px}#sacl-modal .jfTooltip.u-tethered.u-southEast,#sacl-modal .jfTooltip.u-tethered.u-southWest,#sacl-modal .jfTooltip.u-tethered.u-south{bottom:100%;margin-bottom:9px}#sacl-modal .jfTooltip.u-tethered.u-southEast:after,#sacl-modal .jfTooltip.u-tethered.u-southWest:after,#sacl-modal .jfTooltip.u-tethered.u-south:after{border-width:6px 6px 0;bottom:-6px}#sacl-modal .jfTooltip.u-tethered.u-eastNorth,#sacl-modal .jfTooltip.u-tethered.u-eastSouth,#sacl-modal .jfTooltip.u-tethered.u-east{right:100%;margin-right:9px}#sacl-modal .jfTooltip.u-tethered.u-eastNorth:after,#sacl-modal .jfTooltip.u-tethered.u-eastSouth:after,#sacl-modal .jfTooltip.u-tethered.u-east:after{border-width:6px 0 6px 6px;right:-6px}#sacl-modal .jfTooltip.u-tethered.u-westNorth,#sacl-modal .jfTooltip.u-tethered.u-westSouth,#sacl-modal .jfTooltip.u-tethered.u-west{left:100%;margin-left:9px}#sacl-modal .jfTooltip.u-tethered.u-westNorth:after,#sacl-modal .jfTooltip.u-tethered.u-westSouth:after,#sacl-modal .jfTooltip.u-tethered.u-west:after{border-width:6px 6px 6px 0;left:-6px}#sacl-modal .jfTooltip.u-tethered.u-westSouth,#sacl-modal .jfTooltip.u-tethered.u-eastSouth{bottom:0}#sacl-modal .jfTooltip.u-tethered.u-westNorth,#sacl-modal .jfTooltip.u-tethered.u-eastNorth{top:0}#sacl-modal .jfTooltip.u-tethered.u-northWest,#sacl-modal .jfTooltip.u-tethered.u-southWest{left:0}#sacl-modal .jfTooltip.u-tethered.u-northEast,#sacl-modal .jfTooltip.u-tethered.u-southEast{right:0}#sacl-modal .jfTooltip.u-tethered.u-east,#sacl-modal .jfTooltip.u-tethered.u-west{top:50%;transform:translateY(-50%)}#sacl-modal .jfTooltip.u-tethered.u-north,#sacl-modal .jfTooltip.u-tethered.u-south{left:50%;transform:translateX(-50%)}#sacl-modal .jfTooltip.u-tethered.u-northEast:after,#sacl-modal .jfTooltip.u-tethered.u-southEast:after{right:12px}#sacl-modal .jfTooltip.u-tethered.u-northWest:after,#sacl-modal .jfTooltip.u-tethered.u-southWest:after{left:12px}#sacl-modal .jfTooltip.u-tethered.u-eastNorth:after,#sacl-modal .jfTooltip.u-tethered.u-westNorth:after{top:6px}#sacl-modal .jfTooltip.u-tethered.u-eastSouth:after,#sacl-modal .jfTooltip.u-tethered.u-westSouth:after{bottom:6px}#sacl-modal .jfTooltip.u-tethered.u-east:after,#sacl-modal .jfTooltip.u-tethered.u-west:after{top:50%;transform:translateY(-50%)}#sacl-modal .jfTooltip.u-tethered.u-north:after,#sacl-modal .jfTooltip.u-tethered.u-south:after{left:50%;transform:translateX(-50%)}#sacl-modal .jfTooltip.u-alwaysVisible{position:relative;line-height:14px;font-weight:300;display:none;display:table;padding:5px 7px;float:left}#sacl-modal .jfTooltip.u-alwaysVisible span{display:table-cell;vertical-align:middle}#sacl-modal .jfTooltip.u-alwaysVisible.u-west,#sacl-modal .jfTooltip.u-alwaysVisible.u-westNorth,#sacl-modal .jfTooltip.u-alwaysVisible.u-westSouth{margin-left:9px}#sacl-modal .jfTooltip.u-alwaysVisible.u-west:after,#sacl-modal .jfTooltip.u-alwaysVisible.u-westNorth:after,#sacl-modal .jfTooltip.u-alwaysVisible.u-westSouth:after{border-width:6px 6px 6px 0;left:-6px}#sacl-modal .jfTooltip.u-alwaysVisible.u-south,#sacl-modal .jfTooltip.u-alwaysVisible.u-southEast,#sacl-modal .jfTooltip.u-alwaysVisible.u-southWest{margin-bottom:9px}#sacl-modal .jfTooltip.u-alwaysVisible.u-south:after,#sacl-modal .jfTooltip.u-alwaysVisible.u-southEast:after,#sacl-modal .jfTooltip.u-alwaysVisible.u-southWest:after{border-width:6px 6px 0;bottom:-6px}#sacl-modal .jfTooltip.u-alwaysVisible.u-east,#sacl-modal .jfTooltip.u-alwaysVisible.u-eastNorth,#sacl-modal .jfTooltip.u-alwaysVisible.u-eastSouth{margin-right:9px}#sacl-modal .jfTooltip.u-alwaysVisible.u-east:after,#sacl-modal .jfTooltip.u-alwaysVisible.u-eastNorth:after,#sacl-modal .jfTooltip.u-alwaysVisible.u-eastSouth:after{border-width:6px 0 6px 6px;right:-6px}#sacl-modal .jfTooltip.u-alwaysVisible.u-north,#sacl-modal .jfTooltip.u-alwaysVisible.u-northEast,#sacl-modal .jfTooltip.u-alwaysVisible.u-northWest{margin-top:9px}#sacl-modal .jfTooltip.u-alwaysVisible.u-north:after,#sacl-modal .jfTooltip.u-alwaysVisible.u-northEast:after,#sacl-modal .jfTooltip.u-alwaysVisible.u-northWest:after{border-width:0 6px 6px;top:-6px}#sacl-modal .jfTooltip.u-alwaysVisible.u-northEast:after,#sacl-modal .jfTooltip.u-alwaysVisible.u-southEast:after{right:9px}#sacl-modal .jfTooltip.u-alwaysVisible.u-northWest:after,#sacl-modal .jfTooltip.u-alwaysVisible.u-southWest:after{left:9px}#sacl-modal .jfTooltip.u-alwaysVisible.u-eastNorth:after,#sacl-modal .jfTooltip.u-alwaysVisible.u-westNorth:after{top:6px}#sacl-modal .jfTooltip.u-alwaysVisible.u-eastSouth:after,#sacl-modal .jfTooltip.u-alwaysVisible.u-westSouth:after{bottom:6px}#sacl-modal .jfTooltip.u-alwaysVisible.u-east:after,#sacl-modal .jfTooltip.u-alwaysVisible.u-west:after{top:50%;transform:translateY(-50%)}#sacl-modal .jfTooltip.u-alwaysVisible.u-north:after,#sacl-modal .jfTooltip.u-alwaysVisible.u-south:after{left:50%;transform:translateX(-50%)}#sacl-modal .jfTooltip.u-error{background:#da6844}#sacl-modal .jfTooltip.u-error.u-south:after,#sacl-modal .jfTooltip.u-error.u-southEast:after,#sacl-modal .jfTooltip.u-error.u-southWest:after{border-color:#da6844 rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0)}#sacl-modal .jfTooltip.u-error.u-west:after,#sacl-modal .jfTooltip.u-error.u-westNorth:after,#sacl-modal .jfTooltip.u-error.u-westSouth:after{border-color:rgba(0,0,0,0) #da6844 rgba(0,0,0,0) rgba(0,0,0,0)}#sacl-modal .jfTooltip.u-error.u-north:after,#sacl-modal .jfTooltip.u-error.u-northEast:after,#sacl-modal .jfTooltip.u-error.u-northWest:after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #da6844 rgba(0,0,0,0)}#sacl-modal .jfTooltip.u-error.u-east:after,#sacl-modal .jfTooltip.u-error.u-eastNorth:after,#sacl-modal .jfTooltip.u-error.u-eastSouth:after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0) #da6844}#sacl-modal .jfTooltip.u-warning{background:#e9af24}#sacl-modal .jfTooltip.u-warning.u-south:after,#sacl-modal .jfTooltip.u-warning.u-southEast:after,#sacl-modal .jfTooltip.u-warning.u-southWest:after{border-color:#e9af24 rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0)}#sacl-modal .jfTooltip.u-warning.u-west:after,#sacl-modal .jfTooltip.u-warning.u-westNorth:after,#sacl-modal .jfTooltip.u-warning.u-westSouth:after{border-color:rgba(0,0,0,0) #e9af24 rgba(0,0,0,0) rgba(0,0,0,0)}#sacl-modal .jfTooltip.u-warning.u-north:after,#sacl-modal .jfTooltip.u-warning.u-northEast:after,#sacl-modal .jfTooltip.u-warning.u-northWest:after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #e9af24 rgba(0,0,0,0)}#sacl-modal .jfTooltip.u-warning.u-east:after,#sacl-modal .jfTooltip.u-warning.u-eastNorth:after,#sacl-modal .jfTooltip.u-warning.u-eastSouth:after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0) #e9af24}#sacl-modal .jfTooltip.u-neutral{background:#444}#sacl-modal .jfTooltip.u-neutral.u-south:after,#sacl-modal .jfTooltip.u-neutral.u-southEast:after,#sacl-modal .jfTooltip.u-neutral.u-southWest:after{border-color:#444 rgba(0,0,0,0) rgba(0,0,0,0)}#sacl-modal .jfTooltip.u-neutral.u-west:after,#sacl-modal .jfTooltip.u-neutral.u-westNorth:after,#sacl-modal .jfTooltip.u-neutral.u-westSouth:after{border-color:rgba(0,0,0,0) #444 rgba(0,0,0,0) rgba(0,0,0,0)}#sacl-modal .jfTooltip.u-neutral.u-north:after,#sacl-modal .jfTooltip.u-neutral.u-northEast:after,#sacl-modal .jfTooltip.u-neutral.u-northWest:after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #444}#sacl-modal .jfTooltip.u-neutral.u-east:after,#sacl-modal .jfTooltip.u-neutral.u-eastNorth:after,#sacl-modal .jfTooltip.u-neutral.u-eastSouth:after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0) #444}#sacl-modal .jfTooltip:after{content:\\\"\\\";position:absolute;width:0;height:0;border-style:solid}#sacl-modal button{outline:none}#sacl-modal .jfInput-input{border-radius:3px;background-color:#fff;color:initial;font-size:16px;font-weight:500;line-height:1.5;padding:.5em 1em;border:1px solid;border-color:#979797;font-family:\\\"Circular\\\" -apple-system,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif !important;display:block;width:100%;margin:0;font-family:inherit}#sacl-modal .jfInput-input.hasSublabel:not(:focus)::placeholder{color:rgba(0,0,0,0);transition:all .05s ease}#sacl-modal .jfInput-input:not(:read-only):focus,#sacl-modal .jfInput-input:not(:read-only):active{outline:0}#sacl-modal .jfInput-input:focus~.jfField-sublabel{top:100%;padding:.6em 0;font-size:.6em}.isMobile #sacl-modal .jfInput-input:focus~.jfField-sublabel{padding:.33em 0 0 .4em;font-size:.75em}#sacl-modal .jfInput-input:focus{border-color:#0099fa}#sacl-modal .jfInput-input:not(:read-only):focus,#sacl-modal .jfInput-input:not(:read-only):active{border-color:#4a85ef}#sacl-modal .jfInput-input::placeholder{color:#bfc9d4}#sacl-modal .jfInput-input.form-validation-error{border-color:#e34343}#sacl-modal .jfOverlay-title-sacl-icon{background-size:cover;background-repeat:no-repeat;background-position:center;background-image:url(\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \");width:101px;height:98px;display:block;margin:36px auto 18px}#sacl-modal .isAlternativeDesign{font-family:\\\"Circular\\\" -apple-system,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif}#sacl-modal .isAlternativeDesign .isSavedAsDraft{font-size:22px;color:#63667a;text-align:center}#sacl-modal .isAlternativeDesign .sacl-text{font-size:20px;font-weight:700;color:#424242;text-align:center;margin:8px 0 32px}#sacl-modal .jfInput-button{float:none;font-size:16px !important;line-height:1;text-decoration:none;cursor:pointer;display:inline-block;padding:12px 24px;font-weight:300;margin:0;text-shadow:none;-webkit-user-select:none;user-select:none;transition:all .1s ease;border:none !important;font-family:\\\"Circular\\\" -apple-system,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif !important;position:relative;outline:none}#sacl-modal .jfInput-button.forContinueLater{border-color:#4084f3;background-color:#4084f3;color:#fff;border-radius:4px !important;white-space:nowrap}#sacl-modal .jfInput-button.forLink,#sacl-modal .jfInput-button.forResend,#sacl-modal .jfInput-button.forLogout{height:56px;width:186px;display:inline-flex;align-items:center}#sacl-modal .jfInput-button.forLink .iconSvg,#sacl-modal .jfInput-button.forResend .iconSvg,#sacl-modal .jfInput-button.forLogout .iconSvg{width:28px;height:28px;margin-left:5px}#sacl-modal .jfInput-button.forLink .iconSvg svg,#sacl-modal .jfInput-button.forResend .iconSvg svg,#sacl-modal .jfInput-button.forLogout .iconSvg svg{width:28px;height:28px}#sacl-modal .jfInput-button.forLogout{display:block;margin:14px auto 0;height:46px}#sacl-modal .jfInput-button.forLogout .saclLinkButton-text{color:#4c7ff4;padding:0;margin:0;text-transform:initial;letter-spacing:initial;font-size:18px}#sacl-modal .jfInput-button.forLink{padding:.25em;vertical-align:middle;margin-right:14px;border-color:#4084f3;background-color:#4084f3;margin-top:0;border-radius:4px !important}#sacl-modal .jfInput-button.forLink:not(.isAlternativeDesign) .saclLinkButton-text{color:#fff;padding:0;margin:0;text-transform:initial;letter-spacing:initial}#sacl-modal .jfInput-button.forLink.isAlternativeDesign{width:44px;height:44px}#sacl-modal .jfInput-button.forLink.isAlternativeDesign .saclLinkButton-text{color:#4084f3}#sacl-modal .jfInput-button.forLink.isActive .jfTooltip{opacity:1;visibility:visible}#sacl-modal .jfInput-button.forResend{padding:.25em;vertical-align:middle;border:1px solid #a8aab5 !important;background-color:#f8f8fb;margin-top:0;border-radius:4px !important}#sacl-modal .jfInput-button.forResend .iconSvg,#sacl-modal .jfInput-button.forResend svg{display:flex;width:21px !important;height:21px !important}#sacl-modal .jfInput-button.forResend .saclLinkButton-text{padding:0;margin:0;text-transform:initial;letter-spacing:initial;color:#424242}#sacl-modal .jfInput-button.forResend.isActive .jfTooltip{opacity:1;visibility:visible;text-transform:initial;letter-spacing:initial}#sacl-modal .jfInput-button .saclLinkButton-text{position:initial;width:100%}#sacl-modal .js-sacl-saved{font-size:22px;font-weight:600;color:#424242;margin-top:2px;display:inline-block}#sacl-modal .js-sacl-textarea{color:#424242}#sacl-modal .sacl-input-group{display:flex;width:100%}#sacl-modal .sacl-input-group-item.forInput{width:100%}#sacl-modal .sacl-input-group-item.forInput+.forButton{margin-left:10px}#sacl-modal.excludeMail .sacl-input-group.forMail{display:none}#sacl-modal.excludeMail .jfInput-button{font-family:\\\"Circular\\\" -apple-system,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif !important}#sacl-modal.excludeMail .jfInput-button.forLink,#sacl-modal.excludeMail .jfInput-button.forResend{padding:.25em 1em .25em .5em}#sacl-modal.excludeMail .jfInput-button.forLink .iconSvg{margin-left:0;margin-right:3px}#sacl-modal.excludeMail .jfInput-button.forResend .iconSvg{margin-left:10px;margin-right:0}#sacl-modal .m2ct,#sacl-modal .m3t{font-weight:600;color:#141e46}#sacl-modal .m3t~p{color:#141e46;max-width:450px}#sacl-modal .xcl-wrp .forSaclSharableLink{margin:0px 26px 0px 45px;display:flex;justify-content:center;align-items:center}#sacl-modal .xcl-wrp .forSavedDraftDesc{margin:18px 31px !important}#sacl-modal .xcl-sew{padding:0;margin:0px 26px 17px 47px}#sacl-modal .xcl-sew .xcl-inp{margin-right:8px}#sacl-modal .xcl-sew .forSaclSend{min-width:95px}#sacl-modal .xcl-content{font-family:\\\"Circular\\\" -apple-system,BlinkMacSystemFont,\\\"Segoe UI\\\",roboto,oxygen-sans,ubuntu,cantarell,\\\"Helvetica Neue\\\",sans-serif}@media(max-width: 480px){#sacl-modal .xcl-content{border-radius:0}}#sacl-modal .xcl-button-li,#sacl-modal .xcl-button-er,#sacl-modal .xcl-button-re{font-weight:400;font-size:15px}#sacl-modal .xcl-button-li svg,#sacl-modal .xcl-button-er svg,#sacl-modal .xcl-button-re svg{margin-right:13px;width:17px;height:17px}#sacl-modal .xcl-link-lg{margin:25px 0 13px 0;font-weight:500}#sacl-modal .xcl-button-re{border:1px solid #c3cad8;background-color:#fff;color:#141e46}#sacl-modal .xcl-button-re path{fill:#141e46}#sacl-modal .xcl-button-re:hover{background-color:#f3f3fe;border:1px solid #c3cad8}#sacl-modal .xcl-inp{font-size:14px;border:1px solid #c3cad8}#sacl-modal .xcl-inp.errored{border-color:#d4372c}@media(max-width: 640px){.sacl-input-group.forMail{flex-direction:column}.sacl-input-group.forMail .forInput+.forButton{margin-top:10px;margin-left:0}.sacl-input-group.forMail .forInput+.forButton button{width:100%}.sacl-buttonRow.forActions{display:flex;flex-direction:column}.sacl-buttonRow.forActions .jfInput-button{margin-right:0 !important;margin-left:0 !important}.sacl-buttonRow.forActions .jfInput-button+.jfInput-button{margin-top:24px !important}.jfInput-button{margin:auto}.forLink+.forResend{margin-top:10px}}#sacl-modal2 .js-sacl-page{display:none}#sacl-modal2 .js-sacl-page.visible{display:block}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n___CSS_LOADER_EXPORT___.push([module.id, \"@import url(https://cdn.jotfor.ms/fonts/?family=Circular);\"]);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".sacl-modal{background:rgba(0,0,0,.6);position:fixed;top:0;left:0;right:0;bottom:0;height:100%;width:100%;z-index:1002;font-family:\\\"Circular\\\",sans-serif;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.sacl-modal>*{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.sacl-modal button,.sacl-modal input{font-family:inherit}@media screen and (max-width: 430px){.sacl-modal{align-items:flex-start;overflow-y:scroll}.sacl-modal .sacl-modal__content{width:100%;min-width:100%;border-radius:0}}.sacl-modal .pt-24{padding-top:24px}.sacl-modal .mb-24{margin-bottom:24px}.sacl-modal .pt-40{padding-top:40px}.sacl-modal .pt-44{padding-top:44px}.sacl-modal .pb-40{padding-bottom:40px}.sacl-modal .pb-32{padding-bottom:32px}.sacl-modal .px-32{padding-left:32px;padding-right:32px}.sacl-modal__content{position:relative;width:600px;background:#fff;border-radius:8px;text-align:center}.sacl-modal__content .sws.commonModalSws#sws{max-width:100%;min-width:100%}.sacl-modal__content .sws.commonModalSws#sws .password-fields-container{margin-top:16px}.sacl-modal__content .sws.commonModalSws#sws .password-fields-container>div{max-width:324px;margin:0 auto}.sacl-modal .sacl-modal__draft__buttons{display:flex;align-items:center;justify-content:space-between;padding:0 32px 40px 32px}.sacl-modal .sacl-modal__draft__buttons h5{color:#0a1551;font-weight:500;margin-top:12px;font-size:16px;line-height:24px;margin-bottom:0}.sacl-modal .sacl-modal__draft__buttons button{all:unset;box-sizing:border-box;height:140px;width:252px;display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;border:1px solid #e3e5f5;border-radius:8px}.sacl-modal .sacl-modal__draft__buttons button:first-child svg{color:#09f}.sacl-modal .sacl-modal__draft__buttons button:last-child svg{color:#7fca00}.sacl-modal .sacl-modal__draft__buttons button svg{width:56px;height:56px}.sacl-modal .sacl-modal__draft__buttons button:first-child:hover{background:#edf8ff;border:1px solid #4dbefc}.sacl-modal .sacl-modal__draft__buttons button:last-child:hover{background:#edfed1;border:1px solid #a8eb38}.sacl-modal__texts h1{font-size:20px;margin:0 0 8px 0;display:flex;align-items:flex-end;justify-content:center;gap:20px;line-height:32px;font-weight:500}.sacl-modal__texts span{color:#6f76a7;line-height:24px;font-size:14px;font-weight:400}.sacl-modal__logo{position:relative;width:72px;height:72px}.sacl-modal__logo svg.otherIcon{position:absolute;width:24px;height:24px;right:0;bottom:0;background:#fff;border-radius:55px}.sacl-modal__logo svg:last-child{color:#c8ceec}.sacl-modal__header-btn{width:40px !important;height:40px !important;border:0;position:absolute;top:16px;right:16px;z-index:2;width:44px;height:44px;border-radius:50%;background-color:#e6e6f5;display:grid;align-items:center;cursor:pointer}.sacl-modal__header-btn svg{color:#8894ab !important}.sacl-modal__header-btn--back{top:16px;left:16px}.sacl-modal__hr{display:none}.sacl-modal--error{color:#dc2626}.sacl-modal--success{color:#78bb06}.sacl-modal__center{display:flex;justify-content:center;align-items:center}.sacl-btn{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:0px 16px;gap:8px;height:40px;font-size:16px;border-radius:4px;font-weight:500;position:relative;cursor:pointer}.sacl-btn--first{border:1px solid #e3e5f5;background-color:#fff;color:#0a1551}.sacl-btn--first:hover{background-color:#f3f3fe;border:1px solid #c3cad8}.sacl-btn--second{background:#64b200;color:#fff;border:0}.sacl-btn--second span:not(.sacl-modal__tooltip){font-family:\\\"Circular\\\";font-style:normal;font-size:16px;line-height:16px;color:#fff}.sacl-btn--error{justify-content:space-around;padding:0px 12px;background:#0075e3;border:0;color:#fff;min-width:126px;height:40px}.sacl-btn--disabled{color:#c8ceed;background-color:none;border:1px solid #c8ceed}.sacl-btn--send{max-width:93px;min-width:initial}.sacl-btn svg{width:20px;height:20px}.sacl-modal__tooltip{position:absolute;left:0;bottom:100%;margin-bottom:9px;background:#444;padding:10px 12px;opacity:0;transition:opacity .15s ease-in;line-height:16px;visibility:hidden;color:#eee;font-size:12px;text-align:left;font-weight:400;cursor:pointer;font-family:\\\"Circular\\\"}.sacl-modal__tooltip::after{border-color:#444 rgba(0,0,0,0) rgba(0,0,0,0);left:12px;border-width:6px 6px 0;bottom:-6px;content:\\\"\\\";position:absolute;width:0;height:0;border-style:solid}.sacl-modal__tooltip--error{opacity:1 !important;visibility:visible !important;z-index:999;background:#dc2626}.sacl-modal__tooltip--error::after{border-color:#dc2626 rgba(0,0,0,0) rgba(0,0,0,0)}.sacl-modal__tooltip--error~input{all:unset;border:1px solid;height:40px;border-radius:4px;box-sizing:border-box}.sacl-btn.isActive .sacl-modal__tooltip{opacity:1 !important;visibility:visible !important;z-index:999}.sacl__back-btn{position:absolute;top:16px;left:16px;padding:8px 4px;background-color:rgba(0,0,0,0);color:#2b3245;font-size:14px;line-height:12px;height:34px;border:0;display:flex;align-items:center;justify-content:center;cursor:pointer}.sacl__back-btn svg{width:18px;height:18px;margin-right:6px}.dot-flashing{position:relative;width:5px;height:5px;border-radius:5px;background-color:#000;color:#000;animation:dot-flashing 1s infinite linear alternate;animation-delay:.5s;margin-bottom:9.5px;margin-left:-1px}.dot-flashing::before,.dot-flashing::after{content:\\\"\\\";display:inline-block;position:absolute;top:0}.dot-flashing::before{left:-10px;width:5px;height:5px;border-radius:5px;background-color:#000;color:#000;animation:dot-flashing 1s infinite alternate;animation-delay:0s}.dot-flashing::after{left:10px;width:5px;height:5px;border-radius:5px;background-color:#000;color:#000;animation:dot-flashing 1s infinite alternate;animation-delay:1s}@keyframes dot-flashing{0%{background-color:#000}50%,100%{background-color:#fff}}.sacl__full-page-error{background-color:#f3f3fe}.sacl__full-page-error .sacl-jotform-link{position:fixed;top:0;left:0;right:0;background-color:#0a1551;z-index:1;height:70px;display:flex;align-items:center}.sacl__full-page-error .sacl-logo-image{width:153px;margin:0 30px}.sacl__full-page-error .sacl-modal__content{box-shadow:0px 8px 16px rgba(84,95,111,.16),0px 2px 4px rgba(37,45,91,.04)}.sacl-form-error-message-icon svg{color:#dc2626 !important}.sacl-form-access-message-icon{color:#c8ceed !important;position:relative}.sacl-form-access-message-icon svg:last-child{position:absolute;bottom:4px;right:0;width:34px;height:34px;color:#0075e3;background:#fff;border-radius:50px;border-bottom-left-radius:0}.m1ba{margin-bottom:36px}.sacl-modal__input{position:relative;display:flex;align-items:center;justify-content:center;margin-right:12px;font-size:14px;font-weight:400}.sacl-modal__input span{height:20px;position:absolute;top:50%;transform:translate(10px, -50%);left:0;z-index:99;display:flex;align-items:center;justify-content:center}.sacl-modal__input span svg{height:20px;width:20px;margin-right:8px}.sacl-modal__input input{border:1px solid #c8ceed;border-radius:4px;display:flex;flex-direction:row;align-items:center;padding:9px 12px;gap:8px;flex:1 1;height:40px;padding-left:70px}.sacl-modal__input .sacl-btn{max-width:93px}.sacl-modal__input-container{padding-left:32px;padding-right:32px}.sacl-modal__input-container .sacl-modal__input{width:78%}.sacl-modal__input-container .sacl-btn{width:22%}@media(max-width: 740px){.sacl-modal__draft__buttons{flex-direction:column}.sacl-modal__draft__buttons>button:first-child{margin-bottom:24px}.sacl-modal__content{width:90%}.sacl-modal__texts{padding:10px 32px}.sacl-btn--container{flex-direction:column}.sacl-btn--container .sacl-btn{width:90%}.sacl-modal__input-container{flex-direction:column}.sacl-modal__input-container .sacl-modal__input{margin-right:initial;width:100%;margin-bottom:12px}.sacl-modal__input-container .sacl-btn{width:100%;max-width:initial !important;justify-content:center}.sacl-modal__input-container~div>.sacl-btn--second{width:100%;margin-left:32px;margin-right:32px}.sacl-modal__hr{background:#e3e5f5;height:1px;margin:24px 32px;display:block}}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"@keyframes nudgeShake{10%,90%{transform:translate3d(-1px, -100%, 0)}20%,80%{transform:translate3d(2px, -100%, 0)}30%,50%,70%{transform:translate3d(-4px, -100%, 0)}40%,60%{transform:translate3d(4px, -100%, 0)}100%{transform:translate3d(-1px, -100%, 0)}}.jfTooltip{margin:16px 0;background-color:#3f71f6;color:#fff;box-shadow:-3px 3px 3px 0 rgba(0,0,0,.11);border-radius:3px;position:relative}.jfTooltip-validation{position:relative}.jfTooltip-wrapper{opacity:1;transition:all .3s ease}.jfTooltip-wrapper.isHidden{opacity:0;pointer-events:none;transition:all .3s ease}.jfTooltip-wrapper.isVisible{display:block}.jfTooltip-hoverTarget .jfTooltip-wrapper:not(.isVisible){opacity:0;pointer-events:none}.jfTooltip-hoverTarget:hover .jfTooltip-wrapper{opacity:1}.jfTooltip.hasIcon{padding-left:24px}.jfTooltip-arrow{position:absolute;top:0;left:0;right:0;z-index:10;border-color:rgba(0,0,0,0) rgba(0,0,0,0) #3f71f6 #3f71f6}.withAnimation .jfTooltip-arrow{animation:nudgeShake .3s ease forwards}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.withAnimation .jfTooltip-arrow{animation:none}}.jfTooltip-arrow:after{content:\\\"\\\";position:absolute;width:0;height:0;top:-19px;box-sizing:border-box;border:7px solid #3f71f6;border-color:inherit;transform:rotate(-45deg) translateY(-50%);box-shadow:-3px 3px 3px 0 rgba(0,0,0,.11)}.jfTooltip-container{z-index:10;position:absolute;white-space:nowrap;transform:translateY(-100%);top:0}.withAnimation .jfTooltip-container{animation:nudgeShake .3s ease forwards}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.withAnimation .jfTooltip-container{animation:none}}.jfTooltip-container.alignLeft{left:0}.jfTooltip-container.alignLeft+.jfTooltip-arrow{left:20px}.jfTooltip-container.alignCenter{left:50%;transform:translate(-50%, -100%)}.jfTooltip-container.alignCenter+.jfTooltip-arrow{left:50%;transform:translateX(-50%)}.jfTooltip-container.alignCenter+.jfTooltip-arrow:after{left:2px}.jfTooltip-container.alignRight{right:0}.jfTooltip-container.alignRight+.jfTooltip-arrow{left:calc(100% - 20px)}.jfTooltip-container.attachTop{transform:translateY(-100%);top:0;bottom:auto}.jfTooltip-container.attachTop.alignCenter{left:50%;transform:translate(-50%, -100%)}.jfTooltip-container.attachBottom{transform:translateY(100%);top:auto;bottom:0}.jfTooltip-container.attachBottom+.jfTooltip-arrow{top:auto;bottom:-1px}.jfTooltip-container.attachBottom+.jfTooltip-arrow:after{top:auto;bottom:-13px;transform:rotate(135deg) translateY(-50%);transform-origin:0 center}.jfTooltip-container.attachBottom.alignCenter{transform:translate(-50%, 100%)}.jfTooltip-container.attachRight{transform:translateY(-50%);top:50%;right:32px;left:auto}.jfTooltip-container.attachRight+.jfTooltip-arrow{top:0;right:-26px}.jfTooltip-container.attachRight+.jfTooltip-arrow:after{top:50%;transform:rotate(-135deg) translateY(-50%);transform-origin:0 center}.jfTooltip-container.attachLeft{transform:translateY(-50%);top:50%;left:32px}.jfTooltip-container.attachLeft+.jfTooltip-arrow{top:0;left:20px}.jfTooltip-container.attachLeft+.jfTooltip-arrow:after{top:50%;transform:rotate(45deg) translateY(-50%);transform-origin:0 center}.jfTooltip-text{padding:12px;font-size:13px}.jfTooltip-icon{position:absolute;left:6px;transform:translateY(-50%);top:50%;width:24px;height:24px;text-align:center}.jfTooltip-icon>svg{height:100%}.jfTooltipNew{position:absolute;opacity:0;transition:opacity .3s;z-index:10;--tooltipDistance: 10px;--tooltipArrowDistance: .5em}.jfTooltipNew:not(.tooltipAllowHover){pointer-events:none}.jfTooltipNew.isVisible,.jfTooltipNew-hoverTarget:hover .jfTooltipNew{opacity:1}.jfTooltipNew-body{padding:8px 6px;border-radius:4px;font-size:14px;color:#fff;background-color:#23283a}.tooltipNoWrap .jfTooltipNew-body{white-space:nowrap}.jfTooltipNew-arrow{display:inline-flex;position:absolute;color:#23283a}.jfTooltipNew-arrow.isHidden,.isInContainer .jfTooltipNew-arrow{display:none}.jfTooltipNew.tooltipAttachTop{top:0;left:50%;transform:translate(-50%, calc(-100% - var(--tooltipDistance)))}.jfTooltipNew.tooltipAttachTop.tooltipAlignStart{left:0;transform:translateY(calc(-100% - var(--tooltipDistance)))}.jfTooltipNew.tooltipAttachTop.tooltipAlignStart.isInContainer{transform:none;top:var(--tooltipDistance);left:var(--tooltipDistance)}.jfTooltipNew.tooltipAttachTop.tooltipAlignStart .jfTooltipNew-arrow{left:var(--tooltipArrowDistance);transform:translateY(100%) rotate(180deg);bottom:1px}.jfTooltipNew.tooltipAttachTop.tooltipAlignCenter.isInContainer{transform:translate(-50%, var(--tooltipDistance))}.jfTooltipNew.tooltipAttachTop.tooltipAlignCenter .jfTooltipNew-arrow{left:50%;transform:translate(-50%, 100%) rotate(180deg);bottom:1px}[dir=rtl] .jfTooltipNew.tooltipAttachTop.tooltipAlignCenter .jfTooltipNew-arrow{right:50%}.jfTooltipNew.tooltipAttachTop.tooltipAlignEnd{left:auto;right:0;transform:translateY(calc(-100% - var(--tooltipDistance)))}.jfTooltipNew.tooltipAttachTop.tooltipAlignEnd.isInContainer{transform:none;top:var(--tooltipDistance);right:var(--tooltipDistance)}.jfTooltipNew.tooltipAttachTop.tooltipAlignEnd .jfTooltipNew-arrow{right:var(--tooltipArrowDistance);transform:translateY(100%) rotate(180deg);bottom:1px}.jfTooltipNew.tooltipAttachBottom{bottom:0;left:50%;transform:translate(-50%, calc(100% + var(--tooltipDistance)))}.jfTooltipNew.tooltipAttachBottom.tooltipAlignStart{left:0;transform:translateY(calc(100% + var(--tooltipDistance)))}.jfTooltipNew.tooltipAttachBottom.tooltipAlignStart.isInContainer{transform:none;bottom:var(--tooltipDistance);left:var(--tooltipDistance)}.jfTooltipNew.tooltipAttachBottom.tooltipAlignStart .jfTooltipNew-arrow{left:var(--tooltipArrowDistance);transform:translateY(-100%);top:1px}.jfTooltipNew.tooltipAttachBottom.tooltipAlignCenter.isInContainer{transform:translate(-50%, calc(0px - var(--tooltipDistance)));top:auto;bottom:0}.jfTooltipNew.tooltipAttachBottom.tooltipAlignCenter .jfTooltipNew-arrow{left:50%;transform:translate(-50%, -100%);top:1px}.jfTooltipNew.tooltipAttachBottom.tooltipAlignEnd{left:auto;right:0;transform:translateY(calc(100% + var(--tooltipDistance)))}html[dir=rtl] .jfTooltipNew.tooltipAttachBottom.tooltipAlignEnd{left:0;right:auto}.jfTooltipNew.tooltipAttachBottom.tooltipAlignEnd.isInContainer{transform:none;bottom:var(--tooltipDistance);right:var(--tooltipDistance)}.jfTooltipNew.tooltipAttachBottom.tooltipAlignEnd .jfTooltipNew-arrow{right:var(--tooltipArrowDistance);transform:translateY(-100%);top:1px}html[dir=rtl] .jfTooltipNew.tooltipAttachBottom.tooltipAlignEnd .jfTooltipNew-arrow{right:auto;left:var(--tooltipArrowDistance)}.jfTooltipNew.tooltipAttachLeft{left:0;top:50%;transform:translate(calc(-100% - var(--tooltipDistance)), -50%)}.jfTooltipNew.tooltipAttachLeft.tooltipAlignStart{top:0;transform:translateX(calc(-100% - var(--tooltipDistance)))}.jfTooltipNew.tooltipAttachLeft.tooltipAlignStart.isInContainer{transform:none;left:var(--tooltipDistance);top:var(--tooltipDistance)}.jfTooltipNew.tooltipAttachLeft.tooltipAlignStart .jfTooltipNew-arrow{top:var(--tooltipArrowDistance);right:1px;transform:translateX(100%) rotate(180deg)}.jfTooltipNew.tooltipAttachLeft.tooltipAlignCenter.isInContainer{transform:translateY(-50%);left:var(--tooltipDistance)}.jfTooltipNew.tooltipAttachLeft.tooltipAlignCenter .jfTooltipNew-arrow{top:50%;right:1px;transform:translate(100%, -50%) rotate(180deg)}.jfTooltipNew.tooltipAttachLeft.tooltipAlignEnd{top:auto;bottom:0;transform:translateX(calc(-100% - var(--tooltipDistance)))}.jfTooltipNew.tooltipAttachLeft.tooltipAlignEnd.isInContainer{transform:none;left:var(--tooltipDistance);bottom:var(--tooltipDistance)}.jfTooltipNew.tooltipAttachLeft.tooltipAlignEnd .jfTooltipNew-arrow{bottom:var(--tooltipArrowDistance);right:1px;transform:translateX(100%) rotate(180deg)}.jfTooltipNew.tooltipAttachRight{right:0;top:50%;transform:translate(calc(100% + var(--tooltipDistance)), -50%)}.jfTooltipNew.tooltipAttachRight.tooltipAlignStart{top:0;transform:translateX(calc(100% + var(--tooltipDistance)))}.jfTooltipNew.tooltipAttachRight.tooltipAlignStart.isInContainer{transform:none;right:var(--tooltipDistance);top:var(--tooltipDistance)}.jfTooltipNew.tooltipAttachRight.tooltipAlignStart .jfTooltipNew-arrow{top:var(--tooltipArrowDistance);left:1px;transform:translateX(-100%)}.jfTooltipNew.tooltipAttachRight.tooltipAlignCenter.isInContainer{transform:translateY(-50%);right:var(--tooltipDistance)}.jfTooltipNew.tooltipAttachRight.tooltipAlignCenter .jfTooltipNew-arrow{top:50%;left:1px;transform:translate(-100%, -50%)}.jfTooltipNew.tooltipAttachRight.tooltipAlignEnd{top:auto;bottom:0;transform:translateX(calc(100% + var(--tooltipDistance)))}.jfTooltipNew.tooltipAttachRight.tooltipAlignEnd.isInContainer{transform:none;right:var(--tooltipDistance);bottom:var(--tooltipDistance)}.jfTooltipNew.tooltipAttachRight.tooltipAlignEnd .jfTooltipNew-arrow{bottom:var(--tooltipArrowDistance);left:1px;transform:translateX(-100%)}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\nmodule.exports = function (url, options) {\n if (!options) {\n options = {};\n }\n if (!url) {\n return url;\n }\n url = String(url.__esModule ? url.default : url);\n\n // If url is already wrapped in quotes, remove them\n if (/^['\"].*['\"]$/.test(url)) {\n url = url.slice(1, -1);\n }\n if (options.hash) {\n url += options.hash;\n }\n\n // Should url be wrapped?\n // See https://drafts.csswg.org/css-values-3/#urls\n if (/[\"'() \\t\\n]|(%20)/.test(url) || options.needQuotes) {\n return \"\\\"\".concat(url.replace(/\"/g, '\\\\\"').replace(/\\n/g, \"\\\\n\"), \"\\\"\");\n }\n return url;\n};","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","'use strict';\n\nvar $defineProperty = require('es-define-property');\n\nvar $SyntaxError = require('es-errors/syntax');\nvar $TypeError = require('es-errors/type');\n\nvar gopd = require('gopd');\n\n/** @type {import('.')} */\nmodule.exports = function defineDataProperty(\n\tobj,\n\tproperty,\n\tvalue\n) {\n\tif (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {\n\t\tthrow new $TypeError('`obj` must be an object or a function`');\n\t}\n\tif (typeof property !== 'string' && typeof property !== 'symbol') {\n\t\tthrow new $TypeError('`property` must be a string or a symbol`');\n\t}\n\tif (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {\n\t\tthrow new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {\n\t\tthrow new $TypeError('`nonWritable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {\n\t\tthrow new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 6 && typeof arguments[6] !== 'boolean') {\n\t\tthrow new $TypeError('`loose`, if provided, must be a boolean');\n\t}\n\n\tvar nonEnumerable = arguments.length > 3 ? arguments[3] : null;\n\tvar nonWritable = arguments.length > 4 ? arguments[4] : null;\n\tvar nonConfigurable = arguments.length > 5 ? arguments[5] : null;\n\tvar loose = arguments.length > 6 ? arguments[6] : false;\n\n\t/* @type {false | TypedPropertyDescriptor} */\n\tvar desc = !!gopd && gopd(obj, property);\n\n\tif ($defineProperty) {\n\t\t$defineProperty(obj, property, {\n\t\t\tconfigurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,\n\t\t\tenumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,\n\t\t\tvalue: value,\n\t\t\twritable: nonWritable === null && desc ? desc.writable : !nonWritable\n\t\t});\n\t} else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {\n\t\t// must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable\n\t\tobj[property] = value; // eslint-disable-line no-param-reassign\n\t} else {\n\t\tthrow new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');\n\t}\n};\n","'use strict';\n\nvar keys = require('object-keys');\nvar hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';\n\nvar toStr = Object.prototype.toString;\nvar concat = Array.prototype.concat;\nvar defineDataProperty = require('define-data-property');\n\nvar isFunction = function (fn) {\n\treturn typeof fn === 'function' && toStr.call(fn) === '[object Function]';\n};\n\nvar supportsDescriptors = require('has-property-descriptors')();\n\nvar defineProperty = function (object, name, value, predicate) {\n\tif (name in object) {\n\t\tif (predicate === true) {\n\t\t\tif (object[name] === value) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t} else if (!isFunction(predicate) || !predicate()) {\n\t\t\treturn;\n\t\t}\n\t}\n\n\tif (supportsDescriptors) {\n\t\tdefineDataProperty(object, name, value, true);\n\t} else {\n\t\tdefineDataProperty(object, name, value);\n\t}\n};\n\nvar defineProperties = function (object, map) {\n\tvar predicates = arguments.length > 2 ? arguments[2] : {};\n\tvar props = keys(map);\n\tif (hasSymbols) {\n\t\tprops = concat.call(props, Object.getOwnPropertySymbols(map));\n\t}\n\tfor (var i = 0; i < props.length; i += 1) {\n\t\tdefineProperty(object, props[i], map[props[i]], predicates[props[i]]);\n\t}\n};\n\ndefineProperties.supportsDescriptors = !!supportsDescriptors;\n\nmodule.exports = defineProperties;\n","(function(global) {\n 'use strict';\n\n var util = newUtil();\n var inliner = newInliner();\n var fontFaces = newFontFaces();\n var images = newImages();\n\n // Default impl options\n var defaultOptions = {\n // Default is to fail on error, no placeholder\n imagePlaceholder: undefined,\n // Default cache bust is false, it will use the cache\n cacheBust: false,\n // Use (existing) authentication credentials for external URIs (CORS requests)\n useCredentials: false\n };\n\n var domtoimage = {\n toSvg: toSvg,\n toPng: toPng,\n toJpeg: toJpeg,\n toBlob: toBlob,\n toPixelData: toPixelData,\n toCanvas: toCanvas,\n impl: {\n fontFaces: fontFaces,\n images: images,\n util: util,\n inliner: inliner,\n options: {}\n }\n };\n\n if (typeof exports === \"object\" && typeof module === \"object\")\n module.exports = domtoimage;\n else\n global.domtoimage = domtoimage;\n\n /**\n * @param {Node} node - The DOM Node object to render\n * @param {Object} options - Rendering options\n * @param {Function} options.filter - Should return true if passed node should be included in the output\n * (excluding node means excluding it's children as well). Not called on the root node.\n * @param {String} options.bgcolor - color for the background, any valid CSS color value.\n * @param {Number} options.width - width to be applied to node before rendering.\n * @param {Number} options.height - height to be applied to node before rendering.\n * @param {Object} options.style - an object whose properties to be copied to node's style before rendering.\n * @param {Number} options.quality - a Number between 0 and 1 indicating image quality (applicable to JPEG only),\n defaults to 1.0.\n * @param {Number} options.scale - a Number multiplier to scale up the canvas before rendering to reduce fuzzy images, defaults to 1.0.\n * @param {String} options.imagePlaceholder - dataURL to use as a placeholder for failed images, default behaviour is to fail fast on images we can't fetch\n * @param {Boolean} options.cacheBust - set to true to cache bust by appending the time to the request url\n * @return {Promise} - A promise that is fulfilled with a SVG image data URL\n * */\n function toSvg(node, options) {\n options = options || {};\n copyOptions(options);\n return Promise.resolve(node)\n .then(function(node) {\n return cloneNode(node, options.filter, true);\n })\n .then(embedFonts)\n .then(inlineImages)\n .then(applyOptions)\n .then(function(clone) {\n return makeSvgDataUri(clone,\n options.width || util.width(node),\n options.height || util.height(node)\n );\n });\n\n function applyOptions(clone) {\n if (options.bgcolor) clone.style.backgroundColor = options.bgcolor;\n if (options.width) clone.style.width = options.width + 'px';\n if (options.height) clone.style.height = options.height + 'px';\n\n if (options.style)\n Object.keys(options.style).forEach(function(property) {\n clone.style[property] = options.style[property];\n });\n\n return clone;\n }\n }\n\n /**\n * @param {Node} node - The DOM Node object to render\n * @param {Object} options - Rendering options, @see {@link toSvg}\n * @return {Promise} - A promise that is fulfilled with a Uint8Array containing RGBA pixel data.\n * */\n function toPixelData(node, options) {\n return draw(node, options || {})\n .then(function(canvas) {\n return canvas.getContext('2d').getImageData(\n 0,\n 0,\n util.width(node),\n util.height(node)\n ).data;\n });\n }\n\n /**\n * @param {Node} node - The DOM Node object to render\n * @param {Object} options - Rendering options, @see {@link toSvg}\n * @return {Promise} - A promise that is fulfilled with a PNG image data URL\n * */\n function toPng(node, options) {\n return draw(node, options || {})\n .then(function(canvas) {\n return canvas.toDataURL();\n });\n }\n\n /**\n * @param {Node} node - The DOM Node object to render\n * @param {Object} options - Rendering options, @see {@link toSvg}\n * @return {Promise} - A promise that is fulfilled with a JPEG image data URL\n * */\n function toJpeg(node, options) {\n options = options || {};\n return draw(node, options)\n .then(function(canvas) {\n return canvas.toDataURL('image/jpeg', options.quality || 1.0);\n });\n }\n\n /**\n * @param {Node} node - The DOM Node object to render\n * @param {Object} options - Rendering options, @see {@link toSvg}\n * @return {Promise} - A promise that is fulfilled with a PNG image blob\n * */\n function toBlob(node, options) {\n return draw(node, options || {})\n .then(util.canvasToBlob);\n }\n\n /**\n * @param {Node} node - The DOM Node object to render\n * @param {Object} options - Rendering options, @see {@link toSvg}\n * @return {Promise} - A promise that is fulfilled with a canvas object\n * */\n function toCanvas(node, options) {\n return draw(node, options || {});\n }\n\n function copyOptions(options) {\n // Copy options to impl options for use in impl\n if (typeof(options.imagePlaceholder) === 'undefined') {\n domtoimage.impl.options.imagePlaceholder = defaultOptions.imagePlaceholder;\n } else {\n domtoimage.impl.options.imagePlaceholder = options.imagePlaceholder;\n }\n\n if (typeof(options.cacheBust) === 'undefined') {\n domtoimage.impl.options.cacheBust = defaultOptions.cacheBust;\n } else {\n domtoimage.impl.options.cacheBust = options.cacheBust;\n }\n\n if(typeof(options.useCredentials) === 'undefined') {\n domtoimage.impl.options.useCredentials = defaultOptions.useCredentials;\n } else {\n domtoimage.impl.options.useCredentials = options.useCredentials;\n }\n }\n\n function draw(domNode, options) {\n return toSvg(domNode, options)\n .then(util.makeImage)\n .then(util.delay(100))\n .then(function(image) {\n var scale = typeof(options.scale) !== 'number' ? 1 : options.scale;\n var canvas = newCanvas(domNode, scale);\n var ctx = canvas.getContext('2d');\n if (image) {\n ctx.scale(scale, scale);\n ctx.drawImage(image, 0, 0);\n }\n return canvas;\n });\n\n function newCanvas(domNode, scale) {\n var canvas = document.createElement('canvas');\n canvas.width = (options.width || util.width(domNode)) * scale;\n canvas.height = (options.height || util.height(domNode)) * scale;\n\n if (options.bgcolor) {\n var ctx = canvas.getContext('2d');\n ctx.fillStyle = options.bgcolor;\n ctx.fillRect(0, 0, canvas.width, canvas.height);\n }\n\n return canvas;\n }\n }\n\n function cloneNode(node, filter, root) {\n if (!root && filter && !filter(node)) return Promise.resolve();\n\n return Promise.resolve(node)\n .then(makeNodeCopy)\n .then(function(clone) {\n return cloneChildren(node, clone, filter);\n })\n .then(function(clone) {\n return processClone(node, clone);\n });\n\n function makeNodeCopy(node) {\n if (node instanceof HTMLCanvasElement) return util.makeImage(node.toDataURL());\n return node.cloneNode(false);\n }\n\n function cloneChildren(original, clone, filter) {\n var children = original.childNodes;\n if (children.length === 0) return Promise.resolve(clone);\n\n return cloneChildrenInOrder(clone, util.asArray(children), filter)\n .then(function() {\n return clone;\n });\n\n function cloneChildrenInOrder(parent, children, filter) {\n var done = Promise.resolve();\n children.forEach(function(child) {\n done = done\n .then(function() {\n return cloneNode(child, filter);\n })\n .then(function(childClone) {\n if (childClone) parent.appendChild(childClone);\n });\n });\n return done;\n }\n }\n\n function processClone(original, clone) {\n if (!(clone instanceof Element)) return clone;\n\n return Promise.resolve()\n .then(cloneStyle)\n .then(clonePseudoElements)\n .then(copyUserInput)\n .then(fixSvg)\n .then(function() {\n return clone;\n });\n\n function cloneStyle() {\n copyStyle(window.getComputedStyle(original), clone.style);\n\n function copyStyle(source, target) {\n if (source.cssText) {\n target.cssText = source.cssText;\n target.font = source.font; // here, we re-assign the font prop.\n } else copyProperties(source, target);\n\n function copyProperties(source, target) {\n util.asArray(source).forEach(function(name) {\n target.setProperty(\n name,\n source.getPropertyValue(name),\n source.getPropertyPriority(name)\n );\n });\n }\n }\n }\n\n function clonePseudoElements() {\n [':before', ':after'].forEach(function(element) {\n clonePseudoElement(element);\n });\n\n function clonePseudoElement(element) {\n var style = window.getComputedStyle(original, element);\n var content = style.getPropertyValue('content');\n\n if (content === '' || content === 'none') return;\n\n var className = util.uid();\n var currentClass = clone.getAttribute('class');\n if (currentClass) {\n clone.setAttribute('class', currentClass + ' ' + className);\n }\n\n var styleElement = document.createElement('style');\n styleElement.appendChild(formatPseudoElementStyle(className, element, style));\n clone.appendChild(styleElement);\n\n function formatPseudoElementStyle(className, element, style) {\n var selector = '.' + className + ':' + element;\n var cssText = style.cssText ? formatCssText(style) : formatCssProperties(style);\n return document.createTextNode(selector + '{' + cssText + '}');\n\n function formatCssText(style) {\n var content = style.getPropertyValue('content');\n return style.cssText + ' content: ' + content + ';';\n }\n\n function formatCssProperties(style) {\n\n return util.asArray(style)\n .map(formatProperty)\n .join('; ') + ';';\n\n function formatProperty(name) {\n return name + ': ' +\n style.getPropertyValue(name) +\n (style.getPropertyPriority(name) ? ' !important' : '');\n }\n }\n }\n }\n }\n\n function copyUserInput() {\n if (original instanceof HTMLTextAreaElement) clone.innerHTML = original.value;\n if (original instanceof HTMLInputElement) clone.setAttribute(\"value\", original.value);\n }\n\n function fixSvg() {\n if (!(clone instanceof SVGElement)) return;\n clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');\n\n if (!(clone instanceof SVGRectElement)) return;\n ['width', 'height'].forEach(function(attribute) {\n var value = clone.getAttribute(attribute);\n if (!value) return;\n\n clone.style.setProperty(attribute, value);\n });\n }\n }\n }\n\n function embedFonts(node) {\n return fontFaces.resolveAll()\n .then(function(cssText) {\n var styleNode = document.createElement('style');\n node.appendChild(styleNode);\n styleNode.appendChild(document.createTextNode(cssText));\n return node;\n });\n }\n\n function inlineImages(node) {\n return images.inlineAll(node)\n .then(function() {\n return node;\n });\n }\n\n function makeSvgDataUri(node, width, height) {\n return Promise.resolve(node)\n .then(function(node) {\n node.setAttribute('xmlns', 'http://www.w3.org/1999/xhtml');\n return new XMLSerializer().serializeToString(node);\n })\n .then(util.escapeXhtml)\n .then(function(xhtml) {\n return '' + xhtml + '';\n })\n .then(function(foreignObject) {\n return '' +\n foreignObject + '';\n })\n .then(function(svg) {\n return 'data:image/svg+xml;charset=utf-8,' + svg;\n });\n }\n\n function newUtil() {\n return {\n escape: escape,\n parseExtension: parseExtension,\n mimeType: mimeType,\n dataAsUrl: dataAsUrl,\n isDataUrl: isDataUrl,\n canvasToBlob: canvasToBlob,\n resolveUrl: resolveUrl,\n getAndEncode: getAndEncode,\n uid: uid(),\n delay: delay,\n asArray: asArray,\n escapeXhtml: escapeXhtml,\n makeImage: makeImage,\n width: width,\n height: height\n };\n\n function mimes() {\n /*\n * Only WOFF and EOT mime types for fonts are 'real'\n * see http://www.iana.org/assignments/media-types/media-types.xhtml\n */\n var WOFF = 'application/font-woff';\n var JPEG = 'image/jpeg';\n\n return {\n 'woff': WOFF,\n 'woff2': WOFF,\n 'ttf': 'application/font-truetype',\n 'eot': 'application/vnd.ms-fontobject',\n 'png': 'image/png',\n 'jpg': JPEG,\n 'jpeg': JPEG,\n 'gif': 'image/gif',\n 'tiff': 'image/tiff',\n 'svg': 'image/svg+xml'\n };\n }\n\n function parseExtension(url) {\n var match = /\\.([^\\.\\/]*?)(\\?|$)/g.exec(url);\n if (match) return match[1];\n else return '';\n }\n\n function mimeType(url) {\n var extension = parseExtension(url).toLowerCase();\n return mimes()[extension] || '';\n }\n\n function isDataUrl(url) {\n return url.search(/^(data:)/) !== -1;\n }\n\n function toBlob(canvas) {\n return new Promise(function(resolve) {\n var binaryString = window.atob(canvas.toDataURL().split(',')[1]);\n var length = binaryString.length;\n var binaryArray = new Uint8Array(length);\n\n for (var i = 0; i < length; i++)\n binaryArray[i] = binaryString.charCodeAt(i);\n\n resolve(new Blob([binaryArray], {\n type: 'image/png'\n }));\n });\n }\n\n function canvasToBlob(canvas) {\n if (canvas.toBlob)\n return new Promise(function(resolve) {\n canvas.toBlob(resolve);\n });\n\n return toBlob(canvas);\n }\n\n function resolveUrl(url, baseUrl) {\n var doc = document.implementation.createHTMLDocument();\n var base = doc.createElement('base');\n doc.head.appendChild(base);\n var a = doc.createElement('a');\n doc.body.appendChild(a);\n base.href = baseUrl;\n a.href = url;\n return a.href;\n }\n\n function uid() {\n var index = 0;\n\n return function() {\n return 'u' + fourRandomChars() + index++;\n\n function fourRandomChars() {\n /* see http://stackoverflow.com/a/6248722/2519373 */\n return ('0000' + (Math.random() * Math.pow(36, 4) << 0).toString(36)).slice(-4);\n }\n };\n }\n\n function makeImage(uri) {\n if (uri === 'data:,') return Promise.resolve();\n return new Promise(function(resolve, reject) {\n var image = new Image();\n if(domtoimage.impl.options.useCredentials) {\n image.crossOrigin = 'use-credentials';\n }\n image.onload = function() {\n resolve(image);\n };\n image.onerror = reject;\n image.src = uri;\n });\n }\n\n function getAndEncode(url) {\n var TIMEOUT = 30000;\n if (domtoimage.impl.options.cacheBust) {\n // Cache bypass so we dont have CORS issues with cached images\n // Source: https://developer.mozilla.org/en/docs/Web/API/XMLHttpRequest/Using_XMLHttpRequest#Bypassing_the_cache\n url += ((/\\?/).test(url) ? \"&\" : \"?\") + (new Date()).getTime();\n }\n\n return new Promise(function(resolve) {\n var request = new XMLHttpRequest();\n\n request.onreadystatechange = done;\n request.ontimeout = timeout;\n request.responseType = 'blob';\n request.timeout = TIMEOUT;\n if(domtoimage.impl.options.useCredentials) {\n request.withCredentials = true;\n }\n request.open('GET', url, true);\n request.send();\n\n var placeholder;\n if (domtoimage.impl.options.imagePlaceholder) {\n var split = domtoimage.impl.options.imagePlaceholder.split(/,/);\n if (split && split[1]) {\n placeholder = split[1];\n }\n }\n\n function done() {\n if (request.readyState !== 4) return;\n\n if (request.status !== 200) {\n if (placeholder) {\n resolve(placeholder);\n } else {\n fail('cannot fetch resource: ' + url + ', status: ' + request.status);\n }\n\n return;\n }\n\n var encoder = new FileReader();\n encoder.onloadend = function() {\n var content = encoder.result.split(/,/)[1];\n resolve(content);\n };\n encoder.readAsDataURL(request.response);\n }\n\n function timeout() {\n if (placeholder) {\n resolve(placeholder);\n } else {\n fail('timeout of ' + TIMEOUT + 'ms occured while fetching resource: ' + url);\n }\n }\n\n function fail(message) {\n console.error(message);\n resolve('');\n }\n });\n }\n\n function dataAsUrl(content, type) {\n return 'data:' + type + ';base64,' + content;\n }\n\n function escape(string) {\n return string.replace(/([.*+?^${}()|\\[\\]\\/\\\\])/g, '\\\\$1');\n }\n\n function delay(ms) {\n return function(arg) {\n return new Promise(function(resolve) {\n setTimeout(function() {\n resolve(arg);\n }, ms);\n });\n };\n }\n\n function asArray(arrayLike) {\n var array = [];\n var length = arrayLike.length;\n for (var i = 0; i < length; i++) array.push(arrayLike[i]);\n return array;\n }\n\n function escapeXhtml(string) {\n return string.replace(/#/g, '%23').replace(/\\n/g, '%0A');\n }\n\n function width(node) {\n var leftBorder = px(node, 'border-left-width');\n var rightBorder = px(node, 'border-right-width');\n return node.scrollWidth + leftBorder + rightBorder;\n }\n\n function height(node) {\n var topBorder = px(node, 'border-top-width');\n var bottomBorder = px(node, 'border-bottom-width');\n return node.scrollHeight + topBorder + bottomBorder;\n }\n\n function px(node, styleProperty) {\n var value = window.getComputedStyle(node).getPropertyValue(styleProperty);\n return parseFloat(value.replace('px', ''));\n }\n }\n\n function newInliner() {\n var URL_REGEX = /url\\(['\"]?([^'\"]+?)['\"]?\\)/g;\n\n return {\n inlineAll: inlineAll,\n shouldProcess: shouldProcess,\n impl: {\n readUrls: readUrls,\n inline: inline\n }\n };\n\n function shouldProcess(string) {\n return string.search(URL_REGEX) !== -1;\n }\n\n function readUrls(string) {\n var result = [];\n var match;\n while ((match = URL_REGEX.exec(string)) !== null) {\n result.push(match[1]);\n }\n return result.filter(function(url) {\n return !util.isDataUrl(url);\n });\n }\n\n function inline(string, url, baseUrl, get) {\n return Promise.resolve(url)\n .then(function(url) {\n return baseUrl ? util.resolveUrl(url, baseUrl) : url;\n })\n .then(get || util.getAndEncode)\n .then(function(data) {\n return util.dataAsUrl(data, util.mimeType(url));\n })\n .then(function(dataUrl) {\n return string.replace(urlAsRegex(url), '$1' + dataUrl + '$3');\n });\n\n function urlAsRegex(url) {\n return new RegExp('(url\\\\([\\'\"]?)(' + util.escape(url) + ')([\\'\"]?\\\\))', 'g');\n }\n }\n\n function inlineAll(string, baseUrl, get) {\n if (nothingToInline()) return Promise.resolve(string);\n\n return Promise.resolve(string)\n .then(readUrls)\n .then(function(urls) {\n var done = Promise.resolve(string);\n urls.forEach(function(url) {\n done = done.then(function(string) {\n return inline(string, url, baseUrl, get);\n });\n });\n return done;\n });\n\n function nothingToInline() {\n return !shouldProcess(string);\n }\n }\n }\n\n function newFontFaces() {\n return {\n resolveAll: resolveAll,\n impl: {\n readAll: readAll\n }\n };\n\n function resolveAll() {\n return readAll(document)\n .then(function(webFonts) {\n return Promise.all(\n webFonts.map(function(webFont) {\n return webFont.resolve();\n })\n );\n })\n .then(function(cssStrings) {\n return cssStrings.join('\\n');\n });\n }\n\n function readAll() {\n return Promise.resolve(util.asArray(document.styleSheets))\n .then(getCssRules)\n .then(selectWebFontRules)\n .then(function(rules) {\n return rules.map(newWebFont);\n });\n\n function selectWebFontRules(cssRules) {\n return cssRules\n .filter(function(rule) {\n return rule.type === CSSRule.FONT_FACE_RULE;\n })\n .filter(function(rule) {\n return inliner.shouldProcess(rule.style.getPropertyValue('src'));\n });\n }\n\n function getCssRules(styleSheets) {\n var cssRules = [];\n styleSheets.forEach(function(sheet) {\n if (sheet.hasOwnProperty(\"cssRules\")) {\n try {\n util.asArray(sheet.cssRules || []).forEach(cssRules.push.bind(cssRules));\n } catch (e) {\n console.log('Error while reading CSS rules from ' + sheet.href, e.toString());\n }\n }\n });\n return cssRules;\n }\n\n function newWebFont(webFontRule) {\n return {\n resolve: function resolve() {\n var baseUrl = (webFontRule.parentStyleSheet || {}).href;\n return inliner.inlineAll(webFontRule.cssText, baseUrl);\n },\n src: function() {\n return webFontRule.style.getPropertyValue('src');\n }\n };\n }\n }\n }\n\n function newImages() {\n return {\n inlineAll: inlineAll,\n impl: {\n newImage: newImage\n }\n };\n\n function newImage(element) {\n return {\n inline: inline\n };\n\n function inline(get) {\n if (util.isDataUrl(element.src)) return Promise.resolve();\n\n return Promise.resolve(element.src)\n .then(get || util.getAndEncode)\n .then(function(data) {\n return util.dataAsUrl(data, util.mimeType(element.src));\n })\n .then(function(dataUrl) {\n return new Promise(function(resolve, reject) {\n element.onload = resolve;\n // for any image with invalid src(such as ), just ignore it\n element.onerror = resolve;\n element.src = dataUrl;\n });\n });\n }\n }\n\n function inlineAll(node) {\n if (!(node instanceof Element)) return Promise.resolve(node);\n\n return inlineBackground(node)\n .then(function() {\n if (node instanceof HTMLImageElement)\n return newImage(node).inline();\n else\n return Promise.all(\n util.asArray(node.childNodes).map(function(child) {\n return inlineAll(child);\n })\n );\n });\n\n function inlineBackground(node) {\n var background = node.style.getPropertyValue('background');\n\n if (!background) return Promise.resolve(node);\n\n return inliner.inlineAll(background)\n .then(function(inlined) {\n node.style.setProperty(\n 'background',\n inlined,\n node.style.getPropertyPriority('background')\n );\n })\n .then(function() {\n return node;\n });\n }\n }\n }\n})(this);\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\n/** @type {import('.')} */\nvar $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = false;\n\t}\n}\n\nmodule.exports = $defineProperty;\n","'use strict';\n\n/** @type {import('./eval')} */\nmodule.exports = EvalError;\n","'use strict';\n\n/** @type {import('.')} */\nmodule.exports = Error;\n","'use strict';\n\n/** @type {import('./range')} */\nmodule.exports = RangeError;\n","'use strict';\n\n/** @type {import('./ref')} */\nmodule.exports = ReferenceError;\n","'use strict';\n\n/** @type {import('./syntax')} */\nmodule.exports = SyntaxError;\n","'use strict';\n\n/** @type {import('./type')} */\nmodule.exports = TypeError;\n","'use strict';\n\n/** @type {import('./uri')} */\nmodule.exports = URIError;\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\n/** @type {import('./RequireObjectCoercible')} */\nmodule.exports = function RequireObjectCoercible(value) {\n\tif (value == null) {\n\t\tthrow new $TypeError((arguments.length > 0 && arguments[1]) || ('Cannot call method on ' + value));\n\t}\n\treturn value;\n};\n","/*!\n Copyright (c) 2015 Jed Watson.\n Based on code that is Copyright 2013-2015, Facebook, Inc.\n All rights reserved.\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar canUseDOM = !!(\n\t\ttypeof window !== 'undefined' &&\n\t\twindow.document &&\n\t\twindow.document.createElement\n\t);\n\n\tvar ExecutionEnvironment = {\n\n\t\tcanUseDOM: canUseDOM,\n\n\t\tcanUseWorkers: typeof Worker !== 'undefined',\n\n\t\tcanUseEventListeners:\n\t\t\tcanUseDOM && !!(window.addEventListener || window.attachEvent),\n\n\t\tcanUseViewport: canUseDOM && !!window.screen\n\n\t};\n\n\tif (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\tdefine(function () {\n\t\t\treturn ExecutionEnvironment;\n\t\t});\n\t} else if (typeof module !== 'undefined' && module.exports) {\n\t\tmodule.exports = ExecutionEnvironment;\n\t} else {\n\t\twindow.ExecutionEnvironment = ExecutionEnvironment;\n\t}\n\n}());\n","'use strict';\n\nvar isCallable = require('is-callable');\n\nvar toStr = Object.prototype.toString;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar forEachArray = function forEachArray(array, iterator, receiver) {\n for (var i = 0, len = array.length; i < len; i++) {\n if (hasOwnProperty.call(array, i)) {\n if (receiver == null) {\n iterator(array[i], i, array);\n } else {\n iterator.call(receiver, array[i], i, array);\n }\n }\n }\n};\n\nvar forEachString = function forEachString(string, iterator, receiver) {\n for (var i = 0, len = string.length; i < len; i++) {\n // no such thing as a sparse string.\n if (receiver == null) {\n iterator(string.charAt(i), i, string);\n } else {\n iterator.call(receiver, string.charAt(i), i, string);\n }\n }\n};\n\nvar forEachObject = function forEachObject(object, iterator, receiver) {\n for (var k in object) {\n if (hasOwnProperty.call(object, k)) {\n if (receiver == null) {\n iterator(object[k], k, object);\n } else {\n iterator.call(receiver, object[k], k, object);\n }\n }\n }\n};\n\nvar forEach = function forEach(list, iterator, thisArg) {\n if (!isCallable(iterator)) {\n throw new TypeError('iterator must be a function');\n }\n\n var receiver;\n if (arguments.length >= 3) {\n receiver = thisArg;\n }\n\n if (toStr.call(list) === '[object Array]') {\n forEachArray(list, iterator, receiver);\n } else if (typeof list === 'string') {\n forEachString(list, iterator, receiver);\n } else {\n forEachObject(list, iterator, receiver);\n }\n};\n\nmodule.exports = forEach;\n","'use strict';\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar toStr = Object.prototype.toString;\nvar max = Math.max;\nvar funcType = '[object Function]';\n\nvar concatty = function concatty(a, b) {\n var arr = [];\n\n for (var i = 0; i < a.length; i += 1) {\n arr[i] = a[i];\n }\n for (var j = 0; j < b.length; j += 1) {\n arr[j + a.length] = b[j];\n }\n\n return arr;\n};\n\nvar slicy = function slicy(arrLike, offset) {\n var arr = [];\n for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {\n arr[j] = arrLike[i];\n }\n return arr;\n};\n\nvar joiny = function (arr, joiner) {\n var str = '';\n for (var i = 0; i < arr.length; i += 1) {\n str += arr[i];\n if (i + 1 < arr.length) {\n str += joiner;\n }\n }\n return str;\n};\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.apply(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slicy(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n concatty(args, arguments)\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n }\n return target.apply(\n that,\n concatty(args, arguments)\n );\n\n };\n\n var boundLength = max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs[i] = '$' + i;\n }\n\n bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = Function.prototype.bind || implementation;\n","'use strict';\n\nvar undefined;\n\nvar $Error = require('es-errors');\nvar $EvalError = require('es-errors/eval');\nvar $RangeError = require('es-errors/range');\nvar $ReferenceError = require('es-errors/ref');\nvar $SyntaxError = require('es-errors/syntax');\nvar $TypeError = require('es-errors/type');\nvar $URIError = require('es-errors/uri');\n\nvar $Function = Function;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = Object.getOwnPropertyDescriptor;\nif ($gOPD) {\n\ttry {\n\t\t$gOPD({}, '');\n\t} catch (e) {\n\t\t$gOPD = null; // this is IE 8, which has a broken gOPD\n\t}\n}\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = require('has-symbols')();\nvar hasProto = require('has-proto')();\n\nvar getProto = Object.getPrototypeOf || (\n\thasProto\n\t\t? function (x) { return x.__proto__; } // eslint-disable-line no-proto\n\t\t: null\n);\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t__proto__: null,\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,\n\t'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': $Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': $EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': Object,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': $RangeError,\n\t'%ReferenceError%': $ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': $URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet\n};\n\nif (getProto) {\n\ttry {\n\t\tnull.error; // eslint-disable-line no-unused-expressions\n\t} catch (e) {\n\t\t// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229\n\t\tvar errorProto = getProto(getProto(e));\n\t\tINTRINSICS['%Error.prototype%'] = errorProto;\n\t}\n}\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen && getProto) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t__proto__: null,\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = require('function-bind');\nvar hasOwn = require('hasown');\nvar $concat = bind.call(Function.call, Array.prototype.concat);\nvar $spliceApply = bind.call(Function.apply, Array.prototype.splice);\nvar $replace = bind.call(Function.call, String.prototype.replace);\nvar $strSlice = bind.call(Function.call, String.prototype.slice);\nvar $exec = bind.call(Function.call, RegExp.prototype.exec);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tif ($exec(/^%?[^%]*%?$/, name) === null) {\n\t\tthrow new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n\t}\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\n\nif ($gOPD) {\n\ttry {\n\t\t$gOPD([], 'length');\n\t} catch (e) {\n\t\t// IE 8 has a broken gOPD\n\t\t$gOPD = null;\n\t}\n}\n\nmodule.exports = $gOPD;\n","'use strict';\n\nvar $defineProperty = require('es-define-property');\n\nvar hasPropertyDescriptors = function hasPropertyDescriptors() {\n\treturn !!$defineProperty;\n};\n\nhasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {\n\t// node v0.6 has a bug where array lengths can be Set but not Defined\n\tif (!$defineProperty) {\n\t\treturn null;\n\t}\n\ttry {\n\t\treturn $defineProperty([], 'length', { value: 1 }).length !== 1;\n\t} catch (e) {\n\t\t// In Firefox 4-22, defining length on an array throws an exception.\n\t\treturn true;\n\t}\n};\n\nmodule.exports = hasPropertyDescriptors;\n","'use strict';\n\nvar test = {\n\t__proto__: null,\n\tfoo: {}\n};\n\nvar $Object = Object;\n\n/** @type {import('.')} */\nmodule.exports = function hasProto() {\n\t// @ts-expect-error: TS errors on an inherited property for some reason\n\treturn { __proto__: test }.foo === test.foo\n\t\t&& !(test instanceof $Object);\n};\n","'use strict';\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = require('./shams');\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n","'use strict';\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n","'use strict';\n\nvar hasOwnProperty = {}.hasOwnProperty;\nvar call = Function.prototype.call;\n\nmodule.exports = call.bind ? call.bind(hasOwnProperty) : function (O, P) {\n return call.call(hasOwnProperty, O, P);\n};\n","'use strict';\n\nvar call = Function.prototype.call;\nvar $hasOwn = Object.prototype.hasOwnProperty;\nvar bind = require('function-bind');\n\n/** @type {import('.')} */\nmodule.exports = bind.call(call, $hasOwn);\n","'use strict';\n\nvar reactIs = require('react-is');\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\n\nfunction getStatics(component) {\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n }\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","'use strict';\n\nvar fnToStr = Function.prototype.toString;\nvar reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;\nvar badArrayLike;\nvar isCallableMarker;\nif (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {\n\ttry {\n\t\tbadArrayLike = Object.defineProperty({}, 'length', {\n\t\t\tget: function () {\n\t\t\t\tthrow isCallableMarker;\n\t\t\t}\n\t\t});\n\t\tisCallableMarker = {};\n\t\t// eslint-disable-next-line no-throw-literal\n\t\treflectApply(function () { throw 42; }, null, badArrayLike);\n\t} catch (_) {\n\t\tif (_ !== isCallableMarker) {\n\t\t\treflectApply = null;\n\t\t}\n\t}\n} else {\n\treflectApply = null;\n}\n\nvar constructorRegex = /^\\s*class\\b/;\nvar isES6ClassFn = function isES6ClassFunction(value) {\n\ttry {\n\t\tvar fnStr = fnToStr.call(value);\n\t\treturn constructorRegex.test(fnStr);\n\t} catch (e) {\n\t\treturn false; // not a function\n\t}\n};\n\nvar tryFunctionObject = function tryFunctionToStr(value) {\n\ttry {\n\t\tif (isES6ClassFn(value)) { return false; }\n\t\tfnToStr.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar toStr = Object.prototype.toString;\nvar objectClass = '[object Object]';\nvar fnClass = '[object Function]';\nvar genClass = '[object GeneratorFunction]';\nvar ddaClass = '[object HTMLAllCollection]'; // IE 11\nvar ddaClass2 = '[object HTML document.all class]';\nvar ddaClass3 = '[object HTMLCollection]'; // IE 9-10\nvar hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; // better: use `has-tostringtag`\n\nvar isIE68 = !(0 in [,]); // eslint-disable-line no-sparse-arrays, comma-spacing\n\nvar isDDA = function isDocumentDotAll() { return false; };\nif (typeof document === 'object') {\n\t// Firefox 3 canonicalizes DDA to undefined when it's not accessed directly\n\tvar all = document.all;\n\tif (toStr.call(all) === toStr.call(document.all)) {\n\t\tisDDA = function isDocumentDotAll(value) {\n\t\t\t/* globals document: false */\n\t\t\t// in IE 6-8, typeof document.all is \"object\" and it's truthy\n\t\t\tif ((isIE68 || !value) && (typeof value === 'undefined' || typeof value === 'object')) {\n\t\t\t\ttry {\n\t\t\t\t\tvar str = toStr.call(value);\n\t\t\t\t\treturn (\n\t\t\t\t\t\tstr === ddaClass\n\t\t\t\t\t\t|| str === ddaClass2\n\t\t\t\t\t\t|| str === ddaClass3 // opera 12.16\n\t\t\t\t\t\t|| str === objectClass // IE 6-8\n\t\t\t\t\t) && value('') == null; // eslint-disable-line eqeqeq\n\t\t\t\t} catch (e) { /**/ }\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n\t}\n}\n\nmodule.exports = reflectApply\n\t? function isCallable(value) {\n\t\tif (isDDA(value)) { return true; }\n\t\tif (!value) { return false; }\n\t\tif (typeof value !== 'function' && typeof value !== 'object') { return false; }\n\t\ttry {\n\t\t\treflectApply(value, null, badArrayLike);\n\t\t} catch (e) {\n\t\t\tif (e !== isCallableMarker) { return false; }\n\t\t}\n\t\treturn !isES6ClassFn(value) && tryFunctionObject(value);\n\t}\n\t: function isCallable(value) {\n\t\tif (isDDA(value)) { return true; }\n\t\tif (!value) { return false; }\n\t\tif (typeof value !== 'function' && typeof value !== 'object') { return false; }\n\t\tif (hasToStringTag) { return tryFunctionObject(value); }\n\t\tif (isES6ClassFn(value)) { return false; }\n\t\tvar strClass = toStr.call(value);\n\t\tif (strClass !== fnClass && strClass !== genClass && !(/^\\[object HTML/).test(strClass)) { return false; }\n\t\treturn tryFunctionObject(value);\n\t};\n","(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n (global = global || self, global.keyboardJS = factory());\n}(this, (function () { 'use strict';\n\n function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n }\n\n function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n }\n\n function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n }\n\n function _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n }\n\n function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n }\n\n function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && Symbol.iterator in Object(iter)) return Array.from(iter);\n }\n\n function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n }\n\n function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n\n return arr2;\n }\n\n function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n\n var KeyCombo = /*#__PURE__*/function () {\n function KeyCombo(keyComboStr) {\n _classCallCheck(this, KeyCombo);\n\n this.sourceStr = keyComboStr;\n this.subCombos = KeyCombo.parseComboStr(keyComboStr);\n this.keyNames = this.subCombos.reduce(function (memo, nextSubCombo) {\n return memo.concat(nextSubCombo);\n }, []);\n }\n\n _createClass(KeyCombo, [{\n key: \"check\",\n value: function check(pressedKeyNames) {\n var startingKeyNameIndex = 0;\n\n for (var i = 0; i < this.subCombos.length; i += 1) {\n startingKeyNameIndex = this._checkSubCombo(this.subCombos[i], startingKeyNameIndex, pressedKeyNames);\n\n if (startingKeyNameIndex === -1) {\n return false;\n }\n }\n\n return true;\n }\n }, {\n key: \"isEqual\",\n value: function isEqual(otherKeyCombo) {\n if (!otherKeyCombo || typeof otherKeyCombo !== 'string' && _typeof(otherKeyCombo) !== 'object') {\n return false;\n }\n\n if (typeof otherKeyCombo === 'string') {\n otherKeyCombo = new KeyCombo(otherKeyCombo);\n }\n\n if (this.subCombos.length !== otherKeyCombo.subCombos.length) {\n return false;\n }\n\n for (var i = 0; i < this.subCombos.length; i += 1) {\n if (this.subCombos[i].length !== otherKeyCombo.subCombos[i].length) {\n return false;\n }\n }\n\n for (var _i = 0; _i < this.subCombos.length; _i += 1) {\n var subCombo = this.subCombos[_i];\n\n var otherSubCombo = otherKeyCombo.subCombos[_i].slice(0);\n\n for (var j = 0; j < subCombo.length; j += 1) {\n var keyName = subCombo[j];\n var index = otherSubCombo.indexOf(keyName);\n\n if (index > -1) {\n otherSubCombo.splice(index, 1);\n }\n }\n\n if (otherSubCombo.length !== 0) {\n return false;\n }\n }\n\n return true;\n }\n }, {\n key: \"_checkSubCombo\",\n value: function _checkSubCombo(subCombo, startingKeyNameIndex, pressedKeyNames) {\n subCombo = subCombo.slice(0);\n pressedKeyNames = pressedKeyNames.slice(startingKeyNameIndex);\n var endIndex = startingKeyNameIndex;\n\n for (var i = 0; i < subCombo.length; i += 1) {\n var keyName = subCombo[i];\n\n if (keyName[0] === '\\\\') {\n var escapedKeyName = keyName.slice(1);\n\n if (escapedKeyName === KeyCombo.comboDeliminator || escapedKeyName === KeyCombo.keyDeliminator) {\n keyName = escapedKeyName;\n }\n }\n\n var index = pressedKeyNames.indexOf(keyName);\n\n if (index > -1) {\n subCombo.splice(i, 1);\n i -= 1;\n\n if (index > endIndex) {\n endIndex = index;\n }\n\n if (subCombo.length === 0) {\n return endIndex;\n }\n }\n }\n\n return -1;\n }\n }]);\n\n return KeyCombo;\n }();\n KeyCombo.comboDeliminator = '>';\n KeyCombo.keyDeliminator = '+';\n\n KeyCombo.parseComboStr = function (keyComboStr) {\n var subComboStrs = KeyCombo._splitStr(keyComboStr, KeyCombo.comboDeliminator);\n\n var combo = [];\n\n for (var i = 0; i < subComboStrs.length; i += 1) {\n combo.push(KeyCombo._splitStr(subComboStrs[i], KeyCombo.keyDeliminator));\n }\n\n return combo;\n };\n\n KeyCombo._splitStr = function (str, deliminator) {\n var s = str;\n var d = deliminator;\n var c = '';\n var ca = [];\n\n for (var ci = 0; ci < s.length; ci += 1) {\n if (ci > 0 && s[ci] === d && s[ci - 1] !== '\\\\') {\n ca.push(c.trim());\n c = '';\n ci += 1;\n }\n\n c += s[ci];\n }\n\n if (c) {\n ca.push(c.trim());\n }\n\n return ca;\n };\n\n var Locale = /*#__PURE__*/function () {\n function Locale(name) {\n _classCallCheck(this, Locale);\n\n this.localeName = name;\n this.activeTargetKeys = [];\n this.pressedKeys = [];\n this._appliedMacros = [];\n this._keyMap = {};\n this._killKeyCodes = [];\n this._macros = [];\n }\n\n _createClass(Locale, [{\n key: \"bindKeyCode\",\n value: function bindKeyCode(keyCode, keyNames) {\n if (typeof keyNames === 'string') {\n keyNames = [keyNames];\n }\n\n this._keyMap[keyCode] = keyNames;\n }\n }, {\n key: \"bindMacro\",\n value: function bindMacro(keyComboStr, keyNames) {\n if (typeof keyNames === 'string') {\n keyNames = [keyNames];\n }\n\n var handler = null;\n\n if (typeof keyNames === 'function') {\n handler = keyNames;\n keyNames = null;\n }\n\n var macro = {\n keyCombo: new KeyCombo(keyComboStr),\n keyNames: keyNames,\n handler: handler\n };\n\n this._macros.push(macro);\n }\n }, {\n key: \"getKeyCodes\",\n value: function getKeyCodes(keyName) {\n var keyCodes = [];\n\n for (var keyCode in this._keyMap) {\n var index = this._keyMap[keyCode].indexOf(keyName);\n\n if (index > -1) {\n keyCodes.push(keyCode | 0);\n }\n }\n\n return keyCodes;\n }\n }, {\n key: \"getKeyNames\",\n value: function getKeyNames(keyCode) {\n return this._keyMap[keyCode] || [];\n }\n }, {\n key: \"setKillKey\",\n value: function setKillKey(keyCode) {\n if (typeof keyCode === 'string') {\n var keyCodes = this.getKeyCodes(keyCode);\n\n for (var i = 0; i < keyCodes.length; i += 1) {\n this.setKillKey(keyCodes[i]);\n }\n\n return;\n }\n\n this._killKeyCodes.push(keyCode);\n }\n }, {\n key: \"pressKey\",\n value: function pressKey(keyCode) {\n if (typeof keyCode === 'string') {\n var keyCodes = this.getKeyCodes(keyCode);\n\n for (var i = 0; i < keyCodes.length; i += 1) {\n this.pressKey(keyCodes[i]);\n }\n\n return;\n }\n\n this.activeTargetKeys.length = 0;\n var keyNames = this.getKeyNames(keyCode);\n\n for (var _i = 0; _i < keyNames.length; _i += 1) {\n this.activeTargetKeys.push(keyNames[_i]);\n\n if (this.pressedKeys.indexOf(keyNames[_i]) === -1) {\n this.pressedKeys.push(keyNames[_i]);\n }\n }\n\n this._applyMacros();\n }\n }, {\n key: \"releaseKey\",\n value: function releaseKey(keyCode) {\n if (typeof keyCode === 'string') {\n var keyCodes = this.getKeyCodes(keyCode);\n\n for (var i = 0; i < keyCodes.length; i += 1) {\n this.releaseKey(keyCodes[i]);\n }\n } else {\n var keyNames = this.getKeyNames(keyCode);\n\n var killKeyCodeIndex = this._killKeyCodes.indexOf(keyCode);\n\n if (killKeyCodeIndex !== -1) {\n this.pressedKeys.length = 0;\n } else {\n for (var _i2 = 0; _i2 < keyNames.length; _i2 += 1) {\n var index = this.pressedKeys.indexOf(keyNames[_i2]);\n\n if (index > -1) {\n this.pressedKeys.splice(index, 1);\n }\n }\n }\n\n this.activeTargetKeys.length = 0;\n\n this._clearMacros();\n }\n }\n }, {\n key: \"_applyMacros\",\n value: function _applyMacros() {\n var macros = this._macros.slice(0);\n\n for (var i = 0; i < macros.length; i += 1) {\n var macro = macros[i];\n\n if (macro.keyCombo.check(this.pressedKeys)) {\n if (macro.handler) {\n macro.keyNames = macro.handler(this.pressedKeys);\n }\n\n for (var j = 0; j < macro.keyNames.length; j += 1) {\n if (this.pressedKeys.indexOf(macro.keyNames[j]) === -1) {\n this.pressedKeys.push(macro.keyNames[j]);\n }\n }\n\n this._appliedMacros.push(macro);\n }\n }\n }\n }, {\n key: \"_clearMacros\",\n value: function _clearMacros() {\n for (var i = 0; i < this._appliedMacros.length; i += 1) {\n var macro = this._appliedMacros[i];\n\n if (!macro.keyCombo.check(this.pressedKeys)) {\n for (var j = 0; j < macro.keyNames.length; j += 1) {\n var index = this.pressedKeys.indexOf(macro.keyNames[j]);\n\n if (index > -1) {\n this.pressedKeys.splice(index, 1);\n }\n }\n\n if (macro.handler) {\n macro.keyNames = null;\n }\n\n this._appliedMacros.splice(i, 1);\n\n i -= 1;\n }\n }\n }\n }]);\n\n return Locale;\n }();\n\n var Keyboard = /*#__PURE__*/function () {\n function Keyboard(targetWindow, targetElement, targetPlatform, targetUserAgent) {\n _classCallCheck(this, Keyboard);\n\n this._locale = null;\n this._currentContext = '';\n this._contexts = {};\n this._listeners = [];\n this._appliedListeners = [];\n this._locales = {};\n this._targetElement = null;\n this._targetWindow = null;\n this._targetPlatform = '';\n this._targetUserAgent = '';\n this._isModernBrowser = false;\n this._targetKeyDownBinding = null;\n this._targetKeyUpBinding = null;\n this._targetResetBinding = null;\n this._paused = false;\n this._contexts.global = {\n listeners: this._listeners,\n targetWindow: targetWindow,\n targetElement: targetElement,\n targetPlatform: targetPlatform,\n targetUserAgent: targetUserAgent\n };\n this.setContext('global');\n }\n\n _createClass(Keyboard, [{\n key: \"setLocale\",\n value: function setLocale(localeName, localeBuilder) {\n var locale = null;\n\n if (typeof localeName === 'string') {\n if (localeBuilder) {\n locale = new Locale(localeName);\n localeBuilder(locale, this._targetPlatform, this._targetUserAgent);\n } else {\n locale = this._locales[localeName] || null;\n }\n } else {\n locale = localeName;\n localeName = locale._localeName;\n }\n\n this._locale = locale;\n this._locales[localeName] = locale;\n\n if (locale) {\n this._locale.pressedKeys = locale.pressedKeys;\n }\n\n return this;\n }\n }, {\n key: \"getLocale\",\n value: function getLocale(localName) {\n localName || (localName = this._locale.localeName);\n return this._locales[localName] || null;\n }\n }, {\n key: \"bind\",\n value: function bind(keyComboStr, pressHandler, releaseHandler, preventRepeatByDefault) {\n if (keyComboStr === null || typeof keyComboStr === 'function') {\n preventRepeatByDefault = releaseHandler;\n releaseHandler = pressHandler;\n pressHandler = keyComboStr;\n keyComboStr = null;\n }\n\n if (keyComboStr && _typeof(keyComboStr) === 'object' && typeof keyComboStr.length === 'number') {\n for (var i = 0; i < keyComboStr.length; i += 1) {\n this.bind(keyComboStr[i], pressHandler, releaseHandler);\n }\n\n return this;\n }\n\n this._listeners.push({\n keyCombo: keyComboStr ? new KeyCombo(keyComboStr) : null,\n pressHandler: pressHandler || null,\n releaseHandler: releaseHandler || null,\n preventRepeat: preventRepeatByDefault || false,\n preventRepeatByDefault: preventRepeatByDefault || false,\n executingHandler: false\n });\n\n return this;\n }\n }, {\n key: \"addListener\",\n value: function addListener(keyComboStr, pressHandler, releaseHandler, preventRepeatByDefault) {\n return this.bind(keyComboStr, pressHandler, releaseHandler, preventRepeatByDefault);\n }\n }, {\n key: \"on\",\n value: function on(keyComboStr, pressHandler, releaseHandler, preventRepeatByDefault) {\n return this.bind(keyComboStr, pressHandler, releaseHandler, preventRepeatByDefault);\n }\n }, {\n key: \"bindPress\",\n value: function bindPress(keyComboStr, pressHandler, preventRepeatByDefault) {\n return this.bind(keyComboStr, pressHandler, null, preventRepeatByDefault);\n }\n }, {\n key: \"bindRelease\",\n value: function bindRelease(keyComboStr, releaseHandler) {\n return this.bind(keyComboStr, null, releaseHandler, preventRepeatByDefault);\n }\n }, {\n key: \"unbind\",\n value: function unbind(keyComboStr, pressHandler, releaseHandler) {\n if (keyComboStr === null || typeof keyComboStr === 'function') {\n releaseHandler = pressHandler;\n pressHandler = keyComboStr;\n keyComboStr = null;\n }\n\n if (keyComboStr && _typeof(keyComboStr) === 'object' && typeof keyComboStr.length === 'number') {\n for (var i = 0; i < keyComboStr.length; i += 1) {\n this.unbind(keyComboStr[i], pressHandler, releaseHandler);\n }\n\n return this;\n }\n\n for (var _i = 0; _i < this._listeners.length; _i += 1) {\n var listener = this._listeners[_i];\n var comboMatches = !keyComboStr && !listener.keyCombo || listener.keyCombo && listener.keyCombo.isEqual(keyComboStr);\n var pressHandlerMatches = !pressHandler && !releaseHandler || !pressHandler && !listener.pressHandler || pressHandler === listener.pressHandler;\n var releaseHandlerMatches = !pressHandler && !releaseHandler || !releaseHandler && !listener.releaseHandler || releaseHandler === listener.releaseHandler;\n\n if (comboMatches && pressHandlerMatches && releaseHandlerMatches) {\n this._listeners.splice(_i, 1);\n\n _i -= 1;\n }\n }\n\n return this;\n }\n }, {\n key: \"removeListener\",\n value: function removeListener(keyComboStr, pressHandler, releaseHandler) {\n return this.unbind(keyComboStr, pressHandler, releaseHandler);\n }\n }, {\n key: \"off\",\n value: function off(keyComboStr, pressHandler, releaseHandler) {\n return this.unbind(keyComboStr, pressHandler, releaseHandler);\n }\n }, {\n key: \"setContext\",\n value: function setContext(contextName) {\n if (this._locale) {\n this.releaseAllKeys();\n }\n\n if (!this._contexts[contextName]) {\n var globalContext = this._contexts.global;\n this._contexts[contextName] = {\n listeners: [],\n targetWindow: globalContext.targetWindow,\n targetElement: globalContext.targetElement,\n targetPlatform: globalContext.targetPlatform,\n targetUserAgent: globalContext.targetUserAgent\n };\n }\n\n var context = this._contexts[contextName];\n this._currentContext = contextName;\n this._listeners = context.listeners;\n this.stop();\n this.watch(context.targetWindow, context.targetElement, context.targetPlatform, context.targetUserAgent);\n return this;\n }\n }, {\n key: \"getContext\",\n value: function getContext() {\n return this._currentContext;\n }\n }, {\n key: \"withContext\",\n value: function withContext(contextName, callback) {\n var previousContextName = this.getContext();\n this.setContext(contextName);\n callback();\n this.setContext(previousContextName);\n return this;\n }\n }, {\n key: \"watch\",\n value: function watch(targetWindow, targetElement, targetPlatform, targetUserAgent) {\n var _this = this;\n\n this.stop();\n var win = typeof globalThis !== 'undefined' ? globalThis : typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : {};\n\n if (!targetWindow) {\n if (!win.addEventListener && !win.attachEvent) {\n throw new Error('Cannot find window functions addEventListener or attachEvent.');\n }\n\n targetWindow = win;\n } // Handle element bindings where a target window is not passed\n\n\n if (typeof targetWindow.nodeType === 'number') {\n targetUserAgent = targetPlatform;\n targetPlatform = targetElement;\n targetElement = targetWindow;\n targetWindow = win;\n }\n\n if (!targetWindow.addEventListener && !targetWindow.attachEvent) {\n throw new Error('Cannot find addEventListener or attachEvent methods on targetWindow.');\n }\n\n this._isModernBrowser = !!targetWindow.addEventListener;\n var userAgent = targetWindow.navigator && targetWindow.navigator.userAgent || '';\n var platform = targetWindow.navigator && targetWindow.navigator.platform || '';\n targetElement && targetElement !== null || (targetElement = targetWindow.document);\n targetPlatform && targetPlatform !== null || (targetPlatform = platform);\n targetUserAgent && targetUserAgent !== null || (targetUserAgent = userAgent);\n\n this._targetKeyDownBinding = function (event) {\n _this.pressKey(event.keyCode, event);\n\n _this._handleCommandBug(event, platform);\n };\n\n this._targetKeyUpBinding = function (event) {\n _this.releaseKey(event.keyCode, event);\n };\n\n this._targetResetBinding = function (event) {\n _this.releaseAllKeys(event);\n };\n\n this._bindEvent(targetElement, 'keydown', this._targetKeyDownBinding);\n\n this._bindEvent(targetElement, 'keyup', this._targetKeyUpBinding);\n\n this._bindEvent(targetWindow, 'focus', this._targetResetBinding);\n\n this._bindEvent(targetWindow, 'blur', this._targetResetBinding);\n\n this._targetElement = targetElement;\n this._targetWindow = targetWindow;\n this._targetPlatform = targetPlatform;\n this._targetUserAgent = targetUserAgent;\n var currentContext = this._contexts[this._currentContext];\n currentContext.targetWindow = this._targetWindow;\n currentContext.targetElement = this._targetElement;\n currentContext.targetPlatform = this._targetPlatform;\n currentContext.targetUserAgent = this._targetUserAgent;\n return this;\n }\n }, {\n key: \"stop\",\n value: function stop() {\n if (!this._targetElement || !this._targetWindow) {\n return;\n }\n\n this._unbindEvent(this._targetElement, 'keydown', this._targetKeyDownBinding);\n\n this._unbindEvent(this._targetElement, 'keyup', this._targetKeyUpBinding);\n\n this._unbindEvent(this._targetWindow, 'focus', this._targetResetBinding);\n\n this._unbindEvent(this._targetWindow, 'blur', this._targetResetBinding);\n\n this._targetWindow = null;\n this._targetElement = null;\n return this;\n }\n }, {\n key: \"pressKey\",\n value: function pressKey(keyCode, event) {\n if (this._paused) {\n return this;\n }\n\n if (!this._locale) {\n throw new Error('Locale not set');\n }\n\n this._locale.pressKey(keyCode);\n\n this._applyBindings(event);\n\n return this;\n }\n }, {\n key: \"releaseKey\",\n value: function releaseKey(keyCode, event) {\n if (this._paused) {\n return this;\n }\n\n if (!this._locale) {\n throw new Error('Locale not set');\n }\n\n this._locale.releaseKey(keyCode);\n\n this._clearBindings(event);\n\n return this;\n }\n }, {\n key: \"releaseAllKeys\",\n value: function releaseAllKeys(event) {\n if (this._paused) {\n return this;\n }\n\n if (!this._locale) {\n throw new Error('Locale not set');\n }\n\n this._locale.pressedKeys.length = 0;\n\n this._clearBindings(event);\n\n return this;\n }\n }, {\n key: \"pause\",\n value: function pause() {\n if (this._paused) {\n return this;\n }\n\n if (this._locale) {\n this.releaseAllKeys();\n }\n\n this._paused = true;\n return this;\n }\n }, {\n key: \"resume\",\n value: function resume() {\n this._paused = false;\n return this;\n }\n }, {\n key: \"reset\",\n value: function reset() {\n this.releaseAllKeys();\n this._listeners.length = 0;\n return this;\n }\n }, {\n key: \"_bindEvent\",\n value: function _bindEvent(targetElement, eventName, handler) {\n return this._isModernBrowser ? targetElement.addEventListener(eventName, handler, false) : targetElement.attachEvent('on' + eventName, handler);\n }\n }, {\n key: \"_unbindEvent\",\n value: function _unbindEvent(targetElement, eventName, handler) {\n return this._isModernBrowser ? targetElement.removeEventListener(eventName, handler, false) : targetElement.detachEvent('on' + eventName, handler);\n }\n }, {\n key: \"_getGroupedListeners\",\n value: function _getGroupedListeners() {\n var listenerGroups = [];\n var listenerGroupMap = [];\n var listeners = this._listeners;\n\n if (this._currentContext !== 'global') {\n listeners = [].concat(_toConsumableArray(listeners), _toConsumableArray(this._contexts.global.listeners));\n }\n\n listeners.sort(function (a, b) {\n return (b.keyCombo ? b.keyCombo.keyNames.length : 0) - (a.keyCombo ? a.keyCombo.keyNames.length : 0);\n }).forEach(function (l) {\n var mapIndex = -1;\n\n for (var i = 0; i < listenerGroupMap.length; i += 1) {\n if (listenerGroupMap[i] === null && l.keyCombo === null || listenerGroupMap[i] !== null && listenerGroupMap[i].isEqual(l.keyCombo)) {\n mapIndex = i;\n }\n }\n\n if (mapIndex === -1) {\n mapIndex = listenerGroupMap.length;\n listenerGroupMap.push(l.keyCombo);\n }\n\n if (!listenerGroups[mapIndex]) {\n listenerGroups[mapIndex] = [];\n }\n\n listenerGroups[mapIndex].push(l);\n });\n return listenerGroups;\n }\n }, {\n key: \"_applyBindings\",\n value: function _applyBindings(event) {\n var _this2 = this;\n\n var preventRepeat = false;\n event || (event = {});\n\n event.preventRepeat = function () {\n preventRepeat = true;\n };\n\n event.pressedKeys = this._locale.pressedKeys.slice(0);\n var activeTargetKeys = this._locale.activeTargetKeys;\n\n var pressedKeys = this._locale.pressedKeys.slice(0);\n\n var listenerGroups = this._getGroupedListeners();\n\n var _loop = function _loop(i) {\n var listeners = listenerGroups[i];\n var keyCombo = listeners[0].keyCombo;\n\n if (keyCombo === null || keyCombo.check(pressedKeys) && activeTargetKeys.some(function (k) {\n return keyCombo.keyNames.includes(k);\n })) {\n for (var j = 0; j < listeners.length; j += 1) {\n var listener = listeners[j];\n\n if (!listener.executingHandler && listener.pressHandler && !listener.preventRepeat) {\n listener.executingHandler = true;\n listener.pressHandler.call(_this2, event);\n listener.executingHandler = false;\n\n if (preventRepeat || listener.preventRepeatByDefault) {\n listener.preventRepeat = true;\n preventRepeat = false;\n }\n }\n\n if (_this2._appliedListeners.indexOf(listener) === -1) {\n _this2._appliedListeners.push(listener);\n }\n }\n\n if (keyCombo) {\n for (var _j = 0; _j < keyCombo.keyNames.length; _j += 1) {\n var index = pressedKeys.indexOf(keyCombo.keyNames[_j]);\n\n if (index !== -1) {\n pressedKeys.splice(index, 1);\n _j -= 1;\n }\n }\n }\n }\n };\n\n for (var i = 0; i < listenerGroups.length; i += 1) {\n _loop(i);\n }\n }\n }, {\n key: \"_clearBindings\",\n value: function _clearBindings(event) {\n event || (event = {});\n event.pressedKeys = this._locale.pressedKeys.slice(0);\n\n for (var i = 0; i < this._appliedListeners.length; i += 1) {\n var listener = this._appliedListeners[i];\n var keyCombo = listener.keyCombo;\n\n if (keyCombo === null || !keyCombo.check(this._locale.pressedKeys)) {\n listener.preventRepeat = false;\n\n if (keyCombo !== null || event.pressedKeys.length === 0) {\n this._appliedListeners.splice(i, 1);\n\n i -= 1;\n }\n\n if (!listener.executingHandler && listener.releaseHandler) {\n listener.executingHandler = true;\n listener.releaseHandler.call(this, event);\n listener.executingHandler = false;\n }\n }\n }\n }\n }, {\n key: \"_handleCommandBug\",\n value: function _handleCommandBug(event, platform) {\n // On Mac when the command key is kept pressed, keyup is not triggered for any other key.\n // In this case force a keyup for non-modifier keys directly after the keypress.\n var modifierKeys = [\"shift\", \"ctrl\", \"alt\", \"capslock\", \"tab\", \"command\"];\n\n if (platform.match(\"Mac\") && this._locale.pressedKeys.includes(\"command\") && !modifierKeys.includes(this._locale.getKeyNames(event.keyCode)[0])) {\n this._targetKeyUpBinding(event);\n }\n }\n }]);\n\n return Keyboard;\n }();\n\n function us(locale, platform, userAgent) {\n // general\n locale.bindKeyCode(3, ['cancel']);\n locale.bindKeyCode(8, ['backspace']);\n locale.bindKeyCode(9, ['tab']);\n locale.bindKeyCode(12, ['clear']);\n locale.bindKeyCode(13, ['enter']);\n locale.bindKeyCode(16, ['shift']);\n locale.bindKeyCode(17, ['ctrl']);\n locale.bindKeyCode(18, ['alt', 'menu']);\n locale.bindKeyCode(19, ['pause', 'break']);\n locale.bindKeyCode(20, ['capslock']);\n locale.bindKeyCode(27, ['escape', 'esc']);\n locale.bindKeyCode(32, ['space', 'spacebar']);\n locale.bindKeyCode(33, ['pageup']);\n locale.bindKeyCode(34, ['pagedown']);\n locale.bindKeyCode(35, ['end']);\n locale.bindKeyCode(36, ['home']);\n locale.bindKeyCode(37, ['left']);\n locale.bindKeyCode(38, ['up']);\n locale.bindKeyCode(39, ['right']);\n locale.bindKeyCode(40, ['down']);\n locale.bindKeyCode(41, ['select']);\n locale.bindKeyCode(42, ['printscreen']);\n locale.bindKeyCode(43, ['execute']);\n locale.bindKeyCode(44, ['snapshot']);\n locale.bindKeyCode(45, ['insert', 'ins']);\n locale.bindKeyCode(46, ['delete', 'del']);\n locale.bindKeyCode(47, ['help']);\n locale.bindKeyCode(145, ['scrolllock', 'scroll']);\n locale.bindKeyCode(188, ['comma', ',']);\n locale.bindKeyCode(190, ['period', '.']);\n locale.bindKeyCode(191, ['slash', 'forwardslash', '/']);\n locale.bindKeyCode(192, ['graveaccent', '`']);\n locale.bindKeyCode(219, ['openbracket', '[']);\n locale.bindKeyCode(220, ['backslash', '\\\\']);\n locale.bindKeyCode(221, ['closebracket', ']']);\n locale.bindKeyCode(222, ['apostrophe', '\\'']); // 0-9\n\n locale.bindKeyCode(48, ['zero', '0']);\n locale.bindKeyCode(49, ['one', '1']);\n locale.bindKeyCode(50, ['two', '2']);\n locale.bindKeyCode(51, ['three', '3']);\n locale.bindKeyCode(52, ['four', '4']);\n locale.bindKeyCode(53, ['five', '5']);\n locale.bindKeyCode(54, ['six', '6']);\n locale.bindKeyCode(55, ['seven', '7']);\n locale.bindKeyCode(56, ['eight', '8']);\n locale.bindKeyCode(57, ['nine', '9']); // numpad\n\n locale.bindKeyCode(96, ['numzero', 'num0']);\n locale.bindKeyCode(97, ['numone', 'num1']);\n locale.bindKeyCode(98, ['numtwo', 'num2']);\n locale.bindKeyCode(99, ['numthree', 'num3']);\n locale.bindKeyCode(100, ['numfour', 'num4']);\n locale.bindKeyCode(101, ['numfive', 'num5']);\n locale.bindKeyCode(102, ['numsix', 'num6']);\n locale.bindKeyCode(103, ['numseven', 'num7']);\n locale.bindKeyCode(104, ['numeight', 'num8']);\n locale.bindKeyCode(105, ['numnine', 'num9']);\n locale.bindKeyCode(106, ['nummultiply', 'num*']);\n locale.bindKeyCode(107, ['numadd', 'num+']);\n locale.bindKeyCode(108, ['numenter']);\n locale.bindKeyCode(109, ['numsubtract', 'num-']);\n locale.bindKeyCode(110, ['numdecimal', 'num.']);\n locale.bindKeyCode(111, ['numdivide', 'num/']);\n locale.bindKeyCode(144, ['numlock', 'num']); // function keys\n\n locale.bindKeyCode(112, ['f1']);\n locale.bindKeyCode(113, ['f2']);\n locale.bindKeyCode(114, ['f3']);\n locale.bindKeyCode(115, ['f4']);\n locale.bindKeyCode(116, ['f5']);\n locale.bindKeyCode(117, ['f6']);\n locale.bindKeyCode(118, ['f7']);\n locale.bindKeyCode(119, ['f8']);\n locale.bindKeyCode(120, ['f9']);\n locale.bindKeyCode(121, ['f10']);\n locale.bindKeyCode(122, ['f11']);\n locale.bindKeyCode(123, ['f12']);\n locale.bindKeyCode(124, ['f13']);\n locale.bindKeyCode(125, ['f14']);\n locale.bindKeyCode(126, ['f15']);\n locale.bindKeyCode(127, ['f16']);\n locale.bindKeyCode(128, ['f17']);\n locale.bindKeyCode(129, ['f18']);\n locale.bindKeyCode(130, ['f19']);\n locale.bindKeyCode(131, ['f20']);\n locale.bindKeyCode(132, ['f21']);\n locale.bindKeyCode(133, ['f22']);\n locale.bindKeyCode(134, ['f23']);\n locale.bindKeyCode(135, ['f24']); // secondary key symbols\n\n locale.bindMacro('shift + `', ['tilde', '~']);\n locale.bindMacro('shift + 1', ['exclamation', 'exclamationpoint', '!']);\n locale.bindMacro('shift + 2', ['at', '@']);\n locale.bindMacro('shift + 3', ['number', '#']);\n locale.bindMacro('shift + 4', ['dollar', 'dollars', 'dollarsign', '$']);\n locale.bindMacro('shift + 5', ['percent', '%']);\n locale.bindMacro('shift + 6', ['caret', '^']);\n locale.bindMacro('shift + 7', ['ampersand', 'and', '&']);\n locale.bindMacro('shift + 8', ['asterisk', '*']);\n locale.bindMacro('shift + 9', ['openparen', '(']);\n locale.bindMacro('shift + 0', ['closeparen', ')']);\n locale.bindMacro('shift + -', ['underscore', '_']);\n locale.bindMacro('shift + =', ['plus', '+']);\n locale.bindMacro('shift + [', ['opencurlybrace', 'opencurlybracket', '{']);\n locale.bindMacro('shift + ]', ['closecurlybrace', 'closecurlybracket', '}']);\n locale.bindMacro('shift + \\\\', ['verticalbar', '|']);\n locale.bindMacro('shift + ;', ['colon', ':']);\n locale.bindMacro('shift + \\'', ['quotationmark', '\\'']);\n locale.bindMacro('shift + !,', ['openanglebracket', '<']);\n locale.bindMacro('shift + .', ['closeanglebracket', '>']);\n locale.bindMacro('shift + /', ['questionmark', '?']);\n\n if (platform.match('Mac')) {\n locale.bindMacro('command', ['mod', 'modifier']);\n } else {\n locale.bindMacro('ctrl', ['mod', 'modifier']);\n } //a-z and A-Z\n\n\n for (var keyCode = 65; keyCode <= 90; keyCode += 1) {\n var keyName = String.fromCharCode(keyCode + 32);\n var capitalKeyName = String.fromCharCode(keyCode);\n locale.bindKeyCode(keyCode, keyName);\n locale.bindMacro('shift + ' + keyName, capitalKeyName);\n locale.bindMacro('capslock + ' + keyName, capitalKeyName);\n } // browser caveats\n\n\n var semicolonKeyCode = userAgent.match('Firefox') ? 59 : 186;\n var dashKeyCode = userAgent.match('Firefox') ? 173 : 189;\n var equalKeyCode = userAgent.match('Firefox') ? 61 : 187;\n var leftCommandKeyCode;\n var rightCommandKeyCode;\n\n if (platform.match('Mac') && (userAgent.match('Safari') || userAgent.match('Chrome'))) {\n leftCommandKeyCode = 91;\n rightCommandKeyCode = 93;\n } else if (platform.match('Mac') && userAgent.match('Opera')) {\n leftCommandKeyCode = 17;\n rightCommandKeyCode = 17;\n } else if (platform.match('Mac') && userAgent.match('Firefox')) {\n leftCommandKeyCode = 224;\n rightCommandKeyCode = 224;\n }\n\n locale.bindKeyCode(semicolonKeyCode, ['semicolon', ';']);\n locale.bindKeyCode(dashKeyCode, ['dash', '-']);\n locale.bindKeyCode(equalKeyCode, ['equal', 'equalsign', '=']);\n locale.bindKeyCode(leftCommandKeyCode, ['command', 'windows', 'win', 'super', 'leftcommand', 'leftwindows', 'leftwin', 'leftsuper']);\n locale.bindKeyCode(rightCommandKeyCode, ['command', 'windows', 'win', 'super', 'rightcommand', 'rightwindows', 'rightwin', 'rightsuper']); // kill keys\n\n locale.setKillKey('command');\n }\n\n var keyboard = new Keyboard();\n keyboard.setLocale('us', us);\n keyboard.Keyboard = Keyboard;\n keyboard.Locale = Locale;\n keyboard.KeyCombo = KeyCombo;\n\n return keyboard;\n\n})));\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2V5Ym9hcmQuanMiLCJzb3VyY2VzIjpbIi4uL2xpYi9rZXktY29tYm8uanMiLCIuLi9saWIvbG9jYWxlLmpzIiwiLi4vbGliL2tleWJvYXJkLmpzIiwiLi4vbG9jYWxlcy91cy5qcyIsIi4uL2luZGV4LmpzIl0sInNvdXJjZXNDb250ZW50IjpbIlxuZXhwb3J0IGNsYXNzIEtleUNvbWJvIHtcbiAgY29uc3RydWN0b3Ioa2V5Q29tYm9TdHIpIHtcbiAgICB0aGlzLnNvdXJjZVN0ciA9IGtleUNvbWJvU3RyO1xuICAgIHRoaXMuc3ViQ29tYm9zID0gS2V5Q29tYm8ucGFyc2VDb21ib1N0cihrZXlDb21ib1N0cik7XG4gICAgdGhpcy5rZXlOYW1lcyAgPSB0aGlzLnN1YkNvbWJvcy5yZWR1Y2UoKG1lbW8sIG5leHRTdWJDb21ibykgPT5cbiAgICAgIG1lbW8uY29uY2F0KG5leHRTdWJDb21ibyksIFtdKTtcbiAgfVxuXG4gIGNoZWNrKHByZXNzZWRLZXlOYW1lcykge1xuICAgIGxldCBzdGFydGluZ0tleU5hbWVJbmRleCA9IDA7XG4gICAgZm9yIChsZXQgaSA9IDA7IGkgPCB0aGlzLnN1YkNvbWJvcy5sZW5ndGg7IGkgKz0gMSkge1xuICAgICAgc3RhcnRpbmdLZXlOYW1lSW5kZXggPSB0aGlzLl9jaGVja1N1YkNvbWJvKFxuICAgICAgICB0aGlzLnN1YkNvbWJvc1tpXSxcbiAgICAgICAgc3RhcnRpbmdLZXlOYW1lSW5kZXgsXG4gICAgICAgIHByZXNzZWRLZXlOYW1lc1xuICAgICAgKTtcbiAgICAgIGlmIChzdGFydGluZ0tleU5hbWVJbmRleCA9PT0gLTEpIHsgcmV0dXJuIGZhbHNlOyB9XG4gICAgfVxuICAgIHJldHVybiB0cnVlO1xuICB9O1xuXG4gIGlzRXF1YWwob3RoZXJLZXlDb21ibykge1xuICAgIGlmIChcbiAgICAgICFvdGhlcktleUNvbWJvIHx8XG4gICAgICB0eXBlb2Ygb3RoZXJLZXlDb21ibyAhPT0gJ3N0cmluZycgJiZcbiAgICAgIHR5cGVvZiBvdGhlcktleUNvbWJvICE9PSAnb2JqZWN0J1xuICAgICkgeyByZXR1cm4gZmFsc2U7IH1cblxuICAgIGlmICh0eXBlb2Ygb3RoZXJLZXlDb21ibyA9PT0gJ3N0cmluZycpIHtcbiAgICAgIG90aGVyS2V5Q29tYm8gPSBuZXcgS2V5Q29tYm8ob3RoZXJLZXlDb21ibyk7XG4gICAgfVxuXG4gICAgaWYgKHRoaXMuc3ViQ29tYm9zLmxlbmd0aCAhPT0gb3RoZXJLZXlDb21iby5zdWJDb21ib3MubGVuZ3RoKSB7XG4gICAgICByZXR1cm4gZmFsc2U7XG4gICAgfVxuICAgIGZvciAobGV0IGkgPSAwOyBpIDwgdGhpcy5zdWJDb21ib3MubGVuZ3RoOyBpICs9IDEpIHtcbiAgICAgIGlmICh0aGlzLnN1YkNvbWJvc1tpXS5sZW5ndGggIT09IG90aGVyS2V5Q29tYm8uc3ViQ29tYm9zW2ldLmxlbmd0aCkge1xuICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICB9XG4gICAgfVxuXG4gICAgZm9yIChsZXQgaSA9IDA7IGkgPCB0aGlzLnN1YkNvbWJvcy5sZW5ndGg7IGkgKz0gMSkge1xuICAgICAgY29uc3Qgc3ViQ29tYm8gICAgICA9IHRoaXMuc3ViQ29tYm9zW2ldO1xuICAgICAgY29uc3Qgb3RoZXJTdWJDb21ibyA9IG90aGVyS2V5Q29tYm8uc3ViQ29tYm9zW2ldLnNsaWNlKDApO1xuXG4gICAgICBmb3IgKGxldCBqID0gMDsgaiA8IHN1YkNvbWJvLmxlbmd0aDsgaiArPSAxKSB7XG4gICAgICAgIGNvbnN0IGtleU5hbWUgPSBzdWJDb21ib1tqXTtcbiAgICAgICAgY29uc3QgaW5kZXggICA9IG90aGVyU3ViQ29tYm8uaW5kZXhPZihrZXlOYW1lKTtcblxuICAgICAgICBpZiAoaW5kZXggPiAtMSkge1xuICAgICAgICAgIG90aGVyU3ViQ29tYm8uc3BsaWNlKGluZGV4LCAxKTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgICAgaWYgKG90aGVyU3ViQ29tYm8ubGVuZ3RoICE9PSAwKSB7XG4gICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgIH1cbiAgICB9XG5cbiAgICByZXR1cm4gdHJ1ZTtcbiAgfTtcblxuICBfY2hlY2tTdWJDb21ibyhzdWJDb21ibywgc3RhcnRpbmdLZXlOYW1lSW5kZXgsIHByZXNzZWRLZXlOYW1lcykge1xuICAgIHN1YkNvbWJvID0gc3ViQ29tYm8uc2xpY2UoMCk7XG4gICAgcHJlc3NlZEtleU5hbWVzID0gcHJlc3NlZEtleU5hbWVzLnNsaWNlKHN0YXJ0aW5nS2V5TmFtZUluZGV4KTtcblxuICAgIGxldCBlbmRJbmRleCA9IHN0YXJ0aW5nS2V5TmFtZUluZGV4O1xuICAgIGZvciAobGV0IGkgPSAwOyBpIDwgc3ViQ29tYm8ubGVuZ3RoOyBpICs9IDEpIHtcblxuICAgICAgbGV0IGtleU5hbWUgPSBzdWJDb21ib1tpXTtcbiAgICAgIGlmIChrZXlOYW1lWzBdID09PSAnXFxcXCcpIHtcbiAgICAgICAgY29uc3QgZXNjYXBlZEtleU5hbWUgPSBrZXlOYW1lLnNsaWNlKDEpO1xuICAgICAgICBpZiAoXG4gICAgICAgICAgZXNjYXBlZEtleU5hbWUgPT09IEtleUNvbWJvLmNvbWJvRGVsaW1pbmF0b3IgfHxcbiAgICAgICAgICBlc2NhcGVkS2V5TmFtZSA9PT0gS2V5Q29tYm8ua2V5RGVsaW1pbmF0b3JcbiAgICAgICAgKSB7XG4gICAgICAgICAga2V5TmFtZSA9IGVzY2FwZWRLZXlOYW1lO1xuICAgICAgICB9XG4gICAgICB9XG5cbiAgICAgIGNvbnN0IGluZGV4ID0gcHJlc3NlZEtleU5hbWVzLmluZGV4T2Yoa2V5TmFtZSk7XG4gICAgICBpZiAoaW5kZXggPiAtMSkge1xuICAgICAgICBzdWJDb21iby5zcGxpY2UoaSwgMSk7XG4gICAgICAgIGkgLT0gMTtcbiAgICAgICAgaWYgKGluZGV4ID4gZW5kSW5kZXgpIHtcbiAgICAgICAgICBlbmRJbmRleCA9IGluZGV4O1xuICAgICAgICB9XG4gICAgICAgIGlmIChzdWJDb21iby5sZW5ndGggPT09IDApIHtcbiAgICAgICAgICByZXR1cm4gZW5kSW5kZXg7XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gICAgcmV0dXJuIC0xO1xuICB9O1xufVxuXG5LZXlDb21iby5jb21ib0RlbGltaW5hdG9yID0gJz4nO1xuS2V5Q29tYm8ua2V5RGVsaW1pbmF0b3IgICA9ICcrJztcblxuS2V5Q29tYm8ucGFyc2VDb21ib1N0ciA9IGZ1bmN0aW9uKGtleUNvbWJvU3RyKSB7XG4gIGNvbnN0IHN1YkNvbWJvU3RycyA9IEtleUNvbWJvLl9zcGxpdFN0cihrZXlDb21ib1N0ciwgS2V5Q29tYm8uY29tYm9EZWxpbWluYXRvcik7XG4gIGNvbnN0IGNvbWJvICAgICAgICA9IFtdO1xuXG4gIGZvciAobGV0IGkgPSAwIDsgaSA8IHN1YkNvbWJvU3Rycy5sZW5ndGg7IGkgKz0gMSkge1xuICAgIGNvbWJvLnB1c2goS2V5Q29tYm8uX3NwbGl0U3RyKHN1YkNvbWJvU3Ryc1tpXSwgS2V5Q29tYm8ua2V5RGVsaW1pbmF0b3IpKTtcbiAgfVxuICByZXR1cm4gY29tYm87XG59XG5cbktleUNvbWJvLl9zcGxpdFN0ciA9IGZ1bmN0aW9uKHN0ciwgZGVsaW1pbmF0b3IpIHtcbiAgY29uc3QgcyAgPSBzdHI7XG4gIGNvbnN0IGQgID0gZGVsaW1pbmF0b3I7XG4gIGxldCBjICA9ICcnO1xuICBjb25zdCBjYSA9IFtdO1xuXG4gIGZvciAobGV0IGNpID0gMDsgY2kgPCBzLmxlbmd0aDsgY2kgKz0gMSkge1xuICAgIGlmIChjaSA+IDAgJiYgc1tjaV0gPT09IGQgJiYgc1tjaSAtIDFdICE9PSAnXFxcXCcpIHtcbiAgICAgIGNhLnB1c2goYy50cmltKCkpO1xuICAgICAgYyA9ICcnO1xuICAgICAgY2kgKz0gMTtcbiAgICB9XG4gICAgYyArPSBzW2NpXTtcbiAgfVxuICBpZiAoYykgeyBjYS5wdXNoKGMudHJpbSgpKTsgfVxuXG4gIHJldHVybiBjYTtcbn07XG4iLCJpbXBvcnQgeyBLZXlDb21ibyB9IGZyb20gJy4va2V5LWNvbWJvJztcblxuXG5leHBvcnQgY2xhc3MgTG9jYWxlIHtcbiAgY29uc3RydWN0b3IobmFtZSkge1xuICAgIHRoaXMubG9jYWxlTmFtZSAgICAgICAgICA9IG5hbWU7XG4gICAgdGhpcy5hY3RpdmVUYXJnZXRLZXlzID0gW107XG4gICAgdGhpcy5wcmVzc2VkS2V5cyAgICAgICAgID0gW107XG4gICAgdGhpcy5fYXBwbGllZE1hY3JvcyAgICAgID0gW107XG4gICAgdGhpcy5fa2V5TWFwICAgICAgICAgICAgID0ge307XG4gICAgdGhpcy5fa2lsbEtleUNvZGVzICAgICAgID0gW107XG4gICAgdGhpcy5fbWFjcm9zICAgICAgICAgICAgID0gW107XG4gIH1cblxuICBiaW5kS2V5Q29kZShrZXlDb2RlLCBrZXlOYW1lcykge1xuICAgIGlmICh0eXBlb2Yga2V5TmFtZXMgPT09ICdzdHJpbmcnKSB7XG4gICAgICBrZXlOYW1lcyA9IFtrZXlOYW1lc107XG4gICAgfVxuXG4gICAgdGhpcy5fa2V5TWFwW2tleUNvZGVdID0ga2V5TmFtZXM7XG4gIH07XG5cbiAgYmluZE1hY3JvKGtleUNvbWJvU3RyLCBrZXlOYW1lcykge1xuICAgIGlmICh0eXBlb2Yga2V5TmFtZXMgPT09ICdzdHJpbmcnKSB7XG4gICAgICBrZXlOYW1lcyA9IFsga2V5TmFtZXMgXTtcbiAgICB9XG5cbiAgICBsZXQgaGFuZGxlciA9IG51bGw7XG4gICAgaWYgKHR5cGVvZiBrZXlOYW1lcyA9PT0gJ2Z1bmN0aW9uJykge1xuICAgICAgaGFuZGxlciA9IGtleU5hbWVzO1xuICAgICAga2V5TmFtZXMgPSBudWxsO1xuICAgIH1cblxuICAgIGNvbnN0IG1hY3JvID0ge1xuICAgICAga2V5Q29tYm8gOiBuZXcgS2V5Q29tYm8oa2V5Q29tYm9TdHIpLFxuICAgICAga2V5TmFtZXMgOiBrZXlOYW1lcyxcbiAgICAgIGhhbmRsZXIgIDogaGFuZGxlclxuICAgIH07XG5cbiAgICB0aGlzLl9tYWNyb3MucHVzaChtYWNybyk7XG4gIH07XG5cbiAgZ2V0S2V5Q29kZXMoa2V5TmFtZSkge1xuICAgIGNvbnN0IGtleUNvZGVzID0gW107XG4gICAgZm9yIChjb25zdCBrZXlDb2RlIGluIHRoaXMuX2tleU1hcCkge1xuICAgICAgY29uc3QgaW5kZXggPSB0aGlzLl9rZXlNYXBba2V5Q29kZV0uaW5kZXhPZihrZXlOYW1lKTtcbiAgICAgIGlmIChpbmRleCA+IC0xKSB7IGtleUNvZGVzLnB1c2goa2V5Q29kZXwwKTsgfVxuICAgIH1cbiAgICByZXR1cm4ga2V5Q29kZXM7XG4gIH07XG5cbiAgZ2V0S2V5TmFtZXMoa2V5Q29kZSkge1xuICAgIHJldHVybiB0aGlzLl9rZXlNYXBba2V5Q29kZV0gfHwgW107XG4gIH07XG5cbiAgc2V0S2lsbEtleShrZXlDb2RlKSB7XG4gICAgaWYgKHR5cGVvZiBrZXlDb2RlID09PSAnc3RyaW5nJykge1xuICAgICAgY29uc3Qga2V5Q29kZXMgPSB0aGlzLmdldEtleUNvZGVzKGtleUNvZGUpO1xuICAgICAgZm9yIChsZXQgaSA9IDA7IGkgPCBrZXlDb2Rlcy5sZW5ndGg7IGkgKz0gMSkge1xuICAgICAgICB0aGlzLnNldEtpbGxLZXkoa2V5Q29kZXNbaV0pO1xuICAgICAgfVxuICAgICAgcmV0dXJuO1xuICAgIH1cblxuICAgIHRoaXMuX2tpbGxLZXlDb2Rlcy5wdXNoKGtleUNvZGUpO1xuICB9O1xuXG4gIHByZXNzS2V5KGtleUNvZGUpIHtcbiAgICBpZiAodHlwZW9mIGtleUNvZGUgPT09ICdzdHJpbmcnKSB7XG4gICAgICBjb25zdCBrZXlDb2RlcyA9IHRoaXMuZ2V0S2V5Q29kZXMoa2V5Q29kZSk7XG4gICAgICBmb3IgKGxldCBpID0gMDsgaSA8IGtleUNvZGVzLmxlbmd0aDsgaSArPSAxKSB7XG4gICAgICAgIHRoaXMucHJlc3NLZXkoa2V5Q29kZXNbaV0pO1xuICAgICAgfVxuICAgICAgcmV0dXJuO1xuICAgIH1cblxuICAgIHRoaXMuYWN0aXZlVGFyZ2V0S2V5cy5sZW5ndGggPSAwO1xuICAgIGNvbnN0IGtleU5hbWVzID0gdGhpcy5nZXRLZXlOYW1lcyhrZXlDb2RlKTtcbiAgICBmb3IgKGxldCBpID0gMDsgaSA8IGtleU5hbWVzLmxlbmd0aDsgaSArPSAxKSB7XG4gICAgICB0aGlzLmFjdGl2ZVRhcmdldEtleXMucHVzaChrZXlOYW1lc1tpXSk7XG4gICAgICBpZiAodGhpcy5wcmVzc2VkS2V5cy5pbmRleE9mKGtleU5hbWVzW2ldKSA9PT0gLTEpIHtcbiAgICAgICAgdGhpcy5wcmVzc2VkS2V5cy5wdXNoKGtleU5hbWVzW2ldKTtcbiAgICAgIH1cbiAgICB9XG5cbiAgICB0aGlzLl9hcHBseU1hY3JvcygpO1xuICB9O1xuXG4gIHJlbGVhc2VLZXkoa2V5Q29kZSkge1xuICAgIGlmICh0eXBlb2Yga2V5Q29kZSA9PT0gJ3N0cmluZycpIHtcbiAgICAgIGNvbnN0IGtleUNvZGVzID0gdGhpcy5nZXRLZXlDb2RlcyhrZXlDb2RlKTtcbiAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwga2V5Q29kZXMubGVuZ3RoOyBpICs9IDEpIHtcbiAgICAgICAgdGhpcy5yZWxlYXNlS2V5KGtleUNvZGVzW2ldKTtcbiAgICAgIH1cblxuICAgIH0gZWxzZSB7XG4gICAgICBjb25zdCBrZXlOYW1lcyAgICAgICAgID0gdGhpcy5nZXRLZXlOYW1lcyhrZXlDb2RlKTtcbiAgICAgIGNvbnN0IGtpbGxLZXlDb2RlSW5kZXggPSB0aGlzLl9raWxsS2V5Q29kZXMuaW5kZXhPZihrZXlDb2RlKTtcblxuICAgICAgaWYgKGtpbGxLZXlDb2RlSW5kZXggIT09IC0xKSB7XG4gICAgICAgIHRoaXMucHJlc3NlZEtleXMubGVuZ3RoID0gMDtcbiAgICAgIH0gZWxzZSB7XG4gICAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwga2V5TmFtZXMubGVuZ3RoOyBpICs9IDEpIHtcbiAgICAgICAgICBjb25zdCBpbmRleCA9IHRoaXMucHJlc3NlZEtleXMuaW5kZXhPZihrZXlOYW1lc1tpXSk7XG4gICAgICAgICAgaWYgKGluZGV4ID4gLTEpIHtcbiAgICAgICAgICAgIHRoaXMucHJlc3NlZEtleXMuc3BsaWNlKGluZGV4LCAxKTtcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgIH1cblxuICAgICAgdGhpcy5hY3RpdmVUYXJnZXRLZXlzLmxlbmd0aCA9IDA7XG4gICAgICB0aGlzLl9jbGVhck1hY3JvcygpO1xuICAgIH1cbiAgfTtcblxuICBfYXBwbHlNYWNyb3MoKSB7XG4gICAgY29uc3QgbWFjcm9zID0gdGhpcy5fbWFjcm9zLnNsaWNlKDApO1xuICAgIGZvciAobGV0IGkgPSAwOyBpIDwgbWFjcm9zLmxlbmd0aDsgaSArPSAxKSB7XG4gICAgICBjb25zdCBtYWNybyA9IG1hY3Jvc1tpXTtcbiAgICAgIGlmIChtYWNyby5rZXlDb21iby5jaGVjayh0aGlzLnByZXNzZWRLZXlzKSkge1xuICAgICAgICBpZiAobWFjcm8uaGFuZGxlcikge1xuICAgICAgICAgIG1hY3JvLmtleU5hbWVzID0gbWFjcm8uaGFuZGxlcih0aGlzLnByZXNzZWRLZXlzKTtcbiAgICAgICAgfVxuICAgICAgICBmb3IgKGxldCBqID0gMDsgaiA8IG1hY3JvLmtleU5hbWVzLmxlbmd0aDsgaiArPSAxKSB7XG4gICAgICAgICAgaWYgKHRoaXMucHJlc3NlZEtleXMuaW5kZXhPZihtYWNyby5rZXlOYW1lc1tqXSkgPT09IC0xKSB7XG4gICAgICAgICAgICB0aGlzLnByZXNzZWRLZXlzLnB1c2gobWFjcm8ua2V5TmFtZXNbal0pO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICB0aGlzLl9hcHBsaWVkTWFjcm9zLnB1c2gobWFjcm8pO1xuICAgICAgfVxuICAgIH1cbiAgfTtcblxuICBfY2xlYXJNYWNyb3MoKSB7XG4gICAgZm9yIChsZXQgaSA9IDA7IGkgPCB0aGlzLl9hcHBsaWVkTWFjcm9zLmxlbmd0aDsgaSArPSAxKSB7XG4gICAgICBjb25zdCBtYWNybyA9IHRoaXMuX2FwcGxpZWRNYWNyb3NbaV07XG4gICAgICBpZiAoIW1hY3JvLmtleUNvbWJvLmNoZWNrKHRoaXMucHJlc3NlZEtleXMpKSB7XG4gICAgICAgIGZvciAobGV0IGogPSAwOyBqIDwgbWFjcm8ua2V5TmFtZXMubGVuZ3RoOyBqICs9IDEpIHtcbiAgICAgICAgICBjb25zdCBpbmRleCA9IHRoaXMucHJlc3NlZEtleXMuaW5kZXhPZihtYWNyby5rZXlOYW1lc1tqXSk7XG4gICAgICAgICAgaWYgKGluZGV4ID4gLTEpIHtcbiAgICAgICAgICAgIHRoaXMucHJlc3NlZEtleXMuc3BsaWNlKGluZGV4LCAxKTtcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgaWYgKG1hY3JvLmhhbmRsZXIpIHtcbiAgICAgICAgICBtYWNyby5rZXlOYW1lcyA9IG51bGw7XG4gICAgICAgIH1cbiAgICAgICAgdGhpcy5fYXBwbGllZE1hY3Jvcy5zcGxpY2UoaSwgMSk7XG4gICAgICAgIGkgLT0gMTtcbiAgICAgIH1cbiAgICB9XG4gIH1cbn1cbiIsImltcG9ydCB7IExvY2FsZSB9IGZyb20gJy4vbG9jYWxlJztcbmltcG9ydCB7IEtleUNvbWJvIH0gZnJvbSAnLi9rZXktY29tYm8nO1xuXG5cbmV4cG9ydCBjbGFzcyBLZXlib2FyZCB7XG4gIGNvbnN0cnVjdG9yKHRhcmdldFdpbmRvdywgdGFyZ2V0RWxlbWVudCwgdGFyZ2V0UGxhdGZvcm0sIHRhcmdldFVzZXJBZ2VudCkge1xuICAgIHRoaXMuX2xvY2FsZSAgICAgICAgICAgICAgID0gbnVsbDtcbiAgICB0aGlzLl9jdXJyZW50Q29udGV4dCAgICAgICA9ICcnO1xuICAgIHRoaXMuX2NvbnRleHRzICAgICAgICAgICAgID0ge307XG4gICAgdGhpcy5fbGlzdGVuZXJzICAgICAgICAgICAgPSBbXTtcbiAgICB0aGlzLl9hcHBsaWVkTGlzdGVuZXJzICAgICA9IFtdO1xuICAgIHRoaXMuX2xvY2FsZXMgICAgICAgICAgICAgID0ge307XG4gICAgdGhpcy5fdGFyZ2V0RWxlbWVudCAgICAgICAgPSBudWxsO1xuICAgIHRoaXMuX3RhcmdldFdpbmRvdyAgICAgICAgID0gbnVsbDtcbiAgICB0aGlzLl90YXJnZXRQbGF0Zm9ybSAgICAgICA9ICcnO1xuICAgIHRoaXMuX3RhcmdldFVzZXJBZ2VudCAgICAgID0gJyc7XG4gICAgdGhpcy5faXNNb2Rlcm5Ccm93c2VyICAgICAgPSBmYWxzZTtcbiAgICB0aGlzLl90YXJnZXRLZXlEb3duQmluZGluZyA9IG51bGw7XG4gICAgdGhpcy5fdGFyZ2V0S2V5VXBCaW5kaW5nICAgPSBudWxsO1xuICAgIHRoaXMuX3RhcmdldFJlc2V0QmluZGluZyAgID0gbnVsbDtcbiAgICB0aGlzLl9wYXVzZWQgICAgICAgICAgICAgICA9IGZhbHNlO1xuXG4gICAgdGhpcy5fY29udGV4dHMuZ2xvYmFsID0ge1xuICAgICAgbGlzdGVuZXJzOiB0aGlzLl9saXN0ZW5lcnMsXG4gICAgICB0YXJnZXRXaW5kb3csXG4gICAgICB0YXJnZXRFbGVtZW50LFxuICAgICAgdGFyZ2V0UGxhdGZvcm0sXG4gICAgICB0YXJnZXRVc2VyQWdlbnRcbiAgICB9O1xuXG4gICAgdGhpcy5zZXRDb250ZXh0KCdnbG9iYWwnKTtcbiAgfVxuXG4gIHNldExvY2FsZShsb2NhbGVOYW1lLCBsb2NhbGVCdWlsZGVyKSB7XG4gICAgbGV0IGxvY2FsZSA9IG51bGw7XG4gICAgaWYgKHR5cGVvZiBsb2NhbGVOYW1lID09PSAnc3RyaW5nJykge1xuXG4gICAgICBpZiAobG9jYWxlQnVpbGRlcikge1xuICAgICAgICBsb2NhbGUgPSBuZXcgTG9jYWxlKGxvY2FsZU5hbWUpO1xuICAgICAgICBsb2NhbGVCdWlsZGVyKGxvY2FsZSwgdGhpcy5fdGFyZ2V0UGxhdGZvcm0sIHRoaXMuX3RhcmdldFVzZXJBZ2VudCk7XG4gICAgICB9IGVsc2Uge1xuICAgICAgICBsb2NhbGUgPSB0aGlzLl9sb2NhbGVzW2xvY2FsZU5hbWVdIHx8IG51bGw7XG4gICAgICB9XG4gICAgfSBlbHNlIHtcbiAgICAgIGxvY2FsZSAgICAgPSBsb2NhbGVOYW1lO1xuICAgICAgbG9jYWxlTmFtZSA9IGxvY2FsZS5fbG9jYWxlTmFtZTtcbiAgICB9XG5cbiAgICB0aGlzLl9sb2NhbGUgICAgICAgICAgICAgID0gbG9jYWxlO1xuICAgIHRoaXMuX2xvY2FsZXNbbG9jYWxlTmFtZV0gPSBsb2NhbGU7XG4gICAgaWYgKGxvY2FsZSkge1xuICAgICAgdGhpcy5fbG9jYWxlLnByZXNzZWRLZXlzID0gbG9jYWxlLnByZXNzZWRLZXlzO1xuICAgIH1cblxuICAgIHJldHVybiB0aGlzO1xuICB9XG5cbiAgZ2V0TG9jYWxlKGxvY2FsTmFtZSkge1xuICAgIGxvY2FsTmFtZSB8fCAobG9jYWxOYW1lID0gdGhpcy5fbG9jYWxlLmxvY2FsZU5hbWUpO1xuICAgIHJldHVybiB0aGlzLl9sb2NhbGVzW2xvY2FsTmFtZV0gfHwgbnVsbDtcbiAgfVxuXG4gIGJpbmQoa2V5Q29tYm9TdHIsIHByZXNzSGFuZGxlciwgcmVsZWFzZUhhbmRsZXIsIHByZXZlbnRSZXBlYXRCeURlZmF1bHQpIHtcbiAgICBpZiAoa2V5Q29tYm9TdHIgPT09IG51bGwgfHwgdHlwZW9mIGtleUNvbWJvU3RyID09PSAnZnVuY3Rpb24nKSB7XG4gICAgICBwcmV2ZW50UmVwZWF0QnlEZWZhdWx0ID0gcmVsZWFzZUhhbmRsZXI7XG4gICAgICByZWxlYXNlSGFuZGxlciAgICAgICAgID0gcHJlc3NIYW5kbGVyO1xuICAgICAgcHJlc3NIYW5kbGVyICAgICAgICAgICA9IGtleUNvbWJvU3RyO1xuICAgICAga2V5Q29tYm9TdHIgICAgICAgICAgICA9IG51bGw7XG4gICAgfVxuXG4gICAgaWYgKFxuICAgICAga2V5Q29tYm9TdHIgJiZcbiAgICAgIHR5cGVvZiBrZXlDb21ib1N0ciA9PT0gJ29iamVjdCcgJiZcbiAgICAgIHR5cGVvZiBrZXlDb21ib1N0ci5sZW5ndGggPT09ICdudW1iZXInXG4gICAgKSB7XG4gICAgICBmb3IgKGxldCBpID0gMDsgaSA8IGtleUNvbWJvU3RyLmxlbmd0aDsgaSArPSAxKSB7XG4gICAgICAgIHRoaXMuYmluZChrZXlDb21ib1N0cltpXSwgcHJlc3NIYW5kbGVyLCByZWxlYXNlSGFuZGxlcik7XG4gICAgICB9XG4gICAgICByZXR1cm4gdGhpcztcbiAgICB9XG5cbiAgICB0aGlzLl9saXN0ZW5lcnMucHVzaCh7XG4gICAgICBrZXlDb21ibyAgICAgICAgICAgICAgOiBrZXlDb21ib1N0ciA/IG5ldyBLZXlDb21ibyhrZXlDb21ib1N0cikgOiBudWxsLFxuICAgICAgcHJlc3NIYW5kbGVyICAgICAgICAgIDogcHJlc3NIYW5kbGVyICAgICAgICAgICB8fCBudWxsLFxuICAgICAgcmVsZWFzZUhhbmRsZXIgICAgICAgIDogcmVsZWFzZUhhbmRsZXIgICAgICAgICB8fCBudWxsLFxuICAgICAgcHJldmVudFJlcGVhdCAgICAgICAgIDogcHJldmVudFJlcGVhdEJ5RGVmYXVsdCB8fCBmYWxzZSxcbiAgICAgIHByZXZlbnRSZXBlYXRCeURlZmF1bHQ6IHByZXZlbnRSZXBlYXRCeURlZmF1bHQgfHwgZmFsc2UsXG4gICAgICBleGVjdXRpbmdIYW5kbGVyICAgICAgOiBmYWxzZVxuICAgIH0pO1xuXG4gICAgcmV0dXJuIHRoaXM7XG4gIH1cblxuICBhZGRMaXN0ZW5lcihrZXlDb21ib1N0ciwgcHJlc3NIYW5kbGVyLCByZWxlYXNlSGFuZGxlciwgcHJldmVudFJlcGVhdEJ5RGVmYXVsdCkge1xuICAgIHJldHVybiB0aGlzLmJpbmQoa2V5Q29tYm9TdHIsIHByZXNzSGFuZGxlciwgcmVsZWFzZUhhbmRsZXIsIHByZXZlbnRSZXBlYXRCeURlZmF1bHQpO1xuICB9XG5cbiAgb24oa2V5Q29tYm9TdHIsIHByZXNzSGFuZGxlciwgcmVsZWFzZUhhbmRsZXIsIHByZXZlbnRSZXBlYXRCeURlZmF1bHQpIHtcbiAgICByZXR1cm4gdGhpcy5iaW5kKGtleUNvbWJvU3RyLCBwcmVzc0hhbmRsZXIsIHJlbGVhc2VIYW5kbGVyLCBwcmV2ZW50UmVwZWF0QnlEZWZhdWx0KTtcbiAgfVxuXG4gIGJpbmRQcmVzcyhrZXlDb21ib1N0ciwgcHJlc3NIYW5kbGVyLCBwcmV2ZW50UmVwZWF0QnlEZWZhdWx0KSB7XG4gICAgcmV0dXJuIHRoaXMuYmluZChrZXlDb21ib1N0ciwgcHJlc3NIYW5kbGVyLCBudWxsLCBwcmV2ZW50UmVwZWF0QnlEZWZhdWx0KTtcbiAgfVxuXG4gIGJpbmRSZWxlYXNlKGtleUNvbWJvU3RyLCByZWxlYXNlSGFuZGxlcikge1xuICAgIHJldHVybiB0aGlzLmJpbmQoa2V5Q29tYm9TdHIsIG51bGwsIHJlbGVhc2VIYW5kbGVyLCBwcmV2ZW50UmVwZWF0QnlEZWZhdWx0KTtcbiAgfVxuXG4gIHVuYmluZChrZXlDb21ib1N0ciwgcHJlc3NIYW5kbGVyLCByZWxlYXNlSGFuZGxlcikge1xuICAgIGlmIChrZXlDb21ib1N0ciA9PT0gbnVsbCB8fCB0eXBlb2Yga2V5Q29tYm9TdHIgPT09ICdmdW5jdGlvbicpIHtcbiAgICAgIHJlbGVhc2VIYW5kbGVyID0gcHJlc3NIYW5kbGVyO1xuICAgICAgcHJlc3NIYW5kbGVyICAgPSBrZXlDb21ib1N0cjtcbiAgICAgIGtleUNvbWJvU3RyID0gbnVsbDtcbiAgICB9XG5cbiAgICBpZiAoXG4gICAgICBrZXlDb21ib1N0ciAmJlxuICAgICAgdHlwZW9mIGtleUNvbWJvU3RyID09PSAnb2JqZWN0JyAmJlxuICAgICAgdHlwZW9mIGtleUNvbWJvU3RyLmxlbmd0aCA9PT0gJ251bWJlcidcbiAgICApIHtcbiAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwga2V5Q29tYm9TdHIubGVuZ3RoOyBpICs9IDEpIHtcbiAgICAgICAgdGhpcy51bmJpbmQoa2V5Q29tYm9TdHJbaV0sIHByZXNzSGFuZGxlciwgcmVsZWFzZUhhbmRsZXIpO1xuICAgICAgfVxuICAgICAgcmV0dXJuIHRoaXM7XG4gICAgfVxuXG4gICAgZm9yIChsZXQgaSA9IDA7IGkgPCB0aGlzLl9saXN0ZW5lcnMubGVuZ3RoOyBpICs9IDEpIHtcbiAgICAgIGNvbnN0IGxpc3RlbmVyID0gdGhpcy5fbGlzdGVuZXJzW2ldO1xuXG4gICAgICBjb25zdCBjb21ib01hdGNoZXMgICAgICAgICAgPSAha2V5Q29tYm9TdHIgJiYgIWxpc3RlbmVyLmtleUNvbWJvIHx8XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGlzdGVuZXIua2V5Q29tYm8gJiYgbGlzdGVuZXIua2V5Q29tYm8uaXNFcXVhbChrZXlDb21ib1N0cik7XG4gICAgICBjb25zdCBwcmVzc0hhbmRsZXJNYXRjaGVzICAgPSAhcHJlc3NIYW5kbGVyICYmICFyZWxlYXNlSGFuZGxlciB8fFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICFwcmVzc0hhbmRsZXIgJiYgIWxpc3RlbmVyLnByZXNzSGFuZGxlciB8fFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHByZXNzSGFuZGxlciA9PT0gbGlzdGVuZXIucHJlc3NIYW5kbGVyO1xuICAgICAgY29uc3QgcmVsZWFzZUhhbmRsZXJNYXRjaGVzID0gIXByZXNzSGFuZGxlciAmJiAhcmVsZWFzZUhhbmRsZXIgfHxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAhcmVsZWFzZUhhbmRsZXIgJiYgIWxpc3RlbmVyLnJlbGVhc2VIYW5kbGVyIHx8XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVsZWFzZUhhbmRsZXIgPT09IGxpc3RlbmVyLnJlbGVhc2VIYW5kbGVyO1xuXG4gICAgICBpZiAoY29tYm9NYXRjaGVzICYmIHByZXNzSGFuZGxlck1hdGNoZXMgJiYgcmVsZWFzZUhhbmRsZXJNYXRjaGVzKSB7XG4gICAgICAgIHRoaXMuX2xpc3RlbmVycy5zcGxpY2UoaSwgMSk7XG4gICAgICAgIGkgLT0gMTtcbiAgICAgIH1cbiAgICB9XG5cbiAgICByZXR1cm4gdGhpcztcbiAgfVxuXG4gIHJlbW92ZUxpc3RlbmVyKGtleUNvbWJvU3RyLCBwcmVzc0hhbmRsZXIsIHJlbGVhc2VIYW5kbGVyKSB7XG4gICAgcmV0dXJuIHRoaXMudW5iaW5kKGtleUNvbWJvU3RyLCBwcmVzc0hhbmRsZXIsIHJlbGVhc2VIYW5kbGVyKTtcbiAgfVxuXG4gIG9mZihrZXlDb21ib1N0ciwgcHJlc3NIYW5kbGVyLCByZWxlYXNlSGFuZGxlcikge1xuICAgIHJldHVybiB0aGlzLnVuYmluZChrZXlDb21ib1N0ciwgcHJlc3NIYW5kbGVyLCByZWxlYXNlSGFuZGxlcik7XG4gIH1cblxuICBzZXRDb250ZXh0KGNvbnRleHROYW1lKSB7XG4gICAgaWYodGhpcy5fbG9jYWxlKSB7IHRoaXMucmVsZWFzZUFsbEtleXMoKTsgfVxuXG4gICAgaWYgKCF0aGlzLl9jb250ZXh0c1tjb250ZXh0TmFtZV0pIHtcbiAgICAgIGNvbnN0IGdsb2JhbENvbnRleHQgPSB0aGlzLl9jb250ZXh0cy5nbG9iYWw7XG4gICAgICB0aGlzLl9jb250ZXh0c1tjb250ZXh0TmFtZV0gPSB7XG4gICAgICAgIGxpc3RlbmVycyAgICAgIDogW10sXG4gICAgICAgIHRhcmdldFdpbmRvdyAgIDogZ2xvYmFsQ29udGV4dC50YXJnZXRXaW5kb3csXG4gICAgICAgIHRhcmdldEVsZW1lbnQgIDogZ2xvYmFsQ29udGV4dC50YXJnZXRFbGVtZW50LFxuICAgICAgICB0YXJnZXRQbGF0Zm9ybSA6IGdsb2JhbENvbnRleHQudGFyZ2V0UGxhdGZvcm0sXG4gICAgICAgIHRhcmdldFVzZXJBZ2VudDogZ2xvYmFsQ29udGV4dC50YXJnZXRVc2VyQWdlbnRcbiAgICAgIH07XG4gICAgfVxuXG4gICAgY29uc3QgY29udGV4dCAgICAgICAgPSB0aGlzLl9jb250ZXh0c1tjb250ZXh0TmFtZV07XG4gICAgdGhpcy5fY3VycmVudENvbnRleHQgPSBjb250ZXh0TmFtZTtcbiAgICB0aGlzLl9saXN0ZW5lcnMgICAgICA9IGNvbnRleHQubGlzdGVuZXJzO1xuXG4gICAgdGhpcy5zdG9wKCk7XG4gICAgdGhpcy53YXRjaChcbiAgICAgIGNvbnRleHQudGFyZ2V0V2luZG93LFxuICAgICAgY29udGV4dC50YXJnZXRFbGVtZW50LFxuICAgICAgY29udGV4dC50YXJnZXRQbGF0Zm9ybSxcbiAgICAgIGNvbnRleHQudGFyZ2V0VXNlckFnZW50XG4gICAgKTtcblxuICAgIHJldHVybiB0aGlzO1xuICB9XG5cbiAgZ2V0Q29udGV4dCgpIHtcbiAgICByZXR1cm4gdGhpcy5fY3VycmVudENvbnRleHQ7XG4gIH1cblxuICB3aXRoQ29udGV4dChjb250ZXh0TmFtZSwgY2FsbGJhY2spIHtcbiAgICBjb25zdCBwcmV2aW91c0NvbnRleHROYW1lID0gdGhpcy5nZXRDb250ZXh0KCk7XG4gICAgdGhpcy5zZXRDb250ZXh0KGNvbnRleHROYW1lKTtcblxuICAgIGNhbGxiYWNrKCk7XG5cbiAgICB0aGlzLnNldENvbnRleHQocHJldmlvdXNDb250ZXh0TmFtZSk7XG5cbiAgICByZXR1cm4gdGhpcztcbiAgfVxuXG4gIHdhdGNoKHRhcmdldFdpbmRvdywgdGFyZ2V0RWxlbWVudCwgdGFyZ2V0UGxhdGZvcm0sIHRhcmdldFVzZXJBZ2VudCkge1xuICAgIHRoaXMuc3RvcCgpO1xuXG4gICAgY29uc3Qgd2luID0gdHlwZW9mIGdsb2JhbFRoaXMgIT09ICd1bmRlZmluZWQnID8gZ2xvYmFsVGhpcyA6XG4gICAgICAgICAgICAgICAgdHlwZW9mIGdsb2JhbCAhPT0gJ3VuZGVmaW5lZCcgPyBnbG9iYWwgOlxuICAgICAgICAgICAgICAgIHR5cGVvZiB3aW5kb3cgIT09ICd1bmRlZmluZWQnID8gd2luZG93IDpcbiAgICAgICAgICAgICAgICB7fTtcblxuICAgIGlmICghdGFyZ2V0V2luZG93KSB7XG4gICAgICBpZiAoIXdpbi5hZGRFdmVudExpc3RlbmVyICYmICF3aW4uYXR0YWNoRXZlbnQpIHtcbiAgICAgICAgdGhyb3cgbmV3IEVycm9yKCdDYW5ub3QgZmluZCB3aW5kb3cgZnVuY3Rpb25zIGFkZEV2ZW50TGlzdGVuZXIgb3IgYXR0YWNoRXZlbnQuJyk7XG4gICAgICB9XG4gICAgICB0YXJnZXRXaW5kb3cgPSB3aW47XG4gICAgfVxuXG4gICAgLy8gSGFuZGxlIGVsZW1lbnQgYmluZGluZ3Mgd2hlcmUgYSB0YXJnZXQgd2luZG93IGlzIG5vdCBwYXNzZWRcbiAgICBpZiAodHlwZW9mIHRhcmdldFdpbmRvdy5ub2RlVHlwZSA9PT0gJ251bWJlcicpIHtcbiAgICAgIHRhcmdldFVzZXJBZ2VudCA9IHRhcmdldFBsYXRmb3JtO1xuICAgICAgdGFyZ2V0UGxhdGZvcm0gID0gdGFyZ2V0RWxlbWVudDtcbiAgICAgIHRhcmdldEVsZW1lbnQgICA9IHRhcmdldFdpbmRvdztcbiAgICAgIHRhcmdldFdpbmRvdyAgICA9IHdpbjtcbiAgICB9XG5cbiAgICBpZiAoIXRhcmdldFdpbmRvdy5hZGRFdmVudExpc3RlbmVyICYmICF0YXJnZXRXaW5kb3cuYXR0YWNoRXZlbnQpIHtcbiAgICAgIHRocm93IG5ldyBFcnJvcignQ2Fubm90IGZpbmQgYWRkRXZlbnRMaXN0ZW5lciBvciBhdHRhY2hFdmVudCBtZXRob2RzIG9uIHRhcmdldFdpbmRvdy4nKTtcbiAgICB9XG5cbiAgICB0aGlzLl9pc01vZGVybkJyb3dzZXIgPSAhIXRhcmdldFdpbmRvdy5hZGRFdmVudExpc3RlbmVyO1xuXG4gICAgY29uc3QgdXNlckFnZW50ID0gdGFyZ2V0V2luZG93Lm5hdmlnYXRvciAmJiB0YXJnZXRXaW5kb3cubmF2aWdhdG9yLnVzZXJBZ2VudCB8fCAnJztcbiAgICBjb25zdCBwbGF0Zm9ybSAgPSB0YXJnZXRXaW5kb3cubmF2aWdhdG9yICYmIHRhcmdldFdpbmRvdy5uYXZpZ2F0b3IucGxhdGZvcm0gIHx8ICcnO1xuXG4gICAgdGFyZ2V0RWxlbWVudCAgICYmIHRhcmdldEVsZW1lbnQgICAhPT0gbnVsbCB8fCAodGFyZ2V0RWxlbWVudCAgID0gdGFyZ2V0V2luZG93LmRvY3VtZW50KTtcbiAgICB0YXJnZXRQbGF0Zm9ybSAgJiYgdGFyZ2V0UGxhdGZvcm0gICE9PSBudWxsIHx8ICh0YXJnZXRQbGF0Zm9ybSAgPSBwbGF0Zm9ybSk7XG4gICAgdGFyZ2V0VXNlckFnZW50ICYmIHRhcmdldFVzZXJBZ2VudCAhPT0gbnVsbCB8fCAodGFyZ2V0VXNlckFnZW50ID0gdXNlckFnZW50KTtcblxuICAgIHRoaXMuX3RhcmdldEtleURvd25CaW5kaW5nID0gKGV2ZW50KSA9PiB7XG4gICAgICB0aGlzLnByZXNzS2V5KGV2ZW50LmtleUNvZGUsIGV2ZW50KTtcbiAgICAgIHRoaXMuX2hhbmRsZUNvbW1hbmRCdWcoZXZlbnQsIHBsYXRmb3JtKTtcbiAgICB9O1xuICAgIHRoaXMuX3RhcmdldEtleVVwQmluZGluZyA9IChldmVudCkgPT4ge1xuICAgICAgdGhpcy5yZWxlYXNlS2V5KGV2ZW50LmtleUNvZGUsIGV2ZW50KTtcbiAgICB9O1xuICAgIHRoaXMuX3RhcmdldFJlc2V0QmluZGluZyA9IChldmVudCkgPT4ge1xuICAgICAgdGhpcy5yZWxlYXNlQWxsS2V5cyhldmVudCk7XG4gICAgfTtcblxuICAgIHRoaXMuX2JpbmRFdmVudCh0YXJnZXRFbGVtZW50LCAna2V5ZG93bicsIHRoaXMuX3RhcmdldEtleURvd25CaW5kaW5nKTtcbiAgICB0aGlzLl9iaW5kRXZlbnQodGFyZ2V0RWxlbWVudCwgJ2tleXVwJywgICB0aGlzLl90YXJnZXRLZXlVcEJpbmRpbmcpO1xuICAgIHRoaXMuX2JpbmRFdmVudCh0YXJnZXRXaW5kb3csICAnZm9jdXMnLCAgIHRoaXMuX3RhcmdldFJlc2V0QmluZGluZyk7XG4gICAgdGhpcy5fYmluZEV2ZW50KHRhcmdldFdpbmRvdywgICdibHVyJywgICAgdGhpcy5fdGFyZ2V0UmVzZXRCaW5kaW5nKTtcblxuICAgIHRoaXMuX3RhcmdldEVsZW1lbnQgICA9IHRhcmdldEVsZW1lbnQ7XG4gICAgdGhpcy5fdGFyZ2V0V2luZG93ICAgID0gdGFyZ2V0V2luZG93O1xuICAgIHRoaXMuX3RhcmdldFBsYXRmb3JtICA9IHRhcmdldFBsYXRmb3JtO1xuICAgIHRoaXMuX3RhcmdldFVzZXJBZ2VudCA9IHRhcmdldFVzZXJBZ2VudDtcblxuICAgIGNvbnN0IGN1cnJlbnRDb250ZXh0ICAgICAgICAgICA9IHRoaXMuX2NvbnRleHRzW3RoaXMuX2N1cnJlbnRDb250ZXh0XTtcbiAgICBjdXJyZW50Q29udGV4dC50YXJnZXRXaW5kb3cgICAgPSB0aGlzLl90YXJnZXRXaW5kb3c7XG4gICAgY3VycmVudENvbnRleHQudGFyZ2V0RWxlbWVudCAgID0gdGhpcy5fdGFyZ2V0RWxlbWVudDtcbiAgICBjdXJyZW50Q29udGV4dC50YXJnZXRQbGF0Zm9ybSAgPSB0aGlzLl90YXJnZXRQbGF0Zm9ybTtcbiAgICBjdXJyZW50Q29udGV4dC50YXJnZXRVc2VyQWdlbnQgPSB0aGlzLl90YXJnZXRVc2VyQWdlbnQ7XG5cbiAgICByZXR1cm4gdGhpcztcbiAgfVxuXG4gIHN0b3AoKSB7XG4gICAgaWYgKCF0aGlzLl90YXJnZXRFbGVtZW50IHx8ICF0aGlzLl90YXJnZXRXaW5kb3cpIHsgcmV0dXJuOyB9XG5cbiAgICB0aGlzLl91bmJpbmRFdmVudCh0aGlzLl90YXJnZXRFbGVtZW50LCAna2V5ZG93bicsIHRoaXMuX3RhcmdldEtleURvd25CaW5kaW5nKTtcbiAgICB0aGlzLl91bmJpbmRFdmVudCh0aGlzLl90YXJnZXRFbGVtZW50LCAna2V5dXAnLCAgIHRoaXMuX3RhcmdldEtleVVwQmluZGluZyk7XG4gICAgdGhpcy5fdW5iaW5kRXZlbnQodGhpcy5fdGFyZ2V0V2luZG93LCAgJ2ZvY3VzJywgICB0aGlzLl90YXJnZXRSZXNldEJpbmRpbmcpO1xuICAgIHRoaXMuX3VuYmluZEV2ZW50KHRoaXMuX3RhcmdldFdpbmRvdywgICdibHVyJywgICAgdGhpcy5fdGFyZ2V0UmVzZXRCaW5kaW5nKTtcblxuICAgIHRoaXMuX3RhcmdldFdpbmRvdyAgPSBudWxsO1xuICAgIHRoaXMuX3RhcmdldEVsZW1lbnQgPSBudWxsO1xuXG4gICAgcmV0dXJuIHRoaXM7XG4gIH1cblxuICBwcmVzc0tleShrZXlDb2RlLCBldmVudCkge1xuICAgIGlmICh0aGlzLl9wYXVzZWQpIHsgcmV0dXJuIHRoaXM7IH1cbiAgICBpZiAoIXRoaXMuX2xvY2FsZSkgeyB0aHJvdyBuZXcgRXJyb3IoJ0xvY2FsZSBub3Qgc2V0Jyk7IH1cblxuICAgIHRoaXMuX2xvY2FsZS5wcmVzc0tleShrZXlDb2RlKTtcbiAgICB0aGlzLl9hcHBseUJpbmRpbmdzKGV2ZW50KTtcblxuICAgIHJldHVybiB0aGlzO1xuICB9XG5cbiAgcmVsZWFzZUtleShrZXlDb2RlLCBldmVudCkge1xuICAgIGlmICh0aGlzLl9wYXVzZWQpIHsgcmV0dXJuIHRoaXM7IH1cbiAgICBpZiAoIXRoaXMuX2xvY2FsZSkgeyB0aHJvdyBuZXcgRXJyb3IoJ0xvY2FsZSBub3Qgc2V0Jyk7IH1cblxuICAgIHRoaXMuX2xvY2FsZS5yZWxlYXNlS2V5KGtleUNvZGUpO1xuICAgIHRoaXMuX2NsZWFyQmluZGluZ3MoZXZlbnQpO1xuXG4gICAgcmV0dXJuIHRoaXM7XG4gIH1cblxuICByZWxlYXNlQWxsS2V5cyhldmVudCkge1xuICAgIGlmICh0aGlzLl9wYXVzZWQpIHsgcmV0dXJuIHRoaXM7IH1cbiAgICBpZiAoIXRoaXMuX2xvY2FsZSkgeyB0aHJvdyBuZXcgRXJyb3IoJ0xvY2FsZSBub3Qgc2V0Jyk7IH1cblxuICAgIHRoaXMuX2xvY2FsZS5wcmVzc2VkS2V5cy5sZW5ndGggPSAwO1xuICAgIHRoaXMuX2NsZWFyQmluZGluZ3MoZXZlbnQpO1xuXG4gICAgcmV0dXJuIHRoaXM7XG4gIH1cblxuICBwYXVzZSgpIHtcbiAgICBpZiAodGhpcy5fcGF1c2VkKSB7IHJldHVybiB0aGlzOyB9XG4gICAgaWYgKHRoaXMuX2xvY2FsZSkgeyB0aGlzLnJlbGVhc2VBbGxLZXlzKCk7IH1cbiAgICB0aGlzLl9wYXVzZWQgPSB0cnVlO1xuXG4gICAgcmV0dXJuIHRoaXM7XG4gIH1cblxuICByZXN1bWUoKSB7XG4gICAgdGhpcy5fcGF1c2VkID0gZmFsc2U7XG5cbiAgICByZXR1cm4gdGhpcztcbiAgfVxuXG4gIHJlc2V0KCkge1xuICAgIHRoaXMucmVsZWFzZUFsbEtleXMoKTtcbiAgICB0aGlzLl9saXN0ZW5lcnMubGVuZ3RoID0gMDtcblxuICAgIHJldHVybiB0aGlzO1xuICB9XG5cbiAgX2JpbmRFdmVudCh0YXJnZXRFbGVtZW50LCBldmVudE5hbWUsIGhhbmRsZXIpIHtcbiAgICByZXR1cm4gdGhpcy5faXNNb2Rlcm5Ccm93c2VyID9cbiAgICAgIHRhcmdldEVsZW1lbnQuYWRkRXZlbnRMaXN0ZW5lcihldmVudE5hbWUsIGhhbmRsZXIsIGZhbHNlKSA6XG4gICAgICB0YXJnZXRFbGVtZW50LmF0dGFjaEV2ZW50KCdvbicgKyBldmVudE5hbWUsIGhhbmRsZXIpO1xuICB9XG5cbiAgX3VuYmluZEV2ZW50KHRhcmdldEVsZW1lbnQsIGV2ZW50TmFtZSwgaGFuZGxlcikge1xuICAgIHJldHVybiB0aGlzLl9pc01vZGVybkJyb3dzZXIgP1xuICAgICAgdGFyZ2V0RWxlbWVudC5yZW1vdmVFdmVudExpc3RlbmVyKGV2ZW50TmFtZSwgaGFuZGxlciwgZmFsc2UpIDpcbiAgICAgIHRhcmdldEVsZW1lbnQuZGV0YWNoRXZlbnQoJ29uJyArIGV2ZW50TmFtZSwgaGFuZGxlcik7XG4gIH1cblxuICBfZ2V0R3JvdXBlZExpc3RlbmVycygpIHtcbiAgICBjb25zdCBsaXN0ZW5lckdyb3VwcyAgID0gW107XG4gICAgY29uc3QgbGlzdGVuZXJHcm91cE1hcCA9IFtdO1xuXG4gICAgbGV0IGxpc3RlbmVycyA9IHRoaXMuX2xpc3RlbmVycztcbiAgICBpZiAodGhpcy5fY3VycmVudENvbnRleHQgIT09ICdnbG9iYWwnKSB7XG4gICAgICBsaXN0ZW5lcnMgPSBbLi4ubGlzdGVuZXJzLCAuLi50aGlzLl9jb250ZXh0cy5nbG9iYWwubGlzdGVuZXJzXTtcbiAgICB9XG5cbiAgICBsaXN0ZW5lcnMuc29ydChcbiAgICAgIChhLCBiKSA9PlxuICAgICAgICAoYi5rZXlDb21ibyA/IGIua2V5Q29tYm8ua2V5TmFtZXMubGVuZ3RoIDogMCkgLVxuICAgICAgICAoYS5rZXlDb21ibyA/IGEua2V5Q29tYm8ua2V5TmFtZXMubGVuZ3RoIDogMClcbiAgICApLmZvckVhY2goKGwpID0+IHtcbiAgICAgIGxldCBtYXBJbmRleCA9IC0xO1xuICAgICAgZm9yIChsZXQgaSA9IDA7IGkgPCBsaXN0ZW5lckdyb3VwTWFwLmxlbmd0aDsgaSArPSAxKSB7XG4gICAgICAgIGlmIChsaXN0ZW5lckdyb3VwTWFwW2ldID09PSBudWxsICYmIGwua2V5Q29tYm8gPT09IG51bGwgfHxcbiAgICAgICAgICAgIGxpc3RlbmVyR3JvdXBNYXBbaV0gIT09IG51bGwgJiYgbGlzdGVuZXJHcm91cE1hcFtpXS5pc0VxdWFsKGwua2V5Q29tYm8pKSB7XG4gICAgICAgICAgbWFwSW5kZXggPSBpO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgICBpZiAobWFwSW5kZXggPT09IC0xKSB7XG4gICAgICAgIG1hcEluZGV4ID0gbGlzdGVuZXJHcm91cE1hcC5sZW5ndGg7XG4gICAgICAgIGxpc3RlbmVyR3JvdXBNYXAucHVzaChsLmtleUNvbWJvKTtcbiAgICAgIH1cbiAgICAgIGlmICghbGlzdGVuZXJHcm91cHNbbWFwSW5kZXhdKSB7XG4gICAgICAgIGxpc3RlbmVyR3JvdXBzW21hcEluZGV4XSA9IFtdO1xuICAgICAgfVxuICAgICAgbGlzdGVuZXJHcm91cHNbbWFwSW5kZXhdLnB1c2gobCk7XG4gICAgfSk7XG5cbiAgICByZXR1cm4gbGlzdGVuZXJHcm91cHM7XG4gIH1cblxuICBfYXBwbHlCaW5kaW5ncyhldmVudCkge1xuICAgIGxldCBwcmV2ZW50UmVwZWF0ID0gZmFsc2U7XG5cbiAgICBldmVudCB8fCAoZXZlbnQgPSB7fSk7XG4gICAgZXZlbnQucHJldmVudFJlcGVhdCA9ICgpID0+IHsgcHJldmVudFJlcGVhdCA9IHRydWU7IH07XG4gICAgZXZlbnQucHJlc3NlZEtleXMgICA9IHRoaXMuX2xvY2FsZS5wcmVzc2VkS2V5cy5zbGljZSgwKTtcblxuICAgIGNvbnN0IGFjdGl2ZVRhcmdldEtleXMgPSB0aGlzLl9sb2NhbGUuYWN0aXZlVGFyZ2V0S2V5cztcbiAgICBjb25zdCBwcmVzc2VkS2V5cyAgICAgID0gdGhpcy5fbG9jYWxlLnByZXNzZWRLZXlzLnNsaWNlKDApO1xuICAgIGNvbnN0IGxpc3RlbmVyR3JvdXBzICAgPSB0aGlzLl9nZXRHcm91cGVkTGlzdGVuZXJzKCk7XG5cbiAgICBmb3IgKGxldCBpID0gMDsgaSA8IGxpc3RlbmVyR3JvdXBzLmxlbmd0aDsgaSArPSAxKSB7XG4gICAgICBjb25zdCBsaXN0ZW5lcnMgPSBsaXN0ZW5lckdyb3Vwc1tpXTtcbiAgICAgIGNvbnN0IGtleUNvbWJvICA9IGxpc3RlbmVyc1swXS5rZXlDb21ibztcblxuICAgICAgaWYgKFxuICAgICAgICBrZXlDb21ibyA9PT0gbnVsbCB8fFxuICAgICAgICBrZXlDb21iby5jaGVjayhwcmVzc2VkS2V5cykgJiZcbiAgICAgICAgYWN0aXZlVGFyZ2V0S2V5cy5zb21lKGsgPT4ga2V5Q29tYm8ua2V5TmFtZXMuaW5jbHVkZXMoaykpXG4gICAgICApIHtcbiAgICAgICAgZm9yIChsZXQgaiA9IDA7IGogPCBsaXN0ZW5lcnMubGVuZ3RoOyBqICs9IDEpIHtcbiAgICAgICAgICBsZXQgbGlzdGVuZXIgPSBsaXN0ZW5lcnNbal07XG5cbiAgICAgICAgICBpZiAoIWxpc3RlbmVyLmV4ZWN1dGluZ0hhbmRsZXIgJiYgbGlzdGVuZXIucHJlc3NIYW5kbGVyICYmICFsaXN0ZW5lci5wcmV2ZW50UmVwZWF0KSB7XG4gICAgICAgICAgICBsaXN0ZW5lci5leGVjdXRpbmdIYW5kbGVyID0gdHJ1ZTtcbiAgICAgICAgICAgIGxpc3RlbmVyLnByZXNzSGFuZGxlci5jYWxsKHRoaXMsIGV2ZW50KTtcbiAgICAgICAgICAgIGxpc3RlbmVyLmV4ZWN1dGluZ0hhbmRsZXIgPSBmYWxzZTtcblxuICAgICAgICAgICAgaWYgKHByZXZlbnRSZXBlYXQgfHwgbGlzdGVuZXIucHJldmVudFJlcGVhdEJ5RGVmYXVsdCkge1xuICAgICAgICAgICAgICBsaXN0ZW5lci5wcmV2ZW50UmVwZWF0ID0gdHJ1ZTtcbiAgICAgICAgICAgICAgcHJldmVudFJlcGVhdCAgICAgICAgICA9IGZhbHNlO1xuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cblxuICAgICAgICAgIGlmICh0aGlzLl9hcHBsaWVkTGlzdGVuZXJzLmluZGV4T2YobGlzdGVuZXIpID09PSAtMSkge1xuICAgICAgICAgICAgdGhpcy5fYXBwbGllZExpc3RlbmVycy5wdXNoKGxpc3RlbmVyKTtcbiAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICBpZiAoa2V5Q29tYm8pIHtcbiAgICAgICAgICBmb3IgKGxldCBqID0gMDsgaiA8IGtleUNvbWJvLmtleU5hbWVzLmxlbmd0aDsgaiArPSAxKSB7XG4gICAgICAgICAgICBjb25zdCBpbmRleCA9IHByZXNzZWRLZXlzLmluZGV4T2Yoa2V5Q29tYm8ua2V5TmFtZXNbal0pO1xuICAgICAgICAgICAgaWYgKGluZGV4ICE9PSAtMSkge1xuICAgICAgICAgICAgICBwcmVzc2VkS2V5cy5zcGxpY2UoaW5kZXgsIDEpO1xuICAgICAgICAgICAgICBqIC09IDE7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgX2NsZWFyQmluZGluZ3MoZXZlbnQpIHtcbiAgICBldmVudCB8fCAoZXZlbnQgPSB7fSk7XG4gICAgZXZlbnQucHJlc3NlZEtleXMgPSB0aGlzLl9sb2NhbGUucHJlc3NlZEtleXMuc2xpY2UoMCk7XG5cbiAgICBmb3IgKGxldCBpID0gMDsgaSA8IHRoaXMuX2FwcGxpZWRMaXN0ZW5lcnMubGVuZ3RoOyBpICs9IDEpIHtcbiAgICAgIGNvbnN0IGxpc3RlbmVyID0gdGhpcy5fYXBwbGllZExpc3RlbmVyc1tpXTtcbiAgICAgIGNvbnN0IGtleUNvbWJvID0gbGlzdGVuZXIua2V5Q29tYm87XG4gICAgICBpZiAoa2V5Q29tYm8gPT09IG51bGwgfHwgIWtleUNvbWJvLmNoZWNrKHRoaXMuX2xvY2FsZS5wcmVzc2VkS2V5cykpIHtcbiAgICAgICAgbGlzdGVuZXIucHJldmVudFJlcGVhdCA9IGZhbHNlO1xuICAgICAgICBpZiAoa2V5Q29tYm8gIT09IG51bGwgfHwgZXZlbnQucHJlc3NlZEtleXMubGVuZ3RoID09PSAwKSB7XG4gICAgICAgICAgdGhpcy5fYXBwbGllZExpc3RlbmVycy5zcGxpY2UoaSwgMSk7XG4gICAgICAgICAgaSAtPSAxO1xuICAgICAgICB9XG4gICAgICAgIGlmICghbGlzdGVuZXIuZXhlY3V0aW5nSGFuZGxlciAmJiBsaXN0ZW5lci5yZWxlYXNlSGFuZGxlcikge1xuICAgICAgICAgIGxpc3RlbmVyLmV4ZWN1dGluZ0hhbmRsZXIgPSB0cnVlO1xuICAgICAgICAgIGxpc3RlbmVyLnJlbGVhc2VIYW5kbGVyLmNhbGwodGhpcywgZXZlbnQpO1xuICAgICAgICAgIGxpc3RlbmVyLmV4ZWN1dGluZ0hhbmRsZXIgPSBmYWxzZTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIF9oYW5kbGVDb21tYW5kQnVnKGV2ZW50LCBwbGF0Zm9ybSkge1xuICAgIC8vIE9uIE1hYyB3aGVuIHRoZSBjb21tYW5kIGtleSBpcyBrZXB0IHByZXNzZWQsIGtleXVwIGlzIG5vdCB0cmlnZ2VyZWQgZm9yIGFueSBvdGhlciBrZXkuXG4gICAgLy8gSW4gdGhpcyBjYXNlIGZvcmNlIGEga2V5dXAgZm9yIG5vbi1tb2RpZmllciBrZXlzIGRpcmVjdGx5IGFmdGVyIHRoZSBrZXlwcmVzcy5cbiAgICBjb25zdCBtb2RpZmllcktleXMgPSBbXCJzaGlmdFwiLCBcImN0cmxcIiwgXCJhbHRcIiwgXCJjYXBzbG9ja1wiLCBcInRhYlwiLCBcImNvbW1hbmRcIl07XG4gICAgaWYgKHBsYXRmb3JtLm1hdGNoKFwiTWFjXCIpICYmIHRoaXMuX2xvY2FsZS5wcmVzc2VkS2V5cy5pbmNsdWRlcyhcImNvbW1hbmRcIikgJiZcbiAgICAgICAgIW1vZGlmaWVyS2V5cy5pbmNsdWRlcyh0aGlzLl9sb2NhbGUuZ2V0S2V5TmFtZXMoZXZlbnQua2V5Q29kZSlbMF0pKSB7XG4gICAgICB0aGlzLl90YXJnZXRLZXlVcEJpbmRpbmcoZXZlbnQpO1xuICAgIH1cbiAgfVxufVxuIiwiXG5leHBvcnQgZnVuY3Rpb24gdXMobG9jYWxlLCBwbGF0Zm9ybSwgdXNlckFnZW50KSB7XG5cbiAgLy8gZ2VuZXJhbFxuICBsb2NhbGUuYmluZEtleUNvZGUoMywgICBbJ2NhbmNlbCddKTtcbiAgbG9jYWxlLmJpbmRLZXlDb2RlKDgsICAgWydiYWNrc3BhY2UnXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSg5LCAgIFsndGFiJ10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoMTIsICBbJ2NsZWFyJ10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoMTMsICBbJ2VudGVyJ10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoMTYsICBbJ3NoaWZ0J10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoMTcsICBbJ2N0cmwnXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSgxOCwgIFsnYWx0JywgJ21lbnUnXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSgxOSwgIFsncGF1c2UnLCAnYnJlYWsnXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSgyMCwgIFsnY2Fwc2xvY2snXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSgyNywgIFsnZXNjYXBlJywgJ2VzYyddKTtcbiAgbG9jYWxlLmJpbmRLZXlDb2RlKDMyLCAgWydzcGFjZScsICdzcGFjZWJhciddKTtcbiAgbG9jYWxlLmJpbmRLZXlDb2RlKDMzLCAgWydwYWdldXAnXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSgzNCwgIFsncGFnZWRvd24nXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSgzNSwgIFsnZW5kJ10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoMzYsICBbJ2hvbWUnXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSgzNywgIFsnbGVmdCddKTtcbiAgbG9jYWxlLmJpbmRLZXlDb2RlKDM4LCAgWyd1cCddKTtcbiAgbG9jYWxlLmJpbmRLZXlDb2RlKDM5LCAgWydyaWdodCddKTtcbiAgbG9jYWxlLmJpbmRLZXlDb2RlKDQwLCAgWydkb3duJ10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoNDEsICBbJ3NlbGVjdCddKTtcbiAgbG9jYWxlLmJpbmRLZXlDb2RlKDQyLCAgWydwcmludHNjcmVlbiddKTtcbiAgbG9jYWxlLmJpbmRLZXlDb2RlKDQzLCAgWydleGVjdXRlJ10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoNDQsICBbJ3NuYXBzaG90J10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoNDUsICBbJ2luc2VydCcsICdpbnMnXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSg0NiwgIFsnZGVsZXRlJywgJ2RlbCddKTtcbiAgbG9jYWxlLmJpbmRLZXlDb2RlKDQ3LCAgWydoZWxwJ10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoMTQ1LCBbJ3Njcm9sbGxvY2snLCAnc2Nyb2xsJ10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoMTg4LCBbJ2NvbW1hJywgJywnXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSgxOTAsIFsncGVyaW9kJywgJy4nXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSgxOTEsIFsnc2xhc2gnLCAnZm9yd2FyZHNsYXNoJywgJy8nXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSgxOTIsIFsnZ3JhdmVhY2NlbnQnLCAnYCddKTtcbiAgbG9jYWxlLmJpbmRLZXlDb2RlKDIxOSwgWydvcGVuYnJhY2tldCcsICdbJ10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoMjIwLCBbJ2JhY2tzbGFzaCcsICdcXFxcJ10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoMjIxLCBbJ2Nsb3NlYnJhY2tldCcsICddJ10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoMjIyLCBbJ2Fwb3N0cm9waGUnLCAnXFwnJ10pO1xuXG4gIC8vIDAtOVxuICBsb2NhbGUuYmluZEtleUNvZGUoNDgsIFsnemVybycsICcwJ10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoNDksIFsnb25lJywgJzEnXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSg1MCwgWyd0d28nLCAnMiddKTtcbiAgbG9jYWxlLmJpbmRLZXlDb2RlKDUxLCBbJ3RocmVlJywgJzMnXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSg1MiwgWydmb3VyJywgJzQnXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSg1MywgWydmaXZlJywgJzUnXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSg1NCwgWydzaXgnLCAnNiddKTtcbiAgbG9jYWxlLmJpbmRLZXlDb2RlKDU1LCBbJ3NldmVuJywgJzcnXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSg1NiwgWydlaWdodCcsICc4J10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoNTcsIFsnbmluZScsICc5J10pO1xuXG4gIC8vIG51bXBhZFxuICBsb2NhbGUuYmluZEtleUNvZGUoOTYsIFsnbnVtemVybycsICdudW0wJ10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoOTcsIFsnbnVtb25lJywgJ251bTEnXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSg5OCwgWydudW10d28nLCAnbnVtMiddKTtcbiAgbG9jYWxlLmJpbmRLZXlDb2RlKDk5LCBbJ251bXRocmVlJywgJ251bTMnXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSgxMDAsIFsnbnVtZm91cicsICdudW00J10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoMTAxLCBbJ251bWZpdmUnLCAnbnVtNSddKTtcbiAgbG9jYWxlLmJpbmRLZXlDb2RlKDEwMiwgWydudW1zaXgnLCAnbnVtNiddKTtcbiAgbG9jYWxlLmJpbmRLZXlDb2RlKDEwMywgWydudW1zZXZlbicsICdudW03J10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoMTA0LCBbJ251bWVpZ2h0JywgJ251bTgnXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSgxMDUsIFsnbnVtbmluZScsICdudW05J10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoMTA2LCBbJ251bW11bHRpcGx5JywgJ251bSonXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSgxMDcsIFsnbnVtYWRkJywgJ251bSsnXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSgxMDgsIFsnbnVtZW50ZXInXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSgxMDksIFsnbnVtc3VidHJhY3QnLCAnbnVtLSddKTtcbiAgbG9jYWxlLmJpbmRLZXlDb2RlKDExMCwgWydudW1kZWNpbWFsJywgJ251bS4nXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSgxMTEsIFsnbnVtZGl2aWRlJywgJ251bS8nXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSgxNDQsIFsnbnVtbG9jaycsICdudW0nXSk7XG5cbiAgLy8gZnVuY3Rpb24ga2V5c1xuICBsb2NhbGUuYmluZEtleUNvZGUoMTEyLCBbJ2YxJ10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoMTEzLCBbJ2YyJ10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoMTE0LCBbJ2YzJ10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoMTE1LCBbJ2Y0J10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoMTE2LCBbJ2Y1J10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoMTE3LCBbJ2Y2J10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoMTE4LCBbJ2Y3J10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoMTE5LCBbJ2Y4J10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoMTIwLCBbJ2Y5J10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoMTIxLCBbJ2YxMCddKTtcbiAgbG9jYWxlLmJpbmRLZXlDb2RlKDEyMiwgWydmMTEnXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSgxMjMsIFsnZjEyJ10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoMTI0LCBbJ2YxMyddKTtcbiAgbG9jYWxlLmJpbmRLZXlDb2RlKDEyNSwgWydmMTQnXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSgxMjYsIFsnZjE1J10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoMTI3LCBbJ2YxNiddKTtcbiAgbG9jYWxlLmJpbmRLZXlDb2RlKDEyOCwgWydmMTcnXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSgxMjksIFsnZjE4J10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoMTMwLCBbJ2YxOSddKTtcbiAgbG9jYWxlLmJpbmRLZXlDb2RlKDEzMSwgWydmMjAnXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSgxMzIsIFsnZjIxJ10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoMTMzLCBbJ2YyMiddKTtcbiAgbG9jYWxlLmJpbmRLZXlDb2RlKDEzNCwgWydmMjMnXSk7XG4gIGxvY2FsZS5iaW5kS2V5Q29kZSgxMzUsIFsnZjI0J10pO1xuXG4gIC8vIHNlY29uZGFyeSBrZXkgc3ltYm9sc1xuICBsb2NhbGUuYmluZE1hY3JvKCdzaGlmdCArIGAnLCBbJ3RpbGRlJywgJ34nXSk7XG4gIGxvY2FsZS5iaW5kTWFjcm8oJ3NoaWZ0ICsgMScsIFsnZXhjbGFtYXRpb24nLCAnZXhjbGFtYXRpb25wb2ludCcsICchJ10pO1xuICBsb2NhbGUuYmluZE1hY3JvKCdzaGlmdCArIDInLCBbJ2F0JywgJ0AnXSk7XG4gIGxvY2FsZS5iaW5kTWFjcm8oJ3NoaWZ0ICsgMycsIFsnbnVtYmVyJywgJyMnXSk7XG4gIGxvY2FsZS5iaW5kTWFjcm8oJ3NoaWZ0ICsgNCcsIFsnZG9sbGFyJywgJ2RvbGxhcnMnLCAnZG9sbGFyc2lnbicsICckJ10pO1xuICBsb2NhbGUuYmluZE1hY3JvKCdzaGlmdCArIDUnLCBbJ3BlcmNlbnQnLCAnJSddKTtcbiAgbG9jYWxlLmJpbmRNYWNybygnc2hpZnQgKyA2JywgWydjYXJldCcsICdeJ10pO1xuICBsb2NhbGUuYmluZE1hY3JvKCdzaGlmdCArIDcnLCBbJ2FtcGVyc2FuZCcsICdhbmQnLCAnJiddKTtcbiAgbG9jYWxlLmJpbmRNYWNybygnc2hpZnQgKyA4JywgWydhc3RlcmlzaycsICcqJ10pO1xuICBsb2NhbGUuYmluZE1hY3JvKCdzaGlmdCArIDknLCBbJ29wZW5wYXJlbicsICcoJ10pO1xuICBsb2NhbGUuYmluZE1hY3JvKCdzaGlmdCArIDAnLCBbJ2Nsb3NlcGFyZW4nLCAnKSddKTtcbiAgbG9jYWxlLmJpbmRNYWNybygnc2hpZnQgKyAtJywgWyd1bmRlcnNjb3JlJywgJ18nXSk7XG4gIGxvY2FsZS5iaW5kTWFjcm8oJ3NoaWZ0ICsgPScsIFsncGx1cycsICcrJ10pO1xuICBsb2NhbGUuYmluZE1hY3JvKCdzaGlmdCArIFsnLCBbJ29wZW5jdXJseWJyYWNlJywgJ29wZW5jdXJseWJyYWNrZXQnLCAneyddKTtcbiAgbG9jYWxlLmJpbmRNYWNybygnc2hpZnQgKyBdJywgWydjbG9zZWN1cmx5YnJhY2UnLCAnY2xvc2VjdXJseWJyYWNrZXQnLCAnfSddKTtcbiAgbG9jYWxlLmJpbmRNYWNybygnc2hpZnQgKyBcXFxcJywgWyd2ZXJ0aWNhbGJhcicsICd8J10pO1xuICBsb2NhbGUuYmluZE1hY3JvKCdzaGlmdCArIDsnLCBbJ2NvbG9uJywgJzonXSk7XG4gIGxvY2FsZS5iaW5kTWFjcm8oJ3NoaWZ0ICsgXFwnJywgWydxdW90YXRpb25tYXJrJywgJ1xcJyddKTtcbiAgbG9jYWxlLmJpbmRNYWNybygnc2hpZnQgKyAhLCcsIFsnb3BlbmFuZ2xlYnJhY2tldCcsICc8J10pO1xuICBsb2NhbGUuYmluZE1hY3JvKCdzaGlmdCArIC4nLCBbJ2Nsb3NlYW5nbGVicmFja2V0JywgJz4nXSk7XG4gIGxvY2FsZS5iaW5kTWFjcm8oJ3NoaWZ0ICsgLycsIFsncXVlc3Rpb25tYXJrJywgJz8nXSk7XG5cbiAgaWYgKHBsYXRmb3JtLm1hdGNoKCdNYWMnKSkge1xuICAgIGxvY2FsZS5iaW5kTWFjcm8oJ2NvbW1hbmQnLCBbJ21vZCcsICdtb2RpZmllciddKTtcbiAgfSBlbHNlIHtcbiAgICBsb2NhbGUuYmluZE1hY3JvKCdjdHJsJywgWydtb2QnLCAnbW9kaWZpZXInXSk7XG4gIH1cblxuICAvL2EteiBhbmQgQS1aXG4gIGZvciAobGV0IGtleUNvZGUgPSA2NTsga2V5Q29kZSA8PSA5MDsga2V5Q29kZSArPSAxKSB7XG4gICAgdmFyIGtleU5hbWUgPSBTdHJpbmcuZnJvbUNoYXJDb2RlKGtleUNvZGUgKyAzMik7XG4gICAgdmFyIGNhcGl0YWxLZXlOYW1lID0gU3RyaW5nLmZyb21DaGFyQ29kZShrZXlDb2RlKTtcbiAgXHRsb2NhbGUuYmluZEtleUNvZGUoa2V5Q29kZSwga2V5TmFtZSk7XG4gIFx0bG9jYWxlLmJpbmRNYWNybygnc2hpZnQgKyAnICsga2V5TmFtZSwgY2FwaXRhbEtleU5hbWUpO1xuICBcdGxvY2FsZS5iaW5kTWFjcm8oJ2NhcHNsb2NrICsgJyArIGtleU5hbWUsIGNhcGl0YWxLZXlOYW1lKTtcbiAgfVxuXG4gIC8vIGJyb3dzZXIgY2F2ZWF0c1xuICBjb25zdCBzZW1pY29sb25LZXlDb2RlID0gdXNlckFnZW50Lm1hdGNoKCdGaXJlZm94JykgPyA1OSAgOiAxODY7XG4gIGNvbnN0IGRhc2hLZXlDb2RlICAgICAgPSB1c2VyQWdlbnQubWF0Y2goJ0ZpcmVmb3gnKSA/IDE3MyA6IDE4OTtcbiAgY29uc3QgZXF1YWxLZXlDb2RlICAgICA9IHVzZXJBZ2VudC5tYXRjaCgnRmlyZWZveCcpID8gNjEgIDogMTg3O1xuICBsZXQgbGVmdENvbW1hbmRLZXlDb2RlO1xuICBsZXQgcmlnaHRDb21tYW5kS2V5Q29kZTtcbiAgaWYgKHBsYXRmb3JtLm1hdGNoKCdNYWMnKSAmJiAodXNlckFnZW50Lm1hdGNoKCdTYWZhcmknKSB8fCB1c2VyQWdlbnQubWF0Y2goJ0Nocm9tZScpKSkge1xuICAgIGxlZnRDb21tYW5kS2V5Q29kZSAgPSA5MTtcbiAgICByaWdodENvbW1hbmRLZXlDb2RlID0gOTM7XG4gIH0gZWxzZSBpZihwbGF0Zm9ybS5tYXRjaCgnTWFjJykgJiYgdXNlckFnZW50Lm1hdGNoKCdPcGVyYScpKSB7XG4gICAgbGVmdENvbW1hbmRLZXlDb2RlICA9IDE3O1xuICAgIHJpZ2h0Q29tbWFuZEtleUNvZGUgPSAxNztcbiAgfSBlbHNlIGlmKHBsYXRmb3JtLm1hdGNoKCdNYWMnKSAmJiB1c2VyQWdlbnQubWF0Y2goJ0ZpcmVmb3gnKSkge1xuICAgIGxlZnRDb21tYW5kS2V5Q29kZSAgPSAyMjQ7XG4gICAgcmlnaHRDb21tYW5kS2V5Q29kZSA9IDIyNDtcbiAgfVxuICBsb2NhbGUuYmluZEtleUNvZGUoc2VtaWNvbG9uS2V5Q29kZSwgICAgWydzZW1pY29sb24nLCAnOyddKTtcbiAgbG9jYWxlLmJpbmRLZXlDb2RlKGRhc2hLZXlDb2RlLCAgICAgICAgIFsnZGFzaCcsICctJ10pO1xuICBsb2NhbGUuYmluZEtleUNvZGUoZXF1YWxLZXlDb2RlLCAgICAgICAgWydlcXVhbCcsICdlcXVhbHNpZ24nLCAnPSddKTtcbiAgbG9jYWxlLmJpbmRLZXlDb2RlKGxlZnRDb21tYW5kS2V5Q29kZSwgIFsnY29tbWFuZCcsICd3aW5kb3dzJywgJ3dpbicsICdzdXBlcicsICdsZWZ0Y29tbWFuZCcsICdsZWZ0d2luZG93cycsICdsZWZ0d2luJywgJ2xlZnRzdXBlciddKTtcbiAgbG9jYWxlLmJpbmRLZXlDb2RlKHJpZ2h0Q29tbWFuZEtleUNvZGUsIFsnY29tbWFuZCcsICd3aW5kb3dzJywgJ3dpbicsICdzdXBlcicsICdyaWdodGNvbW1hbmQnLCAncmlnaHR3aW5kb3dzJywgJ3JpZ2h0d2luJywgJ3JpZ2h0c3VwZXInXSk7XG5cbiAgLy8ga2lsbCBrZXlzXG4gIGxvY2FsZS5zZXRLaWxsS2V5KCdjb21tYW5kJyk7XG59O1xuIiwiaW1wb3J0IHsgS2V5Ym9hcmQgfSBmcm9tICcuL2xpYi9rZXlib2FyZCc7XG5pbXBvcnQgeyBMb2NhbGUgfSBmcm9tICcuL2xpYi9sb2NhbGUnO1xuaW1wb3J0IHsgS2V5Q29tYm8gfSBmcm9tICcuL2xpYi9rZXktY29tYm8nO1xuaW1wb3J0IHsgdXMgfSBmcm9tICcuL2xvY2FsZXMvdXMnO1xuXG5jb25zdCBrZXlib2FyZCA9IG5ldyBLZXlib2FyZCgpO1xuXG5rZXlib2FyZC5zZXRMb2NhbGUoJ3VzJywgdXMpO1xuXG5rZXlib2FyZC5LZXlib2FyZCA9IEtleWJvYXJkO1xua2V5Ym9hcmQuTG9jYWxlID0gTG9jYWxlO1xua2V5Ym9hcmQuS2V5Q29tYm8gPSBLZXlDb21ibztcblxuZXhwb3J0IGRlZmF1bHQga2V5Ym9hcmQ7XG4iXSwibmFtZXMiOlsiS2V5Q29tYm8iLCJrZXlDb21ib1N0ciIsInNvdXJjZVN0ciIsInN1YkNvbWJvcyIsInBhcnNlQ29tYm9TdHIiLCJrZXlOYW1lcyIsInJlZHVjZSIsIm1lbW8iLCJuZXh0U3ViQ29tYm8iLCJjb25jYXQiLCJwcmVzc2VkS2V5TmFtZXMiLCJzdGFydGluZ0tleU5hbWVJbmRleCIsImkiLCJsZW5ndGgiLCJfY2hlY2tTdWJDb21ibyIsIm90aGVyS2V5Q29tYm8iLCJzdWJDb21ibyIsIm90aGVyU3ViQ29tYm8iLCJzbGljZSIsImoiLCJrZXlOYW1lIiwiaW5kZXgiLCJpbmRleE9mIiwic3BsaWNlIiwiZW5kSW5kZXgiLCJlc2NhcGVkS2V5TmFtZSIsImNvbWJvRGVsaW1pbmF0b3IiLCJrZXlEZWxpbWluYXRvciIsInN1YkNvbWJvU3RycyIsIl9zcGxpdFN0ciIsImNvbWJvIiwicHVzaCIsInN0ciIsImRlbGltaW5hdG9yIiwicyIsImQiLCJjIiwiY2EiLCJjaSIsInRyaW0iLCJMb2NhbGUiLCJuYW1lIiwibG9jYWxlTmFtZSIsImFjdGl2ZVRhcmdldEtleXMiLCJwcmVzc2VkS2V5cyIsIl9hcHBsaWVkTWFjcm9zIiwiX2tleU1hcCIsIl9raWxsS2V5Q29kZXMiLCJfbWFjcm9zIiwia2V5Q29kZSIsImhhbmRsZXIiLCJtYWNybyIsImtleUNvbWJvIiwia2V5Q29kZXMiLCJnZXRLZXlDb2RlcyIsInNldEtpbGxLZXkiLCJwcmVzc0tleSIsImdldEtleU5hbWVzIiwiX2FwcGx5TWFjcm9zIiwicmVsZWFzZUtleSIsImtpbGxLZXlDb2RlSW5kZXgiLCJfY2xlYXJNYWNyb3MiLCJtYWNyb3MiLCJjaGVjayIsIktleWJvYXJkIiwidGFyZ2V0V2luZG93IiwidGFyZ2V0RWxlbWVudCIsInRhcmdldFBsYXRmb3JtIiwidGFyZ2V0VXNlckFnZW50IiwiX2xvY2FsZSIsIl9jdXJyZW50Q29udGV4dCIsIl9jb250ZXh0cyIsIl9saXN0ZW5lcnMiLCJfYXBwbGllZExpc3RlbmVycyIsIl9sb2NhbGVzIiwiX3RhcmdldEVsZW1lbnQiLCJfdGFyZ2V0V2luZG93IiwiX3RhcmdldFBsYXRmb3JtIiwiX3RhcmdldFVzZXJBZ2VudCIsIl9pc01vZGVybkJyb3dzZXIiLCJfdGFyZ2V0S2V5RG93bkJpbmRpbmciLCJfdGFyZ2V0S2V5VXBCaW5kaW5nIiwiX3RhcmdldFJlc2V0QmluZGluZyIsIl9wYXVzZWQiLCJnbG9iYWwiLCJsaXN0ZW5lcnMiLCJzZXRDb250ZXh0IiwibG9jYWxlQnVpbGRlciIsImxvY2FsZSIsIl9sb2NhbGVOYW1lIiwibG9jYWxOYW1lIiwicHJlc3NIYW5kbGVyIiwicmVsZWFzZUhhbmRsZXIiLCJwcmV2ZW50UmVwZWF0QnlEZWZhdWx0IiwiYmluZCIsInByZXZlbnRSZXBlYXQiLCJleGVjdXRpbmdIYW5kbGVyIiwidW5iaW5kIiwibGlzdGVuZXIiLCJjb21ib01hdGNoZXMiLCJpc0VxdWFsIiwicHJlc3NIYW5kbGVyTWF0Y2hlcyIsInJlbGVhc2VIYW5kbGVyTWF0Y2hlcyIsImNvbnRleHROYW1lIiwicmVsZWFzZUFsbEtleXMiLCJnbG9iYWxDb250ZXh0IiwiY29udGV4dCIsInN0b3AiLCJ3YXRjaCIsImNhbGxiYWNrIiwicHJldmlvdXNDb250ZXh0TmFtZSIsImdldENvbnRleHQiLCJ3aW4iLCJnbG9iYWxUaGlzIiwid2luZG93IiwiYWRkRXZlbnRMaXN0ZW5lciIsImF0dGFjaEV2ZW50IiwiRXJyb3IiLCJub2RlVHlwZSIsInVzZXJBZ2VudCIsIm5hdmlnYXRvciIsInBsYXRmb3JtIiwiZG9jdW1lbnQiLCJldmVudCIsIl9oYW5kbGVDb21tYW5kQnVnIiwiX2JpbmRFdmVudCIsImN1cnJlbnRDb250ZXh0IiwiX3VuYmluZEV2ZW50IiwiX2FwcGx5QmluZGluZ3MiLCJfY2xlYXJCaW5kaW5ncyIsImV2ZW50TmFtZSIsInJlbW92ZUV2ZW50TGlzdGVuZXIiLCJkZXRhY2hFdmVudCIsImxpc3RlbmVyR3JvdXBzIiwibGlzdGVuZXJHcm91cE1hcCIsInNvcnQiLCJhIiwiYiIsImZvckVhY2giLCJsIiwibWFwSW5kZXgiLCJfZ2V0R3JvdXBlZExpc3RlbmVycyIsInNvbWUiLCJrIiwiaW5jbHVkZXMiLCJjYWxsIiwibW9kaWZpZXJLZXlzIiwibWF0Y2giLCJ1cyIsImJpbmRLZXlDb2RlIiwiYmluZE1hY3JvIiwiU3RyaW5nIiwiZnJvbUNoYXJDb2RlIiwiY2FwaXRhbEtleU5hbWUiLCJzZW1pY29sb25LZXlDb2RlIiwiZGFzaEtleUNvZGUiLCJlcXVhbEtleUNvZGUiLCJsZWZ0Q29tbWFuZEtleUNvZGUiLCJyaWdodENvbW1hbmRLZXlDb2RlIiwia2V5Ym9hcmQiLCJzZXRMb2NhbGUiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O01BQ2FBLFFBQWI7RUFDRSxvQkFBWUMsV0FBWixFQUF5QjtFQUFBOztFQUN2QixTQUFLQyxTQUFMLEdBQWlCRCxXQUFqQjtFQUNBLFNBQUtFLFNBQUwsR0FBaUJILFFBQVEsQ0FBQ0ksYUFBVCxDQUF1QkgsV0FBdkIsQ0FBakI7RUFDQSxTQUFLSSxRQUFMLEdBQWlCLEtBQUtGLFNBQUwsQ0FBZUcsTUFBZixDQUFzQixVQUFDQyxJQUFELEVBQU9DLFlBQVA7RUFBQSxhQUNyQ0QsSUFBSSxDQUFDRSxNQUFMLENBQVlELFlBQVosQ0FEcUM7RUFBQSxLQUF0QixFQUNZLEVBRFosQ0FBakI7RUFFRDs7RUFOSDtFQUFBO0VBQUEsMEJBUVFFLGVBUlIsRUFReUI7RUFDckIsVUFBSUMsb0JBQW9CLEdBQUcsQ0FBM0I7O0VBQ0EsV0FBSyxJQUFJQyxDQUFDLEdBQUcsQ0FBYixFQUFnQkEsQ0FBQyxHQUFHLEtBQUtULFNBQUwsQ0FBZVUsTUFBbkMsRUFBMkNELENBQUMsSUFBSSxDQUFoRCxFQUFtRDtFQUNqREQsUUFBQUEsb0JBQW9CLEdBQUcsS0FBS0csY0FBTCxDQUNyQixLQUFLWCxTQUFMLENBQWVTLENBQWYsQ0FEcUIsRUFFckJELG9CQUZxQixFQUdyQkQsZUFIcUIsQ0FBdkI7O0VBS0EsWUFBSUMsb0JBQW9CLEtBQUssQ0FBQyxDQUE5QixFQUFpQztFQUFFLGlCQUFPLEtBQVA7RUFBZTtFQUNuRDs7RUFDRCxhQUFPLElBQVA7RUFDRDtFQW5CSDtFQUFBO0VBQUEsNEJBcUJVSSxhQXJCVixFQXFCeUI7RUFDckIsVUFDRSxDQUFDQSxhQUFELElBQ0EsT0FBT0EsYUFBUCxLQUF5QixRQUF6QixJQUNBLFFBQU9BLGFBQVAsTUFBeUIsUUFIM0IsRUFJRTtFQUFFLGVBQU8sS0FBUDtFQUFlOztFQUVuQixVQUFJLE9BQU9BLGFBQVAsS0FBeUIsUUFBN0IsRUFBdUM7RUFDckNBLFFBQUFBLGFBQWEsR0FBRyxJQUFJZixRQUFKLENBQWFlLGFBQWIsQ0FBaEI7RUFDRDs7RUFFRCxVQUFJLEtBQUtaLFNBQUwsQ0FBZVUsTUFBZixLQUEwQkUsYUFBYSxDQUFDWixTQUFkLENBQXdCVSxNQUF0RCxFQUE4RDtFQUM1RCxlQUFPLEtBQVA7RUFDRDs7RUFDRCxXQUFLLElBQUlELENBQUMsR0FBRyxDQUFiLEVBQWdCQSxDQUFDLEdBQUcsS0FBS1QsU0FBTCxDQUFlVSxNQUFuQyxFQUEyQ0QsQ0FBQyxJQUFJLENBQWhELEVBQW1EO0VBQ2pELFlBQUksS0FBS1QsU0FBTCxDQUFlUyxDQUFmLEVBQWtCQyxNQUFsQixLQUE2QkUsYUFBYSxDQUFDWixTQUFkLENBQXdCUyxDQUF4QixFQUEyQkMsTUFBNUQsRUFBb0U7RUFDbEUsaUJBQU8sS0FBUDtFQUNEO0VBQ0Y7O0VBRUQsV0FBSyxJQUFJRCxFQUFDLEdBQUcsQ0FBYixFQUFnQkEsRUFBQyxHQUFHLEtBQUtULFNBQUwsQ0FBZVUsTUFBbkMsRUFBMkNELEVBQUMsSUFBSSxDQUFoRCxFQUFtRDtFQUNqRCxZQUFNSSxRQUFRLEdBQVEsS0FBS2IsU0FBTCxDQUFlUyxFQUFmLENBQXRCOztFQUNBLFlBQU1LLGFBQWEsR0FBR0YsYUFBYSxDQUFDWixTQUFkLENBQXdCUyxFQUF4QixFQUEyQk0sS0FBM0IsQ0FBaUMsQ0FBakMsQ0FBdEI7O0VBRUEsYUFBSyxJQUFJQyxDQUFDLEdBQUcsQ0FBYixFQUFnQkEsQ0FBQyxHQUFHSCxRQUFRLENBQUNILE1BQTdCLEVBQXFDTSxDQUFDLElBQUksQ0FBMUMsRUFBNkM7RUFDM0MsY0FBTUMsT0FBTyxHQUFHSixRQUFRLENBQUNHLENBQUQsQ0FBeEI7RUFDQSxjQUFNRSxLQUFLLEdBQUtKLGFBQWEsQ0FBQ0ssT0FBZCxDQUFzQkYsT0FBdEIsQ0FBaEI7O0VBRUEsY0FBSUMsS0FBSyxHQUFHLENBQUMsQ0FBYixFQUFnQjtFQUNkSixZQUFBQSxhQUFhLENBQUNNLE1BQWQsQ0FBcUJGLEtBQXJCLEVBQTRCLENBQTVCO0VBQ0Q7RUFDRjs7RUFDRCxZQUFJSixhQUFhLENBQUNKLE1BQWQsS0FBeUIsQ0FBN0IsRUFBZ0M7RUFDOUIsaUJBQU8sS0FBUDtFQUNEO0VBQ0Y7O0VBRUQsYUFBTyxJQUFQO0VBQ0Q7RUEzREg7RUFBQTtFQUFBLG1DQTZEaUJHLFFBN0RqQixFQTZEMkJMLG9CQTdEM0IsRUE2RGlERCxlQTdEakQsRUE2RGtFO0VBQzlETSxNQUFBQSxRQUFRLEdBQUdBLFFBQVEsQ0FBQ0UsS0FBVCxDQUFlLENBQWYsQ0FBWDtFQUNBUixNQUFBQSxlQUFlLEdBQUdBLGVBQWUsQ0FBQ1EsS0FBaEIsQ0FBc0JQLG9CQUF0QixDQUFsQjtFQUVBLFVBQUlhLFFBQVEsR0FBR2Isb0JBQWY7O0VBQ0EsV0FBSyxJQUFJQyxDQUFDLEdBQUcsQ0FBYixFQUFnQkEsQ0FBQyxHQUFHSSxRQUFRLENBQUNILE1BQTdCLEVBQXFDRCxDQUFDLElBQUksQ0FBMUMsRUFBNkM7RUFFM0MsWUFBSVEsT0FBTyxHQUFHSixRQUFRLENBQUNKLENBQUQsQ0FBdEI7O0VBQ0EsWUFBSVEsT0FBTyxDQUFDLENBQUQsQ0FBUCxLQUFlLElBQW5CLEVBQXlCO0VBQ3ZCLGNBQU1LLGNBQWMsR0FBR0wsT0FBTyxDQUFDRixLQUFSLENBQWMsQ0FBZCxDQUF2Qjs7RUFDQSxjQUNFTyxjQUFjLEtBQUt6QixRQUFRLENBQUMwQixnQkFBNUIsSUFDQUQsY0FBYyxLQUFLekIsUUFBUSxDQUFDMkIsY0FGOUIsRUFHRTtFQUNBUCxZQUFBQSxPQUFPLEdBQUdLLGNBQVY7RUFDRDtFQUNGOztFQUVELFlBQU1KLEtBQUssR0FBR1gsZUFBZSxDQUFDWSxPQUFoQixDQUF3QkYsT0FBeEIsQ0FBZDs7RUFDQSxZQUFJQyxLQUFLLEdBQUcsQ0FBQyxDQUFiLEVBQWdCO0VBQ2RMLFVBQUFBLFFBQVEsQ0FBQ08sTUFBVCxDQUFnQlgsQ0FBaEIsRUFBbUIsQ0FBbkI7RUFDQUEsVUFBQUEsQ0FBQyxJQUFJLENBQUw7O0VBQ0EsY0FBSVMsS0FBSyxHQUFHRyxRQUFaLEVBQXNCO0VBQ3BCQSxZQUFBQSxRQUFRLEdBQUdILEtBQVg7RUFDRDs7RUFDRCxjQUFJTCxRQUFRLENBQUNILE1BQVQsS0FBb0IsQ0FBeEIsRUFBMkI7RUFDekIsbUJBQU9XLFFBQVA7RUFDRDtFQUNGO0VBQ0Y7O0VBQ0QsYUFBTyxDQUFDLENBQVI7RUFDRDtFQTVGSDs7RUFBQTtFQUFBO0VBK0ZBeEIsUUFBUSxDQUFDMEIsZ0JBQVQsR0FBNEIsR0FBNUI7RUFDQTFCLFFBQVEsQ0FBQzJCLGNBQVQsR0FBNEIsR0FBNUI7O0VBRUEzQixRQUFRLENBQUNJLGFBQVQsR0FBeUIsVUFBU0gsV0FBVCxFQUFzQjtFQUM3QyxNQUFNMkIsWUFBWSxHQUFHNUIsUUFBUSxDQUFDNkIsU0FBVCxDQUFtQjVCLFdBQW5CLEVBQWdDRCxRQUFRLENBQUMwQixnQkFBekMsQ0FBckI7O0VBQ0EsTUFBTUksS0FBSyxHQUFVLEVBQXJCOztFQUVBLE9BQUssSUFBSWxCLENBQUMsR0FBRyxDQUFiLEVBQWlCQSxDQUFDLEdBQUdnQixZQUFZLENBQUNmLE1BQWxDLEVBQTBDRCxDQUFDLElBQUksQ0FBL0MsRUFBa0Q7RUFDaERrQixJQUFBQSxLQUFLLENBQUNDLElBQU4sQ0FBVy9CLFFBQVEsQ0FBQzZCLFNBQVQsQ0FBbUJELFlBQVksQ0FBQ2hCLENBQUQsQ0FBL0IsRUFBb0NaLFFBQVEsQ0FBQzJCLGNBQTdDLENBQVg7RUFDRDs7RUFDRCxTQUFPRyxLQUFQO0VBQ0QsQ0FSRDs7RUFVQTlCLFFBQVEsQ0FBQzZCLFNBQVQsR0FBcUIsVUFBU0csR0FBVCxFQUFjQyxXQUFkLEVBQTJCO0VBQzlDLE1BQU1DLENBQUMsR0FBSUYsR0FBWDtFQUNBLE1BQU1HLENBQUMsR0FBSUYsV0FBWDtFQUNBLE1BQUlHLENBQUMsR0FBSSxFQUFUO0VBQ0EsTUFBTUMsRUFBRSxHQUFHLEVBQVg7O0VBRUEsT0FBSyxJQUFJQyxFQUFFLEdBQUcsQ0FBZCxFQUFpQkEsRUFBRSxHQUFHSixDQUFDLENBQUNyQixNQUF4QixFQUFnQ3lCLEVBQUUsSUFBSSxDQUF0QyxFQUF5QztFQUN2QyxRQUFJQSxFQUFFLEdBQUcsQ0FBTCxJQUFVSixDQUFDLENBQUNJLEVBQUQsQ0FBRCxLQUFVSCxDQUFwQixJQUF5QkQsQ0FBQyxDQUFDSSxFQUFFLEdBQUcsQ0FBTixDQUFELEtBQWMsSUFBM0MsRUFBaUQ7RUFDL0NELE1BQUFBLEVBQUUsQ0FBQ04sSUFBSCxDQUFRSyxDQUFDLENBQUNHLElBQUYsRUFBUjtFQUNBSCxNQUFBQSxDQUFDLEdBQUcsRUFBSjtFQUNBRSxNQUFBQSxFQUFFLElBQUksQ0FBTjtFQUNEOztFQUNERixJQUFBQSxDQUFDLElBQUlGLENBQUMsQ0FBQ0ksRUFBRCxDQUFOO0VBQ0Q7O0VBQ0QsTUFBSUYsQ0FBSixFQUFPO0VBQUVDLElBQUFBLEVBQUUsQ0FBQ04sSUFBSCxDQUFRSyxDQUFDLENBQUNHLElBQUYsRUFBUjtFQUFvQjs7RUFFN0IsU0FBT0YsRUFBUDtFQUNELENBakJEOztNQzFHYUcsTUFBYjtFQUNFLGtCQUFZQyxJQUFaLEVBQWtCO0VBQUE7O0VBQ2hCLFNBQUtDLFVBQUwsR0FBMkJELElBQTNCO0VBQ0EsU0FBS0UsZ0JBQUwsR0FBd0IsRUFBeEI7RUFDQSxTQUFLQyxXQUFMLEdBQTJCLEVBQTNCO0VBQ0EsU0FBS0MsY0FBTCxHQUEyQixFQUEzQjtFQUNBLFNBQUtDLE9BQUwsR0FBMkIsRUFBM0I7RUFDQSxTQUFLQyxhQUFMLEdBQTJCLEVBQTNCO0VBQ0EsU0FBS0MsT0FBTCxHQUEyQixFQUEzQjtFQUNEOztFQVRIO0VBQUE7RUFBQSxnQ0FXY0MsT0FYZCxFQVd1QjVDLFFBWHZCLEVBV2lDO0VBQzdCLFVBQUksT0FBT0EsUUFBUCxLQUFvQixRQUF4QixFQUFrQztFQUNoQ0EsUUFBQUEsUUFBUSxHQUFHLENBQUNBLFFBQUQsQ0FBWDtFQUNEOztFQUVELFdBQUt5QyxPQUFMLENBQWFHLE9BQWIsSUFBd0I1QyxRQUF4QjtFQUNEO0VBakJIO0VBQUE7RUFBQSw4QkFtQllKLFdBbkJaLEVBbUJ5QkksUUFuQnpCLEVBbUJtQztFQUMvQixVQUFJLE9BQU9BLFFBQVAsS0FBb0IsUUFBeEIsRUFBa0M7RUFDaENBLFFBQUFBLFFBQVEsR0FBRyxDQUFFQSxRQUFGLENBQVg7RUFDRDs7RUFFRCxVQUFJNkMsT0FBTyxHQUFHLElBQWQ7O0VBQ0EsVUFBSSxPQUFPN0MsUUFBUCxLQUFvQixVQUF4QixFQUFvQztFQUNsQzZDLFFBQUFBLE9BQU8sR0FBRzdDLFFBQVY7RUFDQUEsUUFBQUEsUUFBUSxHQUFHLElBQVg7RUFDRDs7RUFFRCxVQUFNOEMsS0FBSyxHQUFHO0VBQ1pDLFFBQUFBLFFBQVEsRUFBRyxJQUFJcEQsUUFBSixDQUFhQyxXQUFiLENBREM7RUFFWkksUUFBQUEsUUFBUSxFQUFHQSxRQUZDO0VBR1o2QyxRQUFBQSxPQUFPLEVBQUlBO0VBSEMsT0FBZDs7RUFNQSxXQUFLRixPQUFMLENBQWFqQixJQUFiLENBQWtCb0IsS0FBbEI7RUFDRDtFQXJDSDtFQUFBO0VBQUEsZ0NBdUNjL0IsT0F2Q2QsRUF1Q3VCO0VBQ25CLFVBQU1pQyxRQUFRLEdBQUcsRUFBakI7O0VBQ0EsV0FBSyxJQUFNSixPQUFYLElBQXNCLEtBQUtILE9BQTNCLEVBQW9DO0VBQ2xDLFlBQU16QixLQUFLLEdBQUcsS0FBS3lCLE9BQUwsQ0FBYUcsT0FBYixFQUFzQjNCLE9BQXRCLENBQThCRixPQUE5QixDQUFkOztFQUNBLFlBQUlDLEtBQUssR0FBRyxDQUFDLENBQWIsRUFBZ0I7RUFBRWdDLFVBQUFBLFFBQVEsQ0FBQ3RCLElBQVQsQ0FBY2tCLE9BQU8sR0FBQyxDQUF0QjtFQUEyQjtFQUM5Qzs7RUFDRCxhQUFPSSxRQUFQO0VBQ0Q7RUE5Q0g7RUFBQTtFQUFBLGdDQWdEY0osT0FoRGQsRUFnRHVCO0VBQ25CLGFBQU8sS0FBS0gsT0FBTCxDQUFhRyxPQUFiLEtBQXlCLEVBQWhDO0VBQ0Q7RUFsREg7RUFBQTtFQUFBLCtCQW9EYUEsT0FwRGIsRUFvRHNCO0VBQ2xCLFVBQUksT0FBT0EsT0FBUCxLQUFtQixRQUF2QixFQUFpQztFQUMvQixZQUFNSSxRQUFRLEdBQUcsS0FBS0MsV0FBTCxDQUFpQkwsT0FBakIsQ0FBakI7O0VBQ0EsYUFBSyxJQUFJckMsQ0FBQyxHQUFHLENBQWIsRUFBZ0JBLENBQUMsR0FBR3lDLFFBQVEsQ0FBQ3hDLE1BQTdCLEVBQXFDRCxDQUFDLElBQUksQ0FBMUMsRUFBNkM7RUFDM0MsZUFBSzJDLFVBQUwsQ0FBZ0JGLFFBQVEsQ0FBQ3pDLENBQUQsQ0FBeEI7RUFDRDs7RUFDRDtFQUNEOztFQUVELFdBQUttQyxhQUFMLENBQW1CaEIsSUFBbkIsQ0FBd0JrQixPQUF4QjtFQUNEO0VBOURIO0VBQUE7RUFBQSw2QkFnRVdBLE9BaEVYLEVBZ0VvQjtFQUNoQixVQUFJLE9BQU9BLE9BQVAsS0FBbUIsUUFBdkIsRUFBaUM7RUFDL0IsWUFBTUksUUFBUSxHQUFHLEtBQUtDLFdBQUwsQ0FBaUJMLE9BQWpCLENBQWpCOztFQUNBLGFBQUssSUFBSXJDLENBQUMsR0FBRyxDQUFiLEVBQWdCQSxDQUFDLEdBQUd5QyxRQUFRLENBQUN4QyxNQUE3QixFQUFxQ0QsQ0FBQyxJQUFJLENBQTFDLEVBQTZDO0VBQzNDLGVBQUs0QyxRQUFMLENBQWNILFFBQVEsQ0FBQ3pDLENBQUQsQ0FBdEI7RUFDRDs7RUFDRDtFQUNEOztFQUVELFdBQUsrQixnQkFBTCxDQUFzQjlCLE1BQXRCLEdBQStCLENBQS9CO0VBQ0EsVUFBTVIsUUFBUSxHQUFHLEtBQUtvRCxXQUFMLENBQWlCUixPQUFqQixDQUFqQjs7RUFDQSxXQUFLLElBQUlyQyxFQUFDLEdBQUcsQ0FBYixFQUFnQkEsRUFBQyxHQUFHUCxRQUFRLENBQUNRLE1BQTdCLEVBQXFDRCxFQUFDLElBQUksQ0FBMUMsRUFBNkM7RUFDM0MsYUFBSytCLGdCQUFMLENBQXNCWixJQUF0QixDQUEyQjFCLFFBQVEsQ0FBQ08sRUFBRCxDQUFuQzs7RUFDQSxZQUFJLEtBQUtnQyxXQUFMLENBQWlCdEIsT0FBakIsQ0FBeUJqQixRQUFRLENBQUNPLEVBQUQsQ0FBakMsTUFBMEMsQ0FBQyxDQUEvQyxFQUFrRDtFQUNoRCxlQUFLZ0MsV0FBTCxDQUFpQmIsSUFBakIsQ0FBc0IxQixRQUFRLENBQUNPLEVBQUQsQ0FBOUI7RUFDRDtFQUNGOztFQUVELFdBQUs4QyxZQUFMO0VBQ0Q7RUFuRkg7RUFBQTtFQUFBLCtCQXFGYVQsT0FyRmIsRUFxRnNCO0VBQ2xCLFVBQUksT0FBT0EsT0FBUCxLQUFtQixRQUF2QixFQUFpQztFQUMvQixZQUFNSSxRQUFRLEdBQUcsS0FBS0MsV0FBTCxDQUFpQkwsT0FBakIsQ0FBakI7O0VBQ0EsYUFBSyxJQUFJckMsQ0FBQyxHQUFHLENBQWIsRUFBZ0JBLENBQUMsR0FBR3lDLFFBQVEsQ0FBQ3hDLE1BQTdCLEVBQXFDRCxDQUFDLElBQUksQ0FBMUMsRUFBNkM7RUFDM0MsZUFBSytDLFVBQUwsQ0FBZ0JOLFFBQVEsQ0FBQ3pDLENBQUQsQ0FBeEI7RUFDRDtFQUVGLE9BTkQsTUFNTztFQUNMLFlBQU1QLFFBQVEsR0FBVyxLQUFLb0QsV0FBTCxDQUFpQlIsT0FBakIsQ0FBekI7O0VBQ0EsWUFBTVcsZ0JBQWdCLEdBQUcsS0FBS2IsYUFBTCxDQUFtQnpCLE9BQW5CLENBQTJCMkIsT0FBM0IsQ0FBekI7O0VBRUEsWUFBSVcsZ0JBQWdCLEtBQUssQ0FBQyxDQUExQixFQUE2QjtFQUMzQixlQUFLaEIsV0FBTCxDQUFpQi9CLE1BQWpCLEdBQTBCLENBQTFCO0VBQ0QsU0FGRCxNQUVPO0VBQ0wsZUFBSyxJQUFJRCxHQUFDLEdBQUcsQ0FBYixFQUFnQkEsR0FBQyxHQUFHUCxRQUFRLENBQUNRLE1BQTdCLEVBQXFDRCxHQUFDLElBQUksQ0FBMUMsRUFBNkM7RUFDM0MsZ0JBQU1TLEtBQUssR0FBRyxLQUFLdUIsV0FBTCxDQUFpQnRCLE9BQWpCLENBQXlCakIsUUFBUSxDQUFDTyxHQUFELENBQWpDLENBQWQ7O0VBQ0EsZ0JBQUlTLEtBQUssR0FBRyxDQUFDLENBQWIsRUFBZ0I7RUFDZCxtQkFBS3VCLFdBQUwsQ0FBaUJyQixNQUFqQixDQUF3QkYsS0FBeEIsRUFBK0IsQ0FBL0I7RUFDRDtFQUNGO0VBQ0Y7O0VBRUQsYUFBS3NCLGdCQUFMLENBQXNCOUIsTUFBdEIsR0FBK0IsQ0FBL0I7O0VBQ0EsYUFBS2dELFlBQUw7RUFDRDtFQUNGO0VBOUdIO0VBQUE7RUFBQSxtQ0FnSGlCO0VBQ2IsVUFBTUMsTUFBTSxHQUFHLEtBQUtkLE9BQUwsQ0FBYTlCLEtBQWIsQ0FBbUIsQ0FBbkIsQ0FBZjs7RUFDQSxXQUFLLElBQUlOLENBQUMsR0FBRyxDQUFiLEVBQWdCQSxDQUFDLEdBQUdrRCxNQUFNLENBQUNqRCxNQUEzQixFQUFtQ0QsQ0FBQyxJQUFJLENBQXhDLEVBQTJDO0VBQ3pDLFlBQU11QyxLQUFLLEdBQUdXLE1BQU0sQ0FBQ2xELENBQUQsQ0FBcEI7O0VBQ0EsWUFBSXVDLEtBQUssQ0FBQ0MsUUFBTixDQUFlVyxLQUFmLENBQXFCLEtBQUtuQixXQUExQixDQUFKLEVBQTRDO0VBQzFDLGNBQUlPLEtBQUssQ0FBQ0QsT0FBVixFQUFtQjtFQUNqQkMsWUFBQUEsS0FBSyxDQUFDOUMsUUFBTixHQUFpQjhDLEtBQUssQ0FBQ0QsT0FBTixDQUFjLEtBQUtOLFdBQW5CLENBQWpCO0VBQ0Q7O0VBQ0QsZUFBSyxJQUFJekIsQ0FBQyxHQUFHLENBQWIsRUFBZ0JBLENBQUMsR0FBR2dDLEtBQUssQ0FBQzlDLFFBQU4sQ0FBZVEsTUFBbkMsRUFBMkNNLENBQUMsSUFBSSxDQUFoRCxFQUFtRDtFQUNqRCxnQkFBSSxLQUFLeUIsV0FBTCxDQUFpQnRCLE9BQWpCLENBQXlCNkIsS0FBSyxDQUFDOUMsUUFBTixDQUFlYyxDQUFmLENBQXpCLE1BQWdELENBQUMsQ0FBckQsRUFBd0Q7RUFDdEQsbUJBQUt5QixXQUFMLENBQWlCYixJQUFqQixDQUFzQm9CLEtBQUssQ0FBQzlDLFFBQU4sQ0FBZWMsQ0FBZixDQUF0QjtFQUNEO0VBQ0Y7O0VBQ0QsZUFBSzBCLGNBQUwsQ0FBb0JkLElBQXBCLENBQXlCb0IsS0FBekI7RUFDRDtFQUNGO0VBQ0Y7RUFoSUg7RUFBQTtFQUFBLG1DQWtJaUI7RUFDYixXQUFLLElBQUl2QyxDQUFDLEdBQUcsQ0FBYixFQUFnQkEsQ0FBQyxHQUFHLEtBQUtpQyxjQUFMLENBQW9CaEMsTUFBeEMsRUFBZ0RELENBQUMsSUFBSSxDQUFyRCxFQUF3RDtFQUN0RCxZQUFNdUMsS0FBSyxHQUFHLEtBQUtOLGNBQUwsQ0FBb0JqQyxDQUFwQixDQUFkOztFQUNBLFlBQUksQ0FBQ3VDLEtBQUssQ0FBQ0MsUUFBTixDQUFlVyxLQUFmLENBQXFCLEtBQUtuQixXQUExQixDQUFMLEVBQTZDO0VBQzNDLGVBQUssSUFBSXpCLENBQUMsR0FBRyxDQUFiLEVBQWdCQSxDQUFDLEdBQUdnQyxLQUFLLENBQUM5QyxRQUFOLENBQWVRLE1BQW5DLEVBQTJDTSxDQUFDLElBQUksQ0FBaEQsRUFBbUQ7RUFDakQsZ0JBQU1FLEtBQUssR0FBRyxLQUFLdUIsV0FBTCxDQUFpQnRCLE9BQWpCLENBQXlCNkIsS0FBSyxDQUFDOUMsUUFBTixDQUFlYyxDQUFmLENBQXpCLENBQWQ7O0VBQ0EsZ0JBQUlFLEtBQUssR0FBRyxDQUFDLENBQWIsRUFBZ0I7RUFDZCxtQkFBS3VCLFdBQUwsQ0FBaUJyQixNQUFqQixDQUF3QkYsS0FBeEIsRUFBK0IsQ0FBL0I7RUFDRDtFQUNGOztFQUNELGNBQUk4QixLQUFLLENBQUNELE9BQVYsRUFBbUI7RUFDakJDLFlBQUFBLEtBQUssQ0FBQzlDLFFBQU4sR0FBaUIsSUFBakI7RUFDRDs7RUFDRCxlQUFLd0MsY0FBTCxDQUFvQnRCLE1BQXBCLENBQTJCWCxDQUEzQixFQUE4QixDQUE5Qjs7RUFDQUEsVUFBQUEsQ0FBQyxJQUFJLENBQUw7RUFDRDtFQUNGO0VBQ0Y7RUFuSkg7O0VBQUE7RUFBQTs7TUNDYW9ELFFBQWI7RUFDRSxvQkFBWUMsWUFBWixFQUEwQkMsYUFBMUIsRUFBeUNDLGNBQXpDLEVBQXlEQyxlQUF6RCxFQUEwRTtFQUFBOztFQUN4RSxTQUFLQyxPQUFMLEdBQTZCLElBQTdCO0VBQ0EsU0FBS0MsZUFBTCxHQUE2QixFQUE3QjtFQUNBLFNBQUtDLFNBQUwsR0FBNkIsRUFBN0I7RUFDQSxTQUFLQyxVQUFMLEdBQTZCLEVBQTdCO0VBQ0EsU0FBS0MsaUJBQUwsR0FBNkIsRUFBN0I7RUFDQSxTQUFLQyxRQUFMLEdBQTZCLEVBQTdCO0VBQ0EsU0FBS0MsY0FBTCxHQUE2QixJQUE3QjtFQUNBLFNBQUtDLGFBQUwsR0FBNkIsSUFBN0I7RUFDQSxTQUFLQyxlQUFMLEdBQTZCLEVBQTdCO0VBQ0EsU0FBS0MsZ0JBQUwsR0FBNkIsRUFBN0I7RUFDQSxTQUFLQyxnQkFBTCxHQUE2QixLQUE3QjtFQUNBLFNBQUtDLHFCQUFMLEdBQTZCLElBQTdCO0VBQ0EsU0FBS0MsbUJBQUwsR0FBNkIsSUFBN0I7RUFDQSxTQUFLQyxtQkFBTCxHQUE2QixJQUE3QjtFQUNBLFNBQUtDLE9BQUwsR0FBNkIsS0FBN0I7RUFFQSxTQUFLWixTQUFMLENBQWVhLE1BQWYsR0FBd0I7RUFDdEJDLE1BQUFBLFNBQVMsRUFBRSxLQUFLYixVQURNO0VBRXRCUCxNQUFBQSxZQUFZLEVBQVpBLFlBRnNCO0VBR3RCQyxNQUFBQSxhQUFhLEVBQWJBLGFBSHNCO0VBSXRCQyxNQUFBQSxjQUFjLEVBQWRBLGNBSnNCO0VBS3RCQyxNQUFBQSxlQUFlLEVBQWZBO0VBTHNCLEtBQXhCO0VBUUEsU0FBS2tCLFVBQUwsQ0FBZ0IsUUFBaEI7RUFDRDs7RUEzQkg7RUFBQTtFQUFBLDhCQTZCWTVDLFVBN0JaLEVBNkJ3QjZDLGFBN0J4QixFQTZCdUM7RUFDbkMsVUFBSUMsTUFBTSxHQUFHLElBQWI7O0VBQ0EsVUFBSSxPQUFPOUMsVUFBUCxLQUFzQixRQUExQixFQUFvQztFQUVsQyxZQUFJNkMsYUFBSixFQUFtQjtFQUNqQkMsVUFBQUEsTUFBTSxHQUFHLElBQUloRCxNQUFKLENBQVdFLFVBQVgsQ0FBVDtFQUNBNkMsVUFBQUEsYUFBYSxDQUFDQyxNQUFELEVBQVMsS0FBS1gsZUFBZCxFQUErQixLQUFLQyxnQkFBcEMsQ0FBYjtFQUNELFNBSEQsTUFHTztFQUNMVSxVQUFBQSxNQUFNLEdBQUcsS0FBS2QsUUFBTCxDQUFjaEMsVUFBZCxLQUE2QixJQUF0QztFQUNEO0VBQ0YsT0FSRCxNQVFPO0VBQ0w4QyxRQUFBQSxNQUFNLEdBQU85QyxVQUFiO0VBQ0FBLFFBQUFBLFVBQVUsR0FBRzhDLE1BQU0sQ0FBQ0MsV0FBcEI7RUFDRDs7RUFFRCxXQUFLcEIsT0FBTCxHQUE0Qm1CLE1BQTVCO0VBQ0EsV0FBS2QsUUFBTCxDQUFjaEMsVUFBZCxJQUE0QjhDLE1BQTVCOztFQUNBLFVBQUlBLE1BQUosRUFBWTtFQUNWLGFBQUtuQixPQUFMLENBQWF6QixXQUFiLEdBQTJCNEMsTUFBTSxDQUFDNUMsV0FBbEM7RUFDRDs7RUFFRCxhQUFPLElBQVA7RUFDRDtFQW5ESDtFQUFBO0VBQUEsOEJBcURZOEMsU0FyRFosRUFxRHVCO0VBQ25CQSxNQUFBQSxTQUFTLEtBQUtBLFNBQVMsR0FBRyxLQUFLckIsT0FBTCxDQUFhM0IsVUFBOUIsQ0FBVDtFQUNBLGFBQU8sS0FBS2dDLFFBQUwsQ0FBY2dCLFNBQWQsS0FBNEIsSUFBbkM7RUFDRDtFQXhESDtFQUFBO0VBQUEseUJBMERPekYsV0ExRFAsRUEwRG9CMEYsWUExRHBCLEVBMERrQ0MsY0ExRGxDLEVBMERrREMsc0JBMURsRCxFQTBEMEU7RUFDdEUsVUFBSTVGLFdBQVcsS0FBSyxJQUFoQixJQUF3QixPQUFPQSxXQUFQLEtBQXVCLFVBQW5ELEVBQStEO0VBQzdENEYsUUFBQUEsc0JBQXNCLEdBQUdELGNBQXpCO0VBQ0FBLFFBQUFBLGNBQWMsR0FBV0QsWUFBekI7RUFDQUEsUUFBQUEsWUFBWSxHQUFhMUYsV0FBekI7RUFDQUEsUUFBQUEsV0FBVyxHQUFjLElBQXpCO0VBQ0Q7O0VBRUQsVUFDRUEsV0FBVyxJQUNYLFFBQU9BLFdBQVAsTUFBdUIsUUFEdkIsSUFFQSxPQUFPQSxXQUFXLENBQUNZLE1BQW5CLEtBQThCLFFBSGhDLEVBSUU7RUFDQSxhQUFLLElBQUlELENBQUMsR0FBRyxDQUFiLEVBQWdCQSxDQUFDLEdBQUdYLFdBQVcsQ0FBQ1ksTUFBaEMsRUFBd0NELENBQUMsSUFBSSxDQUE3QyxFQUFnRDtFQUM5QyxlQUFLa0YsSUFBTCxDQUFVN0YsV0FBVyxDQUFDVyxDQUFELENBQXJCLEVBQTBCK0UsWUFBMUIsRUFBd0NDLGNBQXhDO0VBQ0Q7O0VBQ0QsZUFBTyxJQUFQO0VBQ0Q7O0VBRUQsV0FBS3BCLFVBQUwsQ0FBZ0J6QyxJQUFoQixDQUFxQjtFQUNuQnFCLFFBQUFBLFFBQVEsRUFBZ0JuRCxXQUFXLEdBQUcsSUFBSUQsUUFBSixDQUFhQyxXQUFiLENBQUgsR0FBK0IsSUFEL0M7RUFFbkIwRixRQUFBQSxZQUFZLEVBQVlBLFlBQVksSUFBYyxJQUYvQjtFQUduQkMsUUFBQUEsY0FBYyxFQUFVQSxjQUFjLElBQVksSUFIL0I7RUFJbkJHLFFBQUFBLGFBQWEsRUFBV0Ysc0JBQXNCLElBQUksS0FKL0I7RUFLbkJBLFFBQUFBLHNCQUFzQixFQUFFQSxzQkFBc0IsSUFBSSxLQUwvQjtFQU1uQkcsUUFBQUEsZ0JBQWdCLEVBQVE7RUFOTCxPQUFyQjs7RUFTQSxhQUFPLElBQVA7RUFDRDtFQXZGSDtFQUFBO0VBQUEsZ0NBeUZjL0YsV0F6RmQsRUF5RjJCMEYsWUF6RjNCLEVBeUZ5Q0MsY0F6RnpDLEVBeUZ5REMsc0JBekZ6RCxFQXlGaUY7RUFDN0UsYUFBTyxLQUFLQyxJQUFMLENBQVU3RixXQUFWLEVBQXVCMEYsWUFBdkIsRUFBcUNDLGNBQXJDLEVBQXFEQyxzQkFBckQsQ0FBUDtFQUNEO0VBM0ZIO0VBQUE7RUFBQSx1QkE2Rks1RixXQTdGTCxFQTZGa0IwRixZQTdGbEIsRUE2RmdDQyxjQTdGaEMsRUE2RmdEQyxzQkE3RmhELEVBNkZ3RTtFQUNwRSxhQUFPLEtBQUtDLElBQUwsQ0FBVTdGLFdBQVYsRUFBdUIwRixZQUF2QixFQUFxQ0MsY0FBckMsRUFBcURDLHNCQUFyRCxDQUFQO0VBQ0Q7RUEvRkg7RUFBQTtFQUFBLDhCQWlHWTVGLFdBakdaLEVBaUd5QjBGLFlBakd6QixFQWlHdUNFLHNCQWpHdkMsRUFpRytEO0VBQzNELGFBQU8sS0FBS0MsSUFBTCxDQUFVN0YsV0FBVixFQUF1QjBGLFlBQXZCLEVBQXFDLElBQXJDLEVBQTJDRSxzQkFBM0MsQ0FBUDtFQUNEO0VBbkdIO0VBQUE7RUFBQSxnQ0FxR2M1RixXQXJHZCxFQXFHMkIyRixjQXJHM0IsRUFxRzJDO0VBQ3ZDLGFBQU8sS0FBS0UsSUFBTCxDQUFVN0YsV0FBVixFQUF1QixJQUF2QixFQUE2QjJGLGNBQTdCLEVBQTZDQyxzQkFBN0MsQ0FBUDtFQUNEO0VBdkdIO0VBQUE7RUFBQSwyQkF5R1M1RixXQXpHVCxFQXlHc0IwRixZQXpHdEIsRUF5R29DQyxjQXpHcEMsRUF5R29EO0VBQ2hELFVBQUkzRixXQUFXLEtBQUssSUFBaEIsSUFBd0IsT0FBT0EsV0FBUCxLQUF1QixVQUFuRCxFQUErRDtFQUM3RDJGLFFBQUFBLGNBQWMsR0FBR0QsWUFBakI7RUFDQUEsUUFBQUEsWUFBWSxHQUFLMUYsV0FBakI7RUFDQUEsUUFBQUEsV0FBVyxHQUFHLElBQWQ7RUFDRDs7RUFFRCxVQUNFQSxXQUFXLElBQ1gsUUFBT0EsV0FBUCxNQUF1QixRQUR2QixJQUVBLE9BQU9BLFdBQVcsQ0FBQ1ksTUFBbkIsS0FBOEIsUUFIaEMsRUFJRTtFQUNBLGFBQUssSUFBSUQsQ0FBQyxHQUFHLENBQWIsRUFBZ0JBLENBQUMsR0FBR1gsV0FBVyxDQUFDWSxNQUFoQyxFQUF3Q0QsQ0FBQyxJQUFJLENBQTdDLEVBQWdEO0VBQzlDLGVBQUtxRixNQUFMLENBQVloRyxXQUFXLENBQUNXLENBQUQsQ0FBdkIsRUFBNEIrRSxZQUE1QixFQUEwQ0MsY0FBMUM7RUFDRDs7RUFDRCxlQUFPLElBQVA7RUFDRDs7RUFFRCxXQUFLLElBQUloRixFQUFDLEdBQUcsQ0FBYixFQUFnQkEsRUFBQyxHQUFHLEtBQUs0RCxVQUFMLENBQWdCM0QsTUFBcEMsRUFBNENELEVBQUMsSUFBSSxDQUFqRCxFQUFvRDtFQUNsRCxZQUFNc0YsUUFBUSxHQUFHLEtBQUsxQixVQUFMLENBQWdCNUQsRUFBaEIsQ0FBakI7RUFFQSxZQUFNdUYsWUFBWSxHQUFZLENBQUNsRyxXQUFELElBQWdCLENBQUNpRyxRQUFRLENBQUM5QyxRQUExQixJQUNGOEMsUUFBUSxDQUFDOUMsUUFBVCxJQUFxQjhDLFFBQVEsQ0FBQzlDLFFBQVQsQ0FBa0JnRCxPQUFsQixDQUEwQm5HLFdBQTFCLENBRGpEO0VBRUEsWUFBTW9HLG1CQUFtQixHQUFLLENBQUNWLFlBQUQsSUFBaUIsQ0FBQ0MsY0FBbEIsSUFDRixDQUFDRCxZQUFELElBQWlCLENBQUNPLFFBQVEsQ0FBQ1AsWUFEekIsSUFFRkEsWUFBWSxLQUFLTyxRQUFRLENBQUNQLFlBRnREO0VBR0EsWUFBTVcscUJBQXFCLEdBQUcsQ0FBQ1gsWUFBRCxJQUFpQixDQUFDQyxjQUFsQixJQUNGLENBQUNBLGNBQUQsSUFBbUIsQ0FBQ00sUUFBUSxDQUFDTixjQUQzQixJQUVGQSxjQUFjLEtBQUtNLFFBQVEsQ0FBQ04sY0FGeEQ7O0VBSUEsWUFBSU8sWUFBWSxJQUFJRSxtQkFBaEIsSUFBdUNDLHFCQUEzQyxFQUFrRTtFQUNoRSxlQUFLOUIsVUFBTCxDQUFnQmpELE1BQWhCLENBQXVCWCxFQUF2QixFQUEwQixDQUExQjs7RUFDQUEsVUFBQUEsRUFBQyxJQUFJLENBQUw7RUFDRDtFQUNGOztFQUVELGFBQU8sSUFBUDtFQUNEO0VBOUlIO0VBQUE7RUFBQSxtQ0FnSmlCWCxXQWhKakIsRUFnSjhCMEYsWUFoSjlCLEVBZ0o0Q0MsY0FoSjVDLEVBZ0o0RDtFQUN4RCxhQUFPLEtBQUtLLE1BQUwsQ0FBWWhHLFdBQVosRUFBeUIwRixZQUF6QixFQUF1Q0MsY0FBdkMsQ0FBUDtFQUNEO0VBbEpIO0VBQUE7RUFBQSx3QkFvSk0zRixXQXBKTixFQW9KbUIwRixZQXBKbkIsRUFvSmlDQyxjQXBKakMsRUFvSmlEO0VBQzdDLGFBQU8sS0FBS0ssTUFBTCxDQUFZaEcsV0FBWixFQUF5QjBGLFlBQXpCLEVBQXVDQyxjQUF2QyxDQUFQO0VBQ0Q7RUF0Skg7RUFBQTtFQUFBLCtCQXdKYVcsV0F4SmIsRUF3SjBCO0VBQ3RCLFVBQUcsS0FBS2xDLE9BQVIsRUFBaUI7RUFBRSxhQUFLbUMsY0FBTDtFQUF3Qjs7RUFFM0MsVUFBSSxDQUFDLEtBQUtqQyxTQUFMLENBQWVnQyxXQUFmLENBQUwsRUFBa0M7RUFDaEMsWUFBTUUsYUFBYSxHQUFHLEtBQUtsQyxTQUFMLENBQWVhLE1BQXJDO0VBQ0EsYUFBS2IsU0FBTCxDQUFlZ0MsV0FBZixJQUE4QjtFQUM1QmxCLFVBQUFBLFNBQVMsRUFBUSxFQURXO0VBRTVCcEIsVUFBQUEsWUFBWSxFQUFLd0MsYUFBYSxDQUFDeEMsWUFGSDtFQUc1QkMsVUFBQUEsYUFBYSxFQUFJdUMsYUFBYSxDQUFDdkMsYUFISDtFQUk1QkMsVUFBQUEsY0FBYyxFQUFHc0MsYUFBYSxDQUFDdEMsY0FKSDtFQUs1QkMsVUFBQUEsZUFBZSxFQUFFcUMsYUFBYSxDQUFDckM7RUFMSCxTQUE5QjtFQU9EOztFQUVELFVBQU1zQyxPQUFPLEdBQVUsS0FBS25DLFNBQUwsQ0FBZWdDLFdBQWYsQ0FBdkI7RUFDQSxXQUFLakMsZUFBTCxHQUF1QmlDLFdBQXZCO0VBQ0EsV0FBSy9CLFVBQUwsR0FBdUJrQyxPQUFPLENBQUNyQixTQUEvQjtFQUVBLFdBQUtzQixJQUFMO0VBQ0EsV0FBS0MsS0FBTCxDQUNFRixPQUFPLENBQUN6QyxZQURWLEVBRUV5QyxPQUFPLENBQUN4QyxhQUZWLEVBR0V3QyxPQUFPLENBQUN2QyxjQUhWLEVBSUV1QyxPQUFPLENBQUN0QyxlQUpWO0VBT0EsYUFBTyxJQUFQO0VBQ0Q7RUFuTEg7RUFBQTtFQUFBLGlDQXFMZTtFQUNYLGFBQU8sS0FBS0UsZUFBWjtFQUNEO0VBdkxIO0VBQUE7RUFBQSxnQ0F5TGNpQyxXQXpMZCxFQXlMMkJNLFFBekwzQixFQXlMcUM7RUFDakMsVUFBTUMsbUJBQW1CLEdBQUcsS0FBS0MsVUFBTCxFQUE1QjtFQUNBLFdBQUt6QixVQUFMLENBQWdCaUIsV0FBaEI7RUFFQU0sTUFBQUEsUUFBUTtFQUVSLFdBQUt2QixVQUFMLENBQWdCd0IsbUJBQWhCO0VBRUEsYUFBTyxJQUFQO0VBQ0Q7RUFsTUg7RUFBQTtFQUFBLDBCQW9NUTdDLFlBcE1SLEVBb01zQkMsYUFwTXRCLEVBb01xQ0MsY0FwTXJDLEVBb01xREMsZUFwTXJELEVBb01zRTtFQUFBOztFQUNsRSxXQUFLdUMsSUFBTDtFQUVBLFVBQU1LLEdBQUcsR0FBRyxPQUFPQyxVQUFQLEtBQXNCLFdBQXRCLEdBQW9DQSxVQUFwQyxHQUNBLE9BQU83QixNQUFQLEtBQWtCLFdBQWxCLEdBQWdDQSxNQUFoQyxHQUNBLE9BQU84QixNQUFQLEtBQWtCLFdBQWxCLEdBQWdDQSxNQUFoQyxHQUNBLEVBSFo7O0VBS0EsVUFBSSxDQUFDakQsWUFBTCxFQUFtQjtFQUNqQixZQUFJLENBQUMrQyxHQUFHLENBQUNHLGdCQUFMLElBQXlCLENBQUNILEdBQUcsQ0FBQ0ksV0FBbEMsRUFBK0M7RUFDN0MsZ0JBQU0sSUFBSUMsS0FBSixDQUFVLCtEQUFWLENBQU47RUFDRDs7RUFDRHBELFFBQUFBLFlBQVksR0FBRytDLEdBQWY7RUFDRCxPQWJpRTs7O0VBZ0JsRSxVQUFJLE9BQU8vQyxZQUFZLENBQUNxRCxRQUFwQixLQUFpQyxRQUFyQyxFQUErQztFQUM3Q2xELFFBQUFBLGVBQWUsR0FBR0QsY0FBbEI7RUFDQUEsUUFBQUEsY0FBYyxHQUFJRCxhQUFsQjtFQUNBQSxRQUFBQSxhQUFhLEdBQUtELFlBQWxCO0VBQ0FBLFFBQUFBLFlBQVksR0FBTStDLEdBQWxCO0VBQ0Q7O0VBRUQsVUFBSSxDQUFDL0MsWUFBWSxDQUFDa0QsZ0JBQWQsSUFBa0MsQ0FBQ2xELFlBQVksQ0FBQ21ELFdBQXBELEVBQWlFO0VBQy9ELGNBQU0sSUFBSUMsS0FBSixDQUFVLHNFQUFWLENBQU47RUFDRDs7RUFFRCxXQUFLdEMsZ0JBQUwsR0FBd0IsQ0FBQyxDQUFDZCxZQUFZLENBQUNrRCxnQkFBdkM7RUFFQSxVQUFNSSxTQUFTLEdBQUd0RCxZQUFZLENBQUN1RCxTQUFiLElBQTBCdkQsWUFBWSxDQUFDdUQsU0FBYixDQUF1QkQsU0FBakQsSUFBOEQsRUFBaEY7RUFDQSxVQUFNRSxRQUFRLEdBQUl4RCxZQUFZLENBQUN1RCxTQUFiLElBQTBCdkQsWUFBWSxDQUFDdUQsU0FBYixDQUF1QkMsUUFBakQsSUFBOEQsRUFBaEY7RUFFQXZELE1BQUFBLGFBQWEsSUFBTUEsYUFBYSxLQUFPLElBQXZDLEtBQWdEQSxhQUFhLEdBQUtELFlBQVksQ0FBQ3lELFFBQS9FO0VBQ0F2RCxNQUFBQSxjQUFjLElBQUtBLGNBQWMsS0FBTSxJQUF2QyxLQUFnREEsY0FBYyxHQUFJc0QsUUFBbEU7RUFDQXJELE1BQUFBLGVBQWUsSUFBSUEsZUFBZSxLQUFLLElBQXZDLEtBQWdEQSxlQUFlLEdBQUdtRCxTQUFsRTs7RUFFQSxXQUFLdkMscUJBQUwsR0FBNkIsVUFBQzJDLEtBQUQsRUFBVztFQUN0QyxRQUFBLEtBQUksQ0FBQ25FLFFBQUwsQ0FBY21FLEtBQUssQ0FBQzFFLE9BQXBCLEVBQTZCMEUsS0FBN0I7O0VBQ0EsUUFBQSxLQUFJLENBQUNDLGlCQUFMLENBQXVCRCxLQUF2QixFQUE4QkYsUUFBOUI7RUFDRCxPQUhEOztFQUlBLFdBQUt4QyxtQkFBTCxHQUEyQixVQUFDMEMsS0FBRCxFQUFXO0VBQ3BDLFFBQUEsS0FBSSxDQUFDaEUsVUFBTCxDQUFnQmdFLEtBQUssQ0FBQzFFLE9BQXRCLEVBQStCMEUsS0FBL0I7RUFDRCxPQUZEOztFQUdBLFdBQUt6QyxtQkFBTCxHQUEyQixVQUFDeUMsS0FBRCxFQUFXO0VBQ3BDLFFBQUEsS0FBSSxDQUFDbkIsY0FBTCxDQUFvQm1CLEtBQXBCO0VBQ0QsT0FGRDs7RUFJQSxXQUFLRSxVQUFMLENBQWdCM0QsYUFBaEIsRUFBK0IsU0FBL0IsRUFBMEMsS0FBS2MscUJBQS9DOztFQUNBLFdBQUs2QyxVQUFMLENBQWdCM0QsYUFBaEIsRUFBK0IsT0FBL0IsRUFBMEMsS0FBS2UsbUJBQS9DOztFQUNBLFdBQUs0QyxVQUFMLENBQWdCNUQsWUFBaEIsRUFBK0IsT0FBL0IsRUFBMEMsS0FBS2lCLG1CQUEvQzs7RUFDQSxXQUFLMkMsVUFBTCxDQUFnQjVELFlBQWhCLEVBQStCLE1BQS9CLEVBQTBDLEtBQUtpQixtQkFBL0M7O0VBRUEsV0FBS1AsY0FBTCxHQUF3QlQsYUFBeEI7RUFDQSxXQUFLVSxhQUFMLEdBQXdCWCxZQUF4QjtFQUNBLFdBQUtZLGVBQUwsR0FBd0JWLGNBQXhCO0VBQ0EsV0FBS1csZ0JBQUwsR0FBd0JWLGVBQXhCO0VBRUEsVUFBTTBELGNBQWMsR0FBYSxLQUFLdkQsU0FBTCxDQUFlLEtBQUtELGVBQXBCLENBQWpDO0VBQ0F3RCxNQUFBQSxjQUFjLENBQUM3RCxZQUFmLEdBQWlDLEtBQUtXLGFBQXRDO0VBQ0FrRCxNQUFBQSxjQUFjLENBQUM1RCxhQUFmLEdBQWlDLEtBQUtTLGNBQXRDO0VBQ0FtRCxNQUFBQSxjQUFjLENBQUMzRCxjQUFmLEdBQWlDLEtBQUtVLGVBQXRDO0VBQ0FpRCxNQUFBQSxjQUFjLENBQUMxRCxlQUFmLEdBQWlDLEtBQUtVLGdCQUF0QztFQUVBLGFBQU8sSUFBUDtFQUNEO0VBcFFIO0VBQUE7RUFBQSwyQkFzUVM7RUFDTCxVQUFJLENBQUMsS0FBS0gsY0FBTixJQUF3QixDQUFDLEtBQUtDLGFBQWxDLEVBQWlEO0VBQUU7RUFBUzs7RUFFNUQsV0FBS21ELFlBQUwsQ0FBa0IsS0FBS3BELGNBQXZCLEVBQXVDLFNBQXZDLEVBQWtELEtBQUtLLHFCQUF2RDs7RUFDQSxXQUFLK0MsWUFBTCxDQUFrQixLQUFLcEQsY0FBdkIsRUFBdUMsT0FBdkMsRUFBa0QsS0FBS00sbUJBQXZEOztFQUNBLFdBQUs4QyxZQUFMLENBQWtCLEtBQUtuRCxhQUF2QixFQUF1QyxPQUF2QyxFQUFrRCxLQUFLTSxtQkFBdkQ7O0VBQ0EsV0FBSzZDLFlBQUwsQ0FBa0IsS0FBS25ELGFBQXZCLEVBQXVDLE1BQXZDLEVBQWtELEtBQUtNLG1CQUF2RDs7RUFFQSxXQUFLTixhQUFMLEdBQXNCLElBQXRCO0VBQ0EsV0FBS0QsY0FBTCxHQUFzQixJQUF0QjtFQUVBLGFBQU8sSUFBUDtFQUNEO0VBbFJIO0VBQUE7RUFBQSw2QkFvUlcxQixPQXBSWCxFQW9Sb0IwRSxLQXBScEIsRUFvUjJCO0VBQ3ZCLFVBQUksS0FBS3hDLE9BQVQsRUFBa0I7RUFBRSxlQUFPLElBQVA7RUFBYzs7RUFDbEMsVUFBSSxDQUFDLEtBQUtkLE9BQVYsRUFBbUI7RUFBRSxjQUFNLElBQUlnRCxLQUFKLENBQVUsZ0JBQVYsQ0FBTjtFQUFvQzs7RUFFekQsV0FBS2hELE9BQUwsQ0FBYWIsUUFBYixDQUFzQlAsT0FBdEI7O0VBQ0EsV0FBSytFLGNBQUwsQ0FBb0JMLEtBQXBCOztFQUVBLGFBQU8sSUFBUDtFQUNEO0VBNVJIO0VBQUE7RUFBQSwrQkE4UmExRSxPQTlSYixFQThSc0IwRSxLQTlSdEIsRUE4UjZCO0VBQ3pCLFVBQUksS0FBS3hDLE9BQVQsRUFBa0I7RUFBRSxlQUFPLElBQVA7RUFBYzs7RUFDbEMsVUFBSSxDQUFDLEtBQUtkLE9BQVYsRUFBbUI7RUFBRSxjQUFNLElBQUlnRCxLQUFKLENBQVUsZ0JBQVYsQ0FBTjtFQUFvQzs7RUFFekQsV0FBS2hELE9BQUwsQ0FBYVYsVUFBYixDQUF3QlYsT0FBeEI7O0VBQ0EsV0FBS2dGLGNBQUwsQ0FBb0JOLEtBQXBCOztFQUVBLGFBQU8sSUFBUDtFQUNEO0VBdFNIO0VBQUE7RUFBQSxtQ0F3U2lCQSxLQXhTakIsRUF3U3dCO0VBQ3BCLFVBQUksS0FBS3hDLE9BQVQsRUFBa0I7RUFBRSxlQUFPLElBQVA7RUFBYzs7RUFDbEMsVUFBSSxDQUFDLEtBQUtkLE9BQVYsRUFBbUI7RUFBRSxjQUFNLElBQUlnRCxLQUFKLENBQVUsZ0JBQVYsQ0FBTjtFQUFvQzs7RUFFekQsV0FBS2hELE9BQUwsQ0FBYXpCLFdBQWIsQ0FBeUIvQixNQUF6QixHQUFrQyxDQUFsQzs7RUFDQSxXQUFLb0gsY0FBTCxDQUFvQk4sS0FBcEI7O0VBRUEsYUFBTyxJQUFQO0VBQ0Q7RUFoVEg7RUFBQTtFQUFBLDRCQWtUVTtFQUNOLFVBQUksS0FBS3hDLE9BQVQsRUFBa0I7RUFBRSxlQUFPLElBQVA7RUFBYzs7RUFDbEMsVUFBSSxLQUFLZCxPQUFULEVBQWtCO0VBQUUsYUFBS21DLGNBQUw7RUFBd0I7O0VBQzVDLFdBQUtyQixPQUFMLEdBQWUsSUFBZjtFQUVBLGFBQU8sSUFBUDtFQUNEO0VBeFRIO0VBQUE7RUFBQSw2QkEwVFc7RUFDUCxXQUFLQSxPQUFMLEdBQWUsS0FBZjtFQUVBLGFBQU8sSUFBUDtFQUNEO0VBOVRIO0VBQUE7RUFBQSw0QkFnVVU7RUFDTixXQUFLcUIsY0FBTDtFQUNBLFdBQUtoQyxVQUFMLENBQWdCM0QsTUFBaEIsR0FBeUIsQ0FBekI7RUFFQSxhQUFPLElBQVA7RUFDRDtFQXJVSDtFQUFBO0VBQUEsK0JBdVVhcUQsYUF2VWIsRUF1VTRCZ0UsU0F2VTVCLEVBdVV1Q2hGLE9BdlV2QyxFQXVVZ0Q7RUFDNUMsYUFBTyxLQUFLNkIsZ0JBQUwsR0FDTGIsYUFBYSxDQUFDaUQsZ0JBQWQsQ0FBK0JlLFNBQS9CLEVBQTBDaEYsT0FBMUMsRUFBbUQsS0FBbkQsQ0FESyxHQUVMZ0IsYUFBYSxDQUFDa0QsV0FBZCxDQUEwQixPQUFPYyxTQUFqQyxFQUE0Q2hGLE9BQTVDLENBRkY7RUFHRDtFQTNVSDtFQUFBO0VBQUEsaUNBNlVlZ0IsYUE3VWYsRUE2VThCZ0UsU0E3VTlCLEVBNlV5Q2hGLE9BN1V6QyxFQTZVa0Q7RUFDOUMsYUFBTyxLQUFLNkIsZ0JBQUwsR0FDTGIsYUFBYSxDQUFDaUUsbUJBQWQsQ0FBa0NELFNBQWxDLEVBQTZDaEYsT0FBN0MsRUFBc0QsS0FBdEQsQ0FESyxHQUVMZ0IsYUFBYSxDQUFDa0UsV0FBZCxDQUEwQixPQUFPRixTQUFqQyxFQUE0Q2hGLE9BQTVDLENBRkY7RUFHRDtFQWpWSDtFQUFBO0VBQUEsMkNBbVZ5QjtFQUNyQixVQUFNbUYsY0FBYyxHQUFLLEVBQXpCO0VBQ0EsVUFBTUMsZ0JBQWdCLEdBQUcsRUFBekI7RUFFQSxVQUFJakQsU0FBUyxHQUFHLEtBQUtiLFVBQXJCOztFQUNBLFVBQUksS0FBS0YsZUFBTCxLQUF5QixRQUE3QixFQUF1QztFQUNyQ2UsUUFBQUEsU0FBUyxnQ0FBT0EsU0FBUCxzQkFBcUIsS0FBS2QsU0FBTCxDQUFlYSxNQUFmLENBQXNCQyxTQUEzQyxFQUFUO0VBQ0Q7O0VBRURBLE1BQUFBLFNBQVMsQ0FBQ2tELElBQVYsQ0FDRSxVQUFDQyxDQUFELEVBQUlDLENBQUo7RUFBQSxlQUNFLENBQUNBLENBQUMsQ0FBQ3JGLFFBQUYsR0FBYXFGLENBQUMsQ0FBQ3JGLFFBQUYsQ0FBVy9DLFFBQVgsQ0FBb0JRLE1BQWpDLEdBQTBDLENBQTNDLEtBQ0MySCxDQUFDLENBQUNwRixRQUFGLEdBQWFvRixDQUFDLENBQUNwRixRQUFGLENBQVcvQyxRQUFYLENBQW9CUSxNQUFqQyxHQUEwQyxDQUQzQyxDQURGO0VBQUEsT0FERixFQUlFNkgsT0FKRixDQUlVLFVBQUNDLENBQUQsRUFBTztFQUNmLFlBQUlDLFFBQVEsR0FBRyxDQUFDLENBQWhCOztFQUNBLGFBQUssSUFBSWhJLENBQUMsR0FBRyxDQUFiLEVBQWdCQSxDQUFDLEdBQUcwSCxnQkFBZ0IsQ0FBQ3pILE1BQXJDLEVBQTZDRCxDQUFDLElBQUksQ0FBbEQsRUFBcUQ7RUFDbkQsY0FBSTBILGdCQUFnQixDQUFDMUgsQ0FBRCxDQUFoQixLQUF3QixJQUF4QixJQUFnQytILENBQUMsQ0FBQ3ZGLFFBQUYsS0FBZSxJQUEvQyxJQUNBa0YsZ0JBQWdCLENBQUMxSCxDQUFELENBQWhCLEtBQXdCLElBQXhCLElBQWdDMEgsZ0JBQWdCLENBQUMxSCxDQUFELENBQWhCLENBQW9Cd0YsT0FBcEIsQ0FBNEJ1QyxDQUFDLENBQUN2RixRQUE5QixDQURwQyxFQUM2RTtFQUMzRXdGLFlBQUFBLFFBQVEsR0FBR2hJLENBQVg7RUFDRDtFQUNGOztFQUNELFlBQUlnSSxRQUFRLEtBQUssQ0FBQyxDQUFsQixFQUFxQjtFQUNuQkEsVUFBQUEsUUFBUSxHQUFHTixnQkFBZ0IsQ0FBQ3pILE1BQTVCO0VBQ0F5SCxVQUFBQSxnQkFBZ0IsQ0FBQ3ZHLElBQWpCLENBQXNCNEcsQ0FBQyxDQUFDdkYsUUFBeEI7RUFDRDs7RUFDRCxZQUFJLENBQUNpRixjQUFjLENBQUNPLFFBQUQsQ0FBbkIsRUFBK0I7RUFDN0JQLFVBQUFBLGNBQWMsQ0FBQ08sUUFBRCxDQUFkLEdBQTJCLEVBQTNCO0VBQ0Q7O0VBQ0RQLFFBQUFBLGNBQWMsQ0FBQ08sUUFBRCxDQUFkLENBQXlCN0csSUFBekIsQ0FBOEI0RyxDQUE5QjtFQUNELE9BcEJEO0VBc0JBLGFBQU9OLGNBQVA7RUFDRDtFQW5YSDtFQUFBO0VBQUEsbUNBcVhpQlYsS0FyWGpCLEVBcVh3QjtFQUFBOztFQUNwQixVQUFJNUIsYUFBYSxHQUFHLEtBQXBCO0VBRUE0QixNQUFBQSxLQUFLLEtBQUtBLEtBQUssR0FBRyxFQUFiLENBQUw7O0VBQ0FBLE1BQUFBLEtBQUssQ0FBQzVCLGFBQU4sR0FBc0IsWUFBTTtFQUFFQSxRQUFBQSxhQUFhLEdBQUcsSUFBaEI7RUFBdUIsT0FBckQ7O0VBQ0E0QixNQUFBQSxLQUFLLENBQUMvRSxXQUFOLEdBQXNCLEtBQUt5QixPQUFMLENBQWF6QixXQUFiLENBQXlCMUIsS0FBekIsQ0FBK0IsQ0FBL0IsQ0FBdEI7RUFFQSxVQUFNeUIsZ0JBQWdCLEdBQUcsS0FBSzBCLE9BQUwsQ0FBYTFCLGdCQUF0Qzs7RUFDQSxVQUFNQyxXQUFXLEdBQVEsS0FBS3lCLE9BQUwsQ0FBYXpCLFdBQWIsQ0FBeUIxQixLQUF6QixDQUErQixDQUEvQixDQUF6Qjs7RUFDQSxVQUFNbUgsY0FBYyxHQUFLLEtBQUtRLG9CQUFMLEVBQXpCOztFQVRvQixpQ0FXWGpJLENBWFc7RUFZbEIsWUFBTXlFLFNBQVMsR0FBR2dELGNBQWMsQ0FBQ3pILENBQUQsQ0FBaEM7RUFDQSxZQUFNd0MsUUFBUSxHQUFJaUMsU0FBUyxDQUFDLENBQUQsQ0FBVCxDQUFhakMsUUFBL0I7O0VBRUEsWUFDRUEsUUFBUSxLQUFLLElBQWIsSUFDQUEsUUFBUSxDQUFDVyxLQUFULENBQWVuQixXQUFmLEtBQ0FELGdCQUFnQixDQUFDbUcsSUFBakIsQ0FBc0IsVUFBQUMsQ0FBQztFQUFBLGlCQUFJM0YsUUFBUSxDQUFDL0MsUUFBVCxDQUFrQjJJLFFBQWxCLENBQTJCRCxDQUEzQixDQUFKO0VBQUEsU0FBdkIsQ0FIRixFQUlFO0VBQ0EsZUFBSyxJQUFJNUgsQ0FBQyxHQUFHLENBQWIsRUFBZ0JBLENBQUMsR0FBR2tFLFNBQVMsQ0FBQ3hFLE1BQTlCLEVBQXNDTSxDQUFDLElBQUksQ0FBM0MsRUFBOEM7RUFDNUMsZ0JBQUkrRSxRQUFRLEdBQUdiLFNBQVMsQ0FBQ2xFLENBQUQsQ0FBeEI7O0VBRUEsZ0JBQUksQ0FBQytFLFFBQVEsQ0FBQ0YsZ0JBQVYsSUFBOEJFLFFBQVEsQ0FBQ1AsWUFBdkMsSUFBdUQsQ0FBQ08sUUFBUSxDQUFDSCxhQUFyRSxFQUFvRjtFQUNsRkcsY0FBQUEsUUFBUSxDQUFDRixnQkFBVCxHQUE0QixJQUE1QjtFQUNBRSxjQUFBQSxRQUFRLENBQUNQLFlBQVQsQ0FBc0JzRCxJQUF0QixDQUEyQixNQUEzQixFQUFpQ3RCLEtBQWpDO0VBQ0F6QixjQUFBQSxRQUFRLENBQUNGLGdCQUFULEdBQTRCLEtBQTVCOztFQUVBLGtCQUFJRCxhQUFhLElBQUlHLFFBQVEsQ0FBQ0wsc0JBQTlCLEVBQXNEO0VBQ3BESyxnQkFBQUEsUUFBUSxDQUFDSCxhQUFULEdBQXlCLElBQXpCO0VBQ0FBLGdCQUFBQSxhQUFhLEdBQVksS0FBekI7RUFDRDtFQUNGOztFQUVELGdCQUFJLE1BQUksQ0FBQ3RCLGlCQUFMLENBQXVCbkQsT0FBdkIsQ0FBK0I0RSxRQUEvQixNQUE2QyxDQUFDLENBQWxELEVBQXFEO0VBQ25ELGNBQUEsTUFBSSxDQUFDekIsaUJBQUwsQ0FBdUIxQyxJQUF2QixDQUE0Qm1FLFFBQTVCO0VBQ0Q7RUFDRjs7RUFFRCxjQUFJOUMsUUFBSixFQUFjO0VBQ1osaUJBQUssSUFBSWpDLEVBQUMsR0FBRyxDQUFiLEVBQWdCQSxFQUFDLEdBQUdpQyxRQUFRLENBQUMvQyxRQUFULENBQWtCUSxNQUF0QyxFQUE4Q00sRUFBQyxJQUFJLENBQW5ELEVBQXNEO0VBQ3BELGtCQUFNRSxLQUFLLEdBQUd1QixXQUFXLENBQUN0QixPQUFaLENBQW9COEIsUUFBUSxDQUFDL0MsUUFBVCxDQUFrQmMsRUFBbEIsQ0FBcEIsQ0FBZDs7RUFDQSxrQkFBSUUsS0FBSyxLQUFLLENBQUMsQ0FBZixFQUFrQjtFQUNoQnVCLGdCQUFBQSxXQUFXLENBQUNyQixNQUFaLENBQW1CRixLQUFuQixFQUEwQixDQUExQjtFQUNBRixnQkFBQUEsRUFBQyxJQUFJLENBQUw7RUFDRDtFQUNGO0VBQ0Y7RUFDRjtFQWhEaUI7O0VBV3BCLFdBQUssSUFBSVAsQ0FBQyxHQUFHLENBQWIsRUFBZ0JBLENBQUMsR0FBR3lILGNBQWMsQ0FBQ3hILE1BQW5DLEVBQTJDRCxDQUFDLElBQUksQ0FBaEQsRUFBbUQ7RUFBQSxjQUExQ0EsQ0FBMEM7RUFzQ2xEO0VBQ0Y7RUF2YUg7RUFBQTtFQUFBLG1DQXlhaUIrRyxLQXphakIsRUF5YXdCO0VBQ3BCQSxNQUFBQSxLQUFLLEtBQUtBLEtBQUssR0FBRyxFQUFiLENBQUw7RUFDQUEsTUFBQUEsS0FBSyxDQUFDL0UsV0FBTixHQUFvQixLQUFLeUIsT0FBTCxDQUFhekIsV0FBYixDQUF5QjFCLEtBQXpCLENBQStCLENBQS9CLENBQXBCOztFQUVBLFdBQUssSUFBSU4sQ0FBQyxHQUFHLENBQWIsRUFBZ0JBLENBQUMsR0FBRyxLQUFLNkQsaUJBQUwsQ0FBdUI1RCxNQUEzQyxFQUFtREQsQ0FBQyxJQUFJLENBQXhELEVBQTJEO0VBQ3pELFlBQU1zRixRQUFRLEdBQUcsS0FBS3pCLGlCQUFMLENBQXVCN0QsQ0FBdkIsQ0FBakI7RUFDQSxZQUFNd0MsUUFBUSxHQUFHOEMsUUFBUSxDQUFDOUMsUUFBMUI7O0VBQ0EsWUFBSUEsUUFBUSxLQUFLLElBQWIsSUFBcUIsQ0FBQ0EsUUFBUSxDQUFDVyxLQUFULENBQWUsS0FBS00sT0FBTCxDQUFhekIsV0FBNUIsQ0FBMUIsRUFBb0U7RUFDbEVzRCxVQUFBQSxRQUFRLENBQUNILGFBQVQsR0FBeUIsS0FBekI7O0VBQ0EsY0FBSTNDLFFBQVEsS0FBSyxJQUFiLElBQXFCdUUsS0FBSyxDQUFDL0UsV0FBTixDQUFrQi9CLE1BQWxCLEtBQTZCLENBQXRELEVBQXlEO0VBQ3ZELGlCQUFLNEQsaUJBQUwsQ0FBdUJsRCxNQUF2QixDQUE4QlgsQ0FBOUIsRUFBaUMsQ0FBakM7O0VBQ0FBLFlBQUFBLENBQUMsSUFBSSxDQUFMO0VBQ0Q7O0VBQ0QsY0FBSSxDQUFDc0YsUUFBUSxDQUFDRixnQkFBVixJQUE4QkUsUUFBUSxDQUFDTixjQUEzQyxFQUEyRDtFQUN6RE0sWUFBQUEsUUFBUSxDQUFDRixnQkFBVCxHQUE0QixJQUE1QjtFQUNBRSxZQUFBQSxRQUFRLENBQUNOLGNBQVQsQ0FBd0JxRCxJQUF4QixDQUE2QixJQUE3QixFQUFtQ3RCLEtBQW5DO0VBQ0F6QixZQUFBQSxRQUFRLENBQUNGLGdCQUFULEdBQTRCLEtBQTVCO0VBQ0Q7RUFDRjtFQUNGO0VBQ0Y7RUE3Ykg7RUFBQTtFQUFBLHNDQStib0IyQixLQS9icEIsRUErYjJCRixRQS9iM0IsRUErYnFDO0VBQ2pDO0VBQ0E7RUFDQSxVQUFNeUIsWUFBWSxHQUFHLENBQUMsT0FBRCxFQUFVLE1BQVYsRUFBa0IsS0FBbEIsRUFBeUIsVUFBekIsRUFBcUMsS0FBckMsRUFBNEMsU0FBNUMsQ0FBckI7O0VBQ0EsVUFBSXpCLFFBQVEsQ0FBQzBCLEtBQVQsQ0FBZSxLQUFmLEtBQXlCLEtBQUs5RSxPQUFMLENBQWF6QixXQUFiLENBQXlCb0csUUFBekIsQ0FBa0MsU0FBbEMsQ0FBekIsSUFDQSxDQUFDRSxZQUFZLENBQUNGLFFBQWIsQ0FBc0IsS0FBSzNFLE9BQUwsQ0FBYVosV0FBYixDQUF5QmtFLEtBQUssQ0FBQzFFLE9BQS9CLEVBQXdDLENBQXhDLENBQXRCLENBREwsRUFDd0U7RUFDdEUsYUFBS2dDLG1CQUFMLENBQXlCMEMsS0FBekI7RUFDRDtFQUNGO0VBdmNIOztFQUFBO0VBQUE7O0VDSE8sU0FBU3lCLEVBQVQsQ0FBWTVELE1BQVosRUFBb0JpQyxRQUFwQixFQUE4QkYsU0FBOUIsRUFBeUM7RUFFOUM7RUFDQS9CLEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsQ0FBbkIsRUFBd0IsQ0FBQyxRQUFELENBQXhCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLENBQW5CLEVBQXdCLENBQUMsV0FBRCxDQUF4QjtFQUNBN0QsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQixDQUFuQixFQUF3QixDQUFDLEtBQUQsQ0FBeEI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsRUFBbkIsRUFBd0IsQ0FBQyxPQUFELENBQXhCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEVBQW5CLEVBQXdCLENBQUMsT0FBRCxDQUF4QjtFQUNBN0QsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQixFQUFuQixFQUF3QixDQUFDLE9BQUQsQ0FBeEI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsRUFBbkIsRUFBd0IsQ0FBQyxNQUFELENBQXhCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEVBQW5CLEVBQXdCLENBQUMsS0FBRCxFQUFRLE1BQVIsQ0FBeEI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsRUFBbkIsRUFBd0IsQ0FBQyxPQUFELEVBQVUsT0FBVixDQUF4QjtFQUNBN0QsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQixFQUFuQixFQUF3QixDQUFDLFVBQUQsQ0FBeEI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsRUFBbkIsRUFBd0IsQ0FBQyxRQUFELEVBQVcsS0FBWCxDQUF4QjtFQUNBN0QsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQixFQUFuQixFQUF3QixDQUFDLE9BQUQsRUFBVSxVQUFWLENBQXhCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEVBQW5CLEVBQXdCLENBQUMsUUFBRCxDQUF4QjtFQUNBN0QsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQixFQUFuQixFQUF3QixDQUFDLFVBQUQsQ0FBeEI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsRUFBbkIsRUFBd0IsQ0FBQyxLQUFELENBQXhCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEVBQW5CLEVBQXdCLENBQUMsTUFBRCxDQUF4QjtFQUNBN0QsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQixFQUFuQixFQUF3QixDQUFDLE1BQUQsQ0FBeEI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsRUFBbkIsRUFBd0IsQ0FBQyxJQUFELENBQXhCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEVBQW5CLEVBQXdCLENBQUMsT0FBRCxDQUF4QjtFQUNBN0QsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQixFQUFuQixFQUF3QixDQUFDLE1BQUQsQ0FBeEI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsRUFBbkIsRUFBd0IsQ0FBQyxRQUFELENBQXhCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEVBQW5CLEVBQXdCLENBQUMsYUFBRCxDQUF4QjtFQUNBN0QsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQixFQUFuQixFQUF3QixDQUFDLFNBQUQsQ0FBeEI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsRUFBbkIsRUFBd0IsQ0FBQyxVQUFELENBQXhCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEVBQW5CLEVBQXdCLENBQUMsUUFBRCxFQUFXLEtBQVgsQ0FBeEI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsRUFBbkIsRUFBd0IsQ0FBQyxRQUFELEVBQVcsS0FBWCxDQUF4QjtFQUNBN0QsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQixFQUFuQixFQUF3QixDQUFDLE1BQUQsQ0FBeEI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsR0FBbkIsRUFBd0IsQ0FBQyxZQUFELEVBQWUsUUFBZixDQUF4QjtFQUNBN0QsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQixHQUFuQixFQUF3QixDQUFDLE9BQUQsRUFBVSxHQUFWLENBQXhCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEdBQW5CLEVBQXdCLENBQUMsUUFBRCxFQUFXLEdBQVgsQ0FBeEI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsR0FBbkIsRUFBd0IsQ0FBQyxPQUFELEVBQVUsY0FBVixFQUEwQixHQUExQixDQUF4QjtFQUNBN0QsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQixHQUFuQixFQUF3QixDQUFDLGFBQUQsRUFBZ0IsR0FBaEIsQ0FBeEI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsR0FBbkIsRUFBd0IsQ0FBQyxhQUFELEVBQWdCLEdBQWhCLENBQXhCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEdBQW5CLEVBQXdCLENBQUMsV0FBRCxFQUFjLElBQWQsQ0FBeEI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsR0FBbkIsRUFBd0IsQ0FBQyxjQUFELEVBQWlCLEdBQWpCLENBQXhCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEdBQW5CLEVBQXdCLENBQUMsWUFBRCxFQUFlLElBQWYsQ0FBeEIsRUF0QzhDOztFQXlDOUM3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEVBQW5CLEVBQXVCLENBQUMsTUFBRCxFQUFTLEdBQVQsQ0FBdkI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsRUFBbkIsRUFBdUIsQ0FBQyxLQUFELEVBQVEsR0FBUixDQUF2QjtFQUNBN0QsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQixFQUFuQixFQUF1QixDQUFDLEtBQUQsRUFBUSxHQUFSLENBQXZCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEVBQW5CLEVBQXVCLENBQUMsT0FBRCxFQUFVLEdBQVYsQ0FBdkI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsRUFBbkIsRUFBdUIsQ0FBQyxNQUFELEVBQVMsR0FBVCxDQUF2QjtFQUNBN0QsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQixFQUFuQixFQUF1QixDQUFDLE1BQUQsRUFBUyxHQUFULENBQXZCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEVBQW5CLEVBQXVCLENBQUMsS0FBRCxFQUFRLEdBQVIsQ0FBdkI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsRUFBbkIsRUFBdUIsQ0FBQyxPQUFELEVBQVUsR0FBVixDQUF2QjtFQUNBN0QsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQixFQUFuQixFQUF1QixDQUFDLE9BQUQsRUFBVSxHQUFWLENBQXZCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEVBQW5CLEVBQXVCLENBQUMsTUFBRCxFQUFTLEdBQVQsQ0FBdkIsRUFsRDhDOztFQXFEOUM3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEVBQW5CLEVBQXVCLENBQUMsU0FBRCxFQUFZLE1BQVosQ0FBdkI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsRUFBbkIsRUFBdUIsQ0FBQyxRQUFELEVBQVcsTUFBWCxDQUF2QjtFQUNBN0QsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQixFQUFuQixFQUF1QixDQUFDLFFBQUQsRUFBVyxNQUFYLENBQXZCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEVBQW5CLEVBQXVCLENBQUMsVUFBRCxFQUFhLE1BQWIsQ0FBdkI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsR0FBbkIsRUFBd0IsQ0FBQyxTQUFELEVBQVksTUFBWixDQUF4QjtFQUNBN0QsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQixHQUFuQixFQUF3QixDQUFDLFNBQUQsRUFBWSxNQUFaLENBQXhCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEdBQW5CLEVBQXdCLENBQUMsUUFBRCxFQUFXLE1BQVgsQ0FBeEI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsR0FBbkIsRUFBd0IsQ0FBQyxVQUFELEVBQWEsTUFBYixDQUF4QjtFQUNBN0QsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQixHQUFuQixFQUF3QixDQUFDLFVBQUQsRUFBYSxNQUFiLENBQXhCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEdBQW5CLEVBQXdCLENBQUMsU0FBRCxFQUFZLE1BQVosQ0FBeEI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsR0FBbkIsRUFBd0IsQ0FBQyxhQUFELEVBQWdCLE1BQWhCLENBQXhCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEdBQW5CLEVBQXdCLENBQUMsUUFBRCxFQUFXLE1BQVgsQ0FBeEI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsR0FBbkIsRUFBd0IsQ0FBQyxVQUFELENBQXhCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEdBQW5CLEVBQXdCLENBQUMsYUFBRCxFQUFnQixNQUFoQixDQUF4QjtFQUNBN0QsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQixHQUFuQixFQUF3QixDQUFDLFlBQUQsRUFBZSxNQUFmLENBQXhCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEdBQW5CLEVBQXdCLENBQUMsV0FBRCxFQUFjLE1BQWQsQ0FBeEI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsR0FBbkIsRUFBd0IsQ0FBQyxTQUFELEVBQVksS0FBWixDQUF4QixFQXJFOEM7O0VBd0U5QzdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsR0FBbkIsRUFBd0IsQ0FBQyxJQUFELENBQXhCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEdBQW5CLEVBQXdCLENBQUMsSUFBRCxDQUF4QjtFQUNBN0QsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQixHQUFuQixFQUF3QixDQUFDLElBQUQsQ0FBeEI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsR0FBbkIsRUFBd0IsQ0FBQyxJQUFELENBQXhCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEdBQW5CLEVBQXdCLENBQUMsSUFBRCxDQUF4QjtFQUNBN0QsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQixHQUFuQixFQUF3QixDQUFDLElBQUQsQ0FBeEI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsR0FBbkIsRUFBd0IsQ0FBQyxJQUFELENBQXhCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEdBQW5CLEVBQXdCLENBQUMsSUFBRCxDQUF4QjtFQUNBN0QsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQixHQUFuQixFQUF3QixDQUFDLElBQUQsQ0FBeEI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsR0FBbkIsRUFBd0IsQ0FBQyxLQUFELENBQXhCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEdBQW5CLEVBQXdCLENBQUMsS0FBRCxDQUF4QjtFQUNBN0QsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQixHQUFuQixFQUF3QixDQUFDLEtBQUQsQ0FBeEI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsR0FBbkIsRUFBd0IsQ0FBQyxLQUFELENBQXhCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEdBQW5CLEVBQXdCLENBQUMsS0FBRCxDQUF4QjtFQUNBN0QsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQixHQUFuQixFQUF3QixDQUFDLEtBQUQsQ0FBeEI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsR0FBbkIsRUFBd0IsQ0FBQyxLQUFELENBQXhCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEdBQW5CLEVBQXdCLENBQUMsS0FBRCxDQUF4QjtFQUNBN0QsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQixHQUFuQixFQUF3QixDQUFDLEtBQUQsQ0FBeEI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsR0FBbkIsRUFBd0IsQ0FBQyxLQUFELENBQXhCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEdBQW5CLEVBQXdCLENBQUMsS0FBRCxDQUF4QjtFQUNBN0QsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQixHQUFuQixFQUF3QixDQUFDLEtBQUQsQ0FBeEI7RUFDQTdELEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUIsR0FBbkIsRUFBd0IsQ0FBQyxLQUFELENBQXhCO0VBQ0E3RCxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CLEdBQW5CLEVBQXdCLENBQUMsS0FBRCxDQUF4QjtFQUNBN0QsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQixHQUFuQixFQUF3QixDQUFDLEtBQUQsQ0FBeEIsRUEvRjhDOztFQWtHOUM3RCxFQUFBQSxNQUFNLENBQUM4RCxTQUFQLENBQWlCLFdBQWpCLEVBQThCLENBQUMsT0FBRCxFQUFVLEdBQVYsQ0FBOUI7RUFDQTlELEVBQUFBLE1BQU0sQ0FBQzhELFNBQVAsQ0FBaUIsV0FBakIsRUFBOEIsQ0FBQyxhQUFELEVBQWdCLGtCQUFoQixFQUFvQyxHQUFwQyxDQUE5QjtFQUNBOUQsRUFBQUEsTUFBTSxDQUFDOEQsU0FBUCxDQUFpQixXQUFqQixFQUE4QixDQUFDLElBQUQsRUFBTyxHQUFQLENBQTlCO0VBQ0E5RCxFQUFBQSxNQUFNLENBQUM4RCxTQUFQLENBQWlCLFdBQWpCLEVBQThCLENBQUMsUUFBRCxFQUFXLEdBQVgsQ0FBOUI7RUFDQTlELEVBQUFBLE1BQU0sQ0FBQzhELFNBQVAsQ0FBaUIsV0FBakIsRUFBOEIsQ0FBQyxRQUFELEVBQVcsU0FBWCxFQUFzQixZQUF0QixFQUFvQyxHQUFwQyxDQUE5QjtFQUNBOUQsRUFBQUEsTUFBTSxDQUFDOEQsU0FBUCxDQUFpQixXQUFqQixFQUE4QixDQUFDLFNBQUQsRUFBWSxHQUFaLENBQTlCO0VBQ0E5RCxFQUFBQSxNQUFNLENBQUM4RCxTQUFQLENBQWlCLFdBQWpCLEVBQThCLENBQUMsT0FBRCxFQUFVLEdBQVYsQ0FBOUI7RUFDQTlELEVBQUFBLE1BQU0sQ0FBQzhELFNBQVAsQ0FBaUIsV0FBakIsRUFBOEIsQ0FBQyxXQUFELEVBQWMsS0FBZCxFQUFxQixHQUFyQixDQUE5QjtFQUNBOUQsRUFBQUEsTUFBTSxDQUFDOEQsU0FBUCxDQUFpQixXQUFqQixFQUE4QixDQUFDLFVBQUQsRUFBYSxHQUFiLENBQTlCO0VBQ0E5RCxFQUFBQSxNQUFNLENBQUM4RCxTQUFQLENBQWlCLFdBQWpCLEVBQThCLENBQUMsV0FBRCxFQUFjLEdBQWQsQ0FBOUI7RUFDQTlELEVBQUFBLE1BQU0sQ0FBQzhELFNBQVAsQ0FBaUIsV0FBakIsRUFBOEIsQ0FBQyxZQUFELEVBQWUsR0FBZixDQUE5QjtFQUNBOUQsRUFBQUEsTUFBTSxDQUFDOEQsU0FBUCxDQUFpQixXQUFqQixFQUE4QixDQUFDLFlBQUQsRUFBZSxHQUFmLENBQTlCO0VBQ0E5RCxFQUFBQSxNQUFNLENBQUM4RCxTQUFQLENBQWlCLFdBQWpCLEVBQThCLENBQUMsTUFBRCxFQUFTLEdBQVQsQ0FBOUI7RUFDQTlELEVBQUFBLE1BQU0sQ0FBQzhELFNBQVAsQ0FBaUIsV0FBakIsRUFBOEIsQ0FBQyxnQkFBRCxFQUFtQixrQkFBbkIsRUFBdUMsR0FBdkMsQ0FBOUI7RUFDQTlELEVBQUFBLE1BQU0sQ0FBQzhELFNBQVAsQ0FBaUIsV0FBakIsRUFBOEIsQ0FBQyxpQkFBRCxFQUFvQixtQkFBcEIsRUFBeUMsR0FBekMsQ0FBOUI7RUFDQTlELEVBQUFBLE1BQU0sQ0FBQzhELFNBQVAsQ0FBaUIsWUFBakIsRUFBK0IsQ0FBQyxhQUFELEVBQWdCLEdBQWhCLENBQS9CO0VBQ0E5RCxFQUFBQSxNQUFNLENBQUM4RCxTQUFQLENBQWlCLFdBQWpCLEVBQThCLENBQUMsT0FBRCxFQUFVLEdBQVYsQ0FBOUI7RUFDQTlELEVBQUFBLE1BQU0sQ0FBQzhELFNBQVAsQ0FBaUIsWUFBakIsRUFBK0IsQ0FBQyxlQUFELEVBQWtCLElBQWxCLENBQS9CO0VBQ0E5RCxFQUFBQSxNQUFNLENBQUM4RCxTQUFQLENBQWlCLFlBQWpCLEVBQStCLENBQUMsa0JBQUQsRUFBcUIsR0FBckIsQ0FBL0I7RUFDQTlELEVBQUFBLE1BQU0sQ0FBQzhELFNBQVAsQ0FBaUIsV0FBakIsRUFBOEIsQ0FBQyxtQkFBRCxFQUFzQixHQUF0QixDQUE5QjtFQUNBOUQsRUFBQUEsTUFBTSxDQUFDOEQsU0FBUCxDQUFpQixXQUFqQixFQUE4QixDQUFDLGNBQUQsRUFBaUIsR0FBakIsQ0FBOUI7O0VBRUEsTUFBSTdCLFFBQVEsQ0FBQzBCLEtBQVQsQ0FBZSxLQUFmLENBQUosRUFBMkI7RUFDekIzRCxJQUFBQSxNQUFNLENBQUM4RCxTQUFQLENBQWlCLFNBQWpCLEVBQTRCLENBQUMsS0FBRCxFQUFRLFVBQVIsQ0FBNUI7RUFDRCxHQUZELE1BRU87RUFDTDlELElBQUFBLE1BQU0sQ0FBQzhELFNBQVAsQ0FBaUIsTUFBakIsRUFBeUIsQ0FBQyxLQUFELEVBQVEsVUFBUixDQUF6QjtFQUNELEdBNUg2Qzs7O0VBK0g5QyxPQUFLLElBQUlyRyxPQUFPLEdBQUcsRUFBbkIsRUFBdUJBLE9BQU8sSUFBSSxFQUFsQyxFQUFzQ0EsT0FBTyxJQUFJLENBQWpELEVBQW9EO0VBQ2xELFFBQUk3QixPQUFPLEdBQUdtSSxNQUFNLENBQUNDLFlBQVAsQ0FBb0J2RyxPQUFPLEdBQUcsRUFBOUIsQ0FBZDtFQUNBLFFBQUl3RyxjQUFjLEdBQUdGLE1BQU0sQ0FBQ0MsWUFBUCxDQUFvQnZHLE9BQXBCLENBQXJCO0VBQ0R1QyxJQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CcEcsT0FBbkIsRUFBNEI3QixPQUE1QjtFQUNBb0UsSUFBQUEsTUFBTSxDQUFDOEQsU0FBUCxDQUFpQixhQUFhbEksT0FBOUIsRUFBdUNxSSxjQUF2QztFQUNBakUsSUFBQUEsTUFBTSxDQUFDOEQsU0FBUCxDQUFpQixnQkFBZ0JsSSxPQUFqQyxFQUEwQ3FJLGNBQTFDO0VBQ0EsR0FySTZDOzs7RUF3STlDLE1BQU1DLGdCQUFnQixHQUFHbkMsU0FBUyxDQUFDNEIsS0FBVixDQUFnQixTQUFoQixJQUE2QixFQUE3QixHQUFtQyxHQUE1RDtFQUNBLE1BQU1RLFdBQVcsR0FBUXBDLFNBQVMsQ0FBQzRCLEtBQVYsQ0FBZ0IsU0FBaEIsSUFBNkIsR0FBN0IsR0FBbUMsR0FBNUQ7RUFDQSxNQUFNUyxZQUFZLEdBQU9yQyxTQUFTLENBQUM0QixLQUFWLENBQWdCLFNBQWhCLElBQTZCLEVBQTdCLEdBQW1DLEdBQTVEO0VBQ0EsTUFBSVUsa0JBQUo7RUFDQSxNQUFJQyxtQkFBSjs7RUFDQSxNQUFJckMsUUFBUSxDQUFDMEIsS0FBVCxDQUFlLEtBQWYsTUFBMEI1QixTQUFTLENBQUM0QixLQUFWLENBQWdCLFFBQWhCLEtBQTZCNUIsU0FBUyxDQUFDNEIsS0FBVixDQUFnQixRQUFoQixDQUF2RCxDQUFKLEVBQXVGO0VBQ3JGVSxJQUFBQSxrQkFBa0IsR0FBSSxFQUF0QjtFQUNBQyxJQUFBQSxtQkFBbUIsR0FBRyxFQUF0QjtFQUNELEdBSEQsTUFHTyxJQUFHckMsUUFBUSxDQUFDMEIsS0FBVCxDQUFlLEtBQWYsS0FBeUI1QixTQUFTLENBQUM0QixLQUFWLENBQWdCLE9BQWhCLENBQTVCLEVBQXNEO0VBQzNEVSxJQUFBQSxrQkFBa0IsR0FBSSxFQUF0QjtFQUNBQyxJQUFBQSxtQkFBbUIsR0FBRyxFQUF0QjtFQUNELEdBSE0sTUFHQSxJQUFHckMsUUFBUSxDQUFDMEIsS0FBVCxDQUFlLEtBQWYsS0FBeUI1QixTQUFTLENBQUM0QixLQUFWLENBQWdCLFNBQWhCLENBQTVCLEVBQXdEO0VBQzdEVSxJQUFBQSxrQkFBa0IsR0FBSSxHQUF0QjtFQUNBQyxJQUFBQSxtQkFBbUIsR0FBRyxHQUF0QjtFQUNEOztFQUNEdEUsRUFBQUEsTUFBTSxDQUFDNkQsV0FBUCxDQUFtQkssZ0JBQW5CLEVBQXdDLENBQUMsV0FBRCxFQUFjLEdBQWQsQ0FBeEM7RUFDQWxFLEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUJNLFdBQW5CLEVBQXdDLENBQUMsTUFBRCxFQUFTLEdBQVQsQ0FBeEM7RUFDQW5FLEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUJPLFlBQW5CLEVBQXdDLENBQUMsT0FBRCxFQUFVLFdBQVYsRUFBdUIsR0FBdkIsQ0FBeEM7RUFDQXBFLEVBQUFBLE1BQU0sQ0FBQzZELFdBQVAsQ0FBbUJRLGtCQUFuQixFQUF3QyxDQUFDLFNBQUQsRUFBWSxTQUFaLEVBQXVCLEtBQXZCLEVBQThCLE9BQTlCLEVBQXVDLGFBQXZDLEVBQXNELGFBQXRELEVBQXFFLFNBQXJFLEVBQWdGLFdBQWhGLENBQXhDO0VBQ0FyRSxFQUFBQSxNQUFNLENBQUM2RCxXQUFQLENBQW1CUyxtQkFBbkIsRUFBd0MsQ0FBQyxTQUFELEVBQVksU0FBWixFQUF1QixLQUF2QixFQUE4QixPQUE5QixFQUF1QyxjQUF2QyxFQUF1RCxjQUF2RCxFQUF1RSxVQUF2RSxFQUFtRixZQUFuRixDQUF4QyxFQTNKOEM7O0VBOEo5Q3RFLEVBQUFBLE1BQU0sQ0FBQ2pDLFVBQVAsQ0FBa0IsU0FBbEI7RUFDRDs7TUMzSkt3RyxRQUFRLEdBQUcsSUFBSS9GLFFBQUo7RUFFakIrRixRQUFRLENBQUNDLFNBQVQsQ0FBbUIsSUFBbkIsRUFBeUJaLEVBQXpCO0VBRUFXLFFBQVEsQ0FBQy9GLFFBQVQsR0FBb0JBLFFBQXBCO0VBQ0ErRixRQUFRLENBQUN2SCxNQUFULEdBQWtCQSxNQUFsQjtFQUNBdUgsUUFBUSxDQUFDL0osUUFBVCxHQUFvQkEsUUFBcEI7Ozs7Ozs7OyJ9\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nmodule.exports = DataView;\n","var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n","var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n","var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nmodule.exports = Promise;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n","var MapCache = require('./_MapCache'),\n setCacheAdd = require('./_setCacheAdd'),\n setCacheHas = require('./_setCacheHas');\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n","var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nmodule.exports = WeakMap;\n","/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n}\n\nmodule.exports = apply;\n","/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n}\n\nmodule.exports = arrayEach;\n","/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nmodule.exports = arrayFilter;\n","var baseTimes = require('./_baseTimes'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isIndex = require('./_isIndex'),\n isTypedArray = require('./isTypedArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = arrayLikeKeys;\n","/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nmodule.exports = arrayMap;\n","/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\nmodule.exports = arrayPush;\n","/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arraySome;\n","/**\n * Converts an ASCII `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction asciiToArray(string) {\n return string.split('');\n}\n\nmodule.exports = asciiToArray;\n","var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignValue;\n","var eq = require('./eq');\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n","var copyObject = require('./_copyObject'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n}\n\nmodule.exports = baseAssign;\n","var copyObject = require('./_copyObject'),\n keysIn = require('./keysIn');\n\n/**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n}\n\nmodule.exports = baseAssignIn;\n","var defineProperty = require('./_defineProperty');\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nmodule.exports = baseAssignValue;\n","var Stack = require('./_Stack'),\n arrayEach = require('./_arrayEach'),\n assignValue = require('./_assignValue'),\n baseAssign = require('./_baseAssign'),\n baseAssignIn = require('./_baseAssignIn'),\n cloneBuffer = require('./_cloneBuffer'),\n copyArray = require('./_copyArray'),\n copySymbols = require('./_copySymbols'),\n copySymbolsIn = require('./_copySymbolsIn'),\n getAllKeys = require('./_getAllKeys'),\n getAllKeysIn = require('./_getAllKeysIn'),\n getTag = require('./_getTag'),\n initCloneArray = require('./_initCloneArray'),\n initCloneByTag = require('./_initCloneByTag'),\n initCloneObject = require('./_initCloneObject'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isMap = require('./isMap'),\n isObject = require('./isObject'),\n isSet = require('./isSet'),\n keys = require('./keys'),\n keysIn = require('./keysIn');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\nfunction baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n}\n\nmodule.exports = baseClone;\n","var isObject = require('./isObject');\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nmodule.exports = baseCreate;\n","/**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = baseFindIndex;\n","var arrayPush = require('./_arrayPush'),\n isFlattenable = require('./_isFlattenable');\n\n/**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\nfunction baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n}\n\nmodule.exports = baseFlatten;\n","var castPath = require('./_castPath'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n}\n\nmodule.exports = baseGet;\n","var arrayPush = require('./_arrayPush'),\n isArray = require('./isArray');\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nmodule.exports = baseGetAllKeys;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","var baseFindIndex = require('./_baseFindIndex'),\n baseIsNaN = require('./_baseIsNaN'),\n strictIndexOf = require('./_strictIndexOf');\n\n/**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n}\n\nmodule.exports = baseIndexOf;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n","var baseIsEqualDeep = require('./_baseIsEqualDeep'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\nmodule.exports = baseIsEqual;\n","var Stack = require('./_Stack'),\n equalArrays = require('./_equalArrays'),\n equalByTag = require('./_equalByTag'),\n equalObjects = require('./_equalObjects'),\n getTag = require('./_getTag'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isTypedArray = require('./isTypedArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\n\nmodule.exports = baseIsEqualDeep;\n","var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\n\n/**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\nfunction baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nmodule.exports = baseIsMap;\n","/**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\nfunction baseIsNaN(value) {\n return value !== value;\n}\n\nmodule.exports = baseIsNaN;\n","var isFunction = require('./isFunction'),\n isMasked = require('./_isMasked'),\n isObject = require('./isObject'),\n toSource = require('./_toSource');\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n","var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar setTag = '[object Set]';\n\n/**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\nfunction baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n}\n\nmodule.exports = baseIsSet;\n","var baseGetTag = require('./_baseGetTag'),\n isLength = require('./isLength'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n","var isPrototype = require('./_isPrototype'),\n nativeKeys = require('./_nativeKeys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeys;\n","var isObject = require('./isObject'),\n isPrototype = require('./_isPrototype'),\n nativeKeysIn = require('./_nativeKeysIn');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeysIn;\n","var constant = require('./constant'),\n defineProperty = require('./_defineProperty'),\n identity = require('./identity');\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n};\n\nmodule.exports = baseSetToString;\n","/**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\nfunction baseSlice(array, start, end) {\n var index = -1,\n length = array.length;\n\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = end > length ? length : end;\n if (end < 0) {\n end += length;\n }\n length = start > end ? 0 : ((end - start) >>> 0);\n start >>>= 0;\n\n var result = Array(length);\n while (++index < length) {\n result[index] = array[index + start];\n }\n return result;\n}\n\nmodule.exports = baseSlice;\n","/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nmodule.exports = baseTimes;\n","var Symbol = require('./_Symbol'),\n arrayMap = require('./_arrayMap'),\n isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = baseToString;\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n","var castPath = require('./_castPath'),\n last = require('./last'),\n parent = require('./_parent'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.unset`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The property path to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n */\nfunction baseUnset(object, path) {\n path = castPath(path, object);\n object = parent(object, path);\n return object == null || delete object[toKey(last(path))];\n}\n\nmodule.exports = baseUnset;\n","/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nmodule.exports = cacheHas;\n","var isArray = require('./isArray'),\n isKey = require('./_isKey'),\n stringToPath = require('./_stringToPath'),\n toString = require('./toString');\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nmodule.exports = castPath;\n","var baseSlice = require('./_baseSlice');\n\n/**\n * Casts `array` to a slice if it's needed.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {number} start The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the cast slice.\n */\nfunction castSlice(array, start, end) {\n var length = array.length;\n end = end === undefined ? length : end;\n return (!start && end >= length) ? array : baseSlice(array, start, end);\n}\n\nmodule.exports = castSlice;\n","var baseIndexOf = require('./_baseIndexOf');\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the last unmatched string symbol.\n */\nfunction charsEndIndex(strSymbols, chrSymbols) {\n var index = strSymbols.length;\n\n while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n}\n\nmodule.exports = charsEndIndex;\n","var Uint8Array = require('./_Uint8Array');\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nmodule.exports = cloneArrayBuffer;\n","var root = require('./_root');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nmodule.exports = cloneBuffer;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nmodule.exports = cloneDataView;\n","/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\nmodule.exports = cloneRegExp;\n","var Symbol = require('./_Symbol');\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\nfunction cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nmodule.exports = cloneSymbol;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nmodule.exports = cloneTypedArray;\n","/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nmodule.exports = copyArray;\n","var assignValue = require('./_assignValue'),\n baseAssignValue = require('./_baseAssignValue');\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nmodule.exports = copyObject;\n","var copyObject = require('./_copyObject'),\n getSymbols = require('./_getSymbols');\n\n/**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n}\n\nmodule.exports = copySymbols;\n","var copyObject = require('./_copyObject'),\n getSymbolsIn = require('./_getSymbolsIn');\n\n/**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n}\n\nmodule.exports = copySymbolsIn;\n","var root = require('./_root');\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n","var isPlainObject = require('./isPlainObject');\n\n/**\n * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain\n * objects.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {string} key The key of the property to inspect.\n * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.\n */\nfunction customOmitClone(value) {\n return isPlainObject(value) ? undefined : value;\n}\n\nmodule.exports = customOmitClone;\n","var getNative = require('./_getNative');\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nmodule.exports = defineProperty;\n","var SetCache = require('./_SetCache'),\n arraySome = require('./_arraySome'),\n cacheHas = require('./_cacheHas');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalArrays;\n","var Symbol = require('./_Symbol'),\n Uint8Array = require('./_Uint8Array'),\n eq = require('./eq'),\n equalArrays = require('./_equalArrays'),\n mapToArray = require('./_mapToArray'),\n setToArray = require('./_setToArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\nmodule.exports = equalByTag;\n","var getAllKeys = require('./_getAllKeys');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalObjects;\n","var flatten = require('./flatten'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\n\n/**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\nfunction flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n}\n\nmodule.exports = flatRest;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbols = require('./_getSymbols'),\n keys = require('./keys');\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nmodule.exports = getAllKeys;\n","var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbolsIn = require('./_getSymbolsIn'),\n keysIn = require('./keysIn');\n\n/**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\n\nmodule.exports = getAllKeysIn;\n","var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n","var baseIsNative = require('./_baseIsNative'),\n getValue = require('./_getValue');\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n","var overArg = require('./_overArg');\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","var arrayFilter = require('./_arrayFilter'),\n stubArray = require('./stubArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\nmodule.exports = getSymbols;\n","var arrayPush = require('./_arrayPush'),\n getPrototype = require('./_getPrototype'),\n getSymbols = require('./_getSymbols'),\n stubArray = require('./stubArray');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n};\n\nmodule.exports = getSymbolsIn;\n","var DataView = require('./_DataView'),\n Map = require('./_Map'),\n Promise = require('./_Promise'),\n Set = require('./_Set'),\n WeakMap = require('./_WeakMap'),\n baseGetTag = require('./_baseGetTag'),\n toSource = require('./_toSource');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\nmodule.exports = getTag;\n","/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n","/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsZWJ = '\\\\u200d';\n\n/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\nvar reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');\n\n/**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\nfunction hasUnicode(string) {\n return reHasUnicode.test(string);\n}\n\nmodule.exports = hasUnicode;\n","var nativeCreate = require('./_nativeCreate');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\nfunction initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n}\n\nmodule.exports = initCloneArray;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer'),\n cloneDataView = require('./_cloneDataView'),\n cloneRegExp = require('./_cloneRegExp'),\n cloneSymbol = require('./_cloneSymbol'),\n cloneTypedArray = require('./_cloneTypedArray');\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n}\n\nmodule.exports = initCloneByTag;\n","var baseCreate = require('./_baseCreate'),\n getPrototype = require('./_getPrototype'),\n isPrototype = require('./_isPrototype');\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nmodule.exports = initCloneObject;\n","var Symbol = require('./_Symbol'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray');\n\n/** Built-in value references. */\nvar spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined;\n\n/**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\nfunction isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n}\n\nmodule.exports = isFlattenable;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n","var isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\nmodule.exports = isKey;\n","/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n","var coreJsData = require('./_coreJsData');\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n","var Hash = require('./_Hash'),\n ListCache = require('./_ListCache'),\n Map = require('./_Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n","var getMapData = require('./_getMapData');\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n","var getMapData = require('./_getMapData');\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n","var getMapData = require('./_getMapData');\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n","var getMapData = require('./_getMapData');\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n","/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nmodule.exports = mapToArray;\n","var memoize = require('./memoize');\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\n\n/**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\nfunction memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n}\n\nmodule.exports = memoizeCapped;\n","var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n","var overArg = require('./_overArg');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nmodule.exports = nativeKeys;\n","/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = nativeKeysIn;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n","var apply = require('./_apply');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n}\n\nmodule.exports = overRest;\n","var baseGet = require('./_baseGet'),\n baseSlice = require('./_baseSlice');\n\n/**\n * Gets the parent value at `path` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} path The path to get the parent value of.\n * @returns {*} Returns the parent value.\n */\nfunction parent(object, path) {\n return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n}\n\nmodule.exports = parent;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nmodule.exports = setCacheAdd;\n","/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;\n","/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\nmodule.exports = setToArray;\n","var baseSetToString = require('./_baseSetToString'),\n shortOut = require('./_shortOut');\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = shortOut(baseSetToString);\n\nmodule.exports = setToString;\n","/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n}\n\nmodule.exports = shortOut;\n","var ListCache = require('./_ListCache');\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n","/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n","/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n","/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n","var ListCache = require('./_ListCache'),\n Map = require('./_Map'),\n MapCache = require('./_MapCache');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nmodule.exports = stackSet;\n","/**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = strictIndexOf;\n","var asciiToArray = require('./_asciiToArray'),\n hasUnicode = require('./_hasUnicode'),\n unicodeToArray = require('./_unicodeToArray');\n\n/**\n * Converts `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction stringToArray(string) {\n return hasUnicode(string)\n ? unicodeToArray(string)\n : asciiToArray(string);\n}\n\nmodule.exports = stringToArray;\n","var memoizeCapped = require('./_memoizeCapped');\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\nmodule.exports = stringToPath;\n","var isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = toKey;\n","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsAstral = '[' + rsAstralRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsZWJ = '\\\\u200d';\n\n/** Used to compose unicode regexes. */\nvar reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\nvar reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n/**\n * Converts a Unicode `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction unicodeToArray(string) {\n return string.match(reUnicode) || [];\n}\n\nmodule.exports = unicodeToArray;\n","var baseClone = require('./_baseClone');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\nfunction cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n}\n\nmodule.exports = cloneDeep;\n","/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nmodule.exports = constant;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n","var baseFlatten = require('./_baseFlatten');\n\n/**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\nfunction flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n}\n\nmodule.exports = flatten;\n","var baseGet = require('./_baseGet');\n\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nmodule.exports = get;\n","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n","var baseIsArguments = require('./_baseIsArguments'),\n isObjectLike = require('./isObjectLike');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n","var isFunction = require('./isFunction'),\n isLength = require('./isLength');\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n","var root = require('./_root'),\n stubFalse = require('./stubFalse');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n","var isObjectLike = require('./isObjectLike'),\n isPlainObject = require('./isPlainObject');\n\n/**\n * Checks if `value` is likely a DOM element.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.\n * @example\n *\n * _.isElement(document.body);\n * // => true\n *\n * _.isElement('');\n * // => false\n */\nfunction isElement(value) {\n return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);\n}\n\nmodule.exports = isElement;\n","var baseKeys = require('./_baseKeys'),\n getTag = require('./_getTag'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isArrayLike = require('./isArrayLike'),\n isBuffer = require('./isBuffer'),\n isPrototype = require('./_isPrototype'),\n isTypedArray = require('./isTypedArray');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n setTag = '[object Set]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\nfunction isEmpty(value) {\n if (value == null) {\n return true;\n }\n if (isArrayLike(value) &&\n (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n return !value.length;\n }\n var tag = getTag(value);\n if (tag == mapTag || tag == setTag) {\n return !value.size;\n }\n if (isPrototype(value)) {\n return !baseKeys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n}\n\nmodule.exports = isEmpty;\n","var baseIsEqual = require('./_baseIsEqual');\n\n/**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\nfunction isEqual(value, other) {\n return baseIsEqual(value, other);\n}\n\nmodule.exports = isEqual;\n","var baseGetTag = require('./_baseGetTag'),\n isObject = require('./isObject');\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n","var baseIsMap = require('./_baseIsMap'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\n\n/**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nmodule.exports = isMap;\n","/**\n * Checks if `value` is `null` or `undefined`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n * @example\n *\n * _.isNil(null);\n * // => true\n *\n * _.isNil(void 0);\n * // => true\n *\n * _.isNil(NaN);\n * // => false\n */\nfunction isNil(value) {\n return value == null;\n}\n\nmodule.exports = isNil;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar numberTag = '[object Number]';\n\n/**\n * Checks if `value` is classified as a `Number` primitive or object.\n *\n * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are\n * classified as numbers, use the `_.isFinite` method.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a number, else `false`.\n * @example\n *\n * _.isNumber(3);\n * // => true\n *\n * _.isNumber(Number.MIN_VALUE);\n * // => true\n *\n * _.isNumber(Infinity);\n * // => true\n *\n * _.isNumber('3');\n * // => false\n */\nfunction isNumber(value) {\n return typeof value == 'number' ||\n (isObjectLike(value) && baseGetTag(value) == numberTag);\n}\n\nmodule.exports = isNumber;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n getPrototype = require('./_getPrototype'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n","var baseIsSet = require('./_baseIsSet'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\n\n/**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nmodule.exports = isSet;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var baseIsTypedArray = require('./_baseIsTypedArray'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n","/**\n * Checks if `value` is `undefined`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n * @example\n *\n * _.isUndefined(void 0);\n * // => true\n *\n * _.isUndefined(null);\n * // => false\n */\nfunction isUndefined(value) {\n return value === undefined;\n}\n\nmodule.exports = isUndefined;\n","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeys = require('./_baseKeys'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nmodule.exports = keys;\n","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeysIn = require('./_baseKeysIn'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nmodule.exports = keysIn;\n","/**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nmodule.exports = last;\n","var MapCache = require('./_MapCache');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n}\n\n// Expose `MapCache`.\nmemoize.Cache = MapCache;\n\nmodule.exports = memoize;\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","var arrayMap = require('./_arrayMap'),\n baseClone = require('./_baseClone'),\n baseUnset = require('./_baseUnset'),\n castPath = require('./_castPath'),\n copyObject = require('./_copyObject'),\n customOmitClone = require('./_customOmitClone'),\n flatRest = require('./_flatRest'),\n getAllKeysIn = require('./_getAllKeysIn');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * The opposite of `_.pick`; this method creates an object composed of the\n * own and inherited enumerable property paths of `object` that are not omitted.\n *\n * **Note:** This method is considerably slower than `_.pick`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to omit.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omit(object, ['a', 'c']);\n * // => { 'b': '2' }\n */\nvar omit = flatRest(function(object, paths) {\n var result = {};\n if (object == null) {\n return result;\n }\n var isDeep = false;\n paths = arrayMap(paths, function(path) {\n path = castPath(path, object);\n isDeep || (isDeep = path.length > 1);\n return path;\n });\n copyObject(object, getAllKeysIn(object), result);\n if (isDeep) {\n result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);\n }\n var length = paths.length;\n while (length--) {\n baseUnset(result, paths[length]);\n }\n return result;\n});\n\nmodule.exports = omit;\n","/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nmodule.exports = stubArray;\n","/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = stubFalse;\n","var debounce = require('./debounce'),\n isObject = require('./isObject');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\nmodule.exports = throttle;\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","var baseToString = require('./_baseToString');\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;\n","var baseToString = require('./_baseToString'),\n castSlice = require('./_castSlice'),\n charsEndIndex = require('./_charsEndIndex'),\n stringToArray = require('./_stringToArray'),\n toString = require('./toString'),\n trimmedEndIndex = require('./_trimmedEndIndex');\n\n/**\n * Removes trailing whitespace or specified characters from `string`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to trim.\n * @param {string} [chars=whitespace] The characters to trim.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {string} Returns the trimmed string.\n * @example\n *\n * _.trimEnd(' abc ');\n * // => ' abc'\n *\n * _.trimEnd('-_-abc-_-', '_-');\n * // => '-_-abc'\n */\nfunction trimEnd(string, chars, guard) {\n string = toString(string);\n if (string && (guard || chars === undefined)) {\n return string.slice(0, trimmedEndIndex(string) + 1);\n }\n if (!string || !(chars = baseToString(chars))) {\n return string;\n }\n var strSymbols = stringToArray(string),\n end = charsEndIndex(strSymbols, stringToArray(chars)) + 1;\n\n return castSlice(strSymbols, 0, end).join('');\n}\n\nmodule.exports = trimEnd;\n","// (c) 2012-2018 Airbnb, Inc.\n//\n// polyglot.js may be freely distributed under the terms of the BSD\n// license. For all licensing information, details, and documention:\n// http://airbnb.github.com/polyglot.js\n//\n//\n// Polyglot.js is an I18n helper library written in JavaScript, made to\n// work both in the browser and in Node. It provides a simple solution for\n// interpolation and pluralization, based off of Airbnb's\n// experience adding I18n functionality to its Backbone.js and Node apps.\n//\n// Polylglot is agnostic to your translation backend. It doesn't perform any\n// translation; it simply gives you a way to manage translated phrases from\n// your client- or server-side JavaScript application.\n//\n\n'use strict';\n\nvar forEach = require('for-each');\nvar warning = require('warning');\nvar has = require('has');\nvar trim = require('string.prototype.trim');\n\nvar warn = function warn(message) {\n warning(false, message);\n};\n\nvar replace = String.prototype.replace;\nvar split = String.prototype.split;\n\n// #### Pluralization methods\n// The string that separates the different phrase possibilities.\nvar delimiter = '||||';\n\nvar russianPluralGroups = function (n) {\n var lastTwo = n % 100;\n var end = lastTwo % 10;\n if (lastTwo !== 11 && end === 1) {\n return 0;\n }\n if (2 <= end && end <= 4 && !(lastTwo >= 12 && lastTwo <= 14)) {\n return 1;\n }\n return 2;\n};\n\nvar defaultPluralRules = {\n // Mapping from pluralization group plural logic.\n pluralTypes: {\n arabic: function (n) {\n // http://www.arabeyes.org/Plural_Forms\n if (n < 3) { return n; }\n var lastTwo = n % 100;\n if (lastTwo >= 3 && lastTwo <= 10) return 3;\n return lastTwo >= 11 ? 4 : 5;\n },\n bosnian_serbian: russianPluralGroups,\n chinese: function () { return 0; },\n croatian: russianPluralGroups,\n french: function (n) { return n > 1 ? 1 : 0; },\n german: function (n) { return n !== 1 ? 1 : 0; },\n russian: russianPluralGroups,\n lithuanian: function (n) {\n if (n % 10 === 1 && n % 100 !== 11) { return 0; }\n return n % 10 >= 2 && n % 10 <= 9 && (n % 100 < 11 || n % 100 > 19) ? 1 : 2;\n },\n czech: function (n) {\n if (n === 1) { return 0; }\n return (n >= 2 && n <= 4) ? 1 : 2;\n },\n polish: function (n) {\n if (n === 1) { return 0; }\n var end = n % 10;\n return 2 <= end && end <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2;\n },\n icelandic: function (n) { return (n % 10 !== 1 || n % 100 === 11) ? 1 : 0; },\n slovenian: function (n) {\n var lastTwo = n % 100;\n if (lastTwo === 1) {\n return 0;\n }\n if (lastTwo === 2) {\n return 1;\n }\n if (lastTwo === 3 || lastTwo === 4) {\n return 2;\n }\n return 3;\n }\n },\n\n // Mapping from pluralization group to individual language codes/locales.\n // Will look up based on exact match, if not found and it's a locale will parse the locale\n // for language code, and if that does not exist will default to 'en'\n pluralTypeToLanguages: {\n arabic: ['ar'],\n bosnian_serbian: ['bs-Latn-BA', 'bs-Cyrl-BA', 'srl-RS', 'sr-RS'],\n chinese: ['id', 'id-ID', 'ja', 'ko', 'ko-KR', 'lo', 'ms', 'th', 'th-TH', 'zh'],\n croatian: ['hr', 'hr-HR'],\n german: ['fa', 'da', 'de', 'en', 'es', 'fi', 'el', 'he', 'hi-IN', 'hu', 'hu-HU', 'it', 'nl', 'no', 'pt', 'sv', 'tr'],\n french: ['fr', 'tl', 'pt-br'],\n russian: ['ru', 'ru-RU'],\n lithuanian: ['lt'],\n czech: ['cs', 'cs-CZ', 'sk'],\n polish: ['pl'],\n icelandic: ['is'],\n slovenian: ['sl-SL']\n }\n};\n\nfunction langToTypeMap(mapping) {\n var ret = {};\n forEach(mapping, function (langs, type) {\n forEach(langs, function (lang) {\n ret[lang] = type;\n });\n });\n return ret;\n}\n\nfunction pluralTypeName(pluralRules, locale) {\n var langToPluralType = langToTypeMap(pluralRules.pluralTypeToLanguages);\n return langToPluralType[locale]\n || langToPluralType[split.call(locale, /-/, 1)[0]]\n || langToPluralType.en;\n}\n\nfunction pluralTypeIndex(pluralRules, locale, count) {\n return pluralRules.pluralTypes[pluralTypeName(pluralRules, locale)](count);\n}\n\nfunction escape(token) {\n return token.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\n}\n\nfunction constructTokenRegex(opts) {\n var prefix = (opts && opts.prefix) || '%{';\n var suffix = (opts && opts.suffix) || '}';\n\n if (prefix === delimiter || suffix === delimiter) {\n throw new RangeError('\"' + delimiter + '\" token is reserved for pluralization');\n }\n\n return new RegExp(escape(prefix) + '(.*?)' + escape(suffix), 'g');\n}\n\nvar defaultTokenRegex = /%\\{(.*?)\\}/g;\n\n// ### transformPhrase(phrase, substitutions, locale)\n//\n// Takes a phrase string and transforms it by choosing the correct\n// plural form and interpolating it.\n//\n// transformPhrase('Hello, %{name}!', {name: 'Spike'});\n// // \"Hello, Spike!\"\n//\n// The correct plural form is selected if substitutions.smart_count\n// is set. You can pass in a number instead of an Object as `substitutions`\n// as a shortcut for `smart_count`.\n//\n// transformPhrase('%{smart_count} new messages |||| 1 new message', {smart_count: 1}, 'en');\n// // \"1 new message\"\n//\n// transformPhrase('%{smart_count} new messages |||| 1 new message', {smart_count: 2}, 'en');\n// // \"2 new messages\"\n//\n// transformPhrase('%{smart_count} new messages |||| 1 new message', 5, 'en');\n// // \"5 new messages\"\n//\n// You should pass in a third argument, the locale, to specify the correct plural type.\n// It defaults to `'en'` with 2 plural forms.\nfunction transformPhrase(phrase, substitutions, locale, tokenRegex, pluralRules) {\n if (typeof phrase !== 'string') {\n throw new TypeError('Polyglot.transformPhrase expects argument #1 to be string');\n }\n\n if (substitutions == null) {\n return phrase;\n }\n\n var result = phrase;\n var interpolationRegex = tokenRegex || defaultTokenRegex;\n var pluralRulesOrDefault = pluralRules || defaultPluralRules;\n\n // allow number as a pluralization shortcut\n var options = typeof substitutions === 'number' ? { smart_count: substitutions } : substitutions;\n\n // Select plural form: based on a phrase text that contains `n`\n // plural forms separated by `delimiter`, a `locale`, and a `substitutions.smart_count`,\n // choose the correct plural form. This is only done if `count` is set.\n if (options.smart_count != null && result) {\n var texts = split.call(result, delimiter);\n result = trim(texts[pluralTypeIndex(pluralRulesOrDefault, locale || 'en', options.smart_count)] || texts[0]);\n }\n\n // Interpolate: Creates a `RegExp` object for each interpolation placeholder.\n result = replace.call(result, interpolationRegex, function (expression, argument) {\n if (!has(options, argument) || options[argument] == null) { return expression; }\n return options[argument];\n });\n\n return result;\n}\n\n// ### Polyglot class constructor\nfunction Polyglot(options) {\n var opts = options || {};\n this.phrases = {};\n this.extend(opts.phrases || {});\n this.currentLocale = opts.locale || 'en';\n var allowMissing = opts.allowMissing ? transformPhrase : null;\n this.onMissingKey = typeof opts.onMissingKey === 'function' ? opts.onMissingKey : allowMissing;\n this.warn = opts.warn || warn;\n this.tokenRegex = constructTokenRegex(opts.interpolation);\n this.pluralRules = opts.pluralRules || defaultPluralRules;\n}\n\n// ### polyglot.locale([locale])\n//\n// Get or set locale. Internally, Polyglot only uses locale for pluralization.\nPolyglot.prototype.locale = function (newLocale) {\n if (newLocale) this.currentLocale = newLocale;\n return this.currentLocale;\n};\n\n// ### polyglot.extend(phrases)\n//\n// Use `extend` to tell Polyglot how to translate a given key.\n//\n// polyglot.extend({\n// \"hello\": \"Hello\",\n// \"hello_name\": \"Hello, %{name}\"\n// });\n//\n// The key can be any string. Feel free to call `extend` multiple times;\n// it will override any phrases with the same key, but leave existing phrases\n// untouched.\n//\n// It is also possible to pass nested phrase objects, which get flattened\n// into an object with the nested keys concatenated using dot notation.\n//\n// polyglot.extend({\n// \"nav\": {\n// \"hello\": \"Hello\",\n// \"hello_name\": \"Hello, %{name}\",\n// \"sidebar\": {\n// \"welcome\": \"Welcome\"\n// }\n// }\n// });\n//\n// console.log(polyglot.phrases);\n// // {\n// // 'nav.hello': 'Hello',\n// // 'nav.hello_name': 'Hello, %{name}',\n// // 'nav.sidebar.welcome': 'Welcome'\n// // }\n//\n// `extend` accepts an optional second argument, `prefix`, which can be used\n// to prefix every key in the phrases object with some string, using dot\n// notation.\n//\n// polyglot.extend({\n// \"hello\": \"Hello\",\n// \"hello_name\": \"Hello, %{name}\"\n// }, \"nav\");\n//\n// console.log(polyglot.phrases);\n// // {\n// // 'nav.hello': 'Hello',\n// // 'nav.hello_name': 'Hello, %{name}'\n// // }\n//\n// This feature is used internally to support nested phrase objects.\nPolyglot.prototype.extend = function (morePhrases, prefix) {\n forEach(morePhrases, function (phrase, key) {\n var prefixedKey = prefix ? prefix + '.' + key : key;\n if (typeof phrase === 'object') {\n this.extend(phrase, prefixedKey);\n } else {\n this.phrases[prefixedKey] = phrase;\n }\n }, this);\n};\n\n// ### polyglot.unset(phrases)\n// Use `unset` to selectively remove keys from a polyglot instance.\n//\n// polyglot.unset(\"some_key\");\n// polyglot.unset({\n// \"hello\": \"Hello\",\n// \"hello_name\": \"Hello, %{name}\"\n// });\n//\n// The unset method can take either a string (for the key), or an object hash with\n// the keys that you would like to unset.\nPolyglot.prototype.unset = function (morePhrases, prefix) {\n if (typeof morePhrases === 'string') {\n delete this.phrases[morePhrases];\n } else {\n forEach(morePhrases, function (phrase, key) {\n var prefixedKey = prefix ? prefix + '.' + key : key;\n if (typeof phrase === 'object') {\n this.unset(phrase, prefixedKey);\n } else {\n delete this.phrases[prefixedKey];\n }\n }, this);\n }\n};\n\n// ### polyglot.clear()\n//\n// Clears all phrases. Useful for special cases, such as freeing\n// up memory if you have lots of phrases but no longer need to\n// perform any translation. Also used internally by `replace`.\nPolyglot.prototype.clear = function () {\n this.phrases = {};\n};\n\n// ### polyglot.replace(phrases)\n//\n// Completely replace the existing phrases with a new set of phrases.\n// Normally, just use `extend` to add more phrases, but under certain\n// circumstances, you may want to make sure no old phrases are lying around.\nPolyglot.prototype.replace = function (newPhrases) {\n this.clear();\n this.extend(newPhrases);\n};\n\n\n// ### polyglot.t(key, options)\n//\n// The most-used method. Provide a key, and `t` will return the\n// phrase.\n//\n// polyglot.t(\"hello\");\n// => \"Hello\"\n//\n// The phrase value is provided first by a call to `polyglot.extend()` or\n// `polyglot.replace()`.\n//\n// Pass in an object as the second argument to perform interpolation.\n//\n// polyglot.t(\"hello_name\", {name: \"Spike\"});\n// => \"Hello, Spike\"\n//\n// If you like, you can provide a default value in case the phrase is missing.\n// Use the special option key \"_\" to specify a default.\n//\n// polyglot.t(\"i_like_to_write_in_language\", {\n// _: \"I like to write in %{language}.\",\n// language: \"JavaScript\"\n// });\n// => \"I like to write in JavaScript.\"\n//\nPolyglot.prototype.t = function (key, options) {\n var phrase, result;\n var opts = options == null ? {} : options;\n if (typeof this.phrases[key] === 'string') {\n phrase = this.phrases[key];\n } else if (typeof opts._ === 'string') {\n phrase = opts._;\n } else if (this.onMissingKey) {\n var onMissingKey = this.onMissingKey;\n result = onMissingKey(key, opts, this.currentLocale, this.tokenRegex, this.pluralRules);\n } else {\n this.warn('Missing translation for key: \"' + key + '\"');\n result = key;\n }\n if (typeof phrase === 'string') {\n result = transformPhrase(phrase, opts, this.currentLocale, this.tokenRegex, this.pluralRules);\n }\n return result;\n};\n\n\n// ### polyglot.has(key)\n//\n// Check if polyglot has a translation for given key\nPolyglot.prototype.has = function (key) {\n return has(this.phrases, key);\n};\n\n// export transformPhrase\nPolyglot.transformPhrase = function transform(phrase, substitutions, locale) {\n return transformPhrase(phrase, substitutions, locale);\n};\n\nmodule.exports = Polyglot;\n","var hasMap = typeof Map === 'function' && Map.prototype;\nvar mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;\nvar mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;\nvar mapForEach = hasMap && Map.prototype.forEach;\nvar hasSet = typeof Set === 'function' && Set.prototype;\nvar setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;\nvar setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;\nvar setForEach = hasSet && Set.prototype.forEach;\nvar hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;\nvar weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;\nvar hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;\nvar weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;\nvar hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;\nvar weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;\nvar booleanValueOf = Boolean.prototype.valueOf;\nvar objectToString = Object.prototype.toString;\nvar functionToString = Function.prototype.toString;\nvar $match = String.prototype.match;\nvar $slice = String.prototype.slice;\nvar $replace = String.prototype.replace;\nvar $toUpperCase = String.prototype.toUpperCase;\nvar $toLowerCase = String.prototype.toLowerCase;\nvar $test = RegExp.prototype.test;\nvar $concat = Array.prototype.concat;\nvar $join = Array.prototype.join;\nvar $arrSlice = Array.prototype.slice;\nvar $floor = Math.floor;\nvar bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;\nvar gOPS = Object.getOwnPropertySymbols;\nvar symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;\nvar hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';\n// ie, `has-tostringtag/shams\nvar toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')\n ? Symbol.toStringTag\n : null;\nvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\nvar gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (\n [].__proto__ === Array.prototype // eslint-disable-line no-proto\n ? function (O) {\n return O.__proto__; // eslint-disable-line no-proto\n }\n : null\n);\n\nfunction addNumericSeparator(num, str) {\n if (\n num === Infinity\n || num === -Infinity\n || num !== num\n || (num && num > -1000 && num < 1000)\n || $test.call(/e/, str)\n ) {\n return str;\n }\n var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;\n if (typeof num === 'number') {\n var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)\n if (int !== num) {\n var intStr = String(int);\n var dec = $slice.call(str, intStr.length + 1);\n return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');\n }\n }\n return $replace.call(str, sepRegex, '$&_');\n}\n\nvar utilInspect = require('./util.inspect');\nvar inspectCustom = utilInspect.custom;\nvar inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;\n\nmodule.exports = function inspect_(obj, options, depth, seen) {\n var opts = options || {};\n\n if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {\n throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');\n }\n if (\n has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'\n ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity\n : opts.maxStringLength !== null\n )\n ) {\n throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');\n }\n var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;\n if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {\n throw new TypeError('option \"customInspect\", if provided, must be `true`, `false`, or `\\'symbol\\'`');\n }\n\n if (\n has(opts, 'indent')\n && opts.indent !== null\n && opts.indent !== '\\t'\n && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)\n ) {\n throw new TypeError('option \"indent\" must be \"\\\\t\", an integer > 0, or `null`');\n }\n if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {\n throw new TypeError('option \"numericSeparator\", if provided, must be `true` or `false`');\n }\n var numericSeparator = opts.numericSeparator;\n\n if (typeof obj === 'undefined') {\n return 'undefined';\n }\n if (obj === null) {\n return 'null';\n }\n if (typeof obj === 'boolean') {\n return obj ? 'true' : 'false';\n }\n\n if (typeof obj === 'string') {\n return inspectString(obj, opts);\n }\n if (typeof obj === 'number') {\n if (obj === 0) {\n return Infinity / obj > 0 ? '0' : '-0';\n }\n var str = String(obj);\n return numericSeparator ? addNumericSeparator(obj, str) : str;\n }\n if (typeof obj === 'bigint') {\n var bigIntStr = String(obj) + 'n';\n return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;\n }\n\n var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;\n if (typeof depth === 'undefined') { depth = 0; }\n if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {\n return isArray(obj) ? '[Array]' : '[Object]';\n }\n\n var indent = getIndent(opts, depth);\n\n if (typeof seen === 'undefined') {\n seen = [];\n } else if (indexOf(seen, obj) >= 0) {\n return '[Circular]';\n }\n\n function inspect(value, from, noIndent) {\n if (from) {\n seen = $arrSlice.call(seen);\n seen.push(from);\n }\n if (noIndent) {\n var newOpts = {\n depth: opts.depth\n };\n if (has(opts, 'quoteStyle')) {\n newOpts.quoteStyle = opts.quoteStyle;\n }\n return inspect_(value, newOpts, depth + 1, seen);\n }\n return inspect_(value, opts, depth + 1, seen);\n }\n\n if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable\n var name = nameOf(obj);\n var keys = arrObjKeys(obj, inspect);\n return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');\n }\n if (isSymbol(obj)) {\n var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\\(.*\\))_[^)]*$/, '$1') : symToString.call(obj);\n return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;\n }\n if (isElement(obj)) {\n var s = '<' + $toLowerCase.call(String(obj.nodeName));\n var attrs = obj.attributes || [];\n for (var i = 0; i < attrs.length; i++) {\n s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);\n }\n s += '>';\n if (obj.childNodes && obj.childNodes.length) { s += '...'; }\n s += '';\n return s;\n }\n if (isArray(obj)) {\n if (obj.length === 0) { return '[]'; }\n var xs = arrObjKeys(obj, inspect);\n if (indent && !singleLineValues(xs)) {\n return '[' + indentedJoin(xs, indent) + ']';\n }\n return '[ ' + $join.call(xs, ', ') + ' ]';\n }\n if (isError(obj)) {\n var parts = arrObjKeys(obj, inspect);\n if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) {\n return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';\n }\n if (parts.length === 0) { return '[' + String(obj) + ']'; }\n return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';\n }\n if (typeof obj === 'object' && customInspect) {\n if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) {\n return utilInspect(obj, { depth: maxDepth - depth });\n } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {\n return obj.inspect();\n }\n }\n if (isMap(obj)) {\n var mapParts = [];\n if (mapForEach) {\n mapForEach.call(obj, function (value, key) {\n mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));\n });\n }\n return collectionOf('Map', mapSize.call(obj), mapParts, indent);\n }\n if (isSet(obj)) {\n var setParts = [];\n if (setForEach) {\n setForEach.call(obj, function (value) {\n setParts.push(inspect(value, obj));\n });\n }\n return collectionOf('Set', setSize.call(obj), setParts, indent);\n }\n if (isWeakMap(obj)) {\n return weakCollectionOf('WeakMap');\n }\n if (isWeakSet(obj)) {\n return weakCollectionOf('WeakSet');\n }\n if (isWeakRef(obj)) {\n return weakCollectionOf('WeakRef');\n }\n if (isNumber(obj)) {\n return markBoxed(inspect(Number(obj)));\n }\n if (isBigInt(obj)) {\n return markBoxed(inspect(bigIntValueOf.call(obj)));\n }\n if (isBoolean(obj)) {\n return markBoxed(booleanValueOf.call(obj));\n }\n if (isString(obj)) {\n return markBoxed(inspect(String(obj)));\n }\n // note: in IE 8, sometimes `global !== window` but both are the prototypes of each other\n /* eslint-env browser */\n if (typeof window !== 'undefined' && obj === window) {\n return '{ [object Window] }';\n }\n if (\n (typeof globalThis !== 'undefined' && obj === globalThis)\n || (typeof global !== 'undefined' && obj === global)\n ) {\n return '{ [object globalThis] }';\n }\n if (!isDate(obj) && !isRegExp(obj)) {\n var ys = arrObjKeys(obj, inspect);\n var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;\n var protoTag = obj instanceof Object ? '' : 'null prototype';\n var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';\n var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';\n var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');\n if (ys.length === 0) { return tag + '{}'; }\n if (indent) {\n return tag + '{' + indentedJoin(ys, indent) + '}';\n }\n return tag + '{ ' + $join.call(ys, ', ') + ' }';\n }\n return String(obj);\n};\n\nfunction wrapQuotes(s, defaultStyle, opts) {\n var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '\"' : \"'\";\n return quoteChar + s + quoteChar;\n}\n\nfunction quote(s) {\n return $replace.call(String(s), /\"/g, '"');\n}\n\nfunction isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\n\n// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives\nfunction isSymbol(obj) {\n if (hasShammedSymbols) {\n return obj && typeof obj === 'object' && obj instanceof Symbol;\n }\n if (typeof obj === 'symbol') {\n return true;\n }\n if (!obj || typeof obj !== 'object' || !symToString) {\n return false;\n }\n try {\n symToString.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isBigInt(obj) {\n if (!obj || typeof obj !== 'object' || !bigIntValueOf) {\n return false;\n }\n try {\n bigIntValueOf.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nvar hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };\nfunction has(obj, key) {\n return hasOwn.call(obj, key);\n}\n\nfunction toStr(obj) {\n return objectToString.call(obj);\n}\n\nfunction nameOf(f) {\n if (f.name) { return f.name; }\n var m = $match.call(functionToString.call(f), /^function\\s*([\\w$]+)/);\n if (m) { return m[1]; }\n return null;\n}\n\nfunction indexOf(xs, x) {\n if (xs.indexOf) { return xs.indexOf(x); }\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) { return i; }\n }\n return -1;\n}\n\nfunction isMap(x) {\n if (!mapSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n mapSize.call(x);\n try {\n setSize.call(x);\n } catch (s) {\n return true;\n }\n return x instanceof Map; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakMap(x) {\n if (!weakMapHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakMapHas.call(x, weakMapHas);\n try {\n weakSetHas.call(x, weakSetHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakMap; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakRef(x) {\n if (!weakRefDeref || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakRefDeref.call(x);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isSet(x) {\n if (!setSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n setSize.call(x);\n try {\n mapSize.call(x);\n } catch (m) {\n return true;\n }\n return x instanceof Set; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakSet(x) {\n if (!weakSetHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakSetHas.call(x, weakSetHas);\n try {\n weakMapHas.call(x, weakMapHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakSet; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isElement(x) {\n if (!x || typeof x !== 'object') { return false; }\n if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {\n return true;\n }\n return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';\n}\n\nfunction inspectString(str, opts) {\n if (str.length > opts.maxStringLength) {\n var remaining = str.length - opts.maxStringLength;\n var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');\n return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;\n }\n // eslint-disable-next-line no-control-regex\n var s = $replace.call($replace.call(str, /(['\\\\])/g, '\\\\$1'), /[\\x00-\\x1f]/g, lowbyte);\n return wrapQuotes(s, 'single', opts);\n}\n\nfunction lowbyte(c) {\n var n = c.charCodeAt(0);\n var x = {\n 8: 'b',\n 9: 't',\n 10: 'n',\n 12: 'f',\n 13: 'r'\n }[n];\n if (x) { return '\\\\' + x; }\n return '\\\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));\n}\n\nfunction markBoxed(str) {\n return 'Object(' + str + ')';\n}\n\nfunction weakCollectionOf(type) {\n return type + ' { ? }';\n}\n\nfunction collectionOf(type, size, entries, indent) {\n var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');\n return type + ' (' + size + ') {' + joinedEntries + '}';\n}\n\nfunction singleLineValues(xs) {\n for (var i = 0; i < xs.length; i++) {\n if (indexOf(xs[i], '\\n') >= 0) {\n return false;\n }\n }\n return true;\n}\n\nfunction getIndent(opts, depth) {\n var baseIndent;\n if (opts.indent === '\\t') {\n baseIndent = '\\t';\n } else if (typeof opts.indent === 'number' && opts.indent > 0) {\n baseIndent = $join.call(Array(opts.indent + 1), ' ');\n } else {\n return null;\n }\n return {\n base: baseIndent,\n prev: $join.call(Array(depth + 1), baseIndent)\n };\n}\n\nfunction indentedJoin(xs, indent) {\n if (xs.length === 0) { return ''; }\n var lineJoiner = '\\n' + indent.prev + indent.base;\n return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\\n' + indent.prev;\n}\n\nfunction arrObjKeys(obj, inspect) {\n var isArr = isArray(obj);\n var xs = [];\n if (isArr) {\n xs.length = obj.length;\n for (var i = 0; i < obj.length; i++) {\n xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';\n }\n }\n var syms = typeof gOPS === 'function' ? gOPS(obj) : [];\n var symMap;\n if (hasShammedSymbols) {\n symMap = {};\n for (var k = 0; k < syms.length; k++) {\n symMap['$' + syms[k]] = syms[k];\n }\n }\n\n for (var key in obj) { // eslint-disable-line no-restricted-syntax\n if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {\n // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section\n continue; // eslint-disable-line no-restricted-syntax, no-continue\n } else if ($test.call(/[^\\w$]/, key)) {\n xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));\n } else {\n xs.push(key + ': ' + inspect(obj[key], obj));\n }\n }\n if (typeof gOPS === 'function') {\n for (var j = 0; j < syms.length; j++) {\n if (isEnumerable.call(obj, syms[j])) {\n xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));\n }\n }\n }\n return xs;\n}\n","'use strict';\n\nvar keysShim;\nif (!Object.keys) {\n\t// modified from https://github.com/es-shims/es5-shim\n\tvar has = Object.prototype.hasOwnProperty;\n\tvar toStr = Object.prototype.toString;\n\tvar isArgs = require('./isArguments'); // eslint-disable-line global-require\n\tvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\tvar hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString');\n\tvar hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype');\n\tvar dontEnums = [\n\t\t'toString',\n\t\t'toLocaleString',\n\t\t'valueOf',\n\t\t'hasOwnProperty',\n\t\t'isPrototypeOf',\n\t\t'propertyIsEnumerable',\n\t\t'constructor'\n\t];\n\tvar equalsConstructorPrototype = function (o) {\n\t\tvar ctor = o.constructor;\n\t\treturn ctor && ctor.prototype === o;\n\t};\n\tvar excludedKeys = {\n\t\t$applicationCache: true,\n\t\t$console: true,\n\t\t$external: true,\n\t\t$frame: true,\n\t\t$frameElement: true,\n\t\t$frames: true,\n\t\t$innerHeight: true,\n\t\t$innerWidth: true,\n\t\t$onmozfullscreenchange: true,\n\t\t$onmozfullscreenerror: true,\n\t\t$outerHeight: true,\n\t\t$outerWidth: true,\n\t\t$pageXOffset: true,\n\t\t$pageYOffset: true,\n\t\t$parent: true,\n\t\t$scrollLeft: true,\n\t\t$scrollTop: true,\n\t\t$scrollX: true,\n\t\t$scrollY: true,\n\t\t$self: true,\n\t\t$webkitIndexedDB: true,\n\t\t$webkitStorageInfo: true,\n\t\t$window: true\n\t};\n\tvar hasAutomationEqualityBug = (function () {\n\t\t/* global window */\n\t\tif (typeof window === 'undefined') { return false; }\n\t\tfor (var k in window) {\n\t\t\ttry {\n\t\t\t\tif (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tequalsConstructorPrototype(window[k]);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} catch (e) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}());\n\tvar equalsConstructorPrototypeIfNotBuggy = function (o) {\n\t\t/* global window */\n\t\tif (typeof window === 'undefined' || !hasAutomationEqualityBug) {\n\t\t\treturn equalsConstructorPrototype(o);\n\t\t}\n\t\ttry {\n\t\t\treturn equalsConstructorPrototype(o);\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t};\n\n\tkeysShim = function keys(object) {\n\t\tvar isObject = object !== null && typeof object === 'object';\n\t\tvar isFunction = toStr.call(object) === '[object Function]';\n\t\tvar isArguments = isArgs(object);\n\t\tvar isString = isObject && toStr.call(object) === '[object String]';\n\t\tvar theKeys = [];\n\n\t\tif (!isObject && !isFunction && !isArguments) {\n\t\t\tthrow new TypeError('Object.keys called on a non-object');\n\t\t}\n\n\t\tvar skipProto = hasProtoEnumBug && isFunction;\n\t\tif (isString && object.length > 0 && !has.call(object, 0)) {\n\t\t\tfor (var i = 0; i < object.length; ++i) {\n\t\t\t\ttheKeys.push(String(i));\n\t\t\t}\n\t\t}\n\n\t\tif (isArguments && object.length > 0) {\n\t\t\tfor (var j = 0; j < object.length; ++j) {\n\t\t\t\ttheKeys.push(String(j));\n\t\t\t}\n\t\t} else {\n\t\t\tfor (var name in object) {\n\t\t\t\tif (!(skipProto && name === 'prototype') && has.call(object, name)) {\n\t\t\t\t\ttheKeys.push(String(name));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (hasDontEnumBug) {\n\t\t\tvar skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);\n\n\t\t\tfor (var k = 0; k < dontEnums.length; ++k) {\n\t\t\t\tif (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) {\n\t\t\t\t\ttheKeys.push(dontEnums[k]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn theKeys;\n\t};\n}\nmodule.exports = keysShim;\n","'use strict';\n\nvar slice = Array.prototype.slice;\nvar isArgs = require('./isArguments');\n\nvar origKeys = Object.keys;\nvar keysShim = origKeys ? function keys(o) { return origKeys(o); } : require('./implementation');\n\nvar originalKeys = Object.keys;\n\nkeysShim.shim = function shimObjectKeys() {\n\tif (Object.keys) {\n\t\tvar keysWorksWithArguments = (function () {\n\t\t\t// Safari 5.0 bug\n\t\t\tvar args = Object.keys(arguments);\n\t\t\treturn args && args.length === arguments.length;\n\t\t}(1, 2));\n\t\tif (!keysWorksWithArguments) {\n\t\t\tObject.keys = function keys(object) { // eslint-disable-line func-name-matching\n\t\t\t\tif (isArgs(object)) {\n\t\t\t\t\treturn originalKeys(slice.call(object));\n\t\t\t\t}\n\t\t\t\treturn originalKeys(object);\n\t\t\t};\n\t\t}\n\t} else {\n\t\tObject.keys = keysShim;\n\t}\n\treturn Object.keys || keysShim;\n};\n\nmodule.exports = keysShim;\n","'use strict';\n\nvar toStr = Object.prototype.toString;\n\nmodule.exports = function isArguments(value) {\n\tvar str = toStr.call(value);\n\tvar isArgs = str === '[object Arguments]';\n\tif (!isArgs) {\n\t\tisArgs = str !== '[object Array]' &&\n\t\t\tvalue !== null &&\n\t\t\ttypeof value === 'object' &&\n\t\t\ttypeof value.length === 'number' &&\n\t\t\tvalue.length >= 0 &&\n\t\t\ttoStr.call(value.callee) === '[object Function]';\n\t}\n\treturn isArgs;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","'use strict';\n\nvar replace = String.prototype.replace;\nvar percentTwenties = /%20/g;\n\nvar Format = {\n RFC1738: 'RFC1738',\n RFC3986: 'RFC3986'\n};\n\nmodule.exports = {\n 'default': Format.RFC3986,\n formatters: {\n RFC1738: function (value) {\n return replace.call(value, percentTwenties, '+');\n },\n RFC3986: function (value) {\n return String(value);\n }\n },\n RFC1738: Format.RFC1738,\n RFC3986: Format.RFC3986\n};\n","'use strict';\n\nvar stringify = require('./stringify');\nvar parse = require('./parse');\nvar formats = require('./formats');\n\nmodule.exports = {\n formats: formats,\n parse: parse,\n stringify: stringify\n};\n","'use strict';\n\nvar utils = require('./utils');\n\nvar has = Object.prototype.hasOwnProperty;\nvar isArray = Array.isArray;\n\nvar defaults = {\n allowDots: false,\n allowPrototypes: false,\n allowSparse: false,\n arrayLimit: 20,\n charset: 'utf-8',\n charsetSentinel: false,\n comma: false,\n decoder: utils.decode,\n delimiter: '&',\n depth: 5,\n ignoreQueryPrefix: false,\n interpretNumericEntities: false,\n parameterLimit: 1000,\n parseArrays: true,\n plainObjects: false,\n strictNullHandling: false\n};\n\nvar interpretNumericEntities = function (str) {\n return str.replace(/&#(\\d+);/g, function ($0, numberStr) {\n return String.fromCharCode(parseInt(numberStr, 10));\n });\n};\n\nvar parseArrayValue = function (val, options) {\n if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {\n return val.split(',');\n }\n\n return val;\n};\n\n// This is what browsers will submit when the ✓ character occurs in an\n// application/x-www-form-urlencoded body and the encoding of the page containing\n// the form is iso-8859-1, or when the submitted form has an accept-charset\n// attribute of iso-8859-1. Presumably also with other charsets that do not contain\n// the ✓ character, such as us-ascii.\nvar isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('✓')\n\n// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded.\nvar charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')\n\nvar parseValues = function parseQueryStringValues(str, options) {\n var obj = { __proto__: null };\n\n var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\\?/, '') : str;\n var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;\n var parts = cleanStr.split(options.delimiter, limit);\n var skipIndex = -1; // Keep track of where the utf8 sentinel was found\n var i;\n\n var charset = options.charset;\n if (options.charsetSentinel) {\n for (i = 0; i < parts.length; ++i) {\n if (parts[i].indexOf('utf8=') === 0) {\n if (parts[i] === charsetSentinel) {\n charset = 'utf-8';\n } else if (parts[i] === isoSentinel) {\n charset = 'iso-8859-1';\n }\n skipIndex = i;\n i = parts.length; // The eslint settings do not allow break;\n }\n }\n }\n\n for (i = 0; i < parts.length; ++i) {\n if (i === skipIndex) {\n continue;\n }\n var part = parts[i];\n\n var bracketEqualsPos = part.indexOf(']=');\n var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;\n\n var key, val;\n if (pos === -1) {\n key = options.decoder(part, defaults.decoder, charset, 'key');\n val = options.strictNullHandling ? null : '';\n } else {\n key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');\n val = utils.maybeMap(\n parseArrayValue(part.slice(pos + 1), options),\n function (encodedVal) {\n return options.decoder(encodedVal, defaults.decoder, charset, 'value');\n }\n );\n }\n\n if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {\n val = interpretNumericEntities(val);\n }\n\n if (part.indexOf('[]=') > -1) {\n val = isArray(val) ? [val] : val;\n }\n\n if (has.call(obj, key)) {\n obj[key] = utils.combine(obj[key], val);\n } else {\n obj[key] = val;\n }\n }\n\n return obj;\n};\n\nvar parseObject = function (chain, val, options, valuesParsed) {\n var leaf = valuesParsed ? val : parseArrayValue(val, options);\n\n for (var i = chain.length - 1; i >= 0; --i) {\n var obj;\n var root = chain[i];\n\n if (root === '[]' && options.parseArrays) {\n obj = [].concat(leaf);\n } else {\n obj = options.plainObjects ? Object.create(null) : {};\n var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;\n var index = parseInt(cleanRoot, 10);\n if (!options.parseArrays && cleanRoot === '') {\n obj = { 0: leaf };\n } else if (\n !isNaN(index)\n && root !== cleanRoot\n && String(index) === cleanRoot\n && index >= 0\n && (options.parseArrays && index <= options.arrayLimit)\n ) {\n obj = [];\n obj[index] = leaf;\n } else if (cleanRoot !== '__proto__') {\n obj[cleanRoot] = leaf;\n }\n }\n\n leaf = obj;\n }\n\n return leaf;\n};\n\nvar parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {\n if (!givenKey) {\n return;\n }\n\n // Transform dot notation to bracket notation\n var key = options.allowDots ? givenKey.replace(/\\.([^.[]+)/g, '[$1]') : givenKey;\n\n // The regex chunks\n\n var brackets = /(\\[[^[\\]]*])/;\n var child = /(\\[[^[\\]]*])/g;\n\n // Get the parent\n\n var segment = options.depth > 0 && brackets.exec(key);\n var parent = segment ? key.slice(0, segment.index) : key;\n\n // Stash the parent if it exists\n\n var keys = [];\n if (parent) {\n // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties\n if (!options.plainObjects && has.call(Object.prototype, parent)) {\n if (!options.allowPrototypes) {\n return;\n }\n }\n\n keys.push(parent);\n }\n\n // Loop through children appending to the array until we hit depth\n\n var i = 0;\n while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) {\n i += 1;\n if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {\n if (!options.allowPrototypes) {\n return;\n }\n }\n keys.push(segment[1]);\n }\n\n // If there's a remainder, just add whatever is left\n\n if (segment) {\n keys.push('[' + key.slice(segment.index) + ']');\n }\n\n return parseObject(keys, val, options, valuesParsed);\n};\n\nvar normalizeParseOptions = function normalizeParseOptions(opts) {\n if (!opts) {\n return defaults;\n }\n\n if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') {\n throw new TypeError('Decoder has to be a function.');\n }\n\n if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n }\n var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;\n\n return {\n allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,\n allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,\n allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse,\n arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,\n charset: charset,\n charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,\n decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,\n delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,\n // eslint-disable-next-line no-implicit-coercion, no-extra-parens\n depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth,\n ignoreQueryPrefix: opts.ignoreQueryPrefix === true,\n interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,\n parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,\n parseArrays: opts.parseArrays !== false,\n plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,\n strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling\n };\n};\n\nmodule.exports = function (str, opts) {\n var options = normalizeParseOptions(opts);\n\n if (str === '' || str === null || typeof str === 'undefined') {\n return options.plainObjects ? Object.create(null) : {};\n }\n\n var tempObj = typeof str === 'string' ? parseValues(str, options) : str;\n var obj = options.plainObjects ? Object.create(null) : {};\n\n // Iterate over the keys and setup the new object\n\n var keys = Object.keys(tempObj);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string');\n obj = utils.merge(obj, newObj, options);\n }\n\n if (options.allowSparse === true) {\n return obj;\n }\n\n return utils.compact(obj);\n};\n","'use strict';\n\nvar getSideChannel = require('side-channel');\nvar utils = require('./utils');\nvar formats = require('./formats');\nvar has = Object.prototype.hasOwnProperty;\n\nvar arrayPrefixGenerators = {\n brackets: function brackets(prefix) {\n return prefix + '[]';\n },\n comma: 'comma',\n indices: function indices(prefix, key) {\n return prefix + '[' + key + ']';\n },\n repeat: function repeat(prefix) {\n return prefix;\n }\n};\n\nvar isArray = Array.isArray;\nvar push = Array.prototype.push;\nvar pushToArray = function (arr, valueOrArray) {\n push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);\n};\n\nvar toISO = Date.prototype.toISOString;\n\nvar defaultFormat = formats['default'];\nvar defaults = {\n addQueryPrefix: false,\n allowDots: false,\n charset: 'utf-8',\n charsetSentinel: false,\n delimiter: '&',\n encode: true,\n encoder: utils.encode,\n encodeValuesOnly: false,\n format: defaultFormat,\n formatter: formats.formatters[defaultFormat],\n // deprecated\n indices: false,\n serializeDate: function serializeDate(date) {\n return toISO.call(date);\n },\n skipNulls: false,\n strictNullHandling: false\n};\n\nvar isNonNullishPrimitive = function isNonNullishPrimitive(v) {\n return typeof v === 'string'\n || typeof v === 'number'\n || typeof v === 'boolean'\n || typeof v === 'symbol'\n || typeof v === 'bigint';\n};\n\nvar sentinel = {};\n\nvar stringify = function stringify(\n object,\n prefix,\n generateArrayPrefix,\n commaRoundTrip,\n strictNullHandling,\n skipNulls,\n encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n format,\n formatter,\n encodeValuesOnly,\n charset,\n sideChannel\n) {\n var obj = object;\n\n var tmpSc = sideChannel;\n var step = 0;\n var findFlag = false;\n while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) {\n // Where object last appeared in the ref tree\n var pos = tmpSc.get(object);\n step += 1;\n if (typeof pos !== 'undefined') {\n if (pos === step) {\n throw new RangeError('Cyclic object value');\n } else {\n findFlag = true; // Break while\n }\n }\n if (typeof tmpSc.get(sentinel) === 'undefined') {\n step = 0;\n }\n }\n\n if (typeof filter === 'function') {\n obj = filter(prefix, obj);\n } else if (obj instanceof Date) {\n obj = serializeDate(obj);\n } else if (generateArrayPrefix === 'comma' && isArray(obj)) {\n obj = utils.maybeMap(obj, function (value) {\n if (value instanceof Date) {\n return serializeDate(value);\n }\n return value;\n });\n }\n\n if (obj === null) {\n if (strictNullHandling) {\n return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix;\n }\n\n obj = '';\n }\n\n if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {\n if (encoder) {\n var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);\n return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];\n }\n return [formatter(prefix) + '=' + formatter(String(obj))];\n }\n\n var values = [];\n\n if (typeof obj === 'undefined') {\n return values;\n }\n\n var objKeys;\n if (generateArrayPrefix === 'comma' && isArray(obj)) {\n // we need to join elements in\n if (encodeValuesOnly && encoder) {\n obj = utils.maybeMap(obj, encoder);\n }\n objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];\n } else if (isArray(filter)) {\n objKeys = filter;\n } else {\n var keys = Object.keys(obj);\n objKeys = sort ? keys.sort(sort) : keys;\n }\n\n var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? prefix + '[]' : prefix;\n\n for (var j = 0; j < objKeys.length; ++j) {\n var key = objKeys[j];\n var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key];\n\n if (skipNulls && value === null) {\n continue;\n }\n\n var keyPrefix = isArray(obj)\n ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, key) : adjustedPrefix\n : adjustedPrefix + (allowDots ? '.' + key : '[' + key + ']');\n\n sideChannel.set(object, step);\n var valueSideChannel = getSideChannel();\n valueSideChannel.set(sentinel, sideChannel);\n pushToArray(values, stringify(\n value,\n keyPrefix,\n generateArrayPrefix,\n commaRoundTrip,\n strictNullHandling,\n skipNulls,\n generateArrayPrefix === 'comma' && encodeValuesOnly && isArray(obj) ? null : encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n format,\n formatter,\n encodeValuesOnly,\n charset,\n valueSideChannel\n ));\n }\n\n return values;\n};\n\nvar normalizeStringifyOptions = function normalizeStringifyOptions(opts) {\n if (!opts) {\n return defaults;\n }\n\n if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {\n throw new TypeError('Encoder has to be a function.');\n }\n\n var charset = opts.charset || defaults.charset;\n if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n }\n\n var format = formats['default'];\n if (typeof opts.format !== 'undefined') {\n if (!has.call(formats.formatters, opts.format)) {\n throw new TypeError('Unknown format option provided.');\n }\n format = opts.format;\n }\n var formatter = formats.formatters[format];\n\n var filter = defaults.filter;\n if (typeof opts.filter === 'function' || isArray(opts.filter)) {\n filter = opts.filter;\n }\n\n return {\n addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,\n allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,\n charset: charset,\n charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,\n encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,\n encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,\n encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,\n filter: filter,\n format: format,\n formatter: formatter,\n serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,\n skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,\n sort: typeof opts.sort === 'function' ? opts.sort : null,\n strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling\n };\n};\n\nmodule.exports = function (object, opts) {\n var obj = object;\n var options = normalizeStringifyOptions(opts);\n\n var objKeys;\n var filter;\n\n if (typeof options.filter === 'function') {\n filter = options.filter;\n obj = filter('', obj);\n } else if (isArray(options.filter)) {\n filter = options.filter;\n objKeys = filter;\n }\n\n var keys = [];\n\n if (typeof obj !== 'object' || obj === null) {\n return '';\n }\n\n var arrayFormat;\n if (opts && opts.arrayFormat in arrayPrefixGenerators) {\n arrayFormat = opts.arrayFormat;\n } else if (opts && 'indices' in opts) {\n arrayFormat = opts.indices ? 'indices' : 'repeat';\n } else {\n arrayFormat = 'indices';\n }\n\n var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];\n if (opts && 'commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') {\n throw new TypeError('`commaRoundTrip` must be a boolean, or absent');\n }\n var commaRoundTrip = generateArrayPrefix === 'comma' && opts && opts.commaRoundTrip;\n\n if (!objKeys) {\n objKeys = Object.keys(obj);\n }\n\n if (options.sort) {\n objKeys.sort(options.sort);\n }\n\n var sideChannel = getSideChannel();\n for (var i = 0; i < objKeys.length; ++i) {\n var key = objKeys[i];\n\n if (options.skipNulls && obj[key] === null) {\n continue;\n }\n pushToArray(keys, stringify(\n obj[key],\n key,\n generateArrayPrefix,\n commaRoundTrip,\n options.strictNullHandling,\n options.skipNulls,\n options.encode ? options.encoder : null,\n options.filter,\n options.sort,\n options.allowDots,\n options.serializeDate,\n options.format,\n options.formatter,\n options.encodeValuesOnly,\n options.charset,\n sideChannel\n ));\n }\n\n var joined = keys.join(options.delimiter);\n var prefix = options.addQueryPrefix === true ? '?' : '';\n\n if (options.charsetSentinel) {\n if (options.charset === 'iso-8859-1') {\n // encodeURIComponent('✓'), the \"numeric entity\" representation of a checkmark\n prefix += 'utf8=%26%2310003%3B&';\n } else {\n // encodeURIComponent('✓')\n prefix += 'utf8=%E2%9C%93&';\n }\n }\n\n return joined.length > 0 ? prefix + joined : '';\n};\n","'use strict';\n\nvar formats = require('./formats');\n\nvar has = Object.prototype.hasOwnProperty;\nvar isArray = Array.isArray;\n\nvar hexTable = (function () {\n var array = [];\n for (var i = 0; i < 256; ++i) {\n array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());\n }\n\n return array;\n}());\n\nvar compactQueue = function compactQueue(queue) {\n while (queue.length > 1) {\n var item = queue.pop();\n var obj = item.obj[item.prop];\n\n if (isArray(obj)) {\n var compacted = [];\n\n for (var j = 0; j < obj.length; ++j) {\n if (typeof obj[j] !== 'undefined') {\n compacted.push(obj[j]);\n }\n }\n\n item.obj[item.prop] = compacted;\n }\n }\n};\n\nvar arrayToObject = function arrayToObject(source, options) {\n var obj = options && options.plainObjects ? Object.create(null) : {};\n for (var i = 0; i < source.length; ++i) {\n if (typeof source[i] !== 'undefined') {\n obj[i] = source[i];\n }\n }\n\n return obj;\n};\n\nvar merge = function merge(target, source, options) {\n /* eslint no-param-reassign: 0 */\n if (!source) {\n return target;\n }\n\n if (typeof source !== 'object') {\n if (isArray(target)) {\n target.push(source);\n } else if (target && typeof target === 'object') {\n if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {\n target[source] = true;\n }\n } else {\n return [target, source];\n }\n\n return target;\n }\n\n if (!target || typeof target !== 'object') {\n return [target].concat(source);\n }\n\n var mergeTarget = target;\n if (isArray(target) && !isArray(source)) {\n mergeTarget = arrayToObject(target, options);\n }\n\n if (isArray(target) && isArray(source)) {\n source.forEach(function (item, i) {\n if (has.call(target, i)) {\n var targetItem = target[i];\n if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {\n target[i] = merge(targetItem, item, options);\n } else {\n target.push(item);\n }\n } else {\n target[i] = item;\n }\n });\n return target;\n }\n\n return Object.keys(source).reduce(function (acc, key) {\n var value = source[key];\n\n if (has.call(acc, key)) {\n acc[key] = merge(acc[key], value, options);\n } else {\n acc[key] = value;\n }\n return acc;\n }, mergeTarget);\n};\n\nvar assign = function assignSingleSource(target, source) {\n return Object.keys(source).reduce(function (acc, key) {\n acc[key] = source[key];\n return acc;\n }, target);\n};\n\nvar decode = function (str, decoder, charset) {\n var strWithoutPlus = str.replace(/\\+/g, ' ');\n if (charset === 'iso-8859-1') {\n // unescape never throws, no try...catch needed:\n return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);\n }\n // utf-8\n try {\n return decodeURIComponent(strWithoutPlus);\n } catch (e) {\n return strWithoutPlus;\n }\n};\n\nvar encode = function encode(str, defaultEncoder, charset, kind, format) {\n // This code was originally written by Brian White (mscdex) for the io.js core querystring library.\n // It has been adapted here for stricter adherence to RFC 3986\n if (str.length === 0) {\n return str;\n }\n\n var string = str;\n if (typeof str === 'symbol') {\n string = Symbol.prototype.toString.call(str);\n } else if (typeof str !== 'string') {\n string = String(str);\n }\n\n if (charset === 'iso-8859-1') {\n return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {\n return '%26%23' + parseInt($0.slice(2), 16) + '%3B';\n });\n }\n\n var out = '';\n for (var i = 0; i < string.length; ++i) {\n var c = string.charCodeAt(i);\n\n if (\n c === 0x2D // -\n || c === 0x2E // .\n || c === 0x5F // _\n || c === 0x7E // ~\n || (c >= 0x30 && c <= 0x39) // 0-9\n || (c >= 0x41 && c <= 0x5A) // a-z\n || (c >= 0x61 && c <= 0x7A) // A-Z\n || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )\n ) {\n out += string.charAt(i);\n continue;\n }\n\n if (c < 0x80) {\n out = out + hexTable[c];\n continue;\n }\n\n if (c < 0x800) {\n out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);\n continue;\n }\n\n if (c < 0xD800 || c >= 0xE000) {\n out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);\n continue;\n }\n\n i += 1;\n c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));\n /* eslint operator-linebreak: [2, \"before\"] */\n out += hexTable[0xF0 | (c >> 18)]\n + hexTable[0x80 | ((c >> 12) & 0x3F)]\n + hexTable[0x80 | ((c >> 6) & 0x3F)]\n + hexTable[0x80 | (c & 0x3F)];\n }\n\n return out;\n};\n\nvar compact = function compact(value) {\n var queue = [{ obj: { o: value }, prop: 'o' }];\n var refs = [];\n\n for (var i = 0; i < queue.length; ++i) {\n var item = queue[i];\n var obj = item.obj[item.prop];\n\n var keys = Object.keys(obj);\n for (var j = 0; j < keys.length; ++j) {\n var key = keys[j];\n var val = obj[key];\n if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {\n queue.push({ obj: obj, prop: key });\n refs.push(val);\n }\n }\n }\n\n compactQueue(queue);\n\n return value;\n};\n\nvar isRegExp = function isRegExp(obj) {\n return Object.prototype.toString.call(obj) === '[object RegExp]';\n};\n\nvar isBuffer = function isBuffer(obj) {\n if (!obj || typeof obj !== 'object') {\n return false;\n }\n\n return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));\n};\n\nvar combine = function combine(a, b) {\n return [].concat(a, b);\n};\n\nvar maybeMap = function maybeMap(val, fn) {\n if (isArray(val)) {\n var mapped = [];\n for (var i = 0; i < val.length; i += 1) {\n mapped.push(fn(val[i]));\n }\n return mapped;\n }\n return fn(val);\n};\n\nmodule.exports = {\n arrayToObject: arrayToObject,\n assign: assign,\n combine: combine,\n compact: compact,\n decode: decode,\n encode: encode,\n isBuffer: isBuffer,\n isRegExp: isRegExp,\n maybeMap: maybeMap,\n merge: merge\n};\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\n// If obj.hasOwnProperty has been overridden, then calling\n// obj.hasOwnProperty(prop) will break.\n// See: https://github.com/joyent/node/issues/1707\nfunction hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n}\n\nmodule.exports = function(qs, sep, eq, options) {\n sep = sep || '&';\n eq = eq || '=';\n var obj = {};\n\n if (typeof qs !== 'string' || qs.length === 0) {\n return obj;\n }\n\n var regexp = /\\+/g;\n qs = qs.split(sep);\n\n var maxKeys = 1000;\n if (options && typeof options.maxKeys === 'number') {\n maxKeys = options.maxKeys;\n }\n\n var len = qs.length;\n // maxKeys <= 0 means that we should not limit keys count\n if (maxKeys > 0 && len > maxKeys) {\n len = maxKeys;\n }\n\n for (var i = 0; i < len; ++i) {\n var x = qs[i].replace(regexp, '%20'),\n idx = x.indexOf(eq),\n kstr, vstr, k, v;\n\n if (idx >= 0) {\n kstr = x.substr(0, idx);\n vstr = x.substr(idx + 1);\n } else {\n kstr = x;\n vstr = '';\n }\n\n k = decodeURIComponent(kstr);\n v = decodeURIComponent(vstr);\n\n if (!hasOwnProperty(obj, k)) {\n obj[k] = v;\n } else if (Array.isArray(obj[k])) {\n obj[k].push(v);\n } else {\n obj[k] = [obj[k], v];\n }\n }\n\n return obj;\n};\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\nvar stringifyPrimitive = function(v) {\n switch (typeof v) {\n case 'string':\n return v;\n\n case 'boolean':\n return v ? 'true' : 'false';\n\n case 'number':\n return isFinite(v) ? v : '';\n\n default:\n return '';\n }\n};\n\nmodule.exports = function(obj, sep, eq, name) {\n sep = sep || '&';\n eq = eq || '=';\n if (obj === null) {\n obj = undefined;\n }\n\n if (typeof obj === 'object') {\n return Object.keys(obj).map(function(k) {\n var ks = encodeURIComponent(stringifyPrimitive(k)) + eq;\n if (Array.isArray(obj[k])) {\n return obj[k].map(function(v) {\n return ks + encodeURIComponent(stringifyPrimitive(v));\n }).join(sep);\n } else {\n return ks + encodeURIComponent(stringifyPrimitive(obj[k]));\n }\n }).join(sep);\n\n }\n\n if (!name) return '';\n return encodeURIComponent(stringifyPrimitive(name)) + eq +\n encodeURIComponent(stringifyPrimitive(obj));\n};\n","'use strict';\n\nexports.decode = exports.parse = require('./decode');\nexports.encode = exports.stringify = require('./encode');\n","/**\n * @license React\n * react-dom.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/*\n Modernizr 3.0.0pre (Custom Build) | MIT\n*/\n'use strict';var aa=require(\"react\"),ca=require(\"scheduler\");function p(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;cb}return!1}function v(a,b,c,d,e,f,g){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f;this.removeEmptyString=g}var z={};\n\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function(a){z[a]=new v(a,0,!1,a,null,!1,!1)});[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach(function(a){var b=a[0];z[b]=new v(b,1,!1,a[1],null,!1,!1)});[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach(function(a){z[a]=new v(a,2,!1,a.toLowerCase(),null,!1,!1)});\n[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach(function(a){z[a]=new v(a,2,!1,a,null,!1,!1)});\"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope\".split(\" \").forEach(function(a){z[a]=new v(a,3,!1,a.toLowerCase(),null,!1,!1)});\n[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach(function(a){z[a]=new v(a,3,!0,a,null,!1,!1)});[\"capture\",\"download\"].forEach(function(a){z[a]=new v(a,4,!1,a,null,!1,!1)});[\"cols\",\"rows\",\"size\",\"span\"].forEach(function(a){z[a]=new v(a,6,!1,a,null,!1,!1)});[\"rowSpan\",\"start\"].forEach(function(a){z[a]=new v(a,5,!1,a.toLowerCase(),null,!1,!1)});var ra=/[\\-:]([a-z])/g;function sa(a){return a[1].toUpperCase()}\n\"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height\".split(\" \").forEach(function(a){var b=a.replace(ra,\nsa);z[b]=new v(b,1,!1,a,null,!1,!1)});\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach(function(a){var b=a.replace(ra,sa);z[b]=new v(b,1,!1,a,\"http://www.w3.org/1999/xlink\",!1,!1)});[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach(function(a){var b=a.replace(ra,sa);z[b]=new v(b,1,!1,a,\"http://www.w3.org/XML/1998/namespace\",!1,!1)});[\"tabIndex\",\"crossOrigin\"].forEach(function(a){z[a]=new v(a,1,!1,a.toLowerCase(),null,!1,!1)});\nz.xlinkHref=new v(\"xlinkHref\",1,!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0,!1);[\"src\",\"href\",\"action\",\"formAction\"].forEach(function(a){z[a]=new v(a,1,!1,a.toLowerCase(),null,!0,!0)});\nfunction ta(a,b,c,d){var e=z.hasOwnProperty(b)?z[b]:null;if(null!==e?0!==e.type:d||!(2h||e[g]!==f[h]){var k=\"\\n\"+e[g].replace(\" at new \",\" at \");a.displayName&&k.includes(\"\")&&(k=k.replace(\"\",a.displayName));return k}while(1<=g&&0<=h)}break}}}finally{Na=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:\"\")?Ma(a):\"\"}\nfunction Pa(a){switch(a.tag){case 5:return Ma(a.type);case 16:return Ma(\"Lazy\");case 13:return Ma(\"Suspense\");case 19:return Ma(\"SuspenseList\");case 0:case 2:case 15:return a=Oa(a.type,!1),a;case 11:return a=Oa(a.type.render,!1),a;case 1:return a=Oa(a.type,!0),a;default:return\"\"}}\nfunction Qa(a){if(null==a)return null;if(\"function\"===typeof a)return a.displayName||a.name||null;if(\"string\"===typeof a)return a;switch(a){case ya:return\"Fragment\";case wa:return\"Portal\";case Aa:return\"Profiler\";case za:return\"StrictMode\";case Ea:return\"Suspense\";case Fa:return\"SuspenseList\"}if(\"object\"===typeof a)switch(a.$$typeof){case Ca:return(a.displayName||\"Context\")+\".Consumer\";case Ba:return(a._context.displayName||\"Context\")+\".Provider\";case Da:var b=a.render;a=a.displayName;a||(a=b.displayName||\nb.name||\"\",a=\"\"!==a?\"ForwardRef(\"+a+\")\":\"ForwardRef\");return a;case Ga:return b=a.displayName||null,null!==b?b:Qa(a.type)||\"Memo\";case Ha:b=a._payload;a=a._init;try{return Qa(a(b))}catch(c){}}return null}\nfunction Ra(a){var b=a.type;switch(a.tag){case 24:return\"Cache\";case 9:return(b.displayName||\"Context\")+\".Consumer\";case 10:return(b._context.displayName||\"Context\")+\".Provider\";case 18:return\"DehydratedFragment\";case 11:return a=b.render,a=a.displayName||a.name||\"\",b.displayName||(\"\"!==a?\"ForwardRef(\"+a+\")\":\"ForwardRef\");case 7:return\"Fragment\";case 5:return b;case 4:return\"Portal\";case 3:return\"Root\";case 6:return\"Text\";case 16:return Qa(b);case 8:return b===za?\"StrictMode\":\"Mode\";case 22:return\"Offscreen\";\ncase 12:return\"Profiler\";case 21:return\"Scope\";case 13:return\"Suspense\";case 19:return\"SuspenseList\";case 25:return\"TracingMarker\";case 1:case 0:case 17:case 2:case 14:case 15:if(\"function\"===typeof b)return b.displayName||b.name||null;if(\"string\"===typeof b)return b}return null}function Sa(a){switch(typeof a){case \"boolean\":case \"number\":case \"string\":case \"undefined\":return a;case \"object\":return a;default:return\"\"}}\nfunction Ta(a){var b=a.type;return(a=a.nodeName)&&\"input\"===a.toLowerCase()&&(\"checkbox\"===b||\"radio\"===b)}\nfunction Ua(a){var b=Ta(a)?\"checked\":\"value\",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=\"\"+a[b];if(!a.hasOwnProperty(b)&&\"undefined\"!==typeof c&&\"function\"===typeof c.get&&\"function\"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=\"\"+a;f.call(this,a)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(a){d=\"\"+a},stopTracking:function(){a._valueTracker=\nnull;delete a[b]}}}}function Va(a){a._valueTracker||(a._valueTracker=Ua(a))}function Wa(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d=\"\";a&&(d=Ta(a)?a.checked?\"true\":\"false\":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function Xa(a){a=a||(\"undefined\"!==typeof document?document:void 0);if(\"undefined\"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}\nfunction Ya(a,b){var c=b.checked;return A({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}function Za(a,b){var c=null==b.defaultValue?\"\":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=Sa(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:\"checkbox\"===b.type||\"radio\"===b.type?null!=b.checked:null!=b.value}}function ab(a,b){b=b.checked;null!=b&&ta(a,\"checked\",b,!1)}\nfunction bb(a,b){ab(a,b);var c=Sa(b.value),d=b.type;if(null!=c)if(\"number\"===d){if(0===c&&\"\"===a.value||a.value!=c)a.value=\"\"+c}else a.value!==\"\"+c&&(a.value=\"\"+c);else if(\"submit\"===d||\"reset\"===d){a.removeAttribute(\"value\");return}b.hasOwnProperty(\"value\")?cb(a,b.type,c):b.hasOwnProperty(\"defaultValue\")&&cb(a,b.type,Sa(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}\nfunction db(a,b,c){if(b.hasOwnProperty(\"value\")||b.hasOwnProperty(\"defaultValue\")){var d=b.type;if(!(\"submit\"!==d&&\"reset\"!==d||void 0!==b.value&&null!==b.value))return;b=\"\"+a._wrapperState.initialValue;c||b===a.value||(a.value=b);a.defaultValue=b}c=a.name;\"\"!==c&&(a.name=\"\");a.defaultChecked=!!a._wrapperState.initialChecked;\"\"!==c&&(a.name=c)}\nfunction cb(a,b,c){if(\"number\"!==b||Xa(a.ownerDocument)!==a)null==c?a.defaultValue=\"\"+a._wrapperState.initialValue:a.defaultValue!==\"\"+c&&(a.defaultValue=\"\"+c)}var eb=Array.isArray;\nfunction fb(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e\"+b.valueOf().toString()+\"\";for(b=mb.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}});\nfunction ob(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}\nvar pb={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,\nzoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},qb=[\"Webkit\",\"ms\",\"Moz\",\"O\"];Object.keys(pb).forEach(function(a){qb.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);pb[b]=pb[a]})});function rb(a,b,c){return null==b||\"boolean\"===typeof b||\"\"===b?\"\":c||\"number\"!==typeof b||0===b||pb.hasOwnProperty(a)&&pb[a]?(\"\"+b).trim():b+\"px\"}\nfunction sb(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf(\"--\"),e=rb(c,b[c],d);\"float\"===c&&(c=\"cssFloat\");d?a.setProperty(c,e):a[c]=e}}var tb=A({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});\nfunction ub(a,b){if(b){if(tb[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML))throw Error(p(137,a));if(null!=b.dangerouslySetInnerHTML){if(null!=b.children)throw Error(p(60));if(\"object\"!==typeof b.dangerouslySetInnerHTML||!(\"__html\"in b.dangerouslySetInnerHTML))throw Error(p(61));}if(null!=b.style&&\"object\"!==typeof b.style)throw Error(p(62));}}\nfunction vb(a,b){if(-1===a.indexOf(\"-\"))return\"string\"===typeof b.is;switch(a){case \"annotation-xml\":case \"color-profile\":case \"font-face\":case \"font-face-src\":case \"font-face-uri\":case \"font-face-format\":case \"font-face-name\":case \"missing-glyph\":return!1;default:return!0}}var wb=null;function xb(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}var yb=null,zb=null,Ab=null;\nfunction Bb(a){if(a=Cb(a)){if(\"function\"!==typeof yb)throw Error(p(280));var b=a.stateNode;b&&(b=Db(b),yb(a.stateNode,a.type,b))}}function Eb(a){zb?Ab?Ab.push(a):Ab=[a]:zb=a}function Fb(){if(zb){var a=zb,b=Ab;Ab=zb=null;Bb(a);if(b)for(a=0;a>>=0;return 0===a?32:31-(pc(a)/qc|0)|0}var rc=64,sc=4194304;\nfunction tc(a){switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return a&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;\ndefault:return a}}function uc(a,b){var c=a.pendingLanes;if(0===c)return 0;var d=0,e=a.suspendedLanes,f=a.pingedLanes,g=c&268435455;if(0!==g){var h=g&~e;0!==h?d=tc(h):(f&=g,0!==f&&(d=tc(f)))}else g=c&~e,0!==g?d=tc(g):0!==f&&(d=tc(f));if(0===d)return 0;if(0!==b&&b!==d&&0===(b&e)&&(e=d&-d,f=b&-b,e>=f||16===e&&0!==(f&4194240)))return b;0!==(d&4)&&(d|=c&16);b=a.entangledLanes;if(0!==b)for(a=a.entanglements,b&=d;0c;c++)b.push(a);return b}\nfunction Ac(a,b,c){a.pendingLanes|=b;536870912!==b&&(a.suspendedLanes=0,a.pingedLanes=0);a=a.eventTimes;b=31-oc(b);a[b]=c}function Bc(a,b){var c=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.mutableReadLanes&=b;a.entangledLanes&=b;b=a.entanglements;var d=a.eventTimes;for(a=a.expirationTimes;0=be),ee=String.fromCharCode(32),fe=!1;\nfunction ge(a,b){switch(a){case \"keyup\":return-1!==$d.indexOf(b.keyCode);case \"keydown\":return 229!==b.keyCode;case \"keypress\":case \"mousedown\":case \"focusout\":return!0;default:return!1}}function he(a){a=a.detail;return\"object\"===typeof a&&\"data\"in a?a.data:null}var ie=!1;function je(a,b){switch(a){case \"compositionend\":return he(b);case \"keypress\":if(32!==b.which)return null;fe=!0;return ee;case \"textInput\":return a=b.data,a===ee&&fe?null:a;default:return null}}\nfunction ke(a,b){if(ie)return\"compositionend\"===a||!ae&&ge(a,b)?(a=nd(),md=ld=kd=null,ie=!1,a):null;switch(a){case \"paste\":return null;case \"keypress\":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=Je(c)}}function Le(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?Le(a,b.parentNode):\"contains\"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}\nfunction Me(){for(var a=window,b=Xa();b instanceof a.HTMLIFrameElement;){try{var c=\"string\"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=Xa(a.document)}return b}function Ne(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&(\"input\"===b&&(\"text\"===a.type||\"search\"===a.type||\"tel\"===a.type||\"url\"===a.type||\"password\"===a.type)||\"textarea\"===b||\"true\"===a.contentEditable)}\nfunction Oe(a){var b=Me(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&Le(c.ownerDocument.documentElement,c)){if(null!==d&&Ne(c))if(b=d.start,a=d.end,void 0===a&&(a=b),\"selectionStart\"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=Ke(c,f);var g=Ke(c,\nd);e&&g&&(1!==a.rangeCount||a.anchorNode!==e.node||a.anchorOffset!==e.offset||a.focusNode!==g.node||a.focusOffset!==g.offset)&&(b=b.createRange(),b.setStart(e.node,e.offset),a.removeAllRanges(),f>d?(a.addRange(b),a.extend(g.node,g.offset)):(b.setEnd(g.node,g.offset),a.addRange(b)))}b=[];for(a=c;a=a.parentNode;)1===a.nodeType&&b.push({element:a,left:a.scrollLeft,top:a.scrollTop});\"function\"===typeof c.focus&&c.focus();for(c=0;c=document.documentMode,Qe=null,Re=null,Se=null,Te=!1;\nfunction Ue(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;Te||null==Qe||Qe!==Xa(d)||(d=Qe,\"selectionStart\"in d&&Ne(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Se&&Ie(Se,d)||(Se=d,d=oe(Re,\"onSelect\"),0Tf||(a.current=Sf[Tf],Sf[Tf]=null,Tf--)}function G(a,b){Tf++;Sf[Tf]=a.current;a.current=b}var Vf={},H=Uf(Vf),Wf=Uf(!1),Xf=Vf;function Yf(a,b){var c=a.type.contextTypes;if(!c)return Vf;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}\nfunction Zf(a){a=a.childContextTypes;return null!==a&&void 0!==a}function $f(){E(Wf);E(H)}function ag(a,b,c){if(H.current!==Vf)throw Error(p(168));G(H,b);G(Wf,c)}function bg(a,b,c){var d=a.stateNode;b=b.childContextTypes;if(\"function\"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in b))throw Error(p(108,Ra(a)||\"Unknown\",e));return A({},c,d)}\nfunction cg(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Vf;Xf=H.current;G(H,a);G(Wf,Wf.current);return!0}function dg(a,b,c){var d=a.stateNode;if(!d)throw Error(p(169));c?(a=bg(a,b,Xf),d.__reactInternalMemoizedMergedChildContext=a,E(Wf),E(H),G(H,a)):E(Wf);G(Wf,c)}var eg=null,fg=!1,gg=!1;function hg(a){null===eg?eg=[a]:eg.push(a)}function ig(a){fg=!0;hg(a)}\nfunction jg(){if(!gg&&null!==eg){gg=!0;var a=0,b=C;try{var c=eg;for(C=1;a>=g;e-=g;rg=1<<32-oc(b)+e|c<w?(x=u,u=null):x=u.sibling;var n=r(e,u,h[w],k);if(null===n){null===u&&(u=x);break}a&&u&&null===n.alternate&&b(e,u);g=f(n,g,w);null===m?l=n:m.sibling=n;m=n;u=x}if(w===h.length)return c(e,u),I&&tg(e,w),l;if(null===u){for(;ww?(x=m,m=null):x=m.sibling;var t=r(e,m,n.value,k);if(null===t){null===m&&(m=x);break}a&&m&&null===t.alternate&&b(e,m);g=f(t,g,w);null===u?l=t:u.sibling=t;u=t;m=x}if(n.done)return c(e,\nm),I&&tg(e,w),l;if(null===m){for(;!n.done;w++,n=h.next())n=q(e,n.value,k),null!==n&&(g=f(n,g,w),null===u?l=n:u.sibling=n,u=n);I&&tg(e,w);return l}for(m=d(e,m);!n.done;w++,n=h.next())n=y(m,e,w,n.value,k),null!==n&&(a&&null!==n.alternate&&m.delete(null===n.key?w:n.key),g=f(n,g,w),null===u?l=n:u.sibling=n,u=n);a&&m.forEach(function(a){return b(e,a)});I&&tg(e,w);return l}function J(a,d,f,h){\"object\"===typeof f&&null!==f&&f.type===ya&&null===f.key&&(f=f.props.children);if(\"object\"===typeof f&&null!==f){switch(f.$$typeof){case va:a:{for(var k=\nf.key,l=d;null!==l;){if(l.key===k){k=f.type;if(k===ya){if(7===l.tag){c(a,l.sibling);d=e(l,f.props.children);d.return=a;a=d;break a}}else if(l.elementType===k||\"object\"===typeof k&&null!==k&&k.$$typeof===Ha&&Ng(k)===l.type){c(a,l.sibling);d=e(l,f.props);d.ref=Lg(a,l,f);d.return=a;a=d;break a}c(a,l);break}else b(a,l);l=l.sibling}f.type===ya?(d=Tg(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=Rg(f.type,f.key,f.props,null,a.mode,h),h.ref=Lg(a,d,f),h.return=a,a=h)}return g(a);case wa:a:{for(l=f.key;null!==\nd;){if(d.key===l)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=Sg(f,a.mode,h);d.return=a;a=d}return g(a);case Ha:return l=f._init,J(a,d,l(f._payload),h)}if(eb(f))return n(a,d,f,h);if(Ka(f))return t(a,d,f,h);Mg(a,f)}return\"string\"===typeof f&&\"\"!==f||\"number\"===typeof f?(f=\"\"+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):\n(c(a,d),d=Qg(f,a.mode,h),d.return=a,a=d),g(a)):c(a,d)}return J}var Ug=Og(!0),Vg=Og(!1),Wg=Uf(null),Xg=null,Yg=null,Zg=null;function $g(){Zg=Yg=Xg=null}function ah(a){var b=Wg.current;E(Wg);a._currentValue=b}function bh(a,b,c){for(;null!==a;){var d=a.alternate;(a.childLanes&b)!==b?(a.childLanes|=b,null!==d&&(d.childLanes|=b)):null!==d&&(d.childLanes&b)!==b&&(d.childLanes|=b);if(a===c)break;a=a.return}}\nfunction ch(a,b){Xg=a;Zg=Yg=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(0!==(a.lanes&b)&&(dh=!0),a.firstContext=null)}function eh(a){var b=a._currentValue;if(Zg!==a)if(a={context:a,memoizedValue:b,next:null},null===Yg){if(null===Xg)throw Error(p(308));Yg=a;Xg.dependencies={lanes:0,firstContext:a}}else Yg=Yg.next=a;return b}var fh=null;function gh(a){null===fh?fh=[a]:fh.push(a)}\nfunction hh(a,b,c,d){var e=b.interleaved;null===e?(c.next=c,gh(b)):(c.next=e.next,e.next=c);b.interleaved=c;return ih(a,d)}function ih(a,b){a.lanes|=b;var c=a.alternate;null!==c&&(c.lanes|=b);c=a;for(a=a.return;null!==a;)a.childLanes|=b,c=a.alternate,null!==c&&(c.childLanes|=b),c=a,a=a.return;return 3===c.tag?c.stateNode:null}var jh=!1;function kh(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}\nfunction lh(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects})}function mh(a,b){return{eventTime:a,lane:b,tag:0,payload:null,callback:null,next:null}}\nfunction nh(a,b,c){var d=a.updateQueue;if(null===d)return null;d=d.shared;if(0!==(K&2)){var e=d.pending;null===e?b.next=b:(b.next=e.next,e.next=b);d.pending=b;return ih(a,c)}e=d.interleaved;null===e?(b.next=b,gh(d)):(b.next=e.next,e.next=b);d.interleaved=b;return ih(a,c)}function oh(a,b,c){b=b.updateQueue;if(null!==b&&(b=b.shared,0!==(c&4194240))){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Cc(a,c)}}\nfunction ph(a,b){var c=a.updateQueue,d=a.alternate;if(null!==d&&(d=d.updateQueue,c===d)){var e=null,f=null;c=c.firstBaseUpdate;if(null!==c){do{var g={eventTime:c.eventTime,lane:c.lane,tag:c.tag,payload:c.payload,callback:c.callback,next:null};null===f?e=f=g:f=f.next=g;c=c.next}while(null!==c);null===f?e=f=b:f=f.next=b}else e=f=b;c={baseState:d.baseState,firstBaseUpdate:e,lastBaseUpdate:f,shared:d.shared,effects:d.effects};a.updateQueue=c;return}a=c.lastBaseUpdate;null===a?c.firstBaseUpdate=b:a.next=\nb;c.lastBaseUpdate=b}\nfunction qh(a,b,c,d){var e=a.updateQueue;jh=!1;var f=e.firstBaseUpdate,g=e.lastBaseUpdate,h=e.shared.pending;if(null!==h){e.shared.pending=null;var k=h,l=k.next;k.next=null;null===g?f=l:g.next=l;g=k;var m=a.alternate;null!==m&&(m=m.updateQueue,h=m.lastBaseUpdate,h!==g&&(null===h?m.firstBaseUpdate=l:h.next=l,m.lastBaseUpdate=k))}if(null!==f){var q=e.baseState;g=0;m=l=k=null;h=f;do{var r=h.lane,y=h.eventTime;if((d&r)===r){null!==m&&(m=m.next={eventTime:y,lane:0,tag:h.tag,payload:h.payload,callback:h.callback,\nnext:null});a:{var n=a,t=h;r=b;y=c;switch(t.tag){case 1:n=t.payload;if(\"function\"===typeof n){q=n.call(y,q,r);break a}q=n;break a;case 3:n.flags=n.flags&-65537|128;case 0:n=t.payload;r=\"function\"===typeof n?n.call(y,q,r):n;if(null===r||void 0===r)break a;q=A({},q,r);break a;case 2:jh=!0}}null!==h.callback&&0!==h.lane&&(a.flags|=64,r=e.effects,null===r?e.effects=[h]:r.push(h))}else y={eventTime:y,lane:r,tag:h.tag,payload:h.payload,callback:h.callback,next:null},null===m?(l=m=y,k=q):m=m.next=y,g|=r;\nh=h.next;if(null===h)if(h=e.shared.pending,null===h)break;else r=h,h=r.next,r.next=null,e.lastBaseUpdate=r,e.shared.pending=null}while(1);null===m&&(k=q);e.baseState=k;e.firstBaseUpdate=l;e.lastBaseUpdate=m;b=e.shared.interleaved;if(null!==b){e=b;do g|=e.lane,e=e.next;while(e!==b)}else null===f&&(e.shared.lanes=0);rh|=g;a.lanes=g;a.memoizedState=q}}\nfunction sh(a,b,c){a=b.effects;b.effects=null;if(null!==a)for(b=0;bc?c:4;a(!0);var d=Gh.transition;Gh.transition={};try{a(!1),b()}finally{C=c,Gh.transition=d}}function wi(){return Uh().memoizedState}\nfunction xi(a,b,c){var d=yi(a);c={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(zi(a))Ai(b,c);else if(c=hh(a,b,c,d),null!==c){var e=R();gi(c,a,d,e);Bi(c,b,d)}}\nfunction ii(a,b,c){var d=yi(a),e={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(zi(a))Ai(b,e);else{var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(He(h,g)){var k=b.interleaved;null===k?(e.next=e,gh(b)):(e.next=k.next,k.next=e);b.interleaved=e;return}}catch(l){}finally{}c=hh(a,b,e,d);null!==c&&(e=R(),gi(c,a,d,e),Bi(c,b,d))}}\nfunction zi(a){var b=a.alternate;return a===M||null!==b&&b===M}function Ai(a,b){Jh=Ih=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}function Bi(a,b,c){if(0!==(c&4194240)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Cc(a,c)}}\nvar Rh={readContext:eh,useCallback:P,useContext:P,useEffect:P,useImperativeHandle:P,useInsertionEffect:P,useLayoutEffect:P,useMemo:P,useReducer:P,useRef:P,useState:P,useDebugValue:P,useDeferredValue:P,useTransition:P,useMutableSource:P,useSyncExternalStore:P,useId:P,unstable_isNewReconciler:!1},Oh={readContext:eh,useCallback:function(a,b){Th().memoizedState=[a,void 0===b?null:b];return a},useContext:eh,useEffect:mi,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return ki(4194308,\n4,pi.bind(null,b,a),c)},useLayoutEffect:function(a,b){return ki(4194308,4,a,b)},useInsertionEffect:function(a,b){return ki(4,2,a,b)},useMemo:function(a,b){var c=Th();b=void 0===b?null:b;a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=Th();b=void 0!==c?c(b):b;d.memoizedState=d.baseState=b;a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=xi.bind(null,M,a);return[d.memoizedState,a]},useRef:function(a){var b=\nTh();a={current:a};return b.memoizedState=a},useState:hi,useDebugValue:ri,useDeferredValue:function(a){return Th().memoizedState=a},useTransition:function(){var a=hi(!1),b=a[0];a=vi.bind(null,a[1]);Th().memoizedState=a;return[b,a]},useMutableSource:function(){},useSyncExternalStore:function(a,b,c){var d=M,e=Th();if(I){if(void 0===c)throw Error(p(407));c=c()}else{c=b();if(null===Q)throw Error(p(349));0!==(Hh&30)||di(d,b,c)}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;mi(ai.bind(null,d,\nf,a),[a]);d.flags|=2048;bi(9,ci.bind(null,d,f,c,b),void 0,null);return c},useId:function(){var a=Th(),b=Q.identifierPrefix;if(I){var c=sg;var d=rg;c=(d&~(1<<32-oc(d)-1)).toString(32)+c;b=\":\"+b+\"R\"+c;c=Kh++;0\\x3c/script>\",a=a.removeChild(a.firstChild)):\n\"string\"===typeof d.is?a=g.createElement(c,{is:d.is}):(a=g.createElement(c),\"select\"===c&&(g=a,d.multiple?g.multiple=!0:d.size&&(g.size=d.size))):a=g.createElementNS(a,c);a[Of]=b;a[Pf]=d;zj(a,b,!1,!1);b.stateNode=a;a:{g=vb(c,d);switch(c){case \"dialog\":D(\"cancel\",a);D(\"close\",a);e=d;break;case \"iframe\":case \"object\":case \"embed\":D(\"load\",a);e=d;break;case \"video\":case \"audio\":for(e=0;eGj&&(b.flags|=128,d=!0,Dj(f,!1),b.lanes=4194304)}else{if(!d)if(a=Ch(g),null!==a){if(b.flags|=128,d=!0,c=a.updateQueue,null!==c&&(b.updateQueue=c,b.flags|=4),Dj(f,!0),null===f.tail&&\"hidden\"===f.tailMode&&!g.alternate&&!I)return S(b),null}else 2*B()-f.renderingStartTime>Gj&&1073741824!==c&&(b.flags|=128,d=!0,Dj(f,!1),b.lanes=4194304);f.isBackwards?(g.sibling=b.child,b.child=g):(c=f.last,null!==c?c.sibling=g:b.child=g,f.last=g)}if(null!==f.tail)return b=f.tail,f.rendering=\nb,f.tail=b.sibling,f.renderingStartTime=B(),b.sibling=null,c=L.current,G(L,d?c&1|2:c&1),b;S(b);return null;case 22:case 23:return Hj(),d=null!==b.memoizedState,null!==a&&null!==a.memoizedState!==d&&(b.flags|=8192),d&&0!==(b.mode&1)?0!==(fj&1073741824)&&(S(b),b.subtreeFlags&6&&(b.flags|=8192)):S(b),null;case 24:return null;case 25:return null}throw Error(p(156,b.tag));}\nfunction Ij(a,b){wg(b);switch(b.tag){case 1:return Zf(b.type)&&$f(),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 3:return zh(),E(Wf),E(H),Eh(),a=b.flags,0!==(a&65536)&&0===(a&128)?(b.flags=a&-65537|128,b):null;case 5:return Bh(b),null;case 13:E(L);a=b.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===b.alternate)throw Error(p(340));Ig()}a=b.flags;return a&65536?(b.flags=a&-65537|128,b):null;case 19:return E(L),null;case 4:return zh(),null;case 10:return ah(b.type._context),null;case 22:case 23:return Hj(),\nnull;case 24:return null;default:return null}}var Jj=!1,U=!1,Kj=\"function\"===typeof WeakSet?WeakSet:Set,V=null;function Lj(a,b){var c=a.ref;if(null!==c)if(\"function\"===typeof c)try{c(null)}catch(d){W(a,b,d)}else c.current=null}function Mj(a,b,c){try{c()}catch(d){W(a,b,d)}}var Nj=!1;\nfunction Oj(a,b){Cf=dd;a=Me();if(Ne(a)){if(\"selectionStart\"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType}catch(F){c=null;break a}var g=0,h=-1,k=-1,l=0,m=0,q=a,r=null;b:for(;;){for(var y;;){q!==c||0!==e&&3!==q.nodeType||(h=g+e);q!==f||0!==d&&3!==q.nodeType||(k=g+d);3===q.nodeType&&(g+=\nq.nodeValue.length);if(null===(y=q.firstChild))break;r=q;q=y}for(;;){if(q===a)break b;r===c&&++l===e&&(h=g);r===f&&++m===d&&(k=g);if(null!==(y=q.nextSibling))break;q=r;r=q.parentNode}q=y}c=-1===h||-1===k?null:{start:h,end:k}}else c=null}c=c||{start:0,end:0}}else c=null;Df={focusedElem:a,selectionRange:c};dd=!1;for(V=b;null!==V;)if(b=V,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,V=a;else for(;null!==V;){b=V;try{var n=b.alternate;if(0!==(b.flags&1024))switch(b.tag){case 0:case 11:case 15:break;\ncase 1:if(null!==n){var t=n.memoizedProps,J=n.memoizedState,x=b.stateNode,w=x.getSnapshotBeforeUpdate(b.elementType===b.type?t:Ci(b.type,t),J);x.__reactInternalSnapshotBeforeUpdate=w}break;case 3:var u=b.stateNode.containerInfo;1===u.nodeType?u.textContent=\"\":9===u.nodeType&&u.documentElement&&u.removeChild(u.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(p(163));}}catch(F){W(b,b.return,F)}a=b.sibling;if(null!==a){a.return=b.return;V=a;break}V=b.return}n=Nj;Nj=!1;return n}\nfunction Pj(a,b,c){var d=b.updateQueue;d=null!==d?d.lastEffect:null;if(null!==d){var e=d=d.next;do{if((e.tag&a)===a){var f=e.destroy;e.destroy=void 0;void 0!==f&&Mj(b,c,f)}e=e.next}while(e!==d)}}function Qj(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.create;c.destroy=d()}c=c.next}while(c!==b)}}function Rj(a){var b=a.ref;if(null!==b){var c=a.stateNode;switch(a.tag){case 5:a=c;break;default:a=c}\"function\"===typeof b?b(a):b.current=a}}\nfunction Sj(a){var b=a.alternate;null!==b&&(a.alternate=null,Sj(b));a.child=null;a.deletions=null;a.sibling=null;5===a.tag&&(b=a.stateNode,null!==b&&(delete b[Of],delete b[Pf],delete b[of],delete b[Qf],delete b[Rf]));a.stateNode=null;a.return=null;a.dependencies=null;a.memoizedProps=null;a.memoizedState=null;a.pendingProps=null;a.stateNode=null;a.updateQueue=null}function Tj(a){return 5===a.tag||3===a.tag||4===a.tag}\nfunction Uj(a){a:for(;;){for(;null===a.sibling;){if(null===a.return||Tj(a.return))return null;a=a.return}a.sibling.return=a.return;for(a=a.sibling;5!==a.tag&&6!==a.tag&&18!==a.tag;){if(a.flags&2)continue a;if(null===a.child||4===a.tag)continue a;else a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}\nfunction Vj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=Bf));else if(4!==d&&(a=a.child,null!==a))for(Vj(a,b,c),a=a.sibling;null!==a;)Vj(a,b,c),a=a.sibling}\nfunction Wj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&(a=a.child,null!==a))for(Wj(a,b,c),a=a.sibling;null!==a;)Wj(a,b,c),a=a.sibling}var X=null,Xj=!1;function Yj(a,b,c){for(c=c.child;null!==c;)Zj(a,b,c),c=c.sibling}\nfunction Zj(a,b,c){if(lc&&\"function\"===typeof lc.onCommitFiberUnmount)try{lc.onCommitFiberUnmount(kc,c)}catch(h){}switch(c.tag){case 5:U||Lj(c,b);case 6:var d=X,e=Xj;X=null;Yj(a,b,c);X=d;Xj=e;null!==X&&(Xj?(a=X,c=c.stateNode,8===a.nodeType?a.parentNode.removeChild(c):a.removeChild(c)):X.removeChild(c.stateNode));break;case 18:null!==X&&(Xj?(a=X,c=c.stateNode,8===a.nodeType?Kf(a.parentNode,c):1===a.nodeType&&Kf(a,c),bd(a)):Kf(X,c.stateNode));break;case 4:d=X;e=Xj;X=c.stateNode.containerInfo;Xj=!0;\nYj(a,b,c);X=d;Xj=e;break;case 0:case 11:case 14:case 15:if(!U&&(d=c.updateQueue,null!==d&&(d=d.lastEffect,null!==d))){e=d=d.next;do{var f=e,g=f.destroy;f=f.tag;void 0!==g&&(0!==(f&2)?Mj(c,b,g):0!==(f&4)&&Mj(c,b,g));e=e.next}while(e!==d)}Yj(a,b,c);break;case 1:if(!U&&(Lj(c,b),d=c.stateNode,\"function\"===typeof d.componentWillUnmount))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(h){W(c,b,h)}Yj(a,b,c);break;case 21:Yj(a,b,c);break;case 22:c.mode&1?(U=(d=U)||null!==\nc.memoizedState,Yj(a,b,c),U=d):Yj(a,b,c);break;default:Yj(a,b,c)}}function ak(a){var b=a.updateQueue;if(null!==b){a.updateQueue=null;var c=a.stateNode;null===c&&(c=a.stateNode=new Kj);b.forEach(function(b){var d=bk.bind(null,a,b);c.has(b)||(c.add(b),b.then(d,d))})}}\nfunction ck(a,b){var c=b.deletions;if(null!==c)for(var d=0;de&&(e=g);d&=~f}d=e;d=B()-d;d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3E3>d?3E3:4320>d?4320:1960*lk(d/1960))-d;if(10a?16:a;if(null===wk)var d=!1;else{a=wk;wk=null;xk=0;if(0!==(K&6))throw Error(p(331));var e=K;K|=4;for(V=a.current;null!==V;){var f=V,g=f.child;if(0!==(V.flags&16)){var h=f.deletions;if(null!==h){for(var k=0;kB()-fk?Kk(a,0):rk|=c);Dk(a,b)}function Yk(a,b){0===b&&(0===(a.mode&1)?b=1:(b=sc,sc<<=1,0===(sc&130023424)&&(sc=4194304)));var c=R();a=ih(a,b);null!==a&&(Ac(a,b,c),Dk(a,c))}function uj(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);Yk(a,c)}\nfunction bk(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;default:throw Error(p(314));}null!==d&&d.delete(b);Yk(a,c)}var Vk;\nVk=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||Wf.current)dh=!0;else{if(0===(a.lanes&c)&&0===(b.flags&128))return dh=!1,yj(a,b,c);dh=0!==(a.flags&131072)?!0:!1}else dh=!1,I&&0!==(b.flags&1048576)&&ug(b,ng,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;ij(a,b);a=b.pendingProps;var e=Yf(b,H.current);ch(b,c);e=Nh(null,b,d,a,e,c);var f=Sh();b.flags|=1;\"object\"===typeof e&&null!==e&&\"function\"===typeof e.render&&void 0===e.$$typeof?(b.tag=1,b.memoizedState=null,b.updateQueue=\nnull,Zf(d)?(f=!0,cg(b)):f=!1,b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,kh(b),e.updater=Ei,b.stateNode=e,e._reactInternals=b,Ii(b,d,a,c),b=jj(null,b,d,!0,f,c)):(b.tag=0,I&&f&&vg(b),Xi(null,b,e,c),b=b.child);return b;case 16:d=b.elementType;a:{ij(a,b);a=b.pendingProps;e=d._init;d=e(d._payload);b.type=d;e=b.tag=Zk(d);a=Ci(d,a);switch(e){case 0:b=cj(null,b,d,a,c);break a;case 1:b=hj(null,b,d,a,c);break a;case 11:b=Yi(null,b,d,a,c);break a;case 14:b=$i(null,b,d,Ci(d.type,a),c);break a}throw Error(p(306,\nd,\"\"));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Ci(d,e),cj(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Ci(d,e),hj(a,b,d,e,c);case 3:a:{kj(b);if(null===a)throw Error(p(387));d=b.pendingProps;f=b.memoizedState;e=f.element;lh(a,b);qh(b,d,null,c);var g=b.memoizedState;d=g.element;if(f.isDehydrated)if(f={element:d,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},b.updateQueue.baseState=\nf,b.memoizedState=f,b.flags&256){e=Ji(Error(p(423)),b);b=lj(a,b,d,c,e);break a}else if(d!==e){e=Ji(Error(p(424)),b);b=lj(a,b,d,c,e);break a}else for(yg=Lf(b.stateNode.containerInfo.firstChild),xg=b,I=!0,zg=null,c=Vg(b,null,d,c),b.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{Ig();if(d===e){b=Zi(a,b,c);break a}Xi(a,b,d,c)}b=b.child}return b;case 5:return Ah(b),null===a&&Eg(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,Ef(d,e)?g=null:null!==f&&Ef(d,f)&&(b.flags|=32),\ngj(a,b),Xi(a,b,g,c),b.child;case 6:return null===a&&Eg(b),null;case 13:return oj(a,b,c);case 4:return yh(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Ug(b,null,d,c):Xi(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Ci(d,e),Yi(a,b,d,e,c);case 7:return Xi(a,b,b.pendingProps,c),b.child;case 8:return Xi(a,b,b.pendingProps.children,c),b.child;case 12:return Xi(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;f=b.memoizedProps;\ng=e.value;G(Wg,d._currentValue);d._currentValue=g;if(null!==f)if(He(f.value,g)){if(f.children===e.children&&!Wf.current){b=Zi(a,b,c);break a}}else for(f=b.child,null!==f&&(f.return=b);null!==f;){var h=f.dependencies;if(null!==h){g=f.child;for(var k=h.firstContext;null!==k;){if(k.context===d){if(1===f.tag){k=mh(-1,c&-c);k.tag=2;var l=f.updateQueue;if(null!==l){l=l.shared;var m=l.pending;null===m?k.next=k:(k.next=m.next,m.next=k);l.pending=k}}f.lanes|=c;k=f.alternate;null!==k&&(k.lanes|=c);bh(f.return,\nc,b);h.lanes|=c;break}k=k.next}}else if(10===f.tag)g=f.type===b.type?null:f.child;else if(18===f.tag){g=f.return;if(null===g)throw Error(p(341));g.lanes|=c;h=g.alternate;null!==h&&(h.lanes|=c);bh(g,c,b);g=f.sibling}else g=f.child;if(null!==g)g.return=f;else for(g=f;null!==g;){if(g===b){g=null;break}f=g.sibling;if(null!==f){f.return=g.return;g=f;break}g=g.return}f=g}Xi(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,d=b.pendingProps.children,ch(b,c),e=eh(e),d=d(e),b.flags|=1,Xi(a,b,d,c),\nb.child;case 14:return d=b.type,e=Ci(d,b.pendingProps),e=Ci(d.type,e),$i(a,b,d,e,c);case 15:return bj(a,b,b.type,b.pendingProps,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Ci(d,e),ij(a,b),b.tag=1,Zf(d)?(a=!0,cg(b)):a=!1,ch(b,c),Gi(b,d,e),Ii(b,d,e,c),jj(null,b,d,!0,a,c);case 19:return xj(a,b,c);case 22:return dj(a,b,c)}throw Error(p(156,b.tag));};function Fk(a,b){return ac(a,b)}\nfunction $k(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null}function Bg(a,b,c,d){return new $k(a,b,c,d)}function aj(a){a=a.prototype;return!(!a||!a.isReactComponent)}\nfunction Zk(a){if(\"function\"===typeof a)return aj(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===Da)return 11;if(a===Ga)return 14}return 2}\nfunction Pg(a,b){var c=a.alternate;null===c?(c=Bg(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null);c.flags=a.flags&14680064;c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext};\nc.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}\nfunction Rg(a,b,c,d,e,f){var g=2;d=a;if(\"function\"===typeof a)aj(a)&&(g=1);else if(\"string\"===typeof a)g=5;else a:switch(a){case ya:return Tg(c.children,e,f,b);case za:g=8;e|=8;break;case Aa:return a=Bg(12,c,b,e|2),a.elementType=Aa,a.lanes=f,a;case Ea:return a=Bg(13,c,b,e),a.elementType=Ea,a.lanes=f,a;case Fa:return a=Bg(19,c,b,e),a.elementType=Fa,a.lanes=f,a;case Ia:return pj(c,e,f,b);default:if(\"object\"===typeof a&&null!==a)switch(a.$$typeof){case Ba:g=10;break a;case Ca:g=9;break a;case Da:g=11;\nbreak a;case Ga:g=14;break a;case Ha:g=16;d=null;break a}throw Error(p(130,null==a?a:typeof a,\"\"));}b=Bg(g,c,b,e);b.elementType=a;b.type=d;b.lanes=f;return b}function Tg(a,b,c,d){a=Bg(7,a,d,b);a.lanes=c;return a}function pj(a,b,c,d){a=Bg(22,a,d,b);a.elementType=Ia;a.lanes=c;a.stateNode={isHidden:!1};return a}function Qg(a,b,c){a=Bg(6,a,null,b);a.lanes=c;return a}\nfunction Sg(a,b,c){b=Bg(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}\nfunction al(a,b,c,d,e){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.pendingContext=this.context=null;this.callbackPriority=0;this.eventTimes=zc(0);this.expirationTimes=zc(-1);this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=zc(0);this.identifierPrefix=d;this.onRecoverableError=e;this.mutableSourceEagerHydrationData=\nnull}function bl(a,b,c,d,e,f,g,h,k){a=new al(a,b,c,h,k);1===b?(b=1,!0===f&&(b|=8)):b=0;f=Bg(3,null,null,b);a.current=f;f.stateNode=a;f.memoizedState={element:d,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null};kh(f);return a}function cl(a,b,c){var d=3 0) {\n ariaHiddenInstances -= 1;\n\n if (ariaHiddenInstances === 0) {\n ariaAppHider.show(appElement);\n }\n }\n\n if (_this.props.shouldFocusAfterRender) {\n if (_this.props.shouldReturnFocusAfterClose) {\n focusManager.returnFocus(_this.props.preventScroll);\n focusManager.teardownScopedFocus();\n } else {\n focusManager.popWithoutFocus();\n }\n }\n\n if (_this.props.onAfterClose) {\n _this.props.onAfterClose();\n }\n\n _portalOpenInstances2.default.deregister(_this);\n };\n\n _this.open = function () {\n _this.beforeOpen();\n if (_this.state.afterOpen && _this.state.beforeClose) {\n clearTimeout(_this.closeTimer);\n _this.setState({ beforeClose: false });\n } else {\n if (_this.props.shouldFocusAfterRender) {\n focusManager.setupScopedFocus(_this.node);\n focusManager.markForFocusLater();\n }\n\n _this.setState({ isOpen: true }, function () {\n _this.openAnimationFrame = requestAnimationFrame(function () {\n _this.setState({ afterOpen: true });\n\n if (_this.props.isOpen && _this.props.onAfterOpen) {\n _this.props.onAfterOpen({\n overlayEl: _this.overlay,\n contentEl: _this.content\n });\n }\n });\n });\n }\n };\n\n _this.close = function () {\n if (_this.props.closeTimeoutMS > 0) {\n _this.closeWithTimeout();\n } else {\n _this.closeWithoutTimeout();\n }\n };\n\n _this.focusContent = function () {\n return _this.content && !_this.contentHasFocus() && _this.content.focus({ preventScroll: true });\n };\n\n _this.closeWithTimeout = function () {\n var closesAt = Date.now() + _this.props.closeTimeoutMS;\n _this.setState({ beforeClose: true, closesAt: closesAt }, function () {\n _this.closeTimer = setTimeout(_this.closeWithoutTimeout, _this.state.closesAt - Date.now());\n });\n };\n\n _this.closeWithoutTimeout = function () {\n _this.setState({\n beforeClose: false,\n isOpen: false,\n afterOpen: false,\n closesAt: null\n }, _this.afterClose);\n };\n\n _this.handleKeyDown = function (event) {\n if (event.keyCode === TAB_KEY) {\n (0, _scopeTab2.default)(_this.content, event);\n }\n\n if (_this.props.shouldCloseOnEsc && event.keyCode === ESC_KEY) {\n event.stopPropagation();\n _this.requestClose(event);\n }\n };\n\n _this.handleOverlayOnClick = function (event) {\n if (_this.shouldClose === null) {\n _this.shouldClose = true;\n }\n\n if (_this.shouldClose && _this.props.shouldCloseOnOverlayClick) {\n if (_this.ownerHandlesClose()) {\n _this.requestClose(event);\n } else {\n _this.focusContent();\n }\n }\n _this.shouldClose = null;\n };\n\n _this.handleContentOnMouseUp = function () {\n _this.shouldClose = false;\n };\n\n _this.handleOverlayOnMouseDown = function (event) {\n if (!_this.props.shouldCloseOnOverlayClick && event.target == _this.overlay) {\n event.preventDefault();\n }\n };\n\n _this.handleContentOnClick = function () {\n _this.shouldClose = false;\n };\n\n _this.handleContentOnMouseDown = function () {\n _this.shouldClose = false;\n };\n\n _this.requestClose = function (event) {\n return _this.ownerHandlesClose() && _this.props.onRequestClose(event);\n };\n\n _this.ownerHandlesClose = function () {\n return _this.props.onRequestClose;\n };\n\n _this.shouldBeClosed = function () {\n return !_this.state.isOpen && !_this.state.beforeClose;\n };\n\n _this.contentHasFocus = function () {\n return document.activeElement === _this.content || _this.content.contains(document.activeElement);\n };\n\n _this.buildClassName = function (which, additional) {\n var classNames = (typeof additional === \"undefined\" ? \"undefined\" : _typeof(additional)) === \"object\" ? additional : {\n base: CLASS_NAMES[which],\n afterOpen: CLASS_NAMES[which] + \"--after-open\",\n beforeClose: CLASS_NAMES[which] + \"--before-close\"\n };\n var className = classNames.base;\n if (_this.state.afterOpen) {\n className = className + \" \" + classNames.afterOpen;\n }\n if (_this.state.beforeClose) {\n className = className + \" \" + classNames.beforeClose;\n }\n return typeof additional === \"string\" && additional ? className + \" \" + additional : className;\n };\n\n _this.attributesFromObject = function (prefix, items) {\n return Object.keys(items).reduce(function (acc, name) {\n acc[prefix + \"-\" + name] = items[name];\n return acc;\n }, {});\n };\n\n _this.state = {\n afterOpen: false,\n beforeClose: false\n };\n\n _this.shouldClose = null;\n _this.moveFromContentToOverlay = null;\n return _this;\n }\n\n _createClass(ModalPortal, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n if (this.props.isOpen) {\n this.open();\n }\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate(prevProps, prevState) {\n if (process.env.NODE_ENV !== \"production\") {\n if (prevProps.bodyOpenClassName !== this.props.bodyOpenClassName) {\n // eslint-disable-next-line no-console\n console.warn('React-Modal: \"bodyOpenClassName\" prop has been modified. ' + \"This may cause unexpected behavior when multiple modals are open.\");\n }\n if (prevProps.htmlOpenClassName !== this.props.htmlOpenClassName) {\n // eslint-disable-next-line no-console\n console.warn('React-Modal: \"htmlOpenClassName\" prop has been modified. ' + \"This may cause unexpected behavior when multiple modals are open.\");\n }\n }\n\n if (this.props.isOpen && !prevProps.isOpen) {\n this.open();\n } else if (!this.props.isOpen && prevProps.isOpen) {\n this.close();\n }\n\n // Focus only needs to be set once when the modal is being opened\n if (this.props.shouldFocusAfterRender && this.state.isOpen && !prevState.isOpen) {\n this.focusContent();\n }\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n if (this.state.isOpen) {\n this.afterClose();\n }\n clearTimeout(this.closeTimer);\n cancelAnimationFrame(this.openAnimationFrame);\n }\n }, {\n key: \"beforeOpen\",\n value: function beforeOpen() {\n var _props = this.props,\n appElement = _props.appElement,\n ariaHideApp = _props.ariaHideApp,\n htmlOpenClassName = _props.htmlOpenClassName,\n bodyOpenClassName = _props.bodyOpenClassName;\n\n // Add classes.\n\n bodyOpenClassName && classList.add(document.body, bodyOpenClassName);\n\n htmlOpenClassName && classList.add(document.getElementsByTagName(\"html\")[0], htmlOpenClassName);\n\n if (ariaHideApp) {\n ariaHiddenInstances += 1;\n ariaAppHider.hide(appElement);\n }\n\n _portalOpenInstances2.default.register(this);\n }\n\n // Don't steal focus from inner elements\n\n }, {\n key: \"render\",\n value: function render() {\n var _props2 = this.props,\n id = _props2.id,\n className = _props2.className,\n overlayClassName = _props2.overlayClassName,\n defaultStyles = _props2.defaultStyles,\n children = _props2.children;\n\n var contentStyles = className ? {} : defaultStyles.content;\n var overlayStyles = overlayClassName ? {} : defaultStyles.overlay;\n\n if (this.shouldBeClosed()) {\n return null;\n }\n\n var overlayProps = {\n ref: this.setOverlayRef,\n className: this.buildClassName(\"overlay\", overlayClassName),\n style: _extends({}, overlayStyles, this.props.style.overlay),\n onClick: this.handleOverlayOnClick,\n onMouseDown: this.handleOverlayOnMouseDown\n };\n\n var contentProps = _extends({\n id: id,\n ref: this.setContentRef,\n style: _extends({}, contentStyles, this.props.style.content),\n className: this.buildClassName(\"content\", className),\n tabIndex: \"-1\",\n onKeyDown: this.handleKeyDown,\n onMouseDown: this.handleContentOnMouseDown,\n onMouseUp: this.handleContentOnMouseUp,\n onClick: this.handleContentOnClick,\n role: this.props.role,\n \"aria-label\": this.props.contentLabel\n }, this.attributesFromObject(\"aria\", _extends({ modal: true }, this.props.aria)), this.attributesFromObject(\"data\", this.props.data || {}), {\n \"data-testid\": this.props.testId\n });\n\n var contentElement = this.props.contentElement(contentProps, children);\n return this.props.overlayElement(overlayProps, contentElement);\n }\n }]);\n\n return ModalPortal;\n}(_react.Component);\n\nModalPortal.defaultProps = {\n style: {\n overlay: {},\n content: {}\n },\n defaultStyles: {}\n};\nModalPortal.propTypes = {\n isOpen: _propTypes2.default.bool.isRequired,\n defaultStyles: _propTypes2.default.shape({\n content: _propTypes2.default.object,\n overlay: _propTypes2.default.object\n }),\n style: _propTypes2.default.shape({\n content: _propTypes2.default.object,\n overlay: _propTypes2.default.object\n }),\n className: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.object]),\n overlayClassName: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.object]),\n bodyOpenClassName: _propTypes2.default.string,\n htmlOpenClassName: _propTypes2.default.string,\n ariaHideApp: _propTypes2.default.bool,\n appElement: _propTypes2.default.oneOfType([_propTypes2.default.instanceOf(_safeHTMLElement2.default), _propTypes2.default.instanceOf(_safeHTMLElement.SafeHTMLCollection), _propTypes2.default.instanceOf(_safeHTMLElement.SafeNodeList), _propTypes2.default.arrayOf(_propTypes2.default.instanceOf(_safeHTMLElement2.default))]),\n onAfterOpen: _propTypes2.default.func,\n onAfterClose: _propTypes2.default.func,\n onRequestClose: _propTypes2.default.func,\n closeTimeoutMS: _propTypes2.default.number,\n shouldFocusAfterRender: _propTypes2.default.bool,\n shouldCloseOnOverlayClick: _propTypes2.default.bool,\n shouldReturnFocusAfterClose: _propTypes2.default.bool,\n preventScroll: _propTypes2.default.bool,\n role: _propTypes2.default.string,\n contentLabel: _propTypes2.default.string,\n aria: _propTypes2.default.object,\n data: _propTypes2.default.object,\n children: _propTypes2.default.node,\n shouldCloseOnEsc: _propTypes2.default.bool,\n overlayRef: _propTypes2.default.func,\n contentRef: _propTypes2.default.func,\n id: _propTypes2.default.string,\n overlayElement: _propTypes2.default.func,\n contentElement: _propTypes2.default.func,\n testId: _propTypes2.default.string\n};\nexports.default = ModalPortal;\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.resetState = resetState;\nexports.log = log;\nexports.assertNodeList = assertNodeList;\nexports.setElement = setElement;\nexports.validateElement = validateElement;\nexports.hide = hide;\nexports.show = show;\nexports.documentNotReadyOrSSRTesting = documentNotReadyOrSSRTesting;\n\nvar _warning = require(\"warning\");\n\nvar _warning2 = _interopRequireDefault(_warning);\n\nvar _safeHTMLElement = require(\"./safeHTMLElement\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar globalElement = null;\n\n/* eslint-disable no-console */\n/* istanbul ignore next */\nfunction resetState() {\n if (globalElement) {\n if (globalElement.removeAttribute) {\n globalElement.removeAttribute(\"aria-hidden\");\n } else if (globalElement.length != null) {\n globalElement.forEach(function (element) {\n return element.removeAttribute(\"aria-hidden\");\n });\n } else {\n document.querySelectorAll(globalElement).forEach(function (element) {\n return element.removeAttribute(\"aria-hidden\");\n });\n }\n }\n globalElement = null;\n}\n\n/* istanbul ignore next */\nfunction log() {\n if (process.env.NODE_ENV !== \"production\") {\n var check = globalElement || {};\n console.log(\"ariaAppHider ----------\");\n console.log(check.nodeName, check.className, check.id);\n console.log(\"end ariaAppHider ----------\");\n }\n}\n/* eslint-enable no-console */\n\nfunction assertNodeList(nodeList, selector) {\n if (!nodeList || !nodeList.length) {\n throw new Error(\"react-modal: No elements were found for selector \" + selector + \".\");\n }\n}\n\nfunction setElement(element) {\n var useElement = element;\n if (typeof useElement === \"string\" && _safeHTMLElement.canUseDOM) {\n var el = document.querySelectorAll(useElement);\n assertNodeList(el, useElement);\n useElement = el;\n }\n globalElement = useElement || globalElement;\n return globalElement;\n}\n\nfunction validateElement(appElement) {\n var el = appElement || globalElement;\n if (el) {\n return Array.isArray(el) || el instanceof HTMLCollection || el instanceof NodeList ? el : [el];\n } else {\n (0, _warning2.default)(false, [\"react-modal: App element is not defined.\", \"Please use `Modal.setAppElement(el)` or set `appElement={el}`.\", \"This is needed so screen readers don't see main content\", \"when modal is opened. It is not recommended, but you can opt-out\", \"by setting `ariaHideApp={false}`.\"].join(\" \"));\n\n return [];\n }\n}\n\nfunction hide(appElement) {\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = validateElement(appElement)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var el = _step.value;\n\n el.setAttribute(\"aria-hidden\", \"true\");\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n}\n\nfunction show(appElement) {\n var _iteratorNormalCompletion2 = true;\n var _didIteratorError2 = false;\n var _iteratorError2 = undefined;\n\n try {\n for (var _iterator2 = validateElement(appElement)[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n var el = _step2.value;\n\n el.removeAttribute(\"aria-hidden\");\n }\n } catch (err) {\n _didIteratorError2 = true;\n _iteratorError2 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion2 && _iterator2.return) {\n _iterator2.return();\n }\n } finally {\n if (_didIteratorError2) {\n throw _iteratorError2;\n }\n }\n }\n}\n\nfunction documentNotReadyOrSSRTesting() {\n globalElement = null;\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.resetState = resetState;\nexports.log = log;\n\nvar _portalOpenInstances = require(\"./portalOpenInstances\");\n\nvar _portalOpenInstances2 = _interopRequireDefault(_portalOpenInstances);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Body focus trap see Issue #742\n\nvar before = void 0,\n after = void 0,\n instances = [];\n\n/* eslint-disable no-console */\n/* istanbul ignore next */\nfunction resetState() {\n var _arr = [before, after];\n\n for (var _i = 0; _i < _arr.length; _i++) {\n var item = _arr[_i];\n if (!item) continue;\n item.parentNode && item.parentNode.removeChild(item);\n }\n before = after = null;\n instances = [];\n}\n\n/* istanbul ignore next */\nfunction log() {\n console.log(\"bodyTrap ----------\");\n console.log(instances.length);\n var _arr2 = [before, after];\n for (var _i2 = 0; _i2 < _arr2.length; _i2++) {\n var item = _arr2[_i2];\n var check = item || {};\n console.log(check.nodeName, check.className, check.id);\n }\n console.log(\"edn bodyTrap ----------\");\n}\n/* eslint-enable no-console */\n\nfunction focusContent() {\n if (instances.length === 0) {\n if (process.env.NODE_ENV !== \"production\") {\n // eslint-disable-next-line no-console\n console.warn(\"React-Modal: Open instances > 0 expected\");\n }\n return;\n }\n instances[instances.length - 1].focusContent();\n}\n\nfunction bodyTrap(eventType, openInstances) {\n if (!before && !after) {\n before = document.createElement(\"div\");\n before.setAttribute(\"data-react-modal-body-trap\", \"\");\n before.style.position = \"absolute\";\n before.style.opacity = \"0\";\n before.setAttribute(\"tabindex\", \"0\");\n before.addEventListener(\"focus\", focusContent);\n after = before.cloneNode();\n after.addEventListener(\"focus\", focusContent);\n }\n\n instances = openInstances;\n\n if (instances.length > 0) {\n // Add focus trap\n if (document.body.firstChild !== before) {\n document.body.insertBefore(before, document.body.firstChild);\n }\n if (document.body.lastChild !== after) {\n document.body.appendChild(after);\n }\n } else {\n // Remove focus trap\n if (before.parentElement) {\n before.parentElement.removeChild(before);\n }\n if (after.parentElement) {\n after.parentElement.removeChild(after);\n }\n }\n}\n\n_portalOpenInstances2.default.subscribe(bodyTrap);","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.resetState = resetState;\nexports.log = log;\nvar htmlClassList = {};\nvar docBodyClassList = {};\n\n/* eslint-disable no-console */\n/* istanbul ignore next */\nfunction removeClass(at, cls) {\n at.classList.remove(cls);\n}\n\n/* istanbul ignore next */\nfunction resetState() {\n var htmlElement = document.getElementsByTagName(\"html\")[0];\n for (var cls in htmlClassList) {\n removeClass(htmlElement, htmlClassList[cls]);\n }\n\n var body = document.body;\n for (var _cls in docBodyClassList) {\n removeClass(body, docBodyClassList[_cls]);\n }\n\n htmlClassList = {};\n docBodyClassList = {};\n}\n\n/* istanbul ignore next */\nfunction log() {\n if (process.env.NODE_ENV !== \"production\") {\n var classes = document.getElementsByTagName(\"html\")[0].className;\n var buffer = \"Show tracked classes:\\n\\n\";\n\n buffer += \" (\" + classes + \"):\\n \";\n for (var x in htmlClassList) {\n buffer += \" \" + x + \" \" + htmlClassList[x] + \"\\n \";\n }\n\n classes = document.body.className;\n\n buffer += \"\\n\\ndoc.body (\" + classes + \"):\\n \";\n for (var _x in docBodyClassList) {\n buffer += \" \" + _x + \" \" + docBodyClassList[_x] + \"\\n \";\n }\n\n buffer += \"\\n\";\n\n console.log(buffer);\n }\n}\n/* eslint-enable no-console */\n\n/**\n * Track the number of reference of a class.\n * @param {object} poll The poll to receive the reference.\n * @param {string} className The class name.\n * @return {string}\n */\nvar incrementReference = function incrementReference(poll, className) {\n if (!poll[className]) {\n poll[className] = 0;\n }\n poll[className] += 1;\n return className;\n};\n\n/**\n * Drop the reference of a class.\n * @param {object} poll The poll to receive the reference.\n * @param {string} className The class name.\n * @return {string}\n */\nvar decrementReference = function decrementReference(poll, className) {\n if (poll[className]) {\n poll[className] -= 1;\n }\n return className;\n};\n\n/**\n * Track a class and add to the given class list.\n * @param {Object} classListRef A class list of an element.\n * @param {Object} poll The poll to be used.\n * @param {Array} classes The list of classes to be tracked.\n */\nvar trackClass = function trackClass(classListRef, poll, classes) {\n classes.forEach(function (className) {\n incrementReference(poll, className);\n classListRef.add(className);\n });\n};\n\n/**\n * Untrack a class and remove from the given class list if the reference\n * reaches 0.\n * @param {Object} classListRef A class list of an element.\n * @param {Object} poll The poll to be used.\n * @param {Array} classes The list of classes to be untracked.\n */\nvar untrackClass = function untrackClass(classListRef, poll, classes) {\n classes.forEach(function (className) {\n decrementReference(poll, className);\n poll[className] === 0 && classListRef.remove(className);\n });\n};\n\n/**\n * Public inferface to add classes to the document.body.\n * @param {string} bodyClass The class string to be added.\n * It may contain more then one class\n * with ' ' as separator.\n */\nvar add = exports.add = function add(element, classString) {\n return trackClass(element.classList, element.nodeName.toLowerCase() == \"html\" ? htmlClassList : docBodyClassList, classString.split(\" \"));\n};\n\n/**\n * Public inferface to remove classes from the document.body.\n * @param {string} bodyClass The class string to be added.\n * It may contain more then one class\n * with ' ' as separator.\n */\nvar remove = exports.remove = function remove(element, classString) {\n return untrackClass(element.classList, element.nodeName.toLowerCase() == \"html\" ? htmlClassList : docBodyClassList, classString.split(\" \"));\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.resetState = resetState;\nexports.log = log;\nexports.handleBlur = handleBlur;\nexports.handleFocus = handleFocus;\nexports.markForFocusLater = markForFocusLater;\nexports.returnFocus = returnFocus;\nexports.popWithoutFocus = popWithoutFocus;\nexports.setupScopedFocus = setupScopedFocus;\nexports.teardownScopedFocus = teardownScopedFocus;\n\nvar _tabbable = require(\"../helpers/tabbable\");\n\nvar _tabbable2 = _interopRequireDefault(_tabbable);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar focusLaterElements = [];\nvar modalElement = null;\nvar needToFocus = false;\n\n/* eslint-disable no-console */\n/* istanbul ignore next */\nfunction resetState() {\n focusLaterElements = [];\n}\n\n/* istanbul ignore next */\nfunction log() {\n if (process.env.NODE_ENV !== \"production\") {\n console.log(\"focusManager ----------\");\n focusLaterElements.forEach(function (f) {\n var check = f || {};\n console.log(check.nodeName, check.className, check.id);\n });\n console.log(\"end focusManager ----------\");\n }\n}\n/* eslint-enable no-console */\n\nfunction handleBlur() {\n needToFocus = true;\n}\n\nfunction handleFocus() {\n if (needToFocus) {\n needToFocus = false;\n if (!modalElement) {\n return;\n }\n // need to see how jQuery shims document.on('focusin') so we don't need the\n // setTimeout, firefox doesn't support focusin, if it did, we could focus\n // the element outside of a setTimeout. Side-effect of this implementation\n // is that the document.body gets focus, and then we focus our element right\n // after, seems fine.\n setTimeout(function () {\n if (modalElement.contains(document.activeElement)) {\n return;\n }\n var el = (0, _tabbable2.default)(modalElement)[0] || modalElement;\n el.focus();\n }, 0);\n }\n}\n\nfunction markForFocusLater() {\n focusLaterElements.push(document.activeElement);\n}\n\n/* eslint-disable no-console */\nfunction returnFocus() {\n var preventScroll = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n\n var toFocus = null;\n try {\n if (focusLaterElements.length !== 0) {\n toFocus = focusLaterElements.pop();\n toFocus.focus({ preventScroll: preventScroll });\n }\n return;\n } catch (e) {\n console.warn([\"You tried to return focus to\", toFocus, \"but it is not in the DOM anymore\"].join(\" \"));\n }\n}\n/* eslint-enable no-console */\n\nfunction popWithoutFocus() {\n focusLaterElements.length > 0 && focusLaterElements.pop();\n}\n\nfunction setupScopedFocus(element) {\n modalElement = element;\n\n if (window.addEventListener) {\n window.addEventListener(\"blur\", handleBlur, false);\n document.addEventListener(\"focus\", handleFocus, true);\n } else {\n window.attachEvent(\"onBlur\", handleBlur);\n document.attachEvent(\"onFocus\", handleFocus);\n }\n}\n\nfunction teardownScopedFocus() {\n modalElement = null;\n\n if (window.addEventListener) {\n window.removeEventListener(\"blur\", handleBlur);\n document.removeEventListener(\"focus\", handleFocus);\n } else {\n window.detachEvent(\"onBlur\", handleBlur);\n document.detachEvent(\"onFocus\", handleFocus);\n }\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.log = log;\nexports.resetState = resetState;\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n// Tracks portals that are open and emits events to subscribers\n\nvar PortalOpenInstances = function PortalOpenInstances() {\n var _this = this;\n\n _classCallCheck(this, PortalOpenInstances);\n\n this.register = function (openInstance) {\n if (_this.openInstances.indexOf(openInstance) !== -1) {\n if (process.env.NODE_ENV !== \"production\") {\n // eslint-disable-next-line no-console\n console.warn(\"React-Modal: Cannot register modal instance that's already open\");\n }\n return;\n }\n _this.openInstances.push(openInstance);\n _this.emit(\"register\");\n };\n\n this.deregister = function (openInstance) {\n var index = _this.openInstances.indexOf(openInstance);\n if (index === -1) {\n if (process.env.NODE_ENV !== \"production\") {\n // eslint-disable-next-line no-console\n console.warn(\"React-Modal: Unable to deregister \" + openInstance + \" as \" + \"it was never registered\");\n }\n return;\n }\n _this.openInstances.splice(index, 1);\n _this.emit(\"deregister\");\n };\n\n this.subscribe = function (callback) {\n _this.subscribers.push(callback);\n };\n\n this.emit = function (eventType) {\n _this.subscribers.forEach(function (subscriber) {\n return subscriber(eventType,\n // shallow copy to avoid accidental mutation\n _this.openInstances.slice());\n });\n };\n\n this.openInstances = [];\n this.subscribers = [];\n};\n\nvar portalOpenInstances = new PortalOpenInstances();\n\n/* eslint-disable no-console */\n/* istanbul ignore next */\nfunction log() {\n console.log(\"portalOpenInstances ----------\");\n console.log(portalOpenInstances.openInstances.length);\n portalOpenInstances.openInstances.forEach(function (p) {\n return console.log(p);\n });\n console.log(\"end portalOpenInstances ----------\");\n}\n\n/* istanbul ignore next */\nfunction resetState() {\n portalOpenInstances = new PortalOpenInstances();\n}\n/* eslint-enable no-console */\n\nexports.default = portalOpenInstances;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.canUseDOM = exports.SafeNodeList = exports.SafeHTMLCollection = undefined;\n\nvar _exenv = require(\"exenv\");\n\nvar _exenv2 = _interopRequireDefault(_exenv);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar EE = _exenv2.default;\n\nvar SafeHTMLElement = EE.canUseDOM ? window.HTMLElement : {};\n\nvar SafeHTMLCollection = exports.SafeHTMLCollection = EE.canUseDOM ? window.HTMLCollection : {};\n\nvar SafeNodeList = exports.SafeNodeList = EE.canUseDOM ? window.NodeList : {};\n\nvar canUseDOM = exports.canUseDOM = EE.canUseDOM;\n\nexports.default = SafeHTMLElement;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = scopeTab;\n\nvar _tabbable = require(\"./tabbable\");\n\nvar _tabbable2 = _interopRequireDefault(_tabbable);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction getActiveElement() {\n var el = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : document;\n\n return el.activeElement.shadowRoot ? getActiveElement(el.activeElement.shadowRoot) : el.activeElement;\n}\n\nfunction scopeTab(node, event) {\n var tabbable = (0, _tabbable2.default)(node);\n\n if (!tabbable.length) {\n // Do nothing, since there are no elements that can receive focus.\n event.preventDefault();\n return;\n }\n\n var target = void 0;\n\n var shiftKey = event.shiftKey;\n var head = tabbable[0];\n var tail = tabbable[tabbable.length - 1];\n var activeElement = getActiveElement();\n\n // proceed with default browser behavior on tab.\n // Focus on last element on shift + tab.\n if (node === activeElement) {\n if (!shiftKey) return;\n target = tail;\n }\n\n if (tail === activeElement && !shiftKey) {\n target = head;\n }\n\n if (head === activeElement && shiftKey) {\n target = tail;\n }\n\n if (target) {\n event.preventDefault();\n target.focus();\n return;\n }\n\n // Safari radio issue.\n //\n // Safari does not move the focus to the radio button,\n // so we need to force it to really walk through all elements.\n //\n // This is very error prone, since we are trying to guess\n // if it is a safari browser from the first occurence between\n // chrome or safari.\n //\n // The chrome user agent contains the first ocurrence\n // as the 'chrome/version' and later the 'safari/version'.\n var checkSafari = /(\\bChrome\\b|\\bSafari\\b)\\//.exec(navigator.userAgent);\n var isSafariDesktop = checkSafari != null && checkSafari[1] != \"Chrome\" && /\\biPod\\b|\\biPad\\b/g.exec(navigator.userAgent) == null;\n\n // If we are not in safari desktop, let the browser control\n // the focus\n if (!isSafariDesktop) return;\n\n var x = tabbable.indexOf(activeElement);\n\n if (x > -1) {\n x += shiftKey ? -1 : 1;\n }\n\n target = tabbable[x];\n\n // If the tabbable element does not exist,\n // focus head/tail based on shiftKey\n if (typeof target === \"undefined\") {\n event.preventDefault();\n target = shiftKey ? tail : head;\n target.focus();\n return;\n }\n\n event.preventDefault();\n\n target.focus();\n}\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = findTabbableDescendants;\n/*!\n * Adapted from jQuery UI core\n *\n * http://jqueryui.com\n *\n * Copyright 2014 jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n *\n * http://api.jqueryui.com/category/ui-core/\n */\n\nvar tabbableNode = /input|select|textarea|button|object/;\n\nfunction hidesContents(element) {\n var zeroSize = element.offsetWidth <= 0 && element.offsetHeight <= 0;\n\n // If the node is empty, this is good enough\n if (zeroSize && !element.innerHTML) return true;\n\n try {\n // Otherwise we need to check some styles\n var style = window.getComputedStyle(element);\n return zeroSize ? style.getPropertyValue(\"overflow\") !== \"visible\" ||\n // if 'overflow: visible' set, check if there is actually any overflow\n element.scrollWidth <= 0 && element.scrollHeight <= 0 : style.getPropertyValue(\"display\") == \"none\";\n } catch (exception) {\n // eslint-disable-next-line no-console\n console.warn(\"Failed to inspect element style\");\n return false;\n }\n}\n\nfunction visible(element) {\n var parentElement = element;\n var rootNode = element.getRootNode && element.getRootNode();\n while (parentElement) {\n if (parentElement === document.body) break;\n\n // if we are not hidden yet, skip to checking outside the Web Component\n if (rootNode && parentElement === rootNode) parentElement = rootNode.host.parentNode;\n\n if (hidesContents(parentElement)) return false;\n parentElement = parentElement.parentNode;\n }\n return true;\n}\n\nfunction focusable(element, isTabIndexNotNaN) {\n var nodeName = element.nodeName.toLowerCase();\n var res = tabbableNode.test(nodeName) && !element.disabled || (nodeName === \"a\" ? element.href || isTabIndexNotNaN : isTabIndexNotNaN);\n return res && visible(element);\n}\n\nfunction tabbable(element) {\n var tabIndex = element.getAttribute(\"tabindex\");\n if (tabIndex === null) tabIndex = undefined;\n var isTabIndexNaN = isNaN(tabIndex);\n return (isTabIndexNaN || tabIndex >= 0) && focusable(element, !isTabIndexNaN);\n}\n\nfunction findTabbableDescendants(element) {\n var descendants = [].slice.call(element.querySelectorAll(\"*\"), 0).reduce(function (finished, el) {\n return finished.concat(!el.shadowRoot ? [el] : findTabbableDescendants(el.shadowRoot));\n }, []);\n return descendants.filter(tabbable);\n}\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _Modal = require(\"./components/Modal\");\n\nvar _Modal2 = _interopRequireDefault(_Modal);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _Modal2.default;\nmodule.exports = exports[\"default\"];","/*! For license information please see index.js.LICENSE.txt */\n(()=>{var e={184:(e,n)=>{var t;!function(){\"use strict\";var r={}.hasOwnProperty;function o(){for(var e=[],n=0;n{\"use strict\";t.d(n,{Z:()=>i});var r=t(81),o=t.n(r),a=t(645),c=t.n(a)()(o());c.push([e.id,\".vi {\\n top: 0;\\n right: 0;\\n bottom: 0;\\n left: 0;\\n box-sizing: border-box;\\n position: absolute;\\n color: transparent;\\n background: transparent;\\n caret-color: transparent;\\n outline: none;\\n border: 0 none transparent;\\n}\\n\\n.vi::-ms-reveal,\\n.vi::-ms-clear {\\n display: none;\\n}\\n\\n.vi::selection {\\n background: transparent;\\n}\\n\\n/* :where() gives the styles specificity 0, which makes them overridable */\\n:where(.vi__container) {\\n position: relative;\\n display: flex;\\n gap: 8px;\\n height: 50px;\\n width: 300px;\\n}\\n\\n:where(.vi__character) {\\n height: 100%;\\n flex-grow: 1;\\n flex-basis: 0;\\n text-align: center;\\n font-size: 36px;\\n line-height: 50px;\\n color: black;\\n background-color: white;\\n border: 1px solid black;\\n cursor: default;\\n user-select: none;\\n box-sizing: border-box;\\n}\\n\\n:where(.vi__character--inactive) {\\n color: dimgray;\\n background-color: lightgray;\\n}\\n\\n:where(.vi__character--selected) {\\n outline: 2px solid cornflowerblue;\\n color: cornflowerblue;\\n}\\n\",\"\"]);const i=c},645:e=>{\"use strict\";e.exports=function(e){var n=[];return n.toString=function(){return this.map((function(n){var t=\"\",r=void 0!==n[5];return n[4]&&(t+=\"@supports (\".concat(n[4],\") {\")),n[2]&&(t+=\"@media \".concat(n[2],\" {\")),r&&(t+=\"@layer\".concat(n[5].length>0?\" \".concat(n[5]):\"\",\" {\")),t+=e(n),r&&(t+=\"}\"),n[2]&&(t+=\"}\"),n[4]&&(t+=\"}\"),t})).join(\"\")},n.i=function(e,t,r,o,a){\"string\"==typeof e&&(e=[[null,e,void 0]]);var c={};if(r)for(var i=0;i0?\" \".concat(u[5]):\"\",\" {\").concat(u[1],\"}\")),u[5]=a),t&&(u[2]?(u[1]=\"@media \".concat(u[2],\" {\").concat(u[1],\"}\"),u[2]=t):u[2]=t),o&&(u[4]?(u[1]=\"@supports (\".concat(u[4],\") {\").concat(u[1],\"}\"),u[4]=o):u[4]=\"\".concat(o)),n.push(u))}},n}},81:e=>{\"use strict\";e.exports=function(e){return e[1]}},703:(e,n,t)=>{\"use strict\";var r=t(414);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,n,t,o,a,c){if(c!==r){var i=new Error(\"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types\");throw i.name=\"Invariant Violation\",i}}function n(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:a,resetWarningCache:o};return t.PropTypes=t,t}},697:(e,n,t)=>{e.exports=t(703)()},414:e=>{\"use strict\";e.exports=\"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED\"}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var a=n[r]={id:r,exports:{}};return e[r](a,a.exports,t),a.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})};var r={};(()=>{\"use strict\";t.r(r),t.d(r,{default:()=>g});const e=require(\"react\");var n=t.n(e),o=t(184),a=t.n(o),c=t(697),i=t.n(c),l=t(28),s=[\"className\",\"type\"],u=[\"className\"];function p(){return p=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function d(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:\"undefined\"!=typeof Symbol&&e[Symbol.iterator]||e[\"@@iterator\"];if(null!=t){var r,o,a,c,i=[],l=!0,s=!1;try{if(a=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;l=!1}else for(;!(l=(r=a.call(t)).done)&&(i.push(r.value),i.length!==n);l=!0);}catch(e){s=!0,o=e}finally{try{if(!l&&null!=t.return&&(c=t.return(),Object(c)!==c))return}finally{if(s)throw o}}return i}}(e,n)||h(e,n)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}()}function h(e,n){if(e){if(\"string\"==typeof e)return v(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return\"Object\"===t&&e.constructor&&(t=e.constructor.name),\"Map\"===t||\"Set\"===t?Array.from(e):\"Arguments\"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?v(e,n):void 0}}function v(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);te},B=m.className,L=m.type,U=f(m,s),W=_.className,Z=f(_,u);return n().createElement(n().Fragment,null,n().createElement(\"div\",p({\"data-testid\":\"container\",className:a()(\"vi__container\",w.container,W),onClick:function(){return I.current.focus()}},Z),n().createElement(\"input\",p({\"aria-label\":\"verification input\",spellCheck:!1,value:R(),onChange:function(e){var n=e.target.value.replace(/\\s/g,\"\");RegExp(\"^[\".concat(i,\"]{0,\").concat(c,\"}$\")).test(n)&&(x&&(null==x||x(n)),k(n),n.length===c&&(null==j||j(n)))},ref:function(e){I.current=e,\"function\"==typeof r?r(e):r&&(r.current=e)},className:a()(\"vi\",B),onKeyDown:function(e){[\"ArrowLeft\",\"ArrowRight\",\"ArrowUp\",\"ArrowDown\"].includes(e.key)&&e.preventDefault()},onFocus:function(){T(!0),null==O||O()},onBlur:function(){T(!1),null==S||S()},onSelect:function(e){var n=e.target.value;e.target.setSelectionRange(n.length,n.length)},type:b?\"password\":L},U)),(N=Array(c),function(e){if(Array.isArray(e))return v(e)}(N)||function(e){if(\"undefined\"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e[\"@@iterator\"])return Array.from(e)}(N)||h(N)||function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}()).map((function(e,t){return n().createElement(\"div\",{className:a()(\"vi__character\",w.character,{\"vi__character--selected\":M(t),\"vi__character--inactive\":D(t),\"vi__character--filled\":z(t)},M(t)&&w.characterSelected,D(t)&&w.characterInactive,z(t)&&w.characterFilled),onClick:F,id:\"field-\".concat(t),\"data-testid\":\"character-\".concat(t),key:t},b&&R()[t]?\"*\":R()[t]||y)}))),n().createElement(\"style\",{dangerouslySetInnerHTML:{__html:l.Z}}))}));y.displayName=\"VerificationInput\",y.propTypes={value:i().string,length:i().number,validChars:i().string,placeholder:i().string,autoFocus:i().bool,passwordMode:i().bool,inputProps:i().object,containerProps:i().object,classNames:i().shape({container:i().string,character:i().string,characterInactive:i().string,characterSelected:i().string,characterFilled:i().string}),onChange:i().func,onFocus:i().func,onBlur:i().func,onComplete:i().func},y.defaultProps={length:6,validChars:\"A-Za-z0-9\",placeholder:\"·\",autoFocus:!1,inputProps:{},containerProps:{},classNames:{}};const g=y})();var o=exports;for(var a in r)o[a]=r[a];r.__esModule&&Object.defineProperty(o,\"__esModule\",{value:!0})})();","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","/**\n * @license React\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var l=Symbol.for(\"react.element\"),n=Symbol.for(\"react.portal\"),p=Symbol.for(\"react.fragment\"),q=Symbol.for(\"react.strict_mode\"),r=Symbol.for(\"react.profiler\"),t=Symbol.for(\"react.provider\"),u=Symbol.for(\"react.context\"),v=Symbol.for(\"react.forward_ref\"),w=Symbol.for(\"react.suspense\"),x=Symbol.for(\"react.memo\"),y=Symbol.for(\"react.lazy\"),z=Symbol.iterator;function A(a){if(null===a||\"object\"!==typeof a)return null;a=z&&a[z]||a[\"@@iterator\"];return\"function\"===typeof a?a:null}\nvar B={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,D={};function E(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B}E.prototype.isReactComponent={};\nE.prototype.setState=function(a,b){if(\"object\"!==typeof a&&\"function\"!==typeof a&&null!=a)throw Error(\"setState(...): takes an object of state variables to update or a function which returns an object of state variables.\");this.updater.enqueueSetState(this,a,b,\"setState\")};E.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,\"forceUpdate\")};function F(){}F.prototype=E.prototype;function G(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B}var H=G.prototype=new F;\nH.constructor=G;C(H,E.prototype);H.isPureReactComponent=!0;var I=Array.isArray,J=Object.prototype.hasOwnProperty,K={current:null},L={key:!0,ref:!0,__self:!0,__source:!0};\nfunction M(a,b,e){var d,c={},k=null,h=null;if(null!=b)for(d in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(k=\"\"+b.key),b)J.call(b,d)&&!L.hasOwnProperty(d)&&(c[d]=b[d]);var g=arguments.length-2;if(1===g)c.children=e;else if(1>>1,e=a[d];if(0>>1;dg(C,c))ng(x,C)?(a[d]=x,a[n]=c,d=n):(a[d]=C,a[m]=c,d=m);else if(ng(x,c))a[d]=x,a[n]=c,d=n;else break a}}return b}\nfunction g(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}if(\"object\"===typeof performance&&\"function\"===typeof performance.now){var l=performance;exports.unstable_now=function(){return l.now()}}else{var p=Date,q=p.now();exports.unstable_now=function(){return p.now()-q}}var r=[],t=[],u=1,v=null,y=3,z=!1,A=!1,B=!1,D=\"function\"===typeof setTimeout?setTimeout:null,E=\"function\"===typeof clearTimeout?clearTimeout:null,F=\"undefined\"!==typeof setImmediate?setImmediate:null;\n\"undefined\"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function G(a){for(var b=h(t);null!==b;){if(null===b.callback)k(t);else if(b.startTime<=a)k(t),b.sortIndex=b.expirationTime,f(r,b);else break;b=h(t)}}function H(a){B=!1;G(a);if(!A)if(null!==h(r))A=!0,I(J);else{var b=h(t);null!==b&&K(H,b.startTime-a)}}\nfunction J(a,b){A=!1;B&&(B=!1,E(L),L=-1);z=!0;var c=y;try{G(b);for(v=h(r);null!==v&&(!(v.expirationTime>b)||a&&!M());){var d=v.callback;if(\"function\"===typeof d){v.callback=null;y=v.priorityLevel;var e=d(v.expirationTime<=b);b=exports.unstable_now();\"function\"===typeof e?v.callback=e:v===h(r)&&k(r);G(b)}else k(r);v=h(r)}if(null!==v)var w=!0;else{var m=h(t);null!==m&&K(H,m.startTime-b);w=!1}return w}finally{v=null,y=c,z=!1}}var N=!1,O=null,L=-1,P=5,Q=-1;\nfunction M(){return exports.unstable_now()-Qa||125d?(a.sortIndex=c,f(t,a),null===h(r)&&a===h(t)&&(B?(E(L),L=-1):B=!0,K(H,c-d))):(a.sortIndex=e,f(r,a),A||z||(A=!0,I(J)));return a};\nexports.unstable_shouldYield=M;exports.unstable_wrapCallback=function(a){var b=y;return function(){var c=y;y=b;try{return a.apply(this,arguments)}finally{y=c}}};\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/scheduler.production.min.js');\n} else {\n module.exports = require('./cjs/scheduler.development.js');\n}\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar define = require('define-data-property');\nvar hasDescriptors = require('has-property-descriptors')();\nvar gOPD = require('gopd');\n\nvar $TypeError = require('es-errors/type');\nvar $floor = GetIntrinsic('%Math.floor%');\n\n/** @type {import('.')} */\nmodule.exports = function setFunctionLength(fn, length) {\n\tif (typeof fn !== 'function') {\n\t\tthrow new $TypeError('`fn` is not a function');\n\t}\n\tif (typeof length !== 'number' || length < 0 || length > 0xFFFFFFFF || $floor(length) !== length) {\n\t\tthrow new $TypeError('`length` must be a positive 32-bit integer');\n\t}\n\n\tvar loose = arguments.length > 2 && !!arguments[2];\n\n\tvar functionLengthIsConfigurable = true;\n\tvar functionLengthIsWritable = true;\n\tif ('length' in fn && gOPD) {\n\t\tvar desc = gOPD(fn, 'length');\n\t\tif (desc && !desc.configurable) {\n\t\t\tfunctionLengthIsConfigurable = false;\n\t\t}\n\t\tif (desc && !desc.writable) {\n\t\t\tfunctionLengthIsWritable = false;\n\t\t}\n\t}\n\n\tif (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {\n\t\tif (hasDescriptors) {\n\t\t\tdefine(/** @type {Parameters[0]} */ (fn), 'length', length, true, true);\n\t\t} else {\n\t\t\tdefine(/** @type {Parameters[0]} */ (fn), 'length', length);\n\t\t}\n\t}\n\treturn fn;\n};\n","//\n\nmodule.exports = function shallowEqual(objA, objB, compare, compareContext) {\n var ret = compare ? compare.call(compareContext, objA, objB) : void 0;\n\n if (ret !== void 0) {\n return !!ret;\n }\n\n if (objA === objB) {\n return true;\n }\n\n if (typeof objA !== \"object\" || !objA || typeof objB !== \"object\" || !objB) {\n return false;\n }\n\n var keysA = Object.keys(objA);\n var keysB = Object.keys(objB);\n\n if (keysA.length !== keysB.length) {\n return false;\n }\n\n var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);\n\n // Test for A's keys different from B.\n for (var idx = 0; idx < keysA.length; idx++) {\n var key = keysA[idx];\n\n if (!bHasOwnProperty(key)) {\n return false;\n }\n\n var valueA = objA[key];\n var valueB = objB[key];\n\n ret = compare ? compare.call(compareContext, valueA, valueB, key) : void 0;\n\n if (ret === false || (ret === void 0 && valueA !== valueB)) {\n return false;\n }\n }\n\n return true;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar callBound = require('call-bind/callBound');\nvar inspect = require('object-inspect');\n\nvar $TypeError = require('es-errors/type');\nvar $WeakMap = GetIntrinsic('%WeakMap%', true);\nvar $Map = GetIntrinsic('%Map%', true);\n\nvar $weakMapGet = callBound('WeakMap.prototype.get', true);\nvar $weakMapSet = callBound('WeakMap.prototype.set', true);\nvar $weakMapHas = callBound('WeakMap.prototype.has', true);\nvar $mapGet = callBound('Map.prototype.get', true);\nvar $mapSet = callBound('Map.prototype.set', true);\nvar $mapHas = callBound('Map.prototype.has', true);\n\n/*\n* This function traverses the list returning the node corresponding to the given key.\n*\n* That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list. By doing so, all the recently used nodes can be accessed relatively quickly.\n*/\n/** @type {import('.').listGetNode} */\nvar listGetNode = function (list, key) { // eslint-disable-line consistent-return\n\t/** @type {typeof list | NonNullable<(typeof list)['next']>} */\n\tvar prev = list;\n\t/** @type {(typeof list)['next']} */\n\tvar curr;\n\tfor (; (curr = prev.next) !== null; prev = curr) {\n\t\tif (curr.key === key) {\n\t\t\tprev.next = curr.next;\n\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\tcurr.next = /** @type {NonNullable} */ (list.next);\n\t\t\tlist.next = curr; // eslint-disable-line no-param-reassign\n\t\t\treturn curr;\n\t\t}\n\t}\n};\n\n/** @type {import('.').listGet} */\nvar listGet = function (objects, key) {\n\tvar node = listGetNode(objects, key);\n\treturn node && node.value;\n};\n/** @type {import('.').listSet} */\nvar listSet = function (objects, key, value) {\n\tvar node = listGetNode(objects, key);\n\tif (node) {\n\t\tnode.value = value;\n\t} else {\n\t\t// Prepend the new node to the beginning of the list\n\t\tobjects.next = /** @type {import('.').ListNode} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens\n\t\t\tkey: key,\n\t\t\tnext: objects.next,\n\t\t\tvalue: value\n\t\t});\n\t}\n};\n/** @type {import('.').listHas} */\nvar listHas = function (objects, key) {\n\treturn !!listGetNode(objects, key);\n};\n\n/** @type {import('.')} */\nmodule.exports = function getSideChannel() {\n\t/** @type {WeakMap} */ var $wm;\n\t/** @type {Map} */ var $m;\n\t/** @type {import('.').RootNode} */ var $o;\n\n\t/** @type {import('.').Channel} */\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\tget: function (key) { // eslint-disable-line consistent-return\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif ($wm) {\n\t\t\t\t\treturn $weakMapGet($wm, key);\n\t\t\t\t}\n\t\t\t} else if ($Map) {\n\t\t\t\tif ($m) {\n\t\t\t\t\treturn $mapGet($m, key);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif ($o) { // eslint-disable-line no-lonely-if\n\t\t\t\t\treturn listGet($o, key);\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\thas: function (key) {\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif ($wm) {\n\t\t\t\t\treturn $weakMapHas($wm, key);\n\t\t\t\t}\n\t\t\t} else if ($Map) {\n\t\t\t\tif ($m) {\n\t\t\t\t\treturn $mapHas($m, key);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif ($o) { // eslint-disable-line no-lonely-if\n\t\t\t\t\treturn listHas($o, key);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif (!$wm) {\n\t\t\t\t\t$wm = new $WeakMap();\n\t\t\t\t}\n\t\t\t\t$weakMapSet($wm, key, value);\n\t\t\t} else if ($Map) {\n\t\t\t\tif (!$m) {\n\t\t\t\t\t$m = new $Map();\n\t\t\t\t}\n\t\t\t\t$mapSet($m, key, value);\n\t\t\t} else {\n\t\t\t\tif (!$o) {\n\t\t\t\t\t// Initialize the linked list as an empty node, so that we don't have to special-case handling of the first node: we can always refer to it as (previous node).next, instead of something like (list).head\n\t\t\t\t\t$o = { key: {}, next: null };\n\t\t\t\t}\n\t\t\t\tlistSet($o, key, value);\n\t\t\t}\n\t\t}\n\t};\n\treturn channel;\n};\n","'use strict';\n\nvar RequireObjectCoercible = require('es-object-atoms/RequireObjectCoercible');\nvar ToString = require('es-abstract/2024/ToString');\nvar callBound = require('call-bind/callBound');\nvar $replace = callBound('String.prototype.replace');\n\nvar mvsIsWS = (/^\\s$/).test('\\u180E');\n/* eslint-disable no-control-regex */\nvar leftWhitespace = mvsIsWS\n\t? /^[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]+/\n\t: /^[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]+/;\nvar rightWhitespace = mvsIsWS\n\t? /[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]+$/\n\t: /[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]+$/;\n/* eslint-enable no-control-regex */\n\nmodule.exports = function trim() {\n\tvar S = ToString(RequireObjectCoercible(this));\n\treturn $replace($replace(S, leftWhitespace, ''), rightWhitespace, '');\n};\n","'use strict';\n\nvar callBind = require('call-bind');\nvar define = require('define-properties');\nvar RequireObjectCoercible = require('es-object-atoms/RequireObjectCoercible');\n\nvar implementation = require('./implementation');\nvar getPolyfill = require('./polyfill');\nvar shim = require('./shim');\n\nvar bound = callBind(getPolyfill());\nvar boundMethod = function trim(receiver) {\n\tRequireObjectCoercible(receiver);\n\treturn bound(receiver);\n};\n\ndefine(boundMethod, {\n\tgetPolyfill: getPolyfill,\n\timplementation: implementation,\n\tshim: shim\n});\n\nmodule.exports = boundMethod;\n","'use strict';\n\nvar implementation = require('./implementation');\n\nvar zeroWidthSpace = '\\u200b';\nvar mongolianVowelSeparator = '\\u180E';\n\nmodule.exports = function getPolyfill() {\n\tif (\n\t\tString.prototype.trim\n\t\t&& zeroWidthSpace.trim() === zeroWidthSpace\n\t\t&& mongolianVowelSeparator.trim() === mongolianVowelSeparator\n\t\t&& ('_' + mongolianVowelSeparator).trim() === ('_' + mongolianVowelSeparator)\n\t\t&& (mongolianVowelSeparator + '_').trim() === (mongolianVowelSeparator + '_')\n\t) {\n\t\treturn String.prototype.trim;\n\t}\n\treturn implementation;\n};\n","'use strict';\n\nvar define = require('define-properties');\nvar getPolyfill = require('./polyfill');\n\nmodule.exports = function shimStringTrim() {\n\tvar polyfill = getPolyfill();\n\tdefine(String.prototype, { trim: polyfill }, {\n\t\ttrim: function testTrim() {\n\t\t\treturn String.prototype.trim !== polyfill;\n\t\t}\n\t});\n\treturn polyfill;\n};\n","\"use strict\";\n\nvar stylesInDOM = [];\n\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n\n return result;\n}\n\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n\n identifiers.push(identifier);\n }\n\n return identifiers;\n}\n\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n\n return updater;\n}\n\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n\n var newLastIdentifiers = modulesToDom(newList, options);\n\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n\n var _index = getIndexByIdentifier(_identifier);\n\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n\n stylesInDOM.splice(_index, 1);\n }\n }\n\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\nvar memo = {};\n/* istanbul ignore next */\n\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself\n\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n\n memo[target] = styleTarget;\n }\n\n return memo[target];\n}\n/* istanbul ignore next */\n\n\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n\n target.appendChild(style);\n}\n\nmodule.exports = insertBySelector;","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\n\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\n\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\n/* istanbul ignore next */\nvar replaceText = function replaceText() {\n var textStore = [];\n return function replace(index, replacement) {\n textStore[index] = replacement;\n return textStore.filter(Boolean).join(\"\\n\");\n };\n}();\n/* istanbul ignore next */\n\n\nfunction apply(styleElement, index, remove, obj) {\n var css;\n\n if (remove) {\n css = \"\";\n } else {\n css = \"\";\n\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n\n var needLayer = typeof obj.layer !== \"undefined\";\n\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n\n css += obj.css;\n\n if (needLayer) {\n css += \"}\";\n }\n\n if (obj.media) {\n css += \"}\";\n }\n\n if (obj.supports) {\n css += \"}\";\n }\n } // For old IE\n\n /* istanbul ignore if */\n\n\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = replaceText(index, css);\n } else {\n var cssNode = document.createTextNode(css);\n var childNodes = styleElement.childNodes;\n\n if (childNodes[index]) {\n styleElement.removeChild(childNodes[index]);\n }\n\n if (childNodes.length) {\n styleElement.insertBefore(cssNode, childNodes[index]);\n } else {\n styleElement.appendChild(cssNode);\n }\n }\n}\n\nvar singletonData = {\n singleton: null,\n singletonCounter: 0\n};\n/* istanbul ignore next */\n\nfunction domAPI(options) {\n // eslint-disable-next-line no-undef,no-use-before-define\n var styleIndex = singletonData.singletonCounter++;\n var styleElement = // eslint-disable-next-line no-undef,no-use-before-define\n singletonData.singleton || ( // eslint-disable-next-line no-undef,no-use-before-define\n singletonData.singleton = options.insertStyleElement(options));\n return {\n update: function update(obj) {\n apply(styleElement, styleIndex, false, obj);\n },\n remove: function remove(obj) {\n apply(styleElement, styleIndex, true, obj);\n }\n };\n}\n\nmodule.exports = domAPI;","\"use strict\";function e(e){return e&&\"object\"==typeof e&&\"default\"in e?e.default:e}Object.defineProperty(exports,\"__esModule\",{value:!0});var t=require(\"react-is\"),n=require(\"react\"),r=e(n),o=e(require(\"shallowequal\")),s=e(require(\"@emotion/stylis\")),i=e(require(\"@emotion/unitless\")),a=e(require(\"@emotion/is-prop-valid\")),u=e(require(\"hoist-non-react-statics\"));function c(){return(c=Object.assign||function(e){for(var t=1;t ({})}\\n```\\n\\n',8:'ThemeProvider: Please make your \"theme\" prop an object.\\n\\n',9:\"Missing document ``\\n\\n\",10:\"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\\n\\n\",11:\"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\\n\\n\",12:\"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\\\`\\\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\\n\\n\",13:\"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\\n\\n\",14:'ThemeProvider: \"theme\" prop is required.\\n\\n',15:\"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to ``, please make sure each plugin is uniquely-named, e.g.\\n\\n```js\\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\\n```\\n\\n\",16:\"Reached the limit of how many styled components may be created at group %s.\\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\\nas for instance in your render method then you may be running into this limitation.\\n\\n\",17:\"CSSStyleSheet could not be found on HTMLStyleElement.\\nHas styled-components' style tag been unmounted or altered by another script?\\n\"}:{};function b(){for(var e=arguments.length<=0?void 0:arguments[0],t=[],n=1,r=arguments.length;n1?t-1:0),r=1;r0?\" Args: \"+n.join(\", \"):\"\")):new Error(b.apply(void 0,[E[e]].concat(n)).trim())}var N=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&_(16,\"\"+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var s=r;s=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,s=r;s1<<30)&&_(16,\"\"+t),C.set(e,t),A.set(t,e),t},x=function(e){return A.get(e)},O=function(e,t){t>=I&&(I=t+1),C.set(e,t),A.set(t,e)},R=\"style[\"+v+'][data-styled-version=\"5.3.3\"]',D=new RegExp(\"^\"+v+'\\\\.g(\\\\d+)\\\\[id=\"([\\\\w\\\\d-]+)\"\\\\].*?\"([^\"]*)'),T=function(e,t,n){for(var r,o=n.split(\",\"),s=0,i=o.length;s=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(v))return r}}(n),s=void 0!==o?o.nextSibling:null;r.setAttribute(v,\"active\"),r.setAttribute(\"data-styled-version\",\"5.3.3\");var i=k();return i&&r.setAttribute(\"nonce\",i),n.insertBefore(r,s),r},M=function(){function e(e){var t=this.element=V(e);t.appendChild(document.createTextNode(\"\")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e0&&(c+=e+\",\")})),r+=\"\"+a+u+'{content:\"'+c+'\"}/*!sc*/\\n'}}}return r}(this)},e}(),F=/(a)(d)/gi,Y=function(e){return String.fromCharCode(e+(e>25?39:97))};function H(e){var t,n=\"\";for(t=Math.abs(e);t>52;t=t/52|0)n=Y(t%52)+n;return(Y(t%52)+n).replace(F,\"$1-$2\")}var $=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},W=function(e){return $(5381,e)};function U(e){for(var t=0;t>>0);if(!t.hasNameForId(r,i)){var a=n(s,\".\"+i,void 0,r);t.insertRules(r,i,a)}o.push(i),this.staticRulesId=i}else{for(var u=this.rules.length,c=$(this.baseHash,n.hash),l=\"\",d=0;d>>0);if(!t.hasNameForId(r,m)){var y=n(l,\".\"+m,void 0,r);t.insertRules(r,m,y)}o.push(m)}}return o.join(\" \")},e}(),Z=/^\\s*\\/\\/.*$/gm,K=[\":\",\"[\",\".\",\"#\"];function Q(e){var t,n,r,o,i=void 0===e?p:e,a=i.options,u=void 0===a?p:a,c=i.plugins,l=void 0===c?h:c,d=new s(u),f=[],m=function(e){function t(t){if(t)try{e(t+\"}\")}catch(e){}}return function(n,r,o,s,i,a,u,c,l,d){switch(n){case 1:if(0===l&&64===r.charCodeAt(0))return e(r+\";\"),\"\";break;case 2:if(0===c)return r+\"/*|*/\";break;case 3:switch(c){case 102:case 112:return e(o[0]+r),\"\";default:return r+(0===d?\"/*|*/\":\"\")}case-2:r.split(\"/*|*/}\").forEach(t)}}}((function(e){f.push(e)})),y=function(e,r,s){return 0===r&&-1!==K.indexOf(s[n.length])||s.match(o)?e:\".\"+t};function v(e,s,i,a){void 0===a&&(a=\"&\");var u=e.replace(Z,\"\"),c=s&&i?i+\" \"+s+\" { \"+u+\" }\":u;return t=a,n=s,r=new RegExp(\"\\\\\"+n+\"\\\\b\",\"g\"),o=new RegExp(\"(\\\\\"+n+\"\\\\b){2,}\"),d(i||!s?\"\":s,c)}return d.use([].concat(l,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,y))},m,function(e){if(-2===e){var t=f;return f=[],t}}])),v.hash=l.length?l.reduce((function(e,t){return t.name||_(15),$(e,t.name)}),5381).toString():\"\",v}var ee=r.createContext(),te=ee.Consumer,ne=r.createContext(),re=(ne.Consumer,new L),oe=Q();function se(){return n.useContext(ee)||re}function ie(){return n.useContext(ne)||oe}function ae(e){var t=n.useState(e.stylisPlugins),s=t[0],i=t[1],a=se(),u=n.useMemo((function(){var t=a;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),c=n.useMemo((function(){return Q({options:{prefix:!e.disableVendorPrefixes},plugins:s})}),[e.disableVendorPrefixes,s]);return n.useEffect((function(){o(s,e.stylisPlugins)||i(e.stylisPlugins)}),[e.stylisPlugins]),r.createElement(ee.Provider,{value:u},r.createElement(ne.Provider,{value:c},\"production\"!==process.env.NODE_ENV?r.Children.only(e.children):e.children))}var ue=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=oe);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,\"@keyframes\"))},this.toString=function(){return _(12,String(n.name))},this.name=e,this.id=\"sc-keyframes-\"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=oe),this.name+e.hash},e}(),ce=/([A-Z])/,le=/([A-Z])/g,de=/^ms-/,he=function(e){return\"-\"+e.toLowerCase()};function pe(e){return ce.test(e)?e.replace(le,he).replace(de,\"-ms-\"):e}var fe=function(e){return null==e||!1===e||\"\"===e};function me(e,n,r,o){if(Array.isArray(e)){for(var s,a=[],u=0,c=e.length;u1?t-1:0),r=1;r1?t-1:0),i=1;i?@[\\\\\\]^`{|}~-]+/g,_e=/(^-|-$)/g;function Ne(e){return e.replace(be,\"-\").replace(_e,\"\")}var Ce=function(e){return H(W(e)>>>0)};function Ae(e){return\"string\"==typeof e&&(\"production\"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var Ie=function(e){return\"function\"==typeof e||\"object\"==typeof e&&null!==e&&!Array.isArray(e)},Pe=function(e){return\"__proto__\"!==e&&\"constructor\"!==e&&\"prototype\"!==e};function xe(e,t,n){var r=e[n];Ie(t)&&Ie(r)?Oe(r,t):e[n]=t}function Oe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=0||(o[n]=e[n]);return o}(t,[\"componentId\"]),s=n&&n+\"-\"+(Ae(e)?e:Ne(m(e)));return je(e,c({},r,{attrs:b,componentId:s}),o)},Object.defineProperty(N,\"defaultProps\",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=s?Oe({},e.defaultProps,t):t}}),\"production\"!==process.env.NODE_ENV&&(we(w,E),N.warnTooManyClasses=function(e,t){var n={},r=!1;return function(o){if(!r&&(n[o]=!0,Object.keys(n).length>=200)){var s=t?' with the id of \"'+t+'\"':\"\";console.warn(\"Over 200 classes were generated for component \"+e+s+\".\\nConsider using the attrs method, together with a style object for frequently changed styles.\\nExample:\\n const Component = styled.div.attrs(props => ({\\n style: {\\n background: props.background,\\n },\\n }))`width: 100%;`\\n\\n \"),r=!0,n={}}}}(w,E)),N.toString=function(){return\".\"+N.styledComponentId},i&&u(N,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),N}var ke=function(e){return function e(n,r,o){if(void 0===o&&(o=p),!t.isValidElementType(r))return _(1,String(r));var s=function(){return n(r,o,ve.apply(void 0,arguments))};return s.withConfig=function(t){return e(n,r,c({},o,{},t))},s.attrs=function(t){return e(n,r,c({},o,{attrs:Array.prototype.concat(o.attrs,t).filter(Boolean)}))},s}(je,e)};[\"a\",\"abbr\",\"address\",\"area\",\"article\",\"aside\",\"audio\",\"b\",\"base\",\"bdi\",\"bdo\",\"big\",\"blockquote\",\"body\",\"br\",\"button\",\"canvas\",\"caption\",\"cite\",\"code\",\"col\",\"colgroup\",\"data\",\"datalist\",\"dd\",\"del\",\"details\",\"dfn\",\"dialog\",\"div\",\"dl\",\"dt\",\"em\",\"embed\",\"fieldset\",\"figcaption\",\"figure\",\"footer\",\"form\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"head\",\"header\",\"hgroup\",\"hr\",\"html\",\"i\",\"iframe\",\"img\",\"input\",\"ins\",\"kbd\",\"keygen\",\"label\",\"legend\",\"li\",\"link\",\"main\",\"map\",\"mark\",\"marquee\",\"menu\",\"menuitem\",\"meta\",\"meter\",\"nav\",\"noscript\",\"object\",\"ol\",\"optgroup\",\"option\",\"output\",\"p\",\"param\",\"picture\",\"pre\",\"progress\",\"q\",\"rp\",\"rt\",\"ruby\",\"s\",\"samp\",\"script\",\"section\",\"select\",\"small\",\"source\",\"span\",\"strong\",\"style\",\"sub\",\"summary\",\"sup\",\"table\",\"tbody\",\"td\",\"textarea\",\"tfoot\",\"th\",\"thead\",\"time\",\"title\",\"tr\",\"track\",\"u\",\"ul\",\"var\",\"video\",\"wbr\",\"circle\",\"clipPath\",\"defs\",\"ellipse\",\"foreignObject\",\"g\",\"image\",\"line\",\"linearGradient\",\"marker\",\"mask\",\"path\",\"pattern\",\"polygon\",\"polyline\",\"radialGradient\",\"rect\",\"stop\",\"svg\",\"text\",\"textPath\",\"tspan\"].forEach((function(e){ke[e]=ke(e)}));var Ve=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=U(e),L.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,n,r){var o=r(me(this.rules,t,n,r).join(\"\"),\"\"),s=this.componentId+e;n.insertRules(s,s,o)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&L.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}(),Me=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return\"\";var n=k();return\"\"},this.getStyleTags=function(){return e.sealed?_(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return _(2);var n=((t={})[v]=\"\",t[\"data-styled-version\"]=\"5.3.3\",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),o=k();return o&&(n.nonce=o),[r.createElement(\"style\",c({},n,{key:\"sc-0-0\"}))]},this.seal=function(){e.sealed=!0},this.instance=new L({isServer:!0}),this.sealed=!1}var t=e.prototype;return t.collectStyles=function(e){return this.sealed?_(2):r.createElement(ae,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return _(3)},e}(),Be={StyleSheet:L,masterSheet:re};\"production\"!==process.env.NODE_ENV&&\"undefined\"!=typeof navigator&&\"ReactNative\"===navigator.product&&console.warn(\"It looks like you've imported 'styled-components' on React Native.\\nPerhaps you're looking to import 'styled-components/native'?\\nRead more about this at https://www.styled-components.com/docs/basics#react-native\"),\"production\"!==process.env.NODE_ENV&&\"test\"!==process.env.NODE_ENV&&\"undefined\"!=typeof window&&(window[\"__styled-components-init__\"]=window[\"__styled-components-init__\"]||0,1===window[\"__styled-components-init__\"]&&console.warn(\"It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\\n\\nSee https://s-c.sh/2BAXzed for more info.\"),window[\"__styled-components-init__\"]+=1),exports.ServerStyleSheet=Me,exports.StyleSheetConsumer=te,exports.StyleSheetContext=ee,exports.StyleSheetManager=ae,exports.ThemeConsumer=De,exports.ThemeContext=Re,exports.ThemeProvider=function(e){var t=n.useContext(Re),o=n.useMemo((function(){return function(e,t){if(!e)return _(14);if(f(e)){var n=e(t);return\"production\"===process.env.NODE_ENV||null!==n&&!Array.isArray(n)&&\"object\"==typeof n?n:_(7)}return Array.isArray(e)||\"object\"!=typeof e?_(8):t?c({},t,{},e):e}(e.theme,t)}),[e.theme,t]);return e.children?r.createElement(Re.Provider,{value:o},e.children):null},exports.__PRIVATE__=Be,exports.createGlobalStyle=function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),s=1;s meta tag to the stylesheet, or simply embedding it manually in your index.html section for a simpler app.\"),t.server&&d(c,e,t,s,o),n.useLayoutEffect((function(){if(!t.server)return d(c,e,t,s,o),function(){return u.removeStyles(c,t)}}),[c,e,t,s,o]),null}function d(e,t,n,r,o){if(u.isStatic)u.renderStyles(e,w,n,o);else{var s=c({},t,{theme:Ee(t,r,l.defaultProps)});u.renderStyles(e,s,n,o)}}return\"production\"!==process.env.NODE_ENV&&we(a),r.memo(l)},exports.css=ve,exports.default=ke,exports.isStyledComponent=y,exports.keyframes=function(e){\"production\"!==process.env.NODE_ENV&&\"undefined\"!=typeof navigator&&\"ReactNative\"===navigator.product&&console.warn(\"`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.\");for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r 1 ? len - 1 : 0);\n for (var key = 1; key < len; key++) {\n args[key - 1] = arguments[key];\n }\n var argIndex = 0;\n var message = 'Warning: ' +\n format.replace(/%s/g, function() {\n return args[argIndex++];\n });\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n }\n\n warning = function(condition, format, args) {\n var len = arguments.length;\n args = new Array(len > 2 ? len - 2 : 0);\n for (var key = 2; key < len; key++) {\n args[key - 2] = arguments[key];\n }\n if (format === undefined) {\n throw new Error(\n '`warning(condition, format, ...args)` requires a warning ' +\n 'message argument'\n );\n }\n if (!condition) {\n printWarning.apply(null, [format].concat(args));\n }\n };\n}\n\nmodule.exports = warning;\n","const { window } = global;\n\nconst getSheetsDSN = () => {\n if (window?.isReport) {\n return 'https://d69c7dc71f6243c19aa8f1466c32ab5c@o61806.ingest.sentry.io/5352078';\n }\n\n if (window?.isBoards) {\n return 'https://983ae60052ddc6cf8a60dca2bfaa3b8c@o61806.ingest.sentry.io/4507571577749504';\n }\n\n // Sheets\n return 'https://23de99eacf6c4a068ba11e1a39556e6a@o61806.ingest.sentry.io/1211430';\n};\n\nconst getFSEnabledForSignFiller = () => {\n try {\n return window?.parent?.fsEnabled;\n } catch (e) {\n return false;\n }\n};\n\nmodule.exports = {\n academy: {\n sentry: {\n enable: true,\n dsn: 'https://e21856d505644c643840103d8dbd250c@o61806.ingest.sentry.io/4506626385641472'\n // name: 'academy',\n }\n },\n checkout: {\n sentry: {\n enable: true,\n dsn: 'https://ca58c76e1157458f941020590eab787c@o61806.ingest.sentry.io/4505396476641280'\n },\n fullStory: {\n enable: true\n }\n },\n 'data-dashboards': {\n sentry: {\n enable: true,\n dsn: 'https://64a93c3dc440e48a9118dc2c169351ef@o61806.ingest.us.sentry.io/4507407451160576'\n }\n },\n 'email-builder': {\n sentry: {\n enable: true,\n dsn: 'https://6625f7b197c65a4d8e49bc8e7641c8c2@o61806.ingest.us.sentry.io/4507407576465408'\n }\n },\n 'email-details': {\n sentry: {\n enable: true,\n dsn: 'https://e0a74287bf15c46b981ddad77de5d7d7@o61806.ingest.sentry.io/4505822059823104'\n },\n fullStory: {\n enable: false\n }\n },\n 'form-builder': {\n sentry: {\n enable: true,\n dsn: 'https://7b39e767f39941dd89d9361cf50382dd@o61806.ingest.sentry.io/132624',\n name: 'jotform-40'\n }\n },\n inbox: {\n sentry: {\n enable: true,\n dsn: 'https://f5fc3cd88f0744df9e3c8a263cd00db1@o61806.ingest.sentry.io/1353659'\n // name: 'inbox'\n },\n fullStory: {\n enable: window?.isFullStoryEnabled\n }\n },\n 'interview-management': {\n sentry: {\n enable: true,\n dsn: 'https://f875f9d7646f4149a6bfff821534e23b@o61806.ingest.sentry.io/4504971807162368'\n }\n },\n listings: {\n sentry: {\n enable: true,\n dsn: 'https://2c715cb8ed4745c383ff6830ca885807@o61806.ingest.sentry.io/5975209',\n name: 'listings'\n },\n fullStory: {\n enable: window?.isFullStoryEnabled\n }\n },\n myaccount: {\n sentry: {\n enable: true,\n dsn: 'https://4048665e726d45eba296f250ad4d09bb@o61806.ingest.sentry.io/6396369'\n // name: 'myaccountv4'\n },\n fullStory: {\n enable: window?.fullstoryEnabled\n }\n },\n 'page-builder': {\n sentry: {\n enable: true,\n dsn: 'https://727c1f481e28485a97e8a4ddae1bdaab@o61806.ingest.sentry.io/6179928'\n // name: 'landing-builder'\n }\n },\n 'pdf-editor': {\n sentry: {\n enable: window?.location.href.indexOf('download') < 0,\n dsn: 'https://10dcd48960b74f9e84c93bee96ee2c9e@o61806.ingest.sentry.io/1234288'\n // name: 'pdf-designer'\n },\n fullStory: {\n enable: window?.isFullStoryEnabled\n }\n },\n portal: {\n sentry: {\n enable: true,\n dsn: 'https://36d29a013f8a4bd7adfe310f5fe4d75a@o61806.ingest.sentry.io/5223511',\n name: 'app-builder'\n },\n fullStory: {\n enable: window?.fullStoryActiveForPortal\n }\n },\n 'refund-request': {\n sentry: {\n enable: true,\n dsn: 'https://c2bf244d1db8d74e25fafaf1b8f70747@o61806.ingest.sentry.io/4505786346110976'\n },\n fullStory: {\n enable: true\n }\n },\n sheets: {\n sentry: {\n enable: true,\n dsn: getSheetsDSN()\n // name: ['reports', 'spreadsheets']\n }\n },\n sign: {\n sentry: {\n enable: true,\n dsn: 'https://9b0abbc9280c47c683b8a9067f61e88e@o61806.ingest.sentry.io/5680940'\n // name: 'sign'\n },\n fullStory: {\n enable: window?.fsEnabled\n }\n },\n 'sign-filler': {\n sentry: {\n enable: true,\n dsn: 'https://1e23807c9020c755e635a09392e97b22@o61806.ingest.us.sentry.io/4507339316985856'\n },\n fullStory: {\n enable: getFSEnabledForSignFiller()\n }\n },\n 'subscription-dashboard': {\n sentry: {\n enable: true,\n dsn: 'https://75f5c88aeffd4f54964275c0fba96d59@o61806.ingest.sentry.io/6190171'\n // name: 'subscription-dashboard'\n }\n },\n workflow: {\n sentry: {\n enable: true,\n dsn: 'https://15571fc5437e4368b4e2ed0e32c6d93f@o61806.ingest.sentry.io/5261296'\n // name: 'workflow'\n },\n fullStory: {\n enable: !window?.isTemplateMode\n }\n },\n 'ai-agent': {\n sentry: {\n enable: true,\n dsn: 'https://9595e22b6185cd8e2ff3ea2fc28cc68f@o61806.ingest.us.sentry.io/4507502561001472',\n name: 'ai-agent'\n }\n },\n 'ai-agent-builder': {\n sentry: {\n enable: true,\n dsn: 'https://59098a0cef7524a00cbc88db5b10e2f5@o61806.ingest.us.sentry.io/4507883422875648'\n },\n fullStory: {\n enable: window?.fsEnabled\n }\n }\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $String = GetIntrinsic('%String%');\nvar $TypeError = require('es-errors/type');\n\n// https://262.ecma-international.org/6.0/#sec-tostring\n\nmodule.exports = function ToString(argument) {\n\tif (typeof argument === 'symbol') {\n\t\tthrow new $TypeError('Cannot convert a Symbol value to a string');\n\t}\n\treturn $String(argument);\n};\n","import { getOriginalFunction } from '@sentry/utils';\nimport { getClient } from '../currentScopes.js';\nimport { defineIntegration } from '../integration.js';\n\nlet originalFunctionToString;\n\nconst INTEGRATION_NAME = 'FunctionToString';\n\nconst SETUP_CLIENTS = new WeakMap();\n\nconst _functionToStringIntegration = (() => {\n return {\n name: INTEGRATION_NAME,\n setupOnce() {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n originalFunctionToString = Function.prototype.toString;\n\n // intrinsics (like Function.prototype) might be immutable in some environments\n // e.g. Node with --frozen-intrinsics, XS (an embedded JavaScript engine) or SES (a JavaScript proposal)\n try {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n Function.prototype.toString = function ( ...args) {\n const originalFunction = getOriginalFunction(this);\n const context =\n SETUP_CLIENTS.has(getClient() ) && originalFunction !== undefined ? originalFunction : this;\n return originalFunctionToString.apply(context, args);\n };\n } catch (e) {\n // ignore errors here, just don't patch this\n }\n },\n setup(client) {\n SETUP_CLIENTS.set(client, true);\n },\n };\n}) ;\n\n/**\n * Patch toString calls to return proper name for wrapped functions.\n *\n * ```js\n * Sentry.init({\n * integrations: [\n * functionToStringIntegration(),\n * ],\n * });\n * ```\n */\nconst functionToStringIntegration = defineIntegration(_functionToStringIntegration);\n\nexport { functionToStringIntegration };\n//# sourceMappingURL=functiontostring.js.map\n","import { addHandler, maybeInstrument, supportsHistory, triggerHandlers, fill } from '@sentry/utils';\nimport { WINDOW } from '../types.js';\n\nlet lastHref;\n\n/**\n * Add an instrumentation handler for when a fetch request happens.\n * The handler function is called once when the request starts and once when it ends,\n * which can be identified by checking if it has an `endTimestamp`.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nfunction addHistoryInstrumentationHandler(handler) {\n const type = 'history';\n addHandler(type, handler);\n maybeInstrument(type, instrumentHistory);\n}\n\nfunction instrumentHistory() {\n if (!supportsHistory()) {\n return;\n }\n\n const oldOnPopState = WINDOW.onpopstate;\n WINDOW.onpopstate = function ( ...args) {\n const to = WINDOW.location.href;\n // keep track of the current URL state, as we always receive only the updated state\n const from = lastHref;\n lastHref = to;\n const handlerData = { from, to };\n triggerHandlers('history', handlerData);\n if (oldOnPopState) {\n // Apparently this can throw in Firefox when incorrectly implemented plugin is installed.\n // https://github.com/getsentry/sentry-javascript/issues/3344\n // https://github.com/bugsnag/bugsnag-js/issues/469\n try {\n return oldOnPopState.apply(this, args);\n } catch (_oO) {\n // no-empty\n }\n }\n };\n\n function historyReplacementFunction(originalHistoryFunction) {\n return function ( ...args) {\n const url = args.length > 2 ? args[2] : undefined;\n if (url) {\n // coerce to string (this is what pushState does)\n const from = lastHref;\n const to = String(url);\n // keep track of the current URL state, as we always receive only the updated state\n lastHref = to;\n const handlerData = { from, to };\n triggerHandlers('history', handlerData);\n }\n return originalHistoryFunction.apply(this, args);\n };\n }\n\n fill(WINDOW.history, 'pushState', historyReplacementFunction);\n fill(WINDOW.history, 'replaceState', historyReplacementFunction);\n}\n\nexport { addHistoryInstrumentationHandler };\n//# sourceMappingURL=history.js.map\n","import { addHandler, maybeInstrument, triggerHandlers, fill, addNonEnumerableProperty, uuid4 } from '@sentry/utils';\nimport { WINDOW } from '../types.js';\n\nconst DEBOUNCE_DURATION = 1000;\n\nlet debounceTimerID;\nlet lastCapturedEventType;\nlet lastCapturedEventTargetId;\n\n/**\n * Add an instrumentation handler for when a click or a keypress happens.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nfunction addClickKeypressInstrumentationHandler(handler) {\n const type = 'dom';\n addHandler(type, handler);\n maybeInstrument(type, instrumentDOM);\n}\n\n/** Exported for tests only. */\nfunction instrumentDOM() {\n if (!WINDOW.document) {\n return;\n }\n\n // Make it so that any click or keypress that is unhandled / bubbled up all the way to the document triggers our dom\n // handlers. (Normally we have only one, which captures a breadcrumb for each click or keypress.) Do this before\n // we instrument `addEventListener` so that we don't end up attaching this handler twice.\n const triggerDOMHandler = triggerHandlers.bind(null, 'dom');\n const globalDOMEventHandler = makeDOMEventHandler(triggerDOMHandler, true);\n WINDOW.document.addEventListener('click', globalDOMEventHandler, false);\n WINDOW.document.addEventListener('keypress', globalDOMEventHandler, false);\n\n // After hooking into click and keypress events bubbled up to `document`, we also hook into user-handled\n // clicks & keypresses, by adding an event listener of our own to any element to which they add a listener. That\n // way, whenever one of their handlers is triggered, ours will be, too. (This is needed because their handler\n // could potentially prevent the event from bubbling up to our global listeners. This way, our handler are still\n // guaranteed to fire at least once.)\n ['EventTarget', 'Node'].forEach((target) => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any\n const proto = (WINDOW )[target] && (WINDOW )[target].prototype;\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, no-prototype-builtins\n if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty('addEventListener')) {\n return;\n }\n\n fill(proto, 'addEventListener', function (originalAddEventListener) {\n return function (\n\n type,\n listener,\n options,\n ) {\n if (type === 'click' || type == 'keypress') {\n try {\n const el = this ;\n const handlers = (el.__sentry_instrumentation_handlers__ = el.__sentry_instrumentation_handlers__ || {});\n const handlerForType = (handlers[type] = handlers[type] || { refCount: 0 });\n\n if (!handlerForType.handler) {\n const handler = makeDOMEventHandler(triggerDOMHandler);\n handlerForType.handler = handler;\n originalAddEventListener.call(this, type, handler, options);\n }\n\n handlerForType.refCount++;\n } catch (e) {\n // Accessing dom properties is always fragile.\n // Also allows us to skip `addEventListenrs` calls with no proper `this` context.\n }\n }\n\n return originalAddEventListener.call(this, type, listener, options);\n };\n });\n\n fill(\n proto,\n 'removeEventListener',\n function (originalRemoveEventListener) {\n return function (\n\n type,\n listener,\n options,\n ) {\n if (type === 'click' || type == 'keypress') {\n try {\n const el = this ;\n const handlers = el.__sentry_instrumentation_handlers__ || {};\n const handlerForType = handlers[type];\n\n if (handlerForType) {\n handlerForType.refCount--;\n // If there are no longer any custom handlers of the current type on this element, we can remove ours, too.\n if (handlerForType.refCount <= 0) {\n originalRemoveEventListener.call(this, type, handlerForType.handler, options);\n handlerForType.handler = undefined;\n delete handlers[type]; // eslint-disable-line @typescript-eslint/no-dynamic-delete\n }\n\n // If there are no longer any custom handlers of any type on this element, cleanup everything.\n if (Object.keys(handlers).length === 0) {\n delete el.__sentry_instrumentation_handlers__;\n }\n }\n } catch (e) {\n // Accessing dom properties is always fragile.\n // Also allows us to skip `addEventListenrs` calls with no proper `this` context.\n }\n }\n\n return originalRemoveEventListener.call(this, type, listener, options);\n };\n },\n );\n });\n}\n\n/**\n * Check whether the event is similar to the last captured one. For example, two click events on the same button.\n */\nfunction isSimilarToLastCapturedEvent(event) {\n // If both events have different type, then user definitely performed two separate actions. e.g. click + keypress.\n if (event.type !== lastCapturedEventType) {\n return false;\n }\n\n try {\n // If both events have the same type, it's still possible that actions were performed on different targets.\n // e.g. 2 clicks on different buttons.\n if (!event.target || (event.target )._sentryId !== lastCapturedEventTargetId) {\n return false;\n }\n } catch (e) {\n // just accessing `target` property can throw an exception in some rare circumstances\n // see: https://github.com/getsentry/sentry-javascript/issues/838\n }\n\n // If both events have the same type _and_ same `target` (an element which triggered an event, _not necessarily_\n // to which an event listener was attached), we treat them as the same action, as we want to capture\n // only one breadcrumb. e.g. multiple clicks on the same button, or typing inside a user input box.\n return true;\n}\n\n/**\n * Decide whether an event should be captured.\n * @param event event to be captured\n */\nfunction shouldSkipDOMEvent(eventType, target) {\n // We are only interested in filtering `keypress` events for now.\n if (eventType !== 'keypress') {\n return false;\n }\n\n if (!target || !target.tagName) {\n return true;\n }\n\n // Only consider keypress events on actual input elements. This will disregard keypresses targeting body\n // e.g.tabbing through elements, hotkeys, etc.\n if (target.tagName === 'INPUT' || target.tagName === 'TEXTAREA' || target.isContentEditable) {\n return false;\n }\n\n return true;\n}\n\n/**\n * Wraps addEventListener to capture UI breadcrumbs\n */\nfunction makeDOMEventHandler(\n handler,\n globalListener = false,\n) {\n return (event) => {\n // It's possible this handler might trigger multiple times for the same\n // event (e.g. event propagation through node ancestors).\n // Ignore if we've already captured that event.\n if (!event || event['_sentryCaptured']) {\n return;\n }\n\n const target = getEventTarget(event);\n\n // We always want to skip _some_ events.\n if (shouldSkipDOMEvent(event.type, target)) {\n return;\n }\n\n // Mark event as \"seen\"\n addNonEnumerableProperty(event, '_sentryCaptured', true);\n\n if (target && !target._sentryId) {\n // Add UUID to event target so we can identify if\n addNonEnumerableProperty(target, '_sentryId', uuid4());\n }\n\n const name = event.type === 'keypress' ? 'input' : event.type;\n\n // If there is no last captured event, it means that we can safely capture the new event and store it for future comparisons.\n // If there is a last captured event, see if the new event is different enough to treat it as a unique one.\n // If that's the case, emit the previous event and store locally the newly-captured DOM event.\n if (!isSimilarToLastCapturedEvent(event)) {\n const handlerData = { event, name, global: globalListener };\n handler(handlerData);\n lastCapturedEventType = event.type;\n lastCapturedEventTargetId = target ? target._sentryId : undefined;\n }\n\n // Start a new debounce timer that will prevent us from capturing multiple events that should be grouped together.\n clearTimeout(debounceTimerID);\n debounceTimerID = WINDOW.setTimeout(() => {\n lastCapturedEventTargetId = undefined;\n lastCapturedEventType = undefined;\n }, DEBOUNCE_DURATION);\n };\n}\n\nfunction getEventTarget(event) {\n try {\n return event.target ;\n } catch (e) {\n // just accessing `target` property can throw an exception in some rare circumstances\n // see: https://github.com/getsentry/sentry-javascript/issues/838\n return null;\n }\n}\n\nexport { addClickKeypressInstrumentationHandler, instrumentDOM };\n//# sourceMappingURL=dom.js.map\n","import { observe } from '../observe.js';\n\nlet interactionCountEstimate = 0;\nlet minKnownInteractionId = Infinity;\nlet maxKnownInteractionId = 0;\n\nconst updateEstimate = (entries) => {\n (entries ).forEach(e => {\n if (e.interactionId) {\n minKnownInteractionId = Math.min(minKnownInteractionId, e.interactionId);\n maxKnownInteractionId = Math.max(maxKnownInteractionId, e.interactionId);\n\n interactionCountEstimate = maxKnownInteractionId ? (maxKnownInteractionId - minKnownInteractionId) / 7 + 1 : 0;\n }\n });\n};\n\nlet po;\n\n/**\n * Returns the `interactionCount` value using the native API (if available)\n * or the polyfill estimate in this module.\n */\nconst getInteractionCount = () => {\n return po ? interactionCountEstimate : performance.interactionCount || 0;\n};\n\n/**\n * Feature detects native support or initializes the polyfill if needed.\n */\nconst initInteractionCountPolyfill = () => {\n if ('interactionCount' in performance || po) return;\n\n po = observe('event', updateEstimate, {\n type: 'event',\n buffered: true,\n durationThreshold: 0,\n } );\n};\n\nexport { getInteractionCount, initInteractionCountPolyfill };\n//# sourceMappingURL=interactionCountPolyfill.js.map\n","import { logger, getFunctionName } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { onCLS } from './web-vitals/getCLS.js';\nimport { onFID } from './web-vitals/getFID.js';\nimport { onINP } from './web-vitals/getINP.js';\nimport { onLCP } from './web-vitals/getLCP.js';\nimport { observe } from './web-vitals/lib/observe.js';\nimport { onTTFB } from './web-vitals/onTTFB.js';\n\nconst handlers = {};\nconst instrumented = {};\n\nlet _previousCls;\nlet _previousFid;\nlet _previousLcp;\nlet _previousTtfb;\nlet _previousInp;\n\n/**\n * Add a callback that will be triggered when a CLS metric is available.\n * Returns a cleanup callback which can be called to remove the instrumentation handler.\n *\n * Pass `stopOnCallback = true` to stop listening for CLS when the cleanup callback is called.\n * This will lead to the CLS being finalized and frozen.\n */\nfunction addClsInstrumentationHandler(\n callback,\n stopOnCallback = false,\n) {\n return addMetricObserver('cls', callback, instrumentCls, _previousCls, stopOnCallback);\n}\n\n/**\n * Add a callback that will be triggered when a LCP metric is available.\n * Returns a cleanup callback which can be called to remove the instrumentation handler.\n *\n * Pass `stopOnCallback = true` to stop listening for LCP when the cleanup callback is called.\n * This will lead to the LCP being finalized and frozen.\n */\nfunction addLcpInstrumentationHandler(\n callback,\n stopOnCallback = false,\n) {\n return addMetricObserver('lcp', callback, instrumentLcp, _previousLcp, stopOnCallback);\n}\n\n/**\n * Add a callback that will be triggered when a FID metric is available.\n * Returns a cleanup callback which can be called to remove the instrumentation handler.\n */\nfunction addFidInstrumentationHandler(callback) {\n return addMetricObserver('fid', callback, instrumentFid, _previousFid);\n}\n\n/**\n * Add a callback that will be triggered when a FID metric is available.\n */\nfunction addTtfbInstrumentationHandler(callback) {\n return addMetricObserver('ttfb', callback, instrumentTtfb, _previousTtfb);\n}\n\n/**\n * Add a callback that will be triggered when a INP metric is available.\n * Returns a cleanup callback which can be called to remove the instrumentation handler.\n */\nfunction addInpInstrumentationHandler(\n callback,\n) {\n return addMetricObserver('inp', callback, instrumentInp, _previousInp);\n}\n\n/**\n * Add a callback that will be triggered when a performance observer is triggered,\n * and receives the entries of the observer.\n * Returns a cleanup callback which can be called to remove the instrumentation handler.\n */\nfunction addPerformanceInstrumentationHandler(\n type,\n callback,\n) {\n addHandler(type, callback);\n\n if (!instrumented[type]) {\n instrumentPerformanceObserver(type);\n instrumented[type] = true;\n }\n\n return getCleanupCallback(type, callback);\n}\n\n/** Trigger all handlers of a given type. */\nfunction triggerHandlers(type, data) {\n const typeHandlers = handlers[type];\n\n if (!typeHandlers || !typeHandlers.length) {\n return;\n }\n\n for (const handler of typeHandlers) {\n try {\n handler(data);\n } catch (e) {\n DEBUG_BUILD &&\n logger.error(\n `Error while triggering instrumentation handler.\\nType: ${type}\\nName: ${getFunctionName(handler)}\\nError:`,\n e,\n );\n }\n }\n}\n\nfunction instrumentCls() {\n return onCLS(\n metric => {\n triggerHandlers('cls', {\n metric,\n });\n _previousCls = metric;\n },\n // We want the callback to be called whenever the CLS value updates.\n // By default, the callback is only called when the tab goes to the background.\n { reportAllChanges: true },\n );\n}\n\nfunction instrumentFid() {\n return onFID(metric => {\n triggerHandlers('fid', {\n metric,\n });\n _previousFid = metric;\n });\n}\n\nfunction instrumentLcp() {\n return onLCP(\n metric => {\n triggerHandlers('lcp', {\n metric,\n });\n _previousLcp = metric;\n },\n // We want the callback to be called whenever the LCP value updates.\n // By default, the callback is only called when the tab goes to the background.\n { reportAllChanges: true },\n );\n}\n\nfunction instrumentTtfb() {\n return onTTFB(metric => {\n triggerHandlers('ttfb', {\n metric,\n });\n _previousTtfb = metric;\n });\n}\n\nfunction instrumentInp() {\n return onINP(metric => {\n triggerHandlers('inp', {\n metric,\n });\n _previousInp = metric;\n });\n}\n\nfunction addMetricObserver(\n type,\n callback,\n instrumentFn,\n previousValue,\n stopOnCallback = false,\n) {\n addHandler(type, callback);\n\n let stopListening;\n\n if (!instrumented[type]) {\n stopListening = instrumentFn();\n instrumented[type] = true;\n }\n\n if (previousValue) {\n callback({ metric: previousValue });\n }\n\n return getCleanupCallback(type, callback, stopOnCallback ? stopListening : undefined);\n}\n\nfunction instrumentPerformanceObserver(type) {\n const options = {};\n\n // Special per-type options we want to use\n if (type === 'event') {\n options.durationThreshold = 0;\n }\n\n observe(\n type,\n entries => {\n triggerHandlers(type, { entries });\n },\n options,\n );\n}\n\nfunction addHandler(type, handler) {\n handlers[type] = handlers[type] || [];\n (handlers[type] ).push(handler);\n}\n\n// Get a callback which can be called to remove the instrumentation handler\nfunction getCleanupCallback(\n type,\n callback,\n stopListening,\n) {\n return () => {\n if (stopListening) {\n stopListening();\n }\n\n const typeHandlers = handlers[type];\n\n if (!typeHandlers) {\n return;\n }\n\n const index = typeHandlers.indexOf(callback);\n if (index !== -1) {\n typeHandlers.splice(index, 1);\n }\n };\n}\n\n/**\n * Check if a PerformanceEntry is a PerformanceEventTiming by checking for the `duration` property.\n */\nfunction isPerformanceEventTiming(entry) {\n return 'duration' in entry;\n}\n\nexport { addClsInstrumentationHandler, addFidInstrumentationHandler, addInpInstrumentationHandler, addLcpInstrumentationHandler, addPerformanceInstrumentationHandler, addTtfbInstrumentationHandler, isPerformanceEventTiming };\n//# sourceMappingURL=instrument.js.map\n","import { getActiveSpan, startInactiveSpan, spanToJSON, setMeasurement, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from '@sentry/core';\nimport { browserPerformanceTimeOrigin, logger, parseUrl, htmlTreeAsString, getComponentName } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { WINDOW } from '../types.js';\nimport { trackClsAsStandaloneSpan } from './cls.js';\nimport { addPerformanceInstrumentationHandler, addClsInstrumentationHandler, addLcpInstrumentationHandler, addFidInstrumentationHandler, addTtfbInstrumentationHandler } from './instrument.js';\nimport { getBrowserPerformanceAPI, msToSec, startAndEndSpan, isMeasurementValue } from './utils.js';\nimport { getActivationStart } from './web-vitals/lib/getActivationStart.js';\nimport { getNavigationEntry } from './web-vitals/lib/getNavigationEntry.js';\nimport { getVisibilityWatcher } from './web-vitals/lib/getVisibilityWatcher.js';\n\n/* eslint-disable max-lines */\n\nconst MAX_INT_AS_BYTES = 2147483647;\n\nlet _performanceCursor = 0;\n\nlet _measurements = {};\nlet _lcpEntry;\nlet _clsEntry;\n\n/**\n * Start tracking web vitals.\n * The callback returned by this function can be used to stop tracking & ensure all measurements are final & captured.\n *\n * @returns A function that forces web vitals collection\n */\nfunction startTrackingWebVitals({ recordClsStandaloneSpans }) {\n const performance = getBrowserPerformanceAPI();\n if (performance && browserPerformanceTimeOrigin) {\n // @ts-expect-error we want to make sure all of these are available, even if TS is sure they are\n if (performance.mark) {\n WINDOW.performance.mark('sentry-tracing-init');\n }\n const fidCleanupCallback = _trackFID();\n const lcpCleanupCallback = _trackLCP();\n const ttfbCleanupCallback = _trackTtfb();\n const clsCleanupCallback = recordClsStandaloneSpans ? trackClsAsStandaloneSpan() : _trackCLS();\n\n return () => {\n fidCleanupCallback();\n lcpCleanupCallback();\n ttfbCleanupCallback();\n clsCleanupCallback && clsCleanupCallback();\n };\n }\n\n return () => undefined;\n}\n\n/**\n * Start tracking long tasks.\n */\nfunction startTrackingLongTasks() {\n addPerformanceInstrumentationHandler('longtask', ({ entries }) => {\n if (!getActiveSpan()) {\n return;\n }\n for (const entry of entries) {\n const startTime = msToSec((browserPerformanceTimeOrigin ) + entry.startTime);\n const duration = msToSec(entry.duration);\n\n const span = startInactiveSpan({\n name: 'Main UI thread blocked',\n op: 'ui.long-task',\n startTime,\n attributes: {\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.ui.browser.metrics',\n },\n });\n if (span) {\n span.end(startTime + duration);\n }\n }\n });\n}\n\n/**\n * Start tracking long animation frames.\n */\nfunction startTrackingLongAnimationFrames() {\n // NOTE: the current web-vitals version (3.5.2) does not support long-animation-frame, so\n // we directly observe `long-animation-frame` events instead of through the web-vitals\n // `observe` helper function.\n const observer = new PerformanceObserver(list => {\n if (!getActiveSpan()) {\n return;\n }\n for (const entry of list.getEntries() ) {\n if (!entry.scripts[0]) {\n continue;\n }\n\n const startTime = msToSec((browserPerformanceTimeOrigin ) + entry.startTime);\n const duration = msToSec(entry.duration);\n\n const attributes = {\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.ui.browser.metrics',\n };\n\n const initialScript = entry.scripts[0];\n const { invoker, invokerType, sourceURL, sourceFunctionName, sourceCharPosition } = initialScript;\n attributes['browser.script.invoker'] = invoker;\n attributes['browser.script.invoker_type'] = invokerType;\n if (sourceURL) {\n attributes['code.filepath'] = sourceURL;\n }\n if (sourceFunctionName) {\n attributes['code.function'] = sourceFunctionName;\n }\n if (sourceCharPosition !== -1) {\n attributes['browser.script.source_char_position'] = sourceCharPosition;\n }\n\n const span = startInactiveSpan({\n name: 'Main UI thread blocked',\n op: 'ui.long-animation-frame',\n startTime,\n attributes,\n });\n if (span) {\n span.end(startTime + duration);\n }\n }\n });\n\n observer.observe({ type: 'long-animation-frame', buffered: true });\n}\n\n/**\n * Start tracking interaction events.\n */\nfunction startTrackingInteractions() {\n addPerformanceInstrumentationHandler('event', ({ entries }) => {\n if (!getActiveSpan()) {\n return;\n }\n for (const entry of entries) {\n if (entry.name === 'click') {\n const startTime = msToSec((browserPerformanceTimeOrigin ) + entry.startTime);\n const duration = msToSec(entry.duration);\n\n const spanOptions = {\n name: htmlTreeAsString(entry.target),\n op: `ui.interaction.${entry.name}`,\n startTime: startTime,\n attributes: {\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.ui.browser.metrics',\n },\n };\n\n const componentName = getComponentName(entry.target);\n if (componentName) {\n spanOptions.attributes['ui.component_name'] = componentName;\n }\n\n const span = startInactiveSpan(spanOptions);\n if (span) {\n span.end(startTime + duration);\n }\n }\n }\n });\n}\n\n/**\n * Starts tracking the Cumulative Layout Shift on the current page and collects the value and last entry\n * to the `_measurements` object which ultimately is applied to the pageload span's measurements.\n */\nfunction _trackCLS() {\n return addClsInstrumentationHandler(({ metric }) => {\n const entry = metric.entries[metric.entries.length - 1] ;\n if (!entry) {\n return;\n }\n DEBUG_BUILD && logger.log(`[Measurements] Adding CLS ${metric.value}`);\n _measurements['cls'] = { value: metric.value, unit: '' };\n _clsEntry = entry;\n }, true);\n}\n\n/** Starts tracking the Largest Contentful Paint on the current page. */\nfunction _trackLCP() {\n return addLcpInstrumentationHandler(({ metric }) => {\n const entry = metric.entries[metric.entries.length - 1];\n if (!entry) {\n return;\n }\n\n DEBUG_BUILD && logger.log('[Measurements] Adding LCP');\n _measurements['lcp'] = { value: metric.value, unit: 'millisecond' };\n _lcpEntry = entry ;\n }, true);\n}\n\n/** Starts tracking the First Input Delay on the current page. */\nfunction _trackFID() {\n return addFidInstrumentationHandler(({ metric }) => {\n const entry = metric.entries[metric.entries.length - 1];\n if (!entry) {\n return;\n }\n\n const timeOrigin = msToSec(browserPerformanceTimeOrigin );\n const startTime = msToSec(entry.startTime);\n DEBUG_BUILD && logger.log('[Measurements] Adding FID');\n _measurements['fid'] = { value: metric.value, unit: 'millisecond' };\n _measurements['mark.fid'] = { value: timeOrigin + startTime, unit: 'second' };\n });\n}\n\nfunction _trackTtfb() {\n return addTtfbInstrumentationHandler(({ metric }) => {\n const entry = metric.entries[metric.entries.length - 1];\n if (!entry) {\n return;\n }\n\n DEBUG_BUILD && logger.log('[Measurements] Adding TTFB');\n _measurements['ttfb'] = { value: metric.value, unit: 'millisecond' };\n });\n}\n\n/** Add performance related spans to a transaction */\nfunction addPerformanceEntries(span, options) {\n const performance = getBrowserPerformanceAPI();\n if (!performance || !WINDOW.performance.getEntries || !browserPerformanceTimeOrigin) {\n // Gatekeeper if performance API not available\n return;\n }\n\n DEBUG_BUILD && logger.log('[Tracing] Adding & adjusting spans using Performance API');\n const timeOrigin = msToSec(browserPerformanceTimeOrigin);\n\n const performanceEntries = performance.getEntries();\n\n const { op, start_timestamp: transactionStartTime } = spanToJSON(span);\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n performanceEntries.slice(_performanceCursor).forEach((entry) => {\n const startTime = msToSec(entry.startTime);\n const duration = msToSec(\n // Inexplicably, Chrome sometimes emits a negative duration. We need to work around this.\n // There is a SO post attempting to explain this, but it leaves one with open questions: https://stackoverflow.com/questions/23191918/peformance-getentries-and-negative-duration-display\n // The way we clamp the value is probably not accurate, since we have observed this happen for things that may take a while to load, like for example the replay worker.\n // TODO: Investigate why this happens and how to properly mitigate. For now, this is a workaround to prevent transactions being dropped due to negative duration spans.\n Math.max(0, entry.duration),\n );\n\n if (op === 'navigation' && transactionStartTime && timeOrigin + startTime < transactionStartTime) {\n return;\n }\n\n switch (entry.entryType) {\n case 'navigation': {\n _addNavigationSpans(span, entry, timeOrigin);\n break;\n }\n case 'mark':\n case 'paint':\n case 'measure': {\n _addMeasureSpans(span, entry, startTime, duration, timeOrigin);\n\n // capture web vitals\n const firstHidden = getVisibilityWatcher();\n // Only report if the page wasn't hidden prior to the web vital.\n const shouldRecord = entry.startTime < firstHidden.firstHiddenTime;\n\n if (entry.name === 'first-paint' && shouldRecord) {\n DEBUG_BUILD && logger.log('[Measurements] Adding FP');\n _measurements['fp'] = { value: entry.startTime, unit: 'millisecond' };\n }\n if (entry.name === 'first-contentful-paint' && shouldRecord) {\n DEBUG_BUILD && logger.log('[Measurements] Adding FCP');\n _measurements['fcp'] = { value: entry.startTime, unit: 'millisecond' };\n }\n break;\n }\n case 'resource': {\n _addResourceSpans(span, entry, entry.name , startTime, duration, timeOrigin);\n break;\n }\n // Ignore other entry types.\n }\n });\n\n _performanceCursor = Math.max(performanceEntries.length - 1, 0);\n\n _trackNavigator(span);\n\n // Measurements are only available for pageload transactions\n if (op === 'pageload') {\n _addTtfbRequestTimeToMeasurements(_measurements);\n\n const fidMark = _measurements['mark.fid'];\n if (fidMark && _measurements['fid']) {\n // create span for FID\n startAndEndSpan(span, fidMark.value, fidMark.value + msToSec(_measurements['fid'].value), {\n name: 'first input delay',\n op: 'ui.action',\n attributes: {\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.ui.browser.metrics',\n },\n });\n\n // Delete mark.fid as we don't want it to be part of final payload\n delete _measurements['mark.fid'];\n }\n\n // If FCP is not recorded we should not record the cls value\n // according to the new definition of CLS.\n // TODO: Check if the first condition is still necessary: `onCLS` already only fires once `onFCP` was called.\n if (!('fcp' in _measurements) || !options.recordClsOnPageloadSpan) {\n delete _measurements.cls;\n }\n\n Object.entries(_measurements).forEach(([measurementName, measurement]) => {\n setMeasurement(measurementName, measurement.value, measurement.unit);\n });\n\n // Set timeOrigin which denotes the timestamp which to base the LCP/FCP/FP/TTFB measurements on\n span.setAttribute('performance.timeOrigin', timeOrigin);\n\n // In prerendering scenarios, where a page might be prefetched and pre-rendered before the user clicks the link,\n // the navigation starts earlier than when the user clicks it. Web Vitals should always be based on the\n // user-perceived time, so they are not reported from the actual start of the navigation, but rather from the\n // time where the user actively started the navigation, for example by clicking a link.\n // This is user action is called \"activation\" and the time between navigation and activation is stored in\n // the `activationStart` attribute of the \"navigation\" PerformanceEntry.\n span.setAttribute('performance.activationStart', getActivationStart());\n\n _setWebVitalAttributes(span);\n }\n\n _lcpEntry = undefined;\n _clsEntry = undefined;\n _measurements = {};\n}\n\n/** Create measure related spans */\nfunction _addMeasureSpans(\n span,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n entry,\n startTime,\n duration,\n timeOrigin,\n) {\n const navEntry = getNavigationEntry();\n const requestTime = msToSec(navEntry ? navEntry.requestStart : 0);\n // Because performance.measure accepts arbitrary timestamps it can produce\n // spans that happen before the browser even makes a request for the page.\n //\n // An example of this is the automatically generated Next.js-before-hydration\n // spans created by the Next.js framework.\n //\n // To prevent this we will pin the start timestamp to the request start time\n // This does make duration inaccruate, so if this does happen, we will add\n // an attribute to the span\n const measureStartTimestamp = timeOrigin + Math.max(startTime, requestTime);\n const startTimeStamp = timeOrigin + startTime;\n const measureEndTimestamp = startTimeStamp + duration;\n\n const attributes = {\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.resource.browser.metrics',\n };\n\n if (measureStartTimestamp !== startTimeStamp) {\n attributes['sentry.browser.measure_happened_before_request'] = true;\n attributes['sentry.browser.measure_start_time'] = measureStartTimestamp;\n }\n\n startAndEndSpan(span, measureStartTimestamp, measureEndTimestamp, {\n name: entry.name ,\n op: entry.entryType ,\n attributes,\n });\n\n return measureStartTimestamp;\n}\n\n/** Instrument navigation entries */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _addNavigationSpans(span, entry, timeOrigin) {\n ['unloadEvent', 'redirect', 'domContentLoadedEvent', 'loadEvent', 'connect'].forEach(event => {\n _addPerformanceNavigationTiming(span, entry, event, timeOrigin);\n });\n _addPerformanceNavigationTiming(span, entry, 'secureConnection', timeOrigin, 'TLS/SSL', 'connectEnd');\n _addPerformanceNavigationTiming(span, entry, 'fetch', timeOrigin, 'cache', 'domainLookupStart');\n _addPerformanceNavigationTiming(span, entry, 'domainLookup', timeOrigin, 'DNS');\n _addRequest(span, entry, timeOrigin);\n}\n\n/** Create performance navigation related spans */\nfunction _addPerformanceNavigationTiming(\n span,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n entry,\n event,\n timeOrigin,\n name,\n eventEnd,\n) {\n const end = eventEnd ? (entry[eventEnd] ) : (entry[`${event}End`] );\n const start = entry[`${event}Start`] ;\n if (!start || !end) {\n return;\n }\n startAndEndSpan(span, timeOrigin + msToSec(start), timeOrigin + msToSec(end), {\n op: `browser.${name || event}`,\n name: entry.name,\n attributes: {\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.ui.browser.metrics',\n },\n });\n}\n\n/** Create request and response related spans */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _addRequest(span, entry, timeOrigin) {\n const requestStartTimestamp = timeOrigin + msToSec(entry.requestStart );\n const responseEndTimestamp = timeOrigin + msToSec(entry.responseEnd );\n const responseStartTimestamp = timeOrigin + msToSec(entry.responseStart );\n if (entry.responseEnd) {\n // It is possible that we are collecting these metrics when the page hasn't finished loading yet, for example when the HTML slowly streams in.\n // In this case, ie. when the document request hasn't finished yet, `entry.responseEnd` will be 0.\n // In order not to produce faulty spans, where the end timestamp is before the start timestamp, we will only collect\n // these spans when the responseEnd value is available. The backend (Relay) would drop the entire span if it contained faulty spans.\n startAndEndSpan(span, requestStartTimestamp, responseEndTimestamp, {\n op: 'browser.request',\n name: entry.name,\n attributes: {\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.ui.browser.metrics',\n },\n });\n\n startAndEndSpan(span, responseStartTimestamp, responseEndTimestamp, {\n op: 'browser.response',\n name: entry.name,\n attributes: {\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.ui.browser.metrics',\n },\n });\n }\n}\n\n/** Create resource-related spans */\nfunction _addResourceSpans(\n span,\n entry,\n resourceUrl,\n startTime,\n duration,\n timeOrigin,\n) {\n // we already instrument based on fetch and xhr, so we don't need to\n // duplicate spans here.\n if (entry.initiatorType === 'xmlhttprequest' || entry.initiatorType === 'fetch') {\n return;\n }\n\n const parsedUrl = parseUrl(resourceUrl);\n\n const attributes = {\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.resource.browser.metrics',\n };\n setResourceEntrySizeData(attributes, entry, 'transferSize', 'http.response_transfer_size');\n setResourceEntrySizeData(attributes, entry, 'encodedBodySize', 'http.response_content_length');\n setResourceEntrySizeData(attributes, entry, 'decodedBodySize', 'http.decoded_response_content_length');\n\n if ('renderBlockingStatus' in entry) {\n attributes['resource.render_blocking_status'] = entry.renderBlockingStatus;\n }\n if (parsedUrl.protocol) {\n attributes['url.scheme'] = parsedUrl.protocol.split(':').pop(); // the protocol returned by parseUrl includes a :, but OTEL spec does not, so we remove it.\n }\n\n if (parsedUrl.host) {\n attributes['server.address'] = parsedUrl.host;\n }\n\n attributes['url.same_origin'] = resourceUrl.includes(WINDOW.location.origin);\n\n const startTimestamp = timeOrigin + startTime;\n const endTimestamp = startTimestamp + duration;\n\n startAndEndSpan(span, startTimestamp, endTimestamp, {\n name: resourceUrl.replace(WINDOW.location.origin, ''),\n op: entry.initiatorType ? `resource.${entry.initiatorType}` : 'resource.other',\n attributes,\n });\n}\n\n/**\n * Capture the information of the user agent.\n */\nfunction _trackNavigator(span) {\n const navigator = WINDOW.navigator ;\n if (!navigator) {\n return;\n }\n\n // track network connectivity\n const connection = navigator.connection;\n if (connection) {\n if (connection.effectiveType) {\n span.setAttribute('effectiveConnectionType', connection.effectiveType);\n }\n\n if (connection.type) {\n span.setAttribute('connectionType', connection.type);\n }\n\n if (isMeasurementValue(connection.rtt)) {\n _measurements['connection.rtt'] = { value: connection.rtt, unit: 'millisecond' };\n }\n }\n\n if (isMeasurementValue(navigator.deviceMemory)) {\n span.setAttribute('deviceMemory', `${navigator.deviceMemory} GB`);\n }\n\n if (isMeasurementValue(navigator.hardwareConcurrency)) {\n span.setAttribute('hardwareConcurrency', String(navigator.hardwareConcurrency));\n }\n}\n\n/** Add LCP / CLS data to span to allow debugging */\nfunction _setWebVitalAttributes(span) {\n if (_lcpEntry) {\n DEBUG_BUILD && logger.log('[Measurements] Adding LCP Data');\n\n // Capture Properties of the LCP element that contributes to the LCP.\n\n if (_lcpEntry.element) {\n span.setAttribute('lcp.element', htmlTreeAsString(_lcpEntry.element));\n }\n\n if (_lcpEntry.id) {\n span.setAttribute('lcp.id', _lcpEntry.id);\n }\n\n if (_lcpEntry.url) {\n // Trim URL to the first 200 characters.\n span.setAttribute('lcp.url', _lcpEntry.url.trim().slice(0, 200));\n }\n\n span.setAttribute('lcp.size', _lcpEntry.size);\n }\n\n // See: https://developer.mozilla.org/en-US/docs/Web/API/LayoutShift\n if (_clsEntry && _clsEntry.sources) {\n DEBUG_BUILD && logger.log('[Measurements] Adding CLS Data');\n _clsEntry.sources.forEach((source, index) =>\n span.setAttribute(`cls.source.${index + 1}`, htmlTreeAsString(source.node)),\n );\n }\n}\n\nfunction setResourceEntrySizeData(\n attributes,\n entry,\n key,\n dataKey,\n) {\n const entryVal = entry[key];\n if (entryVal != null && entryVal < MAX_INT_AS_BYTES) {\n attributes[dataKey] = entryVal;\n }\n}\n\n/**\n * Add ttfb request time information to measurements.\n *\n * ttfb information is added via vendored web vitals library.\n */\nfunction _addTtfbRequestTimeToMeasurements(_measurements) {\n const navEntry = getNavigationEntry();\n if (!navEntry) {\n return;\n }\n\n const { responseStart, requestStart } = navEntry;\n\n if (requestStart <= responseStart) {\n DEBUG_BUILD && logger.log('[Measurements] Adding TTFB Request Time');\n _measurements['ttfb.requestTime'] = {\n value: responseStart - requestStart,\n unit: 'millisecond',\n };\n }\n}\n\nexport { _addMeasureSpans, _addResourceSpans, addPerformanceEntries, startTrackingInteractions, startTrackingLongAnimationFrames, startTrackingLongTasks, startTrackingWebVitals };\n//# sourceMappingURL=browserMetrics.js.map\n","/* eslint-disable react/static-property-placement */\n/* eslint-disable react/sort-comp */\n/* eslint-disable space-in-parens */\n/* eslint-disable react/no-find-dom-node */\n/* eslint-disable react/prop-types */\nimport { createElement, Component } from 'react';\nimport { findDOMNode } from 'react-dom';\nimport hoistNonReactStatics from 'hoist-non-react-statics';\nimport * as DOMHelpers from './dom-helpers';\nimport { testPassiveEventSupport } from './detect-passive-events';\nimport uid from './uid';\n\nlet passiveEventSupport;\n\nconst handlersMap = {};\nconst enabledInstances = {};\n\nconst touchEvents = ['touchstart', 'touchmove'];\nconst IGNORE_CLASS_NAME = 'ignore-react-onclickoutside';\n\n/**\n * Options for addEventHandler and removeEventHandler\n */\nfunction getEventHandlerOptions(instance, eventName) {\n let handlerOptions = null;\n const isTouchEvent = touchEvents.indexOf(eventName) !== -1;\n\n if (isTouchEvent && passiveEventSupport) {\n handlerOptions = { passive: !instance.props.preventDefault };\n }\n return handlerOptions;\n}\n\n/**\n * This function generates the HOC function that you'll use\n * in order to impart onOutsideClick listening to an\n * arbitrary component. It gets called at the end of the\n * bootstrapping code to yield an instance of the\n * onClickOutsideHOC function defined inside setupHOC().\n */\nexport default function onClickOutsideHOC(WrappedComponent, config) {\n const componentName = WrappedComponent.displayName || WrappedComponent.name || 'Component';\n class onClickOutside extends Component {\n static displayName = `OnClickOutside(${componentName})`;\n\n static defaultProps = {\n eventTypes: ['mousedown', 'touchstart'],\n excludeScrollbar: (config && config.excludeScrollbar) || false,\n outsideClickIgnoreClass: IGNORE_CLASS_NAME,\n preventDefault: false,\n stopPropagation: false\n };\n\n static getClass = () => (WrappedComponent.getClass ? WrappedComponent.getClass() : WrappedComponent);\n\n constructor(props) {\n super(props);\n this._uid = uid();\n }\n\n /**\n * Access the WrappedComponent's instance.\n */\n getInstance() {\n if (!WrappedComponent.prototype.isReactComponent) {\n return this;\n }\n const ref = this.instanceRef;\n return ref.getInstance ? ref.getInstance() : ref;\n }\n\n __outsideClickHandler = event => {\n if (typeof this.__clickOutsideHandlerProp === 'function') {\n this.__clickOutsideHandlerProp(event);\n return;\n }\n\n const instance = this.getInstance();\n\n if (typeof instance.props.handleClickOutside === 'function') {\n instance.props.handleClickOutside(event);\n return;\n }\n\n if (typeof instance.handleClickOutside === 'function') {\n instance.handleClickOutside(event);\n return;\n }\n\n throw new Error(`WrappedComponent: ${componentName} lacks a handleClickOutside(event) function for processing outside click events.` );\n };\n\n /**\n * Add click listeners to the current document,\n * linked to this component's state.\n */\n componentDidMount() {\n // If we are in an environment without a DOM such\n // as shallow rendering or snapshots then we exit\n // early to prevent any unhandled errors being thrown.\n if (typeof document === 'undefined' || !document.createElement) {\n return;\n }\n\n const instance = this.getInstance();\n\n if (config && typeof config.handleClickOutside === 'function') {\n this.__clickOutsideHandlerProp = config.handleClickOutside(instance);\n if (typeof this.__clickOutsideHandlerProp !== 'function') {\n throw new Error(`WrappedComponent: ${componentName} lacks a function for processing outside click events specified by the handleClickOutside config option.` );\n }\n }\n\n this.componentNode = findDOMNode(this.getInstance());\n this.enableOnClickOutside();\n }\n\n componentDidUpdate() {\n this.componentNode = findDOMNode(this.getInstance());\n }\n\n /**\n * Remove all document's event listeners for this component\n */\n componentWillUnmount() {\n this.disableOnClickOutside();\n }\n\n /**\n * Can be called to explicitly enable event listening\n * for clicks and touches outside of this element.\n */\n enableOnClickOutside = () => {\n if (typeof document === 'undefined' || enabledInstances[this._uid]) {\n return;\n }\n\n if (typeof passiveEventSupport === 'undefined') {\n passiveEventSupport = testPassiveEventSupport();\n }\n\n enabledInstances[this._uid] = true;\n\n const { eventTypes } = this.props;\n let events = eventTypes;\n const {\n disableOnClickOutside,\n preventDefault,\n stopPropagation,\n excludeScrollbar,\n outsideClickIgnoreClass\n } = this.props;\n\n if (!events.forEach) {\n events = [events];\n }\n\n handlersMap[this._uid] = event => {\n if (disableOnClickOutside) return;\n if (this.componentNode === null) return;\n\n if (preventDefault) {\n event.preventDefault();\n }\n\n if (stopPropagation) {\n event.stopPropagation();\n }\n\n // eslint-disable-next-line react/prop-types\n if (excludeScrollbar && DOMHelpers.clickedScrollbar(event)) return;\n\n const current = event.target;\n\n // eslint-disable-next-line react/prop-types\n if (DOMHelpers.findHighest(current, this.componentNode, outsideClickIgnoreClass) !== document) {\n return;\n }\n\n this.__outsideClickHandler(event);\n };\n\n events.forEach(eventName => {\n document.addEventListener(eventName, handlersMap[this._uid], getEventHandlerOptions(this, eventName));\n });\n };\n\n /**\n * Can be called to explicitly disable event listening\n * for clicks and touches outside of this element.\n */\n disableOnClickOutside = () => {\n delete enabledInstances[this._uid];\n const fn = handlersMap[this._uid];\n\n if (fn && typeof document !== 'undefined') {\n const { eventTypes } = this.props;\n let events = eventTypes;\n if (!events.forEach) {\n events = [events];\n }\n events.forEach(eventName => document\n .removeEventListener(eventName, fn, getEventHandlerOptions(this, eventName)));\n delete handlersMap[this._uid];\n }\n };\n\n // eslint-disable-next-line no-return-assign\n getRef = ref => (this.instanceRef = ref);\n\n /**\n * Pass-through render\n */\n render() {\n // eslint-disable-next-line no-unused-vars\n const { excludeScrollbar, ...props } = this.props;\n\n if (WrappedComponent.prototype.isReactComponent) {\n props.ref = this.getRef;\n } else {\n props.wrappedRef = this.getRef;\n }\n\n props.disableOnClickOutside = this.disableOnClickOutside;\n props.enableOnClickOutside = this.enableOnClickOutside;\n\n return createElement(WrappedComponent, props);\n }\n }\n\n hoistNonReactStatics(onClickOutside, WrappedComponent);\n\n return onClickOutside;\n}\n","'use strict';\n\nimport bind from './helpers/bind.js';\n\n// utils is a library of generic helper functions non-specific to axios\n\nconst {toString} = Object.prototype;\nconst {getPrototypeOf} = Object;\n\nconst kindOf = (cache => thing => {\n const str = toString.call(thing);\n return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());\n})(Object.create(null));\n\nconst kindOfTest = (type) => {\n type = type.toLowerCase();\n return (thing) => kindOf(thing) === type\n}\n\nconst typeOfTest = type => thing => typeof thing === type;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n *\n * @returns {boolean} True if value is an Array, otherwise false\n */\nconst {isArray} = Array;\n\n/**\n * Determine if a value is undefined\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nconst isUndefined = typeOfTest('undefined');\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && isFunction(val.constructor.isBuffer) && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nconst isArrayBuffer = kindOfTest('ArrayBuffer');\n\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n let result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (isArrayBuffer(val.buffer));\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a String, otherwise false\n */\nconst isString = typeOfTest('string');\n\n/**\n * Determine if a value is a Function\n *\n * @param {*} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nconst isFunction = typeOfTest('function');\n\n/**\n * Determine if a value is a Number\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Number, otherwise false\n */\nconst isNumber = typeOfTest('number');\n\n/**\n * Determine if a value is an Object\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value is an Object, otherwise false\n */\nconst isObject = (thing) => thing !== null && typeof thing === 'object';\n\n/**\n * Determine if a value is a Boolean\n *\n * @param {*} thing The value to test\n * @returns {boolean} True if value is a Boolean, otherwise false\n */\nconst isBoolean = thing => thing === true || thing === false;\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a plain Object, otherwise false\n */\nconst isPlainObject = (val) => {\n if (kindOf(val) !== 'object') {\n return false;\n }\n\n const prototype = getPrototypeOf(val);\n return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in val) && !(Symbol.iterator in val);\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Date, otherwise false\n */\nconst isDate = kindOfTest('Date');\n\n/**\n * Determine if a value is a File\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a File, otherwise false\n */\nconst isFile = kindOfTest('File');\n\n/**\n * Determine if a value is a Blob\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nconst isBlob = kindOfTest('Blob');\n\n/**\n * Determine if a value is a FileList\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a File, otherwise false\n */\nconst isFileList = kindOfTest('FileList');\n\n/**\n * Determine if a value is a Stream\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nconst isStream = (val) => isObject(val) && isFunction(val.pipe);\n\n/**\n * Determine if a value is a FormData\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nconst isFormData = (thing) => {\n let kind;\n return thing && (\n (typeof FormData === 'function' && thing instanceof FormData) || (\n isFunction(thing.append) && (\n (kind = kindOf(thing)) === 'formdata' ||\n // detect form-data instance\n (kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')\n )\n )\n )\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nconst isURLSearchParams = kindOfTest('URLSearchParams');\n\nconst [isReadableStream, isRequest, isResponse, isHeaders] = ['ReadableStream', 'Request', 'Response', 'Headers'].map(kindOfTest);\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n *\n * @returns {String} The String freed of excess whitespace\n */\nconst trim = (str) => str.trim ?\n str.trim() : str.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '');\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n *\n * @param {Boolean} [allOwnKeys = false]\n * @returns {any}\n */\nfunction forEach(obj, fn, {allOwnKeys = false} = {}) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n let i;\n let l;\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);\n const len = keys.length;\n let key;\n\n for (i = 0; i < len; i++) {\n key = keys[i];\n fn.call(null, obj[key], key, obj);\n }\n }\n}\n\nfunction findKey(obj, key) {\n key = key.toLowerCase();\n const keys = Object.keys(obj);\n let i = keys.length;\n let _key;\n while (i-- > 0) {\n _key = keys[i];\n if (key === _key.toLowerCase()) {\n return _key;\n }\n }\n return null;\n}\n\nconst _global = (() => {\n /*eslint no-undef:0*/\n if (typeof globalThis !== \"undefined\") return globalThis;\n return typeof self !== \"undefined\" ? self : (typeof window !== 'undefined' ? window : global)\n})();\n\nconst isContextDefined = (context) => !isUndefined(context) && context !== _global;\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n *\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n const {caseless} = isContextDefined(this) && this || {};\n const result = {};\n const assignValue = (val, key) => {\n const targetKey = caseless && findKey(result, key) || key;\n if (isPlainObject(result[targetKey]) && isPlainObject(val)) {\n result[targetKey] = merge(result[targetKey], val);\n } else if (isPlainObject(val)) {\n result[targetKey] = merge({}, val);\n } else if (isArray(val)) {\n result[targetKey] = val.slice();\n } else {\n result[targetKey] = val;\n }\n }\n\n for (let i = 0, l = arguments.length; i < l; i++) {\n arguments[i] && forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n *\n * @param {Boolean} [allOwnKeys]\n * @returns {Object} The resulting value of object a\n */\nconst extend = (a, b, thisArg, {allOwnKeys}= {}) => {\n forEach(b, (val, key) => {\n if (thisArg && isFunction(val)) {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n }, {allOwnKeys});\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n *\n * @returns {string} content value without BOM\n */\nconst stripBOM = (content) => {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\n/**\n * Inherit the prototype methods from one constructor into another\n * @param {function} constructor\n * @param {function} superConstructor\n * @param {object} [props]\n * @param {object} [descriptors]\n *\n * @returns {void}\n */\nconst inherits = (constructor, superConstructor, props, descriptors) => {\n constructor.prototype = Object.create(superConstructor.prototype, descriptors);\n constructor.prototype.constructor = constructor;\n Object.defineProperty(constructor, 'super', {\n value: superConstructor.prototype\n });\n props && Object.assign(constructor.prototype, props);\n}\n\n/**\n * Resolve object with deep prototype chain to a flat object\n * @param {Object} sourceObj source object\n * @param {Object} [destObj]\n * @param {Function|Boolean} [filter]\n * @param {Function} [propFilter]\n *\n * @returns {Object}\n */\nconst toFlatObject = (sourceObj, destObj, filter, propFilter) => {\n let props;\n let i;\n let prop;\n const merged = {};\n\n destObj = destObj || {};\n // eslint-disable-next-line no-eq-null,eqeqeq\n if (sourceObj == null) return destObj;\n\n do {\n props = Object.getOwnPropertyNames(sourceObj);\n i = props.length;\n while (i-- > 0) {\n prop = props[i];\n if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {\n destObj[prop] = sourceObj[prop];\n merged[prop] = true;\n }\n }\n sourceObj = filter !== false && getPrototypeOf(sourceObj);\n } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);\n\n return destObj;\n}\n\n/**\n * Determines whether a string ends with the characters of a specified string\n *\n * @param {String} str\n * @param {String} searchString\n * @param {Number} [position= 0]\n *\n * @returns {boolean}\n */\nconst endsWith = (str, searchString, position) => {\n str = String(str);\n if (position === undefined || position > str.length) {\n position = str.length;\n }\n position -= searchString.length;\n const lastIndex = str.indexOf(searchString, position);\n return lastIndex !== -1 && lastIndex === position;\n}\n\n\n/**\n * Returns new array from array like object or null if failed\n *\n * @param {*} [thing]\n *\n * @returns {?Array}\n */\nconst toArray = (thing) => {\n if (!thing) return null;\n if (isArray(thing)) return thing;\n let i = thing.length;\n if (!isNumber(i)) return null;\n const arr = new Array(i);\n while (i-- > 0) {\n arr[i] = thing[i];\n }\n return arr;\n}\n\n/**\n * Checking if the Uint8Array exists and if it does, it returns a function that checks if the\n * thing passed in is an instance of Uint8Array\n *\n * @param {TypedArray}\n *\n * @returns {Array}\n */\n// eslint-disable-next-line func-names\nconst isTypedArray = (TypedArray => {\n // eslint-disable-next-line func-names\n return thing => {\n return TypedArray && thing instanceof TypedArray;\n };\n})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));\n\n/**\n * For each entry in the object, call the function with the key and value.\n *\n * @param {Object} obj - The object to iterate over.\n * @param {Function} fn - The function to call for each entry.\n *\n * @returns {void}\n */\nconst forEachEntry = (obj, fn) => {\n const generator = obj && obj[Symbol.iterator];\n\n const iterator = generator.call(obj);\n\n let result;\n\n while ((result = iterator.next()) && !result.done) {\n const pair = result.value;\n fn.call(obj, pair[0], pair[1]);\n }\n}\n\n/**\n * It takes a regular expression and a string, and returns an array of all the matches\n *\n * @param {string} regExp - The regular expression to match against.\n * @param {string} str - The string to search.\n *\n * @returns {Array}\n */\nconst matchAll = (regExp, str) => {\n let matches;\n const arr = [];\n\n while ((matches = regExp.exec(str)) !== null) {\n arr.push(matches);\n }\n\n return arr;\n}\n\n/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */\nconst isHTMLForm = kindOfTest('HTMLFormElement');\n\nconst toCamelCase = str => {\n return str.toLowerCase().replace(/[-_\\s]([a-z\\d])(\\w*)/g,\n function replacer(m, p1, p2) {\n return p1.toUpperCase() + p2;\n }\n );\n};\n\n/* Creating a function that will check if an object has a property. */\nconst hasOwnProperty = (({hasOwnProperty}) => (obj, prop) => hasOwnProperty.call(obj, prop))(Object.prototype);\n\n/**\n * Determine if a value is a RegExp object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a RegExp object, otherwise false\n */\nconst isRegExp = kindOfTest('RegExp');\n\nconst reduceDescriptors = (obj, reducer) => {\n const descriptors = Object.getOwnPropertyDescriptors(obj);\n const reducedDescriptors = {};\n\n forEach(descriptors, (descriptor, name) => {\n let ret;\n if ((ret = reducer(descriptor, name, obj)) !== false) {\n reducedDescriptors[name] = ret || descriptor;\n }\n });\n\n Object.defineProperties(obj, reducedDescriptors);\n}\n\n/**\n * Makes all methods read-only\n * @param {Object} obj\n */\n\nconst freezeMethods = (obj) => {\n reduceDescriptors(obj, (descriptor, name) => {\n // skip restricted props in strict mode\n if (isFunction(obj) && ['arguments', 'caller', 'callee'].indexOf(name) !== -1) {\n return false;\n }\n\n const value = obj[name];\n\n if (!isFunction(value)) return;\n\n descriptor.enumerable = false;\n\n if ('writable' in descriptor) {\n descriptor.writable = false;\n return;\n }\n\n if (!descriptor.set) {\n descriptor.set = () => {\n throw Error('Can not rewrite read-only method \\'' + name + '\\'');\n };\n }\n });\n}\n\nconst toObjectSet = (arrayOrString, delimiter) => {\n const obj = {};\n\n const define = (arr) => {\n arr.forEach(value => {\n obj[value] = true;\n });\n }\n\n isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));\n\n return obj;\n}\n\nconst noop = () => {}\n\nconst toFiniteNumber = (value, defaultValue) => {\n return value != null && Number.isFinite(value = +value) ? value : defaultValue;\n}\n\nconst ALPHA = 'abcdefghijklmnopqrstuvwxyz'\n\nconst DIGIT = '0123456789';\n\nconst ALPHABET = {\n DIGIT,\n ALPHA,\n ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT\n}\n\nconst generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {\n let str = '';\n const {length} = alphabet;\n while (size--) {\n str += alphabet[Math.random() * length|0]\n }\n\n return str;\n}\n\n/**\n * If the thing is a FormData object, return true, otherwise return false.\n *\n * @param {unknown} thing - The thing to check.\n *\n * @returns {boolean}\n */\nfunction isSpecCompliantForm(thing) {\n return !!(thing && isFunction(thing.append) && thing[Symbol.toStringTag] === 'FormData' && thing[Symbol.iterator]);\n}\n\nconst toJSONObject = (obj) => {\n const stack = new Array(10);\n\n const visit = (source, i) => {\n\n if (isObject(source)) {\n if (stack.indexOf(source) >= 0) {\n return;\n }\n\n if(!('toJSON' in source)) {\n stack[i] = source;\n const target = isArray(source) ? [] : {};\n\n forEach(source, (value, key) => {\n const reducedValue = visit(value, i + 1);\n !isUndefined(reducedValue) && (target[key] = reducedValue);\n });\n\n stack[i] = undefined;\n\n return target;\n }\n }\n\n return source;\n }\n\n return visit(obj, 0);\n}\n\nconst isAsyncFn = kindOfTest('AsyncFunction');\n\nconst isThenable = (thing) =>\n thing && (isObject(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing.catch);\n\nexport default {\n isArray,\n isArrayBuffer,\n isBuffer,\n isFormData,\n isArrayBufferView,\n isString,\n isNumber,\n isBoolean,\n isObject,\n isPlainObject,\n isReadableStream,\n isRequest,\n isResponse,\n isHeaders,\n isUndefined,\n isDate,\n isFile,\n isBlob,\n isRegExp,\n isFunction,\n isStream,\n isURLSearchParams,\n isTypedArray,\n isFileList,\n forEach,\n merge,\n extend,\n trim,\n stripBOM,\n inherits,\n toFlatObject,\n kindOf,\n kindOfTest,\n endsWith,\n toArray,\n forEachEntry,\n matchAll,\n isHTMLForm,\n hasOwnProperty,\n hasOwnProp: hasOwnProperty, // an alias to avoid ESLint no-prototype-builtins detection\n reduceDescriptors,\n freezeMethods,\n toObjectSet,\n toCamelCase,\n noop,\n toFiniteNumber,\n findKey,\n global: _global,\n isContextDefined,\n ALPHABET,\n generateString,\n isSpecCompliantForm,\n toJSONObject,\n isAsyncFn,\n isThenable\n};\n","const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n *\n * @returns {boolean}\n */\nconst hasStandardBrowserEnv = (\n (product) => {\n return hasBrowserEnv && ['ReactNative', 'NativeScript', 'NS'].indexOf(product) < 0\n })(typeof navigator !== 'undefined' && navigator.product);\n\n/**\n * Determine if we're running in a standard browser webWorker environment\n *\n * Although the `isStandardBrowserEnv` method indicates that\n * `allows axios to run in a web worker`, the WebWorker will still be\n * filtered out due to its judgment standard\n * `typeof window !== 'undefined' && typeof document !== 'undefined'`.\n * This leads to a problem when axios post `FormData` in webWorker\n */\nconst hasStandardBrowserWebWorkerEnv = (() => {\n return (\n typeof WorkerGlobalScope !== 'undefined' &&\n // eslint-disable-next-line no-undef\n self instanceof WorkerGlobalScope &&\n typeof self.importScripts === 'function'\n );\n})();\n\nconst origin = hasBrowserEnv && window.location.href || 'http://localhost';\n\nexport {\n hasBrowserEnv,\n hasStandardBrowserWebWorkerEnv,\n hasStandardBrowserEnv,\n origin\n}\n","import platform from \"../platform/index.js\";\nimport utils from \"../utils.js\";\nimport AxiosError from \"../core/AxiosError.js\";\nimport composeSignals from \"../helpers/composeSignals.js\";\nimport {trackStream} from \"../helpers/trackStream.js\";\nimport AxiosHeaders from \"../core/AxiosHeaders.js\";\nimport progressEventReducer from \"../helpers/progressEventReducer.js\";\nimport resolveConfig from \"../helpers/resolveConfig.js\";\nimport settle from \"../core/settle.js\";\n\nconst fetchProgressDecorator = (total, fn) => {\n const lengthComputable = total != null;\n return (loaded) => setTimeout(() => fn({\n lengthComputable,\n total,\n loaded\n }));\n}\n\nconst isFetchSupported = typeof fetch === 'function' && typeof Request === 'function' && typeof Response === 'function';\nconst isReadableStreamSupported = isFetchSupported && typeof ReadableStream === 'function';\n\n// used only inside the fetch adapter\nconst encodeText = isFetchSupported && (typeof TextEncoder === 'function' ?\n ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) :\n async (str) => new Uint8Array(await new Response(str).arrayBuffer())\n);\n\nconst supportsRequestStream = isReadableStreamSupported && (() => {\n let duplexAccessed = false;\n\n const hasContentType = new Request(platform.origin, {\n body: new ReadableStream(),\n method: 'POST',\n get duplex() {\n duplexAccessed = true;\n return 'half';\n },\n }).headers.has('Content-Type');\n\n return duplexAccessed && !hasContentType;\n})();\n\nconst DEFAULT_CHUNK_SIZE = 64 * 1024;\n\nconst supportsResponseStream = isReadableStreamSupported && !!(()=> {\n try {\n return utils.isReadableStream(new Response('').body);\n } catch(err) {\n // return undefined\n }\n})();\n\nconst resolvers = {\n stream: supportsResponseStream && ((res) => res.body)\n};\n\nisFetchSupported && (((res) => {\n ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach(type => {\n !resolvers[type] && (resolvers[type] = utils.isFunction(res[type]) ? (res) => res[type]() :\n (_, config) => {\n throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);\n })\n });\n})(new Response));\n\nconst getBodyLength = async (body) => {\n if (body == null) {\n return 0;\n }\n\n if(utils.isBlob(body)) {\n return body.size;\n }\n\n if(utils.isSpecCompliantForm(body)) {\n return (await new Request(body).arrayBuffer()).byteLength;\n }\n\n if(utils.isArrayBufferView(body)) {\n return body.byteLength;\n }\n\n if(utils.isURLSearchParams(body)) {\n body = body + '';\n }\n\n if(utils.isString(body)) {\n return (await encodeText(body)).byteLength;\n }\n}\n\nconst resolveBodyLength = async (headers, body) => {\n const length = utils.toFiniteNumber(headers.getContentLength());\n\n return length == null ? getBodyLength(body) : length;\n}\n\nexport default isFetchSupported && (async (config) => {\n let {\n url,\n method,\n data,\n signal,\n cancelToken,\n timeout,\n onDownloadProgress,\n onUploadProgress,\n responseType,\n headers,\n withCredentials = 'same-origin',\n fetchOptions\n } = resolveConfig(config);\n\n responseType = responseType ? (responseType + '').toLowerCase() : 'text';\n\n let [composedSignal, stopTimeout] = (signal || cancelToken || timeout) ?\n composeSignals([signal, cancelToken], timeout) : [];\n\n let finished, request;\n\n const onFinish = () => {\n !finished && setTimeout(() => {\n composedSignal && composedSignal.unsubscribe();\n });\n\n finished = true;\n }\n\n let requestContentLength;\n\n try {\n if (\n onUploadProgress && supportsRequestStream && method !== 'get' && method !== 'head' &&\n (requestContentLength = await resolveBodyLength(headers, data)) !== 0\n ) {\n let _request = new Request(url, {\n method: 'POST',\n body: data,\n duplex: \"half\"\n });\n\n let contentTypeHeader;\n\n if (utils.isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {\n headers.setContentType(contentTypeHeader)\n }\n\n if (_request.body) {\n data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, fetchProgressDecorator(\n requestContentLength,\n progressEventReducer(onUploadProgress)\n ), null, encodeText);\n }\n }\n\n if (!utils.isString(withCredentials)) {\n withCredentials = withCredentials ? 'cors' : 'omit';\n }\n\n request = new Request(url, {\n ...fetchOptions,\n signal: composedSignal,\n method: method.toUpperCase(),\n headers: headers.normalize().toJSON(),\n body: data,\n duplex: \"half\",\n withCredentials\n });\n\n let response = await fetch(request);\n\n const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');\n\n if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) {\n const options = {};\n\n ['status', 'statusText', 'headers'].forEach(prop => {\n options[prop] = response[prop];\n });\n\n const responseContentLength = utils.toFiniteNumber(response.headers.get('content-length'));\n\n response = new Response(\n trackStream(response.body, DEFAULT_CHUNK_SIZE, onDownloadProgress && fetchProgressDecorator(\n responseContentLength,\n progressEventReducer(onDownloadProgress, true)\n ), isStreamResponse && onFinish, encodeText),\n options\n );\n }\n\n responseType = responseType || 'text';\n\n let responseData = await resolvers[utils.findKey(resolvers, responseType) || 'text'](response, config);\n\n !isStreamResponse && onFinish();\n\n stopTimeout && stopTimeout();\n\n return await new Promise((resolve, reject) => {\n settle(resolve, reject, {\n data: responseData,\n headers: AxiosHeaders.from(response.headers),\n status: response.status,\n statusText: response.statusText,\n config,\n request\n })\n })\n } catch (err) {\n onFinish();\n\n if (err && err.name === 'TypeError' && /fetch/i.test(err.message)) {\n throw Object.assign(\n new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request),\n {\n cause: err.cause || err\n }\n )\n }\n\n throw AxiosError.from(err, err && err.code, config, request);\n }\n});\n\n\n","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport { Component, createElement, forwardRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport hoistStatics from \"hoist-non-react-statics\";\nvar SCRIPT_MAP = {}; // A counter used to generate a unique id for each component that uses the function\n\nvar idCount = 0;\nexport default function makeAsyncScript(getScriptURL, options) {\n options = options || {};\n return function wrapWithAsyncScript(WrappedComponent) {\n var wrappedComponentName = WrappedComponent.displayName || WrappedComponent.name || \"Component\";\n\n var AsyncScriptLoader =\n /*#__PURE__*/\n function (_Component) {\n _inheritsLoose(AsyncScriptLoader, _Component);\n\n function AsyncScriptLoader(props, context) {\n var _this;\n\n _this = _Component.call(this, props, context) || this;\n _this.state = {};\n _this.__scriptURL = \"\";\n return _this;\n }\n\n var _proto = AsyncScriptLoader.prototype;\n\n _proto.asyncScriptLoaderGetScriptLoaderID = function asyncScriptLoaderGetScriptLoaderID() {\n if (!this.__scriptLoaderID) {\n this.__scriptLoaderID = \"async-script-loader-\" + idCount++;\n }\n\n return this.__scriptLoaderID;\n };\n\n _proto.setupScriptURL = function setupScriptURL() {\n this.__scriptURL = typeof getScriptURL === \"function\" ? getScriptURL() : getScriptURL;\n return this.__scriptURL;\n };\n\n _proto.asyncScriptLoaderHandleLoad = function asyncScriptLoaderHandleLoad(state) {\n var _this2 = this;\n\n // use reacts setState callback to fire props.asyncScriptOnLoad with new state/entry\n this.setState(state, function () {\n return _this2.props.asyncScriptOnLoad && _this2.props.asyncScriptOnLoad(_this2.state);\n });\n };\n\n _proto.asyncScriptLoaderTriggerOnScriptLoaded = function asyncScriptLoaderTriggerOnScriptLoaded() {\n var mapEntry = SCRIPT_MAP[this.__scriptURL];\n\n if (!mapEntry || !mapEntry.loaded) {\n throw new Error(\"Script is not loaded.\");\n }\n\n for (var obsKey in mapEntry.observers) {\n mapEntry.observers[obsKey](mapEntry);\n }\n\n delete window[options.callbackName];\n };\n\n _proto.componentDidMount = function componentDidMount() {\n var _this3 = this;\n\n var scriptURL = this.setupScriptURL();\n var key = this.asyncScriptLoaderGetScriptLoaderID();\n var _options = options,\n globalName = _options.globalName,\n callbackName = _options.callbackName,\n scriptId = _options.scriptId; // check if global object already attached to window\n\n if (globalName && typeof window[globalName] !== \"undefined\") {\n SCRIPT_MAP[scriptURL] = {\n loaded: true,\n observers: {}\n };\n } // check if script loading already\n\n\n if (SCRIPT_MAP[scriptURL]) {\n var entry = SCRIPT_MAP[scriptURL]; // if loaded or errored then \"finish\"\n\n if (entry && (entry.loaded || entry.errored)) {\n this.asyncScriptLoaderHandleLoad(entry);\n return;\n } // if still loading then callback to observer queue\n\n\n entry.observers[key] = function (entry) {\n return _this3.asyncScriptLoaderHandleLoad(entry);\n };\n\n return;\n }\n /*\n * hasn't started loading\n * start the \"magic\"\n * setup script to load and observers\n */\n\n\n var observers = {};\n\n observers[key] = function (entry) {\n return _this3.asyncScriptLoaderHandleLoad(entry);\n };\n\n SCRIPT_MAP[scriptURL] = {\n loaded: false,\n observers: observers\n };\n var script = document.createElement(\"script\");\n script.src = scriptURL;\n script.async = true;\n\n for (var attribute in options.attributes) {\n script.setAttribute(attribute, options.attributes[attribute]);\n }\n\n if (scriptId) {\n script.id = scriptId;\n }\n\n var callObserverFuncAndRemoveObserver = function callObserverFuncAndRemoveObserver(func) {\n if (SCRIPT_MAP[scriptURL]) {\n var mapEntry = SCRIPT_MAP[scriptURL];\n var observersMap = mapEntry.observers;\n\n for (var obsKey in observersMap) {\n if (func(observersMap[obsKey])) {\n delete observersMap[obsKey];\n }\n }\n }\n };\n\n if (callbackName && typeof window !== \"undefined\") {\n window[callbackName] = function () {\n return _this3.asyncScriptLoaderTriggerOnScriptLoaded();\n };\n }\n\n script.onload = function () {\n var mapEntry = SCRIPT_MAP[scriptURL];\n\n if (mapEntry) {\n mapEntry.loaded = true;\n callObserverFuncAndRemoveObserver(function (observer) {\n if (callbackName) {\n return false;\n }\n\n observer(mapEntry);\n return true;\n });\n }\n };\n\n script.onerror = function () {\n var mapEntry = SCRIPT_MAP[scriptURL];\n\n if (mapEntry) {\n mapEntry.errored = true;\n callObserverFuncAndRemoveObserver(function (observer) {\n observer(mapEntry);\n return true;\n });\n }\n };\n\n document.body.appendChild(script);\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n // Remove tag script\n var scriptURL = this.__scriptURL;\n\n if (options.removeOnUnmount === true) {\n var allScripts = document.getElementsByTagName(\"script\");\n\n for (var i = 0; i < allScripts.length; i += 1) {\n if (allScripts[i].src.indexOf(scriptURL) > -1) {\n if (allScripts[i].parentNode) {\n allScripts[i].parentNode.removeChild(allScripts[i]);\n }\n }\n }\n } // Clean the observer entry\n\n\n var mapEntry = SCRIPT_MAP[scriptURL];\n\n if (mapEntry) {\n delete mapEntry.observers[this.asyncScriptLoaderGetScriptLoaderID()];\n\n if (options.removeOnUnmount === true) {\n delete SCRIPT_MAP[scriptURL];\n }\n }\n };\n\n _proto.render = function render() {\n var globalName = options.globalName; // remove asyncScriptOnLoad from childProps\n\n var _this$props = this.props,\n asyncScriptOnLoad = _this$props.asyncScriptOnLoad,\n forwardedRef = _this$props.forwardedRef,\n childProps = _objectWithoutPropertiesLoose(_this$props, [\"asyncScriptOnLoad\", \"forwardedRef\"]); // eslint-disable-line no-unused-vars\n\n\n if (globalName && typeof window !== \"undefined\") {\n childProps[globalName] = typeof window[globalName] !== \"undefined\" ? window[globalName] : undefined;\n }\n\n childProps.ref = forwardedRef;\n return createElement(WrappedComponent, childProps);\n };\n\n return AsyncScriptLoader;\n }(Component); // Note the second param \"ref\" provided by React.forwardRef.\n // We can pass it along to AsyncScriptLoader as a regular prop, e.g. \"forwardedRef\"\n // And it can then be attached to the Component.\n\n\n var ForwardedComponent = forwardRef(function (props, ref) {\n return createElement(AsyncScriptLoader, _extends({}, props, {\n forwardedRef: ref\n }));\n });\n ForwardedComponent.displayName = \"AsyncScriptLoader(\" + wrappedComponentName + \")\";\n ForwardedComponent.propTypes = {\n asyncScriptOnLoad: PropTypes.func\n };\n return hoistStatics(ForwardedComponent, WrappedComponent);\n };\n}","import getCompositeRect from \"./dom-utils/getCompositeRect.js\";\nimport getLayoutRect from \"./dom-utils/getLayoutRect.js\";\nimport listScrollParents from \"./dom-utils/listScrollParents.js\";\nimport getOffsetParent from \"./dom-utils/getOffsetParent.js\";\nimport getComputedStyle from \"./dom-utils/getComputedStyle.js\";\nimport orderModifiers from \"./utils/orderModifiers.js\";\nimport debounce from \"./utils/debounce.js\";\nimport validateModifiers from \"./utils/validateModifiers.js\";\nimport uniqueBy from \"./utils/uniqueBy.js\";\nimport getBasePlacement from \"./utils/getBasePlacement.js\";\nimport { isElement } from \"./dom-utils/instanceOf.js\";\nimport { auto } from \"./enums.js\";\nexport * from \"./types.js\";\nexport * from \"./enums.js\";\nvar INVALID_ELEMENT_ERROR = 'Popper: Invalid reference or popper argument provided to Popper, they must be either a valid DOM element, virtual element, or a jQuery-wrapped DOM element.';\nvar INFINITE_LOOP_ERROR = 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';\nvar DEFAULT_OPTIONS = {\n placement: 'bottom',\n modifiers: [],\n strategy: 'absolute'\n};\n\nfunction areValidElements() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return !args.some(function (element) {\n return !(element && typeof element.getBoundingClientRect === 'function');\n });\n}\n\nexport function popperGenerator(generatorOptions) {\n if (generatorOptions === void 0) {\n generatorOptions = {};\n }\n\n var _generatorOptions = generatorOptions,\n _generatorOptions$def = _generatorOptions.defaultModifiers,\n defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,\n _generatorOptions$def2 = _generatorOptions.defaultOptions,\n defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;\n return function createPopper(reference, popper, options) {\n if (options === void 0) {\n options = defaultOptions;\n }\n\n var state = {\n placement: 'bottom',\n orderedModifiers: [],\n options: Object.assign({}, DEFAULT_OPTIONS, {}, defaultOptions),\n modifiersData: {},\n elements: {\n reference: reference,\n popper: popper\n },\n attributes: {},\n styles: {}\n };\n var effectCleanupFns = [];\n var isDestroyed = false;\n var instance = {\n state: state,\n setOptions: function setOptions(options) {\n cleanupModifierEffects();\n state.options = Object.assign({}, defaultOptions, {}, state.options, {}, options);\n state.scrollParents = {\n reference: isElement(reference) ? listScrollParents(reference) : [],\n popper: listScrollParents(popper)\n }; // Orders the modifiers based on their dependencies and `phase`\n // properties\n\n var orderedModifiers = orderModifiers([].concat(state.options.modifiers.filter(function (modifier) {\n return !defaultModifiers.find(function (_ref) {\n var name = _ref.name;\n return name === modifier.name;\n });\n }), defaultModifiers.map(function (defaultModifier) {\n return Object.assign({}, defaultModifier, {}, state.options.modifiers.find(function (_ref2) {\n var name = _ref2.name;\n return name === defaultModifier.name;\n }));\n }))); // Validate the provided modifiers so that the consumer will get warned\n // if one of the modifiers is invalid for any reason\n\n if (process.env.NODE_ENV !== \"production\") {\n var modifiers = uniqueBy([].concat(orderedModifiers, state.options.modifiers), function (_ref3) {\n var name = _ref3.name;\n return name;\n });\n validateModifiers(modifiers);\n\n if (getBasePlacement(state.options.placement) === auto) {\n var flipModifier = orderedModifiers.find(function (_ref4) {\n var name = _ref4.name;\n return name === 'flip';\n });\n\n if (!flipModifier) {\n console.error(['Popper: \"auto\" placements require the \"flip\" modifier be', 'present and enabled to work.'].join(' '));\n }\n }\n\n var _getComputedStyle = getComputedStyle(popper),\n marginTop = _getComputedStyle.marginTop,\n marginRight = _getComputedStyle.marginRight,\n marginBottom = _getComputedStyle.marginBottom,\n marginLeft = _getComputedStyle.marginLeft; // We no longer take into account `margins` on the popper, and it can\n // cause bugs with positioning, so we'll warn the consumer\n\n\n if ([marginTop, marginRight, marginBottom, marginLeft].some(function (margin) {\n return parseFloat(margin);\n })) {\n console.warn(['Popper: CSS \"margin\" styles cannot be used to apply padding', 'between the popper and its reference element or boundary.', 'To replicate margin, use the `offset` modifier, as well as', 'the `padding` option in the `preventOverflow` and `flip`', 'modifiers.'].join(' '));\n }\n } // Strip out disabled modifiers\n\n\n state.orderedModifiers = orderedModifiers.filter(function (m) {\n return m.enabled;\n });\n runModifierEffects();\n return instance.update();\n },\n // Sync update – it will always be executed, even if not necessary. This\n // is useful for low frequency updates where sync behavior simplifies the\n // logic.\n // For high frequency updates (e.g. `resize` and `scroll` events), always\n // prefer the async Popper#update method\n forceUpdate: function forceUpdate() {\n if (isDestroyed) {\n return;\n }\n\n var _state$elements = state.elements,\n reference = _state$elements.reference,\n popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements\n // anymore\n\n if (!areValidElements(reference, popper)) {\n if (process.env.NODE_ENV !== \"production\") {\n console.error(INVALID_ELEMENT_ERROR);\n }\n\n return;\n } // Store the reference and popper rects to be read by modifiers\n\n\n state.rects = {\n reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === 'fixed'),\n popper: getLayoutRect(popper)\n }; // Modifiers have the ability to reset the current update cycle. The\n // most common use case for this is the `flip` modifier changing the\n // placement, which then needs to re-run all the modifiers, because the\n // logic was previously ran for the previous placement and is therefore\n // stale/incorrect\n\n state.reset = false;\n state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier\n // is filled with the initial data specified by the modifier. This means\n // it doesn't persist and is fresh on each update.\n // To ensure persistent data, use `${name}#persistent`\n\n state.orderedModifiers.forEach(function (modifier) {\n return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);\n });\n var __debug_loops__ = 0;\n\n for (var index = 0; index < state.orderedModifiers.length; index++) {\n if (process.env.NODE_ENV !== \"production\") {\n __debug_loops__ += 1;\n\n if (__debug_loops__ > 100) {\n console.error(INFINITE_LOOP_ERROR);\n break;\n }\n }\n\n if (state.reset === true) {\n state.reset = false;\n index = -1;\n continue;\n }\n\n var _state$orderedModifie = state.orderedModifiers[index],\n fn = _state$orderedModifie.fn,\n _state$orderedModifie2 = _state$orderedModifie.options,\n _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,\n name = _state$orderedModifie.name;\n\n if (typeof fn === 'function') {\n state = fn({\n state: state,\n options: _options,\n name: name,\n instance: instance\n }) || state;\n }\n }\n },\n // Async and optimistically optimized update – it will not be executed if\n // not necessary (debounced to run at most once-per-tick)\n update: debounce(function () {\n return new Promise(function (resolve) {\n instance.forceUpdate();\n resolve(state);\n });\n }),\n destroy: function destroy() {\n cleanupModifierEffects();\n isDestroyed = true;\n }\n };\n\n if (!areValidElements(reference, popper)) {\n if (process.env.NODE_ENV !== \"production\") {\n console.error(INVALID_ELEMENT_ERROR);\n }\n\n return instance;\n }\n\n instance.setOptions(options).then(function (state) {\n if (!isDestroyed && options.onFirstUpdate) {\n options.onFirstUpdate(state);\n }\n }); // Modifiers have the ability to execute arbitrary code before the first\n // update cycle runs. They will be executed in the same order as the update\n // cycle. This is useful when a modifier adds some persistent data that\n // other modifiers need to use, but the modifier is run after the dependent\n // one.\n\n function runModifierEffects() {\n state.orderedModifiers.forEach(function (_ref5) {\n var name = _ref5.name,\n _ref5$options = _ref5.options,\n options = _ref5$options === void 0 ? {} : _ref5$options,\n effect = _ref5.effect;\n\n if (typeof effect === 'function') {\n var cleanupFn = effect({\n state: state,\n name: name,\n instance: instance,\n options: options\n });\n\n var noopFn = function noopFn() {};\n\n effectCleanupFns.push(cleanupFn || noopFn);\n }\n });\n }\n\n function cleanupModifierEffects() {\n effectCleanupFns.forEach(function (fn) {\n return fn();\n });\n effectCleanupFns = [];\n }\n\n return instance;\n };\n}\nexport var createPopper =\n/*#__PURE__*/\npopperGenerator();","var snippet = function snippet(_ref) {\n var orgId = _ref.orgId,\n _ref$namespace = _ref.namespace,\n namespace = _ref$namespace === void 0 ? 'FS' : _ref$namespace,\n _ref$debug = _ref.debug,\n debug = _ref$debug === void 0 ? false : _ref$debug,\n _ref$host = _ref.host,\n host = _ref$host === void 0 ? 'fullstory.com' : _ref$host,\n _ref$script = _ref.script,\n script = _ref$script === void 0 ? 'edge.fullstory.com/s/fs.js' : _ref$script;\n\n if (!orgId) {\n throw new Error('FullStory orgId is a required parameter');\n }\n\n window['_fs_debug'] = debug;\n window['_fs_host'] = host;\n window['_fs_script'] = script;\n window['_fs_org'] = orgId;\n window['_fs_namespace'] = namespace;\n\n (function (m, n, e, t, l, o, g, y) {\n if (e in m) {\n if (m.console && m.console.log) {\n m.console.log('FullStory namespace conflict. Please set window[\"_fs_namespace\"].');\n }\n\n return;\n }\n\n g = m[e] = function (a, b, s) {\n g.q ? g.q.push([a, b, s]) : g._api(a, b, s);\n };\n\n g.q = [];\n o = n.createElement(t);\n o.async = 1;\n o.crossOrigin = 'anonymous';\n o.src = 'https://' + _fs_script;\n y = n.getElementsByTagName(t)[0];\n y.parentNode.insertBefore(o, y);\n\n g.identify = function (i, v, s) {\n g(l, {\n uid: i\n }, s);\n if (v) g(l, v, s);\n };\n\n g.setUserVars = function (v, s) {\n g(l, v, s);\n };\n\n g.event = function (i, v, s) {\n g('event', {\n n: i,\n p: v\n }, s);\n };\n\n g.anonymize = function () {\n g.identify(!!0);\n };\n\n g.shutdown = function () {\n g(\"rec\", !1);\n };\n\n g.restart = function () {\n g(\"rec\", !0);\n };\n\n g.log = function (a, b) {\n g(\"log\", [a, b]);\n };\n\n g.consent = function (a) {\n g(\"consent\", !arguments.length || a);\n };\n\n g.identifyAccount = function (i, v) {\n o = 'account';\n v = v || {};\n v.acctId = i;\n g(o, v);\n };\n\n g.clearUserCookie = function () {};\n\n g.setVars = function (n, p) {\n g('setVars', [n, p]);\n };\n\n g._w = {};\n y = 'XMLHttpRequest';\n g._w[y] = m[y];\n y = 'fetch';\n g._w[y] = m[y];\n if (m[y]) m[y] = function () {\n return g._w[y].apply(this, arguments);\n };\n g._v = \"1.3.0\";\n })(window, document, window['_fs_namespace'], 'script', 'user');\n};\n\nvar fs = function fs() {\n return window[window._fs_namespace];\n};\n\nvar ensureSnippetLoaded = function ensureSnippetLoaded() {\n var snippetLoaded = !!fs();\n\n if (!snippetLoaded) {\n throw Error('FullStory is not loaded, please ensure the init function is invoked before calling FullStory API functions');\n }\n};\n\nvar hasFullStoryWithFunction = function hasFullStoryWithFunction() {\n ensureSnippetLoaded();\n\n for (var _len = arguments.length, testNames = new Array(_len), _key = 0; _key < _len; _key++) {\n testNames[_key] = arguments[_key];\n }\n\n return testNames.every(function (current) {\n return fs()[current];\n });\n};\n\nvar guard = function guard(name) {\n return function () {\n if (window._fs_dev_mode) {\n var message = \"FullStory is in dev mode and is not recording: \".concat(name, \" method not executed\");\n console.warn(message);\n return message;\n }\n\n if (hasFullStoryWithFunction(name)) {\n var _fs;\n\n return (_fs = fs())[name].apply(_fs, arguments);\n }\n\n console.warn(\"FS.\".concat(name, \" not ready\"));\n return null;\n };\n};\n\nvar event = guard('event');\nvar log = guard('log');\nvar getCurrentSessionURL = guard('getCurrentSessionURL');\nvar identify = guard('identify');\nvar setUserVars = guard('setUserVars');\nvar consent = guard('consent');\nvar shutdown = guard('shutdown');\nvar restart = guard('restart');\nvar anonymize = guard('anonymize');\nvar setVars = guard('setVars');\n\nvar _init = function _init(options, readyCallback) {\n if (fs()) {\n console.warn('The FullStory snippet has already been defined elsewhere (likely in the element)');\n return;\n }\n\n if (options.recordCrossDomainIFrames) {\n window._fs_run_in_iframe = true;\n }\n\n if (options.recordOnlyThisIFrame) {\n window._fs_is_outer_script = true;\n }\n\n snippet(options);\n\n if (readyCallback) {\n fs()('observe', {\n type: 'start',\n callback: readyCallback\n });\n }\n\n if (options.devMode === true) {\n var message = 'FullStory was initialized in devMode and will stop recording';\n event('FullStory Dev Mode', {\n message_str: message\n });\n shutdown();\n window._fs_dev_mode = true;\n console.warn(message);\n }\n};\n\nvar initOnce = function initOnce(fn, message) {\n return function () {\n if (window._fs_initialized) {\n if (message) console.warn(message);\n return;\n }\n\n fn.apply(void 0, arguments);\n window._fs_initialized = true;\n };\n};\n\nvar init = initOnce(_init, 'FullStory init has already been called once, additional invocations are ignored');\nvar isInitialized = function isInitialized() {\n return !!window._fs_initialized;\n};\n\nexport { anonymize, consent, event, getCurrentSessionURL, identify, init, isInitialized, log, restart, setUserVars, setVars, shutdown };\n","import { isThenable } from './is.js';\n\n/* eslint-disable @typescript-eslint/explicit-function-return-type */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\n/** SyncPromise internal states */\nvar States; (function (States) {\n /** Pending */\n const PENDING = 0; States[States[\"PENDING\"] = PENDING] = \"PENDING\";\n /** Resolved / OK */\n const RESOLVED = 1; States[States[\"RESOLVED\"] = RESOLVED] = \"RESOLVED\";\n /** Rejected / Error */\n const REJECTED = 2; States[States[\"REJECTED\"] = REJECTED] = \"REJECTED\";\n})(States || (States = {}));\n\n// Overloads so we can call resolvedSyncPromise without arguments and generic argument\n\n/**\n * Creates a resolved sync promise.\n *\n * @param value the value to resolve the promise with\n * @returns the resolved sync promise\n */\nfunction resolvedSyncPromise(value) {\n return new SyncPromise(resolve => {\n resolve(value);\n });\n}\n\n/**\n * Creates a rejected sync promise.\n *\n * @param value the value to reject the promise with\n * @returns the rejected sync promise\n */\nfunction rejectedSyncPromise(reason) {\n return new SyncPromise((_, reject) => {\n reject(reason);\n });\n}\n\n/**\n * Thenable class that behaves like a Promise and follows it's interface\n * but is not async internally\n */\nclass SyncPromise {\n\n constructor(\n executor,\n ) {SyncPromise.prototype.__init.call(this);SyncPromise.prototype.__init2.call(this);SyncPromise.prototype.__init3.call(this);SyncPromise.prototype.__init4.call(this);\n this._state = States.PENDING;\n this._handlers = [];\n\n try {\n executor(this._resolve, this._reject);\n } catch (e) {\n this._reject(e);\n }\n }\n\n /** JSDoc */\n then(\n onfulfilled,\n onrejected,\n ) {\n return new SyncPromise((resolve, reject) => {\n this._handlers.push([\n false,\n result => {\n if (!onfulfilled) {\n // TODO: ¯\\_(ツ)_/¯\n // TODO: FIXME\n resolve(result );\n } else {\n try {\n resolve(onfulfilled(result));\n } catch (e) {\n reject(e);\n }\n }\n },\n reason => {\n if (!onrejected) {\n reject(reason);\n } else {\n try {\n resolve(onrejected(reason));\n } catch (e) {\n reject(e);\n }\n }\n },\n ]);\n this._executeHandlers();\n });\n }\n\n /** JSDoc */\n catch(\n onrejected,\n ) {\n return this.then(val => val, onrejected);\n }\n\n /** JSDoc */\n finally(onfinally) {\n return new SyncPromise((resolve, reject) => {\n let val;\n let isRejected;\n\n return this.then(\n value => {\n isRejected = false;\n val = value;\n if (onfinally) {\n onfinally();\n }\n },\n reason => {\n isRejected = true;\n val = reason;\n if (onfinally) {\n onfinally();\n }\n },\n ).then(() => {\n if (isRejected) {\n reject(val);\n return;\n }\n\n resolve(val );\n });\n });\n }\n\n /** JSDoc */\n __init() {this._resolve = (value) => {\n this._setResult(States.RESOLVED, value);\n };}\n\n /** JSDoc */\n __init2() {this._reject = (reason) => {\n this._setResult(States.REJECTED, reason);\n };}\n\n /** JSDoc */\n __init3() {this._setResult = (state, value) => {\n if (this._state !== States.PENDING) {\n return;\n }\n\n if (isThenable(value)) {\n void (value ).then(this._resolve, this._reject);\n return;\n }\n\n this._state = state;\n this._value = value;\n\n this._executeHandlers();\n };}\n\n /** JSDoc */\n __init4() {this._executeHandlers = () => {\n if (this._state === States.PENDING) {\n return;\n }\n\n const cachedHandlers = this._handlers.slice();\n this._handlers = [];\n\n cachedHandlers.forEach(handler => {\n if (handler[0]) {\n return;\n }\n\n if (this._state === States.RESOLVED) {\n handler[1](this._value );\n }\n\n if (this._state === States.REJECTED) {\n handler[2](this._value);\n }\n\n handler[0] = true;\n });\n };}\n}\n\nexport { SyncPromise, rejectedSyncPromise, resolvedSyncPromise };\n//# sourceMappingURL=syncpromise.js.map\n","\n \n\n","","\n \n\n","\n \n\n","\n \n\n","var _path, _path2, _path3, _path4, _path5;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgIconHipaaWarning = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 64 64\"\n}, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M51.009 11.59L34.623 6.44602C32.7296 5.85157 30.6994 5.85157 28.806 6.44602L12.422 11.59C11.723 11.8079 11.1114 12.2426 10.676 12.8312C10.2405 13.4199 10.0038 14.1318 10 14.864V20.994C10.0078 28.0964 11.7337 35.0915 15.0303 41.3825C18.3269 47.6734 23.0965 53.0735 28.932 57.122C29.7335 57.6934 30.6936 58.0001 31.678 57.999C32.6708 58.0169 33.6415 57.7049 34.438 57.112C40.2731 53.0634 45.0441 47.6656 48.3455 41.3775C51.6468 35.0894 53.3808 28.097 53.4 20.995V14.916C53.4541 14.1693 53.2444 13.4272 52.8075 12.8192C52.3705 12.2112 51.734 11.7758 51.009 11.589V11.59Z\",\n fill: \"#008EF9\",\n stroke: \"#13B4FF\",\n strokeWidth: 2.017\n})), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M38.5 16.719C37.396 15.809 36.594 16.037 35.489 18.005C35.2438 18.48 34.8622 18.8708 34.3932 19.1272C33.9242 19.3837 33.3892 19.494 32.857 19.444V19.178C33.3793 18.9273 33.8009 18.5067 34.0528 17.9849C34.3047 17.4632 34.3718 16.8714 34.2433 16.3066C34.1148 15.7417 33.7981 15.2372 33.3453 14.8758C32.8925 14.5145 32.3303 14.3177 31.751 14.3177C31.1717 14.3177 30.6095 14.5145 30.1567 14.8758C29.7039 15.2372 29.3873 15.7417 29.2587 16.3066C29.1302 16.8714 29.1974 17.4632 29.4492 17.9849C29.7011 18.5067 30.1227 18.9273 30.645 19.178V19.448C30.1127 19.4972 29.5779 19.3861 29.1092 19.129C28.6405 18.8718 28.2595 18.4804 28.015 18.005C26.912 16.007 26.11 15.807 25.005 16.719C23.861 17.626 19.438 22.887 14.015 22.394C14.3725 23.1117 14.9609 23.6884 15.6856 24.0316C16.4103 24.3747 17.2293 24.4643 18.011 24.286C18.5595 24.7748 19.2445 25.0839 19.974 25.1717C20.7034 25.2595 21.4422 25.1218 22.091 24.777C22.5877 25.1336 23.179 25.3348 23.7901 25.3553C24.4011 25.3757 25.0046 25.2145 25.524 24.892C25.9863 25.2212 26.5335 25.4105 27.1003 25.4372C27.6672 25.464 28.2298 25.3272 28.721 25.043C29.301 25.44 30.005 25.615 30.704 25.535L30.783 31.629C30.668 31.591 30.555 31.591 30.44 31.55C30.44 31.55 28.61 31.173 26.704 30.643C25.2318 30.3363 23.8251 29.7731 22.548 28.979C22.588 28.94 22.627 28.94 22.662 28.9C22.903 28.785 23.161 28.708 23.426 28.672C24.2577 28.5301 25.0994 28.4548 25.943 28.447C26.6763 28.3464 27.4207 28.3593 28.15 28.485C28.15 28.405 29.219 28.599 29.484 27.539C29.4891 27.5343 29.4932 27.5286 29.4959 27.5222C29.4987 27.5158 29.5001 27.5089 29.5 27.502C29.5 27.4951 29.4986 27.4882 29.4958 27.4819C29.4931 27.4755 29.4891 27.4698 29.484 27.465C29.406 26.745 28.834 26.707 28.381 26.594C27.929 26.5018 27.4644 26.4889 27.008 26.556C25.329 26.669 20.144 26.254 19.497 28.98V29.167C19.724 31.513 24.607 32.537 28.191 33.254C27.6287 33.6148 27.1504 34.0921 26.7885 34.6536C26.4265 35.2152 26.1894 35.8479 26.093 36.509C25.979 37.985 27.16 39.384 29.867 40.937C27.807 42.413 26.434 43.775 26.549 45.402C26.7935 46.3577 27.2589 47.2427 27.9078 47.9858C28.5566 48.7288 29.3709 49.3091 30.285 49.68C29.484 48.5023 28.8908 47.1961 28.531 45.818C28.417 45.018 28.874 43.847 30.895 42.421L30.975 47.416C30.975 47.6181 31.0553 47.8119 31.1982 47.9548C31.3411 48.0977 31.5349 48.178 31.737 48.178C31.9391 48.178 32.1329 48.0977 32.2758 47.9548C32.4187 47.8119 32.499 47.6181 32.499 47.416L32.578 42.533C34.408 43.896 34.828 45.03 34.751 45.788C34.3916 47.1662 33.7984 48.4725 32.997 49.65C33.912 49.2805 34.727 48.7006 35.3761 47.9573C36.0252 47.2141 36.49 46.3284 36.733 45.372C36.847 43.708 35.473 42.345 33.415 40.907C36.16 39.354 37.305 37.955 37.189 36.479C37.082 35.8213 36.8404 35.1928 36.4794 34.6327C36.1184 34.0727 35.6458 33.5931 35.091 33.224C38.638 32.504 43.557 31.484 43.785 29.138V28.95C43.138 26.262 37.951 26.68 36.274 26.526C35.8162 26.496 35.3565 26.5087 34.901 26.564C34.441 26.642 33.871 26.677 33.798 27.434V27.514C33.89 27.7935 34.0692 28.0362 34.3093 28.2063C34.5494 28.3764 34.8378 28.465 35.132 28.459C35.8677 28.3907 36.6075 28.3784 37.345 28.422C38.1876 28.4489 39.028 28.524 39.862 28.647C40.124 28.695 40.38 28.771 40.626 28.873C40.664 28.913 40.74 28.913 40.74 28.953C39.4632 29.7475 38.0563 30.3108 36.584 30.617C35.3476 30.9562 34.1014 31.2586 32.847 31.524C32.8264 31.5217 32.8055 31.5239 32.7858 31.5305C32.7661 31.537 32.7481 31.5478 32.733 31.562L32.812 25.544C33.5108 25.6308 34.2169 25.4555 34.794 25.052C35.2854 25.3362 35.8483 25.473 36.4154 25.4461C36.9824 25.4191 37.5298 25.2296 37.992 24.9C38.5037 25.2252 39.1017 25.3884 39.7076 25.368C40.3136 25.3477 40.8993 25.1448 41.388 24.786C42.0369 25.1306 42.7758 25.2682 43.5052 25.1803C44.2347 25.0923 44.9196 24.783 45.468 24.294C46.2499 24.4725 47.0691 24.3831 47.794 24.0399C48.5189 23.6968 49.1075 23.1199 49.465 22.402C44.034 22.889 39.61 17.626 38.5 16.719ZM29.31 38.259C28.623 37.843 28.311 37.276 28.395 36.897C28.433 36.367 28.244 35.118 30.76 34.171L30.839 39.204C30.352 38.897 29.847 38.557 29.313 38.259H29.31ZM34.801 36.897C34.881 37.276 34.533 37.843 33.886 38.259C33.429 38.524 33.009 38.826 32.589 39.092L32.669 34.283C34.92 35.151 34.767 36.36 34.805 36.891L34.801 36.897Z\",\n fill: \"white\"\n})), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M47 60.334C53.6274 60.334 59 54.9471 59 48.302C59 41.6569 53.6274 36.27 47 36.27C40.3726 36.27 35 41.6569 35 48.302C35 54.9471 40.3726 60.334 47 60.334Z\",\n fill: \"#FF4947\"\n})), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M45 40.28H48.6L48.2 50.829H45.8L45 40.28Z\",\n fill: \"white\"\n})), _path5 || (_path5 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M47 56.285C48.1046 56.285 49 55.4706 49 54.466C49 53.4614 48.1046 52.647 47 52.647C45.8954 52.647 45 53.4614 45 54.466C45 55.4706 45.8954 56.285 47 56.285Z\",\n fill: \"white\"\n})));\nexport default SvgIconHipaaWarning;","\n \n\n","\n \n\n","var _circle, _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgClose = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 40 40\"\n}, props), _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 20,\n cy: 20,\n r: 20,\n fill: \"#E3E5F5\"\n})), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M26.2929 27.7071C26.6834 28.0976 27.3166 28.0976 27.7071 27.7071C28.0976 27.3166 28.0976 26.6834 27.7071 26.2929L21.4142 20L27.7071 13.7071C28.0976 13.3166 28.0976 12.6834 27.7071 12.2929C27.3166 11.9024 26.6834 11.9024 26.2929 12.2929L20 18.5858L13.7071 12.2929C13.3166 11.9024 12.6834 11.9024 12.2929 12.2929C11.9024 12.6834 11.9024 13.3166 12.2929 13.7071L18.5858 20L12.2929 26.2929C11.9024 26.6834 11.9024 27.3166 12.2929 27.7071C12.6834 28.0976 13.3166 28.0976 13.7071 27.7071L20 21.4142L26.2929 27.7071Z\",\n fill: \"#6F76A7\"\n})));\nexport default SvgClose;","\n \n \n\n","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgIconFb = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"24px\",\n height: \"24px\",\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlnsXlink: \"http://www.w3.org/1999/xlink\"\n}, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n stroke: \"none\",\n strokeWidth: 1,\n fill: \"none\",\n fillRule: \"evenodd\"\n}, /*#__PURE__*/React.createElement(\"g\", {\n transform: \"translate(-552.000000, -332.000000)\",\n fill: \"#FFFFFF\"\n}, /*#__PURE__*/React.createElement(\"g\", {\n transform: \"translate(448.000000, 108.000000)\"\n}, /*#__PURE__*/React.createElement(\"g\", {\n transform: \"translate(88.000000, 48.000000)\"\n}, /*#__PURE__*/React.createElement(\"g\", {\n transform: \"translate(0.000000, 160.000000)\"\n}, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M28,16 C34.627417,16 40,21.372583 40,28 C40,34.0950735 35.4558524,39.1288044 29.570608,39.8981421 L29.5703125,31.71875 L32.6992422,31.71875 L33.1676641,28.0859375 L29.5703125,28.0859375 L29.5718914,25.6427048 C29.5966115,24.665022 29.9231963,24.0086797 31.3605391,24.0086797 L31.3605391,24.0086797 L33.2734375,24.0078125 L33.2734375,20.7695938 C32.9830674,20.7310186 32.0751609,20.6506869 30.9653941,20.6312067 L30.9653941,20.6312067 L30.4786328,20.6268828 C27.7134297,20.6268828 25.8203125,22.3148516 25.8203125,25.4147422 L25.8203125,25.4147422 L25.8203125,28.0859375 L22.703125,28.0859375 L22.703125,31.71875 L25.8203125,31.71875 L25.820385,39.8025395 C20.2335827,38.777408 16,33.8831071 16,28 C16,21.372583 21.372583,16 28,16 Z\"\n}))))))));\nexport default SvgIconFb;","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgIconGl = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"24px\",\n height: \"24px\",\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlnsXlink: \"http://www.w3.org/1999/xlink\",\n \"aria-hidden\": \"true\"\n}, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n stroke: \"none\",\n strokeWidth: 1,\n fill: \"none\",\n fillRule: \"evenodd\"\n}, /*#__PURE__*/React.createElement(\"g\", {\n transform: \"translate(-564.000000, -544.000000)\"\n}, /*#__PURE__*/React.createElement(\"g\", {\n transform: \"translate(292.000000, 328.000000)\"\n}, /*#__PURE__*/React.createElement(\"g\", {\n transform: \"translate(256.000000, 200.000000)\"\n}, /*#__PURE__*/React.createElement(\"g\", {\n transform: \"translate(16.000000, 16.000000)\"\n}, /*#__PURE__*/React.createElement(\"circle\", {\n fill: \"#FFFFFF\",\n cx: 12,\n cy: 12,\n r: 12\n}), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19.84375,10.4328124 L19.2,10.4328124 L19.2,10.4 L12,10.4 L12,13.6 L16.5218752,13.6 C15.8609376,15.4625 14.0890624,16.8 12,16.8 C9.3484376,16.8 7.2,14.6515624 7.2,12 C7.2,9.3484376 9.3484376,7.2 12,7.2 C13.2234376,7.2 14.3375,7.6609376 15.1843752,8.4156252 L17.4468752,6.1531252 C16.01875,4.8218752 14.1078124,4 12,4 C7.58125,4 4,7.58125 4,12 C4,16.41875 7.58125,20 12,20 C16.41875,20 20,16.41875 20,12 C20,11.4640624 19.9453124,10.9406252 19.84375,10.4328124 Z\",\n fill: \"#FFC107\",\n fillRule: \"nonzero\"\n}), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M4.9218752,8.2765624 L7.5515624,10.2046876 C8.2625,8.44375 9.9843752,7.2 12,7.2 C13.2234376,7.2 14.3375,7.6609376 15.1843752,8.4156252 L17.4468752,6.1531252 C16.01875,4.8218752 14.1078124,4 12,4 C8.9265624,4 6.2625,5.7343752 4.9218752,8.2765624 Z\",\n fill: \"#FF3D00\",\n fillRule: \"nonzero\"\n}), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12,20 C14.0656252,20 15.94375,19.2093752 17.3640624,17.9234376 L14.8875,15.8281252 C14.0843752,16.4359376 13.0859376,16.8 12,16.8 C9.91875,16.8 8.1531252,15.4734376 7.4875,13.6218752 L4.8781252,15.63125 C6.2015624,18.2218752 8.8906252,20 12,20 Z\",\n fill: \"#4CAF50\",\n fillRule: \"nonzero\"\n}), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19.84375,10.4 L12,10.4 L12,13.6 L16.5218752,13.6 C16.2046876,14.4953124 15.6281252,15.2656252 14.8859376,15.8281252 C14.8875,15.8281252 14.8875,15.8281252 14.8875,15.8281252 L17.3640624,17.9234376 C17.1890624,18.08125 20,16 20,12 C20,11.4640624 19.9453124,10.9078128 19.84375,10.4 Z\",\n fill: \"#1976D2\",\n fillRule: \"nonzero\"\n}))))))));\nexport default SvgIconGl;","\n \n\n","\n \n\n","\n \n\n","\n \n\n","\n \n\n","var _path, _path2, _path3, _path4, _path5;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgIconMs = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\"\n}, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z\",\n fill: \"white\"\n})), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M18.4231 12.583H12.5839V18.4222H18.4231V12.583Z\",\n fill: \"#FEBA08\"\n})), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M11.416 12.583H5.57678V18.4222H11.416V12.583Z\",\n fill: \"#05A6F0\"\n})), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M18.4231 5.57617H12.5839V11.4154H18.4231V5.57617Z\",\n fill: \"#80BC06\"\n})), _path5 || (_path5 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M11.4163 5.57617H5.57703V11.4154H11.4163V5.57617Z\",\n fill: \"#F25325\"\n})));\nexport default SvgIconMs;","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgIconEm = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"24px\",\n height: \"16px\",\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlnsXlink: \"http://www.w3.org/1999/xlink\",\n \"aria-hidden\": \"true\"\n}, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n stroke: \"none\",\n strokeWidth: 1,\n fill: \"none\",\n fillRule: \"evenodd\"\n}, /*#__PURE__*/React.createElement(\"g\", {\n transform: \"translate(-564.000000, -732.000000)\",\n fill: \"#FF8811\",\n fillRule: \"nonzero\"\n}, /*#__PURE__*/React.createElement(\"g\", {\n transform: \"translate(292.000000, 328.000000)\"\n}, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group-2-Copy-2\",\n transform: \"translate(256.000000, 384.000000)\"\n}, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M38.5180432,20.0677432 L28,30.5857864 L17.4819568,20.0677432 C17.6471834,20.0235573 17.8208407,20 18,20 L38,20 C38.1791593,20 38.3528166,20.0235573 38.5180432,20.0677432 Z M39.9322568,21.4819568 C39.9764427,21.6471834 40,21.8208407 40,22 L40,33 C40,33.4631465 39.8950478,33.9017802 39.707629,34.2934155 L33.4142136,28 L39.9322568,21.4819568 L39.9322568,21.4819568 Z M38.2934155,35.707629 C37.9017802,35.8950478 37.4631465,36 37,36 L19,36 C18.5368535,36 18.0982198,35.8950478 17.7065845,35.707629 L24,29.4142136 L27.2928932,32.7071068 C27.6834175,33.0976311 28.3165825,33.0976311 28.7071068,32.7071068 L32,29.4142136 L38.2934155,35.707629 L38.2934155,35.707629 Z M16.292371,34.2934155 C16.1049522,33.9017802 16,33.4631465 16,33 L16,22 C16,21.8208407 16.0235573,21.6471834 16.0677432,21.4819568 L22.5857864,28 L16.292371,34.2934155 L16.292371,34.2934155 Z\",\n id: \"Shape\"\n})))))));\nexport default SvgIconEm;","var _circle, _path, _path2, _path3, _path4;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgIconGl36 = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 36 36\"\n}, props), _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 18.5,\n cy: 18,\n r: 18,\n fill: \"white\"\n})), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M30.8759 18.2751C30.8759 17.2576 30.7916 16.5151 30.6093 15.7451H18.7534V20.3376H25.7125C25.5723 21.4789 24.8146 23.1976 23.1309 24.3525L23.1073 24.5063L26.8559 27.3522L27.1156 27.3776C29.5008 25.2188 30.8759 22.0426 30.8759 18.2751Z\",\n fill: \"#4285F4\"\n})), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M18.7518 30.3758C22.1612 30.3758 25.0234 29.2758 27.114 27.3783L23.1293 24.3532C22.063 25.082 20.6318 25.5907 18.7518 25.5907C15.4125 25.5907 12.5784 23.432 11.5681 20.4482L11.42 20.4606L7.52217 23.4169L7.47119 23.5557C9.54769 27.5982 13.813 30.3758 18.7518 30.3758Z\",\n fill: \"#34A853\"\n})), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M11.5695 20.4475C11.303 19.6775 11.1487 18.8525 11.1487 18C11.1487 17.1475 11.303 16.3225 11.5555 15.5525L11.5485 15.3885L7.60177 12.3848L7.47264 12.445C6.61681 14.1225 6.12573 16.0063 6.12573 18C6.12573 19.9938 6.61681 21.8774 7.47264 23.555L11.5695 20.4475Z\",\n fill: \"#FBBC05\"\n})), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M18.7519 10.4109C21.123 10.4109 22.7225 11.4147 23.6345 12.2535L27.1983 8.84348C25.0095 6.84973 22.1612 5.62598 18.7519 5.62598C13.813 5.62598 9.5477 8.40346 7.47119 12.4459L11.5541 15.5535C12.5784 12.5697 15.4126 10.4109 18.7519 10.4109Z\",\n fill: \"#EB4335\"\n})));\nexport default SvgIconGl36;","var _circle, _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgIconFb36 = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 37 36\"\n}, props), _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 18.4999,\n cy: 18.0002,\n r: 14.6496,\n fill: \"#1877F2\"\n})), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M23.9554 22.4803L24.6062 18.3455H20.5353V15.6635C20.5353 14.532 21.1029 13.4285 22.9263 13.4285H24.7782V9.90828C24.7782 9.90828 23.0982 9.62891 21.4928 9.62891C18.1387 9.62891 15.9484 11.6097 15.9484 15.1941V18.3455H12.2214V22.4803H15.9484V32.4765C16.6966 32.591 17.462 32.6497 18.2418 32.6497C19.0216 32.6497 19.7871 32.591 20.5353 32.4765V22.4803H23.9554Z\",\n fill: \"white\"\n})));\nexport default SvgIconFb36;","\n \n \n\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgIconAppleWhite = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n viewBox: \"0 0 22 27\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M18.361 14.3443C18.3989 18.4302 21.9454 19.7899 21.9847 19.8073C21.9547 19.9032 21.418 21.745 20.1162 23.6474C18.9909 25.2922 17.8229 26.931 15.983 26.9649C14.1752 26.9982 13.5938 25.8928 11.5269 25.8928C9.46063 25.8928 8.81475 26.931 7.10339 26.9982C5.32743 27.0654 3.97506 25.2196 2.84036 23.5809C0.521733 20.2287 -1.25018 14.1086 1.12905 9.97732C2.311 7.92574 4.42323 6.62659 6.71587 6.59328C8.45982 6.56001 10.1059 7.76655 11.172 7.76655C12.2374 7.76655 14.2377 6.31558 16.3406 6.52868C17.221 6.56532 19.6921 6.88428 21.2789 9.20691C21.151 9.28617 18.3303 10.9282 18.361 14.3443V14.3443ZM14.9633 4.31095C15.9061 3.16965 16.5407 1.58085 16.3676 0C15.0085 0.0546226 13.3651 0.905649 12.3903 2.04633C11.5166 3.05645 10.7515 4.67321 10.958 6.22277C12.4728 6.33998 14.0204 5.45299 14.9633 4.31096\",\n fill: \"white\"\n})));\nexport default SvgIconAppleWhite;","var _rect, _rect2, _rect3, _rect4;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgIconMs36 = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 36 36\"\n}, props), _rect || (_rect = /*#__PURE__*/React.createElement(\"rect\", {\n x: 19.8198,\n y: 19.125,\n width: 11.25,\n height: 11.25,\n fill: \"#FEBA08\"\n})), _rect2 || (_rect2 = /*#__PURE__*/React.createElement(\"rect\", {\n x: 6.31982,\n y: 19.125,\n width: 11.25,\n height: 11.25,\n fill: \"#05A6F0\"\n})), _rect3 || (_rect3 = /*#__PURE__*/React.createElement(\"rect\", {\n x: 19.8198,\n y: 5.625,\n width: 11.25,\n height: 11.25,\n fill: \"#80BC06\"\n})), _rect4 || (_rect4 = /*#__PURE__*/React.createElement(\"rect\", {\n x: 6.31982,\n y: 5.625,\n width: 11.25,\n height: 11.25,\n fill: \"#F25325\"\n})));\nexport default SvgIconMs36;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgIconAp36 = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 36 36\"\n}, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M29.7684 13.7093C29.6395 13.7845 26.5705 15.3717 26.5705 18.8908C26.7152 22.904 30.4434 24.3115 30.5073 24.3115C30.4434 24.3867 29.9445 26.2287 28.4666 28.1597C27.2937 29.823 25.9919 31.5 24.0152 31.5C22.1348 31.5 21.4598 30.3914 19.2901 30.3914C16.9601 30.3914 16.3008 31.5 14.5169 31.5C12.5401 31.5 11.1419 29.7331 9.9051 28.0854C8.2983 25.9289 6.93257 22.5446 6.88436 19.2951C6.85187 17.5732 7.20614 15.8806 8.10544 14.4428C9.37474 12.4357 11.6408 11.0732 14.1155 11.0283C16.0116 10.9687 17.6991 12.2414 18.8562 12.2414C19.9651 12.2414 22.0384 11.0283 24.3841 11.0283C25.3966 11.0293 28.0966 11.3135 29.7684 13.7093ZM18.6958 10.6845C18.3583 9.112 19.2901 7.5395 20.158 6.53643C21.2669 5.32336 23.0184 4.5 24.5287 4.5C24.6252 6.07249 24.0141 7.61471 22.9219 8.73792C21.9419 9.95098 20.2544 10.8642 18.6958 10.6845Z\",\n fill: \"black\"\n})));\nexport default SvgIconAp36;","var _circle, _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgIconBack3 = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 16 16\"\n}, props), _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 8,\n cy: 8,\n r: 8,\n fill: \"#8A94A9\"\n})), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M9 6L7 8.5 9 11\",\n stroke: \"#fff\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n})));\nexport default SvgIconBack3;","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgIconBack = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"16px\",\n height: \"16px\",\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlnsXlink: \"http://www.w3.org/1999/xlink\"\n}, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n id: \"Page-1\",\n stroke: \"none\",\n strokeWidth: 1,\n fill: \"none\",\n fillRule: \"evenodd\"\n}, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Artboard-Copy-9\",\n transform: \"translate(-548.000000, -321.000000)\"\n}, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group-5\",\n transform: \"translate(292.000000, 269.000000)\"\n}, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group-2\",\n transform: \"translate(256.000000, 48.000000)\"\n}, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group\"\n}, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group-6\",\n transform: \"translate(0.000000, 4.000000)\"\n}, /*#__PURE__*/React.createElement(\"circle\", {\n id: \"Oval\",\n stroke: \"#CFD8DC\",\n cx: 8,\n cy: 8,\n r: 7.5\n}), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M4,8 L12,8\",\n id: \"Path-2\",\n stroke: \"#607D8B\"\n}), /*#__PURE__*/React.createElement(\"polyline\", {\n id: \"Path-3\",\n stroke: \"#607D8B\",\n points: \"7 5 4 8 7 11\"\n})))))))));\nexport default SvgIconBack;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgAuth0LogoIcon = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n viewBox: \"0 0 32 32\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, props), /*#__PURE__*/React.createElement(\"g\", {\n style: {\n mixBlendMode: \"darken\"\n },\n fill: \"#000\"\n}, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M5.95 14.158c4.59-.756 8.186-4.552 8.943-9.14l.253-2.207c.061-.351-.175-.838-.619-.804-3.47.27-6.739 1.414-8.563 2.16A2.402 2.402 0 0 0 4.47 6.39v7.197c0 .428.382.75.804.683l.675-.11v-.002ZM17.106 5.015c.756 4.592 4.352 8.384 8.943 9.14l.675.11a.691.691 0 0 0 .804-.683V6.385c0-.976-.59-1.853-1.493-2.224C24.213 3.416 20.94 2.27 17.47 2c-.444-.033-.674.459-.621.805l.253 2.207.003.002ZM26.046 16.171c-6.273 1.237-9.185 5.406-9.185 13.3 0 .397.393.67.722.45 2.885-1.945 9.233-7.022 9.888-13.376.026-.801-.975-.425-1.425-.374ZM5.952 16.171c6.272 1.237 9.185 5.407 9.185 13.301 0 .396-.394.669-.723.45-2.884-1.946-9.233-7.023-9.888-13.377-.025-.801.976-.425 1.426-.374Z\"\n}))));\nexport default SvgAuth0LogoIcon;","var _path, _path2, _path3, _path4, _defs;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgAzureLogoIcon = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n viewBox: \"0 0 32 32\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M11.049 2h8.792l-9.127 27.045c-.193.57-.727.953-1.329.953H2.543a1.4 1.4 0 0 1-1.327-1.848L9.72 2.954c.193-.57.727-.954 1.329-.954Z\",\n fill: \"url(#a)\"\n})), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M23.827 20.14H9.885a.646.646 0 0 0-.441 1.118l8.96 8.363c.26.243.604.378.96.378h7.896l-3.433-9.858Z\",\n fill: \"#0078D4\"\n})), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M11.048 2a1.391 1.391 0 0 0-1.331.972L1.226 28.13a1.399 1.399 0 0 0 1.32 1.87h7.02a1.501 1.501 0 0 0 1.152-.979l1.693-4.99 6.048 5.64c.253.21.571.327.9.33h7.866l-3.45-9.86-10.057.003L19.873 2h-8.825Z\",\n fill: \"url(#b)\"\n})), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M22.28 2.953A1.4 1.4 0 0 0 20.955 2h-9.8a1.4 1.4 0 0 1 1.326.952l8.505 25.198A1.4 1.4 0 0 1 19.66 30h9.8a1.4 1.4 0 0 0 1.326-1.849L22.28 2.953Z\",\n fill: \"url(#c)\"\n})), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"a\",\n x1: 14.254,\n y1: 4.075,\n x2: 5.122,\n y2: 31.051,\n gradientUnits: \"userSpaceOnUse\"\n}, /*#__PURE__*/React.createElement(\"stop\", {\n stopColor: \"#114A8B\"\n}), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopColor: \"#0669BC\"\n})), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"b\",\n x1: 17.105,\n y1: 16.646,\n x2: 14.993,\n y2: 17.36,\n gradientUnits: \"userSpaceOnUse\"\n}, /*#__PURE__*/React.createElement(\"stop\", {\n stopOpacity: 0.3\n}), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.071,\n stopOpacity: 0.2\n}), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.321,\n stopOpacity: 0.1\n}), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.623,\n stopOpacity: 0.05\n}), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopOpacity: 0\n})), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"c\",\n x1: 16.011,\n y1: 3.263,\n x2: 26.034,\n y2: 29.968,\n gradientUnits: \"userSpaceOnUse\"\n}, /*#__PURE__*/React.createElement(\"stop\", {\n stopColor: \"#3CCBF4\"\n}), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopColor: \"#2892DF\"\n})))));\nexport default SvgAzureLogoIcon;","var _path, _path2, _path3, _path4;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgGoogleLogoIcon = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n viewBox: \"0 0 32 32\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M29.728 13.258H28.6V13.2H16v5.6h7.913c-1.155 3.26-4.256 5.6-7.912 5.6a8.4 8.4 0 0 1 0-16.8c2.14 0 4.089.808 5.572 2.127l3.96-3.96C23.033 3.437 19.688 2 16.001 2 8.269 2 2 8.268 2 16c0 7.731 6.268 14 14 14 7.731 0 14-6.269 14-14 0-.939-.097-1.855-.273-2.742Z\",\n fill: \"#FFC107\"\n})), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"m3.615 9.484 4.6 3.373A8.396 8.396 0 0 1 16 7.6c2.141 0 4.09.808 5.572 2.127l3.96-3.96C23.033 3.437 19.688 2 16.001 2 10.623 2 5.96 5.036 3.615 9.484Z\",\n fill: \"#FF3D00\"\n})), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M16 29.999c3.616 0 6.902-1.384 9.386-3.634l-4.332-3.667A8.337 8.337 0 0 1 16 24.399c-3.641 0-6.733-2.322-7.898-5.562l-4.565 3.517C5.854 26.888 10.56 30 16 30Z\",\n fill: \"#4CAF50\"\n})), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M29.727 13.258H28.6V13.2H16v5.6h7.912a8.428 8.428 0 0 1-2.86 3.9l.001-.002 4.333 3.667C25.08 26.643 30 23 30 16c0-.938-.097-1.855-.273-2.742Z\",\n fill: \"#1976D2\"\n})));\nexport default SvgGoogleLogoIcon;","var _path, _path2, _path3, _path4;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgMicrosoftLogoIcon = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n viewBox: \"0 0 32 32\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M14.444 14.444H2V1.999h12.445v12.445Z\",\n fill: \"#FF5722\"\n})), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M30.001 14.444H17.556V1.999h12.445v12.445Z\",\n fill: \"#4CAF50\"\n})), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M30.001 30H17.556V17.555h12.445V30Z\",\n fill: \"#FFC107\"\n})), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M14.444 30H2V17.555h12.445V30Z\",\n fill: \"#03A9F4\"\n})));\nexport default SvgMicrosoftLogoIcon;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgOktaLogoIcon = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n viewBox: \"0 0 32 32\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"m17.405 2.194-.576 7.094a7.23 7.23 0 0 0-.825-.047c-.35 0-.693.023-1.028.078L14.65 5.88a.188.188 0 0 1 .186-.202h.584l-.28-3.477c-.008-.109.078-.202.179-.202h1.907c.109 0 .194.093.179.202v-.008Zm-4.81.35c-.031-.1-.14-.163-.241-.124l-1.79.653c-.102.04-.148.156-.102.25l1.456 3.173-.553.202c-.101.039-.148.155-.101.249l1.487 3.119a6.673 6.673 0 0 1 1.735-.662l-1.883-6.86h-.008ZM8.205 4.52l4.117 5.802a6.744 6.744 0 0 0-1.4 1.214L8.454 9.109a.188.188 0 0 1 .008-.272l.452-.374-2.452-2.48a.182.182 0 0 1 .015-.273l1.456-1.221a.18.18 0 0 1 .264.031h.008ZM4.75 7.88c-.086-.062-.21-.031-.265.062l-.95 1.65a.184.184 0 0 0 .078.256l3.16 1.493-.296.506a.179.179 0 0 0 .086.256l3.144 1.44c.226-.584.53-1.129.903-1.619L4.75 7.88Zm-2.328 4.48c.016-.109.125-.171.226-.148l6.888 1.797a6.808 6.808 0 0 0-.296 1.835l-3.447-.28a.18.18 0 0 1-.164-.217l.101-.576-3.479-.327c-.109-.007-.179-.108-.163-.217l.327-1.875.007.008Zm-.256 4.651c-.11.008-.18.109-.164.218l.335 1.874c.015.11.124.171.226.148l3.377-.879.102.576c.015.109.124.17.225.148l3.331-.918a6.736 6.736 0 0 1-.35-1.82l-7.09.653h.008Zm1.105 4.931a.184.184 0 0 1 .078-.256l6.428-3.05c.242.576.569 1.113.958 1.595l-2.818 2.007a.183.183 0 0 1-.264-.055l-.296-.513-2.872 1.983c-.086.063-.21.031-.265-.062l-.957-1.649h.008Zm7.79-1.338-5.004 5.064a.182.182 0 0 0 .016.272l1.463 1.221a.18.18 0 0 0 .265-.031l2.023-2.847.452.381c.085.07.21.055.272-.038l1.961-2.847a6.99 6.99 0 0 1-1.44-1.175h-.007Zm-.988 8.128a.182.182 0 0 1-.101-.249l2.965-6.47c.545.28 1.137.49 1.752.606l-.872 3.344a.184.184 0 0 1-.241.125l-.553-.202-.926 3.367c-.031.101-.14.164-.242.125l-1.79-.654.008.008Zm5.106-6.028-.576 7.094c-.008.109.078.202.179.202h1.907a.178.178 0 0 0 .179-.202l-.28-3.477h.583a.188.188 0 0 0 .187-.202l-.327-3.438a6.384 6.384 0 0 1-1.027.078c-.28 0-.553-.016-.825-.055Zm6.865-19.203a.18.18 0 0 0-.102-.249l-1.79-.653c-.1-.039-.21.023-.241.124l-.926 3.368-.553-.202c-.101-.039-.21.023-.241.124l-.872 3.345a6.963 6.963 0 0 1 1.751.606l2.974-6.463Zm3.907 2.823-5.005 5.064a6.792 6.792 0 0 0-1.44-1.175l1.962-2.846a.19.19 0 0 1 .272-.04l.451.382 2.024-2.847a.18.18 0 0 1 .265-.03l1.463 1.22c.085.07.085.195.015.272h-.007Zm2.708 3.983a.178.178 0 0 0 .078-.257l-.957-1.649a.192.192 0 0 0-.265-.062l-2.872 1.983-.296-.505c-.054-.094-.179-.125-.264-.055l-2.818 2.007c.39.482.709 1.019.958 1.594l6.428-3.049.008-.007Zm1.012 2.582.327 1.874a.188.188 0 0 1-.164.218l-7.09.661a6.676 6.676 0 0 0-.35-1.82l3.33-.918a.179.179 0 0 1 .227.148l.1.576 3.379-.88c.1-.022.21.04.225.149l.016-.008Zm-.32 6.883c.102.024.211-.039.227-.148l.326-1.874a.188.188 0 0 0-.163-.218l-3.479-.326.101-.576a.188.188 0 0 0-.163-.218l-3.448-.28a6.81 6.81 0 0 1-.296 1.836l6.888 1.796.008.008Zm-1.836 4.278a.191.191 0 0 1-.265.062l-5.86-4.044c.373-.49.677-1.035.903-1.618l3.144 1.439a.18.18 0 0 1 .086.257l-.296.505 3.16 1.493a.184.184 0 0 1 .078.257l-.95 1.649Zm-7.838-2.388 4.118 5.802a.18.18 0 0 0 .264.032l1.456-1.222a.188.188 0 0 0 .015-.272l-2.451-2.48.451-.374a.182.182 0 0 0 .008-.272l-2.467-2.427c-.413.467-.88.879-1.401 1.213h.007Zm-.038 7.902c-.102.04-.21-.023-.242-.124l-1.883-6.86a6.677 6.677 0 0 0 1.735-.661l1.487 3.119c.047.1 0 .218-.101.249l-.553.202 1.456 3.173a.18.18 0 0 1-.102.25l-1.79.652h-.007Z\",\n fill: \"#000\"\n})));\nexport default SvgOktaLogoIcon;","\n \n\n","\n \n\n","\n \n\n","\n \n\n","\n \n\n","\n \n\n","var _rect, _path, _path2;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgIconSf36 = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n viewBox: \"0 0 36 36\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, props), _rect || (_rect = /*#__PURE__*/React.createElement(\"rect\", {\n x: 5.625,\n y: 14.625,\n width: 25.875,\n height: 7.875,\n fill: \"white\"\n})), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M22.7745 17.46C22.8945 17.6385 22.9545 17.892 22.9545 18.216C22.9545 18.5385 22.8945 18.795 22.7745 18.975C22.6545 19.1535 22.4745 19.2405 22.224 19.2405C21.972 19.2405 21.7935 19.1535 21.6765 18.975C21.5565 18.795 21.4965 18.54 21.4965 18.216C21.4965 17.892 21.5565 17.6385 21.6765 17.46C21.7935 17.283 21.972 17.1975 22.224 17.1975C22.4745 17.1975 22.6545 17.283 22.7745 17.46ZM30.5145 17.9055H29.1495C29.1678 17.7477 29.22 17.5957 29.3025 17.46C29.3618 17.3701 29.4438 17.2973 29.5402 17.2492C29.6366 17.201 29.7439 17.179 29.8515 17.1855C30.102 17.1855 30.267 17.283 30.387 17.46C30.4662 17.5954 30.5101 17.7487 30.5145 17.9055ZM15.195 17.9055H13.83C13.8487 17.7476 13.9014 17.5956 13.9845 17.46C14.0436 17.3702 14.1253 17.2975 14.2214 17.2493C14.3176 17.2011 14.4247 17.1791 14.532 17.1855C14.7825 17.1855 14.949 17.283 15.0675 17.46C15.1463 17.5956 15.1901 17.7487 15.195 17.9055ZM10.257 19.254C9.867 19.2765 9.6945 19.143 9.696 19.143C9.65195 19.1143 9.6146 19.0764 9.5865 19.032C9.54328 18.957 9.52295 18.8709 9.528 18.7845C9.528 18.6195 9.585 18.4995 9.699 18.42C9.699 18.42 9.864 18.2775 10.254 18.2835C10.5285 18.2865 10.773 18.327 10.773 18.327V19.1865C10.773 19.1865 10.53 19.2375 10.257 19.254Z\",\n fill: \"#138ED8\"\n})), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M19.4175 8.214C17.7795 8.214 16.2975 8.895 15.2325 9.99C14.6325 9.21343 13.8615 8.58566 12.9795 8.1555C12.0943 7.7232 11.1221 7.49899 10.137 7.5C6.597 7.5 3.7275 10.332 3.7275 13.8255C3.7275 14.691 3.906 15.5475 4.254 16.3425C3.41637 16.8272 2.72027 17.5227 2.235 18.36C1.70606 19.2811 1.45489 20.3355 1.51177 21.3962C1.56865 22.4568 1.93116 23.4784 2.55557 24.3376C3.17998 25.1969 4.03964 25.8571 5.03087 26.2388C6.0221 26.6204 7.10258 26.7071 8.142 26.4885C8.56884 27.619 9.33075 28.5923 10.3258 29.278C11.3208 29.9637 12.5016 30.3291 13.71 30.3255C14.8699 30.3287 16.0053 29.992 16.9759 29.357C17.9465 28.722 18.7098 27.8165 19.1715 26.7525C19.8585 27.0855 20.631 27.27 21.447 27.27C23.397 27.27 25.095 26.2095 25.986 24.639C26.439 24.729 26.907 24.7755 27.3885 24.7755C29.2717 24.7779 31.0787 24.0323 32.4123 22.7027C33.7459 21.373 34.4968 19.5682 34.5 17.685C34.4986 16.7523 34.3135 15.829 33.9553 14.9678C33.5971 14.1066 33.0728 13.3244 32.4123 12.6658C31.7518 12.0073 30.968 11.4853 30.1058 11.1296C29.2436 10.774 28.3197 10.5916 27.387 10.593C26.3958 10.591 25.4152 10.797 24.5085 11.1975C24.0002 10.2939 23.261 9.54145 22.3665 9.01724C21.472 8.49303 20.4543 8.21583 19.4175 8.214ZM6.4125 18.972L6.2805 19.338C6.264 19.383 6.2805 19.398 6.2895 19.407L6.294 19.4115C6.3405 19.446 6.387 19.4715 6.435 19.497L6.483 19.524C6.819 19.701 7.137 19.752 7.47 19.752C8.145 19.752 8.5665 19.3965 8.5665 18.8235V18.813C8.5665 18.2835 8.0925 18.09 7.647 17.9505L7.59 17.934C7.254 17.826 6.9645 17.7315 6.9645 17.514V17.502C6.9645 17.316 7.1325 17.178 7.3965 17.178C7.6965 17.184 7.9905 17.259 8.256 17.3955C8.256 17.3955 8.322 17.4375 8.346 17.3745L8.4825 17.0085C8.496 16.974 8.4735 16.9485 8.451 16.9335C8.15573 16.7639 7.82103 16.6749 7.4805 16.6755H7.413C6.7935 16.6755 6.36 17.046 6.36 17.5755V17.5875C6.36 18.147 6.8385 18.3285 7.284 18.453L7.356 18.477C7.6815 18.5745 7.9635 18.66 7.9635 18.8865V18.897C7.9635 19.1055 7.7805 19.2585 7.4865 19.2585C7.3725 19.2585 7.008 19.257 6.615 19.011C6.588 18.996 6.57 18.9825 6.5505 18.9705C6.53473 18.9601 6.51872 18.9501 6.5025 18.9405C6.483 18.93 6.435 18.9105 6.4125 18.972ZM16.323 18.972L16.1895 19.338C16.173 19.383 16.1895 19.398 16.1985 19.407L16.2045 19.4115C16.2495 19.446 16.2975 19.4715 16.344 19.497L16.392 19.524C16.728 19.701 17.046 19.752 17.379 19.752C18.0555 19.752 18.477 19.3965 18.477 18.8235V18.813C18.477 18.2835 18.0015 18.09 17.5575 17.9505L17.499 17.934C17.163 17.826 16.8735 17.7315 16.8735 17.514V17.502C16.8735 17.316 17.043 17.178 17.3055 17.178C17.6055 17.184 17.8995 17.259 18.1665 17.3955C18.1665 17.3955 18.231 17.4375 18.2565 17.3745L18.393 17.0085C18.4065 16.974 18.3825 16.9485 18.3615 16.9335C18.0657 16.7638 17.7305 16.6748 17.3895 16.6755H17.322C16.7025 16.6755 16.2705 17.046 16.2705 17.5755V17.5875C16.2705 18.147 16.7475 18.3285 17.1945 18.453L17.2665 18.477C17.592 18.5745 17.874 18.66 17.874 18.8865V18.897C17.874 19.1055 17.6895 19.2585 17.397 19.2585C17.0592 19.2619 16.7288 19.1596 16.452 18.966L16.4115 18.942C16.3995 18.9345 16.3425 18.912 16.323 18.972ZM23.6025 18.216C23.6025 18.0015 23.5755 17.8005 23.52 17.616C23.4722 17.4383 23.3855 17.2735 23.2661 17.1334C23.1468 16.9933 22.9978 16.8815 22.83 16.806C22.6391 16.7224 22.4323 16.6815 22.224 16.686C22.0157 16.6815 21.8089 16.7224 21.618 16.806C21.4501 16.8814 21.3011 16.9932 21.1817 17.1333C21.0624 17.2734 20.9757 17.4383 20.928 17.616C20.8709 17.8108 20.8426 18.013 20.844 18.216C20.8425 18.4185 20.8695 18.621 20.9265 18.816C20.9732 18.994 21.0596 19.1592 21.179 19.2992C21.2985 19.4392 21.448 19.5504 21.6165 19.6245C21.8083 19.7065 22.0155 19.7464 22.224 19.7415C22.4315 19.7459 22.6376 19.706 22.8285 19.6245C22.9974 19.5504 23.1473 19.439 23.2671 19.2988C23.3868 19.1585 23.4733 18.9929 23.52 18.8145C23.5755 18.6315 23.6025 18.4305 23.6025 18.2145V18.216ZM28.299 19.533L28.161 19.1535C28.1415 19.0995 28.089 19.119 28.089 19.119C28.0044 19.1533 27.9164 19.1785 27.8265 19.194C27.732 19.209 27.627 19.2165 27.516 19.2165C27.3978 19.2226 27.2796 19.2045 27.1687 19.1632C27.0577 19.122 26.9564 19.0584 26.871 18.9765C26.7135 18.8175 26.625 18.561 26.6265 18.2145C26.6265 17.8965 26.706 17.6595 26.844 17.478C26.9805 17.298 27.192 17.2065 27.471 17.2065C27.7035 17.2065 27.882 17.232 28.068 17.2905C28.068 17.2905 28.113 17.3085 28.134 17.2515L28.1835 17.115L28.2735 16.8705C28.2885 16.8255 28.251 16.809 28.2375 16.8045C27.98 16.7161 27.7087 16.6744 27.4365 16.6815C27.1995 16.6815 26.9865 16.722 26.8065 16.8015C26.6338 16.876 26.4792 16.987 26.3534 17.1268C26.2276 17.2666 26.1335 17.4319 26.0775 17.6115C26.0143 17.8062 25.9829 18.0098 25.9845 18.2145C25.9845 18.6765 26.112 19.05 26.3595 19.3245C26.6115 19.6005 26.9865 19.74 27.477 19.74C27.765 19.74 28.062 19.68 28.2765 19.599C28.2765 19.599 28.317 19.5795 28.299 19.533ZM31.1085 18.318C31.1175 18.261 31.1685 17.9115 31.0515 17.511C31.0031 17.3475 30.9197 17.1965 30.807 17.0685C30.7057 16.9529 30.5816 16.8594 30.4425 16.794C30.2696 16.7214 30.084 16.6841 29.8965 16.6845C29.6565 16.6845 29.439 16.725 29.2635 16.806C29.093 16.8825 28.9417 16.9962 28.8208 17.1386C28.6998 17.2811 28.6123 17.4488 28.5645 17.6295C28.5074 17.8254 28.4791 18.0285 28.4805 18.2325C28.4805 18.4365 28.509 18.6405 28.5675 18.8355C28.6239 19.0175 28.7216 19.1839 28.853 19.3219C28.9844 19.4598 29.146 19.5654 29.325 19.6305C29.5185 19.7055 29.7525 19.743 30.0195 19.7415C30.573 19.7415 30.864 19.6185 30.984 19.5525C31.005 19.5405 31.0245 19.521 30.999 19.4625L30.8745 19.1175C30.855 19.065 30.8025 19.083 30.8025 19.083C30.79 19.0879 30.7775 19.0929 30.765 19.098C30.6285 19.149 30.4305 19.224 30.018 19.2225C29.721 19.2225 29.5005 19.1355 29.3625 19.0005C29.2215 18.8625 29.1525 18.66 29.1405 18.372L31.053 18.3735C31.053 18.3735 31.104 18.3735 31.1085 18.324V18.318ZM15.7905 18.318C15.7995 18.261 15.849 17.913 15.732 17.511C15.686 17.3559 15.6082 17.2121 15.5036 17.0886C15.399 16.9652 15.2699 16.8649 15.1245 16.794C14.9512 16.7212 14.765 16.684 14.577 16.6845C14.3602 16.6793 14.1449 16.7208 13.9455 16.806C13.7752 16.8829 13.6242 16.9966 13.5033 17.139C13.3824 17.2815 13.2947 17.449 13.2465 17.6295C13.1896 17.8254 13.1613 18.0285 13.1625 18.2325C13.1595 18.4365 13.1895 18.6405 13.2495 18.8355C13.3035 19.0155 13.3995 19.179 13.5255 19.3155C13.6605 19.4565 13.8255 19.5645 14.007 19.6305C14.199 19.7055 14.433 19.743 14.7015 19.7415C15.2535 19.7415 15.5445 19.6185 15.6645 19.5525C15.6855 19.5405 15.7065 19.521 15.681 19.4625L15.5565 19.1175C15.537 19.065 15.4845 19.083 15.4845 19.083L15.447 19.098C15.312 19.149 15.1125 19.224 14.6985 19.2225C14.4015 19.2225 14.1825 19.1355 14.0445 19.0005C13.9035 18.8625 13.8345 18.66 13.821 18.372L15.735 18.3735C15.735 18.3735 15.7845 18.3735 15.7905 18.324V18.318ZM10.773 17.853C10.608 17.829 10.458 17.8155 10.458 17.8155C10.3581 17.8088 10.2581 17.8058 10.158 17.8065C9.9945 17.8065 9.837 17.8275 9.687 17.8665C9.54422 17.9034 9.40913 17.9654 9.288 18.0495C9.17269 18.1307 9.07771 18.2375 9.0105 18.3615C8.94072 18.4957 8.90565 18.6453 8.9085 18.7965C8.9085 18.9645 8.9385 19.11 8.997 19.2285C9.05406 19.3462 9.13966 19.4478 9.246 19.524C9.36346 19.6052 9.49611 19.6618 9.636 19.6905C9.786 19.725 9.9555 19.7415 10.1415 19.7415C10.3365 19.7415 10.5315 19.7265 10.722 19.695C10.911 19.6635 11.142 19.617 11.205 19.602L11.3385 19.5675C11.3865 19.557 11.3835 19.5075 11.3835 19.5075L11.3805 17.778C11.3805 17.3985 11.2785 17.118 11.0775 16.9425C10.8765 16.77 10.581 16.6815 10.1985 16.6815C10.0265 16.6832 9.85497 16.6987 9.6855 16.728C9.6855 16.728 9.2685 16.809 9.096 16.941C9.096 16.941 9.0585 16.965 9.081 17.016L9.216 17.376C9.231 17.4225 9.2775 17.406 9.2775 17.406C9.2775 17.406 9.2925 17.4015 9.3075 17.391C9.6765 17.193 10.143 17.199 10.143 17.199C10.3096 17.1884 10.4752 17.2315 10.6155 17.322C10.7205 17.4015 10.773 17.52 10.773 17.772V17.8515V17.853ZM25.74 17.238C25.7915 17.0996 25.8415 16.9606 25.89 16.821C25.8898 16.8142 25.8882 16.8075 25.8854 16.8013C25.8825 16.7952 25.8785 16.7896 25.8735 16.785C25.8689 16.7799 25.8633 16.7758 25.857 16.773C25.752 16.7445 25.6445 16.7264 25.536 16.719C25.3669 16.7009 25.196 16.7283 25.041 16.7985C24.9166 16.8508 24.8062 16.9314 24.7185 17.034V16.803C24.7187 16.7956 24.7174 16.7882 24.7147 16.7813C24.712 16.7744 24.708 16.7681 24.7028 16.7628C24.6976 16.7575 24.6914 16.7532 24.6846 16.7504C24.6778 16.7475 24.6704 16.746 24.663 16.746H24.174C24.1666 16.746 24.1592 16.7475 24.1524 16.7504C24.1456 16.7532 24.1394 16.7575 24.1342 16.7628C24.129 16.7681 24.125 16.7744 24.1223 16.7813C24.1196 16.7882 24.1183 16.7956 24.1185 16.803V19.623C24.1185 19.6305 24.1185 19.638 24.123 19.644C24.1278 19.6543 24.1354 19.663 24.145 19.6691C24.1546 19.6752 24.1657 19.6784 24.177 19.6785H24.6795C24.687 19.6785 24.6945 19.6785 24.702 19.6755C24.7125 19.671 24.7214 19.6634 24.7276 19.6538C24.7337 19.6442 24.7368 19.6329 24.7365 19.6215V18.2145C24.7365 18.0255 24.759 17.8365 24.801 17.7195C24.8341 17.6145 24.8917 17.5189 24.969 17.4405C25.035 17.3752 25.1158 17.3268 25.2045 17.2995C25.3561 17.2567 25.5161 17.2531 25.6695 17.289C25.7085 17.2935 25.7295 17.271 25.74 17.238ZM21.2025 15.6C21.2175 15.558 21.1815 15.54 21.168 15.534C21.0221 15.4899 20.8704 15.4681 20.718 15.4695C20.373 15.4695 20.1 15.567 19.908 15.7575C19.7175 15.9465 19.5885 16.236 19.524 16.6155L19.5 16.743H19.0665C19.0665 16.743 19.014 16.74 19.002 16.797L18.9315 17.19C18.9255 17.229 18.9435 17.2515 18.993 17.2515H19.416L18.987 19.6185C18.9616 19.7763 18.9235 19.9318 18.873 20.0835C18.8424 20.18 18.7968 20.2711 18.738 20.3535C18.6957 20.4151 18.6347 20.4614 18.564 20.4855C18.4417 20.5245 18.311 20.5297 18.186 20.5005C18.1504 20.4942 18.1156 20.4836 18.0825 20.469C18.0825 20.469 18.033 20.4495 18.0135 20.499L17.871 20.883C17.8575 20.9205 17.877 20.9505 17.901 20.958C18.0463 21.0142 18.2013 21.0407 18.357 21.036C18.5161 21.0384 18.6743 21.0136 18.825 20.9625C18.9613 20.9121 19.0829 20.8286 19.179 20.7195C19.2891 20.5963 19.3738 20.4526 19.428 20.2965C19.503 20.0895 19.5585 19.8765 19.596 19.662L20.0265 17.2515H20.6565C20.6565 17.2515 20.709 17.2545 20.721 17.196L20.7915 16.8045C20.7975 16.767 20.781 16.743 20.7285 16.743H20.118L20.121 16.722C20.1315 16.662 20.16 16.4835 20.2185 16.317C20.2481 16.2404 20.2941 16.1712 20.3535 16.1145C20.3979 16.0697 20.4524 16.0362 20.5125 16.017C20.579 15.9961 20.6483 15.986 20.718 15.987C20.8045 15.9873 20.8904 16.0004 20.973 16.026C21.036 16.0455 21.0435 16.026 21.0555 15.996L21.2025 15.6ZM12.57 19.68C12.6015 19.68 12.624 19.6545 12.624 19.623V15.588C12.624 15.5565 12.6015 15.531 12.57 15.531H12.06C12.0527 15.5312 12.0455 15.5328 12.0389 15.5358C12.0322 15.5388 12.0262 15.543 12.0212 15.5483C12.0162 15.5536 12.0122 15.5598 12.0096 15.5666C12.007 15.5735 12.0058 15.5807 12.006 15.588V19.623C12.006 19.653 12.0285 19.68 12.06 19.68H12.5685H12.57Z\",\n fill: \"#138ED8\"\n})));\nexport default SvgIconSf36;","\n \n\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgCloseWithCircle = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n viewBox: \"0 0 16 16\"\n}, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#B0BEC5\",\n d: \"M8,6.6l6.3-6.3c0.4-0.4,1-0.4,1.4,0c0.4,0.4,0.4,1,0,1.4L9.4,8l6.3,6.3c0.4,0.4,0.4,1,0,1.4c-0.4,0.4-1,0.4-1.4,0L8,9.4l-6.3,6.3c-0.4,0.4-1,0.4-1.4,0c-0.4-0.4-0.4-1,0-1.4L6.6,8L0.3,1.7c-0.4-0.4-0.4-1,0-1.4c0.4-0.4,1-0.4,1.4,0L8,6.6z\"\n})));\nexport default SvgCloseWithCircle;","\n \n\n","\n \n\n","var _path, _path2, _path3, _path4, _path5, _path6;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgSaclSavedDraft = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n viewBox: \"0 0 115 112\"\n}, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M49.4163 0H27.8721V15.6221H49.4163V0Z\",\n fill: \"#C8CEED\"\n})), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M93.6305 23.8926L72.2905 2.55263C70.6568 0.918947 68.4105 0 66.1642 0H56.0558V15.6221C56.0558 19.2979 53.0947 22.2589 49.4189 22.2589H27.8747C24.1989 22.2589 21.2379 19.2979 21.2379 15.6221V0H8.67895C3.88 0 0 3.88 0 8.67895V88.3211C0 93.12 3.88 97 8.67895 97H87.6063C92.4053 97 96.2853 93.12 96.2853 88.3211V30.0189C96.1832 27.7726 95.2642 25.5263 93.6305 23.8926ZM75.7621 73.9242C75.7621 77.6 72.801 80.5611 69.1253 80.5611H27.0579C23.3821 80.5611 20.4211 77.6 20.4211 73.9242V44.5179C20.4211 40.8421 23.3821 37.8811 27.0579 37.8811H69.1253C72.801 37.8811 75.7621 40.8421 75.7621 44.5179V73.9242Z\",\n fill: \"#C8CEED\"\n})), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M62.289 48.1935H33.9038C31.9638 48.1935 30.3301 49.7251 30.3301 51.7672C30.3301 53.8093 31.8617 55.3409 33.9038 55.3409H62.1869C64.1269 55.3409 65.7606 53.8093 65.7606 51.7672C65.7606 49.7251 64.229 48.1935 62.289 48.1935Z\",\n fill: \"#C8CEED\"\n})), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M62.289 63.2036H33.9038C31.9638 63.2036 30.3301 64.7351 30.3301 66.7772C30.3301 68.8193 31.8617 70.3509 33.9038 70.3509H62.1869C64.1269 70.3509 65.7606 68.8193 65.7606 66.7772C65.7606 64.7351 64.229 63.2036 62.289 63.2036Z\",\n fill: \"#C8CEED\"\n})), _path5 || (_path5 = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M95 69.9627C106.046 69.9627 115 79.2513 115 90.7092C115 102.167 106.047 111.456 95 111.456C83.955 111.456 75 102.168 75 90.7092C75 79.2513 83.955 69.9636 95 69.9636\",\n fill: \"#78BB07\"\n})), _path6 || (_path6 = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M106.767 81.5851C106.56 81.3614 106.311 81.1815 106.033 81.0561C105.756 80.9307 105.456 80.8624 105.151 80.8552C104.847 80.8481 104.544 80.9022 104.261 81.0145C103.978 81.1267 103.72 81.2947 103.503 81.5086L90.3499 94.353L87.0767 90.8536C86.8697 90.6305 86.62 90.4513 86.3424 90.3265C86.0649 90.2017 85.7651 90.1339 85.4609 90.127C85.1566 90.1202 84.8541 90.1746 84.5712 90.2868C84.2884 90.399 84.0309 90.5669 83.8141 90.7805C83.371 91.2181 83.1156 91.8111 83.1021 92.4337C83.0886 93.0564 83.3181 93.6598 83.7419 94.1162L88.6085 99.3165C88.8153 99.5397 89.0648 99.7192 89.3422 99.8442C89.6196 99.9692 89.9194 100.037 90.2236 100.044C90.5278 100.051 90.8303 99.997 91.1132 99.8848C91.396 99.7727 91.6535 99.6048 91.8703 99.3913L106.692 84.9182C107.135 84.481 107.39 83.8886 107.404 83.2664C107.418 82.6441 107.19 82.0409 106.767 81.5843\",\n fill: \"#FFFFFE\"\n})));\nexport default SvgSaclSavedDraft;","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgIconBack = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"16px\",\n height: \"16px\",\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlnsXlink: \"http://www.w3.org/1999/xlink\"\n}, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n id: \"Page-1\",\n stroke: \"none\",\n strokeWidth: 1,\n fill: \"none\",\n fillRule: \"evenodd\"\n}, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Artboard-Copy-9\",\n transform: \"translate(-548.000000, -321.000000)\"\n}, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group-5\",\n transform: \"translate(292.000000, 269.000000)\"\n}, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group-2\",\n transform: \"translate(256.000000, 48.000000)\"\n}, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group\"\n}, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group-6\",\n transform: \"translate(0.000000, 4.000000)\"\n}, /*#__PURE__*/React.createElement(\"circle\", {\n id: \"Oval\",\n stroke: \"#CFD8DC\",\n cx: 8,\n cy: 8,\n r: 7.5\n}), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M4,8 L12,8\",\n id: \"Path-2\",\n stroke: \"#607D8B\"\n}), /*#__PURE__*/React.createElement(\"polyline\", {\n id: \"Path-3\",\n stroke: \"#607D8B\",\n points: \"7 5 4 8 7 11\"\n})))))))));\nexport default SvgIconBack;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgSaclSend = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n viewBox: \"0 0 16 16\"\n}, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M15.1227 6.55333L2.09271 0.714897C0.967179 0.210554 -0.24704 1.2208 0.043679 2.41908L0.71846 5.20037C0.814179 5.5948 1.07105 5.93668 1.42327 6.1383L4.03843 7.63565C4.24852 7.75596 4.24899 8.05896 4.03843 8.17955L1.4233 9.6769C1.07109 9.87852 0.81421 10.2204 0.718491 10.6149L0.043679 13.3961C-0.246415 14.5916 0.965742 15.6052 2.09271 15.1003L15.1227 9.26186C16.2932 8.7374 16.2916 7.07708 15.1227 6.55333Z\",\n fill: \"#0A1551\"\n})));\nexport default SvgSaclSend;","var _path, _path2, _path3;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgIconLink = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 10 10\"\n}, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M5.318 6.569l-1.25 1.25a1.327 1.327 0 01-2.263-.938c0-.354.138-.687.388-.937l1.25-1.25a.442.442 0 00-.625-.625l-1.25 1.25A2.195 2.195 0 00.92 6.881c0 .59.23 1.145.647 1.563.43.43.997.646 1.563.646.565 0 1.131-.216 1.562-.646l1.25-1.25a.442.442 0 00-.625-.625z\",\n fill: \"currentColor\"\n})), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M9.089 3.128c0-.59-.23-1.146-.647-1.563a2.212 2.212 0 00-3.125 0l-1.25 1.25a.442.442 0 10.625.625l1.25-1.25a1.327 1.327 0 012.263.938c0 .354-.138.687-.388.937l-1.25 1.25a.442.442 0 00.625.625l1.25-1.25c.417-.418.647-.972.647-1.562z\",\n fill: \"currentColor\"\n})), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M3.442 6.567a.44.44 0 00.625 0l2.5-2.5a.442.442 0 10-.625-.625l-2.5 2.5a.442.442 0 000 .625z\",\n fill: \"currentColor\"\n})));\nexport default SvgIconLink;","var _circle, _circle2, _circle3, _circle4, _circle5, _circle6, _circle7;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgIconIndicator = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 77 84\"\n}, props), _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 40.864,\n cy: 73.2847,\n r: 10.4693,\n fill: \"#4374ED\"\n})), _circle2 || (_circle2 = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 67.8816,\n cy: 53.6975,\n r: 9.11842,\n fill: \"#5682EF\"\n})), _circle3 || (_circle3 = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 65.1798,\n cy: 21.9521,\n r: 7.76754,\n fill: \"#6990F1\"\n})), _circle4 || (_circle4 = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 42.2149,\n cy: 6.41667,\n r: 6.41667,\n fill: \"#7B9EF2\"\n})), _circle5 || (_circle5 = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 18.2368,\n cy: 10.8068,\n r: 5.40351,\n fill: \"#8EACF4\"\n})), _circle6 || (_circle6 = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 4.05263,\n cy: 27.6928,\n r: 4.05263,\n fill: \"#A1B9F6\"\n})), _circle7 || (_circle7 = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 2.36404,\n cy: 50.3201,\n r: 2.36404,\n fill: \"#B4C7F8\"\n})));\nexport default SvgIconIndicator;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgResend = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 19 23\"\n}, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#A8AAB5\",\n fillRule: \"evenodd\",\n d: \"M16.513 10.923c.203 1.211.408 2.395.1 3.603-.3 1.183-.753 2.272-1.543 3.208-.784.93-1.705 1.652-2.82 2.106-3.262 1.327-6.597.124-8.468-2.334-1.97-2.59-2.07-6.217-.234-8.872 1.793-2.59 4.794-3.447 6.722-3.054l.052 3.663 4.458-4.57L10.222 0l-.016 3.194c-5.155-.383-9 3.41-9.935 7.366-.978 4.134.746 8.458 4.309 10.693 3.492 2.19 8.036 1.824 11.095-.893 3.191-2.834 3.927-6.836 2.878-10.25-.676.268-1.35.537-2.04.813\"\n})));\nexport default SvgResend;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgIconWarningFilled = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 91 91\"\n}, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M45.7424 90.5151C20.7473 90.5151 0.48482 70.2526 0.484824 45.2575C0.484828 20.2624 20.7474 -7.23868e-05 45.7424 -7.10625e-05C70.7375 -6.97381e-05 91 20.2625 91 45.2575C91 70.2526 70.7375 90.5151 45.7424 90.5151ZM40.4799 52.6251L51.0049 52.6251L51.0049 18.945L40.4799 18.945L40.4799 52.6251ZM45.7424 69.4651C48.6304 69.4651 51.0049 67.0905 51.0049 64.1384C51.0049 61.3146 48.6304 58.9401 45.7424 58.9401C42.7903 58.9401 40.4799 61.3146 40.4799 64.1384C40.4799 67.0905 42.7903 69.4651 45.7424 69.4651Z\",\n fill: \"#B3BCCD\"\n})));\nexport default SvgIconWarningFilled;","var _path, _path2;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgIconRetry = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 12 12\"\n}, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M5.72738 1.65517C6.86945 1.65517 7.90394 2.11862 8.6529 2.86759L6.55497 4.96552H11.5205V0L9.82394 1.69655C8.77704 0.649655 7.32876 0 5.72738 0C2.81014 0 0.401868 2.16 0.000488281 4.96552H1.67221C2.05704 3.07862 3.72463 1.65517 5.72738 1.65517Z\",\n fill: \"white\"\n})), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M5.79312 10.3448C4.65106 10.3448 3.61657 9.88138 2.86761 9.13241L4.96554 7.03448L2.14149e-05 7.03448L2.09808e-05 12L1.69657 10.3034C2.74347 11.3503 4.19174 12 5.79312 12C8.71036 12 11.1186 9.84 11.52 7.03448L9.8483 7.03448C9.46347 8.92138 7.79588 10.3448 5.79312 10.3448Z\",\n fill: \"white\"\n})));\nexport default SvgIconRetry;","\n \n\n","\n \n\n","\n \n\n","\n \n\n","\n \n\n","\n \n\n","\n \n\n","\n \n\n","\n \n\n","\n \n\n","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgIconDiscardDraft = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 190,\n height: 116\n}, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n fill: \"none\",\n fillRule: \"evenodd\"\n}, /*#__PURE__*/React.createElement(\"rect\", {\n width: 190,\n height: 116,\n fill: \"#569BFC\",\n rx: 6\n}), /*#__PURE__*/React.createElement(\"g\", {\n fillRule: \"nonzero\"\n}, /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M122.737 95.115H67.263A3.264 3.264 0 0 1 64 91.85V23.266A3.264 3.264 0 0 1 67.263 20h39.158L126 39.595V91.85a3.264 3.264 0 0 1-3.263 3.266z\"\n}), /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#EAEAEA\",\n d: \"M106.923 20v15.897a3.18 3.18 0 0 0 3.18 3.18H126z\"\n})))));\nexport default SvgIconDiscardDraft;","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgIconUseDraft = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 190,\n height: 116\n}, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n fill: \"none\",\n fillRule: \"evenodd\"\n}, /*#__PURE__*/React.createElement(\"rect\", {\n width: 190,\n height: 116,\n fill: \"#80D16E\",\n rx: 6\n}), /*#__PURE__*/React.createElement(\"g\", {\n fillRule: \"nonzero\"\n}, /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M122.737 95.115H67.263A3.264 3.264 0 0 1 64 91.85V23.266A3.264 3.264 0 0 1 67.263 20h39.158L126 39.595V91.85a3.264 3.264 0 0 1-3.263 3.266z\"\n}), /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#EAEAEA\",\n d: \"M106.923 20v15.897a3.18 3.18 0 0 0 3.18 3.18H126z\"\n})), /*#__PURE__*/React.createElement(\"path\", {\n stroke: \"#8E90A6\",\n strokeLinecap: \"round\",\n strokeWidth: 5,\n d: \"M74.135 42.256h25.066M74.135 54.179h44.131M74.135 66.103l34.212-.034M74.135 77.777l21.296.348\",\n opacity: 0.397\n}), /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#DF710B\",\n d: \"m114.354 55.45 5.433 5.432c.799-.77 1.653-1.543 2.443-2.377.44-.464.4-1.247-.007-1.657a370 370 0 0 0-3.724-3.712c-.546-.536-1.26-.556-1.81-.03-.804.766-1.57 1.571-2.335 2.344m-1.486 1.6c-.043.04-.112.098-.177.162-5.83 5.788-11.66 11.575-17.483 17.37a.7.7 0 0 0-.186.446c-.013 1.64-.009 3.282-.008 4.923 0 .097.013.195.02.294.083.009.133.019.183.019 1.702 0 3.404.005 5.107-.007.129-.001.285-.096.382-.193q8.677-8.728 17.347-17.463c.07-.071.135-.147.176-.191l-5.36-5.36\"\n}))));\nexport default SvgIconUseDraft;","function _define_property(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });\n } else obj[key] = value;\n\n return obj;\n}\nexport { _define_property as _ };\n","import { _ as _define_property } from \"./_define_property.js\";\n\nfunction _object_spread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n\n if (typeof Object.getOwnPropertySymbols === \"function\") {\n ownKeys = ownKeys.concat(\n Object.getOwnPropertySymbols(source).filter(function(sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n })\n );\n }\n\n ownKeys.forEach(function(key) {\n _define_property(target, key, source[key]);\n });\n }\n\n return target;\n}\nexport { _object_spread as _ };\n","function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function(sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\nfunction _object_spread_props(target, source) {\n source = source != null ? source : {};\n\n if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n else {\n ownKeys(Object(source)).forEach(function(key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n\n return target;\n}\nexport { _object_spread_props as _ };\n","export const persistentKeyList = [\n /^.*?VariantCode$/,\n 'gocardlessPayload',\n 'stripeCode',\n 'DIGEST_ACTION_LSK',\n 'leadFlowBannerAutoVisible',\n 'messageHistory',\n /^AUTO_DELETE_INFO_POPUP_KEY_.*?$/,\n 'firstVisitDone',\n 'formCopilotModalSeen',\n /^limitWarningSeen_.*?$/,\n 'notification-lal-autovisible',\n 'notification-up-to-fifty-percent-discount-autovisible',\n 'notification-hubspot-milestone',\n 'notification-trysign',\n 'notification-fomo-a1-third-autovisible',\n /^uxrSurvey-.*?$/,\n 'notification-hipaa-enforcement',\n 'ncseen',\n 'notification-cent-store-recommendation',\n 'notification-cent-app-recommendation',\n 'stripeCode',\n /contentOfQuestion_.*?$/,\n 'actionKanbanCount',\n 'actionReportCount',\n 'lastShownTimeDraftWarning',\n /^AUTO_DELETE_INFO_POPUP_KEY_.*?$/,\n 'subscriptionsColumnList',\n 'invoiceColumnList',\n 'ttmLanguage',\n 'boxnet_auth_token',\n 'discardSalesforceEarlyAccessModal',\n 'discardSalesforceRatingModal',\n 'AIChat',\n 'FormCopilotProps',\n /^whats_new_.*?$/\n];\n","import isEqual from 'lodash/isEqual';\n\nimport { persistentKeyList } from './constants';\n\nclass StorageHelper {\n static instance = null;\n\n static testStorage = type => {\n const testItem = 'test';\n const testKey = 'jfStorageHelper_test';\n const storage = StorageHelper.getStorage(type);\n\n try {\n if (!storage) {\n return false;\n }\n storage.setItem(testKey, testItem);\n const result = storage.getItem(testKey) === testItem;\n storage.removeItem(testKey);\n return result;\n } catch (e) {\n console.error(`Error in ${type} storage helper initialization`, e);\n return false;\n }\n };\n\n static get isSupported() {\n return StorageHelper.testStorage('local') && StorageHelper.testStorage('session');\n }\n\n static getStorage = type => {\n const storageBase = typeof window !== 'undefined' ? window : global;\n return type === 'session' ? storageBase.sessionStorage : storageBase.localStorage;\n };\n\n static getLocalStorageItem = ({ key, defaultValue }) => {\n return StorageHelper.getItem({ key, defaultValue, type: 'local' });\n };\n\n static getSessionStorageItem = ({ key, defaultValue }) => {\n return StorageHelper.getItem({ key, defaultValue, type: 'session' });\n };\n\n static getItem = ({ key, type = 'local', defaultValue = null }) => {\n const storage = StorageHelper.getStorage(type);\n if (!StorageHelper.isSupported || !storage) {\n return defaultValue;\n }\n\n const itemString = storage.getItem(key);\n try {\n if (!itemString) {\n return defaultValue;\n }\n\n const { value, expiry } = JSON.parse(itemString) || {};\n if (expiry && (new Date()).getTime() > expiry) {\n StorageHelper.removeItem({ key, type });\n return defaultValue;\n }\n\n return value;\n } catch (e) {\n console.error('Error in getting item from storage', e);\n return itemString || defaultValue;\n }\n };\n\n static setLocalStorageItem = ({ key, value, ttl }) => {\n return StorageHelper.setItem({\n key,\n ttl,\n value,\n type: 'local'\n });\n };\n\n static setSessionStorageItem = ({ key, value, ttl }) => {\n return StorageHelper.setItem({\n key,\n ttl,\n value,\n type: 'session'\n });\n };\n\n static setItem = ({\n key, value, type = 'local', ttl\n }) => {\n const storage = StorageHelper.getStorage(type);\n if (!StorageHelper.isSupported || !storage) return false;\n try {\n const itemString = JSON.stringify({ value, expiry: ttl ? (new Date()).getTime() + ttl : undefined });\n storage.setItem(key, itemString);\n return true;\n } catch (e) {\n console.error('Error in setting item in storage', e);\n return false;\n }\n };\n\n static removeLocalStorageItem = ({ key }) => {\n return StorageHelper.removeItem({ key, type: 'local' });\n };\n\n static removeSessionStorageItem = ({ key }) => {\n return StorageHelper.removeItem({ key, type: 'session' });\n };\n\n static removeItem = ({ key, type = 'local' }) => {\n const storage = StorageHelper.getStorage(type);\n if (!StorageHelper.isSupported || !storage) return false;\n try {\n storage.removeItem(key);\n return true;\n } catch (e) {\n console.error('Error in removing item from storage', e);\n return false;\n }\n };\n\n static clearLocalStorage = ({ force = false } = {}) => {\n return StorageHelper.clear({ type: 'local', force });\n };\n\n static clear = ({ type = 'local', force } = {}) => {\n const storage = StorageHelper.getStorage(type);\n if (!StorageHelper.isSupported || !storage) {\n return false;\n }\n\n for (let i = storage.length - 1; i >= 0; i--) {\n const key = storage.key(i);\n if (!key) {\n continue;\n }\n\n if (!force && StorageHelper.isPersistantKey(key)) {\n continue;\n }\n\n storage.removeItem(key);\n }\n };\n\n static incrementCounter = ({ key, maxCount, type = 'local' }) => {\n const counter = StorageHelper.getItem({ key, type });\n if (counter) {\n const numericVal = parseInt(counter, 10);\n if (numericVal >= maxCount) {\n return;\n }\n\n StorageHelper.setItem({ key, type, value: numericVal + 1 });\n return;\n }\n\n StorageHelper.setItem({ key, type, value: 1 });\n };\n\n static hasKeyValuePair = ({ key, value, type = 'local' }) => {\n const val = StorageHelper.getItem({ key, type });\n return isEqual(val, value);\n };\n\n static isPersistantKey = key => {\n return persistentKeyList.some(keyOrPattern => {\n switch (true) {\n case keyOrPattern instanceof RegExp:\n return keyOrPattern.test(key);\n case typeof keyOrPattern === 'string':\n return keyOrPattern === key;\n default:\n return false;\n }\n });\n };\n}\n\nexport { StorageHelper };\n","export const twoFactorTypeKeys = {\n sms: 'phone',\n authenticatorApp: 'totp'\n};\n\nexport const Texts = {\n MY_FORMS: 'My Forms',\n PROFILE: 'Profile',\n SKIP_CREATE_ACCOUNT: 'Skip Create an Account',\n CONTINUE_DRAFT: 'Continue With Draft',\n DISCARD_START_BLANK: 'You can continue your draft or discard and start with a blank form',\n SAVED_DRAFT_SUBMISSION: 'You have a draft for this form.',\n HELLO_TEXT: 'Hello,',\n LOG_OUT: 'Log out',\n LOGOUT: 'Logout',\n LOGIN_TEXT: 'Log in',\n GET_SHARE_LINK: 'Get Shareable Link',\n EMAIL: 'Email',\n RE_EMAIL: 'Resend Email',\n COPIED_CLIPBOARD: 'Link copied to clipboard!',\n SENT_TO: 'Email sent to',\n DOESNT_SUPPORT_BROWSER: 'Your browser doesn\\'t support this operation',\n SEND_LINK_COMPLETE: 'We’ve sent you an email with a link to complete your submission.',\n START_OVER: `Discard ${encodeURIComponent('&')} Start Over`,\n SAVE_PROGRESS: 'Save your progress',\n ALREADY_HAVE_ACCOUNT: 'Already have an account?',\n DONT_HAVE_ACCOUNT: 'Don’t have an account?',\n ARE_YOU_JOTFORM_ENTERPRISE_USER: 'Are you a Jotform Enterprise user?',\n LOGIN_TO_JOTFORM_ENTERPRISE: 'Log into Jotform Enterprise',\n LOGIN_CAPITAL: 'LOG IN',\n SIGN_UP: 'Sign up',\n CREATE_ACCOUNT: 'Create an Account',\n OTHER_OPTIONS: 'More sign up options',\n SIGN_UP_EMAIL: 'Sign up with Email',\n SIGN_UP_EMAIL_LOWERCASE: 'Sign up with email',\n FULL_NAME: 'Full Name',\n NAME_TEXT: 'Name',\n EMAIL_TEXT: 'Email',\n PASSWORD_TEXT: 'Password',\n CONF_PASSWORD_TEXT: 'Confirm Password',\n TERMS_SERVICE: 'Terms of Service',\n TERMS_OF_USE: 'Terms of Use',\n PRIVACY_POLICY: 'Privacy Policy',\n AND_KEY: 'and',\n OR_KEY: 'OR',\n SUBMISSIONS_SAVED_DRAFT: 'Your form has been saved as a draft.',\n SEND_DRAFT_CONTINUE: 'We’ve sent you an email with a link to continue your form.',\n ENTER_EMAIL: 'If you want to continue your form later, please enter the email address you would like to send the link to:',\n EMAIL_NOT_BLANK: 'Email cannot be left blank',\n SEND_LINK: 'Send link',\n SEND: 'Send',\n BACK_KEY: 'Back',\n SAVE_SUBMISSION: 'Save Submission',\n SAVE_KEY: 'Save',\n SKIP_KEY: 'Skip',\n USERNAME_EMAIL: 'Username or Email',\n LOGIN_SAVE: 'Login and Save Submission',\n AGREE_SERVICE_POLICY: 'I agree to the [1[Terms of Service]], [2[Privacy Policy]] and [3[Cookie Policy]].',\n AGREE_FOR_TURKISH_USERS: 'I have read the [1[KVKK Clarification Text]] and I accept the processing of my personal data in accordance with the [2[Explicit Consent Text]].',\n MORE_HELP_CONTACT: 'If you need more help, please [1[contact our support team.]]',\n MORE_HELP_CONTACT_ENTERPRISE: 'If you need help, please contact with your administrator.',\n FORGOT_PASSWORD: 'Forgot password?',\n FORGOT_YOUR_PASSWORD: 'Forgot your password?',\n PASSWORD_RESET_SENT: 'Password reset instructions have been sent successfully via email.',\n FIELD_REQUIRED: 'This field is required',\n EMAIL_FIELD_REQUIRED: 'Username or email field is required',\n PASS_FIELD_REQUIRED: 'Password field is required',\n ENTER_A_PASSWORD: 'Please enter a password.',\n PASSWORD_OK: 'Password ok',\n PASSWORD_CONFIRMATION_OK: 'Password confirmation ok',\n PASSWORD_CANNOT_BLANK: 'Password cannot be left blank',\n PASS_MIN_CHAR_COUNT: 'Should have minimum 8 characters',\n PASS_INCL_CHARS: 'Should be a mix of upper case, lower case characters, and numbers or special characters',\n FIELDS_SHOULD_MATCH: 'Passwords don\\'t match.',\n SECURE_PASS_DESC: 'Your password must contain at least',\n SECURE_PASS_REUSE: 'Your password must be different from your last 6 passwords',\n SECURE_PASS_REUSE_CONT: ' and contain at least',\n SECURE_PASS_CHAR_COUNT: '8 characters',\n SECURE_PASS_TEST_DESC: 'Your password must include at least',\n SECURE_PASS_UPPERCASE: '1 uppercase letter',\n SECURE_PASS_LOWERCASE: '1 lowercase letter',\n SECURE_PASS_NUMBER: '1 number',\n SECURE_PASS_SPECIAL_CHAR: '1 special character',\n SECURE_PASS_NO_LEADING_OR_TRAILING_WHITESPACE: 'No blank spaces, either at the beginning or at the end',\n PASS_DIFF_PREV: 'Should be different from your last 6 passwords',\n CONNECT_SALESFORCE: 'Connect with Salesforce',\n CONNECT_APPLE: 'Connect with Apple',\n CONNECT_GOOGLE: 'Connect with Google',\n CONNECT_MICROSOFT: 'Connect with Microsoft',\n CONNECT_FACEBOOK: 'Connect with Facebook',\n SIGN_UP_SALESFORCE: 'Sign up with Salesforce',\n SIGN_UP_SALESFORCE_MOBILE: 'Salesforce',\n SIGN_UP_APPLE: 'Sign up with Apple',\n SIGN_UP_GOOGLE: 'Sign up with Google',\n SIGN_UP_GOOGLE_MOBILE: 'Google',\n SIGN_UP_FACEBOOK: 'Sign up with Facebook',\n SIGN_UP_FACEBOOK_MOBILE: 'Facebook',\n SIGN_UP_MICROSOFT: 'Sign up with Microsoft',\n SIGN_UP_MICROSOFT_MOBILE: 'Microsoft',\n SIGN_UP_NOW: 'Sign Up Now!',\n SIGN_UP_NOW_NO_EXCLAMATION_MARK: 'Sign Up Now',\n LOGIN_WITH: 'Log in with',\n LOGIN_SALESFORCE: 'Login with Salesforce',\n SALESFORCE: 'Salesforce',\n LOGIN_GOOGLE: 'Login with Google',\n GOOGLE: 'Google',\n LOGIN_FACEBOOK: 'Login with Facebook',\n FACEBOOK: 'Facebook',\n LOGIN_APPLE: 'Login with Apple',\n APPLE: 'Apple',\n LOGIN_MICROSOFT: 'Login with Microsoft',\n MICROSOFT: 'Microsoft',\n ENTER_USERNAME_EMAIL: 'Enter your username or email',\n SEND_INSTRUCTIONS: 'Send Reset Instructions',\n GO_BACK_TEXT: 'Go back',\n BACK_TO_PRIMARY_METHOD: 'Back to Primary Method',\n CAN_NOT_ACCESS_MY_DEVICE: \"I can't access my authentication device\",\n // eslint-disable-next-line max-len\n RECOVER_ACCOUNT_TEXT: \"If you can't access your authentication device or recovery codes, you can ask for assistance from Jotform support. Click the button below to start your recovery process.\",\n RECOVER_ACCOUNT_MAIL_HAS_BEEN_SENT: 'Your request to have your account recovered has already been sent in. You are unable to submit another request to recover your account until it is finished.',\n RECOVER_YOUR_ACCOUNT: 'Recover Your Account',\n VIEW_SUPPORT_TICKET: 'View Support Ticket',\n VERIFICATION_EMAIL_SENT_TO: 'The verification email has been sent to',\n RECOVER_ACCOUNT_EMAIL_INFO_TEXT: 'Click on the button in the email to create a ticket.',\n RECOVER_ACCOUNT_NOTIFICATION_TEXT: 'After you submit, a member of our support staff will examine your request and get in touch with you to offer assistance within 48 to 72 hours.',\n BACK_TO_LOGIN: 'Back to Login',\n VALID_EMAIL: 'Please type a valid email',\n SENDING: 'Sending...',\n AGREE_TERMS_CONDITIONS: 'Please agree terms and conditions',\n NEED_TO_ACCEPT_TERMS: 'You need to accept our Terms of Service and Privacy Policy to create an account.',\n CHECK_SPAM_FOLDER: 'If you don’t get the email, please check your spam folder.',\n GET_INSTRUCTION_EMAIL: 'You should get the password reset instructions via email soon.',\n OK_TEXT: 'OK',\n CHECK_EMAIL: 'Check your email',\n EMAIL_IS_USE: 'Email is in use:',\n EMAIL_IS_NOTVALID: 'Email is not valid.',\n CURRENT_PASSWORD: 'Current Password',\n SHOW_PASSWORD: 'Show Password',\n HIDE_PASSWORD: 'Hide Password',\n PLEASE_WAIT: 'Please wait',\n WELCOME_BACK: 'Welcome Back!',\n CREATE_MY_ACCOUNT: 'CREATE MY ACCOUNT',\n BY_CLICKING_YOU_AGREE: 'By clicking \"Signup\" you agree our [1[Terms of Service]] and [2[Privacy Policy]]',\n ERROR_TRY_AGAIN: 'There was an error. Please try again later.',\n VERIFY_ITS_YOU: 'Verify it\\'s you!',\n TWO_FACTOR_DESCRIPTION: {\n [twoFactorTypeKeys.sms]: \"We've sent an authentication code to [1[receiver]]. Please check your messages and enter the six-digit code to enable 2FA\",\n [twoFactorTypeKeys.authenticatorApp]: 'Enter the six-digit code from your configured Authenticator App below.'\n },\n EMAIL_AUTHENTICATION_DESCRIPTION: \"We've sent an authentication code to [1[receiver]]. Please check your inbox and enter the six-digit code.\",\n VERIFICATION_CODE: 'Authentication code',\n RECOVERY_CODE: 'Recovery code',\n VERIFY: 'VERIFY',\n VERIFY_BUTTON_TEXT: 'Verify',\n NO_CODE: 'No code?',\n SEND_AGAIN: 'Send again',\n HAVING_PROBLEMS: 'Having problems?',\n SEE_OTHER_AUTHENTICATION_METHODS: 'See Other Methods',\n SEND_CODE_TO: {\n [twoFactorTypeKeys.sms]: 'Send code to [1[receiver]]',\n [twoFactorTypeKeys.authenticatorApp]: 'Use authenticator app'\n },\n USE_YOUR_RECOVERY_CODES: 'Use your recovery codes',\n USE_YOUR_AUTHENTICATOR_APP: 'Use code from Authenticator App',\n TWO_FACTOR_AUTHENTICATION: 'Two-Factor Authentication',\n EMAIL_AUTHENTICATION: 'E-mail Authentication',\n ENTER_RECOVERY_CODES: 'Enter one of your 6-digit recovery codes below.',\n DAILY_LIMIT: 'You\\'ve reached the daily text message limit',\n INVALID_TOKEN: 'Invalid code; please try again',\n BACKUP_CODES_ERROR: 'You entered a wrong or already used recovery code',\n BLANK_VERIFICATION_CODE: 'Code cannot be blank.',\n GREETING_DESCRIPTION: '',\n SHOW_MORE: 'Show More',\n CHOOSE_A_METHOD: 'Choose a method',\n CHOOSE_A_METHOD_DESCRIPTION: 'Select a verification method to login your account',\n REACH_DAILY_LIMIT_FORCE_TO_EMAIL: 'Your verification code has been sent to your email due to you have reached the daily SMS limit.',\n USED_RECOVERY_CODES: 'Used recovery codes will be invalidated.',\n ENTER_YOUR_EMAIL: 'Enter your email',\n THANK_YOU: 'THANK YOU!',\n VIEW_COMPLETED_APPROVALS: 'View your completed approvals',\n COMPLETED_TASK: 'The task has been completed.',\n PLEASE_LOGIN: 'Please [1[Log in]].',\n EMAIL_ERROR: 'This email address is already associated with a Jotform account.',\n EMAIL_ERROR_ENTERPRISE: 'This email address is already associated with an account.',\n // Delete my account flow\n ARE_YOU_SURE_YOU_WANT_TO_DELETE_YOUR_ACCOUNT: 'Are you sure you want to delete your account?',\n YOU_ARE_ABOUT_TO_DELETE_YOUR_ACCOUNT_NAMELY: 'You’re about to delete your account namely:',\n GET_IN_TOUCH_WITH_US: '[1[Get in touch]] with us if you have any questions.',\n YES_DELETE: 'Yes, Delete',\n CANCEL: 'Cancel',\n VERIFY_THAT_ITS_YOU_TO_DELETE_YOUR_ACCOUNT: 'Verify That It’s You to Delete Your Account',\n VERIFY_WITH: 'Verify with',\n PLEASE_ENTER_YOUR_PASSWORD: 'Please enter your password',\n YOU_HAVE_ENTERED_YOUR_CURRENT_PASSWORD_WRONG: 'You have entered your current password wrong',\n YOU_HAVE_VERIFIED_SUCCESSFULLY: 'You have verified successfully',\n DELETE_MY_ACCOUNT: 'Delete My Account',\n YOUR_ACCOUNT_COULD_NOT_BE_DELETED: 'Your account could not be deleted. Please try again.',\n YOU_COULD_NOT_BE_VERIFIED: 'You could not be verified. Try again later',\n VERIFY_DELETE: 'Verify',\n CONTINUE_LATER: 'We’ve emailed you a link you can use to continue it later.',\n DRAFT_SAVED: 'Submission saved as draft',\n INCOMPLETE_SUBMISSION: 'You have an incomplete submission for this form',\n DRAFT_TEXT: 'Discard this submission draft to start over, or continue with your saved draft.',\n DISCARD_DRAFT: 'Discard and start over',\n CONTINUE_WITH_DRAFT: 'Continue with draft',\n SAVE_AS_DRAFT: 'Sign up to save submission as a draft',\n PLEASE_WAIT_SAVE: 'Please wait while we save your submission.',\n SAVE_ERROR: \"Your submission couldn't be saved\",\n PLEASE_TRY_AGAIN: 'Please try again.',\n TRY_AGAIN: 'Try Again',\n GET_DRAFT_LINK: 'Get Draft Link',\n DRAFT_BEING_SAVED: 'Your submission is being saved',\n ENTER_EMAIL_ADDRESS: 'Enter your email address',\n PLEASE_ENTER_VALID_EMAIL: 'Please enter valid email',\n CONTINUE_FORM_LATER: 'If you want to continue your form later, please enter your email address.',\n TO_KEY: 'To',\n DONT_ACCESS_DRAFT: 'You don’t have access to this submission draft',\n FILL_OUT_DRAFT: 'Fill out the form to create a new submission.',\n CHANGE_ACCOUNT: 'Change Account',\n START_OVER_FORM: 'Start Over',\n NOT_FOUND: 'Submission draft not found',\n DELETED_DRAFT: 'This draft was deleted or has already been submitted.',\n USER_IS_SSO_ERROR: 'Email already in use by SSO user.'\n};\n\nexport const AlertLabelTypes = {\n WARNING: 'WARNING',\n SUCCESS: 'SUCCESS',\n INFO: 'INFO'\n};\n\nexport const prepareLoginFlowDefaultGreetings = () => {\n const isPartnershipPages = window.location.href.indexOf('/partnership/') >= 0;\n const isAffiliateSignup = window.location.href.indexOf('/affiliate/') >= 0;\n const isJotformForBeginners = window.location.href.indexOf('/jotform-for-beginners/') >= 0;\n if (isPartnershipPages) {\n return `You will need a free Jotform account\n in order to access your Dashboard. If you already have a Jotform account,\n please log in to your account first to be able to fill out your application.\n If you have more than one Jotform account, please use the registered account to the\n Jotform ${isAffiliateSignup ? 'Affiliate Program' : 'Solutions Program'}.`;\n }\n if (isJotformForBeginners) {\n return 'Create a free Jotform account to download the book, Jotform for Beginners.';\n }\n if (window.JOTFORM_ENV !== 'ENTERPRISE') {\n return 'Collect information, payments, and signatures with custom online forms.';\n }\n return '';\n};\n\nexport const FORM_TEXTS = {\n confirmEmail: 'E-mail does not match',\n pleaseWait: 'Please wait...',\n validateEmail: 'You need to validate this e-mail',\n confirmClearForm: 'Are you sure you want to clear the form',\n lessThan: 'Your score should be less than or equal to',\n incompleteFields: 'There are incomplete required fields. Please complete them.',\n required: 'This field is required.',\n requireOne: 'At least one field required.',\n requireEveryRow: 'Every row is required.',\n requireEveryCell: 'Every cell is required.',\n email: 'Enter a valid e-mail address',\n alphabetic: 'This field can only contain letters',\n numeric: 'This field can only contain numeric values',\n alphanumeric: 'This field can only contain letters and numbers.',\n cyrillic: 'This field can only contain cyrillic characters',\n url: 'This field can only contain a valid URL',\n currency: 'This field can only contain currency values.',\n fillMask: 'Field value must fill mask.',\n uploadExtensions: 'You can only upload following files:',\n noUploadExtensions: 'File has no extension file type (e.g. .txt, .png, .jpeg)',\n uploadFilesize: 'File size cannot be bigger than:',\n uploadFilesizemin: 'File size cannot be smaller than:',\n gradingScoreError: 'Score total should only be less than or equal to',\n inputCarretErrorA: 'Input should not be less than the minimum value:',\n inputCarretErrorB: 'Input should not be greater than the maximum value:',\n maxDigitsError: 'The maximum digits allowed is',\n minCharactersError: 'The number of characters should not be less than the minimum value:',\n maxCharactersError: 'The number of characters should not be more than the maximum value:',\n freeEmailError: 'Free email accounts are not allowed',\n minSelectionsError: 'The minimum required number of selections is ',\n maxSelectionsError: 'The maximum number of selections allowed is ',\n pastDatesDisallowed: 'Date must not be in the past.',\n dateLimited: 'This date is unavailable.',\n dateInvalid: 'This date is not valid. The date format is {format}',\n dateInvalidSeparate: 'This date is not valid. Enter a valid {element}.',\n ageVerificationError: 'You must be older than {minAge} years old to submit this form.',\n multipleFileUploads_typeError: '{file} has invalid extension. Only {extensions} are allowed.',\n multipleFileUploads_sizeError: '{file} is too large, maximum file size is {sizeLimit}.',\n multipleFileUploads_minSizeError: '{file} is too small, minimum file size is {minSizeLimit}.',\n multipleFileUploads_emptyError: '{file} is empty, please select files again without it.',\n multipleFileUploads_uploadFailed: 'File upload failed, please remove it and upload the file again.',\n multipleFileUploads_onLeave: 'The files are being uploaded, if you leave now the upload will be cancelled.',\n multipleFileUploads_fileLimitError: 'Only {fileLimit} file uploads allowed.',\n dragAndDropFilesHere_infoMessage: 'Drag and drop files here',\n chooseAFile_infoMessage: 'Choose a file',\n maxFileSize_infoMessage: 'Max. file size',\n generalError: 'There are errors on the form. Please fix them before continuing.',\n generalPageError: 'There are errors on this page. Please fix them before continuing.',\n wordLimitError: 'Too many words. The limit is',\n wordMinLimitError: 'Too few words. The minimum is',\n characterLimitError: 'Too many Characters. The limit is',\n characterMinLimitError: 'Too few characters. The minimum is',\n ccInvalidNumber: 'Credit Card Number is invalid.',\n ccInvalidCVC: 'CVC number is invalid.',\n ccInvalidExpireDate: 'Expire date is invalid.',\n ccInvalidExpireMonth: 'Expiration month is invalid.',\n ccInvalidExpireYear: 'Expiration year is invalid.',\n ccMissingDetails: 'Please fill up the credit card details.',\n ccMissingProduct: 'Please select at least one product.',\n ccMissingDonation: 'Please enter numeric values for donation amount.',\n disallowDecimals: 'Please enter a whole number.',\n restrictedDomain: 'This domain is not allowed',\n ccDonationMinLimitError: 'Minimum amount is {minAmount} {currency}',\n requiredLegend: 'All fields marked with * are required and must be filled.',\n geoPermissionTitle: 'Permission Denied',\n geoPermissionDesc: 'Check your browser\\'s privacy settings.',\n geoNotAvailableTitle: 'Position Unavailable',\n geoNotAvailableDesc: 'Location provider not available. Please enter the address manually.',\n geoTimeoutTitle: 'Timeout',\n geoTimeoutDesc: 'Please check your internet connection and try again.',\n selectedTime: 'Selected Time',\n formerSelectedTime: 'Former Time',\n cancelAppointment: 'Cancel Appointment',\n cancelSelection: 'Cancel Selection',\n noSlotsAvailable: 'No slots available',\n slotUnavailable: '{time} on {date} has been selected is unavailable. Please select another slot.',\n multipleError: 'There are {count} errors on this page. Please correct them before moving on.',\n oneError: 'There is {count} error on this page. Please correct it before moving on.',\n doneMessage: 'Well done! All errors are fixed.',\n invalidTime: 'Enter a valid time',\n doneButton: 'Done',\n reviewSubmitText: 'Review and Submit',\n nextButtonText: 'Next',\n prevButtonText: 'Previous',\n seeErrorsButton: 'See Errors',\n notEnoughStock: 'Not enough stock for the current selection',\n notEnoughStock_remainedItems: 'Not enough stock for the current selection ({count} items left)',\n soldOut: 'Sold Out',\n justSoldOut: 'Just Sold Out',\n selectionSoldOut: 'Selection Sold Out',\n subProductItemsLeft: '({count} items left)',\n startButtonText: 'START',\n submitButtonText: 'Submit',\n submissionLimit: 'Sorry! Only one entry is allowed.
Multiple submissions are disabled for this form.',\n reviewBackText: 'Back to Form',\n seeAllText: 'See All',\n progressMiddleText: 'of',\n fieldError: 'field has an error.',\n error: 'Error'\n};\n","// Clear translation visibility classes\nexport const clearTranslationMarkup = () => {\n // Get elements with the class\n const elements = global.document.body.querySelectorAll('.js-translationBlocker');\n\n // Get direct parents of translation texts\n const textParents = global.document.body.querySelectorAll('.js-translationText');\n\n // Get select parents of translation texts\n const selectParents = global.document.body.querySelectorAll('.js-translationSelect');\n\n // Convert node list to array and remove class from each element\n Object.values(elements).forEach(el => el && el.classList && el.classList.remove('js-translationBlocker'));\n // Object.values(textParents).forEach(el => el && el.classList && el.classList.remove('js-translationText'));\n Object.values(textParents).forEach(el => {\n // eslint-disable-next-line no-unused-expressions\n if (el && el.classList) {\n const elc = el;\n elc.style.outline = 'none';\n elc.style.position = 'initial';\n elc.style.zIndex = 'initial';\n el.classList.remove('js-translationText');\n }\n });\n Object.values(selectParents).forEach(el => {\n // Return if not a valid dom element\n if (!el || !el.classList) {\n return false;\n }\n\n // Get original size and multiple values of element if there were exist\n const originalSize = el.getAttribute('data-tempsize');\n const originalMultiple = el.getAttribute('data-tempmultiple');\n\n // Remove temporary attributes\n el.removeAttribute('data-tempsize');\n el.removeAttribute('data-tempmultiple');\n\n // If any one of them was setted then add them again; otherwise remove them\n if (originalSize !== 'null') {\n el.setAttribute('size', originalSize);\n } else {\n el.removeAttribute('size');\n }\n\n if (originalMultiple !== 'null') {\n el.setAttribute('multiple', originalMultiple);\n } else {\n el.removeAttribute('multiple');\n }\n\n // Lastly remove translation class\n el.classList.remove('js-translationSelect');\n });\n};\n\nexport const addTranslationMarkup = (el, initial = true) => {\n // If element is body or global then no need to process further\n if (el === global || el === global.document || el === global.document.body) return true;\n\n // If element or style belongs to it is undefined then terminate the process\n if (!el) return false;\n\n // Put text class at initial call\n if (initial) {\n el.parentElement.classList.add('js-translationText');\n\n const parent = el.parentElement;\n parent.style.outline = '3px solid #F00';\n parent.style.position = 'relative';\n parent.style.zIndex = '1000';\n }\n\n // Process if style is defined\n if (el.style) {\n // Get current style values of the element\n const currentStyle = global.getComputedStyle(el);\n\n // Check if one of the invisibility requirements it satisfied\n if (currentStyle.display === 'none' || currentStyle.opacity === '0' || currentStyle.visibility === 'hidden' || currentStyle.maxHeight === '0px') {\n // Add visibility class of translation\n el.classList.add('js-translationBlocker');\n }\n }\n\n if (el.tagName === 'SELECT') { // Handle select to show all options\n // Keep size and multiple attributes temporarily\n el.setAttribute('data-tempsize', el.getAttribute('size'));\n el.setAttribute('data-tempmultiple', el.getAttribute('multiple'));\n\n // Add size attribute temporarly to show all options\n el.setAttribute('size', el.length);\n el.setAttribute('multiple', 'multiple');\n\n // Add translation class to set height and mark select as dirty to clear later\n el.classList.add('js-translationSelect');\n }\n\n return addTranslationMarkup(el.parentElement, false);\n};\n\n// Finds elements that contains one of the texts passed\nexport const searchTextInDOM = (el, texts) => {\n // No need to parse the dom if it belongs to one of the given tags\n if (['SCRIPT', 'SVG', 'IMG', 'STYLE', 'INPUT', 'PATH'].indexOf(el.tagName) !== -1) {\n return null;\n }\n\n // If classList is defined for given element\n if (el.classList && el.classList.value) {\n // Define classes that we do not want to search\n // const classesToBeFiltered = [/hideOnDesktop/, /hide-on-builder/, /tabMenu/, /toggleText-mobile/, /hide-on-crawler/];\n const classesToBeFiltered = [/hideOnDesktop/, /toggleText-mobile/, /hide-on-crawler/];\n\n // Check if classList contains one of the unwanted classes\n if (classesToBeFiltered.some(rgx => rgx.test(el.classList.value))) {\n return null;\n }\n }\n\n // If still a child exist then parse tree deeper\n if (el.childNodes && el.childNodes.length !== 0) {\n return Object.values(el.childNodes) // Convert nodeList to array\n .filter(child => typeof child === 'object') // Remove numbers and functions to take only nodes(objects)\n .map(child => searchTextInDOM(child, texts)) // Call every node element with parseTree (recursive)\n .reduce((prev, curr) => (curr !== null ? prev.concat(curr) : prev), []); // Reduce results to one array\n }\n\n // Check if text content is one of the strings we are searching\n if (el.textContent && texts.indexOf(el.textContent.trim()) > -1) {\n return el;\n }\n\n return null;\n};\n\n// Checks if element is in viewport\nexport const isInViewport = el => {\n if (el === null) {\n return false;\n }\n if (typeof el.offsetTop === 'undefined') {\n return isInViewport(el.parentNode);\n }\n\n // Get recteangle information of element\n const elementRect = el.getBoundingClientRect();\n\n // Get window height and width\n const windowHeight = global.window.innerHeight;\n const windowWidth = global.window.innerWidth;\n\n // Get scrolling x and y\n const scrollX = global.window.pageXOffset;\n const scrollY = global.window.pageYOffset;\n\n // eslint-disable-next-line max-len\n if (elementRect.top + elementRect.height < windowHeight + scrollY && elementRect.left + elementRect.width < windowWidth + scrollX && elementRect.top + elementRect.height > 0 && elementRect.left + elementRect.width > 0) {\n return true;\n // eslint-disable-next-line no-else-return\n } else {\n // eslint-disable-next-line no-lonely-if\n if (global.window.casperJsTest) {\n el.scrollIntoView({ behavior: 'auto', block: 'center' });\n return true;\n // eslint-disable-next-line no-else-return\n } else {\n return false;\n }\n }\n};\n\n// Get text contents of dom elements\nexport const getTextContents = elements => elements.map(el => el.textContent.trim());\n","import qs from 'qs';\nimport Axios from 'axios';\nimport Polyglot from 'node-polyglot';\nimport domtoimage from 'dom-to-image-more';\nimport isUndefined from 'lodash/isUndefined';\n\nimport {\n isInViewport,\n getTextContents,\n searchTextInDOM,\n addTranslationMarkup,\n clearTranslationMarkup\n} from './domHelper';\n\nclass Translation {\n constructor() {\n // Default value settings\n this.defaultLang = 'en-US';\n this.processedStrings = {};\n this.usedTranslations = [];\n this.untranslatedStrings = {};\n this.currentLocale = this.defaultLang;\n this.filterClasses = [\n 'ace_editor',\n 'ace-solarized-dark',\n 'ace_dark',\n 'input-group',\n 'isAvatar',\n 'jfHeader-userAvatar',\n 'themesListItem-img',\n 'themesListItem-imgAspect',\n 'prevUploads-list',\n 'card-leftSide',\n 'jfQuestion-fields-contentVisible',\n 'appBox-image'\n ];\n this.filterTags = [\n 'IFRAME',\n 'IMG'\n ];\n this.dictionaries = {\n [this.defaultLang]: new Polyglot({\n phrases: {},\n locale: this.defaultLang.split('-')[0],\n allowMissing: true\n })\n };\n\n this.interpolation = { templateSyntax: /\\{.\\}*\\w+\\}/g, eraseTemplate: /\\{|\\}/g };\n // Variables related to delayed submitNotTranslated function\n this.callTimer = null;\n\n // Number of elements to be processed and send to server at once\n this.processLimit = 1;\n\n // Debounce time for process function\n this.debounceTime = 1000;\n\n // Function binds\n this.setLocale = this.setLocale.bind(this);\n this.resetProcess = this.resetProcess.bind(this);\n this.limitElements = this.limitElements.bind(this);\n this.orderElements = this.orderElements.bind(this);\n this.takeScreenShot = this.takeScreenShot.bind(this);\n this.debounceProcess = this.debounceProcess.bind(this);\n this.handleMissingKey = this.handleMissingKey.bind(this);\n this.submitNotTranslated = this.submitNotTranslated.bind(this);\n this.processNotTranslated = this.processNotTranslated.bind(this);\n this.updateProcessedStrings = this.updateProcessedStrings.bind(this);\n this.rotateUntranslatedStrings = this.rotateUntranslatedStrings.bind(this);\n this.filterUntranslatedStrings = this.filterUntranslatedStrings.bind(this);\n this.translate = this.translate.bind(this);\n this.initServerSideDictionary = this.initServerSideDictionary.bind(this);\n }\n\n // Getter for getting untranslated string list of current language\n get currentLocaleUntranslated() {\n return Array.isArray(this.untranslatedStrings[this.currentLocale]) ? this.untranslatedStrings[this.currentLocale] : [];\n }\n\n // Get processed elements in this session\n get currentProcessed() {\n return Array.isArray(this.processedStrings[this.currentLocale]) ? this.processedStrings[this.currentLocale] : [];\n }\n\n // Get single array that contains all untranslated strings\n get allUntranslatedStrings() {\n return Object.keys(this.untranslatedStrings).reduce(\n (prev, curr) => prev.concat(this.untranslatedStrings[curr]),\n []\n );\n }\n\n initServerSideDictionary(langCode, dictionary) {\n this.add(langCode, dictionary);\n }\n\n // Sets current locale and fetch untranslated list if it still does not exist\n setLocale(code) {\n // Set locale of objectcurrentLocale\n this.currentLocale = code;\n }\n\n // Update untranslatedStrings array by removing sended strings\n filterUntranslatedStrings(langCode, strings) {\n this.untranslatedStrings = {\n\n ...this.untranslatedStrings,\n [langCode]: this.untranslatedStrings[langCode].filter(str => strings.indexOf(str) === -1)\n };\n }\n\n // Update unprocessedStrings by adding sended strings\n updateProcessedStrings(langCode, strings) {\n // Add processed words to processed list\n this.processedStrings = {\n\n ...this.processedStrings,\n [langCode]: this.processedStrings[langCode] ? this.processedStrings[langCode].concat(strings) : strings\n };\n }\n\n // Add sended str to the untranslatedStrIngs array of current locale\n addUntranslatedString(str) {\n this.untranslatedStrings = {\n\n ...this.untranslatedStrings,\n [this.currentLocale]: this.currentLocaleUntranslated.concat([str])\n };\n }\n\n // Move given strings to the end of their respective array\n rotateUntranslatedStrings(strings) {\n // For each key filter given strings and append found ones to the end\n this.untranslatedStrings = Object.keys(this.untranslatedStrings).reduce((prev, curr) => {\n // Get matched strings array of given locale\n const foundStrings = this.untranslatedStrings[curr].filter(str => strings.indexOf(str) > -1);\n\n // First filter given strings and then append them afterward\n return {\n\n ...prev,\n [curr]: this.untranslatedStrings[curr].filter(str => foundStrings.indexOf(str) < 0).concat(foundStrings)\n };\n }, {});\n }\n\n // Order given dom elements respect to their position as strings in untranslated array\n orderElements(elements) {\n // No need to order if only one is found\n if (elements.length <= 1) {\n return elements;\n }\n\n // Get strings of elements\n const textContents = getTextContents(elements);\n\n // Order elements by looking their string positions\n return this.allUntranslatedStrings.filter(str => textContents.indexOf(str) > -1).map(str => elements[textContents.indexOf(str)]);\n }\n\n // Initializes locale and the dictionary belongs to it\n add(code = '', dictionary = {}) {\n // Initialize locale\n this.setLocale(code);\n\n if (isUndefined(this.dictionaries[code])) {\n // Add sended dictionary to the current list\n this.dictionaries = {\n\n ...this.dictionaries,\n [code]: new Polyglot({\n phrases: dictionary,\n locale: code.split('-')[0],\n onMissingKey: this.handleMissingKey // This function will be triggered if the text does not exist in translation list\n })\n };\n }\n }\n\n // Translate string using Polyglot api\n translate(str, params) {\n let translated = str;\n if (typeof params === 'object' && Object.keys(params).length) {\n const variables = str.match(this.interpolation.templateSyntax);\n variables?.forEach(strVar => {\n // Remove template string characters and get variable name.\n const variableName = strVar.replace(this.interpolation.eraseTemplate, '');\n // If there is a value for given key, replace the key with given value\n if (params[variableName]) {\n translated = translated.replace(strVar, params[variableName]);\n }\n });\n }\n\n if (!this.usedTranslations.includes(str)) {\n this.usedTranslations.push(str);\n }\n\n return this.dictionaries[this.currentLocale].t(translated, params);\n }\n\n // Handler for texts that does not have translation\n handleMissingKey(str, options) {\n // Further process is limited to certain users\n if (!(global.window.useTranslationScreenshots === true)) {\n return Polyglot.transformPhrase(str, options);\n }\n\n // If it is already in processed list then skip processing it\n if (this.currentProcessed.indexOf(str) > -1) {\n return Polyglot.transformPhrase(str, options);\n }\n\n // Do not try to process if string is empty or only contains space\n if (/^\\s+$/.test(str)) {\n return '';\n }\n\n // Add founded word to untranslated texts if it does not exist\n if (this.currentLocaleUntranslated.indexOf(str) === -1) {\n this.addUntranslatedString(str);\n }\n\n // Call debounced process (works every n seconds where n is this.processLimit)\n this.debounceProcess();\n }\n\n // Delays the call of submitNotTranslated\n debounceProcess() {\n // If a timer is already started\n if (this.callTimer !== null) {\n // Do not process any further\n return;\n }\n\n // Restart timer\n this.callTimer = setTimeout(this.processNotTranslated, this.debounceTime);\n }\n\n // Limits sended dom elements according to the constants set in class\n limitElements(elements) {\n // Limit the elements based on the processLimit variable\n return elements.slice(0, this.processLimit);\n }\n\n // Filters false positive translations by looking their screenshot values\n filterFalseTranslations(strings, screenshots) {\n // Indexes of false screenshots\n const emptyIndexes = screenshots.reduce((prev, curr, index) => { return curr === false ? prev.concat([index]) : prev; }, []);\n\n // Filter strings that matched with false screenshot results\n const filteredStrings = {\n\n ...strings,\n [this.currentLocale]: strings[this.currentLocale].filter((str, index) => emptyIndexes.indexOf(index) < 0)\n };\n\n // Filter false screenshots\n const filteredScreenshots = screenshots.filter((ss, index) => emptyIndexes.indexOf(index) < 0);\n\n // Return filtered strings and screenshots\n return {\n filteredStrings,\n filteredScreenshots\n };\n }\n\n // Prepares object for next translation process\n resetProcess(strings = []) {\n // Clear timer as the submit promises are resolved\n clearTimeout(this.callTimer);\n this.callTimer = null;\n\n // If there is still an untranslated string in the list\n if (this.currentLocaleUntranslated.length !== 0) {\n if (strings.length !== 0) {\n // Rotate strings that tried to be translated before if they still exist\n this.rotateUntranslatedStrings(strings);\n }\n\n // Try to call process again\n this.debounceProcess();\n }\n }\n\n // Filter and screenshot process\n processNotTranslated() {\n // Get body for dom earch\n let node = '';\n if (global.window.casperjsTestDomParam) {\n node = global.document.querySelector(decodeURI(global.window.casperjsTestDomParam));\n /* eslint-disable no-console */\n console.log('global.window.casperjsTestDomParam', global.window.casperjsTestDomParam);\n /* eslint-enable no-console */\n } else {\n node = global.document.body;\n }\n\n // Search all texts accross dom elements to find their containers\n const foundElements = searchTextInDOM(node, this.allUntranslatedStrings);\n\n /* eslint-disable no-console */\n console.log('this.allUntranslatedStrings', this.allUntranslatedStrings);\n console.log('foundElements', foundElements);\n /* eslint-enable no-console */\n\n // If could not found any element then reset the process\n if (!foundElements || foundElements.length === 0) {\n if (global.window.casperJsTest) {\n global.window.captureInProcess = false;\n /* eslint-disable no-console */\n console.log('capture process finished!');\n /* eslint-enable no-console */\n }\n // Clear timer\n return this.resetProcess();\n }\n\n // Order these elements to match with their respected string positions in untranslated strings array\n const orderedFoundElements = this.orderElements(foundElements);\n\n // Limit the number of elements to be processed\n const elementsToProcess = this.limitElements(orderedFoundElements);\n\n // Get strings of found elements\n const foundStrings = getTextContents(elementsToProcess);\n\n // Get only matched strings from unstranslated list\n const untranslatedToPost = Object.keys(this.untranslatedStrings).reduce((prev, curr) => ({\n\n ...prev,\n [curr]: this.untranslatedStrings[curr].filter(str => foundStrings.indexOf(str) > -1)\n }), {});\n\n // Create promise for each screenshot\n const ssPromises = Object.values(elementsToProcess).reduce((prev, curr) => { return typeof curr === 'object' ? prev.concat([this.takeScreenShot(node, curr)]) : prev; }, []);\n\n Promise.all(ssPromises) // After all screenshots taken\n .then(ssDataAll => this.filterFalseTranslations(untranslatedToPost, ssDataAll)) // Filter false positive translations\n // After resolving all of the promises just pass them to the not transalted submission\n .then(({ filteredStrings, filteredScreenshots }) => this.submitNotTranslated(filteredStrings, filteredScreenshots))\n // Reset required variables and do post process jobs to prepare object for next translation after submissions\n .then(submitPromises => Promise.all(submitPromises).then(() => this.resetProcess(foundStrings)));\n }\n\n // Submit not translated strings\n submitNotTranslated(untranslatedToPost, ssDataAll) {\n // Send translation request for each key separately\n return Object.keys(untranslatedToPost).map(langCode => {\n // Get strings to send\n const strings = untranslatedToPost[langCode];\n\n let depthCount = 0;\n let depthLabel = '';\n if (global.window.casperJsTest) {\n if (global.window.depthCount) {\n depthCount = global.window.depthCount;\n }\n if (global.window.depthLabel) {\n depthLabel = global.window.depthLabel;\n }\n }\n\n // No need to send data if one of them is empty or their lengths are not equal to each other\n if (strings.length === 0 || ssDataAll.length === 0 || strings.length !== ssDataAll.length) {\n if (global.window.casperJsTest) {\n global.window.captureInProcess = false;\n /* eslint-disable no-console */\n console.log('capture process finished!');\n /* eslint-enable no-console */\n }\n return false;\n }\n\n Axios.post('/server.php', qs.stringify({\n action: 'submitNotTranslated',\n lang_code: langCode,\n raw: untranslatedToPost[langCode].join('__NOT_TRANSLATED__'),\n autoSuggestion: false,\n depthCount,\n depthLabel,\n screenshot: ssDataAll.join('|||')\n }), {\n 'Content-Type': 'application/x-www-form-urlencoded'\n })\n .then(() => {\n // Move processed strings to processed list\n this.updateProcessedStrings(langCode, untranslatedToPost[langCode]);\n\n // Filter them from untranslated list\n this.filterUntranslatedStrings(langCode, untranslatedToPost[langCode]);\n });\n\n return true;\n });\n }\n\n // Take screenshot of given node if foundElement is visible in that dom\n takeScreenShot(node, foundElement) {\n // Try to make every element visible on found elements\n const visibilityResult = addTranslationMarkup(foundElement);\n if (global.window.casperJsTest) {\n /* eslint-disable no-console */\n console.log('foundElement', foundElement.wholeText);\n /* eslint-enable no-console */\n }\n // Do not need to take ss if element is invisible or not in viewport\n if (!visibilityResult || !isInViewport(foundElement)) {\n /* eslint-disable no-console */\n console.log('the element is invisible or not in viewport');\n /* eslint-enable no-console */\n // Clear visibility\n clearTranslationMarkup();\n\n // Return false due to it does not exist on screen\n return false;\n }\n\n // If the page is loaded by casperjs\n if (global.window.casperJsTest) {\n // Send capture command to casperjs as error\n /* eslint-disable no-console */\n console.log('capture');\n /* eslint-enable no-console */\n\n // Resolve with base64 encoded ss data\n return new Promise(resolve => {\n setTimeout(() => {\n // Take ss data\n const capturedData = global.window.tempCaptureData;\n\n // Clear temporary data\n global.window.tempCaptureData = null;\n\n // Clear visibility classes\n clearTranslationMarkup();\n\n // Return screenshot\n resolve(capturedData);\n }, 2000);\n });\n }\n\n // Take screenshot and return base64 encoded form using visibility css\n return new Promise(resolve => domtoimage.toPng(\n node,\n {\n filter: el => {\n // Return if element is not valid to check\n if (!el || !el.className || !el.tagName || typeof el.className !== 'string') {\n return true;\n }\n\n // If element is one of the tags to be filtered from screenshot\n if (this.filterTags.indexOf(el.tagName) > -1) {\n return false;\n }\n\n const filteredNodeClass = el.className.split(' ').filter(classStr => this.filterClasses.indexOf(classStr) !== -1);\n\n return filteredNodeClass.length === 0;\n }\n }\n )\n .then(dataUrl => {\n // Clear visibility classes\n clearTranslationMarkup();\n\n // Return screenshot\n resolve(dataUrl);\n }));\n }\n}\n\nexport const translation = global.Translations || new Translation();\n\nexport default Translation;\n","import axios from 'axios';\nimport React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport { Texts, prepareLoginFlowDefaultGreetings } from '@jotforminc/constants';\n\nimport { translation } from '../Translation';\n\nconst TranslateContext = React.createContext();\n\nexport class TranslateProvider extends Component {\n constructor(props) {\n super(props);\n if (window.JotFormAPIEndpoint) { // populated in form.php jot3\n this.apiURL = window.JotFormAPIEndpoint;\n } else {\n this.apiURL = window.location.host.indexOf('jotform.pro') > -1 ? '/API' : 'https://api.jotform.com';\n }\n\n this.state = {\n // eslint-disable-next-line react/no-unused-state\n translatedText: [],\n translationFetched: false\n };\n }\n\n componentDidMount() {\n this.getRequest();\n }\n\n getRequest = async () => {\n const getFormLanguage = global.document.documentElement.lang;\n if (!getFormLanguage || getFormLanguage === 'en' || getFormLanguage === 'en-US') {\n this.setState({\n // eslint-disable-next-line react/no-unused-state\n translatedText: [],\n translationFetched: true\n });\n return;\n }\n\n const { translationTexts } = this.props;\n Texts.GREETING_DESCRIPTION = prepareLoginFlowDefaultGreetings();\n try {\n const formData = new FormData();\n formData.append('lang', getFormLanguage);\n formData.append('data', JSON.stringify(Object.values(translationTexts)));\n const fieldTranslation = await axios.post(`${this.apiURL}/translationList`, new URLSearchParams(formData).toString(), {\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded'\n }\n });\n translation.add(getFormLanguage, fieldTranslation.data.content);\n\n this.setState({\n // eslint-disable-next-line react/no-unused-state\n translatedText: fieldTranslation.data.content,\n translationFetched: true\n });\n } catch (e) {\n console.error(e);\n this.setState({\n // eslint-disable-next-line react/no-unused-state\n translatedText: [],\n translationFetched: true\n });\n }\n };\n\n render() {\n const { children } = this.props;\n const { translationFetched } = this.state;\n\n return translationFetched && (\n \n { children }\n \n );\n }\n}\n\nTranslateProvider.defaultProps = {\n translationTexts: Texts\n};\n\nTranslateProvider.propTypes = {\n children: PropTypes.shape().isRequired,\n translationTexts: PropTypes.object\n};\n","export { urlAlphabet } from './url-alphabet/index.js'\nexport let random = bytes => crypto.getRandomValues(new Uint8Array(bytes))\nexport let customRandom = (alphabet, defaultSize, getRandom) => {\n let mask = (2 << (Math.log(alphabet.length - 1) / Math.LN2)) - 1\n let step = -~((1.6 * mask * defaultSize) / alphabet.length)\n return (size = defaultSize) => {\n let id = ''\n while (true) {\n let bytes = getRandom(step)\n let j = step\n while (j--) {\n id += alphabet[bytes[j] & mask] || ''\n if (id.length === size) return id\n }\n }\n }\n}\nexport let customAlphabet = (alphabet, size = 21) =>\n customRandom(alphabet, size, random)\nexport let nanoid = (size = 21) =>\n crypto.getRandomValues(new Uint8Array(size)).reduce((id, byte) => {\n byte &= 63\n if (byte < 36) {\n id += byte.toString(36)\n } else if (byte < 62) {\n id += (byte - 26).toString(36).toUpperCase()\n } else if (byte > 62) {\n id += '-'\n } else {\n id += '_'\n }\n return id\n }, '')\n","import { v4 as uuid } from 'uuid';\nimport cloneDeep from 'lodash/cloneDeep';\nimport isUndefined from 'lodash/isUndefined';\nimport { t } from '@jotforminc/translation';\n\nimport { getQuestionByPlaceholder, preparePillObjectFromQuestion } from './questions';\nimport {\n isEmail,\n isTeamEmail,\n generateIsErroredFromValidations\n} from './validation';\nimport { sanitizeSingleEmailInputValue } from './sanitize';\n\nexport const pillValidator = (email, questions) => {\n return (Boolean(isEmail(email) || isTeamEmail(email) || getQuestionByPlaceholder(email, questions)));\n};\n\nexport const preparePillObjectFromEmail = email => ({\n id: uuid(),\n value: email,\n text: email,\n isValid: pillValidator(email),\n isQuestion: false\n});\n\nexport const sanitizeEmailList = (emailList, questions) => emailList.map(email => {\n if (typeof email === 'object') {\n return email;\n }\n\n const question = getQuestionByPlaceholder(email, questions);\n return question ? preparePillObjectFromQuestion(question) : preparePillObjectFromEmail(email);\n});\n\nexport const emailAnswerFinder = () => {\n const { JFFormUserHelper: { user: { email = '' } = {} } = {} } = window;\n if (email) return email;\n\n const emailSentTo = document.querySelector('input#jfFormUserSCL_emailSentTo');\n if (emailSentTo && emailSentTo.value) return emailSentTo.value;\n\n const emailSentToElementFindWithName = document.querySelector('input[name=\"jfFormUserSCL_emailSentTo\"]');\n if (emailSentToElementFindWithName && emailSentToElementFindWithName.value) return emailSentToElementFindWithName.value;\n\n // use form fields\n const emailInput = [...window.document.forms[0].querySelectorAll('.form-line:not(.form-field-hidden):not(.always-hidden) input[type=\"email\"]')]\n .find(input => input.value && input.value.trim());\n\n if (!emailInput) return '';\n\n return emailInput.value;\n};\n\n// TODO: remoe this shit\nexport const singleEmailInputEmailErrored = (value, isRequired = false) => {\n const stringVal = sanitizeSingleEmailInputValue(value);\n if (!stringVal && !isRequired) {\n return false;\n }\n\n const validations = isRequired ? ['required', 'email'] : ['email'];\n return generateIsErroredFromValidations(validations)(stringVal);\n};\n\nexport const removeHtmlTags = content => {\n const parser = (new global.DOMParser()).parseFromString(content, 'text/html').body;\n return parser.textContent || parser.innerText || '';\n};\n\nexport const selectText = question => {\n let text = removeHtmlTags(question.text);\n if (text === '' || text === ' ' || isUndefined(text)) {\n if (question.hint === '' || question.hint === ' ' || isUndefined(question.hint)) {\n // eslint-disable-next-line prefer-destructuring\n text = question.type.split('_')[1];\n text = t(`${text.substr(0, 1).toUpperCase() + text.substr(1)} Field`);\n } else {\n text = question.hint;\n }\n }\n return text;\n};\n\nexport const computeQuestions = (questions, isHIPAA) => {\n const target = isHIPAA ? questions.filter(q => q.protected !== 'Yes') : questions;\n return target.map(question => {\n const newQuestion = cloneDeep(question);\n newQuestion.text = selectText(question);\n return newQuestion;\n });\n};\n","/* eslint-disable */\nimport tlds from 'tlds';\n\nexport const TLDs = tlds.join('|');\nexport const EMAIL_PATTERN = new RegExp(`^[a-z0-9_\\`'\\\\-\\\\+\\\\&+]+(\\\\.[_a-z0-9'\\\\-\\\\+]+)*@([_a-z0-9\\\\-]+\\\\.)+([a-z]{2}|${TLDs})$`, 'i');\n","export const langCodes = {\n tr: 'tr-TR',\n en: 'en-US',\n es: 'es-ES',\n pt: 'pt-PT',\n fr: 'fr-FR',\n de: 'de-DE',\n it: 'it-IT',\n bg: 'bg-BG',\n sr: 'sr-BA',\n hu: 'hu-HU',\n fi: 'fi-FI',\n ka: 'ka-GE',\n nl: 'nl-NL',\n uk: 'uk-UA',\n ua: 'uk-UA',\n id: 'id-ID',\n ko: 'ko-KR',\n ar: 'ar-AR',\n ja: 'ja-JP',\n pl: 'pl-PL',\n ca: 'ca-ES',\n sv: 'sv-SE',\n no: 'no-NO',\n da: 'da-DA',\n ro: 'ro-RO',\n ru: 'ru-RU',\n zh: 'zh-CN',\n 'zh-CN': 'zh-CN',\n 'zh-HK': 'zh-HK',\n af: 'af-ZA',\n he: 'he-IL'\n};\n\nexport const partialTranslations = {\n 'animal-shelter': path => /(jotform.com|jform.co.kr|jotform.pro)(\\/){1}(animal-shelter){1}/g.test(path)\n};\n\n/**\n * Returns Jotform translation files suffix (locale/locale_SUFFIX.js)\n * @param {string} localeCode - lang-[country] (en-US, pt-BR, en)\n * @return {string} A value from langCodes object.\n */\nexport const getLangFileSuffix = localeCode => {\n const lang = localeCode.split('-')[0];\n return langCodes[localeCode] || langCodes[lang];\n};\n\nexport const DEFAULT_LANGUAGE = 'en-US';\n","import { langCodes } from './constants';\n\nexport const getApp = () => global.window.__jfrouter?.ACTIVE_ALIAS || global.window.location.pathname?.replace(/\\//g, '');\nexport const isProduction = () => global.window?.__jfrouter?.JOTFORM_ENV === 'PRODUCTION' || global.window?.JOTFORM_ENV === 'PRODUCTION';\n\nconst encodedAndProcessedStrings = [];\n\nconst processTranslation = async string => {\n const transformPhrase = string?.replace(/JotForm|Jform/gm, 'Jotform')?.trim();\n const buffer = new TextEncoder('utf-8').encode(transformPhrase);\n const digest = await global.crypto.subtle.digest('SHA-1', buffer);\n return {\n raw: transformPhrase,\n encoded: Array.from(new Uint8Array(digest)).map(x => x.toString(16).padStart(2, '0')).join('')\n };\n};\n\nexport const encodeUsedTranslations = translations => {\n translations.forEach(translation => {\n processTranslation(translation)\n .then(({ encoded, raw }) => {\n if (!global.Translations.encodedAndProcessedStrings.some(q => Object.keys(q).includes(encoded))) {\n global.Translations.encodedAndProcessedStrings.push({\n [encoded]: raw\n });\n }\n })\n .catch(error => console.error(error));\n });\n\n return encodedAndProcessedStrings;\n};\n\nexport const collectionTimer = () => {\n const year = new Date().getFullYear();\n const month = new Date().getMonth();\n const day = new Date().getDate();\n const hours = new Date().getHours();\n const minutes = new Date().getMinutes();\n const now = Date.UTC(year, month, day, hours, minutes, 0);\n const startDate = Date.UTC(year, month, day, hours, 0, 0);\n const endDate = Date.UTC(year, month, day, hours, 15, 0);\n\n // Between HH:00 and HH:15\n return startDate < now && endDate > now;\n};\n\nexport const unlocalizeOriginHref = url => {\n const shortLangCodes = Object.keys(langCodes)?.join('|');\n const exp = RegExp(`(\\\\/)(${shortLangCodes})(\\\\/)`, 'g');\n\n return url?.replace(exp, '/');\n};\n","import axios from 'axios';\nimport isNil from 'lodash/isNil';\n\nimport { encodeUsedTranslations, unlocalizeOriginHref } from './utils';\nimport { partialTranslations, DEFAULT_LANGUAGE } from './constants';\n\nexport const prepareT = translation => function t(str, params = {}) {\n if (!str) {\n return str;\n }\n if (typeof str !== 'string') {\n return str;\n }\n\n if ((global?.window?.location?.href || '')?.includes('rawTranslationTextMode=true')) {\n return str;\n }\n\n let translated = str;\n try {\n if (typeof translation.translate === 'function') {\n translated = translation.translate(str, params);\n } else if (typeof translation.t === 'function') {\n translated = translation.t(str, params);\n }\n if (typeof global?.window?.useTranslationScreenshots !== 'undefined') {\n return str;\n }\n if (translation.currentLocale !== DEFAULT_LANGUAGE && str !== translated && translation.controlMode) {\n return '1';\n }\n } catch (e) {\n console.error('Error on common/translate falling back with original str', e);\n }\n\n const resp = (params.branding21) ? translated.replace(/JotForm/g, 'Jotform') : translated;\n\n return resp;\n};\n\nexport const preapreTtime = translation => function ttime(str, options = {}) {\n const { hour = 'numeric', minute = 'numeric' } = options;\n const formatOptions = { hour, minute };\n let [hourVal, minuteVal] = str.replace('/am|pm/', '').split(':').map(i1 => parseInt(i1, 10)); //eslint-disable-line\n\n if (str.indexOf('pm') > 0) {\n hourVal = hourVal !== 12 ? hourVal + 12 : hourVal;\n } else if (str.indexOf('am') > 0) {\n hourVal = hourVal === 12 ? 0 : hourVal;\n }\n\n const tempDate = new Date();\n tempDate.setHours(hourVal, minuteVal);\n // eslint-disable-next-line no-restricted-globals\n if (isNaN(tempDate.getTime())) {\n return str;\n }\n return tempDate.toLocaleTimeString(translation.currentLocale, formatOptions);\n};\n\nexport const prepareTDate = translation => function tdate(str, options = {}) {\n try {\n const ttime = preapreTtime(translation);\n if (options.timeOnly) {\n return ttime(str, options);\n }\n const dateObj = new Date(str);\n // eslint-disable-next-line no-restricted-globals\n if (isNaN(dateObj.getTime())) {\n return str;\n }\n // Add undesired fields with null values to options object. Ex:{weekday : null}\n const formatOptions = {\n weekday: 'short', year: 'numeric', month: 'short', day: 'numeric'\n };\n if (options && typeof options === 'object') {\n Object.keys(options).forEach(optionName => {\n if (options[optionName] == null) {\n delete formatOptions[optionName];\n } else {\n formatOptions[optionName] = options[optionName];\n }\n });\n }\n return dateObj.toLocaleDateString(translation.currentLocale, formatOptions);\n } catch (err) {\n return str;\n }\n};\n\n// Example usage:\n/*\n translationRenderer('This is an [1[example]] string [2[for]] translation')({\n renderer1: (str) => {str}; // str is \"example\"\n fallback: (str) => {str};\n })\n - Since there is no render function given for second match, fallback function will be used as renderer.\n - Renderer functions can only have 1 parameter, which is sanitized version of delimeter.\n */\nexport const prepareTranslationRenderer = t => function translationRenderer(str, params = {}) {\n if ((global?.window?.location?.href || '')?.includes('rawTranslationTextMode=true')) {\n return () => str;\n }\n const translatedString = t(str, params);\n const getRendererIndex = delimiterStr => {\n const matches = delimiterStr.match(/\\[(\\d+)\\[/);\n if (matches && matches[1]) {\n return matches[1];\n }\n throw new Error(`Delimeter string (${delimiterStr}) format is inappropriate! Correct format is [RENDERER_NUMBER[TEXT]]`);\n };\n\n return renderFunctions => {\n try {\n const matchTemplate = /\\[\\d+\\[.*?\\]{2}/g;\n const replaceTemplate = /\\[(\\d+)\\[|\\]{2}/g;\n const matches = (translatedString && translatedString.match) ? translatedString.match(matchTemplate) : null;\n if (matches && matches.length > 0) {\n const renderers = renderFunctions || {};\n // Set a fallback renderer if it is not given in renderFunctions\n if (typeof renderers.fallback !== 'function') {\n renderers.fallback = i1 => i1;\n }\n // Create an array which includes all render functions\n const matchedStrings = matches.map(matchItem => {\n const currentKey = `renderer${getRendererIndex(matchItem)}`;\n const sanitizedValue = matchItem.replace(replaceTemplate, '');\n if (typeof renderers[currentKey] === 'function') {\n return renderers[currentKey](sanitizedValue);\n }\n return renderers.fallback(sanitizedValue);\n });\n\n return translatedString.split(matchTemplate).map((normStr, index) => (\n typeof matchedStrings[index] !== 'undefined'\n ? [normStr, matchedStrings[index]]\n : [normStr]\n ));\n }\n } catch (err) {\n console.error(err); // eslint-disable-line\n }\n return translatedString;\n };\n};\n\nexport const prepareControlModeChange = translation => function controlModeChange(controlMode) {\n return new Promise((resolve, reject) => {\n try {\n // eslint-disable-next-line no-param-reassign\n translation.controlMode = controlMode;\n resolve({ loaded: true, controlMode });\n } catch (err) {\n reject(new Error(err));\n }\n });\n};\n\nexport const prepareAddTranslationToDictionary = translation => function addTranslationToDictionary(code, translationData) {\n const dictionary = translationData;\n // remove untranslated keys\n const clearedDic = Object.keys(dictionary).reduce((dic, key) => {\n const entry = dictionary[key];\n if (!entry) {\n return dic;\n }\n return Object.assign(dic, { [key]: entry });\n }, {});\n\n if (dictionary) {\n translation.add(code, clearedDic);\n }\n return ({ loaded: true, code });\n};\n\nexport const generateDictionaryURL = ({ path, code = DEFAULT_LANGUAGE }) => {\n const sanitizedCode = code?.length !== 5 ? DEFAULT_LANGUAGE : code;\n return `/js/${path}/locale_${sanitizedCode}.js?${Math.floor((Math.random() * (9999 - 1001)) + 1000)}`;\n};\n\nexport const loadDictionaryViaTag = ({ code, path }) => new Promise((resolve, reject) => {\n try {\n const tmpScriptTag = global.document.createElement('script');\n tmpScriptTag.src = generateDictionaryURL({ code, path });\n tmpScriptTag.onload = () => resolve(global.Locale.language);\n tmpScriptTag.onerror = () => reject(new Error('Language dictionary load failed.'));\n\n if (!global.Locale) {\n global.Locale = {};\n }\n\n global.document.body.appendChild(tmpScriptTag);\n } catch (e) {\n reject(e);\n }\n});\n\nexport const loadDictionaryViaFetch = ({ code, path }) => fetch(generateDictionaryURL({ code, path }), {\n headers: { 'Content-Type': 'text/plain' }\n}).then(r => r.text()).then(r => r.replace('Locale.language=', '')).then(r => JSON.parse(r));\n\nexport const prepareAddDictionary = translation => function addDictionary(code, partialDictionaryName) {\n const addTranslationToDictionary = prepareAddTranslationToDictionary(translation);\n const url = unlocalizeOriginHref(global?.window?.location?.href);\n const partialDictionaryPath = partialDictionaryName || Object.keys(partialTranslations).find(q => partialTranslations[q](url));\n const loadMethod = global?.document ? loadDictionaryViaTag : loadDictionaryViaFetch;\n const path = partialDictionaryPath ? `locale/partial-translations/${partialDictionaryPath}` : 'locale';\n return new Promise((resolve, reject) => {\n loadMethod({ path, code: code?.length !== 5 ? DEFAULT_LANGUAGE : code })\n .then(translationData => resolve(addTranslationToDictionary(code, translationData)))\n .catch(err => reject(new Error(err)));\n });\n};\n\nexport const sendUsedTranslationsInterval = () => {\n if (isNil(global.Translations.processUsedTranslationsInterval) && !global.Translations.forceStopCollecting) {\n console.log('[Translations] :: Collecting used translation strings.');\n\n global.Translations.processUsedTranslationsInterval = setInterval(() => {\n const finishInterval = global.Translations.encodedAndProcessedStrings?.length >= global.Translations.usedTranslations?.length;\n\n if (global.Translations.forceStopCollecting) {\n return;\n }\n\n if (finishInterval) {\n clearInterval(global.Translations.processUsedTranslationsInterval);\n global.Translations.processUsedTranslationsInterval = null;\n global.Translations.forceStopCollecting = true;\n\n return axios.post('/API/translation/track-translated-strings', {\n url: global.location?.href,\n hashes: global.Translations.encodedAndProcessedStrings\n }).then(res => {\n if (res?.data?.responseCode === 200) {\n console.log(`[Translations] :: ${global.Translations.encodedAndProcessedStrings?.length} used translations collected.`);\n }\n }).catch(() => {\n console.log('[Translations] :: Error while collect used translations.');\n });\n }\n\n encodeUsedTranslations(global.Translations.usedTranslations);\n }, 1500);\n }\n};\n","import { translation } from './Translation';\nimport { initializeTranslationFromGlobal } from './global';\nimport { prepareT, prepareTranslationRenderer, prepareTDate } from './hof';\nimport { langCodes, getLangFileSuffix } from './constants';\nimport { TranslateProvider } from './components/TranslateProvider';\nimport { setDatepickerLocale } from './setDatepickerLocale';\n\nconst t = prepareT(translation);\nconst tdate = prepareTDate(translation);\nconst translationRenderer = prepareTranslationRenderer(t);\n\ninitializeTranslationFromGlobal(translation, t);\n\nexport {\n t,\n tdate,\n translation,\n translationRenderer,\n langCodes,\n getLangFileSuffix,\n TranslateProvider,\n setDatepickerLocale\n};\n\nexport default translation;\n","import {\n prepareAddDictionary,\n prepareControlModeChange,\n prepareAddTranslationToDictionary,\n sendUsedTranslationsInterval\n} from './hof';\n\nimport { isProduction, collectionTimer } from './utils';\n\n/* eslint-disable no-param-reassign, no-extend-native */\nexport function initializeTranslationFromGlobal(translation, t) {\n const addDictionary = prepareAddDictionary(translation);\n const controlModeChange = prepareControlModeChange(translation);\n const addTranslationToDictionary = prepareAddTranslationToDictionary(translation);\n\n // Overriding all strings and adding locale method\n String.prototype.locale = function locale() {\n return t(this);\n };\n\n if (!global.Translations) {\n global.__t = t;\n global.Translations = translation;\n global.Translations.t = t;\n global.Translations.addDictionary = addDictionary;\n global.Translations.addTranslationToDictionary = addTranslationToDictionary;\n global.Translations.controlModeChange = controlModeChange;\n global.Translations.processUsedTranslationsInterval = null;\n global.Translations.encodedAndProcessedStrings = [];\n global.Translations.startCollectUsedTranslationsInterval = sendUsedTranslationsInterval;\n global.Translations.forceStopCollecting = false;\n }\n\n if (global.window && global.window.useLocaleDictionary && global.window?.Locale?.language) {\n addTranslationToDictionary(global.window.currentLocale, global.window.Locale.language);\n }\n\n if (isProduction() && collectionTimer() && global.Translations.currentLocale !== 'en-US') {\n sendUsedTranslationsInterval();\n }\n}\n","import isNumber from 'lodash/isNumber';\nimport { EMAIL_PATTERN } from '@jotforminc/constants';\nimport { t } from '@jotforminc/translation';\n\nimport { safeJSONParse } from './data';\n\nexport const isFilled = value => {\n if (typeof value === 'string') {\n const val = value && value.replace(/^\\s+|\\s+$/g, '');\n return !!val;\n } if (Array.isArray(value)) {\n return value.length > 0;\n }\n return !!value;\n};\n\nexport const isEmpty = value => {\n return !isFilled(value);\n};\n\nexport const isValidUrl = value => {\n const URLPattern = /(http|ftp|https){0,1}:{0,1}[\\w\\-_]+(\\.[\\w\\-_]+)+([\\w\\-\\.,@?^=%&:/~\\+#]*[\\w\\-\\@?^=%&/~\\+#])?/; // eslint-disable-line no-useless-escape\n const validUrlRegex = global?.JotForm?.validationRegexes?.url || URLPattern;\n return isFilled(value) && validUrlRegex.test(value);\n};\n\nexport const isEmail = value => {\n return isFilled(value) && EMAIL_PATTERN.test(value);\n};\n\nexport const isTeamEmail = value => {\n const teamRegex = /team:[0-9].{13,14}$/;\n return teamRegex.test(value);\n};\n\n/**\n * Hostname validation\n * @function\n * @param {String} hostname to validate\n */\nexport const validateHostname = hostname => /^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]).)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9])$/\n .test(String(hostname).toLowerCase());\n\nexport const isSafari = () => /^((?!chrome|android).)*safari/i.test(global.navigator.userAgent);\n\n/**\n * E-mail validation\n * @function\n * @param {String} email to validate\n */\nexport const validateEmail = email => /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/\n .test(String(email).toLowerCase());\n\nconst validationMessages = {\n required: t('This field is required'),\n invalidEmail: t('Invalid email address')\n};\n\nconst validationsMap = {\n required: value => (!isFilled(value) ? validationMessages.required : false),\n required_withnone: value => (!isFilled(value) || value === 'none' ? validationMessages.required : false),\n email: value => {\n const questionPlaceholderRegex = /^\\{(.*?)\\}$/;\n if (typeof value === 'string' && questionPlaceholderRegex.test(value)) {\n return false;\n }\n\n if (typeof value === 'string') {\n const [, tagifyValue] = value.match(/^\\[\\[(.*?)\\]\\]$/) || [];\n if (tagifyValue) {\n const parsedTagifyValue = safeJSONParse(tagifyValue);\n if (parsedTagifyValue && parsedTagifyValue.name && questionPlaceholderRegex.test(parsedTagifyValue.name)) {\n return false;\n }\n }\n }\n\n if (Array.isArray(value) && value.length === 1 && questionPlaceholderRegex.test(value[0].value)) {\n return false;\n }\n\n const strEmail = (Array.isArray(value) && value.length === 1) ? value[0].value : value;\n return !isEmail(strEmail) ? validationMessages.invalidEmail : false;\n },\n numeric: val => (!isNumber(val) ? 'please write numeric' : false),\n content: val => {\n if (!isFilled(val)) {\n return validationMessages.required;\n }\n\n // Create dummy dom to check if the email content is empty or not\n const emailContent = new window.DOMParser().parseFromString(val, 'text/html').body.textContent.trim();\n return !emailContent ? validationMessages.required : false;\n }\n};\n\n// TODO: memoize this fn\nexport const generateIsErroredFromValidations = validations => {\n const fns = [];\n validations.forEach(name => {\n const validator = validationsMap[name];\n if (validator) {\n fns.push(validator);\n }\n });\n return value => {\n let errorMsg;\n fns.find(fn => {\n errorMsg = fn(value);\n return errorMsg;\n });\n return errorMsg || false;\n };\n};\n\nexport const checkUserType = (userType, credentials) => {\n const { account_type: { name } } = credentials;\n return name === userType;\n};\n","// import path from 'path';\n\nimport get from 'lodash/get';\n\nexport const getRouterValue = (key, defaultValue) => {\n return get(window.__jfrouter, key, defaultValue);\n};\n\nexport const getEnv = () => {\n return getRouterValue('JOTFORM_ENV', 'development');\n};\n\nexport const getAppPath = () => {\n return getRouterValue('APP_PATH', '/');\n};\n\nexport const getBaseURL = () => {\n return getRouterValue('BASE_URL', 'http://localhost');\n};\n\nexport const getAssetPath = () => {\n return getRouterValue('ASSET_PATH', '/');\n};\n\nexport const getRevision = () => {\n return getRouterValue('REVISION_HASH', '/');\n};\n\nexport const getPublicURL = () => {\n return `${getBaseURL()}${getAssetPath()}`;\n};\n\nexport const getCDNURL = () => {\n return getRouterValue('CDN_URL', getPublicURL());\n};\n\n// export const getAssetURL = assetPath => {\n// return `${getBaseURL()}${path.join(getAssetPath(), assetPath)}`;\n// };\n\nexport const getAppURL = () => {\n return `${getBaseURL()}${getAppPath()}`;\n};\n\nexport const getRoutePath = () => {\n return window.location.pathname.replace(getAppPath(), '');\n};\n\nexport const getActiveAlias = () => {\n return getRouterValue('ACTIVE_ALIAS', '');\n};\n\nexport const getActiveApp = () => {\n return getRouterValue('ACTIVE_APP', '');\n};\n\nexport const getInitialRoutePath = () => {\n return getRouterValue('INITIAL_ROUTE_PATH', '');\n};\n\nexport const getFullPath = () => {\n return getRouterValue('FULL_PATH', '');\n};\n\nexport const isHIPAA = () => {\n return getRouterValue('IS_HIPAA', '0') === '1';\n};\n\nexport const isEU = () => {\n return getRouterValue('IS_EU', '0') === '1';\n};\n\nexport const isSSO = () => {\n return getRouterValue('IS_SSO', '0') === '1';\n};\n\nexport const getRootPath = () => {\n return getRouterValue('ROOT_PATH', '');\n};\n","import { getBaseURL, getEnv } from '@jotforminc/router-bridge';\nimport { t } from '@jotforminc/translation';\nimport { handleCustomNavigation } from './platform';\nimport { getUrlParameter } from './data';\n\nexport const shortenString = (str, maxLength = 15) => {\n const sanitizedString = str.replace(/(<([^>]+)>)/ig, '');\n return (\n sanitizedString.length > maxLength\n ? `${sanitizedString.substring(0, maxLength - 2)}...`\n : sanitizedString\n );\n};\n\nexport const getTextForDuplicate = ({\n list,\n count = 1,\n text = '',\n baseKey = 'text'\n}) => {\n const isExists = list.find(({ [baseKey]: tmpText }) => tmpText === text);\n if (!isExists) {\n return text;\n }\n\n const textParts = text.split('_');\n const originalText = textParts.length === 1 ? textParts[0] : textParts.slice(0, -1).join('_');\n return getTextForDuplicate({\n list,\n baseKey,\n count: count + 1,\n text: `${originalText}_${count}`\n });\n};\n\nexport const tagDuplicateProperty = baseKey => values => {\n const sanitizedValues = Array.isArray(values) ? values : [];\n const updatedValues = sanitizedValues.reduce((list, property = {}) => {\n const text = property[baseKey];\n\n if (text === undefined) {\n return [...list, property];\n }\n\n const newText = getTextForDuplicate({ list, baseKey, text });\n const updatedProperty = { ...property, [baseKey]: newText };\n return [...list, updatedProperty];\n }, []);\n return updatedValues;\n};\n\nfunction getRandomColor() {\n const letters = '0123456789ABCDEF';\n let color = '#';\n for (let i = 0; i < 6; i++) {\n color += letters[Math.floor(Math.random() * 16)];\n }\n return color;\n}\n\nconst defaultPalette = [\n '#007862',\n '#F46A00',\n '#047C9E',\n '#0876DB',\n '#00871E',\n '#363E76',\n '#656A9B',\n '#69E8AB',\n '#7553A3',\n '#9A674A',\n '#B0ECFF',\n '#B94B9A',\n '#C1FCF1',\n '#C7DF68',\n '#CE1F73',\n '#D1DEE2',\n '#DCC2FF',\n '#DD304C',\n '#DEE1FF',\n '#E2D1D1',\n '#FDC1CA',\n '#FFCDFA',\n '#FFD6BC',\n '#FFE195'\n];\n\nexport const colorifyFormArray = (formArray, palette = defaultPalette) => {\n return formArray.map((formObj, i) => {\n const color = palette[i] ? palette[i] : getRandomColor();\n return { ...formObj, color: formObj.color || color };\n });\n};\n\nexport const formatBytes = (bytes, decimals = 2) => {\n if (bytes === 0) return '0 Bytes';\n\n const k = 1024;\n const dm = decimals < 0 ? 0 : decimals;\n const sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];\n\n const i = Math.floor(Math.log(bytes) / Math.log(k));\n\n return `${parseFloat((bytes / k ** i).toFixed(dm))} ${sizes[i]}`;\n};\n\nexport const isBright = sourceColor => {\n if (sourceColor && sourceColor.length > 0) {\n const color = (sourceColor.charAt(0) === '#') ? sourceColor.substring(1, 7) : sourceColor;\n const r = parseInt(color.substring(0, 2), 16); // hexToR\n const g = parseInt(color.substring(2, 4), 16); // hexToG\n const b = parseInt(color.substring(4, 6), 16); // hexToB\n return (((r * 0.299) + (g * 0.587) + (b * 0.114)) > 186);\n }\n return false;\n};\n\n/**\n * This function creates an object with keys given in array of string type\n * and makes the defaultValue parameter the value of all keys.\n */\nexport const createObjectWithKeys = (keys, defaultValue = true) => keys.reduce((accumulatorObject, key) => ({ ...accumulatorObject, [key]: defaultValue }), {});\n\nexport const filterObjectKeysByValue = (obj, value = true) => Object.keys(obj).filter(key => obj[key] === value);\n\nexport const getAccountTypeName = user => {\n if (user.accountType) {\n return user.accountType;\n }\n return user?.account_type?.name;\n};\n\nexport const classNames = (...arr) => arr.flat().filter(Boolean).join(' ');\n\nexport const handleRedirect = formID => {\n const integrationParam = getUrlParameter('integration');\n\n handleCustomNavigation(`/sign/${formID}${integrationParam.length > 0 ? `/settings/integrations?integration=${integrationParam}` : ''}`, '_self');\n};\n\nexport const generateSessionLink = (sessionID, token, formID) => {\n const pathnameClean = window.location.pathname.replace(/^\\/|(?:(?=[&?]).*$)/g, '');\n if (window?.JFAppsManager?.isOpenedInPortal() && !window?.JFAppsManager?.isProductListForm) {\n return window.JFAppsManager.generateAppContinueLink(sessionID, token, formID);\n }\n return `${window.location.origin}/${pathnameClean}?session=${sessionID}&stoken=${token}`;\n};\n\nexport const generateUniqueID = () => (Math.random().toString(36).substring(2));\n\nexport const openInNewTab = (url, target = '_blank') => {\n const dontOverwrite = true;\n handleCustomNavigation(url, target, dontOverwrite, 'noopener,noreferrer');\n};\n\nexport const handlePublishPRLink = originalLink => {\n const regex = /https:\\/\\/(?:www\\.)?jotform\\.ooo(?:\\/PR\\/(\\d+))?\\/build\\/(\\d+)(\\/publish)?/;\n const match = originalLink.match(regex);\n\n if (match) {\n const prNumber = match[1];\n const buildNumber = match[2];\n\n const newLink = prNumber ? `https://www.jotform.ooo/PR/${prNumber}/${buildNumber}` : `https://www.jotform.ooo/${buildNumber}`;\n return newLink;\n }\n\n return null;\n};\n\nexport const isUserAllowedView = credentials => {\n const { account_type: { name } = {} } = credentials || {};\n const allowedUsers = ['ADMIN', 'SUPPORT'];\n\n if (allowedUsers.indexOf(name) > -1) return true;\n return false;\n};\n\nexport const redirectToLoginPage = () => {\n window.location.href = `${getBaseURL()}/login`;\n};\n\nexport const isProduction = () => {\n return getEnv() === 'PRODUCTION' || window.JOTFORM_ENV === 'PRODUCTION';\n};\n\nfunction numberFormat(number, decimals, decPoint, thousandsSep) {\n const n = number;\n const prec = decimals;\n const toFixedFix = (num, _prec) => {\n const k = 10 ** _prec;\n return (Math.round(num * k) / k).toString();\n };\n // n = !isFinite(+n) ? 0 : +n;\n // prec = !isFinite(+prec) ? 0 : Math.abs(prec);\n const sep = (typeof thousandsSep === 'undefined') ? ',' : thousandsSep;\n const dec = (typeof decPoint === 'undefined') ? '.' : decPoint;\n let s = (prec > 0) ? toFixedFix(n, prec) : toFixedFix(Math.round(n), prec);\n const abs = toFixedFix(Math.abs(n), prec);\n let _; let i;\n if (abs >= 1000) {\n _ = abs.split(/\\D/);\n i = _[0].length % 3 || 3;\n _[0] = s.slice(0, i + (n < 0)) + _[0].slice(i).replace(/(\\d{3})/g, `${sep}$1`);\n s = _.join(dec);\n } else {\n s = s.replace('.', dec);\n }\n\n if (+s > 0) {\n if (s.indexOf(dec) === -1 && prec > 1) {\n const preca = [];\n preca[prec - 1] = undefined;\n s += `${dec} ${preca.join(0)} 0`;\n } else if (s.indexOf(dec) === s.length - 2) { // incorrect: 2.7, correct: 2.70\n s += '0';\n }\n }\n return s;\n}\n\nexport const bytesToHuman = octets => {\n const units = ['B', 'kB', 'MB', 'GB', 'TB']; // ...etc\n let i = 0;\n let size = octets;\n for (i = 0; size > 1024; size /= 1024) { i++; }\n return numberFormat(size, 1) + units[Math.min(i, units.length - 1)];\n};\n\nexport const saveBlobAsFile = (blob, fileName) => {\n // For ie and edge, use native msSaveOrOpenBlob method instead of dummy anchor and click\n if (window.navigator && window.navigator.msSaveOrOpenBlob) {\n window.navigator.msSaveOrOpenBlob(blob, fileName);\n } else if (window.URL.createObjectURL) {\n const link = document.createElement('a');\n const blobURL = window.URL.createObjectURL(blob);\n link.href = blobURL;\n link.download = fileName;\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n URL.revokeObjectURL(blobURL);\n }\n};\n\n/**\n * When send a GET request to a PDF file url which has nc query parameter with value 1,\n * Content-Disposition in response header's value becomes 'inline'\n * and this behaviour causes to open file in the current tab\n * To have the downloaded file as an attachment,\n * we should convert the url to a blob and download this blob.\n * @param {string} fileURL\n * @param {function} callback\n */\nexport const downloadPDFCheckingNoCache = async (fileURL, callback = f => f) => {\n const contentURL = new window.URL(fileURL);\n const { searchParams, pathname } = contentURL;\n const hasNoChacheFlag = searchParams.get('nc') === '1';\n if (hasNoChacheFlag) {\n const fileResponse = await fetch(contentURL.href);\n const blob = await fileResponse.blob();\n const paths = pathname.split('/');\n const filename = paths[paths.length - 1];\n saveBlobAsFile(blob, filename);\n } else {\n callback();\n }\n};\n\nexport const sleep = ms => {\n return new Promise(resolve => setTimeout(resolve, ms));\n};\n\nexport const encodeURLs = context => {\n const urlRegex = /\"https?:\\/\\/(.*?)\"/g;\n return context.replace(urlRegex, (_, url) => `\"https://${encodeURI(url)}\"`);\n};\n\nexport const getDimensionsAndPosition = node => {\n const rect = node.getBoundingClientRect();\n return {\n width: rect.width,\n height: rect.height,\n top: rect.top,\n right: rect.right,\n bottom: rect.bottom,\n left: rect.left\n };\n};\nexport const openSocialMediaPopup = (url, callback) => {\n if (!url) return;\n\n const w = (window.innerWidth || window.screen.width) / 2;\n const h = (window.innerHeight || window.screen.height) / 2;\n let y = window.outerHeight / 2 + window.screenY - h / 2;\n let x = window.outerWidth / 2 + window.screenX - w / 2;\n try {\n y = window.top.outerHeight / 2 + window.top.screenY - h / 2;\n x = window.top.outerWidth / 2 + window.top.screenX - w / 2;\n } catch (err) {\n // error accessing to cross origin frame. Do nothing.\n }\n\n handleCustomNavigation(url, '_blank', true, `toolbar=0,location=0,menubar=0,width=${w},height=${h},top=${y},left=${x}`);\n\n if (typeof callback === 'function') {\n callback();\n }\n};\n\nexport const getMissingPDFAttachmentMessage = (availablePDFIDs = [], currentSelectedPDFIDs = []) => {\n const diff = currentSelectedPDFIDs.filter(id => !availablePDFIDs.includes(id));\n if (diff.length) {\n if (diff.length > 1) {\n return t('Attached documents are missing.');\n }\n return t('Attached document is missing.');\n }\n};\n\nexport const doesTargetLinkContainsProtocol = targetURL => {\n const protocolRegex = /^(https|http|ftp|tel|mailto|ms-excel):\\/\\//gi;\n return protocolRegex.test(targetURL);\n};\n\nexport const checkAndAddProtocolToTargetLink = targetURL => {\n if (!doesTargetLinkContainsProtocol(targetURL)) return `https://${targetURL}`;\n\n return targetURL;\n};\n","import { nanoid } from 'nanoid';\nimport Axios from 'axios';\nimport {\n isEmail,\n emailAnswerFinder,\n generateSessionLink\n} from '@jotforminc/utils';\nimport { StorageHelper } from '@jotforminc/storage-helper';\n\nexport default class SCLManager {\n constructor(options = {}) {\n this.inited = false;\n const {\n apiURL, formID, onStateChange\n } = options;\n this.onStateChange = onStateChange;\n this.states = Object.freeze({\n default: 0, saving: 1, saved: 2, error: 3\n });\n this.formID = formID;\n this.apiURL = apiURL;\n this.localSessionKey = `${SCLManager.SACL_DETAILS_KEY}_${this.formID}`;\n\n this.additionalStaticData = [{ name: 'continueLater', value: '1' }];\n }\n\n setAdditionalStaticData = (data = []) => {\n this.additionalStaticData = data;\n };\n\n static SACL_DETAILS_KEY = 'JFU_SCL_details';\n\n changeState = newState => {\n if (this.onStateChange) {\n this.onStateChange(newState);\n }\n };\n\n initiate = (onSuccess, onError, loading) => {\n console.log('manager.initiate');\n if (!this.inited) {\n this.inited = true;\n if (!window.JotForm.sessionID) {\n window.JotForm.sessionID = this.generateSessionID();\n }\n\n if (!window.JotForm.submissionToken) {\n window.JotForm.submissionToken = this.generateToken();\n }\n\n this.sessionID = window.JotForm.sessionID;\n this.token = window.JotForm.submissionToken;\n }\n this.hiddenSubmit(false, onSuccess, onError, loading);\n this.generateLink();\n };\n\n generateLink = () => {\n // consider custom urls, use pathname instead of form id\n // remove leading and trailing slashes in pathname\n this.continueLink = generateSessionLink(this.sessionID, this.token, this.formID);\n\n const currentURL = new URL(window.location.href);\n const params = Array.from(currentURL.searchParams.entries()).map(([key, value]) => ({ key, value }));\n const excludedParams = ['stoken', 'session', 'jumpToPage'];\n\n const continueURL = new URL(this.continueLink);\n const extraParams = {};\n params.forEach(param => {\n if (!excludedParams.includes(param.key)) {\n extraParams[param.key] = param.value;\n continueURL.searchParams.append(param.key, param.value);\n }\n });\n\n // For legacy forms add jumpTo\n if (!window.CardForm) {\n const sections = document.querySelectorAll('.form-section:not([id^=section_])');\n if (sections.length > 1) {\n const index = [...sections].indexOf(window.JotForm.currentSection);\n continueURL.searchParams.append('jumpToPage', index >= 0 ? (index + 1) : 1);\n }\n }\n\n if (this.localSessionKey) {\n StorageHelper.setLocalStorageItem({\n key: this.localSessionKey,\n value: {\n token: this.token,\n created_at: new Date(),\n extraParams: extraParams,\n session_id: this.sessionID\n }\n });\n }\n\n this.continueLink = continueURL.href;\n return {\n link: this.continueLink,\n extraParams\n };\n };\n\n generateSessionID() {\n const uniq = nanoid(8);\n return `JF-S4L-${uniq}`;\n }\n\n generateToken = () => {\n const uniq = nanoid(8);\n const formIdLastNumber = this.formID.toString().slice(-1) / 1;\n const checkSum = (formIdLastNumber * 4) + 7;\n return `JF-${uniq}-${checkSum}`;\n };\n\n getInputNamesAndValues(jotformForm) {\n const formData = Array.from(new FormData(jotformForm).entries()) // eslint-disable-line no-undef\n .map(([name, value]) => ({ name, value }));\n\n const questionLines = document.querySelectorAll('li.form-line');\n for (let i = 0; i < questionLines.length; i++) {\n const questionLine = questionLines[i];\n const questionType = questionLine.dataset.type;\n\n if (['control_radio', 'control_checkbox'].indexOf(questionType) > -1) {\n const inputs = questionLine.querySelectorAll('input');\n let empty = true;\n for (let j = 0; j < inputs.length; j++) {\n const input = inputs[j];\n if (input.checked) {\n empty = false;\n }\n\n if (empty && input.hasAttribute('data-otherhint')) {\n for (let k = 0; k < formData.length; k++) {\n if (formData[k].name === input.name) {\n formData[k].empty = true;\n break;\n }\n }\n }\n }\n\n if (empty) {\n formData.push({\n name: inputs[0].name,\n value: '',\n empty: true\n });\n }\n } else if (!!window.CardForm && questionType === 'control_textarea') {\n const textAreaField = questionLine.querySelector('.mdInput');\n const textareaDiv = questionLine.querySelector('.jfTextarea-editor');\n const currData = textAreaField && formData.find(data => data.name === textAreaField.name);\n\n if (currData && textareaDiv) {\n currData.value = textareaDiv.innerHTML;\n }\n }\n }\n\n return formData;\n }\n\n // eslint-disable-next-line complexity, max-statements\n getFormDataDiff(currentData, previousData, jotformForm) {\n if (!previousData) {\n return currentData;\n }\n\n const diff = [];\n const regexOneDim = /\\[.*?\\]$/g; // 1D array like inputs include '[*]' in their names\n const regexOneDimWithEmptyKeyName = /\\[\\]$/g; // 1D array like inputs include '[]' in their names such as 'control_matrix', multiselect 'control_imagechoice' or 'control_dropdown'\n const regexTempFile = /temp_upload\\[.*?]\\[.*?]$/g; // file upload input name format\n const regexTwoDim = /\\[.*?\\]\\[.*?\\]$/g; // 2D array like inputs include '[*][]' in their names\n\n for (let i = 0; i < currentData.length; i++) {\n const current = currentData[i];\n const isOneDim = current.name.match(regexOneDim);\n const isOneDimWithEmptyKeyName = current.name.match(regexOneDimWithEmptyKeyName);\n const isTempFile = current.name.match(regexTempFile);\n const isTwoDim = current.name.match(regexTwoDim);\n\n if (isOneDim && !isTempFile) {\n // if it is a two dimensional array input like 'control_matrix', always return all of them although it has no value. otherwise the order of inputs will be changed\n // apply same logic above for 1D array like inputs include '[]' in their names\n if (isTwoDim || isOneDimWithEmptyKeyName) {\n diff.push(current);\n continue;\n } else if (current.name.include('[other]')) {\n const checkboxOther = jotformForm.querySelector(`input[type=\"checkbox\"][name=\"${current.name}\"]`);\n if ((checkboxOther && !checkboxOther.checked) || (!current.value)) {\n continue;\n }\n // send other value with other checkbox values otherwise its value won't be saved properly\n const checkboxGroupName = current.name.split('[other]')[0];\n const checkboxGroup = currentData.find(data => data.name === `${checkboxGroupName}[]`);\n if (checkboxGroup) {\n diff.push(current);\n continue;\n }\n }\n }\n\n let isChanged = true;\n for (let j = 0; j < previousData.length; j++) {\n if (previousData[j].name === current.name && previousData[j].value === current.value) {\n isChanged = false;\n break;\n }\n }\n\n if (isChanged) {\n if (isOneDim && !isTwoDim) {\n diff.push(current);\n const currentQid = current.name.split('_')[0];\n for (let j = 0; j < previousData.length; j++) {\n const data = previousData[j];\n const dataQid = data.name.split('_')[0];\n if (dataQid === currentQid && data.name !== current.name) {\n let isExist = false;\n for (let k = 0; k < diff.length; k++) {\n if (diff[k].name === data.name) {\n isExist = true;\n break;\n }\n }\n\n if (!isExist) {\n diff.push(data);\n }\n }\n }\n } else {\n diff.push(current);\n }\n }\n }\n\n return diff;\n }\n\n mergeDiffWithStaticData(diff) {\n const data = [\n ...this.additionalStaticData,\n { name: 'formID', value: this.formID },\n { name: 'session_id', value: window.JotForm.sessionID },\n { name: 'submission_token', value: window.JotForm.submissionToken }\n ];\n\n const isCardForm = !!window.CardForm;\n if (isCardForm) {\n const { currentCardIndex } = window.CardForm.layoutParams;\n data.push({ name: 'continue_card_index', value: currentCardIndex });\n }\n if (window.JotForm.submissionID) {\n data.push({ name: 'submission_id', value: window.JotForm.submissionID });\n }\n\n if (window.JotForm.tempUploadFolderInjected) {\n const tempUploadFolderInput = document.querySelector('input[name=\"temp_upload_folder\"]');\n if (tempUploadFolderInput) {\n data.push({ name: 'temp_upload_folder', value: tempUploadFolderInput.value });\n } else {\n console.error('No temp upload folder input found');\n }\n }\n\n if (window.JotForm.uploadServerUrlInjected) {\n const tempUploadFolderInput = document.querySelector('input[name=\"uploadServerUrl\"]');\n if (tempUploadFolderInput) {\n data.push({ name: 'uploadServerUrl', value: tempUploadFolderInput.value });\n } else {\n console.error('No temp upload folder input found');\n }\n }\n\n const simpleSpc = document.getElementById('simple_spc');\n if (simpleSpc) {\n data.push({ name: 'simple_spc', value: simpleSpc.value });\n }\n\n const merged = diff.slice(0);\n for (let i = 0; i < data.length; i++) {\n let isExists = false;\n for (let j = 0; j < merged.length; j++) {\n if (merged[j].name === data[i].name) {\n isExists = true;\n break;\n }\n }\n\n if (!isExists) {\n merged.push(data[i]);\n }\n }\n\n return merged;\n }\n\n createInput(props) {\n const keys = Object.keys(props);\n const input = document.createElement('input');\n for (let i = 0; i < keys.length; i++) {\n const prop = keys[i];\n input[prop] = props[prop];\n }\n return input;\n }\n\n removeSaveIndicator() {\n window.JotForm.saving = false;\n window.JotForm.enableButtons();\n\n const saveIndicator = document.querySelector('.form-saving-indicator');\n if (saveIndicator) {\n saveIndicator.remove();\n }\n }\n\n continue = ({\n email,\n sessionID,\n submissionToken,\n lastAnswers\n } = {}) => {\n this.inited = true;\n this.sessionID = sessionID || window.JotForm.sessionID;\n this.token = submissionToken || window.JotForm.submissionToken;\n\n if (lastAnswers) {\n this.lastAnswers = lastAnswers;\n }\n\n if (email && !this.getEmailSentTo()) {\n this.setHiddenEmailSentTo(email);\n }\n };\n\n sendEmail(targetEmailAddress) {\n const email = targetEmailAddress || emailAnswerFinder();\n if (!isEmail(email)) {\n return;\n }\n\n const data = {\n formID: this.formID,\n shareLink: this.continueLink,\n email,\n sessionID: this.sessionID,\n token: this.token\n };\n\n Axios.post(`${this.apiURL}/sendSaveAndContinueEmail`, data)\n .then(resp => {\n if (resp.data.responseCode !== 200) {\n console.error('ERROR HAPPENED on SCL Mail (NOT 200)', resp);\n }\n })\n .catch(error => {\n error.json().then(err => {\n console.error('ERROR HAPPENED on SCL Mail (ERROR)', err);\n });\n });\n }\n\n setHiddenEmailSentTo = email => {\n const jotformForm = document.forms[0];\n let input = document.querySelector('input[name=\"jfFormUserSCL_emailSentTo\"]');\n const append = !input;\n input = input || this.createInput({ type: 'hidden', name: 'jfFormUserSCL_emailSentTo', value: email });\n input.value = email;\n if (append) {\n jotformForm.appendChild(input);\n }\n };\n\n getEmailSentTo = () => {\n const input = document.querySelector('input[name=\"jfFormUserSCL_emailSentTo\"]');\n return input ? input.value : false;\n };\n\n hiddenSubmit = (forceSubmit, onSuccess, onError, loading) => {\n const jotformForm = document.forms[0];\n const currentValues = this.getInputNamesAndValues(jotformForm);\n const diff = this.getFormDataDiff(currentValues, this.lastAnswers, jotformForm);\n const loadingPendingSubm = window.JotForm.loadingPendingSubmission;\n\n const previouslyUploadedFiles = [];\n currentValues.forEach(each => {\n if (/uploadedBefore|_old/.test(each.name)) { // Piling both single and multiple prevly uploaded files to send always\n previouslyUploadedFiles.push(each);\n }\n });\n\n if ((diff.length > 0 || forceSubmit) && !loadingPendingSubm) {\n const merged = this.mergeDiffWithStaticData(diff);\n\n // Keep uploadedBefore files in the loop:\n // Because of 1774958 we're producing false diffs. Thus it causes extra saves.\n // In some cases uploadedBefore files are overridden as never set throughout saves and continues.\n // So we need to keep sending uploadedBefore files. Fixes 2079296\n merged.push(...previouslyUploadedFiles);\n\n if (!merged.length) {\n return;\n }\n const dummyForm = jotformForm.cloneNode(false);\n document.body.appendChild(dummyForm);\n for (let i = 0; i < merged.length; i++) {\n const p = merged[i];\n\n // need to skip file values. They will be added separately.\n if (typeof p.value === 'object') { // Most likely a file value..\n const fileInput = jotformForm.querySelector(`[name=\"${p.name}\"][type=\"file\"]`);\n if (fileInput) continue;\n }\n\n const input = this.createInput({ type: 'hidden', name: p.name, value: p.value });\n dummyForm.appendChild(input);\n }\n let singleFileUpload = false;\n // Appending single file inputs with their files\n Array.from(jotformForm.querySelectorAll('[type=\"file\"]:not([multiple])'))\n .forEach(singleFileInput => {\n const fileInputClone = singleFileInput.cloneNode(true);\n fileInputClone.style.display = 'none';\n dummyForm.appendChild(fileInputClone);\n if (fileInputClone.files.length) {\n singleFileUpload = true;\n }\n });\n\n this.changeState(this.states.saving);\n window.JotForm.hiddenSubmit(dummyForm, {\n async: true,\n onSuccessCb: response => {\n // TODO: add interval on legacy forms\n // if (!this.saveInterval) {\n // this.saveInterval = setInterval(() => {\n // this.hiddenSubmit();\n // }, 5000);\n // }\n // }\n // set the submissionId if it is not exist\n if (!window.JotForm.submissionID && response.responseText) {\n const resJSON = JSON.parse(response.responseText);\n if (resJSON.submissionId) {\n window.JotForm.setSubmissionID(resJSON.submissionId);\n const sidInput = this.createInput({\n type: 'hidden',\n name: 'submission_id',\n id: 'submission_id',\n value: resJSON.submissionId\n });\n jotformForm.appendChild(sidInput);\n }\n }\n\n // also set session id\n if (!jotformForm.querySelector('input#session')) {\n jotformForm.appendChild(this.createInput({\n type: 'hidden',\n name: 'session_id',\n id: 'session',\n value: this.sessionID\n }));\n }\n\n // if file uploaded then run makeUploadCheck to update related fields\n const regexTempFile = /temp_upload\\[.*?]\\[.*?]$/g; // file upload input name format\n const shouldUploadCheck = diff.some(d => regexTempFile.test(d.name));\n if (shouldUploadCheck || singleFileUpload) {\n window.JotForm.makeUploadChecks();\n }\n this.lastAnswers = currentValues;\n\n this.changeState(this.states.saved);\n\n if (typeof onSuccess === 'function') {\n onSuccess(response);\n }\n this.lastSubmissionSucceed = true;\n },\n onFailureCb: () => {\n this.changeState(this.states.error);\n if (typeof onError === 'function') {\n onError();\n }\n this.lastSubmissionSucceed = false;\n },\n onCompleteCb: () => {\n document.body.removeChild(dummyForm);\n this.removeSaveIndicator();\n },\n isClone: true\n });\n } else if (loading && diff.length === 0 && !loadingPendingSubm) {\n if (typeof this.lastSubmissionSucceed !== 'undefined') {\n if (this.lastSubmissionSucceed) {\n this.changeState(this.states.saved);\n if (typeof onSuccess === 'function') {\n onSuccess();\n }\n } else {\n this.changeState(this.states.error);\n if (typeof onError === 'function') {\n onError();\n }\n }\n } else { // There exist no submissions before\n this.changeState(this.states.saved);\n if (typeof onSuccess === 'function') {\n onSuccess();\n }\n }\n }\n };\n}\n","\n import API from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n \n import content, * as namedExport from \"!!../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[1]!../../../../../node_modules/.pnpm/postcss-loader@8.1.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__postcss@8.4.38_typescript@5.0.4__5lvnl7xmoydmkkvnqez3gfmijq/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[2]!../../../../../node_modules/.pnpm/sass-loader@14.2.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__sass-embedded@1.78.0_sass@1.75.0_w_m6gyofr5lgwlemccsvqwra2uoi/node_modules/sass-loader/dist/cjs.js!./_jfDialog.scss\";\n \n \n\nvar options = {};\n\n;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[1]!../../../../../node_modules/.pnpm/postcss-loader@8.1.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__postcss@8.4.38_typescript@5.0.4__5lvnl7xmoydmkkvnqez3gfmijq/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[2]!../../../../../node_modules/.pnpm/sass-loader@14.2.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__sass-embedded@1.78.0_sass@1.75.0_w_m6gyofr5lgwlemccsvqwra2uoi/node_modules/sass-loader/dist/cjs.js!./_jfDialog.scss\";\n export default content && content.locals ? content.locals : undefined;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport ReactModal from 'react-modal';\nimport classNames from 'classnames';\n\nimport {\n IconCheck, IconExclamationTriangleFilled, IconLinkDiagonalBroken, IconTrashExclamationFilled, IconXmark\n} from '@jotforminc/svg-icons';\nimport { t } from '@jotforminc/translation';\nimport IconHIPAAWarning from '../assets/svg/iconHipaaWarning.svg';\n\nimport '../styles/_jfDialog.scss';\n\nclass Dialog extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n loadingState: 'default'\n };\n }\n\n onSubmit = e => {\n e.preventDefault();\n\n const { onSubmit } = this.props;\n onSubmit(e.target.doNotShowAgain ? { doNotShowAgain: e.target.doNotShowAgain.checked } : null);\n };\n\n onCancel = e => {\n if (e) {\n e.preventDefault();\n }\n const { onClose, modalID } = this.props;\n\n onClose(modalID);\n };\n\n onOtherButtonClickHandle = async (loadingButtonEnable, onOtherButtonClick) => {\n if (loadingButtonEnable) {\n this.setState({ loadingState: 'loading' });\n await onOtherButtonClick();\n setTimeout(() => {\n this.setState({ loadingState: 'default' });\n }, 2000);\n return;\n }\n onOtherButtonClick();\n };\n\n get headerIcon() {\n const { type } = this.props;\n switch (type) {\n case 'warning':\n return {\n svg: ,\n class: 'warningIcon'\n };\n case 'success':\n return {\n svg: ,\n class: 'successIcon'\n };\n case 'removeConnection':\n return {\n svg: ,\n class: 'removeConnectionIcon'\n };\n case 'trash':\n return {\n svg: ,\n class: 'dialogTrashIcon'\n };\n case 'hipaaWarning':\n return {\n svg: ,\n class: 'dialogHIPAAWarningIcon'\n };\n // case 'error':\n // return {\n // svg: errorSVG,\n // class: 'error'\n // };\n default:\n return null;\n }\n }\n\n render() {\n const {\n closable, isOpen, modalID, submitButtonText, cancelButtonText, oneButtonDialog, isOneButtonColor,\n title, subTitles, hasCheckboxForDisabling, otherButtonText, onOtherButtonClick, dialogClass, renderFields, wrapperClassName, headerImg, isSolidButtonGreen,\n loadingButtonEnable, parentSelector\n } = this.props;\n\n const { loadingState } = this.state;\n return (\n \n
\n
\n {this.headerIcon && {this.headerIcon.svg}}\n {headerImg && {headerImg}}\n {title &&

{title}

}\n {subTitles && subTitles.map(subTitle =>

)}\n {hasCheckboxForDisabling && (\n \n )}\n {closable && (\n \n \n \n )}\n

\n
\n {renderFields !== null ? renderFields().map((item, index) => {\n return (\n \n

{item.fieldTitle}

\n

{item.fieldSubTitle}

\n {item.element}\n
\n );\n }) : null}\n \n
\n {!oneButtonDialog && }\n {otherButtonText && (\n this.onOtherButtonClickHandle(loadingButtonEnable, onOtherButtonClick)}\n >\n {loadingState === 'default' && (otherButtonText)}\n {loadingButtonEnable && loadingState === 'loading' && ('PLEASE WAIT...')}\n {loadingButtonEnable && loadingState === 'completed' && ('REQUEST COMPLETED')}\n \n )}\n {cancelButtonText && (\n \n )}\n
\n
\n \n );\n }\n}\n\nDialog.propTypes = {\n isOpen: PropTypes.bool,\n closable: PropTypes.bool,\n modalID: PropTypes.string,\n type: PropTypes.string,\n onSubmit: PropTypes.func.isRequired,\n onClose: PropTypes.func.isRequired,\n hasCheckboxForDisabling: PropTypes.bool,\n title: PropTypes.string,\n subTitles: PropTypes.oneOfType([\n PropTypes.node,\n PropTypes.arrayOf(PropTypes.string)\n ]),\n onOtherButtonClick: PropTypes.func,\n submitButtonText: PropTypes.string,\n otherButtonText: PropTypes.string,\n cancelButtonText: PropTypes.string,\n dialogClass: PropTypes.string,\n renderFields: PropTypes.func,\n wrapperClassName: PropTypes.string,\n headerImg: PropTypes.node,\n isSolidButtonGreen: PropTypes.bool,\n oneButtonDialog: PropTypes.bool,\n isOneButtonColor: PropTypes.string,\n loadingButtonEnable: PropTypes.bool,\n parentSelector: PropTypes.func\n};\n\nDialog.defaultProps = {\n isOpen: false,\n closable: true,\n modalID: '',\n type: '',\n hasCheckboxForDisabling: false,\n title: '',\n subTitles: '',\n onOtherButtonClick: () => { },\n submitButtonText: '',\n otherButtonText: '',\n cancelButtonText: '',\n dialogClass: 'isDefault',\n renderFields: null,\n wrapperClassName: '',\n headerImg: null,\n isSolidButtonGreen: false,\n oneButtonDialog: false,\n isOneButtonColor: null,\n loadingButtonEnable: false,\n parentSelector: () => document.body\n};\n\nexport default Dialog;\n","/**\n * Fuse.js v6.4.6 - Lightweight fuzzy-search (http://fusejs.io)\n *\n * Copyright (c) 2021 Kiro Risk (http://kiro.me)\n * All Rights Reserved. Apache Software License 2.0\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n */\n\nfunction isArray(value) {\n return !Array.isArray\n ? getTag(value) === '[object Array]'\n : Array.isArray(value)\n}\n\n// Adapted from: https://github.com/lodash/lodash/blob/master/.internal/baseToString.js\nconst INFINITY = 1 / 0;\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value\n }\n let result = value + '';\n return result == '0' && 1 / value == -INFINITY ? '-0' : result\n}\n\nfunction toString(value) {\n return value == null ? '' : baseToString(value)\n}\n\nfunction isString(value) {\n return typeof value === 'string'\n}\n\nfunction isNumber(value) {\n return typeof value === 'number'\n}\n\n// Adapted from: https://github.com/lodash/lodash/blob/master/isBoolean.js\nfunction isBoolean(value) {\n return (\n value === true ||\n value === false ||\n (isObjectLike(value) && getTag(value) == '[object Boolean]')\n )\n}\n\nfunction isObject(value) {\n return typeof value === 'object'\n}\n\n// Checks if `value` is object-like.\nfunction isObjectLike(value) {\n return isObject(value) && value !== null\n}\n\nfunction isDefined(value) {\n return value !== undefined && value !== null\n}\n\nfunction isBlank(value) {\n return !value.trim().length\n}\n\n// Gets the `toStringTag` of `value`.\n// Adapted from: https://github.com/lodash/lodash/blob/master/.internal/getTag.js\nfunction getTag(value) {\n return value == null\n ? value === undefined\n ? '[object Undefined]'\n : '[object Null]'\n : Object.prototype.toString.call(value)\n}\n\nconst EXTENDED_SEARCH_UNAVAILABLE = 'Extended search is not available';\n\nconst INCORRECT_INDEX_TYPE = \"Incorrect 'index' type\";\n\nconst LOGICAL_SEARCH_INVALID_QUERY_FOR_KEY = (key) =>\n `Invalid value for key ${key}`;\n\nconst PATTERN_LENGTH_TOO_LARGE = (max) =>\n `Pattern length exceeds max of ${max}.`;\n\nconst MISSING_KEY_PROPERTY = (name) => `Missing ${name} property in key`;\n\nconst INVALID_KEY_WEIGHT_VALUE = (key) =>\n `Property 'weight' in key '${key}' must be a positive integer`;\n\nconst hasOwn = Object.prototype.hasOwnProperty;\n\nclass KeyStore {\n constructor(keys) {\n this._keys = [];\n this._keyMap = {};\n\n let totalWeight = 0;\n\n keys.forEach((key) => {\n let obj = createKey(key);\n\n totalWeight += obj.weight;\n\n this._keys.push(obj);\n this._keyMap[obj.id] = obj;\n\n totalWeight += obj.weight;\n });\n\n // Normalize weights so that their sum is equal to 1\n this._keys.forEach((key) => {\n key.weight /= totalWeight;\n });\n }\n get(keyId) {\n return this._keyMap[keyId]\n }\n keys() {\n return this._keys\n }\n toJSON() {\n return JSON.stringify(this._keys)\n }\n}\n\nfunction createKey(key) {\n let path = null;\n let id = null;\n let src = null;\n let weight = 1;\n\n if (isString(key) || isArray(key)) {\n src = key;\n path = createKeyPath(key);\n id = createKeyId(key);\n } else {\n if (!hasOwn.call(key, 'name')) {\n throw new Error(MISSING_KEY_PROPERTY('name'))\n }\n\n const name = key.name;\n src = name;\n\n if (hasOwn.call(key, 'weight')) {\n weight = key.weight;\n\n if (weight <= 0) {\n throw new Error(INVALID_KEY_WEIGHT_VALUE(name))\n }\n }\n\n path = createKeyPath(name);\n id = createKeyId(name);\n }\n\n return { path, id, weight, src }\n}\n\nfunction createKeyPath(key) {\n return isArray(key) ? key : key.split('.')\n}\n\nfunction createKeyId(key) {\n return isArray(key) ? key.join('.') : key\n}\n\nfunction get(obj, path) {\n let list = [];\n let arr = false;\n\n const deepGet = (obj, path, index) => {\n if (!isDefined(obj)) {\n return\n }\n if (!path[index]) {\n // If there's no path left, we've arrived at the object we care about.\n list.push(obj);\n } else {\n let key = path[index];\n\n const value = obj[key];\n\n if (!isDefined(value)) {\n return\n }\n\n // If we're at the last value in the path, and if it's a string/number/bool,\n // add it to the list\n if (\n index === path.length - 1 &&\n (isString(value) || isNumber(value) || isBoolean(value))\n ) {\n list.push(toString(value));\n } else if (isArray(value)) {\n arr = true;\n // Search each item in the array.\n for (let i = 0, len = value.length; i < len; i += 1) {\n deepGet(value[i], path, index + 1);\n }\n } else if (path.length) {\n // An object. Recurse further.\n deepGet(value, path, index + 1);\n }\n }\n };\n\n // Backwards compatibility (since path used to be a string)\n deepGet(obj, isString(path) ? path.split('.') : path, 0);\n\n return arr ? list : list[0]\n}\n\nconst MatchOptions = {\n // Whether the matches should be included in the result set. When `true`, each record in the result\n // set will include the indices of the matched characters.\n // These can consequently be used for highlighting purposes.\n includeMatches: false,\n // When `true`, the matching function will continue to the end of a search pattern even if\n // a perfect match has already been located in the string.\n findAllMatches: false,\n // Minimum number of characters that must be matched before a result is considered a match\n minMatchCharLength: 1\n};\n\nconst BasicOptions = {\n // When `true`, the algorithm continues searching to the end of the input even if a perfect\n // match is found before the end of the same input.\n isCaseSensitive: false,\n // When true, the matching function will continue to the end of a search pattern even if\n includeScore: false,\n // List of properties that will be searched. This also supports nested properties.\n keys: [],\n // Whether to sort the result list, by score\n shouldSort: true,\n // Default sort function: sort by ascending score, ascending index\n sortFn: (a, b) =>\n a.score === b.score ? (a.idx < b.idx ? -1 : 1) : a.score < b.score ? -1 : 1\n};\n\nconst FuzzyOptions = {\n // Approximately where in the text is the pattern expected to be found?\n location: 0,\n // At what point does the match algorithm give up. A threshold of '0.0' requires a perfect match\n // (of both letters and location), a threshold of '1.0' would match anything.\n threshold: 0.6,\n // Determines how close the match must be to the fuzzy location (specified above).\n // An exact letter match which is 'distance' characters away from the fuzzy location\n // would score as a complete mismatch. A distance of '0' requires the match be at\n // the exact location specified, a threshold of '1000' would require a perfect match\n // to be within 800 characters of the fuzzy location to be found using a 0.8 threshold.\n distance: 100\n};\n\nconst AdvancedOptions = {\n // When `true`, it enables the use of unix-like search commands\n useExtendedSearch: false,\n // The get function to use when fetching an object's properties.\n // The default will search nested paths *ie foo.bar.baz*\n getFn: get,\n // When `true`, search will ignore `location` and `distance`, so it won't matter\n // where in the string the pattern appears.\n // More info: https://fusejs.io/concepts/scoring-theory.html#fuzziness-score\n ignoreLocation: false,\n // When `true`, the calculation for the relevance score (used for sorting) will\n // ignore the field-length norm.\n // More info: https://fusejs.io/concepts/scoring-theory.html#field-length-norm\n ignoreFieldNorm: false\n};\n\nvar Config = {\n ...BasicOptions,\n ...MatchOptions,\n ...FuzzyOptions,\n ...AdvancedOptions\n};\n\nconst SPACE = /[^ ]+/g;\n\n// Field-length norm: the shorter the field, the higher the weight.\n// Set to 3 decimals to reduce index size.\nfunction norm(mantissa = 3) {\n const cache = new Map();\n const m = Math.pow(10, mantissa);\n\n return {\n get(value) {\n const numTokens = value.match(SPACE).length;\n\n if (cache.has(numTokens)) {\n return cache.get(numTokens)\n }\n\n const norm = 1 / Math.sqrt(numTokens);\n\n // In place of `toFixed(mantissa)`, for faster computation\n const n = parseFloat(Math.round(norm * m) / m);\n\n cache.set(numTokens, n);\n\n return n\n },\n clear() {\n cache.clear();\n }\n }\n}\n\nclass FuseIndex {\n constructor({ getFn = Config.getFn } = {}) {\n this.norm = norm(3);\n this.getFn = getFn;\n this.isCreated = false;\n\n this.setIndexRecords();\n }\n setSources(docs = []) {\n this.docs = docs;\n }\n setIndexRecords(records = []) {\n this.records = records;\n }\n setKeys(keys = []) {\n this.keys = keys;\n this._keysMap = {};\n keys.forEach((key, idx) => {\n this._keysMap[key.id] = idx;\n });\n }\n create() {\n if (this.isCreated || !this.docs.length) {\n return\n }\n\n this.isCreated = true;\n\n // List is Array\n if (isString(this.docs[0])) {\n this.docs.forEach((doc, docIndex) => {\n this._addString(doc, docIndex);\n });\n } else {\n // List is Array\n this.docs.forEach((doc, docIndex) => {\n this._addObject(doc, docIndex);\n });\n }\n\n this.norm.clear();\n }\n // Adds a doc to the end of the index\n add(doc) {\n const idx = this.size();\n\n if (isString(doc)) {\n this._addString(doc, idx);\n } else {\n this._addObject(doc, idx);\n }\n }\n // Removes the doc at the specified index of the index\n removeAt(idx) {\n this.records.splice(idx, 1);\n\n // Change ref index of every subsquent doc\n for (let i = idx, len = this.size(); i < len; i += 1) {\n this.records[i].i -= 1;\n }\n }\n getValueForItemAtKeyId(item, keyId) {\n return item[this._keysMap[keyId]]\n }\n size() {\n return this.records.length\n }\n _addString(doc, docIndex) {\n if (!isDefined(doc) || isBlank(doc)) {\n return\n }\n\n let record = {\n v: doc,\n i: docIndex,\n n: this.norm.get(doc)\n };\n\n this.records.push(record);\n }\n _addObject(doc, docIndex) {\n let record = { i: docIndex, $: {} };\n\n // Iterate over every key (i.e, path), and fetch the value at that key\n this.keys.forEach((key, keyIndex) => {\n // console.log(key)\n let value = this.getFn(doc, key.path);\n\n if (!isDefined(value)) {\n return\n }\n\n if (isArray(value)) {\n let subRecords = [];\n const stack = [{ nestedArrIndex: -1, value }];\n\n while (stack.length) {\n const { nestedArrIndex, value } = stack.pop();\n\n if (!isDefined(value)) {\n continue\n }\n\n if (isString(value) && !isBlank(value)) {\n let subRecord = {\n v: value,\n i: nestedArrIndex,\n n: this.norm.get(value)\n };\n\n subRecords.push(subRecord);\n } else if (isArray(value)) {\n value.forEach((item, k) => {\n stack.push({\n nestedArrIndex: k,\n value: item\n });\n });\n }\n }\n record.$[keyIndex] = subRecords;\n } else if (!isBlank(value)) {\n let subRecord = {\n v: value,\n n: this.norm.get(value)\n };\n\n record.$[keyIndex] = subRecord;\n }\n });\n\n this.records.push(record);\n }\n toJSON() {\n return {\n keys: this.keys,\n records: this.records\n }\n }\n}\n\nfunction createIndex(keys, docs, { getFn = Config.getFn } = {}) {\n const myIndex = new FuseIndex({ getFn });\n myIndex.setKeys(keys.map(createKey));\n myIndex.setSources(docs);\n myIndex.create();\n return myIndex\n}\n\nfunction parseIndex(data, { getFn = Config.getFn } = {}) {\n const { keys, records } = data;\n const myIndex = new FuseIndex({ getFn });\n myIndex.setKeys(keys);\n myIndex.setIndexRecords(records);\n return myIndex\n}\n\nfunction computeScore(\n pattern,\n {\n errors = 0,\n currentLocation = 0,\n expectedLocation = 0,\n distance = Config.distance,\n ignoreLocation = Config.ignoreLocation\n } = {}\n) {\n const accuracy = errors / pattern.length;\n\n if (ignoreLocation) {\n return accuracy\n }\n\n const proximity = Math.abs(expectedLocation - currentLocation);\n\n if (!distance) {\n // Dodge divide by zero error.\n return proximity ? 1.0 : accuracy\n }\n\n return accuracy + proximity / distance\n}\n\nfunction convertMaskToIndices(\n matchmask = [],\n minMatchCharLength = Config.minMatchCharLength\n) {\n let indices = [];\n let start = -1;\n let end = -1;\n let i = 0;\n\n for (let len = matchmask.length; i < len; i += 1) {\n let match = matchmask[i];\n if (match && start === -1) {\n start = i;\n } else if (!match && start !== -1) {\n end = i - 1;\n if (end - start + 1 >= minMatchCharLength) {\n indices.push([start, end]);\n }\n start = -1;\n }\n }\n\n // (i-1 - start) + 1 => i - start\n if (matchmask[i - 1] && i - start >= minMatchCharLength) {\n indices.push([start, i - 1]);\n }\n\n return indices\n}\n\n// Machine word size\nconst MAX_BITS = 32;\n\nfunction search(\n text,\n pattern,\n patternAlphabet,\n {\n location = Config.location,\n distance = Config.distance,\n threshold = Config.threshold,\n findAllMatches = Config.findAllMatches,\n minMatchCharLength = Config.minMatchCharLength,\n includeMatches = Config.includeMatches,\n ignoreLocation = Config.ignoreLocation\n } = {}\n) {\n if (pattern.length > MAX_BITS) {\n throw new Error(PATTERN_LENGTH_TOO_LARGE(MAX_BITS))\n }\n\n const patternLen = pattern.length;\n // Set starting location at beginning text and initialize the alphabet.\n const textLen = text.length;\n // Handle the case when location > text.length\n const expectedLocation = Math.max(0, Math.min(location, textLen));\n // Highest score beyond which we give up.\n let currentThreshold = threshold;\n // Is there a nearby exact match? (speedup)\n let bestLocation = expectedLocation;\n\n // Performance: only computer matches when the minMatchCharLength > 1\n // OR if `includeMatches` is true.\n const computeMatches = minMatchCharLength > 1 || includeMatches;\n // A mask of the matches, used for building the indices\n const matchMask = computeMatches ? Array(textLen) : [];\n\n let index;\n\n // Get all exact matches, here for speed up\n while ((index = text.indexOf(pattern, bestLocation)) > -1) {\n let score = computeScore(pattern, {\n currentLocation: index,\n expectedLocation,\n distance,\n ignoreLocation\n });\n\n currentThreshold = Math.min(score, currentThreshold);\n bestLocation = index + patternLen;\n\n if (computeMatches) {\n let i = 0;\n while (i < patternLen) {\n matchMask[index + i] = 1;\n i += 1;\n }\n }\n }\n\n // Reset the best location\n bestLocation = -1;\n\n let lastBitArr = [];\n let finalScore = 1;\n let binMax = patternLen + textLen;\n\n const mask = 1 << (patternLen - 1);\n\n for (let i = 0; i < patternLen; i += 1) {\n // Scan for the best match; each iteration allows for one more error.\n // Run a binary search to determine how far from the match location we can stray\n // at this error level.\n let binMin = 0;\n let binMid = binMax;\n\n while (binMin < binMid) {\n const score = computeScore(pattern, {\n errors: i,\n currentLocation: expectedLocation + binMid,\n expectedLocation,\n distance,\n ignoreLocation\n });\n\n if (score <= currentThreshold) {\n binMin = binMid;\n } else {\n binMax = binMid;\n }\n\n binMid = Math.floor((binMax - binMin) / 2 + binMin);\n }\n\n // Use the result from this iteration as the maximum for the next.\n binMax = binMid;\n\n let start = Math.max(1, expectedLocation - binMid + 1);\n let finish = findAllMatches\n ? textLen\n : Math.min(expectedLocation + binMid, textLen) + patternLen;\n\n // Initialize the bit array\n let bitArr = Array(finish + 2);\n\n bitArr[finish + 1] = (1 << i) - 1;\n\n for (let j = finish; j >= start; j -= 1) {\n let currentLocation = j - 1;\n let charMatch = patternAlphabet[text.charAt(currentLocation)];\n\n if (computeMatches) {\n // Speed up: quick bool to int conversion (i.e, `charMatch ? 1 : 0`)\n matchMask[currentLocation] = +!!charMatch;\n }\n\n // First pass: exact match\n bitArr[j] = ((bitArr[j + 1] << 1) | 1) & charMatch;\n\n // Subsequent passes: fuzzy match\n if (i) {\n bitArr[j] |=\n ((lastBitArr[j + 1] | lastBitArr[j]) << 1) | 1 | lastBitArr[j + 1];\n }\n\n if (bitArr[j] & mask) {\n finalScore = computeScore(pattern, {\n errors: i,\n currentLocation,\n expectedLocation,\n distance,\n ignoreLocation\n });\n\n // This match will almost certainly be better than any existing match.\n // But check anyway.\n if (finalScore <= currentThreshold) {\n // Indeed it is\n currentThreshold = finalScore;\n bestLocation = currentLocation;\n\n // Already passed `loc`, downhill from here on in.\n if (bestLocation <= expectedLocation) {\n break\n }\n\n // When passing `bestLocation`, don't exceed our current distance from `expectedLocation`.\n start = Math.max(1, 2 * expectedLocation - bestLocation);\n }\n }\n }\n\n // No hope for a (better) match at greater error levels.\n const score = computeScore(pattern, {\n errors: i + 1,\n currentLocation: expectedLocation,\n expectedLocation,\n distance,\n ignoreLocation\n });\n\n if (score > currentThreshold) {\n break\n }\n\n lastBitArr = bitArr;\n }\n\n const result = {\n isMatch: bestLocation >= 0,\n // Count exact matches (those with a score of 0) to be \"almost\" exact\n score: Math.max(0.001, finalScore)\n };\n\n if (computeMatches) {\n const indices = convertMaskToIndices(matchMask, minMatchCharLength);\n if (!indices.length) {\n result.isMatch = false;\n } else if (includeMatches) {\n result.indices = indices;\n }\n }\n\n return result\n}\n\nfunction createPatternAlphabet(pattern) {\n let mask = {};\n\n for (let i = 0, len = pattern.length; i < len; i += 1) {\n const char = pattern.charAt(i);\n mask[char] = (mask[char] || 0) | (1 << (len - i - 1));\n }\n\n return mask\n}\n\nclass BitapSearch {\n constructor(\n pattern,\n {\n location = Config.location,\n threshold = Config.threshold,\n distance = Config.distance,\n includeMatches = Config.includeMatches,\n findAllMatches = Config.findAllMatches,\n minMatchCharLength = Config.minMatchCharLength,\n isCaseSensitive = Config.isCaseSensitive,\n ignoreLocation = Config.ignoreLocation\n } = {}\n ) {\n this.options = {\n location,\n threshold,\n distance,\n includeMatches,\n findAllMatches,\n minMatchCharLength,\n isCaseSensitive,\n ignoreLocation\n };\n\n this.pattern = isCaseSensitive ? pattern : pattern.toLowerCase();\n\n this.chunks = [];\n\n if (!this.pattern.length) {\n return\n }\n\n const addChunk = (pattern, startIndex) => {\n this.chunks.push({\n pattern,\n alphabet: createPatternAlphabet(pattern),\n startIndex\n });\n };\n\n const len = this.pattern.length;\n\n if (len > MAX_BITS) {\n let i = 0;\n const remainder = len % MAX_BITS;\n const end = len - remainder;\n\n while (i < end) {\n addChunk(this.pattern.substr(i, MAX_BITS), i);\n i += MAX_BITS;\n }\n\n if (remainder) {\n const startIndex = len - MAX_BITS;\n addChunk(this.pattern.substr(startIndex), startIndex);\n }\n } else {\n addChunk(this.pattern, 0);\n }\n }\n\n searchIn(text) {\n const { isCaseSensitive, includeMatches } = this.options;\n\n if (!isCaseSensitive) {\n text = text.toLowerCase();\n }\n\n // Exact match\n if (this.pattern === text) {\n let result = {\n isMatch: true,\n score: 0\n };\n\n if (includeMatches) {\n result.indices = [[0, text.length - 1]];\n }\n\n return result\n }\n\n // Otherwise, use Bitap algorithm\n const {\n location,\n distance,\n threshold,\n findAllMatches,\n minMatchCharLength,\n ignoreLocation\n } = this.options;\n\n let allIndices = [];\n let totalScore = 0;\n let hasMatches = false;\n\n this.chunks.forEach(({ pattern, alphabet, startIndex }) => {\n const { isMatch, score, indices } = search(text, pattern, alphabet, {\n location: location + startIndex,\n distance,\n threshold,\n findAllMatches,\n minMatchCharLength,\n includeMatches,\n ignoreLocation\n });\n\n if (isMatch) {\n hasMatches = true;\n }\n\n totalScore += score;\n\n if (isMatch && indices) {\n allIndices = [...allIndices, ...indices];\n }\n });\n\n let result = {\n isMatch: hasMatches,\n score: hasMatches ? totalScore / this.chunks.length : 1\n };\n\n if (hasMatches && includeMatches) {\n result.indices = allIndices;\n }\n\n return result\n }\n}\n\nclass BaseMatch {\n constructor(pattern) {\n this.pattern = pattern;\n }\n static isMultiMatch(pattern) {\n return getMatch(pattern, this.multiRegex)\n }\n static isSingleMatch(pattern) {\n return getMatch(pattern, this.singleRegex)\n }\n search(/*text*/) {}\n}\n\nfunction getMatch(pattern, exp) {\n const matches = pattern.match(exp);\n return matches ? matches[1] : null\n}\n\n// Token: 'file\n\nclass ExactMatch extends BaseMatch {\n constructor(pattern) {\n super(pattern);\n }\n static get type() {\n return 'exact'\n }\n static get multiRegex() {\n return /^=\"(.*)\"$/\n }\n static get singleRegex() {\n return /^=(.*)$/\n }\n search(text) {\n const isMatch = text === this.pattern;\n\n return {\n isMatch,\n score: isMatch ? 0 : 1,\n indices: [0, this.pattern.length - 1]\n }\n }\n}\n\n// Token: !fire\n\nclass InverseExactMatch extends BaseMatch {\n constructor(pattern) {\n super(pattern);\n }\n static get type() {\n return 'inverse-exact'\n }\n static get multiRegex() {\n return /^!\"(.*)\"$/\n }\n static get singleRegex() {\n return /^!(.*)$/\n }\n search(text) {\n const index = text.indexOf(this.pattern);\n const isMatch = index === -1;\n\n return {\n isMatch,\n score: isMatch ? 0 : 1,\n indices: [0, text.length - 1]\n }\n }\n}\n\n// Token: ^file\n\nclass PrefixExactMatch extends BaseMatch {\n constructor(pattern) {\n super(pattern);\n }\n static get type() {\n return 'prefix-exact'\n }\n static get multiRegex() {\n return /^\\^\"(.*)\"$/\n }\n static get singleRegex() {\n return /^\\^(.*)$/\n }\n search(text) {\n const isMatch = text.startsWith(this.pattern);\n\n return {\n isMatch,\n score: isMatch ? 0 : 1,\n indices: [0, this.pattern.length - 1]\n }\n }\n}\n\n// Token: !^fire\n\nclass InversePrefixExactMatch extends BaseMatch {\n constructor(pattern) {\n super(pattern);\n }\n static get type() {\n return 'inverse-prefix-exact'\n }\n static get multiRegex() {\n return /^!\\^\"(.*)\"$/\n }\n static get singleRegex() {\n return /^!\\^(.*)$/\n }\n search(text) {\n const isMatch = !text.startsWith(this.pattern);\n\n return {\n isMatch,\n score: isMatch ? 0 : 1,\n indices: [0, text.length - 1]\n }\n }\n}\n\n// Token: .file$\n\nclass SuffixExactMatch extends BaseMatch {\n constructor(pattern) {\n super(pattern);\n }\n static get type() {\n return 'suffix-exact'\n }\n static get multiRegex() {\n return /^\"(.*)\"\\$$/\n }\n static get singleRegex() {\n return /^(.*)\\$$/\n }\n search(text) {\n const isMatch = text.endsWith(this.pattern);\n\n return {\n isMatch,\n score: isMatch ? 0 : 1,\n indices: [text.length - this.pattern.length, text.length - 1]\n }\n }\n}\n\n// Token: !.file$\n\nclass InverseSuffixExactMatch extends BaseMatch {\n constructor(pattern) {\n super(pattern);\n }\n static get type() {\n return 'inverse-suffix-exact'\n }\n static get multiRegex() {\n return /^!\"(.*)\"\\$$/\n }\n static get singleRegex() {\n return /^!(.*)\\$$/\n }\n search(text) {\n const isMatch = !text.endsWith(this.pattern);\n return {\n isMatch,\n score: isMatch ? 0 : 1,\n indices: [0, text.length - 1]\n }\n }\n}\n\nclass FuzzyMatch extends BaseMatch {\n constructor(\n pattern,\n {\n location = Config.location,\n threshold = Config.threshold,\n distance = Config.distance,\n includeMatches = Config.includeMatches,\n findAllMatches = Config.findAllMatches,\n minMatchCharLength = Config.minMatchCharLength,\n isCaseSensitive = Config.isCaseSensitive,\n ignoreLocation = Config.ignoreLocation\n } = {}\n ) {\n super(pattern);\n this._bitapSearch = new BitapSearch(pattern, {\n location,\n threshold,\n distance,\n includeMatches,\n findAllMatches,\n minMatchCharLength,\n isCaseSensitive,\n ignoreLocation\n });\n }\n static get type() {\n return 'fuzzy'\n }\n static get multiRegex() {\n return /^\"(.*)\"$/\n }\n static get singleRegex() {\n return /^(.*)$/\n }\n search(text) {\n return this._bitapSearch.searchIn(text)\n }\n}\n\n// Token: 'file\n\nclass IncludeMatch extends BaseMatch {\n constructor(pattern) {\n super(pattern);\n }\n static get type() {\n return 'include'\n }\n static get multiRegex() {\n return /^'\"(.*)\"$/\n }\n static get singleRegex() {\n return /^'(.*)$/\n }\n search(text) {\n let location = 0;\n let index;\n\n const indices = [];\n const patternLen = this.pattern.length;\n\n // Get all exact matches\n while ((index = text.indexOf(this.pattern, location)) > -1) {\n location = index + patternLen;\n indices.push([index, location - 1]);\n }\n\n const isMatch = !!indices.length;\n\n return {\n isMatch,\n score: isMatch ? 0 : 1,\n indices\n }\n }\n}\n\n// ❗Order is important. DO NOT CHANGE.\nconst searchers = [\n ExactMatch,\n IncludeMatch,\n PrefixExactMatch,\n InversePrefixExactMatch,\n InverseSuffixExactMatch,\n SuffixExactMatch,\n InverseExactMatch,\n FuzzyMatch\n];\n\nconst searchersLen = searchers.length;\n\n// Regex to split by spaces, but keep anything in quotes together\nconst SPACE_RE = / +(?=([^\\\"]*\\\"[^\\\"]*\\\")*[^\\\"]*$)/;\nconst OR_TOKEN = '|';\n\n// Return a 2D array representation of the query, for simpler parsing.\n// Example:\n// \"^core go$ | rb$ | py$ xy$\" => [[\"^core\", \"go$\"], [\"rb$\"], [\"py$\", \"xy$\"]]\nfunction parseQuery(pattern, options = {}) {\n return pattern.split(OR_TOKEN).map((item) => {\n let query = item\n .trim()\n .split(SPACE_RE)\n .filter((item) => item && !!item.trim());\n\n let results = [];\n for (let i = 0, len = query.length; i < len; i += 1) {\n const queryItem = query[i];\n\n // 1. Handle multiple query match (i.e, once that are quoted, like `\"hello world\"`)\n let found = false;\n let idx = -1;\n while (!found && ++idx < searchersLen) {\n const searcher = searchers[idx];\n let token = searcher.isMultiMatch(queryItem);\n if (token) {\n results.push(new searcher(token, options));\n found = true;\n }\n }\n\n if (found) {\n continue\n }\n\n // 2. Handle single query matches (i.e, once that are *not* quoted)\n idx = -1;\n while (++idx < searchersLen) {\n const searcher = searchers[idx];\n let token = searcher.isSingleMatch(queryItem);\n if (token) {\n results.push(new searcher(token, options));\n break\n }\n }\n }\n\n return results\n })\n}\n\n// These extended matchers can return an array of matches, as opposed\n// to a singl match\nconst MultiMatchSet = new Set([FuzzyMatch.type, IncludeMatch.type]);\n\n/**\n * Command-like searching\n * ======================\n *\n * Given multiple search terms delimited by spaces.e.g. `^jscript .python$ ruby !java`,\n * search in a given text.\n *\n * Search syntax:\n *\n * | Token | Match type | Description |\n * | ----------- | -------------------------- | -------------------------------------- |\n * | `jscript` | fuzzy-match | Items that fuzzy match `jscript` |\n * | `=scheme` | exact-match | Items that are `scheme` |\n * | `'python` | include-match | Items that include `python` |\n * | `!ruby` | inverse-exact-match | Items that do not include `ruby` |\n * | `^java` | prefix-exact-match | Items that start with `java` |\n * | `!^earlang` | inverse-prefix-exact-match | Items that do not start with `earlang` |\n * | `.js$` | suffix-exact-match | Items that end with `.js` |\n * | `!.go$` | inverse-suffix-exact-match | Items that do not end with `.go` |\n *\n * A single pipe character acts as an OR operator. For example, the following\n * query matches entries that start with `core` and end with either`go`, `rb`,\n * or`py`.\n *\n * ```\n * ^core go$ | rb$ | py$\n * ```\n */\nclass ExtendedSearch {\n constructor(\n pattern,\n {\n isCaseSensitive = Config.isCaseSensitive,\n includeMatches = Config.includeMatches,\n minMatchCharLength = Config.minMatchCharLength,\n ignoreLocation = Config.ignoreLocation,\n findAllMatches = Config.findAllMatches,\n location = Config.location,\n threshold = Config.threshold,\n distance = Config.distance\n } = {}\n ) {\n this.query = null;\n this.options = {\n isCaseSensitive,\n includeMatches,\n minMatchCharLength,\n findAllMatches,\n ignoreLocation,\n location,\n threshold,\n distance\n };\n\n this.pattern = isCaseSensitive ? pattern : pattern.toLowerCase();\n this.query = parseQuery(this.pattern, this.options);\n }\n\n static condition(_, options) {\n return options.useExtendedSearch\n }\n\n searchIn(text) {\n const query = this.query;\n\n if (!query) {\n return {\n isMatch: false,\n score: 1\n }\n }\n\n const { includeMatches, isCaseSensitive } = this.options;\n\n text = isCaseSensitive ? text : text.toLowerCase();\n\n let numMatches = 0;\n let allIndices = [];\n let totalScore = 0;\n\n // ORs\n for (let i = 0, qLen = query.length; i < qLen; i += 1) {\n const searchers = query[i];\n\n // Reset indices\n allIndices.length = 0;\n numMatches = 0;\n\n // ANDs\n for (let j = 0, pLen = searchers.length; j < pLen; j += 1) {\n const searcher = searchers[j];\n const { isMatch, indices, score } = searcher.search(text);\n\n if (isMatch) {\n numMatches += 1;\n totalScore += score;\n if (includeMatches) {\n const type = searcher.constructor.type;\n if (MultiMatchSet.has(type)) {\n allIndices = [...allIndices, ...indices];\n } else {\n allIndices.push(indices);\n }\n }\n } else {\n totalScore = 0;\n numMatches = 0;\n allIndices.length = 0;\n break\n }\n }\n\n // OR condition, so if TRUE, return\n if (numMatches) {\n let result = {\n isMatch: true,\n score: totalScore / numMatches\n };\n\n if (includeMatches) {\n result.indices = allIndices;\n }\n\n return result\n }\n }\n\n // Nothing was matched\n return {\n isMatch: false,\n score: 1\n }\n }\n}\n\nconst registeredSearchers = [];\n\nfunction register(...args) {\n registeredSearchers.push(...args);\n}\n\nfunction createSearcher(pattern, options) {\n for (let i = 0, len = registeredSearchers.length; i < len; i += 1) {\n let searcherClass = registeredSearchers[i];\n if (searcherClass.condition(pattern, options)) {\n return new searcherClass(pattern, options)\n }\n }\n\n return new BitapSearch(pattern, options)\n}\n\nconst LogicalOperator = {\n AND: '$and',\n OR: '$or'\n};\n\nconst KeyType = {\n PATH: '$path',\n PATTERN: '$val'\n};\n\nconst isExpression = (query) =>\n !!(query[LogicalOperator.AND] || query[LogicalOperator.OR]);\n\nconst isPath = (query) => !!query[KeyType.PATH];\n\nconst isLeaf = (query) =>\n !isArray(query) && isObject(query) && !isExpression(query);\n\nconst convertToExplicit = (query) => ({\n [LogicalOperator.AND]: Object.keys(query).map((key) => ({\n [key]: query[key]\n }))\n});\n\n// When `auto` is `true`, the parse function will infer and initialize and add\n// the appropriate `Searcher` instance\nfunction parse(query, options, { auto = true } = {}) {\n const next = (query) => {\n let keys = Object.keys(query);\n\n const isQueryPath = isPath(query);\n\n if (!isQueryPath && keys.length > 1 && !isExpression(query)) {\n return next(convertToExplicit(query))\n }\n\n if (isLeaf(query)) {\n const key = isQueryPath ? query[KeyType.PATH] : keys[0];\n\n const pattern = isQueryPath ? query[KeyType.PATTERN] : query[key];\n\n if (!isString(pattern)) {\n throw new Error(LOGICAL_SEARCH_INVALID_QUERY_FOR_KEY(key))\n }\n\n const obj = {\n keyId: createKeyId(key),\n pattern\n };\n\n if (auto) {\n obj.searcher = createSearcher(pattern, options);\n }\n\n return obj\n }\n\n let node = {\n children: [],\n operator: keys[0]\n };\n\n keys.forEach((key) => {\n const value = query[key];\n\n if (isArray(value)) {\n value.forEach((item) => {\n node.children.push(next(item));\n });\n }\n });\n\n return node\n };\n\n if (!isExpression(query)) {\n query = convertToExplicit(query);\n }\n\n return next(query)\n}\n\n// Practical scoring function\nfunction computeScore$1(\n results,\n { ignoreFieldNorm = Config.ignoreFieldNorm }\n) {\n results.forEach((result) => {\n let totalScore = 1;\n\n result.matches.forEach(({ key, norm, score }) => {\n const weight = key ? key.weight : null;\n\n totalScore *= Math.pow(\n score === 0 && weight ? Number.EPSILON : score,\n (weight || 1) * (ignoreFieldNorm ? 1 : norm)\n );\n });\n\n result.score = totalScore;\n });\n}\n\nfunction transformMatches(result, data) {\n const matches = result.matches;\n data.matches = [];\n\n if (!isDefined(matches)) {\n return\n }\n\n matches.forEach((match) => {\n if (!isDefined(match.indices) || !match.indices.length) {\n return\n }\n\n const { indices, value } = match;\n\n let obj = {\n indices,\n value\n };\n\n if (match.key) {\n obj.key = match.key.src;\n }\n\n if (match.idx > -1) {\n obj.refIndex = match.idx;\n }\n\n data.matches.push(obj);\n });\n}\n\nfunction transformScore(result, data) {\n data.score = result.score;\n}\n\nfunction format(\n results,\n docs,\n {\n includeMatches = Config.includeMatches,\n includeScore = Config.includeScore\n } = {}\n) {\n const transformers = [];\n\n if (includeMatches) transformers.push(transformMatches);\n if (includeScore) transformers.push(transformScore);\n\n return results.map((result) => {\n const { idx } = result;\n\n const data = {\n item: docs[idx],\n refIndex: idx\n };\n\n if (transformers.length) {\n transformers.forEach((transformer) => {\n transformer(result, data);\n });\n }\n\n return data\n })\n}\n\nclass Fuse {\n constructor(docs, options = {}, index) {\n this.options = { ...Config, ...options };\n\n if (\n this.options.useExtendedSearch &&\n !true\n ) {\n throw new Error(EXTENDED_SEARCH_UNAVAILABLE)\n }\n\n this._keyStore = new KeyStore(this.options.keys);\n\n this.setCollection(docs, index);\n }\n\n setCollection(docs, index) {\n this._docs = docs;\n\n if (index && !(index instanceof FuseIndex)) {\n throw new Error(INCORRECT_INDEX_TYPE)\n }\n\n this._myIndex =\n index ||\n createIndex(this.options.keys, this._docs, {\n getFn: this.options.getFn\n });\n }\n\n add(doc) {\n if (!isDefined(doc)) {\n return\n }\n\n this._docs.push(doc);\n this._myIndex.add(doc);\n }\n\n remove(predicate = (/* doc, idx */) => false) {\n const results = [];\n\n for (let i = 0, len = this._docs.length; i < len; i += 1) {\n const doc = this._docs[i];\n if (predicate(doc, i)) {\n this.removeAt(i);\n i -= 1;\n len -= 1;\n\n results.push(doc);\n }\n }\n\n return results\n }\n\n removeAt(idx) {\n this._docs.splice(idx, 1);\n this._myIndex.removeAt(idx);\n }\n\n getIndex() {\n return this._myIndex\n }\n\n search(query, { limit = -1 } = {}) {\n const {\n includeMatches,\n includeScore,\n shouldSort,\n sortFn,\n ignoreFieldNorm\n } = this.options;\n\n let results = isString(query)\n ? isString(this._docs[0])\n ? this._searchStringList(query)\n : this._searchObjectList(query)\n : this._searchLogical(query);\n\n computeScore$1(results, { ignoreFieldNorm });\n\n if (shouldSort) {\n results.sort(sortFn);\n }\n\n if (isNumber(limit) && limit > -1) {\n results = results.slice(0, limit);\n }\n\n return format(results, this._docs, {\n includeMatches,\n includeScore\n })\n }\n\n _searchStringList(query) {\n const searcher = createSearcher(query, this.options);\n const { records } = this._myIndex;\n const results = [];\n\n // Iterate over every string in the index\n records.forEach(({ v: text, i: idx, n: norm }) => {\n if (!isDefined(text)) {\n return\n }\n\n const { isMatch, score, indices } = searcher.searchIn(text);\n\n if (isMatch) {\n results.push({\n item: text,\n idx,\n matches: [{ score, value: text, norm, indices }]\n });\n }\n });\n\n return results\n }\n\n _searchLogical(query) {\n\n const expression = parse(query, this.options);\n\n const evaluate = (node, item, idx) => {\n if (!node.children) {\n const { keyId, searcher } = node;\n\n const matches = this._findMatches({\n key: this._keyStore.get(keyId),\n value: this._myIndex.getValueForItemAtKeyId(item, keyId),\n searcher\n });\n\n if (matches && matches.length) {\n return [\n {\n idx,\n item,\n matches\n }\n ]\n }\n\n return []\n }\n\n /*eslint indent: [2, 2, {\"SwitchCase\": 1}]*/\n switch (node.operator) {\n case LogicalOperator.AND: {\n const res = [];\n for (let i = 0, len = node.children.length; i < len; i += 1) {\n const child = node.children[i];\n const result = evaluate(child, item, idx);\n if (result.length) {\n res.push(...result);\n } else {\n return []\n }\n }\n return res\n }\n case LogicalOperator.OR: {\n const res = [];\n for (let i = 0, len = node.children.length; i < len; i += 1) {\n const child = node.children[i];\n const result = evaluate(child, item, idx);\n if (result.length) {\n res.push(...result);\n break\n }\n }\n return res\n }\n }\n };\n\n const records = this._myIndex.records;\n const resultMap = {};\n const results = [];\n\n records.forEach(({ $: item, i: idx }) => {\n if (isDefined(item)) {\n let expResults = evaluate(expression, item, idx);\n\n if (expResults.length) {\n // Dedupe when adding\n if (!resultMap[idx]) {\n resultMap[idx] = { idx, item, matches: [] };\n results.push(resultMap[idx]);\n }\n expResults.forEach(({ matches }) => {\n resultMap[idx].matches.push(...matches);\n });\n }\n }\n });\n\n return results\n }\n\n _searchObjectList(query) {\n const searcher = createSearcher(query, this.options);\n const { keys, records } = this._myIndex;\n const results = [];\n\n // List is Array\n records.forEach(({ $: item, i: idx }) => {\n if (!isDefined(item)) {\n return\n }\n\n let matches = [];\n\n // Iterate over every key (i.e, path), and fetch the value at that key\n keys.forEach((key, keyIndex) => {\n matches.push(\n ...this._findMatches({\n key,\n value: item[keyIndex],\n searcher\n })\n );\n });\n\n if (matches.length) {\n results.push({\n idx,\n item,\n matches\n });\n }\n });\n\n return results\n }\n _findMatches({ key, value, searcher }) {\n if (!isDefined(value)) {\n return []\n }\n\n let matches = [];\n\n if (isArray(value)) {\n value.forEach(({ v: text, i: idx, n: norm }) => {\n if (!isDefined(text)) {\n return\n }\n\n const { isMatch, score, indices } = searcher.searchIn(text);\n\n if (isMatch) {\n matches.push({\n score,\n key,\n value: text,\n idx,\n norm,\n indices\n });\n }\n });\n } else {\n const { v: text, n: norm } = value;\n\n const { isMatch, score, indices } = searcher.searchIn(text);\n\n if (isMatch) {\n matches.push({ score, key, value: text, norm, indices });\n }\n }\n\n return matches\n }\n}\n\nFuse.version = '6.4.6';\nFuse.createIndex = createIndex;\nFuse.parseIndex = parseIndex;\nFuse.config = Config;\n\n{\n Fuse.parseQuery = parse;\n}\n\n{\n register(ExtendedSearch);\n}\n\nexport default Fuse;\n","export const KEY_KEYCODE_LIST = {\n Enter: 13,\n Backspace: 8,\n Comma: 188,\n Tab: 9,\n Space: 32,\n Escape: 27\n};\n\nexport const SERVER_ERROR = 'Server error';\nexport const FILE_TYPE_ERROR = 'Unsupported file type';\n","import React from 'react';\nimport { nanoid } from 'nanoid';\n\nimport { KEY_KEYCODE_LIST } from './constants';\n\nexport const wrapWithComp = (child, type, Comp = 'span') => {\n if (typeof child === 'string') {\n return {child};\n }\n return child;\n};\n\n// Expects event as parameter\nexport const prepareKeyList = keyList => Object.keys(KEY_KEYCODE_LIST).filter(key => keyList.indexOf(key) > -1).map(key => ({ key, keyCode: KEY_KEYCODE_LIST[key] }));\nexport const isPressedKeyFN = keyList => {\n const preparedKeyList = prepareKeyList(keyList);\n return ({ key, keyCode }) => preparedKeyList.filter(({ key: expectedKey, keyCode: expectedKeyCode }) => (expectedKey === key || expectedKeyCode === keyCode)).length > 0;\n};\nexport const isPressedKeyEnter = isPressedKeyFN(['Enter']);\nexport const isPressedKeyBackspace = isPressedKeyFN(['Backspace']);\nexport const isPressedKeyTab = isPressedKeyFN(['Tab']);\nexport const isPressedKeyPillboxAddKey = isPressedKeyFN(['Enter', 'Comma', 'Space', 'Tab']);\nexport const isPressedKeyEnterOrSpace = isPressedKeyFN(['Enter', 'Space']);\nexport const isPressedKeyEscape = isPressedKeyFN(['Escape']);\nexport const isPressedKeyOneOf = keyList => isPressedKeyFN(keyList);\n\nexport const flattenOptions = options => options.reduce((flattenedOptions, option) => flattenedOptions.concat(option.type === 'group' ? flattenOptions(option.options) : [option]), []);\nexport const findOptionByValue = (value, options, allowEmpty = false) => {\n if (options.length === 0) {\n return;\n }\n\n const flattenedOptions = flattenOptions(options);\n const optionsHaveSomeDisabledOptions = flattenedOptions.some(option => option.disabled);\n const dropdownMayBeEmpty = allowEmpty || optionsHaveSomeDisabledOptions; // if options contain any disabled option treat like allowEmpty is true\n const sanitizedOptions = dropdownMayBeEmpty ? flattenedOptions.filter(option => !option.disabled) : flattenedOptions;\n\n if (!value) {\n return dropdownMayBeEmpty ? undefined : sanitizedOptions[0];\n }\n return sanitizedOptions.find(({ value: optionValue }) => optionValue === value);\n};\n\nexport const createFileMetadata = ({ name, type, size }, url) => {\n return {\n name, type, size, url\n };\n};\n\nexport const generateShortID = () => nanoid().split(/^\\d/).join('_');\n","import {\n useCallback, useEffect, useState, useRef, useMemo, useLayoutEffect\n} from 'react';\nimport Fuse from 'fuse.js';\nimport { nodeContains } from '@jotforminc/utils';\n\nimport { generateShortID } from '.';\n\nexport const useClickOutsideState = (initialState, refs = [], eventTypes = ['mouseup']) => {\n const [isVisible, setVisibility] = useState(initialState);\n\n useEffect(() => {\n const hideMenu = ({ target }) => !refs.find(ref => nodeContains(ref.current, target)) && setVisibility(false);\n\n eventTypes.forEach(eventType => {\n global.addEventListener(eventType, hideMenu);\n });\n\n return () => eventTypes.forEach(eventType => global.removeEventListener(eventType, hideMenu));\n }, [refs]);\n\n return [isVisible, setVisibility];\n};\n\nexport const useClickOutsideStateWithCallback = ({ refs = [], callback = null, eventType = 'mouseup' }) => {\n const _callback = typeof callback === 'function' ? callback : f => f;\n useEffect(() => {\n const hideMenu = ({ target }) => !refs.find(ref => nodeContains(ref.current, target)) && _callback(target);\n\n global.addEventListener(eventType, hideMenu);\n return () => global.removeEventListener(eventType, hideMenu);\n }, [refs]);\n};\n\nexport const useClickOutsideStateMouseDown = (initialState, refs = []) => {\n const [isVisible, setVisibility] = useState(initialState);\n\n useEffect(() => {\n const hideMenu = ({ target }) => !refs.find(ref => nodeContains(ref.current, target)) && setVisibility(false);\n\n global.addEventListener('mousedown', hideMenu);\n return () => global.removeEventListener('mousedown', hideMenu);\n }, [refs]);\n\n return [isVisible, setVisibility];\n};\n\nexport const useClickOutsideStateWithSelector = (initialState, selector) => {\n const [isVisible, setVisibility] = useState(initialState);\n const hideMenu = event => {\n const containerList = global.document.querySelectorAll(selector);\n const isContained = [...containerList].find(container => nodeContains(container, event.target));\n if (!isContained) {\n setVisibility(false);\n }\n };\n\n useEffect(() => {\n global.addEventListener('mouseup', hideMenu);\n return () => global.removeEventListener('mouseup', hideMenu);\n }, [selector]);\n\n return [isVisible, setVisibility];\n};\n\nexport const useSelectionState = (initialState, isMultiSelect = false) => {\n // Instance methods\n const sanitizeInitialState = !Array.isArray(initialState) ? [initialState] : initialState;\n\n // States\n const [selectedOptions, setSelectedOptions] = useState(sanitizeInitialState);\n\n // State methods\n const toggleOptionSelection = selectedValue => {\n const isOptionExist = selectedOptions.indexOf(selectedValue) > -1;\n const newSelectionArray = isOptionExist ? selectedOptions.filter(value => selectedValue !== value) : [...selectedOptions, selectedValue];\n setSelectedOptions(newSelectionArray);\n };\n\n const singleToggleOptionSelection = selectedValue => {\n const isOptionExist = selectedOptions.indexOf(selectedValue) > -1;\n if (isOptionExist) {\n return;\n }\n\n setSelectedOptions([selectedValue]);\n };\n\n if (isMultiSelect) {\n return [selectedOptions, toggleOptionSelection, setSelectedOptions];\n }\n\n return [selectedOptions, singleToggleOptionSelection, setSelectedOptions];\n};\n\nexport const useEffectIgnoreFirst = (effectHandler, effectDependedValues) => {\n const isFirstRun = useRef(true);\n\n useEffect(() => {\n if (isFirstRun.current) {\n isFirstRun.current = false;\n return;\n }\n\n return effectHandler();\n }, effectDependedValues);\n};\n\nexport const useCombinedRefs = (...refs) => {\n const targetRef = useRef();\n\n useEffect(() => {\n refs.forEach(ref => {\n if (!ref) {\n return;\n }\n\n if (typeof ref === 'function') {\n ref(targetRef.current);\n } else {\n // eslint-disable-next-line no-param-reassign\n ref.current = targetRef.current;\n }\n });\n }, [refs]);\n\n return targetRef;\n};\n\nexport const usePortalRef = (\n containerSelector = 'body',\n usePortal = false,\n portalAttribute = 'data-uikitGeneratedPortalContainer',\n initialPortalSelector = ''\n) => {\n // Returns a ref to pass to React.createPortal, either a reference to an existing element or it creates a new element.\n const getPortalRefElement = useCallback(() => {\n if (!usePortal) return;\n\n const portalContainer = global.document.querySelector(containerSelector);\n if (portalContainer) {\n // Portal Container element already exists -> return that element\n const currentPortalDiv = portalAttribute ? portalContainer.querySelector(`[${portalAttribute}=true]`) : false;\n if (currentPortalDiv) return currentPortalDiv;\n\n // Otherwise create a new Portal Container element\n const id = generateShortID();\n const div = global.document.createElement('div');\n div.setAttribute(portalAttribute, 'true');\n div.setAttribute('id', id);\n portalContainer.appendChild(div);\n return div;\n }\n }, [containerSelector, usePortal, portalAttribute]);\n\n // if the parent component won't rerender, it won't be able to detect the ref.current change so initial selector may be needed for components like those\n const portalRef = useRef(initialPortalSelector ? document.querySelector(initialPortalSelector) : getPortalRefElement());\n\n useEffect(() => {\n portalRef.current = getPortalRefElement() || portalRef.current;\n }, [getPortalRefElement]);\n\n return portalRef;\n};\n\nexport const useDragState = (initialState, {\n onDrop: onDropCallBack,\n onDragOver: onDragOverCallBack,\n onDragEnter: onDragEnterCallBack,\n onDragLeave: onDragLeaveCallBack\n} = {}) => {\n const [isDragging, setDragState] = useState(initialState);\n\n const generateDragEventHandler = (state, callback) => event => {\n setDragState(state);\n event.stopPropagation();\n event.preventDefault();\n\n if (typeof callback === 'function') {\n callback(event);\n }\n\n return false;\n };\n\n const onDragEnter = generateDragEventHandler(true, onDragEnterCallBack);\n const onDragOver = generateDragEventHandler(true, onDragOverCallBack);\n const onDragLeave = generateDragEventHandler(false, onDragLeaveCallBack);\n const onDrop = generateDragEventHandler(false, onDropCallBack);\n\n return [isDragging, {\n onDragEnter, onDragOver, onDragLeave, onDrop\n }];\n};\n\nconst cachedScripts = [];\nexport const useScript = src => {\n const [scriptState, setLoadState] = useState({ loaded: false, error: false });\n\n useEffect(() => {\n if (cachedScripts.indexOf(src) > -1) {\n setLoadState({ loaded: true, error: false });\n return f => f;\n }\n\n cachedScripts.push(src);\n\n const scriptTag = document.createElement('script');\n scriptTag.src = src;\n scriptTag.async = true;\n\n const onScriptLoad = () => setLoadState({ loaded: true, error: false });\n const onScriptError = () => {\n setLoadState({ loaded: true, error: true });\n scriptTag.remove();\n };\n\n scriptTag.addEventListener('load', onScriptLoad);\n scriptTag.addEventListener('error', onScriptError);\n document.body.appendChild(scriptTag);\n\n return () => {\n scriptTag.removeEventListener('load', onScriptLoad);\n scriptTag.removeEventListener('error', onScriptError);\n };\n }, [src]);\n\n return scriptState;\n};\n\nexport const useFuse = (list, searchTerm, keys = ['text'], fuseOptions = {\n shouldSort: true,\n threshold: 0.4,\n location: 0,\n distance: 100,\n maxPatternLength: 32,\n minMatchCharLength: 1\n}) => {\n const fuse = useMemo(() => new Fuse(list, { ...fuseOptions, keys }), [list, fuseOptions, keys]);\n const results = useMemo(() => (!searchTerm ? list : fuse.search(searchTerm)), [fuse, searchTerm]);\n return results;\n};\n\nexport const usePrev = value => {\n const ref = useRef();\n useEffect(() => {\n ref.current = value;\n });\n return ref.current;\n};\n\nexport const useInView = onInView => {\n const ref = useRef();\n\n useEffect(() => {\n let observer;\n\n global.requestAnimationFrame(() => {\n if (!ref.current) return;\n\n if (global.IntersectionObserver) {\n observer = new global.IntersectionObserver(([entry]) => {\n if (entry.intersectionRatio === 0) {\n return;\n }\n\n onInView(true);\n\n observer.unobserve(ref.current);\n }, { threshold: 1 });\n\n observer.observe(ref.current);\n } else {\n onInView(true);\n }\n });\n\n return () => {\n if (observer) {\n observer.disconnect();\n }\n };\n }, [ref.current]);\n\n return [ref];\n};\n\nexport const useContinueFocus = (isOpen, currentActiveElementRef) => {\n const panelRef = useRef();\n const activeElementRef = currentActiveElementRef || useRef();\n const isFirstRun = useRef(true);\n\n useLayoutEffect(() => {\n if (isFirstRun.current && !isOpen) {\n isFirstRun.current = false;\n return;\n }\n panelRef.current?.setAttribute('tabindex', isOpen ? 0 : -1);\n if (isOpen) {\n if (!currentActiveElementRef) { // if current element ref is not given, focus last active element\n activeElementRef.current = document.activeElement;\n }\n panelRef.current?.focus();\n } else {\n activeElementRef.current?.focus();\n }\n return () => activeElementRef.current?.focus();\n }, [isOpen]);\n\n return panelRef;\n};\n","import { createPortal } from 'react-dom';\nimport { bool, string, node } from 'prop-types';\nimport { forwardRef, useImperativeHandle } from 'react';\n\nimport { usePortalRef } from '../../utils/hooks';\n\nconst Portal = forwardRef(({\n children,\n usePortal,\n portalAttribute,\n containerSelector,\n initialPortalSelector\n}, ref) => {\n const portalRef = usePortalRef(containerSelector, usePortal, portalAttribute, initialPortalSelector);\n\n useImperativeHandle(ref, () => ({\n portalID: portalRef.current ? portalRef.current.id : ''\n }));\n\n return usePortal && portalRef.current ? createPortal(\n children,\n portalRef.current\n ) : children;\n});\n\nPortal.propTypes = {\n children: node.isRequired,\n usePortal: bool,\n containerSelector: string,\n portalAttribute: string,\n initialPortalSelector: string\n};\n\nPortal.defaultProps = {\n usePortal: true,\n containerSelector: 'body',\n portalAttribute: undefined,\n initialPortalSelector: ''\n};\n\nexport default Portal;\n","import { ScheduleDropdownOptions } from '@jotforminc/constants';\n\nconst isValidTimeZone = tz => {\n return !!ScheduleDropdownOptions.time.timeZone.reduce((acc, current) => {\n return [...acc, ...current.options];\n }, [])\n .find(opt => opt.value === tz);\n};\n\nexport const guessTimezone = () => Intl.DateTimeFormat().resolvedOptions().timeZone;\n\nexport const getTimeZone = (preferredTZ, fallbackTZ = 'America/Los_Angeles') => {\n if (isValidTimeZone(preferredTZ)) return preferredTZ;\n const guessedTZ = guessTimezone(); // Somehow guessTimeZone returns invalid record :/\n\n return isValidTimeZone(guessedTZ) ? guessedTZ : fallbackTZ;\n};\n\nexport const getNextSharpHour = () => {\n const date = new Date();\n\n date.setHours(date.getHours() + 1);\n date.setMinutes(0);\n\n return date;\n};\n\nexport const formatRawTime = time => {\n const delimeter = ':';\n if (!time || !time.includes(delimeter)) return false;\n\n const splittedTime = time.split(delimeter);\n let hours = Number(splittedTime[0]);\n const minutesAndRest = splittedTime[1];\n\n if (!minutesAndRest) return false;\n\n const splittedRest = splittedTime[1].split(' ');\n const minutes = Number(splittedRest[0]);\n const amPm = splittedRest[1];\n\n if (amPm === 'pm') {\n hours += 12;\n }\n\n return (\n !amPm\n || (amPm !== 'am' && amPm !== 'pm')\n || hours < 0\n || hours > 23\n || minutes < 0\n || minutes > 59\n ) ? false : {\n hours,\n minutes\n };\n};\n\nexport const formatRawDate = (date, delimeter = '/') => {\n if (!date || !date.includes(delimeter)) return false;\n\n const splittedDate = date.split(delimeter);\n const month = Number(splittedDate[0]);\n const day = Number(splittedDate[1]);\n const year = Number(splittedDate[2]);\n\n return (\n month < 0 || month > 12\n || day < 0 || day > 31\n || year < (new Date()).getFullYear()\n ) ? false : {\n month,\n day,\n year\n };\n};\n\nexport const getLocalTimeLabel = (duration, unitLabel, t) => {\n const locales = {\n minutes: { singular: t('Minute'), plural: t('Minutes') },\n hours: { singular: t('Hour'), plural: t('Hours') },\n days: { singular: t('Day'), plural: t('Days') }\n };\n return locales[unitLabel][duration === 1 ? 'singular' : 'plural'];\n};\n\nexport const getPossibleTimeZone = () => {\n let possibleTimeZone = 'UTC';\n try {\n possibleTimeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;\n } catch (err) {\n // If user's country is using DST(Daylight Saving Time), then we need to get standard timeoffset.\n const dateInJan = new Date();\n dateInJan.setMonth(0);\n dateInJan.setDate(1);\n let offset = dateInJan.getTimezoneOffset() / 60;\n // GMT notations are reversed in PHP. For example New York's standard timezone is GMT-5, but\n // When we are using GMT notation in PHP we need to change the sign.\n offset = `${offset > 0 ? 'Etc/GMT+' : 'Etc/GMT'}${offset}`;\n possibleTimeZone = offset;\n }\n\n return possibleTimeZone;\n};\n\nexport const getCurrentTime = () => {\n const date = new Date();\n let hours = date.getHours();\n let minutes = date.getMinutes();\n const ampm = hours >= 12 ? 'PM' : 'AM';\n hours = hours % 12;\n hours = hours || 12;\n minutes = minutes < 10 ? `0${minutes}` : minutes;\n const strTime = `${hours}:${minutes} ${ampm}`;\n return strTime;\n};\n\n/**\n * @function prettyDate\n * @desc Creates a formatted date string with options for displaying the time of day and adjusting date for timezones.\n * @param {Date|number|string} date\n * @param {boolean} showTime\n * @param {boolean} ignoreUserTz\n * @param {boolean} ignoreCompanyTz\n * @param {DateTimeFormatOptions} options\n * @param {string} language\n * @returns {string|{formattedDate: string, tokens: string[]}}\n */\nexport const prettyDate = (date = new Date(), showTime, ignoreUserTz, ignoreCompanyTz, options, language) => {\n // Test for invalid dates, e.g. form.last_submission returns '0000-00-00 00:00:00'\n if (!date || Number.isNaN(new Date(date).valueOf())) return '';\n const intlDateInParts = new Intl.DateTimeFormat(language || window.navigator.language, {\n // Setting false for timeZone triggers an exception, so explicitly set it to undefined\n timeZone: (!ignoreUserTz && window.userTimeZone) || (!ignoreCompanyTz && window.companyTimeZone) || undefined,\n hour: '2-digit',\n minute: '2-digit',\n year: 'numeric',\n month: 'short',\n day: 'numeric',\n hour12: true,\n ...options\n }).formatToParts(new Date(date));\n\n // Convert Intl Date parts into an object which is easier to work with to create a readable string\n const datePartsObject = Object.fromEntries(\n intlDateInParts.reduce((previousValue, currentValue) => (\n [...previousValue, [currentValue.type, currentValue.value]]\n ), [])\n );\n\n const dateString = `${datePartsObject.month} ${datePartsObject.day}, ${datePartsObject.year}`;\n const timeString = `${datePartsObject.hour}:${datePartsObject.minute} ${datePartsObject.dayPeriod}`;\n\n if (!showTime) return dateString;\n\n return {\n formattedDate: `${dateString} ${timeString}`,\n tokens: [dateString, timeString]\n };\n};\n\nexport const milisecondToDay = milisecond => {\n if (!milisecond || milisecond === null) return undefined;\n return parseInt(milisecond / (1000 * 60 * 60 * 24), 10);\n};\n\nconst addzero = date => {\n return date.toString().padStart(2, '0');\n};\n\nexport const getFormatedDate = date => {\n if (!date) return '';\n return `${(date.getFullYear())}-${addzero(date.getMonth() + 1)}-${addzero(date.getDate())}`;\n};\n","export const safeJSONParse = (str, defVal = {}, allowObj = false) => {\n if (str) {\n if (typeof str === typeof {} && allowObj) {\n return str;\n }\n try {\n return JSON.parse(str);\n } catch (ex) {\n return defVal;\n }\n } else {\n return defVal;\n }\n};\n\nexport const getUrlParameter = name => {\n const _name = name.replace(/[[]/, '\\\\[').replace(/[\\]]/, '\\\\]');\n const regex = new RegExp(`[\\\\?&]${_name}=([^&#]*)`);\n const results = regex.exec(global.location?.search || global.window?.location?.search);\n return results === null ? '' : decodeURIComponent(results[1].replace(/\\+/g, ' '));\n};\n\nexport const getUrlByCurrentLocale = url => {\n const { currentLocale, languageCodeURLPaths, JOTFORM_ENV } = global;\n if (currentLocale?.length === 5 && currentLocale?.include('-')) {\n const [languageCode] = currentLocale.split('-');\n if (typeof languageCodeURLPaths !== 'object' || Object.values(languageCodeURLPaths).includes(languageCode)) {\n return JOTFORM_ENV === 'PRODUCTION' ? `/${languageCode}${url}` : `https://www.jotform.com/${languageCode}${url}`;\n }\n }\n return JOTFORM_ENV === 'PRODUCTION' ? `${url}` : `https://www.jotform.com${url}`;\n};\n\nconst arrayMoveMutate = (array, from, to) => {\n const startIndex = to < 0 ? array.length + to : to;\n const item = array.splice(from, 1)[0];\n array.splice(startIndex, 0, item);\n};\n\nexport const arrayMove = (array, from, to) => {\n const newArray = array.slice();\n arrayMoveMutate(newArray, from, to);\n return newArray;\n};\n\nexport const serialize = (obj, prefix) => {\n /* eslint-disable */\n const str = [];\n let p;\n for (p in obj) {\n if (obj.hasOwnProperty(p)) {\n const k = prefix ? `${prefix}[${p}]` : p;\n const v = obj[p];\n str.push((v !== null && typeof v === \"object\") ?\n serialize(v, k) :\n v !== null ? `${encodeURIComponent(k)}=${encodeURIComponent(v)}`: null) ;\n }\n }\n return str.filter(a => a).join(\"&\");\n /* eslint-enable */\n};\n\nexport const objectEntries = obj => {\n const ownProps = Object.keys(obj);\n let i = ownProps.length;\n const resArray = new Array(i);\n while (i--) {\n resArray[i] = [ownProps[i], obj[ownProps[i]]];\n }\n return resArray;\n};\n\nexport const hasUrlParamOf = (key, value) => {\n return new URLSearchParams(document?.location?.search).get(key) === value;\n};\n","export const PlatformTypes = {\n SALESFORCE: 'salesforce',\n WEEBLY: 'weebly',\n ANYWHERE: 'anywhere',\n DOCUSIGN: 'docusign',\n CANVA: 'canva'\n};\n\nexport const AllowedPlatforms = [\n PlatformTypes.SALESFORCE,\n PlatformTypes.WEEBLY,\n PlatformTypes.ANYWHERE,\n PlatformTypes.DOCUSIGN,\n PlatformTypes.CANVA\n];\n","import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2';\n\n/**\n * Adapted from React: https://github.com/facebook/react/blob/master/packages/shared/formatProdErrorMessage.js\n *\n * Do not require this module directly! Use normal throw error calls. These messages will be replaced with error codes\n * during build.\n * @param {number} code\n */\nfunction formatProdErrorMessage(code) {\n return \"Minified Redux error #\" + code + \"; visit https://redux.js.org/Errors?code=\" + code + \" for the full message or \" + 'use the non-minified dev environment for full errors. ';\n}\n\n// Inlined version of the `symbol-observable` polyfill\nvar $$observable = (function () {\n return typeof Symbol === 'function' && Symbol.observable || '@@observable';\n})();\n\n/**\n * These are private action types reserved by Redux.\n * For any unknown actions, you must return the current state.\n * If the current state is undefined, you must return the initial state.\n * Do not reference these action types directly in your code.\n */\nvar randomString = function randomString() {\n return Math.random().toString(36).substring(7).split('').join('.');\n};\n\nvar ActionTypes = {\n INIT: \"@@redux/INIT\" + randomString(),\n REPLACE: \"@@redux/REPLACE\" + randomString(),\n PROBE_UNKNOWN_ACTION: function PROBE_UNKNOWN_ACTION() {\n return \"@@redux/PROBE_UNKNOWN_ACTION\" + randomString();\n }\n};\n\n/**\n * @param {any} obj The object to inspect.\n * @returns {boolean} True if the argument appears to be a plain object.\n */\nfunction isPlainObject(obj) {\n if (typeof obj !== 'object' || obj === null) return false;\n var proto = obj;\n\n while (Object.getPrototypeOf(proto) !== null) {\n proto = Object.getPrototypeOf(proto);\n }\n\n return Object.getPrototypeOf(obj) === proto;\n}\n\n// Inlined / shortened version of `kindOf` from https://github.com/jonschlinkert/kind-of\nfunction miniKindOf(val) {\n if (val === void 0) return 'undefined';\n if (val === null) return 'null';\n var type = typeof val;\n\n switch (type) {\n case 'boolean':\n case 'string':\n case 'number':\n case 'symbol':\n case 'function':\n {\n return type;\n }\n }\n\n if (Array.isArray(val)) return 'array';\n if (isDate(val)) return 'date';\n if (isError(val)) return 'error';\n var constructorName = ctorName(val);\n\n switch (constructorName) {\n case 'Symbol':\n case 'Promise':\n case 'WeakMap':\n case 'WeakSet':\n case 'Map':\n case 'Set':\n return constructorName;\n } // other\n\n\n return type.slice(8, -1).toLowerCase().replace(/\\s/g, '');\n}\n\nfunction ctorName(val) {\n return typeof val.constructor === 'function' ? val.constructor.name : null;\n}\n\nfunction isError(val) {\n return val instanceof Error || typeof val.message === 'string' && val.constructor && typeof val.constructor.stackTraceLimit === 'number';\n}\n\nfunction isDate(val) {\n if (val instanceof Date) return true;\n return typeof val.toDateString === 'function' && typeof val.getDate === 'function' && typeof val.setDate === 'function';\n}\n\nfunction kindOf(val) {\n var typeOfVal = typeof val;\n\n if (process.env.NODE_ENV !== 'production') {\n typeOfVal = miniKindOf(val);\n }\n\n return typeOfVal;\n}\n\n/**\n * Creates a Redux store that holds the state tree.\n * The only way to change the data in the store is to call `dispatch()` on it.\n *\n * There should only be a single store in your app. To specify how different\n * parts of the state tree respond to actions, you may combine several reducers\n * into a single reducer function by using `combineReducers`.\n *\n * @param {Function} reducer A function that returns the next state tree, given\n * the current state tree and the action to handle.\n *\n * @param {any} [preloadedState] The initial state. You may optionally specify it\n * to hydrate the state from the server in universal apps, or to restore a\n * previously serialized user session.\n * If you use `combineReducers` to produce the root reducer function, this must be\n * an object with the same shape as `combineReducers` keys.\n *\n * @param {Function} [enhancer] The store enhancer. You may optionally specify it\n * to enhance the store with third-party capabilities such as middleware,\n * time travel, persistence, etc. The only store enhancer that ships with Redux\n * is `applyMiddleware()`.\n *\n * @returns {Store} A Redux store that lets you read the state, dispatch actions\n * and subscribe to changes.\n */\n\nfunction createStore(reducer, preloadedState, enhancer) {\n var _ref2;\n\n if (typeof preloadedState === 'function' && typeof enhancer === 'function' || typeof enhancer === 'function' && typeof arguments[3] === 'function') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(0) : 'It looks like you are passing several store enhancers to ' + 'createStore(). This is not supported. Instead, compose them ' + 'together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.');\n }\n\n if (typeof preloadedState === 'function' && typeof enhancer === 'undefined') {\n enhancer = preloadedState;\n preloadedState = undefined;\n }\n\n if (typeof enhancer !== 'undefined') {\n if (typeof enhancer !== 'function') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(1) : \"Expected the enhancer to be a function. Instead, received: '\" + kindOf(enhancer) + \"'\");\n }\n\n return enhancer(createStore)(reducer, preloadedState);\n }\n\n if (typeof reducer !== 'function') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(2) : \"Expected the root reducer to be a function. Instead, received: '\" + kindOf(reducer) + \"'\");\n }\n\n var currentReducer = reducer;\n var currentState = preloadedState;\n var currentListeners = [];\n var nextListeners = currentListeners;\n var isDispatching = false;\n /**\n * This makes a shallow copy of currentListeners so we can use\n * nextListeners as a temporary list while dispatching.\n *\n * This prevents any bugs around consumers calling\n * subscribe/unsubscribe in the middle of a dispatch.\n */\n\n function ensureCanMutateNextListeners() {\n if (nextListeners === currentListeners) {\n nextListeners = currentListeners.slice();\n }\n }\n /**\n * Reads the state tree managed by the store.\n *\n * @returns {any} The current state tree of your application.\n */\n\n\n function getState() {\n if (isDispatching) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(3) : 'You may not call store.getState() while the reducer is executing. ' + 'The reducer has already received the state as an argument. ' + 'Pass it down from the top reducer instead of reading it from the store.');\n }\n\n return currentState;\n }\n /**\n * Adds a change listener. It will be called any time an action is dispatched,\n * and some part of the state tree may potentially have changed. You may then\n * call `getState()` to read the current state tree inside the callback.\n *\n * You may call `dispatch()` from a change listener, with the following\n * caveats:\n *\n * 1. The subscriptions are snapshotted just before every `dispatch()` call.\n * If you subscribe or unsubscribe while the listeners are being invoked, this\n * will not have any effect on the `dispatch()` that is currently in progress.\n * However, the next `dispatch()` call, whether nested or not, will use a more\n * recent snapshot of the subscription list.\n *\n * 2. The listener should not expect to see all state changes, as the state\n * might have been updated multiple times during a nested `dispatch()` before\n * the listener is called. It is, however, guaranteed that all subscribers\n * registered before the `dispatch()` started will be called with the latest\n * state by the time it exits.\n *\n * @param {Function} listener A callback to be invoked on every dispatch.\n * @returns {Function} A function to remove this change listener.\n */\n\n\n function subscribe(listener) {\n if (typeof listener !== 'function') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(4) : \"Expected the listener to be a function. Instead, received: '\" + kindOf(listener) + \"'\");\n }\n\n if (isDispatching) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(5) : 'You may not call store.subscribe() while the reducer is executing. ' + 'If you would like to be notified after the store has been updated, subscribe from a ' + 'component and invoke store.getState() in the callback to access the latest state. ' + 'See https://redux.js.org/api/store#subscribelistener for more details.');\n }\n\n var isSubscribed = true;\n ensureCanMutateNextListeners();\n nextListeners.push(listener);\n return function unsubscribe() {\n if (!isSubscribed) {\n return;\n }\n\n if (isDispatching) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(6) : 'You may not unsubscribe from a store listener while the reducer is executing. ' + 'See https://redux.js.org/api/store#subscribelistener for more details.');\n }\n\n isSubscribed = false;\n ensureCanMutateNextListeners();\n var index = nextListeners.indexOf(listener);\n nextListeners.splice(index, 1);\n currentListeners = null;\n };\n }\n /**\n * Dispatches an action. It is the only way to trigger a state change.\n *\n * The `reducer` function, used to create the store, will be called with the\n * current state tree and the given `action`. Its return value will\n * be considered the **next** state of the tree, and the change listeners\n * will be notified.\n *\n * The base implementation only supports plain object actions. If you want to\n * dispatch a Promise, an Observable, a thunk, or something else, you need to\n * wrap your store creating function into the corresponding middleware. For\n * example, see the documentation for the `redux-thunk` package. Even the\n * middleware will eventually dispatch plain object actions using this method.\n *\n * @param {Object} action A plain object representing “what changed”. It is\n * a good idea to keep actions serializable so you can record and replay user\n * sessions, or use the time travelling `redux-devtools`. An action must have\n * a `type` property which may not be `undefined`. It is a good idea to use\n * string constants for action types.\n *\n * @returns {Object} For convenience, the same action object you dispatched.\n *\n * Note that, if you use a custom middleware, it may wrap `dispatch()` to\n * return something else (for example, a Promise you can await).\n */\n\n\n function dispatch(action) {\n if (!isPlainObject(action)) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(7) : \"Actions must be plain objects. Instead, the actual type was: '\" + kindOf(action) + \"'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.\");\n }\n\n if (typeof action.type === 'undefined') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(8) : 'Actions may not have an undefined \"type\" property. You may have misspelled an action type string constant.');\n }\n\n if (isDispatching) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(9) : 'Reducers may not dispatch actions.');\n }\n\n try {\n isDispatching = true;\n currentState = currentReducer(currentState, action);\n } finally {\n isDispatching = false;\n }\n\n var listeners = currentListeners = nextListeners;\n\n for (var i = 0; i < listeners.length; i++) {\n var listener = listeners[i];\n listener();\n }\n\n return action;\n }\n /**\n * Replaces the reducer currently used by the store to calculate the state.\n *\n * You might need this if your app implements code splitting and you want to\n * load some of the reducers dynamically. You might also need this if you\n * implement a hot reloading mechanism for Redux.\n *\n * @param {Function} nextReducer The reducer for the store to use instead.\n * @returns {void}\n */\n\n\n function replaceReducer(nextReducer) {\n if (typeof nextReducer !== 'function') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(10) : \"Expected the nextReducer to be a function. Instead, received: '\" + kindOf(nextReducer));\n }\n\n currentReducer = nextReducer; // This action has a similiar effect to ActionTypes.INIT.\n // Any reducers that existed in both the new and old rootReducer\n // will receive the previous state. This effectively populates\n // the new state tree with any relevant data from the old one.\n\n dispatch({\n type: ActionTypes.REPLACE\n });\n }\n /**\n * Interoperability point for observable/reactive libraries.\n * @returns {observable} A minimal observable of state changes.\n * For more information, see the observable proposal:\n * https://github.com/tc39/proposal-observable\n */\n\n\n function observable() {\n var _ref;\n\n var outerSubscribe = subscribe;\n return _ref = {\n /**\n * The minimal observable subscription method.\n * @param {Object} observer Any object that can be used as an observer.\n * The observer object should have a `next` method.\n * @returns {subscription} An object with an `unsubscribe` method that can\n * be used to unsubscribe the observable from the store, and prevent further\n * emission of values from the observable.\n */\n subscribe: function subscribe(observer) {\n if (typeof observer !== 'object' || observer === null) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(11) : \"Expected the observer to be an object. Instead, received: '\" + kindOf(observer) + \"'\");\n }\n\n function observeState() {\n if (observer.next) {\n observer.next(getState());\n }\n }\n\n observeState();\n var unsubscribe = outerSubscribe(observeState);\n return {\n unsubscribe: unsubscribe\n };\n }\n }, _ref[$$observable] = function () {\n return this;\n }, _ref;\n } // When a store is created, an \"INIT\" action is dispatched so that every\n // reducer returns their initial state. This effectively populates\n // the initial state tree.\n\n\n dispatch({\n type: ActionTypes.INIT\n });\n return _ref2 = {\n dispatch: dispatch,\n subscribe: subscribe,\n getState: getState,\n replaceReducer: replaceReducer\n }, _ref2[$$observable] = observable, _ref2;\n}\n\n/**\n * Prints a warning in the console if it exists.\n *\n * @param {String} message The warning message.\n * @returns {void}\n */\nfunction warning(message) {\n /* eslint-disable no-console */\n if (typeof console !== 'undefined' && typeof console.error === 'function') {\n console.error(message);\n }\n /* eslint-enable no-console */\n\n\n try {\n // This error was thrown as a convenience so that if you enable\n // \"break on all exceptions\" in your console,\n // it would pause the execution at this line.\n throw new Error(message);\n } catch (e) {} // eslint-disable-line no-empty\n\n}\n\nfunction getUnexpectedStateShapeWarningMessage(inputState, reducers, action, unexpectedKeyCache) {\n var reducerKeys = Object.keys(reducers);\n var argumentName = action && action.type === ActionTypes.INIT ? 'preloadedState argument passed to createStore' : 'previous state received by the reducer';\n\n if (reducerKeys.length === 0) {\n return 'Store does not have a valid reducer. Make sure the argument passed ' + 'to combineReducers is an object whose values are reducers.';\n }\n\n if (!isPlainObject(inputState)) {\n return \"The \" + argumentName + \" has unexpected type of \\\"\" + kindOf(inputState) + \"\\\". Expected argument to be an object with the following \" + (\"keys: \\\"\" + reducerKeys.join('\", \"') + \"\\\"\");\n }\n\n var unexpectedKeys = Object.keys(inputState).filter(function (key) {\n return !reducers.hasOwnProperty(key) && !unexpectedKeyCache[key];\n });\n unexpectedKeys.forEach(function (key) {\n unexpectedKeyCache[key] = true;\n });\n if (action && action.type === ActionTypes.REPLACE) return;\n\n if (unexpectedKeys.length > 0) {\n return \"Unexpected \" + (unexpectedKeys.length > 1 ? 'keys' : 'key') + \" \" + (\"\\\"\" + unexpectedKeys.join('\", \"') + \"\\\" found in \" + argumentName + \". \") + \"Expected to find one of the known reducer keys instead: \" + (\"\\\"\" + reducerKeys.join('\", \"') + \"\\\". Unexpected keys will be ignored.\");\n }\n}\n\nfunction assertReducerShape(reducers) {\n Object.keys(reducers).forEach(function (key) {\n var reducer = reducers[key];\n var initialState = reducer(undefined, {\n type: ActionTypes.INIT\n });\n\n if (typeof initialState === 'undefined') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(12) : \"The slice reducer for key \\\"\" + key + \"\\\" returned undefined during initialization. \" + \"If the state passed to the reducer is undefined, you must \" + \"explicitly return the initial state. The initial state may \" + \"not be undefined. If you don't want to set a value for this reducer, \" + \"you can use null instead of undefined.\");\n }\n\n if (typeof reducer(undefined, {\n type: ActionTypes.PROBE_UNKNOWN_ACTION()\n }) === 'undefined') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(13) : \"The slice reducer for key \\\"\" + key + \"\\\" returned undefined when probed with a random type. \" + (\"Don't try to handle '\" + ActionTypes.INIT + \"' or other actions in \\\"redux/*\\\" \") + \"namespace. They are considered private. Instead, you must return the \" + \"current state for any unknown actions, unless it is undefined, \" + \"in which case you must return the initial state, regardless of the \" + \"action type. The initial state may not be undefined, but can be null.\");\n }\n });\n}\n/**\n * Turns an object whose values are different reducer functions, into a single\n * reducer function. It will call every child reducer, and gather their results\n * into a single state object, whose keys correspond to the keys of the passed\n * reducer functions.\n *\n * @param {Object} reducers An object whose values correspond to different\n * reducer functions that need to be combined into one. One handy way to obtain\n * it is to use ES6 `import * as reducers` syntax. The reducers may never return\n * undefined for any action. Instead, they should return their initial state\n * if the state passed to them was undefined, and the current state for any\n * unrecognized action.\n *\n * @returns {Function} A reducer function that invokes every reducer inside the\n * passed object, and builds a state object with the same shape.\n */\n\n\nfunction combineReducers(reducers) {\n var reducerKeys = Object.keys(reducers);\n var finalReducers = {};\n\n for (var i = 0; i < reducerKeys.length; i++) {\n var key = reducerKeys[i];\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof reducers[key] === 'undefined') {\n warning(\"No reducer provided for key \\\"\" + key + \"\\\"\");\n }\n }\n\n if (typeof reducers[key] === 'function') {\n finalReducers[key] = reducers[key];\n }\n }\n\n var finalReducerKeys = Object.keys(finalReducers); // This is used to make sure we don't warn about the same\n // keys multiple times.\n\n var unexpectedKeyCache;\n\n if (process.env.NODE_ENV !== 'production') {\n unexpectedKeyCache = {};\n }\n\n var shapeAssertionError;\n\n try {\n assertReducerShape(finalReducers);\n } catch (e) {\n shapeAssertionError = e;\n }\n\n return function combination(state, action) {\n if (state === void 0) {\n state = {};\n }\n\n if (shapeAssertionError) {\n throw shapeAssertionError;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n var warningMessage = getUnexpectedStateShapeWarningMessage(state, finalReducers, action, unexpectedKeyCache);\n\n if (warningMessage) {\n warning(warningMessage);\n }\n }\n\n var hasChanged = false;\n var nextState = {};\n\n for (var _i = 0; _i < finalReducerKeys.length; _i++) {\n var _key = finalReducerKeys[_i];\n var reducer = finalReducers[_key];\n var previousStateForKey = state[_key];\n var nextStateForKey = reducer(previousStateForKey, action);\n\n if (typeof nextStateForKey === 'undefined') {\n var actionType = action && action.type;\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(14) : \"When called with an action of type \" + (actionType ? \"\\\"\" + String(actionType) + \"\\\"\" : '(unknown type)') + \", the slice reducer for key \\\"\" + _key + \"\\\" returned undefined. \" + \"To ignore an action, you must explicitly return the previous state. \" + \"If you want this reducer to hold no value, you can return null instead of undefined.\");\n }\n\n nextState[_key] = nextStateForKey;\n hasChanged = hasChanged || nextStateForKey !== previousStateForKey;\n }\n\n hasChanged = hasChanged || finalReducerKeys.length !== Object.keys(state).length;\n return hasChanged ? nextState : state;\n };\n}\n\nfunction bindActionCreator(actionCreator, dispatch) {\n return function () {\n return dispatch(actionCreator.apply(this, arguments));\n };\n}\n/**\n * Turns an object whose values are action creators, into an object with the\n * same keys, but with every function wrapped into a `dispatch` call so they\n * may be invoked directly. This is just a convenience method, as you can call\n * `store.dispatch(MyActionCreators.doSomething())` yourself just fine.\n *\n * For convenience, you can also pass an action creator as the first argument,\n * and get a dispatch wrapped function in return.\n *\n * @param {Function|Object} actionCreators An object whose values are action\n * creator functions. One handy way to obtain it is to use ES6 `import * as`\n * syntax. You may also pass a single function.\n *\n * @param {Function} dispatch The `dispatch` function available on your Redux\n * store.\n *\n * @returns {Function|Object} The object mimicking the original object, but with\n * every action creator wrapped into the `dispatch` call. If you passed a\n * function as `actionCreators`, the return value will also be a single\n * function.\n */\n\n\nfunction bindActionCreators(actionCreators, dispatch) {\n if (typeof actionCreators === 'function') {\n return bindActionCreator(actionCreators, dispatch);\n }\n\n if (typeof actionCreators !== 'object' || actionCreators === null) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(16) : \"bindActionCreators expected an object or a function, but instead received: '\" + kindOf(actionCreators) + \"'. \" + \"Did you write \\\"import ActionCreators from\\\" instead of \\\"import * as ActionCreators from\\\"?\");\n }\n\n var boundActionCreators = {};\n\n for (var key in actionCreators) {\n var actionCreator = actionCreators[key];\n\n if (typeof actionCreator === 'function') {\n boundActionCreators[key] = bindActionCreator(actionCreator, dispatch);\n }\n }\n\n return boundActionCreators;\n}\n\n/**\n * Composes single-argument functions from right to left. The rightmost\n * function can take multiple arguments as it provides the signature for\n * the resulting composite function.\n *\n * @param {...Function} funcs The functions to compose.\n * @returns {Function} A function obtained by composing the argument functions\n * from right to left. For example, compose(f, g, h) is identical to doing\n * (...args) => f(g(h(...args))).\n */\nfunction compose() {\n for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) {\n funcs[_key] = arguments[_key];\n }\n\n if (funcs.length === 0) {\n return function (arg) {\n return arg;\n };\n }\n\n if (funcs.length === 1) {\n return funcs[0];\n }\n\n return funcs.reduce(function (a, b) {\n return function () {\n return a(b.apply(void 0, arguments));\n };\n });\n}\n\n/**\n * Creates a store enhancer that applies middleware to the dispatch method\n * of the Redux store. This is handy for a variety of tasks, such as expressing\n * asynchronous actions in a concise manner, or logging every action payload.\n *\n * See `redux-thunk` package as an example of the Redux middleware.\n *\n * Because middleware is potentially asynchronous, this should be the first\n * store enhancer in the composition chain.\n *\n * Note that each middleware will be given the `dispatch` and `getState` functions\n * as named arguments.\n *\n * @param {...Function} middlewares The middleware chain to be applied.\n * @returns {Function} A store enhancer applying the middleware.\n */\n\nfunction applyMiddleware() {\n for (var _len = arguments.length, middlewares = new Array(_len), _key = 0; _key < _len; _key++) {\n middlewares[_key] = arguments[_key];\n }\n\n return function (createStore) {\n return function () {\n var store = createStore.apply(void 0, arguments);\n\n var _dispatch = function dispatch() {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(15) : 'Dispatching while constructing your middleware is not allowed. ' + 'Other middleware would not be applied to this dispatch.');\n };\n\n var middlewareAPI = {\n getState: store.getState,\n dispatch: function dispatch() {\n return _dispatch.apply(void 0, arguments);\n }\n };\n var chain = middlewares.map(function (middleware) {\n return middleware(middlewareAPI);\n });\n _dispatch = compose.apply(void 0, chain)(store.dispatch);\n return _objectSpread(_objectSpread({}, store), {}, {\n dispatch: _dispatch\n });\n };\n };\n}\n\n/*\n * This is a dummy function to check if the function name has been altered by minification.\n * If the function has been minified and NODE_ENV !== 'production', warn the user.\n */\n\nfunction isCrushed() {}\n\nif (process.env.NODE_ENV !== 'production' && typeof isCrushed.name === 'string' && isCrushed.name !== 'isCrushed') {\n warning('You are currently using minified code outside of NODE_ENV === \"production\". ' + 'This means that you are running a slower development build of Redux. ' + 'You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify ' + 'or setting mode to production in webpack (https://webpack.js.org/concepts/mode/) ' + 'to ensure you have the correct code for your production build.');\n}\n\nexport { ActionTypes as __DO_NOT_USE__ActionTypes, applyMiddleware, bindActionCreators, combineReducers, compose, createStore };\n","import { createStore, compose } from 'redux';\n\nconst makeFeatureReducer = initialState => {\n return (state = initialState, action) => {\n if (!action.type) return state;\n if (action.type === 'ADD_NEW_FEATURE') {\n return {\n ...state,\n [action.payload.featureName]: {\n name: action.payload.featureName,\n value: action.payload.featureValue\n }\n };\n }\n if (action.type === 'ADD_FEATURE_FLAG_LIST') {\n return {\n ...state,\n ...action.payload.featureFlagList\n };\n }\n if (action.type === 'RENEW_FEATURE_FLAG') {\n return {\n ...action.payload.featureFlagList\n };\n }\n if (action.type === 'RESET_FEATURE_FLAG') {\n return {};\n }\n if (!state[action.type]) return state;\n return {\n ...state,\n [action.type]: {\n ...state[action.type],\n value: !state[action.type].value\n }\n };\n };\n};\n\nconst composeEnhancers = (typeof window !== 'undefined' && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({ name: 'JF Feature Flag Reducer' })) || compose;\nclass FeatureFlag {\n store = createStore(makeFeatureReducer({}), composeEnhancers());\n\n constructor() {\n if (global.FeatureFlag) return global.FeatureFlag;\n global.FeatureFlag = this;\n }\n\n init = featureList => {\n this.store.dispatch({ type: 'ADD_FEATURE_FLAG_LIST', payload: { featureFlagList: featureList } });\n };\n\n getStore = () => {\n // TODO: return singleton store;\n return this.store;\n };\n\n addNewFeature = (featureName, featureValue) => {\n this.store.dispatch({ type: 'ADD_NEW_FEATURE', payload: { featureName, featureValue } });\n };\n\n getList = () => {\n return this.store.getState();\n };\n\n getFeature = feature => {\n const featureName = this.getFeatureName(feature);\n const featureValue = this.store.getState()[featureName]?.value;\n if (typeof featureValue === 'undefined') {\n console.log(JSON.stringify(feature), ': feature is not defined.');\n return false;\n }\n return featureValue;\n };\n\n toggleFeature = feature => {\n const featureName = this.getFeatureName(feature);\n this.store.dispatch({ type: featureName });\n };\n\n getFeatureName = feature => {\n if (typeof feature === 'undefined') return null;\n if (typeof feature === 'string') return feature;\n return feature.name;\n };\n}\n\nexport default new FeatureFlag();\n","import { AllowedPlatforms, PlatformTypes } from '@jotforminc/constants';\nimport { getRootPath, getBaseURL } from '@jotforminc/router-bridge';\nimport { featureFlag } from '@jotforminc/feature-flag';\n\nconst cache = {};\n\nexport const isPlatformEnv = () => {\n if (typeof cache.isPlatform !== 'undefined') return cache.isPlatform;\n let platformEnv = null;\n if (typeof window !== 'undefined') {\n platformEnv = window.__jfrouter ? window.__jfrouter.PLATFORM_ENV : window.PLATFORM_ENV;\n }\n const isAllowedPlatform = AllowedPlatforms.includes(platformEnv);\n cache.isPlatform = isAllowedPlatform;\n cache.platformEnv = isAllowedPlatform ? platformEnv : null;\n return cache.isPlatform;\n};\n\nexport const isSalesforceEnv = () => {\n if (isPlatformEnv()) {\n return cache.platformEnv === PlatformTypes.SALESFORCE;\n }\n return false;\n};\n\nexport const isAnywhereEnv = () => {\n return cache.platformEnv === PlatformTypes.ANYWHERE;\n};\n\nexport const getPlatformEnv = () => {\n if (isPlatformEnv()) {\n return cache.platformEnv;\n }\n return null;\n};\n\nconst getValidURL = (url, baseURL) => {\n try {\n return new URL(url, baseURL);\n } catch (e) {\n return false;\n }\n};\n\nconst appendRootPath = pathname => {\n const rootPath = getRootPath();\n if (!pathname.startsWith(rootPath)) {\n return `${pathname.startsWith('/') ? rootPath.slice(0, -1) : rootPath}${pathname}`;\n }\n return pathname;\n};\n\n// THIS IS A TEMPORARY FUNCTION WILL BE DELETED AFTER RELEASE. THANKS AND SORRY :)\nconst interceptURLForWorkflowRelease = (url = '') => {\n const pathnames = url?.split('/').filter(Boolean) || [];\n const shouldChangeParameter = window?.isWorkflowReleased && pathnames[0] === 'myapprovals';\n if (!shouldChangeParameter) return url;\n return ['/myworkflows', ...pathnames.slice(1)].join('/');\n};\n\nconst prepareURLWithRoot = urlString => {\n const baseURL = getBaseURL();\n let url = urlString;\n const urlObject = getValidURL(url);\n\n if (urlObject) {\n if (urlObject.origin === baseURL) {\n urlObject.pathname = appendRootPath(urlObject.pathname);\n url = urlObject.toString();\n }\n } else {\n url = appendRootPath(url);\n }\n url = interceptURLForWorkflowRelease(url);\n return url;\n};\n\nconst shouldRedirectToSessionExpired = redirectURL => {\n if (isPlatformEnv()) {\n if (\n redirectURL.pathname === '/login'\n && (redirectURL.searchParams.has('rp') || redirectURL.searchParams.size === 0)\n ) {\n return true;\n }\n }\n return false;\n};\n\nexport const handleCustomNavigation = (url, target = '_blank', dontOverwrite = false, windowFeatures = '') => {\n const isMobileApp = global.navigator.userAgent.indexOf('JotForm Mobile') > -1 || global.navigator.userAgent.indexOf('JFCEMobile') > -1;\n const redirectURL = getValidURL(url, getBaseURL());\n\n if (redirectURL && shouldRedirectToSessionExpired(redirectURL)) {\n return window.open(`/platform/${getPlatformEnv()}/platform-pages/session-expired${redirectURL.search}`, '_self', windowFeatures);\n }\n\n if (dontOverwrite) {\n return window.open(url, target, windowFeatures);\n }\n\n if (isMobileApp) {\n window.location.href = url;\n return;\n }\n if (isPlatformEnv()) {\n if (featureFlag.getFeature(featureFlag.getList().NAVIGATE_TO_THE_NEW_TAB)) {\n return window.open(url, '_blank', `noopener,noreferrer,${windowFeatures}`);\n }\n\n if (url.startsWith('https://')) {\n // TODO: handle this properly\n return window.open(url, target, windowFeatures);\n }\n return window.open(`/platform/${getPlatformEnv()}${url}`, '_self', windowFeatures);\n }\n\n return window.open(prepareURLWithRoot(url), target, windowFeatures);\n};\n\nexport const getPlatformSafeUrl = url => {\n let safeUrl = getValidURL(url);\n if (!safeUrl || (safeUrl && window.__jfrouter.BASE_URL !== (new URL(safeUrl)).origin)) {\n const platformEnv = getPlatformEnv();\n const platformPrefix = platformEnv ? `/platform/${platformEnv}` : '';\n safeUrl = `${window.__jfrouter.BASE_URL}${platformPrefix}/myforms`;\n }\n return safeUrl;\n};\n","import isElement from 'lodash/isElement';\n\nexport const createFormData = data => {\n return Object.keys(data)\n .map(key => `${key}=${window.encodeURIComponent(data[key])}`)\n .join('&');\n};\n\nexport const listenEnter = (e, callbackFN = () => undefined, stopPropagation = true) => {\n const { key = '', keyCode } = e;\n if ((key && key === 'Enter') || keyCode === 13) {\n if (stopPropagation) {\n e.stopPropagation(); // to prevent cardform selectNextQuestion\n }\n callbackFN();\n }\n};\n\nexport const loadJS = (id, src, onload) => {\n if (document.getElementById(id)) {\n return false;\n }\n\n const js = document.createElement('script');\n\n js.id = id;\n js.onload = onload;\n js.src = src;\n const fjs = document.getElementsByTagName('script')[0];\n if (fjs) {\n fjs.parentNode.insertBefore(js, fjs);\n } else {\n document.getElementsByTagName('head')[0].appendChild(js);\n }\n};\n\n/**\n * Select nearest parent matches with selector (unless it encounters stopSelector) according to _element.\n * @param _element\n * @param selector\n * @param stopSelector\n * @returns {*}\n */\nexport const closest = (_element, selector, stopSelector) => {\n let element = _element;\n let retval = null;\n while (element) {\n if (element.matches(selector)) {\n retval = element;\n break;\n } else if (stopSelector && element.matches(stopSelector)) {\n break;\n }\n element = element.parentElement;\n }\n return retval;\n};\n\n// Check if node2 contains node1\nexport const nodeContains = (node2, node1) => isElement(node2) && isElement(node1) && ((node2 === node1) || nodeContains(node2, node1.parentNode));\n\nexport const getClassAttributes = values => {\n if (!values?.class) return '';\n const classAttributes = values.class;\n const classResult = Object.values(classAttributes).join(' ').trim();\n return classResult;\n};\n\n/**\n * Select the text content and collapse if you want to move the caret to end of input\n * @param target\n * @param shouldCollapse\n */\nexport const selectAllText = ({ target, shouldCollapse = false, focusBefore = false }) => {\n let selection;\n let range;\n if (focusBefore) target.focus();\n\n if (document.body.createTextRange) {\n range = document.body.createTextRange();\n range.moveToElementText(target);\n if (shouldCollapse) range.collapse(false);\n range.select();\n } else if (window.getSelection) {\n selection = window.getSelection();\n range = document.createRange();\n range.selectNodeContents(target);\n selection.removeAllRanges();\n if (shouldCollapse) range.collapse(false);\n selection.addRange(range);\n }\n\n if (!focusBefore) target.focus();\n};\n\nexport const classNameGenerator = classess => {\n let className = '';\n const classKeys = Object.keys(classess);\n classKeys.forEach(classKey => {\n if (classess[classKey]) className += ` ${classKey}`;\n });\n return className.trim();\n};\n\nexport const resizeWindow = () => {\n const scrollHeight = document.documentElement.scrollHeight - document.documentElement.clientHeight;\n const scrollWidth = document.documentElement.scrollWidth - document.documentElement.clientWidth;\n window.resizeBy(scrollWidth > 0 ? scrollWidth : 0, scrollHeight > 0 ? scrollHeight : 0);\n};\n","import Axios from 'axios';\n\nexport const initAppleSignin = nonce => {\n if (!window.AppleID) return;\n\n window.AppleID.auth.init({\n clientId: 'com.jotform.applesignin',\n scope: 'name email',\n redirectURI: `https://${global.location.host}/API/login/apple`,\n response_type: 'code',\n response_mode: 'form_post',\n nonce,\n usePopup: true\n });\n\n return window.AppleID.auth.signIn();\n};\n\nexport const initFBSignin = () => {\n // https://sentry.io/organizations/jotform/issues/1769596448/?project=4142374\n if (!window.FB) return;\n\n window.FB.init({\n appId: window.FACEBOOK_SIGNON_APP_ID,\n cookie: true,\n xfbml: true,\n version: 'v3.2'\n });\n return window.FB.login;\n};\n\nexport const initGoogleSignin = callback => {\n if (!window.google) return;\n\n const client = window.google.accounts.oauth2.initCodeClient({\n client_id: window.GOOGLE_SIGNON,\n scope: 'openid profile email',\n ux_mode: 'popup',\n cookiepolicy: 'single_host_origin',\n callback: async response => {\n await callback(response);\n }\n });\n\n return client;\n};\n\nexport const initMicrosoftSignin = () => {\n const myMSALObj = new window.msal.PublicClientApplication({\n auth: {\n clientId: window.MICROSOFT_SIGNON_CLIENT_ID,\n redirectUri: `https://${global.location.host}/login-redirect.html`\n }\n });\n return myMSALObj.loginPopup({\n scopes: ['user.read']\n });\n};\n\nexport const initSalesforceSignin = async () => {\n const openPopupWindowCentered = function openPopupWindowCentered(url, windowName, w, h) {\n const x = window.outerWidth / 2 + window.screenX - w / 2;\n const y = window.outerHeight / 2 + window.screenY - h / 2;\n let features = 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=';\n features = features.concat(w, ', height=').concat(h, ', top=').concat(y, ', left=').concat(x);\n return window.open(url, windowName, features);\n };\n\n let popUpWindow = null;\n\n const handleLogin = async () => {\n const response = await Axios.get(`https://${global.location.host}/API/user/salesforce-auth-provider`);\n popUpWindow = openPopupWindowCentered(response.data.content, 'login-flow-salesforce', 600, 680);\n };\n\n await handleLogin();\n\n const data = await new Promise(resolve => {\n window.addEventListener('message', message => {\n if (!message || !message.data) {\n resolve('error');\n }\n\n if (message.data.source === 'jfsalesforce_login') {\n if (popUpWindow) {\n popUpWindow.close();\n }\n\n const res = {\n code: message.data.code,\n token: message.data.token\n };\n resolve(res);\n }\n });\n });\n\n return data;\n};\n\nexport const randomString = length => {\n const possible = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n let text = '';\n for (let i = 0; i < length; i++) {\n text += possible.charAt(Math.floor(Math.random() * possible.length));\n }\n return text;\n};\n\nexport const initGoogleMailSignin = async () => {\n const openPopupWindowCentered = (url, windowName, w, h) => {\n const x = window.outerWidth / 2 + window.screenX - w / 2;\n const y = window.outerHeight / 2 + window.screenY - h / 2;\n const features = `toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=${w}, height=${h}, top=${y}, left=${x}`;\n return window.open(url, windowName, features);\n };\n\n let popUpWindow = null;\n\n const handleLogin = async () => {\n popUpWindow = openPopupWindowCentered('/api/smtp-oauth2/google.php?startFlow=1', 'smtp-oauth2-google', 600, 680);\n if (!popUpWindow) {\n throw new Error('Pop-up window could not be opened. It might be blocked.');\n }\n };\n\n const handlePostMessage = (event, resolve) => {\n if (event.origin !== window.location.origin) {\n return; // Only accept messages from the same origin\n }\n\n const { data: messageData = '' } = event;\n\n if (!messageData) {\n resolve(new Error('No message data received.'));\n return;\n }\n\n if (messageData?.source === 'smtp_oauth2_google') {\n if (popUpWindow) {\n popUpWindow.close();\n popUpWindow = null;\n }\n\n const res = { authToken: messageData?.authToken };\n resolve(res);\n }\n };\n\n await handleLogin();\n\n const data = await new Promise((resolve, reject) => {\n const listener = event => handlePostMessage(event, resolve);\n\n window.addEventListener('message', listener);\n\n const id = setInterval(() => {\n if (!popUpWindow || popUpWindow.closed) {\n window.removeEventListener('message', listener);\n clearInterval(id);\n }\n }, 500);\n\n setTimeout(() => {\n clearInterval(id);\n window.removeEventListener('message', listener);\n if (popUpWindow && !popUpWindow.closed) {\n popUpWindow.close();\n reject(new Error('Authentication timeout.'));\n }\n }, 60000); // 60 seconds timeout\n });\n\n return data;\n};\n\nexport const initOAuth2MailSignin = async provider => {\n const openPopupWindowCentered = (url, windowName, w, h) => {\n const x = window.outerWidth / 2 + window.screenX - w / 2;\n const y = window.outerHeight / 2 + window.screenY - h / 2;\n const features = `toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=${w}, height=${h}, top=${y}, left=${x}`;\n return window.open(url, windowName, features);\n };\n\n let popUpWindow = null;\n\n const handleLogin = async () => {\n const url = `/api/smtp-oauth2/${provider === 'google' ? 'google' : 'microsoft'}.php?startFlow=1`;\n popUpWindow = openPopupWindowCentered(url, `smtp-oauth2-${provider}`, 600, 680);\n if (!popUpWindow) {\n throw new Error('Pop-up window could not be opened. It might be blocked.');\n }\n };\n\n const handlePostMessage = (event, resolve) => {\n if (event.origin !== window.location.origin) {\n return; // Only accept messages from the same origin\n }\n\n const { data: messageData = '' } = event;\n\n if (!messageData) {\n resolve(new Error('No message data received.'));\n return;\n }\n\n if (messageData?.source === `smtp_oauth2_${provider}`) {\n if (popUpWindow) {\n popUpWindow.close();\n popUpWindow = null;\n }\n\n const res = { authToken: messageData?.authToken };\n resolve(res);\n }\n };\n\n await handleLogin();\n\n const data = await new Promise((resolve, reject) => {\n const listener = event => handlePostMessage(event, resolve);\n\n window.addEventListener('message', listener);\n\n const id = setInterval(() => {\n if (!popUpWindow || popUpWindow.closed) {\n window.removeEventListener('message', listener);\n clearInterval(id);\n }\n }, 500);\n\n setTimeout(() => {\n clearInterval(id);\n window.removeEventListener('message', listener);\n if (popUpWindow && !popUpWindow.closed) {\n popUpWindow.close();\n reject(new Error('Authentication timeout.'));\n }\n }, 60000); // 60 seconds timeout\n });\n\n return data;\n};\n","import { LATEST_ACTIVE_SERVERS_LIST, RANDOM_ACTIVE_200_SERVERS_LIST, RANDOM_ACTIVE_300_SERVERS_LIST } from './constants/latestActiveServers';\n\nconst isActive = (testEnvList = [], parameter) => {\n const { host, search } = window.location;\n return host.indexOf('jotform.biz') > -1 || host.indexOf('jotform.pro') > -1 || testEnvList.indexOf(host) > -1 || (parameter && search.indexOf(parameter) > -1);\n};\n\nexport const isEnterprise = () => {\n if (!window) {\n return false;\n }\n\n if (window.JOTFORM_ENV === 'ENTERPRISE') {\n return true;\n }\n\n if (window.JotForm && window.JotForm.enterprise) {\n return true;\n }\n\n return false;\n};\n\nexport const isTestAndDevelopmentEnvironment = () => isActive([\n 'eeproduct2.jotform.com',\n 'enterpriseqa.jotform.com',\n 'enterpriseqahipaa.jotform.com',\n 'demo.jotform.com',\n 'acmetest.jotform.com',\n 'uxlabs.jotform.com',\n 'soc2-test1.jotform.com',\n 'mobile-test.jotform.com',\n 'enterpriseqamanual.jotform.com',\n 'marketing.jotform.com',\n 'passgp.jotform.com',\n 'mcrcbiobank.jotform.com',\n 'aat.jotform.com',\n 'sso-multi-test.jotform.com'\n]);\n\nexport const isOneOfTheMostActiveEnterpriseServers = () => {\n return isActive(LATEST_ACTIVE_SERVERS_LIST) || isActive(RANDOM_ACTIVE_200_SERVERS_LIST) || isActive(RANDOM_ACTIVE_300_SERVERS_LIST) || isTestAndDevelopmentEnvironment();\n};\n\nexport const isNew2FAEnabled = () => window.location.search.indexOf('new2FA') > -1;\n\nexport const isNewSMTPFlow = (user = {}) => {\n const { isNewSMTPFlowEnabled = false } = user;\n return window?.user?.isNewSMTPFlowEnabled || isNewSMTPFlowEnabled;\n};\n","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\nvar ReCAPTCHA =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(ReCAPTCHA, _React$Component);\n\n function ReCAPTCHA() {\n var _this;\n\n _this = _React$Component.call(this) || this;\n _this.handleExpired = _this.handleExpired.bind(_assertThisInitialized(_this));\n _this.handleErrored = _this.handleErrored.bind(_assertThisInitialized(_this));\n _this.handleRecaptchaRef = _this.handleRecaptchaRef.bind(_assertThisInitialized(_this));\n return _this;\n }\n\n var _proto = ReCAPTCHA.prototype;\n\n _proto.getValue = function getValue() {\n if (this.props.grecaptcha && this._widgetId !== undefined) {\n return this.props.grecaptcha.getResponse(this._widgetId);\n }\n\n return null;\n };\n\n _proto.getWidgetId = function getWidgetId() {\n if (this.props.grecaptcha && this._widgetId !== undefined) {\n return this._widgetId;\n }\n\n return null;\n };\n\n _proto.execute = function execute() {\n var grecaptcha = this.props.grecaptcha;\n\n if (grecaptcha && this._widgetId !== undefined) {\n return grecaptcha.execute(this._widgetId);\n } else {\n this._executeRequested = true;\n }\n };\n\n _proto.reset = function reset() {\n if (this.props.grecaptcha && this._widgetId !== undefined) {\n this.props.grecaptcha.reset(this._widgetId);\n }\n };\n\n _proto.handleExpired = function handleExpired() {\n if (this.props.onExpired) {\n this.props.onExpired();\n } else if (this.props.onChange) {\n this.props.onChange(null);\n }\n };\n\n _proto.handleErrored = function handleErrored() {\n if (this.props.onErrored) this.props.onErrored();\n };\n\n _proto.explicitRender = function explicitRender() {\n if (this.props.grecaptcha && this.props.grecaptcha.render && this._widgetId === undefined) {\n var wrapper = document.createElement(\"div\");\n this._widgetId = this.props.grecaptcha.render(wrapper, {\n sitekey: this.props.sitekey,\n callback: this.props.onChange,\n theme: this.props.theme,\n type: this.props.type,\n tabindex: this.props.tabindex,\n \"expired-callback\": this.handleExpired,\n \"error-callback\": this.handleErrored,\n size: this.props.size,\n stoken: this.props.stoken,\n hl: this.props.hl,\n badge: this.props.badge\n });\n this.captcha.appendChild(wrapper);\n }\n\n if (this._executeRequested && this.props.grecaptcha && this._widgetId !== undefined) {\n this._executeRequested = false;\n this.execute();\n }\n };\n\n _proto.componentDidMount = function componentDidMount() {\n this.explicitRender();\n };\n\n _proto.componentDidUpdate = function componentDidUpdate() {\n this.explicitRender();\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n if (this._widgetId !== undefined) {\n this.delayOfCaptchaIframeRemoving();\n this.reset();\n }\n };\n\n _proto.delayOfCaptchaIframeRemoving = function delayOfCaptchaIframeRemoving() {\n var temporaryNode = document.createElement(\"div\");\n document.body.appendChild(temporaryNode);\n temporaryNode.style.display = \"none\"; // move of the recaptcha to a temporary node\n\n while (this.captcha.firstChild) {\n temporaryNode.appendChild(this.captcha.firstChild);\n } // delete the temporary node after reset will be done\n\n\n setTimeout(function () {\n document.body.removeChild(temporaryNode);\n }, 5000);\n };\n\n _proto.handleRecaptchaRef = function handleRecaptchaRef(elem) {\n this.captcha = elem;\n };\n\n _proto.render = function render() {\n // consume properties owned by the reCATPCHA, pass the rest to the div so the user can style it.\n\n /* eslint-disable no-unused-vars */\n var _this$props = this.props,\n sitekey = _this$props.sitekey,\n onChange = _this$props.onChange,\n theme = _this$props.theme,\n type = _this$props.type,\n tabindex = _this$props.tabindex,\n onExpired = _this$props.onExpired,\n onErrored = _this$props.onErrored,\n size = _this$props.size,\n stoken = _this$props.stoken,\n grecaptcha = _this$props.grecaptcha,\n badge = _this$props.badge,\n hl = _this$props.hl,\n childProps = _objectWithoutPropertiesLoose(_this$props, [\"sitekey\", \"onChange\", \"theme\", \"type\", \"tabindex\", \"onExpired\", \"onErrored\", \"size\", \"stoken\", \"grecaptcha\", \"badge\", \"hl\"]);\n /* eslint-enable no-unused-vars */\n\n\n return React.createElement(\"div\", _extends({}, childProps, {\n ref: this.handleRecaptchaRef\n }));\n };\n\n return ReCAPTCHA;\n}(React.Component);\n\nexport { ReCAPTCHA as default };\nReCAPTCHA.displayName = \"ReCAPTCHA\";\nReCAPTCHA.propTypes = {\n sitekey: PropTypes.string.isRequired,\n onChange: PropTypes.func,\n grecaptcha: PropTypes.object,\n theme: PropTypes.oneOf([\"dark\", \"light\"]),\n type: PropTypes.oneOf([\"image\", \"audio\"]),\n tabindex: PropTypes.number,\n onExpired: PropTypes.func,\n onErrored: PropTypes.func,\n size: PropTypes.oneOf([\"compact\", \"normal\", \"invisible\"]),\n stoken: PropTypes.string,\n hl: PropTypes.string,\n badge: PropTypes.oneOf([\"bottomright\", \"bottomleft\", \"inline\"])\n};\nReCAPTCHA.defaultProps = {\n onChange: function onChange() {},\n theme: \"light\",\n type: \"image\",\n tabindex: 0,\n size: \"normal\",\n badge: \"bottomright\"\n};","import ReCAPTCHA from \"./recaptcha\";\nimport makeAsyncScriptLoader from \"react-async-script\";\n\nfunction getOptions() {\n return typeof window !== \"undefined\" && window.recaptchaOptions || {};\n}\n\nfunction getURL() {\n var dynamicOptions = getOptions();\n var lang = dynamicOptions.lang ? \"&hl=\" + dynamicOptions.lang : \"\";\n var hostname = dynamicOptions.useRecaptchaNet ? \"recaptcha.net\" : \"www.google.com\";\n return \"https://\" + hostname + \"/recaptcha/api.js?onload=\" + callbackName + \"&render=explicit\" + lang;\n}\n\nvar callbackName = \"onloadcallback\";\nvar globalName = \"grecaptcha\";\nvar initialOptions = getOptions();\nexport default makeAsyncScriptLoader(getURL, {\n callbackName: callbackName,\n globalName: globalName,\n removeOnUnmount: initialOptions.removeOnUnmount || false\n})(ReCAPTCHA);","import { _ as _object_without_properties_loose } from \"./_object_without_properties_loose.js\";\n\nfunction _object_without_properties(source, excluded) {\n if (source == null) return {};\n\n var target = _object_without_properties_loose(source, excluded);\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}\nexport { _object_without_properties as _ };\n","function _object_without_properties_loose(source, excluded) {\n if (source == null) return {};\n\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\nexport { _object_without_properties_loose as _ };\n","import React from 'react';\nimport { string } from 'prop-types';\nimport classNames from 'classnames';\nimport Styled from 'styled-components';\n\nconst StyledSVG = Styled.svg`\n position: absolute;\n top: 50%;\n left: 50%;\n width: ${({ size = '70px' }) => size};\n height: ${({ size = '70px' }) => size};\n transform: translate(-50%, -50%);\n animation: jfLoading-svgRotate 2s linear 0s infinite normal none running;\n transform-origin: center center 0;\n\n .jfLoading-svgPath {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n animation: jfLoading-svgPath 1.5s ease-in-out 0s infinite normal none running;\n stroke-linecap: round;\n }\n\n @keyframes jfLoading-svgPath {\n 0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -35px;\n }\n 100% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -124px;\n }\n }\n\n @keyframes jfLoading-svgRotate {\n 100% {\n transform: rotate(360deg) translate(-50%, -50%);\n }\n }\n`;\n\nexport const Loading = ({\n className = null,\n strokeWidth = '2',\n strokeColor = 'rgba(0,0,0,0.5)',\n ...props\n}) => (\n \n \n \n);\n\nLoading.propTypes = {\n className: string,\n strokeColor: string,\n strokeWidth: string\n};\n","import trimEnd from 'lodash/trimEnd';\nimport { isEnterprise } from '@jotforminc/enterprise-utils';\n\nexport const getEnterpriseUrl = (): string => {\n if (window.JotForm && window.JotForm.enterprise) {\n return `https://${window.JotForm.enterprise}`;\n }\n\n if (window.JOTFORM_ENV === 'ENTERPRISE') {\n return `https://${window.location.host}`;\n }\n\n return '/';\n};\n\nexport const getEnterpriseLogo = (): string => {\n const url = getEnterpriseUrl();\n return `${trimEnd(url, '/')}/enterprise/logo.png`;\n};\n\nexport const getPublicApiURL = (): string => {\n const isEUDomain = /(?:eu\\.jotform)|(jotformeu\\.com)/.test(window.location.host);\n const isHipaaDomain = /(?:hipaa\\.jotform)/.test(window.location.host);\n switch (true) {\n case /jotform.pro/.test(window.location.host):\n return '/API';\n case isEUDomain:\n return 'https://eu-api.jotform.com';\n case isHipaaDomain:\n return 'https://hipaa-api.jotform.com';\n case Boolean(window.JotFormAPIEndpoint):\n return window.JotFormAPIEndpoint;\n default:\n return 'https://api.jotform.com';\n }\n};\n\nexport const getAPIURL = (): string => {\n // !add temporarily production test check\n if (window.location.host === 'hipaa.jotformers.com') {\n return '/API';\n }\n\n if (isEnterprise()) {\n return '/API';\n }\n\n if (/(?:jotform\\.ooo)/.test(window.location.host)) {\n return '/API';\n }\n\n if (/(?:alt\\.jotfor\\.ms)/.test(window.location.host)) {\n return '/API';\n }\n\n return getPublicApiURL();\n};\n\nexport const getDomainFromAPI = (apiURL: string): string => {\n const liteURL = apiURL.replace(/^http:\\/\\/|^https:\\/\\/|^\\//, '');\n const apiServerMap = {\n 'api.jotform.com': 'https://www.jotform.com',\n 'eu-api.jotform.com': 'https://eu.jotform.com',\n 'hipaa-api.jotform.com': 'https://hipaa.jotform.com',\n API: window.location.origin\n };\n return apiServerMap[liteURL as keyof typeof apiServerMap] || 'https://www.jotform.com';\n};\n\nexport const getDomainURL = (): string => {\n const isInternRDS = window.location.href.includes('.jotform.dev');\n if (isInternRDS) {\n return '';\n }\n\n if (!window.JotForm) {\n return getDomainFromAPI(getAPIURL());\n }\n\n const enterpriseEnv = isEnterprise();\n /* eslint-disable no-undef */\n switch (true) {\n case enterpriseEnv:\n return getEnterpriseUrl();\n case /jotform\\.pro/.test(window.location.origin):\n case window.JotForm.hipaa:\n return window.location.origin;\n default:\n return `https://${window.location.hostname.replace(/^form./, '')}`; // TODO: better way.\n }\n /* eslint-enable no-undef */\n};\n\nexport const getURLDomain = (url: string): string | boolean => {\n if (url && url.length > 0) {\n try {\n const urlObj = new URL(url);\n return urlObj.hostname;\n } catch (e) {\n return false;\n }\n }\n return false;\n};\n\nexport const replaceURLDomain = (url: string, newDomain: string): string => {\n if (newDomain && newDomain.length > 0) {\n try {\n const urlObj = new URL(url);\n urlObj.hostname = newDomain;\n return urlObj.toString();\n } catch (e) {\n return url;\n }\n }\n return url;\n};\n\nexport const getCombinedInfoURLByProduct = (resourceID: string, productType: string): string => {\n const apiURL = getAPIURL();\n let loginURL;\n switch (productType) {\n case 'form':\n loginURL = `${apiURL}/formuser/${resourceID}/combinedinfo?master=1`;\n break;\n default:\n loginURL = `${apiURL}/formuser/combinedinfo?master=1`;\n break;\n }\n return window?.JFAppsManager?.isOpenedInPortal() ? `${loginURL}&jotform_pwa=1` : loginURL;\n};\n","import {\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n useLayoutEffect\n} from 'react';\nimport { moment as Moment, nodeContains } from '@jotforminc/utils';\nimport debounce from 'lodash/debounce';\nimport { v4 as uuid } from 'uuid';\nimport throttle from 'lodash/throttle';\nimport Fuse from 'fuse.js';\nimport { useResize } from './useResize';\n\nexport const useDebounce = (fn, waitTime = 400, options = {}) => {\n const funcRef = useRef(fn);\n if (funcRef.current !== fn) {\n funcRef.current = fn;\n }\n\n return useCallback(debounce(fn, waitTime, options), [funcRef.current]);\n};\n\nconst baseFuseOptions = {};\nconst baseKeys = ['name', 'email'];\nexport const useFuse = (list, searchTerm, keys = baseKeys, fuseOptions = baseFuseOptions) => {\n const fuse = useMemo(() => new Fuse(list, {\n shouldSort: true,\n location: 0,\n threshold: 0.4,\n distance: 100,\n maxPatternLength: 32,\n minMatchCharLength: 1,\n ...fuseOptions,\n keys\n }), [list, keys, fuseOptions]);\n\n const results = useMemo(() => (!searchTerm\n ? list\n : fuse.search(searchTerm).map(fuseResult => ({\n ...fuseResult.item\n }))\n ), [fuse, searchTerm]);\n return results;\n};\n\nexport const useLongPress = (callback, ms = 500) => {\n const timer = useRef();\n\n const start = useCallback(event => {\n timer.current = setTimeout(() => callback(event), ms);\n }, [ms, callback]);\n\n const cancel = useCallback(() => {\n if (timer.current !== undefined) clearTimeout(timer.current);\n });\n\n useEffect(() => () => {\n if (timer.current !== undefined) clearTimeout(timer.current);\n }, []);\n\n return useMemo(() => ({\n onMouseDown: start,\n onMouseUp: cancel,\n onMouseLeave: cancel,\n onTouchStart: start,\n onTouchEnd: cancel,\n onTouchMove: cancel,\n onTouchCancel: cancel\n }), [start, cancel]);\n};\n\nexport const useSwitch = (value, cases) => useMemo(() => {\n const firstMatchingCase = cases.find(([caseValue]) => caseValue === value);\n if (firstMatchingCase) {\n const [, result] = firstMatchingCase;\n return result;\n }\n}, [value, cases]);\n\nexport const useStateWithAutoReset = (initialState = '', timeoutDuration = 3000) => {\n const [state, setState] = useState(initialState);\n\n useEffect(() => {\n if (state !== initialState) {\n const delayedClearStateTimeout = global.setTimeout(() => setState(initialState), timeoutDuration);\n return () => global.clearTimeout(delayedClearStateTimeout);\n }\n }, [state]);\n\n return [state, setState];\n};\n\nexport const useTimeout = (callback, delay) => {\n const callbackRef = useRef(callback);\n const timeoutRef = useRef();\n\n useEffect(() => {\n callbackRef.current = callback;\n }, [callback]);\n\n const set = useCallback(() => {\n timeoutRef.current = setTimeout(() => callbackRef.current(), delay);\n }, [delay]);\n\n const clear = useCallback(() => {\n if (timeoutRef.current) {\n clearTimeout(timeoutRef.current);\n }\n }, []);\n\n useEffect(() => {\n set();\n return clear;\n }, [delay, set, clear]);\n\n const reset = useCallback(() => {\n clear();\n set();\n }, [clear, set]);\n\n return { reset, clear };\n};\n\nexport const useDebounceWithTimeout = (callback, delay, dependencies) => {\n const { reset, clear } = useTimeout(callback, delay);\n useEffect(reset, [...dependencies, reset]);\n useEffect(clear, []);\n};\n\nexport const useTimeoutMessage = (initialValue, timeout = 3000) => {\n const timeoutRef = useRef(null);\n const [message, setMessage] = useState(initialValue);\n\n useEffect(() => {\n return () => {\n clearTimeout(timeoutRef.current);\n };\n }, []);\n\n return [\n message, data => {\n clearTimeout(timeoutRef.current);\n setMessage(data);\n timeoutRef.current = setTimeout(() => setMessage(false), timeout);\n }\n ];\n};\n\nexport const usePropState = initalValue => {\n const [state, setState] = useState(initalValue);\n useEffect(() => {\n if (initalValue !== state) {\n setState(initalValue);\n }\n }, [initalValue]);\n\n return [state, setState];\n};\n\nconst fetchers = {};\n\nexport const useRequest = (fetcher, name = fetcher.toString()) => {\n const [loading, setLoading] = useState(false);\n const [data, setData] = useState(false);\n const [error, setError] = useState(false);\n\n const load = async (...args) => {\n setLoading(true);\n setError(false);\n\n try {\n const req = fetcher(...args);\n fetchers[name] = req;\n\n const newData = await req;\n\n if (fetchers[name] !== req) return;\n\n setData(newData);\n } catch (e) {\n setError(e);\n }\n\n setLoading(false);\n\n return data;\n };\n\n return {\n error, load, loading, data, setData\n };\n};\nexport const useQuery = (fetcher, query, name) => {\n const request = useRequest(fetcher, name);\n const { load, setData } = request;\n\n const reload = () => load(query);\n\n useEffect(() => {\n setData(false);\n reload();\n }, [JSON.stringify(query)]);\n\n return { ...request, reload };\n};\n\nexport const useInViewport = (elementRef, callback = f => f, threshold = 0.2, callOnce = true, scrollRef = { current: window }) => {\n const isCalledRef = useRef(false);\n\n const isInViewport = elRef => {\n const rect = elRef.current?.getBoundingClientRect();\n const innerHeight = window.innerHeight || document.documentElement.clientHeight;\n const innerWidth = window.innerWidth || document.documentElement.clientWidth;\n const topCalculation = rect.top + (rect.height * threshold);\n const bottomCalculation = rect.bottom + (rect.height * threshold);\n const fromTop = topCalculation <= innerHeight && topCalculation >= 0;\n const fromBottom = bottomCalculation <= innerHeight && bottomCalculation >= 0;\n return (\n rect.left >= 0\n && (fromTop || fromBottom)\n && rect.right <= innerWidth\n );\n };\n\n const handleScroll = () => {\n if (!elementRef.current) return;\n const inViewport = isInViewport(elementRef);\n const shouldCall = callOnce ? (inViewport && !isCalledRef.current) : inViewport;\n if (shouldCall) {\n callback();\n isCalledRef.current = true;\n }\n };\n\n useEffect(() => {\n handleScroll();\n const throttledHandleScroll = throttle(handleScroll, 400);\n scrollRef.current?.addEventListener('scroll', throttledHandleScroll);\n return () => {\n scrollRef.current?.removeEventListener('scroll', throttledHandleScroll);\n };\n }, [elementRef, scrollRef]);\n};\n\n// from usehooks.com\nexport const useHover = (ms = 0) => {\n const [value, setValue] = useState(false);\n\n const ref = useRef(null);\n let timeout;\n const handleMouseOver = () => {\n if (ms > 0) {\n timeout = setTimeout(() => setValue(true), ms);\n } else {\n setValue(true);\n }\n };\n const handleMouseOut = () => {\n if (timeout) {\n timeout = clearTimeout(timeout);\n }\n setValue(false);\n };\n\n useEffect(\n () => {\n const node = ref.current;\n if (node) {\n node.addEventListener('mouseover', handleMouseOver);\n node.addEventListener('mouseout', handleMouseOut);\n\n return () => {\n if (timeout) {\n timeout = clearTimeout(timeout);\n }\n node.removeEventListener('mouseover', handleMouseOver);\n node.removeEventListener('mouseout', handleMouseOut);\n };\n }\n },\n [ref.current] // Recall only if ref changes\n );\n\n return [ref, value];\n};\n\nexport const useMomentDate = (date, format) => {\n const [momentDate, setMomentDate] = useState(Moment.dateToMoment(date, format));\n const renewMomentDate = () => {\n setMomentDate(Moment.dateToMoment(date, format));\n };\n\n useEffect(() => {\n const listenerKey = `renewMomentDate_${uuid()}`;\n Moment.addListener('setLocale', listenerKey, renewMomentDate);\n return () => Moment.removeListener('setLocale', listenerKey);\n }, []);\n\n useEffect(() => {\n renewMomentDate();\n }, [date, format]);\n\n return [momentDate, setMomentDate];\n};\n\nexport const useIsMobile = (mobileBreakdownWidth = 580) => {\n const { width } = useResize();\n return width <= mobileBreakdownWidth;\n};\n\nexport const useMoveOutsideState = (initialState, refs = []) => {\n const [isVisible, setVisibility] = useState(initialState);\n\n useEffect(() => {\n const hideMenu = ({ target }) => {\n return !refs.find(ref => ref?.current && nodeContains(ref.current, target)) && setVisibility(false);\n };\n\n global.window.addEventListener('mouseout', hideMenu);\n return () => global.window.removeEventListener('mouseout', hideMenu);\n }, [refs]);\n\n return [isVisible, setVisibility];\n};\n\nexport const useSetAttributeToElement = (className, setAttributeName, setAttributeValue, useEffectDependency) => {\n useEffect(() => {\n let index;\n const dates = document.getElementsByClassName(className);\n for (index = 0; index < dates.length; ++index) {\n dates[index]?.setAttribute(setAttributeName, setAttributeValue);\n }\n }, [useEffectDependency]);\n};\n\nexport const useDelayUnmount = (isMounted, delayTime) => {\n const [shouldRender, setShouldRender] = useState(false);\n const [className, setClassName] = useState('closed');\n useEffect(() => {\n let timeoutIdOut;\n if (isMounted && !shouldRender) {\n setShouldRender(true);\n setTimeout(() => setClassName('opened'));\n } else if (!isMounted && shouldRender) {\n setClassName('closed');\n timeoutIdOut = setTimeout(() => setShouldRender(false), delayTime);\n }\n return () => {\n clearTimeout(timeoutIdOut);\n };\n }, [isMounted, delayTime, shouldRender]);\n return [shouldRender, className];\n};\n\nexport const useKeyPress = targetKey => {\n const [keyPressed, setKeyPressed] = useState(false);\n function downHandler({ key }) {\n if (key === targetKey) {\n setKeyPressed(true);\n }\n }\n const upHandler = ({ key }) => {\n if (key === targetKey) {\n setKeyPressed(false);\n }\n };\n useEffect(() => {\n window.addEventListener('keydown', downHandler);\n window.addEventListener('keyup', upHandler);\n return () => {\n window.removeEventListener('keydown', downHandler);\n window.removeEventListener('keyup', upHandler);\n };\n }, []);\n return keyPressed;\n};\n\nexport const useMeasure = () => {\n const ref = useRef(null);\n const [forceRedraw, setForceRedraw] = useState(1);\n const rect = useRef(null);\n\n useLayoutEffect(() => {\n rect.current = ref.current && ref.current.getBoundingClientRect();\n if (!ref.current) return;\n if (rect.current.height) {\n setForceRedraw(0);\n }\n }, [forceRedraw, rect]);\n return [ref, rect.current && rect.current.height];\n};\n\nexport const useFocus = () => {\n const htmlElRef = useRef(null);\n // eslint-disable-next-line no-unused-expressions\n const setFocus = () => { htmlElRef?.current && htmlElRef?.current?.focus(); };\n\n return [htmlElRef, setFocus];\n};\n\nexport const useDelayed = (fn, ms) => {\n const ready = useRef(false);\n const timeout = useRef();\n const callback = useRef(fn);\n\n const isReady = useCallback(() => ready.current, []);\n\n const set = useCallback(\n (...args) => {\n ready.current = false;\n if (timeout.current) clearTimeout(timeout.current);\n\n timeout.current = setTimeout(() => {\n ready.current = true;\n callback.current(...args);\n }, ms);\n },\n [ms]\n );\n\n const clear = useCallback(() => {\n ready.current = null;\n if (timeout.current) clearTimeout(timeout.current);\n }, []);\n\n // update ref when function changes\n useEffect(() => {\n callback.current = fn;\n }, [fn]);\n\n // clear on unmount\n useEffect(() => {\n return clear;\n }, [ms]);\n\n return [isReady, clear, set];\n};\n\nexport const useOnClickOutside = (ref, handler) => {\n useEffect(() => {\n const listener = event => {\n if (!ref.current || ref.current.contains(event.target)) {\n return;\n }\n handler(event);\n };\n document.addEventListener('mousedown', listener);\n document.addEventListener('touchstart', listener);\n return () => {\n document.removeEventListener('mousedown', listener);\n document.removeEventListener('touchstart', listener);\n };\n }, [ref, handler]);\n};\n\nexport const usePrevious = value => {\n const ref = useRef();\n useEffect(() => {\n ref.current = value;\n }, [value]);\n return ref.current;\n};\n\nconst defaultOptions = {\n isPassive: true, condition: true, element: global, capture: false\n};\n\nexport const useEventListener = (\n eventName,\n handler,\n options\n) => {\n const savedHandler = useRef();\n const {\n isPassive, condition, element, capture\n } = { ...defaultOptions, ...options };\n\n useEffect(() => {\n savedHandler.current = handler;\n }, [handler]);\n\n useEffect(() => {\n const eventListener = event => savedHandler.current(event);\n if (condition) {\n element.addEventListener(eventName, eventListener, { passive: isPassive, capture });\n }\n return () => {\n if (condition) {\n element.removeEventListener(eventName, eventListener, { passive: isPassive, capture });\n }\n };\n }, [eventName, condition, element, isPassive]);\n};\n","import { NormalizeMap } from './types';\n\n// normalizing request fields to prevent unnecessary hit misses\nexport const normalizedKeyMap: Record = {\n teamID: { contains: [''], to: undefined }\n};\n","/* eslint-disable no-param-reassign */\nimport { normalizedKeyMap } from './constants';\nimport { CacheValue } from './types';\n\ntype RetryFunction = () => Promise | undefined>;\nconst delay = (fn: RetryFunction, ms: number): ReturnType => new Promise(resolve => setTimeout(() => resolve(fn()), ms));\n\nexport const retry = async (fn: RetryFunction, maxAttempts = 3, delayMs = 10): ReturnType => {\n const execute = async (attempt: number): ReturnType => {\n try {\n return await fn();\n } catch {\n if (attempt <= maxAttempts) {\n const nextAttempt = attempt + 1;\n return delay(() => execute(nextAttempt), delayMs);\n }\n return undefined;\n }\n };\n return execute(1);\n};\n\nexport const mapRequest = (obj: Record): void => {\n Object.keys(obj).forEach(key => {\n if (normalizedKeyMap[key]) {\n const shouldMap = normalizedKeyMap[key].contains.includes(obj[key]);\n if (shouldMap) obj[key] = normalizedKeyMap[key].to;\n }\n if (typeof obj[key] === 'object' && obj[key] !== null) {\n mapRequest(obj[key] as Record);\n }\n });\n};\n","import { RequestContext, ResponseResult } from '../layer/types';\nimport { CacheValue, LatestHitAttempt } from './types';\nimport { retry, mapRequest } from './utils';\n\nexport default class TTLCache {\n private cache: Map;\n\n private readonly ttl: number;\n\n // it's used as a lookup table to check consecutive requests\n private readonly latestAttempts: LatestHitAttempt[];\n\n private readonly MAX_LATEST_ATTEMPTS = 5;\n\n private readonly attemptTTL: number;\n\n private readonly MAX_CACHE_SIZE = 25;\n\n constructor(ttl = 900) {\n this.cache = new Map();\n this.ttl = ttl;\n this.attemptTTL = ttl - 50;\n this.latestAttempts = [];\n }\n\n private pushLatestHitAttemps(key: string): void {\n if (this.latestAttempts.length === this.MAX_LATEST_ATTEMPTS) {\n this.latestAttempts.pop();\n }\n this.latestAttempts.unshift({ key: key, ttl: Date.now() + this.attemptTTL });\n }\n\n private shouldAttempt(key: string): boolean {\n return !!this.latestAttempts.find(attempt => attempt.key === key && Date.now() < attempt.ttl);\n }\n\n private generateCacheKey(request: RequestContext): string {\n mapRequest(request as unknown as Record);\n const { url, ...rest } = request;\n return `${url}-${JSON.stringify(rest)}`;\n }\n\n public add(request: RequestContext, response: ResponseResult): void {\n if (this.size() >= this.MAX_CACHE_SIZE) {\n this.clear();\n }\n\n this.cache.set(\n this.generateCacheKey(request),\n {\n response,\n expirationTime: Date.now() + this.ttl\n }\n );\n }\n\n public async get(request: RequestContext): Promise | null> {\n const key = this.generateCacheKey(request);\n\n const shouldAttempt = this.shouldAttempt(key);\n this.pushLatestHitAttemps(key);\n\n let cacheItem: CacheValue | undefined = this.cache.get(key);\n\n // it's a retry mechanism to handle consecutive hit attempts\n // to decrase the posiblity of worst case scenarios, a lookup table is used\n // and early exists are implemented\n if (!cacheItem && shouldAttempt) {\n cacheItem = await retry(() => new Promise((resolve, reject) => {\n const item = this.cache.get(key);\n\n if (item) {\n if (this.isValueValid(item)) resolve(item);\n else {\n this.cache.delete(key);\n resolve(undefined);\n }\n }\n\n reject();\n }), 40, 50);\n }\n\n if (cacheItem && this.isValueValid(cacheItem)) {\n return cacheItem.response;\n }\n\n this.cache.delete(key);\n return null;\n }\n\n public remove(request: RequestContext): void {\n this.cache.delete(this.generateCacheKey(request));\n }\n\n public clear(): void {\n this.cache.clear();\n }\n\n public size(): number {\n return this.cache.size;\n }\n\n private isValueValid(cacheItem: CacheValue | undefined): boolean {\n if (!cacheItem) return false;\n return Date.now() < cacheItem.expirationTime;\n }\n}\n","import {\n Config, Methods, RequestArgs, RequestParameters\n} from '../layer/types';\n\nexport const argumentParser = (method: Methods, args: RequestArgs): RequestParameters => {\n switch (true) {\n case args.length === 1: {\n const [url] = args;\n return { url, config: {} };\n }\n case args.length === 2 && ['get', 'delete'].includes(method): {\n const [url, config] = args;\n return { url, config: config as Config };\n }\n\n case args.length === 2 && ['put', 'post'].includes(method): {\n const [url, data] = args;\n return { url, data, config: {} };\n }\n\n case args.length === 3: {\n const [url, data, config] = args;\n if (config) return { url, data, config };\n return { url, data, config: {} };\n }\n\n default:\n return { url: '' };\n }\n};\n","// type InterceptorKeys = keyof DefaultInterceptorsConfig;\n// type InterceptorValues = DefaultInterceptorsConfig[InterceptorKeys];\n\nimport { CustomConfig, DefaultInterceptorsConfig } from '../layer/types';\n\nexport const constructInterceptorConfig = (\n config: CustomConfig,\n interceptorConfig: DefaultInterceptorsConfig | undefined\n): DefaultInterceptorsConfig => {\n return { ...interceptorConfig, ...config };\n\n // later if we want to strict the usage of configs\n // we can only override the settings which are defined on request-layer\n // it can be used instead\n\n // return (Object.entries(interceptorConfig) as [InterceptorKeys, InterceptorValues][])\n // .reduce((newConfig, props) => {\n // const [key, value] = props;\n // return { ...newConfig, [key]: config[key] ?? value };\n // }, {} as DefaultInterceptorsConfig);\n};\n","import { Interceptor } from '../types';\n\nexport class InterceptorHandler {\n interceptors: Interceptor[];\n\n constructor(interceptors: InterceptorHandler['interceptors']) {\n this.interceptors = interceptors;\n }\n\n run(ctx: T): void {\n this.interceptors.forEach(interceptor => {\n interceptor(ctx);\n });\n }\n}\n","import { InterceptorHandler } from '..';\nimport {\n RequestContext,\n RequestInterceptor, ResponseContext, ResponseInterceptor\n} from '../../types';\n\nconst createDefaultInterceptors = (\n reqInterceptors: RequestInterceptor[],\n resInterceptors: ResponseInterceptor[],\n resFailedInterceptors: ResponseInterceptor[]\n): {preRequest: InterceptorHandler, postRequest: InterceptorHandler, postFailedRequest: InterceptorHandler} => ({\n preRequest: new InterceptorHandler(reqInterceptors),\n postRequest: new InterceptorHandler(resInterceptors),\n postFailedRequest: new InterceptorHandler(resFailedInterceptors)\n});\n\nexport { createDefaultInterceptors };\n","// If the value is not a string or a Blob, append() will convert it to a string automatically\n// Therefore using \"any\" as type, should be safe\n\nimport { BaseResponse, ResponseContext } from '../../types';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function objToFormData(obj: Record, prefix?: string, formData?: FormData): FormData {\n // eslint-disable-next-line no-param-reassign\n formData = formData ?? new FormData();\n\n if (obj) {\n Object.keys(obj).forEach(key => {\n const keyName = prefix ? `${prefix}[${key}]` : key;\n\n if (typeof obj[key] !== 'object') {\n formData?.append(keyName, obj[key]);\n } else {\n objToFormData(obj[key], keyName, formData);\n }\n });\n }\n\n return formData;\n}\n\nexport const isCrossOrigin = (url?: string): boolean => {\n const { location: { origin } } = window || {};\n if (url?.startsWith('http') && !url.includes(origin)) {\n return true;\n }\n return false;\n};\n\nexport const axiosNormalizer = (ctx: ResponseContext): void => {\n if (ctx.interceptorConfig?.disableResponseNormalizer) {\n return;\n }\n if ('data' in ctx.resp) {\n ctx.result = ctx.resp.data;\n }\n\n const resp = ctx.result as BaseResponse;\n\n if (resp && typeof resp.responseCode === 'number'\n && (resp.responseCode < 200 || resp.responseCode > 299)) {\n ctx.result = Promise.reject(resp);\n return;\n }\n\n if (resp && resp.content) {\n ctx.result = resp.content;\n }\n};\n\nexport const engineResponseNormalizer = (ctx: ResponseContext): void => {\n switch (ctx.engineName) {\n default:\n axiosNormalizer(ctx);\n }\n};\n","import { isSalesforceEnv, handleCustomNavigation } from '@jotforminc/utils';\nimport { RequestInterceptor, ResponseInterceptor } from '../../../types';\n\nexport const salesforceAuthFailed: ResponseInterceptor = ctx => {\n if (`${ctx?.resp?.config?.baseURL}/${ctx?.resp?.config?.url}`.startsWith('/API/salesforce/')) {\n if (ctx?.resp?.data?.responseCode === 400 && ctx?.resp?.data?.message === 'Please reauthenticate your account.') {\n handleCustomNavigation(`/platform/salesforce/platform-pages/reauth?rp=${window.location}`, '_self', true);\n }\n }\n};\n\nconst salesforceRequestInterceptors: RequestInterceptor[] = [];\nconst salesforceResponseSuccessInterceptors: ResponseInterceptor[] = [];\nconst salesforceResponseFailedInterceptors: ResponseInterceptor[] = [];\n\nlet isSalesforcePlatform = false;\ntry {\n isSalesforcePlatform = isSalesforceEnv();\n} catch (e) {\n console.log('Error :: salesforceInterceptors -> ', e);\n isSalesforcePlatform = false;\n}\nif (isSalesforcePlatform) {\n salesforceResponseFailedInterceptors.push(salesforceAuthFailed);\n}\n\nexport {\n salesforceRequestInterceptors,\n salesforceResponseSuccessInterceptors,\n salesforceResponseFailedInterceptors\n};\n","import {\n RequestInterceptor, ResponseInterceptor\n} from '../../types';\nimport { engineResponseNormalizer, isCrossOrigin, objToFormData } from './utils';\nimport { salesforceResponseFailedInterceptors } from './platform/salesforceInterceptors';\n\nexport const requestUrlInterceptor: RequestInterceptor = ctx => {\n const { url, config } = ctx;\n\n // ignore base url if req starts with different origin\n // or it starts with a protocol\n if (url.startsWith('/') || url.startsWith('https://') || url.startsWith('http://')) {\n config.baseURL = '';\n }\n // attach apiKey header if it exists\n const apiKey = ctx.interceptorConfig?.apiKey;\n if (apiKey) {\n ctx.config.headers = {\n apiKey,\n ...ctx.config.headers\n };\n }\n\n if (config.method === 'get' && ctx.data) {\n ctx.config.params = { ...(ctx.config.params as Record), ...(ctx.data as Record) };\n ctx.data = null;\n }\n};\n\n// xml requests are heavily used in form-builder\n// this interceptor does the job of reqwest library\nexport const requestXMLInterceptor: RequestInterceptor = ctx => {\n if (ctx.interceptorConfig?.isFormData) {\n ctx.config.headers = {\n Accept: '*/*',\n ...ctx.config.headers\n };\n\n if (ctx.data) {\n ctx.data = objToFormData(ctx.data as Record>);\n }\n }\n};\n\nexport const requestNormalizer: RequestInterceptor = ctx => {\n const { config } = ctx;\n if (ctx.interceptorConfig?.teamID) {\n if (isCrossOrigin(ctx.url) || config.disableTeamIDHeader) {\n return;\n }\n\n config.headers = { 'jf-team-id': ctx.interceptorConfig.teamID, ...config.headers };\n }\n};\n\nexport const responseNormalizer: ResponseInterceptor = ctx => {\n engineResponseNormalizer(ctx);\n};\n\nexport const requestInterceptors = [requestUrlInterceptor, requestXMLInterceptor, requestNormalizer];\nexport const responseInterceptors = [responseNormalizer];\n\nexport const defaultRequestInterceptors = [];\nexport const defaultResponseSuccessInterceptors = [];\nexport const defaultResponseFailedInterceptors = [...salesforceResponseFailedInterceptors];\n","import { createDefaultInterceptors } from '../layer/interceptors/defaultInterceptors';\nimport {\n requestInterceptors,\n responseInterceptors,\n defaultRequestInterceptors,\n defaultResponseSuccessInterceptors,\n defaultResponseFailedInterceptors\n} from '../layer/interceptors/defaultInterceptors/defaultInterceptors';\nimport { Interceptors } from '../layer/interceptors/types';\nimport {\n DefaultInterceptorsConfig\n} from '../layer/types';\n\nexport const setInterceptors = (config: DefaultInterceptorsConfig | undefined)\n: Interceptors | undefined => {\n if (config?.disableInterceptors) return undefined;\n\n let preRequestInterceptors = config?.customRequestInterceptors ?? requestInterceptors;\n let postRequestInterceptors = config?.customResponseInterceptors ?? responseInterceptors;\n const postRequestFailedInterceptors = [];\n\n if (config?.disableRequestInterceptors) {\n preRequestInterceptors = [];\n }\n\n if (config?.disableResponseInterceptors) {\n postRequestInterceptors = [];\n }\n\n if (!config?.disableDefaultInterceptors) {\n preRequestInterceptors.push(...defaultRequestInterceptors);\n postRequestInterceptors.push(...defaultResponseSuccessInterceptors);\n postRequestFailedInterceptors.push(...defaultResponseFailedInterceptors);\n }\n\n return createDefaultInterceptors(preRequestInterceptors, postRequestInterceptors, postRequestFailedInterceptors);\n};\n","'use strict';\n\nexport default function bind(fn, thisArg) {\n return function wrap() {\n return fn.apply(thisArg, arguments);\n };\n}\n","'use strict';\n\nimport utils from '../utils.js';\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [config] The config.\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n *\n * @returns {Error} The created error.\n */\nfunction AxiosError(message, code, config, request, response) {\n Error.call(this);\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n } else {\n this.stack = (new Error()).stack;\n }\n\n this.message = message;\n this.name = 'AxiosError';\n code && (this.code = code);\n config && (this.config = config);\n request && (this.request = request);\n response && (this.response = response);\n}\n\nutils.inherits(AxiosError, Error, {\n toJSON: function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: utils.toJSONObject(this.config),\n code: this.code,\n status: this.response && this.response.status ? this.response.status : null\n };\n }\n});\n\nconst prototype = AxiosError.prototype;\nconst descriptors = {};\n\n[\n 'ERR_BAD_OPTION_VALUE',\n 'ERR_BAD_OPTION',\n 'ECONNABORTED',\n 'ETIMEDOUT',\n 'ERR_NETWORK',\n 'ERR_FR_TOO_MANY_REDIRECTS',\n 'ERR_DEPRECATED',\n 'ERR_BAD_RESPONSE',\n 'ERR_BAD_REQUEST',\n 'ERR_CANCELED',\n 'ERR_NOT_SUPPORT',\n 'ERR_INVALID_URL'\n// eslint-disable-next-line func-names\n].forEach(code => {\n descriptors[code] = {value: code};\n});\n\nObject.defineProperties(AxiosError, descriptors);\nObject.defineProperty(prototype, 'isAxiosError', {value: true});\n\n// eslint-disable-next-line func-names\nAxiosError.from = (error, code, config, request, response, customProps) => {\n const axiosError = Object.create(prototype);\n\n utils.toFlatObject(error, axiosError, function filter(obj) {\n return obj !== Error.prototype;\n }, prop => {\n return prop !== 'isAxiosError';\n });\n\n AxiosError.call(axiosError, error.message, code, config, request, response);\n\n axiosError.cause = error;\n\n axiosError.name = error.name;\n\n customProps && Object.assign(axiosError, customProps);\n\n return axiosError;\n};\n\nexport default AxiosError;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\n// temporary hotfix to avoid circular references until AxiosURLSearchParams is refactored\nimport PlatformFormData from '../platform/node/classes/FormData.js';\n\n/**\n * Determines if the given thing is a array or js object.\n *\n * @param {string} thing - The object or array to be visited.\n *\n * @returns {boolean}\n */\nfunction isVisitable(thing) {\n return utils.isPlainObject(thing) || utils.isArray(thing);\n}\n\n/**\n * It removes the brackets from the end of a string\n *\n * @param {string} key - The key of the parameter.\n *\n * @returns {string} the key without the brackets.\n */\nfunction removeBrackets(key) {\n return utils.endsWith(key, '[]') ? key.slice(0, -2) : key;\n}\n\n/**\n * It takes a path, a key, and a boolean, and returns a string\n *\n * @param {string} path - The path to the current key.\n * @param {string} key - The key of the current object being iterated over.\n * @param {string} dots - If true, the key will be rendered with dots instead of brackets.\n *\n * @returns {string} The path to the current key.\n */\nfunction renderKey(path, key, dots) {\n if (!path) return key;\n return path.concat(key).map(function each(token, i) {\n // eslint-disable-next-line no-param-reassign\n token = removeBrackets(token);\n return !dots && i ? '[' + token + ']' : token;\n }).join(dots ? '.' : '');\n}\n\n/**\n * If the array is an array and none of its elements are visitable, then it's a flat array.\n *\n * @param {Array} arr - The array to check\n *\n * @returns {boolean}\n */\nfunction isFlatArray(arr) {\n return utils.isArray(arr) && !arr.some(isVisitable);\n}\n\nconst predicates = utils.toFlatObject(utils, {}, null, function filter(prop) {\n return /^is[A-Z]/.test(prop);\n});\n\n/**\n * Convert a data object to FormData\n *\n * @param {Object} obj\n * @param {?Object} [formData]\n * @param {?Object} [options]\n * @param {Function} [options.visitor]\n * @param {Boolean} [options.metaTokens = true]\n * @param {Boolean} [options.dots = false]\n * @param {?Boolean} [options.indexes = false]\n *\n * @returns {Object}\n **/\n\n/**\n * It converts an object into a FormData object\n *\n * @param {Object} obj - The object to convert to form data.\n * @param {string} formData - The FormData object to append to.\n * @param {Object} options\n *\n * @returns\n */\nfunction toFormData(obj, formData, options) {\n if (!utils.isObject(obj)) {\n throw new TypeError('target must be an object');\n }\n\n // eslint-disable-next-line no-param-reassign\n formData = formData || new (PlatformFormData || FormData)();\n\n // eslint-disable-next-line no-param-reassign\n options = utils.toFlatObject(options, {\n metaTokens: true,\n dots: false,\n indexes: false\n }, false, function defined(option, source) {\n // eslint-disable-next-line no-eq-null,eqeqeq\n return !utils.isUndefined(source[option]);\n });\n\n const metaTokens = options.metaTokens;\n // eslint-disable-next-line no-use-before-define\n const visitor = options.visitor || defaultVisitor;\n const dots = options.dots;\n const indexes = options.indexes;\n const _Blob = options.Blob || typeof Blob !== 'undefined' && Blob;\n const useBlob = _Blob && utils.isSpecCompliantForm(formData);\n\n if (!utils.isFunction(visitor)) {\n throw new TypeError('visitor must be a function');\n }\n\n function convertValue(value) {\n if (value === null) return '';\n\n if (utils.isDate(value)) {\n return value.toISOString();\n }\n\n if (!useBlob && utils.isBlob(value)) {\n throw new AxiosError('Blob is not supported. Use a Buffer instead.');\n }\n\n if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) {\n return useBlob && typeof Blob === 'function' ? new Blob([value]) : Buffer.from(value);\n }\n\n return value;\n }\n\n /**\n * Default visitor.\n *\n * @param {*} value\n * @param {String|Number} key\n * @param {Array} path\n * @this {FormData}\n *\n * @returns {boolean} return true to visit the each prop of the value recursively\n */\n function defaultVisitor(value, key, path) {\n let arr = value;\n\n if (value && !path && typeof value === 'object') {\n if (utils.endsWith(key, '{}')) {\n // eslint-disable-next-line no-param-reassign\n key = metaTokens ? key : key.slice(0, -2);\n // eslint-disable-next-line no-param-reassign\n value = JSON.stringify(value);\n } else if (\n (utils.isArray(value) && isFlatArray(value)) ||\n ((utils.isFileList(value) || utils.endsWith(key, '[]')) && (arr = utils.toArray(value))\n )) {\n // eslint-disable-next-line no-param-reassign\n key = removeBrackets(key);\n\n arr.forEach(function each(el, index) {\n !(utils.isUndefined(el) || el === null) && formData.append(\n // eslint-disable-next-line no-nested-ternary\n indexes === true ? renderKey([key], index, dots) : (indexes === null ? key : key + '[]'),\n convertValue(el)\n );\n });\n return false;\n }\n }\n\n if (isVisitable(value)) {\n return true;\n }\n\n formData.append(renderKey(path, key, dots), convertValue(value));\n\n return false;\n }\n\n const stack = [];\n\n const exposedHelpers = Object.assign(predicates, {\n defaultVisitor,\n convertValue,\n isVisitable\n });\n\n function build(value, path) {\n if (utils.isUndefined(value)) return;\n\n if (stack.indexOf(value) !== -1) {\n throw Error('Circular reference detected in ' + path.join('.'));\n }\n\n stack.push(value);\n\n utils.forEach(value, function each(el, key) {\n const result = !(utils.isUndefined(el) || el === null) && visitor.call(\n formData, el, utils.isString(key) ? key.trim() : key, path, exposedHelpers\n );\n\n if (result === true) {\n build(el, path ? path.concat(key) : [key]);\n }\n });\n\n stack.pop();\n }\n\n if (!utils.isObject(obj)) {\n throw new TypeError('data must be an object');\n }\n\n build(obj);\n\n return formData;\n}\n\nexport default toFormData;\n","'use strict';\n\nimport toFormData from './toFormData.js';\n\n/**\n * It encodes a string by replacing all characters that are not in the unreserved set with\n * their percent-encoded equivalents\n *\n * @param {string} str - The string to encode.\n *\n * @returns {string} The encoded string.\n */\nfunction encode(str) {\n const charMap = {\n '!': '%21',\n \"'\": '%27',\n '(': '%28',\n ')': '%29',\n '~': '%7E',\n '%20': '+',\n '%00': '\\x00'\n };\n return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function replacer(match) {\n return charMap[match];\n });\n}\n\n/**\n * It takes a params object and converts it to a FormData object\n *\n * @param {Object} params - The parameters to be converted to a FormData object.\n * @param {Object} options - The options object passed to the Axios constructor.\n *\n * @returns {void}\n */\nfunction AxiosURLSearchParams(params, options) {\n this._pairs = [];\n\n params && toFormData(params, this, options);\n}\n\nconst prototype = AxiosURLSearchParams.prototype;\n\nprototype.append = function append(name, value) {\n this._pairs.push([name, value]);\n};\n\nprototype.toString = function toString(encoder) {\n const _encode = encoder ? function(value) {\n return encoder.call(this, value, encode);\n } : encode;\n\n return this._pairs.map(function each(pair) {\n return _encode(pair[0]) + '=' + _encode(pair[1]);\n }, '').join('&');\n};\n\nexport default AxiosURLSearchParams;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosURLSearchParams from '../helpers/AxiosURLSearchParams.js';\n\n/**\n * It replaces all instances of the characters `:`, `$`, `,`, `+`, `[`, and `]` with their\n * URI encoded counterparts\n *\n * @param {string} val The value to be encoded.\n *\n * @returns {string} The encoded value.\n */\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @param {?object} options\n *\n * @returns {string} The formatted url\n */\nexport default function buildURL(url, params, options) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n \n const _encode = options && options.encode || encode;\n\n const serializeFn = options && options.serialize;\n\n let serializedParams;\n\n if (serializeFn) {\n serializedParams = serializeFn(params, options);\n } else {\n serializedParams = utils.isURLSearchParams(params) ?\n params.toString() :\n new AxiosURLSearchParams(params, options).toString(_encode);\n }\n\n if (serializedParams) {\n const hashmarkIndex = url.indexOf(\"#\");\n\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n}\n","'use strict';\n\nimport utils from './../utils.js';\n\nclass InterceptorManager {\n constructor() {\n this.handlers = [];\n }\n\n /**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\n use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled,\n rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n }\n\n /**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n *\n * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise\n */\n eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n }\n\n /**\n * Clear all interceptors from the stack\n *\n * @returns {void}\n */\n clear() {\n if (this.handlers) {\n this.handlers = [];\n }\n }\n\n /**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n *\n * @returns {void}\n */\n forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n }\n}\n\nexport default InterceptorManager;\n","'use strict';\n\nexport default {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n};\n","'use strict';\n\nimport AxiosURLSearchParams from '../../../helpers/AxiosURLSearchParams.js';\nexport default typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams;\n","'use strict';\n\nexport default typeof FormData !== 'undefined' ? FormData : null;\n","'use strict'\n\nexport default typeof Blob !== 'undefined' ? Blob : null\n","import platform from './node/index.js';\nimport * as utils from './common/utils.js';\n\nexport default {\n ...utils,\n ...platform\n}\n","import URLSearchParams from './classes/URLSearchParams.js'\nimport FormData from './classes/FormData.js'\nimport Blob from './classes/Blob.js'\n\nexport default {\n isBrowser: true,\n classes: {\n URLSearchParams,\n FormData,\n Blob\n },\n protocols: ['http', 'https', 'file', 'blob', 'url', 'data']\n};\n","'use strict';\n\nimport utils from '../utils.js';\n\n/**\n * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z']\n *\n * @param {string} name - The name of the property to get.\n *\n * @returns An array of strings.\n */\nfunction parsePropPath(name) {\n // foo[x][y][z]\n // foo.x.y.z\n // foo-x-y-z\n // foo x y z\n return utils.matchAll(/\\w+|\\[(\\w*)]/g, name).map(match => {\n return match[0] === '[]' ? '' : match[1] || match[0];\n });\n}\n\n/**\n * Convert an array to an object.\n *\n * @param {Array} arr - The array to convert to an object.\n *\n * @returns An object with the same keys and values as the array.\n */\nfunction arrayToObject(arr) {\n const obj = {};\n const keys = Object.keys(arr);\n let i;\n const len = keys.length;\n let key;\n for (i = 0; i < len; i++) {\n key = keys[i];\n obj[key] = arr[key];\n }\n return obj;\n}\n\n/**\n * It takes a FormData object and returns a JavaScript object\n *\n * @param {string} formData The FormData object to convert to JSON.\n *\n * @returns {Object | null} The converted object.\n */\nfunction formDataToJSON(formData) {\n function buildPath(path, value, target, index) {\n let name = path[index++];\n\n if (name === '__proto__') return true;\n\n const isNumericKey = Number.isFinite(+name);\n const isLast = index >= path.length;\n name = !name && utils.isArray(target) ? target.length : name;\n\n if (isLast) {\n if (utils.hasOwnProp(target, name)) {\n target[name] = [target[name], value];\n } else {\n target[name] = value;\n }\n\n return !isNumericKey;\n }\n\n if (!target[name] || !utils.isObject(target[name])) {\n target[name] = [];\n }\n\n const result = buildPath(path, value, target[name], index);\n\n if (result && utils.isArray(target[name])) {\n target[name] = arrayToObject(target[name]);\n }\n\n return !isNumericKey;\n }\n\n if (utils.isFormData(formData) && utils.isFunction(formData.entries)) {\n const obj = {};\n\n utils.forEachEntry(formData, (name, value) => {\n buildPath(parsePropPath(name), value, obj, 0);\n });\n\n return obj;\n }\n\n return null;\n}\n\nexport default formDataToJSON;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport transitionalDefaults from './transitional.js';\nimport toFormData from '../helpers/toFormData.js';\nimport toURLEncodedForm from '../helpers/toURLEncodedForm.js';\nimport platform from '../platform/index.js';\nimport formDataToJSON from '../helpers/formDataToJSON.js';\n\n/**\n * It takes a string, tries to parse it, and if it fails, it returns the stringified version\n * of the input\n *\n * @param {any} rawValue - The value to be stringified.\n * @param {Function} parser - A function that parses a string into a JavaScript object.\n * @param {Function} encoder - A function that takes a value and returns a string.\n *\n * @returns {string} A stringified version of the rawValue.\n */\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nconst defaults = {\n\n transitional: transitionalDefaults,\n\n adapter: ['xhr', 'http', 'fetch'],\n\n transformRequest: [function transformRequest(data, headers) {\n const contentType = headers.getContentType() || '';\n const hasJSONContentType = contentType.indexOf('application/json') > -1;\n const isObjectPayload = utils.isObject(data);\n\n if (isObjectPayload && utils.isHTMLForm(data)) {\n data = new FormData(data);\n }\n\n const isFormData = utils.isFormData(data);\n\n if (isFormData) {\n return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;\n }\n\n if (utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data) ||\n utils.isReadableStream(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);\n return data.toString();\n }\n\n let isFileList;\n\n if (isObjectPayload) {\n if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {\n return toURLEncodedForm(data, this.formSerializer).toString();\n }\n\n if ((isFileList = utils.isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) {\n const _FormData = this.env && this.env.FormData;\n\n return toFormData(\n isFileList ? {'files[]': data} : data,\n _FormData && new _FormData(),\n this.formSerializer\n );\n }\n }\n\n if (isObjectPayload || hasJSONContentType ) {\n headers.setContentType('application/json', false);\n return stringifySafely(data);\n }\n\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n const transitional = this.transitional || defaults.transitional;\n const forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n const JSONRequested = this.responseType === 'json';\n\n if (utils.isResponse(data) || utils.isReadableStream(data)) {\n return data;\n }\n\n if (data && utils.isString(data) && ((forcedJSONParsing && !this.responseType) || JSONRequested)) {\n const silentJSONParsing = transitional && transitional.silentJSONParsing;\n const strictJSONParsing = !silentJSONParsing && JSONRequested;\n\n try {\n return JSON.parse(data);\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);\n }\n throw e;\n }\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n env: {\n FormData: platform.classes.FormData,\n Blob: platform.classes.Blob\n },\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n\n headers: {\n common: {\n 'Accept': 'application/json, text/plain, */*',\n 'Content-Type': undefined\n }\n }\n};\n\nutils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], (method) => {\n defaults.headers[method] = {};\n});\n\nexport default defaults;\n","'use strict';\n\nimport utils from '../utils.js';\nimport toFormData from './toFormData.js';\nimport platform from '../platform/index.js';\n\nexport default function toURLEncodedForm(data, options) {\n return toFormData(data, new platform.classes.URLSearchParams(), Object.assign({\n visitor: function(value, key, path, helpers) {\n if (platform.isNode && utils.isBuffer(value)) {\n this.append(key, value.toString('base64'));\n return false;\n }\n\n return helpers.defaultVisitor.apply(this, arguments);\n }\n }, options));\n}\n","'use strict';\n\nimport utils from './../utils.js';\n\n// RawAxiosHeaders whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nconst ignoreDuplicateOf = utils.toObjectSet([\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n]);\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} rawHeaders Headers needing to be parsed\n *\n * @returns {Object} Headers parsed into an object\n */\nexport default rawHeaders => {\n const parsed = {};\n let key;\n let val;\n let i;\n\n rawHeaders && rawHeaders.split('\\n').forEach(function parser(line) {\n i = line.indexOf(':');\n key = line.substring(0, i).trim().toLowerCase();\n val = line.substring(i + 1).trim();\n\n if (!key || (parsed[key] && ignoreDuplicateOf[key])) {\n return;\n }\n\n if (key === 'set-cookie') {\n if (parsed[key]) {\n parsed[key].push(val);\n } else {\n parsed[key] = [val];\n }\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n });\n\n return parsed;\n};\n","'use strict';\n\nimport utils from '../utils.js';\nimport parseHeaders from '../helpers/parseHeaders.js';\n\nconst $internals = Symbol('internals');\n\nfunction normalizeHeader(header) {\n return header && String(header).trim().toLowerCase();\n}\n\nfunction normalizeValue(value) {\n if (value === false || value == null) {\n return value;\n }\n\n return utils.isArray(value) ? value.map(normalizeValue) : String(value);\n}\n\nfunction parseTokens(str) {\n const tokens = Object.create(null);\n const tokensRE = /([^\\s,;=]+)\\s*(?:=\\s*([^,;]+))?/g;\n let match;\n\n while ((match = tokensRE.exec(str))) {\n tokens[match[1]] = match[2];\n }\n\n return tokens;\n}\n\nconst isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());\n\nfunction matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {\n if (utils.isFunction(filter)) {\n return filter.call(this, value, header);\n }\n\n if (isHeaderNameFilter) {\n value = header;\n }\n\n if (!utils.isString(value)) return;\n\n if (utils.isString(filter)) {\n return value.indexOf(filter) !== -1;\n }\n\n if (utils.isRegExp(filter)) {\n return filter.test(value);\n }\n}\n\nfunction formatHeader(header) {\n return header.trim()\n .toLowerCase().replace(/([a-z\\d])(\\w*)/g, (w, char, str) => {\n return char.toUpperCase() + str;\n });\n}\n\nfunction buildAccessors(obj, header) {\n const accessorName = utils.toCamelCase(' ' + header);\n\n ['get', 'set', 'has'].forEach(methodName => {\n Object.defineProperty(obj, methodName + accessorName, {\n value: function(arg1, arg2, arg3) {\n return this[methodName].call(this, header, arg1, arg2, arg3);\n },\n configurable: true\n });\n });\n}\n\nclass AxiosHeaders {\n constructor(headers) {\n headers && this.set(headers);\n }\n\n set(header, valueOrRewrite, rewrite) {\n const self = this;\n\n function setHeader(_value, _header, _rewrite) {\n const lHeader = normalizeHeader(_header);\n\n if (!lHeader) {\n throw new Error('header name must be a non-empty string');\n }\n\n const key = utils.findKey(self, lHeader);\n\n if(!key || self[key] === undefined || _rewrite === true || (_rewrite === undefined && self[key] !== false)) {\n self[key || _header] = normalizeValue(_value);\n }\n }\n\n const setHeaders = (headers, _rewrite) =>\n utils.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));\n\n if (utils.isPlainObject(header) || header instanceof this.constructor) {\n setHeaders(header, valueOrRewrite)\n } else if(utils.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {\n setHeaders(parseHeaders(header), valueOrRewrite);\n } else if (utils.isHeaders(header)) {\n for (const [key, value] of header.entries()) {\n setHeader(value, key, rewrite);\n }\n } else {\n header != null && setHeader(valueOrRewrite, header, rewrite);\n }\n\n return this;\n }\n\n get(header, parser) {\n header = normalizeHeader(header);\n\n if (header) {\n const key = utils.findKey(this, header);\n\n if (key) {\n const value = this[key];\n\n if (!parser) {\n return value;\n }\n\n if (parser === true) {\n return parseTokens(value);\n }\n\n if (utils.isFunction(parser)) {\n return parser.call(this, value, key);\n }\n\n if (utils.isRegExp(parser)) {\n return parser.exec(value);\n }\n\n throw new TypeError('parser must be boolean|regexp|function');\n }\n }\n }\n\n has(header, matcher) {\n header = normalizeHeader(header);\n\n if (header) {\n const key = utils.findKey(this, header);\n\n return !!(key && this[key] !== undefined && (!matcher || matchHeaderValue(this, this[key], key, matcher)));\n }\n\n return false;\n }\n\n delete(header, matcher) {\n const self = this;\n let deleted = false;\n\n function deleteHeader(_header) {\n _header = normalizeHeader(_header);\n\n if (_header) {\n const key = utils.findKey(self, _header);\n\n if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) {\n delete self[key];\n\n deleted = true;\n }\n }\n }\n\n if (utils.isArray(header)) {\n header.forEach(deleteHeader);\n } else {\n deleteHeader(header);\n }\n\n return deleted;\n }\n\n clear(matcher) {\n const keys = Object.keys(this);\n let i = keys.length;\n let deleted = false;\n\n while (i--) {\n const key = keys[i];\n if(!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {\n delete this[key];\n deleted = true;\n }\n }\n\n return deleted;\n }\n\n normalize(format) {\n const self = this;\n const headers = {};\n\n utils.forEach(this, (value, header) => {\n const key = utils.findKey(headers, header);\n\n if (key) {\n self[key] = normalizeValue(value);\n delete self[header];\n return;\n }\n\n const normalized = format ? formatHeader(header) : String(header).trim();\n\n if (normalized !== header) {\n delete self[header];\n }\n\n self[normalized] = normalizeValue(value);\n\n headers[normalized] = true;\n });\n\n return this;\n }\n\n concat(...targets) {\n return this.constructor.concat(this, ...targets);\n }\n\n toJSON(asStrings) {\n const obj = Object.create(null);\n\n utils.forEach(this, (value, header) => {\n value != null && value !== false && (obj[header] = asStrings && utils.isArray(value) ? value.join(', ') : value);\n });\n\n return obj;\n }\n\n [Symbol.iterator]() {\n return Object.entries(this.toJSON())[Symbol.iterator]();\n }\n\n toString() {\n return Object.entries(this.toJSON()).map(([header, value]) => header + ': ' + value).join('\\n');\n }\n\n get [Symbol.toStringTag]() {\n return 'AxiosHeaders';\n }\n\n static from(thing) {\n return thing instanceof this ? thing : new this(thing);\n }\n\n static concat(first, ...targets) {\n const computed = new this(first);\n\n targets.forEach((target) => computed.set(target));\n\n return computed;\n }\n\n static accessor(header) {\n const internals = this[$internals] = (this[$internals] = {\n accessors: {}\n });\n\n const accessors = internals.accessors;\n const prototype = this.prototype;\n\n function defineAccessor(_header) {\n const lHeader = normalizeHeader(_header);\n\n if (!accessors[lHeader]) {\n buildAccessors(prototype, _header);\n accessors[lHeader] = true;\n }\n }\n\n utils.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header);\n\n return this;\n }\n}\n\nAxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);\n\n// reserved names hotfix\nutils.reduceDescriptors(AxiosHeaders.prototype, ({value}, key) => {\n let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`\n return {\n get: () => value,\n set(headerValue) {\n this[mapped] = headerValue;\n }\n }\n});\n\nutils.freezeMethods(AxiosHeaders);\n\nexport default AxiosHeaders;\n","'use strict';\n\nimport utils from './../utils.js';\nimport defaults from '../defaults/index.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Array|Function} fns A single function or Array of functions\n * @param {?Object} response The response object\n *\n * @returns {*} The resulting transformed data\n */\nexport default function transformData(fns, response) {\n const config = this || defaults;\n const context = response || config;\n const headers = AxiosHeaders.from(context.headers);\n let data = context.data;\n\n utils.forEach(fns, function transform(fn) {\n data = fn.call(config, data, headers.normalize(), response ? response.status : undefined);\n });\n\n headers.normalize();\n\n return data;\n}\n","'use strict';\n\nexport default function isCancel(value) {\n return !!(value && value.__CANCEL__);\n}\n","'use strict';\n\nimport AxiosError from '../core/AxiosError.js';\nimport utils from '../utils.js';\n\n/**\n * A `CanceledError` is an object that is thrown when an operation is canceled.\n *\n * @param {string=} message The message.\n * @param {Object=} config The config.\n * @param {Object=} request The request.\n *\n * @returns {CanceledError} The created error.\n */\nfunction CanceledError(message, config, request) {\n // eslint-disable-next-line no-eq-null,eqeqeq\n AxiosError.call(this, message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);\n this.name = 'CanceledError';\n}\n\nutils.inherits(CanceledError, AxiosError, {\n __CANCEL__: true\n});\n\nexport default CanceledError;\n","'use strict';\n\nimport AxiosError from './AxiosError.js';\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n *\n * @returns {object} The response.\n */\nexport default function settle(resolve, reject, response) {\n const validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(new AxiosError(\n 'Request failed with status code ' + response.status,\n [AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],\n response.config,\n response.request,\n response\n ));\n }\n}\n","'use strict';\n\n/**\n * Calculate data maxRate\n * @param {Number} [samplesCount= 10]\n * @param {Number} [min= 1000]\n * @returns {Function}\n */\nfunction speedometer(samplesCount, min) {\n samplesCount = samplesCount || 10;\n const bytes = new Array(samplesCount);\n const timestamps = new Array(samplesCount);\n let head = 0;\n let tail = 0;\n let firstSampleTS;\n\n min = min !== undefined ? min : 1000;\n\n return function push(chunkLength) {\n const now = Date.now();\n\n const startedAt = timestamps[tail];\n\n if (!firstSampleTS) {\n firstSampleTS = now;\n }\n\n bytes[head] = chunkLength;\n timestamps[head] = now;\n\n let i = tail;\n let bytesCount = 0;\n\n while (i !== head) {\n bytesCount += bytes[i++];\n i = i % samplesCount;\n }\n\n head = (head + 1) % samplesCount;\n\n if (head === tail) {\n tail = (tail + 1) % samplesCount;\n }\n\n if (now - firstSampleTS < min) {\n return;\n }\n\n const passed = startedAt && now - startedAt;\n\n return passed ? Math.round(bytesCount * 1000 / passed) : undefined;\n };\n}\n\nexport default speedometer;\n","'use strict';\n\n/**\n * Throttle decorator\n * @param {Function} fn\n * @param {Number} freq\n * @return {Function}\n */\nfunction throttle(fn, freq) {\n let timestamp = 0;\n const threshold = 1000 / freq;\n let timer = null;\n return function throttled() {\n const force = this === true;\n\n const now = Date.now();\n if (force || now - timestamp > threshold) {\n if (timer) {\n clearTimeout(timer);\n timer = null;\n }\n timestamp = now;\n return fn.apply(null, arguments);\n }\n if (!timer) {\n timer = setTimeout(() => {\n timer = null;\n timestamp = Date.now();\n return fn.apply(null, arguments);\n }, threshold - (now - timestamp));\n }\n };\n}\n\nexport default throttle;\n","import speedometer from \"./speedometer.js\";\nimport throttle from \"./throttle.js\";\n\nexport default (listener, isDownloadStream, freq = 3) => {\n let bytesNotified = 0;\n const _speedometer = speedometer(50, 250);\n\n return throttle(e => {\n const loaded = e.loaded;\n const total = e.lengthComputable ? e.total : undefined;\n const progressBytes = loaded - bytesNotified;\n const rate = _speedometer(progressBytes);\n const inRange = loaded <= total;\n\n bytesNotified = loaded;\n\n const data = {\n loaded,\n total,\n progress: total ? (loaded / total) : undefined,\n bytes: progressBytes,\n rate: rate ? rate : undefined,\n estimated: rate && total && inRange ? (total - loaded) / rate : undefined,\n event: e,\n lengthComputable: total != null\n };\n\n data[isDownloadStream ? 'download' : 'upload'] = true;\n\n listener(data);\n }, freq);\n}\n","'use strict';\n\nimport utils from './../utils.js';\nimport platform from '../platform/index.js';\n\nexport default platform.hasStandardBrowserEnv ?\n\n// Standard browser envs have full support of the APIs needed to test\n// whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n const msie = /(msie|trident)/i.test(navigator.userAgent);\n const urlParsingNode = document.createElement('a');\n let originURL;\n\n /**\n * Parse a URL to discover its components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n let href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n const parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })();\n","import utils from './../utils.js';\nimport platform from '../platform/index.js';\n\nexport default platform.hasStandardBrowserEnv ?\n\n // Standard browser envs support document.cookie\n {\n write(name, value, expires, path, domain, secure) {\n const cookie = [name + '=' + encodeURIComponent(value)];\n\n utils.isNumber(expires) && cookie.push('expires=' + new Date(expires).toGMTString());\n\n utils.isString(path) && cookie.push('path=' + path);\n\n utils.isString(domain) && cookie.push('domain=' + domain);\n\n secure === true && cookie.push('secure');\n\n document.cookie = cookie.join('; ');\n },\n\n read(name) {\n const match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n }\n\n :\n\n // Non-standard browser env (web workers, react-native) lack needed support.\n {\n write() {},\n read() {\n return null;\n },\n remove() {}\n };\n\n","'use strict';\n\nimport isAbsoluteURL from '../helpers/isAbsoluteURL.js';\nimport combineURLs from '../helpers/combineURLs.js';\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n *\n * @returns {string} The combined full path\n */\nexport default function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n}\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n *\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nexport default function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(url);\n}\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n *\n * @returns {string} The combined URL\n */\nexport default function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/?\\/$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n}\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosHeaders from \"./AxiosHeaders.js\";\n\nconst headersToObject = (thing) => thing instanceof AxiosHeaders ? { ...thing } : thing;\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n *\n * @returns {Object} New object resulting from merging config2 to config1\n */\nexport default function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n const config = {};\n\n function getMergedValue(target, source, caseless) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge.call({caseless}, target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDeepProperties(a, b, caseless) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(a, b, caseless);\n } else if (!utils.isUndefined(a)) {\n return getMergedValue(undefined, a, caseless);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function valueFromConfig2(a, b) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(undefined, b);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function defaultToConfig2(a, b) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(undefined, b);\n } else if (!utils.isUndefined(a)) {\n return getMergedValue(undefined, a);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDirectKeys(a, b, prop) {\n if (prop in config2) {\n return getMergedValue(a, b);\n } else if (prop in config1) {\n return getMergedValue(undefined, a);\n }\n }\n\n const mergeMap = {\n url: valueFromConfig2,\n method: valueFromConfig2,\n data: valueFromConfig2,\n baseURL: defaultToConfig2,\n transformRequest: defaultToConfig2,\n transformResponse: defaultToConfig2,\n paramsSerializer: defaultToConfig2,\n timeout: defaultToConfig2,\n timeoutMessage: defaultToConfig2,\n withCredentials: defaultToConfig2,\n withXSRFToken: defaultToConfig2,\n adapter: defaultToConfig2,\n responseType: defaultToConfig2,\n xsrfCookieName: defaultToConfig2,\n xsrfHeaderName: defaultToConfig2,\n onUploadProgress: defaultToConfig2,\n onDownloadProgress: defaultToConfig2,\n decompress: defaultToConfig2,\n maxContentLength: defaultToConfig2,\n maxBodyLength: defaultToConfig2,\n beforeRedirect: defaultToConfig2,\n transport: defaultToConfig2,\n httpAgent: defaultToConfig2,\n httpsAgent: defaultToConfig2,\n cancelToken: defaultToConfig2,\n socketPath: defaultToConfig2,\n responseEncoding: defaultToConfig2,\n validateStatus: mergeDirectKeys,\n headers: (a, b) => mergeDeepProperties(headersToObject(a), headersToObject(b), true)\n };\n\n utils.forEach(Object.keys(Object.assign({}, config1, config2)), function computeConfigValue(prop) {\n const merge = mergeMap[prop] || mergeDeepProperties;\n const configValue = merge(config1[prop], config2[prop], prop);\n (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);\n });\n\n return config;\n}\n","import platform from \"../platform/index.js\";\nimport utils from \"../utils.js\";\nimport isURLSameOrigin from \"./isURLSameOrigin.js\";\nimport cookies from \"./cookies.js\";\nimport buildFullPath from \"../core/buildFullPath.js\";\nimport mergeConfig from \"../core/mergeConfig.js\";\nimport AxiosHeaders from \"../core/AxiosHeaders.js\";\nimport buildURL from \"./buildURL.js\";\n\nexport default (config) => {\n const newConfig = mergeConfig({}, config);\n\n let {data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth} = newConfig;\n\n newConfig.headers = headers = AxiosHeaders.from(headers);\n\n newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url), config.params, config.paramsSerializer);\n\n // HTTP basic authentication\n if (auth) {\n headers.set('Authorization', 'Basic ' +\n btoa((auth.username || '') + ':' + (auth.password ? unescape(encodeURIComponent(auth.password)) : ''))\n );\n }\n\n let contentType;\n\n if (utils.isFormData(data)) {\n if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv) {\n headers.setContentType(undefined); // Let the browser set it\n } else if ((contentType = headers.getContentType()) !== false) {\n // fix semicolon duplication issue for ReactNative FormData implementation\n const [type, ...tokens] = contentType ? contentType.split(';').map(token => token.trim()).filter(Boolean) : [];\n headers.setContentType([type || 'multipart/form-data', ...tokens].join('; '));\n }\n }\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n\n if (platform.hasStandardBrowserEnv) {\n withXSRFToken && utils.isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(newConfig));\n\n if (withXSRFToken || (withXSRFToken !== false && isURLSameOrigin(newConfig.url))) {\n // Add xsrf header\n const xsrfValue = xsrfHeaderName && xsrfCookieName && cookies.read(xsrfCookieName);\n\n if (xsrfValue) {\n headers.set(xsrfHeaderName, xsrfValue);\n }\n }\n }\n\n return newConfig;\n}\n\n","import utils from './../utils.js';\nimport settle from './../core/settle.js';\nimport transitionalDefaults from '../defaults/transitional.js';\nimport AxiosError from '../core/AxiosError.js';\nimport CanceledError from '../cancel/CanceledError.js';\nimport parseProtocol from '../helpers/parseProtocol.js';\nimport platform from '../platform/index.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport progressEventReducer from '../helpers/progressEventReducer.js';\nimport resolveConfig from \"../helpers/resolveConfig.js\";\n\nconst isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';\n\nexport default isXHRAdapterSupported && function (config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n const _config = resolveConfig(config);\n let requestData = _config.data;\n const requestHeaders = AxiosHeaders.from(_config.headers).normalize();\n let {responseType} = _config;\n let onCanceled;\n function done() {\n if (_config.cancelToken) {\n _config.cancelToken.unsubscribe(onCanceled);\n }\n\n if (_config.signal) {\n _config.signal.removeEventListener('abort', onCanceled);\n }\n }\n\n let request = new XMLHttpRequest();\n\n request.open(_config.method.toUpperCase(), _config.url, true);\n\n // Set the request timeout in MS\n request.timeout = _config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n const responseHeaders = AxiosHeaders.from(\n 'getAllResponseHeaders' in request && request.getAllResponseHeaders()\n );\n const responseData = !responseType || responseType === 'text' || responseType === 'json' ?\n request.responseText : request.response;\n const response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config,\n request\n };\n\n settle(function _resolve(value) {\n resolve(value);\n done();\n }, function _reject(err) {\n reject(err);\n done();\n }, response);\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, _config, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(new AxiosError('Network Error', AxiosError.ERR_NETWORK, _config, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n let timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded';\n const transitional = _config.transitional || transitionalDefaults;\n if (_config.timeoutErrorMessage) {\n timeoutErrorMessage = _config.timeoutErrorMessage;\n }\n reject(new AxiosError(\n timeoutErrorMessage,\n transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,\n _config,\n request));\n\n // Clean up request\n request = null;\n };\n\n // Remove Content-Type if data is undefined\n requestData === undefined && requestHeaders.setContentType(null);\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {\n request.setRequestHeader(key, val);\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(_config.withCredentials)) {\n request.withCredentials = !!_config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = _config.responseType;\n }\n\n // Handle progress if needed\n if (typeof _config.onDownloadProgress === 'function') {\n request.addEventListener('progress', progressEventReducer(_config.onDownloadProgress, true));\n }\n\n // Not all browsers support upload events\n if (typeof _config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', progressEventReducer(_config.onUploadProgress));\n }\n\n if (_config.cancelToken || _config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = cancel => {\n if (!request) {\n return;\n }\n reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);\n request.abort();\n request = null;\n };\n\n _config.cancelToken && _config.cancelToken.subscribe(onCanceled);\n if (_config.signal) {\n _config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n const protocol = parseProtocol(_config.url);\n\n if (protocol && platform.protocols.indexOf(protocol) === -1) {\n reject(new AxiosError('Unsupported protocol ' + protocol + ':', AxiosError.ERR_BAD_REQUEST, config));\n return;\n }\n\n\n // Send the request\n request.send(requestData || null);\n });\n}\n","'use strict';\n\nexport default function parseProtocol(url) {\n const match = /^([-+\\w]{1,25})(:?\\/\\/|:)/.exec(url);\n return match && match[1] || '';\n}\n","import CanceledError from \"../cancel/CanceledError.js\";\nimport AxiosError from \"../core/AxiosError.js\";\n\nconst composeSignals = (signals, timeout) => {\n let controller = new AbortController();\n\n let aborted;\n\n const onabort = function (cancel) {\n if (!aborted) {\n aborted = true;\n unsubscribe();\n const err = cancel instanceof Error ? cancel : this.reason;\n controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));\n }\n }\n\n let timer = timeout && setTimeout(() => {\n onabort(new AxiosError(`timeout ${timeout} of ms exceeded`, AxiosError.ETIMEDOUT))\n }, timeout)\n\n const unsubscribe = () => {\n if (signals) {\n timer && clearTimeout(timer);\n timer = null;\n signals.forEach(signal => {\n signal &&\n (signal.removeEventListener ? signal.removeEventListener('abort', onabort) : signal.unsubscribe(onabort));\n });\n signals = null;\n }\n }\n\n signals.forEach((signal) => signal && signal.addEventListener && signal.addEventListener('abort', onabort));\n\n const {signal} = controller;\n\n signal.unsubscribe = unsubscribe;\n\n return [signal, () => {\n timer && clearTimeout(timer);\n timer = null;\n }];\n}\n\nexport default composeSignals;\n","\n\nexport const streamChunk = function* (chunk, chunkSize) {\n let len = chunk.byteLength;\n\n if (!chunkSize || len < chunkSize) {\n yield chunk;\n return;\n }\n\n let pos = 0;\n let end;\n\n while (pos < len) {\n end = pos + chunkSize;\n yield chunk.slice(pos, end);\n pos = end;\n }\n}\n\nexport const readBytes = async function* (iterable, chunkSize, encode) {\n for await (const chunk of iterable) {\n yield* streamChunk(ArrayBuffer.isView(chunk) ? chunk : (await encode(String(chunk))), chunkSize);\n }\n}\n\nexport const trackStream = (stream, chunkSize, onProgress, onFinish, encode) => {\n const iterator = readBytes(stream, chunkSize, encode);\n\n let bytes = 0;\n\n return new ReadableStream({\n type: 'bytes',\n\n async pull(controller) {\n const {done, value} = await iterator.next();\n\n if (done) {\n controller.close();\n onFinish();\n return;\n }\n\n let len = value.byteLength;\n onProgress && onProgress(bytes += len);\n controller.enqueue(new Uint8Array(value));\n },\n cancel(reason) {\n onFinish(reason);\n return iterator.return();\n }\n }, {\n highWaterMark: 2\n })\n}\n","import utils from '../utils.js';\nimport httpAdapter from './http.js';\nimport xhrAdapter from './xhr.js';\nimport fetchAdapter from './fetch.js';\nimport AxiosError from \"../core/AxiosError.js\";\n\nconst knownAdapters = {\n http: httpAdapter,\n xhr: xhrAdapter,\n fetch: fetchAdapter\n}\n\nutils.forEach(knownAdapters, (fn, value) => {\n if (fn) {\n try {\n Object.defineProperty(fn, 'name', {value});\n } catch (e) {\n // eslint-disable-next-line no-empty\n }\n Object.defineProperty(fn, 'adapterName', {value});\n }\n});\n\nconst renderReason = (reason) => `- ${reason}`;\n\nconst isResolvedHandle = (adapter) => utils.isFunction(adapter) || adapter === null || adapter === false;\n\nexport default {\n getAdapter: (adapters) => {\n adapters = utils.isArray(adapters) ? adapters : [adapters];\n\n const {length} = adapters;\n let nameOrAdapter;\n let adapter;\n\n const rejectedReasons = {};\n\n for (let i = 0; i < length; i++) {\n nameOrAdapter = adapters[i];\n let id;\n\n adapter = nameOrAdapter;\n\n if (!isResolvedHandle(nameOrAdapter)) {\n adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];\n\n if (adapter === undefined) {\n throw new AxiosError(`Unknown adapter '${id}'`);\n }\n }\n\n if (adapter) {\n break;\n }\n\n rejectedReasons[id || '#' + i] = adapter;\n }\n\n if (!adapter) {\n\n const reasons = Object.entries(rejectedReasons)\n .map(([id, state]) => `adapter ${id} ` +\n (state === false ? 'is not supported by the environment' : 'is not available in the build')\n );\n\n let s = length ?\n (reasons.length > 1 ? 'since :\\n' + reasons.map(renderReason).join('\\n') : ' ' + renderReason(reasons[0])) :\n 'as no adapter specified';\n\n throw new AxiosError(\n `There is no suitable adapter to dispatch the request ` + s,\n 'ERR_NOT_SUPPORT'\n );\n }\n\n return adapter;\n },\n adapters: knownAdapters\n}\n","// eslint-disable-next-line strict\nexport default null;\n","'use strict';\n\nimport transformData from './transformData.js';\nimport isCancel from '../cancel/isCancel.js';\nimport defaults from '../defaults/index.js';\nimport CanceledError from '../cancel/CanceledError.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport adapters from \"../adapters/adapters.js\";\n\n/**\n * Throws a `CanceledError` if cancellation has been requested.\n *\n * @param {Object} config The config that is to be used for the request\n *\n * @returns {void}\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n\n if (config.signal && config.signal.aborted) {\n throw new CanceledError(null, config);\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n *\n * @returns {Promise} The Promise to be fulfilled\n */\nexport default function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n config.headers = AxiosHeaders.from(config.headers);\n\n // Transform request data\n config.data = transformData.call(\n config,\n config.transformRequest\n );\n\n if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {\n config.headers.setContentType('application/x-www-form-urlencoded', false);\n }\n\n const adapter = adapters.getAdapter(config.adapter || defaults.adapter);\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData.call(\n config,\n config.transformResponse,\n response\n );\n\n response.headers = AxiosHeaders.from(response.headers);\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData.call(\n config,\n config.transformResponse,\n reason.response\n );\n reason.response.headers = AxiosHeaders.from(reason.response.headers);\n }\n }\n\n return Promise.reject(reason);\n });\n}\n","export const VERSION = \"1.7.2\";","'use strict';\n\nimport {VERSION} from '../env/data.js';\nimport AxiosError from '../core/AxiosError.js';\n\nconst validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nconst deprecatedWarnings = {};\n\n/**\n * Transitional option validator\n *\n * @param {function|boolean?} validator - set to false if the transitional option has been removed\n * @param {string?} version - deprecated version / removed since version\n * @param {string?} message - some message with additional info\n *\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n function formatMessage(opt, desc) {\n return '[Axios v' + VERSION + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n }\n\n // eslint-disable-next-line func-names\n return (value, opt, opts) => {\n if (validator === false) {\n throw new AxiosError(\n formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),\n AxiosError.ERR_DEPRECATED\n );\n }\n\n if (version && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\n/**\n * Assert object's properties type\n *\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n *\n * @returns {object}\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object') {\n throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);\n }\n const keys = Object.keys(options);\n let i = keys.length;\n while (i-- > 0) {\n const opt = keys[i];\n const validator = schema[opt];\n if (validator) {\n const value = options[opt];\n const result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE);\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);\n }\n }\n}\n\nexport default {\n assertOptions,\n validators\n};\n","'use strict';\n\nimport utils from './../utils.js';\nimport buildURL from '../helpers/buildURL.js';\nimport InterceptorManager from './InterceptorManager.js';\nimport dispatchRequest from './dispatchRequest.js';\nimport mergeConfig from './mergeConfig.js';\nimport buildFullPath from './buildFullPath.js';\nimport validator from '../helpers/validator.js';\nimport AxiosHeaders from './AxiosHeaders.js';\n\nconst validators = validator.validators;\n\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n *\n * @return {Axios} A new instance of Axios\n */\nclass Axios {\n constructor(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n }\n\n /**\n * Dispatch a request\n *\n * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)\n * @param {?Object} config\n *\n * @returns {Promise} The Promise to be fulfilled\n */\n async request(configOrUrl, config) {\n try {\n return await this._request(configOrUrl, config);\n } catch (err) {\n if (err instanceof Error) {\n let dummy;\n\n Error.captureStackTrace ? Error.captureStackTrace(dummy = {}) : (dummy = new Error());\n\n // slice off the Error: ... line\n const stack = dummy.stack ? dummy.stack.replace(/^.+\\n/, '') : '';\n try {\n if (!err.stack) {\n err.stack = stack;\n // match without the 2 top stack lines\n } else if (stack && !String(err.stack).endsWith(stack.replace(/^.+\\n.+\\n/, ''))) {\n err.stack += '\\n' + stack\n }\n } catch (e) {\n // ignore the case where \"stack\" is an un-writable property\n }\n }\n\n throw err;\n }\n }\n\n _request(configOrUrl, config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof configOrUrl === 'string') {\n config = config || {};\n config.url = configOrUrl;\n } else {\n config = configOrUrl || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n const {transitional, paramsSerializer, headers} = config;\n\n if (transitional !== undefined) {\n validator.assertOptions(transitional, {\n silentJSONParsing: validators.transitional(validators.boolean),\n forcedJSONParsing: validators.transitional(validators.boolean),\n clarifyTimeoutError: validators.transitional(validators.boolean)\n }, false);\n }\n\n if (paramsSerializer != null) {\n if (utils.isFunction(paramsSerializer)) {\n config.paramsSerializer = {\n serialize: paramsSerializer\n }\n } else {\n validator.assertOptions(paramsSerializer, {\n encode: validators.function,\n serialize: validators.function\n }, true);\n }\n }\n\n // Set config.method\n config.method = (config.method || this.defaults.method || 'get').toLowerCase();\n\n // Flatten headers\n let contextHeaders = headers && utils.merge(\n headers.common,\n headers[config.method]\n );\n\n headers && utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n (method) => {\n delete headers[method];\n }\n );\n\n config.headers = AxiosHeaders.concat(contextHeaders, headers);\n\n // filter out skipped interceptors\n const requestInterceptorChain = [];\n let synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n const responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n let promise;\n let i = 0;\n let len;\n\n if (!synchronousRequestInterceptors) {\n const chain = [dispatchRequest.bind(this), undefined];\n chain.unshift.apply(chain, requestInterceptorChain);\n chain.push.apply(chain, responseInterceptorChain);\n len = chain.length;\n\n promise = Promise.resolve(config);\n\n while (i < len) {\n promise = promise.then(chain[i++], chain[i++]);\n }\n\n return promise;\n }\n\n len = requestInterceptorChain.length;\n\n let newConfig = config;\n\n i = 0;\n\n while (i < len) {\n const onFulfilled = requestInterceptorChain[i++];\n const onRejected = requestInterceptorChain[i++];\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected.call(this, error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest.call(this, newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n i = 0;\n len = responseInterceptorChain.length;\n\n while (i < len) {\n promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]);\n }\n\n return promise;\n }\n\n getUri(config) {\n config = mergeConfig(this.defaults, config);\n const fullPath = buildFullPath(config.baseURL, config.url);\n return buildURL(fullPath, config.params, config.paramsSerializer);\n }\n}\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(mergeConfig(config || {}, {\n method,\n url,\n data: (config || {}).data\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n\n function generateHTTPMethod(isForm) {\n return function httpMethod(url, data, config) {\n return this.request(mergeConfig(config || {}, {\n method,\n headers: isForm ? {\n 'Content-Type': 'multipart/form-data'\n } : {},\n url,\n data\n }));\n };\n }\n\n Axios.prototype[method] = generateHTTPMethod();\n\n Axios.prototype[method + 'Form'] = generateHTTPMethod(true);\n});\n\nexport default Axios;\n","'use strict';\n\nimport CanceledError from './CanceledError.js';\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @param {Function} executor The executor function.\n *\n * @returns {CancelToken}\n */\nclass CancelToken {\n constructor(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n let resolvePromise;\n\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n const token = this;\n\n // eslint-disable-next-line func-names\n this.promise.then(cancel => {\n if (!token._listeners) return;\n\n let i = token._listeners.length;\n\n while (i-- > 0) {\n token._listeners[i](cancel);\n }\n token._listeners = null;\n });\n\n // eslint-disable-next-line func-names\n this.promise.then = onfulfilled => {\n let _resolve;\n // eslint-disable-next-line func-names\n const promise = new Promise(resolve => {\n token.subscribe(resolve);\n _resolve = resolve;\n }).then(onfulfilled);\n\n promise.cancel = function reject() {\n token.unsubscribe(_resolve);\n };\n\n return promise;\n };\n\n executor(function cancel(message, config, request) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new CanceledError(message, config, request);\n resolvePromise(token.reason);\n });\n }\n\n /**\n * Throws a `CanceledError` if cancellation has been requested.\n */\n throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n }\n\n /**\n * Subscribe to the cancel signal\n */\n\n subscribe(listener) {\n if (this.reason) {\n listener(this.reason);\n return;\n }\n\n if (this._listeners) {\n this._listeners.push(listener);\n } else {\n this._listeners = [listener];\n }\n }\n\n /**\n * Unsubscribe from the cancel signal\n */\n\n unsubscribe(listener) {\n if (!this._listeners) {\n return;\n }\n const index = this._listeners.indexOf(listener);\n if (index !== -1) {\n this._listeners.splice(index, 1);\n }\n }\n\n /**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\n static source() {\n let cancel;\n const token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token,\n cancel\n };\n }\n}\n\nexport default CancelToken;\n","const HttpStatusCode = {\n Continue: 100,\n SwitchingProtocols: 101,\n Processing: 102,\n EarlyHints: 103,\n Ok: 200,\n Created: 201,\n Accepted: 202,\n NonAuthoritativeInformation: 203,\n NoContent: 204,\n ResetContent: 205,\n PartialContent: 206,\n MultiStatus: 207,\n AlreadyReported: 208,\n ImUsed: 226,\n MultipleChoices: 300,\n MovedPermanently: 301,\n Found: 302,\n SeeOther: 303,\n NotModified: 304,\n UseProxy: 305,\n Unused: 306,\n TemporaryRedirect: 307,\n PermanentRedirect: 308,\n BadRequest: 400,\n Unauthorized: 401,\n PaymentRequired: 402,\n Forbidden: 403,\n NotFound: 404,\n MethodNotAllowed: 405,\n NotAcceptable: 406,\n ProxyAuthenticationRequired: 407,\n RequestTimeout: 408,\n Conflict: 409,\n Gone: 410,\n LengthRequired: 411,\n PreconditionFailed: 412,\n PayloadTooLarge: 413,\n UriTooLong: 414,\n UnsupportedMediaType: 415,\n RangeNotSatisfiable: 416,\n ExpectationFailed: 417,\n ImATeapot: 418,\n MisdirectedRequest: 421,\n UnprocessableEntity: 422,\n Locked: 423,\n FailedDependency: 424,\n TooEarly: 425,\n UpgradeRequired: 426,\n PreconditionRequired: 428,\n TooManyRequests: 429,\n RequestHeaderFieldsTooLarge: 431,\n UnavailableForLegalReasons: 451,\n InternalServerError: 500,\n NotImplemented: 501,\n BadGateway: 502,\n ServiceUnavailable: 503,\n GatewayTimeout: 504,\n HttpVersionNotSupported: 505,\n VariantAlsoNegotiates: 506,\n InsufficientStorage: 507,\n LoopDetected: 508,\n NotExtended: 510,\n NetworkAuthenticationRequired: 511,\n};\n\nObject.entries(HttpStatusCode).forEach(([key, value]) => {\n HttpStatusCode[value] = key;\n});\n\nexport default HttpStatusCode;\n","'use strict';\n\nimport utils from './utils.js';\nimport bind from './helpers/bind.js';\nimport Axios from './core/Axios.js';\nimport mergeConfig from './core/mergeConfig.js';\nimport defaults from './defaults/index.js';\nimport formDataToJSON from './helpers/formDataToJSON.js';\nimport CanceledError from './cancel/CanceledError.js';\nimport CancelToken from './cancel/CancelToken.js';\nimport isCancel from './cancel/isCancel.js';\nimport {VERSION} from './env/data.js';\nimport toFormData from './helpers/toFormData.js';\nimport AxiosError from './core/AxiosError.js';\nimport spread from './helpers/spread.js';\nimport isAxiosError from './helpers/isAxiosError.js';\nimport AxiosHeaders from \"./core/AxiosHeaders.js\";\nimport adapters from './adapters/adapters.js';\nimport HttpStatusCode from './helpers/HttpStatusCode.js';\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n *\n * @returns {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n const context = new Axios(defaultConfig);\n const instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context, {allOwnKeys: true});\n\n // Copy context to instance\n utils.extend(instance, context, null, {allOwnKeys: true});\n\n // Factory for creating new instances\n instance.create = function create(instanceConfig) {\n return createInstance(mergeConfig(defaultConfig, instanceConfig));\n };\n\n return instance;\n}\n\n// Create the default instance to be exported\nconst axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Expose Cancel & CancelToken\naxios.CanceledError = CanceledError;\naxios.CancelToken = CancelToken;\naxios.isCancel = isCancel;\naxios.VERSION = VERSION;\naxios.toFormData = toFormData;\n\n// Expose AxiosError class\naxios.AxiosError = AxiosError;\n\n// alias for CanceledError for backward compatibility\naxios.Cancel = axios.CanceledError;\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\n\naxios.spread = spread;\n\n// Expose isAxiosError\naxios.isAxiosError = isAxiosError;\n\n// Expose mergeConfig\naxios.mergeConfig = mergeConfig;\n\naxios.AxiosHeaders = AxiosHeaders;\n\naxios.formToJSON = thing => formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);\n\naxios.getAdapter = adapters.getAdapter;\n\naxios.HttpStatusCode = HttpStatusCode;\n\naxios.default = axios;\n\n// this module should only have a default export\nexport default axios\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n *\n * @returns {Function}\n */\nexport default function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n}\n","'use strict';\n\nimport utils from './../utils.js';\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n *\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nexport default function isAxiosError(payload) {\n return utils.isObject(payload) && (payload.isAxiosError === true);\n}\n","export const defaultValidation = (status: number): boolean => {\n return status >= 200 && status < 300;\n};\n","import { AxiosEngine } from './AxiosEngine';\n\n// add ${newEngine} class\nexport const ENGINES = {\n AXIOS: AxiosEngine\n};\n\nexport type EngineNames = keyof typeof ENGINES\n","import axios, {\n AxiosInstance, AxiosRequestConfig, AxiosResponse, Method\n} from 'axios';\nimport { CustomConfig, Engine, RequestFunction } from '../types';\nimport { defaultValidation } from './utils';\n\nexport class AxiosEngine implements Engine {\n instance: AxiosInstance;\n\n public get: RequestFunction;\n\n public post: RequestFunction;\n\n public put: RequestFunction;\n\n public delete: RequestFunction;\n\n constructor(baseURL: string, config?: CustomConfig) {\n this.instance = axios.create({\n baseURL,\n validateStatus: config?.disableEngineThrowOnError ? () => true : defaultValidation,\n ...config\n });\n\n this.get = this.createRequestMethod('get');\n\n this.post = this.createRequestMethod('post');\n\n this.put = this.createRequestMethod('put');\n\n this.delete = this.createRequestMethod('delete');\n }\n\n public createRequestMethod(method: Method): RequestFunction {\n return (url: string, config?: AxiosRequestConfig, data?: D) => {\n return this.instance.request, D>({\n url,\n method,\n data,\n ...config\n });\n };\n }\n}\n","import axios from './lib/axios.js';\n\n// This module is intended to unwrap Axios default export as named.\n// Keep top-level export same with static properties\n// so that it can keep same with es module or cjs\nconst {\n Axios,\n AxiosError,\n CanceledError,\n isCancel,\n CancelToken,\n VERSION,\n all,\n Cancel,\n isAxiosError,\n spread,\n toFormData,\n AxiosHeaders,\n HttpStatusCode,\n formToJSON,\n getAdapter,\n mergeConfig\n} = axios;\n\nexport {\n axios as default,\n Axios,\n AxiosError,\n CanceledError,\n isCancel,\n CancelToken,\n VERSION,\n all,\n Cancel,\n isAxiosError,\n spread,\n toFormData,\n AxiosHeaders,\n HttpStatusCode,\n formToJSON,\n getAdapter,\n mergeConfig\n}\n","import { isAxiosError } from 'axios';\nimport { RequestFunction, Responses } from './types';\n\nexport type AwaitedEngineResponse = Awaited>\n\nexport const mapAxiosResponse = (awaitedEngineResp: AwaitedEngineResponse): Responses => {\n if (isAxiosError(awaitedEngineResp) && awaitedEngineResp.response) {\n return awaitedEngineResp.response;\n }\n\n return awaitedEngineResp as Responses;\n};\n","import TTLCache from '../request-cache';\nimport { argumentParser } from '../utils/argumentParser';\nimport { constructInterceptorConfig } from '../utils/constructInterceptorConfig';\nimport { setInterceptors } from '../utils/setInterceptors';\nimport { EngineNames, ENGINES } from './engines/constants';\nimport { Interceptors } from './interceptors/types';\nimport {\n CustomConfig,\n DefaultInterceptorsConfig,\n Engine,\n Methods,\n RequestArgs,\n RequestContext,\n RequestFunction,\n ResponseContext,\n ResponseResult,\n Responses\n} from './types';\nimport { mapAxiosResponse } from './utils';\n\nexport class RequestLayer {\n engineInstance: Engine;\n\n engineName: EngineNames;\n\n interceptors?: Interceptors;\n\n configs?: {engineConfig?: CustomConfig, interceptorConfig?: DefaultInterceptorsConfig};\n\n ttlCache?: TTLCache;\n\n baseURL?: string;\n\n get: (...args: RequestArgs) => Promise | T>;\n\n post: (...args: RequestArgs) => Promise | T>;\n\n delete: (...args: RequestArgs) => Promise | T>;\n\n put: (...args: RequestArgs) => Promise | T>;\n\n constructor(\n baseURL?: string,\n configs?: {engineConfig?: CustomConfig, interceptorConfig?: DefaultInterceptorsConfig},\n engineName: EngineNames = 'AXIOS'\n\n ) {\n this.configs = configs;\n this.engineInstance = new ENGINES[engineName](baseURL || '', { withCredentials: true, ...configs?.engineConfig });\n this.interceptors = setInterceptors(configs?.interceptorConfig);\n this.engineName = engineName;\n this.baseURL = baseURL;\n\n if (configs?.interceptorConfig?.shouldCache) {\n this.ttlCache = new TTLCache(configs?.interceptorConfig?.cacheTTL);\n }\n\n this.get = this.createMethod('get');\n\n this.post = this.createMethod('post');\n\n this.delete = this.createMethod('delete');\n\n this.put = this.createMethod('put');\n }\n\n createMethod(method: Methods): (...args: RequestArgs) => Promise | T> {\n return async (...args: RequestArgs): Promise | T> => {\n const { url, config, data } = argumentParser(method, args);\n\n // it enables to override request layer's interceptor configs\n // so configs are prioritized for endpoints, not for layer configs\n const modifiedInterceptorConfig = config\n ? constructInterceptorConfig(config, this.configs?.interceptorConfig)\n : this.configs?.interceptorConfig;\n\n const req: RequestContext = {\n url,\n config: { method, ...config },\n data: (data as T),\n interceptorConfig: modifiedInterceptorConfig,\n engineName: this.engineName\n };\n\n const shouldCacheRun = this.ttlCache && !config?.disableCache && modifiedInterceptorConfig?.shouldCache;\n\n if (!modifiedInterceptorConfig?.disableRequestInterceptors) {\n this.interceptors?.preRequest?.run(req);\n }\n\n const cacheRequest: RequestContext = {\n ...req,\n data: req.data instanceof FormData ? Object.fromEntries(req.data as unknown as Iterable) : req.data,\n interceptorConfig: {\n ...req.interceptorConfig,\n customRequestInterceptors: [],\n customResponseInterceptors: []\n }\n };\n\n if (shouldCacheRun) {\n const cachedResponse = await this.ttlCache?.get(cacheRequest);\n if (cachedResponse) {\n return cachedResponse as ResponseResult;\n }\n }\n\n let resp: Responses;\n let ctx: ResponseContext;\n\n switch (method) {\n case 'get':\n case 'delete':\n case 'post':\n case 'put': {\n let engineResponse;\n try {\n engineResponse = await this.engineInstance[method](req.url, req.config, req.data);\n } catch (e) {\n resp = this.mapEngineResponse(e as Awaited>);\n ctx = {\n resp, config: req.config, interceptorConfig: modifiedInterceptorConfig, engineName: this.engineName, result: resp\n };\n this.interceptors?.postFailedRequest?.run(ctx);\n\n throw e;\n }\n\n resp = this.mapEngineResponse(engineResponse);\n\n ctx = {\n resp,\n config: req.config,\n interceptorConfig: modifiedInterceptorConfig,\n engineName: this.engineName,\n result: resp\n };\n break;\n }\n\n default: {\n const customMethod = this.engineInstance.createRequestMethod(method);\n resp = await customMethod(url, config, data as T) as Responses;\n ctx = {\n resp, config: req.config, interceptorConfig: modifiedInterceptorConfig, engineName: this.engineName, result: resp\n };\n }\n }\n\n if (!modifiedInterceptorConfig?.disableResponseInterceptors) {\n this.interceptors?.postRequest?.run(ctx);\n }\n\n if (shouldCacheRun) {\n this.ttlCache?.add(cacheRequest, ctx.result);\n }\n\n return ctx.result;\n };\n }\n\n setTeamID(teamID: number): void {\n this.configs = {\n ...this.configs,\n interceptorConfig: {\n ...this.configs?.interceptorConfig,\n teamID\n }\n };\n }\n\n getTeamID(): DefaultInterceptorsConfig['teamID'] {\n return this.configs?.interceptorConfig?.teamID;\n }\n\n private mapEngineResponse = (\n awaitedEngineResp: Awaited>\n ): Responses => {\n switch (this.engineName) {\n default:\n return mapAxiosResponse(awaitedEngineResp) as Responses;\n }\n };\n}\n","import { ResponseInterceptor } from '../../types';\n\n// if rejected it returns AxiosResponse instead AxiosResponse.data\n// it is implemented to refactor projects that use RequestManager\nconst requestManagerResponseNormalizer: ResponseInterceptor = ctx => {\n if (ctx.interceptorConfig?.disableResponseNormalizer) {\n return;\n }\n\n const { resp } = ctx;\n\n if (resp && resp.data && typeof resp.data.responseCode === 'number'\n && (resp.data.responseCode < 200 || resp.data.responseCode > 299)) {\n ctx.result = Promise.reject(ctx.resp);\n return;\n }\n\n if (resp && resp.data) {\n ctx.result = resp.data?.content || resp.data;\n }\n};\n\nconst returnAxiosData: ResponseInterceptor = ctx => {\n // it is implemented for reqwest only\n if (ctx.engineName === 'AXIOS') {\n ctx.result = (new Promise(resolve => {\n if ('data' in ctx.resp) {\n resolve(ctx.resp.data);\n }\n }));\n }\n};\n\nexport const Interceptors = {\n requestManagerResponseNormalizer,\n returnAxiosData\n};\n","import { RequestLayer, Interceptors } from '@jotforminc/request-layer';\n\nconst layer = new RequestLayer('/API', {\n interceptorConfig: {\n teamID: global.teamID,\n customResponseInterceptors: [Interceptors.requestManagerResponseNormalizer]\n }\n});\n\nexport default layer;\n","import Axios from 'axios';\nimport qs from 'querystring';\nimport { loadJS, getPossibleTimeZone } from '@jotforminc/utils';\nimport isNil from 'lodash/isNil';\nimport { Texts } from '@jotforminc/constants';\nimport layer from './layer';\n\nconst trackAction = data => layer.post(\n 't/jfrev',\n data,\n {\n headers: {\n 'Content-Type': 'application/json'\n }\n }\n);\n\nexport const actionTracker = ({\n username = '', action = '', target = ''\n}) => {\n const log = {\n project: 'login-flow',\n oldActions: {\n action: action,\n target: target\n },\n actor: username,\n location: window.location && window.location.href\n };\n\n trackAction(log);\n};\n\nexport const loadAppleClient = nonce => {\n loadJS(\n 'jf-apple-id',\n 'https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js',\n () => {\n if (!window.AppleID) return;\n\n window.AppleID.auth.init({\n clientId: 'com.jotform.applesignin',\n scope: 'name email',\n redirectURI: `https://${window.location.host}/API/login/apple`,\n response_type: 'code',\n response_mode: 'form_post',\n nonce,\n usePopup: true\n });\n }\n );\n};\n\nexport const loadFacebookClient = () => {\n loadJS('facebook-jssdk', 'https://connect.facebook.net/en_US/sdk.js');\n};\n\nexport const loadGoogleClient = () => {\n loadJS('google-jssdk-new', 'https://accounts.google.com/gsi/client');\n};\n\nexport const loadMicrosoftClient = () => {\n loadJS('microsoft-jssdk', 'https://cdn.jotfor.ms/js/msal/msal-browser.js');\n};\n\nexport const handleGoogleAuth = ({ onSuccess = f => f, onError = f => f }) => {\n if (!window.google) return;\n const client = window.google.accounts.oauth2.initCodeClient({\n client_id: window.GOOGLE_SIGNON,\n scope: 'openid profile email',\n ux_mode: 'popup',\n cookiepolicy: 'single_host_origin',\n callback: async response => {\n await onSuccess(response);\n },\n error_callback: async response => {\n await onError(response);\n }\n });\n\n return client;\n};\n\nexport const handleFacebookAuth = ({ onSuccess = f => f, onError = f => f }) => {\n // https://sentry.io/organizations/jotform/issues/1769596448/?project=4142374\n if (!window.FB) return;\n\n window.FB.init({\n appId: window.FACEBOOK_SIGNON_APP_ID,\n cookie: true,\n xfbml: true,\n version: 'v3.2'\n });\n\n window.FB.login(({ status, authResponse }) => {\n if (status === 'connected' && authResponse) {\n onSuccess(authResponse.accessToken);\n return;\n }\n\n onError(status);\n }, { scope: 'public_profile,email' });\n};\n\nexport const handleAppleAuth = async ({\n hasUserLogin,\n nonce,\n onSuccess = f => f,\n onError = f => f\n}) => {\n try {\n // https://sentry.io/organizations/jotform/issues/1769596448/?project=4142374\n if (!window.AppleID) return;\n\n const result = await window.AppleID.auth.signIn();\n\n const response = hasUserLogin ? await Axios.post(\n 'https://www.jotform.com/API/login/apple',\n qs.stringify({\n authorizationCode: result.authorization.code,\n identityToken: result.authorization.id_token,\n nonce\n }),\n {\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded'\n }\n }\n ) : {};\n\n onSuccess({\n response,\n authorizationCode: result.authorization.code,\n identityToken: result.authorization.id_token,\n nonce\n });\n } catch (err) {\n onError(err);\n }\n};\n\nexport const handleMicrosoftAuth = () => {\n const myMSALObj = new window.msal.PublicClientApplication({\n auth: {\n clientId: window.MICROSOFT_SIGNON_CLIENT_ID,\n redirectUri: `https://${global.location.host}/login-redirect.html`\n }\n });\n return myMSALObj.loginPopup({\n scopes: ['user.read']\n });\n};\n\nexport const handleSalesforceAuth = async () => {\n const openPopupWindowCentered = function openPopupWindowCentered(url, windowName, w, h) {\n const x = window.outerWidth / 2 + window.screenX - w / 2;\n const y = window.outerHeight / 2 + window.screenY - h / 2;\n let features = 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=';\n features = features.concat(w, ', height=').concat(h, ', top=').concat(y, ', left=').concat(x);\n return window.open(url, windowName, features);\n };\n\n let popUpWindow = null;\n\n const handleLogin = async () => {\n const response = await Axios.get(`https://${global.location.host}/API/user/salesforce-auth-provider`);\n popUpWindow = openPopupWindowCentered(response.data.content, 'login-flow', 600, 680);\n };\n\n await handleLogin();\n\n const data = await new Promise(resolve => {\n window.addEventListener('message', message => {\n if (!message || !message.data) {\n resolve('error');\n }\n\n if (message.data.source === 'jfsalesforce_login') {\n if (popUpWindow) {\n popUpWindow.close();\n }\n\n const res = {\n code: message.data.code,\n token: message.data.token\n };\n resolve(res);\n }\n });\n });\n\n return data;\n};\n\nexport const handleUserLogin = async ({\n appName, config, token, type\n}) => {\n try {\n const response = await Axios.post(\n '/server.php',\n qs.stringify({\n action: config.action,\n [config.tokenKey]: token,\n // eslint-disable-next-line no-undef\n language: navigator.language,\n timezone: getPossibleTimeZone(),\n ...appName ? {\n button_name: `${type}-${appName}`\n } : {}\n }),\n {\n withCredentials: true,\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded'\n }\n }\n );\n\n return response;\n } catch (err) {\n return err;\n }\n};\n\nexport const handleUserVerify = async ({\n appName, type, config, token\n}) => {\n const isGoogle = type === 'google';\n return layer.post(\n `user/login/${type}`,\n qs.stringify({\n onlyVerify: '1',\n action: config.action,\n [config.tokenKey]: token,\n // eslint-disable-next-line no-undef\n language: navigator.language,\n timezone: getPossibleTimeZone(),\n ...appName ? {\n button_name: `${type}-${appName}`\n } : {},\n ...(isGoogle && { newGoogleFlow: 1 })\n })\n );\n};\n\nexport const randomString = value => {\n let length = value;\n const charset = '0123456789ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvwxyz-._';\n let result = '';\n\n const makeResult = item => {\n if (length === 0) {\n return;\n }\n\n if (item < charset.length) {\n result += charset[item];\n length--;\n }\n };\n\n while (length > 0) {\n const bytes = new Uint8Array(16);\n const cryptor = window.crypto || window.msCrypto;\n const random = cryptor.getRandomValues(bytes);\n\n Array.from(random).forEach(makeResult);\n }\n\n return result;\n};\n\nexport const fetchUserCredentialRuleSet = isSecure => {\n const params = isSecure ? { hipaa: '1' } : {};\n return layer.get('user/credential-rule-set', null, { params });\n};\n\nexport const checkPasswordReuse = (password, userType) => {\n if (typeof userType === typeof 'string' && userType.toLowerCase() === 'user') {\n return layer.post('user/checkPasswordReuseAttempt', qs.stringify({ password }));\n }\n return layer.post('formuser/checkPasswordReuseAttempt', qs.stringify({ password }));\n};\n\nconst prepareVerificationSettings = (\n type, token, password,\n // for verifyAndDelete:\n isDeleteVerified = false, prepareForDeletionEndpoint = false\n) => {\n const socialLogins = ['google', 'facebook', 'apple', 'microsoft', 'salesforce'];\n\n switch (true) {\n case type === 'email':\n return { type, password };\n case socialLogins.includes(type):\n return { type, token };\n case prepareForDeletionEndpoint === true:\n return { isDeleteVerified };\n default:\n return { };\n }\n};\n\n// verify first by type before deleting it, if you want to delete it just pass isDeleteVerified and user\nexport const verifyAndDelete = ({\n username, type, token, password, isDeleteVerified = false\n}) => {\n const settings = prepareVerificationSettings(type, token, password, isDeleteVerified, true);\n return layer.post(`user/${username}/verify-and-delete`, qs.stringify({ ...settings, newGoogleFlow: 1 }));\n};\n\nexport const verifyUser = ({\n username, type, token, password\n}) => {\n const settings = prepareVerificationSettings(type, token, password);\n return layer.post(`user/${username}/verify`, qs.stringify({ ...settings, newGoogleFlow: 1 }));\n};\n\nexport const getPrefillToken = () => {\n const path = window.location.pathname.split('/').splice(2);\n if (path[0] === 'prefill') return path[1].split('?')[0];\n\n return false;\n};\n\nexport const isYes = val => ((typeof val === 'string') ? ['Yes', '1'].includes(val) : !!val);\n\nexport const getPortalElement = elementId => {\n const { body } = document;\n let targetElement = document.querySelector(`#${elementId}`);\n\n if (targetElement) {\n return targetElement;\n }\n\n targetElement = document.createElement('div');\n targetElement.setAttribute('id', elementId);\n body.appendChild(targetElement);\n return targetElement;\n};\n\nexport const logActions = (project = 'Jotform', actor = 'unknown', action = '', target = '') => {\n if (typeof window.JotFormActions === 'function') {\n const logger = new window.JotFormActions(project);\n logger.tick({ actor, action, target });\n }\n};\n\nexport const isPlatformSalesforce = () => !isNil(document.querySelector('[data-platform=\"salesforce\"]'));\n\nexport const salesforceSocialLoginLogger = ({ username = '', action = '', target = '' }) => {\n if (!isPlatformSalesforce()) return;\n\n actionTracker({\n username,\n action,\n target\n });\n};\n\nexport const preLoginCheck = async () => layer.get('mfa/pre-login-check');\n\nexport const objToQueryString = obj => `${Object.entries(obj).map(([key, value]) => `${key}=${value}`).join('&')}`;\n\n// eslint-disable-next-line max-len\nexport const errorNormalizer = err => err?.response?.data?.error || err?.data?.error || err?.error || err?.response?.data?.content || err?.data?.content || err?.content || err?.response?.data?.message || err?.data?.message || err?.message || Texts.ERROR_TRY_AGAIN;\n","\n import API from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n \n import content, * as namedExport from \"!!../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[1]!../../../../../node_modules/.pnpm/postcss-loader@8.1.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__postcss@8.4.38_typescript@5.0.4__5lvnl7xmoydmkkvnqez3gfmijq/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[2]!../../../../../node_modules/.pnpm/sass-loader@14.2.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__sass-embedded@1.78.0_sass@1.75.0_w_m6gyofr5lgwlemccsvqwra2uoi/node_modules/sass-loader/dist/cjs.js!./ofac-modal.scss\";\n \n \n\nvar options = {};\n\n;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[1]!../../../../../node_modules/.pnpm/postcss-loader@8.1.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__postcss@8.4.38_typescript@5.0.4__5lvnl7xmoydmkkvnqez3gfmijq/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[2]!../../../../../node_modules/.pnpm/sass-loader@14.2.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__sass-embedded@1.78.0_sass@1.75.0_w_m6gyofr5lgwlemccsvqwra2uoi/node_modules/sass-loader/dist/cjs.js!./ofac-modal.scss\";\n export default content && content.locals ? content.locals : undefined;\n","/* eslint-disable no-unused-vars */\nimport React, {\n forwardRef, useRef, useEffect\n} from 'react';\nimport ReactDOM from 'react-dom';\nimport PropTypes from 'prop-types';\nimport { t } from '@jotforminc/translation';\nimport { IconExclamationCircle } from '@jotforminc/svg-icons';\nimport { useOnClickOutside } from '@jotforminc/hooks';\nimport cx from 'classnames';\nimport { getPortalElement } from '../../utils/helper';\n\nimport Close from '../../assets/close.svg';\nimport '../../styles/ofac-modal.scss';\n\nconst OFACModal = forwardRef(({ isModal, email }, ref) => {\n const innerRef = useRef();\n const actor = email || window.user?.username || window.__formInfo?.username || 'unknown';\n const logger = window.JotFormActions ? new window.JotFormActions('ofacModal') : null;\n\n const unmountModal = () => {\n ReactDOM.unmountComponentAtNode(getPortalElement('ofacModal'));\n };\n\n const onClose = () => {\n logger?.tick({ actor, action: 'close', target: 'ofacSignupModal' });\n unmountModal();\n };\n\n useEffect(() => {\n logger?.tick({ actor, action: 'seen', target: 'ofacSignupModal' });\n }, []);\n\n useOnClickOutside(innerRef, () => unmountModal());\n\n return (\n
\n
\n {isModal && (\n \n \n \n )}\n
\n \n
\n
\n {t('Sorry, you can’t signup from this country')}\n
\n
\n

\n {t('We comply with OFAC’s (The Office of Foreign Assets Control) sanctions and under those sanctions, we no longer serve users from your country.')}\n

\n

\n {t('Thank you for your interest in Jotform!')}\n

\n
\n
\n \n {t('Contact Us')}\n \n
\n
\n
\n );\n});\n\nOFACModal.propTypes = {\n isModal: PropTypes.bool,\n email: PropTypes.string\n};\n\nOFACModal.defaultProps = {\n isModal: false,\n email: ''\n};\n\nexport default OFACModal;\n","/* eslint-disable no-param-reassign */\nimport React, { createRef } from 'react';\nimport ReactDOM from 'react-dom';\nimport OFACModal from './OFACModal';\nimport { getPortalElement } from '../../utils/helper';\n\nconst openOFACModal = (ref, email) => {\n if (!ref) {\n ref = createRef();\n }\n\n const portalElement = getPortalElement('ofacModal');\n ReactDOM.render(, portalElement);\n};\n\nexport { OFACModal, openOFACModal };\n","/* global navigator */\nimport Axios from 'axios';\nimport qs from 'querystring';\nimport { getPossibleTimeZone, handleCustomNavigation } from '@jotforminc/utils';\nimport { openOFACModal } from '../components/OFACModal';\n\nexport const getScreenResolution = () => {\n const { screen: { availWidth, availHeight } } = window;\n if (availWidth && availHeight) {\n return `${availWidth}x${availHeight}`;\n }\n return '';\n};\n\nexport const getSocialLoginOptionsByType = type => {\n const options = {\n google: { tokenKey: 'gtoken', action: 'loginWithGoogle' },\n googleOneTap: { tokenKey: 'gtoken', action: 'loginWithGoogle' },\n facebook: { tokenKey: 'ftoken', action: 'loginWithFacebook' },\n microsoft: { tokenKey: 'mtoken', action: 'loginWithMicrosoft' },\n salesforce: { tokenKey: 'stoken', action: 'loginWithSalesforce' }\n };\n\n return options[type];\n};\n\nexport const pushDataLayerEvent = ({ event, eventAction }) => {\n if (window.dataLayer && (typeof window.dataLayer === 'object')) {\n window.dataLayer.push({ event, eventAction });\n }\n};\n\nconst handleSignupVariationTest = username => {\n if (!window.dataLayer || !window.signupEvents) return;\n if (Math.random() < 0.5) {\n pushDataLayerEvent({\n event: 'Signup',\n eventAction: 'Complete-Remarketing'\n });\n if (window.location.href.indexOf('jotform.pro') < 0) {\n window.signupEvents.tick({\n actor: username || 'unknown',\n action: 'Signup',\n target: 'Complete-Remarketing'\n });\n }\n } else if (window.location.href.indexOf('jotform.pro') < 0) {\n window.signupEvents.tick({\n actor: username || 'unknown',\n action: 'Signup',\n target: 'Complete-Remarketing-Passive'\n });\n }\n};\n\nexport const handleSignupCompletedEvents = (username, type) => {\n if (typeof window.signupEvents === 'undefined' && typeof username !== 'undefined' && typeof JotFormActions !== 'undefined') {\n window.signupEvents = window.JotFormActions('jotform-signup-events');\n handleSignupVariationTest(username);\n }\n\n pushDataLayerEvent({\n event: 'Signup',\n eventAction: 'Complete'\n });\n\n if (type) {\n pushDataLayerEvent({\n event: `sign_up_social_${type}`\n });\n }\n\n window.uetq = window.uetq || [];\n window.uetq.push({\n ec: 'Signup',\n ea: 'Complete'\n });\n window.dotq = window.dotq || [];\n window.dotq.push({\n projectId: '10000',\n properties: {\n pixelId: '10027312',\n qstrings: {\n et: 'custom',\n ec: 'Signup',\n ea: 'Completed'\n }\n }\n });\n};\n\nexport const forceUserSocialLogin = (\n type = '',\n token = '',\n onSuccess = f => f,\n onFailure = f => f,\n appName = '',\n tfaResponseCallback = f => f,\n tfaVerificationToken,\n tfaMethod,\n buttonNames = {},\n socialLoginVerificationHash = '',\n onSocialTermsRequired = f => f,\n enableSocialTerms = false,\n eaResponseCallback = f => f,\n eaVerificationToken,\n newGoogleFlow,\n ofacModalRef\n) => {\n const config = getSocialLoginOptionsByType(type);\n if (!config) {\n // eslint-disable-next-line\n console.error('Unsupported social login type', type);\n return;\n }\n\n const actionData = {\n action: config.action,\n [config.tokenKey]: token\n };\n\n const defaultButtonName = appName ? `${type}-${appName}` : '';\n const buttonName = buttonNames[type] ? buttonNames[type] : defaultButtonName;\n\n Axios.post('/server.php', qs.stringify({\n ...(actionData),\n ...(tfaVerificationToken && { token: tfaVerificationToken }),\n ...(eaVerificationToken && { eaToken: eaVerificationToken }),\n ...(socialLoginVerificationHash && { socialLoginHash: socialLoginVerificationHash }),\n ...(enableSocialTerms && { enableSocialTerms }),\n tokenType: tfaMethod,\n language: navigator.language,\n timezone: getPossibleTimeZone(),\n screen_resolution: getScreenResolution(),\n location: global.location.pathname,\n button_name: buttonName,\n ref_app: appName,\n eat: 1,\n return: 1,\n ...(newGoogleFlow && { newGoogleFlow })\n }), {\n withCredentials: true,\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded'\n }\n })\n .then(async ({ data: responseData }) => {\n const {\n success, message, token: tfaToken, newUser, user, socialLoginHash, emailAuthToken, idToken\n } = responseData;\n if (!success) {\n // eslint-disable-next-line\n console.error('Couldn\\'t login', message);\n }\n\n if (socialLoginHash) {\n const { fullName, email, imageUrl } = responseData;\n onSocialTermsRequired({\n socialLoginHash,\n socialUserProfile: { fullName, email, imageUrl },\n idToken\n });\n return;\n }\n\n if (tfaToken) {\n tfaResponseCallback(responseData);\n return;\n }\n\n if (emailAuthToken) {\n eaResponseCallback(responseData);\n return;\n }\n\n if (newUser) {\n handleSignupCompletedEvents(user.username, type);\n }\n\n onSuccess({ data: responseData });\n })\n .catch(error => {\n // eslint-disable-next-line\n const { response: { data: { error: message = '' } = {} } = {} } = error;\n if (message === \"Sorry, you can't signup from this country.\") {\n openOFACModal(ofacModalRef);\n }\n\n if (message?.toLowerCase()?.includes('suspended')) {\n return handleCustomNavigation('/account-suspended', '_self', true);\n }\n\n if (typeof onFailure === 'function') {\n onFailure(error);\n }\n\n // eslint-disable-next-line no-console\n console.error('--Couldn\\'t login', error);\n });\n};\n\nexport const forceUserLoginRequest = async (username, password, appName, recaptcha, tfaToken, tfaTokenType, buttonNames, eaToken, rememberDevice) => {\n try {\n /**\n * TODO: Base url fix required\n *\n * This method is currently dedicated for applications (reports, sheets, inbox etc.).\n * Therefore we do not use `apiURL` like on other requests and leave the url as relative which may cause problems on\n * forms due to cached urls like 'form.jotform.com'.\n *\n * To sum up, please do not use this method on forms. If you are consider doing it then fix the url issue mentioned at above.\n */\n const response = await Axios.post('/server.php', qs.stringify({\n action: 'login',\n ...(!tfaToken && { password: password }),\n remember: true,\n ...(!tfaToken && { username: username }),\n ref_app: appName,\n recaptcha,\n language: global.navigator.language,\n timezone: getPossibleTimeZone(),\n screen_resolution: getScreenResolution(),\n location: global.location.pathname,\n button_name: buttonNames.emailLogin || `emailLogin-${appName}`,\n ...(tfaToken && { token: tfaToken }),\n ...(eaToken && { eaToken: eaToken }),\n tokenType: tfaTokenType,\n rememberDevice: rememberDevice,\n ...(!tfaToken && { eat: '1' }) // email auth parameter\n }), {\n withCredentials: true,\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded'\n }\n });\n\n if (response.data.token) return [false, { content: response.data }, true, false]; // 2fa\n if (response?.data?.emailAuthToken) return [false, { content: response.data }, false, true]; // email authentication\n\n return [true, { content: response.data.user, responseCode: response.status }];\n } catch (error) {\n return [false, error.response || error.message];\n }\n};\n\nexport const handleLoginHelper = async ({\n username,\n password,\n tfaToken = '',\n tfaTokenType = '',\n regularLoginRequest,\n forceUser,\n handleLoginSuccess,\n handleNavigationChangeRequest,\n screenToNavigate = 'epilogue',\n shouldCallNavigate = true,\n appName,\n recaptcha,\n handleTFAResponse,\n buttonNames,\n eaToken,\n handleEAResponse,\n rememberDevice,\n isRecovery\n}) => {\n // Added temporary user list for testing purposes, will be deleted later when 2fa is enabled for all BSG users\n const loginFunction = forceUser ? forceUserLoginRequest : regularLoginRequest;\n\n const [loginSuccess, loginResponse, tfaResponse = false, eaResponse = false] = await loginFunction(\n username, password, appName, recaptcha, tfaToken, tfaTokenType, buttonNames, eaToken, rememberDevice\n );\n\n if (tfaResponse) {\n const { content } = loginResponse;\n handleTFAResponse(content, username, password);\n }\n\n if (eaResponse) {\n const { content } = loginResponse;\n handleEAResponse(content, username, password);\n }\n\n if (!loginSuccess && typeof loginResponse?.message === 'string' && loginResponse?.message?.toLowerCase()?.includes('suspended')) {\n return handleCustomNavigation('/account-suspended', '_self', true);\n }\n\n if (!loginSuccess) return [loginSuccess, loginResponse, tfaResponse, eaResponse];\n\n if (isRecovery) return handleCustomNavigation('/myaccount/security', '_self', true);\n\n handleLoginSuccess(loginResponse);\n if (shouldCallNavigate) handleNavigationChangeRequest(screenToNavigate);\n};\n\nexport const getTermsOfUseLinkByLanguage = isTurkish => (\n isTurkish\n ? 'https://www.jotform.com/hizmet-kosullari'\n : 'https://www.jotform.com/terms'\n);\n\nexport const getPrivacyLinkByLanguage = isTurkish => (\n isTurkish\n ? 'https://www.jotform.com/gizlilik-politikasi'\n : 'https://www.jotform.com/privacy'\n);\n\nexport const isTurkishLanguage = (user = {}) => {\n if (!user) return false;\n const { language, location: { country_code: countryCode } = {} } = user;\n return countryCode === 'TR' || language === 'tr-TR';\n};\n\nexport const createGoogleOneTapContainerEl = () => {\n if (!document.querySelector('#oneTapLoginArea')) {\n const container = document.createElement('div');\n container.setAttribute('id', 'oneTapLoginArea');\n document.getElementsByTagName('body')[0].appendChild(container);\n }\n};\n\nexport const hideGoogleOneTapContainerEl = () => {\n const container = document.querySelector('#oneTapLoginArea');\n if (container) {\n container.style.display = 'none';\n }\n};\n","import React from 'react';\nimport { string, func, element } from 'prop-types';\nimport { t } from '@jotforminc/translation';\nimport { Texts } from '@jotforminc/constants';\nimport { LogoSalesforceLogomarkColor } from '@jotforminc/svg-icons';\n\nexport default function SalesforceButton({\n text,\n onClick,\n classNames,\n icon,\n ariaLabel\n}) {\n return (\n \n {icon}\n {text || t(Texts.CONNECT_SALESFORCE)}\n \n );\n}\n\nSalesforceButton.propTypes = {\n text: string,\n onClick: func.isRequired,\n classNames: string,\n icon: element,\n ariaLabel: string\n};\n\nSalesforceButton.defaultProps = {\n text: '',\n classNames: '',\n icon: ,\n ariaLabel: t(Texts.SIGN_UP_SALESFORCE)\n};\n","import React from 'react';\nimport { string, func, element } from 'prop-types';\nimport { t } from '@jotforminc/translation';\nimport { Texts } from '@jotforminc/constants';\n\nimport FBIcon from '../temporary-duplicate/assets/svg/icon_fb.svg';\n\nexport default function FacebookButton({\n text,\n onClick,\n classNames,\n icon,\n ariaLabel\n}) {\n return (\n \n {icon}\n {text || t(Texts.CONNECT_FACEBOOK)}\n \n );\n}\n\nFacebookButton.propTypes = {\n text: string,\n onClick: func.isRequired,\n classNames: string,\n icon: element,\n ariaLabel: string\n};\n\nFacebookButton.defaultProps = {\n text: '',\n classNames: 'xcl-button-fb test_fb_login',\n icon: ,\n ariaLabel: t(Texts.SIGN_UP_FACEBOOK)\n};\n","import React from 'react';\nimport { string, func, element } from 'prop-types';\nimport { t } from '@jotforminc/translation';\nimport { Texts } from '@jotforminc/constants';\n\nimport GoogleIcon from '../temporary-duplicate/assets/svg/icon_gl.svg';\n\nexport default function GoogleButton({\n text,\n onClick,\n classNames,\n icon,\n ariaLabel\n}) {\n return (\n \n {icon}\n {text || t(Texts.CONNECT_GOOGLE)}\n \n );\n}\n\nGoogleButton.propTypes = {\n text: string,\n onClick: func.isRequired,\n classNames: string,\n icon: element,\n ariaLabel: string\n};\n\nGoogleButton.defaultProps = {\n text: '',\n classNames: 'xcl-button-gl test_gl_login',\n icon: ,\n ariaLabel: t(Texts.SIGN_UP_GOOGLE)\n};\n","\n import API from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n \n import content, * as namedExport from \"!!../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[1]!../../../../../node_modules/.pnpm/postcss-loader@8.1.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__postcss@8.4.38_typescript@5.0.4__5lvnl7xmoydmkkvnqez3gfmijq/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[2]!../../../../../node_modules/.pnpm/sass-loader@14.2.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__sass-embedded@1.78.0_sass@1.75.0_w_m6gyofr5lgwlemccsvqwra2uoi/node_modules/sass-loader/dist/cjs.js!./style.scss\";\n \n \n\nvar options = {};\n\n;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[1]!../../../../../node_modules/.pnpm/postcss-loader@8.1.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__postcss@8.4.38_typescript@5.0.4__5lvnl7xmoydmkkvnqez3gfmijq/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[2]!../../../../../node_modules/.pnpm/sass-loader@14.2.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__sass-embedded@1.78.0_sass@1.75.0_w_m6gyofr5lgwlemccsvqwra2uoi/node_modules/sass-loader/dist/cjs.js!./style.scss\";\n export default content && content.locals ? content.locals : undefined;\n","/* eslint-disable max-len */\nimport Styled from 'styled-components';\n\nconst onSmallMobile = 'screen and (max-height: 600px)';\n\nexport const ScPassword = Styled.div`\n * { box-sizing: border-box; }\n\n font-size: 16px;\n max-width: 340px;\n\n .xcl {\n &-field-wr {\n position: relative;\n\n &.forPassword {\n .xcl-lbl-err {\n span { display: block; margin-bottom: 4px; }\n span:before { display: inline-block; content: '-'; margin-right: 3px; }\n }\n }\n }\n\n &-togglePass-btn {\n position: absolute;\n top: 34px;\n right: 7px;\n background: none;\n border: 0;\n padding: 0;\n z-index: 2;\n border-radius: 0;\n border: 0;\n background-color: transparent;\n color: inherit;\n text-align: center;\n height: 30px;\n width: 32px;\n border-radius: 4px;\n display: flex;\n align-items: center;\n justify-content: center;\n border: 1px solid transparent;\n transition: all .2s;\n\n #signupPage & {\n .tiny-mobile & {\n top: 30px;\n @media ${onSmallMobile}{\n top: 25px;\n right: 1px;\n }\n }\n }\n\n #myaccount & {\n .tiny-mobile & {\n top: 30px;\n @media ${onSmallMobile}{\n top: 25px;\n right: 1px;\n }\n }\n }\n\n .primaryHeader & {\n right: 5px;\n width: 30px;\n height: 26px;\n }\n\n &:focus-visible {\n outline: none;\n border-color: #799AF8;\n box-shadow: 0 0 0 3px #d3ddfd;\n background-color: #eaf0ff;\n .xcl-togglePass-icon {\n svg{\n path{\n fill: #2e69ff;\n }\n }\n }\n }\n\n &:hover{\n background-color: #eaf0ff;\n\n .xcl-togglePass-icon {\n svg{\n path{\n fill: #2e69ff;\n }\n }\n\n .xcl-togglePass-tooltip {\n opacity: 1;\n margin-top: -24px;\n }\n }\n\n }\n\n }\n &-togglePass-icon { display: block; color: rgb(136, 148, 171); }\n &-togglePass-icon svg { width: 20px; height:20px; display: block!important; }\n &-togglePass-tooltip {\n background-color: #2b3245;\n font-size: 12px;\n font-weight: normal;\n font-stretch: normal;\n font-style: normal;\n line-height: 1.33;\n letter-spacing: normal;\n text-align: right;\n color: #c3cad8;\n white-space: nowrap;\n position: absolute;\n right: 3px;\n top: 0;\n min-height: 24px;\n border-radius: 2px;\n padding: 4px;\n opacity: 0;\n pointer-events: none;\n margin-top: -22px;\n transition: all .2s;\n &:after{\n content: \"\";\n display: block;\n width: 12px;\n height: 12px;\n position: absolute;\n right: 6px;\n bottom: -6px;\n z-index: -1;\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12px' height='6.1px' viewBox='0 0 12 6.1' style='enable-background:new 0 0 12 6.1;' xml:space='preserve'%3E%3Cpath style='fill:%232B3245' d='M1.6,0.8l3.6,4.8c0.4,0.5,1.2,0.5,1.6,0l3.6-4.8C10.8,0.3,11.4,0,12,0H0C0.6,0,1.2,0.3,1.6,0.8z'/%3E%3C/svg%3E%0A\");\n background-position: bottom center;\n background-repeat: no-repeat;\n }\n }\n &-inp {\n font-size: 16px;\n display: block;\n width: 100%;\n margin-top: 8px;\n position: relative;\n background-color: #fff;\n z-index: 2;\n\n &::-webkit-credentials-auto-fill-button,\n &::-webkit-contacts-auto-fill-button {\n background-color: #8894AB;\n }\n\n &.forPassword{\n padding-right: 44px;\n\n html[dir=\"rtl\"] & {\n padding-left: 44px;\n padding-right: 12px;\n }\n }\n\n &:focus {\n outline: none;\n border-color: #799AF8;\n box-shadow: 0 0 0 3px #d3ddfd;\n }\n &::placeholder { color: #b9c5cb; }\n &.errored { border-color: #D4372C; box-shadow: 0px 0px 0px 3px #F6D7D5; }\n &.successed { border-color: #4caf50; box-shadow: 0 0 0px 3px #c8e6c9; }\n }\n\n &-lbl-err {\n background-color: #D4372C;\n color: #fff;\n display: inline-block;\n margin-top: 0;\n font-size: 12px;\n text-align: left;\n padding: 0 8px;\n border-radius: 2px;\n z-index: 1;\n line-height: 0;\n transition: all .2s;\n overflow: hidden;\n\n &.isVisible { \n padding: 4px 8px;\n margin-top: 8px;\n line-height: 16px;\n }\n &.forTerms { bottom: 5px; border-radius: 0 4px 4px 4px; padding: 4px 8px; }\n }\n }\n\n @keyframes fieldsSmoothEnter {\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n\n .hPass-reqs {\n color: #0A1551;\n font-size: .875rem;\n text-align: left;\n line-height: 1.5em;\n margin-bottom: 2em;\n transition: max-height .3s ease-in-out;\n\n p { \n margin: 0.5em 0 1em;\n color: #333;\n }\n ul {\n margin: 0; padding: 0 0 0 1.25em; list-style-type: disc;\n\n &.has-icon {\n padding: 0;\n list-style-type: none;\n }\n }\n li {\n opacity: 0;\n animation: fieldsSmoothEnter .3s ease-in-out forwards;\n display: flex;\n align-items: center;\n }\n li + li { margin-top: .25em; }\n\n .hPass-reqs-info-text {\n display: flex;\n align-items: center;\n color: #6C73A8;\n gap: 0.5rem;\n }\n\n .hPass-reqs-info-icon {\n flex-shrink: 0;\n width: 1rem;\n height: 1rem;\n }\n }\n\n .hPass-req {\n span {\n width: 16px;\n height: 16px;\n border-radius: 50%;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n margin-right: 8px;\n\n html[dir=\"rtl\"] & {\n margin-left: 8px;\n margin-right: 0;\n }\n }\n\n &.isGood, &.isBad {\n svg {\n fill: #fff;\n width: 12px;\n height: 12px;\n }\n }\n\n &.isGood {\n color: #2B3245;\n span {\n background-color: #54B45C;\n }\n }\n\n &.isBad {\n color: #2B3245;\n span {\n background-color: #FB4958;\n }\n }\n\n &.isNeutral {\n span {\n background-color: #C8CEED;\n }\n }\n }\n\n .forgot-password-ui {\n margin-left: auto;\n display: block;\n margin-top: 8px;\n background-color: transparent;\n border: 0;\n padding: 0;\n font-size: 14px;\n color: #4277FF;\n text-decoration: underline;\n cursor: pointer;\n }\n`;\n","import React, { useRef, useEffect, useState } from 'react';\nimport {\n bool, func, shape, string\n} from 'prop-types';\n\nimport {\n IconCheckSm,\n IconXmarkSm,\n IconInfoCircleFilled\n} from '@jotforminc/svg-icons';\n\nconst icons = {\n isGood: ,\n isBad: \n};\n\nconst RequirementsList = ({\n checkReuse,\n getSecureRuleClass,\n hasSecureTextIcon,\n securePassErrors,\n securePassText,\n securePassContText,\n securePassDescText,\n secureRules,\n passwordSecurityRules\n}) => {\n const [totalHeight, setTotalHeight] = useState(0);\n const descTextRef = useRef(null);\n const requirementListRef = useRef(null);\n\n useEffect(() => {\n const validatedSecuresValues = Object.values(securePassErrors);\n if (!validatedSecuresValues.includes(false) && !validatedSecuresValues.includes(null)) {\n setTotalHeight(0);\n } else if (descTextRef.current && requirementListRef.current) {\n setTotalHeight(descTextRef.current.clientHeight + requirementListRef.current.clientHeight);\n }\n }, [securePassErrors]);\n\n return (\n \n

\n {checkReuse ? (\n <>\n \n {securePassText}\n {' '}\n {securePassContText}\n \n ) : (\n <>\n \n {securePassDescText}\n \n )}\n

\n \n {Object.entries(securePassErrors)\n .map(([ruleKey, ruleValue], index) => {\n if (ruleKey === 'reuse') return null;\n const isPasswordSecurityRule = passwordSecurityRules[ruleKey];\n const isVisible = (!isPasswordSecurityRule || (ruleValue === false && isPasswordSecurityRule));\n\n return isVisible && (\n \n {hasSecureTextIcon && (\n \n {icons[getSecureRuleClass(ruleValue)]}\n \n )}\n {secureRules[ruleKey]}\n \n );\n })}\n \n \n );\n};\n\nRequirementsList.propTypes = {\n checkReuse: bool,\n getSecureRuleClass: func,\n hasSecureTextIcon: bool,\n securePassErrors: shape({}),\n securePassText: string,\n securePassContText: string,\n securePassDescText: string,\n secureRules: shape({}),\n passwordSecurityRules: shape({})\n};\n\nRequirementsList.defaultProps = {\n checkReuse: false,\n getSecureRuleClass: f => f,\n hasSecureTextIcon: true,\n securePassErrors: {},\n securePassText: '',\n securePassContText: '',\n securePassDescText: '',\n secureRules: {},\n passwordSecurityRules: {}\n};\n\nexport default RequirementsList;\n","import { t } from '@jotforminc/translation';\nimport { Texts } from '@jotforminc/constants';\n\nexport const REGULAR_VALIDATOR_RULE_DEFAULTS = [{\n rule_name: 'characterCount',\n regex: '.{8,}',\n error_message: t(Texts.SECURE_PASS_CHAR_COUNT)\n}, {\n rule_name: 'noLeadingOrTrailingWhitespace',\n // eslint-disable-next-line no-useless-escape\n regex: '^[^\\s].*[^\\s]$',\n error_message: t(Texts.SECURE_PASS_NO_LEADING_OR_TRAILING_WHITESPACE)\n}];\n\nexport const SECURE_VALIDATOR_RULE_DEFAULTS = [\n ...REGULAR_VALIDATOR_RULE_DEFAULTS, {\n rule_name: 'number',\n regex: '[0-9]+',\n error_message: t(Texts.SECURE_PASS_NUMBER)\n }, {\n rule_name: 'lowercase',\n regex: '[a-z]+',\n error_message: t(Texts.SECURE_PASS_LOWERCASE)\n }, {\n rule_name: 'uppercase',\n regex: '[A-Z]+',\n error_message: t(Texts.SECURE_PASS_UPPERCASE)\n }, {\n rule_name: 'specialChar',\n regex: '[^a-zA-Z0-9]',\n error_message: t(Texts.SECURE_PASS_SPECIAL_CHAR)\n }];\n","import React, { useEffect, useState } from 'react';\nimport { bool, string } from 'prop-types';\nimport { t } from '@jotforminc/translation';\n\nconst ErrorAlert = ({\n message,\n enableScreenReaderAlert\n}) => {\n const [readAlertMessage, setReadAlertMessage] = useState(true);\n\n useEffect(() => {\n if (!enableScreenReaderAlert) return;\n\n const timer = setTimeout(\n () => {\n setReadAlertMessage(false);\n }, 5000\n );\n\n return () => {\n clearTimeout(timer);\n };\n }, []);\n\n return (\n
\n {t(message)}\n
\n );\n};\n\nErrorAlert.propTypes = {\n message: string.isRequired,\n enableScreenReaderAlert: bool\n};\n\nErrorAlert.defaultProps = {\n enableScreenReaderAlert: true\n};\n\nexport default ErrorAlert;\n","/* eslint-disable max-len */\n/* eslint-disable max-statements */\nimport React, {\n forwardRef, useImperativeHandle, useState, useRef, useEffect\n} from 'react';\nimport {\n bool, func, shape, string\n} from 'prop-types';\nimport { Hooks } from '@jotforminc/uikit';\nimport { t } from '@jotforminc/translation';\nimport { Texts } from '@jotforminc/constants';\n\nimport '../../styles/style.scss';\nimport { IconEyeSlashFilled, IconEyeFilled } from '@jotforminc/svg-icons';\nimport { checkPasswordReuse, fetchUserCredentialRuleSet } from '../../utils/helper';\nimport { ScPassword } from './scPassword';\nimport RequirementsList from './RequirementsList';\nimport { REGULAR_VALIDATOR_RULE_DEFAULTS, SECURE_VALIDATOR_RULE_DEFAULTS } from './constants';\nimport ErrorAlert from '../ErrorAlert';\n\n// eslint-disable-next-line complexity\nconst Password = forwardRef(({\n getCurrentPasswordValue,\n hasForgotPassUI,\n forgotPassFunc,\n passwordLabel,\n passwordConfirmationLabel,\n secure,\n secureDisplay,\n toggleSecureDisplay,\n checkReuse,\n includeConfirm,\n onKeyDown,\n passwordErrorServer,\n resetPasswordError,\n setSecurePaswordError,\n callbackConfirmPassError,\n userType,\n requestCurrentPassword,\n allowPasswordShow,\n onChange,\n onPasswordInputBlur,\n sendValueToParent,\n initialValue,\n clearInitialOnFocus,\n hasErrorMessage,\n hasSecureTextIcon,\n className,\n disclaimer,\n autoComplete,\n onPasswordValidate,\n isOnboardingFlow,\n customTexts,\n hideNeutralRules\n}, ref) => {\n const basicRuleMessages = { required: t(Texts.FIELD_REQUIRED) };\n if (includeConfirm) Object.assign(basicRuleMessages, { shouldMatch: t(Texts.FIELDS_SHOULD_MATCH) });\n const allRuleMessagesRef = useRef({ ...basicRuleMessages });\n const inputPassRef = useRef();\n const inputConfirmPassRef = useRef();\n const inputCurrentPassRef = useRef();\n\n const initialState = {\n passwordMode: 'hide',\n securePass: {},\n regularPass: {}\n };\n\n const [currentPassword, setCurrentPassword] = useState('');\n const [currentPasswordError, setCurrentPasswordError] = useState('');\n const [password, setPassword] = useState(initialValue);\n const [isCleared, setCleared] = useState(false); // Only works with clearInitialOnFocus prop\n const [isChanged, setChanged] = useState(false); // Only works with clearInitialOnFocus prop\n const [confirmPassword, setConfirmPassword] = useState('');\n const [requiredPassError, setRequiredPassError] = useState('');\n const [confirmPassError, setConfirmPassError] = useState('');\n const [passwordMode, setPasswordMode] = useState(initialState.passwordMode);\n\n // rules that is visible only if matches\n const [passwordSecurityRules, setPasswordSecurityRules] = useState();\n\n // rules\n const regularValidatorRules = useRef(REGULAR_VALIDATOR_RULE_DEFAULTS);\n const secureValidatorRules = useRef(SECURE_VALIDATOR_RULE_DEFAULTS);\n\n // pass errors\n const [regularPassErrors, setRegularPassErrors] = useState(initialState.regularPass);\n const [securePassErrors, setSecurePassErrors] = useState(initialState.securePass);\n const [passwordError, setPasswordError] = useState();\n\n // rule messages\n const [regularRuleMessages, setRegularRuleMessages] = useState();\n const [secureRuleMessages, setSecureRuleMessages] = useState();\n const [passwordErrorMessage, setPasswordErrorMessage] = useState();\n\n // requirements list\n const [showRegularRequirementsList, setShowRegularRequirementsList] = useState(false);\n const [showSecureRequirementsList, setShowSecureRequirementsList] = useState(!toggleSecureDisplay);\n\n const [requirementDescText, setRequirementDescText] = useState('');\n\n useEffect(() => {\n setPasswordError(passwordErrorServer ? { passwordErrorServer: false } : null);\n setPasswordErrorMessage(passwordErrorServer ? { passwordErrorServer } : null);\n }, [passwordErrorServer]);\n\n useEffect(() => {\n const initPasswordRuleSet = rules => {\n let errorTypes = {};\n let nextMessages = {};\n\n rules.forEach(({ rule_name: ruleName, error_message: errorMessage }) => {\n errorTypes = { ...errorTypes, [ruleName]: null };\n nextMessages = { ...nextMessages, [ruleName]: t(errorMessage) };\n });\n\n Object.assign(allRuleMessagesRef.current, { [secure ? 'secureRules' : 'regularRules']: nextMessages });\n\n if (secure && checkReuse) {\n setSecureRuleMessages({ ...nextMessages, reuse: t(Texts.SECURE_PASS_REUSE) });\n setSecurePassErrors({ ...errorTypes });\n } else if (secure) {\n setSecureRuleMessages({ ...nextMessages });\n setSecurePassErrors({ ...errorTypes });\n } else {\n setRegularRuleMessages({ ...nextMessages });\n setRegularPassErrors({ ...errorTypes });\n }\n };\n\n const constructPasswordRules = credentialRules => {\n const passwordSecurityRuleNames = {};\n const passwordRuleData = credentialRules.find(({ field_name: fieldName }) => fieldName === 'password');\n const passwordSecurityRuleData = credentialRules.find(({ field_name: fieldName }) => fieldName === 'password_security');\n\n passwordSecurityRuleData?.rules.forEach(rule => {\n passwordSecurityRuleNames[rule.rule_name] = true;\n });\n\n setPasswordSecurityRules({ ...passwordSecurityRuleNames });\n\n return [\n passwordRuleData.explanation,\n [\n ...passwordRuleData.rules,\n ...(passwordSecurityRuleData?.rules || [])\n ]\n ];\n };\n\n const getPasswordRuleSet = async () => {\n try {\n const credentialRules = await fetchUserCredentialRuleSet(secure);\n const [explanation, rules] = constructPasswordRules(credentialRules);\n\n if (!secure) {\n regularValidatorRules.current = rules;\n } else {\n secureValidatorRules.current = rules;\n }\n\n setRequirementDescText(t(explanation));\n initPasswordRuleSet(rules);\n } catch (error) {\n setRequirementDescText(t(Texts.SECURE_PASS_TEST_DESC));\n const defaultRules = secure ? SECURE_VALIDATOR_RULE_DEFAULTS : REGULAR_VALIDATOR_RULE_DEFAULTS;\n initPasswordRuleSet(defaultRules);\n }\n };\n\n getPasswordRuleSet();\n }, []);\n\n const validateSomeRules = (value, ruleSet) => {\n return ruleSet.reduce((prevRules, { rule_name: ruleName, regex }) => {\n return {\n ...prevRules,\n [ruleName]: (new RegExp(regex)).test(value)\n };\n }, {});\n };\n\n const handleRequirementsListView = (reuseChecked = false) => {\n if (toggleSecureDisplay && password) {\n // from props\n onPasswordInputBlur();\n\n // add this feature for hipaa wizard\n let hasError = false;\n Object.keys(securePassErrors).forEach(key => {\n if (\n key !== (!reuseChecked ? 'reuse' : '')\n && !securePassErrors[key]\n ) {\n hasError = true;\n }\n });\n\n setShowSecureRequirementsList(hasError);\n }\n };\n\n const backenDefinedRulesHasError = current => {\n // A/B Test: signupOnboardingIV\n const defaultChecker = val => !val; // null, false, undefined etc. will be counted as hasError is true\n const abTestChecker = val => val === false; // we want it to be exactly false, because initially is null and we don't want it to be counted as hasError is true\n let checker = isOnboardingFlow ? abTestChecker : defaultChecker;\n if (hideNeutralRules) checker = val => val === false;\n\n let hasError = false;\n Object.keys(current).forEach(key => {\n if (key && checker(current[key])) {\n hasError = true;\n }\n });\n return hasError;\n };\n\n const validateCurrentPassword = () => {\n if (!currentPassword) {\n setCurrentPasswordError(t(Texts.FIELD_REQUIRED));\n return false;\n }\n setCurrentPasswordError(false);\n return true;\n };\n\n const validatePassword = () => {\n let hasProblem = false;\n Object.entries(allRuleMessagesRef.current)\n .forEach(([rule, errorMessage]) => {\n switch (rule) {\n case 'required':\n if (!password) {\n setRequiredPassError(errorMessage);\n setSecurePaswordError(['passwordReqired']);\n hasProblem = true;\n } else {\n setRequiredPassError('');\n }\n break;\n case 'regularRules': {\n const validatedRegulars = validateSomeRules(password, regularValidatorRules.current);\n setRegularPassErrors({ ...validatedRegulars });\n break;\n }\n case 'secureRules': {\n // 'reuse' is handled later.\n const validatedSecures = validateSomeRules(password, secureValidatorRules.current);\n setSecurePassErrors({ ...validatedSecures });\n break;\n }\n default:\n break;\n }\n });\n return hasProblem;\n };\n\n const validateConfirmPass = () => {\n let hasProblem = false;\n if (!includeConfirm) return hasProblem;\n\n Object.entries(allRuleMessagesRef.current)\n .forEach(([rule, errorMessage]) => {\n switch (rule) {\n case 'required':\n if (!confirmPassword) {\n setConfirmPassError(errorMessage);\n hasProblem = true;\n callbackConfirmPassError('confirmPasswordRequired');\n } else {\n setConfirmPassError('');\n hasProblem = false;\n callbackConfirmPassError('');\n }\n break;\n case 'shouldMatch':\n if (password && confirmPassword) {\n const match = password === confirmPassword;\n setConfirmPassError(!match ? errorMessage : '');\n callbackConfirmPassError(!match ? 'shouldMatch' : '');\n hasProblem = !match;\n }\n break;\n default:\n break;\n }\n });\n return hasProblem;\n };\n\n const makeAllValidations = async () => {\n if (requestCurrentPassword) {\n const currPassValid = validateCurrentPassword();\n if (!currPassValid) {\n return { isValid: currPassValid };\n }\n }\n\n const passHasProblem = validatePassword();\n let isValid = !passHasProblem;\n\n if (!secure) {\n const regularRulesHasProblem = Object.entries(regularPassErrors)\n .filter(([, val]) => !val).length > 0;\n isValid = isValid && !regularRulesHasProblem;\n }\n\n const confPassHasProblem = validateConfirmPass();\n if (includeConfirm) {\n isValid = isValid && !confPassHasProblem;\n }\n\n if (!secure) {\n return {\n isValid,\n password,\n currentPassword\n };\n }\n\n const secureHasProblem = secure ? Object.entries(securePassErrors)\n .filter(([term]) => term !== 'reuse') // Will be checked manually.\n .filter(([, val]) => !val).length > 0\n : false;\n\n isValid = isValid && !secureHasProblem;\n\n if (!isValid || !checkReuse) { // if not valid by now, no need to check reuse.\n return {\n isValid,\n password,\n currentPassword\n };\n }\n\n // Lets make last remaining validation\n let isReuseAttempt = false;\n try {\n const { content } = await checkPasswordReuse(password, userType);\n isReuseAttempt = content;\n } catch (err) {\n isReuseAttempt = err?.data?.message;\n }\n\n setSecurePassErrors({\n ...securePassErrors,\n reuse: !isReuseAttempt\n });\n\n handleRequirementsListView(true);\n\n return {\n isValid: isValid && !isReuseAttempt,\n password,\n currentPassword\n };\n };\n\n const handlePasswordChange = e => {\n const { value } = e.target;\n setPassword(value);\n if (sendValueToParent) {\n onChange(value);\n }\n if (clearInitialOnFocus) {\n setChanged(true);\n }\n };\n\n const handleFocus = () => {\n if (clearInitialOnFocus && !isCleared) {\n setPassword('');\n setCleared(true);\n }\n // getUserVariant();\n };\n\n const handleBlur = () => {\n if (clearInitialOnFocus && isCleared && !isChanged) {\n setPassword(initialValue);\n setCleared(false);\n }\n\n handleRequirementsListView();\n };\n\n const handleCurrentPasswordChange = e => {\n const { value } = e.target;\n setCurrentPassword(value);\n getCurrentPasswordValue(value);\n };\n\n const handleConfirmPasswordChange = e => {\n const { value } = e.target;\n setConfirmPassword(value);\n };\n\n const handlePasswordModeToggle = inputRef => {\n inputRef.current.focus(); // Use here to prevent flickring keyboard on mobile devices\n setPasswordMode(passwordMode === 'hide' ? 'show' : 'hide');\n };\n\n useImperativeHandle(ref, () => ({\n validate: makeAllValidations,\n inputRef: inputPassRef\n }));\n\n const getSecureRuleColor = status => {\n const colors = {\n default: '#8d8fa8',\n defaultWithIcon: '#2B3245',\n item: {\n success: '#01bd6f',\n error: '#f23a3c'\n },\n reuse: {\n success: '#2B3245',\n error: '#f23a3c'\n }\n };\n\n if (hasSecureTextIcon && status.type !== 'reuse') return colors.defaultWithIcon;\n if (status.value === null) return colors.default;\n\n return status.value ? colors[status.type].success : colors[status.type].error;\n };\n\n const getSecureRuleClass = status => {\n if (status === null) return 'isNeutral';\n return status ? 'isGood' : 'isBad';\n };\n\n const renderSecureRequirementsList = () => (\n \n );\n\n Hooks.useEffectIgnoreFirst(() => {\n validatePassword();\n if (password && confirmPassword) {\n validateConfirmPass();\n }\n resetPasswordError();\n }, [password]);\n\n Hooks.useEffectIgnoreFirst(() => {\n validateConfirmPass();\n }, [confirmPassword]);\n\n Hooks.useEffectIgnoreFirst(() => {\n const regularPassHasError = backenDefinedRulesHasError(regularPassErrors);\n const securePassHasError = backenDefinedRulesHasError(securePassErrors);\n\n setShowRegularRequirementsList(passwordError || regularPassHasError);\n setShowSecureRequirementsList(passwordError || securePassHasError);\n onPasswordValidate({ passwordError, regularPassErrors, securePassErrors });\n }, [passwordError, regularPassErrors, securePassErrors]);\n\n return (\n \n {requestCurrentPassword && (\n
\n \n \n {\n hasForgotPassUI\n ? (\n \n {t('Forgot Password?')}\n \n ) : null\n }\n {allowPasswordShow && (\n handlePasswordModeToggle(inputCurrentPassRef)}\n >\n \n {passwordMode === 'hide' ? : }\n \n \n )}\n {currentPasswordError && hasErrorMessage && }\n
\n )}\n
\n \n \n {disclaimer && (\n
\n {disclaimer}\n
\n )}\n {allowPasswordShow && (\n handlePasswordModeToggle(inputPassRef)}\n >\n \n {passwordMode === 'hide'\n ? (\n <>\n \n {t(Texts.SHOW_PASSWORD)}\n \n )\n : (\n <>\n \n {t(Texts.HIDE_PASSWORD)}\n \n )}\n \n \n )}\n {\n (showRegularRequirementsList && (\n \n ))\n }\n \n {requiredPassError}\n
\n \n {\n (secure && secureDisplay === 'top' && showSecureRequirementsList) ? (\n renderSecureRequirementsList()\n ) : null\n }\n {\n includeConfirm ? (\n
\n \n \n handlePasswordModeToggle(inputConfirmPassRef)}\n >\n \n {passwordMode === 'hide'\n ? (\n <>\n \n {t(Texts.SHOW_PASSWORD)}\n \n )\n : (\n <>\n \n {t(Texts.HIDE_PASSWORD)}\n \n )}\n \n \n
\n {confirmPassError && hasErrorMessage ? confirmPassError : null}\n
\n
\n ) : null\n }\n {\n (secure && secureDisplay !== 'top' && showSecureRequirementsList) ? (\n renderSecureRequirementsList()\n ) : null\n }\n
\n );\n});\n\nPassword.propTypes = {\n hasForgotPassUI: bool,\n forgotPassFunc: func,\n getCurrentPasswordValue: func,\n passwordLabel: string,\n passwordConfirmationLabel: string,\n secure: bool,\n secureDisplay: string,\n toggleSecureDisplay: bool,\n includeConfirm: bool,\n checkReuse: bool,\n onKeyDown: func,\n passwordErrorServer: string,\n resetPasswordError: func,\n setSecurePaswordError: func,\n callbackConfirmPassError: func,\n userType: string,\n requestCurrentPassword: bool,\n onChange: func,\n sendValueToParent: bool,\n allowPasswordShow: bool,\n clearInitialOnFocus: bool,\n initialValue: string,\n onPasswordInputBlur: func,\n hasErrorMessage: bool,\n hasSecureTextIcon: bool,\n className: string,\n disclaimer: string,\n autoComplete: string,\n onPasswordValidate: func,\n isOnboardingFlow: bool,\n customTexts: shape({\n regularRequirementDesc: string,\n secureRequirementDesc: string,\n inputPlaceholder: string\n }),\n hideNeutralRules: bool\n};\n\nPassword.defaultProps = {\n hasForgotPassUI: false,\n forgotPassFunc: f => f,\n getCurrentPasswordValue: f => f,\n passwordLabel: Texts.PASSWORD_TEXT,\n passwordConfirmationLabel: Texts.CONF_PASSWORD_TEXT,\n secure: false,\n secureDisplay: '',\n toggleSecureDisplay: false,\n includeConfirm: false,\n checkReuse: false,\n onKeyDown: f => f,\n passwordErrorServer: '',\n resetPasswordError: f => f,\n setSecurePaswordError: f => f,\n callbackConfirmPassError: f => f,\n userType: 'formuser',\n requestCurrentPassword: false,\n onChange: f => f,\n sendValueToParent: false,\n allowPasswordShow: true,\n clearInitialOnFocus: false,\n initialValue: '',\n onPasswordInputBlur: f => f,\n hasErrorMessage: true,\n hasSecureTextIcon: false,\n className: '',\n disclaimer: null,\n autoComplete: null,\n onPasswordValidate: f => f,\n isOnboardingFlow: false,\n customTexts: {\n regularRequirementDesc: '',\n secureRequirementDesc: '',\n inputPlaceholder: ''\n },\n hideNeutralRules: false\n};\n\nexport default Password;\n","import React from 'react';\nimport { bool, element } from 'prop-types';\nimport { translationRenderer } from '@jotforminc/translation';\nimport { Texts } from '@jotforminc/constants';\n\nimport { getTermsOfUseLinkByLanguage, getPrivacyLinkByLanguage } from '../utils/loginSignup';\n\nconst TermsAndConditionsUrls = ({ LabelRenderer, isTurkish }) => {\n return (\n \n {translationRenderer(Texts.AGREE_SERVICE_POLICY)({\n renderer1: str => {str},\n renderer2: str => {str},\n renderer3: str => {str}\n })}\n {' '}\n {/* additional terms only for the turkish users */}\n {isTurkish && (\n translationRenderer(Texts.AGREE_FOR_TURKISH_USERS)({\n renderer1: str => (\n \n {' '}\n {str}\n \n ),\n renderer2: str => {str}\n })\n )}\n \n );\n};\n\nTermsAndConditionsUrls.propTypes = {\n LabelRenderer: element,\n isTurkish: bool\n};\n\nTermsAndConditionsUrls.defaultProps = {\n // eslint-disable-next-line react/prop-types\n LabelRenderer: ({ children }) => <>{children},\n isTurkish: false\n};\n\nexport default TermsAndConditionsUrls;\n","import React from 'react';\nimport { string, func, element } from 'prop-types';\nimport { t } from '@jotforminc/translation';\nimport { Texts } from '@jotforminc/constants';\nimport MicrosoftIcon from '../assets/icon_ms.svg';\n\nexport default function MicrosoftButton({\n text,\n onClick,\n classNames,\n icon,\n ariaLabel\n}) {\n return (\n \n {icon}\n {text || t(Texts.CONNECT_MICROSOFT)}\n \n );\n}\n\nMicrosoftButton.propTypes = {\n text: string,\n onClick: func.isRequired,\n classNames: string,\n icon: element,\n ariaLabel: string\n};\n\nMicrosoftButton.defaultProps = {\n text: '',\n classNames: 'xcl-button-ms test_ms_login',\n icon: ,\n ariaLabel: t(Texts.SIGN_UP_MICROSOFT)\n};\n","import React from 'react';\nimport { string, func, element } from 'prop-types';\nimport { t } from '@jotforminc/translation';\nimport { Texts } from '@jotforminc/constants';\n\nimport AppleIcon from '../temporary-duplicate/assets/svg/icon_apple_white.svg';\n\nexport default function AppleButton({\n text,\n onClick,\n classNames,\n icon,\n ariaLabel\n}) {\n return (\n \n {icon}\n {text || t(Texts.LOGIN_APPLE)}\n \n );\n}\n\nAppleButton.propTypes = {\n text: string,\n onClick: func.isRequired,\n classNames: string,\n icon: element,\n ariaLabel: string\n};\n\nAppleButton.defaultProps = {\n text: '',\n classNames: 'xcl-button-ap test_apple_login',\n icon: ,\n ariaLabel: t(Texts.SIGN_UP_APPLE)\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { t } from '@jotforminc/translation';\nimport { Texts } from '@jotforminc/constants';\nimport { IconSalesforceFilled } from '@jotforminc/svg-icons';\n\nimport { isPlatformSalesforce, salesforceSocialLoginLogger } from '../utils/helper';\nimport GoogleButton from './GoogleButton';\nimport SalesforceButton from './SalesforceButton';\nimport MicrosoftButton from './MicrosoftButton';\nimport FacebookButton from './FacebookButton';\nimport AppleButton from './AppleButton';\n\nimport GoogleIcon36 from '../assets/icon_gl_36.svg';\nimport MicrosoftIcon36 from '../assets/icon_ms_36.svg';\nimport FacebookIcon36 from '../assets/icon_fb_36.svg';\nimport AppleIcon36 from '../assets/icon_ap_36.svg';\n\nconst RenderSocialButtons = ({\n registerMsAbTestAction,\n showSalesforceLogin,\n onGoogleLoginClick,\n onSalesforceLoginClick,\n onMicrosoftLoginClick,\n onFBLoginClick,\n onAppleLoginClick\n}) => {\n const isMicrosoftTeamsFormsLanding = window.location.pathname.includes('/microsoft-teams-forms/');\n const isSalesforceRelatedLanding = window.location.pathname.includes('/formassembly-alternative/');\n\n const getSocialBtnOrder = (socialPlatform = '') => {\n switch (socialPlatform) {\n case 'Google':\n if (isMicrosoftTeamsFormsLanding || isSalesforceRelatedLanding) return 2;\n return 1;\n case 'Microsoft':\n if (isMicrosoftTeamsFormsLanding) return 1;\n if (isSalesforceRelatedLanding) return 3;\n return 2;\n case 'Salesforce':\n if (isSalesforceRelatedLanding) return 1;\n return 5;\n default:\n break;\n }\n };\n\n const jfSocialOpts = [\n {\n order: getSocialBtnOrder('Google'),\n loginType: 'Google',\n renderCondition: true,\n component: }\n classNames=\"test_gl_login xcl-square-button button-gl\"\n onClick={() => {\n onGoogleLoginClick();\n registerMsAbTestAction({ action: 'click', target: 'googleLoginButton' });\n salesforceSocialLoginLogger({ action: 'click', target: 'google-login-button' });\n }}\n />\n },\n {\n order: getSocialBtnOrder('Microsoft'),\n loginType: 'Microsoft',\n renderCondition: true,\n component: }\n classNames=\"xcl-square-button button-ms\"\n onClick={() => {\n onMicrosoftLoginClick();\n registerMsAbTestAction({ action: 'click', target: 'microsoftLoginButton' });\n salesforceSocialLoginLogger({ action: 'click', target: 'microsoft-login-button' });\n }}\n />\n },\n {\n order: 3,\n loginType: 'Facebook',\n renderCondition: true,\n component: }\n classNames=\"test_fb_login xcl-square-button button-fb\"\n onClick={() => {\n onFBLoginClick();\n registerMsAbTestAction({ action: 'click', target: 'facebookLoginButton' });\n salesforceSocialLoginLogger({ action: 'click', target: 'facebook-login-button' });\n }}\n />\n },\n {\n order: 4,\n loginType: 'Apple',\n renderCondition: true,\n component: }\n classNames=\"test_apple_login xcl-square-button button-ap\"\n onClick={() => {\n onAppleLoginClick();\n registerMsAbTestAction({ action: 'click', target: 'appleLoginButton' });\n salesforceSocialLoginLogger({ action: 'click', target: 'apple-login-button' });\n }}\n />\n },\n {\n order: getSocialBtnOrder('Salesforce'),\n loginType: 'Salesforce',\n renderCondition: showSalesforceLogin === true,\n component: }\n classNames=\"test_sf_login xcl-square-button xcl-square-button-salesforce button-sf\"\n onClick={() => {\n onSalesforceLoginClick();\n registerMsAbTestAction({ action: 'click', target: 'salesforceLoginButton' });\n salesforceSocialLoginLogger({ action: 'click', target: 'salesforce-login-button' });\n }}\n />\n }\n ].sort((socialOptA, socialOptB) => (socialOptA.order - socialOptB.order));\n\n return isPlatformSalesforce() ? [\n ...jfSocialOpts.filter(q => q.loginType === 'Salesforce'),\n ...jfSocialOpts.filter(q => q.loginType !== 'Salesforce')\n ].map(q => q.renderCondition && q.component) : jfSocialOpts.map(q => q.renderCondition && q.component);\n};\n\nRenderSocialButtons.propTypes = {\n registerMsAbTestAction: PropTypes.func,\n showSalesforceLogin: PropTypes.bool,\n onGoogleLoginClick: PropTypes.func.isRequired,\n onMicrosoftLoginClick: PropTypes.func.isRequired,\n onFBLoginClick: PropTypes.func.isRequired,\n onAppleLoginClick: PropTypes.func.isRequired,\n onSalesforceLoginClick: PropTypes.func.isRequired\n};\n\nRenderSocialButtons.defaultProps = {\n registerMsAbTestAction: f => f,\n showSalesforceLogin: false\n};\n\nexport default RenderSocialButtons;\n","export const INITIATOR_TYPES = {\n SACL: 'sacl',\n INBOX: 'inbox',\n PORTAL: 'portal',\n WORKFLOW_HANDLER: 'workflow_handler',\n SSV: 'ssv' // Single Submission View\n};\n","import { RequestLayer } from '@jotforminc/request-layer';\n\nconst serverRequestInterceptor = ctx => {\n const { resp } = ctx;\n\n if (!resp?.data?.success) {\n ctx.result = Promise.reject(new Error(resp?.data?.error, { cause: resp?.data?.error_type ?? '' }));\n return;\n }\n\n if (resp) {\n ctx.result = resp;\n }\n};\n\nconst apiRequestInterceptor = ctx => {\n const { resp } = ctx;\n\n if (resp && resp.data && typeof resp.data.responseCode === 'number' && (resp.data.responseCode < 200 || resp.data.responseCode > 299)) {\n ctx.result = Promise.reject(new Error(resp?.data?.message, { cause: resp?.data?.errorType ?? '' }));\n return;\n }\n\n if (resp && resp.data) {\n ctx.result = resp.data;\n }\n};\n\nclass LoginFlowRequestManager {\n constructor({ baseURI = '/API', serverRequest = false } = {}) {\n this.layer = new RequestLayer(baseURI, {\n interceptorConfig: {\n customResponseInterceptors: [!serverRequest ? apiRequestInterceptor : serverRequestInterceptor]\n },\n engineConfig: {\n disableEngineThrowOnError: true,\n validateStatus: () => true\n }\n });\n }\n\n rsPost = data => this.layer.post('', data, {\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded'\n }\n });\n\n post = (url, ...args) => this.layer.post(url, ...args);\n\n get = (url, ...args) => this.layer.get(url, ...args);\n}\n\nexport default LoginFlowRequestManager;\n","import { getPossibleTimeZone } from '@jotforminc/utils';\nimport { INITIATOR_TYPES } from '@jotforminc/constants';\n\nimport { getScreenResolution } from '../utils/loginSignup';\nimport LoginFlowRequestManager from './manager';\n\nconst ServerManager = new LoginFlowRequestManager({ baseURI: '/server.php', serverRequest: true });\nconst APIManager = new LoginFlowRequestManager();\n\nexport const registerNewUser = ({\n email,\n password,\n name,\n username = '',\n buttonName,\n refApp,\n isAgreedTerms = '0',\n recaptcha = ''\n}) => ServerManager.rsPost({\n action: 'registerNewUser',\n email,\n password,\n name,\n isAgreedTerms,\n timezone: getPossibleTimeZone(),\n screen_resolution: getScreenResolution(),\n location: window.location.pathname,\n username,\n button_name: buttonName,\n ref_app: refApp,\n return: 1,\n recaptcha\n});\n\nexport const isEmailEligibleForRegister = ({ email, verificationHash = '' }) => ServerManager.rsPost({\n action: 'isEmailEligibleForRegister',\n email,\n ...(verificationHash && { form_user_hash: verificationHash })\n});\n\nexport const formUserPretendCreate = ({\n email,\n password,\n name,\n verificationHash,\n isHIPAA = '',\n isAgreedTerms = '0'\n}) => APIManager.post('formuser/pretendCreate?master=1', new URLSearchParams({\n email,\n password,\n name,\n isAgreedTerms,\n hash: verificationHash,\n ...(isHIPAA && { isHIPAA })\n}));\n\nexport const formUserCreate = ({\n email,\n password,\n name,\n sendVerification,\n initiator,\n isHIPAA = '',\n appName = '',\n redirectURL = '',\n isAgreedTerms = '0'\n}) => APIManager.post('formuser/register?master=1', new URLSearchParams({\n email,\n password,\n confirm_password: password,\n name,\n sendVerification,\n isAgreedTerms,\n ...(isHIPAA && { isHIPAA }),\n disablePasswordConstraints: '1',\n saclSignup: initiator === INITIATOR_TYPES.SACL,\n ...(initiator && { initiator }),\n ...(appName === 'portal-apps' && window) && { jotform_pwa: '1', referrerURL: window.location.href },\n ...(redirectURL && window) && { redirectUrl: redirectURL }\n}));\n\nexport const getEnterpriseConfigs = () => APIManager.get('enterprise/customized-configs');\n\n/**\n * Atttempt to fetch current user, if that fails,\n * attempt to fetch a formuser. combinedinfo does not\n * work here, as its return value does not fit the\n * requested parameter of the onLoginSuccess.\n */\nexport const fetchUser = () => APIManager.get('user')\n .catch(() => APIManager.get('formuser'));\n\n/**\n * Check if the user should login to the server via SSO.\n *\n * @param {string} usernameOrEmail Email or username belonging to user.\n * @returns SSO status of the user.\n */\nexport const getUserSSOStatus = usernameOrEmail => APIManager.get(`users/${usernameOrEmail}/ssoStatus`);\n\nexport const send2FAAccountRecoveryEmail = () => APIManager.post('mfa/account-recovery/send-email');\n\nexport const dispatchAction = ({ actor, action, target }) => APIManager.post('t/jfrev', {\n project: 'login-flow',\n actor,\n location: window.location && window.location.href,\n oldActions: {\n action,\n target\n }\n});\n","/* eslint-disable max-len */\n/* eslint-disable jsx-a11y/click-events-have-key-events */\n/* eslint-disable jsx-a11y/anchor-is-valid, react/sort-comp */\nimport React, { createRef } from 'react';\nimport {\n shape, bool, string, func, number, object\n} from 'prop-types';\nimport Axios from 'axios';\nimport qs from 'querystring';\nimport classNames from 'classnames';\nimport ReCAPTCHA from 'react-google-recaptcha';\nimport { t, translationRenderer } from '@jotforminc/translation';\nimport { Loading } from '@jotforminc/loading';\nimport { getEnterpriseLogo } from '@jotforminc/request-layer';\nimport {\n listenEnter,\n validateEmail,\n getPossibleTimeZone\n} from '@jotforminc/utils';\nimport { isEnterprise } from '@jotforminc/enterprise-utils';\nimport { Texts } from '@jotforminc/constants';\nimport { IconEnvelopeClosedFilled } from '@jotforminc/svg-icons';\n\nimport {\n isTurkishLanguage,\n getScreenResolution,\n handleSignupCompletedEvents,\n pushDataLayerEvent\n} from '../utils/loginSignup';\nimport SalesforceButton from './SalesforceButton';\nimport FacebookButton from './FacebookButton';\nimport GoogleButton from './GoogleButton';\nimport Password from './Password';\nimport TermsAndConditionsUrls from './TermsAndConditionsUrls';\nimport MicrosoftButton from './MicrosoftButton';\nimport EmailIcon from '../temporary-duplicate/assets/svg/icon_em.svg';\nimport ErrorAlert from './ErrorAlert';\nimport BonusSignupInfoBox from './BonusSignupInfoBox';\nimport { openOFACModal } from './OFACModal';\nimport { salesforceSocialLoginLogger, errorNormalizer } from '../utils/helper';\n\nimport GoogleIcon36 from '../assets/icon_gl_36.svg';\nimport FacebookIcon36 from '../assets/icon_fb_36.svg';\nimport RenderSocialButtons from './SocialButtons';\nimport { dispatchAction } from '../api';\n\nconst errorMessages = {\n required: Texts.FIELD_REQUIRED,\n validEmail: Texts.VALID_EMAIL,\n termsRequired: Texts.AGREE_TERMS_CONDITIONS,\n hipaaPass: {\n minCharCount: Texts.PASS_MIN_CHAR_COUNT,\n includeChars: Texts.PASS_INCL_CHARS,\n differentThanPrev: Texts.PASS_DIFF_PREV\n }\n};\nconst securePasswordTestEnabled = true;\n\nclass SignupOptions extends React.Component {\n constructor(props) {\n super(props);\n\n this.isTurkish = isTurkishLanguage(props.user);\n this.captchaRef = createRef();\n this.state = {\n name: '',\n email: props.signupPredefinedEmail,\n isAggreedTerms: false,\n isSignupLoading: false,\n screenHeight: window.innerHeight,\n user: props.user,\n showRecaptcha: false,\n recaptcha: null\n };\n this.emailRef = React.createRef();\n this.passwordRef = React.createRef();\n this.termsRef = React.createRef();\n this.isEnterpriseEnv = isEnterprise();\n this.updateWindowDimensions = this.updateWindowDimensions.bind(this);\n\n // Accessibility validation controls\n this.invalidFieldRefs = {};\n this.invalidFieldFocusOrder = ['email', 'password', 'terms'];\n }\n\n componentDidMount() {\n const { shrinkConfirmOnMobile, registerMsAbTestAction } = this.props;\n registerMsAbTestAction({ action: 'seen', target: 'signupOptions' });\n if (shrinkConfirmOnMobile) window.addEventListener('resize', this.updateWindowDimensions);\n if (window.sendMessageToJFMobile) {\n window.sendMessageToJFMobile({ signupOptions: true });\n }\n }\n\n componentWillUnmount() {\n const { shrinkConfirmOnMobile } = this.props;\n if (shrinkConfirmOnMobile) window.removeEventListener('resize', this.updateWindowDimensions);\n }\n\n getMsSignupTestClassName() {\n const { isMsSignupControlVariant, isMsSignupTestBVariant, isMsSignupTestCVariant } = this.props;\n\n switch (true) {\n case isMsSignupControlVariant:\n return 'xcl-button-control';\n case isMsSignupTestBVariant:\n return 'xcl-button-b';\n case isMsSignupTestCVariant:\n return 'xcl-button-c';\n default:\n return 'xcl-button-control';\n }\n }\n\n handleFieldChange = propName => e => {\n const { value } = e.target;\n const erroredName = `${propName}Error`;\n const showRequiredMessage = propName !== 'name' && !value;\n this.setState({\n [propName]: value,\n [erroredName]: showRequiredMessage ? t(errorMessages.required) : ''\n });\n };\n\n handleTermsChange = () => {\n const { isAggreedTerms, termsError } = this.state;\n this.setState({\n isAggreedTerms: !isAggreedTerms,\n termsError: (termsError && !isAggreedTerms) ? '' : termsError\n });\n };\n\n resetPasswordError = () => {\n this.setState({ passwordError: '', securePassErrors: [] });\n };\n\n setSecurePaswordError = errorCodes => {\n this.setState({ securePassErrors: errorCodes });\n };\n\n callbackConfirmPassError = confirmPassErrorCode => {\n this.setState({ confirmPassErrorCode });\n };\n\n focusFirstInvalidField = () => {\n let firstInvalidFieldByOrder = '';\n this.invalidFieldFocusOrder.forEach(fieldName => {\n if (!firstInvalidFieldByOrder && this.invalidFieldRefs[fieldName]) {\n firstInvalidFieldByOrder = fieldName;\n }\n });\n\n if (firstInvalidFieldByOrder && firstInvalidFieldByOrder === 'password') {\n this.invalidFieldRefs.password.current.inputRef.current.focus();\n } else if (firstInvalidFieldByOrder) {\n this.invalidFieldRefs[firstInvalidFieldByOrder]?.current?.focus();\n }\n this.invalidFieldRefs = {};\n };\n\n makeAllValidations = () => {\n return new Promise(resolve => {\n const {\n isAggreedTerms, email\n } = this.state;\n const nextState = {};\n let emailErrCode = '';\n if (!email) {\n nextState.emailError = t(errorMessages.required);\n emailErrCode = 'emailRequired';\n this.invalidFieldRefs.email = this.emailRef;\n } else if (!validateEmail(email)) {\n nextState.emailError = t(errorMessages.validEmail);\n emailErrCode = 'emailInvalid';\n this.invalidFieldRefs.email = this.emailRef;\n }\n nextState.emailErrorCode = emailErrCode;\n\n if (!this.isEnterpriseEnv && !isAggreedTerms) { // Aytekin's Request, hiding terms on enterprise signup flow.\n nextState.termsError = t(errorMessages.termsRequired);\n this.invalidFieldRefs.terms = this.termsRef;\n }\n\n this.passwordRef.current.validate().then(({ isValid }) => {\n if (!isValid) {\n this.invalidFieldRefs.password = this.passwordRef;\n }\n }).then(() => this.focusFirstInvalidField());\n\n this.setState({\n ...nextState\n }, resolve);\n }).then(() => this.passwordRef.current.validate());\n };\n\n handleKeyDown = e => listenEnter(e, this.handleSubmit);\n\n handleCaptchaSubmit = hash => {\n if (!hash) {\n dispatchAction({\n actor: window?.user?.username || window?.__formInfo?.username || 'unknown',\n target: 'so',\n action: 'captcha-expired'\n });\n return this.setState({ isSignupLoading: false });\n }\n\n this.setState({\n recaptcha: hash\n });\n\n dispatchAction({\n actor: window?.user?.username || window?.__formInfo?.username || 'unknown',\n target: 'so',\n action: 'captcha-passed'\n });\n };\n\n forceUserSignup = async (name, email, password, isAggreedTerms, recaptcha) => {\n const {\n onLoginSuccess,\n appName,\n buttonNames,\n ofacModalRef\n } = this.props;\n\n const defaultButtonName = appName ? `emailSignup-${appName}` : '';\n const buttonName = buttonNames.emailSignup ? buttonNames.emailSignup : defaultButtonName;\n const signedFromDocusignApp = new URLSearchParams(global.location.search).has('signedFromDocusignApp');\n try {\n const response = await Axios.post(\n '/server.php',\n qs.stringify({\n action: 'registerNewUser',\n email,\n password,\n name,\n isAgreedTerms: isAggreedTerms ? '1' : '0',\n timezone: getPossibleTimeZone(),\n screen_resolution: getScreenResolution(),\n location: global.location.pathname,\n username: '',\n button_name: buttonName,\n ref_app: appName,\n return: 1,\n recaptcha,\n ...(signedFromDocusignApp && { signedFromDocusignApp: 'Yes' })\n }),\n {\n withCredentials: true,\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded'\n }\n }\n );\n\n if (response.status === 200) {\n handleSignupCompletedEvents(response.data.user.username);\n response.data.newUser = true;\n onLoginSuccess(response, true);\n } else {\n this.setState({\n emailError: t('Something went wrong'),\n isSignupLoading: false,\n passwordError: ''\n });\n }\n } catch (error) {\n const { response: { data: { error: message, error_type: errorType } = {} } = {} } = error;\n const hasPasswordWarning = message.includes('PasswordWarning::');\n if (message && securePasswordTestEnabled && (hasPasswordWarning || errorType === 'password')) {\n const removedErrorCode = hasPasswordWarning ? message.replace('PasswordWarning::', '') : message;\n this.setState({\n passwordError: t(removedErrorCode),\n isSignupLoading: false\n });\n } else {\n if (this.captchaRef) {\n this.captchaRef.current?.reset();\n }\n\n if (message === \"Sorry, you can't signup from this country.\") {\n openOFACModal(ofacModalRef, email);\n }\n\n if (message === 'REQUIRE_CAPTCHA') {\n dispatchAction({\n actor: window?.user?.username || window?.__formInfo?.username || 'unknown',\n target: 'so',\n action: 'captcha-required'\n });\n return this.setState({\n isSignupLoading: false,\n showRecaptcha: true\n });\n }\n\n this.setState({\n emailError: t(message || 'Something went wrong, please try again.'),\n isSignupLoading: false,\n passwordError: ''\n });\n }\n }\n };\n\n handleSubmit = e => {\n if (e) {\n e.preventDefault();\n }\n\n pushDataLayerEvent({\n event: 'Signup',\n eventAction: 'Click'\n });\n\n const {\n name, email, isAggreedTerms, recaptcha\n } = this.state;\n const {\n apiURL,\n forceUser,\n isHIPAA,\n onLoginSuccess,\n signupPredefinedEmail,\n verificationHash,\n ofacModalRef\n } = this.props;\n\n this.handleFieldChange('name')({ target: { value: name } });\n this.makeAllValidations().then(({ isValid: isPasswordValid, password }) => {\n if (securePasswordTestEnabled) {\n const {\n emailError, emailErrorCode, termsError, confirmPassErrorCode, securePassErrors\n } = this.state;\n const currentErrors = [\n { emailError: emailError !== '' ? emailErrorCode : '' },\n { termsError: (termsError !== '' && termsError) ? 'termsRequired' : '' },\n { confirmPassErrorCode }\n ];\n securePassErrors.forEach(errCode => {\n currentErrors.push({ passwordError: errCode });\n });\n currentErrors.forEach(type => {\n const errObj = Object.entries(type)[0];\n if (errObj[1] && errObj[1] !== '') {\n if (typeof window.JotFormActions === 'function') {\n const actor = window?.user?.username || window?.__formInfo?.username || 'unknown';\n const logger = new window.JotFormActions('strongPasswordonSignupsWithNew');\n logger.tick({ actor, action: 'signUpClick', target: errObj[1] });\n }\n }\n });\n }\n\n if (!isPasswordValid) return;\n\n const errorProps = ['emailError', 'nameError', 'termsError'];\n const firstError = errorProps.find(errorProp => {\n // eslint-disable-next-line react/destructuring-assignment\n const error = this.state[errorProp];\n return !!error;\n });\n if (firstError || !isPasswordValid) {\n this.setState({ isSignupLoading: false });\n return;\n }\n const isHIPAARequestPart = isHIPAA ? '&isHIPAA=1' : '';\n this.setState({ isSignupLoading: true });\n if (forceUser) {\n this.forceUserSignup(name, email, password, isAggreedTerms, recaptcha);\n } else if (signupPredefinedEmail && verificationHash) { // TODO: need another prop\n Axios.post(\n `${apiURL}/formuser/pretendCreate?master=1`,\n qs.stringify({\n email,\n password,\n name,\n isAgreedTerms: isAggreedTerms ? '1' : '0',\n hash: verificationHash,\n isHIPAA: isHIPAA ? '1' : ''\n }),\n {\n withCredentials: true,\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded'\n }\n }\n ).then(({ data: resp }) => {\n if (resp && resp.responseCode === 200) {\n onLoginSuccess(resp);\n } else if (resp && resp.errorType) {\n if (resp.errorType === 'E_TYPE_EMAIL') {\n this.setState({ emailError: resp.message });\n }\n\n if (resp?.message === \"Sorry, you can't signup from this country.\") {\n openOFACModal(ofacModalRef, email);\n }\n\n this.setState({ isSignupLoading: false });\n } else if (resp && typeof resp.message === 'string') {\n // Shitty error handling\n // we need to change api's error results to human readable format.\n const splitted = resp.message.split('-');\n const lastPart = splitted[splitted.length - 1];\n this.setState({ emailError: lastPart.trim(), isSignupLoading: false });\n }\n });\n } else {\n const { productType, appName } = this.props;\n const sendVerification = productType === 'form' ? '1' : '0';\n const referrerURL = appName === 'portal-apps' && window ? `&jotform_pwa=1&referrerURL=${window.location.href}` : '';\n const encodedEmail = encodeURIComponent(email);\n const encodedPW = encodeURIComponent(password);\n Axios.post(`${apiURL}/formuser/register?master=1`,\n `email=${encodedEmail}&password=${encodedPW}&confirm_password=${encodedPW}&disablePasswordConstraints=1&name=${name}&isAgreedTerms=${isAggreedTerms ? '1' : ' 0'}&sendVerification=${sendVerification}${isHIPAARequestPart}${referrerURL}`,\n {\n withCredentials: true,\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded'\n }\n }).then(({ data: resp }) => {\n if (resp && resp.responseCode === 200) {\n const { content: user } = resp;\n if (window?.JFAppsManager?.isOpenedInPortal()) {\n window.JFAppsManager.userChanged(user);\n }\n\n onLoginSuccess(resp);\n } else if (resp && resp.errorType) {\n if (resp.errorType === 'E_TYPE_EMAIL') {\n let newRespMessage = (resp.message.split(':'));\n newRespMessage = t(`${newRespMessage[0]}${newRespMessage[1] ? ':' : ''}`).concat(newRespMessage[1] ? newRespMessage[1] : '').toString();\n this.setState({ emailError: newRespMessage });\n }\n\n if (resp?.message === \"Sorry, you can't signup from this country.\") {\n openOFACModal(ofacModalRef, email);\n }\n\n this.setState({ isSignupLoading: false });\n }\n });\n }\n });\n };\n\n updateWindowDimensions() {\n this.setState({ screenHeight: window.innerHeight });\n }\n\n // eslint-disable-next-line complexity\n render() {\n const enterpriseEnv = isEnterprise();\n // const isEmbed = window && window.parent && window.parent !== window;\n const {\n onNavigationChangeRequest, onSalesforceLoginClick, onGoogleLoginClick, onFBLoginClick, onMicrosoftLoginClick, enterpriseLogo,\n skippable, onSkip, greetingMessage, thereSocialError, thereErrorMessage, showLogoOnSignupOptions, greetingDescription, showFormOnSignupOptions,\n isHIPAA, includeConfirm, signupButtonText, shrinkConfirmOnMobile, shrinkConfirmHeight, disableEmail, logoSource,\n registerMsAbTestAction, isMsSignupControlVariant, isMsSignupTestBVariant, onAppleLoginClick, areSocialButtonsLoading, horizontalSocialButtons,\n squareSocialButtonStyle, hideGreetingMessageOnSignupOptions, useSwsoButtons\n } = this.props;\n\n const jfLogoSource = logoSource || 'https://cdn.jotfor.ms/assets/img/v4/logo-branding21.png';\n const jfLogo = enterpriseEnv ? getEnterpriseLogo() : jfLogoSource;\n\n const {\n email, name, emailError, nameError, isAggreedTerms, termsError, isSignupLoading, screenHeight, passwordError, user, showRecaptcha\n } = this.state;\n const userCampaign = user?.campaign || {};\n const isGuestUser = user?.account_type?.name === 'GUEST';\n const isMobileTexts = (((window.innerHeight > shrinkConfirmHeight) || !showFormOnSignupOptions) && !horizontalSocialButtons);\n\n const shouldShowBonusSignupBox = isGuestUser && userCampaign?.type === 'NEWUSER' && userCampaign?.status && userCampaign?.expires;\n return (\n
\n {showLogoOnSignupOptions && \"Logo\"}\n {!enterpriseEnv && !hideGreetingMessageOnSignupOptions && (

{t(greetingMessage)}

)}\n {Boolean(greetingDescription) && (

{t(greetingDescription)}

)}\n { (false && shouldShowBonusSignupBox) && }\n
\n {!enterpriseEnv\n && (\n <>\n
\n {/* TODO: enable areSocialButtonsLoading flag to prevent flick effect */}\n {/* loading */}\n {areSocialButtonsLoading && (\n
\n \n
\n )}\n {/* control variant */}\n {!areSocialButtonsLoading && squareSocialButtonStyle && isMsSignupControlVariant && (\n
\n {\n onSalesforceLoginClick();\n salesforceSocialLoginLogger({ action: 'click', target: 'salesforce-signup-button' });\n // registerMsAbTestAction({ action: 'click', target: 'salesforceSignupButton' });\n }}\n text={isMobileTexts\n ? t(Texts.SIGN_UP_SALESFORCE)\n : t(Texts.SIGN_UP_SALESFORCE_MOBILE)}\n />\n }\n onClick={() => {\n onGoogleLoginClick();\n registerMsAbTestAction({ action: 'click', target: 'googleSignupButton' });\n salesforceSocialLoginLogger({ action: 'click', target: 'google-signup-button' });\n }}\n text={isMobileTexts\n ? t(Texts.SIGN_UP_GOOGLE)\n : t(Texts.SIGN_UP_GOOGLE_MOBILE)}\n />\n }\n onClick={() => {\n onFBLoginClick();\n registerMsAbTestAction({ action: 'click', target: 'facebookSignupButton' });\n salesforceSocialLoginLogger({ action: 'click', target: 'facebook-signup-button' });\n }}\n text={isMobileTexts\n ? t(Texts.SIGN_UP_FACEBOOK)\n : t(Texts.SIGN_UP_FACEBOOK_MOBILE)}\n />\n
\n )}\n {!areSocialButtonsLoading && !squareSocialButtonStyle && isMsSignupControlVariant && (\n <>\n {\n onGoogleLoginClick();\n registerMsAbTestAction({ action: 'click', target: 'googleSignupButton' });\n }}\n text={isMobileTexts\n ? t(Texts.SIGN_UP_GOOGLE)\n : t(Texts.SIGN_UP_GOOGLE_MOBILE)}\n />\n {\n onFBLoginClick();\n registerMsAbTestAction({ action: 'click', target: 'facebookSignupButton' });\n }}\n text={isMobileTexts\n ? t(Texts.SIGN_UP_FACEBOOK)\n : t(Texts.SIGN_UP_FACEBOOK_MOBILE)}\n />\n \n )}\n {/* test variants */}\n {useSwsoButtons && (\n
\n \n
\n )}\n {!areSocialButtonsLoading && !isMsSignupControlVariant && !useSwsoButtons && (\n
\n {\n onGoogleLoginClick();\n registerMsAbTestAction({ action: 'click', target: 'googleSignupButton' });\n }}\n />\n {\n onMicrosoftLoginClick();\n registerMsAbTestAction({ action: 'click', target: 'microsoftSignupButton' });\n }}\n />\n {!isMsSignupTestBVariant\n && (\n {\n onFBLoginClick();\n registerMsAbTestAction({ action: 'click', target: 'facebookSignupButton' });\n }}\n />\n )}\n
\n )}\n
\n {thereSocialError\n && (\n
\n {t(errorNormalizer(thereErrorMessage))}\n
\n )}\n
{t(Texts.OR_KEY)}
\n \n )}\n {!showFormOnSignupOptions ? (\n onNavigationChangeRequest('signupWithEmail')}\n type=\"button\"\n id=\"signup-with-email\"\n >\n { squareSocialButtonStyle ? : }\n { squareSocialButtonStyle ? t(Texts.SIGN_UP_EMAIL_LOWERCASE) : t(Texts.SIGN_UP_EMAIL) }\n \n ) : (\n
\n
\n
\n \n \n {nameError && }\n
\n\n
\n \n \n
\n {emailError || null}\n {(emailError === Texts.EMAIL_ERROR || emailError === Texts.EMAIL_ERROR_ENTERPRISE) && (\n <>\n  \n {translationRenderer(Texts.PLEASE_LOGIN)({\n renderer1: text => ( onNavigationChangeRequest('loginOptions')}>{text})\n })}\n \n )}\n
\n
\n\n \n\n {!this.isEnterpriseEnv && (\n
\n
\n \n }\n />\n
\n
\n {termsError || null}\n
\n
\n ) }\n {showRecaptcha && (\n
\n this.handleCaptchaSubmit(hash)}\n />\n
\n )}\n \n {isSignupLoading\n ? (\n
\n
\n
\n
\n
\n )\n : t(signupButtonText)}\n \n
\n {t(Texts.ALREADY_HAVE_ACCOUNT)}\n onNavigationChangeRequest('loginOptions')}\n id=\"login-link\"\n >\n {t(Texts.LOGIN_TEXT)}\n \n
\n
\n \n )}\n
\n {!showFormOnSignupOptions ? (\n
\n {t(Texts.ALREADY_HAVE_ACCOUNT)}\n onNavigationChangeRequest('loginOptions')}\n id=\"login-link\"\n >\n {t(Texts.LOGIN_TEXT)}\n \n
\n ) : null}\n {skippable ? (\n {\n onNavigationChangeRequest('withoutSignup');\n if (typeof onSkip === 'function') {\n onSkip();\n }\n }}\n >\n {t(Texts.SKIP_CREATE_ACCOUNT)}\n \n ) : null}\n
\n );\n }\n}\n\nSignupOptions.propTypes = {\n onNavigationChangeRequest: func.isRequired,\n thereSocialError: bool,\n onSalesforceLoginClick: func.isRequired,\n onFBLoginClick: func.isRequired,\n onGoogleLoginClick: func.isRequired,\n onMicrosoftLoginClick: func.isRequired,\n onAppleLoginClick: func.isRequired,\n enterpriseLogo: string,\n skippable: bool,\n onSkip: func,\n greetingMessage: string,\n hideGreetingMessageOnSignupOptions: bool,\n showLogoOnSignupOptions: bool,\n greetingDescription: string,\n horizontalSocialButtons: bool,\n squareSocialButtonStyle: bool,\n showFormOnSignupOptions: bool,\n onLoginSuccess: func.isRequired,\n apiURL: string.isRequired,\n signupPredefinedEmail: string,\n disableEmail: bool,\n verificationHash: string,\n productType: string,\n isHIPAA: bool,\n appName: string,\n forceUser: bool,\n includeConfirm: bool,\n shrinkConfirmOnMobile: bool,\n shrinkConfirmHeight: number,\n user: shape(),\n signupButtonText: string,\n buttonNames: shape({\n google: string,\n facebook: string,\n apple: string,\n microsoft: string,\n emailLogin: string,\n emailSignup: string\n }),\n logoSource: string,\n registerMsAbTestAction: func,\n isMsSignupControlVariant: bool,\n isMsSignupTestBVariant: bool,\n isMsSignupTestCVariant: bool,\n areSocialButtonsLoading: bool,\n useSwsoButtons: bool,\n ofacModalRef: object,\n thereErrorMessage: string\n};\n\nSignupOptions.defaultProps = {\n enterpriseLogo: null,\n skippable: false,\n onSkip: f => f,\n greetingMessage: Texts.SIGN_UP_NOW,\n hideGreetingMessageOnSignupOptions: false,\n thereSocialError: false,\n showLogoOnSignupOptions: true,\n greetingDescription: '',\n horizontalSocialButtons: false,\n squareSocialButtonStyle: false,\n showFormOnSignupOptions: false,\n productType: 'form',\n signupPredefinedEmail: '',\n disableEmail: false,\n verificationHash: '',\n isHIPAA: false,\n appName: '',\n forceUser: false,\n includeConfirm: false,\n user: null,\n signupButtonText: Texts.CREATE_MY_ACCOUNT,\n buttonNames: {},\n shrinkConfirmOnMobile: false,\n shrinkConfirmHeight: 750,\n logoSource: '',\n registerMsAbTestAction: f => f,\n isMsSignupControlVariant: true,\n isMsSignupTestBVariant: false,\n isMsSignupTestCVariant: false,\n areSocialButtonsLoading: true,\n useSwsoButtons: true,\n ofacModalRef: null,\n thereErrorMessage: Texts.ERROR_TRY_AGAIN\n};\n\nexport default SignupOptions;\n","import RecaptchaWrapper from \"./recaptcha-wrapper\";\nimport ReCAPTCHA from \"./recaptcha\";\nexport default RecaptchaWrapper;\nexport { ReCAPTCHA };","/* eslint-disable max-len */\nimport { Texts } from '@jotforminc/constants';\n\n// Unusual Signup Flow Texts\nexport const REPORT_UNUSUAL_SIGNUP = 'Report Unusual Signup';\nexport const NOT_CREATE_THIS_ACCOUNT = 'If you didn’t create an account using [1[{email}]], please report this so that we can take the necessary action.';\nexport const REPORT_ACCOUNT = 'Report this account';\nexport const KEEP_ACCOUNT = 'This is my account';\nexport const CONTINUE = 'Continue';\nexport const RECEIVED_RESPONSE = 'We’ve received your report';\nexport const THANKS_FOR_REPORTING = 'Thank you for reporting this. We’ve taken the necessary actions for the account associated with [1[{email}]]. If you need help with anything else, please [2[contact us.]]';\nexport const ERROR_MESSAGE = 'An error occured. Please [1[contact us]].';\n\n// Signup With Login Opts Texts\nexport const TITLE_MESSAGE = 'Sign Up Now';\nexport const DESCRIPTION_MESSAGE = 'Collect information, payments, and signatures with custom online forms';\nexport const SIGN_UP_WITH = 'Sign up with';\nexport const OR = 'OR';\nexport const EMAIL = 'Email';\nexport const BACK = 'Back';\nexport const CONTINUE_SIGNUP = 'Continue Signing Up';\nexport const SIGNING_UP_WITH = 'You’re signing up with [1[{email}]]';\nexport const LOGIN_SESSION_EXPIRED_MESSAGE = 'Login timed out. Please refresh the page and try logging in again.';\n\n// A/B Test: signupOnboardingIV\nexport const OR_SIGN_UP_WITH = 'or sign up with';\nexport const OR_LOGIN_WITH = 'or login with';\nexport const EMAIL_ADDRESS = 'Email address';\nexport const CREATE_ACCOUNT = 'Create Account';\nexport const ENTER_EMAIL_ADDRESS = 'Enter your email address';\nexport const ENTER_FULL_NAME = 'Enter your full name';\n\nexport const errorMessages = {\n tryAgain: Texts.ERROR_TRY_AGAIN,\n required: Texts.FIELD_REQUIRED,\n validEmail: Texts.VALID_EMAIL,\n termsRequired: Texts.AGREE_TERMS_CONDITIONS,\n hipaaPass: {\n minCharCount: Texts.PASS_MIN_CHAR_COUNT,\n includeChars: Texts.PASS_INCL_CHARS,\n differentThanPrev: Texts.PASS_DIFF_PREV\n }\n};\n","/* eslint-disable react/jsx-one-expression-per-line, react/sort-comp */\n\nimport React, { createRef } from 'react';\nimport {\n bool,\n func,\n string,\n shape,\n number,\n object\n} from 'prop-types';\nimport Axios from 'axios';\nimport qs from 'querystring';\nimport ReCAPTCHA from 'react-google-recaptcha';\nimport { t, translationRenderer } from '@jotforminc/translation';\nimport { isEnterprise } from '@jotforminc/enterprise-utils';\nimport { INITIATOR_TYPES, Texts } from '@jotforminc/constants';\nimport {\n listenEnter,\n validateEmail,\n getPossibleTimeZone\n} from '@jotforminc/utils';\n\nimport BackIcon from '../temporary-duplicate/assets/svg/icon_back3.svg';\nimport Password from './Password';\nimport {\n isTurkishLanguage,\n getScreenResolution,\n handleSignupCompletedEvents,\n pushDataLayerEvent\n} from '../utils/loginSignup';\nimport TermsAndConditionsUrls from './TermsAndConditionsUrls';\nimport ErrorAlert from './ErrorAlert';\nimport { openOFACModal } from './OFACModal';\nimport { objToQueryString } from '../utils/helper';\nimport { errorMessages } from '../constants';\nimport { dispatchAction } from '../api';\n\nconst securePasswordTestEnabled = true;\n\nclass SignupWithEmail extends React.Component {\n constructor(props) {\n super(props);\n\n try {\n if (window.opener) {\n this.signUpDefaultName = window.opener.signUpDefaultName || '';\n this.signUpDefaultEmail = window.opener.signUpDefaultEmail || '';\n }\n } catch (error) {\n // eslint-disable-next-line no-console\n console.log('CORS', error);\n }\n\n this.isTurkish = isTurkishLanguage(props.user);\n this.captchaRef = createRef();\n this.state = {\n name: props.signupPredefinedName || this.signUpDefaultName || '',\n email: props.signupPredefinedEmail || this.signUpDefaultEmail || '',\n isAggreedTerms: false,\n isSignupLoading: false,\n screenHeight: window.innerHeight,\n showRecaptcha: false,\n recaptcha: null\n };\n this.emailRef = React.createRef();\n this.passwordRef = React.createRef();\n this.termsRef = React.createRef();\n this.isEnterpriseEnv = isEnterprise();\n this.updateWindowDimensions = this.updateWindowDimensions.bind(this);\n\n // Accessibility validation controls\n this.invalidFieldRefs = {};\n this.invalidFieldFocusOrder = ['email', 'password', 'terms'];\n }\n\n componentDidMount() {\n const { shrinkConfirmOnMobile } = this.props;\n if (shrinkConfirmOnMobile) window.addEventListener('resize', this.updateWindowDimensions);\n }\n\n componentWillUnmount() {\n const { shrinkConfirmOnMobile } = this.props;\n if (shrinkConfirmOnMobile) window.removeEventListener('resize', this.updateWindowDimensions);\n }\n\n handleFieldChange = propName => e => {\n const { value } = e.target;\n const erroredName = `${propName}Error`;\n const showRequiredMessage = propName !== 'name' && !value;\n this.setState({\n [propName]: value,\n [erroredName]: showRequiredMessage ? t(errorMessages.required) : ''\n });\n };\n\n handleTermsChange = () => {\n const { isAggreedTerms, termsError } = this.state;\n this.setState({\n isAggreedTerms: !isAggreedTerms,\n termsError: (termsError && !isAggreedTerms) ? '' : termsError\n });\n };\n\n resetPasswordError = () => {\n this.setState({ passwordError: '', securePassErrors: [] });\n };\n\n setSecurePaswordError = errorCodes => {\n this.setState({ securePassErrors: errorCodes });\n };\n\n callbackConfirmPassError = confirmPassErrorCode => {\n this.setState({ confirmPassErrorCode });\n };\n\n focusFirstInvalidField = () => {\n let firstInvalidFieldByOrder = '';\n this.invalidFieldFocusOrder.forEach(fieldName => {\n if (!firstInvalidFieldByOrder && this.invalidFieldRefs[fieldName]) {\n firstInvalidFieldByOrder = fieldName;\n }\n });\n\n if (firstInvalidFieldByOrder && firstInvalidFieldByOrder === 'password') {\n this.invalidFieldRefs.password.current.inputRef.current.focus();\n } else if (firstInvalidFieldByOrder) {\n this.invalidFieldRefs[firstInvalidFieldByOrder]?.current?.focus();\n }\n this.invalidFieldRefs = {};\n };\n\n makeAllValidations = () => {\n return new Promise(resolve => {\n const {\n isAggreedTerms, email\n } = this.state;\n const nextState = {};\n let emailErrCode = '';\n if (!email) {\n nextState.emailError = t(errorMessages.required);\n emailErrCode = 'emailRequired';\n this.invalidFieldRefs.email = this.emailRef;\n } else if (!validateEmail(email)) {\n nextState.emailError = t(errorMessages.validEmail);\n emailErrCode = 'emailInvalid';\n this.invalidFieldRefs.email = this.emailRef;\n }\n nextState.emailErrorCode = emailErrCode;\n\n if (!this.isEnterpriseEnv && !isAggreedTerms) { // Aytekin's Request, hiding terms on enterprise signup flow.\n nextState.termsError = t(errorMessages.termsRequired);\n this.invalidFieldRefs.terms = this.termsRef;\n }\n\n this.passwordRef.current.validate().then(({ isValid }) => {\n if (!isValid) {\n this.invalidFieldRefs.password = this.passwordRef;\n }\n }).then(() => this.focusFirstInvalidField());\n\n this.setState({\n ...nextState\n }, resolve);\n }).then(() => this.passwordRef.current.validate());\n };\n\n handleKeyDown = e => listenEnter(e, this.handleSubmit);\n\n handleCaptchaSubmit = hash => {\n if (!hash) {\n dispatchAction({\n actor: window?.user?.username || window?.__formInfo?.username || 'unknown',\n target: 'swe',\n action: 'captcha-expired'\n });\n return this.setState({ isSignupLoading: false });\n }\n\n this.setState({\n recaptcha: hash\n });\n\n dispatchAction({\n actor: window?.user?.username || window?.__formInfo?.username || 'unknown',\n target: 'swe',\n action: 'captcha-passed'\n });\n };\n\n forceUserSignup = async (name, email, password, isAggreedTerms, recaptcha) => {\n const {\n onLoginSuccess,\n appName,\n buttonNames,\n changeActiveScreen,\n builderShowSlides\n } = this.props;\n\n const defaultButtonName = appName ? `emailSignup-${appName}` : '';\n const buttonName = buttonNames.emailSignup ? buttonNames.emailSignup : defaultButtonName;\n\n try {\n const response = await Axios.post(\n '/server.php',\n qs.stringify({\n action: 'registerNewUser',\n email,\n password,\n name,\n timezone: getPossibleTimeZone(),\n screen_resolution: getScreenResolution(),\n location: global.location.pathname,\n username: '',\n button_name: buttonName,\n ref_app: appName,\n return: 1,\n isAgreedTerms: isAggreedTerms ? '1' : '0',\n recaptcha\n }),\n {\n withCredentials: true,\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded'\n }\n }\n );\n\n if (response.status === 200) {\n handleSignupCompletedEvents(response.data.user.username);\n response.data.newUser = true;\n onLoginSuccess(response, true);\n } else {\n this.setState({\n emailError: t('Something went wrong'),\n isSignupLoading: false,\n passwordError: ''\n });\n }\n } catch (error) {\n const { response: { data: { error: message, error_type: errorType } = {} } = {} } = error;\n const hasPasswordWarning = message.includes('PasswordWarning::');\n if (message && securePasswordTestEnabled && (hasPasswordWarning || errorType === 'password')) {\n const removedErrorCode = hasPasswordWarning ? message.replace('PasswordWarning::', '') : message;\n this.setState({\n passwordError: t(removedErrorCode),\n isSignupLoading: false\n });\n } else {\n if (this.captchaRef) {\n this.captchaRef.current?.reset();\n }\n\n if (message === \"Sorry, you can't signup from this country.\") {\n builderShowSlides(false);\n changeActiveScreen('ofacModal');\n }\n\n if (message === 'REQUIRE_CAPTCHA') {\n dispatchAction({\n actor: window?.user?.username || window?.__formInfo?.username || 'unknown',\n target: 'swe',\n action: 'captcha-required'\n });\n return this.setState({\n isSignupLoading: false,\n showRecaptcha: true\n });\n }\n\n this.setState({\n emailError: t(message || 'Something went wrong, please try again.'),\n isSignupLoading: false,\n passwordError: ''\n });\n }\n }\n };\n\n handleSubmit = e => {\n if (e) {\n e.preventDefault();\n }\n\n pushDataLayerEvent({\n event: 'Signup',\n eventAction: 'Click'\n });\n\n const {\n name, email, isAggreedTerms, recaptcha\n } = this.state;\n const {\n apiURL,\n forceUser,\n isHIPAA,\n onLoginSuccess,\n signupPredefinedEmail,\n verificationHash,\n ofacModalRef\n } = this.props;\n\n this.handleFieldChange('name')({ target: { value: name } });\n // eslint-disable-next-line complexity\n this.makeAllValidations().then(({ isValid: isPasswordValid, password }) => {\n if (securePasswordTestEnabled) {\n const {\n emailError, emailErrorCode, termsError, confirmPassErrorCode, securePassErrors\n } = this.state;\n const currentErrors = [\n { emailError: emailError !== '' ? emailErrorCode : '' },\n { termsError: (termsError !== '' && termsError) ? 'termsRequired' : '' },\n { confirmPassErrorCode }\n ];\n securePassErrors.forEach(errCode => {\n currentErrors.push({ passwordError: errCode });\n });\n currentErrors.forEach(type => {\n const errObj = Object.entries(type)[0];\n if (errObj[1] && errObj[1] !== '') {\n if (typeof window.JotFormActions === 'function') {\n const actor = window?.user?.username || window?.__formInfo?.username || 'unknown';\n const logger = new window.JotFormActions('strongPasswordonSignupsWithNew');\n logger.tick({ actor, action: 'signUpClick', target: errObj[1] });\n }\n }\n });\n }\n\n if (!isPasswordValid) return;\n\n const errorProps = ['emailError', 'nameError', 'termsError'];\n const firstError = errorProps.find(errorProp => {\n // eslint-disable-next-line react/destructuring-assignment\n const error = this.state[errorProp];\n return !!error;\n });\n if (firstError || !isPasswordValid) {\n this.setState({ isSignupLoading: false });\n return;\n }\n this.setState({ isSignupLoading: true });\n if (forceUser) {\n this.forceUserSignup(name, email, password, isAggreedTerms, recaptcha);\n } else if (signupPredefinedEmail && verificationHash) { // TODO: need another prop\n Axios.post(\n `${apiURL}/formuser/pretendCreate?master=1`,\n qs.stringify({\n email,\n password,\n name,\n isAgreedTerms: isAggreedTerms ? '1' : '0',\n hash: verificationHash,\n isHIPAA: isHIPAA ? '1' : ''\n }),\n {\n withCredentials: true,\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded'\n }\n }\n ).then(({ data: resp }) => {\n if (resp && resp.responseCode === 200) {\n onLoginSuccess(resp);\n } else if (resp && resp.errorType) {\n if (resp.errorType === 'E_TYPE_EMAIL') {\n this.setState({ emailError: resp.message });\n }\n\n if (resp?.message === \"Sorry, you can't signup from this country.\") {\n openOFACModal(ofacModalRef, email);\n }\n\n this.setState({ isSignupLoading: false });\n } else if (resp && typeof resp.message === 'string') {\n if (resp?.message?.includes('Name')) {\n return this.setState({ nameError: resp?.message?.trim(), isSignupLoading: false });\n }\n\n // Shitty error handling\n // we need to change api's error results to human readable format.\n const splitted = resp.message.split('-');\n const lastPart = splitted[splitted.length - 1];\n this.setState({ emailError: lastPart.trim(), isSignupLoading: false });\n }\n });\n } else {\n const {\n productType, appName, redirectURL: redirectUrl, initiator\n } = this.props;\n const isProductForm = productType === 'form' ? '1' : '0';\n const encodedEmail = encodeURIComponent(email);\n const encodedPw = encodeURIComponent(password);\n const queryParamsObj = {\n email: encodedEmail,\n password: encodedPw,\n confirm_password: encodedPw,\n disablePasswordConstraints: '1',\n name,\n sendVerification: isProductForm,\n ...(isHIPAA) && { isHIPAA: '1' },\n ...(appName === 'portal-apps' && window) && { jotform_pwa: '1', referrerURL: window.location.href },\n ...(redirectUrl && window) && { redirectUrl },\n ...(initiator && { initiator }),\n saclSignup: initiator === INITIATOR_TYPES.SACL,\n isAgreedTerms: isAggreedTerms ? '1' : '0'\n };\n Axios.post(`${apiURL}/formuser/register?master=1`,\n objToQueryString(queryParamsObj),\n {\n withCredentials: true,\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded'\n }\n }).then(({ data: resp }) => {\n if (resp && resp.responseCode === 200) {\n const { content: user } = resp;\n if (window?.JFAppsManager?.isOpenedInPortal()) {\n window.JFAppsManager.userChanged(user);\n }\n\n onLoginSuccess(resp);\n } else if (resp && resp.errorType) {\n if (resp.errorType === 'E_TYPE_EMAIL') {\n let newRespMessage = (resp.message.split(':'));\n newRespMessage = t(`${newRespMessage[0]}${newRespMessage[1] ? ':' : ''}`).concat(newRespMessage[1] ? newRespMessage[1] : '').toString();\n this.setState({ emailError: newRespMessage });\n }\n\n if (resp?.message === \"Sorry, you can't signup from this country.\") {\n openOFACModal(ofacModalRef, email);\n }\n\n this.setState({ isSignupLoading: false });\n }\n });\n }\n });\n };\n\n updateWindowDimensions() {\n this.setState({ screenHeight: window.innerHeight });\n }\n\n // eslint-disable-next-line complexity\n render() {\n const {\n onNavigationChangeRequest, isHIPAA, enforceHIPAARuleSet, includeConfirm, signupButtonText, greetingMessageOnSignupWithEmail,\n showLogoOnSignupWithEmail, shrinkConfirmOnMobile, shrinkConfirmHeight, disableEmail, isSwsoTestVariant, initiator\n } = this.props;\n const {\n email, name, emailError, nameError, isAggreedTerms, termsError, isSignupLoading, screenHeight, passwordError, showRecaptcha\n } = this.state;\n\n const jfLogoSource = 'https://cdn.jotfor.ms/assets/img/v4/logo-branding21.png';\n\n const showLoginWarningOption = (this.isEnterpriseEnv && emailError === Texts.EMAIL_ERROR_ENTERPRISE) || emailError === Texts.EMAIL_ERROR;\n\n return (\n
\n
\n {showLogoOnSignupWithEmail && \"Logo\"}\n

{t(greetingMessageOnSignupWithEmail)}

\n {\n (!isEnterprise() || initiator === INITIATOR_TYPES.SACL)\n && (\n onNavigationChangeRequest(!isSwsoTestVariant ? 'signupOptions' : 'signupWithSocialOpts')}\n >\n \n {t(Texts.OTHER_OPTIONS)}\n \n )\n }\n
\n
\n
\n
\n \n \n {nameError && }\n
\n\n
\n \n \n
\n {emailError ? t(emailError) : null}\n {showLoginWarningOption && (\n <>\n  \n {translationRenderer(Texts.PLEASE_LOGIN)({\n renderer1: text => ( onNavigationChangeRequest('loginOptions')}>{text})\n })}\n \n )}\n
\n
\n\n \n\n {!this.isEnterpriseEnv && (\n
\n
\n \n }\n />\n
\n
\n {termsError || null}\n
\n
\n ) }\n {showRecaptcha && (\n
\n this.handleCaptchaSubmit(hash)}\n />\n
\n )}\n \n {isSignupLoading\n ? (\n
\n
\n
\n
\n
\n )\n : t(signupButtonText)}\n \n
\n {t(Texts.ALREADY_HAVE_ACCOUNT)}\n onNavigationChangeRequest('loginOptions')}\n >\n {t(Texts.LOGIN_TEXT)}\n \n
\n
\n
\n \n );\n }\n}\n\nSignupWithEmail.propTypes = {\n onNavigationChangeRequest: func.isRequired,\n onLoginSuccess: func.isRequired,\n apiURL: string.isRequired,\n signupPredefinedEmail: string,\n signupPredefinedName: string,\n disableEmail: bool,\n verificationHash: string,\n productType: string,\n // resourceID: string,\n isHIPAA: bool,\n enforceHIPAARuleSet: bool,\n appName: string,\n forceUser: bool,\n includeConfirm: bool,\n shrinkConfirmOnMobile: bool,\n shrinkConfirmHeight: number,\n user: shape(),\n signupButtonText: string,\n greetingMessageOnSignupWithEmail: string,\n showLogoOnSignupWithEmail: bool,\n buttonNames: shape({\n google: string,\n facebook: string,\n apple: string,\n emailLogin: string,\n emailSignup: string\n }),\n changeActiveScreen: func,\n ofacModalRef: object,\n builderShowSlides: func,\n redirectURL: string,\n initiator: string,\n isSwsoTestVariant: bool\n};\n\nSignupWithEmail.defaultProps = {\n productType: 'form',\n // resourceID: '',\n signupPredefinedEmail: '',\n signupPredefinedName: '',\n disableEmail: false,\n verificationHash: '',\n isHIPAA: false,\n enforceHIPAARuleSet: false,\n appName: '',\n forceUser: false,\n includeConfirm: false,\n user: null,\n signupButtonText: Texts.CREATE_MY_ACCOUNT,\n greetingMessageOnSignupWithEmail: Texts.SIGN_UP_EMAIL,\n showLogoOnSignupWithEmail: false,\n shrinkConfirmOnMobile: false,\n shrinkConfirmHeight: 750,\n buttonNames: {},\n changeActiveScreen: f => f,\n ofacModalRef: null,\n builderShowSlides: f => f,\n redirectURL: '',\n initiator: '',\n isSwsoTestVariant: false\n};\n\nexport default SignupWithEmail;\n","\n import API from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n \n import content, * as namedExport from \"!!../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[1]!../../../../../node_modules/.pnpm/postcss-loader@8.1.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__postcss@8.4.38_typescript@5.0.4__5lvnl7xmoydmkkvnqez3gfmijq/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[2]!../../../../../node_modules/.pnpm/sass-loader@14.2.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__sass-embedded@1.78.0_sass@1.75.0_w_m6gyofr5lgwlemccsvqwra2uoi/node_modules/sass-loader/dist/cjs.js!./ssoLoginOptions.scss\";\n \n \n\nvar options = {};\n\n;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[1]!../../../../../node_modules/.pnpm/postcss-loader@8.1.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__postcss@8.4.38_typescript@5.0.4__5lvnl7xmoydmkkvnqez3gfmijq/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[2]!../../../../../node_modules/.pnpm/sass-loader@14.2.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__sass-embedded@1.78.0_sass@1.75.0_w_m6gyofr5lgwlemccsvqwra2uoi/node_modules/sass-loader/dist/cjs.js!./ssoLoginOptions.scss\";\n export default content && content.locals ? content.locals : undefined;\n","function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgOneloginLogoIcon = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n viewBox: \"0 0 32 32\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, props), /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M2 15.993C2 8.267 8.277 2 16 2c7.736 0 14 6.267 14 13.993C30 23.733 23.736 30 16 30S2 23.733 2 15.993Zm15.685 5.361c.265 0 .403-.138.403-.402h-.013v-9.06c0-.19-.063-.328-.327-.328h-4.905c-.264 0-.403.138-.403.403v2.516c0 .265.139.403.403.403h1.924v6.066c0 .264.139.402.403.402h2.515Z\",\n fill: \"#1C1F2A\",\n style: {\n mixBlendMode: \"darken\"\n }\n}));\nexport default SvgOneloginLogoIcon;","function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgPrivateLogoIcon = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n viewBox: \"0 0 32 32\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, props), /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M7.75 26.5a6.752 6.752 0 0 1-2.24-13.12c-.005-.127-.01-.254-.01-.38 0-4.144 3.356-7.5 7.5-7.5 2.78 0 5.203 1.509 6.502 3.759A4.477 4.477 0 0 1 22 8.499a4.501 4.501 0 0 1 4.2 6.122A6 6 0 0 1 25 26.5H7.75Zm2.25-11a4 4 0 0 0 4.537 3.963c.29-.038.434-.058.526-.045a.568.568 0 0 1 .23.078c.082.045.161.125.32.284l3.407 3.407c.116.115.173.173.24.214.06.037.125.064.193.08.077.018.159.018.322.018h1.158c.373 0 .56 0 .703-.072a.666.666 0 0 0 .29-.291c.074-.143.074-.33.074-.703v-1.158c0-.163 0-.245-.019-.322a.665.665 0 0 0-.08-.192c-.04-.068-.099-.125-.214-.24l-3.407-3.408c-.159-.159-.239-.238-.284-.32a.568.568 0 0 1-.078-.23c-.013-.092.007-.236.046-.526A4 4 0 1 0 10 15.5Zm2.666 0a1.333 1.333 0 1 0 2.667 0 1.333 1.333 0 0 0-2.667 0Z\",\n fill: \"#6C73A8\",\n style: {\n mixBlendMode: \"darken\"\n }\n}));\nexport default SvgPrivateLogoIcon;","import auth0 from './auth0-logo-icon.svg';\nimport azurad from './azure-logo-icon.svg';\nimport google from './google-logo-icon.svg';\nimport windowsad from './microsoft-logo-icon.svg';\nimport okta from './okta-logo-icon.svg';\nimport onelogin from './onelogin-logo-icon.svg';\nimport custom from './private-logo-icon.svg';\n\nexport const idpLogos = {\n auth0,\n azurad,\n google,\n windowsad,\n okta,\n onelogin,\n custom\n};\n","/* eslint-disable @jotforminc/no-native-button */\nimport React from 'react';\nimport '../styles/ssoLoginOptions.scss';\n\nimport { t } from '@jotforminc/translation';\nimport { handleCustomNavigation } from '@jotforminc/utils';\nimport { Texts, INITIATOR_TYPES } from '@jotforminc/constants';\nimport classNames from 'classnames';\nimport {\n arrayOf,\n bool,\n func,\n shape,\n string\n} from 'prop-types';\nimport { fetchUser } from '../api';\nimport { idpLogos } from '../assets/idp-icons/icons';\n\nconst openPopupWindowCentered = (url, windowName, w, h) => {\n const x = window.outerWidth / 2 + window.screenX - w / 2;\n const y = window.outerHeight / 2 + window.screenY - h / 2;\n let features = 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=';\n features = features.concat(w, ', height=').concat(h, ', top=').concat(y, ', left=').concat(x);\n return handleCustomNavigation(url, windowName, true, features);\n};\n\n/**\n * Get the logo of the IDP provider.\n */\nconst getIdpLogo = idpName => {\n if (Object.prototype.hasOwnProperty.call(idpLogos, idpName)) {\n return idpLogos[idpName];\n }\n return idpLogos.custom;\n};\n\n/**\n * SSO login success redirection for popup flows\n */\nconst SUCCESS_REDIRECT = encodeURIComponent('/sso/login-success.html');\n\nconst SSOLoginOptions = ({\n initiator,\n ssoLoginOptions,\n onSSOLoginSuccess,\n onSSOLoginFail,\n hideDivider\n}) => {\n const compact = ssoLoginOptions.length > 1;\n\n const onSSOLoginClick = configKey => () => {\n const currentPage = encodeURIComponent(window.location.href);\n const url = `${window.location.origin}/sso?SSOConfigKey=${configKey || ''}`;\n\n if (initiator === INITIATOR_TYPES.SACL) {\n const loginPopup = openPopupWindowCentered(`${url}&rp=${SUCCESS_REDIRECT}`, 'loginPopup', 400, 500);\n\n const id = setInterval(() => {\n try {\n if (loginPopup.closed) {\n clearInterval(id);\n fetchUser().then(result => {\n if (result?.content?.account_type?.name === 'GUEST') {\n // Fail state, weird check because Form User may not have\n // account_type. If a downstream issue occurs in the SSO\n // service provider the login will fail.\n onSSOLoginFail();\n } else {\n // Success state\n onSSOLoginSuccess(result);\n }\n }).catch(() => {\n onSSOLoginFail();\n });\n }\n } catch (error) {\n // mainly for CORS errors\n }\n }, 500);\n } else {\n handleCustomNavigation(`${url}&rp=${currentPage}`, '_self', true);\n }\n };\n\n return (\n <>\n {compact &&

{t('Log in with')}

}\n
    \n {ssoLoginOptions.map(({ name, configKey, idpName }) => {\n const IDPLogo = getIdpLogo(idpName);\n return (\n
  • \n \n \n {\n compact ? (\n {name}\n ) : (\n \n {t('Log in with')}\n {name}\n \n )\n }\n \n
  • \n );\n })}\n
\n {!hideDivider && (\n
\n {t(Texts.OR_KEY)}\n
\n )}\n \n );\n};\n\nSSOLoginOptions.propTypes = {\n initiator: string.isRequired,\n ssoLoginOptions: arrayOf(shape({\n name: string,\n logoURL: string,\n configKey: string,\n idpName: string\n })).isRequired,\n onSSOLoginSuccess: func.isRequired,\n onSSOLoginFail: func.isRequired,\n hideDivider: bool\n};\n\nSSOLoginOptions.defaultProps = {\n hideDivider: false\n};\n\nexport default SSOLoginOptions;\n","/* eslint-disable @jotforminc/no-native-button */\n/* eslint-disable complexity,react/sort-comp */\nimport React, { Component } from 'react';\nimport {\n bool,\n string,\n func,\n arrayOf,\n shape\n} from 'prop-types';\nimport ReCAPTCHA from 'react-google-recaptcha';\nimport classNames from 'classnames';\nimport { t } from '@jotforminc/translation';\nimport { RequestLayer, Interceptors, getAPIURL } from '@jotforminc/request-layer';\nimport { isEnterprise } from '@jotforminc/enterprise-utils';\nimport { INITIATOR_TYPES, Texts } from '@jotforminc/constants';\nimport { listenEnter, getUrlParameter, handleCustomNavigation } from '@jotforminc/utils';\n\nimport BackIcon from '../temporary-duplicate/assets/svg/icon_back.svg';\nimport ErrorAlert from './ErrorAlert';\nimport SocialButtons from './SocialButtons';\nimport FacebookButton from './FacebookButton';\nimport GoogleButton from './GoogleButton';\nimport MicrosoftButton from './MicrosoftButton';\nimport { errorNormalizer } from '../utils/helper';\nimport SSOLoginOptions from './SSOLoginOptions';\nimport { EMAIL_ADDRESS, ENTER_EMAIL_ADDRESS, OR_LOGIN_WITH } from '../constants';\n\nconst invalidInputText = Texts.FIELD_REQUIRED;\nconst invalidEmailInputText = Texts.EMAIL_FIELD_REQUIRED;\nconst invalidPassInputText = Texts.PASS_FIELD_REQUIRED;\nconst userIsSSOError = Texts.USER_IS_SSO_ERROR;\nconst unexpectedErrorText = Texts.ERROR_TRY_AGAIN;\n\nexport default class LoginOptions extends Component {\n constructor(props) {\n super(props);\n this.isEnterprise = isEnterprise();\n const emailParam = getUrlParameter('username');\n const skipEmailVerification = getUrlParameter('skipEmailVerification');\n const { ssoLoginOptions } = props;\n this.state = {\n email: (!emailParam || emailParam === '') ? props.loginPredefinedEmail : emailParam,\n pass: '',\n emailValid: true,\n ssoErrorMessage: '',\n passValid: true,\n loginErrorMsg: '',\n recaptcha: false,\n isLoginLoading: false,\n showSalesforceLogin: false,\n isSSOControlStep: this.isEnterprise && ssoLoginOptions.length > 0 && !skipEmailVerification,\n isSSOControlLoading: false\n };\n this.layer = new RequestLayer(getAPIURL(), {\n interceptorConfig: {\n teamID: global.teamID,\n customResponseInterceptors: [Interceptors.requestManagerResponseNormalizer]\n }\n });\n\n this.socialLoginParams = {\n facebook: getUrlParameter('facebook') === '1',\n google: getUrlParameter('google') === '1',\n microsoft: getUrlParameter('microsoft') === '1'\n };\n\n this.emailInputRef = React.createRef();\n this.passInputRef = React.createRef();\n }\n\n componentDidMount() {\n const { registerMsAbTestAction, isOnboardingFlow } = this.props;\n if (!isOnboardingFlow && window.innerWidth > 480) {\n this.emailInputRef.current?.focus();\n }\n registerMsAbTestAction({ action: 'seen', target: 'loginOptions' });\n\n this.setState({\n showSalesforceLogin: !this.isEnterprise\n });\n }\n\n componentDidUpdate(prevProps) {\n const { externalErrorMessage } = this.props;\n\n if (externalErrorMessage !== prevProps.externalErrorMessage && this.isEnterprise) {\n // eslint-disable-next-line react/no-did-update-set-state\n this.setState({\n loginErrorMsg: externalErrorMessage\n });\n }\n }\n\n /**\n * TODO: This is temp solution.\n * For more information please contact the commit owner.\n */\n get showForgotPassword() {\n const {\n isSSOControlStep\n } = this.state;\n\n return !isSSOControlStep;\n }\n\n validate = input => {\n const { [input]: value } = this.state;\n this.setState({\n [`${input}Valid`]: !!value // inputs shouldn't be empty\n });\n };\n\n handleInputChange = input => e => {\n const { value } = e.target;\n const { setExternalErrorMessage } = this.props;\n this.setState({ [input]: value }, () => {\n this.validate(input);\n });\n setExternalErrorMessage('');\n this.setState({\n loginErrorMsg: ''\n });\n };\n\n validateAll = async (fields = ['email', 'pass']) => {\n await Promise.all(fields.map(input => {\n return Promise.resolve(this.validate(input));\n }));\n const { emailValid, passValid } = this.state;\n if (!emailValid) {\n this.emailInputRef.current.focus();\n } else if (!passValid) {\n this.passInputRef.current.focus();\n }\n return Promise.resolve(emailValid && passValid);\n };\n\n handleLogin = async (event, recaptcha) => {\n const validationResult = await this.validateAll();\n this.setState({ isLoginLoading: true });\n if (!validationResult) {\n this.setState({ isLoginLoading: false });\n return;\n }\n const { onLoginClick } = this.props;\n const { email, pass } = this.state;\n const [success = true, { message = 'An error occured.', data: { error } = {} } = {}, tfaResponse = false] = await onLoginClick(email, pass, recaptcha) || [];\n\n if (!success && !tfaResponse) {\n this.setState({ isLoginLoading: false });\n const errorMessage = error || message;\n\n if (errorMessage === 'REQUIRE_CAPTCHA') {\n return this.setState({ recaptcha: true });\n }\n\n if (error?.toLowerCase()?.includes('suspended')) {\n return handleCustomNavigation('/account-suspended', '_self', true);\n }\n\n this.setState({\n loginErrorMsg: errorMessage,\n recaptcha: false\n });\n }\n };\n\n /**\n * Check if the user with username/email is an SSO user,\n * if so do not allow them to the password view, if not\n * show the password field.\n */\n handleSSOControl = async () => {\n const validationResult = await this.validateAll(['email']);\n this.setState({\n ssoErrorMessage: '',\n isSSOControlLoading: true\n });\n if (!validationResult) {\n this.setState({ isSSOControlLoading: false });\n return;\n }\n const { email } = this.state;\n const { getUserSSOStatus } = this.props;\n try {\n const { content: { isSSOUser } } = await getUserSSOStatus(email);\n if (isSSOUser) {\n this.setState({\n ssoErrorMessage: userIsSSOError\n });\n } else {\n // Ask the user for a password.\n this.setState({\n isSSOControlStep: false\n });\n }\n } catch (e) {\n if (e.message === 'Rate limit exceeded') {\n // Gracefully degrade and show password\n // if we hit rate limit.\n this.setState({\n isSSOControlStep: false\n });\n } else {\n // Set to an error state.\n // for actual errors.\n this.setState({\n emailValid: false,\n ssoErrorMessage: unexpectedErrorText\n });\n }\n } finally {\n // By this point whether or not we had an error loading\n // has finished.\n this.setState({ isSSOControlLoading: false });\n }\n };\n\n handleKeyDown = e => {\n const {\n isSSOControlStep,\n isLoginLoading,\n isSSOControlLoading\n } = this.state;\n // To avoid users spamming enter.\n const loading = isLoginLoading || isSSOControlLoading;\n if (!loading) {\n return listenEnter(e, isSSOControlStep\n ? this.handleSSOControl\n : this.handleLogin\n );\n }\n };\n\n /**\n * Get the error message to be shown under\n * email/username input, if there is any.\n */\n get emailInputErrorMessage() {\n const {\n isSSOControlStep,\n loginErrorMsg,\n emailValid,\n ssoErrorMessage\n } = this.state;\n if (isSSOControlStep && loginErrorMsg) {\n // Otherwise this would be displayed under password which isn't\n // visible.\n return loginErrorMsg;\n }\n\n if (!emailValid) {\n return t(invalidEmailInputText);\n }\n\n if (ssoErrorMessage) {\n return t(ssoErrorMessage);\n }\n\n return '';\n }\n\n redirectToEnterpriseLogin() {\n try {\n if (window.opener.isSalesforceAdmin) {\n // https://stackoverflow.com/questions/71154547/window-opener-reference-lost-in-firefox\n // eslint-disable-next-line @jotforminc/no-location-href-assignment\n window.location.href = '/platform/auth?registrationType=oauth&client_id=Salesforce&access_type=full&auth_type=login&popup=1&newEnterpriseStarter=1';\n } else {\n // eslint-disable-next-line @jotforminc/no-location-href-assignment\n window.location.href = '/platform/auth?registrationType=oauth&client_id=Salesforce&access_type=full&auth_type=login&popup=1&contactAdminError=1';\n }\n } catch (e) {\n // eslint-disable-next-line no-console\n console.error(e);\n }\n }\n\n render() {\n const {\n onNavigationChangeRequest,\n onSalesforceLoginClick,\n onGoogleLoginClick,\n onFBLoginClick,\n onMicrosoftLoginClick,\n preventBack,\n thereSocialError,\n thereErrorMessage,\n loginButtonText,\n loginWelcomeText,\n loginDescriptionText,\n onAppleLoginClick,\n hideSignUp,\n greetingDescription,\n registerMsAbTestAction,\n logoSource,\n readonlyEmail,\n showJotformLogo,\n showEnterpriseLogin,\n isSwsoTestVariant,\n forceShowBack,\n initiator,\n ssoLoginOptions,\n onSSOLoginSuccess,\n onSSOLoginFail,\n isOnboardingFlow,\n isOnboardingTestVariantReversed\n } = this.props;\n\n const {\n email,\n pass,\n passValid,\n loginErrorMsg,\n recaptcha,\n isLoginLoading,\n showSalesforceLogin,\n isSSOControlStep,\n isSSOControlLoading\n } = this.state;\n\n const emailErrorMessage = this.emailInputErrorMessage;\n const loginLogoSource = this.isEnterprise ? logoSource : 'https://www.jotform.com/resources/assets/logo-nb/jotform-logo-white-400x100.png';\n const showLogo = (this.isEnterprise && loginLogoSource) || (!this.isEnterprise && showJotformLogo);\n\n const trimmedLoginWelcomeText = loginWelcomeText?.trim?.();\n const trimmedGreetingDescription = greetingDescription?.trim?.();\n const trimmedLoginDescriptionText = loginDescriptionText?.trim?.();\n const descriptionText = trimmedGreetingDescription || trimmedLoginDescriptionText;\n\n return (\n
\n {showLogo && \"Logo\"}\n {trimmedLoginWelcomeText && (

{t(trimmedLoginWelcomeText)}

)}\n {descriptionText && (

{t(descriptionText)}

)}\n
\n {!this.isEnterprise\n && (\n <>\n
\n {t(Texts.LOGIN_WITH)}\n
\n {Object.values(this.socialLoginParams).every(q => q === false) && (\n \n )}\n {this.socialLoginParams.facebook && (\n onFBLoginClick()}\n />\n )}\n {this.socialLoginParams.google && (\n onGoogleLoginClick()}\n />\n )}\n {this.socialLoginParams.microsoft && (\n onMicrosoftLoginClick()}\n />\n )}\n
\n
\n {thereSocialError\n && (\n
\n {t(errorNormalizer(thereErrorMessage))}\n
\n )}\n
{!isOnboardingFlow ? t(Texts.OR_KEY) : t(OR_LOGIN_WITH)}
\n \n )}\n
\n {\n ssoLoginOptions.length > 0 && (\n \n )\n }\n
\n \n \n
\n {emailErrorMessage}\n
\n
\n {!isSSOControlStep\n && (\n
\n \n \n
\n {passValid ? null : t(invalidInputText)}\n
\n {!hideSignUp && this.showForgotPassword && (\n onNavigationChangeRequest('forgotPassword')}\n id=\"forgotPasswordButton\"\n >\n {t(Texts.FORGOT_PASSWORD)}\n \n )}\n {loginErrorMsg ? (\n \n ) : null}\n
\n )}\n\n {recaptcha ? (\n
\n this.handleLogin(null, recaptcha_)} />\n
\n ) : null}\n\n {isSSOControlStep ? (\n \n {isSSOControlLoading\n ? (\n
\n
\n
\n
\n
\n )\n : t('Continue')}\n \n ) : (\n \n {isLoginLoading\n ? (\n
\n
\n
\n
\n
\n )\n : t(loginButtonText)}\n \n )}\n {hideSignUp && this.showForgotPassword && (\n
\n onNavigationChangeRequest('forgotPassword')}\n id=\"forgotPasswordButton\"\n >\n {t(Texts.FORGOT_PASSWORD)}\n \n
\n )}\n {!isOnboardingFlow && !showEnterpriseLogin && !hideSignUp && (\n
\n {t(Texts.DONT_HAVE_ACCOUNT)}\n {\n let upcomingScreen = !isSwsoTestVariant ? 'signupOptions' : 'signupWithSocialOpts';\n if (this.isEnterprise && initiator !== INITIATOR_TYPES.SACL) {\n upcomingScreen = 'signupWithEmail';\n }\n onNavigationChangeRequest(upcomingScreen);\n }}\n >\n {t(Texts.SIGN_UP)}\n \n
\n )}\n {showEnterpriseLogin && (\n
\n {t(Texts.ARE_YOU_JOTFORM_ENTERPRISE_USER)}\n this.redirectToEnterpriseLogin()}\n >\n {t(Texts.LOGIN_TO_JOTFORM_ENTERPRISE)}\n \n
\n )}\n
\n {!preventBack && (\n onNavigationChangeRequest(!isSwsoTestVariant ? 'signupOptions' : 'signupWithSocialOpts')}\n type=\"button\"\n >\n \n {t(Texts.BACK_KEY)}\n \n )}\n
\n
\n );\n }\n}\n\nLoginOptions.propTypes = {\n onNavigationChangeRequest: func.isRequired,\n onSalesforceLoginClick: func.isRequired,\n onGoogleLoginClick: func.isRequired,\n onFBLoginClick: func.isRequired,\n onMicrosoftLoginClick: func.isRequired,\n onAppleLoginClick: func,\n onLoginClick: func.isRequired,\n loginPredefinedEmail: string,\n preventBack: bool,\n thereSocialError: bool,\n externalErrorMessage: string,\n setExternalErrorMessage: func,\n loginButtonText: string,\n loginWelcomeText: string,\n loginDescriptionText: string,\n greetingDescription: string,\n registerMsAbTestAction: func,\n logoSource: string,\n readonlyEmail: bool,\n showJotformLogo: bool,\n showEnterpriseLogin: bool,\n hideSignUp: bool,\n isSwsoTestVariant: bool,\n forceShowBack: bool,\n initiator: string,\n ssoLoginOptions: arrayOf(shape({\n name: string,\n logoURL: string,\n configKey: string,\n idpName: string\n })),\n onSSOLoginSuccess: func,\n onSSOLoginFail: func,\n thereErrorMessage: string,\n isOnboardingFlow: bool,\n getUserSSOStatus: func,\n isOnboardingTestVariantReversed: bool\n};\n\nLoginOptions.defaultProps = {\n loginPredefinedEmail: '',\n preventBack: false,\n thereSocialError: false,\n externalErrorMessage: '',\n setExternalErrorMessage: f => f,\n loginButtonText: Texts.LOGIN_CAPITAL,\n loginWelcomeText: Texts.WELCOME_BACK,\n loginDescriptionText: '',\n onAppleLoginClick: f => f,\n greetingDescription: '',\n registerMsAbTestAction: f => f,\n logoSource: '',\n readonlyEmail: false,\n showJotformLogo: false,\n showEnterpriseLogin: false,\n hideSignUp: false,\n isSwsoTestVariant: false,\n forceShowBack: false,\n initiator: '',\n ssoLoginOptions: [],\n onSSOLoginSuccess: f => f,\n onSSOLoginFail: f => f,\n thereErrorMessage: Texts.ERROR_TRY_AGAIN,\n isOnboardingFlow: false,\n getUserSSOStatus: f => f,\n isOnboardingTestVariantReversed: false\n};\n","import React from 'react';\nimport { t } from '@jotforminc/translation';\nimport {\n string,\n arrayOf,\n shape,\n func,\n bool\n} from 'prop-types';\nimport { Texts } from '@jotforminc/constants';\nimport SSOLoginOptions from './SSOLoginOptions';\n\nconst SSOOptions = ({\n logoSource,\n loginWelcomeText,\n greetingDescription,\n loginDescriptionText,\n ssoLoginOptions,\n onSSOLoginSuccess,\n onSSOLoginFail,\n fromSACL\n}) => {\n const showLogo = !!logoSource;\n\n const trimmedLoginWelcomeText = loginWelcomeText?.trim?.();\n const trimmedGreetingDescription = greetingDescription?.trim?.();\n const trimmedLoginDescriptionText = loginDescriptionText?.trim?.();\n const descriptionText = trimmedGreetingDescription || trimmedLoginDescriptionText;\n\n return (\n
\n {showLogo && \"Logo\"}\n {trimmedLoginWelcomeText && (

{t(trimmedLoginWelcomeText)}

)}\n {descriptionText && (

{t(descriptionText)}

)}\n
\n
\n {\n ssoLoginOptions.length > 0 && (\n \n )\n }\n
\n
\n
\n );\n};\n\nSSOOptions.propTypes = {\n logoSource: string,\n loginWelcomeText: string,\n greetingDescription: string,\n loginDescriptionText: string,\n ssoLoginOptions: arrayOf(shape({\n name: string,\n logoURL: string,\n configKey: string,\n idpName: string\n })),\n onSSOLoginSuccess: func,\n onSSOLoginFail: func,\n fromSACL: bool\n};\n\nSSOOptions.defaultProps = {\n logoSource: '',\n loginWelcomeText: '',\n greetingDescription: Texts.WELCOME_BACK,\n loginDescriptionText: '',\n ssoLoginOptions: [],\n onSSOLoginSuccess: f => f,\n onSSOLoginFail: f => f,\n fromSACL: false\n};\n\nexport default SSOOptions;\n","import React, { Component } from 'react';\nimport { string, func, bool } from 'prop-types';\nimport Axios from 'axios';\nimport { t } from '@jotforminc/translation';\nimport { Texts } from '@jotforminc/constants';\nimport { listenEnter } from '@jotforminc/utils';\nimport cx from 'classnames';\n\nimport { IconChevronLeft } from '@jotforminc/svg-icons';\nimport BackIcon from '../temporary-duplicate/assets/svg/icon_back3.svg';\nimport ErrorAlert from './ErrorAlert';\n\nconst invalidInputText = Texts.FIELD_REQUIRED;\n\nexport default class ForgotPassword extends Component {\n constructor(props) {\n super(props);\n this.state = {\n username: '',\n usernameValid: true,\n resetErrorMessage: ''\n };\n }\n\n handleInputChange = input => e => {\n const { value } = e.target;\n this.setState({ [input]: value }, () => {\n this.validate(input);\n });\n };\n\n handleResetClick = async () => {\n const { onNavigationChangeRequest } = this.props;\n const validationResult = await this.validate('username');\n if (!validationResult) return;\n\n const result = await this.sendEmail()\n .catch(err => {\n // eslint-disable-next-line no-console\n console.error(err);\n this.setState({\n resetErrorMessage: 'An error occurred. Please try again'\n });\n });\n if (result) {\n onNavigationChangeRequest('resetSuccess');\n }\n };\n\n handleKeyDown = e => listenEnter(e, this.handleResetClick);\n\n sendEmail = () => {\n const { apiURL } = this.props;\n const { username } = this.state;\n return Axios.get(`${apiURL}/passwordreset?resetData=${encodeURIComponent(username)}`);\n };\n\n validate = input => {\n const { [input]: value } = this.state;\n this.setState({\n [`${input}Valid`]: !!value // inputs shouldn't be empty\n });\n return Promise.resolve(!!value);\n };\n\n render() {\n const { onNavigationChangeRequest, isOnboardingFlow } = this.props;\n\n const {\n username,\n usernameValid,\n resetErrorMessage\n } = this.state;\n\n const inputValid = usernameValid && !resetErrorMessage;\n return (\n
\n {isOnboardingFlow && (\n
\n onNavigationChangeRequest('loginOptions')} type=\"button\"\n id=\"returnLoginBox\"\n >\n \n {t(Texts.GO_BACK_TEXT)}\n \n
\n )}\n

{t(Texts.FORGOT_PASSWORD)}

\n
\n
\n
\n \n \n
\n {usernameValid ? null : t(invalidInputText)}\n
\n {resetErrorMessage && }\n
\n \n {t(Texts.SEND_INSTRUCTIONS)}\n \n
\n {!isOnboardingFlow && (\n onNavigationChangeRequest('loginOptions')} type=\"button\"\n id=\"returnLoginBox\"\n >\n \n {t(Texts.GO_BACK_TEXT)}\n \n )}\n
\n
\n );\n }\n}\n\nForgotPassword.propTypes = {\n onNavigationChangeRequest: func.isRequired,\n isOnboardingFlow: bool,\n apiURL: string.isRequired\n};\n\nForgotPassword.defaultProps = {\n isOnboardingFlow: false\n};\n","import Styled from 'styled-components';\n\nexport const ScPieTimerWrapper = Styled.div`\n display: flex;\n align-items: center;\n\n div {\n margin-right: 6px;\n html[dir=\"rtl\"] & {\n margin-right: 0;\n margin-left: 6px;\n }\n #loader {\n fill: #fff;\n }\n\n svg {\n width: 20px;\n display: block;\n border-radius: 50%;\n border: 2px solid #cfd8dc;\n }\n }\n`;\n","import React, {\n useState,\n forwardRef,\n useRef,\n useImperativeHandle,\n useEffect\n} from 'react';\nimport { func } from 'prop-types';\nimport { Hooks } from '@jotforminc/uikit';\nimport { ScPieTimerWrapper } from './sc/scPieTimer';\n\nexport const PieTimer = forwardRef(({\n startCallback,\n stopCallback\n}, ref) => {\n const [alpha, setAlpha] = useState(0);\n const [counter, setCounter] = useState(0);\n const interval = useRef(null);\n const counterRef = useRef(null);\n\n const calculateTimeInterval = (totalTime = 60) => {\n return (totalTime / 360) * 1000;\n };\n\n Hooks.useEffectIgnoreFirst(() => {\n if (counter > 0) {\n counterRef.current = setTimeout(() => setCounter(prev => prev - 1), 1000);\n return;\n }\n stopCallback();\n return () => clearInterval(interval.current);\n }, [counter]);\n\n useEffect(() => {\n if (alpha >= 359) clearInterval(interval.current);\n }, [alpha]);\n\n useImperativeHandle(ref, () => ({\n start: (duration, totalTime) => {\n startCallback();\n clearTimeout(counterRef.current);\n const initialAlpha = totalTime ? 360 - (duration / totalTime) * 360 : 0;\n setAlpha(initialAlpha);\n setCounter(Number(duration));\n clearInterval(interval.current);\n interval.current = setInterval(() => {\n setAlpha(prev => prev + 1);\n }, calculateTimeInterval(totalTime));\n },\n stop: () => {\n stopCallback();\n clearInterval(interval.current);\n clearTimeout(counterRef.current);\n }\n }));\n\n return (\n \n
\n \n \n \n {alpha < 359 && (\n <>\n \n 180) ? 1 : 0} 1 ${Math.sin((alpha * Math.PI) / 180) * 10} ${Math.cos((alpha * Math.PI) / 180) * -10} z`}\n id=\"loader\"\n transform=\"translate(10,10)\"\n />\n \n )}\n \n
\n

\n {`${Math.floor(counter / 60)}`.padStart(2, '0')}\n :\n {`${counter % 60}`.padStart(2, '0')}\n

\n
\n );\n});\n\nPieTimer.propTypes = {\n startCallback: func,\n stopCallback: func\n};\n\nPieTimer.defaultProps = {\n startCallback: f => f,\n stopCallback: f => f\n};\n","/* eslint-disable react/prop-types */\nimport React from 'react';\nimport ReactVerificationInput from 'react-verification-input';\nimport { listenEnter } from '@jotforminc/utils';\n\nexport const VerificationInput = ({\n validChars = '0-9',\n onCodeChange,\n onEnterPress,\n characterClassName = 'character',\n inputId = 'verificationInput',\n inputType = '',\n handleKeyDown = () => {},\n inputProps = null,\n ...props\n}) => (\n {\n handleKeyDown(e);\n listenEnter(e, onEnterPress);\n },\n ...(inputType ? { inputMode: inputType } : {}),\n type: 'text',\n autoComplete: 'off',\n id: inputId,\n ...(inputProps || {})\n }}\n placeholder=''\n removeDefaultStyles\n autoFocus\n classNames={{\n container: 'container',\n character: characterClassName,\n characterInactive: 'character--inactive',\n characterSelected: 'character--selected'\n }}\n {...props}\n />\n);\n","/* eslint-disable react/button-has-type */\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { wrapWithComp } from '../../utils/index';\n\n// not so pro but it does the trick\nconst getSomeString = el => {\n const defaultString = 'Button';\n let resultString = '';\n if (typeof el === 'string') {\n resultString = el;\n } else if (Array.isArray(el)) {\n const strArr = [];\n el.map(i => typeof i === 'string' && strArr.push(i));\n resultString = strArr.length === 0\n ? defaultString : strArr.join(' ');\n } else {\n resultString = defaultString;\n }\n\n return resultString;\n};\n\nconst Button = React.forwardRef(({\n children,\n disabled,\n ariaLabel,\n buttonAriaLabelPrefix,\n ...others\n}, ref) => {\n const defaultAriaLabel = (ariaLabel === 'Button' && others && others['aria-label']) ? others['aria-label'] : ariaLabel;\n const producedAriaLabel = defaultAriaLabel === 'Button' ? getSomeString(children) : defaultAriaLabel;\n const ariaLabelWithPrefix = buttonAriaLabelPrefix ? `${buttonAriaLabelPrefix} ${producedAriaLabel}` : producedAriaLabel;\n return (\n \n {React.Children.map(children, child => wrapWithComp(child, 'btn-label'))}\n \n );\n});\n\nButton.propTypes = {\n disabled: PropTypes.bool,\n ariaLabel: PropTypes.string,\n children: PropTypes.node.isRequired,\n buttonAriaLabelPrefix: PropTypes.string\n};\n\nButton.defaultProps = {\n disabled: false,\n ariaLabel: 'Button',\n buttonAriaLabelPrefix: ''\n};\n\nexport default Button;\n","export default function getBoundingClientRect(element) {\n var rect = element.getBoundingClientRect();\n return {\n width: rect.width,\n height: rect.height,\n top: rect.top,\n right: rect.right,\n bottom: rect.bottom,\n left: rect.left,\n x: rect.left,\n y: rect.top\n };\n}","export default function getWindow(node) {\n if ({}.toString.call(node) !== '[object Window]') {\n var ownerDocument = node.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView : window;\n }\n\n return node;\n}","import getWindow from \"./getWindow.js\";\nexport default function getWindowScroll(node) {\n var win = getWindow(node);\n var scrollLeft = win.pageXOffset;\n var scrollTop = win.pageYOffset;\n return {\n scrollLeft: scrollLeft,\n scrollTop: scrollTop\n };\n}","import getWindow from \"./getWindow.js\";\n/*:: declare function isElement(node: mixed): boolean %checks(node instanceof\n Element); */\n\nfunction isElement(node) {\n var OwnElement = getWindow(node).Element;\n return node instanceof OwnElement;\n}\n/*:: declare function isHTMLElement(node: mixed): boolean %checks(node instanceof\n HTMLElement); */\n\n\nfunction isHTMLElement(node) {\n var OwnElement = getWindow(node).HTMLElement;\n return node instanceof OwnElement;\n}\n\nexport { isElement, isHTMLElement };","export default function getNodeName(element) {\n return element ? (element.nodeName || '').toLowerCase() : null;\n}","import getWindow from \"./getWindow.js\";\nexport default function getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}","import getComputedStyle from \"./getComputedStyle.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\n\nfunction toNumber(cssValue) {\n return parseFloat(cssValue) || 0;\n}\n\nexport default function getBorders(element) {\n var computedStyle = isHTMLElement(element) ? getComputedStyle(element) : {};\n return {\n top: toNumber(computedStyle.borderTopWidth),\n right: toNumber(computedStyle.borderRightWidth),\n bottom: toNumber(computedStyle.borderBottomWidth),\n left: toNumber(computedStyle.borderLeftWidth)\n };\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getNodeScroll from \"./getNodeScroll.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport getBorders from \"./getBorders.js\";\nimport { isHTMLElement } from \"./instanceOf.js\"; // offsets without `border`\n\nfunction getInnerOffsets(offsetParent) {\n var rect = getBoundingClientRect(offsetParent);\n var borders = getBorders(offsetParent);\n return {\n x: rect.x + borders.left,\n y: rect.y + borders.top\n };\n} // Returns the composite rect of an element relative to its offsetParent.\n// Composite means it takes into account transforms as well as layout.\n\n\nexport default function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n\n var rect = getBoundingClientRect(elementOrVirtualElement);\n var scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n var offsets = {\n x: 0,\n y: 0\n };\n\n if (!isFixed) {\n if (getNodeName(offsetParent) !== 'body') {\n scroll = getNodeScroll(offsetParent);\n }\n\n if (isHTMLElement(offsetParent)) {\n offsets = getInnerOffsets(offsetParent);\n }\n }\n\n return {\n x: rect.left + scroll.scrollLeft - offsets.x,\n y: rect.top + scroll.scrollTop - offsets.y,\n width: rect.width,\n height: rect.height\n };\n}","import getWindowScroll from \"./getWindowScroll.js\";\nimport getWindow from \"./getWindow.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport getHTMLElementScroll from \"./getHTMLElementScroll.js\";\nexport default function getNodeScroll(node) {\n if (node === getWindow(node) || !isHTMLElement(node)) {\n return getWindowScroll(node);\n } else {\n return getHTMLElementScroll(node);\n }\n}","export default function getHTMLElementScroll(element) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n}","// Returns the layout rect of an element relative to its offsetParent. Layout\n// means it doesn't take into account transforms.\nexport default function getLayoutRect(element) {\n return {\n x: element.offsetLeft,\n y: element.offsetTop,\n width: element.offsetWidth,\n height: element.offsetHeight\n };\n}","import getNodeName from \"./getNodeName.js\";\nexport default function getParentNode(element) {\n if (getNodeName(element) === 'html') {\n return element;\n }\n\n return element.parentNode || // DOM Element detected\n // $FlowFixMe: need a better way to handle this...\n element.host || // ShadowRoot detected\n document.ownerDocument || // Fallback to ownerDocument if available\n document.documentElement // Or to documentElement if everything else fails\n ;\n}","import getScrollParent from \"./getScrollParent.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport getWindow from \"./getWindow.js\";\nexport default function listScrollParents(element, list) {\n if (list === void 0) {\n list = [];\n }\n\n var scrollParent = getScrollParent(element);\n var isBody = getNodeName(scrollParent) === 'body';\n var target = isBody ? getWindow(scrollParent) : scrollParent;\n var updatedList = list.concat(target);\n return isBody ? updatedList : updatedList.concat(listScrollParents(getParentNode(target)));\n}","import getParentNode from \"./getParentNode.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nexport default function getScrollParent(node) {\n if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) {\n // $FlowFixMe: assume body is always available\n return node.ownerDocument.body;\n }\n\n if (isHTMLElement(node)) {\n // Firefox wants us to check `-x` and `-y` variations as well\n var _getComputedStyle = getComputedStyle(node),\n overflow = _getComputedStyle.overflow,\n overflowX = _getComputedStyle.overflowX,\n overflowY = _getComputedStyle.overflowY;\n\n if (/auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX)) {\n return node;\n }\n }\n\n return getScrollParent(getParentNode(node));\n}","import getWindow from \"./getWindow.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport isTableElement from \"./isTableElement.js\"; // https://stackoverflow.com/a/9851769/2059996\n\nvar isFirefox = function isFirefox() {\n return typeof window.InstallTrigger !== 'undefined';\n};\n\nfunction getTrueOffsetParent(element) {\n var offsetParent;\n\n if (!isHTMLElement(element) || !(offsetParent = element.offsetParent) || // https://github.com/popperjs/popper.js/issues/837\n isFirefox() && getComputedStyle(offsetParent).position === 'fixed') {\n return null;\n }\n\n return offsetParent;\n}\n\nexport default function getOffsetParent(element) {\n var window = getWindow(element);\n var offsetParent = getTrueOffsetParent(element); // Find the nearest non-table offsetParent\n\n while (offsetParent && isTableElement(offsetParent)) {\n offsetParent = getTrueOffsetParent(offsetParent);\n }\n\n if (offsetParent && getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static') {\n return window;\n }\n\n return offsetParent || window;\n}","import getNodeName from \"./getNodeName.js\";\nexport default function isTableElement(element) {\n return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0;\n}","export var top = 'top';\nexport var bottom = 'bottom';\nexport var right = 'right';\nexport var left = 'left';\nexport var auto = 'auto';\nexport var basePlacements = [top, bottom, right, left];\nexport var start = 'start';\nexport var end = 'end';\nexport var clippingParents = 'clippingParents';\nexport var viewport = 'viewport';\nexport var popper = 'popper';\nexport var reference = 'reference';\nexport var variationPlacements =\n/*#__PURE__*/\nbasePlacements.reduce(function (acc, placement) {\n return acc.concat([placement + \"-\" + start, placement + \"-\" + end]);\n}, []);\nexport var placements =\n/*#__PURE__*/\n[].concat(basePlacements, [auto]).reduce(function (acc, placement) {\n return acc.concat([placement, placement + \"-\" + start, placement + \"-\" + end]);\n}, []); // modifiers that need to read the DOM\n\nexport var beforeRead = 'beforeRead';\nexport var read = 'read';\nexport var afterRead = 'afterRead'; // pure-logic modifiers\n\nexport var beforeMain = 'beforeMain';\nexport var main = 'main';\nexport var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)\n\nexport var beforeWrite = 'beforeWrite';\nexport var write = 'write';\nexport var afterWrite = 'afterWrite';\nexport var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];","import getWindow from \"../dom-utils/getWindow.js\";\nvar passive = {\n passive: true\n};\n\nfunction effect(_ref) {\n var state = _ref.state,\n instance = _ref.instance,\n options = _ref.options;\n var _options$scroll = options.scroll,\n scroll = _options$scroll === void 0 ? true : _options$scroll,\n _options$resize = options.resize,\n resize = _options$resize === void 0 ? true : _options$resize;\n var window = getWindow(state.elements.popper);\n var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);\n\n if (scroll) {\n scrollParents.forEach(function (scrollParent) {\n scrollParent.addEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.addEventListener('resize', instance.update, passive);\n }\n\n return function () {\n if (scroll) {\n scrollParents.forEach(function (scrollParent) {\n scrollParent.removeEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.removeEventListener('resize', instance.update, passive);\n }\n };\n}\n\nexport default {\n name: 'eventListeners',\n enabled: true,\n phase: 'write',\n fn: function fn() {},\n effect: effect,\n data: {}\n};","import { auto } from \"../enums.js\";\nexport default function getBasePlacement(placement) {\n return placement.split('-')[0];\n}","export default function getVariation(placement) {\n return placement.split('-')[1];\n}","export default function getMainAxisFromPlacement(placement) {\n return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';\n}","import getBasePlacement from \"./getBasePlacement.js\";\nimport getVariation from \"./getVariation.js\";\nimport getMainAxisFromPlacement from \"./getMainAxisFromPlacement.js\";\nimport { top, right, bottom, left, start, end } from \"../enums.js\";\nexport default function computeOffsets(_ref) {\n var reference = _ref.reference,\n element = _ref.element,\n placement = _ref.placement;\n var basePlacement = placement ? getBasePlacement(placement) : null;\n var variation = placement ? getVariation(placement) : null;\n var commonX = reference.x + reference.width / 2 - element.width / 2;\n var commonY = reference.y + reference.height / 2 - element.height / 2;\n var offsets;\n\n switch (basePlacement) {\n case top:\n offsets = {\n x: commonX,\n y: reference.y - element.height\n };\n break;\n\n case bottom:\n offsets = {\n x: commonX,\n y: reference.y + reference.height\n };\n break;\n\n case right:\n offsets = {\n x: reference.x + reference.width,\n y: commonY\n };\n break;\n\n case left:\n offsets = {\n x: reference.x - element.width,\n y: commonY\n };\n break;\n\n default:\n offsets = {\n x: reference.x,\n y: reference.y\n };\n }\n\n var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null;\n\n if (mainAxis != null) {\n var len = mainAxis === 'y' ? 'height' : 'width';\n\n switch (variation) {\n case start:\n offsets[mainAxis] = Math.floor(offsets[mainAxis]) - Math.floor(reference[len] / 2 - element[len] / 2);\n break;\n\n case end:\n offsets[mainAxis] = Math.floor(offsets[mainAxis]) + Math.ceil(reference[len] / 2 - element[len] / 2);\n break;\n\n default:\n }\n }\n\n return offsets;\n}","export default function getDocumentElement(element) {\n // $FlowFixMe: assume body is always available\n return element.ownerDocument.documentElement;\n}","import { top, left, right, bottom } from \"../enums.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getWindow from \"../dom-utils/getWindow.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nvar unsetSides = {\n top: 'auto',\n right: 'auto',\n bottom: 'auto',\n left: 'auto'\n}; // Round the offsets to the nearest suitable subpixel based on the DPR.\n// Zooming can change the DPR, but it seems to report a value that will\n// cleanly divide the values into the appropriate subpixels.\n\nfunction roundOffsets(_ref) {\n var x = _ref.x,\n y = _ref.y;\n var dpr = window.devicePixelRatio || 1;\n return {\n x: Math.round(x * dpr) / dpr || 0,\n y: Math.round(y * dpr) / dpr || 0\n };\n}\n\nexport function mapToStyles(_ref2) {\n var _Object$assign2;\n\n var popper = _ref2.popper,\n popperRect = _ref2.popperRect,\n placement = _ref2.placement,\n offsets = _ref2.offsets,\n position = _ref2.position,\n gpuAcceleration = _ref2.gpuAcceleration,\n adaptive = _ref2.adaptive;\n\n var _roundOffsets = roundOffsets(offsets),\n x = _roundOffsets.x,\n y = _roundOffsets.y;\n\n var hasX = offsets.hasOwnProperty('x');\n var hasY = offsets.hasOwnProperty('y');\n var sideX = left;\n var sideY = top;\n\n if (adaptive) {\n var offsetParent = getOffsetParent(popper);\n\n if (offsetParent === getWindow(popper)) {\n offsetParent = getDocumentElement(popper);\n }\n\n if (placement === top) {\n sideY = bottom;\n y -= offsetParent.clientHeight - popperRect.height;\n y *= gpuAcceleration ? 1 : -1;\n }\n\n if (placement === left) {\n sideX = right;\n x -= offsetParent.clientWidth - popperRect.width;\n x *= gpuAcceleration ? 1 : -1;\n }\n }\n\n var commonStyles = Object.assign({\n position: position\n }, adaptive && unsetSides);\n\n if (gpuAcceleration) {\n var _Object$assign;\n\n return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (window.devicePixelRatio || 1) < 2 ? \"translate(\" + x + \"px, \" + y + \"px)\" : \"translate3d(\" + x + \"px, \" + y + \"px, 0)\", _Object$assign));\n }\n\n return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + \"px\" : '', _Object$assign2[sideX] = hasX ? x + \"px\" : '', _Object$assign2.transform = '', _Object$assign2));\n}\n\nfunction computeStyles(_ref3) {\n var state = _ref3.state,\n options = _ref3.options;\n var _options$gpuAccelerat = options.gpuAcceleration,\n gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,\n _options$adaptive = options.adaptive,\n adaptive = _options$adaptive === void 0 ? true : _options$adaptive;\n var commonStyles = {\n placement: getBasePlacement(state.placement),\n popper: state.elements.popper,\n popperRect: state.rects.popper,\n gpuAcceleration: gpuAcceleration\n }; // popper offsets are always available\n\n state.styles.popper = Object.assign({}, state.styles.popper, {}, mapToStyles(Object.assign({}, commonStyles, {\n offsets: state.modifiersData.popperOffsets,\n position: state.options.strategy,\n adaptive: adaptive\n }))); // arrow offsets may not be available\n\n if (state.modifiersData.arrow != null) {\n state.styles.arrow = Object.assign({}, state.styles.arrow, {}, mapToStyles(Object.assign({}, commonStyles, {\n offsets: state.modifiersData.arrow,\n position: 'absolute',\n adaptive: false\n })));\n }\n\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-placement': state.placement\n });\n}\n\nexport default {\n name: 'computeStyles',\n enabled: true,\n phase: 'beforeWrite',\n fn: computeStyles,\n data: {}\n};","var hash = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nexport default function getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, function (matched) {\n return hash[matched];\n });\n}","var hash = {\n start: 'end',\n end: 'start'\n};\nexport default function getOppositeVariationPlacement(placement) {\n return placement.replace(/start|end/g, function (matched) {\n return hash[matched];\n });\n}","export default function contains(parent, child) {\n // $FlowFixMe: hasOwnProperty doesn't seem to work in tests\n var isShadow = Boolean(child.getRootNode && child.getRootNode().host); // First, attempt with faster native method\n\n if (parent.contains(child)) {\n return true;\n } // then fallback to custom implementation with Shadow DOM support\n else if (isShadow) {\n var next = child;\n\n do {\n if (next && parent.isSameNode(next)) {\n return true;\n } // $FlowFixMe: need a better way to handle this...\n\n\n next = next.parentNode || next.host;\n } while (next);\n } // Give up, the result is false\n\n\n return false;\n}","export default function rectToClientRect(rect) {\n return Object.assign({}, rect, {\n left: rect.x,\n top: rect.y,\n right: rect.x + rect.width,\n bottom: rect.y + rect.height\n });\n}","import { viewport } from \"../enums.js\";\nimport getViewportRect from \"./getViewportRect.js\";\nimport getDocumentRect from \"./getDocumentRect.js\";\nimport listScrollParents from \"./listScrollParents.js\";\nimport getOffsetParent from \"./getOffsetParent.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport { isElement, isHTMLElement } from \"./instanceOf.js\";\nimport getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getDecorations from \"./getDecorations.js\";\nimport contains from \"./contains.js\";\nimport rectToClientRect from \"../utils/rectToClientRect.js\";\n\nfunction getClientRectFromMixedType(element, clippingParent) {\n return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isHTMLElement(clippingParent) ? getBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));\n} // A \"clipping parent\" is an overflowable container with the characteristic of\n// clipping (or hiding) overflowing elements with a position different from\n// `initial`\n\n\nfunction getClippingParents(element) {\n var clippingParents = listScrollParents(element);\n var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) >= 0;\n var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;\n\n if (!isElement(clipperElement)) {\n return [];\n }\n\n return clippingParents.filter(function (clippingParent) {\n return isElement(clippingParent) && contains(clippingParent, clipperElement);\n });\n} // Gets the maximum area that the element is visible in due to any number of\n// clipping parents\n\n\nexport default function getClippingRect(element, boundary, rootBoundary) {\n var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);\n var clippingParents = [].concat(mainClippingParents, [rootBoundary]);\n var firstClippingParent = clippingParents[0];\n var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {\n var rect = getClientRectFromMixedType(element, clippingParent);\n var decorations = getDecorations(isHTMLElement(clippingParent) ? clippingParent : getDocumentElement(element));\n accRect.top = Math.max(rect.top + decorations.top, accRect.top);\n accRect.right = Math.min(rect.right - decorations.right, accRect.right);\n accRect.bottom = Math.min(rect.bottom - decorations.bottom, accRect.bottom);\n accRect.left = Math.max(rect.left + decorations.left, accRect.left);\n return accRect;\n }, getClientRectFromMixedType(element, firstClippingParent));\n clippingRect.width = clippingRect.right - clippingRect.left;\n clippingRect.height = clippingRect.bottom - clippingRect.top;\n clippingRect.x = clippingRect.left;\n clippingRect.y = clippingRect.top;\n return clippingRect;\n}","import getWindow from \"./getWindow.js\";\nexport default function getViewportRect(element) {\n var win = getWindow(element);\n return {\n width: win.innerWidth,\n height: win.innerHeight,\n x: 0,\n y: 0\n };\n}","import getCompositeRect from \"./getCompositeRect.js\";\nimport getWindow from \"./getWindow.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getWindowScroll from \"./getWindowScroll.js\";\nexport default function getDocumentRect(element) {\n var win = getWindow(element);\n var winScroll = getWindowScroll(element);\n var documentRect = getCompositeRect(getDocumentElement(element), win);\n documentRect.height = Math.max(documentRect.height, win.innerHeight);\n documentRect.width = Math.max(documentRect.width, win.innerWidth);\n documentRect.x = -winScroll.scrollLeft;\n documentRect.y = -winScroll.scrollTop;\n return documentRect;\n}","export default function getFreshSideObject() {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n };\n}","import getFreshSideObject from \"./getFreshSideObject.js\";\nexport default function mergePaddingObject(paddingObject) {\n return Object.assign({}, getFreshSideObject(), {}, paddingObject);\n}","export default function expandToHashMap(value, keys) {\n return keys.reduce(function (hashMap, key) {\n hashMap[key] = value;\n return hashMap;\n }, {});\n}","import getBoundingClientRect from \"../dom-utils/getBoundingClientRect.js\";\nimport getClippingRect from \"../dom-utils/getClippingRect.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport computeOffsets from \"./computeOffsets.js\";\nimport rectToClientRect from \"./rectToClientRect.js\";\nimport { clippingParents, reference, popper, bottom, top, right, basePlacements, viewport } from \"../enums.js\";\nimport { isElement } from \"../dom-utils/instanceOf.js\";\nimport mergePaddingObject from \"./mergePaddingObject.js\";\nimport expandToHashMap from \"./expandToHashMap.js\";\nexport default function detectOverflow(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n _options$placement = _options.placement,\n placement = _options$placement === void 0 ? state.placement : _options$placement,\n _options$boundary = _options.boundary,\n boundary = _options$boundary === void 0 ? clippingParents : _options$boundary,\n _options$rootBoundary = _options.rootBoundary,\n rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary,\n _options$elementConte = _options.elementContext,\n elementContext = _options$elementConte === void 0 ? popper : _options$elementConte,\n _options$altBoundary = _options.altBoundary,\n altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,\n _options$padding = _options.padding,\n padding = _options$padding === void 0 ? 0 : _options$padding;\n var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n var altContext = elementContext === popper ? reference : popper;\n var referenceElement = state.elements.reference;\n var popperRect = state.rects.popper;\n var element = state.elements[altBoundary ? altContext : elementContext];\n var clippingClientRect = getClippingRect(isElement(element) ? element : getDocumentElement(state.elements.popper), boundary, rootBoundary);\n var referenceClientRect = getBoundingClientRect(referenceElement);\n var popperOffsets = computeOffsets({\n reference: referenceClientRect,\n element: popperRect,\n strategy: 'absolute',\n placement: placement\n });\n var popperClientRect = rectToClientRect(Object.assign({}, popperRect, {}, popperOffsets));\n var elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect\n // 0 or negative = within the clipping rect\n\n var overflowOffsets = {\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\n bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\n right: elementClientRect.right - clippingClientRect.right + paddingObject.right\n };\n var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element\n\n if (elementContext === popper && offsetData) {\n var offset = offsetData[placement];\n Object.keys(overflowOffsets).forEach(function (key) {\n var multiply = [right, bottom].indexOf(key) >= 0 ? 1 : -1;\n var axis = [top, bottom].indexOf(key) >= 0 ? 'y' : 'x';\n overflowOffsets[key] += offset[axis] * multiply;\n });\n }\n\n return overflowOffsets;\n}","import getBorders from \"./getBorders.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport getWindow from \"./getWindow.js\"; // Borders + scrollbars\n\nexport default function getDecorations(element) {\n var borders = getBorders(element);\n var win = getWindow(element);\n var right = element.offsetWidth - element.clientWidth - borders.right;\n var bottom = element.offsetHeight - element.clientHeight - borders.bottom;\n\n if (getNodeName(element) === 'html') {\n right = win.innerWidth - element.clientWidth;\n bottom = win.innerHeight - element.clientHeight;\n }\n\n return {\n top: borders.top,\n right: right,\n bottom: bottom,\n left: borders.left\n };\n}","export default function within(min, value, max) {\n return Math.max(min, Math.min(value, max));\n}","import { top, bottom, left, right } from \"../enums.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\n\nfunction getSideOffsets(overflow, rect, preventedOffsets) {\n if (preventedOffsets === void 0) {\n preventedOffsets = {\n x: 0,\n y: 0\n };\n }\n\n return {\n top: overflow.top - rect.height - preventedOffsets.y,\n right: overflow.right - rect.width + preventedOffsets.x,\n bottom: overflow.bottom - rect.height + preventedOffsets.y,\n left: overflow.left - rect.width - preventedOffsets.x\n };\n}\n\nfunction isAnySideFullyClipped(overflow) {\n return [top, right, bottom, left].some(function (side) {\n return overflow[side] >= 0;\n });\n}\n\nfunction hide(_ref) {\n var state = _ref.state,\n name = _ref.name;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var preventedOffsets = state.modifiersData.preventOverflow;\n var referenceOverflow = detectOverflow(state, {\n elementContext: 'reference'\n });\n var popperAltOverflow = detectOverflow(state, {\n altBoundary: true\n });\n var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);\n var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);\n var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);\n var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);\n state.modifiersData[name] = {\n referenceClippingOffsets: referenceClippingOffsets,\n popperEscapeOffsets: popperEscapeOffsets,\n isReferenceHidden: isReferenceHidden,\n hasPopperEscaped: hasPopperEscaped\n };\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-reference-hidden': isReferenceHidden,\n 'data-popper-escaped': hasPopperEscaped\n });\n}\n\nexport default {\n name: 'hide',\n enabled: true,\n phase: 'main',\n requiresIfExists: ['preventOverflow'],\n fn: hide\n};","import { popperGenerator } from \"./index.js\";\nimport eventListeners from \"./modifiers/eventListeners.js\";\nimport popperOffsets from \"./modifiers/popperOffsets.js\";\nimport computeStyles from \"./modifiers/computeStyles.js\";\nimport applyStyles from \"./modifiers/applyStyles.js\";\nimport offset from \"./modifiers/offset.js\";\nimport flip from \"./modifiers/flip.js\";\nimport preventOverflow from \"./modifiers/preventOverflow.js\";\nimport arrow from \"./modifiers/arrow.js\";\nimport hide from \"./modifiers/hide.js\";\nvar defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles, offset, flip, preventOverflow, arrow, hide];\nvar createPopper =\n/*#__PURE__*/\npopperGenerator({\n defaultModifiers: defaultModifiers\n}); // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper, popperGenerator, defaultModifiers };","import computeOffsets from \"../utils/computeOffsets.js\";\n\nfunction popperOffsets(_ref) {\n var state = _ref.state,\n name = _ref.name;\n // Offsets are the actual position the popper needs to have to be\n // properly positioned near its reference element\n // This is the most basic placement, and will be adjusted by\n // the modifiers in the next step\n state.modifiersData[name] = computeOffsets({\n reference: state.rects.reference,\n element: state.rects.popper,\n strategy: 'absolute',\n placement: state.placement\n });\n}\n\nexport default {\n name: 'popperOffsets',\n enabled: true,\n phase: 'read',\n fn: popperOffsets,\n data: {}\n};","import getNodeName from \"../dom-utils/getNodeName.js\";\nimport { isHTMLElement } from \"../dom-utils/instanceOf.js\"; // This modifier takes the styles prepared by the `computeStyles` modifier\n// and applies them to the HTMLElements such as popper and arrow\n\nfunction applyStyles(_ref) {\n var state = _ref.state;\n Object.keys(state.elements).forEach(function (name) {\n var style = state.styles[name] || {};\n var attributes = state.attributes[name] || {};\n var element = state.elements[name]; // arrow is optional + virtual elements\n\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n } // Flow doesn't support to extend this property, but it's the most\n // effective way to apply styles to an HTMLElement\n // $FlowFixMe\n\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (name) {\n var value = attributes[name];\n\n if (value === false) {\n element.removeAttribute(name);\n } else {\n element.setAttribute(name, value === true ? '' : value);\n }\n });\n });\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state;\n var initialStyles = {\n position: 'absolute',\n left: '0',\n top: '0',\n margin: '0'\n };\n Object.assign(state.elements.popper.style, initialStyles);\n return function () {\n Object.keys(state.elements).forEach(function (name) {\n var element = state.elements[name];\n var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? Object.assign({}, state.styles[name]) : initialStyles);\n var attributes = state.attributes[name] || {}; // Set all values to an empty string to unset them\n\n var style = styleProperties.reduce(function (style, property) {\n var _Object$assign;\n\n return Object.assign({}, style, (_Object$assign = {}, _Object$assign[String(property)] = '', _Object$assign));\n }, {}); // arrow is optional + virtual elements\n\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n } // Flow doesn't support to extend this property, but it's the most\n // effective way to apply styles to an HTMLElement\n // $FlowFixMe\n\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (attribute) {\n return element.removeAttribute(attribute);\n });\n });\n };\n}\n\nexport default {\n name: 'applyStyles',\n enabled: true,\n phase: 'write',\n fn: applyStyles,\n effect: effect,\n requires: ['computeStyles']\n};","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport { top, left, right, placements } from \"../enums.js\";\nexport function distanceAndSkiddingToXY(placement, rects, offset) {\n var basePlacement = getBasePlacement(placement);\n var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1;\n\n var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {\n placement: placement\n })) : offset,\n skidding = _ref[0],\n distance = _ref[1];\n\n skidding = skidding || 0;\n distance = (distance || 0) * invertDistance;\n return [left, right].indexOf(basePlacement) >= 0 ? {\n x: distance,\n y: skidding\n } : {\n x: skidding,\n y: distance\n };\n}\n\nfunction offset(_ref2) {\n var state = _ref2.state,\n options = _ref2.options,\n name = _ref2.name;\n var _options$offset = options.offset,\n offset = _options$offset === void 0 ? [0, 0] : _options$offset;\n var data = placements.reduce(function (acc, placement) {\n acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);\n return acc;\n }, {});\n var _data$state$placement = data[state.placement],\n x = _data$state$placement.x,\n y = _data$state$placement.y;\n state.modifiersData.popperOffsets.x += x;\n state.modifiersData.popperOffsets.y += y;\n state.modifiersData[name] = data;\n}\n\nexport default {\n name: 'offset',\n enabled: true,\n phase: 'main',\n requires: ['popperOffsets'],\n fn: offset\n};","import getOppositePlacement from \"../utils/getOppositePlacement.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getOppositeVariationPlacement from \"../utils/getOppositeVariationPlacement.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport computeAutoPlacement from \"../utils/computeAutoPlacement.js\";\nimport uniqueBy from \"../utils/uniqueBy.js\";\nimport { bottom, top, start, right, left, auto } from \"../enums.js\";\nimport getVariation from \"../utils/getVariation.js\";\n\nfunction getExpandedFallbackPlacements(placement) {\n if (getBasePlacement(placement) === auto) {\n return [];\n }\n\n var oppositePlacement = getOppositePlacement(placement);\n return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];\n}\n\nfunction flip(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n\n if (state.modifiersData[name]._skip) {\n return;\n }\n\n var specifiedFallbackPlacements = options.fallbackPlacements,\n padding = options.padding,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n _options$flipVariatio = options.flipVariations,\n flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio;\n var preferredPlacement = state.options.placement;\n var basePlacement = getBasePlacement(preferredPlacement);\n var isBasePlacement = basePlacement === preferredPlacement;\n var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));\n var placements = uniqueBy([preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {\n return getBasePlacement(placement) === auto ? acc.concat(computeAutoPlacement(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n flipVariations: flipVariations\n })) : acc.concat(placement);\n }, []), function (placement) {\n return placement;\n });\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var checksMap = new Map();\n var makeFallbackChecks = true;\n var firstFittingPlacement = placements[0];\n\n for (var i = 0; i < placements.length; i++) {\n var placement = placements[i];\n\n var _basePlacement = getBasePlacement(placement);\n\n var isStartVariation = getVariation(placement) === start;\n var isVertical = [top, bottom].indexOf(_basePlacement) >= 0;\n var len = isVertical ? 'width' : 'height';\n var overflow = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding\n });\n var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top;\n\n if (referenceRect[len] > popperRect[len]) {\n mainVariationSide = getOppositePlacement(mainVariationSide);\n }\n\n var altVariationSide = getOppositePlacement(mainVariationSide);\n var checks = [overflow[_basePlacement] <= 0, overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0];\n\n if (checks.every(function (check) {\n return check;\n })) {\n firstFittingPlacement = placement;\n makeFallbackChecks = false;\n break;\n }\n\n checksMap.set(placement, checks);\n }\n\n if (makeFallbackChecks) {\n // `2` may be desired in some cases – research later\n var numberOfChecks = flipVariations ? 3 : 1;\n\n var _loop = function _loop(_i) {\n var fittingPlacement = placements.find(function (placement) {\n var checks = checksMap.get(placement);\n\n if (checks) {\n return checks.slice(0, _i).every(function (check) {\n return check;\n });\n }\n });\n\n if (fittingPlacement) {\n firstFittingPlacement = fittingPlacement;\n return \"break\";\n }\n };\n\n for (var _i = numberOfChecks; _i > 0; _i--) {\n var _ret = _loop(_i);\n\n if (_ret === \"break\") break;\n }\n }\n\n if (state.placement !== firstFittingPlacement) {\n state.modifiersData[name]._skip = true;\n state.placement = firstFittingPlacement;\n state.reset = true;\n }\n}\n\nexport default {\n name: 'flip',\n enabled: true,\n phase: 'main',\n fn: flip,\n requiresIfExists: ['offset'],\n data: {\n _skip: false\n }\n};","export default function uniqueBy(arr, fn) {\n var identifiers = new Set();\n return arr.filter(function (item) {\n var identifier = fn(item);\n\n if (!identifiers.has(identifier)) {\n identifiers.add(identifier);\n return true;\n }\n });\n}","import getVariation from \"./getVariation.js\";\nimport { variationPlacements, basePlacements } from \"../enums.js\";\nimport detectOverflow from \"./detectOverflow.js\";\nimport getBasePlacement from \"./getBasePlacement.js\";\nexport default function computeAutoPlacement(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n placement = _options.placement,\n boundary = _options.boundary,\n rootBoundary = _options.rootBoundary,\n padding = _options.padding,\n flipVariations = _options.flipVariations;\n var variation = getVariation(placement);\n var placements = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {\n return getVariation(placement) === variation;\n }) : basePlacements; // $FlowFixMe: Flow seems to have problems with two array unions...\n\n var overflows = placements.reduce(function (acc, placement) {\n acc[placement] = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding\n })[getBasePlacement(placement)];\n return acc;\n }, {});\n return Object.keys(overflows).sort(function (a, b) {\n return overflows[a] - overflows[b];\n });\n}","import { top, left, right, bottom, start } from \"../enums.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport getAltAxis from \"../utils/getAltAxis.js\";\nimport within from \"../utils/within.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport getVariation from \"../utils/getVariation.js\";\nimport getFreshSideObject from \"../utils/getFreshSideObject.js\";\n\nfunction preventOverflow(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n padding = options.padding,\n _options$tether = options.tether,\n tether = _options$tether === void 0 ? true : _options$tether,\n _options$tetherOffset = options.tetherOffset,\n tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;\n var overflow = detectOverflow(state, {\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding\n });\n var basePlacement = getBasePlacement(state.placement);\n var variation = getVariation(state.placement);\n var isBasePlacement = !variation;\n var mainAxis = getMainAxisFromPlacement(basePlacement);\n var altAxis = getAltAxis(mainAxis);\n var popperOffsets = state.modifiersData.popperOffsets;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {\n placement: state.placement\n })) : tetherOffset;\n var data = {\n x: 0,\n y: 0\n };\n\n if (checkMainAxis) {\n var mainSide = mainAxis === 'y' ? top : left;\n var altSide = mainAxis === 'y' ? bottom : right;\n var len = mainAxis === 'y' ? 'height' : 'width';\n var offset = popperOffsets[mainAxis];\n var min = popperOffsets[mainAxis] + overflow[mainSide];\n var max = popperOffsets[mainAxis] - overflow[altSide];\n var additive = tether ? -popperRect[len] / 2 : 0;\n var minLen = variation === start ? referenceRect[len] : popperRect[len];\n var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go\n // outside the reference bounds\n\n var arrowElement = state.elements.arrow;\n var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : {\n width: 0,\n height: 0\n };\n var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : getFreshSideObject();\n var arrowPaddingMin = arrowPaddingObject[mainSide];\n var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want\n // to include its full size in the calculation. If the reference is small\n // and near the edge of a boundary, the popper can overflow even if the\n // reference is not overflowing as well (e.g. virtual elements with no\n // width or height)\n\n var arrowLen = within(0, Math.abs(referenceRect[len] - arrowRect[len]), arrowRect[len]);\n var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - tetherOffsetValue : minLen - arrowLen - arrowPaddingMin - tetherOffsetValue;\n var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + tetherOffsetValue : maxLen + arrowLen + arrowPaddingMax + tetherOffsetValue;\n var offsetModifierValue = state.modifiersData.offset ? state.modifiersData.offset[state.placement][mainAxis] : 0;\n var tetherMin = state.modifiersData.popperOffsets[mainAxis] + minOffset - offsetModifierValue;\n var tetherMax = state.modifiersData.popperOffsets[mainAxis] + maxOffset - offsetModifierValue;\n var preventedOffset = within(tether ? Math.min(min, tetherMin) : min, offset, tether ? Math.max(max, tetherMax) : max);\n state.modifiersData.popperOffsets[mainAxis] = preventedOffset;\n data[mainAxis] = preventedOffset - offset;\n }\n\n if (checkAltAxis) {\n var _mainSide = mainAxis === 'x' ? top : left;\n\n var _altSide = mainAxis === 'x' ? bottom : right;\n\n var _offset = popperOffsets[altAxis];\n\n var _min = _offset + overflow[_mainSide];\n\n var _max = _offset - overflow[_altSide];\n\n var _preventedOffset = within(_min, _offset, _max);\n\n state.modifiersData.popperOffsets[altAxis] = _preventedOffset;\n data[altAxis] = _preventedOffset - _offset;\n }\n\n state.modifiersData[name] = data;\n}\n\nexport default {\n name: 'preventOverflow',\n enabled: true,\n phase: 'main',\n fn: preventOverflow,\n requiresIfExists: ['offset']\n};","export default function getAltAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport contains from \"../dom-utils/contains.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport within from \"../utils/within.js\";\nimport mergePaddingObject from \"../utils/mergePaddingObject.js\";\nimport expandToHashMap from \"../utils/expandToHashMap.js\";\nimport { left, right, basePlacements, top, bottom } from \"../enums.js\";\n\nfunction arrow(_ref) {\n var _state$modifiersData$;\n\n var state = _ref.state,\n name = _ref.name;\n var arrowElement = state.elements.arrow;\n var popperOffsets = state.modifiersData.popperOffsets;\n var basePlacement = getBasePlacement(state.placement);\n var axis = getMainAxisFromPlacement(basePlacement);\n var isVertical = [left, right].indexOf(basePlacement) >= 0;\n var len = isVertical ? 'height' : 'width';\n\n if (!arrowElement) {\n return;\n }\n\n var paddingObject = state.modifiersData[name + \"#persistent\"].padding;\n var arrowRect = getLayoutRect(arrowElement);\n var minProp = axis === 'y' ? top : left;\n var maxProp = axis === 'y' ? bottom : right;\n var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];\n var startDiff = popperOffsets[axis] - state.rects.reference[axis];\n var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is\n // outside of the popper bounds\n\n var center = within(paddingObject[minProp], state.rects.popper[len] / 2 - arrowRect[len] / 2 + centerToReference, state.rects.popper[len] - arrowRect[len] - paddingObject[maxProp]); // Prevents breaking syntax highlighting...\n\n var axisProp = axis;\n state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = center, _state$modifiersData$);\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state,\n options = _ref2.options,\n name = _ref2.name;\n var _options$element = options.element,\n arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element,\n _options$padding = options.padding,\n padding = _options$padding === void 0 ? 0 : _options$padding; // CSS selector\n\n if (typeof arrowElement === 'string') {\n arrowElement = state.elements.popper.querySelector(arrowElement);\n\n if (!arrowElement) {\n return;\n }\n }\n\n if (!contains(state.elements.popper, arrowElement)) {\n if (process.env.NODE_ENV !== \"production\") {\n console.error(['Popper: \"arrow\" modifier\\'s `element` must be a child of the popper', 'element.'].join(' '));\n }\n\n return;\n }\n\n state.elements.arrow = arrowElement;\n state.modifiersData[name + \"#persistent\"] = {\n padding: mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements))\n };\n}\n\nexport default {\n name: 'arrow',\n enabled: true,\n phase: 'main',\n fn: arrow,\n effect: effect,\n requires: ['popperOffsets'],\n requiresIfExists: ['preventOverflow']\n};","export default function debounce(fn) {\n var pending;\n return function () {\n if (!pending) {\n pending = new Promise(function (resolve) {\n Promise.resolve().then(function () {\n pending = undefined;\n resolve(fn());\n });\n });\n }\n\n return pending;\n };\n}","import { modifierPhases } from \"../enums.js\"; // source: https://stackoverflow.com/questions/49875255\n\nfunction order(modifiers) {\n var map = new Map();\n var visited = new Set();\n var result = [];\n modifiers.forEach(function (modifier) {\n map.set(modifier.name, modifier);\n }); // On visiting object, check for its dependencies and visit them recursively\n\n function sort(modifier) {\n visited.add(modifier.name);\n var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);\n requires.forEach(function (dep) {\n if (!visited.has(dep)) {\n var depModifier = map.get(dep);\n\n if (depModifier) {\n sort(depModifier);\n }\n }\n });\n result.push(modifier);\n }\n\n modifiers.forEach(function (modifier) {\n if (!visited.has(modifier.name)) {\n // check for visited object\n sort(modifier);\n }\n });\n return result;\n}\n\nexport default function orderModifiers(modifiers) {\n // order based on dependencies\n var orderedModifiers = order(modifiers); // order based on phase\n\n return modifierPhases.reduce(function (acc, phase) {\n return acc.concat(orderedModifiers.filter(function (modifier) {\n return modifier.phase === phase;\n }));\n }, []);\n}","import React, {\n forwardRef, useRef, useEffect, useState, useMemo\n} from 'react';\nimport {\n node, shape, bool, string, func\n} from 'prop-types';\nimport { createPopper } from '@popperjs/core';\n\nimport Portal from '../Portal';\n\nimport { useCombinedRefs } from '../../utils/hooks';\n\nconst Popover = forwardRef(({\n style,\n children,\n usePortal,\n popoverOptions,\n targetRef: { current },\n portalContainerSelector,\n onPlacementChange,\n useMemoizedPopper,\n dontUpdate = false,\n ...props\n}, ref) => {\n if (!current) {\n return null;\n }\n\n // States\n const [popperInstance, setPopperInstance] = useState(false);\n\n // detect placement changings\n useEffect(() => {\n onPlacementChange(popperInstance?.state?.placement);\n }, [popperInstance?.state, popperInstance?.state?.placement]);\n\n // Refs\n const innerRef = useRef();\n const rootRef = useCombinedRefs(ref, innerRef);\n\n const memoizedPopperInstance = useMemo(() => (\n useMemoizedPopper && current && rootRef.current ? createPopper(current, rootRef.current, popoverOptions) : null\n ), [rootRef.current, current, useMemoizedPopper]);\n\n useEffect(() => {\n if (rootRef.current && current) {\n setPopperInstance((useMemoizedPopper && memoizedPopperInstance) ? memoizedPopperInstance : createPopper(current, rootRef.current, popoverOptions));\n }\n\n function handleOrientation() {\n popperInstance.update();\n }\n\n if (window.screen.orientation) {\n window.screen.orientation.addEventListener('change', handleOrientation);\n }\n\n if (popperInstance && !dontUpdate) {\n popperInstance.update();\n }\n\n return () => {\n if (window.screen.orientation) {\n window.screen.orientation.removeEventListener('change', handleOrientation);\n }\n if (popperInstance) popperInstance.destroy();\n };\n }, [rootRef.current, current]);\n\n useEffect(() => {\n if (popperInstance) {\n popperInstance.setOptions(popoverOptions);\n }\n }, [popoverOptions, popperInstance]);\n\n return (\n \n
\n {popperInstance && children}\n
\n
\n );\n});\n\nPopover.propTypes = {\n usePortal: bool,\n children: node,\n targetRef: shape({}),\n popoverOptions: shape({}),\n style: shape({}),\n portalContainerSelector: string,\n onPlacementChange: func,\n useMemoizedPopper: bool,\n dontUpdate: bool\n};\n\nPopover.defaultProps = {\n usePortal: false,\n targetRef: { current: null },\n popoverOptions: {},\n style: {},\n children: null,\n portalContainerSelector: undefined,\n onPlacementChange: f => f,\n useMemoizedPopper: false,\n dontUpdate: false\n};\n\nexport default Popover;\n","import React, { useState, useEffect } from 'react';\nimport {\n node, shape, bool, string, func, oneOf\n} from 'prop-types';\n\nimport Popover from '../Popover';\n\nconst Tooltip = ({\n targetRef, useCustomHandlers, onDeactivate, onActivate, activationEvent, deactivationEvent, ...props\n}) => {\n const [isTooltipVisible, setTooltipVisibility] = useState(useCustomHandlers);\n\n const handleHoverEvent = event => {\n if (useCustomHandlers) {\n onActivate(event);\n } else {\n setTooltipVisibility(true);\n }\n };\n const handleLeaverEvent = event => {\n if (useCustomHandlers) {\n onDeactivate(event);\n } else {\n setTooltipVisibility(false);\n }\n };\n\n useEffect(() => {\n if (targetRef.current) {\n targetRef.current.addEventListener(activationEvent, handleHoverEvent);\n targetRef.current.addEventListener(deactivationEvent, handleLeaverEvent);\n }\n\n return () => {\n if (targetRef.current) {\n targetRef.current.removeEventListener(activationEvent, handleHoverEvent);\n targetRef.current.removeEventListener(deactivationEvent, handleLeaverEvent);\n }\n };\n }, [targetRef.current]);\n\n return (\n \n );\n};\n\nTooltip.propTypes = {\n usePortal: bool,\n children: node,\n targetRef: shape({}),\n popoverOptions: shape({}),\n style: shape({}),\n portalContainerSelector: string,\n onActivate: func,\n onDeactivate: func,\n useCustomHandlers: bool,\n activationEvent: oneOf(['mouseover', 'mousemove']),\n deactivationEvent: oneOf(['mouseleave', 'mouseout'])\n};\n\nTooltip.defaultProps = {\n usePortal: false,\n targetRef: { current: null },\n popoverOptions: {},\n style: {},\n children: null,\n portalContainerSelector: undefined,\n onActivate: null,\n onDeactivate: null,\n useCustomHandlers: false,\n activationEvent: 'mouseover',\n deactivationEvent: 'mouseleave'\n};\n\nexport default Tooltip;\n","import React, { useRef } from 'react';\nimport { string } from 'prop-types';\nimport Styled from 'styled-components';\nimport { Button as UIKitButton, Tooltip as UIKitTooltip, Hooks } from '@jotforminc/uikit';\n\n/* eslint-disable max-len */\nconst ScUIKitButton = Styled(UIKitButton)`\n &.bare {\n font-size: .875em;\n color: #4170e2;\n text-decoration: none;\n background: transparent;\n cursor: pointer;\n box-shadow: none;\n padding: 0;\n border: 0;\n\n &.forSettings {\n svg {\n vertical-align: text-bottom;\n margin-right: 2px;\n width: 18px;\n height: 18px;\n\n html[dir=\"rtl\"] & {\n margin-right: 0;\n margin-left: 2px;\n }\n }\n\n span {\n font-size: 16px;\n margin-left: 4px;\n }\n\n }\n }\n\n &.taste {\n display: inline-block;\n padding: 12px 1em;\n border-radius: 4px;\n cursor: pointer;\n text-transform: uppercase;\n border: 0;\n font-weight: 500;\n font-size: 15px;\n line-height: 14px;\n\n &[disabled] { opacity: .6; cursor: initial; }\n }\n\n &.taste.isBold {\n font-weight: bold;\n }\n\n &.taste.isGhost {\n background-color: #FAFAFC;\n border: 1px solid #ADB4D2;\n color: #ADB4D2;\n transition: all .3s;\n\n &:hover {\n color: #6F76A7;\n border: 1px solid #ADB4D2;\n background-color: #F3F3FE;\n }\n }\n\n &.taste.isGreen {\n background-color: #78BB07;\n color: #fff;\n transition: background-color .3s;\n\n &:hover {\n background-color: #4EB100;\n }\n }\n\n &.taste.isRed {\n background-color: #DC2626;\n color: #fff;\n }\n\n &.taste.isGray {\n background-color: #dddfe9;\n color: #2c3345;\n }\n\n &.taste.isBlue {\n background-color: #4170e2;\n color: #fff;\n }\n\n &.taste.forCopy {\n padding: 0;\n white-space: nowrap;\n\n svg {\n margin-right: .5em;\n vertical-align: -3px;\n width: 17px;\n height: 17px;\n }\n > div { padding: .5em 1em; }\n }\n\n &.outline {\n display: inline-block;\n padding: .5em 1em;\n border-radius: 2px;\n cursor: pointer;\n background: transparent;\n border: 1px solid currentColor;\n font-size: .875em;\n line-height: 1rem;\n font-weight: 500;\n }\n &.forRevoke {\n font-size: .875em;\n color: #f9535c;\n margin: 0 .5rem 0 auto;\n padding: 0.5em 0.7em;\n border-radius: 4px;\n display: inline-flex;\n align-items: center;\n\n &:hover { background-color: #FEF2F2; }\n\n svg {\n width: 14px;\n height: 14px;\n margin-right: 4px;\n }\n }\n\n @media screen and (max-width: 480px) {\n .hom { display: none; }\n }\n`;\n\n/* eslint-enable max-len */\n\nexport const ScUIKitTooltip = Styled(props => )`\n font-size: .75rem;\n line-height: 1;\n padding: .5rem .5rem;\n text-transform: lowercase;\n border-radius: 2px;\n color: #fff;\n font-weight: 400;\n background-color: #2c3345;\n\n &:first-letter { text-transform: uppercase; }\n\n &:before {\n content: \"\";\n display: block;\n position: absolute;\n width: 10px; height: 10px;\n background-color: #2c3345;\n border-radius: 1px;\n transform: rotate(45deg);\n }\n\n @keyframes c { to { opacity: 1; margin-top: 2px; }}\n @keyframes d { to { opacity: 1; margin-bottom: 2px; }}\n\n &[data-popper-placement] {\n z-index: 1;\n }\n\n &[data-popper-placement=\"bottom\"] {\n opacity: 0; margin-top: 0px!important;\n\n &:before { top: -4px; left: 50%; margin-left: -4px; margin-top: 6px; }\n\n &, &:before { animation: c .1s cubic-bezier(.3,.71,.67,.58) 1 forwards; }\n }\n\n &[data-popper-placement=\"top\"] {\n opacity: 0; margin-bottom: 0px!important;\n\n &:before { bottom: -4px; left: 50%; margin-left: -4px; margin-bottom: 6px; }\n\n &, &:before { animation: d .1s cubic-bezier(.3,.71,.67,.58) 1 forwards; }\n }\n`;\n\nconst Button = React.forwardRef(({ name, ...props }, ref) => {\n const innerRef = useRef();\n const combinedRef = Hooks.useCombinedRefs(innerRef, ref);\n\n return (\n <>\n \n {true && name && {name}}\n \n );\n});\n\nButton.propTypes = {\n name: string\n};\n\nButton.defaultProps = {\n name: ''\n};\n\nexport default Button;\n","import React, {\n forwardRef, useImperativeHandle, useRef, useState, useEffect\n} from 'react';\nimport {\n bool, node, elementType, string, shape, func, arrayOf, oneOfType, any\n} from 'prop-types';\nimport KeyboardJS from 'keyboardjs';\nimport { nodeContains } from '@jotforminc/utils';\n\nimport Portal from '../Portal';\n\nimport { useContinueFocus, useEffectIgnoreFirst } from '../../utils/hooks';\nimport { generateShortID } from '../../utils';\n\nconst Modal = forwardRef(({\n children,\n defaultVisible,\n usePortal,\n portalContainerSelector,\n initialPortalSelector,\n closeOnOutsideClick,\n DialogRenderer,\n HeaderRenderer,\n ContentRenderer,\n FooterRenderer,\n reffedDivProps,\n onModalClose,\n closeOnEscPress,\n exceptionalSelectorList,\n autoFocus,\n currentActiveElementRef,\n t,\n ariaLabel\n}, ref) => {\n // Refs\n const portalRef = useRef();\n\n let selector = \"[data-uikit-modal-container='true'],[data-uikitgeneratedportalcontainer='true']\";\n\n if (closeOnOutsideClick && exceptionalSelectorList.length > 0) {\n const additionalSelector = exceptionalSelectorList.join(',');\n selector = `${selector},${additionalSelector}`;\n }\n // States\n const [isVisible, setVisibility] = useState(defaultVisible);\n const hideMenu = event => {\n const containerList = global.document.querySelectorAll(selector);\n const isContained = [...containerList].find(container => nodeContains(container, event.target));\n if (!isContained) {\n setVisibility(false);\n }\n };\n const contentRef = autoFocus ? useContinueFocus(isVisible, currentActiveElementRef) : useRef();\n const hide = () => setVisibility(false);\n const show = () => setVisibility(true);\n const toggleVisibility = () => setVisibility(!isVisible);\n useImperativeHandle(ref, () => ({\n ...portalRef.current,\n hide,\n show,\n toggleVisibility,\n isVisible,\n contentRef\n }));\n\n useEffect(() => {\n if (closeOnOutsideClick) {\n global.window.addEventListener('mouseup', hideMenu);\n return () => global.window.removeEventListener('mouseup', hideMenu);\n }\n }, [selector]);\n\n useEffect(() => {\n if (closeOnEscPress) {\n if (isVisible) {\n KeyboardJS.bind('esc', hide);\n } else {\n KeyboardJS.unbind('esc', hide);\n }\n }\n return () => KeyboardJS.unbind('esc', hide);\n }, [closeOnEscPress, isVisible]);\n\n useEffectIgnoreFirst(() => {\n if (!isVisible) {\n onModalClose();\n }\n }, [isVisible]);\n\n const headerTitleId = useRef(generateShortID()).current;\n const headerSubTitleId = useRef(generateShortID()).current;\n\n return (\n \n {isVisible && (\n \n \n \n \n {children}\n \n \n
\n \n )}\n \n );\n});\n\nModal.propTypes = {\n usePortal: bool,\n defaultVisible: bool,\n children: node.isRequired,\n closeOnOutsideClick: bool,\n DialogRenderer: elementType,\n HeaderRenderer: elementType,\n ContentRenderer: elementType,\n FooterRenderer: elementType,\n portalContainerSelector: string,\n reffedDivProps: shape({}),\n onModalClose: func,\n closeOnEscPress: bool,\n exceptionalSelectorList: arrayOf(string),\n autoFocus: bool,\n currentActiveElementRef: oneOfType([\n func,\n shape({ current: any })\n ]),\n initialPortalSelector: string,\n ariaLabel: string\n};\n\n/* eslint react/prop-types: \"off\" */\nModal.defaultProps = {\n usePortal: false,\n defaultVisible: false,\n closeOnOutsideClick: true,\n portalContainerSelector: 'body',\n DialogRenderer: ({ children }) => (\n
\n {children}\n
\n ),\n ContentRenderer: ({ children }) => (\n \n {children}\n
\n ),\n HeaderRenderer: ({ children }) =>
{children}
,\n FooterRenderer: ({ children }) =>
{children}
,\n reffedDivProps: {},\n onModalClose: () => {},\n closeOnEscPress: true,\n exceptionalSelectorList: [],\n autoFocus: true,\n currentActiveElementRef: null,\n initialPortalSelector: '',\n ariaLabel: ''\n};\n\nexport default Modal;\n","import { clsx } from \"clsx\";\nconst falsyToString = (value)=>typeof value === \"boolean\" ? \"\".concat(value) : value === 0 ? \"0\" : value;\nexport const cx = clsx;\nexport const cva = (base, config)=>{\n return (props)=>{\n var ref;\n if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n const { variants , defaultVariants } = config;\n const getVariantClassNames = Object.keys(variants).map((variant)=>{\n const variantProp = props === null || props === void 0 ? void 0 : props[variant];\n const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];\n if (variantProp === null) return null;\n const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);\n return variants[variant][variantKey];\n });\n const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param)=>{\n let [key, value] = param;\n if (value === undefined) {\n return acc;\n }\n acc[key] = value;\n return acc;\n }, {});\n const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (ref = config.compoundVariants) === null || ref === void 0 ? void 0 : ref.reduce((acc, param1)=>{\n let { class: cvClass , className: cvClassName , ...compoundVariantOptions } = param1;\n return Object.entries(compoundVariantOptions).every((param)=>{\n let [key, value] = param;\n return Array.isArray(value) ? value.includes({\n ...defaultVariants,\n ...propsWithoutUndefined\n }[key]) : ({\n ...defaultVariants,\n ...propsWithoutUndefined\n })[key] === value;\n }) ? [\n ...acc,\n cvClass,\n cvClassName\n ] : acc;\n }, []);\n return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n };\n};\n\n\n//# sourceMappingURL=index.mjs.map","function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e))for(t=0;t & ButtonHelperTypes>\n)\n\ntype ButtonTextCVAType = CVAType\ntype ButtonIconCVAType = CVAType>\ntype ButtonIndicatorCVAType = CVAType>;\n\nconst buttonDefaultClassName = 'magnet-button inline-flex shrink-0 justify-center items-center font-medium duration-300 outline-2 outline-transparent outline-offset-0 focus:outline-opacity-50';\n\n// Classes\nexport const buttonCVA = cva(buttonDefaultClassName, {\n variants: {\n size: {\n small: 'h-8 px-2',\n medium: 'h-10 px-2.5',\n large: 'h-12 px-3'\n },\n rounded: {\n true: 'radius-full',\n false: 'radius'\n },\n fullWidth: {\n true: 'w-full'\n },\n variant: {\n ghost: 'border-0',\n filled: 'border-0',\n outline: 'border'\n },\n showTextOnHover: {\n true: 'group'\n },\n loader: {\n true: 'pointer-events-none'\n },\n disabled: {\n true: 'cursor-not-allowed opacity-40',\n false: 'cursor-pointer'\n },\n colorStyle: {},\n hasChildren: {},\n hasDoubleIcon: {},\n hasLoaderText: {},\n hasOneIcon: {},\n invert: {},\n showTextOnly: {},\n theme: {}\n },\n compoundVariants: [\n /*\n Added `width` class for only outlined icon buttons depending by size because of border width\n */\n {\n variant: 'outline',\n hasChildren: false,\n hasOneIcon: true,\n size: 'small',\n className: 'w-8'\n },\n {\n variant: 'outline',\n hasChildren: false,\n hasOneIcon: true,\n size: 'medium',\n className: 'w-10'\n },\n {\n variant: 'outline',\n hasChildren: false,\n hasOneIcon: true,\n size: 'large',\n className: 'w-12'\n },\n /*\n Added `width` class for only outlined icon buttons depending by size and showTextOnly breakpoints because of border width\n */\n {\n variant: 'outline',\n hasOneIcon: true,\n showTextOnly: 'xs',\n size: 'small',\n className: 'w-8 xs:w-auto'\n },\n {\n variant: 'outline',\n hasOneIcon: true,\n showTextOnly: 'sm',\n size: 'small',\n className: 'w-8 sm:w-auto'\n },\n {\n variant: 'outline',\n hasOneIcon: true,\n showTextOnly: 'md',\n size: 'small',\n className: 'w-8 md:w-auto'\n },\n {\n variant: 'outline',\n hasOneIcon: true,\n showTextOnly: 'lg',\n size: 'small',\n className: 'w-8 lg:w-auto'\n },\n {\n variant: 'outline',\n hasOneIcon: true,\n showTextOnly: 'xl',\n size: 'small',\n className: 'w-8 xl:w-auto'\n },\n {\n variant: 'outline',\n hasOneIcon: true,\n showTextOnly: 'xxl',\n size: 'small',\n className: 'w-8 xxl:w-auto'\n },\n {\n variant: 'outline',\n hasOneIcon: true,\n showTextOnly: 'xs',\n size: 'medium',\n className: 'w-10 xs:w-auto'\n },\n {\n variant: 'outline',\n hasOneIcon: true,\n showTextOnly: 'sm',\n size: 'medium',\n className: 'w-10 sm:w-auto'\n },\n {\n variant: 'outline',\n hasOneIcon: true,\n showTextOnly: 'md',\n size: 'medium',\n className: 'w-10 md:w-auto'\n },\n {\n variant: 'outline',\n hasOneIcon: true,\n showTextOnly: 'lg',\n size: 'medium',\n className: 'w-10 lg:w-auto'\n },\n {\n variant: 'outline',\n hasOneIcon: true,\n showTextOnly: 'xl',\n size: 'medium',\n className: 'w-10 xl:w-auto'\n },\n {\n variant: 'outline',\n hasOneIcon: true,\n showTextOnly: 'xxl',\n size: 'medium',\n className: 'w-10 xxl:w-auto'\n },\n {\n variant: 'outline',\n hasOneIcon: true,\n showTextOnly: 'xs',\n size: 'large',\n className: 'w-12 xs:w-auto'\n },\n {\n variant: 'outline',\n hasOneIcon: true,\n showTextOnly: 'sm',\n size: 'large',\n className: 'w-12 sm:w-auto'\n },\n {\n variant: 'outline',\n hasOneIcon: true,\n showTextOnly: 'md',\n size: 'large',\n className: 'w-12 md:w-auto'\n },\n {\n variant: 'outline',\n hasOneIcon: true,\n showTextOnly: 'lg',\n size: 'large',\n className: 'w-12 lg:w-auto'\n },\n {\n variant: 'outline',\n hasOneIcon: true,\n showTextOnly: 'xl',\n size: 'large',\n className: 'w-12 xl:w-auto'\n },\n {\n variant: 'outline',\n hasOneIcon: true,\n showTextOnly: 'xxl',\n size: 'large',\n className: 'w-12 xxl:w-auto'\n },\n /*\n Added `width` class for only outlined icon buttons depending by size and showTextOnHover because of border width\n */\n {\n variant: 'outline',\n hasOneIcon: true,\n showTextOnHover: true,\n size: 'small',\n className: 'w-8 hover:w-auto'\n },\n {\n variant: 'outline',\n hasOneIcon: true,\n showTextOnHover: true,\n size: 'medium',\n className: 'w-10 hover:w-auto'\n },\n {\n variant: 'outline',\n hasOneIcon: true,\n showTextOnHover: true,\n size: 'large',\n className: 'w-12 hover:w-auto'\n },\n /*\n Added `relative` class to wrapping the loader overlay element\n */\n {\n loader: true,\n hasLoaderText: false,\n className: 'relative'\n },\n /*\n Added `bg-transparent` class for `ghost` and `outline` variants\n because they don't have a background in the static state\n */\n {\n variant: ['ghost', 'outline'],\n className: 'bg-transparent'\n },\n /*\n Added `bg-white` for those with\n `filled` variant\n \"darker\" colorStyle\n */\n {\n variant: 'filled',\n colorStyle: [\n 'primary', 'success', 'error', 'neutral',\n 'analytics', 'pages', 'teams', 'sign', 'pdf', 'apps',\n 'reports', 'forms', 'sign', 'tables', 'inbox', 'approvals'\n ],\n invert: false,\n className: 'color-white'\n },\n {\n variant: 'filled',\n colorStyle: [\n 'primary', 'success', 'error', 'neutral',\n 'analytics', 'pages', 'teams', 'sign', 'pdf', 'apps',\n 'reports', 'forms', 'sign', 'tables', 'inbox', 'approvals'\n ],\n invert: true,\n className: 'bg-white'\n },\n {\n variant: 'filled',\n colorStyle: [\n 'neutral', 'analytics', 'pages', 'teams', 'sign', 'pdf', 'apps',\n 'reports', 'forms', 'sign', 'tables', 'inbox', 'approvals'\n ],\n disabled: false,\n invert: true,\n className: 'hover:bg-gray-25'\n },\n /*\n Added core classes for those with\n `filled` variant\n `primary` colorStyle\n */\n {\n variant: 'filled',\n colorStyle: 'primary',\n invert: false,\n className: primary.accent.default.bg.base\n },\n {\n variant: 'filled',\n colorStyle: 'primary',\n disabled: false,\n invert: false,\n className: primary.accent.dark.bg.hover\n },\n {\n variant: 'filled',\n colorStyle: 'primary',\n invert: true,\n className: primary.accent.default.color.base\n },\n {\n variant: 'filled',\n colorStyle: 'primary',\n disabled: false,\n invert: false,\n className: primary.accent.dark.bg.hover\n },\n {\n variant: 'filled',\n colorStyle: 'primary',\n disabled: false,\n invert: true,\n className: 'hover:bg-blue-100'\n },\n /*\n Added core classes for those with\n `filled` variant\n `secondary` colorStyle\n */\n {\n variant: 'filled',\n colorStyle: 'secondary',\n invert: false,\n className: [\n primary.background.light.base,\n primary.text.dark.base\n ]\n },\n {\n variant: 'filled',\n colorStyle: 'secondary',\n invert: true,\n className: ['bg-navy-600', primary.text.light.base]\n },\n {\n variant: 'filled',\n colorStyle: 'secondary',\n disabled: false,\n className: primary.background.medium.hover\n },\n {\n variant: 'filled',\n colorStyle: 'secondary',\n disabled: false,\n invert: true,\n className: 'hover:bg-navy-700'\n },\n /*\n Added core classes for those with\n `filled` variant\n `success` colorStyle\n */\n {\n variant: 'filled',\n colorStyle: 'success',\n invert: false,\n className: primary.success.default.bg.base\n },\n {\n variant: 'filled',\n colorStyle: 'success',\n invert: true,\n className: 'color-green-600'\n },\n {\n variant: 'filled',\n colorStyle: 'success',\n disabled: false,\n invert: false,\n className: primary.success.dark.bg.hover\n },\n {\n variant: 'filled',\n colorStyle: 'success',\n disabled: false,\n invert: true,\n className: 'hover:bg-green-100'\n },\n /*\n Added core classes for those with\n `filled` variant\n `error` colorStyle\n */\n {\n variant: 'filled',\n colorStyle: 'error',\n invert: false,\n className: primary.error.default.bg.base\n },\n {\n variant: 'filled',\n colorStyle: 'error',\n invert: true,\n className: primary.error.default.color.base\n },\n {\n variant: 'filled',\n colorStyle: 'error',\n disabled: false,\n invert: false,\n className: primary.error.dark.bg.hover\n },\n {\n variant: 'filled',\n colorStyle: 'error',\n disabled: false,\n invert: true,\n className: primary.error.lightest.bg.hover\n },\n /*\n Added core classes for those with\n `filled` variant\n `neutral` colorStyle\n */\n {\n variant: 'filled',\n colorStyle: 'neutral',\n invert: false,\n className: secondary.background.medium.base\n },\n {\n variant: 'filled',\n colorStyle: 'neutral',\n invert: true,\n className: 'color-gray-600'\n },\n {\n variant: 'filled',\n colorStyle: 'neutral',\n disabled: false,\n invert: false,\n className: secondary.background.dark.hover\n },\n /*\n Added core classes for those with\n `filled` variant\n `analytics` colorStyle\n */\n {\n variant: 'filled',\n colorStyle: 'analytics',\n invert: false,\n className: 'bg-analytics-default'\n },\n {\n variant: 'filled',\n colorStyle: 'analytics',\n invert: true,\n className: 'color-analytics-default'\n },\n {\n variant: 'filled',\n colorStyle: 'analytics',\n disabled: false,\n invert: false,\n className: 'hover:bg-analytics-dark'\n },\n /*\n Added core classes for those with\n `filled` variant\n `pages` colorStyle\n */\n {\n variant: 'filled',\n colorStyle: 'pages',\n invert: false,\n className: 'bg-pages-default'\n },\n {\n variant: 'filled',\n colorStyle: 'pages',\n invert: true,\n className: 'color-pages-default'\n },\n {\n variant: 'filled',\n colorStyle: 'pages',\n disabled: false,\n invert: false,\n className: 'hover:bg-pages-dark'\n },\n /*\n Added core classes for those with\n `filled` variant\n `teams` colorStyle\n */\n {\n variant: 'filled',\n colorStyle: 'teams',\n invert: false,\n className: 'bg-teams-default'\n },\n {\n variant: 'filled',\n colorStyle: 'teams',\n invert: true,\n className: 'color-teams-default'\n },\n {\n variant: 'filled',\n colorStyle: 'teams',\n disabled: false,\n invert: false,\n className: 'hover:bg-teams-dark'\n },\n /*\n Added core classes for those with\n `filled` variant\n `sign` colorStyle\n */\n {\n variant: 'filled',\n colorStyle: 'sign',\n invert: false,\n className: 'bg-sign-default'\n },\n {\n variant: 'filled',\n colorStyle: 'sign',\n invert: true,\n className: 'color-sign-default'\n },\n {\n variant: 'filled',\n colorStyle: 'sign',\n disabled: false,\n invert: false,\n className: 'hover:bg-sign-dark'\n },\n /*\n Added core classes for those with\n `filled` variant\n `pdf` colorStyle\n */\n {\n variant: 'filled',\n colorStyle: 'pdf',\n invert: false,\n className: 'bg-pdf-default'\n },\n {\n variant: 'filled',\n colorStyle: 'pdf',\n invert: true,\n className: 'color-pdf-default'\n },\n {\n variant: 'filled',\n colorStyle: 'pdf',\n disabled: false,\n invert: false,\n className: 'hover:bg-pdf-dark'\n },\n /*\n Added core classes for those with\n `filled` variant\n `apps` colorStyle\n */\n {\n variant: 'filled',\n colorStyle: 'apps',\n invert: false,\n className: 'bg-apps-default'\n },\n {\n variant: 'filled',\n colorStyle: 'apps',\n invert: true,\n className: 'color-apps-default'\n },\n {\n variant: 'filled',\n colorStyle: 'apps',\n disabled: false,\n invert: false,\n className: 'bg-apps-default hover:bg-apps-dark'\n },\n /*\n Added core classes for those with\n `filled` variant\n `reports` colorStyle\n */\n {\n variant: 'filled',\n colorStyle: 'reports',\n invert: false,\n className: 'bg-reports-default'\n },\n {\n variant: 'filled',\n colorStyle: 'reports',\n invert: true,\n className: 'color-reports-default'\n },\n {\n variant: 'filled',\n colorStyle: 'reports',\n disabled: false,\n invert: false,\n className: 'hover:bg-reports-dark'\n },\n /*\n Added core classes for those with\n `filled` variant\n `forms` colorStyle\n */\n {\n variant: 'filled',\n colorStyle: 'forms',\n invert: false,\n className: 'bg-forms-default'\n },\n {\n variant: 'filled',\n colorStyle: 'forms',\n invert: true,\n className: 'color-forms-default'\n },\n {\n variant: 'filled',\n colorStyle: 'forms',\n disabled: false,\n invert: false,\n className: 'hover:bg-forms-dark'\n },\n /*\n Added core classes for those with\n `filled` variant\n `tables` colorStyle\n */\n {\n variant: 'filled',\n colorStyle: 'tables',\n invert: false,\n className: 'bg-tables-default'\n },\n {\n variant: 'filled',\n colorStyle: 'tables',\n invert: true,\n className: 'color-tables-default'\n },\n {\n variant: 'filled',\n colorStyle: 'tables',\n disabled: false,\n invert: false,\n className: 'hover:bg-tables-dark'\n },\n /*\n Added core classes for those with\n `filled` variant\n `approvals` colorStyle\n */\n {\n variant: 'filled',\n colorStyle: 'approvals',\n invert: false,\n className: 'bg-approvals-default'\n },\n {\n variant: 'filled',\n colorStyle: 'approvals',\n invert: true,\n className: 'color-approvals-default'\n },\n {\n variant: 'filled',\n colorStyle: 'approvals',\n disabled: false,\n invert: false,\n className: 'hover:bg-approvals-dark'\n },\n /*\n Added core classes for those with\n `filled` variant\n `inbox` colorStyle\n */\n {\n variant: 'filled',\n colorStyle: 'inbox',\n invert: false,\n className: 'bg-inbox-default'\n },\n {\n variant: 'filled',\n colorStyle: 'inbox',\n invert: true,\n className: 'color-inbox-default'\n },\n {\n variant: 'filled',\n colorStyle: 'inbox',\n disabled: false,\n invert: false,\n className: 'hover:bg-inbox-dark'\n },\n /*\n Added border-color class for those with\n `outline` variant\n `primary` colorStyle\n */\n {\n variant: 'outline',\n colorStyle: 'primary',\n theme: 'light',\n className: primary.accent.default.border.base\n },\n {\n variant: 'outline',\n colorStyle: 'primary',\n theme: 'dark',\n className: 'border-blue-300'\n },\n /*\n Added border-color class for those with\n `outline` variant\n `secondary` colorStyle\n */\n {\n variant: 'outline',\n colorStyle: 'secondary',\n theme: 'light',\n className: primary.border.medium.base\n },\n {\n variant: 'outline',\n colorStyle: 'secondary',\n theme: 'dark',\n className: 'border-gray-300'\n },\n /*\n Added border-color class for those with\n `outline` variant\n `neutral` colorStyle\n */\n {\n variant: 'outline',\n colorStyle: 'neutral',\n theme: 'light',\n className: 'border-gray-600'\n },\n {\n variant: 'outline',\n colorStyle: 'neutral',\n theme: 'dark',\n className: 'border-white'\n },\n /*\n Added border-color class for those with\n `outline` variant\n `success` colorStyle\n */\n {\n variant: 'outline',\n colorStyle: 'success',\n theme: 'light',\n className: primary.success.default.border.base\n },\n {\n variant: 'outline',\n colorStyle: 'success',\n theme: 'dark',\n className: 'border-green-300'\n },\n /*\n Added border-color class for those with\n `outline` variant\n `error` colorStyle\n */\n {\n variant: 'outline',\n colorStyle: 'error',\n theme: 'light',\n className: primary.error.default.border.base\n },\n {\n variant: 'outline',\n colorStyle: 'error',\n theme: 'dark',\n className: 'border-red-300'\n },\n /*\n Added color and background-hover classes for those with\n `ghost` or `outline` variant\n `primary` colorStyle\n */\n {\n variant: ['ghost', 'outline'],\n colorStyle: 'primary',\n theme: 'light',\n className: primary.accent.default.color.base\n },\n {\n variant: ['ghost', 'outline'],\n colorStyle: 'primary',\n theme: 'dark',\n className: 'color-blue-300'\n },\n /*\n Added color and background-hover classes for those with\n `ghost` or `outline` variant\n `primary` colorStyle\n `disabled` false\n */\n {\n variant: ['ghost', 'outline'],\n colorStyle: 'primary',\n disabled: false,\n theme: 'light',\n className: primary.accent.lightest.bg.hover\n },\n {\n variant: ['ghost', 'outline'],\n colorStyle: ['primary', 'secondary', 'success', 'error', 'neutral'],\n disabled: false,\n theme: 'dark',\n className: 'hover:bg-gray-700'\n },\n /*\n Added color and background-hover classes for those with\n `ghost` or `outline` variant\n `secondary` or `neutral` colorStyle\n */\n {\n variant: ['ghost', 'outline'],\n colorStyle: ['secondary', 'neutral'],\n theme: 'light',\n class: primary.text.dark.base\n },\n {\n variant: ['ghost', 'outline'],\n colorStyle: ['secondary', 'neutral'],\n theme: 'dark',\n class: 'color-white'\n },\n /*\n Added color and background-hover classes for those with\n `ghost` or `outline` variant\n `secondary` or `neutral` colorStyle\n `disabled` false\n */\n {\n variant: ['ghost', 'outline'],\n colorStyle: ['secondary', 'neutral'],\n disabled: false,\n theme: 'light',\n className: primary.background.lightest.hover\n },\n /*\n Added color and background-hover classes for those with\n `ghost` or `outline` variant\n `success` colorStyle\n `disabled` false\n */\n {\n variant: ['ghost', 'outline'],\n colorStyle: 'success',\n disabled: false,\n theme: 'light',\n className: [primary.success.dark.color.base, primary.success.lightest.bg.hover]\n },\n {\n variant: ['ghost', 'outline'],\n colorStyle: 'success',\n disabled: false,\n theme: 'dark',\n className: 'color-green-300'\n },\n /*\n Added color and background-hover classes for those with\n `ghost` or `outline` variant\n `error` colorStyle\n */\n {\n variant: ['ghost', 'outline'],\n colorStyle: 'error',\n theme: 'light',\n className: primary.error.default.color.base\n },\n {\n variant: ['ghost', 'outline'],\n colorStyle: 'error',\n theme: 'dark',\n className: 'color-red-300'\n },\n /*\n Added color and background-hover classes for those with\n `ghost` or `outline` variant\n `error` colorStyle\n `disabled` false\n */\n {\n variant: ['ghost', 'outline'],\n colorStyle: 'error',\n disabled: false,\n theme: 'light',\n className: primary.error.lightest.bg.hover\n },\n /*\n Added `focus:outline` classes for those with\n `primary` colorStyle\n `disabled` false\n */\n {\n colorStyle: 'primary',\n disabled: false,\n className: 'focus:outline-blue-200'\n },\n /*\n Added `focus:outline` classes for those with\n `secondary` colorStyle\n `disabled` false\n */\n {\n colorStyle: 'secondary',\n disabled: false,\n className: 'focus:outline-navy-50'\n },\n /*\n Added `focus:outline` classes for those with\n `success` colorStyle\n `disabled` false\n */\n {\n colorStyle: 'success',\n disabled: false,\n className: 'focus:outline-green-300'\n },\n /*\n Added `focus:outline` classes for those with\n `error` colorStyle\n `disabled` false\n */\n {\n colorStyle: 'error',\n disabled: false,\n className: 'focus:outline-red-300'\n },\n /*\n Added `focus:outline` classes for those with\n `neutral` colorStyle\n `disabled` false\n */\n {\n colorStyle: 'neutral',\n disabled: false,\n className: 'focus:outline-gray-300'\n },\n /*\n Added `focus:outline` classes for those with\n `analytics` colorStyle\n `disabled` false\n */\n {\n colorStyle: 'analytics',\n disabled: false,\n className: 'focus:outline-analytics-light'\n },\n /*\n Added `focus:outline` classes for those with\n `pages` colorStyle\n `disabled` false\n */\n {\n colorStyle: 'pages',\n disabled: false,\n className: 'focus:outline-pages-light'\n },\n /*\n Added `focus:outline` classes for those with\n `teams` colorStyle\n `disabled` false\n */\n {\n colorStyle: 'teams',\n disabled: false,\n className: 'focus:outline-teams-light'\n },\n /*\n Added `focus:outline` classes for those with\n `sign` colorStyle\n `disabled` false\n */\n {\n colorStyle: 'sign',\n disabled: false,\n className: 'focus:outline-sign-light'\n },\n /*\n Added `focus:outline` classes for those with\n `pdf` colorStyle\n `disabled` false\n */\n {\n colorStyle: 'pdf',\n disabled: false,\n className: 'focus:outline-pdf-light'\n },\n /*\n Added `focus:outline` classes for those with\n `apps` colorStyle\n `disabled` false\n */\n {\n colorStyle: 'apps',\n disabled: false,\n className: 'focus:outline-apps-light'\n },\n /*\n Added `focus:outline` classes for those with\n `reports` colorStyle\n `disabled` false\n */\n {\n colorStyle: 'reports',\n disabled: false,\n className: 'focus:outline-reports-light'\n },\n /*\n Added `focus:outline` classes for those with\n `forms` colorStyle\n `disabled` false\n */\n {\n colorStyle: 'forms',\n disabled: false,\n className: 'focus:outline-forms-light'\n },\n /*\n Added `focus:outline` classes for those with\n `tables` colorStyle\n `disabled` false\n */\n {\n colorStyle: 'tables',\n disabled: false,\n className: 'focus:outline-tables-light'\n },\n /*\n Added `focus:outline` classes for those with\n `inbox` colorStyle\n `disabled` false\n */\n {\n colorStyle: 'inbox',\n disabled: false,\n className: 'focus:outline-inbox-light'\n },\n /*\n Added `focus:outline` classes for those with\n `approvals` colorStyle\n `disabled` false\n */\n {\n colorStyle: 'approvals',\n disabled: false,\n className: 'focus:outline-approvals-light'\n },\n // Icon gaps\n // XS\n {\n showTextOnly: 'xs',\n hasDoubleIcon: true,\n size: 'small',\n hasChildren: true,\n className: 'gap-1 xs:gap-0'\n },\n {\n showTextOnly: 'xs',\n hasDoubleIcon: true,\n size: 'medium',\n hasChildren: true,\n className: 'gap-2 xs:gap-0'\n },\n {\n showTextOnly: 'xs',\n hasDoubleIcon: true,\n size: 'large',\n hasChildren: true,\n className: 'gap-3 xs:gap-0'\n },\n // SM\n {\n showTextOnly: 'sm',\n hasDoubleIcon: true,\n size: 'small',\n hasChildren: true,\n className: 'gap-1 sm:gap-0'\n },\n {\n showTextOnly: 'sm',\n hasDoubleIcon: true,\n size: 'medium',\n hasChildren: true,\n className: 'gap-2 sm:gap-0'\n },\n {\n showTextOnly: 'sm',\n hasDoubleIcon: true,\n size: 'large',\n hasChildren: true,\n className: 'gap-3 sm:gap-0'\n },\n // MD\n {\n showTextOnly: 'md',\n hasDoubleIcon: true,\n size: 'small',\n className: 'gap-1 md:gap-0'\n },\n {\n showTextOnly: 'md',\n hasDoubleIcon: true,\n size: 'medium',\n className: 'gap-2 md:gap-0'\n },\n {\n showTextOnly: 'md',\n hasDoubleIcon: true,\n size: 'large',\n className: 'gap-3 md:gap-0'\n },\n // LG\n {\n showTextOnly: 'lg',\n hasDoubleIcon: true,\n size: 'small',\n className: 'gap-1 lg:gap-0'\n },\n {\n showTextOnly: 'lg',\n hasDoubleIcon: true,\n size: 'medium',\n className: 'gap-2 lg:gap-0'\n },\n {\n showTextOnly: 'lg',\n hasDoubleIcon: true,\n size: 'large',\n className: 'gap-3 lg:gap-0'\n },\n // XL\n {\n showTextOnly: 'xl',\n hasDoubleIcon: true,\n size: 'small',\n className: 'gap-1 xl:gap-0'\n },\n {\n showTextOnly: 'xl',\n hasDoubleIcon: true,\n size: 'medium',\n className: 'gap-2 xl:gap-0'\n },\n {\n showTextOnly: 'xl',\n hasDoubleIcon: true,\n size: 'large',\n className: 'gap-3 xl:gap-0'\n },\n // XXL\n {\n showTextOnly: 'xxl',\n hasDoubleIcon: true,\n size: 'small',\n className: 'gap-1 xxl:gap-0'\n },\n {\n showTextOnly: 'xxl',\n hasDoubleIcon: true,\n size: 'medium',\n className: 'gap-2 xxl:gap-0'\n },\n {\n showTextOnly: 'xxl',\n hasDoubleIcon: true,\n size: 'large',\n className: 'gap-3 xxl:gap-0'\n },\n {\n size: 'small',\n hasOneIcon: false,\n hasDoubleIcon: true,\n hasChildren: false,\n className: 'gap-1'\n },\n {\n size: 'medium',\n hasOneIcon: false,\n hasDoubleIcon: true,\n hasChildren: false,\n className: 'gap-2'\n },\n {\n size: 'large',\n hasOneIcon: false,\n hasDoubleIcon: true,\n hasChildren: false,\n className: 'gap-3'\n }\n ]\n});\n\nexport const buttonTextCVA = cva('', {\n variants: {\n size: {\n small: 'px-1 text-sm',\n medium: 'px-2 text-sm',\n large: 'px-3 text-lg'\n },\n showTextOnHover: {\n true: 'hiddenjf group-hover:block whitespace-nowrap'\n },\n showTextOnly: {\n xs: 'xs:inline',\n sm: 'sm:inline',\n md: 'md:inline',\n lg: 'lg:inline',\n xl: 'xl:inline',\n xxl: 'xxl:inline'\n },\n loader: {},\n hasLoaderText: {},\n hasChildren: {}\n },\n compoundVariants: [\n {\n showTextOnly: ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'],\n className: 'hiddenjf'\n },\n {\n loader: true,\n hasLoaderText: false,\n hasChildren: true,\n className: 'opacity-0'\n }\n ]\n});\n\nexport const buttonIconCVA = cva('magnet-button-icon shrink-0', {\n variants: {\n size: {\n small: 'w-4 h-4',\n medium: 'w-5 h-5',\n large: 'w-6 h-6'\n },\n loader: {},\n hasLoaderText: {}\n },\n compoundVariants: [\n {\n loader: true,\n hasLoaderText: false,\n className: 'opacity-0'\n },\n {\n loader: true,\n hasLoaderText: true,\n className: 'hiddenjf'\n }\n ]\n});\n\nexport const buttonIndicatorCVA = cva('shrink-0', {\n variants: {\n loader: {},\n colorStyle: {}\n },\n compoundVariants: [\n {\n colorStyle: undefined,\n className: 'color-navy-300'\n },\n {\n loader: true,\n className: 'opacity-0'\n }\n ]\n});\n","const text = {\n lightest: {\n base: 'color-gray-100',\n hover: 'hover:color-gray-100'\n },\n light: {\n base: 'color-gray-200',\n hover: 'hover:color-gray-200'\n },\n medium: {\n base: 'color-gray-300',\n hover: 'hover:color-gray-300'\n },\n dark: {\n base: 'color-gray-500',\n hover: 'hover:color-gray-500'\n },\n darkest: {\n base: 'color-gray-700',\n hover: 'hover:color-gray-700'\n }\n} as const;\n\nconst background = {\n lightest: {\n base: 'bg-gray-400',\n hover: 'hover:bg-gray-400'\n },\n light: {\n base: 'bg-gray-500',\n hover: 'hover:bg-gray-500'\n },\n medium: {\n base: 'bg-gray-600',\n hover: 'hover:bg-gray-600'\n },\n dark: {\n base: 'bg-gray-700',\n hover: 'hover:bg-gray-700'\n },\n darkest: {\n base: 'bg-gray-800',\n hover: 'hover:bg-gray-800'\n }\n} as const;\n\nconst border = {\n light: {\n base: 'border-gray-200',\n hover: 'hover:border-gray-200'\n },\n medium: {\n base: 'border-gray-500',\n hover: 'hover:border-gray-500'\n },\n dark: {\n base: 'border-gray-700',\n hover: 'hover:border-gray-700'\n }\n} as const;\n\nexport default {\n text,\n background,\n border\n};\n","\n import API from \"!../../../../style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js\";\n import insertFn from \"!../../../../style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n \n import content, * as namedExport from \"!!../../../../css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[2].use[1]!../../../../postcss-loader@8.1.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__postcss@8.4.38_typescript@5.0.4__5lvnl7xmoydmkkvnqez3gfmijq/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[2].use[2]!./animation.css\";\n \n \n\nvar options = {};\n\n;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[2].use[1]!../../../../postcss-loader@8.1.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__postcss@8.4.38_typescript@5.0.4__5lvnl7xmoydmkkvnqez3gfmijq/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[2].use[2]!./animation.css\";\n export default content && content.locals ? content.locals : undefined;\n","import { cva } from 'class-variance-authority';\nimport { primary } from '../../tokens/colors';\nimport { CVAType } from '../../types/system.types';\nimport { IndicatorProps } from './indicator.types';\n\n// // CVA Types\ntype IndicatorCVAType = CVAType & { hasChildren?: boolean }>\n\n// Classes\nexport const indicatorCVA = cva(\n 'magnet-pill inline-flex radius-full', {\n variants: {\n size: {},\n colorStyle: {},\n hasChildren: {\n true: 'justify-center items-center font-bold'\n },\n invert: {\n true: 'bg-white'\n }\n },\n compoundVariants: [\n /*\n Added width & height classes for sizes if component has children\n */\n {\n hasChildren: false,\n size: 'small',\n class: 'w-2 h-2'\n },\n {\n hasChildren: false,\n size: 'medium',\n class: 'w-2.5 h-2.5'\n },\n {\n hasChildren: false,\n size: 'large',\n class: 'w-3 h-3'\n },\n /*\n Added width, height, padding, text classes for sizes if component has no children\n */\n {\n hasChildren: true,\n size: 'small',\n class: 'min-w-4 h-4 px-1 text-xxs'\n },\n {\n hasChildren: true,\n size: 'medium',\n class: 'min-w-5 h-5 px-1.5 text-xs'\n },\n {\n hasChildren: true,\n size: 'large',\n class: 'min-w-6 h-6 px-2 text-sm'\n },\n /*\n Added color classes for all colorStyles for those with\n `invert` false & `hasChildren` true\n */\n {\n colorStyle: ['primary', 'success', 'error'],\n invert: false,\n hasChildren: true,\n class: 'color-white'\n },\n {\n colorStyle: 'secondary',\n hasChildren: true,\n class: primary.text.darkest.base\n },\n /*\n Added bg classes for each colorStyles for those with\n `current` false\n */\n {\n colorStyle: 'primary',\n invert: false,\n class: primary.accent.default.bg.base\n },\n {\n colorStyle: 'secondary',\n invert: false,\n class: primary.background.light.base\n },\n {\n colorStyle: 'success',\n invert: false,\n class: primary.success.default.bg.base\n },\n {\n colorStyle: 'error',\n invert: false,\n class: primary.error.default.bg.base\n },\n /*\n Added color classes for each colorStyles for those with\n `invert` true (mostly for usage with button)\n */\n {\n colorStyle: 'primary',\n invert: true,\n class: primary.accent.default.color.base\n },\n {\n colorStyle: 'secondary',\n invert: true,\n class: primary.text.dark.base\n },\n {\n colorStyle: 'success',\n invert: true,\n class: primary.success.default.color.base\n },\n {\n colorStyle: 'error',\n invert: true,\n class: primary.error.default.color.base\n }\n ]\n }\n);\n","import React from 'react';\nimport { cx } from 'class-variance-authority';\n\nimport '@jotforminc/jotform.css';\n// eslint-disable-next-line no-restricted-imports\nimport '@jotforminc/jotform.css/animation.css';\n\nimport { indicatorCVA } from './indicator.cva';\nimport { IndicatorProps, indicatorDefaultProps } from './indicator.types';\n\nexport const Indicator = (props: IndicatorProps):JSX.Element => {\n const {\n className, children, colorStyle, invert, size, ...rest\n } = props;\n\n const hasChildren = !!children;\n\n const indicatorClassName = cx(className, indicatorCVA({\n colorStyle,\n hasChildren,\n invert,\n size\n }));\n\n return (\n \n {children}\n \n );\n};\n\nIndicator.defaultProps = indicatorDefaultProps;\n","import { ComponentPropsWithoutRef } from 'react';\nimport { ColorStyle, Size } from '../../constants/common.types';\n\nexport type IndicatorProps = ComponentPropsWithoutRef<'span'> & {\n size?: Size,\n colorStyle?: ColorStyle | 'secondary',\n invert?: boolean\n}\n\nexport const indicatorDefaultProps:Partial = {\n invert: false,\n size: 'medium',\n colorStyle: 'primary'\n};\n","import React, { PropsWithChildren } from 'react';\nimport { cx } from 'class-variance-authority';\nimport { Indicator } from '../Indicator';\nimport { ButtonTextProps, ButtonIconProps, ButtonIndicatorProps } from './button.types';\nimport { buttonTextCVA, buttonIconCVA, buttonIndicatorCVA } from './button.cva';\n\nexport const ButtonText = (props: PropsWithChildren): JSX.Element => {\n const {\n size, showTextOnHover, showTextOnly, loader, hasLoaderText, hasChildren, children\n } = props;\n\n return (\n \n {children}\n \n );\n};\n\nexport const ButtonIcon = (props: ButtonIconProps): JSX.Element => {\n const {\n size, hasLoaderText, loader, icon: Icon\n } = props;\n\n return ;\n};\n\nexport const ButtonIndicator = (props: ButtonIndicatorProps): JSX.Element => {\n const {\n size, loader, indicatorText, colorStyle, variant\n } = props;\n\n // If color style is not `primary`, `success`, `error`, pill's color always should be `null`\n const indicatorColorStyle = (colorStyle === 'primary' || colorStyle === 'success' || colorStyle === 'error' || colorStyle === 'secondary') ? colorStyle : undefined;\n\n const indicatorVariant = variant === 'filled';\n\n return (\n \n {indicatorText}\n \n );\n};\n","import { cva } from 'class-variance-authority';\nimport { primary } from '../../tokens/colors';\nimport { CVAType } from '../../types/system.types';\nimport { LoaderProps } from './loader.types';\n\n// CVA Types\ntype LoaderCVAType = CVAType>;\ntype LoaderElementsCVAType = CVAType>;\n\n// Classes\nexport const loaderCVA = cva(\n 'magnet-loader relative', {\n variants: {\n size: {\n small: 'w-4 h-4',\n medium: 'w-5 h-5',\n large: 'w-6 h-6'\n },\n theme: {}\n }\n }\n);\n\nexport const loaderTrackCVA = cva('opacity-20 absolute inset-px radius-full border-2', {\n variants: {\n theme: {\n current: 'border-current',\n dark: primary.border.darkest.base,\n light: 'border-white'\n }\n }\n});\n\nexport const loaderSpinnerCVA = cva(\n 'absolute inset-px radius-full border-2 border-t-transparent border-b-transparent border-l-transparent anim anim-700 spin-loader timing-linear', {\n variants: {\n theme: {\n current: 'border-r-current',\n dark: 'border-r-navy-700',\n light: 'border-r-white'\n }\n }\n }\n);\n","import { ComponentPropsWithoutRef } from 'react';\nimport { Size, Theme } from '../../constants/common.types';\n\nexport type LoaderProps = ComponentPropsWithoutRef<'div'> & {\n size?: Size,\n theme?: Theme | 'current'\n}\n\nexport const loaderDefaultProps:Partial = {\n size: 'medium',\n theme: 'current'\n};\n","import React from 'react';\nimport { cx } from 'class-variance-authority';\n\nimport '@jotforminc/jotform.css';\n// eslint-disable-next-line no-restricted-imports\nimport '@jotforminc/jotform.css/animation.css';\n\nimport { loaderCVA, loaderSpinnerCVA, loaderTrackCVA } from './loader.cva';\nimport { LoaderProps, loaderDefaultProps } from './loader.types';\n\nexport const Loader = (props: LoaderProps):JSX.Element => {\n const {\n className, size, theme, ...rest\n } = { ...loaderDefaultProps, ...props };\n\n const loaderClassName = cx(className, loaderCVA({\n size,\n theme\n }));\n\n return (\n
\n \n
\n
\n );\n};\n","// Radio & Checkbox & ChoiceLabel\nexport const CHOICE_TRUNCATE_VALUES = ['both', 'description', 'label'] as const;\n\nexport const THEME_VALUES = ['dark', 'light'] as const;\nexport const SIZE_VALUES = ['small', 'medium', 'large'] as const;\nexport const BREAKPOINT_VALUES = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'] as const;\nexport const PRODUCT_NAME_VALUES = ['teams', 'pdf', 'apps', 'reports', 'forms', 'sign', 'tables', 'inbox', 'approvals', 'analytics', 'pages'] as const;\nexport const RESPONSIVE_BREAKPOINT_VALUES = ['base', ...BREAKPOINT_VALUES] as const;\nexport const COLOR_STYLE_VALUES = ['primary', 'success', 'error'] as const;\n\n// Form Controls\nexport const FORM_CONTROL_COLOR_STYLE_VALUES = ['default', 'primary', 'success', 'warning', 'error'] as const;\nexport const BASE_INPUT_ADDON_DIRECTION_VALUES = ['start', 'end'] as const;\nexport const BASE_INPUT_ADDON_VARIANT_VALUES = ['filled', 'ghost'] as const;\n\n// Flex & Grid\nexport const JUSTIFY_CONTENT_VALUES = ['start', 'end', 'center', 'between', 'around', 'evenly'] as const;\nexport const ALIGN_ITEMS_VALUES = ['start', 'end', 'center', 'stretch', 'baseline'] as const;\nexport const FLEX_DIRECTION_VALUES = ['row', 'column', 'row-reverse', 'column-reverse'] as const;\nexport const FLEX_WRAP_VALUES = ['wrap', 'nowrap'] as const;\nexport const FLEX_GROW_VALUES = ['0', '1'] as const;\nexport const FLEX_SHRINK_VALUES = ['0', '1'] as const;\nexport const ORDER_VALUES = ['none', 'first', 'last'] as const;\nexport const ALIGN_SELF_VALUES = ['auto', 'center', 'start', 'end', 'stretch', 'baseline'] as const;\nexport const JUSTIFY_SELF_VALUES = ['auto', 'center', 'start', 'end', 'stretch'] as const;\n\nexport const GRID_TRACK_VALUES = ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'] as const;\nexport const GRID_TEMPLATE_COLUMNS_VALUES = ['none', ...GRID_TRACK_VALUES] as const;\nexport const GRID_ITEM_START_END_VALUES = ['auto', ...GRID_TRACK_VALUES] as const;\n","import React, { ComponentPropsWithRef, ElementType, forwardRef } from 'react';\nimport { cx } from 'class-variance-authority';\n\nimport '@jotforminc/jotform.css';\nimport { buttonCVA } from './button.cva';\nimport {\n ButtonComponentType, ButtonProps, buttonDefaultProps\n} from './button.types';\n\nimport { ButtonIcon, ButtonIndicator, ButtonText } from './ButtonContent';\nimport { Loader } from '../Loader/Loader';\n\nimport { PolymorphicProps } from '../../types/system.types';\nimport { PRODUCT_NAME_VALUES } from '../../constants/common.values';\n\nexport const Button:ButtonComponentType = forwardRef(\n // eslint-disable-next-line complexity\n (\n props: PolymorphicProps,\n ref?: ComponentPropsWithRef['ref']\n ): JSX.Element => {\n const {\n children,\n className,\n colorStyle = buttonDefaultProps.colorStyle,\n disabled = buttonDefaultProps.disabled,\n endIcon: EndIcon,\n fullWidth = buttonDefaultProps.fullWidth,\n href,\n loader = buttonDefaultProps.loader,\n loaderText,\n indicatorText,\n invert = buttonDefaultProps.invert,\n rounded = buttonDefaultProps.rounded,\n showTextOnHover = buttonDefaultProps.showTextOnHover,\n size = buttonDefaultProps.size,\n startIcon: StartIcon,\n showTextOnly = buttonDefaultProps.showTextOnly,\n theme = buttonDefaultProps.theme,\n type = buttonDefaultProps.type,\n variant = buttonDefaultProps.variant,\n as: Component = href ? 'a' : 'button',\n ...rest\n } = props;\n\n const hasOneIcon = !!((StartIcon && !EndIcon) || (!StartIcon && EndIcon));\n const hasDoubleIcon = !!(StartIcon && EndIcon);\n const hasIndicator = !!indicatorText;\n\n const hasChildren = !!children;\n const hasLoaderText = !!loaderText;\n const isProductButton = colorStyle ? (PRODUCT_NAME_VALUES as ReadonlyArray).includes(colorStyle) : false;\n\n // If color style is a product color, its variant always should be `filled`\n const buttonVariant = isProductButton ? 'filled' : variant;\n\n // The `loader` state should work only if it is not `disabled`.\n const buttonLoader = !disabled ? loader : false;\n\n // Update button text according the loader state\n const buttonText = hasLoaderText && buttonLoader ? loaderText : children;\n\n // Check button text\n const hasText = hasChildren || (hasLoaderText && buttonLoader);\n\n // Button class list\n const buttonClassName = cx(className, buttonCVA({\n colorStyle,\n disabled,\n fullWidth,\n hasDoubleIcon,\n hasLoaderText,\n hasOneIcon,\n hasChildren,\n invert,\n loader: buttonLoader,\n rounded,\n showTextOnHover,\n showTextOnly,\n size,\n theme,\n variant: buttonVariant\n }));\n\n // Loader content\n const loaderComponent = ;\n const loaderContent = hasLoaderText ? loaderComponent : {loaderComponent};\n\n // Button content\n const buttonContent = (\n <>\n {StartIcon && (\n \n )}\n {buttonLoader && loaderContent}\n {hasText && (\n \n {buttonText}\n \n )}\n {hasIndicator && !hasLoaderText && (\n \n )}\n {EndIcon && !hasIndicator && (\n \n )}\n \n );\n\n return (\n \n {buttonContent}\n \n );\n }\n);\n","import { ComponentPropsWithoutRef, ElementType, ReactElement } from 'react';\nimport { PolymorphicProps } from '../../types/system.types';\nimport {\n Breakpoint, ColorStyle, Icon, ProductName, Size\n} from '../../constants/common.types';\n\nexport type AcceptableButtonTypes = 'button' | 'a';\n\nexport const defaultButtonType:AcceptableButtonTypes = 'button';\n\nexport type ButtonProps = {\n colorStyle?: ColorStyle | ProductName | 'secondary' | 'neutral',\n disabled?: boolean,\n endIcon?: Icon,\n fullWidth?: boolean,\n href?: string,\n indicatorText?: string,\n invert?: boolean,\n loader?: boolean,\n loaderText?: string,\n rounded?: boolean,\n showTextOnHover?: boolean,\n showTextOnly?: Breakpoint | null,\n size?: Size,\n startIcon?: Icon,\n theme?: 'dark' | 'light',\n type?: 'submit' | 'button' | 'reset',\n variant?: 'filled' | 'outline' | 'ghost'\n}\n\nexport type ButtonTextProps = Pick & {\n hasLoaderText?: boolean,\n hasChildren?: boolean\n}\n\nexport type ButtonIconProps = Pick & {\n icon: ElementType,\n hasLoaderText?: boolean\n}\n\nexport type ButtonIndicatorProps = Pick\n\nexport type ButtonComponentType = (\n props: PolymorphicProps & { ref?: ComponentPropsWithoutRef['ref'] }\n) => ReactElement | null\n\nexport const buttonDefaultProps:Partial = {\n colorStyle: 'primary',\n disabled: false,\n fullWidth: false,\n invert: false,\n loader: false,\n rounded: false,\n showTextOnHover: false,\n showTextOnly: null,\n size: 'medium',\n theme: 'light',\n type: 'button',\n variant: 'filled'\n};\n","/* eslint-disable max-len */\nimport Styled, { css } from 'styled-components';\n\nexport const customFont = '-apple-system, BlinkMacSystemFont, \"Segoe UI\", roboto, oxygen-sans, ubuntu, cantarell, \"Helvetica Neue\", sans-serif';\n// '\"CircularStd\", \"Work Sans SemiBold\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", roboto, oxygen-sans, ubuntu, cantarell, \"Helvetica Neue\", sans-serif';\n\nexport const commonStyles = `\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-rendering: optimizeLegibility;\n font-family: ${customFont};\n font-size: 16px;\n`;\n\nexport const ScBox = Styled.div`\n box-sizing: border-box;\n background-color: #fff;\n border-radius: 4px;\n margin: auto auto;\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n position: relative;\n\n .wBox-upper {\n position: absolute;\n left: 0;\n top: 0;\n right: 50px;\n height: 79px;\n }\n\n > div { flex: 1 1 auto; min-height: 0; }\n\n @media screen and (max-width: 480px) {\n border-radius: 0;\n }\n`;\n\nexport const ScHeader = Styled.div`\n @font-face {\n font-family:\"Circular\";\n src: local(\"Circular Medium\"), local(\"Circular-Medium\"), url(\"https://cdn.jotfor.ms/fonts/circular/fonts/Circular-Medium.woff2\") format(\"woff2\"), url(\"https://cdn.jotfor.ms/fonts/circular/fonts/Circular-Medium.woff\") format(\"woff\");\n font-display:swap;\n font-style:normal;\n font-weight: 500;\n }\n\n border-bottom: ${p => (p.withHeader === true ? '1px solid #eaebf2' : 0)};\n display: flex;\n align-items: center;\n\n .header-content {\n flex: 1 1 auto;\n padding-left: 20px;\n .jShareModal-titleText {\n font-size: 20px;\n line-height: 24px;\n font-weight: 500;\n }\n\n html[dir=\"rtl\"] & {\n padding-left: 0;\n padding-right: 20px;\n }\n }\n\n .header-title {\n display: flex;\n align-items: center;\n font-size: 18px;\n font-weight: 500;\n font-family: \"Circular\",Work Sans Medium,-apple-system,Helvetica Neue,sans-serif;\n line-height: 20px;\n color: #141E46;\n height: 20px;\n margin: 0;\n\n .avatarHolder {\n margin-right: 10px;\n html[dir=\"rtl\"] & {\n margin-right: 0;\n margin-left: 10px;\n }\n }\n }\n\n .close-modal {\n margin: 18px;\n }\n && { flex: 0 0 auto; }\n\n @media screen and (max-width: 480px) {\n .header-content { padding-left: 1.5rem; }\n }\n`;\n\nexport const ScFooter = Styled.div`\n border-top: 1px solid #EDEEF5;\n border-radius: 0 0 4px 4px;\n background-color: #F8F8FA;\n min-height: 30px;\n padding: 12px 25px;\n\n && { flex: 0 0 auto; }\n\n @media screen and (max-width: 480px) {\n padding: 9px 18px;\n }\n`;\n\nexport const ScOverlay = Styled.div`\n * { box-sizing: border-box; }\n ${commonStyles};\n font-family: \"Circular\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", roboto, oxygen-sans, ubuntu, cantarell, \"Helvetica Neue\", sans-serif;\n position: fixed;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n z-index: 7002;\n background-color: rgba(37, 45, 91, 0.7);\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n\n div[data-uikit-modal-container] {\n max-width: ${p => (p.maxWidth ? p.maxWidth : 630)}px;\n }\n &.templateModal {\n div[data-uikit-modal-container] {\n max-width: 1440px;\n max-height: unset;\n height: 96%;\n }\n [data-sc=\"picker-body\"] {\n max-height: unset;\n }\n [data-sc=\"footer\"] {\n display: none;\n }\n }\n\n &.forWizard {\n div[data-uikit-modal-container] {\n max-width: 860px;\n min-height: 0;\n }\n .header-content {\n padding-left: 24px;\n }\n .jfTabs-tabs-button {\n color: #8D8FA8;\n border-bottom: 1px solid #EAEBF2;\n &[data-isactive=true] {\n color: #5e74e6;\n }\n &:after {\n background-color: #5e74e6;\n }\n }\n }\n\n &.contactsDeleteModal {\n .title {\n margin: 24px 0 12px 0;\n }\n .content {\n padding-bottom: 32px;\n p {\n max-width: 450px;\n width: 100%;\n background-color: #F3F3FE;\n border-radius: 4px;\n padding: 24px 32px;\n color: #0A1551;\n .contactNames {\n font-weight: 500;\n }\n }\n .subtitle {\n color: #8D8FA8;\n font-weight: 400;\n .undone {\n font-weight: 500;\n }\n }\n }\n }\n\n :not(:last-child) {\n display: none;\n }\n\n .forShareModal-assignee div[data-uikitgeneratedportalcontainer=true] {\n position: absolute;\n\n & > div {\n position: relative !important;\n }\n }\n\n & > div {\n ${p => (p.isFullScreen ? css`\n width: 100%;\n height: 100%;\n ` : css`\n width: 96%;\n max-width: 770px;\n max-height: 80vh;\n // min-height: 424px;\n `)};\n display: flex;\n }\n\n ${p => p.isFullScreen && css`\n ${ScBox} { border-radius: 0; }\n `};\n\n @media screen and (max-width: 480px), (max-height: 480px) {\n overflow: auto;\n display: block;\n &.is2FAModal {\n display: flex;\n height: auto !important; \n }\n\n & > div {\n max-height: none;\n height: 100svh;\n width: 100%;\n margin: 0;\n max-width: none;\n }\n }\n\n @media screen and (max-width: 480px) and (max-height: 380px) {\n & > div {\n height: calc(100vh + 88px);\n }\n }\n\n @media screen and (max-height: 414px) and (orientation: landscape) {\n & > div {\n height: unset;\n }\n }\n`;\n","import React, { useMemo, useRef } from 'react';\nimport {\n elementType, func, bool, node, oneOfType, string, number\n} from 'prop-types';\nimport { t } from '@jotforminc/translation';\nimport { Modal as UIKitModal, Hooks } from '@jotforminc/uikit';\n\nimport { Button } from '@jotforminc/magnet';\nimport { IconChevronLeft, IconXmark } from '@jotforminc/svg-icons';\n\nimport {\n ScOverlay, ScBox, ScHeader, ScFooter\n} from './styled';\n\nconst Modal = React.forwardRef((props, ref) => {\n const {\n header,\n footer,\n onClose,\n isFullScreen,\n showGoBackAsClose,\n contentRenderer,\n className,\n headerHasCloseButton,\n usePortal,\n headerVisible,\n portalContainerSelector,\n onHeaderCloseClick,\n is2FAModal,\n maxWidth\n } = props;\n const innerRef = useRef();\n const rootRef = Hooks.useCombinedRefs(innerRef, ref);\n\n // TODO :: We should translate `Go Back` text\n\n const handleHeaderClose = () => {\n if (onHeaderCloseClick) {\n onHeaderCloseClick();\n return;\n }\n rootRef.current.hide();\n };\n\n const HeaderRenderer = useMemo(() => () => (\n \n
{header}
\n {headerHasCloseButton && (\n \n {showGoBackAsClose ? t('Go back') : ''}\n \n )}\n
\n ), [rootRef.current, header]);\n\n const FooterRenderer = useMemo(() => () => (footer ? {footer} : null), [footer]);\n const ScOverlayWithClass = useMemo(() => pr => (\n \n ), [isFullScreen, className, is2FAModal]);\n\n const isMobile = window.navigator.userAgent.indexOf('Mobile') !== -1;\n\n return (\n null}\n FooterRenderer={FooterRenderer}\n onModalClose={onClose}\n />\n );\n});\n\nModal.propTypes = {\n header: oneOfType([elementType, node]),\n footer: oneOfType([elementType, node]),\n onClose: func,\n onHeaderCloseClick: func,\n isFullScreen: bool,\n showGoBackAsClose: bool,\n className: string,\n contentRenderer: oneOfType([elementType, node]),\n headerHasCloseButton: bool,\n usePortal: bool,\n headerVisible: bool,\n portalContainerSelector: string,\n is2FAModal: bool,\n maxWidth: number\n};\n\nModal.defaultProps = {\n header: null,\n footer: null,\n onClose: f => f,\n onHeaderCloseClick: undefined,\n isFullScreen: false,\n showGoBackAsClose: false,\n className: undefined,\n contentRenderer: ScBox,\n headerHasCloseButton: true,\n usePortal: false,\n headerVisible: true,\n portalContainerSelector: 'body',\n is2FAModal: false,\n maxWidth: 630\n};\n\nexport default Modal;\n","/* eslint-disable max-len */\nimport React, { forwardRef } from 'react';\nimport Styled from 'styled-components';\nimport { string, bool, func } from 'prop-types';\nimport { t } from '@jotforminc/translation';\n\nimport { IconLockFilled } from '@jotforminc/svg-icons';\n\nexport const ScToggle = Styled.div`\n ${props => (props.squareMode ? `\n padding: 0 8px;\n border-radius: 4px;\n height: 35px;\n background-color: #56687B;\n display: inline-flex;\n align-items: center;`\n : `\n width: 48px;\n height: 24px;\n border-radius: 12px;\n background-color: #a0a1b2;`)\n}\n position: relative;\n cursor: pointer;\n\n &:after, &:before {\n content: \"\";\n display: block;\n position: absolute;\n border-radius: ${props => (props.squareMode ? '4px' : '50%')};\n box-sizing: border-box;\n }\n\n &:after {\n ${props => (props.squareMode ? `\n width: 22px;\n height: 22px;\n top: 6px;\n left: 8px;\n border: 1px solid #a3aebb;\n background-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='14' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.353 1.742v16.91M7 1.742v16.91m5.647-16.91v16.91' stroke='%23C4CED9' stroke-width='2' fill='none' fill-rule='evenodd' stroke-linecap='square'/%3E%3C/svg%3E\");\n background-size: 10px;\n background-repeat: no-repeat;\n background-position: center;\n html[dir=\"rtl\"] & {\n left: 0;\n right: 8px;\n }\n `\n : `\n box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.11);\n width: 28px;\n height: 28px;\n top: -2px;\n left: -2px;\n border: 1px solid #f4f4f6;\n html[dir=\"rtl\"] & {\n left: 0;\n right: -2px;\n }\n `)\n}\n background-color: #fff;\n z-index: 1;\n }\n\n /* for loading */\n\n @keyframes spinz { to { transform: rotate(360deg); } }\n @keyframes appearz { to { opacity: 1; } }\n\n &.isLoading:before {\n ${props => (props.squareMode ? `\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n background-color: rgba(255, 255, 255, .8);\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' display='block' preserveAspectRatio='xMidYMid' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='35' fill='none' stroke='%237b7f88' stroke-dasharray='164.93361431346415 56.97787143782138' stroke-width='10'%3E%3CanimateTransform attributeName='transform' dur='1s' keyTimes='0;1' repeatCount='indefinite' type='rotate' values='0 50 50;360 50 50'/%3E%3C/circle%3E%3C/svg%3E\");\n background-size: 10px;\n background-repeat: no-repeat;\n background-position: center;\n background-size: 20px;`\n : `\n opacity: 0;\n width: 26px;\n height: 26px;\n top: -1px;\n left: -1px;\n border-width: 3px;\n border-style: solid;\n border-color: #a0a1b2 #a0a1b2 #a0a1b2 transparent;\n animation: spinz 1s cubic-bezier(0.49, 0.95, 0.46, 0.08) infinite forwards, appearz .15s 1 forwards .15s;`)\n}\n z-index: 2;\n }\n\n &, &:after, &:before { transition: all .25s ease; }\n`;\n\nconst ScToggleText = Styled.div`\n font-size: 15px;\n font-weight: 500;\n color: #fff;\n opacity: 0;\n transition: opacity .25s ease;\n user-select: none;\n line-height: 1rem;\n\n &:fist-child { opacity: 0; }\n &:last-child { opacity: 1; }\n & + & {\n margin-left: 8px;\n html[dir=\"rtl\"] & {\n margin-left: 0;\n margin-right: 8px;\n }\n }\n`;\n\nconst ScDefaultSizeText = Styled.span`\n opacity: 0;\n font-size: 15px;\n font-weight: 500;\n max-width: 27px;\n`;\n\nconst ScToggleIcon = Styled.div`\n display: flex;\n align-items: center;\n position: relative;\n user-select: none;\n\n & + & {\n margin-left: 8px;\n html[dir=\"rtl\"] & {\n margin-left: 0;\n margin-right: 8px;\n }\n }\n\n // somehow storybook requires svg with/height styling\n & > svg {\n opacity: .5;\n color: #fff;\n width: 18px;\n height: 18px;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n }\n\n &:first-of-type > svg { left: 4px; }\n &:last-of-type > svg { right: 4px; }\n\n & > span {\n opacity: 0;\n font-size: 15px;\n font-weight: 500;\n }\n`;\n\nconst ScLine = Styled.button`\n border-width: 0;\n display: flex;\n font-size: 1em;\n line-height: 1.5;\n background-color: transparent;\n padding: 0;\n margin: 0;\n\n .t-content { flex: 1 1 0; }\n .t-label { color: #0A1551; font-weight: ${p => (p.multiline === true ? '700' : '400')}; ${p => (p.isTitleUppercase === true ? 'text-transform: uppercase' : '')}; }\n .t-desc { font-size: .875em; font-weight: 400; color: #6C73A8; }\n .t-desc span,\n .t-label span { font-weight: 700; }\n\n\n &[data-disabled=true] {\n opacity: .5;\n }\n\n /* selected */\n &[data-selected=true] > ${ScToggle} {\n background-color: ${({ branding21 }) => (branding21 ? '#0099FF' : '#4277ff')};\n\n ${ScToggleText}:first-child { opacity: 1; }\n ${ScToggleText}:last-child { opacity: 0; }\n\n &:after {\n ${props => (props.squareMode ? `\n left: calc(100% - 30px);`\n : `\n transform: translateX(25px);`)\n}\n html[dir=\"rtl\"] & {\n ${props => (props.squareMode ? `\n left: 0;\n right: calc(100% - 30px);`\n : `\n transform: translateX(-25px);`)\n}\n }\n }\n ${props => !props.squareMode && '&.isLoading:before { margin-left: 25px; }'}\n }\n\n /* mixed-value */\n &[data-mixed=true] > ${ScToggle} {\n background-color: #7b7f88;\n ${ScToggleText}:first-child { opacity: 0;}\n ${ScToggleText}:last-child { opacity: 0;}\n\n &:after {\n ${props => (props.squareMode ? `\n left: 50%;\n transform: translate(-50%);`\n : '')\n}\n }\n }\n\n /* hover */\n &:not([data-selected=true]):not([data-disabled=true]):hover > ${ScToggle} {\n }\n\n /* focus */\n &:focus { outline: 0; }\n &:focus > ${ScToggle} {\n }\n`;\n\nconst Toggle = forwardRef(({\n text, value, desc, isSelected, onClick, isLoading, isMultiLine, isTitleUppercase, onFieldError, squareMode, onText, offText, isMixed, readOnly, ariaLabel, noTextMode, ...props\n}, ref) => {\n const handleOnClick = e => {\n if (readOnly) return;\n onClick(e);\n };\n const branding21 = true;\n return (\n \n {(text || desc) && (\n
\n {text &&
{text}
}\n {desc &&
{desc}
}\n
\n )}\n \n {(squareMode && !readOnly) && (\n <>\n {t(onText)}\n {t(offText)}\n \n )}\n\n {(squareMode && readOnly)\n && (\n <>\n \n {noTextMode ? {t(onText)} : {t(onText)}}\n \n \n \n {noTextMode ? {t(offText)} : {t(offText)}}\n \n \n \n )}\n \n \n );\n});\n\nToggle.propTypes = {\n text: string,\n value: string,\n desc: string,\n isLoading: bool,\n isSelected: bool,\n isMultiLine: bool,\n isTitleUppercase: bool,\n onClick: func,\n onFieldError: func,\n squareMode: bool,\n isMixed: bool,\n readOnly: bool,\n offText: string,\n onText: string,\n ariaLabel: string,\n noTextMode: bool\n};\n\nToggle.defaultProps = {\n text: '',\n value: '',\n desc: '',\n isLoading: false,\n isSelected: false,\n isMultiLine: false,\n isTitleUppercase: true,\n onClick: f => f,\n onFieldError: f => f,\n squareMode: false,\n offText: 'OFF',\n onText: 'ON',\n isMixed: false,\n readOnly: false,\n ariaLabel: 'toggle button',\n noTextMode: false\n};\n\nexport default Toggle;\n","\n import API from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n \n import content, * as namedExport from \"!!../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[1]!../../../../../node_modules/.pnpm/postcss-loader@8.1.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__postcss@8.4.38_typescript@5.0.4__5lvnl7xmoydmkkvnqez3gfmijq/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[2]!../../../../../node_modules/.pnpm/sass-loader@14.2.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__sass-embedded@1.78.0_sass@1.75.0_w_m6gyofr5lgwlemccsvqwra2uoi/node_modules/sass-loader/dist/cjs.js!./_jfTooltip.scss\";\n \n \n\nvar options = {};\n\n;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[1]!../../../../../node_modules/.pnpm/postcss-loader@8.1.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__postcss@8.4.38_typescript@5.0.4__5lvnl7xmoydmkkvnqez3gfmijq/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[2]!../../../../../node_modules/.pnpm/sass-loader@14.2.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__sass-embedded@1.78.0_sass@1.75.0_w_m6gyofr5lgwlemccsvqwra2uoi/node_modules/sass-loader/dist/cjs.js!./_jfTooltip.scss\";\n export default content && content.locals ? content.locals : undefined;\n","import React from 'react';\nimport {\n bool,\n elementType,\n node,\n string,\n oneOf,\n oneOfType,\n func,\n shape\n} from 'prop-types';\nimport classNames from 'classnames';\n\nimport '../styles/_jfTooltip.scss';\n\nconst VerticalAttachments = ['Left', 'Right'];\nconst HorizontalAttachments = ['Top', 'Bottom'];\n\n/**\n * Displays a tooltip\n */\nexport class Tooltip extends React.Component {\n get wrapperClassNames() {\n const {\n animated,\n wrapperClassName\n } = this.props;\n\n return classNames(\n 'jfTooltip-wrapper',\n wrapperClassName,\n {\n withAnimation: animated\n }\n );\n }\n\n get containerClassNames() {\n const {\n align,\n attach\n } = this.props;\n\n return classNames('jfTooltip-container', align ? `align${align}` : null, attach ? `attach${attach}` : null);\n }\n\n get classNames() {\n const {\n icon\n } = this.props;\n\n return classNames('jfTooltip', { hasIcon: icon });\n }\n\n get stateClassNames() {\n const {\n isVisible,\n allowHover,\n noWrap,\n align,\n attach,\n renderInContainer\n } = this.props;\n\n return classNames(\n {\n isVisible,\n isInContainer: renderInContainer,\n tooltipAllowHover: allowHover,\n tooltipNoWrap: noWrap\n },\n align ? `tooltipAlign${align}` : null,\n attach ? `tooltipAttach${attach}` : null\n );\n }\n\n renderIcon() {\n const {\n icon\n } = this.props;\n return icon ?
{icon}
: null;\n }\n\n renderV1() {\n const {\n text,\n onClick,\n backgroundColor,\n color,\n children,\n customProps\n } = this.props;\n\n return (text || children) ? (\n \n
\n
\n {this.renderIcon()}\n
{children || text}
\n
\n
\n
\n
\n ) : null;\n }\n\n renderV2() {\n const {\n v2,\n animated,\n className,\n backgroundColor,\n wrapperClassName,\n isVisible,\n children,\n align,\n attach,\n customProps,\n style,\n allowHover,\n hideArrow,\n tooltipDistance,\n tooltipArrowDistance,\n noWrap,\n ...props\n } = this.props;\n\n const isVertical = VerticalAttachments.indexOf(attach) >= 0;\n\n return children ? (\n \n
\n \n \n \n
\n
\n {children}\n
\n
\n ) : null;\n }\n\n render() {\n const { v2 } = this.props;\n return !v2 ? this.renderV1() : this.renderV2();\n }\n}\n\nTooltip.propTypes = {\n v2: bool,\n className: string,\n children: node,\n icon: oneOfType([\n elementType,\n node\n ]),\n text: string,\n align: oneOf(['Left', 'Center', 'Right', 'Start', 'End']),\n attach: oneOf([...VerticalAttachments, ...HorizontalAttachments]),\n animated: bool,\n onClick: func,\n wrapperClassName: string,\n backgroundColor: string,\n color: string,\n isVisible: bool,\n allowHover: bool,\n hideArrow: bool,\n noWrap: bool,\n renderInContainer: bool,\n tooltipDistance: string,\n tooltipArrowDistance: string,\n style: shape({}),\n customProps: shape({})\n};\n\nTooltip.defaultProps = {\n v2: false,\n className: null,\n children: null,\n icon: null,\n text: null,\n align: 'Center',\n attach: 'Top',\n animated: false,\n onClick: f => f,\n wrapperClassName: null,\n backgroundColor: null,\n color: null,\n isVisible: false,\n allowHover: false,\n hideArrow: false,\n noWrap: false,\n renderInContainer: false,\n tooltipDistance: null,\n tooltipArrowDistance: null,\n style: {},\n customProps: {}\n};\n","function _extends() {\n return _extends = Object.assign ? Object.assign.bind() : function (n) {\n for (var e = 1; e < arguments.length; e++) {\n var t = arguments[e];\n for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n }\n return n;\n }, _extends.apply(null, arguments);\n}\nexport { _extends as default };","function _setPrototypeOf(t, e) {\n return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {\n return t.__proto__ = e, t;\n }, _setPrototypeOf(t, e);\n}\nexport { _setPrototypeOf as default };","function _getPrototypeOf(t) {\n return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {\n return t.__proto__ || Object.getPrototypeOf(t);\n }, _getPrototypeOf(t);\n}\nexport { _getPrototypeOf as default };","function _isNativeReflectConstruct() {\n try {\n var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n } catch (t) {}\n return (_isNativeReflectConstruct = function _isNativeReflectConstruct() {\n return !!t;\n })();\n}\nexport { _isNativeReflectConstruct as default };","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport setPrototypeOf from \"./setPrototypeOf.js\";\nimport isNativeFunction from \"./isNativeFunction.js\";\nimport construct from \"./construct.js\";\nfunction _wrapNativeSuper(t) {\n var r = \"function\" == typeof Map ? new Map() : void 0;\n return _wrapNativeSuper = function _wrapNativeSuper(t) {\n if (null === t || !isNativeFunction(t)) return t;\n if (\"function\" != typeof t) throw new TypeError(\"Super expression must either be null or a function\");\n if (void 0 !== r) {\n if (r.has(t)) return r.get(t);\n r.set(t, Wrapper);\n }\n function Wrapper() {\n return construct(t, arguments, getPrototypeOf(this).constructor);\n }\n return Wrapper.prototype = Object.create(t.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), setPrototypeOf(Wrapper, t);\n }, _wrapNativeSuper(t);\n}\nexport { _wrapNativeSuper as default };","function _isNativeFunction(t) {\n try {\n return -1 !== Function.toString.call(t).indexOf(\"[native code]\");\n } catch (n) {\n return \"function\" == typeof t;\n }\n}\nexport { _isNativeFunction as default };","import isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport setPrototypeOf from \"./setPrototypeOf.js\";\nfunction _construct(t, e, r) {\n if (isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);\n var o = [null];\n o.push.apply(o, e);\n var p = new (t.bind.apply(t, o))();\n return r && setPrototypeOf(p, r.prototype), p;\n}\nexport { _construct as default };","import _extends from '@babel/runtime/helpers/esm/extends';\nimport _assertThisInitialized from '@babel/runtime/helpers/esm/assertThisInitialized';\nimport _inheritsLoose from '@babel/runtime/helpers/esm/inheritsLoose';\nimport _wrapNativeSuper from '@babel/runtime/helpers/esm/wrapNativeSuper';\nimport _taggedTemplateLiteralLoose from '@babel/runtime/helpers/esm/taggedTemplateLiteralLoose';\n\nfunction last() {\n var _ref;\n\n return _ref = arguments.length - 1, _ref < 0 || arguments.length <= _ref ? undefined : arguments[_ref];\n}\n\nfunction negation(a) {\n return -a;\n}\n\nfunction addition(a, b) {\n return a + b;\n}\n\nfunction subtraction(a, b) {\n return a - b;\n}\n\nfunction multiplication(a, b) {\n return a * b;\n}\n\nfunction division(a, b) {\n return a / b;\n}\n\nfunction max() {\n return Math.max.apply(Math, arguments);\n}\n\nfunction min() {\n return Math.min.apply(Math, arguments);\n}\n\nfunction comma() {\n return Array.of.apply(Array, arguments);\n}\n\nvar defaultSymbols = {\n symbols: {\n '*': {\n infix: {\n symbol: '*',\n f: multiplication,\n notation: 'infix',\n precedence: 4,\n rightToLeft: 0,\n argCount: 2\n },\n symbol: '*',\n regSymbol: '\\\\*'\n },\n '/': {\n infix: {\n symbol: '/',\n f: division,\n notation: 'infix',\n precedence: 4,\n rightToLeft: 0,\n argCount: 2\n },\n symbol: '/',\n regSymbol: '/'\n },\n '+': {\n infix: {\n symbol: '+',\n f: addition,\n notation: 'infix',\n precedence: 2,\n rightToLeft: 0,\n argCount: 2\n },\n prefix: {\n symbol: '+',\n f: last,\n notation: 'prefix',\n precedence: 3,\n rightToLeft: 0,\n argCount: 1\n },\n symbol: '+',\n regSymbol: '\\\\+'\n },\n '-': {\n infix: {\n symbol: '-',\n f: subtraction,\n notation: 'infix',\n precedence: 2,\n rightToLeft: 0,\n argCount: 2\n },\n prefix: {\n symbol: '-',\n f: negation,\n notation: 'prefix',\n precedence: 3,\n rightToLeft: 0,\n argCount: 1\n },\n symbol: '-',\n regSymbol: '-'\n },\n ',': {\n infix: {\n symbol: ',',\n f: comma,\n notation: 'infix',\n precedence: 1,\n rightToLeft: 0,\n argCount: 2\n },\n symbol: ',',\n regSymbol: ','\n },\n '(': {\n prefix: {\n symbol: '(',\n f: last,\n notation: 'prefix',\n precedence: 0,\n rightToLeft: 0,\n argCount: 1\n },\n symbol: '(',\n regSymbol: '\\\\('\n },\n ')': {\n postfix: {\n symbol: ')',\n f: undefined,\n notation: 'postfix',\n precedence: 0,\n rightToLeft: 0,\n argCount: 1\n },\n symbol: ')',\n regSymbol: '\\\\)'\n },\n min: {\n func: {\n symbol: 'min',\n f: min,\n notation: 'func',\n precedence: 0,\n rightToLeft: 0,\n argCount: 1\n },\n symbol: 'min',\n regSymbol: 'min\\\\b'\n },\n max: {\n func: {\n symbol: 'max',\n f: max,\n notation: 'func',\n precedence: 0,\n rightToLeft: 0,\n argCount: 1\n },\n symbol: 'max',\n regSymbol: 'max\\\\b'\n }\n }\n};\n\n// based on https://github.com/styled-components/styled-components/blob/fcf6f3804c57a14dd7984dfab7bc06ee2edca044/src/utils/error.js\n\n/**\n * Parse errors.md and turn it into a simple hash of code: message\n * @private\n */\nvar ERRORS = {\n \"1\": \"Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }).\\n\\n\",\n \"2\": \"Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }).\\n\\n\",\n \"3\": \"Passed an incorrect argument to a color function, please pass a string representation of a color.\\n\\n\",\n \"4\": \"Couldn't generate valid rgb string from %s, it returned %s.\\n\\n\",\n \"5\": \"Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation.\\n\\n\",\n \"6\": \"Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }).\\n\\n\",\n \"7\": \"Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }).\\n\\n\",\n \"8\": \"Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object.\\n\\n\",\n \"9\": \"Please provide a number of steps to the modularScale helper.\\n\\n\",\n \"10\": \"Please pass a number or one of the predefined scales to the modularScale helper as the ratio.\\n\\n\",\n \"11\": \"Invalid value passed as base to modularScale, expected number or em string but got \\\"%s\\\"\\n\\n\",\n \"12\": \"Expected a string ending in \\\"px\\\" or a number passed as the first argument to %s(), got \\\"%s\\\" instead.\\n\\n\",\n \"13\": \"Expected a string ending in \\\"px\\\" or a number passed as the second argument to %s(), got \\\"%s\\\" instead.\\n\\n\",\n \"14\": \"Passed invalid pixel value (\\\"%s\\\") to %s(), please pass a value like \\\"12px\\\" or 12.\\n\\n\",\n \"15\": \"Passed invalid base value (\\\"%s\\\") to %s(), please pass a value like \\\"12px\\\" or 12.\\n\\n\",\n \"16\": \"You must provide a template to this method.\\n\\n\",\n \"17\": \"You passed an unsupported selector state to this method.\\n\\n\",\n \"18\": \"minScreen and maxScreen must be provided as stringified numbers with the same units.\\n\\n\",\n \"19\": \"fromSize and toSize must be provided as stringified numbers with the same units.\\n\\n\",\n \"20\": \"expects either an array of objects or a single object with the properties prop, fromSize, and toSize.\\n\\n\",\n \"21\": \"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\\n\\n\",\n \"22\": \"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\\n\\n\",\n \"23\": \"fontFace expects a name of a font-family.\\n\\n\",\n \"24\": \"fontFace expects either the path to the font file(s) or a name of a local copy.\\n\\n\",\n \"25\": \"fontFace expects localFonts to be an array.\\n\\n\",\n \"26\": \"fontFace expects fileFormats to be an array.\\n\\n\",\n \"27\": \"radialGradient requries at least 2 color-stops to properly render.\\n\\n\",\n \"28\": \"Please supply a filename to retinaImage() as the first argument.\\n\\n\",\n \"29\": \"Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.\\n\\n\",\n \"30\": \"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\\n\\n\",\n \"31\": \"The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation\\n\\n\",\n \"32\": \"To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s')\\n\\n\",\n \"33\": \"The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation\\n\\n\",\n \"34\": \"borderRadius expects a radius value as a string or number as the second argument.\\n\\n\",\n \"35\": \"borderRadius expects one of \\\"top\\\", \\\"bottom\\\", \\\"left\\\" or \\\"right\\\" as the first argument.\\n\\n\",\n \"36\": \"Property must be a string value.\\n\\n\",\n \"37\": \"Syntax Error at %s.\\n\\n\",\n \"38\": \"Formula contains a function that needs parentheses at %s.\\n\\n\",\n \"39\": \"Formula is missing closing parenthesis at %s.\\n\\n\",\n \"40\": \"Formula has too many closing parentheses at %s.\\n\\n\",\n \"41\": \"All values in a formula must have the same unit or be unitless.\\n\\n\",\n \"42\": \"Please provide a number of steps to the modularScale helper.\\n\\n\",\n \"43\": \"Please pass a number or one of the predefined scales to the modularScale helper as the ratio.\\n\\n\",\n \"44\": \"Invalid value passed as base to modularScale, expected number or em/rem string but got %s.\\n\\n\",\n \"45\": \"Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object.\\n\\n\",\n \"46\": \"Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object.\\n\\n\",\n \"47\": \"minScreen and maxScreen must be provided as stringified numbers with the same units.\\n\\n\",\n \"48\": \"fromSize and toSize must be provided as stringified numbers with the same units.\\n\\n\",\n \"49\": \"Expects either an array of objects or a single object with the properties prop, fromSize, and toSize.\\n\\n\",\n \"50\": \"Expects the objects in the first argument array to have the properties prop, fromSize, and toSize.\\n\\n\",\n \"51\": \"Expects the first argument object to have the properties prop, fromSize, and toSize.\\n\\n\",\n \"52\": \"fontFace expects either the path to the font file(s) or a name of a local copy.\\n\\n\",\n \"53\": \"fontFace expects localFonts to be an array.\\n\\n\",\n \"54\": \"fontFace expects fileFormats to be an array.\\n\\n\",\n \"55\": \"fontFace expects a name of a font-family.\\n\\n\",\n \"56\": \"linearGradient requries at least 2 color-stops to properly render.\\n\\n\",\n \"57\": \"radialGradient requries at least 2 color-stops to properly render.\\n\\n\",\n \"58\": \"Please supply a filename to retinaImage() as the first argument.\\n\\n\",\n \"59\": \"Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.\\n\\n\",\n \"60\": \"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\\n\\n\",\n \"61\": \"Property must be a string value.\\n\\n\",\n \"62\": \"borderRadius expects a radius value as a string or number as the second argument.\\n\\n\",\n \"63\": \"borderRadius expects one of \\\"top\\\", \\\"bottom\\\", \\\"left\\\" or \\\"right\\\" as the first argument.\\n\\n\",\n \"64\": \"The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation.\\n\\n\",\n \"65\": \"To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s').\\n\\n\",\n \"66\": \"The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation.\\n\\n\",\n \"67\": \"You must provide a template to this method.\\n\\n\",\n \"68\": \"You passed an unsupported selector state to this method.\\n\\n\",\n \"69\": \"Expected a string ending in \\\"px\\\" or a number passed as the first argument to %s(), got %s instead.\\n\\n\",\n \"70\": \"Expected a string ending in \\\"px\\\" or a number passed as the second argument to %s(), got %s instead.\\n\\n\",\n \"71\": \"Passed invalid pixel value %s to %s(), please pass a value like \\\"12px\\\" or 12.\\n\\n\",\n \"72\": \"Passed invalid base value %s to %s(), please pass a value like \\\"12px\\\" or 12.\\n\\n\",\n \"73\": \"Please provide a valid CSS variable.\\n\\n\",\n \"74\": \"CSS variable not found and no default was provided.\\n\\n\",\n \"75\": \"important requires a valid style object, got a %s instead.\\n\\n\",\n \"76\": \"fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen.\\n\"\n};\n/**\n * super basic version of sprintf\n * @private\n */\n\nfunction format() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var a = args[0];\n var b = [];\n var c;\n\n for (c = 1; c < args.length; c += 1) {\n b.push(args[c]);\n }\n\n b.forEach(function (d) {\n a = a.replace(/%[a-z]/, d);\n });\n return a;\n}\n/**\n * Create an error file out of errors.md for development and a simple web link to the full errors\n * in production mode.\n * @private\n */\n\n\nvar PolishedError = /*#__PURE__*/function (_Error) {\n _inheritsLoose(PolishedError, _Error);\n\n function PolishedError(code) {\n var _this;\n\n if (process.env.NODE_ENV === 'production') {\n _this = _Error.call(this, \"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#\" + code + \" for more information.\") || this;\n } else {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n _this = _Error.call(this, format.apply(void 0, [ERRORS[code]].concat(args))) || this;\n }\n\n return _assertThisInitialized(_this);\n }\n\n return PolishedError;\n}( /*#__PURE__*/_wrapNativeSuper(Error));\n\nvar unitRegExp = /((?!\\w)a|na|hc|mc|dg|me[r]?|xe|ni(?![a-zA-Z])|mm|cp|tp|xp|q(?!s)|hv|xamv|nimv|wv|sm|s(?!\\D|$)|ged|darg?|nrut)/g; // Merges additional math functionality into the defaults.\n\nfunction mergeSymbolMaps(additionalSymbols) {\n var symbolMap = {};\n symbolMap.symbols = additionalSymbols ? _extends({}, defaultSymbols.symbols, additionalSymbols.symbols) : _extends({}, defaultSymbols.symbols);\n return symbolMap;\n}\n\nfunction exec(operators, values) {\n var _ref;\n\n var op = operators.pop();\n values.push(op.f.apply(op, (_ref = []).concat.apply(_ref, values.splice(-op.argCount))));\n return op.precedence;\n}\n\nfunction calculate(expression, additionalSymbols) {\n var symbolMap = mergeSymbolMaps(additionalSymbols);\n var match;\n var operators = [symbolMap.symbols['('].prefix];\n var values = [];\n var pattern = new RegExp( // Pattern for numbers\n \"\\\\d+(?:\\\\.\\\\d+)?|\" + // ...and patterns for individual operators/function names\n Object.keys(symbolMap.symbols).map(function (key) {\n return symbolMap.symbols[key];\n }) // longer symbols should be listed first\n // $FlowFixMe\n .sort(function (a, b) {\n return b.symbol.length - a.symbol.length;\n }) // $FlowFixMe\n .map(function (val) {\n return val.regSymbol;\n }).join('|') + \"|(\\\\S)\", 'g');\n pattern.lastIndex = 0; // Reset regular expression object\n\n var afterValue = false;\n\n do {\n match = pattern.exec(expression);\n\n var _ref2 = match || [')', undefined],\n token = _ref2[0],\n bad = _ref2[1];\n\n var notNumber = symbolMap.symbols[token];\n var notNewValue = notNumber && !notNumber.prefix && !notNumber.func;\n var notAfterValue = !notNumber || !notNumber.postfix && !notNumber.infix; // Check for syntax errors:\n\n if (bad || (afterValue ? notAfterValue : notNewValue)) {\n throw new PolishedError(37, match ? match.index : expression.length, expression);\n }\n\n if (afterValue) {\n // We either have an infix or postfix operator (they should be mutually exclusive)\n var curr = notNumber.postfix || notNumber.infix;\n\n do {\n var prev = operators[operators.length - 1];\n if ((curr.precedence - prev.precedence || prev.rightToLeft) > 0) break; // Apply previous operator, since it has precedence over current one\n } while (exec(operators, values)); // Exit loop after executing an opening parenthesis or function\n\n\n afterValue = curr.notation === 'postfix';\n\n if (curr.symbol !== ')') {\n operators.push(curr); // Postfix always has precedence over any operator that follows after it\n\n if (afterValue) exec(operators, values);\n }\n } else if (notNumber) {\n // prefix operator or function\n operators.push(notNumber.prefix || notNumber.func);\n\n if (notNumber.func) {\n // Require an opening parenthesis\n match = pattern.exec(expression);\n\n if (!match || match[0] !== '(') {\n throw new PolishedError(38, match ? match.index : expression.length, expression);\n }\n }\n } else {\n // number\n values.push(+token);\n afterValue = true;\n }\n } while (match && operators.length);\n\n if (operators.length) {\n throw new PolishedError(39, match ? match.index : expression.length, expression);\n } else if (match) {\n throw new PolishedError(40, match ? match.index : expression.length, expression);\n } else {\n return values.pop();\n }\n}\n\nfunction reverseString(str) {\n return str.split('').reverse().join('');\n}\n/**\n * Helper for doing math with CSS Units. Accepts a formula as a string. All values in the formula must have the same unit (or be unitless). Supports complex formulas utliziing addition, subtraction, multiplication, division, square root, powers, factorial, min, max, as well as parentheses for order of operation.\n *\n *In cases where you need to do calculations with mixed units where one unit is a [relative length unit](https://developer.mozilla.org/en-US/docs/Web/CSS/length#Relative_length_units), you will want to use [CSS Calc](https://developer.mozilla.org/en-US/docs/Web/CSS/calc).\n *\n * *warning* While we've done everything possible to ensure math safely evalutes formulas expressed as strings, you should always use extreme caution when passing `math` user provided values.\n * @example\n * // Styles as object usage\n * const styles = {\n * fontSize: math('12rem + 8rem'),\n * fontSize: math('(12px + 2px) * 3'),\n * fontSize: math('3px^2 + sqrt(4)'),\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * fontSize: ${math('12rem + 8rem')};\n * fontSize: ${math('(12px + 2px) * 3')};\n * fontSize: ${math('3px^2 + sqrt(4)')};\n * `\n *\n * // CSS as JS Output\n *\n * div: {\n * fontSize: '20rem',\n * fontSize: '42px',\n * fontSize: '11px',\n * }\n */\n\n\nfunction math(formula, additionalSymbols) {\n var reversedFormula = reverseString(formula);\n var formulaMatch = reversedFormula.match(unitRegExp); // Check that all units are the same\n\n if (formulaMatch && !formulaMatch.every(function (unit) {\n return unit === formulaMatch[0];\n })) {\n throw new PolishedError(41);\n }\n\n var cleanFormula = reverseString(reversedFormula.replace(unitRegExp, ''));\n return \"\" + calculate(cleanFormula, additionalSymbols) + (formulaMatch ? reverseString(formulaMatch[0]) : '');\n}\n\nvar cssVariableRegex = /--[\\S]*/g;\n/**\n * Fetches the value of a passed CSS Variable in the :root scope, or otherwise returns a defaultValue if provided.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * 'background': cssVar('--background-color'),\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * background: ${cssVar('--background-color')};\n * `\n *\n * // CSS in JS Output\n *\n * element {\n * 'background': 'red'\n * }\n */\n\nfunction cssVar(cssVariable, defaultValue) {\n if (!cssVariable || !cssVariable.match(cssVariableRegex)) {\n throw new PolishedError(73);\n }\n\n var variableValue;\n /* eslint-disable */\n\n /* istanbul ignore next */\n\n if (typeof document !== 'undefined' && document.documentElement !== null) {\n variableValue = getComputedStyle(document.documentElement).getPropertyValue(cssVariable);\n }\n /* eslint-enable */\n\n\n if (variableValue) {\n return variableValue.trim();\n } else if (defaultValue) {\n return defaultValue;\n }\n\n throw new PolishedError(74);\n}\n\n// @private\nfunction capitalizeString(string) {\n return string.charAt(0).toUpperCase() + string.slice(1);\n}\n\nvar positionMap = ['Top', 'Right', 'Bottom', 'Left'];\n\nfunction generateProperty(property, position) {\n if (!property) return position.toLowerCase();\n var splitProperty = property.split('-');\n\n if (splitProperty.length > 1) {\n splitProperty.splice(1, 0, position);\n return splitProperty.reduce(function (acc, val) {\n return \"\" + acc + capitalizeString(val);\n });\n }\n\n var joinedProperty = property.replace(/([a-z])([A-Z])/g, \"$1\" + position + \"$2\");\n return property === joinedProperty ? \"\" + property + position : joinedProperty;\n}\n\nfunction generateStyles(property, valuesWithDefaults) {\n var styles = {};\n\n for (var i = 0; i < valuesWithDefaults.length; i += 1) {\n if (valuesWithDefaults[i] || valuesWithDefaults[i] === 0) {\n styles[generateProperty(property, positionMap[i])] = valuesWithDefaults[i];\n }\n }\n\n return styles;\n}\n/**\n * Enables shorthand for direction-based properties. It accepts a property (hyphenated or camelCased) and up to four values that map to top, right, bottom, and left, respectively. You can optionally pass an empty string to get only the directional values as properties. You can also optionally pass a null argument for a directional value to ignore it.\n * @example\n * // Styles as object usage\n * const styles = {\n * ...directionalProperty('padding', '12px', '24px', '36px', '48px')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${directionalProperty('padding', '12px', '24px', '36px', '48px')}\n * `\n *\n * // CSS as JS Output\n *\n * div {\n * 'paddingTop': '12px',\n * 'paddingRight': '24px',\n * 'paddingBottom': '36px',\n * 'paddingLeft': '48px'\n * }\n */\n\n\nfunction directionalProperty(property) {\n for (var _len = arguments.length, values = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n values[_key - 1] = arguments[_key];\n }\n\n // prettier-ignore\n var firstValue = values[0],\n _values$ = values[1],\n secondValue = _values$ === void 0 ? firstValue : _values$,\n _values$2 = values[2],\n thirdValue = _values$2 === void 0 ? firstValue : _values$2,\n _values$3 = values[3],\n fourthValue = _values$3 === void 0 ? secondValue : _values$3;\n var valuesWithDefaults = [firstValue, secondValue, thirdValue, fourthValue];\n return generateStyles(property, valuesWithDefaults);\n}\n\n/**\n * Check if a string ends with something\n * @private\n */\nfunction endsWith(string, suffix) {\n return string.substr(-suffix.length) === suffix;\n}\n\nvar cssRegex = /^([+-]?(?:\\d+|\\d*\\.\\d+))([a-z]*|%)$/;\n/**\n * Returns a given CSS value minus its unit of measure.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * '--dimension': stripUnit('100px')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * --dimension: ${stripUnit('100px')};\n * `\n *\n * // CSS in JS Output\n *\n * element {\n * '--dimension': 100\n * }\n */\n\nfunction stripUnit(value) {\n if (typeof value !== 'string') return value;\n var matchedValue = value.match(cssRegex);\n return matchedValue ? parseFloat(value) : value;\n}\n\n/**\n * Factory function that creates pixel-to-x converters\n * @private\n */\n\nvar pxtoFactory = function pxtoFactory(to) {\n return function (pxval, base) {\n if (base === void 0) {\n base = '16px';\n }\n\n var newPxval = pxval;\n var newBase = base;\n\n if (typeof pxval === 'string') {\n if (!endsWith(pxval, 'px')) {\n throw new PolishedError(69, to, pxval);\n }\n\n newPxval = stripUnit(pxval);\n }\n\n if (typeof base === 'string') {\n if (!endsWith(base, 'px')) {\n throw new PolishedError(70, to, base);\n }\n\n newBase = stripUnit(base);\n }\n\n if (typeof newPxval === 'string') {\n throw new PolishedError(71, pxval, to);\n }\n\n if (typeof newBase === 'string') {\n throw new PolishedError(72, base, to);\n }\n\n return \"\" + newPxval / newBase + to;\n };\n};\n\n/**\n * Convert pixel value to ems. The default base value is 16px, but can be changed by passing a\n * second argument to the function.\n * @function\n * @param {string|number} pxval\n * @param {string|number} [base='16px']\n * @example\n * // Styles as object usage\n * const styles = {\n * 'height': em('16px')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * height: ${em('16px')}\n * `\n *\n * // CSS in JS Output\n *\n * element {\n * 'height': '1em'\n * }\n */\n\nvar em = /*#__PURE__*/pxtoFactory('em');\n\nvar cssRegex$1 = /^([+-]?(?:\\d+|\\d*\\.\\d+))([a-z]*|%)$/;\n/**\n * Returns a given CSS value and its unit as elements of an array.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * '--dimension': getValueAndUnit('100px')[0],\n * '--unit': getValueAndUnit('100px')[1],\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * --dimension: ${getValueAndUnit('100px')[0]};\n * --unit: ${getValueAndUnit('100px')[1]};\n * `\n *\n * // CSS in JS Output\n *\n * element {\n * '--dimension': 100,\n * '--unit': 'px',\n * }\n */\n\nfunction getValueAndUnit(value) {\n if (typeof value !== 'string') return [value, ''];\n var matchedValue = value.match(cssRegex$1);\n if (matchedValue) return [parseFloat(value), matchedValue[2]];\n return [value, undefined];\n}\n\n/**\n * Helper for targeting rules in a style block generated by polished modules that need !important-level specificity. Can optionally specify a rule (or rules) to target specific rules.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * ...important(cover())\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${important(cover())}\n * `\n *\n * // CSS as JS Output\n *\n * div: {\n * 'position': 'absolute !important',\n * 'top': '0 !important',\n * 'right: '0 !important',\n * 'bottom': '0 !important',\n * 'left: '0 !important'\n * }\n */\n\nfunction important(styleBlock, rules) {\n if (typeof styleBlock !== 'object' || styleBlock === null) {\n throw new PolishedError(75, typeof styleBlock);\n }\n\n var newStyleBlock = {};\n Object.keys(styleBlock).forEach(function (key) {\n if (typeof styleBlock[key] === 'object' && styleBlock[key] !== null) {\n newStyleBlock[key] = important(styleBlock[key], rules);\n } else if (!rules || rules && (rules === key || rules.indexOf(key) >= 0)) {\n newStyleBlock[key] = styleBlock[key] + \" !important\";\n } else {\n newStyleBlock[key] = styleBlock[key];\n }\n });\n return newStyleBlock;\n}\n\nvar ratioNames = {\n minorSecond: 1.067,\n majorSecond: 1.125,\n minorThird: 1.2,\n majorThird: 1.25,\n perfectFourth: 1.333,\n augFourth: 1.414,\n perfectFifth: 1.5,\n minorSixth: 1.6,\n goldenSection: 1.618,\n majorSixth: 1.667,\n minorSeventh: 1.778,\n majorSeventh: 1.875,\n octave: 2,\n majorTenth: 2.5,\n majorEleventh: 2.667,\n majorTwelfth: 3,\n doubleOctave: 4\n};\n\nfunction getRatio(ratioName) {\n return ratioNames[ratioName];\n}\n/**\n * Establish consistent measurements and spacial relationships throughout your projects by incrementing an em or rem value up or down a defined scale. We provide a list of commonly used scales as pre-defined variables.\n * @example\n * // Styles as object usage\n * const styles = {\n * // Increment two steps up the default scale\n * 'fontSize': modularScale(2)\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * // Increment two steps up the default scale\n * fontSize: ${modularScale(2)}\n * `\n *\n * // CSS in JS Output\n *\n * element {\n * 'fontSize': '1.77689em'\n * }\n */\n\n\nfunction modularScale(steps, base, ratio) {\n if (base === void 0) {\n base = '1em';\n }\n\n if (ratio === void 0) {\n ratio = 1.333;\n }\n\n if (typeof steps !== 'number') {\n throw new PolishedError(42);\n }\n\n if (typeof ratio === 'string' && !ratioNames[ratio]) {\n throw new PolishedError(43);\n }\n\n var _ref = typeof base === 'string' ? getValueAndUnit(base) : [base, ''],\n realBase = _ref[0],\n unit = _ref[1];\n\n var realRatio = typeof ratio === 'string' ? getRatio(ratio) : ratio;\n\n if (typeof realBase === 'string') {\n throw new PolishedError(44, base);\n }\n\n return \"\" + realBase * Math.pow(realRatio, steps) + (unit || '');\n}\n\n/**\n * Convert pixel value to rems. The default base value is 16px, but can be changed by passing a\n * second argument to the function.\n * @function\n * @param {string|number} pxval\n * @param {string|number} [base='16px']\n * @example\n * // Styles as object usage\n * const styles = {\n * 'height': rem('16px')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * height: ${rem('16px')}\n * `\n *\n * // CSS in JS Output\n *\n * element {\n * 'height': '1rem'\n * }\n */\n\nvar rem = /*#__PURE__*/pxtoFactory('rem');\n\nvar functionsMap = {\n back: 'cubic-bezier(0.600, -0.280, 0.735, 0.045)',\n circ: 'cubic-bezier(0.600, 0.040, 0.980, 0.335)',\n cubic: 'cubic-bezier(0.550, 0.055, 0.675, 0.190)',\n expo: 'cubic-bezier(0.950, 0.050, 0.795, 0.035)',\n quad: 'cubic-bezier(0.550, 0.085, 0.680, 0.530)',\n quart: 'cubic-bezier(0.895, 0.030, 0.685, 0.220)',\n quint: 'cubic-bezier(0.755, 0.050, 0.855, 0.060)',\n sine: 'cubic-bezier(0.470, 0.000, 0.745, 0.715)'\n};\n/**\n * String to represent common easing functions as demonstrated here: (github.com/jaukia/easie).\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * 'transitionTimingFunction': easeIn('quad')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * transitionTimingFunction: ${easeIn('quad')};\n * `\n *\n * // CSS as JS Output\n *\n * 'div': {\n * 'transitionTimingFunction': 'cubic-bezier(0.550, 0.085, 0.680, 0.530)',\n * }\n */\n\nfunction easeIn(functionName) {\n return functionsMap[functionName.toLowerCase().trim()];\n}\n\nvar functionsMap$1 = {\n back: 'cubic-bezier(0.680, -0.550, 0.265, 1.550)',\n circ: 'cubic-bezier(0.785, 0.135, 0.150, 0.860)',\n cubic: 'cubic-bezier(0.645, 0.045, 0.355, 1.000)',\n expo: 'cubic-bezier(1.000, 0.000, 0.000, 1.000)',\n quad: 'cubic-bezier(0.455, 0.030, 0.515, 0.955)',\n quart: 'cubic-bezier(0.770, 0.000, 0.175, 1.000)',\n quint: 'cubic-bezier(0.860, 0.000, 0.070, 1.000)',\n sine: 'cubic-bezier(0.445, 0.050, 0.550, 0.950)'\n};\n/**\n * String to represent common easing functions as demonstrated here: (github.com/jaukia/easie).\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * 'transitionTimingFunction': easeInOut('quad')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * transitionTimingFunction: ${easeInOut('quad')};\n * `\n *\n * // CSS as JS Output\n *\n * 'div': {\n * 'transitionTimingFunction': 'cubic-bezier(0.455, 0.030, 0.515, 0.955)',\n * }\n */\n\nfunction easeInOut(functionName) {\n return functionsMap$1[functionName.toLowerCase().trim()];\n}\n\nvar functionsMap$2 = {\n back: 'cubic-bezier(0.175, 0.885, 0.320, 1.275)',\n cubic: 'cubic-bezier(0.215, 0.610, 0.355, 1.000)',\n circ: 'cubic-bezier(0.075, 0.820, 0.165, 1.000)',\n expo: 'cubic-bezier(0.190, 1.000, 0.220, 1.000)',\n quad: 'cubic-bezier(0.250, 0.460, 0.450, 0.940)',\n quart: 'cubic-bezier(0.165, 0.840, 0.440, 1.000)',\n quint: 'cubic-bezier(0.230, 1.000, 0.320, 1.000)',\n sine: 'cubic-bezier(0.390, 0.575, 0.565, 1.000)'\n};\n/**\n * String to represent common easing functions as demonstrated here: (github.com/jaukia/easie).\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * 'transitionTimingFunction': easeOut('quad')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * transitionTimingFunction: ${easeOut('quad')};\n * `\n *\n * // CSS as JS Output\n *\n * 'div': {\n * 'transitionTimingFunction': 'cubic-bezier(0.250, 0.460, 0.450, 0.940)',\n * }\n */\n\nfunction easeOut(functionName) {\n return functionsMap$2[functionName.toLowerCase().trim()];\n}\n\n/**\n * Returns a CSS calc formula for linear interpolation of a property between two values. Accepts optional minScreen (defaults to '320px') and maxScreen (defaults to '1200px').\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * fontSize: between('20px', '100px', '400px', '1000px'),\n * fontSize: between('20px', '100px')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * fontSize: ${between('20px', '100px', '400px', '1000px')};\n * fontSize: ${between('20px', '100px')}\n * `\n *\n * // CSS as JS Output\n *\n * h1: {\n * 'fontSize': 'calc(-33.33333333333334px + 13.333333333333334vw)',\n * 'fontSize': 'calc(-9.090909090909093px + 9.090909090909092vw)'\n * }\n */\n\nfunction between(fromSize, toSize, minScreen, maxScreen) {\n if (minScreen === void 0) {\n minScreen = '320px';\n }\n\n if (maxScreen === void 0) {\n maxScreen = '1200px';\n }\n\n var _getValueAndUnit = getValueAndUnit(fromSize),\n unitlessFromSize = _getValueAndUnit[0],\n fromSizeUnit = _getValueAndUnit[1];\n\n var _getValueAndUnit2 = getValueAndUnit(toSize),\n unitlessToSize = _getValueAndUnit2[0],\n toSizeUnit = _getValueAndUnit2[1];\n\n var _getValueAndUnit3 = getValueAndUnit(minScreen),\n unitlessMinScreen = _getValueAndUnit3[0],\n minScreenUnit = _getValueAndUnit3[1];\n\n var _getValueAndUnit4 = getValueAndUnit(maxScreen),\n unitlessMaxScreen = _getValueAndUnit4[0],\n maxScreenUnit = _getValueAndUnit4[1];\n\n if (typeof unitlessMinScreen !== 'number' || typeof unitlessMaxScreen !== 'number' || !minScreenUnit || !maxScreenUnit || minScreenUnit !== maxScreenUnit) {\n throw new PolishedError(47);\n }\n\n if (typeof unitlessFromSize !== 'number' || typeof unitlessToSize !== 'number' || fromSizeUnit !== toSizeUnit) {\n throw new PolishedError(48);\n }\n\n if (fromSizeUnit !== minScreenUnit || toSizeUnit !== maxScreenUnit) {\n throw new PolishedError(76);\n }\n\n var slope = (unitlessFromSize - unitlessToSize) / (unitlessMinScreen - unitlessMaxScreen);\n var base = unitlessToSize - slope * unitlessMaxScreen;\n return \"calc(\" + base.toFixed(2) + (fromSizeUnit || '') + \" + \" + (100 * slope).toFixed(2) + \"vw)\";\n}\n\n/**\n * CSS to contain a float (credit to CSSMojo).\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * ...clearFix(),\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${clearFix()}\n * `\n *\n * // CSS as JS Output\n *\n * '&::after': {\n * 'clear': 'both',\n * 'content': '\"\"',\n * 'display': 'table'\n * }\n */\nfunction clearFix(parent) {\n var _ref;\n\n if (parent === void 0) {\n parent = '&';\n }\n\n var pseudoSelector = parent + \"::after\";\n return _ref = {}, _ref[pseudoSelector] = {\n clear: 'both',\n content: '\"\"',\n display: 'table'\n }, _ref;\n}\n\n/**\n * CSS to fully cover an area. Can optionally be passed an offset to act as a \"padding\".\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * ...cover()\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${cover()}\n * `\n *\n * // CSS as JS Output\n *\n * div: {\n * 'position': 'absolute',\n * 'top': '0',\n * 'right: '0',\n * 'bottom': '0',\n * 'left: '0'\n * }\n */\nfunction cover(offset) {\n if (offset === void 0) {\n offset = 0;\n }\n\n return {\n position: 'absolute',\n top: offset,\n right: offset,\n bottom: offset,\n left: offset\n };\n}\n\n/**\n * CSS to represent truncated text with an ellipsis. You can optionally pass a max-width and number of lines before truncating.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * ...ellipsis('250px')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${ellipsis('250px')}\n * `\n *\n * // CSS as JS Output\n *\n * div: {\n * 'display': 'inline-block',\n * 'maxWidth': '250px',\n * 'overflow': 'hidden',\n * 'textOverflow': 'ellipsis',\n * 'whiteSpace': 'nowrap',\n * 'wordWrap': 'normal'\n * }\n */\nfunction ellipsis(width, lines) {\n if (lines === void 0) {\n lines = 1;\n }\n\n var styles = {\n display: 'inline-block',\n maxWidth: width || '100%',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n wordWrap: 'normal'\n };\n return lines > 1 ? _extends({}, styles, {\n WebkitBoxOrient: 'vertical',\n WebkitLineClamp: lines,\n display: '-webkit-box',\n whiteSpace: 'normal'\n }) : styles;\n}\n\nfunction _createForOfIteratorHelperLoose(o, allowArrayLike) { var it; if (typeof Symbol === \"undefined\" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; return function () { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } it = o[Symbol.iterator](); return it.next.bind(it); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n/**\n * Returns a set of media queries that resizes a property (or set of properties) between a provided fromSize and toSize. Accepts optional minScreen (defaults to '320px') and maxScreen (defaults to '1200px') to constrain the interpolation.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * ...fluidRange(\n * {\n * prop: 'padding',\n * fromSize: '20px',\n * toSize: '100px',\n * },\n * '400px',\n * '1000px',\n * )\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${fluidRange(\n * {\n * prop: 'padding',\n * fromSize: '20px',\n * toSize: '100px',\n * },\n * '400px',\n * '1000px',\n * )}\n * `\n *\n * // CSS as JS Output\n *\n * div: {\n * \"@media (min-width: 1000px)\": Object {\n * \"padding\": \"100px\",\n * },\n * \"@media (min-width: 400px)\": Object {\n * \"padding\": \"calc(-33.33333333333334px + 13.333333333333334vw)\",\n * },\n * \"padding\": \"20px\",\n * }\n */\nfunction fluidRange(cssProp, minScreen, maxScreen) {\n if (minScreen === void 0) {\n minScreen = '320px';\n }\n\n if (maxScreen === void 0) {\n maxScreen = '1200px';\n }\n\n if (!Array.isArray(cssProp) && typeof cssProp !== 'object' || cssProp === null) {\n throw new PolishedError(49);\n }\n\n if (Array.isArray(cssProp)) {\n var mediaQueries = {};\n var fallbacks = {};\n\n for (var _iterator = _createForOfIteratorHelperLoose(cssProp), _step; !(_step = _iterator()).done;) {\n var _extends2, _extends3;\n\n var obj = _step.value;\n\n if (!obj.prop || !obj.fromSize || !obj.toSize) {\n throw new PolishedError(50);\n }\n\n fallbacks[obj.prop] = obj.fromSize;\n mediaQueries[\"@media (min-width: \" + minScreen + \")\"] = _extends({}, mediaQueries[\"@media (min-width: \" + minScreen + \")\"], (_extends2 = {}, _extends2[obj.prop] = between(obj.fromSize, obj.toSize, minScreen, maxScreen), _extends2));\n mediaQueries[\"@media (min-width: \" + maxScreen + \")\"] = _extends({}, mediaQueries[\"@media (min-width: \" + maxScreen + \")\"], (_extends3 = {}, _extends3[obj.prop] = obj.toSize, _extends3));\n }\n\n return _extends({}, fallbacks, mediaQueries);\n } else {\n var _ref, _ref2, _ref3;\n\n if (!cssProp.prop || !cssProp.fromSize || !cssProp.toSize) {\n throw new PolishedError(51);\n }\n\n return _ref3 = {}, _ref3[cssProp.prop] = cssProp.fromSize, _ref3[\"@media (min-width: \" + minScreen + \")\"] = (_ref = {}, _ref[cssProp.prop] = between(cssProp.fromSize, cssProp.toSize, minScreen, maxScreen), _ref), _ref3[\"@media (min-width: \" + maxScreen + \")\"] = (_ref2 = {}, _ref2[cssProp.prop] = cssProp.toSize, _ref2), _ref3;\n }\n}\n\nvar dataURIRegex = /^\\s*data:([a-z]+\\/[a-z-]+(;[a-z-]+=[a-z-]+)?)?(;charset=[a-z0-9-]+)?(;base64)?,[a-z0-9!$&',()*+,;=\\-._~:@/?%\\s]*\\s*$/i;\nvar formatHintMap = {\n woff: 'woff',\n woff2: 'woff2',\n ttf: 'truetype',\n otf: 'opentype',\n eot: 'embedded-opentype',\n svg: 'svg',\n svgz: 'svg'\n};\n\nfunction generateFormatHint(format, formatHint) {\n if (!formatHint) return '';\n return \" format(\\\"\" + formatHintMap[format] + \"\\\")\";\n}\n\nfunction isDataURI(fontFilePath) {\n return !!fontFilePath.match(dataURIRegex);\n}\n\nfunction generateFileReferences(fontFilePath, fileFormats, formatHint) {\n if (isDataURI(fontFilePath)) {\n return \"url(\\\"\" + fontFilePath + \"\\\")\" + generateFormatHint(fileFormats[0], formatHint);\n }\n\n var fileFontReferences = fileFormats.map(function (format) {\n return \"url(\\\"\" + fontFilePath + \".\" + format + \"\\\")\" + generateFormatHint(format, formatHint);\n });\n return fileFontReferences.join(', ');\n}\n\nfunction generateLocalReferences(localFonts) {\n var localFontReferences = localFonts.map(function (font) {\n return \"local(\\\"\" + font + \"\\\")\";\n });\n return localFontReferences.join(', ');\n}\n\nfunction generateSources(fontFilePath, localFonts, fileFormats, formatHint) {\n var fontReferences = [];\n if (localFonts) fontReferences.push(generateLocalReferences(localFonts));\n\n if (fontFilePath) {\n fontReferences.push(generateFileReferences(fontFilePath, fileFormats, formatHint));\n }\n\n return fontReferences.join(', ');\n}\n/**\n * CSS for a @font-face declaration. Defaults to check for local copies of the font on the user's machine. You can disable this by passing `null` to localFonts.\n *\n * @example\n * // Styles as object basic usage\n * const styles = {\n * ...fontFace({\n * 'fontFamily': 'Sans-Pro',\n * 'fontFilePath': 'path/to/file'\n * })\n * }\n *\n * // styled-components basic usage\n * const GlobalStyle = createGlobalStyle`${\n * fontFace({\n * 'fontFamily': 'Sans-Pro',\n * 'fontFilePath': 'path/to/file'\n * }\n * )}`\n *\n * // CSS as JS Output\n *\n * '@font-face': {\n * 'fontFamily': 'Sans-Pro',\n * 'src': 'url(\"path/to/file.eot\"), url(\"path/to/file.woff2\"), url(\"path/to/file.woff\"), url(\"path/to/file.ttf\"), url(\"path/to/file.svg\")',\n * }\n */\n\n\nfunction fontFace(_ref) {\n var fontFamily = _ref.fontFamily,\n fontFilePath = _ref.fontFilePath,\n fontStretch = _ref.fontStretch,\n fontStyle = _ref.fontStyle,\n fontVariant = _ref.fontVariant,\n fontWeight = _ref.fontWeight,\n _ref$fileFormats = _ref.fileFormats,\n fileFormats = _ref$fileFormats === void 0 ? ['eot', 'woff2', 'woff', 'ttf', 'svg'] : _ref$fileFormats,\n _ref$formatHint = _ref.formatHint,\n formatHint = _ref$formatHint === void 0 ? false : _ref$formatHint,\n _ref$localFonts = _ref.localFonts,\n localFonts = _ref$localFonts === void 0 ? [fontFamily] : _ref$localFonts,\n unicodeRange = _ref.unicodeRange,\n fontDisplay = _ref.fontDisplay,\n fontVariationSettings = _ref.fontVariationSettings,\n fontFeatureSettings = _ref.fontFeatureSettings;\n // Error Handling\n if (!fontFamily) throw new PolishedError(55);\n\n if (!fontFilePath && !localFonts) {\n throw new PolishedError(52);\n }\n\n if (localFonts && !Array.isArray(localFonts)) {\n throw new PolishedError(53);\n }\n\n if (!Array.isArray(fileFormats)) {\n throw new PolishedError(54);\n }\n\n var fontFaceDeclaration = {\n '@font-face': {\n fontFamily: fontFamily,\n src: generateSources(fontFilePath, localFonts, fileFormats, formatHint),\n unicodeRange: unicodeRange,\n fontStretch: fontStretch,\n fontStyle: fontStyle,\n fontVariant: fontVariant,\n fontWeight: fontWeight,\n fontDisplay: fontDisplay,\n fontVariationSettings: fontVariationSettings,\n fontFeatureSettings: fontFeatureSettings\n }\n }; // Removes undefined fields for cleaner css object.\n\n return JSON.parse(JSON.stringify(fontFaceDeclaration));\n}\n\n/**\n * CSS to hide text to show a background image in a SEO-friendly way.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * 'backgroundImage': 'url(logo.png)',\n * ...hideText(),\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * backgroundImage: url(logo.png);\n * ${hideText()};\n * `\n *\n * // CSS as JS Output\n *\n * 'div': {\n * 'backgroundImage': 'url(logo.png)',\n * 'textIndent': '101%',\n * 'overflow': 'hidden',\n * 'whiteSpace': 'nowrap',\n * }\n */\nfunction hideText() {\n return {\n textIndent: '101%',\n overflow: 'hidden',\n whiteSpace: 'nowrap'\n };\n}\n\n/**\n * CSS to hide content visually but remain accessible to screen readers.\n * from [HTML5 Boilerplate](https://github.com/h5bp/html5-boilerplate/blob/9a176f57af1cfe8ec70300da4621fb9b07e5fa31/src/css/main.css#L121)\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * ...hideVisually(),\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${hideVisually()};\n * `\n *\n * // CSS as JS Output\n *\n * 'div': {\n * 'border': '0',\n * 'clip': 'rect(0 0 0 0)',\n * 'height': '1px',\n * 'margin': '-1px',\n * 'overflow': 'hidden',\n * 'padding': '0',\n * 'position': 'absolute',\n * 'whiteSpace': 'nowrap',\n * 'width': '1px',\n * }\n */\nfunction hideVisually() {\n return {\n border: '0',\n clip: 'rect(0 0 0 0)',\n height: '1px',\n margin: '-1px',\n overflow: 'hidden',\n padding: '0',\n position: 'absolute',\n whiteSpace: 'nowrap',\n width: '1px'\n };\n}\n\n/**\n * Generates a media query to target HiDPI devices.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * [hiDPI(1.5)]: {\n * width: 200px;\n * }\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${hiDPI(1.5)} {\n * width: 200px;\n * }\n * `\n *\n * // CSS as JS Output\n *\n * '@media only screen and (-webkit-min-device-pixel-ratio: 1.5),\n * only screen and (min--moz-device-pixel-ratio: 1.5),\n * only screen and (-o-min-device-pixel-ratio: 1.5/1),\n * only screen and (min-resolution: 144dpi),\n * only screen and (min-resolution: 1.5dppx)': {\n * 'width': '200px',\n * }\n */\nfunction hiDPI(ratio) {\n if (ratio === void 0) {\n ratio = 1.3;\n }\n\n return \"\\n @media only screen and (-webkit-min-device-pixel-ratio: \" + ratio + \"),\\n only screen and (min--moz-device-pixel-ratio: \" + ratio + \"),\\n only screen and (-o-min-device-pixel-ratio: \" + ratio + \"/1),\\n only screen and (min-resolution: \" + Math.round(ratio * 96) + \"dpi),\\n only screen and (min-resolution: \" + ratio + \"dppx)\\n \";\n}\n\nfunction constructGradientValue(literals) {\n var template = '';\n\n for (var _len = arguments.length, substitutions = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n substitutions[_key - 1] = arguments[_key];\n }\n\n for (var i = 0; i < literals.length; i += 1) {\n template += literals[i];\n\n if (i === substitutions.length - 1 && substitutions[i]) {\n var definedValues = substitutions.filter(function (substitute) {\n return !!substitute;\n }); // Adds leading coma if properties preceed color-stops\n\n if (definedValues.length > 1) {\n template = template.slice(0, -1);\n template += \", \" + substitutions[i]; // No trailing space if color-stops is the only param provided\n } else if (definedValues.length === 1) {\n template += \"\" + substitutions[i];\n }\n } else if (substitutions[i]) {\n template += substitutions[i] + \" \";\n }\n }\n\n return template.trim();\n}\n\nfunction _templateObject() {\n var data = _taggedTemplateLiteralLoose([\"linear-gradient(\", \"\", \")\"]);\n\n _templateObject = function _templateObject() {\n return data;\n };\n\n return data;\n}\n\n/**\n * CSS for declaring a linear gradient, including a fallback background-color. The fallback is either the first color-stop or an explicitly passed fallback color.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * ...linearGradient({\n colorStops: ['#00FFFF 0%', 'rgba(0, 0, 255, 0) 50%', '#0000FF 95%'],\n toDirection: 'to top right',\n fallback: '#FFF',\n })\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${linearGradient({\n colorStops: ['#00FFFF 0%', 'rgba(0, 0, 255, 0) 50%', '#0000FF 95%'],\n toDirection: 'to top right',\n fallback: '#FFF',\n })}\n *`\n *\n * // CSS as JS Output\n *\n * div: {\n * 'backgroundColor': '#FFF',\n * 'backgroundImage': 'linear-gradient(to top right, #00FFFF 0%, rgba(0, 0, 255, 0) 50%, #0000FF 95%)',\n * }\n */\nfunction linearGradient(_ref) {\n var colorStops = _ref.colorStops,\n fallback = _ref.fallback,\n _ref$toDirection = _ref.toDirection,\n toDirection = _ref$toDirection === void 0 ? '' : _ref$toDirection;\n\n if (!colorStops || colorStops.length < 2) {\n throw new PolishedError(56);\n }\n\n return {\n backgroundColor: fallback || colorStops[0].replace(/,\\s+/g, ',').split(' ')[0].replace(/,(?=\\S)/g, ', '),\n backgroundImage: constructGradientValue(_templateObject(), toDirection, colorStops.join(', ').replace(/,(?=\\S)/g, ', '))\n };\n}\n\n/**\n * CSS to normalize abnormalities across browsers (normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css)\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * ...normalize(),\n * }\n *\n * // styled-components usage\n * const GlobalStyle = createGlobalStyle`${normalize()}`\n *\n * // CSS as JS Output\n *\n * html {\n * lineHeight: 1.15,\n * textSizeAdjust: 100%,\n * } ...\n */\nfunction normalize() {\n var _ref;\n\n return [(_ref = {\n html: {\n lineHeight: '1.15',\n textSizeAdjust: '100%'\n },\n body: {\n margin: '0'\n },\n main: {\n display: 'block'\n },\n h1: {\n fontSize: '2em',\n margin: '0.67em 0'\n },\n hr: {\n boxSizing: 'content-box',\n height: '0',\n overflow: 'visible'\n },\n pre: {\n fontFamily: 'monospace, monospace',\n fontSize: '1em'\n },\n a: {\n backgroundColor: 'transparent'\n },\n 'abbr[title]': {\n borderBottom: 'none',\n textDecoration: 'underline'\n }\n }, _ref[\"b,\\n strong\"] = {\n fontWeight: 'bolder'\n }, _ref[\"code,\\n kbd,\\n samp\"] = {\n fontFamily: 'monospace, monospace',\n fontSize: '1em'\n }, _ref.small = {\n fontSize: '80%'\n }, _ref[\"sub,\\n sup\"] = {\n fontSize: '75%',\n lineHeight: '0',\n position: 'relative',\n verticalAlign: 'baseline'\n }, _ref.sub = {\n bottom: '-0.25em'\n }, _ref.sup = {\n top: '-0.5em'\n }, _ref.img = {\n borderStyle: 'none'\n }, _ref[\"button,\\n input,\\n optgroup,\\n select,\\n textarea\"] = {\n fontFamily: 'inherit',\n fontSize: '100%',\n lineHeight: '1.15',\n margin: '0'\n }, _ref[\"button,\\n input\"] = {\n overflow: 'visible'\n }, _ref[\"button,\\n select\"] = {\n textTransform: 'none'\n }, _ref[\"button,\\n html [type=\\\"button\\\"],\\n [type=\\\"reset\\\"],\\n [type=\\\"submit\\\"]\"] = {\n WebkitAppearance: 'button'\n }, _ref[\"button::-moz-focus-inner,\\n [type=\\\"button\\\"]::-moz-focus-inner,\\n [type=\\\"reset\\\"]::-moz-focus-inner,\\n [type=\\\"submit\\\"]::-moz-focus-inner\"] = {\n borderStyle: 'none',\n padding: '0'\n }, _ref[\"button:-moz-focusring,\\n [type=\\\"button\\\"]:-moz-focusring,\\n [type=\\\"reset\\\"]:-moz-focusring,\\n [type=\\\"submit\\\"]:-moz-focusring\"] = {\n outline: '1px dotted ButtonText'\n }, _ref.fieldset = {\n padding: '0.35em 0.625em 0.75em'\n }, _ref.legend = {\n boxSizing: 'border-box',\n color: 'inherit',\n display: 'table',\n maxWidth: '100%',\n padding: '0',\n whiteSpace: 'normal'\n }, _ref.progress = {\n verticalAlign: 'baseline'\n }, _ref.textarea = {\n overflow: 'auto'\n }, _ref[\"[type=\\\"checkbox\\\"],\\n [type=\\\"radio\\\"]\"] = {\n boxSizing: 'border-box',\n padding: '0'\n }, _ref[\"[type=\\\"number\\\"]::-webkit-inner-spin-button,\\n [type=\\\"number\\\"]::-webkit-outer-spin-button\"] = {\n height: 'auto'\n }, _ref['[type=\"search\"]'] = {\n WebkitAppearance: 'textfield',\n outlineOffset: '-2px'\n }, _ref['[type=\"search\"]::-webkit-search-decoration'] = {\n WebkitAppearance: 'none'\n }, _ref['::-webkit-file-upload-button'] = {\n WebkitAppearance: 'button',\n font: 'inherit'\n }, _ref.details = {\n display: 'block'\n }, _ref.summary = {\n display: 'list-item'\n }, _ref.template = {\n display: 'none'\n }, _ref['[hidden]'] = {\n display: 'none'\n }, _ref), {\n 'abbr[title]': {\n textDecoration: 'underline dotted'\n }\n }];\n}\n\nfunction _templateObject$1() {\n var data = _taggedTemplateLiteralLoose([\"radial-gradient(\", \"\", \"\", \"\", \")\"]);\n\n _templateObject$1 = function _templateObject() {\n return data;\n };\n\n return data;\n}\n\n/**\n * CSS for declaring a radial gradient, including a fallback background-color. The fallback is either the first color-stop or an explicitly passed fallback color.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * ...radialGradient({\n * colorStops: ['#00FFFF 0%', 'rgba(0, 0, 255, 0) 50%', '#0000FF 95%'],\n * extent: 'farthest-corner at 45px 45px',\n * position: 'center',\n * shape: 'ellipse',\n * })\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${radialGradient({\n * colorStops: ['#00FFFF 0%', 'rgba(0, 0, 255, 0) 50%', '#0000FF 95%'],\n * extent: 'farthest-corner at 45px 45px',\n * position: 'center',\n * shape: 'ellipse',\n * })}\n *`\n *\n * // CSS as JS Output\n *\n * div: {\n * 'backgroundColor': '#00FFFF',\n * 'backgroundImage': 'radial-gradient(center ellipse farthest-corner at 45px 45px, #00FFFF 0%, rgba(0, 0, 255, 0) 50%, #0000FF 95%)',\n * }\n */\nfunction radialGradient(_ref) {\n var colorStops = _ref.colorStops,\n _ref$extent = _ref.extent,\n extent = _ref$extent === void 0 ? '' : _ref$extent,\n fallback = _ref.fallback,\n _ref$position = _ref.position,\n position = _ref$position === void 0 ? '' : _ref$position,\n _ref$shape = _ref.shape,\n shape = _ref$shape === void 0 ? '' : _ref$shape;\n\n if (!colorStops || colorStops.length < 2) {\n throw new PolishedError(57);\n }\n\n return {\n backgroundColor: fallback || colorStops[0].split(' ')[0],\n backgroundImage: constructGradientValue(_templateObject$1(), position, shape, extent, colorStops.join(', '))\n };\n}\n\n/**\n * A helper to generate a retina background image and non-retina\n * background image. The retina background image will output to a HiDPI media query. The mixin uses\n * a _2x.png filename suffix by default.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * ...retinaImage('my-img')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${retinaImage('my-img')}\n * `\n *\n * // CSS as JS Output\n * div {\n * backgroundImage: 'url(my-img.png)',\n * '@media only screen and (-webkit-min-device-pixel-ratio: 1.3),\n * only screen and (min--moz-device-pixel-ratio: 1.3),\n * only screen and (-o-min-device-pixel-ratio: 1.3/1),\n * only screen and (min-resolution: 144dpi),\n * only screen and (min-resolution: 1.5dppx)': {\n * backgroundImage: 'url(my-img_2x.png)',\n * }\n * }\n */\nfunction retinaImage(filename, backgroundSize, extension, retinaFilename, retinaSuffix) {\n var _ref;\n\n if (extension === void 0) {\n extension = 'png';\n }\n\n if (retinaSuffix === void 0) {\n retinaSuffix = '_2x';\n }\n\n if (!filename) {\n throw new PolishedError(58);\n } // Replace the dot at the beginning of the passed extension if one exists\n\n\n var ext = extension.replace(/^\\./, '');\n var rFilename = retinaFilename ? retinaFilename + \".\" + ext : \"\" + filename + retinaSuffix + \".\" + ext;\n return _ref = {\n backgroundImage: \"url(\" + filename + \".\" + ext + \")\"\n }, _ref[hiDPI()] = _extends({\n backgroundImage: \"url(\" + rFilename + \")\"\n }, backgroundSize ? {\n backgroundSize: backgroundSize\n } : {}), _ref;\n}\n\n/* eslint-disable key-spacing */\nvar functionsMap$3 = {\n easeInBack: 'cubic-bezier(0.600, -0.280, 0.735, 0.045)',\n easeInCirc: 'cubic-bezier(0.600, 0.040, 0.980, 0.335)',\n easeInCubic: 'cubic-bezier(0.550, 0.055, 0.675, 0.190)',\n easeInExpo: 'cubic-bezier(0.950, 0.050, 0.795, 0.035)',\n easeInQuad: 'cubic-bezier(0.550, 0.085, 0.680, 0.530)',\n easeInQuart: 'cubic-bezier(0.895, 0.030, 0.685, 0.220)',\n easeInQuint: 'cubic-bezier(0.755, 0.050, 0.855, 0.060)',\n easeInSine: 'cubic-bezier(0.470, 0.000, 0.745, 0.715)',\n easeOutBack: 'cubic-bezier(0.175, 0.885, 0.320, 1.275)',\n easeOutCubic: 'cubic-bezier(0.215, 0.610, 0.355, 1.000)',\n easeOutCirc: 'cubic-bezier(0.075, 0.820, 0.165, 1.000)',\n easeOutExpo: 'cubic-bezier(0.190, 1.000, 0.220, 1.000)',\n easeOutQuad: 'cubic-bezier(0.250, 0.460, 0.450, 0.940)',\n easeOutQuart: 'cubic-bezier(0.165, 0.840, 0.440, 1.000)',\n easeOutQuint: 'cubic-bezier(0.230, 1.000, 0.320, 1.000)',\n easeOutSine: 'cubic-bezier(0.390, 0.575, 0.565, 1.000)',\n easeInOutBack: 'cubic-bezier(0.680, -0.550, 0.265, 1.550)',\n easeInOutCirc: 'cubic-bezier(0.785, 0.135, 0.150, 0.860)',\n easeInOutCubic: 'cubic-bezier(0.645, 0.045, 0.355, 1.000)',\n easeInOutExpo: 'cubic-bezier(1.000, 0.000, 0.000, 1.000)',\n easeInOutQuad: 'cubic-bezier(0.455, 0.030, 0.515, 0.955)',\n easeInOutQuart: 'cubic-bezier(0.770, 0.000, 0.175, 1.000)',\n easeInOutQuint: 'cubic-bezier(0.860, 0.000, 0.070, 1.000)',\n easeInOutSine: 'cubic-bezier(0.445, 0.050, 0.550, 0.950)'\n};\n/* eslint-enable key-spacing */\n\nfunction getTimingFunction(functionName) {\n return functionsMap$3[functionName];\n}\n/**\n * String to represent common easing functions as demonstrated here: (github.com/jaukia/easie).\n *\n * @deprecated - This will be deprecated in v5 in favor of `easeIn`, `easeOut`, `easeInOut`.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * 'transitionTimingFunction': timingFunctions('easeInQuad')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * transitionTimingFunction: ${timingFunctions('easeInQuad')};\n * `\n *\n * // CSS as JS Output\n *\n * 'div': {\n * 'transitionTimingFunction': 'cubic-bezier(0.550, 0.085, 0.680, 0.530)',\n * }\n */\n\n\nfunction timingFunctions(timingFunction) {\n return getTimingFunction(timingFunction);\n}\n\nvar getBorderWidth = function getBorderWidth(pointingDirection, height, width) {\n var fullWidth = \"\" + width[0] + (width[1] || '');\n var halfWidth = \"\" + width[0] / 2 + (width[1] || '');\n var fullHeight = \"\" + height[0] + (height[1] || '');\n var halfHeight = \"\" + height[0] / 2 + (height[1] || '');\n\n switch (pointingDirection) {\n case 'top':\n return \"0 \" + halfWidth + \" \" + fullHeight + \" \" + halfWidth;\n\n case 'topLeft':\n return fullWidth + \" \" + fullHeight + \" 0 0\";\n\n case 'left':\n return halfHeight + \" \" + fullWidth + \" \" + halfHeight + \" 0\";\n\n case 'bottomLeft':\n return fullWidth + \" 0 0 \" + fullHeight;\n\n case 'bottom':\n return fullHeight + \" \" + halfWidth + \" 0 \" + halfWidth;\n\n case 'bottomRight':\n return \"0 0 \" + fullWidth + \" \" + fullHeight;\n\n case 'right':\n return halfHeight + \" 0 \" + halfHeight + \" \" + fullWidth;\n\n case 'topRight':\n default:\n return \"0 \" + fullWidth + \" \" + fullHeight + \" 0\";\n }\n};\n\nvar getBorderColor = function getBorderColor(pointingDirection, foregroundColor) {\n switch (pointingDirection) {\n case 'top':\n case 'bottomRight':\n return {\n borderBottomColor: foregroundColor\n };\n\n case 'right':\n case 'bottomLeft':\n return {\n borderLeftColor: foregroundColor\n };\n\n case 'bottom':\n case 'topLeft':\n return {\n borderTopColor: foregroundColor\n };\n\n case 'left':\n case 'topRight':\n return {\n borderRightColor: foregroundColor\n };\n\n default:\n throw new PolishedError(59);\n }\n};\n/**\n * CSS to represent triangle with any pointing direction with an optional background color.\n *\n * @example\n * // Styles as object usage\n *\n * const styles = {\n * ...triangle({ pointingDirection: 'right', width: '100px', height: '100px', foregroundColor: 'red' })\n * }\n *\n *\n * // styled-components usage\n * const div = styled.div`\n * ${triangle({ pointingDirection: 'right', width: '100px', height: '100px', foregroundColor: 'red' })}\n *\n *\n * // CSS as JS Output\n *\n * div: {\n * 'borderColor': 'transparent transparent transparent red',\n * 'borderStyle': 'solid',\n * 'borderWidth': '50px 0 50px 100px',\n * 'height': '0',\n * 'width': '0',\n * }\n */\n\n\nfunction triangle(_ref) {\n var pointingDirection = _ref.pointingDirection,\n height = _ref.height,\n width = _ref.width,\n foregroundColor = _ref.foregroundColor,\n _ref$backgroundColor = _ref.backgroundColor,\n backgroundColor = _ref$backgroundColor === void 0 ? 'transparent' : _ref$backgroundColor;\n var widthAndUnit = getValueAndUnit(width);\n var heightAndUnit = getValueAndUnit(height);\n\n if (isNaN(heightAndUnit[0]) || isNaN(widthAndUnit[0])) {\n throw new PolishedError(60);\n }\n\n return _extends({\n width: '0',\n height: '0',\n borderColor: backgroundColor\n }, getBorderColor(pointingDirection, foregroundColor), {\n borderStyle: 'solid',\n borderWidth: getBorderWidth(pointingDirection, heightAndUnit, widthAndUnit)\n });\n}\n\n/**\n * Provides an easy way to change the `wordWrap` property.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * ...wordWrap('break-word')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${wordWrap('break-word')}\n * `\n *\n * // CSS as JS Output\n *\n * const styles = {\n * overflowWrap: 'break-word',\n * wordWrap: 'break-word',\n * wordBreak: 'break-all',\n * }\n */\nfunction wordWrap(wrap) {\n if (wrap === void 0) {\n wrap = 'break-word';\n }\n\n var wordBreak = wrap === 'break-word' ? 'break-all' : wrap;\n return {\n overflowWrap: wrap,\n wordWrap: wrap,\n wordBreak: wordBreak\n };\n}\n\nfunction colorToInt(color) {\n return Math.round(color * 255);\n}\n\nfunction convertToInt(red, green, blue) {\n return colorToInt(red) + \",\" + colorToInt(green) + \",\" + colorToInt(blue);\n}\n\nfunction hslToRgb(hue, saturation, lightness, convert) {\n if (convert === void 0) {\n convert = convertToInt;\n }\n\n if (saturation === 0) {\n // achromatic\n return convert(lightness, lightness, lightness);\n } // formulae from https://en.wikipedia.org/wiki/HSL_and_HSV\n\n\n var huePrime = (hue % 360 + 360) % 360 / 60;\n var chroma = (1 - Math.abs(2 * lightness - 1)) * saturation;\n var secondComponent = chroma * (1 - Math.abs(huePrime % 2 - 1));\n var red = 0;\n var green = 0;\n var blue = 0;\n\n if (huePrime >= 0 && huePrime < 1) {\n red = chroma;\n green = secondComponent;\n } else if (huePrime >= 1 && huePrime < 2) {\n red = secondComponent;\n green = chroma;\n } else if (huePrime >= 2 && huePrime < 3) {\n green = chroma;\n blue = secondComponent;\n } else if (huePrime >= 3 && huePrime < 4) {\n green = secondComponent;\n blue = chroma;\n } else if (huePrime >= 4 && huePrime < 5) {\n red = secondComponent;\n blue = chroma;\n } else if (huePrime >= 5 && huePrime < 6) {\n red = chroma;\n blue = secondComponent;\n }\n\n var lightnessModification = lightness - chroma / 2;\n var finalRed = red + lightnessModification;\n var finalGreen = green + lightnessModification;\n var finalBlue = blue + lightnessModification;\n return convert(finalRed, finalGreen, finalBlue);\n}\n\nvar namedColorMap = {\n aliceblue: 'f0f8ff',\n antiquewhite: 'faebd7',\n aqua: '00ffff',\n aquamarine: '7fffd4',\n azure: 'f0ffff',\n beige: 'f5f5dc',\n bisque: 'ffe4c4',\n black: '000',\n blanchedalmond: 'ffebcd',\n blue: '0000ff',\n blueviolet: '8a2be2',\n brown: 'a52a2a',\n burlywood: 'deb887',\n cadetblue: '5f9ea0',\n chartreuse: '7fff00',\n chocolate: 'd2691e',\n coral: 'ff7f50',\n cornflowerblue: '6495ed',\n cornsilk: 'fff8dc',\n crimson: 'dc143c',\n cyan: '00ffff',\n darkblue: '00008b',\n darkcyan: '008b8b',\n darkgoldenrod: 'b8860b',\n darkgray: 'a9a9a9',\n darkgreen: '006400',\n darkgrey: 'a9a9a9',\n darkkhaki: 'bdb76b',\n darkmagenta: '8b008b',\n darkolivegreen: '556b2f',\n darkorange: 'ff8c00',\n darkorchid: '9932cc',\n darkred: '8b0000',\n darksalmon: 'e9967a',\n darkseagreen: '8fbc8f',\n darkslateblue: '483d8b',\n darkslategray: '2f4f4f',\n darkslategrey: '2f4f4f',\n darkturquoise: '00ced1',\n darkviolet: '9400d3',\n deeppink: 'ff1493',\n deepskyblue: '00bfff',\n dimgray: '696969',\n dimgrey: '696969',\n dodgerblue: '1e90ff',\n firebrick: 'b22222',\n floralwhite: 'fffaf0',\n forestgreen: '228b22',\n fuchsia: 'ff00ff',\n gainsboro: 'dcdcdc',\n ghostwhite: 'f8f8ff',\n gold: 'ffd700',\n goldenrod: 'daa520',\n gray: '808080',\n green: '008000',\n greenyellow: 'adff2f',\n grey: '808080',\n honeydew: 'f0fff0',\n hotpink: 'ff69b4',\n indianred: 'cd5c5c',\n indigo: '4b0082',\n ivory: 'fffff0',\n khaki: 'f0e68c',\n lavender: 'e6e6fa',\n lavenderblush: 'fff0f5',\n lawngreen: '7cfc00',\n lemonchiffon: 'fffacd',\n lightblue: 'add8e6',\n lightcoral: 'f08080',\n lightcyan: 'e0ffff',\n lightgoldenrodyellow: 'fafad2',\n lightgray: 'd3d3d3',\n lightgreen: '90ee90',\n lightgrey: 'd3d3d3',\n lightpink: 'ffb6c1',\n lightsalmon: 'ffa07a',\n lightseagreen: '20b2aa',\n lightskyblue: '87cefa',\n lightslategray: '789',\n lightslategrey: '789',\n lightsteelblue: 'b0c4de',\n lightyellow: 'ffffe0',\n lime: '0f0',\n limegreen: '32cd32',\n linen: 'faf0e6',\n magenta: 'f0f',\n maroon: '800000',\n mediumaquamarine: '66cdaa',\n mediumblue: '0000cd',\n mediumorchid: 'ba55d3',\n mediumpurple: '9370db',\n mediumseagreen: '3cb371',\n mediumslateblue: '7b68ee',\n mediumspringgreen: '00fa9a',\n mediumturquoise: '48d1cc',\n mediumvioletred: 'c71585',\n midnightblue: '191970',\n mintcream: 'f5fffa',\n mistyrose: 'ffe4e1',\n moccasin: 'ffe4b5',\n navajowhite: 'ffdead',\n navy: '000080',\n oldlace: 'fdf5e6',\n olive: '808000',\n olivedrab: '6b8e23',\n orange: 'ffa500',\n orangered: 'ff4500',\n orchid: 'da70d6',\n palegoldenrod: 'eee8aa',\n palegreen: '98fb98',\n paleturquoise: 'afeeee',\n palevioletred: 'db7093',\n papayawhip: 'ffefd5',\n peachpuff: 'ffdab9',\n peru: 'cd853f',\n pink: 'ffc0cb',\n plum: 'dda0dd',\n powderblue: 'b0e0e6',\n purple: '800080',\n rebeccapurple: '639',\n red: 'f00',\n rosybrown: 'bc8f8f',\n royalblue: '4169e1',\n saddlebrown: '8b4513',\n salmon: 'fa8072',\n sandybrown: 'f4a460',\n seagreen: '2e8b57',\n seashell: 'fff5ee',\n sienna: 'a0522d',\n silver: 'c0c0c0',\n skyblue: '87ceeb',\n slateblue: '6a5acd',\n slategray: '708090',\n slategrey: '708090',\n snow: 'fffafa',\n springgreen: '00ff7f',\n steelblue: '4682b4',\n tan: 'd2b48c',\n teal: '008080',\n thistle: 'd8bfd8',\n tomato: 'ff6347',\n turquoise: '40e0d0',\n violet: 'ee82ee',\n wheat: 'f5deb3',\n white: 'fff',\n whitesmoke: 'f5f5f5',\n yellow: 'ff0',\n yellowgreen: '9acd32'\n};\n/**\n * Checks if a string is a CSS named color and returns its equivalent hex value, otherwise returns the original color.\n * @private\n */\n\nfunction nameToHex(color) {\n if (typeof color !== 'string') return color;\n var normalizedColorName = color.toLowerCase();\n return namedColorMap[normalizedColorName] ? \"#\" + namedColorMap[normalizedColorName] : color;\n}\n\nvar hexRegex = /^#[a-fA-F0-9]{6}$/;\nvar hexRgbaRegex = /^#[a-fA-F0-9]{8}$/;\nvar reducedHexRegex = /^#[a-fA-F0-9]{3}$/;\nvar reducedRgbaHexRegex = /^#[a-fA-F0-9]{4}$/;\nvar rgbRegex = /^rgb\\(\\s*(\\d{1,3})\\s*,\\s*(\\d{1,3})\\s*,\\s*(\\d{1,3})\\s*\\)$/i;\nvar rgbaRegex = /^rgba\\(\\s*(\\d{1,3})\\s*,\\s*(\\d{1,3})\\s*,\\s*(\\d{1,3})\\s*,\\s*([-+]?[0-9]*[.]?[0-9]+)\\s*\\)$/i;\nvar hslRegex = /^hsl\\(\\s*(\\d{0,3}[.]?[0-9]+)\\s*,\\s*(\\d{1,3}[.]?[0-9]?)%\\s*,\\s*(\\d{1,3}[.]?[0-9]?)%\\s*\\)$/i;\nvar hslaRegex = /^hsla\\(\\s*(\\d{0,3}[.]?[0-9]+)\\s*,\\s*(\\d{1,3}[.]?[0-9]?)%\\s*,\\s*(\\d{1,3}[.]?[0-9]?)%\\s*,\\s*([-+]?[0-9]*[.]?[0-9]+)\\s*\\)$/i;\n/**\n * Returns an RgbColor or RgbaColor object. This utility function is only useful\n * if want to extract a color component. With the color util `toColorString` you\n * can convert a RgbColor or RgbaColor object back to a string.\n *\n * @example\n * // Assigns `{ red: 255, green: 0, blue: 0 }` to color1\n * const color1 = parseToRgb('rgb(255, 0, 0)');\n * // Assigns `{ red: 92, green: 102, blue: 112, alpha: 0.75 }` to color2\n * const color2 = parseToRgb('hsla(210, 10%, 40%, 0.75)');\n */\n\nfunction parseToRgb(color) {\n if (typeof color !== 'string') {\n throw new PolishedError(3);\n }\n\n var normalizedColor = nameToHex(color);\n\n if (normalizedColor.match(hexRegex)) {\n return {\n red: parseInt(\"\" + normalizedColor[1] + normalizedColor[2], 16),\n green: parseInt(\"\" + normalizedColor[3] + normalizedColor[4], 16),\n blue: parseInt(\"\" + normalizedColor[5] + normalizedColor[6], 16)\n };\n }\n\n if (normalizedColor.match(hexRgbaRegex)) {\n var alpha = parseFloat((parseInt(\"\" + normalizedColor[7] + normalizedColor[8], 16) / 255).toFixed(2));\n return {\n red: parseInt(\"\" + normalizedColor[1] + normalizedColor[2], 16),\n green: parseInt(\"\" + normalizedColor[3] + normalizedColor[4], 16),\n blue: parseInt(\"\" + normalizedColor[5] + normalizedColor[6], 16),\n alpha: alpha\n };\n }\n\n if (normalizedColor.match(reducedHexRegex)) {\n return {\n red: parseInt(\"\" + normalizedColor[1] + normalizedColor[1], 16),\n green: parseInt(\"\" + normalizedColor[2] + normalizedColor[2], 16),\n blue: parseInt(\"\" + normalizedColor[3] + normalizedColor[3], 16)\n };\n }\n\n if (normalizedColor.match(reducedRgbaHexRegex)) {\n var _alpha = parseFloat((parseInt(\"\" + normalizedColor[4] + normalizedColor[4], 16) / 255).toFixed(2));\n\n return {\n red: parseInt(\"\" + normalizedColor[1] + normalizedColor[1], 16),\n green: parseInt(\"\" + normalizedColor[2] + normalizedColor[2], 16),\n blue: parseInt(\"\" + normalizedColor[3] + normalizedColor[3], 16),\n alpha: _alpha\n };\n }\n\n var rgbMatched = rgbRegex.exec(normalizedColor);\n\n if (rgbMatched) {\n return {\n red: parseInt(\"\" + rgbMatched[1], 10),\n green: parseInt(\"\" + rgbMatched[2], 10),\n blue: parseInt(\"\" + rgbMatched[3], 10)\n };\n }\n\n var rgbaMatched = rgbaRegex.exec(normalizedColor);\n\n if (rgbaMatched) {\n return {\n red: parseInt(\"\" + rgbaMatched[1], 10),\n green: parseInt(\"\" + rgbaMatched[2], 10),\n blue: parseInt(\"\" + rgbaMatched[3], 10),\n alpha: parseFloat(\"\" + rgbaMatched[4])\n };\n }\n\n var hslMatched = hslRegex.exec(normalizedColor);\n\n if (hslMatched) {\n var hue = parseInt(\"\" + hslMatched[1], 10);\n var saturation = parseInt(\"\" + hslMatched[2], 10) / 100;\n var lightness = parseInt(\"\" + hslMatched[3], 10) / 100;\n var rgbColorString = \"rgb(\" + hslToRgb(hue, saturation, lightness) + \")\";\n var hslRgbMatched = rgbRegex.exec(rgbColorString);\n\n if (!hslRgbMatched) {\n throw new PolishedError(4, normalizedColor, rgbColorString);\n }\n\n return {\n red: parseInt(\"\" + hslRgbMatched[1], 10),\n green: parseInt(\"\" + hslRgbMatched[2], 10),\n blue: parseInt(\"\" + hslRgbMatched[3], 10)\n };\n }\n\n var hslaMatched = hslaRegex.exec(normalizedColor);\n\n if (hslaMatched) {\n var _hue = parseInt(\"\" + hslaMatched[1], 10);\n\n var _saturation = parseInt(\"\" + hslaMatched[2], 10) / 100;\n\n var _lightness = parseInt(\"\" + hslaMatched[3], 10) / 100;\n\n var _rgbColorString = \"rgb(\" + hslToRgb(_hue, _saturation, _lightness) + \")\";\n\n var _hslRgbMatched = rgbRegex.exec(_rgbColorString);\n\n if (!_hslRgbMatched) {\n throw new PolishedError(4, normalizedColor, _rgbColorString);\n }\n\n return {\n red: parseInt(\"\" + _hslRgbMatched[1], 10),\n green: parseInt(\"\" + _hslRgbMatched[2], 10),\n blue: parseInt(\"\" + _hslRgbMatched[3], 10),\n alpha: parseFloat(\"\" + hslaMatched[4])\n };\n }\n\n throw new PolishedError(5);\n}\n\nfunction rgbToHsl(color) {\n // make sure rgb are contained in a set of [0, 255]\n var red = color.red / 255;\n var green = color.green / 255;\n var blue = color.blue / 255;\n var max = Math.max(red, green, blue);\n var min = Math.min(red, green, blue);\n var lightness = (max + min) / 2;\n\n if (max === min) {\n // achromatic\n if (color.alpha !== undefined) {\n return {\n hue: 0,\n saturation: 0,\n lightness: lightness,\n alpha: color.alpha\n };\n } else {\n return {\n hue: 0,\n saturation: 0,\n lightness: lightness\n };\n }\n }\n\n var hue;\n var delta = max - min;\n var saturation = lightness > 0.5 ? delta / (2 - max - min) : delta / (max + min);\n\n switch (max) {\n case red:\n hue = (green - blue) / delta + (green < blue ? 6 : 0);\n break;\n\n case green:\n hue = (blue - red) / delta + 2;\n break;\n\n default:\n // blue case\n hue = (red - green) / delta + 4;\n break;\n }\n\n hue *= 60;\n\n if (color.alpha !== undefined) {\n return {\n hue: hue,\n saturation: saturation,\n lightness: lightness,\n alpha: color.alpha\n };\n }\n\n return {\n hue: hue,\n saturation: saturation,\n lightness: lightness\n };\n}\n\n/**\n * Returns an HslColor or HslaColor object. This utility function is only useful\n * if want to extract a color component. With the color util `toColorString` you\n * can convert a HslColor or HslaColor object back to a string.\n *\n * @example\n * // Assigns `{ hue: 0, saturation: 1, lightness: 0.5 }` to color1\n * const color1 = parseToHsl('rgb(255, 0, 0)');\n * // Assigns `{ hue: 128, saturation: 1, lightness: 0.5, alpha: 0.75 }` to color2\n * const color2 = parseToHsl('hsla(128, 100%, 50%, 0.75)');\n */\nfunction parseToHsl(color) {\n // Note: At a later stage we can optimize this function as right now a hsl\n // color would be parsed converted to rgb values and converted back to hsl.\n return rgbToHsl(parseToRgb(color));\n}\n\n/**\n * Reduces hex values if possible e.g. #ff8866 to #f86\n * @private\n */\nvar reduceHexValue = function reduceHexValue(value) {\n if (value.length === 7 && value[1] === value[2] && value[3] === value[4] && value[5] === value[6]) {\n return \"#\" + value[1] + value[3] + value[5];\n }\n\n return value;\n};\n\nfunction numberToHex(value) {\n var hex = value.toString(16);\n return hex.length === 1 ? \"0\" + hex : hex;\n}\n\nfunction colorToHex(color) {\n return numberToHex(Math.round(color * 255));\n}\n\nfunction convertToHex(red, green, blue) {\n return reduceHexValue(\"#\" + colorToHex(red) + colorToHex(green) + colorToHex(blue));\n}\n\nfunction hslToHex(hue, saturation, lightness) {\n return hslToRgb(hue, saturation, lightness, convertToHex);\n}\n\n/**\n * Returns a string value for the color. The returned result is the smallest possible hex notation.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * background: hsl(359, 0.75, 0.4),\n * background: hsl({ hue: 360, saturation: 0.75, lightness: 0.4 }),\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * background: ${hsl(359, 0.75, 0.4)};\n * background: ${hsl({ hue: 360, saturation: 0.75, lightness: 0.4 })};\n * `\n *\n * // CSS in JS Output\n *\n * element {\n * background: \"#b3191c\";\n * background: \"#b3191c\";\n * }\n */\nfunction hsl(value, saturation, lightness) {\n if (typeof value === 'number' && typeof saturation === 'number' && typeof lightness === 'number') {\n return hslToHex(value, saturation, lightness);\n } else if (typeof value === 'object' && saturation === undefined && lightness === undefined) {\n return hslToHex(value.hue, value.saturation, value.lightness);\n }\n\n throw new PolishedError(1);\n}\n\n/**\n * Returns a string value for the color. The returned result is the smallest possible rgba or hex notation.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * background: hsla(359, 0.75, 0.4, 0.7),\n * background: hsla({ hue: 360, saturation: 0.75, lightness: 0.4, alpha: 0,7 }),\n * background: hsla(359, 0.75, 0.4, 1),\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * background: ${hsla(359, 0.75, 0.4, 0.7)};\n * background: ${hsla({ hue: 360, saturation: 0.75, lightness: 0.4, alpha: 0,7 })};\n * background: ${hsla(359, 0.75, 0.4, 1)};\n * `\n *\n * // CSS in JS Output\n *\n * element {\n * background: \"rgba(179,25,28,0.7)\";\n * background: \"rgba(179,25,28,0.7)\";\n * background: \"#b3191c\";\n * }\n */\nfunction hsla(value, saturation, lightness, alpha) {\n if (typeof value === 'number' && typeof saturation === 'number' && typeof lightness === 'number' && typeof alpha === 'number') {\n return alpha >= 1 ? hslToHex(value, saturation, lightness) : \"rgba(\" + hslToRgb(value, saturation, lightness) + \",\" + alpha + \")\";\n } else if (typeof value === 'object' && saturation === undefined && lightness === undefined && alpha === undefined) {\n return value.alpha >= 1 ? hslToHex(value.hue, value.saturation, value.lightness) : \"rgba(\" + hslToRgb(value.hue, value.saturation, value.lightness) + \",\" + value.alpha + \")\";\n }\n\n throw new PolishedError(2);\n}\n\n/**\n * Returns a string value for the color. The returned result is the smallest possible hex notation.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * background: rgb(255, 205, 100),\n * background: rgb({ red: 255, green: 205, blue: 100 }),\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * background: ${rgb(255, 205, 100)};\n * background: ${rgb({ red: 255, green: 205, blue: 100 })};\n * `\n *\n * // CSS in JS Output\n *\n * element {\n * background: \"#ffcd64\";\n * background: \"#ffcd64\";\n * }\n */\nfunction rgb(value, green, blue) {\n if (typeof value === 'number' && typeof green === 'number' && typeof blue === 'number') {\n return reduceHexValue(\"#\" + numberToHex(value) + numberToHex(green) + numberToHex(blue));\n } else if (typeof value === 'object' && green === undefined && blue === undefined) {\n return reduceHexValue(\"#\" + numberToHex(value.red) + numberToHex(value.green) + numberToHex(value.blue));\n }\n\n throw new PolishedError(6);\n}\n\n/**\n * Returns a string value for the color. The returned result is the smallest possible rgba or hex notation.\n *\n * Can also be used to fade a color by passing a hex value or named CSS color along with an alpha value.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * background: rgba(255, 205, 100, 0.7),\n * background: rgba({ red: 255, green: 205, blue: 100, alpha: 0.7 }),\n * background: rgba(255, 205, 100, 1),\n * background: rgba('#ffffff', 0.4),\n * background: rgba('black', 0.7),\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * background: ${rgba(255, 205, 100, 0.7)};\n * background: ${rgba({ red: 255, green: 205, blue: 100, alpha: 0.7 })};\n * background: ${rgba(255, 205, 100, 1)};\n * background: ${rgba('#ffffff', 0.4)};\n * background: ${rgba('black', 0.7)};\n * `\n *\n * // CSS in JS Output\n *\n * element {\n * background: \"rgba(255,205,100,0.7)\";\n * background: \"rgba(255,205,100,0.7)\";\n * background: \"#ffcd64\";\n * background: \"rgba(255,255,255,0.4)\";\n * background: \"rgba(0,0,0,0.7)\";\n * }\n */\nfunction rgba(firstValue, secondValue, thirdValue, fourthValue) {\n if (typeof firstValue === 'string' && typeof secondValue === 'number') {\n var rgbValue = parseToRgb(firstValue);\n return \"rgba(\" + rgbValue.red + \",\" + rgbValue.green + \",\" + rgbValue.blue + \",\" + secondValue + \")\";\n } else if (typeof firstValue === 'number' && typeof secondValue === 'number' && typeof thirdValue === 'number' && typeof fourthValue === 'number') {\n return fourthValue >= 1 ? rgb(firstValue, secondValue, thirdValue) : \"rgba(\" + firstValue + \",\" + secondValue + \",\" + thirdValue + \",\" + fourthValue + \")\";\n } else if (typeof firstValue === 'object' && secondValue === undefined && thirdValue === undefined && fourthValue === undefined) {\n return firstValue.alpha >= 1 ? rgb(firstValue.red, firstValue.green, firstValue.blue) : \"rgba(\" + firstValue.red + \",\" + firstValue.green + \",\" + firstValue.blue + \",\" + firstValue.alpha + \")\";\n }\n\n throw new PolishedError(7);\n}\n\nvar isRgb = function isRgb(color) {\n return typeof color.red === 'number' && typeof color.green === 'number' && typeof color.blue === 'number' && (typeof color.alpha !== 'number' || typeof color.alpha === 'undefined');\n};\n\nvar isRgba = function isRgba(color) {\n return typeof color.red === 'number' && typeof color.green === 'number' && typeof color.blue === 'number' && typeof color.alpha === 'number';\n};\n\nvar isHsl = function isHsl(color) {\n return typeof color.hue === 'number' && typeof color.saturation === 'number' && typeof color.lightness === 'number' && (typeof color.alpha !== 'number' || typeof color.alpha === 'undefined');\n};\n\nvar isHsla = function isHsla(color) {\n return typeof color.hue === 'number' && typeof color.saturation === 'number' && typeof color.lightness === 'number' && typeof color.alpha === 'number';\n};\n/**\n * Converts a RgbColor, RgbaColor, HslColor or HslaColor object to a color string.\n * This util is useful in case you only know on runtime which color object is\n * used. Otherwise we recommend to rely on `rgb`, `rgba`, `hsl` or `hsla`.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * background: toColorString({ red: 255, green: 205, blue: 100 }),\n * background: toColorString({ red: 255, green: 205, blue: 100, alpha: 0.72 }),\n * background: toColorString({ hue: 240, saturation: 1, lightness: 0.5 }),\n * background: toColorString({ hue: 360, saturation: 0.75, lightness: 0.4, alpha: 0.72 }),\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * background: ${toColorString({ red: 255, green: 205, blue: 100 })};\n * background: ${toColorString({ red: 255, green: 205, blue: 100, alpha: 0.72 })};\n * background: ${toColorString({ hue: 240, saturation: 1, lightness: 0.5 })};\n * background: ${toColorString({ hue: 360, saturation: 0.75, lightness: 0.4, alpha: 0.72 })};\n * `\n *\n * // CSS in JS Output\n * element {\n * background: \"#ffcd64\";\n * background: \"rgba(255,205,100,0.72)\";\n * background: \"#00f\";\n * background: \"rgba(179,25,25,0.72)\";\n * }\n */\n\n\nfunction toColorString(color) {\n if (typeof color !== 'object') throw new PolishedError(8);\n if (isRgba(color)) return rgba(color);\n if (isRgb(color)) return rgb(color);\n if (isHsla(color)) return hsla(color);\n if (isHsl(color)) return hsl(color);\n throw new PolishedError(8);\n}\n\n// Type definitions taken from https://github.com/gcanti/flow-static-land/blob/master/src/Fun.js\n// eslint-disable-next-line no-unused-vars\n// eslint-disable-next-line no-unused-vars\n// eslint-disable-next-line no-redeclare\nfunction curried(f, length, acc) {\n return function fn() {\n // eslint-disable-next-line prefer-rest-params\n var combined = acc.concat(Array.prototype.slice.call(arguments));\n return combined.length >= length ? f.apply(this, combined) : curried(f, length, combined);\n };\n} // eslint-disable-next-line no-redeclare\n\n\nfunction curry(f) {\n // eslint-disable-line no-redeclare\n return curried(f, f.length, []);\n}\n\n/**\n * Changes the hue of the color. Hue is a number between 0 to 360. The first\n * argument for adjustHue is the amount of degrees the color is rotated around\n * the color wheel, always producing a positive hue value.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * background: adjustHue(180, '#448'),\n * background: adjustHue('180', 'rgba(101,100,205,0.7)'),\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * background: ${adjustHue(180, '#448')};\n * background: ${adjustHue('180', 'rgba(101,100,205,0.7)')};\n * `\n *\n * // CSS in JS Output\n * element {\n * background: \"#888844\";\n * background: \"rgba(136,136,68,0.7)\";\n * }\n */\n\nfunction adjustHue(degree, color) {\n if (color === 'transparent') return color;\n var hslColor = parseToHsl(color);\n return toColorString(_extends({}, hslColor, {\n hue: hslColor.hue + parseFloat(degree)\n }));\n} // prettier-ignore\n\n\nvar curriedAdjustHue = /*#__PURE__*/curry\n/* :: */\n(adjustHue);\n\n/**\n * Returns the complement of the provided color. This is identical to adjustHue(180, ).\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * background: complement('#448'),\n * background: complement('rgba(204,205,100,0.7)'),\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * background: ${complement('#448')};\n * background: ${complement('rgba(204,205,100,0.7)')};\n * `\n *\n * // CSS in JS Output\n * element {\n * background: \"#884\";\n * background: \"rgba(153,153,153,0.7)\";\n * }\n */\n\nfunction complement(color) {\n if (color === 'transparent') return color;\n var hslColor = parseToHsl(color);\n return toColorString(_extends({}, hslColor, {\n hue: (hslColor.hue + 180) % 360\n }));\n}\n\nfunction guard(lowerBoundary, upperBoundary, value) {\n return Math.max(lowerBoundary, Math.min(upperBoundary, value));\n}\n\n/**\n * Returns a string value for the darkened color.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * background: darken(0.2, '#FFCD64'),\n * background: darken('0.2', 'rgba(255,205,100,0.7)'),\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * background: ${darken(0.2, '#FFCD64')};\n * background: ${darken('0.2', 'rgba(255,205,100,0.7)')};\n * `\n *\n * // CSS in JS Output\n *\n * element {\n * background: \"#ffbd31\";\n * background: \"rgba(255,189,49,0.7)\";\n * }\n */\n\nfunction darken(amount, color) {\n if (color === 'transparent') return color;\n var hslColor = parseToHsl(color);\n return toColorString(_extends({}, hslColor, {\n lightness: guard(0, 1, hslColor.lightness - parseFloat(amount))\n }));\n} // prettier-ignore\n\n\nvar curriedDarken = /*#__PURE__*/curry\n/* :: */\n(darken);\n\n/**\n * Decreases the intensity of a color. Its range is between 0 to 1. The first\n * argument of the desaturate function is the amount by how much the color\n * intensity should be decreased.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * background: desaturate(0.2, '#CCCD64'),\n * background: desaturate('0.2', 'rgba(204,205,100,0.7)'),\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * background: ${desaturate(0.2, '#CCCD64')};\n * background: ${desaturate('0.2', 'rgba(204,205,100,0.7)')};\n * `\n *\n * // CSS in JS Output\n * element {\n * background: \"#b8b979\";\n * background: \"rgba(184,185,121,0.7)\";\n * }\n */\n\nfunction desaturate(amount, color) {\n if (color === 'transparent') return color;\n var hslColor = parseToHsl(color);\n return toColorString(_extends({}, hslColor, {\n saturation: guard(0, 1, hslColor.saturation - parseFloat(amount))\n }));\n} // prettier-ignore\n\n\nvar curriedDesaturate = /*#__PURE__*/curry\n/* :: */\n(desaturate);\n\n/**\n * Returns a number (float) representing the luminance of a color.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * background: getLuminance('#CCCD64') >= getLuminance('#0000ff') ? '#CCCD64' : '#0000ff',\n * background: getLuminance('rgba(58, 133, 255, 1)') >= getLuminance('rgba(255, 57, 149, 1)') ?\n * 'rgba(58, 133, 255, 1)' :\n * 'rgba(255, 57, 149, 1)',\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * background: ${getLuminance('#CCCD64') >= getLuminance('#0000ff') ? '#CCCD64' : '#0000ff'};\n * background: ${getLuminance('rgba(58, 133, 255, 1)') >= getLuminance('rgba(255, 57, 149, 1)') ?\n * 'rgba(58, 133, 255, 1)' :\n * 'rgba(255, 57, 149, 1)'};\n *\n * // CSS in JS Output\n *\n * div {\n * background: \"#CCCD64\";\n * background: \"rgba(58, 133, 255, 1)\";\n * }\n */\n\nfunction getLuminance(color) {\n if (color === 'transparent') return 0;\n var rgbColor = parseToRgb(color);\n\n var _Object$keys$map = Object.keys(rgbColor).map(function (key) {\n var channel = rgbColor[key] / 255;\n return channel <= 0.03928 ? channel / 12.92 : Math.pow((channel + 0.055) / 1.055, 2.4);\n }),\n r = _Object$keys$map[0],\n g = _Object$keys$map[1],\n b = _Object$keys$map[2];\n\n return parseFloat((0.2126 * r + 0.7152 * g + 0.0722 * b).toFixed(3));\n}\n\n/**\n * Returns the contrast ratio between two colors based on\n * [W3's recommended equation for calculating contrast](http://www.w3.org/TR/WCAG20/#contrast-ratiodef).\n *\n * @example\n * const contrastRatio = getContrast('#444', '#fff');\n */\n\nfunction getContrast(color1, color2) {\n var luminance1 = getLuminance(color1);\n var luminance2 = getLuminance(color2);\n return parseFloat((luminance1 > luminance2 ? (luminance1 + 0.05) / (luminance2 + 0.05) : (luminance2 + 0.05) / (luminance1 + 0.05)).toFixed(2));\n}\n\n/**\n * Converts the color to a grayscale, by reducing its saturation to 0.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * background: grayscale('#CCCD64'),\n * background: grayscale('rgba(204,205,100,0.7)'),\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * background: ${grayscale('#CCCD64')};\n * background: ${grayscale('rgba(204,205,100,0.7)')};\n * `\n *\n * // CSS in JS Output\n * element {\n * background: \"#999\";\n * background: \"rgba(153,153,153,0.7)\";\n * }\n */\n\nfunction grayscale(color) {\n if (color === 'transparent') return color;\n return toColorString(_extends({}, parseToHsl(color), {\n saturation: 0\n }));\n}\n\n/**\n * Converts a HslColor or HslaColor object to a color string.\n * This util is useful in case you only know on runtime which color object is\n * used. Otherwise we recommend to rely on `hsl` or `hsla`.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * background: hslToColorString({ hue: 240, saturation: 1, lightness: 0.5 }),\n * background: hslToColorString({ hue: 360, saturation: 0.75, lightness: 0.4, alpha: 0.72 }),\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * background: ${hslToColorString({ hue: 240, saturation: 1, lightness: 0.5 })};\n * background: ${hslToColorString({ hue: 360, saturation: 0.75, lightness: 0.4, alpha: 0.72 })};\n * `\n *\n * // CSS in JS Output\n * element {\n * background: \"#00f\";\n * background: \"rgba(179,25,25,0.72)\";\n * }\n */\nfunction hslToColorString(color) {\n if (typeof color === 'object' && typeof color.hue === 'number' && typeof color.saturation === 'number' && typeof color.lightness === 'number') {\n if (color.alpha && typeof color.alpha === 'number') {\n return hsla({\n hue: color.hue,\n saturation: color.saturation,\n lightness: color.lightness,\n alpha: color.alpha\n });\n }\n\n return hsl({\n hue: color.hue,\n saturation: color.saturation,\n lightness: color.lightness\n });\n }\n\n throw new PolishedError(45);\n}\n\n/**\n * Inverts the red, green and blue values of a color.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * background: invert('#CCCD64'),\n * background: invert('rgba(101,100,205,0.7)'),\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * background: ${invert('#CCCD64')};\n * background: ${invert('rgba(101,100,205,0.7)')};\n * `\n *\n * // CSS in JS Output\n *\n * element {\n * background: \"#33329b\";\n * background: \"rgba(154,155,50,0.7)\";\n * }\n */\n\nfunction invert(color) {\n if (color === 'transparent') return color; // parse color string to rgb\n\n var value = parseToRgb(color);\n return toColorString(_extends({}, value, {\n red: 255 - value.red,\n green: 255 - value.green,\n blue: 255 - value.blue\n }));\n}\n\n/**\n * Returns a string value for the lightened color.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * background: lighten(0.2, '#CCCD64'),\n * background: lighten('0.2', 'rgba(204,205,100,0.7)'),\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * background: ${lighten(0.2, '#FFCD64')};\n * background: ${lighten('0.2', 'rgba(204,205,100,0.7)')};\n * `\n *\n * // CSS in JS Output\n *\n * element {\n * background: \"#e5e6b1\";\n * background: \"rgba(229,230,177,0.7)\";\n * }\n */\n\nfunction lighten(amount, color) {\n if (color === 'transparent') return color;\n var hslColor = parseToHsl(color);\n return toColorString(_extends({}, hslColor, {\n lightness: guard(0, 1, hslColor.lightness + parseFloat(amount))\n }));\n} // prettier-ignore\n\n\nvar curriedLighten = /*#__PURE__*/curry\n/* :: */\n(lighten);\n\n/**\n * Determines which contrast guidelines have been met for two colors.\n * Based on the [contrast calculations recommended by W3](https://www.w3.org/WAI/WCAG21/Understanding/contrast-enhanced.html).\n *\n * @example\n * const scores = meetsContrastGuidelines('#444', '#fff');\n */\nfunction meetsContrastGuidelines(color1, color2) {\n var contrastRatio = getContrast(color1, color2);\n return {\n AA: contrastRatio >= 4.5,\n AALarge: contrastRatio >= 3,\n AAA: contrastRatio >= 7,\n AAALarge: contrastRatio >= 4.5\n };\n}\n\n/**\n * Mixes the two provided colors together by calculating the average of each of the RGB components weighted to the first color by the provided weight.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * background: mix(0.5, '#f00', '#00f')\n * background: mix(0.25, '#f00', '#00f')\n * background: mix('0.5', 'rgba(255, 0, 0, 0.5)', '#00f')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * background: ${mix(0.5, '#f00', '#00f')};\n * background: ${mix(0.25, '#f00', '#00f')};\n * background: ${mix('0.5', 'rgba(255, 0, 0, 0.5)', '#00f')};\n * `\n *\n * // CSS in JS Output\n *\n * element {\n * background: \"#7f007f\";\n * background: \"#3f00bf\";\n * background: \"rgba(63, 0, 191, 0.75)\";\n * }\n */\n\nfunction mix(weight, color, otherColor) {\n if (color === 'transparent') return otherColor;\n if (otherColor === 'transparent') return color;\n if (weight === 0) return otherColor;\n var parsedColor1 = parseToRgb(color);\n\n var color1 = _extends({}, parsedColor1, {\n alpha: typeof parsedColor1.alpha === 'number' ? parsedColor1.alpha : 1\n });\n\n var parsedColor2 = parseToRgb(otherColor);\n\n var color2 = _extends({}, parsedColor2, {\n alpha: typeof parsedColor2.alpha === 'number' ? parsedColor2.alpha : 1\n }); // The formula is copied from the original Sass implementation:\n // http://sass-lang.com/documentation/Sass/Script/Functions.html#mix-instance_method\n\n\n var alphaDelta = color1.alpha - color2.alpha;\n var x = parseFloat(weight) * 2 - 1;\n var y = x * alphaDelta === -1 ? x : x + alphaDelta;\n var z = 1 + x * alphaDelta;\n var weight1 = (y / z + 1) / 2.0;\n var weight2 = 1 - weight1;\n var mixedColor = {\n red: Math.floor(color1.red * weight1 + color2.red * weight2),\n green: Math.floor(color1.green * weight1 + color2.green * weight2),\n blue: Math.floor(color1.blue * weight1 + color2.blue * weight2),\n alpha: color1.alpha * (parseFloat(weight) / 1.0) + color2.alpha * (1 - parseFloat(weight) / 1.0)\n };\n return rgba(mixedColor);\n} // prettier-ignore\n\n\nvar curriedMix = /*#__PURE__*/curry\n/* :: */\n(mix);\n\n/**\n * Increases the opacity of a color. Its range for the amount is between 0 to 1.\n *\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * background: opacify(0.1, 'rgba(255, 255, 255, 0.9)');\n * background: opacify(0.2, 'hsla(0, 0%, 100%, 0.5)'),\n * background: opacify('0.5', 'rgba(255, 0, 0, 0.2)'),\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * background: ${opacify(0.1, 'rgba(255, 255, 255, 0.9)')};\n * background: ${opacify(0.2, 'hsla(0, 0%, 100%, 0.5)')},\n * background: ${opacify('0.5', 'rgba(255, 0, 0, 0.2)')},\n * `\n *\n * // CSS in JS Output\n *\n * element {\n * background: \"#fff\";\n * background: \"rgba(255,255,255,0.7)\";\n * background: \"rgba(255,0,0,0.7)\";\n * }\n */\n\nfunction opacify(amount, color) {\n if (color === 'transparent') return color;\n var parsedColor = parseToRgb(color);\n var alpha = typeof parsedColor.alpha === 'number' ? parsedColor.alpha : 1;\n\n var colorWithAlpha = _extends({}, parsedColor, {\n alpha: guard(0, 1, (alpha * 100 + parseFloat(amount) * 100) / 100)\n });\n\n return rgba(colorWithAlpha);\n} // prettier-ignore\n\n\nvar curriedOpacify = /*#__PURE__*/curry\n/* :: */\n(opacify);\n\nvar defaultReturnIfLightColor = '#000';\nvar defaultReturnIfDarkColor = '#fff';\n/**\n * Returns black or white (or optional passed colors) for best\n * contrast depending on the luminosity of the given color.\n * When passing custom return colors, strict mode ensures that the\n * return color always meets or exceeds WCAG level AA or greater. If this test\n * fails, the default return color (black or white) is returned in place of the\n * custom return color. You can optionally turn off strict mode.\n *\n * Follows [W3C specs for readability](https://www.w3.org/TR/WCAG20-TECHS/G18.html).\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * color: readableColor('#000'),\n * color: readableColor('black', '#001', '#ff8'),\n * color: readableColor('white', '#001', '#ff8'),\n * color: readableColor('red', '#333', '#ddd', true)\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * color: ${readableColor('#000')};\n * color: ${readableColor('black', '#001', '#ff8')};\n * color: ${readableColor('white', '#001', '#ff8')};\n * color: ${readableColor('red', '#333', '#ddd', true)};\n * `\n *\n * // CSS in JS Output\n * element {\n * color: \"#fff\";\n * color: \"#ff8\";\n * color: \"#001\";\n * color: \"#000\";\n * }\n */\n\nfunction readableColor(color, returnIfLightColor, returnIfDarkColor, strict) {\n if (returnIfLightColor === void 0) {\n returnIfLightColor = defaultReturnIfLightColor;\n }\n\n if (returnIfDarkColor === void 0) {\n returnIfDarkColor = defaultReturnIfDarkColor;\n }\n\n if (strict === void 0) {\n strict = true;\n }\n\n var isColorLight = getLuminance(color) > 0.179;\n var preferredReturnColor = isColorLight ? returnIfLightColor : returnIfDarkColor;\n\n if (!strict || getContrast(color, preferredReturnColor) >= 4.5) {\n return preferredReturnColor;\n }\n\n return isColorLight ? defaultReturnIfLightColor : defaultReturnIfDarkColor;\n}\n\n/**\n * Converts a RgbColor or RgbaColor object to a color string.\n * This util is useful in case you only know on runtime which color object is\n * used. Otherwise we recommend to rely on `rgb` or `rgba`.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * background: rgbToColorString({ red: 255, green: 205, blue: 100 }),\n * background: rgbToColorString({ red: 255, green: 205, blue: 100, alpha: 0.72 }),\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * background: ${rgbToColorString({ red: 255, green: 205, blue: 100 })};\n * background: ${rgbToColorString({ red: 255, green: 205, blue: 100, alpha: 0.72 })};\n * `\n *\n * // CSS in JS Output\n * element {\n * background: \"#ffcd64\";\n * background: \"rgba(255,205,100,0.72)\";\n * }\n */\nfunction rgbToColorString(color) {\n if (typeof color === 'object' && typeof color.red === 'number' && typeof color.green === 'number' && typeof color.blue === 'number') {\n if (typeof color.alpha === 'number') {\n return rgba({\n red: color.red,\n green: color.green,\n blue: color.blue,\n alpha: color.alpha\n });\n }\n\n return rgb({\n red: color.red,\n green: color.green,\n blue: color.blue\n });\n }\n\n throw new PolishedError(46);\n}\n\n/**\n * Increases the intensity of a color. Its range is between 0 to 1. The first\n * argument of the saturate function is the amount by how much the color\n * intensity should be increased.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * background: saturate(0.2, '#CCCD64'),\n * background: saturate('0.2', 'rgba(204,205,100,0.7)'),\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * background: ${saturate(0.2, '#FFCD64')};\n * background: ${saturate('0.2', 'rgba(204,205,100,0.7)')};\n * `\n *\n * // CSS in JS Output\n *\n * element {\n * background: \"#e0e250\";\n * background: \"rgba(224,226,80,0.7)\";\n * }\n */\n\nfunction saturate(amount, color) {\n if (color === 'transparent') return color;\n var hslColor = parseToHsl(color);\n return toColorString(_extends({}, hslColor, {\n saturation: guard(0, 1, hslColor.saturation + parseFloat(amount))\n }));\n} // prettier-ignore\n\n\nvar curriedSaturate = /*#__PURE__*/curry\n/* :: */\n(saturate);\n\n/**\n * Sets the hue of a color to the provided value. The hue range can be\n * from 0 and 359.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * background: setHue(42, '#CCCD64'),\n * background: setHue('244', 'rgba(204,205,100,0.7)'),\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * background: ${setHue(42, '#CCCD64')};\n * background: ${setHue('244', 'rgba(204,205,100,0.7)')};\n * `\n *\n * // CSS in JS Output\n * element {\n * background: \"#cdae64\";\n * background: \"rgba(107,100,205,0.7)\";\n * }\n */\n\nfunction setHue(hue, color) {\n if (color === 'transparent') return color;\n return toColorString(_extends({}, parseToHsl(color), {\n hue: parseFloat(hue)\n }));\n} // prettier-ignore\n\n\nvar curriedSetHue = /*#__PURE__*/curry\n/* :: */\n(setHue);\n\n/**\n * Sets the lightness of a color to the provided value. The lightness range can be\n * from 0 and 1.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * background: setLightness(0.2, '#CCCD64'),\n * background: setLightness('0.75', 'rgba(204,205,100,0.7)'),\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * background: ${setLightness(0.2, '#CCCD64')};\n * background: ${setLightness('0.75', 'rgba(204,205,100,0.7)')};\n * `\n *\n * // CSS in JS Output\n * element {\n * background: \"#4d4d19\";\n * background: \"rgba(223,224,159,0.7)\";\n * }\n */\n\nfunction setLightness(lightness, color) {\n if (color === 'transparent') return color;\n return toColorString(_extends({}, parseToHsl(color), {\n lightness: parseFloat(lightness)\n }));\n} // prettier-ignore\n\n\nvar curriedSetLightness = /*#__PURE__*/curry\n/* :: */\n(setLightness);\n\n/**\n * Sets the saturation of a color to the provided value. The saturation range can be\n * from 0 and 1.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * background: setSaturation(0.2, '#CCCD64'),\n * background: setSaturation('0.75', 'rgba(204,205,100,0.7)'),\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * background: ${setSaturation(0.2, '#CCCD64')};\n * background: ${setSaturation('0.75', 'rgba(204,205,100,0.7)')};\n * `\n *\n * // CSS in JS Output\n * element {\n * background: \"#adad84\";\n * background: \"rgba(228,229,76,0.7)\";\n * }\n */\n\nfunction setSaturation(saturation, color) {\n if (color === 'transparent') return color;\n return toColorString(_extends({}, parseToHsl(color), {\n saturation: parseFloat(saturation)\n }));\n} // prettier-ignore\n\n\nvar curriedSetSaturation = /*#__PURE__*/curry\n/* :: */\n(setSaturation);\n\n/**\n * Shades a color by mixing it with black. `shade` can produce\n * hue shifts, where as `darken` manipulates the luminance channel and therefore\n * doesn't produce hue shifts.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * background: shade(0.25, '#00f')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * background: ${shade(0.25, '#00f')};\n * `\n *\n * // CSS in JS Output\n *\n * element {\n * background: \"#00003f\";\n * }\n */\n\nfunction shade(percentage, color) {\n if (color === 'transparent') return color;\n return curriedMix(parseFloat(percentage), 'rgb(0, 0, 0)', color);\n} // prettier-ignore\n\n\nvar curriedShade = /*#__PURE__*/curry\n/* :: */\n(shade);\n\n/**\n * Tints a color by mixing it with white. `tint` can produce\n * hue shifts, where as `lighten` manipulates the luminance channel and therefore\n * doesn't produce hue shifts.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * background: tint(0.25, '#00f')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * background: ${tint(0.25, '#00f')};\n * `\n *\n * // CSS in JS Output\n *\n * element {\n * background: \"#bfbfff\";\n * }\n */\n\nfunction tint(percentage, color) {\n if (color === 'transparent') return color;\n return curriedMix(parseFloat(percentage), 'rgb(255, 255, 255)', color);\n} // prettier-ignore\n\n\nvar curriedTint = /*#__PURE__*/curry\n/* :: */\n(tint);\n\n/**\n * Decreases the opacity of a color. Its range for the amount is between 0 to 1.\n *\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * background: transparentize(0.1, '#fff');\n * background: transparentize(0.2, 'hsl(0, 0%, 100%)'),\n * background: transparentize('0.5', 'rgba(255, 0, 0, 0.8)'),\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * background: ${transparentize(0.1, '#fff')};\n * background: ${transparentize(0.2, 'hsl(0, 0%, 100%)')},\n * background: ${transparentize('0.5', 'rgba(255, 0, 0, 0.8)')},\n * `\n *\n * // CSS in JS Output\n *\n * element {\n * background: \"rgba(255,255,255,0.9)\";\n * background: \"rgba(255,255,255,0.8)\";\n * background: \"rgba(255,0,0,0.3)\";\n * }\n */\n\nfunction transparentize(amount, color) {\n if (color === 'transparent') return color;\n var parsedColor = parseToRgb(color);\n var alpha = typeof parsedColor.alpha === 'number' ? parsedColor.alpha : 1;\n\n var colorWithAlpha = _extends({}, parsedColor, {\n alpha: guard(0, 1, +(alpha * 100 - parseFloat(amount) * 100).toFixed(2) / 100)\n });\n\n return rgba(colorWithAlpha);\n} // prettier-ignore\n\n\nvar curriedTransparentize = /*#__PURE__*/curry\n/* :: */\n(transparentize);\n\n/**\n * Shorthand for easily setting the animation property. Allows either multiple arrays with animations\n * or a single animation spread over the arguments.\n * @example\n * // Styles as object usage\n * const styles = {\n * ...animation(['rotate', '1s', 'ease-in-out'], ['colorchange', '2s'])\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${animation(['rotate', '1s', 'ease-in-out'], ['colorchange', '2s'])}\n * `\n *\n * // CSS as JS Output\n *\n * div {\n * 'animation': 'rotate 1s ease-in-out, colorchange 2s'\n * }\n * @example\n * // Styles as object usage\n * const styles = {\n * ...animation('rotate', '1s', 'ease-in-out')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${animation('rotate', '1s', 'ease-in-out')}\n * `\n *\n * // CSS as JS Output\n *\n * div {\n * 'animation': 'rotate 1s ease-in-out'\n * }\n */\nfunction animation() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n // Allow single or multiple animations passed\n var multiMode = Array.isArray(args[0]);\n\n if (!multiMode && args.length > 8) {\n throw new PolishedError(64);\n }\n\n var code = args.map(function (arg) {\n if (multiMode && !Array.isArray(arg) || !multiMode && Array.isArray(arg)) {\n throw new PolishedError(65);\n }\n\n if (Array.isArray(arg) && arg.length > 8) {\n throw new PolishedError(66);\n }\n\n return Array.isArray(arg) ? arg.join(' ') : arg;\n }).join(', ');\n return {\n animation: code\n };\n}\n\n/**\n * Shorthand that accepts any number of backgroundImage values as parameters for creating a single background statement.\n * @example\n * // Styles as object usage\n * const styles = {\n * ...backgroundImages('url(\"/image/background.jpg\")', 'linear-gradient(red, green)')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${backgroundImages('url(\"/image/background.jpg\")', 'linear-gradient(red, green)')}\n * `\n *\n * // CSS as JS Output\n *\n * div {\n * 'backgroundImage': 'url(\"/image/background.jpg\"), linear-gradient(red, green)'\n * }\n */\nfunction backgroundImages() {\n for (var _len = arguments.length, properties = new Array(_len), _key = 0; _key < _len; _key++) {\n properties[_key] = arguments[_key];\n }\n\n return {\n backgroundImage: properties.join(', ')\n };\n}\n\n/**\n * Shorthand that accepts any number of background values as parameters for creating a single background statement.\n * @example\n * // Styles as object usage\n * const styles = {\n * ...backgrounds('url(\"/image/background.jpg\")', 'linear-gradient(red, green)', 'center no-repeat')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${backgrounds('url(\"/image/background.jpg\")', 'linear-gradient(red, green)', 'center no-repeat')}\n * `\n *\n * // CSS as JS Output\n *\n * div {\n * 'background': 'url(\"/image/background.jpg\"), linear-gradient(red, green), center no-repeat'\n * }\n */\nfunction backgrounds() {\n for (var _len = arguments.length, properties = new Array(_len), _key = 0; _key < _len; _key++) {\n properties[_key] = arguments[_key];\n }\n\n return {\n background: properties.join(', ')\n };\n}\n\nvar sideMap = ['top', 'right', 'bottom', 'left'];\n/**\n * Shorthand for the border property that splits out individual properties for use with tools like Fela and Styletron. A side keyword can optionally be passed to target only one side's border properties.\n *\n * @example\n * // Styles as object usage\n * const styles = {\n * ...border('1px', 'solid', 'red')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${border('1px', 'solid', 'red')}\n * `\n *\n * // CSS as JS Output\n *\n * div {\n * 'borderColor': 'red',\n * 'borderStyle': 'solid',\n * 'borderWidth': `1px`,\n * }\n *\n * // Styles as object usage\n * const styles = {\n * ...border('top', '1px', 'solid', 'red')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${border('top', '1px', 'solid', 'red')}\n * `\n *\n * // CSS as JS Output\n *\n * div {\n * 'borderTopColor': 'red',\n * 'borderTopStyle': 'solid',\n * 'borderTopWidth': `1px`,\n * }\n */\n\nfunction border(sideKeyword) {\n for (var _len = arguments.length, values = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n values[_key - 1] = arguments[_key];\n }\n\n if (typeof sideKeyword === 'string' && sideMap.indexOf(sideKeyword) >= 0) {\n var _ref;\n\n return _ref = {}, _ref[\"border\" + capitalizeString(sideKeyword) + \"Width\"] = values[0], _ref[\"border\" + capitalizeString(sideKeyword) + \"Style\"] = values[1], _ref[\"border\" + capitalizeString(sideKeyword) + \"Color\"] = values[2], _ref;\n } else {\n values.unshift(sideKeyword);\n return {\n borderWidth: values[0],\n borderStyle: values[1],\n borderColor: values[2]\n };\n }\n}\n\n/**\n * Shorthand that accepts up to four values, including null to skip a value, and maps them to their respective directions.\n * @example\n * // Styles as object usage\n * const styles = {\n * ...borderColor('red', 'green', 'blue', 'yellow')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${borderColor('red', 'green', 'blue', 'yellow')}\n * `\n *\n * // CSS as JS Output\n *\n * div {\n * 'borderTopColor': 'red',\n * 'borderRightColor': 'green',\n * 'borderBottomColor': 'blue',\n * 'borderLeftColor': 'yellow'\n * }\n */\nfunction borderColor() {\n for (var _len = arguments.length, values = new Array(_len), _key = 0; _key < _len; _key++) {\n values[_key] = arguments[_key];\n }\n\n return directionalProperty.apply(void 0, ['borderColor'].concat(values));\n}\n\n/**\n * Shorthand that accepts a value for side and a value for radius and applies the radius value to both corners of the side.\n * @example\n * // Styles as object usage\n * const styles = {\n * ...borderRadius('top', '5px')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${borderRadius('top', '5px')}\n * `\n *\n * // CSS as JS Output\n *\n * div {\n * 'borderTopRightRadius': '5px',\n * 'borderTopLeftRadius': '5px',\n * }\n */\nfunction borderRadius(side, radius) {\n var uppercaseSide = capitalizeString(side);\n\n if (!radius && radius !== 0) {\n throw new PolishedError(62);\n }\n\n if (uppercaseSide === 'Top' || uppercaseSide === 'Bottom') {\n var _ref;\n\n return _ref = {}, _ref[\"border\" + uppercaseSide + \"RightRadius\"] = radius, _ref[\"border\" + uppercaseSide + \"LeftRadius\"] = radius, _ref;\n }\n\n if (uppercaseSide === 'Left' || uppercaseSide === 'Right') {\n var _ref2;\n\n return _ref2 = {}, _ref2[\"borderTop\" + uppercaseSide + \"Radius\"] = radius, _ref2[\"borderBottom\" + uppercaseSide + \"Radius\"] = radius, _ref2;\n }\n\n throw new PolishedError(63);\n}\n\n/**\n * Shorthand that accepts up to four values, including null to skip a value, and maps them to their respective directions.\n * @example\n * // Styles as object usage\n * const styles = {\n * ...borderStyle('solid', 'dashed', 'dotted', 'double')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${borderStyle('solid', 'dashed', 'dotted', 'double')}\n * `\n *\n * // CSS as JS Output\n *\n * div {\n * 'borderTopStyle': 'solid',\n * 'borderRightStyle': 'dashed',\n * 'borderBottomStyle': 'dotted',\n * 'borderLeftStyle': 'double'\n * }\n */\nfunction borderStyle() {\n for (var _len = arguments.length, values = new Array(_len), _key = 0; _key < _len; _key++) {\n values[_key] = arguments[_key];\n }\n\n return directionalProperty.apply(void 0, ['borderStyle'].concat(values));\n}\n\n/**\n * Shorthand that accepts up to four values, including null to skip a value, and maps them to their respective directions.\n * @example\n * // Styles as object usage\n * const styles = {\n * ...borderWidth('12px', '24px', '36px', '48px')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${borderWidth('12px', '24px', '36px', '48px')}\n * `\n *\n * // CSS as JS Output\n *\n * div {\n * 'borderTopWidth': '12px',\n * 'borderRightWidth': '24px',\n * 'borderBottomWidth': '36px',\n * 'borderLeftWidth': '48px'\n * }\n */\nfunction borderWidth() {\n for (var _len = arguments.length, values = new Array(_len), _key = 0; _key < _len; _key++) {\n values[_key] = arguments[_key];\n }\n\n return directionalProperty.apply(void 0, ['borderWidth'].concat(values));\n}\n\nfunction generateSelectors(template, state) {\n var stateSuffix = state ? \":\" + state : '';\n return template(stateSuffix);\n}\n/**\n * Function helper that adds an array of states to a template of selectors. Used in textInputs and buttons.\n * @private\n */\n\n\nfunction statefulSelectors(states, template, stateMap) {\n if (!template) throw new PolishedError(67);\n if (states.length === 0) return generateSelectors(template, null);\n var selectors = [];\n\n for (var i = 0; i < states.length; i += 1) {\n if (stateMap && stateMap.indexOf(states[i]) < 0) {\n throw new PolishedError(68);\n }\n\n selectors.push(generateSelectors(template, states[i]));\n }\n\n selectors = selectors.join(',');\n return selectors;\n}\n\nvar stateMap = [undefined, null, 'active', 'focus', 'hover'];\n\nfunction template(state) {\n return \"button\" + state + \",\\n input[type=\\\"button\\\"]\" + state + \",\\n input[type=\\\"reset\\\"]\" + state + \",\\n input[type=\\\"submit\\\"]\" + state;\n}\n/**\n * Populates selectors that target all buttons. You can pass optional states to append to the selectors.\n * @example\n * // Styles as object usage\n * const styles = {\n * [buttons('active')]: {\n * 'border': 'none'\n * }\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * > ${buttons('active')} {\n * border: none;\n * }\n * `\n *\n * // CSS in JS Output\n *\n * 'button:active,\n * 'input[type=\"button\"]:active,\n * 'input[type=\\\"reset\\\"]:active,\n * 'input[type=\\\"submit\\\"]:active: {\n * 'border': 'none'\n * }\n */\n\n\nfunction buttons() {\n for (var _len = arguments.length, states = new Array(_len), _key = 0; _key < _len; _key++) {\n states[_key] = arguments[_key];\n }\n\n return statefulSelectors(states, template, stateMap);\n}\n\n/**\n * Shorthand that accepts up to four values, including null to skip a value, and maps them to their respective directions.\n * @example\n * // Styles as object usage\n * const styles = {\n * ...margin('12px', '24px', '36px', '48px')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${margin('12px', '24px', '36px', '48px')}\n * `\n *\n * // CSS as JS Output\n *\n * div {\n * 'marginTop': '12px',\n * 'marginRight': '24px',\n * 'marginBottom': '36px',\n * 'marginLeft': '48px'\n * }\n */\nfunction margin() {\n for (var _len = arguments.length, values = new Array(_len), _key = 0; _key < _len; _key++) {\n values[_key] = arguments[_key];\n }\n\n return directionalProperty.apply(void 0, ['margin'].concat(values));\n}\n\n/**\n * Shorthand that accepts up to four values, including null to skip a value, and maps them to their respective directions.\n * @example\n * // Styles as object usage\n * const styles = {\n * ...padding('12px', '24px', '36px', '48px')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${padding('12px', '24px', '36px', '48px')}\n * `\n *\n * // CSS as JS Output\n *\n * div {\n * 'paddingTop': '12px',\n * 'paddingRight': '24px',\n * 'paddingBottom': '36px',\n * 'paddingLeft': '48px'\n * }\n */\nfunction padding() {\n for (var _len = arguments.length, values = new Array(_len), _key = 0; _key < _len; _key++) {\n values[_key] = arguments[_key];\n }\n\n return directionalProperty.apply(void 0, ['padding'].concat(values));\n}\n\nvar positionMap$1 = ['absolute', 'fixed', 'relative', 'static', 'sticky'];\n/**\n * Shorthand accepts up to five values, including null to skip a value, and maps them to their respective directions. The first value can optionally be a position keyword.\n * @example\n * // Styles as object usage\n * const styles = {\n * ...position('12px', '24px', '36px', '48px')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${position('12px', '24px', '36px', '48px')}\n * `\n *\n * // CSS as JS Output\n *\n * div {\n * 'top': '12px',\n * 'right': '24px',\n * 'bottom': '36px',\n * 'left': '48px'\n * }\n *\n * // Styles as object usage\n * const styles = {\n * ...position('absolute', '12px', '24px', '36px', '48px')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${position('absolute', '12px', '24px', '36px', '48px')}\n * `\n *\n * // CSS as JS Output\n *\n * div {\n * 'position': 'absolute',\n * 'top': '12px',\n * 'right': '24px',\n * 'bottom': '36px',\n * 'left': '48px'\n * }\n */\n\nfunction position(firstValue) {\n for (var _len = arguments.length, values = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n values[_key - 1] = arguments[_key];\n }\n\n if (positionMap$1.indexOf(firstValue) >= 0 && firstValue) {\n return _extends({}, directionalProperty.apply(void 0, [''].concat(values)), {\n position: firstValue\n });\n } else {\n return directionalProperty.apply(void 0, ['', firstValue].concat(values));\n }\n}\n\n/**\n * Shorthand to set the height and width properties in a single statement.\n * @example\n * // Styles as object usage\n * const styles = {\n * ...size('300px', '250px')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${size('300px', '250px')}\n * `\n *\n * // CSS as JS Output\n *\n * div {\n * 'height': '300px',\n * 'width': '250px',\n * }\n */\nfunction size(height, width) {\n if (width === void 0) {\n width = height;\n }\n\n return {\n height: height,\n width: width\n };\n}\n\nvar stateMap$1 = [undefined, null, 'active', 'focus', 'hover'];\n\nfunction template$1(state) {\n return \"input[type=\\\"color\\\"]\" + state + \",\\n input[type=\\\"date\\\"]\" + state + \",\\n input[type=\\\"datetime\\\"]\" + state + \",\\n input[type=\\\"datetime-local\\\"]\" + state + \",\\n input[type=\\\"email\\\"]\" + state + \",\\n input[type=\\\"month\\\"]\" + state + \",\\n input[type=\\\"number\\\"]\" + state + \",\\n input[type=\\\"password\\\"]\" + state + \",\\n input[type=\\\"search\\\"]\" + state + \",\\n input[type=\\\"tel\\\"]\" + state + \",\\n input[type=\\\"text\\\"]\" + state + \",\\n input[type=\\\"time\\\"]\" + state + \",\\n input[type=\\\"url\\\"]\" + state + \",\\n input[type=\\\"week\\\"]\" + state + \",\\n input:not([type])\" + state + \",\\n textarea\" + state;\n}\n/**\n * Populates selectors that target all text inputs. You can pass optional states to append to the selectors.\n * @example\n * // Styles as object usage\n * const styles = {\n * [textInputs('active')]: {\n * 'border': 'none'\n * }\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * > ${textInputs('active')} {\n * border: none;\n * }\n * `\n *\n * // CSS in JS Output\n *\n * 'input[type=\"color\"]:active,\n * input[type=\"date\"]:active,\n * input[type=\"datetime\"]:active,\n * input[type=\"datetime-local\"]:active,\n * input[type=\"email\"]:active,\n * input[type=\"month\"]:active,\n * input[type=\"number\"]:active,\n * input[type=\"password\"]:active,\n * input[type=\"search\"]:active,\n * input[type=\"tel\"]:active,\n * input[type=\"text\"]:active,\n * input[type=\"time\"]:active,\n * input[type=\"url\"]:active,\n * input[type=\"week\"]:active,\n * input:not([type]):active,\n * textarea:active': {\n * 'border': 'none'\n * }\n */\n\n\nfunction textInputs() {\n for (var _len = arguments.length, states = new Array(_len), _key = 0; _key < _len; _key++) {\n states[_key] = arguments[_key];\n }\n\n return statefulSelectors(states, template$1, stateMap$1);\n}\n\n/**\n * Accepts any number of transition values as parameters for creating a single transition statement. You may also pass an array of properties as the first parameter that you would like to apply the same transition values to (second parameter).\n * @example\n * // Styles as object usage\n * const styles = {\n * ...transitions('opacity 1.0s ease-in 0s', 'width 2.0s ease-in 2s'),\n * ...transitions(['color', 'background-color'], '2.0s ease-in 2s')\n * }\n *\n * // styled-components usage\n * const div = styled.div`\n * ${transitions('opacity 1.0s ease-in 0s', 'width 2.0s ease-in 2s')};\n * ${transitions(['color', 'background-color'], '2.0s ease-in 2s'),};\n * `\n *\n * // CSS as JS Output\n *\n * div {\n * 'transition': 'opacity 1.0s ease-in 0s, width 2.0s ease-in 2s'\n * 'transition': 'color 2.0s ease-in 2s, background-color 2.0s ease-in 2s',\n * }\n */\n\nfunction transitions() {\n for (var _len = arguments.length, properties = new Array(_len), _key = 0; _key < _len; _key++) {\n properties[_key] = arguments[_key];\n }\n\n if (Array.isArray(properties[0]) && properties.length === 2) {\n var value = properties[1];\n\n if (typeof value !== 'string') {\n throw new PolishedError(61);\n }\n\n var transitionsString = properties[0].map(function (property) {\n return property + \" \" + value;\n }).join(', ');\n return {\n transition: transitionsString\n };\n } else {\n return {\n transition: properties.join(', ')\n };\n }\n}\n\nexport { curriedAdjustHue as adjustHue, animation, backgroundImages, backgrounds, between, border, borderColor, borderRadius, borderStyle, borderWidth, buttons, clearFix, complement, cover, cssVar, curriedDarken as darken, curriedDesaturate as desaturate, directionalProperty, easeIn, easeInOut, easeOut, ellipsis, em, fluidRange, fontFace, getContrast, getLuminance, getValueAndUnit, grayscale, hiDPI, hideText, hideVisually, hsl, hslToColorString, hsla, important, invert, curriedLighten as lighten, linearGradient, margin, math, meetsContrastGuidelines, curriedMix as mix, modularScale, normalize, curriedOpacify as opacify, padding, parseToHsl, parseToRgb, position, radialGradient, readableColor, rem, retinaImage, rgb, rgbToColorString, rgba, curriedSaturate as saturate, curriedSetHue as setHue, curriedSetLightness as setLightness, curriedSetSaturation as setSaturation, curriedShade as shade, size, stripUnit, textInputs, timingFunctions, curriedTint as tint, toColorString, transitions, curriedTransparentize as transparentize, triangle, wordWrap };\n","function _assertThisInitialized(e) {\n if (void 0 === e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return e;\n}\nexport { _assertThisInitialized as default };","import setPrototypeOf from \"./setPrototypeOf.js\";\nfunction _inheritsLoose(t, o) {\n t.prototype = Object.create(o.prototype), t.prototype.constructor = t, setPrototypeOf(t, o);\n}\nexport { _inheritsLoose as default };","import React from 'react';\nimport {\n shape, func, elementType, bool, oneOfType, string, number\n} from 'prop-types';\n\nimport { isPressedKeyEnter } from '../../utils';\n\nconst Option = ({\n option, setSelected, ContainerRenderer, Renderer, isSelected, disabled, OptionContainerRendererProps\n}) => {\n const handleSelection = opt => {\n if (disabled) return;\n setSelected(opt);\n };\n\n const onOptionClick = opt => () => handleSelection(opt);\n const onOptionKeyPress = opt => event => isPressedKeyEnter(event) && handleSelection(opt);\n const ContainerRendererProps = typeof OptionContainerRendererProps === 'function' ? OptionContainerRendererProps(option) : OptionContainerRendererProps;\n return (\n \n \n \n );\n};\n\nOption.prototype = {\n disabled: bool,\n isSelected: bool,\n setSelected: func,\n Renderer: elementType,\n ContainerRenderer: elementType,\n OptionContainerRendererProps: oneOfType([\n func,\n shape({})\n ]),\n option: shape({ text: string, value: oneOfType([string, number]) })\n};\n\n/* eslint react/prop-types: \"off\" */\nOption.defaultProps = {\n option: {},\n disabled: false,\n isSelected: false,\n setSelected: f => f,\n ContainerRenderer: props =>
  • ,\n OptionContainerRendererProps: {},\n Renderer: ({ option: { text, value }, isSelected }) =>
    {text}
    \n};\n\nexport default Option;\n","import React, { forwardRef } from 'react';\nimport {\n arrayOf, oneOfType, string, number, shape, elementType, bool, func\n} from 'prop-types';\n\nimport Option from '../Option';\n\nconst OptionGroup = forwardRef(({\n options, setSelected, checkOptionSelectionState, ContainerRenderer, OptionContainerRenderer, OptionRenderer, disabled, GroupRenderer, text, OptionContainerRendererProps, groupIcon,\n NoResultsRenderer, onClearFilter, inputValue, containerID\n}, ref) => {\n if (inputValue && !options.length && NoResultsRenderer) {\n return ;\n }\n return (\n \n {options.map(option => {\n if (option.type === 'group') {\n return (\n \n );\n }\n\n return (\n \n );\n })}\n \n );\n});\n\nOptionGroup.prototype = {\n containerID: string.isRequired,\n disabled: bool,\n setSelected: func,\n onClearFilter: func,\n GroupRenderer: elementType,\n OptionRenderer: elementType,\n ContainerRenderer: elementType,\n OptionContainerRenderer: elementType,\n OptionContainerRendererProps: oneOfType([\n func,\n shape({})\n ]),\n NoResultsRenderer: elementType,\n inputValue: string,\n checkOptionSelectionState: func,\n options: arrayOf(shape({ text: string, value: oneOfType([string, number]) })),\n selectedOptions: arrayOf(shape({ text: string, value: oneOfType([string, number]) }))\n};\n\n/* eslint react/prop-types: \"off\" */\nOptionGroup.defaultProps = {\n options: [],\n selectedOptions: [],\n disabled: false,\n setSelected: f => f,\n checkOptionSelectionState: f => f,\n onClearFilter: f => f,\n GroupRenderer: ({ text, children, ...props }) => (\n
    \n {text}\n
    {children}
    \n
    \n ),\n ContainerRenderer: forwardRef(({ children }, ref) =>
      {children}
    ),\n OptionContainerRenderer: props =>
  • ,\n OptionContainerRendererProps: {},\n OptionRenderer: ({ option: { text, value }, isSelected }) =>
    {text}
    ,\n NoResultsRenderer: null,\n inputValue: ''\n};\n\nexport default OptionGroup;\n","import React, {\n useRef, useImperativeHandle, forwardRef, useEffect\n} from 'react';\nimport {\n arrayOf, oneOfType, string, number, shape, elementType, bool, node, func\n} from 'prop-types';\n\nimport OptionGroup from '../OptionGroup';\n\nimport { useSelectionState, useEffectIgnoreFirst, useCombinedRefs } from '../../utils/hooks';\n\nconst SelectionGroup = forwardRef(({\n options,\n disabled,\n defaultValue,\n isMultiSelect,\n GroupRenderer,\n OptionRenderer,\n ContainerRenderer,\n OptionContainerRenderer,\n OptionContainerRendererProps,\n onSelectionChange,\n autoFocusToFirstChild\n}, ref) => {\n const [selectedOptionList, toggleSelectedOption, setSelectedOptionList] = useSelectionState(defaultValue, isMultiSelect);\n\n const optionGroupRef = useRef();\n const rootRef = useCombinedRefs(ref, optionGroupRef);\n useImperativeHandle(rootRef, () => ({\n current: rootRef.current,\n setSelectedOptionList\n }));\n\n const changeSelectedOptions = value => !disabled && toggleSelectedOption(value);\n const checkOptionSelectionState = option => selectedOptionList.indexOf(option.value) > -1;\n const onOptionSelection = option => !disabled && !option.disabled && changeSelectedOptions(option.value);\n\n useEffectIgnoreFirst(() => {\n onSelectionChange(isMultiSelect ? selectedOptionList : selectedOptionList[0]);\n }, [selectedOptionList]);\n\n useEffect(() => {\n if (autoFocusToFirstChild) rootRef?.current?.current?.firstChild?.focus();\n }, [autoFocusToFirstChild]);\n\n return (\n \n );\n});\n\nSelectionGroup.propTypes = {\n disabled: bool,\n options: arrayOf(shape({\n text: oneOfType([string, node]),\n value: oneOfType([string, number])\n })),\n defaultValue: oneOfType([string, number, arrayOf(oneOfType([string, number]))]),\n isMultiSelect: bool,\n GroupRenderer: elementType,\n OptionRenderer: elementType,\n OptionContainerRenderer: elementType,\n OptionContainerRendererProps: oneOfType([\n func,\n shape({})\n ]),\n ContainerRenderer: elementType,\n onSelectionChange: func,\n autoFocusToFirstChild: bool\n};\n\n/* eslint react/prop-types: \"off\" */\nSelectionGroup.defaultProps = {\n disabled: false,\n options: [],\n defaultValue: undefined,\n isMultiSelect: false,\n GroupRenderer: ({ text, children, ...props }) => (\n
    \n {text}\n
    {children}
    \n
    \n ),\n ContainerRenderer: forwardRef(({ children }, ref) =>
      {children}
    ),\n OptionRenderer: ({ option: { text, value }, isSelected }) =>
    {`${text}${isSelected ? '- SELECTED' : ''}`}
    ,\n OptionContainerRenderer: props =>
  • ,\n OptionContainerRendererProps: {},\n onSelectionChange: f => f,\n autoFocusToFirstChild: false\n};\n\nexport default SelectionGroup;\n","import styled, { css } from 'styled-components';\n\nconst commonForRadioAndCheck = css`\n width: 16px;\n height: 16px;\n display: block;\n border: 1px solid #a8aab5;\n margin-right: 6px;\n cursor: pointer;\n html[dir=\"rtl\"] & {\n margin-right: 0;\n margin-left: 6px;\n }\n`;\n\nexport const ScRadio = styled.div`\n ${commonForRadioAndCheck}\n border-radius: 50%;\n transition: all .4s ease;\n`;\n\nexport const ScCheckbox = styled.div`\n ${commonForRadioAndCheck}\n position: relative;\n border-radius: 2px;\n transition: all .25s ease;\n\n &:before, &:after {\n display: inline-block;\n content: \"\";\n position: absolute;\n border-radius: 2px;\n background-color: #fff;\n width: 2px;\n opacity: 0;\n transition: all .25s ease;\n }\n\n &:before {\n top: 6px; left: 3px; height: 5px;\n transform: rotate(-45deg);\n }\n\n &:after {\n top: 2px; left: 7px; height: 10px;\n transform: rotate(45deg);\n }\n`;\n\nexport const ScOptionList = styled.ul`\n padding: .75em 0 0;\n margin: 0;\n list-style: none;\n\n li + li { margin-top: ${p => {\n if (p.narrowMargins === true) return '8px';\n return (p.multiline === true) ? '1.5em' : '.75em';\n }}; }\n`;\n\nexport const ScOption = styled.div`\n cursor: pointer;\n display: flex;\n font-size: 1em;\n line-height: 1.5;\n align-items: center;\n\n .optionIcon {\n color: transparent;\n width: 28px;\n height: 28px;\n margin: 0 18px;\n margin-left: auto;\n }\n\n ${p => (p.fillColor && `\n background: #FFFFFF;\n border: 1px solid #BCBDD2;\n box-sizing: border-box;\n border-radius: 4px;\n\n .o-label {\n margin-top: 11px;\n font-size: 16px;\n }\n .o-desc {\n margin-bottom: 14px;\n font-size: 15px;\n }\n\n\n &[data-selected=true] {\n .o-label {\n color: ${p.fillColor};\n }\n background: ${p.backgroundColor};\n border-color: ${p.borderColor};\n }\n\n &[data-selected=true] > svg {\n fill: ${p.fillColor};\n }\n\n &[data-selected=true] > svg > circle {\n fill: ${p.fillColor};\n }\n `)}\n\n .o-label { font-weight: ${p => (p.multiline === true ? '700' : '400')}; }\n .o-desc span,\n .o-label span { font-weight: 700; }\n\n ${ScRadio}, ${ScCheckbox} { flex-shrink: 0; }\n\n &[data-disabled=true] {\n opacity: .5;\n\n & > ${ScRadio}, ${ScCheckbox} { cursor: not-allowed; }\n }\n\n &[data-selected=true] > ${ScRadio} {\n background-color: #4573e3;\n border-color: #4573e3;\n box-shadow: inset 0px 0 0px 3px #dfe8fa;\n }\n @media (hover: hover) {\n &:not([data-selected=true]):not([data-disabled=true]):hover {\n & > ${ScRadio} {\n background-color: rgba(68, 115, 227, 0.3);\n box-shadow: inset 0px 0 0px 3px #fff;\n }\n\n & > ${ScCheckbox} {\n background-color: rgba(68,115,227,0.3);\n border-color: rgba(68,115,227,0.3);\n &:before, &:after { opacity: 1; }\n }\n }\n }\n\n &[data-selected=true] > ${ScCheckbox} {\n background-color: #4573e3;\n border-color: #4573e3;\n\n &:before, &:after { opacity: 1; }\n }\n\n &:focus { outline: 0; }\n &:focus > ${ScRadio} {\n border-color: #4573e3;\n box-shadow: 0px 0 0px 5px #dfe8fa;\n }\n &[data-selected=true]:focus > ${ScRadio} {\n box-shadow: inset 0px 0 0px 3px #dfe8fa, 0px 0 0px 5px #dfe8fa;\n }\n\n &:focus > ${ScCheckbox} {\n border-color: #4573e3;\n box-shadow: 0px 0 0px 5px rgba(68,115,227,0.3);\n }\n\n /* With double line, we increase size for radio/text reatio */\n ${ScRadio} {\n ${p => (p.multiline && `\n width: 18px;\n height: 18px;\n margin-inline-end: 12px;\n `)}\n }\n`;\n","/* eslint-disable react/prop-types */\nimport React, { forwardRef } from 'react';\nimport isEqual from 'lodash/isEqual';\nimport { SelectionGroup as UIKitOptionGroup } from '@jotforminc/uikit';\nimport { IconCheckCircleFilled } from '@jotforminc/svg-icons';\nimport {\n ScOption,\n ScOptionList,\n ScCheckbox,\n ScRadio\n} from './StyledComponents';\n\n// eslint-disable-next-line react/prop-types\nexport const Option = ({\n option: {\n text, value, description, desc, icon, fillColor, backgroundColor, borderColor, disabled: optionDisabled, isSelected: optionSelected\n }, isSelected, disabled, isMultiSelect, isMultiLine, children, onClick, className, useMouseDown = false\n}) => {\n const clickProps = { [useMouseDown ? 'onMouseDown' : 'onClick']: onClick };\n return (\n \n {icon || (isMultiSelect ? : )}\n
    \n
    {text}
    \n
    {description || desc}
    \n {children}\n
    \n {icon && }\n \n );\n};\n\nconst OptionGroup = forwardRef((props, ref) => {\n const {\n isMultiSelect, isMultiLine, disabled, narrowMargins, className, containerRendererProps\n } = props;\n\n return (\n (\n \n {children}\n \n )}\n OptionRenderer={optionProps => (\n \n )}\n {...props}\n />\n );\n});\n\nexport default React.memo(OptionGroup, (prev, next) => {\n if (isEqual(prev.options, next.options)) {\n return true;\n }\n return false;\n});\n","import React from 'react';\nimport { t } from '@jotforminc/translation';\nimport {\n loadJS,\n initGoogleSignin,\n initFBSignin,\n initAppleSignin,\n randomString\n} from '@jotforminc/utils';\nimport { twoFactorTypeKeys } from '@jotforminc/constants';\n\nimport { IconMessageFilled, IconScanFilled } from '@jotforminc/svg-icons';\n\n// import SVGEmailMethod from '../assets/svg/emailMethod.svg';\n\nimport GoogleIcon from '../assets/svg/icon_gl.svg';\nimport FBIcon from '../assets/svg/icon_fb.svg';\nimport AppleIcon from '../assets/svg/icon_apple_white.svg';\n\nexport const USER_TYPES = {\n ADMIN: 'ADMIN'\n};\n\n/* eslint-disable max-len */\nexport const TEXTS = {\n ENABLE_2FA_TITLE: 'Enable Two-Factor Authentication (2FA)',\n DISABLE_2FA_TITLE: 'Disable Two-Factor Authentication (2FA)',\n TWO_FACTOR_DESCRIPTION: \"Protect your account with additional security by enabling two-factor authentication for [1[{companyName}]] logins. You'll be required to enter both your password and an authentication code to sign in.\",\n LEARN_MORE: 'Learn More',\n AUTHENTICATION_METHODS: 'Authentication Methods',\n ENABLE_AN_AUTHENTICATOR_APP: 'Enable an Authenticator App',\n PRIMARY_METHOD: 'Primary Method',\n SET_PRIMARY: 'Set as Primary',\n PHONE_NUMBER_AUTHENTICATION: 'Text Authentication',\n EMAIL_AUTHENTICATION: 'Email Authentication',\n RECOVERY_CODES: 'Recovery Codes',\n GENERATE_NEW_CODES: 'Generate new codes',\n GENERATE_RECOVERY_CODES: 'Generated Recovery Codes',\n CANT_DISABLE_PRIMARY: 'This method is primary. You can\\'t disable it.',\n CANT_ENABLE_TEXT_AUTHENTICATION: 'This method is available for paid users. Please upgrade your account to enable it.',\n CANT_DISABLE_MANDATORY: 'This method is mandatory. You can\\'t disable it.',\n SETTING_TITLE: 'Two-Factor Authentication',\n AUTHAPP_SCANQRCODE_INFO: 'This method requires you to install a third-party authenticator app (e.g., Google Authenticator, Authy, Duo).',\n LATEST_RECOVERY_CODES: 'Latest recovery codes generated: From [1[{location}]] on [2[{date}]] at [3[{time}]]',\n WAS_NOT_YOU: 'If this activity wasn\\'t you, generate new codes immediately in order to invalidate the previous ones.',\n USED_ALL: 'You have [1[used all of your recovery codes]], hence they are invalid. Please generate new ones in order to use recovery codes as a 2FA method for your Jotform logins.',\n SELECT_A_VERIFICATION_METHOD: 'Select a method to receive the authentication code',\n // SEND_A_CODE_TO_MY_PHONE_NUMBER: 'Text the authentication code to my [1[phone number]]',\n // SEND_ME_AN_EMAIL: 'Email the authentication code to my [1[email address]]',\n // SEND_ME_AN_AUTHENTICATOR_APP: 'Use an [1[Authentication app]] to receive the authentication code',\n AUTHENTICATOR_APP: 'Authenticator App',\n AUTHENTICATOR_APP_DESCRIPTION: 'Set up an authenticator app to receive verification codes from the authenticator app on your mobile device.',\n YOUR_RECOVERY_CODES: 'Your recovery codes',\n SMS_LABEL: 'Text a code',\n SMS_DESCRIPTON: 'Send the code to my mobile phone',\n EMAIL_LABEL: 'Email',\n EMAIL_DESCRIPTON: 'Send the code to my email address',\n APP_LABEL: 'Use an app',\n APP_DESCRIPTON: 'Use an authenticator app to receive the code',\n NEXT: 'NEXT',\n BACK: 'BACK',\n DOWNLOAD: 'DOWNLOAD',\n COPY: 'COPY',\n COPIED: 'COPIED',\n DONE: 'DONE',\n DISABLE: 'DISABLE',\n CANCEL: 'CANCEL',\n CLOSE: 'CLOSE',\n ENTER_YOUR_PHONE_NUMBER: 'Enter your mobile phone number',\n PLEASE_ENTER_PHONE: 'Please enter your mobile phone number to enable 2FA. [1[companyName]] will send you a six-digit verification code.',\n PHONE_INPUT_PLACEHOLDER: 'Enter phone number',\n ENTER_YOUR_VERIFICATION_CODE: 'Authenticate your [1[method]]',\n PLEASE_ENTER: {\n [twoFactorTypeKeys.sms]: \"We've sent an authentication code to [1[receiver]]. Please check your messages and enter the six-digit code to enable 2FA\"\n },\n NO_CODE: 'No code?',\n SEND_AGAIN: 'Send again',\n JOTFORM_WILL_SEND: 'A new verification code has been sent to your [1[{targetType}]].',\n TEXT_MESSAGE_ENABLED: \"You've successfully enabled 2FA.\",\n TEXT_MESSAGE_ENABLED_DESC: \"From now on, you'll be asked to enter an authentication code after your [1[companyName]] login.\",\n NEW_RECOVERY_CODES_GENERATED: 'Your new recovery codes are now generated.',\n YOUR_RECOVERY_CODES_DESC: 'Please save and secure these codes down below. You can use these codes for [1[companyName]] Logins in the event you cannot reach to your mobile phone or email address. Your previously generated codes are now invalidated.',\n ERROR_BLANK_PHONE: 'Phone number cannot be blank.',\n ERROR_BLANK_VERIFICATION_CODE: 'Code cannot be blank.',\n ERROR_INVALID_PHONE: 'Invalid phone number',\n ERROR_PASSWORD: 'Incorrect password, please try again',\n VERIFY_WITH_GOOGLE: 'Verify with Google',\n ERROR_GENERIC: 'Oops! Something went wrong',\n VERIFY_WITH_FACEBOOK: 'Verify with Facebook',\n VERIFY_WITH_APPLE: 'Verify with Apple',\n VERIFY_TO_CONFIRM: 'Verify it\\'s you to confirm',\n PASSWORD_TO_CONFIRM: 'Enter your password to confirm',\n PASSWORD_PLACEHOLDER: 'Your password',\n CONFIGURE_AUTH_APP: 'Configure the authenticator app',\n AUTH_APP_OPEN_DESCRIPTION: 'Open your authenticator app and add your [1[companyName]] account by scanning the QR code below.',\n MANUAL_KEY_CODE: 'If you can\\'t scan the QR code, manually enter the code below.',\n ENTER_THE_CODE: 'Enter the code',\n DISABLE_WARNING_MESSAGE: 'When you disable 2FA, you\\'ll need to enter only your password to sign into your [1[companyName]] account.',\n VERIFY_EMAIL_ADDRESS: 'Please verify your email address to continue',\n THE_EMAIL_ADDRESS: 'The email for your account is:',\n SENT_TO_VERIFICATION_EMAIL: 'Verification email has been sent to ',\n CHECK_YOUR_EMAIL_ADDRESS: 'Please check your inbox to verify your email address by following the instructions.',\n RESEND_VERIFICATION_EMAIL: 're-send verification email',\n EMAIL_SENT: 'email sent',\n SENDING_EMAIL: 'sending...',\n UNUSED_CODES: 'Unused Codes',\n FORCE_2FA_TOOLTIP: 'You are not allowed to disable 2FA verification. If you need any assistance, kindly get in touch with your admin.',\n\n // Force 2FA\n FORCE_2FA_TITLE: 'Configure Two-Factor Authentication (2FA) Settings',\n FORCE_2FA_DESC: 'Your system administrator has been forced to enable 2FA for you. By following the instructions below, you can configure your settings. If you need assistance, kindly get in touch with your admin.',\n FORCE_2FA_INSTALL_TITLE: 'Install a third-party authenticator app',\n FORCE_2FA_INSTALL_DESC: 'You need to download and install an authenticator app such as Google Authenticator, Authy, or Duo.',\n FORCE_2FA_SCAN_QR_CODE_TITLE: 'Scan QR code or type given code',\n FORCE_2FA_SCAN_QR_CODE_DESC: 'After opening your authenticator app, you need to scan below QR code or type given code to see your verification code.',\n FORCE_2FA_ENTER_TEXT_CODE: 'Enter text code',\n FORCE_2FA_ENTER_TEXT_CODE_DESC: 'Open the authenticator app and enter the text code below.',\n FORCE_2FA_VERIFICATION_INPUT_TITLE: 'Enter the generated code',\n FORCE_2FA_VERIFICATION_INPUT_DESC: 'Enter the generated code by authenticator app to complete your 2FA configuration.',\n SCAN_QR_CODE: 'Scan QR code',\n TYPE_THE_CODE_BELOW: 'Type the Code Below',\n VERIFY: 'Verify'\n};\n\nexport const colors = {\n blue: '#0075E3',\n green: '#007B2A',\n red: '#DD3E3E',\n navy: '#0A1551',\n grey: '#8D8FA8',\n selago: '#DDE1FA',\n blueHover: '#EDF8FF',\n white: '#FFFFFF'\n};\n\nexport const methodOptions = [\n {\n text:\n <>\n \n
    \n {t(TEXTS.SMS_LABEL)}\n
    \n ,\n description: TEXTS.SMS_DESCRIPTON,\n value: twoFactorTypeKeys.sms\n },\n // {\n // text:\n // <>\n // \n //
    \n // {t(TEXTS.EMAIL_LABEL)}\n //
    \n // ,\n // description: TEXTS.EMAIL_DESCRIPTON,\n // value: twoFactorTypeKeys.email,\n // },\n {\n text:\n <>\n \n
    \n {t(TEXTS.APP_LABEL)}\n
    \n ,\n description: TEXTS.APP_DESCRIPTON,\n value: twoFactorTypeKeys.authenticatorApp\n }\n];\n\nexport const flagURL = 'https://cdn.jotfor.ms/assets/img/v4/country-flags/{xx}.svg';\n\nexport const socialButtonConstants = {\n google: {\n color: '#0076FF',\n icon: ,\n text: TEXTS.VERIFY_WITH_GOOGLE,\n handler: ({\n successCallback = f => f,\n errorCallback = f => f\n }) => {\n const googleSignin = initGoogleSignin();\n if (googleSignin) {\n googleSignin\n .then(googleUser => {\n const { id_token: token } = googleUser.getAuthResponse();\n successCallback({ password: token, isSocialLogin: 'google' });\n })\n .catch(errorCallback);\n }\n }\n },\n facebook: {\n color: '#3C5A99',\n icon: ,\n text: TEXTS.VERIFY_WITH_FACEBOOK,\n handler: ({\n successCallback = f => f,\n errorCallback = f => f\n }) => {\n const fbLogin = initFBSignin();\n if (!fbLogin) return;\n fbLogin(({ status, authResponse }) => {\n if (status === 'connected' && authResponse) {\n successCallback({ password: authResponse.accessToken, isSocialLogin: 'facebook' });\n } else {\n // TODO: handle error\n errorCallback();\n }\n }, { scope: 'public_profile,email' });\n }\n },\n apple: {\n color: '#000',\n icon: ,\n text: TEXTS.VERIFY_WITH_APPLE,\n handler: ({\n successCallback = f => f,\n errorCallback = f => f\n }) => {\n const nonce = randomString(32);\n const appleSignin = initAppleSignin(nonce);\n if (appleSignin) {\n appleSignin.then(({\n user: {\n name: {\n firstName = '',\n lastName = ''\n } = {}\n } = {},\n authorization: {\n code,\n id_token: idToken\n }\n }) => {\n successCallback({\n password: {\n authorizationCode: code,\n identityToken: idToken,\n realNonce: nonce,\n name: `${firstName} ${lastName}`\n },\n isSocialLogin: 'apple'\n });\n }).catch(() => {\n // TODO: handle errors if necessary\n errorCallback();\n });\n }\n }\n }\n};\n\nexport const socialLoginScripts = {\n facebook: () => loadJS('facebook-jssdk', 'https://connect.facebook.net/en_US/sdk.js'),\n google: () => loadJS('google-jssdk-new', 'https://accounts.google.com/gsi/client'),\n apple: () => loadJS('apple-jssdk', 'https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js')\n};\n","/* eslint-disable max-len */\n// import React from 'react';\nimport {\n string, bool, number, oneOf\n} from 'prop-types';\nimport styled, { css, keyframes } from 'styled-components';\nimport {\n darken, lighten, rgba\n} from 'polished';\nimport { OptionGroup } from '@jotforminc/option-group';\nimport { colors } from '../helpers/constants';\n\nconst onMobile = '@media (max-width: 480px)';\n\nexport const ButtonUnstyled = styled.button` && {\n border: none;\n background-repeat: no-repeat;\n background-position: center;\n cursor: pointer;\n\n &,\n &:focus,\n &:hover {\n background-color: transparent;\n }\n}`;\n\nexport const MethodList = styled(OptionGroup)`\n padding: 0;\n color: ${colors.navy};\n\n li {\n & + li {\n margin: 0;\n }\n\n > div {\n padding: 14px 12px;\n // margin-left: -8px; // to align radio with text\n border: 1px solid transparent;\n font-size: 14px;\n\n ${onMobile} {\n padding: 14px 6px;\n }\n\n &[data-selected=true] {\n border-color: #4573E3;\n border-radius: 4px;\n background-color: ${rgba('#E9EEFF', 0.4)};\n }\n }\n }\n\n .o-wrapper {\n position: relative;\n padding-left: 102px;\n height: 50px;\n margin-left: -6px;\n display: flex;\n justify-content: center;\n flex-direction: column;\n\n ${onMobile} {\n padding-left: 51px;\n }\n\n html[dir=\"rtl\"] & {\n padding-left: 0;\n padding-right: 102px;\n\n ${onMobile} {\n padding-right: 51px;\n }\n }\n\n .o-label,\n .o-desc {\n line-height: 1.4;\n }\n\n .o-label {\n font-size: 18px;\n font-weight: 700;\n\n ${onMobile} {\n font-size: 15px;\n }\n\n svg {\n position: absolute;\n left: 12px;\n top: 50%;\n transform: translateY(-50%);\n max-height: 40px;\n max-width: 50px;\n width: 100%;\n height: 100%;\n\n ${onMobile} {\n left: 6px;\n max-height: 20px;\n max-width: 20px;\n }\n\n html[dir=\"rtl\"] & {\n left: unset;\n right: 12px;\n\n ${onMobile} {\n right: 6px;\n }\n }\n }\n }\n\n .o-desc {\n font-size: 15px;\n font-weight: 400;\n\n ${onMobile} {\n font-size: 13px;\n }\n }\n }\n`;\n\nconst rotate = initial => keyframes`\n from {\n transform: ${initial} rotate(0deg);\n }\n\n to {\n transform: ${initial} rotate(360deg);\n }\n`;\n\nexport const TextCode = styled.input`\n height: 38px;\n font-size: 15px;\n text-align: center;\n border: 1px solid #C9C8C9;\n border-radius: 4px;\n margin-top: 8px;\n\n ${onMobile} {\n font-size: 13px;\n }\n`;\n\nexport const QRCodeWrapper = styled.div`\n height: 124px;\n width: 124px;\n flex-shrink: 0;\n\n svg {\n display: block;\n height: 100%;\n width: 100%;\n opacity: 1;\n transition: opacity 333ms cubic-bezier(.55,.06,.68,.19);\n }\n\n ${({ color, loading }) => (loading ? css`\n position: relative;\n cursor: wait;\n\n svg {\n opacity: 0;\n pointer-events: none;\n\n &,\n &::before {\n font-size: 0;\n color: transparent;\n }\n }\n\n &::after {\n content: '' !important;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 16px;\n height: 16px;\n background-image: url(\"data:image/svg+xml,%3Csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='7.25' stroke='${encodeURIComponent(color)}' stroke-opacity='.5' stroke-width='1.5'/%3E%3Cmask id='a' maskUnits='userSpaceOnUse' x='0' y='0' width='16' height='16'%3E%3Cpath d='M8.27429 7.38462V0H0v16h16V8.53333h-2.6667L8.27429 7.38462z' fill='%23C4C4C4'/%3E%3C/mask%3E%3Cg mask='url(%23a)'%3E%3Ccircle cx='8' cy='8' r='7.25' stroke='${encodeURIComponent(color)}' stroke-width='1.5'/%3E%3C/g%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n background-position: center;\n animation: ${rotate(css`translate(-50%,-50%)`)} 1.5s linear infinite;\n pointer-events: none;\n z-index: 1;\n }\n ` : null)}\n`;\n\nQRCodeWrapper.propTypes = {\n color: string,\n loaded: bool\n};\n\nQRCodeWrapper.defaultProps = {\n color: '#4277FF',\n loaded: true\n};\n\nexport const Image = styled.div`\n margin-top: 10px;\n margin-bottom: 12px;\n`;\n\nexport const Text = styled.div`\n text-align: ${({ align }) => align};\n\n &:empty {\n display: none;\n }\n\n a {\n text-decoration: none;\n }\n\n &,\n d { color: ${colors.navy} };\n a,\n hl {\n &:not([color]) { color: ${colors.blue}; }\n &[color='green'] { color: ${colors.green}; }\n &[color='red'] { color: ${colors.red}; }\n }\n b { font-weight: 500; }\n b2 { font-weight: 700; }\n\n section {\n margin-top: 0;\n margin-bottom: 8px;\n display: flex;\n flex-direction: column;\n\n html[dir=\"rtl\"] & {\n text-align: right;\n }\n\n }\n\n p {\n display: inline-block;\n margin-top: 0;\n margin-bottom: 8px;\n }\n\n`;\n\nText.defaultProps = {\n align: 'left'\n};\n\nexport const Heading = styled(Text)`\n font-size: 18px;\n font-weight: 500;\n line-height: 25px;\n color: ${colors.navy};\n margin-bottom: 20px;\n`;\n\nexport const Description = styled(Text)`\n color: #8D8FA8;\n font-size: 14px;\n font-weight: 400;\n line-height: 20px;\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nexport const Button = styled.button` && {\n position: relative;\n height: ${({ height }) => height}px;\n padding: 0 ${({ type }) => (['naked'].includes(type) ? 0 : 24)}px;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n text-transform: ${({ letterCase }) => letterCase};\n user-select: none;\n transition-duration: 300ms;\n transition-property: color, background-color, border-color;\n transition-timing-function: ease-in-out;\n\n border-width: 1px;\n border-radius: 4px;\n border-style: solid;\n\n ${onMobile} {\n padding: 0 12px;\n }\n\n &,\n &:hover {\n border-color: ${({ type, color }) => (['naked'].includes(type) ? 'transparent' : color)};\n background-color: ${({ type, color }) => (['stroke', 'naked'].includes(type) ? 'transparent' : color)};\n background-clip: padding-box;\n }\n\n color: ${({ type, color, foregroundColor }) => (['stroke', 'naked'].includes(type) ? color : foregroundColor)};\n\n font-weight: 500;\n font-size: ${({ fontSize }) => fontSize}px;\n\n svg {\n max-height: 20px;\n width: 16px;\n height: 16px;\n margin-right: 8px;\n margin-left: -${({ type }) => (['naked'].includes(type) ? 0 : 12)}px;\n\n html[dir=\"rtl\"] & {\n margin-right: -${({ type }) => (['naked'].includes(type) ? 0 : 12)}px;\n margin-left: 10px;\n }\n\n ${onMobile} {\n max-height: 16px;\n width: 16px;\n margin-left: -${({ type }) => (['naked'].includes(type) ? 0 : 6)}px;\n margin-right: 5px;\n\n html[dir=\"rtl\"] & {\n margin-left: 5px;\n margin-right: -${({ type }) => (['naked'].includes(type) ? 0 : 6)}px;\n }\n }\n }\n\n ${({ onClick }) => (onClick ? css`\n cursor: pointer;\n\n &:hover {\n color: ${({ type, color, foregroundColor }) => lighten(0.05, (['stroke', 'naked'].includes(type) ? color : foregroundColor))};\n border-color: ${({ type, color }) => (['naked'].includes(type) ? 'transparent' : lighten(0.05, color))};\n background-color: ${({ type, color }) => (['stroke', 'naked'].includes(type) ? 'transparent' : lighten(0.05, color))};\n }\n\n &:focus {\n color: ${({ type, color, foregroundColor }) => darken(0.05, (['stroke', 'naked'].includes(type) ? color : foregroundColor))};\n border-color: ${({ type, color }) => (['naked'].includes(type) ? 'transparent' : darken(0.05, color))};\n background-color: ${({ type, color }) => (['stroke', 'naked'].includes(type) ? 'transparent' : darken(0.05, color))};\n }\n ` : null)}\n\n ${({\n loading, type, color, foregroundColor\n }) => (loading ? css`\n color: transparent !important;\n transition-duration: 0ms !important;\n cursor: wait;\n\n &::before {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 16px;\n height: 16px;\n background-image: url(\"data:image/svg+xml,%3Csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='7.25' stroke='${encodeURIComponent(['stroke', 'naked'].includes(type) ? color : foregroundColor)}' stroke-opacity='.5' stroke-width='1.5'/%3E%3Cmask id='a' maskUnits='userSpaceOnUse' x='0' y='0' width='16' height='16'%3E%3Cpath d='M8.27429 7.38462V0H0v16h16V8.53333h-2.6667L8.27429 7.38462z' fill='%23C4C4C4'/%3E%3C/mask%3E%3Cg mask='url(%23a)'%3E%3Ccircle cx='8' cy='8' r='7.25' stroke='${encodeURIComponent(['stroke', 'naked'].includes(type) ? color : foregroundColor)}' stroke-width='1.5'/%3E%3C/g%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n background-position: center;\n animation: ${rotate(css`translate(-50%,-50%)`)} 1.5s linear infinite;\n pointer-events: none;\n z-index: 1;\n }\n ` : null)}\n}`;\n\nButton.propTypes = {\n color: string,\n foregroundColor: string,\n height: number,\n fontSize: number,\n letterCase: oneOf(['none', 'lowercase', 'uppercase', 'capitalize']),\n type: oneOf(['stroke', 'naked'])\n};\n\nButton.defaultProps = {\n color: '#0099FF',\n foregroundColor: '#ffffff',\n height: 36,\n fontSize: 14,\n letterCase: 'uppercase',\n type: null\n};\n\nexport const Body = styled.div`\n display: flex;\n flex-direction: column;\n align-items: ${({ align }) => align};\n justify-content: center;\n padding: 16px ${({ wide }) => (wide ? 64 : 32)}px 26px;\n\n ${onMobile} {\n padding-left: 16px;\n padding-right: 16px;\n }\n\n`;\n\nBody.defaultProps = {\n align: 'stretch',\n wide: null\n};\n\nexport const Footer = styled.div`\n display: flex;\n justify-content: ${({ align }) => align};\n flex-direction: ${({ reverse }) => (reverse ? 'row-reverse' : 'row')};\n padding: 12px 32px;\n border-top: 1px solid #EAEBF2;\n align-self: stretch;\n\n ${onMobile} {\n padding-left: 16px;\n padding-right: 16px;\n }\n`;\n\nFooter.propsTypes = {\n align: string,\n reverse: bool\n};\n\nFooter.defaultProps = {\n align: 'space-between',\n reverse: false\n};\n\nexport const Container = styled.div`\n font-family: 'Circular', sans-serif;\n font-size: 15px;\n line-height: 24px;\n display: flex;\n flex-direction: column;\n\n ${({ center }) => (center ? css`\n align-items: center;\n justify-content: center;\n ` : null)}\n\n flex: 1;\n height: 100%;\n width: 100%;\n // max-width: 510px;\n\n ${Body} {\n // margin: auto 0;\n }\n\n ${Footer} {\n margin-top: auto;\n }\n`;\n\nconst MessageContaiener = styled.div`\n font-family: 'Circular', sans-serif;\n font-size: 11px;\n line-height: 1.28;\n display: flex;\n flex-direction: column;\n background-color: ${colors.grey};\n color: #fff;\n border-radius: 4px;\n background-size: 12px;\n background-position: 6px;\n text-align: left;\n background-repeat: no-repeat;\n padding: 5px 5px 5px 24px;\n background-image: url(\"data:image/svg+xml,%3Csvg width='12' height='12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.1683 1.6843a6.0016 6.0016 0 011.8315 4.2636 6.0002 6.0002 0 01-8.368 5.565 6.0001 6.0001 0 116.5365-9.8286zm-3.642 3.642v-2.4h-1.2v3.6h1.2v-1.2zm0 3.6v-1.2h-1.2v1.2h1.2z' fill='%23fff'/%3E%3C/svg%3E\");\n flex: 1;\n height: 100%;\n width: 100%;\n // max-width: 510px;\n`;\n\nexport const ErrorContainer = styled(MessageContaiener)`\n background-color: ${colors.red};\n`;\n\nexport const InfoContainer = styled(MessageContaiener)`\n background-color: ${colors.blue};\n`;\n","/* eslint-disable max-len */\nimport React from 'react';\nimport { number } from 'prop-types';\nimport styled, { css } from 'styled-components';\nimport { Button } from '@jotforminc/common-button';\nimport { StyledModal as Modal } from '@jotforminc/styled-modal';\nimport Toggle from '@jotforminc/toggle';\nimport { Tooltip } from '@jotforminc/tooltip';\n\nimport { Button as ButtonSC } from '../components/styled';\n\nconst borderColor = '#E3E5F5';\nconst descColor = '#2C3345';\nconst primaryIndicatorColor = '#8A94A9';\nconst black = '#000';\nconst settingsBlue = '#0099FF';\nconst infoBlueTextBg = '#F4F7FF';\nconst infoBlueTextColor = '#001D68';\nconst infoOrange = '#F5A51C';\nconst infoOrangeTextBg = '#FFF5D2';\nconst infoOrangeTextColor = '#0A1551';\n\nexport const ScSettingsWrapper = styled.div`\n display: flex;\n flex-direction: column;\n width: 100%;\n box-sizing: border-box;\n\n *, *::before, *::after {\n font-family: 'Circular', sans-serif;\n box-sizing: inherit;\n\n }\n`;\n\nexport const ScTooltip = styled.div`\n pointer-events: none;\n opacity: 0;\n max-width: 145px;\n background-color: #444;\n color: #fff;\n font-size: 12px;\n border-radius: 2px;\n position: absolute;\n padding: 6px 12px;\n top: 25px;\n left: -4px;\n transform: translateY(5px);\n transition: .4s;\n transition-delay: 250ms;\n z-index: 9;\n\n html[dir=\"rtl\"] & {\n left: unset;\n right: -4px;\n }\n\n :after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 6px;\n transform: translateY(-100%);\n border-width: 8px;\n border-style: solid;\n border-color: transparent transparent #444 transparent;\n\n html[dir=\"rtl\"] & {\n left: unset;\n right: 6px;\n }\n }\n`;\n\nexport const ScToggleWrapper = styled.div`\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n width: 100%;\n align-items: center;\n padding-bottom: 20px;\n gap: 16px;\n\n\n p {\n flex-grow: 1;\n flex-basis: 60%;\n margin: 0 0 2px;\n max-width: 460px;\n color: ${descColor};\n font-size: 14px;\n text-align: left;\n\n html[dir=\"rtl\"] & {\n text-align: right;\n }\n a {\n color: #0075E3;\n text-decoration: underline;\n }\n }\n\n div {\n flex-shrink: 0;\n }\n\n span {\n width: 100%;\n font-size: 14px;\n }\n`;\n\nexport const ScTooltipV2Wrapper = styled.div`\n position: relative;\n`;\n\nexport const ScTooltipV2 = styled(props => )`\n width: 190px;\n text-align: center;\n \n &.jfTooltipNew {\n &.tooltipAttachTop {\n left: unset;\n }\n }\n [dir='rtl'] & {\n right: -210px;\n }\n @media screen and (max-width: 640px) {\n right: -100px;\n }\n`;\n\nexport const ScToggle = styled(props => )`\n &:hover {\n opacity: 1;\n }\n`;\n\nexport const ScMethodsWrapper = styled.div`\n display: flex;\n flex-direction: column;\n\n h4 {\n color: ${black};\n font-size: 14px;\n margin: 12px 0 0 0;\n font-weight: 500;\n border-bottom: 1px solid ${borderColor};\n padding: 0 0 7px 0;\n }\n`;\n\nexport const ScMethodButton = styled(ButtonSC)` && {\n &,\n &:hover {\n display: block;\n padding: 0 8px;\n min-width: 84px;\n \n ${({ isGenerateNewCodesButton }) => (isGenerateNewCodesButton ? css`\n @media screen and (max-width: 500px) { & {\n width: 100%;\n } }\n ` : null)}\n\n ${({ isPrimary, loading }) => (isPrimary && !loading ? css`\n &,\n &[disabled],\n &:disabled {\n cursor: default;\n ` : null)}\n }\n}\n}`;\n\nScMethodButton.propTypes = ButtonSC.propTypes;\nScMethodButton.defaultProps = ButtonSC.defaultProps;\n\nexport const ScMethodItem = styled.div`\n display: flex;\n flex-direction: column;\n justify-content: center;\n border-bottom: 1px solid ${borderColor};\n\n div {\n display: flex;\n justify-content: flex-start;\n flex-direction: row;\n align-items: center;\n margin: 8px 0px 8px 0px;\n width: 100%;\n\n label {\n display: flex;\n flex-direction: column;\n flex-wrap: nowrap;\n align-items: flex-start;\n flex-grow: 1;\n flex-basis: 50%;\n position: relative;\n\n input {\n position: relative;\n margin-left: 4px;\n margin-right: 8px;\n height: 16px;\n width: 16px;\n\n html[dir=\"rtl\"] & {\n margin-right: 4px;\n margin-left: 8px;\n }\n\n &:hover + ${ScTooltip} {\n opacity: 100;\n }\n }\n\n span {\n font-size: 12px;\n font-weight: 500;\n }\n\n & + p {\n font-size: 11px;\n margin: 0;\n color: ${primaryIndicatorColor};\n }\n }\n }\n`;\n\nexport const ScMethodTextWrapper = styled.div`\n display: flex;\n flex-direction: column;\n\n span {\n font-family: 'Circular';\n font-style: normal;\n line-height: 24px;\n }\n`;\n\nexport const ScMethodItemTitle = styled.span`\n font-weight: 700 !important;\n font-size: 16px !important;\n`;\n\nexport const ScMethodItemDesc = styled.span`\n font-weight: 400 !important;\n font-size: 14px !important;\n color: #6C73A8;\n`;\n\nexport const ScRecoveryCodesWrapper = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: baseline;\n padding-top: 6px;\n margin: 10px 0 0 0;\n\n @media screen and (max-width: 500px) { & {\n flex-direction: column;\n } }\n\n div {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n gap: 12px;\n \n @media screen and (max-width: 500px) { & {\n margin-bottom: 8px;\n } }\n }\n\n span {\n border-width: 1px;\n }\n\n h4 {\n color: ${black};\n font-size: 14px;\n margin: 0 12px 0 0;\n font-weight: 500;\n }\n`;\n\nexport const ScInfoBox = styled.div`\n display: flex;\n flex-wrap: nowrap;\n align-items: stretch;\n width: 100%;\n border-radius: 4px;\n\n &:not(:first-child) {\n margin-top: 13px;\n }\n\n overflow: hidden;\n\n > div {\n position: relative;\n background: ${props => (props.mode === 'warning' ? infoOrange : settingsBlue)};\n width: 49px;\n\n svg {\n fill: white;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 24px;\n height: 24px;\n }\n\n & + div {\n display: flex;\n flex: 1;\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n padding: 15px 12px;\n font-size: ${({ fontSize }) => fontSize}px;\n background: ${props => (props.mode === 'warning' ? infoOrangeTextBg : infoBlueTextBg)};\n color: ${props => (props.mode === 'warning' ? infoOrangeTextColor : infoBlueTextColor)};\n\n p {\n margin: 0;\n font-family: 'Circular';\n font-style: normal;\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n }\n }\n }\n`;\n\nScInfoBox.defaultProps = {\n fontSize: 12\n};\n\nScInfoBox.propTypes = {\n fontSize: number\n};\n\nexport const ScModal = styled(props => )``;\n\nexport const ScButton = styled(props => \n {showRememberDeviceSection && (\n
    \n setRememberDevice(checked)}\n />\n setRememberDevice(currVal => setRememberDevice(!currVal))} onKeyDown={() => {}}>\n {t(\"Don't ask again on this device.\")}\n \n
    \n )}\n {!isPassiveTFAMethod && (\n
    \n setTimerRunning(true)}\n stopCallback={() => setTimerRunning(false)}\n ref={timerRef}\n />\n

    \n {t(Texts.NO_CODE)}\n handleLogin({ isSocialTFA })}\n disabled={timerRunning ? 'disabled' : ''}\n >\n {t(Texts.SEND_AGAIN)}\n \n

    \n
    \n )}\n
    \n
    \n \n {t(Texts.HAVING_PROBLEMS)}\n \n onNavigationChangeRequest('twoFactorMethods')}\n >\n {t(Texts.SEE_OTHER_AUTHENTICATION_METHODS)}\n \n
    \n
    \n
  • \n
    \n );\n};\n\nTwoFactorLogin.propTypes = {\n onNavigationChangeRequest: func.isRequired,\n handleTFALogin: func.isRequired,\n lastTFAResponse: shape({\n token: shape({\n type: string,\n target: string,\n remaining_time: string,\n total_time: number,\n expires_at: number,\n isForced: bool,\n username: string\n }),\n showRememberDevice: bool\n }).isRequired,\n thereSocialError: string,\n thereErrorMessage: string,\n tfaMethod: string.isRequired,\n isSocialTFA: bool.isRequired\n};\n\nTwoFactorLogin.defaultProps = {\n thereSocialError: '',\n thereErrorMessage: ''\n};\n\nexport default TwoFactorLogin;\n","import React, { useState, useRef, useEffect } from 'react';\nimport {\n shape, bool, string, func, number\n} from 'prop-types';\nimport { t, translationRenderer } from '@jotforminc/translation';\nimport { Texts } from '@jotforminc/constants';\nimport { useTimeoutMessage } from '@jotforminc/hooks';\nimport { PieTimer } from '@jotforminc/pie-timer';\nimport { VerificationInput } from '@jotforminc/verification-input';\nimport { ErrorContainer, InfoBox } from '@jotforminc/two-factor-settings';\n\nconst EmailAuthLogin = ({\n handleEALogin,\n lastEAResponse: {\n emailAuthToken: {\n target,\n remaining_time: remainingTime,\n total_time: totalTime,\n expires_at: expiresAt,\n isForced\n }\n },\n thereSocialError,\n thereErrorMessage,\n isSocialEA\n}) => {\n const [verificationCode, setVerificationCode] = useState('');\n const [timerRunning, setTimerRunning] = useState('');\n const [errorMessage, setErrorMessage] = useTimeoutMessage(false, 5000);\n const timerRef = useRef(null);\n\n useEffect(() => {\n if (typeof window.__accountSharingLogger === 'function') {\n window.__accountSharingLogger({ action: 'seen', target: 'emailAuthLogin' });\n }\n }, []);\n\n useEffect(() => {\n const handleTabChange = () => {\n if (document.visibilityState === 'visible') {\n const remainingTimeAfterTabChange = expiresAt - Math.floor(Date.now() / 1000);\n\n if (remainingTimeAfterTabChange > 0) {\n timerRef.current.start(remainingTimeAfterTabChange, totalTime);\n } else {\n timerRef.current.start(0, totalTime);\n timerRef.current.stop();\n }\n\n console.log('tab active');\n console.log('remainingTimeAfterTabChange', remainingTimeAfterTabChange);\n } else {\n timerRef.current.stop();\n console.log('tab inactive');\n }\n };\n\n document.addEventListener('visibilitychange', handleTabChange);\n return () => {\n document.removeEventListener('visibilitychange', handleTabChange);\n };\n }, [expiresAt]);\n\n useEffect(() => {\n timerRef.current.stop();\n timerRef.current.start(remainingTime, totalTime);\n\n return () => timerRef.current && timerRef.current.stop();\n }, [expiresAt]);\n\n const handleLogin = async args => {\n const { verificationCode: code = false } = args;\n\n if (typeof code === 'string' && code.length === 0) {\n setErrorMessage(t(Texts.BLANK_VERIFICATION_CODE));\n return;\n }\n\n if (code.length < 6) {\n setErrorMessage('');\n return;\n }\n\n try {\n const response = await handleEALogin(args);\n const { data: { error } } = response?.[0];\n if (error) {\n setErrorMessage(t(error));\n }\n } catch (e) {\n // TO DO handleError;\n }\n };\n\n return (\n
    \n

    {t(Texts.EMAIL_AUTHENTICATION)}

    \n {isForced && (\n
    \n \n

    \n {t(Texts.REACH_DAILY_LIMIT_FORCE_TO_EMAIL)}\n

    \n
    \n
    \n )}\n
    \n {translationRenderer(Texts.EMAIL_AUTHENTICATION_DESCRIPTION)({\n renderer1: () => {target}\n })}\n
    \n
    \n
    \n
    \n \n { errorMessage && (\n {errorMessage}\n )}\n {thereSocialError && (\n {thereErrorMessage.response.data.error}\n )}\n
    \n {\n handleLogin({ verificationCode, isSocialEA });\n if (typeof window.__accountSharingLogger === 'function') {\n window.__accountSharingLogger({ action: 'click', target: 'verifyButton' });\n }\n }}\n type=\"button\"\n >\n {t(Texts.VERIFY)}\n \n\n
    \n setTimerRunning(true)}\n stopCallback={() => setTimerRunning(false)}\n ref={timerRef}\n />\n

    \n {t(Texts.NO_CODE)}\n {\n handleLogin({ isSocialEA });\n if (typeof window.__accountSharingLogger === 'function') {\n window.__accountSharingLogger({ action: 'click', target: 'sendAgainButton' });\n }\n }}\n disabled={timerRunning ? 'disabled' : ''}\n >\n {t(Texts.SEND_AGAIN)}\n \n

    \n
    \n
    \n
    \n
    \n );\n};\n\nEmailAuthLogin.propTypes = {\n handleEALogin: func.isRequired,\n lastEAResponse: shape({\n emailAuthToken: shape({\n type: string,\n target: string,\n remaining_time: string,\n total_time: number,\n expires_at: number,\n isForced: bool\n })\n }).isRequired,\n thereSocialError: string,\n thereErrorMessage: string,\n isSocialEA: bool.isRequired\n};\n\nEmailAuthLogin.defaultProps = {\n thereSocialError: '',\n thereErrorMessage: ''\n};\n\nexport default EmailAuthLogin;\n","import React from 'react';\nimport {\n shape, bool, string, func\n} from 'prop-types';\nimport { t, translationRenderer } from '@jotforminc/translation';\nimport { Texts, twoFactorTypeKeys } from '@jotforminc/constants';\nimport { useTimeoutMessage } from '@jotforminc/hooks';\nimport { ErrorContainer } from '@jotforminc/two-factor-settings';\nimport {\n IconMessageFilled, IconKeyFilled, IconScanFilled, IconChevronLeft\n} from '@jotforminc/svg-icons';\nimport { isEnterprise } from '@jotforminc/enterprise-utils';\n\nconst TwoFactorMethods = ({\n handleTFALogin,\n lastTFAResponse: {\n token: {\n type\n },\n activeMethods\n },\n isSocialTFA,\n onNavigationChangeRequest\n}) => {\n const hasRecoveryMail = false;\n\n const typeMap = {\n phone: {\n typeCode: twoFactorTypeKeys.sms,\n icon: () => \n },\n totp: {\n typeCode: twoFactorTypeKeys.authenticatorApp,\n icon: () => \n }\n };\n\n const [errorMessage, setErrorMessage] = useTimeoutMessage(false);\n const handleLogin = async args => {\n try {\n const response = await handleTFALogin(args);\n const { error } = response[0]?.data;\n if (error) setErrorMessage(\"Login failed - You've reached the daily token request limit.\");\n } catch (e) {\n // TO DO handleError;\n }\n };\n\n const handleAccountRecoveryButton = () => {\n if (hasRecoveryMail) {\n onNavigationChangeRequest('accountRecoveryViewTicket');\n } else {\n onNavigationChangeRequest('recoverAccountPage');\n }\n };\n\n return (\n
    \n

    {t(Texts.VERIFY_ITS_YOU)}

    \n
    \n {t(Texts.CHOOSE_A_METHOD_DESCRIPTION)}\n
    \n
    \n
    \n
    \n {t(Texts.CHOOSE_A_METHOD)}\n
    \n
    \n {Object.entries(activeMethods).filter(([methodType]) => typeMap[methodType]?.typeCode !== type).map(([methodType, { data: target }]) => {\n const {\n typeCode,\n icon: Icon\n } = typeMap[methodType];\n\n return (\n handleLogin({ newType: typeCode, isSocialTFA, shouldNavigate: true })}\n type=\"button\"\n >\n \n \n { translationRenderer(Texts.SEND_CODE_TO[typeCode])({\n renderer1: () => {target}\n })}\n \n \n );\n })}\n handleTFALogin({ newType: 'recovery' })}\n type=\"button\"\n >\n \n \n {t(Texts.USE_YOUR_RECOVERY_CODES)}\n \n \n
    \n { errorMessage && (\n {t(errorMessage)}\n )}\n handleTFALogin({ newType: type, isSocialTFA })}\n >\n \n {t(Texts.BACK_TO_PRIMARY_METHOD)}\n \n
    \n {!isEnterprise() && (\n \n {t(Texts.CAN_NOT_ACCESS_MY_DEVICE)}\n \n )}\n
    \n
    \n
    \n );\n};\n\nTwoFactorMethods.propTypes = {\n handleTFALogin: func.isRequired,\n lastTFAResponse: shape({\n type: string.isRequired,\n activeMethods: shape({}).isRequired,\n token: shape({\n type: string.isRequired\n }).isRequired\n }).isRequired,\n isSocialTFA: bool.isRequired,\n onNavigationChangeRequest: func\n};\n\nTwoFactorMethods.defaultProps = {\n onNavigationChangeRequest: f => f\n};\n\nexport default TwoFactorMethods;\n","import React, { useEffect } from 'react';\nimport { shape, string, func } from 'prop-types';\nimport { Loading } from '@jotforminc/loading';\n\nconst SocialInit = ({\n socialInitData: {\n type,\n token,\n response = {}\n },\n socialLoginRequest,\n handle2FASocialLoginRequest,\n handleSocialEAResponse\n}) => {\n useEffect(() => {\n const { primaryMethod = '' } = response;\n if (primaryMethod && !response?.emailAuthToken) {\n handle2FASocialLoginRequest(response);\n } else if (response?.emailAuthToken) {\n handleSocialEAResponse(response, type);\n } else {\n socialLoginRequest(type, token);\n }\n }, []);\n\n return (\n
    \n \n
    \n );\n};\n\nSocialInit.propTypes = {\n socialInitData: shape({\n type: string.isRequired,\n token: string.isRequired,\n response: shape({}).isRequired\n }).isRequired,\n socialLoginRequest: func.isRequired,\n handle2FASocialLoginRequest: func,\n handleSocialEAResponse: func\n};\n\nSocialInit.defaultProps = {\n handle2FASocialLoginRequest: f => f,\n handleSocialEAResponse: f => f\n};\n\nexport default SocialInit;\n","export default class LoginError extends Error {\n constructor(errorType, loginType, message, originalError) {\n super();\n this.type = errorType; // Error errorType: network, jsonParse etc.\n this.loginType = loginType; // user|formUser\n this.message = message;\n this.originalError = originalError;\n }\n}\n","import React from 'react';\nimport { func, string } from 'prop-types';\n\nimport { Texts } from '@jotforminc/constants';\nimport { t, translationRenderer } from '@jotforminc/translation';\n\nimport { IconTrashExclamationFilled } from '@jotforminc/svg-icons';\n\nconst DeleteAccountModalStep1 = ({ handleStep, username }) => {\n return (\n
    \n
    \n
    \n
    \n \n
    \n
    \n

    {t(Texts.ARE_YOU_SURE_YOU_WANT_TO_DELETE_YOUR_ACCOUNT)}

    \n

    \n {' '}\n {t(Texts.YOU_ARE_ABOUT_TO_DELETE_YOUR_ACCOUNT_NAMELY)}\n {' '}\n {username}\n

    \n

    \n {translationRenderer(Texts.GET_IN_TOUCH_WITH_US)({\n renderer1: text => (\n {text}\n )\n })}\n

    \n
    \n
    \n \n \n
    \n
    \n );\n};\n\nDeleteAccountModalStep1.propTypes = {\n handleStep: func.isRequired,\n username: string.isRequired\n};\n\nexport default DeleteAccountModalStep1;\n","import React from 'react';\nimport {\n array, func, object\n} from 'prop-types';\n\nimport { t } from '@jotforminc/translation';\n\nimport AppleIcon from '../../assets/icon_ap_36.svg';\nimport FacebookIcon from '../../assets/icon_fb_36.svg';\nimport GoogleIcon from '../../assets/icon_gl_36.svg';\nimport MicrosoftIcon from '../../assets/icon_ms_36.svg';\nimport SalesforceIcon from '../../assets/icon_sf_36.svg';\n\nimport GoogleButton from '../GoogleButton';\nimport FacebookButton from '../FacebookButton';\nimport MicrosoftButton from '../MicrosoftButton';\nimport AppleButton from '../AppleButton';\nimport SalesforceButton from '../SalesforceButton';\n\nconst icons = {\n apple: AppleIcon,\n facebook: FacebookIcon,\n google: GoogleIcon,\n microsoft: MicrosoftIcon,\n salesforce: SalesforceIcon\n};\nconst buttons = {\n apple: AppleButton,\n facebook: FacebookButton,\n google: GoogleButton,\n microsoft: MicrosoftButton,\n salesforce: SalesforceButton\n};\n\nconst SocialsContainer = ({\n socialLogins,\n onAppleLoginClick,\n onFBLoginClick,\n onGoogleLoginClick,\n onMicrosoftLoginClick,\n onSalesforceLoginClick,\n user\n}) => {\n const callbacks = {\n apple: onAppleLoginClick,\n facebook: onFBLoginClick,\n google: onGoogleLoginClick,\n microsoft: onMicrosoftLoginClick,\n salesforce: onSalesforceLoginClick\n };\n\n const connectedAccounts = socialLogins.map(login => (Object.hasOwn(buttons, login) ? {\n Component: buttons[login], Icon: icons[login], callback: callbacks[login], key: login\n } : null));\n\n const { username, email, avatarUrl } = user.credentials;\n\n return (\n
    \n {connectedAccounts.map(({\n Component, Icon, callback, key\n }) => (\n
    \n
    \n \n
    \n

    {username}

    \n

    {email}

    \n
    \n
    \n }\n onClick={callback}\n key={key}\n />\n
    \n ))}\n
    \n );\n};\n\nSocialsContainer.propTypes = {\n socialLogins: array.isRequired,\n onAppleLoginClick: func,\n onFBLoginClick: func,\n onGoogleLoginClick: func,\n onMicrosoftLoginClick: func,\n onSalesforceLoginClick: func,\n user: object.isRequired\n};\n\nSocialsContainer.defaultProps = {\n onAppleLoginClick: () => {},\n onFBLoginClick: () => {},\n onGoogleLoginClick: () => {},\n onMicrosoftLoginClick: () => {},\n onSalesforceLoginClick: () => {}\n};\n\nexport default SocialsContainer;\n","import React from 'react';\n\nimport { t } from '@jotforminc/translation';\nimport { Texts } from '@jotforminc/constants';\n\nconst ModalHeader = () =>

    {t(Texts.VERIFY_THAT_ITS_YOU_TO_DELETE_YOUR_ACCOUNT)}

    ;\n\nexport default ModalHeader;\n","import { string } from 'prop-types';\nimport React from 'react';\n\nimport { t } from '@jotforminc/translation';\n\nimport { IconExclamationCircleFilled } from '@jotforminc/svg-icons';\n\nconst ErrorMessage = ({ text }) => {\n return (\n
    \n \n {' '}\n {t(text)}\n
    \n );\n};\n\nErrorMessage.propTypes = {\n text: string.isRequired\n};\n\nexport default ErrorMessage;\n","import React, { useState } from 'react';\nimport {\n array, bool, func, object\n} from 'prop-types';\n\nimport { t } from '@jotforminc/translation';\nimport { Texts } from '@jotforminc/constants';\n\nimport SocialsContainer from './SocialsContainer';\nimport ModalHeader from './ModalHeader';\n\nimport { verifyAndDelete } from '../../utils/helper';\nimport ErrorMessage from './ErrorMessage';\n\nconst DeleteAccountModalStep2 = ({\n socialLogins, onAppleLoginClick, onFBLoginClick, onGoogleLoginClick, onMicrosoftLoginClick, onSalesforceLoginClick, thereSocialError, user, handleStep\n}) => {\n const [isPasswordErrored, setIsPasswordErrored] = useState(false);\n const [password, setPassword] = useState('');\n\n const handleChange = e => {\n const { target: { value } } = e;\n setPassword(value);\n setIsPasswordErrored(false);\n };\n\n const handleDeleteAccount = async e => {\n e.preventDefault(); // no refresh after submit\n const { credentials: { username } } = user;\n\n if (password) {\n try {\n const result = await verifyAndDelete({ type: 'email', username, password });\n if (typeof result === 'object' && result.token) {\n setIsPasswordErrored(!result.status);\n } else { // TODO: remove this condition when api is merged\n setIsPasswordErrored(!result);\n }\n handleStep(3);\n } catch {\n setIsPasswordErrored(true);\n }\n }\n };\n\n return (\n
    \n \n {socialLogins.length > 0 && (\n <>\n \n {thereSocialError && (\n \n )}\n
    \n OR\n
    \n \n )}\n
    \n {t(Texts.PLEASE_ENTER_YOUR_PASSWORD)}\n
    \n \n {isPasswordErrored && (\n \n )}\n \n \n
    \n
    \n );\n};\n\nDeleteAccountModalStep2.propTypes = {\n socialLogins: array.isRequired,\n user: object.isRequired,\n onAppleLoginClick: func,\n onFBLoginClick: func,\n onGoogleLoginClick: func,\n onMicrosoftLoginClick: func,\n onSalesforceLoginClick: func,\n thereSocialError: bool,\n handleStep: func\n};\n\nDeleteAccountModalStep2.defaultProps = {\n onAppleLoginClick: () => {},\n onFBLoginClick: () => {},\n onGoogleLoginClick: () => {},\n onMicrosoftLoginClick: () => {},\n onSalesforceLoginClick: () => {},\n thereSocialError: false,\n handleStep: () => {}\n};\n\nexport default DeleteAccountModalStep2;\n","import React, { useState } from 'react';\nimport { string } from 'prop-types';\n\nimport { t } from '@jotforminc/translation';\nimport { Texts } from '@jotforminc/constants';\n\nimport { IconCheckCircleFilled } from '@jotforminc/svg-icons';\nimport ModalHeader from './ModalHeader';\n\nimport { verifyAndDelete } from '../../utils/helper';\n\nimport ErrorMessage from './ErrorMessage';\n\nconst DeleteAccountModalStep3 = ({ username }) => {\n const [isDeleteErrored, setIsDeleteErrored] = useState(false);\n\n const handleDelete = async () => {\n const result = await verifyAndDelete({ isDeleteVerified: 1, username });\n // TODO: remove 'result === true' check when api is merged\n if (result === true || (typeof result === 'object' && result.token)) {\n setIsDeleteErrored(false);\n window.location.href = '/login';\n } else {\n setIsDeleteErrored(true);\n }\n };\n\n return (\n
    \n \n
    \n \n \n {t(Texts.YOU_HAVE_VERIFIED_SUCCESSFULLY)}\n \n {isDeleteErrored && (\n \n )}\n \n
    \n
    \n );\n};\n\nDeleteAccountModalStep3.propTypes = {\n username: string.isRequired\n};\n\nexport default DeleteAccountModalStep3;\n","\n import API from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n \n import content, * as namedExport from \"!!../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[1]!../../../../../node_modules/.pnpm/postcss-loader@8.1.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__postcss@8.4.38_typescript@5.0.4__5lvnl7xmoydmkkvnqez3gfmijq/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[2]!../../../../../node_modules/.pnpm/sass-loader@14.2.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__sass-embedded@1.78.0_sass@1.75.0_w_m6gyofr5lgwlemccsvqwra2uoi/node_modules/sass-loader/dist/cjs.js!./verification-modal.scss\";\n \n \n\nvar options = {};\n\n;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[1]!../../../../../node_modules/.pnpm/postcss-loader@8.1.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__postcss@8.4.38_typescript@5.0.4__5lvnl7xmoydmkkvnqez3gfmijq/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[2]!../../../../../node_modules/.pnpm/sass-loader@14.2.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__sass-embedded@1.78.0_sass@1.75.0_w_m6gyofr5lgwlemccsvqwra2uoi/node_modules/sass-loader/dist/cjs.js!./verification-modal.scss\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n \n import content, * as namedExport from \"!!../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[1]!../../../../../node_modules/.pnpm/postcss-loader@8.1.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__postcss@8.4.38_typescript@5.0.4__5lvnl7xmoydmkkvnqez3gfmijq/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[2]!../../../../../node_modules/.pnpm/sass-loader@14.2.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__sass-embedded@1.78.0_sass@1.75.0_w_m6gyofr5lgwlemccsvqwra2uoi/node_modules/sass-loader/dist/cjs.js!./delete-my-account-modal.scss\";\n \n \n\nvar options = {};\n\n;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[1]!../../../../../node_modules/.pnpm/postcss-loader@8.1.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__postcss@8.4.38_typescript@5.0.4__5lvnl7xmoydmkkvnqez3gfmijq/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[2]!../../../../../node_modules/.pnpm/sass-loader@14.2.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__sass-embedded@1.78.0_sass@1.75.0_w_m6gyofr5lgwlemccsvqwra2uoi/node_modules/sass-loader/dist/cjs.js!./delete-my-account-modal.scss\";\n export default content && content.locals ? content.locals : undefined;\n","import React, { useState, useImperativeHandle } from 'react';\nimport {\n array, bool, func, object\n} from 'prop-types';\n\nimport DeleteAccountModalStep1 from './DeleteAccountModalStep1';\nimport DeleteAccountModalStep2 from './DeleteAccountModalStep2';\nimport DeleteAccountModalStep3 from './DeleteAccountModalStep3';\n\nimport '../../styles/verification-modal.scss';\nimport '../../styles/delete-my-account-modal.scss';\n\nconst DeleteAccountModal = React.forwardRef(({\n socialLogins, onAppleLoginClick, onFBLoginClick, onGoogleLoginClick, onMicrosoftLoginClick, onSalesforceLoginClick, thereSocialError, user, handleClose\n}, ref) => {\n const [step, setStep] = useState(1);\n\n const { credentials: { username } } = user;\n\n const handleStep = nextStep => {\n setStep(nextStep);\n if (nextStep === 0) {\n handleClose();\n }\n };\n\n useImperativeHandle(ref, () => (\n {\n handleStep\n }\n ));\n\n return (\n <>\n {step === 1 && (\n \n )}\n {step === 2 && (\n \n )}\n {step === 3 && (\n \n )}\n \n );\n});\n\nDeleteAccountModal.propTypes = {\n socialLogins: array,\n onAppleLoginClick: func,\n onFBLoginClick: func,\n onGoogleLoginClick: func,\n onMicrosoftLoginClick: func,\n onSalesforceLoginClick: func,\n thereSocialError: bool,\n user: object,\n handleClose: func\n};\n\nDeleteAccountModal.defaultProps = {\n socialLogins: [],\n onAppleLoginClick: () => {},\n onFBLoginClick: () => {},\n onGoogleLoginClick: () => {},\n onMicrosoftLoginClick: () => {},\n onSalesforceLoginClick: () => {},\n thereSocialError: false,\n user: {},\n handleClose: () => {}\n};\n\nexport default DeleteAccountModal;\n","import React, { Component } from 'react';\nimport { func } from 'prop-types';\nimport { t, translationRenderer } from '@jotforminc/translation';\nimport { Texts } from '@jotforminc/constants';\nimport { isEnterprise } from '@jotforminc/enterprise-utils';\n\nexport default class ResetSuccess extends Component {\n render() {\n const { onNavigationChangeRequest } = this.props;\n return (\n
    \n
    \n

    {t(Texts.CHECK_EMAIL)}

    \n
    \n
    \n

    {t(Texts.PASSWORD_RESET_SENT)}

    \n

    {t(Texts.CHECK_SPAM_FOLDER)}

    \n

    \n {isEnterprise() ? t(Texts.MORE_HELP_CONTACT_ENTERPRISE) : translationRenderer(Texts.MORE_HELP_CONTACT)({\n renderer1: str => {str}\n })}\n

    \n
    \n onNavigationChangeRequest('loginOptions')}\n type=\"button\"\n >\n {t(Texts.OK_TEXT)}\n \n
    \n
    \n
    \n );\n }\n}\n\nResetSuccess.propTypes = {\n onNavigationChangeRequest: func.isRequired\n};\n","\n import API from \"!../../../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js\";\n import insertFn from \"!../../../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n \n import content, * as namedExport from \"!!../../../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[1]!../../../../../../../node_modules/.pnpm/postcss-loader@8.1.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__postcss@8.4.38_typescript@5.0.4__5lvnl7xmoydmkkvnqez3gfmijq/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[2]!../../../../../../../node_modules/.pnpm/sass-loader@14.2.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__sass-embedded@1.78.0_sass@1.75.0_w_m6gyofr5lgwlemccsvqwra2uoi/node_modules/sass-loader/dist/cjs.js!./style.scss\";\n \n \n\nvar options = {};\n\n;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[1]!../../../../../../../node_modules/.pnpm/postcss-loader@8.1.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__postcss@8.4.38_typescript@5.0.4__5lvnl7xmoydmkkvnqez3gfmijq/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[2]!../../../../../../../node_modules/.pnpm/sass-loader@14.2.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__sass-embedded@1.78.0_sass@1.75.0_w_m6gyofr5lgwlemccsvqwra2uoi/node_modules/sass-loader/dist/cjs.js!./style.scss\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n \n import content, * as namedExport from \"!!../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[1]!../../../../../node_modules/.pnpm/postcss-loader@8.1.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__postcss@8.4.38_typescript@5.0.4__5lvnl7xmoydmkkvnqez3gfmijq/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[2]!../../../../../node_modules/.pnpm/sass-loader@14.2.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__sass-embedded@1.78.0_sass@1.75.0_w_m6gyofr5lgwlemccsvqwra2uoi/node_modules/sass-loader/dist/cjs.js!./social-terms-step.scss\";\n \n \n\nvar options = {};\n\n;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[1]!../../../../../node_modules/.pnpm/postcss-loader@8.1.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__postcss@8.4.38_typescript@5.0.4__5lvnl7xmoydmkkvnqez3gfmijq/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[2]!../../../../../node_modules/.pnpm/sass-loader@14.2.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__sass-embedded@1.78.0_sass@1.75.0_w_m6gyofr5lgwlemccsvqwra2uoi/node_modules/sass-loader/dist/cjs.js!./social-terms-step.scss\";\n export default content && content.locals ? content.locals : undefined;\n","import React, { useState } from 'react';\nimport { func, shape } from 'prop-types';\nimport { t } from '@jotforminc/translation';\n\nimport '../styles/social-terms-step.scss';\nimport { isTurkishLanguage } from '../utils/loginSignup';\nimport TermsAndConditionsUrls from './TermsAndConditionsUrls';\n\nconst SocialTermsStep = ({\n user,\n socialUserProfile,\n onSocialTermsContinue\n}) => {\n const [isTermsAgreed, setIsTermsAgreed] = useState(false);\n const [termsError, setTermsError] = useState(false);\n const { fullName, email, imageUrl } = socialUserProfile;\n const isTurkish = isTurkishLanguage(user);\n\n const handleContinue = async () => {\n if (isTermsAgreed) {\n onSocialTermsContinue(isTermsAgreed);\n } else {\n setTermsError(true);\n }\n };\n\n const handleCheckboxChange = ({ target: { checked = false } }) => {\n setIsTermsAgreed(checked);\n if (checked) {\n setTermsError(false);\n }\n };\n\n return (\n
    \n

    {t('Terms and Privacy')}

    \n
    \n
    \n
    \n {imageUrl && {fullName}}\n
    \n
    \n \n \n {t('Name')}\n :\n \n {fullName}\n \n \n \n {t('Email')}\n :\n \n {email}\n \n
    \n
    \n \n {termsError && {t('Please agree to continue.')}}\n
    \n
    \n \n
    \n
    \n );\n};\n\nSocialTermsStep.propTypes = {\n user: shape({}),\n socialUserProfile: shape({}),\n onSocialTermsContinue: func\n};\n\nSocialTermsStep.defaultProps = {\n user: {},\n socialUserProfile: {},\n onSocialTermsContinue: func\n};\n\nexport default SocialTermsStep;\n","\n import API from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n \n import content, * as namedExport from \"!!../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[1]!../../../../../node_modules/.pnpm/postcss-loader@8.1.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__postcss@8.4.38_typescript@5.0.4__5lvnl7xmoydmkkvnqez3gfmijq/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[2]!../../../../../node_modules/.pnpm/sass-loader@14.2.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__sass-embedded@1.78.0_sass@1.75.0_w_m6gyofr5lgwlemccsvqwra2uoi/node_modules/sass-loader/dist/cjs.js!./standalone-modal.scss\";\n \n \n\nvar options = {};\n\n;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[1]!../../../../../node_modules/.pnpm/postcss-loader@8.1.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__postcss@8.4.38_typescript@5.0.4__5lvnl7xmoydmkkvnqez3gfmijq/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[2]!../../../../../node_modules/.pnpm/sass-loader@14.2.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__sass-embedded@1.78.0_sass@1.75.0_w_m6gyofr5lgwlemccsvqwra2uoi/node_modules/sass-loader/dist/cjs.js!./standalone-modal.scss\";\n export default content && content.locals ? content.locals : undefined;\n","import React, { useRef } from 'react';\nimport { func } from 'prop-types';\nimport { Modal } from '@jotforminc/uikit';\nimport '../styles/standalone-modal.scss';\nimport SocialTermsStep from './SocialTermsStep';\n\nconst SocialTermsModal = ({\n removeModalFromDOM,\n onSocialTermsContinue,\n onSocialTermsClose,\n ...props\n}) => {\n const uikitModalRef = useRef(null);\n\n // eslint-disable-next-line react/prop-types\n const DialogRenderer = ({ children }) =>
    {children}
    ;\n\n // eslint-disable-next-line react/prop-types\n const ContentRenderer = ({ children }) => (\n
    \n {\n onSocialTermsClose();\n removeModalFromDOM();\n }}\n />\n {children}\n
    \n );\n\n const handleSocialTermsContinue = isTermsAgreed => {\n onSocialTermsContinue(isTermsAgreed);\n if (isTermsAgreed) {\n removeModalFromDOM();\n }\n };\n\n return (\n \n \n \n );\n};\n\nSocialTermsModal.propTypes = {\n onSocialTermsClose: func,\n removeModalFromDOM: func.isRequired,\n onSocialTermsContinue: func.isRequired\n};\n\nSocialTermsModal.defaultProps = {\n onSocialTermsClose: f => f\n};\n\nexport default SocialTermsModal;\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport SocialTermsModal from '../components/SocialTermsModal';\n\nconst ROOT_ID = 'terms-modal-root';\n\nconst createRootEl = () => {\n const rootEl = document.createElement('div');\n rootEl.setAttribute('id', ROOT_ID);\n\n document.body.appendChild(rootEl);\n return rootEl;\n};\n\nconst getRootEl = () => {\n const termsModalRoot = document.querySelector(`#${ROOT_ID}`);\n if (termsModalRoot) {\n return termsModalRoot;\n }\n return createRootEl(ROOT_ID);\n};\n\nconst removeModalFromDOM = () => {\n const termsModalRoot = getRootEl();\n if (termsModalRoot) {\n ReactDOM.unmountComponentAtNode(termsModalRoot);\n }\n};\n\nconst renderStandaloneSocialTermsModal = props => {\n const rootEl = getRootEl();\n ReactDOM.render(\n ,\n rootEl\n );\n};\n\nexport default renderStandaloneSocialTermsModal;\n","import React, { useRef } from 'react';\nimport { func } from 'prop-types';\nimport { Modal } from '@jotforminc/uikit';\nimport '../styles/standalone-modal.scss';\nimport EmailAuthLogin from './EmailAuthLogin';\n\nconst EmailAuthLoginModal = ({\n removeModalFromDOM,\n ...props\n}) => {\n const uikitModalRef = useRef(null);\n\n // eslint-disable-next-line react/prop-types\n const DialogRenderer = ({ children }) =>
    {children}
    ;\n\n // eslint-disable-next-line react/prop-types\n const ContentRenderer = ({ children }) => (\n
    \n {\n if (typeof window.__accountSharingLogger === 'function') {\n window.__accountSharingLogger({ action: 'click', target: 'closeButton' });\n }\n removeModalFromDOM();\n }}\n />\n {children}\n
    \n );\n\n return (\n \n \n \n );\n};\n\nEmailAuthLoginModal.propTypes = {\n removeModalFromDOM: func.isRequired\n};\n\nexport default EmailAuthLoginModal;\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport EmailAuthLoginModal from '../components/EmailAuthLoginModal';\n\nconst ROOT_ID = 'email-auth-root';\n\nconst createRootEl = () => {\n const rootEl = document.createElement('div');\n rootEl.setAttribute('id', ROOT_ID);\n\n document.body.appendChild(rootEl);\n return rootEl;\n};\n\nconst getRootEl = () => {\n const emailAuthRoot = document.querySelector(`#${ROOT_ID}`);\n if (emailAuthRoot) {\n return emailAuthRoot;\n }\n return createRootEl(ROOT_ID);\n};\n\nconst removeModalFromDOM = () => {\n const emailAuthRoot = getRootEl();\n if (emailAuthRoot) {\n ReactDOM.unmountComponentAtNode(emailAuthRoot);\n }\n};\n\nconst renderStandaloneEmailAuthModal = props => {\n const rootEl = getRootEl();\n ReactDOM.render(\n ,\n rootEl\n );\n};\n\nexport default renderStandaloneEmailAuthModal;\n","import React, { useState } from 'react';\nimport {\n array, bool, func, object\n} from 'prop-types';\n\nimport { t } from '@jotforminc/translation';\nimport { Texts } from '@jotforminc/constants';\n\nimport { verifyUser } from '../../utils/helper';\nimport SocialsContainer from '../DeleteAccountModal/SocialsContainer';\nimport ErrorMessage from '../DeleteAccountModal/ErrorMessage';\n\nconst Verification = ({\n socialLogins, onAppleLoginClick, onFBLoginClick, onGoogleLoginClick, onMicrosoftLoginClick, onSalesforceLoginClick, thereSocialError, user, handleVerification\n}) => {\n const [isPasswordErrored, setIsPasswordErrored] = useState(false);\n const [password, setPassword] = useState('');\n const [isPending, setIsPending] = useState(false);\n\n const handleChange = e => {\n const { target: { value } } = e;\n setPassword(value);\n setIsPasswordErrored(false);\n };\n\n const handleVerifyAccount = async e => {\n e.preventDefault(); // no refresh after submit\n if (!password) return;\n const { credentials: { username } } = user;\n\n setIsPending(true);\n try {\n const result = await verifyUser({ type: 'email', username, password });\n const isResultWithToken = (typeof result === 'object') && result.token;\n if (result === true || isResultWithToken) {\n setIsPasswordErrored(false);\n handleVerification();\n // TODO if (isResultWithToken) set token and remove 'result === true' check\n } else {\n setIsPasswordErrored(false);\n }\n } catch {\n setIsPasswordErrored(true);\n } finally {\n setIsPending(false);\n }\n };\n\n const handleVerifyButtonKeyDown = e => {\n if ([' ', 'Enter'].includes(e.key)) {\n handleVerifyAccount(e);\n }\n };\n\n return (\n
    \n {socialLogins.length > 0 && (\n <>\n \n {thereSocialError && (\n \n )}\n
    \n OR\n
    \n \n )}\n
    \n \n
    \n \n {isPasswordErrored && (\n \n )}\n \n
    \n {/* TODO: Move below html inside the form tags and update the common ui file: verification-mnodal.scss */}\n
    \n \n {t('VERIFY')}\n \n
    \n
    \n );\n};\n\nVerification.propTypes = {\n socialLogins: array.isRequired,\n user: object.isRequired,\n onAppleLoginClick: func,\n onFBLoginClick: func,\n onGoogleLoginClick: func,\n onMicrosoftLoginClick: func,\n onSalesforceLoginClick: func,\n thereSocialError: bool,\n handleVerification: func\n};\n\nVerification.defaultProps = {\n onAppleLoginClick: () => {},\n onFBLoginClick: () => {},\n onGoogleLoginClick: () => {},\n onMicrosoftLoginClick: () => {},\n onSalesforceLoginClick: () => {},\n thereSocialError: false,\n handleVerification: () => {}\n};\n\nexport default Verification;\n","import React, { useImperativeHandle } from 'react';\nimport {\n array, bool, func, elementType, object, shape\n} from 'prop-types';\n\nimport '../../styles/verification-modal.scss';\nimport Verification from './Verification';\n\nconst VerifyAccountModal = React.forwardRef(({\n socialLogins, onAppleLoginClick, onFBLoginClick, onGoogleLoginClick, onMicrosoftLoginClick, onSalesforceLoginClick, thereSocialError,\n user, AfterVerificationComponent, BeforeVerificationComponent, VerificationWrapper, isVerified, setIsVerified\n}, ref) => {\n const approveVerification = () => setIsVerified(true);\n\n useImperativeHandle(ref, () => (\n {\n approveVerification\n }\n ));\n\n const VerificationStep = () => (VerificationWrapper\n ? (\n \n \n \n )\n : (\n \n ));\n\n if (BeforeVerificationComponent) return ;\n\n return (\n <>{!isVerified ? : }\n );\n});\n\nVerifyAccountModal.propTypes = {\n socialLogins: array,\n onAppleLoginClick: func,\n onFBLoginClick: func,\n onGoogleLoginClick: func,\n onMicrosoftLoginClick: func,\n onSalesforceLoginClick: func,\n thereSocialError: bool,\n user: object,\n AfterVerificationComponent: elementType.isRequired,\n BeforeVerificationComponent: elementType,\n VerificationWrapper: shape({\n Component: elementType,\n props: shape({})\n }),\n isVerified: bool,\n setIsVerified: func\n};\n\nVerifyAccountModal.defaultProps = {\n socialLogins: [],\n onAppleLoginClick: () => {},\n onFBLoginClick: () => {},\n onGoogleLoginClick: () => {},\n onMicrosoftLoginClick: () => {},\n onSalesforceLoginClick: () => {},\n thereSocialError: false,\n user: {},\n BeforeVerificationComponent: null,\n VerificationWrapper: null,\n isVerified: false,\n setIsVerified: f => f\n};\n\nexport default VerifyAccountModal;\n","\n import API from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n \n import content, * as namedExport from \"!!../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[1]!../../../../../node_modules/.pnpm/postcss-loader@8.1.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__postcss@8.4.38_typescript@5.0.4__5lvnl7xmoydmkkvnqez3gfmijq/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[2]!../../../../../node_modules/.pnpm/sass-loader@14.2.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__sass-embedded@1.78.0_sass@1.75.0_w_m6gyofr5lgwlemccsvqwra2uoi/node_modules/sass-loader/dist/cjs.js!./unusual-signup.scss\";\n \n \n\nvar options = {};\n\n;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[1]!../../../../../node_modules/.pnpm/postcss-loader@8.1.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__postcss@8.4.38_typescript@5.0.4__5lvnl7xmoydmkkvnqez3gfmijq/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[2]!../../../../../node_modules/.pnpm/sass-loader@14.2.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__sass-embedded@1.78.0_sass@1.75.0_w_m6gyofr5lgwlemccsvqwra2uoi/node_modules/sass-loader/dist/cjs.js!./unusual-signup.scss\";\n export default content && content.locals ? content.locals : undefined;\n","import React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { IconCheckCircle, IconExclamationCircleFilled, IconFlagFilled } from '@jotforminc/svg-icons';\nimport { t, translationRenderer } from '@jotforminc/translation';\nimport { getUrlParameter } from '@jotforminc/utils';\nimport layer from '../../utils/layer';\n\nimport {\n RECEIVED_RESPONSE,\n CONTINUE,\n KEEP_ACCOUNT,\n NOT_CREATE_THIS_ACCOUNT, REPORT_ACCOUNT, REPORT_UNUSUAL_SIGNUP, THANKS_FOR_REPORTING, ERROR_MESSAGE\n} from '../../constants';\n\nimport '../../styles/unusual-signup.scss';\n\nconst UnusualSignup = ({\n unusualSignupCode, unusualSignupToken, changeActiveMode\n}) => {\n const [option, setOption] = useState('');\n const [isReported, setIsReported] = useState(false);\n const [error, setError] = useState(false);\n\n const handleClick = async () => {\n if (option === 'keep') {\n const isLoggedIn = !!window.user && window.user?.account_type?.name !== 'GUEST';\n return !isLoggedIn ? changeActiveMode('fullScreen') : window.location.replace('/myforms');\n }\n layer.post('user/change-email-unusual-account', new URLSearchParams({\n code: unusualSignupCode,\n token: unusualSignupToken\n }))\n .then(result => {\n if (typeof result === 'object' && result?.responseCode !== 200) {\n throw new Error(result?.content || result?.message);\n }\n\n setIsReported(true);\n }).catch(err => {\n setError(true);\n console.log(err);\n });\n };\n\n const handleChange = e => {\n setOption(e.target.value);\n };\n\n useEffect(() => {\n document.body.classList.add('hide-overflow');\n document.title = 'Report Unusual Signup · Jotform';\n\n return () => {\n document.body.classList.remove('hide-overflow');\n document.title = 'Login · Jotform';\n };\n }, []);\n\n return (\n
    \n
    \n
    \n
    \n

    {t(REPORT_UNUSUAL_SIGNUP)}

    \n
    \n
    \n
    \n {isReported ? (\n
    \n \n
    \n ) : (\n
    \n \n
    \n )}\n

    \n {t(isReported ? RECEIVED_RESPONSE : REPORT_UNUSUAL_SIGNUP)}\n

    \n

    \n {isReported ? (\n translationRenderer(THANKS_FOR_REPORTING)({\n renderer1: () => {getUrlParameter('username')},\n renderer2: text => (\n \n {text}\n \n )\n })\n ) : (\n translationRenderer(NOT_CREATE_THIS_ACCOUNT)({\n renderer1: () => {getUrlParameter('username')}\n })\n )}\n

    \n
    \n {!isReported && (\n <>\n
    \n
    \n
    \n );\n};\n\nUnusualSignup.propTypes = {\n unusualSignupCode: PropTypes.string.isRequired,\n unusualSignupToken: PropTypes.string.isRequired,\n changeActiveMode: PropTypes.func.isRequired\n};\n\nexport default UnusualSignup;\n","\n import API from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/.pnpm/style-loader@3.3.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n \n import content, * as namedExport from \"!!../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[1]!../../../../../node_modules/.pnpm/postcss-loader@8.1.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__postcss@8.4.38_typescript@5.0.4__5lvnl7xmoydmkkvnqez3gfmijq/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[2]!../../../../../node_modules/.pnpm/sass-loader@14.2.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__sass-embedded@1.78.0_sass@1.75.0_w_m6gyofr5lgwlemccsvqwra2uoi/node_modules/sass-loader/dist/cjs.js!./signup-with-social-opts.scss\";\n \n \n\nvar options = {};\n\n;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.91.0_@swc+core@1.7.6_@swc+helpers@0.5.12__/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[1]!../../../../../node_modules/.pnpm/postcss-loader@8.1.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__postcss@8.4.38_typescript@5.0.4__5lvnl7xmoydmkkvnqez3gfmijq/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[3].use[2]!../../../../../node_modules/.pnpm/sass-loader@14.2.1_@rspack+core@1.1.0_@swc+helpers@0.5.12__sass-embedded@1.78.0_sass@1.75.0_w_m6gyofr5lgwlemccsvqwra2uoi/node_modules/sass-loader/dist/cjs.js!./signup-with-social-opts.scss\";\n export default content && content.locals ? content.locals : undefined;\n","/* eslint-disable max-statements */\n/* eslint-disable complexity */\nimport React, {\n useCallback, useEffect, useRef, useState\n} from 'react';\nimport PropTypes from 'prop-types';\nimport cx from 'classnames';\nimport isEmpty from 'lodash/isEmpty';\nimport ReCAPTCHA from 'react-google-recaptcha';\nimport { t, translationRenderer } from '@jotforminc/translation';\nimport { Texts } from '@jotforminc/constants';\nimport { IconChevronLeft, IconExclamationCircleFilled } from '@jotforminc/svg-icons';\nimport { isEnterprise } from '@jotforminc/enterprise-utils';\nimport { listenEnter, validateEmail } from '@jotforminc/utils';\nimport { getEnterpriseLogo } from '@jotforminc/request-layer';\n\nimport '../styles/signup-with-social-opts.scss';\nimport '../styles/style.scss';\n\nimport {\n BACK,\n CONTINUE,\n CONTINUE_SIGNUP,\n CREATE_ACCOUNT,\n DESCRIPTION_MESSAGE,\n EMAIL,\n EMAIL_ADDRESS,\n ENTER_EMAIL_ADDRESS,\n ENTER_FULL_NAME,\n OR,\n OR_SIGN_UP_WITH,\n SIGNING_UP_WITH,\n SIGN_UP_WITH,\n TITLE_MESSAGE,\n errorMessages\n} from '../constants';\nimport RenderSocialButtons from './SocialButtons';\nimport Password from './Password';\nimport TermsAndConditionsUrls from './TermsAndConditionsUrls';\nimport { isTurkishLanguage } from '../utils/loginSignup';\nimport {\n dispatchAction,\n formUserCreate,\n formUserPretendCreate,\n isEmailEligibleForRegister,\n registerNewUser\n} from '../api';\nimport { openOFACModal } from './OFACModal';\nimport { errorNormalizer } from '../utils/helper';\n\nconst SignupWithSocialOpts = ({\n onAppleLoginClick,\n onMicrosoftLoginClick,\n onFBLoginClick,\n onSalesforceLoginClick,\n onGoogleLoginClick,\n onNavigationChangeRequest,\n user,\n isHIPAA,\n enforceHIPAARuleSet,\n includeConfirm,\n appName,\n buttonNames,\n signupPredefinedEmail,\n forceUser,\n verificationHash,\n ofacModalRef,\n onLoginSuccess,\n shrinkConfirmOnMobile,\n shrinkConfirmHeight,\n disableEmail,\n changeActiveScreen,\n builderShowSlides,\n productType,\n redirectURL,\n initiator,\n showLogoOnSignupOptions,\n enterpriseLogo,\n hideGreetingMessageOnSignupOptions,\n greetingMessage,\n greetingDescription,\n logoSource,\n thereSocialError,\n thereErrorMessage,\n // A/B Test: signupOnboardingIV\n isOnboardingFlow,\n isOnboardingTestVariantReversed\n}) => {\n const isEnterpriseEnv = isEnterprise();\n const isTurkish = isTurkishLanguage(user);\n const termsRef = useRef();\n const nameRef = useRef();\n const passwordRef = useRef();\n const emailInputRef = useRef();\n const captchaRef = useRef();\n let invalidFieldRefs = {};\n\n const [step, setStep] = useState('initial');\n const [isAgreedTerms, setIsAgreedTerms] = useState(false);\n const [termsError, setTermsError] = useState('');\n const [securePasswordErrors, setSecurePasswordErrors] = useState([]);\n const [passwordError, setPasswordError] = useState('');\n const [confirmPasswordError, setConfirmPasswordError] = useState('');\n const [emailErrorMsg, setEmailErrorMsg] = useState('');\n const [nameErrorMsg, setNameErrorMsg] = useState('');\n const [signupErrorMsg, setSignupErrorMsg] = useState('');\n const [emailIsLoading, setEmailIsLoading] = useState(false);\n const [signupIsLoading, setSignupIsLoading] = useState(false);\n\n let openerEmail = '';\n let openerName = '';\n\n try {\n openerEmail = window.opener?.signUpDefaultEmail;\n openerName = window.opener?.signUpDefaultName;\n } catch (error) {\n // eslint-disable-next-line no-console\n console.log('CORS', error);\n }\n\n const [email, setEmail] = useState(signupPredefinedEmail || openerEmail || '');\n const [name, setName] = useState(openerName || '');\n const [screenHeight] = useState(window.innerHeight);\n const [showRecaptcha, setShowRecaptcha] = useState(false);\n const [recaptcha, setRecaptcha] = useState(null);\n const invalidFieldFocusOrder = ['name', 'password', 'terms'];\n\n const enterpriseEnv = isEnterprise();\n\n const jfLogoSource = logoSource || 'https://cdn.jotfor.ms/assets/img/v4/logo-branding21.png';\n const jfLogo = enterpriseEnv ? getEnterpriseLogo() : jfLogoSource;\n\n // A/B Test: signupOnboardingIV\n useEffect(() => {\n if (isOnboardingFlow && window.innerWidth > 480) {\n emailInputRef?.current?.focus?.();\n } else {\n emailInputRef?.current?.blur?.();\n }\n }, [isOnboardingFlow]);\n\n const resetPasswordErrors = () => {\n setSecurePasswordErrors([]);\n setPasswordError('');\n };\n\n const handleChangeTerms = () => {\n setIsAgreedTerms(!isAgreedTerms);\n setTermsError((termsError && !isAgreedTerms) ? '' : termsError);\n };\n\n const focusFirstInvalidField = () => {\n let firstInvalidFieldByOrder = '';\n invalidFieldFocusOrder.forEach(fieldName => {\n if (!firstInvalidFieldByOrder && invalidFieldRefs[fieldName]) {\n firstInvalidFieldByOrder = fieldName;\n }\n });\n\n if (firstInvalidFieldByOrder && firstInvalidFieldByOrder === 'password') {\n invalidFieldRefs.password.current.inputRef.current.focus();\n } else if (firstInvalidFieldByOrder) {\n invalidFieldRefs[firstInvalidFieldByOrder]?.current?.focus();\n }\n\n invalidFieldRefs = {};\n };\n\n const handleSignupFormValidations = useCallback(async () => {\n if (nameErrorMsg) {\n invalidFieldRefs.name = nameRef;\n }\n\n if (!isEnterpriseEnv && !isAgreedTerms) {\n invalidFieldRefs.terms = termsRef;\n setTermsError(errorMessages.termsRequired);\n }\n\n const { isValid, password } = await passwordRef.current.validate();\n if (!isValid) {\n invalidFieldRefs.password = passwordRef;\n }\n\n focusFirstInvalidField();\n\n return { isValid, password };\n });\n\n const handleValidateEmail = async () => {\n if (!email) {\n return setEmailErrorMsg(errorMessages.required);\n }\n\n if (!validateEmail(email)) {\n return setEmailErrorMsg(errorMessages.validEmail);\n }\n\n try {\n setEmailIsLoading(true);\n\n const response = await isEmailEligibleForRegister({ email, verificationHash });\n\n if (response.status === 200) {\n setStep('fields');\n }\n } catch (error) {\n if (error?.message === \"Sorry, you can't signup from this country.\") {\n if (appName === 'formBuilder' && typeof builderShowSlides === 'function') {\n builderShowSlides(false);\n }\n\n return changeActiveScreen('ofacModal');\n }\n\n setEmailErrorMsg(error?.message);\n } finally {\n setEmailIsLoading(false);\n }\n };\n\n const forceUserSignup = async (password, recaptchaHash) => {\n const defaultButtonName = appName ? `emailSignup-${appName}` : '';\n const buttonName = buttonNames.emailSignup ? buttonNames.emailSignup : defaultButtonName;\n\n try {\n const response = await registerNewUser({\n email,\n password,\n name,\n isAgreedTerms: isAgreedTerms ? '1' : '0',\n buttonName,\n refApp: appName,\n recaptcha: recaptchaHash\n });\n\n response.data.newUser = true;\n onLoginSuccess(response, true);\n setSignupIsLoading(false);\n } catch (error) {\n if (captchaRef) {\n captchaRef.current?.reset();\n }\n\n if (error?.message === \"Sorry, you can't signup from this country.\") {\n return openOFACModal(ofacModalRef, email);\n }\n\n const passwordWarning = error?.message?.includes('PasswordWarning::');\n if (passwordWarning || error?.cause === 'password') {\n passwordRef?.current?.focus();\n return setPasswordError(passwordWarning ? error?.message?.replace('PasswordWarning::', '') : error?.message);\n }\n\n if (error?.message === 'REQUIRE_CAPTCHA') {\n dispatchAction({\n actor: window?.user?.username || window?.__formInfo?.username || 'unknown',\n target: 'swso',\n action: 'captcha-required'\n });\n return setShowRecaptcha(true);\n }\n\n setSignupErrorMsg(error?.message);\n } finally {\n setSignupIsLoading(false);\n }\n };\n\n // User is already created, just need to set their password with this.\n const formUserPretendSignup = async password => {\n try {\n const response = await formUserPretendCreate({\n email,\n password,\n name,\n isAgreedTerms: isAgreedTerms ? '1' : '0',\n verificationHash,\n isHIPAA: isHIPAA ? '1' : ''\n });\n\n onLoginSuccess(response);\n } catch (error) {\n if (error?.message === \"Sorry, you can't signup from this country.\") {\n return openOFACModal(ofacModalRef, email);\n }\n\n if (error?.message?.includes('Name')) {\n nameRef?.current?.focus();\n return setNameErrorMsg(error?.message);\n }\n\n setSignupErrorMsg(error?.message);\n } finally {\n setSignupIsLoading(false);\n }\n };\n\n const formUserSignup = async password => {\n try {\n const response = await formUserCreate({\n email,\n password,\n name,\n isAgreedTerms: isAgreedTerms ? '1' : '0',\n initiator,\n redirectURL,\n appName,\n sendVerification: productType === 'form' ? '1' : '0'\n });\n\n const { content: createdUser } = response;\n\n if (window?.JFAppsManager?.isOpenedInPortal()) {\n window.JFAppsManager.userChanged(createdUser);\n }\n\n onLoginSuccess(response);\n } catch (error) {\n if (error?.message === \"Sorry, you can't signup from this country.\") {\n return openOFACModal(ofacModalRef, email);\n }\n\n setSignupErrorMsg(error?.message);\n } finally {\n setSignupIsLoading(false);\n }\n };\n\n const handleEmailSignup = async () => {\n setSignupIsLoading(true);\n setSignupErrorMsg('');\n setNameErrorMsg('');\n\n const { isValid: isPasswordValid, password } = await handleSignupFormValidations();\n\n if (!isPasswordValid || !isAgreedTerms || !isEmpty(securePasswordErrors) || confirmPasswordError) {\n return setSignupIsLoading(false);\n }\n\n if (forceUser) {\n return forceUserSignup(password, recaptcha);\n }\n\n if (signupPredefinedEmail && verificationHash) {\n return formUserPretendSignup(password);\n }\n\n return formUserSignup(password);\n };\n\n const handleSubmitCaptcha = hash => {\n if (!hash) {\n dispatchAction({\n actor: window?.user?.username || window?.__formInfo?.username || 'unknown',\n target: 'swso',\n action: 'captcha-expired'\n });\n return setSignupIsLoading(false);\n }\n\n dispatchAction({\n actor: window?.user?.username || window?.__formInfo?.username || 'unknown',\n target: 'swso',\n action: 'captcha-passed'\n });\n\n setRecaptcha(hash);\n };\n\n const handleSignupFormKeypress = event => {\n if (event.key === 'Enter' && step === 'fields') {\n handleEmailSignup();\n }\n\n if (event.key !== 'Enter' && step === 'initial') {\n setEmailErrorMsg();\n }\n };\n\n useEffect(() => {\n if (name && nameErrorMsg) {\n setNameErrorMsg('');\n }\n }, [name, nameErrorMsg]);\n\n useEffect(() => {\n window.addEventListener('keydown', handleSignupFormKeypress);\n\n return () => window.removeEventListener('keydown', handleSignupFormKeypress);\n }, [step, termsError, isAgreedTerms]);\n\n return (\n \n {showLogoOnSignupOptions && step !== 'fields' && \"Logo\"}\n {!enterpriseEnv && !hideGreetingMessageOnSignupOptions && step !== 'fields' && (

    {t(greetingMessage)}

    )}\n {!!greetingDescription && step !== 'fields' && (

    {t(greetingDescription)}

    )}\n {step === 'initial' && (\n
    \n
    \n {!isOnboardingFlow &&

    {t(SIGN_UP_WITH)}

    }\n
    \n \n
    \n {thereSocialError && (\n
    \n \n {t(errorNormalizer(thereErrorMessage))}\n
    \n )}\n
    \n
    \n {t(!isOnboardingFlow ? OR : OR_SIGN_UP_WITH)}\n
    \n
    \n
    \n \n listenEnter(e, handleValidateEmail)}\n onChange={e => setEmail(e.target.value)}\n className={emailErrorMsg && 'input-error'}\n placeholder={isOnboardingFlow ? t(ENTER_EMAIL_ADDRESS) : ''}\n />\n {emailErrorMsg && (\n
    \n \n {t(emailErrorMsg)}\n
    \n )}\n
    \n handleValidateEmail()}\n >\n {emailIsLoading && (\n \n
    \n {t('Loading')}\n ...\n \n )}\n {!emailIsLoading && t(!isOnboardingFlow ? CONTINUE : 'Continue with Email')}\n \n {!isOnboardingFlow && (\n
    \n {t(Texts.ALREADY_HAVE_ACCOUNT)}\n {' '}\n onNavigationChangeRequest('loginOptions')}\n id=\"login-link\"\n >\n {t(Texts.LOGIN_TEXT)}\n \n
    \n )}\n
    \n
    \n )}\n {step === 'fields' && (\n <>\n
    \n \n
    \n
    \n

    {t(CONTINUE_SIGNUP)}

    \n

    \n {translationRenderer(SIGNING_UP_WITH)({\n renderer1: () => (\n \n {email}\n \n )\n })}\n

    \n
    \n
    \n \n setName(e.target.value)}\n className={nameErrorMsg && 'input-error'}\n placeholder={isOnboardingFlow ? t(ENTER_FULL_NAME) : ''}\n />\n {nameErrorMsg && (\n
    \n {t(nameErrorMsg)}\n
    \n )}\n
    \n
    \n setSecurePasswordErrors(errorCodes)}\n callbackConfirmPassError={confirmPassErrorCode => setConfirmPasswordError(confirmPassErrorCode)}\n checkReuse={false}\n includeConfirm={includeConfirm && !(shrinkConfirmOnMobile && screenHeight < shrinkConfirmHeight)}\n />\n
    \n {!isEnterpriseEnv && (\n
    \n
    \n handleChangeTerms()}\n disabled={signupIsLoading}\n aria-label={isEnterpriseEnv && !isAgreedTerms ? t(Texts.AGREE_TERMS_CONDITIONS) : null}\n />\n }\n />\n
    \n
    \n {termsError ? t(termsError) : null}\n
    \n
    \n )}\n {signupErrorMsg && (\n
    \n \n {t(signupErrorMsg)}\n
    \n )}\n {showRecaptcha && (\n
    \n handleSubmitCaptcha(hash)}\n />\n
    \n )}\n handleEmailSignup()}\n >\n {signupIsLoading && (\n \n
    \n {t('Loading')}\n ...\n \n )}\n {!signupIsLoading && (!isOnboardingFlow ? t(Texts.SIGN_UP) : t(CREATE_ACCOUNT))}\n \n {!isOnboardingFlow && (\n
    \n {t(Texts.ALREADY_HAVE_ACCOUNT)}\n {' '}\n onNavigationChangeRequest('loginOptions')}\n id=\"login-link\"\n >\n {t(Texts.LOGIN_TEXT)}\n \n
    \n )}\n
    \n
    \n \n )}\n
    \n );\n};\n\nSignupWithSocialOpts.propTypes = {\n onNavigationChangeRequest: PropTypes.func.isRequired,\n user: PropTypes.shape(),\n isHIPAA: PropTypes.bool,\n enforceHIPAARuleSet: PropTypes.bool,\n includeConfirm: PropTypes.bool,\n shrinkConfirmOnMobile: PropTypes.bool,\n shrinkConfirmHeight: PropTypes.number,\n onAppleLoginClick: PropTypes.func.isRequired,\n onMicrosoftLoginClick: PropTypes.func.isRequired,\n onFBLoginClick: PropTypes.func.isRequired,\n onSalesforceLoginClick: PropTypes.func.isRequired,\n onGoogleLoginClick: PropTypes.func.isRequired,\n onLoginSuccess: PropTypes.func.isRequired,\n changeActiveScreen: PropTypes.func.isRequired,\n builderShowSlides: PropTypes.func,\n verificationHash: PropTypes.string,\n signupPredefinedEmail: PropTypes.string,\n ofacModalRef: PropTypes.object,\n buttonNames: PropTypes.shape({\n google: PropTypes.string,\n facebook: PropTypes.string,\n apple: PropTypes.string,\n microsoft: PropTypes.string,\n emailLogin: PropTypes.string,\n emailSignup: PropTypes.string\n }),\n appName: PropTypes.string,\n productType: PropTypes.string,\n redirectURL: PropTypes.string,\n forceUser: PropTypes.bool,\n disableEmail: PropTypes.bool,\n showLogoOnSignupOptions: PropTypes.bool,\n enterpriseLogo: PropTypes.string,\n hideGreetingMessageOnSignupOptions: PropTypes.bool,\n greetingMessage: PropTypes.string,\n greetingDescription: PropTypes.string,\n logoSource: PropTypes.string,\n thereSocialError: PropTypes.bool,\n thereErrorMessage: PropTypes.string,\n isOnboardingFlow: PropTypes.bool,\n initiator: PropTypes.string,\n isOnboardingTestVariantReversed: PropTypes.bool\n};\n\nSignupWithSocialOpts.defaultProps = {\n user: null,\n isHIPAA: false,\n enforceHIPAARuleSet: false,\n includeConfirm: false,\n shrinkConfirmOnMobile: false,\n shrinkConfirmHeight: 750,\n verificationHash: '',\n signupPredefinedEmail: '',\n ofacModalRef: {},\n buttonNames: {},\n appName: '',\n productType: '',\n redirectURL: '',\n forceUser: false,\n disableEmail: false,\n builderShowSlides: f => f,\n showLogoOnSignupOptions: false,\n enterpriseLogo: null,\n hideGreetingMessageOnSignupOptions: false,\n greetingMessage: TITLE_MESSAGE,\n greetingDescription: DESCRIPTION_MESSAGE,\n logoSource: '',\n thereSocialError: false,\n thereErrorMessage: errorMessages.tryAgain,\n isOnboardingFlow: false,\n initiator: '',\n isOnboardingTestVariantReversed: false\n};\n\nexport default SignupWithSocialOpts;\n","import {\n bool, func, shape, string\n} from 'prop-types';\nimport React from 'react';\n\nimport { Texts } from '@jotforminc/constants';\nimport { t } from '@jotforminc/translation';\nimport { IconChevronLeft } from '@jotforminc/svg-icons';\nimport ErrorAlert from './ErrorAlert';\n\nconst RecoverAccountPage = ({\n onNavigationChangeRequest,\n handle2FARecoverAccount,\n tfaAccountRecoveryProps\n}) => {\n const { isLoading, isErrored, errorMessage } = tfaAccountRecoveryProps;\n\n const handleRecoverButtonClick = () => {\n handle2FARecoverAccount();\n };\n\n return (\n
    \n
    \n
    \n

    {t(Texts.RECOVER_ACCOUNT_TEXT)}

    \n
    \n
    \n \n {isLoading ? (\n t(Texts.SENDING)\n ) : (\n t(Texts.RECOVER_YOUR_ACCOUNT)\n )}\n \n {(isErrored && errorMessage) && }\n
    \n
    \n onNavigationChangeRequest('twoFactorLogin')}\n >\n
    \n \n \n {t(Texts.BACK_TO_LOGIN)}\n \n
    \n \n
    \n
    \n );\n};\n\nexport default RecoverAccountPage;\n\nRecoverAccountPage.propTypes = {\n onNavigationChangeRequest: func,\n handle2FARecoverAccount: func,\n tfaAccountRecoveryProps: shape({\n isErrored: bool,\n isLoading: bool,\n errorMessage: string\n })\n};\n\nRecoverAccountPage.defaultProps = {\n onNavigationChangeRequest: f => f,\n handle2FARecoverAccount: f => f,\n tfaAccountRecoveryProps: {\n isErrored: false,\n isLoading: false,\n errorMessage: ''\n }\n};\n","import { Texts } from '@jotforminc/constants';\nimport { t } from '@jotforminc/translation';\nimport { shape, string } from 'prop-types';\nimport React from 'react';\n\nconst RecoverAccountNotification = ({\n tfaAccountRecoveryProps\n}) => {\n const { email } = tfaAccountRecoveryProps;\n\n return (\n
    \n
    \n
    \n

    {t(Texts.VERIFICATION_EMAIL_SENT_TO)}

    \n {email}\n
    \n

    {t(Texts.RECOVER_ACCOUNT_EMAIL_INFO_TEXT)}

    \n

    {t(Texts.RECOVER_ACCOUNT_NOTIFICATION_TEXT)}

    \n
    \n
    \n );\n};\n\nexport default RecoverAccountNotification;\n\nRecoverAccountNotification.propTypes = {\n tfaAccountRecoveryProps: shape({\n email: string\n })\n};\n\nRecoverAccountNotification.defaultProps = {\n tfaAccountRecoveryProps: {\n email: ''\n }\n};\n","import { func, shape, string } from 'prop-types';\nimport React from 'react';\n\nimport { t } from '@jotforminc/translation';\nimport { Texts } from '@jotforminc/constants';\nimport { IconChevronLeft } from '@jotforminc/svg-icons';\nimport { handleCustomNavigation } from '@jotforminc/utils';\n\nconst AccountRecoveryViewTicket = ({\n onNavigationChangeRequest, tfaAccountRecoveryProps\n}) => {\n const { ticket } = tfaAccountRecoveryProps;\n const handleViewTicket = () => {\n handleCustomNavigation(ticket, '_blank', true);\n };\n\n return (\n
    \n
    \n
    \n

    {t(Texts.RECOVER_ACCOUNT_MAIL_HAS_BEEN_SENT)}

    \n
    \n \n {t(Texts.VIEW_SUPPORT_TICKET)}\n \n\n
    \n onNavigationChangeRequest('twoFactorLogin')}\n >\n
    \n \n \n {t(Texts.BACK_TO_LOGIN)}\n \n
    \n \n
    \n
    \n );\n};\n\nexport default AccountRecoveryViewTicket;\n\nAccountRecoveryViewTicket.propTypes = {\n onNavigationChangeRequest: func,\n tfaAccountRecoveryProps: shape({\n ticket: string\n })\n};\n\nAccountRecoveryViewTicket.defaultProps = {\n onNavigationChangeRequest: f => f,\n tfaAccountRecoveryProps: {\n ticket: ''\n }\n};\n","/* eslint-disable max-lines,react/sort-comp */\n/* global HTMLElement */\nimport React from 'react';\nimport {\n shape,\n bool,\n string,\n func,\n oneOf,\n node,\n arrayOf,\n number,\n element,\n elementType,\n oneOfType,\n object\n} from 'prop-types';\nimport ReactDOM from 'react-dom';\nimport Axios from 'axios';\nimport qs from 'querystring';\nimport isEmpty from 'lodash/isEmpty';\nimport omit from 'lodash/omit';\nimport { Dialog } from '@jotforminc/dialog';\nimport { Portal } from '@jotforminc/uikit';\nimport { Texts } from '@jotforminc/constants';\nimport {\n createFormData,\n loadJS,\n getPossibleTimeZone,\n initGoogleSignin,\n initFBSignin,\n initAppleSignin,\n initMicrosoftSignin,\n initSalesforceSignin,\n randomString,\n getUrlParameter,\n classNames,\n handleCustomNavigation\n} from '@jotforminc/utils';\nimport { t } from '@jotforminc/translation';\nimport { isEnterprise } from '@jotforminc/enterprise-utils';\n\nimport SignupOptions from './SignupOptions';\nimport SignupWithEmail from './SignupWithEmail';\nimport LoginOptions from './LoginOptions';\nimport SSOOptions from './SSOOptions';\nimport ForgotPassword from './ForgotPassword';\nimport TwoFactorLogin from './TwoFactorLogin';\nimport EmailAuthLogin from './EmailAuthLogin';\nimport TwoFactorMethods from './TwoFactorMethods';\nimport SocialInit from './SocialInit';\nimport LoginError from './LoginError';\nimport DeleteAccountModal from './DeleteAccountModal';\nimport CloseWithCircleSVG from '../temporary-duplicate/assets/svg/closeWithCircle.svg';\nimport ResetSuccess from './ResetSuccess';\nimport '../styles/style.scss';\nimport '../temporary-duplicate/styles/SaveAndContinueLater/style.scss';\nimport {\n forceUserSocialLogin,\n handleLoginHelper,\n getScreenResolution,\n handleSignupCompletedEvents,\n createGoogleOneTapContainerEl,\n hideGoogleOneTapContainerEl\n} from '../utils/loginSignup';\nimport SocialTermsStep from './SocialTermsStep';\nimport renderStandaloneSocialTermsModal from '../utils/renderStandaloneSocialTermsModal';\nimport renderStandaloneEmailAuthModal from '../utils/renderStandaloneEmailAuthModal';\nimport { preLoginCheck, verifyAndDelete, verifyUser } from '../utils/helper';\nimport VerifyAccountModal from './VerifyAccountModal';\nimport { OFACModal, openOFACModal } from './OFACModal';\nimport UnusualSignup from './UnusualSignup';\nimport SignupWithSocialOpts from './SignupWithSocialOpts';\nimport RecoverAccountPage from './RecoverAccountPage';\nimport RecoverAccountNotification from './RecoverAccountNotification';\nimport AccountRecoveryViewTicket from './AccountRecoveryViewTicket';\nimport {\n send2FAAccountRecoveryEmail,\n getUserSSOStatus\n} from '../api';\n\nexport default class LoginFlow extends React.Component {\n constructor(props) {\n super(props);\n\n const {\n user, initialScreen, forceLogin, enableGoogleOneTap, mode\n } = props;\n\n this.isLoggedIn = !!user;\n\n this.state = {\n activeScreenKey: forceLogin ? 'loginOptions' : initialScreen,\n thereSocialError: false,\n lastLoginCredentials: { username: '', password: '' },\n lastTFAResponse: {},\n lastEAResponse: {},\n tfaMethod: '',\n lastSocialLoginToken: '',\n lastSocialLoginType: '',\n isSocialTFA: false,\n isSocialEA: false, // social email authentication\n thereErrorMessage: {},\n showThankyouModal: true,\n socialUserProfile: {},\n socialLoginVerificationHash: '',\n // SignupOptions social buttons\n isMsSignupTestEnabled: false,\n isMsSignupControlVariant: false, // Enables facebook option\n isMsSignupTestBVariant: true, // Enables microsoft option\n isMsSignupTestCVariant: false, // Enables both microsoft & facebook option\n isSwsoTestVariant: false,\n areSocialButtonsLoading: false,\n idToken: '',\n mode: mode,\n externalErrorMessage: '',\n tfaAccountRecoveryProps: {\n errorMessage: '', email: '', isErrored: false, isLoading: false\n }\n };\n\n this.activeComponentRef = React.createRef(null); // either delete modal or verify modal ref\n this.portalRef = React.createRef(null);\n this.ofacModalRef = React.createRef();\n this.handleSocialTFAResponse = this.handleSocialTFAResponse.bind(this);\n this.handleSocialEAResponse = this.handleSocialEAResponse.bind(this);\n this.handleTFAResponse = this.handleTFAResponse.bind(this);\n this.handleTFALogin = this.handleTFALogin.bind(this);\n this.handleEALogin = this.handleEALogin.bind(this);\n this.handleAppleSuccess = this.handleAppleSuccess.bind(this);\n this.handleDeleteAccount = this.handleDeleteAccount.bind(this);\n this.handle2FASocialLoginRequest = this.handle2FASocialLoginRequest.bind(this);\n this.nonce = randomString(32);\n loadJS('facebook-jssdk', 'https://connect.facebook.net/en_US/sdk.js');\n loadJS('google-jssdk-new', 'https://accounts.google.com/gsi/client');\n loadJS('apple-jssdk', 'https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js');\n loadJS('microsoft-jssdk', 'https://cdn.jotfor.ms/js/msal/msal-browser.js');\n\n if (enableGoogleOneTap) loadJS('googleOneTap', 'https://accounts.google.com/gsi/client', this.initializeGoogleOneTap);\n\n this.checkQueryParamsForNavigationChange();\n\n // accountSharing A/B Test\n this.initAccountSharingActions();\n }\n\n initActionRecorder = () => {\n window.actionRecorder = window.JotFormActions('LoginFlow');\n };\n\n loadJotformActions = () => {\n if (window.JotFormActions) {\n this.initActionRecorder();\n return;\n }\n const s = global.document.createElement('script');\n s.onload = () => {\n this.initActionRecorder();\n };\n s.src = '//js.jotform.com/actions.js';\n global.document.head.appendChild(s);\n };\n\n // A/B Test: microsoftSignup\n componentDidMount() {\n this.loadJotformActions();\n const {\n showUnusualSignupFlow, unusualSignupCode, unusualSignupToken, initialScreen, swsoTestVariant\n } = this.props;\n\n if (showUnusualSignupFlow && !isEmpty(unusualSignupCode) && !isEmpty(unusualSignupToken)) {\n this.setState({\n mode: 'unusual-signup'\n });\n }\n\n if (initialScreen === 'signupWithSocialOpts' || swsoTestVariant) {\n this.setState({\n isSwsoTestVariant: true\n });\n }\n\n if (isEnterprise()) {\n this.handlePreLoginCheck();\n }\n }\n\n componentWillUnmount() {\n if (this.clearError) {\n clearTimeout(this.clearError);\n }\n }\n\n // Handle Pre Login Check Function\n handlePreLoginCheck = async () => {\n try {\n const result = await preLoginCheck();\n if (result?.preLogin) {\n const cleanResult = omit(result, ['preLogin']);\n const { primaryMethod = '' } = cleanResult;\n this.setState({\n lastTFAResponse: cleanResult,\n isSocialTFA: false,\n tfaMethod: primaryMethod\n });\n this.handleNavigationChangeRequest('twoFactorLogin');\n }\n } catch (error) {\n this.setState({\n externalErrorMessage: error.message\n });\n }\n };\n\n setExternalErrorMessage = message => {\n this.setState({\n externalErrorMessage: message\n });\n };\n\n // todo: remove the method after the test ends\n initAccountSharingActions = () => {\n if (window.JotFormActions && !window.__accountSharingActions) {\n window.__accountSharingActions = window.JotFormActions('accountSharing');\n }\n window.__accountSharingLogger = ({ action, target }) => {\n if (window.JOTFORM_ENV !== 'PRODUCTION') return;\n const { user: userProp } = this.props;\n const actor = userProp?.username || window.user?.username;\n window.__accountSharingActions?.tick({ actor, action, target });\n };\n };\n\n checkQueryParamsForNavigationChange = () => {\n const queryParams = new URLSearchParams(window.location.search);\n const view = queryParams.get('view');\n\n if (view === 'forgotPassword') {\n this.handleNavigationChangeRequest('forgotPassword');\n }\n };\n\n handleGoogleOnetapResponse = googleUser => {\n const token = googleUser.credential;\n const { socialUserProfile: currentProfile } = this.state;\n this.setState({\n socialUserProfile: {\n token,\n ...currentProfile,\n type: 'googleOneTap'\n },\n socialLoginVerificationHash: ''\n }, () => this.socialLoginRequest('googleOneTap', token, undefined, undefined, true));\n };\n\n initializeGoogleOneTap = () => {\n if (typeof window.GOOGLE_SIGNON === 'undefined') {\n return true;\n }\n\n if (typeof window.JOTFORM_ENV === 'undefined' || window.JOTFORM_ENV === 'ENTERPRISE' || window.JOTFORM_ENV === 'TESTING' || window.JOTFORM_ENV === 'DEVELOPMENT') {\n return true;\n }\n\n if (window.userData && window.userData.account_type && window.userData.account_type.name !== 'GUEST') {\n return true;\n }\n\n if (document.querySelector('.removeAuthButtons')) {\n return true;\n }\n\n createGoogleOneTapContainerEl();\n\n window.google.accounts.id.initialize({\n client_id: window.GOOGLE_SIGNON,\n cancel_on_tap_outside: false,\n prompt_parent_id: 'oneTapLoginArea',\n callback: this.handleGoogleOnetapResponse,\n state_cookie_domain: 'jotform.com'\n });\n window.google.accounts.id.prompt(notification => {\n if (notification.isNotDisplayed() || notification.isSkippedMoment()) {\n console.log('GoogleOnetap Skipped', notification.getNotDisplayedReason());\n }\n });\n };\n\n handleSocialTermsRequired = ({ socialLoginHash, socialUserProfile, idToken }) => {\n const { socialUserProfile: currentProfile } = this.state;\n this.setState({\n socialLoginVerificationHash: socialLoginHash,\n socialUserProfile: { ...currentProfile, ...socialUserProfile },\n idToken\n }, () => this.showTermsStep());\n };\n\n handleSocialTermsModalClose = () => {\n this.setState({\n socialLoginVerificationHash: '',\n socialUserProfile: {}\n });\n };\n\n showTermsStep = () => {\n const { user, showSocialTermsStepAsModal } = this.props;\n const { socialUserProfile, socialUserProfile: { type, isFormUser = false } } = this.state;\n hideGoogleOneTapContainerEl();\n if (showSocialTermsStepAsModal || type === 'googleOneTap' || isFormUser) {\n renderStandaloneSocialTermsModal({\n user,\n socialUserProfile,\n onSocialTermsContinue: this.handleSocialTermsContinue,\n onSocialTermsClose: this.handleSocialTermsModalClose\n });\n } else {\n this.handleNavigationChangeRequest('socialTermsStep');\n }\n };\n\n handleSocialTermsContinue = isTermsAgreed => {\n const { socialUserProfile: { type, token } } = this.state;\n if (isTermsAgreed) {\n this.socialLoginRequest(type, token);\n }\n };\n\n /**\n * Fires when the user suceeds logging in through a single sign on\n * using SAML.\n * @param {object} response response holding user data.\n */\n handleSSOLoginSuccess = response => {\n preLoginCheck().then(preLoginResponse => {\n const { preLogin: hasMFA, primaryMethod = '' } = preLoginResponse;\n if (hasMFA) {\n // If user has multi factor authantication, proceed to that.\n this.setState({\n lastTFAResponse: preLoginResponse,\n isSocialTFA: false,\n tfaMethod: primaryMethod\n });\n this.handleNavigationChangeRequest('twoFactorLogin');\n } else {\n this.handleLoginSuccess(response);\n }\n });\n };\n\n handleSSOLoginFail = message => {\n // TODO: request UI text review and add translation\n const errorMessage = message ?? 'An error occured in single sign on process';\n this.setExternalErrorMessage(errorMessage);\n };\n\n handleAppleSuccess = ({\n user: {\n email,\n name: {\n firstName = '',\n lastName = ''\n } = {}\n } = {},\n authorization: {\n code,\n id_token: idToken\n }\n }) => {\n const {\n actionLogger, apiURL, appName, buttonNames\n } = this.props;\n if (actionLogger) {\n actionLogger({\n target: 'appleLogin'\n });\n }\n\n const defaultButtonName = appName ? `apple-${appName}` : '';\n const buttonName = buttonNames.apple ? buttonNames.apple : defaultButtonName;\n\n const { isSocialLoginForDeleteMyAccountFlow, isSocialLoginForVerification } = this.props;\n\n if (isSocialLoginForDeleteMyAccountFlow || isSocialLoginForVerification) {\n const token = JSON.stringify({ authorizationCode: code, identityToken: idToken, realNonce: this.nonce });\n const verifierFunction = isSocialLoginForDeleteMyAccountFlow ? this.handleDeleteAccount : this.handleVerifyAccount;\n verifierFunction('apple', token);\n return;\n }\n\n Axios.post(`${apiURL}/login/apple`, qs.stringify({\n authorizationCode: code,\n nonce: this.nonce,\n identityToken: idToken,\n name: `${firstName} ${lastName}`,\n email,\n language: global.navigator.language,\n timezone: getPossibleTimeZone(),\n screen_resolution: getScreenResolution(),\n location: global.location.pathname,\n button_name: buttonName,\n ref_app: appName\n }), {\n withCredentials: true,\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded'\n }\n })\n .then(response => {\n const {\n data: {\n responseCode, success, message, content = {}, duration\n }\n } = response;\n const isLogEnabled = getUrlParameter('logAppleLogin');\n\n if (isLogEnabled === '1') {\n console.log(response);\n }\n\n if (!success || responseCode !== 200) {\n throw new Error(message);\n }\n if (content?.isNewUser) {\n handleSignupCompletedEvents(undefined, 'apple');\n }\n const { primaryMethod = '' } = content;\n\n if (primaryMethod) {\n this.handle2FASocialLoginRequest({ ...content, duration: duration, success: success });\n return;\n }\n this.handleLoginSuccess(response);\n })\n .catch(error => {\n const { response: { data: { error: message = '' } = {} } = {}, message: errorMsg = '' } = error;\n if (message === \"Sorry, you can't signup from this country.\" || errorMsg === \"Sorry, you can't signup from this country.\") {\n openOFACModal(this.ofacModalRef, email);\n }\n\n if (message === 'Your account has been suspended.' || errorMsg === 'Your account has been suspended.') {\n return handleCustomNavigation('/account-suspended', '_self', true);\n }\n\n console.error('--Couldn\\'t login', error);\n this.handleSocialErrorChange(error);\n });\n };\n\n handleGoogleSuccess = googleUser => {\n const { code: token = '' } = googleUser || {};\n const { actionLogger } = this.props;\n const { socialUserProfile: currentProfile } = this.state;\n if (googleUser && token) {\n if (actionLogger) {\n actionLogger({\n target: 'googleLogin'\n });\n }\n this.setState({\n socialUserProfile: {\n token,\n type: 'google',\n ...currentProfile\n },\n socialLoginVerificationHash: ''\n }, () => this.socialLoginRequest('google', token));\n } else {\n this.handleSocialErrorChange(true);\n }\n };\n\n handleFacebookSuccess = ({ status, authResponse }) => {\n const { socialUserProfile: currentProfile } = this.state;\n const { accessToken: token = '' } = authResponse || {};\n if (status === 'connected' && authResponse && token) {\n const { actionLogger } = this.props;\n if (actionLogger) {\n actionLogger({\n target: 'facebookLogin'\n });\n }\n this.setState({\n socialUserProfile: {\n token,\n type: 'facebook',\n ...currentProfile\n },\n socialLoginVerificationHash: ''\n }, () => this.socialLoginRequest('facebook', token));\n } else {\n this.handleSocialErrorChange(true);\n }\n };\n\n handleMicrosoftSuccess = authResponse => {\n const { socialUserProfile: currentProfile } = this.state;\n const { accessToken = '', idToken = '' } = authResponse || {};\n if (authResponse && accessToken && idToken) {\n const multipleTokens = JSON.stringify({ idToken, accessToken });\n const { actionLogger } = this.props;\n if (actionLogger) {\n actionLogger({\n target: 'microsoftLogin'\n });\n }\n this.setState({\n socialUserProfile: {\n token: multipleTokens,\n type: 'microsoft',\n ...currentProfile\n },\n socialLoginVerificationHash: ''\n }, () => this.socialLoginRequest('microsoft', multipleTokens));\n } else {\n this.handleSocialErrorChange(true);\n }\n };\n\n handleSalesforceSuccess = authResponse => {\n const { socialUserProfile: currentProfile } = this.state;\n const { code = '', token = '' } = authResponse || {};\n if (authResponse && code && token) {\n const multipleTokens = JSON.stringify({ code, token });\n const { actionLogger } = this.props;\n if (actionLogger) {\n actionLogger({\n target: 'salesforceLogin'\n });\n }\n this.setState({\n socialUserProfile: {\n token: multipleTokens,\n type: 'salesforce',\n ...currentProfile\n },\n socialLoginVerificationHash: ''\n }, () => this.socialLoginRequest('salesforce', multipleTokens));\n } else {\n this.handleSocialErrorChange(true);\n }\n };\n\n handleGoogleFail = error => {\n this.handleSocialErrorChange(true);\n // eslint-disable-next-line no-console\n console.log('failure', error);\n };\n\n handleDeleteAccount = async (type, token) => {\n const { user } = this.props;\n\n const { credentials: { username } } = user;\n // All providers have their own error state management that's why there are nested control blocks\n try {\n const result = await verifyAndDelete({\n type, token, username\n });\n if (result === true || (typeof result === 'object' && result.token)) {\n this.activeComponentRef.current.handleStep(3);\n } else {\n this.setState({\n thereSocialError: true\n });\n }\n } catch (e) {\n this.setState({\n thereSocialError: true\n });\n }\n };\n\n handleVerifyAccount = async (type, token) => {\n const { user } = this.props;\n\n const { credentials: { username } } = user;\n // All providers have their own error state management that's why there are nested control blocks\n try {\n const result = await verifyUser({\n type, token, username\n });\n const isResultWithToken = (typeof result === 'object') && result.token;\n if (result === true || isResultWithToken) {\n this.activeComponentRef.current.approveVerification();\n // TODO if (isResultWithToken && isSocialLoginForVerification) {\n // set token\n // }\n } else {\n this.setState({\n thereSocialError: true\n });\n }\n } catch (e) {\n this.setState({\n thereSocialError: true\n });\n }\n };\n\n handle2FASocialLoginRequest = response => {\n const { primaryMethod = '' } = response;\n this.setState({\n lastTFAResponse: response,\n isSocialTFA: false,\n tfaMethod: primaryMethod\n });\n this.handleNavigationChangeRequest('twoFactorLogin');\n };\n\n socialLoginRequest = async (type, token, tfaVerificationCode, tfaMethod, eaVerificationCode) => {\n const { idToken } = this.state;\n this.setState({ lastSocialLoginType: type, lastSocialLoginToken: token });\n const {\n apiURL, forceUser, isSocialLoginForDeleteMyAccountFlow, appName, buttonNames, isSocialLoginForVerification, initiator\n } = this.props;\n\n if (isSocialLoginForDeleteMyAccountFlow || isSocialLoginForVerification) {\n const verifierFunction = isSocialLoginForDeleteMyAccountFlow ? this.handleDeleteAccount : this.handleVerifyAccount;\n verifierFunction(type, token);\n return;\n }\n const newGoogleFlow = type === 'google' ? 1 : 0;\n\n const { socialLoginVerificationHash } = this.state;\n const enableSocialTerms = true;\n const authToken = idToken || token;\n if (forceUser) {\n // continue via request-server\n // since the api does not have\n // the functionality of claimGuestAccount\n forceUserSocialLogin(\n type,\n authToken,\n this.handleLoginSuccess,\n this.handleSocialErrorChange,\n appName,\n this.handleSocialTFAResponse,\n tfaVerificationCode,\n tfaMethod,\n buttonNames,\n socialLoginVerificationHash,\n this.handleSocialTermsRequired,\n enableSocialTerms,\n this.handleSocialEAResponse,\n eaVerificationCode,\n newGoogleFlow,\n this.ofacModalRef\n );\n return;\n }\n\n const isGoogle = type === 'google';\n\n Axios.post(`${apiURL}/formuser/login/${type === 'googleOneTap' ? 'google' : type}`, qs.stringify({\n token: authToken,\n checkSocialLogin: true,\n ...(initiator && { initiator }),\n ...(isGoogle && { newGoogleFlow }),\n ...(isGoogle && { redirectUri: window.location.host }),\n ...(socialLoginVerificationHash && { socialLoginHash: socialLoginVerificationHash })\n }), {\n withCredentials: true,\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded'\n }\n })\n .then(({ data: resp }) => {\n const {\n responseCode,\n message,\n content: {\n email, imageUrl, fullName, socialLoginHash, idToken: jwtToken\n }\n } = resp;\n\n if (responseCode !== 200) {\n throw new Error(message);\n }\n\n if (socialLoginHash) {\n this.handleSocialTermsRequired({\n socialLoginHash,\n socialUserProfile: {\n email,\n imageUrl,\n fullName,\n isFormUser: true\n },\n idToken: jwtToken\n });\n return { data: false };\n }\n return { data: resp };\n })\n .then(({ data: resp }) => {\n if (resp) {\n this.handleLoginSuccess(resp);\n }\n })\n .catch(error => {\n const { response: { data: { error: message = '' } = {} } = {}, message: errorMsg = '' } = error;\n if (message === \"Sorry, you can't signup from this country.\" || errorMsg === \"Sorry, you can't signup from this country.\") {\n openOFACModal(this.ofacModalRef);\n }\n\n if (message === 'Your account has been suspended.' || errorMsg === 'Your account has been suspended.') {\n return handleCustomNavigation('/account-suspended', '_self', true);\n }\n\n console.error('--Couldn\\'t login', error);\n this.handleSocialErrorChange(error);\n });\n };\n\n regularLoginRequest = async (username, password, _appName, _recaptcha, tfaToken, tfaTokenType, _buttonNames, eaToken, rememberDevice) => {\n const { apiURL } = this.props;\n const userLoginRequest = () => {\n return Axios.post(`${apiURL}/user/login`,\n createFormData({\n username,\n password,\n rememberDevice,\n ...(tfaToken && { token: tfaToken }),\n ...(eaToken && { eaToken: eaToken }),\n ...(tfaToken && { tokenType: tfaTokenType }),\n ...(!tfaToken && { eat: '1' }) // email auth parameter\n }), {\n withCredentials: true,\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded'\n }\n });\n };\n\n const formUserLoginRequest = () => {\n const { appName } = this.props;\n return Axios.post(`${apiURL}/formuser/login`, createFormData({\n email: username,\n password,\n ref_app: appName\n }), {\n withCredentials: true,\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded'\n }\n });\n };\n\n const handleConnectionFailure = error => {\n throw new LoginError('Network', null, 'An error occured: Please check your internet connection', error);\n };\n\n const parseResponse = async response => {\n const requestURL = response?.config?.url || '';\n const loginType = /formuser/.test(requestURL) ? 'formUser' : 'user';\n return { loginType, response: response.data };\n };\n\n let loginResponse;\n let tfaResponse = false;\n let requestError;\n const failedResponses = [];\n\n const loginRequests = tfaToken ? [userLoginRequest(username, password)] : [userLoginRequest(username, password), formUserLoginRequest(username, password)];\n await Promise.all(loginRequests.map(loginPromise => loginPromise.catch(handleConnectionFailure).then(parseResponse)))\n .then(responses => {\n responses.forEach(({ response, loginType }) => {\n const { responseCode = 500, message = '' } = response;\n if (responseCode === 200) {\n tfaResponse = response?.content?.primaryMethod || false;\n loginResponse = response;\n } else {\n failedResponses.push({\n loginType,\n message\n });\n }\n });\n })\n .catch(error => {\n if (!(error instanceof LoginError)) throw error;\n const { type } = error;\n if (['Network', 'jsonParse'].includes(type)) {\n requestError = error;\n }\n });\n\n // if (loginResponse?.emailAuthToken) return [false, loginResponse, false, true]; // email authentication\n\n if (loginResponse) {\n if (tfaResponse) {\n return [false, loginResponse, true, false]; // 2fa\n }\n return [true, loginResponse];\n }\n\n let userRequestError;\n let formUserRequestError;\n failedResponses.forEach(({ loginType, message }) => {\n if (loginType === 'formUser') {\n formUserRequestError = { message };\n } else if (!/You're not authorized to use/.test(message)) {\n userRequestError = { message };\n }\n });\n\n return [false, requestError || userRequestError || formUserRequestError];\n };\n\n handleLogin = (username, password, recaptcha, tfaToken, tfaTokenType, eaToken, rememberDevice, isRecovery) => {\n const {\n forceUser, appName, shouldCallNavigate, buttonNames\n } = this.props;\n const {\n regularLoginRequest, handleNavigationChangeRequest, handleLoginSuccess, handleTFAResponse, handleEAResponse\n } = this;\n return handleLoginHelper({\n username,\n password,\n tfaToken,\n tfaTokenType,\n forceUser,\n regularLoginRequest,\n handleNavigationChangeRequest,\n handleLoginSuccess,\n appName,\n recaptcha,\n shouldCallNavigate,\n handleTFAResponse,\n buttonNames,\n eaToken,\n handleEAResponse,\n rememberDevice,\n isRecovery\n });\n };\n\n handleLoginSuccess = (response = {}) => {\n const {\n content: user,\n data: { user: userData, newUser } = {},\n responseCode\n } = response;\n const {\n forceUser,\n onUserLogin,\n shouldCallNavigate,\n baseApp\n } = this.props;\n const { actionLogger } = this.props;\n if (actionLogger) {\n actionLogger({\n target: 'loginWithEmail'\n });\n }\n\n if (forceUser) {\n // be in mind that social logins dont return user\n onUserLogin(user || userData || false, { newUser });\n if (baseApp === 'form-encryption') {\n this.handleNavigationChangeRequest('verifyAccount');\n }\n } else if (responseCode === 200) {\n this.isLoggedIn = true;\n\n const { primaryMethod = '' } = user;\n if (primaryMethod) {\n this.handle2FASocialLoginRequest(user);\n return;\n }\n\n if (window?.JFAppsManager?.isOpenedInPortal()) {\n window.JFAppsManager.userChanged(user);\n }\n\n if (shouldCallNavigate) {\n this.handleNavigationChangeRequest('epilogue');\n }\n\n if (window.JFFormUserHelper) {\n window.JFFormUserHelper.setUser(user);\n }\n\n onUserLogin(user, { newUser });\n }\n };\n\n handleSalesforceLoginClick = () => {\n const { onSalesforceLoginClick } = this.props;\n\n const salesforceLogin = initSalesforceSignin();\n if (!salesforceLogin) return;\n salesforceLogin.then(this.handleSalesforceSuccess);\n\n onSalesforceLoginClick();\n };\n\n handleGoogleLoginClick = () => {\n const { onGoogleLoginClick } = this.props;\n const client = initGoogleSignin(this.handleGoogleSuccess);\n if (client) {\n client.requestCode();\n }\n\n onGoogleLoginClick();\n };\n\n handleAppleLoginClick = () => {\n const { onAppleLoginClick } = this.props;\n\n const appleSignin = initAppleSignin(this.nonce);\n if (appleSignin) appleSignin.then(this.handleAppleSuccess);\n\n onAppleLoginClick();\n };\n\n handleFBLoginClick = () => {\n const { onFBLoginClick } = this.props;\n\n const fbLogin = initFBSignin();\n if (!fbLogin) return;\n fbLogin(this.handleFacebookSuccess, { scope: 'public_profile,email' });\n\n onFBLoginClick();\n };\n\n handleMicrosoftLoginClick = () => {\n const { onMicrosoftLoginClick } = this.props;\n\n const microsoftLogin = initMicrosoftSignin();\n if (!microsoftLogin) return;\n microsoftLogin.then(this.handleMicrosoftSuccess);\n\n onMicrosoftLoginClick();\n };\n\n handleNavigationChangeRequest = nextRoute => {\n const isScreenExists = this.getActiveScreen(nextRoute);\n if (!isScreenExists) return;\n\n const { onNavigationChange } = this.props;\n\n this.setState({\n activeScreenKey: nextRoute,\n thereSocialError: false\n }, () => {\n onNavigationChange(nextRoute);\n });\n };\n\n handleSocialErrorChange = status => {\n this.setState({\n thereSocialError: !!status,\n thereErrorMessage: status\n }, () => {\n this.clearError = setTimeout(() => {\n this.setState({\n thereSocialError: false,\n thereErrorMessage: false\n });\n }, 3000);\n });\n };\n\n getActiveScreen = screenKey => {\n const { additionalScreens, forceSSO } = this.props;\n\n const loginScreens = {\n signupOptions: SignupOptions,\n signupWithEmail: SignupWithEmail,\n loginOptions: (forceSSO ? SSOOptions : LoginOptions),\n forgotPassword: ForgotPassword,\n resetSuccess: ResetSuccess,\n twoFactorLogin: TwoFactorLogin,\n twoFactorMethods: TwoFactorMethods,\n socialInit: SocialInit,\n socialTermsStep: SocialTermsStep,\n emailAuthLogin: EmailAuthLogin,\n deleteAccount: DeleteAccountModal,\n verifyAccount: VerifyAccountModal,\n ofacModal: OFACModal,\n signupWithSocialOpts: SignupWithSocialOpts,\n recoverAccountPage: RecoverAccountPage,\n accountRecoveryViewTicket: AccountRecoveryViewTicket,\n recoverAccountNotification: RecoverAccountNotification\n };\n const possibleScreens = {\n ...loginScreens,\n ...additionalScreens\n };\n return possibleScreens[screenKey];\n };\n\n handleClose = () => {\n const { navigationWrapper, onClose, isReact17 } = this.props;\n onClose();\n if (isReact17 && navigationWrapper instanceof HTMLElement) {\n ReactDOM.unmountComponentAtNode(navigationWrapper);\n }\n\n const { activeScreenKey } = this.state;\n if (typeof window.__accountSharingLogger === 'function' && activeScreenKey === 'emailAuthLogin') {\n window.__accountSharingLogger({ action: 'click', target: 'closeButton' });\n }\n };\n\n handleUserLogout = async (...args) => {\n const { onUserLogout } = this.props;\n if (window?.JFAppsManager?.isOpenedInPortal()) {\n window.JFAppsManager.logUserOut();\n }\n onUserLogout(...args);\n };\n\n handle2FARecoverAccount = async () => {\n this.setState({\n tfaAccountRecoveryProps: {\n isErrored: false, errorMessage: '', email: '', isLoading: true, ticket: ''\n }\n });\n try {\n const { responseCode = '', message = '', content: { email = '', hasOpenTicket = false, ticket = '' } } = await send2FAAccountRecoveryEmail();\n if (responseCode === 200) {\n if (!hasOpenTicket && !ticket && email) {\n this.setState({\n tfaAccountRecoveryProps: {\n isErrored: false,\n errorMessage: '',\n email: email,\n isLoading: false,\n ticket: ''\n }\n }, () => this.handleNavigationChangeRequest('recoverAccountNotification'));\n } else if (hasOpenTicket && ticket && !email) {\n this.setState({\n tfaAccountRecoveryProps: {\n isErrored: false,\n errorMessage: '',\n email: '',\n isLoading: false,\n ticket: ticket\n }\n }, () => this.handleNavigationChangeRequest('accountRecoveryViewTicket'));\n } else {\n this.setState({\n tfaAccountRecoveryProps: {\n isErrored: true,\n errorMessage: 'An error occured. Please try again.',\n email: '',\n isLoading: false,\n ticket: ''\n }\n });\n }\n } else {\n this.setState({\n tfaAccountRecoveryProps: {\n isErrored: true,\n errorMessage: /You're not authorized to use/.test(message) ? 'The session has expired. Please login again.' : 'An error occured. Please try again.',\n email: '',\n isLoading: false,\n ticket: ''\n }\n });\n }\n } catch ({ message = '' }) {\n this.setState({\n tfaAccountRecoveryProps: {\n isErrored: true,\n errorMessage: /You're not authorized to use/.test(message) ? 'The session has expired. Please login again.' : 'An error occured. Please try again.',\n email: '',\n isLoading: false,\n ticket: ''\n }\n });\n }\n };\n\n handleEAResponseStateChange = () => {\n const { showEmailAuthStepAsModal } = this.props;\n const {\n lastEAResponse,\n thereSocialError,\n thereErrorMessage,\n isSocialEA\n } = this.state;\n\n if (showEmailAuthStepAsModal) {\n renderStandaloneEmailAuthModal({\n handleEALogin: this.handleEALogin,\n lastEAResponse,\n thereSocialError,\n thereErrorMessage,\n isSocialEA\n });\n } else {\n this.handleNavigationChangeRequest('emailAuthLogin');\n }\n };\n\n handleTFAResponse = (data, username, password) => {\n const { primaryMethod = '' } = data;\n this.setState({\n lastLoginCredentials: { username, password },\n lastTFAResponse: data,\n isSocialTFA: false,\n tfaMethod: primaryMethod\n });\n this.handleNavigationChangeRequest('twoFactorLogin');\n };\n\n handleEAResponse = (data, username, password) => {\n this.setState({\n lastLoginCredentials: { username, password },\n lastEAResponse: data,\n isSocialEA: false\n }, () => this.handleEAResponseStateChange());\n };\n\n handleTFALogin = async ({\n verificationCode, newType, shouldNavigate = false, rememberDevice\n } = {}) => {\n const {\n lastLoginCredentials: {\n username,\n password\n },\n lastTFAResponse: { token: { type } }\n } = this.state;\n const tfaMethod = newType || type;\n const isRecovery = tfaMethod === 'recovery';\n this.setState({ tfaMethod });\n if (newType === 'recovery' && !verificationCode) {\n this.handleNavigationChangeRequest('twoFactorLogin');\n return;\n }\n\n if (newType && !shouldNavigate && !verificationCode) {\n this.handleNavigationChangeRequest('twoFactorLogin');\n return;\n }\n const [loginSuccess, loginResponse] = await this.handleLogin(username, password, false, verificationCode, tfaMethod, null, rememberDevice, isRecovery);\n return [loginResponse, loginSuccess];\n };\n\n handleEALogin = async ({ verificationCode, isSocialEA = false } = {}) => {\n const {\n lastLoginCredentials: {\n username,\n password\n },\n lastSocialLoginType,\n lastSocialLoginToken\n } = this.state;\n\n if (isSocialEA) {\n this.socialLoginRequest(lastSocialLoginType, lastSocialLoginToken, null, null, verificationCode);\n return;\n }\n\n const [loginSuccess, loginResponse] = await this.handleLogin(username, password, false, null, null, verificationCode);\n return [loginResponse, loginSuccess];\n };\n\n handleSocialTFAResponse = tfaResponse => {\n this.setState({\n lastTFAResponse: tfaResponse,\n isSocialTFA: true\n },\n () => this.handleNavigationChangeRequest('twoFactorLogin'));\n };\n\n handleSocialEAResponse = (eaResponse, type) => {\n const { idToken } = eaResponse;\n if (type) {\n this.setState({ lastSocialLoginType: type });\n }\n this.setState({\n lastEAResponse: eaResponse,\n isSocialEA: true,\n idToken\n },\n () => this.handleEAResponseStateChange());\n };\n\n openLoginFlowModal = () => {\n this.setState({\n showThankyouModal: false\n });\n };\n\n handleLoginFlowDefaultAndThankYouModal = DefaultComponent => {\n const { showThankyouModal } = this.state;\n const { isSSO, onUserLogin } = this.props;\n\n return (\n showThankyouModal ? (\n undefined}\n />\n ) : (\n
    \n {DefaultComponent}\n
    \n )\n );\n };\n\n handleLoginFlowAndThankYouModal = (ComponentValue, mode) => {\n const { showThankyouModal } = this.state;\n const {\n thankYouModalOnClose, closableDialog, closableComponent, modalOptions, isSSO, onUserLogin\n } = this.props;\n const subTitles = modalOptions.subTitles ? modalOptions.subTitles : [\n Texts.COMPLETED_TASK\n ];\n return (\n showThankyouModal ? (\n \n ) : (\n
    \n
    \n
    \n {closableComponent && (\n \n \n \n )}\n
    \n {ComponentValue}\n
    \n
    \n
    \n
    \n )\n );\n };\n\n changeActiveScreen = screenName => {\n this.setState({\n activeScreenKey: screenName\n });\n };\n\n changeActiveMode = mode => {\n this.setState({\n mode: mode\n });\n };\n\n render() {\n const {\n activeScreenKey,\n thereSocialError,\n lastTFAResponse,\n lastEAResponse,\n tfaMethod,\n isSocialTFA,\n isSocialEA,\n thereErrorMessage,\n socialUserProfile,\n isMsSignupTestEnabled,\n isMsSignupControlVariant,\n isMsSignupTestBVariant,\n isMsSignupTestCVariant,\n areSocialButtonsLoading,\n mode,\n externalErrorMessage,\n isSwsoTestVariant,\n tfaAccountRecoveryProps\n } = this.state;\n\n const {\n manager,\n skippable,\n onSkip,\n enforceHIPAARuleSet,\n apiURL,\n greetingMessage,\n hideGreetingMessageOnSignupOptions,\n greetingDescription,\n loginButtonText,\n signupButtonText,\n greetingMessageOnSignupWithEmail,\n user,\n signupPredefinedEmail,\n loginPredefinedEmail,\n verificationHash,\n resourceID,\n productType,\n forceLogin,\n forceUser,\n appName,\n isHIPAA,\n includeConfirm,\n showLogoOnSignupOptions,\n showLogoOnSignupWithEmail,\n actionLogger,\n loginWelcomeText,\n OtherColumnComponents,\n appleSigninEnabled,\n loginDescriptionText,\n showFormOnSignupOptions,\n buttonNames,\n socialInitData,\n shrinkConfirmHeight,\n shrinkConfirmOnMobile,\n logoSource,\n firstShowThankyouModal,\n disableEmail,\n socialLogins,\n AfterVerificationComponent,\n BeforeVerificationComponent,\n VerificationWrapper,\n usePortal,\n builderShowSlides,\n horizontalSocialButtons,\n squareSocialButtonStyle,\n readonlyEmail,\n isVerified,\n setIsVerified,\n baseApp,\n showJotformLogo,\n showSalesforceLogin,\n showEnterpriseLogin,\n hideSignUp,\n redirectURL,\n signupPredefinedName,\n unusualSignupCode,\n unusualSignupToken,\n initiator,\n forceShowBack,\n ssoLoginOptions,\n ssoNormalLoginEnabled,\n initialScreen,\n useSwsoButtons,\n isOnboardingFlow,\n isOnboardingTestVariantReversed\n } = this.props;\n\n const ActiveComponent = this.getActiveScreen(activeScreenKey);\n const Component = (\n f}\n ref={this.activeComponentRef}\n // delete my account\n socialLogins={socialLogins}\n handleClose={this.handleClose}\n // VerifyAccountModal\n AfterVerificationComponent={AfterVerificationComponent}\n BeforeVerificationComponent={BeforeVerificationComponent}\n VerificationWrapper={VerificationWrapper}\n isVerified={isVerified}\n setIsVerified={setIsVerified}\n baseApp={baseApp}\n ofacModalRef={this.ofacModalRef}\n changeActiveScreen={this.changeActiveScreen}\n builderShowSlides={builderShowSlides}\n readonlyEmail={readonlyEmail}\n showJotformLogo={showJotformLogo}\n showSalesforceLogin={showSalesforceLogin}\n showEnterpriseLogin={showEnterpriseLogin}\n hideSignUp={hideSignUp}\n ssoLoginOptions={ssoLoginOptions}\n redirectURL={redirectURL}\n signupPredefinedName={signupPredefinedName}\n isSwsoTestVariant={isSwsoTestVariant}\n forceShowBack={forceShowBack && !forceLogin && initialScreen !== 'loginOptions'}\n tfaAccountRecoveryProps={tfaAccountRecoveryProps}\n handle2FARecoverAccount={this.handle2FARecoverAccount}\n useSwsoButtons={useSwsoButtons}\n handleSocialEAResponse={this.handleSocialEAResponse}\n isOnboardingFlow={isOnboardingFlow} // A/B Test: signupOnboardingIV\n isOnboardingTestVariantReversed={isOnboardingTestVariantReversed} // A/B Test: signupOnboardingIV\n getUserSSOStatus={getUserSSOStatus}\n />\n );\n\n switch (mode) {\n case 'modal':\n return (\n firstShowThankyouModal ? (\n this.handleLoginFlowAndThankYouModal(Component, mode)\n ) : (\n \n \n
    \n
    \n \n \n \n \n {Component}\n
    \n
    \n
    \n
    \n \n )\n );\n case 'multi-column-modal':\n const allComponents = [Component, ...OtherColumnComponents];\n return (\n
    \n
    \n
    \n \n \n \n
    \n {allComponents.map((Column, id) => (\n
    \n {Column}\n
    \n ))}\n
    \n
    \n
    \n
    \n );\n case 'unusual-signup':\n return (\n \n );\n default:\n return (\n firstShowThankyouModal ? (\n this.handleLoginFlowDefaultAndThankYouModal(Component, mode)\n ) : (\n
    \n {Component}\n
    \n )\n );\n }\n }\n}\n\nLoginFlow.propTypes = {\n user: shape(),\n apiURL: string.isRequired,\n manager: shape(),\n onClose: func,\n onUserLogout: func,\n onNavigationChange: func,\n onGoogleLoginClick: func,\n onFBLoginClick: func,\n onMicrosoftLoginClick: func,\n onAppleLoginClick: func,\n onSalesforceLoginClick: func,\n additionalScreens: shape(),\n navigationWrapper: oneOfType([\n node,\n object\n ]).isRequired,\n onUserLogin: func,\n initialScreen: string,\n skippable: bool,\n onSkip: func,\n enforceHIPAARuleSet: bool,\n mode: oneOf([\n 'modal',\n 'multi-column-modal',\n 'unusual-signup',\n 'fullScreen',\n 'default'\n ]),\n greetingMessage: string,\n hideGreetingMessageOnSignupOptions: bool,\n greetingDescription: string,\n loginButtonText: string,\n loginWelcomeText: string,\n loginDescriptionText: string,\n signupPredefinedEmail: string,\n loginPredefinedEmail: string,\n signupButtonText: string,\n greetingMessageOnSignupWithEmail: string,\n verificationHash: string,\n productType: string,\n resourceID: string,\n forceLogin: bool,\n forceUser: bool,\n isSocialLoginForDeleteMyAccountFlow: bool,\n isSocialLoginForVerification: bool,\n appName: string,\n isHIPAA: bool,\n includeConfirm: bool,\n showLogoOnSignupOptions: bool,\n showLogoOnSignupWithEmail: bool,\n shouldCallNavigate: bool,\n actionLogger: func,\n OtherColumnComponents: arrayOf(element),\n appleSigninEnabled: bool,\n showFormOnSignupOptions: bool,\n enableGoogleOneTap: bool,\n shrinkConfirmOnMobile: bool,\n shrinkConfirmHeight: number,\n buttonNames: shape({\n google: string,\n googleOneTap: string,\n facebook: string,\n microsoft: string,\n apple: string,\n salesforce: string,\n email: string\n }),\n socialInitData: shape({}),\n logoSource: string,\n firstShowThankyouModal: bool,\n thankYouModalOnClose: func,\n showSocialTermsStepAsModal: bool,\n disableEmail: bool,\n horizontalSocialButtons: bool,\n squareSocialButtonStyle: bool,\n showEmailAuthStepAsModal: bool,\n closableDialog: bool,\n closableComponent: bool,\n modalOptions: shape({}),\n socialLogins: arrayOf(string),\n AfterVerificationComponent: elementType,\n BeforeVerificationComponent: elementType,\n VerificationWrapper: shape({\n Component: elementType,\n props: shape({})\n }),\n usePortal: bool,\n builderShowSlides: func,\n readonlyEmail: bool,\n isVerified: bool,\n setIsVerified: func,\n baseApp: string,\n showJotformLogo: bool,\n showSalesforceLogin: bool,\n showEnterpriseLogin: bool,\n hideSignUp: bool,\n redirectURL: string,\n signupPredefinedName: string,\n showUnusualSignupFlow: bool,\n unusualSignupCode: string,\n unusualSignupToken: string,\n initiator: string,\n swsoTestVariant: bool,\n forceShowBack: bool,\n ssoLoginOptions: arrayOf(shape({\n name: string,\n logoURL: string,\n configKey: string,\n idpName: string\n })),\n isSSO: bool,\n isReact17: bool,\n ssoNormalLoginEnabled: bool,\n useSwsoButtons: bool,\n isOnboardingFlow: bool,\n isOnboardingTestVariantReversed: bool,\n forceSSO: bool\n};\n\nLoginFlow.defaultProps = {\n user: null,\n onClose: () => undefined,\n skippable: false,\n onSkip: () => undefined,\n enforceHIPAARuleSet: false,\n onUserLogin: () => undefined,\n onUserLogout: () => undefined,\n onNavigationChange: () => undefined,\n onGoogleLoginClick: () => undefined,\n onFBLoginClick: () => undefined,\n onMicrosoftLoginClick: () => undefined,\n onAppleLoginClick: () => undefined,\n onSalesforceLoginClick: () => undefined,\n thankYouModalOnClose: () => undefined,\n initialScreen: 'signupOptions',\n additionalScreens: {},\n greetingMessage: 'Welcome to Jotform',\n hideGreetingMessageOnSignupOptions: false,\n greetingDescription: '',\n loginButtonText: Texts.LOGIN_TEXT,\n loginWelcomeText: Texts.WELCOME_BACK,\n loginDescriptionText: '',\n signupButtonText: Texts.SIGN_UP,\n greetingMessageOnSignupWithEmail: Texts.SIGN_UP_EMAIL,\n signupPredefinedEmail: '',\n loginPredefinedEmail: '',\n manager: {},\n mode: 'modal',\n verificationHash: '',\n productType: 'form',\n resourceID: '',\n forceLogin: false,\n forceUser: false,\n isSocialLoginForDeleteMyAccountFlow: false,\n isSocialLoginForVerification: false,\n appName: '',\n isHIPAA: false,\n includeConfirm: false,\n showLogoOnSignupOptions: true,\n showLogoOnSignupWithEmail: false,\n shouldCallNavigate: true,\n actionLogger: null,\n OtherColumnComponents: [],\n appleSigninEnabled: false,\n showFormOnSignupOptions: false,\n enableGoogleOneTap: false,\n buttonNames: {\n google: '',\n googleOneTap: 'GoogleOnetap',\n facebook: '',\n microsoft: '',\n apple: '',\n salesforce: '',\n emailLogin: '',\n emailSignup: ''\n },\n horizontalSocialButtons: false,\n squareSocialButtonStyle: false,\n socialInitData: {},\n shrinkConfirmOnMobile: false,\n shrinkConfirmHeight: 750,\n logoSource: '',\n firstShowThankyouModal: false,\n showSocialTermsStepAsModal: false,\n disableEmail: false,\n showEmailAuthStepAsModal: false,\n closableDialog: true,\n closableComponent: true,\n modalOptions: {},\n socialLogins: [],\n AfterVerificationComponent: null,\n BeforeVerificationComponent: null,\n VerificationWrapper: null,\n usePortal: false,\n builderShowSlides: f => f,\n readonlyEmail: false,\n isVerified: false,\n setIsVerified: f => f,\n baseApp: '',\n showJotformLogo: false,\n showSalesforceLogin: false,\n showEnterpriseLogin: false,\n hideSignUp: false,\n redirectURL: '',\n signupPredefinedName: '',\n showUnusualSignupFlow: false,\n unusualSignupCode: '',\n unusualSignupToken: '',\n initiator: '',\n swsoTestVariant: false,\n forceShowBack: false,\n ssoLoginOptions: [],\n isSSO: false,\n isReact17: false,\n ssoNormalLoginEnabled: false,\n useSwsoButtons: false,\n isOnboardingFlow: false,\n isOnboardingTestVariantReversed: false,\n forceSSO: false\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { t } from '@jotforminc/translation';\nimport { Texts } from '@jotforminc/constants';\n\nimport LinkIcon from '../assets/svg/icon_link.svg';\n\nexport default class SharableLinkButton extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n link: ''\n };\n }\n\n componentWillUnmount() {\n if (this.infoTimeout) {\n clearTimeout(this.infoTimeout);\n }\n }\n\n handleCopyLink = () => {\n const { manager } = this.props;\n const { link } = manager.generateLink();\n this.setState({\n link\n }, () => {\n this.copyTextToClipboard(link);\n });\n };\n\n messages = {\n copied: t(Texts.COPIED_CLIPBOARD),\n error: t(Texts.DOESNT_SUPPORT_BROWSER)\n };\n\n afterCopy = result => {\n if (result) {\n this.setState({\n copied: true\n });\n this.infoTimeout = setTimeout(() => {\n this.setState({\n copied: false\n });\n }, 3000);\n } else {\n this.setState({\n error: true\n });\n }\n };\n\n fallbackCopyTextToClipboard(text) {\n const textArea = document.createElement('textarea');\n textArea.value = text;\n textArea.style.position = 'fixed';\n document.body.appendChild(textArea);\n textArea.focus();\n textArea.select();\n let retVal = false;\n try {\n const successful = document.execCommand('copy');\n retVal = !!successful;\n } catch (err) {\n retVal = false;\n }\n\n document.body.removeChild(textArea);\n return retVal;\n }\n\n copyTextToClipboard(text) {\n if (!window.navigator.clipboard) {\n const result = this.fallbackCopyTextToClipboard(text);\n return this.afterCopy(result);\n }\n window.navigator.clipboard.writeText(text).then(() => {\n return this.afterCopy(true);\n }, () => {\n return this.afterCopy(false);\n });\n }\n\n render() {\n const { buttonMode } = this.props;\n const { link, error, copied } = this.state;\n return (\n <>\n {error && (\n
    \n Your browser does not support copy text feature. You can manually copy it.\n \n
    \n )}\n {!error && (\n \n )}\n \n );\n }\n}\n\nSharableLinkButton.propTypes = {\n buttonMode: PropTypes.string.isRequired,\n manager: PropTypes.shape().isRequired\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { t, translationRenderer } from '@jotforminc/translation';\nimport {\n isEmail,\n listenEnter,\n emailAnswerFinder\n} from '@jotforminc/utils';\nimport { Texts } from '@jotforminc/constants';\n\nimport SavedDraftIcon from '../assets/svg/sacl_saved_draft.svg';\nimport BackIcon from '../assets/svg/icon_back.svg';\nimport SendIcon from '../assets/svg/sacl_send.svg';\nimport SharableLinkButton from './SharableLinkButton';\n\nexport default class WithoutSignup extends React.Component {\n constructor(props) {\n super(props);\n\n const email = emailAnswerFinder();\n this.state = {\n email: email || ''\n };\n }\n\n componentDidMount() {\n const { manager } = this.props;\n manager.initiate();\n }\n\n handleSendLinkClick = () => {\n const { onNavigationChangeRequest, manager } = this.props;\n const { email } = this.state;\n if (isEmail(email)) {\n manager.setHiddenEmailSentTo(email);\n manager.sendEmail(email);\n onNavigationChangeRequest('epilogue');\n } else {\n this.setState({\n emailError: 'Please enter valid email'\n });\n }\n };\n\n handleEmailChange = e => {\n const { value } = e.target;\n const { emailError } = this.state;\n const nextState = {\n email: value.trim()\n };\n if (emailError && isEmail(nextState.email)) {\n nextState.emailError = false;\n }\n this.setState(nextState);\n };\n\n handleKeyDown = e => listenEnter(e, this.handleSendLinkClick);\n\n render() {\n const { onNavigationChangeRequest, manager } = this.props;\n const { email, emailError } = this.state;\n return (\n
    \n
    \n \n \n \n \n

    {t(Texts.SUBMISSIONS_SAVED_DRAFT)}

    \n

    {t(Texts.ENTER_EMAIL)}

    \n
    \n \n \n {emailError\n ? (\n
    \n {emailError}\n
    \n ) : null}\n {(emailError === Texts.EMAIL_ERROR || emailError === Texts.EMAIL_ERROR_ENTERPRISE) && (\n <>\n  \n {translationRenderer(Texts.PLEASE_LOGIN)({\n renderer1: text => ( onNavigationChangeRequest('loginOptions')}>{text})\n })}\n \n )}\n
    \n
    \n \n
    \n
    \n
    \n );\n }\n}\n\nWithoutSignup.propTypes = {\n onNavigationChangeRequest: PropTypes.func.isRequired,\n manager: PropTypes.shape().isRequired\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { t } from '@jotforminc/translation';\n\nimport IndicatorIcon from '../assets/svg/iconIndicator.svg';\n\nexport default class SaclEpilogue extends React.Component {\n componentDidMount() {\n const { manager } = this.props;\n manager.initiate(this.onManagerSuccess, this.onManagerError, true);\n }\n\n onManagerSuccess = () => {\n const { onNavigationChangeRequest } = this.props;\n onNavigationChangeRequest('saclSuccess');\n };\n\n onManagerError = () => {\n const { onNavigationChangeRequest } = this.props;\n onNavigationChangeRequest('saclError');\n };\n\n render() {\n return (\n
    \n