/*! All material copyright GeoScene, All Rights Reserved, unless otherwise specified.
See https://js.geoscene.cn/4.33/geoscene/copyright.txt for details.
v4.33.18 */
export default $geoscene.t(([{formatNumber:r}])=>{var o=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){let t=a?.closest("[dir]");return t!==null&&t instanceof HTMLElement&&t.dir==="rtl"||document.dir==="rtl"}function d(a){if(!a)return;let t=a.layoutTemplateInfo;if(!t)return;let[e,n]=t.pageSize;return`${r(e)} \xD7 ${r(n)} ${a.pageUnits}`}function f(a,t){let{label:e,layout:n,layoutItem:i,type:s}=a;return s==="print-service-template"&&t[n]?t[n]:(e??n??i?.id)?.replaceAll("_"," ")??t.untitled}function m(a){return o.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:m,f:g,g:b}},"intl")