@esri/solutions-components 5.1.0-next.66 → 5.1.0-next.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/cdn/5TPLPDK2.js +2 -0
  2. package/dist/cdn/7EEAVPTU.js +2 -0
  3. package/dist/cdn/BIYG7PA2.js +2 -0
  4. package/dist/cdn/{SMPEVMDE.js → BWTBRONP.js} +1 -1
  5. package/dist/cdn/{A6L4SLVT.js → COTZWDC3.js} +1 -1
  6. package/dist/cdn/CR2XUUG5.js +2 -0
  7. package/dist/cdn/EUY3GSFI.js +2 -0
  8. package/dist/cdn/{TMRCJ23T.js → GYQ22PJ6.js} +1 -1
  9. package/dist/cdn/LCBZNTKI.js +2 -0
  10. package/dist/cdn/M6ZFMO6K.js +2 -0
  11. package/dist/cdn/{DV2IPJEK.js → QX7YHRF5.js} +2 -2
  12. package/dist/cdn/UHVBUHU3.js +2 -0
  13. package/dist/cdn/{WLKDLZCS.js → V7UWSW6U.js} +1 -1
  14. package/dist/cdn/{ZH6LQCHJ.js → WR3YNDFH.js} +1 -1
  15. package/dist/cdn/XEQSHS4A.js +2 -0
  16. package/dist/cdn/{DVCONGYS.js → XY4HNUJE.js} +1 -1
  17. package/dist/cdn/ZSPRUX4H.js +2 -0
  18. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
  19. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
  20. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.en.json +1 -1
  21. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.json +1 -1
  22. package/dist/cdn/index.js +1 -1
  23. package/dist/chunks/solutions-deploy-app-nav.js +35 -36
  24. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +4 -0
  25. package/dist/components/arcgis-solutions-assistant/customElement.js +7 -7
  26. package/dist/components/arcgis-solutions-assistant/index.js +3 -1
  27. package/dist/components/solution-deployed-card-panel/customElement.js +1 -1
  28. package/dist/components/solution-details-panel/customElement.js +1 -1
  29. package/dist/components/solutions-all-panel/customElement.js +5 -5
  30. package/dist/components/solutions-all-shell/customElement.js +1 -1
  31. package/dist/components/solutions-deploy-app/customElement.d.ts +2 -0
  32. package/dist/components/solutions-deploy-app/customElement.js +111 -100
  33. package/dist/components/solutions-deploy-app/index.js +3 -0
  34. package/dist/components/solutions-deploy-app-nav/customElement.d.ts +6 -0
  35. package/dist/components/solutions-deploy-app-nav/customElement.js +2 -4
  36. package/dist/components/solutions-deployed-panel/customElement.js +8 -8
  37. package/dist/components/solutions-deployed-shell/customElement.js +4 -4
  38. package/dist/components/solutions-filter-panel/customElement.d.ts +0 -6
  39. package/dist/components/solutions-filter-panel/customElement.js +46 -61
  40. package/dist/components/solutions-filter-panel/index.js +0 -3
  41. package/dist/components/solutions-resources-shell/customElement.d.ts +6 -0
  42. package/dist/components/solutions-resources-shell/customElement.js +9 -9
  43. package/dist/docs/api.json +1 -1
  44. package/dist/docs/docs.json +1 -1
  45. package/dist/docs/vscode.html-custom-data.json +1 -1
  46. package/dist/docs/web-types.json +1 -1
  47. package/dist/loader.js +5 -5
  48. package/dist/solutions-components_commit.txt +7 -7
  49. package/dist/types/lumina.d.ts +3 -3
  50. package/dist/types/preact.d.ts +3 -3
  51. package/dist/types/react.d.ts +3 -3
  52. package/dist/types/stencil.d.ts +3 -3
  53. package/package.json +1 -1
  54. package/dist/cdn/3CEPDBZC.js +0 -2
  55. package/dist/cdn/5JF3GXG7.js +0 -2
  56. package/dist/cdn/ACH7OUDZ.js +0 -2
  57. package/dist/cdn/D6EAKAAG.js +0 -2
  58. package/dist/cdn/FFYAX3YU.js +0 -2
  59. package/dist/cdn/R2WYNBYU.js +0 -2
  60. package/dist/cdn/UW2E725I.js +0 -2
  61. package/dist/cdn/V75TSZXZ.js +0 -2
  62. package/dist/cdn/WFZYVS4A.js +0 -2
  63. package/dist/cdn/ZPKQMASX.js +0 -2
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import b from"./FFYAX3YU.js";import a from"./N73GF6WL.js";import"./QHG54NVK.js";import"./DPD6UBKD.js";import"./HBQN25RR.js";import"./SDJWXDEO.js";import"./INWDOVSJ.js";import"./3YQ3LN5J.js";import"./TEHBW75B.js";import"./KU62OLRE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./B3R52L7H.js";import"./BDXIKPLU.js";import"./G2ME4BAQ.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./73AX72WY.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import"./FLLZBDVI.js";import"./F2JKSZOE.js";import"./QPIMTXPL.js";export default $arcgis.t(([,{b:o}])=>{return o},a,b)
2
+ import b from"./5TPLPDK2.js";import a from"./N73GF6WL.js";import"./QHG54NVK.js";import"./DPD6UBKD.js";import"./HBQN25RR.js";import"./SDJWXDEO.js";import"./INWDOVSJ.js";import"./3YQ3LN5J.js";import"./TEHBW75B.js";import"./KU62OLRE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./B3R52L7H.js";import"./BDXIKPLU.js";import"./G2ME4BAQ.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./73AX72WY.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import"./FLLZBDVI.js";import"./F2JKSZOE.js";import"./QPIMTXPL.js";export default $arcgis.t(([,{b:o}])=>{return o},a,b)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import e from"./LE6OUXPN.js";import d from"./4NCV4IWX.js";import b from"./N73GF6WL.js";import{b as w}from"./QHG54NVK.js";import{b as f}from"./DPD6UBKD.js";import"./HBQN25RR.js";import{a as v}from"./SDJWXDEO.js";import"./INWDOVSJ.js";import"./3YQ3LN5J.js";import"./TEHBW75B.js";import"./KU62OLRE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./B3R52L7H.js";import"./BDXIKPLU.js";import"./G2ME4BAQ.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./73AX72WY.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import{b as S}from"./FLLZBDVI.js";import{G as C,h as m,i as a,j as y,q as c}from"./F2JKSZOE.js";import"./QPIMTXPL.js";export default $arcgis.t(([{H:A,K:D,j:x,k:T,n:b,o:h,q:u},{c:E},{a:_,b:I}])=>{var O=m`calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-surface-3)}.card-group{overflow:hidden;padding:.25rem var(--calcite-spacing-md) var(--calcite-spacing-md)}solution-details-card{width:calc(25% - .6rem)}@container (max-width: 1234px){solution-details-card{width:calc(33.333% - .6rem)}}@container (max-width: 1010px){solution-details-card{width:calc(50% - .6rem)}}@container (max-width: 800px){.card-group{padding-left:0;padding-right:0}solution-details-card{width:calc(33.33% - .6rem)}}@container (max-width: 680px){solution-details-card{width:calc(50% - .6rem)}}@container (max-width: 440px){solution-details-card{width:calc(100% - .75rem)}}.text-center{text-align:center}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.no-solutions{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:calc(100vh - 190px)}.margin-top-half{margin-top:.5rem}.margin-top-1{margin-top:1rem}.no-solutions-prompt{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%}`,L=5,g=class extends C{constructor(){super(),this.sortType="relevance",this._cards=[],this._isLoading=!0,this._modifiedCheckTry=0,this._translations=v({name:"solutions-all-panel",blocking:!0}),this._agoTerms=`${h}`,this._allCards=[],this._baseAgoTerms=h,this._categories=[],this._configContextConsumer=f({context:w,subscribe:!0,callback:async t=>{t&&(this._isDisconnectedEnvironment?this._isLoading=!1:await this._loadUpdateProcedures())}}),this._delay=!1,this._getSuggested=!1,this._relatedSolutions=new Set,this._sortField="relevance",this._sortOrder="desc",this.cardsFetched=c(),this.allCardsFetched=c(),this.searchTermSet=c(),this.sortTypeSet=c(),this.detailsCardSelected=c(),this._handleOpenAssistant=()=>{this._telemetry?.logEvent({category:u.ASSISTANT,action:"Open"}),window.dispatchEvent(new CustomEvent("openAssistant"))},this.listenOn(window,"deployProgressEnd",()=>{this._modifiedCheckTry=L,this._loadUpdateProcedures()}),this.listenOn(window,"solutionDeleted",()=>{this._modifiedCheckTry=L,this._loadUpdateProcedures()}),this.listenOn(window,"sortTypeChanged",t=>{t.detail&&t.detail.scope==="all-solutions"&&(this.sortType=t.detail.sortType,this._telemetry?.logEvent({category:u.ALL_SOLUTIONS,action:"Sort",dimensions:[A(t.detail.sortType)]}),this.sortType==="suggested"&&this._deployedSolutions?.cards.length===0?this._getDeployedSolutions().then(()=>{this.searchSolutions(t.detail)}):this.searchSolutions(t.detail))}),this.listenOn(window,"solutionIDFromAssistant",t=>{this._lookupSolutionById(t.detail)})}static{this.properties={sortType:1,_cards:16,_isLoading:16,_modifiedCheckTry:16,_translations:16}}static{this.styles=O}get _isEnterprise(){return this._configContextConsumer.value?.isEnterprise}get _telemetry(){return this._configContextConsumer.value?.telemetrySession}get _isDisconnectedEnvironment(){return this._configContextConsumer.value?.isEnterprise===!0&&this._configContextConsumer.value?.authentication?.CanSearchArcGISOnline===!1}async searchSolutions(t){this._isDisconnectedEnvironment||(t?"searchTerm"in t?this._textSearch(t.searchTerm):"sortType"in t?this._sortCards(t):Array.isArray(t)&&this._filterCards(t):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),this._cards=await this._getSolutions())}async setSearchOptions(t){t&&("searchTerm"in t&&(this._textSearch(t.searchTerm),this.searchTermSet.emit({searchTerm:t.searchTerm,scope:"all-solutions"})),"sortType"in t&&(this._sortCards(t),this.sortTypeSet.emit({sortType:t.sortType,scope:"all-solutions"})))}render(){let t=this._configContextConsumer.value?.authentication?.IsSignedIn&&this._configContextConsumer.value?.authentication?.CanUseAI;return this._isDisconnectedEnvironment?a`<div class="no-solutions">${this._getMeridianSearch()}<div class="no-solutions-prompt"><div class="text-center leader-1 warning-text trailer-1"><div>${this._translations.disconnectedEnvironment}</div></div></div></div>`:this._isLoading||this._cards.length?a`<calcite-panel>${this._isLoading?a`<calcite-loader id=solutions-all-panel-loader .label=${this._translations.fetchingSolutions}></calcite-loader>`:a`<calcite-card-group class="card-group" .label=${this._translations.allSolutionCards}>${this._renderCards()}</calcite-card-group>`}</calcite-panel>`:a`<div class="no-solutions">${this._getMeridianSearch()}<div class="no-solutions-prompt"><div class="text-center leader-1 warning-text trailer-1"><div>${this._translations.noSolutionsFound}</div><div class="margin-top-half">${!this._isEnterprise&&t?this._translations.assistantHelp:this._translations.changeSearchTerm}</div></div>${!this._isEnterprise&&t&&a`<calcite-button appearance=outline icon-start=speech-bubbles @click=${this._handleOpenAssistant} @keydown=${e=>D(e,()=>this._handleOpenAssistant())} scale=l>${this._translations.askAssistant}</calcite-button>`||""}</div></div>`}_renderCards(){return this._cards.map(t=>a`<solution-details-card .card=${t}></solution-details-card>`)}async _getSolutions(){if(this._isDisconnectedEnvironment)return this._isLoading=!1,[];if(this._configContextConsumer.value){this._isLoading=!0,this._abortController?(this._abortController.abort(),this._abortController=new AbortController):this._abortController=new AbortController;let t=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested,num:100},this._configContextConsumer.value?.primarySolutionsGroupId,this._configContextConsumer.value?.agoBasedEnterpriseSolutionsGroupId,this._configContextConsumer.value?.userSession,this._configContextConsumer.value?.isEnterprise,this._abortController.signal,{num:1e3});this._abortController=void 0;let e=t?.cards.length?t.cards:[];if(this.sortType==="new"||this.sortType==="updated"){let s="/Categories/New Release";this.sortType==="updated"&&(s="/Categories/Updated"),e.sort((l,d)=>l.categories.includes(s)&&!d.categories.includes(s)?-1:!l.categories.includes(s)&&d.categories.includes(s)?1:l.categories.includes(s)&&d.categories.includes(s)?l.categories.length-d.categories.length:0)}else if(this.sortType==="suggested"&&this._relatedSolutions.size>0&&this._deployedSolutions?.cards?.length){let s=new Map;for(let i of e){let r=s.get(i.deployCommonId),n=Number(i.deployVersion);(!r||n>r)&&s.set(i.deployCommonId,n)}let l=this._deployedSolutions.cards.filter(i=>{let r=s.get(i.deployCommonId);return r!==void 0&&Number(i.deployVersion)>=r}),d=new Set(l.map(i=>i.deployCommonId));this._relatedSolutions=new Set([...this._relatedSolutions].filter(i=>!d.has(i))),e.sort((i,r)=>{let n=this._relatedSolutions.has(i.deployCommonId),p=this._relatedSolutions.has(r.deployCommonId);return n&&!p?-1:!n&&p?1:0})}let o=e.map(s=>{let l=s.categories.indexOf("/Categories/New Release")>-1,d=s.categories.indexOf("/Categories/Updated")>-1,i=!1,r=!0;this._deployedSolutions&&(i=this._isSolutionDeployed(s.deployCommonId),r=this._isLatestVersion(s));let n=[];return l?n.push("new"):d&&n.push("updated"),i&&r&&n.push("deployed"),s.chips=n.length>0?n:void 0,s.supportReuse=i?!!(i&&!r):!0,s});return this._allCards.length===0&&t?.cards&&(this._allCards=t?.cards,this._deployedSolutions&&(this._relatedSolutions=E(this._deployedSolutions.cards,this._allCards))),this.cardsFetched.emit(o.length),this._isLoading=!1,o}else return this._isLoading=!1,[]}async _loadUpdateProcedures(){if(this._isDisconnectedEnvironment){this._isLoading=!1;return}this._isLoading=!0;let t=this._configContextConsumer.value;this._cardsFetcher=new _(t.locale,t.orgUrl,t.portalURL),this._cardsFetcherDeployed=new _(t.locale,t.orgUrl,t.portalURL),await this._getDeployedSolutions(),this._cards=await this._getSolutions(),this.allCardsFetched.emit(this._cards),this._isLoading=!1}async _getDeployedSolutions(){let t=this._configContextConsumer.value.authentication,e=this._configContextConsumer.value.userSession;if(t&&e&&t.IsSignedIn){this._abortControllerDeployed?(this._abortControllerDeployed.abort(),this._abortControllerDeployed=new AbortController):this._abortControllerDeployed=new AbortController;let o=await I(t,e,this._cardsFetcher,this._cardsFetcherDeployed,b,"created",this._sortOrder,void 0,this._categories,void 0,this._abortControllerDeployed.signal);if(this._abortControllerDeployed=void 0,o){if(this._modifiedCheckTry>0){if(this._deployedSolutions?.cards.length===o?.cards.length)return this._modifiedCheckTry--,await this._getDeployedSolutions();this._modifiedCheckTry=0}this._deployedSolutions=o}}}_getMeridianSearch(){return a`<div><svg viewBox="0 0 64 64" width=140 height=140 xmlns=http://www.w3.org/2000/svg fill=var(--calcite-color-text-3)>${y`<path d="M60.217 54.937l-15.77-15.77-1.414 1.415-3.801-3.8a19.94 19.94 0 1 0-2.451 2.45l3.802 3.802-1.413 1.415 15.767 15.767a1.739 1.739 0 0 0 2.459 0l2.82-2.821a1.742 1.742 0 0 0 0-2.458zM4.9 24A19.1 19.1 0 1 1 24 43.1 19.121 19.121 0 0 1 4.9 24zm32.474 14.693q.69-.63 1.32-1.32l3.774 3.775-1.32 1.32zM59.65 56.83l-2.82 2.82a.97.97 0 0 1-1.327 0L40.3 44.45l4.145-4.15L59.65 55.501a.939.939 0 0 1 0 1.328zM22.343 9.62l.097.795q-.31.038-.619.086a13.635 13.635 0 0 0-11.353 11.775l-.026.217-.795-.084.026-.228a14.44 14.44 0 0 1 12.022-12.47c.215-.034.431-.064.648-.09z" />`}</svg></div>`}_textSearch(t){this._agoTerms=this._baseAgoTerms+` ${t}`}_sortCards(t){let e=t.sortType;this._getSuggested=!1,this._sortOrder="desc",e==="suggested"?this._getSuggested=!0:e==="new"?this._sortField="relevance":e==="relevance"||e==="title"?(e==="title"&&(this._sortOrder="asc"),this._sortField=e):e==="updated"&&(this._sortField="relevance"),this.sortType=e}_filterCards(t){this._categories=[],t.forEach(e=>{if(e.industry){let o=this._getIndustryValue(e.industry);if(e.domain){let s=this._getDomainValue(e.domain);this._categories.push(`/Categories/${o}/${s}`)}else this._categories.push(`/Categories/${o}`)}})}_getDomainValue(t){return T[t]}_getIndustryValue(t){return t==="AEC"?"AEC":x[t]}_clearFilterCategories(){this._categories=[]}_isSolutionDeployed(t){return!!this._deployedSolutions?.cards?.some(e=>e?.typeKeywords?.some(o=>o.includes("solutionid")&&o.includes(t)))}_isLatestVersion(t){let e=this._deployedSolutions?.cards?.filter(o=>o?.typeKeywords?.some(s=>s.includes("solutionid")&&s.includes(t.deployCommonId)));return!(e&&e.length>0&&e[0].deployVersion!==t.deployVersion)}_lookupSolutionById(t){let e=this._allCards.filter(o=>o.deployCommonId===t);e.length>0&&this.detailsCardSelected.emit(e[0])}};S("solutions-all-panel",g);return g},b,d,e)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import b from"./ACH7OUDZ.js";import"./JZHP22BA.js";import a from"./N73GF6WL.js";import"./QHG54NVK.js";import"./DPD6UBKD.js";import"./HBQN25RR.js";import"./SDJWXDEO.js";import"./INWDOVSJ.js";import"./3YQ3LN5J.js";import"./TEHBW75B.js";import"./KU62OLRE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./B3R52L7H.js";import"./BDXIKPLU.js";import"./G2ME4BAQ.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./73AX72WY.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import"./FLLZBDVI.js";import"./F2JKSZOE.js";import"./QPIMTXPL.js";export default $arcgis.t(([,a])=>{return a},a,b)
2
+ import b from"./7EEAVPTU.js";import"./JZHP22BA.js";import a from"./N73GF6WL.js";import"./QHG54NVK.js";import"./DPD6UBKD.js";import"./HBQN25RR.js";import"./SDJWXDEO.js";import"./INWDOVSJ.js";import"./3YQ3LN5J.js";import"./TEHBW75B.js";import"./KU62OLRE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./B3R52L7H.js";import"./BDXIKPLU.js";import"./G2ME4BAQ.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./73AX72WY.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import"./FLLZBDVI.js";import"./F2JKSZOE.js";import"./QPIMTXPL.js";export default $arcgis.t(([,a])=>{return a},a,b)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import s from"./BIYG7PA2.js";import r from"./7EEAVPTU.js";import q from"./LCBZNTKI.js";import o from"./5TPLPDK2.js";import n from"./LE6OUXPN.js";import m from"./EUY3GSFI.js";import"./BDENYZEG.js";import k from"./BF6NM5HV.js";import j from"./E7RDA5B4.js";import i from"./UHVBUHU3.js";import e from"./4NCV4IWX.js";import c from"./QF3LZFWW.js";import{a as D}from"./JZHP22BA.js";import"./JA3R6YUV.js";import b from"./N73GF6WL.js";import{a as w,b as x}from"./QHG54NVK.js";import{a as u}from"./DPD6UBKD.js";import"./HBQN25RR.js";import{a as S}from"./SDJWXDEO.js";import"./INWDOVSJ.js";import"./3YQ3LN5J.js";import"./TEHBW75B.js";import"./KU62OLRE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./B3R52L7H.js";import"./BDXIKPLU.js";import"./G2ME4BAQ.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./73AX72WY.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import{b as f}from"./FLLZBDVI.js";import{E as l,F as a,G as v,I as p,K as C,h as g,i as h,q as d}from"./F2JKSZOE.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,,{c:A,j:O,n:F,o:$,q:c},,{g:k,h:M},,{b:I},,,{a:T,b:R},{a:y}])=>{var P=g`.back-color-override{background-color:var(--calcite-color-surface-3);--calcite-tab-border-color: var(--calcite-color-surface-4)}:host{--assistant-panel-width: 420px}.display-none{display:none!important}.height-100{height:100%}calcite-tab-nav{padding-bottom:6px;padding-top:6px}calcite-tab{--calcite-color-focus: transparent}calcite-tab>*{--calcite-color-focus: initial}calcite-tabs{--calcite-tab-border-color: var(--calcite-color-border-2);flex:1;min-height:0}.tab-space-0{--calcite-tab-content-space-y: var(--calcite-spacing-none)}.tab-space-md{--calcite-tab-content-space-y: var(--calcite-spacing-md)}solutions-searchsort-toolbar,solutions-deploy-app-nav,solution-details-panel,solutions-deployed-shell,solutions-all-shell,calcite-tab-nav,solution-deployed-card-panel{width:1440px;display:block;max-width:96vw;padding-right:var(--calcite-spacing-none);padding-left:var(--calcite-spacing-none);margin-left:auto;margin-right:auto;box-sizing:border-box}.border{height:var(--calcite-spacing-px);border-bottom-color:var(--calcite-color-border-2);border-bottom-style:solid;border-bottom-width:var(--calcite-border-width-sm);box-sizing:border-box}.overflow-auto{overflow:auto}solution-details-panel{scroll-margin-top:3rem}.main-content{container-type:inline-size;display:flex;flex-direction:column;height:100%;overflow:hidden}.main-content.assistant-open{margin-right:var(--assistant-panel-width)}.assistant-open solutions-searchsort-toolbar,.assistant-open solution-details-panel,.assistant-open solutions-deployed-shell,.assistant-open solutions-all-shell,.assistant-open calcite-tab-nav,.assistant-open solution-deployed-card-panel{margin-left:max(2vw,calc((100vw - 1440px)/2));margin-right:0;width:auto;max-width:1440px}.assistant-panel{position:fixed;top:65px;right:0;bottom:0;width:var(--assistant-panel-width);z-index:400;display:flex;flex-direction:column;box-shadow:-6px 0 8px -4px #00000026}@media(max-width:800px){.assistant-panel{width:100%;box-shadow:none}.main-content.assistant-open{margin-right:0}}.assistant-fab{position:fixed;bottom:var(--calcite-spacing-xxl);right:var(--calcite-spacing-xxl);z-index:500}calcite-tooltip{--calcite-tooltip-max-size-x: 16rem}`,m=class extends v{constructor(){super(),this.initTitleOrId="",this.sortType="relevance",this.useLocalAppConfig=!1,this.authentication=void 0,this._isLoaded=!1,this.isMobile=!1,this._isAssistantOpen=!1,this._showFabTooltip=!0,this._activeTab="all-solutions",this._showDeployedCardFetchFailed=!1,this._globalAlerts=[],this._translations=S({name:"solutions-deploy-app",blocking:!0}),this._agoTerms=`${$}`,this._allCards=[],this._allShell=l(),this._allTab=l(),this._allTabTitle=l(),this._resourcesTab=l(),this._resourcesTabTitle=l(),this._categories=[],this._configContextProvider=u({context:x}),this._delay=!1,this._deployAppNav=l(),this._deployedCardPanel=l(),this._deployCardFetchFailedMessage="",this._deployedCardTab=l(),this._deployedCardTabTitle=l(),this._detailsShell=l(),this._detailsTab=l(),this._detailsTabTitle=l(),this._forceInit=!1,this._getSuggested=!1,this._tabpanelsFixed=!1,this._isMobileContextProvider=u({context:w}),this._mainContentRef=l(),this._mySolutionsShell=l(),this._mySolutionsTab=l(),this._mySolutionsTabTitle=l(),this._sortField="relevance",this._sortOrder="desc",this._telemetryManager=new y,this.deployAppTabSelected=d(),this.deployedCardFetchFailed=d(),this.detailsCardSelected=d(),this.deployedCardSelected=d(),this.metaTagStringsReady=d(),this.sessionRefreshed=d(),this.tabChanged=d(),this.listenOn(window,"detailsCardSelected",this._detailsCardSelected),this.listenOn(window,"deployedCardSelected",this._deployedCardSelected),this.listenOn(window,"displayDeployedCard",this._handleDeployedCardDisplay),this.listenOn(window,"navTabSelected",this._setActiveTab),this.listenOn(window,"forceSelectTab",t=>this.selectTab(t.detail,{})),this.listenOn(window,"showGlobalAlert",this._handleShowGlobalAlert),this.listenOn(window,"openAssistant",()=>{this._openAssistant()}),this.listenOn(window,"closeAssistant",()=>{this._isAssistantOpen=!1})}static{this.properties={appConfig:1,initTab:1,initTitleOrId:1,sortType:1,useLocalAppConfig:5,authentication:16,_isLoaded:16,isMobile:16,_isAssistantOpen:16,_showFabTooltip:16,_activeTab:16,_showDeployedCardFetchFailed:16,_globalAlerts:16,_translations:16}}static{this.styles=P}get _telemetry(){return this._configContextProvider.value?.telemetrySession}get _isDisconnectedEnvironment(){return this._configContextProvider.value?.isEnterprise===!0&&this._configContextProvider.value?.authentication?.CanSearchArcGISOnline===!1}_openAssistant(){this._telemetry?.logEvent({category:c.ASSISTANT,action:"Open"}),this._isAssistantOpen=!0}async selectTab(t,e){if(this._isLoaded||this._forceInit){let s=this._getDefaultSearchOptions(e);switch(this._searchSortToolbar&&(this._searchSortToolbar.scope=t.tabType),t.tabType){case"all-solutions":this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0,s&&await this._allShell.value?.searchSolutions(s);break;case"resources":this._resourcesTab.value.selected=!0,this._resourcesTabTitle.value.selected=!0;break;case"deployed-card":if(this.authentication?.IsSignedIn){if(this._forceInit=!0,this._isLoaded=!1,this._cardFetcherDeployed&&await this._getDeployedSolution(t.tabTitleOrId),this._deployedSolutions?.cards?.length>0){let i;this._deployedSolutions.cards.some(o=>o.id===t.tabTitleOrId?(i=o,this.deployedCardSelected.emit({card:i}),!0):!1),this._isLoaded=!0,this._forceInit=!1}else return this._isLoaded=!0,this._forceInit=!1,this.selectTab({tabTitleOrId:"",tabType:"deployments"},e);break}else await this.authentication?.signIn();case"details":if(this._allCards){let i=k(this._allCards,t.tabTitleOrId);i=i||M(this._allCards,t.tabTitleOrId),i?(this._detailsTab.value.selected=!0,this._detailsTabTitle.value.selected=!0,this.detailsCardSelected.emit(i)):(t.tabType="all-solutions",this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0)}break;case"deployments":this._mySolutionsTab.value.selected=!0,this._mySolutionsTabTitle.value.selected=!0,this._searchSortToolbar&&s?.filter&&this._searchSortToolbar.changeOwnerFilter(s.filter!=="Organization"),s&&await this._mySolutionsShell.value?.searchSolutions(s);break}return this._setActiveTab(new CustomEvent("setActiveTab",{detail:t})),this._blurTabs(),this._showDeployedCardFetchFailed&&(this.deployedCardFetchFailed.emit({message:this._deployCardFetchFailedMessage,title:this._translations.failedToOpen}),this._showDeployedCardFetchFailed=!1),!0}else return this._initTab=t,this._initFilters=e,!1}updated(t){this._fixTabpanelFocus(),t.has("_isAssistantOpen")&&this._setScrollbarGutters(this._isAssistantOpen?"stable":"stable both-edges"),!this._resizeObserver&&this._mainContentRef.value&&(this._resizeObserver=new ResizeObserver(e=>{for(let s of e){let i=s.contentRect.width<=800;this.isMobile!==i&&(this.isMobile=i,this._isMobileContextProvider.setValue(i))}}),this._resizeObserver.observe(this._mainContentRef.value))}_fixTabpanelFocus(){if(!this._tabpanelsFixed&&this._allTab.value){let t=[this._allTab,this._mySolutionsTab,this._resourcesTab,this._detailsTab,this._deployedCardTab];Promise.all(t.map(async e=>{let s=e.value;if(s&&(await s.componentOnReady?.(),s.shadowRoot)){let i=s.shadowRoot.querySelector('[role="tabpanel"]');i&&(i.tabIndex=-1)}})).then(()=>{this._tabpanelsFixed=!0,this._setupTabpanelObserver()}).catch(()=>{this._tabpanelsFixed=!0})}}_setupTabpanelObserver(){this._tabpanelObserver||(this._tabpanelObserver=new MutationObserver(t=>{t.forEach(e=>{if(e.type==="attributes"&&e.attributeName==="tabindex"){let s=e.target;s.getAttribute("role")==="tabpanel"&&s.tabIndex===0&&(s.tabIndex=-1)}})}),[this._allTab,this._mySolutionsTab,this._resourcesTab,this._detailsTab,this._deployedCardTab].forEach(t=>{let e=t.value;if(e?.shadowRoot){let s=e.shadowRoot.querySelector('[role="tabpanel"]');s&&this._tabpanelObserver.observe(s,{attributes:!0,attributeFilter:["tabindex"]})}}))}async load(){this.useLocalAppConfig&&(this.appConfig=I)}render(){let t=this._isLoaded?"display-none":"",e=this._isLoaded?"":"display-none";return h`<calcite-shell><solutions-deploy-app-nav .appConfig=${this.appConfig} .assistantOpen=${this._isAssistantOpen} .initTab=${this.initTab} @authInit=${this._handleAuthInit} slot=header ${a(this._deployAppNav)}></solutions-deploy-app-nav><div class=${`main-content${this._isAssistantOpen?" assistant-open":""}`} ${a(this._mainContentRef)}>${this._isSearchToolbarShowing()&&h`<div class="border"></div>`||""}<solutions-searchsort-toolbar ${a(async s=>{s&&(await this._deployAppNav.value?.componentOnReady(),this._searchSortToolbar=s)})}></solutions-searchsort-toolbar><calcite-loader class=${p(t)} id=solutions-loader .label=${this._translations.fetchingAllSolutions}></calcite-loader>${this._renderGlobalAlerts()}<calcite-tabs class=${p(e)} scale=l><calcite-tab-nav class="display-none" @calciteTabChange=${this._handleCalciteTabChanged} slot=title-group><calcite-tab-title ${a(this._allTabTitle)}>${this._translations.allSolutions}</calcite-tab-title><calcite-tab-title ${a(this._mySolutionsTabTitle)}>${this._translations.mySolutions}</calcite-tab-title><calcite-tab-title ${a(this._resourcesTabTitle)}>${this._translations.solutionResources}</calcite-tab-title><calcite-tab-title class="display-none" ${a(this._detailsTabTitle)}></calcite-tab-title><calcite-tab-title class="display-none" ${a(this._deployedCardTabTitle)}></calcite-tab-title></calcite-tab-nav><calcite-tab class="back-color-override tab-space-0" selected ${a(this._allTab)}><solutions-all-shell class="height-100" ${a(this._allShell)}></solutions-all-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._mySolutionsTab)}><solutions-deployed-shell class="height-100" ${a(this._mySolutionsShell)}></solutions-deployed-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._resourcesTab)}><solutions-resources-shell .assistantOpen=${this._isAssistantOpen} class="height-100"></solutions-resources-shell></calcite-tab><calcite-tab class="back-color-override" ${a(this._detailsTab)}><solution-details-panel class="height-100" ${a(this._detailsShell)}></solution-details-panel></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._deployedCardTab)}><solution-deployed-card-panel class="shell-container height-100" ${a(this._deployedCardPanel)}></solution-deployed-card-panel></calcite-tab></calcite-tabs></div>${!this._configContextProvider.value?.isEnterprise&&h`<div class=${`assistant-panel${this._isAssistantOpen?"":" display-none"}`}><arcgis-solutions-assistant class="height-100"></arcgis-solutions-assistant></div><calcite-fab aria-label=${this._translations.assistantFabTooltip??C} class=${`assistant-fab${this._isAssistantOpen?" display-none":""}`} icon=effects id=assistant-fab-button @click=${()=>{this._openAssistant(),this._showFabTooltip=!1}} scale=l></calcite-fab><calcite-tooltip class=${p(this._isAssistantOpen?"display-none":"")} .open=${this._showFabTooltip&&!this._isAssistantOpen} placement=leading reference-element=assistant-fab-button><span>${this._translations.assistantFabTooltip}</span></calcite-tooltip>`||""}</calcite-shell>`}loaded(){this._setScrollbarGutters()}disconnectedCallback(){super.disconnectedCallback(),this._resizeObserver?.disconnect(),this._tabpanelObserver?.disconnect()}_renderGlobalAlerts(){return D(this._globalAlerts,t=>t.id,t=>h`<calcite-alert .autoClose=${t.autoClose} .autoCloseDuration=${t.autoCloseDuration} .icon=${t.icon} .kind=${t.kind} .label=${t.title||""} @calciteAlertClose=${()=>this._removeGlobalAlert(t.id)} open>${t.title&&h`<div slot=title>${t.title}</div>`||""}<div slot=message>${t.message}</div></calcite-alert>`)}async _handleAuthInit(t){let e=t.detail;e.telemetrySession||(e.telemetrySession=y.getDisabledSession()),this._configContextProvider.setValue(e),e.authentication&&(this.authentication=e.authentication),this._cardFetcherDeployed=new T(e.locale,e.orgUrl,e.portalURL),this._cardsFetcher=new T(e.locale,e.orgUrl,e.portalURL),this._isDisconnectedEnvironment||await this._getSolutions(e.primarySolutionsGroupId,e.agoBasedEnterpriseSolutionsGroupId),this._configContextProvider.value.allCards=this._allCards,this._configContextProvider.value.anonAgolSession=this._cardsFetcher.anonAgolSession,this._configContextProvider.value.agolPortalUrl=this._cardsFetcher.agolPortalUrl,await this._initializeTelemetry(),this._isLoaded=!0,this._setRefreshInterval(),this._initTab?(this.selectTab(this._initTab,this._initFilters),this._logTabViewTelemetry(this._initTab.tabType),this._initTab=void 0,this._initFilters=void 0):this.authentication?.IsSignedIn&&(this.initTab==="details"||this.initTab==="deployed-card"||(this._logTabViewTelemetry(this._activeTab),this._emitMetaTagStrings(this._activeTab)))}_setActiveTab(t){let e=t.detail.tabType,s=this._activeTab!==e;switch(this._activeTab=e,s&&this._logTabViewTelemetry(e),e){case"all-solutions":this._allTabTitle.value?.click();break;case"deployments":this._mySolutionsTabTitle.value?.click();break;case"resources":this._resourcesTabTitle.value?.click();break;case"deployed-card":this._deployedCardTabTitle.value?.click();break;case"details":this._detailsTabTitle.value?.click();break}e!=="details"&&e!=="deployed-card"&&(this._deployAppNav.value.activateMenuItem(e),this.deployAppTabSelected.emit(e),this._emitMetaTagStrings(e))}_logTabViewTelemetry(t,e){let s;switch(t){case"all-solutions":s=c.ALL_SOLUTIONS;break;case"deployments":s=c.DEPLOYMENTS;break;case"resources":s=c.RESOURCES;break;case"details":s=c.SOLUTION_DETAILS;break;case"deployed-card":s=c.DEPLOYMENTS;break}if(!((t==="details"||t==="deployed-card")&&!e)&&s){let i=[];if((t==="details"||t==="deployed-card")&&e){let n=e;i.push(n.title||""),i.push(n.deployCommonId||""),i.push(n.deployVersion||"")}let o=t==="deployed-card"?"Open":"View";this._telemetry?.logEvent({category:s,action:o,dimensions:i.length>0?i:void 0})}}_emitMetaTagStrings(t,e){let s="",i="";switch(t){case"all-solutions":s=this._translations.metaAllSolutionsTitle,i=this._translations.metaAllSolutionsDescription;break;case"deployments":case"deployed-card":s=this._translations.metaDeploymentsTitle,i=this._translations.metaDeploymentsDescription;break;case"resources":s=this._translations.metaResourcesTitle,i=this._translations.metaResourcesDescription;break;case"details":e&&(s=this._translations.metaDetailsTitle.replace("{title}",e.title),i=e.snippet);break}this.metaTagStringsReady.emit({pageType:t,title:s,description:i,detailTemplate:e})}_handleCalciteTabChanged(){this.tabChanged.emit(this._activeTab)}_detailsCardSelected(t){this._activeTab="details",this._detailsTabTitle.value.selected=!0,this._detailsTab.value.selected=!0,this._deployAppNav.value.clearMenuItems(),t?.detail&&(this._selectedDetailsCard=t.detail),this._logTabViewTelemetry("details",this._selectedDetailsCard),this._emitMetaTagStrings("details",this._selectedDetailsCard)}_deployedCardSelected(t){this._activeTab="deployed-card",this._deployedCardTabTitle.value.selected=!0,this._deployedCardTab.value.selected=!0,this._deployAppNav.value.clearMenuItems(),t?.detail?.card&&(this._selectedDeployedCard=t.detail.card),this._logTabViewTelemetry("deployed-card",this._selectedDeployedCard),this._emitMetaTagStrings("deployed-card")}_handleDeployedCardDisplay(t){let{card:e,cardRef:s}=t.detail;this.deployedCardSelected.emit({card:e,cardRef:s})}_handleShowGlobalAlert(t){let e=t.detail,s=e.id||`alert-${Date.now()}-${Math.random().toString(36).substr(2,9)}`;this._globalAlerts=[...this._globalAlerts,{...e,id:s}]}_removeGlobalAlert(t){this._globalAlerts=this._globalAlerts.filter(e=>e.id!==t)}async _initializeTelemetry(){let t=this._configContextProvider.value;if(!this.authentication||!t)return;let e=await this._telemetryManager.initializeTelemetry(this.authentication,t);this._configContextProvider.value.telemetrySession=e}async _getSolutions(t,e){if(this._isDisconnectedEnvironment)return[];this._abortController?(this._abortController.abort(),this._abortController=new AbortController):this._abortController=new AbortController;let s=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested,num:100},t,e,this._configContextProvider.value.userSession,this._configContextProvider.value.isEnterprise,this._abortController.signal,{num:1e3});return this._abortController=void 0,this._allCards.length===0&&s?.cards&&(this._allCards=s?.cards),this._allCards}async _getDeployedSolution(t){let e=this._configContextProvider.value.authentication,s=this._configContextProvider.value.userSession;if(e&&s&&e.IsSignedIn){this._abortControllerDeployed?(this._abortControllerDeployed.abort(),this._abortControllerDeployed=new AbortController):this._abortControllerDeployed=new AbortController;let i=A(e);try{let o=await R(e,s,this._cardsFetcher,this._cardFetcherDeployed,F,"created","desc",!1,[],[],this._abortControllerDeployed.signal,i?"My organization's solutions":"My solutions",t);o.cards.length===0||o.cards[0].typeKeywords.indexOf("Deployed")<0?(this._deployCardFetchFailedMessage=this._translations.failedToFetchNotSolution.replace("{{ITEMID}}",t),this._showDeployedCardFetchFailed=!0):this._deployedSolutions=o}catch(o){let n=o.message;n.indexOf("CONT_0001")>-1||n.indexOf("Item does not exist or is inaccessible.")>-1?(this._deployCardFetchFailedMessage=this._translations.failedToFetchWrongId.replace("{{ITEMID}}",t),this._showDeployedCardFetchFailed=!0):n.indexOf("GWM_0003")>-1||n.indexOf("You do not have permissions to access this resource or perform this operation.")>-1?(this._deployCardFetchFailedMessage=this._translations.failedToFetchWrongPermissions.replace("{{ITEMID}}",t),this._showDeployedCardFetchFailed=!0):(this._showDeployedCardFetchFailed=!0,this._deployCardFetchFailedMessage=""),console.warn(o)}}}_blurTabs(){this._allTabTitle.value?.blur(),this._resourcesTabTitle.value?.blur(),this._detailsTabTitle.value?.blur(),this._mySolutionsTabTitle.value?.blur()}_isSearchToolbarShowing(){return this._activeTab==="all-solutions"||this._activeTab==="deployments"&&this.authentication?.IsSignedIn===!0}_getDefaultSearchOptions(t){let e;if(t){let s=t.domain,i=t.industry==="AEC"?O.AEC:t.industry,o=t.offerType,n=t.searchTerm,E="",r=t.sortField,b=t.owner,_=t.filter;r==="suggested"&&!this.authentication?.IsSignedIn&&(r=this.sortType),e=s||i?{type:s?"domain":i?"industry":""}:void 0,s&&(e=e?{...e,domain:s}:{domain:s}),i&&(e=e?{...e,industry:i}:{industry:i}),n&&(e=e?{...e,searchTerm:n}:{searchTerm:n}),e&&(e={...e,displayValue:E}),r&&(e=e?{...e,sortType:r}:{sortType:r}),o&&(r=o.toLowerCase(),e=e?{...e,sortType:r}:{sortType:r}),b&&(e=e?{...e,owner:b}:{owner:b}),_&&(e=e?{...e,filter:_}:{filter:_})}return e}_setScrollbarGutters(t="stable both-edges"){[this._allTab,this._mySolutionsTab,this._resourcesTab,this._detailsTab,this._deployedCardTab].forEach(e=>{let s=e.value?.shadowRoot?.firstElementChild;s?.style&&(s.style.scrollbarGutter=t)})}_setRefreshInterval(){let{userSession:t,authentication:e}=this._configContextProvider.value;if(t&&t.tokenDuration&&e?.IsSignedIn){let s=Date.now(),i=(e.Credential?.expires-s)*.95;setInterval(async()=>{if(e.Credential&&e.Credential.expires){await e.Credential?.refreshToken();let o=new Date(e.Credential.expires);t.updateToken(e.Credential.token,o),this.sessionRefreshed.emit(t.token)}},i)}}};f("solutions-deploy-app",m);return m},"identity/IdentityManager","identity/OAuthInfo","portal/Portal","intl",b,c,e,i,j,k,m,n,o,q,r,s)
@@ -1 +1 @@
1
- {"agentProgress":{"explorerAgentReading":"Reading through the documentation...","explorerAgentReviewing":"Reviewing what I found...","explorerAgentPreparing":"Preparing a response..."},"betaTag":"beta","defaultStartUpMessage":"<p>Hi {{name}}! I’m your ArcGIS Solutions assistant.</p><p>Whether you’re looking for the right solution to tackle a business challenge, or you have questions about ArcGIS Solutions — like how to deploy, configure, or use them — I’m here to help.</p><p>Tell me about what you’re working on, the challenges you’re facing, or a solution you’re curious about, and we’ll explore the best options together. Try one of these suggestions or type your question below.</p>","defaultFollowUpQuestions":{"engagePublic":"What solutions can help me engage the public?","howToDeploy":"How do I deploy an ArcGIS Solution?","solutionsForEmergencies":"What solutions are available for emergency management?"},"disclaimerMessage":"Responses are generated by AI and may be inaccurate.","executingSolutionsExplorerAgent":"Searching ArcGIS Solutions documentation..","executingSolutionsAssistantAgent":"Preparing a response...","genericErrorMessage":"I'm sorry, I ran into a problem with your request. Please try again, or rephrase your question for better results.","newConversationStarted":"New conversation started","noPermissionTitle":"ArcGIS Solutions assistant (beta) is not available.","noPermissionMessage":"To use the ArcGIS Solutions assistant (beta), an <a href='{{orgUrl}}' target='_blank'>ArcGIS Online organizational account</a> with privileges to use AI assistants is required. Other account types, such as public accounts, are not currently supported. In addition, your ArcGIS Online administrator must <a href='{{configAI}}' target='_blank'>configure AI assistants</a>.","reportConcern":"Report a security concern.","solutionsDocReference":"reference","solutionsDocReferences":"references","sendMessage":"Type your question","solutionAssistantTitle":"ArcGIS Solutions assistant","signIn":"Sign in","signInMessage":"Sign in with your ArcGIS account to start using the ArcGIS Solutions assistant (beta).","tooltips":{"likeButton":"Positive feeback","dislikeButton":"Negative feedback","copyButton":"Copy","newConversation":"New conversation","sendQuestion":"Send"},"viewSolutionInApp":"View solution"}
1
+ {"agentProgress":{"explorerAgentReading":"Reading through the documentation...","explorerAgentReviewing":"Reviewing what I found...","explorerAgentPreparing":"Preparing a response..."},"betaTag":"beta","defaultStartUpMessage":"<p>Hi {{name}}! I’m your ArcGIS Solutions assistant.</p><p>Whether you’re looking for the right solution to tackle a business challenge, or you have questions about ArcGIS Solutions — like how to deploy, configure, or use them — I’m here to help.</p><p>Tell me about what you’re working on, the challenges you’re facing, or a solution you’re curious about, and we’ll explore the best options together. Try one of these suggestions or type your question below.</p>","defaultFollowUpQuestions":{"engagePublic":"What solutions can help me engage the public?","howToDeploy":"How do I deploy an ArcGIS Solution?","solutionsForEmergencies":"What solutions are available for emergency management?"},"disclaimerMessage":"Responses are generated by AI and may be inaccurate.","executingSolutionsExplorerAgent":"Searching ArcGIS Solutions documentation..","executingSolutionsAssistantAgent":"Preparing a response...","genericErrorMessage":"I'm sorry, I ran into a problem with your request. Please try again, or rephrase your question for better results.","newConversationStarted":"New conversation started","noPermissionTitle":"ArcGIS Solutions assistant (beta) is not available.","noPermissionMessage":"To use the ArcGIS Solutions assistant (beta), an <a href='{{orgUrl}}' target='_blank'>ArcGIS Online organizational account</a> with privileges to use AI assistants is required. Other account types, such as public accounts, are not currently supported. In addition, your ArcGIS Online administrator must <a href='{{configAI}}' target='_blank'>configure AI assistants</a>.","reportConcern":"Report a security concern.","solutionsDocReference":"reference","solutionsDocReferences":"references","sendMessage":"Type your question","solutionAssistantTitle":"ArcGIS Solutions assistant","signIn":"Sign in","signInMessage":"Sign in with your ArcGIS account to start using the ArcGIS Solutions assistant (beta).","tooltips":{"close":"Close","likeButton":"Positive feeback","dislikeButton":"Negative feedback","copyButton":"Copy","newConversation":"New conversation","sendQuestion":"Send"},"viewSolutionInApp":"View solution","beta":"Beta"}
@@ -1 +1 @@
1
- {"agentProgress":{"explorerAgentReading":"Reading through the documentation...","explorerAgentReviewing":"Reviewing what I found...","explorerAgentPreparing":"Preparing a response..."},"betaTag":"beta","defaultStartUpMessage":"<p>Hi {{name}}! I’m your ArcGIS Solutions assistant.</p><p>Whether you’re looking for the right solution to tackle a business challenge, or you have questions about ArcGIS Solutions — like how to deploy, configure, or use them — I’m here to help.</p><p>Tell me about what you’re working on, the challenges you’re facing, or a solution you’re curious about, and we’ll explore the best options together. Try one of these suggestions or type your question below.</p>","defaultFollowUpQuestions":{"engagePublic":"What solutions can help me engage the public?","howToDeploy":"How do I deploy an ArcGIS Solution?","solutionsForEmergencies":"What solutions are available for emergency management?"},"disclaimerMessage":"Responses are generated by AI and may be inaccurate.","executingSolutionsExplorerAgent":"Searching ArcGIS Solutions documentation..","executingSolutionsAssistantAgent":"Preparing a response...","genericErrorMessage":"I'm sorry, I ran into a problem with your request. Please try again, or rephrase your question for better results.","newConversationStarted":"New conversation started","noPermissionTitle":"ArcGIS Solutions assistant (beta) is not available.","noPermissionMessage":"To use the ArcGIS Solutions assistant (beta), an <a href='{{orgUrl}}' target='_blank'>ArcGIS Online organizational account</a> with privileges to use AI assistants is required. Other account types, such as public accounts, are not currently supported. In addition, your ArcGIS Online administrator must <a href='{{configAI}}' target='_blank'>configure AI assistants</a>.","reportConcern":"Report a security concern.","solutionsDocReference":"reference","solutionsDocReferences":"references","sendMessage":"Type your question","solutionAssistantTitle":"ArcGIS Solutions assistant","signIn":"Sign in","signInMessage":"Sign in with your ArcGIS account to start using the ArcGIS Solutions assistant (beta).","tooltips":{"likeButton":"Positive feeback","dislikeButton":"Negative feedback","copyButton":"Copy","newConversation":"New conversation","sendQuestion":"Send"},"viewSolutionInApp":"View solution"}
1
+ {"agentProgress":{"explorerAgentReading":"Reading through the documentation...","explorerAgentReviewing":"Reviewing what I found...","explorerAgentPreparing":"Preparing a response..."},"betaTag":"beta","defaultStartUpMessage":"<p>Hi {{name}}! I’m your ArcGIS Solutions assistant.</p><p>Whether you’re looking for the right solution to tackle a business challenge, or you have questions about ArcGIS Solutions — like how to deploy, configure, or use them — I’m here to help.</p><p>Tell me about what you’re working on, the challenges you’re facing, or a solution you’re curious about, and we’ll explore the best options together. Try one of these suggestions or type your question below.</p>","defaultFollowUpQuestions":{"engagePublic":"What solutions can help me engage the public?","howToDeploy":"How do I deploy an ArcGIS Solution?","solutionsForEmergencies":"What solutions are available for emergency management?"},"disclaimerMessage":"Responses are generated by AI and may be inaccurate.","executingSolutionsExplorerAgent":"Searching ArcGIS Solutions documentation..","executingSolutionsAssistantAgent":"Preparing a response...","genericErrorMessage":"I'm sorry, I ran into a problem with your request. Please try again, or rephrase your question for better results.","newConversationStarted":"New conversation started","noPermissionTitle":"ArcGIS Solutions assistant (beta) is not available.","noPermissionMessage":"To use the ArcGIS Solutions assistant (beta), an <a href='{{orgUrl}}' target='_blank'>ArcGIS Online organizational account</a> with privileges to use AI assistants is required. Other account types, such as public accounts, are not currently supported. In addition, your ArcGIS Online administrator must <a href='{{configAI}}' target='_blank'>configure AI assistants</a>.","reportConcern":"Report a security concern.","solutionsDocReference":"reference","solutionsDocReferences":"references","sendMessage":"Type your question","solutionAssistantTitle":"ArcGIS Solutions assistant","signIn":"Sign in","signInMessage":"Sign in with your ArcGIS account to start using the ArcGIS Solutions assistant (beta).","tooltips":{"close":"Close","likeButton":"Positive feeback","dislikeButton":"Negative feedback","copyButton":"Copy","newConversation":"New conversation","sendQuestion":"Send"},"viewSolutionInApp":"View solution","beta":"Beta"}
@@ -1 +1 @@
1
- {"allSolutions":"Solutions","failedToOpen":"Failed to open deployed solution","failedToFetchWrongId":"The item {{ITEMID}} cannot be found. The item may have been deleted or you may have entered an incorrect URL.","failedToFetchWrongPermissions":"You do not have permissions to access the item {{ITEMID}}.","failedToFetchNotSolution":"The item {{ITEMID}} is not a deployed solution.","fetchingAllSolutions":"Fetching solutions","mySolutions":"My Solutions","solutionResources":"Resources","metaAllSolutionsTitle":"ArcGIS Solutions | Industry-Specific GIS Configurations","metaAllSolutionsDescription":"Explore ArcGIS Solutions — quickly deploy and configure GIS apps and workflows to improve operations, deliver insights, and maximize your ArcGIS investment.","metaDeploymentsTitle":"ArcGIS Solutions | Manage Your Deployments","metaDeploymentsDescription":"View, configure, and manage ArcGIS Solution deployments — keep workflows aligned with your organization's goals and ensure efficient, reliable operations.","metaResourcesTitle":"ArcGIS Solutions | Documentation, Blogs, Community & Support","metaResourcesDescription":"Find everything you need to succeed with ArcGIS Solutions — access documentation, blogs, videos, Esri Community, ArcGIS Ideas, and technical support resources.","metaDetailsTitle":"ArcGIS Solutions | {title}"}
1
+ {"allSolutions":"Solutions","failedToOpen":"Failed to open deployed solution","failedToFetchWrongId":"The item {{ITEMID}} cannot be found. The item may have been deleted or you may have entered an incorrect URL.","failedToFetchWrongPermissions":"You do not have permissions to access the item {{ITEMID}}.","failedToFetchNotSolution":"The item {{ITEMID}} is not a deployed solution.","fetchingAllSolutions":"Fetching solutions","mySolutions":"My Solutions","solutionResources":"Resources","metaAllSolutionsTitle":"ArcGIS Solutions | Industry-Specific GIS Configurations","metaAllSolutionsDescription":"Explore ArcGIS Solutions — quickly deploy and configure GIS apps and workflows to improve operations, deliver insights, and maximize your ArcGIS investment.","metaDeploymentsTitle":"ArcGIS Solutions | Manage Your Deployments","metaDeploymentsDescription":"View, configure, and manage ArcGIS Solution deployments — keep workflows aligned with your organization's goals and ensure efficient, reliable operations.","metaResourcesTitle":"ArcGIS Solutions | Documentation, Blogs, Community & Support","metaResourcesDescription":"Find everything you need to succeed with ArcGIS Solutions — access documentation, blogs, videos, Esri Community, ArcGIS Ideas, and technical support resources.","metaDetailsTitle":"ArcGIS Solutions | {title}","assistantFabTooltip":"Get help or build a solution with the ArcGIS Solutions assistant"}
@@ -1 +1 @@
1
- {"allSolutions":"Solutions","failedToOpen":"Failed to open deployed solution","failedToFetchWrongId":"The item {{ITEMID}} cannot be found. The item may have been deleted or you may have entered an incorrect URL.","failedToFetchWrongPermissions":"You do not have permissions to access the item {{ITEMID}}.","failedToFetchNotSolution":"The item {{ITEMID}} is not a deployed solution.","fetchingAllSolutions":"Fetching solutions","mySolutions":"My Solutions","solutionResources":"Resources","metaAllSolutionsTitle":"ArcGIS Solutions | Industry-Specific GIS Configurations","metaAllSolutionsDescription":"Explore ArcGIS Solutions — quickly deploy and configure GIS apps and workflows to improve operations, deliver insights, and maximize your ArcGIS investment.","metaDeploymentsTitle":"ArcGIS Solutions | Manage Your Deployments","metaDeploymentsDescription":"View, configure, and manage ArcGIS Solution deployments — keep workflows aligned with your organization's goals and ensure efficient, reliable operations.","metaResourcesTitle":"ArcGIS Solutions | Documentation, Blogs, Community & Support","metaResourcesDescription":"Find everything you need to succeed with ArcGIS Solutions — access documentation, blogs, videos, Esri Community, ArcGIS Ideas, and technical support resources.","metaDetailsTitle":"ArcGIS Solutions | {title}"}
1
+ {"allSolutions":"Solutions","failedToOpen":"Failed to open deployed solution","failedToFetchWrongId":"The item {{ITEMID}} cannot be found. The item may have been deleted or you may have entered an incorrect URL.","failedToFetchWrongPermissions":"You do not have permissions to access the item {{ITEMID}}.","failedToFetchNotSolution":"The item {{ITEMID}} is not a deployed solution.","fetchingAllSolutions":"Fetching solutions","mySolutions":"My Solutions","solutionResources":"Resources","metaAllSolutionsTitle":"ArcGIS Solutions | Industry-Specific GIS Configurations","metaAllSolutionsDescription":"Explore ArcGIS Solutions — quickly deploy and configure GIS apps and workflows to improve operations, deliver insights, and maximize your ArcGIS investment.","metaDeploymentsTitle":"ArcGIS Solutions | Manage Your Deployments","metaDeploymentsDescription":"View, configure, and manage ArcGIS Solution deployments — keep workflows aligned with your organization's goals and ensure efficient, reliable operations.","metaResourcesTitle":"ArcGIS Solutions | Documentation, Blogs, Community & Support","metaResourcesDescription":"Find everything you need to succeed with ArcGIS Solutions — access documentation, blogs, videos, Esri Community, ArcGIS Ideas, and technical support resources.","metaDetailsTitle":"ArcGIS Solutions | {title}","assistantFabTooltip":"Get help or build a solution with the ArcGIS Solutions assistant"}
package/dist/cdn/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{a}from"./FLLZBDVI.js";import{u as e}from"./F2JKSZOE.js";import"./QPIMTXPL.js";var o=e(a,{"arcgis-solutions-assistant":[()=>import("./DV2IPJEK.js"),"_translations:,open,userFirstName"],"buffer-tools":[()=>import("./OUHPCCIT.js"),"_translations:,appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],"card-manager":[()=>import("./RP36BC5U.js"),"_translations:,createBtnLabel,customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapView:,selectedFeaturesIds:,selectingFeatureFromMap,showSketchWidgets,zoomAndScrollToSelected"],"consent-manager":[()=>import("./EPQ6J23O.js"),"_translations:,amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],"create-feature":[()=>import("./GSF5ZZMH.js"),"_translations:,aiImageExtraction:,allowMultipleCreation,appName,customizeSubmit,enablePhotoLocation,enableSearch,enableSnapping,floorLevel,formElements,isMobile,mapView:,popupEnabled,reportingArea,reportingAreaLayer,reportingAreaMessage,searchConfiguration:,selectedLayerId,showGuidingMsg,showLayerVisibilityMsg,showSketchWidgets,submitNewReportsMessage,updateMapPosition;refresh,showForm,submit"],"create-related-feature":[()=>import("./Z2IT4SME.js"),"_translations:,customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],"crowdsource-manager":[()=>import("./XFKZOLUD.js"),"_translations:,appLayout,appProxies,basemapConfig:,coverPageEnabled,customInfoText,defaultAppLayout,defaultCenter,defaultGlobalId,defaultLayer,defaultLevel,defaultOid,defaultWebmap,enableAutoRefresh,enableBasemap,enableColumnReorder,enableCSV,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapList,enableSearch,enableSelectionTool,enableShare,enableSnapping,enableZoom,featureSelectionMode,honorMapFieldSettings,introductionWindowEnabled,mapInfos:,onlyShowUpdatableLayers,popupHeaderColor,popupHeaderHoverColor,popupHeaderHoverTextColor,popupHeaderTextColor,searchConfiguration:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,theme,visibilityIcon,zoomAndScrollToSelected,zoomToScale"],"crowdsource-reporter":[()=>import("./E5GNE67Z.js"),"_translations:,aiImageExtraction:,center,commentButtonText,commentSubmittedMessage,defaultWebmap,description,enableAnonymousAccess,enableAnonymousComments,enableComments,enableHome,enableLogin,enableNewReports,enablePhotoLocation,enableSearch,enableSnapping,enableZoom,filterByMapExtent,floorLevel,isMobile,layerExpressions:,layerId,level,loginTitle,mapInfos:,mapView:,objectId,reportButtonText,reportingArea,reportingAreaLayer,reportingAreaMessage,reportingOptions:,reportsHeader,reportSubmittedMessage,searchConfiguration:,showComments,showFeatureSymbol,showFullCommentTitle,showMyReportsOnly,showUserImageInCommentsList,sortOption,submitNewReportsMessage,theme,zoomToScale;updateLayerExpressionsT9n"],"deduct-calculator":[()=>import("./L6QPBIO3.js")],"delete-button":[()=>import("./Q2IHGYKB.js"),"_translations:,buttonType,deleteDialog,disabled,icon,ids:,layer:,showDeleteCount"],"delete-dialog":[()=>import("./FEMACR5Y.js"),"_translations:,ids:,layer:,open"],"edit-card":[()=>import("./FRE445LD.js"),"_translations:,allowMultipleEditing,enableEditGeometry,enableSnapping,graphicIndex,graphics:,mapView:,open"],"feature-details":[()=>import("./CUY7MQY5.js"),"enableSnapping,graphics:,layerItemsHash:,mapView:,reportingOptions:,showFullCommentTitle,showUserImageInCommentsList;back,next,refresh,toggleListView"],"feature-list":[()=>import("./QSUXQICI.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,highlightOnHover,highlightOnMap,mapView:,noFeaturesFoundMsg,pageSize,reportingOptions:,selectedLayerId,showErrorWhenNoFeatures,showFeatureSymbol,showFullTitle,showInitialLoading,showUserImageInList,sortingInfo:,textSize,whereClause;refresh"],"field-selection":[()=>import("./6LHM6EFD.js"),"_translations:,configExtraFields,layer:,mapView:,table:,tableRef:"],"info-card":[()=>import("./GBTCFOFN.js"),"_translations:,allowEditing,enableEditGeometry,enableSnapping,graphics:,highlightEnabled,isLoading,isMobile,mapView:,paginationEnabled,position,showCloseBtn;back,getSelectedFeature,next,refresh,toggleListView,updateCurrentGraphic"],"layer-list":[()=>import("./TOU5OHUQ.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,layers:,mapView:,showFeatureCount,showNextIcon;refresh"],"layer-list-widget":[()=>import("./RQ2LHC5I.js"),"layerListWidget:,mapView:,visibilityIcon"],"layer-table":[()=>import("./PBWC3QFN.js"),"_translations:,appLayout,defaultGlobalId:,defaultLayerId,defaultOid:,enableAutoRefresh,enableColumnReorder,enableCSV,enableInlineEdit,enableShare,enableTableAutosave,featureSelectionMode,honorMapFieldSettings,isMobile,mapHidden,mapInfo:,mapView:,selectedIds:,selectedRelatedIds:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,showOnlyUpdatableLayers,zoomAndScrollToSelected,zoomToScale;closeFilter,filterReset,filterUpdate,refresh,setColumnOrder,validateActiveEdits,validateTableUpdate"],"map-basemap-gallery":[()=>import("./WQTF5JT3.js"),"basemapConfig:,basemapWidget:,mapView:"],"map-card":[()=>import("./JCTGE6OA.js"),"_translations:,appLayout,appProxies,basemapConfig:,defaultLayerId,defaultWebmapId,enableBasemap,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableShare,enableSingleExpand,featureSelectionMode,hide,isMapLayout,isMobile,mapInfo:,mapInfos:,mapToolsOrder:,mapView:,mapWidgetsIndex,mapWidgetsPosition,mapWidgetsSize,mobileMapWidgetsPosition,mobileToolsOrder:,selectedFeaturesIds:,selectedLayer:,shareIncludeEmbed,shareIncludeSocial,showOnlyUpdatableLayers,stackTools,theme,visibilityIcon,zoomToolsSize,zoomToScale;resetFilter,updateFilterState,updateLayer"],"map-draw-tools":[()=>import("./ZBRNLRN2.js"),"_translations:,active,drawMode,editGraphicsEnabled,graphics:,mapView:,pointSymbol:,polygonSymbol:,polylineSymbol:,redoEnabled,undoEnabled;clear,updateGraphics"],"map-floor-filter":[()=>import("./IUFEMLQM.js"),"enabled,floorFilterWidget:,mapView:"],"map-fullscreen":[()=>import("./PWAT4NDG.js"),"fullscreenWidget:,mapView:"],"map-layer-picker":[()=>import("./G5YR3YZQ.js"),"_translations:,appearance,configLayerOrderDefined,defaultLayerId,disabled,display,enabledLayerIds:,height,isMobile,mapView:,placeholderIcon,referenceElement,scale,selectedIds:,showLayersListInPopover,showOnlyUpdatableLayers,showSingleLayerAsLabel,showTables,showTablesDisabled,type;setLayerById,setLayerByIds,updateLayer"],"map-legend":[()=>import("./MMQLDIE7.js"),"legendWidget:,mapView:"],"map-picker":[()=>import("./FLQFNPOP.js"),"_translations:,height,isMapLayout,mapInfos:,referenceElement,selectedWebMapId,showMapListInPopover;close,setMapByID,toggle"],"map-search":[()=>import("./UNA43DT6.js"),"mapView:,popupEnabled,resultGraphicEnabled,searchConfiguration:,searchTerm,searchWidget:"],"map-select-tools":[()=>import("./CS4IGHMC.js"),"_translations:,bufferColor,bufferOutlineColor,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,enabledLayerIds:,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,geometries:,headerLabelClass,isUpdate,layerViews:,mapView:,noResultText,searchConfiguration:,searchDistanceEnabled,selectionLayerIds:,selectionSet:,selectLayerView:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:,useLayerFeaturesEnabled;clearSelection,getSelection"],"map-tools":[()=>import("./K2OB67JG.js"),"_translations:,basemapConfig:,defaultLayerId,enableBasemap,enabledLayerIds:,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableSingleExpand,isMobile,layout,mapInfo:,mapInfos:,mapView:,mapWidgetsSize,parentComponentHeight,parentComponentWidth,position,searchConfiguration:,selectedFeaturesIds:,selectedLayer:,selectedWebMapId,selectionTools:,showOnlyUpdatableLayers,stackTools,toolOrder:,visibilityIcon,zoomToolsSize"],"pci-calculator":[()=>import("./THSRTNBE.js")],"pdf-download":[()=>import("./O4JG6O2G.js"),"_translations:,defaultNumLabelsPerPage,disabled;downloadCSV,downloadPDF"],"public-notification":[()=>import("./4652XKVL.js"),"_translations:,addresseeLayerIds:,bufferColor,bufferOutlineColor,customExport,customExportURL,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,defaultExportTitle,defaultNumLabelsPerPage,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,featureEffect:,featureHighlightEnabled,initialNotice,mapView:,noResultText,searchConfiguration:,selectionLayerIds:,showRefineSelection,showSearchSettings,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"refine-selection":[()=>import("./F2YGRNTN.js"),"_translations:,addresseeLayer:,bufferColor,bufferOutlineColor,defaultBufferDistance,defaultBufferUnit,drawnGraphicsArr:,enabledLayerIds:,enableSearchDistance,enableSearchDistanceOnLoad,geometries:,mapView:,searchDistanceEnabled,selectionSets:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"selection-tool":[()=>import("./ODZNJZG5.js"),"mapView:,selectedLayerId,tool;toggleSelectionTool"],"solution-configure-titles":[()=>import("./42WASQMZ.js"),"_translations:,card:,open,solutionData,source,templateInfos:"],"solution-delete-dialog":[()=>import("./3XX5UDIU.js"),"_translations:,card:,open,source;;close,delete"],"solution-deploy-dialog":[()=>import("./I2AQZTRJ.js"),"_translations:,card:,debugFailDeployment,open,userOptions:;;close,deploy"],"solution-deployed-card":[()=>import("./SUN2LQ7K.js"),"_translations:,card:,deployedDate,description,diagramKey,heading,itemId,owner,templateInfos:,thumbnail,updateAvailable;getTemplates,renderDeleteDialog,renderDiagramDialog"],"solution-deployed-card-panel":[()=>import("./SMPEVMDE.js"),"_translations:,card:,cardRef,diagramKey,open,templateInfos:"],"solution-deploying-dialog":[()=>import("./XSNGR44R.js"),"_translations:,abortController:,card:,deploymentProgress,isWaitingForCard,open;;cancelDeployment,close,confirmCancel"],"solution-details-card":[()=>import("./GUKPMOPC.js"),"_translations:,card:,referrerSolutionId,referrerSolutionTitle,referrerSolutionVersion,source"],"solution-details-panel":[()=>import("./A6L4SLVT.js"),"_translations:,card:"],"solution-item-accordion":[()=>import("./65Q3GK3L.js"),"_translations:,itemRelationshipDependencies:,linkType,listSelectionMode,reuseWarning,templateInfos:,typeKeywords:;collapseAll,deselectAll,expandFirstItem,expandItemById,expandItems,selectFirstItem,selectItem,selectItems"],"solution-item-diagram":[()=>import("./7WQMX5XY.js"),"_translations:,diagramKey,templateInfoGraph:,typeKeywords:"],"solution-item-icon":[()=>import("./RVKS24LF.js"),"isPortal,type,typeKeywords:"],"solution-resource-card":[()=>import("./3XPKAEMR.js"),"_translations:,description,heading,headingEn,icon,meridianIcon,sectionHeadingEn,url"],"solution-snapshot-gallery":[()=>import("./BXXN7BIC.js"),"_translations:,card:,itemProperties:,open,screenshot:"],"solution-social-share":[()=>import("./OPJPVHX6.js"),"_translations:,actionApperance,autoUpdateShareUrl,buttonAppearance,inlineSuccessPopoverPlacement,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonKind,shareButtonScale,shareButtonText,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,solutionId,solutionTitle,solutionVersion,successMessage"],"solution-user-avatar":[()=>import("./TYSZL2RK.js"),"fullname,lookupProfile,thumbnailUrl,username"],"solutions-all-panel":[()=>import("./3CEPDBZC.js"),"_translations:,sortType;searchSolutions,setSearchOptions"],"solutions-all-shell":[()=>import("./TMRCJ23T.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-deploy-app":[()=>import("./ZPKQMASX.js"),"_translations:,appConfig,initTab,initTitleOrId,sortType,useLocalAppConfig;selectTab"],"solutions-deploy-app-nav":[()=>import("./ZH6LQCHJ.js"),"_translations:,appConfig,initTab;;activateMenuItem,clearMenuItems"],"solutions-deployed-panel":[()=>import("./V75TSZXZ.js"),"_translations:,sortType;reload,searchSolutions,setSearchOptions"],"solutions-deployed-shell":[()=>import("./WLKDLZCS.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-filter-panel":[()=>import("./DVCONGYS.js"),"_translations:,hideIndustryFilter,isAIDialogOpen,showReset;;changeIndustryFilter,clearFilters"],"solutions-resources-section":[()=>import("./4YB7FA37.js"),"cards,heading,subheading"],"solutions-resources-shell":[()=>import("./WFZYVS4A.js"),"_translations:"],"solutions-searchsort-toolbar":[()=>import("./CACSAX3Q.js"),"_translations:,defaultSortType,isOrgSolutions,scope;;changeOwnerFilter,changeSearchFilter,sortChanged"]});o({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync("@layer{:not([hydrated]):is(arcgis-solutions-assistant,buffer-tools,card-manager,consent-manager,create-feature,create-related-feature,crowdsource-manager,crowdsource-reporter,deduct-calculator,delete-button,delete-dialog,edit-card,feature-details,feature-list,field-selection,info-card,layer-list,layer-list-widget,layer-table,map-basemap-gallery,map-card,map-draw-tools,map-floor-filter,map-fullscreen,map-layer-picker,map-legend,map-picker,map-search,map-select-tools,map-tools,pci-calculator,pdf-download,public-notification,refine-selection,selection-tool,solution-configure-titles,solution-delete-dialog,solution-deploy-dialog,solution-deployed-card,solution-deployed-card-panel,solution-deploying-dialog,solution-details-card,solution-details-panel,solution-item-accordion,solution-item-diagram,solution-item-icon,solution-resource-card,solution-snapshot-gallery,solution-social-share,solution-user-avatar,solutions-all-panel,solutions-all-shell,solutions-deploy-app,solutions-deploy-app-nav,solutions-deployed-panel,solutions-deployed-shell,solutions-filter-panel,solutions-resources-section,solutions-resources-shell,solutions-searchsort-toolbar){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,a)
2
+ import{a}from"./FLLZBDVI.js";import{u as e}from"./F2JKSZOE.js";import"./QPIMTXPL.js";var o=e(a,{"arcgis-solutions-assistant":[()=>import("./QX7YHRF5.js"),"_translations:,open,userFirstName"],"buffer-tools":[()=>import("./OUHPCCIT.js"),"_translations:,appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],"card-manager":[()=>import("./RP36BC5U.js"),"_translations:,createBtnLabel,customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapView:,selectedFeaturesIds:,selectingFeatureFromMap,showSketchWidgets,zoomAndScrollToSelected"],"consent-manager":[()=>import("./EPQ6J23O.js"),"_translations:,amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],"create-feature":[()=>import("./GSF5ZZMH.js"),"_translations:,aiImageExtraction:,allowMultipleCreation,appName,customizeSubmit,enablePhotoLocation,enableSearch,enableSnapping,floorLevel,formElements,isMobile,mapView:,popupEnabled,reportingArea,reportingAreaLayer,reportingAreaMessage,searchConfiguration:,selectedLayerId,showGuidingMsg,showLayerVisibilityMsg,showSketchWidgets,submitNewReportsMessage,updateMapPosition;refresh,showForm,submit"],"create-related-feature":[()=>import("./Z2IT4SME.js"),"_translations:,customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],"crowdsource-manager":[()=>import("./XFKZOLUD.js"),"_translations:,appLayout,appProxies,basemapConfig:,coverPageEnabled,customInfoText,defaultAppLayout,defaultCenter,defaultGlobalId,defaultLayer,defaultLevel,defaultOid,defaultWebmap,enableAutoRefresh,enableBasemap,enableColumnReorder,enableCSV,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapList,enableSearch,enableSelectionTool,enableShare,enableSnapping,enableZoom,featureSelectionMode,honorMapFieldSettings,introductionWindowEnabled,mapInfos:,onlyShowUpdatableLayers,popupHeaderColor,popupHeaderHoverColor,popupHeaderHoverTextColor,popupHeaderTextColor,searchConfiguration:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,theme,visibilityIcon,zoomAndScrollToSelected,zoomToScale"],"crowdsource-reporter":[()=>import("./E5GNE67Z.js"),"_translations:,aiImageExtraction:,center,commentButtonText,commentSubmittedMessage,defaultWebmap,description,enableAnonymousAccess,enableAnonymousComments,enableComments,enableHome,enableLogin,enableNewReports,enablePhotoLocation,enableSearch,enableSnapping,enableZoom,filterByMapExtent,floorLevel,isMobile,layerExpressions:,layerId,level,loginTitle,mapInfos:,mapView:,objectId,reportButtonText,reportingArea,reportingAreaLayer,reportingAreaMessage,reportingOptions:,reportsHeader,reportSubmittedMessage,searchConfiguration:,showComments,showFeatureSymbol,showFullCommentTitle,showMyReportsOnly,showUserImageInCommentsList,sortOption,submitNewReportsMessage,theme,zoomToScale;updateLayerExpressionsT9n"],"deduct-calculator":[()=>import("./L6QPBIO3.js")],"delete-button":[()=>import("./Q2IHGYKB.js"),"_translations:,buttonType,deleteDialog,disabled,icon,ids:,layer:,showDeleteCount"],"delete-dialog":[()=>import("./FEMACR5Y.js"),"_translations:,ids:,layer:,open"],"edit-card":[()=>import("./FRE445LD.js"),"_translations:,allowMultipleEditing,enableEditGeometry,enableSnapping,graphicIndex,graphics:,mapView:,open"],"feature-details":[()=>import("./CUY7MQY5.js"),"enableSnapping,graphics:,layerItemsHash:,mapView:,reportingOptions:,showFullCommentTitle,showUserImageInCommentsList;back,next,refresh,toggleListView"],"feature-list":[()=>import("./QSUXQICI.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,highlightOnHover,highlightOnMap,mapView:,noFeaturesFoundMsg,pageSize,reportingOptions:,selectedLayerId,showErrorWhenNoFeatures,showFeatureSymbol,showFullTitle,showInitialLoading,showUserImageInList,sortingInfo:,textSize,whereClause;refresh"],"field-selection":[()=>import("./6LHM6EFD.js"),"_translations:,configExtraFields,layer:,mapView:,table:,tableRef:"],"info-card":[()=>import("./GBTCFOFN.js"),"_translations:,allowEditing,enableEditGeometry,enableSnapping,graphics:,highlightEnabled,isLoading,isMobile,mapView:,paginationEnabled,position,showCloseBtn;back,getSelectedFeature,next,refresh,toggleListView,updateCurrentGraphic"],"layer-list":[()=>import("./TOU5OHUQ.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,layers:,mapView:,showFeatureCount,showNextIcon;refresh"],"layer-list-widget":[()=>import("./RQ2LHC5I.js"),"layerListWidget:,mapView:,visibilityIcon"],"layer-table":[()=>import("./PBWC3QFN.js"),"_translations:,appLayout,defaultGlobalId:,defaultLayerId,defaultOid:,enableAutoRefresh,enableColumnReorder,enableCSV,enableInlineEdit,enableShare,enableTableAutosave,featureSelectionMode,honorMapFieldSettings,isMobile,mapHidden,mapInfo:,mapView:,selectedIds:,selectedRelatedIds:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,showOnlyUpdatableLayers,zoomAndScrollToSelected,zoomToScale;closeFilter,filterReset,filterUpdate,refresh,setColumnOrder,validateActiveEdits,validateTableUpdate"],"map-basemap-gallery":[()=>import("./WQTF5JT3.js"),"basemapConfig:,basemapWidget:,mapView:"],"map-card":[()=>import("./JCTGE6OA.js"),"_translations:,appLayout,appProxies,basemapConfig:,defaultLayerId,defaultWebmapId,enableBasemap,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableShare,enableSingleExpand,featureSelectionMode,hide,isMapLayout,isMobile,mapInfo:,mapInfos:,mapToolsOrder:,mapView:,mapWidgetsIndex,mapWidgetsPosition,mapWidgetsSize,mobileMapWidgetsPosition,mobileToolsOrder:,selectedFeaturesIds:,selectedLayer:,shareIncludeEmbed,shareIncludeSocial,showOnlyUpdatableLayers,stackTools,theme,visibilityIcon,zoomToolsSize,zoomToScale;resetFilter,updateFilterState,updateLayer"],"map-draw-tools":[()=>import("./ZBRNLRN2.js"),"_translations:,active,drawMode,editGraphicsEnabled,graphics:,mapView:,pointSymbol:,polygonSymbol:,polylineSymbol:,redoEnabled,undoEnabled;clear,updateGraphics"],"map-floor-filter":[()=>import("./IUFEMLQM.js"),"enabled,floorFilterWidget:,mapView:"],"map-fullscreen":[()=>import("./PWAT4NDG.js"),"fullscreenWidget:,mapView:"],"map-layer-picker":[()=>import("./G5YR3YZQ.js"),"_translations:,appearance,configLayerOrderDefined,defaultLayerId,disabled,display,enabledLayerIds:,height,isMobile,mapView:,placeholderIcon,referenceElement,scale,selectedIds:,showLayersListInPopover,showOnlyUpdatableLayers,showSingleLayerAsLabel,showTables,showTablesDisabled,type;setLayerById,setLayerByIds,updateLayer"],"map-legend":[()=>import("./MMQLDIE7.js"),"legendWidget:,mapView:"],"map-picker":[()=>import("./FLQFNPOP.js"),"_translations:,height,isMapLayout,mapInfos:,referenceElement,selectedWebMapId,showMapListInPopover;close,setMapByID,toggle"],"map-search":[()=>import("./UNA43DT6.js"),"mapView:,popupEnabled,resultGraphicEnabled,searchConfiguration:,searchTerm,searchWidget:"],"map-select-tools":[()=>import("./CS4IGHMC.js"),"_translations:,bufferColor,bufferOutlineColor,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,enabledLayerIds:,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,geometries:,headerLabelClass,isUpdate,layerViews:,mapView:,noResultText,searchConfiguration:,searchDistanceEnabled,selectionLayerIds:,selectionSet:,selectLayerView:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:,useLayerFeaturesEnabled;clearSelection,getSelection"],"map-tools":[()=>import("./K2OB67JG.js"),"_translations:,basemapConfig:,defaultLayerId,enableBasemap,enabledLayerIds:,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableSingleExpand,isMobile,layout,mapInfo:,mapInfos:,mapView:,mapWidgetsSize,parentComponentHeight,parentComponentWidth,position,searchConfiguration:,selectedFeaturesIds:,selectedLayer:,selectedWebMapId,selectionTools:,showOnlyUpdatableLayers,stackTools,toolOrder:,visibilityIcon,zoomToolsSize"],"pci-calculator":[()=>import("./THSRTNBE.js")],"pdf-download":[()=>import("./O4JG6O2G.js"),"_translations:,defaultNumLabelsPerPage,disabled;downloadCSV,downloadPDF"],"public-notification":[()=>import("./4652XKVL.js"),"_translations:,addresseeLayerIds:,bufferColor,bufferOutlineColor,customExport,customExportURL,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,defaultExportTitle,defaultNumLabelsPerPage,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,featureEffect:,featureHighlightEnabled,initialNotice,mapView:,noResultText,searchConfiguration:,selectionLayerIds:,showRefineSelection,showSearchSettings,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"refine-selection":[()=>import("./F2YGRNTN.js"),"_translations:,addresseeLayer:,bufferColor,bufferOutlineColor,defaultBufferDistance,defaultBufferUnit,drawnGraphicsArr:,enabledLayerIds:,enableSearchDistance,enableSearchDistanceOnLoad,geometries:,mapView:,searchDistanceEnabled,selectionSets:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"selection-tool":[()=>import("./ODZNJZG5.js"),"mapView:,selectedLayerId,tool;toggleSelectionTool"],"solution-configure-titles":[()=>import("./42WASQMZ.js"),"_translations:,card:,open,solutionData,source,templateInfos:"],"solution-delete-dialog":[()=>import("./3XX5UDIU.js"),"_translations:,card:,open,source;;close,delete"],"solution-deploy-dialog":[()=>import("./I2AQZTRJ.js"),"_translations:,card:,debugFailDeployment,open,userOptions:;;close,deploy"],"solution-deployed-card":[()=>import("./SUN2LQ7K.js"),"_translations:,card:,deployedDate,description,diagramKey,heading,itemId,owner,templateInfos:,thumbnail,updateAvailable;getTemplates,renderDeleteDialog,renderDiagramDialog"],"solution-deployed-card-panel":[()=>import("./BWTBRONP.js"),"_translations:,card:,cardRef,diagramKey,open,templateInfos:"],"solution-deploying-dialog":[()=>import("./XSNGR44R.js"),"_translations:,abortController:,card:,deploymentProgress,isWaitingForCard,open;;cancelDeployment,close,confirmCancel"],"solution-details-card":[()=>import("./GUKPMOPC.js"),"_translations:,card:,referrerSolutionId,referrerSolutionTitle,referrerSolutionVersion,source"],"solution-details-panel":[()=>import("./COTZWDC3.js"),"_translations:,card:"],"solution-item-accordion":[()=>import("./65Q3GK3L.js"),"_translations:,itemRelationshipDependencies:,linkType,listSelectionMode,reuseWarning,templateInfos:,typeKeywords:;collapseAll,deselectAll,expandFirstItem,expandItemById,expandItems,selectFirstItem,selectItem,selectItems"],"solution-item-diagram":[()=>import("./7WQMX5XY.js"),"_translations:,diagramKey,templateInfoGraph:,typeKeywords:"],"solution-item-icon":[()=>import("./RVKS24LF.js"),"isPortal,type,typeKeywords:"],"solution-resource-card":[()=>import("./3XPKAEMR.js"),"_translations:,description,heading,headingEn,icon,meridianIcon,sectionHeadingEn,url"],"solution-snapshot-gallery":[()=>import("./BXXN7BIC.js"),"_translations:,card:,itemProperties:,open,screenshot:"],"solution-social-share":[()=>import("./OPJPVHX6.js"),"_translations:,actionApperance,autoUpdateShareUrl,buttonAppearance,inlineSuccessPopoverPlacement,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonKind,shareButtonScale,shareButtonText,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,solutionId,solutionTitle,solutionVersion,successMessage"],"solution-user-avatar":[()=>import("./TYSZL2RK.js"),"fullname,lookupProfile,thumbnailUrl,username"],"solutions-all-panel":[()=>import("./XEQSHS4A.js"),"_translations:,sortType;searchSolutions,setSearchOptions"],"solutions-all-shell":[()=>import("./GYQ22PJ6.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-deploy-app":[()=>import("./ZSPRUX4H.js"),"_translations:,appConfig,initTab,initTitleOrId,sortType,useLocalAppConfig;selectTab"],"solutions-deploy-app-nav":[()=>import("./WR3YNDFH.js"),"_translations:,appConfig,assistantOpen,initTab;;activateMenuItem,clearMenuItems"],"solutions-deployed-panel":[()=>import("./CR2XUUG5.js"),"_translations:,sortType;reload,searchSolutions,setSearchOptions"],"solutions-deployed-shell":[()=>import("./V7UWSW6U.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-filter-panel":[()=>import("./XY4HNUJE.js"),"_translations:,hideIndustryFilter,showReset;;changeIndustryFilter,clearFilters"],"solutions-resources-section":[()=>import("./4YB7FA37.js"),"cards,heading,subheading"],"solutions-resources-shell":[()=>import("./M6ZFMO6K.js"),"_translations:,assistantOpen"],"solutions-searchsort-toolbar":[()=>import("./CACSAX3Q.js"),"_translations:,defaultSortType,isOrgSolutions,scope;;changeOwnerFilter,changeSearchFilter,sortChanged"]});o({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync("@layer{:not([hydrated]):is(arcgis-solutions-assistant,buffer-tools,card-manager,consent-manager,create-feature,create-related-feature,crowdsource-manager,crowdsource-reporter,deduct-calculator,delete-button,delete-dialog,edit-card,feature-details,feature-list,field-selection,info-card,layer-list,layer-list-widget,layer-table,map-basemap-gallery,map-card,map-draw-tools,map-floor-filter,map-fullscreen,map-layer-picker,map-legend,map-picker,map-search,map-select-tools,map-tools,pci-calculator,pdf-download,public-notification,refine-selection,selection-tool,solution-configure-titles,solution-delete-dialog,solution-deploy-dialog,solution-deployed-card,solution-deployed-card-panel,solution-deploying-dialog,solution-details-card,solution-details-panel,solution-item-accordion,solution-item-diagram,solution-item-icon,solution-resource-card,solution-snapshot-gallery,solution-social-share,solution-user-avatar,solutions-all-panel,solutions-all-shell,solutions-deploy-app,solutions-deploy-app-nav,solutions-deployed-panel,solutions-deployed-shell,solutions-filter-panel,solutions-resources-section,solutions-resources-shell,solutions-searchsort-toolbar){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,a)
@@ -1,14 +1,12 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { c as v } from "./runtime.js";
2
+ import { c as I } from "./runtime.js";
3
3
  import { u as f } from "./useT9n.js";
4
- import { LitElement as y, createEvent as p, nothing as h } from "@arcgis/lumina";
5
- import { css as w, html as o, svg as M } from "lit";
6
- import { A as C } from "./Auth.js";
7
- import { _ as S, K as c, T as _, J as k } from "./helpers.js";
8
- import { createRef as a, ref as l } from "lit-html/directives/ref.js";
9
- import { UserSession as $ } from "@esri/solution-common";
10
- import { i as E } from "./deployAppContexts.js";
11
- import { useContextConsumer as T } from "@arcgis/lumina/context";
4
+ import { LitElement as y, createEvent as p, safeClassMap as w, nothing as h } from "@arcgis/lumina";
5
+ import { css as M, html as a, svg as C } from "lit";
6
+ import { A as S } from "./Auth.js";
7
+ import { _ as k, K as c, T as _, J as $ } from "./helpers.js";
8
+ import { createRef as o, ref as l } from "lit-html/directives/ref.js";
9
+ import { UserSession as E } from "@esri/solution-common";
12
10
  const u = {
13
11
  name: "arcgis-solutions-app",
14
12
  version: "2.0",
@@ -36,7 +34,7 @@ const u = {
36
34
  }
37
35
  }
38
36
  }
39
- }, I = "solutions-deployment-first-use";
37
+ }, v = "solutions-deployment-first-use";
40
38
  class g {
41
39
  constructor() {
42
40
  this._telemetryInstance = void 0, this._logTelemetryEvents = !1;
@@ -146,7 +144,7 @@ class g {
146
144
  if (!i) {
147
145
  if (!customElements.get("consent-manager"))
148
146
  return this.getTelemetrySession();
149
- i = document.createElement("consent-manager"), i.portal = e.Portal, i.measurementIds = t.measurementIds || [], i.firstUseVar = I;
147
+ i = document.createElement("consent-manager"), i.portal = e.Portal, i.measurementIds = t.measurementIds || [], i.firstUseVar = v;
150
148
  const r = g.getEnvironmentConfig(t, e);
151
149
  r && (i.amazonUserPoolID = r?.amazon?.userPoolID, i.amazonAppId = r?.amazon?.app?.id, i.amazonAppName = u.name, i.amazonVersion = u.version);
152
150
  const d = e.Portal?.eueiEnabled;
@@ -182,7 +180,7 @@ class g {
182
180
  */
183
181
  static shouldEnableTelemetry(e, t) {
184
182
  const n = e?.IsEnterprisePortal;
185
- return e?.Portal?.eueiEnabled === !1 || n ? !1 : !!((t.measurementIds || u) && I);
183
+ return e?.Portal?.eueiEnabled === !1 || n ? !1 : !!((t.measurementIds || u) && v);
186
184
  }
187
185
  /**
188
186
  * Get the environment-specific telemetry configuration
@@ -192,29 +190,27 @@ class g {
192
190
  * @returns The telemetry options for the current environment, or undefined
193
191
  */
194
192
  static getEnvironmentConfig(e, t) {
195
- const n = e.forceTrackingEnv || S(
193
+ const n = e.forceTrackingEnv || k(
196
194
  document.location.hostname,
197
195
  t?.Portal?.portalHostname || ""
198
196
  );
199
197
  return n && Object.keys(u).includes(n) ? u[n] : void 0;
200
198
  }
201
199
  }
202
- const A = w`.esri-global-nav__title{margin-block-start:0;position:relative;margin-bottom:0;font-size:var(--calcite-font-size-xl);font-weight:var(--calcite-font-weight-medium);padding-inline-end:var(--calcite-spacing-xxl);align-self:center;height:100%;display:flex;align-items:center}.esri-global-nav__logo-link{color:var(--calcite-color-text-1);text-decoration:unset;margin-block-start:0px;position:relative;margin-bottom:0;align-self:center;height:100%;display:flex;align-items:center}.esri-global-nav__logo-link:focus{outline:2px solid var(--calcite-color-brand);outline-offset:-2px}.cursor-pointer{cursor:pointer}.side{border-right:solid 1px;color:var(--calcite-color-text-1);height:34px;align-self:center}.display-flex{display:flex}.align-self-center{align-self:center}.padding-top-1{padding-top:var(--calcite-spacing-lg)}.padding-end-1{padding-inline-end:var(--calcite-spacing-lg)}.padding-start-1{padding-inline-start:var(--calcite-spacing-lg)}.padding-bottom-1{padding-bottom:var(--calcite-spacing-lg)}.margin-start-end-1{margin-inline-start:var(--calcite-spacing-lg);margin-inline-end:var(--calcite-spacing-lg)}.margin-start-end-1-5{margin-inline-start:var(--calcite-spacing-xxl);margin-inline-end:var(--calcite-spacing-xxl)}.height-full{height:100%}.user-label{--calcite-label-margin-bottom: 0px}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-normal{font-weight:var(--calcite-font-weight-normal)}.logo-padding{padding-inline-start:var(--calcite-spacing-none);height:100%}@media(max-width:800px){.logo-padding{padding-inline-start:var(--calcite-spacing-lg)}}.signin-padding{padding-inline-end:var(--calcite-spacing-none)}@media(max-width:800px){.signin-padding{padding-inline-end:var(--calcite-spacing-lg)}}calcite-action{--calcite-font-size-0: var(--calcite-font-size--1);--calcite-internal-action-padding-inline: var(--calcite-spacing-lg)}calcite-navigation{--calcite-color-border-3: transparent}.border-bottom{border-bottom-color:var(--calcite-color-border-1);border-bottom-width:var(--calcite-spacing-px);border-bottom-style:solid}.border{height:var(--calcite-spacing-px);border-bottom-color:var(--calcite-color-border-3);border-bottom-style:solid;border-bottom-width:var(--calcite-border-width-sm);box-sizing:border-box;position:absolute;top:65px;left:0;width:100%;z-index:1}.height-65{height:65px}`;
203
- class x extends y {
200
+ const T = M`.esri-global-nav__title{margin-block-start:0;position:relative;margin-bottom:0;font-size:var(--calcite-font-size-xl);font-weight:var(--calcite-font-weight-medium);padding-inline-end:var(--calcite-spacing-xxl);align-self:center;height:100%;display:flex;align-items:center}.esri-global-nav__logo-link{color:var(--calcite-color-text-1);text-decoration:unset;margin-block-start:0px;position:relative;margin-bottom:0;align-self:center;height:100%;display:flex;align-items:center}.esri-global-nav__logo-link:focus{outline:2px solid var(--calcite-color-brand);outline-offset:-2px}.cursor-pointer{cursor:pointer}.side{border-right:solid 1px;color:var(--calcite-color-text-1);height:34px;align-self:center}.display-flex{display:flex}.align-self-center{align-self:center}.padding-top-1{padding-top:var(--calcite-spacing-lg)}.padding-end-1{padding-inline-end:var(--calcite-spacing-lg)}.padding-start-1{padding-inline-start:var(--calcite-spacing-lg)}.padding-bottom-1{padding-bottom:var(--calcite-spacing-lg)}.margin-start-end-1{margin-inline-start:var(--calcite-spacing-lg);margin-inline-end:var(--calcite-spacing-lg)}.margin-start-end-1-5{margin-inline-start:var(--calcite-spacing-xxl);margin-inline-end:var(--calcite-spacing-xxl)}.height-full{height:100%}.user-label{--calcite-label-margin-bottom: 0px}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-normal{font-weight:var(--calcite-font-weight-normal)}.logo-padding{padding-inline-start:var(--calcite-spacing-none);height:100%}@media(max-width:800px){.logo-padding{padding-inline-start:var(--calcite-spacing-lg)}}.signin-padding{padding-inline-end:var(--calcite-spacing-none)}@media(max-width:800px){.signin-padding{padding-inline-end:var(--calcite-spacing-lg)}}calcite-action{--calcite-font-size-0: var(--calcite-font-size--1);--calcite-internal-action-padding-inline: var(--calcite-spacing-lg)}calcite-navigation{--calcite-color-border-3: transparent}.border-bottom{border-bottom-color:var(--calcite-color-border-1);border-bottom-width:var(--calcite-spacing-px);border-bottom-style:solid}.border{height:var(--calcite-spacing-px);border-bottom-color:var(--calcite-color-border-2);border-bottom-style:solid;border-bottom-width:var(--calcite-border-width-sm);box-sizing:border-box;position:absolute;top:65px;left:0;width:100%;z-index:1}.height-66{height:66px}.sub-nav-constrained{width:calc(100% - var(--assistant-panel-width, 420px));overflow:hidden}`;
201
+ class A extends y {
204
202
  constructor() {
205
- super(), this._isMobile = !1, this._logoFill = "", this._thumbnailUrl = "", this._translations = f({ name: "solutions-deploy-app-nav", blocking: !0 }), this._activeTab = "all-solutions", this._authentication = void 0, this._cardType = "details", this._dropdownRef = a(), this._dropdownItemAll = a(), this._dropdownItemMy = a(), this._dropdownItemMyContent = a(), this._dropdownItemResources = a(), this._isMobileContextConsumer = T({
206
- context: E,
207
- subscribe: !0,
208
- callback: (e) => this._isMobile = e
209
- }), this._menuRef = a(), this._menuItemAll = a(), this._menuItemMy = a(), this._menuItemResources = a(), this.authInit = p(), this.navTabSelected = p(), this.tabChanged = p(), this.tokenRefreshed = p(), this.listenOn(window, "deployedCardSelected", this._deployedCardSelected), this.listenOn(window, "detailsCardSelected", this._detailsCardSelected), this.listenOn(window, "deployAppTabSelected", this._deployAppTabSelected), this.listenOn(window, "popstate", this._handleUrlChange), this.listenOn(window, "sessionRefreshed", (e) => {
203
+ super(), this.assistantOpen = !1, this._isMobile = !1, this._logoFill = "", this._thumbnailUrl = "", this._translations = f({ name: "solutions-deploy-app-nav", blocking: !0 }), this._activeTab = "all-solutions", this._authentication = void 0, this._cardType = "details", this._dropdownRef = o(), this._dropdownItemAll = o(), this._dropdownItemMy = o(), this._dropdownItemMyContent = o(), this._dropdownItemResources = o(), this._handleMobileChange = (e) => {
204
+ this._isMobile = e.matches;
205
+ }, this._menuRef = o(), this._menuItemAll = o(), this._menuItemMy = o(), this._menuItemResources = o(), this.authInit = p(), this.navTabSelected = p(), this.tabChanged = p(), this.tokenRefreshed = p(), this.listenOn(window, "deployedCardSelected", this._deployedCardSelected), this.listenOn(window, "detailsCardSelected", this._detailsCardSelected), this.listenOn(window, "deployAppTabSelected", this._deployAppTabSelected), this.listenOn(window, "popstate", this._handleUrlChange), this.listenOn(window, "sessionRefreshed", (e) => {
210
206
  this._updateThumbnailToken(e.detail);
211
- });
207
+ }), this._mobileMediaQuery = window.matchMedia("(max-width: 800px)"), this._isMobile = this._mobileMediaQuery.matches, this._mobileMediaQuery.addEventListener("change", this._handleMobileChange);
212
208
  }
213
209
  static {
214
- this.properties = { appConfig: 1, initTab: 1, _subNavigationCard: 16, _isMobile: 16, _logoFill: 16, _thumbnailUrl: 16, _translations: 16 };
210
+ this.properties = { appConfig: 1, assistantOpen: 5, initTab: 1, _subNavigationCard: 16, _isMobile: 16, _logoFill: 16, _thumbnailUrl: 16, _translations: 16 };
215
211
  }
216
212
  static {
217
- this.styles = A;
213
+ this.styles = T;
218
214
  }
219
215
  get _telemetry() {
220
216
  return this._config?.telemetrySession;
@@ -264,7 +260,7 @@ class x extends y {
264
260
  }
265
261
  async connectedCallback() {
266
262
  super.connectedCallback();
267
- const e = new $({
263
+ const e = new E({
268
264
  username: "",
269
265
  password: ""
270
266
  });
@@ -272,10 +268,10 @@ class x extends y {
272
268
  }
273
269
  async load() {
274
270
  const e = window.matchMedia("(prefers-color-scheme: dark)");
275
- e.addEventListener("change", (d) => this._logoFill = this._getLogoFill(d.matches)), this._logoFill = this._getLogoFill(e.matches), this._isMobileContextConsumer.value && (this._isMobile = this._isMobileContextConsumer.value);
271
+ e.addEventListener("change", (d) => this._logoFill = this._getLogoFill(d.matches)), this._logoFill = this._getLogoFill(e.matches), this._mobileMediaQuery.matches && (this._isMobile = !0);
276
272
  const t = this.appConfig.locale || "en", n = this.appConfig.authentication?.PortalSubset?.orgUrl || this.appConfig.orgURL || this.appConfig.portalURL, i = this.appConfig.authentication?.PortalUrl || this.appConfig.portalURL, s = this.appConfig.primarySolutionsGroupId;
277
273
  let r = !1;
278
- this._authentication || (this.appConfig.authentication ? this._authentication = this.appConfig.authentication : (this._authentication = new C(this.appConfig.appId, this.appConfig.portalURL, this.appConfig.locale), await this._authentication.initialize(this.appConfig.isEnterprise, this.appConfig.agoBasedEnterpriseSolutionsGroupId), r = !0)), r || await this._authentication?.checkArcGISOnlineReachability(this.appConfig.agoBasedEnterpriseSolutionsGroupId), this._authentication.RestUserSession && (this._userSession = this._authentication.RestUserSession), this.initTab && (this._activeTab = this.initTab, this.initTab = void 0), this._config = {
274
+ this._authentication || (this.appConfig.authentication ? this._authentication = this.appConfig.authentication : (this._authentication = new S(this.appConfig.appId, this.appConfig.portalURL, this.appConfig.locale), await this._authentication.initialize(this.appConfig.isEnterprise, this.appConfig.agoBasedEnterpriseSolutionsGroupId), r = !0)), r || await this._authentication?.checkArcGISOnlineReachability(this.appConfig.agoBasedEnterpriseSolutionsGroupId), this._authentication.RestUserSession && (this._userSession = this._authentication.RestUserSession), this.initTab && (this._activeTab = this.initTab, this.initTab = void 0), this._config = {
279
275
  anonAgolSession: void 0,
280
276
  agolPortalUrl: "",
281
277
  allCards: [],
@@ -296,17 +292,20 @@ class x extends y {
296
292
  }, this.authInit.emit(this._config), this._portal = await this._userSession?.getPortal();
297
293
  }
298
294
  render() {
299
- return o`<div><calcite-navigation>${this._getHeading()}${this._isMobile ? this._getDropdown() : this._getMenu()}${this._isMobile ? "" : this._getSignInOut()}</calcite-navigation><div class="border" slot=header></div>${!this._isMobile && this._getSubHeading() || ""}</div>`;
295
+ return a`<div><calcite-navigation>${this._getHeading()}${this._isMobile ? this._getDropdown() : this._getMenu()}${this._isMobile ? "" : this._getSignInOut()}</calcite-navigation><div class="border" slot=header></div>${!this._isMobile && a`<div class=${w(this.assistantOpen ? "sub-nav-constrained" : "")}>${this._getSubHeading()}</div>` || ""}</div>`;
300
296
  }
301
297
  updated(e) {
302
298
  e.has("_isMobile") && e.get("_isMobile") !== void 0 && this.activateMenuItem(this._activeTab, !1);
303
299
  }
300
+ disconnectedCallback() {
301
+ super.disconnectedCallback(), this._mobileMediaQuery.removeEventListener("change", this._handleMobileChange);
302
+ }
304
303
  _getSignInOut() {
305
- return this._authentication?.IsSignedIn ? o`<div slot=user>${this._getUserAvatar()}</div>` : o`<calcite-menu label slot=content-end><calcite-menu-item label @click=${this._handleSignIn} @keydown=${(e) => c(e, () => this._handleSignIn(e))} .text=${this._translations.signIn}></calcite-menu-item></calcite-menu>`;
304
+ return this._authentication?.IsSignedIn ? a`<div slot=user>${this._getUserAvatar()}</div>` : a`<calcite-menu label slot=content-end><calcite-menu-item label @click=${this._handleSignIn} @keydown=${(e) => c(e, () => this._handleSignIn(e))} .text=${this._translations.signIn}></calcite-menu-item></calcite-menu>`;
306
305
  }
307
306
  _getDropdown() {
308
307
  const e = this._authentication?.IsSignedIn ? this._translations.signOut : this._translations.signIn;
309
- return o`<calcite-dropdown overlay-positioning=fixed slot=content-end width=m ${l(this._dropdownRef)}><calcite-button appearance=transparent icon-start=hamburger kind=neutral slot=trigger scale=l></calcite-button><calcite-dropdown-group><calcite-dropdown-item @click=${() => this._handleMenuClick("all-solutions", this._dropdownItemAll, [this._dropdownItemMy, this._dropdownItemResources, this._dropdownItemMyContent], !0)} @keydown=${(t) => c(t, () => this._handleMenuClick("all-solutions", this._dropdownItemAll, [this._dropdownItemMy, this._dropdownItemResources, this._dropdownItemMyContent], !0))} ${l(this._dropdownItemAll)}>${this._translations.allSolutions}</calcite-dropdown-item><calcite-dropdown-item @click=${() => this._handleMenuClick("deployments", this._dropdownItemMy, [this._dropdownItemAll, this._dropdownItemResources, this._dropdownItemMyContent], !0)} @keydown=${(t) => c(t, () => this._handleMenuClick("deployments", this._dropdownItemMy, [this._dropdownItemAll, this._dropdownItemResources, this._dropdownItemMyContent], !0))} ${l(this._dropdownItemMy)}>${this._translations.myDeployments}</calcite-dropdown-item>${this._authentication?.CanSearchArcGISOnline && o`<calcite-dropdown-item @click=${() => this._handleMenuClick("resources", this._dropdownItemResources, [this._dropdownItemAll, this._dropdownItemMy, this._dropdownItemMyContent], !0)} @keydown=${(t) => c(t, () => this._handleMenuClick("resources", this._dropdownItemResources, [this._dropdownItemAll, this._dropdownItemMy, this._dropdownItemMyContent], !0))} ${l(this._dropdownItemResources)}>${this._translations.solutionResources}</calcite-dropdown-item>` || ""}<calcite-dropdown-item @click=${() => {
308
+ return a`<calcite-dropdown overlay-positioning=fixed slot=content-end width=m ${l(this._dropdownRef)}><calcite-button appearance=transparent icon-start=hamburger kind=neutral slot=trigger scale=l></calcite-button><calcite-dropdown-group><calcite-dropdown-item @click=${() => this._handleMenuClick("all-solutions", this._dropdownItemAll, [this._dropdownItemMy, this._dropdownItemResources, this._dropdownItemMyContent], !0)} @keydown=${(t) => c(t, () => this._handleMenuClick("all-solutions", this._dropdownItemAll, [this._dropdownItemMy, this._dropdownItemResources, this._dropdownItemMyContent], !0))} ${l(this._dropdownItemAll)}>${this._translations.allSolutions}</calcite-dropdown-item><calcite-dropdown-item @click=${() => this._handleMenuClick("deployments", this._dropdownItemMy, [this._dropdownItemAll, this._dropdownItemResources, this._dropdownItemMyContent], !0)} @keydown=${(t) => c(t, () => this._handleMenuClick("deployments", this._dropdownItemMy, [this._dropdownItemAll, this._dropdownItemResources, this._dropdownItemMyContent], !0))} ${l(this._dropdownItemMy)}>${this._translations.myDeployments}</calcite-dropdown-item>${this._authentication?.CanSearchArcGISOnline && a`<calcite-dropdown-item @click=${() => this._handleMenuClick("resources", this._dropdownItemResources, [this._dropdownItemAll, this._dropdownItemMy, this._dropdownItemMyContent], !0)} @keydown=${(t) => c(t, () => this._handleMenuClick("resources", this._dropdownItemResources, [this._dropdownItemAll, this._dropdownItemMy, this._dropdownItemMyContent], !0))} ${l(this._dropdownItemResources)}>${this._translations.solutionResources}</calcite-dropdown-item>` || ""}<calcite-dropdown-item @click=${() => {
310
309
  const t = this._activeTab === "all-solutions" ? this._dropdownItemAll : this._activeTab === "deployments" ? this._dropdownItemMy : this._activeTab === "resources" ? this._dropdownItemResources : void 0;
311
310
  setTimeout(() => this._handleMenuClick("my-content", t, [this._dropdownItemAll, this._dropdownItemMy, this._dropdownItemResources, this._dropdownItemMyContent], !1), 10);
312
311
  }} ${l(this._dropdownItemMyContent)}>${this._translations.myContent}</calcite-dropdown-item><calcite-dropdown-item @click=${(t) => {
@@ -314,14 +313,14 @@ class x extends y {
314
313
  }}>${e}</calcite-dropdown-item></calcite-dropdown-group></calcite-dropdown>`;
315
314
  }
316
315
  _getMenu() {
317
- return o`<calcite-menu label slot=content-start ${l(this._menuRef)}><calcite-menu-item label @click=${() => this._handleMenuClick("all-solutions", this._menuItemAll, [this._menuItemMy, this._menuItemResources], !0)} @keydown=${(e) => c(e, () => this._handleMenuClick("all-solutions", this._menuItemAll, [this._menuItemMy, this._menuItemResources], !0))} .text=${this._translations.allSolutions} ${l(this._menuItemAll)}></calcite-menu-item><calcite-menu-item label @click=${() => this._handleMenuClick("deployments", this._menuItemMy, [this._menuItemAll, this._menuItemResources], !0)} @keydown=${(e) => c(e, () => this._handleMenuClick("deployments", this._menuItemMy, [this._menuItemAll, this._menuItemResources], !0))} .text=${this._translations.myDeployments} ${l(this._menuItemMy)}></calcite-menu-item>${this._authentication?.CanSearchArcGISOnline && o`<calcite-menu-item label @click=${() => this._handleMenuClick("resources", this._menuItemResources, [this._menuItemAll, this._menuItemMy], !0)} @keydown=${(e) => c(e, () => this._handleMenuClick("resources", this._menuItemResources, [this._menuItemAll, this._menuItemMy], !0))} .text=${this._translations.solutionResources} ${l(this._menuItemResources)}></calcite-menu-item>` || ""}</calcite-menu>`;
316
+ return a`<calcite-menu label slot=content-start ${l(this._menuRef)}><calcite-menu-item label @click=${() => this._handleMenuClick("all-solutions", this._menuItemAll, [this._menuItemMy, this._menuItemResources], !0)} @keydown=${(e) => c(e, () => this._handleMenuClick("all-solutions", this._menuItemAll, [this._menuItemMy, this._menuItemResources], !0))} .text=${this._translations.allSolutions} ${l(this._menuItemAll)}></calcite-menu-item><calcite-menu-item label @click=${() => this._handleMenuClick("deployments", this._menuItemMy, [this._menuItemAll, this._menuItemResources], !0)} @keydown=${(e) => c(e, () => this._handleMenuClick("deployments", this._menuItemMy, [this._menuItemAll, this._menuItemResources], !0))} .text=${this._translations.myDeployments} ${l(this._menuItemMy)}></calcite-menu-item>${this._authentication?.CanSearchArcGISOnline && a`<calcite-menu-item label @click=${() => this._handleMenuClick("resources", this._menuItemResources, [this._menuItemAll, this._menuItemMy], !0)} @keydown=${(e) => c(e, () => this._handleMenuClick("resources", this._menuItemResources, [this._menuItemAll, this._menuItemMy], !0))} .text=${this._translations.solutionResources} ${l(this._menuItemResources)}></calcite-menu-item>` || ""}</calcite-menu>`;
318
317
  }
319
318
  _getHeading() {
320
- return o`<div class="align-self-center display-flex cursor-pointer logo-padding" slot=logo><a aria-label=${this._translations.linkToEsriHomePage ?? h} class="esri-global-nav__logo-link" href=https://www.esri.com @click=${() => this._logLinkClickTelemetry("Esri")} rel=noopener target=_blank title=${this._translations.linkToEsriHomePage ?? h}><svg height=30 viewBox="0 0 84 30" width=84 xmlns=http://www.w3.org/2000/svg>${M`<path fill=${this._logoFill ?? h} d="M77.277.5c-1.48 0-2.554 1.175-2.554 2.488 0 1.314 1.074 2.49 2.554 2.49 1.48 0 2.622-1.071 2.622-2.49C79.899 1.572 78.756.5 77.277.5zm-1.913 23.426h3.891V8.353h-3.891v15.573zM40.515 7.965c-4.702 0-8.465 3.275-8.465 8.174 0 4.898 3.763 8.177 8.465 8.177 2.146 0 4.165-.667 5.852-2.31l-2.457-2.457c-.916.964-2.093 1.651-3.78 1.651-2.175 0-3.927-1.397-4.188-3.698h11.875v-1.07c0-5.42-2.95-8.467-7.302-8.467zm-4.573 6.617c.293-2.24 1.721-3.7 4.023-3.7 2.434 0 3.926 1.43 3.96 3.7h-7.983zm17.305-1.849c0-1.169 1.233-1.655 2.273-1.655 1.32 0 2.292.547 3.037 1.577l2.476-2.474c-1.282-1.6-3.407-2.216-5.418-2.216-3.147 0-6.262 1.555-6.262 5.028 0 5.938 8.403 3.406 8.403 6.617 0 1.233-1.46 1.784-2.595 1.784-1.65 0-2.687-.806-3.69-1.905l-2.515 2.514c1.58 1.711 3.62 2.313 5.978 2.313 3.179 0 6.717-1.299 6.717-4.998 0-6.067-8.404-3.795-8.404-6.585zm14.15-1.916h-.062V8.353h-3.892v15.573h3.892v-8.34c0-.842.518-3.925 4.185-3.925.564 0 1.127.112 1.718.253l.152-3.726c-.45-.127-.901-.223-1.382-.223-2.046 0-3.766 1.07-4.61 2.852zM14.683 2.766c-1.217-.037-1.932.12-2.651.26-.216-.056-.62.003-.643.472 0 .252.08.447.24.562.159.114 1.493 1.1 2.473 2.142-.47.052-.98.138-1.504.246-.585-1.264-2.465-.114-3.714-.064-.146.006-.286.025-.431.035-.137-1.056-.235-2.15-.21-2.92 1.618-.917 4.748-1.593 6.874-1.626l.373-.01c.312-.003.337-.251.043-.291-2.641-.361-4.929.173-7.279 1.145C5.808 3.748 2.696 6.12.8 10.596c-.444 1.247-2.219 7.195.935 12.3 2.56 4.142 5.855 6.113 9.887 6.676 4.024.561 6.207.075 8.752-1.055 5.951-2.642 10.496-12.559 5.95-19.747-1.794-3.319-6.495-6.229-11.641-6.004zm-2.259 4.647a17.754 17.754 0 0 1 2.362-.368 15.741 15.741 0 0 1 1.748 2.54c-.805.39-1.878.688-2.315 1.312-.181.26-.226.613-.232.995a23.59 23.59 0 0 0-3.877 1.286c-.453-1.332-.85-2.66-1.124-3.842 1.296-1.237 2.813-1.438 3.438-1.923zm6.61 15.88c-.354.038-.706.083-1.016.13-.77.121-1.762.379-2.685.723-.53-.843-1.95-2.891-2.667-4.437 1.442-.709 3.457-1.303 5.775-1.444.19.33.4.66.69.956.757.774-.44 1.883-.096 4.072zm-8.603-9.14c1.12-.53 2.3-.968 3.56-1.286-.008.333-.045.649-.182.903-.196.366-.106 1.428.134 1.775.755 1.099 2.008.488 2.951.883.433.181.721.482.964.84-1.974.124-3.91.584-5.706 1.41-.923-1.96-1.72-4.524-1.72-4.524zm.832 4.938c-.07.033-.145.074-.217.11a40.803 40.803 0 0 0-3.256-.78c-.995-.204-1.031-.15-2.151.175-.16.046-.313.088-.462.133a36.17 36.17 0 0 1-.445-1.202c1.436-1.106 2.884-2.034 4.821-2.985.5 1.491 1.215 3.483 1.71 4.549zm.768 4.528c.293-.765.521-1.331.605-1.89.569.958 1.248 2 1.774 2.815-.819.397-1.772 1.01-2.672 1.685.062-1.037.083-2.064.293-2.61zm5.334-14.636c-.01.014-.028.026-.04.04a23.057 23.057 0 0 0-1.376-2.111c1.007-.061 2.246-.008 3.374.108-1.014.363-1.461 1.254-1.958 1.963zm-9.028 1.094c.019-.026.039-.047.057-.072.234 1.182.513 2.16.886 3.518-1.402.618-3.881 2.148-4.976 2.972-.198-.502-.404-1.214-.589-1.946.249-.737.758-1.254 1.476-1.325 1.228-.123 2.28-1.95 3.146-3.147zm-5.41-1.784C4.24 6.455 6.023 4.666 7.65 3.773c-.016.4.086 1.567.218 2.693-.57.057-1.134.128-1.692.211a12.084 12.084 0 0 0-3.115 4.088c-.117-1.054-.178-1.933-.133-2.472zM2.07 9.731s.062 1.06.113 1.833c0 0-.781.886-1.18 1.59.159-1.443.498-2.187 1.067-3.423zm7.664 18.356C5.688 26.82 2.69 23.41 1.62 19.834a17.475 17.475 0 0 1-.651-6.473c.056.01.186.072.38.017.135-.093.616-.43.957-.728l.018.131c-.23.87-.371 1.775-.4 2.71.37.39.804 1.038 1.286 1.707-.31.23-.905.641-1.045.741-.41.292-.406.753-.114 1.015.161.144.492.084.613-.01.358-.285.656-.513 1.066-.77.15.393.292.748.43 1.086-.175.188-.3.436-.342.798-.135 1.172.979 2.092 1.918 2.36.035.01.06.014.094.023.05.076.095.147.148.224-.487.378-.82.765-1.049 1.063-.132.172-.28.43-.16.481.123.05.535 0 .719-.034.466-.09.826-.606 1.148-.796.387.534 1.017 1.22 1.672 1.88.029.12.055.246.088.351.125.403.293.804.495 1.196.471.22.962.402 1.464.561a8.344 8.344 0 0 0-.622.72zm.989.313c.155-.203.312-.454.505-.626.468.31.969.665 1.368.894-.615-.07-1.337-.085-1.873-.268zm3.113.31s-1.604-1.062-2.009-1.471c.803-.667 2.102-1.459 3.128-1.889.402.63 1.727 2.507 2.258 3.112-.963.168-2.31.294-3.377.248zM20.54 27.2c-.286.189-1.664.814-2.204.988a23.43 23.43 0 0 1-2.44-3.202c.844-.354 2.143-.67 3.346-.82.109.342.25.704.444 1.094.19.382.411.662.649.853.085-.053.164-.115.248-.17-.006.42-.018.846-.043 1.257zm-.33-21.477c-.27-.172-.607-.108-.467.193.053.117.259.314.427.512-.986-.272-3.608-.479-4.856-.364-.815-.916-1.744-2.028-2.861-2.765 4.999-.311 9.49 1.756 11.473 4.186-.661-.344-2.087-.834-2.667-.963-.313-.319-.708-.58-1.05-.8zm1.094 21.065c.023-.407.04-.922.053-1.396.487-.378.946-.79 1.37-1.238.547.063 1.094.156 1.427.24-.74.936-1.762 1.716-2.85 2.394zm3.825-3.724c-.12.253-.428.688-.633.894-.312-.126-.781-.258-1.272-.375.078-.094.163-.182.24-.279.268-1.796-.338-2.37.42-4.014l.172-.371c.418.118.812.247 1.153.386.043.616.04 2.728-.08 3.759zm-.708-4.917c.196-.407.412-.84.645-1.27.061.547.105 1.08.131 1.563a9.256 9.256 0 0 0-.776-.293zm2.218 1.126l-.194.756c-.137.515-.593 1.732-.832 2.223.091-.663.171-2.384.148-2.73.16.049.502-.147.559-.341.057-.195-.564-.495-.564-.495a20.742 20.742 0 0 0-.172-2.7c.142-.23.286-.452.434-.655a12.082 12.082 0 0 0-.186-1.575c.125.041.24.074.323.075.283.004.282-.19.192-.298-.058-.07-.328-.238-.643-.42a12.02 12.02 0 0 0-2.78-5.32c.533.202 1.214.48 1.754.774.41.516 1.585 1.675 2.212 4.92.564 2.922-.06 5.143-.251 5.786zM80.886 8.597v-.24h1.218v.24h-.468v1.191h-.283V8.597h-.467zm1.87-.24l.365 1.025.368-1.024h.406v1.43h-.262V8.634l-.396 1.154h-.229l-.4-1.154v1.154h-.261v-1.43h.409z" />`}</svg></a><div class="side margin-start-end-1-5" slot=logo></div><div class="esri-global-nav__title"><a aria-label=${this._translations.linkToArcGISSolutionsHomePage ?? h} class="esri-global-nav__logo-link" href=https://www.esri.com/en-us/arcgis/products/arcgis-solutions/overview @click=${() => this._logLinkClickTelemetry("ArcGIS Solutions")} rel=noopener target=_blank title=${this._translations.linkToArcGISSolutionsHomePage ?? h}>${this._translations.arcgisSolutions}</a></div></div>`;
319
+ return a`<div class="align-self-center display-flex cursor-pointer logo-padding" slot=logo><a aria-label=${this._translations.linkToEsriHomePage ?? h} class="esri-global-nav__logo-link" href=https://www.esri.com @click=${() => this._logLinkClickTelemetry("Esri")} rel=noopener target=_blank title=${this._translations.linkToEsriHomePage ?? h}><svg height=30 viewBox="0 0 84 30" width=84 xmlns=http://www.w3.org/2000/svg>${C`<path fill=${this._logoFill ?? h} d="M77.277.5c-1.48 0-2.554 1.175-2.554 2.488 0 1.314 1.074 2.49 2.554 2.49 1.48 0 2.622-1.071 2.622-2.49C79.899 1.572 78.756.5 77.277.5zm-1.913 23.426h3.891V8.353h-3.891v15.573zM40.515 7.965c-4.702 0-8.465 3.275-8.465 8.174 0 4.898 3.763 8.177 8.465 8.177 2.146 0 4.165-.667 5.852-2.31l-2.457-2.457c-.916.964-2.093 1.651-3.78 1.651-2.175 0-3.927-1.397-4.188-3.698h11.875v-1.07c0-5.42-2.95-8.467-7.302-8.467zm-4.573 6.617c.293-2.24 1.721-3.7 4.023-3.7 2.434 0 3.926 1.43 3.96 3.7h-7.983zm17.305-1.849c0-1.169 1.233-1.655 2.273-1.655 1.32 0 2.292.547 3.037 1.577l2.476-2.474c-1.282-1.6-3.407-2.216-5.418-2.216-3.147 0-6.262 1.555-6.262 5.028 0 5.938 8.403 3.406 8.403 6.617 0 1.233-1.46 1.784-2.595 1.784-1.65 0-2.687-.806-3.69-1.905l-2.515 2.514c1.58 1.711 3.62 2.313 5.978 2.313 3.179 0 6.717-1.299 6.717-4.998 0-6.067-8.404-3.795-8.404-6.585zm14.15-1.916h-.062V8.353h-3.892v15.573h3.892v-8.34c0-.842.518-3.925 4.185-3.925.564 0 1.127.112 1.718.253l.152-3.726c-.45-.127-.901-.223-1.382-.223-2.046 0-3.766 1.07-4.61 2.852zM14.683 2.766c-1.217-.037-1.932.12-2.651.26-.216-.056-.62.003-.643.472 0 .252.08.447.24.562.159.114 1.493 1.1 2.473 2.142-.47.052-.98.138-1.504.246-.585-1.264-2.465-.114-3.714-.064-.146.006-.286.025-.431.035-.137-1.056-.235-2.15-.21-2.92 1.618-.917 4.748-1.593 6.874-1.626l.373-.01c.312-.003.337-.251.043-.291-2.641-.361-4.929.173-7.279 1.145C5.808 3.748 2.696 6.12.8 10.596c-.444 1.247-2.219 7.195.935 12.3 2.56 4.142 5.855 6.113 9.887 6.676 4.024.561 6.207.075 8.752-1.055 5.951-2.642 10.496-12.559 5.95-19.747-1.794-3.319-6.495-6.229-11.641-6.004zm-2.259 4.647a17.754 17.754 0 0 1 2.362-.368 15.741 15.741 0 0 1 1.748 2.54c-.805.39-1.878.688-2.315 1.312-.181.26-.226.613-.232.995a23.59 23.59 0 0 0-3.877 1.286c-.453-1.332-.85-2.66-1.124-3.842 1.296-1.237 2.813-1.438 3.438-1.923zm6.61 15.88c-.354.038-.706.083-1.016.13-.77.121-1.762.379-2.685.723-.53-.843-1.95-2.891-2.667-4.437 1.442-.709 3.457-1.303 5.775-1.444.19.33.4.66.69.956.757.774-.44 1.883-.096 4.072zm-8.603-9.14c1.12-.53 2.3-.968 3.56-1.286-.008.333-.045.649-.182.903-.196.366-.106 1.428.134 1.775.755 1.099 2.008.488 2.951.883.433.181.721.482.964.84-1.974.124-3.91.584-5.706 1.41-.923-1.96-1.72-4.524-1.72-4.524zm.832 4.938c-.07.033-.145.074-.217.11a40.803 40.803 0 0 0-3.256-.78c-.995-.204-1.031-.15-2.151.175-.16.046-.313.088-.462.133a36.17 36.17 0 0 1-.445-1.202c1.436-1.106 2.884-2.034 4.821-2.985.5 1.491 1.215 3.483 1.71 4.549zm.768 4.528c.293-.765.521-1.331.605-1.89.569.958 1.248 2 1.774 2.815-.819.397-1.772 1.01-2.672 1.685.062-1.037.083-2.064.293-2.61zm5.334-14.636c-.01.014-.028.026-.04.04a23.057 23.057 0 0 0-1.376-2.111c1.007-.061 2.246-.008 3.374.108-1.014.363-1.461 1.254-1.958 1.963zm-9.028 1.094c.019-.026.039-.047.057-.072.234 1.182.513 2.16.886 3.518-1.402.618-3.881 2.148-4.976 2.972-.198-.502-.404-1.214-.589-1.946.249-.737.758-1.254 1.476-1.325 1.228-.123 2.28-1.95 3.146-3.147zm-5.41-1.784C4.24 6.455 6.023 4.666 7.65 3.773c-.016.4.086 1.567.218 2.693-.57.057-1.134.128-1.692.211a12.084 12.084 0 0 0-3.115 4.088c-.117-1.054-.178-1.933-.133-2.472zM2.07 9.731s.062 1.06.113 1.833c0 0-.781.886-1.18 1.59.159-1.443.498-2.187 1.067-3.423zm7.664 18.356C5.688 26.82 2.69 23.41 1.62 19.834a17.475 17.475 0 0 1-.651-6.473c.056.01.186.072.38.017.135-.093.616-.43.957-.728l.018.131c-.23.87-.371 1.775-.4 2.71.37.39.804 1.038 1.286 1.707-.31.23-.905.641-1.045.741-.41.292-.406.753-.114 1.015.161.144.492.084.613-.01.358-.285.656-.513 1.066-.77.15.393.292.748.43 1.086-.175.188-.3.436-.342.798-.135 1.172.979 2.092 1.918 2.36.035.01.06.014.094.023.05.076.095.147.148.224-.487.378-.82.765-1.049 1.063-.132.172-.28.43-.16.481.123.05.535 0 .719-.034.466-.09.826-.606 1.148-.796.387.534 1.017 1.22 1.672 1.88.029.12.055.246.088.351.125.403.293.804.495 1.196.471.22.962.402 1.464.561a8.344 8.344 0 0 0-.622.72zm.989.313c.155-.203.312-.454.505-.626.468.31.969.665 1.368.894-.615-.07-1.337-.085-1.873-.268zm3.113.31s-1.604-1.062-2.009-1.471c.803-.667 2.102-1.459 3.128-1.889.402.63 1.727 2.507 2.258 3.112-.963.168-2.31.294-3.377.248zM20.54 27.2c-.286.189-1.664.814-2.204.988a23.43 23.43 0 0 1-2.44-3.202c.844-.354 2.143-.67 3.346-.82.109.342.25.704.444 1.094.19.382.411.662.649.853.085-.053.164-.115.248-.17-.006.42-.018.846-.043 1.257zm-.33-21.477c-.27-.172-.607-.108-.467.193.053.117.259.314.427.512-.986-.272-3.608-.479-4.856-.364-.815-.916-1.744-2.028-2.861-2.765 4.999-.311 9.49 1.756 11.473 4.186-.661-.344-2.087-.834-2.667-.963-.313-.319-.708-.58-1.05-.8zm1.094 21.065c.023-.407.04-.922.053-1.396.487-.378.946-.79 1.37-1.238.547.063 1.094.156 1.427.24-.74.936-1.762 1.716-2.85 2.394zm3.825-3.724c-.12.253-.428.688-.633.894-.312-.126-.781-.258-1.272-.375.078-.094.163-.182.24-.279.268-1.796-.338-2.37.42-4.014l.172-.371c.418.118.812.247 1.153.386.043.616.04 2.728-.08 3.759zm-.708-4.917c.196-.407.412-.84.645-1.27.061.547.105 1.08.131 1.563a9.256 9.256 0 0 0-.776-.293zm2.218 1.126l-.194.756c-.137.515-.593 1.732-.832 2.223.091-.663.171-2.384.148-2.73.16.049.502-.147.559-.341.057-.195-.564-.495-.564-.495a20.742 20.742 0 0 0-.172-2.7c.142-.23.286-.452.434-.655a12.082 12.082 0 0 0-.186-1.575c.125.041.24.074.323.075.283.004.282-.19.192-.298-.058-.07-.328-.238-.643-.42a12.02 12.02 0 0 0-2.78-5.32c.533.202 1.214.48 1.754.774.41.516 1.585 1.675 2.212 4.92.564 2.922-.06 5.143-.251 5.786zM80.886 8.597v-.24h1.218v.24h-.468v1.191h-.283V8.597h-.467zm1.87-.24l.365 1.025.368-1.024h.406v1.43h-.262V8.634l-.396 1.154h-.229l-.4-1.154v1.154h-.261v-1.43h.409z" />`}</svg></a><div class="side margin-start-end-1-5" slot=logo></div><div class="esri-global-nav__title"><a aria-label=${this._translations.linkToArcGISSolutionsHomePage ?? h} class="esri-global-nav__logo-link" href=https://www.esri.com/en-us/arcgis/products/arcgis-solutions/overview @click=${() => this._logLinkClickTelemetry("ArcGIS Solutions")} rel=noopener target=_blank title=${this._translations.linkToArcGISSolutionsHomePage ?? h}>${this._translations.arcgisSolutions}</a></div></div>`;
321
320
  }
322
321
  _getSubHeading() {
323
322
  const e = this._cardType === "deployed" ? this._translations.myDeployments : this._translations.allSolutions;
324
- return this._subNavigationCard ? o`<calcite-navigation class="height-65" slot=navigation-secondary><calcite-menu class="height-65" label slot=content-start><calcite-menu-item breadcrumb .label=${e} @click=${this._navigateFromSubMenu} @keydown=${(t) => c(t, () => this._navigateFromSubMenu())} .text=${e} text-enabled></calcite-menu-item><calcite-menu-item label active .text=${this._subNavigationCard?.title} text-enabled></calcite-menu-item></calcite-menu></calcite-navigation>` : "";
323
+ return this._subNavigationCard ? a`<calcite-navigation class="height-66" slot=navigation-secondary><calcite-menu class="height-66" label slot=content-start><calcite-menu-item breadcrumb .label=${e} @click=${this._navigateFromSubMenu} @keydown=${(t) => c(t, () => this._navigateFromSubMenu())} .text=${e} text-enabled></calcite-menu-item><calcite-menu-item label active .text=${this._subNavigationCard?.title} text-enabled></calcite-menu-item></calcite-menu></calcite-navigation>` : "";
325
324
  }
326
325
  _getLogoFill(e) {
327
326
  return e ? "#FFFFFF" : "#141414";
@@ -355,7 +354,7 @@ class x extends y {
355
354
  }
356
355
  _getUserAvatar() {
357
356
  const e = this._portal.user, t = this._authentication?.PortalUserSubset, n = e?.id ?? e?.sourceJSON?.id;
358
- return this._thumbnailUrl === "" && (this._thumbnailUrl = e?.thumbnailUrl ?? t?.thumbnailUrl ?? ""), o`<div class="height-full display-flex cursor-pointer signin-padding"><calcite-navigation-user class="height-full" full-name=${e?.fullName ?? h} id=instant-apps-sign-in-user-button slot=user .thumbnail=${this._thumbnailUrl} .userId=${n} .username=${e?.username}></calcite-navigation-user></div><calcite-popover placement=bottom-end scale=s reference-element=instant-apps-sign-in-user-button offset-distance=0 pointer-disabled focus-trap-disabled auto-close .label=${this._translations.userSettings}><calcite-action scale=l @click=${this._viewMyContent} .text=${this._translations.myContent} text-enabled></calcite-action><calcite-action scale=l @click=${this._signOut} .text=${this._translations.signOut} text-enabled></calcite-action></calcite-popover>`;
357
+ return this._thumbnailUrl === "" && (this._thumbnailUrl = e?.thumbnailUrl ?? t?.thumbnailUrl ?? ""), a`<div class="height-full display-flex cursor-pointer signin-padding"><calcite-navigation-user class="height-full" full-name=${e?.fullName ?? h} id=instant-apps-sign-in-user-button slot=user .thumbnail=${this._thumbnailUrl} .userId=${n} .username=${e?.username}></calcite-navigation-user></div><calcite-popover placement=bottom-end scale=s reference-element=instant-apps-sign-in-user-button offset-distance=0 pointer-disabled focus-trap-disabled auto-close .label=${this._translations.userSettings}><calcite-action scale=l @click=${this._viewMyContent} .text=${this._translations.myContent} text-enabled></calcite-action><calcite-action scale=l @click=${this._signOut} .text=${this._translations.signOut} text-enabled></calcite-action></calcite-popover>`;
359
358
  }
360
359
  _viewMyContent() {
361
360
  const e = `${this._config?.portalURL}/home/content.html#my`;
@@ -394,11 +393,11 @@ class x extends y {
394
393
  this._cardType === "details" ? this._handleMenuClick("all-solutions", this._menuItemAll, [this._menuItemMy, this._menuItemResources], !0) : this._cardType === "deployed" && this._handleMenuClick("deployments", this._menuItemMy, [this._menuItemAll, this._menuItemResources], !0);
395
394
  }
396
395
  _updateThumbnailToken(e) {
397
- this._thumbnailUrl !== "" && (this._thumbnailUrl = k(this._thumbnailUrl, e));
396
+ this._thumbnailUrl !== "" && (this._thumbnailUrl = $(this._thumbnailUrl, e));
398
397
  }
399
398
  }
400
- v("solutions-deploy-app-nav", x);
399
+ I("solutions-deploy-app-nav", A);
401
400
  export {
402
- x as S,
401
+ A as S,
403
402
  g as T
404
403
  };
@@ -37,6 +37,7 @@ export abstract class ArcgisSolutionsAssistant extends LitElement {
37
37
  signIn: string;
38
38
  signInMessage: string;
39
39
  tooltips: {
40
+ close: string;
40
41
  likeButton: string;
41
42
  dislikeButton: string;
42
43
  copyButton: string;
@@ -44,6 +45,7 @@ export abstract class ArcgisSolutionsAssistant extends LitElement {
44
45
  sendQuestion: string;
45
46
  };
46
47
  viewSolutionInApp: string;
48
+ beta: string;
47
49
  } & T9nMeta<{
48
50
  agentProgress: {
49
51
  explorerAgentReading: string;
@@ -72,6 +74,7 @@ export abstract class ArcgisSolutionsAssistant extends LitElement {
72
74
  signIn: string;
73
75
  signInMessage: string;
74
76
  tooltips: {
77
+ close: string;
75
78
  likeButton: string;
76
79
  dislikeButton: string;
77
80
  copyButton: string;
@@ -79,6 +82,7 @@ export abstract class ArcgisSolutionsAssistant extends LitElement {
79
82
  sendQuestion: string;
80
83
  };
81
84
  viewSolutionInApp: string;
85
+ beta: string;
82
86
  }>;
83
87
  /**
84
88
  * Flag to open or close panel