{"ast":null,"code":"const genStickyStyle = token => {\n  const {\n    componentCls,\n    opacityLoading,\n    tableScrollThumbBg,\n    tableScrollThumbBgHover,\n    tableScrollThumbSize,\n    tableScrollBg,\n    zIndexTableSticky,\n    stickyScrollBarBorderRadius\n  } = token;\n  const tableBorder = `${token.lineWidth}px ${token.lineType} ${token.tableBorderColor}`;\n  return {\n    [`${componentCls}-wrapper`]: {\n      [`${componentCls}-sticky`]: {\n        '&-holder': {\n          position: 'sticky',\n          zIndex: zIndexTableSticky,\n          background: token.colorBgContainer\n        },\n        '&-scroll': {\n          position: 'sticky',\n          bottom: 0,\n          height: `${tableScrollThumbSize}px !important`,\n          zIndex: zIndexTableSticky,\n          display: 'flex',\n          alignItems: 'center',\n          background: tableScrollBg,\n          borderTop: tableBorder,\n          opacity: opacityLoading,\n          '&:hover': {\n            transformOrigin: 'center bottom'\n          },\n          // fake scrollbar style of sticky\n          '&-bar': {\n            height: tableScrollThumbSize,\n            backgroundColor: tableScrollThumbBg,\n            borderRadius: stickyScrollBarBorderRadius,\n            transition: `all ${token.motionDurationSlow}, transform none`,\n            position: 'absolute',\n            bottom: 0,\n            '&:hover, &-active': {\n              backgroundColor: tableScrollThumbBgHover\n            }\n          }\n        }\n      }\n    }\n  };\n};\nexport default genStickyStyle;","map":{"version":3,"names":["genStickyStyle","token","componentCls","opacityLoading","tableScrollThumbBg","tableScrollThumbBgHover","tableScrollThumbSize","tableScrollBg","zIndexTableSticky","stickyScrollBarBorderRadius","tableBorder","lineWidth","lineType","tableBorderColor","position","zIndex","background","colorBgContainer","bottom","height","display","alignItems","borderTop","opacity","transformOrigin","backgroundColor","borderRadius","transition","motionDurationSlow"],"sources":["/Users/chrishaack/UC_Trains_Voice/react-demo/node_modules/antd/es/table/style/sticky.js"],"sourcesContent":["const genStickyStyle = token => {\n  const {\n    componentCls,\n    opacityLoading,\n    tableScrollThumbBg,\n    tableScrollThumbBgHover,\n    tableScrollThumbSize,\n    tableScrollBg,\n    zIndexTableSticky,\n    stickyScrollBarBorderRadius\n  } = token;\n  const tableBorder = `${token.lineWidth}px ${token.lineType} ${token.tableBorderColor}`;\n  return {\n    [`${componentCls}-wrapper`]: {\n      [`${componentCls}-sticky`]: {\n        '&-holder': {\n          position: 'sticky',\n          zIndex: zIndexTableSticky,\n          background: token.colorBgContainer\n        },\n        '&-scroll': {\n          position: 'sticky',\n          bottom: 0,\n          height: `${tableScrollThumbSize}px !important`,\n          zIndex: zIndexTableSticky,\n          display: 'flex',\n          alignItems: 'center',\n          background: tableScrollBg,\n          borderTop: tableBorder,\n          opacity: opacityLoading,\n          '&:hover': {\n            transformOrigin: 'center bottom'\n          },\n          // fake scrollbar style of sticky\n          '&-bar': {\n            height: tableScrollThumbSize,\n            backgroundColor: tableScrollThumbBg,\n            borderRadius: stickyScrollBarBorderRadius,\n            transition: `all ${token.motionDurationSlow}, transform none`,\n            position: 'absolute',\n            bottom: 0,\n            '&:hover, &-active': {\n              backgroundColor: tableScrollThumbBgHover\n            }\n          }\n        }\n      }\n    }\n  };\n};\nexport default genStickyStyle;"],"mappings":"AAAA,MAAMA,cAAc,GAAGC,KAAK,IAAI;EAC9B,MAAM;IACJC,YAAY;IACZC,cAAc;IACdC,kBAAkB;IAClBC,uBAAuB;IACvBC,oBAAoB;IACpBC,aAAa;IACbC,iBAAiB;IACjBC;EACF,CAAC,GAAGR,KAAK;EACT,MAAMS,WAAW,GAAI,GAAET,KAAK,CAACU,SAAU,MAAKV,KAAK,CAACW,QAAS,IAAGX,KAAK,CAACY,gBAAiB,EAAC;EACtF,OAAO;IACL,CAAE,GAAEX,YAAa,UAAS,GAAG;MAC3B,CAAE,GAAEA,YAAa,SAAQ,GAAG;QAC1B,UAAU,EAAE;UACVY,QAAQ,EAAE,QAAQ;UAClBC,MAAM,EAAEP,iBAAiB;UACzBQ,UAAU,EAAEf,KAAK,CAACgB;QACpB,CAAC;QACD,UAAU,EAAE;UACVH,QAAQ,EAAE,QAAQ;UAClBI,MAAM,EAAE,CAAC;UACTC,MAAM,EAAG,GAAEb,oBAAqB,eAAc;UAC9CS,MAAM,EAAEP,iBAAiB;UACzBY,OAAO,EAAE,MAAM;UACfC,UAAU,EAAE,QAAQ;UACpBL,UAAU,EAAET,aAAa;UACzBe,SAAS,EAAEZ,WAAW;UACtBa,OAAO,EAAEpB,cAAc;UACvB,SAAS,EAAE;YACTqB,eAAe,EAAE;UACnB,CAAC;UACD;UACA,OAAO,EAAE;YACPL,MAAM,EAAEb,oBAAoB;YAC5BmB,eAAe,EAAErB,kBAAkB;YACnCsB,YAAY,EAAEjB,2BAA2B;YACzCkB,UAAU,EAAG,OAAM1B,KAAK,CAAC2B,kBAAmB,kBAAiB;YAC7Dd,QAAQ,EAAE,UAAU;YACpBI,MAAM,EAAE,CAAC;YACT,mBAAmB,EAAE;cACnBO,eAAe,EAAEpB;YACnB;UACF;QACF;MACF;IACF;EACF,CAAC;AACH,CAAC;AACD,eAAeL,cAAc"},"metadata":{},"sourceType":"module","externalDependencies":[]}