@useloops/design-system 1.4.530 → 1.4.532
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/dist/BrandCore/Icon.d.ts +1 -1
- package/dist/BrandCore.d.ts +1 -1
- package/dist/{IconButton-wcVJZep4.d.ts → IconButton-CgrekP6F.d.ts} +1 -1
- package/dist/{IconButtonBase-B6_6LwsJ.d.ts → IconButtonBase-B6RP_D01.d.ts} +1 -1
- package/dist/LikertGraph-DfH1oAr8.d.ts +53 -0
- package/dist/Marketing/PlanFeatureTable.js +1 -1
- package/dist/Marketing/PlanTierCard.d.ts +377 -4
- package/dist/Marketing/PlanTierCard.js +1 -1
- package/dist/Marketing.d.ts +140 -0
- package/dist/Marketing.js +1 -1
- package/dist/{MenuItem-Bhn675bc.d.ts → MenuItem-DOijzWN3.d.ts} +1 -1
- package/dist/{Nudge-yai5KXtM.d.ts → Nudge-DzxctJYj.d.ts} +1 -1
- package/dist/Platform/AIInsight.js +1 -1
- package/dist/Platform/AISummary.d.ts +2 -2
- package/dist/Platform/AISummary.js +1 -1
- package/dist/Platform/AIWrittenByLockUp.js +1 -1
- package/dist/Platform/AiContentContainer.js +1 -1
- package/dist/Platform/AssetItem.d.ts +2 -2
- package/dist/Platform/AssetItem.js +1 -1
- package/dist/Platform/CommentCard.d.ts +2 -2
- package/dist/Platform/CommentCard.js +1 -1
- package/dist/Platform/DataPointInfo.d.ts +2 -2
- package/dist/Platform/DataPointInfo.js +1 -1
- package/dist/Platform/DemographicSelectionSection.js +1 -1
- package/dist/Platform/EmojiListItem.js +1 -1
- package/dist/Platform/EmojiQuestionEditorOption.d.ts +2 -2
- package/dist/Platform/EmojiQuestionEditorOption.js +1 -1
- package/dist/Platform/EmptyStateCard.d.ts +1 -1
- package/dist/Platform/EmptyStateCard.js +1 -1
- package/dist/Platform/ExtendedTestStatus.js +1 -1
- package/dist/Platform/FilterCount.js +1 -1
- package/dist/Platform/FilterGroupAccordion.js +1 -1
- package/dist/Platform/FilterPyramidGraph.js +1 -1
- package/dist/Platform/FilterRow.js +1 -1
- package/dist/Platform/FilteredItemsCard.js +1 -1
- package/dist/Platform/ForgotYourPassword.js +1 -1
- package/dist/Platform/GraphBar.d.ts +2 -2
- package/dist/Platform/GraphBar.js +1 -1
- package/dist/Platform/Header.d.ts +3 -3
- package/dist/Platform/Header.js +1 -1
- package/dist/Platform/KpiDataPopover.d.ts +2 -2
- package/dist/Platform/KpiDataPopover.js +1 -1
- package/dist/Platform/KpiIndicator.d.ts +2 -2
- package/dist/Platform/LikertGraph.d.ts +9 -0
- package/dist/Platform/LikertGraph.js +1 -0
- package/dist/Platform/LinkExpired.js +1 -1
- package/dist/Platform/LoginForm.js +1 -1
- package/dist/Platform/LoopItem.js +1 -1
- package/dist/Platform/LoopItemEmpty.js +1 -1
- package/dist/Platform/MFACodeVerify.js +1 -1
- package/dist/Platform/Navigation.d.ts +3 -3
- package/dist/Platform/PaginationControl.js +1 -1
- package/dist/Platform/ProjectItem.js +1 -1
- package/dist/Platform/QuestionBlock.js +1 -1
- package/dist/Platform/QuestionLabel.js +1 -1
- package/dist/Platform/QuestionSelector.d.ts +2 -2
- package/dist/Platform/QuestionSelector.js +1 -1
- package/dist/Platform/ResetPassword.js +1 -1
- package/dist/Platform/SearchInput.js +1 -1
- package/dist/Platform/SectionHeader.js +1 -1
- package/dist/Platform/SentimentArrow.js +1 -1
- package/dist/Platform/SliderGraph.js +1 -1
- package/dist/Platform/Tab.js +1 -1
- package/dist/Platform/TestItem.d.ts +4 -4
- package/dist/Platform/TestItem.js +1 -1
- package/dist/Platform/TestKPICard.d.ts +2 -2
- package/dist/Platform/TestKPICard.js +1 -1
- package/dist/Platform/TestStatus.d.ts +1 -1
- package/dist/Platform/TestStatus.js +1 -1
- package/dist/Platform/VideoControls.js +1 -1
- package/dist/Platform.d.ts +8 -6
- package/dist/Platform.js +1 -1
- package/dist/WebCore/Breadcrumb.d.ts +1 -1
- package/dist/WebCore/FormGenerator.js +1 -1
- package/dist/WebCore/IconButton.d.ts +3 -3
- package/dist/WebCore/IconButtonBase.d.ts +2 -2
- package/dist/WebCore/IconButtonGroup.d.ts +2 -2
- package/dist/WebCore/Menu.d.ts +2 -2
- package/dist/WebCore/NavigationButton.d.ts +3 -3
- package/dist/WebCore/Nudge.d.ts +4 -4
- package/dist/WebCore/Pill.d.ts +1 -1
- package/dist/WebCore/Rank.js +1 -1
- package/dist/WebCore/TrialCard.js +1 -1
- package/dist/WebCore/UserMenu.d.ts +2 -2
- package/dist/WebCore.d.ts +8 -8
- package/dist/WebCore.js +1 -1
- package/dist/_chunks/{AIInsight-BGk73ukd.js → AIInsight-y2w3AYmS.js} +1 -1
- package/dist/_chunks/{AISummary-D7Mx9MLv.js → AISummary-CxWbirJ3.js} +1 -1
- package/dist/_chunks/{AiContentContainer-nbZD0bT1.js → AiContentContainer-XLllgJFs.js} +1 -1
- package/dist/_chunks/{AiWrittenByLockUp-CTu0ANxT.js → AiWrittenByLockUp-DYIAdFH0.js} +1 -1
- package/dist/_chunks/{AssetItem-BpU8JK65.js → AssetItem-C3_oDHXo.js} +1 -1
- package/dist/_chunks/{CommentCard-DdFBz8tj.js → CommentCard-Bz5hMJ6p.js} +1 -1
- package/dist/_chunks/{DataPointInfo-Bj9zDSG7.js → DataPointInfo-DakyTWf1.js} +1 -1
- package/dist/_chunks/{DemographicSelectionSection-C-zWepcX.js → DemographicSelectionSection-DY9NcgBa.js} +1 -1
- package/dist/_chunks/{EmojiListItem-DnPLpcRv.js → EmojiListItem-Cp5kV8BB.js} +1 -1
- package/dist/_chunks/{EmojiQuestionEditorOption-X0hzkcSR.js → EmojiQuestionEditorOption-DZFr4Ar-.js} +1 -1
- package/dist/_chunks/{EmptyStateCard-WsSuQAJp.js → EmptyStateCard-FUUa_GVj.js} +1 -1
- package/dist/_chunks/{ExtendedTestStatus-5vTEcVD2.js → ExtendedTestStatus-0bvxThZ1.js} +1 -1
- package/dist/_chunks/{FilterCount-CCw4XbvD.js → FilterCount-5iU9sx9l.js} +1 -1
- package/dist/_chunks/{FilterGroupAccordion---yP8Z7t.js → FilterGroupAccordion-D3YVmbEa.js} +1 -1
- package/dist/_chunks/{FilterPyramidGraph-gA0f3Ga6.js → FilterPyramidGraph-DzB3uvhP.js} +1 -1
- package/dist/_chunks/{FilterRow-CdazKBhH.js → FilterRow-CqPeZcFT.js} +1 -1
- package/dist/_chunks/{FilteredItemsCard-mX1lGXj9.js → FilteredItemsCard-LgzfgGsk.js} +1 -1
- package/dist/_chunks/{FormGenerator-BBvnq27_.js → FormGenerator-DzjBjh0B.js} +1 -1
- package/dist/_chunks/{GraphBar-DJrqV1HM.js → GraphBar-ugCYzT7A.js} +1 -1
- package/dist/_chunks/{Header-BV04iFHx.js → Header-DZM4VlgO.js} +1 -1
- package/dist/_chunks/{KpiDataPopover--z_ZE-JU.js → KpiDataPopover-BSXT-vIK.js} +1 -1
- package/dist/_chunks/LikertGraph-CWy_9kg2.js +1 -0
- package/dist/_chunks/{LoopItem-DFWyTptD.js → LoopItem-CtBjA2f6.js} +1 -1
- package/dist/_chunks/{LoopItemEmpty-B9cAoJvw.js → LoopItemEmpty-D7TeuHAh.js} +1 -1
- package/dist/_chunks/{PaginationControl-CKSU35HR.js → PaginationControl-CHvcf4mB.js} +1 -1
- package/dist/_chunks/{PlanFeatureTable-HjkiynIz.js → PlanFeatureTable-BxuIV-b1.js} +1 -1
- package/dist/_chunks/PlanTierCard-CisjIZDZ.js +1 -0
- package/dist/_chunks/{ProjectItemEmpty-CRWsueoA.js → ProjectItemEmpty-BBC-n_ru.js} +1 -1
- package/dist/_chunks/{QuestionBlock-Dq-AQsed.js → QuestionBlock-D3Y4xQ6Z.js} +1 -1
- package/dist/_chunks/{QuestionLabel-D409Ltjp.js → QuestionLabel-CcVXkTYY.js} +1 -1
- package/dist/_chunks/{QuestionSelector-CmZntw5A.js → QuestionSelector-Imo4FQDX.js} +1 -1
- package/dist/_chunks/{QuestionStatsCard-Bn16Q69X.js → QuestionStatsCard-B-Jvw1lf.js} +1 -1
- package/dist/_chunks/{Rank-C28bcQ33.js → Rank-Ebu11UGf.js} +1 -1
- package/dist/_chunks/{SearchInput-CMOrL191.js → SearchInput-TsvcQmHN.js} +1 -1
- package/dist/_chunks/{SectionHeader-D-U8n5sx.js → SectionHeader-D-ZhpgDK.js} +1 -1
- package/dist/_chunks/{SentimentArrow-BtzK3qmk.js → SentimentArrow-COKsVK6I.js} +1 -1
- package/dist/_chunks/{SliderGraph-DlaEdAbo.js → SliderGraph-c6XQBUtu.js} +1 -1
- package/dist/_chunks/{SliderGraphYAxis-BYfnPFum.js → SliderGraphYAxis-DcynhWfb.js} +1 -1
- package/dist/_chunks/{StyledBox-DNV19dQQ.js → StyledBox-BnBYbGkS.js} +1 -1
- package/dist/_chunks/{StyledSurface-c0zXeijg.js → StyledSurface-BW2_VQUO.js} +1 -1
- package/dist/_chunks/{StyledSurface-D_8fWEkO.js → StyledSurface-Dxk1aS0d.js} +1 -1
- package/dist/_chunks/{Tab-D5qVXRWz.js → Tab-CAS4dawg.js} +1 -1
- package/dist/_chunks/{TestItem-DN5i28pu.js → TestItem-DhTSsrGr.js} +1 -1
- package/dist/_chunks/{TestKPICard-CkIX43xy.js → TestKPICard-BJoeEmRr.js} +1 -1
- package/dist/_chunks/{TestStatus-E7D7NaOc.js → TestStatus-BNioY9rh.js} +1 -1
- package/dist/_chunks/{VideoControls-C9LPXqSM.js → VideoControls-yqJVUWvc.js} +1 -1
- package/dist/_chunks/{styledPartials-C-usLnT6.js → styledPartials-0PiYGJ-a.js} +1 -1
- package/dist/_chunks/{styledPartials-CnGNfSr0.js → styledPartials-Crn-OL_R.js} +1 -1
- package/dist/_chunks/{styledPartials-7Lv7jRno.js → styledPartials-DxaYOAoz.js} +1 -1
- package/dist/esm/Marketing/PlanFeatureTable.js +1 -1
- package/dist/esm/Marketing/PlanTierCard.js +1 -1
- package/dist/esm/Marketing.js +1 -1
- package/dist/esm/Platform/AIInsight.js +1 -1
- package/dist/esm/Platform/AISummary.js +1 -1
- package/dist/esm/Platform/AIWrittenByLockUp.js +1 -1
- package/dist/esm/Platform/AiContentContainer.js +1 -1
- package/dist/esm/Platform/AssetItem.js +1 -1
- package/dist/esm/Platform/CommentCard.js +1 -1
- package/dist/esm/Platform/DataPointInfo.js +1 -1
- package/dist/esm/Platform/DemographicSelectionSection.js +1 -1
- package/dist/esm/Platform/EmojiListItem.js +1 -1
- package/dist/esm/Platform/EmojiQuestionEditorOption.js +1 -1
- package/dist/esm/Platform/EmptyStateCard.js +1 -1
- package/dist/esm/Platform/ExtendedTestStatus.js +1 -1
- package/dist/esm/Platform/FilterCount.js +1 -1
- package/dist/esm/Platform/FilterGroupAccordion.js +1 -1
- package/dist/esm/Platform/FilterPyramidGraph.js +1 -1
- package/dist/esm/Platform/FilterRow.js +1 -1
- package/dist/esm/Platform/FilteredItemsCard.js +1 -1
- package/dist/esm/Platform/ForgotYourPassword.js +1 -1
- package/dist/esm/Platform/GraphBar.js +1 -1
- package/dist/esm/Platform/Header.js +1 -1
- package/dist/esm/Platform/KpiDataPopover.js +1 -1
- package/dist/esm/Platform/LikertGraph.js +1 -0
- package/dist/esm/Platform/LinkExpired.js +1 -1
- package/dist/esm/Platform/LoginForm.js +1 -1
- package/dist/esm/Platform/LoopItem.js +1 -1
- package/dist/esm/Platform/LoopItemEmpty.js +1 -1
- package/dist/esm/Platform/MFACodeVerify.js +1 -1
- package/dist/esm/Platform/Navigation.js +1 -1
- package/dist/esm/Platform/PaginationControl.js +1 -1
- package/dist/esm/Platform/ProjectItem.js +1 -1
- package/dist/esm/Platform/QuestionBlock.js +1 -1
- package/dist/esm/Platform/QuestionLabel.js +1 -1
- package/dist/esm/Platform/QuestionSelector.js +1 -1
- package/dist/esm/Platform/ResetPassword.js +1 -1
- package/dist/esm/Platform/SearchInput.js +1 -1
- package/dist/esm/Platform/SectionHeader.js +1 -1
- package/dist/esm/Platform/SentimentArrow.js +1 -1
- package/dist/esm/Platform/SliderGraph.js +1 -1
- package/dist/esm/Platform/Tab.js +1 -1
- package/dist/esm/Platform/TestItem.js +1 -1
- package/dist/esm/Platform/TestKPICard.js +1 -1
- package/dist/esm/Platform/TestStatus.js +1 -1
- package/dist/esm/Platform/VideoControls.js +1 -1
- package/dist/esm/Platform.js +1 -1
- package/dist/esm/WebCore/AnnualController.js +1 -1
- package/dist/esm/WebCore/FormGenerator.js +1 -1
- package/dist/esm/WebCore/Pill.js +1 -1
- package/dist/esm/WebCore/Rank.js +1 -1
- package/dist/esm/WebCore/RankItem.js +1 -1
- package/dist/esm/WebCore/Select.js +1 -1
- package/dist/esm/WebCore/UserMenu.js +1 -1
- package/dist/esm/WebCore.js +1 -1
- package/dist/esm/_chunks/{AIInsight-Bho3jNF0.js → AIInsight-N3Qi2dKm.js} +1 -1
- package/dist/esm/_chunks/{AISummary-DYCEdg_4.js → AISummary-WlTbxSkq.js} +1 -1
- package/dist/esm/_chunks/{AiContentContainer-BIJIlibv.js → AiContentContainer-DLydt-sv.js} +1 -1
- package/dist/esm/_chunks/{AiWrittenByLockUp-B7Z0IBxz.js → AiWrittenByLockUp-B7A9WyfP.js} +1 -1
- package/dist/esm/_chunks/{AnnualController-CrR4OAMI.js → AnnualController-Bx0WhW0S.js} +1 -1
- package/dist/esm/_chunks/{AssetItem-BBz40_n-.js → AssetItem-rADVKE5M.js} +1 -1
- package/dist/esm/_chunks/{CommentCard-DBMoonRT.js → CommentCard-z_exfbyx.js} +1 -1
- package/dist/esm/_chunks/{DataPointInfo-DliV6kie.js → DataPointInfo-C9CHLjCe.js} +1 -1
- package/dist/esm/_chunks/{DemographicSelectionSection-C0I-ofP8.js → DemographicSelectionSection-BW7W41gi.js} +1 -1
- package/dist/esm/_chunks/{EmojiListItem-BnHbbg2e.js → EmojiListItem-Dc-APlL1.js} +1 -1
- package/dist/esm/_chunks/{EmojiQuestionEditorOption-CpkdlZYe.js → EmojiQuestionEditorOption-CfzKL-4f.js} +1 -1
- package/dist/esm/_chunks/{EmptyStateCard-BeXba-Pc.js → EmptyStateCard-CeIictDX.js} +1 -1
- package/dist/esm/_chunks/{ExtendedTestStatus-BQ8F7EYE.js → ExtendedTestStatus-DurTVVeu.js} +1 -1
- package/dist/esm/_chunks/{FilterCount-Pb-kJemE.js → FilterCount-DTUQcEqA.js} +1 -1
- package/dist/esm/_chunks/{FilterGroupAccordion-B9m3AHEm.js → FilterGroupAccordion-Cc3GUUkn.js} +1 -1
- package/dist/esm/_chunks/{FilterPyramidGraph-DO4315W_.js → FilterPyramidGraph-Cuaqodcj.js} +1 -1
- package/dist/esm/_chunks/{FilterRow-BSxQseLW.js → FilterRow-BRf92DeN.js} +1 -1
- package/dist/esm/_chunks/{FilteredItemsCard-Ceus_4eG.js → FilteredItemsCard-3WSLA8rY.js} +1 -1
- package/dist/esm/_chunks/{FormGenerator-CYfLp17u.js → FormGenerator-Ble7Py9q.js} +1 -1
- package/dist/esm/_chunks/{GraphBar-BOXHYm9i.js → GraphBar-D9BJGIvW.js} +1 -1
- package/dist/esm/_chunks/{Header-C2rP8ZdN.js → Header-CF182f1X.js} +1 -1
- package/dist/esm/_chunks/{KpiDataPopover-Dfa__5zJ.js → KpiDataPopover-ByJT-wcG.js} +1 -1
- package/dist/esm/_chunks/LikertGraph-DrNPDmA6.js +1 -0
- package/dist/esm/_chunks/{LoopItem-CTD1pfxR.js → LoopItem-BJFZLgpf.js} +1 -1
- package/dist/esm/_chunks/{LoopItemEmpty-D4Af5ELg.js → LoopItemEmpty-DwbrRS8x.js} +1 -1
- package/dist/esm/_chunks/{Navigation-EU9-kbqS.js → Navigation-Df9dN2Kg.js} +1 -1
- package/dist/esm/_chunks/{PaginationControl-CeRkXaaO.js → PaginationControl-CL_VBc0x.js} +1 -1
- package/dist/esm/_chunks/{Pill-B4_abbg0.js → Pill-B-TxXXjg.js} +1 -1
- package/dist/esm/_chunks/{PlanFeatureTable-CkmYtMFL.js → PlanFeatureTable-v6buuw0e.js} +1 -1
- package/dist/esm/_chunks/PlanTierCard-BSlD7XCM.js +1 -0
- package/dist/esm/_chunks/{ProjectItemEmpty-1g4VkDi7.js → ProjectItemEmpty-C9WdjPDx.js} +1 -1
- package/dist/esm/_chunks/{QuestionBlock-BKtwBdcE.js → QuestionBlock-CtvuGphW.js} +1 -1
- package/dist/esm/_chunks/{QuestionLabel-x5I-IBkX.js → QuestionLabel-p-6_HQnQ.js} +1 -1
- package/dist/esm/_chunks/{QuestionSelector-BfKEicw4.js → QuestionSelector-CmPUveaW.js} +1 -1
- package/dist/esm/_chunks/{QuestionStatsCard-B2PasWgx.js → QuestionStatsCard-CbWXvDzL.js} +1 -1
- package/dist/esm/_chunks/{Rank-aN90xsHV.js → Rank-DoBomn1Y.js} +1 -1
- package/dist/esm/_chunks/{RankItem-CugBh_Ex.js → RankItem-XN1nsWWv.js} +1 -1
- package/dist/esm/_chunks/{SearchInput-CfSYeTRq.js → SearchInput-__iHqFC_.js} +1 -1
- package/dist/esm/_chunks/{SectionHeader-mkHAthRq.js → SectionHeader-BfPNXSRo.js} +1 -1
- package/dist/esm/_chunks/{Select-Cze9j8eI.js → Select-D45cwt2t.js} +1 -1
- package/dist/esm/_chunks/{SentimentArrow-CH9l_8eA.js → SentimentArrow-D5iTzMCi.js} +1 -1
- package/dist/esm/_chunks/{SliderGraph-Da8d9JWB.js → SliderGraph-DCOub7vt.js} +1 -1
- package/dist/esm/_chunks/{SliderGraphYAxis-o6A3HmBk.js → SliderGraphYAxis-BZ4dRI3r.js} +1 -1
- package/dist/esm/_chunks/{StyledBox-CdVxr1Dz.js → StyledBox-jdpMXyFD.js} +1 -1
- package/dist/esm/_chunks/{StyledSurface-D1VhToLA.js → StyledSurface-Cs_WADoi.js} +1 -1
- package/dist/esm/_chunks/{StyledSurface-j-jll68s.js → StyledSurface-sy6IRDny.js} +1 -1
- package/dist/esm/_chunks/{Tab-CktwsUs5.js → Tab-c2jP1G7K.js} +1 -1
- package/dist/esm/_chunks/{TestItem-Dc2SkbXX.js → TestItem-B3NAoO7h.js} +1 -1
- package/dist/esm/_chunks/{TestKPICard-C5kg75nI.js → TestKPICard-DN7MIlpV.js} +1 -1
- package/dist/esm/_chunks/{TestStatus-Dm6na_-q.js → TestStatus-DimgPsFO.js} +1 -1
- package/dist/esm/_chunks/{UserMenu-DuICXDi8.js → UserMenu-DJw5Io69.js} +1 -1
- package/dist/esm/_chunks/{VideoControls-DGp0HhvT.js → VideoControls-CM00Syi7.js} +1 -1
- package/dist/esm/_chunks/{styledPartials-DHf1XKEq.js → styledPartials-Dzga3NtD.js} +1 -1
- package/dist/esm/_chunks/{styledPartials-Cwt_qGko.js → styledPartials-LT81tt6z.js} +1 -1
- package/dist/esm/_chunks/{styledPartials-DbTZe9lG.js → styledPartials-lR_wcFQX.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/{index-CE_2flEF.d.ts → index-BL6sQQFZ.d.ts} +1 -1
- package/dist/{index-CF8rKCsv.d.ts → index-Ctn-1GfZ.d.ts} +1 -1
- package/dist/{index-Dgts7Nd0.d.ts → index-CyNNYJKA.d.ts} +1 -1
- package/dist/{index-JAcUPSSx.d.ts → index-epVeXM4c.d.ts} +1 -1
- package/dist/index.d.ts +14 -237
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/_chunks/PlanTierCard-D-0pXipT.js +0 -1
- package/dist/esm/_chunks/PlanTierCard-Cn3r-fBl.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t,jsxs as e,Fragment as i}from"react/jsx-runtime";import{useRef as n,useCallback as s,createContext as o,useContext as r,useId as a,useEffect as l,useLayoutEffect as c,useMemo as u,useInsertionEffect as h,forwardRef as d,Fragment as p,createElement as m,Component as f,useState as g,memo as v}from"react";import{styled as y,Box as x,ListItemButton as w,formControlLabelClasses as P,checkboxClasses as b,useTheme as T,Stack as S}from"@mui/material";import{mergeSx as A}from"merge-sx";import"./misc-DEfpkrzV.js";import"./Icon-BP-WmpAJ.js";import"./primitiveVariables-C2nCN8Fk.js";import"./typography.util-ZFUiA8Aq.js";import"./AnnualController-Bx0WhW0S.js";import"./Accordion-KLkJP5an.js";import{T as E}from"./Typography-CgDLR_Wd.js";import"./Badge-udxQgyxt.js";import"./Breadcrumb-yGkwVVRn.js";import"./Button-CpuXPWGi.js";import"./ButtonBase-C2q4CZV7.js";import{C as V}from"./Checkbox-CObnBQGn.js";import"./StyledCheckbox-SuzP9Yxe.js";import"./InputFieldBase-B4d6Dg-h.js";import"./CreatableAutocomplete-CmmYcs5K.js";import"@mui/icons-material";import"./InputLabelBase-BdwNmiyi.js";import"./Differential-CrNzQGqM.js";import"./StyledMenu-riM_crCE.js";import"./FormGenerator-Ble7Py9q.js";import"./GridOverlay-BLtO6feB.js";import"html-react-parser";import"./IconButton-CVSXM4Tq.js";import"./IconButtonBase-CBa1P3Dt.js";import"./IconButtonGroup-C2ivSzDs.js";import"./Image-B_WlPc7A.js";import"./Label-D75U7tme.js";import"./Likert-Srh6SL8h.js";import"./Link-uYzcfgc4.js";import"@lottiefiles/dotlottie-react";import"./LoopsAiButton-DeAXErZu.js";import"markdown-to-jsx";import"material-ui-popup-state/hooks";import"./Surface-B6Np35YX.js";import"./MenuItem-tXAIFFbF.js";import"./ModalContentWrapper-LR-5lBgA.js";import"./NavigationButton-Dkf-tmN3.js";import"./NudgeButton-248syNPr.js";import"./NumberField-DCxbOEav.js";import"./semanticColor-D7tAxZiD.js";import"./types-DNd754Km.js";import"./typography-BTnFjSJk.js";import{T as C}from"./Tooltip-BfuYy6-R.js";import"./StyledPill-BI44yAhP.js";import"./Progress-BOcnDGZ1.js";import"./ProgressBar-CViBq0rq.js";import"./Radio-B4pNfjag.js";import"./autocomplete.styles-DJ5ythgf.js";import"./Select-D45cwt2t.js";import"./RankItem-XN1nsWWv.js";import"./SortableList-CTyQ9Xw7.js";import"@tiptap/extension-placeholder";import"@tiptap/extension-underline";import"@tiptap/starter-kit";import"mui-tiptap";import"./RichTextField-DDibFJZO.js";import{S as D}from"./Skeleton-CgzS0S-t.js";import"./Slider-CmfPIVYZ.js";import"./StarRating-CYozI9kV.js";import"./Switch-I2zWYCGY.js";import"./Textarea-bTjE-WiF.js";import"./TrialPill-iCI6w-r7.js";import"./UserMenuButton-BSz-e4Hg.js";import"./VideoModal-BQ-9nxlU.js";const M=t=>[t.custom.palette.data.sentimentVeryNegative,t.custom.palette.data.sentimentNegative,t.custom.palette.data.sentimentNeutral,t.custom.palette.data.sentimentPositive,t.custom.palette.data.sentimentVeryPositive],k=(t,e)=>{if(!t)return e.custom.palette.text.primary;return{[e.custom.palette.data.sentimentVeryNegative]:e.custom.palette.red[1e3],[e.custom.palette.data.sentimentNegative]:e.custom.palette.red[1e3],[e.custom.palette.data.sentimentNeutral]:e.custom.palette.neutral[1e3],[e.custom.palette.data.sentimentPositive]:e.custom.palette.green[1e3],[e.custom.palette.data.sentimentVeryPositive]:e.custom.palette.green[1e3]}[t]||e.custom.palette.text.primary},j=y(x)((({theme:t})=>({display:"flex",flexDirection:"column",gap:t.spacing(t.custom.margin.md),width:"100%",minWidth:440,maxWidth:500,boxSizing:"border-box"}))),R=y(x)((({theme:t})=>({display:"flex",alignItems:"center",height:56,width:"100%"}))),L=y(x)((({theme:t})=>({display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",width:"100%",gap:t.spacing(t.custom.margin.xs)}))),B=y(w)((({theme:t})=>({borderRadius:t.spacing(t.custom.radius.md),padding:0,backgroundColor:t.custom.palette.interaction.none,height:"100%",display:"flex",flexGrow:1,flexBasis:0,flexDirection:"column",alignItems:"center",justifyContent:"space-between","&:hover":{backgroundColor:t.custom.palette.interaction.hover,[`& .${P.root}`]:{[`& .${b.root}`]:{backgroundColor:t.custom.palette.blue[0]}}},"&:active":{backgroundColor:t.custom.palette.interaction.press},"&.Mui-selected":{backgroundColor:t.custom.palette.interaction.press},"&.Mui-disabled":{opacity:1}}))),F=y(x)((({theme:t,color:e})=>({width:24,aspectRatio:"1",borderRadius:"100%",backgroundColor:e}))),I=y(x)((({theme:t})=>({height:36,display:"flex",alignItems:"center",justifyContent:"center"})));y(x)((({theme:t,color:e,animateBars:i})=>({flex:1,backgroundColor:e,borderRadius:t.spacing(t.custom.radius.sm),transition:i?"height 1s ease-in-out":void 0,height:"100%"})));const O=({disabled:o,checked:r,label:a,toolTipContent:l,id:c,onChange:u,color:h,loading:d,slotProps:p={},hideCheckboxes:m,hideLabels:f,hideColorIndicators:g,disableTooltips:v})=>{const y=T(),w=n(null),P=s((()=>{!o&&u&&u(c,!r)}),[o,u,r]),b=m&&f&&g;return!b&&t(B,{disabled:o||d,onClick:P,children:t(C,{followCursor:!0,message:l,disableHoverListener:o||d||v||!l||b,...p?.actionsTooltip,slotProps:{wrapper:{sx:{width:"100%",height:"100%",padding:b?0:`${y.spacing(y.custom.margin.sm)} ${y.spacing(y.custom.margin.xs)}`,flexDirection:"column",display:"flex",alignItems:"center",justifyContent:"space-between",gap:y.spacing(y.custom.margin.md),...p?.actionsTooltip?.slotProps?.wrapper?.sx}}},children:e(i,{children:[e(S,{gap:y.spacing(y.custom.margin.xs),sx:{width:1,alignItems:"center"},children:[!g&&t(F,{sx:{...p?.actionsSwatchIndicator?.sx},color:o||d?y.custom.palette.interaction.disabled:r?h:y.custom.palette.neutral[100]}),!f&&t(I,{children:d?t(D,{width:50,height:20}):t(E,{variation:"sm",component:"p",textAlign:"center",...p?.actionsLabel,sx:A({color:o||!r?y.custom.palette.text.disabled:k(h,y)},p?.actionsLabel?.sx),children:a})})]}),!m&&t(x,{children:d?t(D,{width:24,height:24}):t(V,{id:`${c}-checkbox`,variant:"secondary",checked:!o&&r,disabled:o,checkboxLabel:void 0,inputRef:w,...p?.actionsCheckbox,sx:A({mr:0},p?.actionsCheckbox?.sx)})})]})})})},U=o({});const N=o(null),$=o({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});const W="undefined"!=typeof window,z=W?c:l,Y=t=>t;let K=Y,H=Y;function X(t){let e;return()=>(void 0===e&&(e=t()),e)}"production"!==process.env.NODE_ENV&&(K=(t,e)=>{t||"undefined"==typeof console||console.warn(e)},H=(t,e)=>{if(!t)throw new Error(e)});const G=(t,e,i)=>{const n=e-t;return 0===n?1:(i-t)/n},q=t=>1e3*t,_=t=>t/1e3,Z=!1;const J=["read","resolveKeyframes","update","preRender","render","postRender"];function Q(t,e){let i=!1,n=!0;const s={delta:0,timestamp:0,isProcessing:!1},o=()=>i=!0,r=J.reduce(((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,n=!1,s=!1;const o=new WeakSet;let r={delta:0,timestamp:0,isProcessing:!1};function a(e){o.has(e)&&(l.schedule(e),t()),e(r)}const l={schedule:(t,s=!1,r=!1)=>{const a=r&&n?e:i;return s&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{i.delete(t),o.delete(t)},process:t=>{r=t,n?s=!0:(n=!0,[e,i]=[i,e],e.forEach(a),e.clear(),n=!1,s&&(s=!1,l.process(t)))}};return l}(o),t)),{}),{read:a,resolveKeyframes:l,update:c,preRender:u,render:h,postRender:d}=r,p=()=>{const o=performance.now();i=!1,s.delta=n?1e3/60:Math.max(Math.min(o-s.timestamp,40),1),s.timestamp=o,s.isProcessing=!0,a.process(s),l.process(s),c.process(s),u.process(s),h.process(s),d.process(s),s.isProcessing=!1,i&&e&&(n=!1,t(p))};return{schedule:J.reduce(((e,o)=>{const a=r[o];return e[o]=(e,o=!1,r=!1)=>(i||(i=!0,n=!0,s.isProcessing||t(p)),a.schedule(e,o,r)),e}),{}),cancel:t=>{for(let e=0;e<J.length;e++)r[J[e]].cancel(t)},state:s,steps:r}}const{schedule:tt,cancel:et,state:it,steps:nt}=Q("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:Y,!0),st=o({strict:!1}),ot={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},rt={};for(const t in ot)rt[t]={isEnabled:e=>ot[t].some((t=>!!e[t]))};const at=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function lt(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||at.has(t)}let ct=t=>!lt(t);try{(ut=require("@emotion/is-prop-valid").default)&&(ct=t=>t.startsWith("on")?!lt(t):ut(t))}catch(t){}var ut;const ht=new Set;function dt(t,e,i){t||ht.has(e)||(console.warn(e),ht.add(e))}function pt(t){if("undefined"==typeof Proxy)return t;const e=new Map;return new Proxy(((...e)=>("production"!==process.env.NODE_ENV&&dt(!1,"motion() is deprecated. Use motion.create() instead."),t(...e))),{get:(i,n)=>"create"===n?t:(e.has(n)||e.set(n,t(n)),e.get(n))})}const mt=o({});function ft(t){return"string"==typeof t||Array.isArray(t)}function gt(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}const vt=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],yt=["initial",...vt];function xt(t){return gt(t.animate)||yt.some((e=>ft(t[e])))}function wt(t){return Boolean(xt(t)||t.variants)}function Pt(t){const{initial:e,animate:i}=function(t,e){if(xt(t)){const{initial:e,animate:i}=t;return{initial:!1===e||ft(e)?e:void 0,animate:ft(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,r(mt));return u((()=>({initial:e,animate:i})),[bt(e),bt(i)])}function bt(t){return Array.isArray(t)?t.join(" "):t}const Tt=Symbol.for("motionComponentSymbol");function St(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function At(t,e,i){return s((n=>{n&&t.onMount&&t.onMount(n),e&&(n?e.mount(n):e.unmount()),i&&("function"==typeof i?i(n):St(i)&&(i.current=n))}),[e])}const Et=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Vt="data-"+Et("framerAppearId"),{schedule:Ct,cancel:Dt}=Q(queueMicrotask,!1),Mt=o({});function kt(t,e,i,s,o){var a,c;const{visualElement:u}=r(mt),d=r(st),p=r(N),m=r($).reducedMotion,f=n(null);s=s||d.renderer,!f.current&&s&&(f.current=s(t,{visualState:e,parent:u,props:i,presenceContext:p,blockInitialAnimation:!!p&&!1===p.initial,reducedMotionConfig:m}));const g=f.current,v=r(Mt);!g||g.projection||!o||"html"!==g.type&&"svg"!==g.type||function(t,e,i,n){const{layoutId:s,layout:o,drag:r,dragConstraints:a,layoutScroll:l,layoutRoot:c}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:jt(t.parent)),t.projection.setOptions({layoutId:s,layout:o,alwaysMeasureLayout:Boolean(r)||a&&St(a),visualElement:t,animationType:"string"==typeof o?o:"both",initialPromotionConfig:n,layoutScroll:l,layoutRoot:c})}(f.current,i,o,v);const y=n(!1);h((()=>{g&&y.current&&g.update(i,p)}));const x=i[Vt],w=n(Boolean(x)&&!(null===(a=window.MotionHandoffIsComplete)||void 0===a?void 0:a.call(window,x))&&(null===(c=window.MotionHasOptimisedAnimation)||void 0===c?void 0:c.call(window,x)));return z((()=>{g&&(y.current=!0,window.MotionIsMounted=!0,g.updateFeatures(),Ct.render(g.render),w.current&&g.animationState&&g.animationState.animateChanges())})),l((()=>{g&&(!w.current&&g.animationState&&g.animationState.animateChanges(),w.current&&(queueMicrotask((()=>{var t;null===(t=window.MotionHandoffMarkAsComplete)||void 0===t||t.call(window,x)})),w.current=!1))})),g}function jt(t){if(t)return!1!==t.options.allowProjection?t.projection:jt(t.parent)}function Rt({preloadedFeatures:i,createVisualElement:n,useRender:s,useVisualState:o,Component:a}){var l,c;function u(l,c){let u;const h={...r($),...l,layoutId:Lt(l)},{isStatic:d}=h,p=Pt(l),m=o(l,d);if(!d&&W){!function(t,e){const i=r(st).strict;if("production"!==process.env.NODE_ENV&&e&&i){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?K(!1,e):H(!1,e)}}(h,i);const t=function(t){const{drag:e,layout:i}=rt;if(!e&&!i)return{};const n={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(h);u=t.MeasureLayout,p.visualElement=kt(a,m,h,n,t.ProjectionNode)}return e(mt.Provider,{value:p,children:[u&&p.visualElement?t(u,{visualElement:p.visualElement,...h}):null,s(a,l,At(m,p.visualElement,c),m,d,p.visualElement)]})}i&&function(t){for(const e in t)rt[e]={...rt[e],...t[e]}}(i),u.displayName=`motion.${"string"==typeof a?a:`create(${null!==(c=null!==(l=a.displayName)&&void 0!==l?l:a.name)&&void 0!==c?c:""})`}`;const h=d(u);return h[Tt]=a,h}function Lt({layoutId:t}){const e=r(U).id;return e&&void 0!==t?e+"-"+t:t}const Bt=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Ft(t){return"string"==typeof t&&!t.includes("-")&&!!(Bt.indexOf(t)>-1||/[A-Z]/u.test(t))}function It(t){const e=[{},{}];return null==t||t.values.forEach(((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()})),e}function Ot(t,e,i,n){if("function"==typeof e){const[s,o]=It(n);e=e(void 0!==i?i:t.custom,s,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){const[s,o]=It(n);e=e(void 0!==i?i:t.custom,s,o)}return e}const Ut=t=>Array.isArray(t),Nt=t=>Boolean(t&&t.getVelocity);function $t(t){const e=Nt(t)?t.get():t;return i=e,Boolean(i&&"object"==typeof i&&i.mix&&i.toValue)?e.toValue():e;var i}const Wt=t=>(e,i)=>{const s=r(mt),o=r(N),a=()=>function({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:i},n,s,o){const r={latestValues:zt(n,s,o,t),renderState:e()};return i&&(r.onMount=t=>i({props:n,current:t,...r}),r.onUpdate=t=>i(t)),r}(t,e,s,o);return i?a():function(t){const e=n(null);return null===e.current&&(e.current=t()),e.current}(a)};function zt(t,e,i,n){const s={},o=n(t,{});for(const t in o)s[t]=$t(o[t]);let{initial:r,animate:a}=t;const l=xt(t),c=wt(t);e&&c&&!l&&!1!==t.inherit&&(void 0===r&&(r=e.initial),void 0===a&&(a=e.animate));let u=!!i&&!1===i.initial;u=u||!1===r;const h=u?a:r;if(h&&"boolean"!=typeof h&&!gt(h)){const e=Array.isArray(h)?h:[h];for(let i=0;i<e.length;i++){const n=Ot(t,e[i]);if(n){const{transitionEnd:t,transition:e,...i}=n;for(const t in i){let e=i[t];if(Array.isArray(e)){e=e[u?e.length-1:0]}null!==e&&(s[t]=e)}for(const e in t)s[e]=t[e]}}}return s}const Yt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Kt=new Set(Yt),Ht=t=>e=>"string"==typeof e&&e.startsWith(t),Xt=Ht("--"),Gt=Ht("var(--"),qt=t=>!!Gt(t)&&_t.test(t.split("/*")[0].trim()),_t=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Zt=(t,e)=>e&&"number"==typeof t?e.transform(t):t,Jt=(t,e,i)=>i>e?e:i<t?t:i,Qt={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},te={...Qt,transform:t=>Jt(0,1,t)},ee={...Qt,default:1},ie=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),ne=ie("deg"),se=ie("%"),oe=ie("px"),re=ie("vh"),ae=ie("vw"),le={...se,parse:t=>se.parse(t)/100,transform:t=>se.transform(100*t)},ce={borderWidth:oe,borderTopWidth:oe,borderRightWidth:oe,borderBottomWidth:oe,borderLeftWidth:oe,borderRadius:oe,radius:oe,borderTopLeftRadius:oe,borderTopRightRadius:oe,borderBottomRightRadius:oe,borderBottomLeftRadius:oe,width:oe,maxWidth:oe,height:oe,maxHeight:oe,top:oe,right:oe,bottom:oe,left:oe,padding:oe,paddingTop:oe,paddingRight:oe,paddingBottom:oe,paddingLeft:oe,margin:oe,marginTop:oe,marginRight:oe,marginBottom:oe,marginLeft:oe,backgroundPositionX:oe,backgroundPositionY:oe},ue={rotate:ne,rotateX:ne,rotateY:ne,rotateZ:ne,scale:ee,scaleX:ee,scaleY:ee,scaleZ:ee,skew:ne,skewX:ne,skewY:ne,distance:oe,translateX:oe,translateY:oe,translateZ:oe,x:oe,y:oe,z:oe,perspective:oe,transformPerspective:oe,opacity:te,originX:le,originY:le,originZ:oe},he={...Qt,transform:Math.round},de={...ce,...ue,zIndex:he,size:oe,fillOpacity:te,strokeOpacity:te,numOctaves:he},pe={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},me=Yt.length;function fe(t,e,i){const{style:n,vars:s,transformOrigin:o}=t;let r=!1,a=!1;for(const t in e){const i=e[t];if(Kt.has(t))r=!0;else if(Xt(t))s[t]=i;else{const e=Zt(i,de[t]);t.startsWith("origin")?(a=!0,o[t]=e):n[t]=e}}if(e.transform||(r||i?n.transform=function(t,e,i){let n="",s=!0;for(let o=0;o<me;o++){const r=Yt[o],a=t[r];if(void 0===a)continue;let l=!0;if(l="number"==typeof a?a===(r.startsWith("scale")?1:0):0===parseFloat(a),!l||i){const t=Zt(a,de[r]);l||(s=!1,n+=`${pe[r]||r}(${t}) `),i&&(e[r]=t)}}return n=n.trim(),i?n=i(e,s?"":n):s&&(n="none"),n}(e,t.transform,i):n.transform&&(n.transform="none")),a){const{originX:t="50%",originY:e="50%",originZ:i=0}=o;n.transformOrigin=`${t} ${e} ${i}`}}const ge={offset:"stroke-dashoffset",array:"stroke-dasharray"},ve={offset:"strokeDashoffset",array:"strokeDasharray"};function ye(t,e,i){return"string"==typeof t?t:oe.transform(e+i*t)}function xe(t,{attrX:e,attrY:i,attrScale:n,originX:s,originY:o,pathLength:r,pathSpacing:a=1,pathOffset:l=0,...c},u,h){if(fe(t,c,h),u)return void(t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox));t.attrs=t.style,t.style={};const{attrs:d,style:p,dimensions:m}=t;d.transform&&(m&&(p.transform=d.transform),delete d.transform),m&&(void 0!==s||void 0!==o||p.transform)&&(p.transformOrigin=function(t,e,i){return`${ye(e,t.x,t.width)} ${ye(i,t.y,t.height)}`}(m,void 0!==s?s:.5,void 0!==o?o:.5)),void 0!==e&&(d.x=e),void 0!==i&&(d.y=i),void 0!==n&&(d.scale=n),void 0!==r&&function(t,e,i=1,n=0,s=!0){t.pathLength=1;const o=s?ge:ve;t[o.offset]=oe.transform(-n);const r=oe.transform(e),a=oe.transform(i);t[o.array]=`${r} ${a}`}(d,r,a,l,!1)}const we=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),Pe=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),be=t=>"string"==typeof t&&"svg"===t.toLowerCase();function Te(t,{style:e,vars:i},n,s){Object.assign(t.style,e,s&&s.getProjectionStyles(n));for(const e in i)t.style.setProperty(e,i[e])}const Se=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Ae(t,e,i,n){Te(t,e,void 0,n);for(const i in e.attrs)t.setAttribute(Se.has(i)?i:Et(i),e.attrs[i])}const Ee={};function Ve(t,{layout:e,layoutId:i}){return Kt.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!Ee[t]||"opacity"===t)}function Ce(t,e,i){var n;const{style:s}=t,o={};for(const r in s)(Nt(s[r])||e.style&&Nt(e.style[r])||Ve(r,t)||void 0!==(null===(n=null==i?void 0:i.getValue(r))||void 0===n?void 0:n.liveStyle))&&(o[r]=s[r]);return o}function De(t,e,i){const n=Ce(t,e,i);for(const i in t)if(Nt(t[i])||Nt(e[i])){n[-1!==Yt.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]}return n}const Me=["x","y","width","height","cx","cy","r"],ke={useVisualState:Wt({scrapeMotionValuesFromProps:De,createRenderState:Pe,onUpdate:({props:t,prevProps:e,current:i,renderState:n,latestValues:s})=>{if(!i)return;let o=!!t.drag;if(!o)for(const t in s)if(Kt.has(t)){o=!0;break}if(!o)return;let r=!e;if(e)for(let i=0;i<Me.length;i++){const n=Me[i];t[n]!==e[n]&&(r=!0)}r&&tt.read((()=>{!function(t,e){try{e.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(t){e.dimensions={x:0,y:0,width:0,height:0}}}(i,n),tt.render((()=>{xe(n,s,be(i.tagName),t.transformTemplate),Ae(i,n)}))}))}})},je={useVisualState:Wt({scrapeMotionValuesFromProps:Ce,createRenderState:we})};function Re(t,e,i){for(const n in e)Nt(e[n])||Ve(n,i)||(t[n]=e[n])}function Le(t,e){const i={};return Re(i,t.style||{},t),Object.assign(i,function({transformTemplate:t},e){return u((()=>{const i={style:{},transform:{},transformOrigin:{},vars:{}};return fe(i,e,t),Object.assign({},i.vars,i.style)}),[e])}(t,e)),i}function Be(t,e){const i={},n=Le(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=n,i}function Fe(t,e,i,n){const s=u((()=>{const i={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return xe(i,e,be(n),t.transformTemplate),{...i.attrs,style:{...i.style}}}),[e]);if(t.style){const e={};Re(e,t.style,t),s.style={...e,...s.style}}return s}function Ie(t=!1){return(e,i,n,{latestValues:s},o)=>{const r=(Ft(e)?Fe:Be)(i,s,o,e),a=function(t,e,i){const n={};for(const s in t)"values"===s&&"object"==typeof t.values||(ct(s)||!0===i&<(s)||!e&&!lt(s)||t.draggable&&s.startsWith("onDrag"))&&(n[s]=t[s]);return n}(i,"string"==typeof e,t),l=e!==p?{...a,...r,ref:n}:{},{children:c}=i,h=u((()=>Nt(c)?c.get():c),[c]);return m(e,{...l,children:h})}}function Oe(t,e){return function(i,{forwardMotionProps:n}={forwardMotionProps:!1}){return Rt({...Ft(i)?ke:je,preloadedFeatures:t,useRender:Ie(n),createVisualElement:e,Component:i})}}function Ue(t,e){if(!Array.isArray(e))return!1;const i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}function Ne(t,e,i){const n=t.getProps();return Ot(n,e,void 0!==i?i:n.custom,t)}const $e=X((()=>void 0!==window.ScrollTimeline));class We{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map((t=>"finished"in t?t.finished:t)))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=e}attachTimeline(t,e){const i=this.animations.map((i=>$e()&&i.attachTimeline?i.attachTimeline(t):"function"==typeof e?e(i):void 0));return()=>{i.forEach(((t,e)=>{t&&t(),this.animations[e].stop()}))}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach((e=>e[t]()))}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class ze extends We{then(t,e){return Promise.all(this.animations).then(t).catch(e)}}function Ye(t,e){return t?t[e]||t.default||t:void 0}const Ke=2e4;function He(t){let e=0;let i=t.next(e);for(;!i.done&&e<Ke;)e+=50,i=t.next(e);return e>=Ke?1/0:e}function Xe(t){return"function"==typeof t}function Ge(t,e){t.timeline=e,t.onfinish=null}const qe=t=>Array.isArray(t)&&"number"==typeof t[0],_e={linearEasing:void 0};function Ze(t,e){const i=X(t);return()=>{var t;return null!==(t=_e[e])&&void 0!==t?t:i()}}const Je=Ze((()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0}),"linearEasing"),Qe=(t,e,i=10)=>{let n="";const s=Math.max(Math.round(e/i),2);for(let e=0;e<s;e++)n+=t(G(0,s-1,e))+", ";return`linear(${n.substring(0,n.length-2)})`};function ti(t){return Boolean("function"==typeof t&&Je()||!t||"string"==typeof t&&(t in ii||Je())||qe(t)||Array.isArray(t)&&t.every(ti))}const ei=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,ii={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ei([0,.65,.55,1]),circOut:ei([.55,0,1,.45]),backIn:ei([.31,.01,.66,-.59]),backOut:ei([.33,1.53,.69,.99])};function ni(t,e){return t?"function"==typeof t&&Je()?Qe(t,e):qe(t)?ei(t):Array.isArray(t)?t.map((t=>ni(t,e)||ii.easeOut)):ii[t]:void 0}const si={x:!1,y:!1};function oi(){return si.x||si.y}function ri(t,e){const i=function(t){if(t instanceof Element)return[t];if("string"==typeof t){const e=document.querySelectorAll(t);return e?Array.from(e):[]}return Array.from(t)}(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function ai(t){return!("touch"===t.pointerType||oi())}const li=(t,e)=>!!e&&(t===e||li(t,e.parentElement)),ci=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary,ui=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);const hi=new WeakSet;function di(t){return e=>{"Enter"===e.key&&t(e)}}function pi(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function mi(t){return ci(t)&&!oi()}function fi(t,e,i={}){const[n,s,o]=ri(t,i),r=t=>{const n=t.currentTarget;if(!mi(t)||hi.has(n))return;hi.add(n);const o=e(n,t),r=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),mi(t)&&hi.has(n)&&(hi.delete(n),"function"==typeof o&&o(t,{success:e}))},a=t=>{r(t,i.useGlobalTarget||li(n,t.target))},l=t=>{r(t,!1)};window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",l,s)};return n.forEach((t=>{(function(t){return ui.has(t.tagName)||-1!==t.tabIndex})(t)||null!==t.getAttribute("tabindex")||(t.tabIndex=0);(i.useGlobalTarget?window:t).addEventListener("pointerdown",r,s),t.addEventListener("focus",(t=>((t,e)=>{const i=t.currentTarget;if(!i)return;const n=di((()=>{if(hi.has(i))return;pi(i,"down");const t=di((()=>{pi(i,"up")}));i.addEventListener("keyup",t,e),i.addEventListener("blur",(()=>pi(i,"cancel")),e)}));i.addEventListener("keydown",n,e),i.addEventListener("blur",(()=>i.removeEventListener("keydown",n)),e)})(t,s)),s)})),o}const gi=new Set(["width","height","top","left","right","bottom",...Yt]);let vi;function yi(){vi=void 0}const xi={now:()=>(void 0===vi&&xi.set(it.isProcessing||Z?it.timestamp:performance.now()),vi),set:t=>{vi=t,queueMicrotask(yi)}};function wi(t,e){-1===t.indexOf(e)&&t.push(e)}function Pi(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}class bi{constructor(){this.subscriptions=[]}add(t){return wi(this.subscriptions,t),()=>Pi(this.subscriptions,t)}notify(t,e,i){const n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let s=0;s<n;s++){const n=this.subscriptions[s];n&&n(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function Ti(t,e){return e?t*(1e3/e):0}class Si{constructor(t,e={}){this.version="12.0.6",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{const i=xi.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){var e;this.current=t,this.updatedAt=xi.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=(e=this.current,!isNaN(parseFloat(e))))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return"production"!==process.env.NODE_ENV&&dt(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new bi);const i=this.events[t].add(e);return"change"===t?()=>{i(),tt.read((()=>{this.events.change.getSize()||this.stop()}))}:i}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=xi.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;const e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return Ti(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise((e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ai(t,e){return new Si(t,e)}function Ei(t,e,i){t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,Ai(i))}function Vi(t,e){const i=t.getValue("willChange");if(n=i,Boolean(Nt(n)&&n.add))return i.add(e);var n}function Ci(t){return t.props[Vt]}const Di=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function Mi(t,e,i,n){if(t===e&&i===n)return Y;const s=e=>function(t,e,i,n,s){let o,r,a=0;do{r=e+(i-e)/2,o=Di(r,n,s)-t,o>0?i=r:e=r}while(Math.abs(o)>1e-7&&++a<12);return r}(e,0,1,t,i);return t=>0===t||1===t?t:Di(s(t),e,n)}const ki=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ji=t=>e=>1-t(1-e),Ri=Mi(.33,1.53,.69,.99),Li=ji(Ri),Bi=ki(Li),Fi=t=>(t*=2)<1?.5*Li(t):.5*(2-Math.pow(2,-10*(t-1))),Ii=t=>1-Math.sin(Math.acos(t)),Oi=ji(Ii),Ui=ki(Ii),Ni=t=>/^0[^.\s]+$/u.test(t);const $i=t=>Math.round(1e5*t)/1e5,Wi=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;const zi=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Yi=(t,e)=>i=>Boolean("string"==typeof i&&zi.test(i)&&i.startsWith(t)||e&&!function(t){return null==t}(i)&&Object.prototype.hasOwnProperty.call(i,e)),Ki=(t,e,i)=>n=>{if("string"!=typeof n)return n;const[s,o,r,a]=n.match(Wi);return{[t]:parseFloat(s),[e]:parseFloat(o),[i]:parseFloat(r),alpha:void 0!==a?parseFloat(a):1}},Hi={...Qt,transform:t=>Math.round((t=>Jt(0,255,t))(t))},Xi={test:Yi("rgb","red"),parse:Ki("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+Hi.transform(t)+", "+Hi.transform(e)+", "+Hi.transform(i)+", "+$i(te.transform(n))+")"};const Gi={test:Yi("#"),parse:function(t){let e="",i="",n="",s="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),s=t.substring(4,5),e+=e,i+=i,n+=n,s+=s),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:s?parseInt(s,16)/255:1}},transform:Xi.transform},qi={test:Yi("hsl","hue"),parse:Ki("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:n=1})=>"hsla("+Math.round(t)+", "+se.transform($i(e))+", "+se.transform($i(i))+", "+$i(te.transform(n))+")"},_i={test:t=>Xi.test(t)||Gi.test(t)||qi.test(t),parse:t=>Xi.test(t)?Xi.parse(t):qi.test(t)?qi.parse(t):Gi.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?Xi.transform(t):qi.transform(t)},Zi=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;const Ji="number",Qi="color",tn=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function en(t){const e=t.toString(),i=[],n={color:[],number:[],var:[]},s=[];let o=0;const r=e.replace(tn,(t=>(_i.test(t)?(n.color.push(o),s.push(Qi),i.push(_i.parse(t))):t.startsWith("var(")?(n.var.push(o),s.push("var"),i.push(t)):(n.number.push(o),s.push(Ji),i.push(parseFloat(t))),++o,"${}"))).split("${}");return{values:i,split:r,indexes:n,types:s}}function nn(t){return en(t).values}function sn(t){const{split:e,types:i}=en(t),n=e.length;return t=>{let s="";for(let o=0;o<n;o++)if(s+=e[o],void 0!==t[o]){const e=i[o];s+=e===Ji?$i(t[o]):e===Qi?_i.transform(t[o]):t[o]}return s}}const on=t=>"number"==typeof t?0:t;const rn={test:function(t){var e,i;return isNaN(t)&&"string"==typeof t&&((null===(e=t.match(Wi))||void 0===e?void 0:e.length)||0)+((null===(i=t.match(Zi))||void 0===i?void 0:i.length)||0)>0},parse:nn,createTransformer:sn,getAnimatableNone:function(t){const e=nn(t);return sn(t)(e.map(on))}},an=new Set(["brightness","contrast","saturate","opacity"]);function ln(t){const[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[n]=i.match(Wi)||[];if(!n)return t;const s=i.replace(n,"");let o=an.has(e)?1:0;return n!==i&&(o*=100),e+"("+o+s+")"}const cn=/\b([a-z-]*)\(.*?\)/gu,un={...rn,getAnimatableNone:t=>{const e=t.match(cn);return e?e.map(ln).join(" "):t}},hn={...de,color:_i,backgroundColor:_i,outlineColor:_i,fill:_i,stroke:_i,borderColor:_i,borderTopColor:_i,borderRightColor:_i,borderBottomColor:_i,borderLeftColor:_i,filter:un,WebkitFilter:un},dn=t=>hn[t];function pn(t,e){let i=dn(t);return i!==un&&(i=rn),i.getAnimatableNone?i.getAnimatableNone(e):void 0}const mn=new Set(["auto","none","0"]);const fn=t=>t===Qt||t===oe,gn=(t,e)=>parseFloat(t.split(", ")[e]),vn=(t,e)=>(i,{transform:n})=>{if("none"===n||!n)return 0;const s=n.match(/^matrix3d\((.+)\)$/u);if(s)return gn(s[1],e);{const e=n.match(/^matrix\((.+)\)$/u);return e?gn(e[1],t):0}},yn=new Set(["x","y","z"]),xn=Yt.filter((t=>!yn.has(t)));const wn={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:vn(4,13),y:vn(5,14)};wn.translateX=wn.x,wn.translateY=wn.y;const Pn=new Set;let bn=!1,Tn=!1;function Sn(){if(Tn){const t=Array.from(Pn).filter((t=>t.needsMeasurement)),e=new Set(t.map((t=>t.element))),i=new Map;e.forEach((t=>{const e=function(t){const e=[];return xn.forEach((i=>{const n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(i.startsWith("scale")?1:0))})),e}(t);e.length&&(i.set(t,e),t.render())})),t.forEach((t=>t.measureInitialState())),e.forEach((t=>{t.render();const e=i.get(t);e&&e.forEach((([e,i])=>{var n;null===(n=t.getValue(e))||void 0===n||n.set(i)}))})),t.forEach((t=>t.measureEndState())),t.forEach((t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)}))}Tn=!1,bn=!1,Pn.forEach((t=>t.complete())),Pn.clear()}function An(){Pn.forEach((t=>{t.readKeyframes(),t.needsMeasurement&&(Tn=!0)}))}class En{constructor(t,e,i,n,s,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=s,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Pn.add(this),bn||(bn=!0,tt.read(An),tt.resolveKeyframes(Sn))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;for(let s=0;s<t.length;s++)if(null===t[s])if(0===s){const s=null==n?void 0:n.get(),o=t[t.length-1];if(void 0!==s)t[0]=s;else if(i&&e){const n=i.readValue(e,o);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=o),n&&void 0===s&&n.set(t[0])}else t[s]=t[s-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Pn.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Pn.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const Vn=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),Cn=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Dn(t,e,i=1){H(i<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);const[n,s]=function(t){const e=Cn.exec(t);if(!e)return[,];const[,i,n,s]=e;return[`--${null!=i?i:n}`,s]}(t);if(!n)return;const o=window.getComputedStyle(e).getPropertyValue(n);if(o){const t=o.trim();return Vn(t)?parseFloat(t):t}return qt(s)?Dn(s,e,i+1):s}const Mn=t=>e=>e.test(t),kn=[Qt,oe,se,ne,ae,re,{test:t=>"auto"===t,parse:t=>t}],jn=t=>kn.find(Mn(t));class Rn extends En{constructor(t,e,i,n,s){super(t,e,i,n,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&(n=n.trim(),qt(n))){const s=Dn(n,e.current);void 0!==s&&(t[i]=s),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!gi.has(i)||2!==t.length)return;const[n,s]=t,o=jn(n),r=jn(s);if(o!==r)if(fn(o)&&fn(r))for(let e=0;e<t.length;e++){const i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++)("number"==typeof(n=t[e])?0===n:null===n||"none"===n||"0"===n||Ni(n))&&i.push(e);var n;i.length&&function(t,e,i){let n,s=0;for(;s<t.length&&!n;){const e=t[s];"string"==typeof e&&!mn.has(e)&&en(e).values.length&&(n=t[s]),s++}if(n&&i)for(const s of e)t[s]=pn(i,n)}(t,i,e)}measureInitialState(){const{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=wn[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;const n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){var t;const{element:e,name:i,unresolvedKeyframes:n}=this;if(!e||!e.current)return;const s=e.getValue(i);s&&s.jump(this.measuredOrigin,!1);const o=n.length-1,r=n[o];n[o]=wn[i](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==r&&void 0===this.finalKeyframe&&(this.finalKeyframe=r),(null===(t=this.removedTransforms)||void 0===t?void 0:t.length)&&this.removedTransforms.forEach((([t,i])=>{e.getValue(t).set(i)})),this.resolveNoneKeyframes()}}const Ln=(t,e)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!rn.test(t)&&"0"!==t||t.startsWith("url(")));function Bn(t,e,i,n){const s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;const o=t[t.length-1],r=Ln(s,e),a=Ln(o,e);return K(r===a,`You are trying to animate ${e} from "${s}" to "${o}". ${s} is not an animatable value - to enable this animation set ${s} to a value animatable to ${o} via the \`style\` property.`),!(!r||!a)&&(function(t){const e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||Xe(i))&&n)}const Fn=t=>null!==t;function In(t,{repeat:e,repeatType:i="loop"},n){const s=t.filter(Fn),o=e&&"loop"!==i&&e%2==1?0:s.length-1;return o&&void 0!==n?n:s[o]}class On{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:s=0,repeatType:o="loop",...r}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=xi.now(),this.options={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:s,repeatType:o,...r},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(An(),Sn()),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=xi.now(),this.hasAttemptedResolve=!0;const{name:i,type:n,velocity:s,delay:o,onComplete:r,onUpdate:a,isGenerator:l}=this.options;if(!l&&!Bn(t,i,n,s)){if(!o)return a&&a(In(t,this.options,e)),r&&r(),void this.resolveFinishedPromise();this.options.duration=0}const c=this.initPlayback(t,e);!1!==c&&(this._resolved={keyframes:t,finalKeyframe:e,...c},this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise((t=>{this.resolveFinishedPromise=t}))}}const Un=(t,e,i)=>t+(e-t)*i;function Nn(t,e,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+6*(e-t)*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function $n(t,e){return i=>i>0?e:t}const Wn=(t,e,i)=>{const n=t*t,s=i*(e*e-n)+n;return s<0?0:Math.sqrt(s)},zn=[Gi,Xi,qi];function Yn(t){const e=(i=t,zn.find((t=>t.test(i))));var i;if(K(Boolean(e),`'${t}' is not an animatable color. Use the equivalent color code instead.`),!Boolean(e))return!1;let n=e.parse(t);return e===qi&&(n=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let s=0,o=0,r=0;if(e/=100){const n=i<.5?i*(1+e):i+e-i*e,a=2*i-n;s=Nn(a,n,t+1/3),o=Nn(a,n,t),r=Nn(a,n,t-1/3)}else s=o=r=i;return{red:Math.round(255*s),green:Math.round(255*o),blue:Math.round(255*r),alpha:n}}(n)),n}const Kn=(t,e)=>{const i=Yn(t),n=Yn(e);if(!i||!n)return $n(t,e);const s={...i};return t=>(s.red=Wn(i.red,n.red,t),s.green=Wn(i.green,n.green,t),s.blue=Wn(i.blue,n.blue,t),s.alpha=Un(i.alpha,n.alpha,t),Xi.transform(s))},Hn=(t,e)=>i=>e(t(i)),Xn=(...t)=>t.reduce(Hn),Gn=new Set(["none","hidden"]);function qn(t,e){return i=>Un(t,e,i)}function _n(t){return"number"==typeof t?qn:"string"==typeof t?qt(t)?$n:_i.test(t)?Kn:Qn:Array.isArray(t)?Zn:"object"==typeof t?_i.test(t)?Kn:Jn:$n}function Zn(t,e){const i=[...t],n=i.length,s=t.map(((t,i)=>_n(t)(t,e[i])));return t=>{for(let e=0;e<n;e++)i[e]=s[e](t);return i}}function Jn(t,e){const i={...t,...e},n={};for(const s in i)void 0!==t[s]&&void 0!==e[s]&&(n[s]=_n(t[s])(t[s],e[s]));return t=>{for(const e in n)i[e]=n[e](t);return i}}const Qn=(t,e)=>{const i=rn.createTransformer(e),n=en(t),s=en(e);return n.indexes.var.length===s.indexes.var.length&&n.indexes.color.length===s.indexes.color.length&&n.indexes.number.length>=s.indexes.number.length?Gn.has(t)&&!s.values.length||Gn.has(e)&&!n.values.length?function(t,e){return Gn.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}(t,e):Xn(Zn(function(t,e){var i;const n=[],s={color:0,var:0,number:0};for(let o=0;o<e.values.length;o++){const r=e.types[o],a=t.indexes[r][s[r]],l=null!==(i=t.values[a])&&void 0!==i?i:0;n[o]=l,s[r]++}return n}(n,s),s.values),i):(K(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),$n(t,e))};function ts(t,e,i){if("number"==typeof t&&"number"==typeof e&&"number"==typeof i)return Un(t,e,i);return _n(t)(t,e)}function es(t,e,i){const n=Math.max(e-5,0);return Ti(i-t(n),e-n)}const is=100,ns=10,ss=1,os=0,rs=800,as=.3,ls=.3,cs={granular:.01,default:2},us={granular:.005,default:.5},hs=.01,ds=10,ps=.05,ms=1;function fs({duration:t=rs,bounce:e=as,velocity:i=os,mass:n=ss}){let s,o;K(t<=q(ds),"Spring duration must be 10 seconds or less");let r=1-e;r=Jt(ps,ms,r),t=Jt(hs,ds,_(t)),r<1?(s=e=>{const n=e*r,s=n*t;return.001-(n-i)/vs(e,r)*Math.exp(-s)},o=e=>{const n=e*r*t,o=n*i+i,a=Math.pow(r,2)*Math.pow(e,2)*t,l=Math.exp(-n),c=vs(Math.pow(e,2),r);return(.001-s(e)>0?-1:1)*((o-a)*l)/c}):(s=e=>Math.exp(-e*t)*((e-i)*t+1)-.001,o=e=>Math.exp(-e*t)*(t*t*(i-e)));const a=function(t,e,i){let n=i;for(let i=1;i<gs;i++)n-=t(n)/e(n);return n}(s,o,5/t);if(t=q(t),isNaN(a))return{stiffness:is,damping:ns,duration:t};{const e=Math.pow(a,2)*n;return{stiffness:e,damping:2*r*Math.sqrt(n*e),duration:t}}}const gs=12;function vs(t,e){return t*Math.sqrt(1-e*e)}const ys=["duration","bounce"],xs=["stiffness","damping","mass"];function ws(t,e){return e.some((e=>void 0!==t[e]))}function Ps(t=ls,e=as){const i="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:n,restDelta:s}=i;const o=i.keyframes[0],r=i.keyframes[i.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:c,mass:u,duration:h,velocity:d,isResolvedFromDuration:p}=function(t){let e={velocity:os,stiffness:is,damping:ns,mass:ss,isResolvedFromDuration:!1,...t};if(!ws(t,xs)&&ws(t,ys))if(t.visualDuration){const i=t.visualDuration,n=2*Math.PI/(1.2*i),s=n*n,o=2*Jt(.05,1,1-(t.bounce||0))*Math.sqrt(s);e={...e,mass:ss,stiffness:s,damping:o}}else{const i=fs(t);e={...e,...i,mass:ss},e.isResolvedFromDuration=!0}return e}({...i,velocity:-_(i.velocity||0)}),m=d||0,f=c/(2*Math.sqrt(l*u)),g=r-o,v=_(Math.sqrt(l/u)),y=Math.abs(g)<5;let x;if(n||(n=y?cs.granular:cs.default),s||(s=y?us.granular:us.default),f<1){const t=vs(v,f);x=e=>{const i=Math.exp(-f*v*e);return r-i*((m+f*v*g)/t*Math.sin(t*e)+g*Math.cos(t*e))}}else if(1===f)x=t=>r-Math.exp(-v*t)*(g+(m+v*g)*t);else{const t=v*Math.sqrt(f*f-1);x=e=>{const i=Math.exp(-f*v*e),n=Math.min(t*e,300);return r-i*((m+f*v*g)*Math.sinh(n)+t*g*Math.cosh(n))/t}}const w={calculatedDuration:p&&h||null,next:t=>{const e=x(t);if(p)a.done=t>=h;else{let i=0;f<1&&(i=0===t?q(m):es(x,t,e));const o=Math.abs(i)<=n,l=Math.abs(r-e)<=s;a.done=o&&l}return a.value=a.done?r:e,a},toString:()=>{const t=Math.min(He(w),Ke),e=Qe((e=>w.next(t*e).value),t,30);return t+"ms "+e}};return w}function bs({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:s=10,bounceStiffness:o=500,modifyTarget:r,min:a,max:l,restDelta:c=.5,restSpeed:u}){const h=t[0],d={done:!1,value:h},p=t=>void 0===a?l:void 0===l||Math.abs(a-t)<Math.abs(l-t)?a:l;let m=i*e;const f=h+m,g=void 0===r?f:r(f);g!==f&&(m=g-h);const v=t=>-m*Math.exp(-t/n),y=t=>g+v(t),x=t=>{const e=v(t),i=y(t);d.done=Math.abs(e)<=c,d.value=d.done?g:i};let w,P;const b=t=>{var e;(e=d.value,void 0!==a&&e<a||void 0!==l&&e>l)&&(w=t,P=Ps({keyframes:[d.value,p(d.value)],velocity:es(y,t,d.value),damping:s,stiffness:o,restDelta:c,restSpeed:u}))};return b(0),{calculatedDuration:null,next:t=>{let e=!1;return P||void 0!==w||(e=!0,x(t),b(t)),void 0!==w&&t>=w?P.next(t-w):(!e&&x(t),d)}}}const Ts=Mi(.42,0,1,1),Ss=Mi(0,0,.58,1),As=Mi(.42,0,.58,1),Es={linear:Y,easeIn:Ts,easeInOut:As,easeOut:Ss,circIn:Ii,circInOut:Ui,circOut:Oi,backIn:Li,backInOut:Bi,backOut:Ri,anticipate:Fi},Vs=t=>{if(qe(t)){H(4===t.length,"Cubic bezier arrays must contain four numerical values.");const[e,i,n,s]=t;return Mi(e,i,n,s)}return"string"==typeof t?(H(void 0!==Es[t],`Invalid easing type '${t}'`),Es[t]):t};function Cs(t,e,{clamp:i=!0,ease:n,mixer:s}={}){const o=t.length;if(H(o===e.length,"Both input and output ranges must be the same length"),1===o)return()=>e[0];if(2===o&&e[0]===e[1])return()=>e[1];const r=t[0]===t[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=function(t,e,i){const n=[],s=i||ts,o=t.length-1;for(let i=0;i<o;i++){let o=s(t[i],t[i+1]);if(e){const t=Array.isArray(e)?e[i]||Y:e;o=Xn(t,o)}n.push(o)}return n}(e,n,s),l=a.length,c=i=>{if(r&&i<t[0])return e[0];let n=0;if(l>1)for(;n<t.length-2&&!(i<t[n+1]);n++);const s=G(t[n],t[n+1],i);return a[n](s)};return i?e=>c(Jt(t[0],t[o-1],e)):c}function Ds(t){const e=[0];return function(t,e){const i=t[t.length-1];for(let n=1;n<=e;n++){const s=G(0,e,n);t.push(Un(i,1,s))}}(e,t.length-1),e}function Ms({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){const s=(t=>Array.isArray(t)&&"number"!=typeof t[0])(n)?n.map(Vs):Vs(n),o={done:!1,value:e[0]},r=function(t,e){return t.map((t=>t*e))}(i&&i.length===e.length?i:Ds(e),t),a=Cs(r,e,{ease:Array.isArray(s)?s:(l=e,c=s,l.map((()=>c||As)).splice(0,l.length-1))});var l,c;return{calculatedDuration:t,next:e=>(o.value=a(e),o.done=e>=t,o)}}const ks=t=>{const e=({timestamp:e})=>t(e);return{start:()=>tt.update(e,!0),stop:()=>et(e),now:()=>it.isProcessing?it.timestamp:xi.now()}},js={decay:bs,inertia:bs,tween:Ms,keyframes:Ms,spring:Ps},Rs=t=>t/100;class Ls extends On{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();const{onStop:t}=this.options;t&&t()};const{name:e,motionValue:i,element:n,keyframes:s}=this.options,o=(null==n?void 0:n.KeyframeResolver)||En;this.resolver=new o(s,((t,e)=>this.onKeyframesResolved(t,e)),e,i,n),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:e="keyframes",repeat:i=0,repeatDelay:n=0,repeatType:s,velocity:o=0}=this.options,r=Xe(e)?e:js[e]||Ms;let a,l;r!==Ms&&"number"!=typeof t[0]&&("production"!==process.env.NODE_ENV&&H(2===t.length,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${t}`),a=Xn(Rs,ts(t[0],t[1])),t=[0,100]);const c=r({...this.options,keyframes:t});"mirror"===s&&(l=r({...this.options,keyframes:[...t].reverse(),velocity:-o})),null===c.calculatedDuration&&(c.calculatedDuration=He(c));const{calculatedDuration:u}=c,h=u+n;return{generator:c,mirroredGenerator:l,mapPercentToKeyframes:a,calculatedDuration:u,resolvedDuration:h,totalDuration:h*(i+1)-n}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){const{resolved:i}=this;if(!i){const{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}const{finalKeyframe:n,generator:s,mirroredGenerator:o,mapPercentToKeyframes:r,keyframes:a,calculatedDuration:l,totalDuration:c,resolvedDuration:u}=i;if(null===this.startTime)return s.next(0);const{delay:h,repeat:d,repeatType:p,repeatDelay:m,onUpdate:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-c/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const g=this.currentTime-h*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>c;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=c);let y=this.currentTime,x=s;if(d){const t=Math.min(this.currentTime,c)/u;let e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,e=Math.min(e,d+1);Boolean(e%2)&&("reverse"===p?(i=1-i,m&&(i-=m/u)):"mirror"===p&&(x=o)),y=Jt(0,1,i)*u}const w=v?{done:!1,value:a[0]}:x.next(y);r&&(w.value=r(w.value));let{done:P}=w;v||null===l||(P=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const b=null===this.holdTime&&("finished"===this.state||"running"===this.state&&P);return b&&void 0!==n&&(w.value=In(a,this.options,n)),f&&f(w.value),b&&this.finish(),w}get duration(){const{resolved:t}=this;return t?_(t.calculatedDuration):0}get time(){return _(this.currentTime)}set time(t){t=q(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=_(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:t=ks,onPlay:e,startTime:i}=this.options;this.driver||(this.driver=t((t=>this.tick(t)))),e&&e();const n=this.driver.now();null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=n):this.startTime=null!=i?i:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;this._resolved?(this.state="paused",this.holdTime=null!==(t=this.currentTime)&&void 0!==t?t:0):this.pendingPlayState="paused"}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const Bs=new Set(["opacity","clipPath","filter","transform"]);function Fs(t,e,i,{delay:n=0,duration:s=300,repeat:o=0,repeatType:r="loop",ease:a="easeInOut",times:l}={}){const c={[e]:i};l&&(c.offset=l);const u=ni(a,s);return Array.isArray(u)&&(c.easing=u),t.animate(c,{delay:n,duration:s,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:"reverse"===r?"alternate":"normal"})}const Is=X((()=>Object.hasOwnProperty.call(Element.prototype,"animate")));const Os={anticipate:Fi,backInOut:Bi,circInOut:Ui};class Us extends On{constructor(t){super(t);const{name:e,motionValue:i,element:n,keyframes:s}=this.options;this.resolver=new Rn(s,((t,e)=>this.onKeyframesResolved(t,e)),e,i,n),this.resolver.scheduleResolve()}initPlayback(t,e){let{duration:i=300,times:n,ease:s,type:o,motionValue:r,name:a,startTime:l}=this.options;if(!r.owner||!r.owner.current)return!1;var c;if("string"==typeof s&&Je()&&s in Os&&(s=Os[s]),Xe((c=this.options).type)||"spring"===c.type||!ti(c.ease)){const{onComplete:e,onUpdate:r,motionValue:a,element:l,...c}=this.options,u=function(t,e){const i=new Ls({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0});let n={done:!1,value:t[0]};const s=[];let o=0;for(;!n.done&&o<2e4;)n=i.sample(o),s.push(n.value),o+=10;return{times:void 0,keyframes:s,duration:o-10,ease:"linear"}}(t,c);1===(t=u.keyframes).length&&(t[1]=t[0]),i=u.duration,n=u.times,s=u.ease,o="keyframes"}const u=Fs(r.owner.current,a,t,{...this.options,duration:i,times:n,ease:s});return u.startTime=null!=l?l:this.calcStartTime(),this.pendingTimeline?(Ge(u,this.pendingTimeline),this.pendingTimeline=void 0):u.onfinish=()=>{const{onComplete:i}=this.options;r.set(In(t,this.options,e)),i&&i(),this.cancel(),this.resolveFinishedPromise()},{animation:u,duration:i,times:n,type:o,ease:s,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:e}=t;return _(e)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:e}=t;return _(e.currentTime||0)}set time(t){const{resolved:e}=this;if(!e)return;const{animation:i}=e;i.currentTime=q(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:e}=t;return e.playbackRate}set speed(t){const{resolved:e}=this;if(!e)return;const{animation:i}=e;i.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:e}=t;return e.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){const{resolved:e}=this;if(!e)return Y;const{animation:i}=e;Ge(i,t)}else this.pendingTimeline=t;return Y}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:e}=t;"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:e,keyframes:i,duration:n,type:s,ease:o,times:r}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){const{motionValue:t,onUpdate:e,onComplete:a,element:l,...c}=this.options,u=new Ls({...c,keyframes:i,duration:n,type:s,ease:o,times:r,isGenerator:!0}),h=q(this.time);t.setWithVelocity(u.sample(h-10).value,u.sample(h).value,10)}const{onStop:a}=this.options;a&&a(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:e,name:i,repeatDelay:n,repeatType:s,damping:o,type:r}=t;if(!(e&&e.owner&&e.owner.current instanceof HTMLElement))return!1;const{onUpdate:a,transformTemplate:l}=e.owner.getProps();return Is()&&i&&Bs.has(i)&&!a&&!l&&!n&&"mirror"!==s&&0!==o&&"inertia"!==r}}const Ns={type:"spring",stiffness:500,damping:25,restSpeed:10},$s={type:"keyframes",duration:.8},Ws={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},zs=(t,{keyframes:e})=>e.length>2?$s:Kt.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:Ns:Ws;const Ys=(t,e,i,n={},s,o)=>r=>{const a=Ye(n,t)||{},l=a.delay||n.delay||0;let{elapsed:c=0}=n;c-=q(l);let u={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-c,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{r(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:o?void 0:s};(function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:s,repeat:o,repeatType:r,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length})(a)||(u={...u,...zs(t,u)}),u.duration&&(u.duration=q(u.duration)),u.repeatDelay&&(u.repeatDelay=q(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let h=!1;if((!1===u.type||0===u.duration&&!u.repeatDelay)&&(u.duration=0,0===u.delay&&(h=!0)),h&&!o&&void 0!==e.get()){const t=In(u.keyframes,a);if(void 0!==t)return tt.update((()=>{u.onUpdate(t),u.onComplete()})),new ze([])}return!o&&Us.supports(u)?new Us(u):new Ls(u)};function Ks({protectedKeys:t,needsAnimating:e},i){const n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}function Hs(t,e,{delay:i=0,transitionOverride:n,type:s}={}){var o;let{transition:r=t.getDefaultTransition(),transitionEnd:a,...l}=e;n&&(r=n);const c=[],u=s&&t.animationState&&t.animationState.getState()[s];for(const e in l){const n=t.getValue(e,null!==(o=t.latestValues[e])&&void 0!==o?o:null),s=l[e];if(void 0===s||u&&Ks(u,e))continue;const a={delay:i,...Ye(r||{},e)};let h=!1;if(window.MotionHandoffAnimation){const i=Ci(t);if(i){const t=window.MotionHandoffAnimation(i,e,tt);null!==t&&(a.startTime=t,h=!0)}}Vi(t,e),n.start(Ys(e,n,s,t.shouldReduceMotion&&gi.has(e)?{type:!1}:a,t,h));const d=n.animation;d&&c.push(d)}return a&&Promise.all(c).then((()=>{tt.update((()=>{a&&function(t,e){const i=Ne(t,e);let{transitionEnd:n={},transition:s={},...o}=i||{};o={...o,...n};for(const e in o)Ei(t,e,(r=o[e],Ut(r)?r[r.length-1]||0:r));var r}(t,a)}))})),c}function Xs(t,e,i={}){var n;const s=Ne(t,e,"exit"===i.type?null===(n=t.presenceContext)||void 0===n?void 0:n.custom:void 0);let{transition:o=t.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(o=i.transitionOverride);const r=s?()=>Promise.all(Hs(t,s,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(n=0)=>{const{delayChildren:s=0,staggerChildren:r,staggerDirection:a}=o;return function(t,e,i=0,n=0,s=1,o){const r=[],a=(t.variantChildren.size-1)*n,l=1===s?(t=0)=>t*n:(t=0)=>a-t*n;return Array.from(t.variantChildren).sort(Gs).forEach(((t,n)=>{t.notify("AnimationStart",e),r.push(Xs(t,e,{...o,delay:i+l(n)}).then((()=>t.notify("AnimationComplete",e))))})),Promise.all(r)}(t,e,s+n,r,a,i)}:()=>Promise.resolve(),{when:l}=o;if(l){const[t,e]="beforeChildren"===l?[r,a]:[a,r];return t().then((()=>e()))}return Promise.all([r(),a(i.delay)])}function Gs(t,e){return t.sortNodePosition(e)}const qs=yt.length;function _s(t){if(!t)return;if(!t.isControllingVariants){const e=t.parent&&_s(t.parent)||{};return void 0!==t.props.initial&&(e.initial=t.props.initial),e}const e={};for(let i=0;i<qs;i++){const n=yt[i],s=t.props[n];(ft(s)||!1===s)&&(e[n]=s)}return e}const Zs=[...vt].reverse(),Js=vt.length;function Qs(t){return e=>Promise.all(e.map((({animation:e,options:i})=>function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e)){const s=e.map((e=>Xs(t,e,i)));n=Promise.all(s)}else if("string"==typeof e)n=Xs(t,e,i);else{const s="function"==typeof e?Ne(t,e,i.custom):e;n=Promise.all(Hs(t,s,i))}return n.then((()=>{t.notify("AnimationComplete",e)}))}(t,e,i))))}function to(t){let e=Qs(t),i=no(),n=!0;const s=e=>(i,n)=>{var s;const o=Ne(t,n,"exit"===e?null===(s=t.presenceContext)||void 0===s?void 0:s.custom:void 0);if(o){const{transition:t,transitionEnd:e,...n}=o;i={...i,...n,...e}}return i};function o(o){const{props:r}=t,a=_s(t.parent)||{},l=[],c=new Set;let u={},h=1/0;for(let e=0;e<Js;e++){const d=Zs[e],p=i[d],m=void 0!==r[d]?r[d]:a[d],f=ft(m),g=d===o?p.isActive:null;!1===g&&(h=e);let v=m===a[d]&&m!==r[d]&&f;if(v&&n&&t.manuallyAnimateOnMount&&(v=!1),p.protectedKeys={...u},!p.isActive&&null===g||!m&&!p.prevProp||gt(m)||"boolean"==typeof m)continue;const y=eo(p.prevProp,m);let x=y||d===o&&p.isActive&&!v&&f||e>h&&f,w=!1;const P=Array.isArray(m)?m:[m];let b=P.reduce(s(d),{});!1===g&&(b={});const{prevResolvedValues:T={}}=p,S={...T,...b},A=e=>{x=!0,c.has(e)&&(w=!0,c.delete(e)),p.needsAnimating[e]=!0;const i=t.getValue(e);i&&(i.liveStyle=!1)};for(const t in S){const e=b[t],i=T[t];if(u.hasOwnProperty(t))continue;let n=!1;n=Ut(e)&&Ut(i)?!Ue(e,i):e!==i,n?null!=e?A(t):c.add(t):void 0!==e&&c.has(t)?A(t):p.protectedKeys[t]=!0}p.prevProp=m,p.prevResolvedValues=b,p.isActive&&(u={...u,...b}),n&&t.blockInitialAnimation&&(x=!1);x&&(!(v&&y)||w)&&l.push(...P.map((t=>({animation:t,options:{type:d}}))))}if(c.size){const e={};c.forEach((i=>{const n=t.getBaseTarget(i),s=t.getValue(i);s&&(s.liveStyle=!0),e[i]=null!=n?n:null})),l.push({animation:e})}let d=Boolean(l.length);return!n||!1!==r.initial&&r.initial!==r.animate||t.manuallyAnimateOnMount||(d=!1),n=!1,d?e(l):Promise.resolve()}return{animateChanges:o,setActive:function(e,n){var s;if(i[e].isActive===n)return Promise.resolve();null===(s=t.variantChildren)||void 0===s||s.forEach((t=>{var i;return null===(i=t.animationState)||void 0===i?void 0:i.setActive(e,n)})),i[e].isActive=n;const r=o(e);for(const t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=no(),n=!0}}}function eo(t,e){return"string"==typeof e?e!==t:!!Array.isArray(e)&&!Ue(e,t)}function io(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function no(){return{animate:io(!0),whileInView:io(),whileHover:io(),whileTap:io(),whileDrag:io(),whileFocus:io(),exit:io()}}class so{constructor(t){this.isMounted=!1,this.node=t}update(){}}let oo=0;const ro={animation:{Feature:class extends so{constructor(t){super(t),t.animationState||(t.animationState=to(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();gt(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null===(t=this.unmountControls)||void 0===t||t.call(this)}}},exit:{Feature:class extends so{constructor(){super(...arguments),this.id=oo++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then((()=>e(this.id)))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}}};function ao(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}function lo(t){return{point:{x:t.pageX,y:t.pageY}}}function co(t,e,i,n){return ao(t,e,(t=>e=>ci(e)&&t(e,lo(e)))(i),n)}const uo=(t,e)=>Math.abs(t-e);class ho{constructor(t,e,{transformPagePoint:i,contextWindow:n,dragSnapToOrigin:s=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const t=fo(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){const i=uo(t.x,e.x),n=uo(t.y,e.y);return Math.sqrt(i**2+n**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!i)return;const{point:n}=t,{timestamp:s}=it;this.history.push({...n,timestamp:s});const{onStart:o,onMove:r}=this.handlers;e||(o&&o(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),r&&r(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=po(e,this.transformPagePoint),tt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();const{onEnd:i,onSessionEnd:n,resumeAnimation:s}=this.handlers;if(this.dragSnapToOrigin&&s&&s(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const o=fo("pointercancel"===t.type?this.lastMoveEventInfo:po(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,o),n&&n(t,o)},!ci(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=i,this.contextWindow=n||window;const o=po(lo(t),this.transformPagePoint),{point:r}=o,{timestamp:a}=it;this.history=[{...r,timestamp:a}];const{onSessionStart:l}=e;l&&l(t,fo(o,this.history)),this.removeListeners=Xn(co(this.contextWindow,"pointermove",this.handlePointerMove),co(this.contextWindow,"pointerup",this.handlePointerUp),co(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),et(this.updatePoint)}}function po(t,e){return e?{point:e(t.point)}:t}function mo(t,e){return{x:t.x-e.x,y:t.y-e.y}}function fo({point:t},e){return{point:t,delta:mo(t,vo(e)),offset:mo(t,go(e)),velocity:yo(e,.1)}}function go(t){return t[0]}function vo(t){return t[t.length-1]}function yo(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null;const s=vo(t);for(;i>=0&&(n=t[i],!(s.timestamp-n.timestamp>q(e)));)i--;if(!n)return{x:0,y:0};const o=_(s.timestamp-n.timestamp);if(0===o)return{x:0,y:0};const r={x:(s.x-n.x)/o,y:(s.y-n.y)/o};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}function xo(t){return t.max-t.min}function wo(t,e,i,n=.5){t.origin=n,t.originPoint=Un(e.min,e.max,t.origin),t.scale=xo(i)/xo(e),t.translate=Un(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function Po(t,e,i,n){wo(t.x,e.x,i.x,n?n.originX:void 0),wo(t.y,e.y,i.y,n?n.originY:void 0)}function bo(t,e,i){t.min=i.min+e.min,t.max=t.min+xo(e)}function To(t,e,i){t.min=e.min-i.min,t.max=t.min+xo(e)}function So(t,e,i){To(t.x,e.x,i.x),To(t.y,e.y,i.y)}function Ao(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function Eo(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}const Vo=.35;function Co(t,e,i){return{min:Do(t,e),max:Do(t,i)}}function Do(t,e){return"number"==typeof t?t:t[e]||0}const Mo=()=>({x:{min:0,max:0},y:{min:0,max:0}});function ko(t){return[t("x"),t("y")]}function jo({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function Ro(t){return void 0===t||1===t}function Lo({scale:t,scaleX:e,scaleY:i}){return!Ro(t)||!Ro(e)||!Ro(i)}function Bo(t){return Lo(t)||Fo(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Fo(t){return Io(t.x)||Io(t.y)}function Io(t){return t&&"0%"!==t}function Oo(t,e,i){return i+e*(t-i)}function Uo(t,e,i,n,s){return void 0!==s&&(t=Oo(t,s,n)),Oo(t,i,n)+e}function No(t,e=0,i=1,n,s){t.min=Uo(t.min,e,i,n,s),t.max=Uo(t.max,e,i,n,s)}function $o(t,{x:e,y:i}){No(t.x,e.translate,e.scale,e.originPoint),No(t.y,i.translate,i.scale,i.originPoint)}const Wo=.999999999999,zo=1.0000000000001;function Yo(t,e){t.min=t.min+e,t.max=t.max+e}function Ko(t,e,i,n,s=.5){No(t,e,i,Un(t.min,t.max,s),n)}function Ho(t,e){Ko(t.x,e.x,e.scaleX,e.scale,e.originX),Ko(t.y,e.y,e.scaleY,e.scale,e.originY)}function Xo(t,e){return jo(function(t,e){if(!e)return t;const i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}const Go=({current:t})=>t?t.ownerDocument.defaultView:null,qo=new WeakMap;class _o{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=t}start(t,{snapToCursor:e=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;const{dragSnapToOrigin:n}=this.getProps();this.panSession=new ho(t,{onSessionStart:t=>{const{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(lo(t).point)},onStart:(t,e)=>{const{drag:i,dragPropagation:n,onDragStart:s}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(o=i)||"y"===o?si[o]?null:(si[o]=!0,()=>{si[o]=!1}):si.x||si.y?null:(si.x=si.y=!0,()=>{si.x=si.y=!1}),!this.openDragLock))return;var o;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ko((t=>{let e=this.getAxisMotionValue(t).get()||0;if(se.test(e)){const{projection:i}=this.visualElement;if(i&&i.layout){const n=i.layout.layoutBox[t];if(n){e=xo(n)*(parseFloat(e)/100)}}}this.originPoint[t]=e})),s&&tt.postRender((()=>s(t,e))),Vi(this.visualElement,"transform");const{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},onMove:(t,e)=>{const{dragPropagation:i,dragDirectionLock:n,onDirectionLock:s,onDrag:o}=this.getProps();if(!i&&!this.openDragLock)return;const{offset:r}=e;if(n&&null===this.currentDirection)return this.currentDirection=function(t,e=10){let i=null;Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x");return i}(r),void(null!==this.currentDirection&&s&&s(this.currentDirection));this.updateAxis("x",e.point,r),this.updateAxis("y",e.point,r),this.visualElement.render(),o&&o(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>ko((t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())}))},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:n,contextWindow:Go(this.visualElement)})}stop(t,e){const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:n}=e;this.startAnimation(n);const{onDragEnd:s}=this.getProps();s&&tt.postRender((()=>s(t,e)))}cancel(){this.isDragging=!1;const{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){const{drag:n}=this.getProps();if(!i||!Zo(t,n,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(o=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?Un(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?Un(i,t,n.max):Math.min(t,i)),t}(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){var t;const{dragConstraints:e,dragElastic:i}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,s=this.constraints;e&&St(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(t,{top:e,left:i,bottom:n,right:s}){return{x:Ao(t.x,i,s),y:Ao(t.y,e,n)}}(n.layoutBox,e),this.elastic=function(t=Vo){return!1===t?t=0:!0===t&&(t=Vo),{x:Co(t,"left","right"),y:Co(t,"top","bottom")}}(i),s!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&ko((t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){const i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(n.layoutBox[t],this.constraints[t]))}))}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!St(t))return!1;const i=t.current;H(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:n}=this.visualElement;if(!n||!n.layout)return!1;const s=function(t,e,i){const n=Xo(t,i),{scroll:s}=e;return s&&(Yo(n.x,s.offset.x),Yo(n.y,s.offset.y)),n}(i,n.root,this.visualElement.getTransformPagePoint());let o=function(t,e){return{x:Eo(t.x,e.x),y:Eo(t.y,e.y)}}(n.layout.layoutBox,s);if(e){const t=e(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=jo(t))}return o}startAnimation(t){const{drag:e,dragMomentum:i,dragElastic:n,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:r}=this.getProps(),a=this.constraints||{},l=ko((r=>{if(!Zo(r,e,this.currentDirection))return;let l=a[r]||{};o&&(l={min:0,max:0});const c=n?200:1e6,u=n?40:1e7,h={type:"inertia",velocity:i?t[r]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...s,...l};return this.startAxisValueAnimation(r,h)}));return Promise.all(l).then(r)}startAxisValueAnimation(t,e){const i=this.getAxisMotionValue(t);return Vi(this.visualElement,t),i.start(Ys(t,i,0,e,this.visualElement,!1))}stopAnimation(){ko((t=>this.getAxisMotionValue(t).stop()))}pauseAnimation(){ko((t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()}))}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}getAxisMotionValue(t){const e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps(),n=i[e];return n||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){ko((e=>{const{drag:i}=this.getProps();if(!Zo(e,i,this.currentDirection))return;const{projection:n}=this.visualElement,s=this.getAxisMotionValue(e);if(n&&n.layout){const{min:i,max:o}=n.layout.layoutBox[e];s.set(t[e]-Un(i,o,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!St(e)||!i||!this.constraints)return;this.stopAnimation();const n={x:0,y:0};ko((t=>{const e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){const i=e.get();n[t]=function(t,e){let i=.5;const n=xo(t),s=xo(e);return s>n?i=G(e.min,e.max-n,t.min):n>s&&(i=G(t.min,t.max-s,e.min)),Jt(0,1,i)}({min:i,max:i},this.constraints[t])}}));const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),ko((e=>{if(!Zo(e,t,null))return;const i=this.getAxisMotionValue(e),{min:s,max:o}=this.constraints[e];i.set(Un(s,o,n[e]))}))}addListeners(){if(!this.visualElement.current)return;qo.set(this.visualElement,this);const t=co(this.visualElement.current,"pointerdown",(t=>{const{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)})),e=()=>{const{dragConstraints:t}=this.getProps();St(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,n=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),tt.read(e);const s=ao(window,"resize",(()=>this.scalePositionWithinConstraints())),o=i.addEventListener("didUpdate",(({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(ko((e=>{const i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))})),this.visualElement.render())}));return()=>{s(),t(),n(),o&&o()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:s=!1,dragElastic:o=Vo,dragMomentum:r=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:s,dragElastic:o,dragMomentum:r}}}function Zo(t,e,i){return!(!0!==e&&e!==t||null!==i&&i!==t)}const Jo=t=>(e,i)=>{t&&tt.postRender((()=>t(e,i)))};const Qo={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function tr(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const er={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!oe.test(t))return t;t=parseFloat(t)}return`${tr(t,e.target.x)}% ${tr(t,e.target.y)}%`}},ir={correct:(t,{treeScale:e,projectionDelta:i})=>{const n=t,s=rn.parse(t);if(s.length>5)return n;const o=rn.createTransformer(t),r="number"!=typeof s[0]?1:0,a=i.x.scale*e.x,l=i.y.scale*e.y;s[0+r]/=a,s[1+r]/=l;const c=Un(a,l,.5);return"number"==typeof s[2+r]&&(s[2+r]/=c),"number"==typeof s[3+r]&&(s[3+r]/=c),o(s)}};class nr extends f{componentDidMount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:s}=t;!function(t){for(const e in t)Ee[e]=t[e],Xt(e)&&(Ee[e].isCSSVariable=!0)}(or),s&&(e.group&&e.group.add(s),i&&i.register&&n&&i.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",(()=>{this.safeToRemove()})),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),Qo.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:e,visualElement:i,drag:n,isPresent:s}=this.props,o=i.projection;return o?(o.isPresent=s,n||t.layoutDependency!==e||void 0===e?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||tt.postRender((()=>{const t=o.getStack();t&&t.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Ct.postRender((()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function sr(e){const[i,n]=function(t=!0){const e=r(N);if(null===e)return[!0,null];const{isPresent:i,onExitComplete:n,register:o}=e,c=a();l((()=>{t&&o(c)}),[t]);const u=s((()=>t&&n&&n(c)),[c,n,t]);return!i&&n?[!1,u]:[!0]}(),o=r(U);return t(nr,{...e,layoutGroup:o,switchLayoutGroup:r(Mt),isPresent:i,safeToRemove:n})}const or={borderRadius:{...er,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:er,borderTopRightRadius:er,borderBottomLeftRadius:er,borderBottomRightRadius:er,boxShadow:ir};const rr=(t,e)=>t.depth-e.depth;class ar{constructor(){this.children=[],this.isDirty=!1}add(t){wi(this.children,t),this.isDirty=!0}remove(t){Pi(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(rr),this.isDirty=!1,this.children.forEach(t)}}const lr=["TopLeft","TopRight","BottomLeft","BottomRight"],cr=lr.length,ur=t=>"string"==typeof t?parseFloat(t):t,hr=t=>"number"==typeof t||oe.test(t);function dr(t,e){return void 0!==t[e]?t[e]:t.borderRadius}const pr=fr(0,.5,Oi),mr=fr(.5,.95,Y);function fr(t,e,i){return n=>n<t?0:n>e?1:i(G(t,e,n))}function gr(t,e){t.min=e.min,t.max=e.max}function vr(t,e){gr(t.x,e.x),gr(t.y,e.y)}function yr(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function xr(t,e,i,n,s){return t=Oo(t-=e,1/i,n),void 0!==s&&(t=Oo(t,1/s,n)),t}function wr(t,e,[i,n,s],o,r){!function(t,e=0,i=1,n=.5,s,o=t,r=t){se.test(e)&&(e=parseFloat(e),e=Un(r.min,r.max,e/100)-r.min);if("number"!=typeof e)return;let a=Un(o.min,o.max,n);t===o&&(a-=e),t.min=xr(t.min,e,i,a,s),t.max=xr(t.max,e,i,a,s)}(t,e[i],e[n],e[s],e.scale,o,r)}const Pr=["x","scaleX","originX"],br=["y","scaleY","originY"];function Tr(t,e,i,n){wr(t.x,e,Pr,i?i.x:void 0,n?n.x:void 0),wr(t.y,e,br,i?i.y:void 0,n?n.y:void 0)}function Sr(t){return 0===t.translate&&1===t.scale}function Ar(t){return Sr(t.x)&&Sr(t.y)}function Er(t,e){return t.min===e.min&&t.max===e.max}function Vr(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Cr(t,e){return Vr(t.x,e.x)&&Vr(t.y,e.y)}function Dr(t){return xo(t.x)/xo(t.y)}function Mr(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class kr{constructor(){this.members=[]}add(t){wi(this.members,t),t.scheduleRender()}remove(t){if(Pi(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){const e=this.members.findIndex((e=>t===e));if(0===e)return!1;let i;for(let t=e;t>=0;t--){const e=this.members[t];if(!1!==e.isPresent){i=e;break}}return!!i&&(this.promote(i),!0)}promote(t,e){const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:n}=t.options;!1===n&&i.hide()}}exitAnimationComplete(){this.members.forEach((t=>{const{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()}))}scheduleRender(){this.members.forEach((t=>{t.instance&&t.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const jr={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Rr="undefined"!=typeof window&&void 0!==window.MotionDebug,Lr=["","X","Y","Z"],Br={visibility:"hidden"};let Fr=0;function Ir(t,e,i,n){const{latestValues:s}=e;s[t]&&(i[t]=s[t],e.setStaticValue(t,0),n&&(n[t]=0))}function Or(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const i=Ci(e);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:e,layoutId:n}=t.options;window.MotionCancelOptimisedAnimation(i,"transform",tt,!(e||n))}const{parent:n}=t;n&&!n.hasCheckedOptimisedAppear&&Or(n)}function Ur({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:s}){return class{constructor(t={},i=(null==e?void 0:e())){this.id=Fr++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Rr&&(jr.totalNodes=jr.resolvedTargetDeltas=jr.recalculatedProjection=0),this.nodes.forEach(Wr),this.nodes.forEach(qr),this.nodes.forEach(_r),this.nodes.forEach(zr),Rr&&window.MotionDebug.record(jr)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new ar)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new bi),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){const i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,i=this.root.hasTreeAnimated){if(this.instance)return;var n;this.isSVG=(n=e)instanceof SVGElement&&"svg"!==n.tagName,this.instance=e;const{layoutId:s,layout:o,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(o||s)&&(this.isLayoutDirty=!0),t){let i;const n=()=>this.root.updateBlockedByResize=!1;t(e,(()=>{this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){const i=xi.now(),n=({timestamp:s})=>{const o=s-i;o>=e&&(et(n),t(o-e))};return tt.read(n,!0),()=>et(n)}(n,250),Qo.hasAnimatedSinceResize&&(Qo.hasAnimatedSinceResize=!1,this.nodes.forEach(Gr))}))}s&&this.root.registerSharedNode(s,this),!1!==this.options.animate&&r&&(s||o)&&this.addEventListener("didUpdate",(({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const s=this.options.transition||r.getDefaultTransition()||ia,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!Cr(this.targetLayout,n),c=!e&&i;if(this.options.layoutRoot||this.resumeFrom||c||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,c);const e={...Ye(s,"layout"),onPlay:o,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||Gr(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,et(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Zr),this.animationId++)}getTransformTemplate(){const{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Or(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){const e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}const{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;const n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Kr);this.isUpdating||this.nodes.forEach(Hr),this.isUpdating=!1,this.nodes.forEach(Xr),this.nodes.forEach(Nr),this.nodes.forEach($r),this.clearAllSnapshots();const t=xi.now();it.delta=Jt(0,1e3/60,t-it.timestamp),it.timestamp=t,it.isProcessing=!0,nt.update.process(it),nt.preRender.process(it),nt.render.process(it),it.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Ct.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Yr),this.sharedNodes.forEach(Jr)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tt.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||xo(this.snapshot.measuredBox.x)||xo(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++){this.path[t].updateScroll()}const t=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e){const e=n(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!s)return;const t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!Ar(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,o=n!==this.prevTransformTemplateValue;t&&(e||Bo(this.latestValues)||o)&&(s(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){const e=this.measurePageBox();let i=this.removeElementScroll(e);var n;return t&&(i=this.removeTransform(i)),oa((n=i).x),oa(n.y),{animationId:this.root.animationId,measuredBox:e,layoutBox:i,latestValues:{},source:this.id}}measurePageBox(){var t;const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const i=e.measureViewportBox();if(!((null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)||this.path.some(aa))){const{scroll:t}=this.root;t&&(Yo(i.x,t.offset.x),Yo(i.y,t.offset.y))}return i}removeElementScroll(t){var e;const i={x:{min:0,max:0},y:{min:0,max:0}};if(vr(i,t),null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)return i;for(let e=0;e<this.path.length;e++){const n=this.path[e],{scroll:s,options:o}=n;n!==this.root&&s&&o.layoutScroll&&(s.wasRoot&&vr(i,t),Yo(i.x,s.offset.x),Yo(i.y,s.offset.y))}return i}applyTransform(t,e=!1){const i={x:{min:0,max:0},y:{min:0,max:0}};vr(i,t);for(let t=0;t<this.path.length;t++){const n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&Ho(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),Bo(n.latestValues)&&Ho(i,n.latestValues)}return Bo(this.latestValues)&&Ho(i,this.latestValues),i}removeTransform(t){const e={x:{min:0,max:0},y:{min:0,max:0}};vr(e,t);for(let t=0;t<this.path.length;t++){const i=this.path[t];if(!i.instance)continue;if(!Bo(i.latestValues))continue;Lo(i.latestValues)&&i.updateSnapshot();const n={x:{min:0,max:0},y:{min:0,max:0}};vr(n,i.measurePageBox()),Tr(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return Bo(this.latestValues)&&Tr(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==it.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e;const i=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=i.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=i.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=i.isSharedProjectionDirty);const n=Boolean(this.resumingFrom)||this!==i;if(!(t||n&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:s,layoutId:o}=this.options;if(this.layout&&(s||o)){if(this.resolvedRelativeTargetAt=it.timestamp,!this.targetDelta&&!this.relativeTarget){const t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},So(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),vr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var r,a,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),r=this.target,a=this.relativeTarget,l=this.relativeParent.target,bo(r.x,a.x,l.x),bo(r.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):vr(this.target,this.layout.layoutBox),$o(this.target,this.targetDelta)):vr(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const t=this.getClosestProjectingParent();t&&Boolean(t.resumingFrom)===Boolean(this.resumingFrom)&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},So(this.relativeTargetOrigin,this.target,t.target),vr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Rr&&jr.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Lo(this.parent.latestValues)&&!Fo(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;const e=this.getLead(),i=Boolean(this.resumingFrom)||this!==e;let n=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(n=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===it.timestamp&&(n=!1),n)return;const{layout:s,layoutId:o}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!s&&!o)return;vr(this.layoutCorrected,this.layout.layoutBox);const r=this.treeScale.x,a=this.treeScale.y;!function(t,e,i,n=!1){const s=i.length;if(!s)return;let o,r;e.x=e.y=1;for(let a=0;a<s;a++){o=i[a],r=o.projectionDelta;const{visualElement:s}=o.options;s&&s.props.style&&"contents"===s.props.style.display||(n&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Ho(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),r&&(e.x*=r.x.scale,e.y*=r.y.scale,$o(t,r)),n&&Bo(o.latestValues)&&Ho(t,o.latestValues))}e.x<zo&&e.x>Wo&&(e.x=1),e.y<zo&&e.y>Wo&&(e.y=1)}(this.layoutCorrected,this.treeScale,this.path,i),!e.layout||e.target||1===this.treeScale.x&&1===this.treeScale.y||(e.target=e.layout.layoutBox,e.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}});const{target:l}=e;l?(this.projectionDelta&&this.prevProjectionDelta?(yr(this.prevProjectionDelta.x,this.projectionDelta.x),yr(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),Po(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===r&&this.treeScale.y===a&&Mr(this.projectionDelta.x,this.prevProjectionDelta.x)&&Mr(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Rr&&jr.recalculatedProjection++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null===(e=this.options.visualElement)||void 0===e||e.scheduleRender(),t){const t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(t,e=!1){const i=this.snapshot,n=i?i.latestValues:{},s={...this.latestValues},o={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;const r={x:{min:0,max:0},y:{min:0,max:0}},a=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(a&&!c&&!0===this.options.crossfade&&!this.path.some(ea));let h;this.animationProgress=0,this.mixTargetDelta=e=>{const i=e/1e3;var l,d,p,m,f,g;Qr(o.x,t.x,i),Qr(o.y,t.y,i),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(So(r,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=r,g=i,ta(p.x,m.x,f.x,g),ta(p.y,m.y,f.y,g),h&&(l=this.relativeTarget,d=h,Er(l.x,d.x)&&Er(l.y,d.y))&&(this.isProjectionDirty=!1),h||(h={x:{min:0,max:0},y:{min:0,max:0}}),vr(h,this.relativeTarget)),a&&(this.animationValues=s,function(t,e,i,n,s,o){s?(t.opacity=Un(0,void 0!==i.opacity?i.opacity:1,pr(n)),t.opacityExit=Un(void 0!==e.opacity?e.opacity:1,0,mr(n))):o&&(t.opacity=Un(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,n));for(let s=0;s<cr;s++){const o=`border${lr[s]}Radius`;let r=dr(e,o),a=dr(i,o);void 0===r&&void 0===a||(r||(r=0),a||(a=0),0===r||0===a||hr(r)===hr(a)?(t[o]=Math.max(Un(ur(r),ur(a),n),0),(se.test(a)||se.test(r))&&(t[o]+="%")):t[o]=a)}(e.rotate||i.rotate)&&(t.rotate=Un(e.rotate||0,i.rotate||0,n))}(s,n,this.latestValues,i,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(et(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tt.update((()=>{Qo.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,i){const n=Nt(t)?t:Ai(t);return n.start(Ys("",n,e,i)),n.animation}(0,1e3,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const t=this.getLead();let{targetWithTransforms:e,target:i,layout:n,latestValues:s}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&ra(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const e=xo(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;const n=xo(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}vr(e,i),Ho(e,s),Po(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new kr);this.sharedNodes.get(t).add(e);const i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){var t;const{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;const{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){const{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){const n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){const t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){const{visualElement:t}=this.options;if(!t)return;let e=!1;const{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;const n={};i.z&&Ir("z",t,n,this.animationValues);for(let e=0;e<Lr.length;e++)Ir(`rotate${Lr[e]}`,t,n,this.animationValues),Ir(`skew${Lr[e]}`,t,n,this.animationValues);t.render();for(const e in n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}getProjectionStyles(t){var e,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Br;const n={visibility:""},s=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=$t(null==t?void 0:t.pointerEvents)||"",n.transform=s?s(this.latestValues,""):"none",n;const o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){const e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=$t(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!Bo(this.latestValues)&&(e.transform=s?s({},""):"none",this.hasProjected=!1),e}const r=o.animationValues||o.latestValues;this.applyTransformsToTarget(),n.transform=function(t,e,i){let n="";const s=t.x.translate/e.x,o=t.y.translate/e.y,r=(null==i?void 0:i.z)||0;if((s||o||r)&&(n=`translate3d(${s}px, ${o}px, ${r}px) `),1===e.x&&1===e.y||(n+=`scale(${1/e.x}, ${1/e.y}) `),i){const{transformPerspective:t,rotate:e,rotateX:s,rotateY:o,skewX:r,skewY:a}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),s&&(n+=`rotateX(${s}deg) `),o&&(n+=`rotateY(${o}deg) `),r&&(n+=`skewX(${r}deg) `),a&&(n+=`skewY(${a}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;return 1===a&&1===l||(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,r),s&&(n.transform=s(r,n.transform));const{x:a,y:l}=this.projectionDelta;n.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,o.animationValues?n.opacity=o===this?null!==(i=null!==(e=r.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:n.opacity=o===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0;for(const t in Ee){if(void 0===r[t])continue;const{correct:e,applyTo:i,isCSSVariable:s}=Ee[t],a="none"===n.transform?r[t]:e(r[t],o);if(i){const t=i.length;for(let e=0;e<t;e++)n[i[e]]=a}else s?this.options.visualElement.renderState.vars[t]=a:n[t]=a}return this.options.layoutId&&(n.pointerEvents=o===this?$t(null==t?void 0:t.pointerEvents)||"":"none"),n}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()})),this.root.nodes.forEach(Kr),this.root.sharedNodes.clear()}}}function Nr(t){t.updateLayout()}function $r(t){var e;const i=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){const{layoutBox:e,measuredBox:n}=t.layout,{animationType:s}=t.options,o=i.source!==t.layout.source;"size"===s?ko((t=>{const n=o?i.measuredBox[t]:i.layoutBox[t],s=xo(n);n.min=e[t].min,n.max=n.min+s})):ra(s,i.layoutBox,e)&&ko((n=>{const s=o?i.measuredBox[n]:i.layoutBox[n],r=xo(e[n]);s.max=s.min+r,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+r)}));const r={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Po(r,e,i.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o?Po(a,t.applyTransform(n,!0),i.measuredBox):Po(a,e,i.layoutBox);const l=!Ar(r);let c=!1;if(!t.resumeFrom){const n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){const{snapshot:s,layout:o}=n;if(s&&o){const r={x:{min:0,max:0},y:{min:0,max:0}};So(r,i.layoutBox,s.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};So(a,e,o.layoutBox),Cr(r,a)||(c=!0),n.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=r,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:r,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(t.isLead()){const{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function Wr(t){Rr&&jr.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=Boolean(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function zr(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Yr(t){t.clearSnapshot()}function Kr(t){t.clearMeasurements()}function Hr(t){t.isLayoutDirty=!1}function Xr(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Gr(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function qr(t){t.resolveTargetDelta()}function _r(t){t.calcProjection()}function Zr(t){t.resetSkewAndRotation()}function Jr(t){t.removeLeadSnapshot()}function Qr(t,e,i){t.translate=Un(e.translate,0,i),t.scale=Un(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function ta(t,e,i,n){t.min=Un(e.min,i.min,n),t.max=Un(e.max,i.max,n)}function ea(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}const ia={duration:.45,ease:[.4,0,.1,1]},na=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),sa=na("applewebkit/")&&!na("chrome/")?Math.round:Y;function oa(t){t.min=sa(t.min),t.max=sa(t.max)}function ra(t,e,i){return"position"===t||"preserve-aspect"===t&&(n=Dr(e),s=Dr(i),o=.2,!(Math.abs(n-s)<=o));var n,s,o}function aa(t){var e;return t!==t.root&&(null===(e=t.scroll)||void 0===e?void 0:e.wasRoot)}const la=Ur({attachResizeListener:(t,e)=>ao(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ca={current:void 0},ua=Ur({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ca.current){const t=new la({});t.mount(window),t.setOptions({layoutScroll:!0}),ca.current=t}return ca.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)}),ha={pan:{Feature:class extends so{constructor(){super(...arguments),this.removePointerDownListener=Y}onPointerDown(t){this.session=new ho(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Go(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:Jo(t),onStart:Jo(e),onMove:i,onEnd:(t,e)=>{delete this.session,n&&tt.postRender((()=>n(t,e)))}}}mount(){this.removePointerDownListener=co(this.node.current,"pointerdown",(t=>this.onPointerDown(t)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends so{constructor(t){super(t),this.removeGroupControls=Y,this.removeListeners=Y,this.controls=new _o(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Y}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:ua,MeasureLayout:sr}};function da(t,e,i){const{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);const s=n["onHover"+i];s&&tt.postRender((()=>s(e,lo(e))))}function pa(t,e,i){const{props:n}=t;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);const s=n["onTap"+("End"===i?"":i)];s&&tt.postRender((()=>s(e,lo(e))))}const ma=new WeakMap,fa=new WeakMap,ga=t=>{const e=ma.get(t.target);e&&e(t)},va=t=>{t.forEach(ga)};function ya(t,e,i){const n=function({root:t,...e}){const i=t||document;fa.has(i)||fa.set(i,{});const n=fa.get(i),s=JSON.stringify(e);return n[s]||(n[s]=new IntersectionObserver(va,{root:t,...e})),n[s]}(e);return ma.set(t,i),n.observe(t),()=>{ma.delete(t),n.unobserve(t)}}const xa={some:0,all:1};const wa={inView:{Feature:class extends so{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:n="some",once:s}=t,o={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:xa[n]};return ya(this.node.current,o,(t=>{const{isIntersecting:e}=t;if(this.isInView===e)return;if(this.isInView=e,s&&!e&&this.hasEnteredView)return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);const{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),o=e?i:n;o&&o(t)}))}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends so{mount(){const{current:t}=this.node;t&&(this.unmount=fi(t,((t,e)=>(pa(this.node,e,"Start"),(t,{success:e})=>pa(this.node,t,e?"End":"Cancel"))),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends so{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Xn(ao(this.node.current,"focus",(()=>this.onFocus())),ao(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends so{mount(){const{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){const[n,s,o]=ri(t,i),r=t=>{if(!ai(t))return;const{target:i}=t,n=e(i,t);if("function"!=typeof n||!i)return;const o=t=>{ai(t)&&(n(t),i.removeEventListener("pointerleave",o))};i.addEventListener("pointerleave",o,s)};return n.forEach((t=>{t.addEventListener("pointerenter",r,s)})),o}(t,((t,e)=>(da(this.node,e,"Start"),t=>da(this.node,t,"End")))))}unmount(){}}}},Pa={layout:{ProjectionNode:ua,MeasureLayout:sr}},ba={current:null},Ta={current:!1};const Sa=[...kn,_i,rn],Aa=new WeakMap;const Ea=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Va{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,blockInitialAnimation:s,visualState:o},r={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=En,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const t=xi.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,tt.render(this.render,!1,!0))};const{latestValues:a,renderState:l,onUpdate:c}=o;this.onUpdate=c,this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=r,this.blockInitialAnimation=Boolean(s),this.isControllingVariants=xt(e),this.isVariantNode=wt(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:u,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in h){const e=h[t];void 0!==a[t]&&Nt(e)&&e.set(a[t],!1)}}mount(t){this.current=t,Aa.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach(((t,e)=>this.bindToMotionValue(e,t))),Ta.current||function(){if(Ta.current=!0,W)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>ba.current=t.matches;t.addListener(e),e()}else ba.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||ba.current),"production"!==process.env.NODE_ENV&&dt(!0!==this.shouldReduceMotion,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Aa.delete(this.current),this.projection&&this.projection.unmount(),et(this.notifyUpdate),et(this.render),this.valueSubscriptions.forEach((t=>t())),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const i=Kt.has(t),n=e.on("change",(e=>{this.latestValues[t]=e,this.props.onUpdate&&tt.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)})),s=e.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,(()=>{n(),s(),o&&o(),e.owner&&e.stop()}))}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in rt){const e=rt[t];if(!e)continue;const{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){const e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<Ea.length;e++){const i=Ea[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(const n in e){const s=e[n],o=i[n];if(Nt(s))t.addValue(n,s),"development"===process.env.NODE_ENV&&dt("12.0.6"===s.version,`Attempting to mix Motion versions ${s.version} with 12.0.6 may not work as expected.`);else if(Nt(o))t.addValue(n,Ai(s,{owner:t}));else if(o!==s)if(t.hasValue(n)){const e=t.getValue(n);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{const e=t.getStaticValue(n);t.addValue(n,Ai(void 0!==e?e:s,{owner:t}))}}for(const n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){const i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);const e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=Ai(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let n=void 0===this.latestValues[t]&&this.current?null!==(i=this.getBaseTargetFromProps(this.props,t))&&void 0!==i?i:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];var s;return null!=n&&("string"==typeof n&&(Vn(n)||Ni(n))?n=parseFloat(n):(s=n,!Sa.find(Mn(s))&&rn.test(e)&&(n=pn(t,e))),this.setBaseTarget(t,Nt(n)?n.get():n)),Nt(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;const{initial:i}=this.props;let n;if("string"==typeof i||"object"==typeof i){const s=Ot(this.props,i,null===(e=this.presenceContext)||void 0===e?void 0:e.custom);s&&(n=s[t])}if(i&&void 0!==n)return n;const s=this.getBaseTargetFromProps(this.props,t);return void 0===s||Nt(s)?void 0!==this.initialValues[t]&&void 0===n?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new bi),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class Ca extends Va{constructor(){super(...arguments),this.KeyframeResolver=Rn}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Nt(t)&&(this.childSubscription=t.on("change",(t=>{this.current&&(this.current.textContent=`${t}`)})))}}class Da extends Ca{constructor(){super(...arguments),this.type="html",this.renderInstance=Te}readValueFromInstance(t,e){if(Kt.has(e)){const t=dn(e);return t&&t.default||0}{const n=(i=t,window.getComputedStyle(i)),s=(Xt(e)?n.getPropertyValue(e):n[e])||0;return"string"==typeof s?s.trim():s}var i}measureInstanceViewportBox(t,{transformPagePoint:e}){return Xo(t,e)}build(t,e,i){fe(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return Ce(t,e,i)}}class Ma extends Ca{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Mo}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(Kt.has(e)){const t=dn(e);return t&&t.default||0}return e=Se.has(e)?e:Et(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return De(t,e,i)}build(t,e,i){xe(t,e,this.isSVGTag,i.transformTemplate)}renderInstance(t,e,i,n){Ae(t,e,0,n)}mount(t){this.isSVGTag=be(t.tagName),super.mount(t)}}const ka=(t,e)=>Ft(t)?new Ma(e):new Da(e,{allowProjection:t!==p}),ja=pt(Oe({...ro,...wa,...ha,...Pa},ka)),Ra=({relativePercentage:n,amount:s,color:o,animateBars:r,disabled:a,loading:c,toolTipContent:u,hideAmount:h,disableTooltips:d,checked:p,hidePercentageSymbol:m,slotProps:f})=>{const v=T(),y=n&&n>8,[w,P]=g(0);return l((()=>{const t=c?20:n||0,e=r?w||0:t,i=performance.now(),s=n=>{const o=n-i,r=Math.min(o/250,1);P(e+(t-e)*(r*(2-r))),r<1&&requestAnimationFrame(s)},o=requestAnimationFrame(s);return()=>cancelAnimationFrame(o)}),[s,c]),t(x,{component:ja.div,...f?.graphBar,sx:A({height:"100%",width:`${w}%`,background:a||!p?v.custom.palette.neutral[100]:c?v.custom.palette.interaction.none:o,borderRadius:v.spacing(v.custom.radius.sm),border:`1px solid ${v.custom.palette.icon.lockedWhite}`,boxSizing:"border-box",position:"relative",overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center"},f?.graphBar?.sx),initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{duration:.3,ease:"easeOut"},children:t(C,{message:u,placement:"top",disableHoverListener:!u||a||c||d,followCursor:!0,...f?.graphBarTooltip,slotProps:{wrapper:{sx:{width:1,height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",...f?.graphBarTooltip?.slotProps?.wrapper?.sx}}},children:t(i,{children:c?t(D,{width:"100%",height:"100%",sx:{borderRadius:v.spacing(v.custom.radius.sm)}}):e(ja.div,{style:{width:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},initial:{opacity:0},animate:{opacity:y?1:0},transition:{duration:.3,ease:"easeInOut",delay:y?.1:0},children:[t(ja.div,{initial:{y:10,opacity:0},animate:{y:y?0:10,opacity:y?1:0},transition:{duration:.3,ease:"easeOut"},children:t(E,{variation:"md",component:"p",weight:"bold",sx:{color:a||!p?v.custom.palette.text.disabled:k(o,v)},children:y?`${n}${m?"":"%"}`:null})}),t(ja.div,{initial:{y:10,opacity:0},animate:{y:y?0:10,opacity:y?1:0},transition:{duration:.3,ease:"easeOut",delay:.05},children:!h&&t(E,{variation:"xs",component:"p",sx:{color:a||!p?v.custom.palette.text.disabled:k(o,v)},children:y?s:null})})]})})})})};var La=v((({data:i,onChangeHandler:n,slotProps:s,...o})=>e(j,{...s?.root,children:[t(R,{...s?.graphBarContainer,children:i.map(((e,i)=>t(Ra,{...e,...o},i)))}),t(L,{...s?.actionsControllerContainer,children:i.map(((e,i)=>{const{onChange:s,amount:r,percentage:a,relativePercentage:l,label:c}=e;return t(O,{...e,...o,onChange:n?(t,e)=>n(t,e):s?(t,e)=>s({amount:r,percentage:a,name:c,relativePercentage:l},e):void 0},i)}))})]})));export{La as L,M as a,k as g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsxs as t,jsx as i}from"react/jsx-runtime";import{useTheme as o,Box as r,Stack as e}from"@mui/material";import"./misc-DEfpkrzV.js";import"./Icon-BP-WmpAJ.js";import"./primitiveVariables-C2nCN8Fk.js";import"./typography.util-ZFUiA8Aq.js";import"./AnnualController-
|
|
1
|
+
import{jsxs as t,jsx as i}from"react/jsx-runtime";import{useTheme as o,Box as r,Stack as e}from"@mui/material";import"./misc-DEfpkrzV.js";import"./Icon-BP-WmpAJ.js";import"./primitiveVariables-C2nCN8Fk.js";import"./typography.util-ZFUiA8Aq.js";import"./AnnualController-Bx0WhW0S.js";import"./Accordion-KLkJP5an.js";import"./Typography-CgDLR_Wd.js";import"merge-sx";import"./Badge-udxQgyxt.js";import"./Breadcrumb-yGkwVVRn.js";import"./Button-CpuXPWGi.js";import"./ButtonBase-C2q4CZV7.js";import"./StyledCheckbox-SuzP9Yxe.js";import"./InputFieldBase-B4d6Dg-h.js";import"./CreatableAutocomplete-CmmYcs5K.js";import"@mui/icons-material";import"./InputLabelBase-BdwNmiyi.js";import"./Differential-CrNzQGqM.js";import"./StyledMenu-riM_crCE.js";import"react";import"./FormGenerator-Ble7Py9q.js";import"./GridOverlay-BLtO6feB.js";import"html-react-parser";import"./IconButton-CVSXM4Tq.js";import"./IconButtonBase-CBa1P3Dt.js";import"./IconButtonGroup-C2ivSzDs.js";import{I as a}from"./Image-B_WlPc7A.js";import"./Label-D75U7tme.js";import"./Likert-Srh6SL8h.js";import"./Link-uYzcfgc4.js";import"@lottiefiles/dotlottie-react";import"./LoopsAiButton-DeAXErZu.js";import"markdown-to-jsx";import"material-ui-popup-state/hooks";import"./Surface-B6Np35YX.js";import"./MenuItem-tXAIFFbF.js";import"./ModalContentWrapper-LR-5lBgA.js";import"./NavigationButton-Dkf-tmN3.js";import"./NudgeButton-248syNPr.js";import"./NumberField-DCxbOEav.js";import"./semanticColor-D7tAxZiD.js";import"./types-DNd754Km.js";import"./typography-BTnFjSJk.js";import"./StyledPill-BI44yAhP.js";import"./Progress-BOcnDGZ1.js";import"./ProgressBar-CViBq0rq.js";import"./Radio-B4pNfjag.js";import"./autocomplete.styles-DJ5ythgf.js";import"./Select-D45cwt2t.js";import"./RankItem-XN1nsWWv.js";import"./SortableList-CTyQ9Xw7.js";import"@tiptap/extension-placeholder";import"@tiptap/extension-underline";import"@tiptap/starter-kit";import"mui-tiptap";import"./RichTextField-DDibFJZO.js";import{S as p}from"./Skeleton-CgzS0S-t.js";import"./Slider-CmfPIVYZ.js";import"./StarRating-CYozI9kV.js";import"./Switch-I2zWYCGY.js";import"./Textarea-bTjE-WiF.js";import"./TrialPill-iCI6w-r7.js";import"./UserMenuButton-BSz-e4Hg.js";import"./VideoModal-BQ-9nxlU.js";import{p as m}from"./pluralise-55UGwOAX.js";import{C as s,I as n,a as l,L as c,b as d,c as j}from"./styledPartials-LT81tt6z.js";const h={position:"relative",width:"100%",height:"100%",display:"flex","& .lazy-load-image-background":{width:"100%",height:"100%"},"& .lazy-load-image-background > img":{objectFit:"cover",width:"100%",height:"100%"}},u=({onClick:u,id:g,thumbnail:y,title:f,active:v=!1,loading:B,testCount:b,draftCount:k,cta:w})=>{const x=o();return t(s,B?{onClick:u,active:v,"data-id":g,cta:w,children:[i(n,{id:"image-holder",children:i(a,{src:y,width:"100%",height:"100%",containerSx:h})}),i(l,{children:t(r,{display:"flex",gap:1,flexDirection:"column",width:2/3,alignSelf:"center",children:[i(p,{height:19}),t(e,{direction:"row",gap:x.spacing(x.custom.margin.sm),width:1,justifyContent:"center",children:[i(p,{height:16}),i(p,{height:16})]})]})})]}:{onClick:u,active:v,"data-id":g,cta:w,children:[i(n,{id:"image-holder",children:i(a,{src:y,width:"100%",height:"100%",containerSx:h})}),t(l,{children:[i(c,{component:"p",variation:"sm",weight:"bold",active:v,children:f}),t(e,{direction:"row",gap:x.spacing(x.custom.margin.sm),width:1,justifyContent:"center",children:[!b&&!k&&i(d,{component:"p",variation:"sm",active:v,children:"Empty"}),!!b&&i(d,{component:"p",variation:"sm",active:v,children:`${b} ${m("Test",b)}`}),!!k&&i(d,{component:"p",variation:"sm",active:v,children:`${k} ${m("Draft",k)}`})]})]}),w&&i(j,{children:w})]})};export{u as L};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsxs as t,jsx as o}from"react/jsx-runtime";import{useTheme as i}from"@mui/material";import{forwardRef as r}from"react";import"./semanticColor-D7tAxZiD.js";import"./primitiveVariables-C2nCN8Fk.js";import"./types-DNd754Km.js";import"./typography-BTnFjSJk.js";import{I as e}from"./Icon-BP-WmpAJ.js";import"./misc-DEfpkrzV.js";import"./typography.util-ZFUiA8Aq.js";import"./AnnualController-
|
|
1
|
+
import{jsxs as t,jsx as o}from"react/jsx-runtime";import{useTheme as i}from"@mui/material";import{forwardRef as r}from"react";import"./semanticColor-D7tAxZiD.js";import"./primitiveVariables-C2nCN8Fk.js";import"./types-DNd754Km.js";import"./typography-BTnFjSJk.js";import{I as e}from"./Icon-BP-WmpAJ.js";import"./misc-DEfpkrzV.js";import"./typography.util-ZFUiA8Aq.js";import"./AnnualController-Bx0WhW0S.js";import"./Accordion-KLkJP5an.js";import{T as s}from"./Typography-CgDLR_Wd.js";import"merge-sx";import"./Badge-udxQgyxt.js";import"./Breadcrumb-yGkwVVRn.js";import"./Button-CpuXPWGi.js";import"./ButtonBase-C2q4CZV7.js";import"./StyledCheckbox-SuzP9Yxe.js";import"./InputFieldBase-B4d6Dg-h.js";import"./CreatableAutocomplete-CmmYcs5K.js";import"@mui/icons-material";import"./InputLabelBase-BdwNmiyi.js";import"./Differential-CrNzQGqM.js";import"./StyledMenu-riM_crCE.js";import"./FormGenerator-Ble7Py9q.js";import"./GridOverlay-BLtO6feB.js";import"html-react-parser";import"./IconButton-CVSXM4Tq.js";import"./IconButtonBase-CBa1P3Dt.js";import"./IconButtonGroup-C2ivSzDs.js";import"./Image-B_WlPc7A.js";import"./Label-D75U7tme.js";import"./Likert-Srh6SL8h.js";import"./Link-uYzcfgc4.js";import"@lottiefiles/dotlottie-react";import"./LoopsAiButton-DeAXErZu.js";import"markdown-to-jsx";import"material-ui-popup-state/hooks";import"./Surface-B6Np35YX.js";import"./MenuItem-tXAIFFbF.js";import"./ModalContentWrapper-LR-5lBgA.js";import"./NavigationButton-Dkf-tmN3.js";import"./NudgeButton-248syNPr.js";import"./NumberField-DCxbOEav.js";import"./StyledPill-BI44yAhP.js";import"./Progress-BOcnDGZ1.js";import"./ProgressBar-CViBq0rq.js";import"./Radio-B4pNfjag.js";import"./autocomplete.styles-DJ5ythgf.js";import"./Select-D45cwt2t.js";import"./RankItem-XN1nsWWv.js";import"./SortableList-CTyQ9Xw7.js";import"@tiptap/extension-placeholder";import"@tiptap/extension-underline";import"@tiptap/starter-kit";import"mui-tiptap";import"./RichTextField-DDibFJZO.js";import"./Skeleton-CgzS0S-t.js";import"./Slider-CmfPIVYZ.js";import"./StarRating-CYozI9kV.js";import"./Switch-I2zWYCGY.js";import"./Textarea-bTjE-WiF.js";import"./TrialPill-iCI6w-r7.js";import"./UserMenuButton-BSz-e4Hg.js";import"./VideoModal-BQ-9nxlU.js";import{C as p,I as m,d as a,a as n,L as l,c}from"./styledPartials-LT81tt6z.js";const j=r((({onClick:r,ctaSpacing:j,disabledText:d},u)=>{const g=i();return t(p,{ref:u,onClick:()=>!d&&r(),sx:{backgroundColor:d?g.custom.palette.interaction.disabled:g.custom.palette.purple[0]},cta:j,disabled:!!d,children:[o(m,{id:"image-holder",sx:{backgroundColor:"unset "},children:o(a,{id:"icon-container",children:o(e,{name:"add",size:48,color:d?g.custom.palette.icon.disabled:g.custom.palette.icon.link})})}),t(n,{sx:{pb:g.spacing(g.custom.padding.lg),gap:0,justifyContent:"start"},children:[o(l,{component:"p",variation:"sm",weight:"bold",disabled:!!d,children:"Create a new Loop"}),d&&o(s,{component:"p",variation:"xs",sx:{color:g.custom.palette.text.disabled,marginTop:g.spacing(g.custom.margin.md)},children:d})]}),j&&o(c,{})]})}));export{j as L};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsxs as e,jsx as i}from"react/jsx-runtime";import{styled as n,Box as t,Fade as l,Grow as o,SvgIcon as a,useTheme as r,Stack as s,Divider as c}from"@mui/material";import{N as g}from"./NavigationButton-Dkf-tmN3.js";import{N as d}from"./Nudge-CcUNRymf.js";import"./Typography-CgDLR_Wd.js";import"./NudgeButton-248syNPr.js";import{U as p}from"./UserMenu-
|
|
1
|
+
import{jsxs as e,jsx as i}from"react/jsx-runtime";import{styled as n,Box as t,Fade as l,Grow as o,SvgIcon as a,useTheme as r,Stack as s,Divider as c}from"@mui/material";import{N as g}from"./NavigationButton-Dkf-tmN3.js";import{N as d}from"./Nudge-CcUNRymf.js";import"./Typography-CgDLR_Wd.js";import"./NudgeButton-248syNPr.js";import{U as p}from"./UserMenu-DJw5Io69.js";import{I as m}from"./Icon-BP-WmpAJ.js";import{I as h}from"./IconButton-CVSXM4Tq.js";import"./primitiveVariables-C2nCN8Fk.js";const u=()=>e(a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",style:{height:40,width:40},children:[i("rect",{x:"5",y:"5",width:"30",height:"30",rx:"15",fill:"#7F4CFF"}),i("path",{d:"M14.375 12.5H21.875V13.4375C20 13.4375 20 15.3125 20 15.3125V25.625H22.8125C22.8125 25.625 24.6875 25.625 24.6875 22.8125H26.5625L25.625 27.5H14.375V25.625C16.25 25.625 16.25 23.75 16.25 23.75V15.3125C16.25 15.3125 16.25 13.4375 14.375 13.4375V12.5Z",fill:"white"})]}),f=()=>{const n=r();return e(a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 53 19",style:{height:19,width:53},sx:{"&.MuiSvgIcon-root path":{fill:"light"===n.palette.mode?n.custom.palette.icon.primary:n.custom.palette.icon.lockedWhite}},children:[i("path",{d:"M5.759 15.754c-.854-.6-1.033-.778-1.033-2.098V3H0v.2l.008.005c.868.535 1.263.778 1.263 2.092v8.359c0 1.32-.179 1.498-1.033 2.098v.2h5.52v-.2Z"}),i("path",{fillRule:"evenodd",d:"M6.015 11.947c.537 3.068 3.314 4.644 6.229 4.128 2.913-.517 4.986-2.962 4.45-6.022-.537-3.06-3.314-4.646-6.23-4.129-2.914.518-4.986 2.955-4.449 6.023Zm3.599-.639c-.514-2.95-.306-4.285 1.002-4.517 1.31-.234 1.964.946 2.479 3.896.514 2.95.307 4.28-1.003 4.517-1.31.238-1.964-.946-2.478-3.896ZM23.64 16.075c-2.913.516-5.69-1.06-6.228-4.128-.538-3.068 1.535-5.505 4.45-6.023 2.915-.517 5.69 1.068 6.229 4.128.538 3.06-1.537 5.506-4.45 6.023Zm-1.626-9.284c-1.31.232-1.517 1.567-1.003 4.517s1.168 4.134 2.478 3.9c1.31-.232 1.517-1.566 1.003-4.516s-1.168-4.135-2.478-3.901Z",clipRule:"evenodd"}),i("path",{fillRule:"evenodd",d:"M34.091 18.756c-.993-.565-1.35-.769-1.35-2.054l.003-2.396c.515 1.039 1.548 1.858 3.256 1.858 2.581 0 4.627-1.964 4.627-5.34 0-3.435-1.995-4.973-4.27-4.973-1.866 0-3.158 1.059-3.613 2.517l-.08-2.317h-4.567v.191c.854.558 1.19.778 1.19 2.097v8.363c0 1.318-.177 1.498-1.033 2.098v.2h5.915v-.2l-.078-.044Zm.814-3.808c-1.212 0-2.165-1.378-2.165-2.975V10.55c0-1.777.854-3.117 2.165-3.117 1.37 0 2.044 1.26 2.044 3.396 0 2.82-.694 4.119-2.044 4.119Z",clipRule:"evenodd"}),i("path",{d:"M51.545 16.124c.642 0 1.163-.524 1.163-1.17 0-.646-.52-1.17-1.163-1.17s-1.163.524-1.163 1.17c0 .646.52 1.17 1.163 1.17ZM46.212 9.195c-1.33-.395-2.079-.617-2.079-1.411 0-.665.607-.96 1.274-.96 1.292 0 2.304.74 3.476 2.458h.278V5.847h-.199l-.893.659-.117-.049c-.735-.305-1.47-.61-2.584-.61-2.125 0-3.813 1.318-3.813 3.275 0 1.757.836 2.757 3.834 3.536 1.113.28 1.887.48 1.887 1.338 0 .8-.774 1.178-1.708 1.178-1.435 0-2.483-.978-3.861-2.836h-.304l.21 3.795h.218l.793-.799c.636.32 1.63.82 2.96.82 2.54 0 4.31-1.42 4.31-3.416 0-2.058-1.23-2.817-3.656-3.535l-.026-.008Z"})]})},v=n("button")((({theme:e})=>({outline:"none",border:"none",padding:0,backgroundColor:"transparent","&:active:before":{backgroundColor:e.custom.palette.interaction.press},cursor:"pointer"}))),x=n(t,{shouldForwardProp:e=>!["navigationSizing"].includes(e)})((({navigationSizing:e,theme:i})=>({alignItems:"center",backgroundColor:i.custom.palette.surface.sunken,display:"flex",flexDirection:"sm"===e?"column":"row",justifyContent:"space-between",padding:i.spacing(1.5,2,2)}))),w=({isMobile:n,logoLink:a=()=>{},navigationSizing:r,toggleMenuOnClick:s})=>e(x,{navigationSizing:r,children:[i(t,{sx:{display:"flex",width:"100%"},children:e(t,{sx:{alignItems:"center",display:"flex",justifyContent:"space-between",width:"100%"},children:[i(v,{onClick:a,children:e(t,{sx:{alignItems:"center",display:"flex",gap:.5,pr:"lg"===r?.5:0},children:[i(u,{}),"lg"===r&&i(l,{in:!0,children:i(t,{sx:{display:"flex",alignItems:"flex-end"},children:i(f,{})})})]})}),"lg"===r&&i(l,{in:"lg"===r,children:i(t,{children:i(h,{onClick:s,sizing:"lg",icon:i(m,n?{name:"close",size:20}:{name:"nav-toggle",size:20})})})})]})}),"sm"===r&&i(o,{in:!0,style:{transformOrigin:"0 100%"},children:i(t,{sx:{alignItems:"center",display:"flex",justifyContent:"flex-start",width:"100%"},children:i(h,{onClick:s,sizing:"lg",icon:i(m,n?{name:"close",size:20}:{name:"nav-toggle",size:20})})})})]}),y=n(s,{shouldForwardProp:e=>!["navigationSizing"].includes(e)})((({navigationSizing:e,theme:i})=>({backgroundColor:i.custom.palette.surface.sunken,transition:i.custom.easing.input,width:"lg"===e?232:72,height:"100%",position:"fixed"}))),C=n(t)((({theme:e})=>({display:"flex",flex:1,padding:e.spacing(2)}))),z=n(t)((({theme:e})=>({display:"flex",flex:1,gap:e.spacing(1),"& div":{display:"flex",justifyContent:"center",width:"100%"},"& button":{width:"100%"}}))),M=({logoLink:n,isMobile:t,nudgeProps:l,primaryMenuItemProps:o,secondaryMenuItemProps:a,sizing:m="lg",tertiaryMenuItemProps:h,toggleMenuOnClick:u=()=>{},userMenuProps:f})=>{const v=r();return e(y,{navigationSizing:m,children:[i(w,{logoLink:n,navigationSizing:m,toggleMenuOnClick:u,isMobile:t}),i(C,{children:e(s,{sx:{gap:4,justifyContent:"space-between",width:"100%"},children:[!!o?.length&&i(s,{sx:{gap:"lg"===m?.5:2,width:"100%"},children:o.map(((e,n)=>i(g,{navigationSizing:m,...e},`primary-menu-item-${n}`)))}),e(s,{sx:{gap:2},children:[l?.title&&i(d,{navigationSizing:m,...l}),!!a?.length&&a.map(((e,n)=>i(g,{navigationSizing:m,...e,label:"Help center"===e.label&&"sm"===m?"Help":e.label},`secondary-menu-item-${n}`))),i(c,{sx:{color:v.custom.palette.stroke.default}}),i(p,{rounded:"sm"===m,...f}),!!h?.length&&i(z,{children:h.map(((e,n)=>i(g,{navigationSizing:m,...e},`tertiary-menu-item-${n}`)))})]})]})})]})};export{M as N};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsxs as t,jsx as i}from"react/jsx-runtime";import{useTheme as o,Stack as r}from"@mui/material";import"./semanticColor-D7tAxZiD.js";import"./primitiveVariables-C2nCN8Fk.js";import"./types-DNd754Km.js";import"./typography-BTnFjSJk.js";import{I as e}from"./Icon-BP-WmpAJ.js";import"./misc-DEfpkrzV.js";import"./typography.util-ZFUiA8Aq.js";import"./AnnualController-
|
|
1
|
+
import{jsxs as t,jsx as i}from"react/jsx-runtime";import{useTheme as o,Stack as r}from"@mui/material";import"./semanticColor-D7tAxZiD.js";import"./primitiveVariables-C2nCN8Fk.js";import"./types-DNd754Km.js";import"./typography-BTnFjSJk.js";import{I as e}from"./Icon-BP-WmpAJ.js";import"./misc-DEfpkrzV.js";import"./typography.util-ZFUiA8Aq.js";import"./AnnualController-Bx0WhW0S.js";import"./Accordion-KLkJP5an.js";import"./Typography-CgDLR_Wd.js";import"merge-sx";import"./Badge-udxQgyxt.js";import"./Breadcrumb-yGkwVVRn.js";import"./Button-CpuXPWGi.js";import"./ButtonBase-C2q4CZV7.js";import"./StyledCheckbox-SuzP9Yxe.js";import"./InputFieldBase-B4d6Dg-h.js";import"./CreatableAutocomplete-CmmYcs5K.js";import"@mui/icons-material";import"./InputLabelBase-BdwNmiyi.js";import"./Differential-CrNzQGqM.js";import"./StyledMenu-riM_crCE.js";import"react";import"./FormGenerator-Ble7Py9q.js";import"./GridOverlay-BLtO6feB.js";import"html-react-parser";import{I as p}from"./IconButton-CVSXM4Tq.js";import"./IconButtonBase-CBa1P3Dt.js";import"./IconButtonGroup-C2ivSzDs.js";import"./Image-B_WlPc7A.js";import"./Label-D75U7tme.js";import"./Likert-Srh6SL8h.js";import"./Link-uYzcfgc4.js";import"@lottiefiles/dotlottie-react";import"./LoopsAiButton-DeAXErZu.js";import"markdown-to-jsx";import"material-ui-popup-state/hooks";import"./Surface-B6Np35YX.js";import"./MenuItem-tXAIFFbF.js";import"./ModalContentWrapper-LR-5lBgA.js";import"./NavigationButton-Dkf-tmN3.js";import"./NudgeButton-248syNPr.js";import"./NumberField-DCxbOEav.js";import"./StyledPill-BI44yAhP.js";import"./Progress-BOcnDGZ1.js";import"./ProgressBar-CViBq0rq.js";import"./Radio-B4pNfjag.js";import"./autocomplete.styles-DJ5ythgf.js";import"./Select-D45cwt2t.js";import"./RankItem-XN1nsWWv.js";import"./SortableList-CTyQ9Xw7.js";import"@tiptap/extension-placeholder";import"@tiptap/extension-underline";import"@tiptap/starter-kit";import"mui-tiptap";import"./RichTextField-DDibFJZO.js";import"./Skeleton-CgzS0S-t.js";import"./Slider-CmfPIVYZ.js";import"./StarRating-CYozI9kV.js";import"./Switch-I2zWYCGY.js";import"./Textarea-bTjE-WiF.js";import"./TrialPill-iCI6w-r7.js";import"./UserMenuButton-BSz-e4Hg.js";import"./VideoModal-BQ-9nxlU.js";const s=({children:s,items:m,activeItem:n,onClickNext:a,onClickPrevious:l,renderTitle:c})=>{const j=o(),u=({active:t})=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"4",height:"4",viewBox:"0 0 4 4",fill:"none",children:i("circle",{cx:"2",cy:"2",r:"2",fill:t?j.custom.palette.icon.primary:j.custom.palette.icon.disabled})});return t(r,{sx:{pt:j.spacing(j.custom.padding.xs),gap:j.spacing(j.custom.padding.sm),justifyContent:"center",alignItems:"center"},children:[t(r,{direction:"row",justifyContent:"space-between",alignItems:"center",width:"100%",children:[c||null,m?.length>1&&t(r,{direction:"row",sx:{ml:"auto",gap:"2px"},children:[i(p,{shape:"round",variation:"outlined",sizing:"xs",icon:i(e,{name:"chevron-left",color:j.custom.palette.icon.primary}),onClick:l}),i(p,{shape:"round",variation:"outlined",sizing:"xs",icon:i(e,{name:"chevron-right",color:j.custom.palette.icon.primary}),onClick:a})]})]}),s,i(r,{direction:"row",gap:j.spacing(j.custom.margin.xs),children:m.map(((t,o)=>i(u,{active:t===n},`pag-ctrl-dot-${o}`)))})]})};export{s as P};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsxs as t,jsx as o}from"react/jsx-runtime";import{useTheme as e}from"@mui/material";import"./semanticColor-D7tAxZiD.js";import"./primitiveVariables-C2nCN8Fk.js";import"./types-DNd754Km.js";import"./typography-BTnFjSJk.js";import{I as r}from"./Icon-BP-WmpAJ.js";import{I as i}from"./IconButton-CVSXM4Tq.js";import{T as s}from"./Tooltip-BfuYy6-R.js";import{T as n}from"./Typography-CgDLR_Wd.js";import{S as c}from"./StyledPill-BI44yAhP.js";import{useRef as a,useState as m,useEffect as l}from"react";const p=p=>{const u=e(),{label:f,iconLeft:d,iconRight:j,onDelete:h,active:y,slots:
|
|
1
|
+
import{jsxs as t,jsx as o}from"react/jsx-runtime";import{useTheme as e}from"@mui/material";import"./semanticColor-D7tAxZiD.js";import"./primitiveVariables-C2nCN8Fk.js";import"./types-DNd754Km.js";import"./typography-BTnFjSJk.js";import{I as r}from"./Icon-BP-WmpAJ.js";import{I as i}from"./IconButton-CVSXM4Tq.js";import{T as s}from"./Tooltip-BfuYy6-R.js";import{T as n}from"./Typography-CgDLR_Wd.js";import{S as c}from"./StyledPill-BI44yAhP.js";import{useRef as a,useState as m,useEffect as l}from"react";const p=p=>{const u=e(),{label:f,iconLeft:d,iconRight:j,onDelete:h,active:y,slots:v}=p,{textRef:x,isTruncated:T}=((t=[])=>{const o=a(null),[e,r]=m(!1);return l((()=>{const t=()=>{const t=o.current;if(t){const o=t.scrollWidth>t.clientWidth;r(o)}};t();const e=new ResizeObserver(t);return o.current&&e.observe(o.current),()=>{e.disconnect()}}),t),{textRef:o,isTruncated:e}})([f]),b=t(c,{...p,children:[d&&o(r,{size:16,name:d}),o(n,{component:"p",variation:"sm",noWrap:!0,ref:x,children:f}),j&&o(r,{size:16,name:j}),h&&o(i,{sizing:"xs",onClick:h,shape:"round",variation:"default",icon:o(r,{name:"cancel",sx:{color:y?u.custom.palette.blue[1e3]:u.custom.palette.icon.secondary}})})]});return T?o(s,{message:f,...v?.tooltip,children:b}):b};export{p as P};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsxs as e,jsx as i,Fragment as t}from"react/jsx-runtime";import{useTheme as r,Stack as n,Box as o}from"@mui/material";import{I as s}from"./Icon-BP-WmpAJ.js";import{T as a}from"./Tooltip-BfuYy6-R.js";import{T as m}from"./Typography-CgDLR_Wd.js";import"./misc-DEfpkrzV.js";import"./primitiveVariables-C2nCN8Fk.js";import"./typography.util-ZFUiA8Aq.js";import"./AnnualController-
|
|
1
|
+
import{jsxs as e,jsx as i,Fragment as t}from"react/jsx-runtime";import{useTheme as r,Stack as n,Box as o}from"@mui/material";import{I as s}from"./Icon-BP-WmpAJ.js";import{T as a}from"./Tooltip-BfuYy6-R.js";import{T as m}from"./Typography-CgDLR_Wd.js";import"./misc-DEfpkrzV.js";import"./primitiveVariables-C2nCN8Fk.js";import"./typography.util-ZFUiA8Aq.js";import"./AnnualController-Bx0WhW0S.js";import"./Accordion-KLkJP5an.js";import"merge-sx";import"./Badge-udxQgyxt.js";import"./Breadcrumb-yGkwVVRn.js";import"./Button-CpuXPWGi.js";import"./ButtonBase-C2q4CZV7.js";import"./StyledCheckbox-SuzP9Yxe.js";import"./InputFieldBase-B4d6Dg-h.js";import"./CreatableAutocomplete-CmmYcs5K.js";import"@mui/icons-material";import"./InputLabelBase-BdwNmiyi.js";import"./Differential-CrNzQGqM.js";import"./StyledMenu-riM_crCE.js";import"react";import"./FormGenerator-Ble7Py9q.js";import"./GridOverlay-BLtO6feB.js";import"html-react-parser";import"./IconButton-CVSXM4Tq.js";import"./IconButtonBase-CBa1P3Dt.js";import"./IconButtonGroup-C2ivSzDs.js";import"./Image-B_WlPc7A.js";import"./Label-D75U7tme.js";import"./Likert-Srh6SL8h.js";import"./Link-uYzcfgc4.js";import"@lottiefiles/dotlottie-react";import"./LoopsAiButton-DeAXErZu.js";import"markdown-to-jsx";import"material-ui-popup-state/hooks";import"./Surface-B6Np35YX.js";import"./MenuItem-tXAIFFbF.js";import"./ModalContentWrapper-LR-5lBgA.js";import"./NavigationButton-Dkf-tmN3.js";import"./NudgeButton-248syNPr.js";import"./NumberField-DCxbOEav.js";import"./semanticColor-D7tAxZiD.js";import"./types-DNd754Km.js";import"./typography-BTnFjSJk.js";import"./StyledPill-BI44yAhP.js";import"./Progress-BOcnDGZ1.js";import"./ProgressBar-CViBq0rq.js";import"./Radio-B4pNfjag.js";import"./autocomplete.styles-DJ5ythgf.js";import"./Select-D45cwt2t.js";import"./RankItem-XN1nsWWv.js";import"./SortableList-CTyQ9Xw7.js";import"@tiptap/extension-placeholder";import"@tiptap/extension-underline";import"@tiptap/starter-kit";import"mui-tiptap";import"./RichTextField-DDibFJZO.js";import{S as p}from"./Skeleton-CgzS0S-t.js";import"./Slider-CmfPIVYZ.js";import"./StarRating-CYozI9kV.js";import"./Switch-I2zWYCGY.js";import"./Textarea-bTjE-WiF.js";import"./TrialPill-iCI6w-r7.js";import"./UserMenuButton-BSz-e4Hg.js";import"./VideoModal-BQ-9nxlU.js";var c={headings:{"01-tier1":{heading:"Starter",pricing:"Pay as you go"},"02-tier2":{heading:"Team",pricing:"{{tier2Price}} /mo"},"03-tier3":{heading:"Scale",pricing:"{{tier3Price}} /mo"},"04-tier4":{heading:"Enterprise",pricing:"Bespoke pricing"}},rows:{"01-servicing":{heading:"Client servicing included",description:"Get direct communication with a Loops Customer Success Manager.",tier1:"{{dash}}",tier2:"{{dash}}",tier3:"💪\nServiced lite",tier4:"💪\nFully serviced"},"02-respondents":{heading:"Price per respondent",description:"The amount you pay to recruit and survey each respondent.",tier1:"{{tier1RespondentPrice}}",tier2:"{{tier2RespondentPrice}}",tier3:"{{tier3RespondentPrice}}",tier4:"{{tier4RespondentPrice}}"},"03-questions":{heading:"Question limit",description:"The maximum number of questions you can add to a test.",tier1:"{{tier1QuestionLimit}}",tier2:"{{tier2QuestionLimit}}",tier3:"{{tier3QuestionLimit}}",tier4:"{{tier4QuestionLimit}}"},"04-ai":{heading:"AI-powered insights",description:"Use Loops AI to summarise the findings from your tests.",tier1:"Basic",tier2:"✨\nAdvanced",tier3:"✨\nAdvanced",tier4:"✨\nAdvanced"},"05-demographics":{heading:"Demographic filters",description:"Reach your target audience using built-in demographic filters.",tier1:"Basic",tier2:"🎯\nAdvanced",tier3:"🎯\nAdvanced",tier4:"🎯\nAdvanced"},"06-training":{heading:"Training",description:"Our team will onboard you and get you set up.",tier1:"{{dash}}",tier2:"{{tick}}",tier3:"{{tick}}",tier4:"{{tick}}"},"07-invite":{heading:"Invite your own respondents",description:"Share your test with your own recruited audience.",tier1:"{{dash}}",tier2:"{{tick}}",tier3:"{{tick}}",tier4:"{{tick}}"},"08-email":{heading:"Email capture",description:"Ability to collect respondent email addresses.",tier1:"{{dash}}",tier2:"{{tick}}",tier3:"{{tick}}",tier4:"{{tick}}"},"09-beta":{heading:"Beta features",description:"Access to our latest features as they become available.",tier1:"{{dash}}",tier2:"{{dash}}",tier3:"{{tick}}",tier4:"{{tick}}"},"10-sso":{heading:"Single sign on (SSO)",description:"Enterprise level authentication using SAML (supports Okta and OneLogin).",tier1:"{{dash}}",tier2:"{{dash}}",tier3:"{{dash}}",tier4:"{{tick}}"},"11-minimum":{heading:"Minimum term",description:"The minimum subscription period.",tier1:"{{tier1MinimumTerm}}",tier2:"{{tier2MinimumTerm}}",tier3:"{{tier3MinimumTerm}}",tier4:"{{tier4MinimumTerm}}"}}};const d=()=>{const t=r(),s=Array.from({length:4},((e,i)=>({heading:`Heading ${i+1}`}))),a=Array.from({length:11},((e,i)=>({key:i})));return e(n,{sx:{backgroundColor:t.custom.palette.surface.default,borderRadius:t.spacing(t.custom.radius.xl),boxShadow:t.custom.elevation.raised,display:"flex",gap:2,pb:{sm:2,lg:4},px:{sm:2,lg:4},minWidth:{sm:680}},children:[e(o,{sx:{display:"flex",py:2,px:1,justifyContent:"space-between",gap:2},children:[i(o,{sx:{width:160}}),s.map((({heading:t})=>e(n,{sx:{alignItems:"center",display:"flex",justifyContent:"center",width:122,gap:1},children:[i(p,{height:32,width:100}),i(p,{height:22})]},t)))]}),a.map((r=>e(o,{sx:{display:"flex",justifyContent:"space-between",p:1,"&:nth-of-type(even)":{backgroundColor:t.custom.palette.surface.sunken}},children:[i(o,{sx:{display:"flex",alignItems:"center",width:160},children:i(o,{sx:{display:"flex",justifyContent:"flex-start",alignItems:"center",flex:1,gap:1},children:i(p,{height:30})})}),i(l,{}),i(l,{}),i(l,{}),i(l,{})]},r.key)))]})},l=()=>i(o,{sx:{display:"flex",alignItems:"center",textAlign:"center",width:122},children:i(o,{sx:{display:"flex",justifyContent:"center",alignItems:"center",p:{sm:.5,md:1},flex:1},children:i(p,{height:30,width:40})})}),u=({currencySymbol:t,data:p,loading:l,tier1MinimumTerm:u,tier1Price:g,tier1QuestionLimit:y,tier1RespondentPrice:x,tier2MinimumTerm:f,tier2Price:j,tier2QuestionLimit:b,tier2RespondentPrice:k,tier3MinimumTerm:v,tier3Price:w,tier3QuestionLimit:P,tier3RespondentPrice:S,tier4MinimumTerm:I,tier4Price:T,tier4QuestionLimit:L,tier4RespondentPrice:B,variation:C="default"})=>{if(l)return i(d,{});const M=r(),A={...c,...p},R=e=>"number"==typeof e?`${t}${new Intl.NumberFormat("en-GB").format(e)}`:e||"",Q=e=>e.replace("{{currencySymbol}}",t||"").replace("{{tier1MinimumTerm}}",u?`${u} months`:"No minimum term").replace("{{tier2MinimumTerm}}",f?`${f} months`:"No minimum term").replace("{{tier3MinimumTerm}}",v?`${v} months`:"No minimum term").replace("{{tier4MinimumTerm}}",I?`${I} months`:"No minimum term").replace("{{tier1Price}}",R(g)).replace("{{tier2Price}}",R(j)).replace("{{tier3Price}}",R(w)).replace("{{tier4Price}}",R(T)).replace("{{tier1QuestionLimit}}",y?String(y):"").replace("{{tier2QuestionLimit}}",b?String(b):"").replace("{{tier3QuestionLimit}}",P?String(P):"").replace("{{tier4QuestionLimit}}",L?String(L):"").replace("{{tier1RespondentPrice}}",R(x)).replace("{{tier2RespondentPrice}}",R(k)).replace("{{tier3RespondentPrice}}",R(S)).replace("{{tier4RespondentPrice}}",R(B)),O=Object.values(A.headings).map((({heading:e,pricing:i})=>({heading:e,pricing:Q(i)}))),N=[...Object.values(A.rows).map(((e,i)=>({key:`pricing-table-features-${i}`,type:"row",name:{heading:e.heading,description:e.description},tier1:Q(e.tier1),tier2:Q(e.tier2),tier3:Q(e.tier3),tier4:Q(e.tier4)})))];return e(n,{sx:{backgroundColor:M.custom.palette.surface.default,borderRadius:M.spacing(M.custom.radius.xl),boxShadow:M.custom.elevation.raised,display:"flex",gap:2,pb:{sm:2,lg:4},px:{sm:2,lg:4},minWidth:{sm:680}},children:[e(o,{sx:{display:"flex",py:2,px:1,justifyContent:"space-between"},children:[i(o,{sx:{width:160}}),O.map((({heading:t,pricing:r})=>e(n,{sx:{alignItems:"center",display:"flex",justifyContent:"center",width:122},children:[i(m,{variation:"platform"===C?"lg":"xxl",component:"p",weight:"bold",children:t}),i(m,{variation:"platform"===C?"sm":"md",component:"p",sx:{color:M.custom.palette.text.secondary},children:r})]},t)))]}),N.map((t=>e(o,{sx:{display:"flex",justifyContent:"space-between",p:1,"&:nth-of-type(even)":{backgroundColor:M.custom.palette.surface.sunken}},children:[i(o,{sx:{display:"flex",alignItems:"center",width:160},children:e(o,{sx:{display:"flex",justifyContent:"flex-start",alignItems:"center",flex:1,gap:1},children:[t.name.description&&i(a,{message:t.name.description,children:i(o,{sx:{alignItems:"center",color:M.custom.palette.icon.secondary,display:"flex"},children:i(s,{name:"info",size:24})})}),i(m,{variation:"platform"===C?"md":"lg",component:"p",children:t.name.heading})]})}),i(h,{text:t.tier1}),i(h,{text:t.tier2}),i(h,{text:t.tier3}),i(h,{text:t.tier4})]},t.key)))]})},h=({text:n})=>{const a=r(),p="{{tick}}"===n,c="{{dash}}"===n;return i(o,{sx:{display:"flex",alignItems:"center",textAlign:"center",width:122},children:e(o,{sx:{display:"flex",justifyContent:"center",alignItems:"center",p:{sm:.5,md:1},flex:1},children:[p&&i(s,{name:"badge-tick-in-circle",size:24}),c&&i(s,{name:"badge-hyphen",size:24}),!p&&!c&&i(m,{variation:"lg",component:"p",sx:{color:a.custom.palette.text.secondary,hyphens:"none",whiteSpace:"pre"},children:i(t,{children:n})})]})})};export{u as P};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsxs as t,jsx as e}from"react/jsx-runtime";import{styled as i,Box as r,Stack as o,useTheme as s,chipClasses as a}from"@mui/material";import{forwardRef as n,useRef as p,useEffect as m,startTransition as l}from"react";import"./semanticColor-D7tAxZiD.js";import{a as d}from"./primitiveVariables-C2nCN8Fk.js";import"./types-DNd754Km.js";import"./typography-BTnFjSJk.js";import"./Icon-BP-WmpAJ.js";import"merge-sx";import{T as c}from"./Typography-CgDLR_Wd.js";import"./misc-DEfpkrzV.js";import"./typography.util-ZFUiA8Aq.js";import"./AnnualController-Bx0WhW0S.js";import"./Accordion-KLkJP5an.js";import"./Badge-udxQgyxt.js";import"./Breadcrumb-yGkwVVRn.js";import{B as h}from"./Button-CpuXPWGi.js";import"./ButtonBase-C2q4CZV7.js";import"./StyledCheckbox-SuzP9Yxe.js";import"./InputFieldBase-B4d6Dg-h.js";import"./CreatableAutocomplete-CmmYcs5K.js";import"@mui/icons-material";import"./InputLabelBase-BdwNmiyi.js";import"./Differential-CrNzQGqM.js";import"./StyledMenu-riM_crCE.js";import{u as g}from"./breakpoint.hook-CtMCCTHh.js";import{u}from"./screen.hook-BNmuYIBj.js";import"./FormGenerator-Ble7Py9q.js";import"./GridOverlay-BLtO6feB.js";import"html-react-parser";import"./IconButton-CVSXM4Tq.js";import"./IconButtonBase-CBa1P3Dt.js";import"./IconButtonGroup-C2ivSzDs.js";import"./Image-B_WlPc7A.js";import{L as j}from"./Label-D75U7tme.js";import"./Likert-Srh6SL8h.js";import{L as f}from"./Link-uYzcfgc4.js";import"@lottiefiles/dotlottie-react";import"./LoopsAiButton-DeAXErZu.js";import"markdown-to-jsx";import"material-ui-popup-state/hooks";import"./Surface-B6Np35YX.js";import"./MenuItem-tXAIFFbF.js";import"./ModalContentWrapper-LR-5lBgA.js";import"./NavigationButton-Dkf-tmN3.js";import"./NudgeButton-248syNPr.js";import"./NumberField-DCxbOEav.js";import"./StyledPill-BI44yAhP.js";import"./Progress-BOcnDGZ1.js";import"./ProgressBar-CViBq0rq.js";import"./Radio-B4pNfjag.js";import"./autocomplete.styles-DJ5ythgf.js";import"./Select-D45cwt2t.js";import"./RankItem-XN1nsWWv.js";import"./SortableList-CTyQ9Xw7.js";import"@tiptap/extension-placeholder";import"@tiptap/extension-underline";import"@tiptap/starter-kit";import"mui-tiptap";import"./RichTextField-DDibFJZO.js";import{S as y}from"./Skeleton-CgzS0S-t.js";import"./Slider-CmfPIVYZ.js";import"./StarRating-CYozI9kV.js";import"./Switch-I2zWYCGY.js";import"./Textarea-bTjE-WiF.js";import"./TrialPill-iCI6w-r7.js";import"./UserMenuButton-BSz-e4Hg.js";import"./VideoModal-BQ-9nxlU.js";import"./AiContentContainer-DLydt-sv.js";import"@mui/material/ListItem";import"@mui/material/ListItemText";import"./AISummary-WlTbxSkq.js";import"./styledPartials-Dzga3NtD.js";import"@mui/icons-material/CameraAlt";import"@mui/material/styles";import"./CommentCard-z_exfbyx.js";import"./DataPointInfo-C9CHLjCe.js";import"./DemographicSelectionSection-BW7W41gi.js";import"./StyledSurface-Cs_WADoi.js";import"./StyledSurface-sy6IRDny.js";import"./TestStatus-DimgPsFO.js";import"@number-flow/react";import"./StyledBox-jdpMXyFD.js";import"./FilterCount-DTUQcEqA.js";import"./FilteredItemsCard-3WSLA8rY.js";import"./FilterGroupAccordion-Cc3GUUkn.js";import"./FilterPyramidGraph-Cuaqodcj.js";import"./StyledLisItemButton-DNKQ7vhb.js";import"@mui/material/Box";import"@mui/material/ListItemIcon";import"./StyledLinearProgress-BM98I3DB.js";import"./Header-CF182f1X.js";import"./QuestionStatsCard-CbWXvDzL.js";import"./styledPartials-LT81tt6z.js";import"./LoopItemEmpty-DwbrRS8x.js";import"./Navigation-Df9dN2Kg.js";import"./StyledTimeline-Dpa8DOod.js";import"@mui/lab";import"@mui/lab/Timeline";import"motion/react";import"./styledPartials-lR_wcFQX.js";import"dayjs";import"./QuestionBlock-CtvuGphW.js";import"./QuestionLabel-p-6_HQnQ.js";import"./QuestionSelector-CmPUveaW.js";import"./SearchInput-__iHqFC_.js";import"./SectionHeader-BfPNXSRo.js";import"./SentimentArrow-D5iTzMCi.js";import"./SliderGraphYAxis-BZ4dRI3r.js";import"./Tab-c2jP1G7K.js";import"react-truncate-list";import"react-truncate-list/dist/styles.css";import"./TestKPICard-DN7MIlpV.js";import"./VideoControls-CM00Syi7.js";import"./LikertGraph-DrNPDmA6.js";import"./theme.provider-BJGpM9uN.js";const b=i(r)((({theme:t})=>({alignItems:"center",display:"flex",gap:t.spacing(t.custom.padding.xs),width:"100%","& .MuiSvgIcon-root":{alignSelf:"start"}}))),x=({feature:i,featuresIcon:r})=>t(b,{children:[r,e(c,{variation:"sm",component:"p",children:i})]}),I=(...t)=>e=>!t.includes(e),S={PlanTierCard:i(o,{shouldForwardProp:I("bordered")})((({theme:t,bordered:e})=>({backgroundColor:t.custom.palette.surface.default,borderRadius:t.spacing(t.custom.radius.lg),border:e?`4px solid ${t.custom.palette.purple[500]}`:`1px solid ${t.custom.palette.stroke.light}`,padding:e?0:3,boxShadow:t.custom.elevation.raised,display:"flex",flex:1,minWidth:"280px",maxWidth:"480px",position:"relative"}))),Top:i(o)((({theme:t})=>({gap:t.spacing(t.custom.padding.lg),padding:t.spacing(t.custom.padding.md),paddingBottom:0}))),Head:i(o,{shouldForwardProp:I("height")})((({theme:t,height:e})=>({gap:t.spacing(t.custom.padding.md),transition:"height 0.3s ease-out",...e&&{minHeight:`${e}px`}}))),PlanTitle:i(o)((({theme:t})=>({gap:t.spacing(t.custom.padding.md),justifyContent:"space-between",flexDirection:"row"}))),Billing:i(o)((({theme:t})=>({alignItems:"start"}))),Price:i(o)((({theme:t})=>({flexDirection:"row",alignItems:"end",gap:t.spacing(t.custom.padding.xs)}))),Body:i(o,{shouldForwardProp:I("height")})((({height:t})=>({...t&&{minHeight:`${t}px`},transition:"height 0.3s ease-out"}))),Bottom:i(o,{shouldForwardProp:I("height")})((({theme:t,height:e})=>({alignItems:"stretch",justifyContent:"space-between",gap:t.spacing(t.custom.padding.lg),padding:t.spacing(t.custom.padding.md),...e&&{minHeight:`${e}px`},transition:"height 0.3s ease-out",[t.breakpoints.up("lg")]:{padding:`${t.spacing(t.custom.padding.lg)} ${t.spacing(t.custom.padding.md)}`}}))),FeatureList:i(o)((({theme:t})=>({alignItems:"center",gap:t.spacing(t.custom.padding.xs),padding:`0 ${t.spacing(t.custom.padding.md)}`})))},B=()=>t(S.PlanTierCard,{children:[t(S.Top,{children:[t(S.Head,{children:[e(S.PlanTitle,{children:e(y,{height:38})}),t(S.Billing,{children:[e(S.Price,{children:e(y,{height:35,width:200})}),e(y,{height:20,width:100})]}),e(y,{height:24,width:100})]}),e(S.Body,{children:e(y,{height:50})}),e(y,{height:100})]}),t(S.Bottom,{children:[t(S.FeatureList,{children:[e(y,{}),e(y,{}),e(y,{}),e(y,{})]}),e(y,{height:40})]})]}),k=i(r,{shouldForwardProp:I("height")})((({height:t})=>({...t&&{minHeight:`${t}px`}}))),w=i(r)((({theme:t})=>({display:"flex",flexDirection:"column",padding:t.spacing(t.custom.padding.md),justifyContent:"center",alignItems:"start",borderRadius:t.spacing(t.custom.radius.md),backgroundColor:t.custom.palette.purple[0]}))),C=n((({respondentsTitle:i,respondentsFeatures:a,featuresIcon:n,height:p},m)=>{const l=s();return e(k,{ref:m,height:p,children:t(w,{children:[e(c,{component:"p",variation:"lg",weight:"bold",children:i}),a?.length&&e(o,{sx:{gap:l.spacing(l.custom.padding.xs),width:"100%"},children:a?.map((({features:s,bundleName:a,bundleCost:p})=>t(o,{children:[e(r,{sx:{borderBottom:`1px solid ${l.custom.palette.purple[100]}`,width:"100%",margin:`${l.spacing(l.custom.margin.md)} 0`}}),t(o,{direction:"row",mb:l.spacing(l.custom.padding.sm),gap:l.spacing(l.custom.padding.sm),children:[a&&e(c,{component:"p",variation:"lg",weight:"bold",children:a}),p&&t(c,{component:"p",variation:"xs",sx:{marginLeft:"auto",display:"flex",alignItems:"baseline",color:l.custom.palette.text.secondary,gap:2},children:["From"," ",e(c,{component:"p",variation:"lg",weight:"bold",ml:2,children:p})," ","/mo"]})]}),s?.map((t=>e(x,{feature:t,featuresIcon:n},`${i}-feature-${t}`)))]},`bundle-${a}`)))})]})})})),T=i(j)((({theme:t})=>({backgroundColor:t.custom.palette.green[600],color:t.custom.palette.text.lockedWhite,borderRadius:t.spacing(t.custom.radius.round),width:"fit-content",height:3*d+"px",flexShrink:0,lineHeight:1,[`& .${a.label}`]:{textTransform:"none"}}))),P=({amount:i,billingType:r,body:o,bordered:a,ctaEvent:n=()=>{},ctaLink:y="#",ctaTarget:b="_self",ctaText:I,ctaVariation:k="primary",currencySymbol:w,currentPlan:P,featuresHeading:H,features:v=[],featuresIcon:F,heading:L,label:$,loading:A,respondentsTitle:R,respondentsFeatures:D,respondentsFeaturesIcon:G,saving:M,sectionHeights:Q,updateSectionHeight:V,syncHeightsOnBreakpoints:W})=>{const E=s(),N=g(),{width:O}=u(),q=p(null),z=p(null),U=p(null),Y=p(null);return A?e(B,{}):(m((()=>{l((()=>{if(Q&&V){const t=[{ref:q,key:"headerHeight"},{ref:z,key:"bodyHeight"},{ref:U,key:"respondentCardHeight"},{ref:Y,key:"bottomHeight"}];W?.includes(N)?t.forEach((({ref:t,key:e})=>{t.current?.offsetHeight&&t.current.offsetHeight>Q[e]&&V(e,t.current.offsetHeight)})):t.forEach((({key:t})=>{0!==Q[t]&&V(t,0)}))}}))}),[N,W,O,V]),t(S.PlanTierCard,{bordered:a,children:[t(S.Top,{children:[t(S.Head,{ref:q,height:Q?.headerHeight,children:[t(S.PlanTitle,{children:[e(c,{variation:"lg",component:"h1",weight:"bold",children:L}),$&&e(j,{body:$,weight:"heavy",sx:{height:3*d,backgroundColor:t=>t.custom.palette.icon.primary,color:t=>t.custom.palette.text.primaryInverted}})]}),t(S.Billing,{children:[e(S.Price,{children:t(c,{variation:"xxl",component:"p",weight:"bold",children:[w,i]})}),r&&e(c,{variation:"sm",component:"p",sx:{color:E.custom.palette.text.secondary},children:r})]}),M&&e(T,{body:M,weight:"heavy"})]}),e(S.Body,{ref:z,height:Q?.bodyHeight,children:o}),R&&e(C,{ref:U,height:Q?.respondentCardHeight,respondentsTitle:R,respondentsFeatures:D,featuresIcon:G})]}),t(S.Bottom,{ref:Y,height:Q?.bottomHeight,children:[v?.length&&t(S.FeatureList,{children:[H&&e(c,{component:"p",variation:"sm",weight:"bold",mr:"auto",children:H}),v.map(((t,i)=>e(x,{feature:t,featuresIcon:F},`${L}-feature-${i}`)))]}),!P&&e(f,{href:y,title:I,target:b,onClick:()=>{L&&n(L)},sx:{"&:hover":{cursor:"pointer"}},children:e(h,{fullWidth:!0,variation:k,sizing:"lg",disabled:P,children:I})})]})]}))};export{P};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsxs as t,jsx as i}from"react/jsx-runtime";import{Box as e,useTheme as o,Stack as r}from"@mui/material";import"./misc-DEfpkrzV.js";import{I as s}from"./Icon-BP-WmpAJ.js";import"./primitiveVariables-C2nCN8Fk.js";import"./typography.util-ZFUiA8Aq.js";import"./AnnualController-
|
|
1
|
+
import{jsxs as t,jsx as i}from"react/jsx-runtime";import{Box as e,useTheme as o,Stack as r}from"@mui/material";import"./misc-DEfpkrzV.js";import{I as s}from"./Icon-BP-WmpAJ.js";import"./primitiveVariables-C2nCN8Fk.js";import"./typography.util-ZFUiA8Aq.js";import"./AnnualController-Bx0WhW0S.js";import"./Accordion-KLkJP5an.js";import{T as a}from"./Typography-CgDLR_Wd.js";import{mergeSx as n}from"merge-sx";import"./Badge-udxQgyxt.js";import"./Breadcrumb-yGkwVVRn.js";import"./Button-CpuXPWGi.js";import"./ButtonBase-C2q4CZV7.js";import"./StyledCheckbox-SuzP9Yxe.js";import"./InputFieldBase-B4d6Dg-h.js";import"./CreatableAutocomplete-CmmYcs5K.js";import"@mui/icons-material";import"./InputLabelBase-BdwNmiyi.js";import"./Differential-CrNzQGqM.js";import"./StyledMenu-riM_crCE.js";import"react";import"./FormGenerator-Ble7Py9q.js";import"./GridOverlay-BLtO6feB.js";import"html-react-parser";import"./IconButton-CVSXM4Tq.js";import"./IconButtonBase-CBa1P3Dt.js";import"./IconButtonGroup-C2ivSzDs.js";import"./Image-B_WlPc7A.js";import"./Label-D75U7tme.js";import"./Likert-Srh6SL8h.js";import"./Link-uYzcfgc4.js";import"@lottiefiles/dotlottie-react";import"./LoopsAiButton-DeAXErZu.js";import"markdown-to-jsx";import"material-ui-popup-state/hooks";import"./Surface-B6Np35YX.js";import"./MenuItem-tXAIFFbF.js";import"./ModalContentWrapper-LR-5lBgA.js";import"./NavigationButton-Dkf-tmN3.js";import"./NudgeButton-248syNPr.js";import"./NumberField-DCxbOEav.js";import"./semanticColor-D7tAxZiD.js";import"./types-DNd754Km.js";import"./typography-BTnFjSJk.js";import"./StyledPill-BI44yAhP.js";import"./Progress-BOcnDGZ1.js";import"./ProgressBar-CViBq0rq.js";import"./Radio-B4pNfjag.js";import"./autocomplete.styles-DJ5ythgf.js";import"./Select-D45cwt2t.js";import"./RankItem-XN1nsWWv.js";import"./SortableList-CTyQ9Xw7.js";import"@tiptap/extension-placeholder";import"@tiptap/extension-underline";import"@tiptap/starter-kit";import"mui-tiptap";import"./RichTextField-DDibFJZO.js";import{S as p}from"./Skeleton-CgzS0S-t.js";import"./Slider-CmfPIVYZ.js";import"./StarRating-CYozI9kV.js";import"./Switch-I2zWYCGY.js";import"./Textarea-bTjE-WiF.js";import"./TrialPill-iCI6w-r7.js";import"./UserMenuButton-BSz-e4Hg.js";import"./VideoModal-BQ-9nxlU.js";import{p as l}from"./pluralise-55UGwOAX.js";import{C as d,a as m,I as c,b as h,P as g,L as u,T as x}from"./styledPartials-lR_wcFQX.js";import j from"dayjs";const f=(o,r)=>t(e,{display:"flex",gap:.5,children:[i(a,{variation:"sm",component:"p",weight:"bold",children:o||0}),i(a,{variation:"sm",component:"p",sx:{color:t=>t.custom.palette.text.secondary},children:l(r,o||0)})]}),b=({loops:i,tests:o,drafts:r})=>t(e,{display:"flex",alignItems:"center",flexWrap:"wrap",columnGap:1,children:[!!i&&f(i,"Loop"),!!o&&f(o,"Test"),!!r&&f(r,"Draft")]}),y=({title:t,maxLines:e,sx:o})=>i(a,{variation:"md",component:"p",weight:"bold",sx:n({overflow:"hidden",display:"-webkit-box",WebkitLineClamp:`${e}`,WebkitBoxOrient:"vertical"},o),children:t}),w=({updatedDate:i,format:e=!1,noWrap:o})=>t(a,{variation:"xxs",component:"p",noWrap:o,sx:{color:t=>t.custom.palette.text.secondary},children:["Edited on ",e?j(i).format("DD MMM YYYY"):i]}),k=({title:o,description:r,loopCount:s,testCount:a,draftCount:n,updatedAt:l,moreActions:x,thumbnail:j,isDemo:f,loading:k,onClick:v})=>i(d,k?{disableRaisedEffect:!0,sx:{pointerEvents:"none"},children:t(m,{component:"div",disableHoverStyle:!0,children:[i(c,{"data-id":"image-container",children:i(p,{})}),t(h,{children:[i(e,{"data-id":"title-container",height:32,children:i(p,{})}),i(p,{height:20}),i(p,{height:16,width:"60%"})]})]})}:{children:t(m,{component:"div",disableHoverStyle:!0,onClick:v,children:[t(c,{"data-id":"image-container",sx:{border:t=>`1px solid ${t.custom.palette.stroke.light}`},children:[f&&i(g,{body:"Demo",sx:{bottom:8,left:8}}),i(u,{thumbnail:j,title:o,description:r})]}),t(h,{children:[t(e,{"data-id":"title-container",children:[i(y,{title:o,maxLines:2}),i(e,{"data-id":"more-actions-container",onClick:t=>{t.stopPropagation()},children:x})]}),i(b,{loops:s,tests:a,drafts:n}),i(w,{updatedDate:l,format:!0})]})]})}),v=({title:s,description:a,loopCount:n,testCount:l,draftCount:x,updatedAt:j,moreActions:f,thumbnail:k,isDemo:v,loading:C,onClick:B})=>{const I=o();return i(d,C?{disableRaisedEffect:!0,sx:{pointerEvents:"none",borderBottom:`1px solid ${I.custom.palette.stroke.light}`},children:t(m,{component:"div",onClick:B,sx:{display:"flex",gap:I.spacing(I.custom.margin.sm),alignItems:"center",padding:I.spacing(I.custom.padding.xs)},children:[i(c,{sx:{border:t=>`1px solid ${t.custom.palette.stroke.light}`,height:72,width:108},"data-id":"image-container",children:i(p,{})}),i(h,{sx:{overflow:"hidden",pl:I.spacing(I.custom.padding.sm),minWidth:67,flex:1,"&:last-child":{pb:0}},children:t(r,{gap:I.spacing(I.custom.margin.xs),children:[i(p,{width:"100%",height:20}),t(r,{direction:"row",gap:I.spacing(I.custom.margin.xs),justifyContent:"space-between",flexWrap:"wrap",children:[i(p,{height:20,width:"70%"}),i(p,{height:16,width:200})]})]})})]})}:{disableRaisedEffect:!0,sx:{borderBottom:`1px solid ${I.custom.palette.stroke.light}`},children:t(m,{component:"div",onClick:B,sx:{display:"flex",gap:I.spacing(I.custom.margin.sm),alignItems:"center",padding:I.spacing(I.custom.padding.xs)},children:[t(c,{sx:{border:t=>`1px solid ${t.custom.palette.stroke.light}`,height:72,width:108},"data-id":"image-container",children:[v&&i(g,{sx:{top:4,right:4},body:"Demo"}),i(u,{thumbnail:k,title:s,description:a})]}),i(h,{sx:{overflow:"hidden",pl:I.spacing(I.custom.padding.sm),minWidth:67,flex:1,"&:last-child":{pb:0}},children:t(r,{gap:I.spacing(I.custom.margin.xs),children:[i(y,{title:s,maxLines:1}),t(r,{direction:"row",gap:I.spacing(I.custom.margin.xs),justifyContent:"space-between",flexWrap:"wrap",children:[i(b,{loops:n,tests:l,drafts:x}),i(w,{updatedDate:j,format:!0,noWrap:!0})]})]})}),f&&i(e,{onClick:t=>t.stopPropagation(),children:f})]})})},C=t=>"list"===t.viewType?i(v,{...t}):i(k,{...t}),B=({onClick:e,viewType:a,title:n})=>{const p=o();return i(d,"list"===a?{disableRaisedEffect:!0,sx:{borderBottom:`1px solid ${p.custom.palette.stroke.light}`},children:t(m,{component:"div",onClick:e,sx:{display:"flex",gap:p.spacing(p.custom.margin.sm),alignItems:"center",padding:p.spacing(p.custom.padding.xs)},children:[i(c,{sx:{height:72,width:108},"data-id":"image-container",children:i(x,{viewType:a,children:i(s,{name:"add"})})}),i(h,{sx:{overflow:"hidden",pl:p.spacing(p.custom.padding.sm),minWidth:67,flex:1,"&:last-child":{pb:0}},children:i(r,{gap:p.spacing(p.custom.margin.xs),children:i(y,{title:n,maxLines:1})})})]})}:{sx:{height:"100%"},children:t(m,{component:"div",onClick:e,disableHoverStyle:!0,sx:{height:"inherit",display:"flex",flexDirection:"column",justifyContent:"flex-start",alignItems:"flex-start"},children:[i(c,{"data-id":"image-container",sx:{width:"100%"},children:i(x,{viewType:a,children:i(s,{name:"add"})})}),i(h,{children:i(y,{title:n,maxLines:2})})]})})};export{C as P,B as a,k as b,v as c};
|