You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Scripted/website/node_modules/.cache/babel-loader/a00e820614401218cb17e5df3bd...

1 line
1.5 KiB

{"ast":null,"code":"import getComputedStyle from \"./getComputedStyle.js\";\nexport default function isScrollParent(element) {\n // Firefox wants us to check `-x` and `-y` variations as well\n var _getComputedStyle = getComputedStyle(element),\n overflow = _getComputedStyle.overflow,\n overflowX = _getComputedStyle.overflowX,\n overflowY = _getComputedStyle.overflowY;\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\n}","map":{"version":3,"names":["getComputedStyle","isScrollParent","element","_getComputedStyle","overflow","overflowX","overflowY","test"],"sources":["C:/Cours/SAE/SAE-3.01/Scripted/Scripted/website/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js"],"sourcesContent":["import getComputedStyle from \"./getComputedStyle.js\";\nexport default function isScrollParent(element) {\n // Firefox wants us to check `-x` and `-y` variations as well\n var _getComputedStyle = getComputedStyle(element),\n overflow = _getComputedStyle.overflow,\n overflowX = _getComputedStyle.overflowX,\n overflowY = _getComputedStyle.overflowY;\n\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\n}"],"mappings":"AAAA,OAAOA,gBAAgB,MAAM,uBAAuB;AACpD,eAAe,SAASC,cAAc,CAACC,OAAO,EAAE;EAC9C;EACA,IAAIC,iBAAiB,GAAGH,gBAAgB,CAACE,OAAO,CAAC;IAC7CE,QAAQ,GAAGD,iBAAiB,CAACC,QAAQ;IACrCC,SAAS,GAAGF,iBAAiB,CAACE,SAAS;IACvCC,SAAS,GAAGH,iBAAiB,CAACG,SAAS;EAE3C,OAAO,4BAA4B,CAACC,IAAI,CAACH,QAAQ,GAAGE,SAAS,GAAGD,SAAS,CAAC;AAC5E"},"metadata":{},"sourceType":"module"}