1 |
- {"ast":null,"code":"var global = require('../internals/global');\n\nvar shared = require('../internals/shared');\n\nvar has = require('../internals/has');\n\nvar uid = require('../internals/uid');\n\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\n\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar WellKnownSymbolsStore = shared('wks');\nvar Symbol = global.Symbol;\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!has(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {\n if (NATIVE_SYMBOL && has(Symbol, name)) {\n WellKnownSymbolsStore[name] = Symbol[name];\n } else {\n WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);\n }\n }\n\n return WellKnownSymbolsStore[name];\n};","map":{"version":3,"sources":["/Users/jane/Documents/Курс Front-end/HW8/myproject/node_modules/core-js-pure/internals/well-known-symbol.js"],"names":["global","require","shared","has","uid","NATIVE_SYMBOL","USE_SYMBOL_AS_UID","WellKnownSymbolsStore","Symbol","createWellKnownSymbol","withoutSetter","module","exports","name"],"mappings":"AAAA,IAAIA,MAAM,GAAGC,OAAO,CAAC,qBAAD,CAApB;;AACA,IAAIC,MAAM,GAAGD,OAAO,CAAC,qBAAD,CAApB;;AACA,IAAIE,GAAG,GAAGF,OAAO,CAAC,kBAAD,CAAjB;;AACA,IAAIG,GAAG,GAAGH,OAAO,CAAC,kBAAD,CAAjB;;AACA,IAAII,aAAa,GAAGJ,OAAO,CAAC,4BAAD,CAA3B;;AACA,IAAIK,iBAAiB,GAAGL,OAAO,CAAC,gCAAD,CAA/B;;AAEA,IAAIM,qBAAqB,GAAGL,MAAM,CAAC,KAAD,CAAlC;AACA,IAAIM,MAAM,GAAGR,MAAM,CAACQ,MAApB;AACA,IAAIC,qBAAqB,GAAGH,iBAAiB,GAAGE,MAAH,GAAYA,MAAM,IAAIA,MAAM,CAACE,aAAjB,IAAkCN,GAA3F;;AAEAO,MAAM,CAACC,OAAP,GAAiB,UAAUC,IAAV,EAAgB;AAC/B,MAAI,CAACV,GAAG,CAACI,qBAAD,EAAwBM,IAAxB,CAAJ,IAAqC,EAAER,aAAa,IAAI,OAAOE,qBAAqB,CAACM,IAAD,CAA5B,IAAsC,QAAzD,CAAzC,EAA6G;AAC3G,QAAIR,aAAa,IAAIF,GAAG,CAACK,MAAD,EAASK,IAAT,CAAxB,EAAwC;AACtCN,MAAAA,qBAAqB,CAACM,IAAD,CAArB,GAA8BL,MAAM,CAACK,IAAD,CAApC;AACD,KAFD,MAEO;AACLN,MAAAA,qBAAqB,CAACM,IAAD,CAArB,GAA8BJ,qBAAqB,CAAC,YAAYI,IAAb,CAAnD;AACD;AACF;;AAAC,SAAON,qBAAqB,CAACM,IAAD,CAA5B;AACH,CARD","sourcesContent":["var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar has = require('../internals/has');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar WellKnownSymbolsStore = shared('wks');\nvar Symbol = global.Symbol;\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!has(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {\n if (NATIVE_SYMBOL && has(Symbol, name)) {\n WellKnownSymbolsStore[name] = Symbol[name];\n } else {\n WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);\n }\n } return WellKnownSymbolsStore[name];\n};\n"]},"metadata":{},"sourceType":"script"}
|