@usercentrics/cmp-browser-sdk
Version:
Usercentrics CMP Browser SDK
2 lines (1 loc) • 578 B
JavaScript
import{av as a,P as s,am as e,aw as i,an as o}from"./index-c3735125.js";var r=function(s){this.isOverlayEnabled=a(s)},t=function(a){var r,t;this.defaultView=s(a.secondLayer.defaultView,e.CAT),this.hideDataProcessingServices=s(a.secondLayer.hideDataProcessingServices,!1),this.isOverlayEnabled=i(a),this.showCategoriesTab=s(a.secondLayer.tabsCategoriesIsEnabled,!0),this.showServicesTab=s(a.secondLayer.tabsServicesIsEnabled,!0),this.tabColor=s(o(null===(t=null===(r=a.customization)||void 0===r?void 0:r.color)||void 0===t?void 0:t.secondLayerTab),null)};export{r as F,t as S};