mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
1 line
2.5 KiB
JSON
1 line
2.5 KiB
JSON
|
{"ast":null,"code":"(function () {\n if (typeof window !== 'object' || typeof window.CustomEvent === 'function') return;\n\n var CustomEvent = function CustomEvent(event, params) {\n params = params || {\n bubbles: false,\n cancelable: false,\n detail: null\n };\n var evt = document.createEvent('CustomEvent');\n evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);\n return evt;\n };\n\n window.CustomEvent = CustomEvent;\n})();\n\n(function () {\n if (typeof Object.values === 'function') return;\n\n var values = function values(O) {\n return Object.keys(O).map(function (key) {\n return O[key];\n });\n };\n\n Object.values = values;\n})();","map":{"version":3,"sources":["/app/node_modules/reactstrap/es/polyfill.js"],"names":["window","CustomEvent","event","params","bubbles","cancelable","detail","evt","document","createEvent","initCustomEvent","Object","values","O","keys","map","key"],"mappings":"AAAA,CAAC,YAAY;AACX,MAAI,OAAOA,MAAP,KAAkB,QAAlB,IAA8B,OAAOA,MAAM,CAACC,WAAd,KAA8B,UAAhE,EAA4E;;AAE5E,MAAIA,WAAW,GAAG,SAASA,WAAT,CAAqBC,KAArB,EAA4BC,MAA5B,EAAoC;AACpDA,IAAAA,MAAM,GAAGA,MAAM,IAAI;AACjBC,MAAAA,OAAO,EAAE,KADQ;AAEjBC,MAAAA,UAAU,EAAE,KAFK;AAGjBC,MAAAA,MAAM,EAAE;AAHS,KAAnB;AAKA,QAAIC,GAAG,GAAGC,QAAQ,CAACC,WAAT,CAAqB,aAArB,CAAV;AACAF,IAAAA,GAAG,CAACG,eAAJ,CAAoBR,KAApB,EAA2BC,MAAM,CAACC,OAAlC,EAA2CD,MAAM,CAACE,UAAlD,EAA8DF,MAAM,CAACG,MAArE;AACA,WAAOC,GAAP;AACD,GATD;;AAWAP,EAAAA,MAAM,CAACC,WAAP,GAAqBA,WAArB;AACD,CAfD;;AAiBA,CAAC,YAAY;AACX,MAAI,OAAOU,MAAM,CAACC,MAAd,KAAyB,UAA7B,EAAyC;;AAEzC,MAAIA,MAAM,GAAG,SAASA,MAAT,CAAgBC,CAAhB,EAAmB;AAC9B,WAAOF,MAAM,CAACG,IAAP,CAAYD,CAAZ,EAAeE,GAAf,CAAmB,UAAUC,GAAV,EAAe;AACvC,aAAOH,CAAC,CAACG,GAAD,CAAR;AACD,KAFM,CAAP;AAGD,GAJD;;AAMAL,EAAAA,MAAM,CAACC,MAAP,GAAgBA,MAAhB;AACD,CAVD","sourcesContent":["(function () {\n if (typeof window !== 'object' || typeof window.CustomEvent === 'function') return;\n\n var CustomEvent = function CustomEvent(event, params) {\n params = params || {\n bubbles: false,\n cancelable: false,\n detail: null\n };\n var evt = document.createEvent('CustomEvent');\n evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);\n return evt;\n };\n\n window.CustomEvent = CustomEvent;\n})();\n\n(function () {\n if (typeof Object.values === 'function') return;\n\n var values = function values(O) {\n return Object.keys(O).map(function (key) {\n return O[key];\n });\n };\n\n Object.values = values;\n})();"]},"metadata":{},"sourceType":"script"}
|