{"map":"{\"version\":3,\"file\":\"index.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../src/csp/index.ts\"],\"names\":[],\"mappings\":\"AAAA,YAAY,CAAA;AAEZ,IAAM,GAAG,GAAG,UAAC,IAAY;IACvB,IAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAA;IAC3C,IAAI,CAAC,YAAY,CAAC,SAAS,EAAE,OAAO,CAAC,CAAA;IACrC,IAAI,CAAC,YAAY,CAAC,YAAY,EAAE,yBAAyB,CAAC,CAAA;IAC1D,IAAI,CAAC,YAAY,CAAC,SAAS,EAAE,IAAI,CAAC,CAAA;IAClC,QAAQ,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CAAA;AAC5D,CAAC,CAAA;AAED,OAAO,EACL,GAAG,EACJ,CAAA\",\"sourcesContent\":[\"'use strict'\\n\\nconst csp = (desc: string) => {\\n  const meta = document.createElement('meta')\\n  meta.setAttribute('charset', 'utf-8')\\n  meta.setAttribute('http-equiv', 'Content-Security-Policy')\\n  meta.setAttribute('content', desc)\\n  document.getElementsByTagName('head')[0].appendChild(meta)\\n}\\n\\nexport {\\n  csp\\n}\\n\"]}","code":"'use strict';\r\nvar csp = function (desc) {\r\n    var meta = document.createElement('meta');\r\n    meta.setAttribute('charset', 'utf-8');\r\n    meta.setAttribute('http-equiv', 'Content-Security-Policy');\r\n    meta.setAttribute('content', desc);\r\n    document.getElementsByTagName('head')[0].appendChild(meta);\r\n};\r\nexport { csp };\r\n//# sourceMappingURL=index.js.map","dts":{"name":"/Users/ioing/libdev/shadow-function/dist/typings/csp/index.d.ts","writeByteOrderMark":false,"text":"declare const csp: (desc: string) => void;\r\nexport { csp };\r\n"}}
