16aedae74d474f3df3a995e7eacd2d10.json 2.7 KB

1
  1. {"ast":null,"code":"/* eslint-disable es/no-object-getownpropertynames -- safe */\nvar toIndexedObject = require('../internals/to-indexed-object');\n\nvar $getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\n\nvar toString = {}.toString;\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return $getOwnPropertyNames(it);\n } catch (error) {\n return windowNames.slice();\n }\n}; // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\n\n\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : $getOwnPropertyNames(toIndexedObject(it));\n};","map":{"version":3,"sources":["/Users/jane/Documents/Курс Front-end/HW8/myproject/node_modules/core-js-pure/internals/object-get-own-property-names-external.js"],"names":["toIndexedObject","require","$getOwnPropertyNames","f","toString","windowNames","window","Object","getOwnPropertyNames","getWindowNames","it","error","slice","module","exports","call"],"mappings":"AAAA;AACA,IAAIA,eAAe,GAAGC,OAAO,CAAC,gCAAD,CAA7B;;AACA,IAAIC,oBAAoB,GAAGD,OAAO,CAAC,4CAAD,CAAP,CAAsDE,CAAjF;;AAEA,IAAIC,QAAQ,GAAG,GAAGA,QAAlB;AAEA,IAAIC,WAAW,GAAG,OAAOC,MAAP,IAAiB,QAAjB,IAA6BA,MAA7B,IAAuCC,MAAM,CAACC,mBAA9C,GACdD,MAAM,CAACC,mBAAP,CAA2BF,MAA3B,CADc,GACuB,EADzC;;AAGA,IAAIG,cAAc,GAAG,UAAUC,EAAV,EAAc;AACjC,MAAI;AACF,WAAOR,oBAAoB,CAACQ,EAAD,CAA3B;AACD,GAFD,CAEE,OAAOC,KAAP,EAAc;AACd,WAAON,WAAW,CAACO,KAAZ,EAAP;AACD;AACF,CAND,C,CAQA;;;AACAC,MAAM,CAACC,OAAP,CAAeX,CAAf,GAAmB,SAASK,mBAAT,CAA6BE,EAA7B,EAAiC;AAClD,SAAOL,WAAW,IAAID,QAAQ,CAACW,IAAT,CAAcL,EAAd,KAAqB,iBAApC,GACHD,cAAc,CAACC,EAAD,CADX,GAEHR,oBAAoB,CAACF,eAAe,CAACU,EAAD,CAAhB,CAFxB;AAGD,CAJD","sourcesContent":["/* eslint-disable es/no-object-getownpropertynames -- safe */\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\n\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return $getOwnPropertyNames(it);\n } catch (error) {\n return windowNames.slice();\n }\n};\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && toString.call(it) == '[object Window]'\n ? getWindowNames(it)\n : $getOwnPropertyNames(toIndexedObject(it));\n};\n"]},"metadata":{},"sourceType":"script"}