"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/toConsumableArray"),t=require("./core.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=r(e),s="chartsViewSettings";function u(){return t.getValue("impersonation")}exports.FEATURE_FLAG_APPS_ISOLATION="featureFlagAppsIsolation",exports.getAppViewStorageSettings=function(e,r){return t.getValue([s].concat(n.default(Array.isArray(e)?e:[e])),r)},exports.getAssetPageFilters=function(){return t.getValue("assetsPageFilters",{})},exports.getFeatureFlagAppsIsolation=function(){var e;return null===(e=t.getValue("featureFlagAppsIsolation"))||void 0===e||e},exports.getFeedInputRigId=function(){return t.getValue("feedInputRigId")},exports.getHiddenAlerts=function(e){return t.getValue(["appsHiddenAlerts",e])},exports.getImpersonateStorageKey=u,exports.getSegment=function(){return t.getValue("segment")},exports.isImpersonating=function(){return"true"===u()},exports.removeAssetPageFilters=function(){return t.deleteValue("assetsPageFilters")},exports.removeFeedInputRigId=function(){return t.deleteValue("feedInputRigId")},exports.setAppViewStorageSettings=function(e,r,u){return t.setValue([s].concat(n.default(Array.isArray(e)?e:[e])),r,null,u)},exports.setAssetPageFilters=function(e,r){return t.setValue("assetsPageFilters",e,null,r)},exports.setFeedInputRigId=function(e,r){return t.setValue("feedInputRigId",e,null,r)},exports.setHiddenAlerts=function(e,r,n){return t.pushValue(["appsHiddenAlerts",e],r,[5,"d"],n)},exports.setSegment=function(e){return t.setValue("segment",e)},exports.startImpersonation=function(){return t.setValue("impersonation","true")},exports.stopImpersonation=function(){return t.deleteValue("impersonation")};
