/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
export default $arcgis.t(([{formatNumber:s}])=>{var i=new Map([["a3-landscape","a3-landscape"],["a3-portrait","a3-portrait"],["a4-landscape","a4-landscape"],["a4-portrait","a4-portrait"],["letter-ansi-a-landscape","ansi-a-landscape"],["letter-ansi-a-portrait","ansi-a-portrait"],["tabloid-ansi-b-landscape","ansi-b-landscape"],["tabloid-ansi-b-portrait","ansi-b-portrait"]]),c=/^https:\/\/([a-z\d-]+)(\.maps([^.]*))?\.arcgis\.com/iu;function u(a){if(!a)return;let t=a.layoutTemplateInfo;if(!t)return;let[r,n]=t.pageSize;return`${s(r)} \xD7 ${s(n)} ${a.pageUnits}`}function d(a,t){let{label:r,layout:n,layoutItem:e}=a;return(n&&!e&&t[n]?t[n]:null)||((r??n??e?.id)?.replaceAll("_"," ")??t.untitled)}function f(a){return i.get(a)}var g=new Map([["AIX","aix"],["EPS","eps"],["GIF","gif"],["JPG","jpg"],["PDF","pdf"],["PNG32","png32"],["PNG8","png8"],["SVG","svg"],["SVGZ","svgz"],["TIFF","tiff"]]),p="map-only";function b(a){return a?.toLowerCase()===p}return{a:c,b:u,c:d,d:f,e:g,f:b}},"intl")