TP_JO2024/home/dist/patch/patch.module.min.js.map

1 line
1.5 KiB
Text
Raw Normal View History

2024-03-27 17:19:37 +01:00
{"version":3,"file":"patch.module.min.js","sources":["../../.config/config.js","../../src/patch/script/internals.js","../../src/patch/main.js"],"sourcesContent":["const config = {\r\n prefix: 'fr',\r\n namespace: 'dsfr',\r\n organisation: '@gouvfr',\r\n version: '1.11.2'\r\n};\r\n\r\nexport default config;\r\n","import config from '../../../.config/config';\nimport patch from './patch';\n\nconst executor = {};\nconst promise = new Promise((resolve, reject) => {\n executor.resolve = resolve;\n executor.reject = reject;\n});\n\nwindow[patch.namespace] = {\n configuration: window[config.namespace],\n promise: promise\n};\n\nconst patchInternals = () => {\n const api = window[config.namespace];\n if (!api || !api.internals) {\n requestAnimationFrame(patchInternals);\n return;\n }\n if (api.inspector.trace) api.inspector.log = api.inspector.trace;\n\n executor.resolve();\n};\n\nexport default patchInternals;\n","import patchInternals from './script/internals';\npatchInternals();\n"],"names":["config","executor","promise","Promise","resolve","reject","window","configuration","patchInternals","api","internals","inspector","trace","log","requestAnimationFrame"],"mappings":";AAAA,MAAMA,EAEO,OCCPC,EAAW,GACXC,EAAU,IAAIC,SAAQ,CAACC,EAASC,KACpCJ,EAASG,QAAUA,EACnBH,EAASI,OAASA,CAAM,IAG1BC,OAAsB,yCAAI,CACxBC,cAAeD,OAAON,GACtBE,QAASA,GAGX,MAAMM,EAAiB,KACrB,MAAMC,EAAMH,OAAON,GACdS,GAAQA,EAAIC,WAIbD,EAAIE,UAAUC,QAAOH,EAAIE,UAAUE,IAAMJ,EAAIE,UAAUC,OAE3DX,EAASG,WALPU,sBAAsBN,EAKN,ECrBpBA"}