{"version":3,"sources":["node_modules/@arcgis/core/portal/PortalItemResource.js","node_modules/@arcgis/core/portal/PortalRating.js","node_modules/@arcgis/core/portal/PortalItem.js"],"sourcesContent":["/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport { _ as t } from \"../chunks/tslib.es6.js\";\nimport r from \"../core/Accessor.js\";\nimport e from \"../core/Error.js\";\nimport o from \"../core/Logger.js\";\nimport { isAbsolute as s, makeRelative as a } from \"../core/urlUtils.js\";\nimport { property as l } from \"../core/accessorSupport/decorators/property.js\";\nimport { cast as p } from \"../core/accessorSupport/decorators/cast.js\";\nimport \"../core/RandomLCG.js\";\nimport \"../core/has.js\";\nimport { subclass as i } from \"../core/accessorSupport/decorators/subclass.js\";\nlet c = class extends r {\n  constructor(t) {\n    super(t), this.portalItem = null;\n  }\n  normalizeCtorArgs(t) {\n    return t?.portalItem && t.path ? {\n      ...t,\n      path: n(t.path, t.portalItem)\n    } : t;\n  }\n  set path(t) {\n    null != t && s(t) ? o.getLogger(this).error(\"portalitemresource:invalid-path\", \"A portal item resource path must be relative\") : this._set(\"path\", t);\n  }\n  _castPath(t) {\n    return n(t, this.portalItem);\n  }\n  get url() {\n    return this.portalItem && this.path ? `${this.portalItem.itemUrl}/resources/${this.path}` : null;\n  }\n  get cdnUrl() {\n    return this.portalItem && this.path ? `${this.portalItem.itemCdnUrl}/resources/${this.path}` : null;\n  }\n  get itemRelativeUrl() {\n    return this.portalItem && this.path ? `./resources/${this.path}` : null;\n  }\n  fetch(t = \"json\", r) {\n    const o = this.cdnUrl;\n    if (null == o) throw new e(\"portal-item-resource:fetch\", \"Portal item resource does not refer to a valid item or path\");\n    return this.portalItem.portal.request(o, {\n      responseType: t,\n      query: {\n        token: this.portalItem.apiKey,\n        _ts: r?.cacheBust ? Date.now() : null\n      },\n      signal: r?.signal\n    });\n  }\n  async update(t, r) {\n    const {\n      addOrUpdateResources: e\n    } = await import(\"./support/resourceUtils.js\");\n    return await e(this.portalItem, [{\n      resource: this,\n      content: t,\n      compress: r?.compress,\n      access: r?.access\n    }], \"update\", r), this;\n  }\n  hasPath() {\n    return null != this.path;\n  }\n};\nfunction n(t, r) {\n  return null == t ? t : (t = t.replace(/^\\/+/, \"\"), null != r && s(t) && (t = a(t, r.itemUrl)), t?.replace(/^\\/+/, \"\").replace(/^(\\.\\/)?resources\\//, \"\"));\n}\nt([l()], c.prototype, \"portalItem\", void 0), t([l({\n  type: String,\n  value: null\n})], c.prototype, \"path\", null), t([p(\"path\")], c.prototype, \"_castPath\", null), t([l({\n  type: String,\n  readOnly: !0\n})], c.prototype, \"url\", null), t([l({\n  type: String,\n  readOnly: !0\n})], c.prototype, \"cdnUrl\", null), t([l({\n  type: String,\n  readOnly: !0\n})], c.prototype, \"itemRelativeUrl\", null), c = t([i(\"esri.portal.PortalItemResource\")], c);\nconst u = c;\nexport { u as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport { _ as r } from \"../chunks/tslib.es6.js\";\nimport o from \"../core/Accessor.js\";\nimport { property as s } from \"../core/accessorSupport/decorators/property.js\";\nimport \"../core/has.js\";\nimport \"../core/Logger.js\";\nimport \"../core/RandomLCG.js\";\nimport { subclass as t } from \"../core/accessorSupport/decorators/subclass.js\";\nlet e = class extends o {\n  constructor(r) {\n    super(r), this.created = null, this.rating = null;\n  }\n};\nr([s()], e.prototype, \"created\", void 0), r([s()], e.prototype, \"rating\", void 0), e = r([t(\"esri.portal.PortalRating\")], e);\nconst c = e;\nexport { c as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport { _ as e } from \"../chunks/tslib.es6.js\";\nimport { getAssetUrl as t } from \"../assets.js\";\nimport i from \"../core/Error.js\";\nimport { JSONSupportMixin as r } from \"../core/JSONSupport.js\";\nimport { clone as o, fixJson as s } from \"../core/lang.js\";\nimport a from \"../core/Loadable.js\";\nimport { isDataProtocol as n, makeAbsolute as l } from \"../core/urlUtils.js\";\nimport { property as p } from \"../core/accessorSupport/decorators/property.js\";\nimport { ensureClass as c } from \"../core/accessorSupport/ensureType.js\";\nimport { reader as d } from \"../core/accessorSupport/decorators/reader.js\";\nimport { subclass as u } from \"../core/accessorSupport/decorators/subclass.js\";\nimport m from \"../geometry/Extent.js\";\nimport h from \"./Portal.js\";\nimport g from \"./PortalItemResource.js\";\nimport y from \"./PortalRating.js\";\nimport { a as w } from \"../chunks/persistableUrlUtils.js\";\nvar v;\nconst f = new Set([\"3DTiles Service\", \"CSV\", \"Feature Collection\", \"Feature Service\", \"Feed\", \"GeoJson\", \"Group Layer\", \"Image Service\", \"KML\", \"Map Service\", \"Media Layer\", \"Scene Service\", \"Stream Service\", \"Vector Tile Service\", \"WFS\", \"WMS\", \"WMTS\"]),\n  b = new Set([\"KML\", \"GeoJson\", \"CSV\"]);\nlet k = v = class extends r(a) {\n  static from(e) {\n    return c(v, e);\n  }\n  constructor(e) {\n    super(e), this.access = null, this.accessInformation = null, this.apiKey = null, this.applicationProxies = null, this.avgRating = null, this.categories = null, this.classification = null, this.created = null, this.culture = null, this.description = null, this.extent = null, this.groupCategories = null, this.id = null, this.isOrgItem = !1, this.itemControl = null, this.licenseInfo = null, this.modified = null, this.name = null, this.numComments = null, this.numRatings = null, this.numViews = null, this.owner = null, this.ownerFolder = null, this.portal = null, this.screenshots = null, this.size = null, this.snippet = null, this.sourceJSON = null, this.sourceUrl = null, this.spatialReference = null, this.tags = null, this.title = null, this.type = null, this.typeKeywords = null, this.url = null;\n  }\n  destroy() {\n    this.portal = null;\n  }\n  get displayName() {\n    const e = this.type,\n      t = this.typeKeywords || [];\n    let i = e;\n    return \"Feature Service\" === e || \"Feature Collection\" === e ? i = t.includes(\"Table\") ? \"Table\" : t.includes(\"Route Layer\") ? \"Route Layer\" : t.includes(\"Markup\") ? \"Markup\" : \"Feature Layer\" : \"Image Service\" === e ? i = t.includes(\"Elevation 3D Layer\") ? \"Elevation Layer\" : t.includes(\"Tiled Imagery\") ? \"Tiled Imagery Layer\" : \"Imagery Layer\" : \"Scene Service\" === e ? i = \"Scene Layer\" : \"Video Service\" === e ? i = \"Video Layer\" : \"Scene Package\" === e ? i = \"Scene Layer Package\" : \"Stream Service\" === e ? i = \"Feature Layer\" : \"Geoprocessing Service\" === e ? i = t.includes(\"Web Tool\") ? \"Tool\" : \"Geoprocessing Service\" : \"Geoenrichment Service\" === e ? i = \"GeoEnrichment Service\" : \"Geocoding Service\" === e ? i = \"Locator\" : \"Microsoft Powerpoint\" === e ? i = \"Microsoft PowerPoint\" : \"GeoJson\" === e ? i = \"GeoJSON\" : \"Globe Service\" === e ? i = \"Globe Layer\" : \"Vector Tile Service\" === e ? i = \"Tile Layer\" : \"netCDF\" === e ? i = \"NetCDF\" : \"Map Service\" === e ? i = t.includes(\"Spatiotemporal\") || !t.includes(\"Hosted Service\") && !t.includes(\"Tiled\") || t.includes(\"Relational\") ? \"Map Image Layer\" : \"Tile Layer\" : e?.toLowerCase().includes(\"add in\") ? i = e.replaceAll(/(add in)/gi, \"Add-In\") : \"datastore catalog service\" === e ? i = \"Big Data File Share\" : \"Compact Tile Package\" === e ? i = \"Tile Package (tpkx)\" : \"Raster function template\" === e ? i = \"Raster Function Template\" : \"OGCFeatureServer\" === e ? i = \"OGC Feature Layer\" : \"web mapping application\" === e && t.includes(\"configurableApp\") ? i = \"Instant App\" : \"Insights Page\" === e ? i = \"Insights Report\" : \"Excalibur Imagery Project\" === e ? i = \"Excalibur Project\" : \"3DTiles Service\" === e ? i = \"3D tiles layer\" : \"3DTiles Package\" === e && (i = \"3D tiles package\"), i;\n  }\n  readExtent(e) {\n    return e && e.length ? new m(e[0][0], e[0][1], e[1][0], e[1][1]) : null;\n  }\n  get iconUrl() {\n    const e = this.type?.toLowerCase() || \"\",\n      i = this.typeKeywords || [],\n      r = \"esri/images/portal/\",\n      o = \"16\";\n    let s,\n      a = !1,\n      n = !1,\n      l = !1,\n      p = !1,\n      c = !1,\n      d = !1,\n      u = !1,\n      m = !1;\n    return e.indexOf(\"service\") > 0 || \"feature collection\" === e || \"kml\" === e || \"wms\" === e || \"wmts\" === e || \"wfs\" === e ? (a = i.includes(\"Hosted Service\"), \"feature service\" === e || \"feature collection\" === e || \"kml\" === e || \"wfs\" === e ? (n = i.includes(\"Table\"), l = i.includes(\"Route Layer\"), p = i.includes(\"Markup\"), c = i.includes(\"Spatiotemporal\"), d = i.includes(\"UtilityNetwork\"), s = c && n ? \"spatiotemporaltable\" : n ? \"table\" : l ? \"routelayer\" : p ? \"markup\" : c ? \"spatiotemporal\" : d ? \"utilitynetwork\" : a ? \"featureshosted\" : \"features\") : \"map service\" === e || \"wms\" === e || \"wmts\" === e ? (c = i.includes(\"Spatiotemporal\"), u = i.includes(\"Relational\"), s = c || u ? \"mapimages\" : a || i.includes(\"Tiled\") || \"wmts\" === e ? \"maptiles\" : \"mapimages\") : s = \"scene service\" === e ? i.includes(\"Line\") ? \"sceneweblayerline\" : i.includes(\"3DObject\") ? \"sceneweblayermultipatch\" : i.includes(\"Point\") ? \"sceneweblayerpoint\" : i.includes(\"IntegratedMesh\") ? \"sceneweblayermesh\" : i.includes(\"PointCloud\") ? \"sceneweblayerpointcloud\" : i.includes(\"Polygon\") ? \"sceneweblayerpolygon\" : i.includes(\"Building\") ? \"sceneweblayerbuilding\" : i.includes(\"Voxel\") ? \"sceneweblayervoxel\" : \"sceneweblayer\" : \"image service\" === e ? i.includes(\"Elevation 3D Layer\") ? \"elevationlayer\" : i.includes(\"Tiled Imagery\") ? \"tiledimagerylayer\" : \"imagery\" : \"stream service\" === e ? \"streamlayer\" : \"vector tile service\" === e ? \"vectortile\" : \"datastore catalog service\" === e ? \"datastorecollection\" : \"geocoding service\" === e ? \"geocodeservice\" : \"video service\" === e ? i.includes(\"Live Stream\") ? \"livestreamvideolayer\" : \"videolayer\" : \"geoprocessing service\" === e ? i.includes(\"Web Tool\") ? \"tool\" : \"layers\" : \"geodata service\" === e ? \"geodataservice\" : \"3dtiles service\" === e ? i.includes(\"3DObject\") ? \"3dobjecttileslayer\" : i.includes(\"IntegratedMesh\") ? \"integratedmeshtileslayer\" : \"3dtileslayer\" : \"layers\") : \"web map\" === e || \"cityengine web scene\" === e ? s = \"maps\" : \"web scene\" === e ? s = i.includes(\"ViewingMode-Local\") ? \"webscenelocal\" : \"websceneglobal\" : \"web mapping application\" === e && i.includes(\"configurableApp\") ? s = \"instantapps\" : \"web mapping application\" === e || \"mobile application\" === e || \"application\" === e || \"operation view\" === e || \"desktop application\" === e ? s = \"apps\" : \"map document\" === e || \"map package\" === e || \"published map\" === e || \"scene document\" === e || \"globe document\" === e || \"basemap package\" === e || \"mobile basemap package\" === e || \"mobile map package\" === e || \"project package\" === e || \"project template\" === e || \"pro map\" === e || \"layout\" === e || \"layer\" === e && i.includes(\"ArcGIS Pro\") || \"explorer map\" === e && i.indexOf(\"Explorer Document\") ? s = \"mapsgray\" : \"service definition\" === e || \"shapefile\" === e || \"cad drawing\" === e || \"geojson\" === e || \"netcdf\" === e || \"administrative report\" === e ? s = \"datafiles\" : \"360 vr experience\" === e ? s = \"360vr\" : \"explorer add in\" === e || \"desktop add in\" === e || \"windows viewer add in\" === e || \"windows viewer configuration\" === e ? s = \"appsgray\" : \"arcgis pro add in\" === e || \"arcgis pro configuration\" === e ? s = \"addindesktop\" : \"pdf\" === e ? s = \"pdf\" : \"microsoft word\" === e ? s = \"word\" : \"microsoft excel\" === e ? s = \"excel\" : \"microsoft powerpoint\" === e ? s = \"ppt\" : \"rule package\" === e || \"file geodatabase\" === e || \"sqlite geodatabase\" === e || \"csv collection\" === e || \"kml collection\" === e || \"windows mobile package\" === e || \"map template\" === e || \"desktop application template\" === e || \"gml\" === e || \"arcpad package\" === e || \"code sample\" === e || \"document link\" === e || \"earth configuration\" === e || \"operations dashboard add in\" === e || \"rules package\" === e || \"workflow manager package\" === e || \"explorer map\" === e && i.includes(\"Explorer Mapping Application\") || i.includes(\"Document\") ? s = \"datafilesgray\" : \"network analysis service\" === e || \"geoprocessing service\" === e || \"geodata service\" === e || \"geometry service\" === e || \"geoprocessing package\" === e || \"locator package\" === e || \"geoprocessing sample\" === e || \"workflow manager service\" === e ? s = \"toolsgray\" : \"layer\" === e || \"layer package\" === e || \"explorer layer\" === e ? s = \"layersgray\" : \"analysis model\" === e ? s = \"analysismodel\" : \"scene package\" === e ? s = \"scenepackage\" : \"3dtiles package\" === e ? s = \"3dtileslayerpackage\" : \"3dtiles service\" === e ? s = \"3dtileslayer\" : \"mobile scene package\" === e ? s = \"mobilescenepackage\" : \"tile package\" === e || \"compact tile package\" === e ? s = \"tilepackage\" : \"task file\" === e ? s = \"taskfile\" : \"report template\" === e ? s = \"report-template\" : \"statistical data collection\" === e ? s = \"statisticaldatacollection\" : \"insights workbook\" === e ? s = \"workbook\" : \"insights model\" === e ? s = \"insightsmodel\" : \"insights page\" === e ? s = \"insightspage\" : \"insights theme\" === e ? s = \"insightstheme\" : \"hub initiative\" === e ? s = \"hubinitiative\" : \"hub page\" === e ? s = \"hubpage\" : \"hub site application\" === e ? s = \"hubsite\" : \"hub event\" === e ? s = \"hubevent\" : \"hub project\" === e ? s = \"hubproject\" : \"relational database connection\" === e ? s = \"relationaldatabaseconnection\" : \"big data file share\" === e ? s = \"datastorecollection\" : \"image collection\" === e ? s = \"imagecollection\" : \"desktop style\" === e ? s = \"desktopstyle\" : \"style\" === e ? s = i.includes(\"Dictionary\") ? \"dictionarystyle\" : \"style\" : \"dashboard\" === e ? s = \"dashboard\" : \"raster function template\" === e ? s = \"rasterprocessingtemplate\" : \"vector tile package\" === e ? s = \"vectortilepackage\" : \"ortho mapping project\" === e ? s = \"orthomappingproject\" : \"ortho mapping template\" === e ? s = \"orthomappingtemplate\" : \"solution\" === e ? s = \"solutions\" : \"geopackage\" === e ? s = \"geopackage\" : \"deep learning package\" === e ? s = \"deeplearningpackage\" : \"real time analytic\" === e ? s = \"realtimeanalytics\" : \"reality mapping project\" === e ? s = \"realitymappingproject\" : \"big data analytic\" === e ? s = \"bigdataanalytics\" : \"feed\" === e ? s = \"feed\" : \"excalibur imagery project\" === e ? s = \"excaliburimageryproject\" : \"notebook\" === e ? s = \"notebook\" : \"storymap\" === e ? s = \"storymap\" : \"survey123 add in\" === e ? s = \"survey123addin\" : \"mission\" === e ? s = \"mission\" : \"mission report\" === e ? s = \"missionreport\" : \"mission template\" === e ? s = \"missiontemplate\" : \"quickcapture project\" === e ? s = \"quickcaptureproject\" : \"pro report\" === e ? s = \"proreport\" : \"pro report template\" === e ? s = \"proreporttemplate\" : \"urban model\" === e ? s = \"urbanmodel\" : \"urban project\" === e ? s = \"urbanproject\" : \"web experience\" === e ? s = \"experiencebuilder\" : \"web experience template\" === e ? s = \"webexperiencetemplate\" : \"experience builder widget\" === e ? s = \"experiencebuilderwidget\" : \"experience builder widget package\" === e ? s = \"experiencebuilderwidgetpackage\" : \"workflow\" === e ? s = \"workflow\" : \"kernel gateway connection\" === e ? s = \"kernelgatewayconnection\" : \"insights script\" === e ? s = \"insightsscript\" : \"hub initiative template\" === e ? s = \"hubinitiativetemplate\" : \"storymap theme\" === e ? s = \"storymaptheme\" : \"knowledge graph\" === e ? s = \"knowledgegraph\" : \"knowledge graph layer\" === e ? s = \"knowledgegraphlayer\" : \"knowledge studio project\" === e ? s = \"knowledgestudio\" : \"native application\" === e ? s = \"nativeapp\" : \"native application installer\" === e ? s = \"nativeappinstaller\" : \"web link chart\" === e ? s = \"linkchart\" : \"knowledge graph web investigation\" === e ? s = \"investigation\" : \"ogcfeatureserver\" === e ? s = \"features\" : \"pro presentation\" === e ? s = \"propresentation\" : \"pro project\" === e ? s = \"proproject\" : \"insights workbook package\" === e ? s = \"insightsworkbookpackage\" : \"apache parquet\" === e ? s = \"apacheparquet\" : \"notebook code snippet library\" === e ? s = \"notebookcodesnippets\" : \"suitability model\" === e ? s = \"suitabilitymodel\" : \"esri classifier definition\" === e ? s = \"classifierdefinition\" : \"esri classification schema\" === e ? s = \"classificationschema\" : \"insights data engineering workbook\" === e ? s = \"dataengineeringworkbook\" : \"insights data engineering model\" === e ? s = \"dataengineeringmodel\" : \"deep learning studio project\" === e ? s = \"deeplearningproject\" : \"discussion\" === e ? s = \"discussion\" : \"allsource project\" === e ? s = \"allsourceproject\" : \"api key\" === e ? s = \"apikey\" : \"data pipeline\" === e ? s = \"datapipelines\" : \"group layer\" === e ? (m = i.includes(\"Map\"), s = m ? \"layergroup2d\" : \"layergroup\") : s = \"media layer\" === e ? \"onlinemedialayer\" : \"form\" === e ? i.includes(\"Survey123\") ? \"survey\" : \"datafilesgray\" : \"csv\" === e ? \"csv\" : \"image\" === e ? \"image\" : \"maps\", s ? t(r + s + o + \".png\") : null;\n  }\n  get isLayer() {\n    return null != this.type && f.has(this.type);\n  }\n  get itemCdnUrl() {\n    return w(this.itemUrl);\n  }\n  get itemPageUrl() {\n    const e = this.portal?.itemPageUrl;\n    return e && this.id ? `${e}?id=${this.id}` : null;\n  }\n  get itemUrl() {\n    const e = this.portal?.restUrl;\n    return e && this.id ? `${e}/content/items/${this.id}` : null;\n  }\n  get thumbnailUrl() {\n    const e = this.itemUrl,\n      t = this.thumbnail;\n    return e && t ? this.portal?.normalizeUrl(`${e}/info/${t}?f=json`) ?? null : null;\n  }\n  get userItemUrl() {\n    const e = this.portal?.restUrl;\n    if (!e) return null;\n    const t = this.owner || this.portal?.user?.username;\n    if (!t) return null;\n    return `${e}/content/users/${this.ownerFolder ? `${t}/${this.ownerFolder}` : t}/items/${this.id}`;\n  }\n  load(e) {\n    const t = this.portal ?? (this.portal = h.getDefault()),\n      i = t.load(e).then(() => this.sourceJSON ? this.sourceJSON : this.id && this.itemUrl ? t.request(this.itemUrl, {\n        signal: null != e ? e.signal : null,\n        query: {\n          token: this.apiKey\n        }\n      }) : {}).then(e => {\n        this.sourceJSON = e, this.read(e);\n      });\n    return this.addResolvingPromise(i), Promise.resolve(this);\n  }\n  async addRating(e) {\n    const t = {\n      method: \"post\",\n      query: {}\n    };\n    return e instanceof y && (e = e.rating), null == e || isNaN(e) || \"number\" != typeof e || (t.query.rating = e), this.portal ? (await this.portal.request(this.itemUrl + \"/addRating\", t), new y({\n      rating: e,\n      created: new Date()\n    })) : null;\n  }\n  clone() {\n    const e = {\n      access: this.access,\n      accessInformation: this.accessInformation,\n      applicationProxies: o(this.applicationProxies),\n      avgRating: this.avgRating,\n      categories: o(this.categories),\n      classification: o(this.classification),\n      created: o(this.created),\n      culture: this.culture,\n      description: this.description,\n      extent: o(this.extent),\n      groupCategories: o(this.groupCategories),\n      id: this.id,\n      itemControl: this.itemControl,\n      licenseInfo: this.licenseInfo,\n      modified: o(this.modified),\n      name: this.name,\n      numComments: this.numComments,\n      numRatings: this.numRatings,\n      numViews: this.numViews,\n      owner: this.owner,\n      ownerFolder: this.ownerFolder,\n      portal: this.portal,\n      screenshots: o(this.screenshots),\n      size: this.size,\n      snippet: this.snippet,\n      sourceUrl: this.sourceUrl,\n      spatialReference: this.spatialReference,\n      tags: o(this.tags),\n      thumbnail: this.thumbnail,\n      title: this.title,\n      type: this.type,\n      typeKeywords: o(this.typeKeywords),\n      url: this.url\n    };\n    this.loaded && (e.loadStatus = \"loaded\");\n    const t = new v({\n      sourceJSON: this.sourceJSON\n    }).set(e);\n    return t._set(\"isOrgItem\", this.isOrgItem), t;\n  }\n  createPostQuery() {\n    const e = this.toJSON();\n    for (const t of [\"tags\", \"typeKeywords\", \"categories\"]) e[t] = e[t]?.join(\", \");\n    for (const t of [\"extent\", \"classification\"]) {\n      const i = e[t];\n      i && (e[t] = JSON.stringify(i));\n    }\n    return e;\n  }\n  async deleteRating() {\n    await this.portal.request(this.itemUrl + \"/deleteRating\", {\n      method: \"post\"\n    });\n  }\n  fetchData(e = \"json\", t) {\n    return this.portal.request(this.itemUrl + \"/data\", {\n      responseType: e,\n      ...t,\n      query: {\n        token: this.apiKey\n      }\n    });\n  }\n  async fetchRating(e) {\n    const t = await this.portal.request(this.itemUrl + \"/rating\", {\n      query: {\n        token: this.apiKey\n      },\n      ...e\n    });\n    return null != t.rating ? (t.created = new Date(t.created), new y(t)) : null;\n  }\n  fetchRelatedItems(e, t) {\n    return this.portal.requestToTypedArray(this.itemUrl + \"/relatedItems\", {\n      query: {\n        ...e,\n        token: this.apiKey\n      },\n      ...t\n    }, v);\n  }\n  getThumbnailUrl(e) {\n    let t = this.thumbnailUrl;\n    return t && e && (t += `&w=${e}`), t;\n  }\n  reload() {\n    return this.portal.request(this.itemUrl ?? \"\", {\n      cacheBust: !0,\n      query: {\n        token: this.apiKey\n      }\n    }).then(e => (this.applicationProxies && !Object.hasOwn(e, \"appProxies\") && (this.applicationProxies = null), this.sourceJSON = e, this.read(e), this));\n  }\n  update(e) {\n    return this.id ? this.load().then(() => this.portal.signIn()).then(() => {\n      const t = e?.data,\n        i = {\n          method: \"post\"\n        };\n      i.query = this.createPostQuery();\n      for (const e in i.query) null === i.query[e] && (i.query[e] = \"\");\n      return i.query.clearEmptyFields = !0, null != t && (\"string\" == typeof t ? i.query.text = t : \"object\" == typeof t && (i.query.text = JSON.stringify(t))), this.portal.request(`${this.userItemUrl}/update`, i).then(() => this.reload());\n    }) : Promise.reject(new i(\"portal:item-does-not-exist\", \"The item does not exist yet and cannot be updated\"));\n  }\n  async copy(e) {\n    if (!this.id) throw new i(\"portal:item-does-not-exist\", \"The item does not exist yet\");\n    await this.load();\n    const {\n      portal: t,\n      itemUrl: r\n    } = this;\n    await t.signIn();\n    const {\n        copyResources: o,\n        folder: s,\n        tags: a,\n        title: n\n      } = e || {},\n      l = {\n        method: \"post\",\n        query: {\n          copyPrivateResources: \"all\" === o,\n          folder: \"string\" == typeof s ? s : s?.id,\n          includeResources: !!o,\n          tags: a?.join(\",\"),\n          title: n\n        }\n      },\n      {\n        itemId: p\n      } = await t.request(`${r}/copy`, l);\n    return new v({\n      id: p,\n      portal: t\n    });\n  }\n  updateThumbnail(e) {\n    return this.id ? this.load().then(() => this.portal.signIn()).then(() => {\n      const t = e.thumbnail,\n        i = e.filename,\n        r = {\n          method: \"post\"\n        };\n      if (\"string\" == typeof t) n(t) ? r.query = {\n        data: t\n      } : r.query = {\n        url: l(t)\n      }, null != i && (r.query.filename = i);else {\n        const e = new FormData();\n        null != i ? e.append(\"file\", t, i) : e.append(\"file\", t), r.body = e;\n      }\n      return this.portal.request(`${this.userItemUrl}/updateThumbnail`, r).then(() => this.reload());\n    }) : Promise.reject(new i(\"portal:item-does-not-exist\", \"The item does not exist yet and cannot be updated\"));\n  }\n  async fetchResources(e = {}, t) {\n    const {\n      fetchResources: i\n    } = await import(\"./support/resourceUtils.js\");\n    return i(this, e, t);\n  }\n  async addResource(e, t, i) {\n    const {\n      addOrUpdateResources: r\n    } = await import(\"./support/resourceUtils.js\");\n    return e.portalItem = this, await r(this, [{\n      resource: e,\n      content: t,\n      compress: i?.compress,\n      access: i?.access\n    }], \"add\", i), e;\n  }\n  async removeResource(e, t) {\n    const {\n      removeResource: r\n    } = await import(\"./support/resourceUtils.js\");\n    if (e.portalItem && e.portalItem.itemUrl !== this.itemUrl) throw new i(\"removeresource:portal-item-mismatch\", \"The portal item associated with the provided resource does not match the item\");\n    return r(this, e, t);\n  }\n  async removeAllResources(e) {\n    const {\n      removeAllResources: t\n    } = await import(\"./support/resourceUtils.js\");\n    return t(this, e);\n  }\n  resourceFromPath(e) {\n    return new g({\n      portalItem: this,\n      path: e\n    });\n  }\n  toJSON() {\n    const e = this.extent,\n      t = {\n        accessInformation: this.accessInformation,\n        categories: o(this.categories),\n        classification: o(this.classification),\n        created: this.created?.getTime(),\n        description: this.description,\n        extent: e && [[e.xmin, e.ymin], [e.xmax, e.ymax]],\n        id: this.id,\n        isOrgItem: this.isOrgItem,\n        licenseInfo: this.licenseInfo,\n        modified: this.modified?.getTime(),\n        name: this.name,\n        owner: this.owner,\n        ownerFolder: this.ownerFolder,\n        snippet: this.snippet,\n        sourceUrl: this.sourceUrl,\n        spatialReference: this.spatialReference,\n        tags: o(this.tags),\n        thumbnail: this.thumbnail,\n        title: this.title,\n        type: this.type,\n        typeKeywords: o(this.typeKeywords),\n        url: this.url\n      };\n    return s(t);\n  }\n  static fromJSON(e) {\n    if (!e) return null;\n    if (e.declaredClass) throw new Error(\"JSON object is already hydrated\");\n    return new v({\n      sourceJSON: e\n    });\n  }\n  _getPostQuery() {\n    const e = this.toJSON();\n    for (const t in e) \"tags\" === t && null !== e[t] && (e[t] = e[t].join(\", \")), \"typeKeywords\" === t && null !== e[t] && (e[t] = e[t].join(\", \")), \"extent\" === t && e[t] && (e[t] = JSON.stringify(e[t]));\n    return e;\n  }\n};\ne([p({\n  type: [\"private\", \"shared\", \"org\", \"public\"]\n})], k.prototype, \"access\", void 0), e([p()], k.prototype, \"accessInformation\", void 0), e([p({\n  type: String\n})], k.prototype, \"apiKey\", void 0), e([p({\n  json: {\n    read: {\n      source: \"appProxies\"\n    }\n  }\n})], k.prototype, \"applicationProxies\", void 0), e([p()], k.prototype, \"avgRating\", void 0), e([p()], k.prototype, \"categories\", void 0), e([p()], k.prototype, \"classification\", void 0), e([p({\n  type: Date\n})], k.prototype, \"created\", void 0), e([p()], k.prototype, \"culture\", void 0), e([p()], k.prototype, \"description\", void 0), e([p({\n  readOnly: !0\n})], k.prototype, \"displayName\", null), e([p({\n  type: m\n})], k.prototype, \"extent\", void 0), e([d(\"extent\")], k.prototype, \"readExtent\", null), e([p()], k.prototype, \"groupCategories\", void 0), e([p({\n  readOnly: !0\n})], k.prototype, \"iconUrl\", null), e([p()], k.prototype, \"id\", void 0), e([p({\n  readOnly: !0\n})], k.prototype, \"isLayer\", null), e([p({\n  type: Boolean,\n  readOnly: !0\n})], k.prototype, \"isOrgItem\", void 0), e([p()], k.prototype, \"itemControl\", void 0), e([p({\n  readOnly: !0\n})], k.prototype, \"itemPageUrl\", null), e([p({\n  readOnly: !0\n})], k.prototype, \"itemUrl\", null), e([p()], k.prototype, \"licenseInfo\", void 0), e([p({\n  type: Date\n})], k.prototype, \"modified\", void 0), e([p()], k.prototype, \"name\", void 0), e([p()], k.prototype, \"numComments\", void 0), e([p()], k.prototype, \"numRatings\", void 0), e([p()], k.prototype, \"numViews\", void 0), e([p()], k.prototype, \"owner\", void 0), e([p()], k.prototype, \"ownerFolder\", void 0), e([p({\n  type: h\n})], k.prototype, \"portal\", void 0), e([p()], k.prototype, \"screenshots\", void 0), e([p()], k.prototype, \"size\", void 0), e([p()], k.prototype, \"snippet\", void 0), e([p()], k.prototype, \"sourceJSON\", void 0), e([p({\n  type: String\n})], k.prototype, \"sourceUrl\", void 0), e([p({\n  type: String\n})], k.prototype, \"spatialReference\", void 0), e([p()], k.prototype, \"tags\", void 0), e([p()], k.prototype, \"thumbnail\", void 0), e([p({\n  readOnly: !0\n})], k.prototype, \"thumbnailUrl\", null), e([p()], k.prototype, \"title\", void 0), e([p()], k.prototype, \"type\", void 0), e([p()], k.prototype, \"typeKeywords\", void 0), e([p({\n  type: String,\n  json: {\n    read(e, t) {\n      if (b.has(t.type)) {\n        const t = this.portal?.restUrl;\n        e ||= t && this.id ? `${t}/content/items/${this.id}/data` : null;\n      }\n      return e;\n    }\n  }\n})], k.prototype, \"url\", void 0), e([p({\n  readOnly: !0\n})], k.prototype, \"userItemUrl\", null), k = v = e([u(\"esri.portal.PortalItem\")], k);\nconst S = k;\nexport { S as default };"],"mappings":"qlBAcA,IAAI,EAAI,cAAcA,CAAE,CACtB,YAAYC,EAAG,CACb,MAAMA,CAAC,EAAG,KAAK,WAAa,IAC9B,CACA,kBAAkBA,EAAG,CACnB,OAAOA,GAAG,YAAcA,EAAE,KAAOC,EAAAC,EAAA,GAC5BF,GAD4B,CAE/B,KAAMG,EAAEH,EAAE,KAAMA,EAAE,UAAU,CAC9B,GAAIA,CACN,CACA,IAAI,KAAKA,EAAG,CACFA,GAAR,MAAaI,EAAEJ,CAAC,EAAIG,EAAE,UAAU,IAAI,EAAE,MAAM,kCAAmC,8CAA8C,EAAI,KAAK,KAAK,OAA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AACjB,EAAE,CAAC,EAAGF,EAAE,UAAW,OAAQ,MAAM,EAAGmB,EAAE,CAACjB,EAAE,CAAC,EAAGF,EAAE,UAAW,YAAa,MAAM,EAAGmB,EAAE,CAACjB,EAAE,CACrI,SAAU,EACZ,CAAC,CAAC,EAAGF,EAAE,UAAW,eAAgB,IAAI,EAAGmB,EAAE,CAACjB,EAAE,CAAC,EAAGF,EAAE,UAAW,QAAS,MAAM,EAAGmB,EAAE,CAACjB,EAAE,CAAC,EAAGF,EAAE,UAAW,OAAQ,MAAM,EAAGmB,EAAE,CAACjB,EAAE,CAAC,EAAGF,EAAE,UAAW,eAAgB,MAAM,EAAGmB,EAAE,CAACjB,EAAE,CAC1K,KAAM,OACN,KAAM,CACJ,KAAK,EAAG,EAAG,CACT,GAAIH,EAAE,IAAI,EAAE,IAAI,EAAG,CACjB,IAAMuB,EAAI,KAAK,QAAQ,QACvB,IAAMA,GAAK,KAAK,GAAK,GAAGA,CAAC,kBAAkB,KAAK,EAAE,QAAU,IAC9D,CACA,OAAO,CACT,CACF,CACF,CAAC,CAAC,EAAGtB,EAAE,UAAW,MAAO,MAAM,EAAGmB,EAAE,CAACjB,EAAE,CACrC,SAAU,EACZ,CAAC,CAAC,EAAGF,EAAE,UAAW,cAAe,IAAI,EAAGA,EAAIH,EAAIsB,EAAE,CAACX,EAAE,wBAAwB,CAAC,EAAGR,CAAC,EAClF,IAAMuB,GAAIvB","names":["b","t","__spreadProps","__spreadValues","n","Y","r","o","s","__async","e","G","m","a","u","e","b","r","m","a","c","v","f","b","k","u","m","h","i","w","o","s","a","n","l","p","c","d","R","e","__async","__spreadProps","__spreadValues","r","tt","_","t","S"],"x_google_ignoreList":[0,1,2]}