@pie-element/placement-ordering 14.1.1-next.1 → 14.1.1-next.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +1312 -0
- package/CHANGELOG.md +2428 -0
- package/LICENSE.md +5 -0
- package/README.md +57 -0
- package/configure/CHANGELOG.json +952 -0
- package/configure/CHANGELOG.md +2123 -0
- package/configure/lib/choice-editor.js +252 -0
- package/configure/lib/choice-editor.js.map +1 -0
- package/configure/lib/choice-tile.js +205 -0
- package/configure/lib/choice-tile.js.map +1 -0
- package/configure/lib/defaults.js +211 -0
- package/configure/lib/defaults.js.map +1 -0
- package/configure/lib/design.js +427 -0
- package/configure/lib/design.js.map +1 -0
- package/configure/lib/help.js +14 -0
- package/configure/lib/help.js.map +1 -0
- package/configure/lib/index.js +155 -0
- package/configure/lib/index.js.map +1 -0
- package/configure/lib/utils.js +108 -0
- package/configure/lib/utils.js.map +1 -0
- package/configure/package.json +26 -0
- package/controller/CHANGELOG.json +517 -0
- package/controller/CHANGELOG.md +1514 -0
- package/controller/lib/defaults.js +29 -0
- package/controller/lib/defaults.js.map +1 -0
- package/controller/lib/index.js +285 -0
- package/controller/lib/index.js.map +1 -0
- package/controller/lib/scoring.js +109 -0
- package/controller/lib/scoring.js.map +1 -0
- package/controller/package.json +15 -0
- package/docs/config-schema.json +2964 -0
- package/docs/config-schema.json.md +2190 -0
- package/docs/demo/config.js +8 -0
- package/docs/demo/generate.js +50 -0
- package/docs/demo/index.html +1 -0
- package/docs/demo/session.js +7 -0
- package/docs/pie-schema.json +1613 -0
- package/docs/pie-schema.json.md +973 -0
- package/icon.png +0 -0
- package/lib/index.js +122 -0
- package/lib/index.js.map +1 -0
- package/lib/main.js +32 -0
- package/lib/main.js.map +1 -0
- package/lib/ordering.js +165 -0
- package/lib/ordering.js.map +1 -0
- package/lib/placement-ordering.js +419 -0
- package/lib/placement-ordering.js.map +1 -0
- package/lib/tile.js +259 -0
- package/lib/tile.js.map +1 -0
- package/lib/tiler.js +165 -0
- package/lib/tiler.js.map +1 -0
- package/lib/utils.js +18 -0
- package/lib/utils.js.map +1 -0
- package/package.json +21 -61
- package/dist/author/choice-editor.d.ts +0 -39
- package/dist/author/choice-editor.js +0 -157
- package/dist/author/choice-tile.d.ts +0 -40
- package/dist/author/choice-tile.js +0 -132
- package/dist/author/defaults.d.ts +0 -213
- package/dist/author/defaults.js +0 -159
- package/dist/author/design.d.ts +0 -21
- package/dist/author/design.js +0 -274
- package/dist/author/help.d.ts +0 -11
- package/dist/author/index.d.ts +0 -45
- package/dist/author/index.js +0 -85
- package/dist/author/utils.d.ts +0 -15
- package/dist/author/utils.js +0 -62
- package/dist/controller/defaults.d.ts +0 -31
- package/dist/controller/defaults.js +0 -25
- package/dist/controller/index.d.ts +0 -29
- package/dist/controller/index.js +0 -128
- package/dist/controller/scoring.d.ts +0 -27
- package/dist/controller/scoring.js +0 -32
- package/dist/delivery/index.d.ts +0 -26
- package/dist/delivery/index.js +0 -70
- package/dist/delivery/main.d.ts +0 -19
- package/dist/delivery/main.js +0 -22
- package/dist/delivery/ordering.d.ts +0 -18
- package/dist/delivery/ordering.js +0 -96
- package/dist/delivery/placement-ordering.d.ts +0 -28
- package/dist/delivery/placement-ordering.js +0 -215
- package/dist/delivery/tile.d.ts +0 -28
- package/dist/delivery/tile.js +0 -165
- package/dist/delivery/tiler.d.ts +0 -42
- package/dist/delivery/tiler.js +0 -89
- package/dist/delivery/utils.d.ts +0 -9
- package/dist/delivery/utils.js +0 -8
- package/dist/index.d.ts +0 -1
- package/dist/index.iife.d.ts +0 -8
- package/dist/index.iife.js +0 -152
- package/dist/index.js +0 -2
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEvery.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludes.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludesWith.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +0 -15
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayReduce.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayShuffle.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +0 -57
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseDifference.js +0 -23
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseEach.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseEvery.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFindIndex.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFlatten.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseForOwn.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseHasIn.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIndexOf.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js +0 -30
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMatch.js +0 -26
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNaN.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIteratee.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMap.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMatches.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMatchesProperty.js +0 -17
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseProperty.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyDeep.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseRandom.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseReduce.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseShuffle.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js +0 -15
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUniq.js +0 -27
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseValues.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createAssigner.js +0 -15
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createBaseEach.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createSet.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js +0 -35
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js +0 -35
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js +0 -32
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +0 -4
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMatchData.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +0 -23
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hasPath.js +0 -18
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +0 -33
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isFlattenable.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isStrictComparable.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_matchesStrictComparable.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shuffleSelf.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_strictIndexOf.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +0 -15
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/assign.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/compact.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/defaults.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/difference.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/differenceWith.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/every.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/get.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/hasIn.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +0 -4
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLikeObject.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +0 -21
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/last.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/map.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/memoize.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/noop.js +0 -4
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/property.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/reduce.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/shuffle.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toString.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/uniq.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/uniqueId.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/values.js +0 -8
package/dist/index.iife.js
DELETED
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
this.PlacementOrderingElement=(function(){var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,a)=>(a=n==null?{}:e(i(n)),c(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),u=o((e=>{var t=Symbol.for(`react.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.provider`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.iterator;function p(e){return typeof e!=`object`||!e?null:(e=f&&e[f]||e[`@@iterator`],typeof e==`function`?e:null)}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function _(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)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,e,t,`setState`)},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function v(){}v.prototype=_.prototype;function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}var b=y.prototype=new v;b.constructor=y,h(b,_.prototype),b.isPureReactComponent=!0;var x=Array.isArray,S=Object.prototype.hasOwnProperty,C={current:null},w={key:!0,ref:!0,__self:!0,__source:!0};function T(e,n,r){var i,a={},o=null,s=null;if(n!=null)for(i in n.ref!==void 0&&(s=n.ref),n.key!==void 0&&(o=``+n.key),n)S.call(n,i)&&!w.hasOwnProperty(i)&&(a[i]=n[i]);var c=arguments.length-2;if(c===1)a.children=r;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];a.children=l}if(e&&e.defaultProps)for(i in c=e.defaultProps,c)a[i]===void 0&&(a[i]=c[i]);return{$$typeof:t,type:e,key:o,ref:s,props:a,_owner:C.current}}function E(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}function D(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function ee(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var O=/\/+/g;function te(e,t){return typeof e==`object`&&e&&e.key!=null?ee(``+e.key):t.toString(36)}function k(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0}}if(c)return c=e,o=o(c),e=a===``?`.`+te(c,0):a,x(o)?(i=``,e!=null&&(i=e.replace(O,`$&/`)+`/`),k(o,r,i,``,function(e){return e})):o!=null&&(D(o)&&(o=E(o,i+(!o.key||c&&c.key===o.key?``:(``+o.key).replace(O,`$&/`)+`/`)+e)),r.push(o)),1;if(c=0,a=a===``?`.`:a+`:`,x(e))for(var l=0;l<e.length;l++){s=e[l];var u=a+te(s,l);c+=k(s,r,i,u,o)}else if(u=p(e),typeof u==`function`)for(e=u.call(e),l=0;!(s=e.next()).done;)s=s.value,u=a+te(s,l++),c+=k(s,r,i,u,o);else if(s===`object`)throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`);return c}function A(e,t,n){if(e==null)return e;var r=[],i=0;return k(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function ne(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var j={current:null},re={transition:null},M={ReactCurrentDispatcher:j,ReactCurrentBatchConfig:re,ReactCurrentOwner:C};function ie(){throw Error(`act(...) is not supported in production builds of React.`)}e.Children={map:A,forEach:function(e,t,n){A(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return A(e,function(){t++}),t},toArray:function(e){return A(e,function(e){return e})||[]},only:function(e){if(!D(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}},e.Component=_,e.Fragment=r,e.Profiler=a,e.PureComponent=y,e.StrictMode=i,e.Suspense=l,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,e.act=ie,e.cloneElement=function(e,n,r){if(e==null)throw Error(`React.cloneElement(...): The argument must be a React element, but you passed `+e+`.`);var i=h({},e.props),a=e.key,o=e.ref,s=e._owner;if(n!=null){if(n.ref!==void 0&&(o=n.ref,s=C.current),n.key!==void 0&&(a=``+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in n)S.call(n,l)&&!w.hasOwnProperty(l)&&(i[l]=n[l]===void 0&&c!==void 0?c[l]:n[l])}var l=arguments.length-2;if(l===1)i.children=r;else if(1<l){c=Array(l);for(var u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}return{$$typeof:t,type:e.type,key:a,ref:o,props:i,_owner:s}},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:o,_context:e},e.Consumer=e},e.createElement=T,e.createFactory=function(e){var t=T.bind(null,e);return t.type=e,t},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=D,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:ne}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=re.transition;re.transition={};try{e()}finally{re.transition=t}},e.unstable_act=ie,e.useCallback=function(e,t){return j.current.useCallback(e,t)},e.useContext=function(e){return j.current.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e){return j.current.useDeferredValue(e)},e.useEffect=function(e,t){return j.current.useEffect(e,t)},e.useId=function(){return j.current.useId()},e.useImperativeHandle=function(e,t,n){return j.current.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return j.current.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return j.current.useLayoutEffect(e,t)},e.useMemo=function(e,t){return j.current.useMemo(e,t)},e.useReducer=function(e,t,n){return j.current.useReducer(e,t,n)},e.useRef=function(e){return j.current.useRef(e)},e.useState=function(e){return j.current.useState(e)},e.useSyncExternalStore=function(e,t,n){return j.current.useSyncExternalStore(e,t,n)},e.useTransition=function(){return j.current.useTransition()},e.version=`18.3.1`})),d=o(((e,t)=>{t.exports=u()})),f=o((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=typeof setTimeout==`function`?setTimeout:null,_=typeof clearTimeout==`function`?clearTimeout:null,v=typeof setImmediate<`u`?setImmediate:null;typeof navigator<`u`&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function b(e){if(h=!1,y(e),!m)if(n(c)!==null)m=!0,A(x);else{var t=n(l);t!==null&&ne(b,t.startTime-e)}}function x(t,i){m=!1,h&&(h=!1,_(w),w=-1),p=!0;var a=f;try{for(y(i),d=n(c);d!==null&&(!(d.expirationTime>i)||t&&!D());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=i);i=e.unstable_now(),typeof s==`function`?d.callback=s:d===n(c)&&r(c),y(i)}else r(c);d=n(c)}if(d!==null)var u=!0;else{var g=n(l);g!==null&&ne(b,g.startTime-i),u=!1}return u}finally{d=null,f=a,p=!1}}var S=!1,C=null,w=-1,T=5,E=-1;function D(){return!(e.unstable_now()-E<T)}function ee(){if(C!==null){var t=e.unstable_now();E=t;var n=!0;try{n=C(!0,t)}finally{n?O():(S=!1,C=null)}}else S=!1}var O;if(typeof v==`function`)O=function(){v(ee)};else if(typeof MessageChannel<`u`){var te=new MessageChannel,k=te.port2;te.port1.onmessage=ee,O=function(){k.postMessage(null)}}else O=function(){g(ee,0)};function A(e){C=e,S||(S=!0,O())}function ne(t,n){w=g(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){m||p||(m=!0,A(x))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):T=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(_(w),w=-1):h=!0,ne(b,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,A(x))),r},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),p=o(((e,t)=>{t.exports=f()})),m=o((e=>{var t=d(),n=p();function r(e){for(var t=`https://reactjs.org/docs/error-decoder.html?invariant=`+e,n=1;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n]);return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}var i=new Set,a={};function o(e,t){s(e,t),s(e+`Capture`,t)}function s(e,t){for(a[e]=t,e=0;e<t.length;e++)i.add(t[e])}var c=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),l=Object.prototype.hasOwnProperty,u=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f={},m={};function h(e){return l.call(m,e)?!0:l.call(f,e)?!1:u.test(e)?m[e]=!0:(f[e]=!0,!1)}function g(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case`function`:case`symbol`:return!0;case`boolean`:return r?!1:n===null?(e=e.toLowerCase().slice(0,5),e!==`data-`&&e!==`aria-`):!n.acceptsBooleans;default:return!1}}function _(e,t,n,r){if(t==null||g(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function v(e,t,n,r,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var y={};`children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style`.split(` `).forEach(function(e){y[e]=new v(e,0,!1,e,null,!1,!1)}),[[`acceptCharset`,`accept-charset`],[`className`,`class`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`]].forEach(function(e){var t=e[0];y[t]=new v(t,1,!1,e[1],null,!1,!1)}),[`contentEditable`,`draggable`,`spellCheck`,`value`].forEach(function(e){y[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)}),[`autoReverse`,`externalResourcesRequired`,`focusable`,`preserveAlpha`].forEach(function(e){y[e]=new v(e,2,!1,e,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(e){y[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)}),[`checked`,`multiple`,`muted`,`selected`].forEach(function(e){y[e]=new v(e,3,!0,e,null,!1,!1)}),[`capture`,`download`].forEach(function(e){y[e]=new v(e,4,!1,e,null,!1,!1)}),[`cols`,`rows`,`size`,`span`].forEach(function(e){y[e]=new v(e,6,!1,e,null,!1,!1)}),[`rowSpan`,`start`].forEach(function(e){y[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)});var b=/[\-:]([a-z])/g;function x(e){return e[1].toUpperCase()}`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(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,null,!1,!1)}),`xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type`.split(` `).forEach(function(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,`http://www.w3.org/1999/xlink`,!1,!1)}),[`xml:base`,`xml:lang`,`xml:space`].forEach(function(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,`http://www.w3.org/XML/1998/namespace`,!1,!1)}),[`tabIndex`,`crossOrigin`].forEach(function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)}),y.xlinkHref=new v(`xlinkHref`,1,!1,`xlink:href`,`http://www.w3.org/1999/xlink`,!0,!1),[`src`,`href`,`action`,`formAction`].forEach(function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)});function S(e,t,n,r){var i=y.hasOwnProperty(t)?y[t]:null;(i===null?r||!(2<t.length)||t[0]!==`o`&&t[0]!==`O`||t[1]!==`n`&&t[1]!==`N`:i.type!==0)&&(_(t,n,i,r)&&(n=null),r||i===null?h(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,``+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:``:n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&!0===n?``:``+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var C=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for(`react.element`),T=Symbol.for(`react.portal`),E=Symbol.for(`react.fragment`),D=Symbol.for(`react.strict_mode`),ee=Symbol.for(`react.profiler`),O=Symbol.for(`react.provider`),te=Symbol.for(`react.context`),k=Symbol.for(`react.forward_ref`),A=Symbol.for(`react.suspense`),ne=Symbol.for(`react.suspense_list`),j=Symbol.for(`react.memo`),re=Symbol.for(`react.lazy`),M=Symbol.for(`react.offscreen`),ie=Symbol.iterator;function ae(e){return typeof e!=`object`||!e?null:(e=ie&&e[ie]||e[`@@iterator`],typeof e==`function`?e:null)}var N=Object.assign,oe;function se(e){if(oe===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);oe=t&&t[1]||``}return`
|
|
2
|
-
`+oe+e}var ce=!1;function le(e,t){if(!e||ce)return``;ce=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,`props`,{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&typeof t.stack==`string`){for(var i=t.stack.split(`
|
|
3
|
-
`),a=r.stack.split(`
|
|
4
|
-
`),o=i.length-1,s=a.length-1;1<=o&&0<=s&&i[o]!==a[s];)s--;for(;1<=o&&0<=s;o--,s--)if(i[o]!==a[s]){if(o!==1||s!==1)do if(o--,s--,0>s||i[o]!==a[s]){var c=`
|
|
5
|
-
`+i[o].replace(` at new `,` at `);return e.displayName&&c.includes(`<anonymous>`)&&(c=c.replace(`<anonymous>`,e.displayName)),c}while(1<=o&&0<=s);break}}}finally{ce=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:``)?se(e):``}function ue(e){switch(e.tag){case 5:return se(e.type);case 16:return se(`Lazy`);case 13:return se(`Suspense`);case 19:return se(`SuspenseList`);case 0:case 2:case 15:return e=le(e.type,!1),e;case 11:return e=le(e.type.render,!1),e;case 1:return e=le(e.type,!0),e;default:return``}}function de(e){if(e==null)return null;if(typeof e==`function`)return e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case E:return`Fragment`;case T:return`Portal`;case ee:return`Profiler`;case D:return`StrictMode`;case A:return`Suspense`;case ne:return`SuspenseList`}if(typeof e==`object`)switch(e.$$typeof){case te:return(e.displayName||`Context`)+`.Consumer`;case O:return(e._context.displayName||`Context`)+`.Provider`;case k:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case j:return t=e.displayName||null,t===null?de(e.type)||`Memo`:t;case re:t=e._payload,e=e._init;try{return de(e(t))}catch{}}return null}function fe(e){var t=e.type;switch(e.tag){case 24:return`Cache`;case 9:return(t.displayName||`Context`)+`.Consumer`;case 10:return(t._context.displayName||`Context`)+`.Provider`;case 18:return`DehydratedFragment`;case 11:return e=t.render,e=e.displayName||e.name||``,t.displayName||(e===``?`ForwardRef`:`ForwardRef(`+e+`)`);case 7:return`Fragment`;case 5:return t;case 4:return`Portal`;case 3:return`Root`;case 6:return`Text`;case 16:return de(t);case 8:return t===D?`StrictMode`:`Mode`;case 22:return`Offscreen`;case 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(typeof t==`function`)return t.displayName||t.name||null;if(typeof t==`string`)return t}return null}function pe(e){switch(typeof e){case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function me(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function he(e){var t=me(e)?`checked`:`value`,n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=``+e[t];if(!e.hasOwnProperty(t)&&n!==void 0&&typeof n.get==`function`&&typeof n.set==`function`){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ge(e){e._valueTracker||=he(e)}function _e(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=me(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function ve(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}function ye(e,t){var n=t.checked;return N({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function be(e,t){var n=t.defaultValue==null?``:t.defaultValue,r=t.checked==null?t.defaultChecked:t.checked;n=pe(t.value==null?n:t.value),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type===`checkbox`||t.type===`radio`?t.checked!=null:t.value!=null}}function xe(e,t){t=t.checked,t!=null&&S(e,`checked`,t,!1)}function Se(e,t){xe(e,t);var n=pe(t.value),r=t.type;if(n!=null)r===`number`?(n===0&&e.value===``||e.value!=n)&&(e.value=``+n):e.value!==``+n&&(e.value=``+n);else if(r===`submit`||r===`reset`){e.removeAttribute(`value`);return}t.hasOwnProperty(`value`)?we(e,t.type,n):t.hasOwnProperty(`defaultValue`)&&we(e,t.type,pe(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ce(e,t,n){if(t.hasOwnProperty(`value`)||t.hasOwnProperty(`defaultValue`)){var r=t.type;if(!(r!==`submit`&&r!==`reset`||t.value!==void 0&&t.value!==null))return;t=``+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==``&&(e.name=``),e.defaultChecked=!!e._wrapperState.initialChecked,n!==``&&(e.name=n)}function we(e,t,n){(t!==`number`||ve(e.ownerDocument)!==e)&&(n==null?e.defaultValue=``+e._wrapperState.initialValue:e.defaultValue!==``+n&&(e.defaultValue=``+n))}var Te=Array.isArray;function Ee(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+pe(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function De(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(r(91));return N({},t,{value:void 0,defaultValue:void 0,children:``+e._wrapperState.initialValue})}function Oe(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(r(92));if(Te(n)){if(1<n.length)throw Error(r(93));n=n[0]}t=n}t??=``,n=t}e._wrapperState={initialValue:pe(n)}}function ke(e,t){var n=pe(t.value),r=pe(t.defaultValue);n!=null&&(n=``+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=``+r)}function Ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==``&&t!==null&&(e.value=t)}function je(e){switch(e){case`svg`:return`http://www.w3.org/2000/svg`;case`math`:return`http://www.w3.org/1998/Math/MathML`;default:return`http://www.w3.org/1999/xhtml`}}function Me(e,t){return e==null||e===`http://www.w3.org/1999/xhtml`?je(t):e===`http://www.w3.org/2000/svg`&&t===`foreignObject`?`http://www.w3.org/1999/xhtml`:e}var Ne,Pe=function(e){return typeof MSApp<`u`&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!==`http://www.w3.org/2000/svg`||`innerHTML`in e)e.innerHTML=t;else{for(Ne||=document.createElement(`div`),Ne.innerHTML=`<svg>`+t.valueOf().toString()+`</svg>`,t=Ne.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ie={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,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Le=[`Webkit`,`ms`,`Moz`,`O`];Object.keys(Ie).forEach(function(e){Le.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ie[t]=Ie[e]})});function Re(e,t,n){return t==null||typeof t==`boolean`||t===``?``:n||typeof t!=`number`||t===0||Ie.hasOwnProperty(e)&&Ie[e]?(``+t).trim():t+`px`}function ze(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=n.indexOf(`--`)===0,i=Re(n,t[n],r);n===`float`&&(n=`cssFloat`),r?e.setProperty(n,i):e[n]=i}}var Be=N({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});function Ve(e,t){if(t){if(Be[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(r(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(r(60));if(typeof t.dangerouslySetInnerHTML!=`object`||!(`__html`in t.dangerouslySetInnerHTML))throw Error(r(61))}if(t.style!=null&&typeof t.style!=`object`)throw Error(r(62))}}function He(e,t){if(e.indexOf(`-`)===-1)return typeof t.is==`string`;switch(e){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 Ue=null;function We(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ge=null,Ke=null,qe=null;function Je(e){if(e=Ki(e)){if(typeof Ge!=`function`)throw Error(r(280));var t=e.stateNode;t&&(t=Ji(t),Ge(e.stateNode,e.type,t))}}function Ye(e){Ke?qe?qe.push(e):qe=[e]:Ke=e}function Xe(){if(Ke){var e=Ke,t=qe;if(qe=Ke=null,Je(e),t)for(e=0;e<t.length;e++)Je(t[e])}}function Ze(e,t){return e(t)}function Qe(){}var $e=!1;function et(e,t,n){if($e)return e(t,n);$e=!0;try{return Ze(e,t,n)}finally{$e=!1,(Ke!==null||qe!==null)&&(Qe(),Xe())}}function tt(e,t){var n=e.stateNode;if(n===null)return null;var i=Ji(n);if(i===null)return null;n=i[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(i=!i.disabled)||(e=e.type,i=!(e===`button`||e===`input`||e===`select`||e===`textarea`)),e=!i;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(r(231,t,typeof n));return n}var nt=!1;if(c)try{var rt={};Object.defineProperty(rt,`passive`,{get:function(){nt=!0}}),window.addEventListener(`test`,rt,rt),window.removeEventListener(`test`,rt,rt)}catch{nt=!1}function it(e,t,n,r,i,a,o,s,c){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}var at=!1,ot=null,st=!1,ct=null,lt={onError:function(e){at=!0,ot=e}};function ut(e,t,n,r,i,a,o,s,c){at=!1,ot=null,it.apply(lt,arguments)}function dt(e,t,n,i,a,o,s,c,l){if(ut.apply(this,arguments),at){if(at){var u=ot;at=!1,ot=null}else throw Error(r(198));st||(st=!0,ct=u)}}function ft(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function pt(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function mt(e){if(ft(e)!==e)throw Error(r(188))}function ht(e){var t=e.alternate;if(!t){if(t=ft(e),t===null)throw Error(r(188));return t===e?e:null}for(var n=e,i=t;;){var a=n.return;if(a===null)break;var o=a.alternate;if(o===null){if(i=a.return,i!==null){n=i;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return mt(a),e;if(o===i)return mt(a),t;o=o.sibling}throw Error(r(188))}if(n.return!==i.return)n=a,i=o;else{for(var s=!1,c=a.child;c;){if(c===n){s=!0,n=a,i=o;break}if(c===i){s=!0,i=a,n=o;break}c=c.sibling}if(!s){for(c=o.child;c;){if(c===n){s=!0,n=o,i=a;break}if(c===i){s=!0,i=o,n=a;break}c=c.sibling}if(!s)throw Error(r(189))}}if(n.alternate!==i)throw Error(r(190))}if(n.tag!==3)throw Error(r(188));return n.stateNode.current===n?e:t}function gt(e){return e=ht(e),e===null?null:_t(e)}function _t(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=_t(e);if(t!==null)return t;e=e.sibling}return null}var vt=n.unstable_scheduleCallback,yt=n.unstable_cancelCallback,bt=n.unstable_shouldYield,xt=n.unstable_requestPaint,P=n.unstable_now,St=n.unstable_getCurrentPriorityLevel,Ct=n.unstable_ImmediatePriority,wt=n.unstable_UserBlockingPriority,Tt=n.unstable_NormalPriority,Et=n.unstable_LowPriority,Dt=n.unstable_IdlePriority,Ot=null,kt=null;function At(e){if(kt&&typeof kt.onCommitFiberRoot==`function`)try{kt.onCommitFiberRoot(Ot,e,void 0,(e.current.flags&128)==128)}catch{}}var jt=Math.clz32?Math.clz32:Pt,Mt=Math.log,Nt=Math.LN2;function Pt(e){return e>>>=0,e===0?32:31-(Mt(e)/Nt|0)|0}var Ft=64,It=4194304;function Lt(e){switch(e&-e){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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Rt(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~i;s===0?(a&=o,a!==0&&(r=Lt(a))):r=Lt(s)}else o=n&~i,o===0?a!==0&&(r=Lt(a)):r=Lt(o);if(r===0)return 0;if(t!==0&&t!==r&&(t&i)===0&&(i=r&-r,a=t&-t,i>=a||i===16&&a&4194240))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-jt(t),i=1<<n,r|=e[n],t&=~i;return r}function zt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Bt(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-jt(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=zt(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}}function Vt(e){return e=e.pendingLanes&-1073741825,e===0?e&1073741824?1073741824:0:e}function Ht(){var e=Ft;return Ft<<=1,!(Ft&4194240)&&(Ft=64),e}function Ut(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Wt(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-jt(t),e[t]=n}function Gt(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-jt(n),a=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~a}}function F(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-jt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var I=0;function Kt(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var qt,Jt,Yt,Xt,Zt,Qt=!1,$t=[],en=null,tn=null,nn=null,rn=new Map,an=new Map,on=[],sn=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit`.split(` `);function cn(e,t){switch(e){case`focusin`:case`focusout`:en=null;break;case`dragenter`:case`dragleave`:tn=null;break;case`mouseover`:case`mouseout`:nn=null;break;case`pointerover`:case`pointerout`:rn.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:an.delete(t.pointerId)}}function ln(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Ki(t),t!==null&&Jt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function un(e,t,n,r,i){switch(t){case`focusin`:return en=ln(en,e,t,n,r,i),!0;case`dragenter`:return tn=ln(tn,e,t,n,r,i),!0;case`mouseover`:return nn=ln(nn,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return rn.set(a,ln(rn.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,an.set(a,ln(an.get(a)||null,e,t,n,r,i)),!0}return!1}function dn(e){var t=Gi(e.target);if(t!==null){var n=ft(t);if(n!==null){if(t=n.tag,t===13){if(t=pt(n),t!==null){e.blockedOn=t,Zt(e.priority,function(){Yt(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function fn(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Cn(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Ue=r,n.target.dispatchEvent(r),Ue=null}else return t=Ki(n),t!==null&&Jt(t),e.blockedOn=n,!1;t.shift()}return!0}function pn(e,t,n){fn(e)&&n.delete(t)}function mn(){Qt=!1,en!==null&&fn(en)&&(en=null),tn!==null&&fn(tn)&&(tn=null),nn!==null&&fn(nn)&&(nn=null),rn.forEach(pn),an.forEach(pn)}function hn(e,t){e.blockedOn===t&&(e.blockedOn=null,Qt||(Qt=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,mn)))}function gn(e){function t(t){return hn(t,e)}if(0<$t.length){hn($t[0],e);for(var n=1;n<$t.length;n++){var r=$t[n];r.blockedOn===e&&(r.blockedOn=null)}}for(en!==null&&hn(en,e),tn!==null&&hn(tn,e),nn!==null&&hn(nn,e),rn.forEach(t),an.forEach(t),n=0;n<on.length;n++)r=on[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<on.length&&(n=on[0],n.blockedOn===null);)dn(n),n.blockedOn===null&&on.shift()}var _n=C.ReactCurrentBatchConfig,vn=!0;function yn(e,t,n,r){var i=I,a=_n.transition;_n.transition=null;try{I=1,xn(e,t,n,r)}finally{I=i,_n.transition=a}}function bn(e,t,n,r){var i=I,a=_n.transition;_n.transition=null;try{I=4,xn(e,t,n,r)}finally{I=i,_n.transition=a}}function xn(e,t,n,r){if(vn){var i=Cn(e,t,n,r);if(i===null)_i(e,t,r,Sn,n),cn(e,r);else if(un(i,e,t,n,r))r.stopPropagation();else if(cn(e,r),t&4&&-1<sn.indexOf(e)){for(;i!==null;){var a=Ki(i);if(a!==null&&qt(a),a=Cn(e,t,n,r),a===null&&_i(e,t,r,Sn,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else _i(e,t,r,null,n)}}var Sn=null;function Cn(e,t,n,r){if(Sn=null,e=We(r),e=Gi(e),e!==null)if(t=ft(e),t===null)e=null;else if(n=t.tag,n===13){if(e=pt(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Sn=e,null}function wn(e){switch(e){case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`resize`:case`seeked`:case`submit`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 1;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`scroll`:case`toggle`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 4;case`message`:switch(St()){case Ct:return 1;case wt:return 4;case Tt:case Et:return 16;case Dt:return 536870912;default:return 16}default:return 16}}var Tn=null,En=null,Dn=null;function On(){if(Dn)return Dn;var e,t=En,n=t.length,r,i=`value`in Tn?Tn.value:Tn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return Dn=i.slice(e,1<r?1-r:void 0)}function kn(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function An(){return!0}function jn(){return!1}function Mn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?An:jn,this.isPropagationStopped=jn,this}return N(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=An)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=An)},persist:function(){},isPersistent:An}),t}var Nn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Pn=Mn(Nn),Fn=N({},Nn,{view:0,detail:0}),In=Mn(Fn),Ln,Rn,zn,Bn=N({},Fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Zn,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==zn&&(zn&&e.type===`mousemove`?(Ln=e.screenX-zn.screenX,Rn=e.screenY-zn.screenY):Rn=Ln=0,zn=e),Ln)},movementY:function(e){return`movementY`in e?e.movementY:Rn}}),Vn=Mn(Bn),Hn=Mn(N({},Bn,{dataTransfer:0})),Un=Mn(N({},Fn,{relatedTarget:0})),Wn=Mn(N({},Nn,{animationName:0,elapsedTime:0,pseudoElement:0})),Gn=Mn(N({},Nn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Kn=Mn(N({},Nn,{data:0})),qn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Jn={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F5`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},Yn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Xn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Yn[e])?!!t[e]:!1}function Zn(){return Xn}var Qn=Mn(N({},Fn,{key:function(e){if(e.key){var t=qn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=kn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Jn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Zn,charCode:function(e){return e.type===`keypress`?kn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?kn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),$n=Mn(N({},Bn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),er=Mn(N({},Fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Zn})),tr=Mn(N({},Nn,{propertyName:0,elapsedTime:0,pseudoElement:0})),nr=Mn(N({},Bn,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),rr=[9,13,27,32],ir=c&&`CompositionEvent`in window,ar=null;c&&`documentMode`in document&&(ar=document.documentMode);var or=c&&`TextEvent`in window&&!ar,sr=c&&(!ir||ar&&8<ar&&11>=ar),cr=` `,lr=!1;function ur(e,t){switch(e){case`keyup`:return rr.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function dr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var fr=!1;function pr(e,t){switch(e){case`compositionend`:return dr(t);case`keypress`:return t.which===32?(lr=!0,cr):null;case`textInput`:return e=t.data,e===cr&&lr?null:e;default:return null}}function mr(e,t){if(fr)return e===`compositionend`||!ir&&ur(e,t)?(e=On(),Dn=En=Tn=null,fr=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return sr&&t.locale!==`ko`?null:t.data;default:return null}}var hr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function gr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!hr[e.type]:t===`textarea`}function _r(e,t,n,r){Ye(r),t=yi(t,`onChange`),0<t.length&&(n=new Pn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var vr=null,yr=null;function br(e){di(e,0)}function xr(e){if(_e(qi(e)))return e}function Sr(e,t){if(e===`change`)return t}var Cr=!1;if(c){var wr;if(c){var Tr=`oninput`in document;if(!Tr){var Er=document.createElement(`div`);Er.setAttribute(`oninput`,`return;`),Tr=typeof Er.oninput==`function`}wr=Tr}else wr=!1;Cr=wr&&(!document.documentMode||9<document.documentMode)}function Dr(){vr&&(vr.detachEvent(`onpropertychange`,Or),yr=vr=null)}function Or(e){if(e.propertyName===`value`&&xr(yr)){var t=[];_r(t,yr,e,We(e)),et(br,t)}}function kr(e,t,n){e===`focusin`?(Dr(),vr=t,yr=n,vr.attachEvent(`onpropertychange`,Or)):e===`focusout`&&Dr()}function Ar(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return xr(yr)}function jr(e,t){if(e===`click`)return xr(t)}function Mr(e,t){if(e===`input`||e===`change`)return xr(t)}function Nr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Pr=typeof Object.is==`function`?Object.is:Nr;function Fr(e,t){if(Pr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!l.call(t,i)||!Pr(e[i],t[i]))return!1}return!0}function Ir(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Lr(e,t){var n=Ir(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Ir(n)}}function Rr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Rr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function zr(){for(var e=window,t=ve();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=ve(e.document)}return t}function Br(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}function Vr(e){var t=zr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Rr(n.ownerDocument.documentElement,n)){if(r!==null&&Br(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),`selectionStart`in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=Lr(n,a);var o=Lr(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus==`function`&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Hr=c&&`documentMode`in document&&11>=document.documentMode,Ur=null,Wr=null,Gr=null,Kr=!1;function qr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Kr||Ur==null||Ur!==ve(r)||(r=Ur,`selectionStart`in r&&Br(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Gr&&Fr(Gr,r)||(Gr=r,r=yi(Wr,`onSelect`),0<r.length&&(t=new Pn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Ur)))}function Jr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Yr={animationend:Jr(`Animation`,`AnimationEnd`),animationiteration:Jr(`Animation`,`AnimationIteration`),animationstart:Jr(`Animation`,`AnimationStart`),transitionend:Jr(`Transition`,`TransitionEnd`)},Xr={},Zr={};c&&(Zr=document.createElement(`div`).style,`AnimationEvent`in window||(delete Yr.animationend.animation,delete Yr.animationiteration.animation,delete Yr.animationstart.animation),`TransitionEvent`in window||delete Yr.transitionend.transition);function Qr(e){if(Xr[e])return Xr[e];if(!Yr[e])return e;var t=Yr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Zr)return Xr[e]=t[n];return e}var $r=Qr(`animationend`),ei=Qr(`animationiteration`),ti=Qr(`animationstart`),ni=Qr(`transitionend`),ri=new Map,ii=`abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);function ai(e,t){ri.set(e,t),o(t,[e])}for(var oi=0;oi<ii.length;oi++){var si=ii[oi];ai(si.toLowerCase(),`on`+(si[0].toUpperCase()+si.slice(1)))}ai($r,`onAnimationEnd`),ai(ei,`onAnimationIteration`),ai(ti,`onAnimationStart`),ai(`dblclick`,`onDoubleClick`),ai(`focusin`,`onFocus`),ai(`focusout`,`onBlur`),ai(ni,`onTransitionEnd`),s(`onMouseEnter`,[`mouseout`,`mouseover`]),s(`onMouseLeave`,[`mouseout`,`mouseover`]),s(`onPointerEnter`,[`pointerout`,`pointerover`]),s(`onPointerLeave`,[`pointerout`,`pointerover`]),o(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),o(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),o(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),o(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),o(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),o(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var ci=`abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(` `),li=new Set(`cancel close invalid load scroll toggle`.split(` `).concat(ci));function ui(e,t,n){var r=e.type||`unknown-event`;e.currentTarget=n,dt(r,t,void 0,e),e.currentTarget=null}function di(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;ui(i,s,l),a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;ui(i,s,l),a=c}}}if(st)throw e=ct,st=!1,ct=null,e}function fi(e,t){var n=t[Hi];n===void 0&&(n=t[Hi]=new Set);var r=e+`__bubble`;n.has(r)||(gi(t,e,2,!1),n.add(r))}function pi(e,t,n){var r=0;t&&(r|=4),gi(n,e,r,t)}var mi=`_reactListening`+Math.random().toString(36).slice(2);function hi(e){if(!e[mi]){e[mi]=!0,i.forEach(function(t){t!==`selectionchange`&&(li.has(t)||pi(t,!1,e),pi(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[mi]||(t[mi]=!0,pi(`selectionchange`,!1,t))}}function gi(e,t,n,r){switch(wn(t)){case 1:var i=yn;break;case 4:i=bn;break;default:i=xn}n=i.bind(null,t,n,e),i=void 0,!nt||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function _i(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var s=r.stateNode.containerInfo;if(s===i||s.nodeType===8&&s.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&(c=o.stateNode.containerInfo,c===i||c.nodeType===8&&c.parentNode===i))return;o=o.return}for(;s!==null;){if(o=Gi(s),o===null)return;if(c=o.tag,c===5||c===6){r=a=o;continue a}s=s.parentNode}}r=r.return}et(function(){var r=a,i=We(n),o=[];a:{var s=ri.get(e);if(s!==void 0){var c=Pn,l=e;switch(e){case`keypress`:if(kn(n)===0)break a;case`keydown`:case`keyup`:c=Qn;break;case`focusin`:l=`focus`,c=Un;break;case`focusout`:l=`blur`,c=Un;break;case`beforeblur`:case`afterblur`:c=Un;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:c=Vn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:c=Hn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:c=er;break;case $r:case ei:case ti:c=Wn;break;case ni:c=tr;break;case`scroll`:c=In;break;case`wheel`:c=nr;break;case`copy`:case`cut`:case`paste`:c=Gn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:c=$n}var u=(t&4)!=0,d=!u&&e===`scroll`,f=u?s===null?null:s+`Capture`:s;u=[];for(var p=r,m;p!==null;){m=p;var h=m.stateNode;if(m.tag===5&&h!==null&&(m=h,f!==null&&(h=tt(p,f),h!=null&&u.push(vi(p,h,m)))),d)break;p=p.return}0<u.length&&(s=new c(s,l,null,n,i),o.push({event:s,listeners:u}))}}if(!(t&7)){a:{if(s=e===`mouseover`||e===`pointerover`,c=e===`mouseout`||e===`pointerout`,s&&n!==Ue&&(l=n.relatedTarget||n.fromElement)&&(Gi(l)||l[Vi]))break a;if((c||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,c?(l=n.relatedTarget||n.toElement,c=r,l=l?Gi(l):null,l!==null&&(d=ft(l),l!==d||l.tag!==5&&l.tag!==6)&&(l=null)):(c=null,l=r),c!==l)){if(u=Vn,h=`onMouseLeave`,f=`onMouseEnter`,p=`mouse`,(e===`pointerout`||e===`pointerover`)&&(u=$n,h=`onPointerLeave`,f=`onPointerEnter`,p=`pointer`),d=c==null?s:qi(c),m=l==null?s:qi(l),s=new u(h,p+`leave`,c,n,i),s.target=d,s.relatedTarget=m,h=null,Gi(i)===r&&(u=new u(f,p+`enter`,l,n,i),u.target=m,u.relatedTarget=d,h=u),d=h,c&&l)b:{for(u=c,f=l,p=0,m=u;m;m=bi(m))p++;for(m=0,h=f;h;h=bi(h))m++;for(;0<p-m;)u=bi(u),p--;for(;0<m-p;)f=bi(f),m--;for(;p--;){if(u===f||f!==null&&u===f.alternate)break b;u=bi(u),f=bi(f)}u=null}else u=null;c!==null&&xi(o,s,c,u,!1),l!==null&&d!==null&&xi(o,d,l,u,!0)}}a:{if(s=r?qi(r):window,c=s.nodeName&&s.nodeName.toLowerCase(),c===`select`||c===`input`&&s.type===`file`)var g=Sr;else if(gr(s))if(Cr)g=Mr;else{g=Ar;var _=kr}else (c=s.nodeName)&&c.toLowerCase()===`input`&&(s.type===`checkbox`||s.type===`radio`)&&(g=jr);if(g&&=g(e,r)){_r(o,g,n,i);break a}_&&_(e,s,r),e===`focusout`&&(_=s._wrapperState)&&_.controlled&&s.type===`number`&&we(s,`number`,s.value)}switch(_=r?qi(r):window,e){case`focusin`:(gr(_)||_.contentEditable===`true`)&&(Ur=_,Wr=r,Gr=null);break;case`focusout`:Gr=Wr=Ur=null;break;case`mousedown`:Kr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Kr=!1,qr(o,n,i);break;case`selectionchange`:if(Hr)break;case`keydown`:case`keyup`:qr(o,n,i)}var v;if(ir)b:{switch(e){case`compositionstart`:var y=`onCompositionStart`;break b;case`compositionend`:y=`onCompositionEnd`;break b;case`compositionupdate`:y=`onCompositionUpdate`;break b}y=void 0}else fr?ur(e,n)&&(y=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(y=`onCompositionStart`);y&&(sr&&n.locale!==`ko`&&(fr||y!==`onCompositionStart`?y===`onCompositionEnd`&&fr&&(v=On()):(Tn=i,En=`value`in Tn?Tn.value:Tn.textContent,fr=!0)),_=yi(r,y),0<_.length&&(y=new Kn(y,e,null,n,i),o.push({event:y,listeners:_}),v?y.data=v:(v=dr(n),v!==null&&(y.data=v)))),(v=or?pr(e,n):mr(e,n))&&(r=yi(r,`onBeforeInput`),0<r.length&&(i=new Kn(`onBeforeInput`,`beforeinput`,null,n,i),o.push({event:i,listeners:r}),i.data=v))}di(o,t)})}function vi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function yi(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=tt(e,n),a!=null&&r.unshift(vi(e,a,i)),a=tt(e,t),a!=null&&r.push(vi(e,a,i))),e=e.return}return r}function bi(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function xi(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(c!==null&&c===r)break;s.tag===5&&l!==null&&(s=l,i?(c=tt(n,a),c!=null&&o.unshift(vi(n,c,s))):i||(c=tt(n,a),c!=null&&o.push(vi(n,c,s)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Si=/\r\n?/g,Ci=/\u0000|\uFFFD/g;function wi(e){return(typeof e==`string`?e:``+e).replace(Si,`
|
|
6
|
-
`).replace(Ci,``)}function Ti(e,t,n){if(t=wi(t),wi(e)!==t&&n)throw Error(r(425))}function Ei(){}var Di=null,Oi=null;function ki(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Ai=typeof setTimeout==`function`?setTimeout:void 0,ji=typeof clearTimeout==`function`?clearTimeout:void 0,Mi=typeof Promise==`function`?Promise:void 0,Ni=typeof queueMicrotask==`function`?queueMicrotask:Mi===void 0?Ai:function(e){return Mi.resolve(null).then(e).catch(Pi)};function Pi(e){setTimeout(function(){throw e})}function Fi(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===`/$`){if(r===0){e.removeChild(i),gn(t);return}r--}else n!==`$`&&n!==`$?`&&n!==`$!`||r++;n=i}while(n);gn(t)}function Ii(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`)break;if(t===`/$`)return null}}return e}function Li(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`){if(t===0)return e;t--}else n===`/$`&&t++}e=e.previousSibling}return null}var Ri=Math.random().toString(36).slice(2),zi=`__reactFiber$`+Ri,Bi=`__reactProps$`+Ri,Vi=`__reactContainer$`+Ri,Hi=`__reactEvents$`+Ri,Ui=`__reactListeners$`+Ri,Wi=`__reactHandles$`+Ri;function Gi(e){var t=e[zi];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Vi]||n[zi]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Li(e);e!==null;){if(n=e[zi])return n;e=Li(e)}return t}e=n,n=e.parentNode}return null}function Ki(e){return e=e[zi]||e[Vi],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function qi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(r(33))}function Ji(e){return e[Bi]||null}var Yi=[],Xi=-1;function Zi(e){return{current:e}}function Qi(e){0>Xi||(e.current=Yi[Xi],Yi[Xi]=null,Xi--)}function L(e,t){Xi++,Yi[Xi]=e.current,e.current=t}var $i={},ea=Zi($i),ta=Zi(!1),na=$i;function ra(e,t){var n=e.type.contextTypes;if(!n)return $i;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ia(e){return e=e.childContextTypes,e!=null}function aa(){Qi(ta),Qi(ea)}function oa(e,t,n){if(ea.current!==$i)throw Error(r(168));L(ea,t),L(ta,n)}function sa(e,t,n){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!=`function`)return n;for(var a in i=i.getChildContext(),i)if(!(a in t))throw Error(r(108,fe(e)||`Unknown`,a));return N({},n,i)}function ca(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||$i,na=ea.current,L(ea,e),L(ta,ta.current),!0}function R(e,t,n){var i=e.stateNode;if(!i)throw Error(r(169));n?(e=sa(e,t,na),i.__reactInternalMemoizedMergedChildContext=e,Qi(ta),Qi(ea),L(ea,e)):Qi(ta),L(ta,n)}var la=null,ua=!1,da=!1;function fa(e){la===null?la=[e]:la.push(e)}function pa(e){ua=!0,fa(e)}function ma(){if(!da&&la!==null){da=!0;var e=0,t=I;try{var n=la;for(I=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}la=null,ua=!1}catch(t){throw la!==null&&(la=la.slice(e+1)),vt(Ct,ma),t}finally{I=t,da=!1}}return null}var ha=[],ga=0,_a=null,va=0,ya=[],ba=0,xa=null,Sa=1,Ca=``;function wa(e,t){ha[ga++]=va,ha[ga++]=_a,_a=e,va=t}function Ta(e,t,n){ya[ba++]=Sa,ya[ba++]=Ca,ya[ba++]=xa,xa=e;var r=Sa;e=Ca;var i=32-jt(r)-1;r&=~(1<<i),n+=1;var a=32-jt(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Sa=1<<32-jt(t)+i|n<<i|r,Ca=a+e}else Sa=1<<a|n<<i|r,Ca=e}function Ea(e){e.return!==null&&(wa(e,1),Ta(e,1,0))}function Da(e){for(;e===_a;)_a=ha[--ga],ha[ga]=null,va=ha[--ga],ha[ga]=null;for(;e===xa;)xa=ya[--ba],ya[ba]=null,Ca=ya[--ba],ya[ba]=null,Sa=ya[--ba],ya[ba]=null}var Oa=null,ka=null,Aa=!1,ja=null;function Ma(e,t){var n=eu(5,null,null,0);n.elementType=`DELETED`,n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Na(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t===null?!1:(e.stateNode=t,Oa=e,ka=Ii(t.firstChild),!0);case 6:return t=e.pendingProps===``||t.nodeType!==3?null:t,t===null?!1:(e.stateNode=t,Oa=e,ka=null,!0);case 13:return t=t.nodeType===8?t:null,t===null?!1:(n=xa===null?null:{id:Sa,overflow:Ca},e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=eu(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Oa=e,ka=null,!0);default:return!1}}function Pa(e){return(e.mode&1)!=0&&(e.flags&128)==0}function Fa(e){if(Aa){var t=ka;if(t){var n=t;if(!Na(e,t)){if(Pa(e))throw Error(r(418));t=Ii(n.nextSibling);var i=Oa;t&&Na(e,t)?Ma(i,n):(e.flags=e.flags&-4097|2,Aa=!1,Oa=e)}}else{if(Pa(e))throw Error(r(418));e.flags=e.flags&-4097|2,Aa=!1,Oa=e}}}function Ia(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Oa=e}function La(e){if(e!==Oa)return!1;if(!Aa)return Ia(e),Aa=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!==`head`&&t!==`body`&&!ki(e.type,e.memoizedProps)),t&&=ka){if(Pa(e))throw Ra(),Error(r(418));for(;t;)Ma(e,t),t=Ii(t.nextSibling)}if(Ia(e),e.tag===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(r(317));a:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`){if(t===0){ka=Ii(e.nextSibling);break a}t--}else n!==`$`&&n!==`$!`&&n!==`$?`||t++}e=e.nextSibling}ka=null}}else ka=Oa?Ii(e.stateNode.nextSibling):null;return!0}function Ra(){for(var e=ka;e;)e=Ii(e.nextSibling)}function za(){ka=Oa=null,Aa=!1}function Ba(e){ja===null?ja=[e]:ja.push(e)}var Va=C.ReactCurrentBatchConfig;function Ha(e,t,n){if(e=n.ref,e!==null&&typeof e!=`function`&&typeof e!=`object`){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(r(309));var i=n.stateNode}if(!i)throw Error(r(147,e));var a=i,o=``+e;return t!==null&&t.ref!==null&&typeof t.ref==`function`&&t.ref._stringRef===o?t.ref:(t=function(e){var t=a.refs;e===null?delete t[o]:t[o]=e},t._stringRef=o,t)}if(typeof e!=`string`)throw Error(r(284));if(!n._owner)throw Error(r(290,e))}return e}function Ua(e,t){throw e=Object.prototype.toString.call(t),Error(r(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e))}function Wa(e){var t=e._init;return t(e._payload)}function Ga(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function i(e,t){for(e=new Map;t!==null;)t.key===null?e.set(t.index,t):e.set(t.key,t),t=t.sibling;return e}function a(e,t){return e=ru(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=2,n):(r=r.index,r<n?(t.flags|=2,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=2),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=su(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===E?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===re&&Wa(i)===t.type)?(r=a(t,n.props),r.ref=Ha(e,t,n),r.return=e,r):(r=iu(n.type,n.key,n.props,null,e.mode,r),r.ref=Ha(e,t,n),r.return=e,r)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=cu(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=au(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`)return t=su(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case w:return n=iu(t.type,t.key,t.props,null,e.mode,n),n.ref=Ha(e,null,t),n.return=e,n;case T:return t=cu(t,e.mode,n),t.return=e,t;case re:var r=t._init;return f(e,r(t._payload),n)}if(Te(t)||ae(t))return t=au(t,e.mode,n,null),t.return=e,t;Ua(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case w:return n.key===i?l(e,t,n,r):null;case T:return n.key===i?u(e,t,n,r):null;case re:return i=n._init,p(e,t,i(n._payload),r)}if(Te(n)||ae(n))return i===null?d(e,t,n,r,null):null;Ua(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case w:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case T:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case re:var a=r._init;return m(e,t,n,a(r._payload),i)}if(Te(r)||ae(r))return e=e.get(n)||null,d(t,e,r,i,null);Ua(t,r)}return null}function h(r,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(r,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(r,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(r,d),Aa&&wa(r,h),l;if(d===null){for(;h<s.length;h++)d=f(r,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return Aa&&wa(r,h),l}for(d=i(r,d);h<s.length;h++)g=m(d,r,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(r,e)}),Aa&&wa(r,h),l}function g(a,s,c,l){var u=ae(c);if(typeof u!=`function`)throw Error(r(150));if(c=u.call(c),c==null)throw Error(r(151));for(var d=u=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),Aa&&wa(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return Aa&&wa(a,g),u}for(h=i(a,h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),Aa&&wa(a,g),u}function _(e,r,i,o){if(typeof i==`object`&&i&&i.type===E&&i.key===null&&(i=i.props.children),typeof i==`object`&&i){switch(i.$$typeof){case w:a:{for(var c=i.key,l=r;l!==null;){if(l.key===c){if(c=i.type,c===E){if(l.tag===7){n(e,l.sibling),r=a(l,i.props.children),r.return=e,e=r;break a}}else if(l.elementType===c||typeof c==`object`&&c&&c.$$typeof===re&&Wa(c)===l.type){n(e,l.sibling),r=a(l,i.props),r.ref=Ha(e,l,i),r.return=e,e=r;break a}n(e,l);break}else t(e,l);l=l.sibling}i.type===E?(r=au(i.props.children,e.mode,o,i.key),r.return=e,e=r):(o=iu(i.type,i.key,i.props,null,e.mode,o),o.ref=Ha(e,r,i),o.return=e,e=o)}return s(e);case T:a:{for(l=i.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),r=a(r,i.children||[]),r.return=e,e=r;break a}else{n(e,r);break}else t(e,r);r=r.sibling}r=cu(i,e.mode,o),r.return=e,e=r}return s(e);case re:return l=i._init,_(e,r,l(i._payload),o)}if(Te(i))return h(e,r,i,o);if(ae(i))return g(e,r,i,o);Ua(e,i)}return typeof i==`string`&&i!==``||typeof i==`number`?(i=``+i,r!==null&&r.tag===6?(n(e,r.sibling),r=a(r,i),r.return=e,e=r):(n(e,r),r=su(i,e.mode,o),r.return=e,e=r),s(e)):n(e,r)}return _}var Ka=Ga(!0),qa=Ga(!1),Ja=Zi(null),Ya=null,Xa=null,Za=null;function Qa(){Za=Xa=Ya=null}function $a(e){var t=Ja.current;Qi(Ja),e._currentValue=t}function eo(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function to(e,t){Ya=e,Za=Xa=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Hs=!0),e.firstContext=null)}function no(e){var t=e._currentValue;if(Za!==e)if(e={context:e,memoizedValue:t,next:null},Xa===null){if(Ya===null)throw Error(r(308));Xa=e,Ya.dependencies={lanes:0,firstContext:e}}else Xa=Xa.next=e;return t}var ro=null;function io(e){ro===null?ro=[e]:ro.push(e)}function ao(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,io(t)):(n.next=i.next,i.next=n),t.interleaved=n,oo(e,r)}function oo(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var so=!1;function co(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function lo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function uo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function fo(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,W&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,oo(e,n)}return i=r.interleaved,i===null?(t.next=t,io(r)):(t.next=i.next,i.next=t),r.interleaved=t,oo(e,n)}function po(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194240)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,F(e,n)}}function mo(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ho(e,t,n,r){var i=e.updateQueue;so=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane,p=s.eventTime;if((r&f)===f){u!==null&&(u=u.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});a:{var m=e,h=s;switch(f=t,p=n,h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(p,d,f);break a}d=m;break a;case 3:m.flags=m.flags&-65537|128;case 0:if(m=h.payload,f=typeof m==`function`?m.call(p,d,f):m,f==null)break a;d=N({},d,f);break a;case 2:so=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;f=s,s=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(1);if(u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else a===null&&(i.shared.lanes=0);nl|=o,e.lanes=o,e.memoizedState=d}}function go(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var i=e[t],a=i.callback;if(a!==null){if(i.callback=null,i=n,typeof a!=`function`)throw Error(r(191,a));a.call(i)}}}var _o={},vo=Zi(_o),yo=Zi(_o),bo=Zi(_o);function xo(e){if(e===_o)throw Error(r(174));return e}function So(e,t){switch(L(bo,t),L(yo,e),L(vo,_o),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Me(null,``);break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Me(t,e)}Qi(vo),L(vo,t)}function Co(){Qi(vo),Qi(yo),Qi(bo)}function wo(e){xo(bo.current);var t=xo(vo.current),n=Me(t,e.type);t!==n&&(L(yo,e),L(vo,n))}function To(e){yo.current===e&&(Qi(vo),Qi(yo))}var Eo=Zi(0);function Do(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data===`$?`||n.data===`$!`))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Oo=[];function ko(){for(var e=0;e<Oo.length;e++)Oo[e]._workInProgressVersionPrimary=null;Oo.length=0}var Ao=C.ReactCurrentDispatcher,jo=C.ReactCurrentBatchConfig,Mo=0,No=null,Po=null,Fo=null,Io=!1,Lo=!1,Ro=0,zo=0;function Bo(){throw Error(r(321))}function Vo(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Pr(e[n],t[n]))return!1;return!0}function Ho(e,t,n,i,a,o){if(Mo=o,No=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ao.current=e===null||e.memoizedState===null?Ss:Cs,e=n(i,a),Lo){o=0;do{if(Lo=!1,Ro=0,25<=o)throw Error(r(301));o+=1,Fo=Po=null,t.updateQueue=null,Ao.current=ws,e=n(i,a)}while(Lo)}if(Ao.current=xs,t=Po!==null&&Po.next!==null,Mo=0,Fo=Po=No=null,Io=!1,t)throw Error(r(300));return e}function Uo(){var e=Ro!==0;return Ro=0,e}function Wo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Fo===null?No.memoizedState=Fo=e:Fo=Fo.next=e,Fo}function z(){if(Po===null){var e=No.alternate;e=e===null?null:e.memoizedState}else e=Po.next;var t=Fo===null?No.memoizedState:Fo.next;if(t!==null)Fo=t,Po=e;else{if(e===null)throw Error(r(310));Po=e,e={memoizedState:Po.memoizedState,baseState:Po.baseState,baseQueue:Po.baseQueue,queue:Po.queue,next:null},Fo===null?No.memoizedState=Fo=e:Fo=Fo.next=e}return Fo}function Go(e,t){return typeof t==`function`?t(e):t}function Ko(e){var t=z(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var i=Po,a=i.baseQueue,o=n.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}i.baseQueue=a=o,n.pending=null}if(a!==null){o=a.next,i=i.baseState;var c=s=null,l=null,u=o;do{var d=u.lane;if((Mo&d)===d)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),i=u.hasEagerState?u.eagerState:e(i,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(c=l=f,s=i):l=l.next=f,No.lanes|=d,nl|=d}u=u.next}while(u!==null&&u!==o);l===null?s=i:l.next=c,Pr(i,t.memoizedState)||(Hs=!0),t.memoizedState=i,t.baseState=s,t.baseQueue=l,n.lastRenderedState=i}if(e=n.interleaved,e!==null){a=e;do o=a.lane,No.lanes|=o,nl|=o,a=a.next;while(a!==e)}else a===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function qo(e){var t=z(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var i=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);Pr(o,t.memoizedState)||(Hs=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,i]}function Jo(){}function Yo(e,t){var n=No,i=z(),a=t(),o=!Pr(i.memoizedState,a);if(o&&(i.memoizedState=a,Hs=!0),i=i.queue,os(Qo.bind(null,n,i,e),[e]),i.getSnapshot!==t||o||Fo!==null&&Fo.memoizedState.tag&1){if(n.flags|=2048,ts(9,Zo.bind(null,n,i,a,t),void 0,null),Xc===null)throw Error(r(349));Mo&30||Xo(n,t,a)}return a}function Xo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=No.updateQueue,t===null?(t={lastEffect:null,stores:null},No.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Zo(e,t,n,r){t.value=n,t.getSnapshot=r,$o(t)&&B(e)}function Qo(e,t,n){return n(function(){$o(t)&&B(e)})}function $o(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Pr(e,n)}catch{return!0}}function B(e){var t=oo(e,1);t!==null&&Sl(t,e,1,-1)}function es(e){var t=Wo();return typeof e==`function`&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Go,lastRenderedState:e},t.queue=e,e=e.dispatch=_s.bind(null,No,e),[t.memoizedState,e]}function ts(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=No.updateQueue,t===null?(t={lastEffect:null,stores:null},No.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function ns(){return z().memoizedState}function rs(e,t,n,r){var i=Wo();No.flags|=e,i.memoizedState=ts(1|t,n,void 0,r===void 0?null:r)}function is(e,t,n,r){var i=z();r=r===void 0?null:r;var a=void 0;if(Po!==null){var o=Po.memoizedState;if(a=o.destroy,r!==null&&Vo(r,o.deps)){i.memoizedState=ts(t,n,a,r);return}}No.flags|=e,i.memoizedState=ts(1|t,n,a,r)}function as(e,t){return rs(8390656,8,e,t)}function os(e,t){return is(2048,8,e,t)}function ss(e,t){return is(4,2,e,t)}function cs(e,t){return is(4,4,e,t)}function ls(e,t){if(typeof t==`function`)return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function us(e,t,n){return n=n==null?null:n.concat([e]),is(4,4,ls.bind(null,t,e),n)}function ds(){}function V(e,t){var n=z();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Vo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function fs(e,t){var n=z();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Vo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ps(e,t,n){return Mo&21?(Pr(n,t)||(n=Ht(),No.lanes|=n,nl|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Hs=!0),e.memoizedState=n)}function ms(e,t){var n=I;I=n!==0&&4>n?n:4,e(!0);var r=jo.transition;jo.transition={};try{e(!1),t()}finally{I=n,jo.transition=r}}function hs(){return z().memoizedState}function gs(e,t,n){var r=xl(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},vs(e))ys(t,n);else if(n=ao(e,t,n,r),n!==null){var i=bl();Sl(n,e,r,i),bs(n,t,r)}}function _s(e,t,n){var r=xl(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(vs(e))ys(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Pr(s,o)){var c=t.interleaved;c===null?(i.next=i,io(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}n=ao(e,t,i,r),n!==null&&(i=bl(),Sl(n,e,r,i),bs(n,t,r))}}function vs(e){var t=e.alternate;return e===No||t!==null&&t===No}function ys(e,t){Lo=Io=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function bs(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,F(e,n)}}var xs={readContext:no,useCallback:Bo,useContext:Bo,useEffect:Bo,useImperativeHandle:Bo,useInsertionEffect:Bo,useLayoutEffect:Bo,useMemo:Bo,useReducer:Bo,useRef:Bo,useState:Bo,useDebugValue:Bo,useDeferredValue:Bo,useTransition:Bo,useMutableSource:Bo,useSyncExternalStore:Bo,useId:Bo,unstable_isNewReconciler:!1},Ss={readContext:no,useCallback:function(e,t){return Wo().memoizedState=[e,t===void 0?null:t],e},useContext:no,useEffect:as,useImperativeHandle:function(e,t,n){return n=n==null?null:n.concat([e]),rs(4194308,4,ls.bind(null,t,e),n)},useLayoutEffect:function(e,t){return rs(4194308,4,e,t)},useInsertionEffect:function(e,t){return rs(4,2,e,t)},useMemo:function(e,t){var n=Wo();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Wo();return t=n===void 0?t:n(t),r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=gs.bind(null,No,e),[r.memoizedState,e]},useRef:function(e){var t=Wo();return e={current:e},t.memoizedState=e},useState:es,useDebugValue:ds,useDeferredValue:function(e){return Wo().memoizedState=e},useTransition:function(){var e=es(!1),t=e[0];return e=ms.bind(null,e[1]),Wo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=No,a=Wo();if(Aa){if(n===void 0)throw Error(r(407));n=n()}else{if(n=t(),Xc===null)throw Error(r(349));Mo&30||Xo(i,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,as(Qo.bind(null,i,o,e),[e]),i.flags|=2048,ts(9,Zo.bind(null,i,o,n,t),void 0,null),n},useId:function(){var e=Wo(),t=Xc.identifierPrefix;if(Aa){var n=Ca,r=Sa;n=(r&~(1<<32-jt(r)-1)).toString(32)+n,t=`:`+t+`R`+n,n=Ro++,0<n&&(t+=`H`+n.toString(32)),t+=`:`}else n=zo++,t=`:`+t+`r`+n.toString(32)+`:`;return e.memoizedState=t},unstable_isNewReconciler:!1},Cs={readContext:no,useCallback:V,useContext:no,useEffect:os,useImperativeHandle:us,useInsertionEffect:ss,useLayoutEffect:cs,useMemo:fs,useReducer:Ko,useRef:ns,useState:function(){return Ko(Go)},useDebugValue:ds,useDeferredValue:function(e){return ps(z(),Po.memoizedState,e)},useTransition:function(){return[Ko(Go)[0],z().memoizedState]},useMutableSource:Jo,useSyncExternalStore:Yo,useId:hs,unstable_isNewReconciler:!1},ws={readContext:no,useCallback:V,useContext:no,useEffect:os,useImperativeHandle:us,useInsertionEffect:ss,useLayoutEffect:cs,useMemo:fs,useReducer:qo,useRef:ns,useState:function(){return qo(Go)},useDebugValue:ds,useDeferredValue:function(e){var t=z();return Po===null?t.memoizedState=e:ps(t,Po.memoizedState,e)},useTransition:function(){return[qo(Go)[0],z().memoizedState]},useMutableSource:Jo,useSyncExternalStore:Yo,useId:hs,unstable_isNewReconciler:!1};function Ts(e,t){if(e&&e.defaultProps){for(var n in t=N({},t),e=e.defaultProps,e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Es(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:N({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ds={isMounted:function(e){return(e=e._reactInternals)?ft(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=bl(),i=xl(e),a=uo(r,i);a.payload=t,n!=null&&(a.callback=n),t=fo(e,a,i),t!==null&&(Sl(t,e,i,r),po(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=bl(),i=xl(e),a=uo(r,i);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=fo(e,a,i),t!==null&&(Sl(t,e,i,r),po(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=bl(),r=xl(e),i=uo(n,r);i.tag=2,t!=null&&(i.callback=t),t=fo(e,i,r),t!==null&&(Sl(t,e,r,n),po(t,e,r))}};function Os(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Fr(n,r)||!Fr(i,a):!0}function ks(e,t,n){var r=!1,i=$i,a=t.contextType;return typeof a==`object`&&a?a=no(a):(i=ia(t)?na:ea.current,r=t.contextTypes,a=(r=r!=null)?ra(e,i):$i),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ds,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function As(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ds.enqueueReplaceState(t,t.state,null)}function js(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},co(e);var a=t.contextType;typeof a==`object`&&a?i.context=no(a):(a=ia(t)?na:ea.current,i.context=ra(e,a)),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a==`function`&&(Es(e,t,a,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps==`function`||typeof i.getSnapshotBeforeUpdate==`function`||typeof i.UNSAFE_componentWillMount!=`function`&&typeof i.componentWillMount!=`function`||(t=i.state,typeof i.componentWillMount==`function`&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount==`function`&&i.UNSAFE_componentWillMount(),t!==i.state&&Ds.enqueueReplaceState(i,i.state,null),ho(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount==`function`&&(e.flags|=4194308)}function Ms(e,t){try{var n=``,r=t;do n+=ue(r),r=r.return;while(r);var i=n}catch(e){i=`
|
|
7
|
-
Error generating stack: `+e.message+`
|
|
8
|
-
`+e.stack}return{value:e,source:t,stack:i,digest:null}}function Ns(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ps(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var Fs=typeof WeakMap==`function`?WeakMap:Map;function Is(e,t,n){n=uo(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ul||(ul=!0,dl=r),Ps(e,t)},n}function Ls(e,t,n){n=uo(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r==`function`){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Ps(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch==`function`&&(n.callback=function(){Ps(e,t),typeof r!=`function`&&(fl===null?fl=new Set([this]):fl.add(this));var n=t.stack;this.componentDidCatch(t.value,{componentStack:n===null?``:n})}),n}function Rs(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Fs;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=ql.bind(null,e,t,n),t.then(e,e))}function zs(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t===null?!0:t.dehydrated!==null),t)return e;e=e.return}while(e!==null);return null}function Bs(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=uo(-1,1),t.tag=2,fo(n,t,1))),n.lanes|=1),e)}var Vs=C.ReactCurrentOwner,Hs=!1;function Us(e,t,n,r){t.child=e===null?qa(t,null,n,r):Ka(t,e.child,n,r)}function Ws(e,t,n,r,i){n=n.render;var a=t.ref;return to(t,i),r=Ho(e,t,n,r,a,i),n=Uo(),e!==null&&!Hs?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,uc(e,t,i)):(Aa&&n&&Ea(t),t.flags|=1,Us(e,t,r,i),t.child)}function Gs(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!tu(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,Ks(e,t,a,r,i)):(e=iu(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,(e.lanes&i)===0){var o=a.memoizedProps;if(n=n.compare,n=n===null?Fr:n,n(o,r)&&e.ref===t.ref)return uc(e,t,i)}return t.flags|=1,e=ru(a,r),e.ref=t.ref,e.return=t,t.child=e}function Ks(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Fr(a,r)&&e.ref===t.ref)if(Hs=!1,t.pendingProps=r=a,(e.lanes&i)!==0)e.flags&131072&&(Hs=!0);else return t.lanes=e.lanes,uc(e,t,i)}return Ys(e,t,n,r,i)}function qs(e,t,n){var r=t.pendingProps,i=r.children,a=e===null?null:e.memoizedState;if(r.mode===`hidden`)if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},L(el,$c),$c|=n;else{if(!(n&1073741824))return e=a===null?n:a.baseLanes|n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,L(el,$c),$c|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a===null?n:a.baseLanes,L(el,$c),$c|=r}else a===null?r=n:(r=a.baseLanes|n,t.memoizedState=null),L(el,$c),$c|=r;return Us(e,t,i,n),t.child}function Js(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ys(e,t,n,r,i){var a=ia(n)?na:ea.current;return a=ra(t,a),to(t,i),n=Ho(e,t,n,r,a,i),r=Uo(),e!==null&&!Hs?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,uc(e,t,i)):(Aa&&r&&Ea(t),t.flags|=1,Us(e,t,n,i),t.child)}function Xs(e,t,n,r,i){if(ia(n)){var a=!0;ca(t)}else a=!1;if(to(t,i),t.stateNode===null)lc(e,t),ks(t,n,r),js(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,s=t.memoizedProps;o.props=s;var c=o.context,l=n.contextType;typeof l==`object`&&l?l=no(l):(l=ia(n)?na:ea.current,l=ra(t,l));var u=n.getDerivedStateFromProps,d=typeof u==`function`||typeof o.getSnapshotBeforeUpdate==`function`;d||typeof o.UNSAFE_componentWillReceiveProps!=`function`&&typeof o.componentWillReceiveProps!=`function`||(s!==r||c!==l)&&As(t,o,r,l),so=!1;var f=t.memoizedState;o.state=f,ho(t,r,o,i),c=t.memoizedState,s!==r||f!==c||ta.current||so?(typeof u==`function`&&(Es(t,n,u,r),c=t.memoizedState),(s=so||Os(t,n,s,r,f,c,l))?(d||typeof o.UNSAFE_componentWillMount!=`function`&&typeof o.componentWillMount!=`function`||(typeof o.componentWillMount==`function`&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount==`function`&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount==`function`&&(t.flags|=4194308)):(typeof o.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),o.props=r,o.state=c,o.context=l,r=s):(typeof o.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,lo(e,t),s=t.memoizedProps,l=t.type===t.elementType?s:Ts(t.type,s),o.props=l,d=t.pendingProps,f=o.context,c=n.contextType,typeof c==`object`&&c?c=no(c):(c=ia(n)?na:ea.current,c=ra(t,c));var p=n.getDerivedStateFromProps;(u=typeof p==`function`||typeof o.getSnapshotBeforeUpdate==`function`)||typeof o.UNSAFE_componentWillReceiveProps!=`function`&&typeof o.componentWillReceiveProps!=`function`||(s!==d||f!==c)&&As(t,o,r,c),so=!1,f=t.memoizedState,o.state=f,ho(t,r,o,i);var m=t.memoizedState;s!==d||f!==m||ta.current||so?(typeof p==`function`&&(Es(t,n,p,r),m=t.memoizedState),(l=so||Os(t,n,l,r,f,m,c)||!1)?(u||typeof o.UNSAFE_componentWillUpdate!=`function`&&typeof o.componentWillUpdate!=`function`||(typeof o.componentWillUpdate==`function`&&o.componentWillUpdate(r,m,c),typeof o.UNSAFE_componentWillUpdate==`function`&&o.UNSAFE_componentWillUpdate(r,m,c)),typeof o.componentDidUpdate==`function`&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof o.componentDidUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),o.props=r,o.state=m,o.context=c,r=l):(typeof o.componentDidUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Zs(e,t,n,r,a,i)}function Zs(e,t,n,r,i,a){Js(e,t);var o=(t.flags&128)!=0;if(!r&&!o)return i&&R(t,n,!1),uc(e,t,a);r=t.stateNode,Vs.current=t;var s=o&&typeof n.getDerivedStateFromError!=`function`?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Ka(t,e.child,null,a),t.child=Ka(t,null,s,a)):Us(e,t,s,a),t.memoizedState=r.state,i&&R(t,n,!0),t.child}function Qs(e){var t=e.stateNode;t.pendingContext?oa(e,t.pendingContext,t.pendingContext!==t.context):t.context&&oa(e,t.context,!1),So(e,t.containerInfo)}function $s(e,t,n,r,i){return za(),Ba(i),t.flags|=256,Us(e,t,n,r),t.child}var ec={dehydrated:null,treeContext:null,retryLane:0};function tc(e){return{baseLanes:e,cachePool:null,transitions:null}}function nc(e,t,n){var r=t.pendingProps,i=Eo.current,a=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!=0),s?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),L(Eo,i&1),e===null)return Fa(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data===`$!`?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,a?(r=t.mode,a=t.child,o={mode:`hidden`,children:o},!(r&1)&&a!==null?(a.childLanes=0,a.pendingProps=o):a=ou(o,r,0,null),e=au(e,r,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=tc(n),t.memoizedState=ec,e):rc(t,o));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return ac(e,t,o,r,s,i,n);if(a){a=r.fallback,o=t.mode,i=e.child,s=i.sibling;var c={mode:`hidden`,children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=ru(i,c),r.subtreeFlags=i.subtreeFlags&14680064),s===null?(a=au(a,o,n,null),a.flags|=2):a=ru(s,a),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,o=e.child.memoizedState,o=o===null?tc(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},a.memoizedState=o,a.childLanes=e.childLanes&~n,t.memoizedState=ec,r}return a=e.child,e=a.sibling,r=ru(a,{mode:`visible`,children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function rc(e,t){return t=ou({mode:`visible`,children:t},e.mode,0,null),t.return=e,e.child=t}function ic(e,t,n,r){return r!==null&&Ba(r),Ka(t,e.child,null,n),e=rc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ac(e,t,n,i,a,o,s){if(n)return t.flags&256?(t.flags&=-257,i=Ns(Error(r(422))),ic(e,t,s,i)):t.memoizedState===null?(o=i.fallback,a=t.mode,i=ou({mode:`visible`,children:i.children},a,0,null),o=au(o,a,s,null),o.flags|=2,i.return=t,o.return=t,i.sibling=o,t.child=i,t.mode&1&&Ka(t,e.child,null,s),t.child.memoizedState=tc(s),t.memoizedState=ec,o):(t.child=e.child,t.flags|=128,null);if(!(t.mode&1))return ic(e,t,s,null);if(a.data===`$!`){if(i=a.nextSibling&&a.nextSibling.dataset,i)var c=i.dgst;return i=c,o=Error(r(419)),i=Ns(o,i,void 0),ic(e,t,s,i)}if(c=(s&e.childLanes)!==0,Hs||c){if(i=Xc,i!==null){switch(s&-s){case 4:a=2;break;case 16:a=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}a=(a&(i.suspendedLanes|s))===0?a:0,a!==0&&a!==o.retryLane&&(o.retryLane=a,oo(e,a),Sl(i,e,a,-1))}return Il(),i=Ns(Error(r(421))),ic(e,t,s,i)}return a.data===`$?`?(t.flags|=128,t.child=e.child,t=Yl.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,ka=Ii(a.nextSibling),Oa=t,Aa=!0,ja=null,e!==null&&(ya[ba++]=Sa,ya[ba++]=Ca,ya[ba++]=xa,Sa=e.id,Ca=e.overflow,xa=t),t=rc(t,i.children),t.flags|=4096,t)}function oc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),eo(e.return,t,n)}function sc(e,t,n,r,i){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function cc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(Us(e,t,r.children,n),r=Eo.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&oc(e,n,t);else if(e.tag===19)oc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(L(Eo,r),!(t.mode&1))t.memoizedState=null;else switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Do(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),sc(t,!1,i,n,a);break;case`backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Do(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}sc(t,!0,n,null,a);break;case`together`:sc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function lc(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function uc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),nl|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,n=ru(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ru(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function dc(e,t,n){switch(t.tag){case 3:Qs(t),za();break;case 5:wo(t);break;case 1:ia(t.type)&&ca(t);break;case 4:So(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;L(Ja,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(L(Eo,Eo.current&1),e=uc(e,t,n),e===null?null:e.sibling):nc(e,t,n):(L(Eo,Eo.current&1),t.flags|=128,null);L(Eo,Eo.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return cc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),L(Eo,Eo.current),r)break;return null;case 22:case 23:return t.lanes=0,qs(e,t,n)}return uc(e,t,n)}var fc=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},pc=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,xo(vo.current);var o=null;switch(n){case`input`:i=ye(e,i),r=ye(e,r),o=[];break;case`select`:i=N({},i,{value:void 0}),r=N({},r,{value:void 0}),o=[];break;case`textarea`:i=De(e,i),r=De(e,r),o=[];break;default:typeof i.onClick!=`function`&&typeof r.onClick==`function`&&(e.onclick=Ei)}Ve(n,r);var s;for(u in n=null,i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u===`style`){var c=i[u];for(s in c)c.hasOwnProperty(s)&&(n||={},n[s]=``)}else u!==`dangerouslySetInnerHTML`&&u!==`children`&&u!==`suppressContentEditableWarning`&&u!==`suppressHydrationWarning`&&u!==`autoFocus`&&(a.hasOwnProperty(u)?o||=[]:(o||=[]).push(u,null));for(u in r){var l=r[u];if(c=i?.[u],r.hasOwnProperty(u)&&l!==c&&(l!=null||c!=null))if(u===`style`)if(c){for(s in c)!c.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||={},n[s]=``);for(s in l)l.hasOwnProperty(s)&&c[s]!==l[s]&&(n||={},n[s]=l[s])}else n||(o||=[],o.push(u,n)),n=l;else u===`dangerouslySetInnerHTML`?(l=l?l.__html:void 0,c=c?c.__html:void 0,l!=null&&c!==l&&(o||=[]).push(u,l)):u===`children`?typeof l!=`string`&&typeof l!=`number`||(o||=[]).push(u,``+l):u!==`suppressContentEditableWarning`&&u!==`suppressHydrationWarning`&&(a.hasOwnProperty(u)?(l!=null&&u===`onScroll`&&fi(`scroll`,e),o||c===l||(o=[])):(o||=[]).push(u,l))}n&&(o||=[]).push(`style`,n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},mc=function(e,t,n,r){n!==r&&(t.flags|=4)};function hc(e,t){if(!Aa)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function gc(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function _c(e,t,n){var i=t.pendingProps;switch(Da(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return gc(t),null;case 1:return ia(t.type)&&aa(),gc(t),null;case 3:return i=t.stateNode,Co(),Qi(ta),Qi(ea),ko(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(La(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,ja!==null&&(El(ja),ja=null))),gc(t),null;case 5:To(t);var o=xo(bo.current);if(n=t.type,e!==null&&t.stateNode!=null)pc(e,t,n,i,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(t.stateNode===null)throw Error(r(166));return gc(t),null}if(e=xo(vo.current),La(t)){i=t.stateNode,n=t.type;var s=t.memoizedProps;switch(i[zi]=t,i[Bi]=s,e=(t.mode&1)!=0,n){case`dialog`:fi(`cancel`,i),fi(`close`,i);break;case`iframe`:case`object`:case`embed`:fi(`load`,i);break;case`video`:case`audio`:for(o=0;o<ci.length;o++)fi(ci[o],i);break;case`source`:fi(`error`,i);break;case`img`:case`image`:case`link`:fi(`error`,i),fi(`load`,i);break;case`details`:fi(`toggle`,i);break;case`input`:be(i,s),fi(`invalid`,i);break;case`select`:i._wrapperState={wasMultiple:!!s.multiple},fi(`invalid`,i);break;case`textarea`:Oe(i,s),fi(`invalid`,i)}for(var c in Ve(n,s),o=null,s)if(s.hasOwnProperty(c)){var l=s[c];c===`children`?typeof l==`string`?i.textContent!==l&&(!0!==s.suppressHydrationWarning&&Ti(i.textContent,l,e),o=[`children`,l]):typeof l==`number`&&i.textContent!==``+l&&(!0!==s.suppressHydrationWarning&&Ti(i.textContent,l,e),o=[`children`,``+l]):a.hasOwnProperty(c)&&l!=null&&c===`onScroll`&&fi(`scroll`,i)}switch(n){case`input`:ge(i),Ce(i,s,!0);break;case`textarea`:ge(i),Ae(i);break;case`select`:case`option`:break;default:typeof s.onClick==`function`&&(i.onclick=Ei)}i=o,t.updateQueue=i,i!==null&&(t.flags|=4)}else{c=o.nodeType===9?o:o.ownerDocument,e===`http://www.w3.org/1999/xhtml`&&(e=je(n)),e===`http://www.w3.org/1999/xhtml`?n===`script`?(e=c.createElement(`div`),e.innerHTML=`<script><\/script>`,e=e.removeChild(e.firstChild)):typeof i.is==`string`?e=c.createElement(n,{is:i.is}):(e=c.createElement(n),n===`select`&&(c=e,i.multiple?c.multiple=!0:i.size&&(c.size=i.size))):e=c.createElementNS(e,n),e[zi]=t,e[Bi]=i,fc(e,t,!1,!1),t.stateNode=e;a:{switch(c=He(n,i),n){case`dialog`:fi(`cancel`,e),fi(`close`,e),o=i;break;case`iframe`:case`object`:case`embed`:fi(`load`,e),o=i;break;case`video`:case`audio`:for(o=0;o<ci.length;o++)fi(ci[o],e);o=i;break;case`source`:fi(`error`,e),o=i;break;case`img`:case`image`:case`link`:fi(`error`,e),fi(`load`,e),o=i;break;case`details`:fi(`toggle`,e),o=i;break;case`input`:be(e,i),o=ye(e,i),fi(`invalid`,e);break;case`option`:o=i;break;case`select`:e._wrapperState={wasMultiple:!!i.multiple},o=N({},i,{value:void 0}),fi(`invalid`,e);break;case`textarea`:Oe(e,i),o=De(e,i),fi(`invalid`,e);break;default:o=i}for(s in Ve(n,o),l=o,l)if(l.hasOwnProperty(s)){var u=l[s];s===`style`?ze(e,u):s===`dangerouslySetInnerHTML`?(u=u?u.__html:void 0,u!=null&&Pe(e,u)):s===`children`?typeof u==`string`?(n!==`textarea`||u!==``)&&Fe(e,u):typeof u==`number`&&Fe(e,``+u):s!==`suppressContentEditableWarning`&&s!==`suppressHydrationWarning`&&s!==`autoFocus`&&(a.hasOwnProperty(s)?u!=null&&s===`onScroll`&&fi(`scroll`,e):u!=null&&S(e,s,u,c))}switch(n){case`input`:ge(e),Ce(e,i,!1);break;case`textarea`:ge(e),Ae(e);break;case`option`:i.value!=null&&e.setAttribute(`value`,``+pe(i.value));break;case`select`:e.multiple=!!i.multiple,s=i.value,s==null?i.defaultValue!=null&&Ee(e,!!i.multiple,i.defaultValue,!0):Ee(e,!!i.multiple,s,!1);break;default:typeof o.onClick==`function`&&(e.onclick=Ei)}switch(n){case`button`:case`input`:case`select`:case`textarea`:i=!!i.autoFocus;break a;case`img`:i=!0;break a;default:i=!1}}i&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return gc(t),null;case 6:if(e&&t.stateNode!=null)mc(e,t,e.memoizedProps,i);else{if(typeof i!=`string`&&t.stateNode===null)throw Error(r(166));if(n=xo(bo.current),xo(vo.current),La(t)){if(i=t.stateNode,n=t.memoizedProps,i[zi]=t,(s=i.nodeValue!==n)&&(e=Oa,e!==null))switch(e.tag){case 3:Ti(i.nodeValue,n,(e.mode&1)!=0);break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Ti(i.nodeValue,n,(e.mode&1)!=0)}s&&(t.flags|=4)}else i=(n.nodeType===9?n:n.ownerDocument).createTextNode(i),i[zi]=t,t.stateNode=i}return gc(t),null;case 13:if(Qi(Eo),i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Aa&&ka!==null&&t.mode&1&&!(t.flags&128))Ra(),za(),t.flags|=98560,s=!1;else if(s=La(t),i!==null&&i.dehydrated!==null){if(e===null){if(!s)throw Error(r(318));if(s=t.memoizedState,s=s===null?null:s.dehydrated,!s)throw Error(r(317));s[zi]=t}else za(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;gc(t),s=!1}else ja!==null&&(El(ja),ja=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(i=i!==null,i!==(e!==null&&e.memoizedState!==null)&&i&&(t.child.flags|=8192,t.mode&1&&(e===null||Eo.current&1?tl===0&&(tl=3):Il())),t.updateQueue!==null&&(t.flags|=4),gc(t),null);case 4:return Co(),e===null&&hi(t.stateNode.containerInfo),gc(t),null;case 10:return $a(t.type._context),gc(t),null;case 17:return ia(t.type)&&aa(),gc(t),null;case 19:if(Qi(Eo),s=t.memoizedState,s===null)return gc(t),null;if(i=(t.flags&128)!=0,c=s.rendering,c===null)if(i)hc(s,!1);else{if(tl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(c=Do(e),c!==null){for(t.flags|=128,hc(s,!1),i=c.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=n,n=t.child;n!==null;)s=n,e=i,s.flags&=14680066,c=s.alternate,c===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return L(Eo,Eo.current&1|2),t.child}e=e.sibling}s.tail!==null&&P()>cl&&(t.flags|=128,i=!0,hc(s,!1),t.lanes=4194304)}else{if(!i)if(e=Do(c),e!==null){if(t.flags|=128,i=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),hc(s,!0),s.tail===null&&s.tailMode===`hidden`&&!c.alternate&&!Aa)return gc(t),null}else 2*P()-s.renderingStartTime>cl&&n!==1073741824&&(t.flags|=128,i=!0,hc(s,!1),t.lanes=4194304);s.isBackwards?(c.sibling=t.child,t.child=c):(n=s.last,n===null?t.child=c:n.sibling=c,s.last=c)}return s.tail===null?(gc(t),null):(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=P(),t.sibling=null,n=Eo.current,L(Eo,i?n&1|2:n&1),t);case 22:case 23:return Ml(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&t.mode&1?$c&1073741824&&(gc(t),t.subtreeFlags&6&&(t.flags|=8192)):gc(t),null;case 24:return null;case 25:return null}throw Error(r(156,t.tag))}function vc(e,t){switch(Da(t),t.tag){case 1:return ia(t.type)&&aa(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Co(),Qi(ta),Qi(ea),ko(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return To(t),null;case 13:if(Qi(Eo),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));za()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Qi(Eo),null;case 4:return Co(),null;case 10:return $a(t.type._context),null;case 22:case 23:return Ml(),null;case 24:return null;default:return null}}var yc=!1,bc=!1,xc=typeof WeakSet==`function`?WeakSet:Set,H=null;function Sc(e,t){var n=e.ref;if(n!==null)if(typeof n==`function`)try{n(null)}catch(n){Kl(e,t,n)}else n.current=null}function Cc(e,t,n){try{n()}catch(n){Kl(e,t,n)}}var wc=!1;function Tc(e,t){if(Di=vn,e=zr(),Br(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var a=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||i!==0&&f.nodeType!==3||(l=s+i),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===i&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(Oi={focusedElem:e,selectionRange:n},vn=!1,H=t;H!==null;)if(t=H,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,H=e;else for(;H!==null;){t=H;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var g=h.memoizedProps,_=h.memoizedState,v=t.stateNode;v.__reactInternalSnapshotBeforeUpdate=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:Ts(t.type,g),_)}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent=``:y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(e){Kl(t,t.return,e)}if(e=t.sibling,e!==null){e.return=t.return,H=e;break}H=t.return}return h=wc,wc=!1,h}function Ec(e,t,n){var r=t.updateQueue;if(r=r===null?null:r.lastEffect,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&Cc(t,n,a)}i=i.next}while(i!==r)}}function Dc(e,t){if(t=t.updateQueue,t=t===null?null:t.lastEffect,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function U(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t==`function`?t(e):t.current=e}}function Oc(e){var t=e.alternate;t!==null&&(e.alternate=null,Oc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[zi],delete t[Bi],delete t[Hi],delete t[Ui],delete t[Wi])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function kc(e){return e.tag===5||e.tag===3||e.tag===4}function Ac(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||kc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function jc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ei));else if(r!==4&&(e=e.child,e!==null))for(jc(e,t,n),e=e.sibling;e!==null;)jc(e,t,n),e=e.sibling}function Mc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Mc(e,t,n),e=e.sibling;e!==null;)Mc(e,t,n),e=e.sibling}var Nc=null,Pc=!1;function Fc(e,t,n){for(n=n.child;n!==null;)Ic(e,t,n),n=n.sibling}function Ic(e,t,n){if(kt&&typeof kt.onCommitFiberUnmount==`function`)try{kt.onCommitFiberUnmount(Ot,n)}catch{}switch(n.tag){case 5:bc||Sc(n,t);case 6:var r=Nc,i=Pc;Nc=null,Fc(e,t,n),Nc=r,Pc=i,Nc!==null&&(Pc?(e=Nc,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Nc.removeChild(n.stateNode));break;case 18:Nc!==null&&(Pc?(e=Nc,n=n.stateNode,e.nodeType===8?Fi(e.parentNode,n):e.nodeType===1&&Fi(e,n),gn(e)):Fi(Nc,n.stateNode));break;case 4:r=Nc,i=Pc,Nc=n.stateNode.containerInfo,Pc=!0,Fc(e,t,n),Nc=r,Pc=i;break;case 0:case 11:case 14:case 15:if(!bc&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&Cc(n,t,o),i=i.next}while(i!==r)}Fc(e,t,n);break;case 1:if(!bc&&(Sc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Kl(n,t,e)}Fc(e,t,n);break;case 21:Fc(e,t,n);break;case 22:n.mode&1?(bc=(r=bc)||n.memoizedState!==null,Fc(e,t,n),bc=r):Fc(e,t,n);break;default:Fc(e,t,n)}}function Lc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new xc),t.forEach(function(t){var r=Xl.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function Rc(e,t){var n=t.deletions;if(n!==null)for(var i=0;i<n.length;i++){var a=n[i];try{var o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 5:Nc=c.stateNode,Pc=!1;break a;case 3:Nc=c.stateNode.containerInfo,Pc=!0;break a;case 4:Nc=c.stateNode.containerInfo,Pc=!0;break a}c=c.return}if(Nc===null)throw Error(r(160));Ic(o,s,a),Nc=null,Pc=!1;var l=a.alternate;l!==null&&(l.return=null),a.return=null}catch(e){Kl(a,t,e)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)zc(t,e),t=t.sibling}function zc(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Rc(t,e),Bc(e),i&4){try{Ec(3,e,e.return),Dc(3,e)}catch(t){Kl(e,e.return,t)}try{Ec(5,e,e.return)}catch(t){Kl(e,e.return,t)}}break;case 1:Rc(t,e),Bc(e),i&512&&n!==null&&Sc(n,n.return);break;case 5:if(Rc(t,e),Bc(e),i&512&&n!==null&&Sc(n,n.return),e.flags&32){var a=e.stateNode;try{Fe(a,``)}catch(t){Kl(e,e.return,t)}}if(i&4&&(a=e.stateNode,a!=null)){var o=e.memoizedProps,s=n===null?o:n.memoizedProps,c=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{c===`input`&&o.type===`radio`&&o.name!=null&&xe(a,o),He(c,s);var u=He(c,o);for(s=0;s<l.length;s+=2){var d=l[s],f=l[s+1];d===`style`?ze(a,f):d===`dangerouslySetInnerHTML`?Pe(a,f):d===`children`?Fe(a,f):S(a,d,f,u)}switch(c){case`input`:Se(a,o);break;case`textarea`:ke(a,o);break;case`select`:var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!o.multiple;var m=o.value;m==null?p!==!!o.multiple&&(o.defaultValue==null?Ee(a,!!o.multiple,o.multiple?[]:``,!1):Ee(a,!!o.multiple,o.defaultValue,!0)):Ee(a,!!o.multiple,m,!1)}a[Bi]=o}catch(t){Kl(e,e.return,t)}}break;case 6:if(Rc(t,e),Bc(e),i&4){if(e.stateNode===null)throw Error(r(162));a=e.stateNode,o=e.memoizedProps;try{a.nodeValue=o}catch(t){Kl(e,e.return,t)}}break;case 3:if(Rc(t,e),Bc(e),i&4&&n!==null&&n.memoizedState.isDehydrated)try{gn(t.containerInfo)}catch(t){Kl(e,e.return,t)}break;case 4:Rc(t,e),Bc(e);break;case 13:Rc(t,e),Bc(e),a=e.child,a.flags&8192&&(o=a.memoizedState!==null,a.stateNode.isHidden=o,!o||a.alternate!==null&&a.alternate.memoizedState!==null||(sl=P())),i&4&&Lc(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(bc=(u=bc)||d,Rc(t,e),bc=u):Rc(t,e),Bc(e),i&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(H=e,d=e.child;d!==null;){for(f=H=d;H!==null;){switch(p=H,m=p.child,p.tag){case 0:case 11:case 14:case 15:Ec(4,p,p.return);break;case 1:Sc(p,p.return);var h=p.stateNode;if(typeof h.componentWillUnmount==`function`){i=p,n=p.return;try{t=i,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(e){Kl(i,n,e)}}break;case 5:Sc(p,p.return);break;case 22:if(p.memoizedState!==null){Wc(f);continue}}m===null?Wc(f):(m.return=p,H=m)}d=d.sibling}a:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{a=f.stateNode,u?(o=a.style,typeof o.setProperty==`function`?o.setProperty(`display`,`none`,`important`):o.display=`none`):(c=f.stateNode,l=f.memoizedProps.style,s=l!=null&&l.hasOwnProperty(`display`)?l.display:null,c.style.display=Re(`display`,s))}catch(t){Kl(e,e.return,t)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?``:f.memoizedProps}catch(t){Kl(e,e.return,t)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break a;for(;f.sibling===null;){if(f.return===null||f.return===e)break a;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Rc(t,e),Bc(e),i&4&&Lc(e);break;case 21:break;default:Rc(t,e),Bc(e)}}function Bc(e){var t=e.flags;if(t&2){try{a:{for(var n=e.return;n!==null;){if(kc(n)){var i=n;break a}n=n.return}throw Error(r(160))}switch(i.tag){case 5:var a=i.stateNode;i.flags&32&&(Fe(a,``),i.flags&=-33),Mc(e,Ac(e),a);break;case 3:case 4:var o=i.stateNode.containerInfo;jc(e,Ac(e),o);break;default:throw Error(r(161))}}catch(t){Kl(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Vc(e,t,n){H=e,Hc(e,t,n)}function Hc(e,t,n){for(var r=(e.mode&1)!=0;H!==null;){var i=H,a=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||yc;if(!o){var s=i.alternate,c=s!==null&&s.memoizedState!==null||bc;s=yc;var l=bc;if(yc=o,(bc=c)&&!l)for(H=i;H!==null;)o=H,c=o.child,o.tag===22&&o.memoizedState!==null||c===null?Gc(i):(c.return=o,H=c);for(;a!==null;)H=a,Hc(a,t,n),a=a.sibling;H=i,yc=s,bc=l}Uc(e,t,n)}else i.subtreeFlags&8772&&a!==null?(a.return=i,H=a):Uc(e,t,n)}}function Uc(e){for(;H!==null;){var t=H;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:bc||Dc(5,t);break;case 1:var i=t.stateNode;if(t.flags&4&&!bc)if(n===null)i.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:Ts(t.type,n.memoizedProps);i.componentDidUpdate(a,n.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&go(t,o,i);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}go(t,s,n)}break;case 5:var c=t.stateNode;if(n===null&&t.flags&4){n=c;var l=t.memoizedProps;switch(t.type){case`button`:case`input`:case`select`:case`textarea`:l.autoFocus&&n.focus();break;case`img`:l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&gn(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}bc||t.flags&512&&U(t)}catch(e){Kl(t,t.return,e)}}if(t===e){H=null;break}if(n=t.sibling,n!==null){n.return=t.return,H=n;break}H=t.return}}function Wc(e){for(;H!==null;){var t=H;if(t===e){H=null;break}var n=t.sibling;if(n!==null){n.return=t.return,H=n;break}H=t.return}}function Gc(e){for(;H!==null;){var t=H;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Dc(4,t)}catch(e){Kl(t,n,e)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount==`function`){var i=t.return;try{r.componentDidMount()}catch(e){Kl(t,i,e)}}var a=t.return;try{U(t)}catch(e){Kl(t,a,e)}break;case 5:var o=t.return;try{U(t)}catch(e){Kl(t,o,e)}}}catch(e){Kl(t,t.return,e)}if(t===e){H=null;break}var s=t.sibling;if(s!==null){s.return=t.return,H=s;break}H=t.return}}var Kc=Math.ceil,qc=C.ReactCurrentDispatcher,Jc=C.ReactCurrentOwner,Yc=C.ReactCurrentBatchConfig,W=0,Xc=null,Zc=null,Qc=0,$c=0,el=Zi(0),tl=0,G=null,nl=0,rl=0,il=0,al=null,ol=null,sl=0,cl=1/0,ll=null,ul=!1,dl=null,fl=null,pl=!1,ml=null,hl=0,gl=0,_l=null,vl=-1,yl=0;function bl(){return W&6?P():vl===-1?vl=P():vl}function xl(e){return e.mode&1?W&2&&Qc!==0?Qc&-Qc:Va.transition===null?(e=I,e===0?(e=window.event,e=e===void 0?16:wn(e.type),e):e):(yl===0&&(yl=Ht()),yl):1}function Sl(e,t,n,i){if(50<gl)throw gl=0,_l=null,Error(r(185));Wt(e,n,i),(!(W&2)||e!==Xc)&&(e===Xc&&(!(W&2)&&(rl|=n),tl===4&&Ol(e,Qc)),Cl(e,i),n===1&&W===0&&!(t.mode&1)&&(cl=P()+500,ua&&ma()))}function Cl(e,t){var n=e.callbackNode;Bt(e,t);var r=Rt(e,e===Xc?Qc:0);if(r===0)n!==null&&yt(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&yt(n),t===1)e.tag===0?pa(kl.bind(null,e)):fa(kl.bind(null,e)),Ni(function(){!(W&6)&&ma()}),n=null;else{switch(Kt(r)){case 1:n=Ct;break;case 4:n=wt;break;case 16:n=Tt;break;case 536870912:n=Dt;break;default:n=Tt}n=Ql(n,wl.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function wl(e,t){if(vl=-1,yl=0,W&6)throw Error(r(327));var n=e.callbackNode;if(Wl()&&e.callbackNode!==n)return null;var i=Rt(e,e===Xc?Qc:0);if(i===0)return null;if(i&30||(i&e.expiredLanes)!==0||t)t=Ll(e,i);else{t=i;var a=W;W|=2;var o=Fl();(Xc!==e||Qc!==t)&&(ll=null,cl=P()+500,Nl(e,t));do try{zl();break}catch(t){Pl(e,t)}while(1);Qa(),qc.current=o,W=a,Zc===null?(Xc=null,Qc=0,t=tl):t=0}if(t!==0){if(t===2&&(a=Vt(e),a!==0&&(i=a,t=Tl(e,a))),t===1)throw n=G,Nl(e,0),Ol(e,i),Cl(e,P()),n;if(t===6)Ol(e,i);else{if(a=e.current.alternate,!(i&30)&&!Dl(a)&&(t=Ll(e,i),t===2&&(o=Vt(e),o!==0&&(i=o,t=Tl(e,o))),t===1))throw n=G,Nl(e,0),Ol(e,i),Cl(e,P()),n;switch(e.finishedWork=a,e.finishedLanes=i,t){case 0:case 1:throw Error(r(345));case 2:Hl(e,ol,ll);break;case 3:if(Ol(e,i),(i&130023424)===i&&(t=sl+500-P(),10<t)){if(Rt(e,0)!==0)break;if(a=e.suspendedLanes,(a&i)!==i){bl(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=Ai(Hl.bind(null,e,ol,ll),t);break}Hl(e,ol,ll);break;case 4:if(Ol(e,i),(i&4194240)===i)break;for(t=e.eventTimes,a=-1;0<i;){var s=31-jt(i);o=1<<s,s=t[s],s>a&&(a=s),i&=~o}if(i=a,i=P()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*Kc(i/1960))-i,10<i){e.timeoutHandle=Ai(Hl.bind(null,e,ol,ll),i);break}Hl(e,ol,ll);break;case 5:Hl(e,ol,ll);break;default:throw Error(r(329))}}}return Cl(e,P()),e.callbackNode===n?wl.bind(null,e):null}function Tl(e,t){var n=al;return e.current.memoizedState.isDehydrated&&(Nl(e,t).flags|=256),e=Ll(e,t),e!==2&&(t=ol,ol=n,t!==null&&El(t)),e}function El(e){ol===null?ol=e:ol.push.apply(ol,e)}function Dl(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Pr(a(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ol(e,t){for(t&=~il,t&=~rl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-jt(t),r=1<<n;e[n]=-1,t&=~r}}function kl(e){if(W&6)throw Error(r(327));Wl();var t=Rt(e,0);if(!(t&1))return Cl(e,P()),null;var n=Ll(e,t);if(e.tag!==0&&n===2){var i=Vt(e);i!==0&&(t=i,n=Tl(e,i))}if(n===1)throw n=G,Nl(e,0),Ol(e,t),Cl(e,P()),n;if(n===6)throw Error(r(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Hl(e,ol,ll),Cl(e,P()),null}function Al(e,t){var n=W;W|=1;try{return e(t)}finally{W=n,W===0&&(cl=P()+500,ua&&ma())}}function jl(e){ml!==null&&ml.tag===0&&!(W&6)&&Wl();var t=W;W|=1;var n=Yc.transition,r=I;try{if(Yc.transition=null,I=1,e)return e()}finally{I=r,Yc.transition=n,W=t,!(W&6)&&ma()}}function Ml(){$c=el.current,Qi(el)}function Nl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,ji(n)),Zc!==null)for(n=Zc.return;n!==null;){var r=n;switch(Da(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&aa();break;case 3:Co(),Qi(ta),Qi(ea),ko();break;case 5:To(r);break;case 4:Co();break;case 13:Qi(Eo);break;case 19:Qi(Eo);break;case 10:$a(r.type._context);break;case 22:case 23:Ml()}n=n.return}if(Xc=e,Zc=e=ru(e.current,null),Qc=$c=t,tl=0,G=null,il=rl=nl=0,ol=al=null,ro!==null){for(t=0;t<ro.length;t++)if(n=ro[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,a=n.pending;if(a!==null){var o=a.next;a.next=i,r.next=o}n.pending=r}ro=null}return e}function Pl(e,t){do{var n=Zc;try{if(Qa(),Ao.current=xs,Io){for(var i=No.memoizedState;i!==null;){var a=i.queue;a!==null&&(a.pending=null),i=i.next}Io=!1}if(Mo=0,Fo=Po=No=null,Lo=!1,Ro=0,Jc.current=null,n===null||n.return===null){tl=1,G=t,Zc=null;break}a:{var o=e,s=n.return,c=n,l=t;if(t=Qc,c.flags|=32768,typeof l==`object`&&l&&typeof l.then==`function`){var u=l,d=c,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var m=zs(s);if(m!==null){m.flags&=-257,Bs(m,s,c,o,t),m.mode&1&&Rs(o,u,t),t=m,l=u;var h=t.updateQueue;if(h===null){var g=new Set;g.add(l),t.updateQueue=g}else h.add(l);break a}else{if(!(t&1)){Rs(o,u,t),Il();break a}l=Error(r(426))}}else if(Aa&&c.mode&1){var _=zs(s);if(_!==null){!(_.flags&65536)&&(_.flags|=256),Bs(_,s,c,o,t),Ba(Ms(l,c));break a}}o=l=Ms(l,c),tl!==4&&(tl=2),al===null?al=[o]:al.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var v=Is(o,l,t);mo(o,v);break a;case 1:c=l;var y=o.type,b=o.stateNode;if(!(o.flags&128)&&(typeof y.getDerivedStateFromError==`function`||b!==null&&typeof b.componentDidCatch==`function`&&(fl===null||!fl.has(b)))){o.flags|=65536,t&=-t,o.lanes|=t;var x=Ls(o,c,t);mo(o,x);break a}}o=o.return}while(o!==null)}Vl(n)}catch(e){t=e,Zc===n&&n!==null&&(Zc=n=n.return);continue}break}while(1)}function Fl(){var e=qc.current;return qc.current=xs,e===null?xs:e}function Il(){(tl===0||tl===3||tl===2)&&(tl=4),Xc===null||!(nl&268435455)&&!(rl&268435455)||Ol(Xc,Qc)}function Ll(e,t){var n=W;W|=2;var i=Fl();(Xc!==e||Qc!==t)&&(ll=null,Nl(e,t));do try{Rl();break}catch(t){Pl(e,t)}while(1);if(Qa(),W=n,qc.current=i,Zc!==null)throw Error(r(261));return Xc=null,Qc=0,tl}function Rl(){for(;Zc!==null;)Bl(Zc)}function zl(){for(;Zc!==null&&!bt();)Bl(Zc)}function Bl(e){var t=Zl(e.alternate,e,$c);e.memoizedProps=e.pendingProps,t===null?Vl(e):Zc=t,Jc.current=null}function Vl(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=vc(n,t),n!==null){n.flags&=32767,Zc=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{tl=6,Zc=null;return}}else if(n=_c(n,t,$c),n!==null){Zc=n;return}if(t=t.sibling,t!==null){Zc=t;return}Zc=t=e}while(t!==null);tl===0&&(tl=5)}function Hl(e,t,n){var r=I,i=Yc.transition;try{Yc.transition=null,I=1,Ul(e,t,n,r)}finally{Yc.transition=i,I=r}return null}function Ul(e,t,n,i){do Wl();while(ml!==null);if(W&6)throw Error(r(327));n=e.finishedWork;var a=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(r(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(Gt(e,o),e===Xc&&(Zc=Xc=null,Qc=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||pl||(pl=!0,Ql(Tt,function(){return Wl(),null})),o=(n.flags&15990)!=0,n.subtreeFlags&15990||o){o=Yc.transition,Yc.transition=null;var s=I;I=1;var c=W;W|=4,Jc.current=null,Tc(e,n),zc(n,e),Vr(Oi),vn=!!Di,Oi=Di=null,e.current=n,Vc(n,e,a),xt(),W=c,I=s,Yc.transition=o}else e.current=n;if(pl&&(pl=!1,ml=e,hl=a),o=e.pendingLanes,o===0&&(fl=null),At(n.stateNode,i),Cl(e,P()),t!==null)for(i=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],i(a.value,{componentStack:a.stack,digest:a.digest});if(ul)throw ul=!1,e=dl,dl=null,e;return hl&1&&e.tag!==0&&Wl(),o=e.pendingLanes,o&1?e===_l?gl++:(gl=0,_l=e):gl=0,ma(),null}function Wl(){if(ml!==null){var e=Kt(hl),t=Yc.transition,n=I;try{if(Yc.transition=null,I=16>e?16:e,ml===null)var i=!1;else{if(e=ml,ml=null,hl=0,W&6)throw Error(r(331));var a=W;for(W|=4,H=e.current;H!==null;){var o=H,s=o.child;if(H.flags&16){var c=o.deletions;if(c!==null){for(var l=0;l<c.length;l++){var u=c[l];for(H=u;H!==null;){var d=H;switch(d.tag){case 0:case 11:case 15:Ec(8,d,o)}var f=d.child;if(f!==null)f.return=d,H=f;else for(;H!==null;){d=H;var p=d.sibling,m=d.return;if(Oc(d),d===u){H=null;break}if(p!==null){p.return=m,H=p;break}H=m}}}var h=o.alternate;if(h!==null){var g=h.child;if(g!==null){h.child=null;do{var _=g.sibling;g.sibling=null,g=_}while(g!==null)}}H=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,H=s;else b:for(;H!==null;){if(o=H,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Ec(9,o,o.return)}var v=o.sibling;if(v!==null){v.return=o.return,H=v;break b}H=o.return}}var y=e.current;for(H=y;H!==null;){s=H;var b=s.child;if(s.subtreeFlags&2064&&b!==null)b.return=s,H=b;else b:for(s=y;H!==null;){if(c=H,c.flags&2048)try{switch(c.tag){case 0:case 11:case 15:Dc(9,c)}}catch(e){Kl(c,c.return,e)}if(c===s){H=null;break b}var x=c.sibling;if(x!==null){x.return=c.return,H=x;break b}H=c.return}}if(W=a,ma(),kt&&typeof kt.onPostCommitFiberRoot==`function`)try{kt.onPostCommitFiberRoot(Ot,e)}catch{}i=!0}return i}finally{I=n,Yc.transition=t}}return!1}function Gl(e,t,n){t=Ms(n,t),t=Is(e,t,1),e=fo(e,t,1),t=bl(),e!==null&&(Wt(e,1,t),Cl(e,t))}function Kl(e,t,n){if(e.tag===3)Gl(e,e,n);else for(;t!==null;){if(t.tag===3){Gl(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(fl===null||!fl.has(r))){e=Ms(n,e),e=Ls(t,e,1),t=fo(t,e,1),e=bl(),t!==null&&(Wt(t,1,e),Cl(t,e));break}}t=t.return}}function ql(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=bl(),e.pingedLanes|=e.suspendedLanes&n,Xc===e&&(Qc&n)===n&&(tl===4||tl===3&&(Qc&130023424)===Qc&&500>P()-sl?Nl(e,0):il|=n),Cl(e,t)}function Jl(e,t){t===0&&(e.mode&1?(t=It,It<<=1,!(It&130023424)&&(It=4194304)):t=1);var n=bl();e=oo(e,t),e!==null&&(Wt(e,t,n),Cl(e,n))}function Yl(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Jl(e,n)}function Xl(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(r(314))}i!==null&&i.delete(t),Jl(e,n)}var Zl=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ta.current)Hs=!0;else{if((e.lanes&n)===0&&!(t.flags&128))return Hs=!1,dc(e,t,n);Hs=!!(e.flags&131072)}else Hs=!1,Aa&&t.flags&1048576&&Ta(t,va,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;lc(e,t),e=t.pendingProps;var a=ra(t,ea.current);to(t,n),a=Ho(null,t,i,e,a,n);var o=Uo();return t.flags|=1,typeof a==`object`&&a&&typeof a.render==`function`&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ia(i)?(o=!0,ca(t)):o=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,co(t),a.updater=Ds,t.stateNode=a,a._reactInternals=t,js(t,i,e,n),t=Zs(null,t,i,!0,o,n)):(t.tag=0,Aa&&o&&Ea(t),Us(null,t,a,n),t=t.child),t;case 16:i=t.elementType;a:{switch(lc(e,t),e=t.pendingProps,a=i._init,i=a(i._payload),t.type=i,a=t.tag=nu(i),e=Ts(i,e),a){case 0:t=Ys(null,t,i,e,n);break a;case 1:t=Xs(null,t,i,e,n);break a;case 11:t=Ws(null,t,i,e,n);break a;case 14:t=Gs(null,t,i,Ts(i.type,e),n);break a}throw Error(r(306,i,``))}return t;case 0:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:Ts(i,a),Ys(e,t,i,a,n);case 1:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:Ts(i,a),Xs(e,t,i,a,n);case 3:a:{if(Qs(t),e===null)throw Error(r(387));i=t.pendingProps,o=t.memoizedState,a=o.element,lo(e,t),ho(t,i,null,n);var s=t.memoizedState;if(i=s.element,o.isDehydrated)if(o={element:i,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){a=Ms(Error(r(423)),t),t=$s(e,t,i,n,a);break a}else if(i!==a){a=Ms(Error(r(424)),t),t=$s(e,t,i,n,a);break a}else for(ka=Ii(t.stateNode.containerInfo.firstChild),Oa=t,Aa=!0,ja=null,n=qa(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(za(),i===a){t=uc(e,t,n);break a}Us(e,t,i,n)}t=t.child}return t;case 5:return wo(t),e===null&&Fa(t),i=t.type,a=t.pendingProps,o=e===null?null:e.memoizedProps,s=a.children,ki(i,a)?s=null:o!==null&&ki(i,o)&&(t.flags|=32),Js(e,t),Us(e,t,s,n),t.child;case 6:return e===null&&Fa(t),null;case 13:return nc(e,t,n);case 4:return So(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Ka(t,null,i,n):Us(e,t,i,n),t.child;case 11:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:Ts(i,a),Ws(e,t,i,a,n);case 7:return Us(e,t,t.pendingProps,n),t.child;case 8:return Us(e,t,t.pendingProps.children,n),t.child;case 12:return Us(e,t,t.pendingProps.children,n),t.child;case 10:a:{if(i=t.type._context,a=t.pendingProps,o=t.memoizedProps,s=a.value,L(Ja,i._currentValue),i._currentValue=s,o!==null)if(Pr(o.value,s)){if(o.children===a.children&&!ta.current){t=uc(e,t,n);break a}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var c=o.dependencies;if(c!==null){s=o.child;for(var l=c.firstContext;l!==null;){if(l.context===i){if(o.tag===1){l=uo(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),eo(o.return,n,t),c.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(r(341));s.lanes|=n,c=s.alternate,c!==null&&(c.lanes|=n),eo(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Us(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,i=t.pendingProps.children,to(t,n),a=no(a),i=i(a),t.flags|=1,Us(e,t,i,n),t.child;case 14:return i=t.type,a=Ts(i,t.pendingProps),a=Ts(i.type,a),Gs(e,t,i,a,n);case 15:return Ks(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:Ts(i,a),lc(e,t),t.tag=1,ia(i)?(e=!0,ca(t)):e=!1,to(t,n),ks(t,i,a),js(t,i,a,n),Zs(null,t,i,!0,e,n);case 19:return cc(e,t,n);case 22:return qs(e,t,n)}throw Error(r(156,t.tag))};function Ql(e,t){return vt(e,t)}function $l(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function eu(e,t,n,r){return new $l(e,t,n,r)}function tu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function nu(e){if(typeof e==`function`)return+!!tu(e);if(e!=null){if(e=e.$$typeof,e===k)return 11;if(e===j)return 14}return 2}function ru(e,t){var n=e.alternate;return n===null?(n=eu(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function iu(e,t,n,i,a,o){var s=2;if(i=e,typeof e==`function`)tu(e)&&(s=1);else if(typeof e==`string`)s=5;else a:switch(e){case E:return au(n.children,a,o,t);case D:s=8,a|=8;break;case ee:return e=eu(12,n,t,a|2),e.elementType=ee,e.lanes=o,e;case A:return e=eu(13,n,t,a),e.elementType=A,e.lanes=o,e;case ne:return e=eu(19,n,t,a),e.elementType=ne,e.lanes=o,e;case M:return ou(n,a,o,t);default:if(typeof e==`object`&&e)switch(e.$$typeof){case O:s=10;break a;case te:s=9;break a;case k:s=11;break a;case j:s=14;break a;case re:s=16,i=null;break a}throw Error(r(130,e==null?e:typeof e,``))}return t=eu(s,n,t,a),t.elementType=e,t.type=i,t.lanes=o,t}function au(e,t,n,r){return e=eu(7,e,r,t),e.lanes=n,e}function ou(e,t,n,r){return e=eu(22,e,r,t),e.elementType=M,e.lanes=n,e.stateNode={isHidden:!1},e}function su(e,t,n){return e=eu(6,e,null,t),e.lanes=n,e}function cu(e,t,n){return t=eu(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function lu(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ut(0),this.expirationTimes=Ut(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ut(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function uu(e,t,n,r,i,a,o,s,c){return e=new lu(e,t,n,s,c),t===1?(t=1,!0===a&&(t|=8)):t=0,a=eu(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},co(a),e}function du(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:T,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}function fu(e){if(!e)return $i;e=e._reactInternals;a:{if(ft(e)!==e||e.tag!==1)throw Error(r(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break a;case 1:if(ia(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break a}}t=t.return}while(t!==null);throw Error(r(171))}if(e.tag===1){var n=e.type;if(ia(n))return sa(e,n,t)}return t}function pu(e,t,n,r,i,a,o,s,c){return e=uu(n,r,!0,e,i,a,o,s,c),e.context=fu(null),n=e.current,r=bl(),i=xl(n),a=uo(r,i),a.callback=t??null,fo(n,a,i),e.current.lanes=i,Wt(e,i,r),Cl(e,r),e}function mu(e,t,n,r){var i=t.current,a=bl(),o=xl(i);return n=fu(n),t.context===null?t.context=n:t.pendingContext=n,t=uo(a,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=fo(i,t,o),e!==null&&(Sl(e,i,o,a),po(e,i,o)),o}function hu(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function gu(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function _u(e,t){gu(e,t),(e=e.alternate)&&gu(e,t)}function vu(){return null}var yu=typeof reportError==`function`?reportError:function(e){console.error(e)};function bu(e){this._internalRoot=e}xu.prototype.render=bu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));mu(e,t,null,null)},xu.prototype.unmount=bu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;jl(function(){mu(null,e,null,null)}),t[Vi]=null}};function xu(e){this._internalRoot=e}xu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Xt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<on.length&&t!==0&&t<on[n].priority;n++);on.splice(n,0,e),n===0&&dn(e)}};function Su(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Cu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==` react-mount-point-unstable `))}function wu(){}function Tu(e,t,n,r,i){if(i){if(typeof r==`function`){var a=r;r=function(){var e=hu(o);a.call(e)}}var o=pu(t,r,e,0,null,!1,!1,``,wu);return e._reactRootContainer=o,e[Vi]=o.current,hi(e.nodeType===8?e.parentNode:e),jl(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r==`function`){var s=r;r=function(){var e=hu(c);s.call(e)}}var c=uu(e,0,!1,null,null,!1,!1,``,wu);return e._reactRootContainer=c,e[Vi]=c.current,hi(e.nodeType===8?e.parentNode:e),jl(function(){mu(t,c,n,r)}),c}function Eu(e,t,n,r,i){var a=n._reactRootContainer;if(a){var o=a;if(typeof i==`function`){var s=i;i=function(){var e=hu(o);s.call(e)}}mu(t,o,e,i)}else o=Tu(n,t,e,i,r);return hu(o)}qt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Lt(t.pendingLanes);n!==0&&(F(t,n|1),Cl(t,P()),!(W&6)&&(cl=P()+500,ma()))}break;case 13:jl(function(){var t=oo(e,1);t!==null&&Sl(t,e,1,bl())}),_u(e,1)}},Jt=function(e){if(e.tag===13){var t=oo(e,134217728);t!==null&&Sl(t,e,134217728,bl()),_u(e,134217728)}},Yt=function(e){if(e.tag===13){var t=xl(e),n=oo(e,t);n!==null&&Sl(n,e,t,bl()),_u(e,t)}},Xt=function(){return I},Zt=function(e,t){var n=I;try{return I=e,t()}finally{I=n}},Ge=function(e,t,n){switch(t){case`input`:if(Se(e,n),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name=`+JSON.stringify(``+t)+`][type="radio"]`),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var a=Ji(i);if(!a)throw Error(r(90));_e(i),Se(i,a)}}}break;case`textarea`:ke(e,n);break;case`select`:t=n.value,t!=null&&Ee(e,!!n.multiple,t,!1)}},Ze=Al,Qe=jl;var Du={usingClientEntryPoint:!1,Events:[Ki,qi,Ji,Ye,Xe,Al]},Ou={findFiberByHostInstance:Gi,bundleType:0,version:`18.3.1`,rendererPackageName:`react-dom`},ku={bundleType:Ou.bundleType,version:Ou.version,rendererPackageName:Ou.rendererPackageName,rendererConfig:Ou.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=gt(e),e===null?null:e.stateNode},findFiberByHostInstance:Ou.findFiberByHostInstance||vu,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:`18.3.1-next-f1338f8080-20240426`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Au=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Au.isDisabled&&Au.supportsFiber)try{Ot=Au.inject(ku),kt=Au}catch{}}e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Du,e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Su(t))throw Error(r(200));return du(e,t,null,n)},e.createRoot=function(e,t){if(!Su(e))throw Error(r(299));var n=!1,i=``,a=yu;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onRecoverableError!==void 0&&(a=t.onRecoverableError)),t=uu(e,1,!1,null,null,n,!1,i,a),e[Vi]=t.current,hi(e.nodeType===8?e.parentNode:e),new bu(t)},e.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(r(188)):(e=Object.keys(e).join(`,`),Error(r(268,e)));return e=gt(t),e=e===null?null:e.stateNode,e},e.flushSync=function(e){return jl(e)},e.hydrate=function(e,t,n){if(!Cu(t))throw Error(r(200));return Eu(null,e,t,!0,n)},e.hydrateRoot=function(e,t,n){if(!Su(e))throw Error(r(405));var i=n!=null&&n.hydratedSources||null,a=!1,o=``,s=yu;if(n!=null&&(!0===n.unstable_strictMode&&(a=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=pu(t,null,e,1,n??null,a,!1,o,s),e[Vi]=t.current,hi(e),i)for(e=0;e<i.length;e++)n=i[e],a=n._getVersion,a=a(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new xu(t)},e.render=function(e,t,n){if(!Cu(t))throw Error(r(200));return Eu(null,e,t,!1,n)},e.unmountComponentAtNode=function(e){if(!Cu(e))throw Error(r(40));return e._reactRootContainer?(jl(function(){Eu(null,null,e,!1,function(){e._reactRootContainer=null,e[Vi]=null})}),!0):!1},e.unstable_batchedUpdates=Al,e.unstable_renderSubtreeIntoContainer=function(e,t,n,i){if(!Cu(n))throw Error(r(200));if(e==null||e._reactInternals===void 0)throw Error(r(38));return Eu(e,t,n,!1,i)},e.version=`18.3.1-next-f1338f8080-20240426`})),h=o(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=m()})),g=o((e=>{var t=h();e.createRoot=t.createRoot,e.hydrateRoot=t.hydrateRoot})),_=typeof global==`object`&&global&&global.Object===Object&&global,v=typeof self==`object`&&self&&self.Object===Object&&self,y=_||v||Function(`return this`)(),b=y.Symbol,x=Object.prototype,S=x.hasOwnProperty,C=x.toString,w=b?b.toStringTag:void 0;function T(e){var t=S.call(e,w),n=e[w];try{e[w]=void 0;var r=!0}catch{}var i=C.call(e);return r&&(t?e[w]=n:delete e[w]),i}var E=Object.prototype.toString;function D(e){return E.call(e)}var ee=`[object Null]`,O=`[object Undefined]`,te=b?b.toStringTag:void 0;function k(e){return e==null?e===void 0?O:ee:te&&te in Object(e)?T(e):D(e)}function A(e){return typeof e==`object`&&!!e}var ne=`[object Symbol]`;function j(e){return typeof e==`symbol`||A(e)&&k(e)==ne}function re(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var M=Array.isArray,ie=1/0,ae=b?b.prototype:void 0,N=ae?ae.toString:void 0;function oe(e){if(typeof e==`string`)return e;if(M(e))return re(e,oe)+``;if(j(e))return N?N.call(e):``;var t=e+``;return t==`0`&&1/e==-ie?`-0`:t}function se(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}function ce(e){return e}var le=`[object AsyncFunction]`,ue=`[object Function]`,de=`[object GeneratorFunction]`,fe=`[object Proxy]`;function pe(e){if(!se(e))return!1;var t=k(e);return t==ue||t==de||t==le||t==fe}var me=y[`__core-js_shared__`],he=function(){var e=/[^.]+$/.exec(me&&me.keys&&me.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function ge(e){return!!he&&he in e}var _e=Function.prototype.toString;function ve(e){if(e!=null){try{return _e.call(e)}catch{}try{return e+``}catch{}}return``}var ye=/[\\^$.*+?()[\]{}|]/g,be=/^\[object .+?Constructor\]$/,xe=Function.prototype,Se=Object.prototype,Ce=xe.toString,we=Se.hasOwnProperty,Te=RegExp(`^`+Ce.call(we).replace(ye,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function Ee(e){return!se(e)||ge(e)?!1:(pe(e)?Te:be).test(ve(e))}function De(e,t){return e?.[t]}function Oe(e,t){var n=De(e,t);return Ee(n)?n:void 0}var ke=Oe(y,`WeakMap`),Ae=Object.create,je=function(){function e(){}return function(t){if(!se(t))return{};if(Ae)return Ae(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Me(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Ne(e,t){var n=-1,r=e.length;for(t||=Array(r);++n<r;)t[n]=e[n];return t}var Pe=800,Fe=16,Ie=Date.now;function Le(e){var t=0,n=0;return function(){var r=Ie(),i=Fe-(r-n);if(n=r,i>0){if(++t>=Pe)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Re(e){return function(){return e}}var ze=function(){try{var e=Oe(Object,`defineProperty`);return e({},``,{}),e}catch{}}(),Be=Le(ze?function(e,t){return ze(e,`toString`,{configurable:!0,enumerable:!1,value:Re(t),writable:!0})}:ce);function Ve(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function He(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}function Ue(e){return e!==e}function We(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function Ge(e,t,n){return t===t?We(e,t,n):He(e,Ue,n)}function Ke(e,t){return!!(e!=null&&e.length)&&Ge(e,t,0)>-1}var qe=9007199254740991,Je=/^(?:0|[1-9]\d*)$/;function Ye(e,t){var n=typeof e;return t??=qe,!!t&&(n==`number`||n!=`symbol`&&Je.test(e))&&e>-1&&e%1==0&&e<t}function Xe(e,t,n){t==`__proto__`&&ze?ze(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Ze(e,t){return e===t||e!==e&&t!==t}var Qe=Object.prototype.hasOwnProperty;function $e(e,t,n){var r=e[t];(!(Qe.call(e,t)&&Ze(r,n))||n===void 0&&!(t in e))&&Xe(e,t,n)}function et(e,t,n,r){var i=!n;n||={};for(var a=-1,o=t.length;++a<o;){var s=t[a],c=r?r(n[s],e[s],s,n,e):void 0;c===void 0&&(c=e[s]),i?Xe(n,s,c):$e(n,s,c)}return n}var tt=Math.max;function nt(e,t,n){return t=tt(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=tt(r.length-t,0),o=Array(a);++i<a;)o[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(o),Me(e,this,s)}}function rt(e,t){return Be(nt(e,t,ce),e+``)}var it=9007199254740991;function at(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=it}function ot(e){return e!=null&&at(e.length)&&!pe(e)}function st(e,t,n){if(!se(n))return!1;var r=typeof t;return(r==`number`?ot(n)&&Ye(t,n.length):r==`string`&&t in n)?Ze(n[t],e):!1}function ct(e){return rt(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(a=e.length>3&&typeof a==`function`?(i--,a):void 0,o&&st(n[0],n[1],o)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,a)}return t})}var lt=Object.prototype;function ut(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||lt)}function dt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var ft=`[object Arguments]`;function pt(e){return A(e)&&k(e)==ft}var mt=Object.prototype,ht=mt.hasOwnProperty,gt=mt.propertyIsEnumerable,_t=pt(function(){return arguments}())?pt:function(e){return A(e)&&ht.call(e,`callee`)&&!gt.call(e,`callee`)};function vt(){return!1}var yt=typeof exports==`object`&&exports&&!exports.nodeType&&exports,bt=yt&&typeof module==`object`&&module&&!module.nodeType&&module,xt=bt&&bt.exports===yt?y.Buffer:void 0,P=(xt?xt.isBuffer:void 0)||vt,St=`[object Arguments]`,Ct=`[object Array]`,wt=`[object Boolean]`,Tt=`[object Date]`,Et=`[object Error]`,Dt=`[object Function]`,Ot=`[object Map]`,kt=`[object Number]`,At=`[object Object]`,jt=`[object RegExp]`,Mt=`[object Set]`,Nt=`[object String]`,Pt=`[object WeakMap]`,Ft=`[object ArrayBuffer]`,It=`[object DataView]`,Lt=`[object Float32Array]`,Rt=`[object Float64Array]`,zt=`[object Int8Array]`,Bt=`[object Int16Array]`,Vt=`[object Int32Array]`,Ht=`[object Uint8Array]`,Ut=`[object Uint8ClampedArray]`,Wt=`[object Uint16Array]`,Gt=`[object Uint32Array]`,F={};F[Lt]=F[Rt]=F[zt]=F[Bt]=F[Vt]=F[Ht]=F[Ut]=F[Wt]=F[Gt]=!0,F[St]=F[Ct]=F[Ft]=F[wt]=F[It]=F[Tt]=F[Et]=F[Dt]=F[Ot]=F[kt]=F[At]=F[jt]=F[Mt]=F[Nt]=F[Pt]=!1;function I(e){return A(e)&&at(e.length)&&!!F[k(e)]}function Kt(e){return function(t){return e(t)}}var qt=typeof exports==`object`&&exports&&!exports.nodeType&&exports,Jt=qt&&typeof module==`object`&&module&&!module.nodeType&&module,Yt=Jt&&Jt.exports===qt&&_.process,Xt=function(){try{return Jt&&Jt.require&&Jt.require(`util`).types||Yt&&Yt.binding&&Yt.binding(`util`)}catch{}}(),Zt=Xt&&Xt.isTypedArray,Qt=Zt?Kt(Zt):I,$t=Object.prototype.hasOwnProperty;function en(e,t){var n=M(e),r=!n&&_t(e),i=!n&&!r&&P(e),a=!n&&!r&&!i&&Qt(e),o=n||r||i||a,s=o?dt(e.length,String):[],c=s.length;for(var l in e)(t||$t.call(e,l))&&!(o&&(l==`length`||i&&(l==`offset`||l==`parent`)||a&&(l==`buffer`||l==`byteLength`||l==`byteOffset`)||Ye(l,c)))&&s.push(l);return s}function tn(e,t){return function(n){return e(t(n))}}var nn=tn(Object.keys,Object),rn=Object.prototype.hasOwnProperty;function an(e){if(!ut(e))return nn(e);var t=[];for(var n in Object(e))rn.call(e,n)&&n!=`constructor`&&t.push(n);return t}function on(e){return ot(e)?en(e):an(e)}var sn=Object.prototype.hasOwnProperty,cn=ct(function(e,t){if(ut(t)||ot(t)){et(t,on(t),e);return}for(var n in t)sn.call(t,n)&&$e(e,n,t[n])});function ln(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var un=Object.prototype.hasOwnProperty;function dn(e){if(!se(e))return ln(e);var t=ut(e),n=[];for(var r in e)r==`constructor`&&(t||!un.call(e,r))||n.push(r);return n}function fn(e){return ot(e)?en(e,!0):dn(e)}var pn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,mn=/^\w*$/;function hn(e,t){if(M(e))return!1;var n=typeof e;return n==`number`||n==`symbol`||n==`boolean`||e==null||j(e)?!0:mn.test(e)||!pn.test(e)||t!=null&&e in Object(t)}var gn=Oe(Object,`create`);function _n(){this.__data__=gn?gn(null):{},this.size=0}function vn(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}var yn=`__lodash_hash_undefined__`,bn=Object.prototype.hasOwnProperty;function xn(e){var t=this.__data__;if(gn){var n=t[e];return n===yn?void 0:n}return bn.call(t,e)?t[e]:void 0}var Sn=Object.prototype.hasOwnProperty;function Cn(e){var t=this.__data__;return gn?t[e]!==void 0:Sn.call(t,e)}var wn=`__lodash_hash_undefined__`;function Tn(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=gn&&t===void 0?wn:t,this}function En(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}En.prototype.clear=_n,En.prototype.delete=vn,En.prototype.get=xn,En.prototype.has=Cn,En.prototype.set=Tn;function Dn(){this.__data__=[],this.size=0}function On(e,t){for(var n=e.length;n--;)if(Ze(e[n][0],t))return n;return-1}var kn=Array.prototype.splice;function An(e){var t=this.__data__,n=On(t,e);return n<0?!1:(n==t.length-1?t.pop():kn.call(t,n,1),--this.size,!0)}function jn(e){var t=this.__data__,n=On(t,e);return n<0?void 0:t[n][1]}function Mn(e){return On(this.__data__,e)>-1}function Nn(e,t){var n=this.__data__,r=On(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Pn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Pn.prototype.clear=Dn,Pn.prototype.delete=An,Pn.prototype.get=jn,Pn.prototype.has=Mn,Pn.prototype.set=Nn;var Fn=Oe(y,`Map`);function In(){this.size=0,this.__data__={hash:new En,map:new(Fn||Pn),string:new En}}function Ln(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}function Rn(e,t){var n=e.__data__;return Ln(t)?n[typeof t==`string`?`string`:`hash`]:n.map}function zn(e){var t=Rn(this,e).delete(e);return this.size-=+!!t,t}function Bn(e){return Rn(this,e).get(e)}function Vn(e){return Rn(this,e).has(e)}function Hn(e,t){var n=Rn(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Un(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Un.prototype.clear=In,Un.prototype.delete=zn,Un.prototype.get=Bn,Un.prototype.has=Vn,Un.prototype.set=Hn;var Wn=`Expected a function`;function Gn(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw TypeError(Wn);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(Gn.Cache||Un),n}Gn.Cache=Un;var Kn=500;function qn(e){var t=Gn(e,function(e){return n.size===Kn&&n.clear(),e}),n=t.cache;return t}var Jn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Yn=/\\(\\)?/g,Xn=qn(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(Jn,function(e,n,r,i){t.push(r?i.replace(Yn,`$1`):n||e)}),t});function Zn(e){return e==null?``:oe(e)}function Qn(e,t){return M(e)?e:hn(e,t)?[e]:Xn(Zn(e))}var $n=1/0;function er(e){if(typeof e==`string`||j(e))return e;var t=e+``;return t==`0`&&1/e==-$n?`-0`:t}function tr(e,t){t=Qn(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[er(t[n++])];return n&&n==r?e:void 0}function nr(e,t,n){var r=e==null?void 0:tr(e,t);return r===void 0?n:r}function rr(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var ir=b?b.isConcatSpreadable:void 0;function ar(e){return M(e)||_t(e)||!!(ir&&e&&e[ir])}function or(e,t,n,r,i){var a=-1,o=e.length;for(n||=ar,i||=[];++a<o;){var s=e[a];t>0&&n(s)?t>1?or(s,t-1,n,r,i):rr(i,s):r||(i[i.length]=s)}return i}var sr=tn(Object.getPrototypeOf,Object);function cr(){this.__data__=new Pn,this.size=0}function lr(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function ur(e){return this.__data__.get(e)}function dr(e){return this.__data__.has(e)}var fr=200;function pr(e,t){var n=this.__data__;if(n instanceof Pn){var r=n.__data__;if(!Fn||r.length<fr-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Un(r)}return n.set(e,t),this.size=n.size,this}function mr(e){var t=this.__data__=new Pn(e);this.size=t.size}mr.prototype.clear=cr,mr.prototype.delete=lr,mr.prototype.get=ur,mr.prototype.has=dr,mr.prototype.set=pr;function hr(e,t){return e&&et(t,on(t),e)}function gr(e,t){return e&&et(t,fn(t),e)}var _r=typeof exports==`object`&&exports&&!exports.nodeType&&exports,vr=_r&&typeof module==`object`&&module&&!module.nodeType&&module,yr=vr&&vr.exports===_r?y.Buffer:void 0,br=yr?yr.allocUnsafe:void 0;function xr(e,t){if(t)return e.slice();var n=e.length,r=br?br(n):new e.constructor(n);return e.copy(r),r}function Sr(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function Cr(){return[]}var wr=Object.prototype.propertyIsEnumerable,Tr=Object.getOwnPropertySymbols,Er=Tr?function(e){return e==null?[]:(e=Object(e),Sr(Tr(e),function(t){return wr.call(e,t)}))}:Cr;function Dr(e,t){return et(e,Er(e),t)}var Or=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)rr(t,Er(e)),e=sr(e);return t}:Cr;function kr(e,t){return et(e,Or(e),t)}function Ar(e,t,n){var r=t(e);return M(e)?r:rr(r,n(e))}function jr(e){return Ar(e,on,Er)}function Mr(e){return Ar(e,fn,Or)}var Nr=Oe(y,`DataView`),Pr=Oe(y,`Promise`),Fr=Oe(y,`Set`),Ir=`[object Map]`,Lr=`[object Object]`,Rr=`[object Promise]`,zr=`[object Set]`,Br=`[object WeakMap]`,Vr=`[object DataView]`,Hr=ve(Nr),Ur=ve(Fn),Wr=ve(Pr),Gr=ve(Fr),Kr=ve(ke),qr=k;(Nr&&qr(new Nr(new ArrayBuffer(1)))!=Vr||Fn&&qr(new Fn)!=Ir||Pr&&qr(Pr.resolve())!=Rr||Fr&&qr(new Fr)!=zr||ke&&qr(new ke)!=Br)&&(qr=function(e){var t=k(e),n=t==Lr?e.constructor:void 0,r=n?ve(n):``;if(r)switch(r){case Hr:return Vr;case Ur:return Ir;case Wr:return Rr;case Gr:return zr;case Kr:return Br}return t});var Jr=qr,Yr=Object.prototype.hasOwnProperty;function Xr(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]==`string`&&Yr.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}var Zr=y.Uint8Array;function Qr(e){var t=new e.constructor(e.byteLength);return new Zr(t).set(new Zr(e)),t}function $r(e,t){var n=t?Qr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var ei=/\w*$/;function ti(e){var t=new e.constructor(e.source,ei.exec(e));return t.lastIndex=e.lastIndex,t}var ni=b?b.prototype:void 0,ri=ni?ni.valueOf:void 0;function ii(e){return ri?Object(ri.call(e)):{}}function ai(e,t){var n=t?Qr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var oi=`[object Boolean]`,si=`[object Date]`,ci=`[object Map]`,li=`[object Number]`,ui=`[object RegExp]`,di=`[object Set]`,fi=`[object String]`,pi=`[object Symbol]`,mi=`[object ArrayBuffer]`,hi=`[object DataView]`,gi=`[object Float32Array]`,_i=`[object Float64Array]`,vi=`[object Int8Array]`,yi=`[object Int16Array]`,bi=`[object Int32Array]`,xi=`[object Uint8Array]`,Si=`[object Uint8ClampedArray]`,Ci=`[object Uint16Array]`,wi=`[object Uint32Array]`;function Ti(e,t,n){var r=e.constructor;switch(t){case mi:return Qr(e);case oi:case si:return new r(+e);case hi:return $r(e,n);case gi:case _i:case vi:case yi:case bi:case xi:case Si:case Ci:case wi:return ai(e,n);case ci:return new r;case li:case fi:return new r(e);case ui:return ti(e);case di:return new r;case pi:return ii(e)}}function Ei(e){return typeof e.constructor==`function`&&!ut(e)?je(sr(e)):{}}var Di=`[object Map]`;function Oi(e){return A(e)&&Jr(e)==Di}var ki=Xt&&Xt.isMap,Ai=ki?Kt(ki):Oi,ji=`[object Set]`;function Mi(e){return A(e)&&Jr(e)==ji}var Ni=Xt&&Xt.isSet,Pi=Ni?Kt(Ni):Mi,Fi=1,Ii=2,Li=4,Ri=`[object Arguments]`,zi=`[object Array]`,Bi=`[object Boolean]`,Vi=`[object Date]`,Hi=`[object Error]`,Ui=`[object Function]`,Wi=`[object GeneratorFunction]`,Gi=`[object Map]`,Ki=`[object Number]`,qi=`[object Object]`,Ji=`[object RegExp]`,Yi=`[object Set]`,Xi=`[object String]`,Zi=`[object Symbol]`,Qi=`[object WeakMap]`,L=`[object ArrayBuffer]`,$i=`[object DataView]`,ea=`[object Float32Array]`,ta=`[object Float64Array]`,na=`[object Int8Array]`,ra=`[object Int16Array]`,ia=`[object Int32Array]`,aa=`[object Uint8Array]`,oa=`[object Uint8ClampedArray]`,sa=`[object Uint16Array]`,ca=`[object Uint32Array]`,R={};R[Ri]=R[zi]=R[L]=R[$i]=R[Bi]=R[Vi]=R[ea]=R[ta]=R[na]=R[ra]=R[ia]=R[Gi]=R[Ki]=R[qi]=R[Ji]=R[Yi]=R[Xi]=R[Zi]=R[aa]=R[oa]=R[sa]=R[ca]=!0,R[Hi]=R[Ui]=R[Qi]=!1;function la(e,t,n,r,i,a){var o,s=t&Fi,c=t&Ii,l=t&Li;if(n&&(o=i?n(e,r,i,a):n(e)),o!==void 0)return o;if(!se(e))return e;var u=M(e);if(u){if(o=Xr(e),!s)return Ne(e,o)}else{var d=Jr(e),f=d==Ui||d==Wi;if(P(e))return xr(e,s);if(d==qi||d==Ri||f&&!i){if(o=c||f?{}:Ei(e),!s)return c?kr(e,gr(o,e)):Dr(e,hr(o,e))}else{if(!R[d])return i?e:{};o=Ti(e,d,s)}}a||=new mr;var p=a.get(e);if(p)return p;a.set(e,o),Pi(e)?e.forEach(function(r){o.add(la(r,t,n,r,e,a))}):Ai(e)&&e.forEach(function(r,i){o.set(i,la(r,t,n,i,e,a))});var m=u?void 0:(l?c?Mr:jr:c?fn:on)(e);return Ve(m||e,function(r,i){m&&(i=r,r=e[i]),$e(o,i,la(r,t,n,i,e,a))}),o}var ua=1,da=4;function fa(e){return la(e,ua|da)}function pa(e){for(var t=-1,n=e==null?0:e.length,r=0,i=[];++t<n;){var a=e[t];a&&(i[r++]=a)}return i}var ma=`__lodash_hash_undefined__`;function ha(e){return this.__data__.set(e,ma),this}function ga(e){return this.__data__.has(e)}function _a(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Un;++t<n;)this.add(e[t])}_a.prototype.add=_a.prototype.push=ha,_a.prototype.has=ga;function va(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function ya(e,t){return e.has(t)}var ba=1,xa=2;function Sa(e,t,n,r,i,a){var o=n&ba,s=e.length,c=t.length;if(s!=c&&!(o&&c>s))return!1;var l=a.get(e),u=a.get(t);if(l&&u)return l==t&&u==e;var d=-1,f=!0,p=n&xa?new _a:void 0;for(a.set(e,t),a.set(t,e);++d<s;){var m=e[d],h=t[d];if(r)var g=o?r(h,m,d,t,e,a):r(m,h,d,e,t,a);if(g!==void 0){if(g)continue;f=!1;break}if(p){if(!va(t,function(e,t){if(!ya(p,t)&&(m===e||i(m,e,n,r,a)))return p.push(t)})){f=!1;break}}else if(!(m===h||i(m,h,n,r,a))){f=!1;break}}return a.delete(e),a.delete(t),f}function Ca(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function wa(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var Ta=1,Ea=2,Da=`[object Boolean]`,Oa=`[object Date]`,ka=`[object Error]`,Aa=`[object Map]`,ja=`[object Number]`,Ma=`[object RegExp]`,Na=`[object Set]`,Pa=`[object String]`,Fa=`[object Symbol]`,Ia=`[object ArrayBuffer]`,La=`[object DataView]`,Ra=b?b.prototype:void 0,za=Ra?Ra.valueOf:void 0;function Ba(e,t,n,r,i,a,o){switch(n){case La:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Ia:return!(e.byteLength!=t.byteLength||!a(new Zr(e),new Zr(t)));case Da:case Oa:case ja:return Ze(+e,+t);case ka:return e.name==t.name&&e.message==t.message;case Ma:case Pa:return e==t+``;case Aa:var s=Ca;case Na:var c=r&Ta;if(s||=wa,e.size!=t.size&&!c)return!1;var l=o.get(e);if(l)return l==t;r|=Ea,o.set(e,t);var u=Sa(s(e),s(t),r,i,a,o);return o.delete(e),u;case Fa:if(za)return za.call(e)==za.call(t)}return!1}var Va=1,Ha=Object.prototype.hasOwnProperty;function Ua(e,t,n,r,i,a){var o=n&Va,s=jr(e),c=s.length;if(c!=jr(t).length&&!o)return!1;for(var l=c;l--;){var u=s[l];if(!(o?u in t:Ha.call(t,u)))return!1}var d=a.get(e),f=a.get(t);if(d&&f)return d==t&&f==e;var p=!0;a.set(e,t),a.set(t,e);for(var m=o;++l<c;){u=s[l];var h=e[u],g=t[u];if(r)var _=o?r(g,h,u,t,e,a):r(h,g,u,e,t,a);if(!(_===void 0?h===g||i(h,g,n,r,a):_)){p=!1;break}m||=u==`constructor`}if(p&&!m){var v=e.constructor,y=t.constructor;v!=y&&`constructor`in e&&`constructor`in t&&!(typeof v==`function`&&v instanceof v&&typeof y==`function`&&y instanceof y)&&(p=!1)}return a.delete(e),a.delete(t),p}var Wa=1,Ga=`[object Arguments]`,Ka=`[object Array]`,qa=`[object Object]`,Ja=Object.prototype.hasOwnProperty;function Ya(e,t,n,r,i,a){var o=M(e),s=M(t),c=o?Ka:Jr(e),l=s?Ka:Jr(t);c=c==Ga?qa:c,l=l==Ga?qa:l;var u=c==qa,d=l==qa,f=c==l;if(f&&P(e)){if(!P(t))return!1;o=!0,u=!1}if(f&&!u)return a||=new mr,o||Qt(e)?Sa(e,t,n,r,i,a):Ba(e,t,c,n,r,i,a);if(!(n&Wa)){var p=u&&Ja.call(e,`__wrapped__`),m=d&&Ja.call(t,`__wrapped__`);if(p||m){var h=p?e.value():e,g=m?t.value():t;return a||=new mr,i(h,g,n,r,a)}}return f?(a||=new mr,Ua(e,t,n,r,i,a)):!1}function Xa(e,t,n,r,i){return e===t?!0:e==null||t==null||!A(e)&&!A(t)?e!==e&&t!==t:Ya(e,t,n,r,Xa,i)}var Za=1,Qa=2;function $a(e,t,n,r){var i=n.length,a=i,o=!r;if(e==null)return!a;for(e=Object(e);i--;){var s=n[i];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<a;){s=n[i];var c=s[0],l=e[c],u=s[1];if(o&&s[2]){if(l===void 0&&!(c in e))return!1}else{var d=new mr;if(r)var f=r(l,u,c,e,t,d);if(!(f===void 0?Xa(u,l,Za|Qa,r,d):f))return!1}}return!0}function eo(e){return e===e&&!se(e)}function to(e){for(var t=on(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,eo(i)]}return t}function no(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function ro(e){var t=to(e);return t.length==1&&t[0][2]?no(t[0][0],t[0][1]):function(n){return n===e||$a(n,e,t)}}function io(e,t){return e!=null&&t in Object(e)}function ao(e,t,n){t=Qn(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var o=er(t[r]);if(!(a=e!=null&&n(e,o)))break;e=e[o]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&at(i)&&Ye(o,i)&&(M(e)||_t(e)))}function oo(e,t){return e!=null&&ao(e,t,io)}var so=1,co=2;function lo(e,t){return hn(e)&&eo(t)?no(er(e),t):function(n){var r=nr(n,e);return r===void 0&&r===t?oo(n,e):Xa(t,r,so|co)}}function uo(e){return function(t){return t?.[e]}}function fo(e){return function(t){return tr(t,e)}}function po(e){return hn(e)?uo(er(e)):fo(e)}function mo(e){return typeof e==`function`?e:e==null?ce:typeof e==`object`?M(e)?lo(e[0],e[1]):ro(e):po(e)}function ho(e){return function(t,n,r){for(var i=-1,a=Object(t),o=r(t),s=o.length;s--;){var c=o[e?s:++i];if(n(a[c],c,a)===!1)break}return t}}var go=ho();function _o(e,t){return e&&go(e,t,on)}function vo(e,t){return function(n,r){if(n==null)return n;if(!ot(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=Object(n);(t?a--:++a<i)&&r(o[a],a,o)!==!1;);return n}}var yo=vo(_o);function bo(e){return A(e)&&ot(e)}function xo(e,t,n){for(var r=-1,i=e==null?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}var So=200;function Co(e,t,n,r){var i=-1,a=Ke,o=!0,s=e.length,c=[],l=t.length;if(!s)return c;n&&(t=re(t,Kt(n))),r?(a=xo,o=!1):t.length>=So&&(a=ya,o=!1,t=new _a(t));outer:for(;++i<s;){var u=e[i],d=n==null?u:n(u);if(u=r||u!==0?u:0,o&&d===d){for(var f=l;f--;)if(t[f]===d)continue outer;c.push(u)}else a(t,d,r)||c.push(u)}return c}var wo=rt(function(e,t){return bo(e)?Co(e,or(t,1,bo,!0)):[]});function To(e,t){var n=-1,r=ot(e)?Array(e.length):[];return yo(e,function(e,i,a){r[++n]=t(e,i,a)}),r}function Eo(e,t){return(M(e)?re:To)(e,mo(t,3))}var Do=`[object Map]`,Oo=`[object Set]`,ko=Object.prototype.hasOwnProperty;function Ao(e){if(e==null)return!0;if(ot(e)&&(M(e)||typeof e==`string`||typeof e.splice==`function`||P(e)||Qt(e)||_t(e)))return!e.length;var t=Jr(e);if(t==Do||t==Oo)return!e.size;if(ut(e))return!an(e).length;for(var n in e)if(ko.call(e,n))return!1;return!0}function jo(e,t){return Xa(e,t)}var Mo=0;function No(e){var t=++Mo;return Zn(e)+t}function Po(){return()=>{}}var Fo=`https://cdn.jsdelivr.net/npm/mathjax@4/tex-chtml.js`,Io=null;function Lo(e){return typeof window>`u`||window.MathJax?.version?Promise.resolve():Io||(Io=new Promise((t,n)=>{let{useSingleDollar:r=!1,accessibility:i=!0,loadFonts:a=!0,srcUrl:o}=e,s={loader:{load:i?[`a11y/assistive-mml`]:[]},tex:{packages:[`base`,`ams`,`autoload`],macros:{parallelogram:`\\lower.2em{\\Huge\\unicode{x25B1}}`,overarc:`\\overparen`,napprox:`\\not\\approx`,longdiv:`\\enclose{longdiv}`}},options:{enableMenu:i,enableExplorer:i,enableAssistiveMml:i},startup:{ready:()=>{window.MathJax?.startup.defaultReady&&(window.MathJax.startup.defaultReady(),t())},defaultReady:()=>{}}};r&&s.tex&&(s.tex.inlineMath=[[`$`,`$`],[`\\(`,`\\)`]],s.tex.processEscapes=!0),a||(s.chtml={fontURL:``}),window.MathJax=s;let c=document.createElement(`script`);c.src=o||Fo,c.async=!0,c.onload=()=>{setTimeout(t,100)},c.onerror=()=>{n(Error(`Failed to load MathJax`))},document.head.appendChild(c)}),Io)}function Ro(){let e=window.MathJax?.startup?.document;if(typeof e?.assistiveMml==`function`)try{e.assistiveMml().updateDocument?.()}catch(e){console.warn(`[mathjax-renderer] Failed to attach assistive MathML:`,e)}}function zo(e={}){return async t=>{if(await Lo(e),!window.MathJax?.typesetPromise){console.warn(`[mathjax-renderer] MathJax not loaded or missing typesetPromise.`);return}await window.MathJax.typesetPromise([t]),Ro()}}var Bo=null;function Vo(){return Bo||=zo({accessibility:!0,useSingleDollar:!0}),Bo}var Ho=async e=>{if(typeof window>`u`)return;let t=typeof e==`string`,n;return t?(n=document.createElement(`div`),n.innerHTML=e):n=e||document.body,await Vo()(n),t?n.innerHTML:void 0};(class e extends CustomEvent{static{this.TYPE=`model-set`}constructor(t,n,r){super(e.TYPE,{bubbles:!0,composed:!0,detail:{complete:n,component:t,hasModel:r}}),this.component=t,this.complete=n}});var Uo=class e extends CustomEvent{static{this.TYPE=`session-changed`}constructor(t,n){super(e.TYPE,{bubbles:!0,composed:!0,detail:{complete:n,component:t}}),this.component=t,this.complete=n}},Wo=()=>null,z=new Proxy(Wo,{get:()=>Wo});function Go(e,...t){let n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append(`args[]`,e)),`Minified MUI error #${e}; visit ${n} for the full message.`}var Ko=`$$material`;function qo(){return qo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qo.apply(null,arguments)}var Jo=!1;function Yo(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Xo(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t.setAttribute(`data-s`,``),t}var Zo=function(){function e(e){var t=this;this._insertTag=function(e){var n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling;t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0?!Jo:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(Xo(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=Yo(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){return e.parentNode?.removeChild(e)}),this.tags=[],this.ctr=0},e}(),Qo=`-ms-`,$o=`-moz-`,B=`-webkit-`,es=`comm`,ts=`rule`,ns=`decl`,rs=`@import`,is=`@keyframes`,as=`@layer`,os=Math.abs,ss=String.fromCharCode,cs=Object.assign;function ls(e,t){return ps(e,0)^45?(((t<<2^ps(e,0))<<2^ps(e,1))<<2^ps(e,2))<<2^ps(e,3):0}function us(e){return e.trim()}function ds(e,t){return(e=t.exec(e))?e[0]:e}function V(e,t,n){return e.replace(t,n)}function fs(e,t){return e.indexOf(t)}function ps(e,t){return e.charCodeAt(t)|0}function ms(e,t,n){return e.slice(t,n)}function hs(e){return e.length}function gs(e){return e.length}function _s(e,t){return t.push(e),e}function vs(e,t){return e.map(t).join(``)}var ys=1,bs=1,xs=0,Ss=0,Cs=0,ws=``;function Ts(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:ys,column:bs,length:o,return:``}}function Es(e,t){return cs(Ts(``,null,null,``,null,null,0),e,{length:-e.length},t)}function Ds(){return Cs}function Os(){return Cs=Ss>0?ps(ws,--Ss):0,bs--,Cs===10&&(bs=1,ys--),Cs}function ks(){return Cs=Ss<xs?ps(ws,Ss++):0,bs++,Cs===10&&(bs=1,ys++),Cs}function As(){return ps(ws,Ss)}function js(){return Ss}function Ms(e,t){return ms(ws,e,t)}function Ns(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ps(e){return ys=bs=1,xs=hs(ws=e),Ss=0,[]}function Fs(e){return ws=``,e}function Is(e){return us(Ms(Ss-1,zs(e===91?e+2:e===40?e+1:e)))}function Ls(e){for(;(Cs=As())&&Cs<33;)ks();return Ns(e)>2||Ns(Cs)>3?``:` `}function Rs(e,t){for(;--t&&ks()&&!(Cs<48||Cs>102||Cs>57&&Cs<65||Cs>70&&Cs<97););return Ms(e,js()+(t<6&&As()==32&&ks()==32))}function zs(e){for(;ks();)switch(Cs){case e:return Ss;case 34:case 39:e!==34&&e!==39&&zs(Cs);break;case 40:e===41&&zs(e);break;case 92:ks();break}return Ss}function Bs(e,t){for(;ks()&&e+Cs!==57&&!(e+Cs===84&&As()===47););return`/*`+Ms(t,Ss-1)+`*`+ss(e===47?e:ks())}function Vs(e){for(;!Ns(As());)ks();return Ms(e,Ss)}function Hs(e){return Fs(Us(``,null,null,null,[``],e=Ps(e),0,[0],e))}function Us(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=ks()){case 40:if(m!=108&&ps(C,d-1)==58){fs(C+=V(Is(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=Is(v);break;case 9:case 10:case 13:case 32:C+=Ls(m);break;case 92:C+=Rs(js()-1,7);continue;case 47:switch(As()){case 42:case 47:_s(Gs(Bs(ks(),js()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=hs(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=V(C,/\f/g,``)),p>0&&hs(C)-d&&_s(p>32?Ks(C+`;`,r,n,d-1):Ks(V(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(_s(S=Ws(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123)if(u===0)Us(C,t,S,S,b,a,d,s,x);else switch(f===99&&ps(C,3)===110?100:f){case 100:case 108:case 109:case 115:Us(e,S,S,r&&_s(Ws(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:Us(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+hs(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&Os()==125)continue}switch(C+=ss(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(hs(C)-1)*_,_=1;break;case 64:As()===45&&(C+=Is(ks())),f=As(),u=d=hs(y=C+=Vs(js())),v++;break;case 45:m===45&&hs(C)==2&&(h=0)}}return a}function Ws(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=gs(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=ms(e,d+1,d=os(h=o[m])),y=e;_<p;++_)(y=us(h>0?f[_]+` `+v:V(v,/&\f/g,f[_])))&&(c[g++]=y);return Ts(e,t,n,i===0?ts:s,c,l,u)}function Gs(e,t,n){return Ts(e,t,n,es,ss(Ds()),ms(e,2,-2),0)}function Ks(e,t,n,r){return Ts(e,t,n,ns,ms(e,0,r),ms(e,r+1,-1),r)}function qs(e,t){for(var n=``,r=gs(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function Js(e,t,n,r){switch(e.type){case as:if(e.children.length)break;case rs:case ns:return e.return=e.return||e.value;case es:return``;case is:return e.return=e.value+`{`+qs(e.children,r)+`}`;case ts:e.value=e.props.join(`,`)}return hs(n=qs(e.children,r))?e.return=e.value+`{`+n+`}`:``}function Ys(e){var t=gs(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function Xs(e){return function(t){t.root||(t=t.return)&&e(t)}}function Zs(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Qs=function(e,t,n){for(var r=0,i=0;r=i,i=As(),r===38&&i===12&&(t[n]=1),!Ns(i);)ks();return Ms(e,Ss)},$s=function(e,t){var n=-1,r=44;do switch(Ns(r)){case 0:r===38&&As()===12&&(t[n]=1),e[n]+=Qs(Ss-1,t,n);break;case 2:e[n]+=Is(r);break;case 4:if(r===44){e[++n]=As()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=ss(r)}while(r=ks());return e},ec=function(e,t){return Fs($s(Ps(e),t))},tc=new WeakMap,nc=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!tc.get(n))&&!r){tc.set(e,!0);for(var i=[],a=ec(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},rc=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function ic(e,t){switch(ls(e,t)){case 5103:return B+`print-`+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return B+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return B+e+$o+e+Qo+e+e;case 6828:case 4268:return B+e+Qo+e+e;case 6165:return B+e+Qo+`flex-`+e+e;case 5187:return B+e+V(e,/(\w+).+(:[^]+)/,B+`box-$1$2`+Qo+`flex-$1$2`)+e;case 5443:return B+e+Qo+`flex-item-`+V(e,/flex-|-self/,``)+e;case 4675:return B+e+Qo+`flex-line-pack`+V(e,/align-content|flex-|-self/,``)+e;case 5548:return B+e+Qo+V(e,`shrink`,`negative`)+e;case 5292:return B+e+Qo+V(e,`basis`,`preferred-size`)+e;case 6060:return B+`box-`+V(e,`-grow`,``)+B+e+Qo+V(e,`grow`,`positive`)+e;case 4554:return B+V(e,/([^-])(transform)/g,`$1`+B+`$2`)+e;case 6187:return V(V(V(e,/(zoom-|grab)/,B+`$1`),/(image-set)/,B+`$1`),e,``)+e;case 5495:case 3959:return V(e,/(image-set\([^]*)/,B+"$1$`$1");case 4968:return V(V(e,/(.+:)(flex-)?(.*)/,B+`box-pack:$3`+Qo+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+B+e+e;case 4095:case 3583:case 4068:case 2532:return V(e,/(.+)-inline(.+)/,B+`$1$2`)+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(hs(e)-1-t>6)switch(ps(e,t+1)){case 109:if(ps(e,t+4)!==45)break;case 102:return V(e,/(.+:)(.+)-([^]+)/,`$1`+B+`$2-$3$1`+$o+(ps(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~fs(e,`stretch`)?ic(V(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(ps(e,t+1)!==115)break;case 6444:switch(ps(e,hs(e)-3-(~fs(e,`!important`)&&10))){case 107:return V(e,`:`,`:`+B)+e;case 101:return V(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+B+(ps(e,14)===45?`inline-`:``)+`box$3$1`+B+`$2$3$1`+Qo+`$2box$3`)+e}break;case 5936:switch(ps(e,t+11)){case 114:return B+e+Qo+V(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return B+e+Qo+V(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return B+e+Qo+V(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return B+e+Qo+e+e}return e}var ac=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case ns:e.return=ic(e.value,e.length);break;case is:return qs([Es(e,{value:V(e.value,`@`,`@`+B)})],r);case ts:if(e.length)return vs(e.props,function(t){switch(ds(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return qs([Es(e,{props:[V(t,/:(read-\w+)/,`:`+$o+`$1`)]})],r);case`::placeholder`:return qs([Es(e,{props:[V(t,/:(plac\w+)/,`:`+B+`input-$1`)]}),Es(e,{props:[V(t,/:(plac\w+)/,`:`+$o+`$1`)]}),Es(e,{props:[V(t,/:(plac\w+)/,Qo+`input-$1`)]})],r)}return``})}}],oc=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){e.getAttribute(`data-emotion`).indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||ac,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[nc,rc],l,u=[Js,Xs(function(e){l.insert(e)})],d=Ys(c.concat(r,u)),f=function(e){return qs(Hs(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new Zo({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p},sc=o((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),cc=o(((e,t)=>{t.exports=sc()})),lc=o(((e,t)=>{var n=cc(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h})),uc=!0;function dc(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var fc=function(e,t,n){var r=e.key+`-`+t.name;(n===!1||uc===!1)&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},pc=function(e,t,n){fc(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}};function mc(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var hc={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},gc=!1,_c=/[A-Z]|^ms/g,vc=/_EMO_([^_]+?)_([^]*?)_EMO_/g,yc=function(e){return e.charCodeAt(1)===45},bc=function(e){return e!=null&&typeof e!=`boolean`},xc=Zs(function(e){return yc(e)?e:e.replace(_c,`-$&`).toLowerCase()}),H=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(vc,function(e,t,n){return Ec={name:t,styles:n,next:Ec},t})}return hc[e]!==1&&!yc(e)&&typeof t==`number`&&t!==0?t+`px`:t},Sc=`Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.`;function Cc(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;if(i.anim===1)return Ec={name:i.name,styles:i.styles,next:Ec},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)Ec={name:o.name,styles:o.styles,next:Ec},o=o.next;return a.styles+`;`}return wc(e,t,n);case`function`:if(e!==void 0){var s=Ec,c=n(e);return Ec=s,Cc(e,t,c)}break}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function wc(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Cc(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:bc(s)&&(r+=xc(a)+`:`+H(a,s)+`;`)}else{if(a===`NO_COMPONENT_SELECTOR`&&gc)throw Error(Sc);if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)bc(o[c])&&(r+=xc(a)+`:`+H(a,o[c])+`;`);else{var l=Cc(e,t,o);switch(a){case`animation`:case`animationName`:r+=xc(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}}return r}var Tc=/label:\s*([^\s;{]+)\s*(;|$)/g,Ec;function Dc(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;Ec=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=Cc(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=Cc(n,t,e[o]),r&&(i+=a[o]);Tc.lastIndex=0;for(var s=``,c;(c=Tc.exec(i))!==null;)s+=`-`+c[1];return{name:mc(i)+s,styles:i,next:Ec}}var U=l(d()),Oc=function(e){return e()},kc=U.useInsertionEffect?U.useInsertionEffect:!1,Ac=kc||Oc,jc=kc||U.useLayoutEffect,Mc=U.createContext(typeof HTMLElement<`u`?oc({key:`css`}):null),Nc=Mc.Provider,Pc=function(e){return(0,U.forwardRef)(function(t,n){return e(t,(0,U.useContext)(Mc),n)})},Fc=U.createContext({}),Ic={}.hasOwnProperty,Lc=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,Rc=function(e,t){var n={};for(var r in t)Ic.call(t,r)&&(n[r]=t[r]);return n[Lc]=e,n},zc=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return fc(t,n,r),Ac(function(){return pc(t,n,r)}),null},Bc=Pc(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[Lc],a=[r],o=``;typeof e.className==`string`?o=dc(t.registered,a,e.className):e.className!=null&&(o=e.className+` `);var s=Dc(a,void 0,U.useContext(Fc));o+=t.key+`-`+s.name;var c={};for(var l in e)Ic.call(e,l)&&l!==`css`&&l!==Lc&&(c[l]=e[l]);return c.className=o,n&&(c.ref=n),U.createElement(U.Fragment,null,U.createElement(zc,{cache:t,serialized:s,isStringTag:typeof i==`string`}),U.createElement(i,c))});lc();var Vc=function(e,t){var n=arguments;if(t==null||!Ic.call(t,`css`))return U.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=Bc,i[1]=Rc(e,t);for(var a=2;a<r;a++)i[a]=n[a];return U.createElement.apply(null,i)};(function(e){var t;(function(e){})(t||=e.JSX||={})})(Vc||={});var Hc=Pc(function(e,t){var n=e.styles,r=Dc([n],void 0,U.useContext(Fc)),i=U.useRef();return jc(function(){var e=t.key+`-global`,n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,o=document.querySelector(`style[data-emotion="`+e+` `+r.name+`"]`);return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),o!==null&&(a=!0,o.setAttribute(`data-emotion`,e),n.hydrate([o])),i.current=[n,a],function(){n.flush()}},[t]),jc(function(){var e=i.current,n=e[0];if(e[1]){e[1]=!1;return}r.next!==void 0&&pc(t,r.next,!0),n.tags.length&&(n.before=n.tags[n.tags.length-1].nextElementSibling,n.flush()),t.insert(``,r,n,!1)},[t,r.name]),null});function Uc(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Dc(t)}function Wc(){var e=Uc.apply(void 0,arguments),t=`animation-`+e.name;return{name:t,styles:`@keyframes `+t+`{`+e.styles+`}`,anim:1,toString:function(){return`_EMO_`+this.name+`_`+this.styles+`_EMO_`}}}var Gc=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Kc=Zs(function(e){return Gc.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),qc=!1,Jc=Kc,Yc=function(e){return e!==`theme`},W=function(e){return typeof e==`string`&&e.charCodeAt(0)>96?Jc:Yc},Xc=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return typeof r!=`function`&&n&&(r=e.__emotion_forwardProp),r},Zc=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return fc(t,n,r),Ac(function(){return pc(t,n,r)}),null},Qc=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,a,o;n!==void 0&&(a=n.label,o=n.target);var s=Xc(t,n,r),c=s||W(i),l=!c(`as`);return function(){var u=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&d.push(`label:`+a+`;`),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{var f=u[0];d.push(f[0]);for(var p=u.length,m=1;m<p;m++)d.push(u[m],f[m])}var h=Pc(function(e,t,n){var r=l&&e.as||i,a=``,u=[],f=e;if(e.theme==null){for(var p in f={},e)f[p]=e[p];f.theme=U.useContext(Fc)}typeof e.className==`string`?a=dc(t.registered,u,e.className):e.className!=null&&(a=e.className+` `);var m=Dc(d.concat(u),t.registered,f);a+=t.key+`-`+m.name,o!==void 0&&(a+=` `+o);var h=l&&s===void 0?W(r):c,g={};for(var _ in e)l&&_===`as`||h(_)&&(g[_]=e[_]);return g.className=a,n&&(g.ref=n),U.createElement(U.Fragment,null,U.createElement(Zc,{cache:t,serialized:m,isStringTag:typeof r==`string`}),U.createElement(r,g))});return h.displayName=a===void 0?`Styled(`+(typeof i==`string`?i:i.displayName||i.name||`Component`)+`)`:a,h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_styles=d,h.__emotion_forwardProp=s,Object.defineProperty(h,`toString`,{value:function(){return o===void 0&&qc?`NO_COMPONENT_SELECTOR`:`.`+o}}),h.withComponent=function(t,r){return e(t,qo({},n,r,{shouldForwardProp:Xc(h,r,!0)})).apply(void 0,d)},h}},$c=`a.abbr.address.area.article.aside.audio.b.base.bdi.bdo.big.blockquote.body.br.button.canvas.caption.cite.code.col.colgroup.data.datalist.dd.del.details.dfn.dialog.div.dl.dt.em.embed.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.iframe.img.input.ins.kbd.keygen.label.legend.li.link.main.map.mark.marquee.menu.menuitem.meta.meter.nav.noscript.object.ol.optgroup.option.output.p.param.picture.pre.progress.q.rp.rt.ruby.s.samp.script.section.select.small.source.span.strong.style.sub.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.title.tr.track.u.ul.var.video.wbr.circle.clipPath.defs.ellipse.foreignObject.g.image.line.linearGradient.mask.path.pattern.polygon.polyline.radialGradient.rect.stop.svg.text.tspan`.split(`.`),el=Qc.bind(null);$c.forEach(function(e){el[e]=el(e)});var tl=o((e=>{var t=d(),n=Symbol.for(`react.element`),r=Symbol.for(`react.fragment`),i=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var s,c={},l=null,u=null;for(s in r!==void 0&&(l=``+r),t.key!==void 0&&(l=``+t.key),t.ref!==void 0&&(u=t.ref),t)i.call(t,s)&&!o.hasOwnProperty(s)&&(c[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps,t)c[s]===void 0&&(c[s]=t[s]);return{$$typeof:n,type:e,key:l,ref:u,props:c,_owner:a.current}}e.Fragment=r,e.jsx=s,e.jsxs=s})),G=o(((e,t)=>{t.exports=tl()}))(),nl=new Map,rl={insert:void 0},il=(e,t)=>{let n=oc(e);return n.sheet=new t({key:n.key,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy,prepend:n.sheet.prepend,insertionPoint:n.sheet.insertionPoint}),n},al;if(typeof document==`object`&&(al=document.querySelector(`[name="emotion-insertion-point"]`),!al)){al=document.createElement(`meta`),al.setAttribute(`name`,`emotion-insertion-point`),al.setAttribute(`content`,``);let e=document.querySelector(`head`);e&&e.prepend(al)}function ol(e,t){if(e||t){class n extends Zo{insert(e,t){return rl.insert?rl.insert(e,t):(this.key&&this.key.endsWith(`global`)&&(this.before=al),super.insert(e,t))}}let r=il({key:`css`,insertionPoint:e?al:void 0},n);if(t){let e=r.insert;r.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return r}}function sl(e){let{injectFirst:t,enableCssLayer:n,children:r}=e,i=U.useMemo(()=>{let e=`${t}-${n}`;if(typeof document==`object`&&nl.has(e))return nl.get(e);let r=ol(t,n);return nl.set(e,r),r},[t,n]);return i?(0,G.jsx)(Nc,{value:i,children:r}):r}function cl(e){return e==null||Object.keys(e).length===0}function ll(e){let{styles:t,defaultTheme:n={}}=e;return(0,G.jsx)(Hc,{styles:typeof t==`function`?e=>t(cl(e)?n:e):t})}function ul(e,t){return el(e,t)}function dl(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var fl=[];function pl(e){return fl[0]=e,Dc(fl)}var ml=o((e=>{var t=Symbol.for(`react.fragment`),n=Symbol.for(`react.strict_mode`),r=Symbol.for(`react.profiler`),i=Symbol.for(`react.consumer`),a=Symbol.for(`react.context`),o=Symbol.for(`react.forward_ref`),s=Symbol.for(`react.suspense`),c=Symbol.for(`react.suspense_list`),l=Symbol.for(`react.memo`),u=Symbol.for(`react.lazy`),d=Symbol.for(`react.client.reference`);e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===t||e===r||e===n||e===s||e===c||typeof e==`object`&&e&&(e.$$typeof===u||e.$$typeof===l||e.$$typeof===a||e.$$typeof===i||e.$$typeof===o||e.$$typeof===d||e.getModuleId!==void 0))}})),hl=o(((e,t)=>{t.exports=ml()}))();function gl(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function _l(e){if(U.isValidElement(e)||(0,hl.isValidElementType)(e)||!gl(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=_l(e[n])}),t}function vl(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return gl(e)&&gl(t)&&Object.keys(t).forEach(i=>{U.isValidElement(t[i])||(0,hl.isValidElementType)(t[i])?r[i]=t[i]:gl(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&gl(e[i])?r[i]=vl(e[i],t[i],n):n.clone?r[i]=gl(t[i])?_l(t[i]):t[i]:r[i]=t[i]}),r}var yl=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})};function bl(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=yl(t),o=Object.keys(a);function s(e){return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n})`}function c(e){return`@media (max-width:${(typeof t[e]==`number`?t[e]:e)-r/100}${n})`}function l(e,i){let a=o.indexOf(i);return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n}) and (max-width:${(a!==-1&&typeof t[o[a]]==`number`?t[o[a]]:i)-r/100}${n})`}function u(e){return o.indexOf(e)+1<o.length?l(e,o[o.indexOf(e)+1]):s(e)}function d(e){let t=o.indexOf(e);return t===0?s(o[1]):t===o.length-1?c(o[t]):l(e,o[o.indexOf(e)+1]).replace(`@media`,`@media not all and`)}return{keys:o,values:a,up:s,down:c,between:l,only:u,not:d,unit:n,...i}}function xl(e,t){if(!e.containerQueries)return t;let n=Object.keys(t).filter(e=>e.startsWith(`@container`)).sort((e,t)=>{let n=/min-width:\s*([0-9.]+)/;return(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)});return n.length?n.reduce((e,n)=>{let r=t[n];return delete e[n],e[n]=r,e},{...t}):t}function Sl(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function Cl(e,t){let n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;let[,r,i]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(a)}function wl(e){let t=(e,t)=>e.replace(`@media`,t?`@container ${t}`:`@container`);function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{let i=t(e.breakpoints.not(...n),r);return i.includes(`not all and`)?i.replace(`not all and `,``).replace(`min-width:`,`width<`).replace(`max-width:`,`width>`).replace(`and`,`or`):i}}let r={},i=e=>(n(r,e),r);return n(i),{...e,containerQueries:i}}var Tl={borderRadius:4};function El(e,t){return t?vl(e,t,{clone:!1}):e}var Dl={xs:0,sm:600,md:900,lg:1200,xl:1536},Ol={keys:[`xs`,`sm`,`md`,`lg`,`xl`],up:e=>`@media (min-width:${Dl[e]}px)`},kl={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:Dl[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Al(e,t,n){let r=e.theme||{};if(Array.isArray(t)){let e=r.breakpoints||Ol;return t.reduce((r,i,a)=>(r[e.up(e.keys[a])]=n(t[a]),r),{})}if(typeof t==`object`){let e=r.breakpoints||Ol;return Object.keys(t).reduce((i,a)=>{if(Sl(e.keys,a)){let e=Cl(r.containerQueries?r:kl,a);e&&(i[e]=n(t[a],a))}else if(Object.keys(e.values||Dl).includes(a)){let r=e.up(a);i[r]=n(t[a],a)}else{let e=a;i[e]=t[e]}return i},{})}return n(t)}function jl(e={}){return e.keys?.reduce((t,n)=>{let r=e.up(n);return t[r]={},t},{})||{}}function Ml(e,t){return e.reduce((e,t)=>{let n=e[t];return(!n||Object.keys(n).length===0)&&delete e[t],e},t)}function Nl(e){if(typeof e!=`string`)throw Error(Go(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Pl(e,t,n=!0){if(!t||typeof t!=`string`)return null;if(e&&e.vars&&n){let n=`vars.${t}`.split(`.`).reduce((e,t)=>e&&e[t]?e[t]:null,e);if(n!=null)return n}return t.split(`.`).reduce((e,t)=>e&&e[t]!=null?e[t]:null,e)}function Fl(e,t,n,r=n){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||r:Pl(e,n)||r,t&&(i=t(i,r,e)),i}function Il(e){let{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=e=>{if(e[t]==null)return null;let a=e[t],o=e.theme,s=Pl(o,r)||{};return Al(e,a,e=>{let r=Fl(s,i,e);return e===r&&typeof e==`string`&&(r=Fl(s,i,`${t}${e===`default`?``:Nl(e)}`,e)),n===!1?r:{[n]:r}})};return a.propTypes={},a.filterProps=[t],a}function Ll(e){let t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}var Rl={m:`margin`,p:`padding`},zl={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},Bl={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},Vl=Ll(e=>{if(e.length>2)if(Bl[e])e=Bl[e];else return[e];let[t,n]=e.split(``),r=Rl[t],i=zl[n]||``;return Array.isArray(i)?i.map(e=>r+e):[r+i]}),Hl=[`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`],Ul=[`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`],Wl=[...Hl,...Ul];function Gl(e,t,n,r){let i=Pl(e,t,!0)??n;return typeof i==`number`||typeof i==`string`?e=>typeof e==`string`?e:typeof i==`string`?i.startsWith(`var(`)&&e===0?0:i.startsWith(`var(`)&&e===1?i:`calc(${e} * ${i})`:i*e:Array.isArray(i)?e=>{if(typeof e==`string`)return e;let t=i[Math.abs(e)];return e>=0?t:typeof t==`number`?-t:typeof t==`string`&&t.startsWith(`var(`)?`calc(-1 * ${t})`:`-${t}`}:typeof i==`function`?i:()=>void 0}function Kl(e){return Gl(e,`spacing`,8,`spacing`)}function ql(e,t){return typeof t==`string`||t==null?t:e(t)}function Jl(e,t){return n=>e.reduce((e,r)=>(e[r]=ql(t,n),e),{})}function Yl(e,t,n,r){if(!t.includes(n))return null;let i=Jl(Vl(n),r),a=e[n];return Al(e,a,i)}function Xl(e,t){let n=Kl(e.theme);return Object.keys(e).map(r=>Yl(e,t,r,n)).reduce(El,{})}function Zl(e){return Xl(e,Hl)}Zl.propTypes={},Zl.filterProps=Hl;function Ql(e){return Xl(e,Ul)}Ql.propTypes={},Ql.filterProps=Ul;function $l(e){return Xl(e,Wl)}$l.propTypes={},$l.filterProps=Wl;function eu(e=8,t=Kl({spacing:e})){if(e.mui)return e;let n=(...e)=>(e.length===0?[1]:e).map(e=>{let n=t(e);return typeof n==`number`?`${n}px`:n}).join(` `);return n.mui=!0,n}function tu(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?El(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function nu(e){return typeof e==`number`?`${e}px solid`:e}function ru(e,t){return Il({prop:e,themeKey:`borders`,transform:t})}var iu=ru(`border`,nu),au=ru(`borderTop`,nu),ou=ru(`borderRight`,nu),su=ru(`borderBottom`,nu),cu=ru(`borderLeft`,nu),lu=ru(`borderColor`),uu=ru(`borderTopColor`),du=ru(`borderRightColor`),fu=ru(`borderBottomColor`),pu=ru(`borderLeftColor`),mu=ru(`outline`,nu),hu=ru(`outlineColor`),gu=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=Gl(e.theme,`shape.borderRadius`,4,`borderRadius`);return Al(e,e.borderRadius,e=>({borderRadius:ql(t,e)}))}return null};gu.propTypes={},gu.filterProps=[`borderRadius`],tu(iu,au,ou,su,cu,lu,uu,du,fu,pu,gu,mu,hu);var _u=e=>{if(e.gap!==void 0&&e.gap!==null){let t=Gl(e.theme,`spacing`,8,`gap`);return Al(e,e.gap,e=>({gap:ql(t,e)}))}return null};_u.propTypes={},_u.filterProps=[`gap`];var vu=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=Gl(e.theme,`spacing`,8,`columnGap`);return Al(e,e.columnGap,e=>({columnGap:ql(t,e)}))}return null};vu.propTypes={},vu.filterProps=[`columnGap`];var yu=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=Gl(e.theme,`spacing`,8,`rowGap`);return Al(e,e.rowGap,e=>({rowGap:ql(t,e)}))}return null};yu.propTypes={},yu.filterProps=[`rowGap`],tu(_u,vu,yu,Il({prop:`gridColumn`}),Il({prop:`gridRow`}),Il({prop:`gridAutoFlow`}),Il({prop:`gridAutoColumns`}),Il({prop:`gridAutoRows`}),Il({prop:`gridTemplateColumns`}),Il({prop:`gridTemplateRows`}),Il({prop:`gridTemplateAreas`}),Il({prop:`gridArea`}));function bu(e,t){return t===`grey`?t:e}tu(Il({prop:`color`,themeKey:`palette`,transform:bu}),Il({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:bu}),Il({prop:`backgroundColor`,themeKey:`palette`,transform:bu}));function xu(e){return e<=1&&e!==0?`${e*100}%`:e}var Su=Il({prop:`width`,transform:xu}),Cu=e=>e.maxWidth!==void 0&&e.maxWidth!==null?Al(e,e.maxWidth,t=>{let n=e.theme?.breakpoints?.values?.[t]||Dl[t];return n?e.theme?.breakpoints?.unit===`px`?{maxWidth:n}:{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:xu(t)}}):null;Cu.filterProps=[`maxWidth`];var wu=Il({prop:`minWidth`,transform:xu}),Tu=Il({prop:`height`,transform:xu}),Eu=Il({prop:`maxHeight`,transform:xu}),Du=Il({prop:`minHeight`,transform:xu});Il({prop:`size`,cssProperty:`width`,transform:xu}),Il({prop:`size`,cssProperty:`height`,transform:xu}),tu(Su,Cu,wu,Tu,Eu,Du,Il({prop:`boxSizing`}));var Ou={border:{themeKey:`borders`,transform:nu},borderTop:{themeKey:`borders`,transform:nu},borderRight:{themeKey:`borders`,transform:nu},borderBottom:{themeKey:`borders`,transform:nu},borderLeft:{themeKey:`borders`,transform:nu},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:nu},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:gu},color:{themeKey:`palette`,transform:bu},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:bu},backgroundColor:{themeKey:`palette`,transform:bu},p:{style:Ql},pt:{style:Ql},pr:{style:Ql},pb:{style:Ql},pl:{style:Ql},px:{style:Ql},py:{style:Ql},padding:{style:Ql},paddingTop:{style:Ql},paddingRight:{style:Ql},paddingBottom:{style:Ql},paddingLeft:{style:Ql},paddingX:{style:Ql},paddingY:{style:Ql},paddingInline:{style:Ql},paddingInlineStart:{style:Ql},paddingInlineEnd:{style:Ql},paddingBlock:{style:Ql},paddingBlockStart:{style:Ql},paddingBlockEnd:{style:Ql},m:{style:Zl},mt:{style:Zl},mr:{style:Zl},mb:{style:Zl},ml:{style:Zl},mx:{style:Zl},my:{style:Zl},margin:{style:Zl},marginTop:{style:Zl},marginRight:{style:Zl},marginBottom:{style:Zl},marginLeft:{style:Zl},marginX:{style:Zl},marginY:{style:Zl},marginInline:{style:Zl},marginInlineStart:{style:Zl},marginInlineEnd:{style:Zl},marginBlock:{style:Zl},marginBlockStart:{style:Zl},marginBlockEnd:{style:Zl},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:_u},rowGap:{style:yu},columnGap:{style:vu},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:xu},maxWidth:{style:Cu},minWidth:{transform:xu},height:{transform:xu},maxHeight:{transform:xu},minHeight:{transform:xu},boxSizing:{},font:{themeKey:`font`},fontFamily:{themeKey:`typography`},fontSize:{themeKey:`typography`},fontStyle:{themeKey:`typography`},fontWeight:{themeKey:`typography`},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:`typography`}};function ku(...e){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}function Au(e,t){return typeof e==`function`?e(t):e}function ju(){function e(e,t,n,r){let i={[e]:t,theme:n},a=r[e];if(!a)return{[e]:t};let{cssProperty:o=e,themeKey:s,transform:c,style:l}=a;if(t==null)return null;if(s===`typography`&&t===`inherit`)return{[e]:t};let u=Pl(n,s)||{};return l?l(i):Al(i,t,t=>{let n=Fl(u,c,t);return t===n&&typeof t==`string`&&(n=Fl(u,c,`${e}${t===`default`?``:Nl(t)}`,t)),o===!1?n:{[o]:n}})}function t(n){let{sx:r,theme:i={},nested:a}=n||{};if(!r)return null;let o=i.unstable_sxConfig??Ou;function s(n){let r=n;if(typeof n==`function`)r=n(i);else if(typeof n!=`object`)return n;if(!r)return null;let s=jl(i.breakpoints),c=Object.keys(s),l=s;return Object.keys(r).forEach(n=>{let a=Au(r[n],i);if(a!=null)if(typeof a==`object`)if(o[n])l=El(l,e(n,a,i,o));else{let e=Al({theme:i},a,e=>({[n]:e}));ku(e,a)?l[n]=t({sx:a,theme:i,nested:!0}):l=El(l,e)}else l=El(l,e(n,a,i,o))}),!a&&i.modularCssLayers?{"@layer sx":xl(i,Ml(c,l))}:xl(i,Ml(c,l))}return Array.isArray(r)?r.map(s):s(r)}return t}var Mu=ju();Mu.filterProps=[`sx`];function Nu(e,t){let n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!=`function`)return{};let r=n.getColorSchemeSelector(e);return r===`&`?t:((r.includes(`data-`)||r.includes(`.`))&&(r=`*:where(${r.replace(/\s*&$/,``)}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function Pu(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=bl(n),c=eu(i),l=vl({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...Tl,...a}},o);return l=wl(l),l.applyStyles=Nu,l=t.reduce((e,t)=>vl(e,t),l),l.unstable_sxConfig={...Ou,...o?.unstable_sxConfig},l.unstable_sx=function(e){return Mu({sx:e,theme:this})},l}function Fu(e){return Object.keys(e).length===0}function Iu(e=null){let t=U.useContext(Fc);return!t||Fu(t)?e:t}var Lu=Pu();function Ru(e=Lu){return Iu(e)}function zu(e){let t=pl(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function Bu({styles:e,themeId:t,defaultTheme:n={}}){let r=Ru(n),i=t&&r[t]||r,a=typeof e==`function`?e(i):e;return i.modularCssLayers&&(a=Array.isArray(a)?a.map(e=>zu(typeof e==`function`?e(i):e)):zu(a)),(0,G.jsx)(ll,{styles:a})}var Vu=e=>e,Hu=(()=>{let e=Vu;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Vu}}})();function Uu(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Uu(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function K(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Uu(e))&&(r&&(r+=` `),r+=t);return r}var Wu={active:`active`,checked:`checked`,completed:`completed`,disabled:`disabled`,error:`error`,expanded:`expanded`,focused:`focused`,focusVisible:`focusVisible`,open:`open`,readOnly:`readOnly`,required:`required`,selected:`selected`};function Gu(e,t,n=`Mui`){let r=Wu[t];return r?`${n}-${r}`:`${Hu.generate(e)}-${t}`}function Ku(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=Gu(e,t,n)}),r}function qu(e){let{variants:t,...n}=e,r={variants:t,style:pl(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=pl(e.style))}),r}var Ju=Pu();function Yu(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function Xu(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Zu(e){return e?(t,n)=>n[e]:null}function Qu(e,t,n){e.theme=nd(e.theme)?n:e.theme[t]||e.theme}function $u(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>$u(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?Xu(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?Xu(pl(i),n):i}return ed(e,r.variants,[t],n)}return r?.isProcessed?n?Xu(pl(r.style),n):r.style:n?Xu(pl(r),n):r}function ed(e,t,n=[],r=void 0){let i;variantLoop:for(let a=0;a<t.length;a+=1){let o=t[a];if(typeof o.props==`function`){if(i??={...e,...e.ownerState,ownerState:e.ownerState},!o.props(i))continue}else for(let t in o.props)if(e[t]!==o.props[t]&&e.ownerState?.[t]!==o.props[t])continue variantLoop;typeof o.style==`function`?(i??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?Xu(pl(o.style(i)),r):o.style(i))):n.push(r?Xu(pl(o.style),r):o.style)}return n}function td(e={}){let{themeId:t,defaultTheme:n=Ju,rootShouldForwardProp:r=Yu,slotShouldForwardProp:i=Yu}=e;function a(e){Qu(e,t,n)}return(e,t={})=>{dl(e,e=>e.filter(e=>e!==Mu));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=Zu(id(o)),...u}=t,d=n&&n.startsWith(`Mui`)||o?`components`:`custom`,f=s===void 0?o&&o!==`Root`&&o!==`root`||!1:s,p=c||!1,m=Yu;o===`Root`||o===`root`?m=r:o?m=i:rd(e)&&(m=void 0);let h=ul(e,{shouldForwardProp:m,label:void 0,...u}),g=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return $u(t,e,t.theme.modularCssLayers?d:void 0)};if(gl(e)){let t=qu(e);return function(e){return t.variants?$u(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?Xu(t.style,d):t.style}}return e},_=(...t)=>{let r=[],i=t.map(g),o=[];if(r.push(a),n&&l&&o.push(function(e){let t=e.theme.components?.[n]?.styleOverrides;if(!t)return null;let r={};for(let n in t)r[n]=$u(e,t[n],e.theme.modularCssLayers?`theme`:void 0);return l(e,r)}),n&&!f&&o.push(function(e){let t=e.theme?.components?.[n]?.variants;return t?ed(e,t,[],e.theme.modularCssLayers?`theme`:void 0):null}),p||o.push(Mu),Array.isArray(i[0])){let e=i.shift(),t=Array(r.length).fill(``),n=Array(o.length).fill(``),a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}let s=h(...r,...i,...o);return e.muiName&&(s.muiName=e.muiName),s};return h.withConfig&&(_.withConfig=h.withConfig),_}}function nd(e){for(let t in e)return!1;return!0}function rd(e){return typeof e==`string`&&e.charCodeAt(0)>96}function id(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function ad(e,t,n=!1){let r={...t};for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)){let a=i;if(a===`components`||a===`slots`)r[a]={...e[a],...r[a]};else if(a===`componentsProps`||a===`slotProps`){let i=e[a],o=t[a];if(!o)r[a]=i||{};else if(!i)r[a]=o;else{r[a]={...o};for(let e in i)if(Object.prototype.hasOwnProperty.call(i,e)){let t=e;r[a][t]=ad(i[t],o[t],n)}}}else a===`className`&&n&&t.className?r.className=K(e?.className,t?.className):a===`style`&&n&&t.style?r.style={...e?.style,...t?.style}:r[a]===void 0&&(r[a]=e[a])}return r}var od=typeof window<`u`?U.useLayoutEffect:U.useEffect;function sd(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function cd(e,t=0,n=1){return sd(e,t,n)}function ld(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,`g`),n=e.match(t);return n&&n[0].length===1&&(n=n.map(e=>e+e)),n?`rgb${n.length===4?`a`:``}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(`, `)})`:``}function ud(e){if(e.type)return e;if(e.charAt(0)===`#`)return ud(ld(e));let t=e.indexOf(`(`),n=e.substring(0,t);if(![`rgb`,`rgba`,`hsl`,`hsla`,`color`].includes(n))throw Error(Go(9,e));let r=e.substring(t+1,e.length-1),i;if(n===`color`){if(r=r.split(` `),i=r.shift(),r.length===4&&r[3].charAt(0)===`/`&&(r[3]=r[3].slice(1)),![`srgb`,`display-p3`,`a98-rgb`,`prophoto-rgb`,`rec-2020`].includes(i))throw Error(Go(10,i))}else r=r.split(`,`);return r=r.map(e=>parseFloat(e)),{type:n,values:r,colorSpace:i}}var dd=e=>{let t=ud(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},fd=(e,t)=>{try{return dd(e)}catch{return e}};function pd(e){let{type:t,colorSpace:n}=e,{values:r}=e;return t.includes(`rgb`)?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes(`hsl`)&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes(`color`)?`${n} ${r.join(` `)}`:`${r.join(`, `)}`,`${t}(${r})`}function md(e){e=ud(e);let{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),o=(e,t=(e+n/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1),s=`rgb`,c=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type===`hsla`&&(s+=`a`,c.push(t[3])),pd({type:s,values:c})}function hd(e){e=ud(e);let t=e.type===`hsl`||e.type===`hsla`?ud(md(e)).values:e.values;return t=t.map(t=>(e.type!==`color`&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function gd(e,t){let n=hd(e),r=hd(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function _d(e,t){return e=ud(e),t=cd(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,pd(e)}function vd(e,t,n){try{return _d(e,t)}catch{return e}}function yd(e,t){if(e=ud(e),t=cd(t),e.type.includes(`hsl`))e.values[2]*=1-t;else if(e.type.includes(`rgb`)||e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return pd(e)}function q(e,t,n){try{return yd(e,t)}catch{return e}}function bd(e,t){if(e=ud(e),t=cd(t),e.type.includes(`hsl`))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes(`rgb`))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return pd(e)}function J(e,t,n){try{return bd(e,t)}catch{return e}}function xd(e,t=.15){return hd(e)>.5?yd(e,t):bd(e,t)}function Sd(e,t,n){try{return xd(e,t)}catch{return e}}var Cd=U.createContext(null);function wd(){return U.useContext(Cd)}var Td=typeof Symbol==`function`&&Symbol.for?Symbol.for(`mui.nested`):`__THEME_NESTED__`;function Ed(e,t){return typeof t==`function`?t(e):{...e,...t}}function Dd(e){let{children:t,theme:n}=e,r=wd(),i=U.useMemo(()=>{let e=r===null?{...n}:Ed(r,n);return e!=null&&(e[Td]=r!==null),e},[n,r]);return(0,G.jsx)(Cd.Provider,{value:i,children:t})}var Od=U.createContext();function kd({value:e,...t}){return(0,G.jsx)(Od.Provider,{value:e??!0,...t})}var Ad=()=>U.useContext(Od)??!1,jd=U.createContext(void 0);function Md({value:e,children:t}){return(0,G.jsx)(jd.Provider,{value:e,children:t})}function Nd(e){let{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;let i=t.components[n];return i.defaultProps?ad(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?ad(i,r,t.components.mergeClassNameAndStyle):r}function Pd({props:e,name:t}){return Nd({props:e,name:t,theme:{components:U.useContext(jd)}})}var Fd=0;function Id(e){let[t,n]=U.useState(e),r=e||t;return U.useEffect(()=>{t??(Fd+=1,n(`mui-${Fd}`))},[t]),r}var Ld={...U}.useId;function Rd(e){if(Ld!==void 0){let t=Ld();return e??t}return Id(e)}function zd(e){let t=Iu(),n=Rd()||``,{modularCssLayers:r}=e,i=`mui.global, mui.components, mui.theme, mui.custom, mui.sx`;return i=!r||t!==null?``:typeof r==`string`?r.replace(/mui(?!\.)/g,i):`@layer ${i};`,od(()=>{let e=document.querySelector(`head`);if(!e)return;let t=e.firstChild;if(i){if(t&&t.hasAttribute?.(`data-mui-layer-order`)&&t.getAttribute(`data-mui-layer-order`)===n)return;let r=document.createElement(`style`);r.setAttribute(`data-mui-layer-order`,n),r.textContent=i,e.prepend(r)}else e.querySelector(`style[data-mui-layer-order="${n}"]`)?.remove()},[i,n]),i?(0,G.jsx)(Bu,{styles:i}):null}var Bd={};function Vd(e,t,n,r=!1){return U.useMemo(()=>{let i=e&&t[e]||t;if(typeof n==`function`){let a=n(i),o=e?{...t,[e]:a}:a;return r?()=>o:o}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function Hd(e){let{children:t,theme:n,themeId:r}=e,i=Iu(Bd),a=wd()||Bd,o=Vd(r,i,n),s=Vd(r,a,n,!0),c=(r?o[r]:o).direction===`rtl`,l=zd(o);return(0,G.jsx)(Dd,{theme:s,children:(0,G.jsx)(Fc.Provider,{value:o,children:(0,G.jsx)(kd,{value:c,children:(0,G.jsxs)(Md,{value:r?o[r].components:o.components,children:[l,t]})})})})}var Ud={theme:void 0};function Wd(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(Ud.theme=r.theme,i=qu(e(Ud)),t=i,n=r.theme),i}}var Gd=`mode`,Kd=`color-scheme`,qd=`data-color-scheme`;function Jd(e){let{defaultMode:t=`system`,defaultLightColorScheme:n=`light`,defaultDarkColorScheme:r=`dark`,modeStorageKey:i=Gd,colorSchemeStorageKey:a=Kd,attribute:o=qd,colorSchemeNode:s=`document.documentElement`,nonce:c}=e||{},l=``,u=o;if(o===`class`&&(u=`.%s`),o===`data`&&(u=`[data-%s]`),u.startsWith(`.`)){let e=u.substring(1);l+=`${s}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));
|
|
9
|
-
${s}.classList.add('${e}'.replace('%s', colorScheme));`}let d=u.match(/\[([^[\]]+)\]/);if(d){let[e,t]=d[1].split(`=`);t||(l+=`${s}.removeAttribute('${e}'.replace('%s', light));
|
|
10
|
-
${s}.removeAttribute('${e}'.replace('%s', dark));`),l+=`
|
|
11
|
-
${s}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:`""`});`}else u!==`.%s`&&(l+=`${s}.setAttribute('${u}', colorScheme);`);return(0,G.jsx)(`script`,{suppressHydrationWarning:!0,nonce:typeof window>`u`?c:``,dangerouslySetInnerHTML:{__html:`(function() {
|
|
12
|
-
try {
|
|
13
|
-
let colorScheme = '';
|
|
14
|
-
const mode = localStorage.getItem('${i}') || '${t}';
|
|
15
|
-
const dark = localStorage.getItem('${a}-dark') || '${r}';
|
|
16
|
-
const light = localStorage.getItem('${a}-light') || '${n}';
|
|
17
|
-
if (mode === 'system') {
|
|
18
|
-
// handle system mode
|
|
19
|
-
const mql = window.matchMedia('(prefers-color-scheme: dark)');
|
|
20
|
-
if (mql.matches) {
|
|
21
|
-
colorScheme = dark
|
|
22
|
-
} else {
|
|
23
|
-
colorScheme = light
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
if (mode === 'light') {
|
|
27
|
-
colorScheme = light;
|
|
28
|
-
}
|
|
29
|
-
if (mode === 'dark') {
|
|
30
|
-
colorScheme = dark;
|
|
31
|
-
}
|
|
32
|
-
if (colorScheme) {
|
|
33
|
-
${l}
|
|
34
|
-
}
|
|
35
|
-
} catch(e){}})();`}},`mui-color-scheme-init`)}function Yd(){}var Xd=({key:e,storageWindow:t})=>(!t&&typeof window<`u`&&(t=window),{get(n){if(typeof window>`u`)return;if(!t)return n;let r;try{r=t.localStorage.getItem(e)}catch{}return r||n},set:n=>{if(t)try{t.localStorage.setItem(e,n)}catch{}},subscribe:n=>{if(!t)return Yd;let r=t=>{let r=t.newValue;t.key===e&&n(r)};return t.addEventListener(`storage`,r),()=>{t.removeEventListener(`storage`,r)}}});function Zd(){}function Qd(e){if(typeof window<`u`&&typeof window.matchMedia==`function`&&e===`system`)return window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`}function $d(e,t){if(e.mode===`light`||e.mode===`system`&&e.systemMode===`light`)return t(`light`);if(e.mode===`dark`||e.mode===`system`&&e.systemMode===`dark`)return t(`dark`)}function ef(e){return $d(e,t=>{if(t===`light`)return e.lightColorScheme;if(t===`dark`)return e.darkColorScheme})}function tf(e){let{defaultMode:t=`light`,defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:i=[],modeStorageKey:a=Gd,colorSchemeStorageKey:o=Kd,storageWindow:s=typeof window>`u`?void 0:window,storageManager:c=Xd,noSsr:l=!1}=e,u=i.join(`,`),d=i.length>1,f=U.useMemo(()=>c?.({key:a,storageWindow:s}),[c,a,s]),p=U.useMemo(()=>c?.({key:`${o}-light`,storageWindow:s}),[c,o,s]),m=U.useMemo(()=>c?.({key:`${o}-dark`,storageWindow:s}),[c,o,s]),[h,g]=U.useState(()=>{let e=f?.get(t)||t,i=p?.get(n)||n,a=m?.get(r)||r;return{mode:e,systemMode:Qd(e),lightColorScheme:i,darkColorScheme:a}}),[_,v]=U.useState(l||!d);U.useEffect(()=>{v(!0)},[]);let y=ef(h),b=U.useCallback(e=>{g(n=>{if(e===n.mode)return n;let r=e??t;return f?.set(r),{...n,mode:r,systemMode:Qd(r)}})},[f,t]),x=U.useCallback(e=>{e?typeof e==`string`?e&&!u.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):g(t=>{let n={...t};return $d(t,t=>{t===`light`&&(p?.set(e),n.lightColorScheme=e),t===`dark`&&(m?.set(e),n.darkColorScheme=e)}),n}):g(t=>{let i={...t},a=e.light===null?n:e.light,o=e.dark===null?r:e.dark;return a&&(u.includes(a)?(i.lightColorScheme=a,p?.set(a)):console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`)),o&&(u.includes(o)?(i.darkColorScheme=o,m?.set(o)):console.error(`\`${o}\` does not exist in \`theme.colorSchemes\`.`)),i}):g(e=>(p?.set(n),m?.set(r),{...e,lightColorScheme:n,darkColorScheme:r}))},[u,p,m,n,r]),S=U.useCallback(e=>{h.mode===`system`&&g(t=>{let n=e?.matches?`dark`:`light`;return t.systemMode===n?t:{...t,systemMode:n}})},[h.mode]),C=U.useRef(S);return C.current=S,U.useEffect(()=>{if(typeof window.matchMedia!=`function`||!d)return;let e=(...e)=>C.current(...e),t=window.matchMedia(`(prefers-color-scheme: dark)`);return t.addListener(e),e(t),()=>{t.removeListener(e)}},[d]),U.useEffect(()=>{if(d){let e=f?.subscribe(e=>{(!e||[`light`,`dark`,`system`].includes(e))&&b(e||t)})||Zd,n=p?.subscribe(e=>{(!e||u.match(e))&&x({light:e})})||Zd,r=m?.subscribe(e=>{(!e||u.match(e))&&x({dark:e})})||Zd;return()=>{e(),n(),r()}}},[x,b,u,t,s,d,f,p,m]),{...h,mode:_?h.mode:void 0,systemMode:_?h.systemMode:void 0,colorScheme:_?y:void 0,setMode:b,setColorScheme:x}}var nf=`*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}`;function rf(e){let{themeId:t,theme:n={},modeStorageKey:r=Gd,colorSchemeStorageKey:i=Kd,disableTransitionOnChange:a=!1,defaultColorScheme:o,resolveTheme:s}=e,c={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},l=U.createContext(void 0),u=()=>U.useContext(l)||c,d={},f={};function p(e){let{children:c,theme:u,modeStorageKey:p=r,colorSchemeStorageKey:m=i,disableTransitionOnChange:h=a,storageManager:g,storageWindow:_=typeof window>`u`?void 0:window,documentNode:v=typeof document>`u`?void 0:document,colorSchemeNode:y=typeof document>`u`?void 0:document.documentElement,disableNestedContext:b=!1,disableStyleSheetGeneration:x=!1,defaultMode:S=`system`,forceThemeRerender:C=!1,noSsr:w}=e,T=U.useRef(!1),E=wd(),D=U.useContext(l),ee=!!D&&!b,O=U.useMemo(()=>u||(typeof n==`function`?n():n),[u]),te=O[t],k=te||O,{colorSchemes:A=d,components:ne=f,cssVarPrefix:j}=k,re=Object.keys(A).filter(e=>!!A[e]).join(`,`),M=U.useMemo(()=>re.split(`,`),[re]),ie=typeof o==`string`?o:o.light,ae=typeof o==`string`?o:o.dark,{mode:N,setMode:oe,systemMode:se,lightColorScheme:ce,darkColorScheme:le,colorScheme:ue,setColorScheme:de}=tf({supportedColorSchemes:M,defaultLightColorScheme:ie,defaultDarkColorScheme:ae,modeStorageKey:p,colorSchemeStorageKey:m,defaultMode:A[ie]&&A[ae]?S:A[k.defaultColorScheme]?.palette?.mode||k.palette?.mode,storageManager:g,storageWindow:_,noSsr:w}),fe=N,pe=ue;ee&&(fe=D.mode,pe=D.colorScheme);let me=pe||k.defaultColorScheme;k.vars&&!C&&(me=k.defaultColorScheme);let he=U.useMemo(()=>{let e=k.generateThemeVars?.()||k.vars,t={...k,components:ne,colorSchemes:A,cssVarPrefix:j,vars:e};if(typeof t.generateSpacing==`function`&&(t.spacing=t.generateSpacing()),me){let e=A[me];e&&typeof e==`object`&&Object.keys(e).forEach(n=>{e[n]&&typeof e[n]==`object`?t[n]={...t[n],...e[n]}:t[n]=e[n]})}return s?s(t):t},[k,me,ne,A,j]),ge=k.colorSchemeSelector;od(()=>{if(pe&&y&&ge&&ge!==`media`){let e=ge,t=ge;if(e===`class`&&(t=`.%s`),e===`data`&&(t=`[data-%s]`),e?.startsWith(`data-`)&&!e.includes(`%s`)&&(t=`[${e}="%s"]`),t.startsWith(`.`))y.classList.remove(...M.map(e=>t.substring(1).replace(`%s`,e))),y.classList.add(t.substring(1).replace(`%s`,pe));else{let e=t.replace(`%s`,pe).match(/\[([^\]]+)\]/);if(e){let[t,n]=e[1].split(`=`);n||M.forEach(e=>{y.removeAttribute(t.replace(pe,e))}),y.setAttribute(t,n?n.replace(/"|'/g,``):``)}else y.setAttribute(t,pe)}}},[pe,ge,y,M]),U.useEffect(()=>{let e;if(h&&T.current&&v){let t=v.createElement(`style`);t.appendChild(v.createTextNode(nf)),v.head.appendChild(t),window.getComputedStyle(v.body),e=setTimeout(()=>{v.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[pe,h,v]),U.useEffect(()=>(T.current=!0,()=>{T.current=!1}),[]);let _e=U.useMemo(()=>({allColorSchemes:M,colorScheme:pe,darkColorScheme:le,lightColorScheme:ce,mode:fe,setColorScheme:de,setMode:oe,systemMode:se}),[M,pe,le,ce,fe,de,oe,se,he.colorSchemeSelector]),ve=!0;(x||k.cssVariables===!1||ee&&E?.cssVarPrefix===j)&&(ve=!1);let ye=(0,G.jsxs)(U.Fragment,{children:[(0,G.jsx)(Hd,{themeId:te?t:void 0,theme:he,children:c}),ve&&(0,G.jsx)(ll,{styles:he.generateStyleSheets?.()||[]})]});return ee?ye:(0,G.jsx)(l.Provider,{value:_e,children:ye})}let m=typeof o==`string`?o:o.light,h=typeof o==`string`?o:o.dark;return{CssVarsProvider:p,useColorScheme:u,getInitColorSchemeScript:e=>Jd({colorSchemeStorageKey:i,defaultLightColorScheme:m,defaultDarkColorScheme:h,modeStorageKey:r,...e})}}function af(e=``){function t(...n){if(!n.length)return``;let r=n[0];return typeof r==`string`&&!r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:``}${r}${t(...n.slice(1))})`:`, ${r}`}return(n,...r)=>`var(--${e?`${e}-`:``}${n}${t(...r)})`}var of=(e,t,n,r=[])=>{let i=e;t.forEach((e,a)=>{a===t.length-1?Array.isArray(i)?i[Number(e)]=n:i&&typeof i==`object`&&(i[e]=n):i&&typeof i==`object`&&(i[e]||(i[e]=r.includes(e)?[]:{}),i=i[e])})},sf=(e,t,n)=>{function r(e,i=[],a=[]){Object.entries(e).forEach(([e,o])=>{(!n||n&&!n([...i,e]))&&o!=null&&(typeof o==`object`&&Object.keys(o).length>0?r(o,[...i,e],Array.isArray(o)?[...a,e]:a):t([...i,e],o,a))})}r(e)},cf=(e,t)=>typeof t==`number`?[`lineHeight`,`fontWeight`,`opacity`,`zIndex`].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes(`opacity`)?t:`${t}px`:t;function lf(e,t){let{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},a={},o={};return sf(e,(e,t,s)=>{if((typeof t==`string`||typeof t==`number`)&&(!r||!r(e,t))){let r=`--${n?`${n}-`:``}${e.join(`-`)}`,c=cf(e,t);Object.assign(i,{[r]:c}),of(a,e,`var(${r})`,s),of(o,e,`var(${r}, ${c})`,s)}},e=>e[0]===`vars`),{css:i,vars:a,varsWithDefaults:o}}function uf(e,t={}){let{getSelector:n=_,disableCssColorScheme:r,colorSchemeSelector:i,enableContrastVars:a}=t,{colorSchemes:o={},components:s,defaultColorScheme:c=`light`,...l}=e,{vars:u,css:d,varsWithDefaults:f}=lf(l,t),p=f,m={},{[c]:h,...g}=o;if(Object.entries(g||{}).forEach(([e,n])=>{let{vars:r,css:i,varsWithDefaults:a}=lf(n,t);p=vl(p,a),m[e]={css:i,vars:r}}),h){let{css:e,vars:n,varsWithDefaults:r}=lf(h,t);p=vl(p,r),m[c]={css:e,vars:n}}function _(t,n){let r=i;if(i===`class`&&(r=`.%s`),i===`data`&&(r=`[data-%s]`),i?.startsWith(`data-`)&&!i.includes(`%s`)&&(r=`[${i}="%s"]`),t){if(r===`media`)return e.defaultColorScheme===t?`:root`:{[`@media (prefers-color-scheme: ${o[t]?.palette?.mode||t})`]:{":root":n}};if(r)return e.defaultColorScheme===t?`:root, ${r.replace(`%s`,String(t))}`:r.replace(`%s`,String(t))}return`:root`}return{vars:p,generateThemeVars:()=>{let e={...u};return Object.entries(m).forEach(([,{vars:t}])=>{e=vl(e,t)}),e},generateStyleSheets:()=>{let t=[],i=e.defaultColorScheme||`light`;function s(e,n){Object.keys(n).length&&t.push(typeof e==`string`?{[e]:{...n}}:e)}s(n(void 0,{...d}),d);let{[i]:c,...l}=m;if(c){let{css:e}=c,t=o[i]?.palette?.mode,a=!r&&t?{colorScheme:t,...e}:{...e};s(n(i,{...a}),a)}return Object.entries(l).forEach(([e,{css:t}])=>{let i=o[e]?.palette?.mode,a=!r&&i?{colorScheme:i,...t}:{...t};s(n(e,{...a}),a)}),a&&t.push({":root":{"--__l-threshold":`0.7`,"--__l":`clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)`,"--__a":`clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)`}}),t}}}function df(e){return function(t){return e===`media`?`@media (prefers-color-scheme: ${t})`:e?e.startsWith(`data-`)&&!e.includes(`%s`)?`[${e}="${t}"] &`:e===`class`?`.${t} &`:e===`data`?`[data-${t}] &`:`${e.replace(`%s`,t)} &`:`&`}}function ff(e,t,n=void 0){let r={};for(let i in e){let a=e[i],o=``,s=!0;for(let e=0;e<a.length;e+=1){let r=a[e];r&&(o+=(s===!0?``:` `)+t(r),s=!1,n&&n[r]&&(o+=` `+n[r]))}r[i]=o}return r}function pf(e,t){return U.isValidElement(e)&&t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}var mf={black:`#000`,white:`#fff`},hf={50:`#fafafa`,100:`#f5f5f5`,200:`#eeeeee`,300:`#e0e0e0`,400:`#bdbdbd`,500:`#9e9e9e`,600:`#757575`,700:`#616161`,800:`#424242`,900:`#212121`,A100:`#f5f5f5`,A200:`#eeeeee`,A400:`#bdbdbd`,A700:`#616161`},gf={50:`#f3e5f5`,100:`#e1bee7`,200:`#ce93d8`,300:`#ba68c8`,400:`#ab47bc`,500:`#9c27b0`,600:`#8e24aa`,700:`#7b1fa2`,800:`#6a1b9a`,900:`#4a148c`,A100:`#ea80fc`,A200:`#e040fb`,A400:`#d500f9`,A700:`#aa00ff`},_f={50:`#ffebee`,100:`#ffcdd2`,200:`#ef9a9a`,300:`#e57373`,400:`#ef5350`,500:`#f44336`,600:`#e53935`,700:`#d32f2f`,800:`#c62828`,900:`#b71c1c`,A100:`#ff8a80`,A200:`#ff5252`,A400:`#ff1744`,A700:`#d50000`},vf={50:`#fff3e0`,100:`#ffe0b2`,200:`#ffcc80`,300:`#ffb74d`,400:`#ffa726`,500:`#ff9800`,600:`#fb8c00`,700:`#f57c00`,800:`#ef6c00`,900:`#e65100`,A100:`#ffd180`,A200:`#ffab40`,A400:`#ff9100`,A700:`#ff6d00`},yf={50:`#e3f2fd`,100:`#bbdefb`,200:`#90caf9`,300:`#64b5f6`,400:`#42a5f5`,500:`#2196f3`,600:`#1e88e5`,700:`#1976d2`,800:`#1565c0`,900:`#0d47a1`,A100:`#82b1ff`,A200:`#448aff`,A400:`#2979ff`,A700:`#2962ff`},bf={50:`#e1f5fe`,100:`#b3e5fc`,200:`#81d4fa`,300:`#4fc3f7`,400:`#29b6f6`,500:`#03a9f4`,600:`#039be5`,700:`#0288d1`,800:`#0277bd`,900:`#01579b`,A100:`#80d8ff`,A200:`#40c4ff`,A400:`#00b0ff`,A700:`#0091ea`},xf={50:`#e8f5e9`,100:`#c8e6c9`,200:`#a5d6a7`,300:`#81c784`,400:`#66bb6a`,500:`#4caf50`,600:`#43a047`,700:`#388e3c`,800:`#2e7d32`,900:`#1b5e20`,A100:`#b9f6ca`,A200:`#69f0ae`,A400:`#00e676`,A700:`#00c853`};function Sf(){return{text:{primary:`rgba(0, 0, 0, 0.87)`,secondary:`rgba(0, 0, 0, 0.6)`,disabled:`rgba(0, 0, 0, 0.38)`},divider:`rgba(0, 0, 0, 0.12)`,background:{paper:mf.white,default:mf.white},action:{active:`rgba(0, 0, 0, 0.54)`,hover:`rgba(0, 0, 0, 0.04)`,hoverOpacity:.04,selected:`rgba(0, 0, 0, 0.08)`,selectedOpacity:.08,disabled:`rgba(0, 0, 0, 0.26)`,disabledBackground:`rgba(0, 0, 0, 0.12)`,disabledOpacity:.38,focus:`rgba(0, 0, 0, 0.12)`,focusOpacity:.12,activatedOpacity:.12}}}var Cf=Sf();function wf(){return{text:{primary:mf.white,secondary:`rgba(255, 255, 255, 0.7)`,disabled:`rgba(255, 255, 255, 0.5)`,icon:`rgba(255, 255, 255, 0.5)`},divider:`rgba(255, 255, 255, 0.12)`,background:{paper:`#121212`,default:`#121212`},action:{active:mf.white,hover:`rgba(255, 255, 255, 0.08)`,hoverOpacity:.08,selected:`rgba(255, 255, 255, 0.16)`,selectedOpacity:.16,disabled:`rgba(255, 255, 255, 0.3)`,disabledBackground:`rgba(255, 255, 255, 0.12)`,disabledOpacity:.38,focus:`rgba(255, 255, 255, 0.12)`,focusOpacity:.12,activatedOpacity:.24}}}var Tf=wf();function Ef(e,t,n,r){let i=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t===`light`?e.light=bd(e.main,i):t===`dark`&&(e.dark=yd(e.main,a)))}function Df(e,t,n,r,i){let a=i.light||i,o=i.dark||i*1.5;t[n]||(t.hasOwnProperty(r)?t[n]=t[r]:n===`light`?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(a*100).toFixed(0)}%)`:n===`dark`&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(o*100).toFixed(0)}%)`))}function Of(e=`light`){return e===`dark`?{main:yf[200],light:yf[50],dark:yf[400]}:{main:yf[700],light:yf[400],dark:yf[800]}}function kf(e=`light`){return e===`dark`?{main:gf[200],light:gf[50],dark:gf[400]}:{main:gf[500],light:gf[300],dark:gf[700]}}function Af(e=`light`){return e===`dark`?{main:_f[500],light:_f[300],dark:_f[700]}:{main:_f[700],light:_f[400],dark:_f[800]}}function jf(e=`light`){return e===`dark`?{main:bf[400],light:bf[300],dark:bf[700]}:{main:bf[700],light:bf[500],dark:bf[900]}}function Mf(e=`light`){return e===`dark`?{main:xf[400],light:xf[300],dark:xf[700]}:{main:xf[800],light:xf[500],dark:xf[900]}}function Nf(e=`light`){return e===`dark`?{main:vf[400],light:vf[300],dark:vf[700]}:{main:`#ed6c02`,light:vf[500],dark:vf[900]}}function Pf(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Ff(e){let{mode:t=`light`,contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:i,...a}=e,o=e.primary||Of(t),s=e.secondary||kf(t),c=e.error||Af(t),l=e.info||jf(t),u=e.success||Mf(t),d=e.warning||Nf(t);function f(e){return i?Pf(e):gd(e,Tf.text.primary)>=n?Tf.text.primary:Cf.text.primary}let p=({color:e,name:t,mainShade:n=500,lightShade:a=300,darkShade:o=700})=>{if(e={...e},!e.main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty(`main`))throw Error(Go(11,t?` (${t})`:``,n));if(typeof e.main!=`string`)throw Error(Go(12,t?` (${t})`:``,JSON.stringify(e.main)));return i?(Df(i,e,`light`,a,r),Df(i,e,`dark`,o,r)):(Ef(e,`light`,a,r),Ef(e,`dark`,o,r)),e.contrastText||=f(e.main),e},m;return t===`light`?m=Sf():t===`dark`&&(m=wf()),vl({common:{...mf},mode:t,primary:p({color:o,name:`primary`}),secondary:p({color:s,name:`secondary`,mainShade:`A400`,lightShade:`A200`,darkShade:`A700`}),error:p({color:c,name:`error`}),warning:p({color:d,name:`warning`}),info:p({color:l,name:`info`}),success:p({color:u,name:`success`}),grey:hf,contrastThreshold:n,getContrastText:f,augmentColor:p,tonalOffset:r,...m},a)}function If(e){let t={};return Object.entries(e).forEach(e=>{let[n,r]=e;typeof r==`object`&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:``}${r.fontVariant?`${r.fontVariant} `:``}${r.fontWeight?`${r.fontWeight} `:``}${r.fontStretch?`${r.fontStretch} `:``}${r.fontSize||``}${r.lineHeight?`/${r.lineHeight} `:``}${r.fontFamily||``}`)}),t}function Lf(e,t){return{toolbar:{minHeight:56,[e.up(`xs`)]:{"@media (orientation: landscape)":{minHeight:48}},[e.up(`sm`)]:{minHeight:64}},...t}}function Rf(e){return Math.round(e*1e5)/1e5}var zf={textTransform:`uppercase`},Bf=`"Roboto", "Helvetica", "Arial", sans-serif`;function Vf(e,t){let{fontFamily:n=Bf,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:o=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:l,pxToRem:u,...d}=typeof t==`function`?t(e):t,f=r/14,p=u||(e=>`${e/c*f}rem`),m=(e,t,r,i,a)=>({fontFamily:n,fontWeight:e,fontSize:p(t),lineHeight:r,...n===Bf?{letterSpacing:`${Rf(i/t)}em`}:{},...a,...l});return vl({htmlFontSize:c,pxToRem:p,fontFamily:n,fontSize:r,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:o,fontWeightBold:s,h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(o,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(o,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(o,14,1.75,.4,zf),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,zf),inherit:{fontFamily:`inherit`,fontWeight:`inherit`,fontSize:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},d,{clone:!1})}var Hf=.2,Uf=.14,Wf=.12;function Gf(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Hf})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Uf})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Wf})`].join(`,`)}var Kf=[`none`,Gf(0,2,1,-1,0,1,1,0,0,1,3,0),Gf(0,3,1,-2,0,2,2,0,0,1,5,0),Gf(0,3,3,-2,0,3,4,0,0,1,8,0),Gf(0,2,4,-1,0,4,5,0,0,1,10,0),Gf(0,3,5,-1,0,5,8,0,0,1,14,0),Gf(0,3,5,-1,0,6,10,0,0,1,18,0),Gf(0,4,5,-2,0,7,10,1,0,2,16,1),Gf(0,5,5,-3,0,8,10,1,0,3,14,2),Gf(0,5,6,-3,0,9,12,1,0,3,16,2),Gf(0,6,6,-3,0,10,14,1,0,4,18,3),Gf(0,6,7,-4,0,11,15,1,0,4,20,3),Gf(0,7,8,-4,0,12,17,2,0,5,22,4),Gf(0,7,8,-4,0,13,19,2,0,5,24,4),Gf(0,7,9,-4,0,14,21,2,0,5,26,4),Gf(0,8,9,-5,0,15,22,2,0,6,28,5),Gf(0,8,10,-5,0,16,24,2,0,6,30,5),Gf(0,8,11,-5,0,17,26,2,0,6,32,5),Gf(0,9,11,-5,0,18,28,2,0,7,34,6),Gf(0,9,12,-6,0,19,29,2,0,7,36,6),Gf(0,10,13,-6,0,20,31,3,0,8,38,7),Gf(0,10,13,-6,0,21,33,3,0,8,40,7),Gf(0,10,14,-6,0,22,35,3,0,8,42,7),Gf(0,11,14,-7,0,23,36,3,0,9,44,8),Gf(0,11,15,-7,0,24,38,3,0,9,46,8)],qf={easeInOut:`cubic-bezier(0.4, 0, 0.2, 1)`,easeOut:`cubic-bezier(0.0, 0, 0.2, 1)`,easeIn:`cubic-bezier(0.4, 0, 1, 1)`,sharp:`cubic-bezier(0.4, 0, 0.6, 1)`},Jf={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Yf(e){return`${Math.round(e)}ms`}function Xf(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Zf(e){let t={...qf,...e.easing},n={...Jf,...e.duration};return{getAutoHeightDuration:Xf,create:(e=[`all`],r={})=>{let{duration:i=n.standard,easing:a=t.easeInOut,delay:o=0,...s}=r;return(Array.isArray(e)?e:[e]).map(e=>`${e} ${typeof i==`string`?i:Yf(i)} ${a} ${typeof o==`string`?o:Yf(o)}`).join(`,`)},...e,easing:t,duration:n}}var Qf={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function $f(e){return gl(e)||e===void 0||typeof e==`string`||typeof e==`boolean`||typeof e==`number`||Array.isArray(e)}function ep(e={}){let t={...e};function n(e){let t=Object.entries(e);for(let r=0;r<t.length;r++){let[i,a]=t[r];!$f(a)||i.startsWith(`unstable_`)?delete e[i]:gl(a)&&(e[i]={...a},n(e[i]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
36
|
-
|
|
37
|
-
const theme = ${JSON.stringify(t,null,2)};
|
|
38
|
-
|
|
39
|
-
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
40
|
-
theme.transitions = createTransitions(theme.transitions || {});
|
|
41
|
-
|
|
42
|
-
export default theme;`}function tp(e){return typeof e==`number`?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}var np=e=>{if(!Number.isNaN(+e))return+e;let t=e.match(/\d*\.?\d+/g);if(!t)return 0;let n=0;for(let e=0;e<t.length;e+=1)n+=+t[e];return n};function rp(e){Object.assign(e,{alpha(t,n){let r=this||e;return r.colorSpace?`oklch(from ${t} l c h / ${typeof n==`string`?`calc(${n})`:n})`:r.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,`var(--$1Channel)`)} / ${typeof n==`string`?`calc(${n})`:n})`:_d(t,np(n))},lighten(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${tp(n)})`:bd(t,n)},darken(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${tp(n)})`:yd(t,n)}})}function ip(e={},...t){let{breakpoints:n,mixins:r={},spacing:i,palette:a={},transitions:o={},typography:s={},shape:c,colorSpace:l,...u}=e;if(e.vars&&e.generateThemeVars===void 0)throw Error(Go(20));let d=Ff({...a,colorSpace:l}),f=Pu(e),p=vl(f,{mixins:Lf(f.breakpoints,r),palette:d,shadows:Kf.slice(),typography:Vf(d,s),transitions:Zf(o),zIndex:{...Qf}});return p=vl(p,u),p=t.reduce((e,t)=>vl(e,t),p),p.unstable_sxConfig={...Ou,...u?.unstable_sxConfig},p.unstable_sx=function(e){return Mu({sx:e,theme:this})},p.toRuntimeSource=ep,rp(p),p}function ap(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}var op=[...Array(25)].map((e,t)=>{if(t===0)return`none`;let n=ap(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function sp(e){return{inputPlaceholder:e===`dark`?.5:.42,inputUnderline:e===`dark`?.7:.42,switchTrackDisabled:e===`dark`?.2:.12,switchTrack:e===`dark`?.3:.38}}function cp(e){return e===`dark`?op:[]}function lp(e){let{palette:t={mode:`light`},opacity:n,overlays:r,colorSpace:i,...a}=e,o=Ff({...t,colorSpace:i});return{palette:o,opacity:{...sp(o.mode),...n},overlays:r||cp(o.mode),...a}}function up(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]===`palette`&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}var dp=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:``}overlays-${n}`),`--${e?`${e}-`:``}palette-AppBar-darkBg`,`--${e?`${e}-`:``}palette-AppBar-darkColor`],fp=e=>(t,n)=>{let r=e.rootSelector||`:root`,i=e.colorSchemeSelector,a=i;if(i===`class`&&(a=`.%s`),i===`data`&&(a=`[data-%s]`),i?.startsWith(`data-`)&&!i.includes(`%s`)&&(a=`[${i}="%s"]`),e.defaultColorScheme===t){if(t===`dark`){let i={};return dp(e.cssVarPrefix).forEach(e=>{i[e]=n[e],delete n[e]}),a===`media`?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:i}}:a?{[a.replace(`%s`,t)]:i,[`${r}, ${a.replace(`%s`,t)}`]:n}:{[r]:{...n,...i}}}if(a&&a!==`media`)return`${r}, ${a.replace(`%s`,String(t))}`}else if(t){if(a===`media`)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(a)return a.replace(`%s`,String(t))}return r};function pp(e,t){t.forEach(t=>{e[t]||(e[t]={})})}function Y(e,t,n){!e[t]&&n&&(e[t]=n)}function mp(e){return typeof e!=`string`||!e.startsWith(`hsl`)?e:md(e)}function hp(e,t){`${t}Channel`in e||(e[`${t}Channel`]=fd(mp(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
43
|
-
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function gp(e){return typeof e==`number`?`${e}px`:typeof e==`string`||typeof e==`function`||Array.isArray(e)?e:`8px`}var _p=e=>{try{return e()}catch{}},vp=(e=`mui`)=>af(e);function yp(e,t,n,r,i){if(!n)return;n=n===!0?{}:n;let a=i===`dark`?`dark`:`light`;if(!r){t[i]=lp({...n,palette:{mode:a,...n?.palette},colorSpace:e});return}let{palette:o,...s}=ip({...r,palette:{mode:a,...n?.palette},colorSpace:e});return t[i]={...n,palette:o,opacity:{...sp(a),...n?.opacity},overlays:n?.overlays||cp(a)},s}function bp(e={},...t){let{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:a=`mui`,nativeColor:o=!1,shouldSkipGeneratingVar:s=up,colorSchemeSelector:c=n.light&&n.dark?`media`:void 0,rootSelector:l=`:root`,...u}=e,d=Object.keys(n)[0],f=r||(n.light&&d!==`light`?`light`:d),p=vp(a),{[f]:m,light:h,dark:g,..._}=n,v={..._},y=m;if((f===`dark`&&!(`dark`in n)||f===`light`&&!(`light`in n))&&(y=!0),!y)throw Error(Go(21,f));let b;o&&(b=`oklch`);let x=yp(b,v,y,u,f);h&&!v.light&&yp(b,v,h,void 0,`light`),g&&!v.dark&&yp(b,v,g,void 0,`dark`);let S={defaultColorScheme:f,...x,cssVarPrefix:a,colorSchemeSelector:c,rootSelector:l,getCssVar:p,colorSchemes:v,font:{...If(x.typography),...x.font},spacing:gp(u.spacing)};Object.keys(S.colorSchemes).forEach(e=>{let t=S.colorSchemes[e].palette,n=e=>{let n=e.split(`-`),r=n[1],i=n[2];return p(e,t[r][i])};t.mode===`light`&&(Y(t.common,`background`,`#fff`),Y(t.common,`onBackground`,`#000`)),t.mode===`dark`&&(Y(t.common,`background`,`#000`),Y(t.common,`onBackground`,`#fff`));function r(e,t,n){if(b){let r;return e===vd&&(r=`transparent ${((1-n)*100).toFixed(0)}%`),e===q&&(r=`#000 ${(n*100).toFixed(0)}%`),e===J&&(r=`#fff ${(n*100).toFixed(0)}%`),`color-mix(in ${b}, ${t}, ${r})`}return e(t,n)}if(pp(t,[`Alert`,`AppBar`,`Avatar`,`Button`,`Chip`,`FilledInput`,`LinearProgress`,`Skeleton`,`Slider`,`SnackbarContent`,`SpeedDialAction`,`StepConnector`,`StepContent`,`Switch`,`TableCell`,`Tooltip`]),t.mode===`light`){Y(t.Alert,`errorColor`,r(q,o?p(`palette-error-light`):t.error.light,.6)),Y(t.Alert,`infoColor`,r(q,o?p(`palette-info-light`):t.info.light,.6)),Y(t.Alert,`successColor`,r(q,o?p(`palette-success-light`):t.success.light,.6)),Y(t.Alert,`warningColor`,r(q,o?p(`palette-warning-light`):t.warning.light,.6)),Y(t.Alert,`errorFilledBg`,n(`palette-error-main`)),Y(t.Alert,`infoFilledBg`,n(`palette-info-main`)),Y(t.Alert,`successFilledBg`,n(`palette-success-main`)),Y(t.Alert,`warningFilledBg`,n(`palette-warning-main`)),Y(t.Alert,`errorFilledColor`,_p(()=>t.getContrastText(t.error.main))),Y(t.Alert,`infoFilledColor`,_p(()=>t.getContrastText(t.info.main))),Y(t.Alert,`successFilledColor`,_p(()=>t.getContrastText(t.success.main))),Y(t.Alert,`warningFilledColor`,_p(()=>t.getContrastText(t.warning.main))),Y(t.Alert,`errorStandardBg`,r(J,o?p(`palette-error-light`):t.error.light,.9)),Y(t.Alert,`infoStandardBg`,r(J,o?p(`palette-info-light`):t.info.light,.9)),Y(t.Alert,`successStandardBg`,r(J,o?p(`palette-success-light`):t.success.light,.9)),Y(t.Alert,`warningStandardBg`,r(J,o?p(`palette-warning-light`):t.warning.light,.9)),Y(t.Alert,`errorIconColor`,n(`palette-error-main`)),Y(t.Alert,`infoIconColor`,n(`palette-info-main`)),Y(t.Alert,`successIconColor`,n(`palette-success-main`)),Y(t.Alert,`warningIconColor`,n(`palette-warning-main`)),Y(t.AppBar,`defaultBg`,n(`palette-grey-100`)),Y(t.Avatar,`defaultBg`,n(`palette-grey-400`)),Y(t.Button,`inheritContainedBg`,n(`palette-grey-300`)),Y(t.Button,`inheritContainedHoverBg`,n(`palette-grey-A100`)),Y(t.Chip,`defaultBorder`,n(`palette-grey-400`)),Y(t.Chip,`defaultAvatarColor`,n(`palette-grey-700`)),Y(t.Chip,`defaultIconColor`,n(`palette-grey-700`)),Y(t.FilledInput,`bg`,`rgba(0, 0, 0, 0.06)`),Y(t.FilledInput,`hoverBg`,`rgba(0, 0, 0, 0.09)`),Y(t.FilledInput,`disabledBg`,`rgba(0, 0, 0, 0.12)`),Y(t.LinearProgress,`primaryBg`,r(J,o?p(`palette-primary-main`):t.primary.main,.62)),Y(t.LinearProgress,`secondaryBg`,r(J,o?p(`palette-secondary-main`):t.secondary.main,.62)),Y(t.LinearProgress,`errorBg`,r(J,o?p(`palette-error-main`):t.error.main,.62)),Y(t.LinearProgress,`infoBg`,r(J,o?p(`palette-info-main`):t.info.main,.62)),Y(t.LinearProgress,`successBg`,r(J,o?p(`palette-success-main`):t.success.main,.62)),Y(t.LinearProgress,`warningBg`,r(J,o?p(`palette-warning-light`):t.warning.main,.62)),Y(t.Skeleton,`bg`,b?r(vd,o?p(`palette-text-primary`):t.text.primary,.11):`rgba(${n(`palette-text-primaryChannel`)} / 0.11)`),Y(t.Slider,`primaryTrack`,r(J,o?p(`palette-primary-main`):t.primary.main,.62)),Y(t.Slider,`secondaryTrack`,r(J,o?p(`palette-secondary-main`):t.secondary.main,.62)),Y(t.Slider,`errorTrack`,r(J,o?p(`palette-error-main`):t.error.main,.62)),Y(t.Slider,`infoTrack`,r(J,o?p(`palette-info-main`):t.info.main,.62)),Y(t.Slider,`successTrack`,r(J,o?p(`palette-success-main`):t.success.main,.62)),Y(t.Slider,`warningTrack`,r(J,o?p(`palette-warning-main`):t.warning.main,.62));let e=b?r(q,o?p(`palette-background-default`):t.background.default,.6825):Sd(t.background.default,.8);Y(t.SnackbarContent,`bg`,e),Y(t.SnackbarContent,`color`,_p(()=>b?Tf.text.primary:t.getContrastText(e))),Y(t.SpeedDialAction,`fabHoverBg`,Sd(t.background.paper,.15)),Y(t.StepConnector,`border`,n(`palette-grey-400`)),Y(t.StepContent,`border`,n(`palette-grey-400`)),Y(t.Switch,`defaultColor`,n(`palette-common-white`)),Y(t.Switch,`defaultDisabledColor`,n(`palette-grey-100`)),Y(t.Switch,`primaryDisabledColor`,r(J,o?p(`palette-primary-main`):t.primary.main,.62)),Y(t.Switch,`secondaryDisabledColor`,r(J,o?p(`palette-secondary-main`):t.secondary.main,.62)),Y(t.Switch,`errorDisabledColor`,r(J,o?p(`palette-error-main`):t.error.main,.62)),Y(t.Switch,`infoDisabledColor`,r(J,o?p(`palette-info-main`):t.info.main,.62)),Y(t.Switch,`successDisabledColor`,r(J,o?p(`palette-success-main`):t.success.main,.62)),Y(t.Switch,`warningDisabledColor`,r(J,o?p(`palette-warning-main`):t.warning.main,.62)),Y(t.TableCell,`border`,r(J,vd(o?p(`palette-divider`):t.divider,1),.88)),Y(t.Tooltip,`bg`,r(vd,o?p(`palette-grey-700`):t.grey[700],.92))}if(t.mode===`dark`){Y(t.Alert,`errorColor`,r(J,o?p(`palette-error-light`):t.error.light,.6)),Y(t.Alert,`infoColor`,r(J,o?p(`palette-info-light`):t.info.light,.6)),Y(t.Alert,`successColor`,r(J,o?p(`palette-success-light`):t.success.light,.6)),Y(t.Alert,`warningColor`,r(J,o?p(`palette-warning-light`):t.warning.light,.6)),Y(t.Alert,`errorFilledBg`,n(`palette-error-dark`)),Y(t.Alert,`infoFilledBg`,n(`palette-info-dark`)),Y(t.Alert,`successFilledBg`,n(`palette-success-dark`)),Y(t.Alert,`warningFilledBg`,n(`palette-warning-dark`)),Y(t.Alert,`errorFilledColor`,_p(()=>t.getContrastText(t.error.dark))),Y(t.Alert,`infoFilledColor`,_p(()=>t.getContrastText(t.info.dark))),Y(t.Alert,`successFilledColor`,_p(()=>t.getContrastText(t.success.dark))),Y(t.Alert,`warningFilledColor`,_p(()=>t.getContrastText(t.warning.dark))),Y(t.Alert,`errorStandardBg`,r(q,o?p(`palette-error-light`):t.error.light,.9)),Y(t.Alert,`infoStandardBg`,r(q,o?p(`palette-info-light`):t.info.light,.9)),Y(t.Alert,`successStandardBg`,r(q,o?p(`palette-success-light`):t.success.light,.9)),Y(t.Alert,`warningStandardBg`,r(q,o?p(`palette-warning-light`):t.warning.light,.9)),Y(t.Alert,`errorIconColor`,n(`palette-error-main`)),Y(t.Alert,`infoIconColor`,n(`palette-info-main`)),Y(t.Alert,`successIconColor`,n(`palette-success-main`)),Y(t.Alert,`warningIconColor`,n(`palette-warning-main`)),Y(t.AppBar,`defaultBg`,n(`palette-grey-900`)),Y(t.AppBar,`darkBg`,n(`palette-background-paper`)),Y(t.AppBar,`darkColor`,n(`palette-text-primary`)),Y(t.Avatar,`defaultBg`,n(`palette-grey-600`)),Y(t.Button,`inheritContainedBg`,n(`palette-grey-800`)),Y(t.Button,`inheritContainedHoverBg`,n(`palette-grey-700`)),Y(t.Chip,`defaultBorder`,n(`palette-grey-700`)),Y(t.Chip,`defaultAvatarColor`,n(`palette-grey-300`)),Y(t.Chip,`defaultIconColor`,n(`palette-grey-300`)),Y(t.FilledInput,`bg`,`rgba(255, 255, 255, 0.09)`),Y(t.FilledInput,`hoverBg`,`rgba(255, 255, 255, 0.13)`),Y(t.FilledInput,`disabledBg`,`rgba(255, 255, 255, 0.12)`),Y(t.LinearProgress,`primaryBg`,r(q,o?p(`palette-primary-main`):t.primary.main,.5)),Y(t.LinearProgress,`secondaryBg`,r(q,o?p(`palette-secondary-main`):t.secondary.main,.5)),Y(t.LinearProgress,`errorBg`,r(q,o?p(`palette-error-main`):t.error.main,.5)),Y(t.LinearProgress,`infoBg`,r(q,o?p(`palette-info-main`):t.info.main,.5)),Y(t.LinearProgress,`successBg`,r(q,o?p(`palette-success-main`):t.success.main,.5)),Y(t.LinearProgress,`warningBg`,r(q,o?p(`palette-warning-main`):t.warning.main,.5)),Y(t.Skeleton,`bg`,b?r(vd,o?p(`palette-text-primary`):t.text.primary,.13):`rgba(${n(`palette-text-primaryChannel`)} / 0.13)`),Y(t.Slider,`primaryTrack`,r(q,o?p(`palette-primary-main`):t.primary.main,.5)),Y(t.Slider,`secondaryTrack`,r(q,o?p(`palette-secondary-main`):t.secondary.main,.5)),Y(t.Slider,`errorTrack`,r(q,o?p(`palette-error-main`):t.error.main,.5)),Y(t.Slider,`infoTrack`,r(q,o?p(`palette-info-main`):t.info.main,.5)),Y(t.Slider,`successTrack`,r(q,o?p(`palette-success-main`):t.success.main,.5)),Y(t.Slider,`warningTrack`,r(q,o?p(`palette-warning-light`):t.warning.main,.5));let e=b?r(J,o?p(`palette-background-default`):t.background.default,.985):Sd(t.background.default,.98);Y(t.SnackbarContent,`bg`,e),Y(t.SnackbarContent,`color`,_p(()=>b?Cf.text.primary:t.getContrastText(e))),Y(t.SpeedDialAction,`fabHoverBg`,Sd(t.background.paper,.15)),Y(t.StepConnector,`border`,n(`palette-grey-600`)),Y(t.StepContent,`border`,n(`palette-grey-600`)),Y(t.Switch,`defaultColor`,n(`palette-grey-300`)),Y(t.Switch,`defaultDisabledColor`,n(`palette-grey-600`)),Y(t.Switch,`primaryDisabledColor`,r(q,o?p(`palette-primary-main`):t.primary.main,.55)),Y(t.Switch,`secondaryDisabledColor`,r(q,o?p(`palette-secondary-main`):t.secondary.main,.55)),Y(t.Switch,`errorDisabledColor`,r(q,o?p(`palette-error-main`):t.error.main,.55)),Y(t.Switch,`infoDisabledColor`,r(q,o?p(`palette-info-main`):t.info.main,.55)),Y(t.Switch,`successDisabledColor`,r(q,o?p(`palette-success-main`):t.success.main,.55)),Y(t.Switch,`warningDisabledColor`,r(q,o?p(`palette-warning-light`):t.warning.main,.55)),Y(t.TableCell,`border`,r(q,vd(o?p(`palette-divider`):t.divider,1),.68)),Y(t.Tooltip,`bg`,r(vd,o?p(`palette-grey-700`):t.grey[700],.92))}o||(hp(t.background,`default`),hp(t.background,`paper`),hp(t.common,`background`),hp(t.common,`onBackground`),hp(t,`divider`)),Object.keys(t).forEach(e=>{let n=t[e];e!==`tonalOffset`&&!o&&n&&typeof n==`object`&&(n.main&&Y(t[e],`mainChannel`,fd(mp(n.main))),n.light&&Y(t[e],`lightChannel`,fd(mp(n.light))),n.dark&&Y(t[e],`darkChannel`,fd(mp(n.dark))),n.contrastText&&Y(t[e],`contrastTextChannel`,fd(mp(n.contrastText))),e===`text`&&(hp(t[e],`primary`),hp(t[e],`secondary`)),e===`action`&&(n.active&&hp(t[e],`active`),n.selected&&hp(t[e],`selected`)))})}),S=t.reduce((e,t)=>vl(e,t),S);let C={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:s,getSelector:fp(S),enableContrastVars:o},{vars:w,generateThemeVars:T,generateStyleSheets:E}=uf(S,C);return S.vars=w,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([e,t])=>{S[e]=t}),S.generateThemeVars=T,S.generateStyleSheets=E,S.generateSpacing=function(){return eu(u.spacing,Kl(this))},S.getColorSchemeSelector=df(c),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=s,S.unstable_sxConfig={...Ou,...u?.unstable_sxConfig},S.unstable_sx=function(e){return Mu({sx:e,theme:this})},S.toRuntimeSource=ep,S}function xp(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Ff({...n===!0?{}:n.palette,mode:t})})}function Sp(e={},...t){let{palette:n,cssVariables:r=!1,colorSchemes:i=n?void 0:{light:!0},defaultColorScheme:a=n?.mode,...o}=e,s=a||`light`,c=i?.[s],l={...i,...n?{[s]:{...typeof c!=`boolean`&&c,palette:n}}:void 0};if(r===!1){if(!(`colorSchemes`in e))return ip(e,...t);let r=n;`palette`in e||l[s]&&(l[s]===!0?s===`dark`&&(r={mode:`dark`}):r=l[s].palette);let i=ip({...e,palette:r},...t);return i.defaultColorScheme=s,i.colorSchemes=l,i.palette.mode===`light`&&(i.colorSchemes.light={...l.light!==!0&&l.light,palette:i.palette},xp(i,`dark`,l.dark)),i.palette.mode===`dark`&&(i.colorSchemes.dark={...l.dark!==!0&&l.dark,palette:i.palette},xp(i,`light`,l.light)),i}return!n&&!(`light`in l)&&s===`light`&&(l.light=!0),bp({...o,colorSchemes:l,defaultColorScheme:s,...typeof r!=`boolean`&&r},...t)}var Cp=Sp();function wp(){let e=Ru(Cp);return e.$$material||e}function Tp(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}var Ep=e=>Tp(e)&&e!==`classes`,X=td({themeId:Ko,defaultTheme:Cp,rootShouldForwardProp:Ep});function Dp({theme:e,...t}){let n=`$$material`in e?e[Ko]:void 0;return(0,G.jsx)(Hd,{...t,themeId:n?Ko:void 0,theme:n||e})}var Op={attribute:`data-mui-color-scheme`,colorSchemeStorageKey:`mui-color-scheme`,defaultLightColorScheme:`light`,defaultDarkColorScheme:`dark`,modeStorageKey:`mui-mode`},{CssVarsProvider:kp,useColorScheme:Ap,getInitColorSchemeScript:jp}=rf({themeId:Ko,theme:()=>Sp({cssVariables:!0}),colorSchemeStorageKey:Op.colorSchemeStorageKey,modeStorageKey:Op.modeStorageKey,defaultColorScheme:{light:Op.defaultLightColorScheme,dark:Op.defaultDarkColorScheme},resolveTheme:e=>{let t={...e,typography:Vf(e.palette,e.typography)};return t.unstable_sx=function(e){return Mu({sx:e,theme:this})},t}}),Mp=kp;function Np({theme:e,...t}){let n=U.useMemo(()=>{if(typeof e==`function`)return e;let t=`$$material`in e?e[Ko]:e;return`colorSchemes`in t?null:`vars`in t?e:{...e,vars:null}},[e]);return n?(0,G.jsx)(Dp,{theme:n,...t}):(0,G.jsx)(Mp,{theme:e,...t})}var Pp=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function Fp(e){let t=Object.prototype.toString.call(e);return t===`[object Window]`||t===`[object global]`}function Ip(e){return`nodeType`in e}function Lp(e){return e?Fp(e)?e:Ip(e)?e.ownerDocument?.defaultView??window:window:window}function Rp(e){let{Document:t}=Lp(e);return e instanceof t}function zp(e){return Fp(e)?!1:e instanceof Lp(e).HTMLElement}function Bp(e){return e instanceof Lp(e).SVGElement}function Vp(e){return e?Fp(e)?e.document:Ip(e)?Rp(e)?e:zp(e)||Bp(e)?e.ownerDocument:document:document:document}var Hp=Pp?U.useLayoutEffect:U.useEffect;function Up(e){let t=(0,U.useRef)(e);return Hp(()=>{t.current=e}),(0,U.useCallback)(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current==null?void 0:t.current(...n)},[])}function Wp(){let e=(0,U.useRef)(null);return[(0,U.useCallback)((t,n)=>{e.current=setInterval(t,n)},[]),(0,U.useCallback)(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[])]}function Gp(e,t){t===void 0&&(t=[e]);let n=(0,U.useRef)(e);return Hp(()=>{n.current!==e&&(n.current=e)},t),n}function Kp(e,t){let n=(0,U.useRef)();return(0,U.useMemo)(()=>{let t=e(n.current);return n.current=t,t},[...t])}function qp(e){let t=Up(e),n=(0,U.useRef)(null);return[n,(0,U.useCallback)(e=>{e!==n.current&&t?.(e,n.current),n.current=e},[])]}function Jp(e){let t=(0,U.useRef)();return(0,U.useEffect)(()=>{t.current=e},[e]),t.current}var Yp={};function Xp(e,t){return(0,U.useMemo)(()=>{if(t)return t;let n=Yp[e]==null?0:Yp[e]+1;return Yp[e]=n,e+`-`+n},[e,t])}function Zp(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((t,n)=>{let r=Object.entries(n);for(let[n,i]of r){let r=t[n];r!=null&&(t[n]=r+e*i)}return t},{...t})}}var Qp=Zp(1),$p=Zp(-1);function em(e){return`clientX`in e&&`clientY`in e}function tm(e){if(!e)return!1;let{KeyboardEvent:t}=Lp(e.target);return t&&e instanceof t}function nm(e){if(!e)return!1;let{TouchEvent:t}=Lp(e.target);return t&&e instanceof t}function rm(e){if(nm(e)){if(e.touches&&e.touches.length){let{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){let{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return em(e)?{x:e.clientX,y:e.clientY}:null}var im=`a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]`;function am(e){return e.matches(im)?e:e.querySelector(im)}var om={display:`none`};function sm(e){let{id:t,value:n}=e;return U.createElement(`div`,{id:t,style:om},n)}function cm(e){let{id:t,announcement:n,ariaLiveType:r=`assertive`}=e;return U.createElement(`div`,{id:t,style:{position:`fixed`,top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:`hidden`,clip:`rect(0 0 0 0)`,clipPath:`inset(100%)`,whiteSpace:`nowrap`},role:`status`,"aria-live":r,"aria-atomic":!0},n)}function lm(){let[e,t]=(0,U.useState)(``);return{announce:(0,U.useCallback)(e=>{e!=null&&t(e)},[]),announcement:e}}var um=l(h()),dm=(0,U.createContext)(null);function fm(e){let t=(0,U.useContext)(dm);(0,U.useEffect)(()=>{if(!t)throw Error(`useDndMonitor must be used within a children of <DndContext>`);return t(e)},[e,t])}function pm(){let[e]=(0,U.useState)(()=>new Set),t=(0,U.useCallback)(t=>(e.add(t),()=>e.delete(t)),[e]);return[(0,U.useCallback)(t=>{let{type:n,event:r}=t;e.forEach(e=>e[n]?.call(e,r))},[e]),t]}var mm={draggable:`
|
|
44
|
-
To pick up a draggable item, press the space bar.
|
|
45
|
-
While dragging, use the arrow keys to move the item.
|
|
46
|
-
Press space again to drop the item in its new position, or press escape to cancel.
|
|
47
|
-
`},hm={onDragStart(e){let{active:t}=e;return`Picked up draggable item `+t.id+`.`},onDragOver(e){let{active:t,over:n}=e;return n?`Draggable item `+t.id+` was moved over droppable area `+n.id+`.`:`Draggable item `+t.id+` is no longer over a droppable area.`},onDragEnd(e){let{active:t,over:n}=e;return n?`Draggable item `+t.id+` was dropped over droppable area `+n.id:`Draggable item `+t.id+` was dropped.`},onDragCancel(e){let{active:t}=e;return`Dragging was cancelled. Draggable item `+t.id+` was dropped.`}};function gm(e){let{announcements:t=hm,container:n,hiddenTextDescribedById:r,screenReaderInstructions:i=mm}=e,{announce:a,announcement:o}=lm(),s=Xp(`DndLiveRegion`),[c,l]=(0,U.useState)(!1);if((0,U.useEffect)(()=>{l(!0)},[]),fm((0,U.useMemo)(()=>({onDragStart(e){let{active:n}=e;a(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&a(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;a(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;a(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;a(t.onDragCancel({active:n,over:r}))}}),[a,t])),!c)return null;let u=U.createElement(U.Fragment,null,U.createElement(sm,{id:r,value:i.draggable}),U.createElement(cm,{id:s,announcement:o}));return n?(0,um.createPortal)(u,n):u}var _m;(function(e){e.DragStart=`dragStart`,e.DragMove=`dragMove`,e.DragEnd=`dragEnd`,e.DragCancel=`dragCancel`,e.DragOver=`dragOver`,e.RegisterDroppable=`registerDroppable`,e.SetDroppableDisabled=`setDroppableDisabled`,e.UnregisterDroppable=`unregisterDroppable`})(_m||={});function vm(){}function ym(e,t){return(0,U.useMemo)(()=>({sensor:e,options:t??{}}),[e,t])}function bm(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,U.useMemo)(()=>[...t].filter(e=>e!=null),[...t])}var xm=Object.freeze({x:0,y:0});function Sm(e,t){return Math.sqrt((e.x-t.x)**2+(e.y-t.y)**2)}function Cm(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function wm(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function Tm(e,t){if(!e||e.length===0)return null;let[n]=e;return t?n[t]:n}function Em(e,t,n){return t===void 0&&(t=e.left),n===void 0&&(n=e.top),{x:t+e.width*.5,y:n+e.height*.5}}var Dm=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=Em(t,t.left,t.top),a=[];for(let e of r){let{id:t}=e,r=n.get(t);if(r){let n=Sm(Em(r),i);a.push({id:t,data:{droppableContainer:e,value:n}})}}return a.sort(Cm)};function Om(e,t){let n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),o=i-r,s=a-n;if(r<i&&n<a){let n=t.width*t.height,r=e.width*e.height,i=o*s,a=i/(n+r-i);return Number(a.toFixed(4))}return 0}var km=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=[];for(let e of r){let{id:r}=e,a=n.get(r);if(a){let n=Om(a,t);n>0&&i.push({id:r,data:{droppableContainer:e,value:n}})}}return i.sort(wm)};function Am(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function jm(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:xm}function Mm(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((t,n)=>({...t,top:t.top+e*n.y,bottom:t.bottom+e*n.y,left:t.left+e*n.x,right:t.right+e*n.x}),{...t})}}var Nm=Mm(1);function Pm(e){if(e.startsWith(`matrix3d(`)){let t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith(`matrix(`)){let t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function Fm(e,t,n){let r=Pm(t);if(!r)return e;let{scaleX:i,scaleY:a,x:o,y:s}=r,c=e.left-o-(1-i)*parseFloat(n),l=e.top-s-(1-a)*parseFloat(n.slice(n.indexOf(` `)+1)),u=i?e.width/i:e.width,d=a?e.height/a:e.height;return{width:u,height:d,top:l,right:c+u,bottom:l+d,left:c}}var Im={ignoreTransform:!1};function Lm(e,t){t===void 0&&(t=Im);let n=e.getBoundingClientRect();if(t.ignoreTransform){let{transform:t,transformOrigin:r}=Lp(e).getComputedStyle(e);t&&(n=Fm(n,t,r))}let{top:r,left:i,width:a,height:o,bottom:s,right:c}=n;return{top:r,left:i,width:a,height:o,bottom:s,right:c}}function Rm(e){return Lm(e,{ignoreTransform:!0})}function zm(e){let t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function Bm(e,t){return t===void 0&&(t=Lp(e).getComputedStyle(e)),t.position===`fixed`}function Vm(e,t){t===void 0&&(t=Lp(e).getComputedStyle(e));let n=/(auto|scroll|overlay)/;return[`overflow`,`overflowX`,`overflowY`].some(e=>{let r=t[e];return typeof r==`string`?n.test(r):!1})}function Hm(e,t){let n=[];function r(i){if(t!=null&&n.length>=t||!i)return n;if(Rp(i)&&i.scrollingElement!=null&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!zp(i)||Bp(i)||n.includes(i))return n;let a=Lp(e).getComputedStyle(i);return i!==e&&Vm(i,a)&&n.push(i),Bm(i,a)?n:r(i.parentNode)}return e?r(e):n}function Um(e){let[t]=Hm(e,1);return t??null}function Wm(e){return!Pp||!e?null:Fp(e)?e:Ip(e)?Rp(e)||e===Vp(e).scrollingElement?window:zp(e)?e:null:null}function Gm(e){return Fp(e)?e.scrollX:e.scrollLeft}function Km(e){return Fp(e)?e.scrollY:e.scrollTop}function qm(e){return{x:Gm(e),y:Km(e)}}var Jm;(function(e){e[e.Forward=1]=`Forward`,e[e.Backward=-1]=`Backward`})(Jm||={});function Ym(e){return!Pp||!e?!1:e===document.scrollingElement}function Xm(e){let t={x:0,y:0},n=Ym(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}var Zm={x:.2,y:.2};function Qm(e,t,n,r,i){let{top:a,left:o,right:s,bottom:c}=n;r===void 0&&(r=10),i===void 0&&(i=Zm);let{isTop:l,isBottom:u,isLeft:d,isRight:f}=Xm(e),p={x:0,y:0},m={x:0,y:0},h={height:t.height*i.y,width:t.width*i.x};return!l&&a<=t.top+h.height?(p.y=Jm.Backward,m.y=r*Math.abs((t.top+h.height-a)/h.height)):!u&&c>=t.bottom-h.height&&(p.y=Jm.Forward,m.y=r*Math.abs((t.bottom-h.height-c)/h.height)),!f&&s>=t.right-h.width?(p.x=Jm.Forward,m.x=r*Math.abs((t.right-h.width-s)/h.width)):!d&&o<=t.left+h.width&&(p.x=Jm.Backward,m.x=r*Math.abs((t.left+h.width-o)/h.width)),{direction:p,speed:m}}function $m(e){if(e===document.scrollingElement){let{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}let{top:t,left:n,right:r,bottom:i}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:i,width:e.clientWidth,height:e.clientHeight}}function eh(e){return e.reduce((e,t)=>Qp(e,qm(t)),xm)}function th(e){return e.reduce((e,t)=>e+Gm(t),0)}function nh(e){return e.reduce((e,t)=>e+Km(t),0)}function rh(e,t){if(t===void 0&&(t=Lm),!e)return;let{top:n,left:r,bottom:i,right:a}=t(e);Um(e)&&(i<=0||a<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:`center`,inline:`center`})}var ih=[[`x`,[`left`,`right`],th],[`y`,[`top`,`bottom`],nh]],ah=class{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;let n=Hm(t),r=eh(n);this.rect={...e},this.width=e.width,this.height=e.height;for(let[e,t,i]of ih)for(let a of t)Object.defineProperty(this,a,{get:()=>{let t=i(n),o=r[e]-t;return this.rect[a]+o},enumerable:!0});Object.defineProperty(this,`rect`,{enumerable:!1})}},oh=class{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(e=>this.target?.removeEventListener(...e))},this.target=e}add(e,t,n){var r;(r=this.target)==null||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}};function sh(e){let{EventTarget:t}=Lp(e);return e instanceof t?e:Vp(e)}function ch(e,t){let n=Math.abs(e.x),r=Math.abs(e.y);return typeof t==`number`?Math.sqrt(n**2+r**2)>t:`x`in t&&`y`in t?n>t.x&&r>t.y:`x`in t?n>t.x:`y`in t?r>t.y:!1}var lh;(function(e){e.Click=`click`,e.DragStart=`dragstart`,e.Keydown=`keydown`,e.ContextMenu=`contextmenu`,e.Resize=`resize`,e.SelectionChange=`selectionchange`,e.VisibilityChange=`visibilitychange`})(lh||={});function uh(e){e.preventDefault()}function dh(e){e.stopPropagation()}var fh;(function(e){e.Space=`Space`,e.Down=`ArrowDown`,e.Right=`ArrowRight`,e.Left=`ArrowLeft`,e.Up=`ArrowUp`,e.Esc=`Escape`,e.Enter=`Enter`,e.Tab=`Tab`})(fh||={});var ph={start:[fh.Space,fh.Enter],cancel:[fh.Esc],end:[fh.Space,fh.Enter,fh.Tab]},mh=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case fh.Right:return{...n,x:n.x+25};case fh.Left:return{...n,x:n.x-25};case fh.Down:return{...n,y:n.y+25};case fh.Up:return{...n,y:n.y-25}}},hh=class{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;let{event:{target:t}}=e;this.props=e,this.listeners=new oh(Vp(t)),this.windowListeners=new oh(Lp(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(lh.Resize,this.handleCancel),this.windowListeners.add(lh.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(lh.Keydown,this.handleKeyDown))}handleStart(){let{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&rh(n),t(xm)}handleKeyDown(e){if(tm(e)){let{active:t,context:n,options:r}=this.props,{keyboardCodes:i=ph,coordinateGetter:a=mh,scrollBehavior:o=`smooth`}=r,{code:s}=e;if(i.end.includes(s)){this.handleEnd(e);return}if(i.cancel.includes(s)){this.handleCancel(e);return}let{collisionRect:c}=n.current,l=c?{x:c.left,y:c.top}:xm;this.referenceCoordinates||=l;let u=a(e,{active:t,context:n.current,currentCoordinates:l});if(u){let t=$p(u,l),r={x:0,y:0},{scrollableAncestors:i}=n.current;for(let n of i){let i=e.code,{isTop:a,isRight:s,isLeft:c,isBottom:l,maxScroll:d,minScroll:f}=Xm(n),p=$m(n),m={x:Math.min(i===fh.Right?p.right-p.width/2:p.right,Math.max(i===fh.Right?p.left:p.left+p.width/2,u.x)),y:Math.min(i===fh.Down?p.bottom-p.height/2:p.bottom,Math.max(i===fh.Down?p.top:p.top+p.height/2,u.y))},h=i===fh.Right&&!s||i===fh.Left&&!c,g=i===fh.Down&&!l||i===fh.Up&&!a;if(h&&m.x!==u.x){let e=n.scrollLeft+t.x,a=i===fh.Right&&e<=d.x||i===fh.Left&&e>=f.x;if(a&&!t.y){n.scrollTo({left:e,behavior:o});return}a?r.x=n.scrollLeft-e:r.x=i===fh.Right?n.scrollLeft-d.x:n.scrollLeft-f.x,r.x&&n.scrollBy({left:-r.x,behavior:o});break}else if(g&&m.y!==u.y){let e=n.scrollTop+t.y,a=i===fh.Down&&e<=d.y||i===fh.Up&&e>=f.y;if(a&&!t.x){n.scrollTo({top:e,behavior:o});return}a?r.y=n.scrollTop-e:r.y=i===fh.Down?n.scrollTop-d.y:n.scrollTop-f.y,r.y&&n.scrollBy({top:-r.y,behavior:o});break}}this.handleMove(e,Qp($p(u,this.referenceCoordinates),r))}}}handleMove(e,t){let{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){let{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){let{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}};hh.activators=[{eventName:`onKeyDown`,handler:(e,t,n)=>{let{keyboardCodes:r=ph,onActivation:i}=t,{active:a}=n,{code:o}=e.nativeEvent;if(r.start.includes(o)){let t=a.activatorNode.current;return t&&e.target!==t?!1:(e.preventDefault(),i?.({event:e.nativeEvent}),!0)}return!1}}];function gh(e){return!!(e&&`distance`in e)}function _h(e){return!!(e&&`delay`in e)}var vh=class{constructor(e,t,n){n===void 0&&(n=sh(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;let{event:r}=e,{target:i}=r;this.props=e,this.events=t,this.document=Vp(i),this.documentListeners=new oh(this.document),this.listeners=new oh(n),this.windowListeners=new oh(Lp(i)),this.initialCoordinates=rm(r)??xm,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){let{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(lh.Resize,this.handleCancel),this.windowListeners.add(lh.DragStart,uh),this.windowListeners.add(lh.VisibilityChange,this.handleCancel),this.windowListeners.add(lh.ContextMenu,uh),this.documentListeners.add(lh.Keydown,this.handleKeydown),t){if(n!=null&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(_h(t)){this.timeoutId=setTimeout(this.handleStart,t.delay),this.handlePending(t);return}if(gh(t)){this.handlePending(t);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,t){let{active:n,onPending:r}=this.props;r(n,e,this.initialCoordinates,t)}handleStart(){let{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(lh.Click,dh,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(lh.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){let{activated:t,initialCoordinates:n,props:r}=this,{onMove:i,options:{activationConstraint:a}}=r;if(!n)return;let o=rm(e)??xm,s=$p(n,o);if(!t&&a){if(gh(a)){if(a.tolerance!=null&&ch(s,a.tolerance))return this.handleCancel();if(ch(s,a.distance))return this.handleStart()}if(_h(a)&&ch(s,a.tolerance))return this.handleCancel();this.handlePending(a,s);return}e.cancelable&&e.preventDefault(),i(o)}handleEnd(){let{onAbort:e,onEnd:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleCancel(){let{onAbort:e,onCancel:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleKeydown(e){e.code===fh.Esc&&this.handleCancel()}removeTextSelection(){var e;(e=this.document.getSelection())==null||e.removeAllRanges()}},yh={cancel:{name:`pointercancel`},move:{name:`pointermove`},end:{name:`pointerup`}},bh=class extends vh{constructor(e){let{event:t}=e,n=Vp(t.target);super(e,yh,n)}};bh.activators=[{eventName:`onPointerDown`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!n.isPrimary||n.button!==0?!1:(r?.({event:n}),!0)}}];var xh={move:{name:`mousemove`},end:{name:`mouseup`}},Sh;(function(e){e[e.RightClick=2]=`RightClick`})(Sh||={});var Ch=class extends vh{constructor(e){super(e,xh,Vp(e.event.target))}};Ch.activators=[{eventName:`onMouseDown`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button===Sh.RightClick?!1:(r?.({event:n}),!0)}}];var wh={cancel:{name:`touchcancel`},move:{name:`touchmove`},end:{name:`touchend`}},Th=class extends vh{constructor(e){super(e,wh)}static setup(){return window.addEventListener(wh.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(wh.move.name,e)};function e(){}}};Th.activators=[{eventName:`onTouchStart`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t,{touches:i}=n;return i.length>1?!1:(r?.({event:n}),!0)}}];var Eh;(function(e){e[e.Pointer=0]=`Pointer`,e[e.DraggableRect=1]=`DraggableRect`})(Eh||={});var Dh;(function(e){e[e.TreeOrder=0]=`TreeOrder`,e[e.ReversedTreeOrder=1]=`ReversedTreeOrder`})(Dh||={});function Oh(e){let{acceleration:t,activator:n=Eh.Pointer,canScroll:r,draggingRect:i,enabled:a,interval:o=5,order:s=Dh.TreeOrder,pointerCoordinates:c,scrollableAncestors:l,scrollableAncestorRects:u,delta:d,threshold:f}=e,p=Ah({delta:d,disabled:!a}),[m,h]=Wp(),g=(0,U.useRef)({x:0,y:0}),_=(0,U.useRef)({x:0,y:0}),v=(0,U.useMemo)(()=>{switch(n){case Eh.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case Eh.DraggableRect:return i}},[n,i,c]),y=(0,U.useRef)(null),b=(0,U.useCallback)(()=>{let e=y.current;if(!e)return;let t=g.current.x*_.current.x,n=g.current.y*_.current.y;e.scrollBy(t,n)},[]),x=(0,U.useMemo)(()=>s===Dh.TreeOrder?[...l].reverse():l,[s,l]);(0,U.useEffect)(()=>{if(!a||!l.length||!v){h();return}for(let e of x){if(r?.(e)===!1)continue;let n=u[l.indexOf(e)];if(!n)continue;let{direction:i,speed:a}=Qm(e,n,v,t,f);for(let e of[`x`,`y`])p[e][i[e]]||(a[e]=0,i[e]=0);if(a.x>0||a.y>0){h(),y.current=e,m(b,o),g.current=a,_.current=i;return}}g.current={x:0,y:0},_.current={x:0,y:0},h()},[t,b,r,h,a,o,JSON.stringify(v),JSON.stringify(p),m,l,x,u,JSON.stringify(f)])}var kh={x:{[Jm.Backward]:!1,[Jm.Forward]:!1},y:{[Jm.Backward]:!1,[Jm.Forward]:!1}};function Ah(e){let{delta:t,disabled:n}=e,r=Jp(t);return Kp(e=>{if(n||!r||!e)return kh;let i={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[Jm.Backward]:e.x[Jm.Backward]||i.x===-1,[Jm.Forward]:e.x[Jm.Forward]||i.x===1},y:{[Jm.Backward]:e.y[Jm.Backward]||i.y===-1,[Jm.Forward]:e.y[Jm.Forward]||i.y===1}}},[n,t,r])}function jh(e,t){let n=t==null?void 0:e.get(t),r=n?n.node.current:null;return Kp(e=>t==null?null:r??e??null,[r,t])}function Mh(e,t){return(0,U.useMemo)(()=>e.reduce((e,n)=>{let{sensor:r}=n,i=r.activators.map(e=>({eventName:e.eventName,handler:t(e.handler,n)}));return[...e,...i]},[]),[e,t])}var Nh;(function(e){e[e.Always=0]=`Always`,e[e.BeforeDragging=1]=`BeforeDragging`,e[e.WhileDragging=2]=`WhileDragging`})(Nh||={});var Ph;(function(e){e.Optimized=`optimized`})(Ph||={});var Fh=new Map;function Ih(e,t){let{dragging:n,dependencies:r,config:i}=t,[a,o]=(0,U.useState)(null),{frequency:s,measure:c,strategy:l}=i,u=(0,U.useRef)(e),d=g(),f=Gp(d),p=(0,U.useCallback)(function(e){e===void 0&&(e=[]),!f.current&&o(t=>t===null?e:t.concat(e.filter(e=>!t.includes(e))))},[f]),m=(0,U.useRef)(null),h=Kp(t=>{if(d&&!n)return Fh;if(!t||t===Fh||u.current!==e||a!=null){let t=new Map;for(let n of e){if(!n)continue;if(a&&a.length>0&&!a.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}let e=n.node.current,r=e?new ah(c(e),e):null;n.rect.current=r,r&&t.set(n.id,r)}return t}return t},[e,a,n,d,c]);return(0,U.useEffect)(()=>{u.current=e},[e]),(0,U.useEffect)(()=>{d||p()},[n,d]),(0,U.useEffect)(()=>{a&&a.length>0&&o(null)},[JSON.stringify(a)]),(0,U.useEffect)(()=>{d||typeof s!=`number`||m.current!==null||(m.current=setTimeout(()=>{p(),m.current=null},s))},[s,d,p,...r]),{droppableRects:h,measureDroppableContainers:p,measuringScheduled:a!=null};function g(){switch(l){case Nh.Always:return!1;case Nh.BeforeDragging:return n;default:return!n}}}function Lh(e,t){return Kp(n=>e?n||(typeof t==`function`?t(e):e):null,[t,e])}function Rh(e,t){return Lh(e,t)}function zh(e){let{callback:t,disabled:n}=e,r=Up(t),i=(0,U.useMemo)(()=>{if(n||typeof window>`u`||window.MutationObserver===void 0)return;let{MutationObserver:e}=window;return new e(r)},[r,n]);return(0,U.useEffect)(()=>()=>i?.disconnect(),[i]),i}function Bh(e){let{callback:t,disabled:n}=e,r=Up(t),i=(0,U.useMemo)(()=>{if(n||typeof window>`u`||window.ResizeObserver===void 0)return;let{ResizeObserver:e}=window;return new e(r)},[n]);return(0,U.useEffect)(()=>()=>i?.disconnect(),[i]),i}function Vh(e){return new ah(Lm(e),e)}function Hh(e,t,n){t===void 0&&(t=Vh);let[r,i]=(0,U.useState)(null);function a(){i(r=>{if(!e)return null;if(e.isConnected===!1)return r??n??null;let i=t(e);return JSON.stringify(r)===JSON.stringify(i)?r:i})}let o=zh({callback(t){if(e)for(let n of t){let{type:t,target:r}=n;if(t===`childList`&&r instanceof HTMLElement&&r.contains(e)){a();break}}}}),s=Bh({callback:a});return Hp(()=>{a(),e?(s?.observe(e),o?.observe(document.body,{childList:!0,subtree:!0})):(s?.disconnect(),o?.disconnect())},[e]),r}function Uh(e){return jm(e,Lh(e))}var Wh=[];function Gh(e){let t=(0,U.useRef)(e),n=Kp(n=>e?n&&n!==Wh&&e&&t.current&&e.parentNode===t.current.parentNode?n:Hm(e):Wh,[e]);return(0,U.useEffect)(()=>{t.current=e},[e]),n}function Kh(e){let[t,n]=(0,U.useState)(null),r=(0,U.useRef)(e),i=(0,U.useCallback)(e=>{let t=Wm(e.target);t&&n(e=>e?(e.set(t,qm(t)),new Map(e)):null)},[]);return(0,U.useEffect)(()=>{let t=r.current;if(e!==t){a(t);let o=e.map(e=>{let t=Wm(e);return t?(t.addEventListener(`scroll`,i,{passive:!0}),[t,qm(t)]):null}).filter(e=>e!=null);n(o.length?new Map(o):null),r.current=e}return()=>{a(e),a(t)};function a(e){e.forEach(e=>{Wm(e)?.removeEventListener(`scroll`,i)})}},[i,e]),(0,U.useMemo)(()=>e.length?t?Array.from(t.values()).reduce((e,t)=>Qp(e,t),xm):eh(e):xm,[e,t])}function qh(e,t){t===void 0&&(t=[]);let n=(0,U.useRef)(null);return(0,U.useEffect)(()=>{n.current=null},t),(0,U.useEffect)(()=>{let t=e!==xm;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)},[e]),n.current?$p(e,n.current):xm}function Jh(e){(0,U.useEffect)(()=>{if(!Pp)return;let t=e.map(e=>{let{sensor:t}=e;return t.setup==null?void 0:t.setup()});return()=>{for(let e of t)e?.()}},e.map(e=>{let{sensor:t}=e;return t}))}function Yh(e,t){return(0,U.useMemo)(()=>e.reduce((e,n)=>{let{eventName:r,handler:i}=n;return e[r]=e=>{i(e,t)},e},{}),[e,t])}function Xh(e){return(0,U.useMemo)(()=>e?zm(e):null,[e])}var Zh=[];function Qh(e,t){t===void 0&&(t=Lm);let[n]=e,r=Xh(n?Lp(n):null),[i,a]=(0,U.useState)(Zh);function o(){a(()=>e.length?e.map(e=>Ym(e)?r:new ah(t(e),e)):Zh)}let s=Bh({callback:o});return Hp(()=>{s?.disconnect(),o(),e.forEach(e=>s?.observe(e))},[e]),i}function $h(e){if(!e)return null;if(e.children.length>1)return e;let t=e.children[0];return zp(t)?t:e}function eg(e){let{measure:t}=e,[n,r]=(0,U.useState)(null),i=Bh({callback:(0,U.useCallback)(e=>{for(let{target:n}of e)if(zp(n)){r(e=>{let r=t(n);return e?{...e,width:r.width,height:r.height}:r});break}},[t])}),[a,o]=qp((0,U.useCallback)(e=>{let n=$h(e);i?.disconnect(),n&&i?.observe(n),r(n?t(n):null)},[t,i]));return(0,U.useMemo)(()=>({nodeRef:a,rect:n,setRef:o}),[n,a,o])}var tg=[{sensor:bh,options:{}},{sensor:hh,options:{}}],ng={current:{}},rg={draggable:{measure:Rm},droppable:{measure:Rm,strategy:Nh.WhileDragging,frequency:Ph.Optimized},dragOverlay:{measure:Lm}},ig=class extends Map{get(e){return e==null?void 0:super.get(e)??void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:t}=e;return!t})}getNodeFor(e){return this.get(e)?.node.current??void 0}},ag={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new ig,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:vm},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:rg,measureDroppableContainers:vm,windowRect:null,measuringScheduled:!1},og={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:``},dispatch:vm,draggableNodes:new Map,over:null,measureDroppableContainers:vm},sg=(0,U.createContext)(og),cg=(0,U.createContext)(ag);function lg(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new ig}}}function ug(e,t){switch(t.type){case _m.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case _m.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case _m.DragEnd:case _m.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case _m.RegisterDroppable:{let{element:n}=t,{id:r}=n,i=new ig(e.droppable.containers);return i.set(r,n),{...e,droppable:{...e.droppable,containers:i}}}case _m.SetDroppableDisabled:{let{id:n,key:r,disabled:i}=t,a=e.droppable.containers.get(n);if(!a||r!==a.key)return e;let o=new ig(e.droppable.containers);return o.set(n,{...a,disabled:i}),{...e,droppable:{...e.droppable,containers:o}}}case _m.UnregisterDroppable:{let{id:n,key:r}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;let a=new ig(e.droppable.containers);return a.delete(n),{...e,droppable:{...e.droppable,containers:a}}}default:return e}}function dg(e){let{disabled:t}=e,{active:n,activatorEvent:r,draggableNodes:i}=(0,U.useContext)(sg),a=Jp(r),o=Jp(n?.id);return(0,U.useEffect)(()=>{if(!t&&!r&&a&&o!=null){if(!tm(a)||document.activeElement===a.target)return;let e=i.get(o);if(!e)return;let{activatorNode:t,node:n}=e;if(!t.current&&!n.current)return;requestAnimationFrame(()=>{for(let e of[t.current,n.current]){if(!e)continue;let t=am(e);if(t){t.focus();break}}})}},[r,t,i,o,a]),null}function fg(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((e,t)=>t({transform:e,...r}),n):n}function pg(e){return(0,U.useMemo)(()=>({draggable:{...rg.draggable,...e?.draggable},droppable:{...rg.droppable,...e?.droppable},dragOverlay:{...rg.dragOverlay,...e?.dragOverlay}}),[e?.draggable,e?.droppable,e?.dragOverlay])}function mg(e){let{activeNode:t,measure:n,initialRect:r,config:i=!0}=e,a=(0,U.useRef)(!1),{x:o,y:s}=typeof i==`boolean`?{x:i,y:i}:i;Hp(()=>{if(!o&&!s||!t){a.current=!1;return}if(a.current||!r)return;let e=t?.node.current;if(!e||e.isConnected===!1)return;let i=jm(n(e),r);if(o||(i.x=0),s||(i.y=0),a.current=!0,Math.abs(i.x)>0||Math.abs(i.y)>0){let t=Um(e);t&&t.scrollBy({top:i.y,left:i.x})}},[t,o,s,r,n])}var hg=(0,U.createContext)({...xm,scaleX:1,scaleY:1}),gg;(function(e){e[e.Uninitialized=0]=`Uninitialized`,e[e.Initializing=1]=`Initializing`,e[e.Initialized=2]=`Initialized`})(gg||={});var _g=(0,U.memo)(function(e){let{id:t,accessibility:n,autoScroll:r=!0,children:i,sensors:a=tg,collisionDetection:o=km,measuring:s,modifiers:c,...l}=e,[u,d]=(0,U.useReducer)(ug,void 0,lg),[f,p]=pm(),[m,h]=(0,U.useState)(gg.Uninitialized),g=m===gg.Initialized,{draggable:{active:_,nodes:v,translate:y},droppable:{containers:b}}=u,x=_==null?null:v.get(_),S=(0,U.useRef)({initial:null,translated:null}),C=(0,U.useMemo)(()=>_==null?null:{id:_,data:x?.data??ng,rect:S},[_,x]),w=(0,U.useRef)(null),[T,E]=(0,U.useState)(null),[D,ee]=(0,U.useState)(null),O=Gp(l,Object.values(l)),te=Xp(`DndDescribedBy`,t),k=(0,U.useMemo)(()=>b.getEnabled(),[b]),A=pg(s),{droppableRects:ne,measureDroppableContainers:j,measuringScheduled:re}=Ih(k,{dragging:g,dependencies:[y.x,y.y],config:A.droppable}),M=jh(v,_),ie=(0,U.useMemo)(()=>D?rm(D):null,[D]),ae=Fe(),N=Rh(M,A.draggable.measure);mg({activeNode:_==null?null:v.get(_),config:ae.layoutShiftCompensation,initialRect:N,measure:A.draggable.measure});let oe=Hh(M,A.draggable.measure,N),se=Hh(M?M.parentElement:null),ce=(0,U.useRef)({activatorEvent:null,active:null,activeNode:M,collisionRect:null,collisions:null,droppableRects:ne,draggableNodes:v,draggingNode:null,draggingNodeRect:null,droppableContainers:b,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),le=b.getNodeFor(ce.current.over?.id),ue=eg({measure:A.dragOverlay.measure}),de=ue.nodeRef.current??M,fe=g?ue.rect??oe:null,pe=!!(ue.nodeRef.current&&ue.rect),me=Uh(pe?null:oe),he=Xh(de?Lp(de):null),ge=Gh(g?le??M:null),_e=Qh(ge),ve=fg(c,{transform:{x:y.x-me.x,y:y.y-me.y,scaleX:1,scaleY:1},activatorEvent:D,active:C,activeNodeRect:oe,containerNodeRect:se,draggingNodeRect:fe,over:ce.current.over,overlayNodeRect:ue.rect,scrollableAncestors:ge,scrollableAncestorRects:_e,windowRect:he}),ye=ie?Qp(ie,y):null,be=Kh(ge),xe=qh(be),Se=qh(be,[oe]),Ce=Qp(ve,xe),we=fe?Nm(fe,ve):null,Te=C&&we?o({active:C,collisionRect:we,droppableRects:ne,droppableContainers:k,pointerCoordinates:ye}):null,Ee=Tm(Te,`id`),[De,Oe]=(0,U.useState)(null),ke=Am(pe?ve:Qp(ve,Se),De?.rect??null,oe),Ae=(0,U.useRef)(null),je=(0,U.useCallback)((e,t)=>{let{sensor:n,options:r}=t;if(w.current==null)return;let i=v.get(w.current);if(!i)return;let a=e.nativeEvent;Ae.current=new n({active:w.current,activeNode:i,event:a,options:r,context:ce,onAbort(e){if(!v.get(e))return;let{onDragAbort:t}=O.current,n={id:e};t?.(n),f({type:`onDragAbort`,event:n})},onPending(e,t,n,r){if(!v.get(e))return;let{onDragPending:i}=O.current,a={id:e,constraint:t,initialCoordinates:n,offset:r};i?.(a),f({type:`onDragPending`,event:a})},onStart(e){let t=w.current;if(t==null)return;let n=v.get(t);if(!n)return;let{onDragStart:r}=O.current,i={activatorEvent:a,active:{id:t,data:n.data,rect:S}};(0,um.unstable_batchedUpdates)(()=>{r?.(i),h(gg.Initializing),d({type:_m.DragStart,initialCoordinates:e,active:t}),f({type:`onDragStart`,event:i}),E(Ae.current),ee(a)})},onMove(e){d({type:_m.DragMove,coordinates:e})},onEnd:o(_m.DragEnd),onCancel:o(_m.DragCancel)});function o(e){return async function(){let{active:t,collisions:n,over:r,scrollAdjustedTranslate:i}=ce.current,o=null;if(t&&i){let{cancelDrop:s}=O.current;o={activatorEvent:a,active:t,collisions:n,delta:i,over:r},e===_m.DragEnd&&typeof s==`function`&&await Promise.resolve(s(o))&&(e=_m.DragCancel)}w.current=null,(0,um.unstable_batchedUpdates)(()=>{d({type:e}),h(gg.Uninitialized),Oe(null),E(null),ee(null),Ae.current=null;let t=e===_m.DragEnd?`onDragEnd`:`onDragCancel`;if(o){let e=O.current[t];e?.(o),f({type:t,event:o})}})}}},[v]),Me=Mh(a,(0,U.useCallback)((e,t)=>(n,r)=>{let i=n.nativeEvent,a=v.get(r);if(w.current!==null||!a||i.dndKit||i.defaultPrevented)return;let o={active:a};e(n,t.options,o)===!0&&(i.dndKit={capturedBy:t.sensor},w.current=r,je(n,t))},[v,je]));Jh(a),Hp(()=>{oe&&m===gg.Initializing&&h(gg.Initialized)},[oe,m]),(0,U.useEffect)(()=>{let{onDragMove:e}=O.current,{active:t,activatorEvent:n,collisions:r,over:i}=ce.current;if(!t||!n)return;let a={active:t,activatorEvent:n,collisions:r,delta:{x:Ce.x,y:Ce.y},over:i};(0,um.unstable_batchedUpdates)(()=>{e?.(a),f({type:`onDragMove`,event:a})})},[Ce.x,Ce.y]),(0,U.useEffect)(()=>{let{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:i}=ce.current;if(!e||w.current==null||!t||!i)return;let{onDragOver:a}=O.current,o=r.get(Ee),s=o&&o.rect.current?{id:o.id,rect:o.rect.current,data:o.data,disabled:o.disabled}:null,c={active:e,activatorEvent:t,collisions:n,delta:{x:i.x,y:i.y},over:s};(0,um.unstable_batchedUpdates)(()=>{Oe(s),a?.(c),f({type:`onDragOver`,event:c})})},[Ee]),Hp(()=>{ce.current={activatorEvent:D,active:C,activeNode:M,collisionRect:we,collisions:Te,droppableRects:ne,draggableNodes:v,draggingNode:de,draggingNodeRect:fe,droppableContainers:b,over:De,scrollableAncestors:ge,scrollAdjustedTranslate:Ce},S.current={initial:fe,translated:we}},[C,M,Te,we,v,de,fe,ne,b,De,ge,Ce]),Oh({...ae,delta:y,draggingRect:we,pointerCoordinates:ye,scrollableAncestors:ge,scrollableAncestorRects:_e});let Ne=(0,U.useMemo)(()=>({active:C,activeNode:M,activeNodeRect:oe,activatorEvent:D,collisions:Te,containerNodeRect:se,dragOverlay:ue,draggableNodes:v,droppableContainers:b,droppableRects:ne,over:De,measureDroppableContainers:j,scrollableAncestors:ge,scrollableAncestorRects:_e,measuringConfiguration:A,measuringScheduled:re,windowRect:he}),[C,M,oe,D,Te,se,ue,v,b,ne,De,j,ge,_e,A,re,he]),Pe=(0,U.useMemo)(()=>({activatorEvent:D,activators:Me,active:C,activeNodeRect:oe,ariaDescribedById:{draggable:te},dispatch:d,draggableNodes:v,over:De,measureDroppableContainers:j}),[D,Me,C,oe,d,te,v,De,j]);return U.createElement(dm.Provider,{value:p},U.createElement(sg.Provider,{value:Pe},U.createElement(cg.Provider,{value:Ne},U.createElement(hg.Provider,{value:ke},i)),U.createElement(dg,{disabled:n?.restoreFocus===!1})),U.createElement(gm,{...n,hiddenTextDescribedById:te}));function Fe(){let e=T?.autoScrollEnabled===!1,t=typeof r==`object`?r.enabled===!1:r===!1,n=g&&!e&&!t;return typeof r==`object`?{...r,enabled:n}:{enabled:n}}}),vg=(0,U.createContext)(null),yg=`button`,bg=`Draggable`;function xg(e){let{id:t,data:n,disabled:r=!1,attributes:i}=e,a=Xp(bg),{activators:o,activatorEvent:s,active:c,activeNodeRect:l,ariaDescribedById:u,draggableNodes:d,over:f}=(0,U.useContext)(sg),{role:p=yg,roleDescription:m=`draggable`,tabIndex:h=0}=i??{},g=c?.id===t,_=(0,U.useContext)(g?hg:vg),[v,y]=qp(),[b,x]=qp(),S=Yh(o,t),C=Gp(n);return Hp(()=>(d.set(t,{id:t,key:a,node:v,activatorNode:b,data:C}),()=>{let e=d.get(t);e&&e.key===a&&d.delete(t)}),[d,t]),{active:c,activatorEvent:s,activeNodeRect:l,attributes:(0,U.useMemo)(()=>({role:p,tabIndex:h,"aria-disabled":r,"aria-pressed":g&&p===yg?!0:void 0,"aria-roledescription":m,"aria-describedby":u.draggable}),[r,p,h,g,m,u.draggable]),isDragging:g,listeners:r?void 0:S,node:v,over:f,setNodeRef:y,setActivatorNodeRef:x,transform:_}}var Sg=`Droppable`,Cg={timeout:25};function wg(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:i}=e,a=Xp(Sg),{active:o,dispatch:s,over:c,measureDroppableContainers:l}=(0,U.useContext)(sg),u=(0,U.useRef)({disabled:n}),d=(0,U.useRef)(!1),f=(0,U.useRef)(null),p=(0,U.useRef)(null),{disabled:m,updateMeasurementsFor:h,timeout:g}={...Cg,...i},_=Gp(h??r),v=Bh({callback:(0,U.useCallback)(()=>{if(!d.current){d.current=!0;return}p.current!=null&&clearTimeout(p.current),p.current=setTimeout(()=>{l(Array.isArray(_.current)?_.current:[_.current]),p.current=null},g)},[g]),disabled:m||!o}),[y,b]=qp((0,U.useCallback)((e,t)=>{v&&(t&&(v.unobserve(t),d.current=!1),e&&v.observe(e))},[v])),x=Gp(t);return(0,U.useEffect)(()=>{!v||!y.current||(v.disconnect(),d.current=!1,v.observe(y.current))},[y,v]),(0,U.useEffect)(()=>(s({type:_m.RegisterDroppable,element:{id:r,key:a,disabled:n,node:y,rect:f,data:x}}),()=>s({type:_m.UnregisterDroppable,key:a,id:r})),[r]),(0,U.useEffect)(()=>{n!==u.current.disabled&&(s({type:_m.SetDroppableDisabled,id:r,key:a,disabled:n}),u.current.disabled=n)},[r,a,n,s]),{active:o,rect:f,isOver:c?.id===r,node:y,over:c,setNodeRef:b}}var Tg=e=>typeof e==`string`?e:typeof e==`number`?`${e}px`:`30px`,Eg=({size:e,children:t})=>(e=Tg(e),(0,G.jsx)(`div`,{style:{height:e,width:e,display:`inline-block`,position:`relative`},children:t}));Eg.propTypes={size:z.number,children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired};var Dg=({size:e,children:t,sx:n})=>(0,G.jsx)(Eg,{size:e,children:(0,G.jsx)(`svg`,{preserveAspectRatio:`xMinYMin meet`,viewBox:`0 0 44 40`,style:{enableBackground:`new 0 0 44 40`,...n},children:t})});Dg.propTypes={size:z.oneOfType([z.string,z.number]),children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired,sx:z.object};var Og=({fill:e})=>(0,G.jsx)(`polygon`,{points:`17.4,26.9 10.1,20.6 12.8,17.5 16.3,20.5 22.3,9.7 25.9,11.7`,fill:e});Og.propTypes={fill:z.string.isRequired};var kg=({fill:e})=>(0,G.jsx)(`polygon`,{transform:`translate(2, 0)`,points:`34.1,28.6 34.1,2.2 2,2.2 2,34.3 40.1,34.3`,fill:e});kg.propTypes={fill:z.string.isRequired};var Ag=({fill:e})=>(0,G.jsx)(`path`,{transform:`translate(1, 0)`,d:`M31.2,29.1v-0.3c2.2-2.8,3.6-6.3,3.6-10.1c0-8.9-7.2-16.1-16.1-16.1c-8.8,0.1-16,7.3-16,16.2 s7.2,16.1,16.1,16.1h18.5L31.2,29.1z`,fill:e});Ag.propTypes={fill:z.string.isRequired};var jg=({fill:e})=>(0,G.jsx)(`circle`,{transform:`translate(-3,0)`,cx:`23`,cy:`20.4`,r:`16`,fill:e});jg.propTypes={fill:z.string.isRequired};var Mg=({fill:e})=>(0,G.jsx)(`rect`,{x:`3.6`,y:`4.1`,width:`32`,height:`32`,fill:e});Mg.propTypes={fill:z.string.isRequired};var Ng=(e,t)=>{class n extends U.Component{static propTypes={iconSet:z.oneOf([`emoji`,`check`]),shape:z.oneOf([`round`,`square`]),category:z.oneOf([`feedback`,void 0]),open:z.bool,size:z.oneOfType([z.number,z.string]),fg:z.string,bg:z.string};static defaultProps={iconSet:`check`,shape:`round`,category:void 0,open:!1,size:30,fg:`#4aaf46`,bg:`#f8ffe2`};render(){let{iconSet:n,shape:r,category:i,open:a,size:o,fg:s,bg:c}=this.props,l=n===`check`?(0,G.jsx)(e,{fill:s}):(0,G.jsx)(t,{fill:s}),u=n===`check`?(0,G.jsx)(e,{fill:c}):(0,G.jsx)(t,{fill:c});return a?(0,G.jsx)(Dg,{size:o,children:u}):(0,G.jsxs)(Dg,{size:o,children:[i===`feedback`?r===`round`?(0,G.jsx)(Ag,{fill:c}):(0,G.jsx)(kg,{fill:c}):r===`round`?(0,G.jsx)(jg,{fill:c}):(0,G.jsx)(Mg,{fill:c}),l]})}}return n},Pg=({fill:e})=>(0,G.jsxs)(`g`,{transform:`translate(1, 0)`,children:[(0,G.jsx)(`path`,{d:`M24.7,22.1c-1.5,1.7-3.6,2.7-5.8,2.7s-4.5-1.1-5.8-2.7l-2.8,1.6c2,2.7,5.2,4.2,8.7,4.2
|
|
48
|
-
c3.4,0,6.6-1.6,8.7-4.2L24.7,22.1z`,fill:e}),(0,G.jsx)(`rect`,{x:`21.1`,y:`13.1`,width:`3.7`,height:`4.7`,fill:e}),(0,G.jsx)(`rect`,{x:`12.7`,y:`13.1`,width:`3.7`,height:`4.7`,fill:e})]});Pg.propTypes={fill:z.string.isRequired};var Fg=({fill:e,x:t=0,y:n=0})=>(0,G.jsx)(`polygon`,{transform:`translate(${t}, ${n})`,points:`19.1,28.6 11.8,22.3 14.4,19.2 17.9,22.1 23.9,11.4 27.5,13.4`,fill:e});Fg.propTypes={fill:z.string.isRequired,x:z.number,y:z.number};var Ig=Ng(Fg,Pg);Ig.propTypes={iconSet:z.oneOf([`emoji`,`check`]),shape:z.oneOf([`round`,`square`]),category:z.oneOf([`feedback`,void 0]),open:z.bool,fg:z.string,bg:z.string,size:z.oneOfType([z.string,z.number])},Ig.defaultProps={iconSet:`check`,shape:`round`,category:void 0,open:!1,fg:`#4aaf46`,bg:`#f8ffe2`,size:30};var Lg=({bgFill:e,fgFill:t})=>(0,G.jsxs)(`svg`,{preserveAspectRatio:`xMinYMin meet`,version:`1.1`,viewBox:`-283 359 34 35`,style:{enableBackground:`new -283 359 34 35`},children:[(0,G.jsx)(`circle`,{cx:`-266`,cy:`375.9`,r:`14`,fill:e}),(0,G.jsx)(`path`,{d:`M-280.5,375.9c0-8,6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5s-6.5,14.5-14.5,14.5S-280.5,383.9-280.5,375.9z
|
|
49
|
-
M-279.5,375.9c0,7.4,6.1,13.5,13.5,13.5c7.4,0,13.5-6.1,13.5-13.5s-6.1-13.5-13.5-13.5C-273.4,362.4-279.5,368.5-279.5,375.9z`,fill:e}),(0,G.jsx)(`polygon`,{points:`-265.4,383.1 -258.6,377.2 -261.2,374.2 -264.3,376.9 -268.9,368.7 -272.4,370.6`,fill:t})]});Lg.propTypes={bgFill:z.string.isRequired,fgFill:z.string.isRequired};var Rg=({bgFill:e,fgFill:t,borderFill:n})=>(0,G.jsxs)(`svg`,{preserveAspectRatio:`xMinYMin meet`,version:`1.1`,viewBox:`-129.5 127 34 35`,style:{enableBackground:`new -129.5 127 34 35`},children:[(0,G.jsx)(`path`,{style:{fill:`#D0CAC5`,stroke:`#E6E3E0`,strokeWidth:.75,strokeMiterlimit:10},d:`M-112.9,160.4c-8.5,0-15.5-6.9-15.5-15.5c0-8.5,6.9-15.5,15.5-15.5s15.5,6.9,15.5,15.5
|
|
50
|
-
C-97.4,153.5-104.3,160.4-112.9,160.4z`}),(0,G.jsx)(`path`,{style:{fill:`#B3ABA4`,stroke:`#CDC7C2`,strokeWidth:.5,strokeMiterlimit:10},d:`M-113.2,159c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-105.2,159-113.2,159z`}),(0,G.jsx)(`circle`,{cx:`-114.2`,cy:`143.5`,r:`14`,fill:e}),(0,G.jsx)(`path`,{d:`M-114.2,158c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-106.2,158-114.2,158z
|
|
51
|
-
M-114.2,130c-7.4,0-13.5,6.1-13.5,13.5s6.1,13.5,13.5,13.5s13.5-6.1,13.5-13.5S-106.8,130-114.2,130z`,fill:n}),(0,G.jsx)(`polygon`,{points:`-114.8,150.7 -121.6,144.8 -119,141.8 -115.9,144.5 -111.3,136.3 -107.8,138.2`,fill:t})]});Rg.propTypes={bgFill:z.string.isRequired,fgFill:z.string.isRequired,borderFill:z.string.isRequired};var zg=X(`div`)(({size:e})=>({width:e||`25px`,height:e||`25px`})),Bg=({open:e,size:t})=>(0,G.jsx)(zg,{size:t,children:e?(0,G.jsx)(Lg,{bgFill:`#bce2ff`,fgFill:`#1a9cff`}):(0,G.jsx)(Rg,{bgFill:`white`,fgFill:`#1a9cff`,borderFill:`#bce2ff`})});Bg.propTypes={open:z.bool,size:z.string},Bg.defaultProps={open:!1};var Vg=({fill:e})=>(0,G.jsxs)(`g`,{transform:`translate(0.5, 0.5)`,children:[(0,G.jsx)(`rect`,{x:`11`,y:`17.3`,transform:`matrix(0.7071 -0.7071 0.7071 0.7071 -7.852 19.2507)`,width:`16.6`,height:`3.7`,fill:e}),(0,G.jsx)(`rect`,{x:`17.4`,y:`10.7`,transform:`matrix(0.7071 -0.7071 0.7071 0.7071 -7.8175 19.209)`,width:`3.7`,height:`16.6`,fill:e})]});Vg.propTypes={fill:z.string.isRequired};var Hg=({fill:e})=>(0,G.jsxs)(`g`,{transform:`translate(1,0)`,children:[(0,G.jsx)(`rect`,{x:`21`,y:`12.9`,width:`3.7`,height:`4.7`,fill:e}),(0,G.jsx)(`rect`,{x:`12.7`,y:`12.9`,width:`3.7`,height:`4.7`,fill:e}),(0,G.jsx)(`rect`,{x:`12.2`,y:`22.5`,width:`13`,height:`3.3`,fill:e})]});Hg.propTypes={fill:z.string.isRequired};var Ug=Ng(Vg,Hg);Ug.propTypes={iconSet:z.oneOf([`emoji`,`check`]),shape:z.oneOf([`round`,`square`]),category:z.oneOf([`feedback`,void 0]),open:z.bool,fg:z.string,bg:z.string,size:z.oneOfType([z.string,z.number])},Ug.defaultProps={iconSet:`check`,shape:`round`,category:void 0,open:!1,fg:`#fcb733`,bg:`#fbf2e3`,size:30};var Wg=({fill:e})=>(0,G.jsxs)(`g`,{children:[(0,G.jsx)(`rect`,{x:`19.3`,y:`10.3`,width:`4.5`,height:`12.7`,fill:e}),(0,G.jsx)(`rect`,{x:`19.3`,y:`26.2`,width:`4.5`,height:`4.5`,fill:e})]});Wg.propTypes={fill:z.string.isRequired};var Gg=({fill:e})=>(0,G.jsx)(`polygon`,{points:`14.8,4.5 5.6,13.8 5.6,27 14.8,36.5 28.1,36.5 37.6,27 37.6,13.8 28.1,4.5`,fill:e});Gg.propTypes={fill:z.string.isRequired};var Kg=({fill:e})=>(0,G.jsxs)(`g`,{children:[(0,G.jsx)(`rect`,{x:`23.8`,y:`15`,width:`3.5`,height:`4.4`,fill:e}),(0,G.jsx)(`rect`,{x:`16`,y:`15`,width:`3.5`,height:`4.4`,fill:e}),(0,G.jsx)(`path`,{d:`M24.2,27.1h-5.1c-0.8,0-1.5-0.7-1.5-1.5v0c0-0.8,0.7-1.5,1.5-1.5h5.1c0.8,0,1.5,0.7,1.5,1.5v0
|
|
52
|
-
C25.7,26.4,25,27.1,24.2,27.1z`,fill:e})]});Kg.propTypes={fill:z.string.isRequired};var qg=class extends U.Component{constructor(e){super(e);let{fg:t=`#464146`,bg:n=`white`}=this.props;this.icons={check:(0,G.jsxs)(Dg,{children:[(0,G.jsx)(Gg,{fill:n}),(0,G.jsx)(Wg,{fill:t})]}),emoji:(0,G.jsxs)(Dg,{children:[(0,G.jsx)(Gg,{fill:n}),(0,G.jsx)(Kg,{fill:t})]}),feedback:{check:(0,G.jsxs)(Dg,{children:[(0,G.jsx)(Gg,{fill:n}),(0,G.jsx)(Kg,{fill:t})]}),emoji:(0,G.jsxs)(Dg,{children:[(0,G.jsx)(Gg,{fill:n}),(0,G.jsx)(Kg,{fill:t})]}),square:{check:(0,G.jsxs)(Dg,{children:[(0,G.jsx)(Gg,{fill:n}),(0,G.jsx)(Wg,{fill:t})]}),emoji:(0,G.jsxs)(Dg,{children:[(0,G.jsx)(Gg,{fill:n}),(0,G.jsx)(Kg,{fill:t})]}),open:{check:(0,G.jsx)(Dg,{children:(0,G.jsx)(Wg,{fill:n})}),emoji:(0,G.jsx)(Dg,{children:(0,G.jsx)(Kg,{fill:n})})}}}}}render(){let{iconSet:e,category:t,shape:n,open:r}=this.props;return t===void 0?this.icons[e]:n===void 0?this.icons.feedback[e]:r===!0?this.icons.feedback.square.open[e]:this.icons.feedback.square[e]}};qg.propTypes={iconSet:z.oneOf([`emoji`,`check`,void 0]),shape:z.oneOf([`square`,void 0]),category:z.oneOf([`feedback`,void 0]),open:z.bool,fg:z.string,bg:z.string},qg.defaultProps={iconSet:`check`,shape:void 0,category:void 0,open:!1,fg:`#464146`,bg:`white`};var Jg=({fill:e})=>(0,G.jsxs)(`g`,{transform:`translate(0, 0)`,children:[(0,G.jsx)(`polygon`,{points:`27.5,13.4 23.9,11.4 15.9,25.8 19.1,28.6`,fill:e}),(0,G.jsx)(`polygon`,{points:`16.2,20.6 14.4,19.2 11.8,22.3 14.1,24.3`,fill:e})]});Jg.propTypes={fill:z.string.isRequired};var Yg=({fill:e})=>(0,G.jsxs)(`g`,{transform:`translate(2, 0)`,children:[(0,G.jsx)(`rect`,{x:`20.6`,y:`11.8`,width:`4`,height:`5`,fill:e}),(0,G.jsx)(`rect`,{x:`11.5`,y:`11.8`,width:`4`,height:`5`,fill:e}),(0,G.jsx)(`rect`,{x:`10.9`,y:`22.9`,transform:`matrix(0.9794 -0.2019 0.2019 0.9794 -4.6237 4.1559)`,width:`14.3`,height:`3.7`,fill:e})]});Yg.propTypes={fill:z.string.isRequired};var Xg=Ng(Jg,Yg);Xg.propTypes={iconSet:z.oneOf([`emoji`,`check`]),shape:z.oneOf([`round`,`square`]),category:z.oneOf([`feedback`,void 0]),open:z.bool,fg:z.string,bg:z.string,size:z.oneOfType([z.string,z.number])},Xg.defaultProps={iconSet:`check`,shape:`round`,category:void 0,open:!1,fg:`#4aaf46`,bg:`#c1e1ac`,size:30};function Zg(e){return typeof e==`string`}function Qg(e){return Pd(e)}function $g(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}return r.clear=()=>{clearTimeout(n)},r}var e_=$g;function t_(e){return e&&e.ownerDocument||document}var n_=t_;function r_(e){return t_(e).defaultView||window}var i_=r_,a_={};function o_(e,t){let n=U.useRef(a_);return n.current===a_&&(n.current=e(t)),n}var s_=[];function c_(e){U.useEffect(e,s_)}var l_=class e{static create(){return new e}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear};function u_(){let e=o_(l_.create).current;return c_(e.disposeEffect),e}function d_(e){return e?.ref||null}function f_(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function p_(e,t){return p_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p_(e,t)}function m_(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,p_(e,t)}function h_(e,t){return e.classList?!!t&&e.classList.contains(t):(` `+(e.className.baseVal||e.className)+` `).indexOf(` `+t+` `)!==-1}function g_(e,t){e.classList?e.classList.add(t):h_(e,t)||(typeof e.className==`string`?e.className=e.className+` `+t:e.setAttribute(`class`,(e.className&&e.className.baseVal||``)+` `+t))}function __(e,t){return e.replace(RegExp(`(^|\\s)`+t+`(?:\\s|$)`,`g`),`$1`).replace(/\s+/g,` `).replace(/^\s*|\s*$/g,``)}function v_(e,t){e.classList?e.classList.remove(t):typeof e.className==`string`?e.className=__(e.className,t):e.setAttribute(`class`,__(e.className&&e.className.baseVal||``,t))}var y_={disabled:!1},b_=U.createContext(null),x_=function(e){return e.scrollTop},S_=`unmounted`,C_=`exited`,w_=`entering`,T_=`entered`,E_=`exiting`,D_=function(e){m_(t,e);function t(t,n){var r=e.call(this,t,n)||this,i=n,a=i&&!i.isMounting?t.enter:t.appear,o;return r.appearStatus=null,t.in?a?(o=C_,r.appearStatus=w_):o=T_:o=t.unmountOnExit||t.mountOnEnter?S_:C_,r.state={status:o},r.nextCallback=null,r}t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===`unmounted`?{status:C_}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==`entering`&&n!==`entered`&&(t=w_):(n===`entering`||n===`entered`)&&(t=E_)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e=this.props.timeout,t=n=r=e,n,r;return e!=null&&typeof e!=`number`&&(t=e.exit,n=e.enter,r=e.appear===void 0?n:e.appear),{exit:t,enter:n,appear:r}},n.updateStatus=function(e,t){if(e===void 0&&(e=!1),t!==null)if(this.cancelNextCallback(),t===`entering`){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:um.findDOMNode(this);n&&x_(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===`exited`&&this.setState({status:S_})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[um.findDOMNode(this),r],a=i[0],o=i[1],s=this.getTimeouts(),c=r?s.appear:s.enter;if(!e&&!n||y_.disabled){this.safeSetState({status:T_},function(){t.props.onEntered(a)});return}this.props.onEnter(a,o),this.safeSetState({status:w_},function(){t.props.onEntering(a,o),t.onTransitionEnd(c,function(){t.safeSetState({status:T_},function(){t.props.onEntered(a,o)})})})},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:um.findDOMNode(this);if(!t||y_.disabled){this.safeSetState({status:C_},function(){e.props.onExited(r)});return}this.props.onExit(r),this.safeSetState({status:E_},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:C_},function(){e.props.onExited(r)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:um.findDOMNode(this),r=e==null&&!this.props.addEndListener;if(!n||r){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=i[0],o=i[1];this.props.addEndListener(a,o)}e!=null&&setTimeout(this.nextCallback,e)},n.render=function(){var e=this.state.status;if(e===`unmounted`)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=f_(t,[`children`,`in`,`mountOnEnter`,`unmountOnExit`,`appear`,`enter`,`exit`,`timeout`,`addEndListener`,`onEnter`,`onEntering`,`onEntered`,`onExit`,`onExiting`,`onExited`,`nodeRef`]);return U.createElement(b_.Provider,{value:null},typeof n==`function`?n(e,r):U.cloneElement(U.Children.only(n),r))},t}(U.Component);D_.contextType=b_,D_.propTypes={};function O_(){}D_.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:O_,onEntering:O_,onEntered:O_,onExit:O_,onExiting:O_,onExited:O_},D_.UNMOUNTED=S_,D_.EXITED=C_,D_.ENTERING=w_,D_.ENTERED=T_,D_.EXITING=E_;var k_=function(e,t){return e&&t&&t.split(` `).forEach(function(t){return g_(e,t)})},A_=function(e,t){return e&&t&&t.split(` `).forEach(function(t){return v_(e,t)})},j_=function(e){m_(t,e);function t(){for(var t,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return t=e.call.apply(e,[this].concat(r))||this,t.appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1];t.removeClasses(i,`exit`),t.addClass(i,a?`appear`:`enter`,`base`),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1]?`appear`:`enter`;t.addClass(i,a,`active`),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1]?`appear`:`enter`;t.removeClasses(i,a),t.addClass(i,a,`done`),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,`appear`),t.removeClasses(n,`enter`),t.addClass(n,`exit`,`base`),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,`exit`,`active`),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,`exit`),t.addClass(n,`exit`,`done`),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r=typeof n==`string`,i=r&&n?n+`-`:``,a=r?``+i+e:n[e];return{baseClassName:a,activeClassName:r?a+`-active`:n[e+`Active`],doneClassName:r?a+`-done`:n[e+`Done`]}},t}var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+`ClassName`],i=this.getClassNames(`enter`).doneClassName;t===`appear`&&n===`done`&&i&&(r+=` `+i),n===`active`&&e&&x_(e),r&&(this.appliedClasses[t][n]=r,k_(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,i=n.active,a=n.done;this.appliedClasses[t]={},r&&A_(e,r),i&&A_(e,i),a&&A_(e,a)},n.render=function(){var e=this.props;e.classNames;var t=f_(e,[`classNames`]);return U.createElement(D_,qo({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(U.Component);j_.defaultProps={classNames:``},j_.propTypes={};function M_(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function N_(e,t){var n=function(e){return t&&(0,U.isValidElement)(e)?t(e):e},r=Object.create(null);return e&&U.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=n(e)}),r}function P_(e,t){e||={},t||={};function n(n){return n in t?t[n]:e[n]}var r=Object.create(null),i=[];for(var a in e)a in t?i.length&&(r[a]=i,i=[]):i.push(a);var o,s={};for(var c in t){if(r[c])for(o=0;o<r[c].length;o++){var l=r[c][o];s[r[c][o]]=n(l)}s[c]=n(c)}for(o=0;o<i.length;o++)s[i[o]]=n(i[o]);return s}function F_(e,t,n){return n[t]==null?e.props[t]:n[t]}function I_(e,t){return N_(e.children,function(n){return(0,U.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:F_(n,`appear`,e),enter:F_(n,`enter`,e),exit:F_(n,`exit`,e)})})}function L_(e,t,n){var r=N_(e.children),i=P_(t,r);return Object.keys(i).forEach(function(a){var o=i[a];if((0,U.isValidElement)(o)){var s=a in t,c=a in r,l=t[a],u=(0,U.isValidElement)(l)&&!l.props.in;c&&(!s||u)?i[a]=(0,U.cloneElement)(o,{onExited:n.bind(null,o),in:!0,exit:F_(o,`exit`,e),enter:F_(o,`enter`,e)}):!c&&s&&!u?i[a]=(0,U.cloneElement)(o,{in:!1}):c&&s&&(0,U.isValidElement)(l)&&(i[a]=(0,U.cloneElement)(o,{onExited:n.bind(null,o),in:l.props.in,exit:F_(o,`exit`,e),enter:F_(o,`enter`,e)}))}}),i}var R_=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},z_={component:`div`,childFactory:function(e){return e}},B_=function(e){m_(t,e);function t(t,n){var r=e.call(this,t,n)||this;return r.state={contextValue:{isMounting:!0},handleExited:r.handleExited.bind(M_(r)),firstRender:!0},r}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?I_(e,r):L_(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=N_(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=qo({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=f_(e,[`component`,`childFactory`]),i=this.state.contextValue,a=R_(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,t===null?U.createElement(b_.Provider,{value:i},a):U.createElement(b_.Provider,{value:i},U.createElement(t,r,a))},t}(U.Component);B_.propTypes={},B_.defaultProps=z_;var V_=e=>e.scrollTop;function H_(e,t){return n=>{if(t){let r=e.current;n===void 0?t(r):t(r,n)}}}function U_(e,t,n,r,i,a){let o=e===`exited`&&!t?r:n[e]||n.exited;return i||a?{...o,...i,...a}:o}function W_(e,t){let{timeout:n,easing:r,style:i={}}=e;return{duration:i.transitionDuration??(typeof n==`number`?n:n[t.mode]||0),easing:i.transitionTimingFunction??(typeof r==`object`?r[t.mode]:r),delay:i.transitionDelay}}function G_(...e){let t=U.useRef(void 0),n=U.useCallback(t=>{let n=e.map(e=>{if(e==null)return null;if(typeof e==`function`){let n=e,r=n(t);return typeof r==`function`?r:()=>{n(null)}}return e.current=t,()=>{e.current=null}});return()=>{n.forEach(e=>e?.())}},e);return U.useMemo(()=>e.every(e=>e==null)?null:e=>{t.current&&=(t.current(),void 0),e!=null&&(t.current=n(e))},e)}var K_=G_;function q_(e){return`scale(${e}, ${e**2})`}var J_={entering:{opacity:1,transform:q_(1)},entered:{opacity:1,transform:`none`},exiting:{opacity:0,transform:q_(.75)},exited:{opacity:0,transform:q_(.75)}},Y_={opacity:0,transform:q_(.75),visibility:`hidden`},X_=U.forwardRef(function(e,t){let{addEndListener:n,appear:r=!0,children:i,easing:a,in:o,onEnter:s,onEntered:c,onEntering:l,onExit:u,onExited:d,onExiting:f,style:p,timeout:m=`auto`,...h}=e,g=u_(),_=U.useRef(),v=wp(),y=U.useRef(null),b=K_(y,d_(i),t),x=H_(y,l),S=H_(y,(e,t)=>{V_(e);let{duration:n,delay:r,easing:i}=W_({style:p,timeout:m,easing:a},{mode:`enter`}),o;m===`auto`?(o=v.transitions.getAutoHeightDuration(e.clientHeight),_.current=o):o=n,e.style.transition=[v.transitions.create(`opacity`,{duration:o,delay:r}),v.transitions.create(`transform`,{duration:o*.666,delay:r,easing:i})].join(`,`),s&&s(e,t)}),C=H_(y,c),w=H_(y,f),T=H_(y,e=>{let{duration:t,delay:n,easing:r}=W_({style:p,timeout:m,easing:a},{mode:`exit`}),i;m===`auto`?(i=v.transitions.getAutoHeightDuration(e.clientHeight),_.current=i):i=t,e.style.transition=[v.transitions.create(`opacity`,{duration:i,delay:n}),v.transitions.create(`transform`,{duration:i*.666,delay:n||i*.333,easing:r})].join(`,`),e.style.opacity=0,e.style.transform=q_(.75),u&&u(e)}),E=H_(y,e=>{e.style.transition=``,d&&d(e)});return(0,G.jsx)(D_,{appear:r,in:o,nodeRef:y,onEnter:S,onEntered:C,onEntering:x,onExit:T,onExited:E,onExiting:w,addEndListener:e=>{m===`auto`&&g.start(_.current||0,e),n&&n(y.current,e)},timeout:m===`auto`?null:m,...h,children:(e,{ownerState:t,...n})=>{let r=U_(e,o,J_,Y_,p,i.props.style);return U.cloneElement(i,{style:r,ref:b,...n})}})});X_&&(X_.muiSupportAuto=!0);function Z_(e=window){let t=e.document.documentElement.clientWidth;return e.innerWidth-t}function Q_(e){let t=t_(e);return t.body===e?r_(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function $_(e,t){t?e.setAttribute(`aria-hidden`,`true`):e.removeAttribute(`aria-hidden`)}function ev(e){return parseFloat(r_(e).getComputedStyle(e).paddingRight)||0}function tv(e){let t=[`TEMPLATE`,`SCRIPT`,`STYLE`,`LINK`,`MAP`,`META`,`NOSCRIPT`,`PICTURE`,`COL`,`COLGROUP`,`PARAM`,`SLOT`,`SOURCE`,`TRACK`].includes(e.tagName),n=e.tagName===`INPUT`&&e.getAttribute(`type`)===`hidden`;return t||n}function nv(e,t,n,r,i){let a=[t,n,...r];[].forEach.call(e.children,e=>{let t=!a.includes(e),n=!tv(e);t&&n&&$_(e,i)})}function rv(e,t){let n=-1;return e.some((e,r)=>t(e)?(n=r,!0):!1),n}function iv(e,t){let n=[],r=e.container;if(!t.disableScrollLock){if(Q_(r)){let e=Z_(r_(r));n.push({value:r.style.paddingRight,property:`padding-right`,el:r}),r.style.paddingRight=`${ev(r)+e}px`;let t=t_(r).querySelectorAll(`.mui-fixed`);[].forEach.call(t,t=>{n.push({value:t.style.paddingRight,property:`padding-right`,el:t}),t.style.paddingRight=`${ev(t)+e}px`})}let e;if(r.parentNode instanceof DocumentFragment)e=t_(r).body;else{let t=r.parentElement,n=r_(r);e=t?.nodeName===`HTML`&&n.getComputedStyle(t).overflowY===`scroll`?t:r}n.push({value:e.style.overflow,property:`overflow`,el:e},{value:e.style.overflowX,property:`overflow-x`,el:e},{value:e.style.overflowY,property:`overflow-y`,el:e}),e.style.overflow=`hidden`}return()=>{n.forEach(({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)})}}function av(e){let t=[];return[].forEach.call(e.children,e=>{e.getAttribute(`aria-hidden`)===`true`&&t.push(e)}),t}var ov=class{constructor(){this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(n!==-1)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&$_(e.modalRef,!1);let r=av(t);nv(t,e.mount,e.modalRef,r,!0);let i=rv(this.containers,e=>e.container===t);return i===-1?(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n):(this.containers[i].modals.push(e),n)}mount(e,t){let n=rv(this.containers,t=>t.modals.includes(e)),r=this.containers[n];r.restore||=iv(r,t)}remove(e,t=!0){let n=this.modals.indexOf(e);if(n===-1)return n;let r=rv(this.containers,t=>t.modals.includes(e)),i=this.containers[r];if(i.modals.splice(i.modals.indexOf(e),1),this.modals.splice(n,1),i.modals.length===0)i.restore&&i.restore(),e.modalRef&&$_(e.modalRef,t),nv(i.container,e.mount,e.modalRef,i.hiddenSiblings,!1),this.containers.splice(r,1);else{let e=i.modals[i.modals.length-1];e.modalRef&&$_(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function sv(e,t){if(!e||!t)return!1;if(e.contains(t))return!0;let n=t.getRootNode?.();if(n&&n instanceof ShadowRoot){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode??n.host??null}}return!1}var cv=sv;function lv(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}var uv=lv,dv=`data-mui-focusable`;function fv(e){return e?e.hasAttribute(`data-mui-focusable`)?e:e.querySelector(`[${dv}]`):null}var pv=[`input`,`select`,`textarea`,`a[href]`,`button`,`[tabindex]`,`audio[controls]`,`video[controls]`,`[contenteditable]:not([contenteditable="false"])`].join(`,`);function mv(e){let t=parseInt(e.getAttribute(`tabindex`)||``,10);return Number.isNaN(t)?e.contentEditable===`true`||(e.nodeName===`AUDIO`||e.nodeName===`VIDEO`||e.nodeName===`DETAILS`)&&e.getAttribute(`tabindex`)===null?0:e.tabIndex:t}function hv(e){if(e.tagName!==`INPUT`||e.type!==`radio`||!e.name)return!1;let t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`),n=t(`[name="${e.name}"]:checked`);return n||=t(`[name="${e.name}"]`),n!==e}function gv(e){return!(e.disabled||e.tagName===`INPUT`&&e.type===`hidden`||hv(e))}function _v(e){let t=[],n=[];return Array.from(e.querySelectorAll(pv)).forEach((e,r)=>{let i=mv(e);i===-1||!gv(e)||(i===0?t.push(e):n.push({documentOrder:r,tabIndex:i,node:e}))}),n.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function vv(){return!0}function yv(e){let{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:a=_v,isEnabled:o=vv,open:s}=e,c=U.useRef(!1),l=U.useRef(null),u=U.useRef(null),d=U.useRef(null),f=U.useRef(null),p=U.useRef(!1),m=U.useRef(null),h=G_(d_(t),m),g=U.useRef(null);U.useEffect(()=>{!s||!m.current||(p.current=!n)},[n,s]),U.useEffect(()=>{if(c.current=!1,!s||!m.current)return;let e=uv(t_(m.current)),t=fv(m.current)??m.current;return cv(m.current,e)||(t.hasAttribute(`tabIndex`)||t.setAttribute(`tabIndex`,`-1`),p.current&&t.focus()),()=>{i||(d.current&&d.current.focus&&(c.current=!0,d.current.focus()),d.current=null)}},[s]),U.useEffect(()=>{if(!s||!m.current)return;let e=t_(m.current),t=t=>{g.current=t,!(r||!o()||t.key!==`Tab`)&&uv(e)===m.current&&t.shiftKey&&(c.current=!0,u.current&&u.current.focus())},n=()=>{let t=m.current;if(t===null)return;let n=uv(e);if(!e.hasFocus()||!o()||c.current){c.current=!1;return}if(cv(t,n)||r&&n!==l.current&&n!==u.current)return;if(n!==f.current)f.current=null;else if(f.current!==null)return;if(!p.current)return;let i=[];if((n===l.current||n===u.current)&&(i=a(m.current)),i.length>0){let e=!!(g.current?.shiftKey&&g.current?.key===`Tab`),t=i[0],n=i[i.length-1];typeof t!=`string`&&typeof n!=`string`&&(e?n.focus():t.focus())}else t.focus()};e.addEventListener(`focusin`,n),e.addEventListener(`keydown`,t,!0);let i=setInterval(()=>{let t=uv(e);t&&t.tagName===`BODY`&&n()},50);return()=>{clearInterval(i),e.removeEventListener(`focusin`,n),e.removeEventListener(`keydown`,t,!0)}},[n,r,i,o,s,a]);let _=e=>{d.current===null&&(d.current=e.relatedTarget),p.current=!0,f.current=e.target;let n=t.props.onFocus;n&&n(e)},v=e=>{d.current===null&&(d.current=e.relatedTarget),p.current=!0};return(0,G.jsxs)(U.Fragment,{children:[(0,G.jsx)(`div`,{tabIndex:s?0:-1,onFocus:v,ref:l,"data-testid":`sentinelStart`}),U.cloneElement(t,{ref:h,onFocus:_}),(0,G.jsx)(`div`,{tabIndex:s?0:-1,onFocus:v,ref:u,"data-testid":`sentinelEnd`})]})}function bv(e,t){typeof e==`function`?e(t):e&&(e.current=t)}function xv(e){return typeof e==`function`?e():e}var Sv=U.forwardRef(function(e,t){let{children:n,container:r,disablePortal:i=!1}=e,[a,o]=U.useState(null),s=G_(U.isValidElement(n)?d_(n):null,t);if(od(()=>{i||o(xv(r)||document.body)},[r,i]),od(()=>{if(a&&!i)return bv(t,a),()=>{bv(t,null)}},[t,a,i]),i){if(U.isValidElement(n)){let e={ref:s};return U.cloneElement(n,e)}return n}return a&&um.createPortal(n,a)}),Cv=Wd;function wv(e,t,n){return e===void 0||Zg(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function Tv(e,t,n){return typeof e==`function`?e(t,n):e}function Ev(e,t=[]){if(e===void 0)return{};let n={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]==`function`&&!t.includes(n)).forEach(t=>{n[t]=e[t]}),n}function Dv(e){if(e===void 0)return{};let t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&typeof e[t]==`function`)).forEach(n=>{t[n]=e[n]}),t}function Ov(e){let{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:a}=e;if(!t){let e=K(n?.className,a,i?.className,r?.className),t={...n?.style,...i?.style,...r?.style},o={...n,...i,...r};return e.length>0&&(o.className=e),Object.keys(t).length>0&&(o.style=t),{props:o,internalRef:void 0}}let o=Ev({...i,...r}),s=Dv(r),c=Dv(i),l=t(o),u=K(l?.className,n?.className,a,i?.className,r?.className),d={...l?.style,...n?.style,...i?.style,...r?.style},f={...l,...n,...c,...s};return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:l.ref}}function kv(e,t){let{className:n,elementType:r,ownerState:i,externalForwardedProps:a,internalForwardedProps:o,shouldForwardComponentProp:s=!1,...c}=t,{component:l,slots:u={[e]:void 0},slotProps:d={[e]:void 0},...f}=a,p=u[e]||r,m=Tv(d[e],i),{props:{component:h,...g},internalRef:_}=Ov({className:n,...c,externalForwardedProps:e===`root`?f:void 0,externalSlotProps:m}),v=G_(_,m?.ref,t.ref),y=e===`root`?h||l:h;return[p,wv(p,{...e===`root`&&!l&&!u[e]&&o,...e!==`root`&&!u[e]&&o,...g,...y&&!s&&{as:y},...y&&s&&{component:y},ref:v},i)]}var Av={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0}},jv={opacity:0,visibility:`hidden`},Mv=U.forwardRef(function(e,t){let n=wp(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:o,easing:s,in:c,onEnter:l,onEntered:u,onEntering:d,onExit:f,onExited:p,onExiting:m,style:h,timeout:g=r,..._}=e,v=U.useRef(null),y=K_(v,d_(o),t),b=H_(v,d),x=H_(v,(e,t)=>{V_(e);let r=W_({style:h,timeout:g,easing:s},{mode:`enter`});e.style.transition=n.transitions.create(`opacity`,r),l&&l(e,t)}),S=H_(v,u),C=H_(v,m),w=H_(v,e=>{let t=W_({style:h,timeout:g,easing:s},{mode:`exit`});e.style.transition=n.transitions.create(`opacity`,t),f&&f(e)}),T=H_(v,e=>{e.style.transition=``,p&&p(e)});return(0,G.jsx)(D_,{appear:a,in:c,nodeRef:v,onEnter:x,onEntered:S,onEntering:b,onExit:w,onExited:T,onExiting:C,addEndListener:e=>{i&&i(v.current,e)},timeout:g,..._,children:(e,{ownerState:t,...n})=>{let r=U_(e,c,Av,jv,h,o.props.style);return U.cloneElement(o,{style:r,ref:y,...n})}})});function Nv(e){return Gu(`MuiBackdrop`,e)}Ku(`MuiBackdrop`,[`root`,`invisible`]);var Pv=e=>{let{classes:t,invisible:n}=e;return ff({root:[`root`,n&&`invisible`]},Nv,t)},Fv=X(`div`,{name:`MuiBackdrop`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:`fixed`,display:`flex`,alignItems:`center`,justifyContent:`center`,right:0,bottom:0,top:0,left:0,backgroundColor:`rgba(0, 0, 0, 0.5)`,WebkitTapHighlightColor:`transparent`,variants:[{props:{invisible:!0},style:{backgroundColor:`transparent`}}]}),Iv=U.forwardRef(function(e,t){let n=Qg({props:e,name:`MuiBackdrop`}),{children:r,className:i,component:a=`div`,invisible:o=!1,open:s,components:c={},componentsProps:l={},slotProps:u={},slots:d={},TransitionComponent:f,transitionDuration:p,...m}=n,h={...n,component:a,invisible:o},g=Pv(h),_={component:a,slots:{transition:f,root:c.Root,...d},slotProps:{...l,...u}},[v,y]=kv(`root`,{elementType:Fv,externalForwardedProps:_,className:K(g.root,i),ownerState:h}),[b,x]=kv(`transition`,{elementType:Mv,externalForwardedProps:_,ownerState:h});return(0,G.jsx)(b,{in:s,timeout:p,...m,...x,children:(0,G.jsx)(v,{"aria-hidden":!0,...y,ref:t,children:r})})});function Lv(e){let t=U.useRef(e);return od(()=>{t.current=e}),U.useRef((...e)=>(0,t.current)(...e)).current}function Rv(...e){return e.reduce((e,t)=>t==null?e:function(...n){e.apply(this,n),t.apply(this,n)},()=>{})}function zv(e){return typeof e==`function`?e():e}function Bv(e){return e?e.props.hasOwnProperty(`in`):!1}var Vv=()=>{},Hv=new ov;function Uv(e){let{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:o,children:s,onClose:c,open:l,rootRef:u}=e,d=U.useRef({}),f=U.useRef(null),p=U.useRef(null),m=G_(p,u),[h,g]=U.useState(!l),_=Bv(s),v=!0;(e[`aria-hidden`]===`false`||e[`aria-hidden`]===!1)&&(v=!1);let y=()=>t_(f.current),b=()=>(d.current.modalRef=p.current,d.current.mount=f.current,d.current),x=()=>{Hv.mount(b(),{disableScrollLock:r}),p.current&&(p.current.scrollTop=0)},S=Lv(()=>{let e=zv(t)||y().body;Hv.add(b(),e),p.current&&x()}),C=()=>Hv.isTopModal(b()),w=Lv(e=>{f.current=e,e&&(l&&C()?x():p.current&&$_(p.current,v))}),T=U.useCallback(()=>{Hv.remove(b(),v)},[v]);U.useEffect(()=>()=>{T()},[T]),U.useEffect(()=>{l?S():(!_||!i)&&T()},[l,T,_,i,S]);let E=e=>t=>{e.onKeyDown?.(t),!(t.key!==`Escape`||t.which===229||!C())&&(n||(t.stopPropagation(),c&&c(t,`escapeKeyDown`)))},D=e=>t=>{e.onClick?.(t),t.target===t.currentTarget&&c&&c(t,`backdropClick`)};return{getRootProps:(t={})=>{let n=Ev(e);delete n.onTransitionEnter,delete n.onTransitionExited;let r={...n,...t};return{role:`presentation`,...r,onKeyDown:E(r),ref:m}},getBackdropProps:(e={})=>{let t=e;return{"aria-hidden":!0,...t,onClick:D(t),open:l}},getTransitionProps:()=>({onEnter:Rv(()=>{g(!1),a&&a()},s?.props.onEnter??Vv),onExited:Rv(()=>{g(!0),o&&o(),i&&T()},s?.props.onExited??Vv)}),rootRef:m,portalRef:w,isTopModal:C,exited:h,hasTransition:_}}function Wv(e){return Gu(`MuiModal`,e)}Ku(`MuiModal`,[`root`,`hidden`,`backdrop`]);var Gv=e=>{let{open:t,exited:n,classes:r}=e;return ff({root:[`root`,!t&&n&&`hidden`],backdrop:[`backdrop`]},Wv,r)},Kv=X(`div`,{name:`MuiModal`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(Cv(({theme:e})=>({position:`fixed`,zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:`hidden`}}]}))),qv=X(Iv,{name:`MuiModal`,slot:`Backdrop`})({zIndex:-1}),Jv=U.forwardRef(function(e,t){let n=Qg({name:`MuiModal`,props:e}),{BackdropComponent:r=qv,BackdropProps:i,classes:a,className:o,closeAfterTransition:s=!1,children:c,container:l,component:u,components:d={},componentsProps:f={},disableAutoFocus:p=!1,disableEnforceFocus:m=!1,disableEscapeKeyDown:h=!1,disablePortal:g=!1,disableRestoreFocus:_=!1,disableScrollLock:v=!1,hideBackdrop:y=!1,keepMounted:b=!1,onClose:x,onTransitionEnter:S,onTransitionExited:C,open:w,slotProps:T={},slots:E={},theme:D,...ee}=n,O={...n,closeAfterTransition:s,disableAutoFocus:p,disableEnforceFocus:m,disableEscapeKeyDown:h,disablePortal:g,disableRestoreFocus:_,disableScrollLock:v,hideBackdrop:y,keepMounted:b},{getRootProps:te,getBackdropProps:k,getTransitionProps:A,portalRef:ne,isTopModal:j,exited:re,hasTransition:M}=Uv({...O,rootRef:t}),ie={...O,exited:re},ae=Gv(ie),N={};if(c.props.tabIndex===void 0&&(N.tabIndex=`-1`),M){let{onEnter:e,onExited:t}=A();N.onEnter=e,N.onExited=t}let oe={slots:{root:d.Root,backdrop:d.Backdrop,...E},slotProps:{...f,...T}},[se,ce]=kv(`root`,{ref:t,elementType:Kv,externalForwardedProps:{...oe,...ee,component:u},getSlotProps:te,ownerState:ie,className:K(o,ae?.root,!ie.open&&ie.exited&&ae?.hidden)}),[le,ue]=kv(`backdrop`,{ref:i?.ref,elementType:r,externalForwardedProps:oe,shouldForwardComponentProp:!0,additionalProps:i,getSlotProps:e=>k({...e,onClick:t=>{e?.onClick&&e.onClick(t)}}),className:K(i?.className,ae?.backdrop),ownerState:ie});return!b&&!w&&(!M||re)?null:(0,G.jsx)(Sv,{ref:ne,container:l,disablePortal:g,children:(0,G.jsxs)(se,{...ce,children:[!y&&r?(0,G.jsx)(le,{...ue}):null,(0,G.jsx)(yv,{disableEnforceFocus:m,disableAutoFocus:p,disableRestoreFocus:_,isEnabled:j,open:w,children:U.cloneElement(c,N)})]})})});function Yv(e){return Gu(`MuiPaper`,e)}Ku(`MuiPaper`,`root.rounded.outlined.elevation.elevation0.elevation1.elevation2.elevation3.elevation4.elevation5.elevation6.elevation7.elevation8.elevation9.elevation10.elevation11.elevation12.elevation13.elevation14.elevation15.elevation16.elevation17.elevation18.elevation19.elevation20.elevation21.elevation22.elevation23.elevation24`.split(`.`));var Xv=e=>{let{square:t,elevation:n,variant:r,classes:i}=e;return ff({root:[`root`,r,!t&&`rounded`,r===`elevation`&&`elevation${n}`]},Yv,i)},Zv=X(`div`,{name:`MuiPaper`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant===`elevation`&&t[`elevation${n.elevation}`]]}})(Cv(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create(`box-shadow`),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:`outlined`},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:`elevation`},style:{boxShadow:`var(--Paper-shadow)`,backgroundImage:`var(--Paper-overlay)`}}]}))),Qv=U.forwardRef(function(e,t){let n=Qg({props:e,name:`MuiPaper`}),r=wp(),{className:i,component:a=`div`,elevation:o=1,square:s=!1,variant:c=`elevation`,...l}=n,u={...n,component:a,elevation:o,square:s,variant:c};return(0,G.jsx)(Zv,{as:a,ownerState:u,className:K(Xv(u).root,i),ref:t,...l,style:{...c===`elevation`&&{"--Paper-shadow":(r.vars||r).shadows[o],...r.vars&&{"--Paper-overlay":r.vars.overlays?.[o]},...!r.vars&&r.palette.mode===`dark`&&{"--Paper-overlay":`linear-gradient(${_d(`#fff`,ap(o))}, ${_d(`#fff`,ap(o))})`}},...l.style}})});function $v(e){return Gu(`MuiPopover`,e)}Ku(`MuiPopover`,[`root`,`paper`]);var ey=Nl;function ty(e){return Gu(`MuiSvgIcon`,e)}Ku(`MuiSvgIcon`,[`root`,`colorPrimary`,`colorSecondary`,`colorAction`,`colorError`,`colorDisabled`,`fontSizeInherit`,`fontSizeSmall`,`fontSizeMedium`,`fontSizeLarge`]);var ny=e=>{let{color:t,fontSize:n,classes:r}=e;return ff({root:[`root`,t!==`inherit`&&`color${ey(t)}`,`fontSize${ey(n)}`]},ty,r)},ry=X(`svg`,{name:`MuiSvgIcon`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color!==`inherit`&&t[`color${ey(n.color)}`],t[`fontSize${ey(n.fontSize)}`]]}})(Cv(({theme:e})=>({userSelect:`none`,width:`1em`,height:`1em`,display:`inline-block`,flexShrink:0,transition:e.transitions?.create?.(`fill`,{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:`currentColor`}},{props:{fontSize:`inherit`},style:{fontSize:`inherit`}},{props:{fontSize:`small`},style:{fontSize:e.typography?.pxToRem?.(20)||`1.25rem`}},{props:{fontSize:`medium`},style:{fontSize:e.typography?.pxToRem?.(24)||`1.5rem`}},{props:{fontSize:`large`},style:{fontSize:e.typography?.pxToRem?.(35)||`2.1875rem`}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:`action`},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:`disabled`},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:`inherit`},style:{color:void 0}}]}))),iy=U.forwardRef(function(e,t){let n=Qg({props:e,name:`MuiSvgIcon`}),{children:r,className:i,color:a=`inherit`,component:o=`svg`,fontSize:s=`medium`,htmlColor:c,inheritViewBox:l=!1,titleAccess:u,viewBox:d=`0 0 24 24`,...f}=n,p=U.isValidElement(r)&&r.type===`svg`,m={...n,color:a,component:o,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:l,viewBox:d,hasSvgAsChild:p},h={};return l||(h.viewBox=d),(0,G.jsxs)(ry,{as:o,className:K(ny(m).root,i),focusable:`false`,color:c,"aria-hidden":u?void 0:!0,role:u?`img`:void 0,ref:t,...h,...f,...p&&r.props,ownerState:m,children:[p?r.props.children:r,u?(0,G.jsx)(`title`,{children:u}):null]})});iy.muiName=`SvgIcon`;function ay(e,t){function n(t,n){return(0,G.jsx)(iy,{"data-testid":void 0,ref:n,...t,children:e})}return n.muiName=iy.muiName,U.memo(U.forwardRef(n))}var oy=pf,sy=od,cy=Rd,ly=Lv;function uy(e,t){let n=e.charCodeAt(2);return e[0]===`o`&&e[1]===`n`&&n>=65&&n<=90&&typeof t==`function`}function dy(e,t){if(!e)return t;function n(e,t){let n={};return Object.keys(t).forEach(r=>{uy(r,t[r])&&typeof e[r]==`function`&&(n[r]=(...n)=>{e[r](...n),t[r](...n)})}),n}if(typeof e==`function`||typeof t==`function`)return r=>{let i=typeof t==`function`?t(r):t,a=typeof e==`function`?e({...r,...i}):e,o=K(r?.className,i?.className,a?.className),s=n(a,i);return{...i,...a,...s,...!!o&&{className:o},...i?.style&&a?.style&&{style:{...i.style,...a.style}},...i?.sx&&a?.sx&&{sx:[...Array.isArray(i.sx)?i.sx:[i.sx],...Array.isArray(a.sx)?a.sx:[a.sx]]}}};let r=t,i=n(e,r),a=K(r?.className,e?.className);return{...t,...e,...i,...!!a&&{className:a},...r?.style&&e?.style&&{style:{...r.style,...e.style}},...r?.sx&&e?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function fy(e,t){let n=0;return typeof t==`number`?n=t:t===`center`?n=e.height/2:t===`bottom`&&(n=e.height),n}function py(e,t){let n=0;return typeof t==`number`?n=t:t===`center`?n=e.width/2:t===`right`&&(n=e.width),n}function my(e){return[e.horizontal,e.vertical].map(e=>typeof e==`number`?`${e}px`:e).join(` `)}function hy(e){return typeof e==`function`?e():e}var gy=e=>{let{classes:t}=e;return ff({root:[`root`],paper:[`paper`]},$v,t)},_y=X(Jv,{name:`MuiPopover`,slot:`Root`})({}),vy=X(Qv,{name:`MuiPopover`,slot:`Paper`})({position:`absolute`,overflowY:`auto`,overflowX:`hidden`,minWidth:16,minHeight:16,maxWidth:`calc(100% - 32px)`,maxHeight:`calc(100% - 32px)`,outline:0}),yy=U.forwardRef(function(e,t){let n=Qg({props:e,name:`MuiPopover`}),{action:r,anchorEl:i,anchorOrigin:a={vertical:`top`,horizontal:`left`},anchorPosition:o,anchorReference:s=`anchorEl`,children:c,className:l,container:u,elevation:d=8,marginThreshold:f=16,open:p,PaperProps:m={},slots:h={},slotProps:g={},transformOrigin:_={vertical:`top`,horizontal:`left`},TransitionComponent:v,transitionDuration:y=`auto`,TransitionProps:b={},disableScrollLock:x=!1,...S}=n,C=U.useRef(),w={...n,anchorOrigin:a,anchorReference:s,elevation:d,marginThreshold:f,transformOrigin:_,TransitionComponent:v,transitionDuration:y,TransitionProps:b},T=gy(w),E=U.useCallback(()=>{if(s===`anchorPosition`)return o;let e=hy(i),t=(e&&e.nodeType===1?e:n_(C.current).body).getBoundingClientRect();return{top:t.top+fy(t,a.vertical),left:t.left+py(t,a.horizontal)}},[i,a.horizontal,a.vertical,o,s]),D=U.useCallback(e=>({vertical:fy(e,_.vertical),horizontal:py(e,_.horizontal)}),[_.horizontal,_.vertical]),ee=U.useCallback(e=>{let t={width:e.offsetWidth,height:e.offsetHeight},n=D(t);if(s===`none`)return{top:null,left:null,transformOrigin:my(n)};let r=E(),a=r.top-n.vertical,o=r.left-n.horizontal,c=a+t.height,l=o+t.width,u=i_(hy(i)),d=u.innerHeight-f,p=u.innerWidth-f;if(f!==null&&a<f){let e=a-f;a-=e,n.vertical+=e}else if(f!==null&&c>d){let e=c-d;a-=e,n.vertical+=e}if(f!==null&&o<f){let e=o-f;o-=e,n.horizontal+=e}else if(l>p){let e=l-p;o-=e,n.horizontal+=e}return{top:`${Math.round(a)}px`,left:`${Math.round(o)}px`,transformOrigin:my(n)}},[i,s,E,D,f]),[O,te]=U.useState(p),k=U.useCallback(()=>{let e=C.current;if(!e)return;let t=ee(e);t.top!==null&&e.style.setProperty(`top`,t.top),t.left!==null&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,te(!0)},[ee]);U.useEffect(()=>(x&&window.addEventListener(`scroll`,k),()=>window.removeEventListener(`scroll`,k)),[i,x,k]);let A=()=>{k()},ne=()=>{te(!1)};U.useEffect(()=>{p&&k()}),U.useImperativeHandle(r,()=>p?{updatePosition:()=>{k()}}:null,[p,k]),U.useEffect(()=>{if(!p)return;let e=e_(()=>{k()}),t=i_(hy(i));return t.addEventListener(`resize`,e),()=>{e.clear(),t.removeEventListener(`resize`,e)}},[i,p,k]);let j=y,re={slots:{transition:v,...h},slotProps:{transition:b,paper:m,...g}},[M,ie]=kv(`transition`,{elementType:X_,externalForwardedProps:re,ownerState:w,getSlotProps:e=>({...e,onEntering:(t,n)=>{e.onEntering?.(t,n),A()},onExited:t=>{e.onExited?.(t),ne()}}),additionalProps:{appear:!0,in:p}});y===`auto`&&!M.muiSupportAuto&&(j=void 0);let ae=u||(i?n_(hy(i)).body:void 0),[N,{slots:oe,slotProps:se,...ce}]=kv(`root`,{ref:t,elementType:_y,externalForwardedProps:{...re,...S},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:h.backdrop},slotProps:{backdrop:dy(typeof g.backdrop==`function`?g.backdrop(w):g.backdrop,{invisible:!0})},container:ae,open:p},ownerState:w,className:K(T.root,l)}),[le,ue]=kv(`paper`,{ref:C,className:T.paper,elementType:vy,externalForwardedProps:re,shouldForwardComponentProp:!0,additionalProps:{elevation:d,style:O?void 0:{opacity:0}},ownerState:w});return(0,G.jsx)(N,{...ce,...!Zg(N)&&{slots:oe,slotProps:se,disableScrollLock:x},children:(0,G.jsx)(M,{...ie,timeout:j,children:(0,G.jsx)(le,{...ue,children:c})})})}),by={50:`#fce4ec`,100:`#f8bbd0`,200:`#f48fb1`,300:`#f06292`,400:`#ec407a`,500:`#e91e63`,600:`#d81b60`,700:`#c2185b`,800:`#ad1457`,900:`#880e4f`,A100:`#ff80ab`,A200:`#ff4081`,A400:`#f50057`,A700:`#c51162`},xy={50:`#e8eaf6`,100:`#c5cae9`,200:`#9fa8da`,300:`#7986cb`,400:`#5c6bc0`,500:`#3f51b5`,600:`#3949ab`,700:`#303f9f`,800:`#283593`,900:`#1a237e`,A100:`#8c9eff`,A200:`#536dfe`,A400:`#3d5afe`,A700:`#304ffe`},Sy=s({background:()=>Gy,backgroundDark:()=>Ky,black:()=>tb,blueGrey100:()=>cb,blueGrey300:()=>lb,blueGrey600:()=>ub,blueGrey900:()=>db,border:()=>Zy,borderDark:()=>$y,borderGray:()=>eb,borderLight:()=>Qy,buttonBorder:()=>_b,buttonHoverBg:()=>vb,correct:()=>Dy,correctSecondary:()=>Oy,correctTertiary:()=>ky,correctWithIcon:()=>Ay,defaults:()=>Z,disabled:()=>Ty,disabledSecondary:()=>Ey,dropdownBackground:()=>Jy,fadedPrimary:()=>By,focusChecked:()=>ib,focusCheckedBorder:()=>ab,focusUnchecked:()=>ob,focusUncheckedBorder:()=>sb,incorrect:()=>jy,incorrectSecondary:()=>Ny,incorrectWithIcon:()=>My,keypadButton:()=>fb,keypadButtonHover:()=>hb,keypadButtonOperator:()=>pb,keypadButtonOperatorHover:()=>gb,keypadEmptyPlaceholder:()=>mb,missing:()=>Py,missingWithIcon:()=>Fy,primary:()=>Iy,primaryDark:()=>Ry,primaryLight:()=>Ly,primaryText:()=>zy,secondary:()=>Vy,secondaryBackground:()=>qy,secondaryDark:()=>Uy,secondaryLight:()=>Hy,secondaryText:()=>Wy,tertiary:()=>Yy,tertiaryLight:()=>Xy,text:()=>wy,transparent:()=>rb,v:()=>Cy,visualElementsColors:()=>yb,white:()=>nb}),Z={TEXT:`black`,DISABLED:`grey`,DISABLED_SECONDARY:`#ABABAB`,CORRECT:xf[500],CORRECT_SECONDARY:xf[50],CORRECT_TERTIARY:`#0EA449`,CORRECT_WITH_ICON:`#087D38`,INCORRECT:vf[500],INCORRECT_SECONDARY:_f[50],INCORRECT_WITH_ICON:`#BF0D00`,MISSING:_f[700],MISSING_WITH_ICON:`#6A78A1`,PRIMARY:xy[500],PRIMARY_LIGHT:xy[200],PRIMARY_DARK:xy[800],SECONDARY:by.A400,SECONDARY_LIGHT:by[200],SECONDARY_DARK:by[900],TERTIARY:`#146EB3`,TERTIARY_LIGHT:`#D0E2F0`,BACKGROUND:`rgba(255,255,255,0)`,BACKGROUND_DARK:`#ECEDF1`,DROPDOWN_BACKGROUND:`#E0E1E6`,SECONDARY_BACKGROUND:`rgba(241,241,241,1)`,BORDER:`#9A9A9A`,BORDER_LIGHT:`#D1D1D1`,BORDER_DARK:`#646464`,BORDER_GRAY:`#7E8494`,BLACK:`#000000`,WHITE:`#ffffff`,TRANSPARENT:`transparent`,FOCUS_CHECKED:`#BBDEFB`,FOCUS_CHECKED_BORDER:`#1565C0`,FOCUS_UNCHECKED:`#E0E0E0`,FOCUS_UNCHECKED_BORDER:`#757575`,BLUE_GREY100:`#F3F5F7`,BLUE_GREY300:`#C0C3CF`,BLUE_GREY600:`#7E8494`,BLUE_GREY900:`#152452`,FADED_PRIMARY:`#DCDAFB`,KEYPAD_BUTTON:`rgb(188, 194, 229)`,KEYPAD_BUTTON_OPERATOR:`rgb(255, 159, 192)`,KEYPAD_EMPTY_PLACEHOLDER:`rgba(245, 0, 87, 0.4)`,KEYPAD_BUTTON_HOVER:`rgb(214, 218, 239)`,KEYPAD_BUTTON_OPERATOR_HOVER:`rgb(255, 197, 217)`,BUTTON_BORDER:`rgba(0, 0, 0, 0.23)`,BUTTON_HOVER_BG:`rgba(0, 0, 0, 0.08)`};Object.freeze(Z);var Cy=e=>(...t)=>{let n=t.pop();return t.reduceRight((t,n)=>`var(--${e}-${n}, ${t})`,n)},Q=Cy(`pie`),wy=()=>Q(`text`,Z.TEXT),Ty=()=>Q(`disabled`,Z.DISABLED),Ey=()=>Q(`disabled-secondary`,Z.DISABLED_SECONDARY),Dy=()=>Q(`correct`,Z.CORRECT),Oy=()=>Q(`correct-secondary`,Z.CORRECT_SECONDARY),ky=()=>Q(`correct-tertiary`,Z.CORRECT_TERTIARY),Ay=()=>Q(`correct-icon`,Z.CORRECT_WITH_ICON),jy=()=>Q(`incorrect`,Z.INCORRECT),My=()=>Q(`incorrect-icon`,Z.INCORRECT_WITH_ICON),Ny=()=>Q(`incorrect-secondary`,Z.INCORRECT_SECONDARY),Py=()=>Q(`missing`,Z.MISSING),Fy=()=>Q(`missing-icon`,Z.MISSING_WITH_ICON),Iy=()=>Q(`primary`,Z.PRIMARY),Ly=()=>Q(`primary-light`,Z.PRIMARY_LIGHT),Ry=()=>Q(`primary-dark`,Z.PRIMARY_DARK),zy=()=>Q(`primary-text`,`text`,Z.TEXT),By=()=>Q(`faded-primary`,Z.FADED_PRIMARY),Vy=()=>Q(`secondary`,Z.SECONDARY),Hy=()=>Q(`secondary-light`,Z.SECONDARY_LIGHT),Uy=()=>Q(`secondary-dark`,Z.SECONDARY_DARK),Wy=()=>Q(`secondary-text`,`text`,Z.TEXT),Gy=()=>Q(`background`,Z.BACKGROUND),Ky=()=>Q(`background-dark`,Z.BACKGROUND_DARK),qy=()=>Q(`secondary-background`,Z.SECONDARY_BACKGROUND),Jy=()=>Q(`dropdown-background`,Z.DROPDOWN_BACKGROUND),Yy=()=>Q(`tertiary`,Z.TERTIARY),Xy=()=>Q(`tertiary-light`,Z.TERTIARY_LIGHT),Zy=()=>Q(`border`,Z.BORDER),Qy=()=>Q(`border-light`,Z.BORDER_LIGHT),$y=()=>Q(`border-dark`,Z.BORDER_DARK),eb=()=>Q(`border-gray`,Z.BORDER_GRAY),tb=()=>Q(`black`,Z.BLACK),nb=()=>Q(`white`,Z.WHITE),rb=()=>Z.TRANSPARENT,ib=()=>Q(`focus-checked`,Z.FOCUS_CHECKED),ab=()=>Q(`focus-checked-border`,Z.FOCUS_CHECKED_BORDER),ob=()=>Q(`focus-unchecked`,Z.FOCUS_UNCHECKED),sb=()=>Q(`focus-unchecked-border`,Z.FOCUS_UNCHECKED_BORDER),cb=()=>Q(`blue-grey-100`,Z.BLUE_GREY100),lb=()=>Q(`blue-grey-300`,Z.BLUE_GREY300),ub=()=>Q(`blue-grey-600`,Z.BLUE_GREY600),db=()=>Q(`blue-grey-900`,Z.BLUE_GREY900),fb=()=>Q(`keypad-button`,Z.KEYPAD_BUTTON),pb=()=>Q(`keypad-button-operator`,Z.KEYPAD_BUTTON_OPERATOR),mb=()=>Q(`keypad-empty-placeholder`,Z.KEYPAD_EMPTY_PLACEHOLDER),hb=()=>Q(`keypad-button-hover`,Z.KEYPAD_BUTTON_HOVER),gb=()=>Q(`keypad-button-operator-hover`,Z.KEYPAD_BUTTON_OPERATOR_HOVER),_b=()=>Q(`button-border`,Z.BUTTON_BORDER),vb=()=>Q(`button-hover-bg`,Z.BUTTON_HOVER_BG),yb={AXIS_LINE_COLOR:`#5A53C9`,ROLLOVER_FILL_BAR_COLOR:`#050F2D`,GRIDLINES_COLOR:`#8E88EA`,PLOT_FILL_COLOR:`#1463B3`,SHAPES_FILL_COLOR:`#7986cb`},bb=X(`div`)({transformOrigin:`0% 0px 0px`,width:`100%`,display:`block`,overflow:`hidden`,"&.incorrect":{color:`#946202`}}),xb=X(`div`)({WebkitFontSmoothing:`antialiased`,backgroundColor:`var(--feedback-bg-color, ${Ty()})`,borderRadius:`4px`,lineHeight:`25px`,margin:`0px`,padding:`10px`,verticalAlign:`middle`,color:`var(--feedback-color, white)`,"&.correct":{backgroundColor:`var(--feedback-correct-bg-color, ${Dy()})`},"&.incorrect":{backgroundColor:`var(--feedback-incorrect-bg-color, ${jy()})`}}),Sb=X(`div`)({"&.feedback-enter":{height:`1px`},"&.feedback-enter-active":{height:`45px`,transition:`height 500ms`},"&.feedback-exit":{height:`45px`},"&.feedback-exit-active":{height:`1px`,transition:`height 200ms`}}),Cb=class extends U.Component{static propTypes={correctness:z.string,feedback:z.string};nodeRef=U.createRef();renderFeedback(){let{correctness:e,feedback:t}=this.props;return!e||!t?null:(0,G.jsx)(j_,{nodeRef:this.nodeRef,timeout:{enter:500,exit:200},classNames:`feedback`,children:(0,G.jsx)(Sb,{ref:this.nodeRef,children:(0,G.jsx)(bb,{children:(0,G.jsx)(xb,{className:e,dangerouslySetInnerHTML:{__html:t}})})})},`hasFeedback`)}render(){return(0,G.jsx)(`div`,{children:(0,G.jsx)(B_,{children:this.renderFeedback()})})}},wb=s({Correct:()=>Ab,Incorrect:()=>jb,NothingSubmitted:()=>Nb,PartiallyCorrect:()=>Mb}),Tb=Po(`pie-libs:render-ui:response-indicators`),Eb=X(`div`)(({hasFeedback:e})=>({cursor:e?`pointer`:`default`})),Db=X(yy)({cursor:`pointer`}),Ob=X(`div`)({padding:`0`,borderRadius:`4px`}),kb=(e,t)=>{class n extends U.Component{constructor(e){super(e),this.state={}}handlePopoverOpen=e=>{Tb(`[handlePopoverOpen]`,e.target),this.setState({anchorEl:e.target})};handlePopoverClose=()=>{this.setState({anchorEl:null})};render(){let{feedback:n}=this.props,{anchorEl:r}=this.state;return(0,G.jsxs)(Eb,{hasFeedback:!!n,children:[(0,G.jsx)(`span`,{ref:e=>this.icon=e,onClick:this.handlePopoverOpen,children:(0,G.jsx)(e,{})}),n&&(0,G.jsx)(Db,{PaperComponent:Ob,open:!!r,anchorEl:r,anchorOrigin:{vertical:`bottom`,horizontal:`left`},transformOrigin:{vertical:`top`,horizontal:`left`},onClose:this.handlePopoverClose,children:(0,G.jsx)(Cb,{feedback:n,correctness:t})})]})}}return n.propTypes={feedback:z.string},n},Ab=kb(Ig,`correct`),jb=kb(Ug,`incorrect`),Mb=kb(Xg,`partially-correct`),Nb=kb(qg,`nothing-submitted`);function Pb(e){return Gu(`MuiCollapse`,e)}Ku(`MuiCollapse`,[`root`,`horizontal`,`vertical`,`entered`,`hidden`,`wrapper`,`wrapperInner`]);var Fb=e=>{let{orientation:t,classes:n}=e;return ff({root:[`root`,t],entered:[`entered`],hidden:[`hidden`],wrapper:[`wrapper`,t],wrapperInner:[`wrapperInner`,t]},Pb,n)},Ib=X(`div`,{name:`MuiCollapse`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.orientation],n.state===`entered`&&t.entered,n.state===`exited`&&!n.in&&n.collapsedSize===`0px`&&t.hidden]}})(Cv(({theme:e})=>({height:0,overflow:`hidden`,transition:e.transitions.create(`height`),variants:[{props:{orientation:`horizontal`},style:{height:`auto`,width:0,transition:e.transitions.create(`width`)}},{props:{state:`entered`},style:{height:`auto`,overflow:`visible`}},{props:{state:`entered`,orientation:`horizontal`},style:{width:`auto`}},{props:({ownerState:e})=>e.state===`exited`&&!e.in&&e.collapsedSize===`0px`,style:{visibility:`hidden`}}]}))),Lb=X(`div`,{name:`MuiCollapse`,slot:`Wrapper`})({display:`flex`,width:`100%`,variants:[{props:{orientation:`horizontal`},style:{width:`auto`,height:`100%`}}]}),Rb=X(`div`,{name:`MuiCollapse`,slot:`WrapperInner`})({width:`100%`,variants:[{props:{orientation:`horizontal`},style:{width:`auto`,height:`100%`}}]}),zb=U.forwardRef(function(e,t){let n=Qg({props:e,name:`MuiCollapse`}),{addEndListener:r,children:i,className:a,collapsedSize:o=`0px`,component:s,easing:c,in:l,onEnter:u,onEntered:d,onEntering:f,onExit:p,onExited:m,onExiting:h,orientation:g=`vertical`,slots:_={},slotProps:v={},style:y,timeout:b=Jf.standard,TransitionComponent:x=D_,...S}=n,C={...n,orientation:g,collapsedSize:o},w=Fb(C),T=wp(),E=u_(),D=U.useRef(null),ee=U.useRef(),O=typeof o==`number`?`${o}px`:o,te=g===`horizontal`,k=te?`width`:`height`,A=U.useRef(null),ne=K_(t,A),j=()=>D.current?D.current[te?`clientWidth`:`clientHeight`]:0,re=H_(A,(e,t)=>{D.current&&te&&(D.current.style.position=`absolute`),e.style[k]=O,u&&u(e,t)}),M=H_(A,(e,t)=>{let n=j();D.current&&te&&(D.current.style.position=``);let{duration:r,easing:i}=W_({style:y,timeout:b,easing:c},{mode:`enter`});if(b===`auto`){let t=T.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,ee.current=t}else e.style.transitionDuration=typeof r==`string`?r:`${r}ms`;e.style[k]=`${n}px`,e.style.transitionTimingFunction=i,f&&f(e,t)}),ie=H_(A,(e,t)=>{e.style[k]=`auto`,d&&d(e,t)}),ae=H_(A,e=>{e.style[k]=`${j()}px`,p&&p(e)}),N=H_(A,m),oe=H_(A,e=>{let t=j(),{duration:n,easing:r}=W_({style:y,timeout:b,easing:c},{mode:`exit`});if(b===`auto`){let n=T.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,ee.current=n}else e.style.transitionDuration=typeof n==`string`?n:`${n}ms`;e.style[k]=O,e.style.transitionTimingFunction=r,h&&h(e)}),se=e=>{b===`auto`&&E.start(ee.current||0,e),r&&r(A.current,e)},ce={slots:_,slotProps:v,component:s},[le,ue]=kv(`root`,{ref:ne,className:K(w.root,a),elementType:Ib,externalForwardedProps:ce,ownerState:C,additionalProps:{style:{[te?`minWidth`:`minHeight`]:O,...y}}}),[de,fe]=kv(`wrapper`,{ref:D,className:w.wrapper,elementType:Lb,externalForwardedProps:ce,ownerState:C}),[pe,me]=kv(`wrapperInner`,{className:w.wrapperInner,elementType:Rb,externalForwardedProps:ce,ownerState:C});return(0,G.jsx)(x,{in:l,onEnter:re,onEntered:ie,onEntering:M,onExit:ae,onExited:N,onExiting:oe,addEndListener:se,nodeRef:A,timeout:b===`auto`?null:b,...S,children:(e,{ownerState:t,...n})=>{let r={...C,state:e};return(0,G.jsx)(le,{...ue,className:K(ue.className,{entered:w.entered,exited:!l&&O===`0px`&&w.hidden}[e]),ownerState:r,...n,children:(0,G.jsx)(de,{...fe,ownerState:r,children:(0,G.jsx)(pe,{...me,ownerState:r,children:i})})})}})});zb&&(zb.muiSupportAuto=!0);var Bb=X(`span`)(({theme:e})=>({color:e.palette.primary.light,borderBottom:`1px dotted ${e.palette.primary.light}`,cursor:`pointer`})),Vb=X(zb)(({theme:e})=>({paddingTop:e.spacing(2)})),Hb=class extends U.Component{static propTypes={className:z.string,children:z.object,labels:z.shape({visible:z.string,hidden:z.string})};static defaultProps={labels:{}};state={expanded:!1};toggleExpanded=()=>{this.setState(e=>({expanded:!e.expanded}))};componentDidMount(){Ho(this.root)}componentDidUpdate(){Ho(this.root)}render(){let{labels:e,children:t,className:n}=this.props,r=this.state.expanded?e.visible||`Hide`:e.hidden||`Show`;return(0,G.jsxs)(`div`,{className:n,ref:e=>this.root=e,children:[(0,G.jsx)(`div`,{onClick:this.toggleExpanded,children:(0,G.jsx)(Bb,{children:r})}),(0,G.jsx)(Vb,{in:this.state.expanded,timeout:{enter:225,exit:195},unmountOnExit:!0,children:t})]})}};function Ub(e){try{return e.matches(`:focus-visible`)}catch{}return!1}var Wb=class e{static create(){return new e}static use(){let t=o_(e.create).current,[n,r]=U.useState(!1);return t.shouldMount=n,t.setShouldMount=r,U.useEffect(t.mountEffect,[n]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=Kb(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}};function Gb(){return Wb.use()}function Kb(){let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}function qb(e){let{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:o,in:s,onExited:c,timeout:l}=e,[u,d]=U.useState(!1),f=K(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:o,height:o,top:-(o/2)+a,left:-(o/2)+i},m=K(n.child,u&&n.childLeaving,r&&n.childPulsate);return!s&&!u&&d(!0),U.useEffect(()=>{if(!s&&c!=null){let e=setTimeout(c,l);return()=>{clearTimeout(e)}}},[c,s,l]),(0,G.jsx)(`span`,{className:f,style:p,children:(0,G.jsx)(`span`,{className:m})})}var Jb=Ku(`MuiTouchRipple`,[`root`,`ripple`,`rippleVisible`,`ripplePulsate`,`child`,`childLeaving`,`childPulsate`]),Yb=550,Xb=Wc`
|
|
53
|
-
0% {
|
|
54
|
-
transform: scale(0);
|
|
55
|
-
opacity: 0.1;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
100% {
|
|
59
|
-
transform: scale(1);
|
|
60
|
-
opacity: 0.3;
|
|
61
|
-
}
|
|
62
|
-
`,Zb=Wc`
|
|
63
|
-
0% {
|
|
64
|
-
opacity: 1;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
100% {
|
|
68
|
-
opacity: 0;
|
|
69
|
-
}
|
|
70
|
-
`,Qb=Wc`
|
|
71
|
-
0% {
|
|
72
|
-
transform: scale(1);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
50% {
|
|
76
|
-
transform: scale(0.92);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
100% {
|
|
80
|
-
transform: scale(1);
|
|
81
|
-
}
|
|
82
|
-
`,$b=X(`span`,{name:`MuiTouchRipple`,slot:`Root`})({overflow:`hidden`,pointerEvents:`none`,position:`absolute`,zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:`inherit`}),ex=X(qb,{name:`MuiTouchRipple`,slot:`Ripple`})`
|
|
83
|
-
opacity: 0;
|
|
84
|
-
position: absolute;
|
|
85
|
-
|
|
86
|
-
&.${Jb.rippleVisible} {
|
|
87
|
-
opacity: 0.3;
|
|
88
|
-
transform: scale(1);
|
|
89
|
-
animation-name: ${Xb};
|
|
90
|
-
animation-duration: ${Yb}ms;
|
|
91
|
-
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&.${Jb.ripplePulsate} {
|
|
95
|
-
animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
& .${Jb.child} {
|
|
99
|
-
opacity: 1;
|
|
100
|
-
display: block;
|
|
101
|
-
width: 100%;
|
|
102
|
-
height: 100%;
|
|
103
|
-
border-radius: 50%;
|
|
104
|
-
background-color: currentColor;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
& .${Jb.childLeaving} {
|
|
108
|
-
opacity: 0;
|
|
109
|
-
animation-name: ${Zb};
|
|
110
|
-
animation-duration: ${Yb}ms;
|
|
111
|
-
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
& .${Jb.childPulsate} {
|
|
115
|
-
position: absolute;
|
|
116
|
-
/* @noflip */
|
|
117
|
-
left: 0px;
|
|
118
|
-
top: 0;
|
|
119
|
-
animation-name: ${Qb};
|
|
120
|
-
animation-duration: 2500ms;
|
|
121
|
-
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
122
|
-
animation-iteration-count: infinite;
|
|
123
|
-
animation-delay: 200ms;
|
|
124
|
-
}
|
|
125
|
-
`,tx=U.forwardRef(function(e,t){let{center:n=!1,classes:r={},className:i,...a}=Qg({props:e,name:`MuiTouchRipple`}),[o,s]=U.useState([]),c=U.useRef(0),l=U.useRef(null);U.useEffect(()=>{l.current&&=(l.current(),null)},[o]);let u=U.useRef(!1),d=u_(),f=U.useRef(null),p=U.useRef(null),m=U.useCallback(e=>{let{pulsate:t,rippleX:n,rippleY:i,rippleSize:a,cb:o}=e;s(e=>[...e,(0,G.jsx)(ex,{classes:{ripple:K(r.ripple,Jb.ripple),rippleVisible:K(r.rippleVisible,Jb.rippleVisible),ripplePulsate:K(r.ripplePulsate,Jb.ripplePulsate),child:K(r.child,Jb.child),childLeaving:K(r.childLeaving,Jb.childLeaving),childPulsate:K(r.childPulsate,Jb.childPulsate)},timeout:Yb,pulsate:t,rippleX:n,rippleY:i,rippleSize:a},c.current)]),c.current+=1,l.current=o},[r]),h=U.useCallback((e={},t={},r=()=>{})=>{let{pulsate:i=!1,center:a=n||t.pulsate,fakeElement:o=!1}=t;if(e?.type===`mousedown`&&u.current){u.current=!1;return}e?.type===`touchstart`&&(u.current=!0);let s=o?null:p.current,c=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0},l,h,g;if(a||e===void 0||e.clientX===0&&e.clientY===0||!e.clientX&&!e.touches)l=Math.round(c.width/2),h=Math.round(c.height/2);else{let{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;l=Math.round(t-c.left),h=Math.round(n-c.top)}if(a)g=Math.sqrt((2*c.width**2+c.height**2)/3),g%2==0&&(g+=1);else{let e=Math.max(Math.abs((s?s.clientWidth:0)-l),l)*2+2,t=Math.max(Math.abs((s?s.clientHeight:0)-h),h)*2+2;g=Math.sqrt(e**2+t**2)}e?.touches?f.current===null&&(f.current=()=>{m({pulsate:i,rippleX:l,rippleY:h,rippleSize:g,cb:r})},d.start(80,()=>{f.current&&=(f.current(),null)})):m({pulsate:i,rippleX:l,rippleY:h,rippleSize:g,cb:r})},[n,m,d]),g=U.useCallback(()=>{h({},{pulsate:!0})},[h]),_=U.useCallback((e,t)=>{if(d.clear(),e?.type===`touchend`&&f.current){f.current(),f.current=null,d.start(0,()=>{_(e,t)});return}f.current=null,s(e=>e.length>0?e.slice(1):e),l.current=t},[d]);return U.useImperativeHandle(t,()=>({pulsate:g,start:h,stop:_}),[g,h,_]),(0,G.jsx)($b,{className:K(Jb.root,r.root,i),ref:p,...a,children:(0,G.jsx)(B_,{component:null,exit:!0,children:o})})});function nx(e){return Gu(`MuiButtonBase`,e)}var rx=Ku(`MuiButtonBase`,[`root`,`disabled`,`focusVisible`]),ix=e=>{let{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,a=ff({root:[`root`,t&&`disabled`,n&&`focusVisible`]},nx,i);return n&&r&&(a.root+=` ${r}`),a},ax=X(`button`,{name:`MuiButtonBase`,slot:`Root`})({display:`inline-flex`,alignItems:`center`,justifyContent:`center`,position:`relative`,boxSizing:`border-box`,WebkitTapHighlightColor:`transparent`,backgroundColor:`transparent`,outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:`pointer`,userSelect:`none`,verticalAlign:`middle`,MozAppearance:`none`,WebkitAppearance:`none`,textDecoration:`none`,color:`inherit`,"&::-moz-focus-inner":{borderStyle:`none`},[`&.${rx.disabled}`]:{pointerEvents:`none`,cursor:`default`},"@media print":{colorAdjust:`exact`}}),ox=U.forwardRef(function(e,t){let n=Qg({props:e,name:`MuiButtonBase`}),{action:r,centerRipple:i=!1,children:a,className:o,component:s=`button`,disabled:c=!1,disableRipple:l=!1,disableTouchRipple:u=!1,focusRipple:d=!1,focusVisibleClassName:f,LinkComponent:p=`a`,onBlur:m,onClick:h,onContextMenu:g,onDragLeave:_,onFocus:v,onFocusVisible:y,onKeyDown:b,onKeyUp:x,onMouseDown:S,onMouseLeave:C,onMouseUp:w,onTouchEnd:T,onTouchMove:E,onTouchStart:D,tabIndex:ee=0,TouchRippleProps:O,touchRippleRef:te,type:k,...A}=n,ne=U.useRef(null),j=Gb(),re=K_(j.ref,te),[M,ie]=U.useState(!1);c&&M&&ie(!1),U.useImperativeHandle(r,()=>({focusVisible:()=>{ie(!0),ne.current.focus()}}),[]);let ae=j.shouldMount&&!l&&!c;U.useEffect(()=>{M&&d&&!l&&j.pulsate()},[l,d,M,j]);let N=sx(j,`start`,S,u),oe=sx(j,`stop`,g,u),se=sx(j,`stop`,_,u),ce=sx(j,`stop`,w,u),le=sx(j,`stop`,e=>{M&&e.preventDefault(),C&&C(e)},u),ue=sx(j,`start`,D,u),de=sx(j,`stop`,T,u),fe=sx(j,`stop`,E,u),pe=sx(j,`stop`,e=>{Ub(e.target)||ie(!1),m&&m(e)},!1),me=ly(e=>{ne.current||=e.currentTarget,Ub(e.target)&&(ie(!0),y&&y(e)),v&&v(e)}),he=()=>{let e=ne.current;return e?e.tagName===`BUTTON`?!1:!(e.tagName===`A`&&e.href):s&&s!==`button`},ge=ly(e=>{d&&!e.repeat&&M&&e.key===` `&&j.stop(e,()=>{j.start(e)}),e.target===e.currentTarget&&he()&&e.key===` `&&e.preventDefault(),b&&b(e),e.target===e.currentTarget&&he()&&e.key===`Enter`&&!c&&(e.preventDefault(),h&&h(e))}),_e=ly(e=>{d&&e.key===` `&&M&&!e.defaultPrevented&&j.stop(e,()=>{j.pulsate(e)}),x&&x(e),h&&e.target===e.currentTarget&&he()&&e.key===` `&&!e.defaultPrevented&&!c&&h(e)}),ve=s;ve===`button`&&(A.href||A.to)&&(ve=p);let ye={};if(ve===`button`){let e=!!A.formAction;ye.type=k===void 0&&!e?`button`:k,ye.disabled=c}else !A.href&&!A.to&&(ye.role=`button`),c&&(ye[`aria-disabled`]=c);let be=K_(t,ne),xe={...n,centerRipple:i,component:s,disabled:c,disableRipple:l,disableTouchRipple:u,focusRipple:d,tabIndex:ee,focusVisible:M},Se=ix(xe);return(0,G.jsxs)(ax,{as:ve,className:K(Se.root,o),ownerState:xe,onBlur:pe,onClick:h,onContextMenu:oe,onFocus:me,onKeyDown:ge,onKeyUp:_e,onMouseDown:N,onMouseLeave:le,onMouseUp:ce,onDragLeave:se,onTouchEnd:de,onTouchMove:fe,onTouchStart:ue,ref:be,tabIndex:c?-1:ee,type:k,...ye,...A,children:[a,ae?(0,G.jsx)(tx,{ref:re,center:i,...O}):null]})});function sx(e,t,n,r=!1){return ly(i=>(n&&n(i),r||e[t](i),!0))}function cx(e){return typeof e.main==`string`}function lx(e,t=[]){if(!cx(e))return!1;for(let n of t)if(!e.hasOwnProperty(n)||typeof e[n]!=`string`)return!1;return!0}function ux(e=[]){return([,t])=>t&&lx(t,e)}function dx(e){return Gu(`MuiCircularProgress`,e)}Ku(`MuiCircularProgress`,[`root`,`determinate`,`indeterminate`,`colorPrimary`,`colorSecondary`,`svg`,`track`,`circle`,`circleDeterminate`,`circleIndeterminate`,`circleDisableShrink`]);var fx=44,px=Wc`
|
|
126
|
-
0% {
|
|
127
|
-
transform: rotate(0deg);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
100% {
|
|
131
|
-
transform: rotate(360deg);
|
|
132
|
-
}
|
|
133
|
-
`,mx=Wc`
|
|
134
|
-
0% {
|
|
135
|
-
stroke-dasharray: 1px, 200px;
|
|
136
|
-
stroke-dashoffset: 0;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
50% {
|
|
140
|
-
stroke-dasharray: 100px, 200px;
|
|
141
|
-
stroke-dashoffset: -15px;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
100% {
|
|
145
|
-
stroke-dasharray: 1px, 200px;
|
|
146
|
-
stroke-dashoffset: -126px;
|
|
147
|
-
}
|
|
148
|
-
`,hx=typeof px==`string`?null:Uc`
|
|
149
|
-
animation: ${px} 1.4s linear infinite;
|
|
150
|
-
`,gx=typeof mx==`string`?null:Uc`
|
|
151
|
-
animation: ${mx} 1.4s ease-in-out infinite;
|
|
152
|
-
`,_x=e=>{let{classes:t,variant:n,color:r,disableShrink:i}=e;return ff({root:[`root`,n,`color${ey(r)}`],svg:[`svg`],track:[`track`],circle:[`circle`,`circle${ey(n)}`,i&&`circleDisableShrink`]},dx,t)},vx=X(`span`,{name:`MuiCircularProgress`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`color${ey(n.color)}`]]}})(Cv(({theme:e})=>({display:`inline-block`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`transform`)}},{props:{variant:`indeterminate`},style:hx||{animation:`${px} 1.4s linear infinite`}},...Object.entries(e.palette).filter(ux()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),yx=X(`svg`,{name:`MuiCircularProgress`,slot:`Svg`})({display:`block`}),bx=X(`circle`,{name:`MuiCircularProgress`,slot:`Circle`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.circle,t[`circle${ey(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(Cv(({theme:e})=>({stroke:`currentColor`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`stroke-dashoffset`)}},{props:{variant:`indeterminate`},style:{strokeDasharray:`80px, 200px`,strokeDashoffset:0}},{props:({ownerState:e})=>e.variant===`indeterminate`&&!e.disableShrink,style:gx||{animation:`${mx} 1.4s ease-in-out infinite`}}]}))),xx=X(`circle`,{name:`MuiCircularProgress`,slot:`Track`})(Cv(({theme:e})=>({stroke:`currentColor`,opacity:(e.vars||e).palette.action.activatedOpacity}))),Sx=U.forwardRef(function(e,t){let n=Qg({props:e,name:`MuiCircularProgress`}),{className:r,color:i=`primary`,disableShrink:a=!1,enableTrackSlot:o=!1,size:s=40,style:c,thickness:l=3.6,value:u=0,variant:d=`indeterminate`,...f}=n,p={...n,color:i,disableShrink:a,size:s,thickness:l,value:u,variant:d,enableTrackSlot:o},m=_x(p),h={},g={},_={};if(d===`determinate`){let e=2*Math.PI*((fx-l)/2);h.strokeDasharray=e.toFixed(3),_[`aria-valuenow`]=Math.round(u),h.strokeDashoffset=`${((100-u)/100*e).toFixed(3)}px`,g.transform=`rotate(-90deg)`}return(0,G.jsx)(vx,{className:K(m.root,r),style:{width:s,height:s,...g,...c},ownerState:p,ref:t,role:`progressbar`,..._,...f,children:(0,G.jsxs)(yx,{className:m.svg,ownerState:p,viewBox:`${fx/2} ${fx/2} ${fx} ${fx}`,children:[o?(0,G.jsx)(xx,{className:m.track,ownerState:p,cx:fx,cy:fx,r:(fx-l)/2,fill:`none`,strokeWidth:l,"aria-hidden":`true`}):null,(0,G.jsx)(bx,{className:m.circle,style:h,ownerState:p,cx:fx,cy:fx,r:(fx-l)/2,fill:`none`,strokeWidth:l})]})})});function Cx(e){return Gu(`MuiButton`,e)}var wx=Ku(`MuiButton`,`root.text.textInherit.textPrimary.textSecondary.textSuccess.textError.textInfo.textWarning.outlined.outlinedInherit.outlinedPrimary.outlinedSecondary.outlinedSuccess.outlinedError.outlinedInfo.outlinedWarning.contained.containedInherit.containedPrimary.containedSecondary.containedSuccess.containedError.containedInfo.containedWarning.disableElevation.focusVisible.disabled.colorInherit.colorPrimary.colorSecondary.colorSuccess.colorError.colorInfo.colorWarning.textSizeSmall.textSizeMedium.textSizeLarge.outlinedSizeSmall.outlinedSizeMedium.outlinedSizeLarge.containedSizeSmall.containedSizeMedium.containedSizeLarge.sizeMedium.sizeSmall.sizeLarge.fullWidth.startIcon.endIcon.icon.iconSizeSmall.iconSizeMedium.iconSizeLarge.loading.loadingWrapper.loadingIconPlaceholder.loadingIndicator.loadingPositionCenter.loadingPositionStart.loadingPositionEnd`.split(`.`)),Tx=U.createContext({}),Ex=U.createContext(void 0),Dx=e=>{let{color:t,disableElevation:n,fullWidth:r,size:i,variant:a,loading:o,loadingPosition:s,classes:c}=e,l=ff({root:[`root`,o&&`loading`,a,`${a}${ey(t)}`,`size${ey(i)}`,`${a}Size${ey(i)}`,`color${ey(t)}`,n&&`disableElevation`,r&&`fullWidth`,o&&`loadingPosition${ey(s)}`],startIcon:[`icon`,`startIcon`,`iconSize${ey(i)}`],endIcon:[`icon`,`endIcon`,`iconSize${ey(i)}`],loadingIndicator:[`loadingIndicator`],loadingWrapper:[`loadingWrapper`]},Cx,c);return{...c,...l}},Ox=[{props:{size:`small`},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:`medium`},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:`large`},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],kx=X(ox,{shouldForwardProp:e=>Ep(e)||e===`classes`,name:`MuiButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ey(n.color)}`],t[`size${ey(n.size)}`],t[`${n.variant}Size${ey(n.size)}`],n.color===`inherit`&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(Cv(({theme:e})=>{let t=e.palette.mode===`light`?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode===`light`?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:`6px 16px`,border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create([`background-color`,`box-shadow`,`border-color`,`color`],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:`none`},[`&.${wx.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.startIcon||e.loading&&e.loadingPosition===`start`,style:{"&::before":{content:`"\\200b"`,width:0,overflow:`hidden`}}},{props:{variant:`contained`},style:{color:`var(--variant-containedColor)`,backgroundColor:`var(--variant-containedBg)`,boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${wx.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${wx.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:`outlined`},style:{padding:`5px 15px`,border:`1px solid currentColor`,borderColor:`var(--variant-outlinedBorder, currentColor)`,backgroundColor:`var(--variant-outlinedBg)`,color:`var(--variant-outlinedColor)`,[`&.${wx.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:`text`},style:{padding:`6px 8px`,color:`var(--variant-textColor)`,backgroundColor:`var(--variant-textBg)`}},...Object.entries(e.palette).filter(ux()).map(([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:`inherit`},style:{color:`inherit`,borderColor:`currentColor`,"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:`small`,variant:`text`},style:{padding:`4px 5px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`text`},style:{padding:`8px 11px`,fontSize:e.typography.pxToRem(15)}},{props:{size:`small`,variant:`outlined`},style:{padding:`3px 9px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`outlined`},style:{padding:`7px 21px`,fontSize:e.typography.pxToRem(15)}},{props:{size:`small`,variant:`contained`},style:{padding:`4px 10px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`contained`},style:{padding:`8px 22px`,fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:`none`,"&:hover":{boxShadow:`none`},[`&.${wx.focusVisible}`]:{boxShadow:`none`},"&:active":{boxShadow:`none`},[`&.${wx.disabled}`]:{boxShadow:`none`}}},{props:{fullWidth:!0},style:{width:`100%`}},{props:{loadingPosition:`center`},style:{transition:e.transitions.create([`background-color`,`box-shadow`,`border-color`],{duration:e.transitions.duration.short}),[`&.${wx.loading}`]:{color:`transparent`}}}]}})),Ax=X(`span`,{name:`MuiButton`,slot:`StartIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${ey(n.size)}`]]}})(({theme:e})=>({display:`inherit`,marginRight:8,marginLeft:-4,variants:[{props:{size:`small`},style:{marginLeft:-2}},{props:{loadingPosition:`start`,loading:!0},style:{transition:e.transitions.create([`opacity`],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:`start`,loading:!0,fullWidth:!0},style:{marginRight:-8}},...Ox]})),jx=X(`span`,{name:`MuiButton`,slot:`EndIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${ey(n.size)}`]]}})(({theme:e})=>({display:`inherit`,marginRight:-4,marginLeft:8,variants:[{props:{size:`small`},style:{marginRight:-2}},{props:{loadingPosition:`end`,loading:!0},style:{transition:e.transitions.create([`opacity`],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:`end`,loading:!0,fullWidth:!0},style:{marginLeft:-8}},...Ox]})),Mx=X(`span`,{name:`MuiButton`,slot:`LoadingIndicator`})(({theme:e})=>({display:`none`,position:`absolute`,visibility:`visible`,variants:[{props:{loading:!0},style:{display:`flex`}},{props:{loadingPosition:`start`},style:{left:14}},{props:{loadingPosition:`start`,size:`small`},style:{left:10}},{props:{variant:`text`,loadingPosition:`start`},style:{left:6}},{props:{loadingPosition:`center`},style:{left:`50%`,transform:`translate(-50%)`,color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:`end`},style:{right:14}},{props:{loadingPosition:`end`,size:`small`},style:{right:10}},{props:{variant:`text`,loadingPosition:`end`},style:{right:6}},{props:{loadingPosition:`start`,fullWidth:!0},style:{position:`relative`,left:-10}},{props:{loadingPosition:`end`,fullWidth:!0},style:{position:`relative`,right:-10}}]})),Nx=X(`span`,{name:`MuiButton`,slot:`LoadingIconPlaceholder`})({display:`inline-block`,width:`1em`,height:`1em`}),Px=U.forwardRef(function(e,t){let n=U.useContext(Tx),r=U.useContext(Ex),i=Qg({props:ad(n,e),name:`MuiButton`}),{children:a,color:o=`primary`,component:s=`button`,className:c,disabled:l=!1,disableElevation:u=!1,disableFocusRipple:d=!1,endIcon:f,focusVisibleClassName:p,fullWidth:m=!1,id:h,loading:g=null,loadingIndicator:_,loadingPosition:v=`center`,size:y=`medium`,startIcon:b,type:x,variant:S=`text`,...C}=i,w=cy(h),T=_??(0,G.jsx)(Sx,{"aria-labelledby":w,color:`inherit`,size:16}),E={...i,color:o,component:s,disabled:l,disableElevation:u,disableFocusRipple:d,fullWidth:m,loading:g,loadingIndicator:T,loadingPosition:v,size:y,type:x,variant:S},D=Dx(E),ee=(b||g&&v===`start`)&&(0,G.jsx)(Ax,{className:D.startIcon,ownerState:E,children:b||(0,G.jsx)(Nx,{className:D.loadingIconPlaceholder,ownerState:E})}),O=(f||g&&v===`end`)&&(0,G.jsx)(jx,{className:D.endIcon,ownerState:E,children:f||(0,G.jsx)(Nx,{className:D.loadingIconPlaceholder,ownerState:E})}),te=r||``,k=typeof g==`boolean`?(0,G.jsx)(`span`,{className:D.loadingWrapper,style:{display:`contents`},children:g&&(0,G.jsx)(Mx,{className:D.loadingIndicator,ownerState:E,children:T})}):null,{root:A,...ne}=D;return(0,G.jsxs)(kx,{ownerState:E,className:K(n.className,D.root,c,te),component:s,disabled:l||g,focusRipple:!d,focusVisibleClassName:K(D.focusVisible,p),ref:t,type:x,id:g?w:h,...C,classes:ne,children:[ee,v!==`end`&&k,a,v===`end`&&k,O]})}),Fx=ay((0,G.jsx)(`path`,{d:`M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8z`}),`Restore`),Ix=ay((0,G.jsx)(`path`,{d:`M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8`}),`Undo`),Lx=X(`div`)({display:`flex`,flexDirection:`column`}),Rx=X(`div`)({display:`flex`,alignItems:`center`,justifyContent:`center`}),zx=X(`div`)(({theme:e})=>({width:`24px`,height:`24px`,color:`gray`,marginRight:e.spacing(1),display:`flex`,alignItems:`center`})),Bx=X(Px)(({theme:e})=>({display:`flex`,alignItems:`center`,marginLeft:e.spacing(3),marginRight:e.spacing(3)})),Vx=e=>{class t extends U.Component{static propTypes={session:z.object,onSessionChange:z.func};constructor(e){super(e),this.state={sessionInitialValues:JSON.parse(JSON.stringify(e.session)),session:e.session,changes:[]}}onSessionChange=e=>{this.setState(t=>({session:e,changes:[...t.changes,e]}),()=>this.props.onSessionChange(e))};onUndo=()=>{this.setState(e=>{let t=[...e.changes];return t.pop(),{changes:t,session:t.length?t[t.length-1]:e.sessionInitialValues}},()=>this.props.onSessionChange(this.state.session))};onReset=()=>{this.setState(e=>({session:e.sessionInitialValues,changes:[]}),()=>this.props.onSessionChange(this.state.sessionInitialValues))};render(){let{...t}=this.props,{changes:n,session:r}=this.state;return(0,G.jsxs)(Lx,{children:[(0,G.jsxs)(Rx,{children:[(0,G.jsxs)(Bx,{color:`primary`,disabled:n.length===0,onClick:this.onUndo,children:[(0,G.jsx)(zx,{children:(0,G.jsx)(Ix,{})}),`Undo`]}),(0,G.jsxs)(Bx,{color:`primary`,disabled:n.length===0,onClick:this.onReset,children:[(0,G.jsx)(zx,{children:(0,G.jsx)(Fx,{})}),`Start Over`]})]}),(0,G.jsx)(e,{...t,session:r,onSessionChange:this.onSessionChange})]})}}return t},Hx=Sp({typography:{fontFamily:`inherit`},palette:{action:{disabled:`rgba(0, 0, 0, 0.54);`}},components:{MuiTypography:{styleOverrides:{root:{fontFamily:`inherit`}}},MuiButton:{styleOverrides:{contained:{backgroundColor:`#e0e0e0`,color:`#000000`,"&:hover":{backgroundColor:`#bdbdbd`}}}}}}),Ux=X(`div`)({"& table, th, td":{fontSize:`inherit`}}),Wx=class extends U.Component{static propTypes={className:z.string,children:z.array,extraCSSRules:z.shape({names:z.arrayOf(z.string),rules:z.string}),fontSizeFactor:z.number};static defaultProps={extraCSSRules:{},fontSizeFactor:1};constructor(e){super(e),this.classesSheet=document.createElement(`style`)}computeStyle(e){let t=e=>parseFloat(getComputedStyle(e).fontSize),n=t(document.documentElement),r=t(document.body),i=Math.max(n,r),a=e!=null&&typeof e==`number`?e:1;return a===1?null:{fontSize:`${i*a}px`}}render(){let{children:e,className:t,fontSizeFactor:n,...r}=this.props,{extraCSSRules:i,...a}=r,o=this.computeStyle(n);return(0,G.jsx)(sl,{injectFirst:!0,children:(0,G.jsxs)(Np,{theme:Hx,children:[i?.rules?(0,G.jsx)(`style`,{dangerouslySetInnerHTML:{__html:`.extraCSSRules { ${i.rules} }`}}):null,(0,G.jsx)(Ux,{className:`${t} extraCSSRules`,...a,...o&&{style:o},children:e})]})})}},Gx=X(Wx)({display:`flex`,flexDirection:`column`,position:`relative`}),Kx=class extends U.Component{static propTypes={ariaLabel:z.string,children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired,role:z.string,extraCSSRules:z.shape({names:z.arrayOf(z.string),rules:z.string}),fontSizeFactor:z.number};render(){let{children:e,ariaLabel:t,role:n,extraCSSRules:r,fontSizeFactor:i,classes:a}=this.props;return(0,G.jsx)(Gx,{...t?{"aria-label":t,role:n}:{},extraCSSRules:r,fontSizeFactor:i,classes:a,children:e})}},qx=class extends U.Component{static propTypes={tag:z.string,className:z.string,html:z.string};static defaultProps={tag:`div`,html:``};render(){let{tag:e,className:t,html:n}=this.props;return(0,G.jsx)(e||`div`,{ref:e=>this.node=e,className:t,dangerouslySetInnerHTML:{__html:n}})}};function Jx({props:e,states:t,muiFormControl:n}){return t.reduce((t,r)=>(t[r]=e[r],n&&e[r]===void 0&&(t[r]=n[r]),t),{})}var Yx=U.createContext(void 0);function Xx(){return U.useContext(Yx)}function Zx(e){return Gu(`MuiFormLabel`,e)}var Qx=Ku(`MuiFormLabel`,[`root`,`colorSecondary`,`focused`,`disabled`,`error`,`filled`,`required`,`asterisk`]),$x=e=>{let{classes:t,color:n,focused:r,disabled:i,error:a,filled:o,required:s}=e;return ff({root:[`root`,`color${ey(n)}`,i&&`disabled`,a&&`error`,o&&`filled`,r&&`focused`,s&&`required`],asterisk:[`asterisk`,a&&`error`]},Zx,t)},eS=X(`label`,{name:`MuiFormLabel`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color===`secondary`&&t.colorSecondary,n.filled&&t.filled]}})(Cv(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:`1.4375em`,padding:0,position:`relative`,variants:[...Object.entries(e.palette).filter(ux()).map(([t])=>({props:{color:t},style:{[`&.${Qx.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Qx.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Qx.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),tS=X(`span`,{name:`MuiFormLabel`,slot:`Asterisk`})(Cv(({theme:e})=>({[`&.${Qx.error}`]:{color:(e.vars||e).palette.error.main}}))),nS=U.forwardRef(function(e,t){let n=Qg({props:e,name:`MuiFormLabel`}),{children:r,className:i,color:a,component:o=`label`,disabled:s,error:c,filled:l,focused:u,required:d,...f}=n,p=Jx({props:n,muiFormControl:Xx(),states:[`color`,`required`,`focused`,`disabled`,`error`,`filled`]}),m={...n,color:p.color||`primary`,component:o,disabled:p.disabled,error:p.error,filled:p.filled,focused:p.focused,required:p.required},h=$x(m);return(0,G.jsxs)(eS,{as:o,ownerState:m,className:K(h.root,i),ref:t,...f,children:[r,p.required&&(0,G.jsxs)(tS,{ownerState:m,"aria-hidden":!0,className:h.asterisk,children:[` `,`*`]})]})});function rS(e){return Gu(`MuiInputLabel`,e)}Ku(`MuiInputLabel`,[`root`,`focused`,`disabled`,`error`,`required`,`asterisk`,`formControl`,`sizeSmall`,`shrink`,`animated`,`standard`,`filled`,`outlined`]);var iS=e=>{let{classes:t,formControl:n,size:r,shrink:i,disableAnimation:a,variant:o,required:s}=e,c=ff({root:[`root`,n&&`formControl`,!a&&`animated`,i&&`shrink`,r&&r!==`medium`&&`size${ey(r)}`,o],asterisk:[s&&`asterisk`]},rS,t);return{...t,...c}},aS=X(nS,{shouldForwardProp:e=>Ep(e)||e===`classes`,name:`MuiInputLabel`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[{[`& .${Qx.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size===`small`&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(Cv(({theme:e})=>({display:`block`,transformOrigin:`top left`,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`,maxWidth:`100%`,variants:[{props:({ownerState:e})=>e.formControl,style:{position:`absolute`,left:0,top:0,transform:`translate(0, 20px) scale(1)`}},{props:{size:`small`},style:{transform:`translate(0, 17px) scale(1)`}},{props:({ownerState:e})=>e.shrink,style:{transform:`translate(0, -1.5px) scale(0.75)`,transformOrigin:`top left`,maxWidth:`133%`}},{props:({ownerState:e})=>!e.disableAnimation,style:{transition:e.transitions.create([`color`,`transform`,`max-width`],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:`filled`},style:{zIndex:1,pointerEvents:`none`,transform:`translate(12px, 16px) scale(1)`,maxWidth:`calc(100% - 24px)`}},{props:{variant:`filled`,size:`small`},style:{transform:`translate(12px, 13px) scale(1)`}},{props:({variant:e,ownerState:t})=>e===`filled`&&t.shrink,style:{userSelect:`none`,pointerEvents:`auto`,transform:`translate(12px, 7px) scale(0.75)`,maxWidth:`calc(133% - 24px)`}},{props:({variant:e,ownerState:t,size:n})=>e===`filled`&&t.shrink&&n===`small`,style:{transform:`translate(12px, 4px) scale(0.75)`}},{props:{variant:`outlined`},style:{zIndex:1,pointerEvents:`none`,transform:`translate(14px, 16px) scale(1)`,maxWidth:`calc(100% - 24px)`}},{props:{variant:`outlined`,size:`small`},style:{transform:`translate(14px, 9px) scale(1)`}},{props:({variant:e,ownerState:t})=>e===`outlined`&&t.shrink,style:{userSelect:`none`,pointerEvents:`auto`,maxWidth:`calc(133% - 32px)`,transform:`translate(14px, -9px) scale(0.75)`}}]}))),oS=U.forwardRef(function(e,t){let n=Qg({name:`MuiInputLabel`,props:e}),{disableAnimation:r=!1,margin:i,shrink:a,variant:o,className:s,...c}=n,l=Xx(),u=a;u===void 0&&l&&(u=l.filled||l.focused||l.adornedStart);let d=Jx({props:n,muiFormControl:l,states:[`size`,`variant`,`required`,`focused`]}),f={...n,disableAnimation:r,formControl:l,shrink:u,size:d.size,variant:d.variant,required:d.required,focused:d.focused},p=iS(f);return(0,G.jsx)(aS,{"data-shrink":u,ref:t,className:K(p.root,s),...c,ownerState:f,classes:p})});function sS(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function cS(e,t=!1){return e&&(sS(e.value)&&e.value!==``||t&&sS(e.defaultValue)&&e.defaultValue!==``)}function lS(e){return e.startAdornment}function uS(e){return Gu(`MuiFormControl`,e)}Ku(`MuiFormControl`,[`root`,`marginNone`,`marginNormal`,`marginDense`,`fullWidth`,`disabled`]);var dS=e=>{let{classes:t,margin:n,fullWidth:r}=e;return ff({root:[`root`,n!==`none`&&`margin${ey(n)}`,r&&`fullWidth`]},uS,t)},fS=X(`div`,{name:`MuiFormControl`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[`margin${ey(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:`inline-flex`,flexDirection:`column`,position:`relative`,minWidth:0,padding:0,margin:0,border:0,verticalAlign:`top`,variants:[{props:{margin:`normal`},style:{marginTop:16,marginBottom:8}},{props:{margin:`dense`},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:`100%`}}]}),pS=X(U.forwardRef(function(e,t){let n=Qg({props:e,name:`MuiFormControl`}),{children:r,className:i,color:a=`primary`,component:o=`div`,disabled:s=!1,error:c=!1,focused:l,fullWidth:u=!1,hiddenLabel:d=!1,margin:f=`none`,required:p=!1,size:m=`medium`,variant:h=`outlined`,...g}=n,_={...n,color:a,component:o,disabled:s,error:c,fullWidth:u,hiddenLabel:d,margin:f,required:p,size:m,variant:h},v=dS(_),[y,b]=U.useState(()=>{let e=!1;return r&&U.Children.forEach(r,t=>{if(!oy(t,[`Input`,`Select`]))return;let n=oy(t,[`Select`])?t.props.input:t;n&&lS(n.props)&&(e=!0)}),e}),[x,S]=U.useState(()=>{let e=!1;return r&&U.Children.forEach(r,t=>{oy(t,[`Input`,`Select`])&&(cS(t.props,!0)||cS(t.props.inputProps,!0))&&(e=!0)}),e}),[C,w]=U.useState(!1);s&&C&&w(!1);let T=l!==void 0&&!s?l:C;U.useRef(!1);let E=U.useCallback(()=>{S(!0)},[]),D=U.useCallback(()=>{S(!1)},[]),ee=U.useMemo(()=>({adornedStart:y,setAdornedStart:b,color:a,disabled:s,error:c,filled:x,focused:T,fullWidth:u,hiddenLabel:d,size:m,onBlur:()=>{w(!1)},onFocus:()=>{w(!0)},onEmpty:D,onFilled:E,registerEffect:void 0,required:p,variant:h}),[y,a,s,c,x,T,u,d,void 0,D,E,p,m,h]);return(0,G.jsx)(Yx.Provider,{value:ee,children:(0,G.jsx)(fS,{as:o,ownerState:_,className:K(v.root,i),ref:t,...g,children:r})})}))(({theme:e})=>({margin:0,padding:0,flex:`1 0 auto`,minWidth:e.spacing(4)})),mS=X(oS)(()=>({fontSize:`inherit`,whiteSpace:`nowrap`,margin:0,padding:0,alignSelf:`flex-start`,position:`absolute`,top:0,left:0,transformOrigin:`top left`,pointerEvents:`none`,"&.MuiInputLabel-shrink":{transform:`scale(0.75) translate(0, -0.75em)`},"&:not(.MuiInputLabel-shrink)":{transform:`translate(0, 0)`}})),hS=({label:e,className:t,children:n})=>(0,G.jsxs)(pS,{className:t,children:[(0,G.jsx)(mS,{shrink:!0,children:e}),n]});hS.propTypes={label:z.oneOfType([z.string,z.object]).isRequired,className:z.string,children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired};var gS=X(`div`)(({theme:e,tagName:t})=>({'&:not(.MathJax) > table:not([role="presentation"])':{borderCollapse:`collapse`},'&:not(.MathJax) > table:not([role="presentation"]):has(tbody tr > th:first-child):not(:has(tbody tr > td:first-child)) tbody td:nth-child(even)':{backgroundColor:`#f6f8fa`,color:e.palette.common.black},'&:not(.MathJax) > table:not([role="presentation"]):has(tbody tr > td:first-child) tbody tr:nth-child(even) td':{backgroundColor:`#f6f8fa`,color:e.palette.common.black},'&:not(.MathJax) table:not([role="presentation"]) td, &:not(.MathJax) table:not([role="presentation"]) th':{padding:`.6em 1em`,textAlign:`left`},"&:not(.MathJax) > table td > p.kds-indent":{textAlign:`initial`},"&.prompt":{verticalAlign:`middle`,color:wy()},"&.legend":{width:`100%`,fontSize:`inherit !important`},"&.rationale":{paddingLeft:e.spacing(4),paddingBottom:e.spacing(1)},"&.prompt-label":{color:`${wy()} !important`,display:`flex`,flexDirection:`column`,verticalAlign:`middle`,cursor:`pointer`,"& > p":{margin:`0 0 0 0 !important`}}})),_S=/\\embed\{newLine\}\[\]/g,vS=`\\newline `,yS=class extends U.Component{static propTypes={prompt:z.string,tagName:z.string,className:z.string,onClick:z.func,defaultClassName:z.string,autoplayAudioEnabled:z.bool,customAudioButton:z.shape({playImage:z.string,pauseImage:z.string})};static defaultProps={onClick:()=>{}};parsedText=e=>{let{customAudioButton:t}=this.props,n=document.createElement(`div`);n.innerHTML=e;let r=n.querySelector(`audio`);if(r){let e=document.createElement(`source`);if(e.setAttribute(`type`,`audio/mp3`),e.setAttribute(`src`,r.getAttribute(`src`)),r.removeAttribute(`src`),r.setAttribute(`id`,`pie-prompt-audio-player`),r.appendChild(e),t){r.style.display=`none`;let e=document.createElement(`div`);e.id=`play-audio-button`,Object.assign(e.style,{cursor:`pointer`,display:`block`,width:`128px`,height:`128px`,backgroundImage:`url(${t.pauseImage})`,backgroundSize:`cover`,borderRadius:`50%`,border:`1px solid #326295`}),r.parentNode.insertBefore(e,r)}}return n.innerHTML};addCustomAudioButtonControls(){let{autoplayAudioEnabled:e,customAudioButton:t}=this.props,n=document.getElementById(`play-audio-button`),r=document.getElementById(`pie-prompt-audio-player`);if(e&&r&&r.play().then(()=>{n&&t&&r.addEventListener(`ended`,a)}).catch(e=>{console.error(`Error playing audio`,e)}),!n||!r||!t)return;let i=()=>{r.paused&&(n.style.backgroundImage.includes(t.pauseImage)||r.play())},a=()=>{n.style.backgroundImage=`url(${t.playImage})`},o=()=>{Object.assign(n.style,{backgroundImage:`url(${t.pauseImage})`,border:`1px solid #ccc`})},s=()=>{Object.assign(n.style,{backgroundImage:`url(${t.playImage})`,border:`1px solid #326295`})};n.addEventListener(`click`,i),r.addEventListener(`play`,o),r.addEventListener(`pause`,s),r.addEventListener(`ended`,a),this._handlePlayClick=i,this._handleAudioPlay=o,this._handleAudioPause=s,this._handleAudioEnded=a}removeCustomAudioButtonListeners(){let e=document.getElementById(`play-audio-button`),t=document.querySelector(`audio`);!e||!t||(e.removeEventListener(`click`,this._handlePlayClick),t.removeEventListener(`play`,this._handleAudioPlay),t.removeEventListener(`pause`,this._handleAudioPause),t.removeEventListener(`ended`,this._handleAudioEnded))}componentDidMount(){this.alignImages(),this.addCustomAudioButtonControls(),this.setupMathRendering()}componentDidUpdate(e){this.alignImages(),e.prompt!==this.props.prompt&&this.renderMathContent()}componentWillUnmount(){this.removeCustomAudioButtonListeners()}setupMathRendering(){this.renderMathContent()}renderMathContent(){let e=document.getElementById(`preview-prompt`);e&&typeof Ho==`function`&&Ho(e)}alignImages(){document.querySelectorAll(`#preview-prompt`).forEach(e=>{let t=e.getElementsByTagName(`img`);if(t&&t.length){for(let e of t)if(e.attributes&&e.attributes.alignment&&e.attributes.alignment.value){let t=e.attributes.alignment.value,n=t===`center`?`center`:t===`right`?`flex-end`:`flex-start`,r=e.parentElement;if(r.tagName===`DIV`&&r.style.display===`flex`&&r.style.width===`100%`)r.style.justifyContent=n;else{let t=document.createElement(`div`);t.style.display=`flex`,t.style.width=`100%`,t.style.justifyContent=n;let i=e.cloneNode(!0);t.appendChild(i),r.replaceChild(t,e)}}}})}render(){let{prompt:e,tagName:t,className:n,onClick:r,defaultClassName:i}=this.props,a=`${n||``} ${i||``} ${t===`legend`?`legend`:``}`.trim();return(0,G.jsx)(gS,{as:t||`div`,id:`preview-prompt`,onClick:r,className:a,tagName:t,dangerouslySetInnerHTML:{__html:this.parsedText(e||``).replace(_S,vS)}})}},bS=e=>(0,G.jsx)(G.Fragment,{children:U.Children.map(e.children,t=>U.cloneElement(t,{"data-pie-readable":e.false===void 0}))});bS.propTypes={children:z.node,false:z.bool};var xS=e=>(0,G.jsx)(G.Fragment,{children:U.Children.map(e.children,t=>U.cloneElement(t,{"data-pie-purpose":e.purpose}))});xS.propTypes={children:z.node,purpose:z.string};var SS;typeof window<`u`&&(SS=new DOMParser);var CS=e=>SS.parseFromString(e,`text/html`).body.textContent,wS=e=>{if(!e)return!1;let t=CS(e);return!!(t&&t.trim())},TS;typeof window<`u`&&(TS=new DOMParser);var ES=e=>{if(!e)return!1;let t=TS.parseFromString(e,`text/html`);return!!t.body.querySelector(`img`)||!!t.body.querySelector(`video`)||!!t.body.querySelector(`audio`)},DS=`data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAJYAyADAREAAhEBAxEB/8QAHgABAQABBQEBAQAAAAAAAAAAAAEIAgMGBwkEBQr/xABiEAACAQIDBAMKCAYMCgYLAQAAAQIDEQQFIQYSMUEHCFETFRYiUmFxkdHhCRRjgaGisfAXMjRTcsEjJDY4QmJ1dpKztMQYMzdEVIKyw9PxQ1hmc3SWJzVFRlZXhJOUldJk/8QAGwEBAQADAQEBAAAAAAAAAAAAAAcEBQYCAQP/xABBEQEAAQIDAgkJBgUFAQEBAAAAAQIDBAYRBSESMUFEYXGCscITNDVRcoGRocEUIjJS0eEVI2KSsjNCU6LwFtLx/9oADAMBAAIRAxEAPwD1TA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oAAAAAAAAAAAARq9vMBQAACa34aAUAAAAAAETTuk+HECgAAAAAAAAAEavzsBQAAABG7crgUAAAAAAAAAAAAAACJJXaXHiBQAE1vx0AoAAAAAf/Z`;function OS(e=``,t=2){if(!e)return e;let n=new DOMParser().parseFromString(e,`text/html`);return n.body.querySelectorAll(`[data-heading]`).forEach(e=>{let r=e.getAttribute(`data-heading`)||``,i=parseInt(r.replace(`heading`,``),10);if(!Number.isFinite(i))return;let a=Math.min(6,Math.max(1,t+i-1)),o=n.createElement(`h${a}`);o.setAttribute(`data-heading`,r),Array.from(e.attributes).forEach(e=>{e.name!==`data-heading`&&o.setAttribute(e.name,e.value)}),o.innerHTML=e.innerHTML,e.replaceWith(o)}),n.body.innerHTML}function kS(e){let{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:i=!1,...a}=e,o=i?{}:Tv(n,r),{props:s,internalRef:c}=Ov({...a,externalSlotProps:o}),l=G_(c,o?.ref,e.additionalProps?.ref);return wv(t,{...s,ref:l},r)}var AS=U.createContext({});function jS(e){return Gu(`MuiList`,e)}Ku(`MuiList`,[`root`,`padding`,`dense`,`subheader`]);var MS=e=>{let{classes:t,disablePadding:n,dense:r,subheader:i}=e;return ff({root:[`root`,!n&&`padding`,r&&`dense`,i&&`subheader`]},jS,t)},NS=X(`ul`,{name:`MuiList`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:`none`,margin:0,padding:0,position:`relative`,variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),PS=U.forwardRef(function(e,t){let n=Qg({props:e,name:`MuiList`}),{children:r,className:i,component:a=`ul`,dense:o=!1,disablePadding:s=!1,subheader:c,...l}=n,u=U.useMemo(()=>({dense:o}),[o]),d={...n,component:a,dense:o,disablePadding:s},f=MS(d);return(0,G.jsx)(AS.Provider,{value:u,children:(0,G.jsxs)(NS,{as:a,className:K(f.root,i),ref:t,ownerState:d,...l,children:[c,r]})})}),FS=Z_;function IS(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function LS(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function RS(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(``))}function zS(e,t,n,r,i,a){let o=!1,s=i(e,t,t?n:!1);for(;s;){if(s===e.firstChild){if(o)return!1;o=!0}let t=r?!1:s.disabled||s.getAttribute(`aria-disabled`)===`true`;if(!s.hasAttribute(`tabindex`)||!RS(s,a)||t)s=i(e,s,n);else return s.focus(),!0}return!1}var BS=U.forwardRef(function(e,t){let{actions:n,autoFocus:r=!1,autoFocusItem:i=!1,children:a,className:o,disabledItemsFocusable:s=!1,disableListWrap:c=!1,onKeyDown:l,variant:u=`selectedMenu`,...d}=e,f=U.useRef(null),p=U.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});sy(()=>{r&&f.current.focus()},[r]),U.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{let n=!f.current.style.width;if(e.clientHeight<f.current.clientHeight&&n){let n=`${FS(i_(e))}px`;f.current.style[t===`rtl`?`paddingLeft`:`paddingRight`]=n,f.current.style.width=`calc(100% + ${n})`}return f.current}}),[]);let m=e=>{let t=f.current,n=e.key;if(e.ctrlKey||e.metaKey||e.altKey){l&&l(e);return}let r=uv(n_(t));if(n===`ArrowDown`)e.preventDefault(),zS(t,r,c,s,IS);else if(n===`ArrowUp`)e.preventDefault(),zS(t,r,c,s,LS);else if(n===`Home`)e.preventDefault(),zS(t,null,c,s,IS);else if(n===`End`)e.preventDefault(),zS(t,null,c,s,LS);else if(n.length===1){let i=p.current,a=n.toLowerCase(),o=performance.now();i.keys.length>0&&(o-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&a!==i.keys[0]&&(i.repeating=!1)),i.lastTime=o,i.keys.push(a);let c=r&&!i.repeating&&RS(r,i);i.previousKeyMatched&&(c||zS(t,r,!1,s,IS,i))?e.preventDefault():i.previousKeyMatched=!1}l&&l(e)},h=K_(f,t),g=-1;U.Children.forEach(a,(e,t)=>{if(!U.isValidElement(e)){g===t&&(g+=1,g>=a.length&&(g=-1));return}e.props.disabled||(u===`selectedMenu`&&e.props.selected||g===-1)&&(g=t),g===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(g+=1,g>=a.length&&(g=-1))});let _=U.Children.map(a,(e,t)=>{if(t===g){let t={};return i&&(t.autoFocus=!0),e.props.tabIndex===void 0&&u===`selectedMenu`&&(t.tabIndex=0),U.cloneElement(e,t)}return e});return(0,G.jsx)(PS,{role:`menu`,ref:h,className:o,onKeyDown:m,tabIndex:r?0:-1,...d,children:_})});function VS(e){return Gu(`MuiMenu`,e)}Ku(`MuiMenu`,[`root`,`paper`,`list`]);var HS={vertical:`top`,horizontal:`right`},US={vertical:`top`,horizontal:`left`},WS=e=>{let{classes:t}=e;return ff({root:[`root`],paper:[`paper`],list:[`list`]},VS,t)},GS=X(yy,{shouldForwardProp:e=>Ep(e)||e===`classes`,name:`MuiMenu`,slot:`Root`})({}),KS=X(vy,{name:`MuiMenu`,slot:`Paper`})({maxHeight:`calc(100% - 96px)`,WebkitOverflowScrolling:`touch`}),qS=X(BS,{name:`MuiMenu`,slot:`List`})({outline:0}),JS=U.forwardRef(function(e,t){let n=Qg({props:e,name:`MuiMenu`}),{autoFocus:r=!0,children:i,className:a,disableAutoFocusItem:o=!1,MenuListProps:s={},onClose:c,open:l,PaperProps:u={},PopoverClasses:d,transitionDuration:f=`auto`,TransitionProps:{onEntering:p,...m}={},variant:h=`selectedMenu`,slots:g={},slotProps:_={},...v}=n,y=Ad(),b={...n,autoFocus:r,disableAutoFocusItem:o,MenuListProps:s,onEntering:p,PaperProps:u,transitionDuration:f,TransitionProps:m,variant:h},x=WS(b),S=r&&!o&&l,C=U.useRef(null),w=(e,t)=>{C.current&&C.current.adjustStyleForScrollbar(e,{direction:y?`rtl`:`ltr`}),p&&p(e,t)},T=e=>{e.key===`Tab`&&(e.preventDefault(),c&&c(e,`tabKeyDown`))},E=-1;U.Children.map(i,(e,t)=>{U.isValidElement(e)&&(e.props.disabled||(h===`selectedMenu`&&e.props.selected||E===-1)&&(E=t))});let D={slots:g,slotProps:{list:s,transition:m,paper:u,..._}},ee=kS({elementType:g.root,externalSlotProps:_.root,ownerState:b,className:[x.root,a]}),[O,te]=kv(`paper`,{className:x.paper,elementType:KS,externalForwardedProps:D,shouldForwardComponentProp:!0,ownerState:b}),[k,A]=kv(`list`,{className:K(x.list,s.className),elementType:qS,shouldForwardComponentProp:!0,externalForwardedProps:D,getSlotProps:e=>({...e,onKeyDown:t=>{T(t),e.onKeyDown?.(t)}}),ownerState:b}),ne=typeof D.slotProps.transition==`function`?D.slotProps.transition(b):D.slotProps.transition;return(0,G.jsx)(GS,{onClose:c,anchorOrigin:{vertical:`bottom`,horizontal:y?`right`:`left`},transformOrigin:y?HS:US,slots:{root:g.root,paper:O,backdrop:g.backdrop,...g.transition&&{transition:g.transition}},slotProps:{root:ee,paper:te,backdrop:typeof _.backdrop==`function`?_.backdrop(b):_.backdrop,transition:{...ne,onEntering:(...e)=>{w(...e),ne?.onEntering?.(...e)}}},open:l,ref:t,transitionDuration:f,ownerState:b,...v,classes:d,children:(0,G.jsx)(k,{actions:C,autoFocus:r&&(E===-1||o),autoFocusItem:S,variant:h,...A,children:i})})}),YS=({slotProps:e,...t})=>(0,G.jsx)(JS,{...t,disableScrollLock:!0,hideBackdrop:!0,slotProps:{...e,root:{...e?.root,style:{backgroundColor:`transparent`,pointerEvents:`none`,...e?.root?.style}},paper:{...e?.paper,style:{pointerEvents:`auto`,...e?.paper?.style}}}}),XS=s({Collapsible:()=>Hb,EnableAudioAutoplayImage:()=>DS,Feedback:()=>Cb,HtmlAndMath:()=>qx,InlineMenu:()=>YS,InputContainer:()=>hS,PreviewLayout:()=>Kx,PreviewPrompt:()=>yS,Purpose:()=>xS,Readable:()=>bS,UiLayout:()=>Wx,color:()=>Sy,hasMedia:()=>ES,hasText:()=>wS,indicators:()=>wb,transformDataHeadings:()=>OS,withUndoReset:()=>Vx}),$=e=>typeof e==`string`,ZS=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},QS=e=>e==null?``:``+e,$S=(e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})},eC=/###/g,tC=e=>e&&e.indexOf(`###`)>-1?e.replace(eC,`.`):e,nC=e=>!e||$(e),rC=(e,t,n)=>{let r=$(t)?t.split(`.`):t,i=0;for(;i<r.length-1;){if(nC(e))return{};let t=tC(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return nC(e)?{}:{obj:e,k:tC(r[i])}},iC=(e,t,n)=>{let{obj:r,k:i}=rC(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let a=t[t.length-1],o=t.slice(0,t.length-1),s=rC(e,o,Object);for(;s.obj===void 0&&o.length;)a=`${o[o.length-1]}.${a}`,o=o.slice(0,o.length-1),s=rC(e,o,Object),s?.obj&&s.obj[`${s.k}.${a}`]!==void 0&&(s.obj=void 0);s.obj[`${s.k}.${a}`]=n},aC=(e,t,n,r)=>{let{obj:i,k:a}=rC(e,t,Object);i[a]=i[a]||[],i[a].push(n)},oC=(e,t)=>{let{obj:n,k:r}=rC(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},sC=(e,t,n)=>{let r=oC(e,n);return r===void 0?oC(t,n):r},cC=(e,t,n)=>{for(let r in t)r!==`__proto__`&&r!==`constructor`&&(r in e?$(e[r])||e[r]instanceof String||$(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):cC(e[r],t[r],n):e[r]=t[r]);return e},lC=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,`\\$&`),uC={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`,"/":`/`},dC=e=>$(e)?e.replace(/[&<>"'\/]/g,e=>uC[e]):e,fC=class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(t!==void 0)return t;let n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}},pC=[` `,`,`,`?`,`!`,`;`],mC=new fC(20),hC=(e,t,n)=>{t||=``,n||=``;let r=pC.filter(e=>t.indexOf(e)<0&&n.indexOf(e)<0);if(r.length===0)return!0;let i=mC.getRegExp(`(${r.map(e=>e===`?`?`\\?`:e).join(`|`)})`),a=!i.test(e);if(!a){let t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(a=!0)}return a},gC=(e,t,n=`.`)=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;let r=t.split(n),i=e;for(let e=0;e<r.length;){if(!i||typeof i!=`object`)return;let t,a=``;for(let o=e;o<r.length;++o)if(o!==e&&(a+=n),a+=r[o],t=i[a],t!==void 0){if([`string`,`number`,`boolean`].indexOf(typeof t)>-1&&o<r.length-1)continue;e+=o-e+1;break}i=t}return i},_C=e=>e?.replace(/_/g,`-`),vC={type:`logger`,log(e){this.output(`log`,e)},warn(e){this.output(`warn`,e)},error(e){this.output(`error`,e)},output(e,t){console?.[e]?.apply?.(console,t)}},yC=new class e{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||`i18next:`,this.logger=e||vC,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,`log`,``,!0)}warn(...e){return this.forward(e,`warn`,``,!0)}error(...e){return this.forward(e,`error`,``)}deprecate(...e){return this.forward(e,`warn`,`WARNING DEPRECATED: `,!0)}forward(e,t,n,r){return r&&!this.debug?null:($(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(t){return new e(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t||=this.options,t.prefix=t.prefix||this.prefix,new e(this.logger,t)}},bC=class{constructor(){this.observers={}}on(e,t){return e.split(` `).forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r<n;r++)e(...t)}),this.observers[`*`]&&Array.from(this.observers[`*`].entries()).forEach(([n,r])=>{for(let i=0;i<r;i++)n.apply(n,[e,...t])})}},xC=class extends bC{constructor(e,t={ns:[`translation`],defaultNS:`translation`}){super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n,r={}){let i=r.keySeparator===void 0?this.options.keySeparator:r.keySeparator,a=r.ignoreJSONStructure===void 0?this.options.ignoreJSONStructure:r.ignoreJSONStructure,o;e.indexOf(`.`)>-1?o=e.split(`.`):(o=[e,t],n&&(Array.isArray(n)?o.push(...n):$(n)&&i?o.push(...n.split(i)):o.push(n)));let s=oC(this.data,o);return!s&&!t&&!n&&e.indexOf(`.`)>-1&&(e=o[0],t=o[1],n=o.slice(2).join(`.`)),s||!a||!$(n)?s:gC(this.data?.[e]?.[t],n,i)}addResource(e,t,n,r,i={silent:!1}){let a=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,o=[e,t];n&&(o=o.concat(a?n.split(a):n)),e.indexOf(`.`)>-1&&(o=e.split(`.`),r=t,t=o[1]),this.addNamespaces(t),iC(this.data,o,r),i.silent||this.emit(`added`,e,t,n,r)}addResources(e,t,n,r={silent:!1}){for(let r in n)($(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit(`added`,e,t,n)}addResourceBundle(e,t,n,r,i,a={silent:!1,skipCopy:!1}){let o=[e,t];e.indexOf(`.`)>-1&&(o=e.split(`.`),r=n,n=t,t=o[1]),this.addNamespaces(t);let s=oC(this.data,o)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?cC(s,n,i):s={...s,...n},iC(this.data,o,s),a.silent||this.emit(`added`,e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit(`removed`,e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||=this.options.defaultNS,this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}},SC={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,i)??t}),t}},CC=Symbol(`i18next/PATH_KEY`);function wC(){let e=[],t=Object.create(null),n;return t.get=(r,i)=>(n?.revoke?.(),i===CC?e:(e.push(i),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}function TC(e,t){let{[CC]:n}=e(wC()),r=t?.keySeparator??`.`,i=t?.nsSeparator??`:`;if(n.length>1&&i){let e=t?.ns,a=Array.isArray(e)?e:null;if(a&&a.length>1&&a.slice(1).includes(n[0]))return`${n[0]}${i}${n.slice(1).join(r)}`}return n.join(r)}var EC={},DC=e=>!$(e)&&typeof e!=`boolean`&&typeof e!=`number`,OC=class e extends bC{constructor(e,t={}){super(),$S([`resourceStore`,`languageUtils`,`pluralResolver`,`interpolator`,`backendConnector`,`i18nFormat`,`utils`],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.logger=yC.create(`translator`)}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let n={...t};if(e==null)return!1;let r=this.resolve(e,n);if(r?.res===void 0)return!1;let i=DC(r.res);return!(n.returnObjects===!1&&i)}extractFromKey(e,t){let n=t.nsSeparator===void 0?this.options.nsSeparator:t.nsSeparator;n===void 0&&(n=`:`);let r=t.keySeparator===void 0?this.options.keySeparator:t.keySeparator,i=t.ns||this.options.defaultNS||[],a=n&&e.indexOf(n)>-1,o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!hC(e,n,r);if(a&&!o){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:$(i)?[i]:i};let a=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(a[0])>-1)&&(i=a.shift()),e=a.join(r)}return{key:e,namespaces:$(i)?[i]:i}}translate(t,n,r){let i=typeof n==`object`?{...n}:n;if(typeof i!=`object`&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),typeof i==`object`&&(i={...i}),i||={},t==null)return``;typeof t==`function`&&(t=TC(t,{...this.options,...i})),Array.isArray(t)||(t=[String(t)]),t=t.map(e=>typeof e==`function`?TC(e,{...this.options,...i}):String(e));let a=i.returnDetails===void 0?this.options.returnDetails:i.returnDetails,o=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,{key:s,namespaces:c}=this.extractFromKey(t[t.length-1],i),l=c[c.length-1],u=i.nsSeparator===void 0?this.options.nsSeparator:i.nsSeparator;u===void 0&&(u=`:`);let d=i.lng||this.language,f=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d?.toLowerCase()===`cimode`)return f?a?{res:`${l}${u}${s}`,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:`${l}${u}${s}`:a?{res:s,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:s;let p=this.resolve(t,i),m=p?.res,h=p?.usedKey||s,g=p?.exactUsedKey||s,_=[`[object Number]`,`[object Function]`,`[object RegExp]`],v=i.joinArrays===void 0?this.options.joinArrays:i.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,b=i.count!==void 0&&!$(i.count),x=e.hasDefaultValue(i),S=b?this.pluralResolver.getSuffix(d,i.count,i):``,C=i.ordinal&&b?this.pluralResolver.getSuffix(d,i.count,{ordinal:!1}):``,w=b&&!i.ordinal&&i.count===0,T=w&&i[`defaultValue${this.options.pluralSeparator}zero`]||i[`defaultValue${S}`]||i[`defaultValue${C}`]||i.defaultValue,E=m;y&&!m&&x&&(E=T);let D=DC(E),ee=Object.prototype.toString.apply(E);if(y&&E&&D&&_.indexOf(ee)<0&&!($(v)&&Array.isArray(E))){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn(`accessing an object - but returnObjects options is not enabled!`);let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,E,{...i,ns:c}):`key '${s} (${this.language})' returned an object instead of string.`;return a?(p.res=e,p.usedParams=this.getUsedParamsDetails(i),p):e}if(o){let e=Array.isArray(E),t=e?[]:{},n=e?g:h;for(let e in E)if(Object.prototype.hasOwnProperty.call(E,e)){let r=`${n}${o}${e}`;x&&!m?t[e]=this.translate(r,{...i,defaultValue:DC(T)?T[e]:void 0,joinArrays:!1,ns:c}):t[e]=this.translate(r,{...i,joinArrays:!1,ns:c}),t[e]===r&&(t[e]=E[e])}m=t}}else if(y&&$(v)&&Array.isArray(m))m=m.join(v),m&&=this.extendTranslation(m,t,i,r);else{let e=!1,n=!1;!this.isValidLookup(m)&&x&&(e=!0,m=T),this.isValidLookup(m)||(n=!0,m=s);let a=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:m,c=x&&T!==m&&this.options.updateMissing;if(n||e||c){if(this.logger.log(c?`updateKey`:`missingKey`,d,l,s,c?T:m),o){let e=this.resolve(s,{...i,keySeparator:!1});e&&e.res&&this.logger.warn(`Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.`)}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo===`fallback`&&t&&t[0])for(let n=0;n<t.length;n++)e.push(t[n]);else this.options.saveMissingTo===`all`?e=this.languageUtils.toResolveHierarchy(i.lng||this.language):e.push(i.lng||this.language);let n=(e,t,n)=>{let r=x&&n!==m?n:a;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,t,r,c,i):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,l,t,r,c,i),this.emit(`missingKey`,e,l,t,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,i);w&&i[`defaultValue${this.options.pluralSeparator}zero`]&&t.indexOf(`${this.options.pluralSeparator}zero`)<0&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],s+t,i[`defaultValue${t}`]||T)})}):n(e,s,T))}m=this.extendTranslation(m,t,i,p,r),n&&m===s&&this.options.appendNamespaceToMissingKey&&(m=`${l}${u}${s}`),(n||e)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}${u}${s}`:s,e?m:void 0,i))}return a?(p.res=m,p.usedParams=this.getUsedParamsDetails(i),p):m}extendTranslation(e,t,n,r,i){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let a=$(e)&&(n?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:n.interpolation.skipOnVariables),o;if(a){let t=e.match(this.interpolator.nestingRegexp);o=t&&t.length}let s=n.replace&&!$(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),e=this.interpolator.interpolate(e,s,n.lng||this.language||r.usedLng,n),a){let t=e.match(this.interpolator.nestingRegexp),r=t&&t.length;o<r&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),n.nest!==!1&&(e=this.interpolator.nest(e,(...e)=>i?.[0]===e[0]&&!n.context?(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null):this.translate(...e,t),n)),n.interpolation&&this.interpolator.reset()}let a=n.postProcess||this.options.postProcess,o=$(a)?[a]:a;return e!=null&&o?.length&&n.applyPostProcessor!==!1&&(e=SC.handle(o,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e,t={}){let n,r,i,a,o;return $(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(e=>typeof e==`function`?TC(e,{...this.options,...t}):e)),e.forEach(e=>{if(this.isValidLookup(n))return;let s=this.extractFromKey(e,t),c=s.key;r=c;let l=s.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));let u=t.count!==void 0&&!$(t.count),d=u&&!t.ordinal&&t.count===0,f=t.context!==void 0&&($(t.context)||typeof t.context==`number`)&&t.context!==``,p=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);l.forEach(e=>{this.isValidLookup(n)||(o=e,!EC[`${p[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(o)&&(EC[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${p.join(`, `)}" won't get resolved as namespace "${o}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`)),p.forEach(r=>{if(this.isValidLookup(n))return;a=r;let o=[c];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,c,r,e,t);else{let e;u&&(e=this.pluralResolver.getSuffix(r,t.count,t));let n=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(t.ordinal&&e.indexOf(i)===0&&o.push(c+e.replace(i,this.options.pluralSeparator)),o.push(c+e),d&&o.push(c+n)),f){let r=`${c}${this.options.contextSeparator||`_`}${t.context}`;o.push(r),u&&(t.ordinal&&e.indexOf(i)===0&&o.push(r+e.replace(i,this.options.pluralSeparator)),o.push(r+e),d&&o.push(r+n))}}let s;for(;s=o.pop();)this.isValidLookup(n)||(i=s,n=this.getResource(r,e,s,t))}))})}),{res:n,usedKey:r,exactUsedKey:i,usedLng:a,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e===``)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(e={}){let t=[`defaultValue`,`ordinal`,`context`,`replace`,`lng`,`lngs`,`fallbackLng`,`ns`,`keySeparator`,`nsSeparator`,`returnObjects`,`returnDetails`,`joinArrays`,`postProcess`,`interpolation`],n=e.replace&&!$(e.replace),r=n?e.replace:e;if(n&&e.count!==void 0&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(let e of t)delete r[e]}return r}static hasDefaultValue(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&t.substring(0,12)===`defaultValue`&&e[t]!==void 0)return!0;return!1}},kC=class{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=yC.create(`languageUtils`)}getScriptPartFromCode(e){if(e=_C(e),!e||e.indexOf(`-`)<0)return null;let t=e.split(`-`);return t.length===2||(t.pop(),t[t.length-1].toLowerCase()===`x`)?null:this.formatLanguageCode(t.join(`-`))}getLanguagePartFromCode(e){if(e=_C(e),!e||e.indexOf(`-`)<0)return e;let t=e.split(`-`);return this.formatLanguageCode(t[0])}formatLanguageCode(e){if($(e)&&e.indexOf(`-`)>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch{}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load===`languageOnly`||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;let r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>{if(e===r||!(e.indexOf(`-`)<0&&r.indexOf(`-`)<0)&&(e.indexOf(`-`)>0&&r.indexOf(`-`)<0&&e.substring(0,e.indexOf(`-`))===r||e.indexOf(r)===0&&r.length>1))return e})}),t||=this.getFallbackCodes(this.options.fallbackLng)[0],t}getFallbackCodes(e,t){if(!e)return[];if(typeof e==`function`&&(e=e(t)),$(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||=e[this.getScriptPartFromCode(t)],n||=e[this.formatLanguageCode(t)],n||=e[this.getLanguagePartFromCode(t)],n||=e.default,n||[]}toResolveHierarchy(e,t){let n=this.getFallbackCodes((t===!1?[]:t)||this.options.fallbackLng||[],e),r=[],i=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return $(e)&&(e.indexOf(`-`)>-1||e.indexOf(`_`)>-1)?(this.options.load!==`languageOnly`&&i(this.formatLanguageCode(e)),this.options.load!==`languageOnly`&&this.options.load!==`currentOnly`&&i(this.getScriptPartFromCode(e)),this.options.load!==`currentOnly`&&i(this.getLanguagePartFromCode(e))):$(e)&&i(this.formatLanguageCode(e)),n.forEach(e=>{r.indexOf(e)<0&&i(this.formatLanguageCode(e))}),r}},AC={zero:0,one:1,two:2,few:3,many:4,other:5},jC={select:e=>e===1?`one`:`other`,resolvedOptions:()=>({pluralCategories:[`one`,`other`]})},MC=class{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=yC.create(`pluralResolver`),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let n=_C(e===`dev`?`en`:e),r=t.ordinal?`ordinal`:`cardinal`,i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let a;try{a=new Intl.PluralRules(n,{type:r})}catch{if(typeof Intl>`u`)return this.logger.error(`No Intl support, please use an Intl polyfill!`),jC;if(!e.match(/-|_/))return jC;let n=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(n,t)}return this.pluralRulesCache[i]=a,a}needsPlural(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?n.resolvedOptions().pluralCategories.sort((e,t)=>AC[e]-AC[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:``}${e}`):[]}getSuffix(e,t,n={}){let r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:``}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix(`dev`,t,n))}},NC=(e,t,n,r=`.`,i=!0)=>{let a=sC(e,t,n);return!a&&i&&$(n)&&(a=gC(e,n,r),a===void 0&&(a=gC(t,n,r))),a},PC=e=>e.replace(/\$/g,`$$$$`),FC=class{constructor(e={}){this.logger=yC.create(`interpolator`),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||={escapeValue:!0};let{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:a,suffix:o,suffixEscaped:s,formatSeparator:c,unescapeSuffix:l,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:m,nestingOptionsSeparator:h,maxReplaces:g,alwaysFormat:_}=e.interpolation;this.escape=t===void 0?dC:t,this.escapeValue=n===void 0?!0:n,this.useRawValueToEscape=r===void 0?!1:r,this.prefix=i?lC(i):a||`{{`,this.suffix=o?lC(o):s||`}}`,this.formatSeparator=c||`,`,this.unescapePrefix=l?``:u||`-`,this.unescapeSuffix=this.unescapePrefix?``:l||``,this.nestingPrefix=d?lC(d):f||lC(`$t(`),this.nestingSuffix=p?lC(p):m||lC(`)`),this.nestingOptionsSeparator=h||`,`,this.maxReplaces=g||1e3,this.alwaysFormat=_===void 0?!1:_,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,`g`);this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,a,o,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(e.indexOf(this.formatSeparator)<0){let i=NC(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),a=i.shift().trim(),o=i.join(this.formatSeparator).trim();return this.format(NC(t,s,a,this.options.keySeparator,this.options.ignoreJSONStructure),o,n,{...r,...t,interpolationkey:a})};this.resetRegExp();let l=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,u=r?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:r.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>PC(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?PC(this.escape(e)):PC(e)}].forEach(t=>{for(o=0;i=t.regex.exec(e);){let n=i[1].trim();if(a=c(n),a===void 0)if(typeof l==`function`){let t=l(e,i,r);a=$(t)?t:``}else if(r&&Object.prototype.hasOwnProperty.call(r,n))a=``;else if(u){a=i[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),a=``;else !$(a)&&!this.useRawValueToEscape&&(a=QS(a));let s=t.safeValue(a);if(e=e.replace(i[0],s),u?(t.regex.lastIndex+=a.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t,n={}){let r,i,a,o=(e,t)=>{let n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;let r=e.split(RegExp(`${lC(n)}[ ]*{`)),i=`{${r[1]}`;e=r[0],i=this.interpolate(i,a);let o=i.match(/'/g),s=i.match(/"/g);((o?.length??0)%2==0&&!s||(s?.length??0)%2!=0)&&(i=i.replace(/'/g,`"`));try{a=JSON.parse(i),t&&(a={...t,...a})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,e};for(;r=this.nestingRegexp.exec(e);){let s=[];a={...n},a=a.replace&&!$(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let c=/{.*}/.test(r[1])?r[1].lastIndexOf(`}`)+1:r[1].indexOf(this.formatSeparator);if(c!==-1&&(s=r[1].slice(c).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),r[1]=r[1].slice(0,c)),i=t(o.call(this,r[1].trim(),a),a),i&&r[0]===e&&!$(i))return i;$(i)||(i=QS(i)),i||=(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),``),s.length&&(i=s.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),i.trim())),e=e.replace(r[0],i),this.regexp.lastIndex=0}return e}},IC=e=>{let t=e.toLowerCase().trim(),n={};if(e.indexOf(`(`)>-1){let r=e.split(`(`);t=r[0].toLowerCase().trim();let i=r[1].substring(0,r[1].length-1);t===`currency`&&i.indexOf(`:`)<0?n.currency||=i.trim():t===`relativetime`&&i.indexOf(`:`)<0?n.range||=i.trim():i.split(`;`).forEach(e=>{if(e){let[t,...r]=e.split(`:`),i=r.join(`:`).trim().replace(/^'+|'+$/g,``),a=t.trim();n[a]||(n[a]=i),i===`false`&&(n[a]=!1),i===`true`&&(n[a]=!0),isNaN(i)||(n[a]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}},LC=e=>{let t={};return(n,r,i)=>{let a=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(a={...a,[i.interpolationkey]:void 0});let o=r+JSON.stringify(a),s=t[o];return s||(s=e(_C(r),i),t[o]=s),s(n)}},RC=e=>(t,n,r)=>e(_C(n),r)(t),zC=class{constructor(e={}){this.logger=yC.create(`formatter`),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||`,`;let n=t.cacheInBuiltFormats?LC:RC;this.formats={number:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:`currency`});return e=>n.format(e)}),datetime:n((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||`day`)}),list:n((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=LC(t)}format(e,t,n,r={}){let i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf(`(`)>1&&i[0].indexOf(`)`)<0&&i.find(e=>e.indexOf(`)`)>-1)){let e=i.findIndex(e=>e.indexOf(`)`)>-1);i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}return i.reduce((e,t)=>{let{formatName:i,formatOptions:a}=IC(t);if(this.formats[i]){let t=e;try{let o=r?.formatParams?.[r.interpolationkey]||{},s=o.locale||o.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...a,...r,...o})}catch(e){this.logger.warn(e)}return t}else this.logger.warn(`there was no format function for ${i}`);return e},e)}},BC=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)},VC=class extends bC{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=yC.create(`backendConnector`),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){let i={},a={},o={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{let o=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:this.state[o]<0||(this.state[o]===1?a[o]===void 0&&(a[o]=!0):(this.state[o]=1,r=!1,a[o]===void 0&&(a[o]=!0),i[o]===void 0&&(i[o]=!0),s[t]===void 0&&(s[t]=!0)))}),r||(o[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){let r=e.split(`|`),i=r[0],a=r[1];t&&this.emit(`failedLoading`,i,a,t),!t&&n&&this.store.addResourceBundle(i,a,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);let o={};this.queue.forEach(n=>{aC(n.loaded,[i],a),BC(n,e),t&&n.errors.push(t),n.pendingCount===0&&!n.done&&(Object.keys(n.loaded).forEach(e=>{o[e]||(o[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{o[e][t]===void 0&&(o[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit(`loaded`,o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,i=this.retryTimeout,a){if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:a});return}this.readingCalls++;let o=(o,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(o&&s&&r<this.maxRetries){setTimeout(()=>{this.read.call(this,e,t,n,r+1,i*2,a)},i);return}a(o,s)},s=this.backend[n].bind(this.backend);if(s.length===2){try{let n=s(e,t);n&&typeof n.then==`function`?n.then(e=>o(null,e)).catch(o):o(null,n)}catch(e){o(e)}return}return s(e,t,o)}prepareLoading(e,t,n={},r){if(!this.backend)return this.logger.warn(`No backend was added via i18next.use. Will not load resources.`),r&&r();$(e)&&(e=this.languageUtils.toResolveHierarchy(e)),$(t)&&(t=[t]);let i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=``){let n=e.split(`|`),r=n[0],i=n[1];this.read(r,i,`read`,void 0,void 0,(n,a)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&a&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,a),this.loaded(e,n,a)})}saveMissing(e,t,n,r,i,a={},o=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`);return}if(!(n==null||n===``)){if(this.backend?.create){let s={...a,isUpdate:i},c=this.backend.create.bind(this.backend);if(c.length<6)try{let i;i=c.length===5?c(e,t,n,r,s):c(e,t,n,r),i&&typeof i.then==`function`?i.then(e=>o(null,e)).catch(o):o(null,i)}catch(e){o(e)}else c(e,t,n,r,o,s)}!e||!e[0]||this.store.addResource(e[0],t,n,r)}}},HC=()=>({debug:!1,initAsync:!0,ns:[`translation`],defaultNS:[`translation`],fallbackLng:[`dev`],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:`all`,preload:!1,simplifyPluralSuffix:!0,keySeparator:`.`,nsSeparator:`:`,pluralSeparator:`_`,contextSeparator:`_`,partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:`fallback`,saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]==`object`&&(t=e[1]),$(e[1])&&(t.defaultValue=e[1]),$(e[2])&&(t.tDescription=e[2]),typeof e[2]==`object`||typeof e[3]==`object`){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:`{{`,suffix:`}}`,formatSeparator:`,`,unescapePrefix:`-`,nestingPrefix:`$t(`,nestingSuffix:`)`,nestingOptionsSeparator:`,`,maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),UC=e=>($(e.ns)&&(e.ns=[e.ns]),$(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),$(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.(`cimode`)<0&&(e.supportedLngs=e.supportedLngs.concat([`cimode`])),typeof e.initImmediate==`boolean`&&(e.initAsync=e.initImmediate),e),WC=()=>{},GC=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]==`function`&&(e[t]=e[t].bind(e))})},KC=`__i18next_supportNoticeShown`,qC=()=>!!(typeof globalThis<`u`&&globalThis[KC]||typeof process<`u`&&process.env&&process.env.I18NEXT_NO_SUPPORT_NOTICE||typeof process<`u`&&process.env),JC=()=>{typeof globalThis<`u`&&(globalThis[KC]=!0)},YC=e=>!!(e?.modules?.backend?.name?.indexOf(`Locize`)>0||e?.modules?.backend?.constructor?.name?.indexOf(`Locize`)>0||e?.options?.backend?.backends&&e.options.backend.backends.some(e=>e?.name?.indexOf(`Locize`)>0||e?.constructor?.name?.indexOf(`Locize`)>0)||e?.options?.backend?.projectId||e?.options?.backend?.backendOptions&&e.options.backend.backendOptions.some(e=>e?.projectId)),XC=class e extends bC{constructor(e={},t){if(super(),this.options=UC(e),this.services={},this.logger=yC,this.modules={external:[]},GC(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,typeof e==`function`&&(t=e,e={}),e.defaultNS==null&&e.ns&&($(e.ns)?e.defaultNS=e.ns:e.ns.indexOf(`translation`)<0&&(e.defaultNS=e.ns[0]));let n=HC();this.options={...n,...this.options,...UC(e)},this.options.interpolation={...n.interpolation,...this.options.interpolation},e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator),typeof this.options.overloadTranslationOptionHandler!=`function`&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler),this.options.showSupportNotice!==!1&&!YC(this)&&!qC()&&(typeof console<`u`&&console.info!==void 0&&console.info(`🌐 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙`),JC());let r=e=>e?typeof e==`function`?new e:e:null;if(!this.options.isClone){this.modules.logger?yC.init(r(this.modules.logger),this.options):yC.init(null,this.options);let e;e=this.modules.formatter?this.modules.formatter:zC;let t=new kC(this.options);this.store=new xC(this.options.resources,this.options);let i=this.services;i.logger=yC,i.resourceStore=this.store,i.languageUtils=t,i.pluralResolver=new MC(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format&&this.logger.deprecate(`init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting`),e&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(i.formatter=r(e),i.formatter.init&&i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new FC(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new VC(r(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(i.languageDetector=r(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=r(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new OC(this.services,this.options),this.translator.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||=WC,this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&e[0]!==`dev`&&(this.options.lng=e[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn(`init: no languageDetector is used and no lng is defined`),[`getResource`,`hasResourceBundle`,`getResourceBundle`,`getDataByLanguage`].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),[`addResource`,`addResources`,`addResourceBundle`,`removeResourceBundle`].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let i=ZS(),a=()=>{let e=(e,n)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn(`init: i18next is already initialized. You should call init just once!`),this.isInitialized=!0,this.options.isClone||this.logger.log(`initialized`,this.options),this.emit(`initialized`,this.options),i.resolve(n),t(e,n)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?a():setTimeout(a,0),i}loadResources(e,t=WC){let n=t,r=$(e)?e:this.language;if(typeof e==`function`&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r?.toLowerCase()===`cimode`&&(!this.options.preload||this.options.preload.length===0))return n();let e=[],t=t=>{t&&t!==`cimode`&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{t!==`cimode`&&e.indexOf(t)<0&&e.push(t)})};r?t(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{!e&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){let r=ZS();return typeof e==`function`&&(n=e,e=void 0),typeof t==`function`&&(n=t,t=void 0),e||=this.languages,t||=this.options.ns,n||=WC,this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error(`You are passing an undefined module! Please check the object you are passing to i18next.use()`);if(!e.type)throw Error(`You are passing a wrong module! Please check the object you are passing to i18next.use()`);return e.type===`backend`&&(this.modules.backend=e),(e.type===`logger`||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type===`languageDetector`&&(this.modules.languageDetector=e),e.type===`i18nFormat`&&(this.modules.i18nFormat=e),e.type===`postProcessor`&&SC.addPostProcessor(e),e.type===`formatter`&&(this.modules.formatter=e),e.type===`3rdParty`&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!([`cimode`,`dev`].indexOf(e)>-1)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!([`cimode`,`dev`].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let n=ZS();this.emit(`languageChanging`,e);let r=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(i,a)=>{a?this.isLanguageChangingTo===e&&(r(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit(`languageChanged`,a),this.logger.log(`languageChanged`,a)):this.isLanguageChangingTo=void 0,n.resolve((...e)=>this.t(...e)),t&&t(i,(...e)=>this.t(...e))},a=t=>{!e&&!t&&this.services.languageDetector&&(t=[]);let n=$(t)?t:t&&t[0],a=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes($(t)?[t]:t);a&&(this.language||r(a),this.translator.language||this.translator.changeLanguage(a),this.services.languageDetector?.cacheUserLanguage?.(a)),this.loadResources(a,e=>{i(e,a)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?a(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e),n}getFixedT(e,t,n){let r=(e,t,...i)=>{let a;a=typeof t==`object`?{...t}:this.options.overloadTranslationOptionHandler([e,t].concat(i)),a.lng=a.lng||r.lng,a.lngs=a.lngs||r.lngs,a.ns=a.ns||r.ns,a.keyPrefix!==``&&(a.keyPrefix=a.keyPrefix||n||r.keyPrefix);let o={...this.options,...a};typeof a.keyPrefix==`function`&&(a.keyPrefix=TC(a.keyPrefix,o));let s=this.options.keySeparator||`.`,c;return a.keyPrefix&&Array.isArray(e)?c=e.map(e=>(typeof e==`function`&&(e=TC(e,o)),`${a.keyPrefix}${s}${e}`)):(typeof e==`function`&&(e=TC(e,o)),c=a.keyPrefix?`${a.keyPrefix}${s}${e}`:e),this.t(c,a)};return $(e)?r.lng=e:r.lngs=e,r.ns=t,r.keyPrefix=n,r}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn(`hasLoadedNamespace: i18next was not initialized`,this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn(`hasLoadedNamespace: i18n.languages were undefined or empty`,this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(n.toLowerCase()===`cimode`)return!0;let a=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return n===-1||n===0||n===2};if(t.precheck){let e=t.precheck(this,a);if(e!==void 0)return e}return!!(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(n,e)&&(!r||a(i,e)))}loadNamespaces(e,t){let n=ZS();return this.options.ns?($(e)&&(e=[e]),e.forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=ZS();$(e)&&(e=[e]);let r=this.options.preload||[],i=e.filter(e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return i.length?(this.options.preload=r.concat(i),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language),!e)return`rtl`;try{let t=new Intl.Locale(e);if(t&&t.getTextInfo){let e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch{}let t=`ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb`.split(`.`),n=this.services?.languageUtils||new kC(HC());return e.toLowerCase().indexOf(`-latn`)>1?`ltr`:t.indexOf(n.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf(`-arab`)>1?`rtl`:`ltr`}static createInstance(t={},n){let r=new e(t,n);return r.createInstance=e.createInstance,r}cloneInstance(t={},n=WC){let r=t.forkResourceStore;r&&delete t.forkResourceStore;let i={...this.options,...t,isClone:!0},a=new e(i);if((t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),[`store`,`services`,`language`].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},r&&(a.store=new xC(Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((n,r)=>(n[r]={...e[t][r]},n),e[t]),e),{}),i),a.services.resourceStore=a.store),t.interpolation){let e={...HC().interpolation,...this.options.interpolation,...t.interpolation},n={...i,interpolation:e};a.services.interpolator=new FC(n)}return a.translator=new OC(a.services,i),a.translator.on(`*`,(e,...t)=>{a.emit(e,...t)}),a.init(i,n),a.translator.options=i,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}.createInstance();XC.createInstance,XC.dir,XC.init,XC.loadResources,XC.reloadResources,XC.use,XC.changeLanguage,XC.getFixedT,XC.t,XC.exists,XC.setDefaultNamespace,XC.hasLoadedNamespace,XC.loadNamespaces,XC.loadLanguages,XC.init({fallbackLng:`en`,lng:`en`,debug:!0,resources:{en:{translation:{categorize:{limitMaxChoicesPerCategory:`You've reached the limit of {{maxChoicesPerCategory}} responses per area. To add another response, one must first be removed.`,maxChoicesPerCategoryRestriction:`To change this value to {{maxChoicesPerCategory}}, each category must have {{maxChoicesPerCategory}} or fewer answer choice[s].`},ebsr:{part:`Part {{index}}`},numberLine:{addElementLimit_one:`You can only add {{count}} element`,addElementLimit_other:`You can only add {{count}} elements`,clearAll:`Clear all`},imageClozeAssociation:{reachedLimit_one:`You’ve reached the limit of {{count}} response per area. To add another response, one must first be removed.`,reachedLimit_other:`Full`},drawingResponse:{fillColor:`Fill color`,outlineColor:`Outline color`,noFill:`No fill`,lightblue:`Light blue`,lightyellow:`Light yellow`,red:`Red`,orange:`Orange`,yellow:`Yellow`,violet:`Violet`,blue:`Blue`,green:`Green`,white:`White`,black:`Black`,onDoubleClick:`Double click to edit this text. Press Enter to submit.`},charting:{addCategory:`Add category`,actions:`Actions`,add:`Add`,delete:`Delete`,newLabel:`New label`,reachedLimit_other:`There can't be more than {{count}} categories.`,keyLegend:{incorrectAnswer:`Student incorrect answer`,correctAnswer:`Student correct answer`,correctKeyAnswer:`Answer key correct`}},graphing:{point:`Point`,circle:`Circle`,line:`Line`,parabola:`Parabola`,absolute:`Absolute Value`,exponential:`Exponential`,polygon:`Polygon`,ray:`Ray`,segment:`Segment`,sine:`Sine`,vector:`Vector`,label:`Label`,redo:`Redo`,reset:`Reset`},mathInline:{primaryCorrectWithAlternates:`Note: The answer shown above is the primary correct answer specified by the author for this item, but other answers may also be recognized as correct.`},multipleChoice:{minSelections:`Select at least {{minSelections}}.`,maxSelections_one:`Only {{maxSelections}} answer is allowed.`,maxSelections_other:`Only {{maxSelections}} answers are allowed.`,minmaxSelections_equal:`Select {{minSelections}}.`,minmaxSelections_range:`Select between {{minSelections}} and {{maxSelections}}.`},selectText:{correctAnswerSelected:`Correct`,correctAnswerNotSelected:`Correct Answer Not Selected`,incorrectSelection:`Incorrect Selection`,key:`Key`}},common:{undo:`Undo`,clearAll:`Clear all`,correct:`Correct`,incorrect:`Incorrect`,showCorrectAnswer:`Show correct answer`,hideCorrectAnswer:`Hide correct answer`,commonCorrectAnswerWithAlternates:`Note: The answer shown above is the most common correct answer for this item. One or more additional correct answers are also defined, and will also be recognized as correct.`,warning:`Warning`,showNote:`Show Note`,hideNote:`Hide Note`,cancel:`Cancel`}},es:{translation:{categorize:{limitMaxChoicesPerCategory:`Has alcanzado el límite de {{maxChoicesPerCategory}} respuestas por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.`,maxChoicesPerCategoryRestriction:`Para cambiar este valor a {{maxChoicesPerCategory}}, cada categoría debe tener {{maxChoicesPerCategory}} o menos opciones de respuesta`},ebsr:{part:`Parte {{index}}`},numberLine:{addElementLimit_one:`Solo puedes agregar {{count}} elemento`,addElementLimit_other:`Solo puedes agregar {{count}} elementos`,clearAll:`Borrar todo`},imageClozeAssociation:{reachedLimit_one:`Has alcanzado el límite de {{count}} respuesta por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.`,reachedLimit_other:`Lleno`},drawingResponse:{fillColor:`Color de relleno`,outlineColor:`Color del contorno`,noFill:`Sin relleno`,lightblue:`Azul claro`,lightyellow:`Amarillo claro`,red:`Rojo`,orange:`Naranja`,yellow:`Amarillo`,violet:`Violeta`,blue:`Azul`,green:`Verde`,white:`Blanco`,black:`Negro`,onDoubleClick:`Haz doble clic para revisar este texto. Presiona el botón de ingreso para enviar`},charting:{addCategory:`Añadir categoría`,actions:`Acciones`,add:`Añadir`,delete:`Eliminar`,newLabel:`Nueva etiqueta`,reachedLimit_other:`No puede haber más de {{count}} categorías.`,keyLegend:{incorrectAnswer:`Respuesta incorrecta del estudiante`,correctAnswer:`Respuesta correcta del estudiante`,correctKeyAnswer:`Clave de respuesta correcta`}},graphing:{point:`Punto`,circle:`Circulo`,line:`Línea`,parabola:`Parábola`,absolute:`Valor absoluto`,exponential:`Exponencial`,polygon:`Polígono`,ray:`Semirrecta`,segment:`Segmento `,sine:`Seno`,vector:`Vector`,label:`Etiqueta`,redo:`Rehacer`,reset:`Reiniciar`},mathInline:{primaryCorrectWithAlternates:`Nota: La respuesta que se muestra arriba es la respuesta correcta principal especificada por el autor para esta pregunta, pero también se pueden reconocer otras respuestas como correctas.`},multipleChoice:{minSelections:`Seleccione al menos {{minSelections}}.`,maxSelections_one:`Sólo se permite {{maxSelections}} respuesta.`,maxSelections_other:`Sólo se permiten {{maxSelections}} respuestas.`,minmaxSelections_equal:`Seleccione {{minSelections}}.`,minmaxSelections_range:`Seleccione entre {{minSelections}} y {{maxSelections}}.`},selectText:{correctAnswerSelected:`Respuesta Correcta`,correctAnswerNotSelected:`Respuesta Correcta No Seleccionada`,incorrectSelection:`Selección Incorrecta`,key:`Clave`}},common:{undo:`Deshacer`,clearAll:`Borrar todo`,correct:`Correct`,incorrect:`Incorrect`,showCorrectAnswer:`Mostrar respuesta correcta`,hideCorrectAnswer:`Ocultar respuesta correcta`,commonCorrectAnswerWithAlternates:`Nota: La respuesta que se muestra arriba es la respuesta correcta más común para esta pregunta. También se definen una o más respuestas correctas adicionales, y también se reconocerán como correctas.`,warning:`Advertencia`,showNote:`Mostrar Nota`,hideNote:`Ocultar Nota`,cancel:`Cancelar`}}}});var ZC={translator:{...XC,t:(e,t)=>{let{lng:n}=t;switch(n){case`en_US`:case`en-US`:t.lng=`en`;break;case`es_ES`:case`es-ES`:case`es_MX`:case`es-MX`:t.lng=`es`;break;default:break}return XC.t(e,{lng:n,...t})}},languageOptions:[{value:`en_US`,label:`English (US)`},{value:`es_ES`,label:`Spanish`}]},QC=`height ease-in 300ms, opacity ease-in 300ms`,$C=X(`div`)(()=>({position:`relative`,height:0,overflow:`hidden`,display:`flex`,visibility:`hidden`,width:0,"&.enter":{transition:QC,opacity:1,height:`auto`,width:`auto`,visibility:`visible`,minHeight:`25px`},"&.enter-done":{height:`auto`,visibility:`visible`,width:`auto`,minHeight:`25px`},"&.exit":{transition:QC,opacity:0,height:0,visibility:`visible`,width:0},"&.exit-done":{opacity:0,visibility:`hidden`,height:0,width:0}})),ew=e=>{let{show:t,children:n,className:r}=e,i=(0,U.useRef)(null);return(0,G.jsx)(j_,{nodeRef:i,in:t,appear:!0,mountOnEnter:!1,timeout:300,classNames:{enter:`enter`,enterDone:`enter-done`,exit:`exit`,exitDone:`exit-done`},children:(0,G.jsx)($C,{ref:i,className:r,children:n})})};ew.propTypes={show:z.bool.isRequired,className:z.string,children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired};function tw(e){return typeof e==`function`||typeof e==`object`&&!!e&&typeof e.$$typeof==`symbol`}function nw(e,t){return!e||tw(e)?e:tw(e.default)?e.default:t&&tw(e[t])?e[t]:t&&tw(e[t]?.default)?e[t].default:e}var rw=nw(bS,`Readable`)||nw(ow.Readable,`Readable`),iw=XS,aw=iw.default,ow=aw&&typeof aw==`object`?aw:iw,{translator:sw}=ZC,cw={WebkitTouchCallout:`none`,WebkitUserSelect:`none`,KhtmlUserSelect:`none`,MozUserSelect:`none`,msUserSelect:`none`,userSelect:`none`},lw=X(`div`)(()=>({width:`100%`,cursor:`pointer`})),uw=X(`div`)(()=>({margin:`0 auto`,textAlign:`center`,display:`flex`})),dw=X(`div`)(()=>({width:`fit-content`,minWidth:`140px`,alignSelf:`center`,verticalAlign:`middle`,color:`var(--correct-answer-toggle-label-color, ${wy()})`,fontWeight:`normal`,...cw})),fw=X(`div`)(()=>({position:`absolute`,width:`25px`,"&.enter":{opacity:`0`},"&.enter-active":{opacity:`1`,transition:`opacity 0.3s ease-in`},"&.exit":{opacity:`1`},"&.exit-active":{opacity:`0`,transition:`opacity 0.3s ease-in`}})),pw=X(`div`)(()=>({width:`25px`,marginRight:`5px`,display:`flex`,alignItems:`center`})),mw=class e extends U.Component{static propTypes={onToggle:z.func,toggled:z.bool,show:z.bool,hideMessage:z.string,showMessage:z.string,className:z.string,language:z.string};static defaultProps={showMessage:`Show correct answer`,hideMessage:`Hide correct answer`,show:!1,toggled:!1};constructor(t){super(t),this.state={show:t.show},this.openIconRef=U.createRef(),this.closedIconRef=U.createRef(),e.defaultProps={...e.defaultProps,showMessage:sw.t(`common:showCorrectAnswer`,{lng:t.language}),hideMessage:sw.t(`common:hideCorrectAnswer`,{lng:t.language})}}onClick(){this.props.onToggle(!this.props.toggled)}onTouch(e){e.preventDefault(),this.props.onToggle(!this.props.toggled)}UNSAFE_componentWillReceiveProps(t){this.setState({show:t.show}),t.language!==this.props?.language&&(e.defaultProps={...e.defaultProps,showMessage:sw.t(`common:showCorrectAnswer`,{lng:t.language}),hideMessage:sw.t(`common:hideCorrectAnswer`,{lng:t.language})})}render(){let{className:e,toggled:t,hideMessage:n,showMessage:r}=this.props;return(0,G.jsx)(lw,{className:e,children:(0,G.jsx)(ew,{show:this.state.show,children:(0,G.jsxs)(uw,{onClick:this.onClick.bind(this),onTouchEnd:this.onTouch.bind(this),children:[(0,G.jsxs)(pw,{children:[(0,G.jsx)(j_,{nodeRef:this.openIconRef,timeout:400,in:t,exit:!t,classNames:{enter:`enter`,enterActive:`enter-active`,exit:`exit`,exitActive:`exit-active`},children:(0,G.jsx)(fw,{ref:this.openIconRef,children:(0,G.jsx)(Bg,{open:t},`correct-open`)})}),(0,G.jsx)(j_,{nodeRef:this.closedIconRef,timeout:5e3,in:!t,exit:t,classNames:{enter:`enter`,enterActive:`enter-active`,exit:`exit`,exitActive:`exit-active`},children:(0,G.jsx)(fw,{ref:this.closedIconRef,children:(0,G.jsx)(Bg,{open:t},`correct-closed`)})})]}),(0,G.jsx)(rw,{false:!0,children:(0,G.jsx)(dw,{"aria-hidden":!this.state.show,children:t?n:r})})]})})})}},hw=l(o(((e,t)=>{(function(){"use strict";var e={}.hasOwnProperty;function n(){for(var e=``,t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=i(e,r(n)))}return e}function r(t){if(typeof t==`string`||typeof t==`number`)return t;if(typeof t!=`object`)return``;if(Array.isArray(t))return n.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes(`[native code]`))return t.toString();var r=``;for(var a in t)e.call(t,a)&&t[a]&&(r=i(r,a));return r}function i(e,t){return t?e?e+` `+t:e+t:e}t!==void 0&&t.exports?(n.default=n,t.exports=n):typeof define==`function`&&typeof define.amd==`object`&&define.amd?define(`classnames`,[],function(){return n}):window.classNames=n})()}))(),1),gw=X(`div`)(({theme:e})=>({"&.placeholder":{WebkitTouchCallout:`none`,WebkitUserSelect:`none`,KhtmlUserSelect:`none`,MozUserSelect:`none`,MsUserSelect:`none`,userSelect:`none`,width:`100%`,height:`100%`,background:nb(),transition:`background-color 200ms linear, border-color 200ms linear`,boxSizing:`border-box`,display:`grid`,gridRowGap:e.spacing(1),gridColumnGap:e.spacing(1),padding:e.spacing(1),border:`2px dashed ${tb()}`},"&.disabled":{boxShadow:`none`,background:e.palette.background.paper},"&.over":{border:`1px solid ${hf[500]}`,backgroundColor:`${hf[300]}`},"&.board":{padding:e.spacing(1),display:`flex`,flexWrap:`wrap`,alignItems:`center`,minHeight:`100px`,justifyContent:`center`,overflow:`hidden`,touchAction:`none`,backgroundColor:Ky()},"&.categorizeBoard":{padding:e.spacing(.5),display:`flex`,flexWrap:`wrap`,alignItems:`center`,minHeight:`100px`,justifyContent:`center`,overflow:`hidden`,touchAction:`none`,backgroundColor:Ky()},"&.verticalPool":{display:`flex`,flexFlow:`column wrap`}})),_w=e=>{let{children:t,className:n,isOver:r,type:i,grid:a,disabled:o,choiceBoard:s,isCategorize:c,isVerticalPool:l,minHeight:u,extraStyles:d}=e,f=(0,hw.default)(`placeholder`,o&&`disabled`,r&&`over`,i,n),p={};if(a&&a.columns&&(p.gridTemplateColumns=`repeat(${a.columns}, 1fr)`),a&&a.rows){let e=a.rowsRepeatValue||`1fr`;p.gridTemplateRows=`repeat(${a.rows}, ${e})`}i===`choice`&&(p.border=`1px solid ${Qy()}`,p.background=Ky());let m=c?`categorizeBoard`:`board`;return(0,G.jsx)(gw,{style:{...p,minHeight:u,...d},className:(0,hw.default)(s?m:f,l&&`verticalPool`),children:t})};_w.propTypes={choiceBoard:z.bool,grid:z.shape({columns:z.number,rows:z.number,rowsRepeatValue:z.string}),children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired,className:z.string,isOver:z.bool,index:z.number,type:z.string,disabled:z.bool,isCategorize:z.bool,isVerticalPool:z.bool,minHeight:z.number};function vw({children:e,onDragEnd:t,onDragStart:n,collisionDetection:r,modifiers:i,autoScroll:a}){let[o,s]=(0,U.useState)(null),c=bm(ym(bh,{activationConstraint:{distance:8}}),ym(hh));return(0,G.jsx)(_g,{sensors:c,onDragStart:e=>{s(e.active.id),n&&n(e)},onDragEnd:e=>{s(null),t&&t(e)},collisionDetection:r,modifiers:i,autoScroll:a,children:e})}vw.propTypes={children:z.node.isRequired,onDragEnd:z.func,onDragStart:z.func,collisionDetection:z.func,modifiers:z.arrayOf(z.func),autoScroll:z.object};var yw=Po(`pie-elements:placement-ordering:tile`),bw=X(`div`)(({theme:e})=>({width:`100%`,fontSize:e.typography.fontSize+4,textAlign:`center`,color:`rgba(${e.palette.common.black}, 0.6)`})),xw=({type:e,index:t,isOver:n,disabled:r})=>(0,G.jsx)(_w,{type:e,isOver:n,disabled:r,children:e===`target`&&t!==void 0&&(0,G.jsx)(bw,{children:t})});xw.propTypes={type:z.string,index:z.number,isOver:z.bool,disabled:z.bool};var Sw=X(`div`)(({theme:e,isDragging:t,isOver:n,disabled:r,outcome:i,label:a,type:o})=>({cursor:r?`not-allowed`:`grab`,width:`100%`,height:`100%`,padding:`10px`,boxSizing:`border-box`,overflow:`hidden`,border:o===`choice`||o===`target`?`1px solid ${e.palette.grey[400]}`:`1px solid transparent`,backgroundColor:o===`choice`||o===`target`?Gy():`transparent`,transition:o===`choice`||o===`target`?`background-color 150ms ease, border-color 150ms ease, opacity 150ms ease`:`none`,pointerEvents:`none`,userSelect:`none`,...(o===`choice`||o===`target`)&&{"&:hover":{backgroundColor:r?Gy():Vy(),borderColor:r?e.palette.grey[400]:e.palette.primary.main,transform:r?`none`:`scale(1.02)`}},...(o===`choice`||o===`target`)&&n&&!r&&{opacity:.4,backgroundColor:Ly(),borderColor:e.palette.primary.main,borderStyle:`dashed`,transform:`scale(1.05)`},...(o===`choice`||o===`target`)&&t&&!r&&{opacity:.6,backgroundColor:Hy(),transform:`scale(1.05) rotate(2deg)`,boxShadow:`0 8px 16px rgba(0,0,0,0.2)`,cursor:`grabbing`},...(o===`choice`||o===`target`)&&r&&{cursor:`not-allowed`,"&:hover":{backgroundColor:Gy(),transform:`none`}},...(o===`choice`||o===`target`)&&i===`incorrect`&&{border:`1px solid ${jy()}`},...(o===`choice`||o===`target`)&&i===`correct`&&{border:`1px solid ${Dy()}`},...!a&&{border:`none`,"&:hover":{backgroundColor:`unset`}}})),Cw=e=>{let{type:t,isDragging:n,empty:r,isOver:i,label:a,disabled:o,outcome:s,guideIndex:c}=e;return r?(0,G.jsx)(xw,{type:t,index:c,isOver:i,disabled:o}):(0,G.jsx)(Sw,{type:t,isDragging:n,isOver:i,disabled:o,outcome:s,label:a,dangerouslySetInnerHTML:{__html:a}})},ww=e=>{let{label:t,type:n,id:r,empty:i,disabled:a,outcome:o,index:s,guideIndex:c,instanceId:l,draggable:u,tileIndex:d}=e,f=`tile-${n}-${r??`empty`}-${d}-${l}`,p=`drop-${n}-${r??`empty`}-${d}-${l}`,{attributes:m,listeners:h,setNodeRef:g,transform:_,isDragging:v}=xg({id:f,data:{id:r,type:n,instanceId:l,value:t,index:s},disabled:!u||a}),{setNodeRef:y,isOver:b}=wg({id:p,data:{id:r,type:n,instanceId:l,value:t,index:s},disabled:v}),x=U.useRef(null);return U.useEffect(()=>{let e=x.current,t=e=>{e.preventDefault()};return e&&e.addEventListener(`touchstart`,t,{passive:!1}),()=>{e&&e.removeEventListener(`touchstart`,t)}},[]),yw(`[render], props: `,e),(0,G.jsx)(`div`,{ref:e=>{x.current=e,g(e),y(e)},style:{transform:_?`translate3d(${_.x}px, ${_.y}px, 0)`:void 0,boxSizing:`border-box`,overflow:`visible`,padding:0,margin:0,textAlign:`center`,pointerEvents:`auto`,cursor:a?`not-allowed`:v?`grabbing`:`grab`,zIndex:v?1e3:`auto`,willChange:v?`transform`:`auto`},...u&&!a?{...h,...m}:{},children:(0,G.jsx)(Cw,{label:t,id:r,empty:i,index:s,guideIndex:c,isOver:b,isDragging:v,disabled:a,outcome:o,type:n})})};ww.propTypes={id:z.any,label:z.string,isOver:z.bool,type:z.string,empty:z.bool,disabled:z.bool,outcome:z.string,index:z.number,guideIndex:z.number,instanceId:z.any,draggable:z.bool,tileIndex:z.number};var Tw={choiceLabel:z.string,targetLabel:z.string,disabled:z.bool,tiles:z.array.isRequired,tileSize:z.string,addGuide:z.bool},Ew={tileSize:`1fr`,disabled:!1,addGuide:!1},Dw=e=>{let t=(t,n)=>(t.instanceId=e.instanceId,t.disabled=e.disabled,t.guideIndex=e.addGuide?t.index+1:void 0,t.tileIndex=n,e.includeTargets||t.type===`choice`?(0,U.createElement)(ww,{...t,key:n}):(0,U.createElement)(ww,{...t,label:``,key:n}));return t.propTypes={...Tw},t},Ow=X(`div`)(({theme:e,includeTargets:t})=>({display:`grid`,paddingBottom:e.spacing(2),...t&&{gridGap:`10px`}})),kw=X(`div`)({textAlign:`center`}),Aw=X(`div`)({textAlign:`center`,gridRow:`3/4`}),jw=X(`div`)(({includeTargets:e})=>({gridAutoFlow:`column`,display:`grid`,...e&&{gridGap:`10px`}})),Mw=X(`div`)({gridColumn:`1/2`,textAlign:`center`}),Nw=X(`div`)({gridColumn:`2/3`,textAlign:`center`}),Pw=class extends U.Component{static propTypes={...Tw};static defaultProps={...Ew};render(){let{includeTargets:e,choiceLabelEnabled:t,choiceLabel:n,targetLabel:r,tiles:i,tileSize:a}=this.props,o=e?`auto ${a} auto ${a}`:`auto ${a} auto`,s=e?i.length/2:i.length,c={gridTemplateColumns:e?`repeat(${s}, ${a})`:`auto repeat(${Math.floor(s/2)-1}, ${a} 10px) ${a} auto`,gridTemplateRows:o},l={gridColumn:`1/${s+1}`};return(0,G.jsxs)(Ow,{includeTargets:e,style:c,children:[(0,G.jsx)(kw,{style:l,dangerouslySetInnerHTML:{__html:t?n:``}}),e&&(0,G.jsx)(Aw,{style:l,dangerouslySetInnerHTML:{__html:r}}),i.map(Dw(this.props))]})}},Fw=class extends U.Component{static propTypes={...Tw};static defaultProps={...Ew};render(){let{includeTargets:e,choiceLabelEnabled:t,choiceLabel:n,targetLabel:r,tiles:i,tileSize:a}=this.props,o=e?2:1,s=e?i.length/2:i.length;return(0,G.jsxs)(jw,{includeTargets:e,style:{gridTemplateColumns:`repeat(${o}, ${a})`,gridTemplateRows:e?`auto repeat(${s}, ${a})`:`auto auto repeat(${Math.floor(s/2)-1}, ${a} 10px) ${a} auto`},children:[(0,G.jsx)(Mw,{dangerouslySetInnerHTML:{__html:t?n:``}}),e&&(0,G.jsx)(Nw,{dangerouslySetInnerHTML:{__html:r}}),i.map(Dw(this.props))]})}},Iw=Po(`pie-elements:placement-ordering:ordering`),Lw=(e,t,n)=>{let r=e.find((e,n)=>n===t),i=e.filter((e,n)=>n!==t);return[...i.slice(0,n),r,...i.slice(n)]},Rw=(e,t,n)=>{if(Iw(`[swap]`,e,t,n),!e||e.length<=1||t===void 0||n===void 0)throw Error(`swap requires a non-empty array, fromIndex, toIndex: ${e}, ${t} ${n}`);let r=fa(e),i=e[n];return r[n]=r[t],r[t]=i,r};function zw(e,t){let n=fa(e.response);if(n[t.index]===t.id)n[t.index]=void 0;else throw Error(`Tried to remove from index: ${t.index}, but the id doesn't match: array: ${n}, target: ${t.id}`);return n}function Bw(e,t,n){let{response:r,opts:i}=e,a=fa(r);if(i.includeTargets)return t.type===`choice`&&n.type===`target`?(a[n.index]=t.id,a):t.type===`target`&&n.type===`choice`?(a[t.index]=void 0,a):t.type===`target`&&n.type===`target`?Rw(r,t.index,n.index):(Iw(`do nothing to the response`),r);{let r=e.response.findIndex(e=>e!==void 0&&e===t.id),i=e.response.findIndex(e=>e!==void 0&&e===n.id);return Iw(`fromIndex: `,r,`toIndex:`,i),Lw(e.response,r,i)}}function Vw(e,t,n,r){if(r.includeTargets){let i=[];for(let r=0;r<t.length;r++){let a=t[r],o=e.find(e=>a!=null&&e.id===a),s=n[r],c=Object.assign({type:`target`,index:r,empty:o===void 0},o,s,{draggable:o!==void 0});i.push(c)}return e.map(e=>t.indexOf(e.id)!==-1&&!r.allowSameChoiceInTargets?{type:`choice`,empty:!0,droppable:!0,draggable:!1}:Object.assign({},e,{type:`choice`,droppable:!1,draggable:!0})).concat(i)}else return t.reduce((t,r,i)=>{let a=Object.assign({type:`empty`,draggable:!1,droppable:!0},e.find(e=>e.id===r),n[i]),o=Object.assign({type:`choice`,draggable:!0,droppable:!0},e.find(e=>e.id===r),n[i]);return i===0&&t.push(a),t.push(o,a),t},[])}function Hw(e,t,n,r){return r=cn({includeTargets:!0},r),n||=[],t=!t||Ao(t)?r.includeTargets?Array(e.length):Eo(e,e=>e.id):t,{choices:e,response:t,opts:r,outcomes:n,tiles:Vw(e,t,n,r)}}function Uw(e,t){switch(e.type){case`move`:{let{from:n,to:r}=e,i=Bw(t,n,r),a=Vw(t.choices,i,t.outcomes,t.opts);return Object.assign({},t,{response:i,tiles:a})}case`remove`:{let{target:n}=e,r=zw(t,n),i=Vw(t.choices,r,t.outcomes,t.opts);return Object.assign({},t,{response:r,tiles:i})}}return t}var Ww=(e,t)=>{if(!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length)return!1;let n=e=>e.map(e=>JSON.stringify(e)).sort(),r=n(e),i=n(t),a=r.every((e,t)=>e===i[t]),o=e.every((e,n)=>JSON.stringify(e)===JSON.stringify(t[n]));return a&&!o};function Gw(e){return typeof e==`function`||typeof e==`object`&&!!e&&typeof e.$$typeof==`symbol`}function Kw(e,t){return!e||Gw(e)?e:Gw(e.default)?e.default:t&&Gw(e[t])?e[t]:t&&Gw(e[t]?.default)?e[t].default:e}var qw=Kw(Wx,`UiLayout`)||Kw($w.UiLayout,`UiLayout`),Jw=Kw(yS,`PreviewPrompt`)||Kw($w.PreviewPrompt,`PreviewPrompt`),Yw=Kw(Cb,`Feedback`)||Kw($w.Feedback,`Feedback`),Xw=Kw(Hb,`Collapsible`)||Kw($w.Collapsible,`Collapsible`),Zw=XS,Qw=Zw.default,$w=Qw&&typeof Qw==`object`?Qw:Zw,{translator:eT}=ZC,tT=Po(`pie-elements:placement-ordering`),nT=X(`div`)({color:wy(),backgroundColor:Gy(),display:`flex`,flexDirection:`column`,alignItems:`center`,boxSizing:`border-box`}),rT=X(`div`)(({theme:e})=>({paddingBottom:e.spacing(1)})),iT=X(`div`)(({theme:e})=>({paddingBottom:e.spacing(2)})),aT=X(mw)(({theme:e})=>({paddingBottom:e.spacing(1)})),oT=X(Xw)(({theme:e})=>({marginBottom:e.spacing(2),alignSelf:`flex-start`})),sT=e=>{let{tiler:t,ordering:n,onDropChoice:r,onRemoveChoice:i,...a}=e;return(0,G.jsx)(t,{...a,tiles:n.tiles,onDropChoice:(e,t)=>r(e,t,n),onRemoveChoice:e=>i(e,n)})};sT.propTypes={tiler:z.func,ordering:z.any,onDropChoice:z.func,onRemoveChoice:z.func};var cT=class extends U.Component{static propTypes={onSessionChange:z.func.isRequired,model:z.object.isRequired,session:z.oneOfType([z.array.isRequired,z.object.isRequired])};constructor(e){super(e),this.instanceId=No();let{value:t,needsReset:n}=this.validateSession(e);this.state={showingCorrect:!1};let{model:r}=e||{},{env:i}=r||{},{mode:a}=i||{};n&&a===`gather`&&this.props.onSessionChange({...e.session,value:t})}toggleCorrect=e=>this.setState({showingCorrect:e});componentDidUpdate(){Ho(um.findDOMNode(this))}validateSession=({model:e,session:t},n=!1)=>{let{config:r,choices:i}=e||{},{includeTargets:a}=r||{},o=i.map(e=>e.id),{value:s}=t||{},c;if(a)s&&s.length!==o.length&&(c=!0,s=s.length<o.length?s.concat(Array(o.length-s.length)):s.filter(e=>o.includes(e)));else{if(!s||!s.length||n)s=o;else{let e=wo(o,s),t=wo(s,o);(e.length||t.length)&&(s=o)}c=!jo(t.value,s)}return c&&console.warn(`This session is not valid anymore. It will be reset.`),{value:s,needsReset:c}};UNSAFE_componentWillReceiveProps(e){let{model:t={}}=e||{},{model:n={}}=this.props||{},{correctResponse:r,config:i,choices:a=[],env:o}=t,{includeTargets:s}=i||{},c={},l=n.language&&n.language!==t.language,u=n.note&&n.note===eT.t(`common:commonCorrectAnswerWithAlternates`,{lng:n.language});l&&u&&(n.note=eT.t(`common:commonCorrectAnswerWithAlternates`,{lng:t.language})),r||(c.showingCorrect=!1);let d=Ww(a,n.choices),{value:f,needsReset:p}=this.validateSession(e,d),m={...e.session,value:f},h=n.config?.includeTargets!==s;s&&h&&(p=!0,delete m.value),this.setState(c,()=>{let{mode:e}=o||{};p&&e===`gather`&&this.props.onSessionChange(m)})}onDropChoice=(e,t,n)=>{let{onSessionChange:r,session:i}=this.props,a=n.tiles.find(e=>e.id===t.id&&e.type===t.type&&e.index===t.index),o=e;tT(`[onDropChoice] `,a,o);let s=Uw({type:`move`,from:a,to:o},n);r(Object.assign({},i,{value:s.response}))};onRemoveChoice=(e,t)=>{let{onSessionChange:n,session:r}=this.props;tT(`[onRemoveChoice]`,e);let i=Uw({type:`remove`,target:e},t);n(Object.assign({},r,{value:i.response}))};createOrdering=()=>{let{model:e,session:t}=this.props,{showingCorrect:n}=this.state,{includeTargets:r}=e.config||{orientation:`vertical`,includeTargets:!0};return n?Hw(e.choices,e.correctResponse,e.correctResponse.map(e=>({id:e,outcome:`correct`})),{includeTargets:r,allowSameChoiceInTargets:e.config.allowSameChoiceInTargets}):Hw(e.choices,t.value,e.outcomes,{includeTargets:r,allowSameChoiceInTargets:e.config.allowSameChoiceInTargets})};onDragEnd=e=>{let{over:t,active:n}=e,r=this.createOrdering();if(t&&n){let e=n.data.current,i=t.data.current;if(e&&i&&i.type===`target`){this.onDropChoice(i,e,r);return}e&&i&&this.onDropChoice(i,e,r)}else if(!t&&n){let e=n.data.current;e&&e.type===`target`&&this.onRemoveChoice(e,r)}};render(){let{model:e}=this.props,{correctResponse:t,correctness:n,extraCSSRules:r,prompt:i,rationale:a,feedback:o,config:s,note:c,showNote:l,env:u,disabled:d,teacherInstructions:f,language:p}=e,m=t&&t.length>0,{showingCorrect:h}=this.state,g=s||{orientation:`vertical`,includeTargets:!0},{orientation:_,includeTargets:v}=g,y=_===`vertical`,b=this.createOrdering(),{mode:x,role:S}=u||{},C=y?Fw:Pw,w=(h||x===`view`&&S===`instructor`)&&l&&c,T=a&&(wS(a)||ES(a)),E=f&&(wS(f)||ES(f)),D={color:wy(),backgroundColor:Gy(),display:`flex`,flexDirection:`column`,alignItems:`center`,boxSizing:`border-box`};return(0,G.jsx)(vw,{onDragStart:()=>{},onDragEnd:this.onDragEnd,collisionDetection:Dm,children:(0,G.jsx)(nT,{children:(0,G.jsxs)(qw,{extraCSSRules:r,style:D,children:[E&&(0,G.jsx)(oT,{labels:{hidden:`Show Teacher Instructions`,visible:`Hide Teacher Instructions`},className:`collapsible`,children:(0,G.jsx)(Jw,{prompt:f})}),(0,G.jsx)(rT,{children:(0,G.jsx)(Jw,{prompt:i})}),(0,G.jsx)(aT,{show:m,toggled:h,onToggle:this.toggleCorrect,language:p}),(0,G.jsx)(sT,{instanceId:this.instanceId,choiceLabel:g.choiceLabel,targetLabel:g.targetLabel,ordering:b,tiler:C,disabled:d,addGuide:g.showOrdering,tileSize:g.tileSize,includeTargets:v,choiceLabelEnabled:e.config&&e.config.choiceLabelEnabled}),w&&(0,G.jsx)(iT,{dangerouslySetInnerHTML:{__html:c}}),T&&(0,G.jsx)(oT,{labels:{hidden:`Show Rationale`,visible:`Hide Rationale`},className:`collapsible`,children:(0,G.jsx)(Jw,{prompt:a})}),!h&&(0,G.jsx)(Yw,{correctness:n,feedback:o})]})})})}},lT=class extends U.Component{static propTypes={model:z.object.isRequired,session:z.oneOfType([z.array.isRequired,z.object.isRequired]),onSessionChange:z.func.isRequired};render(){let{model:e,session:t,onSessionChange:n}=this.props;return(0,G.jsx)(cT,{model:e,session:t,onSessionChange:n})}},uT=g(),dT=Po(`pie-elements:placement-ordering`),fT=class extends HTMLElement{constructor(){super(),this._root=null,this._mathObserver=null,this._mathRenderPending=!1}_scheduleMathRender=()=>{this._mathRenderPending||(this._mathRenderPending=!0,requestAnimationFrame(()=>{this._mathObserver&&this._mathObserver.disconnect(),Ho(this),this._mathRenderPending=!1,setTimeout(()=>{this._mathObserver&&this._mathObserver.observe(this,{childList:!0,subtree:!0})},50)}))};_initMathObserver(){this._mathObserver||(this._mathObserver=new MutationObserver(this._scheduleMathRender),this._mathObserver.observe(this,{childList:!0,subtree:!0}))}_disconnectMathObserver(){this._mathObserver&&=(this._mathObserver.disconnect(),null)}isComplete=e=>e&&pa(e).length===this._model.completeLength;sessionChange=e=>{this._session.value=e.value,this.render(),this.dispatchEvent(new Uo(this.tagName.toLowerCase(),this._session&&this.isComplete(this._session.value)))};set model(e){this._model=e,this.render(),this.dispatchEvent(new CustomEvent(`model-set`,{bubbles:!0,detail:{complete:!1}}))}set session(e){this._session=e,this.render()}get session(){return this._session}render(){if(this._model&&this._session){dT(`[render] session: `,this._session.value),dT(`[render] model: `,this._model),this._initMathObserver();let e=U.createElement(lT,{model:this._model,session:this._session,onSessionChange:this.sessionChange});this._root||=(0,uT.createRoot)(this),this._root.render(e)}}connectedCallback(){this._initMathObserver()}disconnectedCallback(){this._disconnectMathObserver(),this._root&&this._root.unmount()}};return typeof window<`u`&&!customElements.get(`placement-ordering-element`)&&customElements.define(`placement-ordering-element`,fT),fT})();
|