@rocket.chat/fuselage 0.64.0 → 0.65.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"fuselage.development.js","mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM,IAAqC;AAC3C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,sCAAsC;AACtC;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,2CAA2C,0BAA0B;AACrE;AACA;AACA;;AAEA,2BAA2B;AAC3B;AACA;AACA;;AAEA;;;;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;;;AAIb,IAAI,IAAqC;AACzC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2EAA2E;AAC3E;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD;;AAEjD;AACA;AACA;AACA,kDAAkD;;AAElD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iBAAiB;AACjB,sBAAsB;AACtB,uBAAuB;AACvB,uBAAuB;AACvB,eAAe;AACf,kBAAkB;AAClB,gBAAgB;AAChB,YAAY;AACZ,YAAY;AACZ,cAAc;AACd,gBAAgB;AAChB,kBAAkB;AAClB,gBAAgB;AAChB,mBAAmB;AACnB,wBAAwB;AACxB,yBAAyB;AACzB,yBAAyB;AACzB,iBAAiB;AACjB,oBAAoB;AACpB,kBAAkB;AAClB,cAAc;AACd,cAAc;AACd,gBAAgB;AAChB,kBAAkB;AAClB,oBAAoB;AACpB,kBAAkB;AAClB,0BAA0B;AAC1B,cAAc;AACd,GAAG;AACH;;;;;;;;;;;ACpLa;;AAEb,IAAI,KAAqC,EAAE;AAAA,EAE1C,CAAC;AACF,EAAE,oIAAyD;AAC3D;;;;;;;;;;;ACNa;AACb,8CAA6C,EAAE,aAAa,EAAC;AAC7D;AACA,cAAc,mBAAO,CAAC,oBAAO;AAC7B,iBAAiB,mBAAO,CAAC,sDAAU;AACnC;AACA,4BAA4B;AAC5B,2BAA2B;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,kBAAe;;;;;;;;;;;ACzBf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb,IAAI,IAAqC;AACzC;AACA;;AAEA,YAAY,mBAAO,CAAC,oBAAO;;AAE3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,iGAAiG,eAAe;AAChH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA,KAAK,GAAG;;AAER,kDAAkD;AAClD;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,4BAA4B;AAC5B;AACA,qCAAqC;;AAErC,gCAAgC;AAChC;AACA;;AAEA,gCAAgC;;AAEhC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;;;AAGJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,EAAE;;;AAGF;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC;;AAEvC;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,sBAAsB;AACtB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,iCAAiC;AACjC;AACA,SAAS;AACT,2BAA2B;AAC3B;AACA,SAAS;AACT,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,2DAA2D;;AAE3D;AACA;;AAEA;AACA,yDAAyD;AACzD;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;;AAGT;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA,QAAQ;AACR;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,kBAAkB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;;AAEA;AACA;AACA,gFAAgF;AAChF;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kBAAkB;;;AAGlB;AACA;AACA,cAAc;AACd;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;;;AAGJ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,8BAA8B;AAC9B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,2HAA2H;AAC3H;AACA;AACA;;AAEA;AACA,UAAU;AACV;AACA;;AAEA;AACA;;AAEA,oEAAoE;;AAEpE;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC;;AAEjC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wCAAwC;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,eAAe;AAC1B,WAAW,GAAG;AACd,WAAW,GAAG;AACd;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;;AAER;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB;;AAEA;AACA;AACA,kBAAkB;;AAElB;AACA;AACA,oBAAoB;AACpB,2DAA2D,UAAU;AACrE,yBAAyB,UAAU;AACnC;AACA,aAAa,UAAU;AACvB;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,SAAS;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,6DAA6D;AAC7D;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA,sBAAsB,iBAAiB;AACvC;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN,4CAA4C;;AAE5C;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA,oBAAoB,iBAAiB;AACrC;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,8CAA8C;AAC9C;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;;AAEA,0DAA0D;AAC1D;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA,4BAA4B,qBAAqB;AACjD;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ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ACAA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;UENA;UACA;UACA;UACA","sources":["webpack://RocketChatFuselage/webpack/universalModuleDefinition","webpack://RocketChatFuselage/../../node_modules/invariant/browser.js","webpack://RocketChatFuselage/../../node_modules/react-is/cjs/react-is.development.js","webpack://RocketChatFuselage/../../node_modules/react-is/index.js","webpack://RocketChatFuselage/../../node_modules/react-keyed-flatten-children/index.js","webpack://RocketChatFuselage/../../node_modules/react/cjs/react-jsx-runtime.development.js","webpack://RocketChatFuselage/../../node_modules/react/jsx-runtime.js","webpack://RocketChatFuselage/./src/Theme.ts","webpack://RocketChatFuselage/./src/components/Accordion/Accordion.tsx","webpack://RocketChatFuselage/./src/components/Accordion/AccordionItem.tsx","webpack://RocketChatFuselage/./src/components/Accordion/index.ts","webpack://RocketChatFuselage/./src/components/AnimatedVisibility/AnimatedVisibility.tsx","webpack://RocketChatFuselage/./src/components/AnimatedVisibility/index.ts","webpack://RocketChatFuselage/./src/components/AudioPlayer/AudioPlayer.tsx","webpack://RocketChatFuselage/./src/components/AudioPlayer/index.ts","webpack://RocketChatFuselage/./src/components/AutoComplete/AutoComplete.tsx","webpack://RocketChatFuselage/./src/components/AutoComplete/index.ts","webpack://RocketChatFuselage/./src/components/Avatar/Avatar.tsx","webpack://RocketChatFuselage/./src/components/Avatar/AvatarContainer.tsx","webpack://RocketChatFuselage/./src/components/Avatar/AvatarStack.tsx","webpack://RocketChatFuselage/./src/components/Avatar/index.ts","webpack://RocketChatFuselage/./src/components/Badge/Badge.tsx","webpack://RocketChatFuselage/./src/components/Badge/index.tsx","webpack://RocketChatFuselage/./src/components/Banner/Banner.tsx","webpack://RocketChatFuselage/./src/components/Banner/index.ts","webpack://RocketChatFuselage/./src/components/Box/Box.tsx","webpack://RocketChatFuselage/./src/components/Box/BoxTransforms.ts","webpack://RocketChatFuselage/./src/components/Box/StylingBox.tsx","webpack://RocketChatFuselage/./src/components/Box/index.ts","webpack://RocketChatFuselage/./src/components/Box/stylingProps.ts","webpack://RocketChatFuselage/./src/components/Box/useStylingProps.ts","webpack://RocketChatFuselage/./src/components/Box/withBoxStyling.tsx","webpack://RocketChatFuselage/./src/components/Bubble/Bubble.tsx","webpack://RocketChatFuselage/./src/components/Bubble/BubbleButton.tsx","webpack://RocketChatFuselage/./src/components/Bubble/BubbleItem.tsx","webpack://RocketChatFuselage/./src/components/Bubble/index.ts","webpack://RocketChatFuselage/./src/components/Button/ActionButton.tsx","webpack://RocketChatFuselage/./src/components/Button/Button.tsx","webpack://RocketChatFuselage/./src/components/Button/IconButton.tsx","webpack://RocketChatFuselage/./src/components/Button/index.ts","webpack://RocketChatFuselage/./src/components/ButtonGroup/ButtonGroup.tsx","webpack://RocketChatFuselage/./src/components/ButtonGroup/index.ts","webpack://RocketChatFuselage/./src/components/Callout/Callout.tsx","webpack://RocketChatFuselage/./src/components/Callout/index.tsx","webpack://RocketChatFuselage/./src/components/Card/Card.tsx","webpack://RocketChatFuselage/./src/components/Card/CardBody.tsx","webpack://RocketChatFuselage/./src/components/Card/CardCol.tsx","webpack://RocketChatFuselage/./src/components/Card/CardControls.tsx","webpack://RocketChatFuselage/./src/components/Card/CardHeader.tsx","webpack://RocketChatFuselage/./src/components/Card/CardRow.tsx","webpack://RocketChatFuselage/./src/components/Card/CardTitle.tsx","webpack://RocketChatFuselage/./src/components/Card/index.ts","webpack://RocketChatFuselage/./src/components/CardGrid/CardGrid.tsx","webpack://RocketChatFuselage/./src/components/CardGrid/index.ts","webpack://RocketChatFuselage/./src/components/CardGroup/CardGroup.tsx","webpack://RocketChatFuselage/./src/components/CardGroup/index.ts","webpack://RocketChatFuselage/./src/components/CheckBox/CheckBox.tsx","webpack://RocketChatFuselage/./src/components/CheckBox/index.ts","webpack://RocketChatFuselage/./src/components/Chevron/Chevron.tsx","webpack://RocketChatFuselage/./src/components/Chevron/index.tsx","webpack://RocketChatFuselage/./src/components/Chip/Chip.tsx","webpack://RocketChatFuselage/./src/components/Chip/index.ts","webpack://RocketChatFuselage/./src/components/CodeSnippet/CodeSnippet.tsx","webpack://RocketChatFuselage/./src/components/CodeSnippet/index.tsx","webpack://RocketChatFuselage/./src/components/Contextualbar/Contextualbar.tsx","webpack://RocketChatFuselage/./src/components/Contextualbar/ContextualbarAction.tsx","webpack://RocketChatFuselage/./src/components/Contextualbar/ContextualbarActions.tsx","webpack://RocketChatFuselage/./src/components/Contextualbar/ContextualbarButton.tsx","webpack://RocketChatFuselage/./src/components/Contextualbar/ContextualbarContent.tsx","webpack://RocketChatFuselage/./src/components/Contextualbar/ContextualbarEmptyContent.tsx","webpack://RocketChatFuselage/./src/components/Contextualbar/ContextualbarFooter.tsx","webpack://RocketChatFuselage/./src/components/Contextualbar/ContextualbarHeader.tsx","webpack://RocketChatFuselage/./src/components/Contextualbar/ContextualbarIcon.tsx","webpack://RocketChatFuselage/./src/components/Contextualbar/ContextualbarSection.tsx","webpack://RocketChatFuselage/./src/components/Contextualbar/ContextualbarSkeleton.tsx","webpack://RocketChatFuselage/./src/components/Contextualbar/ContextualbarTitle.tsx","webpack://RocketChatFuselage/./src/components/Contextualbar/index.ts","webpack://RocketChatFuselage/./src/components/ContextualbarV2/Contextualbar.tsx","webpack://RocketChatFuselage/./src/components/ContextualbarV2/ContextualbarAction.tsx","webpack://RocketChatFuselage/./src/components/ContextualbarV2/ContextualbarActions.tsx","webpack://RocketChatFuselage/./src/components/ContextualbarV2/ContextualbarButton.tsx","webpack://RocketChatFuselage/./src/components/ContextualbarV2/ContextualbarContent.tsx","webpack://RocketChatFuselage/./src/components/ContextualbarV2/ContextualbarEmptyContent.tsx","webpack://RocketChatFuselage/./src/components/ContextualbarV2/ContextualbarFooter.tsx","webpack://RocketChatFuselage/./src/components/ContextualbarV2/ContextualbarHeader.tsx","webpack://RocketChatFuselage/./src/components/ContextualbarV2/ContextualbarIcon.tsx","webpack://RocketChatFuselage/./src/components/ContextualbarV2/ContextualbarSection.tsx","webpack://RocketChatFuselage/./src/components/ContextualbarV2/ContextualbarSkeleton.tsx","webpack://RocketChatFuselage/./src/components/ContextualbarV2/ContextualbarTitle.tsx","webpack://RocketChatFuselage/./src/components/ContextualbarV2/index.ts","webpack://RocketChatFuselage/./src/components/Divider/Divider.tsx","webpack://RocketChatFuselage/./src/components/Divider/index.tsx","webpack://RocketChatFuselage/./src/components/Dropdown/Dropdown.tsx","webpack://RocketChatFuselage/./src/components/Dropdown/DropdownDesktop.tsx","webpack://RocketChatFuselage/./src/components/Dropdown/DropdownDesktopWrapper.tsx","webpack://RocketChatFuselage/./src/components/Dropdown/DropdownMobile.tsx","webpack://RocketChatFuselage/./src/components/Dropdown/index.tsx","webpack://RocketChatFuselage/./src/components/EmailInput/EmailInput.tsx","webpack://RocketChatFuselage/./src/components/EmailInput/index.tsx","webpack://RocketChatFuselage/./src/components/Field/Field.tsx","webpack://RocketChatFuselage/./src/components/Field/FieldDescription.tsx","webpack://RocketChatFuselage/./src/components/Field/FieldError.tsx","webpack://RocketChatFuselage/./src/components/Field/FieldHint.tsx","webpack://RocketChatFuselage/./src/components/Field/FieldLabel.tsx","webpack://RocketChatFuselage/./src/components/Field/FieldLabelInfo.tsx","webpack://RocketChatFuselage/./src/components/Field/FieldLink.tsx","webpack://RocketChatFuselage/./src/components/Field/FieldRow.tsx","webpack://RocketChatFuselage/./src/components/Field/index.tsx","webpack://RocketChatFuselage/./src/components/FieldGroup/FieldGroup.tsx","webpack://RocketChatFuselage/./src/components/FieldGroup/index.ts","webpack://RocketChatFuselage/./src/components/Flex/FlexContainer.tsx","webpack://RocketChatFuselage/./src/components/Flex/FlexItem.tsx","webpack://RocketChatFuselage/./src/components/Flex/index.ts","webpack://RocketChatFuselage/./src/components/FramedIcon/FramedIcon.tsx","webpack://RocketChatFuselage/./src/components/FramedIcon/index.ts","webpack://RocketChatFuselage/./src/components/Grid/Grid.tsx","webpack://RocketChatFuselage/./src/components/Grid/GridItem.tsx","webpack://RocketChatFuselage/./src/components/Grid/index.ts","webpack://RocketChatFuselage/./src/components/Icon/Icon.tsx","webpack://RocketChatFuselage/./src/components/Icon/index.ts","webpack://RocketChatFuselage/./src/components/InputBox/Addon.tsx","webpack://RocketChatFuselage/./src/components/InputBox/Input.tsx","webpack://RocketChatFuselage/./src/components/InputBox/InputBox.tsx","webpack://RocketChatFuselage/./src/components/InputBox/InputBoxSkeleton.tsx","webpack://RocketChatFuselage/./src/components/InputBox/Option.tsx","webpack://RocketChatFuselage/./src/components/InputBox/Placeholder.tsx","webpack://RocketChatFuselage/./src/components/InputBox/Wrapper.tsx","webpack://RocketChatFuselage/./src/components/InputBox/index.ts","webpack://RocketChatFuselage/./src/components/Label/Label.tsx","webpack://RocketChatFuselage/./src/components/Label/LabelInfo.tsx","webpack://RocketChatFuselage/./src/components/Label/index.tsx","webpack://RocketChatFuselage/./src/components/Margins/Margins.tsx","webpack://RocketChatFuselage/./src/components/Margins/index.ts","webpack://RocketChatFuselage/./src/components/Menu/Menu.tsx","webpack://RocketChatFuselage/./src/components/Menu/V2/Menu.tsx","webpack://RocketChatFuselage/./src/components/Menu/V2/MenuDropdown.tsx","webpack://RocketChatFuselage/./src/components/Menu/V2/MenuItem.tsx","webpack://RocketChatFuselage/./src/components/Menu/V2/MenuOption.tsx","webpack://RocketChatFuselage/./src/components/Menu/V2/MenuPopover.tsx","webpack://RocketChatFuselage/./src/components/Menu/V2/MenuSection.tsx","webpack://RocketChatFuselage/./src/components/Menu/V2/helpers/helpers.ts","webpack://RocketChatFuselage/./src/components/Menu/V2/index.ts","webpack://RocketChatFuselage/./src/components/Menu/V2/stately/MenuItem.tsx","webpack://RocketChatFuselage/./src/components/Menu/V2/stately/MenuSection.tsx","webpack://RocketChatFuselage/./src/components/Menu/index.ts","webpack://RocketChatFuselage/./src/components/Message/Message.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageBlock.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageBody.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageContainer.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageContainerFixed.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageDivider/MessageDivider.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageDivider/index.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageEmoji.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageEmojiBase.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageGenericPreview/MessageGenericPreview.styles.scss?0dd1","webpack://RocketChatFuselage/./src/components/Message/MessageGenericPreview/MessageGenericPreview.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageGenericPreview/MessageGenericPreviewContent.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageGenericPreview/MessageGenericPreviewCoverImage.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageGenericPreview/MessageGenericPreviewDescription.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageGenericPreview/MessageGenericPreviewFooter.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageGenericPreview/MessageGenericPreviewIcon.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageGenericPreview/MessageGenericPreviewImage.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageGenericPreview/MessageGenericPreviewThumb.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageGenericPreview/MessageGenericPreviewTitle.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageGenericPreview/index.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageHeader.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageHighlight.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageLeftContainer.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageMetrics/MessageMetrics.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageMetrics/MessageMetricsContentItem.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageMetrics/MessageMetricsFollowing.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageMetrics/MessageMetricsItem/MessageMetricsItem.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageMetrics/MessageMetricsItem/MessageMetricsItemAvatarRow.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageMetrics/MessageMetricsItem/MessageMetricsItemAvatarRowContent.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageMetrics/MessageMetricsItem/MessageMetricsItemIcon.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageMetrics/MessageMetricsItem/MessageMetricsItemLabel.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageMetrics/MessageMetricsItem/index.ts","webpack://RocketChatFuselage/./src/components/Message/MessageMetrics/MessageMetricsReply.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageMetrics/index.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageName.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageNameContainer.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageReactions/MessageReaction.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageReactions/MessageReactionAction.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageReactions/MessageReactionCounter.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageReactions/MessageReactionEmoji.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageReactions/MessageReactions.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageReactions/index.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageRole.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageRoles.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageStatusIndicator/MessageStatusIndicator.styles.scss?2a66","webpack://RocketChatFuselage/./src/components/Message/MessageStatusIndicator/MessageStatusIndicator.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageStatusIndicator/MessageStatusIndicatorItem.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageStatusIndicator/MessageStatusIndicatorText.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageStatusIndicator/MessageStatusPrivateIndicator.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageStatusIndicator/index.ts","webpack://RocketChatFuselage/./src/components/Message/MessageSystem/MessageSystem.styles.scss?bca4","webpack://RocketChatFuselage/./src/components/Message/MessageSystem/MessageSystem.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageSystem/MessageSystemBlock.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageSystem/MessageSystemBody.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageSystem/MessageSystemContainer.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageSystem/MessageSystemName.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageSystem/MessageSystemTimestamp.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageSystem/index.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageTimestamp.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageToolbar/MessageToolbar.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageToolbar/MessageToolbarItem.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageToolbar/MessageToolbarWrapper.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageToolbar/index.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageUsername.tsx","webpack://RocketChatFuselage/./src/components/Message/ThreadMessage/ThreadMessage.tsx","webpack://RocketChatFuselage/./src/components/Message/ThreadMessage/ThreadMessageBody.tsx","webpack://RocketChatFuselage/./src/components/Message/ThreadMessage/ThreadMessageContainer.tsx","webpack://RocketChatFuselage/./src/components/Message/ThreadMessage/ThreadMessageEmoji.tsx","webpack://RocketChatFuselage/./src/components/Message/ThreadMessage/ThreadMessageFollow.tsx","webpack://RocketChatFuselage/./src/components/Message/ThreadMessage/ThreadMessageIcon.tsx","webpack://RocketChatFuselage/./src/components/Message/ThreadMessage/ThreadMessageIconThread.tsx","webpack://RocketChatFuselage/./src/components/Message/ThreadMessage/ThreadMessageOrigin.tsx","webpack://RocketChatFuselage/./src/components/Message/ThreadMessage/ThreadMessageRow.tsx","webpack://RocketChatFuselage/./src/components/Message/ThreadMessage/ThreadMessageUnfollow.tsx","webpack://RocketChatFuselage/./src/components/Message/ThreadMessage/index.tsx","webpack://RocketChatFuselage/./src/components/Message/index.tsx","webpack://RocketChatFuselage/./src/components/Modal/Modal.tsx","webpack://RocketChatFuselage/./src/components/Modal/ModalBackdrop.tsx","webpack://RocketChatFuselage/./src/components/Modal/ModalClose.tsx","webpack://RocketChatFuselage/./src/components/Modal/ModalContent.tsx","webpack://RocketChatFuselage/./src/components/Modal/ModalFooter.tsx","webpack://RocketChatFuselage/./src/components/Modal/ModalFooterAnnotation.tsx","webpack://RocketChatFuselage/./src/components/Modal/ModalFooterControllers.tsx","webpack://RocketChatFuselage/./src/components/Modal/ModalHeader.tsx","webpack://RocketChatFuselage/./src/components/Modal/ModalHeaderText.tsx","webpack://RocketChatFuselage/./src/components/Modal/ModalHeroImage.tsx","webpack://RocketChatFuselage/./src/components/Modal/ModalIcon.tsx","webpack://RocketChatFuselage/./src/components/Modal/ModalTagline.tsx","webpack://RocketChatFuselage/./src/components/Modal/ModalThumb.tsx","webpack://RocketChatFuselage/./src/components/Modal/ModalTitle.tsx","webpack://RocketChatFuselage/./src/components/Modal/index.ts","webpack://RocketChatFuselage/./src/components/MultiSelect/MultiSelect.tsx","webpack://RocketChatFuselage/./src/components/MultiSelect/MultiSelectAnchor.tsx","webpack://RocketChatFuselage/./src/components/MultiSelect/MultiSelectFiltered.tsx","webpack://RocketChatFuselage/./src/components/MultiSelect/MultiSelectFilteredAnchor.tsx","webpack://RocketChatFuselage/./src/components/MultiSelect/SelectedOptions.tsx","webpack://RocketChatFuselage/./src/components/MultiSelect/index.ts","webpack://RocketChatFuselage/./src/components/NavBar/NavBar.tsx","webpack://RocketChatFuselage/./src/components/NavBar/NavBarDivider.tsx","webpack://RocketChatFuselage/./src/components/NavBar/NavBarGroup.tsx","webpack://RocketChatFuselage/./src/components/NavBar/NavBarItem.tsx","webpack://RocketChatFuselage/./src/components/NavBar/NavBarSection.tsx","webpack://RocketChatFuselage/./src/components/NavBar/index.ts","webpack://RocketChatFuselage/./src/components/NumberInput/NumberInput.tsx","webpack://RocketChatFuselage/./src/components/NumberInput/index.tsx","webpack://RocketChatFuselage/./src/components/Option/CheckOption.tsx","webpack://RocketChatFuselage/./src/components/Option/Option.tsx","webpack://RocketChatFuselage/./src/components/Option/OptionAvatar.tsx","webpack://RocketChatFuselage/./src/components/Option/OptionColumn.tsx","webpack://RocketChatFuselage/./src/components/Option/OptionContent.tsx","webpack://RocketChatFuselage/./src/components/Option/OptionDescription.tsx","webpack://RocketChatFuselage/./src/components/Option/OptionDescriptionBlock.tsx","webpack://RocketChatFuselage/./src/components/Option/OptionDivider.tsx","webpack://RocketChatFuselage/./src/components/Option/OptionHeader.tsx","webpack://RocketChatFuselage/./src/components/Option/OptionIcon.tsx","webpack://RocketChatFuselage/./src/components/Option/OptionInput.tsx","webpack://RocketChatFuselage/./src/components/Option/OptionMenu.tsx","webpack://RocketChatFuselage/./src/components/Option/OptionSkeleton.tsx","webpack://RocketChatFuselage/./src/components/Option/OptionTitle.tsx","webpack://RocketChatFuselage/./src/components/Option/index.tsx","webpack://RocketChatFuselage/./src/components/Options/Options.tsx","webpack://RocketChatFuselage/./src/components/Options/index.ts","webpack://RocketChatFuselage/./src/components/Options/useCursor.ts","webpack://RocketChatFuselage/./src/components/Options/useVisible.ts","webpack://RocketChatFuselage/./src/components/OptionsPaginated/OptionsPaginated.tsx","webpack://RocketChatFuselage/./src/components/OptionsPaginated/index.ts","webpack://RocketChatFuselage/./src/components/PaginatedSelect/PaginatedMultiSelect.tsx","webpack://RocketChatFuselage/./src/components/PaginatedSelect/PaginatedMultiSelectFiltered.tsx","webpack://RocketChatFuselage/./src/components/PaginatedSelect/PaginatedSelect.tsx","webpack://RocketChatFuselage/./src/components/PaginatedSelect/PaginatedSelectFiltered.tsx","webpack://RocketChatFuselage/./src/components/PaginatedSelect/PaginatedSelectWrapper.tsx","webpack://RocketChatFuselage/./src/components/PaginatedSelect/index.ts","webpack://RocketChatFuselage/./src/components/Pagination/Pagination.tsx","webpack://RocketChatFuselage/./src/components/Pagination/index.ts","webpack://RocketChatFuselage/./src/components/PaletteStyleTag/PaletteStyleTag.tsx","webpack://RocketChatFuselage/./src/components/PaletteStyleTag/helpers/convertToCss.ts","webpack://RocketChatFuselage/./src/components/PaletteStyleTag/helpers/getPalette.ts","webpack://RocketChatFuselage/./src/components/PaletteStyleTag/hooks/useCreateStyleContainer.ts","webpack://RocketChatFuselage/./src/components/PaletteStyleTag/index.ts","webpack://RocketChatFuselage/./src/components/PaletteStyleTag/lib/themePalettes.ts","webpack://RocketChatFuselage/./src/components/PasswordInput/PasswordInput.tsx","webpack://RocketChatFuselage/./src/components/PasswordInput/index.ts","webpack://RocketChatFuselage/./src/components/Popover/Popover.tsx","webpack://RocketChatFuselage/./src/components/Popover/index.ts","webpack://RocketChatFuselage/./src/components/Position/Position.tsx","webpack://RocketChatFuselage/./src/components/Position/index.ts","webpack://RocketChatFuselage/./src/components/PositionAnimated/PositionAnimated.tsx","webpack://RocketChatFuselage/./src/components/PositionAnimated/index.ts","webpack://RocketChatFuselage/./src/components/ProgressBar/ProgressBar.tsx","webpack://RocketChatFuselage/./src/components/ProgressBar/index.tsx","webpack://RocketChatFuselage/./src/components/RadioButton/RadioButton.tsx","webpack://RocketChatFuselage/./src/components/RadioButton/index.ts","webpack://RocketChatFuselage/./src/components/Scrollable/Scrollable.tsx","webpack://RocketChatFuselage/./src/components/Scrollable/index.ts","webpack://RocketChatFuselage/./src/components/SearchInput/SearchInput.tsx","webpack://RocketChatFuselage/./src/components/SearchInput/index.tsx","webpack://RocketChatFuselage/./src/components/Select/Listbox.tsx","webpack://RocketChatFuselage/./src/components/Select/Select.tsx","webpack://RocketChatFuselage/./src/components/Select/SelectAddon.tsx","webpack://RocketChatFuselage/./src/components/Select/SelectAria.tsx","webpack://RocketChatFuselage/./src/components/Select/SelectFiltered.tsx","webpack://RocketChatFuselage/./src/components/Select/SelectFilteredAnchor.tsx","webpack://RocketChatFuselage/./src/components/Select/SelectFocus.tsx","webpack://RocketChatFuselage/./src/components/Select/SelectLegacy.tsx","webpack://RocketChatFuselage/./src/components/Select/SelectTrigger.tsx","webpack://RocketChatFuselage/./src/components/Select/index.ts","webpack://RocketChatFuselage/./src/components/SelectInput/SelectInput.tsx","webpack://RocketChatFuselage/./src/components/SelectInput/index.ts","webpack://RocketChatFuselage/./src/components/Sidebar/Item.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/Section.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/SidebarActions.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/SidebarBanner.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/SidebarDivider.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/SidebarFooter.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/TopBar/TopBar.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/TopBar/TopBarAction.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/TopBar/TopBarActions.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/TopBar/TopBarSection.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/TopBar/TopBarTitle.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/TopBar/TopBarToolBox.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/TopBar/TopBarV2.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/TopBar/TopBarWrapper.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/TopBar/index.ts","webpack://RocketChatFuselage/./src/components/Sidebar/index.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/Sidebar.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarAccordion.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarAccordionItem.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarAction.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarActions.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarBanner.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarButtonGroup.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarCollapseGroup.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarDivider.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarFooter/SidebarFooter.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarFooter/SidebarFooterContent.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarFooter/index.ts","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarGroupTitle.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/SidebarItem.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/SidebarItemAction.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/SidebarItemAvatarWrapper.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/SidebarItemBadge.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/SidebarItemCol.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/SidebarItemContent.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/SidebarItemIcon.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/SidebarItemMenu.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/SidebarItemRow.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/SidebarItemStatusBullet.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/SidebarItemTimestamp.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/SidebarItemTitle.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/SidebarListItem.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/index.ts","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarLink.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarMedia/SidebarMedia.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarMedia/SidebarMediaController.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarMedia/SidebarMediaTitle.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarMedia/index.ts","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarSection.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/hooks/useCollapse.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/index.tsx","webpack://RocketChatFuselage/./src/components/Sidepanel/Sidepanel.tsx","webpack://RocketChatFuselage/./src/components/Sidepanel/SidepanelDivider.tsx","webpack://RocketChatFuselage/./src/components/Sidepanel/SidepanelHeader.tsx","webpack://RocketChatFuselage/./src/components/Sidepanel/SidepanelHeaderTitle.tsx","webpack://RocketChatFuselage/./src/components/Sidepanel/SidepanelList.tsx","webpack://RocketChatFuselage/./src/components/Sidepanel/SidepanelListItem.tsx","webpack://RocketChatFuselage/./src/components/Sidepanel/SidepanelSection.tsx","webpack://RocketChatFuselage/./src/components/Sidepanel/SidepanelSectionAction.tsx","webpack://RocketChatFuselage/./src/components/Sidepanel/index.ts","webpack://RocketChatFuselage/./src/components/Skeleton/Skeleton.tsx","webpack://RocketChatFuselage/./src/components/Skeleton/index.tsx","webpack://RocketChatFuselage/./src/components/Slider/Slider.tsx","webpack://RocketChatFuselage/./src/components/Slider/SliderHead.tsx","webpack://RocketChatFuselage/./src/components/Slider/SliderThumb.tsx","webpack://RocketChatFuselage/./src/components/Slider/SliderTrack.tsx","webpack://RocketChatFuselage/./src/components/Slider/index.tsx","webpack://RocketChatFuselage/./src/components/States/States.tsx","webpack://RocketChatFuselage/./src/components/States/StatesAction.tsx","webpack://RocketChatFuselage/./src/components/States/StatesActions.tsx","webpack://RocketChatFuselage/./src/components/States/StatesIcon.tsx","webpack://RocketChatFuselage/./src/components/States/StatesLink.tsx","webpack://RocketChatFuselage/./src/components/States/StatesSubtitle.tsx","webpack://RocketChatFuselage/./src/components/States/StatesSuggestion.tsx","webpack://RocketChatFuselage/./src/components/States/StatesSuggestionList.tsx","webpack://RocketChatFuselage/./src/components/States/StatesSuggestionListItem.tsx","webpack://RocketChatFuselage/./src/components/States/StatesSuggestionText.tsx","webpack://RocketChatFuselage/./src/components/States/StatesTitle.tsx","webpack://RocketChatFuselage/./src/components/States/index.tsx","webpack://RocketChatFuselage/./src/components/StatusBullet/StatusBullet.tsx","webpack://RocketChatFuselage/./src/components/StatusBullet/icons/Away.tsx","webpack://RocketChatFuselage/./src/components/StatusBullet/icons/Busy.tsx","webpack://RocketChatFuselage/./src/components/StatusBullet/icons/Disabled.tsx","webpack://RocketChatFuselage/./src/components/StatusBullet/icons/Loading.tsx","webpack://RocketChatFuselage/./src/components/StatusBullet/icons/Offline.tsx","webpack://RocketChatFuselage/./src/components/StatusBullet/icons/Online.tsx","webpack://RocketChatFuselage/./src/components/StatusBullet/index.tsx","webpack://RocketChatFuselage/./src/components/Table/Table.tsx","webpack://RocketChatFuselage/./src/components/Table/TableBody.tsx","webpack://RocketChatFuselage/./src/components/Table/TableCell.tsx","webpack://RocketChatFuselage/./src/components/Table/TableFoot.tsx","webpack://RocketChatFuselage/./src/components/Table/TableHead.tsx","webpack://RocketChatFuselage/./src/components/Table/TableRow.tsx","webpack://RocketChatFuselage/./src/components/Table/TableSelection/TableSelection.tsx","webpack://RocketChatFuselage/./src/components/Table/TableSelection/TableSelectionButton.tsx","webpack://RocketChatFuselage/./src/components/Table/TableSelection/TableSelectionButtonGroup.tsx","webpack://RocketChatFuselage/./src/components/Table/TableSelection/index.ts","webpack://RocketChatFuselage/./src/components/Table/index.ts","webpack://RocketChatFuselage/./src/components/Tabs/Tabs.tsx","webpack://RocketChatFuselage/./src/components/Tabs/TabsItem.tsx","webpack://RocketChatFuselage/./src/components/Tabs/index.tsx","webpack://RocketChatFuselage/./src/components/Tag/Tag.tsx","webpack://RocketChatFuselage/./src/components/Tag/index.tsx","webpack://RocketChatFuselage/./src/components/TelephoneInput/TelephoneInput.tsx","webpack://RocketChatFuselage/./src/components/TelephoneInput/index.tsx","webpack://RocketChatFuselage/./src/components/TextAreaInput/TextAreaInput.tsx","webpack://RocketChatFuselage/./src/components/TextAreaInput/index.ts","webpack://RocketChatFuselage/./src/components/TextInput/TextInput.tsx","webpack://RocketChatFuselage/./src/components/TextInput/index.tsx","webpack://RocketChatFuselage/./src/components/Throbber/Throbber.tsx","webpack://RocketChatFuselage/./src/components/Throbber/index.tsx","webpack://RocketChatFuselage/./src/components/Tile/Tile.tsx","webpack://RocketChatFuselage/./src/components/Tile/index.ts","webpack://RocketChatFuselage/./src/components/ToastBar/ToastBar.tsx","webpack://RocketChatFuselage/./src/components/ToastBar/index.ts","webpack://RocketChatFuselage/./src/components/ToggleSwitch/ToggleSwitch.tsx","webpack://RocketChatFuselage/./src/components/ToggleSwitch/index.tsx","webpack://RocketChatFuselage/./src/components/Tooltip/Tooltip.tsx","webpack://RocketChatFuselage/./src/components/Tooltip/index.ts","webpack://RocketChatFuselage/./src/components/UrlInput/UrlInput.tsx","webpack://RocketChatFuselage/./src/components/UrlInput/index.ts","webpack://RocketChatFuselage/./src/components/index.ts","webpack://RocketChatFuselage/./src/getPaletteColor.ts","webpack://RocketChatFuselage/./src/helpers/WithErrorWrapper.tsx","webpack://RocketChatFuselage/./src/helpers/appendClassName.ts","webpack://RocketChatFuselage/./src/helpers/composeClassNames.ts","webpack://RocketChatFuselage/./src/helpers/exhaustiveCheck.ts","webpack://RocketChatFuselage/./src/helpers/flattenChildren.ts","webpack://RocketChatFuselage/./src/helpers/fromCamelToKebab.ts","webpack://RocketChatFuselage/./src/helpers/isForwardRefType.ts","webpack://RocketChatFuselage/./src/helpers/patchChildren.ts","webpack://RocketChatFuselage/./src/helpers/prependClassName.ts","webpack://RocketChatFuselage/./src/helpers/prevent.ts","webpack://RocketChatFuselage/./src/helpers/shallowEqual.ts","webpack://RocketChatFuselage/./src/helpers/toCSSValue.ts","webpack://RocketChatFuselage/./src/hooks/useArrayLikeClassNameProp.ts","webpack://RocketChatFuselage/./src/hooks/useBoxOnlyProps.ts","webpack://RocketChatFuselage/./src/hooks/useStyle.ts","webpack://RocketChatFuselage/./src/index.scss?d9c9","webpack://RocketChatFuselage/./src/index.ts","webpack://RocketChatFuselage/./src/styleTokens.ts","webpack://RocketChatFuselage/external umd \"@rocket.chat/css-in-js\"","webpack://RocketChatFuselage/external umd \"@rocket.chat/css-supports\"","webpack://RocketChatFuselage/external umd \"@rocket.chat/fuselage-hooks\"","webpack://RocketChatFuselage/external umd \"@rocket.chat/icons\"","webpack://RocketChatFuselage/external umd \"@rocket.chat/memo\"","webpack://RocketChatFuselage/external umd {\"commonjs\":\"react\",\"commonjs2\":\"react\",\"amd\":\"react\",\"root\":\"React\"}","webpack://RocketChatFuselage/external umd \"react-aria\"","webpack://RocketChatFuselage/external umd \"react-dom\"","webpack://RocketChatFuselage/external umd \"react-stately\"","webpack://RocketChatFuselage/external umd \"react-virtuoso\"","webpack://RocketChatFuselage/webpack/bootstrap","webpack://RocketChatFuselage/webpack/runtime/make namespace object","webpack://RocketChatFuselage/webpack/before-startup","webpack://RocketChatFuselage/webpack/startup","webpack://RocketChatFuselage/webpack/after-startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"@rocket.chat/css-in-js\"), require(\"@rocket.chat/css-supports\"), require(\"@rocket.chat/fuselage-hooks\"), require(\"@rocket.chat/icons\"), require(\"@rocket.chat/memo\"), require(\"react-aria\"), require(\"react-dom\"), require(\"react-stately\"), require(\"react-virtuoso\"), require(\"react\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"RocketChatFuselage\", [\"@rocket.chat/css-in-js\", \"@rocket.chat/css-supports\", \"@rocket.chat/fuselage-hooks\", \"@rocket.chat/icons\", \"@rocket.chat/memo\", \"react-aria\", \"react-dom\", \"react-stately\", \"react-virtuoso\", \"react\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"RocketChatFuselage\"] = factory(require(\"@rocket.chat/css-in-js\"), require(\"@rocket.chat/css-supports\"), require(\"@rocket.chat/fuselage-hooks\"), require(\"@rocket.chat/icons\"), require(\"@rocket.chat/memo\"), require(\"react-aria\"), require(\"react-dom\"), require(\"react-stately\"), require(\"react-virtuoso\"), require(\"react\"));\n\telse\n\t\troot[\"RocketChatFuselage\"] = factory(root[\"@rocket.chat/css-in-js\"], root[\"@rocket.chat/css-supports\"], root[\"@rocket.chat/fuselage-hooks\"], root[\"@rocket.chat/icons\"], root[\"@rocket.chat/memo\"], root[\"react-aria\"], root[\"react-dom\"], root[\"react-stately\"], root[\"react-virtuoso\"], root[\"React\"]);\n})(self, function(__WEBPACK_EXTERNAL_MODULE__rocket_chat_css_in_js__, __WEBPACK_EXTERNAL_MODULE__rocket_chat_css_supports__, __WEBPACK_EXTERNAL_MODULE__rocket_chat_fuselage_hooks__, __WEBPACK_EXTERNAL_MODULE__rocket_chat_icons__, __WEBPACK_EXTERNAL_MODULE__rocket_chat_memo__, __WEBPACK_EXTERNAL_MODULE_react_aria__, __WEBPACK_EXTERNAL_MODULE_react_dom__, __WEBPACK_EXTERNAL_MODULE_react_stately__, __WEBPACK_EXTERNAL_MODULE_react_virtuoso__, __WEBPACK_EXTERNAL_MODULE_react__) {\nreturn ","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar invariant = function(condition, format, a, b, c, d, e, f) {\n if (process.env.NODE_ENV !== 'production') {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error(\n 'Minified exception occurred; use the non-minified dev environment ' +\n 'for the full error message and additional helpful warnings.'\n );\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(\n format.replace(/%s/g, function() { return args[argIndex++]; })\n );\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\n\nmodule.exports = invariant;\n","/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/* Returns React children into an array, flattening fragments. */\nvar react_1 = require(\"react\");\nvar react_is_1 = require(\"react-is\");\nfunction flattenChildren(children, depth, keys) {\n if (depth === void 0) { depth = 0; }\n if (keys === void 0) { keys = []; }\n return react_1.Children.toArray(children).reduce(function (acc, node, nodeIndex) {\n if (react_is_1.isFragment(node)) {\n acc.push.apply(acc, flattenChildren(node.props.children, depth + 1, keys.concat(node.key || nodeIndex)));\n }\n else {\n if (react_1.isValidElement(node)) {\n acc.push(react_1.cloneElement(node, {\n key: keys.concat(String(node.key)).join('.')\n }));\n }\n else if (typeof node === \"string\" || typeof node === \"number\") {\n acc.push(node);\n }\n }\n return acc;\n }, []);\n}\nexports.default = flattenChildren;\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\nvar React = require('react');\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n if (maybeIterable === null || typeof maybeIterable !== 'object') {\n return null;\n }\n\n var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n if (typeof maybeIterator === 'function') {\n return maybeIterator;\n }\n\n return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n {\n {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n printWarning('error', format, args);\n }\n }\n}\n\nfunction printWarning(level, format, args) {\n // When changing this logic, you might want to also\n // update consoleWithStackDev.www.js as well.\n {\n var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n if (stack !== '') {\n format += '%s';\n args = args.concat([stack]);\n } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n var argsWithFormat = args.map(function (item) {\n return String(item);\n }); // Careful: RN currently depends on this prefix\n\n argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n Function.prototype.apply.call(console[level], console, argsWithFormat);\n }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n if (typeof type === 'string' || typeof type === 'function') {\n return true;\n } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {\n return true;\n }\n\n if (typeof type === 'object' && type !== null) {\n if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n // types supported by any Flight configuration anywhere since\n // we don't know which Flight build this will end up being used\n // with.\n type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n var displayName = outerType.displayName;\n\n if (displayName) {\n return displayName;\n }\n\n var functionName = innerType.displayName || innerType.name || '';\n return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n if (type == null) {\n // Host root, text node or just invalid type.\n return null;\n }\n\n {\n if (typeof type.tag === 'number') {\n error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n }\n }\n\n if (typeof type === 'function') {\n return type.displayName || type.name || null;\n }\n\n if (typeof type === 'string') {\n return type;\n }\n\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return 'Fragment';\n\n case REACT_PORTAL_TYPE:\n return 'Portal';\n\n case REACT_PROFILER_TYPE:\n return 'Profiler';\n\n case REACT_STRICT_MODE_TYPE:\n return 'StrictMode';\n\n case REACT_SUSPENSE_TYPE:\n return 'Suspense';\n\n case REACT_SUSPENSE_LIST_TYPE:\n return 'SuspenseList';\n\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n var context = type;\n return getContextName(context) + '.Consumer';\n\n case REACT_PROVIDER_TYPE:\n var provider = type;\n return getContextName(provider._context) + '.Provider';\n\n case REACT_FORWARD_REF_TYPE:\n return getWrappedName(type, type.render, 'ForwardRef');\n\n case REACT_MEMO_TYPE:\n var outerName = type.displayName || null;\n\n if (outerName !== null) {\n return outerName;\n }\n\n return getComponentNameFromType(type.type) || 'Memo';\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n return getComponentNameFromType(init(payload));\n } catch (x) {\n return null;\n }\n }\n\n // eslint-disable-next-line no-fallthrough\n }\n }\n\n return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n {\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n prevLog = console.log;\n prevInfo = console.info;\n prevWarn = console.warn;\n prevError = console.error;\n prevGroup = console.group;\n prevGroupCollapsed = console.groupCollapsed;\n prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n var props = {\n configurable: true,\n enumerable: true,\n value: disabledLog,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n info: props,\n log: props,\n warn: props,\n error: props,\n group: props,\n groupCollapsed: props,\n groupEnd: props\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n disabledDepth++;\n }\n}\nfunction reenableLogs() {\n {\n disabledDepth--;\n\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n var props = {\n configurable: true,\n enumerable: true,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n log: assign({}, props, {\n value: prevLog\n }),\n info: assign({}, props, {\n value: prevInfo\n }),\n warn: assign({}, props, {\n value: prevWarn\n }),\n error: assign({}, props, {\n value: prevError\n }),\n group: assign({}, props, {\n value: prevGroup\n }),\n groupCollapsed: assign({}, props, {\n value: prevGroupCollapsed\n }),\n groupEnd: assign({}, props, {\n value: prevGroupEnd\n })\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n if (disabledDepth < 0) {\n error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n }\n }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n {\n if (prefix === undefined) {\n // Extract the VM specific prefix used by each line.\n try {\n throw Error();\n } catch (x) {\n var match = x.stack.trim().match(/\\n( *(at )?)/);\n prefix = match && match[1] || '';\n }\n } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n return '\\n' + prefix + name;\n }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n // If something asked for a stack inside a fake render, it should get ignored.\n if ( !fn || reentry) {\n return '';\n }\n\n {\n var frame = componentFrameCache.get(fn);\n\n if (frame !== undefined) {\n return frame;\n }\n }\n\n var control;\n reentry = true;\n var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n Error.prepareStackTrace = undefined;\n var previousDispatcher;\n\n {\n previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n // for warnings.\n\n ReactCurrentDispatcher.current = null;\n disableLogs();\n }\n\n try {\n // This should throw.\n if (construct) {\n // Something should be setting the props in the constructor.\n var Fake = function () {\n throw Error();\n }; // $FlowFixMe\n\n\n Object.defineProperty(Fake.prototype, 'props', {\n set: function () {\n // We use a throwing setter instead of frozen or non-writable props\n // because that won't throw in a non-strict mode function.\n throw Error();\n }\n });\n\n if (typeof Reflect === 'object' && Reflect.construct) {\n // We construct a different control for this case to include any extra\n // frames added by the construct call.\n try {\n Reflect.construct(Fake, []);\n } catch (x) {\n control = x;\n }\n\n Reflect.construct(fn, [], Fake);\n } else {\n try {\n Fake.call();\n } catch (x) {\n control = x;\n }\n\n fn.call(Fake.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x) {\n control = x;\n }\n\n fn();\n }\n } catch (sample) {\n // This is inlined manually because closure doesn't do it for us.\n if (sample && control && typeof sample.stack === 'string') {\n // This extracts the first frame from the sample that isn't also in the control.\n // Skipping one frame that we assume is the frame that calls the two.\n var sampleLines = sample.stack.split('\\n');\n var controlLines = control.stack.split('\\n');\n var s = sampleLines.length - 1;\n var c = controlLines.length - 1;\n\n while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n // We expect at least one stack frame to be shared.\n // Typically this will be the root most one. However, stack frames may be\n // cut off due to maximum stack limits. In this case, one maybe cut off\n // earlier than the other. We assume that the sample is longer or the same\n // and there for cut off earlier. So we should find the root most frame in\n // the sample somewhere in the control.\n c--;\n }\n\n for (; s >= 1 && c >= 0; s--, c--) {\n // Next we find the first one that isn't the same which should be the\n // frame that called our sample function and the control.\n if (sampleLines[s] !== controlLines[c]) {\n // In V8, the first line is describing the message but other VMs don't.\n // If we're about to return the first line, and the control is also on the same\n // line, that's a pretty good indicator that our sample threw at same line as\n // the control. I.e. before we entered the sample frame. So we ignore this result.\n // This can happen if you passed a class to function component, or non-function.\n if (s !== 1 || c !== 1) {\n do {\n s--;\n c--; // We may still have similar intermediate frames from the construct call.\n // The next one that isn't the same should be our match though.\n\n if (c < 0 || sampleLines[s] !== controlLines[c]) {\n // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"<anonymous>\"\n // but we have a user-provided \"displayName\"\n // splice it in to make the stack more readable.\n\n\n if (fn.displayName && _frame.includes('<anonymous>')) {\n _frame = _frame.replace('<anonymous>', fn.displayName);\n }\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, _frame);\n }\n } // Return the line we found.\n\n\n return _frame;\n }\n } while (s >= 1 && c >= 0);\n }\n\n break;\n }\n }\n }\n } finally {\n reentry = false;\n\n {\n ReactCurrentDispatcher.current = previousDispatcher;\n reenableLogs();\n }\n\n Error.prepareStackTrace = previousPrepareStackTrace;\n } // Fallback to just using the name if we couldn't make it throw.\n\n\n var name = fn ? fn.displayName || fn.name : '';\n var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, syntheticFrame);\n }\n }\n\n return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n {\n return describeNativeComponentFrame(fn, false);\n }\n}\n\nfunction shouldConstruct(Component) {\n var prototype = Component.prototype;\n return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n if (type == null) {\n return '';\n }\n\n if (typeof type === 'function') {\n {\n return describeNativeComponentFrame(type, shouldConstruct(type));\n }\n }\n\n if (typeof type === 'string') {\n return describeBuiltInComponentFrame(type);\n }\n\n switch (type) {\n case REACT_SUSPENSE_TYPE:\n return describeBuiltInComponentFrame('Suspense');\n\n case REACT_SUSPENSE_LIST_TYPE:\n return describeBuiltInComponentFrame('SuspenseList');\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_FORWARD_REF_TYPE:\n return describeFunctionComponentFrame(type.render);\n\n case REACT_MEMO_TYPE:\n // Memo may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n // Lazy may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n } catch (x) {}\n }\n }\n }\n\n return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame.setExtraStackFrame(null);\n }\n }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n {\n // $FlowFixMe This is okay but Flow doesn't know it.\n var has = Function.call.bind(hasOwnProperty);\n\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n // eslint-disable-next-line react-internal/prod-error-codes\n var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');\n err.name = 'Invariant Violation';\n throw err;\n }\n\n error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n } catch (ex) {\n error$1 = ex;\n }\n\n if (error$1 && !(error$1 instanceof Error)) {\n setCurrentlyValidatingElement(element);\n\n error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);\n\n setCurrentlyValidatingElement(null);\n }\n\n if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error$1.message] = true;\n setCurrentlyValidatingElement(element);\n\n error('Failed %s type: %s', location, error$1.message);\n\n setCurrentlyValidatingElement(null);\n }\n }\n }\n }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n {\n // toStringTag is needed for namespaced types like Temporal.Instant\n var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n return type;\n }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n {\n try {\n testStringCoercion(value);\n return false;\n } catch (e) {\n return true;\n }\n }\n}\n\nfunction testStringCoercion(value) {\n // If you ended up here by following an exception call stack, here's what's\n // happened: you supplied an object or symbol value to React (as a prop, key,\n // DOM attribute, CSS property, string ref, etc.) and when React tried to\n // coerce it to a string using `'' + value`, an exception was thrown.\n //\n // The most common types that will cause this exception are `Symbol` instances\n // and Temporal objects like `Temporal.Instant`. But any object that has a\n // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n // exception. (Library authors do this to prevent users from using built-in\n // numeric operators like `+` or comparison operators like `>=` because custom\n // methods are needed to perform accurate arithmetic or comparison.)\n //\n // To fix the problem, coerce this object or symbol value to a string before\n // passing it to React. The most reliable way is usually `String(value)`.\n //\n // To find which value is throwing, check the browser or debugger console.\n // Before this exception was thrown, there should be `console.error` output\n // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n // problem and how that type was used: key, atrribute, input value prop, etc.\n // In most cases, this console output also shows the component and its\n // ancestor components where the exception happened.\n //\n // eslint-disable-next-line react-internal/safe-string-coercion\n return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n {\n if (willCoercionThrow(value)) {\n error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n }\n }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n key: true,\n ref: true,\n __self: true,\n __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n {\n if (hasOwnProperty.call(config, 'ref')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n {\n if (hasOwnProperty.call(config, 'key')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n {\n if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n if (!didWarnAboutStringRefs[componentName]) {\n error('Component \"%s\" contains the string ref \"%s\". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);\n\n didWarnAboutStringRefs[componentName] = true;\n }\n }\n }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingKey = function () {\n if (!specialPropKeyWarningShown) {\n specialPropKeyWarningShown = true;\n\n error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingKey.isReactWarning = true;\n Object.defineProperty(props, 'key', {\n get: warnAboutAccessingKey,\n configurable: true\n });\n }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingRef = function () {\n if (!specialPropRefWarningShown) {\n specialPropRefWarningShown = true;\n\n error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingRef.isReactWarning = true;\n Object.defineProperty(props, 'ref', {\n get: warnAboutAccessingRef,\n configurable: true\n });\n }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n var element = {\n // This tag allows us to uniquely identify this as a React Element\n $$typeof: REACT_ELEMENT_TYPE,\n // Built-in properties that belong on the element\n type: type,\n key: key,\n ref: ref,\n props: props,\n // Record the component responsible for creating this element.\n _owner: owner\n };\n\n {\n // The validation flag is currently mutative. We put it on\n // an external backing store so that we can freeze the whole object.\n // This can be replaced with a WeakMap once they are implemented in\n // commonly used development environments.\n element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n // the validation flag non-enumerable (where possible, which should\n // include every environment we run tests in), so the test framework\n // ignores it.\n\n Object.defineProperty(element._store, 'validated', {\n configurable: false,\n enumerable: false,\n writable: true,\n value: false\n }); // self and source are DEV only properties.\n\n Object.defineProperty(element, '_self', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: self\n }); // Two elements created in two different places should be considered\n // equal for testing purposes and therefore we hide it from enumeration.\n\n Object.defineProperty(element, '_source', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: source\n });\n\n if (Object.freeze) {\n Object.freeze(element.props);\n Object.freeze(element);\n }\n }\n\n return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n {\n var propName; // Reserved names are extracted\n\n var props = {};\n var key = null;\n var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n // issue if key is also explicitly declared (ie. <div {...props} key=\"Hi\" />\n // or <div key=\"Hi\" {...props} /> ). We want to deprecate key spread,\n // but as an intermediary step, we will use jsxDEV for everything except\n // <div {...props} key=\"Hi\" />, because we aren't currently able to tell if\n // key is explicitly declared to be undefined or not.\n\n if (maybeKey !== undefined) {\n {\n checkKeyStringCoercion(maybeKey);\n }\n\n key = '' + maybeKey;\n }\n\n if (hasValidKey(config)) {\n {\n checkKeyStringCoercion(config.key);\n }\n\n key = '' + config.key;\n }\n\n if (hasValidRef(config)) {\n ref = config.ref;\n warnIfStringRefCannotBeAutoConverted(config, self);\n } // Remaining properties are added to a new props object\n\n\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n props[propName] = config[propName];\n }\n } // Resolve default props\n\n\n if (type && type.defaultProps) {\n var defaultProps = type.defaultProps;\n\n for (propName in defaultProps) {\n if (props[propName] === undefined) {\n props[propName] = defaultProps[propName];\n }\n }\n }\n\n if (key || ref) {\n var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n if (key) {\n defineKeyPropWarningGetter(props, displayName);\n }\n\n if (ref) {\n defineRefPropWarningGetter(props, displayName);\n }\n }\n\n return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n }\n }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n }\n}\n\nfunction getDeclarationErrorAddendum() {\n {\n if (ReactCurrentOwner$1.current) {\n var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n if (name) {\n return '\\n\\nCheck the render method of `' + name + '`.';\n }\n }\n\n return '';\n }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n {\n if (source !== undefined) {\n var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n var lineNumber = source.lineNumber;\n return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n }\n\n return '';\n }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n {\n var info = getDeclarationErrorAddendum();\n\n if (!info) {\n var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n if (parentName) {\n info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n }\n }\n\n return info;\n }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n {\n if (!element._store || element._store.validated || element.key != null) {\n return;\n }\n\n element._store.validated = true;\n var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n return;\n }\n\n ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n // property, it may be the creator of the child that's responsible for\n // assigning it a key.\n\n var childOwner = '';\n\n if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n // Give the component that originally created this child.\n childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n }\n\n setCurrentlyValidatingElement$1(element);\n\n error('Each child in a list should have a unique \"key\" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);\n\n setCurrentlyValidatingElement$1(null);\n }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n {\n if (typeof node !== 'object') {\n return;\n }\n\n if (isArray(node)) {\n for (var i = 0; i < node.length; i++) {\n var child = node[i];\n\n if (isValidElement(child)) {\n validateExplicitKey(child, parentType);\n }\n }\n } else if (isValidElement(node)) {\n // This element was passed in a valid location.\n if (node._store) {\n node._store.validated = true;\n }\n } else if (node) {\n var iteratorFn = getIteratorFn(node);\n\n if (typeof iteratorFn === 'function') {\n // Entry iterators used to provide implicit keys,\n // but now we print a separate warning for them later.\n if (iteratorFn !== node.entries) {\n var iterator = iteratorFn.call(node);\n var step;\n\n while (!(step = iterator.next()).done) {\n if (isValidElement(step.value)) {\n validateExplicitKey(step.value, parentType);\n }\n }\n }\n }\n }\n }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n {\n var type = element.type;\n\n if (type === null || type === undefined || typeof type === 'string') {\n return;\n }\n\n var propTypes;\n\n if (typeof type === 'function') {\n propTypes = type.propTypes;\n } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n // Inner props are checked in the reconciler.\n type.$$typeof === REACT_MEMO_TYPE)) {\n propTypes = type.propTypes;\n } else {\n return;\n }\n\n if (propTypes) {\n // Intentionally inside to avoid triggering lazy initializers:\n var name = getComponentNameFromType(type);\n checkPropTypes(propTypes, element.props, 'prop', name, element);\n } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n var _name = getComponentNameFromType(type);\n\n error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n }\n\n if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n }\n }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n {\n var keys = Object.keys(fragment.props);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n\n if (key !== 'children' && key !== 'key') {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n setCurrentlyValidatingElement$1(null);\n break;\n }\n }\n\n if (fragment.ref !== null) {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n setCurrentlyValidatingElement$1(null);\n }\n }\n}\n\nvar didWarnAboutKeySpread = {};\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n {\n var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n // succeed and there will likely be errors in render.\n\n if (!validType) {\n var info = '';\n\n if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n info += ' You likely forgot to export your component from the file ' + \"it's defined in, or you might have mixed up default and named imports.\";\n }\n\n var sourceInfo = getSourceInfoErrorAddendum(source);\n\n if (sourceInfo) {\n info += sourceInfo;\n } else {\n info += getDeclarationErrorAddendum();\n }\n\n var typeString;\n\n if (type === null) {\n typeString = 'null';\n } else if (isArray(type)) {\n typeString = 'array';\n } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n info = ' Did you accidentally export a JSX literal instead of a component?';\n } else {\n typeString = typeof type;\n }\n\n error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);\n }\n\n var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n // TODO: Drop this when these are no longer allowed as the type argument.\n\n if (element == null) {\n return element;\n } // Skip key warning if the type isn't valid since our key validation logic\n // doesn't expect a non-string/function type and can throw confusing errors.\n // We don't want exception behavior to differ between dev and prod.\n // (Rendering will throw with a helpful message and as soon as the type is\n // fixed, the key warnings will appear.)\n\n\n if (validType) {\n var children = props.children;\n\n if (children !== undefined) {\n if (isStaticChildren) {\n if (isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n validateChildKeys(children[i], type);\n }\n\n if (Object.freeze) {\n Object.freeze(children);\n }\n } else {\n error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');\n }\n } else {\n validateChildKeys(children, type);\n }\n }\n }\n\n {\n if (hasOwnProperty.call(props, 'key')) {\n var componentName = getComponentNameFromType(type);\n var keys = Object.keys(props).filter(function (k) {\n return k !== 'key';\n });\n var beforeExample = keys.length > 0 ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}' : '{key: someKey}';\n\n if (!didWarnAboutKeySpread[componentName + beforeExample]) {\n var afterExample = keys.length > 0 ? '{' + keys.join(': ..., ') + ': ...}' : '{}';\n\n error('A props object containing a \"key\" prop is being spread into JSX:\\n' + ' let props = %s;\\n' + ' <%s {...props} />\\n' + 'React keys must be passed directly to JSX without using spread:\\n' + ' let props = %s;\\n' + ' <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);\n\n didWarnAboutKeySpread[componentName + beforeExample] = true;\n }\n }\n }\n\n if (type === REACT_FRAGMENT_TYPE) {\n validateFragmentProps(element);\n } else {\n validatePropTypes(element);\n }\n\n return element;\n }\n} // These two functions exist to still get child warnings in dev\n// even with the prod transform. This means that jsxDEV is purely\n// opt-in behavior for better messages but that we won't stop\n// giving you warnings if you use production apis.\n\nfunction jsxWithValidationStatic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, true);\n }\n}\nfunction jsxWithValidationDynamic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, false);\n }\n}\n\nvar jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.\n// for now we can ship identical prod functions\n\nvar jsxs = jsxWithValidationStatic ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsx;\nexports.jsxs = jsxs;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","import tokenColors from '@rocket.chat/fuselage-tokens/colors.json';\n\nimport { getPaletteColor } from './getPaletteColor';\nimport { toCSSColorValue } from './helpers/toCSSValue';\n\nexport class Var {\n private name: string;\n\n private value: string;\n\n constructor(name: string, value: string) {\n this.name = name;\n this.value = value;\n }\n\n toString() {\n return toCSSColorValue(this.name, this.value);\n }\n\n theme(name: string) {\n return new Var(name, this.toString());\n }\n}\n\nconst white = new Var('white', '#ffffff');\n\nexport let throwErrorOnInvalidToken = false;\nexport const __setThrowErrorOnInvalidToken__ = (value: boolean) => {\n throwErrorOnInvalidToken = value;\n};\n\nexport const neutral = {\n 100: new Var('neutral-100', tokenColors.n100),\n 200: new Var('neutral-200', tokenColors.n200),\n 250: new Var('neutral-250', tokenColors.n250),\n 300: new Var('neutral-300', tokenColors.n300),\n 400: new Var('neutral-400', tokenColors.n400),\n 450: new Var('neutral-450', tokenColors.n450),\n 500: new Var('neutral-500', tokenColors.n500),\n 600: new Var('neutral-600', tokenColors.n600),\n 700: new Var('neutral-700', tokenColors.n700),\n 800: new Var('neutral-800', tokenColors.n800),\n 900: new Var('neutral-900', tokenColors.n900),\n};\n\nconst blue = {\n 100: new Var('primary-100', tokenColors.b100),\n 200: new Var('primary-200', tokenColors.b200),\n 300: new Var('primary-300', tokenColors.b300),\n 400: new Var('primary-400', tokenColors.b400),\n 500: new Var('primary-500', tokenColors.b500),\n 600: new Var('primary-600', tokenColors.b600),\n 700: new Var('primary-700', tokenColors.b700),\n 800: new Var('primary-800', tokenColors.b800),\n 900: new Var('primary-900', tokenColors.b900),\n};\n\nconst green = {\n 100: new Var('success-100', tokenColors.g100),\n 200: new Var('success-200', tokenColors.g200),\n 300: new Var('success-300', tokenColors.g300),\n 400: new Var('success-400', tokenColors.g400),\n 500: new Var('success-500', tokenColors.g500),\n 600: new Var('success-600', tokenColors.g600),\n 700: new Var('success-700', tokenColors.g700),\n 800: new Var('success-800', tokenColors.g800),\n 900: new Var('success-900', tokenColors.g900),\n};\n\nconst yellow = {\n 100: new Var('warning-100', tokenColors.y100),\n 200: new Var('warning-200', tokenColors.y200),\n 300: new Var('warning-300', tokenColors.y300),\n 400: new Var('warning-400', tokenColors.y400),\n 500: new Var('warning-500', tokenColors.y500),\n 600: new Var('warning-600', tokenColors.y600),\n 700: new Var('warning-700', tokenColors.y700),\n 800: new Var('warning-800', tokenColors.y800),\n 900: new Var('warning-900', tokenColors.y900),\n};\n\nconst red = {\n 100: new Var('danger-100', tokenColors.r100),\n 200: new Var('danger-200', tokenColors.r200),\n 300: new Var('danger-300', tokenColors.r300),\n 400: new Var('danger-400', tokenColors.r400),\n 500: new Var('danger-500', tokenColors.r500),\n 600: new Var('danger-600', tokenColors.r600),\n 700: new Var('danger-700', tokenColors.r700),\n 800: new Var('danger-800', tokenColors.r800),\n 900: new Var('danger-900', tokenColors.r900),\n};\n\nconst orange = {\n 100: new Var('service-1-100', tokenColors.o100),\n 200: new Var('service-1-200', tokenColors.o200),\n 300: new Var('service-1-300', tokenColors.o300),\n 400: new Var('service-1-400', tokenColors.o400),\n 500: new Var('service-1-500', tokenColors.o500),\n 600: new Var('service-1-600', tokenColors.o600),\n 700: new Var('service-1-700', tokenColors.o700),\n 800: new Var('service-1-800', tokenColors.o800),\n 900: new Var('service-1-900', tokenColors.o900),\n};\n\nconst purple = {\n 100: new Var('service-2-100', tokenColors.p100),\n 200: new Var('service-2-200', tokenColors.p200),\n 300: new Var('service-2-300', tokenColors.p300),\n 400: new Var('service-2-400', tokenColors.p400),\n 500: new Var('service-2-500', tokenColors.p500),\n 600: new Var('service-2-600', tokenColors.p600),\n 700: new Var('service-2-700', tokenColors.p700),\n 800: new Var('service-2-800', tokenColors.p800),\n 900: new Var('service-2-900', tokenColors.p900),\n};\n\nexport const surfaceColors = {\n 'surface-light': white.theme('surface-light'),\n 'surface-tint': neutral[100].theme('surface-tint'),\n 'surface-room': white.theme('surface-room'),\n 'surface-neutral': neutral[400].theme('surface-neutral'),\n 'surface-disabled': neutral[100].theme('surface-disabled'),\n 'surface-hover': neutral[200].theme('surface-hover'),\n 'surface-selected': neutral[450].theme('surface-selected'),\n 'surface-dark': neutral[800].theme('surface-dark'),\n 'surface-featured': purple['700'].theme('surface-featured'),\n 'surface-featured-hover': purple['800'].theme('surface-featured-hover'),\n 'surface-overlay': neutral[800].theme('surface-overlay'),\n 'surface-transparent': 'transparent',\n 'surface-sidebar': neutral[400].theme('surface-sidebar'),\n};\n\ntype SurfaceColors = keyof typeof surfaceColors;\n\nexport const strokeColors = {\n 'stroke-extra-light': neutral[250].theme('stroke-extra-light'),\n 'stroke-light': neutral[500].theme('stroke-light'),\n 'stroke-medium': neutral[600].theme('stroke-medium'),\n 'stroke-dark': neutral[700].theme('stroke-dark'),\n 'stroke-extra-dark': neutral[800].theme('stroke-extra-dark'),\n 'stroke-extra-light-highlight': blue[200].theme(\n 'stroke-extra-light-highlight',\n ),\n 'stroke-highlight': blue[500].theme('stroke-highlight'),\n 'stroke-extra-light-error': red[200].theme('stroke-extra-light-error'),\n 'stroke-error': red[500].theme('stroke-error'),\n};\n\ntype StrokeColor = keyof typeof strokeColors;\n\nexport const textIconColors = {\n 'font-white': white.theme('font-white'),\n 'font-disabled': neutral[500].theme('font-disabled'),\n 'font-annotation': neutral[600].theme('font-annotation'),\n 'font-hint': neutral[700].theme('font-hint'),\n 'font-secondary-info': neutral[700].theme('font-secondary-info'),\n 'font-default': neutral[800].theme('font-default'),\n 'font-titles-labels': neutral[900].theme('font-titles-labels'),\n 'font-info': blue[600].theme('font-info'),\n 'font-danger': red[600].theme('font-danger'),\n 'font-pure-black': neutral[800].theme('font-pure-black'),\n 'font-pure-white': white.theme('font-pure-white'),\n};\n\ntype TextIconColors = keyof typeof textIconColors;\n\nexport const statusBackgroundColors = {\n 'status-background-info': blue[200].theme('status-background-info'),\n 'status-background-success': green[200].theme('status-background-success'),\n 'status-background-danger': red[200].theme('status-background-danger'),\n 'status-background-warning': yellow[200].theme('status-background-warning'),\n 'status-background-warning-2': yellow[100].theme(\n 'status-background-warning-2',\n ),\n 'status-background-service-1': orange[200].theme(\n 'status-background-service-1',\n ),\n 'status-background-service-2': purple[200].theme(\n 'status-background-service-2',\n ),\n};\n\ntype StatusBackgroundColors = keyof typeof statusBackgroundColors;\n\nexport const statusColors = {\n 'status-font-on-info': blue[600].theme('status-font-on-info'),\n 'status-font-on-success': green[800].theme('status-font-on-success'),\n 'status-font-on-warning': yellow[800].theme('status-font-on-warning'),\n 'status-font-on-warning-2': neutral[800].theme('status-font-on-warning-2'),\n 'status-font-on-danger': red[800].theme('status-font-on-danger'),\n 'status-font-on-service-1': orange[800].theme('status-font-on-service-1'),\n 'status-font-on-service-2': purple[600].theme('status-font-on-service-2'),\n};\n\ntype StatusColors = keyof typeof statusColors;\n\nexport const badgeBackgroundColors = {\n 'badge-background-level-0': neutral[400].theme('badge-background-level-0'),\n 'badge-background-level-1': neutral[600].theme('badge-background-level-1'),\n 'badge-background-level-2': blue[500].theme('badge-background-level-2'),\n 'badge-background-level-3': orange[500].theme('badge-background-level-3'),\n 'badge-background-level-4': red[500].theme('badge-background-level-4'),\n};\n\ntype BadgeBackgroundColors = keyof typeof badgeBackgroundColors;\n\nexport const shadowColors = {\n 'shadow-elevation-border': strokeColors['stroke-extra-light'].theme(\n 'shadow-elevation-border',\n ),\n 'shadow-elevation-1': new Var(\n 'shadow-elevation-1',\n getPaletteColor('neutral', 800, 0.1)[1],\n ),\n 'shadow-elevation-2x': new Var(\n 'shadow-elevation-2x',\n getPaletteColor('neutral', 800, 0.08)[1],\n ),\n 'shadow-elevation-2y': new Var(\n 'shadow-elevation-2y',\n getPaletteColor('neutral', 800, 0.12)[1],\n ),\n 'shadow-highlight': blue[200].theme('shadow-highlight'),\n 'shadow-danger': red[100].theme('shadow-danger'),\n};\n\ntype ShadowColors = keyof typeof shadowColors;\n\nexport const isSurfaceColor = (color: unknown): color is SurfaceColors =>\n typeof color === 'string' && color in surfaceColors;\n\nexport const isStrokeColor = (color: unknown): color is StrokeColor =>\n typeof color === 'string' && color in strokeColors;\n\nexport const isTextIconColor = (color: unknown): color is TextIconColors =>\n typeof color === 'string' && color in textIconColors;\n\nexport const isBadgeColor = (color: unknown): color is BadgeBackgroundColors =>\n typeof color === 'string' && color in badgeBackgroundColors;\n\nexport const isStatusBackgroundColor = (\n color: unknown,\n): color is StatusBackgroundColors =>\n typeof color === 'string' && color in statusBackgroundColors;\n\nexport const isStatusColor = (color: unknown): color is StatusColors =>\n typeof color === 'string' && color in statusColors;\n\nexport const isShadowColor = (color: unknown): color is ShadowColors =>\n typeof color === 'string' && color in shadowColors;\n\nexport const Palette = {\n surface: surfaceColors,\n status: statusBackgroundColors,\n statusColor: statusColors,\n badge: badgeBackgroundColors,\n text: textIconColors,\n stroke: strokeColors,\n shadow: shadowColors,\n};\n","import type { ReactNode } from 'react';\n\nimport { cx, cxx } from '../../helpers/composeClassNames';\nimport { StylingBox } from '../Box';\nimport { StylingProps } from '../Box/stylingProps';\n\nexport type AccordionProps = {\n children: ReactNode;\n} & Partial<StylingProps>;\n\n/**\n * An `Accordion` allows users to toggle the display of sections of content.\n */\nconst Accordion = ({ children, ...props }: AccordionProps) => (\n <StylingBox {...props}>\n <div className={cx(cxx('rcx-box')('full', 'animated'), 'rcx-accordion')}>\n {children}\n </div>\n </StylingBox>\n);\n\nexport default Accordion;\n","import { useToggle } from '@rocket.chat/fuselage-hooks';\nimport {\n useId,\n type KeyboardEvent,\n type MouseEvent,\n type ReactNode,\n} from 'react';\n\nimport { cx, cxx } from '../../helpers/composeClassNames';\nimport { StylingBox } from '../Box';\nimport { Chevron } from '../Chevron';\n\nexport type AccordionItemProps = {\n children?: ReactNode;\n className?: string;\n defaultExpanded?: boolean;\n disabled?: boolean;\n expanded?: boolean;\n tabIndex?: number;\n title: ReactNode;\n noncollapsible?: boolean;\n};\n\nconst AccordionItem = ({\n children,\n defaultExpanded,\n disabled = false,\n expanded: propExpanded,\n tabIndex = 0,\n title,\n noncollapsible = !title,\n ...props\n}: AccordionItemProps) => {\n const [stateExpanded, toggleStateExpanded] = useToggle(defaultExpanded);\n const expanded = propExpanded || stateExpanded;\n\n const panelExpanded = noncollapsible || expanded;\n\n const titleId = useId();\n const panelId = useId();\n\n const handleClick = (e: MouseEvent<HTMLElement>) => {\n if (disabled) {\n return;\n }\n e.currentTarget?.blur();\n toggleStateExpanded();\n };\n\n const handleKeyDown = (event: KeyboardEvent) => {\n if (disabled || event.currentTarget !== event.target) {\n return;\n }\n\n if (![' ', 'Enter'].includes(event.key)) {\n return;\n }\n\n event.preventDefault();\n\n if (event.repeat) {\n return;\n }\n\n toggleStateExpanded();\n };\n\n const collapsibleProps = {\n 'aria-controls': panelId,\n 'aria-expanded': expanded ? 'true' : 'false',\n 'tabIndex': !disabled ? tabIndex : undefined,\n 'onClick': handleClick,\n 'onKeyDown': handleKeyDown,\n } as const;\n\n const nonCollapsibleProps = {\n 'aria-disabled': 'true',\n 'aria-expanded': 'true',\n 'aria-labelledby': titleId,\n } as const;\n\n const barProps = noncollapsible ? nonCollapsibleProps : collapsibleProps;\n\n return (\n <StylingBox {...props}>\n <section className={cx(cxx('rcx-box')('full'), 'rcx-accordion-item')}>\n {title && (\n <div\n role='button'\n className={cx(\n cxx('rcx-box')('full', 'animated'),\n cxx('rcx-accordion-item__bar')({ disabled }),\n )}\n {...barProps}\n >\n <h2\n className={cx(\n cxx('rcx-box')('full'),\n 'rcx-accordion-item__title',\n )}\n id={titleId}\n >\n {title}\n </h2>\n {!noncollapsible && <Chevron size='x24' up={expanded} />}\n </div>\n )}\n <div\n className={cx(\n cxx('rcx-box')('full', 'animated'),\n cxx('rcx-accordion-item__panel')({ expanded: panelExpanded }),\n )}\n id={panelId}\n >\n {children}\n </div>\n </section>\n </StylingBox>\n );\n};\n\nexport default AccordionItem;\n","export { default as Accordion, type AccordionProps } from './Accordion';\nexport {\n default as AccordionItem,\n type AccordionItemProps,\n} from './AccordionItem';\n","import { css, keyframes } from '@rocket.chat/css-in-js';\nimport type { ReactNode } from 'react';\nimport { useCallback, useEffect, useState } from 'react';\n\nimport { appendClassName } from '../../helpers/appendClassName';\nimport { useStyle } from '../../hooks/useStyle';\nimport { BoxTransforms, useComposedBoxTransform } from '../Box/BoxTransforms';\n\nexport type VisibilityType =\n | 'hidden'\n | 'visible'\n | 'hiding'\n | 'unhiding'\n | undefined;\n\ntype AnimatedVisibilityProps = {\n children: ReactNode;\n visibility?: VisibilityType;\n};\n\nconst Visibility = {\n HIDDEN: 'hidden' as VisibilityType,\n VISIBLE: 'visible' as VisibilityType,\n HIDING: 'hiding' as VisibilityType,\n UNHIDING: 'unhiding' as VisibilityType,\n};\n\nconst AnimatedVisibility = (props: AnimatedVisibilityProps) => {\n const propVisibility = props.visibility || Visibility.HIDDEN;\n\n const [visibility, setVisibility] = useState<VisibilityType>(propVisibility);\n\n useEffect(() => {\n setVisibility((visibility) => {\n if (\n propVisibility === Visibility.VISIBLE &&\n visibility !== propVisibility\n ) {\n return Visibility.UNHIDING;\n }\n\n if (\n propVisibility === Visibility.HIDDEN &&\n visibility !== propVisibility\n ) {\n return Visibility.HIDING;\n }\n\n return visibility;\n });\n }, [propVisibility]);\n\n const className = useStyle(\n css`\n animation-duration: 230ms;\n\n ${visibility === Visibility.HIDING &&\n css`\n animation-name: ${keyframes`\n from {\n transform: translate3d(0, 0, 0);\n opacity: 1;\n }\n\n to {\n transform: translate3d(0, 1rem, 0);\n opacity: 0;\n }\n `};\n `}\n\n ${visibility === Visibility.UNHIDING &&\n css`\n animation-name: ${keyframes`\n from {\n transform: translate3d(0, 1rem, 0);\n opacity: 0;\n }\n\n to {\n transform: translate3d(0, 0, 0);\n opacity: 1;\n }\n `};\n `}\n `,\n null,\n );\n\n const handleAnimationEnd = useCallback(\n () =>\n setVisibility((visibility) => {\n if (visibility === Visibility.HIDING) {\n return Visibility.HIDDEN;\n }\n\n if (visibility === Visibility.UNHIDING) {\n return Visibility.VISIBLE;\n }\n\n return visibility;\n }),\n [],\n );\n\n const transformFn = useCallback(\n (props: any) => {\n if (props.onAnimationEnd === undefined) {\n props.onAnimationEnd = handleAnimationEnd;\n }\n props.className =\n className && appendClassName(props.className, className);\n return props;\n },\n [className, handleAnimationEnd],\n );\n\n const composedFn = useComposedBoxTransform(transformFn);\n if (visibility === Visibility.HIDDEN) {\n return null;\n }\n\n return (\n <BoxTransforms.Provider children={props.children} value={composedFn} />\n );\n};\n\nexport default AnimatedVisibility;\n","import type { VisibilityType } from './AnimatedVisibility';\nimport AnimatedVisibility from './AnimatedVisibility';\n\nexport default Object.assign(AnimatedVisibility, {\n HIDDEN: 'hidden' as VisibilityType,\n VISIBLE: 'visible' as VisibilityType,\n HIDING: 'hiding' as VisibilityType,\n UNHIDING: 'unhiding' as VisibilityType,\n});\n","import { useMergedRefs, useResizeObserver } from '@rocket.chat/fuselage-hooks';\nimport type { TrackHTMLAttributes } from 'react';\nimport { useState, useRef, forwardRef } from 'react';\n\nimport { Box, Button, IconButton, Margins } from '../..';\nimport { Slider } from '../Slider';\n\nconst getMaskTime = (durationTime: number) =>\n new Date(durationTime * 1000)\n .toISOString()\n .slice(durationTime > 60 * 60 ? 11 : 14, 19);\n\nfunction forceDownload(url: string, fileName?: string) {\n const xhr = new XMLHttpRequest();\n xhr.open('GET', url, true);\n xhr.responseType = 'blob';\n xhr.onload = function () {\n const urlCreator = window.URL || window.webkitURL;\n const imageUrl = urlCreator.createObjectURL(this.response);\n const tag = document.createElement('a');\n tag.href = imageUrl;\n if (fileName) {\n tag.download = fileName;\n }\n document.body.appendChild(tag);\n tag.click();\n document.body.removeChild(tag);\n };\n xhr.send();\n}\n\nconst getDurationForInfinityDurationAudioFile = (\n src: string,\n callback: (duration: number) => void,\n) => {\n const audioElement = new Audio();\n audioElement.src = src;\n\n audioElement.addEventListener('loadedmetadata', () => {\n const { duration } = audioElement;\n if (duration === Infinity) {\n audioElement.currentTime = 1e101;\n return;\n }\n\n return callback(duration);\n });\n\n audioElement.addEventListener('durationchange', () => {\n if (audioElement.duration === Infinity) {\n return;\n }\n callback(audioElement.duration);\n audioElement.remove();\n });\n};\n\n/**\n * A Fuselage’s custom AudioPlayer.\n */\ntype AudioPlayerProps = {\n src: string;\n type?: string;\n maxPlaybackSpeed?: number;\n minPlaybackSpeed?: number;\n playbackSpeedStep?: number;\n download?: boolean;\n playLabel?: string;\n pauseLabel?: string;\n audioPlaybackRangeLabel?: string;\n changePlaybackSpeedLabel?: string;\n downloadAudioFileLabel?: string;\n trackProps?: TrackHTMLAttributes<HTMLTrackElement>;\n};\n\nexport const AudioPlayer = forwardRef<HTMLAudioElement, AudioPlayerProps>(\n (\n {\n src,\n type = 'audio/mpeg',\n maxPlaybackSpeed = 2,\n minPlaybackSpeed = 0.5,\n playbackSpeedStep = 0.25,\n download = false,\n playLabel = 'Play',\n pauseLabel = 'Pause',\n audioPlaybackRangeLabel = 'Audio Playback Range',\n changePlaybackSpeedLabel = 'Change Playback Speed',\n downloadAudioFileLabel = 'Download Audio File',\n trackProps,\n },\n ref,\n ) => {\n const audioRef = useRef<HTMLAudioElement>(null);\n const refs = useMergedRefs(ref, audioRef);\n const [isPlaying, setIsPlaying] = useState(false);\n const [currentTime, setCurrentTime] = useState(0);\n const [durationTime, setDurationTime] = useState(0);\n const [playbackSpeed, setPlaybackSpeed] = useState(1);\n const { ref: containerRef } = useResizeObserver();\n\n const handlePlay = () => {\n const isPlaying = audioRef.current?.paused;\n\n if (isPlaying) {\n audioRef.current?.play();\n } else {\n audioRef.current?.pause();\n }\n };\n\n const handlePlaybackSpeed = (mod: 1 | -1) => {\n if (audioRef.current) {\n audioRef.current.playbackRate += playbackSpeedStep * mod;\n }\n };\n\n const handlePlaybackSpeedSingleControl = () => {\n const reachedMaxPlaybackSpeed =\n maxPlaybackSpeed === audioRef?.current?.playbackRate;\n\n if (reachedMaxPlaybackSpeed) {\n audioRef.current.playbackRate = minPlaybackSpeed;\n return;\n }\n handlePlaybackSpeed(1);\n };\n\n return (\n <Box\n borderWidth='default'\n bg='tint'\n borderColor='extra-light'\n pb={12}\n pie={8}\n pis={16}\n borderRadius='x4'\n w='100%'\n maxWidth='x300'\n ref={containerRef}\n display='flex'\n alignItems='center'\n >\n <IconButton\n primary\n medium\n onClick={handlePlay}\n aria-label={isPlaying ? pauseLabel : playLabel}\n icon={isPlaying ? 'pause-shape-filled' : 'play-shape-filled'}\n />\n <Margins inline={8}>\n <Box fontScale='p2' color='secondary-info'>\n {isPlaying || currentTime > 0\n ? getMaskTime(currentTime)\n : getMaskTime(durationTime)}\n </Box>\n <Box mi={16} w='full'>\n <Slider\n aria-label={audioPlaybackRangeLabel}\n showOutput={false}\n value={currentTime}\n maxValue={durationTime}\n onChange={(value) => {\n if (audioRef.current) {\n audioRef.current.currentTime = value;\n }\n }}\n />\n </Box>\n\n <Button\n secondary\n small\n onClick={handlePlaybackSpeedSingleControl}\n aria-label={changePlaybackSpeedLabel}\n >\n {playbackSpeed}x\n </Button>\n </Margins>\n {download && (\n <IconButton\n primary\n aria-label={downloadAudioFileLabel}\n is='a'\n href={src}\n download\n icon='download'\n medium\n onClick={(e) => {\n const { host } = new URL(src);\n if (host !== window.location.host) {\n e.preventDefault();\n forceDownload(src);\n }\n }}\n />\n )}\n <audio\n style={{ display: 'none' }}\n onTimeUpdate={(e) => {\n setCurrentTime((e.target as HTMLAudioElement).currentTime);\n }}\n onLoadedMetadata={(e) => {\n const { duration } = e.target as HTMLAudioElement;\n\n if (duration !== Infinity) {\n return setDurationTime(duration);\n }\n\n getDurationForInfinityDurationAudioFile(src, setDurationTime);\n }}\n onEnded={() => setIsPlaying(false)}\n ref={refs}\n preload='metadata'\n onRateChange={(e) => {\n setPlaybackSpeed((e.target as HTMLAudioElement).playbackRate);\n }}\n onPlay={() => {\n setIsPlaying(true);\n }}\n onPause={() => {\n setIsPlaying(false);\n }}\n controls\n >\n <source src={src} type={type} />\n <track kind='captions' {...trackProps} />\n </audio>\n </Box>\n );\n },\n);\n","export * from './AudioPlayer';\n","// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-nocheck\nimport { useEffectEvent, useResizeObserver } from '@rocket.chat/fuselage-hooks';\nimport type {\n AllHTMLAttributes,\n ComponentProps,\n ElementType,\n ReactElement,\n} from 'react';\nimport { useEffect, useRef, useMemo, useState } from 'react';\n\nimport AnimatedVisibility from '../AnimatedVisibility';\nimport Box from '../Box';\nimport Chip from '../Chip';\nimport { Icon } from '../Icon';\nimport { InputBox } from '../InputBox';\nimport Margins from '../Margins';\nimport { useCursor, Options } from '../Options';\nimport PositionAnimated from '../PositionAnimated';\n\nconst Addon = (props: ComponentProps<typeof Box>) => (\n <Box rcx-autocomplete__addon {...props} />\n);\n\ntype AutoCompleteOption = {\n value: string;\n label: unknown;\n};\n\ntype AutoCompleteProps = {\n value?: string | string[];\n filter: string;\n setFilter?: (filter: string) => void;\n options?: AutoCompleteOption[];\n renderItem?: ElementType;\n renderSelected?: ElementType;\n onChange: (value: string | string[]) => void;\n renderEmpty?: ElementType;\n placeholder?: string;\n error?: boolean;\n disabled?: boolean;\n multiple?: boolean;\n} & Omit<AllHTMLAttributes<HTMLInputElement>, 'onChange'>;\n\nconst getSelected = (\n value: string | string[],\n options: AutoCompleteOption[],\n) => {\n if (!value) {\n return [];\n }\n return typeof value === 'string'\n ? options.filter((option) => option.value === value)\n : options?.filter((option) => value.includes(option.value));\n};\n\n/**\n * An input for selection of options.\n */\nexport function AutoComplete({\n value,\n filter,\n setFilter,\n options = [],\n renderItem,\n renderSelected: RenderSelected,\n onChange,\n renderEmpty,\n placeholder,\n error,\n disabled,\n multiple,\n onBlur: onBlurAction = () => {},\n ...props\n}: AutoCompleteProps): ReactElement {\n const ref = useRef();\n const { ref: containerRef, borderBoxSize } = useResizeObserver();\n\n const [selected, setSelected] = useState(\n () => getSelected(value, options) || [],\n );\n\n const handleSelect = useEffectEvent(([currentValue]) => {\n if (selected?.some((item) => item.value === currentValue)) {\n hide();\n return;\n }\n\n if (multiple) {\n setSelected([...selected, ...getSelected(currentValue, options)]);\n onChange([...value, currentValue]);\n } else {\n setSelected(getSelected(currentValue, options));\n onChange(currentValue);\n }\n\n setFilter('');\n hide();\n });\n\n const handleRemove = useEffectEvent((event) => {\n event.stopPropagation();\n event.preventDefault();\n\n const filtered = selected.filter(\n (item) => item.value !== event.currentTarget.value,\n );\n\n const filteredValue = value.filter(\n (item) => item !== event.currentTarget.value,\n );\n\n setSelected(filtered);\n onChange(filteredValue);\n hide();\n });\n\n const memoizedOptions = useMemo(\n () => options.map(({ value, label }) => [value, label]),\n [options],\n );\n\n const [cursor, handleKeyDown, , reset, [optionsAreVisible, hide, show]] =\n useCursor(value, memoizedOptions, handleSelect);\n\n const handleOnBlur = useEffectEvent((event) => {\n hide();\n onBlurAction(event);\n });\n\n useEffect(reset, [filter]);\n\n return (\n <Box\n rcx-autocomplete\n ref={containerRef}\n onClick={useEffectEvent(() => ref.current.focus())}\n flexGrow={1}\n className={useMemo(\n () => [error && 'invalid', disabled && 'disabled'],\n [error, disabled],\n )}\n >\n <Box\n display='flex'\n flexGrow={1}\n alignItems='center'\n flexWrap='wrap'\n margin='neg-x4'\n role='group'\n >\n <Margins all='x4'>\n <InputBox.Input\n ref={ref}\n onChange={useEffectEvent((e) => setFilter(e.currentTarget.value))}\n onBlur={handleOnBlur}\n onFocus={show}\n onKeyDown={handleKeyDown}\n placeholder={\n optionsAreVisible === AnimatedVisibility.HIDDEN || !value\n ? placeholder\n : undefined\n }\n order={1}\n rcx-input-box--undecorated\n value={filter}\n {...props}\n />\n {selected?.length > 0 &&\n selected.map((itemSelected) =>\n RenderSelected ? (\n <RenderSelected\n key={itemSelected.value}\n selected={itemSelected}\n onRemove={handleRemove}\n />\n ) : (\n <Chip\n key={itemSelected.value}\n value={itemSelected.value}\n label={itemSelected.label}\n children={itemSelected.label}\n onClick={handleRemove}\n selected={selected}\n />\n ),\n )}\n </Margins>\n </Box>\n <Addon\n children={\n <Icon\n name={\n optionsAreVisible === AnimatedVisibility.VISIBLE\n ? 'cross'\n : 'magnifier'\n }\n size='x20'\n color='default'\n />\n }\n />\n <PositionAnimated visible={optionsAreVisible} anchor={containerRef}>\n <Options\n width={borderBoxSize.inlineSize}\n onSelect={handleSelect}\n renderItem={renderItem}\n renderEmpty={renderEmpty}\n cursor={cursor}\n value={value}\n options={memoizedOptions}\n />\n </PositionAnimated>\n </Box>\n );\n}\n","export * from './AutoComplete';\n","import type { AllHTMLAttributes, ComponentProps } from 'react';\n\nimport { AvatarContainer } from './AvatarContainer';\nimport { AvatarStack } from './AvatarStack';\n\nexport type AvatarProps = ComponentProps<typeof AvatarContainer> & {\n rounded?: boolean;\n objectFit?: boolean;\n url: string;\n} & Omit<AllHTMLAttributes<HTMLImageElement>, 'size'>;\n\nexport const Avatar = ({\n size = 'x36',\n rounded = false,\n objectFit = false,\n url,\n className,\n alt,\n ...props\n}: AvatarProps) => {\n const innerClass = [\n 'rcx-avatar__element',\n objectFit && 'rcx-avatar__element--object-fit',\n size && `rcx-avatar__element--${size}`,\n rounded && 'rcx-avatar__element--rounded',\n ]\n .filter(Boolean)\n .join(' ');\n\n return (\n <AvatarContainer size={size} className={className}>\n <img src={url} className={innerClass} alt={alt || ''} {...props} />\n </AvatarContainer>\n );\n};\n\n/**\n * @deprecated Use named import instead\n */\nAvatar.Stack = AvatarStack;\n","import type { HTMLAttributes } from 'react';\n\nimport { prependClassName } from '../../helpers/prependClassName';\n\nexport type AvatarContainerProps = {\n size?:\n | 'x16'\n | 'x18'\n | 'x20'\n | 'x24'\n | 'x28'\n | 'x32'\n | 'x36'\n | 'x40'\n | 'x48'\n | 'x124'\n | 'x200'\n | 'x332';\n} & HTMLAttributes<HTMLElement>;\n\nexport const AvatarContainer = ({\n size = 'x36',\n children,\n ...props\n}: AvatarContainerProps) => {\n props.className = prependClassName(\n props.className,\n ['rcx-box rcx-box--full rcx-avatar', size && `rcx-avatar--${size}`]\n .filter(Boolean)\n .join(' '),\n );\n\n return <figure {...props}>{children}</figure>;\n};\n","import type { DetailedHTMLProps, HTMLAttributes } from 'react';\nimport flattenChildren from 'react-keyed-flatten-children';\n\nimport { prependClassName } from '../../helpers/prependClassName';\n\ntype AvatarStackProps = DetailedHTMLProps<\n HTMLAttributes<HTMLDivElement>,\n HTMLDivElement\n>;\n\nexport const AvatarStack = ({ children, ...props }: AvatarStackProps) => {\n props.className = prependClassName(props.className, 'rcx-avatar-stack');\n return <div {...props}>{flattenChildren(children).reverse()}</div>;\n};\n","export * from './Avatar';\nexport * from './AvatarContainer';\nexport * from './AvatarStack';\n","import type { ElementType, HTMLAttributes } from 'react';\n\nimport { prependClassName } from '../../helpers/prependClassName';\n\nexport type BadgeProps = {\n is?: ElementType;\n variant?: 'secondary' | 'primary' | 'danger' | 'warning' | 'ghost';\n small?: boolean;\n disabled?: boolean;\n className?: string;\n children?: any;\n title?: any;\n} & HTMLAttributes<HTMLSpanElement>;\n\n/**\n * Communicates notification’s amount and types.\n */\nexport function Badge({\n is: Tag = 'span',\n variant = 'secondary',\n small,\n className,\n disabled,\n ...props\n}: BadgeProps) {\n const modifiers = [variant, small && 'small', disabled && 'disabled']\n .filter(Boolean)\n .map((modifier) => `rcx-badge--${modifier}`)\n .join(' ');\n\n return (\n <Tag\n className={prependClassName(\n className,\n `rcx-box rcx-box--full rcx-badge ${modifiers}`,\n )}\n {...props}\n />\n );\n}\n","export * from './Badge';\n","import {\n useBorderBoxSize,\n useButtonPattern,\n} from '@rocket.chat/fuselage-hooks';\nimport type {\n ReactNode,\n AllHTMLAttributes,\n HTMLAttributeAnchorTarget,\n MouseEvent,\n} from 'react';\nimport { useRef, useCallback, useMemo } from 'react';\n\nimport { composeClassNames as cx } from '../../helpers/composeClassNames';\nimport { IconButton } from '../Button';\n\ntype VariantType = 'neutral' | 'info' | 'success' | 'warning' | 'danger';\n\nconst variants: VariantType[] = [\n 'neutral',\n 'info',\n 'success',\n 'warning',\n 'danger',\n];\n\ntype BannerProps = {\n actionable?: boolean;\n closeable?: boolean;\n icon?: ReactNode;\n inline?: boolean;\n link?: string;\n linkTarget?: HTMLAttributeAnchorTarget;\n linkText?: string;\n onAction?: () => void;\n onClose?: () => void;\n title?: string;\n variant?: VariantType;\n} & AllHTMLAttributes<HTMLElement>;\n\nconst Banner = ({\n actionable,\n children,\n className,\n closeable,\n icon,\n inline = false,\n link,\n linkText = 'More info',\n linkTarget = '_blank',\n onAction,\n onClose,\n title,\n variant = 'neutral',\n ...props\n}: BannerProps) => {\n const ref = useRef(null);\n const { inlineSize } = useBorderBoxSize(ref, {\n debounceDelay: 70,\n });\n\n const isIconVisible = useMemo(() => inlineSize > 375, [inlineSize]);\n\n variant = variants.includes(variant) ? variant : variants[0];\n\n const handleBannerClick = useCallback(() => {\n if (onAction) {\n onAction();\n }\n }, [onAction]);\n\n const handleCloseButtonClick = useCallback(\n (event: MouseEvent) => {\n event.stopPropagation();\n\n if (onClose) {\n onClose();\n }\n },\n [onClose],\n );\n\n const buttonProps = useButtonPattern(handleBannerClick);\n\n return (\n <div\n className={cx('rcx-banner')(\n { [variant]: true, inline, actionable },\n className,\n )}\n ref={ref}\n {...(onAction ? { ...buttonProps } : { role: 'banner', tabIndex: -1 })}\n {...props}\n >\n {icon && isIconVisible && (\n <div\n className={cx(`rcx-banner__icon rcx-banner__icon--${variant}`)({\n inline,\n })}\n >\n {icon}\n </div>\n )}\n <div className={cx('rcx-banner__content')({ inline })}>\n {title && (\n <h6 className={cx('rcx-banner__title')({ inline })}>{title}</h6>\n )}\n {children}\n {link && (\n <a\n href={link}\n target={linkTarget}\n className={cx('rcx-banner__link')({ [variant]: true })}\n >\n {linkText}\n </a>\n )}\n </div>\n {closeable && (\n <div className={cx('rcx-banner__close-button')({ inline })}>\n <IconButton small onClick={handleCloseButtonClick} icon='cross' />\n </div>\n )}\n </div>\n );\n};\n\nexport default Banner;\n","export { default } from './Banner';\n","import type { cssFn } from '@rocket.chat/css-in-js';\nimport type {\n AllHTMLAttributes,\n ElementType,\n RefAttributes,\n SVGAttributes,\n Ref,\n} from 'react';\nimport { createElement, forwardRef, memo } from 'react';\n\nimport { useArrayLikeClassNameProp } from '../../hooks/useArrayLikeClassNameProp';\nimport { useBoxOnlyProps } from '../../hooks/useBoxOnlyProps';\nimport type { Falsy } from '../../types/Falsy';\n\nimport { useBoxTransform, BoxTransforms } from './BoxTransforms';\nimport type { StylingProps } from './stylingProps';\nimport { useStylingProps } from './useStylingProps';\n\nexport interface BoxProps\n extends Partial<StylingProps>,\n Omit<\n AllHTMLAttributes<HTMLElement>,\n 'ref' | 'is' | 'className' | 'size' | 'elevation' | keyof StylingProps\n >,\n Omit<\n SVGAttributes<SVGElement>,\n keyof AllHTMLAttributes<HTMLElement> | 'elevation' | keyof StylingProps\n > {\n /**\n * The `is` prop is used to render the Box as a different HTML tag. It can also be used to render a different fuselage component.\n */\n is?: ElementType;\n className?: string | cssFn | (string | cssFn | Falsy)[];\n animated?: boolean;\n withRichContent?: boolean | 'inlineWithoutBreaks';\n htmlSize?: AllHTMLAttributes<HTMLElement>['size'];\n focusable?: boolean;\n}\n\nexport const Box = forwardRef(function Box(\n { is = 'div', children, ...props }: BoxProps,\n ref: Ref<any>,\n) {\n const propsWithRef: BoxProps & RefAttributes<any> = props;\n\n if (ref) {\n propsWithRef.ref = ref;\n }\n\n let propsWithStringClassName = useArrayLikeClassNameProp(propsWithRef);\n\n const transformFn = useBoxTransform();\n if (transformFn) {\n propsWithStringClassName = transformFn(propsWithStringClassName);\n }\n\n const propsWithoutStylingProps = useStylingProps(propsWithStringClassName);\n const propsWithoutBoxOnlyProps = useBoxOnlyProps(propsWithoutStylingProps);\n\n const element = createElement(is, propsWithoutBoxOnlyProps, children);\n\n if (transformFn) {\n return <BoxTransforms.Provider children={element} value={null} />;\n }\n\n return element;\n});\n\nexport default memo(Box);\n","import { createContext, useContext, useMemo } from 'react';\n\nexport const BoxTransforms = createContext<null | ((props: any) => any)>(null);\n\nexport const useBoxTransform = () => useContext(BoxTransforms);\n\nexport const useComposedBoxTransform = (fn: (props: any) => any) => {\n const parentFn = useContext(BoxTransforms);\n\n return useMemo(() => {\n if (!parentFn) {\n return fn;\n }\n\n if (!fn) {\n return parentFn;\n }\n\n return (props: any) => fn(parentFn(props));\n }, [fn, parentFn]);\n};\n","import type { cssFn } from '@rocket.chat/css-in-js';\nimport type { ReactElement } from 'react';\nimport { cloneElement } from 'react';\n\nimport { useArrayLikeClassNameProp } from '../../hooks/useArrayLikeClassNameProp';\nimport type { Falsy } from '../../types/Falsy';\n\nimport type { StylingProps } from './stylingProps';\nimport { useStylingProps } from './useStylingProps';\n\nexport type StylingBoxProps = {\n children: ReactElement<{ className?: string }>;\n className?: string | cssFn | (string | cssFn | Falsy)[];\n} & Partial<StylingProps>;\n\n/**\n * Merges its `StylingProps` props into a `className` prop passed to a child element.\n *\n * This is intended to be used as a wrapper for components that accept styling props but don't need the weight of the\n * `Box` component prop handling internally.\n */\nexport const StylingBox = ({ children, ...props }: StylingBoxProps) => {\n const propsWithStringClassName = useArrayLikeClassNameProp(props);\n propsWithStringClassName.className = [\n children.props.className,\n propsWithStringClassName.className,\n ]\n .filter(Boolean)\n .join(' ');\n const propsWithoutStylingProps = useStylingProps(propsWithStringClassName);\n\n return cloneElement(children, propsWithoutStylingProps);\n};\n\nexport default StylingBox;\n","export { default, default as Box, BoxProps } from './Box';\nexport { default as StylingBox, type StylingBoxProps } from './StylingBox';\n","import type { cssFn } from '@rocket.chat/css-in-js';\nimport { css } from '@rocket.chat/css-in-js';\nimport type { CSSProperties } from 'react';\n\nimport type { Var } from '../../Theme';\nimport { Palette } from '../../Theme';\nimport { fromCamelToKebab } from '../../helpers/fromCamelToKebab';\nimport {\n borderRadius,\n borderWidth,\n backgroundColor,\n fontColor,\n fontFamily,\n fontScale,\n inset,\n margin,\n padding,\n size,\n strokeColor,\n} from '../../styleTokens';\n\ntype FontScale =\n | 'hero'\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'p1'\n | 'p1m'\n | 'p1b'\n | 'p2'\n | 'p2m'\n | 'p2b'\n | 'c1'\n | 'c2'\n | 'micro';\n\nexport type StylingProps = {\n border: CSSProperties['border'];\n borderBlock: CSSProperties['borderBlock'];\n borderBlockStart: CSSProperties['borderBlockStart'];\n borderBlockEnd: CSSProperties['borderBlockEnd'];\n borderInline: CSSProperties['borderInline'];\n borderInlineStart: CSSProperties['borderInlineStart'];\n borderInlineEnd: CSSProperties['borderInlineEnd'];\n borderWidth: CSSProperties['borderWidth'];\n borderBlockWidth: CSSProperties['borderBlockWidth'];\n borderBlockStartWidth: CSSProperties['borderBlockStartWidth'];\n borderBlockEndWidth: CSSProperties['borderBlockEndWidth'];\n borderInlineWidth: CSSProperties['borderInlineWidth'];\n borderInlineStartWidth: CSSProperties['borderInlineStartWidth'];\n borderInlineEndWidth: CSSProperties['borderInlineEndWidth'];\n borderStyle: CSSProperties['borderStyle'];\n borderBlockStyle: CSSProperties['borderBlockStyle'];\n borderBlockStartStyle: CSSProperties['borderBlockStartStyle'];\n borderBlockEndStyle: CSSProperties['borderBlockEndStyle'];\n borderInlineStyle: CSSProperties['borderInlineStyle'];\n borderInlineStartStyle: CSSProperties['borderInlineStartStyle'];\n borderInlineEndStyle: CSSProperties['borderInlineEndStyle'];\n borderColor: CSSProperties['borderColor'];\n borderBlockColor: CSSProperties['borderBlockColor'];\n borderBlockStartColor: CSSProperties['borderBlockStartColor'];\n borderBlockEndColor: CSSProperties['borderBlockEndColor'];\n borderInlineColor: CSSProperties['borderInlineColor'];\n borderInlineStartColor: CSSProperties['borderInlineStartColor'];\n borderInlineEndColor: CSSProperties['borderInlineEndColor'];\n borderRadius: CSSProperties['borderRadius'];\n borderStartStartRadius: CSSProperties['borderStartStartRadius'];\n borderStartEndRadius: CSSProperties['borderStartEndRadius'];\n borderEndStartRadius: CSSProperties['borderEndStartRadius'];\n borderEndEndRadius: CSSProperties['borderEndEndRadius'];\n\n color: CSSProperties['color'] | Var;\n backgroundColor: CSSProperties['backgroundColor'] | Var;\n bg: CSSProperties['backgroundColor'] | Var;\n opacity: CSSProperties['opacity'];\n\n alignItems: CSSProperties['alignItems'];\n alignContent: CSSProperties['alignContent'];\n justifyItems: CSSProperties['justifyItems'];\n justifyContent: CSSProperties['justifyContent'];\n flexWrap: CSSProperties['flexWrap'];\n flexDirection: CSSProperties['flexDirection'];\n flexGrow: CSSProperties['flexGrow'];\n flexShrink: CSSProperties['flexShrink'];\n flexBasis: CSSProperties['flexBasis'];\n justifySelf: CSSProperties['justifySelf'];\n alignSelf: CSSProperties['alignSelf'];\n order: CSSProperties['order'];\n\n w: CSSProperties['width'];\n width: CSSProperties['width'];\n minWidth: CSSProperties['minWidth'];\n maxWidth: CSSProperties['maxWidth'];\n h: CSSProperties['height'];\n height: CSSProperties['height'];\n minHeight: CSSProperties['minHeight'];\n maxHeight: CSSProperties['maxHeight'];\n display: CSSProperties['display'];\n verticalAlign: CSSProperties['verticalAlign'];\n overflow: CSSProperties['overflow'];\n overflowX: CSSProperties['overflowX'];\n overflowY: CSSProperties['overflowY'];\n\n position: CSSProperties['position'];\n zIndex: CSSProperties['zIndex'];\n inset: CSSProperties['inset'];\n insetBlock: CSSProperties['insetBlock'];\n insetBlockStart: CSSProperties['insetBlockStart'];\n insetBlockEnd: CSSProperties['insetBlockEnd'];\n insetInline: CSSProperties['insetInline'];\n insetInlineStart: CSSProperties['insetInlineStart'];\n insetInlineEnd: CSSProperties['insetInlineEnd'];\n\n m: CSSProperties['margin'];\n margin: CSSProperties['margin'];\n mb: CSSProperties['marginBlock'];\n marginBlock: CSSProperties['marginBlock'];\n mbs: CSSProperties['marginBlockStart'];\n marginBlockStart: CSSProperties['marginBlockStart'];\n mbe: CSSProperties['marginBlockEnd'];\n marginBlockEnd: CSSProperties['marginBlockEnd'];\n mi: CSSProperties['marginInline'];\n marginInline: CSSProperties['marginInline'];\n mis: CSSProperties['marginInlineStart'];\n marginInlineStart: CSSProperties['marginInlineStart'];\n mie: CSSProperties['marginInlineEnd'];\n marginInlineEnd: CSSProperties['marginInlineEnd'];\n p: CSSProperties['padding'];\n padding: CSSProperties['padding'];\n pb: CSSProperties['paddingBlock'];\n paddingBlock: CSSProperties['paddingBlock'];\n pbs: CSSProperties['paddingBlockStart'];\n paddingBlockStart: CSSProperties['paddingBlockStart'];\n pbe: CSSProperties['paddingBlockEnd'];\n paddingBlockEnd: CSSProperties['paddingBlockEnd'];\n pi: CSSProperties['paddingInline'];\n paddingInline: CSSProperties['paddingInline'];\n pis: CSSProperties['paddingInlineStart'];\n paddingInlineStart: CSSProperties['paddingInlineStart'];\n pie: CSSProperties['paddingInlineEnd'];\n paddingInlineEnd: CSSProperties['paddingInlineEnd'];\n\n fontFamily: CSSProperties['fontFamily'] | FontScale;\n fontSize: CSSProperties['fontSize'] | FontScale;\n fontStyle: CSSProperties['fontStyle'];\n fontWeight: CSSProperties['fontWeight'] | FontScale;\n letterSpacing: CSSProperties['letterSpacing'] | FontScale;\n lineHeight: CSSProperties['lineHeight'] | FontScale;\n textAlign: CSSProperties['textAlign'];\n textTransform: CSSProperties['textTransform'];\n textDecorationLine: CSSProperties['textDecorationLine'];\n wordBreak: CSSProperties['wordBreak'];\n\n elevation: '0' | '1' | '2' | '1nb' | '2nb';\n invisible: boolean;\n withTruncatedText: boolean;\n size: CSSProperties['blockSize'];\n minSize: CSSProperties['blockSize'];\n maxSize: CSSProperties['blockSize'];\n fontScale: FontScale;\n};\n\ntype PropDefinition =\n | {\n toCSSValue: (value: unknown) => string | undefined;\n }\n | { aliasOf: keyof StylingProps }\n | {\n toStyle: (value: unknown) => cssFn | undefined;\n };\n\nconst stringProp: PropDefinition = {\n toCSSValue: (value) => (typeof value === 'string' ? value : undefined),\n};\n\nconst numberOrStringProp: PropDefinition = {\n toCSSValue: (value) => {\n if (typeof value === 'number' || typeof value === 'string') {\n return String(value);\n }\n\n return undefined;\n },\n};\n\nconst borderWidthProp: PropDefinition = {\n toCSSValue: borderWidth,\n};\n\nconst borderRadiusProp: PropDefinition = {\n toCSSValue: borderRadius,\n};\n\nconst backgroundColorProp: PropDefinition = {\n toCSSValue: backgroundColor,\n};\n\nconst fontColorProp: PropDefinition = {\n toCSSValue: fontColor,\n};\n\nconst strokeColorProp: PropDefinition = {\n toCSSValue: strokeColor,\n};\n\nconst sizeProp: PropDefinition = {\n toCSSValue: size,\n};\n\nconst insetProp: PropDefinition = {\n toCSSValue: inset,\n};\n\nconst marginProp: PropDefinition = {\n toCSSValue: margin,\n};\n\nconst paddingProp: PropDefinition = {\n toCSSValue: padding,\n};\n\nconst fontFamilyProp: PropDefinition = {\n toCSSValue: fontFamily,\n};\n\nconst fontSizeProp: PropDefinition = {\n toCSSValue: (value) => fontScale(value)?.fontSize || size(value),\n};\n\nconst fontWeightProp: PropDefinition = {\n toCSSValue: (value) =>\n value ? String(fontScale(value)?.fontWeight || value) : undefined,\n};\n\nconst lineHeightProp: PropDefinition = {\n toCSSValue: (value) => fontScale(value)?.lineHeight || size(value),\n};\n\nconst letterSpacingProp: PropDefinition = {\n toCSSValue: (value) =>\n value ? String(fontScale(value)?.letterSpacing || value) : undefined,\n};\n\nconst aliasOf = (propName: keyof StylingProps): PropDefinition => ({\n aliasOf: propName,\n});\n\nexport const propDefs: Record<keyof StylingProps, PropDefinition> = {\n border: stringProp,\n borderBlock: stringProp,\n borderBlockStart: stringProp,\n borderBlockEnd: stringProp,\n borderInline: stringProp,\n borderInlineStart: stringProp,\n borderInlineEnd: stringProp,\n borderWidth: borderWidthProp,\n borderBlockWidth: borderWidthProp,\n borderBlockStartWidth: borderWidthProp,\n borderBlockEndWidth: borderWidthProp,\n borderInlineWidth: borderWidthProp,\n borderInlineStartWidth: borderWidthProp,\n borderInlineEndWidth: borderWidthProp,\n borderStyle: stringProp,\n borderBlockStyle: stringProp,\n borderBlockStartStyle: stringProp,\n borderBlockEndStyle: stringProp,\n borderInlineStyle: stringProp,\n borderInlineStartStyle: stringProp,\n borderInlineEndStyle: stringProp,\n borderColor: strokeColorProp,\n borderBlockColor: strokeColorProp,\n borderBlockStartColor: strokeColorProp,\n borderBlockEndColor: strokeColorProp,\n borderInlineColor: strokeColorProp,\n borderInlineStartColor: strokeColorProp,\n borderInlineEndColor: strokeColorProp,\n borderRadius: borderRadiusProp,\n borderStartStartRadius: borderRadiusProp,\n borderStartEndRadius: borderRadiusProp,\n borderEndStartRadius: borderRadiusProp,\n borderEndEndRadius: borderRadiusProp,\n\n color: fontColorProp,\n backgroundColor: backgroundColorProp,\n bg: aliasOf('backgroundColor'),\n opacity: numberOrStringProp,\n\n alignItems: stringProp,\n alignContent: stringProp,\n justifyItems: stringProp,\n justifyContent: stringProp,\n flexWrap: stringProp,\n flexDirection: stringProp,\n flexGrow: numberOrStringProp,\n flexShrink: numberOrStringProp,\n flexBasis: stringProp,\n justifySelf: stringProp,\n alignSelf: stringProp,\n order: numberOrStringProp,\n\n w: aliasOf('width'),\n width: sizeProp,\n minWidth: sizeProp,\n maxWidth: sizeProp,\n h: aliasOf('height'),\n height: sizeProp,\n minHeight: sizeProp,\n maxHeight: sizeProp,\n display: stringProp,\n verticalAlign: stringProp,\n overflow: stringProp,\n overflowX: stringProp,\n overflowY: stringProp,\n\n position: stringProp,\n zIndex: numberOrStringProp,\n inset: insetProp,\n insetBlock: insetProp,\n insetBlockStart: insetProp,\n insetBlockEnd: insetProp,\n insetInline: insetProp,\n insetInlineStart: insetProp,\n insetInlineEnd: insetProp,\n\n m: aliasOf('margin'),\n margin: marginProp,\n mb: aliasOf('marginBlock'),\n marginBlock: marginProp,\n mbs: aliasOf('marginBlockStart'),\n marginBlockStart: marginProp,\n mbe: aliasOf('marginBlockEnd'),\n marginBlockEnd: marginProp,\n mi: aliasOf('marginInline'),\n marginInline: marginProp,\n mis: aliasOf('marginInlineStart'),\n marginInlineStart: marginProp,\n mie: aliasOf('marginInlineEnd'),\n marginInlineEnd: marginProp,\n p: aliasOf('padding'),\n padding: paddingProp,\n pb: aliasOf('paddingBlock'),\n paddingBlock: paddingProp,\n pbs: aliasOf('paddingBlockStart'),\n paddingBlockStart: paddingProp,\n pbe: aliasOf('paddingBlockEnd'),\n paddingBlockEnd: paddingProp,\n pi: aliasOf('paddingInline'),\n paddingInline: paddingProp,\n pis: aliasOf('paddingInlineStart'),\n paddingInlineStart: paddingProp,\n pie: aliasOf('paddingInlineEnd'),\n paddingInlineEnd: paddingProp,\n\n fontFamily: fontFamilyProp,\n fontSize: fontSizeProp,\n fontStyle: stringProp,\n fontWeight: fontWeightProp,\n letterSpacing: letterSpacingProp,\n lineHeight: lineHeightProp,\n textAlign: stringProp,\n textTransform: stringProp,\n textDecorationLine: stringProp,\n wordBreak: stringProp,\n\n elevation: {\n toStyle: (value) => {\n if (value === '0') {\n return css`\n box-shadow: none;\n `;\n }\n\n if (value === '1') {\n return css`\n box-shadow: 0px 0px 12px 0px ${Palette.shadow['shadow-elevation-1']};\n border: 1px solid ${Palette.shadow['shadow-elevation-border']};\n `;\n }\n\n if (value === '1nb') {\n return css`\n box-shadow: 0px 0px 12px 0px ${Palette.shadow['shadow-elevation-1']};\n `;\n }\n\n if (value === '2') {\n return css`\n box-shadow:\n 0px 0px 2px 0px ${Palette.shadow['shadow-elevation-2x']},\n 0px 0px 12px 0px ${Palette.shadow['shadow-elevation-2y']};\n border: 1px solid ${Palette.shadow['shadow-elevation-border']};\n `;\n }\n\n if (value === '2nb') {\n return css`\n box-shadow:\n 0px 0px 2px 0px ${Palette.shadow['shadow-elevation-2x']},\n 0px 0px 12px 0px ${Palette.shadow['shadow-elevation-2y']};\n `;\n }\n\n return undefined;\n },\n },\n invisible: {\n toStyle: (value) =>\n value\n ? css`\n visibility: hidden;\n opacity: 0;\n `\n : undefined,\n },\n withTruncatedText: {\n toStyle: (value) =>\n value\n ? css`\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n `\n : undefined,\n },\n size: {\n toStyle: (value) =>\n size(value)\n ? css`\n width: ${size(value)} !important;\n height: ${size(value)} !important;\n `\n : undefined,\n },\n minSize: {\n toStyle: (value) =>\n size(value)\n ? css`\n min-width: ${size(value)} !important;\n min-height: ${size(value)} !important;\n `\n : undefined,\n },\n maxSize: {\n toStyle: (value) =>\n size(value)\n ? css`\n max-width: ${size(value)} !important;\n max-height: ${size(value)} !important;\n `\n : undefined,\n },\n fontScale: {\n toStyle: (value) => css`\n font-size: ${fontScale(value)?.fontSize} !important;\n font-weight: ${fontScale(value)?.fontWeight} !important;\n letter-spacing: ${fontScale(value)?.letterSpacing} !important;\n line-height: ${fontScale(value)?.lineHeight} !important;\n `,\n },\n};\n\nconst compiledPropDefs = new Map(\n (Object.entries(propDefs) as [keyof StylingProps, PropDefinition][]).map(\n ([propName, propDef]): [\n propName: string,\n inject: (\n value: unknown,\n stylingProps: Map<keyof StylingProps, cssFn>,\n ) => void,\n ] => {\n if ('aliasOf' in propDef) {\n const { aliasOf: effectivePropName } = propDef;\n\n return [\n propName,\n (value, stylingProps) => {\n if (stylingProps.has(effectivePropName)) {\n return;\n }\n\n const inject = compiledPropDefs.get(effectivePropName);\n\n inject?.(value, stylingProps);\n },\n ];\n }\n\n if ('toCSSValue' in propDef) {\n const cssProperty = fromCamelToKebab(propName);\n const { toCSSValue } = propDef;\n return [\n propName,\n (value, stylingProps) => {\n const cssValue = toCSSValue(value);\n\n if (cssValue === undefined) {\n return;\n }\n\n stylingProps.set(\n propName,\n css`\n ${cssProperty}: ${cssValue} !important;\n `,\n );\n },\n ];\n }\n\n const { toStyle } = propDef;\n\n return [\n propName,\n (value, stylingProps) => {\n const style = toStyle(value);\n\n if (style === undefined) {\n return;\n }\n\n stylingProps.set(propName, style);\n },\n ];\n },\n ),\n);\n\nexport const extractStylingProps = <TProps extends Record<string, unknown>>(\n props: TProps & Partial<StylingProps>,\n): [props: TProps, styles: cssFn | undefined] => {\n const stylingProps = new Map<keyof StylingProps, cssFn>();\n const newProps: Record<string, unknown> = {};\n\n for (const [propName, value] of Object.entries(props)) {\n const inject = compiledPropDefs.get(propName);\n\n if (!inject) {\n newProps[propName] = value;\n continue;\n }\n\n if (value === undefined) {\n continue;\n }\n\n inject(value, stylingProps);\n }\n\n const styles = stylingProps.size\n ? css`\n ${Array.from(stylingProps.values())}\n `\n : undefined;\n\n return [newProps as TProps, styles];\n};\n","import { appendClassName } from '../../helpers/appendClassName';\nimport { useStyle } from '../../hooks/useStyle';\n\nimport type { StylingProps } from './stylingProps';\nimport { extractStylingProps } from './stylingProps';\n\nexport const useStylingProps = <TProps extends { className?: string }>(\n originalProps: TProps,\n): Omit<TProps, keyof StylingProps> => {\n const [props, styles] = extractStylingProps(originalProps);\n\n const newClassName = useStyle(styles, undefined);\n\n if (newClassName) {\n props.className = props.className\n ? appendClassName(props.className, newClassName)\n : newClassName;\n }\n\n return props;\n};\n","import type { ComponentPropsWithoutRef, ComponentType } from 'react';\n\nimport type { StylingProps } from './stylingProps';\nimport { useStylingProps } from './useStylingProps';\n\nexport const withBoxStyling = <\n TComponent extends ComponentType<{\n className?: string;\n }>,\n>(\n Component: TComponent,\n) => {\n const WithBoxStyling = (\n props: ComponentPropsWithoutRef<TComponent> & Partial<StylingProps>,\n ) => {\n const propsWithoutStylingProps = useStylingProps(props);\n return <Component {...(propsWithoutStylingProps as any)} />;\n };\n\n WithBoxStyling.displayName = `WithBoxStyling(${\n Component.displayName || Component.name || 'Component'\n })`;\n\n return WithBoxStyling;\n};\n","import type { Keys as IconName } from '@rocket.chat/icons';\nimport type { AllHTMLAttributes, ButtonHTMLAttributes, ReactNode } from 'react';\n\nimport { BubbleButton } from './BubbleButton';\nimport { BubbleItem } from './BubbleItem';\n\ntype BubbleProps = {\n secondary?: boolean;\n children: ReactNode;\n small?: boolean;\n onClick?: () => void;\n icon?: IconName;\n onDismiss?: () => void;\n contentProps?: Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick'>;\n dismissProps?: Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick'>;\n} & Omit<AllHTMLAttributes<HTMLDivElement>, 'onClick'>;\n\nexport const Bubble = ({\n secondary,\n children,\n onClick,\n icon,\n onDismiss,\n small,\n contentProps,\n dismissProps,\n ...props\n}: BubbleProps) => (\n <div\n className={[\n 'rcx-bubble',\n 'rcx-box',\n 'rcx-box--full',\n onDismiss && 'rcx-bubble__group',\n small && 'rcx-bubble--small',\n ].join(' ')}\n {...props}\n >\n {onClick ? (\n <BubbleButton\n onClick={onClick}\n secondary={secondary}\n icon={icon}\n label={children}\n {...contentProps}\n />\n ) : (\n <BubbleItem\n secondary={secondary}\n icon={icon}\n label={children}\n {...contentProps}\n />\n )}\n {onDismiss && (\n <BubbleButton\n onClick={onDismiss}\n secondary={secondary}\n icon='cross-small'\n {...{ 'aria-label': `Dismiss ${children}`, ...dismissProps }}\n />\n )}\n </div>\n);\n","import type { Keys as IconName } from '@rocket.chat/icons';\nimport type { ButtonHTMLAttributes, ReactNode } from 'react';\n\nimport { Icon } from '../Icon';\n\ntype BubbleButtonProps = {\n onClick: () => void;\n label?: ReactNode;\n secondary?: boolean;\n icon?: IconName;\n} & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick'>;\n\nexport const BubbleButton = ({\n secondary,\n label,\n onClick,\n icon,\n ...props\n}: BubbleButtonProps) => (\n <button\n className={`rcx-box rcx-box--full rcx-bubble__button ${\n secondary\n ? 'rcx-bubble__button--secondary'\n : 'rcx-bubble__button--primary'\n }`}\n onClick={onClick}\n {...props}\n >\n {icon && <Icon name={icon} size='x16' />}\n {label && <span>{label}</span>}\n </button>\n);\n","import type { Keys as IconName } from '@rocket.chat/icons';\nimport type { HTMLAttributes, ReactNode } from 'react';\n\nimport { Icon } from '../Icon';\n\ntype BubbleItemProps = {\n label?: ReactNode;\n secondary?: boolean;\n icon?: IconName;\n} & HTMLAttributes<HTMLSpanElement>;\n\nexport const BubbleItem = ({\n secondary,\n label,\n icon,\n ...props\n}: BubbleItemProps) => (\n <span\n className={`rcx-bubble__item ${\n secondary ? 'rcx-bubble__item--secondary' : 'rcx-bubble__item--primary'\n }`}\n {...props}\n >\n {icon && <Icon name={icon} size='x16' mie={8} />}\n {label && <span>{label}</span>}\n </span>\n);\n","export * from './Bubble';\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { Icon } from '../Icon';\n\nimport { Button } from '.';\nimport type { ButtonProps } from './Button';\n\ntype ButtonSize = {\n mini?: boolean;\n tiny?: boolean;\n small?: boolean;\n};\ntype ActionButtonProps = ButtonProps &\n ButtonSize & {\n icon: ComponentProps<typeof Icon>['name'];\n };\n\nconst getSize = ({ tiny, mini, small }: ButtonSize) => {\n if (mini) {\n return 'x16';\n }\n if (tiny || small) {\n return 'x20';\n }\n return 'x20';\n};\n\nexport const ActionButton = forwardRef(\n ({ icon, children, ...props }: ActionButtonProps, ref: Ref<HTMLElement>) => (\n <Button ref={ref} square flexShrink={0} {...props}>\n {children}\n <Icon name={icon} size={getSize(props)} />\n </Button>\n ),\n);\n","import type { AllHTMLAttributes, ComponentProps, Ref } from 'react';\nimport { forwardRef, useMemo } from 'react';\n\nimport Box from '../Box';\nimport { Icon } from '../Icon';\n\nexport type ButtonProps = ComponentProps<typeof Box> & {\n primary?: boolean;\n secondary?: boolean;\n danger?: boolean;\n warning?: boolean;\n success?: boolean;\n disabled?: boolean;\n loading?: boolean;\n mini?: boolean;\n tiny?: boolean;\n small?: boolean;\n medium?: boolean;\n large?: boolean;\n square?: boolean;\n external?: boolean;\n icon?: ComponentProps<typeof Icon>['name'];\n} & Omit<\n AllHTMLAttributes<HTMLButtonElement | HTMLAnchorElement>,\n 'is' | 'className' | 'size'\n >;\n\n/**\n * Indicates an actionable user action.\n */\nexport const Button = forwardRef(function Button(\n {\n primary,\n secondary,\n danger,\n warning,\n success,\n external,\n icon,\n is = 'button',\n rel: _rel,\n tiny,\n mini,\n small,\n medium,\n large,\n square,\n loading,\n disabled,\n children,\n ...props\n }: ButtonProps,\n ref: Ref<HTMLButtonElement | HTMLAnchorElement>,\n) {\n const extraProps =\n (is === 'a' && {\n rel: external ? 'noopener noreferrer' : undefined,\n target: external ? '_blank' : undefined,\n }) ||\n (is === 'button' && {\n type: 'button',\n }) ||\n {};\n\n const kindAndVariantProps = useMemo(() => {\n const variant =\n (primary && 'primary') ||\n (secondary && success && 'secondary-success') ||\n (secondary && warning && 'secondary-warning') ||\n (secondary && danger && 'secondary-danger') ||\n (success && 'success') ||\n (warning && 'warning') ||\n (danger && 'danger') ||\n (secondary && 'secondary');\n\n if (variant) {\n return {\n [`rcx-button--${[variant].filter(Boolean).join('-')}`]: true,\n };\n }\n\n return {};\n }, [primary, secondary, danger, warning, success]);\n\n return (\n <Box\n is={is}\n type='button'\n rcx-button\n {...kindAndVariantProps}\n rcx-button--small={small}\n rcx-button--medium={medium}\n rcx-button--large={large}\n rcx-button--square={square}\n rcx-button--tiny-square={tiny && square}\n rcx-button--mini-square={mini && square}\n rcx-button--small-square={small && square}\n rcx-button--medium-square={medium && square}\n rcx-button--large-square={large && square}\n rcx-button--loading={loading}\n disabled={disabled || loading}\n ref={ref}\n {...extraProps}\n {...props}\n >\n <span className='rcx-button--content'>\n {icon && !loading && <Icon size='x16' name={icon} mie={4} />}\n {loading && <Icon size='x16' name='loading' mie={4} />}\n {children}\n </span>\n </Box>\n );\n});\n\nexport default Button;\n","import type { ComponentProps, ReactElement, Ref } from 'react';\nimport { isValidElement, useMemo, forwardRef } from 'react';\n\nimport Box from '../Box';\nimport { Icon } from '../Icon';\n\ntype ButtonSize = {\n large?: boolean;\n medium?: boolean;\n small?: boolean;\n tiny?: boolean;\n mini?: boolean;\n};\n\ntype IconButtonProps = {\n icon: ComponentProps<typeof Icon>['name'] | ReactElement;\n primary?: boolean;\n secondary?: boolean;\n info?: boolean;\n danger?: boolean;\n warning?: boolean;\n success?: boolean;\n pressed?: boolean;\n} & ButtonSize &\n ComponentProps<typeof Box>;\n\nconst getVariantClass = (variant: string) => {\n if (variant) {\n const variantClass = [\n `rcx-button--icon-${[variant].filter(Boolean).join('-')}`,\n ];\n return variantClass;\n }\n return [''];\n};\n\nconst getPressedClass = (variant: string) => {\n const variantClass = [\n `rcx-button--icon-${[variant].filter(Boolean).join('-')}-pressed`,\n ];\n return variantClass;\n};\n\nexport const IconButton = forwardRef(\n (\n {\n icon,\n primary,\n info,\n secondary,\n danger,\n warning,\n success,\n mini,\n large,\n tiny,\n small,\n medium,\n pressed,\n children,\n ...props\n }: IconButtonProps,\n ref: Ref<HTMLElement>,\n ) => {\n const variant = useMemo(\n () =>\n (secondary && danger && 'secondary-danger') ||\n (secondary && warning && 'secondary-warning') ||\n (secondary && success && 'secondary-success') ||\n (secondary && info && 'secondary-info') ||\n (info && 'info') ||\n (success && 'success') ||\n (warning && 'warning') ||\n (danger && 'danger') ||\n (primary && 'secondary-info') ||\n (secondary && 'secondary') ||\n '',\n [danger, info, primary, secondary, success, warning],\n );\n\n const kindAndVariantProps = useMemo(() => {\n const variantProp = {} as any;\n if (variant) {\n variantProp[`${getVariantClass(variant)}`] = true;\n }\n if (pressed) {\n variantProp[`${getPressedClass(variant)}`] = true;\n }\n return variantProp;\n }, [variant, pressed]);\n\n const size = useMemo(\n () =>\n (mini && 'mini') ||\n (tiny && 'tiny') ||\n (small && 'small') ||\n (medium && 'medium') ||\n (large && 'large') ||\n 'large',\n [medium, mini, small, tiny, large],\n );\n\n const getSizeClass = () => ({ [`rcx-button--${size}-square`]: true });\n\n const getIconSize = () =>\n (large && 'x28') ||\n (medium && 'x24') ||\n (small && 'x20') ||\n (tiny && 'x16') ||\n (mini && 'x12') ||\n 'x28';\n\n return (\n <Box\n is='button'\n type='button'\n rcx-button\n rcx-button--icon\n rcx-button--square\n {...kindAndVariantProps}\n {...getSizeClass()}\n rcx-button--icon-pressed={pressed}\n ref={ref}\n {...props}\n >\n {isValidElement(icon) ? (\n icon\n ) : (\n <Icon\n name={icon as ComponentProps<typeof Icon>['name']}\n size={getIconSize()}\n />\n )}\n {children}\n </Box>\n );\n },\n);\n","export { default, Button } from './Button';\nexport { ActionButton } from './ActionButton';\nexport { IconButton } from './IconButton';\n","import type { HTMLAttributes, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { appendClassName } from '../../helpers/appendClassName';\nimport { patchChildren } from '../../helpers/patchChildren';\n\ntype ButtonGroupProps = {\n align?: 'start' | 'center' | 'end';\n stretch?: boolean;\n wrap?: boolean;\n vertical?: boolean;\n small?: boolean;\n large?: boolean;\n} & HTMLAttributes<HTMLDivElement>;\n\n/**\n * A container for grouping buttons that semantically share a common action context.\n */\nexport const ButtonGroup = forwardRef(function ButtonGroup(\n {\n align = 'start',\n children,\n stretch,\n vertical,\n wrap,\n small,\n large,\n className,\n ...props\n }: ButtonGroupProps,\n ref: Ref<HTMLDivElement>,\n) {\n return (\n <div\n ref={ref}\n className={[\n 'rcx-button-group',\n stretch && 'rcx-button-group--stretch',\n vertical && 'rcx-button-group--vertical',\n align && `rcx-button-group--align-${align}`,\n small && 'rcx-button-group--small',\n large && 'rcx-button-group--large',\n wrap && 'rcx-button-group--wrap',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n role='group'\n {...props}\n >\n {patchChildren(\n children,\n (childProps: { className: string | string[] }) => ({\n className: appendClassName(\n childProps.className,\n 'rcx-button-group__item',\n ),\n }),\n )}\n </div>\n );\n});\n","export * from './ButtonGroup';\n","import { useResizeObserver } from '@rocket.chat/fuselage-hooks';\nimport type { ComponentProps, ReactElement, ReactNode } from 'react';\n\nimport Box from '../Box';\nimport { Icon } from '../Icon';\n\ntype CalloutProps = Omit<ComponentProps<typeof Box>, 'type' | 'name'> & {\n type?: 'info' | 'success' | 'warning' | 'danger';\n title?: ReactNode;\n children?: ReactNode;\n icon?: ComponentProps<typeof Icon>['name'];\n actions?: ReactElement;\n};\n\nconst WRAPPER_LIMIT_SIZE = 420;\n\n/**\n * The `Callout` is used to get the user's attention explaining something important in the content of the current page.\n */\nexport const Callout = ({\n type,\n title,\n children,\n icon,\n className,\n actions,\n ...props\n}: CalloutProps) => {\n const { ref, borderBoxSize } = useResizeObserver();\n const isLarge =\n borderBoxSize.inlineSize && borderBoxSize.inlineSize >= WRAPPER_LIMIT_SIZE;\n\n const defaultIcon =\n (type === 'info' && 'info-circled') ||\n (type === 'success' && 'checkmark-circled') ||\n (type === 'warning' && 'warning') ||\n (type === 'danger' && 'ban') ||\n 'info-circled';\n\n return (\n <Box\n ref={ref}\n is='section'\n className={['rcx-callout', type && `rcx-callout--${type}`, className]\n .filter(Boolean)\n .join(' ')}\n {...props}\n >\n <Icon\n className='rcx-callout__icon'\n name={icon || defaultIcon}\n size='x20'\n />\n <Box rcx-callout__wrapper rcx-callout__wrapper--large={isLarge}>\n <Box rcx-callout__wrapper-content>\n {title && <Box rcx-callout__title>{title}</Box>}\n {children && <Box rcx-callout__content>{children}</Box>}\n </Box>\n {actions && <Box rcx-callout__actions>{actions}</Box>}\n </Box>\n </Box>\n );\n};\n","export * from './Callout';\n","import { useBreakpoints } from '@rocket.chat/fuselage-hooks';\nimport type { AllHTMLAttributes } from 'react';\n\nimport Box from '../Box/Box';\n\ntype CardProps = {\n horizontal?: boolean;\n hero?: boolean;\n clickable?: boolean;\n} & Omit<AllHTMLAttributes<HTMLElement>, 'is'>;\n\nconst Card = ({ horizontal, hero, clickable, ...props }: CardProps) => {\n const breakpoints = useBreakpoints();\n const isMobile = !breakpoints.includes('sm');\n\n return (\n <Box\n rcx-card\n rcx-card__horizontal={horizontal}\n rcx-card__vertical={!horizontal}\n rcx-card__hero={hero}\n rcx-card__horizontal--wrap={horizontal && isMobile}\n rcx-card__clickable={clickable}\n {...props}\n />\n );\n};\n\nexport default Card;\n","import type {\n AllHTMLAttributes,\n CSSProperties,\n ComponentProps,\n ReactNode,\n} from 'react';\n\nimport Box from '../Box/Box';\n\ntype CardBodyProps = {\n flexDirection?: CSSProperties['flexDirection'];\n height?: ComponentProps<typeof Box>['height'];\n children: ReactNode;\n} & Omit<AllHTMLAttributes<HTMLElement>, 'is'>;\n\nconst CardBody = ({\n children,\n flexDirection = 'row',\n height,\n ...props\n}: CardBodyProps) => (\n <Box\n fontScale='p2m'\n display='flex'\n flexDirection={flexDirection}\n flexGrow={1}\n height={height}\n rcx-card__body\n {...props}\n >\n {children}\n </Box>\n);\n\nexport default CardBody;\n","import type { AllHTMLAttributes, ReactNode } from 'react';\n\nconst CardCol = ({\n children,\n ...props\n}: { children: ReactNode } & AllHTMLAttributes<HTMLElement>) => (\n <div className='rcx-card__col' {...props}>\n {children}\n </div>\n);\n\nexport default CardCol;\n","const CardControls = ({ ...props }) => (\n <div className='rcx-card__controls' {...props} />\n);\n\nexport default CardControls;\n","import type { AllHTMLAttributes, ReactNode } from 'react';\n\nconst CardHeader = ({\n children,\n ...props\n}: { children: ReactNode } & AllHTMLAttributes<HTMLElement>) => (\n <div className='rcx-card__header' {...props}>\n {children}\n </div>\n);\n\nexport default CardHeader;\n","import type { AllHTMLAttributes, ReactNode } from 'react';\n\nconst CardRow = ({\n children,\n ...props\n}: { children: ReactNode } & AllHTMLAttributes<HTMLElement>) => (\n <div className='rcx-card__row' {...props}>\n {children}\n </div>\n);\n\nexport default CardRow;\n","import type { AllHTMLAttributes, ReactNode } from 'react';\n\nimport Box from '../Box/Box';\nimport { LabelInfo } from '../Label/LabelInfo';\n\nconst CardTitle = ({\n children,\n info,\n variant = 'h4',\n ...props\n}: {\n children: ReactNode;\n info?: string;\n variant?: 'h3' | 'h4' | 'h5';\n} & Omit<AllHTMLAttributes<HTMLElement>, 'is'>) => (\n <Box fontScale={variant} is={variant} rcx-card__title {...props}>\n {children}\n {info && <LabelInfo title={info} />}\n </Box>\n);\n\nexport default CardTitle;\n","export { default as Card } from './Card';\nexport { default as CardBody } from './CardBody';\nexport { default as CardCol } from './CardCol';\nexport { default as CardRow } from './CardRow';\nexport { default as CardTitle } from './CardTitle';\nexport { default as CardControls } from './CardControls';\nexport { default as CardContent } from './CardRow';\nexport { default as CardHeader } from './CardHeader';\n","import type { ComponentProps, ReactNode } from 'react';\nimport { Children } from 'react';\n\nimport Grid, { GridItem } from '../Grid';\n\ntype CardGridProps = {\n children: ReactNode;\n breakpoints?: ComponentProps<typeof GridItem>;\n};\n\nexport const CardGrid = ({\n children,\n breakpoints,\n ...props\n}: CardGridProps) => (\n <Grid rcx-card-grid m={-8} {...props}>\n {Children.map(children, (child) => (\n <GridItem rcx-card-grid__item p={8} {...breakpoints}>\n {child}\n </GridItem>\n ))}\n </Grid>\n);\n","export * from './CardGrid';\n","import type { AllHTMLAttributes, ReactNode } from 'react';\n\nimport { appendClassName } from '../../helpers/appendClassName';\nimport { patchChildren } from '../../helpers/patchChildren';\nimport Box from '../Box';\n\ntype CardGroupProps = {\n align?: 'start' | 'center' | 'end';\n stretch?: boolean;\n wrap?: boolean;\n vertical?: boolean;\n small?: boolean;\n large?: boolean;\n children?: ReactNode;\n} & Omit<AllHTMLAttributes<HTMLElement>, 'is' | 'wrap'>;\n\nexport const CardGroup = ({\n align = 'start',\n children,\n stretch,\n vertical,\n wrap,\n ...props\n}: CardGroupProps) => (\n <Box\n rcx-card-group\n rcx-card-group--align={align}\n rcx-card-group--stretch={stretch}\n rcx-card-group--vertical={vertical}\n rcx-card-group--wrap={wrap}\n role='group'\n {...props}\n >\n {patchChildren(\n children,\n (childProps: { className: string | string[] }) => ({\n className: appendClassName(\n childProps.className,\n 'rcx-card-group__item',\n ),\n }),\n )}\n </Box>\n);\n","export * from './CardGroup';\n","import { useMergedRefs } from '@rocket.chat/fuselage-hooks';\nimport type { ComponentProps, Ref, FormEvent, AllHTMLAttributes } from 'react';\nimport { forwardRef, useLayoutEffect, useRef, useCallback } from 'react';\n\nimport Box from '../Box';\n\ntype CheckBoxProps = ComponentProps<typeof Box> & {\n indeterminate?: boolean;\n} & AllHTMLAttributes<HTMLInputElement>;\n\nexport const CheckBox = forwardRef(function CheckBox(\n { indeterminate, onChange, className, ...props }: CheckBoxProps,\n ref: Ref<HTMLInputElement>,\n) {\n const innerRef = useRef<HTMLInputElement>(null);\n const mergedRef = useMergedRefs(ref, innerRef);\n\n useLayoutEffect(() => {\n if (innerRef && innerRef.current && indeterminate !== undefined) {\n innerRef.current.indeterminate = indeterminate;\n }\n }, [innerRef, indeterminate]);\n\n const handleChange = useCallback(\n (event: FormEvent<HTMLInputElement>) => {\n if (innerRef && innerRef.current && indeterminate !== undefined) {\n innerRef.current.indeterminate = indeterminate;\n }\n onChange?.call(innerRef.current, event);\n },\n [innerRef, indeterminate, onChange],\n );\n\n return (\n <Box is='label' className={className} rcx-check-box>\n <Box\n is='input'\n type='checkbox'\n rcx-check-box__input\n ref={mergedRef}\n onChange={handleChange}\n {...props}\n />\n <Box is='i' rcx-check-box__fake aria-hidden='true' />\n </Box>\n );\n});\n","export * from './CheckBox';\n","import type { ComponentProps, ReactElement } from 'react';\nimport { useMemo } from 'react';\n\nimport Box from '../Box';\nimport { Icon } from '../Icon';\n\ntype ChevronProps = Omit<ComponentProps<typeof Box>, 'size'> & {\n size?: ComponentProps<typeof Box>['width'];\n up?: boolean;\n right?: boolean;\n left?: boolean;\n down?: boolean;\n top?: boolean;\n bottom?: boolean;\n};\n\nexport function Chevron({\n up,\n right,\n down,\n left,\n size,\n ...props\n}: ChevronProps): ReactElement<ChevronProps> {\n const children = useMemo(\n () => <Icon name='chevron-down' size={size} />,\n [size],\n );\n\n return (\n <Box\n is='span'\n children={children}\n rcx-chevron\n rcx-chevron--up={up}\n rcx-chevron--right={right}\n rcx-chevron--down={down}\n rcx-chevron--left={left}\n {...props}\n />\n );\n}\n","export * from './Chevron';\n","import type { ButtonHTMLAttributes, ReactNode } from 'react';\n\nimport { Avatar, Box } from '..';\nimport { prependClassName } from '../../helpers/prependClassName';\nimport { Icon } from '../Icon';\nimport Margins from '../Margins';\n\ntype ChipProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'type'> & {\n thumbUrl?: string;\n renderThumb?: (props: { url: string }) => ReactNode;\n renderDismissSymbol?: () => ReactNode;\n};\n\nconst defaultRenderThumb = ({ url }: { url: string }) => (\n <Box rcx-avatar>\n <Avatar size='x20' url={url} />\n </Box>\n);\nconst defaultRenderDismissSymbol = () => <Icon name='cross' size='x16' />;\n\nexport const Chip = ({\n children,\n className,\n thumbUrl,\n onClick,\n onMouseDown,\n renderThumb = defaultRenderThumb,\n renderDismissSymbol = defaultRenderDismissSymbol,\n ...rest\n}: ChipProps) => {\n const onDismiss = onClick || onMouseDown;\n\n return (\n <button\n type='button'\n className={prependClassName(className, 'rcx-box rcx-chip')}\n disabled={!onDismiss}\n onClick={onDismiss}\n {...rest}\n >\n <Margins all='x4'>\n {thumbUrl && renderThumb && renderThumb({ url: thumbUrl })}\n {children && <span className='rcx-box rcx-chip__text'>{children}</span>}\n {onDismiss && renderDismissSymbol && renderDismissSymbol()}\n </Margins>\n </button>\n );\n};\n\nChip.displayName = 'Chip';\n","import { withBoxStyling } from '../Box/withBoxStyling';\n\nimport { Chip } from './Chip';\n\nexport default withBoxStyling(Chip);\n","import type { ComponentProps, ReactElement } from 'react';\n\nimport Box from '../Box';\nimport { Button } from '../Button';\nimport { Skeleton } from '../Skeleton';\n\ntype CodeSnippetProps = ComponentProps<typeof Box> & {\n children: string;\n buttonText?: string;\n buttonDisabled?: boolean;\n onClick?: () => void;\n};\n\n/**\n * The `CodeSnippet` is used to show code or commands and make easier to copy them.\n *\n * The default button text is `Copy` but you can use the `buttonText` prop to handle translations in your project.\n *\n * Please check the `useClipBoard` hook in `fuselage-hooks` package, to handle the copy behaviour.\n */\nconst CodeSnippet = ({\n children,\n onClick,\n buttonText = 'Copy',\n buttonDisabled = false,\n ...props\n}: CodeSnippetProps): ReactElement<CodeSnippetProps> => {\n if (!children) {\n return (\n <Box is='pre' rcx-code-snippet {...props}>\n <Skeleton w='100%' aria-hidden aria-busy />\n </Box>\n );\n }\n\n return (\n <Box is='pre' rcx-code-snippet {...props}>\n <Box role='code' rcx-code-snippet__codebox>\n {children}\n </Box>\n {onClick && children && (\n <Box>\n <Button small primary onClick={onClick} disabled={buttonDisabled}>\n {buttonText}\n </Button>\n </Box>\n )}\n </Box>\n );\n};\n\nexport default CodeSnippet;\n","export { default } from './CodeSnippet';\n","import type { ComponentProps } from 'react';\nimport { forwardRef, memo } from 'react';\n\nimport { Box } from '..';\n\ntype ContextualbarProps = ComponentProps<typeof Box>;\n\n/**\n * The `Contextualbar` has the purpose to persist and input information about the scope of the related page.\n */\nconst Contextualbar = forwardRef<HTMLElement, ContextualbarProps>(\n function Contextualbar(\n { children, width, position, bg = 'room', ...props },\n ref,\n ) {\n return (\n <Box\n ref={ref}\n rcx-vertical-bar\n bg={bg}\n color='default'\n display='flex'\n flexDirection='column'\n flexShrink={0}\n width={width}\n borderInlineStartWidth='default'\n borderInlineStartColor='extra-light'\n borderInlineStartStyle='solid'\n height='full'\n position={position}\n insetInlineEnd='none'\n insetBlockStart='none'\n zIndex={10}\n {...props}\n >\n {children}\n </Box>\n );\n },\n);\n\nexport default memo(Contextualbar);\n","import type { ReactElement, ComponentProps } from 'react';\nimport { memo } from 'react';\n\nimport type { Icon } from '..';\nimport { IconButton } from '..';\n\ntype ContextualbarActionProps = {\n name: ComponentProps<typeof Icon>['name'];\n} & Omit<ComponentProps<typeof IconButton>, 'icon'>;\n\nconst ContextualbarAction = ({\n name,\n ...props\n}: ContextualbarActionProps): ReactElement => (\n <IconButton {...props} small flexShrink={0} icon={name} />\n);\n\nexport default memo(ContextualbarAction);\n","import type { ReactElement, ComponentProps } from 'react';\nimport { memo } from 'react';\n\nimport { ButtonGroup } from '..';\n\nconst ContextualbarActions = (\n props: ComponentProps<typeof ButtonGroup>,\n): ReactElement => <ButtonGroup {...props} />;\n\nexport default memo(ContextualbarActions);\n","import type { ComponentProps, ReactElement } from 'react';\nimport { memo } from 'react';\n\nimport { Button } from '..';\n\nconst ContextualbarButton = (\n props: ComponentProps<typeof Button>,\n): ReactElement => <Button {...props} />;\n\nexport default memo(ContextualbarButton);\n","import type { ComponentProps } from 'react';\nimport { forwardRef, memo } from 'react';\n\nimport { Box } from '..';\n\nconst ContextualbarContent = forwardRef<\n HTMLElement,\n ComponentProps<typeof Box>\n>(function ContextualbarContent(props, ref) {\n return (\n <Box\n ref={ref}\n rcx-vertical-bar__content\n paddingInline={24}\n display='flex'\n flexDirection='column'\n overflowY='hidden'\n height='full'\n {...props}\n />\n );\n});\n\nexport default memo(ContextualbarContent);\n","import type { ComponentProps } from 'react';\nimport { forwardRef, memo } from 'react';\n\nimport type { Box } from '..';\nimport { StatesIcon, States, StatesTitle, StatesSubtitle } from '..';\n\nimport ContextualbarContent from './ContextualbarContent';\n\ntype ContextualbarEmptyContentProps = ComponentProps<typeof Box> & {\n icon?: ComponentProps<typeof StatesIcon>['name'];\n title?: string;\n subtitle?: string;\n};\n\nconst ContextualbarEmptyContent = forwardRef<\n HTMLElement,\n ContextualbarEmptyContentProps\n>(function ContextualbarEmptyContent(\n { icon = 'magnifier', title = 'Nothing Found', subtitle, ...props },\n ref,\n) {\n return (\n <ContextualbarContent justifyContent='center' {...props} ref={ref}>\n <States>\n <StatesIcon name={icon} />\n <StatesTitle>{title}</StatesTitle>\n {subtitle && <StatesSubtitle>{subtitle}</StatesSubtitle>}\n </States>\n </ContextualbarContent>\n );\n});\n\nexport default memo(ContextualbarEmptyContent);\n","import type { ComponentProps } from 'react';\nimport { forwardRef, memo } from 'react';\n\nimport { Box } from '..';\n\nconst ContextualbarFooter = forwardRef<HTMLElement, ComponentProps<typeof Box>>(\n function ContextualbarFooter({ children, ...props }, ref) {\n return (\n <Box ref={ref} p={24} {...props}>\n {children}\n </Box>\n );\n },\n);\n\nexport default memo(ContextualbarFooter);\n","import type { ComponentProps } from 'react';\nimport { memo } from 'react';\n\nimport Box from '../Box';\nimport Margins from '../Margins';\n\ntype ContextualbarHeaderProps = ComponentProps<typeof Box>;\n\nconst ContextualbarHeader = ({\n children,\n ...props\n}: ContextualbarHeaderProps) => (\n <Box\n display='flex'\n alignItems='center'\n height='x56'\n pi={24}\n borderBlockEndWidth='default'\n borderBlockColor='extra-light'\n flexShrink={0}\n {...props}\n >\n <Box\n marginInline='neg-x4'\n display='flex'\n alignItems='center'\n justifyContent='space-between'\n flexGrow={1}\n height='100%'\n overflow='hidden'\n >\n <Margins inline='x4'>{children}</Margins>\n </Box>\n </Box>\n);\nexport default memo(ContextualbarHeader);\n","import type { ReactElement, ComponentProps } from 'react';\nimport { memo } from 'react';\n\nimport { Icon } from '..';\n\nconst ContextualbarIcon = (\n props: ComponentProps<typeof Icon>,\n): ReactElement => <Icon {...props} pi={2} size='x24' />;\n\nexport default memo(ContextualbarIcon);\n","import type { ComponentProps } from 'react';\nimport { forwardRef, memo } from 'react';\n\nimport { Box } from '..';\n\nconst ContextualbarSection = forwardRef<\n HTMLElement,\n ComponentProps<typeof Box>\n>(function ContextualbarSection(props, ref) {\n return (\n <Box\n ref={ref}\n rcx-vertical-bar__section\n pi={24}\n pb={16}\n display='flex'\n alignItems='center'\n flexGrow={1}\n borderBlockEndWidth='default'\n borderBlockColor='extra-light'\n {...props}\n />\n );\n});\n\nexport default memo(ContextualbarSection);\n","import type { ReactElement, ComponentProps } from 'react';\nimport { memo } from 'react';\n\nimport Box from '../Box';\nimport { Skeleton } from '../Skeleton';\n\nimport Contextualbar from './Contextualbar';\nimport ContextualbarHeader from './ContextualbarHeader';\n\nconst ContextualbarSkeleton = (\n props: ComponentProps<typeof Box>,\n): ReactElement => (\n <Contextualbar {...props}>\n <ContextualbarHeader>\n <Skeleton width='100%' />\n </ContextualbarHeader>\n <Box p={24}>\n <Skeleton mbe={4} width='32px' height='32px' variant='rect' />\n {Array(5)\n .fill(5)\n .map((_, index) => (\n <Skeleton key={index} />\n ))}\n </Box>\n </Contextualbar>\n);\n\nexport default memo(ContextualbarSkeleton);\n","import type { ReactElement, ComponentProps } from 'react';\nimport { memo } from 'react';\n\nimport { Box } from '..';\n\nconst ContextualbarTitle = (\n props: ComponentProps<typeof Box>,\n): ReactElement => (\n <Box\n flexShrink={1}\n flexGrow={1}\n fontScale='h4'\n withTruncatedText\n {...props}\n />\n);\n\nexport default memo(ContextualbarTitle);\n","import Contextualbar from './Contextualbar';\nimport ContextualbarAction from './ContextualbarAction';\nimport ContextualbarActions from './ContextualbarActions';\nimport ContextualbarButton from './ContextualbarButton';\nimport ContextualbarContent from './ContextualbarContent';\nimport ContextualbarEmptyContent from './ContextualbarEmptyContent';\nimport ContextualbarFooter from './ContextualbarFooter';\nimport ContextualbarHeader from './ContextualbarHeader';\nimport ContextualbarIcon from './ContextualbarIcon';\nimport ContextualbarSection from './ContextualbarSection';\nimport ContextualbarSkeleton from './ContextualbarSkeleton';\nimport ContextualbarTitle from './ContextualbarTitle';\n\nexport {\n Contextualbar,\n ContextualbarAction,\n ContextualbarActions,\n ContextualbarButton,\n ContextualbarContent,\n ContextualbarEmptyContent,\n ContextualbarFooter,\n ContextualbarHeader,\n ContextualbarIcon,\n ContextualbarSkeleton,\n ContextualbarTitle,\n ContextualbarSection,\n};\n","import type { ComponentProps } from 'react';\nimport { forwardRef, memo } from 'react';\n\nimport { Box } from '..';\n\ntype ContextualbarProps = ComponentProps<typeof Box>;\n\n/**\n * The `Contextualbar` has the purpose to persist and input information about the scope of the related page.\n */\nconst Contextualbar = forwardRef<HTMLElement, ContextualbarProps>(\n function Contextualbar(\n { children, width, position, bg = 'room', ...props },\n ref,\n ) {\n return (\n <Box\n ref={ref}\n rcx-vertical-bar\n bg={bg}\n color='default'\n display='flex'\n flexDirection='column'\n flexShrink={0}\n width={width}\n borderInlineStartWidth='default'\n borderInlineStartColor='extra-light'\n borderInlineStartStyle='solid'\n height='full'\n position={position}\n insetInlineEnd='none'\n insetBlockStart='none'\n zIndex={10}\n {...props}\n >\n {children}\n </Box>\n );\n },\n);\n\nexport default memo(Contextualbar);\n","import type { ReactElement, ComponentProps } from 'react';\nimport { memo } from 'react';\n\nimport type { Icon } from '..';\nimport { IconButton } from '..';\n\ntype ContextualbarActionProps = {\n name: ComponentProps<typeof Icon>['name'];\n} & Omit<ComponentProps<typeof IconButton>, 'icon'>;\n\nconst ContextualbarAction = ({\n name,\n ...props\n}: ContextualbarActionProps): ReactElement => (\n <IconButton {...props} small flexShrink={0} icon={name} />\n);\n\nexport default memo(ContextualbarAction);\n","import type { ReactElement, ComponentProps } from 'react';\nimport { memo } from 'react';\n\nimport { ButtonGroup } from '..';\n\nconst ContextualbarActions = (\n props: ComponentProps<typeof ButtonGroup>,\n): ReactElement => <ButtonGroup {...props} />;\n\nexport default memo(ContextualbarActions);\n","import type { ComponentProps, ReactElement } from 'react';\nimport { memo } from 'react';\n\nimport { Button } from '..';\n\nconst ContextualbarButton = (\n props: ComponentProps<typeof Button>,\n): ReactElement => <Button {...props} />;\n\nexport default memo(ContextualbarButton);\n","import type { ComponentProps } from 'react';\nimport { forwardRef, memo } from 'react';\n\nimport { Box } from '..';\n\nconst ContextualbarContent = forwardRef<\n HTMLElement,\n ComponentProps<typeof Box>\n>(function ContextualbarContent(props, ref) {\n return (\n <Box\n ref={ref}\n rcx-vertical-bar__content\n paddingInline={24}\n display='flex'\n flexDirection='column'\n overflowY='hidden'\n height='full'\n {...props}\n />\n );\n});\n\nexport default memo(ContextualbarContent);\n","import type { ComponentProps } from 'react';\nimport { forwardRef, memo } from 'react';\n\nimport type { Box } from '..';\nimport { StatesIcon, States, StatesTitle, StatesSubtitle } from '..';\n\nimport ContextualbarContent from './ContextualbarContent';\n\ntype ContextualbarEmptyContentProps = ComponentProps<typeof Box> & {\n icon?: ComponentProps<typeof StatesIcon>['name'];\n title?: string;\n subtitle?: string;\n};\n\nconst ContextualbarEmptyContent = forwardRef<\n HTMLElement,\n ContextualbarEmptyContentProps\n>(function ContextualbarEmptyContent(\n { icon = 'magnifier', title = 'Nothing Found', subtitle, ...props },\n ref,\n) {\n return (\n <ContextualbarContent justifyContent='center' {...props} ref={ref}>\n <States>\n <StatesIcon name={icon} />\n <StatesTitle>{title}</StatesTitle>\n {subtitle && <StatesSubtitle>{subtitle}</StatesSubtitle>}\n </States>\n </ContextualbarContent>\n );\n});\n\nexport default memo(ContextualbarEmptyContent);\n","import type { ComponentProps } from 'react';\nimport { forwardRef, memo } from 'react';\n\nimport { Box } from '..';\n\nconst ContextualbarFooter = forwardRef<HTMLElement, ComponentProps<typeof Box>>(\n function ContextualbarFooter({ children, ...props }, ref) {\n return (\n <Box ref={ref} pi={16} pb={20} {...props}>\n {children}\n </Box>\n );\n },\n);\n\nexport default memo(ContextualbarFooter);\n","import { css } from '@rocket.chat/css-in-js';\nimport type { ComponentProps } from 'react';\nimport { memo } from 'react';\n\nimport Box from '../Box';\n\ntype ContextualbarHeaderProps = ComponentProps<typeof Box>;\n\nconst ContextualbarHeader = ({\n children,\n ...props\n}: ContextualbarHeaderProps) => (\n <Box\n display='flex'\n alignItems='center'\n height='x44'\n pi={16}\n borderBlockEndWidth='default'\n borderBlockColor='extra-light'\n flexShrink={0}\n {...props}\n >\n <Box\n display='flex'\n alignItems='center'\n justifyContent='space-between'\n flexGrow={1}\n height='100%'\n overflow='hidden'\n className={css`\n gap: 8px;\n `}\n >\n {children}\n </Box>\n </Box>\n);\n\nexport default memo(ContextualbarHeader);\n","import type { ReactElement, ComponentProps } from 'react';\nimport { memo } from 'react';\n\nimport { Icon } from '..';\n\nconst ContextualbarIcon = (\n props: ComponentProps<typeof Icon>,\n): ReactElement => <Icon {...props} pi={2} size='x20' />;\n\nexport default memo(ContextualbarIcon);\n","import type { ComponentProps } from 'react';\nimport { forwardRef, memo } from 'react';\n\nimport { Box } from '..';\n\nconst ContextualbarSection = forwardRef<\n HTMLElement,\n ComponentProps<typeof Box>\n>(function ContextualbarSection(props, ref) {\n return (\n <Box\n ref={ref}\n rcx-vertical-bar__section\n p={16}\n display='flex'\n alignItems='center'\n flexGrow={1}\n borderBlockEndWidth='default'\n borderBlockColor='extra-light'\n {...props}\n />\n );\n});\n\nexport default memo(ContextualbarSection);\n","import type { ReactElement, ComponentProps } from 'react';\nimport { memo } from 'react';\n\nimport { Box, Skeleton } from '..';\n\nimport {\n ContextualbarV2 as Contextualbar,\n ContextualbarV2Header as ContextualbarHeader,\n} from '.';\n\nconst ContextualbarSkeleton = (\n props: ComponentProps<typeof Box>,\n): ReactElement => (\n <Contextualbar {...props}>\n <ContextualbarHeader>\n <Skeleton width='100%' />\n </ContextualbarHeader>\n <Box p={24}>\n <Skeleton mbe={4} width='32px' height='32px' variant='rect' />\n {Array(5)\n .fill(5)\n .map((_, index) => (\n <Skeleton key={index} />\n ))}\n </Box>\n </Contextualbar>\n);\n\nexport default memo(ContextualbarSkeleton);\n","import type { ReactElement, ComponentProps } from 'react';\nimport { memo } from 'react';\n\nimport { Box } from '..';\n\nconst ContextualbarTitle = (\n props: ComponentProps<typeof Box>,\n): ReactElement => (\n <Box\n flexShrink={1}\n flexGrow={1}\n fontScale='h5'\n withTruncatedText\n {...props}\n />\n);\n\nexport default memo(ContextualbarTitle);\n","import Contextualbar from './Contextualbar';\nimport ContextualbarAction from './ContextualbarAction';\nimport ContextualbarActions from './ContextualbarActions';\nimport ContextualbarButton from './ContextualbarButton';\nimport ContextualbarContent from './ContextualbarContent';\nimport ContextualbarEmptyContent from './ContextualbarEmptyContent';\nimport ContextualbarFooter from './ContextualbarFooter';\nimport ContextualbarHeader from './ContextualbarHeader';\nimport ContextualbarIcon from './ContextualbarIcon';\nimport ContextualbarSection from './ContextualbarSection';\nimport ContextualbarSkeleton from './ContextualbarSkeleton';\nimport ContextualbarTitle from './ContextualbarTitle';\n\nexport {\n Contextualbar as ContextualbarV2,\n ContextualbarAction as ContextualbarV2Action,\n ContextualbarActions as ContextualbarV2Actions,\n ContextualbarButton as ContextualbarV2Button,\n ContextualbarContent as ContextualbarV2Content,\n ContextualbarEmptyContent as ContextualbarV2EmptyContent,\n ContextualbarFooter as ContextualbarV2Footer,\n ContextualbarHeader as ContextualbarV2Header,\n ContextualbarIcon as ContextualbarV2Icon,\n ContextualbarSkeleton as ContextualbarV2Skeleton,\n ContextualbarTitle as ContextualbarV2Title,\n ContextualbarSection as ContextualbarV2Section,\n};\n","import type { ComponentProps, ReactNode } from 'react';\n\nimport Box from '../Box';\n\ntype DividerProps = ComponentProps<typeof Box> & {\n variation?: 'danger';\n children?: ReactNode;\n vertical?: boolean;\n};\n\nconst Divider = ({ variation, children, vertical, ...props }: DividerProps) => {\n if (!children) {\n return (\n <Box\n is='hr'\n rcx-divider\n rcx-divider--vertical={vertical}\n rcx-divider--danger={variation === 'danger'}\n {...props}\n />\n );\n }\n return (\n <Box rcx-message-divider role='separator' {...props}>\n <div className='rcx-divider__bar' />\n <div className='rcx-divider__wrapper'>{children}</div>\n <div className='rcx-divider__bar' />\n </Box>\n );\n};\nexport { Divider };\n","export * from './Divider';\n","import type { UsePositionOptions } from '@rocket.chat/fuselage-hooks';\nimport { useMediaQuery } from '@rocket.chat/fuselage-hooks';\nimport type { ReactNode, Ref, RefObject } from 'react';\nimport { forwardRef } from 'react';\n\nimport { DropdownDesktopWrapper } from './DropdownDesktopWrapper';\nimport { DropdownMobile } from './DropdownMobile';\n\nexport const Dropdown = forwardRef(function Dropdown<\n T extends HTMLElement,\n R extends HTMLElement,\n>(\n {\n children,\n reference,\n placement = 'bottom-start',\n }: {\n reference: RefObject<T>;\n placement?: UsePositionOptions['placement'];\n children: ReactNode;\n },\n ref: Ref<R>,\n) {\n const notSmall = useMediaQuery('(min-width: 500px)');\n\n return notSmall ? (\n <DropdownDesktopWrapper\n reference={reference}\n children={children}\n placement={placement}\n ref={ref}\n />\n ) : (\n <DropdownMobile children={children} ref={ref} />\n );\n});\n","import type { CSSProperties, ReactNode, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { Box, Tile } from '..';\n\nexport const DropdownDesktop = forwardRef(function DropdownDesktop<\n R extends HTMLElement,\n>(\n {\n children,\n style,\n ...props\n }: {\n children: ReactNode;\n maxWidth?: string;\n style?: CSSProperties;\n },\n ref: Ref<R>,\n) {\n return (\n <Tile\n style={style}\n ref={ref}\n elevation='2'\n pi='0'\n pb='0'\n display='flex'\n flexDirection='column'\n overflow='auto'\n data-testid='dropdown'\n {...props}\n >\n <Box flexShrink={1} pb={12}>\n {style?.visibility === 'hidden' ? null : children}\n </Box>\n </Tile>\n );\n});\n","import type { UsePositionOptions } from '@rocket.chat/fuselage-hooks';\nimport { usePosition } from '@rocket.chat/fuselage-hooks';\nimport type { ReactNode, Ref, RefObject } from 'react';\nimport { forwardRef } from 'react';\n\nimport { DropdownDesktop } from './DropdownDesktop';\n\nexport const DropdownDesktopWrapper = forwardRef(\n function DropdownDesktopWrapper<T extends HTMLElement, R extends HTMLElement>(\n {\n children,\n reference,\n placement = 'bottom-start',\n ...props\n }: {\n reference: RefObject<T>;\n placement?: UsePositionOptions['placement'];\n children: ReactNode;\n },\n ref: Ref<R>,\n ) {\n const { style } = usePosition(reference, ref as RefObject<R>, {\n placement,\n });\n\n return (\n <DropdownDesktop style={style} children={children} ref={ref} {...props} />\n );\n },\n);\n","import type { ReactNode, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { Box, Tile } from '..';\n\nexport const DropdownMobile = forwardRef(function DropdownMobile<\n R extends HTMLElement,\n>(\n {\n children,\n ...props\n }: {\n children: ReactNode;\n },\n ref: Ref<R>,\n) {\n return (\n <Tile\n ref={ref}\n elevation='2'\n pi='0'\n pb='0'\n w='100vw'\n maxHeight='80%'\n position='fixed'\n display='flex'\n flexDirection='column'\n overflow='auto'\n style={{ bottom: 0, left: 0 }}\n zIndex={2}\n data-testid='dropdown'\n {...props}\n >\n <Box flexShrink={1} pb={16}>\n {children}\n </Box>\n </Tile>\n );\n});\n","export * from './Dropdown';\n","import type { ComponentProps, ReactNode, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { InputBox } from '../InputBox';\n\ntype EmailInputProps = Omit<ComponentProps<typeof InputBox>, 'type'> & {\n addon?: ReactNode;\n error?: string;\n};\n\n// Import from InputBox once it's converted to tsx\ntype InputType =\n | 'button'\n | 'checkbox'\n | 'color'\n | 'date'\n | 'datetime'\n | 'datetime-local'\n | 'email'\n | 'file'\n | 'hidden'\n | 'image'\n | 'month'\n | 'number'\n | 'password'\n | 'radio'\n | 'range'\n | 'reset'\n | 'search'\n | 'submit'\n | 'tel'\n | 'text'\n | 'time'\n | 'url'\n | 'week'\n | 'textarea'\n | 'select';\n\nconst type: InputType = 'email';\n\n/**\n * An input for email addresses.\n */\nexport const EmailInput = forwardRef(function EmailInput(\n props: EmailInputProps,\n ref: Ref<HTMLElement>,\n) {\n return <InputBox type={type} ref={ref} {...props} />;\n});\n","export * from './EmailInput';\n","import type { ComponentPropsWithoutRef } from 'react';\nimport { createContext } from 'react';\n\nimport Box from '../Box';\n\nexport const FieldContext = createContext(false);\n\ntype FieldProps = ComponentPropsWithoutRef<typeof Box>;\n\n/**\n * A `Field` is a wrapper representing an entry in a form.\n */\nexport function Field(props: FieldProps) {\n return (\n <FieldContext.Provider value={true}>\n <Box rcx-field {...props} />\n </FieldContext.Provider>\n );\n}\n","import type { ComponentPropsWithoutRef } from 'react';\n\nimport WithErrorWrapper from '../../helpers/WithErrorWrapper';\nimport Box from '../Box';\n\nimport { FieldContext } from './Field';\n\ntype FieldDescriptionProps = ComponentPropsWithoutRef<typeof Box>;\n\nexport const FieldDescription = (props: FieldDescriptionProps) => {\n const component = <Box is='span' rcx-field__description {...props} />;\n\n if (process.env.NODE_ENV === 'development') {\n return (\n <WithErrorWrapper\n context={FieldContext}\n parentComponent='Field'\n componentName={FieldDescription.name}\n >\n {component}\n </WithErrorWrapper>\n );\n }\n\n return component;\n};\n","import type { ComponentPropsWithoutRef } from 'react';\n\nimport WithErrorWrapper from '../../helpers/WithErrorWrapper';\nimport Box from '../Box';\n\nimport { FieldContext } from './Field';\n\ntype FieldErrorProps = ComponentPropsWithoutRef<typeof Box>;\n\nexport const FieldError = (props: FieldErrorProps) => {\n const component = <Box is='span' rcx-field__error {...props} />;\n\n if (process.env.NODE_ENV === 'development') {\n return (\n <WithErrorWrapper\n context={FieldContext}\n parentComponent='Field'\n componentName={FieldError.name}\n >\n {component}\n </WithErrorWrapper>\n );\n }\n\n return component;\n};\n","import type { ComponentPropsWithoutRef } from 'react';\n\nimport WithErrorWrapper from '../../helpers/WithErrorWrapper';\nimport Box from '../Box';\n\nimport { FieldContext } from './Field';\n\ntype FieldHintProps = ComponentPropsWithoutRef<typeof Box>;\n\nexport const FieldHint = (props: FieldHintProps) => {\n const component = <Box is='span' rcx-field__hint {...props} />;\n\n if (process.env.NODE_ENV === 'development') {\n return (\n <WithErrorWrapper\n context={FieldContext}\n parentComponent='Field'\n componentName={FieldHint.name}\n >\n {component}\n </WithErrorWrapper>\n );\n }\n\n return component;\n};\n","import type { ComponentPropsWithoutRef } from 'react';\n\nimport WithErrorWrapper from '../../helpers/WithErrorWrapper';\nimport Box from '../Box';\nimport { Label } from '../Label';\n\nimport { FieldContext } from './Field';\n\ntype FieldLabelProps = ComponentPropsWithoutRef<typeof Label>;\n\nexport const FieldLabel = (props: FieldLabelProps) => {\n const component = <Box is={Label} rcx-field__label {...props} />;\n\n if (process.env.NODE_ENV === 'development') {\n return (\n <WithErrorWrapper\n context={FieldContext}\n parentComponent='Field'\n componentName={FieldLabel.name}\n >\n {component}\n </WithErrorWrapper>\n );\n }\n\n return component;\n};\n","import type { ComponentProps } from 'react';\n\nimport WithErrorWrapper from '../../helpers/WithErrorWrapper';\nimport { LabelInfo } from '../Label/LabelInfo';\n\nimport { FieldContext } from './Field';\n\ntype FieldLabelInfoProps = ComponentProps<typeof LabelInfo>;\n\nexport const FieldLabelInfo = (props: FieldLabelInfoProps) => {\n const component = <LabelInfo {...props} />;\n\n if (process.env.NODE_ENV === 'development') {\n return (\n <WithErrorWrapper\n context={FieldContext}\n parentComponent='Field'\n componentName={FieldLabelInfo.name}\n >\n {component}\n </WithErrorWrapper>\n );\n }\n\n return component;\n};\n","import type { ComponentPropsWithoutRef } from 'react';\n\nimport WithErrorWrapper from '../../helpers/WithErrorWrapper';\nimport Box from '../Box';\n\nimport { FieldContext } from './Field';\n\ntype FieldLinkProps = ComponentPropsWithoutRef<typeof Box>;\n\nexport const FieldLink = (props: FieldLinkProps) => {\n const component = <Box is='a' target='_blank' rcx-field__link {...props} />;\n\n if (process.env.NODE_ENV === 'development') {\n return (\n <WithErrorWrapper\n context={FieldContext}\n parentComponent='Field'\n componentName={FieldLink.name}\n >\n {component}\n </WithErrorWrapper>\n );\n }\n\n return component;\n};\n","import type { ComponentPropsWithoutRef } from 'react';\n\nimport WithErrorWrapper from '../../helpers/WithErrorWrapper';\nimport Box from '../Box';\n\nimport { FieldContext } from './Field';\n\ntype FieldRowProps = ComponentPropsWithoutRef<typeof Box>;\n\nexport const FieldRow = (props: FieldRowProps) => {\n const component = <Box is='span' rcx-field__row {...props} />;\n\n if (process.env.NODE_ENV === 'development') {\n return (\n <WithErrorWrapper\n context={FieldContext}\n parentComponent='Field'\n componentName={FieldRow.name}\n >\n {component}\n </WithErrorWrapper>\n );\n }\n\n return component;\n};\n","import { Field } from './Field';\nimport { FieldDescription } from './FieldDescription';\nimport { FieldError } from './FieldError';\nimport { FieldHint } from './FieldHint';\nimport { FieldLabel } from './FieldLabel';\nimport { FieldLabelInfo } from './FieldLabelInfo';\nimport { FieldLink } from './FieldLink';\nimport { FieldRow } from './FieldRow';\n\nexport {\n Field,\n FieldDescription,\n FieldError,\n FieldHint,\n FieldLabel,\n FieldLabelInfo,\n FieldLink,\n FieldRow,\n};\n\nexport default Object.assign(Field, {\n /**\n * @deprecated Use named import `FieldLabel` instead\n */\n Label: FieldLabel,\n /**\n * @deprecated Use named import `FieldDescription` instead\n\n */\n Description: FieldDescription,\n /**\n * @deprecated Use named import `FieldRow` instead\n\n */\n Row: FieldRow,\n /**\n * @deprecated Use named import `FieldError` instead\n\n */\n Error: FieldError,\n /**\n * @deprecated Use named import `FieldHint` instead\n\n */\n Hint: FieldHint,\n /**\n * @deprecated Use named import `FieldLink` instead\n\n */\n Link: FieldLink,\n});\n","import type { ComponentProps } from 'react';\n\nimport { appendClassName } from '../../helpers/appendClassName';\nimport { patchChildren } from '../../helpers/patchChildren';\nimport Box from '../Box';\n\ntype FieldGroupProps = ComponentProps<typeof Box>;\n\n/**\n * A container for grouping fields that semantically share a common data context.\n */\nexport const FieldGroup = ({ children, ...props }: FieldGroupProps) => (\n <Box is='fieldset' rcx-field-group role='group' {...props}>\n {patchChildren(\n children,\n (childProps: { className: string | string[] }) => ({\n className: appendClassName(\n childProps.className,\n 'rcx-field-group__item',\n ),\n }),\n )}\n </Box>\n);\n","export * from './FieldGroup';\n","import type { ReactNode } from 'react';\nimport { useCallback } from 'react';\n\nimport { BoxTransforms, useComposedBoxTransform } from '../Box/BoxTransforms';\n\ntype FlexContainerProps = {\n children?: ReactNode;\n inline?: boolean;\n direction?: 'row' | 'row-reverse' | 'column' | 'column-reverse';\n wrap?: 'no-wrap' | 'wrap' | 'wrap-reverse';\n alignItems?: 'stretch' | 'start' | 'center' | 'end' | 'baseline';\n alignContent?: 'start' | 'center' | 'end' | 'space-between' | 'space-around';\n justifyContent?:\n | 'start'\n | 'center'\n | 'end'\n | 'space-between'\n | 'space-around';\n};\n\nfunction FlexContainer({\n inline = false,\n children,\n direction,\n wrap,\n alignItems,\n alignContent,\n justifyContent,\n}: FlexContainerProps) {\n const transformFn = useCallback(\n (props: any) => {\n if (inline !== undefined && props.display === undefined) {\n props.display = inline ? 'inline-flex' : 'flex';\n }\n\n if (direction !== undefined && props.flexDirection === undefined) {\n props.flexDirection = direction;\n }\n\n if (wrap !== undefined && props.flexWrap === undefined) {\n props.flexWrap = wrap === 'no-wrap' ? 'nowrap' : wrap;\n }\n\n if (alignItems !== undefined && props.alignItems === undefined) {\n props.alignItems =\n (alignItems === 'start' && 'flex-start') ||\n (alignItems === 'end' && 'flex-end') ||\n alignItems;\n }\n\n if (alignContent !== undefined && props.alignContent === undefined) {\n props.alignContent =\n (alignContent === 'start' && 'flex-start') ||\n (alignContent === 'end' && 'flex-end') ||\n alignContent;\n }\n\n if (justifyContent !== undefined && props.justifyContent === undefined) {\n props.justifyContent =\n (justifyContent === 'start' && 'flex-start') ||\n (justifyContent === 'end' && 'flex-end') ||\n justifyContent;\n }\n\n return props;\n },\n [alignContent, alignItems, direction, inline, justifyContent, wrap],\n );\n\n return (\n <BoxTransforms.Provider\n children={children}\n value={useComposedBoxTransform(transformFn)}\n />\n );\n}\n\nexport default FlexContainer;\n","import type { ReactNode } from 'react';\nimport { useCallback } from 'react';\n\nimport { BoxTransforms, useComposedBoxTransform } from '../Box/BoxTransforms';\n\ntype FlexItemProps = {\n children?: ReactNode;\n order?: number;\n grow?: number;\n shrink?: number;\n basis?: number | string | 'auto';\n align?: 'auto' | 'start' | 'end' | 'center' | 'stretch';\n};\n\nfunction FlexItem({\n children,\n order,\n grow,\n shrink,\n basis,\n align,\n}: FlexItemProps) {\n const transformFn = useCallback(\n (props: any) => {\n if (order !== undefined && props.order === undefined) {\n props.order = order;\n }\n\n if (grow !== undefined && props.flexGrow === undefined) {\n props.flexGrow = grow;\n }\n\n if (shrink !== undefined && props.flexShrink === undefined) {\n props.flexShrink = shrink;\n }\n\n if (basis !== undefined && props.flexBasis === undefined) {\n props.flexBasis = basis;\n }\n\n if (align !== undefined && props.alignSelf === undefined) {\n props.alignSelf =\n (align === 'start' && 'flex-start') ||\n (align === 'end' && 'flex-end') ||\n align;\n }\n\n return props;\n },\n [align, basis, grow, order, shrink],\n );\n\n return (\n <BoxTransforms.Provider\n children={children}\n value={useComposedBoxTransform(transformFn)}\n />\n );\n}\n\nexport default FlexItem;\n","import FlexContainer from './FlexContainer';\nimport FlexItem from './FlexItem';\n\nexport default {\n Container: FlexContainer,\n Item: FlexItem,\n};\n","import type { Keys } from '@rocket.chat/icons';\nimport type { AllHTMLAttributes } from 'react';\n\nimport { Icon } from '../Icon';\n\ntype FramedIconProps = {\n info?: boolean;\n success?: boolean;\n warning?: boolean;\n danger?: boolean;\n neutral?: boolean;\n icon: Keys;\n} & Omit<AllHTMLAttributes<HTMLElement>, 'is'>;\n\nexport const FramedIcon = ({\n info,\n success,\n warning,\n danger,\n neutral,\n icon,\n ...props\n}: FramedIconProps) => (\n <Icon\n {...props}\n rcx-framed-icon\n rcx-framed-icon--info={info}\n rcx-framed-icon--success={success}\n rcx-framed-icon--warning={warning}\n rcx-framed-icon--danger={danger}\n rcx-framed-icon--neutral={\n neutral || (!info && !success && !warning && !danger)\n }\n name={icon}\n size={20}\n />\n);\n","export * from './FramedIcon';\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\n\nimport { GridItem } from './GridItem';\n\ntype GridProps = ComponentProps<typeof Box> & {\n xs?: boolean;\n sm?: boolean;\n md?: boolean;\n lg?: boolean;\n xl?: boolean;\n};\n\nexport const Grid = ({ xs, sm, md, lg, xl, ...props }: GridProps) => (\n <Box rcx-grid__wrapper>\n <Box\n rcx-grid\n rcx-grid--xs={xs}\n rcx-grid--sm={sm}\n rcx-grid--md={md}\n rcx-grid--lg={lg}\n rcx-grid--xl={xl}\n {...props}\n />\n </Box>\n);\n\nGrid.Item = GridItem;\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\n\ntype GridItemProps = ComponentProps<typeof Box> & {\n xs?: 1 | 2 | 3 | 4;\n sm?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;\n md?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;\n lg?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;\n xl?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;\n};\n\nexport const GridItem = ({ xs, sm, md, lg, xl, ...props }: GridItemProps) => (\n <Box\n rcx-grid__item\n rcx-grid__item--xs={xs}\n rcx-grid__item--sm={sm}\n rcx-grid__item--md={md}\n rcx-grid__item--lg={lg}\n rcx-grid__item--xl={xl}\n {...props}\n />\n);\n","import { Grid } from './Grid';\n\nexport * from './Grid';\nexport * from './GridItem';\n\nexport default Grid;\n","import type { Keys } from '@rocket.chat/icons';\nimport nameToCharacterMapping from '@rocket.chat/icons';\nimport type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\nexport type IconProps = Omit<ComponentProps<typeof Box>, 'name' | 'size'> & {\n name: Keys;\n size?: ComponentProps<typeof Box>['width'];\n};\n\nexport const Icon = forwardRef(function Icon(\n { name, size, ...props }: IconProps,\n ref: Ref<HTMLElement>,\n) {\n return (\n <Box\n is='i'\n rcx-icon\n rcx-icon--name={name}\n children={nameToCharacterMapping[name]}\n aria-hidden='true'\n fontSize={size}\n ref={ref}\n {...props}\n />\n );\n});\n","export * from './Icon';\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\ntype AddonProps = ComponentProps<typeof Box>;\n\nexport const Addon = forwardRef(function Addon(\n props: AddonProps,\n ref: Ref<HTMLSpanElement>,\n) {\n return <Box is='span' rcx-input-box__addon ref={ref} {...props} />;\n});\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\ntype InputProps = ComponentProps<typeof Box>;\n\nexport const Input = forwardRef(function Input(\n props: InputProps,\n ref: Ref<HTMLInputElement>,\n) {\n return <Box is='input' animated rcx-input-box ref={ref} {...props} />;\n});\n","import { useMergedRefs } from '@rocket.chat/fuselage-hooks';\nimport type {\n ComponentProps,\n FormEvent,\n ForwardRefExoticComponent,\n ReactNode,\n Ref,\n} from 'react';\nimport { forwardRef, useCallback, useLayoutEffect, useRef } from 'react';\n\nimport type Box from '../Box';\nimport { Icon } from '../Icon';\n\nimport { Addon } from './Addon';\nimport { Input } from './Input';\nimport type { InputBoxSkeleton } from './InputBoxSkeleton';\nimport type { Option } from './Option';\nimport type { Placeholder } from './Placeholder';\nimport { Wrapper } from './Wrapper';\n\ntype InputBoxProps = ComponentProps<typeof Box> & {\n addon?: ReactNode;\n input?: ReactNode;\n multiple?: boolean;\n error?: string;\n placeholder?: string;\n placeholderVisible?: boolean;\n small?: boolean;\n type:\n | 'button'\n | 'checkbox'\n | 'color'\n | 'date'\n | 'datetime'\n | 'datetime-local'\n | 'email'\n | 'file'\n | 'hidden'\n | 'image'\n | 'month'\n | 'number'\n | 'password'\n | 'radio'\n | 'range'\n | 'reset'\n | 'search'\n | 'submit'\n | 'tel'\n | 'text'\n | 'time'\n | 'url'\n | 'week'\n | 'textarea'\n | 'select';\n};\n\n/**\n * A decorated input control with support for addons.\n *\n * Usually you'll perfer to use `-Input` (e.g. <LinkTo kind='Forms/TextInput' story='Default'>`TextInput`</LinkTo>)\n * components over this one because it works as a construction block for them.\n */\n// eslint-disable-next-line complexity\nexport const InputBox = forwardRef(function InputBox(\n {\n className,\n addon,\n error,\n hidden,\n invisible,\n multiple,\n placeholderVisible,\n type = 'text',\n small,\n onChange,\n ...props\n }: InputBoxProps,\n ref: Ref<any> | null,\n) {\n const innerRef = useRef<\n HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement\n >(null);\n const mergedRef = useMergedRefs(ref, innerRef);\n\n useLayoutEffect(() => {\n if (innerRef.current && innerRef.current.setCustomValidity) {\n innerRef.current.setCustomValidity(error || '');\n }\n }, [error]);\n\n useLayoutEffect(() => {\n if (addon && innerRef.current && innerRef.current.parentElement) {\n innerRef.current.parentElement.classList.toggle(\n 'invalid',\n !innerRef.current.checkValidity(),\n );\n }\n }, []);\n\n const handleChange = useCallback(\n (event: FormEvent<HTMLElement>) => {\n if (addon && innerRef.current && innerRef.current.parentElement) {\n innerRef.current.parentElement.classList.toggle(\n 'invalid',\n !innerRef.current.checkValidity(),\n );\n }\n\n onChange?.call(event.currentTarget, event);\n },\n [addon, onChange],\n );\n\n const handleAddonClick = () =>\n (innerRef.current as HTMLInputElement).showPicker();\n\n if (type === 'date') {\n addon = <Icon name='calendar' size='x20' onClick={handleAddonClick} />;\n }\n if (type === 'time') {\n addon = <Icon name='clock' size='x20' onClick={handleAddonClick} />;\n }\n\n if (!addon) {\n return (\n <Input\n is={\n (type === 'textarea' && 'textarea') ||\n (type === 'select' && 'select') ||\n 'input'\n }\n className={className}\n cols={(type === 'textarea' && 1) || (type === 'select' && 0) || 0}\n hidden={hidden}\n invisible={invisible}\n multiple={multiple}\n ref={mergedRef}\n htmlSize={\n (type === 'textarea' && undefined) || (type === 'select' && 1) || 1\n }\n type={type === 'textarea' || type === 'select' ? undefined : type}\n onChange={handleChange}\n rcx-input-box--multiple={multiple}\n rcx-input-box--placeholder-visible={placeholderVisible}\n rcx-input-box--type={type}\n rcx-input-box--small={small}\n {...props}\n />\n );\n }\n\n return (\n <Wrapper\n className={[\n props.disabled && 'disabled',\n ...(Array.isArray(className) ? className : [className]),\n ]}\n hidden={hidden}\n invisible={invisible}\n >\n <Input\n is={\n (type === 'textarea' && 'textarea') ||\n (type === 'select' && 'select') ||\n 'input'\n }\n className={className}\n cols={(type === 'textarea' && 1) || (type === 'select' && 0) || 0}\n multiple={multiple}\n ref={mergedRef}\n htmlSize={\n (type === 'textarea' && undefined) || (type === 'select' && 1) || 1\n }\n type={type === 'textarea' || type === 'select' ? undefined : type}\n onChange={handleChange}\n rcx-input-box--multiple={multiple}\n rcx-input-box--placeholder-visible={placeholderVisible}\n rcx-input-box--type={type}\n rcx-input-box--undecorated\n rcx-input-box--small={small}\n {...props}\n />\n <Addon children={addon} />\n </Wrapper>\n );\n}) as unknown as ForwardRefExoticComponent<InputBoxProps> & {\n Input: ForwardRefExoticComponent<ComponentProps<typeof Box>>;\n Skeleton: ForwardRefExoticComponent<ComponentProps<typeof InputBoxSkeleton>>;\n Option: ForwardRefExoticComponent<ComponentProps<typeof Option>>;\n Placeholder: ForwardRefExoticComponent<ComponentProps<typeof Placeholder>>;\n};\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\nimport { Skeleton } from '../Skeleton';\n\ntype InputBoxSkeletonProps = ComponentProps<typeof Box>;\n\nexport const InputBoxSkeleton = (props: InputBoxSkeletonProps) => (\n <Box rcx-skeleton__input {...props}>\n <Skeleton width='100%' />\n </Box>\n);\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\ntype OptionProps = ComponentProps<typeof Box>;\n\nexport const Option = forwardRef(function Option(\n props: OptionProps,\n ref: Ref<HTMLInputElement>,\n) {\n return <Box is='option' rcx-input-box__option ref={ref} {...props} />;\n});\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\ntype PlaceholderProps = ComponentProps<typeof Box>;\n\nexport const Placeholder = forwardRef(function Placeholder(\n props: PlaceholderProps,\n ref: Ref<HTMLOptionElement>,\n) {\n return <Box is='option' rcx-input-box__placeholder ref={ref} {...props} />;\n});\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\nimport { Label } from '../Label';\n\nexport const Wrapper = (props: ComponentProps<typeof Box>) => (\n <Box animated is={Label} rcx-input-box__wrapper {...props} />\n);\n","import { Addon } from './Addon';\nimport { Input } from './Input';\nimport { InputBox } from './InputBox';\nimport { InputBoxSkeleton } from './InputBoxSkeleton';\nimport { Option } from './Option';\nimport { Placeholder } from './Placeholder';\nimport { Wrapper } from './Wrapper';\n\nexport * from './Input';\nexport * from './InputBox';\nexport * from './InputBoxSkeleton';\nexport * from './Wrapper';\n\nexport default Object.assign(InputBox, {\n Input,\n Skeleton: InputBoxSkeleton,\n Wrapper,\n Addon,\n Placeholder,\n Option,\n});\n","import type { ComponentProps, ReactElement, ElementType } from 'react';\nimport { createContext, useContext } from 'react';\n\nimport Box from '../Box';\n\nconst LabelContext = createContext(false);\n\ntype LabelProps = Omit<ComponentProps<typeof Box>, 'is'> & {\n disabled?: boolean;\n required?: boolean;\n is?: (ElementType<any> & string) | undefined;\n};\n\n/**\n * A caption for an input component.\n */\nexport function Label({\n disabled,\n is,\n required,\n children,\n ...props\n}: LabelProps): ReactElement {\n const isInsideLabel = useContext(LabelContext);\n const component = is || (isInsideLabel && 'span') || 'label';\n\n return (\n <LabelContext.Provider value={true}>\n <Box is={component} rcx-label rcx-label--disabled={disabled} {...props}>\n {children}\n {required && (\n <Box is='span' rcx-label__required mis='x4' aria-hidden='true'>\n *\n </Box>\n )}\n </Box>\n </LabelContext.Provider>\n );\n}\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box/Box';\nimport { Icon } from '../Icon';\n\ntype LabelInfoProps = {\n title: string;\n id?: string;\n} & Omit<ComponentProps<typeof Icon>, 'name'>;\n\nexport const LabelInfo = ({ title, id, ...props }: LabelInfoProps) => (\n <Box is='span' mi={2} rcx-label__info>\n <span hidden id={id}>\n {title}\n </span>\n <Icon {...props} name='info-circled' title={title} />\n </Box>\n);\n","export * from './Label';\n","import { css } from '@rocket.chat/css-in-js';\nimport type { ComponentProps, PropsWithChildren } from 'react';\nimport { useCallback } from 'react';\n\nimport { appendClassName } from '../../helpers/appendClassName';\nimport { patchChildren } from '../../helpers/patchChildren';\nimport { useStyle } from '../../hooks/useStyle';\nimport { margin } from '../../styleTokens';\nimport type Box from '../Box';\nimport { BoxTransforms, useComposedBoxTransform } from '../Box/BoxTransforms';\n\ntype MarginsProps = PropsWithChildren<{\n all?: ComponentProps<typeof Box>['margin'];\n block?: ComponentProps<typeof Box>['marginBlock'];\n blockStart?: ComponentProps<typeof Box>['marginBlockStart'];\n blockEnd?: ComponentProps<typeof Box>['marginBlockEnd'];\n inline?: ComponentProps<typeof Box>['marginInline'];\n inlineStart?: ComponentProps<typeof Box>['marginInlineStart'];\n inlineEnd?: ComponentProps<typeof Box>['marginInlineEnd'];\n className?: string;\n}>;\n\n/**\n * Add margins to the wrapped component.\n */\nexport const Margins = (props: MarginsProps) => {\n const {\n children,\n className,\n all,\n block,\n blockStart,\n blockEnd,\n inline,\n inlineStart,\n inlineEnd,\n } = props;\n\n const transformFn = useCallback(\n (props: any) => {\n if (all !== undefined && props.margin === undefined) {\n props.margin = all;\n }\n\n if (block !== undefined && props.marginBlock === undefined) {\n props.marginBlock = block;\n }\n\n if (blockStart !== undefined && props.marginBlockStart === undefined) {\n props.marginBlockStart = blockStart;\n }\n\n if (blockEnd !== undefined && props.marginBlockEnd === undefined) {\n props.marginBlockEnd = blockEnd;\n }\n\n if (inline !== undefined && props.marginInline === undefined) {\n props.marginInline = inline;\n }\n\n if (inlineStart !== undefined && props.marginInlineStart === undefined) {\n props.marginInlineStart = inlineStart;\n }\n\n if (inlineEnd !== undefined && props.marginInlineEnd === undefined) {\n props.marginInlineEnd = inlineEnd;\n }\n\n return props;\n },\n [all, block, blockEnd, blockStart, inline, inlineEnd, inlineStart],\n );\n\n const marginsClassName = useStyle(\n css`\n &:not(.rcx-box--full) {\n ${props.all &&\n css`\n margin: ${margin(props.all)};\n `}\n ${props.inline &&\n css`\n margin-inline: ${margin(props.inline)};\n `}\n ${props.inlineStart &&\n css`\n margin-inline-start: ${margin(props.inlineStart)};\n `}\n ${props.inlineEnd &&\n css`\n margin-inline-end: ${margin(props.inlineEnd)};\n `}\n ${props.block &&\n css`\n margin-block: ${margin(props.block)};\n `}\n ${props.blockStart &&\n css`\n margin-block-start: ${margin(props.blockStart)};\n `}\n ${props.blockEnd &&\n css`\n margin-block-end: ${margin(props.blockEnd)};\n `}\n }\n `,\n props,\n ) as string;\n\n const patchedChildren = patchChildren(\n children,\n (childProps: {\n className: string | string[];\n [index: string]: unknown;\n }) => ({\n className: appendClassName(\n childProps.className,\n appendClassName(className, marginsClassName),\n ),\n }),\n );\n\n return (\n <BoxTransforms.Provider\n children={patchedChildren}\n value={useComposedBoxTransform(transformFn)}\n />\n );\n};\n","import { Margins } from './Margins';\n\nexport default Margins;\n","import type { UsePositionOptions } from '@rocket.chat/fuselage-hooks';\nimport type { ComponentProps, ElementType, ReactNode } from 'react';\nimport { useRef, useCallback, useEffect } from 'react';\n\nimport type Box from '../Box';\nimport { IconButton } from '../Button';\nimport Options, { useCursor, type OptionType } from '../Options';\nimport PositionAnimated from '../PositionAnimated';\n\ntype MenuProps = Omit<ComponentProps<typeof IconButton>, 'icon'> & {\n options: {\n [id: string]: {\n type?: 'option' | 'heading' | 'divider';\n label?: ReactNode;\n action?: () => void;\n disabled?: boolean;\n };\n };\n optionWidth?: ComponentProps<typeof Box>['width'];\n placement?: UsePositionOptions['placement'];\n renderItem?: ElementType;\n icon?: ComponentProps<typeof IconButton>['icon'];\n maxHeight?: string | number;\n};\n\nconst menuAction = ([selected]: OptionType, options: MenuProps['options']) => {\n options[selected].action?.();\n};\n\nconst mapOptions = (options: MenuProps['options']): OptionType[] =>\n Object.entries(options).map(\n ([value, { type = 'option', label, disabled }]) => [\n value,\n label,\n undefined,\n disabled,\n type,\n ],\n );\n\n/**\n * Kebab Menu\n */\nexport const Menu = ({\n tiny,\n mini,\n small = !(tiny || mini),\n options,\n optionWidth,\n placement = 'bottom-start',\n renderItem,\n maxHeight,\n icon = 'kebab',\n ...props\n}: MenuProps) => {\n const mappedOptions = mapOptions(options);\n const [cursor, handleKeyDown, handleKeyUp, reset, [visible, hide, show]] =\n useCursor(-1, mappedOptions, (args, [, hide]) => {\n menuAction(args, options);\n reset();\n hide();\n });\n\n const ref = useRef<HTMLElement>(null);\n const onClick = useCallback(() => {\n if (ref.current?.classList.contains('focus-visible')) {\n ref.current.classList.remove('focus-visible');\n hide();\n return;\n }\n if (ref.current) {\n ref.current.focus();\n show();\n ref.current.classList.add('focus-visible');\n }\n }, [hide, show]);\n\n const handleSelection = useCallback(\n (args: OptionType) => {\n menuAction(args, options);\n reset();\n hide();\n },\n [hide, reset, options],\n );\n\n useEffect(() => {\n if (visible === 'hidden') {\n ref.current?.classList.remove('focus-visible');\n }\n }, [visible]);\n\n return (\n <>\n <IconButton\n data-testid='menu'\n ref={ref}\n small={small}\n tiny={tiny}\n mini={mini}\n onClick={onClick}\n onBlur={hide}\n onKeyUp={handleKeyUp}\n onKeyDown={handleKeyDown}\n icon={icon}\n {...props}\n />\n <PositionAnimated\n width='auto'\n visible={visible}\n anchor={ref}\n placement={placement}\n >\n <Options\n maxHeight={maxHeight}\n renderItem={renderItem}\n width={optionWidth}\n onSelect={handleSelection}\n options={mappedOptions}\n cursor={cursor}\n ref={ref}\n />\n </PositionAnimated>\n </>\n );\n};\n","import type { UsePositionOptions } from '@rocket.chat/fuselage-hooks';\nimport type { ComponentProps, ElementType, ReactElement } from 'react';\nimport { cloneElement, useRef } from 'react';\nimport type { AriaMenuProps } from 'react-aria';\nimport { useButton, useMenuTrigger } from 'react-aria';\nimport { createPortal } from 'react-dom';\nimport type { MenuTriggerProps } from 'react-stately';\nimport { useMenuTriggerState } from 'react-stately';\n\nimport type Box from '../../Box/Box';\nimport { IconButton } from '../../Button';\n\nimport MenuDropDown from './MenuDropdown';\nimport MenuPopover from './MenuPopover';\nimport { getPlacement } from './helpers/helpers';\n\nexport interface MenuButtonProps<T> extends AriaMenuProps<T>, MenuTriggerProps {\n icon?: ComponentProps<typeof IconButton>['icon'];\n large?: boolean;\n medium?: boolean;\n small?: boolean;\n tiny?: boolean;\n mini?: boolean;\n placement?: UsePositionOptions['placement'];\n title?: string;\n detached?: boolean;\n /**\n * A component that renders an IconButton\n */\n is?: ElementType;\n className?: ComponentProps<typeof Box>['className'];\n pressed?: boolean;\n maxWidth?: string;\n button?: ReactElement;\n}\n\n/**\n * Kebab Menu. Use `<MenuItem>` to render the menu items.\n */\nconst Menu = <T extends object>({\n icon = 'kebab',\n placement = 'bottom-start',\n title,\n is: MenuButton = IconButton,\n className,\n pressed,\n maxWidth = 'x250',\n button,\n detached,\n ...props\n}: MenuButtonProps<T>) => {\n const state = useMenuTriggerState(props);\n\n const ref = useRef(null);\n const { menuTriggerProps, menuProps } = useMenuTrigger<T>({}, state, ref);\n\n const { buttonProps } = useButton(\n {\n ...menuTriggerProps,\n 'aria-label': props['aria-label'] || title,\n ...{ preventFocusOnPress: true },\n },\n ref,\n );\n\n const { large, medium, tiny, mini } = props;\n const sizes = { large, medium, tiny, mini };\n const defaultSmall = !large && !medium && !tiny && !mini;\n\n const popover = state.isOpen && (\n <MenuPopover\n state={state}\n triggerRef={ref}\n placement={getPlacement(placement)}\n maxWidth={maxWidth}\n >\n <MenuDropDown {...props} {...menuProps} />\n </MenuPopover>\n );\n\n return (\n <>\n {button ? (\n cloneElement(button, {\n ...buttonProps,\n ref,\n icon,\n className,\n title,\n pressed: pressed || state.isOpen,\n })\n ) : (\n <MenuButton\n {...buttonProps}\n ref={ref}\n icon={icon}\n className={className}\n title={title}\n pressed={pressed || state.isOpen}\n small={defaultSmall}\n {...sizes}\n />\n )}\n {detached ? createPortal(popover, document.body) : popover}\n </>\n );\n};\n\nMenu.displayName = 'MenuV2';\n\nexport default Menu;\n","import { useRef } from 'react';\nimport type { AriaMenuProps } from 'react-aria';\nimport { useMenu } from 'react-aria';\nimport { useTreeState } from 'react-stately';\n\nimport MenuItem from './MenuItem';\nimport MenuSection from './MenuSection';\n\nfunction MenuDropDown<T extends object>(props: AriaMenuProps<T>) {\n const state = useTreeState(props);\n\n const ref = useRef(null);\n const { menuProps } = useMenu(props, state, ref);\n\n return (\n <div {...menuProps} ref={ref}>\n {[...state.collection].map((item) =>\n item.type === 'section' ? (\n <MenuSection key={item.key} section={item} state={state} />\n ) : (\n <MenuItem key={item.key} item={item} state={state} />\n ),\n )}\n </div>\n );\n}\n\nexport default MenuDropDown;\n","import type { Node } from '@react-types/shared';\nimport type { ReactNode } from 'react';\nimport { useRef } from 'react';\nimport { mergeProps, useMenuItem } from 'react-aria';\nimport type { TreeState } from 'react-stately';\n\nimport { MenuItemDescription } from '.';\nimport type { MenuOptionProps } from './MenuOption';\nimport MenuOption from './MenuOption';\n\ntype MenuItemProps = {\n item: Node<{\n description?: ReactNode;\n variant?: MenuOptionProps['variant'];\n }>;\n state: TreeState<unknown>;\n};\n\nfunction MenuItem({ item, state }: MenuItemProps) {\n const ref = useRef(null);\n const {\n menuItemProps: { onPointerUp, ...menuItemProps },\n isFocused,\n isDisabled,\n } = useMenuItem({ key: item.key }, state, ref);\n\n // There's an issue caused by conflicting event handlers. The popover opens on onPointerDown and the selection event for both, the menu (listbox), happens on onPointerUp.\n // As a workaround, we are overwriting `onPointerDown` event with `onPointerUp`\n\n return (\n <MenuOption\n {...mergeProps(menuItemProps, { onPointerDown: onPointerUp })}\n ref={ref}\n focus={isFocused}\n disabled={isDisabled}\n is='label'\n variant={item.value?.variant}\n >\n <div className='rcx-option__wrapper'>{item.rendered}</div>\n {item.value && item.value.description && (\n <MenuItemDescription>{item.value.description}</MenuItemDescription>\n )}\n </MenuOption>\n );\n}\n\nexport default MenuItem;\n","import type {\n Ref,\n ComponentProps,\n ReactNode,\n MouseEvent,\n AllHTMLAttributes,\n} from 'react';\nimport { forwardRef, memo } from 'react';\n\nimport { prevent } from '../../../helpers/prevent';\nimport type Box from '../../Box/Box';\n\nexport type MenuOptionProps = {\n is?: ComponentProps<typeof Box>['is'];\n id?: string;\n children?: ReactNode;\n focus?: boolean;\n selected?: boolean;\n className?: ComponentProps<typeof Box>['className'];\n ref?: Ref<Element>;\n title?: string;\n disabled?: boolean;\n value?: string;\n variant?: 'danger' | 'success' | 'warning' | 'primary';\n onClick?: (event: MouseEvent<HTMLElement>) => void;\n description?: ReactNode;\n} & Omit<AllHTMLAttributes<HTMLElement>, 'label'>;\n\nconst MenuOption = memo(\n forwardRef(\n (\n {\n is: Tag = 'li',\n id,\n children,\n focus,\n selected,\n className,\n title,\n disabled,\n variant,\n onClick,\n ...props\n }: MenuOptionProps,\n ref,\n ) => (\n <Tag\n {...props}\n key={id}\n id={id}\n ref={ref}\n aria-selected={!!selected}\n aria-disabled={!!disabled}\n title={title}\n onClick={(e: MouseEvent<HTMLDivElement>) => {\n if (disabled) {\n prevent(e);\n return;\n }\n onClick?.(e);\n }}\n className={[\n 'rcx-option',\n className,\n focus && 'rcx-option--focus',\n selected && 'rcx-option--selected',\n disabled && 'rcx-option--disabled',\n variant && `rcx-option--${variant}`,\n ]\n .filter(Boolean)\n .join(' ')}\n >\n {children}\n </Tag>\n ),\n ),\n);\n\nexport default MenuOption;\n","import { useBreakpoints } from '@rocket.chat/fuselage-hooks';\nimport type { ReactNode } from 'react';\nimport type { AriaPopoverProps } from 'react-aria';\nimport type { OverlayTriggerState } from 'react-stately';\n\nimport { DropdownDesktop } from '../../Dropdown/DropdownDesktop';\nimport { DropdownMobile } from '../../Dropdown/DropdownMobile';\nimport { Popover } from '../../Popover';\n\ninterface MenuPopoverProps extends Omit<AriaPopoverProps, 'popoverRef'> {\n children: ReactNode;\n state: OverlayTriggerState;\n maxWidth?: string;\n}\n\nfunction MenuPopover({\n children,\n state,\n offset = 4,\n maxWidth,\n ...props\n}: MenuPopoverProps) {\n const isMobile = !useBreakpoints().includes('sm');\n\n if (isMobile) {\n return (\n <Popover state={state} offset={offset} {...props}>\n <DropdownMobile>{children}</DropdownMobile>\n </Popover>\n );\n }\n\n return (\n <Popover state={state} offset={offset} {...props}>\n <DropdownDesktop maxWidth={maxWidth}>{children}</DropdownDesktop>\n </Popover>\n );\n}\nexport default MenuPopover;\n","import type { Node } from '@react-types/shared';\nimport { useMenuSection, useSeparator } from 'react-aria';\nimport type { TreeState } from 'react-stately';\n\nimport Box from '../../Box/Box';\nimport { Divider } from '../../Divider';\nimport { OptionTitle } from '../../Option';\n\nimport MenuItem from './MenuItem';\n\ntype MenuSectionProps<T extends object> = {\n section: Node<T>;\n state: TreeState<unknown>;\n};\n\nfunction MenuSection<T extends object>({\n section,\n state,\n}: MenuSectionProps<T>) {\n const { itemProps, headingProps, groupProps } = useMenuSection({\n 'heading': section.rendered,\n 'aria-label': section['aria-label'],\n });\n\n const { separatorProps } = useSeparator({\n elementType: 'span',\n });\n\n // If the section is not the first, add a separator element.\n return (\n <>\n {section.key !== state.collection.getFirstKey() && (\n <Divider {...separatorProps} />\n )}\n <div {...itemProps}>\n {section.rendered && (\n <OptionTitle {...headingProps}>{section.rendered}</OptionTitle>\n )}\n <Box {...groupProps} p='0'>\n {[...section.childNodes].map((node) => (\n <MenuItem key={node.key} item={node as any} state={state} />\n ))}\n </Box>\n </div>\n </>\n );\n}\n\nexport default MenuSection;\n","import type { UsePositionOptions } from '@rocket.chat/fuselage-hooks';\n\ntype ReactAriaPlacement =\n | 'bottom'\n | 'bottom left'\n | 'bottom right'\n | 'bottom start'\n | 'bottom end'\n | 'top'\n | 'top left'\n | 'top right'\n | 'top start'\n | 'top end'\n | 'left'\n | 'left top'\n | 'left bottom'\n | 'start'\n | 'start top'\n | 'start bottom'\n | 'right'\n | 'right top'\n | 'right bottom'\n | 'end'\n | 'end top'\n | 'end bottom';\n\nexport const getPlacement = (\n placement: UsePositionOptions['placement'],\n): ReactAriaPlacement => {\n // switch case for placement from usePosition placement to react-aria\n switch (placement) {\n case 'bottom':\n return 'bottom';\n\n case 'bottom-start':\n return 'bottom start';\n case 'bottom-end':\n return 'bottom end';\n case 'top':\n return 'top';\n\n case 'top-start':\n return 'top start';\n case 'top-end':\n return 'top end';\n case 'left':\n return 'left';\n case 'left-start':\n return 'left top';\n case 'left-end':\n return 'left bottom';\n case 'right':\n return 'right';\n case 'right-start':\n return 'right top';\n case 'right-end':\n return 'right bottom';\n default:\n return 'bottom start';\n }\n};\n","import {\n OptionIcon,\n OptionAvatar,\n OptionColumn,\n OptionContent,\n OptionInput,\n OptionSkeleton,\n OptionTitle,\n OptionDescriptionBlock,\n} from '../../Option';\n\nexport { default as MenuV2 } from './Menu';\nexport { default as MenuItem } from './stately/MenuItem';\nexport { default as MenuSection } from './stately/MenuSection';\n\nexport {\n OptionAvatar as MenuItemAvatar,\n OptionColumn as MenuItemColumn,\n OptionContent as MenuItemContent,\n OptionIcon as MenuItemIcon,\n OptionInput as MenuItemInput,\n OptionSkeleton as MenuItemSkeleton,\n OptionTitle as MenuItemTitle,\n OptionDescriptionBlock as MenuItemDescription,\n};\n","import type { ItemProps } from '@react-types/shared';\nimport { Children, ReactElement } from 'react';\n\nimport type { PartialNode } from './PartialNode';\n\nfunction MenuItem<T>(_props: ItemProps<T>) {\n return null;\n}\n\nMenuItem.getCollectionNode = function* getCollectionNode<T>(\n props: ItemProps<T>,\n context: any,\n): Generator<PartialNode<T>> {\n const { childItems, title, children } = props;\n\n const rendered = props.title || props.children;\n const textValue =\n props.textValue ||\n (typeof rendered === 'string' ? rendered : '') ||\n props['aria-label'] ||\n '';\n\n if (!textValue && !context?.suppressTextValueWarning) {\n console.warn(\n '<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop.',\n );\n }\n\n yield {\n 'type': 'item',\n props,\n rendered,\n textValue,\n 'aria-label': props['aria-label'],\n 'hasChildNodes': hasChildItems(props),\n *'childNodes'() {\n if (childItems) {\n for (const child of childItems) {\n yield {\n type: 'item',\n value: child,\n };\n }\n } else if (title) {\n const items: PartialNode<T>[] = [];\n Children.forEach(children, (child) => {\n items.push({\n type: 'item',\n element: child as ReactElement,\n });\n });\n\n yield* items;\n }\n },\n };\n};\n\nfunction hasChildItems<T>(props: ItemProps<T>) {\n if (props.hasChildItems != null) {\n return props.hasChildItems;\n }\n\n if (props.childItems) {\n return true;\n }\n\n if (props.title && Children.count(props.children) > 0) {\n return true;\n }\n\n return false;\n}\n\nexport default MenuItem;\n","import type { SectionProps } from '@react-types/shared';\nimport { Children } from 'react';\n\nimport type { PartialNode } from './PartialNode';\n\nfunction MenuSection<T>(_props: SectionProps<T>) {\n return null;\n}\n\nMenuSection.getCollectionNode = function* getCollectionNode<T>(\n props: SectionProps<T>,\n): Generator<PartialNode<T>> {\n const { children, title, items } = props;\n yield {\n 'type': 'section',\n props,\n 'hasChildNodes': true,\n 'rendered': title,\n 'aria-label': props['aria-label'],\n *'childNodes'() {\n if (typeof children === 'function') {\n if (!items) {\n throw new Error(\n 'props.children was a function but props.items is missing',\n );\n }\n\n for (const item of items) {\n yield {\n type: 'item',\n value: item,\n element: children(item),\n } as PartialNode<T>;\n }\n } else {\n const items: PartialNode<T>[] = [];\n Children.forEach(children, (child) => {\n items.push({\n type: 'item',\n element: child ?? undefined,\n });\n });\n\n yield* items;\n }\n },\n };\n};\n\nexport default MenuSection;\n","export * from './Menu';\nexport * from './V2';\n","import type { AllHTMLAttributes, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { prependClassName } from '../../helpers/prependClassName';\n\ntype MessageProps = AllHTMLAttributes<HTMLDivElement> & {\n clickable?: boolean;\n sequential?: boolean;\n className?: string;\n isSelected?: boolean;\n isEditing?: boolean;\n isPending?: boolean;\n highlight?: boolean;\n};\n\nexport const Message = forwardRef(function Message(\n {\n className,\n clickable,\n sequential,\n isSelected,\n isEditing,\n isPending,\n highlight,\n ...props\n }: MessageProps,\n ref: Ref<HTMLDivElement>,\n) {\n return (\n <div\n ref={ref}\n className={prependClassName(\n className,\n [\n 'rcx-message',\n (clickable || props.onClick) && 'rcx-message--clickable',\n sequential && 'rcx-message--sequential',\n isSelected && 'rcx-message--selected',\n isEditing && 'rcx-message--editing',\n isPending && 'rcx-message--pending',\n highlight && 'rcx-message--highlight',\n ]\n .filter(Boolean)\n .join(' '),\n )}\n {...props}\n />\n );\n});\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\ntype MessageBlockProps = {\n fixedWidth?: boolean;\n} & ComponentProps<typeof Box>;\n\nexport const MessageBlock = forwardRef(\n (\n { className: _className, fixedWidth, ...props }: MessageBlockProps,\n ref: Ref<HTMLDivElement>,\n ) => (\n <Box\n rcx-message-block\n rcx-message-block--width-fixed={fixedWidth}\n ref={ref}\n {...props}\n />\n ),\n);\n","import type { HTMLAttributes, ReactElement } from 'react';\n\nimport { prependClassName } from '../../helpers/prependClassName';\n\ntype MessageBodyProps = HTMLAttributes<HTMLDivElement> & {\n clamp?: 2 | 3 | 4;\n};\n\nexport const MessageBody = ({\n clamp,\n className,\n ...props\n}: MessageBodyProps): ReactElement => (\n <div\n className={\n prependClassName(\n className,\n [\n 'rcx-message-body',\n clamp && `rcx-message-body--clamp rcx-message-body--clamp-${clamp}`,\n ]\n .filter(Boolean)\n .join(' '),\n ) as string\n }\n {...props}\n />\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const MessageContainer = (props: HTMLAttributes<HTMLDivElement>) => (\n <div className='rcx-box rcx-box--full rcx-message-container' {...props} />\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const MessageContainerFixed = (\n props: HTMLAttributes<HTMLDivElement>,\n) => (\n <div\n className='rcx-box rcx-box--full rcx-message-container rcx-message-container--fixed'\n {...props}\n />\n);\n","import type { ReactNode } from 'react';\n\ntype MessageDividerProps = {\n children?: ReactNode;\n unreadLabel?: string;\n};\n\nexport const MessageDivider = ({\n children,\n unreadLabel,\n ...props\n}: MessageDividerProps) => (\n <div\n role='separator'\n className={\n !unreadLabel\n ? 'rcx-message-divider'\n : 'rcx-message-divider rcx-message-divider--unread'\n }\n {...props}\n >\n {children && (\n <>\n <div className='rcx-message-divider__bar' />\n <div className='rcx-message-divider__wrapper'>{children}</div>{' '}\n </>\n )}\n <div className='rcx-message-divider__bar'>\n {unreadLabel && (\n <div className='rcx-message-divider__wrapper--unread'>\n {unreadLabel}\n </div>\n )}\n </div>\n </div>\n);\n","export * from './MessageDivider';\n","import type { ComponentProps } from 'react';\n\nimport { MessageEmojiBase } from './MessageEmojiBase';\n\ntype MessageEmojiProps = ComponentProps<typeof MessageEmojiBase> & {\n big?: boolean;\n};\n\nexport const MessageEmoji = ({\n name,\n className,\n image,\n big,\n ...props\n}: MessageEmojiProps) => (\n <MessageEmojiBase\n className={[\n 'rcx-message__emoji',\n className,\n big && 'rcx-message__emoji--big',\n ]\n .filter(Boolean)\n .join(' ')}\n name={name}\n image={image}\n {...props}\n />\n);\n","import type { HTMLAttributes } from 'react';\n\ntype MessageEmojiBaseProps = {\n name: string;\n image?: string;\n} & HTMLAttributes<HTMLSpanElement>;\n\nexport const MessageEmojiBase = ({\n name,\n image,\n className,\n ...props\n}: MessageEmojiBaseProps) => (\n <span\n className={`${className || ''} ${name}`}\n style={image && image.length ? { backgroundImage: image } : undefined}\n {...props}\n />\n);\n","// extracted by mini-css-extract-plugin\nexport {};","import type { HTMLAttributes } from 'react';\n\nimport './MessageGenericPreview.styles.scss';\n\nexport const MessageGenericPreview = (\n props: HTMLAttributes<HTMLDivElement>,\n) => <div className='rcx-message-generic-preview' {...props} />;\n","import type { ReactElement, ReactNode } from 'react';\n\ntype MessageGenericPreviewContentProps = {\n children?: ReactNode;\n thumb?: ReactElement;\n};\n\nexport const MessageGenericPreviewContent = ({\n thumb,\n ...props\n}: MessageGenericPreviewContentProps) => (\n <div className='rcx-message-generic-preview__content'>\n {thumb}\n <div className='rcx-message-generic-preview__content-wrapper' {...props} />\n </div>\n);\n","import { prependClassName } from '../../../helpers/prependClassName';\n\ntype MessageGenericPreviewCoverImageProps = {\n url: string;\n width: number;\n height: number;\n className?: string;\n};\n\nexport const MessageGenericPreviewCoverImage = ({\n url,\n width,\n height,\n className,\n ...props\n}: MessageGenericPreviewCoverImageProps) => (\n <div\n className={prependClassName(\n className,\n 'rcx-message-generic-preview__preview',\n )}\n style={{ backgroundImage: `url(${url})`, maxWidth: '100%' }}\n data-testid='preview-image'\n {...props}\n >\n <div style={{ paddingTop: `${(height / width) * 100}%` }} />\n </div>\n);\n","import type { ReactNode } from 'react';\n\ntype MessageGenericPreviewDescriptionProps = {\n children?: ReactNode;\n clamp?: boolean;\n};\n\nexport const MessageGenericPreviewDescription = ({\n children,\n clamp = false,\n}: MessageGenericPreviewDescriptionProps) => (\n <div\n className={[\n 'rcx-message-generic-preview__description',\n clamp && 'rcx-message-generic-preview__description--clamp',\n ]\n .filter(Boolean)\n .join(' ')}\n >\n {children}\n </div>\n);\n","import type { ReactNode } from 'react';\n\ntype MessageGenericPreviewFooterProps = {\n children?: ReactNode;\n clamp?: boolean;\n};\n\nexport const MessageGenericPreviewFooter = ({\n children,\n}: MessageGenericPreviewFooterProps) => (\n <div className={'rcx-message-generic-preview__footer'}>{children}</div>\n);\n","import type { IconProps } from '../../Icon';\nimport { Icon } from '../../Icon';\n\nexport type MessageGenericPreviewIconProps = IconProps & {\n type: string;\n};\n\nexport const MessageGenericPreviewIcon = ({\n name = 'attachment-file',\n size = 32,\n color = 'default',\n type = 'file',\n}: MessageGenericPreviewIconProps) => (\n <div className='rcx-message-generic-preview__icon'>\n <Icon name={name} color={color} size={size} />\n <div className='rcx-message-generic-preview__icon-title'>{type}</div>\n </div>\n);\n","import type { ImgHTMLAttributes } from 'react';\n\nimport { prependClassName } from '../../../helpers/prependClassName';\n\ntype MessageGenericPreviewImageProps = {\n url: string;\n className?: string;\n} & ImgHTMLAttributes<HTMLImageElement>;\n\nexport const MessageGenericPreviewImage = ({\n url,\n className,\n ...props\n}: MessageGenericPreviewImageProps) => (\n <img\n src={url}\n className={prependClassName(\n className,\n 'rcx-message-generic-preview__image',\n )}\n alt=''\n {...props}\n />\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const MessageGenericPreviewThumb = (\n props: HTMLAttributes<HTMLDivElement>,\n) => <div className='rcx-message-generic-preview__thumb' {...props} />;\n","import type { AnchorHTMLAttributes, HTMLAttributes } from 'react';\n\ntype MessageGenericPreviewTitleProps = {\n externalUrl?: string;\n} & HTMLAttributes<HTMLSpanElement> &\n AnchorHTMLAttributes<HTMLAnchorElement>;\n\nexport const MessageGenericPreviewTitle = ({\n externalUrl,\n children,\n ...props\n}: MessageGenericPreviewTitleProps) => {\n if (externalUrl) {\n return (\n <a\n className='rcx-message-generic-preview__title rcx-message-generic-preview__title-link'\n href={externalUrl}\n target='_blank'\n {...props}\n >\n {children}\n </a>\n );\n }\n\n return <span className='rcx-message-generic-preview__title' {...props} />;\n};\n","export * from './MessageGenericPreview';\nexport * from './MessageGenericPreviewContent';\nexport * from './MessageGenericPreviewDescription';\nexport * from './MessageGenericPreviewFooter';\nexport * from './MessageGenericPreviewCoverImage';\nexport * from './MessageGenericPreviewImage';\nexport * from './MessageGenericPreviewThumb';\nexport * from './MessageGenericPreviewTitle';\nexport * from './MessageGenericPreviewIcon';\n","import type { HTMLAttributes } from 'react';\n\nexport const MessageHeader = ({\n children,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div className='rcx-box rcx-box--full rcx-message-header' {...props}>\n <div className='rcx-box rcx-box--full rcx-message-header__wrapper'>\n {children}\n </div>\n </div>\n);\n","import type { ElementType, HTMLAttributes } from 'react';\n\nimport { prependClassName } from '../../helpers/prependClassName';\n\nexport type MessageHighlightProps = {\n is?: ElementType;\n clickable?: boolean;\n variant?: 'critical' | 'relevant' | 'other' | 'link';\n className?: string;\n children: any;\n title?: string;\n} & HTMLAttributes<HTMLElement>;\n\nexport function MessageHighlight({\n is: Tag = 'span',\n variant = 'other',\n className,\n clickable,\n ...props\n}: MessageHighlightProps) {\n const modifiers = [variant, clickable && 'clickable']\n .filter(Boolean)\n .map((modifier) => `rcx-message__highlight--${modifier}`)\n .join(' ');\n\n return (\n <Tag\n className={prependClassName(\n className,\n `rcx-box rcx-box--full rcx-message__highlight ${modifiers}`,\n )}\n {...props}\n />\n );\n}\n","import type { HTMLAttributes, ReactElement } from 'react';\n\nexport const MessageLeftContainer = (\n props: HTMLAttributes<HTMLDivElement>,\n): ReactElement => (\n <div\n className='rcx-box rcx-box--full rcx-message-container rcx-message-container--left'\n {...props}\n />\n);\n","import type { HTMLAttributes } from 'react';\n\nimport { MessageMetricsContentItem } from './MessageMetricsContentItem';\n\ntype MessageMetricsProps = HTMLAttributes<HTMLDivElement>;\n\nexport const MessageMetrics = (props: MessageMetricsProps) => (\n <MessageMetricsContentItem>\n <div className='rcx-message-metrics__content-wrapper' {...props} />\n </MessageMetricsContentItem>\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const MessageMetricsContentItem = (\n props: HTMLAttributes<HTMLDivElement>,\n) => <div className='rcx-message-metrics__content-item' {...props} />;\n","import type { ComponentProps, ReactElement } from 'react';\n\nimport { IconButton } from '../../Button';\n\ntype MessageMetricsFollowingProps = {\n name: 'bell' | 'bell-off';\n badge?: ReactElement;\n} & Omit<ComponentProps<typeof IconButton>, 'icon'>;\n\nexport const MessageMetricsFollowing = ({\n name,\n badge,\n ...props\n}: MessageMetricsFollowingProps) => (\n <IconButton\n position='relative'\n overflow='visible'\n {...props}\n small\n icon={name}\n >\n {badge && (\n <div className='rcx-message-metrics__item__follow-badge'>{badge}</div>\n )}\n </IconButton>\n);\n","import type { HTMLAttributes } from 'react';\n\nimport { prependClassName } from '../../../../helpers/prependClassName';\n\ntype MessageMetricsItemProps = HTMLAttributes<HTMLDivElement>;\n\nexport const MessageMetricsItem = ({\n className,\n ...props\n}: MessageMetricsItemProps) => (\n <div\n className={prependClassName(className, 'rcx-message-metrics__item')}\n {...props}\n />\n);\n","import type { HTMLAttributes } from 'react';\n\nimport { prependClassName } from '../../../../helpers/prependClassName';\n\ntype MessageMetricsItemProps = HTMLAttributes<HTMLDivElement>;\n\nexport const MessageMetricsItemAvatarRow = ({\n className,\n ...props\n}: MessageMetricsItemProps) => (\n <div\n className={prependClassName(className, 'rcx-message-metrics__avatar-row')}\n {...props}\n />\n);\n","import type { HTMLAttributes } from 'react';\n\nimport { prependClassName } from '../../../../helpers/prependClassName';\n\ntype MessageMetricsItemProps = HTMLAttributes<HTMLDivElement>;\n\nexport const MessageMetricsItemAvatarRowContent = ({\n className,\n ...props\n}: MessageMetricsItemProps) => (\n <div\n className={prependClassName(\n className,\n 'rcx-message-metrics__avatar-row__content',\n )}\n {...props}\n />\n);\n","import type { ComponentProps } from 'react';\n\nimport { Icon } from '../../../..';\n\ntype MessageMetricsItemIconProps = {\n name: 'thread' | 'user' | 'clock' | 'discussion';\n} & Omit<ComponentProps<typeof Icon>, 'name'>;\n\nexport const MessageMetricsItemIcon = (props: MessageMetricsItemIconProps) => (\n <Icon size='x20' {...props} />\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const MessageMetricsItemLabel = (\n props: HTMLAttributes<HTMLDivElement>,\n) => <div className='rcx-message-metrics__item-label' {...props} />;\n","import { MessageMetricsItem } from './MessageMetricsItem';\nimport { MessageMetricsItemAvatarRow } from './MessageMetricsItemAvatarRow';\nimport { MessageMetricsItemAvatarRowContent } from './MessageMetricsItemAvatarRowContent';\nimport { MessageMetricsItemIcon } from './MessageMetricsItemIcon';\nimport { MessageMetricsItemLabel } from './MessageMetricsItemLabel';\n\nexport default Object.assign(MessageMetricsItem, {\n /**\n * @deprecated prefer using named imports\n * */\n Icon: MessageMetricsItemIcon,\n /**\n * @deprecated prefer using named imports\n * */\n Label: MessageMetricsItemLabel,\n});\n\nexport {\n MessageMetricsItem,\n MessageMetricsItemIcon,\n MessageMetricsItemLabel,\n MessageMetricsItemAvatarRowContent,\n MessageMetricsItemAvatarRow,\n};\n","import type { ComponentProps } from 'react';\n\nimport { Button } from '../..';\n\nimport MessageMetricsItem from './MessageMetricsItem';\n\ntype MessageMetricsReplyProps = ComponentProps<typeof Button>;\n\nexport const MessageMetricsReply = (props: MessageMetricsReplyProps) => (\n <MessageMetricsItem>\n <Button primary {...props} small />\n </MessageMetricsItem>\n);\n","import { MessageMetrics } from './MessageMetrics';\nimport { MessageMetricsFollowing } from './MessageMetricsFollowing';\nimport MessageMetricsItem, {\n MessageMetricsItemIcon,\n MessageMetricsItemAvatarRowContent,\n MessageMetricsItemAvatarRow,\n MessageMetricsItemLabel,\n} from './MessageMetricsItem';\nimport { MessageMetricsReply } from './MessageMetricsReply';\n\nexport default Object.assign(MessageMetrics, {\n /**\n * @deprecated prefer using named imports\n * */\n Reply: MessageMetricsReply,\n /**\n * @deprecated prefer using named imports\n * */\n Item: MessageMetricsItem,\n /**\n * @deprecated prefer using named imports\n * */\n Following: MessageMetricsFollowing,\n});\n\nexport {\n MessageMetrics,\n MessageMetricsItemAvatarRow,\n MessageMetricsItemAvatarRowContent,\n MessageMetricsItem,\n MessageMetricsItemIcon,\n MessageMetricsItemLabel,\n MessageMetricsFollowing,\n MessageMetricsReply,\n};\n","import type { HTMLAttributes } from 'react';\n\nexport const MessageName = (props: HTMLAttributes<HTMLSpanElement>) => (\n <span className='rcx-box rcx-box--full rcx-message-header__name' {...props} />\n);\n","import type { HTMLAttributes } from 'react';\nimport { forwardRef } from 'react';\n\nexport const MessageNameContainer = forwardRef<\n HTMLSpanElement,\n HTMLAttributes<HTMLSpanElement>\n>(function MessageNameContainer(props, ref) {\n return (\n <span\n ref={ref}\n className='rcx-box rcx-box--full rcx-message-header__name-container'\n {...props}\n />\n );\n});\n","import type { HTMLAttributes, ReactNode, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { MessageReactionCounter } from './MessageReactionCounter';\nimport { MessageReactionEmoji } from './MessageReactionEmoji';\n\ntype MessageReactionProps = {\n name?: string;\n counter?: number;\n mine?: boolean;\n children?: ReactNode;\n} & HTMLAttributes<HTMLDivElement>;\n\nexport const MessageReaction = forwardRef(function Reaction(\n { name, counter, mine, children, className, ...props }: MessageReactionProps,\n ref: Ref<HTMLDivElement>,\n) {\n return (\n <div\n className={[\n `rcx-message-reactions__reaction`,\n mine && 'rcx-message-reactions__reaction--mine',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n ref={ref}\n role='button'\n tabIndex={0}\n {...props}\n >\n {children || (\n <>\n {name && <MessageReactionEmoji name={name} />}\n {counter && <MessageReactionCounter counter={counter} />}\n </>\n )}\n </div>\n );\n});\n","import type { HTMLAttributes } from 'react';\n\nimport { Icon } from '../../Icon';\n\nexport const MessageReactionAction = ({\n className,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div\n role='button'\n tabIndex={0}\n className={[\n 'rcx-message-reactions__reaction rcx-message-reactions__reaction--action',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n >\n <Icon name='emoji-plus' size='x16' />\n </div>\n);\n","type MessageReactionCounterProps = {\n counter: number;\n className?: string;\n};\n\nexport const MessageReactionCounter = ({\n counter,\n className,\n}: MessageReactionCounterProps) => (\n <div className={`rcx-message-reactions__counter ${className}`}>{counter}</div>\n);\n","import type { ComponentProps } from 'react';\n\nimport { MessageEmojiBase } from '../MessageEmojiBase';\n\nexport const MessageReactionEmoji = ({\n className,\n ...props\n}: ComponentProps<typeof MessageEmojiBase>) => (\n <MessageEmojiBase\n className={`rcx-message-reactions__emoji ${className || ''}`}\n {...props}\n />\n);\n","import type { HTMLAttributes, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { MessageBlock } from '../MessageBlock';\n\nexport const MessageReactions = forwardRef(function MessageReactions(\n props: HTMLAttributes<HTMLDivElement>,\n ref: Ref<HTMLDivElement>,\n) {\n return (\n <MessageBlock className='rcx-message-reactions'>\n <div ref={ref} className='rcx-message-reactions__container' {...props} />\n </MessageBlock>\n );\n});\n","import { MessageReaction } from './MessageReaction';\nimport { MessageReactionAction } from './MessageReactionAction';\nimport { MessageReactionCounter } from './MessageReactionCounter';\nimport { MessageReactionEmoji } from './MessageReactionEmoji';\nimport { MessageReactions } from './MessageReactions';\n\nexport default Object.assign(MessageReactions, {\n /**\n * @deprecated prefer using named imports\n * */\n Reaction: MessageReaction,\n /**\n * @deprecated prefer using named imports\n * */\n Action: MessageReactionAction,\n});\n\nexport {\n MessageReaction,\n MessageReactionAction,\n MessageReactions,\n MessageReactionCounter,\n MessageReactionEmoji,\n};\n","import type { ComponentProps } from 'react';\n\nimport { Tag } from '../Tag';\n\nexport const MessageRole = (props: ComponentProps<typeof Tag>) => (\n <Tag className='rcx-box rcx-box--full rcx-message-header__role' {...props} />\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const MessageRoles = (props: HTMLAttributes<HTMLDivElement>) => (\n <div className='rcx-box rcx-box--full rcx-message-header__roles' {...props} />\n);\n","// extracted by mini-css-extract-plugin\nexport {};","import type { AllHTMLAttributes, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport './MessageStatusIndicator.styles.scss';\n\ntype MessageStatusIndicatorProps = AllHTMLAttributes<HTMLDivElement>;\n\nexport const MessageStatusIndicator = forwardRef(\n (props: MessageStatusIndicatorProps, ref: Ref<HTMLDivElement>) => (\n <div ref={ref} className='rcx-message-status-indicator' {...props} />\n ),\n);\n","import type { AllHTMLAttributes, ComponentProps } from 'react';\n\nimport { Icon } from '../..';\n\ntype MessageStatusIndicatorItemProps = {\n name: ComponentProps<typeof Icon>['name'];\n variant?: 'success' | 'danger' | 'warning' | 'primary';\n} & Omit<AllHTMLAttributes<HTMLElement>, 'is'>;\n\nexport const MessageStatusIndicatorItem = ({\n name,\n variant,\n ...props\n}: MessageStatusIndicatorItemProps) => (\n <Icon\n name={name}\n size='x16'\n className={[\n 'rcx-message-status-indicator__item',\n variant && `rcx-message-status-indicator__item--${variant}`,\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n","import type { ReactNode } from 'react';\n\ntype MessageStatusIndicatorTextProps = {\n children: ReactNode;\n};\n\nexport const MessageStatusIndicatorText = ({\n children,\n}: MessageStatusIndicatorTextProps) => (\n <span className='rcx-message-status-indicator__text' aria-hidden>\n {children}\n </span>\n);\n","import type { ComponentProps, ReactNode } from 'react';\n\nimport type { MessageStatusIndicatorItem } from './MessageStatusIndicatorItem';\n\ntype MessageStatusPrivateIndicatorProps = {\n children?: ReactNode;\n variant?: ComponentProps<typeof MessageStatusIndicatorItem>['variant'];\n};\n\nexport const MessageStatusPrivateIndicator = ({\n children,\n variant,\n}: MessageStatusPrivateIndicatorProps) => (\n <span\n className={[\n 'rcx-message-status-indicator__item `rcx-message-status-indicator__item--private',\n variant && `rcx-message-status-indicator__item--${variant}`,\n ]\n .filter(Boolean)\n .join(' ')}\n >\n {children}\n </span>\n);\n","export * from './MessageStatusIndicator';\nexport * from './MessageStatusIndicatorText';\nexport * from './MessageStatusIndicatorItem';\nexport * from './MessageStatusPrivateIndicator';\n","// extracted by mini-css-extract-plugin\nexport {};","import type {\n ReactNode,\n MouseEvent as ReactMouseEvent,\n AllHTMLAttributes,\n} from 'react';\n\nimport './MessageSystem.styles.scss';\n\ntype MessageSystemProps = {\n children?: ReactNode;\n title?: string;\n isSelected?: boolean;\n onClick?: (e: ReactMouseEvent<HTMLDivElement, MouseEvent>) => void;\n} & AllHTMLAttributes<HTMLDivElement>;\n\nexport const MessageSystem = ({\n children,\n title,\n isSelected,\n ...props\n}: MessageSystemProps) => (\n <div\n className={[\n 'rcx-box rcx-box--full rcx-message-system',\n isSelected && 'rcx-message-system--selected',\n ]\n .filter(Boolean)\n .join(' ')}\n title={title}\n {...props}\n >\n {children}\n </div>\n);\n","import type { ReactNode } from 'react';\n\ntype MessageSystemBlockProps = {\n children?: ReactNode;\n};\n\nexport const MessageSystemBlock = (props: MessageSystemBlockProps) => (\n <div className='rcx-message-system__block' {...props} />\n);\n","import type { HTMLAttributes } from 'react';\n\ntype MessageSystemBodyProps = HTMLAttributes<HTMLDivElement>;\n\nexport const MessageSystemBody = (props: MessageSystemBodyProps) => (\n <div className='rcx-message-system__body' {...props} />\n);\n","import type { ReactNode } from 'react';\n\ntype MessageSystemContainerProps = {\n children?: ReactNode;\n};\n\nexport const MessageSystemContainer = (props: MessageSystemContainerProps) => (\n <div\n className='rcx-box rcx-box--full rcx-message-system__container'\n {...props}\n />\n);\n","import type { ComponentProps } from 'react';\n\nimport type { MessageName } from '../MessageName';\n\ntype MessageSystemNameProps = ComponentProps<typeof MessageName>;\n\nexport const MessageSystemName = (props: MessageSystemNameProps) => (\n <span className='rcx-box rcx-box--full rcx-message-system__name' {...props} />\n);\n","import type { ReactNode } from 'react';\n\ntype MessageSystemTimestampProps = { children: ReactNode; title?: string };\n\nexport const MessageSystemTimestamp = (props: MessageSystemTimestampProps) => (\n <span className='rcx-box rcx-box--full rcx-message-system__time' {...props} />\n);\n","import { MessageLeftContainer } from '../MessageLeftContainer';\n\nexport * from './MessageSystem';\nexport * from './MessageSystemBlock';\nexport * from './MessageSystemBody';\nexport * from './MessageSystemContainer';\nexport * from './MessageSystemName';\nexport * from './MessageSystemTimestamp';\nexport const MessageSystemLeftContainer = MessageLeftContainer;\n","import type { HTMLAttributes } from 'react';\n\nexport const MessageTimestamp = (props: HTMLAttributes<HTMLSpanElement>) => (\n <span className='rcx-box rcx-box--full rcx-message-header__time' {...props} />\n);\n","import type { ComponentProps, ForwardedRef } from 'react';\nimport { forwardRef } from 'react';\n\nimport { ButtonGroup } from '../..';\n\ntype MessageToolbarProps = ComponentProps<typeof ButtonGroup>;\n\nexport const MessageToolbar = forwardRef(function MessageToolbar(\n props: MessageToolbarProps,\n ref: ForwardedRef<HTMLDivElement>,\n) {\n return (\n <div className='rcx-box rcx-box--full rcx-message-toolbar'>\n <ButtonGroup role='toolbar' ref={ref} small {...props} />\n </div>\n );\n});\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { IconButton } from '../../Button';\n\ntype MessageToolbarItemProps = ComponentProps<typeof IconButton>;\n\nexport const MessageToolbarItem = forwardRef(function MessageToolbarItem(\n props: MessageToolbarItemProps,\n ref: Ref<HTMLButtonElement>,\n) {\n return <IconButton ref={ref} small {...props} />;\n});\n","import type { HTMLAttributes, Ref } from 'react';\nimport { forwardRef } from 'react';\n\ntype MessageToolbarWrapperProps = HTMLAttributes<HTMLDivElement> & {\n visible?: boolean;\n};\n\nexport const MessageToolbarWrapper = forwardRef(function MessageToolbarWrapper(\n { className, visible, ...props }: MessageToolbarWrapperProps,\n ref: Ref<HTMLDivElement>,\n) {\n return (\n <div\n ref={ref}\n className={[\n 'rcx-box rcx-box--full rcx-message-toolbar__wrapper',\n visible && 'rcx-message-toolbar__wrapper--visible',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n );\n});\n","import { Menu } from '../../Menu';\n\nimport { MessageToolbar } from './MessageToolbar';\nimport { MessageToolbarItem } from './MessageToolbarItem';\nimport { MessageToolbarWrapper } from './MessageToolbarWrapper';\n\nexport default Object.assign(MessageToolbar, {\n /**\n * @deprecated prefer using named imports\n * */\n Item: MessageToolbarItem,\n /**\n * @deprecated prefer using named imports\n * */\n Wrapper: MessageToolbarWrapper,\n /**\n * @deprecated prefer using named imports\n * */\n Menu,\n});\n\nexport { MessageToolbar, MessageToolbarItem, MessageToolbarWrapper, Menu };\n","import type { HTMLAttributes } from 'react';\n\nexport const MessageUsername = (props: HTMLAttributes<HTMLSpanElement>) => (\n <span\n className='rcx-box rcx-box--full rcx-message-header__username'\n {...props}\n />\n);\n","import type { ComponentProps } from 'react';\n\nimport Message from '..';\n\ntype ThreadMessageProps = ComponentProps<typeof Message>;\n\nexport const ThreadMessage = (props: ThreadMessageProps) => (\n <Message {...({ className: 'rcx-message-thread' } as any)} {...props} />\n);\n","import type { ReactNode } from 'react';\n\ntype ThreadMessageBodyProps = {\n children?: ReactNode;\n};\n\nexport const ThreadMessageBody = (props: ThreadMessageBodyProps) => (\n <div\n className='rcx-box rcx-box--full rcx-message-thread__message'\n {...props}\n />\n);\n","import type { ReactNode } from 'react';\n\ntype ThreadMessageContainerProps = {\n children?: ReactNode;\n};\n\nexport const ThreadMessageContainer = (props: ThreadMessageContainerProps) => (\n <div\n className='rcx-box rcx-box--full rcx-message-thread__container'\n {...props}\n />\n);\n","import type { ComponentProps } from 'react';\n\nimport { MessageEmojiBase } from '../MessageEmojiBase';\n\nexport const ThreadMessageEmoji = ({\n className,\n ...props\n}: ComponentProps<typeof MessageEmojiBase>) => (\n <MessageEmojiBase\n className={`rcx-message-thread__emoji ${className || ''}`}\n {...props}\n />\n);\n","import { ThreadMessageIcon } from './ThreadMessageIcon';\n\nexport const ThreadMessageFollow = () => (\n <ThreadMessageIcon\n className='rcx-box rcx-box--full rcx-message-thread__icon rcx-message-thread__icon--follow'\n {...({ name: 'bell' } as any)}\n />\n);\n","import type { ComponentProps, ReactElement } from 'react';\n\nimport { Icon } from '../..';\n\nexport const ThreadMessageIcon = ({\n ...props\n}: ComponentProps<typeof Icon>): ReactElement => (\n <Icon\n className='rcx-box rcx-box--full rcx-message-thread__icon'\n size='x16'\n {...props}\n />\n);\n","import { ThreadMessageIcon } from './ThreadMessageIcon';\n\nexport const ThreadMessageIconThread = () => (\n <ThreadMessageIcon name='thread' />\n);\n","import type { ReactNode } from 'react';\n\ntype ThreadMessageOriginProps = {\n children?: ReactNode;\n system?: boolean;\n};\n\nexport const ThreadMessageOrigin = ({\n children,\n system,\n}: ThreadMessageOriginProps) => (\n <div\n className={[\n 'rcx-box rcx-box--full rcx-message-thread__origin',\n system && 'rcx-box rcx-box--full rcx-message-thread__origin--system',\n ]\n .filter(Boolean)\n .join(' ')}\n >\n {children}\n </div>\n);\n","import type { HTMLAttributes } from 'react';\n\ntype ThreadMessageRowProps = HTMLAttributes<HTMLDivElement>;\n\nexport const ThreadMessageRow = (props: ThreadMessageRowProps) => (\n <div className='rcx-box rcx-box--full rcx-message-thread__row' {...props} />\n);\n","import { ThreadMessageIcon } from './ThreadMessageIcon';\n\nexport const ThreadMessageUnfollow = () => (\n <ThreadMessageIcon\n className='rcx-box rcx-box--full rcx-message-thread__icon rcx-message-thread__icon--unfollow'\n {...({ name: 'bell-off' } as any)}\n />\n);\n","import { MessageLeftContainer } from '../MessageLeftContainer';\n\nimport { ThreadMessage } from './ThreadMessage';\nimport { ThreadMessageBody } from './ThreadMessageBody';\nimport { ThreadMessageContainer } from './ThreadMessageContainer';\nimport { ThreadMessageEmoji } from './ThreadMessageEmoji';\nimport { ThreadMessageFollow } from './ThreadMessageFollow';\nimport { ThreadMessageIconThread } from './ThreadMessageIconThread';\nimport { ThreadMessageOrigin } from './ThreadMessageOrigin';\nimport { ThreadMessageRow } from './ThreadMessageRow';\nimport { ThreadMessageUnfollow } from './ThreadMessageUnfollow';\n\nconst ThreadMessageLeftContainer = MessageLeftContainer;\n\nexport default Object.assign(ThreadMessage, {\n Row: ThreadMessageRow,\n Container: ThreadMessageContainer,\n LeftContainer: ThreadMessageLeftContainer,\n Origin: ThreadMessageOrigin,\n Message: ThreadMessageBody,\n Follow: ThreadMessageFollow,\n Unfollow: ThreadMessageUnfollow,\n Icon: ThreadMessageIconThread,\n});\n\nexport {\n ThreadMessage,\n ThreadMessageBody,\n ThreadMessageContainer,\n ThreadMessageFollow,\n ThreadMessageIconThread,\n ThreadMessageOrigin,\n ThreadMessageRow,\n ThreadMessageEmoji,\n ThreadMessageUnfollow,\n ThreadMessageLeftContainer,\n};\n","import { Message } from './Message';\nimport { MessageBlock } from './MessageBlock';\nimport { MessageBody } from './MessageBody';\nimport { MessageContainer } from './MessageContainer';\nimport { MessageContainerFixed } from './MessageContainerFixed';\nimport { MessageDivider } from './MessageDivider';\nimport { MessageHeader } from './MessageHeader';\nimport { MessageHighlight } from './MessageHighlight';\nimport { MessageLeftContainer } from './MessageLeftContainer';\nimport MessageMetrics from './MessageMetrics';\nimport { MessageName } from './MessageName';\nimport { MessageNameContainer } from './MessageNameContainer';\nimport { MessageRole } from './MessageRole';\nimport { MessageRoles } from './MessageRoles';\nimport { MessageTimestamp } from './MessageTimestamp';\nimport MessageToolbar from './MessageToolbar';\nimport { MessageUsername } from './MessageUsername';\n\nexport * from './MessageDivider';\nexport * from './MessageGenericPreview';\nexport * from './MessageStatusIndicator';\nexport * from './MessageSystem';\nexport * from './MessageMetrics';\nexport * from './MessageReactions';\nexport * from './MessageToolbar';\nexport * from './ThreadMessage';\nexport * from './MessageBlock';\nexport * from './MessageBody';\nexport * from './MessageContainer';\nexport * from './MessageContainerFixed';\nexport * from './MessageHeader';\nexport * from './MessageNameContainer';\nexport * from './MessageLeftContainer';\nexport * from './MessageName';\nexport * from './MessageRole';\nexport * from './MessageRoles';\nexport * from './MessageTimestamp';\nexport * from './MessageUsername';\nexport * from './MessageEmoji';\nexport * from './MessageHighlight';\n\nexport default Object.assign(Message, {\n Metrics: MessageMetrics,\n Toolbar: MessageToolbar,\n Container: MessageContainer,\n ContainerFixed: MessageContainerFixed,\n LeftContainer: MessageLeftContainer,\n Header: MessageHeader,\n Body: MessageBody,\n Block: MessageBlock,\n Timestamp: MessageTimestamp,\n NameContainer: MessageNameContainer,\n Name: MessageName,\n Username: MessageUsername,\n Roles: MessageRoles,\n Role: MessageRole,\n Divider: MessageDivider,\n Highlight: MessageHighlight,\n});\n","import type { ComponentProps, Ref, ElementType, ReactNode } from 'react';\nimport { createElement, forwardRef } from 'react';\n\nimport Box from '../Box';\n\ntype ModalProps = {\n wrapperFunction?: (\n props: Pick<\n ComponentProps<typeof Box>,\n 'elevation' | 'className' | 'children'\n >,\n ) => ReactNode;\n wrapper?: ElementType<\n Pick<ComponentProps<typeof Box>, 'elevation' | 'className' | 'children'>\n >;\n} & ComponentProps<typeof Box>;\n\nexport const Modal = forwardRef(\n (\n { children, wrapper = Box, wrapperFunction, ...props }: ModalProps,\n ref: Ref<Element>,\n ) => {\n const wrapperProps = {\n children,\n className: 'rcx-modal__inner',\n elevation: '2',\n } as const;\n\n return (\n <Box is='dialog' open aria-modal='true' rcx-modal ref={ref} {...props}>\n {wrapperFunction\n ? wrapperFunction(wrapperProps)\n : createElement(wrapper, wrapperProps)}\n </Box>\n );\n },\n);\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\n\nexport type ModalBackdropProps = ComponentProps<typeof Box>;\n\nexport const ModalBackdrop = (props: ModalBackdropProps) => (\n <Box rcx-modal__backdrop {...props} />\n);\n","import type { ComponentProps } from 'react';\n\nimport type Box from '../Box';\nimport { IconButton } from '../Button';\n\nexport type ModalCloseProps = ComponentProps<typeof Box>;\n\nexport const ModalClose = (props: ModalCloseProps) => (\n <IconButton aria-label='Close' {...props} small icon='cross' />\n);\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\nimport Scrollable from '../Scrollable';\n\nexport type ModalContentProps = ComponentProps<typeof Box> & {\n onScrollContent?: ((touching: { top: boolean }) => void) | undefined;\n};\n\nexport const ModalContent = ({\n children,\n onScrollContent,\n ...props\n}: ModalContentProps) => (\n <Scrollable vertical onScrollContent={onScrollContent}>\n <Box rcx-modal__content>\n <Box rcx-modal__content-wrapper mi={24} {...props}>\n {children}\n </Box>\n </Box>\n </Scrollable>\n);\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\n\nexport type ModalFooterProps = ComponentProps<typeof Box>;\n\nexport const ModalFooter = ({\n children,\n justifyContent = 'end',\n}: ModalFooterProps) => (\n <Box justifyContent={justifyContent} rcx-modal__footer>\n {children}\n </Box>\n);\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\n\nexport type ModalFooterAnnotationProps = ComponentProps<typeof Box>;\n\nexport const ModalFooterAnnotation = ({\n children,\n}: ModalFooterAnnotationProps) => (\n <Box rcx-modal__footer-annotation>{children}</Box>\n);\n","import type { ComponentProps } from 'react';\n\nimport { ButtonGroup } from '..';\n\nexport type ModalFooterControllersProps = ComponentProps<typeof ButtonGroup>;\n\nexport const ModalFooterControllers = ({\n children,\n}: ModalFooterControllersProps) => (\n <ButtonGroup align='end'>{children}</ButtonGroup>\n);\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\nimport Margins from '../Margins';\n\nexport type ModalHeaderProps = ComponentProps<typeof Box>;\n\nexport const ModalHeader = ({ children, ...props }: ModalHeaderProps) => (\n <Box rcx-modal__header is='header' {...props}>\n <Box rcx-modal__header-inner>\n <Margins all='x4'>{children}</Margins>\n </Box>\n </Box>\n);\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\n\nexport type ModalHeaderTextProps = ComponentProps<typeof Box>;\n\nexport const ModalHeaderText = ({\n children,\n ...props\n}: ModalHeaderTextProps) => (\n <Box rcx-modal__header-text {...props}>\n {children}\n </Box>\n);\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\n\nexport type ModalHeroImageProps = ComponentProps<typeof Box>;\n\nexport const ModalHeroImage = ({ ...props }: ModalHeroImageProps) => (\n <figure className='rcx-modal__hero-image-wrapper'>\n <Box rcx-modal__hero-image is='img' {...props} />\n </figure>\n);\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\nimport { Icon } from '../Icon';\n\nexport type ModalIconProps = ComponentProps<typeof Box> & {\n name: ComponentProps<typeof Icon>['name'];\n};\n\nexport const ModalIcon = ({\n size = 'x20',\n name,\n alignItems = 'center',\n ...props\n}: ModalIconProps) => (\n <Box {...props} display='flex' alignItems={alignItems}>\n <Icon mb={4} name={name} size={size} />\n </Box>\n);\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\n\nexport type ModalTaglineProps = ComponentProps<typeof Box>;\n\nexport const ModalTagline = ({ children, ...props }: ModalTaglineProps) => (\n <Box rcx-modal__tagline {...props}>\n {children}\n </Box>\n);\n","import type { ComponentProps } from 'react';\n\nimport { Avatar } from '../Avatar';\nimport Box from '../Box';\n\nexport type ModalThumbProps = ComponentProps<typeof Avatar>;\n\nexport const ModalThumb = (props: ModalThumbProps) => (\n <Box>\n <Avatar size='x28' {...props} />\n </Box>\n);\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\n\nexport type ModalTitleProps = ComponentProps<typeof Box>;\n\nexport const ModalTitle = ({ children, ...props }: ModalTitleProps) => (\n <Box is='h2' rcx-modal__title {...props}>\n {children}\n </Box>\n);\n","import { Modal } from './Modal';\nimport { ModalBackdrop } from './ModalBackdrop';\nimport { ModalClose } from './ModalClose';\nimport { ModalContent } from './ModalContent';\nimport { ModalFooter } from './ModalFooter';\nimport { ModalFooterAnnotation } from './ModalFooterAnnotation';\nimport { ModalFooterControllers } from './ModalFooterControllers';\nimport { ModalHeader } from './ModalHeader';\nimport { ModalHeaderText } from './ModalHeaderText';\nimport { ModalHeroImage } from './ModalHeroImage';\nimport { ModalIcon } from './ModalIcon';\nimport { ModalTagline } from './ModalTagline';\nimport { ModalThumb } from './ModalThumb';\nimport { ModalTitle } from './ModalTitle';\n\n/* @deprecated use named exports */\nexport default Object.assign(Modal, {\n Backdrop: ModalBackdrop,\n Close: ModalClose,\n Content: ModalContent,\n Footer: ModalFooter,\n Header: ModalHeader,\n Icon: ModalIcon,\n Thumb: ModalThumb,\n Title: ModalTitle,\n Tagline: ModalTagline,\n HeaderText: ModalHeaderText,\n HeroImage: ModalHeroImage,\n FooterControllers: ModalFooterControllers,\n FooterAnnotation: ModalFooterAnnotation,\n});\n\nexport {\n ModalBackdrop,\n ModalClose,\n ModalContent,\n ModalFooter,\n ModalHeader,\n ModalThumb,\n ModalTitle,\n ModalIcon,\n ModalTagline,\n ModalHeaderText,\n ModalHeroImage,\n ModalFooterControllers,\n ModalFooterAnnotation,\n};\n","import {\n useMergedRefs,\n useEffectEvent,\n useResizeObserver,\n useOutsideClick,\n} from '@rocket.chat/fuselage-hooks';\nimport type {\n ComponentProps,\n SyntheticEvent,\n ElementType,\n Ref,\n ReactNode,\n} from 'react';\nimport { useState, useRef, useEffect, forwardRef } from 'react';\n\nimport type { SelectOption } from '..';\nimport { isForwardRefType } from '../../helpers/isForwardRefType';\nimport { prevent } from '../../helpers/prevent';\nimport AnimatedVisibility from '../AnimatedVisibility';\nimport Box from '../Box';\nimport Flex from '../Flex';\nimport { Icon } from '../Icon';\nimport Margins from '../Margins';\nimport { CheckOption } from '../Option';\nimport { Options, useCursor } from '../Options';\nimport Position from '../Position';\nimport SelectAddon from '../Select/SelectAddon';\n\nimport MultiSelectAnchor from './MultiSelectAnchor';\nimport type { MultiSelectAnchorParams } from './MultiSelectAnchorParams';\nimport { SelectedOptions } from './SelectedOptions';\n\ntype MultiSelectProps = Omit<\n ComponentProps<typeof Box>,\n 'onChange' | 'value'\n> & {\n value?: SelectOption[0][];\n error?: string;\n options: SelectOption[];\n onChange: (params: SelectOption[0][]) => void;\n getLabel?: (params: SelectOption) => SelectOption[1];\n getValue?: (params: SelectOption) => SelectOption[0];\n customEmpty?: string;\n anchor?:\n | ElementType<MultiSelectAnchorParams>\n | ((params: MultiSelectAnchorParams) => ReactNode);\n renderOptions?: ElementType;\n renderItem?: ElementType;\n renderSelected?: ElementType;\n addonIcon?: ComponentProps<typeof Icon>['name'];\n setFilter?: (filter: string) => void;\n};\n\n/**\n * An input for selection of options.\n */\nexport const MultiSelect = forwardRef(\n (\n {\n value,\n filter,\n setFilter,\n options = [],\n error,\n disabled,\n anchor: Anchor = MultiSelectAnchor,\n onChange = () => {},\n getLabel = ([, label] = ['', '']) => label,\n getValue = ([value]) => value,\n placeholder,\n renderOptions: _Options = Options,\n renderItem,\n customEmpty,\n renderSelected: RenderSelected,\n addonIcon,\n ...props\n }: MultiSelectProps,\n ref: Ref<HTMLInputElement>,\n ) => {\n const [internalValue, setInternalValue] = useState<SelectOption[0][]>(\n value || [],\n );\n\n useEffect((): void => setInternalValue(value || []), [value]);\n\n const [currentOptionValue, setCurrentOption] = useState<SelectOption[0]>();\n\n const index = options.findIndex(\n (option) => getValue(option) === currentOptionValue,\n );\n\n const removeFocusClass = () =>\n innerRef.current?.classList.remove('focus-visible');\n\n const internalChanged = ([value]: SelectOption) => {\n if (internalValue.includes(value)) {\n setCurrentOption(undefined);\n const newValue = internalValue.filter((item) => item !== value);\n setInternalValue(newValue);\n return onChange(newValue);\n }\n setFilter?.('');\n setCurrentOption(value);\n const newValue = [...internalValue, value];\n setInternalValue(newValue);\n return onChange(newValue);\n };\n\n const mapOptions = ([value, label]: SelectOption): SelectOption => {\n if (internalValue.includes(value)) {\n return [value, label, true];\n }\n return [value, label];\n };\n\n const applyFilter = ([, option]: SelectOption) =>\n !filter || option.toLowerCase().includes(filter.toLowerCase());\n\n const filteredOptions: SelectOption[] = options\n .filter(applyFilter)\n .map(mapOptions);\n\n const [cursor, handleKeyDown, handleKeyUp, reset, [visible, hide, show]] =\n useCursor(index, filteredOptions, internalChanged);\n\n useEffect(reset, [filter]);\n\n const innerRef = useRef<HTMLElement>(null);\n const anchorRef = useMergedRefs(ref, innerRef);\n\n const { ref: containerRef, borderBoxSize } = useResizeObserver();\n useOutsideClick([containerRef], removeFocusClass);\n\n const renderAnchor = (params: MultiSelectAnchorParams) => {\n if (isForwardRefType(Anchor)) {\n return <Anchor {...params} />;\n }\n\n if (typeof Anchor === 'function') {\n return (Anchor as (params: MultiSelectAnchorParams) => ReactNode)(\n params,\n );\n }\n\n return null;\n };\n\n const handleClick = useEffectEvent(() => {\n if (visible === AnimatedVisibility.VISIBLE) {\n return hide();\n }\n innerRef.current?.focus();\n return show();\n });\n\n return (\n <Box\n is='div'\n rcx-select\n className={[error && 'invalid', disabled && 'disabled']}\n ref={containerRef}\n onClick={handleClick}\n disabled={disabled}\n {...props}\n >\n <Flex.Item grow={1}>\n <Margins inline='x4'>\n <Flex.Container>\n <Box is='div'>\n <Box\n is='div'\n display='flex'\n alignItems='center'\n flexWrap='wrap'\n margin='-x8'\n role='listbox'\n >\n <Margins all='x4'>\n {renderAnchor({\n ref: anchorRef,\n children: internalValue.length === 0 ? placeholder : null,\n disabled: disabled ?? false,\n onClick: show,\n onBlur: hide,\n onKeyDown: handleKeyDown,\n onKeyUp: handleKeyUp,\n })}\n {internalValue.map((value: SelectOption[0]) => {\n const currentOption = options.find(\n ([val]) => val === value,\n ) as SelectOption;\n return RenderSelected ? (\n <RenderSelected\n role='option'\n value={value}\n key={value}\n label={getLabel(currentOption)}\n onMouseDown={(e: SyntheticEvent) => {\n prevent(e);\n internalChanged(currentOption);\n removeFocusClass();\n }}\n children={getLabel(currentOption)}\n />\n ) : (\n <SelectedOptions\n tabIndex={-1}\n role='option'\n key={String(value)}\n onMouseDown={(e: SyntheticEvent) => {\n prevent(e);\n internalChanged(currentOption);\n removeFocusClass();\n }}\n children={getLabel(currentOption)}\n />\n );\n })}\n </Margins>\n </Box>\n </Box>\n </Flex.Container>\n </Margins>\n </Flex.Item>\n <Flex.Item grow={0} shrink={0}>\n <Margins inline='x4'>\n <SelectAddon\n children={\n <Icon\n name={\n visible === AnimatedVisibility.VISIBLE\n ? 'chevron-up'\n : addonIcon || 'chevron-down'\n }\n size='x20'\n />\n }\n />\n </Margins>\n </Flex.Item>\n <AnimatedVisibility visibility={visible}>\n <Position anchor={containerRef}>\n <_Options\n width={borderBoxSize.inlineSize}\n onMouseDown={prevent}\n multiple\n filter={filter}\n renderItem={renderItem || CheckOption}\n role='listbox'\n options={filteredOptions}\n onSelect={internalChanged}\n cursor={cursor}\n customEmpty={customEmpty}\n />\n </Position>\n </AnimatedVisibility>\n </Box>\n );\n },\n);\n","import type {\n FocusEventHandler,\n KeyboardEventHandler,\n MouseEventHandler,\n ReactNode,\n Ref,\n} from 'react';\nimport { forwardRef } from 'react';\n\nimport SelectFocus from '../Select/SelectFocus';\n\ntype MultiSelectAnchorProps = {\n children: ReactNode;\n disabled: boolean;\n onClick: MouseEventHandler;\n onBlur: FocusEventHandler;\n onKeyUp: KeyboardEventHandler;\n onKeyDown: KeyboardEventHandler;\n};\n\nconst MultiSelectAnchor = forwardRef(function MultiSelectAnchor(\n props: MultiSelectAnchorProps,\n ref: Ref<Element>,\n) {\n return (\n <SelectFocus\n rcx-input-box--undecorated\n ref={ref}\n aria-haspopup='listbox'\n order={1}\n {...props}\n />\n );\n});\n\nexport default MultiSelectAnchor;\n","import type { ComponentProps, Dispatch, SetStateAction } from 'react';\nimport { useState } from 'react';\n\nimport type { Icon } from '..';\n\nimport { MultiSelect } from './MultiSelect';\nimport type { MultiSelectAnchorParams } from './MultiSelectAnchorParams';\nimport MultiSelectFilteredAnchor from './MultiSelectFilteredAnchor';\n\ntype MultiSelectFilteredProps = ComponentProps<typeof MultiSelect> & {\n filter?: string;\n setFilter?: Dispatch<SetStateAction<string>>;\n addonIcon?: ComponentProps<typeof Icon>['name'];\n};\n\nexport const MultiSelectFiltered = ({\n options,\n placeholder,\n filter: propFilter,\n setFilter: propSetFilter,\n ...props\n}: MultiSelectFilteredProps) => {\n const [filter, setFilter] = useState('');\n\n return (\n <MultiSelect\n {...props}\n filter={propFilter || filter}\n setFilter={propSetFilter || setFilter}\n options={options}\n anchor={(params: MultiSelectAnchorParams) => (\n <MultiSelectFilteredAnchor\n placeholder={placeholder}\n filter={propFilter || filter}\n onChangeFilter={propSetFilter || setFilter}\n {...params}\n />\n )}\n />\n );\n};\n","import type {\n FocusEventHandler,\n FormEvent,\n KeyboardEventHandler,\n MouseEventHandler,\n ReactNode,\n Ref,\n} from 'react';\nimport { forwardRef } from 'react';\n\nimport Flex from '../Flex';\nimport { InputBox } from '../InputBox';\n\ntype MultiSelectFilteredAnchorProps = {\n children: ReactNode;\n disabled: boolean;\n filter: string;\n onChangeFilter: (filter: string) => void;\n placeholder?: string;\n onClick: MouseEventHandler;\n onBlur: FocusEventHandler;\n onKeyUp: KeyboardEventHandler;\n onKeyDown: KeyboardEventHandler;\n};\n\nconst MultiSelectFilteredAnchor = forwardRef(function MultiSelectFilteredAnchor(\n {\n children: _children,\n filter,\n onChangeFilter,\n placeholder,\n ...props\n }: MultiSelectFilteredAnchorProps,\n ref: Ref<Element>,\n) {\n return (\n <Flex.Item grow={1}>\n <InputBox.Input\n ref={ref}\n placeholder={placeholder}\n value={filter}\n onInput={(e: FormEvent<HTMLInputElement>) =>\n onChangeFilter(e.currentTarget.value)\n }\n {...props}\n rcx-input-box--undecorated\n aria-haspopup='listbox'\n order={1}\n />\n </Flex.Item>\n );\n});\n\nexport default MultiSelectFilteredAnchor;\n","import type { ReactNode, SyntheticEvent } from 'react';\nimport { memo } from 'react';\n\nimport Chip from '../Chip';\n\ntype SelectedOptionsProps = {\n children: ReactNode;\n tabIndex: number;\n role: string;\n key: string;\n onMouseDown: (e: SyntheticEvent) => void;\n};\n\nexport const SelectedOptions = memo(function SelectedOptions(\n props: SelectedOptionsProps,\n) {\n return <Chip {...props} />;\n});\n","import { MultiSelect } from './MultiSelect';\nimport { MultiSelectFiltered } from './MultiSelectFiltered';\n\nexport { MultiSelect, MultiSelectFiltered };\n","import type { HTMLAttributes } from 'react';\n\nexport const NavBar = (props: HTMLAttributes<HTMLElement>) => (\n <nav className='rcx-navbar' {...props} />\n);\n","import type { ComponentProps } from 'react';\n\nimport { Divider } from '../Divider';\n\nexport const NavBarDivider = (props: ComponentProps<typeof Divider>) => (\n <Divider rcx-navbar-divider vertical {...props} />\n);\n","import type { ComponentProps } from 'react';\nimport { forwardRef } from 'react';\n\nimport { ButtonGroup } from '../ButtonGroup';\n\nexport const NavBarGroup = forwardRef<\n HTMLDivElement,\n ComponentProps<typeof ButtonGroup>\n>((props, ref) => (\n <ButtonGroup className='rcx-navbar-group' ref={ref} {...props} />\n));\n","import type { ComponentProps, HTMLAttributes } from 'react';\nimport { forwardRef } from 'react';\n\nimport { appendClassName } from '../../helpers/appendClassName';\nimport { patchChildren } from '../../helpers/patchChildren';\nimport { IconButton } from '../Button';\n\ntype NavbarItemProps = Partial<ComponentProps<typeof IconButton>>;\n\nexport const NavBarItem = forwardRef<\n HTMLElement,\n HTMLAttributes<HTMLElement> & NavbarItemProps\n>(function NavBarItem({ children, icon, ...props }, ref) {\n return (\n <>\n {icon ? (\n <IconButton ref={ref} rcx-navbar-item icon={icon} small {...props} />\n ) : (\n patchChildren(\n children,\n (childProps: { className: string | string[] }) => ({\n className: appendClassName(childProps.className, 'rcx-navbar-item'),\n ref,\n ...props,\n }),\n )\n )}\n </>\n );\n});\n","import type { HTMLAttributes } from 'react';\n\nexport const NavBarSection = (props: HTMLAttributes<HTMLSpanElement>) => (\n <span className='rcx-navbar-section' {...props} />\n);\n","export * from './NavBar';\nexport * from './NavBarGroup';\nexport * from './NavBarItem';\nexport * from './NavBarDivider';\nexport * from './NavBarSection';\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { InputBox } from '../InputBox';\n\ntype NumberInputProps = Omit<ComponentProps<typeof InputBox>, 'type'>;\n\n/**\n * An input for numbers.\n */\nexport const NumberInput = forwardRef(function NumberInput(\n props: NumberInputProps,\n ref: Ref<HTMLInputElement>,\n) {\n return <InputBox type='number' ref={ref} {...props} />;\n});\n","export * from './NumberInput';\n","import type { ComponentProps } from 'react';\nimport { memo } from 'react';\n\nimport { CheckBox } from '../CheckBox';\n\nimport Option from './Option';\n\ntype CheckOptionProps = ComponentProps<typeof Option>;\n\nexport const CheckOption = memo(function CheckOption({\n selected,\n children: label,\n ...options\n}: CheckOptionProps) {\n return (\n <Option label={label as string} selected={selected} {...options}>\n <CheckBox checked={selected} />\n </Option>\n );\n});\n","import type {\n Ref,\n ComponentProps,\n ReactNode,\n MouseEvent,\n AllHTMLAttributes,\n} from 'react';\nimport { forwardRef, memo } from 'react';\n\nimport type { Icon } from '../..';\nimport { OptionColumn } from '../..';\nimport { prevent } from '../../helpers/prevent';\nimport type Box from '../Box';\n\nimport OptionAvatar from './OptionAvatar';\nimport OptionContent from './OptionContent';\nimport OptionIcon from './OptionIcon';\n\ntype OptionProps = {\n is?: ComponentProps<typeof Box>['is'];\n id?: string;\n children?: ReactNode;\n label?: ReactNode;\n focus?: boolean;\n selected?: boolean;\n className?: ComponentProps<typeof Box>['className'];\n ref?: Ref<Element>;\n icon?: ComponentProps<typeof Icon>['name'];\n gap?: boolean;\n avatar?: ReactNode;\n title?: string;\n disabled?: boolean;\n value?: string;\n variant?: 'danger' | 'success' | 'warning' | 'primary';\n onClick?: (event: MouseEvent<HTMLElement>) => void;\n description?: ReactNode;\n} & Omit<AllHTMLAttributes<HTMLElement>, 'label'>;\n\n/**\n * The generic `Option` item of options. Can be freely used or inside the `Options` as well.\n */\nconst Option = memo(\n forwardRef(\n (\n {\n is: Tag = 'li',\n id,\n children,\n label,\n focus,\n selected,\n className,\n icon,\n gap,\n avatar,\n title,\n disabled,\n variant,\n onClick,\n description,\n ...props\n }: OptionProps,\n ref,\n ) => (\n <Tag\n {...props}\n key={id}\n id={id}\n ref={ref}\n aria-selected={!!selected}\n aria-disabled={!!disabled}\n title={title}\n onClick={(e: MouseEvent<HTMLDivElement>) => {\n if (disabled) {\n prevent(e);\n return;\n }\n onClick?.(e);\n }}\n className={[\n 'rcx-option',\n className,\n focus && 'rcx-option--focus',\n selected && 'rcx-option--selected',\n disabled && 'rcx-option--disabled',\n variant && `rcx-option--${variant}`,\n ]\n .filter(Boolean)\n .join(' ')}\n >\n <div\n className={[\n 'rcx-option__wrapper',\n !!description && 'rcx-option__wrapper--align-top',\n ]\n .filter(Boolean)\n .join(' ')}\n >\n {avatar && <OptionAvatar>{avatar}</OptionAvatar>}\n {icon && <OptionIcon name={icon} />}\n {gap && <OptionColumn />}\n {label && <OptionContent>{label}</OptionContent>}\n {label !== children && children}\n </div>\n </Tag>\n ),\n ),\n);\n\nexport default Option;\n","import type { ReactNode } from 'react';\n\ntype OptionAvatarProps = {\n children?: ReactNode;\n};\n\nconst OptionAvatar = (props: OptionAvatarProps) => (\n <div className='rcx-option__avatar' {...props} />\n);\n\nexport default OptionAvatar;\n","import type { ReactNode } from 'react';\n\ntype OptionColumnProps = {\n children?: ReactNode;\n};\n\nconst OptionColumn = (props: OptionColumnProps) => (\n <div className='rcx-option__column' {...props} />\n);\n\nexport default OptionColumn;\n","import type { HTMLAttributes } from 'react';\n\nconst OptionContent = (props: HTMLAttributes<HTMLDivElement>) => (\n <div className='rcx-option__content' {...props} />\n);\n\nexport default OptionContent;\n","import type { ReactNode } from 'react';\n\ntype OptionDescriptionProps = {\n children?: ReactNode;\n};\n\nconst OptionDescription = (props: OptionDescriptionProps) => (\n <div className='rcx-option__description' {...props} />\n);\n\nexport default OptionDescription;\n","import type { ReactNode } from 'react';\n\ntype OptionDescriptionProps = {\n children?: ReactNode;\n};\n\nconst OptionDescriptionBlock = (props: OptionDescriptionProps) => (\n <div className='rcx-option__description-block' {...props} />\n);\n\nexport default OptionDescriptionBlock;\n","import type { ComponentProps } from 'react';\n\nimport { Divider } from '../..';\n\ntype OptionDividerProps = ComponentProps<typeof Divider>;\n\nconst OptionDivider = (props: OptionDividerProps) => <Divider {...props} />;\n\nexport default OptionDivider;\n","import type { ReactNode } from 'react';\n\ntype OptionHeaderProps = {\n children: ReactNode;\n};\n\nconst OptionHeader = ({ children }: OptionHeaderProps) => (\n <div className='rcx-option__header'>{children}</div>\n);\n\nexport default OptionHeader;\n","import type { ComponentProps } from 'react';\n\nimport { Icon } from '../Icon';\n\nimport OptionColumn from './OptionColumn';\n\ntype OptionIconProps = ComponentProps<typeof Icon>;\n\nconst OptionIcon = (props: OptionIconProps) => (\n <OptionColumn>\n <Icon size='x20' rcx-option__icon {...props} />\n </OptionColumn>\n);\n\nexport default OptionIcon;\n","import type { ReactNode } from 'react';\n\ntype OptionInputProps = {\n children?: ReactNode;\n};\n\nconst OptionInput = (props: OptionInputProps) => (\n <div className='rcx-option__input' {...props} />\n);\n\nexport default OptionInput;\n","import type { HTMLAttributes, ReactNode } from 'react';\n\ntype OptionMenuProps = {\n children?: ReactNode;\n} & HTMLAttributes<HTMLDivElement>;\n\nconst OptionMenu = (props: OptionMenuProps) => (\n <div className='rcx-box--animated rcx-option__menu-wrapper' {...props} />\n);\n\nexport default OptionMenu;\n","import { Skeleton } from '../Skeleton';\n\nimport Option from './Option';\n\nconst OptionSkeleton = () => (\n <Option>\n <Skeleton width='100%' />\n </Option>\n);\n\nexport default OptionSkeleton;\n","import type { ReactNode } from 'react';\n\ntype OptionTitleProps = {\n children?: ReactNode;\n};\n\nconst OptionTitle = (props: OptionTitleProps) => (\n <div className='rcx-option__title' {...props} />\n);\n\nexport default OptionTitle;\n","import Option from './Option';\nimport OptionAvatar from './OptionAvatar';\nimport OptionColumn from './OptionColumn';\nimport OptionContent from './OptionContent';\nimport OptionDescription from './OptionDescription';\nimport OptionDescriptionBlock from './OptionDescriptionBlock';\nimport OptionDivider from './OptionDivider';\nimport OptionHeader from './OptionHeader';\nimport OptionIcon from './OptionIcon';\nimport OptionInput from './OptionInput';\nimport OptionMenu from './OptionMenu';\nimport OptionSkeleton from './OptionSkeleton';\nimport OptionTitle from './OptionTitle';\n\nexport default Object.assign(Option, {\n /** @deprecated */\n Description: OptionDescription,\n /** @deprecated */\n Skeleton: OptionSkeleton,\n /** @deprecated */\n Avatar: OptionAvatar,\n /** @deprecated */\n Menu: OptionMenu,\n /** @deprecated */\n Icon: OptionIcon,\n /** @deprecated */\n Divider: OptionDivider,\n /** @deprecated */\n Column: OptionColumn,\n /** @deprecated */\n Content: OptionContent,\n});\n\nexport * from './CheckOption';\nexport { OptionAvatar };\nexport { OptionColumn };\nexport { OptionContent };\nexport { OptionDescription };\nexport { OptionDescriptionBlock };\nexport { OptionDivider };\nexport { OptionIcon };\nexport { OptionInput };\nexport { OptionMenu };\nexport { OptionSkeleton };\nexport { OptionTitle };\nexport { OptionHeader };\n","import type {\n ComponentProps,\n ElementType,\n ReactNode,\n Ref,\n SyntheticEvent,\n} from 'react';\nimport { forwardRef, memo, useLayoutEffect, useMemo, useRef } from 'react';\n\nimport { prevent } from '../../helpers/prevent';\nimport Box from '../Box';\nimport Option, { OptionHeader, OptionDivider } from '../Option';\nimport Scrollable from '../Scrollable';\nimport Tile from '../Tile';\n\nimport { useCursor } from './useCursor';\n\nexport { useCursor };\n\nexport type OptionType = [\n value: string | number,\n label: ReactNode,\n selected?: boolean,\n disabled?: boolean,\n type?: 'heading' | 'divider' | 'option',\n url?: string,\n];\n\ntype OptionsProps = Omit<ComponentProps<typeof Box>, 'onSelect'> & {\n multiple?: boolean;\n options: OptionType[];\n cursor: number;\n renderItem?: ElementType;\n renderEmpty?: ElementType;\n onSelect: (option: OptionType) => void;\n customEmpty?: string;\n};\n\nexport const Empty = memo(({ customEmpty }: { customEmpty: string }) => (\n <Option label={customEmpty || 'Empty'} />\n));\n\n/**\n * An input for selection of options.\n */\nexport const Options = forwardRef(\n (\n {\n maxHeight = 'x144',\n multiple,\n renderEmpty: EmptyComponent = Empty,\n options,\n cursor,\n renderItem: OptionComponent = Option,\n onSelect,\n customEmpty,\n ...props\n }: OptionsProps,\n ref: Ref<HTMLElement>,\n ) => {\n const liRef = useRef<HTMLElement>(null);\n\n useLayoutEffect(() => {\n if (!liRef.current) {\n return;\n }\n const { current } = liRef;\n const li = current?.querySelector<HTMLLIElement>('.rcx-option--focus');\n if (!li) {\n return;\n }\n if (\n li.offsetTop + li.clientHeight >\n current.scrollTop + current.clientHeight ||\n li.offsetTop - li.clientHeight < current.scrollTop\n ) {\n current.scrollTop = li.offsetTop;\n }\n }, [cursor]);\n\n const optionsMemoized = useMemo(\n () =>\n options?.map(([value, label, selected, disabled, type, url], i) => {\n switch (type) {\n case 'heading':\n return <OptionHeader key={value}>{label}</OptionHeader>;\n case 'divider':\n return <OptionDivider key={value} />;\n default:\n return (\n <OptionComponent\n role='option'\n label={label}\n onMouseDown={(e: SyntheticEvent) => {\n if (disabled) {\n return;\n }\n prevent(e);\n onSelect([value, label, selected, disabled, type, url]);\n return false;\n }}\n key={value}\n value={value}\n selected={selected || (multiple !== true && null)}\n disabled={disabled}\n focus={cursor === i || null}\n />\n );\n }\n }),\n [options, multiple, cursor, onSelect, OptionComponent],\n );\n\n return (\n <Box rcx-options {...props} ref={ref}>\n <Tile padding={0} paddingBlock={'x12'} paddingInline={0} elevation='2'>\n <Scrollable vertical smooth>\n <Tile\n ref={liRef}\n elevation='0'\n padding='none'\n maxHeight={maxHeight}\n onMouseDown={prevent}\n onClick={prevent}\n is='ol'\n aria-multiselectable={multiple || true}\n role='listbox'\n aria-activedescendant={\n options?.[cursor]?.[0]\n ? String(options?.[cursor]?.[0])\n : undefined\n }\n >\n {!options.length && <EmptyComponent customEmpty={customEmpty} />}\n {optionsMemoized}\n </Tile>\n </Scrollable>\n </Tile>\n </Box>\n );\n },\n);\nexport const OptionContainer = forwardRef<\n HTMLElement,\n ComponentProps<typeof Box>\n>(({ children, ...props }, ref) => (\n <Box rcx-options>\n <Tile padding={0} paddingBlock={'x12'} paddingInline={0}>\n <Scrollable vertical smooth>\n <Tile\n ref={ref}\n elevation='0'\n padding='none'\n maxHeight='x240'\n // onMouseDown={prevent}\n // onClick={prevent}\n // is='ol'\n // aria-multiselectable={multiple || true}\n // role='listbox'\n {...props}\n >\n {children}\n </Tile>\n </Scrollable>\n </Tile>\n </Box>\n));\n","import type { AvatarProps } from '../Avatar';\n\nimport { Options } from './Options';\n\nexport * from './Options';\n\nconst avatarSize: AvatarProps['size'] = 'x20';\n\nexport default Object.assign(Options, {\n /** @deprecated */\n AvatarSize: avatarSize,\n});\n","import { useEffectEvent } from '@rocket.chat/fuselage-hooks';\nimport type { KeyboardEvent } from 'react';\nimport { useState } from 'react';\n\nimport AnimatedVisibility from '../AnimatedVisibility';\n\nimport type { OptionType } from './Options';\nimport { useVisible } from './useVisible';\n\nconst keyCodes = {\n ESC: 27,\n KEY_UP: 38,\n KEY_DOWN: 40,\n HOME: 36,\n END: 35,\n TAB: 9,\n ENTER: 13,\n};\n\nconst findLastIndex = <T>(\n options: T[],\n predicate: (value: T, index: number, obj: T[]) => unknown,\n) => {\n for (let i = options.length - 1; i >= 0; i--) {\n if (predicate(options[i], i, options)) {\n return i;\n }\n }\n\n return -1;\n};\n\nconst findPreviousIndex = <T>(\n options: T[],\n predicate: (value: T, index: number, obj: T[]) => unknown,\n currentIndex: number,\n) => {\n for (let i = currentIndex - 1; i >= 0; i--) {\n if (predicate(options[i], i, options)) {\n return i;\n }\n }\n\n return -1;\n};\n\nconst findNextIndex = <T>(\n options: T[],\n predicate: (value: T, index: number, obj: T[]) => unknown,\n currentIndex: number,\n) => {\n for (let i = currentIndex + 1; i < options.length; i++) {\n if (predicate(options[i], i, options)) {\n return i;\n }\n }\n\n return -1;\n};\n\nexport type UseCursorOnChange<T> = (\n option: T,\n visibilityHandler: ReturnType<typeof useVisible>,\n) => void;\n\nexport const useCursor = <\n T extends readonly [\n value: unknown,\n label: unknown,\n selected?: unknown,\n disabled?: unknown,\n type?: OptionType[4],\n url?: string,\n ] = OptionType,\n>(\n initial: number,\n options: Array<T>,\n onChange: UseCursorOnChange<T>,\n): [\n cursor: number,\n handleKeyDown: (e: KeyboardEvent) => void,\n handleKeyUp: (e: KeyboardEvent) => void,\n reset: () => void,\n visibilityHandler: ReturnType<typeof useVisible>,\n] => {\n const [cursor, setCursor] = useState(initial);\n const visibilityHandler = useVisible();\n const [visibility, hide, show] = visibilityHandler;\n const reset = useEffectEvent(() => setCursor(0));\n const handleKeyUp = useEffectEvent((e: KeyboardEvent) => {\n const { keyCode } = e;\n if (AnimatedVisibility.HIDDEN === visibility && keyCode === keyCodes.TAB) {\n return show();\n }\n });\n\n const handleKeyDown = useEffectEvent((e: KeyboardEvent) => {\n const isSelectableOption = ([, , , type]: T) => !type || type === 'option';\n const getLastIndex = () => findLastIndex(options, isSelectableOption);\n\n const { keyCode, key } = e;\n if (\n AnimatedVisibility.HIDDEN === visibility &&\n keyCode !== keyCodes.ESC &&\n keyCode !== keyCodes.TAB\n ) {\n show();\n }\n switch (keyCode) {\n case keyCodes.HOME:\n e.preventDefault();\n return reset();\n\n case keyCodes.END:\n e.preventDefault();\n return setCursor(getLastIndex());\n\n case keyCodes.KEY_UP:\n e.preventDefault();\n if (cursor < 1) {\n return setCursor(getLastIndex());\n }\n return setCursor((cursor) =>\n findPreviousIndex(options, isSelectableOption, cursor),\n );\n\n case keyCodes.KEY_DOWN:\n e.preventDefault();\n if (cursor === getLastIndex()) {\n return setCursor(0);\n }\n return setCursor((cursor) =>\n findNextIndex(options, isSelectableOption, cursor),\n );\n\n case keyCodes.ENTER:\n e.preventDefault();\n if (visibility === AnimatedVisibility.VISIBLE) {\n e.persist();\n e.nativeEvent.stopImmediatePropagation(); // TODO\n e.stopPropagation();\n }\n hide();\n onChange(options[cursor], visibilityHandler);\n return;\n\n case keyCodes.ESC:\n e.preventDefault();\n reset();\n hide();\n if (visibility === AnimatedVisibility.VISIBLE) {\n e.persist();\n e.nativeEvent.stopImmediatePropagation(); // TODO\n e.stopPropagation();\n return false;\n }\n break;\n\n default:\n if (key.match(/^[\\d\\w]$/i)) {\n const index = options.findIndex((option) => {\n if (!isSelectableOption(option)) {\n return false;\n }\n\n const [, label] = option;\n return typeof label === 'string' && label[0].toLowerCase() === key;\n });\n if (~index) setCursor(index);\n }\n }\n });\n\n return [cursor, handleKeyDown, handleKeyUp, reset, visibilityHandler];\n};\n","import { useEffectEvent, useDebouncedState } from '@rocket.chat/fuselage-hooks';\n\nimport AnimatedVisibility from '../AnimatedVisibility';\n\nexport const useVisible = (\n initialVisibility:\n | typeof AnimatedVisibility.HIDDEN\n | typeof AnimatedVisibility.HIDING\n | typeof AnimatedVisibility.VISIBLE\n | typeof AnimatedVisibility.UNHIDING = AnimatedVisibility.HIDDEN,\n): [\n visible:\n | typeof AnimatedVisibility.HIDDEN\n | typeof AnimatedVisibility.HIDING\n | typeof AnimatedVisibility.VISIBLE\n | typeof AnimatedVisibility.UNHIDING,\n hide: () => void,\n show: () => void,\n] => {\n const [visible, setVisible] = useDebouncedState(initialVisibility, 10);\n const hide = useEffectEvent(() => setVisible(AnimatedVisibility.HIDDEN));\n const show = useEffectEvent(() => setVisible(AnimatedVisibility.VISIBLE));\n\n return [visible, hide, show];\n};\n","import { useEffectEvent, useDebouncedState } from '@rocket.chat/fuselage-hooks';\nimport type { ComponentProps, ElementType, Ref, SyntheticEvent } from 'react';\nimport { forwardRef, memo } from 'react';\nimport { Virtuoso } from 'react-virtuoso';\n\nimport { prevent } from '../../helpers/prevent';\nimport AnimatedVisibility from '../AnimatedVisibility';\nimport Box from '../Box';\nimport { CheckBox } from '../CheckBox';\nimport Option from '../Option';\nimport Tile from '../Tile';\n\ntype OptionsPaginatedProps = Omit<ComponentProps<typeof Box>, 'onSelect'> & {\n multiple?: boolean;\n options: { value: unknown; label: string; selected?: boolean }[];\n cursor: number;\n withTitle?: boolean;\n renderItem?: ElementType;\n renderEmpty?: ElementType;\n onSelect: (option: [unknown, string]) => void;\n endReached?: (index: number) => void;\n};\n\nexport const Empty = memo(() => <Option label='Empty' />);\n\ntype CheckOptionProps = ComponentProps<typeof Option>;\n\nexport const CheckOption = memo(function CheckOption({\n selected,\n children: label,\n ...options\n}: CheckOptionProps) {\n return (\n <Option label={label as string} selected={selected} {...options}>\n <CheckBox checked={selected} />\n </Option>\n );\n});\n\n/**\n * An input for selection of options.\n */\nexport const OptionsPaginated = forwardRef(\n (\n {\n withTitle,\n multiple,\n renderEmpty: EmptyComponent = Empty,\n options,\n cursor,\n renderItem: OptionComponent = Option,\n onSelect,\n endReached,\n ...props\n }: OptionsPaginatedProps,\n ref: Ref<Element>,\n ) => {\n const OptionsComponentWithData = ({\n index,\n data,\n }: {\n index: number;\n data: OptionsPaginatedProps['options'][0];\n }) => {\n const { value, label, selected } = data;\n return (\n <OptionComponent\n {...(withTitle && { title: label })}\n role='option'\n label={label}\n onMouseDown={(e: SyntheticEvent) => {\n prevent(e);\n onSelect([value, label]);\n return false;\n }}\n key={value}\n value={value}\n selected={selected || (multiple !== true && null)}\n focus={cursor === index || null}\n />\n );\n };\n\n return (\n <Box rcx-options {...props} ref={ref}>\n <Tile padding={0} paddingBlock={'x12'} paddingInline={0} elevation='2'>\n {!options.length ? (\n <EmptyComponent />\n ) : (\n <Virtuoso\n endReached={endReached}\n style={{ height: '144px' }}\n totalCount={options.length}\n data={options}\n // TODO Add a scroller element\n // components={{ Scroller: ScrollableContentWrapper }}\n itemContent={(index, data) => (\n <OptionsComponentWithData index={index} data={data} />\n )}\n />\n )}\n </Tile>\n </Box>\n );\n },\n);\n\nexport const useVisible = (initialVisibility = AnimatedVisibility.HIDDEN) => {\n const [visible, setVisible] = useDebouncedState(initialVisibility, 10);\n const hide = useEffectEvent(() => setVisible(AnimatedVisibility.HIDDEN));\n const show = useEffectEvent(() => setVisible(AnimatedVisibility.VISIBLE));\n\n return [visible, hide, show];\n};\n","export * from './OptionsPaginated';\n","import { useEffectEvent, useResizeObserver } from '@rocket.chat/fuselage-hooks';\nimport { type ComponentProps, useState, useRef, ElementType } from 'react';\n\nimport { prevent } from '../../helpers/prevent';\nimport AnimatedVisibility from '../AnimatedVisibility';\nimport Box from '../Box';\nimport Chip from '../Chip';\nimport Flex from '../Flex';\nimport { Icon } from '../Icon';\nimport Margins from '../Margins';\nimport Option from '../Option';\nimport { useVisible } from '../Options/useVisible';\nimport { OptionsPaginated } from '../OptionsPaginated';\nimport Position from '../Position';\nimport SelectAddon from '../Select/SelectAddon';\nimport SelectFocus from '../Select/SelectFocus';\n\nexport type PaginatedMultiSelectOption = {\n value: string | number;\n label: string;\n};\n\ntype PaginatedMultiSelectProps = Omit<\n ComponentProps<typeof Box>,\n 'onChange' | 'value'\n> & {\n error?: boolean;\n options: PaginatedMultiSelectOption[];\n withTitle?: boolean;\n placeholder?: string;\n endReached?: (start?: number, end?: number) => void;\n value?: PaginatedMultiSelectOption[];\n onChange: (values: PaginatedMultiSelectOption[]) => void;\n renderOptions?: ElementType<ComponentProps<typeof OptionsPaginated>>;\n renderItem?: ElementType<ComponentProps<typeof Option>>;\n anchor?: any;\n};\n\nconst PaginatedMultiSelect = ({\n withTitle,\n value,\n filter,\n options = [],\n error,\n disabled,\n anchor: Anchor = SelectFocus,\n onChange = () => {},\n placeholder,\n renderOptions: OptionsComponent = OptionsPaginated,\n renderItem = Option,\n endReached,\n ...props\n}: PaginatedMultiSelectProps) => {\n const [internalValue, setInternalValue] = useState(value || []);\n\n const currentValue = value !== undefined ? value : internalValue;\n\n const selectedOptions = options.filter((option) =>\n currentValue.some((opt) => opt.value === option.value),\n );\n\n const [visible, hide, show] = useVisible();\n\n const ref = useRef<HTMLInputElement>(null);\n const { ref: containerRef, borderBoxSize } = useResizeObserver();\n\n const handleClick = useEffectEvent(() => {\n if (visible === AnimatedVisibility.VISIBLE) {\n return hide();\n }\n if (ref && ref.current) {\n ref.current.focus();\n return show();\n }\n });\n\n const addOption = (value: unknown) => {\n const option = options.find((opt) => opt.value === value);\n if (!option) {\n return;\n }\n\n const newValue = [...currentValue, option];\n setInternalValue(newValue);\n onChange(newValue);\n };\n\n const removeOption = (value: unknown) => {\n const newValue = currentValue.filter((opt) => opt.value !== value);\n\n setInternalValue(newValue);\n onChange(newValue);\n };\n\n const toggleOption = (value: unknown) => {\n if (currentValue.some((opt) => opt.value === value)) {\n removeOption(value);\n return;\n }\n\n addOption(value);\n };\n\n return (\n <Box\n is='div'\n rcx-select\n className={[error && 'invalid', disabled && 'disabled']}\n ref={containerRef}\n onClick={handleClick}\n disabled={disabled}\n {...props}\n >\n <Flex.Item grow={1}>\n <Margins inline='x4'>\n <Flex.Container>\n <Box is='div'>\n <Box\n is='div'\n display='flex'\n alignItems='center'\n flexWrap='wrap'\n margin='-x8'\n role='listbox'\n >\n <Margins all='x4'>\n <Anchor\n disabled={disabled}\n ref={ref}\n aria-haspopup='listbox'\n onClick={show}\n onBlur={hide}\n order={1}\n rcx-input-box--undecorated\n children={placeholder ?? null}\n />\n\n {selectedOptions.map(({ value, label }, index) => (\n <Chip\n key={value ?? index}\n maxWidth='x150'\n withTruncatedText\n title={withTitle ? label : undefined}\n tabIndex={-1}\n role='option'\n onClick={(e) => {\n prevent(e);\n removeOption(value);\n }}\n >\n {label}\n </Chip>\n ))}\n </Margins>\n </Box>\n </Box>\n </Flex.Container>\n </Margins>\n </Flex.Item>\n <Flex.Item grow={0} shrink={0}>\n <Margins inline='x4'>\n <SelectAddon\n children={\n <Icon\n name={\n visible === AnimatedVisibility.VISIBLE\n ? 'cross'\n : 'chevron-down'\n }\n size='x20'\n />\n }\n />\n </Margins>\n </Flex.Item>\n <AnimatedVisibility visibility={visible}>\n <Position anchor={containerRef}>\n <OptionsComponent\n width={borderBoxSize.inlineSize}\n onMouseDown={prevent}\n multiple\n filter={filter}\n role='listbox'\n options={options}\n cursor={-1}\n endReached={endReached}\n renderItem={renderItem}\n onSelect={([value]) => {\n toggleOption(value);\n }}\n />\n </Position>\n </AnimatedVisibility>\n </Box>\n );\n};\n\nexport default PaginatedMultiSelect;\n","import type { ComponentProps, Ref, FormEvent } from 'react';\nimport { useCallback, forwardRef } from 'react';\n\nimport Flex from '../Flex';\nimport { InputBox } from '../InputBox';\n\nimport PaginatedMultiSelect from './PaginatedMultiSelect';\n\ntype PaginatedMultiSelectFilteredProps = {\n setFilter?: (value: string) => void;\n} & ComponentProps<typeof PaginatedMultiSelect>;\n\nexport const PaginatedMultiSelectFiltered = ({\n filter,\n setFilter,\n options,\n placeholder,\n ...props\n}: PaginatedMultiSelectFilteredProps) => {\n // eslint-disable-next-line react-hooks/exhaustive-deps\n const anchor = useCallback(\n forwardRef(\n (\n {\n children: _children,\n filter,\n ...props\n }: ComponentProps<typeof InputBox>,\n ref: Ref<HTMLInputElement>,\n ) => (\n <Flex.Item grow={1}>\n <InputBox.Input\n ref={ref}\n placeholder={placeholder}\n value={filter}\n onInput={(e: FormEvent<HTMLInputElement>) =>\n setFilter?.(e.currentTarget.value)\n }\n {...props}\n rcx-input-box--undecorated\n />\n </Flex.Item>\n ),\n ),\n [],\n );\n\n return (\n <PaginatedMultiSelect\n filter={filter}\n options={options}\n anchor={anchor}\n {...props}\n />\n );\n};\n","import { useEffectEvent, useResizeObserver } from '@rocket.chat/fuselage-hooks';\nimport { type ElementType, useState, useRef, useMemo } from 'react';\n\nimport type { OptionType, SelectOption, SelectProps } from '..';\nimport { prevent } from '../../helpers/prevent';\nimport AnimatedVisibility from '../AnimatedVisibility';\nimport Box from '../Box';\nimport { Icon } from '../Icon';\nimport Margins from '../Margins';\nimport Option from '../Option';\nimport { useVisible } from '../Options/useVisible';\nimport { OptionsPaginated } from '../OptionsPaginated';\nimport PositionAnimated from '../PositionAnimated';\nimport SelectAddon from '../Select/SelectAddon';\nimport SelectFocus from '../Select/SelectFocus';\n\nimport PaginatedSelectWrapper from './PaginatedSelectWrapper';\n\ntype PaginatedOptionType = {\n value: string | number;\n label: string;\n};\nexport type PaginatedSelectProps = Omit<SelectProps, 'options'> & {\n anchor?: ElementType;\n options: PaginatedOptionType[];\n withTitle?: boolean;\n endReached?: (index: number) => void;\n setFilter?: (value: string | undefined | number) => void;\n};\n\nexport const PaginatedSelect = ({\n value,\n withTitle,\n filter,\n setFilter: _setFilter,\n error,\n disabled,\n options = [],\n anchor: Anchor = SelectFocus,\n onChange = () => {},\n placeholder = '',\n renderOptions: _Options = OptionsPaginated,\n renderItem = Option,\n endReached,\n ...props\n}: PaginatedSelectProps) => {\n const [internalValue, setInternalValue] = useState(value);\n\n const currentValue = value !== undefined ? value : internalValue;\n\n const option = options.find((option) => option?.value === currentValue);\n\n const [visible, hide, show] = useVisible();\n\n const internalChangedByClick = useEffectEvent(([value]: OptionType) => {\n setInternalValue(value);\n onChange(value as SelectOption[0]); // FIXME\n hide();\n });\n\n const ref = useRef<HTMLInputElement>(null);\n\n const { ref: containerRef, borderBoxSize } = useResizeObserver();\n\n const valueLabel = option?.label;\n\n const visibleText =\n (filter === undefined || visible === AnimatedVisibility.HIDDEN) &&\n (valueLabel || placeholder || typeof placeholder === 'string');\n\n const handleClick = useEffectEvent(() => {\n if (visible === AnimatedVisibility.VISIBLE) {\n return hide();\n }\n if (ref && ref.current) {\n ref.current.focus();\n return show();\n }\n });\n\n return (\n <Box\n rcx-select\n disabled={disabled}\n ref={containerRef}\n onClick={handleClick}\n className={useMemo(\n () => [error && 'invalid', disabled && 'disabled'],\n [error, disabled],\n )}\n {...props}\n >\n <PaginatedSelectWrapper\n display='flex'\n mi='neg-x4'\n rcx-select__wrapper--hidden={!!visibleText}\n >\n {visibleText && (\n <Box\n flexGrow={1}\n is='span'\n mi={4}\n rcx-select__item\n fontScale='p2m'\n color={valueLabel ? 'default' : 'hint'}\n >\n {visibleText}\n </Box>\n )}\n <Anchor\n disabled={disabled}\n rcx-input-box--undecorated\n filter={filter}\n ref={ref}\n aria-haspopup='listbox'\n onClick={show}\n onBlur={hide}\n />\n <Margins inline='x4'>\n <SelectAddon>\n <Icon\n name={\n visible === AnimatedVisibility.VISIBLE\n ? 'chevron-up'\n : 'chevron-down'\n }\n size='x20'\n />\n </SelectAddon>\n </Margins>\n </PaginatedSelectWrapper>\n <PositionAnimated visible={visible} anchor={containerRef}>\n <_Options\n withTitle={withTitle}\n width={borderBoxSize.inlineSize}\n role='listbox'\n filter={filter}\n options={options}\n onSelect={internalChangedByClick}\n endReached={endReached}\n onMouseDown={prevent}\n renderItem={renderItem}\n />\n </PositionAnimated>\n </Box>\n );\n};\n","import { useEffectEvent } from '@rocket.chat/fuselage-hooks';\nimport type { FormEvent, Ref } from 'react';\nimport { useMemo, forwardRef } from 'react';\n\nimport { InputBox } from '../InputBox';\n\nimport type { PaginatedSelectProps } from './PaginatedSelect';\nimport { PaginatedSelect } from './PaginatedSelect';\n\ntype PaginatedSelectFilteredProps = Omit<PaginatedSelectProps, 'setFilter'> & {\n setFilter: (value: string | undefined | number) => void;\n};\n\nexport const PaginatedSelectFiltered = ({\n filter,\n setFilter,\n options,\n placeholder,\n ...props\n}: PaginatedSelectFilteredProps) => {\n const anchor = useMemo(\n () =>\n forwardRef(\n (\n {\n filter,\n onChange: _onChange,\n ...props\n }: PaginatedSelectFilteredProps,\n ref: Ref<HTMLInputElement>,\n ) => (\n <InputBox.Input\n mi={4}\n flexGrow={1}\n className='rcx-select__focus'\n ref={ref}\n placeholder={placeholder}\n value={filter}\n onChange={useEffectEvent((e: FormEvent<HTMLInputElement>) => {\n setFilter(e.currentTarget.value);\n })}\n {...props}\n rcx-input-box--undecorated\n />\n ),\n ),\n [placeholder, setFilter],\n );\n\n return (\n <PaginatedSelect\n placeholder={undefined}\n filter={filter}\n options={options}\n {...props}\n anchor={anchor}\n />\n );\n};\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\ntype PaginatedSelectWrapperProps = ComponentProps<typeof Box>;\n\nconst PaginatedSelectWrapper = forwardRef(function PaginatedSelectWrapper(\n props: PaginatedSelectWrapperProps,\n ref: Ref<HTMLDivElement>,\n) {\n return <Box is='div' rcx-select__wrapper ref={ref} {...props} />;\n});\n\nexport default PaginatedSelectWrapper;\n","export { PaginatedSelectFiltered } from './PaginatedSelectFiltered';\nexport type { PaginatedMultiSelectOption } from './PaginatedMultiSelect';\nexport { PaginatedMultiSelectFiltered } from './PaginatedMultiSelectFiltered';\n","import type { ComponentProps, Dispatch, SetStateAction } from 'react';\nimport { useMemo } from 'react';\n\nimport Box from '../Box';\nimport { Chevron } from '../Chevron';\n\ntype ItemsPerPage = 25 | 50 | 100;\n\ntype PaginationProps = ComponentProps<typeof Box> & {\n count: number;\n current?: number;\n divider?: boolean;\n itemsPerPage?: ItemsPerPage;\n itemsPerPageLabel?: (context: {\n count: number;\n current: number;\n itemsPerPage: ItemsPerPage;\n }) => string;\n showingResultsLabel?: (context: {\n count: number;\n current: number;\n itemsPerPage: ItemsPerPage;\n }) => string;\n onSetCurrent?: Dispatch<SetStateAction<number>>;\n onSetItemsPerPage?: Dispatch<SetStateAction<ItemsPerPage>>;\n};\n\nconst defaultItemsPerPageLabel = () => 'Items per page:';\n\nconst defaultShowingResultsLabel = ({\n count,\n current,\n itemsPerPage,\n}: {\n count: number;\n current: number;\n itemsPerPage: ItemsPerPage;\n}) =>\n `Showing results ${current + 1} - ${Math.min(\n current + itemsPerPage,\n count,\n )} of ${count}`;\n\nconst itemsPerPageOptions = [25, 50, 100] as ItemsPerPage[];\nexport const Pagination = ({\n count,\n current = 0,\n itemsPerPage = 25,\n itemsPerPageLabel = defaultItemsPerPageLabel,\n showingResultsLabel = defaultShowingResultsLabel,\n onSetItemsPerPage,\n onSetCurrent,\n divider,\n ...props\n}: PaginationProps) => {\n const hasItemsPerPageSelection = itemsPerPageOptions.length > 1;\n const currentPage = Math.floor(current / itemsPerPage);\n const pages = Math.ceil(count / itemsPerPage);\n const displayedPages = useMemo(() => {\n if (pages <= 7) {\n // 0 1 2 3 4 5 6\n return Array.from({ length: pages }, (_, i) => i);\n }\n\n if (currentPage < 5) {\n // 0 1 2 3 4 ... N\n return [0, 1, 2, 3, 4, '⋯', pages - 1];\n }\n\n if (currentPage > pages - 5) {\n // 0 ... N-4 N-3 N-2 N-1 N\n return [0, '⋯', pages - 5, pages - 4, pages - 3, pages - 2, pages - 1];\n }\n\n // 0 ... x-1 x x-2 ... N\n return [\n 0,\n '⋯',\n currentPage - 1,\n currentPage,\n currentPage + 1,\n '⋯',\n pages - 1,\n ];\n }, [pages, currentPage]);\n\n const renderingContext = { count, pages, current, currentPage, itemsPerPage };\n\n const handleSetItemsPerPageLinkClick =\n (itemsPerPageOption: ItemsPerPage) => () => {\n onSetItemsPerPage?.(itemsPerPageOption);\n };\n\n const handleSetPageLinkClick = (page: number) => () => {\n onSetCurrent?.(page * itemsPerPage);\n };\n\n return (\n <Box is='nav' rcx-pagination rcx-pagination--divider={divider} {...props}>\n {hasItemsPerPageSelection && (\n <Box rcx-pagination__left>\n <Box is='span' rcx-pagination__label>\n {itemsPerPageLabel(renderingContext)}\n </Box>\n <Box is='ol' rcx-pagination__list>\n {itemsPerPageOptions.map((itemsPerPageOption) => (\n <Box key={itemsPerPageOption} is='li' rcx-pagination__list-item>\n <Box\n is='button'\n rcx-pagination__link\n tabIndex={itemsPerPage === itemsPerPageOption ? -1 : 0}\n disabled={itemsPerPage === itemsPerPageOption}\n onClick={handleSetItemsPerPageLinkClick(itemsPerPageOption)}\n >\n {itemsPerPageOption}\n </Box>\n </Box>\n ))}\n </Box>\n </Box>\n )}\n <Box rcx-pagination__right>\n <Box is='span' rcx-pagination__label>\n {showingResultsLabel(renderingContext)}\n </Box>\n <Box is='ol' rcx-pagination__list>\n <Box is='li' rcx-pagination__list-item>\n <Box\n is='button'\n rcx-pagination__back\n disabled={currentPage === 0}\n onClick={handleSetPageLinkClick(currentPage - 1)}\n >\n <Chevron left size='x16' />\n </Box>\n </Box>\n {displayedPages.map((page, i) => (\n <Box key={i} is='li' rcx-pagination__list-item>\n {page === '⋯' ? (\n '⋯'\n ) : (\n <Box\n is='button'\n rcx-pagination__link\n disabled={currentPage === page}\n onClick={handleSetPageLinkClick(page as number)}\n >\n {(page as number) + 1}\n </Box>\n )}\n </Box>\n ))}\n <Box is='li' rcx-pagination__list-item>\n <Box\n is='button'\n rcx-pagination__forward\n disabled={currentPage === pages - 1}\n onClick={handleSetPageLinkClick(currentPage + 1)}\n >\n <Chevron right size='x16' />\n </Box>\n </Box>\n </Box>\n </Box>\n </Box>\n );\n};\n","export * from './Pagination';\n","import { memo } from 'react';\nimport { createPortal } from 'react-dom';\n\nimport { convertToCss } from './helpers/convertToCss';\nimport { useCreateStyleContainer } from './hooks/useCreateStyleContainer';\nimport { dark, highContrast, light } from './lib/themePalettes';\nimport type { Themes } from './types/themes';\n\nconst themes = {\n light,\n dark,\n 'high-contrast': highContrast,\n};\n\n/**\n * Style tag to handle the theme of the application.\n *\n * Import `PaletteStyleTag` and use it on the application informing the desired theme.\n *\n * Toggle the theme on Storybook's Control panel to see the color changes.\n */\nexport const PaletteStyleTag = memo(function PaletteStyleTag({\n theme = 'light',\n tagId = 'main-palette',\n prefix = '--rcx-color',\n selector,\n palette,\n}: {\n theme?: Themes;\n /**\n * Default is `main-palette`.\n */\n tagId?: string;\n /**\n * Token prefix. Default is `--rcx-color`.\n */\n prefix?: string;\n /**\n * Default is `:root`.\n */\n selector?: string;\n /**\n * CSS containing custom palette styles to be used.\n */\n palette?: string;\n}) {\n const themePalette = palette || convertToCss(themes[theme], prefix, selector);\n\n return <>{createPortal(themePalette, useCreateStyleContainer(tagId))}</>;\n});\n\nexport default PaletteStyleTag;\n","export const convertToCss = (\n values: Record<string, string>,\n prefix: string,\n selector = ':root',\n) =>\n `${selector} {\\n${Object.entries(values)\n .map(([name, color]) => `${prefix}-${name}: ${color};`)\n .join('\\n')}\\n}`;\n","import badge from '@rocket.chat/fuselage-tokens/dist/badge.json';\nimport button from '@rocket.chat/fuselage-tokens/dist/button.json';\nimport font from '@rocket.chat/fuselage-tokens/dist/font.json';\nimport shadow from '@rocket.chat/fuselage-tokens/dist/shadow.json';\nimport status from '@rocket.chat/fuselage-tokens/dist/status.json';\nimport statusBullet from '@rocket.chat/fuselage-tokens/dist/statusBullet.json';\nimport stroke from '@rocket.chat/fuselage-tokens/dist/stroke.json';\nimport surface from '@rocket.chat/fuselage-tokens/dist/surface.json';\n\nimport type { Themes } from '../types/themes';\n\nexport const getTokens = (theme: Themes) => {\n const tokens = {\n badge: badge.badge[theme],\n button: button.button[theme],\n font: font.font[theme],\n shadow: shadow.shadow[theme],\n status: status.status[theme],\n statusBullet: statusBullet.statusBullet[theme],\n stroke: stroke.stroke[theme],\n surface: surface.surface[theme],\n };\n\n return tokens;\n};\n\nexport const getThemePalette = (theme: Themes) => {\n const { badge, button, font, shadow, status, statusBullet, stroke, surface } =\n getTokens(theme);\n\n const palette = [\n {\n category: 'Stroke',\n description: \"Use as component's outline, stroke, dividers\",\n list: [\n { name: 'stroke-extra-light', color: stroke.extraLight },\n { name: 'stroke-light', color: stroke.light },\n { name: 'stroke-medium', color: stroke.medium },\n { name: 'stroke-dark', color: stroke.dark },\n { name: 'stroke-extra-dark', color: stroke.extraDark },\n {\n name: 'stroke-extra-light-highlight',\n color: stroke.extraLightHighlight,\n },\n { name: 'stroke-highlight', color: stroke.highlight },\n { name: 'stroke-extra-light-error', color: stroke.extraLightError },\n { name: 'stroke-error', color: stroke.error },\n ],\n },\n {\n category: 'Surface',\n description: 'Use as a container on top of the background',\n list: [\n { name: 'surface-light', color: surface.light },\n { name: 'surface-tint', color: surface.tint },\n { name: 'surface-room', color: surface.room },\n { name: 'surface-neutral', color: surface.neutral },\n { name: 'surface-disabled', color: surface.disabled },\n { name: 'surface-hover', color: surface.hover },\n { name: 'surface-selected', color: surface.selected },\n { name: 'surface-dark', color: surface.dark },\n { name: 'surface-featured', color: surface.featured },\n { name: 'surface-featured-hover', color: surface.featuredHover },\n { name: 'surface-overlay', color: surface.overlay },\n { name: 'surface-sidebar', color: surface.sidebar },\n ],\n },\n {\n category: 'Shadow',\n description: 'Use as a shadow color',\n list: [\n { name: 'shadow-highlight', color: shadow.highlight },\n { name: 'shadow-danger', color: shadow.danger },\n { name: 'shadow-elevation-border', color: shadow['elevation-border'] },\n { name: 'shadow-elevation-1', color: shadow['elevation-1'] },\n {\n name: 'shadow-elevation-2x',\n color: shadow['elevation-2x'],\n },\n {\n name: 'shadow-elevation-2y',\n color: shadow['elevation-2y'],\n },\n ],\n },\n {\n category: 'Font',\n description: 'These should be applied according to surfaces',\n list: [\n { name: 'font-white', color: font.white },\n { name: 'font-disabled', color: font.disabled },\n { name: 'font-annotation', color: font.annotation },\n { name: 'font-hint', color: font.hint },\n { name: 'font-secondary-info', color: font.secondaryInfo },\n { name: 'font-default', color: font.default },\n { name: 'font-titles-labels', color: font.titlesLabels },\n { name: 'font-info', color: font.info },\n { name: 'font-danger', color: font.danger },\n { name: 'font-pure-black', color: font.pureBlack },\n { name: 'font-pure-white', color: font.pureWhite },\n ],\n },\n {\n category: 'Status',\n description: 'Status Background',\n list: [\n { name: 'status-background-info', color: status.info },\n { name: 'status-background-success', color: status.success },\n { name: 'status-background-danger', color: status.danger },\n { name: 'status-background-warning', color: status.warning },\n { name: 'status-background-warning-2', color: status['warning-2'] },\n {\n name: 'status-background-service-1',\n color: status['service-1'],\n },\n {\n name: 'status-background-service-2',\n color: status['service-2'],\n },\n {\n name: 'status-background-service-3',\n color: status['service-3'],\n },\n ],\n },\n {\n description: 'Status Font',\n list: [\n { name: 'status-font-on-info', color: status['font-on-info'] },\n { name: 'status-font-on-success', color: status['font-on-success'] },\n { name: 'status-font-on-danger', color: status['font-on-danger'] },\n { name: 'status-font-on-warning', color: status['font-on-warning'] },\n {\n name: 'status-font-on-warning-2',\n color: status['font-on-warning-2'],\n },\n {\n name: 'status-font-on-service-1',\n color: status['font-on-service-1'],\n },\n {\n name: 'status-font-on-service-2 ',\n color: status['font-on-service-2'],\n },\n {\n name: 'status-font-on-service-3 ',\n color: status['font-on-service-3'],\n },\n ],\n },\n {\n category: 'Badge',\n description: 'Badge Background',\n list: [\n { name: 'badge-background-level-0', color: badge['level-0'] },\n { name: 'badge-background-level-1', color: badge['level-1'] },\n { name: 'badge-background-level-2', color: badge['level-2'] },\n { name: 'badge-background-level-3', color: badge['level-3'] },\n { name: 'badge-background-level-4', color: badge['level-4'] },\n ],\n },\n {\n category: 'Status Bullet',\n description: 'Used to show user status',\n list: [\n { name: 'status-bullet-online', color: statusBullet.online },\n { name: 'status-bullet-away', color: statusBullet.away },\n { name: 'status-bullet-busy', color: statusBullet.busy },\n { name: 'status-bullet-disabled', color: statusBullet.disabled },\n { name: 'status-bullet-offline', color: statusBullet.offline },\n { name: 'status-bullet-loading', color: statusBullet.loading },\n ],\n },\n {\n category: 'Button',\n description: 'Primary Background',\n list: [\n {\n name: 'button-background-primary-default',\n color: button.backgroundPrimaryDefault,\n },\n {\n name: 'button-background-primary-hover',\n color: button.backgroundPrimaryHover,\n },\n {\n name: 'button-background-primary-press',\n color: button.backgroundPrimaryPress,\n },\n {\n name: 'button-background-primary-focus',\n color: button.backgroundPrimaryFocus,\n },\n {\n name: 'button-background-primary-keyfocus',\n color: button.backgroundPrimaryKeyfocus,\n },\n {\n name: 'button-background-primary-disabled',\n color: button.backgroundPrimaryDisabled,\n },\n ],\n },\n {\n description: 'Secondary Background',\n list: [\n {\n name: 'button-background-secondary-default',\n color: button.backgroundSecondaryDefault,\n },\n {\n name: 'button-background-secondary-hover',\n color: button.backgroundSecondaryHover,\n },\n {\n name: 'button-background-secondary-press',\n color: button.backgroundSecondaryPress,\n },\n {\n name: 'button-background-secondary-focus',\n color: button.backgroundSecondaryFocus,\n },\n {\n name: 'button-background-secondary-keyfocus',\n color: button.backgroundSecondaryKeyfocus,\n },\n {\n name: 'button-background-secondary-disabled',\n color: button.backgroundSecondaryDisabled,\n },\n ],\n },\n {\n description: 'Secondary Danger Background',\n list: [\n {\n name: 'button-background-secondary-danger-default',\n color: button.backgroundSecondaryDangerDefault,\n },\n {\n name: 'button-background-secondary-danger-hover',\n color: button.backgroundSecondaryDangerHover,\n },\n {\n name: 'button-background-secondary-danger-press',\n color: button.backgroundSecondaryDangerPress,\n },\n {\n name: 'button-background-secondary-danger-focus',\n color: button.backgroundSecondaryDangerFocus,\n },\n {\n name: 'button-background-secondary-danger-keyfocus',\n color: button.backgroundSecondaryDangerKeyfocus,\n },\n {\n name: 'button-background-secondary-danger-disabled',\n color: button.backgroundDangerDisabled,\n },\n ],\n },\n {\n description: 'Danger Background',\n list: [\n {\n name: 'button-background-danger-default',\n color: button.backgroundDangerDefault,\n },\n {\n name: 'button-background-danger-hover',\n color: button.backgroundDangerHover,\n },\n {\n name: 'button-background-danger-press',\n color: button.backgroundDangerPress,\n },\n {\n name: 'button-background-danger-focus',\n color: button.backgroundDangerFocus,\n },\n {\n name: 'button-background-danger-keyfocus',\n color: button.backgroundDangerKeyfocus,\n },\n {\n name: 'button-background-danger-disabled',\n color: button.backgroundDangerDisabled,\n },\n ],\n },\n {\n description: 'Success Background',\n list: [\n {\n name: 'button-background-success-default',\n color: button.backgroundSuccessDefault,\n },\n {\n name: 'button-background-success-hover',\n color: button.backgroundSuccessHover,\n },\n {\n name: 'button-background-success-press',\n color: button.backgroundSuccessPress,\n },\n {\n name: 'button-background-success-focus',\n color: button.backgroundSuccessFocus,\n },\n {\n name: 'button-background-success-keyfocus',\n color: button.backgroundSuccessKeyfocus,\n },\n {\n name: 'button-background-success-disabled',\n color: button.backgroundSuccessDisabled,\n },\n ],\n },\n {\n description: 'Font',\n list: [\n { name: 'button-font-on-primary', color: button.fontOnPrimary },\n {\n name: 'button-font-on-primary-disabled',\n color: button.fontOnPrimaryDisabled,\n },\n {\n name: 'button-font-on-secondary',\n color: button.fontOnSecondary,\n },\n {\n name: 'button-font-on-secondary-disabled',\n color: button.fontOnSecondaryDisabled,\n },\n {\n name: 'button-font-on-secondary-danger',\n color: button.fontOnSecondaryDanger,\n },\n {\n name: 'button-font-on-secondary-danger-disabled',\n color: button.onSecondaryDangerDisabled,\n },\n { name: 'button-font-on-danger', color: button.fontOnDanger },\n {\n name: 'button-font-on-danger-disabled',\n color: button.fontOnDangerDisabled,\n },\n { name: 'button-font-on-success', color: button.fontOnSuccess },\n {\n name: 'button-font-on-success-disabled',\n color: button.fontOnSuccessDisabled,\n },\n ],\n },\n ];\n\n return {\n ...palette.reduce(\n (rec, group) => ({\n ...rec,\n ...group.list.reduce(\n (rec, item) => ({\n ...rec,\n [item.name]: item.color,\n }),\n {} as Record<string, string>,\n ),\n }),\n {} as Record<string, string>,\n ),\n };\n};\n","import { useMemo } from 'react';\n\nexport const useCreateStyleContainer = (id: string) =>\n useMemo(() => {\n const refElement =\n document.getElementById('rcx-styles') || document.head.lastChild;\n\n const el = document.getElementById(id);\n\n if (el) {\n return el;\n }\n\n const styleElement = document.createElement('style');\n styleElement.setAttribute('id', id);\n\n document.head.insertBefore(styleElement, refElement);\n document.head.appendChild(document.createElement('style'));\n return styleElement;\n }, [id]);\n","export * from './PaletteStyleTag';\n","import { getThemePalette } from '../helpers/getPalette';\n\nexport const light = getThemePalette('light');\nexport const highContrast = getThemePalette('high-contrast');\nexport const dark = getThemePalette('dark');\n","import { useToggle } from '@rocket.chat/fuselage-hooks';\nimport type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { Icon } from '../Icon';\nimport { InputBox } from '../InputBox';\n\n// TODO: fix a11y issues\n\ntype PasswordInputProps = Omit<ComponentProps<typeof InputBox>, 'type'>;\n\nconst PasswordInput = forwardRef(function PasswordInput(\n props: PasswordInputProps,\n ref: Ref<HTMLInputElement>,\n) {\n const [hidden, toggle] = useToggle(true);\n const handleAddonClick = () => {\n toggle();\n };\n\n return (\n <InputBox\n type={hidden ? 'password' : 'text'}\n addon={\n <Icon\n name={hidden ? 'eye-off' : 'eye'}\n size={20}\n onClick={handleAddonClick}\n />\n }\n ref={ref}\n {...props}\n />\n );\n});\n\nexport default PasswordInput;\n","export { default } from './PasswordInput';\n","import type { ReactNode } from 'react';\nimport { useRef } from 'react';\nimport type { AriaPopoverProps } from 'react-aria';\nimport { usePopover, DismissButton, Overlay } from 'react-aria';\nimport type { OverlayTriggerState } from 'react-stately';\n\ninterface PopoverProps extends Omit<AriaPopoverProps, 'popoverRef'> {\n children: ReactNode;\n state: OverlayTriggerState;\n}\n\nexport function Popover(props: PopoverProps) {\n const popoverRef = useRef<HTMLDivElement>(null);\n const { state, children, isNonModal } = props;\n\n const { popoverProps, underlayProps } = usePopover(\n {\n ...props,\n popoverRef,\n },\n state,\n );\n\n return (\n <Overlay>\n {!isNonModal && <div {...underlayProps} />}\n <div {...popoverProps} ref={popoverRef}>\n {!isNonModal && <DismissButton onDismiss={state.close} />}\n {children}\n <DismissButton onDismiss={state.close} />\n </div>\n </Overlay>\n );\n}\n","export * from './Popover';\n","import type { UsePositionOptions } from '@rocket.chat/fuselage-hooks';\nimport { usePosition } from '@rocket.chat/fuselage-hooks';\nimport type { RefObject, ComponentProps, ReactElement } from 'react';\nimport { useRef, useMemo, cloneElement, useState, useEffect } from 'react';\nimport { createPortal } from 'react-dom';\n\nimport type Box from '../Box';\n\ntype PositionProps = {\n anchor: RefObject<Element>;\n children: ReactElement;\n margin?: number;\n placement?: UsePositionOptions['placement'];\n} & Omit<ComponentProps<typeof Box>, 'children' | 'margin'>;\n\nconst Position = ({\n anchor,\n children,\n placement,\n margin,\n className: _className,\n ...props\n}: PositionProps) => {\n const target = useRef(null);\n const { style: positionStyle, placement: positionPlacement } =\n usePosition(\n anchor,\n target,\n useMemo(() => ({ placement, margin }), [placement, margin]),\n ) || {};\n\n const style = useMemo(\n () => ({ position: 'fixed', ...positionStyle }),\n [positionStyle],\n );\n const [portalContainer] = useState(() => {\n const prev = document.getElementById('position-container');\n if (prev) {\n return prev;\n }\n const element = document.createElement('div');\n\n element.id = 'position-container';\n\n document.body.appendChild(element);\n return element;\n });\n\n useEffect(\n () => () => {\n if (portalContainer.childNodes.length === 0) {\n document.body.removeChild(portalContainer);\n }\n },\n [portalContainer],\n );\n\n return createPortal(\n cloneElement(children, {\n ref: target,\n style,\n ...props,\n placement: positionPlacement,\n }),\n portalContainer,\n );\n};\n\nexport default Position;\n","export { default } from './Position';\n","import type { ComponentProps } from 'react';\n\nimport AnimatedVisibility from '../AnimatedVisibility';\nimport Position from '../Position';\n\ntype PositionAnimatedProps = {\n visible?: 'hidden' | 'visible' | 'hiding' | 'unhiding';\n} & ComponentProps<typeof Position>;\n\nconst PositionAnimated = ({\n width: _width,\n visible,\n children,\n ...props\n}: PositionAnimatedProps) => (\n <AnimatedVisibility visibility={visible}>\n <Position {...props}>{children}</Position>\n </AnimatedVisibility>\n);\n\nexport default PositionAnimated;\n","export { default } from './PositionAnimated';\n","import type { AllHTMLAttributes } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\nconst getWidth = (percentage: number): string =>\n `${Math.min(Math.max(0, percentage), 100).toFixed(1)}%`;\n\nconst colors = {\n info: 'status-font-on-info',\n success: 'status-font-on-success',\n warning: 'status-font-on-warning',\n danger: 'status-font-on-danger',\n};\nconst lightColors = {\n info: 'status-background-info',\n success: 'status-background-success',\n warning: 'status-background-warning',\n danger: 'status-background-danger',\n};\n\nconst getColor = (\n isLight: boolean,\n variant: 'info' | 'success' | 'warning' | 'danger',\n error?: string,\n) => {\n if (error) {\n return isLight ? lightColors.danger : colors.danger;\n }\n return isLight ? lightColors[variant] : colors[variant];\n};\n\ntype ProgressBarProps = {\n percentage: number;\n variant?: 'info' | 'success' | 'warning' | 'danger';\n error?: string;\n animated?: boolean;\n light?: boolean;\n} & Omit<AllHTMLAttributes<HTMLElement>, 'is'>;\n\n/**\n * The `ProgressBar` is used to inform the user the progress of an operation.\n */\nexport const ProgressBar = forwardRef(function ProgressBar(\n {\n percentage,\n variant = 'info',\n error,\n animated,\n light = false,\n ...props\n }: ProgressBarProps,\n ref,\n) {\n return (\n <Box\n ref={ref}\n rcx-progress-bar\n title={error || undefined}\n overflow='hidden'\n {...props}\n >\n <Box\n bg={getColor(light, variant, error)}\n rcx-progress-bar__fill--animated={animated}\n rcx-progress-bar__fill\n width={getWidth(percentage)}\n />\n </Box>\n );\n});\n","export * from './ProgressBar';\n","import type { AllHTMLAttributes, ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\ntype RadioButtonProps = ComponentProps<typeof Box> &\n AllHTMLAttributes<HTMLInputElement>;\n\nexport const RadioButton = forwardRef(function RadioButton(\n { className, ...props }: RadioButtonProps,\n ref: Ref<HTMLInputElement>,\n) {\n return (\n <Box is='label' className={className} rcx-radio-button>\n <Box\n is='input'\n rcx-radio-button__input\n type='radio'\n ref={ref}\n {...props}\n />\n <Box is='i' rcx-radio-button__fake aria-hidden='true' />\n </Box>\n );\n});\n","export * from './RadioButton';\n","import { css } from '@rocket.chat/css-in-js';\nimport { useEffectEvent } from '@rocket.chat/fuselage-hooks';\nimport type { PropsWithChildren, MouseEvent, MutableRefObject } from 'react';\nimport { useRef, useCallback } from 'react';\n\nimport { appendClassName } from '../../helpers/appendClassName';\nimport { useStyle } from '../../hooks/useStyle';\nimport { BoxTransforms, useComposedBoxTransform } from '../Box/BoxTransforms';\n\ntype ScrollableProps = PropsWithChildren<{\n horizontal?: boolean;\n vertical?: boolean;\n smooth?: boolean;\n onScrollContent?: (touching: { top: boolean }) => void;\n}>;\n\nconst getTouchingEdges = (element: Element) => ({\n top: !element.scrollTop,\n bottom: !(element.scrollTop + element.clientHeight - element.scrollHeight),\n left: !element.scrollLeft,\n right: !(element.scrollLeft + element.clientWidth - element.scrollWidth),\n});\n\nconst pollTouchingEdges = (\n element: EventTarget & Element,\n touchingEdgesRef: MutableRefObject<Record<string, boolean>>,\n onScrollContent: ((touching: { top: boolean }) => void) | undefined,\n) => {\n const touchingEdges = touchingEdgesRef.current;\n const newTouchingEdges = getTouchingEdges(element);\n\n const dirty =\n touchingEdges &&\n (touchingEdges.top !== newTouchingEdges.top ||\n touchingEdges.bottom !== newTouchingEdges.bottom ||\n touchingEdges.left !== newTouchingEdges.left ||\n touchingEdges.right !== newTouchingEdges.right);\n\n if (dirty) {\n touchingEdgesRef.current = newTouchingEdges;\n onScrollContent?.(newTouchingEdges);\n }\n};\n\n/**\n * Add scroll capability to the wrapped component.\n */\nexport const Scrollable = ({\n children,\n horizontal,\n vertical,\n smooth,\n onScrollContent,\n}: ScrollableProps) => {\n const scrollTimeoutRef = useRef<ReturnType<typeof setTimeout>>();\n const touchingEdgesRef = useRef({});\n\n const handleScroll = useEffectEvent((event: MouseEvent) => {\n const element = event.currentTarget;\n\n if (!scrollTimeoutRef.current) {\n pollTouchingEdges(element, touchingEdgesRef, onScrollContent);\n }\n\n if (scrollTimeoutRef.current) clearTimeout(scrollTimeoutRef.current);\n\n scrollTimeoutRef.current = setTimeout(() => {\n scrollTimeoutRef.current = undefined;\n pollTouchingEdges(element, touchingEdgesRef, onScrollContent);\n }, 200);\n });\n\n const className = useStyle(\n css`\n position: relative;\n\n &::-webkit-scrollbar {\n width: ${4 / 16}rem;\n height: ${4 / 16}rem;\n }\n\n &::-webkit-scrollbar-track {\n background-color: transparent;\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: rgba(0, 0, 0, 0.05);\n background-color: var(\n --rcx-theme-scrollbar-thumb-color,\n rgba(0, 0, 0, 0.05)\n );\n }\n\n &:hover::-webkit-scrollbar-thumb {\n background-color: rgba(0, 0, 0, 0.15);\n background-color: var(\n --rcx-theme-scrollbar-thumb-hover-color,\n rgba(0, 0, 0, 0.15)\n );\n }\n\n ${(horizontal &&\n css`\n overflow-x: auto !important;\n `) ||\n (vertical &&\n css`\n overflow-y: auto !important;\n `) ||\n css`\n overflow: auto !important;\n `}\n ${smooth &&\n css`\n scroll-behavior: smooth !important;\n `}\n `,\n null,\n );\n\n const transformFn = useCallback(\n (props: any) => {\n props.className =\n className && appendClassName(props.className, className);\n\n if (onScrollContent !== undefined && props.onScroll === undefined) {\n props.onScroll = handleScroll;\n }\n\n return props;\n },\n [className, handleScroll, onScrollContent],\n );\n\n return (\n <BoxTransforms.Provider\n children={children}\n value={useComposedBoxTransform(transformFn)}\n />\n );\n};\n","import { Scrollable } from './Scrollable';\n\nexport default Scrollable;\n","import type { ComponentProps, ReactNode, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { InputBox } from '../InputBox';\n\ntype SearchInputProps = Omit<ComponentProps<typeof InputBox>, 'type'> & {\n addon?: ReactNode;\n error?: string;\n};\n\n/**\n * An input for search queries.\n */\nexport const SearchInput = forwardRef(function SearchInput(\n props: SearchInputProps,\n ref: Ref<HTMLInputElement>,\n) {\n return <InputBox type='search' ref={ref} {...props} />;\n});\n","export * from './SearchInput';\n","import type { Node } from '@react-types/shared';\nimport type { RefObject } from 'react';\nimport { useRef } from 'react';\nimport type { AriaListBoxOptions } from 'react-aria';\nimport { useListBox, useListBoxSection, useOption } from 'react-aria';\nimport type { ListState } from 'react-stately';\n\nimport Option from '../Option';\n\ninterface ListBoxProps extends AriaListBoxOptions<unknown> {\n listBoxRef?: RefObject<HTMLDivElement>;\n state: ListState<unknown>;\n}\n\ninterface SectionProps {\n section: Node<unknown>;\n state: ListState<unknown>;\n}\n\ninterface OptionProps {\n item: Node<unknown>;\n state: ListState<unknown>;\n}\n\nexport function ListBox(props: ListBoxProps) {\n const ref = useRef(null);\n const { listBoxRef = ref, state } = props;\n const { listBoxProps } = useListBox(props, state, listBoxRef);\n\n return (\n <div {...listBoxProps} ref={listBoxRef}>\n {[...state.collection].map((item) =>\n item.type === 'section' ? (\n <ListBoxSection key={item.key} section={item} state={state} />\n ) : (\n <OptionAria key={item.key} item={item} state={state} />\n ),\n )}\n </div>\n );\n}\n\nfunction ListBoxSection({ section, state }: SectionProps) {\n const { itemProps, headingProps, groupProps } = useListBoxSection({\n 'heading': section.rendered,\n 'aria-label': section['aria-label'],\n });\n\n return (\n <>\n <li {...itemProps} className='pt-2'>\n {section.rendered && (\n <span\n {...headingProps}\n className='text-xs font-bold uppercase text-gray-500 mx-3'\n >\n {section.rendered}\n </span>\n )}\n <ul {...groupProps}>\n {[...section.childNodes].map((node) => (\n <OptionAria key={node.key} item={node} state={state} />\n ))}\n </ul>\n </li>\n </>\n );\n}\n\nfunction OptionAria({ item, state }: OptionProps) {\n const ref = useRef<HTMLLIElement>(null);\n const { optionProps, isDisabled, isSelected, isFocused } = useOption(\n {\n key: item.key,\n },\n state,\n ref,\n );\n\n return (\n <Option\n ref={ref}\n disabled={isDisabled}\n selected={isSelected}\n focus={isFocused}\n key={item.key}\n label={item.rendered}\n {...optionProps}\n >\n {item.rendered}\n </Option>\n );\n}\n","import type { AriaSelectProps } from '@react-types/select';\nimport type { AllHTMLAttributes, ComponentProps, Key, Ref } from 'react';\nimport { forwardRef } from 'react';\nimport { Item } from 'react-stately';\n\nimport { SelectAria } from './SelectAria';\n\ntype SelectOption = readonly [value: string, label: string, selected?: boolean];\n\ntype SelectProps<T, V extends Key> = Omit<\n AriaSelectProps<T>,\n 'value' | 'onChange' | 'children'\n> & {\n error?: string;\n placeholder?: string;\n value?: V | null;\n onChange?: ((key: V) => any) | undefined;\n options: SelectOption[];\n small?: boolean;\n} & Omit<AllHTMLAttributes<HTMLElement>, 'value' | 'onChange'>;\n\n/**\n * An input for selection of options.\n */\nexport const Select = forwardRef(function Select<\n T extends object,\n V extends Key,\n>({ options, ...props }: SelectProps<T, V>, ref: Ref<HTMLElement>) {\n return (\n <SelectAria ref={ref} {...(props as ComponentProps<typeof SelectAria>)}>\n {options.map((option) => (\n <Item\n title={option[1] ?? option[0]}\n textValue={option[0]}\n key={option[0]}\n >\n {option[1] ?? option[0]}\n </Item>\n ))}\n </SelectAria>\n );\n});\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\ntype AddonProps = ComponentProps<typeof Box>;\n\nconst SelectAddon = forwardRef(function SelectAddon(\n props: AddonProps,\n ref: Ref<HTMLDivElement>,\n) {\n return <Box is='div' rcx-select__addon ref={ref} {...props} />;\n});\n\nexport default SelectAddon;\n","import type { AriaSelectProps } from '@react-types/select';\nimport { useMergedRefs, useResizeObserver } from '@rocket.chat/fuselage-hooks';\nimport type { AllHTMLAttributes, Key, Ref } from 'react';\nimport { forwardRef } from 'react';\nimport { useSelect, HiddenSelect, mergeProps, useFocusRing } from 'react-aria';\nimport { useSelectState } from 'react-stately';\n\nimport Box from '../Box/Box';\nimport { Icon } from '../Icon';\nimport { OptionContainer } from '../Options';\nimport { Popover } from '../Popover';\n\nimport { ListBox } from './Listbox';\nimport { SelectTrigger } from './SelectTrigger';\n\nexport { Item } from 'react-stately';\n\ntype SelectAriaProps<T extends object> = AriaSelectProps<T> & {\n error?: string;\n placeholder?: string;\n value?: Key | null;\n onChange?: (key: Key) => void;\n small?: boolean;\n};\n\nexport const SelectAria = forwardRef(function SelectAria<T extends object>(\n {\n error,\n placeholder,\n value,\n onChange,\n small,\n isDisabled: isDisabledProps,\n disabled,\n id,\n ...props\n }: SelectAriaProps<T> & AllHTMLAttributes<HTMLElement>,\n outerRef: Ref<HTMLElement>,\n) {\n const isDisabled = isDisabledProps || disabled;\n\n const state = useSelectState({\n isDisabled,\n selectedKey: typeof value !== 'bigint' ? value : null,\n onSelectionChange: onChange,\n ...props,\n });\n\n const { ref, borderBoxSize } = useResizeObserver<any>();\n const mergedRef = useMergedRefs(outerRef, ref);\n\n const { triggerProps, valueProps, menuProps } = useSelect(\n { isDisabled, ...props },\n state,\n ref,\n );\n\n const { focusProps, isFocusVisible } = useFocusRing();\n\n return (\n <>\n <SelectTrigger\n {...mergeProps(focusProps, triggerProps)}\n ref={mergedRef}\n small={small}\n focus={isFocusVisible || state.isOpen}\n error={error}\n id={id}\n >\n <HiddenSelect\n state={state}\n triggerRef={ref}\n label={props.label}\n name={props.name}\n isDisabled={isDisabled}\n />\n <Box\n is='span'\n color={state.selectedItem ? 'default' : 'hint'}\n {...valueProps}\n {...(small && { fontScale: 'c1' })}\n >\n {state.selectedItem ? state.selectedItem.rendered : placeholder}\n </Box>\n <Icon\n color='default'\n name={state.isOpen ? 'chevron-up' : 'chevron-down'}\n size='x20'\n />\n </SelectTrigger>\n {state.isOpen && (\n <Popover\n state={state}\n triggerRef={ref}\n placement='bottom'\n offset={4}\n containerPadding={8}\n >\n <OptionContainer\n style={{\n width: borderBoxSize?.inlineSize,\n }}\n >\n <ListBox {...menuProps} state={state} />\n </OptionContainer>\n </Popover>\n )}\n </>\n );\n});\n","import type { ComponentProps, Dispatch, Ref, SetStateAction } from 'react';\nimport { forwardRef, useState } from 'react';\n\nimport type { Icon } from '..';\n\nimport { SelectLegacy } from '.';\nimport type { SelectAnchorParams } from './SelectAnchorParams';\nimport SelectFilteredAnchor from './SelectFilteredAnchor';\n\nexport type SelectFilteredProps = ComponentProps<typeof SelectLegacy> & {\n filter?: string;\n setFilter?: Dispatch<SetStateAction<string>>;\n addonIcon?: ComponentProps<typeof Icon>['name'];\n};\n\nexport const SelectFiltered = forwardRef(function SelectFiltered(\n {\n options,\n placeholder,\n filter: propFilter,\n setFilter: propSetFilter,\n ...props\n }: SelectFilteredProps,\n ref: Ref<HTMLInputElement>,\n) {\n const [filter, setFilter] = useState('');\n\n return (\n <SelectLegacy\n ref={ref}\n placeholder={placeholder}\n filter={propFilter || filter}\n options={options}\n {...props}\n anchor={(params: SelectAnchorParams) => (\n <SelectFilteredAnchor\n placeholder={placeholder}\n filter={propFilter || filter}\n onChangeFilter={propSetFilter || setFilter}\n {...params}\n />\n )}\n />\n );\n});\n","import type {\n FocusEventHandler,\n FormEvent,\n KeyboardEventHandler,\n MouseEventHandler,\n ReactNode,\n Ref,\n} from 'react';\nimport { forwardRef } from 'react';\n\nimport { InputBox } from '../InputBox';\n\ntype SelectFilteredAnchorProps = {\n children: ReactNode;\n disabled: boolean;\n filter: string;\n onChangeFilter: (filter: string) => void;\n placeholder?: string;\n onClick: MouseEventHandler;\n onBlur: FocusEventHandler;\n onKeyUp: KeyboardEventHandler;\n onKeyDown: KeyboardEventHandler;\n};\n\nconst SelectFilteredAnchor = forwardRef(function SelectFilteredAnchor(\n {\n children: _children,\n filter,\n onChangeFilter,\n placeholder,\n ...props\n }: SelectFilteredAnchorProps,\n ref: Ref<Element>,\n) {\n return (\n <InputBox.Input\n mi={4}\n flexGrow={1}\n className='rcx-select__focus'\n ref={ref}\n placeholder={placeholder}\n value={filter}\n onInput={(e: FormEvent<HTMLInputElement>) =>\n onChangeFilter(e.currentTarget.value)\n }\n {...props}\n rcx-input-box--undecorated\n />\n );\n});\n\nexport default SelectFilteredAnchor;\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\ntype SelectFocusProps = ComponentProps<typeof Box>;\n\nconst SelectFocus = forwardRef(function SelectFocus(\n props: SelectFocusProps,\n ref: Ref<Element>,\n) {\n return (\n <Box\n ref={ref}\n fontScale='p2m'\n color='hint'\n rcx-select__focus\n is='button'\n type='button'\n {...props}\n />\n );\n});\n\nexport default SelectFocus;\n","import {\n useMergedRefs,\n useEffectEvent,\n useResizeObserver,\n useOutsideClick,\n} from '@rocket.chat/fuselage-hooks';\nimport type {\n ComponentProps,\n DependencyList,\n Ref,\n ElementType,\n ReactNode,\n} from 'react';\nimport { useState, useRef, useEffect, forwardRef, useMemo } from 'react';\n\nimport { isForwardRefType } from '../../helpers/isForwardRefType';\nimport AnimatedVisibility from '../AnimatedVisibility';\nimport Box from '../Box';\nimport { Icon } from '../Icon';\nimport Margins from '../Margins';\nimport type { OptionType } from '../Options';\nimport { Options, useCursor } from '../Options';\nimport PositionAnimated from '../PositionAnimated';\n\nimport SelectAddon from './SelectAddon';\nimport type { SelectAnchorParams } from './SelectAnchorParams';\nimport SelectFocus from './SelectFocus';\n\nexport type SelectOption = readonly [\n value: string,\n label: string,\n selected?: boolean,\n];\n\ntype WrapperProps = ComponentProps<typeof Box>;\n\nconst Wrapper = forwardRef((props: WrapperProps, ref: Ref<HTMLDivElement>) => (\n <Box is='div' rcx-select__wrapper ref={ref} {...props} />\n));\n\nconst useDidUpdate = (func: () => void, deps: DependencyList | undefined) => {\n const didMount = useRef(false);\n const fn = useEffectEvent(func);\n\n useEffect(() => {\n if (didMount.current) {\n fn();\n }\n didMount.current = true;\n }, deps || []);\n};\n\nexport type SelectProps = Omit<ComponentProps<typeof Box>, 'onChange'> & {\n anchor?: ElementType;\n error?: string;\n options: SelectOption[];\n onChange: (value: SelectOption[0]) => void;\n getLabel?: (params: SelectOption) => SelectOption[1];\n getValue?: (params: SelectOption) => SelectOption[0];\n filter?: string;\n renderOptions?: ElementType;\n renderItem?: ElementType;\n renderSelected?: ElementType;\n customEmpty?: string;\n addonIcon?: ComponentProps<typeof Icon>['name'];\n};\n\nexport const SelectLegacy = forwardRef(\n (\n {\n value,\n filter,\n error,\n disabled,\n options = [],\n anchor: Anchor = SelectFocus,\n onChange = () => {},\n getValue = ([value] = ['', '']) => value,\n getLabel = ([, label] = ['', '']) => label,\n placeholder = '',\n renderItem,\n renderSelected: RenderSelected,\n renderOptions: _Options = Options,\n addonIcon,\n customEmpty,\n ...props\n }: SelectProps,\n ref: Ref<HTMLInputElement>,\n ) => {\n const [internalValue, setInternalValue] = useState(value || '');\n\n const internalChangedByKeyboard = useEffectEvent(([value]: OptionType) => {\n setInternalValue(value);\n onChange(value as SelectOption[0]); // FIXME\n });\n\n const option = options.find(\n (option) => getValue(option) === internalValue,\n ) as SelectOption;\n\n const index = options.indexOf(option);\n\n const filteredOptions = useMemo<OptionType[]>((): OptionType[] => {\n const mapOptions = ([value, label]: SelectOption): OptionType => {\n if (internalValue === value) {\n return [value, label, true];\n }\n return [value, label];\n };\n\n const applyFilter = ([, option]: SelectOption) =>\n !filter || ~option.toLowerCase().indexOf(filter.toLowerCase());\n\n return options.filter(applyFilter).map(mapOptions);\n }, [options, internalValue, filter]);\n\n const [cursor, handleKeyDown, handleKeyUp, reset, [visible, hide, show]] =\n useCursor(index, filteredOptions, internalChangedByKeyboard);\n\n const innerRef = useRef<HTMLInputElement | null>(null);\n const anchorRef = useMergedRefs(ref, innerRef);\n\n const removeFocusClass = () =>\n innerRef.current?.classList.remove('focus-visible');\n\n const internalChangedByClick = useEffectEvent(([value]: OptionType) => {\n setInternalValue(value);\n onChange(value as SelectOption[0]); // FIXME\n removeFocusClass();\n hide();\n });\n\n const renderAnchor = (params: SelectAnchorParams) => {\n if (isForwardRefType(Anchor)) {\n return <Anchor {...params} />;\n }\n\n if (typeof Anchor === 'function') {\n return (Anchor as (params: SelectAnchorParams) => ReactNode)(params);\n }\n\n return null;\n };\n\n const { ref: containerRef, borderBoxSize } = useResizeObserver();\n\n useDidUpdate(reset, [filter, internalValue]);\n useOutsideClick([containerRef], removeFocusClass);\n\n const valueLabel = getLabel(option);\n\n const visibleText =\n (filter === undefined || visible === AnimatedVisibility.HIDDEN) &&\n (valueLabel || placeholder || typeof placeholder === 'string');\n\n const handleClick = useEffectEvent(() => {\n if (innerRef.current?.classList.contains('focus-visible')) {\n removeFocusClass();\n return hide();\n }\n\n innerRef.current?.classList.add('focus-visible');\n innerRef.current?.focus();\n return show();\n });\n\n return (\n <Box\n rcx-select\n disabled={disabled}\n ref={containerRef}\n onClick={handleClick}\n className={useMemo(\n () => [error && 'invalid', disabled && 'disabled'],\n [error, disabled],\n )}\n {...props}\n >\n <Wrapper\n display='flex'\n mi='neg-x4'\n rcx-select__wrapper--hidden={!!visibleText}\n >\n {visibleText &&\n (RenderSelected ? (\n <RenderSelected\n role='option'\n value={getValue(option)}\n label={valueLabel}\n key={getValue(option)}\n onClick={internalChangedByClick}\n />\n ) : (\n <Box\n flexGrow={1}\n is='span'\n mi={4}\n rcx-select__item\n fontScale='p2'\n color={valueLabel ? 'default' : 'hint'}\n >\n {visibleText}\n </Box>\n ))}\n {renderAnchor({\n ref: anchorRef,\n children: !value ? option || placeholder : null,\n disabled: disabled ?? false,\n onClick: show,\n onBlur: hide,\n onKeyDown: handleKeyDown,\n onKeyUp: handleKeyUp,\n })}\n <Margins inline='x4'>\n <SelectAddon\n children={\n <Icon\n name={\n visible === AnimatedVisibility.VISIBLE\n ? 'chevron-up'\n : addonIcon || 'chevron-down'\n }\n size='x20'\n />\n }\n />\n </Margins>\n </Wrapper>\n <PositionAnimated visible={visible} anchor={containerRef}>\n <_Options\n width={borderBoxSize.inlineSize}\n role='listbox'\n filter={filter}\n options={filteredOptions}\n onSelect={internalChangedByClick}\n renderItem={renderItem}\n cursor={cursor}\n customEmpty={customEmpty}\n />\n </PositionAnimated>\n </Box>\n );\n },\n);\n","import type { AllHTMLAttributes, RefObject } from 'react';\nimport { forwardRef } from 'react';\nimport { useButton, AriaButtonProps } from 'react-aria';\n\nimport Box from '../Box';\n\ntype SelectTriggerProps = {\n small?: boolean;\n error?: string;\n focus?: boolean;\n} & AriaButtonProps &\n AllHTMLAttributes<HTMLButtonElement>;\n\nexport const SelectTrigger = forwardRef<HTMLButtonElement, SelectTriggerProps>(\n ({ small, error, isDisabled, focus, id, ...props }, ref) => {\n const { buttonProps } = useButton(\n props,\n ref as RefObject<HTMLButtonElement | null>,\n );\n\n return (\n <Box\n {...buttonProps}\n id={id}\n rcx-select\n ref={ref}\n is='button'\n display='flex'\n flexDirection='row'\n fontScale='p2'\n justifyContent='space-between'\n rcx-input-box--small={small}\n className={[\n error && 'invalid',\n isDisabled && 'disabled',\n focus && 'focus',\n ]\n .filter(Boolean)\n .join(' ')}\n >\n {props.children}\n </Box>\n );\n },\n);\n","export * from './SelectLegacy';\nexport * from './Select';\nexport * from './SelectFiltered';\n","import type { ComponentProps, FormEvent, ReactNode, Ref } from 'react';\nimport { forwardRef, useState, useCallback } from 'react';\n\nimport { Icon } from '../Icon';\nimport { InputBox } from '../InputBox';\n\ntype SelectInputOptions = readonly (readonly [string, string])[];\n\ntype SelectInputProps = Omit<ComponentProps<typeof InputBox>, 'type'> & {\n error?: string;\n options?: SelectInputOptions;\n htmlSize?: number;\n addon?: ReactNode;\n};\n\n/**\n * An input for selection of options.\n */\nexport const SelectInput = forwardRef(function SelectInput(\n { children, multiple, placeholder, onChange, ...props }: SelectInputProps,\n ref: Ref<HTMLElement>,\n) {\n const [isPlaceholderVisible, setPlaceholderVisible] = useState(\n !props.value && !props.defaultValue,\n );\n const handleChange = useCallback(\n (event: FormEvent<HTMLSelectElement>) => {\n setPlaceholderVisible(!event.currentTarget.value);\n onChange?.call(event.currentTarget, event);\n },\n [onChange],\n );\n\n if (multiple) {\n return (\n <InputBox\n children={children}\n {...props}\n multiple\n type='select'\n onChange={handleChange}\n />\n );\n }\n\n return (\n <InputBox\n placeholderVisible={isPlaceholderVisible ? !!placeholder : undefined}\n ref={ref}\n {...props}\n addon={<Icon name='chevron-down' size='x20' />}\n type='select'\n onChange={handleChange}\n >\n {placeholder && (\n <InputBox.Placeholder value=''>{placeholder}</InputBox.Placeholder>\n )}\n {children}\n </InputBox>\n );\n});\n","import { Option } from '../InputBox/Option';\n\nexport * from './SelectInput';\n\nexport const SelectInputOption = Option;\n","import type { AllHTMLAttributes, ComponentProps, ReactNode } from 'react';\n\nimport type Box from '../Box';\nimport { Icon as FuselageIcon } from '../Icon';\n\nimport { SidebarAction, SidebarActions } from './SidebarActions';\n\ntype SidebarItemProps = {\n selected?: boolean;\n highlighted?: boolean;\n clickable?: boolean;\n featured?: boolean;\n is?: ComponentProps<typeof Box>['is'];\n children?: ReactNode;\n} & AllHTMLAttributes<HTMLElement>;\n\n/**\n * Item component to be used inside Sidebar.\n */\nexport const SidebarItem = ({\n selected,\n highlighted,\n clickable,\n featured,\n is: Tag = 'div',\n children,\n ...props\n}: SidebarItemProps) => (\n <Tag\n className={[\n 'rc-box rcx-box--full rcx-sidebar-item',\n highlighted && 'rcx-sidebar-item--highlighted',\n (clickable || Tag === 'a') && 'rcx-sidebar-item--clickable',\n selected && 'rcx-sidebar-item--selected',\n featured && 'rcx-sidebar-item--featured',\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n >\n <div\n className='rcx-box rcx-box--full rcx-sidebar-item__wrapper'\n children={children}\n />\n </Tag>\n);\n\ntype SidebarItemContainerProps = {\n children?: ReactNode;\n} & AllHTMLAttributes<HTMLElement>;\n\nexport const SidebarItemContainer = (props: SidebarItemContainerProps) => (\n <div\n className='rc-box rcx-box--full rcx-sidebar-item__container'\n {...props}\n />\n);\n\ntype SidebarItemMenuProps = {\n children?: ReactNode;\n} & AllHTMLAttributes<HTMLElement>;\n\nexport const SidebarItemMenu = (props: SidebarItemMenuProps) => (\n <div\n className='rc-box rcx-box--full rcx-box--animated rcx-sidebar-item__menu-wrapper'\n {...props}\n />\n);\n\ntype SidebarItemContentProps = {\n children?: ReactNode;\n className?: string;\n} & AllHTMLAttributes<HTMLElement>;\n\nexport const SidebarItemContent = ({\n className = '',\n ...props\n}: SidebarItemContentProps) => (\n <div\n className={`rc-box rcx-box--full rcx-sidebar-item__container rcx-sidebar-item__content ${className}`}\n {...props}\n />\n);\n\ntype SidebarItemTitleProps = {\n children?: ReactNode;\n className?: string;\n} & AllHTMLAttributes<HTMLElement>;\n\nexport const SidebarItemTitle = ({\n className = '',\n ...props\n}: SidebarItemTitleProps) => (\n <div\n className={`rc-box rcx-box--full rcx-sidebar-item__title ${className}`}\n {...props}\n />\n);\n\ntype SidebarItemTimeProps = {\n children?: ReactNode;\n className?: string;\n} & AllHTMLAttributes<HTMLElement>;\n\nexport const SidebarItemTime = ({\n className,\n ...props\n}: SidebarItemTimeProps) => (\n <div\n className={`rc-box rcx-box--full rcx-sidebar-item__time ${className}`}\n {...props}\n />\n);\n\ntype SidebarItemBadgeProps = {\n children?: ReactNode;\n className?: string;\n} & AllHTMLAttributes<HTMLElement>;\n\nexport const SidebarItemBadge = ({\n className,\n ...props\n}: SidebarItemBadgeProps) => (\n <div\n className={`rc-box rcx-box--full rcx-sidebar-item__badge ${className}`}\n {...props}\n />\n);\n\ntype SidebarItemSubtitleProps = {\n children?: ReactNode;\n className?: string;\n} & AllHTMLAttributes<HTMLElement>;\n\nexport const SidebarItemSubtitle = ({\n className,\n ...props\n}: SidebarItemSubtitleProps) => (\n <div\n className={`rc-box rcx-box--full rcx-sidebar-item__subtitle ${className}`}\n {...props}\n />\n);\n\ntype SidebarItemWrapperProps = {\n children?: ReactNode;\n className?: string;\n} & AllHTMLAttributes<HTMLElement>;\n\nexport const SidebarItemWrapper = ({\n className = '',\n ...props\n}: SidebarItemWrapperProps) => (\n <div\n className={`rc-box rcx-box--full rcx-sidebar-item__wrapper ${className}`}\n {...props}\n />\n);\n\ntype SidebarItemIconProps = {\n children?: ReactNode;\n className?: string;\n highlighted?: boolean;\n icon: ComponentProps<typeof FuselageIcon>['name'];\n} & Omit<AllHTMLAttributes<HTMLElement>, 'name' | 'is'>;\n\nexport const SidebarItemIcon = ({\n highlighted,\n children,\n icon,\n className: _className,\n ...props\n}: SidebarItemIconProps) => (\n <div\n className={[\n 'rc-box rcx-box--full rcx-sidebar-item__icon',\n highlighted && 'rcx-sidebar-item__icon--highlighted',\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n >\n {children || <FuselageIcon size='x16' name={icon} {...props} />}\n </div>\n);\n\ntype SidebarItemAvatarProps = {\n children?: ReactNode;\n} & AllHTMLAttributes<HTMLElement>;\n\nexport const SidebarItemAvatar = ({ ...props }: SidebarItemAvatarProps) => (\n <SidebarItemContainer>\n <div className='rc-box rcx-box--full rcx-sidebar-item__avatar' {...props} />\n </SidebarItemContainer>\n);\n\nexport const SidebarItemActions = SidebarActions;\n\ntype SidebarItemActionProps = ComponentProps<typeof SidebarAction>;\n\nexport const SidebarItemAction = (props: SidebarItemActionProps) => (\n <SidebarAction {...props} />\n);\n\nexport default Object.assign(SidebarItem, {\n Menu: SidebarItemMenu,\n Container: SidebarItemContainer,\n Content: SidebarItemContent,\n Title: SidebarItemTitle,\n Subtitle: SidebarItemSubtitle,\n Time: SidebarItemTime,\n Wrapper: SidebarItemWrapper,\n Icon: SidebarItemIcon,\n Avatar: SidebarItemAvatar,\n Actions: SidebarItemActions,\n Action: SidebarItemAction,\n Badge: SidebarItemBadge,\n});\n","import type { ReactNode } from 'react';\n\ntype SidebarSectionTitleProps = {\n children?: ReactNode;\n};\n\nexport const SidebarSectionTitle = (props: SidebarSectionTitleProps) => (\n <div className='rcx-box rcx-box--full rcx-sidebar-title' {...props} />\n);\n\ntype SidebarSectionProps = {\n children?: ReactNode;\n};\n\nexport const SidebarSection = (props: SidebarSectionProps) => (\n <div className='rcx-box rcx-box--full rcx-sidebar-section' {...props} />\n);\n\nexport default Object.assign(SidebarSection, {\n Title: SidebarSectionTitle,\n});\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { IconButton } from '../Button';\nimport { ButtonGroup } from '../ButtonGroup';\n\ntype SidebarActionsProps = ComponentProps<typeof ButtonGroup>;\n\nexport const SidebarActions = forwardRef(function SidebarActions(\n props: SidebarActionsProps,\n ref: Ref<HTMLDivElement>,\n) {\n return <ButtonGroup ref={ref} {...props} />;\n});\n\ntype SidebarActionProps = ComponentProps<typeof IconButton>;\n\nexport const SidebarAction = forwardRef(function SidebarAction(\n props: SidebarActionProps,\n ref: Ref<HTMLElement>,\n) {\n return <IconButton small ref={ref} {...props} />;\n});\n","import type { ReactNode } from 'react';\n\nimport { IconButton } from '../Button';\n\ntype VariantType = 'default' | 'info' | 'success' | 'warning' | 'danger';\n\ntype SidebarBannerProps = {\n text?: ReactNode;\n description?: ReactNode;\n onClick?: () => void;\n variant?: VariantType;\n onClose?: () => void;\n children?: ReactNode;\n addon?: ReactNode;\n};\n\nexport const SidebarBanner = ({\n text,\n description,\n onClick,\n variant = 'default',\n addon,\n onClose,\n children,\n}: SidebarBannerProps) => (\n <div\n className={`rcx-box rcx-box--full rcx-sidebar-banner rcx-sidebar-banner--${variant}`}\n >\n <div>\n {text && <div className='rcx-sidebar-banner--text'>{text}</div>}\n {description && (\n <div\n role={onClick ? 'link' : undefined}\n tabIndex={0}\n className={[\n 'rcx-sidebar-banner--description',\n onClick && 'rcx-sidebar-banner--description--clickable',\n ]\n .filter(Boolean)\n .join(' ')}\n onClick={onClick}\n onKeyDown={(e) => e.key === 'Enter' && onClick?.()}\n >\n {description}\n </div>\n )}\n {children}\n </div>\n <div className='rcx-sidebar-banner__actions'>\n {addon}\n {onClose && <IconButton onClick={onClose} tiny icon='cross' />}\n </div>\n </div>\n);\n","import { Divider } from '../Divider';\n\nexport const SidebarDivider = () => (\n <Divider rcx-sidebar--divider mbs={-2} mbe={0} />\n);\n","import type { ReactNode } from 'react';\n\ntype SidebarFooterProps = {\n children?: ReactNode;\n elevated?: boolean;\n};\n\nexport const SidebarFooter = ({ elevated, ...props }: SidebarFooterProps) => (\n <div\n className={[\n 'rcx-box rcx-box--full rcx-sidebar-footer',\n elevated && 'rcx-sidebar-footer--elevated',\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n\ntype SidebarFooterHighlightProps = {\n children?: ReactNode;\n};\n\nexport const SidebarFooterHighlight = ({\n ...props\n}: SidebarFooterHighlightProps) => (\n <div\n className='rcx-box rcx-box--full rcx-sidebar-footer__highlights'\n {...props}\n />\n);\n","import type { ReactNode } from 'react';\n\ntype TopBarProps = {\n children?: ReactNode;\n className?: string;\n};\n\n/**\n * Sidebar TopBar and ToolBox.\n */\nexport const TopBar = ({ className, ...props }: TopBarProps) => (\n <div\n className={['rc-box rc-box--full rcx-sidebar-topbar', className]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { SidebarAction } from '../SidebarActions';\n\ntype TopBarActionProps = ComponentProps<typeof SidebarAction>;\n\nexport const TopBarAction = forwardRef(function TopBarAction(\n props: TopBarActionProps,\n ref: Ref<HTMLElement>,\n) {\n return <SidebarAction ref={ref} {...props} />;\n});\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { SidebarActions } from '../SidebarActions';\n\ntype TopBarActionsProps = ComponentProps<typeof SidebarActions>;\n\nexport const TopBarActions = forwardRef(function TopBarActions(\n props: TopBarActionsProps,\n ref: Ref<HTMLDivElement>,\n) {\n return <SidebarActions ref={ref} {...props} />;\n});\n","import type { ReactNode } from 'react';\n\nimport { SidebarDivider } from '../SidebarDivider';\n\nimport { TopBar } from './TopBar';\nimport { TopBarWrapper } from './TopBarWrapper';\n\ntype TopBarSectionProps = {\n children?: ReactNode;\n className?: string;\n};\n\nexport const TopBarSection = ({\n className,\n children,\n ...props\n}: TopBarSectionProps) => (\n <TopBar\n className={['rcx-sidebar-topbar--section', className]\n .filter(Boolean)\n .join(' ')}\n {...props}\n >\n <TopBarWrapper children={children} />\n <SidebarDivider />\n </TopBar>\n);\n","import type { ReactNode } from 'react';\n\nimport Box from '../../Box';\n\ntype TopBarTitleProps = {\n children?: ReactNode;\n};\n\nexport const TopBarTitle = (props: TopBarTitleProps) => (\n <Box className='rcx-sidebar-topbar__title' withTruncatedText {...props} />\n);\n","import type { ReactNode } from 'react';\n\nimport { SidebarDivider } from '../SidebarDivider';\n\nimport { TopBar } from './TopBar';\nimport { TopBarWrapper } from './TopBarWrapper';\n\ntype TopBarToolBoxProps = {\n children?: ReactNode;\n className?: string;\n};\n\nexport const TopBarToolBox = ({\n children,\n className,\n ...props\n}: TopBarToolBoxProps) => (\n <TopBar\n className={['rcx-sidebar-topbar--toolbox', className]\n .filter(Boolean)\n .join(' ')}\n {...props}\n >\n <TopBarWrapper children={children} />\n <SidebarDivider />\n </TopBar>\n);\n","import type { ReactNode } from 'react';\n\ntype TopBarProps = {\n children?: ReactNode;\n className?: string;\n};\n\nexport const TopBarV2 = ({ className, ...props }: TopBarProps) => (\n <div\n className={[\n 'rc-box rc-box--full rcx-sidebar-topbar-v2 rcx-sidebar-topbar-v2',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n","import type { ReactNode } from 'react';\n\ntype TopBarWrapperProps = {\n children?: ReactNode;\n};\n\nexport const TopBarWrapper = ({ children }: TopBarWrapperProps) => (\n <div\n className='rc-box rc-box--full rcx-sidebar-topbar__wrapper'\n children={children}\n />\n);\n","import { SidebarDivider as TopBarDivider } from '../SidebarDivider';\n\nimport { TopBar } from './TopBar';\nimport { TopBarAction } from './TopBarAction';\nimport { TopBarActions } from './TopBarActions';\nimport { TopBarSection } from './TopBarSection';\nimport { TopBarTitle } from './TopBarTitle';\nimport { TopBarToolBox } from './TopBarToolBox';\nimport { TopBarWrapper } from './TopBarWrapper';\n\nconst Avatar: { size: 'x24' } = { size: 'x24' };\n\nexport const TopBarAvatar = Avatar;\n\nexport default Object.assign(TopBar, {\n /** @deprecated use named import instead */\n Section: TopBarSection,\n /** @deprecated use named import instead */\n ToolBox: TopBarToolBox,\n /** @deprecated use named import instead */\n Wrapper: TopBarWrapper,\n /** @deprecated use named import instead */\n Avatar: TopBarAvatar,\n /** @deprecated use named import instead */\n Actions: TopBarActions,\n /** @deprecated use named import instead */\n Action: TopBarAction,\n /** @deprecated use named import instead */\n Divider: TopBarDivider,\n /** @deprecated use named import instead */\n Title: TopBarTitle,\n});\n\nexport * from './TopBar';\nexport * from './TopBarV2';\nexport * from './TopBarAction';\nexport * from './TopBarActions';\nexport * from './TopBarSection';\nexport * from './TopBarTitle';\nexport * from './TopBarToolBox';\nexport * from './TopBarWrapper';\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\n\nimport SidebarItem from './Item';\nimport SidebarSection from './Section';\nimport { SidebarBanner } from './SidebarBanner';\nimport { SidebarDivider } from './SidebarDivider';\nimport SidebarTopBar from './TopBar';\n\ntype SidebarProps = ComponentProps<typeof Box>;\n\nexport const Sidebar = (props: SidebarProps) => <Box rcx-sidebar {...props} />;\n\nexport default Object.assign(Sidebar, {\n TopBar: SidebarTopBar,\n Item: SidebarItem,\n Section: SidebarSection,\n Divider: SidebarDivider,\n Banner: SidebarBanner,\n});\n\nexport { default as SidebarItem } from './Item';\nexport * from './Item';\nexport { default as SidebarSection } from './Section';\nexport * from './Section';\nexport { default as SidebarTopBar } from './TopBar';\nexport * from './TopBar';\nexport * from './SidebarBanner';\nexport * from './SidebarFooter';\n\nexport { SidebarDivider };\n","import { forwardRef, type HTMLAttributes } from 'react';\n\ntype SidebarProps = { collapsed?: boolean } & HTMLAttributes<HTMLElement>;\n\nexport const Sidebar = forwardRef<HTMLElement, SidebarProps>(\n ({ collapsed, className, ...props }, ref) => (\n <nav\n ref={ref}\n className={[\n 'rcx-box rcx-box--full rcx-sidebar-v2',\n 'rcx-box--animated',\n collapsed && 'rcx-sidebar-v2--collapsed',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n ),\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const SidebarAccordion = ({\n className,\n children,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div\n className={[\n 'rcx-box rcx-box--full rcx-sidebar-v2-accordion rcx-box--animated',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n >\n <div className='rcx-sidebar-v2-accordion__wrapper'>{children}</div>\n </div>\n);\n","import type { HTMLAttributes, ReactNode } from 'react';\n\nimport { Chevron } from '../Chevron';\n\nimport { useCollapse } from './hooks/useCollapse';\n\ntype SidebarAccordionItemProps = {\n children?: ReactNode;\n className?: string;\n defaultExpanded?: boolean;\n disabled?: boolean;\n expanded?: boolean;\n title: ReactNode;\n noncollapsible?: boolean;\n badge?: ReactNode;\n} & HTMLAttributes<HTMLElement>;\n\nexport const SidebarAccordionItem = ({\n children,\n title,\n badge,\n noncollapsible,\n disabled,\n expanded: propExpanded,\n defaultExpanded,\n tabIndex,\n ...props\n}: SidebarAccordionItemProps) => {\n const { barProps, expanded, panelExpanded, panelId, titleId } = useCollapse({\n expanded: propExpanded,\n defaultExpanded,\n tabIndex,\n disabled,\n noncollapsible,\n });\n\n return (\n <section\n className='rcx-box rcx-box--full rcx-sidebar-v2-accordion-item'\n {...props}\n >\n <div\n role='button'\n className={[\n 'rcx-box rcx-box--full rcx-sidebar-v2-accordion-item__bar rcx-box--animated',\n disabled && 'rcx-sidebar-v2-accordion-item__bar--disabled',\n ]\n .filter(Boolean)\n .join(' ')}\n {...barProps}\n >\n {!noncollapsible && (\n <Chevron\n className='rcx-sidebar-v2-accordion-item__chevron'\n size='x16'\n right={!expanded}\n />\n )}\n {title && (\n <h5 className='rcx-sidebar-v2-accordion-item__title' id={titleId}>\n {title}\n </h5>\n )}\n {!expanded && badge && badge}\n </div>\n <div\n className={[\n 'rcx-sidebar-v2-accordion-item__panel',\n 'rcx-box--animated',\n panelExpanded && 'rcx-sidebar-v2-accordion-item__panel--expanded',\n ]\n .filter(Boolean)\n .join(' ')}\n id={panelId}\n >\n {children}\n </div>\n </section>\n );\n};\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { IconButton } from '../Button';\n\ntype SidebarActionProps = ComponentProps<typeof IconButton>;\n\nexport const SidebarAction = forwardRef(function SidebarAction(\n props: SidebarActionProps,\n ref: Ref<HTMLElement>,\n) {\n return <IconButton small ref={ref} {...props} />;\n});\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { ButtonGroup } from '../ButtonGroup';\n\ntype SidebarActionsProps = ComponentProps<typeof ButtonGroup>;\n\nexport const SidebarActions = forwardRef(function SidebarActions(\n props: SidebarActionsProps,\n ref: Ref<HTMLDivElement>,\n) {\n return <ButtonGroup ref={ref} {...props} />;\n});\n","import type { AllHTMLAttributes, ReactNode } from 'react';\n\nimport { IconButton } from '../Button';\n\ntype VariantType = 'default' | 'info' | 'success' | 'warning' | 'danger';\n\ntype SidebarBannerProps = {\n title?: ReactNode;\n linkText?: string;\n linkProps?: AllHTMLAttributes<HTMLAnchorElement>;\n onClick?: () => void;\n variant?: VariantType;\n onClose?: () => void;\n children?: ReactNode;\n addon?: ReactNode;\n};\n\nexport const SidebarBanner = ({\n title,\n linkText,\n linkProps,\n variant = 'default',\n addon,\n onClose,\n children,\n ...props\n}: SidebarBannerProps) => (\n <div\n className={`rcx-box rcx-box--full rcx-sidebar-v2-banner rcx-sidebar-v2-banner--${variant}`}\n {...props}\n >\n <div className='rcx-box rcx-box--full rcx-sidebar-v2-banner__content'>\n {title && (\n <h5 className='rcx-box rcx-box--full rcx-sidebar-v2-banner__title'>\n {title}\n </h5>\n )}\n {linkText && (\n <a\n className='rcx-box rcx-box--full rcx-sidebar-v2-banner__link'\n {...linkProps}\n >\n {linkText}\n </a>\n )}\n {children}\n </div>\n <div className='rcx-box rcx-box--full rcx-sidebar-v2-banner__addon'>\n {addon}\n {onClose && <IconButton onClick={onClose} tiny icon='cross' />}\n </div>\n </div>\n);\n","import type { ComponentProps } from 'react';\n\nimport { ButtonGroup } from '../ButtonGroup';\n\nexport const SidebarButtonGroup = ({\n align = 'end',\n small = true,\n ...props\n}: ComponentProps<typeof ButtonGroup>) => (\n <ButtonGroup align={align} small={small} {...props} />\n);\n","import type { HTMLAttributes, ReactNode } from 'react';\nimport { forwardRef } from 'react';\n\nimport { SidebarGroupTitle } from './SidebarGroupTitle';\nimport { useCollapse } from './hooks/useCollapse';\n\ntype SidebarCollapseGroupProps = {\n expanded?: boolean;\n defaultExpanded?: boolean;\n tabIndex?: number;\n title: string;\n badge?: ReactNode;\n actions?: ReactNode;\n} & HTMLAttributes<HTMLDivElement>;\n\nexport const SidebarCollapseGroup = forwardRef<\n HTMLDivElement,\n SidebarCollapseGroupProps\n>(\n (\n {\n expanded: propExpanded,\n defaultExpanded,\n tabIndex,\n children,\n badge,\n title,\n ...props\n }: SidebarCollapseGroupProps,\n ref,\n ) => {\n const { barProps, expanded, panelExpanded, panelId, titleId } = useCollapse(\n {\n expanded: propExpanded,\n defaultExpanded,\n tabIndex,\n },\n );\n\n return (\n <section\n className='rcx-box rcx-box--full rcx-sidebar-v2-collapse-group'\n {...props}\n >\n <SidebarGroupTitle\n expanded={expanded}\n title={title}\n titleId={titleId}\n badge={badge}\n barProps={barProps}\n role='button'\n />\n <div\n role='list'\n ref={ref}\n className={[\n 'rcx-box rcx-box--full rcx-sidebar-v2-collapse-group__panel rcx-box--animated',\n panelExpanded && 'rcx-sidebar-v2-collapse-group__panel--expanded',\n ]\n .filter(Boolean)\n .join(' ')}\n id={panelId}\n >\n {children}\n </div>\n </section>\n );\n },\n);\n","import { Divider } from '../Divider';\n\nexport const SidebarDivider = () => (\n <Divider rcx-sidebar-v2--divider mbs={-2} mbe={0} />\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const SidebarFooter = ({\n children,\n ...props\n}: HTMLAttributes<HTMLElement>) => (\n <footer className='rcx-sidebar-v2-footer' {...props}>\n {children}\n </footer>\n);\n","import type { ComponentProps } from 'react';\n\nimport Box from '../../Box';\n\nexport const SidebarFooterContent = ({\n children,\n ...props\n}: ComponentProps<typeof Box>) => (\n <Box className='rcx-sidebar-v2-footer__content' {...props}>\n {children}\n </Box>\n);\n","export { SidebarFooter as SidebarV2Footer } from './SidebarFooter';\nexport { SidebarFooterContent as SidebarV2FooterContent } from './SidebarFooterContent';\n","import type { HTMLAttributes } from 'react';\nimport React from 'react';\n\nimport { Chevron } from '../Chevron';\n\ntype SidebarGroupTitleProps = {\n expanded?: boolean;\n title?: string;\n titleId?: string;\n badge?: React.ReactNode;\n barProps?: React.AriaAttributes;\n} & HTMLAttributes<HTMLDivElement>;\nexport const SidebarGroupTitle = ({\n title,\n titleId,\n badge,\n barProps,\n expanded,\n ...props\n}: SidebarGroupTitleProps) => (\n <div\n className={[\n 'rcx-box rcx-box--full',\n 'rcx-sidebar-v2-collapse-group__bar rcx-box--animated',\n ]\n .filter(Boolean)\n .join(' ')}\n {...barProps}\n {...props}\n >\n {expanded !== undefined && <Chevron size='x20' right={!expanded} />}\n {title && (\n <h4\n className='rcx-box rcx-box--full rcx-sidebar-v2-collapse-group__title'\n id={titleId}\n >\n {title}\n </h4>\n )}\n {!expanded && badge && badge}\n </div>\n);\n","import type { AllHTMLAttributes } from 'react';\n\nexport const SidebarItem = ({\n selected,\n className,\n children,\n is: Tag = 'a',\n ...props\n}: {\n selected?: boolean;\n is?: React.ElementType;\n} & AllHTMLAttributes<HTMLAnchorElement>) => (\n <Tag\n className={[\n 'rcx-box rcx-box--full rcx-sidebar-v2-item',\n selected && 'rcx-sidebar-v2-item--selected',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n >\n {children}\n </Tag>\n);\n","import type { Keys as Icons } from '@rocket.chat/icons';\nimport type { HTMLAttributes } from 'react';\n\nimport { Icon } from '../../Icon';\n\nexport const SidebarItemAction = ({\n children,\n className,\n icon = 'plus-small',\n ...props\n}: {\n onClick: (e: Event) => void;\n icon?: Icons;\n} & HTMLAttributes<HTMLDivElement>) => (\n <div\n role='button'\n tabIndex={0}\n className={[\n 'rcx-box rcx-box--full rcx-sidebar-v2-item rcx-sidebar-v2-item__action',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n >\n <Icon name={icon} size='x20' />\n {children}\n </div>\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const SidebarItemAvatarWrapper = ({\n className,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div\n className={['rcx-box rcx-box--full rcx-sidebar-v2-item__avatar', className]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n","import type { ComponentProps } from 'react';\n\nimport { Badge } from '../../Badge';\n\nexport const SidebarItemBadge = ({\n className,\n ...props\n}: ComponentProps<typeof Badge>) => (\n <Badge\n className={['rcx-box rcx-box--full rcx-sidebar-v2-item__badge', className]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const SidebarItemCol = ({\n className,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div\n className={['rcx-box rcx-box--full rcx-sidebar-v2-item__col', className]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const SidebarItemContent = ({\n className,\n unread,\n ...props\n}: { unread?: boolean } & HTMLAttributes<HTMLDivElement>) => (\n <div\n className={[\n 'rcx-box rcx-box--full rcx-sidebar-v2-item__subtitle',\n unread && 'rcx-sidebar-v2-item__subtitle--highlighted',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n","import type { Keys as IconKeys } from '@rocket.chat/icons';\nimport { isValidElement, type ComponentProps, type ReactElement } from 'react';\n\nimport { Icon } from '../../Icon';\n\ntype SidebarItemIconProps = Omit<ComponentProps<typeof Icon>, 'name'> & {\n icon: IconKeys | ReactElement;\n highlighted?: boolean;\n};\n\nexport const SidebarItemIcon = ({\n icon,\n className,\n highlighted,\n ...props\n}: SidebarItemIconProps) => (\n <div\n className={[\n 'rcx-box rcx-box--full rcx-sidebar-v2-item__icon',\n highlighted && 'rcx-sidebar-v2-item__icon--highlighted',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n >\n {isValidElement(icon) ? (\n icon\n ) : (\n <Icon name={icon as IconKeys} size='x20' {...props} />\n )}\n </div>\n);\n","import type { HTMLAttributes } from 'react';\n\nimport { appendClassName } from '../../../helpers/appendClassName';\nimport { patchChildren } from '../../../helpers/patchChildren';\n\nexport const SidebarItemMenu = ({\n children,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div\n className='rcx-box rcx-box--full rcx-sidebar-v2-item__menu-wrapper rcx-box--animated'\n {...props}\n >\n {patchChildren(\n <span className='rcx-box rcx-box--full rcx-sidebar-v2-item__menu'>\n {children}\n </span>,\n (childProps: { className: string | string[] }) => ({\n className: appendClassName(\n childProps.className,\n 'rcx-sidebar-v2-item__menu',\n ),\n }),\n )}\n </div>\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const SidebarItemRow = ({\n className,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div\n className={['rcx-box rcx-box--full rcx-sidebar-v2-item__row', className]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n","import type { ComponentProps } from 'react';\n\nimport { StatusBullet } from '../../StatusBullet';\n\nexport const SidebarItemStatusBullet = (\n props: ComponentProps<typeof StatusBullet>,\n) => (\n <div className='rcx-box rcx-box--full rcx-sidebar-v2-item__status-bullet'>\n <StatusBullet {...props} />\n </div>\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const SidebarItemTimestamp = ({\n className,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div\n className={[\n 'rcx-box rcx-box--full rcx-sidebar-v2-item__timestamp',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const SidebarItemTitle = ({\n className,\n unread,\n ...props\n}: { unread?: boolean } & HTMLAttributes<HTMLDivElement>) => (\n <div\n className={[\n 'rcx-box rcx-box--full rcx-sidebar-v2-item__title',\n unread && 'rcx-sidebar-v2-item__title--highlighted',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n","import type { HTMLAttributes } from 'react';\nimport { forwardRef } from 'react';\n\ntype SidebarListItemProps = {\n selected?: boolean;\n} & HTMLAttributes<HTMLDivElement>;\n\nexport const SidebarListItem = forwardRef<HTMLDivElement, SidebarListItemProps>(\n ({ className, children, ...props }, ref) => (\n <div\n ref={ref}\n role='listitem'\n className={[\n 'rcx-box rcx-box--full rcx-sidebar-item__list-item',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n >\n {children}\n </div>\n ),\n);\n","export { SidebarItem as SidebarV2Item } from './SidebarItem';\nexport { SidebarItemAction as SidebarV2ItemAction } from './SidebarItemAction';\nexport { SidebarItemAvatarWrapper as SidebarV2ItemAvatarWrapper } from './SidebarItemAvatarWrapper';\nexport { SidebarItemBadge as SidebarV2ItemBadge } from './SidebarItemBadge';\nexport { SidebarItemIcon as SidebarV2ItemIcon } from './SidebarItemIcon';\nexport { SidebarItemMenu as SidebarV2ItemMenu } from './SidebarItemMenu';\nexport { SidebarItemTitle as SidebarV2ItemTitle } from './SidebarItemTitle';\nexport { SidebarItemRow as SidebarV2ItemRow } from './SidebarItemRow';\nexport { SidebarItemCol as SidebarV2ItemCol } from './SidebarItemCol';\nexport { SidebarItemTimestamp as SidebarV2ItemTimestamp } from './SidebarItemTimestamp';\nexport { SidebarListItem as SidebarV2ListItem } from './SidebarListItem';\nexport { SidebarItemContent as SidebarV2ItemContent } from './SidebarItemContent';\nexport { SidebarItemStatusBullet as SidebarV2ItemStatusBullet } from './SidebarItemStatusBullet';\n","import type { Keys as Icons } from '@rocket.chat/icons';\nimport type { LinkHTMLAttributes, ReactNode } from 'react';\n\nimport { appendClassName } from '../../helpers/appendClassName';\nimport { patchChildren } from '../../helpers/patchChildren';\nimport { Icon } from '../Icon';\n\nexport const SidebarLink = ({\n selected,\n icon,\n badge,\n menu,\n ...props\n}: {\n selected?: boolean;\n icon?: Icons;\n badge?: ReactNode;\n menu?: ReactNode;\n} & LinkHTMLAttributes<HTMLAnchorElement>) => (\n <a\n role='link'\n tabIndex={0}\n className={[\n 'rcx-box rcx-box--full',\n 'rcx-sidebar-v2-link',\n 'rcx-sidebar-v2-item',\n selected && 'rcx-sidebar-v2-item--selected',\n ]\n .filter(Boolean)\n .join(' ')}\n onClick={(e) => e.stopPropagation()}\n onKeyDown={(e) => e.code === 'Enter' && e.stopPropagation()}\n {...props}\n >\n {icon && (\n <Icon name={icon} size='x20' className='rcx-sidebar-v2-item__icon' />\n )}\n <span className='rcx-box rcx-box--full rcx-sidebar-v2-item__title'>\n {props.children}\n </span>\n {badge}\n {menu &&\n patchChildren(\n <span className='rcx-box rcx-box--full rcx-sidebar-v2-item__menu-wrapper'>\n {menu}\n </span>,\n (childProps: { className: string | string[] }) => ({\n className: appendClassName(\n childProps.className,\n 'rcx-box rcx-box--full rcx-sidebar-v2-item__menu rcx-box--animated',\n ),\n }),\n )}\n </a>\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const SidebarMedia = ({\n className,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div\n className={['rcx-sidebar-v2-media', className].filter(Boolean).join(' ')}\n {...props}\n />\n);\n","import type { HTMLAttributes } from 'react';\n\nimport { SidebarButtonGroup } from '../SidebarButtonGroup';\n\nexport const SidebarMediaController = ({\n className,\n label,\n children,\n ...props\n}: { label?: string } & HTMLAttributes<HTMLDivElement>) => (\n <div\n className={['rcx-sidebar-v2-media__controller', className]\n .filter(Boolean)\n .join(' ')}\n >\n <div className='rcx-sidebar-v2-media__controller__label'>{label}</div>\n <SidebarButtonGroup small align='end' {...props}>\n {children}\n </SidebarButtonGroup>\n </div>\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const SidebarMediaTitle = ({\n className,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div\n className={['rcx-sidebar-v2-media__title', className]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n","export { SidebarMedia as SidebarV2Media } from './SidebarMedia';\nexport { SidebarMediaController as SidebarV2MediaController } from './SidebarMediaController';\nexport { SidebarMediaTitle as SidebarV2MediaTitle } from './SidebarMediaTitle';\n","import type { HTMLAttributes } from 'react';\n\nimport { SidebarDivider } from './SidebarDivider';\n\nexport const SidebarSection = (props: HTMLAttributes<HTMLDivElement>) => (\n <div>\n <div className='rcx-box rcx-box--full rcx-sidebar-v2-section' {...props} />\n <SidebarDivider />\n </div>\n);\n","import { useToggle } from '@rocket.chat/fuselage-hooks';\nimport { useId, type KeyboardEventHandler, type MouseEvent } from 'react';\n\nconst hasPropExpanded = (expanded: boolean | undefined) =>\n expanded !== undefined;\n\nexport const useCollapse = ({\n expanded: propExpanded,\n defaultExpanded,\n disabled,\n noncollapsible,\n tabIndex = 0,\n}: {\n expanded?: boolean;\n defaultExpanded?: boolean;\n disabled?: boolean;\n noncollapsible?: boolean;\n tabIndex?: number;\n}) => {\n const [stateExpanded, toggleStateExpanded] = useToggle(defaultExpanded);\n const expanded = hasPropExpanded(propExpanded) ? propExpanded : stateExpanded;\n\n const panelExpanded = noncollapsible || expanded;\n\n const titleId = useId();\n const panelId = useId();\n\n const handleClick = (e: MouseEvent<HTMLElement>) => {\n if (disabled) {\n return;\n }\n e.currentTarget?.blur();\n toggleStateExpanded();\n };\n\n const handleKeyDown: KeyboardEventHandler = (event) => {\n if (disabled || event.currentTarget !== event.target) {\n return;\n }\n\n if (['Enter', 'Space'].includes(event.code)) {\n event.preventDefault();\n\n if (event.repeat) {\n return;\n }\n\n toggleStateExpanded();\n }\n };\n\n const collapsibleProps = {\n 'aria-controls': panelId,\n 'aria-expanded': expanded ? 'true' : 'false',\n 'tabIndex': !disabled ? tabIndex : undefined,\n 'onClick': handleClick,\n 'onKeyDown': handleKeyDown,\n } as const;\n\n const nonCollapsibleProps = {\n 'aria-disabled': 'true',\n 'aria-expanded': 'true',\n 'aria-labelledby': titleId,\n } as const;\n\n const barProps = noncollapsible ? nonCollapsibleProps : collapsibleProps;\n\n return { barProps, titleId, panelId, panelExpanded, expanded };\n};\n","export { Sidebar as SidebarV2 } from './Sidebar';\nexport { SidebarAccordion as SidebarV2Accordion } from './SidebarAccordion';\nexport { SidebarAccordionItem as SidebarV2AccordionItem } from './SidebarAccordionItem';\nexport { SidebarAction as SidebarV2Action } from './SidebarAction';\nexport { SidebarActions as SidebarV2Actions } from './SidebarActions';\nexport { SidebarLink as SidebarV2Link } from './SidebarLink';\nexport * from './SidebarItem';\nexport { SidebarCollapseGroup as SidebarV2CollapseGroup } from './SidebarCollapseGroup';\nexport { SidebarBanner as SidebarV2Banner } from './SidebarBanner';\nexport * from './SidebarFooter';\nexport * from './SidebarMedia';\nexport { SidebarButtonGroup as SidebarV2ButtonGroup } from './SidebarButtonGroup';\nexport { SidebarSection as SidebarV2Section } from './SidebarSection';\nexport { SidebarDivider as SidebarV2Divider } from './SidebarDivider';\nexport { SidebarGroupTitle as SidebarV2GroupTitle } from './SidebarGroupTitle';\n","import type { HTMLAttributes } from 'react';\n\nexport const Sidepanel = ({\n className,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div\n className={['rcx-sidepanel', className].filter(Boolean).join(' ')}\n {...props}\n />\n);\n","import { Divider } from '../Divider';\n\nexport const SidepanelDivider = () => (\n <Divider rcx-sidepanel--divider mbs={-2} mbe={0} />\n);\n","import type { HTMLAttributes } from 'react';\n\nimport { SidepanelDivider } from './SidepanelDivider';\n\nexport const SidepanelHeader = ({\n className,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <>\n <div\n className={['rcx-sidepanel-header', className].filter(Boolean).join(' ')}\n {...props}\n />\n <SidepanelDivider />\n </>\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const SidepanelHeaderTitle = ({\n className,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div\n className={['rcx-sidepanel-header__title', className]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n","import type { HTMLAttributes } from 'react';\nimport { forwardRef } from 'react';\n\nexport const SidepanelList = forwardRef<\n HTMLDivElement,\n HTMLAttributes<HTMLDivElement>\n>(function SidepanelList({ className, ...props }, ref) {\n return (\n <div\n role='list'\n ref={ref}\n className={['rcx-sidepanel-list', className].filter(Boolean).join(' ')}\n {...props}\n />\n );\n});\n","import type { HTMLAttributes } from 'react';\nimport { forwardRef } from 'react';\n\nexport const SidepanelListItem = forwardRef<\n HTMLDivElement,\n HTMLAttributes<HTMLDivElement>\n>(function SidepanelListItem({ className, ...props }, ref) {\n return (\n <div\n role='listitem'\n ref={ref}\n className={['rcx-sidepanel-list__item', className]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n );\n});\n","import type { HTMLAttributes } from 'react';\n\nexport const SidepanelSection = ({\n className,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div\n className={['rcx-sidepanel-section', className].filter(Boolean).join(' ')}\n {...props}\n />\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const SidepanelSectionAction = ({\n className,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div\n className={['rcx-sidepanel-section__action', className]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n","export * from './Sidepanel';\nexport * from './SidepanelSection';\nexport * from './SidepanelSectionAction';\nexport * from './SidepanelHeaderTitle';\nexport * from './SidepanelHeader';\nexport * from './SidepanelList';\nexport * from './SidepanelListItem';\nexport * from './SidepanelDivider';\n","import { AllHTMLAttributes } from 'react';\n\nimport { cx, cxx } from '../../helpers/composeClassNames';\nimport { StylingBox, StylingBoxProps } from '../Box';\n\ntype SkeletonProps = Omit<StylingBoxProps, 'children'> & {\n variant?: 'text' | 'rect' | 'circle';\n} & AllHTMLAttributes<HTMLSpanElement>;\n\nconst Skeleton = ({ variant = 'text', ...props }: SkeletonProps) => (\n <StylingBox {...props}>\n <span\n className={cx(\n cxx('rcx-skeleton')({\n text: variant === 'text',\n rect: variant === 'rect',\n circle: variant === 'circle',\n }),\n )}\n />\n </StylingBox>\n);\nexport { Skeleton };\n","export * from './Skeleton';\n","import { css } from '@rocket.chat/css-in-js';\nimport type { AriaAttributes, ReactElement } from 'react';\nimport { useMemo, useRef } from 'react';\nimport type { AriaSliderProps } from 'react-aria';\nimport { useNumberFormatter, useSlider } from 'react-aria';\nimport { useSliderState } from 'react-stately';\n\nimport { useStyle } from '../../hooks/useStyle';\n\nimport { SliderHead } from './SliderHead';\nimport { SliderThumb } from './SliderThumb';\nimport { SliderTrack } from './SliderTrack';\n\ntype SliderProps<T extends number | number[]> = AriaAttributes & {\n /**\n * The display format of the value output.\n */\n formatOptions?: Intl.NumberFormatOptions;\n label?: string;\n showOutput?: boolean;\n /**\n * Slider with multiple thumbs.\n * @default false\n */\n multiThumb?: T extends number[] ? true : false;\n step?: number;\n /**\n * @default 0\n */\n minValue?: number;\n /**\n * @default 100\n */\n maxValue?: number;\n orientation?: 'horizontal' | 'vertical';\n disabled?: boolean;\n defaultValue?: T;\n} & (\n | {\n value: T;\n onChange: (value: T) => void;\n }\n | {\n value?: never;\n onChange?: never;\n }\n );\n\nexport function Slider<T extends number | [min: number, max: number]>(\n props: SliderProps<T>,\n): ReactElement {\n const {\n label,\n formatOptions,\n showOutput = true,\n multiThumb,\n maxValue,\n minValue,\n } = props;\n\n // Get a defaultValue in the range for multiThumb\n const getMultiThumbDefaultValue = (): T | undefined => {\n if (multiThumb && !props.defaultValue) {\n if (minValue && maxValue) {\n return [minValue, maxValue] as T;\n }\n if (minValue) {\n return [minValue, 100] as T;\n }\n if (maxValue) {\n return [0, maxValue] as T;\n }\n return [0, 100] as T;\n }\n\n return undefined;\n };\n\n const { defaultValue = getMultiThumbDefaultValue() } = props;\n\n const sliderProps = {\n ...props,\n isDisabled: props.disabled,\n } as AriaSliderProps<number | number[]>;\n\n const trackRef = useRef(null);\n const numberFormatter = useNumberFormatter(formatOptions);\n const sliderState = useSliderState({\n defaultValue,\n ...sliderProps,\n numberFormatter,\n });\n\n const { groupProps, trackProps, labelProps, outputProps } = useSlider(\n sliderProps,\n sliderState,\n trackRef,\n );\n\n const isHorizontal = useMemo(\n () => sliderState.orientation === 'horizontal',\n [sliderState.orientation],\n );\n const isVertical = useMemo(\n () => sliderState.orientation === 'vertical',\n [sliderState.orientation],\n );\n\n const slider = useStyle(\n css`\n display: flex;\n ${isHorizontal &&\n css`\n flex-direction: column;\n width: 100%;\n `};\n ${isVertical &&\n css`\n flex-direction: row-reverse;\n height: 100%;\n `}\n `,\n sliderState,\n );\n\n return (\n <div {...groupProps} className={slider}>\n <SliderHead\n labelProps={labelProps}\n outputProps={outputProps}\n state={sliderState}\n showOutput={showOutput}\n label={label}\n multiThumb={multiThumb}\n />\n <SliderTrack\n state={sliderState}\n trackProps={trackProps}\n trackRef={trackRef}\n multiThumb={multiThumb}\n >\n <SliderThumb index={0} state={sliderState} trackRef={trackRef} />\n {multiThumb && (\n <SliderThumb index={1} state={sliderState} trackRef={trackRef} />\n )}\n </SliderTrack>\n </div>\n );\n}\n","import { css } from '@rocket.chat/css-in-js';\nimport type { LabelHTMLAttributes, OutputHTMLAttributes } from 'react';\nimport type { SliderState } from 'react-stately';\n\nimport { useStyle } from '../../hooks/useStyle';\nimport { Label } from '../Label';\n\ntype SliderHeadProps = {\n state: SliderState;\n labelProps: Omit<LabelHTMLAttributes<HTMLLabelElement>, 'is'>;\n outputProps: Omit<OutputHTMLAttributes<HTMLOutputElement>, 'is'>;\n label?: string;\n showOutput?: boolean;\n multiThumb?: boolean;\n};\nexport const SliderHead = ({\n state,\n labelProps,\n outputProps,\n label,\n showOutput = true,\n multiThumb,\n}: SliderHeadProps) => {\n const labelContainer = useStyle(\n css`\n display: flex;\n justify-content: space-between;\n ${state.orientation === 'vertical' &&\n css`\n flex-direction: column;\n `}\n `,\n null,\n );\n const output = (\n <Label {...(outputProps as any)}>\n {multiThumb ? (\n <Label {...outputProps} data-testid='slider-output'>\n {`${state.getThumbValueLabel(0)} - ${state.getThumbValueLabel(1)}`}\n </Label>\n ) : (\n <Label {...outputProps} data-testid='slider-output'>\n {state.getThumbValueLabel(0)}\n </Label>\n )}\n </Label>\n );\n return (\n <>\n {label ? (\n <div className={labelContainer}>\n <Label {...labelProps}>{label}</Label>\n {showOutput && output}\n </div>\n ) : (\n showOutput && output\n )}\n </>\n );\n};\n","import { css } from '@rocket.chat/css-in-js';\nimport { useRef } from 'react';\nimport {\n mergeProps,\n useFocusRing,\n useSliderThumb,\n VisuallyHidden,\n} from 'react-aria';\n\nimport { Palette } from '../../Theme';\nimport { useStyle } from '../../hooks/useStyle';\n\nexport const SliderThumb = (props: any) => {\n const { state, trackRef, index } = props;\n const inputRef = useRef(null);\n const { thumbProps, inputProps, isDragging } = useSliderThumb(\n {\n index,\n trackRef,\n inputRef,\n },\n state,\n );\n\n const { focusProps, isFocusVisible } = useFocusRing();\n\n const thumb = useStyle(\n css`\n width: 12px;\n height: 12px;\n\n cursor: ${state.isDisabled ? 'not-allowed' : 'pointer'};\n border-radius: 50%;\n background: ${isFocusVisible || isDragging\n ? Palette.text['font-info']\n : Palette.stroke['stroke-highlight']};\n ${state.orientation === 'horizontal'\n ? css`\n top: 50%;\n `\n : css`\n left: 50%;\n `}\n `,\n { isFocusVisible, isDragging },\n );\n return (\n <div {...thumbProps} className={thumb}>\n <VisuallyHidden>\n <input ref={inputRef} {...mergeProps(inputProps, focusProps)} />\n </VisuallyHidden>\n </div>\n );\n};\n","import { css } from '@rocket.chat/css-in-js';\nimport type { DOMAttributes, MutableRefObject, ReactNode } from 'react';\nimport { useMemo } from 'react';\nimport type { SliderState } from 'react-stately';\n\nimport { Palette } from '../../Theme';\nimport { useStyle } from '../../hooks/useStyle';\n\ntype SliderTrackProps = {\n trackProps: DOMAttributes<Element>;\n trackRef: MutableRefObject<null>;\n state: SliderState;\n children: ReactNode;\n multiThumb?: boolean;\n};\n\nconst highlight = Palette.stroke['stroke-highlight'];\nconst light = Palette.stroke['stroke-light'];\n\nexport const SliderTrack = ({\n trackProps,\n trackRef,\n state,\n multiThumb,\n children,\n}: SliderTrackProps) => {\n const isHorizontal = useMemo(\n () => state.orientation === 'horizontal',\n [state.orientation],\n );\n const isVertical = useMemo(\n () => state.orientation === 'vertical',\n [state.orientation],\n );\n\n const getThumbPosition = useMemo(\n () => (value: number) => {\n const maxValue = state.getThumbMaxValue(1) || state.getThumbMaxValue(0);\n const minValue = state.getThumbMinValue(0);\n return (value / (maxValue - minValue)) * 100;\n },\n [state],\n );\n\n const getTrackGradient = () => {\n if (isHorizontal) {\n return multiThumb\n ? `to right, ${light} ${getThumbPosition(\n state.values[0],\n )}%, ${highlight} 0, ${highlight} ${getThumbPosition(\n state.values[1],\n )}%, ${light} 0`\n : `to right, ${highlight} ${getThumbPosition(\n state.values[0],\n )}%, ${light} 0%`;\n }\n\n if (isVertical) {\n return multiThumb\n ? `to top, ${light} ${getThumbPosition(\n state.values[0],\n )}%, ${highlight} 0, ${highlight} ${getThumbPosition(\n state.values[1],\n )}%, ${light} 0`\n : `to top, ${highlight} ${getThumbPosition(\n state.values[0],\n )}%, ${light} 0%`;\n }\n\n return undefined;\n };\n\n const track = useStyle(\n css`\n &::before {\n position: absolute;\n display: block;\n content: '';\n\n background: linear-gradient(${getTrackGradient()});\n transform: translateX(-50%);\n border-radius: 1rem;\n }\n ${isHorizontal &&\n css`\n width: 100%;\n height: 30px;\n &::before {\n top: 50%;\n width: 100%;\n height: 4px;\n transform: translateY(-50%);\n }\n `};\n ${isVertical &&\n css`\n width: 30px;\n height: 100%;\n &::before {\n left: 50%;\n width: 4px;\n height: 100%;\n }\n `};\n ${state.isDisabled &&\n css`\n cursor: not-allowed;\n opacity: 0.4;\n `};\n `,\n state,\n );\n\n return (\n <div {...trackProps} ref={trackRef} className={track}>\n {children}\n </div>\n );\n};\n","export * from './Slider';\n","import type { AllHTMLAttributes, ReactNode } from 'react';\n\ntype StatesProps = {\n children?: ReactNode;\n} & AllHTMLAttributes<HTMLDivElement>;\n\nconst States = ({ children, ...props }: StatesProps) => (\n <div {...props} className='rcx-states'>\n {children}\n </div>\n);\n\nexport default States;\n","import type { ComponentProps } from 'react';\n\nimport { Button } from '..';\n\ntype StatesActionProps = ComponentProps<typeof Button>;\n\nconst StatesAction = (props: StatesActionProps) => (\n <Button {...props} primary />\n);\n\nexport default StatesAction;\n","import type { ComponentProps } from 'react';\n\nimport { ButtonGroup } from '../ButtonGroup';\n\ntype StatesActionsProps = ComponentProps<typeof ButtonGroup>;\n\nconst StatesActions = (props: StatesActionsProps) => <ButtonGroup {...props} />;\n\nexport default StatesActions;\n","import type { ComponentProps } from 'react';\n\nimport { Icon } from '../Icon';\n\ntype StatesIconProps = {\n variation?: 'danger' | 'success' | 'warning' | 'primary';\n} & ComponentProps<typeof Icon>;\n\nconst StatesIcon = ({ variation, ...props }: StatesIconProps) => (\n <Icon\n {...props}\n rcx-states__icon\n className={variation && `rcx-states__icon--${variation}`}\n size='x32'\n />\n);\n\nexport default StatesIcon;\n","import type { AllHTMLAttributes, ComponentProps } from 'react';\n\nimport Box from '../Box/Box';\n\ntype StatesLinkProps = ComponentProps<typeof Box> &\n AllHTMLAttributes<HTMLAnchorElement>;\n\nconst StatesLink = (props: StatesLinkProps) => (\n <Box is='a' rcx-states__link {...props} />\n);\n\nexport default StatesLink;\n","import type { AllHTMLAttributes, ReactNode } from 'react';\n\ntype StatesSubtitleProps = {\n children?: ReactNode;\n} & AllHTMLAttributes<HTMLDivElement>;\n\nconst StatesSubtitle = ({ children, ...props }: StatesSubtitleProps) => (\n <div {...props} className='rcx-states__subtitle'>\n {children}\n </div>\n);\n\nexport default StatesSubtitle;\n","import type { ReactNode, AllHTMLAttributes } from 'react';\n\ntype StatesSuggestionProps = {\n children?: ReactNode;\n} & AllHTMLAttributes<HTMLDivElement>;\n\nconst StatesSuggestion = ({ children, ...props }: StatesSuggestionProps) => (\n <div {...props} className='rcx-states__suggestion'>\n {children}\n </div>\n);\n\nexport default StatesSuggestion;\n","import type { AllHTMLAttributes, ReactNode } from 'react';\n\ntype StatesSuggestionListProps = {\n children?: ReactNode;\n} & AllHTMLAttributes<HTMLUListElement>;\n\nconst StatesSuggestionList = ({\n children,\n ...props\n}: StatesSuggestionListProps) => (\n <ul {...props} className='rcx-states__list'>\n {children}\n </ul>\n);\n\nexport default StatesSuggestionList;\n","import type { AllHTMLAttributes, ReactNode } from 'react';\n\ntype StatesSuggestionListItemProps = {\n children?: ReactNode;\n} & AllHTMLAttributes<HTMLLIElement>;\n\nconst StatesSuggestionListItem = ({\n children,\n ...props\n}: StatesSuggestionListItemProps) => (\n <li {...props} className='rcx-states__list-item'>\n <span className='rcx-states__list-item-wrapper'>{children}</span>\n </li>\n);\n\nexport default StatesSuggestionListItem;\n","import type { AllHTMLAttributes, ReactNode } from 'react';\n\ntype StatesSuggestionTextProps = {\n children?: ReactNode;\n} & AllHTMLAttributes<HTMLDivElement>;\n\nconst StatesSuggestionText = ({\n children,\n ...props\n}: StatesSuggestionTextProps) => (\n <div {...props} className='rcx-states__suggestion-text'>\n {children}\n </div>\n);\n\nexport default StatesSuggestionText;\n","import type { AllHTMLAttributes, ReactNode } from 'react';\n\ntype StatesTitleProps = {\n children?: ReactNode;\n} & AllHTMLAttributes<HTMLHeadingElement>;\n\nconst StatesTitle = ({ children, ...props }: StatesTitleProps) => (\n <h3 {...props} className='rcx-states__title'>\n {children}\n </h3>\n);\n\nexport default StatesTitle;\n","import States from './States';\nimport StatesAction from './StatesAction';\nimport StatesActions from './StatesActions';\nimport StatesIcon from './StatesIcon';\nimport StatesLink from './StatesLink';\nimport StatesSubtitle from './StatesSubtitle';\nimport StatesSuggestion from './StatesSuggestion';\nimport StatesSuggestionList from './StatesSuggestionList';\nimport StatesSuggestionListItem from './StatesSuggestionListItem';\nimport StatesSuggestionText from './StatesSuggestionText';\nimport StatesTitle from './StatesTitle';\n\nexport {\n States,\n StatesAction,\n StatesActions,\n StatesIcon,\n StatesLink,\n StatesSubtitle,\n StatesSuggestion,\n StatesSuggestionList,\n StatesSuggestionListItem,\n StatesSuggestionText,\n StatesTitle,\n};\n","import type { AllHTMLAttributes } from 'react';\n\nimport Away from './icons/Away';\nimport Busy from './icons/Busy';\nimport Disabled from './icons/Disabled';\nimport Loading from './icons/Loading';\nimport Offline from './icons/Offline';\nimport Online from './icons/Online';\n\nexport type StatusBulletProps = {\n status?: 'loading' | 'online' | 'busy' | 'away' | 'offline' | 'disabled';\n size?: 'small' | 'large';\n} & Omit<AllHTMLAttributes<SVGElement>, 'size'>;\n\n/**\n * The `StatusBullet` is used to inform the user status.\n */\nconst StatusBullet = ({ status = 'loading', ...props }: StatusBulletProps) => {\n switch (status) {\n case 'online':\n return <Online {...props} />;\n case 'away':\n return <Away {...props} />;\n case 'busy':\n return <Busy {...props} />;\n case 'disabled':\n return <Disabled {...props} />;\n case 'offline':\n return <Offline {...props} />;\n default:\n return <Loading {...props} />;\n }\n};\nexport { StatusBullet };\n","import type { StatusBulletProps } from '../StatusBullet';\n\nconst Away = ({ size, className, ...props }: StatusBulletProps) => (\n <svg\n {...props}\n width='10'\n height='10'\n viewBox='0 0 10 10'\n className={`rcx-status-bullet rcx-status-bullet--away ${className} ${\n size === 'small' ? 'rcx-status-bullet--small' : ''\n }`}\n xmlns='http://www.w3.org/2000/svg'\n >\n <path\n fillRule='evenodd'\n clipRule='evenodd'\n d='M5.13337 9.93325C7.78434 9.93325 9.93338 7.78422 9.93338 5.13325C9.93338 2.48229 7.78434 0.333252 5.13337 0.333252C2.48241 0.333252 0.333374 2.48229 0.333374 5.13325C0.333374 7.78422 2.48241 9.93325 5.13337 9.93325ZM5.80004 2.33325C5.80004 1.96506 5.50156 1.66659 5.13337 1.66659C4.76518 1.66659 4.46671 1.96506 4.46671 2.33325V5.13325V5.45367L4.71691 5.65383L6.71691 7.25383C7.00442 7.48384 7.42395 7.43722 7.65395 7.14972C7.88396 6.86221 7.83735 6.44268 7.54984 6.21267L5.80004 4.81284V2.33325Z'\n />\n </svg>\n);\n\nexport default Away;\n","import type { StatusBulletProps } from '../StatusBullet';\n\nconst Busy = ({ size, className, ...props }: StatusBulletProps) => (\n <svg\n {...props}\n width='10'\n height='10'\n viewBox='0 0 10 10'\n className={`rcx-status-bullet rcx-status-bullet--busy ${className} ${\n size === 'small' ? 'rcx-status-bullet--small' : ''\n }`}\n xmlns='http://www.w3.org/2000/svg'\n >\n <path\n fillRule='evenodd'\n clipRule='evenodd'\n d='M5.13337 9.93325C7.78434 9.93325 9.93338 7.78422 9.93338 5.13325C9.93338 2.48229 7.78434 0.333252 5.13337 0.333252C2.48241 0.333252 0.333374 2.48229 0.333374 5.13325C0.333374 7.78422 2.48241 9.93325 5.13337 9.93325ZM3.53338 4.46655C3.16519 4.46655 2.86671 4.76503 2.86671 5.13322C2.86671 5.50141 3.16519 5.79989 3.53338 5.79989H6.73338C7.10157 5.79989 7.40004 5.50141 7.40004 5.13322C7.40004 4.76503 7.10157 4.46655 6.73338 4.46655H3.53338Z'\n />\n </svg>\n);\n\nexport default Busy;\n","import type { StatusBulletProps } from '../StatusBullet';\n\nconst Disabled = ({ size, className, ...props }: StatusBulletProps) => (\n <svg\n {...props}\n width='24'\n height='24'\n viewBox='0 0 24 24'\n className={`rcx-status-bullet rcx-status-bullet--disabled ${className} ${\n size === 'small' ? 'rcx-status-bullet--small' : ''\n }`}\n xmlns='http://www.w3.org/2000/svg'\n >\n <path\n fillRule='evenodd'\n clipRule='evenodd'\n d='M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24ZM13.3367 5.33333C13.3367 4.59695 12.7398 4 12.0034 4C11.267 4 10.67 4.59695 10.67 5.33333V14.6667C10.67 15.403 11.267 16 12.0034 16C12.7398 16 13.3367 15.403 13.3367 14.6667V5.33333ZM13.3367 18.6667C13.3367 17.9303 12.7398 17.3333 12.0034 17.3333C11.267 17.3333 10.67 17.9303 10.67 18.6667C10.67 19.403 11.267 20 12.0034 20C12.7398 20 13.3367 19.403 13.3367 18.6667Z'\n />\n </svg>\n);\n\nexport default Disabled;\n","import type { StatusBulletProps } from '../StatusBullet';\n\nconst Loading = ({ size, className, ...props }: StatusBulletProps) => (\n <svg\n {...props}\n width='12'\n height='12'\n viewBox='0 0 12 12'\n fill='none'\n xmlns='http://www.w3.org/2000/svg'\n className={`rcx-status-bullet rcx-status-bullet--loading ${className} ${\n size === 'small' ? 'rcx-status-bullet--small' : ''\n }`}\n >\n <circle\n cx='6'\n cy='6'\n r='5'\n className='rcx-status-bullet rcx-status-bullet--loading'\n strokeWidth='2'\n strokeDasharray='2 2'\n />\n </svg>\n);\n\nexport default Loading;\n","import type { StatusBulletProps } from '../StatusBullet';\n\nconst Offline = ({ size, className, ...props }: StatusBulletProps) => (\n <svg\n {...props}\n width='12'\n height='12'\n viewBox='0 0 12 12'\n fill='none'\n xmlns='http://www.w3.org/2000/svg'\n className={`rcx-status-bullet rcx-status-bullet--offline ${className} ${\n size === 'small' ? 'rcx-status-bullet--small' : ''\n }`}\n >\n <circle\n cx='6'\n cy='6'\n r='5'\n className={`rcx-status-bullet rcx-status-bullet--offline`}\n strokeWidth='2'\n />\n </svg>\n);\n\nexport default Offline;\n","import type { StatusBulletProps } from '../StatusBullet';\n\nconst Online = ({ size, className, ...props }: StatusBulletProps) => (\n <svg\n {...props}\n width='24'\n height='24'\n viewBox='0 0 24 24'\n className={`rcx-status-bullet rcx-status-bullet--online ${className} ${\n size === 'small' ? 'rcx-status-bullet--small' : ''\n }`}\n xmlns='http://www.w3.org/2000/svg'\n >\n <path d='M24 12.0001C24 18.6275 18.6274 24.0001 12 24.0001C5.37255 24.0001 -3.05176e-05 18.6275 -3.05176e-05 12.0001C-3.05176e-05 5.37271 5.37255 0.00012207 12 0.00012207C18.6274 0.00012207 24 5.37271 24 12.0001Z' />\n </svg>\n);\n\nexport default Online;\n","export * from './StatusBullet';\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\n\nexport type TableProps = ComponentProps<typeof Box> & {\n striped?: boolean;\n sticky?: boolean;\n fixed?: boolean;\n};\n\nexport const Table = ({\n striped,\n sticky,\n fixed = false,\n ...props\n}: TableProps) => (\n <Box rcx-table__wrapper>\n <Box\n is='table'\n rcx-table\n rcx-table--fixed={fixed}\n rcx-table--sticky={sticky}\n rcx-table--striped={striped}\n {...props}\n />\n </Box>\n);\n","import Box from '../Box';\n\nimport type { TableProps } from './Table';\n\ntype TableBodyProps = TableProps;\n\nexport const TableBody = (props: TableBodyProps) => (\n <Box is='tbody' rcx-table__body {...props} />\n);\n","import { useContext } from 'react';\n\nimport Box from '../Box';\n\nimport type { TableProps } from './Table';\nimport { TableHeadContext } from './TableHead';\n\ntype TableCellProps = TableProps & {\n align?: 'start' | 'center' | 'end' | 'justify' | object;\n clickable?: boolean;\n};\n\nexport const TableCell = ({\n align,\n clickable,\n children,\n ...props\n}: TableCellProps) => {\n const isInsideHead = useContext(TableHeadContext);\n\n const innerElement =\n children ??\n (!isInsideHead ? (\n <Box display='inline-block' is='hr' width='x14' borderWidth={1} />\n ) : undefined);\n\n return (\n <Box\n is={isInsideHead ? 'th' : 'td'}\n rcx-table__cell\n rcx-table__cell--align={align}\n rcx-table__cell--header={isInsideHead}\n rcx-table__cell--clickable={clickable}\n children={innerElement}\n {...props}\n />\n );\n};\n","import Box from '../Box';\n\nimport type { TableProps } from './Table';\n\ntype TableFootProps = TableProps;\n\nexport const TableFoot = (props: TableFootProps) => (\n <Box is='tfoot' rcx-table__foot {...props} />\n);\n","import { createContext } from 'react';\n\nimport Box from '../Box';\n\nimport type { TableProps } from './Table';\n\nexport const TableHeadContext = createContext(false);\n\ntype TableHeadProps = TableProps;\n\nexport const TableHead = (props: TableHeadProps) => (\n <TableHeadContext.Provider value={true}>\n <Box is='thead' rcx-table__head {...props} />\n </TableHeadContext.Provider>\n);\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\n\ntype TableRowProps = Omit<ComponentProps<typeof Box>, 'action'> & {\n action?: boolean;\n hasAction?: boolean;\n};\n\nexport const TableRow = ({ action, selected, ...props }: TableRowProps) => (\n <Box\n is='tr'\n rcx-table__row\n rcx-table__row--selected={selected}\n rcx-table__row--action={action}\n {...props}\n />\n);\n","import type { ComponentProps } from 'react';\n\nimport Box from '../../Box';\nimport Margins from '../../Margins';\n\ntype TableSelectionProps = ComponentProps<typeof Box> & {\n text?: string;\n};\n\nexport const TableSelection = ({\n children,\n text,\n ...props\n}: TableSelectionProps) => (\n <Box\n rcx-table__selection\n display='flex'\n alignItems='center'\n justifyContent='space-between'\n pi={24}\n elevation='2'\n {...props}\n >\n <Box fontScale='p2b' mb={16} flexShrink={1} withTruncatedText>\n {text}\n </Box>\n {children && (\n <Box mi='neg-x8' fontScale='p2m' flexShrink={0}>\n <Margins inline='x4'>{children}</Margins>\n </Box>\n )}\n </Box>\n);\n","import type { ComponentProps } from 'react';\n\nimport { Button } from '../../Button';\n\ntype TableSelectionButtonProps = ComponentProps<typeof Button>;\n\nexport const TableSelectionButton = (props: TableSelectionButtonProps) => (\n <Button small flexShrink={0} {...props} />\n);\n","import type { ComponentProps } from 'react';\n\nimport { ButtonGroup } from '../../ButtonGroup';\n\nexport const TableSelectionButtonGroup = (\n props: ComponentProps<typeof ButtonGroup>,\n) => <ButtonGroup {...props} />;\n","export * from './TableSelection';\nexport * from './TableSelectionButton';\nexport * from './TableSelectionButtonGroup';\n","export * from './Table';\nexport * from './TableBody';\nexport * from './TableCell';\nexport * from './TableFoot';\nexport * from './TableHead';\nexport * from './TableRow';\nexport * from './TableSelection';\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\n\nimport { TabsItem } from './TabsItem';\n\ntype TabsProps = ComponentProps<typeof Box> & { divider?: boolean };\n\n/**\n * Tabs is a component to navigate around the UI using buttons arranged together with the selected tab highlighted.\n */\nexport function Tabs({ children, divider = true, ...props }: TabsProps) {\n return (\n <Box is='div' rcx-tabs rcx-tabs--with-divider={divider} {...props}>\n <Box is='div' rcx-tabs__scroll-box>\n <Box is='div' rcx-tabs__wrapper children={children} role='tablist' />\n </Box>\n </Box>\n );\n}\n\n/** @deprecated use named export TabsItem instead */\nTabs.Item = TabsItem;\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\ntype TabsItemProps = ComponentProps<typeof Box> & {\n selected?: boolean;\n disabled?: boolean;\n};\n\nexport const TabsItem = forwardRef(function TabsItem(\n { selected, disabled, ...props }: TabsItemProps,\n ref: Ref<HTMLButtonElement>,\n) {\n return (\n <Box\n is='button'\n rcx-tabs__item\n rcx-tabs__item--selected={selected}\n rcx-tabs__item--disabled={disabled}\n rcx-tabs__item--selected--disabled={selected && disabled}\n aria-selected={selected ? 'true' : 'false'}\n ref={ref}\n role='tab'\n {...props}\n />\n );\n});\n","export * from './Tabs';\nexport * from './TabsItem';\n","import type { AllHTMLAttributes, ReactNode } from 'react';\n\nimport { prependClassName } from '../../helpers/prependClassName';\nimport Box from '../Box/Box';\n\ntype TagProps = {\n medium?: boolean;\n large?: boolean;\n variant?:\n | 'primary'\n | 'secondary'\n | 'danger'\n | 'warning'\n | 'secondary-danger'\n | 'featured';\n disabled?: boolean;\n icon?: ReactNode;\n} & Omit<AllHTMLAttributes<HTMLSpanElement | HTMLAnchorElement>, 'is'>;\n\n/**\n * Used for mentions\n */\nexport const Tag = ({\n large,\n medium,\n className,\n disabled,\n onClick,\n variant,\n children,\n icon,\n href,\n ...props\n}: TagProps) => {\n const modifiers = [\n variant,\n medium && 'medium',\n large && 'large',\n disabled && 'disabled',\n onClick && 'clickable',\n href && 'clickable',\n ]\n .filter(Boolean)\n .map((modifier) => `rcx-tag--${modifier}`)\n .join(' ');\n\n return (\n <Box\n is={href ? 'a' : 'span'}\n className={prependClassName(className as string, `rcx-tag ${modifiers}`)}\n onClick={onClick}\n href={href}\n {...props}\n >\n {icon}\n <span className='rcx-tag__inner'>{children}</span>\n </Box>\n );\n};\n","export * from './Tag';\n","import type { ComponentProps, ReactNode, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { InputBox } from '../InputBox';\n\ntype TelephoneInputProps = Omit<ComponentProps<typeof InputBox>, 'type'> & {\n addon?: ReactNode;\n input?: ReactNode;\n error?: string;\n};\n\n/**\n * An input for telephone numbers.\n */\nexport const TelephoneInput = forwardRef(function TelephoneInput(\n props: TelephoneInputProps,\n ref: Ref<HTMLInputElement>,\n) {\n return <InputBox type='tel' ref={ref} {...props} />;\n});\n","export * from './TelephoneInput';\n","import type { ComponentProps, ReactNode, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { InputBox } from '../InputBox';\n\ntype TextAreaInputProps = Omit<ComponentProps<typeof InputBox>, 'type'> & {\n addon?: ReactNode;\n error?: string;\n};\n\n/**\n * An input for multi-line plain-text editing.\n */\nexport const TextAreaInput = forwardRef(function TextAreaInput(\n props: TextAreaInputProps,\n ref: Ref<HTMLTextAreaElement>,\n) {\n return <InputBox type='textarea' ref={ref} {...props} />;\n});\n","export * from './TextAreaInput';\n","import type { ComponentProps, ReactNode, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { InputBox } from '../InputBox';\n\nexport type TextInputProps = Omit<ComponentProps<typeof InputBox>, 'type'> & {\n addon?: ReactNode;\n error?: string;\n};\n\n/**\n * An input for any kind of single-line text.\n */\nexport const TextInput = forwardRef(function TextInput(\n props: TextInputProps,\n ref: Ref<HTMLInputElement>,\n) {\n return <InputBox type='text' ref={ref} {...props} />;\n});\n","export * from './TextInput';\n","import { css } from '@rocket.chat/css-in-js';\nimport type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\ntype ThrobberProps = Omit<ComponentProps<typeof Box>, 'disabled'> & {\n circleCount?: number;\n disabled?: boolean;\n inheritColor?: boolean;\n};\n\ntype CircleProps = {\n circleCount: number;\n iteration: number;\n inheritColor?: boolean;\n disabled?: boolean;\n} & Pick<ComponentProps<typeof Box>, 'size'>;\n\nfunction Circle({\n disabled,\n circleCount,\n iteration,\n inheritColor,\n ...props\n}: CircleProps) {\n return (\n <Box\n is='span'\n className={css`\n animation-duration: ${circleCount * 0.466}s;\n animation-delay: ${iteration * 0.16}s;\n `}\n rcx-throbber__circle\n rcx-throbber__circle--disabled={disabled}\n rcx-throbber__circle--inherit-color={inheritColor}\n {...props}\n />\n );\n}\n\n/**\n * Indicates content that has not loaded yet.\n */\nexport const Throbber = forwardRef(function Throbber(\n {\n disabled,\n size = 'x16',\n circleCount = 3,\n inheritColor,\n ...props\n }: ThrobberProps,\n ref: Ref<HTMLElement>,\n) {\n return (\n <Box rcx-throbber ref={ref} {...props}>\n {Array.from({ length: circleCount || 3 }, (_, iteration) => (\n <Circle\n key={iteration}\n circleCount={circleCount}\n iteration={iteration}\n disabled={!!disabled}\n size={size}\n inheritColor={!!inheritColor}\n />\n ))}\n </Box>\n );\n});\n","export * from './Throbber';\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\ntype TileProps = ComponentProps<typeof Box>;\n\nconst Tile = forwardRef(function Tile(\n { elevation = '1', padding = 16, ...props }: TileProps,\n ref: Ref<HTMLElement>,\n) {\n return (\n <Box\n ref={ref}\n rcx-tile\n rcx-tile--elevation={elevation}\n padding={padding}\n {...props}\n />\n );\n});\n\nexport default Tile;\n","export { default } from './Tile';\n","import { css, keyframes } from '@rocket.chat/css-in-js';\nimport { type ReactNode, type AllHTMLAttributes, useId } from 'react';\n\nimport Box from '../Box';\nimport { IconButton } from '../Button';\nimport { Icon } from '../Icon';\n\nexport type ToastBarProps = {\n variant?: 'info' | 'success' | 'error';\n className?: string;\n children?: ReactNode;\n time?: number;\n isPaused?: boolean;\n id?: string;\n onClose?: (id: string) => void;\n buttonLabel?: string;\n} & Omit<AllHTMLAttributes<HTMLElement>, 'is'>;\n\n/**\n * Shows alerts in a toast component.\n */\nexport function ToastBar({\n children,\n className = '',\n variant = 'info',\n time = 5,\n isPaused,\n id,\n onClose,\n buttonLabel = 'Dismiss alert',\n ...props\n}: ToastBarProps) {\n const iconName =\n (variant === 'success' && 'circle-check') ||\n (variant === 'error' && 'ban') ||\n 'info';\n\n const sideOpen = keyframes`\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n `;\n\n const progressBar = keyframes`\n from {\n width: 0%;\n }\n\n to {\n width: 100%;\n }\n `;\n\n const toastBarAnimation = css`\n animation: ${sideOpen} 0.5s;\n `;\n\n const progressBarAnimation = css`\n &::after {\n width: 0%;\n animation: ${progressBar} ${time}s;\n animation-fill-mode: forwards;\n animation-play-state: ${isPaused ? 'paused' : 'running'};\n }\n `;\n\n const uniqueId = useId();\n const toastId = id || uniqueId;\n\n return (\n <Box\n className={[\n `rcx-toastbar rcx-toastbar--${variant} ${className}`,\n toastBarAnimation,\n ]}\n elevation='2nb'\n borderRadius='x4'\n {...props}\n >\n <div className='rcx-toastbar_inner'>\n <Icon\n className={`rcx-toastbar_icon--${variant}`}\n size='x20'\n name={iconName}\n />\n <div role='alert' className='rcx-toastbar_content'>\n {children}\n </div>\n {onClose && (\n <div className='rcx-toastbar-close'>\n <IconButton\n tiny\n aria-label={buttonLabel}\n onClick={() => onClose(toastId)}\n icon='cross'\n />\n </div>\n )}\n </div>\n <Box className={[progressBarAnimation, 'rcx-toastbar_progressbar']} />\n </Box>\n );\n}\n","export * from './ToastBar';\n","import type { AllHTMLAttributes, ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\nexport const ToggleSwitch = forwardRef(function ToggleSwitch(\n {\n className,\n ...props\n }: ComponentProps<typeof Box> & AllHTMLAttributes<HTMLInputElement>,\n ref: Ref<HTMLInputElement>,\n) {\n return (\n <Box is='label' className={className} rcx-toggle-switch>\n <Box\n is='input'\n ref={ref}\n rcx-toggle-switch__input\n type='checkbox'\n {...props}\n />\n <Box is='i' rcx-toggle-switch__fake aria-hidden='true' />\n </Box>\n );\n});\n","export * from './ToggleSwitch';\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\nconst parsePlacement = (placement: string | null | undefined) => {\n const [direction, position] = placement\n ? placement.split('-')\n : [false, false];\n\n if (direction === 'right' || direction === 'left') {\n return [direction, false];\n }\n\n return [direction, position];\n};\n\ntype TooltipProps = ComponentProps<typeof Box> & {\n variation?: 'dark' | 'light';\n placement?:\n | 'top-start'\n | 'top-middle'\n | 'top-end'\n | 'bottom-start'\n | 'bottom-middle'\n | 'bottom-end'\n | 'top'\n | 'left'\n | 'bottom'\n | 'right'\n | null;\n};\n\nconst Tooltip = forwardRef(function Tooltip(\n { variation = 'dark', placement, ...props }: TooltipProps,\n ref: Ref<HTMLElement>,\n) {\n const [direction, position] = parsePlacement(placement);\n\n return (\n <Box\n is='div'\n ref={ref}\n rcx-tooltip\n rcx-tooltip--dir={direction}\n rcx-tooltip--pos={position}\n rcx-tooltip--light={variation === 'light'}\n rcx-tooltip--dark={variation === 'dark'}\n {...props}\n />\n );\n});\n\nexport default Tooltip;\n","export { default } from './Tooltip';\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { InputBox } from '../InputBox';\n\ntype UrlInputProps = Omit<ComponentProps<typeof InputBox>, 'type'>;\n\nconst UrlInput = forwardRef(function UrlInput(\n props: UrlInputProps,\n ref: Ref<HTMLElement>,\n) {\n return <InputBox type='url' ref={ref} {...props} />;\n});\n\nexport default UrlInput;\n","export { default } from './UrlInput';\n","export * from './Accordion';\nexport { default as AnimatedVisibility } from './AnimatedVisibility';\nexport * from './AudioPlayer';\nexport * from './AutoComplete';\nexport * from './Avatar';\nexport * from './Badge';\nexport { default as Banner } from './Banner';\nexport { default as Box } from './Box';\nexport { useArrayLikeClassNameProp } from '../hooks/useArrayLikeClassNameProp';\nexport { default as Button, ActionButton, IconButton } from './Button';\nexport * from './Bubble';\nexport * from './ButtonGroup';\nexport * from './Callout';\nexport * from './Card';\nexport * from './CardGroup';\nexport * from './CardGrid';\nexport * from './CheckBox';\nexport * from './Chevron';\nexport { default as CodeSnippet } from './CodeSnippet';\nexport * from './Contextualbar';\nexport * from './ContextualbarV2';\nexport { default as Chip } from './Chip';\nexport * from './Divider';\nexport * from './Dropdown';\nexport * from './EmailInput';\nexport { default as Field } from './Field';\nexport * from './Field';\nexport * from './FieldGroup';\nexport * from './FramedIcon';\nexport { default as Flex } from './Flex';\nexport * from './Grid';\nexport * from './Icon';\nexport * from './InputBox';\nexport * from './Label';\nexport { default as Margins } from './Margins';\nexport * from './Menu';\nexport { default as Message } from './Message';\nexport * from './Message';\nexport { default as Modal } from './Modal';\nexport * from './Modal';\nexport * from './MultiSelect';\nexport * from './NavBar';\nexport * from './NumberInput';\nexport { default as Options } from './Options';\nexport * from './Options';\nexport { default as Option } from './Option';\nexport * from './Option';\nexport * from './Pagination';\nexport * from './PaletteStyleTag';\nexport { default as PasswordInput } from './PasswordInput';\nexport * from './StatusBullet';\nexport { default as Position } from './Position';\nexport { default as PositionAnimated } from './PositionAnimated';\nexport * from './ProgressBar';\nexport * from './RadioButton';\nexport { default as Scrollable } from './Scrollable';\nexport * from './SearchInput';\nexport * from './Select';\nexport * from './Slider';\nexport * from './PaginatedSelect';\nexport * from './Popover';\nexport * from './SelectInput';\nexport { default as Sidebar } from './Sidebar';\nexport * from './Sidebar';\nexport * from './Sidepanel';\nexport * from './SidebarV2';\nexport * from './Skeleton';\nexport * from './States';\nexport * from './Table';\nexport * from './Tabs';\nexport * from './Tag';\nexport * from './TelephoneInput';\nexport * from './TextAreaInput';\nexport * from './TextInput';\nexport * from './Throbber';\nexport { default as Tile } from './Tile';\nexport * from './ToastBar';\nexport * from './ToggleSwitch';\nexport { default as Tooltip } from './Tooltip';\nexport { default as UrlInput } from './UrlInput';\n","import tokenColors from '@rocket.chat/fuselage-tokens/colors.json';\nimport invariant from 'invariant';\n\nconst isPaletteColorRef = (ref: unknown): ref is keyof typeof tokenColors =>\n typeof ref === 'string' && ref in tokenColors;\n\nconst mapTypeToPrefix = {\n neutral: 'n',\n blue: 'b',\n green: 'g',\n yellow: 'y',\n red: 'r',\n orange: 'o',\n purple: 'p',\n} as const;\n\nexport const getPaletteColor = (\n type: keyof typeof mapTypeToPrefix,\n grade: 100 | 200 | 250 | 300 | 400 | 450 | 500 | 600 | 700 | 800 | 900 | 1000,\n alpha?: number,\n): [customPropertyName: string, value: string] => {\n const ref = `${mapTypeToPrefix[type]}${grade}`;\n invariant(isPaletteColorRef(ref), 'invalid color reference');\n\n const baseColor = tokenColors[ref];\n\n const matches = /^#([0-9A-Fa-f]{2})([0-9A-Fa-f]{2})([0-9A-Fa-f]{2})$/.exec(\n baseColor,\n );\n\n invariant(!!matches, 'invalid color token format');\n\n if (alpha !== undefined) {\n const [, r, g, b] = matches;\n return [\n `--rcx-color-${type}-${grade}-${(alpha * 100).toFixed(0)}`,\n `rgba(${parseInt(r, 16)}, ${parseInt(g, 16)}, ${parseInt(b, 16)}, ${\n alpha * 100\n }%)`,\n ];\n }\n\n return [`--rcx-color-${type}-${grade}`, baseColor];\n};\n","import type { Context, ReactElement } from 'react';\nimport { useContext } from 'react';\n\ntype WithErrorWrapperProps<T> = {\n context: Context<T>;\n children: ReactElement;\n componentName: string;\n parentComponent: 'Field';\n};\n\nfunction WithErrorWrapper<T>({\n context,\n componentName,\n children,\n parentComponent,\n}: WithErrorWrapperProps<T>) {\n const isInsideParent = useContext(context);\n if (!isInsideParent) {\n throw new Error(\n `${componentName} should be used as children of ${parentComponent} Component`,\n );\n }\n\n return children;\n}\n\nexport default WithErrorWrapper;\n","type R<T> = T extends void ? string : T extends string ? string : string[];\n\nexport const appendClassName = <T extends string | string[] | undefined>(\n currentClassName: T,\n newClassName: string,\n): R<T> => {\n if (currentClassName === undefined || currentClassName === '') {\n return newClassName as R<T>;\n }\n\n if (Array.isArray(currentClassName)) {\n return [...currentClassName, newClassName] as R<T>;\n }\n\n return `${currentClassName} ${newClassName}` as R<T>;\n};\n","import { Falsy } from '../types/Falsy';\n\nimport { exhaustiveCheck } from './exhaustiveCheck';\n\nconst withPrefix = (prefix?: string) => (modifier: string) =>\n prefix ? `${prefix}--${modifier}` : modifier;\n\nexport const composeClassNames =\n (prefix?: string) =>\n (...args: unknown[]) => {\n const addPrefix = withPrefix(prefix);\n\n const classNames = args\n .map((arg) => {\n if (typeof arg === 'string') {\n return arg;\n }\n\n if (typeof arg === 'object' && Array.isArray(arg)) {\n return arg.filter(Boolean).map(addPrefix).join(' ');\n }\n\n if (typeof arg === 'object' && arg !== null) {\n return Object.entries(arg)\n .map(([key, value]) => {\n if (typeof value === 'boolean') {\n if (value) {\n return addPrefix(key);\n }\n\n return null;\n }\n\n if (typeof value === 'string' || typeof value === 'number') {\n return addPrefix(`${key}-${value}`);\n }\n\n return null;\n })\n .filter(Boolean)\n .join(' ');\n }\n\n return null;\n })\n .concat()\n .filter(Boolean)\n .join(' ');\n\n return [prefix, classNames].filter(Boolean).join(' ');\n };\n\ntype CxArg =\n | Falsy\n | string\n | { [className: string]: boolean | string | number };\n\n/**\n * Composes class names into a single string based on flags.\n *\n * Any falsy value passed as an argument will be ignored.\n *\n * If a string is passed, it will be used as a class name.\n *\n * If a dictionary object is passed, its keys will be used as class names and its values will be used as modifiers --\n * unless the value is a boolean, in which case the key will be used as a class name if the value is `true`.\n *\n * @example\n * ```ts\n * cx('a', false, 'b', null, { c: true, d: false, e: 'f', f: 1 }); // 'a b c e-f f-1'\n * ```\n *\n * @param args a sequence of falsy values, strings and dictionary objects containing the class names\n * @returns a space-separated string of class names\n */\nexport const cx = (...args: CxArg[]): string =>\n args\n .flatMap((arg) => {\n if (!arg) {\n return [];\n }\n\n if (typeof arg === 'string') {\n return arg;\n }\n\n if (typeof arg === 'object') {\n return Object.entries(arg).flatMap(([className, value]) => {\n if (typeof value === 'boolean') {\n return value ? className : [];\n }\n\n return `${className}-${value}`;\n });\n }\n\n return exhaustiveCheck(arg);\n })\n .join(' ');\n\n/**\n * Composes class name modifiers under a class name into a single class names' string based on flags.\n *\n * This function returns a function similar to `cx`, with the difference it handles the arguments as class name\n * modifiers (based on BEM CSS conventions). However, it's recommended to use `cxx` as a curried function.\n *\n * @example\n * ```ts\n * cxx('z')('a', false, 'b', null, { c: true, d: false, e: 'f', f: 1 }); // 'z z--a z--b z--c z--e-f z--f-1'\n * ```\n * @param className the class name\n * @param args a sequence of falsy values, strings and dictionary objects containing the modifiers\n * @returns a space-separated string of class names\n */\nexport const cxx =\n (className: string) =>\n (...args: CxArg[]): string => {\n const classNames = args.flatMap((arg) => {\n if (!arg) {\n return [];\n }\n\n if (typeof arg === 'string') {\n return `${className}--${arg}`;\n }\n\n if (typeof arg === 'object') {\n return Object.entries(arg).flatMap(([modifier, value]) => {\n if (typeof value === 'boolean') {\n return value ? `${className}--${modifier}` : [];\n }\n\n return `${className}--${modifier}-${value}`;\n });\n }\n\n return exhaustiveCheck(arg);\n });\n\n classNames.unshift(className);\n\n return classNames.join(' ');\n };\n","/**\n * Utility function to check exhaustiveness of a switch statement or if-else statements.\n *\n * In TypeScript, variables going through a sequence of conditionals, like cases in switch statements or if-else\n * statements, the variable type is incrementally narrowed as the conditionals are evaluated until it reaches the\n * `never` type, meaning all possible cases have been covered. This function is used to check, at compilation time, that\n * all possible cases have been covered (i.e. if the conditional checks were exhaustive) and should only be called in\n * unreachable blocks of code.\n *\n * @example\n * ```ts\n * declare const value: 'foo' | 'bar';\n * switch (value) {\n * case 'foo':\n * // ...\n * break;\n * case 'bar':\n * // ...\n * break;\n * default: // should be unreachable\n * exhaustiveCheck(value); // `value` type should be `never`, otherwise the compilation fails\n * }\n * ```\n *\n * @param _ the value which type should be `never`\n * @throws {Error} will always throw an error if it's reached\n */\nexport const exhaustiveCheck = (_: never): never => {\n throw new Error('Exhaustive check failed');\n};\n","export { default as flattenChildren } from 'react-keyed-flatten-children';\n","export const fromCamelToKebab = (string: string) =>\n string.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, '$1-$2').toLowerCase();\n","import type { ForwardRefExoticComponent } from 'react';\n\nexport const isForwardRefType = <P = any>(\n type: any,\n): type is ForwardRefExoticComponent<P> =>\n type.$$typeof === Symbol.for('react.forward_ref');\n","import type { ReactNode, Attributes } from 'react';\nimport { cloneElement, isValidElement } from 'react';\n\nimport { flattenChildren } from './flattenChildren';\nimport { shallowEqual } from './shallowEqual';\n\nexport const patchChildren = <TProps>(\n children: ReactNode,\n patch: (props: TProps) => TProps & Attributes,\n) => {\n let dirty = false;\n\n const newChildren = flattenChildren(children).map((child) => {\n if (!isValidElement<TProps>(child)) {\n return child;\n }\n\n const mergedProps = patch(child.props);\n\n if (shallowEqual(child.props, mergedProps)) {\n return child;\n }\n\n dirty = true;\n return cloneElement(child, mergedProps);\n });\n\n if (dirty) {\n return newChildren;\n }\n\n return children;\n};\n","const isStringArray = (\n value: string | string[] | undefined,\n): value is string[] => Array.isArray(value);\n\nexport const prependClassName: {\n (currentClassName: string[] | undefined, newClassName: string): string[];\n (currentClassName: string | undefined, newClassName: string): string;\n} = (\n currentClassName: string | string[] | undefined,\n newClassName: string,\n): any => {\n if (isStringArray(currentClassName)) {\n return [newClassName, ...currentClassName];\n }\n\n if (currentClassName) {\n return `${newClassName} ${currentClassName}`;\n }\n\n return newClassName;\n};\n","import type { SyntheticEvent } from 'react';\n\nexport const prevent = (event: SyntheticEvent) => {\n event.preventDefault();\n event.stopPropagation();\n event.nativeEvent.stopImmediatePropagation();\n};\n","const isObject = (\n value: unknown,\n): value is Record<string | number | symbol, unknown> =>\n typeof value === 'object' && value !== null;\n\nconst compareObjects = (\n a: Record<string | number | symbol, unknown>,\n b: Record<string | number | symbol, unknown>,\n) => {\n const keysA = Object.keys(a);\n const keysB = Object.keys(b);\n\n if (keysA.length !== keysB.length) {\n return false;\n }\n\n return !keysA.some((key) => !b.hasOwnProperty(key) || a[key] !== b[key]);\n};\n\nexport const shallowEqual = (a: unknown, b: unknown) => {\n if (a === b) {\n return true;\n }\n\n if (Number.isNaN(a) && Number.isNaN(b)) {\n return true;\n }\n\n if (!isObject(a) || !isObject(b)) {\n return false;\n }\n\n return compareObjects(a, b);\n};\n","import { cssSupports } from '@rocket.chat/css-supports';\n\nconst cssSupportsVariable = cssSupports('(--foo: bar)');\n\ntype cssToValueType = <T extends string | { toString: () => string }>(\n label: string,\n value: T,\n) => string;\nexport const toCSSValue: cssToValueType = cssSupportsVariable\n ? (((label, value) => `var(${label}, ${value})`) as cssToValueType)\n : (((_label, value) => value) as cssToValueType);\n\nexport const toCSSFontValue = ((label: string, value: string) =>\n toCSSValue(`--rcx-font-family-${label}`, value)) as cssToValueType;\nexport const toCSSColorValue = ((label: string, value: string) =>\n toCSSValue(`--rcx-color-${label}`, value)) as cssToValueType;\n","import type { cssFn } from '@rocket.chat/css-in-js';\nimport { css } from '@rocket.chat/css-in-js';\n\nimport { appendClassName } from '../helpers/appendClassName';\nimport type { Falsy } from '../types/Falsy';\n\nimport { useStyle } from './useStyle';\n\nexport const useArrayLikeClassNameProp = <\n T extends {\n className?: string | cssFn | (string | cssFn | Falsy)[];\n },\n>(\n props: T,\n): T & { className: string } => {\n const classNames = props.className\n ? ([] as (string | cssFn | Falsy)[]).concat(props.className)\n : [];\n\n const cssFns = classNames.filter(\n (value): value is cssFn => typeof value === 'function',\n );\n const stylesClassName = useStyle(\n css`\n ${cssFns}\n `,\n props,\n );\n\n const strings = classNames.filter(\n (value): value is string => typeof value === 'string',\n );\n\n const className = strings.reduce(\n (className, string) => appendClassName(className, string),\n stylesClassName || '',\n );\n\n return Object.assign(props, { className });\n};\n","import type { AllHTMLAttributes } from 'react';\n\nimport { prependClassName } from '../helpers/prependClassName';\n\nexport const useBoxOnlyProps = <\n T extends {\n className: string;\n },\n>(\n props: T & {\n animated?: boolean;\n withRichContent?: boolean | 'inlineWithoutBreaks';\n htmlSize?: AllHTMLAttributes<HTMLElement>['size'];\n size?: AllHTMLAttributes<HTMLElement>['size'];\n focusable?: boolean;\n },\n): T => {\n Object.entries(props).forEach(([key, value]) => {\n if (key.slice(0, 4) === 'rcx-') {\n try {\n if (!value) {\n return;\n }\n\n const newClassName = value === true ? key : `${key}-${value}`;\n props.className = prependClassName(props.className, newClassName);\n } finally {\n delete (props as Record<string, unknown>)[key];\n }\n }\n });\n\n if (props.animated) {\n props.className = prependClassName(props.className, 'rcx-box--animated');\n delete props.animated;\n }\n\n if (props.withRichContent) {\n if (props.withRichContent === 'inlineWithoutBreaks') {\n props.className = prependClassName(\n props.className,\n 'rcx-box--with-inline-elements',\n );\n } else {\n props.className = prependClassName(\n props.className,\n 'rcx-box--with-inline-elements',\n );\n\n props.className = prependClassName(\n props.className,\n 'rcx-box--with-block-elements',\n );\n }\n }\n\n if (props.htmlSize) {\n props.size = props.htmlSize;\n delete props.htmlSize;\n }\n\n if (props.focusable) {\n props.className = prependClassName(props.className, 'rcx-box--focusable');\n delete props.focusable;\n }\n\n delete props.withRichContent;\n\n props.className = prependClassName(props.className, 'rcx-box rcx-box--full');\n\n return props;\n};\n","import type { cssFn } from '@rocket.chat/css-in-js';\nimport {\n createClassName,\n escapeName,\n transpile,\n attachRules,\n} from '@rocket.chat/css-in-js';\nimport { useDebugValue, useInsertionEffect, useMemo } from 'react';\n\nexport const useStyle = (cssFn: cssFn | undefined, arg: unknown) => {\n const content = useMemo(() => (cssFn ? cssFn(arg) : undefined), [arg, cssFn]);\n\n const className = useMemo(() => {\n if (!content) {\n return;\n }\n\n return content ? createClassName(content) : undefined;\n }, [content]);\n\n useDebugValue(className);\n\n useInsertionEffect(() => {\n if (!content || !className) {\n return;\n }\n\n const escapedClassName = escapeName(className);\n const transpiledContent = transpile(`.${escapedClassName}`, content);\n const detach = attachRules(transpiledContent);\n\n return () => {\n setTimeout(detach, 1000);\n };\n }, [className, content]);\n\n return className;\n};\n","// extracted by mini-css-extract-plugin\nexport {};","import './index.scss';\n\nexport * from './components';\nexport * from './styleTokens';\n\nexport { Palette, __setThrowErrorOnInvalidToken__ } from './Theme';\n","import tokenTypography from '@rocket.chat/fuselage-tokens/typography.json';\nimport { memoize } from '@rocket.chat/memo';\nimport invariant from 'invariant';\n\nimport {\n isStatusBackgroundColor,\n isStatusColor,\n isStrokeColor,\n isSurfaceColor,\n isTextIconColor,\n neutral,\n statusBackgroundColors,\n strokeColors,\n surfaceColors,\n textIconColors,\n statusColors,\n throwErrorOnInvalidToken,\n isBadgeColor,\n badgeBackgroundColors,\n} from './Theme';\nimport { getPaletteColor } from './getPaletteColor';\nimport {\n toCSSColorValue,\n toCSSFontValue,\n toCSSValue,\n} from './helpers/toCSSValue';\n\nconst measure = (\n computeSpecialValue?: (value: string) => null | undefined | string,\n) =>\n memoize((value) => {\n if (typeof value === 'number') {\n return `${value}px`;\n }\n\n if (typeof value !== 'string') {\n return undefined;\n }\n\n const xRegExp = /^(neg-|-)?x(\\d+)$/;\n const matches = xRegExp.exec(value);\n if (matches) {\n const [, negativeMark, measureInPixelsAsString] = matches;\n const measureInPixels =\n (negativeMark ? -1 : 1) * parseInt(measureInPixelsAsString, 10);\n return `${measureInPixels / 16}rem`;\n }\n\n if (computeSpecialValue) {\n return computeSpecialValue(value) || value;\n }\n\n return value;\n });\n\nexport const borderWidth = measure((value: unknown) => {\n if (value === 'none') {\n return '0px';\n }\n if (value === 'default') {\n return borderWidth('x1');\n }\n\n return undefined;\n});\n\nexport const borderRadius = measure((value: unknown) => {\n if (value === 'none') {\n return '0px';\n }\n\n if (value === 'full') {\n return '9999px';\n }\n\n return undefined;\n});\n\nconst mapTypeToPrefix = {\n neutral: 'n',\n blue: 'b',\n green: 'g',\n yellow: 'y',\n red: 'r',\n orange: 'o',\n purple: 'p',\n} as const;\n\nconst isPaletteColorType = (\n type: unknown,\n): type is keyof typeof mapTypeToPrefix =>\n typeof type === 'string' && type in mapTypeToPrefix;\n\nconst isPaletteColorGrade = (\n grade: unknown,\n): grade is 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 =>\n typeof grade === 'number' &&\n grade % 100 === 0 &&\n grade / 100 >= 1 &&\n grade / 100 <= 9;\n\nconst isPaletteColorAlpha = (alpha: unknown): alpha is number | undefined =>\n alpha === undefined ||\n (typeof alpha === 'number' && alpha >= 0 && alpha <= 1);\n\nconst paletteColorRegex =\n /^(neutral|blue|green|yellow|red|orange|purple)-(\\d+)(-(\\d+))?$/;\n\nexport const strokeColor = memoize((value) => {\n const colorName = `stroke-${value}`;\n if (isStrokeColor(colorName)) {\n return strokeColors[colorName].toString();\n }\n return color(value);\n});\n\nexport const backgroundColor = memoize((value) => {\n const colorName = `surface-${value}`;\n\n if (isSurfaceColor(value)) {\n return surfaceColors[value].toString();\n }\n\n if (isSurfaceColor(colorName)) {\n return surfaceColors[colorName].toString();\n }\n\n if (isStatusBackgroundColor(value)) {\n return statusBackgroundColors[value].toString();\n }\n\n if (isStatusColor(value)) {\n if (\n process.env.NODE_ENV !== 'production' &&\n process.env.NODE_ENV !== 'test'\n ) {\n console.warn(`${value} shouldn't be used as a backgroundColor.`);\n }\n return statusColors[value].toString();\n }\n\n if (isBadgeColor(value)) {\n return badgeBackgroundColors[value].toString();\n }\n\n return color(value);\n});\n\nexport const fontColor = memoize((value) => {\n const colorName = `font-${value}`;\n if (isTextIconColor(colorName)) {\n return textIconColors[colorName].toString();\n }\n if (isStatusColor(value)) {\n return statusColors[value].toString();\n }\n return color(value);\n});\n\n/** @deprecated **/\nexport const color = memoize((value) => {\n if (typeof value !== 'string') {\n return;\n }\n if (\n process.env.NODE_ENV !== 'production' &&\n process.env.NODE_ENV !== 'test'\n ) {\n console.warn(`invalid color: ${value}`, new Error().stack);\n }\n if (throwErrorOnInvalidToken) {\n throw new Error(\n `The color token \"${value}\" is deprecated. Please use the new color tokens instead.`,\n );\n }\n\n if (isSurfaceColor(value)) {\n return surfaceColors[value].toString();\n }\n\n if (isStatusBackgroundColor(value)) {\n return statusBackgroundColors[value].toString();\n }\n\n if (isStrokeColor(value)) {\n return strokeColors[value].toString();\n }\n if (isTextIconColor(value)) {\n return textIconColors[value].toString();\n }\n\n if (value === 'surface' || value === 'surface-light') {\n return surfaceColors['surface-light'].toString();\n }\n\n if (value === 'surface-tint') {\n return toCSSColorValue(value, neutral[100]);\n }\n\n if (value === 'secondary-info') {\n return toCSSColorValue(value, neutral[700]);\n }\n\n if (value === 'surface-neutral') {\n return toCSSColorValue(value, neutral[400]);\n }\n\n const paletteMatches = paletteColorRegex.exec(String(value));\n if (\n typeof paletteMatches?.length === 'number' &&\n paletteMatches?.length >= 5\n ) {\n const [, type, gradeString, , alphaString] = paletteMatches;\n const grade = parseInt(gradeString, 10);\n const alpha =\n alphaString !== undefined ? parseInt(alphaString, 10) / 100 : undefined;\n\n invariant(isPaletteColorType(type), 'invalid color type');\n invariant(isPaletteColorGrade(grade), 'invalid color grade');\n invariant(isPaletteColorAlpha(alpha), 'invalid color alpha');\n\n const [customProperty, color] = getPaletteColor(type, grade, alpha);\n\n if (customProperty) {\n return toCSSValue(customProperty, color);\n }\n\n return color;\n }\n return value;\n});\n\nexport const size = measure((value: unknown) => {\n if (value === 'none') {\n return '0px';\n }\n\n if (value === 'full') {\n return '100%';\n }\n\n if (value === 'sw') {\n return '100vw';\n }\n\n if (value === 'sh') {\n return '100vh';\n }\n\n return undefined;\n});\n\nexport const inset = measure((value: unknown) => {\n if (value === 'none') {\n return '0px';\n }\n\n return undefined;\n});\n\nexport const margin = measure((value: unknown) => {\n if (value === 'none') {\n return '0px';\n }\n\n return undefined;\n});\n\nexport const padding = measure((value: unknown) => {\n if (value === 'none') {\n return '0px';\n }\n\n return undefined;\n});\n\ntype FontFamily = keyof typeof tokenTypography.fontFamilies;\n\nconst isFontFamily = (value: unknown): value is FontFamily =>\n typeof value === 'string' && value in tokenTypography.fontFamilies;\n\nexport const fontFamily = memoize((value: unknown): string | undefined => {\n if (!isFontFamily(value)) {\n return undefined;\n }\n\n const fontFamily = tokenTypography.fontFamilies[value]\n .map((fontFace) => (fontFace.includes(' ') ? `'${fontFace}'` : fontFace))\n .join(', ');\n\n return toCSSFontValue(value, fontFamily);\n});\n\ntype FontScale = keyof typeof tokenTypography.fontScales;\n\nconst isFontScale = (value: unknown): value is FontScale =>\n typeof value === 'string' && value in tokenTypography.fontScales;\n\nexport const fontScale = memoize(\n (\n value: unknown,\n ):\n | {\n fontSize: string;\n fontWeight: number;\n lineHeight: string;\n letterSpacing: string;\n }\n | undefined => {\n if (!isFontScale(value)) {\n return undefined;\n }\n\n const { fontSize, fontWeight, lineHeight, letterSpacing } =\n tokenTypography.fontScales[value];\n\n return {\n fontSize: `${fontSize / 16}rem`,\n fontWeight,\n lineHeight: `${lineHeight / 16}rem`,\n letterSpacing: `${letterSpacing / 16}rem`,\n };\n },\n);\n","module.exports = __WEBPACK_EXTERNAL_MODULE__rocket_chat_css_in_js__;","module.exports = __WEBPACK_EXTERNAL_MODULE__rocket_chat_css_supports__;","module.exports = __WEBPACK_EXTERNAL_MODULE__rocket_chat_fuselage_hooks__;","module.exports = __WEBPACK_EXTERNAL_MODULE__rocket_chat_icons__;","module.exports = __WEBPACK_EXTERNAL_MODULE__rocket_chat_memo__;","module.exports = __WEBPACK_EXTERNAL_MODULE_react__;","module.exports = __WEBPACK_EXTERNAL_MODULE_react_aria__;","module.exports = __WEBPACK_EXTERNAL_MODULE_react_dom__;","module.exports = __WEBPACK_EXTERNAL_MODULE_react_stately__;","module.exports = __WEBPACK_EXTERNAL_MODULE_react_virtuoso__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(\"./src/index.ts\");\n",""],"names":[],"sourceRoot":""}
1
+ {"version":3,"file":"fuselage.development.js","mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM,IAAqC;AAC3C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,sCAAsC;AACtC;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,2CAA2C,0BAA0B;AACrE;AACA;AACA;;AAEA,2BAA2B;AAC3B;AACA;AACA;;AAEA;;;;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;;;AAIb,IAAI,IAAqC;AACzC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2EAA2E;AAC3E;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD;;AAEjD;AACA;AACA;AACA,kDAAkD;;AAElD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iBAAiB;AACjB,sBAAsB;AACtB,uBAAuB;AACvB,uBAAuB;AACvB,eAAe;AACf,kBAAkB;AAClB,gBAAgB;AAChB,YAAY;AACZ,YAAY;AACZ,cAAc;AACd,gBAAgB;AAChB,kBAAkB;AAClB,gBAAgB;AAChB,mBAAmB;AACnB,wBAAwB;AACxB,yBAAyB;AACzB,yBAAyB;AACzB,iBAAiB;AACjB,oBAAoB;AACpB,kBAAkB;AAClB,cAAc;AACd,cAAc;AACd,gBAAgB;AAChB,kBAAkB;AAClB,oBAAoB;AACpB,kBAAkB;AAClB,0BAA0B;AAC1B,cAAc;AACd,GAAG;AACH;;;;;;;;;;;ACpLa;;AAEb,IAAI,KAAqC,EAAE;AAAA,EAE1C,CAAC;AACF,EAAE,oIAAyD;AAC3D;;;;;;;;;;;ACNa;AACb,8CAA6C,EAAE,aAAa,EAAC;AAC7D;AACA,cAAc,mBAAO,CAAC,oBAAO;AAC7B,iBAAiB,mBAAO,CAAC,sDAAU;AACnC;AACA,4BAA4B;AAC5B,2BAA2B;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,kBAAe;;;;;;;;;;;ACzBf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb,IAAI,IAAqC;AACzC;AACA;;AAEA,YAAY,mBAAO,CAAC,oBAAO;;AAE3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,iGAAiG,eAAe;AAChH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA,KAAK,GAAG;;AAER,kDAAkD;AAClD;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,4BAA4B;AAC5B;AACA,qCAAqC;;AAErC,gCAAgC;AAChC;AACA;;AAEA,gCAAgC;;AAEhC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;;;AAGJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,EAAE;;;AAGF;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC;;AAEvC;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,sBAAsB;AACtB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,iCAAiC;AACjC;AACA,SAAS;AACT,2BAA2B;AAC3B;AACA,SAAS;AACT,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,2DAA2D;;AAE3D;AACA;;AAEA;AACA,yDAAyD;AACzD;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;;AAGT;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA,QAAQ;AACR;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,kBAAkB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;;AAEA;AACA;AACA,gFAAgF;AAChF;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kBAAkB;;;AAGlB;AACA;AACA,cAAc;AACd;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;;;AAGJ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,8BAA8B;AAC9B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,2HAA2H;AAC3H;AACA;AACA;;AAEA;AACA,UAAU;AACV;AACA;;AAEA;AACA;;AAEA,oEAAoE;;AAEpE;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC;;AAEjC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wCAAwC;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,eAAe;AAC1B,WAAW,GAAG;AACd,WAAW,GAAG;AACd;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;;AAER;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB;;AAEA;AACA;AACA,kBAAkB;;AAElB;AACA;AACA,oBAAoB;AACpB,2DAA2D,UAAU;AACrE,yBAAyB,UAAU;AACnC;AACA,aAAa,UAAU;AACvB;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,SAAS;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,6DAA6D;AAC7D;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA,sBAAsB,iBAAiB;AACvC;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN,4CAA4C;;AAE5C;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA,oBAAoB,iBAAiB;AACrC;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,8CAA8C;AAC9C;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;;AAEA,0DAA0D;AAC1D;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA,4BAA4B,qBAAqB;AACjD;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;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,CAAC,EAArD,CAAqD,CAAC;SACxE,IAAI,CAAC,IAAI,CAAC,CAAC;IAEd,OAAO,+BAAc,EAAC,KAAK,EAAE,UAAU,CAAC,CAAC;AAC3C,CAAC,CAAC,CAAC;AAIH,IAAM,WAAW,GAAG,UAAC,KAAc;IACjC,cAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,IAAI,yBAAe,CAAC,UAAU;AAAhE,CAAgE,CAAC;AAEtD,iBAAS,GAAG,kBAAO,EAC9B,UACE,KAAc;IASd,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC;QACxB,OAAO,SAAS,CAAC;IACnB,CAAC;IAEK,SACJ,yBAAe,CAAC,UAAU,CAAC,KAAK,CAAC,EAD3B,QAAQ,gBAAE,UAAU,kBAAE,UAAU,kBAAE,aAAa,mBACpB,CAAC;IAEpC,OAAO;QACL,QAAQ,EAAE,UAAG,QAAQ,GAAG,EAAE,QAAK;QAC/B,UAAU;QACV,UAAU,EAAE,UAAG,UAAU,GAAG,EAAE,QAAK;QACnC,aAAa,EAAE,UAAG,aAAa,GAAG,EAAE,QAAK;KAC1C,CAAC;AACJ,CAAC,CACF,CAAC;;;;;;;;;;;ACnUF;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;UENA;UACA;UACA;UACA","sources":["webpack://RocketChatFuselage/webpack/universalModuleDefinition","webpack://RocketChatFuselage/../../node_modules/invariant/browser.js","webpack://RocketChatFuselage/../../node_modules/react-is/cjs/react-is.development.js","webpack://RocketChatFuselage/../../node_modules/react-is/index.js","webpack://RocketChatFuselage/../../node_modules/react-keyed-flatten-children/index.js","webpack://RocketChatFuselage/../../node_modules/react/cjs/react-jsx-runtime.development.js","webpack://RocketChatFuselage/../../node_modules/react/jsx-runtime.js","webpack://RocketChatFuselage/./src/Theme.ts","webpack://RocketChatFuselage/./src/components/Accordion/Accordion.tsx","webpack://RocketChatFuselage/./src/components/Accordion/AccordionItem.tsx","webpack://RocketChatFuselage/./src/components/Accordion/index.ts","webpack://RocketChatFuselage/./src/components/AnimatedVisibility/AnimatedVisibility.tsx","webpack://RocketChatFuselage/./src/components/AnimatedVisibility/index.ts","webpack://RocketChatFuselage/./src/components/AudioPlayer/AudioPlayer.tsx","webpack://RocketChatFuselage/./src/components/AudioPlayer/index.ts","webpack://RocketChatFuselage/./src/components/AutoComplete/AutoComplete.tsx","webpack://RocketChatFuselage/./src/components/AutoComplete/index.ts","webpack://RocketChatFuselage/./src/components/Avatar/Avatar.tsx","webpack://RocketChatFuselage/./src/components/Avatar/AvatarContainer.tsx","webpack://RocketChatFuselage/./src/components/Avatar/AvatarStack.tsx","webpack://RocketChatFuselage/./src/components/Avatar/index.ts","webpack://RocketChatFuselage/./src/components/Badge/Badge.tsx","webpack://RocketChatFuselage/./src/components/Badge/index.tsx","webpack://RocketChatFuselage/./src/components/Banner/Banner.tsx","webpack://RocketChatFuselage/./src/components/Banner/index.ts","webpack://RocketChatFuselage/./src/components/Box/Box.tsx","webpack://RocketChatFuselage/./src/components/Box/BoxTransforms.ts","webpack://RocketChatFuselage/./src/components/Box/StylingBox.tsx","webpack://RocketChatFuselage/./src/components/Box/index.ts","webpack://RocketChatFuselage/./src/components/Box/stylingProps.ts","webpack://RocketChatFuselage/./src/components/Box/useStylingProps.ts","webpack://RocketChatFuselage/./src/components/Box/withBoxStyling.tsx","webpack://RocketChatFuselage/./src/components/Bubble/Bubble.tsx","webpack://RocketChatFuselage/./src/components/Bubble/BubbleButton.tsx","webpack://RocketChatFuselage/./src/components/Bubble/BubbleItem.tsx","webpack://RocketChatFuselage/./src/components/Bubble/index.ts","webpack://RocketChatFuselage/./src/components/Button/ActionButton.tsx","webpack://RocketChatFuselage/./src/components/Button/Button.tsx","webpack://RocketChatFuselage/./src/components/Button/IconButton.tsx","webpack://RocketChatFuselage/./src/components/Button/index.ts","webpack://RocketChatFuselage/./src/components/ButtonGroup/ButtonGroup.tsx","webpack://RocketChatFuselage/./src/components/ButtonGroup/index.ts","webpack://RocketChatFuselage/./src/components/Callout/Callout.tsx","webpack://RocketChatFuselage/./src/components/Callout/index.tsx","webpack://RocketChatFuselage/./src/components/Card/Card.tsx","webpack://RocketChatFuselage/./src/components/Card/CardBody.tsx","webpack://RocketChatFuselage/./src/components/Card/CardCol.tsx","webpack://RocketChatFuselage/./src/components/Card/CardControls.tsx","webpack://RocketChatFuselage/./src/components/Card/CardHeader.tsx","webpack://RocketChatFuselage/./src/components/Card/CardRow.tsx","webpack://RocketChatFuselage/./src/components/Card/CardTitle.tsx","webpack://RocketChatFuselage/./src/components/Card/index.ts","webpack://RocketChatFuselage/./src/components/CardGrid/CardGrid.tsx","webpack://RocketChatFuselage/./src/components/CardGrid/index.ts","webpack://RocketChatFuselage/./src/components/CardGroup/CardGroup.tsx","webpack://RocketChatFuselage/./src/components/CardGroup/index.ts","webpack://RocketChatFuselage/./src/components/CheckBox/CheckBox.tsx","webpack://RocketChatFuselage/./src/components/CheckBox/index.ts","webpack://RocketChatFuselage/./src/components/Chevron/Chevron.tsx","webpack://RocketChatFuselage/./src/components/Chevron/index.tsx","webpack://RocketChatFuselage/./src/components/Chip/Chip.tsx","webpack://RocketChatFuselage/./src/components/Chip/index.ts","webpack://RocketChatFuselage/./src/components/CodeSnippet/CodeSnippet.tsx","webpack://RocketChatFuselage/./src/components/CodeSnippet/index.tsx","webpack://RocketChatFuselage/./src/components/Contextualbar/Contextualbar.tsx","webpack://RocketChatFuselage/./src/components/Contextualbar/ContextualbarAction.tsx","webpack://RocketChatFuselage/./src/components/Contextualbar/ContextualbarActions.tsx","webpack://RocketChatFuselage/./src/components/Contextualbar/ContextualbarButton.tsx","webpack://RocketChatFuselage/./src/components/Contextualbar/ContextualbarContent.tsx","webpack://RocketChatFuselage/./src/components/Contextualbar/ContextualbarEmptyContent.tsx","webpack://RocketChatFuselage/./src/components/Contextualbar/ContextualbarFooter.tsx","webpack://RocketChatFuselage/./src/components/Contextualbar/ContextualbarHeader.tsx","webpack://RocketChatFuselage/./src/components/Contextualbar/ContextualbarIcon.tsx","webpack://RocketChatFuselage/./src/components/Contextualbar/ContextualbarSection.tsx","webpack://RocketChatFuselage/./src/components/Contextualbar/ContextualbarSkeleton.tsx","webpack://RocketChatFuselage/./src/components/Contextualbar/ContextualbarTitle.tsx","webpack://RocketChatFuselage/./src/components/Contextualbar/index.ts","webpack://RocketChatFuselage/./src/components/ContextualbarV2/Contextualbar.tsx","webpack://RocketChatFuselage/./src/components/ContextualbarV2/ContextualbarAction.tsx","webpack://RocketChatFuselage/./src/components/ContextualbarV2/ContextualbarActions.tsx","webpack://RocketChatFuselage/./src/components/ContextualbarV2/ContextualbarButton.tsx","webpack://RocketChatFuselage/./src/components/ContextualbarV2/ContextualbarContent.tsx","webpack://RocketChatFuselage/./src/components/ContextualbarV2/ContextualbarEmptyContent.tsx","webpack://RocketChatFuselage/./src/components/ContextualbarV2/ContextualbarFooter.tsx","webpack://RocketChatFuselage/./src/components/ContextualbarV2/ContextualbarHeader.tsx","webpack://RocketChatFuselage/./src/components/ContextualbarV2/ContextualbarIcon.tsx","webpack://RocketChatFuselage/./src/components/ContextualbarV2/ContextualbarSection.tsx","webpack://RocketChatFuselage/./src/components/ContextualbarV2/ContextualbarSkeleton.tsx","webpack://RocketChatFuselage/./src/components/ContextualbarV2/ContextualbarTitle.tsx","webpack://RocketChatFuselage/./src/components/ContextualbarV2/index.ts","webpack://RocketChatFuselage/./src/components/Divider/Divider.tsx","webpack://RocketChatFuselage/./src/components/Divider/index.tsx","webpack://RocketChatFuselage/./src/components/Dropdown/Dropdown.tsx","webpack://RocketChatFuselage/./src/components/Dropdown/DropdownDesktop.tsx","webpack://RocketChatFuselage/./src/components/Dropdown/DropdownDesktopWrapper.tsx","webpack://RocketChatFuselage/./src/components/Dropdown/DropdownMobile.tsx","webpack://RocketChatFuselage/./src/components/Dropdown/index.tsx","webpack://RocketChatFuselage/./src/components/EmailInput/EmailInput.tsx","webpack://RocketChatFuselage/./src/components/EmailInput/index.tsx","webpack://RocketChatFuselage/./src/components/Field/Field.tsx","webpack://RocketChatFuselage/./src/components/Field/FieldDescription.tsx","webpack://RocketChatFuselage/./src/components/Field/FieldError.tsx","webpack://RocketChatFuselage/./src/components/Field/FieldHint.tsx","webpack://RocketChatFuselage/./src/components/Field/FieldLabel.tsx","webpack://RocketChatFuselage/./src/components/Field/FieldLabelInfo.tsx","webpack://RocketChatFuselage/./src/components/Field/FieldLink.tsx","webpack://RocketChatFuselage/./src/components/Field/FieldRow.tsx","webpack://RocketChatFuselage/./src/components/Field/index.tsx","webpack://RocketChatFuselage/./src/components/FieldGroup/FieldGroup.tsx","webpack://RocketChatFuselage/./src/components/FieldGroup/index.ts","webpack://RocketChatFuselage/./src/components/Flex/FlexContainer.tsx","webpack://RocketChatFuselage/./src/components/Flex/FlexItem.tsx","webpack://RocketChatFuselage/./src/components/Flex/index.ts","webpack://RocketChatFuselage/./src/components/FramedIcon/FramedIcon.tsx","webpack://RocketChatFuselage/./src/components/FramedIcon/index.ts","webpack://RocketChatFuselage/./src/components/Grid/Grid.tsx","webpack://RocketChatFuselage/./src/components/Grid/GridItem.tsx","webpack://RocketChatFuselage/./src/components/Grid/index.ts","webpack://RocketChatFuselage/./src/components/Icon/Icon.tsx","webpack://RocketChatFuselage/./src/components/Icon/index.ts","webpack://RocketChatFuselage/./src/components/InputBox/Addon.tsx","webpack://RocketChatFuselage/./src/components/InputBox/Input.tsx","webpack://RocketChatFuselage/./src/components/InputBox/InputBox.tsx","webpack://RocketChatFuselage/./src/components/InputBox/InputBoxSkeleton.tsx","webpack://RocketChatFuselage/./src/components/InputBox/Option.tsx","webpack://RocketChatFuselage/./src/components/InputBox/Placeholder.tsx","webpack://RocketChatFuselage/./src/components/InputBox/Wrapper.tsx","webpack://RocketChatFuselage/./src/components/InputBox/index.ts","webpack://RocketChatFuselage/./src/components/Label/Label.tsx","webpack://RocketChatFuselage/./src/components/Label/LabelInfo.tsx","webpack://RocketChatFuselage/./src/components/Label/index.tsx","webpack://RocketChatFuselage/./src/components/Margins/Margins.tsx","webpack://RocketChatFuselage/./src/components/Margins/index.ts","webpack://RocketChatFuselage/./src/components/Menu/Menu.tsx","webpack://RocketChatFuselage/./src/components/Menu/V2/Menu.tsx","webpack://RocketChatFuselage/./src/components/Menu/V2/MenuDropdown.tsx","webpack://RocketChatFuselage/./src/components/Menu/V2/MenuItem.tsx","webpack://RocketChatFuselage/./src/components/Menu/V2/MenuOption.tsx","webpack://RocketChatFuselage/./src/components/Menu/V2/MenuPopover.tsx","webpack://RocketChatFuselage/./src/components/Menu/V2/MenuSection.tsx","webpack://RocketChatFuselage/./src/components/Menu/V2/helpers/helpers.ts","webpack://RocketChatFuselage/./src/components/Menu/V2/index.ts","webpack://RocketChatFuselage/./src/components/Menu/V2/stately/MenuItem.tsx","webpack://RocketChatFuselage/./src/components/Menu/V2/stately/MenuSection.tsx","webpack://RocketChatFuselage/./src/components/Menu/index.ts","webpack://RocketChatFuselage/./src/components/Message/Message.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageBlock.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageBody.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageContainer.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageContainerFixed.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageDivider/MessageDivider.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageDivider/index.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageEmoji.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageEmojiBase.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageGenericPreview/MessageGenericPreview.styles.scss?0dd1","webpack://RocketChatFuselage/./src/components/Message/MessageGenericPreview/MessageGenericPreview.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageGenericPreview/MessageGenericPreviewContent.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageGenericPreview/MessageGenericPreviewCoverImage.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageGenericPreview/MessageGenericPreviewDescription.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageGenericPreview/MessageGenericPreviewFooter.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageGenericPreview/MessageGenericPreviewIcon.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageGenericPreview/MessageGenericPreviewImage.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageGenericPreview/MessageGenericPreviewThumb.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageGenericPreview/MessageGenericPreviewTitle.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageGenericPreview/index.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageHeader.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageHighlight.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageLeftContainer.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageMetrics/MessageMetrics.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageMetrics/MessageMetricsContentItem.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageMetrics/MessageMetricsFollowing.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageMetrics/MessageMetricsItem/MessageMetricsItem.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageMetrics/MessageMetricsItem/MessageMetricsItemAvatarRow.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageMetrics/MessageMetricsItem/MessageMetricsItemAvatarRowContent.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageMetrics/MessageMetricsItem/MessageMetricsItemIcon.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageMetrics/MessageMetricsItem/MessageMetricsItemLabel.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageMetrics/MessageMetricsItem/index.ts","webpack://RocketChatFuselage/./src/components/Message/MessageMetrics/MessageMetricsReply.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageMetrics/index.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageName.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageNameContainer.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageReactions/MessageReaction.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageReactions/MessageReactionAction.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageReactions/MessageReactionCounter.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageReactions/MessageReactionEmoji.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageReactions/MessageReactions.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageReactions/index.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageRole.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageRoles.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageStatusIndicator/MessageStatusIndicator.styles.scss?2a66","webpack://RocketChatFuselage/./src/components/Message/MessageStatusIndicator/MessageStatusIndicator.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageStatusIndicator/MessageStatusIndicatorItem.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageStatusIndicator/MessageStatusIndicatorText.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageStatusIndicator/MessageStatusPrivateIndicator.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageStatusIndicator/index.ts","webpack://RocketChatFuselage/./src/components/Message/MessageSystem/MessageSystem.styles.scss?bca4","webpack://RocketChatFuselage/./src/components/Message/MessageSystem/MessageSystem.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageSystem/MessageSystemBlock.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageSystem/MessageSystemBody.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageSystem/MessageSystemContainer.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageSystem/MessageSystemName.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageSystem/MessageSystemTimestamp.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageSystem/index.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageTimestamp.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageToolbar/MessageToolbar.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageToolbar/MessageToolbarItem.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageToolbar/MessageToolbarWrapper.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageToolbar/index.tsx","webpack://RocketChatFuselage/./src/components/Message/MessageUsername.tsx","webpack://RocketChatFuselage/./src/components/Message/ThreadMessage/ThreadMessage.tsx","webpack://RocketChatFuselage/./src/components/Message/ThreadMessage/ThreadMessageBody.tsx","webpack://RocketChatFuselage/./src/components/Message/ThreadMessage/ThreadMessageContainer.tsx","webpack://RocketChatFuselage/./src/components/Message/ThreadMessage/ThreadMessageEmoji.tsx","webpack://RocketChatFuselage/./src/components/Message/ThreadMessage/ThreadMessageFollow.tsx","webpack://RocketChatFuselage/./src/components/Message/ThreadMessage/ThreadMessageIcon.tsx","webpack://RocketChatFuselage/./src/components/Message/ThreadMessage/ThreadMessageIconThread.tsx","webpack://RocketChatFuselage/./src/components/Message/ThreadMessage/ThreadMessageOrigin.tsx","webpack://RocketChatFuselage/./src/components/Message/ThreadMessage/ThreadMessageRow.tsx","webpack://RocketChatFuselage/./src/components/Message/ThreadMessage/ThreadMessageUnfollow.tsx","webpack://RocketChatFuselage/./src/components/Message/ThreadMessage/index.tsx","webpack://RocketChatFuselage/./src/components/Message/index.tsx","webpack://RocketChatFuselage/./src/components/Modal/Modal.tsx","webpack://RocketChatFuselage/./src/components/Modal/ModalBackdrop.tsx","webpack://RocketChatFuselage/./src/components/Modal/ModalClose.tsx","webpack://RocketChatFuselage/./src/components/Modal/ModalContent.tsx","webpack://RocketChatFuselage/./src/components/Modal/ModalFooter.tsx","webpack://RocketChatFuselage/./src/components/Modal/ModalFooterAnnotation.tsx","webpack://RocketChatFuselage/./src/components/Modal/ModalFooterControllers.tsx","webpack://RocketChatFuselage/./src/components/Modal/ModalHeader.tsx","webpack://RocketChatFuselage/./src/components/Modal/ModalHeaderText.tsx","webpack://RocketChatFuselage/./src/components/Modal/ModalHeroImage.tsx","webpack://RocketChatFuselage/./src/components/Modal/ModalIcon.tsx","webpack://RocketChatFuselage/./src/components/Modal/ModalTagline.tsx","webpack://RocketChatFuselage/./src/components/Modal/ModalThumb.tsx","webpack://RocketChatFuselage/./src/components/Modal/ModalTitle.tsx","webpack://RocketChatFuselage/./src/components/Modal/index.ts","webpack://RocketChatFuselage/./src/components/MultiSelect/MultiSelect.tsx","webpack://RocketChatFuselage/./src/components/MultiSelect/MultiSelectAnchor.tsx","webpack://RocketChatFuselage/./src/components/MultiSelect/MultiSelectFiltered.tsx","webpack://RocketChatFuselage/./src/components/MultiSelect/MultiSelectFilteredAnchor.tsx","webpack://RocketChatFuselage/./src/components/MultiSelect/SelectedOptions.tsx","webpack://RocketChatFuselage/./src/components/MultiSelect/index.ts","webpack://RocketChatFuselage/./src/components/NavBar/NavBar.tsx","webpack://RocketChatFuselage/./src/components/NavBar/NavBarDivider.tsx","webpack://RocketChatFuselage/./src/components/NavBar/NavBarGroup.tsx","webpack://RocketChatFuselage/./src/components/NavBar/NavBarItem.tsx","webpack://RocketChatFuselage/./src/components/NavBar/NavBarSection.tsx","webpack://RocketChatFuselage/./src/components/NavBar/index.ts","webpack://RocketChatFuselage/./src/components/NumberInput/NumberInput.tsx","webpack://RocketChatFuselage/./src/components/NumberInput/index.tsx","webpack://RocketChatFuselage/./src/components/Option/CheckOption.tsx","webpack://RocketChatFuselage/./src/components/Option/Option.tsx","webpack://RocketChatFuselage/./src/components/Option/OptionAvatar.tsx","webpack://RocketChatFuselage/./src/components/Option/OptionColumn.tsx","webpack://RocketChatFuselage/./src/components/Option/OptionContent.tsx","webpack://RocketChatFuselage/./src/components/Option/OptionDescription.tsx","webpack://RocketChatFuselage/./src/components/Option/OptionDescriptionBlock.tsx","webpack://RocketChatFuselage/./src/components/Option/OptionDivider.tsx","webpack://RocketChatFuselage/./src/components/Option/OptionHeader.tsx","webpack://RocketChatFuselage/./src/components/Option/OptionIcon.tsx","webpack://RocketChatFuselage/./src/components/Option/OptionInput.tsx","webpack://RocketChatFuselage/./src/components/Option/OptionMenu.tsx","webpack://RocketChatFuselage/./src/components/Option/OptionSkeleton.tsx","webpack://RocketChatFuselage/./src/components/Option/OptionTitle.tsx","webpack://RocketChatFuselage/./src/components/Option/index.tsx","webpack://RocketChatFuselage/./src/components/Options/Options.tsx","webpack://RocketChatFuselage/./src/components/Options/index.ts","webpack://RocketChatFuselage/./src/components/Options/useCursor.ts","webpack://RocketChatFuselage/./src/components/Options/useVisible.ts","webpack://RocketChatFuselage/./src/components/OptionsPaginated/OptionsPaginated.tsx","webpack://RocketChatFuselage/./src/components/OptionsPaginated/index.ts","webpack://RocketChatFuselage/./src/components/PaginatedSelect/PaginatedMultiSelect.tsx","webpack://RocketChatFuselage/./src/components/PaginatedSelect/PaginatedMultiSelectFiltered.tsx","webpack://RocketChatFuselage/./src/components/PaginatedSelect/PaginatedSelect.tsx","webpack://RocketChatFuselage/./src/components/PaginatedSelect/PaginatedSelectFiltered.tsx","webpack://RocketChatFuselage/./src/components/PaginatedSelect/PaginatedSelectWrapper.tsx","webpack://RocketChatFuselage/./src/components/PaginatedSelect/index.ts","webpack://RocketChatFuselage/./src/components/Pagination/Pagination.tsx","webpack://RocketChatFuselage/./src/components/Pagination/index.ts","webpack://RocketChatFuselage/./src/components/PaletteStyleTag/PaletteStyleTag.tsx","webpack://RocketChatFuselage/./src/components/PaletteStyleTag/helpers/convertToCss.ts","webpack://RocketChatFuselage/./src/components/PaletteStyleTag/helpers/getPalette.ts","webpack://RocketChatFuselage/./src/components/PaletteStyleTag/hooks/useCreateStyleContainer.ts","webpack://RocketChatFuselage/./src/components/PaletteStyleTag/index.ts","webpack://RocketChatFuselage/./src/components/PaletteStyleTag/lib/themePalettes.ts","webpack://RocketChatFuselage/./src/components/PasswordInput/PasswordInput.tsx","webpack://RocketChatFuselage/./src/components/PasswordInput/index.ts","webpack://RocketChatFuselage/./src/components/Popover/Popover.tsx","webpack://RocketChatFuselage/./src/components/Popover/index.ts","webpack://RocketChatFuselage/./src/components/Position/Position.tsx","webpack://RocketChatFuselage/./src/components/Position/index.ts","webpack://RocketChatFuselage/./src/components/PositionAnimated/PositionAnimated.tsx","webpack://RocketChatFuselage/./src/components/PositionAnimated/index.ts","webpack://RocketChatFuselage/./src/components/ProgressBar/ProgressBar.tsx","webpack://RocketChatFuselage/./src/components/ProgressBar/index.tsx","webpack://RocketChatFuselage/./src/components/RadioButton/RadioButton.tsx","webpack://RocketChatFuselage/./src/components/RadioButton/index.ts","webpack://RocketChatFuselage/./src/components/Scrollable/Scrollable.tsx","webpack://RocketChatFuselage/./src/components/Scrollable/index.ts","webpack://RocketChatFuselage/./src/components/SearchInput/SearchInput.tsx","webpack://RocketChatFuselage/./src/components/SearchInput/index.tsx","webpack://RocketChatFuselage/./src/components/Select/Listbox.tsx","webpack://RocketChatFuselage/./src/components/Select/Select.tsx","webpack://RocketChatFuselage/./src/components/Select/SelectAddon.tsx","webpack://RocketChatFuselage/./src/components/Select/SelectAria.tsx","webpack://RocketChatFuselage/./src/components/Select/SelectFiltered.tsx","webpack://RocketChatFuselage/./src/components/Select/SelectFilteredAnchor.tsx","webpack://RocketChatFuselage/./src/components/Select/SelectFocus.tsx","webpack://RocketChatFuselage/./src/components/Select/SelectLegacy.tsx","webpack://RocketChatFuselage/./src/components/Select/SelectTrigger.tsx","webpack://RocketChatFuselage/./src/components/Select/index.ts","webpack://RocketChatFuselage/./src/components/SelectInput/SelectInput.tsx","webpack://RocketChatFuselage/./src/components/SelectInput/index.ts","webpack://RocketChatFuselage/./src/components/Sidebar/Item.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/Section.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/SidebarActions.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/SidebarBanner.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/SidebarDivider.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/SidebarFooter.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/TopBar/TopBar.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/TopBar/TopBarAction.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/TopBar/TopBarActions.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/TopBar/TopBarSection.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/TopBar/TopBarTitle.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/TopBar/TopBarToolBox.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/TopBar/TopBarV2.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/TopBar/TopBarWrapper.tsx","webpack://RocketChatFuselage/./src/components/Sidebar/TopBar/index.ts","webpack://RocketChatFuselage/./src/components/Sidebar/index.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/Sidebar.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarAccordion.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarAccordionItem.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarAction.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarActions.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarBanner.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarButtonGroup.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarCollapseGroup.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarDivider.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarFooter/SidebarFooter.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarFooter/SidebarFooterContent.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarFooter/index.ts","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarGroupTitle.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/SidebarItem.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/SidebarItemAction.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/SidebarItemAvatarWrapper.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/SidebarItemBadge.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/SidebarItemCol.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/SidebarItemContent.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/SidebarItemIcon.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/SidebarItemMenu.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/SidebarItemRow.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/SidebarItemStatusBullet.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/SidebarItemTimestamp.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/SidebarItemTitle.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/SidebarListItem.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarItem/index.ts","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarLink.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarMedia/SidebarMedia.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarMedia/SidebarMediaController.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarMedia/SidebarMediaTitle.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarMedia/index.ts","webpack://RocketChatFuselage/./src/components/SidebarV2/SidebarSection.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/hooks/useCollapse.tsx","webpack://RocketChatFuselage/./src/components/SidebarV2/index.tsx","webpack://RocketChatFuselage/./src/components/Sidepanel/Sidepanel.tsx","webpack://RocketChatFuselage/./src/components/Sidepanel/SidepanelDivider.tsx","webpack://RocketChatFuselage/./src/components/Sidepanel/SidepanelHeader.tsx","webpack://RocketChatFuselage/./src/components/Sidepanel/SidepanelHeaderTitle.tsx","webpack://RocketChatFuselage/./src/components/Sidepanel/SidepanelList.tsx","webpack://RocketChatFuselage/./src/components/Sidepanel/SidepanelListItem.tsx","webpack://RocketChatFuselage/./src/components/Sidepanel/SidepanelSection.tsx","webpack://RocketChatFuselage/./src/components/Sidepanel/SidepanelSectionAction.tsx","webpack://RocketChatFuselage/./src/components/Sidepanel/index.ts","webpack://RocketChatFuselage/./src/components/Skeleton/Skeleton.tsx","webpack://RocketChatFuselage/./src/components/Skeleton/index.tsx","webpack://RocketChatFuselage/./src/components/Slider/Slider.tsx","webpack://RocketChatFuselage/./src/components/Slider/SliderHead.tsx","webpack://RocketChatFuselage/./src/components/Slider/SliderThumb.tsx","webpack://RocketChatFuselage/./src/components/Slider/SliderTrack.tsx","webpack://RocketChatFuselage/./src/components/Slider/index.tsx","webpack://RocketChatFuselage/./src/components/States/States.tsx","webpack://RocketChatFuselage/./src/components/States/StatesAction.tsx","webpack://RocketChatFuselage/./src/components/States/StatesActions.tsx","webpack://RocketChatFuselage/./src/components/States/StatesIcon.tsx","webpack://RocketChatFuselage/./src/components/States/StatesLink.tsx","webpack://RocketChatFuselage/./src/components/States/StatesSubtitle.tsx","webpack://RocketChatFuselage/./src/components/States/StatesSuggestion.tsx","webpack://RocketChatFuselage/./src/components/States/StatesSuggestionList.tsx","webpack://RocketChatFuselage/./src/components/States/StatesSuggestionListItem.tsx","webpack://RocketChatFuselage/./src/components/States/StatesSuggestionText.tsx","webpack://RocketChatFuselage/./src/components/States/StatesTitle.tsx","webpack://RocketChatFuselage/./src/components/States/index.tsx","webpack://RocketChatFuselage/./src/components/StatusBullet/StatusBullet.tsx","webpack://RocketChatFuselage/./src/components/StatusBullet/icons/Away.tsx","webpack://RocketChatFuselage/./src/components/StatusBullet/icons/Busy.tsx","webpack://RocketChatFuselage/./src/components/StatusBullet/icons/Disabled.tsx","webpack://RocketChatFuselage/./src/components/StatusBullet/icons/Loading.tsx","webpack://RocketChatFuselage/./src/components/StatusBullet/icons/Offline.tsx","webpack://RocketChatFuselage/./src/components/StatusBullet/icons/Online.tsx","webpack://RocketChatFuselage/./src/components/StatusBullet/index.tsx","webpack://RocketChatFuselage/./src/components/Table/Table.tsx","webpack://RocketChatFuselage/./src/components/Table/TableBody.tsx","webpack://RocketChatFuselage/./src/components/Table/TableCell.tsx","webpack://RocketChatFuselage/./src/components/Table/TableFoot.tsx","webpack://RocketChatFuselage/./src/components/Table/TableHead.tsx","webpack://RocketChatFuselage/./src/components/Table/TableRow.tsx","webpack://RocketChatFuselage/./src/components/Table/TableSelection/TableSelection.tsx","webpack://RocketChatFuselage/./src/components/Table/TableSelection/TableSelectionButton.tsx","webpack://RocketChatFuselage/./src/components/Table/TableSelection/TableSelectionButtonGroup.tsx","webpack://RocketChatFuselage/./src/components/Table/TableSelection/index.ts","webpack://RocketChatFuselage/./src/components/Table/index.ts","webpack://RocketChatFuselage/./src/components/Tabs/Tabs.tsx","webpack://RocketChatFuselage/./src/components/Tabs/TabsItem.tsx","webpack://RocketChatFuselage/./src/components/Tabs/index.tsx","webpack://RocketChatFuselage/./src/components/Tag/Tag.tsx","webpack://RocketChatFuselage/./src/components/Tag/index.tsx","webpack://RocketChatFuselage/./src/components/TelephoneInput/TelephoneInput.tsx","webpack://RocketChatFuselage/./src/components/TelephoneInput/index.tsx","webpack://RocketChatFuselage/./src/components/TextAreaInput/TextAreaInput.tsx","webpack://RocketChatFuselage/./src/components/TextAreaInput/index.ts","webpack://RocketChatFuselage/./src/components/TextInput/TextInput.tsx","webpack://RocketChatFuselage/./src/components/TextInput/index.tsx","webpack://RocketChatFuselage/./src/components/Throbber/Throbber.tsx","webpack://RocketChatFuselage/./src/components/Throbber/index.tsx","webpack://RocketChatFuselage/./src/components/Tile/Tile.tsx","webpack://RocketChatFuselage/./src/components/Tile/index.ts","webpack://RocketChatFuselage/./src/components/ToastBar/ToastBar.tsx","webpack://RocketChatFuselage/./src/components/ToastBar/index.ts","webpack://RocketChatFuselage/./src/components/ToggleSwitch/ToggleSwitch.tsx","webpack://RocketChatFuselage/./src/components/ToggleSwitch/index.tsx","webpack://RocketChatFuselage/./src/components/Tooltip/Tooltip.tsx","webpack://RocketChatFuselage/./src/components/Tooltip/index.ts","webpack://RocketChatFuselage/./src/components/UrlInput/UrlInput.tsx","webpack://RocketChatFuselage/./src/components/UrlInput/index.ts","webpack://RocketChatFuselage/./src/components/index.ts","webpack://RocketChatFuselage/./src/getPaletteColor.ts","webpack://RocketChatFuselage/./src/helpers/WithErrorWrapper.tsx","webpack://RocketChatFuselage/./src/helpers/appendClassName.ts","webpack://RocketChatFuselage/./src/helpers/composeClassNames.ts","webpack://RocketChatFuselage/./src/helpers/exhaustiveCheck.ts","webpack://RocketChatFuselage/./src/helpers/flattenChildren.ts","webpack://RocketChatFuselage/./src/helpers/fromCamelToKebab.ts","webpack://RocketChatFuselage/./src/helpers/isForwardRefType.ts","webpack://RocketChatFuselage/./src/helpers/patchChildren.ts","webpack://RocketChatFuselage/./src/helpers/prependClassName.ts","webpack://RocketChatFuselage/./src/helpers/prevent.ts","webpack://RocketChatFuselage/./src/helpers/shallowEqual.ts","webpack://RocketChatFuselage/./src/helpers/toCSSValue.ts","webpack://RocketChatFuselage/./src/hooks/useArrayLikeClassNameProp.ts","webpack://RocketChatFuselage/./src/hooks/useBoxOnlyProps.ts","webpack://RocketChatFuselage/./src/hooks/useStyle.ts","webpack://RocketChatFuselage/./src/index.scss?d9c9","webpack://RocketChatFuselage/./src/index.ts","webpack://RocketChatFuselage/./src/styleTokens.ts","webpack://RocketChatFuselage/external umd \"@rocket.chat/css-in-js\"","webpack://RocketChatFuselage/external umd \"@rocket.chat/css-supports\"","webpack://RocketChatFuselage/external umd \"@rocket.chat/fuselage-hooks\"","webpack://RocketChatFuselage/external umd \"@rocket.chat/icons\"","webpack://RocketChatFuselage/external umd \"@rocket.chat/memo\"","webpack://RocketChatFuselage/external umd {\"commonjs\":\"react\",\"commonjs2\":\"react\",\"amd\":\"react\",\"root\":\"React\"}","webpack://RocketChatFuselage/external umd \"react-aria\"","webpack://RocketChatFuselage/external umd \"react-dom\"","webpack://RocketChatFuselage/external umd \"react-stately\"","webpack://RocketChatFuselage/external umd \"react-virtuoso\"","webpack://RocketChatFuselage/webpack/bootstrap","webpack://RocketChatFuselage/webpack/runtime/make namespace object","webpack://RocketChatFuselage/webpack/before-startup","webpack://RocketChatFuselage/webpack/startup","webpack://RocketChatFuselage/webpack/after-startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"@rocket.chat/css-in-js\"), require(\"@rocket.chat/css-supports\"), require(\"@rocket.chat/fuselage-hooks\"), require(\"@rocket.chat/icons\"), require(\"@rocket.chat/memo\"), require(\"react-aria\"), require(\"react-dom\"), require(\"react-stately\"), require(\"react-virtuoso\"), require(\"react\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"RocketChatFuselage\", [\"@rocket.chat/css-in-js\", \"@rocket.chat/css-supports\", \"@rocket.chat/fuselage-hooks\", \"@rocket.chat/icons\", \"@rocket.chat/memo\", \"react-aria\", \"react-dom\", \"react-stately\", \"react-virtuoso\", \"react\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"RocketChatFuselage\"] = factory(require(\"@rocket.chat/css-in-js\"), require(\"@rocket.chat/css-supports\"), require(\"@rocket.chat/fuselage-hooks\"), require(\"@rocket.chat/icons\"), require(\"@rocket.chat/memo\"), require(\"react-aria\"), require(\"react-dom\"), require(\"react-stately\"), require(\"react-virtuoso\"), require(\"react\"));\n\telse\n\t\troot[\"RocketChatFuselage\"] = factory(root[\"@rocket.chat/css-in-js\"], root[\"@rocket.chat/css-supports\"], root[\"@rocket.chat/fuselage-hooks\"], root[\"@rocket.chat/icons\"], root[\"@rocket.chat/memo\"], root[\"react-aria\"], root[\"react-dom\"], root[\"react-stately\"], root[\"react-virtuoso\"], root[\"React\"]);\n})(self, function(__WEBPACK_EXTERNAL_MODULE__rocket_chat_css_in_js__, __WEBPACK_EXTERNAL_MODULE__rocket_chat_css_supports__, __WEBPACK_EXTERNAL_MODULE__rocket_chat_fuselage_hooks__, __WEBPACK_EXTERNAL_MODULE__rocket_chat_icons__, __WEBPACK_EXTERNAL_MODULE__rocket_chat_memo__, __WEBPACK_EXTERNAL_MODULE_react_aria__, __WEBPACK_EXTERNAL_MODULE_react_dom__, __WEBPACK_EXTERNAL_MODULE_react_stately__, __WEBPACK_EXTERNAL_MODULE_react_virtuoso__, __WEBPACK_EXTERNAL_MODULE_react__) {\nreturn ","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar invariant = function(condition, format, a, b, c, d, e, f) {\n if (process.env.NODE_ENV !== 'production') {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error(\n 'Minified exception occurred; use the non-minified dev environment ' +\n 'for the full error message and additional helpful warnings.'\n );\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(\n format.replace(/%s/g, function() { return args[argIndex++]; })\n );\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\n\nmodule.exports = invariant;\n","/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/* Returns React children into an array, flattening fragments. */\nvar react_1 = require(\"react\");\nvar react_is_1 = require(\"react-is\");\nfunction flattenChildren(children, depth, keys) {\n if (depth === void 0) { depth = 0; }\n if (keys === void 0) { keys = []; }\n return react_1.Children.toArray(children).reduce(function (acc, node, nodeIndex) {\n if (react_is_1.isFragment(node)) {\n acc.push.apply(acc, flattenChildren(node.props.children, depth + 1, keys.concat(node.key || nodeIndex)));\n }\n else {\n if (react_1.isValidElement(node)) {\n acc.push(react_1.cloneElement(node, {\n key: keys.concat(String(node.key)).join('.')\n }));\n }\n else if (typeof node === \"string\" || typeof node === \"number\") {\n acc.push(node);\n }\n }\n return acc;\n }, []);\n}\nexports.default = flattenChildren;\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\nvar React = require('react');\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n if (maybeIterable === null || typeof maybeIterable !== 'object') {\n return null;\n }\n\n var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n if (typeof maybeIterator === 'function') {\n return maybeIterator;\n }\n\n return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n {\n {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n printWarning('error', format, args);\n }\n }\n}\n\nfunction printWarning(level, format, args) {\n // When changing this logic, you might want to also\n // update consoleWithStackDev.www.js as well.\n {\n var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n if (stack !== '') {\n format += '%s';\n args = args.concat([stack]);\n } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n var argsWithFormat = args.map(function (item) {\n return String(item);\n }); // Careful: RN currently depends on this prefix\n\n argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n Function.prototype.apply.call(console[level], console, argsWithFormat);\n }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n if (typeof type === 'string' || typeof type === 'function') {\n return true;\n } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {\n return true;\n }\n\n if (typeof type === 'object' && type !== null) {\n if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n // types supported by any Flight configuration anywhere since\n // we don't know which Flight build this will end up being used\n // with.\n type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n var displayName = outerType.displayName;\n\n if (displayName) {\n return displayName;\n }\n\n var functionName = innerType.displayName || innerType.name || '';\n return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n if (type == null) {\n // Host root, text node or just invalid type.\n return null;\n }\n\n {\n if (typeof type.tag === 'number') {\n error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n }\n }\n\n if (typeof type === 'function') {\n return type.displayName || type.name || null;\n }\n\n if (typeof type === 'string') {\n return type;\n }\n\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return 'Fragment';\n\n case REACT_PORTAL_TYPE:\n return 'Portal';\n\n case REACT_PROFILER_TYPE:\n return 'Profiler';\n\n case REACT_STRICT_MODE_TYPE:\n return 'StrictMode';\n\n case REACT_SUSPENSE_TYPE:\n return 'Suspense';\n\n case REACT_SUSPENSE_LIST_TYPE:\n return 'SuspenseList';\n\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n var context = type;\n return getContextName(context) + '.Consumer';\n\n case REACT_PROVIDER_TYPE:\n var provider = type;\n return getContextName(provider._context) + '.Provider';\n\n case REACT_FORWARD_REF_TYPE:\n return getWrappedName(type, type.render, 'ForwardRef');\n\n case REACT_MEMO_TYPE:\n var outerName = type.displayName || null;\n\n if (outerName !== null) {\n return outerName;\n }\n\n return getComponentNameFromType(type.type) || 'Memo';\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n return getComponentNameFromType(init(payload));\n } catch (x) {\n return null;\n }\n }\n\n // eslint-disable-next-line no-fallthrough\n }\n }\n\n return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n {\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n prevLog = console.log;\n prevInfo = console.info;\n prevWarn = console.warn;\n prevError = console.error;\n prevGroup = console.group;\n prevGroupCollapsed = console.groupCollapsed;\n prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n var props = {\n configurable: true,\n enumerable: true,\n value: disabledLog,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n info: props,\n log: props,\n warn: props,\n error: props,\n group: props,\n groupCollapsed: props,\n groupEnd: props\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n disabledDepth++;\n }\n}\nfunction reenableLogs() {\n {\n disabledDepth--;\n\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n var props = {\n configurable: true,\n enumerable: true,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n log: assign({}, props, {\n value: prevLog\n }),\n info: assign({}, props, {\n value: prevInfo\n }),\n warn: assign({}, props, {\n value: prevWarn\n }),\n error: assign({}, props, {\n value: prevError\n }),\n group: assign({}, props, {\n value: prevGroup\n }),\n groupCollapsed: assign({}, props, {\n value: prevGroupCollapsed\n }),\n groupEnd: assign({}, props, {\n value: prevGroupEnd\n })\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n if (disabledDepth < 0) {\n error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n }\n }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n {\n if (prefix === undefined) {\n // Extract the VM specific prefix used by each line.\n try {\n throw Error();\n } catch (x) {\n var match = x.stack.trim().match(/\\n( *(at )?)/);\n prefix = match && match[1] || '';\n }\n } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n return '\\n' + prefix + name;\n }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n // If something asked for a stack inside a fake render, it should get ignored.\n if ( !fn || reentry) {\n return '';\n }\n\n {\n var frame = componentFrameCache.get(fn);\n\n if (frame !== undefined) {\n return frame;\n }\n }\n\n var control;\n reentry = true;\n var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n Error.prepareStackTrace = undefined;\n var previousDispatcher;\n\n {\n previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n // for warnings.\n\n ReactCurrentDispatcher.current = null;\n disableLogs();\n }\n\n try {\n // This should throw.\n if (construct) {\n // Something should be setting the props in the constructor.\n var Fake = function () {\n throw Error();\n }; // $FlowFixMe\n\n\n Object.defineProperty(Fake.prototype, 'props', {\n set: function () {\n // We use a throwing setter instead of frozen or non-writable props\n // because that won't throw in a non-strict mode function.\n throw Error();\n }\n });\n\n if (typeof Reflect === 'object' && Reflect.construct) {\n // We construct a different control for this case to include any extra\n // frames added by the construct call.\n try {\n Reflect.construct(Fake, []);\n } catch (x) {\n control = x;\n }\n\n Reflect.construct(fn, [], Fake);\n } else {\n try {\n Fake.call();\n } catch (x) {\n control = x;\n }\n\n fn.call(Fake.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x) {\n control = x;\n }\n\n fn();\n }\n } catch (sample) {\n // This is inlined manually because closure doesn't do it for us.\n if (sample && control && typeof sample.stack === 'string') {\n // This extracts the first frame from the sample that isn't also in the control.\n // Skipping one frame that we assume is the frame that calls the two.\n var sampleLines = sample.stack.split('\\n');\n var controlLines = control.stack.split('\\n');\n var s = sampleLines.length - 1;\n var c = controlLines.length - 1;\n\n while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n // We expect at least one stack frame to be shared.\n // Typically this will be the root most one. However, stack frames may be\n // cut off due to maximum stack limits. In this case, one maybe cut off\n // earlier than the other. We assume that the sample is longer or the same\n // and there for cut off earlier. So we should find the root most frame in\n // the sample somewhere in the control.\n c--;\n }\n\n for (; s >= 1 && c >= 0; s--, c--) {\n // Next we find the first one that isn't the same which should be the\n // frame that called our sample function and the control.\n if (sampleLines[s] !== controlLines[c]) {\n // In V8, the first line is describing the message but other VMs don't.\n // If we're about to return the first line, and the control is also on the same\n // line, that's a pretty good indicator that our sample threw at same line as\n // the control. I.e. before we entered the sample frame. So we ignore this result.\n // This can happen if you passed a class to function component, or non-function.\n if (s !== 1 || c !== 1) {\n do {\n s--;\n c--; // We may still have similar intermediate frames from the construct call.\n // The next one that isn't the same should be our match though.\n\n if (c < 0 || sampleLines[s] !== controlLines[c]) {\n // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"<anonymous>\"\n // but we have a user-provided \"displayName\"\n // splice it in to make the stack more readable.\n\n\n if (fn.displayName && _frame.includes('<anonymous>')) {\n _frame = _frame.replace('<anonymous>', fn.displayName);\n }\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, _frame);\n }\n } // Return the line we found.\n\n\n return _frame;\n }\n } while (s >= 1 && c >= 0);\n }\n\n break;\n }\n }\n }\n } finally {\n reentry = false;\n\n {\n ReactCurrentDispatcher.current = previousDispatcher;\n reenableLogs();\n }\n\n Error.prepareStackTrace = previousPrepareStackTrace;\n } // Fallback to just using the name if we couldn't make it throw.\n\n\n var name = fn ? fn.displayName || fn.name : '';\n var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, syntheticFrame);\n }\n }\n\n return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n {\n return describeNativeComponentFrame(fn, false);\n }\n}\n\nfunction shouldConstruct(Component) {\n var prototype = Component.prototype;\n return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n if (type == null) {\n return '';\n }\n\n if (typeof type === 'function') {\n {\n return describeNativeComponentFrame(type, shouldConstruct(type));\n }\n }\n\n if (typeof type === 'string') {\n return describeBuiltInComponentFrame(type);\n }\n\n switch (type) {\n case REACT_SUSPENSE_TYPE:\n return describeBuiltInComponentFrame('Suspense');\n\n case REACT_SUSPENSE_LIST_TYPE:\n return describeBuiltInComponentFrame('SuspenseList');\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_FORWARD_REF_TYPE:\n return describeFunctionComponentFrame(type.render);\n\n case REACT_MEMO_TYPE:\n // Memo may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n // Lazy may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n } catch (x) {}\n }\n }\n }\n\n return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame.setExtraStackFrame(null);\n }\n }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n {\n // $FlowFixMe This is okay but Flow doesn't know it.\n var has = Function.call.bind(hasOwnProperty);\n\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n // eslint-disable-next-line react-internal/prod-error-codes\n var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');\n err.name = 'Invariant Violation';\n throw err;\n }\n\n error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n } catch (ex) {\n error$1 = ex;\n }\n\n if (error$1 && !(error$1 instanceof Error)) {\n setCurrentlyValidatingElement(element);\n\n error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);\n\n setCurrentlyValidatingElement(null);\n }\n\n if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error$1.message] = true;\n setCurrentlyValidatingElement(element);\n\n error('Failed %s type: %s', location, error$1.message);\n\n setCurrentlyValidatingElement(null);\n }\n }\n }\n }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n {\n // toStringTag is needed for namespaced types like Temporal.Instant\n var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n return type;\n }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n {\n try {\n testStringCoercion(value);\n return false;\n } catch (e) {\n return true;\n }\n }\n}\n\nfunction testStringCoercion(value) {\n // If you ended up here by following an exception call stack, here's what's\n // happened: you supplied an object or symbol value to React (as a prop, key,\n // DOM attribute, CSS property, string ref, etc.) and when React tried to\n // coerce it to a string using `'' + value`, an exception was thrown.\n //\n // The most common types that will cause this exception are `Symbol` instances\n // and Temporal objects like `Temporal.Instant`. But any object that has a\n // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n // exception. (Library authors do this to prevent users from using built-in\n // numeric operators like `+` or comparison operators like `>=` because custom\n // methods are needed to perform accurate arithmetic or comparison.)\n //\n // To fix the problem, coerce this object or symbol value to a string before\n // passing it to React. The most reliable way is usually `String(value)`.\n //\n // To find which value is throwing, check the browser or debugger console.\n // Before this exception was thrown, there should be `console.error` output\n // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n // problem and how that type was used: key, atrribute, input value prop, etc.\n // In most cases, this console output also shows the component and its\n // ancestor components where the exception happened.\n //\n // eslint-disable-next-line react-internal/safe-string-coercion\n return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n {\n if (willCoercionThrow(value)) {\n error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n }\n }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n key: true,\n ref: true,\n __self: true,\n __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n {\n if (hasOwnProperty.call(config, 'ref')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n {\n if (hasOwnProperty.call(config, 'key')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n {\n if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n if (!didWarnAboutStringRefs[componentName]) {\n error('Component \"%s\" contains the string ref \"%s\". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);\n\n didWarnAboutStringRefs[componentName] = true;\n }\n }\n }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingKey = function () {\n if (!specialPropKeyWarningShown) {\n specialPropKeyWarningShown = true;\n\n error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingKey.isReactWarning = true;\n Object.defineProperty(props, 'key', {\n get: warnAboutAccessingKey,\n configurable: true\n });\n }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingRef = function () {\n if (!specialPropRefWarningShown) {\n specialPropRefWarningShown = true;\n\n error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingRef.isReactWarning = true;\n Object.defineProperty(props, 'ref', {\n get: warnAboutAccessingRef,\n configurable: true\n });\n }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n var element = {\n // This tag allows us to uniquely identify this as a React Element\n $$typeof: REACT_ELEMENT_TYPE,\n // Built-in properties that belong on the element\n type: type,\n key: key,\n ref: ref,\n props: props,\n // Record the component responsible for creating this element.\n _owner: owner\n };\n\n {\n // The validation flag is currently mutative. We put it on\n // an external backing store so that we can freeze the whole object.\n // This can be replaced with a WeakMap once they are implemented in\n // commonly used development environments.\n element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n // the validation flag non-enumerable (where possible, which should\n // include every environment we run tests in), so the test framework\n // ignores it.\n\n Object.defineProperty(element._store, 'validated', {\n configurable: false,\n enumerable: false,\n writable: true,\n value: false\n }); // self and source are DEV only properties.\n\n Object.defineProperty(element, '_self', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: self\n }); // Two elements created in two different places should be considered\n // equal for testing purposes and therefore we hide it from enumeration.\n\n Object.defineProperty(element, '_source', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: source\n });\n\n if (Object.freeze) {\n Object.freeze(element.props);\n Object.freeze(element);\n }\n }\n\n return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n {\n var propName; // Reserved names are extracted\n\n var props = {};\n var key = null;\n var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n // issue if key is also explicitly declared (ie. <div {...props} key=\"Hi\" />\n // or <div key=\"Hi\" {...props} /> ). We want to deprecate key spread,\n // but as an intermediary step, we will use jsxDEV for everything except\n // <div {...props} key=\"Hi\" />, because we aren't currently able to tell if\n // key is explicitly declared to be undefined or not.\n\n if (maybeKey !== undefined) {\n {\n checkKeyStringCoercion(maybeKey);\n }\n\n key = '' + maybeKey;\n }\n\n if (hasValidKey(config)) {\n {\n checkKeyStringCoercion(config.key);\n }\n\n key = '' + config.key;\n }\n\n if (hasValidRef(config)) {\n ref = config.ref;\n warnIfStringRefCannotBeAutoConverted(config, self);\n } // Remaining properties are added to a new props object\n\n\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n props[propName] = config[propName];\n }\n } // Resolve default props\n\n\n if (type && type.defaultProps) {\n var defaultProps = type.defaultProps;\n\n for (propName in defaultProps) {\n if (props[propName] === undefined) {\n props[propName] = defaultProps[propName];\n }\n }\n }\n\n if (key || ref) {\n var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n if (key) {\n defineKeyPropWarningGetter(props, displayName);\n }\n\n if (ref) {\n defineRefPropWarningGetter(props, displayName);\n }\n }\n\n return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n }\n }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n }\n}\n\nfunction getDeclarationErrorAddendum() {\n {\n if (ReactCurrentOwner$1.current) {\n var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n if (name) {\n return '\\n\\nCheck the render method of `' + name + '`.';\n }\n }\n\n return '';\n }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n {\n if (source !== undefined) {\n var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n var lineNumber = source.lineNumber;\n return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n }\n\n return '';\n }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n {\n var info = getDeclarationErrorAddendum();\n\n if (!info) {\n var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n if (parentName) {\n info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n }\n }\n\n return info;\n }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n {\n if (!element._store || element._store.validated || element.key != null) {\n return;\n }\n\n element._store.validated = true;\n var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n return;\n }\n\n ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n // property, it may be the creator of the child that's responsible for\n // assigning it a key.\n\n var childOwner = '';\n\n if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n // Give the component that originally created this child.\n childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n }\n\n setCurrentlyValidatingElement$1(element);\n\n error('Each child in a list should have a unique \"key\" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);\n\n setCurrentlyValidatingElement$1(null);\n }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n {\n if (typeof node !== 'object') {\n return;\n }\n\n if (isArray(node)) {\n for (var i = 0; i < node.length; i++) {\n var child = node[i];\n\n if (isValidElement(child)) {\n validateExplicitKey(child, parentType);\n }\n }\n } else if (isValidElement(node)) {\n // This element was passed in a valid location.\n if (node._store) {\n node._store.validated = true;\n }\n } else if (node) {\n var iteratorFn = getIteratorFn(node);\n\n if (typeof iteratorFn === 'function') {\n // Entry iterators used to provide implicit keys,\n // but now we print a separate warning for them later.\n if (iteratorFn !== node.entries) {\n var iterator = iteratorFn.call(node);\n var step;\n\n while (!(step = iterator.next()).done) {\n if (isValidElement(step.value)) {\n validateExplicitKey(step.value, parentType);\n }\n }\n }\n }\n }\n }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n {\n var type = element.type;\n\n if (type === null || type === undefined || typeof type === 'string') {\n return;\n }\n\n var propTypes;\n\n if (typeof type === 'function') {\n propTypes = type.propTypes;\n } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n // Inner props are checked in the reconciler.\n type.$$typeof === REACT_MEMO_TYPE)) {\n propTypes = type.propTypes;\n } else {\n return;\n }\n\n if (propTypes) {\n // Intentionally inside to avoid triggering lazy initializers:\n var name = getComponentNameFromType(type);\n checkPropTypes(propTypes, element.props, 'prop', name, element);\n } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n var _name = getComponentNameFromType(type);\n\n error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n }\n\n if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n }\n }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n {\n var keys = Object.keys(fragment.props);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n\n if (key !== 'children' && key !== 'key') {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n setCurrentlyValidatingElement$1(null);\n break;\n }\n }\n\n if (fragment.ref !== null) {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n setCurrentlyValidatingElement$1(null);\n }\n }\n}\n\nvar didWarnAboutKeySpread = {};\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n {\n var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n // succeed and there will likely be errors in render.\n\n if (!validType) {\n var info = '';\n\n if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n info += ' You likely forgot to export your component from the file ' + \"it's defined in, or you might have mixed up default and named imports.\";\n }\n\n var sourceInfo = getSourceInfoErrorAddendum(source);\n\n if (sourceInfo) {\n info += sourceInfo;\n } else {\n info += getDeclarationErrorAddendum();\n }\n\n var typeString;\n\n if (type === null) {\n typeString = 'null';\n } else if (isArray(type)) {\n typeString = 'array';\n } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n info = ' Did you accidentally export a JSX literal instead of a component?';\n } else {\n typeString = typeof type;\n }\n\n error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);\n }\n\n var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n // TODO: Drop this when these are no longer allowed as the type argument.\n\n if (element == null) {\n return element;\n } // Skip key warning if the type isn't valid since our key validation logic\n // doesn't expect a non-string/function type and can throw confusing errors.\n // We don't want exception behavior to differ between dev and prod.\n // (Rendering will throw with a helpful message and as soon as the type is\n // fixed, the key warnings will appear.)\n\n\n if (validType) {\n var children = props.children;\n\n if (children !== undefined) {\n if (isStaticChildren) {\n if (isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n validateChildKeys(children[i], type);\n }\n\n if (Object.freeze) {\n Object.freeze(children);\n }\n } else {\n error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');\n }\n } else {\n validateChildKeys(children, type);\n }\n }\n }\n\n {\n if (hasOwnProperty.call(props, 'key')) {\n var componentName = getComponentNameFromType(type);\n var keys = Object.keys(props).filter(function (k) {\n return k !== 'key';\n });\n var beforeExample = keys.length > 0 ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}' : '{key: someKey}';\n\n if (!didWarnAboutKeySpread[componentName + beforeExample]) {\n var afterExample = keys.length > 0 ? '{' + keys.join(': ..., ') + ': ...}' : '{}';\n\n error('A props object containing a \"key\" prop is being spread into JSX:\\n' + ' let props = %s;\\n' + ' <%s {...props} />\\n' + 'React keys must be passed directly to JSX without using spread:\\n' + ' let props = %s;\\n' + ' <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);\n\n didWarnAboutKeySpread[componentName + beforeExample] = true;\n }\n }\n }\n\n if (type === REACT_FRAGMENT_TYPE) {\n validateFragmentProps(element);\n } else {\n validatePropTypes(element);\n }\n\n return element;\n }\n} // These two functions exist to still get child warnings in dev\n// even with the prod transform. This means that jsxDEV is purely\n// opt-in behavior for better messages but that we won't stop\n// giving you warnings if you use production apis.\n\nfunction jsxWithValidationStatic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, true);\n }\n}\nfunction jsxWithValidationDynamic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, false);\n }\n}\n\nvar jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.\n// for now we can ship identical prod functions\n\nvar jsxs = jsxWithValidationStatic ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsx;\nexports.jsxs = jsxs;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","import tokenColors from '@rocket.chat/fuselage-tokens/colors.json';\n\nimport { getPaletteColor } from './getPaletteColor';\nimport { toCSSColorValue } from './helpers/toCSSValue';\n\nexport class Var {\n private name: string;\n\n private value: string;\n\n constructor(name: string, value: string) {\n this.name = name;\n this.value = value;\n }\n\n toString() {\n return toCSSColorValue(this.name, this.value);\n }\n\n theme(name: string) {\n return new Var(name, this.toString());\n }\n}\n\nconst white = new Var('white', '#ffffff');\n\nexport let throwErrorOnInvalidToken = false;\nexport const __setThrowErrorOnInvalidToken__ = (value: boolean) => {\n throwErrorOnInvalidToken = value;\n};\n\nexport const neutral = {\n 100: new Var('neutral-100', tokenColors.n100),\n 200: new Var('neutral-200', tokenColors.n200),\n 250: new Var('neutral-250', tokenColors.n250),\n 300: new Var('neutral-300', tokenColors.n300),\n 400: new Var('neutral-400', tokenColors.n400),\n 450: new Var('neutral-450', tokenColors.n450),\n 500: new Var('neutral-500', tokenColors.n500),\n 600: new Var('neutral-600', tokenColors.n600),\n 700: new Var('neutral-700', tokenColors.n700),\n 800: new Var('neutral-800', tokenColors.n800),\n 900: new Var('neutral-900', tokenColors.n900),\n};\n\nconst blue = {\n 100: new Var('primary-100', tokenColors.b100),\n 200: new Var('primary-200', tokenColors.b200),\n 300: new Var('primary-300', tokenColors.b300),\n 400: new Var('primary-400', tokenColors.b400),\n 500: new Var('primary-500', tokenColors.b500),\n 600: new Var('primary-600', tokenColors.b600),\n 700: new Var('primary-700', tokenColors.b700),\n 800: new Var('primary-800', tokenColors.b800),\n 900: new Var('primary-900', tokenColors.b900),\n};\n\nconst green = {\n 100: new Var('success-100', tokenColors.g100),\n 200: new Var('success-200', tokenColors.g200),\n 300: new Var('success-300', tokenColors.g300),\n 400: new Var('success-400', tokenColors.g400),\n 500: new Var('success-500', tokenColors.g500),\n 600: new Var('success-600', tokenColors.g600),\n 700: new Var('success-700', tokenColors.g700),\n 800: new Var('success-800', tokenColors.g800),\n 900: new Var('success-900', tokenColors.g900),\n};\n\nconst yellow = {\n 100: new Var('warning-100', tokenColors.y100),\n 200: new Var('warning-200', tokenColors.y200),\n 300: new Var('warning-300', tokenColors.y300),\n 400: new Var('warning-400', tokenColors.y400),\n 500: new Var('warning-500', tokenColors.y500),\n 600: new Var('warning-600', tokenColors.y600),\n 700: new Var('warning-700', tokenColors.y700),\n 800: new Var('warning-800', tokenColors.y800),\n 900: new Var('warning-900', tokenColors.y900),\n};\n\nconst red = {\n 100: new Var('danger-100', tokenColors.r100),\n 200: new Var('danger-200', tokenColors.r200),\n 300: new Var('danger-300', tokenColors.r300),\n 400: new Var('danger-400', tokenColors.r400),\n 500: new Var('danger-500', tokenColors.r500),\n 600: new Var('danger-600', tokenColors.r600),\n 700: new Var('danger-700', tokenColors.r700),\n 800: new Var('danger-800', tokenColors.r800),\n 900: new Var('danger-900', tokenColors.r900),\n};\n\nconst orange = {\n 100: new Var('service-1-100', tokenColors.o100),\n 200: new Var('service-1-200', tokenColors.o200),\n 300: new Var('service-1-300', tokenColors.o300),\n 400: new Var('service-1-400', tokenColors.o400),\n 500: new Var('service-1-500', tokenColors.o500),\n 600: new Var('service-1-600', tokenColors.o600),\n 700: new Var('service-1-700', tokenColors.o700),\n 800: new Var('service-1-800', tokenColors.o800),\n 900: new Var('service-1-900', tokenColors.o900),\n};\n\nconst purple = {\n 100: new Var('service-2-100', tokenColors.p100),\n 200: new Var('service-2-200', tokenColors.p200),\n 300: new Var('service-2-300', tokenColors.p300),\n 400: new Var('service-2-400', tokenColors.p400),\n 500: new Var('service-2-500', tokenColors.p500),\n 600: new Var('service-2-600', tokenColors.p600),\n 700: new Var('service-2-700', tokenColors.p700),\n 800: new Var('service-2-800', tokenColors.p800),\n 900: new Var('service-2-900', tokenColors.p900),\n};\n\nexport const surfaceColors = {\n 'surface-light': white.theme('surface-light'),\n 'surface-tint': neutral[100].theme('surface-tint'),\n 'surface-room': white.theme('surface-room'),\n 'surface-neutral': neutral[400].theme('surface-neutral'),\n 'surface-disabled': neutral[100].theme('surface-disabled'),\n 'surface-hover': neutral[200].theme('surface-hover'),\n 'surface-selected': neutral[450].theme('surface-selected'),\n 'surface-dark': neutral[800].theme('surface-dark'),\n 'surface-featured': purple['700'].theme('surface-featured'),\n 'surface-featured-hover': purple['800'].theme('surface-featured-hover'),\n 'surface-overlay': neutral[800].theme('surface-overlay'),\n 'surface-transparent': 'transparent',\n 'surface-sidebar': neutral[400].theme('surface-sidebar'),\n};\n\ntype SurfaceColors = keyof typeof surfaceColors;\n\nexport const strokeColors = {\n 'stroke-extra-light': neutral[250].theme('stroke-extra-light'),\n 'stroke-light': neutral[500].theme('stroke-light'),\n 'stroke-medium': neutral[600].theme('stroke-medium'),\n 'stroke-dark': neutral[700].theme('stroke-dark'),\n 'stroke-extra-dark': neutral[800].theme('stroke-extra-dark'),\n 'stroke-extra-light-highlight': blue[200].theme(\n 'stroke-extra-light-highlight',\n ),\n 'stroke-highlight': blue[500].theme('stroke-highlight'),\n 'stroke-extra-light-error': red[200].theme('stroke-extra-light-error'),\n 'stroke-error': red[500].theme('stroke-error'),\n};\n\ntype StrokeColor = keyof typeof strokeColors;\n\nexport const textIconColors = {\n 'font-white': white.theme('font-white'),\n 'font-disabled': neutral[500].theme('font-disabled'),\n 'font-annotation': neutral[600].theme('font-annotation'),\n 'font-hint': neutral[700].theme('font-hint'),\n 'font-secondary-info': neutral[700].theme('font-secondary-info'),\n 'font-default': neutral[800].theme('font-default'),\n 'font-titles-labels': neutral[900].theme('font-titles-labels'),\n 'font-info': blue[600].theme('font-info'),\n 'font-danger': red[600].theme('font-danger'),\n 'font-pure-black': neutral[800].theme('font-pure-black'),\n 'font-pure-white': white.theme('font-pure-white'),\n};\n\ntype TextIconColors = keyof typeof textIconColors;\n\nexport const statusBackgroundColors = {\n 'status-background-info': blue[200].theme('status-background-info'),\n 'status-background-success': green[200].theme('status-background-success'),\n 'status-background-danger': red[200].theme('status-background-danger'),\n 'status-background-warning': yellow[200].theme('status-background-warning'),\n 'status-background-warning-2': yellow[100].theme(\n 'status-background-warning-2',\n ),\n 'status-background-service-1': orange[200].theme(\n 'status-background-service-1',\n ),\n 'status-background-service-2': purple[200].theme(\n 'status-background-service-2',\n ),\n};\n\ntype StatusBackgroundColors = keyof typeof statusBackgroundColors;\n\nexport const statusColors = {\n 'status-font-on-info': blue[600].theme('status-font-on-info'),\n 'status-font-on-success': green[800].theme('status-font-on-success'),\n 'status-font-on-warning': yellow[800].theme('status-font-on-warning'),\n 'status-font-on-warning-2': neutral[800].theme('status-font-on-warning-2'),\n 'status-font-on-danger': red[800].theme('status-font-on-danger'),\n 'status-font-on-service-1': orange[800].theme('status-font-on-service-1'),\n 'status-font-on-service-2': purple[600].theme('status-font-on-service-2'),\n};\n\ntype StatusColors = keyof typeof statusColors;\n\nexport const badgeBackgroundColors = {\n 'badge-background-level-0': neutral[400].theme('badge-background-level-0'),\n 'badge-background-level-1': neutral[600].theme('badge-background-level-1'),\n 'badge-background-level-2': blue[500].theme('badge-background-level-2'),\n 'badge-background-level-3': orange[500].theme('badge-background-level-3'),\n 'badge-background-level-4': red[500].theme('badge-background-level-4'),\n};\n\ntype BadgeBackgroundColors = keyof typeof badgeBackgroundColors;\n\nexport const shadowColors = {\n 'shadow-elevation-border': strokeColors['stroke-extra-light'].theme(\n 'shadow-elevation-border',\n ),\n 'shadow-elevation-1': new Var(\n 'shadow-elevation-1',\n getPaletteColor('neutral', 800, 0.1)[1],\n ),\n 'shadow-elevation-2x': new Var(\n 'shadow-elevation-2x',\n getPaletteColor('neutral', 800, 0.08)[1],\n ),\n 'shadow-elevation-2y': new Var(\n 'shadow-elevation-2y',\n getPaletteColor('neutral', 800, 0.12)[1],\n ),\n 'shadow-highlight': blue[200].theme('shadow-highlight'),\n 'shadow-danger': red[100].theme('shadow-danger'),\n};\n\ntype ShadowColors = keyof typeof shadowColors;\n\nexport const isSurfaceColor = (color: unknown): color is SurfaceColors =>\n typeof color === 'string' && color in surfaceColors;\n\nexport const isStrokeColor = (color: unknown): color is StrokeColor =>\n typeof color === 'string' && color in strokeColors;\n\nexport const isTextIconColor = (color: unknown): color is TextIconColors =>\n typeof color === 'string' && color in textIconColors;\n\nexport const isBadgeColor = (color: unknown): color is BadgeBackgroundColors =>\n typeof color === 'string' && color in badgeBackgroundColors;\n\nexport const isStatusBackgroundColor = (\n color: unknown,\n): color is StatusBackgroundColors =>\n typeof color === 'string' && color in statusBackgroundColors;\n\nexport const isStatusColor = (color: unknown): color is StatusColors =>\n typeof color === 'string' && color in statusColors;\n\nexport const isShadowColor = (color: unknown): color is ShadowColors =>\n typeof color === 'string' && color in shadowColors;\n\nexport const Palette = {\n surface: surfaceColors,\n status: statusBackgroundColors,\n statusColor: statusColors,\n badge: badgeBackgroundColors,\n text: textIconColors,\n stroke: strokeColors,\n shadow: shadowColors,\n};\n","import type { ReactNode } from 'react';\n\nimport { cx, cxx } from '../../helpers/composeClassNames';\nimport { StylingBox } from '../Box';\nimport { StylingProps } from '../Box/stylingProps';\n\nexport type AccordionProps = {\n children: ReactNode;\n} & Partial<StylingProps>;\n\n/**\n * An `Accordion` allows users to toggle the display of sections of content.\n */\nconst Accordion = ({ children, ...props }: AccordionProps) => (\n <StylingBox {...props}>\n <div className={cx(cxx('rcx-box')('full', 'animated'), 'rcx-accordion')}>\n {children}\n </div>\n </StylingBox>\n);\n\nexport default Accordion;\n","import { useToggle } from '@rocket.chat/fuselage-hooks';\nimport {\n useId,\n type KeyboardEvent,\n type MouseEvent,\n type ReactNode,\n} from 'react';\n\nimport { cx, cxx } from '../../helpers/composeClassNames';\nimport { StylingBox } from '../Box';\nimport { Chevron } from '../Chevron';\n\nexport type AccordionItemProps = {\n children?: ReactNode;\n className?: string;\n defaultExpanded?: boolean;\n disabled?: boolean;\n expanded?: boolean;\n tabIndex?: number;\n title: ReactNode;\n noncollapsible?: boolean;\n};\n\nconst AccordionItem = ({\n children,\n defaultExpanded,\n disabled = false,\n expanded: propExpanded,\n tabIndex = 0,\n title,\n noncollapsible = !title,\n ...props\n}: AccordionItemProps) => {\n const [stateExpanded, toggleStateExpanded] = useToggle(defaultExpanded);\n const expanded = propExpanded || stateExpanded;\n\n const panelExpanded = noncollapsible || expanded;\n\n const titleId = useId();\n const panelId = useId();\n\n const handleClick = (e: MouseEvent<HTMLElement>) => {\n if (disabled) {\n return;\n }\n e.currentTarget?.blur();\n toggleStateExpanded();\n };\n\n const handleKeyDown = (event: KeyboardEvent) => {\n if (disabled || event.currentTarget !== event.target) {\n return;\n }\n\n if (![' ', 'Enter'].includes(event.key)) {\n return;\n }\n\n event.preventDefault();\n\n if (event.repeat) {\n return;\n }\n\n toggleStateExpanded();\n };\n\n const collapsibleProps = {\n 'aria-controls': panelId,\n 'aria-expanded': expanded ? 'true' : 'false',\n 'tabIndex': !disabled ? tabIndex : undefined,\n 'onClick': handleClick,\n 'onKeyDown': handleKeyDown,\n } as const;\n\n const nonCollapsibleProps = {\n 'aria-disabled': 'true',\n 'aria-expanded': 'true',\n 'aria-labelledby': titleId,\n } as const;\n\n const barProps = noncollapsible ? nonCollapsibleProps : collapsibleProps;\n\n return (\n <StylingBox {...props}>\n <section className={cx(cxx('rcx-box')('full'), 'rcx-accordion-item')}>\n {title && (\n <div\n role='button'\n className={cx(\n cxx('rcx-box')('full', 'animated'),\n cxx('rcx-accordion-item__bar')({ disabled }),\n )}\n {...barProps}\n >\n <h2\n className={cx(\n cxx('rcx-box')('full'),\n 'rcx-accordion-item__title',\n )}\n id={titleId}\n >\n {title}\n </h2>\n {!noncollapsible && <Chevron size='x24' up={expanded} />}\n </div>\n )}\n <div\n className={cx(\n cxx('rcx-box')('full', 'animated'),\n cxx('rcx-accordion-item__panel')({ expanded: panelExpanded }),\n )}\n id={panelId}\n >\n {children}\n </div>\n </section>\n </StylingBox>\n );\n};\n\nexport default AccordionItem;\n","export { default as Accordion, type AccordionProps } from './Accordion';\nexport {\n default as AccordionItem,\n type AccordionItemProps,\n} from './AccordionItem';\n","import { css, keyframes } from '@rocket.chat/css-in-js';\nimport type { ReactNode } from 'react';\nimport { useCallback, useEffect, useState } from 'react';\n\nimport { appendClassName } from '../../helpers/appendClassName';\nimport { useStyle } from '../../hooks/useStyle';\nimport { BoxTransforms, useComposedBoxTransform } from '../Box/BoxTransforms';\n\nexport type VisibilityType =\n | 'hidden'\n | 'visible'\n | 'hiding'\n | 'unhiding'\n | undefined;\n\ntype AnimatedVisibilityProps = {\n children: ReactNode;\n visibility?: VisibilityType;\n};\n\nconst Visibility = {\n HIDDEN: 'hidden' as VisibilityType,\n VISIBLE: 'visible' as VisibilityType,\n HIDING: 'hiding' as VisibilityType,\n UNHIDING: 'unhiding' as VisibilityType,\n};\n\nconst AnimatedVisibility = (props: AnimatedVisibilityProps) => {\n const propVisibility = props.visibility || Visibility.HIDDEN;\n\n const [visibility, setVisibility] = useState<VisibilityType>(propVisibility);\n\n useEffect(() => {\n setVisibility((visibility) => {\n if (\n propVisibility === Visibility.VISIBLE &&\n visibility !== propVisibility\n ) {\n return Visibility.UNHIDING;\n }\n\n if (\n propVisibility === Visibility.HIDDEN &&\n visibility !== propVisibility\n ) {\n return Visibility.HIDING;\n }\n\n return visibility;\n });\n }, [propVisibility]);\n\n const className = useStyle(\n css`\n animation-duration: 230ms;\n\n ${visibility === Visibility.HIDING &&\n css`\n animation-name: ${keyframes`\n from {\n transform: translate3d(0, 0, 0);\n opacity: 1;\n }\n\n to {\n transform: translate3d(0, 1rem, 0);\n opacity: 0;\n }\n `};\n `}\n\n ${visibility === Visibility.UNHIDING &&\n css`\n animation-name: ${keyframes`\n from {\n transform: translate3d(0, 1rem, 0);\n opacity: 0;\n }\n\n to {\n transform: translate3d(0, 0, 0);\n opacity: 1;\n }\n `};\n `}\n `,\n null,\n );\n\n const handleAnimationEnd = useCallback(\n () =>\n setVisibility((visibility) => {\n if (visibility === Visibility.HIDING) {\n return Visibility.HIDDEN;\n }\n\n if (visibility === Visibility.UNHIDING) {\n return Visibility.VISIBLE;\n }\n\n return visibility;\n }),\n [],\n );\n\n const transformFn = useCallback(\n (props: any) => {\n if (props.onAnimationEnd === undefined) {\n props.onAnimationEnd = handleAnimationEnd;\n }\n props.className =\n className && appendClassName(props.className, className);\n return props;\n },\n [className, handleAnimationEnd],\n );\n\n const composedFn = useComposedBoxTransform(transformFn);\n if (visibility === Visibility.HIDDEN) {\n return null;\n }\n\n return (\n <BoxTransforms.Provider children={props.children} value={composedFn} />\n );\n};\n\nexport default AnimatedVisibility;\n","import type { VisibilityType } from './AnimatedVisibility';\nimport AnimatedVisibility from './AnimatedVisibility';\n\nexport default Object.assign(AnimatedVisibility, {\n HIDDEN: 'hidden' as VisibilityType,\n VISIBLE: 'visible' as VisibilityType,\n HIDING: 'hiding' as VisibilityType,\n UNHIDING: 'unhiding' as VisibilityType,\n});\n","import { useMergedRefs, useResizeObserver } from '@rocket.chat/fuselage-hooks';\nimport type { TrackHTMLAttributes } from 'react';\nimport { useState, useRef, forwardRef } from 'react';\n\nimport { Box, Button, IconButton, Margins } from '../..';\nimport { Slider } from '../Slider';\n\nconst getMaskTime = (durationTime: number) =>\n new Date(durationTime * 1000)\n .toISOString()\n .slice(durationTime > 60 * 60 ? 11 : 14, 19);\n\nfunction forceDownload(url: string, fileName?: string) {\n const xhr = new XMLHttpRequest();\n xhr.open('GET', url, true);\n xhr.responseType = 'blob';\n xhr.onload = function () {\n const urlCreator = window.URL || window.webkitURL;\n const imageUrl = urlCreator.createObjectURL(this.response);\n const tag = document.createElement('a');\n tag.href = imageUrl;\n if (fileName) {\n tag.download = fileName;\n }\n document.body.appendChild(tag);\n tag.click();\n document.body.removeChild(tag);\n };\n xhr.send();\n}\n\nconst getDurationForInfinityDurationAudioFile = (\n src: string,\n callback: (duration: number) => void,\n) => {\n const audioElement = new Audio();\n audioElement.src = src;\n\n audioElement.addEventListener('loadedmetadata', () => {\n const { duration } = audioElement;\n if (duration === Infinity) {\n audioElement.currentTime = 1e101;\n return;\n }\n\n return callback(duration);\n });\n\n audioElement.addEventListener('durationchange', () => {\n if (audioElement.duration === Infinity) {\n return;\n }\n callback(audioElement.duration);\n audioElement.remove();\n });\n};\n\n/**\n * A Fuselage’s custom AudioPlayer.\n */\ntype AudioPlayerProps = {\n src: string;\n type?: string;\n maxPlaybackSpeed?: number;\n minPlaybackSpeed?: number;\n playbackSpeedStep?: number;\n download?: boolean;\n playLabel?: string;\n pauseLabel?: string;\n audioPlaybackRangeLabel?: string;\n changePlaybackSpeedLabel?: string;\n downloadAudioFileLabel?: string;\n trackProps?: TrackHTMLAttributes<HTMLTrackElement>;\n};\n\nexport const AudioPlayer = forwardRef<HTMLAudioElement, AudioPlayerProps>(\n (\n {\n src,\n type = 'audio/mpeg',\n maxPlaybackSpeed = 2,\n minPlaybackSpeed = 0.5,\n playbackSpeedStep = 0.25,\n download = false,\n playLabel = 'Play',\n pauseLabel = 'Pause',\n audioPlaybackRangeLabel = 'Audio Playback Range',\n changePlaybackSpeedLabel = 'Change Playback Speed',\n downloadAudioFileLabel = 'Download Audio File',\n trackProps,\n },\n ref,\n ) => {\n const audioRef = useRef<HTMLAudioElement>(null);\n const refs = useMergedRefs(ref, audioRef);\n const [isPlaying, setIsPlaying] = useState(false);\n const [currentTime, setCurrentTime] = useState(0);\n const [durationTime, setDurationTime] = useState(0);\n const [playbackSpeed, setPlaybackSpeed] = useState(1);\n const { ref: containerRef } = useResizeObserver();\n\n const handlePlay = () => {\n const isPlaying = audioRef.current?.paused;\n\n if (isPlaying) {\n audioRef.current?.play();\n } else {\n audioRef.current?.pause();\n }\n };\n\n const handlePlaybackSpeed = (mod: 1 | -1) => {\n if (audioRef.current) {\n audioRef.current.playbackRate += playbackSpeedStep * mod;\n }\n };\n\n const handlePlaybackSpeedSingleControl = () => {\n const reachedMaxPlaybackSpeed =\n maxPlaybackSpeed === audioRef?.current?.playbackRate;\n\n if (reachedMaxPlaybackSpeed) {\n audioRef.current.playbackRate = minPlaybackSpeed;\n return;\n }\n handlePlaybackSpeed(1);\n };\n\n return (\n <Box\n borderWidth='default'\n bg='tint'\n borderColor='extra-light'\n pb={12}\n pie={8}\n pis={16}\n borderRadius='x4'\n w='100%'\n maxWidth='x300'\n ref={containerRef}\n display='flex'\n alignItems='center'\n >\n <IconButton\n primary\n medium\n onClick={handlePlay}\n aria-label={isPlaying ? pauseLabel : playLabel}\n icon={isPlaying ? 'pause-shape-filled' : 'play-shape-filled'}\n />\n <Margins inline={8}>\n <Box fontScale='p2' color='secondary-info'>\n {isPlaying || currentTime > 0\n ? getMaskTime(currentTime)\n : getMaskTime(durationTime)}\n </Box>\n <Box mi={16} w='full'>\n <Slider\n aria-label={audioPlaybackRangeLabel}\n showOutput={false}\n value={currentTime}\n maxValue={durationTime}\n onChange={(value) => {\n if (audioRef.current) {\n audioRef.current.currentTime = value;\n }\n }}\n />\n </Box>\n\n <Button\n secondary\n small\n onClick={handlePlaybackSpeedSingleControl}\n aria-label={changePlaybackSpeedLabel}\n >\n {playbackSpeed}x\n </Button>\n </Margins>\n {download && (\n <IconButton\n primary\n aria-label={downloadAudioFileLabel}\n is='a'\n href={src}\n download\n icon='download'\n medium\n onClick={(e) => {\n const { host } = new URL(src);\n if (host !== window.location.host) {\n e.preventDefault();\n forceDownload(src);\n }\n }}\n />\n )}\n <audio\n style={{ display: 'none' }}\n onTimeUpdate={(e) => {\n setCurrentTime((e.target as HTMLAudioElement).currentTime);\n }}\n onLoadedMetadata={(e) => {\n const { duration } = e.target as HTMLAudioElement;\n\n if (duration !== Infinity) {\n return setDurationTime(duration);\n }\n\n getDurationForInfinityDurationAudioFile(src, setDurationTime);\n }}\n onEnded={() => setIsPlaying(false)}\n ref={refs}\n preload='metadata'\n onRateChange={(e) => {\n setPlaybackSpeed((e.target as HTMLAudioElement).playbackRate);\n }}\n onPlay={() => {\n setIsPlaying(true);\n }}\n onPause={() => {\n setIsPlaying(false);\n }}\n controls\n >\n <source src={src} type={type} />\n <track kind='captions' {...trackProps} />\n </audio>\n </Box>\n );\n },\n);\n","export * from './AudioPlayer';\n","// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-nocheck\nimport { useEffectEvent, useResizeObserver } from '@rocket.chat/fuselage-hooks';\nimport type {\n AllHTMLAttributes,\n ComponentProps,\n ElementType,\n ReactElement,\n} from 'react';\nimport { useEffect, useRef, useMemo, useState } from 'react';\n\nimport AnimatedVisibility from '../AnimatedVisibility';\nimport Box from '../Box';\nimport Chip from '../Chip';\nimport { Icon } from '../Icon';\nimport { InputBox } from '../InputBox';\nimport Margins from '../Margins';\nimport { useCursor, Options } from '../Options';\nimport PositionAnimated from '../PositionAnimated';\n\nconst Addon = (props: ComponentProps<typeof Box>) => (\n <Box rcx-autocomplete__addon {...props} />\n);\n\ntype AutoCompleteOption = {\n value: string;\n label: unknown;\n};\n\ntype AutoCompleteProps = {\n value?: string | string[];\n filter: string;\n setFilter?: (filter: string) => void;\n options?: AutoCompleteOption[];\n renderItem?: ElementType;\n renderSelected?: ElementType;\n onChange: (value: string | string[]) => void;\n renderEmpty?: ElementType;\n placeholder?: string;\n error?: boolean;\n disabled?: boolean;\n multiple?: boolean;\n} & Omit<AllHTMLAttributes<HTMLInputElement>, 'onChange'>;\n\nconst getSelected = (\n value: string | string[],\n options: AutoCompleteOption[],\n) => {\n if (!value) {\n return [];\n }\n return typeof value === 'string'\n ? options.filter((option) => option.value === value)\n : options?.filter((option) => value.includes(option.value));\n};\n\n/**\n * An input for selection of options.\n */\nexport function AutoComplete({\n value,\n filter,\n setFilter,\n options = [],\n renderItem,\n renderSelected: RenderSelected,\n onChange,\n renderEmpty,\n placeholder,\n error,\n disabled,\n multiple,\n onBlur: onBlurAction = () => {},\n ...props\n}: AutoCompleteProps): ReactElement {\n const ref = useRef();\n const { ref: containerRef, borderBoxSize } = useResizeObserver();\n\n const [selected, setSelected] = useState(\n () => getSelected(value, options) || [],\n );\n\n const handleSelect = useEffectEvent(([currentValue]) => {\n if (selected?.some((item) => item.value === currentValue)) {\n hide();\n return;\n }\n\n if (multiple) {\n setSelected([...selected, ...getSelected(currentValue, options)]);\n onChange([...value, currentValue]);\n } else {\n setSelected(getSelected(currentValue, options));\n onChange(currentValue);\n }\n\n setFilter('');\n hide();\n });\n\n const handleRemove = useEffectEvent((event) => {\n event.stopPropagation();\n event.preventDefault();\n\n const filtered = selected.filter(\n (item) => item.value !== event.currentTarget.value,\n );\n\n const filteredValue = value.filter(\n (item) => item !== event.currentTarget.value,\n );\n\n setSelected(filtered);\n onChange(filteredValue);\n hide();\n });\n\n const memoizedOptions = useMemo(\n () => options.map(({ value, label }) => [value, label]),\n [options],\n );\n\n const [cursor, handleKeyDown, , reset, [optionsAreVisible, hide, show]] =\n useCursor(value, memoizedOptions, handleSelect);\n\n const handleOnBlur = useEffectEvent((event) => {\n hide();\n onBlurAction(event);\n });\n\n useEffect(reset, [filter]);\n\n return (\n <Box\n rcx-autocomplete\n ref={containerRef}\n onClick={useEffectEvent(() => ref.current.focus())}\n flexGrow={1}\n className={useMemo(\n () => [error && 'invalid', disabled && 'disabled'],\n [error, disabled],\n )}\n >\n <Box\n display='flex'\n flexGrow={1}\n alignItems='center'\n flexWrap='wrap'\n margin='neg-x4'\n role='group'\n >\n <Margins all='x4'>\n <InputBox.Input\n ref={ref}\n onChange={useEffectEvent((e) => setFilter(e.currentTarget.value))}\n onBlur={handleOnBlur}\n onFocus={show}\n onKeyDown={handleKeyDown}\n placeholder={\n optionsAreVisible === AnimatedVisibility.HIDDEN || !value\n ? placeholder\n : undefined\n }\n order={1}\n rcx-input-box--undecorated\n value={filter}\n disabled={disabled}\n {...props}\n />\n {selected?.length > 0 &&\n selected.map((itemSelected) =>\n RenderSelected ? (\n <RenderSelected\n key={itemSelected.value}\n selected={itemSelected}\n onRemove={handleRemove}\n />\n ) : (\n <Chip\n key={itemSelected.value}\n value={itemSelected.value}\n label={itemSelected.label}\n children={itemSelected.label}\n onClick={handleRemove}\n selected={selected}\n />\n ),\n )}\n </Margins>\n </Box>\n <Addon\n children={\n <Icon\n name={\n optionsAreVisible === AnimatedVisibility.VISIBLE\n ? 'cross'\n : 'magnifier'\n }\n size='x20'\n color='default'\n />\n }\n />\n <PositionAnimated visible={optionsAreVisible} anchor={containerRef}>\n <Options\n width={borderBoxSize.inlineSize}\n onSelect={handleSelect}\n renderItem={renderItem}\n renderEmpty={renderEmpty}\n cursor={cursor}\n value={value}\n options={memoizedOptions}\n />\n </PositionAnimated>\n </Box>\n );\n}\n","export * from './AutoComplete';\n","import type { AllHTMLAttributes, ComponentProps } from 'react';\n\nimport { AvatarContainer } from './AvatarContainer';\nimport { AvatarStack } from './AvatarStack';\n\nexport type AvatarProps = ComponentProps<typeof AvatarContainer> & {\n rounded?: boolean;\n objectFit?: boolean;\n url: string;\n} & Omit<AllHTMLAttributes<HTMLImageElement>, 'size'>;\n\nexport const Avatar = ({\n size = 'x36',\n rounded = false,\n objectFit = false,\n url,\n className,\n alt,\n ...props\n}: AvatarProps) => {\n const innerClass = [\n 'rcx-avatar__element',\n objectFit && 'rcx-avatar__element--object-fit',\n size && `rcx-avatar__element--${size}`,\n rounded && 'rcx-avatar__element--rounded',\n ]\n .filter(Boolean)\n .join(' ');\n\n return (\n <AvatarContainer size={size} className={className}>\n <img src={url} className={innerClass} alt={alt || ''} {...props} />\n </AvatarContainer>\n );\n};\n\n/**\n * @deprecated Use named import instead\n */\nAvatar.Stack = AvatarStack;\n","import type { HTMLAttributes } from 'react';\n\nimport { prependClassName } from '../../helpers/prependClassName';\n\nexport type AvatarContainerProps = {\n size?:\n | 'x16'\n | 'x18'\n | 'x20'\n | 'x24'\n | 'x28'\n | 'x32'\n | 'x36'\n | 'x40'\n | 'x48'\n | 'x124'\n | 'x200'\n | 'x332';\n} & HTMLAttributes<HTMLElement>;\n\nexport const AvatarContainer = ({\n size = 'x36',\n children,\n ...props\n}: AvatarContainerProps) => {\n props.className = prependClassName(\n props.className,\n ['rcx-box rcx-box--full rcx-avatar', size && `rcx-avatar--${size}`]\n .filter(Boolean)\n .join(' '),\n );\n\n return <figure {...props}>{children}</figure>;\n};\n","import type { DetailedHTMLProps, HTMLAttributes } from 'react';\nimport flattenChildren from 'react-keyed-flatten-children';\n\nimport { prependClassName } from '../../helpers/prependClassName';\n\ntype AvatarStackProps = DetailedHTMLProps<\n HTMLAttributes<HTMLDivElement>,\n HTMLDivElement\n>;\n\nexport const AvatarStack = ({ children, ...props }: AvatarStackProps) => {\n props.className = prependClassName(props.className, 'rcx-avatar-stack');\n return <div {...props}>{flattenChildren(children).reverse()}</div>;\n};\n","export * from './Avatar';\nexport * from './AvatarContainer';\nexport * from './AvatarStack';\n","import type { ElementType, HTMLAttributes } from 'react';\n\nimport { prependClassName } from '../../helpers/prependClassName';\n\nexport type BadgeProps = {\n is?: ElementType;\n variant?: 'secondary' | 'primary' | 'danger' | 'warning' | 'ghost';\n small?: boolean;\n disabled?: boolean;\n className?: string;\n children?: any;\n title?: any;\n} & HTMLAttributes<HTMLSpanElement>;\n\n/**\n * Communicates notification’s amount and types.\n */\nexport function Badge({\n is: Tag = 'span',\n variant = 'secondary',\n small,\n className,\n disabled,\n ...props\n}: BadgeProps) {\n const modifiers = [variant, small && 'small', disabled && 'disabled']\n .filter(Boolean)\n .map((modifier) => `rcx-badge--${modifier}`)\n .join(' ');\n\n return (\n <Tag\n className={prependClassName(\n className,\n `rcx-box rcx-box--full rcx-badge ${modifiers}`,\n )}\n {...props}\n />\n );\n}\n","export * from './Badge';\n","import {\n useBorderBoxSize,\n useButtonPattern,\n} from '@rocket.chat/fuselage-hooks';\nimport type {\n ReactNode,\n AllHTMLAttributes,\n HTMLAttributeAnchorTarget,\n MouseEvent,\n} from 'react';\nimport { useRef, useCallback, useMemo } from 'react';\n\nimport { composeClassNames as cx } from '../../helpers/composeClassNames';\nimport { IconButton } from '../Button';\n\ntype VariantType = 'neutral' | 'info' | 'success' | 'warning' | 'danger';\n\nconst variants: VariantType[] = [\n 'neutral',\n 'info',\n 'success',\n 'warning',\n 'danger',\n];\n\ntype BannerProps = {\n actionable?: boolean;\n closeable?: boolean;\n icon?: ReactNode;\n inline?: boolean;\n link?: string;\n linkTarget?: HTMLAttributeAnchorTarget;\n linkText?: string;\n onAction?: () => void;\n onClose?: () => void;\n title?: string;\n variant?: VariantType;\n} & AllHTMLAttributes<HTMLElement>;\n\nconst Banner = ({\n actionable,\n children,\n className,\n closeable,\n icon,\n inline = false,\n link,\n linkText = 'More info',\n linkTarget = '_blank',\n onAction,\n onClose,\n title,\n variant = 'neutral',\n ...props\n}: BannerProps) => {\n const ref = useRef(null);\n const { inlineSize } = useBorderBoxSize(ref, {\n debounceDelay: 70,\n });\n\n const isIconVisible = useMemo(() => inlineSize > 375, [inlineSize]);\n\n variant = variants.includes(variant) ? variant : variants[0];\n\n const handleBannerClick = useCallback(() => {\n if (onAction) {\n onAction();\n }\n }, [onAction]);\n\n const handleCloseButtonClick = useCallback(\n (event: MouseEvent) => {\n event.stopPropagation();\n\n if (onClose) {\n onClose();\n }\n },\n [onClose],\n );\n\n const buttonProps = useButtonPattern(handleBannerClick);\n\n return (\n <div\n className={cx('rcx-banner')(\n { [variant]: true, inline, actionable },\n className,\n )}\n ref={ref}\n {...(onAction ? { ...buttonProps } : { role: 'banner', tabIndex: -1 })}\n {...props}\n >\n {icon && isIconVisible && (\n <div\n className={cx(`rcx-banner__icon rcx-banner__icon--${variant}`)({\n inline,\n })}\n >\n {icon}\n </div>\n )}\n <div className={cx('rcx-banner__content')({ inline })}>\n {title && (\n <h6 className={cx('rcx-banner__title')({ inline })}>{title}</h6>\n )}\n {children}\n {link && (\n <a\n href={link}\n target={linkTarget}\n className={cx('rcx-banner__link')({ [variant]: true })}\n >\n {linkText}\n </a>\n )}\n </div>\n {closeable && (\n <div className={cx('rcx-banner__close-button')({ inline })}>\n <IconButton small onClick={handleCloseButtonClick} icon='cross' />\n </div>\n )}\n </div>\n );\n};\n\nexport default Banner;\n","export { default } from './Banner';\n","import type { cssFn } from '@rocket.chat/css-in-js';\nimport type {\n AllHTMLAttributes,\n ElementType,\n RefAttributes,\n SVGAttributes,\n Ref,\n} from 'react';\nimport { createElement, forwardRef, memo } from 'react';\n\nimport { useArrayLikeClassNameProp } from '../../hooks/useArrayLikeClassNameProp';\nimport { useBoxOnlyProps } from '../../hooks/useBoxOnlyProps';\nimport type { Falsy } from '../../types/Falsy';\n\nimport { useBoxTransform, BoxTransforms } from './BoxTransforms';\nimport type { StylingProps } from './stylingProps';\nimport { useStylingProps } from './useStylingProps';\n\nexport interface BoxProps\n extends Partial<StylingProps>,\n Omit<\n AllHTMLAttributes<HTMLElement>,\n 'ref' | 'is' | 'className' | 'size' | 'elevation' | keyof StylingProps\n >,\n Omit<\n SVGAttributes<SVGElement>,\n keyof AllHTMLAttributes<HTMLElement> | 'elevation' | keyof StylingProps\n > {\n /**\n * The `is` prop is used to render the Box as a different HTML tag. It can also be used to render a different fuselage component.\n */\n is?: ElementType;\n className?: string | cssFn | (string | cssFn | Falsy)[];\n animated?: boolean;\n withRichContent?: boolean | 'inlineWithoutBreaks';\n htmlSize?: AllHTMLAttributes<HTMLElement>['size'];\n focusable?: boolean;\n}\n\nexport const Box = forwardRef(function Box(\n { is = 'div', children, ...props }: BoxProps,\n ref: Ref<any>,\n) {\n const propsWithRef: BoxProps & RefAttributes<any> = props;\n\n if (ref) {\n propsWithRef.ref = ref;\n }\n\n let propsWithStringClassName = useArrayLikeClassNameProp(propsWithRef);\n\n const transformFn = useBoxTransform();\n if (transformFn) {\n propsWithStringClassName = transformFn(propsWithStringClassName);\n }\n\n const propsWithoutStylingProps = useStylingProps(propsWithStringClassName);\n const propsWithoutBoxOnlyProps = useBoxOnlyProps(propsWithoutStylingProps);\n\n const element = createElement(is, propsWithoutBoxOnlyProps, children);\n\n if (transformFn) {\n return <BoxTransforms.Provider children={element} value={null} />;\n }\n\n return element;\n});\n\nexport default memo(Box);\n","import { createContext, useContext, useMemo } from 'react';\n\nexport const BoxTransforms = createContext<null | ((props: any) => any)>(null);\n\nexport const useBoxTransform = () => useContext(BoxTransforms);\n\nexport const useComposedBoxTransform = (fn: (props: any) => any) => {\n const parentFn = useContext(BoxTransforms);\n\n return useMemo(() => {\n if (!parentFn) {\n return fn;\n }\n\n if (!fn) {\n return parentFn;\n }\n\n return (props: any) => fn(parentFn(props));\n }, [fn, parentFn]);\n};\n","import type { cssFn } from '@rocket.chat/css-in-js';\nimport type { ReactElement } from 'react';\nimport { cloneElement } from 'react';\n\nimport { useArrayLikeClassNameProp } from '../../hooks/useArrayLikeClassNameProp';\nimport type { Falsy } from '../../types/Falsy';\n\nimport type { StylingProps } from './stylingProps';\nimport { useStylingProps } from './useStylingProps';\n\nexport type StylingBoxProps = {\n children: ReactElement<{ className?: string }>;\n className?: string | cssFn | (string | cssFn | Falsy)[];\n} & Partial<StylingProps>;\n\n/**\n * Merges its `StylingProps` props into a `className` prop passed to a child element.\n *\n * This is intended to be used as a wrapper for components that accept styling props but don't need the weight of the\n * `Box` component prop handling internally.\n */\nexport const StylingBox = ({ children, ...props }: StylingBoxProps) => {\n const propsWithStringClassName = useArrayLikeClassNameProp(props);\n propsWithStringClassName.className = [\n children.props.className,\n propsWithStringClassName.className,\n ]\n .filter(Boolean)\n .join(' ');\n const propsWithoutStylingProps = useStylingProps(propsWithStringClassName);\n\n return cloneElement(children, propsWithoutStylingProps);\n};\n\nexport default StylingBox;\n","export { default, default as Box, BoxProps } from './Box';\nexport { default as StylingBox, type StylingBoxProps } from './StylingBox';\n","import type { cssFn } from '@rocket.chat/css-in-js';\nimport { css } from '@rocket.chat/css-in-js';\nimport type { CSSProperties } from 'react';\n\nimport type { Var } from '../../Theme';\nimport { Palette } from '../../Theme';\nimport { fromCamelToKebab } from '../../helpers/fromCamelToKebab';\nimport {\n borderRadius,\n borderWidth,\n backgroundColor,\n fontColor,\n fontFamily,\n fontScale,\n inset,\n margin,\n padding,\n size,\n strokeColor,\n} from '../../styleTokens';\n\ntype FontScale =\n | 'hero'\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'p1'\n | 'p1m'\n | 'p1b'\n | 'p2'\n | 'p2m'\n | 'p2b'\n | 'c1'\n | 'c2'\n | 'micro';\n\nexport type StylingProps = {\n border: CSSProperties['border'];\n borderBlock: CSSProperties['borderBlock'];\n borderBlockStart: CSSProperties['borderBlockStart'];\n borderBlockEnd: CSSProperties['borderBlockEnd'];\n borderInline: CSSProperties['borderInline'];\n borderInlineStart: CSSProperties['borderInlineStart'];\n borderInlineEnd: CSSProperties['borderInlineEnd'];\n borderWidth: CSSProperties['borderWidth'];\n borderBlockWidth: CSSProperties['borderBlockWidth'];\n borderBlockStartWidth: CSSProperties['borderBlockStartWidth'];\n borderBlockEndWidth: CSSProperties['borderBlockEndWidth'];\n borderInlineWidth: CSSProperties['borderInlineWidth'];\n borderInlineStartWidth: CSSProperties['borderInlineStartWidth'];\n borderInlineEndWidth: CSSProperties['borderInlineEndWidth'];\n borderStyle: CSSProperties['borderStyle'];\n borderBlockStyle: CSSProperties['borderBlockStyle'];\n borderBlockStartStyle: CSSProperties['borderBlockStartStyle'];\n borderBlockEndStyle: CSSProperties['borderBlockEndStyle'];\n borderInlineStyle: CSSProperties['borderInlineStyle'];\n borderInlineStartStyle: CSSProperties['borderInlineStartStyle'];\n borderInlineEndStyle: CSSProperties['borderInlineEndStyle'];\n borderColor: CSSProperties['borderColor'];\n borderBlockColor: CSSProperties['borderBlockColor'];\n borderBlockStartColor: CSSProperties['borderBlockStartColor'];\n borderBlockEndColor: CSSProperties['borderBlockEndColor'];\n borderInlineColor: CSSProperties['borderInlineColor'];\n borderInlineStartColor: CSSProperties['borderInlineStartColor'];\n borderInlineEndColor: CSSProperties['borderInlineEndColor'];\n borderRadius: CSSProperties['borderRadius'];\n borderStartStartRadius: CSSProperties['borderStartStartRadius'];\n borderStartEndRadius: CSSProperties['borderStartEndRadius'];\n borderEndStartRadius: CSSProperties['borderEndStartRadius'];\n borderEndEndRadius: CSSProperties['borderEndEndRadius'];\n\n color: CSSProperties['color'] | Var;\n backgroundColor: CSSProperties['backgroundColor'] | Var;\n bg: CSSProperties['backgroundColor'] | Var;\n opacity: CSSProperties['opacity'];\n\n alignItems: CSSProperties['alignItems'];\n alignContent: CSSProperties['alignContent'];\n justifyItems: CSSProperties['justifyItems'];\n justifyContent: CSSProperties['justifyContent'];\n flexWrap: CSSProperties['flexWrap'];\n flexDirection: CSSProperties['flexDirection'];\n flexGrow: CSSProperties['flexGrow'];\n flexShrink: CSSProperties['flexShrink'];\n flexBasis: CSSProperties['flexBasis'];\n justifySelf: CSSProperties['justifySelf'];\n alignSelf: CSSProperties['alignSelf'];\n order: CSSProperties['order'];\n\n w: CSSProperties['width'];\n width: CSSProperties['width'];\n minWidth: CSSProperties['minWidth'];\n maxWidth: CSSProperties['maxWidth'];\n h: CSSProperties['height'];\n height: CSSProperties['height'];\n minHeight: CSSProperties['minHeight'];\n maxHeight: CSSProperties['maxHeight'];\n display: CSSProperties['display'];\n verticalAlign: CSSProperties['verticalAlign'];\n overflow: CSSProperties['overflow'];\n overflowX: CSSProperties['overflowX'];\n overflowY: CSSProperties['overflowY'];\n\n position: CSSProperties['position'];\n zIndex: CSSProperties['zIndex'];\n inset: CSSProperties['inset'];\n insetBlock: CSSProperties['insetBlock'];\n insetBlockStart: CSSProperties['insetBlockStart'];\n insetBlockEnd: CSSProperties['insetBlockEnd'];\n insetInline: CSSProperties['insetInline'];\n insetInlineStart: CSSProperties['insetInlineStart'];\n insetInlineEnd: CSSProperties['insetInlineEnd'];\n\n m: CSSProperties['margin'];\n margin: CSSProperties['margin'];\n mb: CSSProperties['marginBlock'];\n marginBlock: CSSProperties['marginBlock'];\n mbs: CSSProperties['marginBlockStart'];\n marginBlockStart: CSSProperties['marginBlockStart'];\n mbe: CSSProperties['marginBlockEnd'];\n marginBlockEnd: CSSProperties['marginBlockEnd'];\n mi: CSSProperties['marginInline'];\n marginInline: CSSProperties['marginInline'];\n mis: CSSProperties['marginInlineStart'];\n marginInlineStart: CSSProperties['marginInlineStart'];\n mie: CSSProperties['marginInlineEnd'];\n marginInlineEnd: CSSProperties['marginInlineEnd'];\n p: CSSProperties['padding'];\n padding: CSSProperties['padding'];\n pb: CSSProperties['paddingBlock'];\n paddingBlock: CSSProperties['paddingBlock'];\n pbs: CSSProperties['paddingBlockStart'];\n paddingBlockStart: CSSProperties['paddingBlockStart'];\n pbe: CSSProperties['paddingBlockEnd'];\n paddingBlockEnd: CSSProperties['paddingBlockEnd'];\n pi: CSSProperties['paddingInline'];\n paddingInline: CSSProperties['paddingInline'];\n pis: CSSProperties['paddingInlineStart'];\n paddingInlineStart: CSSProperties['paddingInlineStart'];\n pie: CSSProperties['paddingInlineEnd'];\n paddingInlineEnd: CSSProperties['paddingInlineEnd'];\n\n fontFamily: CSSProperties['fontFamily'] | FontScale;\n fontSize: CSSProperties['fontSize'] | FontScale;\n fontStyle: CSSProperties['fontStyle'];\n fontWeight: CSSProperties['fontWeight'] | FontScale;\n letterSpacing: CSSProperties['letterSpacing'] | FontScale;\n lineHeight: CSSProperties['lineHeight'] | FontScale;\n textAlign: CSSProperties['textAlign'];\n textTransform: CSSProperties['textTransform'];\n textDecorationLine: CSSProperties['textDecorationLine'];\n wordBreak: CSSProperties['wordBreak'];\n\n elevation: '0' | '1' | '2' | '1nb' | '2nb';\n invisible: boolean;\n withTruncatedText: boolean;\n size: CSSProperties['blockSize'];\n minSize: CSSProperties['blockSize'];\n maxSize: CSSProperties['blockSize'];\n fontScale: FontScale;\n};\n\ntype PropDefinition =\n | {\n toCSSValue: (value: unknown) => string | undefined;\n }\n | { aliasOf: keyof StylingProps }\n | {\n toStyle: (value: unknown) => cssFn | undefined;\n };\n\nconst stringProp: PropDefinition = {\n toCSSValue: (value) => (typeof value === 'string' ? value : undefined),\n};\n\nconst numberOrStringProp: PropDefinition = {\n toCSSValue: (value) => {\n if (typeof value === 'number' || typeof value === 'string') {\n return String(value);\n }\n\n return undefined;\n },\n};\n\nconst borderWidthProp: PropDefinition = {\n toCSSValue: borderWidth,\n};\n\nconst borderRadiusProp: PropDefinition = {\n toCSSValue: borderRadius,\n};\n\nconst backgroundColorProp: PropDefinition = {\n toCSSValue: backgroundColor,\n};\n\nconst fontColorProp: PropDefinition = {\n toCSSValue: fontColor,\n};\n\nconst strokeColorProp: PropDefinition = {\n toCSSValue: strokeColor,\n};\n\nconst sizeProp: PropDefinition = {\n toCSSValue: size,\n};\n\nconst insetProp: PropDefinition = {\n toCSSValue: inset,\n};\n\nconst marginProp: PropDefinition = {\n toCSSValue: margin,\n};\n\nconst paddingProp: PropDefinition = {\n toCSSValue: padding,\n};\n\nconst fontFamilyProp: PropDefinition = {\n toCSSValue: fontFamily,\n};\n\nconst fontSizeProp: PropDefinition = {\n toCSSValue: (value) => fontScale(value)?.fontSize || size(value),\n};\n\nconst fontWeightProp: PropDefinition = {\n toCSSValue: (value) =>\n value ? String(fontScale(value)?.fontWeight || value) : undefined,\n};\n\nconst lineHeightProp: PropDefinition = {\n toCSSValue: (value) => fontScale(value)?.lineHeight || size(value),\n};\n\nconst letterSpacingProp: PropDefinition = {\n toCSSValue: (value) =>\n value ? String(fontScale(value)?.letterSpacing || value) : undefined,\n};\n\nconst aliasOf = (propName: keyof StylingProps): PropDefinition => ({\n aliasOf: propName,\n});\n\nexport const propDefs: Record<keyof StylingProps, PropDefinition> = {\n border: stringProp,\n borderBlock: stringProp,\n borderBlockStart: stringProp,\n borderBlockEnd: stringProp,\n borderInline: stringProp,\n borderInlineStart: stringProp,\n borderInlineEnd: stringProp,\n borderWidth: borderWidthProp,\n borderBlockWidth: borderWidthProp,\n borderBlockStartWidth: borderWidthProp,\n borderBlockEndWidth: borderWidthProp,\n borderInlineWidth: borderWidthProp,\n borderInlineStartWidth: borderWidthProp,\n borderInlineEndWidth: borderWidthProp,\n borderStyle: stringProp,\n borderBlockStyle: stringProp,\n borderBlockStartStyle: stringProp,\n borderBlockEndStyle: stringProp,\n borderInlineStyle: stringProp,\n borderInlineStartStyle: stringProp,\n borderInlineEndStyle: stringProp,\n borderColor: strokeColorProp,\n borderBlockColor: strokeColorProp,\n borderBlockStartColor: strokeColorProp,\n borderBlockEndColor: strokeColorProp,\n borderInlineColor: strokeColorProp,\n borderInlineStartColor: strokeColorProp,\n borderInlineEndColor: strokeColorProp,\n borderRadius: borderRadiusProp,\n borderStartStartRadius: borderRadiusProp,\n borderStartEndRadius: borderRadiusProp,\n borderEndStartRadius: borderRadiusProp,\n borderEndEndRadius: borderRadiusProp,\n\n color: fontColorProp,\n backgroundColor: backgroundColorProp,\n bg: aliasOf('backgroundColor'),\n opacity: numberOrStringProp,\n\n alignItems: stringProp,\n alignContent: stringProp,\n justifyItems: stringProp,\n justifyContent: stringProp,\n flexWrap: stringProp,\n flexDirection: stringProp,\n flexGrow: numberOrStringProp,\n flexShrink: numberOrStringProp,\n flexBasis: stringProp,\n justifySelf: stringProp,\n alignSelf: stringProp,\n order: numberOrStringProp,\n\n w: aliasOf('width'),\n width: sizeProp,\n minWidth: sizeProp,\n maxWidth: sizeProp,\n h: aliasOf('height'),\n height: sizeProp,\n minHeight: sizeProp,\n maxHeight: sizeProp,\n display: stringProp,\n verticalAlign: stringProp,\n overflow: stringProp,\n overflowX: stringProp,\n overflowY: stringProp,\n\n position: stringProp,\n zIndex: numberOrStringProp,\n inset: insetProp,\n insetBlock: insetProp,\n insetBlockStart: insetProp,\n insetBlockEnd: insetProp,\n insetInline: insetProp,\n insetInlineStart: insetProp,\n insetInlineEnd: insetProp,\n\n m: aliasOf('margin'),\n margin: marginProp,\n mb: aliasOf('marginBlock'),\n marginBlock: marginProp,\n mbs: aliasOf('marginBlockStart'),\n marginBlockStart: marginProp,\n mbe: aliasOf('marginBlockEnd'),\n marginBlockEnd: marginProp,\n mi: aliasOf('marginInline'),\n marginInline: marginProp,\n mis: aliasOf('marginInlineStart'),\n marginInlineStart: marginProp,\n mie: aliasOf('marginInlineEnd'),\n marginInlineEnd: marginProp,\n p: aliasOf('padding'),\n padding: paddingProp,\n pb: aliasOf('paddingBlock'),\n paddingBlock: paddingProp,\n pbs: aliasOf('paddingBlockStart'),\n paddingBlockStart: paddingProp,\n pbe: aliasOf('paddingBlockEnd'),\n paddingBlockEnd: paddingProp,\n pi: aliasOf('paddingInline'),\n paddingInline: paddingProp,\n pis: aliasOf('paddingInlineStart'),\n paddingInlineStart: paddingProp,\n pie: aliasOf('paddingInlineEnd'),\n paddingInlineEnd: paddingProp,\n\n fontFamily: fontFamilyProp,\n fontSize: fontSizeProp,\n fontStyle: stringProp,\n fontWeight: fontWeightProp,\n letterSpacing: letterSpacingProp,\n lineHeight: lineHeightProp,\n textAlign: stringProp,\n textTransform: stringProp,\n textDecorationLine: stringProp,\n wordBreak: stringProp,\n\n elevation: {\n toStyle: (value) => {\n if (value === '0') {\n return css`\n box-shadow: none;\n `;\n }\n\n if (value === '1') {\n return css`\n box-shadow: 0px 0px 12px 0px ${Palette.shadow['shadow-elevation-1']};\n border: 1px solid ${Palette.shadow['shadow-elevation-border']};\n `;\n }\n\n if (value === '1nb') {\n return css`\n box-shadow: 0px 0px 12px 0px ${Palette.shadow['shadow-elevation-1']};\n `;\n }\n\n if (value === '2') {\n return css`\n box-shadow:\n 0px 0px 2px 0px ${Palette.shadow['shadow-elevation-2x']},\n 0px 0px 12px 0px ${Palette.shadow['shadow-elevation-2y']};\n border: 1px solid ${Palette.shadow['shadow-elevation-border']};\n `;\n }\n\n if (value === '2nb') {\n return css`\n box-shadow:\n 0px 0px 2px 0px ${Palette.shadow['shadow-elevation-2x']},\n 0px 0px 12px 0px ${Palette.shadow['shadow-elevation-2y']};\n `;\n }\n\n return undefined;\n },\n },\n invisible: {\n toStyle: (value) =>\n value\n ? css`\n visibility: hidden;\n opacity: 0;\n `\n : undefined,\n },\n withTruncatedText: {\n toStyle: (value) =>\n value\n ? css`\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n `\n : undefined,\n },\n size: {\n toStyle: (value) =>\n size(value)\n ? css`\n width: ${size(value)} !important;\n height: ${size(value)} !important;\n `\n : undefined,\n },\n minSize: {\n toStyle: (value) =>\n size(value)\n ? css`\n min-width: ${size(value)} !important;\n min-height: ${size(value)} !important;\n `\n : undefined,\n },\n maxSize: {\n toStyle: (value) =>\n size(value)\n ? css`\n max-width: ${size(value)} !important;\n max-height: ${size(value)} !important;\n `\n : undefined,\n },\n fontScale: {\n toStyle: (value) => css`\n font-size: ${fontScale(value)?.fontSize} !important;\n font-weight: ${fontScale(value)?.fontWeight} !important;\n letter-spacing: ${fontScale(value)?.letterSpacing} !important;\n line-height: ${fontScale(value)?.lineHeight} !important;\n `,\n },\n};\n\nconst compiledPropDefs = new Map(\n (Object.entries(propDefs) as [keyof StylingProps, PropDefinition][]).map(\n ([propName, propDef]): [\n propName: string,\n inject: (\n value: unknown,\n stylingProps: Map<keyof StylingProps, cssFn>,\n ) => void,\n ] => {\n if ('aliasOf' in propDef) {\n const { aliasOf: effectivePropName } = propDef;\n\n return [\n propName,\n (value, stylingProps) => {\n if (stylingProps.has(effectivePropName)) {\n return;\n }\n\n const inject = compiledPropDefs.get(effectivePropName);\n\n inject?.(value, stylingProps);\n },\n ];\n }\n\n if ('toCSSValue' in propDef) {\n const cssProperty = fromCamelToKebab(propName);\n const { toCSSValue } = propDef;\n return [\n propName,\n (value, stylingProps) => {\n const cssValue = toCSSValue(value);\n\n if (cssValue === undefined) {\n return;\n }\n\n stylingProps.set(\n propName,\n css`\n ${cssProperty}: ${cssValue} !important;\n `,\n );\n },\n ];\n }\n\n const { toStyle } = propDef;\n\n return [\n propName,\n (value, stylingProps) => {\n const style = toStyle(value);\n\n if (style === undefined) {\n return;\n }\n\n stylingProps.set(propName, style);\n },\n ];\n },\n ),\n);\n\nexport const extractStylingProps = <TProps extends Record<string, unknown>>(\n props: TProps & Partial<StylingProps>,\n): [props: TProps, styles: cssFn | undefined] => {\n const stylingProps = new Map<keyof StylingProps, cssFn>();\n const newProps: Record<string, unknown> = {};\n\n for (const [propName, value] of Object.entries(props)) {\n const inject = compiledPropDefs.get(propName);\n\n if (!inject) {\n newProps[propName] = value;\n continue;\n }\n\n if (value === undefined) {\n continue;\n }\n\n inject(value, stylingProps);\n }\n\n const styles = stylingProps.size\n ? css`\n ${Array.from(stylingProps.values())}\n `\n : undefined;\n\n return [newProps as TProps, styles];\n};\n","import { appendClassName } from '../../helpers/appendClassName';\nimport { useStyle } from '../../hooks/useStyle';\n\nimport type { StylingProps } from './stylingProps';\nimport { extractStylingProps } from './stylingProps';\n\nexport const useStylingProps = <TProps extends { className?: string }>(\n originalProps: TProps,\n): Omit<TProps, keyof StylingProps> => {\n const [props, styles] = extractStylingProps(originalProps);\n\n const newClassName = useStyle(styles, undefined);\n\n if (newClassName) {\n props.className = props.className\n ? appendClassName(props.className, newClassName)\n : newClassName;\n }\n\n return props;\n};\n","import type { ComponentPropsWithoutRef, ComponentType } from 'react';\n\nimport type { StylingProps } from './stylingProps';\nimport { useStylingProps } from './useStylingProps';\n\nexport const withBoxStyling = <\n TComponent extends ComponentType<{\n className?: string;\n }>,\n>(\n Component: TComponent,\n) => {\n const WithBoxStyling = (\n props: ComponentPropsWithoutRef<TComponent> & Partial<StylingProps>,\n ) => {\n const propsWithoutStylingProps = useStylingProps(props);\n return <Component {...(propsWithoutStylingProps as any)} />;\n };\n\n WithBoxStyling.displayName = `WithBoxStyling(${\n Component.displayName || Component.name || 'Component'\n })`;\n\n return WithBoxStyling;\n};\n","import type { Keys as IconName } from '@rocket.chat/icons';\nimport type { AllHTMLAttributes, ButtonHTMLAttributes, ReactNode } from 'react';\n\nimport { BubbleButton } from './BubbleButton';\nimport { BubbleItem } from './BubbleItem';\n\ntype BubbleProps = {\n secondary?: boolean;\n children: ReactNode;\n small?: boolean;\n onClick?: () => void;\n icon?: IconName;\n onDismiss?: () => void;\n contentProps?: Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick'>;\n dismissProps?: Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick'>;\n} & Omit<AllHTMLAttributes<HTMLDivElement>, 'onClick'>;\n\nexport const Bubble = ({\n secondary,\n children,\n onClick,\n icon,\n onDismiss,\n small,\n contentProps,\n dismissProps,\n ...props\n}: BubbleProps) => (\n <div\n className={[\n 'rcx-bubble',\n 'rcx-box',\n 'rcx-box--full',\n onDismiss && 'rcx-bubble__group',\n small && 'rcx-bubble--small',\n ].join(' ')}\n {...props}\n >\n {onClick ? (\n <BubbleButton\n onClick={onClick}\n secondary={secondary}\n icon={icon}\n label={children}\n {...contentProps}\n />\n ) : (\n <BubbleItem\n secondary={secondary}\n icon={icon}\n label={children}\n {...contentProps}\n />\n )}\n {onDismiss && (\n <BubbleButton\n onClick={onDismiss}\n secondary={secondary}\n icon='cross-small'\n {...{ 'aria-label': `Dismiss ${children}`, ...dismissProps }}\n />\n )}\n </div>\n);\n","import type { Keys as IconName } from '@rocket.chat/icons';\nimport type { ButtonHTMLAttributes, ReactNode } from 'react';\n\nimport { Icon } from '../Icon';\n\ntype BubbleButtonProps = {\n onClick: () => void;\n label?: ReactNode;\n secondary?: boolean;\n icon?: IconName;\n} & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick'>;\n\nexport const BubbleButton = ({\n secondary,\n label,\n onClick,\n icon,\n ...props\n}: BubbleButtonProps) => (\n <button\n className={`rcx-box rcx-box--full rcx-bubble__button ${\n secondary\n ? 'rcx-bubble__button--secondary'\n : 'rcx-bubble__button--primary'\n }`}\n onClick={onClick}\n {...props}\n >\n {icon && <Icon name={icon} size='x16' />}\n {label && <span>{label}</span>}\n </button>\n);\n","import type { Keys as IconName } from '@rocket.chat/icons';\nimport type { HTMLAttributes, ReactNode } from 'react';\n\nimport { Icon } from '../Icon';\n\ntype BubbleItemProps = {\n label?: ReactNode;\n secondary?: boolean;\n icon?: IconName;\n} & HTMLAttributes<HTMLSpanElement>;\n\nexport const BubbleItem = ({\n secondary,\n label,\n icon,\n ...props\n}: BubbleItemProps) => (\n <span\n className={`rcx-bubble__item ${\n secondary ? 'rcx-bubble__item--secondary' : 'rcx-bubble__item--primary'\n }`}\n {...props}\n >\n {icon && <Icon name={icon} size='x16' mie={8} />}\n {label && <span>{label}</span>}\n </span>\n);\n","export * from './Bubble';\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { Icon } from '../Icon';\n\nimport { Button } from '.';\nimport type { ButtonProps } from './Button';\n\ntype ButtonSize = {\n mini?: boolean;\n tiny?: boolean;\n small?: boolean;\n};\ntype ActionButtonProps = ButtonProps &\n ButtonSize & {\n icon: ComponentProps<typeof Icon>['name'];\n };\n\nconst getSize = ({ tiny, mini, small }: ButtonSize) => {\n if (mini) {\n return 'x16';\n }\n if (tiny || small) {\n return 'x20';\n }\n return 'x20';\n};\n\nexport const ActionButton = forwardRef(\n ({ icon, children, ...props }: ActionButtonProps, ref: Ref<HTMLElement>) => (\n <Button ref={ref} square flexShrink={0} {...props}>\n {children}\n <Icon name={icon} size={getSize(props)} />\n </Button>\n ),\n);\n","import type { AllHTMLAttributes, ComponentProps, Ref } from 'react';\nimport { forwardRef, useMemo } from 'react';\n\nimport Box from '../Box';\nimport { Icon } from '../Icon';\n\nexport type ButtonProps = ComponentProps<typeof Box> & {\n primary?: boolean;\n secondary?: boolean;\n danger?: boolean;\n warning?: boolean;\n success?: boolean;\n disabled?: boolean;\n loading?: boolean;\n mini?: boolean;\n tiny?: boolean;\n small?: boolean;\n medium?: boolean;\n large?: boolean;\n square?: boolean;\n external?: boolean;\n icon?: ComponentProps<typeof Icon>['name'];\n} & Omit<\n AllHTMLAttributes<HTMLButtonElement | HTMLAnchorElement>,\n 'is' | 'className' | 'size'\n >;\n\n/**\n * Indicates an actionable user action.\n */\nexport const Button = forwardRef(function Button(\n {\n primary,\n secondary,\n danger,\n warning,\n success,\n external,\n icon,\n is = 'button',\n rel: _rel,\n tiny,\n mini,\n small,\n medium,\n large,\n square,\n loading,\n disabled,\n children,\n ...props\n }: ButtonProps,\n ref: Ref<HTMLButtonElement | HTMLAnchorElement>,\n) {\n const extraProps =\n (is === 'a' && {\n rel: external ? 'noopener noreferrer' : undefined,\n target: external ? '_blank' : undefined,\n }) ||\n (is === 'button' && {\n type: 'button',\n }) ||\n {};\n\n const kindAndVariantProps = useMemo(() => {\n const variant =\n (primary && 'primary') ||\n (secondary && success && 'secondary-success') ||\n (secondary && warning && 'secondary-warning') ||\n (secondary && danger && 'secondary-danger') ||\n (success && 'success') ||\n (warning && 'warning') ||\n (danger && 'danger') ||\n (secondary && 'secondary');\n\n if (variant) {\n return {\n [`rcx-button--${[variant].filter(Boolean).join('-')}`]: true,\n };\n }\n\n return {};\n }, [primary, secondary, danger, warning, success]);\n\n return (\n <Box\n is={is}\n type='button'\n rcx-button\n {...kindAndVariantProps}\n rcx-button--small={small}\n rcx-button--medium={medium}\n rcx-button--large={large}\n rcx-button--square={square}\n rcx-button--tiny-square={tiny && square}\n rcx-button--mini-square={mini && square}\n rcx-button--small-square={small && square}\n rcx-button--medium-square={medium && square}\n rcx-button--large-square={large && square}\n rcx-button--loading={loading}\n disabled={disabled || loading}\n ref={ref}\n {...extraProps}\n {...props}\n >\n <span className='rcx-button--content'>\n {icon && !loading && <Icon size='x16' name={icon} mie={4} />}\n {loading && <Icon size='x16' name='loading' mie={4} />}\n {children}\n </span>\n </Box>\n );\n});\n\nexport default Button;\n","import type { ComponentProps, ReactElement, Ref } from 'react';\nimport { isValidElement, useMemo, forwardRef } from 'react';\n\nimport Box from '../Box';\nimport { Icon } from '../Icon';\n\ntype ButtonSize = {\n large?: boolean;\n medium?: boolean;\n small?: boolean;\n tiny?: boolean;\n mini?: boolean;\n};\n\ntype IconButtonProps = {\n icon: ComponentProps<typeof Icon>['name'] | ReactElement;\n primary?: boolean;\n secondary?: boolean;\n info?: boolean;\n danger?: boolean;\n warning?: boolean;\n success?: boolean;\n pressed?: boolean;\n} & ButtonSize &\n ComponentProps<typeof Box>;\n\nconst getVariantClass = (variant: string) => {\n if (variant) {\n const variantClass = [\n `rcx-button--icon-${[variant].filter(Boolean).join('-')}`,\n ];\n return variantClass;\n }\n return [''];\n};\n\nconst getPressedClass = (variant: string) => {\n const variantClass = [\n `rcx-button--icon-${[variant].filter(Boolean).join('-')}-pressed`,\n ];\n return variantClass;\n};\n\nexport const IconButton = forwardRef(\n (\n {\n icon,\n primary,\n info,\n secondary,\n danger,\n warning,\n success,\n mini,\n large,\n tiny,\n small,\n medium,\n pressed,\n children,\n ...props\n }: IconButtonProps,\n ref: Ref<HTMLElement>,\n ) => {\n const variant = useMemo(\n () =>\n (secondary && danger && 'secondary-danger') ||\n (secondary && warning && 'secondary-warning') ||\n (secondary && success && 'secondary-success') ||\n (secondary && info && 'secondary-info') ||\n (info && 'info') ||\n (success && 'success') ||\n (warning && 'warning') ||\n (danger && 'danger') ||\n (primary && 'secondary-info') ||\n (secondary && 'secondary') ||\n '',\n [danger, info, primary, secondary, success, warning],\n );\n\n const kindAndVariantProps = useMemo(() => {\n const variantProp = {} as any;\n if (variant) {\n variantProp[`${getVariantClass(variant)}`] = true;\n }\n if (pressed) {\n variantProp[`${getPressedClass(variant)}`] = true;\n }\n return variantProp;\n }, [variant, pressed]);\n\n const size = useMemo(\n () =>\n (mini && 'mini') ||\n (tiny && 'tiny') ||\n (small && 'small') ||\n (medium && 'medium') ||\n (large && 'large') ||\n 'large',\n [medium, mini, small, tiny, large],\n );\n\n const getSizeClass = () => ({ [`rcx-button--${size}-square`]: true });\n\n const getIconSize = () =>\n (large && 'x28') ||\n (medium && 'x24') ||\n (small && 'x20') ||\n (tiny && 'x16') ||\n (mini && 'x12') ||\n 'x28';\n\n return (\n <Box\n is='button'\n type='button'\n rcx-button\n rcx-button--icon\n rcx-button--square\n {...kindAndVariantProps}\n {...getSizeClass()}\n rcx-button--icon-pressed={pressed}\n ref={ref}\n {...props}\n >\n {isValidElement(icon) ? (\n icon\n ) : (\n <Icon\n name={icon as ComponentProps<typeof Icon>['name']}\n size={getIconSize()}\n />\n )}\n {children}\n </Box>\n );\n },\n);\n","export { default, Button } from './Button';\nexport { ActionButton } from './ActionButton';\nexport { IconButton } from './IconButton';\n","import type { HTMLAttributes, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { appendClassName } from '../../helpers/appendClassName';\nimport { patchChildren } from '../../helpers/patchChildren';\n\ntype ButtonGroupProps = {\n align?: 'start' | 'center' | 'end';\n stretch?: boolean;\n wrap?: boolean;\n vertical?: boolean;\n small?: boolean;\n large?: boolean;\n} & HTMLAttributes<HTMLDivElement>;\n\n/**\n * A container for grouping buttons that semantically share a common action context.\n */\nexport const ButtonGroup = forwardRef(function ButtonGroup(\n {\n align = 'start',\n children,\n stretch,\n vertical,\n wrap,\n small,\n large,\n className,\n ...props\n }: ButtonGroupProps,\n ref: Ref<HTMLDivElement>,\n) {\n return (\n <div\n ref={ref}\n className={[\n 'rcx-button-group',\n stretch && 'rcx-button-group--stretch',\n vertical && 'rcx-button-group--vertical',\n align && `rcx-button-group--align-${align}`,\n small && 'rcx-button-group--small',\n large && 'rcx-button-group--large',\n wrap && 'rcx-button-group--wrap',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n role='group'\n {...props}\n >\n {patchChildren(\n children,\n (childProps: { className: string | string[] }) => ({\n className: appendClassName(\n childProps.className,\n 'rcx-button-group__item',\n ),\n }),\n )}\n </div>\n );\n});\n","export * from './ButtonGroup';\n","import { useResizeObserver } from '@rocket.chat/fuselage-hooks';\nimport type { ComponentProps, ReactElement, ReactNode } from 'react';\n\nimport Box from '../Box';\nimport { Icon } from '../Icon';\n\ntype CalloutProps = Omit<ComponentProps<typeof Box>, 'type' | 'name'> & {\n type?: 'info' | 'success' | 'warning' | 'danger';\n title?: ReactNode;\n children?: ReactNode;\n icon?: ComponentProps<typeof Icon>['name'];\n actions?: ReactElement;\n};\n\nconst WRAPPER_LIMIT_SIZE = 420;\n\n/**\n * The `Callout` is used to get the user's attention explaining something important in the content of the current page.\n */\nexport const Callout = ({\n type,\n title,\n children,\n icon,\n className,\n actions,\n ...props\n}: CalloutProps) => {\n const { ref, borderBoxSize } = useResizeObserver();\n const isLarge =\n borderBoxSize.inlineSize && borderBoxSize.inlineSize >= WRAPPER_LIMIT_SIZE;\n\n const defaultIcon =\n (type === 'info' && 'info-circled') ||\n (type === 'success' && 'checkmark-circled') ||\n (type === 'warning' && 'warning') ||\n (type === 'danger' && 'ban') ||\n 'info-circled';\n\n return (\n <Box\n ref={ref}\n is='section'\n className={['rcx-callout', type && `rcx-callout--${type}`, className]\n .filter(Boolean)\n .join(' ')}\n {...props}\n >\n <Icon\n className='rcx-callout__icon'\n name={icon || defaultIcon}\n size='x20'\n />\n <Box rcx-callout__wrapper rcx-callout__wrapper--large={isLarge}>\n <Box rcx-callout__wrapper-content>\n {title && <Box rcx-callout__title>{title}</Box>}\n {children && <Box rcx-callout__content>{children}</Box>}\n </Box>\n {actions && <Box rcx-callout__actions>{actions}</Box>}\n </Box>\n </Box>\n );\n};\n","export * from './Callout';\n","import { useBreakpoints } from '@rocket.chat/fuselage-hooks';\nimport type { AllHTMLAttributes } from 'react';\n\nimport Box from '../Box/Box';\n\ntype CardProps = {\n horizontal?: boolean;\n hero?: boolean;\n clickable?: boolean;\n} & Omit<AllHTMLAttributes<HTMLElement>, 'is'>;\n\nconst Card = ({ horizontal, hero, clickable, ...props }: CardProps) => {\n const breakpoints = useBreakpoints();\n const isMobile = !breakpoints.includes('sm');\n\n return (\n <Box\n rcx-card\n rcx-card__horizontal={horizontal}\n rcx-card__vertical={!horizontal}\n rcx-card__hero={hero}\n rcx-card__horizontal--wrap={horizontal && isMobile}\n rcx-card__clickable={clickable}\n {...props}\n />\n );\n};\n\nexport default Card;\n","import type {\n AllHTMLAttributes,\n CSSProperties,\n ComponentProps,\n ReactNode,\n} from 'react';\n\nimport Box from '../Box/Box';\n\ntype CardBodyProps = {\n flexDirection?: CSSProperties['flexDirection'];\n height?: ComponentProps<typeof Box>['height'];\n children: ReactNode;\n} & Omit<AllHTMLAttributes<HTMLElement>, 'is'>;\n\nconst CardBody = ({\n children,\n flexDirection = 'row',\n height,\n ...props\n}: CardBodyProps) => (\n <Box\n fontScale='p2m'\n display='flex'\n flexDirection={flexDirection}\n flexGrow={1}\n height={height}\n rcx-card__body\n {...props}\n >\n {children}\n </Box>\n);\n\nexport default CardBody;\n","import type { AllHTMLAttributes, ReactNode } from 'react';\n\nconst CardCol = ({\n children,\n ...props\n}: { children: ReactNode } & AllHTMLAttributes<HTMLElement>) => (\n <div className='rcx-card__col' {...props}>\n {children}\n </div>\n);\n\nexport default CardCol;\n","const CardControls = ({ ...props }) => (\n <div className='rcx-card__controls' {...props} />\n);\n\nexport default CardControls;\n","import type { AllHTMLAttributes, ReactNode } from 'react';\n\nconst CardHeader = ({\n children,\n ...props\n}: { children: ReactNode } & AllHTMLAttributes<HTMLElement>) => (\n <div className='rcx-card__header' {...props}>\n {children}\n </div>\n);\n\nexport default CardHeader;\n","import type { AllHTMLAttributes, ReactNode } from 'react';\n\nconst CardRow = ({\n children,\n ...props\n}: { children: ReactNode } & AllHTMLAttributes<HTMLElement>) => (\n <div className='rcx-card__row' {...props}>\n {children}\n </div>\n);\n\nexport default CardRow;\n","import type { AllHTMLAttributes, ReactNode } from 'react';\n\nimport Box from '../Box/Box';\nimport { LabelInfo } from '../Label/LabelInfo';\n\nconst CardTitle = ({\n children,\n info,\n variant = 'h4',\n ...props\n}: {\n children: ReactNode;\n info?: string;\n variant?: 'h3' | 'h4' | 'h5';\n} & Omit<AllHTMLAttributes<HTMLElement>, 'is'>) => (\n <Box fontScale={variant} is={variant} rcx-card__title {...props}>\n {children}\n {info && <LabelInfo title={info} />}\n </Box>\n);\n\nexport default CardTitle;\n","export { default as Card } from './Card';\nexport { default as CardBody } from './CardBody';\nexport { default as CardCol } from './CardCol';\nexport { default as CardRow } from './CardRow';\nexport { default as CardTitle } from './CardTitle';\nexport { default as CardControls } from './CardControls';\nexport { default as CardContent } from './CardRow';\nexport { default as CardHeader } from './CardHeader';\n","import type { ComponentProps, ReactNode } from 'react';\nimport { Children } from 'react';\n\nimport Grid, { GridItem } from '../Grid';\n\ntype CardGridProps = {\n children: ReactNode;\n breakpoints?: ComponentProps<typeof GridItem>;\n};\n\nexport const CardGrid = ({\n children,\n breakpoints,\n ...props\n}: CardGridProps) => (\n <Grid rcx-card-grid m={-8} {...props}>\n {Children.map(children, (child) => (\n <GridItem rcx-card-grid__item p={8} {...breakpoints}>\n {child}\n </GridItem>\n ))}\n </Grid>\n);\n","export * from './CardGrid';\n","import type { AllHTMLAttributes, ReactNode } from 'react';\n\nimport { appendClassName } from '../../helpers/appendClassName';\nimport { patchChildren } from '../../helpers/patchChildren';\nimport Box from '../Box';\n\ntype CardGroupProps = {\n align?: 'start' | 'center' | 'end';\n stretch?: boolean;\n wrap?: boolean;\n vertical?: boolean;\n small?: boolean;\n large?: boolean;\n children?: ReactNode;\n} & Omit<AllHTMLAttributes<HTMLElement>, 'is' | 'wrap'>;\n\nexport const CardGroup = ({\n align = 'start',\n children,\n stretch,\n vertical,\n wrap,\n ...props\n}: CardGroupProps) => (\n <Box\n rcx-card-group\n rcx-card-group--align={align}\n rcx-card-group--stretch={stretch}\n rcx-card-group--vertical={vertical}\n rcx-card-group--wrap={wrap}\n role='group'\n {...props}\n >\n {patchChildren(\n children,\n (childProps: { className: string | string[] }) => ({\n className: appendClassName(\n childProps.className,\n 'rcx-card-group__item',\n ),\n }),\n )}\n </Box>\n);\n","export * from './CardGroup';\n","import { useMergedRefs } from '@rocket.chat/fuselage-hooks';\nimport type { ComponentProps, Ref, FormEvent, AllHTMLAttributes } from 'react';\nimport { forwardRef, useLayoutEffect, useRef, useCallback } from 'react';\n\nimport Box from '../Box';\n\ntype CheckBoxProps = ComponentProps<typeof Box> & {\n indeterminate?: boolean;\n} & AllHTMLAttributes<HTMLInputElement>;\n\nexport const CheckBox = forwardRef(function CheckBox(\n { indeterminate, onChange, className, ...props }: CheckBoxProps,\n ref: Ref<HTMLInputElement>,\n) {\n const innerRef = useRef<HTMLInputElement>(null);\n const mergedRef = useMergedRefs(ref, innerRef);\n\n useLayoutEffect(() => {\n if (innerRef && innerRef.current && indeterminate !== undefined) {\n innerRef.current.indeterminate = indeterminate;\n }\n }, [innerRef, indeterminate]);\n\n const handleChange = useCallback(\n (event: FormEvent<HTMLInputElement>) => {\n if (innerRef && innerRef.current && indeterminate !== undefined) {\n innerRef.current.indeterminate = indeterminate;\n }\n onChange?.call(innerRef.current, event);\n },\n [innerRef, indeterminate, onChange],\n );\n\n return (\n <Box is='label' className={className} rcx-check-box>\n <Box\n is='input'\n type='checkbox'\n rcx-check-box__input\n ref={mergedRef}\n onChange={handleChange}\n {...props}\n />\n <Box is='i' rcx-check-box__fake aria-hidden='true' />\n </Box>\n );\n});\n","export * from './CheckBox';\n","import type { ComponentProps, ReactElement } from 'react';\nimport { useMemo } from 'react';\n\nimport Box from '../Box';\nimport { Icon } from '../Icon';\n\ntype ChevronProps = Omit<ComponentProps<typeof Box>, 'size'> & {\n size?: ComponentProps<typeof Box>['width'];\n up?: boolean;\n right?: boolean;\n left?: boolean;\n down?: boolean;\n top?: boolean;\n bottom?: boolean;\n};\n\nexport function Chevron({\n up,\n right,\n down,\n left,\n size,\n ...props\n}: ChevronProps): ReactElement<ChevronProps> {\n const children = useMemo(\n () => <Icon name='chevron-down' size={size} />,\n [size],\n );\n\n return (\n <Box\n is='span'\n children={children}\n rcx-chevron\n rcx-chevron--up={up}\n rcx-chevron--right={right}\n rcx-chevron--down={down}\n rcx-chevron--left={left}\n {...props}\n />\n );\n}\n","export * from './Chevron';\n","import type { ButtonHTMLAttributes, ReactNode } from 'react';\n\nimport { Avatar, Box } from '..';\nimport { prependClassName } from '../../helpers/prependClassName';\nimport { Icon } from '../Icon';\nimport Margins from '../Margins';\n\ntype ChipProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'type'> & {\n thumbUrl?: string;\n renderThumb?: (props: { url: string }) => ReactNode;\n renderDismissSymbol?: () => ReactNode;\n};\n\nconst defaultRenderThumb = ({ url }: { url: string }) => (\n <Box rcx-avatar>\n <Avatar size='x20' url={url} />\n </Box>\n);\nconst defaultRenderDismissSymbol = () => <Icon name='cross' size='x16' />;\n\nexport const Chip = ({\n children,\n className,\n thumbUrl,\n onClick,\n onMouseDown,\n renderThumb = defaultRenderThumb,\n renderDismissSymbol = defaultRenderDismissSymbol,\n ...rest\n}: ChipProps) => {\n const onDismiss = onClick || onMouseDown;\n\n return (\n <button\n type='button'\n className={prependClassName(className, 'rcx-box rcx-chip')}\n disabled={!onDismiss}\n onClick={onDismiss}\n {...rest}\n >\n <Margins all='x4'>\n {thumbUrl && renderThumb && renderThumb({ url: thumbUrl })}\n {children && <span className='rcx-box rcx-chip__text'>{children}</span>}\n {onDismiss && renderDismissSymbol && renderDismissSymbol()}\n </Margins>\n </button>\n );\n};\n\nChip.displayName = 'Chip';\n","import { withBoxStyling } from '../Box/withBoxStyling';\n\nimport { Chip } from './Chip';\n\nexport default withBoxStyling(Chip);\n","import type { ComponentProps, ReactElement } from 'react';\n\nimport Box from '../Box';\nimport { Button } from '../Button';\nimport { Skeleton } from '../Skeleton';\n\ntype CodeSnippetProps = ComponentProps<typeof Box> & {\n children: string;\n buttonText?: string;\n buttonDisabled?: boolean;\n onClick?: () => void;\n};\n\n/**\n * The `CodeSnippet` is used to show code or commands and make easier to copy them.\n *\n * The default button text is `Copy` but you can use the `buttonText` prop to handle translations in your project.\n *\n * Please check the `useClipBoard` hook in `fuselage-hooks` package, to handle the copy behaviour.\n */\nconst CodeSnippet = ({\n children,\n onClick,\n buttonText = 'Copy',\n buttonDisabled = false,\n ...props\n}: CodeSnippetProps): ReactElement<CodeSnippetProps> => {\n if (!children) {\n return (\n <Box is='pre' rcx-code-snippet {...props}>\n <Skeleton w='100%' aria-hidden aria-busy />\n </Box>\n );\n }\n\n return (\n <Box is='pre' rcx-code-snippet {...props}>\n <Box role='code' rcx-code-snippet__codebox>\n {children}\n </Box>\n {onClick && children && (\n <Box>\n <Button small primary onClick={onClick} disabled={buttonDisabled}>\n {buttonText}\n </Button>\n </Box>\n )}\n </Box>\n );\n};\n\nexport default CodeSnippet;\n","export { default } from './CodeSnippet';\n","import type { ComponentProps } from 'react';\nimport { forwardRef, memo } from 'react';\n\nimport { Box } from '..';\n\ntype ContextualbarProps = ComponentProps<typeof Box>;\n\n/**\n * The `Contextualbar` has the purpose to persist and input information about the scope of the related page.\n */\nconst Contextualbar = forwardRef<HTMLElement, ContextualbarProps>(\n function Contextualbar(\n { children, width, position, bg = 'room', ...props },\n ref,\n ) {\n return (\n <Box\n ref={ref}\n rcx-vertical-bar\n bg={bg}\n color='default'\n display='flex'\n flexDirection='column'\n flexShrink={0}\n width={width}\n borderInlineStartWidth='default'\n borderInlineStartColor='extra-light'\n borderInlineStartStyle='solid'\n height='full'\n position={position}\n insetInlineEnd='none'\n insetBlockStart='none'\n zIndex={10}\n {...props}\n >\n {children}\n </Box>\n );\n },\n);\n\nexport default memo(Contextualbar);\n","import type { ReactElement, ComponentProps } from 'react';\nimport { memo } from 'react';\n\nimport type { Icon } from '..';\nimport { IconButton } from '..';\n\ntype ContextualbarActionProps = {\n name: ComponentProps<typeof Icon>['name'];\n} & Omit<ComponentProps<typeof IconButton>, 'icon'>;\n\nconst ContextualbarAction = ({\n name,\n ...props\n}: ContextualbarActionProps): ReactElement => (\n <IconButton {...props} small flexShrink={0} icon={name} />\n);\n\nexport default memo(ContextualbarAction);\n","import type { ReactElement, ComponentProps } from 'react';\nimport { memo } from 'react';\n\nimport { ButtonGroup } from '..';\n\nconst ContextualbarActions = (\n props: ComponentProps<typeof ButtonGroup>,\n): ReactElement => <ButtonGroup {...props} />;\n\nexport default memo(ContextualbarActions);\n","import type { ComponentProps, ReactElement } from 'react';\nimport { memo } from 'react';\n\nimport { Button } from '..';\n\nconst ContextualbarButton = (\n props: ComponentProps<typeof Button>,\n): ReactElement => <Button {...props} />;\n\nexport default memo(ContextualbarButton);\n","import type { ComponentProps } from 'react';\nimport { forwardRef, memo } from 'react';\n\nimport { Box } from '..';\n\nconst ContextualbarContent = forwardRef<\n HTMLElement,\n ComponentProps<typeof Box>\n>(function ContextualbarContent(props, ref) {\n return (\n <Box\n ref={ref}\n rcx-vertical-bar__content\n paddingInline={24}\n display='flex'\n flexDirection='column'\n overflowY='hidden'\n height='full'\n {...props}\n />\n );\n});\n\nexport default memo(ContextualbarContent);\n","import type { ComponentProps } from 'react';\nimport { forwardRef, memo } from 'react';\n\nimport type { Box } from '..';\nimport { StatesIcon, States, StatesTitle, StatesSubtitle } from '..';\n\nimport ContextualbarContent from './ContextualbarContent';\n\ntype ContextualbarEmptyContentProps = ComponentProps<typeof Box> & {\n icon?: ComponentProps<typeof StatesIcon>['name'];\n title?: string;\n subtitle?: string;\n};\n\nconst ContextualbarEmptyContent = forwardRef<\n HTMLElement,\n ContextualbarEmptyContentProps\n>(function ContextualbarEmptyContent(\n { icon = 'magnifier', title = 'Nothing Found', subtitle, ...props },\n ref,\n) {\n return (\n <ContextualbarContent justifyContent='center' {...props} ref={ref}>\n <States>\n <StatesIcon name={icon} />\n <StatesTitle>{title}</StatesTitle>\n {subtitle && <StatesSubtitle>{subtitle}</StatesSubtitle>}\n </States>\n </ContextualbarContent>\n );\n});\n\nexport default memo(ContextualbarEmptyContent);\n","import type { ComponentProps } from 'react';\nimport { forwardRef, memo } from 'react';\n\nimport { Box } from '..';\n\nconst ContextualbarFooter = forwardRef<HTMLElement, ComponentProps<typeof Box>>(\n function ContextualbarFooter({ children, ...props }, ref) {\n return (\n <Box ref={ref} p={24} {...props}>\n {children}\n </Box>\n );\n },\n);\n\nexport default memo(ContextualbarFooter);\n","import type { ComponentProps } from 'react';\nimport { memo } from 'react';\n\nimport Box from '../Box';\nimport Margins from '../Margins';\n\ntype ContextualbarHeaderProps = ComponentProps<typeof Box>;\n\nconst ContextualbarHeader = ({\n children,\n ...props\n}: ContextualbarHeaderProps) => (\n <Box\n display='flex'\n alignItems='center'\n height='x56'\n pi={24}\n borderBlockEndWidth='default'\n borderBlockColor='extra-light'\n flexShrink={0}\n {...props}\n >\n <Box\n marginInline='neg-x4'\n display='flex'\n alignItems='center'\n justifyContent='space-between'\n flexGrow={1}\n height='100%'\n overflow='hidden'\n >\n <Margins inline='x4'>{children}</Margins>\n </Box>\n </Box>\n);\nexport default memo(ContextualbarHeader);\n","import type { ReactElement, ComponentProps } from 'react';\nimport { memo } from 'react';\n\nimport { Icon } from '..';\n\nconst ContextualbarIcon = (\n props: ComponentProps<typeof Icon>,\n): ReactElement => <Icon {...props} pi={2} size='x24' />;\n\nexport default memo(ContextualbarIcon);\n","import type { ComponentProps } from 'react';\nimport { forwardRef, memo } from 'react';\n\nimport { Box } from '..';\n\nconst ContextualbarSection = forwardRef<\n HTMLElement,\n ComponentProps<typeof Box>\n>(function ContextualbarSection(props, ref) {\n return (\n <Box\n ref={ref}\n rcx-vertical-bar__section\n pi={24}\n pb={16}\n display='flex'\n alignItems='center'\n flexGrow={1}\n borderBlockEndWidth='default'\n borderBlockColor='extra-light'\n {...props}\n />\n );\n});\n\nexport default memo(ContextualbarSection);\n","import type { ReactElement, ComponentProps } from 'react';\nimport { memo } from 'react';\n\nimport Box from '../Box';\nimport { Skeleton } from '../Skeleton';\n\nimport Contextualbar from './Contextualbar';\nimport ContextualbarHeader from './ContextualbarHeader';\n\nconst ContextualbarSkeleton = (\n props: ComponentProps<typeof Box>,\n): ReactElement => (\n <Contextualbar {...props}>\n <ContextualbarHeader>\n <Skeleton width='100%' />\n </ContextualbarHeader>\n <Box p={24}>\n <Skeleton mbe={4} width='32px' height='32px' variant='rect' />\n {Array(5)\n .fill(5)\n .map((_, index) => (\n <Skeleton key={index} />\n ))}\n </Box>\n </Contextualbar>\n);\n\nexport default memo(ContextualbarSkeleton);\n","import type { ReactElement, ComponentProps } from 'react';\nimport { memo } from 'react';\n\nimport { Box } from '..';\n\nconst ContextualbarTitle = (\n props: ComponentProps<typeof Box>,\n): ReactElement => (\n <Box\n flexShrink={1}\n flexGrow={1}\n fontScale='h4'\n withTruncatedText\n {...props}\n />\n);\n\nexport default memo(ContextualbarTitle);\n","import Contextualbar from './Contextualbar';\nimport ContextualbarAction from './ContextualbarAction';\nimport ContextualbarActions from './ContextualbarActions';\nimport ContextualbarButton from './ContextualbarButton';\nimport ContextualbarContent from './ContextualbarContent';\nimport ContextualbarEmptyContent from './ContextualbarEmptyContent';\nimport ContextualbarFooter from './ContextualbarFooter';\nimport ContextualbarHeader from './ContextualbarHeader';\nimport ContextualbarIcon from './ContextualbarIcon';\nimport ContextualbarSection from './ContextualbarSection';\nimport ContextualbarSkeleton from './ContextualbarSkeleton';\nimport ContextualbarTitle from './ContextualbarTitle';\n\nexport {\n Contextualbar,\n ContextualbarAction,\n ContextualbarActions,\n ContextualbarButton,\n ContextualbarContent,\n ContextualbarEmptyContent,\n ContextualbarFooter,\n ContextualbarHeader,\n ContextualbarIcon,\n ContextualbarSkeleton,\n ContextualbarTitle,\n ContextualbarSection,\n};\n","import type { ComponentProps } from 'react';\nimport { forwardRef, memo } from 'react';\n\nimport { Box } from '..';\n\ntype ContextualbarProps = ComponentProps<typeof Box>;\n\n/**\n * The `Contextualbar` has the purpose to persist and input information about the scope of the related page.\n */\nconst Contextualbar = forwardRef<HTMLElement, ContextualbarProps>(\n function Contextualbar(\n { children, width, position, bg = 'room', ...props },\n ref,\n ) {\n return (\n <Box\n ref={ref}\n rcx-vertical-bar\n bg={bg}\n color='default'\n display='flex'\n flexDirection='column'\n flexShrink={0}\n width={width}\n borderInlineStartWidth='default'\n borderInlineStartColor='extra-light'\n borderInlineStartStyle='solid'\n height='full'\n position={position}\n insetInlineEnd='none'\n insetBlockStart='none'\n zIndex={10}\n {...props}\n >\n {children}\n </Box>\n );\n },\n);\n\nexport default memo(Contextualbar);\n","import type { ReactElement, ComponentProps } from 'react';\nimport { memo } from 'react';\n\nimport type { Icon } from '..';\nimport { IconButton } from '..';\n\ntype ContextualbarActionProps = {\n name: ComponentProps<typeof Icon>['name'];\n} & Omit<ComponentProps<typeof IconButton>, 'icon'>;\n\nconst ContextualbarAction = ({\n name,\n ...props\n}: ContextualbarActionProps): ReactElement => (\n <IconButton {...props} small flexShrink={0} icon={name} />\n);\n\nexport default memo(ContextualbarAction);\n","import type { ReactElement, ComponentProps } from 'react';\nimport { memo } from 'react';\n\nimport { ButtonGroup } from '..';\n\nconst ContextualbarActions = (\n props: ComponentProps<typeof ButtonGroup>,\n): ReactElement => <ButtonGroup {...props} />;\n\nexport default memo(ContextualbarActions);\n","import type { ComponentProps, ReactElement } from 'react';\nimport { memo } from 'react';\n\nimport { Button } from '..';\n\nconst ContextualbarButton = (\n props: ComponentProps<typeof Button>,\n): ReactElement => <Button {...props} />;\n\nexport default memo(ContextualbarButton);\n","import type { ComponentProps } from 'react';\nimport { forwardRef, memo } from 'react';\n\nimport { Box } from '..';\n\nconst ContextualbarContent = forwardRef<\n HTMLElement,\n ComponentProps<typeof Box>\n>(function ContextualbarContent(props, ref) {\n return (\n <Box\n ref={ref}\n rcx-vertical-bar__content\n paddingInline={24}\n display='flex'\n flexDirection='column'\n overflowY='hidden'\n height='full'\n {...props}\n />\n );\n});\n\nexport default memo(ContextualbarContent);\n","import type { ComponentProps } from 'react';\nimport { forwardRef, memo } from 'react';\n\nimport type { Box } from '..';\nimport { StatesIcon, States, StatesTitle, StatesSubtitle } from '..';\n\nimport ContextualbarContent from './ContextualbarContent';\n\ntype ContextualbarEmptyContentProps = ComponentProps<typeof Box> & {\n icon?: ComponentProps<typeof StatesIcon>['name'];\n title?: string;\n subtitle?: string;\n};\n\nconst ContextualbarEmptyContent = forwardRef<\n HTMLElement,\n ContextualbarEmptyContentProps\n>(function ContextualbarEmptyContent(\n { icon = 'magnifier', title = 'Nothing Found', subtitle, ...props },\n ref,\n) {\n return (\n <ContextualbarContent justifyContent='center' {...props} ref={ref}>\n <States>\n <StatesIcon name={icon} />\n <StatesTitle>{title}</StatesTitle>\n {subtitle && <StatesSubtitle>{subtitle}</StatesSubtitle>}\n </States>\n </ContextualbarContent>\n );\n});\n\nexport default memo(ContextualbarEmptyContent);\n","import type { ComponentProps } from 'react';\nimport { forwardRef, memo } from 'react';\n\nimport { Box } from '..';\n\nconst ContextualbarFooter = forwardRef<HTMLElement, ComponentProps<typeof Box>>(\n function ContextualbarFooter({ children, ...props }, ref) {\n return (\n <Box ref={ref} pi={16} pb={20} {...props}>\n {children}\n </Box>\n );\n },\n);\n\nexport default memo(ContextualbarFooter);\n","import { css } from '@rocket.chat/css-in-js';\nimport type { ComponentProps } from 'react';\nimport { memo } from 'react';\n\nimport Box from '../Box';\n\ntype ContextualbarHeaderProps = ComponentProps<typeof Box>;\n\nconst ContextualbarHeader = ({\n children,\n ...props\n}: ContextualbarHeaderProps) => (\n <Box\n display='flex'\n alignItems='center'\n height='x44'\n pi={16}\n borderBlockEndWidth='default'\n borderBlockColor='extra-light'\n flexShrink={0}\n {...props}\n >\n <Box\n display='flex'\n alignItems='center'\n justifyContent='space-between'\n flexGrow={1}\n height='100%'\n overflow='hidden'\n className={css`\n gap: 8px;\n `}\n >\n {children}\n </Box>\n </Box>\n);\n\nexport default memo(ContextualbarHeader);\n","import type { ReactElement, ComponentProps } from 'react';\nimport { memo } from 'react';\n\nimport { Icon } from '..';\n\nconst ContextualbarIcon = (\n props: ComponentProps<typeof Icon>,\n): ReactElement => <Icon {...props} pi={2} size='x20' />;\n\nexport default memo(ContextualbarIcon);\n","import type { ComponentProps } from 'react';\nimport { forwardRef, memo } from 'react';\n\nimport { Box } from '..';\n\nconst ContextualbarSection = forwardRef<\n HTMLElement,\n ComponentProps<typeof Box>\n>(function ContextualbarSection(props, ref) {\n return (\n <Box\n ref={ref}\n rcx-vertical-bar__section\n p={16}\n display='flex'\n alignItems='center'\n flexGrow={1}\n borderBlockEndWidth='default'\n borderBlockColor='extra-light'\n {...props}\n />\n );\n});\n\nexport default memo(ContextualbarSection);\n","import type { ReactElement, ComponentProps } from 'react';\nimport { memo } from 'react';\n\nimport { Box, Skeleton } from '..';\n\nimport {\n ContextualbarV2 as Contextualbar,\n ContextualbarV2Header as ContextualbarHeader,\n} from '.';\n\nconst ContextualbarSkeleton = (\n props: ComponentProps<typeof Box>,\n): ReactElement => (\n <Contextualbar {...props}>\n <ContextualbarHeader>\n <Skeleton width='100%' />\n </ContextualbarHeader>\n <Box p={24}>\n <Skeleton mbe={4} width='32px' height='32px' variant='rect' />\n {Array(5)\n .fill(5)\n .map((_, index) => (\n <Skeleton key={index} />\n ))}\n </Box>\n </Contextualbar>\n);\n\nexport default memo(ContextualbarSkeleton);\n","import type { ReactElement, ComponentProps } from 'react';\nimport { memo } from 'react';\n\nimport { Box } from '..';\n\nconst ContextualbarTitle = (\n props: ComponentProps<typeof Box>,\n): ReactElement => (\n <Box\n flexShrink={1}\n flexGrow={1}\n fontScale='h5'\n withTruncatedText\n {...props}\n />\n);\n\nexport default memo(ContextualbarTitle);\n","import Contextualbar from './Contextualbar';\nimport ContextualbarAction from './ContextualbarAction';\nimport ContextualbarActions from './ContextualbarActions';\nimport ContextualbarButton from './ContextualbarButton';\nimport ContextualbarContent from './ContextualbarContent';\nimport ContextualbarEmptyContent from './ContextualbarEmptyContent';\nimport ContextualbarFooter from './ContextualbarFooter';\nimport ContextualbarHeader from './ContextualbarHeader';\nimport ContextualbarIcon from './ContextualbarIcon';\nimport ContextualbarSection from './ContextualbarSection';\nimport ContextualbarSkeleton from './ContextualbarSkeleton';\nimport ContextualbarTitle from './ContextualbarTitle';\n\nexport {\n Contextualbar as ContextualbarV2,\n ContextualbarAction as ContextualbarV2Action,\n ContextualbarActions as ContextualbarV2Actions,\n ContextualbarButton as ContextualbarV2Button,\n ContextualbarContent as ContextualbarV2Content,\n ContextualbarEmptyContent as ContextualbarV2EmptyContent,\n ContextualbarFooter as ContextualbarV2Footer,\n ContextualbarHeader as ContextualbarV2Header,\n ContextualbarIcon as ContextualbarV2Icon,\n ContextualbarSkeleton as ContextualbarV2Skeleton,\n ContextualbarTitle as ContextualbarV2Title,\n ContextualbarSection as ContextualbarV2Section,\n};\n","import type { ComponentProps, ReactNode } from 'react';\n\nimport Box from '../Box';\n\ntype DividerProps = ComponentProps<typeof Box> & {\n variation?: 'danger';\n children?: ReactNode;\n vertical?: boolean;\n};\n\nconst Divider = ({ variation, children, vertical, ...props }: DividerProps) => {\n if (!children) {\n return (\n <Box\n is='hr'\n rcx-divider\n rcx-divider--vertical={vertical}\n rcx-divider--danger={variation === 'danger'}\n {...props}\n />\n );\n }\n return (\n <Box rcx-message-divider role='separator' {...props}>\n <div className='rcx-divider__bar' />\n <div className='rcx-divider__wrapper'>{children}</div>\n <div className='rcx-divider__bar' />\n </Box>\n );\n};\nexport { Divider };\n","export * from './Divider';\n","import type { UsePositionOptions } from '@rocket.chat/fuselage-hooks';\nimport { useMediaQuery } from '@rocket.chat/fuselage-hooks';\nimport type { ReactNode, Ref, RefObject } from 'react';\nimport { forwardRef } from 'react';\n\nimport { DropdownDesktopWrapper } from './DropdownDesktopWrapper';\nimport { DropdownMobile } from './DropdownMobile';\n\nexport const Dropdown = forwardRef(function Dropdown<\n T extends HTMLElement,\n R extends HTMLElement,\n>(\n {\n children,\n reference,\n placement = 'bottom-start',\n }: {\n reference: RefObject<T>;\n placement?: UsePositionOptions['placement'];\n children: ReactNode;\n },\n ref: Ref<R>,\n) {\n const notSmall = useMediaQuery('(min-width: 500px)');\n\n return notSmall ? (\n <DropdownDesktopWrapper\n reference={reference}\n children={children}\n placement={placement}\n ref={ref}\n />\n ) : (\n <DropdownMobile children={children} ref={ref} />\n );\n});\n","import type { CSSProperties, ReactNode, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { Box, Tile } from '..';\n\nexport const DropdownDesktop = forwardRef(function DropdownDesktop<\n R extends HTMLElement,\n>(\n {\n children,\n style,\n ...props\n }: {\n children: ReactNode;\n maxWidth?: string;\n style?: CSSProperties;\n },\n ref: Ref<R>,\n) {\n return (\n <Tile\n style={style}\n ref={ref}\n elevation='2'\n pi='0'\n pb='0'\n display='flex'\n flexDirection='column'\n overflow='auto'\n data-testid='dropdown'\n {...props}\n >\n <Box flexShrink={1} pb={12}>\n {style?.visibility === 'hidden' ? null : children}\n </Box>\n </Tile>\n );\n});\n","import type { UsePositionOptions } from '@rocket.chat/fuselage-hooks';\nimport { usePosition } from '@rocket.chat/fuselage-hooks';\nimport type { ReactNode, Ref, RefObject } from 'react';\nimport { forwardRef } from 'react';\n\nimport { DropdownDesktop } from './DropdownDesktop';\n\nexport const DropdownDesktopWrapper = forwardRef(\n function DropdownDesktopWrapper<T extends HTMLElement, R extends HTMLElement>(\n {\n children,\n reference,\n placement = 'bottom-start',\n ...props\n }: {\n reference: RefObject<T>;\n placement?: UsePositionOptions['placement'];\n children: ReactNode;\n },\n ref: Ref<R>,\n ) {\n const { style } = usePosition(reference, ref as RefObject<R>, {\n placement,\n });\n\n return (\n <DropdownDesktop style={style} children={children} ref={ref} {...props} />\n );\n },\n);\n","import type { ReactNode, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { Box, Tile } from '..';\n\nexport const DropdownMobile = forwardRef(function DropdownMobile<\n R extends HTMLElement,\n>(\n {\n children,\n ...props\n }: {\n children: ReactNode;\n },\n ref: Ref<R>,\n) {\n return (\n <Tile\n ref={ref}\n elevation='2'\n pi='0'\n pb='0'\n w='100vw'\n maxHeight='80%'\n position='fixed'\n display='flex'\n flexDirection='column'\n overflow='auto'\n style={{ bottom: 0, left: 0 }}\n zIndex={2}\n data-testid='dropdown'\n {...props}\n >\n <Box flexShrink={1} pb={16}>\n {children}\n </Box>\n </Tile>\n );\n});\n","export * from './Dropdown';\n","import type { ComponentProps, ReactNode, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { InputBox } from '../InputBox';\n\ntype EmailInputProps = Omit<ComponentProps<typeof InputBox>, 'type'> & {\n addon?: ReactNode;\n error?: string;\n};\n\n// Import from InputBox once it's converted to tsx\ntype InputType =\n | 'button'\n | 'checkbox'\n | 'color'\n | 'date'\n | 'datetime'\n | 'datetime-local'\n | 'email'\n | 'file'\n | 'hidden'\n | 'image'\n | 'month'\n | 'number'\n | 'password'\n | 'radio'\n | 'range'\n | 'reset'\n | 'search'\n | 'submit'\n | 'tel'\n | 'text'\n | 'time'\n | 'url'\n | 'week'\n | 'textarea'\n | 'select';\n\nconst type: InputType = 'email';\n\n/**\n * An input for email addresses.\n */\nexport const EmailInput = forwardRef(function EmailInput(\n props: EmailInputProps,\n ref: Ref<HTMLElement>,\n) {\n return <InputBox type={type} ref={ref} {...props} />;\n});\n","export * from './EmailInput';\n","import type { ComponentPropsWithoutRef } from 'react';\nimport { createContext } from 'react';\n\nimport Box from '../Box';\n\nexport const FieldContext = createContext(false);\n\ntype FieldProps = ComponentPropsWithoutRef<typeof Box>;\n\n/**\n * A `Field` is a wrapper representing an entry in a form.\n */\nexport function Field(props: FieldProps) {\n return (\n <FieldContext.Provider value={true}>\n <Box rcx-field {...props} />\n </FieldContext.Provider>\n );\n}\n","import type { ComponentPropsWithoutRef } from 'react';\n\nimport WithErrorWrapper from '../../helpers/WithErrorWrapper';\nimport Box from '../Box';\n\nimport { FieldContext } from './Field';\n\ntype FieldDescriptionProps = ComponentPropsWithoutRef<typeof Box>;\n\nexport const FieldDescription = (props: FieldDescriptionProps) => {\n const component = <Box is='span' rcx-field__description {...props} />;\n\n if (process.env.NODE_ENV === 'development') {\n return (\n <WithErrorWrapper\n context={FieldContext}\n parentComponent='Field'\n componentName={FieldDescription.name}\n >\n {component}\n </WithErrorWrapper>\n );\n }\n\n return component;\n};\n","import type { ComponentPropsWithoutRef } from 'react';\n\nimport WithErrorWrapper from '../../helpers/WithErrorWrapper';\nimport Box from '../Box';\n\nimport { FieldContext } from './Field';\n\ntype FieldErrorProps = ComponentPropsWithoutRef<typeof Box>;\n\nexport const FieldError = (props: FieldErrorProps) => {\n const component = <Box is='span' rcx-field__error {...props} />;\n\n if (process.env.NODE_ENV === 'development') {\n return (\n <WithErrorWrapper\n context={FieldContext}\n parentComponent='Field'\n componentName={FieldError.name}\n >\n {component}\n </WithErrorWrapper>\n );\n }\n\n return component;\n};\n","import type { ComponentPropsWithoutRef } from 'react';\n\nimport WithErrorWrapper from '../../helpers/WithErrorWrapper';\nimport Box from '../Box';\n\nimport { FieldContext } from './Field';\n\ntype FieldHintProps = ComponentPropsWithoutRef<typeof Box>;\n\nexport const FieldHint = (props: FieldHintProps) => {\n const component = <Box is='span' rcx-field__hint {...props} />;\n\n if (process.env.NODE_ENV === 'development') {\n return (\n <WithErrorWrapper\n context={FieldContext}\n parentComponent='Field'\n componentName={FieldHint.name}\n >\n {component}\n </WithErrorWrapper>\n );\n }\n\n return component;\n};\n","import type { ComponentPropsWithoutRef } from 'react';\n\nimport WithErrorWrapper from '../../helpers/WithErrorWrapper';\nimport { Label } from '../Label';\n\nimport { FieldContext } from './Field';\n\ntype FieldLabelProps = ComponentPropsWithoutRef<typeof Label>;\n\nexport const FieldLabel = (props: FieldLabelProps) => {\n const component = <Label rcx-field__label {...props} />;\n\n if (process.env.NODE_ENV === 'development') {\n return (\n <WithErrorWrapper\n context={FieldContext}\n parentComponent='Field'\n componentName={FieldLabel.name}\n >\n {component}\n </WithErrorWrapper>\n );\n }\n\n return component;\n};\n","import type { ComponentProps } from 'react';\n\nimport WithErrorWrapper from '../../helpers/WithErrorWrapper';\nimport { LabelInfo } from '../Label/LabelInfo';\n\nimport { FieldContext } from './Field';\n\ntype FieldLabelInfoProps = ComponentProps<typeof LabelInfo>;\n\nexport const FieldLabelInfo = (props: FieldLabelInfoProps) => {\n const component = <LabelInfo {...props} />;\n\n if (process.env.NODE_ENV === 'development') {\n return (\n <WithErrorWrapper\n context={FieldContext}\n parentComponent='Field'\n componentName={FieldLabelInfo.name}\n >\n {component}\n </WithErrorWrapper>\n );\n }\n\n return component;\n};\n","import type { ComponentPropsWithoutRef } from 'react';\n\nimport WithErrorWrapper from '../../helpers/WithErrorWrapper';\nimport Box from '../Box';\n\nimport { FieldContext } from './Field';\n\ntype FieldLinkProps = ComponentPropsWithoutRef<typeof Box>;\n\nexport const FieldLink = (props: FieldLinkProps) => {\n const component = <Box is='a' target='_blank' rcx-field__link {...props} />;\n\n if (process.env.NODE_ENV === 'development') {\n return (\n <WithErrorWrapper\n context={FieldContext}\n parentComponent='Field'\n componentName={FieldLink.name}\n >\n {component}\n </WithErrorWrapper>\n );\n }\n\n return component;\n};\n","import type { ComponentPropsWithoutRef } from 'react';\n\nimport WithErrorWrapper from '../../helpers/WithErrorWrapper';\nimport Box from '../Box';\n\nimport { FieldContext } from './Field';\n\ntype FieldRowProps = ComponentPropsWithoutRef<typeof Box>;\n\nexport const FieldRow = (props: FieldRowProps) => {\n const component = <Box is='span' rcx-field__row {...props} />;\n\n if (process.env.NODE_ENV === 'development') {\n return (\n <WithErrorWrapper\n context={FieldContext}\n parentComponent='Field'\n componentName={FieldRow.name}\n >\n {component}\n </WithErrorWrapper>\n );\n }\n\n return component;\n};\n","import { Field } from './Field';\nimport { FieldDescription } from './FieldDescription';\nimport { FieldError } from './FieldError';\nimport { FieldHint } from './FieldHint';\nimport { FieldLabel } from './FieldLabel';\nimport { FieldLabelInfo } from './FieldLabelInfo';\nimport { FieldLink } from './FieldLink';\nimport { FieldRow } from './FieldRow';\n\nexport {\n Field,\n FieldDescription,\n FieldError,\n FieldHint,\n FieldLabel,\n FieldLabelInfo,\n FieldLink,\n FieldRow,\n};\n\nexport default Object.assign(Field, {\n /**\n * @deprecated Use named import `FieldLabel` instead\n */\n Label: FieldLabel,\n /**\n * @deprecated Use named import `FieldDescription` instead\n\n */\n Description: FieldDescription,\n /**\n * @deprecated Use named import `FieldRow` instead\n\n */\n Row: FieldRow,\n /**\n * @deprecated Use named import `FieldError` instead\n\n */\n Error: FieldError,\n /**\n * @deprecated Use named import `FieldHint` instead\n\n */\n Hint: FieldHint,\n /**\n * @deprecated Use named import `FieldLink` instead\n\n */\n Link: FieldLink,\n});\n","import type { ComponentProps } from 'react';\n\nimport { appendClassName } from '../../helpers/appendClassName';\nimport { patchChildren } from '../../helpers/patchChildren';\nimport Box from '../Box';\n\ntype FieldGroupProps = ComponentProps<typeof Box>;\n\n/**\n * A container for grouping fields that semantically share a common data context.\n */\nexport const FieldGroup = ({ children, ...props }: FieldGroupProps) => (\n <Box is='fieldset' rcx-field-group role='group' {...props}>\n {patchChildren(\n children,\n (childProps: { className: string | string[] }) => ({\n className: appendClassName(\n childProps.className,\n 'rcx-field-group__item',\n ),\n }),\n )}\n </Box>\n);\n","export * from './FieldGroup';\n","import type { ReactNode } from 'react';\nimport { useCallback } from 'react';\n\nimport { BoxTransforms, useComposedBoxTransform } from '../Box/BoxTransforms';\n\ntype FlexContainerProps = {\n children?: ReactNode;\n inline?: boolean;\n direction?: 'row' | 'row-reverse' | 'column' | 'column-reverse';\n wrap?: 'no-wrap' | 'wrap' | 'wrap-reverse';\n alignItems?: 'stretch' | 'start' | 'center' | 'end' | 'baseline';\n alignContent?: 'start' | 'center' | 'end' | 'space-between' | 'space-around';\n justifyContent?:\n | 'start'\n | 'center'\n | 'end'\n | 'space-between'\n | 'space-around';\n};\n\nfunction FlexContainer({\n inline = false,\n children,\n direction,\n wrap,\n alignItems,\n alignContent,\n justifyContent,\n}: FlexContainerProps) {\n const transformFn = useCallback(\n (props: any) => {\n if (inline !== undefined && props.display === undefined) {\n props.display = inline ? 'inline-flex' : 'flex';\n }\n\n if (direction !== undefined && props.flexDirection === undefined) {\n props.flexDirection = direction;\n }\n\n if (wrap !== undefined && props.flexWrap === undefined) {\n props.flexWrap = wrap === 'no-wrap' ? 'nowrap' : wrap;\n }\n\n if (alignItems !== undefined && props.alignItems === undefined) {\n props.alignItems =\n (alignItems === 'start' && 'flex-start') ||\n (alignItems === 'end' && 'flex-end') ||\n alignItems;\n }\n\n if (alignContent !== undefined && props.alignContent === undefined) {\n props.alignContent =\n (alignContent === 'start' && 'flex-start') ||\n (alignContent === 'end' && 'flex-end') ||\n alignContent;\n }\n\n if (justifyContent !== undefined && props.justifyContent === undefined) {\n props.justifyContent =\n (justifyContent === 'start' && 'flex-start') ||\n (justifyContent === 'end' && 'flex-end') ||\n justifyContent;\n }\n\n return props;\n },\n [alignContent, alignItems, direction, inline, justifyContent, wrap],\n );\n\n return (\n <BoxTransforms.Provider\n children={children}\n value={useComposedBoxTransform(transformFn)}\n />\n );\n}\n\nexport default FlexContainer;\n","import type { ReactNode } from 'react';\nimport { useCallback } from 'react';\n\nimport { BoxTransforms, useComposedBoxTransform } from '../Box/BoxTransforms';\n\ntype FlexItemProps = {\n children?: ReactNode;\n order?: number;\n grow?: number;\n shrink?: number;\n basis?: number | string | 'auto';\n align?: 'auto' | 'start' | 'end' | 'center' | 'stretch';\n};\n\nfunction FlexItem({\n children,\n order,\n grow,\n shrink,\n basis,\n align,\n}: FlexItemProps) {\n const transformFn = useCallback(\n (props: any) => {\n if (order !== undefined && props.order === undefined) {\n props.order = order;\n }\n\n if (grow !== undefined && props.flexGrow === undefined) {\n props.flexGrow = grow;\n }\n\n if (shrink !== undefined && props.flexShrink === undefined) {\n props.flexShrink = shrink;\n }\n\n if (basis !== undefined && props.flexBasis === undefined) {\n props.flexBasis = basis;\n }\n\n if (align !== undefined && props.alignSelf === undefined) {\n props.alignSelf =\n (align === 'start' && 'flex-start') ||\n (align === 'end' && 'flex-end') ||\n align;\n }\n\n return props;\n },\n [align, basis, grow, order, shrink],\n );\n\n return (\n <BoxTransforms.Provider\n children={children}\n value={useComposedBoxTransform(transformFn)}\n />\n );\n}\n\nexport default FlexItem;\n","import FlexContainer from './FlexContainer';\nimport FlexItem from './FlexItem';\n\nexport default {\n Container: FlexContainer,\n Item: FlexItem,\n};\n","import type { Keys } from '@rocket.chat/icons';\nimport type { AllHTMLAttributes } from 'react';\n\nimport { Icon } from '../Icon';\n\ntype FramedIconProps = {\n info?: boolean;\n success?: boolean;\n warning?: boolean;\n danger?: boolean;\n neutral?: boolean;\n icon: Keys;\n} & Omit<AllHTMLAttributes<HTMLElement>, 'is'>;\n\nexport const FramedIcon = ({\n info,\n success,\n warning,\n danger,\n neutral,\n icon,\n ...props\n}: FramedIconProps) => (\n <Icon\n {...props}\n rcx-framed-icon\n rcx-framed-icon--info={info}\n rcx-framed-icon--success={success}\n rcx-framed-icon--warning={warning}\n rcx-framed-icon--danger={danger}\n rcx-framed-icon--neutral={\n neutral || (!info && !success && !warning && !danger)\n }\n name={icon}\n size={20}\n />\n);\n","export * from './FramedIcon';\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\n\nimport { GridItem } from './GridItem';\n\ntype GridProps = ComponentProps<typeof Box> & {\n xs?: boolean;\n sm?: boolean;\n md?: boolean;\n lg?: boolean;\n xl?: boolean;\n};\n\nexport const Grid = ({ xs, sm, md, lg, xl, ...props }: GridProps) => (\n <Box rcx-grid__wrapper>\n <Box\n rcx-grid\n rcx-grid--xs={xs}\n rcx-grid--sm={sm}\n rcx-grid--md={md}\n rcx-grid--lg={lg}\n rcx-grid--xl={xl}\n {...props}\n />\n </Box>\n);\n\nGrid.Item = GridItem;\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\n\ntype GridItemProps = ComponentProps<typeof Box> & {\n xs?: 1 | 2 | 3 | 4;\n sm?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;\n md?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;\n lg?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;\n xl?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;\n};\n\nexport const GridItem = ({ xs, sm, md, lg, xl, ...props }: GridItemProps) => (\n <Box\n rcx-grid__item\n rcx-grid__item--xs={xs}\n rcx-grid__item--sm={sm}\n rcx-grid__item--md={md}\n rcx-grid__item--lg={lg}\n rcx-grid__item--xl={xl}\n {...props}\n />\n);\n","import { Grid } from './Grid';\n\nexport * from './Grid';\nexport * from './GridItem';\n\nexport default Grid;\n","import type { Keys } from '@rocket.chat/icons';\nimport nameToCharacterMapping from '@rocket.chat/icons';\nimport type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\nexport type IconProps = Omit<ComponentProps<typeof Box>, 'name' | 'size'> & {\n name: Keys;\n size?: ComponentProps<typeof Box>['width'];\n};\n\nexport const Icon = forwardRef(function Icon(\n { name, size, ...props }: IconProps,\n ref: Ref<HTMLElement>,\n) {\n return (\n <Box\n is='i'\n rcx-icon\n rcx-icon--name={name}\n children={nameToCharacterMapping[name]}\n aria-hidden='true'\n fontSize={size}\n ref={ref}\n {...props}\n />\n );\n});\n","export * from './Icon';\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\ntype AddonProps = ComponentProps<typeof Box>;\n\nexport const Addon = forwardRef(function Addon(\n props: AddonProps,\n ref: Ref<HTMLSpanElement>,\n) {\n return <Box is='span' rcx-input-box__addon ref={ref} {...props} />;\n});\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\ntype InputProps = ComponentProps<typeof Box>;\n\nexport const Input = forwardRef(function Input(\n props: InputProps,\n ref: Ref<HTMLInputElement>,\n) {\n return <Box is='input' animated rcx-input-box ref={ref} {...props} />;\n});\n","import { useMergedRefs } from '@rocket.chat/fuselage-hooks';\nimport type {\n ComponentProps,\n FormEvent,\n ForwardRefExoticComponent,\n ReactNode,\n Ref,\n} from 'react';\nimport { forwardRef, useCallback, useLayoutEffect, useRef } from 'react';\n\nimport type Box from '../Box';\nimport { Icon } from '../Icon';\n\nimport { Addon } from './Addon';\nimport { Input } from './Input';\nimport type { InputBoxSkeleton } from './InputBoxSkeleton';\nimport type { Option } from './Option';\nimport type { Placeholder } from './Placeholder';\nimport { Wrapper } from './Wrapper';\n\ntype InputBoxProps = ComponentProps<typeof Box> & {\n addon?: ReactNode;\n input?: ReactNode;\n multiple?: boolean;\n error?: string;\n placeholder?: string;\n placeholderVisible?: boolean;\n small?: boolean;\n type:\n | 'button'\n | 'checkbox'\n | 'color'\n | 'date'\n | 'datetime'\n | 'datetime-local'\n | 'email'\n | 'file'\n | 'hidden'\n | 'image'\n | 'month'\n | 'number'\n | 'password'\n | 'radio'\n | 'range'\n | 'reset'\n | 'search'\n | 'submit'\n | 'tel'\n | 'text'\n | 'time'\n | 'url'\n | 'week'\n | 'textarea'\n | 'select';\n};\n\n/**\n * A decorated input control with support for addons.\n *\n * Usually you'll perfer to use `-Input` (e.g. <LinkTo kind='Forms/TextInput' story='Default'>`TextInput`</LinkTo>)\n * components over this one because it works as a construction block for them.\n */\n// eslint-disable-next-line complexity\nexport const InputBox = forwardRef(function InputBox(\n {\n className,\n addon,\n error,\n hidden,\n invisible,\n multiple,\n placeholderVisible,\n type = 'text',\n small,\n onChange,\n ...props\n }: InputBoxProps,\n ref: Ref<any> | null,\n) {\n const innerRef = useRef<\n HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement\n >(null);\n const mergedRef = useMergedRefs(ref, innerRef);\n\n useLayoutEffect(() => {\n if (innerRef.current && innerRef.current.setCustomValidity) {\n innerRef.current.setCustomValidity(error || '');\n }\n }, [error]);\n\n useLayoutEffect(() => {\n if (addon && innerRef.current && innerRef.current.parentElement) {\n innerRef.current.parentElement.classList.toggle(\n 'invalid',\n !innerRef.current.checkValidity(),\n );\n }\n }, []);\n\n const handleChange = useCallback(\n (event: FormEvent<HTMLElement>) => {\n if (addon && innerRef.current && innerRef.current.parentElement) {\n innerRef.current.parentElement.classList.toggle(\n 'invalid',\n !innerRef.current.checkValidity(),\n );\n }\n\n onChange?.call(event.currentTarget, event);\n },\n [addon, onChange],\n );\n\n const handleAddonClick = () =>\n (innerRef.current as HTMLInputElement).showPicker();\n\n if (type === 'date') {\n addon = <Icon name='calendar' size='x20' onClick={handleAddonClick} />;\n }\n if (type === 'time') {\n addon = <Icon name='clock' size='x20' onClick={handleAddonClick} />;\n }\n\n if (!addon) {\n return (\n <Input\n is={\n (type === 'textarea' && 'textarea') ||\n (type === 'select' && 'select') ||\n 'input'\n }\n className={className}\n cols={(type === 'textarea' && 1) || (type === 'select' && 0) || 0}\n hidden={hidden}\n invisible={invisible}\n multiple={multiple}\n ref={mergedRef}\n htmlSize={\n (type === 'textarea' && undefined) || (type === 'select' && 1) || 1\n }\n type={type === 'textarea' || type === 'select' ? undefined : type}\n onChange={handleChange}\n rcx-input-box--multiple={multiple}\n rcx-input-box--placeholder-visible={placeholderVisible}\n rcx-input-box--type={type}\n rcx-input-box--small={small}\n {...props}\n />\n );\n }\n\n return (\n <Wrapper\n className={[\n props.disabled && 'disabled',\n ...(Array.isArray(className) ? className : [className]),\n ]}\n hidden={hidden}\n invisible={invisible}\n >\n <Input\n is={\n (type === 'textarea' && 'textarea') ||\n (type === 'select' && 'select') ||\n 'input'\n }\n className={className}\n cols={(type === 'textarea' && 1) || (type === 'select' && 0) || 0}\n multiple={multiple}\n ref={mergedRef}\n htmlSize={\n (type === 'textarea' && undefined) || (type === 'select' && 1) || 1\n }\n type={type === 'textarea' || type === 'select' ? undefined : type}\n onChange={handleChange}\n rcx-input-box--multiple={multiple}\n rcx-input-box--placeholder-visible={placeholderVisible}\n rcx-input-box--type={type}\n rcx-input-box--undecorated\n rcx-input-box--small={small}\n {...props}\n />\n <Addon children={addon} />\n </Wrapper>\n );\n}) as unknown as ForwardRefExoticComponent<InputBoxProps> & {\n Input: ForwardRefExoticComponent<ComponentProps<typeof Box>>;\n Skeleton: ForwardRefExoticComponent<ComponentProps<typeof InputBoxSkeleton>>;\n Option: ForwardRefExoticComponent<ComponentProps<typeof Option>>;\n Placeholder: ForwardRefExoticComponent<ComponentProps<typeof Placeholder>>;\n};\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\nimport { Skeleton } from '../Skeleton';\n\ntype InputBoxSkeletonProps = ComponentProps<typeof Box>;\n\nexport const InputBoxSkeleton = (props: InputBoxSkeletonProps) => (\n <Box rcx-skeleton__input {...props}>\n <Skeleton width='100%' />\n </Box>\n);\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\ntype OptionProps = ComponentProps<typeof Box>;\n\nexport const Option = forwardRef(function Option(\n props: OptionProps,\n ref: Ref<HTMLInputElement>,\n) {\n return <Box is='option' rcx-input-box__option ref={ref} {...props} />;\n});\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\ntype PlaceholderProps = ComponentProps<typeof Box>;\n\nexport const Placeholder = forwardRef(function Placeholder(\n props: PlaceholderProps,\n ref: Ref<HTMLOptionElement>,\n) {\n return <Box is='option' rcx-input-box__placeholder ref={ref} {...props} />;\n});\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\nimport { Label } from '../Label';\n\nexport const Wrapper = (props: ComponentProps<typeof Box>) => (\n <Box animated is={Label} rcx-input-box__wrapper {...props} />\n);\n","import { Addon } from './Addon';\nimport { Input } from './Input';\nimport { InputBox } from './InputBox';\nimport { InputBoxSkeleton } from './InputBoxSkeleton';\nimport { Option } from './Option';\nimport { Placeholder } from './Placeholder';\nimport { Wrapper } from './Wrapper';\n\nexport * from './Input';\nexport * from './InputBox';\nexport * from './InputBoxSkeleton';\nexport * from './Wrapper';\n\nexport default Object.assign(InputBox, {\n Input,\n Skeleton: InputBoxSkeleton,\n Wrapper,\n Addon,\n Placeholder,\n Option,\n});\n","import type { ComponentProps, ReactElement, ElementType } from 'react';\nimport { createContext, useContext } from 'react';\n\nimport Box from '../Box';\n\nconst LabelContext = createContext(false);\n\ntype LabelProps = Omit<ComponentProps<typeof Box>, 'is'> & {\n disabled?: boolean;\n required?: boolean;\n is?: (ElementType<any> & string) | undefined;\n};\n\n/**\n * A caption for an input component.\n */\nexport function Label({\n disabled,\n is,\n required,\n children,\n ...props\n}: LabelProps): ReactElement {\n const isInsideLabel = useContext(LabelContext);\n const component = is || (isInsideLabel && 'span') || 'label';\n\n return (\n <LabelContext.Provider value={true}>\n <Box is={component} rcx-label rcx-label--disabled={disabled} {...props}>\n {children}\n {required && (\n <Box is='span' rcx-label__required mis='x4' aria-hidden='true'>\n *\n </Box>\n )}\n </Box>\n </LabelContext.Provider>\n );\n}\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box/Box';\nimport { Icon } from '../Icon';\n\ntype LabelInfoProps = {\n title: string;\n id?: string;\n} & Omit<ComponentProps<typeof Icon>, 'name'>;\n\nexport const LabelInfo = ({ title, id, ...props }: LabelInfoProps) => (\n <Box is='span' mi={2} rcx-label__info>\n <span hidden id={id}>\n {title}\n </span>\n <Icon {...props} name='info-circled' title={title} />\n </Box>\n);\n","export * from './Label';\n","import { css } from '@rocket.chat/css-in-js';\nimport type { ComponentProps, PropsWithChildren } from 'react';\nimport { useCallback } from 'react';\n\nimport { appendClassName } from '../../helpers/appendClassName';\nimport { patchChildren } from '../../helpers/patchChildren';\nimport { useStyle } from '../../hooks/useStyle';\nimport { margin } from '../../styleTokens';\nimport type Box from '../Box';\nimport { BoxTransforms, useComposedBoxTransform } from '../Box/BoxTransforms';\n\ntype MarginsProps = PropsWithChildren<{\n all?: ComponentProps<typeof Box>['margin'];\n block?: ComponentProps<typeof Box>['marginBlock'];\n blockStart?: ComponentProps<typeof Box>['marginBlockStart'];\n blockEnd?: ComponentProps<typeof Box>['marginBlockEnd'];\n inline?: ComponentProps<typeof Box>['marginInline'];\n inlineStart?: ComponentProps<typeof Box>['marginInlineStart'];\n inlineEnd?: ComponentProps<typeof Box>['marginInlineEnd'];\n className?: string;\n}>;\n\n/**\n * Add margins to the wrapped component.\n */\nexport const Margins = (props: MarginsProps) => {\n const {\n children,\n className,\n all,\n block,\n blockStart,\n blockEnd,\n inline,\n inlineStart,\n inlineEnd,\n } = props;\n\n const transformFn = useCallback(\n (props: any) => {\n if (all !== undefined && props.margin === undefined) {\n props.margin = all;\n }\n\n if (block !== undefined && props.marginBlock === undefined) {\n props.marginBlock = block;\n }\n\n if (blockStart !== undefined && props.marginBlockStart === undefined) {\n props.marginBlockStart = blockStart;\n }\n\n if (blockEnd !== undefined && props.marginBlockEnd === undefined) {\n props.marginBlockEnd = blockEnd;\n }\n\n if (inline !== undefined && props.marginInline === undefined) {\n props.marginInline = inline;\n }\n\n if (inlineStart !== undefined && props.marginInlineStart === undefined) {\n props.marginInlineStart = inlineStart;\n }\n\n if (inlineEnd !== undefined && props.marginInlineEnd === undefined) {\n props.marginInlineEnd = inlineEnd;\n }\n\n return props;\n },\n [all, block, blockEnd, blockStart, inline, inlineEnd, inlineStart],\n );\n\n const marginsClassName = useStyle(\n css`\n &:not(.rcx-box--full) {\n ${props.all &&\n css`\n margin: ${margin(props.all)};\n `}\n ${props.inline &&\n css`\n margin-inline: ${margin(props.inline)};\n `}\n ${props.inlineStart &&\n css`\n margin-inline-start: ${margin(props.inlineStart)};\n `}\n ${props.inlineEnd &&\n css`\n margin-inline-end: ${margin(props.inlineEnd)};\n `}\n ${props.block &&\n css`\n margin-block: ${margin(props.block)};\n `}\n ${props.blockStart &&\n css`\n margin-block-start: ${margin(props.blockStart)};\n `}\n ${props.blockEnd &&\n css`\n margin-block-end: ${margin(props.blockEnd)};\n `}\n }\n `,\n props,\n ) as string;\n\n const patchedChildren = patchChildren(\n children,\n (childProps: {\n className: string | string[];\n [index: string]: unknown;\n }) => ({\n className: appendClassName(\n childProps.className,\n appendClassName(className, marginsClassName),\n ),\n }),\n );\n\n return (\n <BoxTransforms.Provider\n children={patchedChildren}\n value={useComposedBoxTransform(transformFn)}\n />\n );\n};\n","import { Margins } from './Margins';\n\nexport default Margins;\n","import type { UsePositionOptions } from '@rocket.chat/fuselage-hooks';\nimport type { ComponentProps, ElementType, ReactNode } from 'react';\nimport { useRef, useCallback, useEffect } from 'react';\n\nimport type Box from '../Box';\nimport { IconButton } from '../Button';\nimport Options, { useCursor, type OptionType } from '../Options';\nimport PositionAnimated from '../PositionAnimated';\n\ntype MenuProps = Omit<ComponentProps<typeof IconButton>, 'icon'> & {\n options: {\n [id: string]: {\n type?: 'option' | 'heading' | 'divider';\n label?: ReactNode;\n action?: () => void;\n disabled?: boolean;\n };\n };\n optionWidth?: ComponentProps<typeof Box>['width'];\n placement?: UsePositionOptions['placement'];\n renderItem?: ElementType;\n icon?: ComponentProps<typeof IconButton>['icon'];\n maxHeight?: string | number;\n};\n\nconst menuAction = ([selected]: OptionType, options: MenuProps['options']) => {\n options[selected].action?.();\n};\n\nconst mapOptions = (options: MenuProps['options']): OptionType[] =>\n Object.entries(options).map(\n ([value, { type = 'option', label, disabled }]) => [\n value,\n label,\n undefined,\n disabled,\n type,\n ],\n );\n\n/**\n * Kebab Menu\n */\nexport const Menu = ({\n tiny,\n mini,\n small = !(tiny || mini),\n options,\n optionWidth,\n placement = 'bottom-start',\n renderItem,\n maxHeight,\n icon = 'kebab',\n ...props\n}: MenuProps) => {\n const mappedOptions = mapOptions(options);\n const [cursor, handleKeyDown, handleKeyUp, reset, [visible, hide, show]] =\n useCursor(-1, mappedOptions, (args, [, hide]) => {\n menuAction(args, options);\n reset();\n hide();\n });\n\n const ref = useRef<HTMLElement>(null);\n const onClick = useCallback(() => {\n if (ref.current?.classList.contains('focus-visible')) {\n ref.current.classList.remove('focus-visible');\n hide();\n return;\n }\n if (ref.current) {\n ref.current.focus();\n show();\n ref.current.classList.add('focus-visible');\n }\n }, [hide, show]);\n\n const handleSelection = useCallback(\n (args: OptionType) => {\n menuAction(args, options);\n reset();\n hide();\n },\n [hide, reset, options],\n );\n\n useEffect(() => {\n if (visible === 'hidden') {\n ref.current?.classList.remove('focus-visible');\n }\n }, [visible]);\n\n return (\n <>\n <IconButton\n data-testid='menu'\n ref={ref}\n small={small}\n tiny={tiny}\n mini={mini}\n onClick={onClick}\n onBlur={hide}\n onKeyUp={handleKeyUp}\n onKeyDown={handleKeyDown}\n icon={icon}\n {...props}\n />\n <PositionAnimated\n width='auto'\n visible={visible}\n anchor={ref}\n placement={placement}\n >\n <Options\n maxHeight={maxHeight}\n renderItem={renderItem}\n width={optionWidth}\n onSelect={handleSelection}\n options={mappedOptions}\n cursor={cursor}\n ref={ref}\n />\n </PositionAnimated>\n </>\n );\n};\n","import type { UsePositionOptions } from '@rocket.chat/fuselage-hooks';\nimport type { ComponentProps, ElementType, ReactElement } from 'react';\nimport { cloneElement, useRef } from 'react';\nimport type { AriaMenuProps } from 'react-aria';\nimport { useButton, useMenuTrigger } from 'react-aria';\nimport { createPortal } from 'react-dom';\nimport type { MenuTriggerProps } from 'react-stately';\nimport { useMenuTriggerState } from 'react-stately';\n\nimport type Box from '../../Box/Box';\nimport { IconButton } from '../../Button';\n\nimport MenuDropDown from './MenuDropdown';\nimport MenuPopover from './MenuPopover';\nimport { getPlacement } from './helpers/helpers';\n\nexport interface MenuButtonProps<T> extends AriaMenuProps<T>, MenuTriggerProps {\n icon?: ComponentProps<typeof IconButton>['icon'];\n large?: boolean;\n medium?: boolean;\n small?: boolean;\n tiny?: boolean;\n mini?: boolean;\n placement?: UsePositionOptions['placement'];\n title?: string;\n detached?: boolean;\n /**\n * A component that renders an IconButton\n */\n is?: ElementType;\n className?: ComponentProps<typeof Box>['className'];\n pressed?: boolean;\n maxWidth?: string;\n button?: ReactElement;\n}\n\n/**\n * Kebab Menu. Use `<MenuItem>` to render the menu items.\n */\nconst Menu = <T extends object>({\n icon = 'kebab',\n placement = 'bottom-start',\n title,\n is: MenuButton = IconButton,\n className,\n pressed,\n maxWidth = 'x250',\n button,\n detached,\n ...props\n}: MenuButtonProps<T>) => {\n const state = useMenuTriggerState(props);\n\n const ref = useRef(null);\n const { menuTriggerProps, menuProps } = useMenuTrigger<T>({}, state, ref);\n\n const { buttonProps } = useButton(\n {\n ...menuTriggerProps,\n 'aria-label': props['aria-label'] || title,\n ...{ preventFocusOnPress: true },\n },\n ref,\n );\n\n const { large, medium, tiny, mini } = props;\n const sizes = { large, medium, tiny, mini };\n const defaultSmall = !large && !medium && !tiny && !mini;\n\n const popover = state.isOpen && (\n <MenuPopover\n state={state}\n triggerRef={ref}\n placement={getPlacement(placement)}\n maxWidth={maxWidth}\n >\n <MenuDropDown {...props} {...menuProps} />\n </MenuPopover>\n );\n\n return (\n <>\n {button ? (\n cloneElement(button, {\n ...buttonProps,\n ref,\n icon,\n className,\n title,\n pressed: pressed || state.isOpen,\n })\n ) : (\n <MenuButton\n {...buttonProps}\n ref={ref}\n icon={icon}\n className={className}\n title={title}\n pressed={pressed || state.isOpen}\n small={defaultSmall}\n {...sizes}\n />\n )}\n {detached ? createPortal(popover, document.body) : popover}\n </>\n );\n};\n\nMenu.displayName = 'MenuV2';\n\nexport default Menu;\n","import { useRef } from 'react';\nimport type { AriaMenuProps } from 'react-aria';\nimport { useMenu } from 'react-aria';\nimport { useTreeState } from 'react-stately';\n\nimport MenuItem from './MenuItem';\nimport MenuSection from './MenuSection';\n\nfunction MenuDropDown<T extends object>(props: AriaMenuProps<T>) {\n const state = useTreeState(props);\n\n const ref = useRef(null);\n const { menuProps } = useMenu(props, state, ref);\n\n return (\n <div {...menuProps} ref={ref}>\n {[...state.collection].map((item) =>\n item.type === 'section' ? (\n <MenuSection key={item.key} section={item} state={state} />\n ) : (\n <MenuItem key={item.key} item={item} state={state} />\n ),\n )}\n </div>\n );\n}\n\nexport default MenuDropDown;\n","import type { Node } from '@react-types/shared';\nimport type { ReactNode } from 'react';\nimport { useRef } from 'react';\nimport { mergeProps, useMenuItem } from 'react-aria';\nimport type { TreeState } from 'react-stately';\n\nimport { MenuItemDescription } from '.';\nimport type { MenuOptionProps } from './MenuOption';\nimport MenuOption from './MenuOption';\n\ntype MenuItemProps = {\n item: Node<{\n description?: ReactNode;\n variant?: MenuOptionProps['variant'];\n }>;\n state: TreeState<unknown>;\n};\n\nfunction MenuItem({ item, state }: MenuItemProps) {\n const ref = useRef(null);\n const {\n menuItemProps: { onPointerUp, ...menuItemProps },\n isFocused,\n isDisabled,\n } = useMenuItem({ key: item.key }, state, ref);\n\n // There's an issue caused by conflicting event handlers. The popover opens on onPointerDown and the selection event for both, the menu (listbox), happens on onPointerUp.\n // As a workaround, we are overwriting `onPointerDown` event with `onPointerUp`\n\n return (\n <MenuOption\n {...mergeProps(menuItemProps, { onPointerDown: onPointerUp })}\n ref={ref}\n focus={isFocused}\n disabled={isDisabled}\n is='label'\n variant={item.value?.variant}\n >\n <div className='rcx-option__wrapper'>{item.rendered}</div>\n {item.value && item.value.description && (\n <MenuItemDescription>{item.value.description}</MenuItemDescription>\n )}\n </MenuOption>\n );\n}\n\nexport default MenuItem;\n","import type {\n Ref,\n ComponentProps,\n ReactNode,\n MouseEvent,\n AllHTMLAttributes,\n} from 'react';\nimport { forwardRef, memo } from 'react';\n\nimport { prevent } from '../../../helpers/prevent';\nimport type Box from '../../Box/Box';\n\nexport type MenuOptionProps = {\n is?: ComponentProps<typeof Box>['is'];\n id?: string;\n children?: ReactNode;\n focus?: boolean;\n selected?: boolean;\n className?: ComponentProps<typeof Box>['className'];\n ref?: Ref<Element>;\n title?: string;\n disabled?: boolean;\n value?: string;\n variant?: 'danger' | 'success' | 'warning' | 'primary';\n onClick?: (event: MouseEvent<HTMLElement>) => void;\n description?: ReactNode;\n} & Omit<AllHTMLAttributes<HTMLElement>, 'label'>;\n\nconst MenuOption = memo(\n forwardRef(\n (\n {\n is: Tag = 'li',\n id,\n children,\n focus,\n selected,\n className,\n title,\n disabled,\n variant,\n onClick,\n ...props\n }: MenuOptionProps,\n ref,\n ) => (\n <Tag\n {...props}\n key={id}\n id={id}\n ref={ref}\n aria-selected={!!selected}\n aria-disabled={!!disabled}\n title={title}\n onClick={(e: MouseEvent<HTMLDivElement>) => {\n if (disabled) {\n prevent(e);\n return;\n }\n onClick?.(e);\n }}\n className={[\n 'rcx-option',\n className,\n focus && 'rcx-option--focus',\n selected && 'rcx-option--selected',\n disabled && 'rcx-option--disabled',\n variant && `rcx-option--${variant}`,\n ]\n .filter(Boolean)\n .join(' ')}\n >\n {children}\n </Tag>\n ),\n ),\n);\n\nexport default MenuOption;\n","import { useBreakpoints } from '@rocket.chat/fuselage-hooks';\nimport type { ReactNode } from 'react';\nimport type { AriaPopoverProps } from 'react-aria';\nimport type { OverlayTriggerState } from 'react-stately';\n\nimport { DropdownDesktop } from '../../Dropdown/DropdownDesktop';\nimport { DropdownMobile } from '../../Dropdown/DropdownMobile';\nimport { Popover } from '../../Popover';\n\ninterface MenuPopoverProps extends Omit<AriaPopoverProps, 'popoverRef'> {\n children: ReactNode;\n state: OverlayTriggerState;\n maxWidth?: string;\n}\n\nfunction MenuPopover({\n children,\n state,\n offset = 4,\n maxWidth,\n ...props\n}: MenuPopoverProps) {\n const isMobile = !useBreakpoints().includes('sm');\n\n if (isMobile) {\n return (\n <Popover state={state} offset={offset} {...props}>\n <DropdownMobile>{children}</DropdownMobile>\n </Popover>\n );\n }\n\n return (\n <Popover state={state} offset={offset} {...props}>\n <DropdownDesktop maxWidth={maxWidth}>{children}</DropdownDesktop>\n </Popover>\n );\n}\nexport default MenuPopover;\n","import type { Node } from '@react-types/shared';\nimport { useMenuSection, useSeparator } from 'react-aria';\nimport type { TreeState } from 'react-stately';\n\nimport Box from '../../Box/Box';\nimport { Divider } from '../../Divider';\nimport { OptionTitle } from '../../Option';\n\nimport MenuItem from './MenuItem';\n\ntype MenuSectionProps<T extends object> = {\n section: Node<T>;\n state: TreeState<unknown>;\n};\n\nfunction MenuSection<T extends object>({\n section,\n state,\n}: MenuSectionProps<T>) {\n const { itemProps, headingProps, groupProps } = useMenuSection({\n 'heading': section.rendered,\n 'aria-label': section['aria-label'],\n });\n\n const { separatorProps } = useSeparator({\n elementType: 'span',\n });\n\n // If the section is not the first, add a separator element.\n return (\n <>\n {section.key !== state.collection.getFirstKey() && (\n <Divider {...separatorProps} />\n )}\n <div {...itemProps}>\n {section.rendered && (\n <OptionTitle {...headingProps}>{section.rendered}</OptionTitle>\n )}\n <Box {...groupProps} p='0'>\n {[...section.childNodes].map((node) => (\n <MenuItem key={node.key} item={node as any} state={state} />\n ))}\n </Box>\n </div>\n </>\n );\n}\n\nexport default MenuSection;\n","import type { UsePositionOptions } from '@rocket.chat/fuselage-hooks';\n\ntype ReactAriaPlacement =\n | 'bottom'\n | 'bottom left'\n | 'bottom right'\n | 'bottom start'\n | 'bottom end'\n | 'top'\n | 'top left'\n | 'top right'\n | 'top start'\n | 'top end'\n | 'left'\n | 'left top'\n | 'left bottom'\n | 'start'\n | 'start top'\n | 'start bottom'\n | 'right'\n | 'right top'\n | 'right bottom'\n | 'end'\n | 'end top'\n | 'end bottom';\n\nexport const getPlacement = (\n placement: UsePositionOptions['placement'],\n): ReactAriaPlacement => {\n // switch case for placement from usePosition placement to react-aria\n switch (placement) {\n case 'bottom':\n return 'bottom';\n\n case 'bottom-start':\n return 'bottom start';\n case 'bottom-end':\n return 'bottom end';\n case 'top':\n return 'top';\n\n case 'top-start':\n return 'top start';\n case 'top-end':\n return 'top end';\n case 'left':\n return 'left';\n case 'left-start':\n return 'left top';\n case 'left-end':\n return 'left bottom';\n case 'right':\n return 'right';\n case 'right-start':\n return 'right top';\n case 'right-end':\n return 'right bottom';\n default:\n return 'bottom start';\n }\n};\n","import {\n OptionIcon,\n OptionAvatar,\n OptionColumn,\n OptionContent,\n OptionInput,\n OptionSkeleton,\n OptionTitle,\n OptionDescriptionBlock,\n} from '../../Option';\n\nexport { default as MenuV2 } from './Menu';\nexport { default as MenuItem } from './stately/MenuItem';\nexport { default as MenuSection } from './stately/MenuSection';\n\nexport {\n OptionAvatar as MenuItemAvatar,\n OptionColumn as MenuItemColumn,\n OptionContent as MenuItemContent,\n OptionIcon as MenuItemIcon,\n OptionInput as MenuItemInput,\n OptionSkeleton as MenuItemSkeleton,\n OptionTitle as MenuItemTitle,\n OptionDescriptionBlock as MenuItemDescription,\n};\n","import type { ItemProps } from '@react-types/shared';\nimport { Children, ReactElement } from 'react';\n\nimport type { PartialNode } from './PartialNode';\n\nfunction MenuItem<T>(_props: ItemProps<T>) {\n return null;\n}\n\nMenuItem.getCollectionNode = function* getCollectionNode<T>(\n props: ItemProps<T>,\n context: any,\n): Generator<PartialNode<T>> {\n const { childItems, title, children } = props;\n\n const rendered = props.title || props.children;\n const textValue =\n props.textValue ||\n (typeof rendered === 'string' ? rendered : '') ||\n props['aria-label'] ||\n '';\n\n if (!textValue && !context?.suppressTextValueWarning) {\n console.warn(\n '<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop.',\n );\n }\n\n yield {\n 'type': 'item',\n props,\n rendered,\n textValue,\n 'aria-label': props['aria-label'],\n 'hasChildNodes': hasChildItems(props),\n *'childNodes'() {\n if (childItems) {\n for (const child of childItems) {\n yield {\n type: 'item',\n value: child,\n };\n }\n } else if (title) {\n const items: PartialNode<T>[] = [];\n Children.forEach(children, (child) => {\n items.push({\n type: 'item',\n element: child as ReactElement,\n });\n });\n\n yield* items;\n }\n },\n };\n};\n\nfunction hasChildItems<T>(props: ItemProps<T>) {\n if (props.hasChildItems != null) {\n return props.hasChildItems;\n }\n\n if (props.childItems) {\n return true;\n }\n\n if (props.title && Children.count(props.children) > 0) {\n return true;\n }\n\n return false;\n}\n\nexport default MenuItem;\n","import type { SectionProps } from '@react-types/shared';\nimport { Children } from 'react';\n\nimport type { PartialNode } from './PartialNode';\n\nfunction MenuSection<T>(_props: SectionProps<T>) {\n return null;\n}\n\nMenuSection.getCollectionNode = function* getCollectionNode<T>(\n props: SectionProps<T>,\n): Generator<PartialNode<T>> {\n const { children, title, items } = props;\n yield {\n 'type': 'section',\n props,\n 'hasChildNodes': true,\n 'rendered': title,\n 'aria-label': props['aria-label'],\n *'childNodes'() {\n if (typeof children === 'function') {\n if (!items) {\n throw new Error(\n 'props.children was a function but props.items is missing',\n );\n }\n\n for (const item of items) {\n yield {\n type: 'item',\n value: item,\n element: children(item),\n } as PartialNode<T>;\n }\n } else {\n const items: PartialNode<T>[] = [];\n Children.forEach(children, (child) => {\n items.push({\n type: 'item',\n element: child ?? undefined,\n });\n });\n\n yield* items;\n }\n },\n };\n};\n\nexport default MenuSection;\n","export * from './Menu';\nexport * from './V2';\n","import type { AllHTMLAttributes, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { prependClassName } from '../../helpers/prependClassName';\n\ntype MessageProps = AllHTMLAttributes<HTMLDivElement> & {\n clickable?: boolean;\n sequential?: boolean;\n className?: string;\n isSelected?: boolean;\n isEditing?: boolean;\n isPending?: boolean;\n highlight?: boolean;\n};\n\nexport const Message = forwardRef(function Message(\n {\n className,\n clickable,\n sequential,\n isSelected,\n isEditing,\n isPending,\n highlight,\n ...props\n }: MessageProps,\n ref: Ref<HTMLDivElement>,\n) {\n return (\n <div\n ref={ref}\n className={prependClassName(\n className,\n [\n 'rcx-message',\n (clickable || props.onClick) && 'rcx-message--clickable',\n sequential && 'rcx-message--sequential',\n isSelected && 'rcx-message--selected',\n isEditing && 'rcx-message--editing',\n isPending && 'rcx-message--pending',\n highlight && 'rcx-message--highlight',\n ]\n .filter(Boolean)\n .join(' '),\n )}\n {...props}\n />\n );\n});\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\ntype MessageBlockProps = {\n fixedWidth?: boolean;\n} & ComponentProps<typeof Box>;\n\nexport const MessageBlock = forwardRef(\n (\n { className: _className, fixedWidth, ...props }: MessageBlockProps,\n ref: Ref<HTMLDivElement>,\n ) => (\n <Box\n rcx-message-block\n rcx-message-block--width-fixed={fixedWidth}\n ref={ref}\n {...props}\n />\n ),\n);\n","import type { HTMLAttributes, ReactElement } from 'react';\n\nimport { prependClassName } from '../../helpers/prependClassName';\n\ntype MessageBodyProps = HTMLAttributes<HTMLDivElement> & {\n clamp?: 2 | 3 | 4;\n};\n\nexport const MessageBody = ({\n clamp,\n className,\n ...props\n}: MessageBodyProps): ReactElement => (\n <div\n className={\n prependClassName(\n className,\n [\n 'rcx-message-body',\n clamp && `rcx-message-body--clamp rcx-message-body--clamp-${clamp}`,\n ]\n .filter(Boolean)\n .join(' '),\n ) as string\n }\n {...props}\n />\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const MessageContainer = (props: HTMLAttributes<HTMLDivElement>) => (\n <div className='rcx-box rcx-box--full rcx-message-container' {...props} />\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const MessageContainerFixed = (\n props: HTMLAttributes<HTMLDivElement>,\n) => (\n <div\n className='rcx-box rcx-box--full rcx-message-container rcx-message-container--fixed'\n {...props}\n />\n);\n","import type { ReactNode } from 'react';\n\ntype MessageDividerProps = {\n children?: ReactNode;\n unreadLabel?: string;\n};\n\nexport const MessageDivider = ({\n children,\n unreadLabel,\n ...props\n}: MessageDividerProps) => (\n <div\n role='separator'\n className={\n !unreadLabel\n ? 'rcx-message-divider'\n : 'rcx-message-divider rcx-message-divider--unread'\n }\n {...props}\n >\n {children && (\n <>\n <div className='rcx-message-divider__bar' />\n <div className='rcx-message-divider__wrapper'>{children}</div>{' '}\n </>\n )}\n <div className='rcx-message-divider__bar'>\n {unreadLabel && (\n <div className='rcx-message-divider__wrapper--unread'>\n {unreadLabel}\n </div>\n )}\n </div>\n </div>\n);\n","export * from './MessageDivider';\n","import type { ComponentProps } from 'react';\n\nimport { MessageEmojiBase } from './MessageEmojiBase';\n\ntype MessageEmojiProps = ComponentProps<typeof MessageEmojiBase> & {\n big?: boolean;\n};\n\nexport const MessageEmoji = ({\n name,\n className,\n image,\n big,\n ...props\n}: MessageEmojiProps) => (\n <MessageEmojiBase\n className={[\n 'rcx-message__emoji',\n className,\n big && 'rcx-message__emoji--big',\n ]\n .filter(Boolean)\n .join(' ')}\n name={name}\n image={image}\n {...props}\n />\n);\n","import type { HTMLAttributes } from 'react';\n\ntype MessageEmojiBaseProps = {\n name: string;\n image?: string;\n} & HTMLAttributes<HTMLSpanElement>;\n\nexport const MessageEmojiBase = ({\n name,\n image,\n className,\n ...props\n}: MessageEmojiBaseProps) => (\n <span\n className={`${className || ''} ${name}`}\n style={image && image.length ? { backgroundImage: image } : undefined}\n {...props}\n />\n);\n","// extracted by mini-css-extract-plugin\nexport {};","import type { HTMLAttributes } from 'react';\n\nimport './MessageGenericPreview.styles.scss';\n\nexport const MessageGenericPreview = (\n props: HTMLAttributes<HTMLDivElement>,\n) => <div className='rcx-message-generic-preview' {...props} />;\n","import type { ReactElement, ReactNode } from 'react';\n\ntype MessageGenericPreviewContentProps = {\n children?: ReactNode;\n thumb?: ReactElement;\n};\n\nexport const MessageGenericPreviewContent = ({\n thumb,\n ...props\n}: MessageGenericPreviewContentProps) => (\n <div className='rcx-message-generic-preview__content'>\n {thumb}\n <div className='rcx-message-generic-preview__content-wrapper' {...props} />\n </div>\n);\n","import { prependClassName } from '../../../helpers/prependClassName';\n\ntype MessageGenericPreviewCoverImageProps = {\n url: string;\n width: number;\n height: number;\n className?: string;\n};\n\nexport const MessageGenericPreviewCoverImage = ({\n url,\n width,\n height,\n className,\n ...props\n}: MessageGenericPreviewCoverImageProps) => (\n <div\n className={prependClassName(\n className,\n 'rcx-message-generic-preview__preview',\n )}\n style={{ backgroundImage: `url(${url})`, maxWidth: '100%' }}\n data-testid='preview-image'\n {...props}\n >\n <div style={{ paddingTop: `${(height / width) * 100}%` }} />\n </div>\n);\n","import type { ReactNode } from 'react';\n\ntype MessageGenericPreviewDescriptionProps = {\n children?: ReactNode;\n clamp?: boolean;\n};\n\nexport const MessageGenericPreviewDescription = ({\n children,\n clamp = false,\n}: MessageGenericPreviewDescriptionProps) => (\n <div\n className={[\n 'rcx-message-generic-preview__description',\n clamp && 'rcx-message-generic-preview__description--clamp',\n ]\n .filter(Boolean)\n .join(' ')}\n >\n {children}\n </div>\n);\n","import type { ReactNode } from 'react';\n\ntype MessageGenericPreviewFooterProps = {\n children?: ReactNode;\n clamp?: boolean;\n};\n\nexport const MessageGenericPreviewFooter = ({\n children,\n}: MessageGenericPreviewFooterProps) => (\n <div className={'rcx-message-generic-preview__footer'}>{children}</div>\n);\n","import type { IconProps } from '../../Icon';\nimport { Icon } from '../../Icon';\n\nexport type MessageGenericPreviewIconProps = IconProps & {\n type: string;\n};\n\nexport const MessageGenericPreviewIcon = ({\n name = 'attachment-file',\n size = 32,\n color = 'default',\n type = 'file',\n}: MessageGenericPreviewIconProps) => (\n <div className='rcx-message-generic-preview__icon'>\n <Icon name={name} color={color} size={size} />\n <div className='rcx-message-generic-preview__icon-title'>{type}</div>\n </div>\n);\n","import type { ImgHTMLAttributes } from 'react';\n\nimport { prependClassName } from '../../../helpers/prependClassName';\n\ntype MessageGenericPreviewImageProps = {\n url: string;\n className?: string;\n} & ImgHTMLAttributes<HTMLImageElement>;\n\nexport const MessageGenericPreviewImage = ({\n url,\n className,\n ...props\n}: MessageGenericPreviewImageProps) => (\n <img\n src={url}\n className={prependClassName(\n className,\n 'rcx-message-generic-preview__image',\n )}\n alt=''\n {...props}\n />\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const MessageGenericPreviewThumb = (\n props: HTMLAttributes<HTMLDivElement>,\n) => <div className='rcx-message-generic-preview__thumb' {...props} />;\n","import type { AnchorHTMLAttributes, HTMLAttributes } from 'react';\n\ntype MessageGenericPreviewTitleProps = {\n externalUrl?: string;\n} & HTMLAttributes<HTMLSpanElement> &\n AnchorHTMLAttributes<HTMLAnchorElement>;\n\nexport const MessageGenericPreviewTitle = ({\n externalUrl,\n children,\n ...props\n}: MessageGenericPreviewTitleProps) => {\n if (externalUrl) {\n return (\n <a\n className='rcx-message-generic-preview__title rcx-message-generic-preview__title-link'\n href={externalUrl}\n target='_blank'\n {...props}\n >\n {children}\n </a>\n );\n }\n\n return <span className='rcx-message-generic-preview__title' {...props} />;\n};\n","export * from './MessageGenericPreview';\nexport * from './MessageGenericPreviewContent';\nexport * from './MessageGenericPreviewDescription';\nexport * from './MessageGenericPreviewFooter';\nexport * from './MessageGenericPreviewCoverImage';\nexport * from './MessageGenericPreviewImage';\nexport * from './MessageGenericPreviewThumb';\nexport * from './MessageGenericPreviewTitle';\nexport * from './MessageGenericPreviewIcon';\n","import type { HTMLAttributes } from 'react';\n\nexport const MessageHeader = ({\n children,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div className='rcx-box rcx-box--full rcx-message-header' {...props}>\n <div className='rcx-box rcx-box--full rcx-message-header__wrapper'>\n {children}\n </div>\n </div>\n);\n","import type { ElementType, HTMLAttributes } from 'react';\n\nimport { prependClassName } from '../../helpers/prependClassName';\n\nexport type MessageHighlightProps = {\n is?: ElementType;\n clickable?: boolean;\n variant?: 'critical' | 'relevant' | 'other' | 'link';\n className?: string;\n children: any;\n title?: string;\n} & HTMLAttributes<HTMLElement>;\n\nexport function MessageHighlight({\n is: Tag = 'span',\n variant = 'other',\n className,\n clickable,\n ...props\n}: MessageHighlightProps) {\n const modifiers = [variant, clickable && 'clickable']\n .filter(Boolean)\n .map((modifier) => `rcx-message__highlight--${modifier}`)\n .join(' ');\n\n return (\n <Tag\n className={prependClassName(\n className,\n `rcx-box rcx-box--full rcx-message__highlight ${modifiers}`,\n )}\n {...props}\n />\n );\n}\n","import type { HTMLAttributes, ReactElement } from 'react';\n\nexport const MessageLeftContainer = (\n props: HTMLAttributes<HTMLDivElement>,\n): ReactElement => (\n <div\n className='rcx-box rcx-box--full rcx-message-container rcx-message-container--left'\n {...props}\n />\n);\n","import type { HTMLAttributes } from 'react';\n\nimport { MessageMetricsContentItem } from './MessageMetricsContentItem';\n\ntype MessageMetricsProps = HTMLAttributes<HTMLDivElement>;\n\nexport const MessageMetrics = (props: MessageMetricsProps) => (\n <MessageMetricsContentItem>\n <div className='rcx-message-metrics__content-wrapper' {...props} />\n </MessageMetricsContentItem>\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const MessageMetricsContentItem = (\n props: HTMLAttributes<HTMLDivElement>,\n) => <div className='rcx-message-metrics__content-item' {...props} />;\n","import type { ComponentProps, ReactElement } from 'react';\n\nimport { IconButton } from '../../Button';\n\ntype MessageMetricsFollowingProps = {\n name: 'bell' | 'bell-off';\n badge?: ReactElement;\n} & Omit<ComponentProps<typeof IconButton>, 'icon'>;\n\nexport const MessageMetricsFollowing = ({\n name,\n badge,\n ...props\n}: MessageMetricsFollowingProps) => (\n <IconButton\n position='relative'\n overflow='visible'\n {...props}\n small\n icon={name}\n >\n {badge && (\n <div className='rcx-message-metrics__item__follow-badge'>{badge}</div>\n )}\n </IconButton>\n);\n","import type { HTMLAttributes } from 'react';\n\nimport { prependClassName } from '../../../../helpers/prependClassName';\n\ntype MessageMetricsItemProps = HTMLAttributes<HTMLDivElement>;\n\nexport const MessageMetricsItem = ({\n className,\n ...props\n}: MessageMetricsItemProps) => (\n <div\n className={prependClassName(className, 'rcx-message-metrics__item')}\n {...props}\n />\n);\n","import type { HTMLAttributes } from 'react';\n\nimport { prependClassName } from '../../../../helpers/prependClassName';\n\ntype MessageMetricsItemProps = HTMLAttributes<HTMLDivElement>;\n\nexport const MessageMetricsItemAvatarRow = ({\n className,\n ...props\n}: MessageMetricsItemProps) => (\n <div\n className={prependClassName(className, 'rcx-message-metrics__avatar-row')}\n {...props}\n />\n);\n","import type { HTMLAttributes } from 'react';\n\nimport { prependClassName } from '../../../../helpers/prependClassName';\n\ntype MessageMetricsItemProps = HTMLAttributes<HTMLDivElement>;\n\nexport const MessageMetricsItemAvatarRowContent = ({\n className,\n ...props\n}: MessageMetricsItemProps) => (\n <div\n className={prependClassName(\n className,\n 'rcx-message-metrics__avatar-row__content',\n )}\n {...props}\n />\n);\n","import type { ComponentProps } from 'react';\n\nimport { Icon } from '../../../..';\n\ntype MessageMetricsItemIconProps = {\n name: 'thread' | 'user' | 'clock' | 'discussion';\n} & Omit<ComponentProps<typeof Icon>, 'name'>;\n\nexport const MessageMetricsItemIcon = (props: MessageMetricsItemIconProps) => (\n <Icon size='x20' {...props} />\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const MessageMetricsItemLabel = (\n props: HTMLAttributes<HTMLDivElement>,\n) => <div className='rcx-message-metrics__item-label' {...props} />;\n","import { MessageMetricsItem } from './MessageMetricsItem';\nimport { MessageMetricsItemAvatarRow } from './MessageMetricsItemAvatarRow';\nimport { MessageMetricsItemAvatarRowContent } from './MessageMetricsItemAvatarRowContent';\nimport { MessageMetricsItemIcon } from './MessageMetricsItemIcon';\nimport { MessageMetricsItemLabel } from './MessageMetricsItemLabel';\n\nexport default Object.assign(MessageMetricsItem, {\n /**\n * @deprecated prefer using named imports\n * */\n Icon: MessageMetricsItemIcon,\n /**\n * @deprecated prefer using named imports\n * */\n Label: MessageMetricsItemLabel,\n});\n\nexport {\n MessageMetricsItem,\n MessageMetricsItemIcon,\n MessageMetricsItemLabel,\n MessageMetricsItemAvatarRowContent,\n MessageMetricsItemAvatarRow,\n};\n","import type { ComponentProps } from 'react';\n\nimport { Button } from '../..';\n\nimport MessageMetricsItem from './MessageMetricsItem';\n\ntype MessageMetricsReplyProps = ComponentProps<typeof Button>;\n\nexport const MessageMetricsReply = (props: MessageMetricsReplyProps) => (\n <MessageMetricsItem>\n <Button primary {...props} small />\n </MessageMetricsItem>\n);\n","import { MessageMetrics } from './MessageMetrics';\nimport { MessageMetricsFollowing } from './MessageMetricsFollowing';\nimport MessageMetricsItem, {\n MessageMetricsItemIcon,\n MessageMetricsItemAvatarRowContent,\n MessageMetricsItemAvatarRow,\n MessageMetricsItemLabel,\n} from './MessageMetricsItem';\nimport { MessageMetricsReply } from './MessageMetricsReply';\n\nexport default Object.assign(MessageMetrics, {\n /**\n * @deprecated prefer using named imports\n * */\n Reply: MessageMetricsReply,\n /**\n * @deprecated prefer using named imports\n * */\n Item: MessageMetricsItem,\n /**\n * @deprecated prefer using named imports\n * */\n Following: MessageMetricsFollowing,\n});\n\nexport {\n MessageMetrics,\n MessageMetricsItemAvatarRow,\n MessageMetricsItemAvatarRowContent,\n MessageMetricsItem,\n MessageMetricsItemIcon,\n MessageMetricsItemLabel,\n MessageMetricsFollowing,\n MessageMetricsReply,\n};\n","import type { HTMLAttributes } from 'react';\n\nexport const MessageName = (props: HTMLAttributes<HTMLSpanElement>) => (\n <span className='rcx-box rcx-box--full rcx-message-header__name' {...props} />\n);\n","import type { HTMLAttributes } from 'react';\nimport { forwardRef } from 'react';\n\nexport const MessageNameContainer = forwardRef<\n HTMLSpanElement,\n HTMLAttributes<HTMLSpanElement>\n>(function MessageNameContainer(props, ref) {\n return (\n <span\n ref={ref}\n className='rcx-box rcx-box--full rcx-message-header__name-container'\n {...props}\n />\n );\n});\n","import type { HTMLAttributes, ReactNode, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { MessageReactionCounter } from './MessageReactionCounter';\nimport { MessageReactionEmoji } from './MessageReactionEmoji';\n\ntype MessageReactionProps = {\n name?: string;\n counter?: number;\n mine?: boolean;\n children?: ReactNode;\n} & HTMLAttributes<HTMLDivElement>;\n\nexport const MessageReaction = forwardRef(function Reaction(\n { name, counter, mine, children, className, ...props }: MessageReactionProps,\n ref: Ref<HTMLDivElement>,\n) {\n return (\n <div\n className={[\n `rcx-message-reactions__reaction`,\n mine && 'rcx-message-reactions__reaction--mine',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n ref={ref}\n role='button'\n tabIndex={0}\n {...props}\n >\n {children || (\n <>\n {name && <MessageReactionEmoji name={name} />}\n {counter && <MessageReactionCounter counter={counter} />}\n </>\n )}\n </div>\n );\n});\n","import type { HTMLAttributes } from 'react';\n\nimport { Icon } from '../../Icon';\n\nexport const MessageReactionAction = ({\n className,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div\n role='button'\n tabIndex={0}\n className={[\n 'rcx-message-reactions__reaction rcx-message-reactions__reaction--action',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n >\n <Icon name='emoji-plus' size='x16' />\n </div>\n);\n","type MessageReactionCounterProps = {\n counter: number;\n className?: string;\n};\n\nexport const MessageReactionCounter = ({\n counter,\n className,\n}: MessageReactionCounterProps) => (\n <div className={`rcx-message-reactions__counter ${className}`}>{counter}</div>\n);\n","import type { ComponentProps } from 'react';\n\nimport { MessageEmojiBase } from '../MessageEmojiBase';\n\nexport const MessageReactionEmoji = ({\n className,\n ...props\n}: ComponentProps<typeof MessageEmojiBase>) => (\n <MessageEmojiBase\n className={`rcx-message-reactions__emoji ${className || ''}`}\n {...props}\n />\n);\n","import type { HTMLAttributes, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { MessageBlock } from '../MessageBlock';\n\nexport const MessageReactions = forwardRef(function MessageReactions(\n props: HTMLAttributes<HTMLDivElement>,\n ref: Ref<HTMLDivElement>,\n) {\n return (\n <MessageBlock className='rcx-message-reactions'>\n <div ref={ref} className='rcx-message-reactions__container' {...props} />\n </MessageBlock>\n );\n});\n","import { MessageReaction } from './MessageReaction';\nimport { MessageReactionAction } from './MessageReactionAction';\nimport { MessageReactionCounter } from './MessageReactionCounter';\nimport { MessageReactionEmoji } from './MessageReactionEmoji';\nimport { MessageReactions } from './MessageReactions';\n\nexport default Object.assign(MessageReactions, {\n /**\n * @deprecated prefer using named imports\n * */\n Reaction: MessageReaction,\n /**\n * @deprecated prefer using named imports\n * */\n Action: MessageReactionAction,\n});\n\nexport {\n MessageReaction,\n MessageReactionAction,\n MessageReactions,\n MessageReactionCounter,\n MessageReactionEmoji,\n};\n","import type { ComponentProps } from 'react';\n\nimport { Tag } from '../Tag';\n\nexport const MessageRole = (props: ComponentProps<typeof Tag>) => (\n <Tag className='rcx-box rcx-box--full rcx-message-header__role' {...props} />\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const MessageRoles = (props: HTMLAttributes<HTMLDivElement>) => (\n <div className='rcx-box rcx-box--full rcx-message-header__roles' {...props} />\n);\n","// extracted by mini-css-extract-plugin\nexport {};","import type { AllHTMLAttributes, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport './MessageStatusIndicator.styles.scss';\n\ntype MessageStatusIndicatorProps = AllHTMLAttributes<HTMLDivElement>;\n\nexport const MessageStatusIndicator = forwardRef(\n (props: MessageStatusIndicatorProps, ref: Ref<HTMLDivElement>) => (\n <div ref={ref} className='rcx-message-status-indicator' {...props} />\n ),\n);\n","import type { AllHTMLAttributes, ComponentProps } from 'react';\n\nimport { Icon } from '../..';\n\ntype MessageStatusIndicatorItemProps = {\n name: ComponentProps<typeof Icon>['name'];\n variant?: 'success' | 'danger' | 'warning' | 'primary';\n} & Omit<AllHTMLAttributes<HTMLElement>, 'is'>;\n\nexport const MessageStatusIndicatorItem = ({\n name,\n variant,\n ...props\n}: MessageStatusIndicatorItemProps) => (\n <Icon\n name={name}\n size='x16'\n className={[\n 'rcx-message-status-indicator__item',\n variant && `rcx-message-status-indicator__item--${variant}`,\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n","import type { ReactNode } from 'react';\n\ntype MessageStatusIndicatorTextProps = {\n children: ReactNode;\n};\n\nexport const MessageStatusIndicatorText = ({\n children,\n}: MessageStatusIndicatorTextProps) => (\n <span className='rcx-message-status-indicator__text' aria-hidden>\n {children}\n </span>\n);\n","import type { ComponentProps, ReactNode } from 'react';\n\nimport type { MessageStatusIndicatorItem } from './MessageStatusIndicatorItem';\n\ntype MessageStatusPrivateIndicatorProps = {\n children?: ReactNode;\n variant?: ComponentProps<typeof MessageStatusIndicatorItem>['variant'];\n};\n\nexport const MessageStatusPrivateIndicator = ({\n children,\n variant,\n}: MessageStatusPrivateIndicatorProps) => (\n <span\n className={[\n 'rcx-message-status-indicator__item `rcx-message-status-indicator__item--private',\n variant && `rcx-message-status-indicator__item--${variant}`,\n ]\n .filter(Boolean)\n .join(' ')}\n >\n {children}\n </span>\n);\n","export * from './MessageStatusIndicator';\nexport * from './MessageStatusIndicatorText';\nexport * from './MessageStatusIndicatorItem';\nexport * from './MessageStatusPrivateIndicator';\n","// extracted by mini-css-extract-plugin\nexport {};","import type {\n ReactNode,\n MouseEvent as ReactMouseEvent,\n AllHTMLAttributes,\n} from 'react';\n\nimport './MessageSystem.styles.scss';\n\ntype MessageSystemProps = {\n children?: ReactNode;\n title?: string;\n isSelected?: boolean;\n onClick?: (e: ReactMouseEvent<HTMLDivElement, MouseEvent>) => void;\n} & AllHTMLAttributes<HTMLDivElement>;\n\nexport const MessageSystem = ({\n children,\n title,\n isSelected,\n ...props\n}: MessageSystemProps) => (\n <div\n className={[\n 'rcx-box rcx-box--full rcx-message-system',\n isSelected && 'rcx-message-system--selected',\n ]\n .filter(Boolean)\n .join(' ')}\n title={title}\n {...props}\n >\n {children}\n </div>\n);\n","import type { ReactNode } from 'react';\n\ntype MessageSystemBlockProps = {\n children?: ReactNode;\n};\n\nexport const MessageSystemBlock = (props: MessageSystemBlockProps) => (\n <div className='rcx-message-system__block' {...props} />\n);\n","import type { HTMLAttributes } from 'react';\n\ntype MessageSystemBodyProps = HTMLAttributes<HTMLDivElement>;\n\nexport const MessageSystemBody = (props: MessageSystemBodyProps) => (\n <div className='rcx-message-system__body' {...props} />\n);\n","import type { ReactNode } from 'react';\n\ntype MessageSystemContainerProps = {\n children?: ReactNode;\n};\n\nexport const MessageSystemContainer = (props: MessageSystemContainerProps) => (\n <div\n className='rcx-box rcx-box--full rcx-message-system__container'\n {...props}\n />\n);\n","import type { ComponentProps } from 'react';\n\nimport type { MessageName } from '../MessageName';\n\ntype MessageSystemNameProps = ComponentProps<typeof MessageName>;\n\nexport const MessageSystemName = (props: MessageSystemNameProps) => (\n <span className='rcx-box rcx-box--full rcx-message-system__name' {...props} />\n);\n","import type { ReactNode } from 'react';\n\ntype MessageSystemTimestampProps = { children: ReactNode; title?: string };\n\nexport const MessageSystemTimestamp = (props: MessageSystemTimestampProps) => (\n <span className='rcx-box rcx-box--full rcx-message-system__time' {...props} />\n);\n","import { MessageLeftContainer } from '../MessageLeftContainer';\n\nexport * from './MessageSystem';\nexport * from './MessageSystemBlock';\nexport * from './MessageSystemBody';\nexport * from './MessageSystemContainer';\nexport * from './MessageSystemName';\nexport * from './MessageSystemTimestamp';\nexport const MessageSystemLeftContainer = MessageLeftContainer;\n","import type { HTMLAttributes } from 'react';\n\nexport const MessageTimestamp = (props: HTMLAttributes<HTMLSpanElement>) => (\n <span className='rcx-box rcx-box--full rcx-message-header__time' {...props} />\n);\n","import type { ComponentProps, ForwardedRef } from 'react';\nimport { forwardRef } from 'react';\n\nimport { ButtonGroup } from '../..';\n\ntype MessageToolbarProps = ComponentProps<typeof ButtonGroup>;\n\nexport const MessageToolbar = forwardRef(function MessageToolbar(\n props: MessageToolbarProps,\n ref: ForwardedRef<HTMLDivElement>,\n) {\n return (\n <div className='rcx-box rcx-box--full rcx-message-toolbar'>\n <ButtonGroup role='toolbar' ref={ref} small {...props} />\n </div>\n );\n});\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { IconButton } from '../../Button';\n\ntype MessageToolbarItemProps = ComponentProps<typeof IconButton>;\n\nexport const MessageToolbarItem = forwardRef(function MessageToolbarItem(\n props: MessageToolbarItemProps,\n ref: Ref<HTMLButtonElement>,\n) {\n return <IconButton ref={ref} small {...props} />;\n});\n","import type { HTMLAttributes, Ref } from 'react';\nimport { forwardRef } from 'react';\n\ntype MessageToolbarWrapperProps = HTMLAttributes<HTMLDivElement> & {\n visible?: boolean;\n};\n\nexport const MessageToolbarWrapper = forwardRef(function MessageToolbarWrapper(\n { className, visible, ...props }: MessageToolbarWrapperProps,\n ref: Ref<HTMLDivElement>,\n) {\n return (\n <div\n ref={ref}\n className={[\n 'rcx-box rcx-box--full rcx-message-toolbar__wrapper',\n visible && 'rcx-message-toolbar__wrapper--visible',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n );\n});\n","import { Menu } from '../../Menu';\n\nimport { MessageToolbar } from './MessageToolbar';\nimport { MessageToolbarItem } from './MessageToolbarItem';\nimport { MessageToolbarWrapper } from './MessageToolbarWrapper';\n\nexport default Object.assign(MessageToolbar, {\n /**\n * @deprecated prefer using named imports\n * */\n Item: MessageToolbarItem,\n /**\n * @deprecated prefer using named imports\n * */\n Wrapper: MessageToolbarWrapper,\n /**\n * @deprecated prefer using named imports\n * */\n Menu,\n});\n\nexport { MessageToolbar, MessageToolbarItem, MessageToolbarWrapper, Menu };\n","import type { HTMLAttributes } from 'react';\n\nexport const MessageUsername = (props: HTMLAttributes<HTMLSpanElement>) => (\n <span\n className='rcx-box rcx-box--full rcx-message-header__username'\n {...props}\n />\n);\n","import type { ComponentProps } from 'react';\n\nimport Message from '..';\n\ntype ThreadMessageProps = ComponentProps<typeof Message>;\n\nexport const ThreadMessage = (props: ThreadMessageProps) => (\n <Message {...({ className: 'rcx-message-thread' } as any)} {...props} />\n);\n","import type { ReactNode } from 'react';\n\ntype ThreadMessageBodyProps = {\n children?: ReactNode;\n};\n\nexport const ThreadMessageBody = (props: ThreadMessageBodyProps) => (\n <div\n className='rcx-box rcx-box--full rcx-message-thread__message'\n {...props}\n />\n);\n","import type { ReactNode } from 'react';\n\ntype ThreadMessageContainerProps = {\n children?: ReactNode;\n};\n\nexport const ThreadMessageContainer = (props: ThreadMessageContainerProps) => (\n <div\n className='rcx-box rcx-box--full rcx-message-thread__container'\n {...props}\n />\n);\n","import type { ComponentProps } from 'react';\n\nimport { MessageEmojiBase } from '../MessageEmojiBase';\n\nexport const ThreadMessageEmoji = ({\n className,\n ...props\n}: ComponentProps<typeof MessageEmojiBase>) => (\n <MessageEmojiBase\n className={`rcx-message-thread__emoji ${className || ''}`}\n {...props}\n />\n);\n","import { ThreadMessageIcon } from './ThreadMessageIcon';\n\nexport const ThreadMessageFollow = () => (\n <ThreadMessageIcon\n className='rcx-box rcx-box--full rcx-message-thread__icon rcx-message-thread__icon--follow'\n {...({ name: 'bell' } as any)}\n />\n);\n","import type { ComponentProps, ReactElement } from 'react';\n\nimport { Icon } from '../..';\n\nexport const ThreadMessageIcon = ({\n ...props\n}: ComponentProps<typeof Icon>): ReactElement => (\n <Icon\n className='rcx-box rcx-box--full rcx-message-thread__icon'\n size='x16'\n {...props}\n />\n);\n","import { ThreadMessageIcon } from './ThreadMessageIcon';\n\nexport const ThreadMessageIconThread = () => (\n <ThreadMessageIcon name='thread' />\n);\n","import type { ReactNode } from 'react';\n\ntype ThreadMessageOriginProps = {\n children?: ReactNode;\n system?: boolean;\n};\n\nexport const ThreadMessageOrigin = ({\n children,\n system,\n}: ThreadMessageOriginProps) => (\n <div\n className={[\n 'rcx-box rcx-box--full rcx-message-thread__origin',\n system && 'rcx-box rcx-box--full rcx-message-thread__origin--system',\n ]\n .filter(Boolean)\n .join(' ')}\n >\n {children}\n </div>\n);\n","import type { HTMLAttributes } from 'react';\n\ntype ThreadMessageRowProps = HTMLAttributes<HTMLDivElement>;\n\nexport const ThreadMessageRow = (props: ThreadMessageRowProps) => (\n <div className='rcx-box rcx-box--full rcx-message-thread__row' {...props} />\n);\n","import { ThreadMessageIcon } from './ThreadMessageIcon';\n\nexport const ThreadMessageUnfollow = () => (\n <ThreadMessageIcon\n className='rcx-box rcx-box--full rcx-message-thread__icon rcx-message-thread__icon--unfollow'\n {...({ name: 'bell-off' } as any)}\n />\n);\n","import { MessageLeftContainer } from '../MessageLeftContainer';\n\nimport { ThreadMessage } from './ThreadMessage';\nimport { ThreadMessageBody } from './ThreadMessageBody';\nimport { ThreadMessageContainer } from './ThreadMessageContainer';\nimport { ThreadMessageEmoji } from './ThreadMessageEmoji';\nimport { ThreadMessageFollow } from './ThreadMessageFollow';\nimport { ThreadMessageIconThread } from './ThreadMessageIconThread';\nimport { ThreadMessageOrigin } from './ThreadMessageOrigin';\nimport { ThreadMessageRow } from './ThreadMessageRow';\nimport { ThreadMessageUnfollow } from './ThreadMessageUnfollow';\n\nconst ThreadMessageLeftContainer = MessageLeftContainer;\n\nexport default Object.assign(ThreadMessage, {\n Row: ThreadMessageRow,\n Container: ThreadMessageContainer,\n LeftContainer: ThreadMessageLeftContainer,\n Origin: ThreadMessageOrigin,\n Message: ThreadMessageBody,\n Follow: ThreadMessageFollow,\n Unfollow: ThreadMessageUnfollow,\n Icon: ThreadMessageIconThread,\n});\n\nexport {\n ThreadMessage,\n ThreadMessageBody,\n ThreadMessageContainer,\n ThreadMessageFollow,\n ThreadMessageIconThread,\n ThreadMessageOrigin,\n ThreadMessageRow,\n ThreadMessageEmoji,\n ThreadMessageUnfollow,\n ThreadMessageLeftContainer,\n};\n","import { Message } from './Message';\nimport { MessageBlock } from './MessageBlock';\nimport { MessageBody } from './MessageBody';\nimport { MessageContainer } from './MessageContainer';\nimport { MessageContainerFixed } from './MessageContainerFixed';\nimport { MessageDivider } from './MessageDivider';\nimport { MessageHeader } from './MessageHeader';\nimport { MessageHighlight } from './MessageHighlight';\nimport { MessageLeftContainer } from './MessageLeftContainer';\nimport MessageMetrics from './MessageMetrics';\nimport { MessageName } from './MessageName';\nimport { MessageNameContainer } from './MessageNameContainer';\nimport { MessageRole } from './MessageRole';\nimport { MessageRoles } from './MessageRoles';\nimport { MessageTimestamp } from './MessageTimestamp';\nimport MessageToolbar from './MessageToolbar';\nimport { MessageUsername } from './MessageUsername';\n\nexport * from './MessageDivider';\nexport * from './MessageGenericPreview';\nexport * from './MessageStatusIndicator';\nexport * from './MessageSystem';\nexport * from './MessageMetrics';\nexport * from './MessageReactions';\nexport * from './MessageToolbar';\nexport * from './ThreadMessage';\nexport * from './MessageBlock';\nexport * from './MessageBody';\nexport * from './MessageContainer';\nexport * from './MessageContainerFixed';\nexport * from './MessageHeader';\nexport * from './MessageNameContainer';\nexport * from './MessageLeftContainer';\nexport * from './MessageName';\nexport * from './MessageRole';\nexport * from './MessageRoles';\nexport * from './MessageTimestamp';\nexport * from './MessageUsername';\nexport * from './MessageEmoji';\nexport * from './MessageHighlight';\n\nexport default Object.assign(Message, {\n Metrics: MessageMetrics,\n Toolbar: MessageToolbar,\n Container: MessageContainer,\n ContainerFixed: MessageContainerFixed,\n LeftContainer: MessageLeftContainer,\n Header: MessageHeader,\n Body: MessageBody,\n Block: MessageBlock,\n Timestamp: MessageTimestamp,\n NameContainer: MessageNameContainer,\n Name: MessageName,\n Username: MessageUsername,\n Roles: MessageRoles,\n Role: MessageRole,\n Divider: MessageDivider,\n Highlight: MessageHighlight,\n});\n","import type { ComponentProps, Ref, ElementType, ReactNode } from 'react';\nimport { createElement, forwardRef } from 'react';\n\nimport Box from '../Box';\n\ntype ModalProps = {\n wrapperFunction?: (\n props: Pick<\n ComponentProps<typeof Box>,\n 'elevation' | 'className' | 'children'\n >,\n ) => ReactNode;\n wrapper?: ElementType<\n Pick<ComponentProps<typeof Box>, 'elevation' | 'className' | 'children'>\n >;\n} & ComponentProps<typeof Box>;\n\nexport const Modal = forwardRef(\n (\n { children, wrapper = Box, wrapperFunction, ...props }: ModalProps,\n ref: Ref<Element>,\n ) => {\n const wrapperProps = {\n children,\n className: 'rcx-modal__inner',\n elevation: '2',\n } as const;\n\n return (\n <Box is='dialog' open aria-modal='true' rcx-modal ref={ref} {...props}>\n {wrapperFunction\n ? wrapperFunction(wrapperProps)\n : createElement(wrapper, wrapperProps)}\n </Box>\n );\n },\n);\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\n\nexport type ModalBackdropProps = ComponentProps<typeof Box>;\n\nexport const ModalBackdrop = (props: ModalBackdropProps) => (\n <Box rcx-modal__backdrop {...props} />\n);\n","import type { ComponentProps } from 'react';\n\nimport type Box from '../Box';\nimport { IconButton } from '../Button';\n\nexport type ModalCloseProps = ComponentProps<typeof Box>;\n\nexport const ModalClose = (props: ModalCloseProps) => (\n <IconButton aria-label='Close' {...props} small icon='cross' />\n);\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\nimport Scrollable from '../Scrollable';\n\nexport type ModalContentProps = ComponentProps<typeof Box> & {\n onScrollContent?: ((touching: { top: boolean }) => void) | undefined;\n};\n\nexport const ModalContent = ({\n children,\n onScrollContent,\n ...props\n}: ModalContentProps) => (\n <Scrollable vertical onScrollContent={onScrollContent}>\n <Box rcx-modal__content>\n <Box rcx-modal__content-wrapper mi={24} {...props}>\n {children}\n </Box>\n </Box>\n </Scrollable>\n);\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\n\nexport type ModalFooterProps = ComponentProps<typeof Box>;\n\nexport const ModalFooter = ({\n children,\n justifyContent = 'end',\n}: ModalFooterProps) => (\n <Box justifyContent={justifyContent} rcx-modal__footer>\n {children}\n </Box>\n);\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\n\nexport type ModalFooterAnnotationProps = ComponentProps<typeof Box>;\n\nexport const ModalFooterAnnotation = ({\n children,\n}: ModalFooterAnnotationProps) => (\n <Box rcx-modal__footer-annotation>{children}</Box>\n);\n","import type { ComponentProps } from 'react';\n\nimport { ButtonGroup } from '..';\n\nexport type ModalFooterControllersProps = ComponentProps<typeof ButtonGroup>;\n\nexport const ModalFooterControllers = ({\n children,\n}: ModalFooterControllersProps) => (\n <ButtonGroup align='end'>{children}</ButtonGroup>\n);\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\nimport Margins from '../Margins';\n\nexport type ModalHeaderProps = ComponentProps<typeof Box>;\n\nexport const ModalHeader = ({ children, ...props }: ModalHeaderProps) => (\n <Box rcx-modal__header is='header' {...props}>\n <Box rcx-modal__header-inner>\n <Margins all='x4'>{children}</Margins>\n </Box>\n </Box>\n);\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\n\nexport type ModalHeaderTextProps = ComponentProps<typeof Box>;\n\nexport const ModalHeaderText = ({\n children,\n ...props\n}: ModalHeaderTextProps) => (\n <Box rcx-modal__header-text {...props}>\n {children}\n </Box>\n);\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\n\nexport type ModalHeroImageProps = ComponentProps<typeof Box>;\n\nexport const ModalHeroImage = ({ ...props }: ModalHeroImageProps) => (\n <figure className='rcx-modal__hero-image-wrapper'>\n <Box rcx-modal__hero-image is='img' {...props} />\n </figure>\n);\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\nimport { Icon } from '../Icon';\n\nexport type ModalIconProps = ComponentProps<typeof Box> & {\n name: ComponentProps<typeof Icon>['name'];\n};\n\nexport const ModalIcon = ({\n size = 'x20',\n name,\n alignItems = 'center',\n ...props\n}: ModalIconProps) => (\n <Box {...props} display='flex' alignItems={alignItems}>\n <Icon mb={4} name={name} size={size} />\n </Box>\n);\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\n\nexport type ModalTaglineProps = ComponentProps<typeof Box>;\n\nexport const ModalTagline = ({ children, ...props }: ModalTaglineProps) => (\n <Box rcx-modal__tagline {...props}>\n {children}\n </Box>\n);\n","import type { ComponentProps } from 'react';\n\nimport { Avatar } from '../Avatar';\nimport Box from '../Box';\n\nexport type ModalThumbProps = ComponentProps<typeof Avatar>;\n\nexport const ModalThumb = (props: ModalThumbProps) => (\n <Box>\n <Avatar size='x28' {...props} />\n </Box>\n);\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\n\nexport type ModalTitleProps = ComponentProps<typeof Box>;\n\nexport const ModalTitle = ({ children, ...props }: ModalTitleProps) => (\n <Box is='h2' rcx-modal__title {...props}>\n {children}\n </Box>\n);\n","import { Modal } from './Modal';\nimport { ModalBackdrop } from './ModalBackdrop';\nimport { ModalClose } from './ModalClose';\nimport { ModalContent } from './ModalContent';\nimport { ModalFooter } from './ModalFooter';\nimport { ModalFooterAnnotation } from './ModalFooterAnnotation';\nimport { ModalFooterControllers } from './ModalFooterControllers';\nimport { ModalHeader } from './ModalHeader';\nimport { ModalHeaderText } from './ModalHeaderText';\nimport { ModalHeroImage } from './ModalHeroImage';\nimport { ModalIcon } from './ModalIcon';\nimport { ModalTagline } from './ModalTagline';\nimport { ModalThumb } from './ModalThumb';\nimport { ModalTitle } from './ModalTitle';\n\nexport {\n Modal,\n ModalBackdrop,\n ModalClose,\n ModalContent,\n ModalFooter,\n ModalHeader,\n ModalThumb,\n ModalTitle,\n ModalIcon,\n ModalTagline,\n ModalHeaderText,\n ModalHeroImage,\n ModalFooterControllers,\n ModalFooterAnnotation,\n};\n","import {\n useMergedRefs,\n useEffectEvent,\n useResizeObserver,\n useOutsideClick,\n} from '@rocket.chat/fuselage-hooks';\nimport type {\n ComponentProps,\n SyntheticEvent,\n ElementType,\n Ref,\n ReactNode,\n} from 'react';\nimport { useState, useRef, useEffect, forwardRef } from 'react';\n\nimport type { SelectOption } from '..';\nimport { isForwardRefType } from '../../helpers/isForwardRefType';\nimport { prevent } from '../../helpers/prevent';\nimport AnimatedVisibility from '../AnimatedVisibility';\nimport Box from '../Box';\nimport Flex from '../Flex';\nimport { Icon } from '../Icon';\nimport Margins from '../Margins';\nimport { CheckOption } from '../Option';\nimport { Options, useCursor } from '../Options';\nimport Position from '../Position';\nimport SelectAddon from '../Select/SelectAddon';\n\nimport MultiSelectAnchor from './MultiSelectAnchor';\nimport type { MultiSelectAnchorParams } from './MultiSelectAnchorParams';\nimport { SelectedOptions } from './SelectedOptions';\n\ntype MultiSelectProps = Omit<\n ComponentProps<typeof Box>,\n 'onChange' | 'value'\n> & {\n value?: SelectOption[0][];\n error?: string;\n options: SelectOption[];\n onChange: (params: SelectOption[0][]) => void;\n getLabel?: (params: SelectOption) => SelectOption[1];\n getValue?: (params: SelectOption) => SelectOption[0];\n customEmpty?: string;\n anchor?:\n | ElementType<MultiSelectAnchorParams>\n | ((params: MultiSelectAnchorParams) => ReactNode);\n renderOptions?: ElementType;\n renderItem?: ElementType;\n renderSelected?: ElementType;\n addonIcon?: ComponentProps<typeof Icon>['name'];\n setFilter?: (filter: string) => void;\n};\n\n/**\n * An input for selection of options.\n */\nexport const MultiSelect = forwardRef(\n (\n {\n value,\n filter,\n setFilter,\n options = [],\n error,\n disabled,\n anchor: Anchor = MultiSelectAnchor,\n onChange = () => {},\n getLabel = ([, label] = ['', '']) => label,\n getValue = ([value]) => value,\n placeholder,\n renderOptions: _Options = Options,\n renderItem,\n customEmpty,\n renderSelected: RenderSelected,\n addonIcon,\n ...props\n }: MultiSelectProps,\n ref: Ref<HTMLInputElement>,\n ) => {\n const [internalValue, setInternalValue] = useState<SelectOption[0][]>(\n value || [],\n );\n\n useEffect((): void => setInternalValue(value || []), [value]);\n\n const [currentOptionValue, setCurrentOption] = useState<SelectOption[0]>();\n\n const index = options.findIndex(\n (option) => getValue(option) === currentOptionValue,\n );\n\n const removeFocusClass = () =>\n innerRef.current?.classList.remove('focus-visible');\n\n const internalChanged = ([value]: SelectOption) => {\n if (internalValue.includes(value)) {\n setCurrentOption(undefined);\n const newValue = internalValue.filter((item) => item !== value);\n setInternalValue(newValue);\n return onChange(newValue);\n }\n setFilter?.('');\n setCurrentOption(value);\n const newValue = [...internalValue, value];\n setInternalValue(newValue);\n return onChange(newValue);\n };\n\n const mapOptions = ([value, label]: SelectOption): SelectOption => {\n if (internalValue.includes(value)) {\n return [value, label, true];\n }\n return [value, label];\n };\n\n const applyFilter = ([, option]: SelectOption) =>\n !filter || option.toLowerCase().includes(filter.toLowerCase());\n\n const filteredOptions: SelectOption[] = options\n .filter(applyFilter)\n .map(mapOptions);\n\n const [cursor, handleKeyDown, handleKeyUp, reset, [visible, hide, show]] =\n useCursor(index, filteredOptions, internalChanged);\n\n useEffect(reset, [filter]);\n\n const innerRef = useRef<HTMLElement>(null);\n const anchorRef = useMergedRefs(ref, innerRef);\n\n const { ref: containerRef, borderBoxSize } = useResizeObserver();\n useOutsideClick([containerRef], removeFocusClass);\n\n const renderAnchor = (params: MultiSelectAnchorParams) => {\n if (isForwardRefType(Anchor)) {\n return <Anchor {...params} />;\n }\n\n if (typeof Anchor === 'function') {\n return (Anchor as (params: MultiSelectAnchorParams) => ReactNode)(\n params,\n );\n }\n\n return null;\n };\n\n const handleClick = useEffectEvent(() => {\n if (visible === AnimatedVisibility.VISIBLE) {\n return hide();\n }\n innerRef.current?.focus();\n return show();\n });\n\n return (\n <Box\n is='div'\n rcx-select\n className={[error && 'invalid', disabled && 'disabled']}\n ref={containerRef}\n onClick={handleClick}\n disabled={disabled}\n {...props}\n >\n <Flex.Item grow={1}>\n <Margins inline='x4'>\n <Flex.Container>\n <Box is='div'>\n <Box\n is='div'\n display='flex'\n alignItems='center'\n flexWrap='wrap'\n margin='-x8'\n role='listbox'\n >\n <Margins all='x4'>\n {renderAnchor({\n ref: anchorRef,\n children: internalValue.length === 0 ? placeholder : null,\n disabled: disabled ?? false,\n onClick: show,\n onBlur: hide,\n onKeyDown: handleKeyDown,\n onKeyUp: handleKeyUp,\n })}\n {internalValue.map((value: SelectOption[0]) => {\n const currentOption = options.find(\n ([val]) => val === value,\n ) as SelectOption;\n return RenderSelected ? (\n <RenderSelected\n role='option'\n value={value}\n key={value}\n label={getLabel(currentOption)}\n onMouseDown={(e: SyntheticEvent) => {\n prevent(e);\n internalChanged(currentOption);\n removeFocusClass();\n }}\n children={getLabel(currentOption)}\n />\n ) : (\n <SelectedOptions\n tabIndex={-1}\n role='option'\n key={String(value)}\n onMouseDown={(e: SyntheticEvent) => {\n prevent(e);\n internalChanged(currentOption);\n removeFocusClass();\n }}\n children={getLabel(currentOption)}\n />\n );\n })}\n </Margins>\n </Box>\n </Box>\n </Flex.Container>\n </Margins>\n </Flex.Item>\n <Flex.Item grow={0} shrink={0}>\n <Margins inline='x4'>\n <SelectAddon\n children={\n <Icon\n name={\n visible === AnimatedVisibility.VISIBLE\n ? 'chevron-up'\n : addonIcon || 'chevron-down'\n }\n size='x20'\n />\n }\n />\n </Margins>\n </Flex.Item>\n <AnimatedVisibility visibility={visible}>\n <Position anchor={containerRef}>\n <_Options\n width={borderBoxSize.inlineSize}\n onMouseDown={prevent}\n multiple\n filter={filter}\n renderItem={renderItem || CheckOption}\n role='listbox'\n options={filteredOptions}\n onSelect={internalChanged}\n cursor={cursor}\n customEmpty={customEmpty}\n />\n </Position>\n </AnimatedVisibility>\n </Box>\n );\n },\n);\n","import type {\n FocusEventHandler,\n KeyboardEventHandler,\n MouseEventHandler,\n ReactNode,\n Ref,\n} from 'react';\nimport { forwardRef } from 'react';\n\nimport SelectFocus from '../Select/SelectFocus';\n\ntype MultiSelectAnchorProps = {\n children: ReactNode;\n disabled: boolean;\n onClick: MouseEventHandler;\n onBlur: FocusEventHandler;\n onKeyUp: KeyboardEventHandler;\n onKeyDown: KeyboardEventHandler;\n};\n\nconst MultiSelectAnchor = forwardRef(function MultiSelectAnchor(\n props: MultiSelectAnchorProps,\n ref: Ref<Element>,\n) {\n return (\n <SelectFocus\n rcx-input-box--undecorated\n ref={ref}\n aria-haspopup='listbox'\n order={1}\n {...props}\n />\n );\n});\n\nexport default MultiSelectAnchor;\n","import type { ComponentProps, Dispatch, SetStateAction } from 'react';\nimport { useState } from 'react';\n\nimport type { Icon } from '..';\n\nimport { MultiSelect } from './MultiSelect';\nimport type { MultiSelectAnchorParams } from './MultiSelectAnchorParams';\nimport MultiSelectFilteredAnchor from './MultiSelectFilteredAnchor';\n\ntype MultiSelectFilteredProps = ComponentProps<typeof MultiSelect> & {\n filter?: string;\n setFilter?: Dispatch<SetStateAction<string>>;\n addonIcon?: ComponentProps<typeof Icon>['name'];\n};\n\nexport const MultiSelectFiltered = ({\n options,\n placeholder,\n filter: propFilter,\n setFilter: propSetFilter,\n ...props\n}: MultiSelectFilteredProps) => {\n const [filter, setFilter] = useState('');\n\n return (\n <MultiSelect\n {...props}\n filter={propFilter || filter}\n setFilter={propSetFilter || setFilter}\n options={options}\n anchor={(params: MultiSelectAnchorParams) => (\n <MultiSelectFilteredAnchor\n placeholder={placeholder}\n filter={propFilter || filter}\n onChangeFilter={propSetFilter || setFilter}\n {...params}\n />\n )}\n />\n );\n};\n","import type {\n FocusEventHandler,\n FormEvent,\n KeyboardEventHandler,\n MouseEventHandler,\n ReactNode,\n Ref,\n} from 'react';\nimport { forwardRef } from 'react';\n\nimport Flex from '../Flex';\nimport { InputBox } from '../InputBox';\n\ntype MultiSelectFilteredAnchorProps = {\n children: ReactNode;\n disabled: boolean;\n filter: string;\n onChangeFilter: (filter: string) => void;\n placeholder?: string;\n onClick: MouseEventHandler;\n onBlur: FocusEventHandler;\n onKeyUp: KeyboardEventHandler;\n onKeyDown: KeyboardEventHandler;\n};\n\nconst MultiSelectFilteredAnchor = forwardRef(function MultiSelectFilteredAnchor(\n {\n children: _children,\n filter,\n onChangeFilter,\n placeholder,\n ...props\n }: MultiSelectFilteredAnchorProps,\n ref: Ref<Element>,\n) {\n return (\n <Flex.Item grow={1}>\n <InputBox.Input\n ref={ref}\n placeholder={placeholder}\n value={filter}\n onInput={(e: FormEvent<HTMLInputElement>) =>\n onChangeFilter(e.currentTarget.value)\n }\n {...props}\n rcx-input-box--undecorated\n aria-haspopup='listbox'\n order={1}\n />\n </Flex.Item>\n );\n});\n\nexport default MultiSelectFilteredAnchor;\n","import type { ReactNode, SyntheticEvent } from 'react';\nimport { memo } from 'react';\n\nimport Chip from '../Chip';\n\ntype SelectedOptionsProps = {\n children: ReactNode;\n tabIndex: number;\n role: string;\n key: string;\n onMouseDown: (e: SyntheticEvent) => void;\n};\n\nexport const SelectedOptions = memo(function SelectedOptions(\n props: SelectedOptionsProps,\n) {\n return <Chip {...props} />;\n});\n","import { MultiSelect } from './MultiSelect';\nimport { MultiSelectFiltered } from './MultiSelectFiltered';\n\nexport { MultiSelect, MultiSelectFiltered };\n","import type { HTMLAttributes } from 'react';\n\nexport const NavBar = (props: HTMLAttributes<HTMLElement>) => (\n <nav className='rcx-navbar' {...props} />\n);\n","import type { ComponentProps } from 'react';\n\nimport { Divider } from '../Divider';\n\nexport const NavBarDivider = (props: ComponentProps<typeof Divider>) => (\n <Divider rcx-navbar-divider vertical {...props} />\n);\n","import type { ComponentProps } from 'react';\nimport { forwardRef } from 'react';\n\nimport { ButtonGroup } from '../ButtonGroup';\n\nexport const NavBarGroup = forwardRef<\n HTMLDivElement,\n ComponentProps<typeof ButtonGroup>\n>((props, ref) => (\n <ButtonGroup className='rcx-navbar-group' ref={ref} {...props} />\n));\n","import type { ComponentProps, HTMLAttributes } from 'react';\nimport { forwardRef } from 'react';\n\nimport { appendClassName } from '../../helpers/appendClassName';\nimport { patchChildren } from '../../helpers/patchChildren';\nimport { IconButton } from '../Button';\n\ntype NavbarItemProps = Partial<ComponentProps<typeof IconButton>>;\n\nexport const NavBarItem = forwardRef<\n HTMLElement,\n HTMLAttributes<HTMLElement> & NavbarItemProps\n>(function NavBarItem({ children, icon, ...props }, ref) {\n return (\n <>\n {icon ? (\n <IconButton ref={ref} rcx-navbar-item icon={icon} small {...props} />\n ) : (\n patchChildren(\n children,\n (childProps: { className: string | string[] }) => ({\n className: appendClassName(childProps.className, 'rcx-navbar-item'),\n ref,\n ...props,\n }),\n )\n )}\n </>\n );\n});\n","import type { HTMLAttributes } from 'react';\n\nexport const NavBarSection = (props: HTMLAttributes<HTMLSpanElement>) => (\n <span className='rcx-navbar-section' {...props} />\n);\n","export * from './NavBar';\nexport * from './NavBarGroup';\nexport * from './NavBarItem';\nexport * from './NavBarDivider';\nexport * from './NavBarSection';\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { InputBox } from '../InputBox';\n\ntype NumberInputProps = Omit<ComponentProps<typeof InputBox>, 'type'>;\n\n/**\n * An input for numbers.\n */\nexport const NumberInput = forwardRef(function NumberInput(\n props: NumberInputProps,\n ref: Ref<HTMLInputElement>,\n) {\n return <InputBox type='number' ref={ref} {...props} />;\n});\n","export * from './NumberInput';\n","import type { ComponentProps } from 'react';\nimport { memo } from 'react';\n\nimport { CheckBox } from '../CheckBox';\n\nimport Option from './Option';\n\ntype CheckOptionProps = ComponentProps<typeof Option>;\n\nexport const CheckOption = memo(function CheckOption({\n selected,\n children: label,\n ...options\n}: CheckOptionProps) {\n return (\n <Option label={label as string} selected={selected} {...options}>\n <CheckBox checked={selected} />\n </Option>\n );\n});\n","import type {\n Ref,\n ComponentProps,\n ReactNode,\n MouseEvent,\n AllHTMLAttributes,\n} from 'react';\nimport { forwardRef, memo } from 'react';\n\nimport type { Icon } from '../..';\nimport { OptionColumn } from '../..';\nimport { prevent } from '../../helpers/prevent';\nimport type Box from '../Box';\n\nimport OptionAvatar from './OptionAvatar';\nimport OptionContent from './OptionContent';\nimport OptionIcon from './OptionIcon';\n\ntype OptionProps = {\n is?: ComponentProps<typeof Box>['is'];\n id?: string;\n children?: ReactNode;\n label?: ReactNode;\n focus?: boolean;\n selected?: boolean;\n className?: ComponentProps<typeof Box>['className'];\n ref?: Ref<Element>;\n icon?: ComponentProps<typeof Icon>['name'];\n gap?: boolean;\n avatar?: ReactNode;\n title?: string;\n disabled?: boolean;\n value?: string;\n variant?: 'danger' | 'success' | 'warning' | 'primary';\n onClick?: (event: MouseEvent<HTMLElement>) => void;\n description?: ReactNode;\n} & Omit<AllHTMLAttributes<HTMLElement>, 'label'>;\n\n/**\n * The generic `Option` item of options. Can be freely used or inside the `Options` as well.\n */\nconst Option = memo(\n forwardRef(\n (\n {\n is: Tag = 'li',\n id,\n children,\n label,\n focus,\n selected,\n className,\n icon,\n gap,\n avatar,\n title,\n disabled,\n variant,\n onClick,\n description,\n ...props\n }: OptionProps,\n ref,\n ) => (\n <Tag\n {...props}\n key={id}\n id={id}\n ref={ref}\n aria-selected={!!selected}\n aria-disabled={!!disabled}\n title={title}\n onClick={(e: MouseEvent<HTMLDivElement>) => {\n if (disabled) {\n prevent(e);\n return;\n }\n onClick?.(e);\n }}\n className={[\n 'rcx-option',\n className,\n focus && 'rcx-option--focus',\n selected && 'rcx-option--selected',\n disabled && 'rcx-option--disabled',\n variant && `rcx-option--${variant}`,\n ]\n .filter(Boolean)\n .join(' ')}\n >\n <div\n className={[\n 'rcx-option__wrapper',\n !!description && 'rcx-option__wrapper--align-top',\n ]\n .filter(Boolean)\n .join(' ')}\n >\n {avatar && <OptionAvatar>{avatar}</OptionAvatar>}\n {icon && <OptionIcon name={icon} />}\n {gap && <OptionColumn />}\n {label && <OptionContent>{label}</OptionContent>}\n {label !== children && children}\n </div>\n </Tag>\n ),\n ),\n);\n\nexport default Option;\n","import type { ReactNode } from 'react';\n\ntype OptionAvatarProps = {\n children?: ReactNode;\n};\n\nconst OptionAvatar = (props: OptionAvatarProps) => (\n <div className='rcx-option__avatar' {...props} />\n);\n\nexport default OptionAvatar;\n","import type { ReactNode } from 'react';\n\ntype OptionColumnProps = {\n children?: ReactNode;\n};\n\nconst OptionColumn = (props: OptionColumnProps) => (\n <div className='rcx-option__column' {...props} />\n);\n\nexport default OptionColumn;\n","import type { HTMLAttributes } from 'react';\n\nconst OptionContent = (props: HTMLAttributes<HTMLDivElement>) => (\n <div className='rcx-option__content' {...props} />\n);\n\nexport default OptionContent;\n","import type { ReactNode } from 'react';\n\ntype OptionDescriptionProps = {\n children?: ReactNode;\n};\n\nconst OptionDescription = (props: OptionDescriptionProps) => (\n <div className='rcx-option__description' {...props} />\n);\n\nexport default OptionDescription;\n","import type { ReactNode } from 'react';\n\ntype OptionDescriptionProps = {\n children?: ReactNode;\n};\n\nconst OptionDescriptionBlock = (props: OptionDescriptionProps) => (\n <div className='rcx-option__description-block' {...props} />\n);\n\nexport default OptionDescriptionBlock;\n","import type { ComponentProps } from 'react';\n\nimport { Divider } from '../..';\n\ntype OptionDividerProps = ComponentProps<typeof Divider>;\n\nconst OptionDivider = (props: OptionDividerProps) => <Divider {...props} />;\n\nexport default OptionDivider;\n","import type { ReactNode } from 'react';\n\ntype OptionHeaderProps = {\n children: ReactNode;\n};\n\nconst OptionHeader = ({ children }: OptionHeaderProps) => (\n <div className='rcx-option__header'>{children}</div>\n);\n\nexport default OptionHeader;\n","import type { ComponentProps } from 'react';\n\nimport { Icon } from '../Icon';\n\nimport OptionColumn from './OptionColumn';\n\ntype OptionIconProps = ComponentProps<typeof Icon>;\n\nconst OptionIcon = (props: OptionIconProps) => (\n <OptionColumn>\n <Icon size='x20' rcx-option__icon {...props} />\n </OptionColumn>\n);\n\nexport default OptionIcon;\n","import type { ReactNode } from 'react';\n\ntype OptionInputProps = {\n children?: ReactNode;\n};\n\nconst OptionInput = (props: OptionInputProps) => (\n <div className='rcx-option__input' {...props} />\n);\n\nexport default OptionInput;\n","import type { HTMLAttributes, ReactNode } from 'react';\n\ntype OptionMenuProps = {\n children?: ReactNode;\n} & HTMLAttributes<HTMLDivElement>;\n\nconst OptionMenu = (props: OptionMenuProps) => (\n <div className='rcx-box--animated rcx-option__menu-wrapper' {...props} />\n);\n\nexport default OptionMenu;\n","import { Skeleton } from '../Skeleton';\n\nimport Option from './Option';\n\nconst OptionSkeleton = () => (\n <Option>\n <Skeleton width='100%' />\n </Option>\n);\n\nexport default OptionSkeleton;\n","import type { ReactNode } from 'react';\n\ntype OptionTitleProps = {\n children?: ReactNode;\n};\n\nconst OptionTitle = (props: OptionTitleProps) => (\n <div className='rcx-option__title' {...props} />\n);\n\nexport default OptionTitle;\n","import Option from './Option';\nimport OptionAvatar from './OptionAvatar';\nimport OptionColumn from './OptionColumn';\nimport OptionContent from './OptionContent';\nimport OptionDescription from './OptionDescription';\nimport OptionDescriptionBlock from './OptionDescriptionBlock';\nimport OptionDivider from './OptionDivider';\nimport OptionHeader from './OptionHeader';\nimport OptionIcon from './OptionIcon';\nimport OptionInput from './OptionInput';\nimport OptionMenu from './OptionMenu';\nimport OptionSkeleton from './OptionSkeleton';\nimport OptionTitle from './OptionTitle';\n\nexport default Object.assign(Option, {\n /** @deprecated */\n Description: OptionDescription,\n /** @deprecated */\n Skeleton: OptionSkeleton,\n /** @deprecated */\n Avatar: OptionAvatar,\n /** @deprecated */\n Menu: OptionMenu,\n /** @deprecated */\n Icon: OptionIcon,\n /** @deprecated */\n Divider: OptionDivider,\n /** @deprecated */\n Column: OptionColumn,\n /** @deprecated */\n Content: OptionContent,\n});\n\nexport * from './CheckOption';\nexport { OptionAvatar };\nexport { OptionColumn };\nexport { OptionContent };\nexport { OptionDescription };\nexport { OptionDescriptionBlock };\nexport { OptionDivider };\nexport { OptionIcon };\nexport { OptionInput };\nexport { OptionMenu };\nexport { OptionSkeleton };\nexport { OptionTitle };\nexport { OptionHeader };\n","import type {\n ComponentProps,\n ElementType,\n ReactNode,\n Ref,\n SyntheticEvent,\n} from 'react';\nimport { forwardRef, memo, useLayoutEffect, useMemo, useRef } from 'react';\n\nimport { prevent } from '../../helpers/prevent';\nimport Box from '../Box';\nimport Option, { OptionHeader, OptionDivider } from '../Option';\nimport Scrollable from '../Scrollable';\nimport Tile from '../Tile';\n\nimport { useCursor } from './useCursor';\n\nexport { useCursor };\n\nexport type OptionType = [\n value: string | number,\n label: ReactNode,\n selected?: boolean,\n disabled?: boolean,\n type?: 'heading' | 'divider' | 'option',\n url?: string,\n];\n\ntype OptionsProps = Omit<ComponentProps<typeof Box>, 'onSelect'> & {\n multiple?: boolean;\n options: OptionType[];\n cursor: number;\n renderItem?: ElementType;\n renderEmpty?: ElementType;\n onSelect: (option: OptionType) => void;\n customEmpty?: string;\n};\n\nexport const Empty = memo(({ customEmpty }: { customEmpty: string }) => (\n <Option label={customEmpty || 'Empty'} />\n));\n\n/**\n * An input for selection of options.\n */\nexport const Options = forwardRef(\n (\n {\n maxHeight = 'x144',\n multiple,\n renderEmpty: EmptyComponent = Empty,\n options,\n cursor,\n renderItem: OptionComponent = Option,\n onSelect,\n customEmpty,\n ...props\n }: OptionsProps,\n ref: Ref<HTMLElement>,\n ) => {\n const liRef = useRef<HTMLElement>(null);\n\n useLayoutEffect(() => {\n if (!liRef.current) {\n return;\n }\n const { current } = liRef;\n const li = current?.querySelector<HTMLLIElement>('.rcx-option--focus');\n if (!li) {\n return;\n }\n if (\n li.offsetTop + li.clientHeight >\n current.scrollTop + current.clientHeight ||\n li.offsetTop - li.clientHeight < current.scrollTop\n ) {\n current.scrollTop = li.offsetTop;\n }\n }, [cursor]);\n\n const optionsMemoized = useMemo(\n () =>\n options?.map(([value, label, selected, disabled, type, url], i) => {\n switch (type) {\n case 'heading':\n return <OptionHeader key={value}>{label}</OptionHeader>;\n case 'divider':\n return <OptionDivider key={value} />;\n default:\n return (\n <OptionComponent\n role='option'\n label={label}\n onMouseDown={(e: SyntheticEvent) => {\n if (disabled) {\n return;\n }\n prevent(e);\n onSelect([value, label, selected, disabled, type, url]);\n return false;\n }}\n key={value}\n value={value}\n selected={selected || (multiple !== true && null)}\n disabled={disabled}\n focus={cursor === i || null}\n />\n );\n }\n }),\n [options, multiple, cursor, onSelect, OptionComponent],\n );\n\n return (\n <Box rcx-options {...props} ref={ref}>\n <Tile padding={0} paddingBlock={'x12'} paddingInline={0} elevation='2'>\n <Scrollable vertical smooth>\n <Tile\n ref={liRef}\n elevation='0'\n padding='none'\n maxHeight={maxHeight}\n onMouseDown={prevent}\n onClick={prevent}\n is='ol'\n aria-multiselectable={multiple || true}\n role='listbox'\n aria-activedescendant={\n options?.[cursor]?.[0]\n ? String(options?.[cursor]?.[0])\n : undefined\n }\n >\n {!options.length && <EmptyComponent customEmpty={customEmpty} />}\n {optionsMemoized}\n </Tile>\n </Scrollable>\n </Tile>\n </Box>\n );\n },\n);\nexport const OptionContainer = forwardRef<\n HTMLElement,\n ComponentProps<typeof Box>\n>(({ children, ...props }, ref) => (\n <Box rcx-options>\n <Tile padding={0} paddingBlock={'x12'} paddingInline={0}>\n <Scrollable vertical smooth>\n <Tile\n ref={ref}\n elevation='0'\n padding='none'\n maxHeight='x240'\n // onMouseDown={prevent}\n // onClick={prevent}\n // is='ol'\n // aria-multiselectable={multiple || true}\n // role='listbox'\n {...props}\n >\n {children}\n </Tile>\n </Scrollable>\n </Tile>\n </Box>\n));\n","import type { AvatarProps } from '../Avatar';\n\nimport { Options } from './Options';\n\nexport * from './Options';\n\nconst avatarSize: AvatarProps['size'] = 'x20';\n\nexport default Object.assign(Options, {\n /** @deprecated */\n AvatarSize: avatarSize,\n});\n","import { useEffectEvent } from '@rocket.chat/fuselage-hooks';\nimport type { KeyboardEvent } from 'react';\nimport { useState } from 'react';\n\nimport AnimatedVisibility from '../AnimatedVisibility';\n\nimport type { OptionType } from './Options';\nimport { useVisible } from './useVisible';\n\nconst keyCodes = {\n ESC: 27,\n KEY_UP: 38,\n KEY_DOWN: 40,\n HOME: 36,\n END: 35,\n TAB: 9,\n ENTER: 13,\n};\n\nconst findLastIndex = <T>(\n options: T[],\n predicate: (value: T, index: number, obj: T[]) => unknown,\n) => {\n for (let i = options.length - 1; i >= 0; i--) {\n if (predicate(options[i], i, options)) {\n return i;\n }\n }\n\n return -1;\n};\n\nconst findPreviousIndex = <T>(\n options: T[],\n predicate: (value: T, index: number, obj: T[]) => unknown,\n currentIndex: number,\n) => {\n for (let i = currentIndex - 1; i >= 0; i--) {\n if (predicate(options[i], i, options)) {\n return i;\n }\n }\n\n return -1;\n};\n\nconst findNextIndex = <T>(\n options: T[],\n predicate: (value: T, index: number, obj: T[]) => unknown,\n currentIndex: number,\n) => {\n for (let i = currentIndex + 1; i < options.length; i++) {\n if (predicate(options[i], i, options)) {\n return i;\n }\n }\n\n return -1;\n};\n\nexport type UseCursorOnChange<T> = (\n option: T,\n visibilityHandler: ReturnType<typeof useVisible>,\n) => void;\n\nexport const useCursor = <\n T extends readonly [\n value: unknown,\n label: unknown,\n selected?: unknown,\n disabled?: unknown,\n type?: OptionType[4],\n url?: string,\n ] = OptionType,\n>(\n initial: number,\n options: Array<T>,\n onChange: UseCursorOnChange<T>,\n): [\n cursor: number,\n handleKeyDown: (e: KeyboardEvent) => void,\n handleKeyUp: (e: KeyboardEvent) => void,\n reset: () => void,\n visibilityHandler: ReturnType<typeof useVisible>,\n] => {\n const [cursor, setCursor] = useState(initial);\n const visibilityHandler = useVisible();\n const [visibility, hide, show] = visibilityHandler;\n const reset = useEffectEvent(() => setCursor(0));\n const handleKeyUp = useEffectEvent((e: KeyboardEvent) => {\n const { keyCode } = e;\n if (AnimatedVisibility.HIDDEN === visibility && keyCode === keyCodes.TAB) {\n return show();\n }\n });\n\n const handleKeyDown = useEffectEvent((e: KeyboardEvent) => {\n const isSelectableOption = ([, , , type]: T) => !type || type === 'option';\n const getLastIndex = () => findLastIndex(options, isSelectableOption);\n\n const { keyCode, key } = e;\n if (\n AnimatedVisibility.HIDDEN === visibility &&\n keyCode !== keyCodes.ESC &&\n keyCode !== keyCodes.TAB\n ) {\n show();\n }\n switch (keyCode) {\n case keyCodes.HOME:\n e.preventDefault();\n return reset();\n\n case keyCodes.END:\n e.preventDefault();\n return setCursor(getLastIndex());\n\n case keyCodes.KEY_UP:\n e.preventDefault();\n if (cursor < 1) {\n return setCursor(getLastIndex());\n }\n return setCursor((cursor) =>\n findPreviousIndex(options, isSelectableOption, cursor),\n );\n\n case keyCodes.KEY_DOWN:\n e.preventDefault();\n if (cursor === getLastIndex()) {\n return setCursor(0);\n }\n return setCursor((cursor) =>\n findNextIndex(options, isSelectableOption, cursor),\n );\n\n case keyCodes.ENTER:\n e.preventDefault();\n if (visibility === AnimatedVisibility.VISIBLE) {\n e.persist();\n e.nativeEvent.stopImmediatePropagation(); // TODO\n e.stopPropagation();\n }\n hide();\n onChange(options[cursor], visibilityHandler);\n return;\n\n case keyCodes.ESC:\n e.preventDefault();\n reset();\n hide();\n if (visibility === AnimatedVisibility.VISIBLE) {\n e.persist();\n e.nativeEvent.stopImmediatePropagation(); // TODO\n e.stopPropagation();\n return false;\n }\n break;\n\n default:\n if (key.match(/^[\\d\\w]$/i)) {\n const index = options.findIndex((option) => {\n if (!isSelectableOption(option)) {\n return false;\n }\n\n const [, label] = option;\n return typeof label === 'string' && label[0].toLowerCase() === key;\n });\n if (~index) setCursor(index);\n }\n }\n });\n\n return [cursor, handleKeyDown, handleKeyUp, reset, visibilityHandler];\n};\n","import { useEffectEvent, useDebouncedState } from '@rocket.chat/fuselage-hooks';\n\nimport AnimatedVisibility from '../AnimatedVisibility';\n\nexport const useVisible = (\n initialVisibility:\n | typeof AnimatedVisibility.HIDDEN\n | typeof AnimatedVisibility.HIDING\n | typeof AnimatedVisibility.VISIBLE\n | typeof AnimatedVisibility.UNHIDING = AnimatedVisibility.HIDDEN,\n): [\n visible:\n | typeof AnimatedVisibility.HIDDEN\n | typeof AnimatedVisibility.HIDING\n | typeof AnimatedVisibility.VISIBLE\n | typeof AnimatedVisibility.UNHIDING,\n hide: () => void,\n show: () => void,\n] => {\n const [visible, setVisible] = useDebouncedState(initialVisibility, 10);\n const hide = useEffectEvent(() => setVisible(AnimatedVisibility.HIDDEN));\n const show = useEffectEvent(() => setVisible(AnimatedVisibility.VISIBLE));\n\n return [visible, hide, show];\n};\n","import { useEffectEvent, useDebouncedState } from '@rocket.chat/fuselage-hooks';\nimport type { ComponentProps, ElementType, Ref, SyntheticEvent } from 'react';\nimport { forwardRef, memo } from 'react';\nimport { Virtuoso } from 'react-virtuoso';\n\nimport { prevent } from '../../helpers/prevent';\nimport AnimatedVisibility from '../AnimatedVisibility';\nimport Box from '../Box';\nimport { CheckBox } from '../CheckBox';\nimport Option from '../Option';\nimport Tile from '../Tile';\n\ntype OptionsPaginatedProps = Omit<ComponentProps<typeof Box>, 'onSelect'> & {\n multiple?: boolean;\n options: { value: unknown; label: string; selected?: boolean }[];\n cursor: number;\n withTitle?: boolean;\n renderItem?: ElementType;\n renderEmpty?: ElementType;\n onSelect: (option: [unknown, string]) => void;\n endReached?: (index: number) => void;\n};\n\nexport const Empty = memo(() => <Option label='Empty' />);\n\ntype CheckOptionProps = ComponentProps<typeof Option>;\n\nexport const CheckOption = memo(function CheckOption({\n selected,\n children: label,\n ...options\n}: CheckOptionProps) {\n return (\n <Option label={label as string} selected={selected} {...options}>\n <CheckBox checked={selected} />\n </Option>\n );\n});\n\n/**\n * An input for selection of options.\n */\nexport const OptionsPaginated = forwardRef(\n (\n {\n withTitle,\n multiple,\n renderEmpty: EmptyComponent = Empty,\n options,\n cursor,\n renderItem: OptionComponent = Option,\n onSelect,\n endReached,\n ...props\n }: OptionsPaginatedProps,\n ref: Ref<Element>,\n ) => {\n const OptionsComponentWithData = ({\n index,\n data,\n }: {\n index: number;\n data: OptionsPaginatedProps['options'][0];\n }) => {\n const { value, label, selected } = data;\n return (\n <OptionComponent\n {...(withTitle && { title: label })}\n role='option'\n label={label}\n onMouseDown={(e: SyntheticEvent) => {\n prevent(e);\n onSelect([value, label]);\n return false;\n }}\n key={value}\n value={value}\n selected={selected || (multiple !== true && null)}\n focus={cursor === index || null}\n />\n );\n };\n\n return (\n <Box rcx-options {...props} ref={ref}>\n <Tile padding={0} paddingBlock={'x12'} paddingInline={0} elevation='2'>\n {!options.length ? (\n <EmptyComponent />\n ) : (\n <Virtuoso\n endReached={endReached}\n style={{ height: '144px' }}\n totalCount={options.length}\n data={options}\n // TODO Add a scroller element\n // components={{ Scroller: ScrollableContentWrapper }}\n itemContent={(index, data) => (\n <OptionsComponentWithData index={index} data={data} />\n )}\n />\n )}\n </Tile>\n </Box>\n );\n },\n);\n\nexport const useVisible = (initialVisibility = AnimatedVisibility.HIDDEN) => {\n const [visible, setVisible] = useDebouncedState(initialVisibility, 10);\n const hide = useEffectEvent(() => setVisible(AnimatedVisibility.HIDDEN));\n const show = useEffectEvent(() => setVisible(AnimatedVisibility.VISIBLE));\n\n return [visible, hide, show];\n};\n","export * from './OptionsPaginated';\n","import { useEffectEvent, useResizeObserver } from '@rocket.chat/fuselage-hooks';\nimport { type ComponentProps, useState, useRef, ElementType } from 'react';\n\nimport { prevent } from '../../helpers/prevent';\nimport AnimatedVisibility from '../AnimatedVisibility';\nimport Box from '../Box';\nimport Chip from '../Chip';\nimport Flex from '../Flex';\nimport { Icon } from '../Icon';\nimport Margins from '../Margins';\nimport Option from '../Option';\nimport { useVisible } from '../Options/useVisible';\nimport { OptionsPaginated } from '../OptionsPaginated';\nimport Position from '../Position';\nimport SelectAddon from '../Select/SelectAddon';\nimport SelectFocus from '../Select/SelectFocus';\n\nexport type PaginatedMultiSelectOption = {\n value: string | number;\n label: string;\n};\n\ntype PaginatedMultiSelectProps = Omit<\n ComponentProps<typeof Box>,\n 'onChange' | 'value'\n> & {\n error?: boolean;\n options: PaginatedMultiSelectOption[];\n withTitle?: boolean;\n placeholder?: string;\n endReached?: (start?: number, end?: number) => void;\n value?: PaginatedMultiSelectOption[];\n onChange: (values: PaginatedMultiSelectOption[]) => void;\n renderOptions?: ElementType<ComponentProps<typeof OptionsPaginated>>;\n renderItem?: ElementType<ComponentProps<typeof Option>>;\n anchor?: any;\n};\n\nconst PaginatedMultiSelect = ({\n withTitle,\n value,\n filter,\n options = [],\n error,\n disabled,\n anchor: Anchor = SelectFocus,\n onChange = () => {},\n placeholder,\n renderOptions: OptionsComponent = OptionsPaginated,\n renderItem = Option,\n endReached,\n ...props\n}: PaginatedMultiSelectProps) => {\n const [internalValue, setInternalValue] = useState(value || []);\n\n const currentValue = value !== undefined ? value : internalValue;\n\n const selectedOptions = options.filter((option) =>\n currentValue.some((opt) => opt.value === option.value),\n );\n\n const [visible, hide, show] = useVisible();\n\n const ref = useRef<HTMLInputElement>(null);\n const { ref: containerRef, borderBoxSize } = useResizeObserver();\n\n const handleClick = useEffectEvent(() => {\n if (visible === AnimatedVisibility.VISIBLE) {\n return hide();\n }\n if (ref && ref.current) {\n ref.current.focus();\n return show();\n }\n });\n\n const addOption = (value: unknown) => {\n const option = options.find((opt) => opt.value === value);\n if (!option) {\n return;\n }\n\n const newValue = [...currentValue, option];\n setInternalValue(newValue);\n onChange(newValue);\n };\n\n const removeOption = (value: unknown) => {\n const newValue = currentValue.filter((opt) => opt.value !== value);\n\n setInternalValue(newValue);\n onChange(newValue);\n };\n\n const toggleOption = (value: unknown) => {\n if (currentValue.some((opt) => opt.value === value)) {\n removeOption(value);\n return;\n }\n\n addOption(value);\n };\n\n return (\n <Box\n is='div'\n rcx-select\n className={[error && 'invalid', disabled && 'disabled']}\n ref={containerRef}\n onClick={handleClick}\n disabled={disabled}\n {...props}\n >\n <Flex.Item grow={1}>\n <Margins inline='x4'>\n <Flex.Container>\n <Box is='div'>\n <Box\n is='div'\n display='flex'\n alignItems='center'\n flexWrap='wrap'\n margin='-x8'\n role='listbox'\n >\n <Margins all='x4'>\n <Anchor\n disabled={disabled}\n ref={ref}\n aria-haspopup='listbox'\n onClick={show}\n onBlur={hide}\n order={1}\n rcx-input-box--undecorated\n children={placeholder ?? null}\n />\n\n {selectedOptions.map(({ value, label }, index) => (\n <Chip\n key={value ?? index}\n maxWidth='x150'\n withTruncatedText\n title={withTitle ? label : undefined}\n tabIndex={-1}\n role='option'\n onClick={(e) => {\n prevent(e);\n removeOption(value);\n }}\n >\n {label}\n </Chip>\n ))}\n </Margins>\n </Box>\n </Box>\n </Flex.Container>\n </Margins>\n </Flex.Item>\n <Flex.Item grow={0} shrink={0}>\n <Margins inline='x4'>\n <SelectAddon\n children={\n <Icon\n name={\n visible === AnimatedVisibility.VISIBLE\n ? 'cross'\n : 'chevron-down'\n }\n size='x20'\n />\n }\n />\n </Margins>\n </Flex.Item>\n <AnimatedVisibility visibility={visible}>\n <Position anchor={containerRef}>\n <OptionsComponent\n width={borderBoxSize.inlineSize}\n onMouseDown={prevent}\n multiple\n filter={filter}\n role='listbox'\n options={options}\n cursor={-1}\n endReached={endReached}\n renderItem={renderItem}\n onSelect={([value]) => {\n toggleOption(value);\n }}\n />\n </Position>\n </AnimatedVisibility>\n </Box>\n );\n};\n\nexport default PaginatedMultiSelect;\n","import type { ComponentProps, Ref, FormEvent } from 'react';\nimport { useCallback, forwardRef } from 'react';\n\nimport Flex from '../Flex';\nimport { InputBox } from '../InputBox';\n\nimport PaginatedMultiSelect from './PaginatedMultiSelect';\n\ntype PaginatedMultiSelectFilteredProps = {\n setFilter?: (value: string) => void;\n} & ComponentProps<typeof PaginatedMultiSelect>;\n\nexport const PaginatedMultiSelectFiltered = ({\n filter,\n setFilter,\n options,\n placeholder,\n ...props\n}: PaginatedMultiSelectFilteredProps) => {\n // eslint-disable-next-line react-hooks/exhaustive-deps\n const anchor = useCallback(\n forwardRef(\n (\n {\n children: _children,\n filter,\n ...props\n }: ComponentProps<typeof InputBox>,\n ref: Ref<HTMLInputElement>,\n ) => (\n <Flex.Item grow={1}>\n <InputBox.Input\n ref={ref}\n placeholder={placeholder}\n value={filter}\n onInput={(e: FormEvent<HTMLInputElement>) =>\n setFilter?.(e.currentTarget.value)\n }\n {...props}\n rcx-input-box--undecorated\n />\n </Flex.Item>\n ),\n ),\n [],\n );\n\n return (\n <PaginatedMultiSelect\n filter={filter}\n options={options}\n anchor={anchor}\n {...props}\n />\n );\n};\n","import { useEffectEvent, useResizeObserver } from '@rocket.chat/fuselage-hooks';\nimport { type ElementType, useState, useRef, useMemo } from 'react';\n\nimport type { OptionType, SelectOption, SelectProps } from '..';\nimport { prevent } from '../../helpers/prevent';\nimport AnimatedVisibility from '../AnimatedVisibility';\nimport Box from '../Box';\nimport { Icon } from '../Icon';\nimport Margins from '../Margins';\nimport Option from '../Option';\nimport { useVisible } from '../Options/useVisible';\nimport { OptionsPaginated } from '../OptionsPaginated';\nimport PositionAnimated from '../PositionAnimated';\nimport SelectAddon from '../Select/SelectAddon';\nimport SelectFocus from '../Select/SelectFocus';\n\nimport PaginatedSelectWrapper from './PaginatedSelectWrapper';\n\ntype PaginatedOptionType = {\n value: string | number;\n label: string;\n};\nexport type PaginatedSelectProps = Omit<SelectProps, 'options'> & {\n anchor?: ElementType;\n options: PaginatedOptionType[];\n withTitle?: boolean;\n endReached?: (index: number) => void;\n setFilter?: (value: string | undefined | number) => void;\n};\n\nexport const PaginatedSelect = ({\n value,\n withTitle,\n filter,\n setFilter: _setFilter,\n error,\n disabled,\n options = [],\n anchor: Anchor = SelectFocus,\n onChange = () => {},\n placeholder,\n renderOptions: _Options = OptionsPaginated,\n renderItem = Option,\n endReached,\n ...props\n}: PaginatedSelectProps) => {\n const [internalValue, setInternalValue] = useState(value);\n\n const currentValue = value !== undefined ? value : internalValue;\n\n const option = options.find((option) => option?.value === currentValue);\n\n const [visible, hide, show] = useVisible();\n\n const internalChangedByClick = useEffectEvent(([value]: OptionType) => {\n setInternalValue(value);\n onChange(value as SelectOption[0]); // FIXME\n hide();\n });\n\n const ref = useRef<HTMLInputElement>(null);\n\n const { ref: containerRef, borderBoxSize } = useResizeObserver();\n\n const valueLabel = option?.label;\n\n const isUnfilteredOrHidden =\n filter === undefined || visible === AnimatedVisibility.HIDDEN;\n\n const visibleText = isUnfilteredOrHidden\n ? valueLabel || placeholder\n : undefined;\n\n const handleClick = useEffectEvent(() => {\n if (visible === AnimatedVisibility.VISIBLE) {\n return hide();\n }\n if (ref && ref.current) {\n ref.current.focus();\n return show();\n }\n });\n\n return (\n <Box\n rcx-select\n disabled={disabled}\n ref={containerRef}\n onClick={handleClick}\n className={useMemo(\n () => [error && 'invalid', disabled && 'disabled'],\n [error, disabled],\n )}\n {...props}\n >\n <PaginatedSelectWrapper\n display='flex'\n mi='neg-x4'\n rcx-select__wrapper--hidden={!!visibleText}\n >\n {visibleText && (\n <Box\n flexGrow={1}\n is='span'\n mi={4}\n rcx-select__item\n fontScale='p2m'\n color={valueLabel ? 'default' : 'hint'}\n >\n {visibleText}\n </Box>\n )}\n <Anchor\n disabled={disabled}\n rcx-input-box--undecorated\n filter={filter}\n ref={ref}\n aria-haspopup='listbox'\n onClick={show}\n onBlur={hide}\n />\n <Margins inline='x4'>\n <SelectAddon>\n <Icon\n name={\n visible === AnimatedVisibility.VISIBLE\n ? 'chevron-up'\n : 'chevron-down'\n }\n size='x20'\n />\n </SelectAddon>\n </Margins>\n </PaginatedSelectWrapper>\n <PositionAnimated visible={visible} anchor={containerRef}>\n <_Options\n withTitle={withTitle}\n width={borderBoxSize.inlineSize}\n role='listbox'\n filter={filter}\n options={options}\n onSelect={internalChangedByClick}\n endReached={endReached}\n onMouseDown={prevent}\n renderItem={renderItem}\n />\n </PositionAnimated>\n </Box>\n );\n};\n","import { useEffectEvent } from '@rocket.chat/fuselage-hooks';\nimport type { FormEvent, Ref } from 'react';\nimport { useMemo, forwardRef } from 'react';\n\nimport { InputBox } from '../InputBox';\n\nimport type { PaginatedSelectProps } from './PaginatedSelect';\nimport { PaginatedSelect } from './PaginatedSelect';\n\ntype PaginatedSelectFilteredProps = Omit<PaginatedSelectProps, 'setFilter'> & {\n setFilter: (value: string | undefined | number) => void;\n};\n\nexport const PaginatedSelectFiltered = ({\n filter,\n setFilter,\n options,\n placeholder,\n ...props\n}: PaginatedSelectFilteredProps) => {\n const anchor = useMemo(\n () =>\n forwardRef(\n (\n {\n filter,\n onChange: _onChange,\n ...props\n }: PaginatedSelectFilteredProps,\n ref: Ref<HTMLInputElement>,\n ) => (\n <InputBox.Input\n mi={4}\n flexGrow={1}\n className='rcx-select__focus'\n ref={ref}\n placeholder={placeholder}\n value={filter}\n onChange={useEffectEvent((e: FormEvent<HTMLInputElement>) => {\n setFilter(e.currentTarget.value);\n })}\n {...props}\n rcx-input-box--undecorated\n />\n ),\n ),\n [placeholder, setFilter],\n );\n\n return (\n <PaginatedSelect\n placeholder={undefined}\n filter={filter}\n options={options}\n {...props}\n anchor={anchor}\n />\n );\n};\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\ntype PaginatedSelectWrapperProps = ComponentProps<typeof Box>;\n\nconst PaginatedSelectWrapper = forwardRef(function PaginatedSelectWrapper(\n props: PaginatedSelectWrapperProps,\n ref: Ref<HTMLDivElement>,\n) {\n return <Box is='div' rcx-select__wrapper ref={ref} {...props} />;\n});\n\nexport default PaginatedSelectWrapper;\n","export { PaginatedSelectFiltered } from './PaginatedSelectFiltered';\nexport type { PaginatedMultiSelectOption } from './PaginatedMultiSelect';\nexport { PaginatedMultiSelectFiltered } from './PaginatedMultiSelectFiltered';\n","import type { ComponentProps, Dispatch, SetStateAction } from 'react';\nimport { useMemo } from 'react';\n\nimport Box from '../Box';\nimport { Chevron } from '../Chevron';\n\ntype ItemsPerPage = 25 | 50 | 100;\n\ntype PaginationProps = ComponentProps<typeof Box> & {\n count: number;\n current?: number;\n divider?: boolean;\n itemsPerPage?: ItemsPerPage;\n itemsPerPageLabel?: (context: {\n count: number;\n current: number;\n itemsPerPage: ItemsPerPage;\n }) => string;\n showingResultsLabel?: (context: {\n count: number;\n current: number;\n itemsPerPage: ItemsPerPage;\n }) => string;\n onSetCurrent?: Dispatch<SetStateAction<number>>;\n onSetItemsPerPage?: Dispatch<SetStateAction<ItemsPerPage>>;\n};\n\nconst defaultItemsPerPageLabel = () => 'Items per page:';\n\nconst defaultShowingResultsLabel = ({\n count,\n current,\n itemsPerPage,\n}: {\n count: number;\n current: number;\n itemsPerPage: ItemsPerPage;\n}) =>\n `Showing results ${current + 1} - ${Math.min(\n current + itemsPerPage,\n count,\n )} of ${count}`;\n\nconst itemsPerPageOptions = [25, 50, 100] as ItemsPerPage[];\nexport const Pagination = ({\n count,\n current = 0,\n itemsPerPage = 25,\n itemsPerPageLabel = defaultItemsPerPageLabel,\n showingResultsLabel = defaultShowingResultsLabel,\n onSetItemsPerPage,\n onSetCurrent,\n divider,\n ...props\n}: PaginationProps) => {\n const hasItemsPerPageSelection = itemsPerPageOptions.length > 1;\n const currentPage = Math.floor(current / itemsPerPage);\n const pages = Math.ceil(count / itemsPerPage);\n const displayedPages = useMemo(() => {\n if (pages <= 7) {\n // 0 1 2 3 4 5 6\n return Array.from({ length: pages }, (_, i) => i);\n }\n\n if (currentPage < 5) {\n // 0 1 2 3 4 ... N\n return [0, 1, 2, 3, 4, '⋯', pages - 1];\n }\n\n if (currentPage > pages - 5) {\n // 0 ... N-4 N-3 N-2 N-1 N\n return [0, '⋯', pages - 5, pages - 4, pages - 3, pages - 2, pages - 1];\n }\n\n // 0 ... x-1 x x-2 ... N\n return [\n 0,\n '⋯',\n currentPage - 1,\n currentPage,\n currentPage + 1,\n '⋯',\n pages - 1,\n ];\n }, [pages, currentPage]);\n\n const renderingContext = { count, pages, current, currentPage, itemsPerPage };\n\n const handleSetItemsPerPageLinkClick =\n (itemsPerPageOption: ItemsPerPage) => () => {\n onSetItemsPerPage?.(itemsPerPageOption);\n };\n\n const handleSetPageLinkClick = (page: number) => () => {\n onSetCurrent?.(page * itemsPerPage);\n };\n\n return (\n <Box is='nav' rcx-pagination rcx-pagination--divider={divider} {...props}>\n {hasItemsPerPageSelection && (\n <Box rcx-pagination__left>\n <Box is='span' rcx-pagination__label>\n {itemsPerPageLabel(renderingContext)}\n </Box>\n <Box is='ol' rcx-pagination__list>\n {itemsPerPageOptions.map((itemsPerPageOption) => (\n <Box key={itemsPerPageOption} is='li' rcx-pagination__list-item>\n <Box\n is='button'\n rcx-pagination__link\n tabIndex={itemsPerPage === itemsPerPageOption ? -1 : 0}\n disabled={itemsPerPage === itemsPerPageOption}\n onClick={handleSetItemsPerPageLinkClick(itemsPerPageOption)}\n >\n {itemsPerPageOption}\n </Box>\n </Box>\n ))}\n </Box>\n </Box>\n )}\n <Box rcx-pagination__right>\n <Box is='span' rcx-pagination__label>\n {showingResultsLabel(renderingContext)}\n </Box>\n <Box is='ol' rcx-pagination__list>\n <Box is='li' rcx-pagination__list-item>\n <Box\n is='button'\n rcx-pagination__back\n disabled={currentPage === 0}\n onClick={handleSetPageLinkClick(currentPage - 1)}\n >\n <Chevron left size='x16' />\n </Box>\n </Box>\n {displayedPages.map((page, i) => (\n <Box key={i} is='li' rcx-pagination__list-item>\n {page === '⋯' ? (\n '⋯'\n ) : (\n <Box\n is='button'\n rcx-pagination__link\n disabled={currentPage === page}\n onClick={handleSetPageLinkClick(page as number)}\n >\n {(page as number) + 1}\n </Box>\n )}\n </Box>\n ))}\n <Box is='li' rcx-pagination__list-item>\n <Box\n is='button'\n rcx-pagination__forward\n disabled={currentPage === pages - 1}\n onClick={handleSetPageLinkClick(currentPage + 1)}\n >\n <Chevron right size='x16' />\n </Box>\n </Box>\n </Box>\n </Box>\n </Box>\n );\n};\n","export * from './Pagination';\n","import { memo } from 'react';\nimport { createPortal } from 'react-dom';\n\nimport { convertToCss } from './helpers/convertToCss';\nimport { useCreateStyleContainer } from './hooks/useCreateStyleContainer';\nimport { dark, highContrast, light } from './lib/themePalettes';\nimport type { Themes } from './types/themes';\n\nconst themes = {\n light,\n dark,\n 'high-contrast': highContrast,\n};\n\n/**\n * Style tag to handle the theme of the application.\n *\n * Import `PaletteStyleTag` and use it on the application informing the desired theme.\n *\n * Toggle the theme on Storybook's Control panel to see the color changes.\n */\nexport const PaletteStyleTag = memo(function PaletteStyleTag({\n theme = 'light',\n tagId = 'main-palette',\n prefix = '--rcx-color',\n selector,\n palette,\n}: {\n theme?: Themes;\n /**\n * Default is `main-palette`.\n */\n tagId?: string;\n /**\n * Token prefix. Default is `--rcx-color`.\n */\n prefix?: string;\n /**\n * Default is `:root`.\n */\n selector?: string;\n /**\n * CSS containing custom palette styles to be used.\n */\n palette?: string;\n}) {\n const themePalette = palette || convertToCss(themes[theme], prefix, selector);\n\n return <>{createPortal(themePalette, useCreateStyleContainer(tagId))}</>;\n});\n\nexport default PaletteStyleTag;\n","export const convertToCss = (\n values: Record<string, string>,\n prefix: string,\n selector = ':root',\n) =>\n `${selector} {\\n${Object.entries(values)\n .map(([name, color]) => `${prefix}-${name}: ${color};`)\n .join('\\n')}\\n}`;\n","import badge from '@rocket.chat/fuselage-tokens/dist/badge.json';\nimport button from '@rocket.chat/fuselage-tokens/dist/button.json';\nimport font from '@rocket.chat/fuselage-tokens/dist/font.json';\nimport shadow from '@rocket.chat/fuselage-tokens/dist/shadow.json';\nimport status from '@rocket.chat/fuselage-tokens/dist/status.json';\nimport statusBullet from '@rocket.chat/fuselage-tokens/dist/statusBullet.json';\nimport stroke from '@rocket.chat/fuselage-tokens/dist/stroke.json';\nimport surface from '@rocket.chat/fuselage-tokens/dist/surface.json';\n\nimport type { Themes } from '../types/themes';\n\nexport const getTokens = (theme: Themes) => {\n const tokens = {\n badge: badge.badge[theme],\n button: button.button[theme],\n font: font.font[theme],\n shadow: shadow.shadow[theme],\n status: status.status[theme],\n statusBullet: statusBullet.statusBullet[theme],\n stroke: stroke.stroke[theme],\n surface: surface.surface[theme],\n };\n\n return tokens;\n};\n\nexport const getThemePalette = (theme: Themes) => {\n const { badge, button, font, shadow, status, statusBullet, stroke, surface } =\n getTokens(theme);\n\n const palette = [\n {\n category: 'Stroke',\n description: \"Use as component's outline, stroke, dividers\",\n list: [\n { name: 'stroke-extra-light', color: stroke.extraLight },\n { name: 'stroke-light', color: stroke.light },\n { name: 'stroke-medium', color: stroke.medium },\n { name: 'stroke-dark', color: stroke.dark },\n { name: 'stroke-extra-dark', color: stroke.extraDark },\n {\n name: 'stroke-extra-light-highlight',\n color: stroke.extraLightHighlight,\n },\n { name: 'stroke-highlight', color: stroke.highlight },\n { name: 'stroke-extra-light-error', color: stroke.extraLightError },\n { name: 'stroke-error', color: stroke.error },\n ],\n },\n {\n category: 'Surface',\n description: 'Use as a container on top of the background',\n list: [\n { name: 'surface-light', color: surface.light },\n { name: 'surface-tint', color: surface.tint },\n { name: 'surface-room', color: surface.room },\n { name: 'surface-neutral', color: surface.neutral },\n { name: 'surface-disabled', color: surface.disabled },\n { name: 'surface-hover', color: surface.hover },\n { name: 'surface-selected', color: surface.selected },\n { name: 'surface-dark', color: surface.dark },\n { name: 'surface-featured', color: surface.featured },\n { name: 'surface-featured-hover', color: surface.featuredHover },\n { name: 'surface-overlay', color: surface.overlay },\n { name: 'surface-sidebar', color: surface.sidebar },\n ],\n },\n {\n category: 'Shadow',\n description: 'Use as a shadow color',\n list: [\n { name: 'shadow-highlight', color: shadow.highlight },\n { name: 'shadow-danger', color: shadow.danger },\n { name: 'shadow-elevation-border', color: shadow['elevation-border'] },\n { name: 'shadow-elevation-1', color: shadow['elevation-1'] },\n {\n name: 'shadow-elevation-2x',\n color: shadow['elevation-2x'],\n },\n {\n name: 'shadow-elevation-2y',\n color: shadow['elevation-2y'],\n },\n ],\n },\n {\n category: 'Font',\n description: 'These should be applied according to surfaces',\n list: [\n { name: 'font-white', color: font.white },\n { name: 'font-disabled', color: font.disabled },\n { name: 'font-annotation', color: font.annotation },\n { name: 'font-hint', color: font.hint },\n { name: 'font-secondary-info', color: font.secondaryInfo },\n { name: 'font-default', color: font.default },\n { name: 'font-titles-labels', color: font.titlesLabels },\n { name: 'font-info', color: font.info },\n { name: 'font-danger', color: font.danger },\n { name: 'font-pure-black', color: font.pureBlack },\n { name: 'font-pure-white', color: font.pureWhite },\n ],\n },\n {\n category: 'Status',\n description: 'Status Background',\n list: [\n { name: 'status-background-info', color: status.info },\n { name: 'status-background-success', color: status.success },\n { name: 'status-background-danger', color: status.danger },\n { name: 'status-background-warning', color: status.warning },\n { name: 'status-background-warning-2', color: status['warning-2'] },\n {\n name: 'status-background-service-1',\n color: status['service-1'],\n },\n {\n name: 'status-background-service-2',\n color: status['service-2'],\n },\n {\n name: 'status-background-service-3',\n color: status['service-3'],\n },\n ],\n },\n {\n description: 'Status Font',\n list: [\n { name: 'status-font-on-info', color: status['font-on-info'] },\n { name: 'status-font-on-success', color: status['font-on-success'] },\n { name: 'status-font-on-danger', color: status['font-on-danger'] },\n { name: 'status-font-on-warning', color: status['font-on-warning'] },\n {\n name: 'status-font-on-warning-2',\n color: status['font-on-warning-2'],\n },\n {\n name: 'status-font-on-service-1',\n color: status['font-on-service-1'],\n },\n {\n name: 'status-font-on-service-2 ',\n color: status['font-on-service-2'],\n },\n {\n name: 'status-font-on-service-3 ',\n color: status['font-on-service-3'],\n },\n ],\n },\n {\n category: 'Badge',\n description: 'Badge Background',\n list: [\n { name: 'badge-background-level-0', color: badge['level-0'] },\n { name: 'badge-background-level-1', color: badge['level-1'] },\n { name: 'badge-background-level-2', color: badge['level-2'] },\n { name: 'badge-background-level-3', color: badge['level-3'] },\n { name: 'badge-background-level-4', color: badge['level-4'] },\n ],\n },\n {\n category: 'Status Bullet',\n description: 'Used to show user status',\n list: [\n { name: 'status-bullet-online', color: statusBullet.online },\n { name: 'status-bullet-away', color: statusBullet.away },\n { name: 'status-bullet-busy', color: statusBullet.busy },\n { name: 'status-bullet-disabled', color: statusBullet.disabled },\n { name: 'status-bullet-offline', color: statusBullet.offline },\n { name: 'status-bullet-loading', color: statusBullet.loading },\n ],\n },\n {\n category: 'Button',\n description: 'Primary Background',\n list: [\n {\n name: 'button-background-primary-default',\n color: button.backgroundPrimaryDefault,\n },\n {\n name: 'button-background-primary-hover',\n color: button.backgroundPrimaryHover,\n },\n {\n name: 'button-background-primary-press',\n color: button.backgroundPrimaryPress,\n },\n {\n name: 'button-background-primary-focus',\n color: button.backgroundPrimaryFocus,\n },\n {\n name: 'button-background-primary-keyfocus',\n color: button.backgroundPrimaryKeyfocus,\n },\n {\n name: 'button-background-primary-disabled',\n color: button.backgroundPrimaryDisabled,\n },\n ],\n },\n {\n description: 'Secondary Background',\n list: [\n {\n name: 'button-background-secondary-default',\n color: button.backgroundSecondaryDefault,\n },\n {\n name: 'button-background-secondary-hover',\n color: button.backgroundSecondaryHover,\n },\n {\n name: 'button-background-secondary-press',\n color: button.backgroundSecondaryPress,\n },\n {\n name: 'button-background-secondary-focus',\n color: button.backgroundSecondaryFocus,\n },\n {\n name: 'button-background-secondary-keyfocus',\n color: button.backgroundSecondaryKeyfocus,\n },\n {\n name: 'button-background-secondary-disabled',\n color: button.backgroundSecondaryDisabled,\n },\n ],\n },\n {\n description: 'Secondary Danger Background',\n list: [\n {\n name: 'button-background-secondary-danger-default',\n color: button.backgroundSecondaryDangerDefault,\n },\n {\n name: 'button-background-secondary-danger-hover',\n color: button.backgroundSecondaryDangerHover,\n },\n {\n name: 'button-background-secondary-danger-press',\n color: button.backgroundSecondaryDangerPress,\n },\n {\n name: 'button-background-secondary-danger-focus',\n color: button.backgroundSecondaryDangerFocus,\n },\n {\n name: 'button-background-secondary-danger-keyfocus',\n color: button.backgroundSecondaryDangerKeyfocus,\n },\n {\n name: 'button-background-secondary-danger-disabled',\n color: button.backgroundDangerDisabled,\n },\n ],\n },\n {\n description: 'Danger Background',\n list: [\n {\n name: 'button-background-danger-default',\n color: button.backgroundDangerDefault,\n },\n {\n name: 'button-background-danger-hover',\n color: button.backgroundDangerHover,\n },\n {\n name: 'button-background-danger-press',\n color: button.backgroundDangerPress,\n },\n {\n name: 'button-background-danger-focus',\n color: button.backgroundDangerFocus,\n },\n {\n name: 'button-background-danger-keyfocus',\n color: button.backgroundDangerKeyfocus,\n },\n {\n name: 'button-background-danger-disabled',\n color: button.backgroundDangerDisabled,\n },\n ],\n },\n {\n description: 'Success Background',\n list: [\n {\n name: 'button-background-success-default',\n color: button.backgroundSuccessDefault,\n },\n {\n name: 'button-background-success-hover',\n color: button.backgroundSuccessHover,\n },\n {\n name: 'button-background-success-press',\n color: button.backgroundSuccessPress,\n },\n {\n name: 'button-background-success-focus',\n color: button.backgroundSuccessFocus,\n },\n {\n name: 'button-background-success-keyfocus',\n color: button.backgroundSuccessKeyfocus,\n },\n {\n name: 'button-background-success-disabled',\n color: button.backgroundSuccessDisabled,\n },\n ],\n },\n {\n description: 'Font',\n list: [\n { name: 'button-font-on-primary', color: button.fontOnPrimary },\n {\n name: 'button-font-on-primary-disabled',\n color: button.fontOnPrimaryDisabled,\n },\n {\n name: 'button-font-on-secondary',\n color: button.fontOnSecondary,\n },\n {\n name: 'button-font-on-secondary-disabled',\n color: button.fontOnSecondaryDisabled,\n },\n {\n name: 'button-font-on-secondary-danger',\n color: button.fontOnSecondaryDanger,\n },\n {\n name: 'button-font-on-secondary-danger-disabled',\n color: button.onSecondaryDangerDisabled,\n },\n { name: 'button-font-on-danger', color: button.fontOnDanger },\n {\n name: 'button-font-on-danger-disabled',\n color: button.fontOnDangerDisabled,\n },\n { name: 'button-font-on-success', color: button.fontOnSuccess },\n {\n name: 'button-font-on-success-disabled',\n color: button.fontOnSuccessDisabled,\n },\n ],\n },\n ];\n\n return {\n ...palette.reduce(\n (rec, group) => ({\n ...rec,\n ...group.list.reduce(\n (rec, item) => ({\n ...rec,\n [item.name]: item.color,\n }),\n {} as Record<string, string>,\n ),\n }),\n {} as Record<string, string>,\n ),\n };\n};\n","import { useMemo } from 'react';\n\nexport const useCreateStyleContainer = (id: string) =>\n useMemo(() => {\n const refElement =\n document.getElementById('rcx-styles') || document.head.lastChild;\n\n const el = document.getElementById(id);\n\n if (el) {\n return el;\n }\n\n const styleElement = document.createElement('style');\n styleElement.setAttribute('id', id);\n\n document.head.insertBefore(styleElement, refElement);\n document.head.appendChild(document.createElement('style'));\n return styleElement;\n }, [id]);\n","export * from './PaletteStyleTag';\n","import { getThemePalette } from '../helpers/getPalette';\n\nexport const light = getThemePalette('light');\nexport const highContrast = getThemePalette('high-contrast');\nexport const dark = getThemePalette('dark');\n","import { useToggle } from '@rocket.chat/fuselage-hooks';\nimport type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { Icon } from '../Icon';\nimport { InputBox } from '../InputBox';\n\n// TODO: fix a11y issues\n\ntype PasswordInputProps = Omit<ComponentProps<typeof InputBox>, 'type'>;\n\nconst PasswordInput = forwardRef(function PasswordInput(\n props: PasswordInputProps,\n ref: Ref<HTMLInputElement>,\n) {\n const [hidden, toggle] = useToggle(true);\n const handleAddonClick = () => {\n toggle();\n };\n\n return (\n <InputBox\n type={hidden ? 'password' : 'text'}\n addon={\n <Icon\n name={hidden ? 'eye-off' : 'eye'}\n size={20}\n onClick={handleAddonClick}\n />\n }\n ref={ref}\n {...props}\n />\n );\n});\n\nexport default PasswordInput;\n","export { default } from './PasswordInput';\n","import type { ReactNode } from 'react';\nimport { useRef } from 'react';\nimport type { AriaPopoverProps } from 'react-aria';\nimport { usePopover, DismissButton, Overlay } from 'react-aria';\nimport type { OverlayTriggerState } from 'react-stately';\n\ninterface PopoverProps extends Omit<AriaPopoverProps, 'popoverRef'> {\n children: ReactNode;\n state: OverlayTriggerState;\n}\n\nexport function Popover(props: PopoverProps) {\n const popoverRef = useRef<HTMLDivElement>(null);\n const { state, children, isNonModal } = props;\n\n const { popoverProps, underlayProps } = usePopover(\n {\n ...props,\n popoverRef,\n },\n state,\n );\n\n return (\n <Overlay>\n {!isNonModal && <div {...underlayProps} />}\n <div {...popoverProps} ref={popoverRef}>\n {!isNonModal && <DismissButton onDismiss={state.close} />}\n {children}\n <DismissButton onDismiss={state.close} />\n </div>\n </Overlay>\n );\n}\n","export * from './Popover';\n","import type { UsePositionOptions } from '@rocket.chat/fuselage-hooks';\nimport { usePosition } from '@rocket.chat/fuselage-hooks';\nimport type { RefObject, ComponentProps, ReactElement } from 'react';\nimport { useRef, useMemo, cloneElement, useState, useEffect } from 'react';\nimport { createPortal } from 'react-dom';\n\nimport type Box from '../Box';\n\ntype PositionProps = {\n anchor: RefObject<Element>;\n children: ReactElement;\n margin?: number;\n placement?: UsePositionOptions['placement'];\n} & Omit<ComponentProps<typeof Box>, 'children' | 'margin'>;\n\nconst Position = ({\n anchor,\n children,\n placement,\n margin,\n className: _className,\n ...props\n}: PositionProps) => {\n const target = useRef(null);\n const { style: positionStyle, placement: positionPlacement } =\n usePosition(\n anchor,\n target,\n useMemo(() => ({ placement, margin }), [placement, margin]),\n ) || {};\n\n const style = useMemo(\n () => ({ position: 'fixed', ...positionStyle }),\n [positionStyle],\n );\n const [portalContainer] = useState(() => {\n const prev = document.getElementById('position-container');\n if (prev) {\n return prev;\n }\n const element = document.createElement('div');\n\n element.id = 'position-container';\n\n document.body.appendChild(element);\n return element;\n });\n\n useEffect(\n () => () => {\n if (portalContainer.childNodes.length === 0) {\n document.body.removeChild(portalContainer);\n }\n },\n [portalContainer],\n );\n\n return createPortal(\n cloneElement(children, {\n ref: target,\n style,\n ...props,\n placement: positionPlacement,\n }),\n portalContainer,\n );\n};\n\nexport default Position;\n","export { default } from './Position';\n","import type { ComponentProps } from 'react';\n\nimport AnimatedVisibility from '../AnimatedVisibility';\nimport Position from '../Position';\n\ntype PositionAnimatedProps = {\n visible?: 'hidden' | 'visible' | 'hiding' | 'unhiding';\n} & ComponentProps<typeof Position>;\n\nconst PositionAnimated = ({\n width: _width,\n visible,\n children,\n ...props\n}: PositionAnimatedProps) => (\n <AnimatedVisibility visibility={visible}>\n <Position {...props}>{children}</Position>\n </AnimatedVisibility>\n);\n\nexport default PositionAnimated;\n","export { default } from './PositionAnimated';\n","import type { AllHTMLAttributes } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\nconst getWidth = (percentage: number): string =>\n `${Math.min(Math.max(0, percentage), 100).toFixed(1)}%`;\n\nconst colors = {\n info: 'status-font-on-info',\n success: 'status-font-on-success',\n warning: 'status-font-on-warning',\n danger: 'status-font-on-danger',\n};\nconst lightColors = {\n info: 'status-background-info',\n success: 'status-background-success',\n warning: 'status-background-warning',\n danger: 'status-background-danger',\n};\n\nconst getColor = (\n isLight: boolean,\n variant: 'info' | 'success' | 'warning' | 'danger',\n error?: string,\n) => {\n if (error) {\n return isLight ? lightColors.danger : colors.danger;\n }\n return isLight ? lightColors[variant] : colors[variant];\n};\n\ntype ProgressBarProps = {\n percentage: number;\n variant?: 'info' | 'success' | 'warning' | 'danger';\n error?: string;\n animated?: boolean;\n light?: boolean;\n} & Omit<AllHTMLAttributes<HTMLElement>, 'is'>;\n\n/**\n * The `ProgressBar` is used to inform the user the progress of an operation.\n */\nexport const ProgressBar = forwardRef(function ProgressBar(\n {\n percentage,\n variant = 'info',\n error,\n animated,\n light = false,\n ...props\n }: ProgressBarProps,\n ref,\n) {\n return (\n <Box\n ref={ref}\n rcx-progress-bar\n title={error || undefined}\n overflow='hidden'\n {...props}\n >\n <Box\n bg={getColor(light, variant, error)}\n rcx-progress-bar__fill--animated={animated}\n rcx-progress-bar__fill\n width={getWidth(percentage)}\n />\n </Box>\n );\n});\n","export * from './ProgressBar';\n","import type { AllHTMLAttributes, ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\ntype RadioButtonProps = ComponentProps<typeof Box> &\n AllHTMLAttributes<HTMLInputElement>;\n\nexport const RadioButton = forwardRef(function RadioButton(\n { className, ...props }: RadioButtonProps,\n ref: Ref<HTMLInputElement>,\n) {\n return (\n <Box is='label' className={className} rcx-radio-button>\n <Box\n is='input'\n rcx-radio-button__input\n type='radio'\n ref={ref}\n {...props}\n />\n <Box is='i' rcx-radio-button__fake aria-hidden='true' />\n </Box>\n );\n});\n","export * from './RadioButton';\n","import { css } from '@rocket.chat/css-in-js';\nimport { useEffectEvent } from '@rocket.chat/fuselage-hooks';\nimport type { PropsWithChildren, MouseEvent, MutableRefObject } from 'react';\nimport { useRef, useCallback } from 'react';\n\nimport { appendClassName } from '../../helpers/appendClassName';\nimport { useStyle } from '../../hooks/useStyle';\nimport { BoxTransforms, useComposedBoxTransform } from '../Box/BoxTransforms';\n\ntype ScrollableProps = PropsWithChildren<{\n horizontal?: boolean;\n vertical?: boolean;\n smooth?: boolean;\n onScrollContent?: (touching: { top: boolean }) => void;\n}>;\n\nconst getTouchingEdges = (element: Element) => ({\n top: !element.scrollTop,\n bottom: !(element.scrollTop + element.clientHeight - element.scrollHeight),\n left: !element.scrollLeft,\n right: !(element.scrollLeft + element.clientWidth - element.scrollWidth),\n});\n\nconst pollTouchingEdges = (\n element: EventTarget & Element,\n touchingEdgesRef: MutableRefObject<Record<string, boolean>>,\n onScrollContent: ((touching: { top: boolean }) => void) | undefined,\n) => {\n const touchingEdges = touchingEdgesRef.current;\n const newTouchingEdges = getTouchingEdges(element);\n\n const dirty =\n touchingEdges &&\n (touchingEdges.top !== newTouchingEdges.top ||\n touchingEdges.bottom !== newTouchingEdges.bottom ||\n touchingEdges.left !== newTouchingEdges.left ||\n touchingEdges.right !== newTouchingEdges.right);\n\n if (dirty) {\n touchingEdgesRef.current = newTouchingEdges;\n onScrollContent?.(newTouchingEdges);\n }\n};\n\n/**\n * Add scroll capability to the wrapped component.\n */\nexport const Scrollable = ({\n children,\n horizontal,\n vertical,\n smooth,\n onScrollContent,\n}: ScrollableProps) => {\n const scrollTimeoutRef = useRef<ReturnType<typeof setTimeout>>();\n const touchingEdgesRef = useRef({});\n\n const handleScroll = useEffectEvent((event: MouseEvent) => {\n const element = event.currentTarget;\n\n if (!scrollTimeoutRef.current) {\n pollTouchingEdges(element, touchingEdgesRef, onScrollContent);\n }\n\n if (scrollTimeoutRef.current) clearTimeout(scrollTimeoutRef.current);\n\n scrollTimeoutRef.current = setTimeout(() => {\n scrollTimeoutRef.current = undefined;\n pollTouchingEdges(element, touchingEdgesRef, onScrollContent);\n }, 200);\n });\n\n const className = useStyle(\n css`\n position: relative;\n\n &::-webkit-scrollbar {\n width: ${4 / 16}rem;\n height: ${4 / 16}rem;\n }\n\n &::-webkit-scrollbar-track {\n background-color: transparent;\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: rgba(0, 0, 0, 0.05);\n background-color: var(\n --rcx-theme-scrollbar-thumb-color,\n rgba(0, 0, 0, 0.05)\n );\n }\n\n &:hover::-webkit-scrollbar-thumb {\n background-color: rgba(0, 0, 0, 0.15);\n background-color: var(\n --rcx-theme-scrollbar-thumb-hover-color,\n rgba(0, 0, 0, 0.15)\n );\n }\n\n ${(horizontal &&\n css`\n overflow-x: auto !important;\n `) ||\n (vertical &&\n css`\n overflow-y: auto !important;\n `) ||\n css`\n overflow: auto !important;\n `}\n ${smooth &&\n css`\n scroll-behavior: smooth !important;\n `}\n `,\n null,\n );\n\n const transformFn = useCallback(\n (props: any) => {\n props.className =\n className && appendClassName(props.className, className);\n\n if (onScrollContent !== undefined && props.onScroll === undefined) {\n props.onScroll = handleScroll;\n }\n\n return props;\n },\n [className, handleScroll, onScrollContent],\n );\n\n return (\n <BoxTransforms.Provider\n children={children}\n value={useComposedBoxTransform(transformFn)}\n />\n );\n};\n","import { Scrollable } from './Scrollable';\n\nexport default Scrollable;\n","import type { ComponentProps, ReactNode, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { InputBox } from '../InputBox';\n\ntype SearchInputProps = Omit<ComponentProps<typeof InputBox>, 'type'> & {\n addon?: ReactNode;\n error?: string;\n};\n\n/**\n * An input for search queries.\n */\nexport const SearchInput = forwardRef(function SearchInput(\n props: SearchInputProps,\n ref: Ref<HTMLInputElement>,\n) {\n return <InputBox type='search' ref={ref} {...props} />;\n});\n","export * from './SearchInput';\n","import type { Node } from '@react-types/shared';\nimport type { RefObject } from 'react';\nimport { useRef } from 'react';\nimport type { AriaListBoxOptions } from 'react-aria';\nimport { useListBox, useListBoxSection, useOption } from 'react-aria';\nimport type { ListState } from 'react-stately';\n\nimport Option from '../Option';\n\ninterface ListBoxProps extends AriaListBoxOptions<unknown> {\n listBoxRef?: RefObject<HTMLDivElement>;\n state: ListState<unknown>;\n}\n\ninterface SectionProps {\n section: Node<unknown>;\n state: ListState<unknown>;\n}\n\ninterface OptionProps {\n item: Node<unknown>;\n state: ListState<unknown>;\n}\n\nexport function ListBox(props: ListBoxProps) {\n const ref = useRef(null);\n const { listBoxRef = ref, state } = props;\n const { listBoxProps } = useListBox(props, state, listBoxRef);\n\n return (\n <div {...listBoxProps} ref={listBoxRef}>\n {[...state.collection].map((item) =>\n item.type === 'section' ? (\n <ListBoxSection key={item.key} section={item} state={state} />\n ) : (\n <OptionAria key={item.key} item={item} state={state} />\n ),\n )}\n </div>\n );\n}\n\nfunction ListBoxSection({ section, state }: SectionProps) {\n const { itemProps, headingProps, groupProps } = useListBoxSection({\n 'heading': section.rendered,\n 'aria-label': section['aria-label'],\n });\n\n return (\n <>\n <li {...itemProps} className='pt-2'>\n {section.rendered && (\n <span\n {...headingProps}\n className='text-xs font-bold uppercase text-gray-500 mx-3'\n >\n {section.rendered}\n </span>\n )}\n <ul {...groupProps}>\n {[...section.childNodes].map((node) => (\n <OptionAria key={node.key} item={node} state={state} />\n ))}\n </ul>\n </li>\n </>\n );\n}\n\nfunction OptionAria({ item, state }: OptionProps) {\n const ref = useRef<HTMLLIElement>(null);\n const { optionProps, isDisabled, isSelected, isFocused } = useOption(\n {\n key: item.key,\n },\n state,\n ref,\n );\n\n return (\n <Option\n ref={ref}\n disabled={isDisabled}\n selected={isSelected}\n focus={isFocused}\n key={item.key}\n label={item.rendered}\n {...optionProps}\n >\n {item.rendered}\n </Option>\n );\n}\n","import type { AriaSelectProps } from '@react-types/select';\nimport type { AllHTMLAttributes, ComponentProps, Key, Ref } from 'react';\nimport { forwardRef } from 'react';\nimport { Item } from 'react-stately';\n\nimport { SelectAria } from './SelectAria';\n\ntype SelectOption = readonly [value: string, label: string, selected?: boolean];\n\ntype SelectProps<T, V extends Key> = Omit<\n AriaSelectProps<T>,\n 'value' | 'onChange' | 'children'\n> & {\n error?: string;\n placeholder?: string;\n value?: V | null;\n onChange?: ((key: V) => any) | undefined;\n options: SelectOption[];\n small?: boolean;\n} & Omit<AllHTMLAttributes<HTMLElement>, 'value' | 'onChange'>;\n\n/**\n * An input for selection of options.\n */\nexport const Select = forwardRef(function Select<\n T extends object,\n V extends Key,\n>({ options, ...props }: SelectProps<T, V>, ref: Ref<HTMLElement>) {\n return (\n <SelectAria ref={ref} {...(props as ComponentProps<typeof SelectAria>)}>\n {options.map((option) => (\n <Item\n title={option[1] ?? option[0]}\n textValue={option[0]}\n key={option[0]}\n >\n {option[1] ?? option[0]}\n </Item>\n ))}\n </SelectAria>\n );\n});\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\ntype AddonProps = ComponentProps<typeof Box>;\n\nconst SelectAddon = forwardRef(function SelectAddon(\n props: AddonProps,\n ref: Ref<HTMLDivElement>,\n) {\n return <Box is='div' rcx-select__addon ref={ref} {...props} />;\n});\n\nexport default SelectAddon;\n","import type { AriaSelectProps } from '@react-types/select';\nimport { useMergedRefs, useResizeObserver } from '@rocket.chat/fuselage-hooks';\nimport type { AllHTMLAttributes, Key, Ref } from 'react';\nimport { forwardRef } from 'react';\nimport { useSelect, HiddenSelect, mergeProps, useFocusRing } from 'react-aria';\nimport { useSelectState } from 'react-stately';\n\nimport Box from '../Box/Box';\nimport { Icon } from '../Icon';\nimport { OptionContainer } from '../Options';\nimport { Popover } from '../Popover';\n\nimport { ListBox } from './Listbox';\nimport { SelectTrigger } from './SelectTrigger';\n\nexport { Item } from 'react-stately';\n\ntype SelectAriaProps<T extends object> = AriaSelectProps<T> & {\n error?: string;\n placeholder?: string;\n value?: Key | null;\n onChange?: (key: Key) => void;\n small?: boolean;\n};\n\nexport const SelectAria = forwardRef(function SelectAria<T extends object>(\n {\n error,\n placeholder,\n value,\n onChange,\n small,\n isDisabled: isDisabledProps,\n disabled,\n id,\n ...props\n }: SelectAriaProps<T> & AllHTMLAttributes<HTMLElement>,\n outerRef: Ref<HTMLElement>,\n) {\n const isDisabled = isDisabledProps || disabled;\n\n const state = useSelectState({\n isDisabled,\n selectedKey: typeof value !== 'bigint' ? value : null,\n onSelectionChange: onChange,\n ...props,\n });\n\n const { ref, borderBoxSize } = useResizeObserver<any>();\n const mergedRef = useMergedRefs(outerRef, ref);\n\n const { triggerProps, valueProps, menuProps } = useSelect(\n { isDisabled, ...props },\n state,\n ref,\n );\n\n const { focusProps, isFocusVisible } = useFocusRing();\n\n return (\n <>\n <SelectTrigger\n {...mergeProps(focusProps, triggerProps)}\n ref={mergedRef}\n small={small}\n focus={isFocusVisible || state.isOpen}\n error={error}\n id={id}\n >\n <HiddenSelect\n state={state}\n triggerRef={ref}\n label={props.label}\n name={props.name}\n isDisabled={isDisabled}\n />\n <Box\n is='span'\n color={state.selectedItem ? 'default' : 'hint'}\n {...valueProps}\n {...(small && { fontScale: 'c1' })}\n >\n {state.selectedItem ? state.selectedItem.rendered : placeholder}\n </Box>\n <Icon\n color='default'\n name={state.isOpen ? 'chevron-up' : 'chevron-down'}\n size='x20'\n />\n </SelectTrigger>\n {state.isOpen && (\n <Popover\n state={state}\n triggerRef={ref}\n placement='bottom'\n offset={4}\n containerPadding={8}\n >\n <OptionContainer\n style={{\n width: borderBoxSize?.inlineSize,\n }}\n >\n <ListBox {...menuProps} state={state} />\n </OptionContainer>\n </Popover>\n )}\n </>\n );\n});\n","import type { ComponentProps, Dispatch, Ref, SetStateAction } from 'react';\nimport { forwardRef, useState } from 'react';\n\nimport type { Icon } from '..';\n\nimport { SelectLegacy } from '.';\nimport type { SelectAnchorParams } from './SelectAnchorParams';\nimport SelectFilteredAnchor from './SelectFilteredAnchor';\n\nexport type SelectFilteredProps = ComponentProps<typeof SelectLegacy> & {\n filter?: string;\n setFilter?: Dispatch<SetStateAction<string>>;\n addonIcon?: ComponentProps<typeof Icon>['name'];\n};\n\nexport const SelectFiltered = forwardRef(function SelectFiltered(\n {\n options,\n placeholder,\n filter: propFilter,\n setFilter: propSetFilter,\n ...props\n }: SelectFilteredProps,\n ref: Ref<HTMLInputElement>,\n) {\n const [filter, setFilter] = useState('');\n\n return (\n <SelectLegacy\n ref={ref}\n placeholder={placeholder}\n filter={propFilter || filter}\n options={options}\n {...props}\n anchor={(params: SelectAnchorParams) => (\n <SelectFilteredAnchor\n placeholder={placeholder}\n filter={propFilter || filter}\n onChangeFilter={propSetFilter || setFilter}\n {...params}\n />\n )}\n />\n );\n});\n","import type {\n FocusEventHandler,\n FormEvent,\n KeyboardEventHandler,\n MouseEventHandler,\n ReactNode,\n Ref,\n} from 'react';\nimport { forwardRef } from 'react';\n\nimport { InputBox } from '../InputBox';\n\ntype SelectFilteredAnchorProps = {\n children: ReactNode;\n disabled: boolean;\n filter: string;\n onChangeFilter: (filter: string) => void;\n placeholder?: string;\n onClick: MouseEventHandler;\n onBlur: FocusEventHandler;\n onKeyUp: KeyboardEventHandler;\n onKeyDown: KeyboardEventHandler;\n};\n\nconst SelectFilteredAnchor = forwardRef(function SelectFilteredAnchor(\n {\n children: _children,\n filter,\n onChangeFilter,\n placeholder,\n ...props\n }: SelectFilteredAnchorProps,\n ref: Ref<Element>,\n) {\n return (\n <InputBox.Input\n mi={4}\n flexGrow={1}\n className='rcx-select__focus'\n ref={ref}\n placeholder={placeholder}\n value={filter}\n onInput={(e: FormEvent<HTMLInputElement>) =>\n onChangeFilter(e.currentTarget.value)\n }\n {...props}\n rcx-input-box--undecorated\n />\n );\n});\n\nexport default SelectFilteredAnchor;\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\ntype SelectFocusProps = ComponentProps<typeof Box>;\n\nconst SelectFocus = forwardRef(function SelectFocus(\n props: SelectFocusProps,\n ref: Ref<Element>,\n) {\n return (\n <Box\n ref={ref}\n fontScale='p2m'\n color='hint'\n rcx-select__focus\n is='button'\n type='button'\n {...props}\n />\n );\n});\n\nexport default SelectFocus;\n","import {\n useMergedRefs,\n useEffectEvent,\n useResizeObserver,\n useOutsideClick,\n} from '@rocket.chat/fuselage-hooks';\nimport type {\n ComponentProps,\n DependencyList,\n Ref,\n ElementType,\n ReactNode,\n} from 'react';\nimport { useState, useRef, useEffect, forwardRef, useMemo } from 'react';\n\nimport { isForwardRefType } from '../../helpers/isForwardRefType';\nimport AnimatedVisibility from '../AnimatedVisibility';\nimport Box from '../Box';\nimport { Icon } from '../Icon';\nimport Margins from '../Margins';\nimport type { OptionType } from '../Options';\nimport { Options, useCursor } from '../Options';\nimport PositionAnimated from '../PositionAnimated';\n\nimport SelectAddon from './SelectAddon';\nimport type { SelectAnchorParams } from './SelectAnchorParams';\nimport SelectFocus from './SelectFocus';\n\nexport type SelectOption = readonly [\n value: string,\n label: string,\n selected?: boolean,\n];\n\ntype WrapperProps = ComponentProps<typeof Box>;\n\nconst Wrapper = forwardRef((props: WrapperProps, ref: Ref<HTMLDivElement>) => (\n <Box is='div' rcx-select__wrapper ref={ref} {...props} />\n));\n\nconst useDidUpdate = (func: () => void, deps: DependencyList | undefined) => {\n const didMount = useRef(false);\n const fn = useEffectEvent(func);\n\n useEffect(() => {\n if (didMount.current) {\n fn();\n }\n didMount.current = true;\n }, deps || []);\n};\n\nexport type SelectProps = Omit<ComponentProps<typeof Box>, 'onChange'> & {\n anchor?: ElementType;\n error?: string;\n options: SelectOption[];\n onChange: (value: SelectOption[0]) => void;\n getLabel?: (params: SelectOption) => SelectOption[1];\n getValue?: (params: SelectOption) => SelectOption[0];\n filter?: string;\n renderOptions?: ElementType;\n renderItem?: ElementType;\n renderSelected?: ElementType;\n customEmpty?: string;\n addonIcon?: ComponentProps<typeof Icon>['name'];\n};\n\nexport const SelectLegacy = forwardRef(\n (\n {\n value,\n filter,\n error,\n disabled,\n options = [],\n anchor: Anchor = SelectFocus,\n onChange = () => {},\n getValue = ([value] = ['', '']) => value,\n getLabel = ([, label] = ['', '']) => label,\n placeholder = '',\n renderItem,\n renderSelected: RenderSelected,\n renderOptions: _Options = Options,\n addonIcon,\n customEmpty,\n ...props\n }: SelectProps,\n ref: Ref<HTMLInputElement>,\n ) => {\n const [internalValue, setInternalValue] = useState(value || '');\n\n const internalChangedByKeyboard = useEffectEvent(([value]: OptionType) => {\n setInternalValue(value);\n onChange(value as SelectOption[0]); // FIXME\n });\n\n const option = options.find(\n (option) => getValue(option) === internalValue,\n ) as SelectOption;\n\n const index = options.indexOf(option);\n\n const filteredOptions = useMemo<OptionType[]>((): OptionType[] => {\n const mapOptions = ([value, label]: SelectOption): OptionType => {\n if (internalValue === value) {\n return [value, label, true];\n }\n return [value, label];\n };\n\n const applyFilter = ([, option]: SelectOption) =>\n !filter || ~option.toLowerCase().indexOf(filter.toLowerCase());\n\n return options.filter(applyFilter).map(mapOptions);\n }, [options, internalValue, filter]);\n\n const [cursor, handleKeyDown, handleKeyUp, reset, [visible, hide, show]] =\n useCursor(index, filteredOptions, internalChangedByKeyboard);\n\n const innerRef = useRef<HTMLInputElement | null>(null);\n const anchorRef = useMergedRefs(ref, innerRef);\n\n const removeFocusClass = () =>\n innerRef.current?.classList.remove('focus-visible');\n\n const internalChangedByClick = useEffectEvent(([value]: OptionType) => {\n setInternalValue(value);\n onChange(value as SelectOption[0]); // FIXME\n removeFocusClass();\n hide();\n });\n\n const renderAnchor = (params: SelectAnchorParams) => {\n if (isForwardRefType(Anchor)) {\n return <Anchor {...params} />;\n }\n\n if (typeof Anchor === 'function') {\n return (Anchor as (params: SelectAnchorParams) => ReactNode)(params);\n }\n\n return null;\n };\n\n const { ref: containerRef, borderBoxSize } = useResizeObserver();\n\n useDidUpdate(reset, [filter, internalValue]);\n useOutsideClick([containerRef], removeFocusClass);\n\n const valueLabel = getLabel(option);\n\n const visibleText =\n (filter === undefined || visible === AnimatedVisibility.HIDDEN) &&\n (valueLabel || placeholder || typeof placeholder === 'string');\n\n const handleClick = useEffectEvent(() => {\n if (innerRef.current?.classList.contains('focus-visible')) {\n removeFocusClass();\n return hide();\n }\n\n innerRef.current?.classList.add('focus-visible');\n innerRef.current?.focus();\n return show();\n });\n\n return (\n <Box\n rcx-select\n disabled={disabled}\n ref={containerRef}\n onClick={handleClick}\n className={useMemo(\n () => [error && 'invalid', disabled && 'disabled'],\n [error, disabled],\n )}\n {...props}\n >\n <Wrapper\n display='flex'\n mi='neg-x4'\n rcx-select__wrapper--hidden={!!visibleText}\n >\n {visibleText &&\n (RenderSelected ? (\n <RenderSelected\n role='option'\n value={getValue(option)}\n label={valueLabel}\n key={getValue(option)}\n onClick={internalChangedByClick}\n />\n ) : (\n <Box\n flexGrow={1}\n is='span'\n mi={4}\n rcx-select__item\n fontScale='p2'\n color={valueLabel ? 'default' : 'hint'}\n >\n {visibleText}\n </Box>\n ))}\n {renderAnchor({\n ref: anchorRef,\n children: !value ? option || placeholder : null,\n disabled: disabled ?? false,\n onClick: show,\n onBlur: hide,\n onKeyDown: handleKeyDown,\n onKeyUp: handleKeyUp,\n })}\n <Margins inline='x4'>\n <SelectAddon\n children={\n <Icon\n name={\n visible === AnimatedVisibility.VISIBLE\n ? 'chevron-up'\n : addonIcon || 'chevron-down'\n }\n size='x20'\n />\n }\n />\n </Margins>\n </Wrapper>\n <PositionAnimated visible={visible} anchor={containerRef}>\n <_Options\n width={borderBoxSize.inlineSize}\n role='listbox'\n filter={filter}\n options={filteredOptions}\n onSelect={internalChangedByClick}\n renderItem={renderItem}\n cursor={cursor}\n customEmpty={customEmpty}\n />\n </PositionAnimated>\n </Box>\n );\n },\n);\n","import type { AllHTMLAttributes, RefObject } from 'react';\nimport { forwardRef } from 'react';\nimport { useButton, AriaButtonProps } from 'react-aria';\n\nimport Box from '../Box';\n\ntype SelectTriggerProps = {\n small?: boolean;\n error?: string;\n focus?: boolean;\n} & AriaButtonProps &\n AllHTMLAttributes<HTMLButtonElement>;\n\nexport const SelectTrigger = forwardRef<HTMLButtonElement, SelectTriggerProps>(\n ({ small, error, isDisabled, focus, id, ...props }, ref) => {\n const { buttonProps } = useButton(\n props,\n ref as RefObject<HTMLButtonElement | null>,\n );\n\n return (\n <Box\n {...buttonProps}\n id={id}\n rcx-select\n ref={ref}\n is='button'\n display='flex'\n flexDirection='row'\n fontScale='p2'\n justifyContent='space-between'\n rcx-input-box--small={small}\n className={[\n error && 'invalid',\n isDisabled && 'disabled',\n focus && 'focus',\n ]\n .filter(Boolean)\n .join(' ')}\n >\n {props.children}\n </Box>\n );\n },\n);\n","export * from './SelectLegacy';\nexport * from './Select';\nexport * from './SelectFiltered';\n","import type { ComponentProps, FormEvent, ReactNode, Ref } from 'react';\nimport { forwardRef, useState, useCallback } from 'react';\n\nimport { Icon } from '../Icon';\nimport { InputBox } from '../InputBox';\n\ntype SelectInputOptions = readonly (readonly [string, string])[];\n\ntype SelectInputProps = Omit<ComponentProps<typeof InputBox>, 'type'> & {\n error?: string;\n options?: SelectInputOptions;\n htmlSize?: number;\n addon?: ReactNode;\n};\n\n/**\n * An input for selection of options.\n */\nexport const SelectInput = forwardRef(function SelectInput(\n { children, multiple, placeholder, onChange, ...props }: SelectInputProps,\n ref: Ref<HTMLElement>,\n) {\n const [isPlaceholderVisible, setPlaceholderVisible] = useState(\n !props.value && !props.defaultValue,\n );\n const handleChange = useCallback(\n (event: FormEvent<HTMLSelectElement>) => {\n setPlaceholderVisible(!event.currentTarget.value);\n onChange?.call(event.currentTarget, event);\n },\n [onChange],\n );\n\n if (multiple) {\n return (\n <InputBox\n children={children}\n {...props}\n multiple\n type='select'\n onChange={handleChange}\n />\n );\n }\n\n return (\n <InputBox\n placeholderVisible={isPlaceholderVisible ? !!placeholder : undefined}\n ref={ref}\n {...props}\n addon={<Icon name='chevron-down' size='x20' />}\n type='select'\n onChange={handleChange}\n >\n {placeholder && (\n <InputBox.Placeholder value=''>{placeholder}</InputBox.Placeholder>\n )}\n {children}\n </InputBox>\n );\n});\n","import { Option } from '../InputBox/Option';\n\nexport * from './SelectInput';\n\nexport const SelectInputOption = Option;\n","import type { AllHTMLAttributes, ComponentProps, ReactNode } from 'react';\n\nimport type Box from '../Box';\nimport { Icon as FuselageIcon } from '../Icon';\n\nimport { SidebarAction, SidebarActions } from './SidebarActions';\n\ntype SidebarItemProps = {\n selected?: boolean;\n highlighted?: boolean;\n clickable?: boolean;\n featured?: boolean;\n is?: ComponentProps<typeof Box>['is'];\n children?: ReactNode;\n} & AllHTMLAttributes<HTMLElement>;\n\n/**\n * Item component to be used inside Sidebar.\n */\nexport const SidebarItem = ({\n selected,\n highlighted,\n clickable,\n featured,\n is: Tag = 'div',\n children,\n ...props\n}: SidebarItemProps) => (\n <Tag\n className={[\n 'rc-box rcx-box--full rcx-sidebar-item',\n highlighted && 'rcx-sidebar-item--highlighted',\n (clickable || Tag === 'a') && 'rcx-sidebar-item--clickable',\n selected && 'rcx-sidebar-item--selected',\n featured && 'rcx-sidebar-item--featured',\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n >\n <div\n className='rcx-box rcx-box--full rcx-sidebar-item__wrapper'\n children={children}\n />\n </Tag>\n);\n\ntype SidebarItemContainerProps = {\n children?: ReactNode;\n} & AllHTMLAttributes<HTMLElement>;\n\nexport const SidebarItemContainer = (props: SidebarItemContainerProps) => (\n <div\n className='rc-box rcx-box--full rcx-sidebar-item__container'\n {...props}\n />\n);\n\ntype SidebarItemMenuProps = {\n children?: ReactNode;\n} & AllHTMLAttributes<HTMLElement>;\n\nexport const SidebarItemMenu = (props: SidebarItemMenuProps) => (\n <div\n className='rc-box rcx-box--full rcx-box--animated rcx-sidebar-item__menu-wrapper'\n {...props}\n />\n);\n\ntype SidebarItemContentProps = {\n children?: ReactNode;\n className?: string;\n} & AllHTMLAttributes<HTMLElement>;\n\nexport const SidebarItemContent = ({\n className = '',\n ...props\n}: SidebarItemContentProps) => (\n <div\n className={`rc-box rcx-box--full rcx-sidebar-item__container rcx-sidebar-item__content ${className}`}\n {...props}\n />\n);\n\ntype SidebarItemTitleProps = {\n children?: ReactNode;\n className?: string;\n} & AllHTMLAttributes<HTMLElement>;\n\nexport const SidebarItemTitle = ({\n className = '',\n ...props\n}: SidebarItemTitleProps) => (\n <div\n className={`rc-box rcx-box--full rcx-sidebar-item__title ${className}`}\n {...props}\n />\n);\n\ntype SidebarItemTimeProps = {\n children?: ReactNode;\n className?: string;\n} & AllHTMLAttributes<HTMLElement>;\n\nexport const SidebarItemTime = ({\n className,\n ...props\n}: SidebarItemTimeProps) => (\n <div\n className={`rc-box rcx-box--full rcx-sidebar-item__time ${className}`}\n {...props}\n />\n);\n\ntype SidebarItemBadgeProps = {\n children?: ReactNode;\n className?: string;\n} & AllHTMLAttributes<HTMLElement>;\n\nexport const SidebarItemBadge = ({\n className,\n ...props\n}: SidebarItemBadgeProps) => (\n <div\n className={`rc-box rcx-box--full rcx-sidebar-item__badge ${className}`}\n {...props}\n />\n);\n\ntype SidebarItemSubtitleProps = {\n children?: ReactNode;\n className?: string;\n} & AllHTMLAttributes<HTMLElement>;\n\nexport const SidebarItemSubtitle = ({\n className,\n ...props\n}: SidebarItemSubtitleProps) => (\n <div\n className={`rc-box rcx-box--full rcx-sidebar-item__subtitle ${className}`}\n {...props}\n />\n);\n\ntype SidebarItemWrapperProps = {\n children?: ReactNode;\n className?: string;\n} & AllHTMLAttributes<HTMLElement>;\n\nexport const SidebarItemWrapper = ({\n className = '',\n ...props\n}: SidebarItemWrapperProps) => (\n <div\n className={`rc-box rcx-box--full rcx-sidebar-item__wrapper ${className}`}\n {...props}\n />\n);\n\ntype SidebarItemIconProps = {\n children?: ReactNode;\n className?: string;\n highlighted?: boolean;\n icon: ComponentProps<typeof FuselageIcon>['name'];\n} & Omit<AllHTMLAttributes<HTMLElement>, 'name' | 'is'>;\n\nexport const SidebarItemIcon = ({\n highlighted,\n children,\n icon,\n className: _className,\n ...props\n}: SidebarItemIconProps) => (\n <div\n className={[\n 'rc-box rcx-box--full rcx-sidebar-item__icon',\n highlighted && 'rcx-sidebar-item__icon--highlighted',\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n >\n {children || <FuselageIcon size='x16' name={icon} {...props} />}\n </div>\n);\n\ntype SidebarItemAvatarProps = {\n children?: ReactNode;\n} & AllHTMLAttributes<HTMLElement>;\n\nexport const SidebarItemAvatar = ({ ...props }: SidebarItemAvatarProps) => (\n <SidebarItemContainer>\n <div className='rc-box rcx-box--full rcx-sidebar-item__avatar' {...props} />\n </SidebarItemContainer>\n);\n\nexport const SidebarItemActions = SidebarActions;\n\ntype SidebarItemActionProps = ComponentProps<typeof SidebarAction>;\n\nexport const SidebarItemAction = (props: SidebarItemActionProps) => (\n <SidebarAction {...props} />\n);\n\nexport default Object.assign(SidebarItem, {\n Menu: SidebarItemMenu,\n Container: SidebarItemContainer,\n Content: SidebarItemContent,\n Title: SidebarItemTitle,\n Subtitle: SidebarItemSubtitle,\n Time: SidebarItemTime,\n Wrapper: SidebarItemWrapper,\n Icon: SidebarItemIcon,\n Avatar: SidebarItemAvatar,\n Actions: SidebarItemActions,\n Action: SidebarItemAction,\n Badge: SidebarItemBadge,\n});\n","import type { ReactNode } from 'react';\n\ntype SidebarSectionTitleProps = {\n children?: ReactNode;\n};\n\nexport const SidebarSectionTitle = (props: SidebarSectionTitleProps) => (\n <div className='rcx-box rcx-box--full rcx-sidebar-title' {...props} />\n);\n\ntype SidebarSectionProps = {\n children?: ReactNode;\n};\n\nexport const SidebarSection = (props: SidebarSectionProps) => (\n <div className='rcx-box rcx-box--full rcx-sidebar-section' {...props} />\n);\n\nexport default Object.assign(SidebarSection, {\n Title: SidebarSectionTitle,\n});\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { IconButton } from '../Button';\nimport { ButtonGroup } from '../ButtonGroup';\n\ntype SidebarActionsProps = ComponentProps<typeof ButtonGroup>;\n\nexport const SidebarActions = forwardRef(function SidebarActions(\n props: SidebarActionsProps,\n ref: Ref<HTMLDivElement>,\n) {\n return <ButtonGroup ref={ref} {...props} />;\n});\n\ntype SidebarActionProps = ComponentProps<typeof IconButton>;\n\nexport const SidebarAction = forwardRef(function SidebarAction(\n props: SidebarActionProps,\n ref: Ref<HTMLElement>,\n) {\n return <IconButton small ref={ref} {...props} />;\n});\n","import type { ReactNode } from 'react';\n\nimport { IconButton } from '../Button';\n\ntype VariantType = 'default' | 'info' | 'success' | 'warning' | 'danger';\n\ntype SidebarBannerProps = {\n text?: ReactNode;\n description?: ReactNode;\n onClick?: () => void;\n variant?: VariantType;\n onClose?: () => void;\n children?: ReactNode;\n addon?: ReactNode;\n};\n\nexport const SidebarBanner = ({\n text,\n description,\n onClick,\n variant = 'default',\n addon,\n onClose,\n children,\n}: SidebarBannerProps) => (\n <div\n className={`rcx-box rcx-box--full rcx-sidebar-banner rcx-sidebar-banner--${variant}`}\n >\n <div>\n {text && <div className='rcx-sidebar-banner--text'>{text}</div>}\n {description && (\n <div\n role={onClick ? 'link' : undefined}\n tabIndex={0}\n className={[\n 'rcx-sidebar-banner--description',\n onClick && 'rcx-sidebar-banner--description--clickable',\n ]\n .filter(Boolean)\n .join(' ')}\n onClick={onClick}\n onKeyDown={(e) => e.key === 'Enter' && onClick?.()}\n >\n {description}\n </div>\n )}\n {children}\n </div>\n <div className='rcx-sidebar-banner__actions'>\n {addon}\n {onClose && <IconButton onClick={onClose} tiny icon='cross' />}\n </div>\n </div>\n);\n","import { Divider } from '../Divider';\n\nexport const SidebarDivider = () => (\n <Divider rcx-sidebar--divider mbs={-2} mbe={0} />\n);\n","import type { ReactNode } from 'react';\n\ntype SidebarFooterProps = {\n children?: ReactNode;\n elevated?: boolean;\n};\n\nexport const SidebarFooter = ({ elevated, ...props }: SidebarFooterProps) => (\n <div\n className={[\n 'rcx-box rcx-box--full rcx-sidebar-footer',\n elevated && 'rcx-sidebar-footer--elevated',\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n\ntype SidebarFooterHighlightProps = {\n children?: ReactNode;\n};\n\nexport const SidebarFooterHighlight = ({\n ...props\n}: SidebarFooterHighlightProps) => (\n <div\n className='rcx-box rcx-box--full rcx-sidebar-footer__highlights'\n {...props}\n />\n);\n","import type { ReactNode } from 'react';\n\ntype TopBarProps = {\n children?: ReactNode;\n className?: string;\n};\n\n/**\n * Sidebar TopBar and ToolBox.\n */\nexport const TopBar = ({ className, ...props }: TopBarProps) => (\n <div\n className={['rc-box rc-box--full rcx-sidebar-topbar', className]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { SidebarAction } from '../SidebarActions';\n\ntype TopBarActionProps = ComponentProps<typeof SidebarAction>;\n\nexport const TopBarAction = forwardRef(function TopBarAction(\n props: TopBarActionProps,\n ref: Ref<HTMLElement>,\n) {\n return <SidebarAction ref={ref} {...props} />;\n});\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { SidebarActions } from '../SidebarActions';\n\ntype TopBarActionsProps = ComponentProps<typeof SidebarActions>;\n\nexport const TopBarActions = forwardRef(function TopBarActions(\n props: TopBarActionsProps,\n ref: Ref<HTMLDivElement>,\n) {\n return <SidebarActions ref={ref} {...props} />;\n});\n","import type { ReactNode } from 'react';\n\nimport { SidebarDivider } from '../SidebarDivider';\n\nimport { TopBar } from './TopBar';\nimport { TopBarWrapper } from './TopBarWrapper';\n\ntype TopBarSectionProps = {\n children?: ReactNode;\n className?: string;\n};\n\nexport const TopBarSection = ({\n className,\n children,\n ...props\n}: TopBarSectionProps) => (\n <TopBar\n className={['rcx-sidebar-topbar--section', className]\n .filter(Boolean)\n .join(' ')}\n {...props}\n >\n <TopBarWrapper children={children} />\n <SidebarDivider />\n </TopBar>\n);\n","import type { ReactNode } from 'react';\n\nimport Box from '../../Box';\n\ntype TopBarTitleProps = {\n children?: ReactNode;\n};\n\nexport const TopBarTitle = (props: TopBarTitleProps) => (\n <Box className='rcx-sidebar-topbar__title' withTruncatedText {...props} />\n);\n","import type { ReactNode } from 'react';\n\nimport { SidebarDivider } from '../SidebarDivider';\n\nimport { TopBar } from './TopBar';\nimport { TopBarWrapper } from './TopBarWrapper';\n\ntype TopBarToolBoxProps = {\n children?: ReactNode;\n className?: string;\n};\n\nexport const TopBarToolBox = ({\n children,\n className,\n ...props\n}: TopBarToolBoxProps) => (\n <TopBar\n className={['rcx-sidebar-topbar--toolbox', className]\n .filter(Boolean)\n .join(' ')}\n {...props}\n >\n <TopBarWrapper children={children} />\n <SidebarDivider />\n </TopBar>\n);\n","import type { ReactNode } from 'react';\n\ntype TopBarProps = {\n children?: ReactNode;\n className?: string;\n};\n\nexport const TopBarV2 = ({ className, ...props }: TopBarProps) => (\n <div\n className={[\n 'rc-box rc-box--full rcx-sidebar-topbar-v2 rcx-sidebar-topbar-v2',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n","import type { ReactNode } from 'react';\n\ntype TopBarWrapperProps = {\n children?: ReactNode;\n};\n\nexport const TopBarWrapper = ({ children }: TopBarWrapperProps) => (\n <div\n className='rc-box rc-box--full rcx-sidebar-topbar__wrapper'\n children={children}\n />\n);\n","import { SidebarDivider as TopBarDivider } from '../SidebarDivider';\n\nimport { TopBar } from './TopBar';\nimport { TopBarAction } from './TopBarAction';\nimport { TopBarActions } from './TopBarActions';\nimport { TopBarSection } from './TopBarSection';\nimport { TopBarTitle } from './TopBarTitle';\nimport { TopBarToolBox } from './TopBarToolBox';\nimport { TopBarWrapper } from './TopBarWrapper';\n\nconst Avatar: { size: 'x24' } = { size: 'x24' };\n\nexport const TopBarAvatar = Avatar;\n\nexport default Object.assign(TopBar, {\n /** @deprecated use named import instead */\n Section: TopBarSection,\n /** @deprecated use named import instead */\n ToolBox: TopBarToolBox,\n /** @deprecated use named import instead */\n Wrapper: TopBarWrapper,\n /** @deprecated use named import instead */\n Avatar: TopBarAvatar,\n /** @deprecated use named import instead */\n Actions: TopBarActions,\n /** @deprecated use named import instead */\n Action: TopBarAction,\n /** @deprecated use named import instead */\n Divider: TopBarDivider,\n /** @deprecated use named import instead */\n Title: TopBarTitle,\n});\n\nexport * from './TopBar';\nexport * from './TopBarV2';\nexport * from './TopBarAction';\nexport * from './TopBarActions';\nexport * from './TopBarSection';\nexport * from './TopBarTitle';\nexport * from './TopBarToolBox';\nexport * from './TopBarWrapper';\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\n\nimport SidebarItem from './Item';\nimport SidebarSection from './Section';\nimport { SidebarBanner } from './SidebarBanner';\nimport { SidebarDivider } from './SidebarDivider';\nimport SidebarTopBar from './TopBar';\n\ntype SidebarProps = ComponentProps<typeof Box>;\n\nexport const Sidebar = (props: SidebarProps) => <Box rcx-sidebar {...props} />;\n\nexport default Object.assign(Sidebar, {\n TopBar: SidebarTopBar,\n Item: SidebarItem,\n Section: SidebarSection,\n Divider: SidebarDivider,\n Banner: SidebarBanner,\n});\n\nexport { default as SidebarItem } from './Item';\nexport * from './Item';\nexport { default as SidebarSection } from './Section';\nexport * from './Section';\nexport { default as SidebarTopBar } from './TopBar';\nexport * from './TopBar';\nexport * from './SidebarBanner';\nexport * from './SidebarFooter';\n\nexport { SidebarDivider };\n","import { forwardRef, type HTMLAttributes } from 'react';\n\ntype SidebarProps = { collapsed?: boolean } & HTMLAttributes<HTMLElement>;\n\nexport const Sidebar = forwardRef<HTMLElement, SidebarProps>(\n ({ collapsed, className, ...props }, ref) => (\n <nav\n ref={ref}\n className={[\n 'rcx-box rcx-box--full rcx-sidebar-v2',\n 'rcx-box--animated',\n collapsed && 'rcx-sidebar-v2--collapsed',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n ),\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const SidebarAccordion = ({\n className,\n children,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div\n className={[\n 'rcx-box rcx-box--full rcx-sidebar-v2-accordion rcx-box--animated',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n >\n <div className='rcx-sidebar-v2-accordion__wrapper'>{children}</div>\n </div>\n);\n","import type { HTMLAttributes, ReactNode } from 'react';\n\nimport { Chevron } from '../Chevron';\n\nimport { useCollapse } from './hooks/useCollapse';\n\ntype SidebarAccordionItemProps = {\n children?: ReactNode;\n className?: string;\n defaultExpanded?: boolean;\n disabled?: boolean;\n expanded?: boolean;\n title: ReactNode;\n noncollapsible?: boolean;\n badge?: ReactNode;\n} & HTMLAttributes<HTMLElement>;\n\nexport const SidebarAccordionItem = ({\n children,\n title,\n badge,\n noncollapsible,\n disabled,\n expanded: propExpanded,\n defaultExpanded,\n tabIndex,\n ...props\n}: SidebarAccordionItemProps) => {\n const { barProps, expanded, panelExpanded, panelId, titleId } = useCollapse({\n expanded: propExpanded,\n defaultExpanded,\n tabIndex,\n disabled,\n noncollapsible,\n });\n\n return (\n <section\n className='rcx-box rcx-box--full rcx-sidebar-v2-accordion-item'\n {...props}\n >\n <div\n role='button'\n className={[\n 'rcx-box rcx-box--full rcx-sidebar-v2-accordion-item__bar rcx-box--animated',\n disabled && 'rcx-sidebar-v2-accordion-item__bar--disabled',\n ]\n .filter(Boolean)\n .join(' ')}\n {...barProps}\n >\n {!noncollapsible && (\n <Chevron\n className='rcx-sidebar-v2-accordion-item__chevron'\n size='x16'\n right={!expanded}\n />\n )}\n {title && (\n <h5 className='rcx-sidebar-v2-accordion-item__title' id={titleId}>\n {title}\n </h5>\n )}\n {!expanded && badge && badge}\n </div>\n <div\n className={[\n 'rcx-sidebar-v2-accordion-item__panel',\n 'rcx-box--animated',\n panelExpanded && 'rcx-sidebar-v2-accordion-item__panel--expanded',\n ]\n .filter(Boolean)\n .join(' ')}\n id={panelId}\n >\n {children}\n </div>\n </section>\n );\n};\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { IconButton } from '../Button';\n\ntype SidebarActionProps = ComponentProps<typeof IconButton>;\n\nexport const SidebarAction = forwardRef(function SidebarAction(\n props: SidebarActionProps,\n ref: Ref<HTMLElement>,\n) {\n return <IconButton small ref={ref} {...props} />;\n});\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { ButtonGroup } from '../ButtonGroup';\n\ntype SidebarActionsProps = ComponentProps<typeof ButtonGroup>;\n\nexport const SidebarActions = forwardRef(function SidebarActions(\n props: SidebarActionsProps,\n ref: Ref<HTMLDivElement>,\n) {\n return <ButtonGroup ref={ref} {...props} />;\n});\n","import type { AllHTMLAttributes, ReactNode } from 'react';\n\nimport { IconButton } from '../Button';\n\ntype VariantType = 'default' | 'info' | 'success' | 'warning' | 'danger';\n\ntype SidebarBannerProps = {\n title?: ReactNode;\n linkText?: string;\n linkProps?: AllHTMLAttributes<HTMLAnchorElement>;\n onClick?: () => void;\n variant?: VariantType;\n onClose?: () => void;\n children?: ReactNode;\n addon?: ReactNode;\n};\n\nexport const SidebarBanner = ({\n title,\n linkText,\n linkProps,\n variant = 'default',\n addon,\n onClose,\n children,\n ...props\n}: SidebarBannerProps) => (\n <div\n className={`rcx-box rcx-box--full rcx-sidebar-v2-banner rcx-sidebar-v2-banner--${variant}`}\n {...props}\n >\n <div className='rcx-box rcx-box--full rcx-sidebar-v2-banner__content'>\n {title && (\n <h5 className='rcx-box rcx-box--full rcx-sidebar-v2-banner__title'>\n {title}\n </h5>\n )}\n {linkText && (\n <a\n className='rcx-box rcx-box--full rcx-sidebar-v2-banner__link'\n {...linkProps}\n >\n {linkText}\n </a>\n )}\n {children}\n </div>\n <div className='rcx-box rcx-box--full rcx-sidebar-v2-banner__addon'>\n {addon}\n {onClose && <IconButton onClick={onClose} tiny icon='cross' />}\n </div>\n </div>\n);\n","import type { ComponentProps } from 'react';\n\nimport { ButtonGroup } from '../ButtonGroup';\n\nexport const SidebarButtonGroup = ({\n align = 'end',\n small = true,\n ...props\n}: ComponentProps<typeof ButtonGroup>) => (\n <ButtonGroup align={align} small={small} {...props} />\n);\n","import type { HTMLAttributes, ReactNode } from 'react';\nimport { forwardRef } from 'react';\n\nimport { SidebarGroupTitle } from './SidebarGroupTitle';\nimport { useCollapse } from './hooks/useCollapse';\n\ntype SidebarCollapseGroupProps = {\n expanded?: boolean;\n defaultExpanded?: boolean;\n tabIndex?: number;\n title: string;\n badge?: ReactNode;\n actions?: ReactNode;\n} & HTMLAttributes<HTMLDivElement>;\n\nexport const SidebarCollapseGroup = forwardRef<\n HTMLDivElement,\n SidebarCollapseGroupProps\n>(\n (\n {\n expanded: propExpanded,\n defaultExpanded,\n tabIndex,\n children,\n badge,\n title,\n ...props\n }: SidebarCollapseGroupProps,\n ref,\n ) => {\n const { barProps, expanded, panelExpanded, panelId, titleId } = useCollapse(\n {\n expanded: propExpanded,\n defaultExpanded,\n tabIndex,\n },\n );\n\n return (\n <section\n className='rcx-box rcx-box--full rcx-sidebar-v2-collapse-group'\n {...props}\n >\n <SidebarGroupTitle\n expanded={expanded}\n title={title}\n titleId={titleId}\n badge={badge}\n barProps={barProps}\n role='button'\n />\n <div\n role='list'\n ref={ref}\n className={[\n 'rcx-box rcx-box--full rcx-sidebar-v2-collapse-group__panel rcx-box--animated',\n panelExpanded && 'rcx-sidebar-v2-collapse-group__panel--expanded',\n ]\n .filter(Boolean)\n .join(' ')}\n id={panelId}\n >\n {children}\n </div>\n </section>\n );\n },\n);\n","import { Divider } from '../Divider';\n\nexport const SidebarDivider = () => (\n <Divider rcx-sidebar-v2--divider mbs={-2} mbe={0} />\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const SidebarFooter = ({\n children,\n ...props\n}: HTMLAttributes<HTMLElement>) => (\n <footer className='rcx-sidebar-v2-footer' {...props}>\n {children}\n </footer>\n);\n","import type { ComponentProps } from 'react';\n\nimport Box from '../../Box';\n\nexport const SidebarFooterContent = ({\n children,\n ...props\n}: ComponentProps<typeof Box>) => (\n <Box className='rcx-sidebar-v2-footer__content' {...props}>\n {children}\n </Box>\n);\n","export { SidebarFooter as SidebarV2Footer } from './SidebarFooter';\nexport { SidebarFooterContent as SidebarV2FooterContent } from './SidebarFooterContent';\n","import type { HTMLAttributes } from 'react';\nimport React from 'react';\n\nimport { Chevron } from '../Chevron';\n\ntype SidebarGroupTitleProps = {\n expanded?: boolean;\n title?: string;\n titleId?: string;\n badge?: React.ReactNode;\n barProps?: React.AriaAttributes;\n} & HTMLAttributes<HTMLDivElement>;\nexport const SidebarGroupTitle = ({\n title,\n titleId,\n badge,\n barProps,\n expanded,\n ...props\n}: SidebarGroupTitleProps) => (\n <div\n className={[\n 'rcx-box rcx-box--full',\n 'rcx-sidebar-v2-collapse-group__bar rcx-box--animated',\n ]\n .filter(Boolean)\n .join(' ')}\n {...barProps}\n {...props}\n >\n {expanded !== undefined && <Chevron size='x20' right={!expanded} />}\n {title && (\n <h4\n className='rcx-box rcx-box--full rcx-sidebar-v2-collapse-group__title'\n id={titleId}\n >\n {title}\n </h4>\n )}\n {!expanded && badge && badge}\n </div>\n);\n","import type { AllHTMLAttributes } from 'react';\n\nexport const SidebarItem = ({\n selected,\n className,\n children,\n is: Tag = 'a',\n ...props\n}: {\n selected?: boolean;\n is?: React.ElementType;\n} & AllHTMLAttributes<HTMLAnchorElement>) => (\n <Tag\n className={[\n 'rcx-box rcx-box--full rcx-sidebar-v2-item',\n selected && 'rcx-sidebar-v2-item--selected',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n >\n {children}\n </Tag>\n);\n","import type { Keys as Icons } from '@rocket.chat/icons';\nimport type { HTMLAttributes } from 'react';\n\nimport { Icon } from '../../Icon';\n\nexport const SidebarItemAction = ({\n children,\n className,\n icon = 'plus-small',\n ...props\n}: {\n onClick: (e: Event) => void;\n icon?: Icons;\n} & HTMLAttributes<HTMLDivElement>) => (\n <div\n role='button'\n tabIndex={0}\n className={[\n 'rcx-box rcx-box--full rcx-sidebar-v2-item rcx-sidebar-v2-item__action',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n >\n <Icon name={icon} size='x20' />\n {children}\n </div>\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const SidebarItemAvatarWrapper = ({\n className,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div\n className={['rcx-box rcx-box--full rcx-sidebar-v2-item__avatar', className]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n","import type { ComponentProps } from 'react';\n\nimport { Badge } from '../../Badge';\n\nexport const SidebarItemBadge = ({\n className,\n ...props\n}: ComponentProps<typeof Badge>) => (\n <Badge\n className={['rcx-box rcx-box--full rcx-sidebar-v2-item__badge', className]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const SidebarItemCol = ({\n className,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div\n className={['rcx-box rcx-box--full rcx-sidebar-v2-item__col', className]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const SidebarItemContent = ({\n className,\n unread,\n ...props\n}: { unread?: boolean } & HTMLAttributes<HTMLDivElement>) => (\n <div\n className={[\n 'rcx-box rcx-box--full rcx-sidebar-v2-item__subtitle',\n unread && 'rcx-sidebar-v2-item__subtitle--highlighted',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n","import type { Keys as IconKeys } from '@rocket.chat/icons';\nimport { isValidElement, type ComponentProps, type ReactElement } from 'react';\n\nimport { Icon } from '../../Icon';\n\ntype SidebarItemIconProps = Omit<ComponentProps<typeof Icon>, 'name'> & {\n icon: IconKeys | ReactElement;\n highlighted?: boolean;\n};\n\nexport const SidebarItemIcon = ({\n icon,\n className,\n highlighted,\n ...props\n}: SidebarItemIconProps) => (\n <div\n className={[\n 'rcx-box rcx-box--full rcx-sidebar-v2-item__icon',\n highlighted && 'rcx-sidebar-v2-item__icon--highlighted',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n >\n {isValidElement(icon) ? (\n icon\n ) : (\n <Icon name={icon as IconKeys} size='x20' {...props} />\n )}\n </div>\n);\n","import type { HTMLAttributes } from 'react';\n\nimport { appendClassName } from '../../../helpers/appendClassName';\nimport { patchChildren } from '../../../helpers/patchChildren';\n\nexport const SidebarItemMenu = ({\n children,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div\n className='rcx-box rcx-box--full rcx-sidebar-v2-item__menu-wrapper rcx-box--animated'\n {...props}\n >\n {patchChildren(\n <span className='rcx-box rcx-box--full rcx-sidebar-v2-item__menu'>\n {children}\n </span>,\n (childProps: { className: string | string[] }) => ({\n className: appendClassName(\n childProps.className,\n 'rcx-sidebar-v2-item__menu',\n ),\n }),\n )}\n </div>\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const SidebarItemRow = ({\n className,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div\n className={['rcx-box rcx-box--full rcx-sidebar-v2-item__row', className]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n","import type { ComponentProps } from 'react';\n\nimport { StatusBullet } from '../../StatusBullet';\n\nexport const SidebarItemStatusBullet = (\n props: ComponentProps<typeof StatusBullet>,\n) => (\n <div className='rcx-box rcx-box--full rcx-sidebar-v2-item__status-bullet'>\n <StatusBullet {...props} />\n </div>\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const SidebarItemTimestamp = ({\n className,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div\n className={[\n 'rcx-box rcx-box--full rcx-sidebar-v2-item__timestamp',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const SidebarItemTitle = ({\n className,\n unread,\n ...props\n}: { unread?: boolean } & HTMLAttributes<HTMLDivElement>) => (\n <div\n className={[\n 'rcx-box rcx-box--full rcx-sidebar-v2-item__title',\n unread && 'rcx-sidebar-v2-item__title--highlighted',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n","import type { HTMLAttributes } from 'react';\nimport { forwardRef } from 'react';\n\ntype SidebarListItemProps = {\n selected?: boolean;\n} & HTMLAttributes<HTMLDivElement>;\n\nexport const SidebarListItem = forwardRef<HTMLDivElement, SidebarListItemProps>(\n ({ className, children, ...props }, ref) => (\n <div\n ref={ref}\n role='listitem'\n className={[\n 'rcx-box rcx-box--full rcx-sidebar-item__list-item',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n {...props}\n >\n {children}\n </div>\n ),\n);\n","export { SidebarItem as SidebarV2Item } from './SidebarItem';\nexport { SidebarItemAction as SidebarV2ItemAction } from './SidebarItemAction';\nexport { SidebarItemAvatarWrapper as SidebarV2ItemAvatarWrapper } from './SidebarItemAvatarWrapper';\nexport { SidebarItemBadge as SidebarV2ItemBadge } from './SidebarItemBadge';\nexport { SidebarItemIcon as SidebarV2ItemIcon } from './SidebarItemIcon';\nexport { SidebarItemMenu as SidebarV2ItemMenu } from './SidebarItemMenu';\nexport { SidebarItemTitle as SidebarV2ItemTitle } from './SidebarItemTitle';\nexport { SidebarItemRow as SidebarV2ItemRow } from './SidebarItemRow';\nexport { SidebarItemCol as SidebarV2ItemCol } from './SidebarItemCol';\nexport { SidebarItemTimestamp as SidebarV2ItemTimestamp } from './SidebarItemTimestamp';\nexport { SidebarListItem as SidebarV2ListItem } from './SidebarListItem';\nexport { SidebarItemContent as SidebarV2ItemContent } from './SidebarItemContent';\nexport { SidebarItemStatusBullet as SidebarV2ItemStatusBullet } from './SidebarItemStatusBullet';\n","import type { Keys as Icons } from '@rocket.chat/icons';\nimport type { LinkHTMLAttributes, ReactNode } from 'react';\n\nimport { appendClassName } from '../../helpers/appendClassName';\nimport { patchChildren } from '../../helpers/patchChildren';\nimport { Icon } from '../Icon';\n\nexport const SidebarLink = ({\n selected,\n icon,\n badge,\n menu,\n ...props\n}: {\n selected?: boolean;\n icon?: Icons;\n badge?: ReactNode;\n menu?: ReactNode;\n} & LinkHTMLAttributes<HTMLAnchorElement>) => (\n <a\n role='link'\n tabIndex={0}\n className={[\n 'rcx-box rcx-box--full',\n 'rcx-sidebar-v2-link',\n 'rcx-sidebar-v2-item',\n selected && 'rcx-sidebar-v2-item--selected',\n ]\n .filter(Boolean)\n .join(' ')}\n onClick={(e) => e.stopPropagation()}\n onKeyDown={(e) => e.code === 'Enter' && e.stopPropagation()}\n {...props}\n >\n {icon && (\n <Icon name={icon} size='x20' className='rcx-sidebar-v2-item__icon' />\n )}\n <span className='rcx-box rcx-box--full rcx-sidebar-v2-item__title'>\n {props.children}\n </span>\n {badge}\n {menu &&\n patchChildren(\n <span className='rcx-box rcx-box--full rcx-sidebar-v2-item__menu-wrapper'>\n {menu}\n </span>,\n (childProps: { className: string | string[] }) => ({\n className: appendClassName(\n childProps.className,\n 'rcx-box rcx-box--full rcx-sidebar-v2-item__menu rcx-box--animated',\n ),\n }),\n )}\n </a>\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const SidebarMedia = ({\n className,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div\n className={['rcx-sidebar-v2-media', className].filter(Boolean).join(' ')}\n {...props}\n />\n);\n","import type { HTMLAttributes } from 'react';\n\nimport { SidebarButtonGroup } from '../SidebarButtonGroup';\n\nexport const SidebarMediaController = ({\n className,\n label,\n children,\n ...props\n}: { label?: string } & HTMLAttributes<HTMLDivElement>) => (\n <div\n className={['rcx-sidebar-v2-media__controller', className]\n .filter(Boolean)\n .join(' ')}\n >\n <div className='rcx-sidebar-v2-media__controller__label'>{label}</div>\n <SidebarButtonGroup small align='end' {...props}>\n {children}\n </SidebarButtonGroup>\n </div>\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const SidebarMediaTitle = ({\n className,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div\n className={['rcx-sidebar-v2-media__title', className]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n","export { SidebarMedia as SidebarV2Media } from './SidebarMedia';\nexport { SidebarMediaController as SidebarV2MediaController } from './SidebarMediaController';\nexport { SidebarMediaTitle as SidebarV2MediaTitle } from './SidebarMediaTitle';\n","import type { HTMLAttributes } from 'react';\n\nimport { SidebarDivider } from './SidebarDivider';\n\nexport const SidebarSection = (props: HTMLAttributes<HTMLDivElement>) => (\n <div>\n <div className='rcx-box rcx-box--full rcx-sidebar-v2-section' {...props} />\n <SidebarDivider />\n </div>\n);\n","import { useToggle } from '@rocket.chat/fuselage-hooks';\nimport { useId, type KeyboardEventHandler, type MouseEvent } from 'react';\n\nconst hasPropExpanded = (expanded: boolean | undefined) =>\n expanded !== undefined;\n\nexport const useCollapse = ({\n expanded: propExpanded,\n defaultExpanded,\n disabled,\n noncollapsible,\n tabIndex = 0,\n}: {\n expanded?: boolean;\n defaultExpanded?: boolean;\n disabled?: boolean;\n noncollapsible?: boolean;\n tabIndex?: number;\n}) => {\n const [stateExpanded, toggleStateExpanded] = useToggle(defaultExpanded);\n const expanded = hasPropExpanded(propExpanded) ? propExpanded : stateExpanded;\n\n const panelExpanded = noncollapsible || expanded;\n\n const titleId = useId();\n const panelId = useId();\n\n const handleClick = (e: MouseEvent<HTMLElement>) => {\n if (disabled) {\n return;\n }\n e.currentTarget?.blur();\n toggleStateExpanded();\n };\n\n const handleKeyDown: KeyboardEventHandler = (event) => {\n if (disabled || event.currentTarget !== event.target) {\n return;\n }\n\n if (['Enter', 'Space'].includes(event.code)) {\n event.preventDefault();\n\n if (event.repeat) {\n return;\n }\n\n toggleStateExpanded();\n }\n };\n\n const collapsibleProps = {\n 'aria-controls': panelId,\n 'aria-expanded': expanded ? 'true' : 'false',\n 'tabIndex': !disabled ? tabIndex : undefined,\n 'onClick': handleClick,\n 'onKeyDown': handleKeyDown,\n } as const;\n\n const nonCollapsibleProps = {\n 'aria-disabled': 'true',\n 'aria-expanded': 'true',\n 'aria-labelledby': titleId,\n } as const;\n\n const barProps = noncollapsible ? nonCollapsibleProps : collapsibleProps;\n\n return { barProps, titleId, panelId, panelExpanded, expanded };\n};\n","export { Sidebar as SidebarV2 } from './Sidebar';\nexport { SidebarAccordion as SidebarV2Accordion } from './SidebarAccordion';\nexport { SidebarAccordionItem as SidebarV2AccordionItem } from './SidebarAccordionItem';\nexport { SidebarAction as SidebarV2Action } from './SidebarAction';\nexport { SidebarActions as SidebarV2Actions } from './SidebarActions';\nexport { SidebarLink as SidebarV2Link } from './SidebarLink';\nexport * from './SidebarItem';\nexport { SidebarCollapseGroup as SidebarV2CollapseGroup } from './SidebarCollapseGroup';\nexport { SidebarBanner as SidebarV2Banner } from './SidebarBanner';\nexport * from './SidebarFooter';\nexport * from './SidebarMedia';\nexport { SidebarButtonGroup as SidebarV2ButtonGroup } from './SidebarButtonGroup';\nexport { SidebarSection as SidebarV2Section } from './SidebarSection';\nexport { SidebarDivider as SidebarV2Divider } from './SidebarDivider';\nexport { SidebarGroupTitle as SidebarV2GroupTitle } from './SidebarGroupTitle';\n","import type { HTMLAttributes } from 'react';\n\nexport const Sidepanel = ({\n className,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div\n className={['rcx-sidepanel', className].filter(Boolean).join(' ')}\n {...props}\n />\n);\n","import { Divider } from '../Divider';\n\nexport const SidepanelDivider = () => (\n <Divider rcx-sidepanel--divider mbs={-2} mbe={0} />\n);\n","import type { HTMLAttributes } from 'react';\n\nimport { SidepanelDivider } from './SidepanelDivider';\n\nexport const SidepanelHeader = ({\n className,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div className='rcx-sidepanel-header-wrapper'>\n <div\n className={['rcx-sidepanel-header', className].filter(Boolean).join(' ')}\n {...props}\n />\n <SidepanelDivider />\n </div>\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const SidepanelHeaderTitle = ({\n className,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div\n className={['rcx-sidepanel-header__title', className]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n","import type { HTMLAttributes } from 'react';\nimport { forwardRef } from 'react';\n\nexport const SidepanelList = forwardRef<\n HTMLDivElement,\n HTMLAttributes<HTMLDivElement>\n>(function SidepanelList({ className, ...props }, ref) {\n return (\n <div\n role='list'\n ref={ref}\n className={['rcx-sidepanel-list', className].filter(Boolean).join(' ')}\n {...props}\n />\n );\n});\n","import type { HTMLAttributes } from 'react';\nimport { forwardRef } from 'react';\n\nexport const SidepanelListItem = forwardRef<\n HTMLDivElement,\n HTMLAttributes<HTMLDivElement>\n>(function SidepanelListItem({ className, ...props }, ref) {\n return (\n <div\n role='listitem'\n ref={ref}\n className={['rcx-sidepanel-list__item', className]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n );\n});\n","import type { HTMLAttributes } from 'react';\n\nexport const SidepanelSection = ({\n className,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div\n className={['rcx-sidepanel-section', className].filter(Boolean).join(' ')}\n {...props}\n />\n);\n","import type { HTMLAttributes } from 'react';\n\nexport const SidepanelSectionAction = ({\n className,\n ...props\n}: HTMLAttributes<HTMLDivElement>) => (\n <div\n className={['rcx-sidepanel-section__action', className]\n .filter(Boolean)\n .join(' ')}\n {...props}\n />\n);\n","export * from './Sidepanel';\nexport * from './SidepanelSection';\nexport * from './SidepanelSectionAction';\nexport * from './SidepanelHeaderTitle';\nexport * from './SidepanelHeader';\nexport * from './SidepanelList';\nexport * from './SidepanelListItem';\nexport * from './SidepanelDivider';\n","import { AllHTMLAttributes } from 'react';\n\nimport { cx, cxx } from '../../helpers/composeClassNames';\nimport { StylingBox, StylingBoxProps } from '../Box';\n\ntype SkeletonProps = Omit<StylingBoxProps, 'children'> & {\n variant?: 'text' | 'rect' | 'circle';\n} & AllHTMLAttributes<HTMLSpanElement>;\n\nconst Skeleton = ({ variant = 'text', ...props }: SkeletonProps) => (\n <StylingBox {...props}>\n <span\n className={cx(\n cxx('rcx-skeleton')({\n text: variant === 'text',\n rect: variant === 'rect',\n circle: variant === 'circle',\n }),\n )}\n />\n </StylingBox>\n);\nexport { Skeleton };\n","export * from './Skeleton';\n","import { css } from '@rocket.chat/css-in-js';\nimport type { AriaAttributes, ReactElement } from 'react';\nimport { useMemo, useRef } from 'react';\nimport type { AriaSliderProps } from 'react-aria';\nimport { useNumberFormatter, useSlider } from 'react-aria';\nimport { useSliderState } from 'react-stately';\n\nimport { useStyle } from '../../hooks/useStyle';\n\nimport { SliderHead } from './SliderHead';\nimport { SliderThumb } from './SliderThumb';\nimport { SliderTrack } from './SliderTrack';\n\ntype SliderProps<T extends number | number[]> = AriaAttributes & {\n /**\n * The display format of the value output.\n */\n formatOptions?: Intl.NumberFormatOptions;\n label?: string;\n showOutput?: boolean;\n /**\n * Slider with multiple thumbs.\n * @default false\n */\n multiThumb?: T extends number[] ? true : false;\n step?: number;\n /**\n * @default 0\n */\n minValue?: number;\n /**\n * @default 100\n */\n maxValue?: number;\n orientation?: 'horizontal' | 'vertical';\n disabled?: boolean;\n defaultValue?: T;\n} & (\n | {\n value: T;\n onChange: (value: T) => void;\n }\n | {\n value?: never;\n onChange?: never;\n }\n );\n\nexport function Slider<T extends number | [min: number, max: number]>(\n props: SliderProps<T>,\n): ReactElement {\n const {\n label,\n formatOptions,\n showOutput = true,\n multiThumb,\n maxValue,\n minValue,\n } = props;\n\n // Get a defaultValue in the range for multiThumb\n const getMultiThumbDefaultValue = (): T | undefined => {\n if (multiThumb && !props.defaultValue) {\n if (minValue && maxValue) {\n return [minValue, maxValue] as T;\n }\n if (minValue) {\n return [minValue, 100] as T;\n }\n if (maxValue) {\n return [0, maxValue] as T;\n }\n return [0, 100] as T;\n }\n\n return undefined;\n };\n\n const { defaultValue = getMultiThumbDefaultValue() } = props;\n\n const sliderProps = {\n ...props,\n isDisabled: props.disabled,\n } as AriaSliderProps<number | number[]>;\n\n const trackRef = useRef(null);\n const numberFormatter = useNumberFormatter(formatOptions);\n const sliderState = useSliderState({\n defaultValue,\n ...sliderProps,\n numberFormatter,\n });\n\n const { groupProps, trackProps, labelProps, outputProps } = useSlider(\n sliderProps,\n sliderState,\n trackRef,\n );\n\n const isHorizontal = useMemo(\n () => sliderState.orientation === 'horizontal',\n [sliderState.orientation],\n );\n const isVertical = useMemo(\n () => sliderState.orientation === 'vertical',\n [sliderState.orientation],\n );\n\n const slider = useStyle(\n css`\n display: flex;\n ${isHorizontal &&\n css`\n flex-direction: column;\n width: 100%;\n `};\n ${isVertical &&\n css`\n flex-direction: row-reverse;\n height: 100%;\n `}\n `,\n sliderState,\n );\n\n return (\n <div {...groupProps} className={slider}>\n <SliderHead\n labelProps={labelProps}\n outputProps={outputProps}\n state={sliderState}\n showOutput={showOutput}\n label={label}\n multiThumb={multiThumb}\n />\n <SliderTrack\n state={sliderState}\n trackProps={trackProps}\n trackRef={trackRef}\n multiThumb={multiThumb}\n >\n <SliderThumb index={0} state={sliderState} trackRef={trackRef} />\n {multiThumb && (\n <SliderThumb index={1} state={sliderState} trackRef={trackRef} />\n )}\n </SliderTrack>\n </div>\n );\n}\n","import { css } from '@rocket.chat/css-in-js';\nimport type { LabelHTMLAttributes, OutputHTMLAttributes } from 'react';\nimport type { SliderState } from 'react-stately';\n\nimport { useStyle } from '../../hooks/useStyle';\nimport { Label } from '../Label';\n\ntype SliderHeadProps = {\n state: SliderState;\n labelProps: Omit<LabelHTMLAttributes<HTMLLabelElement>, 'is'>;\n outputProps: Omit<OutputHTMLAttributes<HTMLOutputElement>, 'is'>;\n label?: string;\n showOutput?: boolean;\n multiThumb?: boolean;\n};\nexport const SliderHead = ({\n state,\n labelProps,\n outputProps,\n label,\n showOutput = true,\n multiThumb,\n}: SliderHeadProps) => {\n const labelContainer = useStyle(\n css`\n display: flex;\n justify-content: space-between;\n ${state.orientation === 'vertical' &&\n css`\n flex-direction: column;\n `}\n `,\n null,\n );\n const output = (\n <Label {...(outputProps as any)}>\n {multiThumb ? (\n <Label {...outputProps} data-testid='slider-output'>\n {`${state.getThumbValueLabel(0)} - ${state.getThumbValueLabel(1)}`}\n </Label>\n ) : (\n <Label {...outputProps} data-testid='slider-output'>\n {state.getThumbValueLabel(0)}\n </Label>\n )}\n </Label>\n );\n return (\n <>\n {label ? (\n <div className={labelContainer}>\n <Label {...labelProps}>{label}</Label>\n {showOutput && output}\n </div>\n ) : (\n showOutput && output\n )}\n </>\n );\n};\n","import { css } from '@rocket.chat/css-in-js';\nimport { useRef } from 'react';\nimport {\n mergeProps,\n useFocusRing,\n useSliderThumb,\n VisuallyHidden,\n} from 'react-aria';\n\nimport { Palette } from '../../Theme';\nimport { useStyle } from '../../hooks/useStyle';\n\nexport const SliderThumb = (props: any) => {\n const { state, trackRef, index } = props;\n const inputRef = useRef(null);\n const { thumbProps, inputProps, isDragging } = useSliderThumb(\n {\n index,\n trackRef,\n inputRef,\n },\n state,\n );\n\n const { focusProps, isFocusVisible } = useFocusRing();\n\n const thumb = useStyle(\n css`\n width: 12px;\n height: 12px;\n\n cursor: ${state.isDisabled ? 'not-allowed' : 'pointer'};\n border-radius: 50%;\n background: ${isFocusVisible || isDragging\n ? Palette.text['font-info']\n : Palette.stroke['stroke-highlight']};\n ${state.orientation === 'horizontal'\n ? css`\n top: 50%;\n `\n : css`\n left: 50%;\n `}\n `,\n { isFocusVisible, isDragging },\n );\n return (\n <div {...thumbProps} className={thumb}>\n <VisuallyHidden>\n <input ref={inputRef} {...mergeProps(inputProps, focusProps)} />\n </VisuallyHidden>\n </div>\n );\n};\n","import { css } from '@rocket.chat/css-in-js';\nimport type { DOMAttributes, MutableRefObject, ReactNode } from 'react';\nimport { useMemo } from 'react';\nimport type { SliderState } from 'react-stately';\n\nimport { Palette } from '../../Theme';\nimport { useStyle } from '../../hooks/useStyle';\n\ntype SliderTrackProps = {\n trackProps: DOMAttributes<Element>;\n trackRef: MutableRefObject<null>;\n state: SliderState;\n children: ReactNode;\n multiThumb?: boolean;\n};\n\nconst highlight = Palette.stroke['stroke-highlight'];\nconst light = Palette.stroke['stroke-light'];\n\nexport const SliderTrack = ({\n trackProps,\n trackRef,\n state,\n multiThumb,\n children,\n}: SliderTrackProps) => {\n const isHorizontal = useMemo(\n () => state.orientation === 'horizontal',\n [state.orientation],\n );\n const isVertical = useMemo(\n () => state.orientation === 'vertical',\n [state.orientation],\n );\n\n const getThumbPosition = useMemo(\n () => (value: number) => {\n const maxValue = state.getThumbMaxValue(1) || state.getThumbMaxValue(0);\n const minValue = state.getThumbMinValue(0);\n return (value / (maxValue - minValue)) * 100;\n },\n [state],\n );\n\n const getTrackGradient = () => {\n if (isHorizontal) {\n return multiThumb\n ? `to right, ${light} ${getThumbPosition(\n state.values[0],\n )}%, ${highlight} 0, ${highlight} ${getThumbPosition(\n state.values[1],\n )}%, ${light} 0`\n : `to right, ${highlight} ${getThumbPosition(\n state.values[0],\n )}%, ${light} 0%`;\n }\n\n if (isVertical) {\n return multiThumb\n ? `to top, ${light} ${getThumbPosition(\n state.values[0],\n )}%, ${highlight} 0, ${highlight} ${getThumbPosition(\n state.values[1],\n )}%, ${light} 0`\n : `to top, ${highlight} ${getThumbPosition(\n state.values[0],\n )}%, ${light} 0%`;\n }\n\n return undefined;\n };\n\n const track = useStyle(\n css`\n &::before {\n position: absolute;\n display: block;\n content: '';\n\n background: linear-gradient(${getTrackGradient()});\n transform: translateX(-50%);\n border-radius: 1rem;\n }\n ${isHorizontal &&\n css`\n width: 100%;\n height: 30px;\n &::before {\n top: 50%;\n width: 100%;\n height: 4px;\n transform: translateY(-50%);\n }\n `};\n ${isVertical &&\n css`\n width: 30px;\n height: 100%;\n &::before {\n left: 50%;\n width: 4px;\n height: 100%;\n }\n `};\n ${state.isDisabled &&\n css`\n cursor: not-allowed;\n opacity: 0.4;\n `};\n `,\n state,\n );\n\n return (\n <div {...trackProps} ref={trackRef} className={track}>\n {children}\n </div>\n );\n};\n","export * from './Slider';\n","import type { AllHTMLAttributes, ReactNode } from 'react';\n\ntype StatesProps = {\n children?: ReactNode;\n} & AllHTMLAttributes<HTMLDivElement>;\n\nconst States = ({ children, ...props }: StatesProps) => (\n <div {...props} className='rcx-states'>\n {children}\n </div>\n);\n\nexport default States;\n","import type { ComponentProps } from 'react';\n\nimport { Button } from '..';\n\ntype StatesActionProps = ComponentProps<typeof Button>;\n\nconst StatesAction = ({ primary = true, ...props }: StatesActionProps) => (\n <Button {...props} primary={primary} />\n);\n\nexport default StatesAction;\n","import type { ComponentProps } from 'react';\n\nimport { ButtonGroup } from '../ButtonGroup';\n\ntype StatesActionsProps = ComponentProps<typeof ButtonGroup>;\n\nconst StatesActions = (props: StatesActionsProps) => <ButtonGroup {...props} />;\n\nexport default StatesActions;\n","import type { ComponentProps } from 'react';\n\nimport { Icon } from '../Icon';\n\ntype StatesIconProps = {\n variation?: 'danger' | 'success' | 'warning' | 'primary';\n} & ComponentProps<typeof Icon>;\n\nconst StatesIcon = ({ variation, ...props }: StatesIconProps) => (\n <Icon\n {...props}\n rcx-states__icon\n className={variation && `rcx-states__icon--${variation}`}\n size='x32'\n />\n);\n\nexport default StatesIcon;\n","import type { AllHTMLAttributes, ComponentProps } from 'react';\n\nimport Box from '../Box/Box';\n\ntype StatesLinkProps = ComponentProps<typeof Box> &\n AllHTMLAttributes<HTMLAnchorElement>;\n\nconst StatesLink = (props: StatesLinkProps) => (\n <Box is='a' rcx-states__link {...props} />\n);\n\nexport default StatesLink;\n","import type { AllHTMLAttributes, ReactNode } from 'react';\n\ntype StatesSubtitleProps = {\n children?: ReactNode;\n} & AllHTMLAttributes<HTMLDivElement>;\n\nconst StatesSubtitle = ({ children, ...props }: StatesSubtitleProps) => (\n <div {...props} className='rcx-states__subtitle'>\n {children}\n </div>\n);\n\nexport default StatesSubtitle;\n","import type { ReactNode, AllHTMLAttributes } from 'react';\n\ntype StatesSuggestionProps = {\n children?: ReactNode;\n} & AllHTMLAttributes<HTMLDivElement>;\n\nconst StatesSuggestion = ({ children, ...props }: StatesSuggestionProps) => (\n <div {...props} className='rcx-states__suggestion'>\n {children}\n </div>\n);\n\nexport default StatesSuggestion;\n","import type { AllHTMLAttributes, ReactNode } from 'react';\n\ntype StatesSuggestionListProps = {\n children?: ReactNode;\n} & AllHTMLAttributes<HTMLUListElement>;\n\nconst StatesSuggestionList = ({\n children,\n ...props\n}: StatesSuggestionListProps) => (\n <ul {...props} className='rcx-states__list'>\n {children}\n </ul>\n);\n\nexport default StatesSuggestionList;\n","import type { AllHTMLAttributes, ReactNode } from 'react';\n\ntype StatesSuggestionListItemProps = {\n children?: ReactNode;\n} & AllHTMLAttributes<HTMLLIElement>;\n\nconst StatesSuggestionListItem = ({\n children,\n ...props\n}: StatesSuggestionListItemProps) => (\n <li {...props} className='rcx-states__list-item'>\n <span className='rcx-states__list-item-wrapper'>{children}</span>\n </li>\n);\n\nexport default StatesSuggestionListItem;\n","import type { AllHTMLAttributes, ReactNode } from 'react';\n\ntype StatesSuggestionTextProps = {\n children?: ReactNode;\n} & AllHTMLAttributes<HTMLDivElement>;\n\nconst StatesSuggestionText = ({\n children,\n ...props\n}: StatesSuggestionTextProps) => (\n <div {...props} className='rcx-states__suggestion-text'>\n {children}\n </div>\n);\n\nexport default StatesSuggestionText;\n","import type { AllHTMLAttributes, ReactNode } from 'react';\n\ntype StatesTitleProps = {\n children?: ReactNode;\n} & AllHTMLAttributes<HTMLHeadingElement>;\n\nconst StatesTitle = ({ children, ...props }: StatesTitleProps) => (\n <h3 {...props} className='rcx-states__title'>\n {children}\n </h3>\n);\n\nexport default StatesTitle;\n","import States from './States';\nimport StatesAction from './StatesAction';\nimport StatesActions from './StatesActions';\nimport StatesIcon from './StatesIcon';\nimport StatesLink from './StatesLink';\nimport StatesSubtitle from './StatesSubtitle';\nimport StatesSuggestion from './StatesSuggestion';\nimport StatesSuggestionList from './StatesSuggestionList';\nimport StatesSuggestionListItem from './StatesSuggestionListItem';\nimport StatesSuggestionText from './StatesSuggestionText';\nimport StatesTitle from './StatesTitle';\n\nexport {\n States,\n StatesAction,\n StatesActions,\n StatesIcon,\n StatesLink,\n StatesSubtitle,\n StatesSuggestion,\n StatesSuggestionList,\n StatesSuggestionListItem,\n StatesSuggestionText,\n StatesTitle,\n};\n","import type { AllHTMLAttributes } from 'react';\n\nimport Away from './icons/Away';\nimport Busy from './icons/Busy';\nimport Disabled from './icons/Disabled';\nimport Loading from './icons/Loading';\nimport Offline from './icons/Offline';\nimport Online from './icons/Online';\n\nexport type StatusBulletProps = {\n status?: 'loading' | 'online' | 'busy' | 'away' | 'offline' | 'disabled';\n size?: 'small' | 'large';\n} & Omit<AllHTMLAttributes<SVGElement>, 'size'>;\n\n/**\n * The `StatusBullet` is used to inform the user status.\n */\nconst StatusBullet = ({ status = 'loading', ...props }: StatusBulletProps) => {\n switch (status) {\n case 'online':\n return <Online {...props} />;\n case 'away':\n return <Away {...props} />;\n case 'busy':\n return <Busy {...props} />;\n case 'disabled':\n return <Disabled {...props} />;\n case 'offline':\n return <Offline {...props} />;\n default:\n return <Loading {...props} />;\n }\n};\nexport { StatusBullet };\n","import type { StatusBulletProps } from '../StatusBullet';\n\nconst Away = ({ size, className, ...props }: StatusBulletProps) => (\n <svg\n {...props}\n width='10'\n height='10'\n viewBox='0 0 10 10'\n className={`rcx-status-bullet rcx-status-bullet--away ${className} ${\n size === 'small' ? 'rcx-status-bullet--small' : ''\n }`}\n xmlns='http://www.w3.org/2000/svg'\n >\n <path\n fillRule='evenodd'\n clipRule='evenodd'\n d='M5.13337 9.93325C7.78434 9.93325 9.93338 7.78422 9.93338 5.13325C9.93338 2.48229 7.78434 0.333252 5.13337 0.333252C2.48241 0.333252 0.333374 2.48229 0.333374 5.13325C0.333374 7.78422 2.48241 9.93325 5.13337 9.93325ZM5.80004 2.33325C5.80004 1.96506 5.50156 1.66659 5.13337 1.66659C4.76518 1.66659 4.46671 1.96506 4.46671 2.33325V5.13325V5.45367L4.71691 5.65383L6.71691 7.25383C7.00442 7.48384 7.42395 7.43722 7.65395 7.14972C7.88396 6.86221 7.83735 6.44268 7.54984 6.21267L5.80004 4.81284V2.33325Z'\n />\n </svg>\n);\n\nexport default Away;\n","import type { StatusBulletProps } from '../StatusBullet';\n\nconst Busy = ({ size, className, ...props }: StatusBulletProps) => (\n <svg\n {...props}\n width='10'\n height='10'\n viewBox='0 0 10 10'\n className={`rcx-status-bullet rcx-status-bullet--busy ${className} ${\n size === 'small' ? 'rcx-status-bullet--small' : ''\n }`}\n xmlns='http://www.w3.org/2000/svg'\n >\n <path\n fillRule='evenodd'\n clipRule='evenodd'\n d='M5.13337 9.93325C7.78434 9.93325 9.93338 7.78422 9.93338 5.13325C9.93338 2.48229 7.78434 0.333252 5.13337 0.333252C2.48241 0.333252 0.333374 2.48229 0.333374 5.13325C0.333374 7.78422 2.48241 9.93325 5.13337 9.93325ZM3.53338 4.46655C3.16519 4.46655 2.86671 4.76503 2.86671 5.13322C2.86671 5.50141 3.16519 5.79989 3.53338 5.79989H6.73338C7.10157 5.79989 7.40004 5.50141 7.40004 5.13322C7.40004 4.76503 7.10157 4.46655 6.73338 4.46655H3.53338Z'\n />\n </svg>\n);\n\nexport default Busy;\n","import type { StatusBulletProps } from '../StatusBullet';\n\nconst Disabled = ({ size, className, ...props }: StatusBulletProps) => (\n <svg\n {...props}\n width='24'\n height='24'\n viewBox='0 0 24 24'\n className={`rcx-status-bullet rcx-status-bullet--disabled ${className} ${\n size === 'small' ? 'rcx-status-bullet--small' : ''\n }`}\n xmlns='http://www.w3.org/2000/svg'\n >\n <path\n fillRule='evenodd'\n clipRule='evenodd'\n d='M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24ZM13.3367 5.33333C13.3367 4.59695 12.7398 4 12.0034 4C11.267 4 10.67 4.59695 10.67 5.33333V14.6667C10.67 15.403 11.267 16 12.0034 16C12.7398 16 13.3367 15.403 13.3367 14.6667V5.33333ZM13.3367 18.6667C13.3367 17.9303 12.7398 17.3333 12.0034 17.3333C11.267 17.3333 10.67 17.9303 10.67 18.6667C10.67 19.403 11.267 20 12.0034 20C12.7398 20 13.3367 19.403 13.3367 18.6667Z'\n />\n </svg>\n);\n\nexport default Disabled;\n","import type { StatusBulletProps } from '../StatusBullet';\n\nconst Loading = ({ size, className, ...props }: StatusBulletProps) => (\n <svg\n {...props}\n width='12'\n height='12'\n viewBox='0 0 12 12'\n fill='none'\n xmlns='http://www.w3.org/2000/svg'\n className={`rcx-status-bullet rcx-status-bullet--loading ${className} ${\n size === 'small' ? 'rcx-status-bullet--small' : ''\n }`}\n >\n <circle\n cx='6'\n cy='6'\n r='5'\n className='rcx-status-bullet rcx-status-bullet--loading'\n strokeWidth='2'\n strokeDasharray='2 2'\n />\n </svg>\n);\n\nexport default Loading;\n","import type { StatusBulletProps } from '../StatusBullet';\n\nconst Offline = ({ size, className, ...props }: StatusBulletProps) => (\n <svg\n {...props}\n width='12'\n height='12'\n viewBox='0 0 12 12'\n fill='none'\n xmlns='http://www.w3.org/2000/svg'\n className={`rcx-status-bullet rcx-status-bullet--offline ${className} ${\n size === 'small' ? 'rcx-status-bullet--small' : ''\n }`}\n >\n <circle\n cx='6'\n cy='6'\n r='5'\n className={`rcx-status-bullet rcx-status-bullet--offline`}\n strokeWidth='2'\n />\n </svg>\n);\n\nexport default Offline;\n","import type { StatusBulletProps } from '../StatusBullet';\n\nconst Online = ({ size, className, ...props }: StatusBulletProps) => (\n <svg\n {...props}\n width='24'\n height='24'\n viewBox='0 0 24 24'\n className={`rcx-status-bullet rcx-status-bullet--online ${className} ${\n size === 'small' ? 'rcx-status-bullet--small' : ''\n }`}\n xmlns='http://www.w3.org/2000/svg'\n >\n <path d='M24 12.0001C24 18.6275 18.6274 24.0001 12 24.0001C5.37255 24.0001 -3.05176e-05 18.6275 -3.05176e-05 12.0001C-3.05176e-05 5.37271 5.37255 0.00012207 12 0.00012207C18.6274 0.00012207 24 5.37271 24 12.0001Z' />\n </svg>\n);\n\nexport default Online;\n","export * from './StatusBullet';\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\n\nexport type TableProps = ComponentProps<typeof Box> & {\n striped?: boolean;\n sticky?: boolean;\n fixed?: boolean;\n};\n\nexport const Table = ({\n striped,\n sticky,\n fixed = false,\n ...props\n}: TableProps) => (\n <Box rcx-table__wrapper>\n <Box\n is='table'\n rcx-table\n rcx-table--fixed={fixed}\n rcx-table--sticky={sticky}\n rcx-table--striped={striped}\n {...props}\n />\n </Box>\n);\n","import Box from '../Box';\n\nimport type { TableProps } from './Table';\n\ntype TableBodyProps = TableProps;\n\nexport const TableBody = (props: TableBodyProps) => (\n <Box is='tbody' rcx-table__body {...props} />\n);\n","import { useContext } from 'react';\n\nimport Box from '../Box';\n\nimport type { TableProps } from './Table';\nimport { TableHeadContext } from './TableHead';\n\ntype TableCellProps = TableProps & {\n align?: 'start' | 'center' | 'end' | 'justify' | object;\n clickable?: boolean;\n};\n\nexport const TableCell = ({\n align,\n clickable,\n children,\n ...props\n}: TableCellProps) => {\n const isInsideHead = useContext(TableHeadContext);\n\n const innerElement =\n children ??\n (!isInsideHead ? (\n <Box display='inline-block' is='hr' width='x14' borderWidth={1} />\n ) : undefined);\n\n return (\n <Box\n is={isInsideHead ? 'th' : 'td'}\n rcx-table__cell\n rcx-table__cell--align={align}\n rcx-table__cell--header={isInsideHead}\n rcx-table__cell--clickable={clickable}\n children={innerElement}\n {...props}\n />\n );\n};\n","import Box from '../Box';\n\nimport type { TableProps } from './Table';\n\ntype TableFootProps = TableProps;\n\nexport const TableFoot = (props: TableFootProps) => (\n <Box is='tfoot' rcx-table__foot {...props} />\n);\n","import { createContext } from 'react';\n\nimport Box from '../Box';\n\nimport type { TableProps } from './Table';\n\nexport const TableHeadContext = createContext(false);\n\ntype TableHeadProps = TableProps;\n\nexport const TableHead = (props: TableHeadProps) => (\n <TableHeadContext.Provider value={true}>\n <Box is='thead' rcx-table__head {...props} />\n </TableHeadContext.Provider>\n);\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\n\ntype TableRowProps = Omit<ComponentProps<typeof Box>, 'action'> & {\n action?: boolean;\n hasAction?: boolean;\n};\n\nexport const TableRow = ({ action, selected, ...props }: TableRowProps) => (\n <Box\n is='tr'\n rcx-table__row\n rcx-table__row--selected={selected}\n rcx-table__row--action={action}\n {...props}\n />\n);\n","import type { ComponentProps } from 'react';\n\nimport Box from '../../Box';\nimport Margins from '../../Margins';\n\ntype TableSelectionProps = ComponentProps<typeof Box> & {\n text?: string;\n};\n\nexport const TableSelection = ({\n children,\n text,\n ...props\n}: TableSelectionProps) => (\n <Box\n rcx-table__selection\n display='flex'\n alignItems='center'\n justifyContent='space-between'\n pi={24}\n elevation='2'\n {...props}\n >\n <Box fontScale='p2b' mb={16} flexShrink={1} withTruncatedText>\n {text}\n </Box>\n {children && (\n <Box mi='neg-x8' fontScale='p2m' flexShrink={0}>\n <Margins inline='x4'>{children}</Margins>\n </Box>\n )}\n </Box>\n);\n","import type { ComponentProps } from 'react';\n\nimport { Button } from '../../Button';\n\ntype TableSelectionButtonProps = ComponentProps<typeof Button>;\n\nexport const TableSelectionButton = (props: TableSelectionButtonProps) => (\n <Button small flexShrink={0} {...props} />\n);\n","import type { ComponentProps } from 'react';\n\nimport { ButtonGroup } from '../../ButtonGroup';\n\nexport const TableSelectionButtonGroup = (\n props: ComponentProps<typeof ButtonGroup>,\n) => <ButtonGroup {...props} />;\n","export * from './TableSelection';\nexport * from './TableSelectionButton';\nexport * from './TableSelectionButtonGroup';\n","export * from './Table';\nexport * from './TableBody';\nexport * from './TableCell';\nexport * from './TableFoot';\nexport * from './TableHead';\nexport * from './TableRow';\nexport * from './TableSelection';\n","import type { ComponentProps } from 'react';\n\nimport Box from '../Box';\n\nimport { TabsItem } from './TabsItem';\n\ntype TabsProps = ComponentProps<typeof Box> & { divider?: boolean };\n\n/**\n * Tabs is a component to navigate around the UI using buttons arranged together with the selected tab highlighted.\n */\nexport function Tabs({ children, divider = true, ...props }: TabsProps) {\n return (\n <Box is='div' rcx-tabs rcx-tabs--with-divider={divider} {...props}>\n <Box is='div' rcx-tabs__scroll-box>\n <Box is='div' rcx-tabs__wrapper children={children} role='tablist' />\n </Box>\n </Box>\n );\n}\n\n/** @deprecated use named export TabsItem instead */\nTabs.Item = TabsItem;\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\ntype TabsItemProps = ComponentProps<typeof Box> & {\n selected?: boolean;\n disabled?: boolean;\n};\n\nexport const TabsItem = forwardRef(function TabsItem(\n { selected, disabled, ...props }: TabsItemProps,\n ref: Ref<HTMLButtonElement>,\n) {\n return (\n <Box\n is='button'\n rcx-tabs__item\n rcx-tabs__item--selected={selected}\n rcx-tabs__item--disabled={disabled}\n rcx-tabs__item--selected--disabled={selected && disabled}\n aria-selected={selected ? 'true' : 'false'}\n ref={ref}\n role='tab'\n {...props}\n />\n );\n});\n","export * from './Tabs';\nexport * from './TabsItem';\n","import type { AllHTMLAttributes, ReactNode } from 'react';\n\nimport { prependClassName } from '../../helpers/prependClassName';\nimport Box from '../Box/Box';\n\ntype TagProps = {\n medium?: boolean;\n large?: boolean;\n variant?:\n | 'primary'\n | 'secondary'\n | 'danger'\n | 'warning'\n | 'secondary-danger'\n | 'featured';\n disabled?: boolean;\n icon?: ReactNode;\n} & Omit<AllHTMLAttributes<HTMLSpanElement | HTMLAnchorElement>, 'is'>;\n\n/**\n * Used for mentions\n */\nexport const Tag = ({\n large,\n medium,\n className,\n disabled,\n onClick,\n variant,\n children,\n icon,\n href,\n ...props\n}: TagProps) => {\n const modifiers = [\n variant,\n medium && 'medium',\n large && 'large',\n disabled && 'disabled',\n onClick && 'clickable',\n href && 'clickable',\n ]\n .filter(Boolean)\n .map((modifier) => `rcx-tag--${modifier}`)\n .join(' ');\n\n return (\n <Box\n is={href ? 'a' : 'span'}\n className={prependClassName(className as string, `rcx-tag ${modifiers}`)}\n onClick={onClick}\n href={href}\n {...props}\n >\n {icon}\n <span className='rcx-tag__inner'>{children}</span>\n </Box>\n );\n};\n","export * from './Tag';\n","import type { ComponentProps, ReactNode, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { InputBox } from '../InputBox';\n\ntype TelephoneInputProps = Omit<ComponentProps<typeof InputBox>, 'type'> & {\n addon?: ReactNode;\n input?: ReactNode;\n error?: string;\n};\n\n/**\n * An input for telephone numbers.\n */\nexport const TelephoneInput = forwardRef(function TelephoneInput(\n props: TelephoneInputProps,\n ref: Ref<HTMLInputElement>,\n) {\n return <InputBox type='tel' ref={ref} {...props} />;\n});\n","export * from './TelephoneInput';\n","import type { ComponentProps, ReactNode, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { InputBox } from '../InputBox';\n\ntype TextAreaInputProps = Omit<ComponentProps<typeof InputBox>, 'type'> & {\n addon?: ReactNode;\n error?: string;\n};\n\n/**\n * An input for multi-line plain-text editing.\n */\nexport const TextAreaInput = forwardRef(function TextAreaInput(\n props: TextAreaInputProps,\n ref: Ref<HTMLTextAreaElement>,\n) {\n return <InputBox type='textarea' ref={ref} {...props} />;\n});\n","export * from './TextAreaInput';\n","import type { ComponentProps, ReactNode, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { InputBox } from '../InputBox';\n\nexport type TextInputProps = Omit<ComponentProps<typeof InputBox>, 'type'> & {\n addon?: ReactNode;\n error?: string;\n};\n\n/**\n * An input for any kind of single-line text.\n */\nexport const TextInput = forwardRef(function TextInput(\n props: TextInputProps,\n ref: Ref<HTMLInputElement>,\n) {\n return <InputBox type='text' ref={ref} {...props} />;\n});\n","export * from './TextInput';\n","import { css } from '@rocket.chat/css-in-js';\nimport type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\ntype ThrobberProps = Omit<ComponentProps<typeof Box>, 'disabled'> & {\n circleCount?: number;\n disabled?: boolean;\n inheritColor?: boolean;\n};\n\ntype CircleProps = {\n circleCount: number;\n iteration: number;\n inheritColor?: boolean;\n disabled?: boolean;\n} & Pick<ComponentProps<typeof Box>, 'size'>;\n\nfunction Circle({\n disabled,\n circleCount,\n iteration,\n inheritColor,\n ...props\n}: CircleProps) {\n return (\n <Box\n is='span'\n className={css`\n animation-duration: ${circleCount * 0.466}s;\n animation-delay: ${iteration * 0.16}s;\n `}\n rcx-throbber__circle\n rcx-throbber__circle--disabled={disabled}\n rcx-throbber__circle--inherit-color={inheritColor}\n {...props}\n />\n );\n}\n\n/**\n * Indicates content that has not loaded yet.\n */\nexport const Throbber = forwardRef(function Throbber(\n {\n disabled,\n size = 'x16',\n circleCount = 3,\n inheritColor,\n ...props\n }: ThrobberProps,\n ref: Ref<HTMLElement>,\n) {\n return (\n <Box rcx-throbber ref={ref} {...props}>\n {Array.from({ length: circleCount || 3 }, (_, iteration) => (\n <Circle\n key={iteration}\n circleCount={circleCount}\n iteration={iteration}\n disabled={!!disabled}\n size={size}\n inheritColor={!!inheritColor}\n />\n ))}\n </Box>\n );\n});\n","export * from './Throbber';\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\ntype TileProps = ComponentProps<typeof Box>;\n\nconst Tile = forwardRef(function Tile(\n { elevation = '1', padding = 16, ...props }: TileProps,\n ref: Ref<HTMLElement>,\n) {\n return (\n <Box\n ref={ref}\n rcx-tile\n rcx-tile--elevation={elevation}\n padding={padding}\n {...props}\n />\n );\n});\n\nexport default Tile;\n","export { default } from './Tile';\n","import { css, keyframes } from '@rocket.chat/css-in-js';\nimport { type ReactNode, type AllHTMLAttributes, useId } from 'react';\n\nimport Box from '../Box';\nimport { IconButton } from '../Button';\nimport { Icon } from '../Icon';\n\nexport type ToastBarProps = {\n variant?: 'info' | 'success' | 'error';\n className?: string;\n children?: ReactNode;\n time?: number;\n isPaused?: boolean;\n id?: string;\n onClose?: (id: string) => void;\n buttonLabel?: string;\n} & Omit<AllHTMLAttributes<HTMLElement>, 'is'>;\n\n/**\n * Shows alerts in a toast component.\n */\nexport function ToastBar({\n children,\n className = '',\n variant = 'info',\n time = 5,\n isPaused,\n id,\n onClose,\n buttonLabel = 'Dismiss alert',\n ...props\n}: ToastBarProps) {\n const iconName =\n (variant === 'success' && 'circle-check') ||\n (variant === 'error' && 'ban') ||\n 'info';\n\n const sideOpen = keyframes`\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n `;\n\n const progressBar = keyframes`\n from {\n width: 0%;\n }\n\n to {\n width: 100%;\n }\n `;\n\n const toastBarAnimation = css`\n animation: ${sideOpen} 0.5s;\n `;\n\n const progressBarAnimation = css`\n &::after {\n width: 0%;\n animation: ${progressBar} ${time}s;\n animation-fill-mode: forwards;\n animation-play-state: ${isPaused ? 'paused' : 'running'};\n }\n `;\n\n const uniqueId = useId();\n const toastId = id || uniqueId;\n\n return (\n <Box\n className={[\n `rcx-toastbar rcx-toastbar--${variant} ${className}`,\n toastBarAnimation,\n ]}\n elevation='2nb'\n borderRadius='x4'\n {...props}\n >\n <div className='rcx-toastbar_inner'>\n <Icon\n className={`rcx-toastbar_icon--${variant}`}\n size='x20'\n name={iconName}\n />\n <div role='alert' className='rcx-toastbar_content'>\n {children}\n </div>\n {onClose && (\n <div className='rcx-toastbar-close'>\n <IconButton\n tiny\n aria-label={buttonLabel}\n onClick={() => onClose(toastId)}\n icon='cross'\n />\n </div>\n )}\n </div>\n <Box className={[progressBarAnimation, 'rcx-toastbar_progressbar']} />\n </Box>\n );\n}\n","export * from './ToastBar';\n","import type { AllHTMLAttributes, ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\nexport const ToggleSwitch = forwardRef(function ToggleSwitch(\n {\n className,\n ...props\n }: ComponentProps<typeof Box> & AllHTMLAttributes<HTMLInputElement>,\n ref: Ref<HTMLInputElement>,\n) {\n return (\n <Box is='label' className={className} rcx-toggle-switch>\n <Box\n is='input'\n ref={ref}\n rcx-toggle-switch__input\n type='checkbox'\n {...props}\n />\n <Box is='i' rcx-toggle-switch__fake aria-hidden='true' />\n </Box>\n );\n});\n","export * from './ToggleSwitch';\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport Box from '../Box';\n\nconst parsePlacement = (placement: string | null | undefined) => {\n const [direction, position] = placement\n ? placement.split('-')\n : [false, false];\n\n if (direction === 'right' || direction === 'left') {\n return [direction, false];\n }\n\n return [direction, position];\n};\n\ntype TooltipProps = ComponentProps<typeof Box> & {\n variation?: 'dark' | 'light';\n placement?:\n | 'top-start'\n | 'top-middle'\n | 'top-end'\n | 'bottom-start'\n | 'bottom-middle'\n | 'bottom-end'\n | 'top'\n | 'left'\n | 'bottom'\n | 'right'\n | null;\n};\n\nconst Tooltip = forwardRef(function Tooltip(\n { variation = 'dark', placement, ...props }: TooltipProps,\n ref: Ref<HTMLElement>,\n) {\n const [direction, position] = parsePlacement(placement);\n\n return (\n <Box\n is='div'\n ref={ref}\n rcx-tooltip\n rcx-tooltip--dir={direction}\n rcx-tooltip--pos={position}\n rcx-tooltip--light={variation === 'light'}\n rcx-tooltip--dark={variation === 'dark'}\n {...props}\n />\n );\n});\n\nexport default Tooltip;\n","export { default } from './Tooltip';\n","import type { ComponentProps, Ref } from 'react';\nimport { forwardRef } from 'react';\n\nimport { InputBox } from '../InputBox';\n\ntype UrlInputProps = Omit<ComponentProps<typeof InputBox>, 'type'>;\n\nconst UrlInput = forwardRef(function UrlInput(\n props: UrlInputProps,\n ref: Ref<HTMLElement>,\n) {\n return <InputBox type='url' ref={ref} {...props} />;\n});\n\nexport default UrlInput;\n","export { default } from './UrlInput';\n","export * from './Accordion';\nexport { default as AnimatedVisibility } from './AnimatedVisibility';\nexport * from './AudioPlayer';\nexport * from './AutoComplete';\nexport * from './Avatar';\nexport * from './Badge';\nexport { default as Banner } from './Banner';\nexport { default as Box } from './Box';\nexport { useArrayLikeClassNameProp } from '../hooks/useArrayLikeClassNameProp';\nexport { default as Button, ActionButton, IconButton } from './Button';\nexport * from './Bubble';\nexport * from './ButtonGroup';\nexport * from './Callout';\nexport * from './Card';\nexport * from './CardGroup';\nexport * from './CardGrid';\nexport * from './CheckBox';\nexport * from './Chevron';\nexport { default as CodeSnippet } from './CodeSnippet';\nexport * from './Contextualbar';\nexport * from './ContextualbarV2';\nexport { default as Chip } from './Chip';\nexport * from './Divider';\nexport * from './Dropdown';\nexport * from './EmailInput';\nexport { default as Field } from './Field';\nexport * from './Field';\nexport * from './FieldGroup';\nexport * from './FramedIcon';\nexport { default as Flex } from './Flex';\nexport * from './Grid';\nexport * from './Icon';\nexport * from './InputBox';\nexport * from './Label';\nexport { default as Margins } from './Margins';\nexport * from './Menu';\nexport { default as Message } from './Message';\nexport * from './Message';\nexport * from './Modal';\nexport * from './MultiSelect';\nexport * from './NavBar';\nexport * from './NumberInput';\nexport { default as Options } from './Options';\nexport * from './Options';\nexport { default as Option } from './Option';\nexport * from './Option';\nexport * from './Pagination';\nexport * from './PaletteStyleTag';\nexport { default as PasswordInput } from './PasswordInput';\nexport * from './StatusBullet';\nexport { default as Position } from './Position';\nexport { default as PositionAnimated } from './PositionAnimated';\nexport * from './ProgressBar';\nexport * from './RadioButton';\nexport { default as Scrollable } from './Scrollable';\nexport * from './SearchInput';\nexport * from './Select';\nexport * from './Slider';\nexport * from './PaginatedSelect';\nexport * from './Popover';\nexport * from './SelectInput';\nexport { default as Sidebar } from './Sidebar';\nexport * from './Sidebar';\nexport * from './Sidepanel';\nexport * from './SidebarV2';\nexport * from './Skeleton';\nexport * from './States';\nexport * from './Table';\nexport * from './Tabs';\nexport * from './Tag';\nexport * from './TelephoneInput';\nexport * from './TextAreaInput';\nexport * from './TextInput';\nexport * from './Throbber';\nexport { default as Tile } from './Tile';\nexport * from './ToastBar';\nexport * from './ToggleSwitch';\nexport { default as Tooltip } from './Tooltip';\nexport { default as UrlInput } from './UrlInput';\n","import tokenColors from '@rocket.chat/fuselage-tokens/colors.json';\nimport invariant from 'invariant';\n\nconst isPaletteColorRef = (ref: unknown): ref is keyof typeof tokenColors =>\n typeof ref === 'string' && ref in tokenColors;\n\nconst mapTypeToPrefix = {\n neutral: 'n',\n blue: 'b',\n green: 'g',\n yellow: 'y',\n red: 'r',\n orange: 'o',\n purple: 'p',\n} as const;\n\nexport const getPaletteColor = (\n type: keyof typeof mapTypeToPrefix,\n grade: 100 | 200 | 250 | 300 | 400 | 450 | 500 | 600 | 700 | 800 | 900 | 1000,\n alpha?: number,\n): [customPropertyName: string, value: string] => {\n const ref = `${mapTypeToPrefix[type]}${grade}`;\n invariant(isPaletteColorRef(ref), 'invalid color reference');\n\n const baseColor = tokenColors[ref];\n\n const matches = /^#([0-9A-Fa-f]{2})([0-9A-Fa-f]{2})([0-9A-Fa-f]{2})$/.exec(\n baseColor,\n );\n\n invariant(!!matches, 'invalid color token format');\n\n if (alpha !== undefined) {\n const [, r, g, b] = matches;\n return [\n `--rcx-color-${type}-${grade}-${(alpha * 100).toFixed(0)}`,\n `rgba(${parseInt(r, 16)}, ${parseInt(g, 16)}, ${parseInt(b, 16)}, ${\n alpha * 100\n }%)`,\n ];\n }\n\n return [`--rcx-color-${type}-${grade}`, baseColor];\n};\n","import type { Context, ReactElement } from 'react';\nimport { useContext } from 'react';\n\ntype WithErrorWrapperProps<T> = {\n context: Context<T>;\n children: ReactElement;\n componentName: string;\n parentComponent: 'Field';\n};\n\nfunction WithErrorWrapper<T>({\n context,\n componentName,\n children,\n parentComponent,\n}: WithErrorWrapperProps<T>) {\n const isInsideParent = useContext(context);\n if (!isInsideParent) {\n throw new Error(\n `${componentName} should be used as children of ${parentComponent} Component`,\n );\n }\n\n return children;\n}\n\nexport default WithErrorWrapper;\n","type R<T> = T extends void ? string : T extends string ? string : string[];\n\nexport const appendClassName = <T extends string | string[] | undefined>(\n currentClassName: T,\n newClassName: string,\n): R<T> => {\n if (currentClassName === undefined || currentClassName === '') {\n return newClassName as R<T>;\n }\n\n if (Array.isArray(currentClassName)) {\n return [...currentClassName, newClassName] as R<T>;\n }\n\n return `${currentClassName} ${newClassName}` as R<T>;\n};\n","import { Falsy } from '../types/Falsy';\n\nimport { exhaustiveCheck } from './exhaustiveCheck';\n\nconst withPrefix = (prefix?: string) => (modifier: string) =>\n prefix ? `${prefix}--${modifier}` : modifier;\n\nexport const composeClassNames =\n (prefix?: string) =>\n (...args: unknown[]) => {\n const addPrefix = withPrefix(prefix);\n\n const classNames = args\n .map((arg) => {\n if (typeof arg === 'string') {\n return arg;\n }\n\n if (typeof arg === 'object' && Array.isArray(arg)) {\n return arg.filter(Boolean).map(addPrefix).join(' ');\n }\n\n if (typeof arg === 'object' && arg !== null) {\n return Object.entries(arg)\n .map(([key, value]) => {\n if (typeof value === 'boolean') {\n if (value) {\n return addPrefix(key);\n }\n\n return null;\n }\n\n if (typeof value === 'string' || typeof value === 'number') {\n return addPrefix(`${key}-${value}`);\n }\n\n return null;\n })\n .filter(Boolean)\n .join(' ');\n }\n\n return null;\n })\n .concat()\n .filter(Boolean)\n .join(' ');\n\n return [prefix, classNames].filter(Boolean).join(' ');\n };\n\ntype CxArg =\n | Falsy\n | string\n | { [className: string]: boolean | string | number };\n\n/**\n * Composes class names into a single string based on flags.\n *\n * Any falsy value passed as an argument will be ignored.\n *\n * If a string is passed, it will be used as a class name.\n *\n * If a dictionary object is passed, its keys will be used as class names and its values will be used as modifiers --\n * unless the value is a boolean, in which case the key will be used as a class name if the value is `true`.\n *\n * @example\n * ```ts\n * cx('a', false, 'b', null, { c: true, d: false, e: 'f', f: 1 }); // 'a b c e-f f-1'\n * ```\n *\n * @param args a sequence of falsy values, strings and dictionary objects containing the class names\n * @returns a space-separated string of class names\n */\nexport const cx = (...args: CxArg[]): string =>\n args\n .flatMap((arg) => {\n if (!arg) {\n return [];\n }\n\n if (typeof arg === 'string') {\n return arg;\n }\n\n if (typeof arg === 'object') {\n return Object.entries(arg).flatMap(([className, value]) => {\n if (typeof value === 'boolean') {\n return value ? className : [];\n }\n\n return `${className}-${value}`;\n });\n }\n\n return exhaustiveCheck(arg);\n })\n .join(' ');\n\n/**\n * Composes class name modifiers under a class name into a single class names' string based on flags.\n *\n * This function returns a function similar to `cx`, with the difference it handles the arguments as class name\n * modifiers (based on BEM CSS conventions). However, it's recommended to use `cxx` as a curried function.\n *\n * @example\n * ```ts\n * cxx('z')('a', false, 'b', null, { c: true, d: false, e: 'f', f: 1 }); // 'z z--a z--b z--c z--e-f z--f-1'\n * ```\n * @param className the class name\n * @param args a sequence of falsy values, strings and dictionary objects containing the modifiers\n * @returns a space-separated string of class names\n */\nexport const cxx =\n (className: string) =>\n (...args: CxArg[]): string => {\n const classNames = args.flatMap((arg) => {\n if (!arg) {\n return [];\n }\n\n if (typeof arg === 'string') {\n return `${className}--${arg}`;\n }\n\n if (typeof arg === 'object') {\n return Object.entries(arg).flatMap(([modifier, value]) => {\n if (typeof value === 'boolean') {\n return value ? `${className}--${modifier}` : [];\n }\n\n return `${className}--${modifier}-${value}`;\n });\n }\n\n return exhaustiveCheck(arg);\n });\n\n classNames.unshift(className);\n\n return classNames.join(' ');\n };\n","/**\n * Utility function to check exhaustiveness of a switch statement or if-else statements.\n *\n * In TypeScript, variables going through a sequence of conditionals, like cases in switch statements or if-else\n * statements, the variable type is incrementally narrowed as the conditionals are evaluated until it reaches the\n * `never` type, meaning all possible cases have been covered. This function is used to check, at compilation time, that\n * all possible cases have been covered (i.e. if the conditional checks were exhaustive) and should only be called in\n * unreachable blocks of code.\n *\n * @example\n * ```ts\n * declare const value: 'foo' | 'bar';\n * switch (value) {\n * case 'foo':\n * // ...\n * break;\n * case 'bar':\n * // ...\n * break;\n * default: // should be unreachable\n * exhaustiveCheck(value); // `value` type should be `never`, otherwise the compilation fails\n * }\n * ```\n *\n * @param _ the value which type should be `never`\n * @throws {Error} will always throw an error if it's reached\n */\nexport const exhaustiveCheck = (_: never): never => {\n throw new Error('Exhaustive check failed');\n};\n","export { default as flattenChildren } from 'react-keyed-flatten-children';\n","export const fromCamelToKebab = (string: string) =>\n string.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, '$1-$2').toLowerCase();\n","import type { ForwardRefExoticComponent } from 'react';\n\nexport const isForwardRefType = <P = any>(\n type: any,\n): type is ForwardRefExoticComponent<P> =>\n type.$$typeof === Symbol.for('react.forward_ref');\n","import type { ReactNode, Attributes } from 'react';\nimport { cloneElement, isValidElement } from 'react';\n\nimport { flattenChildren } from './flattenChildren';\nimport { shallowEqual } from './shallowEqual';\n\nexport const patchChildren = <TProps>(\n children: ReactNode,\n patch: (props: TProps) => TProps & Attributes,\n) => {\n let dirty = false;\n\n const newChildren = flattenChildren(children).map((child) => {\n if (!isValidElement<TProps>(child)) {\n return child;\n }\n\n const mergedProps = patch(child.props);\n\n if (shallowEqual(child.props, mergedProps)) {\n return child;\n }\n\n dirty = true;\n return cloneElement(child, mergedProps);\n });\n\n if (dirty) {\n return newChildren;\n }\n\n return children;\n};\n","const isStringArray = (\n value: string | string[] | undefined,\n): value is string[] => Array.isArray(value);\n\nexport const prependClassName: {\n (currentClassName: string[] | undefined, newClassName: string): string[];\n (currentClassName: string | undefined, newClassName: string): string;\n} = (\n currentClassName: string | string[] | undefined,\n newClassName: string,\n): any => {\n if (isStringArray(currentClassName)) {\n return [newClassName, ...currentClassName];\n }\n\n if (currentClassName) {\n return `${newClassName} ${currentClassName}`;\n }\n\n return newClassName;\n};\n","import type { SyntheticEvent } from 'react';\n\nexport const prevent = (event: SyntheticEvent) => {\n event.preventDefault();\n event.stopPropagation();\n event.nativeEvent.stopImmediatePropagation();\n};\n","const isObject = (\n value: unknown,\n): value is Record<string | number | symbol, unknown> =>\n typeof value === 'object' && value !== null;\n\nconst compareObjects = (\n a: Record<string | number | symbol, unknown>,\n b: Record<string | number | symbol, unknown>,\n) => {\n const keysA = Object.keys(a);\n const keysB = Object.keys(b);\n\n if (keysA.length !== keysB.length) {\n return false;\n }\n\n return !keysA.some((key) => !b.hasOwnProperty(key) || a[key] !== b[key]);\n};\n\nexport const shallowEqual = (a: unknown, b: unknown) => {\n if (a === b) {\n return true;\n }\n\n if (Number.isNaN(a) && Number.isNaN(b)) {\n return true;\n }\n\n if (!isObject(a) || !isObject(b)) {\n return false;\n }\n\n return compareObjects(a, b);\n};\n","import { cssSupports } from '@rocket.chat/css-supports';\n\nconst cssSupportsVariable = cssSupports('(--foo: bar)');\n\ntype cssToValueType = <T extends string | { toString: () => string }>(\n label: string,\n value: T,\n) => string;\nexport const toCSSValue: cssToValueType = cssSupportsVariable\n ? (((label, value) => `var(${label}, ${value})`) as cssToValueType)\n : (((_label, value) => value) as cssToValueType);\n\nexport const toCSSFontValue = ((label: string, value: string) =>\n toCSSValue(`--rcx-font-family-${label}`, value)) as cssToValueType;\nexport const toCSSColorValue = ((label: string, value: string) =>\n toCSSValue(`--rcx-color-${label}`, value)) as cssToValueType;\n","import type { cssFn } from '@rocket.chat/css-in-js';\nimport { css } from '@rocket.chat/css-in-js';\n\nimport { appendClassName } from '../helpers/appendClassName';\nimport type { Falsy } from '../types/Falsy';\n\nimport { useStyle } from './useStyle';\n\nexport const useArrayLikeClassNameProp = <\n T extends {\n className?: string | cssFn | (string | cssFn | Falsy)[];\n },\n>(\n props: T,\n): T & { className: string } => {\n const classNames = props.className\n ? ([] as (string | cssFn | Falsy)[]).concat(props.className)\n : [];\n\n const cssFns = classNames.filter(\n (value): value is cssFn => typeof value === 'function',\n );\n const stylesClassName = useStyle(\n css`\n ${cssFns}\n `,\n props,\n );\n\n const strings = classNames.filter(\n (value): value is string => typeof value === 'string',\n );\n\n const className = strings.reduce(\n (className, string) => appendClassName(className, string),\n stylesClassName || '',\n );\n\n return Object.assign(props, { className });\n};\n","import type { AllHTMLAttributes } from 'react';\n\nimport { prependClassName } from '../helpers/prependClassName';\n\nexport const useBoxOnlyProps = <\n T extends {\n className: string;\n },\n>(\n props: T & {\n animated?: boolean;\n withRichContent?: boolean | 'inlineWithoutBreaks';\n htmlSize?: AllHTMLAttributes<HTMLElement>['size'];\n size?: AllHTMLAttributes<HTMLElement>['size'];\n focusable?: boolean;\n },\n): T => {\n Object.entries(props).forEach(([key, value]) => {\n if (key.slice(0, 4) === 'rcx-') {\n try {\n if (!value) {\n return;\n }\n\n const newClassName = value === true ? key : `${key}-${value}`;\n props.className = prependClassName(props.className, newClassName);\n } finally {\n delete (props as Record<string, unknown>)[key];\n }\n }\n });\n\n if (props.animated) {\n props.className = prependClassName(props.className, 'rcx-box--animated');\n delete props.animated;\n }\n\n if (props.withRichContent) {\n if (props.withRichContent === 'inlineWithoutBreaks') {\n props.className = prependClassName(\n props.className,\n 'rcx-box--with-inline-elements',\n );\n } else {\n props.className = prependClassName(\n props.className,\n 'rcx-box--with-inline-elements',\n );\n\n props.className = prependClassName(\n props.className,\n 'rcx-box--with-block-elements',\n );\n }\n }\n\n if (props.htmlSize) {\n props.size = props.htmlSize;\n delete props.htmlSize;\n }\n\n if (props.focusable) {\n props.className = prependClassName(props.className, 'rcx-box--focusable');\n delete props.focusable;\n }\n\n delete props.withRichContent;\n\n props.className = prependClassName(props.className, 'rcx-box rcx-box--full');\n\n return props;\n};\n","import type { cssFn } from '@rocket.chat/css-in-js';\nimport {\n createClassName,\n escapeName,\n transpile,\n attachRules,\n} from '@rocket.chat/css-in-js';\nimport { useDebugValue, useInsertionEffect, useMemo } from 'react';\n\nexport const useStyle = (cssFn: cssFn | undefined, arg: unknown) => {\n const content = useMemo(() => (cssFn ? cssFn(arg) : undefined), [arg, cssFn]);\n\n const className = useMemo(() => {\n if (!content) {\n return;\n }\n\n return content ? createClassName(content) : undefined;\n }, [content]);\n\n useDebugValue(className);\n\n useInsertionEffect(() => {\n if (!content || !className) {\n return;\n }\n\n const escapedClassName = escapeName(className);\n const transpiledContent = transpile(`.${escapedClassName}`, content);\n const detach = attachRules(transpiledContent);\n\n return () => {\n setTimeout(detach, 1000);\n };\n }, [className, content]);\n\n return className;\n};\n","// extracted by mini-css-extract-plugin\nexport {};","import './index.scss';\n\nexport * from './components';\nexport * from './styleTokens';\n\nexport { Palette, __setThrowErrorOnInvalidToken__ } from './Theme';\n","import tokenTypography from '@rocket.chat/fuselage-tokens/typography.json';\nimport { memoize } from '@rocket.chat/memo';\nimport invariant from 'invariant';\n\nimport {\n isStatusBackgroundColor,\n isStatusColor,\n isStrokeColor,\n isSurfaceColor,\n isTextIconColor,\n neutral,\n statusBackgroundColors,\n strokeColors,\n surfaceColors,\n textIconColors,\n statusColors,\n throwErrorOnInvalidToken,\n isBadgeColor,\n badgeBackgroundColors,\n} from './Theme';\nimport { getPaletteColor } from './getPaletteColor';\nimport {\n toCSSColorValue,\n toCSSFontValue,\n toCSSValue,\n} from './helpers/toCSSValue';\n\nconst measure = (\n computeSpecialValue?: (value: string) => null | undefined | string,\n) =>\n memoize((value) => {\n if (typeof value === 'number') {\n return `${value}px`;\n }\n\n if (typeof value !== 'string') {\n return undefined;\n }\n\n const xRegExp = /^(neg-|-)?x(\\d+)$/;\n const matches = xRegExp.exec(value);\n if (matches) {\n const [, negativeMark, measureInPixelsAsString] = matches;\n const measureInPixels =\n (negativeMark ? -1 : 1) * parseInt(measureInPixelsAsString, 10);\n return `${measureInPixels / 16}rem`;\n }\n\n if (computeSpecialValue) {\n return computeSpecialValue(value) || value;\n }\n\n return value;\n });\n\nexport const borderWidth = measure((value: unknown) => {\n if (value === 'none') {\n return '0px';\n }\n if (value === 'default') {\n return borderWidth('x1');\n }\n\n return undefined;\n});\n\nexport const borderRadius = measure((value: unknown) => {\n if (value === 'none') {\n return '0px';\n }\n\n if (value === 'full') {\n return '9999px';\n }\n\n return undefined;\n});\n\nconst mapTypeToPrefix = {\n neutral: 'n',\n blue: 'b',\n green: 'g',\n yellow: 'y',\n red: 'r',\n orange: 'o',\n purple: 'p',\n} as const;\n\nconst isPaletteColorType = (\n type: unknown,\n): type is keyof typeof mapTypeToPrefix =>\n typeof type === 'string' && type in mapTypeToPrefix;\n\nconst isPaletteColorGrade = (\n grade: unknown,\n): grade is 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 =>\n typeof grade === 'number' &&\n grade % 100 === 0 &&\n grade / 100 >= 1 &&\n grade / 100 <= 9;\n\nconst isPaletteColorAlpha = (alpha: unknown): alpha is number | undefined =>\n alpha === undefined ||\n (typeof alpha === 'number' && alpha >= 0 && alpha <= 1);\n\nconst paletteColorRegex =\n /^(neutral|blue|green|yellow|red|orange|purple)-(\\d+)(-(\\d+))?$/;\n\nexport const strokeColor = memoize((value) => {\n const colorName = `stroke-${value}`;\n if (isStrokeColor(colorName)) {\n return strokeColors[colorName].toString();\n }\n return color(value);\n});\n\nexport const backgroundColor = memoize((value) => {\n const colorName = `surface-${value}`;\n\n if (isSurfaceColor(value)) {\n return surfaceColors[value].toString();\n }\n\n if (isSurfaceColor(colorName)) {\n return surfaceColors[colorName].toString();\n }\n\n if (isStatusBackgroundColor(value)) {\n return statusBackgroundColors[value].toString();\n }\n\n if (isStatusColor(value)) {\n if (\n process.env.NODE_ENV !== 'production' &&\n process.env.NODE_ENV !== 'test'\n ) {\n console.warn(`${value} shouldn't be used as a backgroundColor.`);\n }\n return statusColors[value].toString();\n }\n\n if (isBadgeColor(value)) {\n return badgeBackgroundColors[value].toString();\n }\n\n return color(value);\n});\n\nexport const fontColor = memoize((value) => {\n const colorName = `font-${value}`;\n if (isTextIconColor(colorName)) {\n return textIconColors[colorName].toString();\n }\n if (isStatusColor(value)) {\n return statusColors[value].toString();\n }\n return color(value);\n});\n\n/** @deprecated **/\nexport const color = memoize((value) => {\n if (typeof value !== 'string') {\n return;\n }\n if (\n process.env.NODE_ENV !== 'production' &&\n process.env.NODE_ENV !== 'test'\n ) {\n console.warn(`invalid color: ${value}`, new Error().stack);\n }\n if (throwErrorOnInvalidToken) {\n throw new Error(\n `The color token \"${value}\" is deprecated. Please use the new color tokens instead.`,\n );\n }\n\n if (isSurfaceColor(value)) {\n return surfaceColors[value].toString();\n }\n\n if (isStatusBackgroundColor(value)) {\n return statusBackgroundColors[value].toString();\n }\n\n if (isStrokeColor(value)) {\n return strokeColors[value].toString();\n }\n if (isTextIconColor(value)) {\n return textIconColors[value].toString();\n }\n\n if (value === 'surface' || value === 'surface-light') {\n return surfaceColors['surface-light'].toString();\n }\n\n if (value === 'surface-tint') {\n return toCSSColorValue(value, neutral[100]);\n }\n\n if (value === 'secondary-info') {\n return toCSSColorValue(value, neutral[700]);\n }\n\n if (value === 'surface-neutral') {\n return toCSSColorValue(value, neutral[400]);\n }\n\n const paletteMatches = paletteColorRegex.exec(String(value));\n if (\n typeof paletteMatches?.length === 'number' &&\n paletteMatches?.length >= 5\n ) {\n const [, type, gradeString, , alphaString] = paletteMatches;\n const grade = parseInt(gradeString, 10);\n const alpha =\n alphaString !== undefined ? parseInt(alphaString, 10) / 100 : undefined;\n\n invariant(isPaletteColorType(type), 'invalid color type');\n invariant(isPaletteColorGrade(grade), 'invalid color grade');\n invariant(isPaletteColorAlpha(alpha), 'invalid color alpha');\n\n const [customProperty, color] = getPaletteColor(type, grade, alpha);\n\n if (customProperty) {\n return toCSSValue(customProperty, color);\n }\n\n return color;\n }\n return value;\n});\n\nexport const size = measure((value: unknown) => {\n if (value === 'none') {\n return '0px';\n }\n\n if (value === 'full') {\n return '100%';\n }\n\n if (value === 'sw') {\n return '100vw';\n }\n\n if (value === 'sh') {\n return '100vh';\n }\n\n return undefined;\n});\n\nexport const inset = measure((value: unknown) => {\n if (value === 'none') {\n return '0px';\n }\n\n return undefined;\n});\n\nexport const margin = measure((value: unknown) => {\n if (value === 'none') {\n return '0px';\n }\n\n return undefined;\n});\n\nexport const padding = measure((value: unknown) => {\n if (value === 'none') {\n return '0px';\n }\n\n return undefined;\n});\n\ntype FontFamily = keyof typeof tokenTypography.fontFamilies;\n\nconst isFontFamily = (value: unknown): value is FontFamily =>\n typeof value === 'string' && value in tokenTypography.fontFamilies;\n\nexport const fontFamily = memoize((value: unknown): string | undefined => {\n if (!isFontFamily(value)) {\n return undefined;\n }\n\n const fontFamily = tokenTypography.fontFamilies[value]\n .map((fontFace) => (fontFace.includes(' ') ? `'${fontFace}'` : fontFace))\n .join(', ');\n\n return toCSSFontValue(value, fontFamily);\n});\n\ntype FontScale = keyof typeof tokenTypography.fontScales;\n\nconst isFontScale = (value: unknown): value is FontScale =>\n typeof value === 'string' && value in tokenTypography.fontScales;\n\nexport const fontScale = memoize(\n (\n value: unknown,\n ):\n | {\n fontSize: string;\n fontWeight: number;\n lineHeight: string;\n letterSpacing: string;\n }\n | undefined => {\n if (!isFontScale(value)) {\n return undefined;\n }\n\n const { fontSize, fontWeight, lineHeight, letterSpacing } =\n tokenTypography.fontScales[value];\n\n return {\n fontSize: `${fontSize / 16}rem`,\n fontWeight,\n lineHeight: `${lineHeight / 16}rem`,\n letterSpacing: `${letterSpacing / 16}rem`,\n };\n },\n);\n","module.exports = __WEBPACK_EXTERNAL_MODULE__rocket_chat_css_in_js__;","module.exports = __WEBPACK_EXTERNAL_MODULE__rocket_chat_css_supports__;","module.exports = __WEBPACK_EXTERNAL_MODULE__rocket_chat_fuselage_hooks__;","module.exports = __WEBPACK_EXTERNAL_MODULE__rocket_chat_icons__;","module.exports = __WEBPACK_EXTERNAL_MODULE__rocket_chat_memo__;","module.exports = __WEBPACK_EXTERNAL_MODULE_react__;","module.exports = __WEBPACK_EXTERNAL_MODULE_react_aria__;","module.exports = __WEBPACK_EXTERNAL_MODULE_react_dom__;","module.exports = __WEBPACK_EXTERNAL_MODULE_react_stately__;","module.exports = __WEBPACK_EXTERNAL_MODULE_react_virtuoso__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(\"./src/index.ts\");\n",""],"names":[],"sourceRoot":""}