@esri/solutions-components 1.0.0-next.20250421 → 1.0.0-next.20250422.1
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.
- package/dist/cdn/{LQRERYNI.js → 222PINUA.js} +2 -2
- package/dist/cdn/{TH7K2UYC.js → 25DGGEE2.js} +1 -1
- package/dist/cdn/{OFNIK2TG.js → 25WTIK7H.js} +2 -2
- package/dist/cdn/{3GYVC6VX.js.LEGAL.txt → 25WTIK7H.js.LEGAL.txt} +1 -1
- package/dist/cdn/{DEQA77T6.js → 2ABPG44H.js} +2 -2
- package/dist/cdn/{BGTM76C7.js → 2ANEKUX6.js} +2 -2
- package/dist/cdn/{GE7KDUF7.js → 2I5CHBPX.js} +2 -2
- package/dist/cdn/{LMG7MFYY.js → 2JL3VGPH.js} +2 -2
- package/dist/cdn/{2O5CMVFZ.js.LEGAL.txt → 2JL3VGPH.js.LEGAL.txt} +1 -1
- package/dist/cdn/{P7FW3UYR.js → 2KICHN2S.js} +2 -2
- package/dist/cdn/{HAHPZ5CY.js → 2MCFHBQX.js} +2 -2
- package/dist/cdn/{JMJWRG7D.js → 2NALROCP.js} +2 -2
- package/dist/cdn/{NTQFHT3Z.js → 2PKDA7TO.js} +2 -2
- package/dist/cdn/{J3LIEQUH.js → 2QMGJ3XJ.js} +2 -2
- package/dist/cdn/{2RQQBQT5.js.LEGAL.txt → 2QMGJ3XJ.js.LEGAL.txt} +1 -1
- package/dist/cdn/{PZITCJTX.js → 2VRLTFJE.js} +2 -2
- package/dist/cdn/{KLTVU6ZX.js → 2ZMTTKLP.js} +2 -2
- package/dist/cdn/{SA7TFNKT.js → 34WLQM2Y.js} +2 -2
- package/dist/cdn/{4RDEX4LE.js.LEGAL.txt → 34WLQM2Y.js.LEGAL.txt} +1 -1
- package/dist/cdn/{B4YHBVIB.js → 3I6MNG5I.js} +2 -2
- package/dist/cdn/{FS527HB3.js → 3KMDHLFK.js} +2 -2
- package/dist/cdn/3QCO453D.js +4 -0
- package/dist/cdn/{DXF3ONTI.js → 3RNZPW7R.js} +2 -2
- package/dist/cdn/{OXI5EEJP.js → 3TENZ4IQ.js} +2 -2
- package/dist/cdn/{HGB7MUPI.js → 3VERSVTN.js} +2 -2
- package/dist/cdn/{6CAFVHDA.js.LEGAL.txt → 3VERSVTN.js.LEGAL.txt} +1 -1
- package/dist/cdn/{C4HGTGAU.js → 3Y5PEZHA.js} +2 -2
- package/dist/cdn/{S5ZD6TLX.js → 42M5G7PX.js} +2 -2
- package/dist/cdn/42M5G7PX.js.LEGAL.txt +3 -0
- package/dist/cdn/{3OPRBM4U.js → 435HT57Q.js} +2 -2
- package/dist/cdn/{64JZCCTJ.js → 43FII2KH.js} +2 -2
- package/dist/cdn/{Z7FGMCRT.js → 4AFMHN7X.js} +1 -1
- package/dist/cdn/{Q4QAI7EK.js → 4MJM2VEZ.js} +2 -2
- package/dist/cdn/{7BIHQLJ2.js → 4SAIOXJM.js} +1 -1
- package/dist/cdn/4TKZDLKM.js +4 -0
- package/dist/cdn/{XP7QAEIE.js → 4VVMRJ6U.js} +2 -2
- package/dist/cdn/4VVMRJ6U.js.LEGAL.txt +3 -0
- package/dist/cdn/{5GS2SLOY.js → 4XEYVJ3L.js} +2 -2
- package/dist/cdn/{A2DBFR2L.js → 4XNPDXQG.js} +2 -2
- package/dist/cdn/{5O4OQZSD.js → 53PEAQAR.js} +2 -2
- package/dist/cdn/{52FOCNIK.js → 56OEZQQ2.js} +2 -2
- package/dist/cdn/{FLVBJ2NV.js → 5IXUAHBO.js} +2 -2
- package/dist/cdn/5IXUAHBO.js.LEGAL.txt +3 -0
- package/dist/cdn/{OGEIDGWL.js → 5JHHJ5R7.js} +2 -2
- package/dist/cdn/{7SZJFAZ3.js → 5JMPPJTI.js} +2 -2
- package/dist/cdn/{447W24FQ.js.LEGAL.txt → 5JMPPJTI.js.LEGAL.txt} +1 -1
- package/dist/cdn/{YMIXI6ML.js → 5LPYX3SA.js} +2 -2
- package/dist/cdn/{NAL67M6S.js → 5O6PIRZB.js} +1 -1
- package/dist/cdn/{N7LFCSFV.js → 5OQAGEBN.js} +2 -2
- package/dist/cdn/{I2YQEDPG.js → 5OQUQVL6.js} +2 -2
- package/dist/cdn/5OQUQVL6.js.LEGAL.txt +3 -0
- package/dist/cdn/{GDOAXD27.js → 5PI4GIGX.js} +2 -2
- package/dist/cdn/{7R7AA7WH.js → 5PJNDISE.js} +2 -2
- package/dist/cdn/5PJNDISE.js.LEGAL.txt +3 -0
- package/dist/cdn/{6ZY3UZ4I.js → 5SPFLAXG.js} +2 -2
- package/dist/cdn/{5E72VYP7.js → 5TT7V4AK.js} +1 -1
- package/dist/cdn/{FS5FKP22.js → 5WLEKTDQ.js} +1 -1
- package/dist/cdn/{OU3OWASR.js → 6ILB2DKG.js} +2 -2
- package/dist/cdn/6ILB2DKG.js.LEGAL.txt +3 -0
- package/dist/cdn/{NFMVR2PW.js → 6L5657ZC.js} +1 -1
- package/dist/cdn/{LIAW2CCI.js → 6OY2TEWF.js} +1 -1
- package/dist/cdn/{BLHOW2EP.js → 6XUGZGRJ.js} +2 -2
- package/dist/cdn/{7NKLDCWH.js → 6XYHABRR.js} +1 -1
- package/dist/cdn/{E3RYOTQA.js → 74ROPD2T.js} +1 -1
- package/dist/cdn/{RSPO3MV5.js → 74ZUXUTC.js} +2 -2
- package/dist/cdn/{CUEGQBLM.js → 77UEK3G5.js} +2 -2
- package/dist/cdn/{QZ4XDDTQ.js → 7COSXWW5.js} +1 -1
- package/dist/cdn/{4QUYEOK2.js.LEGAL.txt → 7COSXWW5.js.LEGAL.txt} +1 -1
- package/dist/cdn/{MGZY2YKY.js → 7FCZPM7L.js} +2 -2
- package/dist/cdn/{6PQQQR7C.js → 7MF4WYO7.js} +2 -2
- package/dist/cdn/{MQDJ2V7S.js → 7NY6IL5P.js} +2 -2
- package/dist/cdn/7NY6IL5P.js.LEGAL.txt +3 -0
- package/dist/cdn/{6E4RZBGE.js → 7ODHBHTB.js} +2 -2
- package/dist/cdn/7ODHBHTB.js.LEGAL.txt +3 -0
- package/dist/cdn/{37G7ZWZW.js → 7SI2WOLR.js} +2 -2
- package/dist/cdn/{S6RPD6ST.js → 7U5ZEB3U.js} +2 -2
- package/dist/cdn/{7G2B7ZWM.js → 7VEJ5JMI.js} +2 -2
- package/dist/cdn/{M66Y4NNO.js → 7WTR7VUG.js} +2 -2
- package/dist/cdn/{O4HUH7JV.js → 7ZHRRG2K.js} +2 -2
- package/dist/cdn/{WIFR4RBN.js → A2TU565G.js} +2 -2
- package/dist/cdn/{XMCVVKAJ.js → A7PGPPO4.js} +2 -2
- package/dist/cdn/{RD6OTLDK.js → ABQDGR6J.js} +2 -2
- package/dist/cdn/ABQDGR6J.js.LEGAL.txt +3 -0
- package/dist/cdn/{C3WRPO63.js → AD7I3P66.js} +2 -2
- package/dist/cdn/AD7I3P66.js.LEGAL.txt +3 -0
- package/dist/cdn/{XFA3AR53.js → AKFAZ76O.js} +2 -2
- package/dist/cdn/AKFAZ76O.js.LEGAL.txt +3 -0
- package/dist/cdn/{OTEYVZJA.js → AKNLJ2VT.js} +2 -2
- package/dist/cdn/{EOIPK6OT.js → AXN2LGDH.js} +2 -2
- package/dist/cdn/{LFKGDFDS.js → AYJ6CFN2.js} +1 -1
- package/dist/cdn/{7SZJFAZ3.js.LEGAL.txt → AYJ6CFN2.js.LEGAL.txt} +1 -1
- package/dist/cdn/{NGNIRPQY.js → AZ2LGGXW.js} +1 -1
- package/dist/cdn/{5X52OCXF.js → AZT4X5KZ.js} +2 -2
- package/dist/cdn/{EEHCH4NG.js → BAAXUO76.js} +2 -2
- package/dist/cdn/{FUBFQBK4.js → BH5EUIHL.js} +2 -2
- package/dist/cdn/{C2RSISII.js → BN3DE5IH.js} +2 -2
- package/dist/cdn/{5TIPJV6U.js → BQB23JGG.js} +2 -2
- package/dist/cdn/{KCRE3SGW.js → BQUDFJPP.js} +1 -1
- package/dist/cdn/{JSDXOGK2.js → BT5YNY6B.js} +2 -2
- package/dist/cdn/{G5Q223OC.js → BW54E7PU.js} +2 -2
- package/dist/cdn/{D45VQ4JY.js → C46MCUWB.js} +1 -1
- package/dist/cdn/{FELWU2LY.js → C6DFKRJK.js} +2 -2
- package/dist/cdn/C6DFKRJK.js.LEGAL.txt +3 -0
- package/dist/cdn/{5SECXGW3.js → C6P2PMEQ.js} +2 -2
- package/dist/cdn/{LTTKQFF5.js → CBQHWQC2.js} +2 -2
- package/dist/cdn/{XDFAQ4JM.js → CIGJO3GT.js} +2 -2
- package/dist/cdn/{KTLNWTTJ.js → CKY3EABW.js} +2 -2
- package/dist/cdn/{FIA74XHL.js → CNVGWHFU.js} +1 -1
- package/dist/cdn/{WYC4OJQB.js → CO5FPBSD.js} +2 -2
- package/dist/cdn/{R37E4WCQ.js → D2SJOM5M.js} +1 -1
- package/dist/cdn/{A23M2B5M.js → D7DYA6I7.js} +1 -1
- package/dist/cdn/{HA4LO4M7.js → DC7URFPC.js} +2 -2
- package/dist/cdn/{ZU26ELUN.js → DDGOYJBS.js} +2 -2
- package/dist/cdn/DDGOYJBS.js.LEGAL.txt +3 -0
- package/dist/cdn/{FUITD7JR.js → DFLEFOTS.js} +2 -2
- package/dist/cdn/{24DYYEHS.js → DHXUYW3Z.js} +1 -1
- package/dist/cdn/{24DYYEHS.js.LEGAL.txt → DHXUYW3Z.js.LEGAL.txt} +1 -1
- package/dist/cdn/DRW3FP55.js +4 -0
- package/dist/cdn/{TLFHRUSY.js → DZQXUGQT.js} +2 -2
- package/dist/cdn/DZQXUGQT.js.LEGAL.txt +3 -0
- package/dist/cdn/{FYODPL2J.js → EH5GJKII.js} +2 -2
- package/dist/cdn/EMRNGPZR.js +4 -0
- package/dist/cdn/{G5LGXJXH.js → EPTRHKZN.js} +2 -2
- package/dist/cdn/EPTRHKZN.js.LEGAL.txt +3 -0
- package/dist/cdn/{AAQNUAXP.js → EVJPTMHH.js} +2 -2
- package/dist/cdn/{RMCQXFNG.js → F45P5LL3.js} +2 -2
- package/dist/cdn/F45P5LL3.js.LEGAL.txt +3 -0
- package/dist/cdn/{3QYQATNU.js → F5ZPMMOV.js} +2 -2
- package/dist/cdn/{GHRI4AIQ.js → F6T6DM56.js} +2 -2
- package/dist/cdn/{GDTHOX7H.js → F7ALJE4O.js} +2 -2
- package/dist/cdn/{ECPNNPPV.js → FGSUSJKQ.js} +2 -2
- package/dist/cdn/{2VLYR2ZQ.js → FN6DNORB.js} +2 -2
- package/dist/cdn/{TN6S44J6.js → FOJWMMS2.js} +2 -2
- package/dist/cdn/{IG4VRKHM.js → FQYUBPBD.js} +2 -2
- package/dist/cdn/FQYUBPBD.js.LEGAL.txt +3 -0
- package/dist/cdn/{4LMW2HCS.js → FRMZXNCU.js} +2 -2
- package/dist/cdn/{JK5QW5T3.js → FTGQNVWV.js} +2 -2
- package/dist/cdn/{C72TZEDY.js → GE4YESHS.js} +1 -1
- package/dist/cdn/{IVGQBTMS.js → GFILFR2Q.js} +2 -2
- package/dist/cdn/{DRGZKYUO.js → GKFSH2XY.js} +2 -2
- package/dist/cdn/{NYHI2F5I.js → GQJTJ32C.js} +2 -2
- package/dist/cdn/{QU2CY2DC.js → GSAONT2J.js} +1 -1
- package/dist/cdn/{F4SDJY33.js → GY4JHUPF.js} +2 -2
- package/dist/cdn/GY4JHUPF.js.LEGAL.txt +3 -0
- package/dist/cdn/{HMJ27XRH.js → H6YBMQK2.js} +1 -1
- package/dist/cdn/{KMKMWPDA.js → HIMSKITA.js} +2 -2
- package/dist/cdn/{3ADZGQSU.js → HMZCE6TI.js} +2 -2
- package/dist/cdn/{C2ED5672.js → HOA2ST6P.js} +2 -2
- package/dist/cdn/{BTB3RJFH.js → HPKUEQQ3.js} +1 -1
- package/dist/cdn/{OBLGXO3O.js → HSIJWKSS.js} +2 -2
- package/dist/cdn/{JQHWESAX.js → HZIZQSP6.js} +2 -2
- package/dist/cdn/{JIXF6BJQ.js → HZJBI6AS.js} +2 -2
- package/dist/cdn/{D475HNBB.js → IMF7M5P6.js} +2 -2
- package/dist/cdn/{N4VWCCME.js → ISHUKLCC.js} +2 -2
- package/dist/cdn/{5DS5DAON.js → IW67EMAA.js} +1 -1
- package/dist/cdn/{6P6WDGLB.js → IWQOOAM2.js} +2 -2
- package/dist/cdn/{2RQQBQT5.js → J3U3BWOX.js} +2 -2
- package/dist/cdn/J3U3BWOX.js.LEGAL.txt +3 -0
- package/dist/cdn/{PKEEYKHH.js → JCDMYGUE.js} +2 -2
- package/dist/cdn/{2O5CMVFZ.js → JHDKMWBE.js} +2 -2
- package/dist/cdn/JHDKMWBE.js.LEGAL.txt +3 -0
- package/dist/cdn/{FTNPFWHQ.js → JHMYZHVA.js} +2 -2
- package/dist/cdn/{EHZBKYI7.js → JHVDCOTG.js} +2 -2
- package/dist/cdn/{Y6FRC3XK.js → JJDBCRGD.js} +2 -2
- package/dist/cdn/{NAOGLJRJ.js → JSSETWOL.js} +2 -2
- package/dist/cdn/{HIHB3GO4.js → K3TK3RFO.js} +2 -2
- package/dist/cdn/{Z3TJHM7O.js → K46Y2JHL.js} +2 -2
- package/dist/cdn/K46Y2JHL.js.LEGAL.txt +3 -0
- package/dist/cdn/{XFJACP3D.js → K4UPZETR.js} +2 -2
- package/dist/cdn/{OSV5GHQH.js → KDZIKNGZ.js} +1 -1
- package/dist/cdn/KDZIKNGZ.js.LEGAL.txt +19 -0
- package/dist/cdn/{CDDDG2CJ.js → KJD73O5L.js} +2 -2
- package/dist/cdn/{S5IJ6MKR.js → KR4YPSIO.js} +2 -2
- package/dist/cdn/KR4YPSIO.js.LEGAL.txt +3 -0
- package/dist/cdn/{VJAHY55S.js → KWSJRBEV.js} +2 -2
- package/dist/cdn/KWSJRBEV.js.LEGAL.txt +3 -0
- package/dist/cdn/{FH3ALAXG.js → LCRJ57SQ.js} +2 -2
- package/dist/cdn/{K5RZKKDW.js → LGSBAI5T.js} +2 -2
- package/dist/cdn/LGSBAI5T.js.LEGAL.txt +3 -0
- package/dist/cdn/{Y5G7UOGZ.js → LILVOJBC.js} +2 -2
- package/dist/cdn/LILVOJBC.js.LEGAL.txt +3 -0
- package/dist/cdn/{F7U2YNEN.js → LJMNDND6.js} +2 -2
- package/dist/cdn/{FW7QKLBK.js → LM6P5MVI.js} +2 -2
- package/dist/cdn/LM6P5MVI.js.LEGAL.txt +19 -0
- package/dist/cdn/{N4VNMVSP.js → LT3UGGQ2.js} +2 -2
- package/dist/cdn/{VMDOTRSV.js → LZO7CCGL.js} +2 -2
- package/dist/cdn/LZO7CCGL.js.LEGAL.txt +3 -0
- package/dist/cdn/{DADD3DNI.js → M52H532G.js} +2 -2
- package/dist/cdn/M52H532G.js.LEGAL.txt +19 -0
- package/dist/cdn/{VFFWQVRE.js → M73OZ754.js} +2 -2
- package/dist/cdn/{FCPEJAL3.js → MFCWHMXG.js} +2 -2
- package/dist/cdn/{MR4CQBTF.js → MPRL6ZEJ.js} +2 -2
- package/dist/cdn/{OUMH3AEC.js → MSKV47GF.js} +1 -1
- package/dist/cdn/{Z5ZA64W5.js → MTB2PZSE.js} +2 -2
- package/dist/cdn/N7L4HZCP.js +4 -0
- package/dist/cdn/{Y2KN4O7F.js → NEX4EHQJ.js} +2 -2
- package/dist/cdn/NEX4EHQJ.js.LEGAL.txt +3 -0
- package/dist/cdn/{LWUFVEEW.js → NOIHHBUQ.js} +1 -1
- package/dist/cdn/{RSG5EFSV.js → NONMNQYN.js} +2 -2
- package/dist/cdn/{TW2SNITT.js → NP7FXTYZ.js} +1 -1
- package/dist/cdn/{O3D4CJ3M.js → NQOEAERW.js} +2 -2
- package/dist/cdn/NQOEAERW.js.LEGAL.txt +19 -0
- package/dist/cdn/{CTG66IFZ.js → NW7537CA.js} +2 -2
- package/dist/cdn/{WMGFY7WM.js → NXIEE26J.js} +2 -2
- package/dist/cdn/{PMI3V275.js → NXRKL5ST.js} +2 -2
- package/dist/cdn/O5QFAK3V.js +4 -0
- package/dist/cdn/{VLIKLBIL.js → O6WSYTKX.js} +2 -2
- package/dist/cdn/{OPZDSH5Z.js → OAARF74W.js} +2 -2
- package/dist/cdn/{RFLSFGUJ.js → OPJGVXU3.js} +2 -2
- package/dist/cdn/{4QUYEOK2.js → ORHOPX7I.js} +1 -1
- package/dist/cdn/ORHOPX7I.js.LEGAL.txt +19 -0
- package/dist/cdn/{II62GZRL.js → OTA3ST22.js} +2 -2
- package/dist/cdn/{7GFSXHXT.js → OW3XJDZZ.js} +2 -2
- package/dist/cdn/{N5X2MJCX.js → OXTUFNXE.js} +2 -2
- package/dist/cdn/OXTUFNXE.js.LEGAL.txt +3 -0
- package/dist/cdn/{Z22U73PJ.js → PDLNNDV5.js} +2 -2
- package/dist/cdn/PDLNNDV5.js.LEGAL.txt +3 -0
- package/dist/cdn/{R3CV7EYK.js → PDM3YRHM.js} +2 -2
- package/dist/cdn/{PX66PBGO.js → PLDDAKJT.js} +2 -2
- package/dist/cdn/{K5GM4SFL.js → PP4WHH2U.js} +2 -2
- package/dist/cdn/{447W24FQ.js → PSY5BIL3.js} +1 -1
- package/dist/cdn/PSY5BIL3.js.LEGAL.txt +19 -0
- package/dist/cdn/{LKQQ346U.js → PVYUYZP4.js} +2 -2
- package/dist/cdn/{UAHESBX3.js → QF7BTMQK.js} +2 -2
- package/dist/cdn/{QBWCEKSG.js → QITRLLO7.js} +2 -2
- package/dist/cdn/QKW64AMY.js +4 -0
- package/dist/cdn/{B7XMG34C.js → QQEZI6DK.js} +2 -2
- package/dist/cdn/{P3W4QP3X.js → QTA5BLUB.js} +2 -2
- package/dist/cdn/{PYFSTONP.js → QX75N4GX.js} +2 -2
- package/dist/cdn/{4RDEX4LE.js → QYNSIYV7.js} +2 -2
- package/dist/cdn/QYNSIYV7.js.LEGAL.txt +3 -0
- package/dist/cdn/{VW4OLTTK.js → RB25F2XB.js} +2 -2
- package/dist/cdn/{7BI2IWYR.js → RCWXKO6J.js} +2 -2
- package/dist/cdn/RCWXKO6J.js.LEGAL.txt +3 -0
- package/dist/cdn/{CUHUBUII.js → RDALOARN.js} +2 -2
- package/dist/cdn/{3O5SOAXC.js → RG2Z7YLS.js} +1 -1
- package/dist/cdn/{I5OOHSPA.js → RIFWQC6R.js} +2 -2
- package/dist/cdn/RIFWQC6R.js.LEGAL.txt +3 -0
- package/dist/cdn/{4YGCOCO4.js → RTHXMPTM.js} +2 -2
- package/dist/cdn/{ELJJHP24.js → S6DR6MYH.js} +2 -2
- package/dist/cdn/{L5DDOTJU.js → SCZCHF6L.js} +2 -2
- package/dist/cdn/SCZCHF6L.js.LEGAL.txt +3 -0
- package/dist/cdn/{BLJZBWSR.js → SH6FAQO7.js} +2 -2
- package/dist/cdn/{LG3V6OMR.js → SK2DTLY4.js} +2 -2
- package/dist/cdn/{3GYVC6VX.js → SMMJC5AG.js} +2 -2
- package/dist/cdn/SMMJC5AG.js.LEGAL.txt +19 -0
- package/dist/cdn/{WT7Q5TQ7.js → SOOEETMT.js} +2 -2
- package/dist/cdn/{KPGG2V7X.js → SZJSCYQA.js} +2 -2
- package/dist/cdn/{34QJB3KH.js → TJUKPVI3.js} +2 -2
- package/dist/cdn/{F46OUWER.js → TUHWW2EM.js} +2 -2
- package/dist/cdn/{TE6HN43Y.js → TVBVS5O2.js} +2 -2
- package/dist/cdn/{52RQB3JW.js → TVGRIVLO.js} +2 -2
- package/dist/cdn/{G3MYHUIU.js → TYSQ4N7X.js} +2 -2
- package/dist/cdn/{RGCXNTJS.js → U6U4SMJ3.js} +2 -2
- package/dist/cdn/{D7SLG6ZG.js → U6ZEBVTK.js} +2 -2
- package/dist/cdn/{YQIYSCHZ.js → UE2NOYII.js} +2 -2
- package/dist/cdn/{Z5UK7A7T.js → UFP3ZRRK.js} +2 -2
- package/dist/cdn/{5H27HMOV.js → ULODS3NH.js} +2 -2
- package/dist/cdn/{LSW7SZHH.js → UWVC7MDL.js} +2 -2
- package/dist/cdn/{ASGEYRMW.js → VD2H7AXB.js} +2 -2
- package/dist/cdn/VD2H7AXB.js.LEGAL.txt +19 -0
- package/dist/cdn/{IEJDVM34.js → VGRCU4CQ.js} +3 -3
- package/dist/cdn/VGRCU4CQ.js.LEGAL.txt +3 -0
- package/dist/cdn/{ZBP6WJ2E.js → VJXN66TP.js} +2 -2
- package/dist/cdn/{XJIF3KDI.js → VWU5PGNX.js} +2 -2
- package/dist/cdn/{DZTF6FOD.js → VYXNMIVY.js} +2 -2
- package/dist/cdn/VYXNMIVY.js.LEGAL.txt +3 -0
- package/dist/cdn/{UC2G4HYE.js → W33QNQEW.js} +2 -2
- package/dist/cdn/{DURC6OUD.js → WAJXTQOO.js} +1 -1
- package/dist/cdn/WAJXTQOO.js.LEGAL.txt +3 -0
- package/dist/cdn/{533KRSLA.js → WK5CTG4R.js} +1 -1
- package/dist/cdn/{ABWKKYR2.js → WU7WUQ2R.js} +1 -1
- package/dist/cdn/{JMQWM5PZ.js → WWTCJFJX.js} +4 -4
- package/dist/cdn/{JMQWM5PZ.js.LEGAL.txt → WWTCJFJX.js.LEGAL.txt} +1 -1
- package/dist/cdn/{DJCX36DO.js → X6OT7JGQ.js} +2 -2
- package/dist/cdn/X6OT7JGQ.js.LEGAL.txt +3 -0
- package/dist/cdn/{YLBEWBZN.js → X77KLHWV.js} +2 -2
- package/dist/cdn/{ADG7XGSZ.js → XCL57GM5.js} +2 -2
- package/dist/cdn/XCL57GM5.js.LEGAL.txt +3 -0
- package/dist/cdn/{U7UZXKGA.js → XFDVYUNV.js} +1 -1
- package/dist/cdn/{RVDPD2TX.js → XFNKXLV5.js} +1 -1
- package/dist/cdn/{CMMCB5YM.js → XFW6YQDF.js} +2 -2
- package/dist/cdn/{TRYI5PPE.js → XQPEJDGG.js} +2 -2
- package/dist/cdn/{KMX7GJ2V.js → XQWSSMSI.js} +2 -2
- package/dist/cdn/{4YOJWCYM.js → Y5BM4JIE.js} +2 -2
- package/dist/cdn/{2477ZMWR.js → Y7YOWZ3M.js} +2 -2
- package/dist/cdn/{3VVKHB4A.js → YDBXFP6M.js} +2 -2
- package/dist/cdn/YGFQXR2T.js +4 -0
- package/dist/cdn/{3SUTI3JP.js → YM4Z5QAC.js} +2 -2
- package/dist/cdn/{3O35PHYV.js → YMQBJWIF.js} +2 -2
- package/dist/cdn/{HXYXWT2X.js → YMVN3TIT.js} +2 -2
- package/dist/cdn/{WCFCI3KG.js → YNDZ6NUJ.js} +2 -2
- package/dist/cdn/{R5IH3Z6F.js → YSGUNIQF.js} +1 -1
- package/dist/cdn/{VRTWHFBW.js → YTD6QAPE.js} +2 -2
- package/dist/cdn/{6CAFVHDA.js → YWQ6W64N.js} +2 -2
- package/dist/cdn/YWQ6W64N.js.LEGAL.txt +3 -0
- package/dist/cdn/{W7RXTUB5.js → Z4WQDSZH.js} +2 -2
- package/dist/cdn/Z4WQDSZH.js.LEGAL.txt +3 -0
- package/dist/cdn/{TOSGKG44.js → Z7BQBOXY.js} +2 -2
- package/dist/cdn/Z7BQBOXY.js.LEGAL.txt +3 -0
- package/dist/cdn/{SMNES3ZO.js → ZCQVMEJW.js} +2 -2
- package/dist/cdn/{U7IPBJPG.js → ZDN3WXDL.js} +2 -2
- package/dist/cdn/ZDN3WXDL.js.LEGAL.txt +3 -0
- package/dist/cdn/{RM4IM2EC.js → ZLYUYADN.js} +2 -2
- package/dist/cdn/ZLYUYADN.js.LEGAL.txt +3 -0
- package/dist/cdn/{ZD2DS5SF.js → ZLZUJZIX.js} +2 -2
- package/dist/cdn/{NWEONES2.js → ZMOIAXDE.js} +1 -1
- package/dist/cdn/{KCLJAA33.js → ZNKTBVTN.js} +2 -2
- package/dist/cdn/{KCLJAA33.js.LEGAL.txt → ZNKTBVTN.js.LEGAL.txt} +1 -1
- package/dist/cdn/{2L5SFFKH.js → ZPEE7MB6.js} +2 -2
- package/dist/cdn/{6KTECIQI.js → ZQETOA2X.js} +1 -1
- package/dist/cdn/{TP3MCRVZ.js → ZRM7WPFH.js} +2 -2
- package/dist/cdn/{XVZ3BRDJ.js → ZVG74YSZ.js} +1 -1
- package/dist/cdn/assets/arcgis-pdf-creator/labelFormats.json +1 -0
- package/dist/cdn/index.esm.js +2 -2
- package/dist/cdn/index.esm.js.LEGAL.txt +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/languageUtil.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/publicNotificationStore.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solution-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +3 -3
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +3 -3
- package/dist/cdn/3MY6MDFG.js +0 -4
- package/dist/cdn/4BJZGRUA.js +0 -4
- package/dist/cdn/5DBW7DFP.js +0 -4
- package/dist/cdn/6E4RZBGE.js.LEGAL.txt +0 -3
- package/dist/cdn/7BI2IWYR.js.LEGAL.txt +0 -3
- package/dist/cdn/7R7AA7WH.js.LEGAL.txt +0 -3
- package/dist/cdn/ADG7XGSZ.js.LEGAL.txt +0 -3
- package/dist/cdn/ALRZWQWY.js +0 -4
- package/dist/cdn/ASGEYRMW.js.LEGAL.txt +0 -19
- package/dist/cdn/C3FGKVKH.js +0 -4
- package/dist/cdn/C3WRPO63.js.LEGAL.txt +0 -3
- package/dist/cdn/DADD3DNI.js.LEGAL.txt +0 -19
- package/dist/cdn/DJCX36DO.js.LEGAL.txt +0 -3
- package/dist/cdn/DURC6OUD.js.LEGAL.txt +0 -3
- package/dist/cdn/DZTF6FOD.js.LEGAL.txt +0 -3
- package/dist/cdn/F4SDJY33.js.LEGAL.txt +0 -3
- package/dist/cdn/FELWU2LY.js.LEGAL.txt +0 -3
- package/dist/cdn/FLVBJ2NV.js.LEGAL.txt +0 -3
- package/dist/cdn/FW7QKLBK.js.LEGAL.txt +0 -19
- package/dist/cdn/G5LGXJXH.js.LEGAL.txt +0 -3
- package/dist/cdn/HGB7MUPI.js.LEGAL.txt +0 -3
- package/dist/cdn/I2YQEDPG.js.LEGAL.txt +0 -3
- package/dist/cdn/I5OOHSPA.js.LEGAL.txt +0 -3
- package/dist/cdn/IEJDVM34.js.LEGAL.txt +0 -3
- package/dist/cdn/IG4VRKHM.js.LEGAL.txt +0 -3
- package/dist/cdn/J3LIEQUH.js.LEGAL.txt +0 -3
- package/dist/cdn/K5RZKKDW.js.LEGAL.txt +0 -3
- package/dist/cdn/L2A4BQRU.js +0 -4
- package/dist/cdn/L5DDOTJU.js.LEGAL.txt +0 -3
- package/dist/cdn/LFKGDFDS.js.LEGAL.txt +0 -19
- package/dist/cdn/LMG7MFYY.js.LEGAL.txt +0 -3
- package/dist/cdn/MQDJ2V7S.js.LEGAL.txt +0 -3
- package/dist/cdn/N5X2MJCX.js.LEGAL.txt +0 -3
- package/dist/cdn/O3D4CJ3M.js.LEGAL.txt +0 -19
- package/dist/cdn/OFNIK2TG.js.LEGAL.txt +0 -19
- package/dist/cdn/OSV5GHQH.js.LEGAL.txt +0 -19
- package/dist/cdn/OU3OWASR.js.LEGAL.txt +0 -3
- package/dist/cdn/QZ4XDDTQ.js.LEGAL.txt +0 -19
- package/dist/cdn/RD6OTLDK.js.LEGAL.txt +0 -3
- package/dist/cdn/RM4IM2EC.js.LEGAL.txt +0 -3
- package/dist/cdn/RMCQXFNG.js.LEGAL.txt +0 -3
- package/dist/cdn/S5IJ6MKR.js.LEGAL.txt +0 -3
- package/dist/cdn/S5ZD6TLX.js.LEGAL.txt +0 -3
- package/dist/cdn/SA7TFNKT.js.LEGAL.txt +0 -3
- package/dist/cdn/SGTNMJZW.js +0 -4
- package/dist/cdn/TLFHRUSY.js.LEGAL.txt +0 -3
- package/dist/cdn/TOSGKG44.js.LEGAL.txt +0 -3
- package/dist/cdn/U7IPBJPG.js.LEGAL.txt +0 -3
- package/dist/cdn/VJAHY55S.js.LEGAL.txt +0 -3
- package/dist/cdn/VMDOTRSV.js.LEGAL.txt +0 -3
- package/dist/cdn/W7RXTUB5.js.LEGAL.txt +0 -3
- package/dist/cdn/WVLE5TEG.js +0 -4
- package/dist/cdn/XFA3AR53.js.LEGAL.txt +0 -3
- package/dist/cdn/XP7QAEIE.js.LEGAL.txt +0 -3
- package/dist/cdn/Y2KN4O7F.js.LEGAL.txt +0 -3
- package/dist/cdn/Y5G7UOGZ.js.LEGAL.txt +0 -3
- package/dist/cdn/Z22U73PJ.js.LEGAL.txt +0 -3
- package/dist/cdn/Z3TJHM7O.js.LEGAL.txt +0 -3
- package/dist/cdn/ZU26ELUN.js.LEGAL.txt +0 -3
- package/dist/solutions-components_commit.txt +0 -10
- /package/dist/cdn/{2477ZMWR.js.LEGAL.txt → 222PINUA.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{2L5SFFKH.js.LEGAL.txt → 25DGGEE2.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{2VLYR2ZQ.js.LEGAL.txt → 2ABPG44H.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{34QJB3KH.js.LEGAL.txt → 2ANEKUX6.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{37G7ZWZW.js.LEGAL.txt → 2I5CHBPX.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{3ADZGQSU.js.LEGAL.txt → 2KICHN2S.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{3MY6MDFG.js.LEGAL.txt → 2MCFHBQX.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{3O35PHYV.js.LEGAL.txt → 2NALROCP.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{3O5SOAXC.js.LEGAL.txt → 2PKDA7TO.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{3OPRBM4U.js.LEGAL.txt → 2VRLTFJE.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{3QYQATNU.js.LEGAL.txt → 2ZMTTKLP.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{3SUTI3JP.js.LEGAL.txt → 3I6MNG5I.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{FS527HB3.js.LEGAL.txt → 3KMDHLFK.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{4BJZGRUA.js.LEGAL.txt → 3QCO453D.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{4LMW2HCS.js.LEGAL.txt → 3RNZPW7R.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{4YGCOCO4.js.LEGAL.txt → 3TENZ4IQ.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{4YOJWCYM.js.LEGAL.txt → 3Y5PEZHA.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{52FOCNIK.js.LEGAL.txt → 435HT57Q.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{5DBW7DFP.js.LEGAL.txt → 43FII2KH.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{5DS5DAON.js.LEGAL.txt → 4AFMHN7X.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{5E72VYP7.js.LEGAL.txt → 4MJM2VEZ.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{5GS2SLOY.js.LEGAL.txt → 4SAIOXJM.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{5H27HMOV.js.LEGAL.txt → 4TKZDLKM.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{5O4OQZSD.js.LEGAL.txt → 4XEYVJ3L.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{5SECXGW3.js.LEGAL.txt → 4XNPDXQG.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{5TIPJV6U.js.LEGAL.txt → 53PEAQAR.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{5X52OCXF.js.LEGAL.txt → 56OEZQQ2.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{OGEIDGWL.js.LEGAL.txt → 5JHHJ5R7.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{64JZCCTJ.js.LEGAL.txt → 5LPYX3SA.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{6KTECIQI.js.LEGAL.txt → 5O6PIRZB.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{6P6WDGLB.js.LEGAL.txt → 5OQAGEBN.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{6PQQQR7C.js.LEGAL.txt → 5PI4GIGX.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{6ZY3UZ4I.js.LEGAL.txt → 5SPFLAXG.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{7BIHQLJ2.js.LEGAL.txt → 5TT7V4AK.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{533KRSLA.js.LEGAL.txt → 5WLEKTDQ.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{7G2B7ZWM.js.LEGAL.txt → 6L5657ZC.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{7GFSXHXT.js.LEGAL.txt → 6OY2TEWF.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{7NKLDCWH.js.LEGAL.txt → 6XUGZGRJ.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{A2DBFR2L.js.LEGAL.txt → 6XYHABRR.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{AAQNUAXP.js.LEGAL.txt → 74ROPD2T.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{ABWKKYR2.js.LEGAL.txt → 74ZUXUTC.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{ALRZWQWY.js.LEGAL.txt → 77UEK3G5.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{B4YHBVIB.js.LEGAL.txt → 7FCZPM7L.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{B7XMG34C.js.LEGAL.txt → 7MF4WYO7.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{BGTM76C7.js.LEGAL.txt → 7SI2WOLR.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{BLHOW2EP.js.LEGAL.txt → 7U5ZEB3U.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{BLJZBWSR.js.LEGAL.txt → 7VEJ5JMI.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{BTB3RJFH.js.LEGAL.txt → 7WTR7VUG.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{C2ED5672.js.LEGAL.txt → 7ZHRRG2K.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{C2RSISII.js.LEGAL.txt → A2TU565G.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{C3FGKVKH.js.LEGAL.txt → A7PGPPO4.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{C4HGTGAU.js.LEGAL.txt → AKNLJ2VT.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{C72TZEDY.js.LEGAL.txt → AXN2LGDH.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{CDDDG2CJ.js.LEGAL.txt → AZ2LGGXW.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{CMMCB5YM.js.LEGAL.txt → AZT4X5KZ.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{CTG66IFZ.js.LEGAL.txt → BAAXUO76.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{CUEGQBLM.js.LEGAL.txt → BH5EUIHL.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{CUHUBUII.js.LEGAL.txt → BN3DE5IH.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{D45VQ4JY.js.LEGAL.txt → BQB23JGG.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{D7SLG6ZG.js.LEGAL.txt → BQUDFJPP.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{DEQA77T6.js.LEGAL.txt → BT5YNY6B.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{DRGZKYUO.js.LEGAL.txt → BW54E7PU.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{DXF3ONTI.js.LEGAL.txt → C46MCUWB.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{E3RYOTQA.js.LEGAL.txt → C6P2PMEQ.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{ECPNNPPV.js.LEGAL.txt → CBQHWQC2.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{EEHCH4NG.js.LEGAL.txt → CIGJO3GT.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{EHZBKYI7.js.LEGAL.txt → CKY3EABW.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{ELJJHP24.js.LEGAL.txt → CNVGWHFU.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{WYC4OJQB.js.LEGAL.txt → CO5FPBSD.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{EOIPK6OT.js.LEGAL.txt → D2SJOM5M.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{A23M2B5M.js.LEGAL.txt → D7DYA6I7.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{F46OUWER.js.LEGAL.txt → DC7URFPC.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{F7U2YNEN.js.LEGAL.txt → DFLEFOTS.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{FCPEJAL3.js.LEGAL.txt → DRW3FP55.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{FH3ALAXG.js.LEGAL.txt → EH5GJKII.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{FIA74XHL.js.LEGAL.txt → EMRNGPZR.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{FTNPFWHQ.js.LEGAL.txt → EVJPTMHH.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{FUBFQBK4.js.LEGAL.txt → F5ZPMMOV.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{FUITD7JR.js.LEGAL.txt → F6T6DM56.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{FYODPL2J.js.LEGAL.txt → F7ALJE4O.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{G3MYHUIU.js.LEGAL.txt → FGSUSJKQ.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{G5Q223OC.js.LEGAL.txt → FN6DNORB.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{GDOAXD27.js.LEGAL.txt → FOJWMMS2.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{GDTHOX7H.js.LEGAL.txt → FRMZXNCU.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{GE7KDUF7.js.LEGAL.txt → FTGQNVWV.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{GHRI4AIQ.js.LEGAL.txt → GE4YESHS.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{HA4LO4M7.js.LEGAL.txt → GFILFR2Q.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{HAHPZ5CY.js.LEGAL.txt → GKFSH2XY.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{HIHB3GO4.js.LEGAL.txt → GQJTJ32C.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{HMJ27XRH.js.LEGAL.txt → GSAONT2J.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{HXYXWT2X.js.LEGAL.txt → H6YBMQK2.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{II62GZRL.js.LEGAL.txt → HIMSKITA.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{IVGQBTMS.js.LEGAL.txt → HMZCE6TI.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{JIXF6BJQ.js.LEGAL.txt → HOA2ST6P.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{JK5QW5T3.js.LEGAL.txt → HPKUEQQ3.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{JMJWRG7D.js.LEGAL.txt → HSIJWKSS.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{JQHWESAX.js.LEGAL.txt → HZIZQSP6.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{JSDXOGK2.js.LEGAL.txt → HZJBI6AS.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{D475HNBB.js.LEGAL.txt → IMF7M5P6.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{N4VWCCME.js.LEGAL.txt → ISHUKLCC.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{K5GM4SFL.js.LEGAL.txt → IW67EMAA.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{KCRE3SGW.js.LEGAL.txt → IWQOOAM2.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{KLTVU6ZX.js.LEGAL.txt → JCDMYGUE.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{KMKMWPDA.js.LEGAL.txt → JHMYZHVA.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{KMX7GJ2V.js.LEGAL.txt → JHVDCOTG.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{KPGG2V7X.js.LEGAL.txt → JJDBCRGD.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{KTLNWTTJ.js.LEGAL.txt → JSSETWOL.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{L2A4BQRU.js.LEGAL.txt → K3TK3RFO.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{LG3V6OMR.js.LEGAL.txt → K4UPZETR.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{LIAW2CCI.js.LEGAL.txt → KJD73O5L.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{LKQQ346U.js.LEGAL.txt → LCRJ57SQ.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{LQRERYNI.js.LEGAL.txt → LJMNDND6.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{LSW7SZHH.js.LEGAL.txt → LT3UGGQ2.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{LTTKQFF5.js.LEGAL.txt → M73OZ754.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{LWUFVEEW.js.LEGAL.txt → MFCWHMXG.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{M66Y4NNO.js.LEGAL.txt → MPRL6ZEJ.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{MGZY2YKY.js.LEGAL.txt → MSKV47GF.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{MR4CQBTF.js.LEGAL.txt → MTB2PZSE.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{N4VNMVSP.js.LEGAL.txt → N7L4HZCP.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{N7LFCSFV.js.LEGAL.txt → NOIHHBUQ.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{NAL67M6S.js.LEGAL.txt → NONMNQYN.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{NAOGLJRJ.js.LEGAL.txt → NP7FXTYZ.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{NFMVR2PW.js.LEGAL.txt → NW7537CA.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{NGNIRPQY.js.LEGAL.txt → NXIEE26J.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{PMI3V275.js.LEGAL.txt → NXRKL5ST.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{NTQFHT3Z.js.LEGAL.txt → O5QFAK3V.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{NWEONES2.js.LEGAL.txt → O6WSYTKX.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{NYHI2F5I.js.LEGAL.txt → OAARF74W.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{O4HUH7JV.js.LEGAL.txt → OPJGVXU3.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{OBLGXO3O.js.LEGAL.txt → OTA3ST22.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{OPZDSH5Z.js.LEGAL.txt → OW3XJDZZ.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{OTEYVZJA.js.LEGAL.txt → PDM3YRHM.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{OUMH3AEC.js.LEGAL.txt → PLDDAKJT.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{OXI5EEJP.js.LEGAL.txt → PP4WHH2U.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{P3W4QP3X.js.LEGAL.txt → PVYUYZP4.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{P7FW3UYR.js.LEGAL.txt → QF7BTMQK.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{PKEEYKHH.js.LEGAL.txt → QITRLLO7.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{PX66PBGO.js.LEGAL.txt → QKW64AMY.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{PYFSTONP.js.LEGAL.txt → QQEZI6DK.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{PZITCJTX.js.LEGAL.txt → QTA5BLUB.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{Q4QAI7EK.js.LEGAL.txt → QX75N4GX.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{QBWCEKSG.js.LEGAL.txt → RB25F2XB.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{QU2CY2DC.js.LEGAL.txt → RDALOARN.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{R37E4WCQ.js.LEGAL.txt → RG2Z7YLS.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{R3CV7EYK.js.LEGAL.txt → RTHXMPTM.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{R5IH3Z6F.js.LEGAL.txt → S6DR6MYH.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{RFLSFGUJ.js.LEGAL.txt → SH6FAQO7.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{RGCXNTJS.js.LEGAL.txt → SK2DTLY4.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{RSG5EFSV.js.LEGAL.txt → SOOEETMT.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{RSPO3MV5.js.LEGAL.txt → SZJSCYQA.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{RVDPD2TX.js.LEGAL.txt → TJUKPVI3.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{S6RPD6ST.js.LEGAL.txt → TUHWW2EM.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{SGTNMJZW.js.LEGAL.txt → TVBVS5O2.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{52RQB3JW.js.LEGAL.txt → TVGRIVLO.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{SMNES3ZO.js.LEGAL.txt → TYSQ4N7X.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{TE6HN43Y.js.LEGAL.txt → U6U4SMJ3.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{TH7K2UYC.js.LEGAL.txt → U6ZEBVTK.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{TN6S44J6.js.LEGAL.txt → UE2NOYII.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{TP3MCRVZ.js.LEGAL.txt → UFP3ZRRK.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{TRYI5PPE.js.LEGAL.txt → ULODS3NH.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{TW2SNITT.js.LEGAL.txt → UWVC7MDL.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{FS5FKP22.js.LEGAL.txt → VJXN66TP.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{U7UZXKGA.js.LEGAL.txt → VWU5PGNX.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{UAHESBX3.js.LEGAL.txt → W33QNQEW.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{ZBP6WJ2E.js.LEGAL.txt → WK5CTG4R.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{UC2G4HYE.js.LEGAL.txt → WU7WUQ2R.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{VFFWQVRE.js.LEGAL.txt → X77KLHWV.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{VLIKLBIL.js.LEGAL.txt → XFDVYUNV.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{VRTWHFBW.js.LEGAL.txt → XFNKXLV5.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{VW4OLTTK.js.LEGAL.txt → XFW6YQDF.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{WCFCI3KG.js.LEGAL.txt → XQPEJDGG.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{WIFR4RBN.js.LEGAL.txt → XQWSSMSI.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{WMGFY7WM.js.LEGAL.txt → Y5BM4JIE.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{WT7Q5TQ7.js.LEGAL.txt → Y7YOWZ3M.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{3VVKHB4A.js.LEGAL.txt → YDBXFP6M.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{WVLE5TEG.js.LEGAL.txt → YGFQXR2T.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{XDFAQ4JM.js.LEGAL.txt → YM4Z5QAC.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{XFJACP3D.js.LEGAL.txt → YMQBJWIF.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{XJIF3KDI.js.LEGAL.txt → YMVN3TIT.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{XMCVVKAJ.js.LEGAL.txt → YNDZ6NUJ.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{XVZ3BRDJ.js.LEGAL.txt → YSGUNIQF.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{Y6FRC3XK.js.LEGAL.txt → YTD6QAPE.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{YLBEWBZN.js.LEGAL.txt → ZCQVMEJW.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{YMIXI6ML.js.LEGAL.txt → ZLZUJZIX.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{YQIYSCHZ.js.LEGAL.txt → ZMOIAXDE.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{Z5UK7A7T.js.LEGAL.txt → ZPEE7MB6.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{Z5ZA64W5.js.LEGAL.txt → ZQETOA2X.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{Z7FGMCRT.js.LEGAL.txt → ZRM7WPFH.js.LEGAL.txt} +0 -0
- /package/dist/cdn/{ZD2DS5SF.js.LEGAL.txt → ZVG74YSZ.js.LEGAL.txt} +0 -0
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as g,b as m}from"./
|
3
|
+
v1.0.0-next.20250422.1 */
|
4
|
+
import{a as g,b as m}from"./BQB23JGG.js";import{h as I}from"./FRMZXNCU.js";import"./CKY3EABW.js";import{a as u,c as L,f as b}from"./MPRL6ZEJ.js";import{C as w,D as f,m as p}from"./GSAONT2J.js";import"./WU7WUQ2R.js";import{a as D,c as d,e as v,f as S}from"./NXRKL5ST.js";import"./IW67EMAA.js";var y=":host{display:block;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);min-width:200px}:host calcite-dropdown{width:100%}:host calcite-button{--calcite-color-brand:var(--calcite-color-text-3);--calcite-color-brand-hover:var(--calcite-color-text-3)}",E=y,A=class{constructor(e){D(this,e),this.selectedLanguageUpdated=S(this,"selectedLanguageUpdated",7),this.icon="language",this.portalItem=void 0,this.view=void 0,this.locales=[],this.defaultLocale=void 0,this.selectedLanguage=null,this.calciteDropdownOverlayPositioning="absolute",this.messages=void 0,this.t9nData=null}async componentWillLoad(){let[e,a]=await Promise.all([w(),f()]);this.intl=e,this.request=a,this.messages=await I(document.createElement("instant-apps-language-translator"));try{this.portalItemResource=await m(this.portalItem);let t=await g(this.portalItemResource);this.t9nData=t??{}}catch{this.t9nData={},console.error("NO PORTAL ITEM RESOURCE AVAILABLE.")}finally{this.userLocale=this.defaultLocale;let c=new URLSearchParams(window.location.search).get("locale"),h=this.locales?.map(s=>s?.locale)?.filter(s=>s===c)?.length>0,o=L(e,this.portalItem.portal),r=this.locales?.map(s=>s?.locale)?.filter(s=>s===o)?.length>0;this.selectedLanguage=h?c:r?o:this.userLocale;let i=this.selectedLanguage;if(i!==this.userLocale&&(this.calciteDropdownItemSelectCallback(i)(),this.selectedLanguageUpdated.emit({locale:i,data:this.t9nData?.[i]??null})),this.view){let s=this.view.map;this.defaultWebMapId=s?.portalItem?.id??"";let n=this.locales?.filter(l=>l?.webmap&&l?.webmap!==this.defaultWebMapId&&l?.locale===this.selectedLanguage)?.[0]?.webmap;n&&(this.view.map=await p({portalItem:{id:n}}))}}}render(){let e=this.renderTrigger(),a=this.renderDropdownItems(),t=this.renderDefaultLocale();return d("calcite-dropdown",{key:"d48e5831173767a89033b16b2a33b7a234927fd5",onCalciteDropdownBeforeOpen:()=>this.trigger.iconEnd="chevron-up",onCalciteDropdownBeforeClose:()=>this.trigger.iconEnd="chevron-down","overlay-positioning":this.calciteDropdownOverlayPositioning,"width-scale":"m"},e,d("calcite-dropdown-group",{key:"fce55304c7a8b8b52b57b919a83aa81d9c1901ba"},t,a))}renderDefaultLocale(){let{userLocale:e}=this;return d("calcite-dropdown-item",{key:`default-${e}`,onCalciteDropdownItemSelect:this.calciteDropdownItemSelectCallback(e),selected:this.selectedLanguage===this.userLocale},this.getSelectedLanguageText(e))}renderTrigger(){return d("calcite-button",{ref:e=>this.trigger=e,slot:"trigger","icon-start":this.icon,"icon-end":"chevron-down",width:"full",appearance:"outline"},this.getSelectedLanguageText(this.selectedLanguage))}renderDropdownItems(){return this.locales?.map(e=>e.locale)?.map(e=>this.renderDropdownItem(e))}renderDropdownItem(e){let a=this.getSelectedLanguageText(e),t=e===this.selectedLanguage;return d("calcite-dropdown-item",{key:e,selected:t,onCalciteDropdownItemSelect:this.calciteDropdownItemSelectCallback(e)},a)}calciteDropdownItemSelectCallback(e){return async()=>{this.selectedLanguage=e;let{intl:a,selectedLanguage:t,t9nData:c,userLocale:h}=this,o=this.locales.find(n=>n.locale===t);c&&o&&t!==h&&(o.data=c[e]);let r=new URLSearchParams(window.location.search),i=await b(this.selectedLanguage);if(a.setLocale(i),r.set("locale",i),this.view){let n=this.locales.filter(l=>l.locale===t)?.[0]?.webmap;if(n)this.view.map=await p({portalItem:{id:n}});else{let l=this.view?.map?.portalItem?.id;l&&this.defaultWebMapId!==l&&(this.view.map=await p({portalItem:{id:this.defaultWebMapId}}))}}document.documentElement.setAttribute("lang",i),this.intl.prefersRTL()?document.documentElement.setAttribute("dir","rtl"):document.documentElement.setAttribute("dir","ltr"),window.history.replaceState({},"",decodeURIComponent(`${window.location.pathname}?${r}`)),this.selectedLanguageUpdated.emit(o)}}getSelectedLanguageText(e){let c=Object.keys(u.partial).includes(e)?"partial":"full",h=u[c],{language:o,translated:r}=h[e];return`${o} - ${r}`}async refresh(){try{let e=await m(this.portalItem),a=await g(e);this.t9nData=a;let t={locale:this.selectedLanguage,data:a[this.selectedLanguage]};this.selectedLanguageUpdated.emit(t)}catch{}}get el(){return v(this)}};A.style=E;export{A as instant_apps_language_switcher};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{g as u,h as g}from"./
|
3
|
+
v1.0.0-next.20250422.1 */
|
4
|
+
import{g as u,h as g}from"./NXRKL5ST.js";var M=(e,o,s)=>{let c=e.get(o);c?c.includes(s)||c.push(s):e.set(o,[s])},O=(e,o)=>{let s;return(...c)=>{s&&clearTimeout(s),s=setTimeout(()=>{s=0,e(...c)},o)}},_=e=>!("isConnected"in e)||e.isConnected,w=O(e=>{for(let o of e.keys())e.set(o,e.get(o).filter(_))},2e3),T=()=>{if(typeof u!="function")return{};let e=new Map;return{dispose:()=>e.clear(),get:o=>{let s=u();s&&M(e,o,s)},set:o=>{let s=e.get(o);s&&e.set(o,s.filter(g)),w(e)},reset:()=>{e.forEach(o=>o.forEach(g)),w(e)}}},h=e=>typeof e=="function"?e():e,U=(e,o=(s,c)=>s!==c)=>{let s=h(e),c=new Map(Object.entries(s??{})),i={dispose:[],get:[],set:[],reset:[]},l=()=>{var t;c=new Map(Object.entries((t=h(e))!==null&&t!==void 0?t:{})),i.reset.forEach(n=>n())},E=()=>{i.dispose.forEach(t=>t()),l()},a=t=>(i.get.forEach(n=>n(t)),c.get(t)),p=(t,n)=>{let r=c.get(t);o(n,r,t)&&(c.set(t,n),i.set.forEach(f=>f(t,n,r)))},y=typeof Proxy>"u"?{}:new Proxy(s,{get(t,n){return a(n)},ownKeys(t){return Array.from(c.keys())},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},has(t,n){return c.has(n)},set(t,n,r){return p(n,r),!0}}),d=(t,n)=>(i[t].push(n),()=>{P(i[t],n)});return{state:y,get:a,set:p,on:d,onChange:(t,n)=>{let r=d("set",(x,C)=>{x===t&&n(C)}),f=d("reset",()=>n(h(e)[t]));return()=>{r(),f()}},use:(...t)=>{let n=t.reduce((r,f)=>(f.set&&r.push(d("set",f.set)),f.get&&r.push(d("get",f.get)),f.reset&&r.push(d("reset",f.reset)),f.dispose&&r.push(d("dispose",f.dispose)),r),[]);return()=>n.forEach(r=>r())},dispose:E,reset:l,forceUpdate:t=>{let n=c.get(t);i.set.forEach(r=>r(t,n,n))}}},P=(e,o)=>{let s=e.indexOf(o);s>=0&&(e[s]=e[e.length-1],e.length--)},S=(e,o)=>{let s=U(e,o);return s.use(T()),s};export{S as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250422.1 */
|
4
4
|
function o(){return Intl.DateTimeFormat().resolvedOptions().timeZone}function m(r,e){let t=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"2-digit",day:"2-digit",timeZone:e??o()}).formatToParts(new Date(r));return[t[4].value,t[0].value,t[2].value].join("-")}function s(r,e){let t=new Intl.DateTimeFormat("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",timeZone:e??o(),hourCycle:"h23"}).formatToParts(new Date(r));return[t[0].value,t[2].value,t[4].value].join(":")}var w=()=>{let e=new Date(Date.now()+36e5),t=new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours()),i=t.toISOString(),a=new Date(t.valueOf()+36e5).toISOString(),n=o(),u=m(i,n),D=m(a,n);return{startDate:u,startDateTime:new Date(i),startTime:s(i,n),endDate:D,endDateTime:new Date(a),endTime:s(a,n),timeZone:n}};export{m as a,w as b};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as x}from"./34QJB3KH.js";import{a as d}from"./C72TZEDY.js";import{b as p,d as v,e as M}from"./3O35PHYV.js";import{a as y}from"./NGNIRPQY.js";import{a as k,e as R,f as A,g as E}from"./FTNPFWHQ.js";import{a as U}from"./OUMH3AEC.js";import{a as P}from"./7BIHQLJ2.js";import{a as c}from"./XVZ3BRDJ.js";var V=new RegExp(/.+(?:map|feature|image)server/i);function $(t){var e=t.match(V);return e?e[0]:J(t)}function J(t){var e=t.split("?")[0];return U(e)}function h(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,l)=>{!o.hasOwnProperty(s)||o[s]==null?l===i?o[s]=r:o[s]={}:l===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=y(r):o[s]=Object.assign(o[s],y(r)):o[s]=r),o=o[s]})}function f(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),h(r,t,e,n)}var j=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var l=o/s,u=i/s;if(l>=0&&l<=1&&u>=0&&u<=1)return!0}return!1},Q=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},Z=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},T=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(j(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},I=function(e){return Z(e[0],e[e.length-1])||e.push(e[0]),e},S=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},N=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},Y=function(e,r){var n=T(e,r),a=Q(e,r[0]);return!!(!n&&a)},q=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var l=I(e[s].slice(0));if(!(l.length<4))if(S(l)){var u=[l.slice().reverse()];r.push(u)}else n.push(l.slice().reverse())}for(var g=[];n.length;){i=n.pop();var C=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],Y(o,i)){r[a].push(i),C=!0;break}C||g.push(i)}for(;g.length;){i=g.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],T(o,i)){r[a].push(i),w=!0;break}w||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},X=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},we=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=q(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?N(e.attributes):null,e.attributes))try{n.id=X(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},O=function(e){var r=[],n=e.slice(0),a=I(n.shift().slice(0));if(a.length>=4){S(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=I(n[o].slice(0));i.length>=4&&(S(i)&&i.reverse(),r.push(i))}}return r},ee=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=O(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},L=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=O(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=ee(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?N(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function Pe(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function m(t){let e="enterprise";return t.includes("arcgis.com")&&(e="production"),(t.includes("qaext.arcgis.com")||t.includes("mapsqa.arcgis.com"))&&(e="qaext"),(t.includes("devext.arcgis.com")||t.includes("mapsdev.arcgis.com"))&&(e="devext"),e}function Ee(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=M(t,e,n),[i,s]=o.split("?"),l=new URLSearchParams(s);l.delete("f"),a&&l.append("w",a+"");let u=l.toString(),g=`${i}/info/${t.thumbnail}`;return u?`${g}?${u}`:g}var B;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(B||(B={}));function F(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}var b={devext:"dev",qaext:"qa",production:""};var te=t=>R(t)?Object.assign(Object.assign({},k(t)),{type:"extent"}):void 0,Ve=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=te(r);if(a)return{type:F(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=E(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},L(r)),{spatialReference:A(o)?i:oe(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var Je=(t,e,r)=>{let n=ne(t,e,r)||ae(t,e,r),a=P(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":re(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},re=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ne=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},ae=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var z;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(z||(z={}));var oe=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},je=(t,e,r)=>{let n=ie(e);return n&&n.map(a=>({name:a.orName,url:se(a,t,r),isDataSource:H(a,t)}))},ie=t=>{let e=[];return D(c(t,"metadata.distInfo")||[]).forEach(r=>{D(r.distTranOps||[]).forEach(n=>{D(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},D=t=>Array.isArray(t)?t:[t],H=(t,e)=>{let r=e.url&&$(e.url);return r&&t.linkage&&t.linkage.includes(r)},se=(t,e,r)=>{let n=t.linkage,a=c(r,"authentication.token");if(a&&H(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var Qe=(t,e)=>{let r;switch(le(t)){case"Dashboard":r=pe(t,e);break;case"Insights Workbook":r=ge(t,e);break;case"Experience":r=ue(t,e);break;case"Web AppBuilder":r=de(t,e);break;case"Form":r=fe(t,e);break;case"StoryMap":r=ce(t,e);break;case"Urban Model":r=me(t,e);break;default:r=v(t.id,e)}return r},le=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ce=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=p(e),a=m(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},ue=(t,e)=>{let r=p(e),n=m(r);return`${`https://experience${b[n]}.arcgis.com`}/builder/?id=${t.id}`},pe=(t,e)=>{let r=p(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},de=(t,e)=>`${p(e)}/apps/webappbuilder/index.html?id=${t.id}`,fe=(t,e)=>{let r=p(e),n=m(r),a=`https://survey123${b[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=v(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},ge=(t,e)=>{let r=p(e),n=m(r),a=`https://insights${b[n]}.arcgis.com`,o=v(t.id,r);return _(r)?o:`${a}/#/edit/${t.id}`},me=(t,e)=>{let r=p(e),n=m(r),a=`https://urban${b[n]}.arcgis.com`,o=v(t.id,r);return _(r)?o:`${a}/?id=${t.id}`},_=t=>t.indexOf("arcgis.com")===-1;function Ze(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return x(t).replace(/\/api\/v3$/,"")}var Ye=async(t,e)=>{let n=`${x(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};function W(t){let e=!1;return t&&(e=!(t.typeKeywords||[]).includes(d)),e}function et(t,e){let r=(t||[]).filter(n=>n!==d);return e||r.push(d),r}var G=class{constructor(e){this.mappings=e}storeToEntity(e,r){let n=he(e,r,this.mappings);if(c(e,"item")){let a=c(e,"item");f("canEdit",["admin","update"].includes(a.itemControl),n),f("canDelete",a.itemControl==="admin",n),f("canRecycle",a.canRecycle||!1,n),f("protected",a.protected,n)}return n}entityToStore(e,r){return ve(e,r,this.mappings)}};function ve(t,e,r){if(c(e,"item")){let n=c(e,"item");n.typeKeywords&&(n.typeKeywords=c(t,"isDiscussable")?n.typeKeywords.filter(a=>a!==d):[...n.typeKeywords,d],f("item.typeKeywords",n.typeKeywords,e))}return K(t,"entityKey",e,"storeKey",r)}function he(t,e,r){if(c(t,"item")){let n=c(t,"item");f("isDiscussable",W(n),e)}return K(t,"storeKey",e,"entityKey",r)}function K(t,e,r,n,a){let o=y(r);return a.forEach(i=>{let s=c(i,e),l=c(i,n),u=c(t,s);u!=null&&h(o,l,u,!0)}),o}export{$ as a,f as b,Pe as c,Ee as d,we as e,Ve as f,Je as g,je as h,Qe as i,Ze as j,Ye as k,W as l,et as m,G as n,ve as o,he as p};
|
3
|
+
v1.0.0-next.20250422.1 */
|
4
|
+
import{a as x}from"./TJUKPVI3.js";import{a as d}from"./GE4YESHS.js";import{b as p,d as v,e as M}from"./YMQBJWIF.js";import{a as y}from"./AZ2LGGXW.js";import{a as k,e as R,f as A,g as E}from"./JHMYZHVA.js";import{a as U}from"./MSKV47GF.js";import{a as P}from"./4SAIOXJM.js";import{a as c}from"./ZVG74YSZ.js";var V=new RegExp(/.+(?:map|feature|image)server/i);function $(t){var e=t.match(V);return e?e[0]:J(t)}function J(t){var e=t.split("?")[0];return U(e)}function h(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,l)=>{!o.hasOwnProperty(s)||o[s]==null?l===i?o[s]=r:o[s]={}:l===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=y(r):o[s]=Object.assign(o[s],y(r)):o[s]=r),o=o[s]})}function f(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),h(r,t,e,n)}var j=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var l=o/s,u=i/s;if(l>=0&&l<=1&&u>=0&&u<=1)return!0}return!1},Q=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},Z=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},T=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(j(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},I=function(e){return Z(e[0],e[e.length-1])||e.push(e[0]),e},S=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},N=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},Y=function(e,r){var n=T(e,r),a=Q(e,r[0]);return!!(!n&&a)},q=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var l=I(e[s].slice(0));if(!(l.length<4))if(S(l)){var u=[l.slice().reverse()];r.push(u)}else n.push(l.slice().reverse())}for(var g=[];n.length;){i=n.pop();var C=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],Y(o,i)){r[a].push(i),C=!0;break}C||g.push(i)}for(;g.length;){i=g.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],T(o,i)){r[a].push(i),w=!0;break}w||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},X=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},we=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=q(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?N(e.attributes):null,e.attributes))try{n.id=X(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},O=function(e){var r=[],n=e.slice(0),a=I(n.shift().slice(0));if(a.length>=4){S(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=I(n[o].slice(0));i.length>=4&&(S(i)&&i.reverse(),r.push(i))}}return r},ee=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=O(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},L=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=O(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=ee(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?N(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function Pe(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function m(t){let e="enterprise";return t.includes("arcgis.com")&&(e="production"),(t.includes("qaext.arcgis.com")||t.includes("mapsqa.arcgis.com"))&&(e="qaext"),(t.includes("devext.arcgis.com")||t.includes("mapsdev.arcgis.com"))&&(e="devext"),e}function Ee(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=M(t,e,n),[i,s]=o.split("?"),l=new URLSearchParams(s);l.delete("f"),a&&l.append("w",a+"");let u=l.toString(),g=`${i}/info/${t.thumbnail}`;return u?`${g}?${u}`:g}var B;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(B||(B={}));function F(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}var b={devext:"dev",qaext:"qa",production:""};var te=t=>R(t)?Object.assign(Object.assign({},k(t)),{type:"extent"}):void 0,Ve=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=te(r);if(a)return{type:F(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=E(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},L(r)),{spatialReference:A(o)?i:oe(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var Je=(t,e,r)=>{let n=ne(t,e,r)||ae(t,e,r),a=P(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":re(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},re=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ne=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},ae=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var z;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(z||(z={}));var oe=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},je=(t,e,r)=>{let n=ie(e);return n&&n.map(a=>({name:a.orName,url:se(a,t,r),isDataSource:H(a,t)}))},ie=t=>{let e=[];return D(c(t,"metadata.distInfo")||[]).forEach(r=>{D(r.distTranOps||[]).forEach(n=>{D(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},D=t=>Array.isArray(t)?t:[t],H=(t,e)=>{let r=e.url&&$(e.url);return r&&t.linkage&&t.linkage.includes(r)},se=(t,e,r)=>{let n=t.linkage,a=c(r,"authentication.token");if(a&&H(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var Qe=(t,e)=>{let r;switch(le(t)){case"Dashboard":r=pe(t,e);break;case"Insights Workbook":r=ge(t,e);break;case"Experience":r=ue(t,e);break;case"Web AppBuilder":r=de(t,e);break;case"Form":r=fe(t,e);break;case"StoryMap":r=ce(t,e);break;case"Urban Model":r=me(t,e);break;default:r=v(t.id,e)}return r},le=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ce=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=p(e),a=m(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},ue=(t,e)=>{let r=p(e),n=m(r);return`${`https://experience${b[n]}.arcgis.com`}/builder/?id=${t.id}`},pe=(t,e)=>{let r=p(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},de=(t,e)=>`${p(e)}/apps/webappbuilder/index.html?id=${t.id}`,fe=(t,e)=>{let r=p(e),n=m(r),a=`https://survey123${b[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=v(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},ge=(t,e)=>{let r=p(e),n=m(r),a=`https://insights${b[n]}.arcgis.com`,o=v(t.id,r);return _(r)?o:`${a}/#/edit/${t.id}`},me=(t,e)=>{let r=p(e),n=m(r),a=`https://urban${b[n]}.arcgis.com`,o=v(t.id,r);return _(r)?o:`${a}/?id=${t.id}`},_=t=>t.indexOf("arcgis.com")===-1;function Ze(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return x(t).replace(/\/api\/v3$/,"")}var Ye=async(t,e)=>{let n=`${x(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};function W(t){let e=!1;return t&&(e=!(t.typeKeywords||[]).includes(d)),e}function et(t,e){let r=(t||[]).filter(n=>n!==d);return e||r.push(d),r}var G=class{constructor(e){this.mappings=e}storeToEntity(e,r){let n=he(e,r,this.mappings);if(c(e,"item")){let a=c(e,"item");f("canEdit",["admin","update"].includes(a.itemControl),n),f("canDelete",a.itemControl==="admin",n),f("canRecycle",a.canRecycle||!1,n),f("protected",a.protected,n)}return n}entityToStore(e,r){return ve(e,r,this.mappings)}};function ve(t,e,r){if(c(e,"item")){let n=c(e,"item");n.typeKeywords&&(n.typeKeywords=c(t,"isDiscussable")?n.typeKeywords.filter(a=>a!==d):[...n.typeKeywords,d],f("item.typeKeywords",n.typeKeywords,e))}return K(t,"entityKey",e,"storeKey",r)}function he(t,e,r){if(c(t,"item")){let n=c(t,"item");f("isDiscussable",W(n),e)}return K(t,"storeKey",e,"entityKey",r)}function K(t,e,r,n,a){let o=y(r);return a.forEach(i=>{let s=c(i,e),l=c(i,n),u=c(t,s);u!=null&&h(o,l,u,!0)}),o}export{$ as a,f as b,Pe as c,Ee as d,we as e,Ve as f,Je as g,je as h,Qe as i,Ze as j,Ye as k,W as l,et as m,G as n,ve as o,he as p};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250422.1 */
|
4
4
|
function r(o){return o.reduce((n,e)=>{var i;let t=e.capabilities.includes("updateitemcontrol"),a=(i=e.userMembership)===null||i===void 0?void 0:i.memberType;return(!e.isViewOnly||e.isViewOnly&&["owner","admin"].includes(a))&&n.push({value:e.id,label:e.title,icon:t?"unlock":"view-mixed"}),n},[])}export{r as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250422.1 */
|
4
4
|
function i(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,t=Object.getOwnPropertySymbols(e);n<t.length;n++)o.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(r[t[n]]=e[t[n]]);return r}export{i as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{c as y,f,l as g}from"./
|
3
|
+
v1.0.0-next.20250422.1 */
|
4
|
+
import{c as y,f,l as g}from"./CO5FPBSD.js";import{b as u,d as p,e as a,f as m}from"./SZJSCYQA.js";import{b as i,c as l}from"./ZQETOA2X.js";import{a as s}from"./AZ2LGGXW.js";import{b as c}from"./JHMYZHVA.js";import{b as d}from"./2ZMTTKLP.js";function P(r,e){return l(y(r),e,4)}function R(r,e){let t=r.filter(o=>!o.startsWith(`${i}|`));return t.push([i,e].join("|")),t}async function K(r,e){if(!r.slug)return[];let o={filter:`typekeywords:"${r.slug.startsWith(`${i}|`)?r.slug:[i,r.slug].join("|")}"`};e.authentication?o.authentication=e.authentication:e.portal&&(o.portal=e.portal),r.exclude&&(o.q=`NOT id:${r.exclude}`);try{return(await d(o)).results}catch(n){throw n}}function S(r,e,t=0){let o=t?[r.slug,t].join("-"):r.slug;return K({slug:o,exclude:r.existingId},e).then(n=>n.length?S(r,e,t+1):o).catch(n=>{throw Error(`Error in getUniqueSlug ${n}`)})}var h={location:"location.json"};function $(){let r=["access","created","culture","description","extent","id","itemControl","modified","owner","tags","categories","type","typeKeywords","thumbnail","url","orgId"],e=["display","geometry","view","associations","catalogs"],t=Object.keys(h),o=[];return r.forEach(n=>{o.push({entityKey:n,storeKey:`item.${n}`})}),e.forEach(n=>{o.push({entityKey:n,storeKey:`data.${n}`})}),t.forEach(n=>{o.push({entityKey:n,storeKey:`resources.${n}`})}),o.push({entityKey:"slug",storeKey:"item.properties.slug"}),o.push({entityKey:"summary",storeKey:"item.snippet"}),o.push({entityKey:"schemaVersion",storeKey:"item.properties.schemaVersion"}),o.push({entityKey:"orgUrlKey",storeKey:"item.properties.orgUrlKey"}),o.push({entityKey:"name",storeKey:"item.title"}),o.push({entityKey:"boundary",storeKey:"item.properties.boundary"}),o.push({entityKey:"discussionSettings",storeKey:"entitySettings.settings.discussions"}),o.push({entityKey:"entitySettingsId",storeKey:"entitySettings.id"}),o}function U(r,e){return e.createdDate=new Date(r.created),e.createdDateSource="item.created",e.updatedDate=new Date(r.modified),e.updatedDateSource="item.modified",e.location=e.location||f(r),e.isDiscussable=g(r),e}function x(r,e){return Promise.all([a(r,e),m(r,e)]).then(t=>({item:t[0],data:t[1]}))}async function _(r,e){let t=s(r.item);t.data=s(r.data),t.extent&&typeof t.extent!="string"&&(t.extent=c(t.extent));let o=await p(Object.assign({item:t},e));return x(o.id,e)}function C(r,e){let t=s(r.item);t.data=s(r.data),t.extent&&typeof t.extent!="string"&&(t.extent=c(t.extent)),b(t)&&(e.params=Object.assign(Object.assign({},e.params),{clearEmptyFields:!0}));let o=Object.assign({item:t},e);return u(o).then(()=>t.data?x(t.id,e):a(t.id,e).then(n=>({item:n})))}function b(r){return["description","snippet","tags","categories","licenseInfo"].some(e=>{var t;return r[e]===""||((t=r[e])===null||t===void 0?void 0:t.length)===0})}export{P as a,R as b,S as c,$ as d,U as e,x as f,_ as g,C as h};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as S}from"./
|
3
|
+
v1.0.0-next.20250422.1 */
|
4
|
+
import{a as S}from"./7ZHRRG2K.js";import"./NXRKL5ST.js";import{a as $,c as u,d,e as m,f as v,g as C}from"./NQOEAERW.js";import{b as I}from"./ORHOPX7I.js";import"./KDZIKNGZ.js";import{a as n,b as o}from"./5JHHJ5R7.js";import{b as L}from"./PSY5BIL3.js";import{a as F}from"./QYNSIYV7.js";import{b as f,d as g,e as a,g as p,m as w,n as y,o as c,s as b}from"./DHXUYW3Z.js";import"./IW67EMAA.js";var x=g`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as h}from"./
|
3
|
+
v1.0.0-next.20250422.1 */
|
4
|
+
import{a as h}from"./VWU5PGNX.js";import{a as x}from"./CKY3EABW.js";import{e as v}from"./MPRL6ZEJ.js";import{c as w,h as I,i as T,k as p,l as u,x as E,z as S}from"./GSAONT2J.js";import"./WU7WUQ2R.js";import{a as _,c as s,d as C,e as b}from"./NXRKL5ST.js";import"./IW67EMAA.js";var{state:t,onChange:L}=x({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),g="time-slider-watch",y=class{constructor(){this.initializeModules()}async initializeModules(){try{let e=await S();this.reactiveUtils=e,this.handles=await w()}catch{}}async init(e){e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:n}=t;if(i)try{if(await i.when(),n.length===1&&n[0]?.type==="map")this.initTimeSlider(e,n[0]);else{let a=await this.getTimeLayerViews(i,n);t.timeInfoItems=this.generateTimeInfoItems(a,n),this.initTimeSlider(e)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let{allLayers:n}=e.map,a=o=>n.find(({id:f})=>o===f),m=i.map(({id:o})=>a(o)).map(async o=>await e.whenLayerView(o));return await Promise.all(m)}generateTimeInfoItems(e,i){return[...i].map(a=>{let l=e.find(({layer:m})=>m.id===a.id);return this.generateTimeInfoItem(l,a)})}generateTimeInfoItem(e,{increments:i,rangeStart:n,rangeEnd:a,timeIntervalValue:l}){let f=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:l??1,rangeStart:new Date(n),rangeEnd:new Date(a),timeExtent:f,previousTimeExtent:null}}async initTimeSlider(e,i){let n=async a=>(t.timeSlider=await E(a),t.autoPlay&&t.timeSlider.play(),void await Promise.resolve());if(i){let a=await this.getTimeSliderConfig(e,i);await n(a)}else{let a=t?.timeInfoItems?.[0];if(!a)return;t.selectedTimeInfoItem=a;let l=await this.getTimeSliderConfig(e);await n(l)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){L("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let n=i.layerView;this.applyTimeExtent(n,n?.featureEffect?.filter?.timeExtent||n.filter?.timeExtent,e)})})}async getTimeSliderConfig(e,i){let n={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let a=t.view?.map?.widgets?.timeSlider,l={...n,fullTimeExtent:a?.fullTimeExtent,timeExtent:a?.currentTimeExtent};return a?.stopInterval?.unit&&a?.stopInterval?.value&&(l.stops={interval:await u({unit:a?.stopInterval?.unit,value:a?.stopInterval?.value})}),l}else{let[{timeExtent:a,rangeStart:l,rangeEnd:m,unit:o,timeIntervalValue:f}]=t.timeInfoItems;return{...n,fullTimeExtent:a,timeExtent:await p({start:l,end:m}),stops:{interval:await u({unit:o,value:f})}}}}initialize2DView(){t.timeInfoItems.forEach(async e=>this.applyTimeExtent(e.layerView,await p({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,n){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,n):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,n){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||n){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=await I({filter:{timeExtent:i},includedEffect:await h(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await h(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=await T({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(g)&&this.handles?.remove(g),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),g)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=await this.getTimeExtent(e),t.timeSlider.stops={interval:await this.getTimeInterval(e)})}async getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:n}){let a=n??await p({start:e,end:i});return await Promise.resolve(a)}async getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return await u({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},d=new y,M=".instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand:var(--calcite-ui-text-1);--calcite-ui-brand:var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}",F=M,c={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},D=class{constructor(r){_(this,r),this.messages=void 0,this.timeSliderRef=void 0,this.timeInfoConfigItems=[],this.filterMode=void 0,this.view=void 0,this.timeSliderConfig=void 0,this.autoPlay=!1}async updateTimeInfoConfigItems(){t.timeInfoConfigItems=this.timeInfoConfigItems,await d.init(this.timeSliderRef)}async updateFilterMode(){t.filterMode=this.filterMode}async updateTimeSliderConfig(){t.timeSliderConfig=this.timeSliderConfig,await d.init(this.timeSliderRef)}async updateAutoPlay(){t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop())}async componentWillLoad(){try{t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode),await v(this)}catch{}}async componentDidLoad(){try{await d.init(this.timeSliderRef)}catch{}finally{t.loading=!1}}disconnectedcallback(){d.destroy()}render(){return s(C,{key:"c994735c86c7bb3edeadf623a15c565960637f23"},this._renderBase())}_renderBase(){return s("div",{class:`${c.base}${this.view.type!=="2d"?c.threeD:""}`},this._renderLoader(),this.view.type==="2d"&&this._renderTopEl(),s("div",{key:"time-slider",ref:r=>{r&&(this.timeSliderRef=r)}}))}_renderLoader(){return t.loading&&s("div",null,s("div",{class:c.background}),s("div",{class:c.loadingContainer},s("calcite-loader",{scale:"m",label:this.messages?.loading??"",text:this.messages?.loading})))}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let r=t.selectedTimeInfoItem?.layerView?.layer?.title;return s("span",{class:c.layerTitle},r)}_renderDropdown(){return t.selectedTimeInfoItem&&s("calcite-dropdown",null,this._renderDropdownButton(),this._renderDropdownItems())}_renderDropdownButton(){return s("calcite-button",{slot:"trigger",appearance:"transparent",iconEnd:"chevron-down",width:"full",alignment:"space-between"},d.getLabel(t.selectedTimeInfoItem))}_renderDropdownItems(){return t.timeInfoItems.map(r=>this._renderDropdownItem(r))}_renderDropdownItem(r){let e=t.selectedTimeInfoItem?.layerView?.layer?.id,i=r?.layerView?.layer?.id;return s("calcite-dropdown-item",{onCalciteDropdownItemSelect:()=>d.updateSelectedTimeInfoItem(r),selected:e===i},d.getLabel(r))}get el(){return b(this)}static get watchers(){return{timeInfoConfigItems:["updateTimeInfoConfigItems"],filterMode:["updateFilterMode"],timeSliderConfig:["updateTimeSliderConfig"],autoPlay:["updateAutoPlay"]}}};D.style=F;export{D as instant_apps_time_filter};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250422.1 */
|
4
4
|
var zt=";",X=",",Ht=":";var E=class{resolve(e){}reject(e){}constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}};function Ie(e,t){let o=e;for(;o;){if(o===t)return!0;if(!o.parentNode)return!1;o.parentNode instanceof ShadowRoot?o=o.parentNode.host:o=o.parentNode}return!1}function Me(e,t,o){let{subscribe:s}=je(t);return s(n=>{n.some(i=>Ie(e,i.target))&&o()})}var gt={};function je(e){let t=e.join(","),o=gt[t];if(o!==void 0)return o;let s=new Set,n=new MutationObserver(i=>s.forEach(c=>c(i)));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:e,subtree:!0});let r={subscribe(i){return s.add(i),()=>{s.delete(i),s.size===0&&(n.disconnect(),gt[t]=void 0)}}};return gt[t]=r,r}function Ve(e,t){let o=e;for(;o;){let s=o.closest?.(t);if(s)return s;let n=o.getRootNode?.();if(n===globalThis.document)return null;o=n.host}return null}function ze(e,t,o){return Ve(e,`[${t}]`)?.getAttribute(t)??o}function p(e,t,...o){try{return e?.call(t,...o)}catch(s){console.error(s,e)}}async function H(e,t,...o){try{let s=e?.call(t,...o);return s instanceof Promise?await s:s}catch(s){console.error(s,e)}}var He=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","no","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],We=new Set(He),tt="en",qe={pt:"pt-PT",nb:"no",zh:"zh-CN"};async function Be(e,t,o=""){let s=`${t}/${o}`,n=`${s}${e}.json`;return Et[n]??(Et[n]=Wt(e,s)),await Et[n]}var Et={};async function Wt(e,t){let o=`${t}${e}.json`;try{let s=await fetch(o);if(s.ok)return await s.json()}catch(s){return console.error(s),{}}return e===tt?{}:await Wt(tt,t)}function bt(e){let t=ze(e,"lang",globalThis.navigator?.language||tt);return{lang:t,t9nLocale:qt(t)}}function qt(e){let[t,o]=e.split("-"),s=t.toLowerCase(),n=s;return o&&(n=`${s}-${o.toUpperCase()}`),n=qe[n]??n,We.has(n)?n:o?qt(s):tt}function Bt(e,t,o,s){let n,r=()=>void Fe(e,t(),s).then(i=>{(n?.lang!==i.lang||n.t9nLocale!==i.t9nLocale||n.t9nStrings!==i.t9nStrings)&&o(i),n=i}).catch(console.error);return queueMicrotask(r),Me(e,["lang"],r)}async function Fe(e,t,o=e.tagName.toLowerCase().split("-").slice(1).join("-")){let{lang:s,t9nLocale:n}=bt(e),r=`${t}/${o}/t9n`,c=o===null?{}:await Be(n,r,"messages.");return{lang:s,t9nLocale:n,t9nStrings:c}}var et=e=>e.replace(Ge,(t,o)=>`${o===0?"":"-"}${t.toLowerCase()}`),Ge=/[A-Z]+(?![a-z])|[A-Z]/gu;function Ft(e,t){let o=t>Ke?Je:t/Ye,s=0,n=setInterval(()=>{s+=o,s>=t&&(clearInterval(n),e())},o);return n}var Ke=4e3,Je=2e3,Ye=4;function Gt(e){return e!==void 0}function _t(e){let t=e;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let o=t;return o.manager?.loadedCalled||o._offspring.push(e),o._postLoad.promise}return!1}var Ze=(e,t)=>function(s,n){if(!globalThis.customElements)return;let i=(n??s??{}).resourcesUrl;i&&e.setAssetPath(i),Object.entries(t).forEach(Qe)};function Qe([e,[t,o=""]]){if(customElements.get(e))return;let[s,n,r]=o.split(zt),i=s?s?.split(X).map(Kt):void 0,c=i?.map(([l])=>l),a=class extends to{static{this.observedAttributes=i?.map(([,l])=>l).filter(l=>l!=="")}static{this._properties=c}static{this._asyncMethods=n?n?.split(X):void 0}static{this._syncMethods=r?.split(X)}static{this._name=e}constructor(){!a._loadPromise&&(a._loadPromise=t(),a._initializePrototype()),super()}};customElements.define(e,a)}var ot=Object.defineProperty;function Kt(e){let t=e.split(Ht);return t.length===1?[t[0],et(t[0])]:t}var Xe=globalThis.HTMLElement??Kt,to=class extends Xe{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new E,this._postLoaded=new E,this._offspring=[],this._saveInstanceProperties();let e=this.constructor;e._LitConstructor?this._initializeComponent({a:e._LitConstructor}):e._loadPromise.then(this._initializeComponent.bind(this)).catch(t=>{this._postLoaded.reject(t),setTimeout(()=>{throw t})})}static{this.lumina=!0}static _initializePrototype(){this._properties?.forEach(this._bindProp,this),this._asyncMethods?.forEach(this._bindAsync,this),this._syncMethods?.forEach(this._bindSync,this)}static _bindProp(e){ot(this.prototype,e,{configurable:!0,enumerable:!0,get(){return this._store[e]},set(t){this._store[e]=t}})}static _bindAsync(e){ot(this.prototype,e,{async value(...t){return this._litElement||await this._postLoaded.promise,await this._litElement[e](...t)},configurable:!0})}static _bindSync(e){ot(this.prototype,e,{value(...t){return this._litElement[e](...t)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){let e=this.constructor,t=this;e._properties?.forEach(o=>{Object.hasOwn(this,o)&&(this._store[o]=t[o],delete t[o])})}attributeChangedCallback(e,t,o){this._litElement?.attributeChangedCallback(e,t,o),this._litElement||this._pendingAttributes.push(e)}connectedCallback(){this._litElement?this._litElement.connectedCallback?.():queueMicrotask(()=>{this._ancestorLoad=_t(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(e){let t=this.constructor,o=t._name,s=this._store,n=Object.values(e).find(d=>d.tagName===o),r=`${o}--lazy`,i=n;for(;i&&!Object.hasOwn(i,"lumina");)i=Object.getPrototypeOf(i);oo(i),!t._LitConstructor&&(t._LitConstructor=n,customElements.define(r,n)),n.lazy=this;let a=document.createElement(r);n.lazy=void 0,this._litElement=a,this._store=a,this._pendingAttributes.forEach(d=>{let h=this.getAttribute(d);a.attributeChangedCallback(d,null,h)}),Object.entries(s).forEach(eo,a);let l=this.isConnected;(l||this._ancestorLoad)&&(a.connectedCallback?.(),l||a.disconnectedCallback())}addController(){}requestUpdate(){this._litElement?.requestUpdate()}};function eo([e,t]){this[e]=t}function oo(e){let t=e.prototype,o=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(n,r){o.setAttribute.call(this.el,n,r)},t.removeAttribute=function(n){o.removeAttribute.call(this.el,n)},ot(t,"isConnected",{get(){return Reflect.get(o,"isConnected",this.el)}}))}var Ct={};var st=globalThis,nt=st.ShadowRoot&&(st.ShadyCSS===void 0||st.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,$t=Symbol(),Jt=new WeakMap,W=class{constructor(t,o,s){if(this._$cssResult$=!0,s!==$t)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(nt&&t===void 0){let s=o!==void 0&&o.length===1;s&&(t=Jt.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&Jt.set(o,t))}return t}toString(){return this.cssText}},Yt=e=>new W(typeof e=="string"?e:e+"",void 0,$t),so=(e,...t)=>{let o=e.length===1?e[0]:t.reduce((s,n,r)=>s+(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.")})(n)+e[r+1],e[0]);return new W(o,e,$t)},wt=(e,t)=>{if(nt)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let s=document.createElement("style"),n=st.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=o.cssText,e.appendChild(s)}},rt=nt?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let s of t.cssRules)o+=s.cssText;return Yt(o)})(e):e;var At=globalThis,it=At.trustedTypes,Zt=it?it.createPolicy("lit-html",{createHTML:e=>e}):void 0,Lt="$lit$",w=`lit$${Math.random().toFixed(9).slice(2)}$`,Ot="?"+w,no=`<${Ot}>`,S=document,B=()=>S.createComment(""),F=e=>e===null||typeof e!="object"&&typeof e!="function",Pt=Array.isArray,se=e=>Pt(e)||typeof e?.[Symbol.iterator]=="function",xt=`[
|
5
5
|
\f\r]`,q=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Qt=/-->/g,Xt=/>/g,O=RegExp(`>|${xt}(?:([^\\s"'>=/]+)(${xt}*=${xt}*(?:[^
|
6
6
|
\f\r"'\`<>=]|("|')|))|$)`,"g"),te=/'/g,ee=/"/g,ne=/^(?:script|style|textarea|title)$/i,St=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),Qo=St(1),Xo=St(2),ts=St(3),f=Symbol.for("lit-noChange"),u=Symbol.for("lit-nothing"),oe=new WeakMap,P=S.createTreeWalker(S,129);function re(e,t){if(!Pt(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Zt!==void 0?Zt.createHTML(t):t}var ie=(e,t)=>{let o=e.length-1,s=[],n,r=t===2?"<svg>":t===3?"<math>":"",i=q;for(let c=0;c<o;c++){let a=e[c],l,d,h=-1,m=0;for(;m<a.length&&(i.lastIndex=m,d=i.exec(a),d!==null);)m=i.lastIndex,i===q?d[1]==="!--"?i=Qt:d[1]!==void 0?i=Xt:d[2]!==void 0?(ne.test(d[2])&&(n=RegExp("</"+d[2],"g")),i=O):d[3]!==void 0&&(i=O):i===O?d[0]===">"?(i=n??q,h=-1):d[1]===void 0?h=-2:(h=i.lastIndex-d[2].length,l=d[1],i=d[3]===void 0?O:d[3]==='"'?ee:te):i===ee||i===te?i=O:i===Qt||i===Xt?i=q:(i=O,n=void 0);let y=i===O&&e[c+1].startsWith("/>")?" ":"";r+=i===q?a+no:h>=0?(s.push(l),a.slice(0,h)+Lt+a.slice(h)+w+y):a+w+(h===-2?c:y)}return[re(e,r+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},G=class e{constructor({strings:t,_$litType$:o},s){let n;this.parts=[];let r=0,i=0,c=t.length-1,a=this.parts,[l,d]=ie(t,o);if(this.el=e.createElement(l,s),P.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=P.nextNode())!==null&&a.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(Lt)){let m=d[i++],y=n.getAttribute(h).split(w),_=/([.?@])?(.*)/.exec(m);a.push({type:1,index:r,name:_[2],strings:y,ctor:_[1]==="."?ct:_[1]==="?"?lt:_[1]==="@"?ht:N}),n.removeAttribute(h)}else h.startsWith(w)&&(a.push({type:6,index:r}),n.removeAttribute(h));if(ne.test(n.tagName)){let h=n.textContent.split(w),m=h.length-1;if(m>0){n.textContent=it?it.emptyScript:"";for(let y=0;y<m;y++)n.append(h[y],B()),P.nextNode(),a.push({type:2,index:++r});n.append(h[m],B())}}}else if(n.nodeType===8)if(n.data===Ot)a.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf(w,h+1))!==-1;)a.push({type:7,index:r}),h+=w.length-1}r++}}static createElement(t,o){let s=S.createElement("template");return s.innerHTML=t,s}};function T(e,t,o=e,s){if(t===f)return t;let n=s!==void 0?o._$Co?.[s]:o._$Cl,r=F(t)?void 0:t._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(e),n._$AT(e,o,s)),s!==void 0?(o._$Co??=[])[s]=n:o._$Cl=n),n!==void 0&&(t=T(e,n._$AS(e,t.values),n,s)),t}var at=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:s}=this._$AD,n=(t?.creationScope??S).importNode(o,!0);P.currentNode=n;let r=P.nextNode(),i=0,c=0,a=s[0];for(;a!==void 0;){if(i===a.index){let l;a.type===2?l=new j(r,r.nextSibling,this,t):a.type===1?l=new a.ctor(r,a.name,a.strings,this,t):a.type===6&&(l=new dt(r,this,t)),this._$AV.push(l),a=s[++c]}i!==a?.index&&(r=P.nextNode(),i++)}return P.currentNode=S,n}p(t){let o=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,o),o+=s.strings.length-2):s._$AI(t[o])),o++}},j=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,s,n){this.type=2,this._$AH=u,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=s,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=T(this,t,o),F(t)?t===u||t==null||t===""?(this._$AH!==u&&this._$AR(),this._$AH=u):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):se(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!==u&&F(this._$AH)?this._$AA.nextSibling.data=t:this.T(S.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:s}=t,n=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=G.createElement(re(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===n)this._$AH.p(o);else{let r=new at(n,this),i=r.u(this.options);r.p(o),this.T(i),this._$AH=r}}_$AC(t){let o=oe.get(t.strings);return o===void 0&&oe.set(t.strings,o=new G(t)),o}k(t){Pt(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,s,n=0;for(let r of t)n===o.length?o.push(s=new e(this.O(B()),this.O(B()),this,this.options)):s=o[n],s._$AI(r),n++;n<o.length&&(this._$AR(s&&s._$AB.nextSibling,n),o.length=n)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},N=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,s,n,r){this.type=1,this._$AH=u,this._$AN=void 0,this.element=t,this.name=o,this._$AM=n,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=u}_$AI(t,o=this,s,n){let r=this.strings,i=!1;if(r===void 0)t=T(this,t,o,0),i=!F(t)||t!==this._$AH&&t!==f,i&&(this._$AH=t);else{let c=t,a,l;for(t=r[0],a=0;a<r.length-1;a++)l=T(this,c[s+a],o,a),l===f&&(l=this._$AH[a]),i||=!F(l)||l!==this._$AH[a],l===u?t=u:t!==u&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}i&&!n&&this.j(t)}j(t){t===u?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ct=class extends N{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===u?void 0:t}},lt=class extends N{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==u)}},ht=class extends N{constructor(t,o,s,n,r){super(t,o,s,n,r),this.type=5}_$AI(t,o=this){if((t=T(this,t,o,0)??u)===f)return;let s=this._$AH,n=t===u&&s!==u||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==u&&(s===u||n);n&&this.element.removeEventListener(this.name,this,s),r&&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)}},dt=class{constructor(t,o,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){T(this,t)}},ae={M:Lt,P:w,A:Ot,C:1,L:ie,R:at,D:se,V:T,I:j,H:N,N:lt,U:ht,B:ct,F:dt},ro=At.litHtmlPolyfillSupport;ro?.(G,j),(At.litHtmlVersions??=[]).push("3.2.1");var ce=(e,t,o)=>{let s=o?.renderBefore??t,n=s._$litPart$;if(n===void 0){let r=o?.renderBefore??null;s._$litPart$=n=new j(t.insertBefore(B(),r),r,void 0,o??{})}return n._$AI(e),n};var{is:io,defineProperty:ao,getOwnPropertyDescriptor:co,getOwnPropertyNames:lo,getOwnPropertySymbols:ho,getPrototypeOf:po}=Object,ut=globalThis,le=ut.trustedTypes,uo=le?le.emptyScript:"",fo=ut.reactiveElementPolyfillSupport,K=(e,t)=>e,pt={toAttribute(e,t){switch(t){case Boolean:e=e?uo:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},Tt=(e,t)=>!io(e,t),he={attribute:!0,type:String,converter:pt,reflect:!1,hasChanged:Tt};Symbol.metadata??=Symbol("metadata"),ut.litPropertyMetadata??=new WeakMap;var x=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,o=he){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let s=Symbol(),n=this.getPropertyDescriptor(t,s,o);n!==void 0&&ao(this.prototype,t,n)}}static getPropertyDescriptor(t,o,s){let{get:n,set:r}=co(this.prototype,t)??{get(){return this[o]},set(i){this[o]=i}};return{get(){return n?.call(this)},set(i){let c=n?.call(this);r.call(this,i),this.requestUpdate(t,c,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??he}static _$Ei(){if(this.hasOwnProperty(K("elementProperties")))return;let t=po(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 o=this.properties,s=[...lo(o),...ho(o)];for(let n of s)this.createProperty(n,o[n])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[s,n]of o)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[o,s]of this.elementProperties){let n=this._$Eu(o,s);n!==void 0&&this._$Eh.set(n,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let n of s)o.unshift(rt(n))}else t!==void 0&&o.push(rt(t));return o}static _$Eu(t,o){let s=o.attribute;return s===!1?void 0:typeof s=="string"?s: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,o=this.constructor.elementProperties;for(let s of o.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return wt(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,o,s){this._$AK(t,s)}_$EC(t,o){let s=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,s);if(n!==void 0&&s.reflect===!0){let r=(s.converter?.toAttribute!==void 0?s.converter:pt).toAttribute(o,s.type);this._$Em=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(t,o){let s=this.constructor,n=s._$Eh.get(t);if(n!==void 0&&this._$Em!==n){let r=s.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:pt;this._$Em=n,this[n]=i.fromAttribute(o,r.type),this._$Em=null}}requestUpdate(t,o,s){if(t!==void 0){if(s??=this.constructor.getPropertyOptions(t),!(s.hasChanged??Tt)(this[t],o))return;this.P(t,o,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,o,s){this._$AL.has(t)||this._$AL.set(t,o),s.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}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[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[n,r]of s)r.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],r)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(o)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$EO?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(o=>this._$EC(o,this[o])),this._$EU()}updated(t){}firstUpdated(t){}};x.elementStyles=[],x.shadowRootOptions={mode:"open"},x[K("elementProperties")]=new Map,x[K("finalized")]=new Map,fo?.({ReactiveElement:x}),(ut.reactiveElementVersions??=[]).push("2.0.4");var A=class extends x{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 o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=ce(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};A._$litElement$=!0,A.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:A});var mo=globalThis.litElementPolyfillSupport;mo?.({LitElement:A});(globalThis.litElementVersions??=[]).push("4.1.1");function de(e,t){if(t){let o=e.constructor.elementProperties;e.manager.internals.members=Object.fromEntries(Array.from(o,([s,n])=>n.noAccessor?void 0:[s,[(n.readOnly?2048:0)|(n.state?32:16)]]).filter(Gt))}else{let o=e.constructor,s=o.__registerControllers?.(e)??void 0;if(o.__registerControllers=void 0,typeof s!="object")throw new Error("Failed to retrieve component meta");e.manager.internals.members=Object.fromEntries(Object.entries(s).filter(([n,[r]])=>(r&63)!==0))}}function pe(e,t=8){return e==null||typeof e=="object"||typeof e=="function"?e:t&4?e==="false"?!1:e===""||!!e:t&2?Number.parseFloat(e):t&1?String(e):e}var ue=(e,t)=>e.manager.internals.members?.[t]?.[0];var mt=Symbol.for("controller");var ve=e=>typeof e=="object"&&e!==null&&(mt in e||"hostConnected"in e||"hostDisconnected"in e||"hostUpdate"in e||"hostUpdated"in e);var J;function R(e){J!==e&&(J=e,queueMicrotask(()=>{J===e&&(J=void 0)}))}function U(e){return J}var k=[];function Dt(e){if(e===void 0){k=[];return}let t=k.indexOf(e);k=t===-1?[...k,e]:k.slice(0,t+1),queueMicrotask(()=>{k=[]})}function Rt(){return k}var V;function vo(e){V!==e&&(V=e,queueMicrotask(()=>{V===e&&(V=void 0)}))}function yo(){let e=V;return V=void 0,e}var go=async(e,t)=>{let o=Ut(e);if(o===void 0)return e;if(await o.ready,typeof t=="function"){let s=o.watchExports(n=>t(n,s))}return o.exports},Eo=async e=>{let t=Ut(e);return await t.ready,t},Ut=e=>{let o=U().manager.internals.resolveExports(e);if(o!==void 0)return o;if(ve(e))return e;let s=yo();if(s!==void 0)return s},Y={setter:!1,getter:!1,readOnly:!1},Z=new WeakMap,ye;ye=mt;var It=class{constructor(e){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new E,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[ye]=!0,this.ready=this._ready.promise,this._exports=me(this),this._exportWatchers=new Set;let t=e??U(new.target.name);this.component=t,this.component.addController(this),this.component.manager===void 0||(Dt(this),queueMicrotask(()=>this.catchUpLifecycle()))}catchUpLifecycle(){let{manager:e}=this.component;e.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),e._loadCalled&&this.triggerLoad().then(()=>{e.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(e){let t=this._exports;t!==e&&(this._exports=e,this._exportWatchers.forEach(p),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,t)),this._ready.resolve(e)}setProvisionalExports(e,t=!0){this._exports=t?me(e):e,this._exportWatchers.forEach(p)}watchExports(e){let t=()=>e(this._exports);return this._exportWatchers.add(t),()=>void this._exportWatchers.delete(t)}get use(){return R(this.component),go}get useRef(){return R(this.component),Eo}get useRefSync(){return R(this.component),Ut}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(e){this._callbacks.hostConnected.push(e)}onDisconnected(e){this._callbacks.hostDisconnected.push(e)}onLoad(e){this._callbacks.hostLoad.push(e)}onLoaded(e){this._callbacks.hostLoaded.push(e)}onUpdate(e){this._callbacks.hostUpdate.push(e)}onUpdated(e){this._callbacks.hostUpdated.push(e)}onDestroy(e){this._callbacks.hostDestroy.push(e)}onLifecycle(e){this._callbacks.hostLifecycle.push(e),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(e)}triggerConnected(){let e=this;e.hostConnected&&p(e.hostConnected,e),this._callbacks.hostConnected.forEach(p),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let e=this;e.hostDisconnected&&p(e.hostDisconnected,e),this._callbacks.hostDisconnected.forEach(p),this._lifecycleCleanups.forEach(p),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let e=this;e.hostLoad&&await H(e.hostLoad,e),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(H)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let e=this;e.hostLoaded&&p(e.hostLoaded,e),this._callbacks.hostLoaded.forEach(p),this.loadedCalled=!0}triggerUpdate(e){let t=this;t.hostUpdate&&p(t.hostUpdate,t,e),this._callbacks.hostUpdate.forEach(fe,e)}triggerUpdated(e){let t=this;t.hostUpdated&&p(t.hostUpdated,t,e),this._callbacks.hostUpdated.forEach(fe,e)}triggerDestroy(){let e=this;e.hostDestroy&&p(e.hostDestroy,e),this._callbacks.hostDestroy.forEach(p)}triggerLifecycle(){let e=this;e.hostLifecycle&&this._callLifecycle(()=>e.hostLifecycle()),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(e){R(this.component);let t=p(e);(Array.isArray(t)?t:[t]).forEach(s=>{typeof s=="function"?this._lifecycleCleanups.push(s):typeof s=="object"&&typeof s.remove=="function"&&this._lifecycleCleanups.push(s.remove)})}};function fe(e){p(e,void 0,this)}var ge=It;function me(e){if(typeof e!="object"&&typeof e!="function"||e===null)return e;let t=new Proxy(e,{get(o,s,n){if(!(bo.has(s)&&s in o&&o[s]===t)&&(s in o||s in Promise.prototype||typeof s=="symbol"))return typeof o=="function"?o[s]:Reflect.get(o,s,n)},set:(o,s,n,r)=>Reflect.set(o,s,n,r)});return t}var bo=new Set(["exports","_exports"]);function Ee(e,t,o){let s=Object.keys(e),n=s.length;D===void 0&&queueMicrotask(Q),D??(D=new Map);let r=D.get(e);return r===void 0&&(r={callbacks:[],keyCount:n},D.set(e,r)),r.keyCount!==n&&(r.callbacks.forEach(i=>i(s)),r.callbacks=[],r.keyCount=n),r.callbacks.push(i=>{let c=l=>p(t,null,l),a=i[n];a===void 0?c(void 0):e[a]===o?c(a):c(void 0)}),o}var D=void 0;function Q(){Array.from(D?.entries()??[]).forEach(([e,{callbacks:t}])=>{let o=Object.keys(e);t.forEach(s=>s(o))}),D=void 0}function vt(e,t,o){var s;let n=t,r=e.manager.internals;(s=r.allWatchers)[n]??(s[n]=[]);let i=r.allWatchers[n],c=o,a=(l,d,h)=>p(c,null,l,d,h);return i.push(a),()=>{let l=i.indexOf(a);l!==-1&&i.splice(l,1)}}var be=class{constructor(e){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;let t=this.component.manager.internals;Object.entries(t.members).forEach(([o,[s]])=>{var n;s&2048&&((n=t.setters)[o]??(n[o]=[]),t.setters[o].push(t.readonlySetter))})},this.trackedValue=kt,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this._exports=new WeakMap,this.readonlySetter=(t,o,s)=>{if(Y.readOnly)return t;throw new Error(`Cannot assign to read-only property "${s}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(t)}"`)},this.component=e}firePropTrackers(e,t){let o=this.keyTrackers;this.trackedValue=kt,this.keyTrackers=[],o.forEach(s=>s(e,t))}getSetProxy(e){let t=this.component,o=t.constructor.prototype;if(this._getSetProxy(o,e,"class"),t.manager.isLit)return;let s=t.el.constructor.prototype;o!==s&&this._getSetProxy(s,e,"html")}_getSetProxy(e,t,o){let s=this.component,n=ue(s,t),r;do r=Object.getOwnPropertyDescriptor(e,t);while(!r&&(e=Object.getPrototypeOf(e)));if(!r)return;let i=r.get,c=r.set,a=ft in i,l=ft in c;if(a&&l)return;let d=!a,h=!l,m=d?function(){let g=i.call(this),C=Z.get(this);if(Y.getter||C===void 0)return g;let M=C.manager.internals;g=M.accessorGetter[t](g,t);let v=M.getters[t]??Nt;for(let $=0;$<v.length;$++)g=v[$](g,t);return g}:i,y=h?function(g){let C=i.call(this),M=Z.get(this);if(M===void 0){c.call(this,g);return}let v=M.manager.isLit?g??void 0:pe(g,n),$=M.manager.internals;if(v===C)c.call(this,v);else{let Vt=Y.setter?Nt:$.setters[t]??Nt;for(let z=0;z<Vt.length&&(v=Vt[z](v,C,t),v!==C);z++);v=$.accessorSetter[t](v,C,t),c.call(this,v),v!==C&&$.enabledWatchers[t]?.forEach(z=>z(v,C,t))}$.keyTrackers.length>0&&$?.firePropTrackers(t,g)}:c;d&&(m[ft]=!0),h&&(y[ft]=!0),Object.defineProperty(e,t,{...r,get:m,set:y})}markExports(e,t){(typeof t=="object"&&t!==null||typeof t=="function")&&this._exports.set(t,e)}resolveExports(e){if(typeof e=="object"&&e!==null||typeof e=="function")return this._exports.get(e)}},Nt=[],ft=Symbol(),kt=Symbol();function _e(e,t,o){let s=e.manager.internals;return s.trackedValue!==kt&&s.trackedValue!==o&&s.firePropTrackers(void 0,void 0),s.keyTrackers.length===0&&queueMicrotask(()=>s.firePropTrackers(void 0,void 0)),s.trackedValue=o,s.keyTrackers.push((n,r)=>p(t,void 0,o===r?n:void 0)),o}function yt(e=[U(),...Rt()],t,o){let s=Array.isArray(e)?e:[e],n=s.length+1,r=c=>{n-=1,c!==void 0&&(n=Math.min(n,0)),n===0&&t(c)};s.forEach(c=>Ee(c,a=>r(a===void 0?void 0:{key:a,host:c,isReactive:!1}),o));let i=s.find(c=>"manager"in c&&typeof c.manager=="object"&&c.manager.component===c);return i&&_e(i,c=>r(c===void 0?void 0:{key:c,host:i,isReactive:!0}),o),o}function Ce(e){Y.readOnly=!0;try{return e()}finally{Y.readOnly=!1}}var $e=e=>(...t)=>{let o=Rt(),s=new e(...t),n=s.exports;Dt(o.at(-1));let r=s.component.manager.internals;r.markExports(s,n),s.watchExports(c=>r.markExports(s,c)),vo(s);let i=[s.component,...o].reverse();return yt(i,c=>c===void 0?void 0:_o(s,c,n),n)};function _o(e,{host:t,key:o,isReactive:s},n){let r=t,i=r[o]!==e.exports,c=r[o]!==n,a=n!==e.exports;if(i&&!c&&a&&(r[o]=e.exports),t===e.component){if(s){let d=e.component.manager.internals;c&&d.markExports(e,r[o]),vt(e.component,o,h=>{h!==e.exports&&d.markExports(e,h)})}e.assignedProperty=s?void 0:o}e.watchExports(()=>{if(r[o]===e.exports)return;let d=e.component.manager;d.internals.setters[o]?.includes(d.internals.readonlySetter)?Ce(()=>{r[o]=e.exports}):r[o]=e.exports})}var xe=(e,t)=>new Co(e,t),Co=class extends ge{constructor(e,t){let o="addController"in e,s=new Set;function n(a){s.add(a),!(mt in a)&&e.renderRoot&&e.el.isConnected&&a.hostConnected?.()}function r(a){s.delete(a),a.controllerRemoved?.()}let i=e;if(i.addController=n,i.removeController=r,!o){let a=t??e.constructor.__forceUpdate;i.requestUpdate=()=>a(e)}super(e),this.internals=new be(this.component),this.destroyed=!1,this._updatePromise=new E,this._originalLifecycles={},this.isLit=o,this.component.manager=this,de(e,o),this._controllers=s,this.exports=void 0,this.hasDestroy=Mt in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let c=this.internals;Object.keys(c.members).forEach(a=>{c.accessorGetter[a]=we,c.accessorSetter[a]=we,c.getSetProxy(a)}),o?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(e,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(c.enableReadonly),R(e),Z.set(e.el,e),Z.set(e,e)}_bindLifecycleMethods(){let e=this.component,t=this.isLit,o=e.el===e;this._originalLifecycles={_connectedCallback:t||o?void 0:e.connectedCallback,_disconnectedCallback:t||o?void 0:e.disconnectedCallback,_load:t?e.load:e.componentWillLoad,_loaded:t?e.loaded:e.componentDidLoad,_willUpdate:t?void 0:e.componentWillUpdate,_updated:t?void 0:e.componentDidUpdate,_destroy:e.destroy};let s=this._connectedCallback.bind(this),n=this._disconnectedCallback.bind(this),r=this._update.bind(this),i=this._updated.bind(this);t?e.constructor.prototype.addController.call(e,{hostConnected:s,hostDisconnected:n,hostUpdate:r,hostUpdated:i}):(e.connectedCallback=s,e.disconnectedCallback=n,e.componentWillLoad=this._load.bind(this),e.componentDidLoad=this._loaded.bind(this),e.componentWillUpdate=r,e.componentDidUpdate=i),this.hasDestroy&&(e.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){let t=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${t} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Mt} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let e=this.internals;e.enabledWatchers=e.allWatchers,Q(),e.enableReadonly?.(),this._controllers.forEach(wo),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(xo),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){await Promise.allSettled(Array.from(this._controllers,Ao)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&vt(this.component,Mt,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach(Lo),this._originalLifecycles._loaded?.call(this.component)}_update(){let e=this.component;return this._controllers.forEach(Oo,e.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let e=this.component;if(this._controllers.forEach(Po,e.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)e.$changes=new Map;else{let t=this._updatePromise;this._updatePromise=new E,t.resolve(!0)}}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0,this._controllers.forEach(So),this._controllers.clear(),await this._originalLifecycles._destroy?.call(this.component)}}_setAutoDestroyTimeout(){if(this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){let e=()=>void this.destroy().catch(console.error);this._autoDestroyTimeout=Ft(e,$o)}}},Mt="autoDestroyDisabled",$o=1e3;var we=e=>e;function wo(e){"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)}function xo(e){"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e)}async function Ao(e){"triggerLoad"in e?await e.triggerLoad():await H(e.hostLoad,e)}function Lo(e){"triggerLoaded"in e?e.triggerLoaded():p(e.hostLoaded,e)}function Oo(e){"triggerUpdate"in e?e.triggerUpdate(this):p(e.hostUpdate,e,this)}function Po(e){"triggerUpdated"in e?e.triggerUpdated(this):p(e.hostUpdated,e,this)}function So(e){"triggerDestroy"in e?e.triggerDestroy():p(e.hostDestroy,e)}var To=e=>ko(void 0,e);var No=class extends It{constructor(e,t){super(e);let o=this.exports;try{R(this.component);let s=t(this.component,this),n=this.exports!==o;if(s instanceof Promise){n||this.setProvisionalExports(s);let r=s.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this._ready.reject(i),console.error(i)});this.onLoad(async()=>await r)}else(!n||s!==void 0)&&(this.exports=s),queueMicrotask(()=>super.catchUpLifecycle())}catch(s){this._ready.reject(s),console.error(s)}}catchUpLifecycle(){}},ko=$e(No);var zs=e=>(t={})=>To((o,s)=>{let n=bt(o.el),r={_lang:n.lang,_t9nLocale:n.t9nLocale,_loading:!0},i=o;s.onLifecycle(()=>Bt(o.el,()=>e("./assets"),({t9nLocale:a,t9nStrings:l,lang:d})=>{let h={...l,_lang:d,_t9nLocale:a,_loading:!1};s.exports=h;let m=l.componentLabel;typeof m=="string"&&"label"in o&&o.label==null&&(o.label??(o.label=m)),c(i.messageOverrides)},t.name));function c(a){let l=s.exports,d=l._original??l,h=Ae(d,a);a&&(h._original=d),s.exports=h}return"messageOverrides"in i&&s.onLifecycle(()=>vt(i,"messageOverrides",c)),t.blocking?(s.setProvisionalExports(r,!1),s.ready):r});function Ae(e,t){if(!t)return e;let o={...e};return Object.entries(t).forEach(([s,n])=>{typeof n=="object"?o[s]=Ae(e[s],n):o[s]=n??e[s]}),o}var b={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},I=e=>(...t)=>({_$litDirective$:e,values:t}),L=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,s){this._$Ct=t,this._$AM=o,this._$Ci=s}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var Pe=I(class extends L{constructor(e){if(super(e),e.type!==b.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let o=e.element.classList;for(let s of this.st)s in t||(o.remove(s),this.st.delete(s));for(let s in t){let n=!!t[s];n===this.st.has(s)||this.nt?.has(s)||(n?(o.add(s),this.st.add(s)):(o.remove(s),this.st.delete(s)))}return f}});var Se="important",Ro=" !"+Se,Te=I(class extends L{constructor(e){if(super(e),e.type!==b.ATTRIBUTE||e.name!=="style"||e.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(e){return Object.keys(e).reduce((t,o)=>{let s=e[o];return s==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(e,[t]){let{style:o}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?o.removeProperty(s):o[s]=null);for(let s in t){let n=t[s];if(n!=null){this.ft.add(s);let r=typeof n=="string"&&n.endsWith(Ro);s.includes("-")||r?o.setProperty(s,r?n.slice(0,-11):n,r?Se:""):o[s]=n}}return f}});var{I:Rn}=ae;var Ne=e=>e.strings===void 0;var Uo={},ke=(e,t=Uo)=>e._$AH=t;var Io=I(class extends L{constructor(e){if(super(e),e.type!==b.PROPERTY&&e.type!==b.ATTRIBUTE&&e.type!==b.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Ne(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===f||t===u)return t;let o=e.element,s=e.name;if(e.type===b.PROPERTY){if(t===o[s])return f}else if(e.type===b.BOOLEAN_ATTRIBUTE){if(!!t===o.hasAttribute(s))return f}else if(e.type===b.ATTRIBUTE&&o.getAttribute(s)===t+"")return f;return ke(e),t}});var De=(e="",t={},o=U())=>{let s={emit:n=>{e===""&&Q();let r=new CustomEvent(e,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...t});return o.el.dispatchEvent(r),r}};return e===""&&yt(void 0,n=>{e=n.key},s),s},Kn=De.bind(null,"");var jo=()=>{},Vo=class Re extends A{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=xe(this),this._postLoad=this.constructor.lazy?._postLoad??new E,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new E,this._enableUpdating=this.enableUpdating,this.enableUpdating=jo;let t=Re.prototype.shouldUpdate;this.shouldUpdate!==t&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=t),!1}static finalizeStyles(t){let o=super.finalizeStyles(t),s=this.shadowRootOptions===Ct;return this.runtime?.commonStyles===void 0||s?o:[this.runtime.commonStyles,...o]}static createProperty(t,o){let s=typeof o=="number"?o:Array.isArray(o)?o[0]:0,n=Array.isArray(o)?o[1]:void 0;super.createProperty(t,{attribute:s&1&&typeof t=="string"?et(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),...n})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=!this.manager.connectedCalled;super.connectedCallback(),t&&queueMicrotask(()=>this._load().catch(o=>{this._postLoaded.reject(o),setTimeout(()=>{throw o})}))}createRenderRoot(){let t=this.el.shadowRoot,o=this.constructor,s=o.shadowRootOptions,r=t??(s===Ct?this.el:this.el.attachShadow(s));if(Object.defineProperty(this,"shadowRoot",{value:r}),t)return A.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...o.elementStyles.map(c=>"styleSheet"in c?c.styleSheet:c)]}return r}async _load(){let t=this.el._ancestorLoad??_t(this.el);t&&await t,await this.manager._load(),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let o=this._offspring.filter(s=>!s.manager?.loadedCalled);o.length&&await Promise.allSettled(o.map(async s=>await s.componentOnReady())),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,""),this.manager._loaded(),this._postLoaded.resolve()}shouldUpdate(t){return this.$changes=t,this._originalShouldUpdate?.(t)??!0}listen(t,o,s){let n=o?.bind(this)??o;this.manager.onLifecycle(()=>(this.el.addEventListener(t,n,s),()=>this.el.removeEventListener(t,n,s)))}listenOn(t,o,s,n){let r=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(o,r,n),()=>t.removeEventListener(o,r,n)))}async componentOnReady(){return await this._postLoaded.promise,this}};Vo.$createEvent=De;function Ue(e){let t,o=n=>{t=new URL(n,globalThis.location?.href||void 0).href},s={...e,getAssetPath(n){let r=new URL(n,t);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:o,customElement(n,r){r.runtime=s,r.tagName=n,customElements.get(n)||customElements.define(n,r)}};return o(e.defaultAssetPath),s}var rr=e=>typeof e=="object"&&e!=null?Pe(e):e,ir=e=>typeof e=="object"&&e!=null?Te(e):e;var cr=u;var zo=Ue({defaultAssetPath:"https://jsdev.arcgis.com/solutions-components/next/",hydratedAttribute:"hydrated"}),{customElement:dr,getAssetPath:pr,setAssetPath:ur}=zo;export{Ze as a,Ct as b,zs as c,so as d,Qo as e,Xo as f,u as g,b as h,I as i,L as j,Ne as k,ke as l,Kn as m,Vo as n,rr as o,ir as p,cr as q,zo as r,dr as s,pr as t};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
+
v1.0.0-next.20250422.1 */
|
4
|
+
import{a,b}from"./7FCZPM7L.js";import"./CNVGWHFU.js";import"./TUHWW2EM.js";import"./YSGUNIQF.js";import"./6L5657ZC.js";import"./IW67EMAA.js";export{a as EventEditorTypes,b as buildSchema};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as b}from"./
|
3
|
+
v1.0.0-next.20250422.1 */
|
4
|
+
import{a as b}from"./AYJ6CFN2.js";import{a}from"./SMMJC5AG.js";import"./WAJXTQOO.js";import"./ISHUKLCC.js";import"./4XNPDXQG.js";import"./SZJSCYQA.js";import"./5WLEKTDQ.js";import"./AZ2LGGXW.js";import"./2ZMTTKLP.js";import"./MSKV47GF.js";import"./WK5CTG4R.js";import"./ZVG74YSZ.js";import{h as l,i as h}from"./KDZIKNGZ.js";import{a as m}from"./QYNSIYV7.js";import{b as d,d as f,e as r,m as n,n as p,s as u}from"./DHXUYW3Z.js";import"./IW67EMAA.js";var g=f`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as E,b as H,c as Ae,d as se,f as xe,g as ze,h as ve,i as Pe,k as Te,q as re,u as $e,v as J,w as ge,x as Fe,y as Me}from"./YQIYSCHZ.js";import"./XJIF3KDI.js";import"./KTLNWTTJ.js";import{C as Ce,E as ke,c as Re,z as Se}from"./QU2CY2DC.js";import{a as Ue,c as v,e as Ee,h as le}from"./PMI3V275.js";import"./5DS5DAON.js";var Ve=96;function O(a){return a?a/72*Ve:0}var et=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},me={exports:{}};(function(a,i){(function(o,c){c(i)})(et,function(o){var c="http://www.w3.org/",l="".concat(c,"2000/svg"),g="".concat(c,"1999/xlink"),m=[],L=function(e,t){var n={};return Object.keys(e).forEach(function(s){n[s]=e[s]}),t&&Object.keys(t).forEach(function(s){n[s]=t[s]}),n},w=function(e,t){return e.vnodeSelector!==t.vnodeSelector?!1:e.properties&&t.properties?e.properties.key!==t.properties.key?!1:e.properties.bind===t.properties.bind:!e.properties&&!t.properties},R=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},C=function(e,t,n){if(t.vnodeSelector!==""){for(var s=n;s<e.length;s++)if(w(e[s],t))return s}return-1},S=function(e,t,n,s){var d=e[t];if(d.vnodeSelector!==""){var p=d.properties,k=p?p.key===void 0?p.bind:p.key:void 0;if(!k){for(var y=0;y<e.length;y++)if(y!==t){var f=e[y];if(w(f,d))throw{error:new Error("".concat(n.vnodeSelector," had a ").concat(d.vnodeSelector," child ").concat(s==="added"?s:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:n,childNode:d}}}}},$=function(e){if(e.properties){var t=e.properties.enterAnimation;t&&t(e.domNode,e.properties)}},z=[],P=!1,A=function(e){(e.children||[]).forEach(A),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},F=function(){P=!1,z.forEach(A),z.length=0},B=function(e){z.push(e),P||(P=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(F,{timeout:16}):setTimeout(F,16))},q=function(e){var t=e.domNode;if(e.properties){var n=e.properties.exitAnimation;if(n){t.style.pointerEvents="none";var s=function(){t.parentNode&&(t.parentNode.removeChild(t),B(e))};n(t,s,e.properties);return}}t.parentNode&&(t.parentNode.removeChild(t),B(e))},X=function(e,t,n){if(t)for(var s=n.eventHandlerInterceptor,d=Object.keys(t),p=d.length,k=function(f){var r=d[f],u=t[r];if(r==="className")throw new Error('Property "className" is not supported, use "class".');if(r==="class")oe(e,u,!0);else if(r==="classes")for(var _=Object.keys(u),b=_.length,x=0;x<b;x++){var T=_[x];u[T]&&e.classList.add(T)}else if(r==="styles")for(var I=Object.keys(u),ae=I.length,x=0;x<ae;x++){var ie=I[x],Z=u[ie];Z&&(R(Z),n.styleApplyer(e,ie,Z))}else if(r==="on"&&u)for(var te=0,N=Object.entries(t.on);te<N.length;te++){var G=N[te],ne=G[0],W=G[1],K=typeof W=="function"?W:W.listener;s&&(K=s(ne,K,e,t)),K&&e.addEventListener(ne,K,typeof W=="function"?void 0:W.options)}else if(r!=="key"&&u!==null&&u!==void 0){var Le=typeof u;Le==="function"?(r.lastIndexOf("on",0)===0&&(s&&(u=s(r,u,e,t)),r==="oninput"&&function(){var Oe=u;u=function(pe){Oe.apply(this,[pe]),pe.target["oninput-value"]=pe.target.value}}()),e[r]=u):n.namespace===l?r==="href"?e.setAttributeNS(g,r,u):e.setAttribute(r,u):Le==="string"&&r!=="value"&&r!=="innerHTML"?e.setAttribute(r,u):e[r]=u}},y=0;y<p;y++)k(y)},M=function(e,t,n){if(t)for(var s=0,d=t;s<d.length;s++){var p=d[s];D(p,e,void 0,n)}},U=function(e,t,n){M(e,t.children,n),t.text&&(e.textContent=t.text),X(e,t.properties,n),t.properties&&t.properties.afterCreate&&t.properties.afterCreate.apply(t.properties.bind||t.properties,[e,n,t.vnodeSelector,t.properties,t.children])},D=function(e,t,n,s){var d,p,k=0,y=e.vnodeSelector,f=t.ownerDocument;if(y==="")e.domNode?e.domNode.nodeValue=e.text:(p=e.domNode=f.createTextNode(e.text),n!==void 0?t.insertBefore(p,n):t.appendChild(p));else{for(var r=0;r<=y.length;++r){var u=y.charAt(r);if(r===y.length||u==="."||u==="#"){var _=y.charAt(k-1),b=y.slice(k,r);_==="."?p.classList.add(b):_==="#"?p.id=b:(b==="svg"&&(s=L(s,{namespace:l})),s.namespace!==void 0?p=e.domNode=f.createElementNS(s.namespace,b):(p=e.domNode=e.domNode||(!((d=e.properties)===null||d===void 0)&&d.is?f.createElement(b,{is:e.properties.is}):f.createElement(b)),b==="input"&&e.properties&&e.properties.type!==void 0&&p.setAttribute("type",e.properties.type)),n!==void 0?t.insertBefore(p,n):p.parentNode!==t&&t.appendChild(p)),k=r+1}}U(p,e,s)}},Y,oe=function(e,t,n){t&&t.split(" ").forEach(function(s){s&&e.classList.toggle(s,n)})},We=function(e,t,n,s){if(n){for(var d=!1,p=Object.keys(n),k=p.length,y=0;y<k;y++){var f=p[y],r=n[f],u=t[f];if(f==="class")u!==r&&(oe(e,u,!1),oe(e,r,!0));else if(f==="classes")for(var _=e.classList,b=Object.keys(r),x=b.length,T=0;T<x;T++){var I=b[T],ae=!!r[I],ie=!!u[I];ae!==ie&&(d=!0,ae?_.add(I):_.remove(I))}else if(f==="styles")for(var Z=Object.keys(r),te=Z.length,T=0;T<te;T++){var N=Z[T],G=r[N],ne=u[N];G!==ne&&(d=!0,G?(R(G),s.styleApplyer(e,N,G)):s.styleApplyer(e,N,""))}else if(!r&&typeof u=="string"&&(r=""),f==="value"){var W=e[f];W!==r&&(e["oninput-value"]?W===e["oninput-value"]:r!==u)&&(e[f]=r,e["oninput-value"]=void 0),r!==u&&(d=!0)}else if(r!==u){var K=typeof r;(K!=="function"||!s.eventHandlerInterceptor)&&(s.namespace===l?f==="href"?e.setAttributeNS(g,f,r):e.setAttribute(f,r):K==="string"&&f!=="innerHTML"?f==="role"&&r===""?e.removeAttribute(f):e.setAttribute(f,r):e[f]!==r&&(e[f]=r),d=!0)}}return d}},qe=function(e,t,n,s,d){if(n===s)return!1;n=n||m,s=s||m;for(var p=n.length,k=s.length,y=0,f=0,r,u=!1;f<k;){var _=y<p?n[y]:void 0,b=s[f];if(_!==void 0&&w(_,b))u=Y(_,b,d)||u,y++;else{var x=C(n,b,y+1);if(x>=0){for(r=y;r<x;r++)q(n[r]),S(n,r,e,"removed");u=Y(n[x],b,d)||u,y=x+1}else D(b,t,y<p?n[y].domNode:void 0,d),$(b),S(s,f,e,"added")}f++}if(p>y)for(r=y;r<p;r++)q(n[r]),S(n,r,e,"removed");return u};Y=function(e,t,n){var s=e.domNode,d=!1;if(e===t)return!1;var p=!1;if(t.vnodeSelector===""){if(t.text!==e.text){var k=s.ownerDocument.createTextNode(t.text);return s.parentNode.replaceChild(k,s),t.domNode=k,d=!0,d}t.domNode=s}else t.vnodeSelector.lastIndexOf("svg",0)===0&&(n=L(n,{namespace:l})),e.text!==t.text&&(p=!0,t.text===void 0?s.removeChild(s.firstChild):s.textContent=t.text),t.domNode=s,p=qe(t,s,e.children,t.children,n)||p,p=We(s,e.properties,t.properties,n)||p,t.properties&&t.properties.afterUpdate&&t.properties.afterUpdate.apply(t.properties.bind||t.properties,[s,n,t.vnodeSelector,t.properties,t.children]);return p&&t.properties&&t.properties.updateAnimation&&t.properties.updateAnimation(s,t.properties,e.properties),d};var V=function(e,t){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var s=e;e=n,Y(s,n,t)},domNode:e.domNode}},Ne={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,t,n){t.charAt(0)==="-"?e.style.setProperty(t,n):e.style[t]=n}},Q=function(e){return L(Ne,e)},ee={create:function(e,t){return t=Q(t),D(e,document.createElement("div"),void 0,t),V(e,t)},append:function(e,t,n){return n=Q(n),D(t,e,void 0,n),V(t,n)},insertBefore:function(e,t,n){return n=Q(n),D(t,e.parentNode,e,n),V(t,n)},merge:function(e,t,n){return n=Q(n),t.domNode=e,U(e,t,n),V(t,n)},replace:function(e,t,n){return n=Q(n),D(t,e.parentNode,e,n),e.parentNode.removeChild(e),V(t,n)}},Ge=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},_e=function(e,t,n){for(var s=0,d=t.length;s<d;s++){var p=t[s];Array.isArray(p)?_e(e,p,n):p!=null&&p!==!1&&(typeof p=="string"&&(p=Ge(p)),n.push(p))}};function Ke(e,t,n){if(Array.isArray(t))n=t,t=void 0;else if(t&&(typeof t=="string"||t.vnodeSelector)||n&&(typeof n=="string"||n.vnodeSelector))throw new Error("h called with invalid arguments");var s,d;return n&&n.length===1&&typeof n[0]=="string"?s=n[0]:n&&(d=[],_e(e,n,d),d.length===0&&(d=void 0)),{vnodeSelector:e,properties:t,children:d,text:s===""?void 0:s,domNode:null}}var Je=function(e,t){for(var n=[];e&&e!==t;)n.push(e),e=e.parentNode;return n},de;Array.prototype.find?de=function(e,t){return e.find(t)}:de=function(e,t){return e.filter(t)[0]};var Xe=function(e,t){var n=e;return t.forEach(function(s){n=n&&n.children?de(n.children,function(d){return d.domNode===s}):void 0}),n},Ye=function(e,t,n){return function(d,p,k,y){return s};function s(d){var p,k;n("domEvent",d);var y=t(),f=Je(d.currentTarget,y.domNode);f.reverse();var r=Xe(y.getLastRender(),f);e.scheduleRender();var u;if(r){var _=(k=(p=r.properties["on".concat(d.type)])!==null&&p!==void 0?p:r.properties.on[d.type].listener)!==null&&k!==void 0?k:r.properties.on[d.type];u=_.apply(r.properties.bind||this,arguments)}return n("domEventProcessed",d),u}},Qe=function(e){var t,n=Q(e),s=n.performanceLogger,d=!0,p,k=!1,y=[],f=[],r=function(_,b,x){var T,I=function(){return T};n.eventHandlerInterceptor=Ye(t,I,s),T=_(b,x(),n),y.push(T),f.push(x)},u=function(){if(p=void 0,!!d){d=!1,s("renderStart",void 0);for(var _=0;_<y.length;_++){var b=f[_]();s("rendered",void 0),y[_].update(b),s("patched",void 0)}s("renderDone",void 0),d=!0}};return t={renderNow:u,scheduleRender:function(){!p&&!k&&(p=requestAnimationFrame(u))},stop:function(){p&&(cancelAnimationFrame(p),p=void 0),k=!0},resume:function(){k=!1,d=!0,t.scheduleRender()},append:function(_,b){r(ee.append,_,b)},insertBefore:function(_,b){r(ee.insertBefore,_,b)},merge:function(_,b){r(ee.merge,_,b)},replace:function(_,b){r(ee.replace,_,b)},detach:function(_){for(var b=0;b<f.length;b++)if(f[b]===_)return f.splice(b,1),y.splice(b,1)[0];throw new Error("renderFunction was not found")}},t},Ze=function(){var e,t;return{invalidate:function(){t=void 0,e=void 0},result:function(n,s){if(e)for(var d=0;d<n.length;d++)e[d]!==n[d]&&(t=void 0);return t||(t=s(),e=n),t}}},je=function(e,t,n){var s=[],d=[];return{results:d,map:function(p){for(var k=p.map(e),y=d.slice(),f=0,r=0;r<p.length;r++){var u=p[r],_=k[r];if(_===s[f])d[r]=y[f],n(u,y[f],r),f++;else{for(var b=!1,x=1;x<s.length+1;x++){var T=(f+x)%s.length;if(s[T]===_){d[r]=y[T],n(p[r],y[T],r),f=T+1,b=!0;break}}b||(d[r]=t(u,r))}}d.length=p.length,s=k}}};o.createCache=Ze,o.createMapping=je,o.createProjector=Qe,o.dom=ee,o.h=Ke})})(me,me.exports);var tt=me.exports.createProjector(),Be=10,ye=20,ce=10,be=20,we={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function at(a="vertical"){let i={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return a==="vertical"?v("svg",{height:"4",width:"10"},v("line",{x1:"0",y1:"2",x2:"10",y2:"2",style:i})):v("svg",{height:"10",width:"10"},v("line",{x1:"5",y1:"0",x2:"5",y2:"10",style:i}))}function it(a,i="vertical"){let o=document.createElement("div");return o.style.height=`${ye}px`,o.className=we.univariateAboveAndBelowSymbol,a!=null&&(o.style.opacity=a.toString()),tt.append(o,at.bind(null,i)),o}function Ie(a,i,o="vertical",c){a.infos.forEach((l,g)=>{if(c&&g===2)l.preview=it(i,o);else{let{size:m}=l,L=O(m)+(o==="horizontal"?be:ce),w=l.preview.tagName.toLowerCase()==="div",R=w?l.preview:document.createElement("div");R&&(R.className=we.univariateAboveAndBelowSymbol),o==="horizontal"?R&&(R.style.width=`${L}px`):R&&(R.style.height=`${L}px`),w||R&&R.appendChild(l.preview),l.preview=R}})}function De(a,i="classic"){let o=a.infos,c=o[0].size,l=o[o.length-1].size;return i==="classic"?(O(c)+ce)/2:(O(c)-O(l))/2}async function fe(a,i){if(!a)return await Promise.resolve(null);let o=a.infos.map(g=>g.color),l=(await ke()).renderColorRampPreviewHTML(i.type==="full"?o:i.type==="above"?o.slice(0,3):o.slice(2,5),{width:i.width,height:i.height,align:i.rampAlignment,effectList:i.effectList});return l.className=we.colorRamp,i.opacity!=null&&(l.style.opacity=i.opacity.toString()),await Promise.resolve(l)}function nt(a,i,o,c="vertical"){let l=0,g=a.infos,m=Math.floor(g.length/2),L=i==="full"||i==="above"?0:m,w=i==="full"||i==="below"?g.length-1:m;for(let R=L;R<=w;R++)if(o&&R===m)l+=c==="horizontal"?Be:ye;else{let C=g[R].size,S=O(C)+(c==="horizontal"?be:ce);l+=S}return Math.round(l)}function ue(a,i,o,c="vertical"){let l=nt(a,i,o,c),g=a.infos,m=Math.floor(g.length/2),L=i==="full"||i==="above"?0:m,w=i==="full"||i==="below"?g.length-1:m,R=i==="full"?g[L].size+g[w].size:i==="above"?g[L].size:g[w].size,C=o?c==="vertical"?ye:Be:0,S=c==="vertical"?ce*(i==="full"?2:1):be*(i==="full"?2:1);return Math.round(l-(O(R)/2+C/2+S/2))}function st(a,i,o="vertical"){let c=a.infos,l=c.find(({type:m})=>m==="size-ramp"),g=c.find(({type:m})=>m==="color-ramp");return l&&(l={...l},l.infos=[...l.infos],Ie(l,i,o,!0)),g&&(g={...g},g.infos=[...g.infos]),o==="horizontal"&&(l?.infos.reverse(),g?.infos.reverse()),{sizeRampElement:l,colorRampElement:g}}function rt(a,i="vertical"){let o=a.infos,c=o.find(({type:g})=>g==="size-ramp"),l=o.find(({type:g})=>g==="color-ramp");return c&&(c={...c},c.infos=[...c.infos],Ie(c,null,i,!1)),l&&(l={...l},l.infos=[...l.infos]),i==="horizontal"&&(c?.infos.reverse(),l?.infos.reverse()),{sizeRampElement:c,colorRampElement:l}}function lt(a,i){return!0}var ct=".sc-instant-apps-interactive-legend-classic-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark:#009af2;--instant-apps-interactive-legend-info-item-background--hover:#e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark:#4a4a4a;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin:20px 15px;--instant-apps-interactive-legend-ui-padding:20px 15px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__service.sc-instant-apps-interactive-legend-classic{padding:0}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-classic{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic calcite-action.sc-instant-apps-interactive-legend-classic{margin-right:5px}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic{white-space:nowrap}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic calcite-button.sc-instant-apps-interactive-legend-classic{margin:2px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-classic>.esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{margin:0}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:table-row}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic{display:table-cell}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--symbols.sc-instant-apps-interactive-legend-classic{justify-content:center;width:20%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{width:65%}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{margin:1px;background:transparent;border:none;width:100%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{position:relative}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--calcite-color-text-inverse)}.sc-instant-apps-interactive-legend-classic-h .hide.sc-instant-apps-interactive-legend-classic{display:none}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{--instant-apps-interactive-legend-ui-padding:10px 5px}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{cursor:pointer}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}",ot=ct,h={service:"esri-legend__service",label:"esri-legend__service-label",layer:"esri-legend__layer",groupLayer:"esri-legend__group-layer",groupLayerChild:"esri-legend__group-layer-child",layerTable:"esri-legend__layer-table",layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerCaption:"esri-legend__layer-caption",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerCell:"esri-legend__layer-cell",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",imageryLayerCellStretched:"esri-legend__imagery-layer-cell--stretched",imageryLayerInfoStretched:"esri-legend__imagery-layer-info--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",borderlessRamp:"esri-legend__borderless-ramp",rampTick:"esri-legend__ramp-tick",rampFirstTick:"esri-legend__ramp-tick-first",rampLastTick:"esri-legend__ramp-tick-last",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",header:"esri-widget__heading",hidden:"esri-hidden",interactiveLegendHeader:"instant-apps-interactive-legend__header",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},dt=24,He={display:"flex",alignItems:"flex-start"},he={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},pt=class{constructor(a){Ue(this,a),this.calculatingFeatureCount=!1,this.legendvm=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.messages=void 0,this.isLoading=!0}handleFilterModeChange(){this.legendvm?.view&&Fe(this.filterMode,this.legendvm.view)}async connectedCallback(){this.handles||(this.handles=await Re())}async componentWillLoad(){new MutationObserver(()=>{le(this.el)}).observe(this.el,{attributes:!0});let[i,o]=await Promise.all([Ce(),Se()]);this.reactiveUtils=o,this.intl=i}async componentDidLoad(){this.initLegend()}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let a=async()=>{try{let i=await this.legendvm?.view?.map?.load();await i?.basemap?.load();let c=i?.allLayers?.map(async w=>await w.load()),g=(await Promise.allSettled(c)).map(w=>w?.status==="fulfilled"&&w?.value?w.value:null).filter(w=>!!w),m=[];g.forEach(w=>{this.legendvm?.view&&m.push(this.legendvm.view.whenLayerView(w))}),await Promise.allSettled(m);let L=await se(this.legendvm,this.reactiveUtils);H.set("data",{...E.data,...L}),this.isLoading=!1,this.setupWatchersAndListeners()}catch(i){console.error(i),this.isLoading=!1}};this.legendvm?.view?.when(a),this.legendvm?.view?.map?.layers?.on("after-changes",a)}catch{this.isLoading=!1}}disconnectedCallback(){this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}render(){let a=this.renderFilteredLayers(),i=H.get("compact")?` ${h.compact}`:"";return this.isLoading?v("calcite-loader",{key:"interactive-legend-loader",scale:"m",label:this.messages?.loading,text:this.messages?.loading}):v("div",{key:"interactive-legend-classic-container",class:`${J(this.el)}${i}`},a?.length>0?a:v("div",{class:h.message},this.messages?.noLegend))}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(i=>this.renderLegendForLayer(i)).filter(i=>!!i)}renderLegendForLayer(a,i){if(!a.ready)return null;if(!!a.children.length){let g=a.children.map(m=>this.renderLegendForLayer(m,!0)).toArray();return v("instant-apps-interactive-legend-group-legend-element",{class:J(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,isChild:i},v("div",{style:{paddingLeft:"20px"},id:`${a?.layer?.id}-legend-layer`,slot:"content"},g))}let c=a.legendElements;if(c&&!c.length)return null;let l=c.map((g,m)=>this.renderLegendForElement(g,a.layer,a.effectList,a,m)).filter(g=>!!g);return l.length?v("instant-apps-interactive-legend-layer-element",{class:J(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,messages:this.messages,isChild:!!i},v("div",{slot:"content",id:`${a?.layer?.id}-legend-layer`,class:h.layer},l)):null}renderLegendForElement(a,i,o,c,l,g,m){let L=a.type==="color-ramp",w=a.type==="opacity-ramp",R=a.type==="size-ramp",C=null,S=Te(c,a,l),$=a?.type==="relationship-ramp";if(a.type==="symbol-table"||R){let A=a.infos.map((F,B)=>this.renderLegendForElementInfo(F,i,o,R,a,c,l,B,S,m||null)).filter(F=>!!F);A.length&&(C=v("div",{class:h.layerBody},A))}else if(a.type==="color-ramp"||a.type==="opacity-ramp"||a.type==="heatmap-ramp"||a.type==="stretch-ramp"){let A=a;C=this.renderLegendForRamp(A,i.opacity)}else if(a.type==="relationship-ramp")C=v("instant-apps-interactive-legend-relationship",{class:J(this.el),key:"relationship-ramp",filterMode:this.filterMode,activeLayerInfo:c,legendElement:a,messages:this.messages});else if(a.type==="pie-chart-ramp"){let A=a;C=this.renderPieChartRamp(A)}else if(a.type==="univariate-above-and-below-ramp"){let A=a;C=this.renderUnivariateAboveAndBelowRamp(A,i.opacity,o)}else if(a.type==="univariate-color-size-ramp"){let A=a;C=this.renderUnivariateColorSizeRamp(A,i.opacity,o)}if(!C)return null;let z=a.title,P=null;if(typeof z=="string")P=z;else if(z){let A=z,F=this.getTitle(this.messages,A,L||w);this.isRendererTitle(L||w)?"title"in z&&(P=`${z.title} (${F})`):P=F}return v("instant-apps-interactive-legend-legend-element",{class:J(this.el),activeLayerInfo:c,isSizeRamp:R,isChild:!!g,isColorRamp:L,isRelationshipRamp:$,isInteractive:S,zoomTo:this.zoomTo,legendElement:a,titleText:P,legendvm:this.legendvm,legendElementIndex:l,messages:this.messages},v("div",{slot:"content"},C))}renderPieChartRamp(a){return v("div",{innerHTML:`${a.preview?.outerHTML}`})}async renderUnivariateAboveAndBelowRamp(a,i,o){let{sizeRampElement:c,colorRampElement:l}=st(a,i);if(!c)return null;let g=ue(c,"above",!0),m=ue(c,"below",!0),L=12,w=await fe(l,{width:L,height:g,rampAlignment:"vertical",opacity:i,type:"above",effectList:o}),R=await fe(l,{width:L,height:m,rampAlignment:"vertical",opacity:i,type:"below",effectList:o}),C=De(c),S=c.infos.map(M=>M.label),$=S.map((M,U)=>U===0?v("div",{class:M?w?h.univariateAboveAndBelowLabel:h.rampLabel:""},M):U===2?v("div",null):null),z=S.length-1,P=Math.floor(S.length/2),A=S.map((M,U)=>U===P||U===z?v("div",{class:M?w?h.univariateAboveAndBelowLabel:h.rampLabel:""},M):null),F={display:"table-cell",verticalAlign:"middle"},B={marginTop:`${C}px`},q={height:`${g}px`},X={height:`${m}px`};return v("div",{key:"univariate-above-and-below-ramp-preview",style:He},v("div",{class:h.layerBody},c.infos.map((M,U)=>v("div",{class:`${h.layerRow} ${h.sizeRamp}`},v("div",{class:h.symbol,style:F,innerHTML:M?.preview?.outerHTML??""}),!w&&U%2===0?v("div",{class:h.layerInfo},S[U]):null))),w?v("div",{style:B,key:"color-ramp-preview"},v("div",{style:he},v("div",{style:j},v("div",{class:h.rampContainer},w)),v("div",{style:j},v("div",{class:h.rampLabelsContainer,style:q},$))),v("div",{style:he},v("div",{style:j},v("div",{class:h.rampContainer},R)),v("div",{style:j},v("div",{class:h.rampLabelsContainer,style:X},A)))):null)}renderUnivariateColorSizeRamp(a,i,o){let{sizeRampElement:c,colorRampElement:l}=rt(a);if(!c)return null;let g=De(c),m=12,L=ue(c,"full",!1),w=fe(l,{width:m,height:L,rampAlignment:"vertical",opacity:i,type:"full",effectList:o}),R=c.infos.length-1,C=c.infos.map((P,A)=>A===0||A===R?v("div",{class:P.label?l?h.univariateAboveAndBelowLabel:h.rampLabel:""},P.label):null),S={display:"table-cell",verticalAlign:"middle"},$={marginTop:`${g}px`},z={height:`${L}px`};return v("div",{key:"univariate-above-and-below-ramp-preview",style:He},v("div",{class:h.layerBody},c.infos.map(P=>v("div",{class:`${h.layerRow} ${h.sizeRamp}`},v("div",{class:h.symbol,style:S,innerHTML:P?.preview?.outerHTML??""})))),v("div",{style:$,key:"color-ramp-preview"},v("div",{style:he},v("div",{style:j},v("div",{class:h.rampContainer},w)),v("div",{style:j},v("div",{class:h.rampLabelsContainer,style:z},C)))))}renderLegendForRamp(a,i){let o=a.infos,c=a.type==="opacity-ramp",l=a.type==="heatmap-ramp",g=a.type==="stretch-ramp",m=a.preview,L=c?h.opacityRamp:"";m&&(m.classList.add(h.colorRamp),L&&m.classList.add(L)),i!=null&&m&&(m.style.opacity=i.toString());let w=o.map(S=>{let $;if(l){let z=this.messages[S.label];$=typeof z=="string"?z:S.label}else g?$="value"in S?this.getStretchStopLabel(S):S.label:$=S.label;return v("div",{class:S.label?h.rampLabel:""},$)}),R={width:`${dt}px`},C={height:m?.style?.height};return v("div",{class:h.layerRow},v("div",{class:h.symbolContainer,style:{...R}},v("div",{ref:S=>{S?.firstChild&&S?.firstChild?.remove(),S?.appendChild(m)},class:h.rampContainer})),v("div",{class:h.layerInfo},v("div",{class:h.rampLabelsContainer,style:{...C}},w)))}getStretchStopLabel(a){return a.label?`${this.messages[a.label]}: ${typeof a.value=="string"?a.value:this.intl.formatNumber(a.value,{style:"decimal",notation:a.value.toString().includes("e")?"scientific":"standard"})}`:""}renderLegendForElementInfo(a,i,o,c,l,g,m,L,w,R){if(a.type)return this.renderLegendForElement(a,i,o,g,m,!0,a);let C,S=!lt();if(a.preview?C=v("div",{class:h.symbol,innerHTML:`${a.preview.outerHTML}`}):a.src&&(C=this.renderImage(a,i,S)),!C)return null;let $="",z=c?` ${h.sizeRamp}`:"",P,A=ze(i),F=$e(A,R);if(E.data){let M=xe(A,i,a,F,L),U=F?F?.nestedInfos:A,D=Pe(U);P=A?.categories?.size===1?!M?.selected:D||M?.selected}let B=F&&!a?.value?!1:w,q=H.get("compact"),X=this.getTitle(this.messages,a.label,!1)||"";return B?v("button",{onClick:this.applyFilter(a,i,L,R),class:`${h.layerRow} ${h.interactiveLayerRow}${P?` ${h.infoSelected}`:""}`,title:q?`${X}`:void 0},v("div",{class:`${h.symbolContainer}${$}${z}`},C),v("div",{class:`${h.layerInfo}${$}`},this.getTitle(this.messages,a.label,!1)||""),this.featureCount&&!q?v("instant-apps-interactive-legend-count",{class:J(this.el),categoryId:F?l.title:a.label??i?.id,activeLayerInfo:g,legendvm:this.legendvm,messages:this.messages,selected:!!P,legendElement:l,infoIndex:L}):null):v("div",{class:h.layerRow},v("div",{class:`${h.symbolContainer}${$}${z}`},C),v("div",{class:`${h.layerInfo}${$}`},X))}renderImage(a,i,o){let{label:c,src:l,opacity:g}=a,m=o?` ${h.imageryLayerStretchedImage}`:"",L=o?"":` ${h.symbol}`,w={opacity:`${g??i.opacity}`};return v("img",{alt:this.getTitle(this.messages,c,!1),src:l,width:a.width,height:a.height,class:`$${m}${L}`,style:w})}getTitle(a,i,o){if(!i)return;if(typeof i=="string"||typeof i=="number")return i;if("value"in i||"unit"in i)return this.intl.substitute(a?.dotValue??"",i);if("colorName"in i||"bandName"in i){let l=i;return`${a[l.colorName]}: ${a[l.bandName]||i.bandName}`}if("showCount"in i)return i.showCount?a.clusterCountTitle:null;let c=null;if(o){let l=i;c=l.ratioPercentTotal?"showRatioPercentTotal":l.ratioPercent?"showRatioPercent":l.ratio?"showRatio":i.normField?"showNormField":i.field?"showField":null}else if(this.isRendererTitle(o)){let l=i;c=l.normField?"showNormField":l.normByPct?"showNormPct":l.field?"showField":null}return c?this.intl?.substitute(c==="showField"?"{field}":a[c],{field:i.field,normField:i.normField}):""}isRendererTitle(a){return!a}setupWatchersAndListeners(){let a=this.legendvm?.view?.map?.allLayers?.filter(i=>i?.type==="feature");a.forEach(async i=>{try{let o=await this.legendvm?.view?.whenLayerView(i),c=`fLayerViewScale-${i?.id}`;!this.handles?.has(c)&&o&&this.handles?.add(o.watch("visibleAtCurrentScale",async()=>await this.createDataForLayer(i)),c)}catch{}}),a?.forEach(i=>{let o=`fLayer-${i?.id}`;this.handles?.has(o)||this.handles?.add(this.reactiveUtils?.watch(()=>i?.visible,async()=>await this.createDataForLayer(i)),o)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,async()=>{let i=await re(this.legendvm,E.data);H.set("data",{...E.data,...i}),this.calculatingFeatureCount=!1},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",async i=>{let o=await se(this.legendvm,this.reactiveUtils);H.set("data",{...E.data,...o}),le(this.el),this.handles?.add(this.reactiveUtils.on(()=>i.children,"change",async()=>{let c=await se(this.legendvm,this.reactiveUtils);H.set("data",{...E.data,...c}),le(this.el)}))})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",async()=>{let i=await re(this.legendvm,E.data);H.set("data",{...E.data,...i}),this.calculatingFeatureCount=!1}))}async createDataForLayer(a){let o=H.get("data")?.[a?.id],l=Me(this.legendvm?.activeLayerInfos)?.find(g=>g?.layer?.id===a?.id);if(!o&&l){let g=await Ae(this.legendvm,l,this.reactiveUtils);if(ge({intLegendLayerData:g,layerId:a?.id}),this.featureCount){let m=await re(this.legendvm,E.data);H.set("data",{...E.data,...m})}}}applyFilter(a,i,o,c){return async()=>{let l={...E.data?.[i?.id]};c?await ve(l,a,o,this.filterMode,c):await ve(l,a,o,this.filterMode),ge({intLegendLayerData:l,layerId:i?.id})}}get el(){return Ee(this)}static get watchers(){return{filterMode:["handleFilterModeChange"]}}};pt.style=ot;export{pt as instant_apps_interactive_legend_classic};
|
3
|
+
v1.0.0-next.20250422.1 */
|
4
|
+
import{a as E,b as H,c as Ae,d as se,f as xe,g as ze,h as ve,i as Pe,k as Te,q as re,u as $e,v as J,w as ge,x as Fe,y as Me}from"./UE2NOYII.js";import"./VWU5PGNX.js";import"./CKY3EABW.js";import{C as Ce,E as ke,c as Re,z as Se}from"./GSAONT2J.js";import{a as Ue,c as v,e as Ee,h as le}from"./NXRKL5ST.js";import"./IW67EMAA.js";var Ve=96;function O(a){return a?a/72*Ve:0}var et=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},me={exports:{}};(function(a,i){(function(o,c){c(i)})(et,function(o){var c="http://www.w3.org/",l="".concat(c,"2000/svg"),g="".concat(c,"1999/xlink"),m=[],L=function(e,t){var n={};return Object.keys(e).forEach(function(s){n[s]=e[s]}),t&&Object.keys(t).forEach(function(s){n[s]=t[s]}),n},w=function(e,t){return e.vnodeSelector!==t.vnodeSelector?!1:e.properties&&t.properties?e.properties.key!==t.properties.key?!1:e.properties.bind===t.properties.bind:!e.properties&&!t.properties},R=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},C=function(e,t,n){if(t.vnodeSelector!==""){for(var s=n;s<e.length;s++)if(w(e[s],t))return s}return-1},S=function(e,t,n,s){var d=e[t];if(d.vnodeSelector!==""){var p=d.properties,k=p?p.key===void 0?p.bind:p.key:void 0;if(!k){for(var y=0;y<e.length;y++)if(y!==t){var f=e[y];if(w(f,d))throw{error:new Error("".concat(n.vnodeSelector," had a ").concat(d.vnodeSelector," child ").concat(s==="added"?s:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:n,childNode:d}}}}},$=function(e){if(e.properties){var t=e.properties.enterAnimation;t&&t(e.domNode,e.properties)}},z=[],P=!1,A=function(e){(e.children||[]).forEach(A),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},F=function(){P=!1,z.forEach(A),z.length=0},B=function(e){z.push(e),P||(P=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(F,{timeout:16}):setTimeout(F,16))},q=function(e){var t=e.domNode;if(e.properties){var n=e.properties.exitAnimation;if(n){t.style.pointerEvents="none";var s=function(){t.parentNode&&(t.parentNode.removeChild(t),B(e))};n(t,s,e.properties);return}}t.parentNode&&(t.parentNode.removeChild(t),B(e))},X=function(e,t,n){if(t)for(var s=n.eventHandlerInterceptor,d=Object.keys(t),p=d.length,k=function(f){var r=d[f],u=t[r];if(r==="className")throw new Error('Property "className" is not supported, use "class".');if(r==="class")oe(e,u,!0);else if(r==="classes")for(var _=Object.keys(u),b=_.length,x=0;x<b;x++){var T=_[x];u[T]&&e.classList.add(T)}else if(r==="styles")for(var I=Object.keys(u),ae=I.length,x=0;x<ae;x++){var ie=I[x],Z=u[ie];Z&&(R(Z),n.styleApplyer(e,ie,Z))}else if(r==="on"&&u)for(var te=0,N=Object.entries(t.on);te<N.length;te++){var G=N[te],ne=G[0],W=G[1],K=typeof W=="function"?W:W.listener;s&&(K=s(ne,K,e,t)),K&&e.addEventListener(ne,K,typeof W=="function"?void 0:W.options)}else if(r!=="key"&&u!==null&&u!==void 0){var Le=typeof u;Le==="function"?(r.lastIndexOf("on",0)===0&&(s&&(u=s(r,u,e,t)),r==="oninput"&&function(){var Oe=u;u=function(pe){Oe.apply(this,[pe]),pe.target["oninput-value"]=pe.target.value}}()),e[r]=u):n.namespace===l?r==="href"?e.setAttributeNS(g,r,u):e.setAttribute(r,u):Le==="string"&&r!=="value"&&r!=="innerHTML"?e.setAttribute(r,u):e[r]=u}},y=0;y<p;y++)k(y)},M=function(e,t,n){if(t)for(var s=0,d=t;s<d.length;s++){var p=d[s];D(p,e,void 0,n)}},U=function(e,t,n){M(e,t.children,n),t.text&&(e.textContent=t.text),X(e,t.properties,n),t.properties&&t.properties.afterCreate&&t.properties.afterCreate.apply(t.properties.bind||t.properties,[e,n,t.vnodeSelector,t.properties,t.children])},D=function(e,t,n,s){var d,p,k=0,y=e.vnodeSelector,f=t.ownerDocument;if(y==="")e.domNode?e.domNode.nodeValue=e.text:(p=e.domNode=f.createTextNode(e.text),n!==void 0?t.insertBefore(p,n):t.appendChild(p));else{for(var r=0;r<=y.length;++r){var u=y.charAt(r);if(r===y.length||u==="."||u==="#"){var _=y.charAt(k-1),b=y.slice(k,r);_==="."?p.classList.add(b):_==="#"?p.id=b:(b==="svg"&&(s=L(s,{namespace:l})),s.namespace!==void 0?p=e.domNode=f.createElementNS(s.namespace,b):(p=e.domNode=e.domNode||(!((d=e.properties)===null||d===void 0)&&d.is?f.createElement(b,{is:e.properties.is}):f.createElement(b)),b==="input"&&e.properties&&e.properties.type!==void 0&&p.setAttribute("type",e.properties.type)),n!==void 0?t.insertBefore(p,n):p.parentNode!==t&&t.appendChild(p)),k=r+1}}U(p,e,s)}},Y,oe=function(e,t,n){t&&t.split(" ").forEach(function(s){s&&e.classList.toggle(s,n)})},We=function(e,t,n,s){if(n){for(var d=!1,p=Object.keys(n),k=p.length,y=0;y<k;y++){var f=p[y],r=n[f],u=t[f];if(f==="class")u!==r&&(oe(e,u,!1),oe(e,r,!0));else if(f==="classes")for(var _=e.classList,b=Object.keys(r),x=b.length,T=0;T<x;T++){var I=b[T],ae=!!r[I],ie=!!u[I];ae!==ie&&(d=!0,ae?_.add(I):_.remove(I))}else if(f==="styles")for(var Z=Object.keys(r),te=Z.length,T=0;T<te;T++){var N=Z[T],G=r[N],ne=u[N];G!==ne&&(d=!0,G?(R(G),s.styleApplyer(e,N,G)):s.styleApplyer(e,N,""))}else if(!r&&typeof u=="string"&&(r=""),f==="value"){var W=e[f];W!==r&&(e["oninput-value"]?W===e["oninput-value"]:r!==u)&&(e[f]=r,e["oninput-value"]=void 0),r!==u&&(d=!0)}else if(r!==u){var K=typeof r;(K!=="function"||!s.eventHandlerInterceptor)&&(s.namespace===l?f==="href"?e.setAttributeNS(g,f,r):e.setAttribute(f,r):K==="string"&&f!=="innerHTML"?f==="role"&&r===""?e.removeAttribute(f):e.setAttribute(f,r):e[f]!==r&&(e[f]=r),d=!0)}}return d}},qe=function(e,t,n,s,d){if(n===s)return!1;n=n||m,s=s||m;for(var p=n.length,k=s.length,y=0,f=0,r,u=!1;f<k;){var _=y<p?n[y]:void 0,b=s[f];if(_!==void 0&&w(_,b))u=Y(_,b,d)||u,y++;else{var x=C(n,b,y+1);if(x>=0){for(r=y;r<x;r++)q(n[r]),S(n,r,e,"removed");u=Y(n[x],b,d)||u,y=x+1}else D(b,t,y<p?n[y].domNode:void 0,d),$(b),S(s,f,e,"added")}f++}if(p>y)for(r=y;r<p;r++)q(n[r]),S(n,r,e,"removed");return u};Y=function(e,t,n){var s=e.domNode,d=!1;if(e===t)return!1;var p=!1;if(t.vnodeSelector===""){if(t.text!==e.text){var k=s.ownerDocument.createTextNode(t.text);return s.parentNode.replaceChild(k,s),t.domNode=k,d=!0,d}t.domNode=s}else t.vnodeSelector.lastIndexOf("svg",0)===0&&(n=L(n,{namespace:l})),e.text!==t.text&&(p=!0,t.text===void 0?s.removeChild(s.firstChild):s.textContent=t.text),t.domNode=s,p=qe(t,s,e.children,t.children,n)||p,p=We(s,e.properties,t.properties,n)||p,t.properties&&t.properties.afterUpdate&&t.properties.afterUpdate.apply(t.properties.bind||t.properties,[s,n,t.vnodeSelector,t.properties,t.children]);return p&&t.properties&&t.properties.updateAnimation&&t.properties.updateAnimation(s,t.properties,e.properties),d};var V=function(e,t){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var s=e;e=n,Y(s,n,t)},domNode:e.domNode}},Ne={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,t,n){t.charAt(0)==="-"?e.style.setProperty(t,n):e.style[t]=n}},Q=function(e){return L(Ne,e)},ee={create:function(e,t){return t=Q(t),D(e,document.createElement("div"),void 0,t),V(e,t)},append:function(e,t,n){return n=Q(n),D(t,e,void 0,n),V(t,n)},insertBefore:function(e,t,n){return n=Q(n),D(t,e.parentNode,e,n),V(t,n)},merge:function(e,t,n){return n=Q(n),t.domNode=e,U(e,t,n),V(t,n)},replace:function(e,t,n){return n=Q(n),D(t,e.parentNode,e,n),e.parentNode.removeChild(e),V(t,n)}},Ge=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},_e=function(e,t,n){for(var s=0,d=t.length;s<d;s++){var p=t[s];Array.isArray(p)?_e(e,p,n):p!=null&&p!==!1&&(typeof p=="string"&&(p=Ge(p)),n.push(p))}};function Ke(e,t,n){if(Array.isArray(t))n=t,t=void 0;else if(t&&(typeof t=="string"||t.vnodeSelector)||n&&(typeof n=="string"||n.vnodeSelector))throw new Error("h called with invalid arguments");var s,d;return n&&n.length===1&&typeof n[0]=="string"?s=n[0]:n&&(d=[],_e(e,n,d),d.length===0&&(d=void 0)),{vnodeSelector:e,properties:t,children:d,text:s===""?void 0:s,domNode:null}}var Je=function(e,t){for(var n=[];e&&e!==t;)n.push(e),e=e.parentNode;return n},de;Array.prototype.find?de=function(e,t){return e.find(t)}:de=function(e,t){return e.filter(t)[0]};var Xe=function(e,t){var n=e;return t.forEach(function(s){n=n&&n.children?de(n.children,function(d){return d.domNode===s}):void 0}),n},Ye=function(e,t,n){return function(d,p,k,y){return s};function s(d){var p,k;n("domEvent",d);var y=t(),f=Je(d.currentTarget,y.domNode);f.reverse();var r=Xe(y.getLastRender(),f);e.scheduleRender();var u;if(r){var _=(k=(p=r.properties["on".concat(d.type)])!==null&&p!==void 0?p:r.properties.on[d.type].listener)!==null&&k!==void 0?k:r.properties.on[d.type];u=_.apply(r.properties.bind||this,arguments)}return n("domEventProcessed",d),u}},Qe=function(e){var t,n=Q(e),s=n.performanceLogger,d=!0,p,k=!1,y=[],f=[],r=function(_,b,x){var T,I=function(){return T};n.eventHandlerInterceptor=Ye(t,I,s),T=_(b,x(),n),y.push(T),f.push(x)},u=function(){if(p=void 0,!!d){d=!1,s("renderStart",void 0);for(var _=0;_<y.length;_++){var b=f[_]();s("rendered",void 0),y[_].update(b),s("patched",void 0)}s("renderDone",void 0),d=!0}};return t={renderNow:u,scheduleRender:function(){!p&&!k&&(p=requestAnimationFrame(u))},stop:function(){p&&(cancelAnimationFrame(p),p=void 0),k=!0},resume:function(){k=!1,d=!0,t.scheduleRender()},append:function(_,b){r(ee.append,_,b)},insertBefore:function(_,b){r(ee.insertBefore,_,b)},merge:function(_,b){r(ee.merge,_,b)},replace:function(_,b){r(ee.replace,_,b)},detach:function(_){for(var b=0;b<f.length;b++)if(f[b]===_)return f.splice(b,1),y.splice(b,1)[0];throw new Error("renderFunction was not found")}},t},Ze=function(){var e,t;return{invalidate:function(){t=void 0,e=void 0},result:function(n,s){if(e)for(var d=0;d<n.length;d++)e[d]!==n[d]&&(t=void 0);return t||(t=s(),e=n),t}}},je=function(e,t,n){var s=[],d=[];return{results:d,map:function(p){for(var k=p.map(e),y=d.slice(),f=0,r=0;r<p.length;r++){var u=p[r],_=k[r];if(_===s[f])d[r]=y[f],n(u,y[f],r),f++;else{for(var b=!1,x=1;x<s.length+1;x++){var T=(f+x)%s.length;if(s[T]===_){d[r]=y[T],n(p[r],y[T],r),f=T+1,b=!0;break}}b||(d[r]=t(u,r))}}d.length=p.length,s=k}}};o.createCache=Ze,o.createMapping=je,o.createProjector=Qe,o.dom=ee,o.h=Ke})})(me,me.exports);var tt=me.exports.createProjector(),Be=10,ye=20,ce=10,be=20,we={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function at(a="vertical"){let i={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return a==="vertical"?v("svg",{height:"4",width:"10"},v("line",{x1:"0",y1:"2",x2:"10",y2:"2",style:i})):v("svg",{height:"10",width:"10"},v("line",{x1:"5",y1:"0",x2:"5",y2:"10",style:i}))}function it(a,i="vertical"){let o=document.createElement("div");return o.style.height=`${ye}px`,o.className=we.univariateAboveAndBelowSymbol,a!=null&&(o.style.opacity=a.toString()),tt.append(o,at.bind(null,i)),o}function Ie(a,i,o="vertical",c){a.infos.forEach((l,g)=>{if(c&&g===2)l.preview=it(i,o);else{let{size:m}=l,L=O(m)+(o==="horizontal"?be:ce),w=l.preview.tagName.toLowerCase()==="div",R=w?l.preview:document.createElement("div");R&&(R.className=we.univariateAboveAndBelowSymbol),o==="horizontal"?R&&(R.style.width=`${L}px`):R&&(R.style.height=`${L}px`),w||R&&R.appendChild(l.preview),l.preview=R}})}function De(a,i="classic"){let o=a.infos,c=o[0].size,l=o[o.length-1].size;return i==="classic"?(O(c)+ce)/2:(O(c)-O(l))/2}async function fe(a,i){if(!a)return await Promise.resolve(null);let o=a.infos.map(g=>g.color),l=(await ke()).renderColorRampPreviewHTML(i.type==="full"?o:i.type==="above"?o.slice(0,3):o.slice(2,5),{width:i.width,height:i.height,align:i.rampAlignment,effectList:i.effectList});return l.className=we.colorRamp,i.opacity!=null&&(l.style.opacity=i.opacity.toString()),await Promise.resolve(l)}function nt(a,i,o,c="vertical"){let l=0,g=a.infos,m=Math.floor(g.length/2),L=i==="full"||i==="above"?0:m,w=i==="full"||i==="below"?g.length-1:m;for(let R=L;R<=w;R++)if(o&&R===m)l+=c==="horizontal"?Be:ye;else{let C=g[R].size,S=O(C)+(c==="horizontal"?be:ce);l+=S}return Math.round(l)}function ue(a,i,o,c="vertical"){let l=nt(a,i,o,c),g=a.infos,m=Math.floor(g.length/2),L=i==="full"||i==="above"?0:m,w=i==="full"||i==="below"?g.length-1:m,R=i==="full"?g[L].size+g[w].size:i==="above"?g[L].size:g[w].size,C=o?c==="vertical"?ye:Be:0,S=c==="vertical"?ce*(i==="full"?2:1):be*(i==="full"?2:1);return Math.round(l-(O(R)/2+C/2+S/2))}function st(a,i,o="vertical"){let c=a.infos,l=c.find(({type:m})=>m==="size-ramp"),g=c.find(({type:m})=>m==="color-ramp");return l&&(l={...l},l.infos=[...l.infos],Ie(l,i,o,!0)),g&&(g={...g},g.infos=[...g.infos]),o==="horizontal"&&(l?.infos.reverse(),g?.infos.reverse()),{sizeRampElement:l,colorRampElement:g}}function rt(a,i="vertical"){let o=a.infos,c=o.find(({type:g})=>g==="size-ramp"),l=o.find(({type:g})=>g==="color-ramp");return c&&(c={...c},c.infos=[...c.infos],Ie(c,null,i,!1)),l&&(l={...l},l.infos=[...l.infos]),i==="horizontal"&&(c?.infos.reverse(),l?.infos.reverse()),{sizeRampElement:c,colorRampElement:l}}function lt(a,i){return!0}var ct=".sc-instant-apps-interactive-legend-classic-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark:#009af2;--instant-apps-interactive-legend-info-item-background--hover:#e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark:#4a4a4a;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin:20px 15px;--instant-apps-interactive-legend-ui-padding:20px 15px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__service.sc-instant-apps-interactive-legend-classic{padding:0}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-classic{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic calcite-action.sc-instant-apps-interactive-legend-classic{margin-right:5px}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic{white-space:nowrap}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic calcite-button.sc-instant-apps-interactive-legend-classic{margin:2px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-classic>.esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{margin:0}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:table-row}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic{display:table-cell}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--symbols.sc-instant-apps-interactive-legend-classic{justify-content:center;width:20%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{width:65%}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{margin:1px;background:transparent;border:none;width:100%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{position:relative}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--calcite-color-text-inverse)}.sc-instant-apps-interactive-legend-classic-h .hide.sc-instant-apps-interactive-legend-classic{display:none}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{--instant-apps-interactive-legend-ui-padding:10px 5px}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{cursor:pointer}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}",ot=ct,h={service:"esri-legend__service",label:"esri-legend__service-label",layer:"esri-legend__layer",groupLayer:"esri-legend__group-layer",groupLayerChild:"esri-legend__group-layer-child",layerTable:"esri-legend__layer-table",layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerCaption:"esri-legend__layer-caption",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerCell:"esri-legend__layer-cell",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",imageryLayerCellStretched:"esri-legend__imagery-layer-cell--stretched",imageryLayerInfoStretched:"esri-legend__imagery-layer-info--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",borderlessRamp:"esri-legend__borderless-ramp",rampTick:"esri-legend__ramp-tick",rampFirstTick:"esri-legend__ramp-tick-first",rampLastTick:"esri-legend__ramp-tick-last",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",header:"esri-widget__heading",hidden:"esri-hidden",interactiveLegendHeader:"instant-apps-interactive-legend__header",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},dt=24,He={display:"flex",alignItems:"flex-start"},he={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},pt=class{constructor(a){Ue(this,a),this.calculatingFeatureCount=!1,this.legendvm=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.messages=void 0,this.isLoading=!0}handleFilterModeChange(){this.legendvm?.view&&Fe(this.filterMode,this.legendvm.view)}async connectedCallback(){this.handles||(this.handles=await Re())}async componentWillLoad(){new MutationObserver(()=>{le(this.el)}).observe(this.el,{attributes:!0});let[i,o]=await Promise.all([Ce(),Se()]);this.reactiveUtils=o,this.intl=i}async componentDidLoad(){this.initLegend()}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let a=async()=>{try{let i=await this.legendvm?.view?.map?.load();await i?.basemap?.load();let c=i?.allLayers?.map(async w=>await w.load()),g=(await Promise.allSettled(c)).map(w=>w?.status==="fulfilled"&&w?.value?w.value:null).filter(w=>!!w),m=[];g.forEach(w=>{this.legendvm?.view&&m.push(this.legendvm.view.whenLayerView(w))}),await Promise.allSettled(m);let L=await se(this.legendvm,this.reactiveUtils);H.set("data",{...E.data,...L}),this.isLoading=!1,this.setupWatchersAndListeners()}catch(i){console.error(i),this.isLoading=!1}};this.legendvm?.view?.when(a),this.legendvm?.view?.map?.layers?.on("after-changes",a)}catch{this.isLoading=!1}}disconnectedCallback(){this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}render(){let a=this.renderFilteredLayers(),i=H.get("compact")?` ${h.compact}`:"";return this.isLoading?v("calcite-loader",{key:"interactive-legend-loader",scale:"m",label:this.messages?.loading,text:this.messages?.loading}):v("div",{key:"interactive-legend-classic-container",class:`${J(this.el)}${i}`},a?.length>0?a:v("div",{class:h.message},this.messages?.noLegend))}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(i=>this.renderLegendForLayer(i)).filter(i=>!!i)}renderLegendForLayer(a,i){if(!a.ready)return null;if(!!a.children.length){let g=a.children.map(m=>this.renderLegendForLayer(m,!0)).toArray();return v("instant-apps-interactive-legend-group-legend-element",{class:J(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,isChild:i},v("div",{style:{paddingLeft:"20px"},id:`${a?.layer?.id}-legend-layer`,slot:"content"},g))}let c=a.legendElements;if(c&&!c.length)return null;let l=c.map((g,m)=>this.renderLegendForElement(g,a.layer,a.effectList,a,m)).filter(g=>!!g);return l.length?v("instant-apps-interactive-legend-layer-element",{class:J(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,messages:this.messages,isChild:!!i},v("div",{slot:"content",id:`${a?.layer?.id}-legend-layer`,class:h.layer},l)):null}renderLegendForElement(a,i,o,c,l,g,m){let L=a.type==="color-ramp",w=a.type==="opacity-ramp",R=a.type==="size-ramp",C=null,S=Te(c,a,l),$=a?.type==="relationship-ramp";if(a.type==="symbol-table"||R){let A=a.infos.map((F,B)=>this.renderLegendForElementInfo(F,i,o,R,a,c,l,B,S,m||null)).filter(F=>!!F);A.length&&(C=v("div",{class:h.layerBody},A))}else if(a.type==="color-ramp"||a.type==="opacity-ramp"||a.type==="heatmap-ramp"||a.type==="stretch-ramp"){let A=a;C=this.renderLegendForRamp(A,i.opacity)}else if(a.type==="relationship-ramp")C=v("instant-apps-interactive-legend-relationship",{class:J(this.el),key:"relationship-ramp",filterMode:this.filterMode,activeLayerInfo:c,legendElement:a,messages:this.messages});else if(a.type==="pie-chart-ramp"){let A=a;C=this.renderPieChartRamp(A)}else if(a.type==="univariate-above-and-below-ramp"){let A=a;C=this.renderUnivariateAboveAndBelowRamp(A,i.opacity,o)}else if(a.type==="univariate-color-size-ramp"){let A=a;C=this.renderUnivariateColorSizeRamp(A,i.opacity,o)}if(!C)return null;let z=a.title,P=null;if(typeof z=="string")P=z;else if(z){let A=z,F=this.getTitle(this.messages,A,L||w);this.isRendererTitle(L||w)?"title"in z&&(P=`${z.title} (${F})`):P=F}return v("instant-apps-interactive-legend-legend-element",{class:J(this.el),activeLayerInfo:c,isSizeRamp:R,isChild:!!g,isColorRamp:L,isRelationshipRamp:$,isInteractive:S,zoomTo:this.zoomTo,legendElement:a,titleText:P,legendvm:this.legendvm,legendElementIndex:l,messages:this.messages},v("div",{slot:"content"},C))}renderPieChartRamp(a){return v("div",{innerHTML:`${a.preview?.outerHTML}`})}async renderUnivariateAboveAndBelowRamp(a,i,o){let{sizeRampElement:c,colorRampElement:l}=st(a,i);if(!c)return null;let g=ue(c,"above",!0),m=ue(c,"below",!0),L=12,w=await fe(l,{width:L,height:g,rampAlignment:"vertical",opacity:i,type:"above",effectList:o}),R=await fe(l,{width:L,height:m,rampAlignment:"vertical",opacity:i,type:"below",effectList:o}),C=De(c),S=c.infos.map(M=>M.label),$=S.map((M,U)=>U===0?v("div",{class:M?w?h.univariateAboveAndBelowLabel:h.rampLabel:""},M):U===2?v("div",null):null),z=S.length-1,P=Math.floor(S.length/2),A=S.map((M,U)=>U===P||U===z?v("div",{class:M?w?h.univariateAboveAndBelowLabel:h.rampLabel:""},M):null),F={display:"table-cell",verticalAlign:"middle"},B={marginTop:`${C}px`},q={height:`${g}px`},X={height:`${m}px`};return v("div",{key:"univariate-above-and-below-ramp-preview",style:He},v("div",{class:h.layerBody},c.infos.map((M,U)=>v("div",{class:`${h.layerRow} ${h.sizeRamp}`},v("div",{class:h.symbol,style:F,innerHTML:M?.preview?.outerHTML??""}),!w&&U%2===0?v("div",{class:h.layerInfo},S[U]):null))),w?v("div",{style:B,key:"color-ramp-preview"},v("div",{style:he},v("div",{style:j},v("div",{class:h.rampContainer},w)),v("div",{style:j},v("div",{class:h.rampLabelsContainer,style:q},$))),v("div",{style:he},v("div",{style:j},v("div",{class:h.rampContainer},R)),v("div",{style:j},v("div",{class:h.rampLabelsContainer,style:X},A)))):null)}renderUnivariateColorSizeRamp(a,i,o){let{sizeRampElement:c,colorRampElement:l}=rt(a);if(!c)return null;let g=De(c),m=12,L=ue(c,"full",!1),w=fe(l,{width:m,height:L,rampAlignment:"vertical",opacity:i,type:"full",effectList:o}),R=c.infos.length-1,C=c.infos.map((P,A)=>A===0||A===R?v("div",{class:P.label?l?h.univariateAboveAndBelowLabel:h.rampLabel:""},P.label):null),S={display:"table-cell",verticalAlign:"middle"},$={marginTop:`${g}px`},z={height:`${L}px`};return v("div",{key:"univariate-above-and-below-ramp-preview",style:He},v("div",{class:h.layerBody},c.infos.map(P=>v("div",{class:`${h.layerRow} ${h.sizeRamp}`},v("div",{class:h.symbol,style:S,innerHTML:P?.preview?.outerHTML??""})))),v("div",{style:$,key:"color-ramp-preview"},v("div",{style:he},v("div",{style:j},v("div",{class:h.rampContainer},w)),v("div",{style:j},v("div",{class:h.rampLabelsContainer,style:z},C)))))}renderLegendForRamp(a,i){let o=a.infos,c=a.type==="opacity-ramp",l=a.type==="heatmap-ramp",g=a.type==="stretch-ramp",m=a.preview,L=c?h.opacityRamp:"";m&&(m.classList.add(h.colorRamp),L&&m.classList.add(L)),i!=null&&m&&(m.style.opacity=i.toString());let w=o.map(S=>{let $;if(l){let z=this.messages[S.label];$=typeof z=="string"?z:S.label}else g?$="value"in S?this.getStretchStopLabel(S):S.label:$=S.label;return v("div",{class:S.label?h.rampLabel:""},$)}),R={width:`${dt}px`},C={height:m?.style?.height};return v("div",{class:h.layerRow},v("div",{class:h.symbolContainer,style:{...R}},v("div",{ref:S=>{S?.firstChild&&S?.firstChild?.remove(),S?.appendChild(m)},class:h.rampContainer})),v("div",{class:h.layerInfo},v("div",{class:h.rampLabelsContainer,style:{...C}},w)))}getStretchStopLabel(a){return a.label?`${this.messages[a.label]}: ${typeof a.value=="string"?a.value:this.intl.formatNumber(a.value,{style:"decimal",notation:a.value.toString().includes("e")?"scientific":"standard"})}`:""}renderLegendForElementInfo(a,i,o,c,l,g,m,L,w,R){if(a.type)return this.renderLegendForElement(a,i,o,g,m,!0,a);let C,S=!lt();if(a.preview?C=v("div",{class:h.symbol,innerHTML:`${a.preview.outerHTML}`}):a.src&&(C=this.renderImage(a,i,S)),!C)return null;let $="",z=c?` ${h.sizeRamp}`:"",P,A=ze(i),F=$e(A,R);if(E.data){let M=xe(A,i,a,F,L),U=F?F?.nestedInfos:A,D=Pe(U);P=A?.categories?.size===1?!M?.selected:D||M?.selected}let B=F&&!a?.value?!1:w,q=H.get("compact"),X=this.getTitle(this.messages,a.label,!1)||"";return B?v("button",{onClick:this.applyFilter(a,i,L,R),class:`${h.layerRow} ${h.interactiveLayerRow}${P?` ${h.infoSelected}`:""}`,title:q?`${X}`:void 0},v("div",{class:`${h.symbolContainer}${$}${z}`},C),v("div",{class:`${h.layerInfo}${$}`},this.getTitle(this.messages,a.label,!1)||""),this.featureCount&&!q?v("instant-apps-interactive-legend-count",{class:J(this.el),categoryId:F?l.title:a.label??i?.id,activeLayerInfo:g,legendvm:this.legendvm,messages:this.messages,selected:!!P,legendElement:l,infoIndex:L}):null):v("div",{class:h.layerRow},v("div",{class:`${h.symbolContainer}${$}${z}`},C),v("div",{class:`${h.layerInfo}${$}`},X))}renderImage(a,i,o){let{label:c,src:l,opacity:g}=a,m=o?` ${h.imageryLayerStretchedImage}`:"",L=o?"":` ${h.symbol}`,w={opacity:`${g??i.opacity}`};return v("img",{alt:this.getTitle(this.messages,c,!1),src:l,width:a.width,height:a.height,class:`$${m}${L}`,style:w})}getTitle(a,i,o){if(!i)return;if(typeof i=="string"||typeof i=="number")return i;if("value"in i||"unit"in i)return this.intl.substitute(a?.dotValue??"",i);if("colorName"in i||"bandName"in i){let l=i;return`${a[l.colorName]}: ${a[l.bandName]||i.bandName}`}if("showCount"in i)return i.showCount?a.clusterCountTitle:null;let c=null;if(o){let l=i;c=l.ratioPercentTotal?"showRatioPercentTotal":l.ratioPercent?"showRatioPercent":l.ratio?"showRatio":i.normField?"showNormField":i.field?"showField":null}else if(this.isRendererTitle(o)){let l=i;c=l.normField?"showNormField":l.normByPct?"showNormPct":l.field?"showField":null}return c?this.intl?.substitute(c==="showField"?"{field}":a[c],{field:i.field,normField:i.normField}):""}isRendererTitle(a){return!a}setupWatchersAndListeners(){let a=this.legendvm?.view?.map?.allLayers?.filter(i=>i?.type==="feature");a.forEach(async i=>{try{let o=await this.legendvm?.view?.whenLayerView(i),c=`fLayerViewScale-${i?.id}`;!this.handles?.has(c)&&o&&this.handles?.add(o.watch("visibleAtCurrentScale",async()=>await this.createDataForLayer(i)),c)}catch{}}),a?.forEach(i=>{let o=`fLayer-${i?.id}`;this.handles?.has(o)||this.handles?.add(this.reactiveUtils?.watch(()=>i?.visible,async()=>await this.createDataForLayer(i)),o)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,async()=>{let i=await re(this.legendvm,E.data);H.set("data",{...E.data,...i}),this.calculatingFeatureCount=!1},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",async i=>{let o=await se(this.legendvm,this.reactiveUtils);H.set("data",{...E.data,...o}),le(this.el),this.handles?.add(this.reactiveUtils.on(()=>i.children,"change",async()=>{let c=await se(this.legendvm,this.reactiveUtils);H.set("data",{...E.data,...c}),le(this.el)}))})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",async()=>{let i=await re(this.legendvm,E.data);H.set("data",{...E.data,...i}),this.calculatingFeatureCount=!1}))}async createDataForLayer(a){let o=H.get("data")?.[a?.id],l=Me(this.legendvm?.activeLayerInfos)?.find(g=>g?.layer?.id===a?.id);if(!o&&l){let g=await Ae(this.legendvm,l,this.reactiveUtils);if(ge({intLegendLayerData:g,layerId:a?.id}),this.featureCount){let m=await re(this.legendvm,E.data);H.set("data",{...E.data,...m})}}}applyFilter(a,i,o,c){return async()=>{let l={...E.data?.[i?.id]};c?await ve(l,a,o,this.filterMode,c):await ve(l,a,o,this.filterMode),ge({intLegendLayerData:l,layerId:i?.id})}}get el(){return Ee(this)}static get watchers(){return{filterMode:["handleFilterModeChange"]}}};pt.style=ot;export{pt as instant_apps_interactive_legend_classic};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
+
v1.0.0-next.20250422.1 */
|
4
|
+
import{a,b}from"./FN6DNORB.js";import"./NOIHHBUQ.js";import"./IW67EMAA.js";export{a as ChannelEditorTypes,b as ChannelSchema};
|