{"version":3,"file":"Breadcrumbs.cjs","names":["_SvgIcon","require","breadcrumbsComponents","odysseyTokens","MuiBreadcrumbs","styleOverrides","li","theme","fontSize","TypographySizeSubordinate","svgIconClasses","root","width","Spacing3","paddingInline","Spacing1","borderRadius","BorderRadiusTight","color","TypographyColorSubordinate","display","gap","paddingBlock","transition","transitions","create","duration","TransitionDurationMain","easing","TransitionTimingMain","backgroundColor","HueNeutral100","TypographyColorBody","outlineWidth","outlineStyle","outlineColor","PalettePrimaryMain","outlineOffset","separator","BorderColorDisplay","fontWeight","TypographyWeightBodyBold","marginInlineStart","marginInlineEnd","exports"],"sources":["../../../../src/theme/components/Breadcrumbs.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport type { ThemeOptions } from \"@mui/material\";\n\nimport { svgIconClasses } from \"@mui/material/SvgIcon\";\n\nimport type { GetComponentsProps } from \"./types.js\";\n\nexport const breadcrumbsComponents = ({\n  odysseyTokens,\n}: GetComponentsProps): Pick<\n  NonNullable<ThemeOptions[\"components\"]>,\n  \"MuiBreadcrumbs\"\n> => ({\n  MuiBreadcrumbs: {\n    styleOverrides: {\n      li: ({ theme }) => ({\n        fontSize: odysseyTokens.TypographySizeSubordinate,\n\n        [`& .${svgIconClasses.root}`]: {\n          width: odysseyTokens.Spacing3,\n        },\n\n        \"& > p\": {\n          paddingInline: odysseyTokens.Spacing1,\n        },\n\n        \"& > a, & > button\": {\n          borderRadius: odysseyTokens.BorderRadiusTight,\n          color: odysseyTokens.TypographyColorSubordinate,\n          display: \"flex\",\n          gap: odysseyTokens.Spacing1,\n          paddingInline: odysseyTokens.Spacing1,\n          paddingBlock: 2,\n          transition: theme.transitions.create([\"color\", \"background-color\"], {\n            duration: odysseyTokens.TransitionDurationMain,\n            easing: odysseyTokens.TransitionTimingMain,\n          }),\n\n          \"&:hover\": {\n            backgroundColor: odysseyTokens.HueNeutral100,\n            color: odysseyTokens.TypographyColorBody,\n          },\n\n          \"&:focus-visible\": {\n            outlineWidth: 2,\n            outlineStyle: \"solid\",\n            outlineColor: odysseyTokens.PalettePrimaryMain,\n            outlineOffset: -2,\n          },\n        },\n      }),\n      separator: {\n        color: odysseyTokens.BorderColorDisplay,\n        fontSize: odysseyTokens.TypographySizeSubordinate,\n        fontWeight: odysseyTokens.TypographyWeightBodyBold,\n        marginInlineStart: 6,\n        marginInlineEnd: 4,\n      },\n    },\n  },\n});\n"],"mappings":";;;;;;AAcA,IAAAA,QAAA,GAAAC,OAAA;AAdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAQO,MAAMC,qBAAqB,GAAGA,CAAC;EACpCC;AACkB,CAAC,MAGf;EACJC,cAAc,EAAE;IACdC,cAAc,EAAE;MACdC,EAAE,EAAEA,CAAC;QAAEC;MAAM,CAAC,MAAM;QAClBC,QAAQ,EAAEL,aAAa,CAACM,yBAAyB;QAEjD,CAAC,MAAMC,uBAAc,CAACC,IAAI,EAAE,GAAG;UAC7BC,KAAK,EAAET,aAAa,CAACU;QACvB,CAAC;QAED,OAAO,EAAE;UACPC,aAAa,EAAEX,aAAa,CAACY;QAC/B,CAAC;QAED,mBAAmB,EAAE;UACnBC,YAAY,EAAEb,aAAa,CAACc,iBAAiB;UAC7CC,KAAK,EAAEf,aAAa,CAACgB,0BAA0B;UAC/CC,OAAO,EAAE,MAAM;UACfC,GAAG,EAAElB,aAAa,CAACY,QAAQ;UAC3BD,aAAa,EAAEX,aAAa,CAACY,QAAQ;UACrCO,YAAY,EAAE,CAAC;UACfC,UAAU,EAAEhB,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