@arcgis/portal-components 6.0.0-next.2 → 6.0.0-next.20

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 (285) hide show
  1. package/dist/cdn/225AERRK.js +2 -0
  2. package/dist/cdn/2267AKWE.js +2 -0
  3. package/dist/cdn/{Z6R3C4AK.js → 2XIDYV73.js} +1 -1
  4. package/dist/cdn/3ZC26CT6.js +4 -0
  5. package/dist/cdn/4B2URSFO.js +2 -0
  6. package/dist/cdn/{JWBUJT43.js → 4I7NKRIH.js} +1 -1
  7. package/dist/cdn/4QYVBXZT.js +2 -0
  8. package/dist/cdn/{K75JTQPW.js → 4VLEUN7I.js} +1 -1
  9. package/dist/cdn/565U4WSN.js +2 -0
  10. package/dist/cdn/{TWCJJCPC.js → 57MT7FOI.js} +1 -1
  11. package/dist/cdn/5D5INKHG.js +106 -0
  12. package/dist/cdn/{RHCRPJWS.js → 5SKCVK2P.js} +1 -1
  13. package/dist/cdn/{YYTEJVBL.js → 5VAV267L.js} +1 -1
  14. package/dist/cdn/67QXUNKX.js +2 -0
  15. package/dist/cdn/6BQUKFTK.js +2 -0
  16. package/dist/cdn/6T4X4RAB.js +2 -0
  17. package/dist/cdn/{2YZWRFCI.js → 6XAFP5OI.js} +1 -1
  18. package/dist/cdn/723D3EKN.js +2 -0
  19. package/dist/cdn/{EQDYQOOT.js → 7PBECSW5.js} +1 -1
  20. package/dist/cdn/7XBN6ZF4.js +2 -0
  21. package/dist/cdn/{ABORO35R.js → AAWXEOVL.js} +1 -1
  22. package/dist/cdn/{5C5GHX4D.js → AEPP4WJM.js} +1 -1
  23. package/dist/cdn/APLSVK3C.js +135 -0
  24. package/dist/cdn/{BKD7JSV2.js → AXKMKCEW.js} +1 -1
  25. package/dist/cdn/{7ZWYUHGK.js → AYHYABMC.js} +1 -1
  26. package/dist/cdn/B474WTYE.js +2 -0
  27. package/dist/cdn/{5HZNBMW6.js → C5FTQSU6.js} +1 -1
  28. package/dist/cdn/{XYMBRPC7.js → C7KQT5QW.js} +1 -1
  29. package/dist/cdn/CL5FABMT.js +2 -0
  30. package/dist/cdn/CUJG43PQ.js +2 -0
  31. package/dist/cdn/DELNTRCT.js +2 -0
  32. package/dist/cdn/E26PFYPI.js +2 -0
  33. package/dist/cdn/{MKSFNVXL.js → EHHFEPC2.js} +1 -1
  34. package/dist/cdn/{TLM457Z5.js → EQTGOMBD.js} +1 -1
  35. package/dist/cdn/{DHMNNIXZ.js → EXEAVQRP.js} +1 -1
  36. package/dist/cdn/FLUCWAMC.js +2 -0
  37. package/dist/cdn/FN2QMDEW.js +2 -0
  38. package/dist/cdn/{FIQZPIIK.js → FTT33ZZJ.js} +1 -1
  39. package/dist/cdn/FXTPC2Q5.js +2 -0
  40. package/dist/cdn/{TXC7YBGL.js → GDCXUNOL.js} +1 -1
  41. package/dist/cdn/GJNGP34L.js +2 -0
  42. package/dist/cdn/GOUAS2Q5.js +2 -0
  43. package/dist/cdn/{L64UURQB.js → HIPJAMO4.js} +1 -1
  44. package/dist/cdn/{OR6T5SB3.js → HXFKOELM.js} +1 -1
  45. package/dist/cdn/{7LMZHJZG.js → I3ECBIYX.js} +1 -1
  46. package/dist/cdn/{24QSQLRY.js → I4ZRFXQ3.js} +1 -1
  47. package/dist/cdn/{K2XSYDAP.js → I57CRKF7.js} +1 -1
  48. package/dist/cdn/IAK4F5SX.js +2 -0
  49. package/dist/cdn/IRCWBDGJ.js +79 -0
  50. package/dist/cdn/JOQEFKCE.js +2 -0
  51. package/dist/cdn/K3GAZFRI.js +63 -0
  52. package/dist/cdn/{OXPXXIWL.js → K5Q4ZROX.js} +1 -1
  53. package/dist/cdn/K6LF5U7K.js +2 -0
  54. package/dist/cdn/KRORL7QC.js +2 -0
  55. package/dist/cdn/LVUKORME.js +2 -0
  56. package/dist/cdn/LY7NVMME.js +2 -0
  57. package/dist/cdn/MK2KDBUL.js +66 -0
  58. package/dist/cdn/{AXOBMX3S.js → MLTZSPZQ.js} +1 -1
  59. package/dist/cdn/{RQYNPDN3.js → MOE6L5RN.js} +1 -1
  60. package/dist/cdn/{JPUUMGX5.js → MSP6STQ7.js} +1 -1
  61. package/dist/cdn/MSSJRDR7.js +2 -0
  62. package/dist/cdn/MUW2YNAS.js +2 -0
  63. package/dist/cdn/{JIJO4CAS.js → MXUHZ474.js} +1 -1
  64. package/dist/cdn/NDCMZLMU.js +2 -0
  65. package/dist/cdn/O4YFPGD5.js +2 -0
  66. package/dist/cdn/O5MB4QQ2.js +2 -0
  67. package/dist/cdn/OQ3OHDEB.js +2 -0
  68. package/dist/cdn/OQE662U3.js +2 -0
  69. package/dist/cdn/OQUQ7Z3E.js +2 -0
  70. package/dist/cdn/P74FP43E.js +2 -0
  71. package/dist/cdn/PVPTFK7N.js +2 -0
  72. package/dist/cdn/PXG2SRSN.js +2 -0
  73. package/dist/cdn/{ZKZDKJ6D.js → QJB32L7F.js} +1 -1
  74. package/dist/cdn/QKGHH3FS.js +2 -0
  75. package/dist/cdn/QSRWVCWP.js +2 -0
  76. package/dist/cdn/RA75BDVB.js +2 -0
  77. package/dist/cdn/RAWBYOFF.js +2 -0
  78. package/dist/cdn/{LWFACY3F.js → RLI7T32U.js} +1 -1
  79. package/dist/cdn/RYPYVJ5U.js +2 -0
  80. package/dist/cdn/SASCLFKY.js +2 -0
  81. package/dist/cdn/{SGDDFWCJ.js → SCRIVOPW.js} +1 -1
  82. package/dist/cdn/SHGPWFEC.js +2 -0
  83. package/dist/cdn/SQCDEL42.js +2 -0
  84. package/dist/cdn/SRWFOV5W.js +2 -0
  85. package/dist/cdn/{ROX3GKKA.js → TIPQ2ZWK.js} +1 -1
  86. package/dist/cdn/TKTMO2NO.js +2 -0
  87. package/dist/cdn/TLZO6KZO.js +2 -0
  88. package/dist/cdn/{3NSHGKZA.js → TNRHHR67.js} +1 -1
  89. package/dist/cdn/{32BWFMTC.js → TRFH3KNJ.js} +1 -1
  90. package/dist/cdn/U4PHGRXB.js +2 -0
  91. package/dist/cdn/UD4KPMGF.js +2 -0
  92. package/dist/cdn/{U3KMGSVH.js → UL3XBQUT.js} +1 -1
  93. package/dist/cdn/ULGME5RT.js +2 -0
  94. package/dist/cdn/{I6IRHXWR.js → ULTSLT4L.js} +1 -1
  95. package/dist/cdn/{NWVLGU2C.js → UYROTXZP.js} +1 -1
  96. package/dist/cdn/VAJV46OF.js +2 -0
  97. package/dist/cdn/VH2IMPMN.js +2 -0
  98. package/dist/cdn/VNVGVYX6.js +41 -0
  99. package/dist/cdn/{3EYB5GQX.js → VRGGPMVR.js} +1 -1
  100. package/dist/cdn/{IN4JPZTY.js → VXDDXPD7.js} +1 -1
  101. package/dist/cdn/VXYEF3XW.js +2 -0
  102. package/dist/cdn/WQWJVM5B.js +2 -0
  103. package/dist/cdn/XT6IKL7A.js +2 -0
  104. package/dist/cdn/{MLYQGIJU.js → XYT4533U.js} +13 -13
  105. package/dist/cdn/Y5VUMGKH.js +3 -0
  106. package/dist/cdn/{DLI4XKJ3.js → Y6WQZMYW.js} +1 -1
  107. package/dist/cdn/{74T6IXSN.js → Y72W3QFF.js} +1 -1
  108. package/dist/cdn/YERFI6P2.js +2 -0
  109. package/dist/cdn/{YZTBAUIO.js → YTVLEHJT.js} +1 -1
  110. package/dist/cdn/{M5PPX4ZX.js → ZJCG6JI7.js} +1 -1
  111. package/dist/cdn/{JN23JH3T.js → ZJWAM6OL.js} +1 -1
  112. package/dist/cdn/{GAF4YT5N.js → ZS3JUQN3.js} +1 -1
  113. package/dist/cdn/assets/portal-ai-assistant/t9n/messages.en.json +1 -1
  114. package/dist/cdn/assets/portal-entity-picker/t9n/messages.en.json +1 -1
  115. package/dist/cdn/assets/portal-item-share-summary/t9n/messages.en.json +1 -0
  116. package/dist/cdn/index.js +1 -1
  117. package/dist/cdn/main.css +1 -1
  118. package/dist/chunks/fieldAddDelete.js +7 -7
  119. package/dist/chunks/functionalities.js +14 -9
  120. package/dist/chunks/groups.js +8 -61
  121. package/dist/chunks/groups2.js +23 -8
  122. package/dist/chunks/info.js +2 -2
  123. package/dist/chunks/item.js +58 -26
  124. package/dist/chunks/item2.js +17 -17
  125. package/dist/chunks/itemThumbnail.js +1 -1
  126. package/dist/chunks/loadClassificationData.js +26 -27
  127. package/dist/chunks/portal-delete-items-review.js +1 -1
  128. package/dist/chunks/portal-item-badge.js +1 -1
  129. package/dist/chunks/portal-related-items-list-item.js +1 -1
  130. package/dist/chunks/portal.js +6 -6
  131. package/dist/chunks/portal2.js +11 -11
  132. package/dist/chunks/portalEntitySelection.js +54 -0
  133. package/dist/chunks/query.js +13 -13
  134. package/dist/chunks/request.js +25 -25
  135. package/dist/chunks/requests.js +7 -7
  136. package/dist/chunks/selectedMentions.js +25 -0
  137. package/dist/chunks/services.js +1 -1
  138. package/dist/chunks/string.js +14 -10
  139. package/dist/chunks/ui.js +1 -0
  140. package/dist/chunks/url.js +2 -2
  141. package/dist/chunks/user.js +10 -10
  142. package/dist/chunks/utils.js +35 -22
  143. package/dist/chunks/utils2.js +4 -4
  144. package/dist/chunks/utils3.js +1 -1
  145. package/dist/components/arcgis-portal-account-switcher/customElement.js +27 -25
  146. package/dist/components/arcgis-portal-account-switcher-accounts/customElement.d.ts +4 -4
  147. package/dist/components/arcgis-portal-account-switcher-accounts/customElement.js +8 -8
  148. package/dist/components/arcgis-portal-account-switcher-list/customElement.d.ts +4 -4
  149. package/dist/components/arcgis-portal-account-switcher-list/customElement.js +6 -6
  150. package/dist/components/arcgis-portal-account-switcher-signout/customElement.d.ts +5 -5
  151. package/dist/components/arcgis-portal-account-switcher-signout/customElement.js +3 -3
  152. package/dist/components/arcgis-portal-add-gps-metadata/customElement.d.ts +6 -0
  153. package/dist/components/arcgis-portal-add-gps-metadata/customElement.js +153 -130
  154. package/dist/components/arcgis-portal-ai-assistant/customElement.d.ts +25 -15
  155. package/dist/components/arcgis-portal-ai-assistant/customElement.js +574 -2409
  156. package/dist/components/arcgis-portal-ai-assistant/index.js +4 -0
  157. package/dist/components/arcgis-portal-ai-assistant/tools/getItemTool.d.ts +11 -0
  158. package/dist/components/arcgis-portal-ai-assistant/types/assistantTools.d.ts +51 -0
  159. package/dist/components/arcgis-portal-ai-assistant/types/portalEntityTools.d.ts +14 -0
  160. package/dist/components/arcgis-portal-ai-assistant-interrupt/customElement.d.ts +39 -0
  161. package/dist/components/arcgis-portal-ai-assistant-interrupt/customElement.js +63 -27
  162. package/dist/components/arcgis-portal-ai-assistant-interrupt/index.js +3 -1
  163. package/dist/components/arcgis-portal-classification-config/customElement.js +1 -1
  164. package/dist/components/arcgis-portal-classification-favorite/customElement.js +1 -1
  165. package/dist/components/arcgis-portal-delete-items/customElement.d.ts +69 -3
  166. package/dist/components/arcgis-portal-delete-items/customElement.js +446 -330
  167. package/dist/components/arcgis-portal-delete-items/index.js +1 -2
  168. package/dist/components/arcgis-portal-delete-items/types.d.ts +1 -0
  169. package/dist/components/arcgis-portal-entity-picker/customElement.d.ts +36 -0
  170. package/dist/components/arcgis-portal-entity-picker/customElement.js +202 -120
  171. package/dist/components/arcgis-portal-entity-picker/index.js +2 -0
  172. package/dist/components/arcgis-portal-field-delete/customElement.js +33 -31
  173. package/dist/components/arcgis-portal-field-delete/index.js +1 -1
  174. package/dist/components/arcgis-portal-group-badges/customElement.js +5 -5
  175. package/dist/components/arcgis-portal-group-browser/customElement.js +93 -99
  176. package/dist/components/arcgis-portal-group-browser/types.d.ts +3 -7
  177. package/dist/components/arcgis-portal-group-browser-preview/customElement.js +2 -2
  178. package/dist/components/arcgis-portal-group-browser-preview-card/customElement.js +1 -1
  179. package/dist/components/arcgis-portal-group-card/customElement.js +18 -18
  180. package/dist/components/arcgis-portal-group-thumbnail/customElement.js +1 -1
  181. package/dist/components/arcgis-portal-item-card/customElement.d.ts +6 -2
  182. package/dist/components/arcgis-portal-item-card/customElement.js +91 -90
  183. package/dist/components/arcgis-portal-item-card/index.js +1 -1
  184. package/dist/components/arcgis-portal-item-share-summary/customElement.d.ts +113 -0
  185. package/dist/components/arcgis-portal-item-share-summary/customElement.js +172 -0
  186. package/dist/components/arcgis-portal-item-share-summary/index.d.ts +1 -0
  187. package/dist/components/arcgis-portal-item-share-summary/index.js +5 -0
  188. package/dist/components/arcgis-portal-item-share-summary-editable/customElement.d.ts +33 -0
  189. package/dist/components/arcgis-portal-item-share-summary-editable/customElement.js +19 -0
  190. package/dist/components/arcgis-portal-item-share-summary-editable/index.d.ts +1 -0
  191. package/dist/components/arcgis-portal-item-share-summary-editable/index.js +2 -0
  192. package/dist/components/arcgis-portal-item-thumbnail/customElement.js +10 -10
  193. package/dist/components/arcgis-portal-mentionable-text-area/customElement.js +61 -57
  194. package/dist/components/arcgis-portal-navigation/customElement.js +6 -7
  195. package/dist/components/arcgis-portal-navigation/index.js +5 -5
  196. package/dist/components/arcgis-portal-replacement-item-redirect/customElement.js +8 -8
  197. package/dist/components/arcgis-portal-review-related-items/customElement.d.ts +333 -0
  198. package/dist/components/arcgis-portal-review-related-items/customElement.js +45 -18
  199. package/dist/components/arcgis-portal-review-related-items/index.js +2 -0
  200. package/dist/components/arcgis-portal-user-popup/customElement.js +28 -28
  201. package/dist/components/portal-group-browser-filters/customElement.js +15 -15
  202. package/dist/components/portal-related-items-list-item/customElement.js +16 -14
  203. package/dist/components/portal-related-items-list-item/index.js +1 -1
  204. package/dist/docs/api.json +1 -1
  205. package/dist/docs/docs.json +1 -1
  206. package/dist/docs/vscode.html-custom-data.json +1 -1
  207. package/dist/docs/web-types.json +1 -1
  208. package/dist/index.d.ts +20 -0
  209. package/dist/index.js +155 -6
  210. package/dist/loader.js +14 -12
  211. package/dist/services/groups.d.ts +9 -0
  212. package/dist/services/item.d.ts +9 -0
  213. package/dist/types/item.d.ts +3 -3
  214. package/dist/types/lumina.d.ts +28 -17
  215. package/dist/types/preact.d.ts +30 -17
  216. package/dist/types/react.d.ts +32 -17
  217. package/dist/types/services.d.ts +24 -1
  218. package/dist/types/stencil.d.ts +28 -17
  219. package/dist/utils/generateEmbeddings.d.ts +7 -0
  220. package/dist/utils/semanticSearch.d.ts +60 -0
  221. package/dist/utils/types.d.ts +10 -0
  222. package/package.json +10 -10
  223. package/dist/cdn/23FS4XTG.js +0 -2
  224. package/dist/cdn/2MPQ5IWJ.js +0 -2
  225. package/dist/cdn/3CQKCUM5.js +0 -2
  226. package/dist/cdn/3LEQ37YT.js +0 -68
  227. package/dist/cdn/46BUEBWS.js +0 -2
  228. package/dist/cdn/4AI52H7C.js +0 -2
  229. package/dist/cdn/4MUB6TL6.js +0 -2
  230. package/dist/cdn/4PRXQFCV.js +0 -2
  231. package/dist/cdn/4QFTKB6T.js +0 -2
  232. package/dist/cdn/4TSXFX3M.js +0 -2
  233. package/dist/cdn/5PPZNVWG.js +0 -2
  234. package/dist/cdn/66XWNGQ2.js +0 -2
  235. package/dist/cdn/6F4SJDRR.js +0 -2
  236. package/dist/cdn/6RZEXOK3.js +0 -2
  237. package/dist/cdn/A2SQ4EMZ.js +0 -2
  238. package/dist/cdn/AICPYLWE.js +0 -4
  239. package/dist/cdn/AJQT7UXB.js +0 -2
  240. package/dist/cdn/APSYZEPP.js +0 -209
  241. package/dist/cdn/AZOJHVAO.js +0 -2
  242. package/dist/cdn/BSTA5KI5.js +0 -2
  243. package/dist/cdn/CD5UWSCP.js +0 -2
  244. package/dist/cdn/CXXV6WJT.js +0 -2
  245. package/dist/cdn/DDBXEXOV.js +0 -2
  246. package/dist/cdn/DYO5P3F2.js +0 -2
  247. package/dist/cdn/E66BDC6N.js +0 -2
  248. package/dist/cdn/EEAVX4PP.js +0 -2
  249. package/dist/cdn/EITRZQSC.js +0 -2
  250. package/dist/cdn/EMJQI4MA.js +0 -2
  251. package/dist/cdn/FIBQAMJ3.js +0 -2
  252. package/dist/cdn/FNLBJ4ZQ.js +0 -2
  253. package/dist/cdn/FRE56NBG.js +0 -2
  254. package/dist/cdn/GSOBDGLK.js +0 -2
  255. package/dist/cdn/GUO7HKSP.js +0 -463
  256. package/dist/cdn/GX7U3727.js +0 -2
  257. package/dist/cdn/GXM3XY3J.js +0 -2
  258. package/dist/cdn/I273CANO.js +0 -2
  259. package/dist/cdn/I6NVKNZJ.js +0 -2
  260. package/dist/cdn/J5FKIZAM.js +0 -2
  261. package/dist/cdn/JL52W3Z4.js +0 -2
  262. package/dist/cdn/JOUR2FB2.js +0 -3
  263. package/dist/cdn/LISDTBEX.js +0 -2
  264. package/dist/cdn/LYLQCBVX.js +0 -2
  265. package/dist/cdn/N4VOTJ25.js +0 -2
  266. package/dist/cdn/N5QLV56W.js +0 -2
  267. package/dist/cdn/NRMQDCM3.js +0 -2
  268. package/dist/cdn/OD5WXP7J.js +0 -2
  269. package/dist/cdn/PMRFXB4F.js +0 -2
  270. package/dist/cdn/PNIFJ5DQ.js +0 -2
  271. package/dist/cdn/PZDI5ZDC.js +0 -2
  272. package/dist/cdn/RVYSVTPQ.js +0 -2
  273. package/dist/cdn/SVROAT3Z.js +0 -2
  274. package/dist/cdn/TBZXKKGP.js +0 -2
  275. package/dist/cdn/TNUCSWBN.js +0 -2
  276. package/dist/cdn/TOICLGFK.js +0 -2
  277. package/dist/cdn/TOTWYGB3.js +0 -2
  278. package/dist/cdn/TUUUK3VX.js +0 -2
  279. package/dist/cdn/WC3FPLYQ.js +0 -2
  280. package/dist/cdn/YTODQCOG.js +0 -2
  281. package/dist/cdn/ZDDN7UKS.js +0 -2
  282. package/dist/chunks/functional.js +0 -9
  283. package/dist/components/arcgis-portal-ai-assistant/data/capability-registries/types.d.ts +0 -45
  284. /package/dist/components/arcgis-portal-ai-assistant/{agents/types.d.ts → types/navigation.d.ts} +0 -0
  285. /package/dist/components/arcgis-portal-ai-assistant/{agents → types}/portalRouteKeys.d.ts +0 -0
@@ -1,4 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as Y}from"./OUMTV5H5.js";var X=globalThis,Z=X.ShadowRoot&&(X.ShadyCSS===void 0||X.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Et=Symbol(),kt=new WeakMap,I=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==Et)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Z&&t===void 0){let o=e!==void 0&&e.length===1;o&&(t=kt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&kt.set(e,t))}return t}toString(){return this.cssText}},jt=s=>new I(typeof s=="string"?s:s+"",void 0,Et),Ce=(s,...t)=>{let e=s.length===1?s[0]:t.reduce((o,r,n)=>o+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+s[n+1],s[0]);return new I(e,s,Et)},Ht=(s,t)=>{if(Z)s.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let o=document.createElement("style"),r=X.litNonce;r!==void 0&&o.setAttribute("nonce",r),o.textContent=e.cssText,s.appendChild(o)}},$t=Z?s=>s:s=>s instanceof CSSStyleSheet?(t=>{let e="";for(let o of t.cssRules)e+=o.cssText;return jt(e)})(s):s;var{is:we,defineProperty:Oe,getOwnPropertyDescriptor:Te,getOwnPropertyNames:Se,getOwnPropertySymbols:Pe,getPrototypeOf:Ne}=Object,et=globalThis,Vt=et.trustedTypes,De=Vt?Vt.emptyScript:"",xe=et.reactiveElementPolyfillSupport,k=(s,t)=>s,tt={toAttribute(s,t){switch(t){case Boolean:s=s?De:null;break;case Object:case Array:s=s==null?s:JSON.stringify(s)}return s},fromAttribute(s,t){let e=s;switch(t){case Boolean:e=s!==null;break;case Number:e=s===null?null:Number(s);break;case Object:case Array:try{e=JSON.parse(s)}catch{e=null}}return e}},j=(s,t)=>!we(s,t),zt={attribute:!0,type:String,converter:tt,reflect:!1,useDefault:!1,hasChanged:j};Symbol.metadata??=Symbol("metadata"),et.litPropertyMetadata??=new WeakMap;var _=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=zt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let o=Symbol(),r=this.getPropertyDescriptor(t,o,e);r!==void 0&&Oe(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){let{get:r,set:n}=Te(this.prototype,t)??{get(){return this[e]},set(i){this[e]=i}};return{get:r,set(i){let a=r?.call(this);n?.call(this,i),this.requestUpdate(t,a,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??zt}static _$Ei(){if(this.hasOwnProperty(k("elementProperties")))return;let t=Ne(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(k("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(k("properties"))){let e=this.properties,o=[...Se(e),...Pe(e)];for(let r of o)this.createProperty(r,e[r])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[o,r]of e)this.elementProperties.set(o,r)}this._$Eh=new Map;for(let[e,o]of this.elementProperties){let r=this._$Eu(e,o);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let r of o)e.unshift($t(r))}else t!==void 0&&e.push($t(t));return e}static _$Eu(t,e){let o=e.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ht(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$ET(t,e){let o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(r!==void 0&&o.reflect===!0){let n=(o.converter?.toAttribute!==void 0?o.converter:tt).toAttribute(e,o.type);this._$Em=t,n==null?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,e){let o=this.constructor,r=o._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let n=o.getPropertyOptions(r),i=typeof n.converter=="function"?{fromAttribute:n.converter}:n.converter?.fromAttribute!==void 0?n.converter:tt;this._$Em=r;let a=i.fromAttribute(e,n.type);this[r]=a??this._$Ej?.get(r)??a,this._$Em=null}}requestUpdate(t,e,o,r=!1,n){if(t!==void 0){let i=this.constructor;if(r===!1&&(n=this[t]),o??=i.getPropertyOptions(t),!((o.hasChanged??j)(n,e)||o.useDefault&&o.reflect&&n===this._$Ej?.get(t)&&!this.hasAttribute(i._$Eu(t,o))))return;this.C(t,e,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:o,reflect:r,wrapped:n},i){o&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,i??e??this[t]),n!==!0||i!==void 0)||(this._$AL.has(t)||(this.hasUpdated||o||(e=void 0),this._$AL.set(t,e)),r===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[r,n]of this._$Ep)this[r]=n;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[r,n]of o){let{wrapped:i}=n,a=this[r];i!==!0||this._$AL.has(r)||a===void 0||this.C(r,void 0,n,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(e)):this._$EM()}catch(o){throw t=!1,this._$EM(),o}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(t){}firstUpdated(t){}};_.elementStyles=[],_.shadowRootOptions={mode:"open"},_[k("elementProperties")]=new Map,_[k("finalized")]=new Map,xe?.({ReactiveElement:_}),(et.reactiveElementVersions??=[]).push("2.1.2");var _t=globalThis,Bt=s=>s,st=_t.trustedTypes,Wt=st?st.createPolicy("lit-html",{createHTML:s=>s}):void 0,At="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,Ct="?"+A,Le=`<${Ct}>`,T=document,V=()=>T.createComment(""),z=s=>s===null||typeof s!="object"&&typeof s!="function",wt=Array.isArray,Qt=s=>wt(s)||typeof s?.[Symbol.iterator]=="function",bt=`[
3
- \f\r]`,H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ft=/-->/g,qt=/>/g,w=RegExp(`>|${bt}(?:([^\\s"'>=/]+)(${bt}*=${bt}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Kt=/"/g,Yt=/^(?:script|style|textarea|title)$/i,Ot=s=>(t,...e)=>({_$litType$:s,strings:t,values:e}),fs=Ot(1),ms=Ot(2),ys=Ot(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Jt=new WeakMap,O=T.createTreeWalker(T,129);function Xt(s,t){if(!wt(s)||!s.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wt!==void 0?Wt.createHTML(t):t}var Zt=(s,t)=>{let e=s.length-1,o=[],r,n=t===2?"<svg>":t===3?"<math>":"",i=H;for(let a=0;a<e;a++){let l=s[a],c,u,h=-1,m=0;for(;m<l.length&&(i.lastIndex=m,u=i.exec(l),u!==null);)m=i.lastIndex,i===H?u[1]==="!--"?i=Ft:u[1]!==void 0?i=qt:u[2]!==void 0?(Yt.test(u[2])&&(r=RegExp("</"+u[2],"g")),i=w):u[3]!==void 0&&(i=w):i===w?u[0]===">"?(i=r??H,h=-1):u[1]===void 0?h=-2:(h=i.lastIndex-u[2].length,c=u[1],i=u[3]===void 0?w:u[3]==='"'?Kt:Gt):i===Kt||i===Gt?i=w:i===Ft||i===qt?i=H:(i=w,r=void 0);let v=i===w&&s[a+1].startsWith("/>")?" ":"";n+=i===H?l+Le:h>=0?(o.push(c),l.slice(0,h)+At+l.slice(h)+A+v):l+A+(h===-2?a:v)}return[Xt(s,n+(s[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},B=class s{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let n=0,i=0,a=t.length-1,l=this.parts,[c,u]=Zt(t,e);if(this.el=s.createElement(c,o),O.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(r=O.nextNode())!==null&&l.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(let h of r.getAttributeNames())if(h.endsWith(At)){let m=u[i++],v=r.getAttribute(h).split(A),C=/([.?@])?(.*)/.exec(m);l.push({type:1,index:n,name:C[2],strings:v,ctor:C[1]==="."?rt:C[1]==="?"?nt:C[1]==="@"?it:P}),r.removeAttribute(h)}else h.startsWith(A)&&(l.push({type:6,index:n}),r.removeAttribute(h));if(Yt.test(r.tagName)){let h=r.textContent.split(A),m=h.length-1;if(m>0){r.textContent=st?st.emptyScript:"";for(let v=0;v<m;v++)r.append(h[v],V()),O.nextNode(),l.push({type:2,index:++n});r.append(h[m],V())}}}else if(r.nodeType===8)if(r.data===Ct)l.push({type:2,index:n});else{let h=-1;for(;(h=r.data.indexOf(A,h+1))!==-1;)l.push({type:7,index:n}),h+=A.length-1}n++}}static createElement(t,e){let o=T.createElement("template");return o.innerHTML=t,o}};function S(s,t,e=s,o){if(t===f)return t;let r=o!==void 0?e._$Co?.[o]:e._$Cl,n=z(t)?void 0:t._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),n===void 0?r=void 0:(r=new n(s),r._$AT(s,e,o)),o!==void 0?(e._$Co??=[])[o]=r:e._$Cl=r),r!==void 0&&(t=S(s,r._$AS(s,t.values),r,o)),t}var ot=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??T).importNode(e,!0);O.currentNode=r;let n=O.nextNode(),i=0,a=0,l=o[0];for(;l!==void 0;){if(i===l.index){let c;l.type===2?c=new L(n,n.nextSibling,this,t):l.type===1?c=new l.ctor(n,l.name,l.strings,this,t):l.type===6&&(c=new at(n,this,t)),this._$AV.push(c),l=o[++a]}i!==l?.index&&(n=O.nextNode(),i++)}return O.currentNode=T,r}p(t){let e=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},L=class s{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),z(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Qt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&z(this._$AH)?this._$AA.nextSibling.data=t:this.T(T.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:o}=t,r=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=B.createElement(Xt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{let n=new ot(r,this),i=n.u(this.options);n.p(e),this.T(i),this._$AH=n}}_$AC(t){let e=Jt.get(t.strings);return e===void 0&&Jt.set(t.strings,e=new B(t)),e}k(t){wt(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,o,r=0;for(let n of t)r===e.length?e.push(o=new s(this.O(V()),this.O(V()),this,this.options)):o=e[r],o._$AI(n),r++;r<e.length&&(this._$AR(o&&o._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let o=Bt(t).nextSibling;Bt(t).remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},P=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,n){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=n,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=d}_$AI(t,e=this,o,r){let n=this.strings,i=!1;if(n===void 0)t=S(this,t,e,0),i=!z(t)||t!==this._$AH&&t!==f,i&&(this._$AH=t);else{let a=t,l,c;for(t=n[0],l=0;l<n.length-1;l++)c=S(this,a[o+l],e,l),c===f&&(c=this._$AH[l]),i||=!z(c)||c!==this._$AH[l],c===d?t=d:t!==d&&(t+=(c??"")+n[l+1]),this._$AH[l]=c}i&&!r&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},rt=class extends P{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},nt=class extends P{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},it=class extends P{constructor(t,e,o,r,n){super(t,e,o,r,n),this.type=5}_$AI(t,e=this){if((t=S(this,t,e,0)??d)===f)return;let o=this._$AH,r=t===d&&o!==d||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==d&&(o===d||r);r&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},at=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}},te={M:At,P:A,A:Ct,C:1,L:Zt,R:ot,D:Qt,V:S,I:L,H:P,N:nt,U:it,B:rt,F:at},Re=_t.litHtmlPolyfillSupport;Re?.(B,L),(_t.litHtmlVersions??=[]).push("3.3.2");var lt=(s,t,e)=>{let o=e?.renderBefore??t,r=o._$litPart$;if(r===void 0){let n=e?.renderBefore??null;o._$litPart$=r=new L(t.insertBefore(V(),n),n,void 0,e??{})}return r._$AI(s),r};var Tt=globalThis,E=class extends _{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=lt(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};E._$litElement$=!0,E.finalized=!0,Tt.litElementHydrateSupport?.({LitElement:E});var Ue=Tt.litElementPolyfillSupport;Ue?.({LitElement:E});(Tt.litElementVersions??=[]).push("4.2.2");var ee=new Set,se;var oe=s=>typeof s=="string"?s:"el"in s?s.el.localName:"localName"in s?s.localName:s.declaredClass,Ps=(s,t,e,o)=>{let r=oe(t);if(o?.once){let i=`${s}${r}${e}`;if(ee.has(i))return;ee.add(i)}let n;if(o?.detail){n={};for(let[i,a]of Object.entries(o.detail))if((typeof a=="object"||typeof a=="function")&&a!==null){let l=new WeakRef(a);Object.defineProperty(n,i,{enumerable:!0,get(){return l.deref()}})}else n[i]=a;se?.log.interceptors?.forEach(i=>i(s,r,e,n)),console[s](`[${r}]: ${e}`,n)}else se?.log.interceptors?.forEach(i=>i(s,r,e)),console[s](`[${r}]: ${e}`)},re=s=>{let t=`[${oe(s)}] `;return e=>{let o=e instanceof Error&&e.message?e:new Error(String(e));o.message=`${t}${o.message}`,setTimeout(()=>{throw e})}},Ns=s=>`The property \`${s.toString()}\` is required but missing.`,Ds=s=>`The property \`${s.toString()}\` is empty but must have at least one element.`;var p=(s,t,...e)=>{try{return s?.call(t,...e)}catch(o){console.error(o,s)}},W=async(s,t,...e)=>{try{return await s?.call(t,...e)}catch(o){console.error(o,s)}};var q=Symbol.for("controller"),Me=s=>typeof s=="object"&&s!==null&&(q in s||"hostConnected"in s||"hostDisconnected"in s||"hostUpdate"in s||"hostUpdated"in s),Rs=s=>typeof s?.then=="function";var F,D=s=>{F!==s&&(F=s,queueMicrotask(()=>F===s?F=void 0:0))},G=s=>F,N=[],ht=s=>{if(s===void 0){N=[];return}let t=N.indexOf(s);N=t===-1?[...N,s]:N.slice(0,t+1),queueMicrotask(()=>N=[])},ne=()=>N,R,Us=s=>{R!==s&&(R=s,queueMicrotask(()=>R===s?R=void 0:0))},Ie=()=>{let s=R;return R=void 0,s},ie=async(s,t)=>{let e=dt(s);if(e===void 0)return s;if(await e.ready,typeof t=="function"){let o=e.watchExports(r=>t(r,o))}return e.exports},ae=async s=>{let t=dt(s);return await t.ready,t},dt=s=>{let e=G().manager.X(s);if(e!==void 0)return e;if(Me(s))return s;let o=Ie();if(o!==void 0)return o},ct=!1,Ms=s=>{ct=!0;try{return s()}finally{ct=!1}};var b=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}};var le=(s,t)=>{let e=t>ke?je:t/He,o=0,r=setInterval(()=>{o+=e,o>=t&&(clearInterval(r),s())},e);return r},ke=4e3,je=2e3,He=4;var Ve=(s,t,e)=>{let o=Object.keys(s),r=o.length;U===void 0&&queueMicrotask(M),U??=new Map;let n=U.get(s);return n===void 0&&(n={callbacks:[],keyCount:r},U.set(s,n)),n.keyCount!==r&&(n.callbacks.forEach(i=>i(o)),n.callbacks=[],n.keyCount=r),n.callbacks.push(i=>{let a=c=>p(t,null,c),l=i[r];l===void 0?a(void 0):s[l]===e?a(l):a(void 0)}),e},U,M=()=>{U?.forEach(({callbacks:s},t)=>{let e=Object.keys(t);s.forEach(o=>o(e))}),U=void 0},ze=(s,t,e)=>{let o=s.manager;return o.V!==d&&o.V!==e&&o.S(void 0,void 0),o.T.length===0&&queueMicrotask(()=>o.S(void 0,void 0)),o.V=e,o.T.push((r,n)=>p(t,void 0,e===n?r:void 0)),e},Be=(s=[G(),...ne()],t,e)=>{let o=Array.isArray(s)?s:[s],r=o.length+1,n=i=>{r-=1,i!==void 0&&(r=Math.min(r,0)),r===0&&t(i)};o.forEach(i=>Ve(i,a=>n(a===void 0?void 0:{key:a,host:i,isReactive:!1}),e));for(let i of o)if("manager"in i&&i.manager.component===i){ze(i,a=>n(a===void 0?void 0:{key:a,host:i,isReactive:!0}),e);break}return e},We=(s="",t={},e=G())=>{let o={emit:r=>{s===""&&M();let n=new CustomEvent(s,{detail:r,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(n),n}};return s===""&&Be(void 0,r=>s=r.key,o),o},Fe=We.bind(null,""),de;de=q;var St=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#r=[],this.#n=[],this.#l=[],this.#c=[],this.#d=[],this.#i=[],this.#p=!1,this.P=new b,this.connectedCalled=!1,this.loadedCalled=!1,this[de]=!0,this.#h=[];let e=this,o=t??G(new.target.name);e.#o=o,e.ready=e.P.promise,e.#a=he(e),e.component=o,e.#o.addController(e),e.#o.manager===void 0||(ht(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#r;#n;#l;#c;#d;#i;#p;#o;catchUpLifecycle(){let{manager:t}=this.#o;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#p&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(re(this.#o))}#a;get exports(){return this.#a}set exports(t){let e=this.#a;e!==t&&(this.#a=t,this.#h.forEach(p),this.connectedCalled&&this.O!==!1&&this.#o.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#a=e?he(t):t,this.#h.forEach(p)}#h;watchExports(t){let e=()=>t(this.#a);return this.#h.push(e),()=>{this.#h.splice(this.#h.indexOf(e),1)}}get use(){return D(this.#o),ie}get useRef(){return D(this.#o),ae}get useRefSync(){return D(this.#o),dt}controllerRemoved(){this.#o.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#r.push(t)}onUpdate(t){this.#n.push(t)}onUpdated(t){this.#l.push(t)}onDestroy(t){this.#c.push(t)}onLifecycle(t){this.#d.push(t),this.connectedCalled&&this.#o.el.isConnected&&this.#u(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),t.#t.forEach(p),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),t.#e.forEach(p),t.#i.forEach(p),t.#i=[]}async triggerLoad(){if(this.#p)return;this.#p=!0;let t=this;t.hostLoad&&await W(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(W)),this.P.resolve(this.#a)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#r.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#n.forEach(ce,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#l.forEach(ce,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#c.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#d.forEach(this.#u,this)}#u(t){D(this.#o);let e=p(t);(Array.isArray(e)?e:[e]).forEach(r=>{typeof r=="function"?this.#i.push(r):typeof r=="object"&&typeof r.remove=="function"&&this.#i.push(r.remove)})}};function ce(s){p(s,void 0,this)}var he=s=>{if(typeof s!="object"&&typeof s!="function"||s===null)return s;let t={get(o,r,n){if(!((r==="exports"||r==="_exports")&&r in o&&o[r]===e)&&(r in o||r in Promise.prototype||typeof r=="symbol"))return typeof o=="function"?o[r]:Reflect.get(o,r,n)}},e=new Proxy(s,t);return e};var pe=St;var y={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},$=s=>(...t)=>({_$litDirective$:s,values:t}),g=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var{I:qe}=te,ue=s=>s;var pt=s=>s.strings===void 0,fe=()=>document.createComment(""),Ks=(s,t,e)=>{let o=s._$AA.parentNode,r=t===void 0?s._$AB:t._$AA;if(e===void 0){let n=o.insertBefore(fe(),r),i=o.insertBefore(fe(),r);e=new qe(n,i,s,s.options)}else{let n=e._$AB.nextSibling,i=e._$AM,a=i!==s;if(a){let l;e._$AQ?.(s),e._$AM=s,e._$AP!==void 0&&(l=s._$AU)!==i._$AU&&e._$AP(l)}if(n!==r||a){let l=e._$AA;for(;l!==n;){let c=ue(l).nextSibling;ue(o).insertBefore(l,r),l=c}}}return e},Js=(s,t,e=s)=>(s._$AI(t,e),s),Ge={},me=(s,t=Ge)=>s._$AH=t,Qs=s=>s._$AH,Ys=s=>{s._$AR(),s._$AA.remove()};var Ke=$(class extends g{constructor(s){if(super(s),s.type!==y.PROPERTY&&s.type!==y.ATTRIBUTE&&s.type!==y.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!pt(s))throw Error("`live` bindings can only contain a single expression")}render(s){return s}update(s,[t]){if(t===f||t===d)return t;let e=s.element,o=s.name;if(s.type===y.PROPERTY){if(t===e[o])return f}else if(s.type===y.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(o))return f}else if(s.type===y.ATTRIBUTE&&e.getAttribute(o)===t+"")return f;return me(s),t}});var K=(s,t)=>{let e=s._$AN;if(e===void 0)return!1;for(let o of e)o._$AO?.(t,!1),K(o,t);return!0},ut=s=>{let t,e;do{if((t=s._$AM)===void 0)break;e=t._$AN,e.delete(s),s=t}while(e?.size===0)},ye=s=>{for(let t;t=s._$AM;s=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(s))break;e.add(s),Ye(t)}};function Je(s){this._$AN!==void 0?(ut(this),this._$AM=s,ye(this)):this._$AM=s}function Qe(s,t=!1,e=0){let o=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(o))for(let n=e;n<o.length;n++)K(o[n],!1),ut(o[n]);else o!=null&&(K(o,!1),ut(o));else K(this,s)}var Ye=s=>{s.type==y.CHILD&&(s._$AP??=Qe,s._$AQ??=Je)},ft=class extends g{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,o){super._$AT(t,e,o),ye(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(K(this,t),ut(this))}setValue(t){if(pt(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var fo=()=>new Nt,Nt=class{},Pt=new WeakMap,Dt=$(class extends ft{render(s){return d}update(s,[t]){let e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=s.options?.host,this.rt(this.ct=s.element)),d}rt(s){if(this.isConnected||(s=void 0),typeof this.G=="function"){let t=this.ht??globalThis,e=Pt.get(t);e===void 0&&(e=new WeakMap,Pt.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,s),s!==void 0&&this.G.call(this.ht,s)}else this.G.value=s}get lt(){return typeof this.G=="function"?Pt.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var Lt=s=>{let t=s;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(s),(e.I??e._postLoad).promise}return!1},Rt={};function Ut(){}function Mt(s){for(let t of["Associated","Disabled","Reset","StateRestore"]){let e=`orm${t}Callback`;s.prototype["f"+e]=async function(...o){await this.componentOnReady(),(this.el??this).dispatchEvent(new CustomEvent(`luminaF${e}`,{detail:o}))}}}var Ze=(s,t)=>function(o,r){if(!globalThis.customElements)return;let i=(r??o??{}).resourcesUrl;i&&s.setAssetPath(i);for(let[a,[l,c="",u=0]]of Object.entries(t)){if(customElements.get(a))continue;let[h,m,v]=c.split(";"),C=h?h?.split(",").map(ts):void 0,vt=C?.map(([x])=>x),Q=class extends xt{static{this.formAssociated=u===1}static{this.observedAttributes=C?.map(([,x])=>x).filter(x=>x!=="")}static{this.C=vt}static{this.E=m?m?.split(","):void 0}static{this.D=v?.split(",")}static{this.L=a}static{this.K=s}constructor(){!Q.B&&(Q.B=l(),Q.F()),super()}};customElements.define(a,Q)}},mt=Object.defineProperty,ts=s=>{let t=s.split(":");return t.length===1?[t[0],Y(t[0])]:t},es=globalThis.HTMLElement??Ut,xt=class extends es{constructor(){super(),this.#e={},this.#s=[],this.I=new b,this.H=new b,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(o=>{Object.hasOwn(t,o)&&(t.#e[o]=t[o],delete t[o])}),e.A?t.#r({a:e.A}):e.B.then(async o=>{await e.K.p,t.#r(await(o.default?.then(r=>typeof r=="function"?{a:r}:r)??o))}).catch(o=>{t.H.reject(o),setTimeout(()=>{throw o})})}static{this.lumina=!0}static F(){for(let t of this.C??[])mt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])mt(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])mt(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}static{Mt(this)}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,o){this.#t?.attributeChangedCallback(t,e,o),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=Lt(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#r(t){let e=this.constructor,o=e.L,r=this.#e,n=Object.values(t).find(h=>h.L===o),i=`${o}--lazy`,a=n;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);os(a),!e.A&&(e.A=n,customElements.define(i,n)),n.N=this;let c=document.createElement(i);n.N=void 0,this.#t=c,this.#e=c,this.#s.forEach(h=>c.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(r).forEach(ss,c);let u=this.isConnected;(u||this.G)&&(c.connectedCallback?.(),u||c.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function ss([s,t]){this[s]=t}var os=s=>{let t=s.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(r,n){e.setAttribute.call(this.el,r,n)},t.removeAttribute=function(r){e.removeAttribute.call(this.el,r)},t.hasAttribute=function(r){return e.hasAttribute.call(this.el,r)},mt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var yt=class extends pe{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=gt in t&&typeof t.destroy=="function",E.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${gt} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),M();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):p(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):p(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),ht(void 0),D(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>{this.#e.destroy()};this.#t=le(t,rs)}}S(t,e){let o=this.T;this.V=d,this.T=[],o.forEach(r=>r(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},rs=1e3,gt="autoDestroyDisabled";var ve=$(class extends g{constructor(s){if(super(s),s.type!==y.ATTRIBUTE||s.name!=="class"||s.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(s){return" "+Object.keys(s).filter(t=>s[t]).join(" ")+" "}update(s,[t]){if(this.st===void 0){this.st=new Set,s.strings!==void 0&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}let e=s.element.classList;for(let o of this.st)o in t||(e.remove(o),this.st.delete(o));for(let o in t){let r=!!t[o];r===this.st.has(o)||this.nt?.has(o)||(r?(e.add(o),this.st.add(o)):(e.remove(o),this.st.delete(o)))}return f}});var Ee="important",ns=" !"+Ee,$e=$(class extends g{constructor(s){if(super(s),s.type!==y.ATTRIBUTE||s.name!=="style"||s.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(s){return Object.keys(s).reduce((t,e)=>{let o=s[e];return o==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(s,[t]){let{style:e}=s.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?e.removeProperty(o):e[o]=null);for(let o in t){let r=t[o];if(r!=null){this.ft.add(o);let n=typeof r=="string"&&r.endsWith(ns);o.includes("-")||n?e.setProperty(o,n?r.slice(0,-11):r,n?Ee:""):e[o]=r}}return f}});var be=class s extends E{constructor(){super(),this.M=[],this.manager=new yt(this);let t=this,e=t.constructor,o=e.N,r=e.K.o,n=s.prototype.shouldUpdate;t.#r=o?.H??new b,t.I=o?.I??new b,t.J=o?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=o??t,t.#s=t.enableUpdating,t.enableUpdating=Ut,t.shouldUpdate!==n&&(t.#e=t.shouldUpdate,t.shouldUpdate=n),r&&(t.#t=new Map,e.elementProperties.forEach((i,a)=>t.#t.set(a,r()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),o=this.shadowRootOptions===Rt;return this.K?.commonStyles===void 0||o?e:[this.K.commonStyles,...e]}static createProperty(t,e){let o=typeof e=="number"?e:Array.isArray(e)?e[0]:0,r=Array.isArray(e)?e[1]:void 0,n=r?.hasChanged??j,i={attribute:o&1&&typeof t=="string"?Y(t):!1,reflect:!!(o&2),type:o&4?Boolean:o&8?Number:void 0,state:!!(o&16),readOnly:!!(o&32),noAccessor:!!(o&64),useDefault:!!(o&128),c:!1,...r,hasChanged(a,l){let c=n(a,l);return i.c=c,c}};super.createProperty(t,i)}static getPropertyDescriptor(t,e,o){let r=this.K,n=super.getPropertyDescriptor(t,e,o);return o.d=n,{...n,get(){return r.t?.(this.#t.get(t)),n.get?.call(this)},set(i){let a=this.manager;if(o.readOnly&&!ct&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${i}"`);n.set.call(this,i??void 0),o.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(M(),a?.S(t,i))}}}static{this.lumina=!0}static{Mt(this)}#t;#e;#s;#r;#n;#l;get elementInternals(){return this.#l??=this.el.attachInternals(),this.#l}connectedCallback(){this.hasAttribute("defer-hydration")||this.#c(!0)}#c(t){let e=this.constructor.K.c?.(()=>this.requestUpdate());this.#n=e;let o=!this.manager.connectedCalled;t&&super.connectedCallback(),o?queueMicrotask(()=>this.#i().catch(r=>{this.#r.reject(r),setTimeout(()=>{throw r})})):e&&this.requestUpdate()}#d(t){try{this.#n.clear(),this.constructor.K.r(this.#n,()=>super.update(t))}catch(e){throw this.#n.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#n?.destroy(),this.#n=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,o=e.shadowRootOptions,n=t??(o===Rt?this.el:this.el.attachShadow(o));if(t)return this.manager.connectedCalled||this.#c(!1),E.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=n.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return n}async#i(){let t=this.el.G??Lt(this.el);t&&await t;let e=[];for(let r of this.M)"triggerLoad"in r?e.push(r.triggerLoad()):e.push(W(r.hostLoad,r));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(r=>r.has(gt)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await 0;let o=this.J.filter(r=>!r.manager?.loadedCalled);o.length&&await Promise.allSettled(o.map(async r=>await r.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let r of this.M)"triggerLoaded"in r?r.triggerLoaded():p(r.hostLoaded,r);this.loaded?.(),this.#r.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#n?this.#d(t):super.update(t)}listen(t,e,o){let r=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,r,o),()=>this.el.removeEventListener(t,r,o)))}listenOn(t,e,o,r){let n=o?.bind(this)??o;this.manager.onLifecycle(()=>(t.addEventListener(e,n,r),()=>t.removeEventListener(e,n,r)))}async componentOnReady(){return await this.#r.promise,this}addController(t){this.M.push(t),!(q in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}};var Ae=s=>{let t,e=r=>{t=new URL(r,globalThis.location?.href||void 0).href},o={...s,getAssetPath(r){let n=new URL(r,t);return n.origin!==globalThis.location?.origin?n.href:n.pathname},setAssetPath:e,customElement(r,n){n.K=o,n.L=r,customElements.get(r)||customElements.define(r,n)}};return e(s.defaultAssetPath),o};var Sr=s=>typeof s=="object"&&s!=null?ve(s):s,Pr=s=>typeof s=="object"&&s!=null?$e(s):s;var It=class extends g{#t;#e;constructor(t){super(t);let e=this;this.#e=function(r){return e.#t.call(this,r)}}render(t){return typeof t=="function"?(this.#t=t,Dt(this.#e)):Dt(t)}},Nr=$(It);var Dr=d;var xr=s=>{let t=document.createElement("div");return lt(s,t),t.firstElementChild};var J=Ae({defaultAssetPath:"https://jsdev.arcgis.com/6.0.0-next/portal-components/",hydratedAttribute:"hydrated"}),{customElement:Ir,getAssetPath:kr,setAssetPath:jr}=J;J.t=void 0;J.o=void 0;J.c=void 0;J.r=void 0;export{Rs as a,D as b,G as c,ht as d,ne as e,Us as f,Ms as g,Ce as h,j as i,fs as j,ms as k,f as l,d as m,lt as n,b as o,Ps as p,re as q,Ns as r,Ds as s,ze as t,Be as u,We as v,Fe as w,St as x,pe as y,Ze as z,y as A,$ as B,g as C,Ks as D,Js as E,me as F,Qs as G,Ys as H,Ke as I,fo as J,Dt as K,be as L,Sr as M,Pr as N,Dr as O,xr as P,J as Q,Ir as R,kr as S};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import e from"./L64UURQB.js";import"./V6A6MKLU.js";import d from"./GAF4YT5N.js";import"./SLQQ44IA.js";import"./4KTRAA2J.js";import"./PKA745KL.js";import"./VDXESPJK.js";import"./DAAON2UO.js";import c from"./RQYNPDN3.js";import b from"./ROX3GKKA.js";import a from"./PMRFXB4F.js";import"./K75JTQPW.js";import"./KV4ZZSNW.js";import"./EMJQI4MA.js";import"./7ZWYUHGK.js";import"./A2SQ4EMZ.js";import"./K2XSYDAP.js";import"./AICPYLWE.js";import"./OUMTV5H5.js";import"./5PV2GUZW.js";export default $arcgis.t(([,,,,{b:r}])=>{return r},a,b,c,d,e)