UNPKG

@ideasio/oil.js

Version:

oil.js Opt-In Layer for consent management based on the IAB TCF Standard

2 lines 746 B
/*! 1.2.4-SNAPSHOT */ (window.oilJsonp=window.oilJsonp||[]).push([[3],{130:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getGroupList=function(){var e=(0,r.getPoiGroupName)();return new Promise(function(t){a?t(a):(0,o.fetchJsonData)(i.p+"poi-lists/"+e+".json").then(function(e){a=e.companyList,e.iabVendorWhitelist&&e.iabVendorWhitelist.length&&(0,r.setIabVendorWhitelist)(e.iabVendorWhitelist),e.iabVendorBlacklist&&e.iabVendorBlacklist.length&&(0,r.setIabVendorBlacklist)(e.iabVendorBlacklist),t(a)}).catch(function(i){(0,n.logError)("OIL getGroupList failed and returned error: "+i+'. Group "'+e+'" not found! Please add the JSON file with the correct name.'),t([])})})};var o=i(2),n=i(5),r=i(6),a=void 0}}]);