/**
 * Copyright (c) 2024 Visa, Inc.
 *
 * This source code is licensed under the MIT license
 * https://github.com/visa/visa-chart-components/blob/master/LICENSE
 *
 **/
System.register([],(function(n){"use strict";return{execute:function(){n({a:r,m:e});function r(n,r){var e;var f=-1;var u=-1;if(r===undefined){for(var i=0,a=n;i<a.length;i++){var v=a[i];++u;if(v!=null&&(e<v||e===undefined&&v>=v)){e=v,f=u}}}else{for(var d=0,t=n;d<t.length;d++){var v=t[d];if((v=r(v,++u,n))!=null&&(e<v||e===undefined&&v>=v)){e=v,f=u}}}return f}function e(n,r){var e;var f=-1;var u=-1;if(r===undefined){for(var i=0,a=n;i<a.length;i++){var v=a[i];++u;if(v!=null&&(e>v||e===undefined&&v>=v)){e=v,f=u}}}else{for(var d=0,t=n;d<t.length;d++){var v=t[d];if((v=r(v,++u,n))!=null&&(e>v||e===undefined&&v>=v)){e=v,f=u}}}return f}}}}));
//# sourceMappingURL=p-8a2f9383.system.js.map