module.exports = "(function(n,e,t){var i=t(5894),r=t(4810),o=t(2402),a=t(4527),u=a.get(\"stores/plugins\"),s=t(7358),g=t(4438),d=t(1571),l=__EXPERIMENTAL_EDGE_SPA__,f=[t(1664),t(574),t(2659)],c=[\"clientMetadata\",\"cookieDomain\",\"disable\",\"load\",\"optOut\",\"rum\"];e.push=function(n,e){var t,o,a,u;if(!i.isArray(n)&&i.isObject(n))u=i.isUndefined(n.version)?1:n.version,t=n.type,a=[n];else if(i.isArray(n))u=0,t=n[0],a=n.slice(1);else{if(!i.isString(n))return r.warn(\"API / Ignoring non-array/object/string argument:\",n),!1;u=0,t=n,a=[]}if(f[u]&&(o=f[u][t]),e&&-1===c.indexOf(t))return r.debug(\"API / Ignoring non high priority function:\",t,a),!1;if(!o)return r.warn('API / No function found for \"'+t+'\" (v'+u+\") with arguments:\",a),!1;r.log('API / Executing: \"'+t,'\" with arguments:',a);try{o.apply(null,a),d.dispatch(s.RECORD_API_USAGE,{methodName:u?\"v\"+u+\".\"+t:t})}catch(n){r.error(n)}return!0},e.get=function(n){if(l&&\"state\"!==n)return r.warn('Module \"'+n+'\" not found.'),void 0;r.log('API / Getting module: \"'+n+'\"');var e=o[n];if(e?i.isArray(e)&&(e=a.evaluate(e)):e=u.getPlugin(g.PluginTypes.apiModules,n),e)return d.dispatch(s.RECORD_API_USAGE,{methodName:\"get.\"+n}),e;r.warn('Module \"'+n+'\" not found.')}})";