@esri/solutions-components 1.0.0-next.20250530 → 1.0.0-next.20250530.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/{TZB4SIVB.js → 223GEOHY.js} +2 -2
- package/dist/cdn/{PKQBHNHV.js → 24TZCC7K.js} +2 -2
- package/dist/cdn/2AEJNC2Y.js +4 -0
- package/dist/cdn/{7ICYEZEV.js → 2B4ODL4I.js} +1 -1
- package/dist/cdn/{NW4KXWWN.js → 2BATVN26.js} +2 -2
- package/dist/cdn/{HOZJEHZI.js → 2C2446YO.js} +2 -2
- package/dist/cdn/{YWR7J3GR.js → 2ED5S63G.js} +2 -2
- package/dist/cdn/{CVHD4WPU.js → 2JM5ZUYC.js} +2 -2
- package/dist/cdn/2N6IKQAJ.js +4 -0
- package/dist/cdn/{ZKKTR3BI.js → 2T7OWYJF.js} +1 -1
- package/dist/cdn/{6DWD2XLO.js → 2TFAMRO4.js} +2 -2
- package/dist/cdn/{MSAGS3RU.js → 2ZIEEWZM.js} +2 -2
- package/dist/cdn/{GPVKAG4C.js → 3EVL4T45.js} +2 -2
- package/dist/cdn/{R2MSIDPH.js → 3GNSS25V.js} +2 -2
- package/dist/cdn/{MZNCYU5F.js → 3J33WXHY.js} +2 -2
- package/dist/cdn/{HK4LMSCI.js → 3VKOIUB3.js} +2 -2
- package/dist/cdn/{OTV4TIHA.js → 3YMTKEK5.js} +1 -1
- package/dist/cdn/{5TJLMZD4.js → 45VAALBN.js} +2 -2
- package/dist/cdn/{HPD42QK2.js → 46KNGUML.js} +2 -2
- package/dist/cdn/{NPELRLAT.js → 472AWOX3.js} +1 -1
- package/dist/cdn/{OL6BCU24.js → 4J4NUK33.js} +2 -2
- package/dist/cdn/{LRUGHWTN.js → 4NUVQZAI.js} +1 -1
- package/dist/cdn/{MFK4TJVR.js → 4TE3RTYX.js} +2 -2
- package/dist/cdn/{ASMSD26H.js → 55EBYUZN.js} +2 -2
- package/dist/cdn/{SAVY6UWC.js → 5A7G5CA4.js} +2 -2
- package/dist/cdn/{WJF7O2KL.js → 5DFDVK6H.js} +2 -2
- package/dist/cdn/{GNLCPEV7.js → 5LMXTWC2.js} +2 -2
- package/dist/cdn/{MJ7WUNVY.js → 5S33W4IV.js} +2 -2
- package/dist/cdn/{73MN3UQT.js → 5T6A2NT3.js} +2 -2
- package/dist/cdn/{FINGXX6A.js → 64FZOXAN.js} +2 -2
- package/dist/cdn/{R4TKAAQV.js → 6BYYEA3R.js} +2 -2
- package/dist/cdn/{PC7NVT5O.js → 6DT74H27.js} +2 -2
- package/dist/cdn/{2VNIKRUP.js → 6FUII4JI.js} +2 -2
- package/dist/cdn/{5Y5ORVLB.js → 6KYFPVWD.js} +1 -1
- package/dist/cdn/{O34SMVFC.js → 6M5LLBFV.js} +2 -2
- package/dist/cdn/{6OHWZOS5.js → 6XR6SHED.js} +2 -2
- package/dist/cdn/6Z5XKLIH.js +4 -0
- package/dist/cdn/{XANWM4XJ.js → 6ZIUZPW6.js} +2 -2
- package/dist/cdn/{IAZYT5SM.js → 73DTRGE3.js} +2 -2
- package/dist/cdn/{LMGSYVDG.js → 77VHGJGG.js} +1 -1
- package/dist/cdn/{Z25W4Z6L.js → 7BQXCVHW.js} +2 -2
- package/dist/cdn/{C7F3GRAL.js → 7CR6HYTL.js} +2 -2
- package/dist/cdn/{624IUPMH.js → 7D7PABFH.js} +2 -2
- package/dist/cdn/{DKFDVAPB.js → 7LTABIRE.js} +2 -2
- package/dist/cdn/{6EHPMLHH.js → 7NWNTAMW.js} +2 -2
- package/dist/cdn/{JL5VELML.js → 7P23QXUP.js} +2 -2
- package/dist/cdn/{4M4MXT54.js → 7PDUKDDV.js} +2 -2
- package/dist/cdn/{X472G43W.js → 7TZWE6K3.js} +2 -2
- package/dist/cdn/{FX4JCXT3.js → A5KMT3LM.js} +2 -2
- package/dist/cdn/{UCOGDUDQ.js → AAQNZMHM.js} +2 -2
- package/dist/cdn/{S7HDN545.js → AFD4RBBU.js} +2 -2
- package/dist/cdn/{XJHNY525.js → AOPVDS2B.js} +2 -2
- package/dist/cdn/{HBZ4X7UP.js → AX3FGYBT.js} +2 -2
- package/dist/cdn/{HSDQUCF6.js → BD737FGF.js} +2 -2
- package/dist/cdn/{K4F6G4OQ.js → BEBIPBJB.js} +1 -1
- package/dist/cdn/{FMBJIOBG.js → BGVLMLWE.js} +2 -2
- package/dist/cdn/{VSFHEXKM.js → BMXZA6UO.js} +2 -2
- package/dist/cdn/{QQFRILT6.js → BOKYBROP.js} +2 -2
- package/dist/cdn/{YDQ3OJQO.js → BV76MPA5.js} +1 -1
- package/dist/cdn/{BLRHWO52.js → BVIFPMNY.js} +2 -2
- package/dist/cdn/{A7QSMG5S.js → C34H6SGK.js} +1 -1
- package/dist/cdn/{U4AOWHPN.js → C3P3IFUU.js} +2 -2
- package/dist/cdn/{FJZZPZAP.js → C556IKNJ.js} +1 -1
- package/dist/cdn/{WTHR4PDS.js → CBQHTAYP.js} +2 -2
- package/dist/cdn/{7HKKUGXJ.js → CCBFE5GN.js} +2 -2
- package/dist/cdn/{BJMWCYCG.js → CCKIOTSJ.js} +1 -1
- package/dist/cdn/{JHW7VZTV.js → CH5PRHPR.js} +2 -2
- package/dist/cdn/{4AKAPNSY.js → CMOLOAHQ.js} +2 -2
- package/dist/cdn/{5HIKUFVB.js → CPBYDRAF.js} +2 -2
- package/dist/cdn/{H3YXFKQG.js → CQFA3WBO.js} +2 -2
- package/dist/cdn/{WFQNYZM4.js → CTUHVTSA.js} +2 -2
- package/dist/cdn/{RUZUM5JL.js → CXJ53YNZ.js} +2 -2
- package/dist/cdn/CZCNKDL6.js +4 -0
- package/dist/cdn/{ASAQWYLX.js → D6EOKX53.js} +2 -2
- package/dist/cdn/{NO2SL2YF.js → DA5DY7HY.js} +1 -1
- package/dist/cdn/{HUJDORKB.js → DIYKH756.js} +2 -2
- package/dist/cdn/{SITUZTCB.js → DP5KDHDS.js} +1 -1
- package/dist/cdn/{SUYA6BJE.js → DRGQGDS6.js} +2 -2
- package/dist/cdn/{23QD6NT3.js → DTXY6OOO.js} +2 -2
- package/dist/cdn/{B7LQMG3R.js → DV3SVW2J.js} +2 -2
- package/dist/cdn/DVMPKT5N.js +4 -0
- package/dist/cdn/{T6ENDM5I.js → DZSY5JZN.js} +2 -2
- package/dist/cdn/{DXVTCY4M.js → EDTDPGLP.js} +2 -2
- package/dist/cdn/{65WW5KKH.js → EJS4EUMP.js} +2 -2
- package/dist/cdn/{YUXVO62S.js → EK4MS2HQ.js} +2 -2
- package/dist/cdn/{76ZVHQZN.js → EL4X5ULJ.js} +2 -2
- package/dist/cdn/{KPU6AFJN.js → EMCOKOZ5.js} +2 -2
- package/dist/cdn/{5TRKAS2N.js → ES6XKTKK.js} +1 -1
- package/dist/cdn/{77XUB3YE.js → EUKMNMGH.js} +2 -2
- package/dist/cdn/{LCUHKJMS.js → EXXZSWW2.js} +2 -2
- package/dist/cdn/{MPJ2AA4Y.js → F3IRPQCO.js} +2 -2
- package/dist/cdn/{IY4EENZ5.js → F45IOLFK.js} +2 -2
- package/dist/cdn/{UTUTEFAQ.js → F56VXVXX.js} +2 -2
- package/dist/cdn/{OKMLPIEO.js → F7SKZ7TX.js} +2 -2
- package/dist/cdn/{PYTYKQXT.js → FAND47WD.js} +2 -2
- package/dist/cdn/{AWWFUP7R.js → FDZTWT7F.js} +2 -2
- package/dist/cdn/{Z3VO6XU3.js → FHVWZYRK.js} +2 -2
- package/dist/cdn/{LQRMHTGZ.js → FNI2QU5Z.js} +2 -2
- package/dist/cdn/{C6W5EVRT.js → FPPXUL5B.js} +2 -2
- package/dist/cdn/{7RRAT3I3.js → FZXH5UDA.js} +2 -2
- package/dist/cdn/{RFBPGTLV.js → GDZS5JMN.js} +2 -2
- package/dist/cdn/{OGSX3AIB.js → GE3L6RLR.js} +2 -2
- package/dist/cdn/GH3PRS32.js +18 -0
- package/dist/cdn/{UF7C45QH.js → GJKEPLSZ.js} +1 -1
- package/dist/cdn/{UVD3URNY.js → GJWN4WP3.js} +2 -2
- package/dist/cdn/{2EOEAV5E.js → GMHH44W3.js} +2 -2
- package/dist/cdn/{OOIVSIXL.js → GUTIVTWX.js} +2 -2
- package/dist/cdn/{NKOVTFUU.js → GV3IWFPF.js} +1 -1
- package/dist/cdn/{AAZLISVR.js → GWV77TVF.js} +2 -2
- package/dist/cdn/{UMIMUVFB.js → GXKAH7DD.js} +2 -2
- package/dist/cdn/{OY2EULMD.js → GZU2CPZN.js} +1 -1
- package/dist/cdn/{CRVOSDOH.js → H3O4ORNM.js} +2 -2
- package/dist/cdn/{ACD5DGKO.js → H77B36RA.js} +2 -2
- package/dist/cdn/{TGF4D4AP.js → HAQYF5US.js} +2 -2
- package/dist/cdn/{SM4ERQVS.js → HCVBMJG5.js} +2 -2
- package/dist/cdn/{D64CJOFO.js → HITNOOU3.js} +2 -2
- package/dist/cdn/{3CHLZWTV.js → HMGYITJ2.js} +2 -2
- package/dist/cdn/{RUXEHYBS.js → HQ4JF5OI.js} +2 -2
- package/dist/cdn/{NIVL5UGT.js → HQW4WYSH.js} +2 -2
- package/dist/cdn/{JDPFMWSP.js → HTW2BPA3.js} +2 -2
- package/dist/cdn/{MJ7SNROO.js → HYIN2EAD.js} +2 -2
- package/dist/cdn/{OFMVTSKF.js → I5QBLE4N.js} +2 -2
- package/dist/cdn/{FBFPEXXQ.js → I5SZYEIS.js} +2 -2
- package/dist/cdn/{ZKOIDQFC.js → I5VSPGGJ.js} +2 -2
- package/dist/cdn/{LI5GC7CN.js → I5YXI6G2.js} +2 -2
- package/dist/cdn/{W3LLXNL3.js → IDBD7LSX.js} +1 -1
- package/dist/cdn/{QSOWUBRL.js → IDRORHF7.js} +2 -2
- package/dist/cdn/{X7YNYBQ7.js → ILUBVWJF.js} +1 -1
- package/dist/cdn/{6PMWYOH6.js → IRHPLBFA.js} +2 -2
- package/dist/cdn/{NFHEIYMD.js → J3RU5GJE.js} +2 -2
- package/dist/cdn/{XQTZGROY.js → JAG5YFJB.js} +2 -2
- package/dist/cdn/{G6RPSMZU.js → JFKJRB56.js} +2 -2
- package/dist/cdn/{VNKBLONB.js → JI5ZRG7H.js} +2 -2
- package/dist/cdn/{CNE6Q3HD.js → JKNNOYXC.js} +2 -2
- package/dist/cdn/{B6D7BVKN.js → JM6ORLVQ.js} +2 -2
- package/dist/cdn/{LCP3BY3N.js → JN5YR3C5.js} +2 -2
- package/dist/cdn/{RZ64SXIZ.js → JQEVQ7FX.js} +2 -2
- package/dist/cdn/{PQF5AGW3.js → JSIYTPMP.js} +2 -2
- package/dist/cdn/{66KXCMW2.js → JTDXHRQI.js} +2 -2
- package/dist/cdn/{XXHTK6SD.js → K7LCWOS7.js} +2 -2
- package/dist/cdn/{GVMSMEI4.js → KCN6JCXH.js} +2 -2
- package/dist/cdn/{NGOP7PKK.js → KK5SXYNF.js} +2 -2
- package/dist/cdn/{2XITJCRB.js → KLKHZZWM.js} +2 -2
- package/dist/cdn/{HF75TXAE.js → KQCFHFAG.js} +2 -2
- package/dist/cdn/{LXA33IHT.js → KXIA4444.js} +2 -2
- package/dist/cdn/L2QQ7XWU.js +4 -0
- package/dist/cdn/{YWKKYK5K.js → L4KM5BWJ.js} +2 -2
- package/dist/cdn/{FOARVMCU.js → LATOYW5P.js} +1 -1
- package/dist/cdn/{GHOZRGNX.js → LSMRI35A.js} +2 -2
- package/dist/cdn/{4UN2BYLH.js → LWP7WX74.js} +1 -1
- package/dist/cdn/{G6J2G3OU.js → M6XUGB2Z.js} +2 -2
- package/dist/cdn/{N4SJLKUB.js → MCM7XWTF.js} +2 -2
- package/dist/cdn/{H46M3Z3P.js → MDHH56JU.js} +2 -2
- package/dist/cdn/{6Y2HFRCC.js → MHOAA6P3.js} +2 -2
- package/dist/cdn/{H22ZUYLG.js → MKROWF52.js} +2 -2
- package/dist/cdn/{57KRALMV.js → MLZ4RTHG.js} +2 -2
- package/dist/cdn/{A3472HMO.js → MNA6JCMZ.js} +2 -2
- package/dist/cdn/{UJIWOKHV.js → MVQ6IP26.js} +2 -2
- package/dist/cdn/{R7RG6ML5.js → MWA7BHLK.js} +2 -2
- package/dist/cdn/{623GWCXD.js → MYGSYGYU.js} +2 -2
- package/dist/cdn/{TJYWSXAE.js → N33BUUYD.js} +2 -2
- package/dist/cdn/N3A5PMYA.js +4 -0
- package/dist/cdn/{AOWCHDDD.js → NBHU4HTV.js} +2 -2
- package/dist/cdn/{VVKUWUHS.js → NEMP2EEG.js} +2 -2
- package/dist/cdn/{ZK3VF62M.js → NIXMWDPM.js} +1 -1
- package/dist/cdn/{CVY3C2IL.js → NLJSCFKM.js} +2 -2
- package/dist/cdn/{MTI5LVZW.js → NNQEWRZP.js} +2 -2
- package/dist/cdn/{RM2TEOMI.js → NNRPVDMT.js} +2 -2
- package/dist/cdn/{STR7L3II.js → NS4YKFI7.js} +1 -1
- package/dist/cdn/{BHDI3U4H.js → NTASDALK.js} +2 -2
- package/dist/cdn/{H6V2DNZK.js → NTHWDWQ4.js} +2 -2
- package/dist/cdn/{OLE4GCSZ.js → NUFMCKHA.js} +2 -2
- package/dist/cdn/{PQ6UKR2D.js → O2HIRP5H.js} +2 -2
- package/dist/cdn/{6B752FN2.js → O5IG7QMW.js} +2 -2
- package/dist/cdn/{H5ZIHIO2.js → O5STABPN.js} +2 -2
- package/dist/cdn/{ADKZI66G.js → OF5XRF7X.js} +2 -2
- package/dist/cdn/{NUCJR6CY.js → ON477UD5.js} +2 -2
- package/dist/cdn/{COHNJZCA.js → OONRY2LS.js} +2 -2
- package/dist/cdn/{WVOYVMPB.js → OPHPZAWR.js} +2 -2
- package/dist/cdn/{DFVGHMS4.js → OPPO4362.js} +2 -2
- package/dist/cdn/{W77AHKSW.js → ORPALJYI.js} +2 -2
- package/dist/cdn/{ULUZHD23.js → OSW5BFUP.js} +2 -2
- package/dist/cdn/{DPCZKJNP.js → OVK3TD4M.js} +2 -2
- package/dist/cdn/{FVYY2V6T.js → OWDWZHMV.js} +2 -2
- package/dist/cdn/{DMOHDVMJ.js → P4QZUNYY.js} +2 -2
- package/dist/cdn/{43ULSAMW.js → P5R5UYXR.js} +2 -2
- package/dist/cdn/{5AXS3KFI.js → P6B7MWVF.js} +2 -2
- package/dist/cdn/{4FC3X2PR.js → PDWNCQED.js} +2 -2
- package/dist/cdn/{SFZSSATF.js → PHA5TYOC.js} +1 -1
- package/dist/cdn/{2Z3TWB2K.js → PND2W5YW.js} +2 -2
- package/dist/cdn/PRILEYGG.js +4 -0
- package/dist/cdn/{Y6GOEXCP.js → QCU33RPV.js} +1 -1
- package/dist/cdn/{JSUMCSCE.js → QEWSNHU7.js} +2 -2
- package/dist/cdn/{MSC6SQKC.js → QF5QELVM.js} +2 -2
- package/dist/cdn/{VQNKIJYJ.js → QMT7LNSC.js} +2 -2
- package/dist/cdn/{SWLTPJE7.js → QSCPIFBP.js} +2 -2
- package/dist/cdn/{JRD5PLWA.js → QU3EEVJP.js} +2 -2
- package/dist/cdn/{474ZEOFB.js → QUVQBXCE.js} +1 -1
- package/dist/cdn/{IWEV46QA.js → R7OODGTN.js} +2 -2
- package/dist/cdn/{X5I4YW2D.js → RC47QK6Z.js} +2 -2
- package/dist/cdn/{FT36ADUC.js → RCFE6H7G.js} +2 -2
- package/dist/cdn/{BTLOBHUI.js → RHQK4LTS.js} +2 -2
- package/dist/cdn/{MPF442O4.js → RRKWVYF6.js} +2 -2
- package/dist/cdn/{XS2PGUTI.js → RSMTUN7I.js} +2 -2
- package/dist/cdn/{VUE2KPGT.js → RTFLMETG.js} +1 -1
- package/dist/cdn/{UU5CNOQW.js → RVQUWOMM.js} +1 -1
- package/dist/cdn/{5S33JONB.js → RWFMDK27.js} +2 -2
- package/dist/cdn/{UPY2LA6F.js → RX6Y3JHB.js} +2 -2
- package/dist/cdn/{UFB3TUWD.js → RY37AQKX.js} +2 -2
- package/dist/cdn/{OK6EFAL5.js → SAQTFWRS.js} +2 -2
- package/dist/cdn/{LZS774B3.js → SGGIVA63.js} +1 -1
- package/dist/cdn/{UMQ6LGJX.js → SGUBT5JB.js} +2 -2
- package/dist/cdn/{FLMBYBSQ.js → SLLAIEW4.js} +2 -2
- package/dist/cdn/{D3CEKY4I.js → T2TH26PQ.js} +2 -2
- package/dist/cdn/{5S2LGZK4.js → T4BAASGD.js} +2 -2
- package/dist/cdn/{NQHY7XX2.js → TIPFSDZA.js} +2 -2
- package/dist/cdn/{PNYGXVOF.js → TP3QX5HT.js} +2 -2
- package/dist/cdn/{CDW32ZV2.js → TQM2UAMN.js} +2 -2
- package/dist/cdn/{USLNR5GM.js → TTJLCKXQ.js} +2 -2
- package/dist/cdn/{MHWXPIZF.js → TWSV65O2.js} +2 -2
- package/dist/cdn/{WB3MRH4D.js → U5GNKKAT.js} +2 -2
- package/dist/cdn/{GIZRBHCR.js → UCRJGUPR.js} +2 -2
- package/dist/cdn/{CIR5U4D6.js → UE3MOFNO.js} +2 -2
- package/dist/cdn/{C5O32W6W.js → UFW2PO2K.js} +2 -2
- package/dist/cdn/{2WTCHQJH.js → UQ6BMBWB.js} +2 -2
- package/dist/cdn/{36LI3UQA.js → USUJ3LC6.js} +2 -2
- package/dist/cdn/UWFHS56N.js +18 -0
- package/dist/cdn/{QUXU6A5O.js → UWYX3KLQ.js} +2 -2
- package/dist/cdn/{YGOJWFRE.js → UY5WXQ65.js} +1 -1
- package/dist/cdn/{IOFFIYTL.js → UZ7Z2JVT.js} +1 -1
- package/dist/cdn/{S76CATML.js → UZC6O522.js} +2 -2
- package/dist/cdn/{GWZJKQMN.js → V2CTNIEN.js} +2 -2
- package/dist/cdn/{PLZQ55P6.js → V3NJ7RMG.js} +1 -1
- package/dist/cdn/{QWW5LVKF.js → VE4I5REF.js} +1 -1
- package/dist/cdn/{6TLILFC7.js → VF44ZDU6.js} +2 -2
- package/dist/cdn/{N6WVCUYZ.js → VFHITJHF.js} +2 -2
- package/dist/cdn/{H46O6YAN.js → VGOCUCWJ.js} +2 -2
- package/dist/cdn/{O7VNTXYR.js → VHCT5ETZ.js} +1 -1
- package/dist/cdn/{G2RF3XGL.js → VIJEHZLK.js} +2 -2
- package/dist/cdn/{NOSOENXA.js → VKCASX3G.js} +2 -2
- package/dist/cdn/{VVBT7KBI.js → VLHN4DFG.js} +2 -2
- package/dist/cdn/{JQ5YNHDK.js → VMWRKCHU.js} +2 -2
- package/dist/cdn/{QHCRENJA.js → VN7EOIEM.js} +2 -2
- package/dist/cdn/{RVP3IPFW.js → VPRU3HQD.js} +2 -2
- package/dist/cdn/{RJMRH5EB.js → VVQFUKSX.js} +2 -2
- package/dist/cdn/{RU4LFZ43.js → VZJ4LWYJ.js} +2 -2
- package/dist/cdn/{B5VH5463.js → W6GET7ZB.js} +2 -2
- package/dist/cdn/{YEZ45MYI.js → W6QIPNCT.js} +2 -2
- package/dist/cdn/{JDBE77NZ.js → WAQJ4IC3.js} +2 -2
- package/dist/cdn/{QKSO2DZS.js → WBJLCNZG.js} +2 -2
- package/dist/cdn/{DPQI6KC3.js → WO34BPRA.js} +2 -2
- package/dist/cdn/{FIZQWFHG.js → WQSGEAXH.js} +2 -2
- package/dist/cdn/{V3UMFOSY.js → WS4WNRNQ.js} +2 -2
- package/dist/cdn/{VI4S4LJS.js → WSDY2CHI.js} +1 -1
- package/dist/cdn/{5LO4GJR2.js → WSUH3PG3.js} +2 -2
- package/dist/cdn/{RTSDGCAZ.js → X6MD346Y.js} +2 -2
- package/dist/cdn/{YHPDJ5FN.js → XCCD5RBC.js} +2 -2
- package/dist/cdn/{GAJRZJ5F.js → XHQDXY4H.js} +2 -2
- package/dist/cdn/{B6UMTBML.js → XLMYFJTK.js} +2 -2
- package/dist/cdn/{7MSPLAAS.js → XVDOUKNJ.js} +1 -1
- package/dist/cdn/{Q2NP2O3M.js → XZBB2UEX.js} +1 -1
- package/dist/cdn/{2BKGC3GR.js → XZEDAG2T.js} +2 -2
- package/dist/cdn/{4WQSWJOC.js → Y52LUZET.js} +4 -4
- package/dist/cdn/{INHTUKGG.js → YB3XRPJ5.js} +2 -2
- package/dist/cdn/{ZBE4V2ZL.js → YF65GC7S.js} +2 -2
- package/dist/cdn/{WG6YT6NR.js → YMHHSIXK.js} +2 -2
- package/dist/cdn/{PUL6DFZP.js → YO2OX52L.js} +2 -2
- package/dist/cdn/{5ZNOFKZT.js → YR5E3HFV.js} +2 -2
- package/dist/cdn/{IFQJHKJ3.js → YUAPYYIK.js} +2 -2
- package/dist/cdn/{GULDKM5K.js → YUQ2VNA6.js} +2 -2
- package/dist/cdn/{EDGMFTA5.js → YY23O533.js} +1 -1
- package/dist/cdn/{DTFCT5IZ.js → Z3QNUQDB.js} +2 -2
- package/dist/cdn/{6WM4LAYI.js → Z42LHLHR.js} +1 -1
- package/dist/cdn/{TDAFNKRF.js → ZFWMGQUB.js} +2 -2
- package/dist/cdn/{XUI76RRO.js → ZKX2RDI2.js} +2 -2
- package/dist/cdn/{TNKUKSQO.js → ZXPEMYN2.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.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/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-solutions-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/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +3 -3
- 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.d.ts +0 -5
- package/dist/components/map-layer-picker/customElement.js +5 -5
- 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/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-panel/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-panel/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-panel/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/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-items-diagram/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-snapshot-gallery/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/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/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 -18
- package/dist/docs/docs.json +1 -23
- package/dist/docs/web-types.json +1 -6
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cdn/2NWAL23W.js +0 -4
- package/dist/cdn/4MBXYMTN.js +0 -18
- package/dist/cdn/7DEB6EKJ.js +0 -4
- package/dist/cdn/BWUWGBTF.js +0 -4
- package/dist/cdn/DI3ZJNYG.js +0 -4
- package/dist/cdn/H3WID2XT.js +0 -18
- package/dist/cdn/KVNQHEXQ.js +0 -4
- package/dist/cdn/S3DJ42LQ.js +0 -4
- package/dist/cdn/SOCFGEQX.js +0 -4
- package/dist/cdn/XJJZC34E.js +0 -4
@@ -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.20250530 */
|
3
|
+
v1.0.0-next.20250530.1 */
|
4
4
|
function L(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(r);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(r,n[o])&&(t[n[o]]=r[n[o]]);return t}function C(r){return Object.keys(r).some(e=>{let t=r[e];if(!t)return!1;switch(t&&t.toParam&&(t=t.toParam()),t.constructor.name){case"Array":return!1;case"Object":return!1;case"Date":return!1;case"Function":return!1;case"Boolean":return!1;case"String":return!1;case"Number":return!1;default:return!0}})}function N(r){let e={};return Object.keys(r).forEach(t=>{var n,o;let s=r[t];if(s&&s.toParam&&(s=s.toParam()),!s&&s!==0&&typeof s!="boolean"&&typeof s!="string")return;let i=s.constructor.name,a;switch(i){case"Array":let u=(o=(n=s[0])===null||n===void 0?void 0:n.constructor)===null||o===void 0?void 0:o.name;a=u==="Array"?s:u==="Object"?JSON.stringify(s):s.join(",");break;case"Object":a=JSON.stringify(s);break;case"Date":a=s.valueOf();break;case"Function":a=null;break;case"Boolean":a=s+"";break;default:a=s;break}(a||a===0||typeof a=="string"||Array.isArray(a))&&(e[t]=a)}),e}function J(r,e){return Array.isArray(e)&&e[0]&&Array.isArray(e[0])?e.map(t=>J(r,t)).join("&"):encodeURIComponent(r)+"="+encodeURIComponent(e)}function O(r){let e=N(r);return Object.keys(e).map(t=>J(t,e[t])).join("&")}var K=globalThis.FormData,me=globalThis.File,ge=globalThis.Blob;function W(r,e){let t=C(r)||e,n=N(r);if(t){let o=new K;return Object.keys(n).forEach(s=>{if(typeof Blob<"u"&&n[s]instanceof Blob){let i=n.fileName||n[s].name||s;o.append(s,n[s],i)}else o.append(s,n[s])}),o}else return O(r)}var b=class extends Error{constructor(e,t,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),e=e||"UNKNOWN_ERROR",t=t||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=t==="UNKNOWN_ERROR_CODE"?e:`${t}: ${e}`,this.originalMessage=e,this.code=t,this.response=n,this.url=o,this.options=s}};function V(r){console&&console.warn&&console.warn.apply(console,[r])}function Q(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}var q="@esri/arcgis-rest-js";function ie(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var R=class extends b{constructor(e="AUTHENTICATION_ERROR",t="AUTHENTICATION_ERROR_CODE",n,o,s){super(e,t,n,o,s),this.name="ArcGISAuthError",this.message=t==="AUTHENTICATION_ERROR_CODE"?e:`${t}: ${e}`;let i=new.target.prototype;Object.setPrototypeOf(this,i)}retry(e,t=1){let n=0,o=(s,i)=>{n=n+1,e(this.url,this.options).then(a=>{let u=Object.assign(Object.assign({},this.options),{authentication:a});return X(this.url,u)}).then(a=>{s(a)}).catch(a=>{a.name==="ArcGISAuthError"&&n<t?o(s,i):a.name===this.name&&a.message===this.message&&n>=t?i(this):i(a)})};return new Promise((s,i)=>{o(s,i)})}};function ae(r,e,t,n,o){if(r.code>=400){let{message:s,code:i}=r;throw new b(s,i,r,e,n)}if(r.error){let{message:s,code:i,messageCode:a}=r.error,u=a||i||"UNKNOWN_ERROR_CODE";throw i===498||i===499?o||new R(s,u,r,e,n):new b(s,u,r,e,n)}if(r.status==="failed"||r.status==="failure"){let s,i="UNKNOWN_ERROR_CODE";try{s=JSON.parse(r.statusMessage).message,i=JSON.parse(r.statusMessage).code}catch{s=r.statusMessage||r.message}throw new b(s,i,r,e,n)}return r}function X(r,e){let t=ie(),n=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},t),e),{params:Object.assign(Object.assign({},t.params),e.params),headers:Object.assign(Object.assign({},t.headers),e.headers)}),{httpMethod:o,rawResponse:s}=n,i=Object.assign({f:"json"},n.params),a=null,u={method:o,signal:n.signal,credentials:n.credentials||"same-origin"};n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&r.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let g;if(typeof n.authentication=="string"){let c=n.authentication;g={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(c)},!n.authentication.startsWith("AAPK")&&!n.authentication.startsWith("AATK")&&!n.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&(V("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."),globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING=!0)}else g=n.authentication;let d=r;return(g?g.getToken(r).catch(c=>(c.url=r,c.options=n,a=c,Promise.resolve(""))):Promise.resolve("")).then(c=>{c.length&&(i.token=c),g&&g.getDomainCredentials&&(u.credentials=g.getDomainCredentials(r));let h={};if(u.method==="GET"){i.token&&n.hideToken&&typeof window>"u"&&(h["X-Esri-Authorization"]=`Bearer ${i.token}`,delete i.token);let f=O(i)===""?r:r+"?"+O(i);n.maxUrlLength&&f.length>n.maxUrlLength||!n.maxUrlLength&&f.length>2e3||i.token&&n.hideToken?(u.method="POST",c.length&&n.hideToken&&(i.token=c,delete h["X-Esri-Authorization"])):r=f}let E=new RegExp("/items/.+/updateResources").test(r);return u.method==="POST"&&(u.body=W(i,E)),u.headers=Object.assign(Object.assign({},h),n.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!u.headers.referer&&(u.headers.referer=q),!C(i)&&!E&&(u.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(r,u):Q().then(({fetch:l})=>l(r,u))}).then(c=>{if(!c.ok)return c.json().then(h=>{let{status:E,statusText:l}=c,{message:f,details:T}=h.error,w=`${f}. ${T?T.join(" "):""}`.trim();throw new b(w,`HTTP ${E} ${l}`,h,r,n)}).catch(h=>{if(h.name==="ArcGISRequestError")throw h;let{status:E,statusText:l}=c;throw new b(l,`HTTP ${E}`,c,r,n)});if(s)return c;switch(i.f){case"json":return c.json();case"geojson":return c.json();case"html":return c.text();case"text":return c.text();default:return c.blob()}}).then(c=>{if((i.f==="json"||i.f==="geojson")&&!s){let h=ae(c,d,i,n,a);if(a){let E=r.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];n.authentication.federatedServers[E]={token:[],expires:new Date(Date.now()+86400*1e3)},a=null}return h}else return c})}function p(r,e={params:{f:"json"}}){let{request:t}=e,n=L(e,["request"]);return t?t(r,n):X(r,n).catch(o=>o instanceof R&&e.authentication&&typeof e.authentication!="string"&&e.authentication.canRefresh&&e.authentication.refreshCredentials?o.retry(()=>e.authentication.refreshCredentials(),1):Promise.reject(o))}function ce(r){let[e,t]=r.split("=");return{key:decodeURIComponent(e),value:decodeURIComponent(t)}}function Y(r){return!r||r.length<=0?{}:r.replace(/^#/,"").replace(/^\?/,"").split("&").reduce((e,t)=>{let{key:n,value:o}=ce(t);return e[n]=o,e},{})}var B=5*60*1e3;function v(r,e){let t=e;return t.rawResponse=!1,p(r,t).then(n=>{if("token"in n&&"expires"in n)return{token:n.token,username:e.params.username,expires:new Date(n.expires)};let o={token:n.access_token,username:n.username,expires:new Date(Date.now()+n.expires_in*1e3-B),ssl:n.ssl===!0};return n.refresh_token&&(o.refreshToken=n.refresh_token),n.refresh_token_expires_in&&(o.refreshTokenExpires=new Date(Date.now()+n.refresh_token_expires_in*1e3-B)),o})}function m(r){return typeof r!="string"||(r=r.trim(),r[r.length-1]==="/"&&(r=r.slice(0,-1))),r}var F=/^https?:\/\/(\S+)\.arcgis\.com.+/;function Z(r){return F.test(r)}function ue(r){if(!F.test(r))return r;switch(G(r)){case"dev":return"https://devext.arcgis.com/sharing/rest";case"qa":return"https://qaext.arcgis.com/sharing/rest";default:return"https://www.arcgis.com/sharing/rest"}}function G(r){if(!F.test(r))return null;let t=r.match(F)[1].split(".").pop();return t.includes("dev")?"dev":t.includes("qa")?"qa":"production"}function ee(r,e){let t=m(ue(e)).replace(/https?:\/\//,""),n=m(r).replace(/https?:\/\//,"");return new RegExp(n,"i").test(t)}function te(r,e){let t=Z(r),n=Z(e),o=G(r),s=G(e);return!!(t&&n&&o===s)}function re(r,e,t="https://www.arcgis.com/sharing/rest"){let n=`${t}/oauth2/validateAppAccess`;return p(n,{method:"POST",params:{f:"json",client_id:e,token:r}})}function Ge(r,e,t){let n=["params","httpMethod","rawResponse","authentication","hideToken","portal","credentials","maxUrlLength","headers","signal","suppressWarnings","request"],o=Object.assign(Object.assign({params:{}},t),r);return o.params=e.reduce((s,i)=>((r[i]||typeof r[i]=="boolean"||typeof r[i]=="number"&&r[i]===0)&&(s[i]=r[i]),s),o.params),n.reduce((s,i)=>(o[i]&&(s[i]=o[i]),s),{})}var x;(function(r){r.TOKEN_REFRESH_FAILED="TOKEN_REFRESH_FAILED",r.GENERATE_TOKEN_FOR_SERVER_FAILED="GENERATE_TOKEN_FOR_SERVER_FAILED",r.REFRESH_TOKEN_EXCHANGE_FAILED="REFRESH_TOKEN_EXCHANGE_FAILED",r.NOT_FEDERATED="NOT_FEDERATED",r.UNKNOWN_ERROR_CODE="UNKNOWN_ERROR_CODE"})(x||(x={}));var y=class extends Error{constructor(e="UNKNOWN_ERROR",t=x.UNKNOWN_ERROR_CODE,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),this.name="ArcGISTokenRequestError",this.message=`${t}: ${e}`,this.originalMessage=e,this.code=t,this.response=n,this.url=o,this.options=s}};var D=class extends Error{constructor(){super("The user has denied your authorization request.");let t=new.target.prototype;Object.setPrototypeOf(this,t),this.name="ArcGISAccessDeniedError"}};var ne;(function(r){r.ArcGISRequestError="ArcGISRequestError",r.ArcGISAuthError="ArcGISAuthError",r.ArcGISAccessDeniedError="ArcGISAccessDeniedError",r.ArcGISTokenRequestError="ArcGISTokenRequestError"})(ne||(ne={}));var A=class{constructor(e){this.portal=e.portal?m(e.portal):"https://www.arcgis.com/sharing/rest",this._username=e.username}get username(){if(this._username)return this._username;if(this._user&&this._user.username)return this._user.username}getUsername(){return this.username?Promise.resolve(this.username):this.getUser().then(e=>e.username)}getUser(e){if(this._pendingUserRequest)return this._pendingUserRequest;if(this._user)return Promise.resolve(this._user);{let t=`${this.portal}/community/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingUserRequest=p(t,n).then(o=>(this._user=o,this._pendingUserRequest=null,o)),this._pendingUserRequest}}clearCachedUserInfo(){this._user=null}};var H;(function(r){r.Success="Succeeded",r.Failed="Failed",r.Waiting="Waiting",r.Cancelled="Cancelled",r.Cancelling="Cancelling",r.New="New",r.Executing="Executing",r.Submitted="Submitted",r.Failure="Failure",r.TimedOut="TimedOut",r.Error="Error",r.Status="Etatus",r.Unknown="Unknown"})(H||(H={}));function oe(r){let e=`${m(r.portal||"https://www.arcgis.com/sharing/rest")}/oauth2/revokeToken/`,t=r.token,n=r.clientId;delete r.portal,delete r.clientId,delete r.token;let o=Object.assign(Object.assign({},r),{httpMethod:"POST",params:{client_id:n,auth_token:t}});return p(e,o).then(s=>{if(!s.success)throw new b("Unable to revoke token",500,s,e,o);return s})}function M(r,e=window){return!e&&window&&(e=window),e.btoa(String.fromCharCode.apply(null,r)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function se(r,e=window){if(!e&&window&&(e=window),r&&e.isSecureContext&&e.crypto&&e.crypto.subtle){let n=new e.TextEncoder().encode(r);return e.crypto.subtle.digest("SHA-256",n).then(o=>M(new Uint8Array(o),e))}return Promise.resolve(null)}function z(r){!r&&window&&(r=window);let e=r.crypto.getRandomValues(new Uint8Array(32));return M(e)}function le(r){return typeof r.userId=="string"||typeof r.expires=="number"}var k=class r extends A{constructor(e){if(super(e),this.clientId=e.clientId,this._refreshToken=e.refreshToken,this._refreshTokenExpires=e.refreshTokenExpires,this.password=e.password,this._token=e.token,this._tokenExpires=e.tokenExpires,this.portal=e.portal?m(e.portal):"https://www.arcgis.com/sharing/rest",this.ssl=e.ssl,this.provider=e.provider||"arcgis",this.tokenDuration=e.tokenDuration||20160,this.redirectUri=e.redirectUri,this.server=e.server,this.referer=e.referer,this.federatedServers={},this.trustedDomains=[],e.server){let t=this.getServerRootUrl(e.server);this.federatedServers[t]={token:e.token,expires:e.tokenExpires}}this._pendingTokenRequests={}}get token(){return this._token}get tokenExpires(){return this._tokenExpires}get refreshToken(){return this._refreshToken}get refreshTokenExpires(){return this._refreshTokenExpires}get canRefresh(){return!!(this.username&&this.password||this.clientId&&this.refreshToken&&this.redirectUri)}static beginOAuth2(e,t){!t&&window&&(t=window);let{portal:n,provider:o,clientId:s,expiration:i,redirectUri:a,popup:u,popupWindowFeatures:g,locale:d,params:c,style:h,pkce:E,state:l}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",provider:"arcgis",expiration:20160,popup:!0,popupWindowFeatures:"height=400,width=600,menubar=no,location=yes,resizable=yes,scrollbars=yes,status=yes",locale:"",style:"",pkce:!0},e),f=l||z(t),T=`ARCGIS_REST_JS_AUTH_STATE_${s}`;t.localStorage.setItem(T,f);let w=`${m(n)}/oauth2/authorize`,I={client_id:s,response_type:E?"code":"token",expiration:i,redirect_uri:a,state:JSON.stringify({id:f,originalUrl:t.location.href}),locale:d,style:h};o!=="arcgis"&&(w=`${m(n)}/oauth2/social/authorize`,I.socialLoginProviderName=o,I.autoAccountCreateForSocial=!0);let $;if(E){let P=z(t),U=`ARCGIS_REST_JS_CODE_VERIFIER_${s}`;t.localStorage.setItem(U,P),$=se(P,t).then(function(_){I.code_challenge_method=_?"S256":"plain",I.code_challenge=_||P})}else $=Promise.resolve();return $.then(()=>{if(w=`${w}?${O(I)}`,c&&(w=`${w}&${O(c)}`),u)return new Promise((P,U)=>{t.addEventListener(`arcgis-rest-js-popup-auth-${s}`,_=>{if(_.detail.error==="access_denied"){let j=new D;return U(j),j}if(_.detail.errorMessage){let j=new R(_.detail.errorMessage,_.detail.error);return U(j),j}P(new r({clientId:s,portal:n,ssl:_.detail.ssl,token:_.detail.token,tokenExpires:_.detail.expires,username:_.detail.username,refreshToken:_.detail.refreshToken,refreshTokenExpires:_.detail.refreshTokenExpires,redirectUri:a}))},{once:!0}),t.open(w,"oauth-window",g),t.dispatchEvent(new CustomEvent("arcgis-rest-js-popup-auth-start"))});t.location.href=w})}static completeOAuth2(e,t){!t&&window&&(t=window);let{portal:n,clientId:o,popup:s,pkce:i,redirectUri:a}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",popup:!0,pkce:!0},e),u=`ARCGIS_REST_JS_AUTH_STATE_${o}`,g=t.localStorage.getItem(u),d=Y(i?t.location.search.replace(/^\?/,""):t.location.hash.replace(/^#/,"")),c=d&&d.state?JSON.parse(d.state):void 0;function h(l,f,T){if(t.localStorage.removeItem(u),s&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:{error:f,errorMessage:l}})),t.close();return}return T&&t.history.replaceState(t.history.state,"",T),f==="access_denied"?Promise.reject(new D):Promise.reject(new R(l,f))}function E(l,f){if(t.localStorage.removeItem(u),s&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:Object.assign({},l)})),t.close();return}return t.history.replaceState(t.history.state,"",f),new r({clientId:o,portal:n,ssl:l.ssl,token:l.token,tokenExpires:l.expires,username:l.username,refreshToken:l.refreshToken,refreshTokenExpires:l.refreshTokenExpires,redirectUri:a||location.href.replace(location.search,"")})}if(!g||!c)return h("No authentication state was found, call `ArcGISIdentityManager.beginOAuth2(...)` to start the authentication process.","no-auth-state");if(c.id!==g)return h("Saved client state did not match server sent state.","mismatched-auth-state");if(d.error){let l=d.error,f=d.error_description||"Unknown error";return h(f,l,c.originalUrl)}if(i&&d.code){let l=m(`${n}/oauth2/token/`),f=`ARCGIS_REST_JS_CODE_VERIFIER_${o}`,T=t.localStorage.getItem(f);return t.localStorage.removeItem(f),v(l,{httpMethod:"POST",params:{client_id:o,code_verifier:T,grant_type:"authorization_code",redirect_uri:a||location.href.replace(location.search,""),code:d.code}}).then(w=>E(Object.assign(Object.assign({},w),c),c.originalUrl)).catch(w=>h(w.originalMessage,w.code,c.originalUrl))}return!i&&d.access_token?Promise.resolve(E(Object.assign({token:d.access_token,expires:new Date(Date.now()+parseInt(d.expires_in,10)*1e3),ssl:d.ssl==="true",username:d.username},c),c.originalUrl)):h("Unknown error","oauth-error",c.originalUrl)}static fromParent(e,t){!t&&window&&(t=window);let n;return new Promise((o,s)=>{n=i=>{if(i.source===t.parent&&i.data)try{return o(r.parentMessageHandler(i))}catch(a){return s(a)}},t.addEventListener("message",n,!1),t.parent.postMessage({type:"arcgis:auth:requestCredential"},e)}).then(o=>(t.removeEventListener("message",n,!1),o))}static authorize(e,t){let{portal:n,clientId:o,expiration:s,redirectUri:i,state:a}=Object.assign({portal:"https://arcgis.com/sharing/rest",expiration:20160},e),u={client_id:o,expiration:s,response_type:"code",redirect_uri:i};a&&(u.state=a);let g=`${n}/oauth2/authorize?${O(u)}`;t.writeHead(301,{Location:g}),t.end()}static exchangeAuthorizationCode(e,t){let{portal:n,clientId:o,redirectUri:s}=Object.assign({portal:"https://www.arcgis.com/sharing/rest"},e);return v(`${n}/oauth2/token`,{params:{grant_type:"authorization_code",client_id:o,redirect_uri:s,code:t}}).then(i=>new r({clientId:o,portal:n,ssl:i.ssl,redirectUri:s,refreshToken:i.refreshToken,refreshTokenExpires:i.refreshTokenExpires,token:i.token,tokenExpires:i.expires,username:i.username})).catch(i=>{throw new y(i.message,x.REFRESH_TOKEN_EXCHANGE_FAILED,i.response,i.url,i.options)})}static deserialize(e){let t=JSON.parse(e);return new r({clientId:t.clientId,refreshToken:t.refreshToken,refreshTokenExpires:t.refreshTokenExpires?new Date(t.refreshTokenExpires):void 0,username:t.username,password:t.password,token:t.token,tokenExpires:t.tokenExpires?new Date(t.tokenExpires):void 0,portal:t.portal,ssl:t.ssl,tokenDuration:t.tokenDuration,redirectUri:t.redirectUri,server:t.server})}static fromCredential(e,t){let n=typeof e.ssl<"u"?e.ssl:!0,o=e.expires||Date.now()+72e5;return t.hasServer?new r({server:e.server,ssl:n,token:e.token,username:e.userId,tokenExpires:new Date(o)}):new r({portal:m(e.server.includes("sharing/rest")?e.server:e.server+"/sharing/rest"),ssl:n,token:e.token,username:e.userId,tokenExpires:new Date(o)})}static parentMessageHandler(e){if(e.data.type==="arcgis:auth:credential"){let t=e.data.credential;return le(t)?r.fromCredential(t,{hasPortal:!0,hasServer:!1,server:t.server}):new r(t)}if(e.data.type==="arcgis:auth:error"){let t=new Error(e.data.error.message);throw t.name=e.data.error.name,t}else throw new Error("Unknown message type.")}static destroy(e){return oe({clientId:e.clientId,portal:e.portal,token:e.refreshToken||e.token})}static fromToken(e){let t=new r(e);return t.getUser().then(()=>t)}static signIn(e){let t=new r(e);return t.getUser().then(()=>t)}toCredential(){return{expires:this.tokenExpires.getTime(),server:this.server||this.portal,ssl:this.ssl,token:this.token,userId:this.username}}getPortal(e){if(this._pendingPortalRequest)return this._pendingPortalRequest;if(this._portalInfo)return Promise.resolve(this._portalInfo);{let t=`${this.portal}/portals/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingPortalRequest=p(t,n).then(o=>(this._portalInfo=o,this._pendingPortalRequest=null,o)),this._pendingPortalRequest}}getToken(e,t){return te(this.portal,e)?this.getFreshToken(t):new RegExp(this.portal,"i").test(e)?this.getFreshToken(t):this.getTokenForServer(e,t)}validateAppAccess(e){return this.getToken(this.portal).then(t=>re(t,e))}toJSON(){return{clientId:this.clientId,refreshToken:this.refreshToken,refreshTokenExpires:this.refreshTokenExpires||void 0,username:this.username,password:this.password,token:this.token,tokenExpires:this.tokenExpires||void 0,portal:this.portal,ssl:this.ssl,tokenDuration:this.tokenDuration,redirectUri:this.redirectUri,server:this.server}}serialize(){return JSON.stringify(this)}enablePostMessageAuth(e,t){!t&&window&&(t=window),this._hostHandler=this.createPostMessageHandler(e),t.addEventListener("message",this._hostHandler,!1)}disablePostMessageAuth(e){!e&&window&&(e=window),e.removeEventListener("message",this._hostHandler,!1)}refreshCredentials(e){return this.clearCachedUserInfo(),this.username&&this.password?this.refreshWithUsernameAndPassword(e):this.clientId&&this.refreshToken?this.refreshWithRefreshToken():Promise.reject(new y("Unable to refresh token. No refresh token or password present.",x.TOKEN_REFRESH_FAILED))}getServerRootUrl(e){let[t]=m(e).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/),[n,o,s]=t.match(/(https?:\/\/)(.+)/),[i,...a]=s.split("/");return`${o}${i.toLowerCase()}/${a.join("/")}`}getDomainCredentials(e){return!this.trustedDomains||!this.trustedDomains.length?"same-origin":(e=e.toLowerCase(),this.trustedDomains.some(t=>e.startsWith(t.toLowerCase()))?"include":"same-origin")}signOut(){return r.destroy(this)}createPostMessageHandler(e){return t=>{let n=e.indexOf(t.origin)>-1,o=t.data.type==="arcgis:auth:requestCredential",s=this.tokenExpires.getTime()>Date.now();if(n&&o){let i={};if(s){let a=this.toCredential();a.server=a.server.replace("/sharing/rest",""),i={type:"arcgis:auth:credential",credential:a}}else i={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Token was expired, and not returned to the child application"}};t.source.postMessage(i,t.origin)}}}getTokenForServer(e,t){let n=this.getServerRootUrl(e),o=this.federatedServers[n];return o&&o.expires&&o.expires.getTime()>Date.now()?Promise.resolve(o.token):this._pendingTokenRequests[n]?this._pendingTokenRequests[n]:(this._pendingTokenRequests[n]=this.fetchAuthorizedDomains().then(()=>p(`${n}/rest/info`,{credentials:this.getDomainCredentials(e)}).then(s=>{if(s.owningSystemUrl){if(ee(s.owningSystemUrl,this.portal))return p(`${s.owningSystemUrl}/sharing/rest/info`,t);throw new y(`${e} is not federated with ${this.portal}.`,x.NOT_FEDERATED)}else{if(s.authInfo&&this.federatedServers[n]!==void 0)return Promise.resolve({authInfo:s.authInfo});throw new y(`${e} is not federated with any portal and is not explicitly trusted.`,x.NOT_FEDERATED)}}).then(s=>this.token&&this.tokenExpires.getTime()<Date.now()?this.server?this.refreshCredentials().then(()=>({token:this.token,expires:this.tokenExpires})):this.refreshCredentials().then(()=>this.generateTokenForServer(s.authInfo.tokenServicesUrl,n)):this.generateTokenForServer(s.authInfo.tokenServicesUrl,n)).then(s=>(this.federatedServers[n]=s,delete this._pendingTokenRequests[n],s.token))),this._pendingTokenRequests[n])}generateTokenForServer(e,t){return p(e,{params:{token:this.token,serverUrl:t,expiration:this.tokenDuration}}).then(n=>({token:n.token,expires:new Date(n.expires-1e3*60*5)})).catch(n=>{throw new y(n.message,x.GENERATE_TOKEN_FOR_SERVER_FAILED,n.response,n.url,n.options)})}getFreshToken(e){return this.token&&!this.tokenExpires?Promise.resolve(this.token):this.token&&this.tokenExpires&&this.tokenExpires.getTime()>Date.now()?Promise.resolve(this.token):(this._pendingTokenRequests[this.portal]||(this._pendingTokenRequests[this.portal]=this.refreshCredentials(e).then(()=>(this._pendingTokenRequests[this.portal]=null,this.token))),this._pendingTokenRequests[this.portal])}refreshWithUsernameAndPassword(e){let t={username:this.username,password:this.password,expiration:this.tokenDuration,client:"referer",referer:this.referer?this.referer:typeof window<"u"&&typeof window.document<"u"&&window.location&&window.location.origin?window.location.origin:q};return(this.server?p(`${this.getServerRootUrl(this.server)}/rest/info`).then(n=>p(n.authInfo.tokenServicesUrl,Object.assign({params:t},e))):p(`${this.portal}/generateToken`,Object.assign({params:t},e))).then(n=>(this.updateToken(n.token,new Date(n.expires)),this)).catch(n=>{throw new y(n.message,x.TOKEN_REFRESH_FAILED,n.response,n.url,n.options)})}refreshWithRefreshToken(e){if(this.refreshToken&&this.refreshTokenExpires&&this.refreshTokenExpires.getTime()-864e5<Date.now())return this.exchangeRefreshToken(e);let n=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,grant_type:"refresh_token"}},e);return v(`${this.portal}/oauth2/token`,n).then(o=>this.updateToken(o.token,o.expires)).catch(o=>{throw new y(o.message,x.TOKEN_REFRESH_FAILED,o.response,o.url,o.options)})}updateToken(e,t){return this._token=e,this._tokenExpires=t,this}exchangeRefreshToken(e){let t=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},e);return v(`${this.portal}/oauth2/token`,t).then(n=>(this._token=n.token,this._tokenExpires=n.expires,this._refreshToken=n.refreshToken,this._refreshTokenExpires=n.refreshTokenExpires,this)).catch(n=>{throw new y(n.message,x.REFRESH_TOKEN_EXCHANGE_FAILED,n.response,n.url,n.options)})}fetchAuthorizedDomains(){return this.server||!this.portal?Promise.resolve(this):this.getPortal().then(e=>(e.authorizedCrossOriginDomains&&e.authorizedCrossOriginDomains.length&&(this.trustedDomains=e.authorizedCrossOriginDomains.filter(t=>!t.startsWith("http://")).map(t=>t.startsWith("https://")?t:`https://${t}`)),this))}};function S(r){return console.log("DEPRECATED:, 'UserSession' is deprecated. Use 'ArcGISIdentityManager' instead."),new k(r)}S.beginOAuth2=function(...r){return console.warn("DEPRECATED:, 'UserSession.beginOAuth2' is deprecated. Use 'ArcGISIdentityManager.beginOAuth2' instead."),k.beginOAuth2(...r)};S.completeOAuth2=function(...r){return console.warn("DEPRECATED:, 'UserSession.completeOAuth2()' is deprecated. Use 'ArcGISIdentityManager.completeOAuth2()' instead."),r.length<=1&&console.warn("WARNING:, 'UserSession.completeOAuth2()' is now async and returns a promise the resolves to an instance of `ArcGISIdentityManager`."),k.completeOAuth2(...r)};S.fromParent=function(...r){return console.warn("DEPRECATED:, 'UserSession.fromParent' is deprecated. Use 'ArcGISIdentityManager.fromParent' instead."),k.fromParent(...r)};S.authorize=function(...r){return console.warn("DEPRECATED:, 'UserSession.authorize' is deprecated. Use 'ArcGISIdentityManager.authorize' instead."),k.authorize(...r)};S.exchangeAuthorizationCode=function(...r){return console.warn("DEPRECATED:, 'UserSession.exchangeAuthorizationCode' is deprecated. Use 'ArcGISIdentityManager.exchangeAuthorizationCode' instead."),k.exchangeAuthorizationCode(...r)};S.fromCredential=function(...r){return console.log("DEPRECATED:, 'UserSession.fromCredential' is deprecated. Use 'ArcGISIdentityManager.fromCredential' instead."),console.warn("WARNING:, 'UserSession.fromCredential' now requires a `ServerInfo` object from the JS API as a second parameter."),k.fromCredential(...r)};S.deserialize=function(...r){return console.log("DEPRECATED:, 'UserSession.deserialize' is deprecated. Use 'ArcGISIdentityManager.deserialize' instead."),k.deserialize(...r)};export{V as a,p as b,Ge as c,m as d,k as e};
|
@@ -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.20250530 */
|
4
|
-
import{o,p as a,q as r,r as d,v as c,w as m}from"./
|
3
|
+
v1.0.0-next.20250530.1 */
|
4
|
+
import{o,p as a,q as r,r as d,v as c,w as m}from"./PHA5TYOC.js";import{a as l,c as i,d as h,e as u}from"./5DFDVK6H.js";import"./GZU2CPZN.js";var f=".sc-instant-apps-measurement-tool-h .esri-measurement.sc-instant-apps-measurement-tool,.sc-instant-apps-measurement-tool-h .esri-coordinate-conversion.sc-instant-apps-measurement-tool{width:300px}.sc-instant-apps-measurement-tool-h .instant-apps-measurement-tool__hide.sc-instant-apps-measurement-tool{display:none}",v=f,p="instant-apps-measurement-tool",s={base:p,hide:`${p}__hide`},g=class{constructor(e){l(this,e),this.view=void 0,this.measureConfiguration=void 0,this.activeTool=void 0}async componentWillLoad(){await this._initModules()}componentDidLoad(){this._init()}render(){return i(h,{key:"f6bd046c04fd3c17204fd95e4ab5e85cab179671"},i("div",{key:"070603555cb6497ddd67f1f53ebaf89a59bd7c01",class:s.base},i("div",{key:"475bff4347c71401ecb292a74c59aac28b40952f",ref:e=>{e instanceof HTMLElement&&(this._measureElement=e)}}),i("div",{key:"9018f1338b598e9c02e1ea6239ab1ee57c460fa0",class:s.hide,ref:e=>{e instanceof HTMLElement&&(this._coordinateElement=e)}})))}disconnectedCallback(){this._measureWidget?.destroy(),this._coordinateWidget?.destroy()}async _initModules(){let[e,t,n]=await Promise.all([c(),o(),r()]);this.Measurement=e,this.CoordinateConversion=t,this.Conversion=n}_init(){this._initMeasurementWidget(),this._initCoordinateWidget()}_updateToolType(e){this._setActiveTool(e)}async _initMeasurementWidget(){this.view&&this._measureElement&&!this._measureWidget&&(this._measureWidget=await m({view:this.view,container:this._measureElement,...this.measureConfiguration}),this.measureConfiguration.activeToolType&&this._setActiveTool(this.measureConfiguration.activeToolType))}_setActiveTool(e){let t=this.view.type;this._measureWidget.clear(),this._coordinateElement?.classList.add(s.hide),e==="distance"?this._measureWidget.activeTool=t==="2d"?"distance":"direct-line":e==="area"?this._measureWidget.activeTool="area":e==="point"&&this._coordinateElement?.classList?.remove(s.hide)}async _initCoordinateWidget(){let{activeToolType:e,coordinateFormat:t}=this.measureConfiguration;if(this?.view&&this._coordinateElement&&!this._coordinateWidget&&(this._coordinateWidget=await a({view:this.view,storageEnabled:!1,container:this._coordinateElement}),t!=null)){let n=this._coordinateWidget.formats.find(_=>_.name===t);this._coordinateWidget?.conversions?.splice(0,0,await d({format:n}))}e!=null&&this._setActiveTool(e)}get el(){return u(this)}static get watchers(){return{activeTool:["_updateToolType"]}}};g.style=v;export{g as instant_apps_measurement_tool};
|
@@ -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.20250530 */
|
3
|
+
v1.0.0-next.20250530.1 */
|
4
4
|
var i=n=>{var l;return((l=n.links)===null||l===void 0?void 0:l.thumbnail)||n.thumbnailUrl};export{i as a};
|
@@ -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.20250530 */
|
4
|
-
import{a as f}from"./
|
3
|
+
v1.0.0-next.20250530.1 */
|
4
|
+
import{a as f}from"./UZ7Z2JVT.js";import{e as b}from"./QMT7LNSC.js";import{c as u,n as g,t as _,z as x}from"./PHA5TYOC.js";import"./WSDY2CHI.js";import{a as m,c as a,d as w,e as v,f as y}from"./5DFDVK6H.js";import"./GZU2CPZN.js";var k=`
|
5
5
|
@media print {
|
6
6
|
@page {
|
7
7
|
size: Portrait;
|
@@ -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.20250530 */
|
4
|
-
import{a as o,b as l}from"./
|
3
|
+
v1.0.0-next.20250530.1 */
|
4
|
+
import{a as o,b as l}from"./R7OODGTN.js";import{b as c}from"./CCKIOTSJ.js";import{a as u}from"./TP3QX5HT.js";import{D as r,I as h,c as n,d as i,o as s}from"./RTFLMETG.js";import"./GZU2CPZN.js";var m=n`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -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.20250530 */
|
4
|
-
import{a as r,b as c}from"./
|
3
|
+
v1.0.0-next.20250530.1 */
|
4
|
+
import{a as r,b as c}from"./R7OODGTN.js";import{b as h}from"./CCKIOTSJ.js";import{D as n,I as l,c as i,d as s,o as a}from"./RTFLMETG.js";import"./GZU2CPZN.js";var d=i`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -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.20250530.1 */
|
4
|
+
import{a,b}from"./I5VSPGGJ.js";import"./BV76MPA5.js";import"./HYIN2EAD.js";import"./VHCT5ETZ.js";import"./C556IKNJ.js";import"./GZU2CPZN.js";export{a as EventEditorTypes,b as buildSchema};
|
@@ -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.20250530 */
|
4
|
-
import{a as x}from"./JL5VELML.js";import{a as I}from"./YWR7J3GR.js";import{a as d}from"./UU5CNOQW.js";import{b as p,d as v,e as M}from"./MSC6SQKC.js";import{a as y}from"./Q2NP2O3M.js";import{a as k,e as R,f as A,g as E}from"./XANWM4XJ.js";import{a as U}from"./ZKKTR3BI.js";import{a as c}from"./X7YNYBQ7.js";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 K=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},V=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},J=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},$=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(K(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},S=function(e){return J(e[0],e[e.length-1])||e.push(e[0]),e},D=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},T=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},j=function(e,r){var n=$(e,r),a=V(e,r[0]);return!!(!n&&a)},Q=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var l=S(e[s].slice(0));if(!(l.length<4))if(D(l)){var u=[l.slice().reverse()];r.push(u)}else n.push(l.slice().reverse())}for(var g=[];n.length;){i=n.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||g.push(i)}for(;g.length;){i=g.pop();var P=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],$(o,i)){r[a].push(i),P=!0;break}P||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},Z=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")},xe=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?T(e.attributes):null,e.attributes))try{n.id=Z(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},N=function(e){var r=[],n=e.slice(0),a=S(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=S(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},Y=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=N(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=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=N(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=Y(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?T(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 Se(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 Pe(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 L;(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"})(L||(L={}));function B(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 q=t=>R(t)?Object.assign(Object.assign({},k(t)),{type:"extent"}):void 0,_e=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=q(r);if(a)return{type:B(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"},O(r)),{spatialReference:A(o)?i:re(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var We=(t,e,r)=>{let n=ee(t,e,r)||te(t,e,r),a=U(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":X(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},X=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ee=(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},te=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var F;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(F||(F={}));var re=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}},Ge=(t,e,r)=>{let n=ne(e);return n&&n.map(a=>({name:a.orName,url:ae(a,t,r),isDataSource:z(a,t)}))},ne=t=>{let e=[];return C(c(t,"metadata.distInfo")||[]).forEach(r=>{C(r.distTranOps||[]).forEach(n=>{C(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},C=t=>Array.isArray(t)?t:[t],z=(t,e)=>{let r=e.url&&x(e.url);return r&&t.linkage&&t.linkage.includes(r)},ae=(t,e,r)=>{let n=t.linkage,a=c(r,"authentication.token");if(a&&z(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 Ke=(t,e)=>{let r;switch(oe(t)){case"Dashboard":r=le(t,e);break;case"Insights Workbook":r=pe(t,e);break;case"Experience":r=se(t,e);break;case"Web AppBuilder":r=ce(t,e);break;case"Form":r=ue(t,e);break;case"StoryMap":r=ie(t,e);break;case"Urban Model":r=de(t,e);break;default:r=v(t.id,e)}return r},oe=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},ie=(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`},se=(t,e)=>{let r=p(e),n=m(r);return`${`https://experience${b[n]}.arcgis.com`}/builder/?id=${t.id}`},le=(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},ce=(t,e)=>`${p(e)}/apps/webappbuilder/index.html?id=${t.id}`,ue=(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},pe=(t,e)=>{let r=p(e),n=m(r),a=`https://insights${b[n]}.arcgis.com`,o=v(t.id,r);return H(r)?o:`${a}/#/edit/${t.id}`},de=(t,e)=>{let r=p(e),n=m(r),a=`https://urban${b[n]}.arcgis.com`,o=v(t.id,r);return H(r)?o:`${a}/?id=${t.id}`},H=t=>t.indexOf("arcgis.com")===-1;function Ve(t,e){return`${fe(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function fe(t){return I(t).replace(/\/api\/v3$/,"")}var Je=async(t,e)=>{let n=`${I(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 _(t){let e=!1;return t&&(e=!(t.typeKeywords||[]).includes(d)),e}function Ze(t,e){let r=(t||[]).filter(n=>n!==d);return e||r.push(d),r}var W=class{constructor(e){this.mappings=e}storeToEntity(e,r){let n=me(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 ge(e,r,this.mappings)}};function ge(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 G(t,"entityKey",e,"storeKey",r)}function me(t,e,r){if(c(t,"item")){let n=c(t,"item");f("isDiscussable",_(n),e)}return G(t,"storeKey",e,"entityKey",r)}function G(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{f as a,Se as b,Pe as c,xe as d,_e as e,We as f,Ge as g,Ke as h,Ve as i,Je as j,_ as k,Ze as l,W as m,ge as n,me as o};
|
3
|
+
v1.0.0-next.20250530.1 */
|
4
|
+
import{a as x}from"./7P23QXUP.js";import{a as I}from"./2ED5S63G.js";import{a as d}from"./RVQUWOMM.js";import{b as p,d as v,e as M}from"./QF5QELVM.js";import{a as y}from"./XZBB2UEX.js";import{a as k,e as R,f as A,g as E}from"./6ZIUZPW6.js";import{a as U}from"./2T7OWYJF.js";import{a as c}from"./ILUBVWJF.js";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 K=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},V=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},J=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},$=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(K(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},S=function(e){return J(e[0],e[e.length-1])||e.push(e[0]),e},D=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},T=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},j=function(e,r){var n=$(e,r),a=V(e,r[0]);return!!(!n&&a)},Q=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var l=S(e[s].slice(0));if(!(l.length<4))if(D(l)){var u=[l.slice().reverse()];r.push(u)}else n.push(l.slice().reverse())}for(var g=[];n.length;){i=n.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||g.push(i)}for(;g.length;){i=g.pop();var P=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],$(o,i)){r[a].push(i),P=!0;break}P||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},Z=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")},xe=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?T(e.attributes):null,e.attributes))try{n.id=Z(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},N=function(e){var r=[],n=e.slice(0),a=S(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=S(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},Y=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=N(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=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=N(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=Y(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?T(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 Se(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 Pe(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 L;(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"})(L||(L={}));function B(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 q=t=>R(t)?Object.assign(Object.assign({},k(t)),{type:"extent"}):void 0,_e=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=q(r);if(a)return{type:B(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"},O(r)),{spatialReference:A(o)?i:re(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var We=(t,e,r)=>{let n=ee(t,e,r)||te(t,e,r),a=U(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":X(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},X=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ee=(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},te=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var F;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(F||(F={}));var re=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}},Ge=(t,e,r)=>{let n=ne(e);return n&&n.map(a=>({name:a.orName,url:ae(a,t,r),isDataSource:z(a,t)}))},ne=t=>{let e=[];return C(c(t,"metadata.distInfo")||[]).forEach(r=>{C(r.distTranOps||[]).forEach(n=>{C(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},C=t=>Array.isArray(t)?t:[t],z=(t,e)=>{let r=e.url&&x(e.url);return r&&t.linkage&&t.linkage.includes(r)},ae=(t,e,r)=>{let n=t.linkage,a=c(r,"authentication.token");if(a&&z(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 Ke=(t,e)=>{let r;switch(oe(t)){case"Dashboard":r=le(t,e);break;case"Insights Workbook":r=pe(t,e);break;case"Experience":r=se(t,e);break;case"Web AppBuilder":r=ce(t,e);break;case"Form":r=ue(t,e);break;case"StoryMap":r=ie(t,e);break;case"Urban Model":r=de(t,e);break;default:r=v(t.id,e)}return r},oe=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},ie=(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`},se=(t,e)=>{let r=p(e),n=m(r);return`${`https://experience${b[n]}.arcgis.com`}/builder/?id=${t.id}`},le=(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},ce=(t,e)=>`${p(e)}/apps/webappbuilder/index.html?id=${t.id}`,ue=(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},pe=(t,e)=>{let r=p(e),n=m(r),a=`https://insights${b[n]}.arcgis.com`,o=v(t.id,r);return H(r)?o:`${a}/#/edit/${t.id}`},de=(t,e)=>{let r=p(e),n=m(r),a=`https://urban${b[n]}.arcgis.com`,o=v(t.id,r);return H(r)?o:`${a}/?id=${t.id}`},H=t=>t.indexOf("arcgis.com")===-1;function Ve(t,e){return`${fe(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function fe(t){return I(t).replace(/\/api\/v3$/,"")}var Je=async(t,e)=>{let n=`${I(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 _(t){let e=!1;return t&&(e=!(t.typeKeywords||[]).includes(d)),e}function Ze(t,e){let r=(t||[]).filter(n=>n!==d);return e||r.push(d),r}var W=class{constructor(e){this.mappings=e}storeToEntity(e,r){let n=me(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 ge(e,r,this.mappings)}};function ge(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 G(t,"entityKey",e,"storeKey",r)}function me(t,e,r){if(c(t,"item")){let n=c(t,"item");f("isDiscussable",_(n),e)}return G(t,"storeKey",e,"entityKey",r)}function G(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{f as a,Se as b,Pe as c,xe as d,_e as e,We as f,Ge as g,Ke as h,Ve as i,Je as j,_ as k,Ze as l,W as m,ge as n,me as o};
|
@@ -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.20250530 */
|
4
|
-
import{a as s}from"./
|
3
|
+
v1.0.0-next.20250530.1 */
|
4
|
+
import{a as s}from"./AX3FGYBT.js";import"./QF5QELVM.js";import"./GJKEPLSZ.js";import"./XZBB2UEX.js";import"./2B4ODL4I.js";import{a as r,b as a}from"./5LMXTWC2.js";import"./CQFA3WBO.js";import"./6ZIUZPW6.js";import{a as o}from"./OPHPZAWR.js";import{a as i}from"./UFW2PO2K.js";import"./OWDWZHMV.js";import"./DA5DY7HY.js";import"./2T7OWYJF.js";import"./ILUBVWJF.js";import"./CH5PRHPR.js";import"./IDBD7LSX.js";import"./NTHWDWQ4.js";import"./GV3IWFPF.js";import"./HMGYITJ2.js";import"./SGUBT5JB.js";import"./CXJ53YNZ.js";import"./M6XUGB2Z.js";import"./7NWNTAMW.js";import"./CPBYDRAF.js";import"./UQ6BMBWB.js";import"./I5VSPGGJ.js";import"./BV76MPA5.js";import"./HYIN2EAD.js";import"./VHCT5ETZ.js";import"./YR5E3HFV.js";import"./EK4MS2HQ.js";import"./GJWN4WP3.js";import"./C34H6SGK.js";import"./RX6Y3JHB.js";import"./NNRPVDMT.js";import"./SGGIVA63.js";import"./C556IKNJ.js";import"./GZU2CPZN.js";var u=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"survey",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{u as buildUiSchema};
|
@@ -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.20250530 */
|
4
|
-
import{c as a}from"./
|
3
|
+
v1.0.0-next.20250530.1 */
|
4
|
+
import{c as a}from"./C34H6SGK.js";import"./GZU2CPZN.js";export{a as MetricSchema};
|
@@ -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.20250530 */
|
4
|
-
import{a as r,b as s,c as a,d as n}from"./
|
3
|
+
v1.0.0-next.20250530.1 */
|
4
|
+
import{a as r,b as s,c as a,d as n}from"./GJWN4WP3.js";import{c as e}from"./C34H6SGK.js";import{a as i}from"./NNRPVDMT.js";import{b as t}from"./SGGIVA63.js";var m=["hub:initiative:edit","hub:initiative:create","hub:initiative:create2","hub:initiative:metrics","hub:initiative:associations","hub:initiative:settings"],b=Object.assign(Object.assign({},i),{properties:Object.assign(Object.assign({},i.properties),{_groups:{type:"array",items:{type:"string"}},status:{type:"string",default:t.notStarted,enum:Object.keys(t)},_metric:{type:"object",required:["cardTitle"],properties:e.properties}}),allOf:[s,r,n,a]});export{m as a,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.20250530 */
|
4
|
-
import{a as n}from"./
|
3
|
+
v1.0.0-next.20250530.1 */
|
4
|
+
import{a as n}from"./DP5KDHDS.js";import{a as o}from"./RC47QK6Z.js";import"./NBHU4HTV.js";import{a as m}from"./AX3FGYBT.js";import"./QF5QELVM.js";import"./GJKEPLSZ.js";import"./XZBB2UEX.js";import"./2B4ODL4I.js";import{a as s}from"./OPHPZAWR.js";import{a as i}from"./UFW2PO2K.js";import"./OWDWZHMV.js";import"./DA5DY7HY.js";import"./2T7OWYJF.js";import"./ILUBVWJF.js";import{b as r}from"./CH5PRHPR.js";import"./IDBD7LSX.js";import"./NTHWDWQ4.js";import"./GV3IWFPF.js";import"./HMGYITJ2.js";import"./SGUBT5JB.js";import"./CXJ53YNZ.js";import"./M6XUGB2Z.js";import"./7NWNTAMW.js";import"./CPBYDRAF.js";import"./UQ6BMBWB.js";import"./I5VSPGGJ.js";import"./BV76MPA5.js";import"./HYIN2EAD.js";import"./VHCT5ETZ.js";import"./YR5E3HFV.js";import"./EK4MS2HQ.js";import"./GJWN4WP3.js";import"./C34H6SGK.js";import"./RX6Y3JHB.js";import"./NNRPVDMT.js";import"./SGGIVA63.js";import"./C556IKNJ.js";import"./GZU2CPZN.js";var p=(e,l)=>["myContent","organization"].map(d=>{let a=o("initiativeTemplate.fields.recommendedTemplates",d,"item",{user:e});return a.collections=[c(l)],a}),c=e=>({targetEntity:"item",key:"recommendedTemplates",label:`${e}.fields.recommendedTemplates.collection.label`,scope:{targetEntity:"item",filters:[{predicates:[{type:"Solution"}]},{predicates:[{typekeywords:["hubSolutionTemplate"]},{typekeywords:["Template"]}],operation:"OR"}]}});var k=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:r.error,keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.name.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{type:"Control",scope:"/properties/summary",labelKey:`${e}.fields.summary.label`,options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...m(e,l.thumbnail,n(l),"initiativeTemplate",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{type:"Control",scope:"/properties/description",labelKey:`${e}.fields.description.label`,options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await s(e,t)]}]},{type:"Section",labelKey:`${e}.sections.templateDetails.label`,elements:[{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{type:"Control",scope:"/properties/recommendedTemplates",labelKey:`${e}.fields.recommendedTemplates.label`,options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:p(t.currentUser,e),facets:[{label:`{{${e}.fields.recommendedTemplates.facets.sharing:translate}}`,key:"access",field:"access",display:"multi-select",operation:"OR"}],canReorder:!1,linkTarget:"siteRelative",pickerTitle:{labelKey:`${e}.fields.recommendedTemplates.pickerTitle`}}}]}]});export{k as buildUiSchema};
|
@@ -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.20250530 */
|
4
|
-
import{c as C}from"./
|
3
|
+
v1.0.0-next.20250530.1 */
|
4
|
+
import{c as C}from"./GZU2CPZN.js";var T=C(N=>{"use strict";var R=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Ne=R+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",L="["+R+"]["+Ne+"]*",be=new RegExp("^"+L+"$"),Ae=function(e,t){let s=[],n=t.exec(e);for(;n;){let i=[];i.startIndex=t.lastIndex-n[0].length;let r=n.length;for(let u=0;u<r;u++)i.push(n[u]);s.push(i),n=t.exec(e)}return s},Ce=function(e){let t=be.exec(e);return!(t===null||typeof t>"u")};N.isExist=function(e){return typeof e<"u"};N.isEmptyObject=function(e){return Object.keys(e).length===0};N.merge=function(e,t,s){if(t){let n=Object.keys(t),i=n.length;for(let r=0;r<i;r++)s==="strict"?e[n[r]]=[t[n[r]]]:e[n[r]]=t[n[r]]}};N.getValue=function(e){return N.isExist(e)?e:""};N.buildOptions=function(e,t,s){let n={};if(!e)return t;for(let i=0;i<s.length;i++)e[s[i]]!==void 0?n[s[i]]=e[s[i]]:n[s[i]]=t[s[i]];return n};N.isTagNameInArrayMode=function(e,t,s){return t===!1?!1:t instanceof RegExp?t.test(e):typeof t=="function"?!!t(e,s):t==="strict"};N.isName=Ce;N.getAllMatches=Ae;N.nameRegexp=L});var $=C(Z=>{"use strict";var v=T(),q=function(e,t,s){let n={};if(!t.alwaysCreateTextNode&&(!e.child||v.isEmptyObject(e.child))&&(!e.attrsMap||v.isEmptyObject(e.attrsMap)))return v.isExist(e.val)?e.val:"";if(v.isExist(e.val)&&!(typeof e.val=="string"&&(e.val===""||e.val===t.cdataPositionChar))){let r=v.isTagNameInArrayMode(e.tagname,t.arrayMode,s);n[t.textNodeName]=r?[e.val]:e.val}v.merge(n,e.attrsMap,t.arrayMode);let i=Object.keys(e.child);for(let r=0;r<i.length;r++){let u=i[r];if(e.child[u]&&e.child[u].length>1){n[u]=[];for(let a in e.child[u])e.child[u].hasOwnProperty(a)&&n[u].push(q(e.child[u][a],t,u))}else{let a=q(e.child[u][0],t,u),o=t.arrayMode===!0&&typeof a=="object"||v.isTagNameInArrayMode(u,t.arrayMode,s);n[u]=o?[a]:a}}return n};Z.convertToJson=q});var Q=C((ct,X)=>{"use strict";X.exports=function(e,t,s){this.tagname=e,this.parent=t,this.child={},this.attrsMap={},this.val=s,this.addChild=function(n){Array.isArray(this.child[n.tagname])?this.child[n.tagname].push(n):this.child[n.tagname]=[n]}}});var z=C((ft,Y)=>{var Te=/^[-+]?0x[a-fA-F0-9]+$/,ye=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,ve={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function Pe(e,t={}){if(t=Object.assign({},ve,t),!e||typeof e!="string")return e;let s=e.trim();if(t.skipLike!==void 0&&t.skipLike.test(s))return e;if(e==="0")return 0;if(t.hex&&Te.test(s))return Ee(s,16);if(s.search(/[eE]/)!==-1){let n=s.match(/^([-\+])?(0*)([0-9]*(\.[0-9]*)?[eE][-\+]?[0-9]+)$/);if(n){if(t.leadingZeros)s=(n[1]||"")+n[3];else if(!(n[2]==="0"&&n[3][0]==="."))return e;return t.eNotation?Number(s):e}else return e}else{let n=ye.exec(s);if(n){let i=n[1],r=n[2],u=me(n[3]);if(!t.leadingZeros&&r.length>0&&i&&s[2]!==".")return e;if(!t.leadingZeros&&r.length>0&&!i&&s[1]!==".")return e;if(t.leadingZeros&&r===e)return 0;{let a=Number(s),o=""+a;return o.search(/[eE]/)!==-1?t.eNotation?a:e:s.indexOf(".")!==-1?o==="0"&&u===""||o===u||i&&o==="-"+u?a:e:r?u===o||i+u===o?a:e:s===o||s===i+o?a:e}}else return e}}function me(e){return e&&e.indexOf(".")!==-1&&(e=e.replace(/0+$/,""),e==="."?e="0":e[0]==="."?e="0"+e:e[e.length-1]==="."&&(e=e.substr(0,e.length-1))),e}function Ee(e,t){if(parseInt)return parseInt(e,t);if(Number.parseInt)return Number.parseInt(e,t);if(window&&window.parseInt)return window.parseInt(e,t);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}Y.exports=Pe});var E=C(V=>{"use strict";var P=T(),Ie=T().buildOptions,w=Q(),we=z(),dt="<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,P.nameRegexp);!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt);!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);var U={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,ignoreNameSpace:!1,allowBooleanAttributes:!1,parseNodeValue:!0,parseAttributeValue:!1,arrayMode:!1,trimValues:!0,cdataTagName:!1,cdataPositionChar:"\\c",numParseOptions:{hex:!0,leadingZeros:!0},tagValueProcessor:function(e,t){return e},attrValueProcessor:function(e,t){return e},stopNodes:[],alwaysCreateTextNode:!1};V.defaultOptions=U;var W=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","ignoreNameSpace","allowBooleanAttributes","parseNodeValue","parseAttributeValue","arrayMode","trimValues","cdataTagName","cdataPositionChar","tagValueProcessor","attrValueProcessor","parseTrueNumberOnly","numParseOptions","stopNodes","alwaysCreateTextNode"];V.props=W;function O(e,t,s){return t&&(s.trimValues&&(t=t.trim()),t=s.tagValueProcessor(t,e),t=_(t,s.parseNodeValue,s.numParseOptions)),t}function Oe(e,t){if(t.ignoreNameSpace){let s=e.split(":"),n=e.charAt(0)==="/"?"/":"";if(s[0]==="xmlns")return"";s.length===2&&(e=n+s[1])}return e}function _(e,t,s){if(t&&typeof e=="string"){let n=e.trim();return n==="true"?!0:n==="false"?!1:we(e,s)}else return P.isExist(e)?e:""}var Ve=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])(.*?)\\3)?`,"g");function K(e,t){if(!t.ignoreAttributes&&typeof e=="string"){e=e.replace(/\r?\n/g," ");let s=P.getAllMatches(e,Ve),n=s.length,i={};for(let r=0;r<n;r++){let u=Oe(s[r][1],t);u.length&&(s[r][4]!==void 0?(t.trimValues&&(s[r][4]=s[r][4].trim()),s[r][4]=t.attrValueProcessor(s[r][4],u),i[t.attributeNamePrefix+u]=_(s[r][4],t.parseAttributeValue,t.numParseOptions)):t.allowBooleanAttributes&&(i[t.attributeNamePrefix+u]=!0))}if(!Object.keys(i).length)return;if(t.attrNodeName){let r={};return r[t.attrNodeName]=i,r}return i}}var Fe=function(e,t){e=e.replace(/\r\n?/g,`
|
5
5
|
`),t=Ie(t,U,W);let s=new w("!xml"),n=s,i="";for(let r=0;r<e.length;r++)if(e[r]==="<")if(e[r+1]==="/"){let a=m(e,">",r,"Closing Tag is not closed."),o=e.substring(r+2,a).trim();if(t.ignoreNameSpace){let h=o.indexOf(":");h!==-1&&(o=o.substr(h+1))}n&&(n.val?n.val=P.getValue(n.val)+""+O(o,i,t):n.val=O(o,i,t)),t.stopNodes.length&&t.stopNodes.includes(n.tagname)&&(n.child=[],n.attrsMap==null&&(n.attrsMap={}),n.val=e.substr(n.startIndex+1,r-n.startIndex-1)),n=n.parent,i="",r=a}else if(e[r+1]==="?")r=m(e,"?>",r,"Pi Tag is not closed.");else if(e.substr(r+1,3)==="!--")r=m(e,"-->",r,"Comment is not closed.");else if(e.substr(r+1,2)==="!D"){let a=m(e,">",r,"DOCTYPE is not closed.");e.substring(r,a).indexOf("[")>=0?r=e.indexOf("]>",r)+1:r=a}else if(e.substr(r+1,2)==="!["){let a=m(e,"]]>",r,"CDATA is not closed.")-2,o=e.substring(r+9,a);if(i&&(n.val=P.getValue(n.val)+""+O(n.tagname,i,t),i=""),t.cdataTagName){let h=new w(t.cdataTagName,n,o);n.addChild(h),n.val=P.getValue(n.val)+t.cdataPositionChar,o&&(h.val=o)}else n.val=(n.val||"")+(o||"");r=a+2}else{let a=Me(e,r+1),o=a.data,h=a.index,d=o.indexOf(" "),l=o,A=!0;if(d!==-1&&(l=o.substr(0,d).replace(/\s\s*$/,""),o=o.substr(d+1)),t.ignoreNameSpace){let p=l.indexOf(":");p!==-1&&(l=l.substr(p+1),A=l!==a.data.substr(p+1))}if(n&&i&&n.tagname!=="!xml"&&(n.val=P.getValue(n.val)+""+O(n.tagname,i,t)),o.length>0&&o.lastIndexOf("/")===o.length-1){l[l.length-1]==="/"?(l=l.substr(0,l.length-1),o=l):o=o.substr(0,o.length-1);let p=new w(l,n,"");l!==o&&(p.attrsMap=K(o,t)),n.addChild(p)}else{let p=new w(l,n);t.stopNodes.length&&t.stopNodes.includes(p.tagname)&&(p.startIndex=h),l!==o&&A&&(p.attrsMap=K(o,t)),n.addChild(p),n=p}i="",r=h}else i+=e[r];return s};function Me(e,t){let s,n="";for(let i=t;i<e.length;i++){let r=e[i];if(s)r===s&&(s="");else if(r==='"'||r==="'")s=r;else{if(r===">")return{data:n,index:i};r===" "&&(r=" ")}n+=r}}function m(e,t,s,n){let i=e.indexOf(t,s);if(i===-1)throw new Error(n);return i+t.length-1}V.getTraversalObj=Fe});var ee=C(D=>{"use strict";var M=T(),ke={allowBooleanAttributes:!1},qe=["allowBooleanAttributes"];D.validate=function(e,t){t=M.buildOptions(t,ke,qe);let s=[],n=!1,i=!1;e[0]==="\uFEFF"&&(e=e.substr(1));for(let r=0;r<e.length;r++)if(e[r]==="<"&&e[r+1]==="?"){if(r+=2,r=G(e,r),r.err)return r}else if(e[r]==="<"){let u=r;if(r++,e[r]==="!"){r=H(e,r);continue}else{let a=!1;e[r]==="/"&&(a=!0,r++);let o="";for(;r<e.length&&e[r]!==">"&&e[r]!==" "&&e[r]!==" "&&e[r]!==`
|
6
6
|
`&&e[r]!=="\r";r++)o+=e[r];if(o=o.trim(),o[o.length-1]==="/"&&(o=o.substring(0,o.length-1),r--),!$e(o)){let l;return o.trim().length===0?l="Invalid space after '<'.":l="Tag '"+o+"' is an invalid name.",f("InvalidTag",l,g(e,r))}let h=xe(e,r);if(h===!1)return f("InvalidAttr","Attributes for '"+o+"' have open quote.",g(e,r));let d=h.value;if(r=h.index,d[d.length-1]==="/"){let l=r-d.length;d=d.substring(0,d.length-1);let A=j(d,t);if(A===!0)n=!0;else return f(A.err.code,A.err.msg,g(e,l+A.err.line))}else if(a)if(h.tagClosed){if(d.trim().length>0)return f("InvalidTag","Closing tag '"+o+"' can't have attributes or invalid starting.",g(e,u));{let l=s.pop();if(o!==l.tagName){let A=g(e,l.tagStartPos);return f("InvalidTag","Expected closing tag '"+l.tagName+"' (opened in line "+A.line+", col "+A.col+") instead of closing tag '"+o+"'.",g(e,u))}s.length==0&&(i=!0)}}else return f("InvalidTag","Closing tag '"+o+"' doesn't have proper closing.",g(e,r));else{let l=j(d,t);if(l!==!0)return f(l.err.code,l.err.msg,g(e,r-d.length+l.err.line));if(i===!0)return f("InvalidXml","Multiple possible root nodes found.",g(e,r));s.push({tagName:o,tagStartPos:u}),n=!0}for(r++;r<e.length;r++)if(e[r]==="<")if(e[r+1]==="!"){r++,r=H(e,r);continue}else if(e[r+1]==="?"){if(r=G(e,++r),r.err)return r}else break;else if(e[r]==="&"){let l=Le(e,r);if(l==-1)return f("InvalidChar","char '&' is not expected.",g(e,r));r=l}e[r]==="<"&&r--}}else{if(e[r]===" "||e[r]===" "||e[r]===`
|
7
7
|
`||e[r]==="\r")continue;return f("InvalidChar","char '"+e[r]+"' is not expected.",g(e,r))}if(n){if(s.length==1)return f("InvalidTag","Unclosed tag '"+s[0].tagName+"'.",g(e,s[0].tagStartPos));if(s.length>0)return f("InvalidXml","Invalid '"+JSON.stringify(s.map(r=>r.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return f("InvalidXml","Start tag expected.",1);return!0};function G(e,t){let s=t;for(;t<e.length;t++)if(e[t]=="?"||e[t]==" "){let n=e.substr(s,t-s);if(t>5&&n==="xml")return f("InvalidXml","XML declaration allowed only at the start of the document.",g(e,t));if(e[t]=="?"&&e[t+1]==">"){t++;break}else continue}return t}function H(e,t){if(e.length>t+5&&e[t+1]==="-"&&e[t+2]==="-"){for(t+=3;t<e.length;t++)if(e[t]==="-"&&e[t+1]==="-"&&e[t+2]===">"){t+=2;break}}else if(e.length>t+8&&e[t+1]==="D"&&e[t+2]==="O"&&e[t+3]==="C"&&e[t+4]==="T"&&e[t+5]==="Y"&&e[t+6]==="P"&&e[t+7]==="E"){let s=1;for(t+=8;t<e.length;t++)if(e[t]==="<")s++;else if(e[t]===">"&&(s--,s===0))break}else if(e.length>t+9&&e[t+1]==="["&&e[t+2]==="C"&&e[t+3]==="D"&&e[t+4]==="A"&&e[t+5]==="T"&&e[t+6]==="A"&&e[t+7]==="["){for(t+=8;t<e.length;t++)if(e[t]==="]"&&e[t+1]==="]"&&e[t+2]===">"){t+=2;break}}return t}var Be='"',Se="'";function xe(e,t){let s="",n="",i=!1;for(;t<e.length;t++){if(e[t]===Be||e[t]===Se)n===""?n=e[t]:n!==e[t]||(n="");else if(e[t]===">"&&n===""){i=!0;break}s+=e[t]}return n!==""?!1:{value:s,index:t,tagClosed:i}}var Je=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function j(e,t){let s=M.getAllMatches(e,Je),n={};for(let i=0;i<s.length;i++){if(s[i][1].length===0)return f("InvalidAttr","Attribute '"+s[i][2]+"' has no space in starting.",F(s[i]));if(s[i][3]===void 0&&!t.allowBooleanAttributes)return f("InvalidAttr","boolean attribute '"+s[i][2]+"' is not allowed.",F(s[i]));let r=s[i][2];if(!Ze(r))return f("InvalidAttr","Attribute '"+r+"' is an invalid name.",F(s[i]));if(!n.hasOwnProperty(r))n[r]=1;else return f("InvalidAttr","Attribute '"+r+"' is repeated.",F(s[i]))}return!0}function Re(e,t){let s=/\d/;for(e[t]==="x"&&(t++,s=/[\da-fA-F]/);t<e.length;t++){if(e[t]===";")return t;if(!e[t].match(s))break}return-1}function Le(e,t){if(t++,e[t]===";")return-1;if(e[t]==="#")return t++,Re(e,t);let s=0;for(;t<e.length;t++,s++)if(!(e[t].match(/\w/)&&s<20)){if(e[t]===";")break;return-1}return t}function f(e,t,s){return{err:{code:e,msg:t,line:s.line||s,col:s.col}}}function Ze(e){return M.isName(e)}function $e(e){return M.isName(e)}function g(e,t){let s=e.substring(0,t).split(/\r?\n/);return{line:s.length,col:s[s.length-1].length+1}}function F(e){return e.startIndex+e[1].length}});var se=C(ne=>{"use strict";var y=function(e){return String.fromCharCode(e)},c={nilChar:y(176),missingChar:y(201),nilPremitive:y(175),missingPremitive:y(200),emptyChar:y(178),emptyValue:y(177),boundryChar:y(179),objStart:y(198),arrStart:y(204),arrayEnd:y(185)},Xe=[c.nilChar,c.nilPremitive,c.missingChar,c.missingPremitive,c.boundryChar,c.emptyChar,c.emptyValue,c.arrayEnd,c.objStart,c.arrStart],I=function(e,t,s){if(typeof t=="string")return e&&e[0]&&e[0].val!==void 0?B(e[0].val,t):B(e,t);{let n=Qe(e);if(n===!0){let i="";if(Array.isArray(t)){i+=c.arrStart;let r=t[0],u=e.length;if(typeof r=="string")for(let a=0;a<u;a++){let o=B(e[a].val,r);i=S(i,o)}else for(let a=0;a<u;a++){let o=I(e[a],r,s);i=S(i,o)}i+=c.arrayEnd}else{i+=c.objStart;let r=Object.keys(t);Array.isArray(e)&&(e=e[0]);for(let u in r){let a=r[u],o;!s.ignoreAttributes&&e.attrsMap&&e.attrsMap[a]?o=I(e.attrsMap[a],t[a],s):a===s.textNodeName?o=I(e.val,t[a],s):o=I(e.child[a],t[a],s),i=S(i,o)}}return i}else return n}},B=function(e){switch(e){case void 0:return c.missingPremitive;case null:return c.nilPremitive;case"":return c.emptyValue;default:return e}},S=function(e,t){return!te(t[0])&&!te(e[e.length-1])&&(e+=c.boundryChar),e+t},te=function(e){return Xe.indexOf(e)!==-1};function Qe(e){return e===void 0?c.missingChar:e===null?c.nilChar:e.child&&Object.keys(e.child).length===0&&(!e.attrsMap||Object.keys(e.attrsMap).length===0)?c.emptyChar:!0}var re=E(),Ye=T().buildOptions,ze=function(e,t,s){return s=Ye(s,re.defaultOptions,re.props),I(e,t,s)};ne.convert2nimn=ze});var ae=C(oe=>{"use strict";var k=T(),Ke=T().buildOptions,ie=E(),Ue=function(e,t){return t=Ke(t,ie.defaultOptions,ie.props),t.indentBy=t.indentBy||"",x(e,t,0)},x=function(e,t,s){let n="{",i=Object.keys(e.child);for(let r=0;r<i.length;r++){let u=i[r];if(e.child[u]&&e.child[u].length>1){n+='"'+u+'" : [ ';for(let a in e.child[u])n+=x(e.child[u][a],t)+" , ";n=n.substr(0,n.length-1)+" ] "}else n+='"'+u+'" : '+x(e.child[u][0],t)+" ,"}return k.merge(n,e.attrsMap),k.isEmptyObject(n)?k.isExist(e.val)?e.val:"":(k.isExist(e.val)&&(typeof e.val=="string"&&(e.val===""||e.val===t.cdataPositionChar)||(n+='"'+t.textNodeName+'" : '+We(e.val))),n[n.length-1]===","&&(n=n.substr(0,n.length-2)),n+"}")};function We(e){return e===!0||e===!1||!isNaN(e)?e:'"'+e+'"'}oe.convertToJsonString=Ue});var fe=C((bt,ce)=>{"use strict";var _e=T().buildOptions,Ge={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataTagName:!1,cdataPositionChar:"\\c",format:!1,indentBy:" ",supressEmptyNode:!1,tagValueProcessor:function(e){return e},attrValueProcessor:function(e){return e}},He=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","cdataTagName","cdataPositionChar","format","indentBy","supressEmptyNode","tagValueProcessor","attrValueProcessor","rootNodeName"];function J(e){this.options=_e(e,Ge,He),this.options.ignoreAttributes||this.options.attrNodeName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=st),this.options.cdataTagName?this.isCDATA=it:this.isCDATA=function(){return!1},this.replaceCDATAstr=De,this.replaceCDATAarr=et,this.processTextOrObjNode=je,this.options.format?(this.indentate=nt,this.tagEndChar=`>
|
@@ -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.20250530 */
|
3
|
+
v1.0.0-next.20250530.1 */
|
4
4
|
var p;(function(e){e.BMP="bmp",e.GIF="gif",e.JPG="jpg",e.JPG_PNG="jpgpng",e.PNG="png",e.PNG8="png8",e.PNG24="png24",e.TIFF="tiff",e.PNG32="png32",e.BIP="bip",e.BSQ="bsq",e.LERC="lerc",e.CSV="csv",e.EXCEL="excel",e.FEATURE_COLLECTION="featureCollection",e.FILE_GDB="filegdb",e.GEOJSON="geojson",e.GEO_PACKAGE="geoPackage",e.JSON="json",e.KML="kml",e.SHAPEFILE="shapefile",e.SQLITE="sqlite"})(p||(p={}));var t;(function(e){e.PENDING="pending",e.PROCESSING="processing",e.CONVERTING="converting",e.COMPLETED="completed",e.FAILED="failed"})(t||(t={}));var P=class extends Error{constructor(s){super(s.rawMessage),this.name="ArcgisHubDownloadError",this.message=s.rawMessage,this.messageId=s.messageId,this.operation=s.operation}};export{p as a,t as b,P as c};
|
@@ -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.20250530 */
|
4
|
-
import{a as e,b as i,c as l,d as s,e as t}from"./
|
3
|
+
v1.0.0-next.20250530.1 */
|
4
|
+
import{a as e,b as i,c as l,d as s,e as t}from"./223GEOHY.js";import{a as r}from"./CH5PRHPR.js";import"./IDBD7LSX.js";import"./NTHWDWQ4.js";import"./GV3IWFPF.js";import"./HMGYITJ2.js";import"./SGUBT5JB.js";import"./CXJ53YNZ.js";import"./M6XUGB2Z.js";import"./7NWNTAMW.js";import"./CPBYDRAF.js";import"./UQ6BMBWB.js";import"./I5VSPGGJ.js";import"./BV76MPA5.js";import"./HYIN2EAD.js";import"./VHCT5ETZ.js";import"./YR5E3HFV.js";import"./EK4MS2HQ.js";import"./GJWN4WP3.js";import"./C34H6SGK.js";import"./RX6Y3JHB.js";import"./NNRPVDMT.js";import"./SGGIVA63.js";import"./C556IKNJ.js";import"./GZU2CPZN.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",clearOnHidden:!0,type:"number",messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
|
@@ -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.20250530 */
|
4
|
-
import{a as t}from"./
|
3
|
+
v1.0.0-next.20250530.1 */
|
4
|
+
import{a as t}from"./FDZTWT7F.js";import"./RVQUWOMM.js";import"./RC47QK6Z.js";import"./NBHU4HTV.js";import"./2T7OWYJF.js";import"./ILUBVWJF.js";import"./GV3IWFPF.js";import"./GZU2CPZN.js";var m=async(a,e,c)=>{let i=await t(a,e,c);return e.canEdit&&i.elements.splice(0,0,{type:"Notice",options:{noticeId:"20250311-channel-edit-warning"}}),i};export{m as buildUiSchema};
|
@@ -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.20250530 */
|
4
|
-
import{a as r}from"./
|
3
|
+
v1.0.0-next.20250530.1 */
|
4
|
+
import{a as r}from"./TP3QX5HT.js";import{D as o,I as n,c as i,d as t,q as s}from"./RTFLMETG.js";import"./GZU2CPZN.js";var a=i`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -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.20250530 */
|
4
|
-
import{a as r,b as d}from"./
|
3
|
+
v1.0.0-next.20250530.1 */
|
4
|
+
import{a as r,b as d}from"./R7OODGTN.js";import{b as o}from"./CCKIOTSJ.js";import{D as n,I as a,c as t,d as s}from"./RTFLMETG.js";import"./GZU2CPZN.js";var h=t`/**
|
5
5
|
* @license
|
6
6
|
* Copyright 2025 Esri
|
7
7
|
*
|