/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports","../../assets","../../intl","../../intl/locale"],(function(e,n,s,r){"use strict";const t="en-wo",l=r.getLocale().substr(0,2);var i;!function(e){e.ar="ar",e.bg="bg",e.cs="cs",e.da="da",e.de="de",e.el="el",e.en="en",e.es="es",e.et="et",e.fi="fi",e.fr="fr",e.is="is",e.it="it",e.ja="ja",e.ko="ko",e.lt="lt",e.lv="lv",e.nl="nl",e.nn="nn",e.pl="pl",e.pt="pt",e.ro="ro",e.ru="ru",e.sk="sk",e.sv="sv",e.th="th",e.zh="zh"}(i||(i={}));const a={ae:i.en,ar:i.es,at:i.de,au:i.en,be:i.nl,bg:i.bg,bo:i.es,br:i.pt,ca:i.en,ch:i.de,ci:i.fr,cl:i.es,cn:i.zh,co:i.es,cr:i.es,cz:i.cs,de:i.de,dk:i.da,ee:i.et,eg:i.en,es:i.es,fi:i.fi,fr:i.fr,gb:i.en,gl:i.da,gr:i.el,gt:i.es,hk:i.en,id:i.en,ie:i.en,il:i.en,in:i.en,iq:i.ar,is:i.is,it:i.it,jp:i.ja,ke:i.en,kr:i.ko,kw:i.ar,li:i.de,lt:i.lt,lu:i.en,lv:i.lv,ma:i.fr,mg:i.fr,ml:i.fr,mo:i.en,mx:i.es,my:i.en,ni:i.es,nl:i.nl,no:i.nn,nz:i.en,pe:i.es,pl:i.pl,pr:i.es,pt:i.pt,ro:i.ro,ru:i.ru,rw:i.en,se:i.sv,sg:i.en,sk:i.sk,sr:i.nl,sv:i.es,th:i.th,tn:i.fr,tw:i.zh,us:i.en,ve:i.es,vi:i.en,wo:i.en,za:i.en},o=["ar-iq","ar-kw","bg-bg","cs-cz","da-dk","da-gl","de-at","de-ch","de-de","de-li","el-gr","en-ae","en-au","en-ca","en-eg","en-gb","en-hk","en-id","en-ie","en-il","en-in","en-iq","en-ke","en-lu","en-mo","en-my","en-nz","en-rw","en-sg","en-us","en-vi","en-wo","en-za","es-ar","es-bo","es-cl","es-co","es-cr","es-es","es-gt","es-mx","es-ni","es-pe","es-pr","es-sv","es-ve","et-ee","fi-fi","fr-ci","fr-fr","fr-ma","fr-mg","fr-ml","fr-tn","is-is","it-it","ja-jp","ko-kr","lt-lt","lv-lv","nl-be","nl-nl","nl-sr","nn-no","pl-pl","pt-br","pt-pt","ro-ro","ru-ru","sk-sk","sv-se","th-th","zh-cn","zh-tw"];function c(e){return e.toLowerCase()}function u(e){return`url(${n.getAssetUrl(`esri/widgets/ScaleRangeSlider/images/scalePreview/${e}.jpg`)})`}function f(e){e=c(e);const n=`${l}-${e}`,s=`${a[e]}-${e}`;return u(o.includes(n)?n:o.includes(s)?s:t)}function g(e){const n=5,s=5;if(e<0||e>=n*s)return null;return`-${128*(e%n)}px -${128*Math.floor(e/s)}px`}e.fallbackSpriteSheetFileName=t,e.getScalePreviewSource=f,e.getScalePreviewSpriteBackgroundPosition=g,e.languageCode=l,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
