@esri/hub-web-components 0.25.0 → 0.26.0
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/24OG774W.js +4 -0
- package/dist/cdn/26U4PX6K.js +4 -0
- package/dist/cdn/27KNHYLW.js +4 -0
- package/dist/cdn/2A3QWERX.js +4 -0
- package/dist/cdn/2B7NHMIN.js +4 -0
- package/dist/cdn/2DP47HD4.js +4 -0
- package/dist/cdn/2DT73XX6.js +4 -0
- package/dist/cdn/2GWIXCC7.js +4 -0
- package/dist/cdn/2HAKCATM.js +4 -0
- package/dist/cdn/2HXW7EZR.js +4 -0
- package/dist/cdn/2ICRMOKX.js +4 -0
- package/dist/cdn/2JBK5SNV.js +4 -0
- package/dist/cdn/2KT5GN4B.js +4 -0
- package/dist/cdn/2LCKOG7G.js +4 -0
- package/dist/cdn/2MZR2E7H.js +4 -0
- package/dist/cdn/2PUWRCAL.js +4 -0
- package/dist/cdn/2RFZ3M6I.js +4 -0
- package/dist/cdn/2TN7GCKZ.js +4 -0
- package/dist/cdn/2ULRUAVB.js +4 -0
- package/dist/cdn/2V74XJHI.js +4 -0
- package/dist/cdn/2VNTRSME.js +4 -0
- package/dist/cdn/2VUEYCPF.js +4 -0
- package/dist/cdn/2XZQFK52.js +4 -0
- package/dist/cdn/2YK22MKI.js +4 -0
- package/dist/cdn/35TYOWEK.js +4 -0
- package/dist/cdn/36AH34CX.js +4 -0
- package/dist/cdn/36RNW7LC.js +4 -0
- package/dist/cdn/3A7GC72S.js +4 -0
- package/dist/cdn/3CLS3CKG.js +4 -0
- package/dist/cdn/3CMVJXNR.js +4 -0
- package/dist/cdn/3EJLW7QW.js +4 -0
- package/dist/cdn/3EPXWBO5.js +4 -0
- package/dist/cdn/3F3OLOL2.js +4 -0
- package/dist/cdn/3GZXIH3P.js +4 -0
- package/dist/cdn/3HW36VUU.js +4 -0
- package/dist/cdn/3ILX6MSA.js +4 -0
- package/dist/cdn/3MAFLANR.js +4 -0
- package/dist/cdn/3OWN4VDE.js +4 -0
- package/dist/cdn/3PSC6FA7.js +4 -0
- package/dist/cdn/3QAAOAM2.js +4 -0
- package/dist/cdn/3TEQAB4S.js +4 -0
- package/dist/cdn/3VAIGPMO.js +4 -0
- package/dist/cdn/3XBUX622.js +4 -0
- package/dist/cdn/3YBJYRUN.js +4 -0
- package/dist/cdn/437ZYRE3.js +6 -0
- package/dist/cdn/43W2DWXD.js +4 -0
- package/dist/cdn/4423ADWB.js +4 -0
- package/dist/cdn/45O24ZJL.js +4 -0
- package/dist/cdn/465ZO3UB.js +4 -0
- package/dist/cdn/4B2JJOXC.js +4 -0
- package/dist/cdn/4BTRPPNN.js +4 -0
- package/dist/cdn/4CATFMSI.js +4 -0
- package/dist/cdn/4CHZULMP.js +4 -0
- package/dist/cdn/4FWP7K4V.js +4 -0
- package/dist/cdn/4HNL4ZJY.js +4 -0
- package/dist/cdn/4HTODP2V.js +4 -0
- package/dist/cdn/4I2RVVFV.js +4 -0
- package/dist/cdn/4ICM5USL.js +4 -0
- package/dist/cdn/4IUZ745W.js +4 -0
- package/dist/cdn/4J7M25W6.js +4 -0
- package/dist/cdn/4JVPPO27.js +4 -0
- package/dist/cdn/4KRTSQ7O.js +41 -0
- package/dist/cdn/4KXDEPHD.js +4 -0
- package/dist/cdn/4MXZQRPH.js +4 -0
- package/dist/cdn/4SBZN6CM.js +4 -0
- package/dist/cdn/4SQ4GGBQ.js +4 -0
- package/dist/cdn/4SZNFX2S.js +4 -0
- package/dist/cdn/4XMIDFWK.js +4 -0
- package/dist/cdn/4YZKP4QS.js +4 -0
- package/dist/cdn/53DQPWB3.js +4 -0
- package/dist/cdn/53YVWLUE.js +4 -0
- package/dist/cdn/5DWJ4MKS.js +4 -0
- package/dist/cdn/5EEBE6AG.js +4 -0
- package/dist/cdn/5EVJAMJO.js +4 -0
- package/dist/cdn/5JNSH2DO.js +4 -0
- package/dist/cdn/5JW7P5MQ.js +4 -0
- package/dist/cdn/5L7XXTU2.js +4 -0
- package/dist/cdn/5LR7KH6G.js +4 -0
- package/dist/cdn/5PCJUPAC.js +42 -0
- package/dist/cdn/5RB4KI6R.js +4 -0
- package/dist/cdn/5TBT7NHX.js +4 -0
- package/dist/cdn/5TYQJ3DM.js +4 -0
- package/dist/cdn/5UDGR3EG.js +4 -0
- package/dist/cdn/5WHMIZOR.js +4 -0
- package/dist/cdn/5Y3RMVAA.js +4 -0
- package/dist/cdn/5YADKXIT.js +4 -0
- package/dist/cdn/62GTEZE3.js +4 -0
- package/dist/cdn/63CNVW3L.js +4 -0
- package/dist/cdn/64DOA6RN.js +4 -0
- package/dist/cdn/64SGJWQX.js +4 -0
- package/dist/cdn/6CU64SHW.js +4 -0
- package/dist/cdn/6D3VDFN5.js +4 -0
- package/dist/cdn/6DBTHBBB.js +4 -0
- package/dist/cdn/6FAP5J2P.js +4 -0
- package/dist/cdn/6FM3N62F.js +4 -0
- package/dist/cdn/6JV6YDUM.js +4 -0
- package/dist/cdn/6LGA4NGW.js +4 -0
- package/dist/cdn/6QW24KX4.js +4 -0
- package/dist/cdn/6RU5P7JF.js +4 -0
- package/dist/cdn/6VPW6E5P.js +4 -0
- package/dist/cdn/6W634GQR.js +4 -0
- package/dist/cdn/6ZKLIBNY.js +4 -0
- package/dist/cdn/74EIS6DU.js +4 -0
- package/dist/cdn/76B6FYRZ.js +4 -0
- package/dist/cdn/76DGSVKD.js +4 -0
- package/dist/cdn/7DCGBE3H.js +4 -0
- package/dist/cdn/7DGL6VS4.js +4 -0
- package/dist/cdn/7DSWDZUY.js +4 -0
- package/dist/cdn/7GLNUBH2.js +4 -0
- package/dist/cdn/7JEKPX6L.js +4 -0
- package/dist/cdn/7KQTJC4Y.js +4 -0
- package/dist/cdn/7MQLM64Z.js +4 -0
- package/dist/cdn/7PKZGUZ2.js +4 -0
- package/dist/cdn/7QEHUQVY.js +4 -0
- package/dist/cdn/7RA564GF.js +4 -0
- package/dist/cdn/7RVSYUU5.js +4 -0
- package/dist/cdn/7TG5UEPR.js +4 -0
- package/dist/cdn/7TQQDS5A.js +4 -0
- package/dist/cdn/7UANUYEV.js +4 -0
- package/dist/cdn/7V7RRKU6.js +4 -0
- package/dist/cdn/7VB3GE2G.js +4 -0
- package/dist/cdn/7VPVBMRX.js +4 -0
- package/dist/cdn/7YKKISZZ.js +25 -0
- package/dist/cdn/7YXSRN7F.js +16 -0
- package/dist/cdn/AFH6CSPB.js +4 -0
- package/dist/cdn/ALR5ZAZ4.js +4 -0
- package/dist/cdn/ANC64YEF.js +4 -0
- package/dist/cdn/APTKCFQL.js +4 -0
- package/dist/cdn/ARDUGNMF.js +4 -0
- package/dist/cdn/AVKPXJX7.js +4 -0
- package/dist/cdn/AWTMNW2V.js +4 -0
- package/dist/cdn/AZ5AV37N.js +4 -0
- package/dist/cdn/B2GYFSOH.js +4 -0
- package/dist/cdn/B3VHX7NO.js +4 -0
- package/dist/cdn/B5BWROF3.js +4 -0
- package/dist/cdn/B7TMEYIW.js +4 -0
- package/dist/cdn/BBIJN7LU.js +4 -0
- package/dist/cdn/BEQ7MTDO.js +4 -0
- package/dist/cdn/BFRL2RDT.js +4 -0
- package/dist/cdn/BFWRHB7T.js +4 -0
- package/dist/cdn/BIFYPBKU.js +4 -0
- package/dist/cdn/BJ65UJBY.js +4 -0
- package/dist/cdn/BMDXEUV3.js +4 -0
- package/dist/cdn/BMFS2X5T.js +4 -0
- package/dist/cdn/BMLPFGLI.js +4 -0
- package/dist/cdn/BPKCWYG3.js +4 -0
- package/dist/cdn/BSOZBI5R.js +4 -0
- package/dist/cdn/BTPOX7A3.js +4 -0
- package/dist/cdn/BUHVXEL5.js +4 -0
- package/dist/cdn/BWJMZKIF.js +4 -0
- package/dist/cdn/BX3DDEA5.js +4 -0
- package/dist/cdn/BXOZMYKC.js +4 -0
- package/dist/cdn/BZW7UK6Z.js +4 -0
- package/dist/cdn/C2VH63MK.js +4 -0
- package/dist/cdn/C33MELKI.js +4 -0
- package/dist/cdn/C5KXQBED.js +4 -0
- package/dist/cdn/C7FDZEWI.js +4 -0
- package/dist/cdn/CAY77ED4.js +4 -0
- package/dist/cdn/CDJKF4LM.js +4 -0
- package/dist/cdn/CDS2VBXD.js +4 -0
- package/dist/cdn/CEM35PK4.js +4 -0
- package/dist/cdn/CH2IMSON.js +4 -0
- package/dist/cdn/CITIOB5T.js +4 -0
- package/dist/cdn/CJ2EGJS6.js +4 -0
- package/dist/cdn/CJNJGDDD.js +4 -0
- package/dist/cdn/CJYZEGDD.js +4 -0
- package/dist/cdn/CLG332QE.js +4 -0
- package/dist/cdn/CMQCX2CL.js +4 -0
- package/dist/cdn/CMS26LUQ.js +4 -0
- package/dist/cdn/COB7KJGN.js +4 -0
- package/dist/cdn/COF4GGNX.js +4 -0
- package/dist/cdn/CPKZPHFG.js +4 -0
- package/dist/cdn/CPZP3LH7.js +11 -0
- package/dist/cdn/CYTIRTWL.js +4 -0
- package/dist/cdn/CZJWN7LA.js +4 -0
- package/dist/cdn/D5E2VHNU.js +4 -0
- package/dist/cdn/D62NAVGJ.js +4 -0
- package/dist/cdn/DACDPGJY.js +4 -0
- package/dist/cdn/DAEA6PTC.js +4 -0
- package/dist/cdn/DBG2XTL4.js +4 -0
- package/dist/cdn/DBRRT4VH.js +4 -0
- package/dist/cdn/DEQZU4AK.js +4 -0
- package/dist/cdn/DG7Y52L2.js +4 -0
- package/dist/cdn/DGS65WYK.js +4 -0
- package/dist/cdn/DITKIQJS.js +4 -0
- package/dist/cdn/DJFY54EJ.js +4 -0
- package/dist/cdn/DJGMH4XD.js +4 -0
- package/dist/cdn/DL7HJSDT.js +4 -0
- package/dist/cdn/DS54YSBF.js +4 -0
- package/dist/cdn/DTRZQWXK.js +4 -0
- package/dist/cdn/DWPPAAJN.js +4 -0
- package/dist/cdn/DWSH4A76.js +4 -0
- package/dist/cdn/DXJ54A3K.js +4 -0
- package/dist/cdn/DYAO5ZQN.js +4 -0
- package/dist/cdn/DYZ7J7C2.js +4 -0
- package/dist/cdn/E4SRHZB7.js +4 -0
- package/dist/cdn/E5N27C5O.js +4 -0
- package/dist/cdn/E6MDIVHC.js +4 -0
- package/dist/cdn/E6WBGLQO.js +4 -0
- package/dist/cdn/EAQ6IM3Z.js +4 -0
- package/dist/cdn/ECEXQDSK.js +4 -0
- package/dist/cdn/EEEICTXU.js +4 -0
- package/dist/cdn/EELY35H5.js +4 -0
- package/dist/cdn/EHKFUT3D.js +4 -0
- package/dist/cdn/EHL3XNJI.js +4 -0
- package/dist/cdn/EKFBCOGY.js +4 -0
- package/dist/cdn/EKTTNHNI.js +4 -0
- package/dist/cdn/ELFVUGGN.js +4 -0
- package/dist/cdn/ELMKBER2.js +4 -0
- package/dist/cdn/EM3B5DAZ.js +4 -0
- package/dist/cdn/ENA5RHRU.js +4 -0
- package/dist/cdn/EPDTQFA3.js +4 -0
- package/dist/cdn/EPOGE4WC.js +4 -0
- package/dist/cdn/ERAEAQVY.js +59 -0
- package/dist/cdn/ETWSJPEG.js +4 -0
- package/dist/cdn/EVWYJGF3.js +4 -0
- package/dist/cdn/EWOJSOVL.js +4 -0
- package/dist/cdn/EX6BZS23.js +4 -0
- package/dist/cdn/EY3LCFXT.js +4 -0
- package/dist/cdn/EZEOJ7PI.js +4 -0
- package/dist/cdn/F2WAB6Q3.js +4 -0
- package/dist/cdn/F4NVUGWQ.js +4 -0
- package/dist/cdn/F5ITHB4U.js +4 -0
- package/dist/cdn/FB2U3DEA.js +4 -0
- package/dist/cdn/FDF4ISML.js +4 -0
- package/dist/cdn/FDYR646T.js +4 -0
- package/dist/cdn/FDZQ636J.js +4 -0
- package/dist/cdn/FFAIIHNS.js +4 -0
- package/dist/cdn/FIADYE3A.js +4 -0
- package/dist/cdn/FIV3WQDQ.js +4 -0
- package/dist/cdn/FJXBG5GK.js +4 -0
- package/dist/cdn/FKNUQQA3.js +4 -0
- package/dist/cdn/FLKQMYCE.js +4 -0
- package/dist/cdn/FMN2VYZI.js +4 -0
- package/dist/cdn/FNF2X36M.js +4 -0
- package/dist/cdn/FTMVBM73.js +4 -0
- package/dist/cdn/FUU7EEU6.js +4 -0
- package/dist/cdn/FW6DPAV2.js +4 -0
- package/dist/cdn/FWRSCX45.js +4 -0
- package/dist/cdn/FX5SKVOV.js +4 -0
- package/dist/cdn/FX7C75AU.js +4 -0
- package/dist/cdn/FYE66UDP.js +4 -0
- package/dist/cdn/FYMXHDVM.js +4 -0
- package/dist/cdn/FYPQGAM5.js +4 -0
- package/dist/cdn/FZMLOUQD.js +4 -0
- package/dist/cdn/G2K2N2ZI.js +4 -0
- package/dist/cdn/G3TQANWM.js +4 -0
- package/dist/cdn/G44WNTOM.js +4 -0
- package/dist/cdn/G62QOE7F.js +4 -0
- package/dist/cdn/GCCPBHKZ.js +4 -0
- package/dist/cdn/GCWUSXMN.js +4 -0
- package/dist/cdn/GERTYGAF.js +4 -0
- package/dist/cdn/GFMBUTKG.js +4 -0
- package/dist/cdn/GGKWG4ZJ.js +4 -0
- package/dist/cdn/GH4K5Q76.js +4 -0
- package/dist/cdn/GHWXCFGX.js +4 -0
- package/dist/cdn/GILGU6QZ.js +4 -0
- package/dist/cdn/GJYWNRB5.js +4 -0
- package/dist/cdn/GKBBZMC5.js +4 -0
- package/dist/cdn/GKLK4P23.js +4 -0
- package/dist/cdn/GPE2TY3K.js +4 -0
- package/dist/cdn/GPNONCX2.js +4 -0
- package/dist/cdn/GQV4EJFI.js +4 -0
- package/dist/cdn/GTR4I4HY.js +4 -0
- package/dist/cdn/GWIQCI66.js +4 -0
- package/dist/cdn/GZXQC3PQ.js +4 -0
- package/dist/cdn/H34WDAMJ.js +4 -0
- package/dist/cdn/H6FQTMU5.js +4 -0
- package/dist/cdn/H6KSUJRJ.js +4 -0
- package/dist/cdn/HAEB2VMB.js +4 -0
- package/dist/cdn/HB2IMKEL.js +4 -0
- package/dist/cdn/HCBYAWS2.js +4 -0
- package/dist/cdn/HCKYKXHJ.js +4 -0
- package/dist/cdn/HDCPXW7U.js +5 -0
- package/dist/cdn/HEFEQOEL.js +4 -0
- package/dist/cdn/HEL6DQZJ.js +4 -0
- package/dist/cdn/HGFYNXPB.js +4 -0
- package/dist/cdn/HJRJZI67.js +4 -0
- package/dist/cdn/HLG4XGHL.js +4 -0
- package/dist/cdn/HMBCZSNR.js +4 -0
- package/dist/cdn/HMDOXDTX.js +4 -0
- package/dist/cdn/HN3Z5GQP.js +4 -0
- package/dist/cdn/HOOPTBYU.js +4 -0
- package/dist/cdn/HRMGFSR4.js +4 -0
- package/dist/cdn/HSA4ACMJ.js +4 -0
- package/dist/cdn/HUZLV5BJ.js +4 -0
- package/dist/cdn/HWVW354J.js +4 -0
- package/dist/cdn/HXYGNBYY.js +12 -0
- package/dist/cdn/HZEAYOQE.js +4 -0
- package/dist/cdn/I5N7IB5W.js +4 -0
- package/dist/cdn/IA5OIGEL.js +4 -0
- package/dist/cdn/IAOFHMQN.js +4 -0
- package/dist/cdn/ICFK7PMC.js +4 -0
- package/dist/cdn/ICHJN5SI.js +4 -0
- package/dist/cdn/IEBEYXON.js +4 -0
- package/dist/cdn/IEHZL3HZ.js +4 -0
- package/dist/cdn/IFOFJAS7.js +4 -0
- package/dist/cdn/IFOZLECV.js +4 -0
- package/dist/cdn/IGQ7ICA7.js +4 -0
- package/dist/cdn/IGX3QXWW.js +4 -0
- package/dist/cdn/IHAJC7AK.js +4 -0
- package/dist/cdn/IHOU4EXY.js +4 -0
- package/dist/cdn/IMJAXBLY.js +4 -0
- package/dist/cdn/IOCIWEWY.js +4 -0
- package/dist/cdn/IPTT4RSC.js +4 -0
- package/dist/cdn/ISQSC7ZF.js +4 -0
- package/dist/cdn/IU4FXXZQ.js +4 -0
- package/dist/cdn/IW737JB7.js +4 -0
- package/dist/cdn/IXFM4CZ2.js +4 -0
- package/dist/cdn/J2T5ROLI.js +4 -0
- package/dist/cdn/J3UCHPH6.js +4 -0
- package/dist/cdn/JCDUJCAB.js +4 -0
- package/dist/cdn/JCXU7TGZ.js +4 -0
- package/dist/cdn/JD7NIX7B.js +4 -0
- package/dist/cdn/JE3GKG7X.js +4 -0
- package/dist/cdn/JF276J5N.js +4 -0
- package/dist/cdn/JGKQHKDS.js +4 -0
- package/dist/cdn/JJTKBWAP.js +4 -0
- package/dist/cdn/JLLSF4FY.js +4 -0
- package/dist/cdn/JNWD6RDQ.js +4 -0
- package/dist/cdn/JOBUJO5U.js +4 -0
- package/dist/cdn/JOO5Q5AF.js +4 -0
- package/dist/cdn/JQIGQOUD.js +4 -0
- package/dist/cdn/JQS6SVM4.js +4 -0
- package/dist/cdn/JR5C4PKL.js +4 -0
- package/dist/cdn/JTQQOH54.js +4 -0
- package/dist/cdn/JUPINWD3.js +4 -0
- package/dist/cdn/JUYRDZFY.js +4 -0
- package/dist/cdn/JVCXDN2F.js +4 -0
- package/dist/cdn/JYRFBM7N.js +8 -0
- package/dist/cdn/K2G6SPKG.js +4 -0
- package/dist/cdn/K34TU4HE.js +4 -0
- package/dist/cdn/KDFYZ6IA.js +4 -0
- package/dist/cdn/KDORCFWT.js +4 -0
- package/dist/cdn/KEWVC6LL.js +4 -0
- package/dist/cdn/KJ4F5DFQ.js +4 -0
- package/dist/cdn/KJA5F36V.js +4 -0
- package/dist/cdn/KK5O7BPZ.js +4 -0
- package/dist/cdn/KMY5LWPD.js +4 -0
- package/dist/cdn/KPH55CMC.js +4 -0
- package/dist/cdn/KRF3CEDL.js +4 -0
- package/dist/cdn/KSWPCBUC.js +4 -0
- package/dist/cdn/KSWWOZR4.js +4 -0
- package/dist/cdn/KVEOKRJX.js +4 -0
- package/dist/cdn/KZWLY5UF.js +4 -0
- package/dist/cdn/L26WG4JX.js +4 -0
- package/dist/cdn/L2FAAJZF.js +4 -0
- package/dist/cdn/L37UXN3L.js +4 -0
- package/dist/cdn/L3ZYACN6.js +4 -0
- package/dist/cdn/L5QNZUKH.js +4 -0
- package/dist/cdn/LDUMY4OB.js +4 -0
- package/dist/cdn/LPGWEBUB.js +4 -0
- package/dist/cdn/LSS3T6IR.js +4 -0
- package/dist/cdn/LTUABLCP.js +4 -0
- package/dist/cdn/LW55YLXW.js +4 -0
- package/dist/cdn/LWPRV3LB.js +4 -0
- package/dist/cdn/LYSGQFYT.js +4 -0
- package/dist/cdn/M3MSFAZW.js +6 -0
- package/dist/cdn/M4HWEJ2J.js +4 -0
- package/dist/cdn/M534UXRO.js +4 -0
- package/dist/cdn/M6JVB7NV.js +4 -0
- package/dist/cdn/M7KHF7XD.js +4 -0
- package/dist/cdn/MBW53DPQ.js +4 -0
- package/dist/cdn/MDNU3V73.js +4 -0
- package/dist/cdn/MEGDVYEV.js +4 -0
- package/dist/cdn/MEZPUH7E.js +4 -0
- package/dist/cdn/MFR4IX7Q.js +4 -0
- package/dist/cdn/MG3TB7MT.js +4 -0
- package/dist/cdn/MKXTO2TM.js +4 -0
- package/dist/cdn/MLBXQVTN.js +4 -0
- package/dist/cdn/MNSJVDJR.js +4 -0
- package/dist/cdn/MR6HZ4BD.js +4 -0
- package/dist/cdn/MX7TZCAD.js +4 -0
- package/dist/cdn/MXPM42JG.js +4 -0
- package/dist/cdn/MYHRILIP.js +4 -0
- package/dist/cdn/MZDBEBZX.js +4 -0
- package/dist/cdn/MZVMCRSM.js +4 -0
- package/dist/cdn/N2R6KT5F.js +4 -0
- package/dist/cdn/N2WSQGSV.js +4 -0
- package/dist/cdn/N4H4OHYC.js +4 -0
- package/dist/cdn/N5EBHMGN.js +4 -0
- package/dist/cdn/N66IM6JD.js +6 -0
- package/dist/cdn/N7EYR4DC.js +4 -0
- package/dist/cdn/NAHFVXAR.js +4 -0
- package/dist/cdn/NB2SI4QG.js +4 -0
- package/dist/cdn/NB7FQ6LL.js +4 -0
- package/dist/cdn/ND6JGV2P.js +4 -0
- package/dist/cdn/NFEU2STS.js +4 -0
- package/dist/cdn/NFL2AEJS.js +4 -0
- package/dist/cdn/NHAGQBKH.js +4 -0
- package/dist/cdn/NHPSH6T5.js +4 -0
- package/dist/cdn/NJMJE6P4.js +4 -0
- package/dist/cdn/NMASPNES.js +4 -0
- package/dist/cdn/NMPHKKHZ.js +9 -0
- package/dist/cdn/NODGARR6.js +4 -0
- package/dist/cdn/NOP6BDG6.js +4 -0
- package/dist/cdn/NPBVYL7K.js +4 -0
- package/dist/cdn/NPSE23XV.js +4 -0
- package/dist/cdn/NPWTP4FB.js +4 -0
- package/dist/cdn/NQMQ5MDO.js +4 -0
- package/dist/cdn/NUVQ6QVE.js +4 -0
- package/dist/cdn/NUYOWJD2.js +4 -0
- package/dist/cdn/NVTK5V67.js +4 -0
- package/dist/cdn/NWNSONED.js +4 -0
- package/dist/cdn/NY43ZFLN.js +4 -0
- package/dist/cdn/NZHJWLY4.js +52 -0
- package/dist/cdn/NZOJ4PJO.js +4 -0
- package/dist/cdn/O2J3CZUR.js +4 -0
- package/dist/cdn/O45KRXJ2.js +4 -0
- package/dist/cdn/OBZG3VCQ.js +4 -0
- package/dist/cdn/OD5HQD5E.js +4 -0
- package/dist/cdn/OE35IAXP.js +4 -0
- package/dist/cdn/OE6KYR2Y.js +4 -0
- package/dist/cdn/OI5JFZ7J.js +4 -0
- package/dist/cdn/OKBVMEXB.js +4 -0
- package/dist/cdn/OMW3JU2Y.js +4 -0
- package/dist/cdn/OP5LK3KM.js +4 -0
- package/dist/cdn/OSRTTIQH.js +4 -0
- package/dist/cdn/OT2VHHD4.js +4 -0
- package/dist/cdn/OTPWSFSS.js +4 -0
- package/dist/cdn/OVAAGBR5.js +4 -0
- package/dist/cdn/OWQYLPJK.js +4 -0
- package/dist/cdn/OX2XCDK6.js +4 -0
- package/dist/cdn/OXM2Z4A4.js +4 -0
- package/dist/cdn/OZHQJK6B.js +4 -0
- package/dist/cdn/OZNASL4Z.js +4 -0
- package/dist/cdn/P4PAP4M5.js +4 -0
- package/dist/cdn/PBUSXVT6.js +4 -0
- package/dist/cdn/PDK5GISX.js +4 -0
- package/dist/cdn/PEG6TV56.js +4 -0
- package/dist/cdn/PEV7JG6J.js +5 -0
- package/dist/cdn/PF2LBSI2.js +4 -0
- package/dist/cdn/PF2X5NG3.js +4 -0
- package/dist/cdn/PHCU3ZUD.js +4 -0
- package/dist/cdn/PHYYB4W4.js +4 -0
- package/dist/cdn/PIIQ6XCT.js +4 -0
- package/dist/cdn/PNQ7ONBQ.js +4 -0
- package/dist/cdn/POFXWGQJ.js +4 -0
- package/dist/cdn/POKKWQCI.js +4 -0
- package/dist/cdn/PR5AH6QD.js +4 -0
- package/dist/cdn/PRTXQWYM.js +4 -0
- package/dist/cdn/PS4KDMXG.js +4 -0
- package/dist/cdn/PVS3RCB2.js +4 -0
- package/dist/cdn/PYAWQWUG.js +4 -0
- package/dist/cdn/Q26DTVTS.js +4 -0
- package/dist/cdn/Q2QQIIG4.js +4 -0
- package/dist/cdn/Q6ESMPSH.js +5 -0
- package/dist/cdn/Q7FPFGWA.js +4 -0
- package/dist/cdn/Q7HDAHTA.js +4 -0
- package/dist/cdn/QAIWMMIU.js +4 -0
- package/dist/cdn/QH2HUDAE.js +4 -0
- package/dist/cdn/QIHTMX7Z.js +4 -0
- package/dist/cdn/QJNCDALL.js +4 -0
- package/dist/cdn/QJQULAFC.js +4 -0
- package/dist/cdn/QMBAA2QR.js +4 -0
- package/dist/cdn/QN24GA5L.js +4 -0
- package/dist/cdn/QOGK6XQD.js +4 -0
- package/dist/cdn/QP72SG3R.js +4 -0
- package/dist/cdn/QW7NAH2S.js +4 -0
- package/dist/cdn/QWPX2EMR.js +4 -0
- package/dist/cdn/QX2H4JWR.js +4 -0
- package/dist/cdn/QZOBZL4V.js +4 -0
- package/dist/cdn/R2GTUXOO.js +4 -0
- package/dist/cdn/R2RCRFOD.js +4 -0
- package/dist/cdn/R36Z3BBM.js +5 -0
- package/dist/cdn/RCPQCIOZ.js +4 -0
- package/dist/cdn/RHPT4RGH.js +4 -0
- package/dist/cdn/RIZDV5IO.js +4 -0
- package/dist/cdn/RJFW6WCA.js +4 -0
- package/dist/cdn/RK77LJ6K.js +4 -0
- package/dist/cdn/RLEZOJ6O.js +4 -0
- package/dist/cdn/RLZM7PLE.js +4 -0
- package/dist/cdn/RPJX342M.js +4 -0
- package/dist/cdn/RPSBVAS6.js +4 -0
- package/dist/cdn/RWSF5RBK.js +4 -0
- package/dist/cdn/S43RF5NU.js +4 -0
- package/dist/cdn/S6RXYT3L.js +4 -0
- package/dist/cdn/SERZ7DTE.js +4 -0
- package/dist/cdn/SGPM3YSK.js +4 -0
- package/dist/cdn/SHHBO6RH.js +4 -0
- package/dist/cdn/SHRYAXAG.js +5470 -0
- package/dist/cdn/SHSSUYDH.js +4 -0
- package/dist/cdn/SKKSXSPE.js +4 -0
- package/dist/cdn/SKRY2IH3.js +4 -0
- package/dist/cdn/SLJTIVOF.js +4 -0
- package/dist/cdn/SLP43IHE.js +4 -0
- package/dist/cdn/SMPVQXR7.js +4 -0
- package/dist/cdn/SMZT6R3A.js +4 -0
- package/dist/cdn/SN2EMT74.js +24 -0
- package/dist/cdn/SORVPHFM.js +4 -0
- package/dist/cdn/SQXIH4W2.js +4 -0
- package/dist/cdn/SS6LFQS6.js +4 -0
- package/dist/cdn/SU7CHYPQ.js +4 -0
- package/dist/cdn/SUSER4N2.js +4 -0
- package/dist/cdn/SYCUD3PI.js +4 -0
- package/dist/cdn/T3NSMME4.js +4 -0
- package/dist/cdn/T5GHNJ2T.js +4 -0
- package/dist/cdn/T5N7J5KA.js +4 -0
- package/dist/cdn/T6D2N3FF.js +4 -0
- package/dist/cdn/T6IPTMSG.js +4 -0
- package/dist/cdn/T7Z4KVUW.js +4 -0
- package/dist/cdn/TC2M7FAU.js +4 -0
- package/dist/cdn/TEGWYKXW.js +4 -0
- package/dist/cdn/TFGW2L2B.js +4 -0
- package/dist/cdn/TIAICG2U.js +4 -0
- package/dist/cdn/TICRCLFY.js +4 -0
- package/dist/cdn/TJPJDHZM.js +4 -0
- package/dist/cdn/TKICAO5D.js +4 -0
- package/dist/cdn/TMKPRZK2.js +4 -0
- package/dist/cdn/TNN6LB7Q.js +4 -0
- package/dist/cdn/TPKPNM47.js +4 -0
- package/dist/cdn/TSMBDRAG.js +4 -0
- package/dist/cdn/TTHHX7RQ.js +4 -0
- package/dist/cdn/TUF6WBVM.js +4 -0
- package/dist/cdn/TUJP4XCY.js +4 -0
- package/dist/cdn/TWEVLU63.js +51 -0
- package/dist/cdn/TX4IADXK.js +4 -0
- package/dist/cdn/TXRVYD6C.js +4 -0
- package/dist/cdn/TYYUKYEY.js +4 -0
- package/dist/cdn/U3ATSP64.js +4 -0
- package/dist/cdn/U4ORGULB.js +4 -0
- package/dist/cdn/U5VLORW4.js +4 -0
- package/dist/cdn/U7FULIXO.js +4 -0
- package/dist/cdn/UBL2OGTK.js +4 -0
- package/dist/cdn/UBZ4BXC2.js +4 -0
- package/dist/cdn/UGIMNCVZ.js +4 -0
- package/dist/cdn/UGLOHF2U.js +4 -0
- package/dist/cdn/UGOSLTPP.js +4 -0
- package/dist/cdn/UJXT3RRS.js +4 -0
- package/dist/cdn/UJXUL23D.js +4 -0
- package/dist/cdn/UMDYHBIG.js +4 -0
- package/dist/cdn/UMHGLDT6.js +4 -0
- package/dist/cdn/UMQYJ6KV.js +4 -0
- package/dist/cdn/UQU3OZTH.js +4 -0
- package/dist/cdn/USI3KMYN.js +59 -0
- package/dist/cdn/USSPEMMP.js +4 -0
- package/dist/cdn/UU3MG76S.js +4 -0
- package/dist/cdn/UUQLUH2O.js +4 -0
- package/dist/cdn/UVPVIXOF.js +4 -0
- package/dist/cdn/UWA6KZ2S.js +4 -0
- package/dist/cdn/UWCEUHK2.js +4 -0
- package/dist/cdn/UX6BWXYY.js +4 -0
- package/dist/cdn/UZ6K434Q.js +4 -0
- package/dist/cdn/V2FTELCV.js +4 -0
- package/dist/cdn/V4AQQ67V.js +4 -0
- package/dist/cdn/V4HLTNXK.js +4 -0
- package/dist/cdn/V4MWZKRJ.js +4 -0
- package/dist/cdn/V4VIWGM4.js +4 -0
- package/dist/cdn/VA2ZME6A.js +4 -0
- package/dist/cdn/VAIGF62G.js +4 -0
- package/dist/cdn/VB4NPZ7S.js +4 -0
- package/dist/cdn/VBUCTPOF.js +4 -0
- package/dist/cdn/VHT4WQQ6.js +4 -0
- package/dist/cdn/VHVDVZ5G.js +4 -0
- package/dist/cdn/VKZ6FIWT.js +4 -0
- package/dist/cdn/VLQNTY6Y.js +4 -0
- package/dist/cdn/VNNO332M.js +4 -0
- package/dist/cdn/VNUZKQQU.js +4 -0
- package/dist/cdn/VP4LV43J.js +4 -0
- package/dist/cdn/VQC46XPC.js +4 -0
- package/dist/cdn/VQQ7W5UR.js +4 -0
- package/dist/cdn/VQUZNTR6.js +4 -0
- package/dist/cdn/VRH735CK.js +4 -0
- package/dist/cdn/VTGUAC3F.js +4 -0
- package/dist/cdn/VTKOXSPQ.js +4 -0
- package/dist/cdn/VVUEXTYH.js +4 -0
- package/dist/cdn/VWOGSUK6.js +4 -0
- package/dist/cdn/VX2RYVGD.js +4 -0
- package/dist/cdn/VX5L6KPR.js +4 -0
- package/dist/cdn/VYEXSR5N.js +4 -0
- package/dist/cdn/VZBWPPJK.js +4 -0
- package/dist/cdn/VZKWWLXV.js +4 -0
- package/dist/cdn/W3USU6OA.js +4 -0
- package/dist/cdn/W6JTCMUR.js +4 -0
- package/dist/cdn/W6VAJ63O.js +4 -0
- package/dist/cdn/WA5WTQLL.js +4 -0
- package/dist/cdn/WA5ZC4YX.js +4 -0
- package/dist/cdn/WB2QO4TI.js +4 -0
- package/dist/cdn/WI2YL4YI.js +4 -0
- package/dist/cdn/WKCVOYZL.js +4 -0
- package/dist/cdn/WNF3KDJF.js +4 -0
- package/dist/cdn/WNGKHEWL.js +4 -0
- package/dist/cdn/WNN63KIU.js +4 -0
- package/dist/cdn/WO574XYS.js +8 -0
- package/dist/cdn/WOV5ERNY.js +4 -0
- package/dist/cdn/WOYS3UCN.js +4 -0
- package/dist/cdn/WQ2XS7US.js +4 -0
- package/dist/cdn/WRP7CAJJ.js +4 -0
- package/dist/cdn/WWHMCPJF.js +4 -0
- package/dist/cdn/WYWNKFPI.js +4 -0
- package/dist/cdn/WYZ6NBZ4.js +4 -0
- package/dist/cdn/X5OD5M2E.js +4 -0
- package/dist/cdn/XA6Y2FC4.js +4 -0
- package/dist/cdn/XBMTHJVG.js +4 -0
- package/dist/cdn/XCVVSV6F.js +4 -0
- package/dist/cdn/XCWOCWZI.js +4 -0
- package/dist/cdn/XD3CIR5I.js +4 -0
- package/dist/cdn/XDQ46DZM.js +4 -0
- package/dist/cdn/XEG2EKV7.js +4 -0
- package/dist/cdn/XFFSHGBL.js +4 -0
- package/dist/cdn/XG4TOI3M.js +4 -0
- package/dist/cdn/XKLPKD3N.js +4 -0
- package/dist/cdn/XLUFXHHX.js +4 -0
- package/dist/cdn/XNETIXYJ.js +4 -0
- package/dist/cdn/XNZMAMQA.js +4 -0
- package/dist/cdn/XOHYEL57.js +4 -0
- package/dist/cdn/XQSL4EEJ.js +4 -0
- package/dist/cdn/XSB5YTBE.js +4 -0
- package/dist/cdn/XT45ODT3.js +4 -0
- package/dist/cdn/XUNSF35R.js +4 -0
- package/dist/cdn/XX5GLPOC.js +4 -0
- package/dist/cdn/XXED4YJX.js +4 -0
- package/dist/cdn/XYCULPQM.js +4 -0
- package/dist/cdn/XZ7IRN6L.js +4 -0
- package/dist/cdn/XZG4ZDH4.js +4 -0
- package/dist/cdn/Y23233PY.js +4 -0
- package/dist/cdn/Y3FQAWDL.js +4 -0
- package/dist/cdn/Y47WKZEZ.js +4 -0
- package/dist/cdn/Y4ETBSB4.js +4 -0
- package/dist/cdn/Y4OSQELN.js +4 -0
- package/dist/cdn/Y5ZI5VHU.js +4 -0
- package/dist/cdn/Y6MWCBTL.js +4 -0
- package/dist/cdn/Y6XSJC2S.js +4 -0
- package/dist/cdn/Y75CZDUT.js +4 -0
- package/dist/cdn/YC5GVM6P.js +4 -0
- package/dist/cdn/YEMQFXZ3.js +4 -0
- package/dist/cdn/YGG6MOBX.js +4 -0
- package/dist/cdn/YH3IOHOW.js +4 -0
- package/dist/cdn/YHFTROSN.js +4 -0
- package/dist/cdn/YL6XDS5S.js +5 -0
- package/dist/cdn/YT4PFFB4.js +4 -0
- package/dist/cdn/YTUYPE6C.js +4 -0
- package/dist/cdn/YUFM63SN.js +4 -0
- package/dist/cdn/YVWUHZ7P.js +4 -0
- package/dist/cdn/YXBEMABY.js +5 -0
- package/dist/cdn/YZ73VA46.js +4 -0
- package/dist/cdn/Z2CARKWC.js +4 -0
- package/dist/cdn/Z42QFYQF.js +4 -0
- package/dist/cdn/Z4OMMFHM.js +4 -0
- package/dist/cdn/Z5E4XIIX.js +4 -0
- package/dist/cdn/Z6TQELVV.js +4 -0
- package/dist/cdn/Z7722BNX.js +4 -0
- package/dist/cdn/ZB2YGFN3.js +4 -0
- package/dist/cdn/ZBVZFF7G.js +4 -0
- package/dist/cdn/ZESPAIUO.js +4 -0
- package/dist/cdn/ZFM4JBMP.js +4 -0
- package/dist/cdn/ZGHQJ33I.js +4 -0
- package/dist/cdn/ZLHQHXWJ.js +4 -0
- package/dist/cdn/ZMQFQ33X.js +4 -0
- package/dist/cdn/ZNRZILRD.js +4 -0
- package/dist/cdn/ZQQWP3MA.js +4 -0
- package/dist/cdn/ZTF56UD7.js +4 -0
- package/dist/cdn/ZTNLTVTJ.js +4 -0
- package/dist/cdn/ZWIWIN3O.js +4 -0
- package/dist/cdn/ZX3NSW4K.js +4 -0
- package/dist/cdn/ZXGNBZ4T.js +4 -0
- package/dist/cdn/ZYKSNDHE.js +12 -0
- package/dist/cdn/ZZIL2V6Y.js +4 -0
- package/dist/cdn/assets/layout-container/images/image-card-placeholder.svg +1 -0
- package/dist/cdn/assets/layout-container/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +3 -3
- package/dist/chunks/findColumnAndNodeIndex.js +2 -2
- package/dist/chunks/getResponsiveClasses.js +2 -2
- package/dist/chunks/interpolate-translations.js +128 -20
- package/dist/chunks/isNodeVisible.js +2 -2
- package/dist/chunks/layoutContext.js +8 -0
- package/dist/chunks/memoizeAsync.js +2 -2
- package/dist/chunks/migrateTextCard.js +2 -2
- package/dist/chunks/processLayout.js +81 -68
- package/dist/chunks/runtime.js +3 -3
- package/dist/chunks/state.js +2 -2
- package/dist/chunks/typeGuards.js +2 -2
- package/dist/chunks/useGlobalContext.js +2 -2
- package/dist/chunks/useT9n.js +2 -2
- package/dist/chunks/util.js +2 -2
- package/dist/components/arcgis-chat-shell/customElement.js +2 -2
- package/dist/components/arcgis-chat-ui/customElement.js +2 -2
- package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +2 -2
- package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.js +2 -2
- package/dist/components/arcgis-hub-ai-assistant/customElement.js +2 -2
- package/dist/components/arcgis-hub-entity-associations-card/customElement.js +2 -2
- package/dist/components/arcgis-hub-entity-metrics-card/customElement.js +2 -2
- package/dist/components/arcgis-hub-entity-status-card/customElement.js +2 -2
- package/dist/components/arcgis-hub-entity-view-layout/customElement.js +2 -2
- package/dist/components/arcgis-layout/customElement.js +2 -2
- package/dist/components/arcgis-layout-column/customElement.js +2 -2
- package/dist/components/arcgis-layout-container/customElement.js +123 -119
- package/dist/components/arcgis-layout-editor-toolbar/customElement.js +2 -2
- package/dist/components/arcgis-layout-node-controls/customElement.js +9 -8
- package/dist/components/arcgis-layout-node-editor/customElement.d.ts +1 -0
- package/dist/components/arcgis-layout-node-editor/customElement.js +29 -21
- package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.js +2 -2
- package/dist/components/arcgis-layout-node-highlight/customElement.js +34 -31
- package/dist/components/arcgis-layout-node-overlay/customElement.js +2 -2
- package/dist/components/arcgis-layout-row/customElement.js +2 -2
- package/dist/components/arcgis-layout-section/customElement.js +2 -2
- package/dist/components/arcgis-nav-card/customElement.js +2 -2
- package/dist/components/arcgis-text-card/customElement.js +2 -2
- package/dist/components/layouts/components/layout-node/customElement.js +2 -2
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/embed-config.js +2 -2
- package/dist/index.js +2 -2
- package/dist/loader.js +2 -2
- package/package.json +2 -2
- package/dist/cdn/27MW33ZR.js +0 -4
- package/dist/cdn/2A3Y6B6V.js +0 -4
- package/dist/cdn/2ALGBW6A.js +0 -6
- package/dist/cdn/2F5R25EP.js +0 -4
- package/dist/cdn/2FSG2AFL.js +0 -4
- package/dist/cdn/2HAYJXXJ.js +0 -4
- package/dist/cdn/2IEZDXWQ.js +0 -4
- package/dist/cdn/2IWDIGIE.js +0 -4
- package/dist/cdn/2J2PRVSQ.js +0 -4
- package/dist/cdn/2JTPIQKO.js +0 -4
- package/dist/cdn/2K7LJ2LL.js +0 -4
- package/dist/cdn/2KJCDPYL.js +0 -4
- package/dist/cdn/2KM6ISBP.js +0 -4
- package/dist/cdn/2MLWSCJS.js +0 -4
- package/dist/cdn/2NIH2KD3.js +0 -4
- package/dist/cdn/2PQUURT6.js +0 -4
- package/dist/cdn/2TOJ4VSV.js +0 -4
- package/dist/cdn/2UVJXIRX.js +0 -4
- package/dist/cdn/2WSBDJ7X.js +0 -4
- package/dist/cdn/2XVAM5ZK.js +0 -4
- package/dist/cdn/2XXI3M7W.js +0 -4
- package/dist/cdn/2YFWV5YK.js +0 -4
- package/dist/cdn/2ZDSBLVO.js +0 -4
- package/dist/cdn/32UPRXBL.js +0 -4
- package/dist/cdn/334O7BSP.js +0 -4
- package/dist/cdn/377DVNDV.js +0 -4
- package/dist/cdn/37GKUFI3.js +0 -4
- package/dist/cdn/37K632AV.js +0 -4
- package/dist/cdn/3B34JIL2.js +0 -4
- package/dist/cdn/3CWCYG4N.js +0 -4
- package/dist/cdn/3KFJ7MIZ.js +0 -4
- package/dist/cdn/3KGYFSBX.js +0 -4
- package/dist/cdn/3PHL3VGU.js +0 -4
- package/dist/cdn/3S2ZFIOT.js +0 -4
- package/dist/cdn/3S4NUZXG.js +0 -4
- package/dist/cdn/3XMLQ2HJ.js +0 -4
- package/dist/cdn/3YIUXPHB.js +0 -4
- package/dist/cdn/3ZQM7MKZ.js +0 -4
- package/dist/cdn/43HEY6GX.js +0 -4
- package/dist/cdn/455L5FTN.js +0 -4
- package/dist/cdn/46YDQXP3.js +0 -4
- package/dist/cdn/4AHIAY6F.js +0 -4
- package/dist/cdn/4AZDQQIN.js +0 -4
- package/dist/cdn/4C3DWUXB.js +0 -4
- package/dist/cdn/4CANLAFZ.js +0 -4
- package/dist/cdn/4CE52P4P.js +0 -4
- package/dist/cdn/4DJ7CEOB.js +0 -4
- package/dist/cdn/4EOSVTDB.js +0 -4
- package/dist/cdn/4HBLVQEB.js +0 -4
- package/dist/cdn/4IQSF54R.js +0 -4
- package/dist/cdn/4LA3XZ7H.js +0 -4
- package/dist/cdn/4OTTO4ZW.js +0 -4
- package/dist/cdn/4POTKXGZ.js +0 -4
- package/dist/cdn/4UMW4C5V.js +0 -4
- package/dist/cdn/4V72OKTD.js +0 -4
- package/dist/cdn/4VTTZP6H.js +0 -4
- package/dist/cdn/4X7EGB4F.js +0 -4
- package/dist/cdn/4YP2JILQ.js +0 -4
- package/dist/cdn/53DPW5OH.js +0 -4
- package/dist/cdn/53VLX2NH.js +0 -4
- package/dist/cdn/5533Y27Y.js +0 -4
- package/dist/cdn/5CEDA5QZ.js +0 -4
- package/dist/cdn/5CVIDHSI.js +0 -4
- package/dist/cdn/5E2MJVTE.js +0 -4
- package/dist/cdn/5ER6PS2K.js +0 -4
- package/dist/cdn/5GN7MT3C.js +0 -4
- package/dist/cdn/5IIFIMMV.js +0 -4
- package/dist/cdn/5IXVHMZN.js +0 -4
- package/dist/cdn/5JMNHDEH.js +0 -4
- package/dist/cdn/5MB7C6JG.js +0 -4
- package/dist/cdn/5N3EFVQQ.js +0 -4
- package/dist/cdn/5NEA5NZ5.js +0 -4
- package/dist/cdn/5UJ5VIEJ.js +0 -4
- package/dist/cdn/5VJ7Y6LE.js +0 -4
- package/dist/cdn/5XSSN52J.js +0 -4
- package/dist/cdn/63UT5YBV.js +0 -4
- package/dist/cdn/655O2CGI.js +0 -4
- package/dist/cdn/6BHOESRD.js +0 -4
- package/dist/cdn/6DQ236QE.js +0 -4
- package/dist/cdn/6GTVMWID.js +0 -4
- package/dist/cdn/6HWT55MZ.js +0 -4
- package/dist/cdn/6IWV2J2P.js +0 -4
- package/dist/cdn/6JK5HX2O.js +0 -4
- package/dist/cdn/6JOYX2FE.js +0 -4
- package/dist/cdn/6LLFL3BB.js +0 -4
- package/dist/cdn/6LXJNUHA.js +0 -4
- package/dist/cdn/6PJYJU4U.js +0 -5
- package/dist/cdn/6QNI4RCA.js +0 -11
- package/dist/cdn/6RMWXFIO.js +0 -4
- package/dist/cdn/6RUC64QA.js +0 -4
- package/dist/cdn/6SLSAONI.js +0 -4
- package/dist/cdn/6SUVYRP6.js +0 -4
- package/dist/cdn/6TXMNXA4.js +0 -4
- package/dist/cdn/6VXXMEQH.js +0 -4
- package/dist/cdn/6WZZNFFN.js +0 -4
- package/dist/cdn/6YAFQQKG.js +0 -4
- package/dist/cdn/74HK5XMO.js +0 -4
- package/dist/cdn/766I5VEK.js +0 -4
- package/dist/cdn/76CZI4SP.js +0 -4
- package/dist/cdn/76YKSIAE.js +0 -4
- package/dist/cdn/7BHZGWFM.js +0 -4
- package/dist/cdn/7HWGBVWO.js +0 -4
- package/dist/cdn/7IDVWO4L.js +0 -4
- package/dist/cdn/7IJRQM75.js +0 -4
- package/dist/cdn/7ITPOFNI.js +0 -4
- package/dist/cdn/7IY67R7W.js +0 -4
- package/dist/cdn/7KCBLBSO.js +0 -4
- package/dist/cdn/7KYIBC6D.js +0 -4
- package/dist/cdn/7L5V72ZZ.js +0 -4
- package/dist/cdn/7LOUDDTM.js +0 -4
- package/dist/cdn/7N4AGFVB.js +0 -4
- package/dist/cdn/7NFSVD42.js +0 -4
- package/dist/cdn/7PM643HP.js +0 -4
- package/dist/cdn/7T6G7QQP.js +0 -4
- package/dist/cdn/7THTST3M.js +0 -4
- package/dist/cdn/7VOVYNQB.js +0 -4
- package/dist/cdn/7ZJWEUVT.js +0 -4
- package/dist/cdn/A2CFX6A7.js +0 -4
- package/dist/cdn/A3KETM6X.js +0 -4
- package/dist/cdn/A5HIJL4F.js +0 -4
- package/dist/cdn/AA7IIX6B.js +0 -4
- package/dist/cdn/AAM44Z3A.js +0 -4
- package/dist/cdn/ADUBQ577.js +0 -4
- package/dist/cdn/AGXAZWAV.js +0 -4
- package/dist/cdn/AHACSTXK.js +0 -4
- package/dist/cdn/ANGNXUJS.js +0 -4
- package/dist/cdn/AOXNX36O.js +0 -4
- package/dist/cdn/APBBXWQR.js +0 -4
- package/dist/cdn/AQ4E43IP.js +0 -4
- package/dist/cdn/ARW5JD27.js +0 -4
- package/dist/cdn/ASQIE3FF.js +0 -4
- package/dist/cdn/AURAROPQ.js +0 -4
- package/dist/cdn/AVG3GBKG.js +0 -4
- package/dist/cdn/AVIUKFDO.js +0 -4
- package/dist/cdn/AXVM4LGE.js +0 -4
- package/dist/cdn/AZKZTQD3.js +0 -4
- package/dist/cdn/B47JNCWM.js +0 -4
- package/dist/cdn/B5RHAZ57.js +0 -4
- package/dist/cdn/B5RWNTB4.js +0 -4
- package/dist/cdn/B5W3HKVL.js +0 -4
- package/dist/cdn/B7WN3KGP.js +0 -4
- package/dist/cdn/BAHEUUK4.js +0 -4
- package/dist/cdn/BASQWVD3.js +0 -4
- package/dist/cdn/BB223WGC.js +0 -4
- package/dist/cdn/BEKWOJDI.js +0 -4
- package/dist/cdn/BF2ZYHLY.js +0 -4
- package/dist/cdn/BG7M2Q2L.js +0 -4
- package/dist/cdn/BGHZULB4.js +0 -4
- package/dist/cdn/BHXNRR4M.js +0 -4
- package/dist/cdn/BIA6CRIE.js +0 -4
- package/dist/cdn/BKA46PYX.js +0 -4
- package/dist/cdn/BL2DCSUS.js +0 -4
- package/dist/cdn/BLIRNGHC.js +0 -4
- package/dist/cdn/BM5LINL5.js +0 -4
- package/dist/cdn/BN2PPEV4.js +0 -4
- package/dist/cdn/BNVL7MVD.js +0 -4
- package/dist/cdn/BQD35DMI.js +0 -4
- package/dist/cdn/BQVON4VK.js +0 -4
- package/dist/cdn/BVV3K5TW.js +0 -4
- package/dist/cdn/BW24HIRK.js +0 -4
- package/dist/cdn/BZPO2HYR.js +0 -4
- package/dist/cdn/BZSHTY67.js +0 -4
- package/dist/cdn/C2DX7GEP.js +0 -4
- package/dist/cdn/C2UBUA46.js +0 -4
- package/dist/cdn/C355PVO4.js +0 -4
- package/dist/cdn/C5FF5F24.js +0 -4
- package/dist/cdn/C6DPVG52.js +0 -4
- package/dist/cdn/CAHKPKRW.js +0 -4
- package/dist/cdn/CARK6MIO.js +0 -4
- package/dist/cdn/CB6LFFQU.js +0 -4
- package/dist/cdn/CBBTDAZB.js +0 -4
- package/dist/cdn/CCUVDMET.js +0 -4
- package/dist/cdn/CDMB7IVA.js +0 -4
- package/dist/cdn/CDQP35OH.js +0 -4
- package/dist/cdn/CDSFIIDQ.js +0 -4
- package/dist/cdn/CGH354ZO.js +0 -4
- package/dist/cdn/CJPA3KJ6.js +0 -4
- package/dist/cdn/CLHYI6WX.js +0 -4
- package/dist/cdn/CLSBGRXV.js +0 -4
- package/dist/cdn/CN4VI34G.js +0 -4
- package/dist/cdn/CR44FJYD.js +0 -4
- package/dist/cdn/CSKO2V3K.js +0 -4
- package/dist/cdn/CSPCAPT6.js +0 -52
- package/dist/cdn/CXA6LWJF.js +0 -25
- package/dist/cdn/CYWEF6AQ.js +0 -4
- package/dist/cdn/D3TZGQNI.js +0 -4
- package/dist/cdn/D5AQOYB7.js +0 -4
- package/dist/cdn/D7AIDMMA.js +0 -4
- package/dist/cdn/D7EWBMTC.js +0 -4
- package/dist/cdn/DAGB23LE.js +0 -4
- package/dist/cdn/DDOVSTBC.js +0 -4
- package/dist/cdn/DE4VQAAE.js +0 -4
- package/dist/cdn/DEMLLO4Q.js +0 -4
- package/dist/cdn/DHVSM6B5.js +0 -4
- package/dist/cdn/DLG7DFHE.js +0 -4
- package/dist/cdn/DNK6G6OH.js +0 -4
- package/dist/cdn/DNLYLIW2.js +0 -4
- package/dist/cdn/DP2PYXKF.js +0 -4
- package/dist/cdn/DRXO7PPM.js +0 -4
- package/dist/cdn/DXZDI4CK.js +0 -4
- package/dist/cdn/DYX3CXQ2.js +0 -4
- package/dist/cdn/E3AHOYWB.js +0 -4
- package/dist/cdn/EANZOBPL.js +0 -4
- package/dist/cdn/EAYPXUIG.js +0 -4
- package/dist/cdn/EBFEFJFD.js +0 -4
- package/dist/cdn/EBNIHKEF.js +0 -4
- package/dist/cdn/ECAPXZYT.js +0 -4
- package/dist/cdn/ECIIFWNB.js +0 -4
- package/dist/cdn/EDKQPDPN.js +0 -4
- package/dist/cdn/EDTHL5QI.js +0 -4
- package/dist/cdn/EFLLM2NZ.js +0 -4
- package/dist/cdn/EIAJMML4.js +0 -4
- package/dist/cdn/EIN6COSR.js +0 -4
- package/dist/cdn/EIQYFNUU.js +0 -4
- package/dist/cdn/EITV6KRH.js +0 -4
- package/dist/cdn/EKC627L4.js +0 -4
- package/dist/cdn/EKVRFMEG.js +0 -4
- package/dist/cdn/EL34QMLD.js +0 -4
- package/dist/cdn/ELEGTQLZ.js +0 -4
- package/dist/cdn/EM4SBQLM.js +0 -4
- package/dist/cdn/EMHBZHSH.js +0 -4
- package/dist/cdn/EO7XDZLQ.js +0 -4
- package/dist/cdn/EOUCABRN.js +0 -4
- package/dist/cdn/EPMF76S2.js +0 -4
- package/dist/cdn/EPQV23AM.js +0 -51
- package/dist/cdn/EPR3AGTO.js +0 -4
- package/dist/cdn/ERDPOBHM.js +0 -4
- package/dist/cdn/ESMVLN6I.js +0 -4
- package/dist/cdn/ESOGFZ3E.js +0 -5
- package/dist/cdn/EWX4TCC7.js +0 -4
- package/dist/cdn/EZKXX6QQ.js +0 -4
- package/dist/cdn/F2JPV6BE.js +0 -4
- package/dist/cdn/F32ZCKMZ.js +0 -4
- package/dist/cdn/F477RFPC.js +0 -4
- package/dist/cdn/F4UEMHRT.js +0 -5
- package/dist/cdn/F4UN2WTE.js +0 -4
- package/dist/cdn/F4VLNXYK.js +0 -4
- package/dist/cdn/F5GGS24Y.js +0 -4
- package/dist/cdn/F5HL2VLH.js +0 -4
- package/dist/cdn/F5HMVLG6.js +0 -4
- package/dist/cdn/F6DO25E3.js +0 -4
- package/dist/cdn/FBAGMFPF.js +0 -4
- package/dist/cdn/FDOYJRAG.js +0 -4
- package/dist/cdn/FFIIELY3.js +0 -4
- package/dist/cdn/FFZB2NSD.js +0 -4
- package/dist/cdn/FHJB2TMV.js +0 -4
- package/dist/cdn/FI3WYPGU.js +0 -4
- package/dist/cdn/FJ7YLBIW.js +0 -4
- package/dist/cdn/FJFLTBBV.js +0 -4
- package/dist/cdn/FK67J36J.js +0 -4
- package/dist/cdn/FKPHJ5ID.js +0 -4
- package/dist/cdn/FM36M4BS.js +0 -4
- package/dist/cdn/FOIQFXJ3.js +0 -4
- package/dist/cdn/FOR4ATS7.js +0 -4
- package/dist/cdn/FROY6JUB.js +0 -4
- package/dist/cdn/FS3DPYDB.js +0 -4
- package/dist/cdn/FSXLSTOQ.js +0 -4
- package/dist/cdn/FUEBNLBN.js +0 -4
- package/dist/cdn/FYDAUVHV.js +0 -4
- package/dist/cdn/FZ65AKJZ.js +0 -4
- package/dist/cdn/G5EO2PEV.js +0 -4
- package/dist/cdn/GDGFEW4F.js +0 -4
- package/dist/cdn/GDXFYGPD.js +0 -4
- package/dist/cdn/GEEQICZ3.js +0 -4
- package/dist/cdn/GGLNSDSS.js +0 -4
- package/dist/cdn/GGZMSHMJ.js +0 -6
- package/dist/cdn/GHV2GDJ5.js +0 -4
- package/dist/cdn/GJZEJ7JL.js +0 -4
- package/dist/cdn/GKGDEOVV.js +0 -4
- package/dist/cdn/GLNUIOGN.js +0 -4
- package/dist/cdn/GSRSBXMY.js +0 -4
- package/dist/cdn/GWTHR2OZ.js +0 -4
- package/dist/cdn/GXARA7OR.js +0 -4
- package/dist/cdn/GYC3SLIM.js +0 -4
- package/dist/cdn/GYUH3WK7.js +0 -4
- package/dist/cdn/GZFOKGS6.js +0 -4
- package/dist/cdn/H4DIMBJG.js +0 -4
- package/dist/cdn/HB4XPVPS.js +0 -4
- package/dist/cdn/HBJX6OOQ.js +0 -4
- package/dist/cdn/HEAH5NDB.js +0 -16
- package/dist/cdn/HGIXYMFB.js +0 -4
- package/dist/cdn/HGLIQUDP.js +0 -4
- package/dist/cdn/HGVKXBVT.js +0 -4
- package/dist/cdn/HGYDTZZE.js +0 -4
- package/dist/cdn/HI7BLNTC.js +0 -4
- package/dist/cdn/HMZZWCXR.js +0 -4
- package/dist/cdn/HQ6JXQ6Z.js +0 -4
- package/dist/cdn/HQG2AAJD.js +0 -4
- package/dist/cdn/HRP3E524.js +0 -4
- package/dist/cdn/HSILCW5E.js +0 -4
- package/dist/cdn/HUBRWZO5.js +0 -4
- package/dist/cdn/HUR7IYWU.js +0 -4
- package/dist/cdn/HUVXOXZH.js +0 -4
- package/dist/cdn/HX7PDWUD.js +0 -4
- package/dist/cdn/HXFKPBY6.js +0 -4
- package/dist/cdn/HZIAP3UR.js +0 -4
- package/dist/cdn/I4HLVV2O.js +0 -4
- package/dist/cdn/I53HKT5C.js +0 -4
- package/dist/cdn/I6FENF4E.js +0 -4
- package/dist/cdn/I6OBCENH.js +0 -5
- package/dist/cdn/I6U5QLNN.js +0 -4
- package/dist/cdn/IBUGY67K.js +0 -4
- package/dist/cdn/ICF3BSLC.js +0 -4
- package/dist/cdn/ID5PGD4Q.js +0 -4
- package/dist/cdn/IEXWW66T.js +0 -4
- package/dist/cdn/IFI2M7OS.js +0 -4
- package/dist/cdn/IFMGQ433.js +0 -4
- package/dist/cdn/IGDRCHQB.js +0 -4
- package/dist/cdn/IINGRFLT.js +0 -4
- package/dist/cdn/IJHHT6AY.js +0 -4
- package/dist/cdn/IJYUSN6H.js +0 -4
- package/dist/cdn/IN6AYSZY.js +0 -4
- package/dist/cdn/INH4DFEL.js +0 -4
- package/dist/cdn/INHUWQGD.js +0 -4
- package/dist/cdn/IPYDJ67M.js +0 -4
- package/dist/cdn/ITRCB6NA.js +0 -12
- package/dist/cdn/J5LS72PM.js +0 -4
- package/dist/cdn/J7WB45FV.js +0 -4
- package/dist/cdn/JB3D46V3.js +0 -4
- package/dist/cdn/JBVWQP7M.js +0 -4
- package/dist/cdn/JCXVXVLF.js +0 -4
- package/dist/cdn/JGBBG55I.js +0 -4
- package/dist/cdn/JKFBO4C3.js +0 -4
- package/dist/cdn/JKSHR7AH.js +0 -4
- package/dist/cdn/JP6N7ISD.js +0 -4
- package/dist/cdn/JR4IVI5B.js +0 -4
- package/dist/cdn/JRZFDPHK.js +0 -24
- package/dist/cdn/JSG6REOQ.js +0 -4
- package/dist/cdn/JSV2RCXY.js +0 -4
- package/dist/cdn/JTM7UUNE.js +0 -4
- package/dist/cdn/JVZJMVWP.js +0 -4
- package/dist/cdn/K2DLPVLI.js +0 -4
- package/dist/cdn/K3I7LKD5.js +0 -4
- package/dist/cdn/K55AXQO3.js +0 -4
- package/dist/cdn/KAL6KE7J.js +0 -4
- package/dist/cdn/KCOXR4CU.js +0 -4
- package/dist/cdn/KDCKW3CR.js +0 -4
- package/dist/cdn/KI4EYFTW.js +0 -4
- package/dist/cdn/KI5KAGK4.js +0 -4
- package/dist/cdn/KKQCEK4I.js +0 -4
- package/dist/cdn/KR57EIXD.js +0 -59
- package/dist/cdn/KRBCCDNI.js +0 -4
- package/dist/cdn/KRHHBCPO.js +0 -4
- package/dist/cdn/KSVBVCI6.js +0 -4
- package/dist/cdn/KUX2JMFO.js +0 -4
- package/dist/cdn/KV7GANTB.js +0 -4
- package/dist/cdn/KW2WLKDO.js +0 -4
- package/dist/cdn/KXEMZASV.js +0 -4
- package/dist/cdn/KYRNTIRN.js +0 -4
- package/dist/cdn/L47OAVIG.js +0 -4
- package/dist/cdn/L4J2CGR2.js +0 -4
- package/dist/cdn/L6O76P5J.js +0 -4
- package/dist/cdn/L6SOYPUV.js +0 -4
- package/dist/cdn/L7QGQGFN.js +0 -4
- package/dist/cdn/LC3SYODZ.js +0 -4
- package/dist/cdn/LCLUBL74.js +0 -4
- package/dist/cdn/LDLXI66P.js +0 -4
- package/dist/cdn/LDSDNEL5.js +0 -4
- package/dist/cdn/LEFDFMY5.js +0 -4
- package/dist/cdn/LEVVL3TW.js +0 -4
- package/dist/cdn/LF6Z5GIN.js +0 -4
- package/dist/cdn/LFB7V3PE.js +0 -4
- package/dist/cdn/LFZLMIJN.js +0 -4
- package/dist/cdn/LGBMDGKT.js +0 -4
- package/dist/cdn/LLNVOVHR.js +0 -5470
- package/dist/cdn/LLOSAGNB.js +0 -4
- package/dist/cdn/LNIXVZQR.js +0 -4
- package/dist/cdn/LOK53WT4.js +0 -4
- package/dist/cdn/LTP2AG7K.js +0 -4
- package/dist/cdn/LX3TEBYU.js +0 -4
- package/dist/cdn/LXOYYXW4.js +0 -4
- package/dist/cdn/LXUFT3MT.js +0 -4
- package/dist/cdn/LZXI7UMG.js +0 -8
- package/dist/cdn/LZYVCBEY.js +0 -4
- package/dist/cdn/M3GO72FU.js +0 -4
- package/dist/cdn/M3LZDE5F.js +0 -4
- package/dist/cdn/M3TNHRA7.js +0 -4
- package/dist/cdn/M3ZURXZO.js +0 -4
- package/dist/cdn/M6L6J6KX.js +0 -4
- package/dist/cdn/M6W2S7UD.js +0 -4
- package/dist/cdn/MABGZOR2.js +0 -4
- package/dist/cdn/MCHCKRRG.js +0 -4
- package/dist/cdn/MDMAQNBQ.js +0 -4
- package/dist/cdn/MEOW633V.js +0 -4
- package/dist/cdn/MI7J4GFP.js +0 -4
- package/dist/cdn/MJDKS2SE.js +0 -4
- package/dist/cdn/MJII7R5J.js +0 -4
- package/dist/cdn/MJITPBGR.js +0 -4
- package/dist/cdn/MKHNETJN.js +0 -4
- package/dist/cdn/MKQ26RDX.js +0 -4
- package/dist/cdn/MLBD6RDU.js +0 -4
- package/dist/cdn/MLPZEO7K.js +0 -4
- package/dist/cdn/MM3JJP3B.js +0 -4
- package/dist/cdn/MOBRJ2R5.js +0 -4
- package/dist/cdn/MP5QJBF3.js +0 -4
- package/dist/cdn/MQBQ5DFW.js +0 -4
- package/dist/cdn/MQONDVUR.js +0 -4
- package/dist/cdn/MWQMJDCA.js +0 -4
- package/dist/cdn/MWTJ5HQV.js +0 -4
- package/dist/cdn/MXBUCN5X.js +0 -4
- package/dist/cdn/MYW6GICE.js +0 -4
- package/dist/cdn/MZTENLHG.js +0 -4
- package/dist/cdn/N6GK2OKK.js +0 -4
- package/dist/cdn/NCQZNJTZ.js +0 -4
- package/dist/cdn/NHCDJGW4.js +0 -4
- package/dist/cdn/NIZD4PNO.js +0 -4
- package/dist/cdn/NL736QNV.js +0 -4
- package/dist/cdn/NLREHXI4.js +0 -4
- package/dist/cdn/NMF2DKWT.js +0 -4
- package/dist/cdn/NMK36BQV.js +0 -4
- package/dist/cdn/NP2NT4UJ.js +0 -4
- package/dist/cdn/NUPK7F2H.js +0 -4
- package/dist/cdn/NVH7YLE3.js +0 -4
- package/dist/cdn/NXSILW46.js +0 -4
- package/dist/cdn/NYFPXSQ2.js +0 -4
- package/dist/cdn/NYYEDD4X.js +0 -4
- package/dist/cdn/O65ODRW5.js +0 -4
- package/dist/cdn/O6TH7YHD.js +0 -4
- package/dist/cdn/OH74NCYH.js +0 -4
- package/dist/cdn/OHVO4LWI.js +0 -4
- package/dist/cdn/OJX32R4A.js +0 -4
- package/dist/cdn/OK7YDCJO.js +0 -4
- package/dist/cdn/OKHUJ6RC.js +0 -4
- package/dist/cdn/OLUFIV3M.js +0 -4
- package/dist/cdn/OMR4JVYK.js +0 -4
- package/dist/cdn/OOBM32SA.js +0 -4
- package/dist/cdn/OPFGG7UX.js +0 -4
- package/dist/cdn/OPOX3CB4.js +0 -4
- package/dist/cdn/OQSPLQ4U.js +0 -4
- package/dist/cdn/OR3UROLX.js +0 -4
- package/dist/cdn/ORBAAF5N.js +0 -4
- package/dist/cdn/ORIRYB53.js +0 -4
- package/dist/cdn/OSAF4LAR.js +0 -4
- package/dist/cdn/OUFMBFAY.js +0 -4
- package/dist/cdn/OWKBXAJQ.js +0 -4
- package/dist/cdn/OXZP7XDX.js +0 -4
- package/dist/cdn/OZ6YSBX5.js +0 -4
- package/dist/cdn/OZL2QNMO.js +0 -4
- package/dist/cdn/P23BNH5K.js +0 -4
- package/dist/cdn/P25SQMOS.js +0 -4
- package/dist/cdn/P3GR454E.js +0 -4
- package/dist/cdn/PACZDTK2.js +0 -4
- package/dist/cdn/PD44C2VP.js +0 -4
- package/dist/cdn/PEKVNFWO.js +0 -4
- package/dist/cdn/PFXLXK7M.js +0 -4
- package/dist/cdn/PLQRBAJE.js +0 -4
- package/dist/cdn/PMB3UMZY.js +0 -4
- package/dist/cdn/PNBOMRVF.js +0 -4
- package/dist/cdn/POWQ2M5L.js +0 -4
- package/dist/cdn/POXF4YWR.js +0 -4
- package/dist/cdn/PPL5BG6P.js +0 -4
- package/dist/cdn/PPMD5YGU.js +0 -4
- package/dist/cdn/PQIRJ4DH.js +0 -4
- package/dist/cdn/PQK3AEGG.js +0 -4
- package/dist/cdn/PTYWGXOA.js +0 -4
- package/dist/cdn/PVHEFPZA.js +0 -4
- package/dist/cdn/PVXYZ2NV.js +0 -4
- package/dist/cdn/PW5E3FFG.js +0 -4
- package/dist/cdn/PXOSICTX.js +0 -4
- package/dist/cdn/Q3SHD7LT.js +0 -4
- package/dist/cdn/Q3TIBYXP.js +0 -4
- package/dist/cdn/Q7RINB7Y.js +0 -4
- package/dist/cdn/Q7XYZ7ZL.js +0 -4
- package/dist/cdn/QC3FGPAF.js +0 -4
- package/dist/cdn/QEZESRIF.js +0 -4
- package/dist/cdn/QGA6L7LU.js +0 -4
- package/dist/cdn/QGXUMQKK.js +0 -4
- package/dist/cdn/QGZVYXMV.js +0 -4
- package/dist/cdn/QMEYLNLW.js +0 -4
- package/dist/cdn/QNCHLTEC.js +0 -4
- package/dist/cdn/QTLBS7MY.js +0 -4
- package/dist/cdn/QUSAVUQ3.js +0 -4
- package/dist/cdn/QW5QK2VI.js +0 -4
- package/dist/cdn/QWFLZDXK.js +0 -4
- package/dist/cdn/QWGDEQXL.js +0 -4
- package/dist/cdn/QY6TT2RY.js +0 -9
- package/dist/cdn/QZUFMO75.js +0 -4
- package/dist/cdn/R2IGXYUU.js +0 -4
- package/dist/cdn/R2V2DIBX.js +0 -4
- package/dist/cdn/R4LZRMZI.js +0 -4
- package/dist/cdn/R5AW35SR.js +0 -4
- package/dist/cdn/R7MK2LFK.js +0 -4
- package/dist/cdn/RAKH2FRV.js +0 -4
- package/dist/cdn/RAXV6BUI.js +0 -4
- package/dist/cdn/RBACTEJH.js +0 -4
- package/dist/cdn/RBE4F5M4.js +0 -4
- package/dist/cdn/RCCVISP3.js +0 -5
- package/dist/cdn/RCRZMZC3.js +0 -4
- package/dist/cdn/RD7KTJAZ.js +0 -59
- package/dist/cdn/RDLZONGF.js +0 -4
- package/dist/cdn/RDZOG2ES.js +0 -4
- package/dist/cdn/RFPTSWUL.js +0 -4
- package/dist/cdn/RHMXC6OG.js +0 -4
- package/dist/cdn/RLMVPQ4W.js +0 -4
- package/dist/cdn/RMKHB43G.js +0 -4
- package/dist/cdn/RONQGJOS.js +0 -4
- package/dist/cdn/RQWQT44C.js +0 -4
- package/dist/cdn/RRFT5RDJ.js +0 -4
- package/dist/cdn/RRPKM7QC.js +0 -4
- package/dist/cdn/RSLO2DBA.js +0 -4
- package/dist/cdn/RUBACLDE.js +0 -4
- package/dist/cdn/RUCZ63IP.js +0 -4
- package/dist/cdn/RVIXEJUD.js +0 -4
- package/dist/cdn/RVSPRF34.js +0 -8
- package/dist/cdn/RW4KP5E5.js +0 -4
- package/dist/cdn/RXXY7O3V.js +0 -4
- package/dist/cdn/RYIWAQTG.js +0 -4
- package/dist/cdn/S2W5IYLW.js +0 -12
- package/dist/cdn/S2ZGLHMO.js +0 -4
- package/dist/cdn/S4SIXPF6.js +0 -4
- package/dist/cdn/S65G5VMM.js +0 -4
- package/dist/cdn/S7TEA6UM.js +0 -4
- package/dist/cdn/SAAAQDW4.js +0 -4
- package/dist/cdn/SCCCIQTH.js +0 -4
- package/dist/cdn/SD6KR45O.js +0 -4
- package/dist/cdn/SDVTJHH4.js +0 -4
- package/dist/cdn/SF2SUD25.js +0 -4
- package/dist/cdn/SGUORVDF.js +0 -4
- package/dist/cdn/SJ27YV4B.js +0 -4
- package/dist/cdn/SJPYEHUK.js +0 -4
- package/dist/cdn/SK7PSLRE.js +0 -4
- package/dist/cdn/SM25UXVA.js +0 -4
- package/dist/cdn/SNQ5GYI4.js +0 -4
- package/dist/cdn/SNS5KTXZ.js +0 -4
- package/dist/cdn/SODDWPKS.js +0 -4
- package/dist/cdn/SPF6YDYS.js +0 -4
- package/dist/cdn/SPJHNVR2.js +0 -4
- package/dist/cdn/SQXL346F.js +0 -4
- package/dist/cdn/SSC2GISR.js +0 -4
- package/dist/cdn/SUDDIY7N.js +0 -4
- package/dist/cdn/SUGX5HO7.js +0 -4
- package/dist/cdn/SXDY4TJO.js +0 -4
- package/dist/cdn/SXMYWXQF.js +0 -4
- package/dist/cdn/SXQ7KGXZ.js +0 -4
- package/dist/cdn/T2J7QUVH.js +0 -4
- package/dist/cdn/T3DQVBYB.js +0 -4
- package/dist/cdn/T747NYJP.js +0 -4
- package/dist/cdn/TAH45EYM.js +0 -4
- package/dist/cdn/TEB5O6DB.js +0 -4
- package/dist/cdn/TEXFBF2G.js +0 -4
- package/dist/cdn/TFYSRREJ.js +0 -6
- package/dist/cdn/TIOEOYAX.js +0 -4
- package/dist/cdn/TJ7CV3JF.js +0 -4
- package/dist/cdn/TLR35ADC.js +0 -4
- package/dist/cdn/TMFVH3YS.js +0 -4
- package/dist/cdn/TNCFGDBZ.js +0 -4
- package/dist/cdn/TNGAET6U.js +0 -4
- package/dist/cdn/TP3CXYXE.js +0 -4
- package/dist/cdn/TQH3BLXP.js +0 -4
- package/dist/cdn/TSRGYMN5.js +0 -4
- package/dist/cdn/TWAKHNX3.js +0 -4
- package/dist/cdn/TZKT3BEY.js +0 -4
- package/dist/cdn/U2S6PYCL.js +0 -4
- package/dist/cdn/U2XVPQ7M.js +0 -4
- package/dist/cdn/U3VIHHDZ.js +0 -4
- package/dist/cdn/UAW3K7NM.js +0 -4
- package/dist/cdn/UBHFMR7W.js +0 -4
- package/dist/cdn/UCCUNTYZ.js +0 -4
- package/dist/cdn/UCRMA7RZ.js +0 -4
- package/dist/cdn/UDYIXKG2.js +0 -4
- package/dist/cdn/UG2B4HFM.js +0 -4
- package/dist/cdn/UIRDUAHB.js +0 -4
- package/dist/cdn/UJECHTB2.js +0 -4
- package/dist/cdn/UOJQJ5T6.js +0 -4
- package/dist/cdn/UPHDUZFP.js +0 -4
- package/dist/cdn/URORJMNK.js +0 -4
- package/dist/cdn/US6Z3S4F.js +0 -4
- package/dist/cdn/UV5P3ALL.js +0 -4
- package/dist/cdn/UXTX6LO5.js +0 -4
- package/dist/cdn/UYTCJCXJ.js +0 -4
- package/dist/cdn/V2JO2XE2.js +0 -4
- package/dist/cdn/V3KFETYM.js +0 -4
- package/dist/cdn/V4FMPDMF.js +0 -4
- package/dist/cdn/V4SPKLLO.js +0 -4
- package/dist/cdn/V6O6VJCH.js +0 -4
- package/dist/cdn/V7YHURPR.js +0 -4
- package/dist/cdn/VAKRXGWE.js +0 -5
- package/dist/cdn/VBVSMPTO.js +0 -4
- package/dist/cdn/VDPHDSJN.js +0 -4
- package/dist/cdn/VEY3V3DN.js +0 -4
- package/dist/cdn/VHWD3HSB.js +0 -4
- package/dist/cdn/VISSHJE2.js +0 -4
- package/dist/cdn/VK6V6POF.js +0 -4
- package/dist/cdn/VM34ZPN5.js +0 -4
- package/dist/cdn/VMADWS7C.js +0 -4
- package/dist/cdn/VN7YIJI4.js +0 -4
- package/dist/cdn/VNGNXTHC.js +0 -4
- package/dist/cdn/VTN4I3D5.js +0 -4
- package/dist/cdn/VTP2IGIV.js +0 -4
- package/dist/cdn/VUEV4WAZ.js +0 -4
- package/dist/cdn/VYSQXJWR.js +0 -42
- package/dist/cdn/VZP6A6W5.js +0 -4
- package/dist/cdn/W4IJSO2T.js +0 -4
- package/dist/cdn/WAXPZQP6.js +0 -4
- package/dist/cdn/WBOCIO75.js +0 -4
- package/dist/cdn/WBP7CTXZ.js +0 -4
- package/dist/cdn/WDN365CJ.js +0 -4
- package/dist/cdn/WH6ZF3FE.js +0 -4
- package/dist/cdn/WI7DKW5I.js +0 -4
- package/dist/cdn/WIX26D2B.js +0 -4
- package/dist/cdn/WJ6QHMLR.js +0 -4
- package/dist/cdn/WJDMWSSL.js +0 -4
- package/dist/cdn/WJVKWOA2.js +0 -4
- package/dist/cdn/WMWLCBGG.js +0 -4
- package/dist/cdn/WNBYALQZ.js +0 -4
- package/dist/cdn/WNWIHPHE.js +0 -4
- package/dist/cdn/WRSXE2AI.js +0 -4
- package/dist/cdn/WTU6RWNN.js +0 -4
- package/dist/cdn/WU5EBJRA.js +0 -4
- package/dist/cdn/X2LJERME.js +0 -4
- package/dist/cdn/X3TVXXVA.js +0 -4
- package/dist/cdn/X46HLPHZ.js +0 -4
- package/dist/cdn/X6GRCFML.js +0 -4
- package/dist/cdn/X6PHZPRR.js +0 -4
- package/dist/cdn/X7OXE3L3.js +0 -4
- package/dist/cdn/XA6R733L.js +0 -4
- package/dist/cdn/XAI3T2HS.js +0 -4
- package/dist/cdn/XBNP7A42.js +0 -4
- package/dist/cdn/XDHAVZED.js +0 -4
- package/dist/cdn/XDPPT2LO.js +0 -4
- package/dist/cdn/XDUAIHY6.js +0 -4
- package/dist/cdn/XFABEKMA.js +0 -4
- package/dist/cdn/XFETOJFP.js +0 -4
- package/dist/cdn/XGBGTRRA.js +0 -4
- package/dist/cdn/XGD4X4T4.js +0 -4
- package/dist/cdn/XHI3BUWF.js +0 -41
- package/dist/cdn/XIANQWIP.js +0 -4
- package/dist/cdn/XM2D63NW.js +0 -4
- package/dist/cdn/XNMZLJLF.js +0 -4
- package/dist/cdn/XPFDV6DM.js +0 -4
- package/dist/cdn/XQXRGXXT.js +0 -4
- package/dist/cdn/XSDEI3AM.js +0 -4
- package/dist/cdn/XTLLGCKP.js +0 -4
- package/dist/cdn/XYJF3Q2Y.js +0 -4
- package/dist/cdn/Y3U576ET.js +0 -4
- package/dist/cdn/Y6WTRKL6.js +0 -4
- package/dist/cdn/YB44UZCT.js +0 -4
- package/dist/cdn/YENPP3W6.js +0 -4
- package/dist/cdn/YJNHBKEI.js +0 -4
- package/dist/cdn/YNRRKFH4.js +0 -4
- package/dist/cdn/YOAKD755.js +0 -4
- package/dist/cdn/YRPZDYQ5.js +0 -4
- package/dist/cdn/YULVWRXD.js +0 -4
- package/dist/cdn/YZD23BNZ.js +0 -4
- package/dist/cdn/Z2NPBJ4S.js +0 -4
- package/dist/cdn/ZACOHORF.js +0 -4
- package/dist/cdn/ZEZO7KP6.js +0 -4
- package/dist/cdn/ZI2MVNNE.js +0 -4
- package/dist/cdn/ZJ3KJW35.js +0 -4
- package/dist/cdn/ZJKJ2RPB.js +0 -4
- package/dist/cdn/ZKZAPX4B.js +0 -4
- package/dist/cdn/ZNGIPYUM.js +0 -4
- package/dist/cdn/ZOOGAP6F.js +0 -4
- package/dist/cdn/ZT5XT2DH.js +0 -4
- package/dist/cdn/ZWRQ42BA.js +0 -4
- package/dist/cdn/ZWU5KEMN.js +0 -4
- package/dist/cdn/ZZMHAXLS.js +0 -4
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.26/esri/copyright.txt for details.
|
|
3
|
+
v0.26.0 */
|
|
4
|
+
import{d as p}from"./64SGJWQX.js";import{a as y,b as w,c as f}from"./JOBUJO5U.js";import{a as c}from"./JUPINWD3.js";import{c as b}from"./AZ5AV37N.js";import{b as l}from"./BFWRHB7T.js";import{h as I}from"./3OWN4VDE.js";function E(e){let o={q:`id: ${e.id} AND group: ${e.groupId}`,start:1,num:10,sortField:"title",authentication:e.authentication,httpMethod:"POST"};return b(o).then(d=>{let i=!1;if(d.total>0)return i=d.results.some(r=>r.id===e.id),i})}async function W(e){return E(e).then(async o=>{if(o)return{itemId:e.id,shortcut:!0,notSharedWith:[]};let{owner:d,confirmItemControl:i}=e,r=await e.authentication.getUsername(),a=d||r;if(a!==r){let h=!1,u=!1;return Promise.all([c({username:r,authentication:e.authentication}),c({username:a,authentication:e.authentication}),p(e)]).then(([m,t,n])=>{let g=!!i;return h=m.role==="org_admin"&&!m.roleId,u=m.orgId!==t.orgId,C(m,g,n,h,t,e)}).then(m=>{let[{revert:t}={promise:Promise.resolve({notAdded:[]}),revert:n=>Promise.resolve(n)}]=m;return Promise.all(m.map(({promise:n})=>n)).then(()=>v(e,h,u)).then(n=>t(n))})}return v(e)}).then(o=>{if(o.notSharedWith.length)throw Error(`Item ${e.id} could not be shared to group ${e.groupId}.`);return o})}function C(e,o,d,i,r,a){let h=[];if(a.groupId!==e.favGroupId){if(o){if(!i)throw Error(`This item can not be shared to shared editing group ${a.groupId} by ${e.username} as they not the item owner or org admin.`);h.push(s(e,e,!1,`Error adding ${e.username} as member to edit group ${a.groupId}. Consequently item ${a.id} was not shared to the group.`,a),s(e,r,!0,d==="none"?`Error adding user ${r.username} to edit group ${a.groupId}. Consequently item ${a.id} was not shared to the group.`:`Error promoting user ${r.username} to admin in edit group ${a.groupId}. Consequently item ${a.id} was not shared to the group.`,a))}else if(i)h.push(s(e,e,!1,`Error adding ${e.username} as member to view group ${a.groupId}. Consequently item ${a.id} was not shared to the group.`,a));else if(d==="none")throw new Error(`This item can not be shared by ${e.username} as they are not a member of the specified group ${a.groupId}.`)}return h}async function v(e,o=!1,d=!1){let i=await e.authentication.getUsername(),r=e.owner||i,a=`${l(e)}/content/items/${e.id}/share`;return(r===i||o&&!d)&&(a=`${l(e)}/content/users/${r}/items/${e.id}/share`),e.params={groups:e.groupId,confirmItemControl:e.confirmItemControl},I(a,e)}function s(e,o,d,i,r){let a=o.groups||[],h=a.find(t=>t.id===r.groupId);if(e.orgId!==o.orgId)throw Error(`User ${o.username} is not a member of the same org as ${e.username}. Consequently they can not be added added to group ${r.groupId} nor can item ${r.id} be shared to the group.`);if(!h&&a.length>511)throw Error(`User ${o.username} already has 512 groups, and can not be added to group ${r.groupId}. Consequently item ${r.id} can not be shared to the group.`);let u,m;if(h)d&&h.userMembership.memberType==="member"?(u=f({id:r.groupId,users:[o.username],newMemberType:"admin",authentication:r.authentication}).then(t=>{let n=t.results.reduce((g,$)=>($.success||g.push($.username),g),[]);return Promise.resolve({notAdded:n})}).catch(()=>({notAdded:[o.username]})),m=t=>f({id:r.groupId,users:[o.username],newMemberType:"member",authentication:r.authentication}).then(()=>t).catch(()=>t)):(u=Promise.resolve({notAdded:[]}),m=t=>Promise.resolve(t));else{let t=d?"admins":"users";u=y({id:r.groupId,[t]:[o.username],authentication:r.authentication}).then(n=>{if(n.errors&&n.errors.length)throw n.errors[0];return n}).catch(()=>({notAdded:[o.username]})),m=n=>w({id:r.groupId,users:[o.username],authentication:r.authentication}).then(()=>n)}return{promise:u.then(t=>{if(t.notAdded.length)throw new Error(i);return t}),revert:m}}export{E as a,W as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.26/esri/copyright.txt for details.
|
|
3
|
+
v0.26.0 */
|
|
4
|
+
import{a as G}from"./G2K2N2ZI.js";import{a as L,b as z,c as k,d as M,e as te,f as se}from"./R2GTUXOO.js";import{a as R,b as S,c as X,d as Z}from"./BFRL2RDT.js";import{a as ee,b as y}from"./PVS3RCB2.js";import{a as V}from"./6QW24KX4.js";import{a as oe}from"./QX2H4JWR.js";import"./CPZP3LH7.js";import{a as B}from"./ICFK7PMC.js";import{a as W}from"./FKNUQQA3.js";import{b as ie}from"./EY3LCFXT.js";import{a as _}from"./GKLK4P23.js";import{c as re}from"./2MZR2E7H.js";import"./NUVQ6QVE.js";import{a as f}from"./NZOJ4PJO.js";import{a as C}from"./MZDBEBZX.js";import{a as E}from"./FTMVBM73.js";import"./2DT73XX6.js";import{a as N}from"./CJNJGDDD.js";import{a as T}from"./DBRRT4VH.js";import"./TXRVYD6C.js";import{a as Y}from"./OD5HQD5E.js";import"./X5OD5M2E.js";import"./VYEXSR5N.js";import"./H34WDAMJ.js";import"./4MXZQRPH.js";import"./NFEU2STS.js";import{a as D}from"./VKZ6FIWT.js";import{a as I}from"./7YKKISZZ.js";import{a as j}from"./64DOA6RN.js";import"./ZB2YGFN3.js";import"./D5E2VHNU.js";import"./SGPM3YSK.js";import{b as a,c as x,d as H,e as P,h as A,i as q}from"./G44WNTOM.js";import"./2YK22MKI.js";import{a as v,g as F,s as O}from"./2JBK5SNV.js";import{a as $}from"./UMQYJ6KV.js";import"./SU7CHYPQ.js";import"./YZ73VA46.js";var he=(e,i,t)=>ee(e,i,"title","titleKey",t);function ue(e){return ie(e,i=>!V(i))}function ne(e){return e?e.reduce((i,t)=>{let s;if(t.keyword==="required"&&t.params){let o=t.params;s=o?.missingProperty,t.instancePath&&t.instancePath.length&&(s=`${t.instancePath.slice(1).split("/").join(".")}.${s}`)}return s&&i.push(s),i},[]):[]}async function pe(e,i,t){let s=K(e),o=e.$async?k:z,{valid:r,errors:n}=await o(i,s)||{valid:!1,errors:[]},l=ne({valid:r,errors:n}.errors),h=t.get("allConditionallyRequiredProperties");return l.filter(u=>!h.has(u))}async function ge(e,i,t,s,o,r,n){let c=n||"allConditionallyRequiredProperties",l=n?r:new Set;!n&&s.forEach(p=>l.add(p));let h=o.get(c)||new Set,d=K(e),u=v(i),g=j(d,u);for(let p of h){let m=v(g);N(m,p);let w=await(e.$async?k:z)(t,m);ne(w.errors).includes(p)?l.add(p):n&&l.delete(p)}return l}function fe(e){let i=(o,r)=>{s.has(o)||s.set(o,new Set),r.forEach(n=>s.get(o).add(n))},t=e.allOf,s=new Map;return s.set("allConditionallyRequiredProperties",new Set),t&&t.forEach(o=>{let r=o;if(o.$ref){let g=o.$ref.slice(1);r=R.get(e,g)}let n=r.if,c=r.then,l=r.else,h,d,u;n&&(h=J(n,!0)),c&&(d=J(c)),l&&(u=J(l)),c&&d&&h&&(h.map(g=>{i(g,d)}),i("allConditionallyRequiredProperties",d)),l&&u&&h&&(h.map(g=>{i(g,u)}),i("allConditionallyRequiredProperties",u))}),s}function K(e,i={}){let t=e.properties;return t?Object.entries(t).reduce((s,[o,r])=>{if(r.type=="object"&&Object.keys(r).includes("properties")){let n=K(r,i);n&&(s[o]=n)}return s},{}):i}function J(e,i=!1){let t=[];return ae(e,t,"",i),[...new Set(t)]}function ae(e,i,t,s=!1){let o=e.properties,r=e.required;r&&i.push(...r.map(n=>`${t}${n}`)),o&&Object.entries(o).forEach(([n,c])=>{if(c.properties||c.required){let l=`${t}${n}.`;ae(c,i,l,s)}else s&&i.push(`${t}${n}`)})}function le(e,i){Object.keys(i).includes(e)?i[e]=void 0:N(i,e)}function me(e,i,t,s){t.forEach(o=>{let r=X(o);!e.includes(o)&&i.includes(o)&&le(r,s)})}function Q(e,i,t){let s=y(e,i,"options.requiredHelperText")||t.t("defaultRequiredHelperText");return a("span",{class:"required-field-text",innerHTML:s})}function ce(e,i){var t,s,o;let r=e?.required,n=(t=i?.options)===null||t===void 0?void 0:t.sectionScopes;return!!n?.some(l=>r?.has(l))&&!!(!((s=i.options)===null||s===void 0)&&s.requiredHelperText)||typeof((o=i?.options)===null||o===void 0?void 0:o.requiredHelperText)=="object"}var be=".sc-arcgis-configuration-editor-h{display:block}.sc-arcgis-configuration-editor-h:focus-visible{outline:none}arcgis-configuration-editor-field.sc-arcgis-configuration-editor{display:block}arcgis-configuration-editor-field.sc-arcgis-configuration-editor:not(:last-child){margin-bottom:0.25rem}arcgis-hub-notice.sc-arcgis-configuration-editor{margin-bottom:2rem}calcite-stepper-item.sc-arcgis-configuration-editor .required-field-text.sc-arcgis-configuration-editor{margin-bottom:1.5rem}calcite-accordion-item.sc-arcgis-configuration-editor .required-field-text.sc-arcgis-configuration-editor{margin-bottom:1.5rem}calcite-accordion-item[disabled].sc-arcgis-configuration-editor{opacity:var(--calcite-opacity-disabled);pointer-events:none}",ve=be,ye=class{handleUiSchemaChange(e){this._uiSchema=this.initUiSchema(e)}async handleSchemaChange(e){this._schema=v(e),this._validator=L(this._schema),this._values=this.initValues(this._values),this.setConditionallyRequiredProperties(),await this.setAlwaysRequiredProperties(),await this.setCurrentlyRequiredProperties()}handleValuesChange(e){this._values=this.initValues(e)}handleArcgisConfigurationEditorFieldChange(e){e.stopPropagation(),this.setFieldValue(e.detail.property,e.detail.value),this.applyUiSchemaResetRule(this._uiSchema,e.detail.property,e.detail.value),this.emitChangeEvent()}setFieldValue(e,i){this.currentlyRequiredProperties.has(e)&&V(i)?le(e,this._values):T(e,i,this._values,!0),this.conditionallyRequiredProperties.has(e)&&this.setCurrentlyRequiredProperties(e)}applyUiSchemaResetRule(e,i,t){e?.elements.forEach(s=>{if(s.type===f.control){let o=v(this._model);if(T(i,t,o.values,!0),M(s.rule||s.rules,o).includes(E.RESET)){let n=S(s.scope),c=R.get(this._schema,s.scope),l=[c.default,c.const,B[c.type]].find(h=>!_(h));this.setFieldValue(n,l)}}else s.type===f.section&&this.applyUiSchemaResetRule(s,i,t)})}handleCompositeEditorEvents(e){e.stopPropagation()}async setFocus(){this.element.focus()}async validate(){return this._validate(this._values)}constructor(e){q(this,e),this.arcgisConfigurationEditorChange=P(this,"arcgisConfigurationEditorChange",7),this.arcgisConfigurationEditorInitialized=P(this,"arcgisConfigurationEditorInitialized",7),this.arcgisConfigurationEditorLoaded=P(this,"arcgisConfigurationEditorLoaded",7),this.arcgisConfigurationEditorSectionAction=P(this,"arcgisConfigurationEditorSectionAction",7),this._values={},this.alwaysRequiredProperties=[],this.conditionallyRequiredProperties=new Map,this._uiSchemaWhiteList=[],this.schema=void 0,this.uiSchema=void 0,this.values={},this.disabled=!1,this.t=void 0,this.variant=void 0,this.scale=void 0,this.isMobile=!1,this._model={},this.currentlyRequiredProperties=new Set,D(this,"renderUiSchemaElement","_validate")}async componentWillLoad(){if(!this.schema)throw new Error("arcgis-configuration-editor: schema attribute is required");let e=this.parseJson(this.schema);this._schema=v(e),this._uiSchema=this.initUiSchema(this.uiSchema),this._values=this.initValues(this.values),this._validator=L(this._schema),this.setConditionallyRequiredProperties(),await this.setAlwaysRequiredProperties(),await this.setCurrentlyRequiredProperties(),this.emitChangeEvent(!0),this._intl=await I.loadIntlForComponent(this.element)}componentDidLoad(){this.arcgisConfigurationEditorLoaded.emit()}get invalidProperties(){let{errors:e=[]}=this._validationResult||{};return e.map(i=>this.getErrorPropertyPath(i))}initUiSchema(e){let i=e?v(e):this.generateUiSchemaFromSchema(this._schema);return this._addIdsToUiSchema(i,!0),i}_addIdsToUiSchema(e,i=!1,t){e.elements.forEach(s=>{var o,r,n;if(s.scope){let c=S(s?.scope);s.id=F(`${c}::`),t&&t.push(c)}if(s.type===f.section){i&&!(!((o=s.options)===null||o===void 0)&&o.requiredHelperText)&&(s.options=Object.assign(Object.assign({},s.options),{requiredHelperText:!0}));let c=i?[]:t,l=((r=s.options)===null||r===void 0?void 0:r.section)===W.stepper||((n=s.options)===null||n===void 0?void 0:n.section)===W.accordion;this._addIdsToUiSchema(s,l,c),s.options=Object.assign(Object.assign({},s.options),{sectionScopes:c})}})}initValues(e){let i=v(this.parseJson(e));i=ue(i);let t=this.getDefaultValues(this._schema,this._uiSchema);return i=j(t,i),i}async setAlwaysRequiredProperties(){this.alwaysRequiredProperties=await pe(this._schema,this._validator,this.conditionallyRequiredProperties)}setConditionallyRequiredProperties(){this.conditionallyRequiredProperties=fe(this._schema)}async setCurrentlyRequiredProperties(e){this.currentlyRequiredProperties=await ge(this._schema,this._values,this._validator,this.alwaysRequiredProperties,this.conditionallyRequiredProperties,this.currentlyRequiredProperties,e)}parseJson(e){return typeof e=="string"?JSON.parse(e):e}generateUiSchemaFromSchema(e){return{type:f.layout,elements:this.generateUiSchemaElementsFromSchema(e)}}generateUiSchemaElementsFromSchema(e,i=""){return e.properties?Object.entries(e.properties).reduce((t,[s,o])=>{let r=`${i}/properties/${s}`;return o.type==="object"?t=[...t,...this.generateUiSchemaElementsFromSchema(o,r)]:t.push({label:o.title||s,scope:r,type:f.control}),t},[]):[]}async _validate(e){let{valid:i,errors:t}=await k(this._validator,e);return this._validationResult={valid:i,errors:t},this._validationResult}getDefaultValues(e,i,t={}){return i?.elements.reduce((s,o)=>{if(o.type===f.control){let r=S(o.scope),n=R.get(e,o.scope);!_(n.default)&&_($(this._values,r))&&T(r,n.default,s,!0)}else o.type===f.section&&this.getDefaultValues(e,o,s);return s},t)||{}}getUiSchemaWhiteList(e,i){return e.elements.reduce((t,s)=>{let o=M(s.rule||s.rules,i);if(s.type===f.control)t=this.maybeAddToWhiteList(s,o,t);else if(s.type===f.section){s.type===f.section&&s.scope&&(t=this.maybeAddToWhiteList(s,o,t));let r=this.getUiSchemaWhiteList(s,i);t={whiteListIds:[...t.whiteListIds,...r.whiteListIds],clearOnHidden:[...t.clearOnHidden,...r.clearOnHidden]}}return t},{whiteListIds:[],clearOnHidden:[]})}maybeAddToWhiteList(e,i,t){var s;let o=!i.includes(E.HIDE);return e.id&&o&&!t.whiteListIds.includes(e.id)&&t.whiteListIds.push(e.id),!((s=e.options)===null||s===void 0)&&s.clearOnHidden&&t.clearOnHidden.push(e.id),t}async emitChangeEvent(e=!1){if(this.disabled){await this._validate(this._values);return}let i=v(this._model);i.values=this._values;let{whiteListIds:t=[],clearOnHidden:s=[]}=this.getUiSchemaWhiteList(this._uiSchema,i);me(t,this._uiSchemaWhiteList,s,this._values);let{valid:o}=await this._validate(this._values);this._uiSchemaWhiteList=t;let r=this._uiSchemaWhiteList.map(l=>Z(l)),n=Object.entries(this._values).reduce((l,[h,d])=>(r.includes(h)&&(l[h]=d),l),{});this._model={valid:o,values:n,schema:this._schema,required:this.currentlyRequiredProperties},(e?this.arcgisConfigurationEditorInitialized:this.arcgisConfigurationEditorChange).emit(this._model)}getErrorPropertyPath(e){let{instancePath:i,keyword:t}=e,s=i?.slice(1).split("/").join(".");return t==="required"&&(s=s?.length?`${s}.${e.params.missingProperty}`:e.params.missingProperty),s}getControlErrorMessages(e,i,t){return i.reduce((s,o)=>{if(this.getErrorPropertyPath(o)===e){let{keyword:n}=o,c=t.find(l=>l.keyword===n)||{type:C.error,keyword:n,label:o.message};s=[...s,c]}return s},[])}getControlMessages(e){var i,t;let s=[],o=(i=e.options)===null||i===void 0?void 0:i.disableMessages,r=S(e.scope),n=((t=e.options)===null||t===void 0?void 0:t.messages)||[],{error:c,success:l,custom:h}=n.reduce((p,m)=>{let b=m.type.toLowerCase();return p[b]=[...p[b],m],p},{success:[],error:[],custom:[]}),d=this.invalidProperties.includes(r)&&!o,u=l.length&&!o,g=h.length&&!o;if(d){let{errors:p=[]}=this._validationResult;s=[...this.getControlErrorMessages(r,p,c)]}else u&&(s=[...l]);if(g){let p=h.reduce((m,b)=>(m=b.alwaysShow||(b.condition?se(b.condition,this._model):te(b.conditions,this._model))?[...m,b]:m,m),[]);s=[...s,...p]}return s}renderUiSchemaElement(e){let i=M(e.rule||e.rules,this._model);if(!i.includes(E.HIDE)){if(e.type===f.section)return this.renderUiSchemaSection(e,i);if(e.type===f.control)return this.renderUiSchemaControl(e,i);if(e.type===f.slot)return a("slot",{key:e.options.name,name:e.options.name});if(e.type===f.notice){let{notice:t,noticeId:s}=e.options||{};return a("arcgis-hub-notice",{notice:t,noticeId:s})}else if(e.type===f.text)return a("p",null,y(e,this.t))}}renderUiSchemaControl(e,i=[]){if(e)try{let t=R.get(this._schema,e.scope);t.if&&(t=L(t.if)(this._values)?Object.assign(Object.assign({},t),t.then):Object.assign(Object.assign({},t),t.else)),t.title=y(e,this.t);let s=S(e.scope);return a("arcgis-configuration-editor-field",{disabled:this.disabled||i.includes(E.DISABLE),invalid:this.invalidProperties.includes(s),isMobile:this.isMobile,key:s,messages:this.getControlMessages(e),model:this._model,property:s,required:this.currentlyRequiredProperties.has(s),scale:this.scale,schema:t,t:this.t,uiSchema:e,value:$(this._values,s)})}catch(t){console.error(t)}}renderUiSchemaSection(e,i=[]){var t,s,o,r,n,c;let l=i.includes(E.DISABLE),{variant:h}=((t=this.uiSchema)===null||t===void 0?void 0:t.options)||{},d=y(e,this.t),u=y(e,this.t,"options.helperText"),g=ce(this._model,e);return((s=e.options)===null||s===void 0?void 0:s.section)==="step"?a("calcite-stepper-item",{"data-label":d,description:u,disabled:l,heading:d,key:d},a("div",{class:"section__content"},g&&Q(e,this.t,this._intl),a("div",{class:"section__fields"},e.elements.map(p=>this.renderUiSchemaElement(p))))):((o=e.options)===null||o===void 0?void 0:o.section)==="accordionItem"?a("calcite-accordion-item",{class:{[h]:!!h},"data-label":d,description:u,disabled:l,expanded:!l&&((r=e.options)===null||r===void 0?void 0:r.expanded),heading:d,iconEnd:(n=e.options)===null||n===void 0?void 0:n.iconEnd,iconFlipRtl:"both",iconStart:(c=e.options)===null||c===void 0?void 0:c.iconStart,key:F("accordionItem")},a("div",{class:"section__content"},g&&Q(e,this.t,this._intl),a("div",{class:"section__fields"},e.elements.map(p=>this.renderUiSchemaElement(p))))):a("arcgis-configuration-editor-section",{disabled:l,label:d,model:this._model,scale:this.scale,t:this.t,uiSchema:v(e),variant:this.variant},e.elements.map(p=>this.renderUiSchemaElement(p)))}render(){return a(x,{key:"9ff6284f577a350c03b74b8985f5393e028d21ee","data-element":"configuration-editor",role:"group",tabIndex:-1},this._uiSchema.elements.map(this.renderUiSchemaElement))}static get assetsDirs(){return["locales"]}get element(){return H(this)}static get watchers(){return{uiSchema:["handleUiSchemaChange"],schema:["handleSchemaChange"],values:["handleValuesChange"]}}};ye.style=ve;var Ce='.disabled-text{min-height:44px;display:flex;align-items:center}calcite-label span{display:flex;align-items:center;gap:0.5rem}calcite-label calcite-input-message{margin-top:0px}calcite-label[layout="inline-space-between"] .helper-text{margin-top:0.5rem}.field-container calcite-input-message,.message-container calcite-input-message,.helper-text{font-weight:var(--calcite-font-weight-normal)}[scale="s"] calcite-input-message{font-size:var(--calcite-font-size--3);line-height:0.75rem}[scale="l"] calcite-input-message{font-size:var(--calcite-font-size--1);line-height:1rem}.message-notice-container{max-width:20rem}.field-container{margin-bottom:0.5rem;display:flex;flex-direction:column;gap:.625rem;}.field-container-without-label{margin-bottom:1.25rem}.field-container-inline{align-self:flex-start}.field-message{display:flex;flex-direction:row;align-items:center;justify-content:flex-start}.field-message calcite-icon.error{--calcite-ui-icon-color:var(--calcite-color-status-danger);margin:0.25rem}.field-message calcite-icon.success{--calcite-ui-icon-color:var(--calcite-color-status-success);margin:0.25rem}.field-message calcite-icon.custom{margin:0.25rem}',_e=Ce,Se=class{constructor(e){q(this,e),this.arcgisConfigurationEditorFieldChange=P(this,"arcgisConfigurationEditorFieldChange",7),this.compositeFields={"arcgis-hub-timeline-editor":{inputChange:"arcgisHubTimelineEditorChange"},"hub-composite-input-icon":{inputChange:"arcgisCompositeIconFieldChange"},"hub-composite-input-service-query-metric":{inputChange:"arcgisCompositeServiceQueryMetricFieldChange"},"hub-composite-input-expression-set":{inputChange:"arcgisCompositeExpressionSetFieldChange"},"hub-composite-input-action-links":{values:"links",inputChange:"arcgisCompositeActionLinksFieldChange"},"arcgis-hub-access-level-controls":{values:"accessLevel",inputChange:"arcgisHubItemAccessLevelChange"},"arcgis-hub-license-picker":{inputChange:"arcgisHubLicensePickerChange",values:"licenseInfo"},"arcgis-privacy-config":{inputChange:"hubPrivacyPreferencesConfigChanged",values:"config"},"hub-composite-input-map-settings":{values:"settings",inputChange:"arcgisCompositeMapSettingsFieldChange"},"hub-composite-input-embed":{inputChange:"arcgisCompositeEmbedFieldChange",values:"embed"},"hub-composite-input-embeds":{inputChange:"arcgisCompositeEmbedsFieldChange",values:"embeds"},"arcgis-hub-embed-card-editor":{inputChange:"arcgisHubEmbedCardEditorChange"},"hub-composite-input-site-url":{inputChange:"arcgisCompositeSiteUrlFieldChange",values:"urlInfo"},"arcgis-hub-catalog-builder":{values:"catalog",inputChange:"arcgisHubCatalogBuilderChange"},"arcgis-hub-collections-builder":{inputChange:"arcgisHubCollectionsBuilderChange"},"arcgis-hub-query-builder":{values:"query",inputChange:"arcgisHubQueryBuilderChange"},"arcgis-hub-filters-builder":{values:"filters",inputChange:"arcgisHubFiltersBuilderChange"},"arcgis-hub-predicates-builder":{values:"predicates",inputChange:"arcgisHubPredicatesBuilderChange"},"arcgis-hub-catalog-appearance-builder":{values:"catalogDisplayConfig",inputChange:"arcgisHubCatalogAppearanceBuilderChange"},"arcgis-hub-collections-appearance-builder":{values:"displayConfig",inputChange:"arcgisHubCollectionsAppearanceBuilderChange"},"arcgis-hub-gallery-appearance-builder":{values:"displayConfig",inputChange:"arcgisHubGalleryAppearanceBuilderChange"},"arcgis-hub-gallery-card-editor":{values:"values",inputChange:"arcgisHubGalleryCardEditorChange"}},this.property=void 0,this.schema=void 0,this.uiSchema=void 0,this.model=void 0,this.value=void 0,this.invalid=!1,this.messages=[],this.disabled=!1,this.required=!1,this.t=void 0,this.scale=void 0,this.isMobile=!1,this.shouldShowMessages=!1,D(this,"handleFieldInputChange")}async componentWillLoad(){this.shouldShowMessages=!!this.value,this.intl=await I.loadIntlForComponent(this.element)}get _context(){return re()}get fieldLabel(){let e=y(this.uiSchema,this.t);if(e)return this.required?`${e}*`:e}get hasHelperText(){var e,i;return(i=(e=this.uiSchema)===null||e===void 0?void 0:e.options)===null||i===void 0?void 0:i.helperText}get hasTooltip(){var e,i;return(i=(e=this.uiSchema)===null||e===void 0?void 0:e.options)===null||i===void 0?void 0:i.tooltip}get isDisabled(){return this.disabled||!_(this.schema.const)}get status(){let e=this.invalid?"invalid":"idle";return e=this.shouldShowMessages?e:"idle",e}get id(){return this.uiSchema.id}get _value(){return[this.value,this.schema.default,this.schema.const,B[this.schema.type]].find(e=>{var i;return(typeof this.schema.type=="string"?this.schema.type==="number":(i=this.schema.type)===null||i===void 0?void 0:i.includes("number"))?!isNaN(e):!_(e)})}get fieldTelemetryLabel(){let e=this.property.split(".").pop();return Y(e).split("-").map(O).join(" ")}get fieldParams(){let{property:e,required:i,t,uiSchema:s,schema:o,status:r,disabled:n,_value:c,fieldLabel:l,fieldTelemetryLabel:h,model:d}=this,u=l;if(!u){let g=this.element.closest(".configuration-editor-section");u=g?.getAttribute("data-label")||""}return{value:c,property:e,required:i,t,uiSchema:s,schema:o,status:r,disabled:n,model:d,label:u,telemetryLabel:h}}isCompositeField(e){return!!this.compositeFields[e]}handleFieldInputChange(e){var i;e.stopPropagation();let t=e.detail;!Array.isArray(e.detail)&&(!((i=e.detail)===null||i===void 0)&&i.values)&&(t=e.detail.values),this.arcgisConfigurationEditorFieldChange.emit({property:this.property,value:t}),this.shouldShowMessages=!0}getDefaultControl(e){return{string:"hub-field-input-input",boolean:"hub-field-input-switch",array:"hub-field-input-multiselect"}[e]}getMessageIcon(e,i,t){let s,o=_(e)?!0:e;return i===C.error&&o?s=t?"x-octagon":"exclamation-mark-circle":i===C.success&&o?s="check-circle":i===C.custom&&(s=e),s}getMessageStatus(e){switch(e){case C.error:return"invalid";case C.success:return"valid";case C.custom:return"idle"}}renderMessages(e){return e.reduce((i,t,s)=>{let{type:o,display:r,icon:n,kind:c,hidden:l,allowShowBeforeInteract:h}=t;if(h||this.shouldShowMessages){let d=y(t,this.t),u=he(t,this.t),g=this.getMessageIcon(n,o,d),p=this.getMessageStatus(o);o===C.error&&(d=this.intl.t("errorMessage",{translatedErrorMessage:d})),!l&&i.push(r==="notice"?a("div",{class:"message-notice-container"},a("calcite-notice",{icon:n,id:`${this.id}-message-${s}`,key:`${t.keyword}_${t.type}`,kind:c,open:!0,scale:this.scale},u&&a("div",{slot:"title"},u),a("div",{slot:"message"},d),t.link&&this.renderNoticeLink(t))):a("calcite-input-message",{icon:g,id:`${this.id}-message-${s}`,key:`${t.keyword}_${t.type}`,scale:this.scale,status:p},d))}return i},[])}renderNoticeLink(e){let i=null,t=e.link;switch(t.kind){case"external":i=a("calcite-link",{href:t.href,iconEnd:"launch",slot:"link",target:t.target},t.label);break}return i}renderControl(e){var i,t,s;let{control:o,composite:r,changeEvent:n,styles:c}=((i=e.uiSchema)===null||i===void 0?void 0:i.options)||{},{hasHelperText:l,messages:h}=this,d=o||this.getDefaultControl(e.schema.type);if(d==="calcite-link")return null;let u=[];l&&u.push(`${this.id}-helper-text`),h?.length&&u.push(...h.reduce((w,U,de)=>(!U.hidden&&(U.allowShowBeforeInteract||this.shouldShowMessages)&&w.push(`${this.id}-message-${de}`),w),[]));let g=this.isCompositeField(o)||r,p=((t=this.compositeFields[o])===null||t===void 0?void 0:t.values)||"values",m=((s=this.compositeFields[o])===null||s===void 0?void 0:s.inputChange)||n,b=g?Object.assign(Object.assign({context:this._context,[p]:e.value},e.uiSchema.options),{"aria-describedby":u.join(" "),isMobile:this.isMobile,params:Object.assign({scale:this.scale,describedBy:u.join(" ")},e),[`on${O(m)}`]:this.handleFieldInputChange}):{context:this._context,"aria-describedby":u.join(" "),isMobile:this.isMobile,params:Object.assign({scale:this.scale,describedBy:u.join(" ")},e),styles:c,onArcgisConfigurationEditorFieldInputChange:this.handleFieldInputChange};return d&&a(d,Object.assign({},b))}renderTooltip(e,i){let t=`arcgis-configuration-editor-field-tooltip-${Date.now()}`,s=y(e,i,"options.tooltip");return a(A,null,a("arcgis-ref-tooltip",{text:s},a("calcite-icon",{icon:"information-f",id:t,scale:"s",tabindex:0,textLabel:s})))}renderBlockField(){let{fieldLabel:e,hasTooltip:i,hasHelperText:t,messages:s,fieldParams:o}=this,r=s?.length!==0?"alert":"",n=c=>a(A,null,a("div",{"aria-describedby":`${this.id}-helper-text ${this.id}-messages-container`,class:{"field-container":!0,"field-container-without-label":!c},id:this.id},t&&G(o.uiSchema,o.t,`${this.id}-helper-text`),this.renderControl(o)),!!s?.length&&a("div",{"aria-live":"polite",class:"message-container",id:`${this.id}-messages-container`,role:r},this.renderMessages(s)));return e?a("calcite-label",{for:this.id,scale:this.scale},a("span",null,e,i&&this.renderTooltip(this.uiSchema,this.t)),n(!0)):n()}renderInlineField(){var e;let{fieldLabel:i,hasTooltip:t,fieldParams:s}=this;return a(A,null,a("calcite-label",{for:this.id,layout:"inline-space-between",scale:this.scale},a("div",null,a("span",null,i,t&&this.renderTooltip(s.uiSchema,s.t)),this.hasHelperText&&G(s?.uiSchema,s.t,`${this.id}-helper-text`),!!(!((e=this.messages)===null||e===void 0)&&e.length)&&a("div",{class:"message-container",id:`${this.id}-messages-container`},this.renderMessages(this.messages))),a("div",{"aria-describedby":`${this.id}-helper-text ${this.id}-messages-container`,class:"field-container field-container-inline",id:this.id},this.renderControl(s))))}render(){var e,i,t;let s=((t=(i=(e=this.fieldParams)===null||e===void 0?void 0:e.uiSchema)===null||i===void 0?void 0:i.options)===null||t===void 0?void 0:t.layout)==="inline-space-between";return a(x,{key:"ba8228bb7ccecfebbebbec54cc52a77c5288330b"},this.fieldLabel&&s?this.renderInlineField():this.renderBlockField())}static get assetsDirs(){return["locales"]}get element(){return H(this)}};Se.style=_e;var Ee=".section__content{display:flex;flex-direction:column}.section__content .required-field-text{font-size:var(--calcite-font-size--2);margin-bottom:1.5rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1)}arcgis-configuration-editor-section+arcgis-configuration-editor-field{margin-top:0.75rem}",Pe=Ee,we=class{constructor(e){q(this,e),this.disabled=void 0,this.label=void 0,this.model=void 0,this.uiSchema=void 0,this.scale="m",this.t=void 0,this.variant=void 0}async componentWillLoad(){this._intl=await I.loadIntlForComponent(this.element)}get isLastSection(){let e=this.element.nextElementSibling,i=!!e,t=i&&e.tagName==="ARCGIS-CONFIGURATION-EDITOR-FIELD";return!i||t}get sectionComponent(){var e;let i=(e=this.uiSchema.options)===null||e===void 0?void 0:e.section;return{accordion:"hub-section-accordion",block:"hub-section-block",stepper:"hub-section-stepper",subblock:"hub-section-subblock",card:"hub-section-card"}[i]||"hub-section-basic"}get sectionParams(){return{disabled:this.disabled,label:this.label,model:this.model,uiSchema:this.uiSchema,scale:this.scale,t:this.t,variant:this.variant}}get helperText(){var e;return((e=this.uiSchema.options)===null||e===void 0?void 0:e.helperText)||{}}renderNestedSection(){return a("slot",null)}renderSectionContent(){return a("div",{class:"section__content"},ce(this.model,this.uiSchema)&&Q(this.uiSchema,this.t,this._intl),a("div",{class:"section__fields"},a("slot",null)))}render(){var e;let i=this.sectionComponent;return a(x,{key:"d6090fb01234650442460c3780e101f400226576"},a(i,{key:"95e2cdb44728b048fa3d847e18ac420bb0d921b8",class:{"configuration-editor__last-child":this.isLastSection},params:this.sectionParams},["stepper","accordion"].includes((e=this.uiSchema.options)===null||e===void 0?void 0:e.section)?this.renderNestedSection():this.renderSectionContent()))}static get assetsDirs(){return["locales"]}get element(){return H(this)}};we.style=Pe;var Re="label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}",xe=Re,qe=class{constructor(e){q(this,e),this.handleSlotChange=i=>{let t=oe(i)[0];this.tooltipRef=t,t&&(t.setAttribute("aria-labelledby",this.labelId),this.isSlottedElDisabled&&this.makeSlottedElFocusable(t))},this.overlayPositioning="fixed",this.placement="auto",this.text=void 0,this.isSlottedElDisabled=!1,this.tooltipRef=void 0,this.labelId=F()}handleIsSlottedElDisabledChange(e){this.isSlottedElDisabled=e,this.isSlottedElDisabled&&this.tooltipRef&&this.makeSlottedElFocusable(this.tooltipRef)}makeSlottedElFocusable(e){var i;let t=(i=e?.shadowRoot)===null||i===void 0?void 0:i.querySelector(".interaction-container");e.setAttribute("tabindex","0"),t?.removeAttribute("inert")}render(){return a(x,{key:"309d29fee17c391565044f3e259871d0f76c03f2"},a("slot",{key:"968993c97cb19ac74d463029117adcd19a97c6cb",onSlotchange:this.handleSlotChange}),a("label",{key:"3866dc94d891dd8066adbf0ba6b7ace416ab2945","aria-hidden":"false",class:"sr-only",id:this.labelId},this.text),this.text&&this.tooltipRef&&a("calcite-tooltip",{"aria-hidden":"true",overlayPositioning:this.overlayPositioning,placement:this.placement,referenceElement:this.tooltipRef},this.text))}static get watchers(){return{isSlottedElDisabled:["handleIsSlottedElDisabledChange"]}}};qe.style=xe;export{ye as arcgis_configuration_editor,Se as arcgis_configuration_editor_field,we as arcgis_configuration_editor_section,qe as arcgis_ref_tooltip};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.26/esri/copyright.txt for details.
|
|
3
|
+
v0.26.0 */
|
|
4
|
+
function u(){function i(t,c,a){let{value:l}=a,e=`_${c}Called`;Object.defineProperty(t,e,{writable:!0,value:!1});let n=`_${c}Cache`;Object.defineProperty(t,n,{writable:!0});let o=function(...s){return this[e]||(this[e]=!0,this[n]=l.apply(this,s)),this[n]};return Object.assign(Object.assign({},a),{value:o})}return i}export{u as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.26/esri/copyright.txt for details.
|
|
3
|
+
v0.26.0 */
|
|
4
|
+
import{e as n}from"./GQV4EJFI.js";import"./FUU7EEU6.js";import"./6VPW6E5P.js";import"./DYZ7J7C2.js";import"./Y6MWCBTL.js";import"./KDFYZ6IA.js";import"./T5N7J5KA.js";import"./UBZ4BXC2.js";import"./62GTEZE3.js";import"./UGOSLTPP.js";import"./GPE2TY3K.js";import"./IFOFJAS7.js";import"./4CHZULMP.js";import"./ETWSJPEG.js";import"./ZBVZFF7G.js";import"./7QEHUQVY.js";import"./GZXQC3PQ.js";import"./YEMQFXZ3.js";import"./DWSH4A76.js";import"./ND6JGV2P.js";import"./SUSER4N2.js";import"./ZFM4JBMP.js";import"./XKLPKD3N.js";import"./KVEOKRJX.js";import"./VHT4WQQ6.js";import"./VLQNTY6Y.js";import"./7VPVBMRX.js";import"./JVCXDN2F.js";import"./7DCGBE3H.js";import"./IOCIWEWY.js";import"./B3VHX7NO.js";import"./W6VAJ63O.js";import"./CMS26LUQ.js";import"./CH2IMSON.js";import"./74EIS6DU.js";import"./V4HLTNXK.js";import"./76DGSVKD.js";import"./HXYGNBYY.js";import"./C5KXQBED.js";import"./HMDOXDTX.js";import"./Y23233PY.js";import"./2XZQFK52.js";import"./YTUYPE6C.js";import"./KRF3CEDL.js";import"./4BTRPPNN.js";import"./T6D2N3FF.js";import"./5WHMIZOR.js";import"./NB7FQ6LL.js";import"./QAIWMMIU.js";import"./CITIOB5T.js";import"./2HXW7EZR.js";import"./IEHZL3HZ.js";import"./IHAJC7AK.js";import"./6CU64SHW.js";import"./KEWVC6LL.js";import"./Q2QQIIG4.js";import"./7UANUYEV.js";import"./JUPINWD3.js";import"./RIZDV5IO.js";import"./H6KSUJRJ.js";import"./OKBVMEXB.js";import"./JGKQHKDS.js";import"./AZ5AV37N.js";import"./APTKCFQL.js";import"./CDJKF4LM.js";import"./V4VIWGM4.js";import"./BFWRHB7T.js";import"./3OWN4VDE.js";import{c as d}from"./2MZR2E7H.js";import"./NUVQ6QVE.js";import"./2DT73XX6.js";import"./CJNJGDDD.js";import"./DBRRT4VH.js";import"./TXRVYD6C.js";import"./OD5HQD5E.js";import"./X5OD5M2E.js";import"./VYEXSR5N.js";import"./H34WDAMJ.js";import"./4MXZQRPH.js";import"./NFEU2STS.js";import{a as l}from"./VKZ6FIWT.js";import"./D5E2VHNU.js";import"./SGPM3YSK.js";import{b as r,c,e as h,h as i,i as u}from"./G44WNTOM.js";import{a as s}from"./2YK22MKI.js";import"./2JBK5SNV.js";import"./UMQYJ6KV.js";import"./SU7CHYPQ.js";import"./YZ73VA46.js";var g=":host{display:block}section{margin-top:1rem}header{display:flex;flex-direction:row;justify-content:space-between}",b=g,f=class{onSearchChange(t){s.debug("search change",t.detail),this.searchValue=t.detail}constructor(t){u(this,t),this.hubBrowseCollectionSelected=h(this,"hubBrowseCollectionSelected",7),this.entity=void 0,this.capability=void 0,this.searchValue=void 0,l(this,"handleClickMore")}get catalog(){return this.entity[this.capability].catalog}get _context(){return d()}handleClickMore(t){t.preventDefault(),t.stopPropagation();let e=t.target.dataset.collection;console.log("click more",e),this.hubBrowseCollectionSelected.emit(e)}get queries(){let t=n.fromJson(this.catalog,this._context);return t.collections.map(o=>o.key).map(o=>t.getCollectionJson(o)).map(o=>Object.assign(Object.assign({},o.scope),{key:o.key,label:o.label||o.key})).sort(y("label"))}renderHeader(){return r(i,null,r("arcgis-hub-search-input",{placeholder:"Search",scale:"m",text:"Search"}),r("hr",null))}renderGallery(t){return r(i,null,r("section",null,r("header",null,r("h2",null,t.label),r("calcite-button",{appearance:"transparent",color:"blue","data-collection":t.key,onClick:this.handleClickMore,scale:"m",type:"button"},"View More...")),r("main",null,r("arcgis-hub-gallery",{layout:"grid",limit:4,query:t,showFacets:!1,showMoreResultsBtn:!1,showSearch:!1,term:this.searchValue}))))}render(){return r(c,{key:"b2c3af03fcd2e2889ca9c950e7f53800e9d76413","data-element":"browse-collections"},r("h2",{key:"2313145b66896743c0e57decc23e420833f5179b"},"Site Catalog: ",this.entity.name),this.renderHeader(),this.queries.map(t=>this.renderGallery(t)))}};function y(t){return function(p,m){let o=p[t].toUpperCase(),a=m[t].toUpperCase();return o<a?-1:o>a?1:0}}f.style=b;export{f as arcgis_hub_browse_collections};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.26/esri/copyright.txt for details.
|
|
3
|
+
v0.26.0 */
|
|
4
|
+
function t(e){return e.target.assignedElements({flatten:!0})}var n=(e="")=>e.replace(/\n/g,"<br>");export{t as a,n as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.26/esri/copyright.txt for details.
|
|
3
|
+
v0.26.0 */
|
|
4
|
+
import{c as o}from"./7QEHUQVY.js";import"./GZXQC3PQ.js";import"./KVEOKRJX.js";import"./VHT4WQQ6.js";import"./V4HLTNXK.js";import"./76DGSVKD.js";import"./HXYGNBYY.js";import"./C5KXQBED.js";import"./HMDOXDTX.js";import"./Y23233PY.js";import"./2XZQFK52.js";import"./KRF3CEDL.js";import"./Q2QQIIG4.js";import"./7UANUYEV.js";import"./JUPINWD3.js";import"./RIZDV5IO.js";import"./H6KSUJRJ.js";import"./OKBVMEXB.js";import"./APTKCFQL.js";import"./CDJKF4LM.js";import"./V4VIWGM4.js";import"./BFWRHB7T.js";import"./3OWN4VDE.js";import"./H34WDAMJ.js";import"./4MXZQRPH.js";import"./NFEU2STS.js";import{b as i,c as s,i as d}from"./G44WNTOM.js";import"./2JBK5SNV.js";import{a as r}from"./UMQYJ6KV.js";import"./SU7CHYPQ.js";import"./YZ73VA46.js";var n=":host{display:block;border:thin solid #DDD;margin:0.5rem 0}tr:nth-child(even){background-color:#f3f3f3}th,td{padding:0.8rem 1rem}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}td.loading{animation:shimmer 2s cubic-bezier(0.4, 0, 0.2, 0.8) infinite}tbody tr.active-row{font-weight:bold;color:#009879}",c=n,p=class{constructor(t){d(this,t),this.isLoading=!0,this.entityId=null,this.metadata=[],this.entity={}}metadataUpdated(t){console.log("ArcGISHubMetadataList: metadata",t),t&&(this.metadata=JSON.parse(t))}entityIdUpdated(t){t&&this.fetchEntity(t)}lookup(t,m){let a=r(m,t.element),e=a;if(a!==null)switch(t.format){case"datetime":{e=new Date(a).toISOString();break}case"array":{Array.isArray(a)&&(e=a.join(", "));break}}return e}async fetchEntity(t){this.entity=await o(t),this.isLoading=!1,console.log("ArcGISHubMetadataList: fetchEntity",[this.entity.title,this.entity.title,this.metadata,this.entity])}componentWillLoad(){this.fetchEntity(this.entityId)}render(){return i(s,{key:"ee7a296c0f1f451d3f50b1ec2cb9d94bbe69ae77","data-element":"metadata-list"},i("slot",{key:"c17ace5f67b18dc9e5ae6b8ad2817c5f0dd0f54a"}),i("table",{key:"355b0e6c7b8ef70c47df43b76fc093ef75a76861"},this.metadata.map(t=>i("tr",{key:t.label},i("td",null,t.label),i("td",null,this.isLoading?"Lame Loading State \u{1F92E}...":this.lookup(t,this.entity))))))}static get watchers(){return{metadata:["metadataUpdated"],entityId:["entityIdUpdated"]}}};p.style=c;export{p as arcgis_hub_metadata_list};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.26/esri/copyright.txt for details.
|
|
3
|
+
v0.26.0 */
|
|
4
|
+
import{a as j,b as C}from"./BFRL2RDT.js";import{a as P,b as O,c as W}from"./CPZP3LH7.js";import{a as x}from"./ICFK7PMC.js";import{a as I}from"./GKLK4P23.js";import{c as k}from"./2MZR2E7H.js";import{a as g}from"./FTMVBM73.js";import{b as L}from"./SGPM3YSK.js";import{a as M}from"./2YK22MKI.js";import{a as N}from"./UMQYJ6KV.js";var J={validate:t=>{if(!t.length)return!0;let e=t.trim().split(","),r=(f,d)=>{let s=d.trim();return s&&f.indexOf(s)===-1?[...f,s]:f},{length:n}=e.reduce(r,[]);return n<=50&&e.length===n}},X={validate:t=>t.length?/^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(t):!0},Q={validate:t=>{let a=!0;if(typeof t=="string"&&t&&/^[0-9]{2}:[0-9]{2}(:[0-9]{2})?$/.test(t)){let[e,r,n=0]=t.split(":").map(f=>parseInt(f,10));a=e>=0&&e<24&&r>=0&&r<60&&n>=0&&n<60}else a=!1;return a},compare:(t,a)=>{let e=new Date,r=d=>{let[s,c,u=0]=d.split(":").map(l=>parseInt(l,10));return new Date(e.getFullYear(),e.getMonth(),e.getDate(),s,c,u,0)},n=r(t),f=r(a);return n>f?1:n<f?-1:0}},tt={validate:t=>{if(!t.length)return!0;try{let a=t.startsWith("/");return new URL(t,a?window.location.origin:void 0),t.startsWith("https://")||t.startsWith("/")}catch{return!1}}},et={validate:t=>{let e=typeof t=="string"&&!/(\u00a9|\u00ae|[\u2000-\u3300]|\ud83c[\ud000-\udfff]|\ud83d[\ud000-\udfff]|\ud83e[\ud000-\udfff])/g.test(t),n=typeof t=="string"&&!/^\s*$/g.test(t),d=typeof t=="string"&&!/[<>==]/g.test(t);return e&&d&&n}},at={validate:t=>{let e=typeof t=="string"&&!/(\u00a9|\u00ae|[\u2000-\u3300]|\ud83c[\ud000-\udfff]|\ud83d[\ud000-\udfff]|\ud83e[\ud000-\udfff])/.test(t),n=typeof t=="string"&&!/[^\x00-\x7F]/.test(t);return e&&n}},rt={validate:t=>typeof t=="string"&&t.trim().length>0},nt={blockWords:J,slug:X,timePickerTime:Q,url:tt,entityTitleValidator:et,siteEntityTitleValidator:at,isNotWhitespace:rt},ot={keyword:"isUniqueDomain",async:!0,type:"object",validate:st};async function st(t,a){let{lookupDomain:e}=await import("./IPTT4RSC.js"),r=k(),n=a.defaultHostname,f=t?.siteId,d;try{d=(await e(n,r.hubRequestOptions)).siteId===f}catch{d=!0}return d}var it={keyword:"isUniqueSlug",async:!0,type:"string",validate:ft};async function ft(t,a){let{findItemsBySlug:e}=await import("./IPTT4RSC.js"),r=k(),n=t?.id,d=`${t?.orgUrlKey}|${a}`,s;try{s=(await e({slug:d,exclude:n},r.requestOptions)).length===0}catch(c){M.error(`Error checking for unique slug: ${d}`,c),s=!1}return s}var dt=[ot,it],R={exports:{}},K={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.formatNames=t.fastFormats=t.fullFormats=void 0;function a(o,i){return{validate:o,compare:i}}t.fullFormats={date:a(f,d),time:a(c,u),"date-time":a(_,v),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:E,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:Z,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:D,int32:{type:"number",validate:$},int64:{type:"number",validate:S},float:{type:"number",validate:U},double:{type:"number",validate:U},password:!0,binary:!0},t.fastFormats={...t.fullFormats,date:a(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,d),time:a(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,u),"date-time":a(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,v),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},t.formatNames=Object.keys(t.fullFormats);function e(o){return o%4===0&&(o%100!==0||o%400===0)}let r=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,n=[0,31,28,31,30,31,30,31,31,30,31,30,31];function f(o){let i=r.exec(o);if(!i)return!1;let m=+i[1],p=+i[2],w=+i[3];return p>=1&&p<=12&&w>=1&&w<=(p===2&&e(m)?29:n[p])}function d(o,i){if(o&&i)return o>i?1:o<i?-1:0}let s=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;function c(o,i){let m=s.exec(o);if(!m)return!1;let p=+m[1],w=+m[2],F=+m[3],A=m[5];return(p<=23&&w<=59&&F<=59||p===23&&w===59&&F===60)&&(!i||A!=="")}function u(o,i){if(!(o&&i))return;let m=s.exec(o),p=s.exec(i);if(m&&p)return o=m[1]+m[2]+m[3]+(m[4]||""),i=p[1]+p[2]+p[3]+(p[4]||""),o>i?1:o<i?-1:0}let l=/t|\s/i;function _(o){let i=o.split(l);return i.length===2&&f(i[0])&&c(i[1],!0)}function v(o,i){if(!(o&&i))return;let[m,p]=o.split(l),[w,F]=i.split(l),A=d(m,w);if(A!==void 0)return A||u(p,F)}let y=/\/|:/,h=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;function E(o){return y.test(o)&&h.test(o)}let T=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function D(o){return T.lastIndex=0,T.test(o)}let b=-(2**31),z=2**31-1;function $(o){return Number.isInteger(o)&&o<=z&&o>=b}function S(o){return Number.isInteger(o)}function U(){return!0}let G=/[^\\]\\Z/;function Z(o){if(G.test(o))return!1;try{return!0}catch{return!1}}})(K);var B={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.formatLimitDefinition=void 0;let a=P.exports,e=O,r=e.operators,n={formatMaximum:{okStr:"<=",ok:r.LTE,fail:r.GT},formatMinimum:{okStr:">=",ok:r.GTE,fail:r.LT},formatExclusiveMaximum:{okStr:"<",ok:r.LT,fail:r.GTE},formatExclusiveMinimum:{okStr:">",ok:r.GT,fail:r.LTE}},f={message:({keyword:s,schemaCode:c})=>e.str`should be ${n[s].okStr} ${c}`,params:({keyword:s,schemaCode:c})=>e._`{comparison: ${n[s].okStr}, limit: ${c}}`};t.formatLimitDefinition={keyword:Object.keys(n),type:"string",schemaType:"string",$data:!0,error:f,code(s){let{gen:c,data:u,schemaCode:l,keyword:_,it:v}=s,{opts:y,self:h}=v;if(!y.validateFormats)return;let E=new a.KeywordCxt(v,h.RULES.all.format.definition,"format");E.$data?T():D();function T(){let z=c.scopeValue("formats",{ref:h.formats,code:y.code.formats}),$=c.const("fmt",e._`${z}[${E.schemaCode}]`);s.fail$data(e.or(e._`typeof ${$} != "object"`,e._`${$} instanceof RegExp`,e._`typeof ${$}.compare != "function"`,b($)))}function D(){let z=E.schema,$=h.formats[z];if(!$||$===!0)return;if(typeof $!="object"||$ instanceof RegExp||typeof $.compare!="function")throw new Error(`"${_}": format "${z}" does not define "compare" function`);let S=c.scopeValue("formats",{key:z,ref:$,code:y.code.formats?e._`${y.code.formats}${e.getProperty(z)}`:void 0});s.fail$data(b(S))}function b(z){return e._`${z}.compare(${u}, ${l}) ${n[_].fail} 0`}},dependencies:["format"]};let d=s=>(s.addKeyword(t.formatLimitDefinition),s);t.default=d})(B);(function(t,a){Object.defineProperty(a,"__esModule",{value:!0});let e=K,r=B,n=O,f=new n.Name("fullFormats"),d=new n.Name("fastFormats"),s=(u,l={keywords:!0})=>{if(Array.isArray(l))return c(u,l,e.fullFormats,f),u;let[_,v]=l.mode==="fast"?[e.fastFormats,d]:[e.fullFormats,f],y=l.formats||e.formatNames;return c(u,y,_,v),l.keywords&&r.default(u),u};s.get=(u,l="full")=>{let v=(l==="fast"?e.fastFormats:e.fullFormats)[u];if(!v)throw new Error(`Unknown format "${u}"`);return v};function c(u,l,_,v){var y,h;(y=(h=u.opts.code).formats)!==null&&y!==void 0||(h.formats=n._`require("ajv-formats/dist/formats").${v}`);for(let E of l)u.addFormat(E,_[E])}t.exports=a=s,Object.defineProperty(a,"__esModule",{value:!0}),a.default=s})(R,R.exports);var ut=L(R.exports);function V(t){return ct().compile(t)}function ct(){let t=(e,[r,n])=>e.addFormat(r,n),a=Object.entries(nt).reduce(t,lt());return dt.forEach(e=>a.addKeyword(e)),a}function lt(){let t=new W({allErrors:!0,$data:!0});return ut(t),t}function H(t,a){let e=!1,r=[];try{e=!!t(a),r=t.errors||[]}catch(n){r=n.errors}return{valid:e,errors:r}}async function wt(t,a){let e=!1,r=[];try{e=!!await t(a),r=t.errors||[]}catch(n){r=n.errors}return{valid:e,errors:r}}function Tt(t=[],a){let e=[g.SHOW];return a?.schema&&(e=Array.isArray(t)?t.map(r=>q(r,a)):[q(t,a)]),e}function q(t,a){let e=g.SHOW;if(t){let r=t.condition?Y(t.condition,a):mt(t.conditions,a),n={[g.SHOW]:g.HIDE,[g.HIDE]:g.SHOW,[g.DISABLE]:g.ENABLE,[g.ENABLE]:g.DISABLE,[g.RESET]:g.NONE};e=r?t.effect:n[t.effect]}return e}function mt(t=[],a){let e=!1;return t&&(e=t.every(r=>typeof r=="boolean"?r:Y(r,a))),e}function Y(t,a){let e=!1;if(t)if(t.scope){let r=j.get(a.schema,t.scope),n=C(t.scope),f=[N(a.values,n),r.default,x[r.type]].find(s=>!I(s)),d=V(t.schema);e=H(d,f).valid}else{let n=Object.keys(t.schema.properties).reduce((d,s)=>{let c=`/properties/${s}`,u=j.get(a.schema,c),l=[N(a.values,s),u.default,x[u.type]].find(_=>!I(_));return Object.assign(Object.assign({},d),{[s]:l})},{}),f=V(t.schema);e=H(f,n).valid}return e}export{V as a,H as b,wt as c,Tt as d,mt as e,Y as f};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.26/esri/copyright.txt for details.
|
|
3
|
+
v0.26.0 */
|
|
4
|
+
import{b as e,c as o,i as s}from"./G44WNTOM.js";import"./YZ73VA46.js";var t=":host{display:none}:host([active]){display:block}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}.thumbnail,.heading,.row,.footer>div{animation:shimmer 2s cubic-bezier(0.4, 0, 0.2, 0.8) infinite;background-image:linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);background-color:var(--calcite-color-foreground-3);border-radius:4px}.thumbnail{margin-bottom:1rem;aspect-ratio:200 / 133}.heading{margin-bottom:1rem;height:1.5rem}.row{margin-bottom:0.5rem;height:1rem}.footer{margin-top:2rem;display:flex;justify-content:space-between}.footer>*{height:1.5rem;width:33.333333%}",n=t,d=class{constructor(r){s(this,r),this.active=!1,this.showThumbnail=!1,this.showHeading=!0,this.headingRows=1,this.rows=3,this.showFooter=!1}renderRows(r,i){return[...Array(r).keys()].map(a=>e("div",{class:i,key:a}))}render(){if(this.active)return e(o,{key:"fef6899a008d896809354ade00d3791dac5aad8d",role:"progressbar"},this.showThumbnail&&e("div",{class:"thumbnail"}),this.showHeading&&this.renderRows(this.headingRows,"heading"),this.renderRows(this.rows,"row"),e("slot",{key:"d7d4ee50c1d647acb5ae40a0a96e848f6f6be17a"}),this.showFooter&&e("div",{class:"footer"},e("div",null),e("div",null)))}};d.style=n;export{d as arcgis_skeleton_loader};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.26/esri/copyright.txt for details.
|
|
3
|
+
v0.26.0 */
|
|
4
|
+
var oe="[object Object]";function le(e){var r=!1;if(e!=null&&typeof e.toString!="function")try{r=!!(e+"")}catch{}return r}function fe(e,r){return function(t){return e(r(t))}}var ue=Function.prototype,D=Object.prototype,j=ue.toString,ce=D.hasOwnProperty,ge=j.call(Object),pe=D.toString,de=fe(Object.getPrototypeOf,Object);function he(e){return!!e&&typeof e=="object"}function ve(e){if(!he(e)||pe.call(e)!=oe||le(e))return!1;var r=de(e);if(r===null)return!0;var t=ce.call(r,"constructor")&&r.constructor;return typeof t=="function"&&t instanceof t&&j.call(t)==ge}var be=ve,A={exports:{}},g={},L={exports:{}},w={};function H(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}function me(e,r,t){}function ye(e,r,t){}var Ae=/javascript\s*\:/img;function we(e,r){return Ae.test(r)?"":r}w.whiteList=H();w.getDefaultWhiteList=H;w.onAttr=me;w.onIgnoreAttr=ye;w.safeAttrValue=we;var xe={indexOf:function(e,r){var t,a;if(Array.prototype.indexOf)return e.indexOf(r);for(t=0,a=e.length;t<a;t++)if(e[t]===r)return t;return-1},forEach:function(e,r,t){var a,n;if(Array.prototype.forEach)return e.forEach(r,t);for(a=0,n=e.length;a<n;a++)r.call(t,e[a],a,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}},E=xe;function Te(e,r){e=E.trimRight(e),e[e.length-1]!==";"&&(e+=";");var t=e.length,a=!1,n=0,i=0,f="";function o(){if(!a){var u=E.trim(e.slice(n,i)),l=u.indexOf(":");if(l!==-1){var p=E.trim(u.slice(0,l)),d=E.trim(u.slice(l+1));if(p){var h=r(n,f.length,p,d,u);h&&(f+=h+"; ")}}}n=i+1}for(;i<t;i++){var s=e[i];if(s==="/"&&e[i+1]==="*"){var c=e.indexOf("*/",i+2);if(c===-1)break;i=c+1,n=i+1,a=!1}else s==="("?a=!0:s===")"?a=!1:s===";"?a||o():s===`
|
|
5
|
+
`&&o()}return E.trim(f)}var Se=Te,O=w,ke=Se;function W(e){return e==null}function Ee(e){var r={};for(var t in e)r[t]=e[t];return r}function B(e){e=Ee(e||{}),e.whiteList=e.whiteList||O.whiteList,e.onAttr=e.onAttr||O.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||O.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||O.safeAttrValue,this.options=e}B.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var r=this,t=r.options,a=t.whiteList,n=t.onAttr,i=t.onIgnoreAttr,f=t.safeAttrValue,o=ke(e,function(s,c,u,l,p){var d=a[u],h=!1;if(d===!0?h=d:typeof d=="function"?h=d(l):d instanceof RegExp&&(h=d.test(l)),h!==!0&&(h=!1),l=f(u,l),!!l){var b={position:c,sourcePosition:s,source:p,isWhite:h};if(h){var v=n(u,l,b);return W(v)?u+":"+l:v}else{var v=i(u,l,b);if(!W(v))return v}}});return o};var Le=B;(function(e,r){var t=w,a=Le;function n(f,o){var s=new a(o);return s.process(f)}r=e.exports=n,r.FilterCSS=a;for(var i in t)r[i]=t[i]})(L,L.exports);var z={indexOf:function(e,r){var t,a;if(Array.prototype.indexOf)return e.indexOf(r);for(t=0,a=e.length;t<a;t++)if(e[t]===r)return t;return-1},forEach:function(e,r,t){var a,n;if(Array.prototype.forEach)return e.forEach(r,t);for(a=0,n=e.length;a<n;a++)r.call(t,e[a],a,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var r=/\s|\n|\t/,t=r.exec(e);return t?t.index:-1}},_e=L.exports.FilterCSS,Oe=L.exports.getDefaultWhiteList,F=z;function q(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var Q=new _e;function Ce(e,r,t){}function Ie(e,r,t){}function Pe(e,r,t){}function Fe(e,r,t){}function M(e){return e.replace(Re,"<").replace(ze,">")}function Ve(e,r,t,a){if(t=te(t),r==="href"||r==="src"){if(t=F.trim(t),t==="#")return"#";if(!(t.substr(0,7)==="http://"||t.substr(0,8)==="https://"||t.substr(0,7)==="mailto:"||t.substr(0,4)==="tel:"||t.substr(0,11)==="data:image/"||t.substr(0,6)==="ftp://"||t.substr(0,2)==="./"||t.substr(0,3)==="../"||t[0]==="#"||t[0]==="/"))return""}else if(r==="background"){if(C.lastIndex=0,C.test(t))return""}else if(r==="style"){if(U.lastIndex=0,U.test(t)||(X.lastIndex=0,X.test(t)&&(C.lastIndex=0,C.test(t))))return"";a!==!1&&(a=a||Q,t=a.process(t))}return t=re(t),t}var Re=/</g,ze=/>/g,$e=/"/g,Ne=/"/g,We=/&#([a-zA-Z0-9]*);?/gim,Ue=/:?/gim,Xe=/&newline;?/gim,C=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,U=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,X=/u\s*r\s*l\s*\(.*/gi;function Z(e){return e.replace($e,""")}function J(e){return e.replace(Ne,'"')}function K(e){return e.replace(We,function(t,a){return a[0]==="x"||a[0]==="X"?String.fromCharCode(parseInt(a.substr(1),16)):String.fromCharCode(parseInt(a,10))})}function Y(e){return e.replace(Ue,":").replace(Xe," ")}function ee(e){for(var r="",t=0,a=e.length;t<a;t++)r+=e.charCodeAt(t)<32?" ":e.charAt(t);return F.trim(r)}function te(e){return e=J(e),e=K(e),e=Y(e),e=ee(e),e}function re(e){return e=Z(e),e=M(e),e}function Ge(){return""}function De(e,r){typeof r!="function"&&(r=function(){});var t=!Array.isArray(e);function a(f){return t?!0:F.indexOf(e,f)!==-1}var n=[],i=!1;return{onIgnoreTag:function(f,o,s){if(a(f))if(s.isClosing){var c="[/removed]",u=s.position+c.length;return n.push([i!==!1?i:s.position,u]),i=!1,c}else return i||(i=s.position),"[removed]";else return r(f,o,s)},remove:function(f){var o="",s=0;return F.forEach(n,function(c){o+=f.slice(s,c[0]),s=c[1]}),o+=f.slice(s),o}}}function je(e){for(var r="",t=0;t<e.length;){var a=e.indexOf("<!--",t);if(a===-1){r+=e.slice(t);break}r+=e.slice(t,a);var n=e.indexOf("-->",a);if(n===-1)break;t=n+3}return r}function He(e){var r=e.split("");return r=r.filter(function(t){var a=t.charCodeAt(0);return a===127?!1:a<=31?a===10||a===13:!0}),r.join("")}g.whiteList=q();g.getDefaultWhiteList=q;g.onTag=Ce;g.onIgnoreTag=Ie;g.onTagAttr=Pe;g.onIgnoreTagAttr=Fe;g.safeAttrValue=Ve;g.escapeHtml=M;g.escapeQuote=Z;g.unescapeQuote=J;g.escapeHtmlEntities=K;g.escapeDangerHtml5Entities=Y;g.clearNonPrintableCharacter=ee;g.friendlyAttrValue=te;g.escapeAttrValue=re;g.onIgnoreTagStripAll=Ge;g.StripTagBody=De;g.stripCommentTag=je;g.stripBlankChar=He;g.cssFilter=Q;g.getDefaultCSSWhiteList=Oe;var V={},y=z;function Be(e){var r=y.spaceIndex(e),t;return r===-1?t=e.slice(1,-1):t=e.slice(1,r+1),t=y.trim(t).toLowerCase(),t.slice(0,1)==="/"&&(t=t.slice(1)),t.slice(-1)==="/"&&(t=t.slice(0,-1)),t}function qe(e){return e.slice(0,2)==="</"}function Qe(e,r,t){var a="",n=0,i=!1,f=!1,o=0,s=e.length,c="",u="";e:for(o=0;o<s;o++){var l=e.charAt(o);if(i===!1){if(l==="<"){i=o;continue}}else if(f===!1){if(l==="<"){a+=t(e.slice(n,o)),i=o,n=o;continue}if(l===">"){a+=t(e.slice(n,i)),u=e.slice(i,o+1),c=Be(u),a+=r(i,a.length,c,u,qe(u)),n=o+1,i=!1;continue}if(l==='"'||l==="'")for(var p=1,d=e.charAt(o-p);d.trim()===""||d==="=";){if(d==="="){f=l;continue e}d=e.charAt(o-++p)}}else if(l===f){f=!1;continue}}return n<e.length&&(a+=t(e.substr(n))),a}var Me=/[^a-zA-Z0-9\\_:.-]/gim;function Ze(e,r){var t=0,a=0,n=[],i=!1,f=e.length;function o(p,d){if(p=y.trim(p),p=p.replace(Me,"").toLowerCase(),!(p.length<1)){var h=r(p,d||"");h&&n.push(h)}}for(var s=0;s<f;s++){var c=e.charAt(s),u,l;if(i===!1&&c==="="){i=e.slice(t,s),t=s+1,a=e.charAt(t)==='"'||e.charAt(t)==="'"?t:Ke(e,s+1);continue}if(i!==!1&&s===a){if(l=e.indexOf(c,s+1),l===-1)break;u=y.trim(e.slice(a+1,l)),o(i,u),i=!1,s=l,t=s+1;continue}if(/\s|\n|\t/.test(c))if(e=e.replace(/\s|\n|\t/g," "),i===!1)if(l=Je(e,s),l===-1){u=y.trim(e.slice(t,s)),o(u),i=!1,t=s+1;continue}else{s=l-1;continue}else if(l=Ye(e,s-1),l===-1){u=y.trim(e.slice(t,s)),u=G(u),o(i,u),i=!1,t=s+1;continue}else continue}return t<e.length&&(i===!1?o(e.slice(t)):o(i,G(y.trim(e.slice(t))))),y.trim(n.join(" "))}function Je(e,r){for(;r<e.length;r++){var t=e[r];if(t!==" ")return t==="="?r:-1}}function Ke(e,r){for(;r<e.length;r++){var t=e[r];if(t!==" ")return t==="'"||t==='"'?r:-1}}function Ye(e,r){for(;r>0;r--){var t=e[r];if(t!==" ")return t==="="?r:-1}}function et(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function G(e){return et(e)?e.substr(1,e.length-2):e}V.parseTag=Qe;V.parseAttr=Ze;var tt=L.exports.FilterCSS,m=g,ae=V,rt=ae.parseTag,at=ae.parseAttr,P=z;function I(e){return e==null}function it(e){var r=P.spaceIndex(e);if(r===-1)return{html:"",closing:e[e.length-2]==="/"};e=P.trim(e.slice(r+1,-1));var t=e[e.length-1]==="/";return t&&(e=P.trim(e.slice(0,-1))),{html:e,closing:t}}function nt(e){var r={};for(var t in e)r[t]=e[t];return r}function st(e){var r={};for(var t in e)Array.isArray(e[t])?r[t.toLowerCase()]=e[t].map(function(a){return a.toLowerCase()}):r[t.toLowerCase()]=e[t];return r}function ie(e){e=nt(e||{}),e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=m.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=st(e.whiteList||e.allowList):e.whiteList=m.whiteList,e.onTag=e.onTag||m.onTag,e.onTagAttr=e.onTagAttr||m.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||m.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||m.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||m.safeAttrValue,e.escapeHtml=e.escapeHtml||m.escapeHtml,this.options=e,e.css===!1?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new tt(e.css))}ie.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var r=this,t=r.options,a=t.whiteList,n=t.onTag,i=t.onIgnoreTag,f=t.onTagAttr,o=t.onIgnoreTagAttr,s=t.safeAttrValue,c=t.escapeHtml,u=r.cssFilter;t.stripBlankChar&&(e=m.stripBlankChar(e)),t.allowCommentTag||(e=m.stripCommentTag(e));var l=!1;t.stripIgnoreTagBody&&(l=m.StripTagBody(t.stripIgnoreTagBody,i),i=l.onIgnoreTag);var p=rt(e,function(d,h,b,v,ne){var _={sourcePosition:d,position:h,isClosing:ne,isWhite:Object.prototype.hasOwnProperty.call(a,b)},S=n(b,v,_);if(!I(S))return S;if(_.isWhite){if(_.isClosing)return"</"+b+">";var $=it(v),se=a[b],N=at($.html,function(x,T){var R=P.indexOf(se,x)!==-1,k=f(b,x,T,R);return I(k)?R?(T=s(b,x,T,u),T?x+'="'+T+'"':x):(k=o(b,x,T,R),I(k)?void 0:k):k});return v="<"+b,N&&(v+=" "+N),$.closing&&(v+=" /"),v+=">",v}else return S=i(b,v,_),I(S)?c(v):S},c);return l&&(p=l.remove(p)),p};var ot=ie;(function(e,r){var t=g,a=V,n=ot;function i(o,s){var c=new n(s);return c.process(o)}r=e.exports=i,r.filterXSS=i,r.FilterXSS=n,(function(){for(var o in t)r[o]=t[o];for(var s in a)r[s]=a[s]})();function f(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}f()&&(self.filterXSS=e.exports)})(A,A.exports);var lt=(function(){function e(r,t){var a=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],audio:["autoplay","controls","loop","muted","preload"],b:[],br:[],dd:["style"],div:["align","style"],dl:["style"],dt:["style"],em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],hr:[],i:[],img:["alt","border","height","src","style","width"],li:[],ol:[],p:["style"],source:["media","src","type"],span:["style"],strong:[],sub:["style"],sup:["style"],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],u:[],ul:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.allowedProtocols=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope"],this.arcgisFilterOptions={allowCommentTag:!0,safeAttrValue:function(i,f,o,s){return i==="a"&&f==="href"||(i==="img"||i==="source")&&f==="src"?a.sanitizeUrl(o):A.exports.safeAttrValue(i,f,o,s)}},this._entityMap={"&":"8","<":"<",">":">",'"':""","'":"'","/":"/"};var n;r&&!t?n=r:r&&t?(n=Object.create(this.arcgisFilterOptions),Object.keys(r).forEach(function(i){i==="whiteList"?n.whiteList=a._extendObjectOfArrays([a.arcgisWhiteList,r.whiteList||{}]):n[i]=r[i]})):(n=Object.create(this.arcgisFilterOptions),n.whiteList=this.arcgisWhiteList),this.xssFilterOptions=n,this._xssFilter=new A.exports.FilterXSS(n)}return e.prototype.sanitize=function(r,t){switch(t===void 0&&(t={}),typeof r){case"number":return isNaN(r)||!isFinite(r)?null:r;case"boolean":return r;case"string":return this._xssFilter.process(r);case"object":return this._iterateOverObject(r,t);default:return t.allowUndefined&&typeof r>"u"?void 0:null}},e.prototype.sanitizeUrl=function(r,t){var a=(t??{}).isProtocolRequired,n=a===void 0?!0:a,i=this._trim(r.substring(0,r.indexOf(":"))),f=r==="/",o=/^#/.test(r),s=i&&this.allowedProtocols.indexOf(i.toLowerCase())>-1;return f||o||s?A.exports.escapeAttrValue(r):!i&&!n?A.exports.escapeAttrValue("https://".concat(r)):""},e.prototype.sanitizeHTMLAttribute=function(r,t,a,n){return typeof this.xssFilterOptions.safeAttrValue=="function"?this.xssFilterOptions.safeAttrValue(r,t,a,n):A.exports.safeAttrValue(r,t,a,n)},e.prototype.validate=function(r,t){t===void 0&&(t={});var a=this.sanitize(r,t);return{isValid:r===a,sanitized:a}},e.prototype.encodeHTML=function(r){var t=this;return String(r).replace(/[&<>"'\/]/g,function(a){return t._entityMap[a]})},e.prototype.encodeAttrValue=function(r){var t=/^[a-zA-Z0-9]$/;return String(r).replace(/[\x00-\xFF]/g,function(a,n){return t.test(a)?a:"&#x".concat(Number(r.charCodeAt(n)).toString(16),";")})},e.prototype._extendObjectOfArrays=function(r){var t={};return r.forEach(function(a){Object.keys(a).forEach(function(n){Array.isArray(a[n])&&Array.isArray(t[n])?t[n]=t[n].concat(a[n]):t[n]=a[n]})}),t},e.prototype._iterateOverObject=function(r,t){var a=this;t===void 0&&(t={});try{var n=!1,i=void 0;if(Array.isArray(r))i=r.reduce(function(o,s){var c=a.validate(s,t);return c.isValid?o.concat([s]):(n=!0,o.concat([c.sanitized]))},[]);else if(be(r)){var f=Object.keys(r);i=f.reduce(function(o,s){var c=r[s],u=a.validate(c,t);return u.isValid?o[s]=c:(n=!0,o[s]=u.sanitized),o},{})}else return t.allowUndefined&&typeof r>"u"?void 0:null;return n?i:r}catch{return null}},e.prototype._trim=function(r){return String.prototype.trim?r.trim():r.replace(/(^\s*)|(\s*$)/g,"")},e})();export{lt as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.26/esri/copyright.txt for details.
|
|
3
|
+
v0.26.0 */
|
|
4
|
+
import"./YZ73VA46.js";var e={percent:"Porcentaje",values:"Valores",standardizedValues:"Valores estandarizados",count:"Recuento",aggregationOfValues:"${ aggregation } de valores",aggregationOfFieldName:"${ aggregation } de ${ fieldName }"},i={aggrFieldsByCategory:"${ aggregationFields } por ${ category }",aggrTypeCategory:"${ aggregationType } por ${ category }",aggrTypeCategoryBySplitBy:"${ aggregationType } por ${ category } por ${ splitByField }",aggrTypeOfAggrFields:"${ aggregationType } de ${ aggregationFields }",aggrTypeOfAggrFieldByCategoryBySplitByField:"${ aggregationType } de ${ aggregationField } por ${ category } por ${ splitByField }",aggrTypeOfAggrFieldsByCategory:"${ aggregationType } de ${ aggregationFields } por ${ category }",aggrFieldsByXAxisField:"${ aggregationFields } por ${ xAxisField }",aggrTypeXAxisField:"${ aggregationType } por ${ xAxisField }",aggrTypeXAxisFieldBySplitBy:"${ aggregationType } por ${ xAxisField } por ${ splitByField }",aggrTypeOfAggrFieldByXAxisFieldBySplitByField:"${ aggregationType } de ${ aggregationField } por ${ xAxisField } por ${ splitByField }",aggrTypeOfAggrFieldsByXAxisField:"${ aggregationType } de ${ aggregationFields } por ${ xAxisField }",distributionOfField:"Distribuci\xF3n de ${ valueField }",distributionOfFields:"Distribuci\xF3n de ${ valueFields }",distributionOfFieldsByCategory:"Distribuci\xF3n de ${ valueFields } por ${ category }",distributionOfFieldsByCategoryAndSplitBy:"Distribuci\xF3n de ${ valueFields } por ${ category } y ${ splitByField }",xAndY:"${ x } y ${ y }"},a={barChart:"Gr\xE1fico de barras",lineChart:"Gr\xE1fico de l\xEDneas",pieChart:"Gr\xE1fico circular",histogram:"Histograma",scatterplot:"Gr\xE1fico de dispersi\xF3n"},g={axisLabels:e,titleLabels:i,chartType:a};export{e as axisLabels,a as chartType,g as default,i as titleLabels};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.26/esri/copyright.txt for details.
|
|
3
|
+
v0.26.0 */
|
|
4
|
+
import{V as d,_ as y}from"./VLQNTY6Y.js";import{a as o}from"./7DCGBE3H.js";import{a}from"./CH2IMSON.js";import{a as r}from"./X5OD5M2E.js";async function w(t){let{scope:e,requestOptions:l,num:m=4}=t,n={requestOptions:l,num:m},s=r(t.entity);if(!a.includes(s))throw new o("searchAssociatedContent",`associated content is not supported for entity type "${s}"`);if(e.targetEntity!=="item")throw new o("searchAssociatedContent",`associated content scope does not support targetEntity "${e.targetEntity}"`);if(!t.layerId&&t.association==="connected")throw new o("searchAssociatedContent",'"layerId" is required for searching "connected" content');let{entity:c,layerId:i}=t,h=i?`${c.id}_${i}`:c.id,{association:p}=t,f=`${d(e,n)}/items/${h}/${p}`;return y(f,e,n)}export{w as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.26/esri/copyright.txt for details.
|
|
3
|
+
v0.26.0 */
|
|
4
|
+
import{a as w,b as g}from"./H6KSUJRJ.js";import{a as b,d as k,h as v,j as $,k as P,l as E,m as N}from"./OKBVMEXB.js";import{a as M,b as d}from"./BFWRHB7T.js";import{a as z}from"./4MXZQRPH.js";import{c as D}from"./NFEU2STS.js";import{a as u}from"./UMQYJ6KV.js";function A(t){return`${w(t)}/sharing/rest`}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 J(t){let e;return/(qaext|\.mapsqa)\.arcgis.com/.exec(t)?e="https://hubqa.arcgis.com":/(devext|\.mapsdevext)\.arcgis.com/.exec(t)?e="https://hubdev.arcgis.com":/(www|\.maps)\.arcgis.com/.exec(t)&&(e="https://hub.arcgis.com"),e}function T(t){let e=t&&t.hubApiUrl;return e||J(A(t))}var q=new RegExp(/.+(?:map|feature|image)server/i);function L(t){let e=t.match(q);return e?e[0]:_(t)}function _(t){let e=t.split("?")[0];return M(e)}var V=function(e,n,a,r){var o=(r[0]-a[0])*(e[1]-a[1])-(r[1]-a[1])*(e[0]-a[0]),i=(n[0]-e[0])*(e[1]-a[1])-(n[1]-e[1])*(e[0]-a[0]),s=(r[1]-a[1])*(n[0]-e[0])-(r[0]-a[0])*(n[1]-e[1]);if(s!==0){var l=o/s,p=i/s;if(l>=0&&l<=1&&p>=0&&p<=1)return!0}return!1},Z=function(e,n){for(var a=!1,r=-1,o=e.length,i=o-1;++r<o;i=r)(e[r][1]<=n[1]&&n[1]<e[i][1]||e[i][1]<=n[1]&&n[1]<e[r][1])&&n[0]<(e[i][0]-e[r][0])*(n[1]-e[r][1])/(e[i][1]-e[r][1])+e[r][0]&&(a=!a);return a},Y=function(e,n){for(var a=0;a<e.length;a++)if(e[a]!==n[a])return!1;return!0},B=function(e,n){for(var a=0;a<e.length-1;a++)for(var r=0;r<n.length-1;r++)if(V(e[a],e[a+1],n[r],n[r+1]))return!0;return!1},R=function(e){return Y(e[0],e[e.length-1])||e.push(e[0]),e},U=function(e){var n=0,a=0,r=e.length,o=e[a],i;for(a;a<r-1;a++)i=e[a+1],n+=(i[0]-o[0])*(i[1]+o[1]),o=i;return n>=0},F=function(e){var n={};for(var a in e)e.hasOwnProperty(a)&&(n[a]=e[a]);return n},Q=function(e,n){var a=B(e,n),r=Z(e,n[0]);return!!(!a&&r)},X=function(e){for(var n=[],a=[],r,o,i,s=0;s<e.length;s++){var l=R(e[s].slice(0));if(!(l.length<4))if(U(l)){var p=[l.slice().reverse()];n.push(p)}else a.push(l.slice().reverse())}for(var y=[];a.length;){i=a.pop();var C=!1;for(r=n.length-1;r>=0;r--)if(o=n[r][0],Q(o,i)){n[r].push(i),C=!0;break}C||y.push(i)}for(;y.length;){i=y.pop();var S=!1;for(r=n.length-1;r>=0;r--)if(o=n[r][0],B(o,i)){n[r].push(i),S=!0;break}S||n.push([i.reverse()])}return n.length===1?{type:"Polygon",coordinates:n[0]}:{type:"MultiPolygon",coordinates:n}},K=function(e,n){for(var a=n?[n,"OBJECTID","FID"]:["OBJECTID","FID"],r=0;r<a.length;r++){var o=a[r];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},Pe=function t(e,n){var a={};if(e.features){a.type="FeatureCollection",a.features=[];for(var r=0;r<e.features.length;r++)a.features.push(t(e.features[r],n))}if(typeof e.x=="number"&&typeof e.y=="number"&&(a.type="Point",a.coordinates=[e.x,e.y],typeof e.z=="number"&&a.coordinates.push(e.z)),e.points&&(a.type="MultiPoint",a.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(a.type="LineString",a.coordinates=e.paths[0].slice(0)):(a.type="MultiLineString",a.coordinates=e.paths.slice(0))),e.rings&&(a=X(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(a.type="Polygon",a.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)&&(a.type="Feature",a.geometry=e.geometry?t(e.geometry):null,a.properties=e.attributes?F(e.attributes):null,e.attributes))try{a.id=K(e.attributes,n)}catch{}return JSON.stringify(a.geometry)===JSON.stringify({})&&(a.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),a},O=function(e){var n=[],a=e.slice(0),r=R(a.shift().slice(0));if(r.length>=4){U(r)||r.reverse(),n.push(r);for(var o=0;o<a.length;o++){var i=R(a[o].slice(0));i.length>=4&&(U(i)&&i.reverse(),n.push(i))}}return n},j=function(e){for(var n=[],a=0;a<e.length;a++)for(var r=O(e[a]),o=r.length-1;o>=0;o--){var i=r[o].slice(0);n.push(i)}return n},ee=function t(e,n){n=n||"OBJECTID";var a={wkid:4326},r={},o;switch(e.type){case"Point":r.x=e.coordinates[0],r.y=e.coordinates[1],e.coordinates[2]!=null&&(r.z=e.coordinates[2]),r.spatialReference=a;break;case"MultiPoint":r.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(r.hasZ=!0),r.spatialReference=a;break;case"LineString":r.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(r.hasZ=!0),r.spatialReference=a;break;case"MultiLineString":r.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(r.hasZ=!0),r.spatialReference=a;break;case"Polygon":r.rings=O(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(r.hasZ=!0),r.spatialReference=a;break;case"MultiPolygon":r.rings=j(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(r.hasZ=!0),r.spatialReference=a;break;case"Feature":e.geometry&&(r.geometry=t(e.geometry,n)),r.attributes=e.properties?F(e.properties):{},e.id&&(r.attributes[n]=e.id);break;case"FeatureCollection":for(r=[],o=0;o<e.features.length;o++)r.push(t(e.features[o],n));break;case"GeometryCollection":for(r=[],o=0;o<e.geometries.length;o++)r.push(t(e.geometries[o],n));break}return r},c;(function(t){t.CitationContact="metadata.resource.citation.contact",t.ResourceContact="metadata.resource.contact",t.MetadataContact="metadata.contact",t.ItemOwner="item.owner",t.None="none"})(c||(c={}));var f;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(f||(f={}));var h={devext:"dev",qaext:"qa",production:""},Ee=t=>{var e;let n=t.extent,a=v(n),r=((e=t.properties)===null||e===void 0?void 0:e.boundary)||(a?"item":void 0),o={geometry:null,provenance:r};if(r==="item"&&a){let i=b(n),s=P(i);o.center=[s.x,s.y],o.geometry=Object.assign(Object.assign({},$(i)),{type:"polygon"}),o.spatialReference=o.geometry.spatialReference}return o},te=t=>v(t)?Object.assign(Object.assign({},b(t)),{type:"extent"}):void 0,Ne=t=>{let{properties:e,extent:n}=t,a=e?.location;if(a)return a;if(e?.boundary==="none")return{type:"none"};let r=te(n);if(r)return{type:z(t.type)?"org":"custom",extent:n,geometries:[r],spatialReference:r.spatialReference};try{let o=N(n),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},ee(n)),{spatialReference:E(o)?i:ie(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}},H=t=>t&&t.isPortal,Me=(t,e)=>!!t&&t.access==="public"&&!H(e),we=(t,e)=>!H(e)&&t.access==="public"&&t.type==="CSV"&&t.size<=5e6,De=(t,e,n)=>{let a=ae(t,e,n)||re(t,e,n),r=D(t);if(!a){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";r==="feedback"?s=e?"/feedback/surveys":"":ne(t,n)?s="/pages":i.indexOf(r)>-1&&(s=`/${r}s`),a=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(r)&&(a=""),a},ne=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ae=(t,e,n)=>{let a;return t==="Solution"?n?.indexOf("Deployed")>-1?a=`/content/${e}/about`:a=`/templates/${e}/about`:t==="Web Mapping Application"&&n?.indexOf("hubSolutionTemplate")>-1&&(a=`/templates/${e}/about`),a},re=(t,e,n)=>{if(t==="Hub Initiative"&&n?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};function oe(t){return{updateFrequency:"metadata.dataIdInfo.resMaint.maintFreq.MaintFreqCd.@_value",reviseDate:"metadata.dataIdInfo.idCitation.date.reviseDate",pubDate:"metadata.dataIdInfo.idCitation.date.pubDate",createDate:"metadata.dataIdInfo.idCitation.date.createDate",metadataUpdateFrequency:"metadata.mdMaint.maintFreq.MaintFreqCd.@_value",metadataUpdatedDate:"metadata.mdDateSt"}[t]}function ze(t,e){let n=oe(e);return n&&u(t,n)}function Ae(t){t=`${t}`;let e,n;if(/^\d{4}$/.test(t))e=new Date(+t,0,1),n=f.Year;else if(/^\d{4}-\d{1,2}$/.test(t)){let a=t.split("-");e=new Date(+a[0],+a[1]-1,1),n=f.Month}else if(/^\d{4}-\d{1,2}-\d{1,2}$/.test(t)){let a=t.split("-");e=new Date(+a[0],+a[1]-1,+a[2]),n=f.Day}else Number.isNaN(Date.parse(t))||(e=new Date(t),n=t.includes("T")?f.Time:f.Day);return e&&n&&{date:e,precision:n}}var ie=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let n=e+"",a=parseInt(n,10);return isNaN(a)?null:{wkid:a}},Te=(t,e,n)=>{let a=se(e);return a&&a.map(r=>({name:r.orName,url:ce(r,t,n),isDataSource:W(r,t)}))},se=t=>{let e=[];return x(u(t,"metadata.distInfo")||[]).forEach(n=>{x(n.distTranOps||[]).forEach(a=>{x(a.onLineSrc||[]).forEach(r=>{e.push(r)})})}),e.length?e:null},x=t=>Array.isArray(t)?t:[t],W=(t,e)=>{let n=e.url&&L(e.url);return n&&t.linkage&&t.linkage.includes(n)},ce=(t,e,n)=>{let a=t.linkage,r=u(n,"authentication.token");if(r&&W(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",r),o.search=i.toString(),a=o.toString()}return a},Be=(t,e,n)=>{let a=v(t.extent)?t.extent:void 0,r=v(e?.coordinates)?e.coordinates:void 0,o=u(n,"extent.spatialReference.wkid")===4326?k(n.extent):void 0;return a||r||o},I=(t,e)=>{let n=u(t,e)||{},{rpIndName:a,rpOrgName:r}=Array.isArray(n)?n[0]:n;return{individualName:a,organizationName:r}},le=(t,e)=>t.orgId||e?.orgId,Fe=(t,e,n,a)=>{let r={nameSource:c.None,organizationSource:c.None},o=I(e,"metadata.dataIdInfo.idCitation.citRespParty"),i=I(e,"metadata.dataIdInfo.idPoC"),s=I(e,"metadata.mdContact"),l=u(a,"fullName");o.individualName?(r.name=o.individualName,r.nameSource=c.CitationContact):i.individualName?(r.name=i.individualName,r.nameSource=c.ResourceContact):s.individualName?(r.name=s.individualName,r.nameSource=c.MetadataContact):l&&(r.name=l,r.username=a.username,r.nameSource=c.ItemOwner);let p=u(n,"name");return o.organizationName?(r.organization=o.organizationName,r.organizationSource=c.CitationContact):i.organizationName?(r.organization=i.organizationName,r.organizationSource=c.ResourceContact):s.organizationName?(r.organization=s.organizationName,r.organizationSource=c.MetadataContact):p&&(r.organization=p,r.orgId=le(t,a),r.organizationSource=c.ItemOwner),r.isExternal=r.organizationSource===c.None&&t.access!=="public",r},Oe=t=>t.reduce((e,n)=>{let a=n.split("/"),r=a[a.length-1];return r&&e.push(r),e},[]),He=(t,e)=>{let n;switch(ue(t)){case"Dashboard":n=fe(t,e);break;case"Insights Workbook":n=ge(t,e);break;case"Experience":n=pe(t,e);break;case"Web AppBuilder":n=me(t,e);break;case"Form":n=ve(t,e);break;case"StoryMap":n=de(t,e);break;case"Urban Model":n=he(t,e);break;default:n=g(t.id,e)}return n},ue=t=>{let e=t.typeKeywords||[],n=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?n="StoryMap":t.type==="Insights Page"?n="Insights Page":t.type==="Insights Workbook"?n="Insights Workbook":t.type&&t.type.includes("Insights")?n="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?n="Experience":e.includes("Web AppBuilder")&&(n="Web AppBuilder"),n},de=(t,e)=>{let n={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},a=d(e),r=m(a);return`${`https://${n[r]}.arcgis.com`}/stories/${t.id}/edit`},pe=(t,e)=>{let n=d(e),a=m(n);return`${`https://experience${h[a]}.arcgis.com`}/builder/?id=${t.id}`},fe=(t,e)=>{let n=d(e),a=`${n}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(a=`${n}/apps/dashboards/${t.id}#mode=edit`),a},me=(t,e)=>`${d(e)}/apps/webappbuilder/index.html?id=${t.id}`,ve=(t,e)=>{let n=d(e),a=m(n),r=`https://survey123${h[a]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=g(t.id,n):o=`${r}/surveys/${t.id}/design?portalUrl=${n}`,o},ge=(t,e)=>{let n=d(e),a=m(n),r=`https://insights${h[a]}.arcgis.com`,o=g(t.id,n);return G(n)?o:`${r}/#/edit/${t.id}`},he=(t,e)=>{let n=d(e),a=m(n),r=`https://urban${h[a]}.arcgis.com`,o=g(t.id,n);return G(n)?o:`${r}/?id=${t.id}`},G=t=>t.indexOf("arcgis.com")===-1;function We(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return T(t).replace(/\/api\/v3$/,"")}var Ge=async(t,e)=>{let a=`${T(e)}/api/v3/jobs/item/${t}/forceUpdate`,r={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(a,r)).ok};export{A as a,m as b,J as c,T as d,L as e,Pe as f,ee as g,c as h,f as i,Ee as j,Ne as k,Me as l,we as m,De as n,ne as o,oe as p,ze as q,Ae as r,ie as s,Te as t,Be as u,le as v,Fe as w,Oe as x,He as y,We as z,Ge as A};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.26/esri/copyright.txt for details.
|
|
3
|
+
v0.26.0 */
|
|
4
|
+
import b from"./HUZLV5BJ.js";import{a}from"./QX2H4JWR.js";import"./4J7M25W6.js";import"./E4SRHZB7.js";import"./3EJLW7QW.js";import"./PEV7JG6J.js";import"./R36Z3BBM.js";import"./N5EBHMGN.js";import"./NUVQ6QVE.js";import"./X5OD5M2E.js";import"./VYEXSR5N.js";import"./H34WDAMJ.js";import"./4MXZQRPH.js";import"./NFEU2STS.js";import{a as o}from"./VKZ6FIWT.js";import"./ZB2YGFN3.js";import"./D5E2VHNU.js";import"./SGPM3YSK.js";import{b as i,c,d,e as r,i as p}from"./G44WNTOM.js";import"./2YK22MKI.js";import"./2JBK5SNV.js";import"./UMQYJ6KV.js";import"./YZ73VA46.js";export default $arcgis.t(([,{a:h,b:l}])=>{var u=":not(.workspace-link__text){--calcite-link-blue-underline:transparent;--calcite-color-text-link:transparent}::slotted(*){height:100%}",k=u,g=class{constructor(t){p(this,t),this.arcgisHubWorkspaceLinkClicked=r(this,"arcgisHubWorkspaceLinkClicked",7),this.hubTelemetry=r(this,"hubTelemetry",7),this.pane=void 0,this.href=void 0,this.relativeToOrigin=void 0,this.telemetry={},this.iconStart=void 0,this.iconEnd=void 0,this.target=void 0,this.isText=!0,this.isButton=!1,o(this,"handleClick","handleKeyDown","handleSlotChange")}get _href(){let t=this.href;return this.pane&&(t=h(this.pane)),this.href&&!this.href.startsWith("http")&&this.relativeToOrigin?`${window.location.origin}${t}`:t}handleSlotChange(t){var s,e;let n=a(t);if(this.isText=!n.length,((e=(s=n[0])===null||s===void 0?void 0:s.tagName)===null||e===void 0?void 0:e.toLowerCase())==="calcite-button"){this.isButton=!0;let m=n[0];m.href=this._href}}handleClick(t){let e=t.currentTarget.getAttribute("data-value"),n=e?{clickEvent:t,pane:e}:{clickEvent:t,href:this._href};this.arcgisHubWorkspaceLinkClicked.emit(n),l({pane:this.pane,href:this._href,hubTelemetry:this.hubTelemetry,telemetry:this.telemetry})}handleKeyDown(t){t.key==="enter"&&this.handleClick(t)}render(){return i(c,{key:"873589e89610cb5d1ba5ab534ee8b62074ae2868"},this.isButton?i("div",{"data-value":this.pane,onClick:this.handleClick,onKeyDown:this.handleKeyDown},i("slot",null)):i("calcite-link",{class:{"workspace-link__text":this.isText},"data-value":this.pane,href:this._href,iconEnd:this.iconEnd,iconStart:this.iconStart,onClick:this.handleClick,target:this.target},i("slot",{onSlotchange:this.handleSlotChange})))}get element(){return d(this)}};g.style=k;return g},"config",b)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.26/esri/copyright.txt for details.
|
|
3
|
+
v0.26.0 */
|
|
4
|
+
import{a as r}from"./ZFM4JBMP.js";import{q as t}from"./XKLPKD3N.js";async function m(o,e){let{editGroups:a,readGroups:u}=await t(Object.assign({eventId:o},e.hubRequestOptions)),n=s=>s.length?r(Object.assign({q:`id:(${s.join(" OR ")})`,num:s.length},e.requestOptions)):Promise.resolve({results:[]}),[{results:i},{results:p}]=await Promise.all([u,a].map(n));return[...i,...p]}export{m as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.26/esri/copyright.txt for details.
|
|
3
|
+
v0.26.0 */
|
|
4
|
+
import{e as c,f as u,g as p}from"./Z42QFYQF.js";import"./36AH34CX.js";import"./DWSH4A76.js";import"./B3VHX7NO.js";import"./JGKQHKDS.js";import{d as h}from"./CDJKF4LM.js";import"./V4VIWGM4.js";import"./BFWRHB7T.js";import"./3OWN4VDE.js";import"./TXRVYD6C.js";import{a as m}from"./SS6LFQS6.js";import{a as d}from"./VKZ6FIWT.js";import{a as l}from"./7YKKISZZ.js";import"./64DOA6RN.js";import"./ZB2YGFN3.js";import{b as i,c as g,d as v,e as f,h as r,i as b}from"./G44WNTOM.js";import{a as n}from"./2YK22MKI.js";import{a}from"./2JBK5SNV.js";import"./UMQYJ6KV.js";import"./SU7CHYPQ.js";import"./YZ73VA46.js";var D=':host{display:block}arcgis-skeleton-loader{margin:1.25rem;margin-bottom:0}.version-title{margin-block:0.25rem;font-size:1rem;color:var(--calcite-color-brand)}calcite-list-item{border-inline-start:4px solid transparent}calcite-list-item[selected]{border-inline-start-color:var(--calcite-color-brand)}calcite-list-item[selected] .version-title:before{content:"\u226B ";color:black}calcite-list-item[selected] .version-title calcite-link{color:transparent;--calcite-color-text-link:black;--calcite-link-blue-underline:transparent;text-decoration:none}.badges-container{min-height:1.5rem;display:flex;gap:0.25rem}.viewing-badge{--calcite-color-foreground-2:var(--calcite-color-foreground-current)}',S=D,w={month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric"},V=class{constructor(e){b(this,e),this.arcgisHubVersionsVersionSelected=f(this,"arcgisHubVersionsVersionSelected",7),this.activeVersionId=void 0,this.context=void 0,this.itemId=void 0,this.publishedVersionId=void 0,this.versions=[],this.loading=!0,this.error=!1,this.versionToOperateOn=void 0,this.shouldShowDetailsModal=!1,this.shouldShowDeleteModal=!1,this.updateDetailsError=!1,this.deleteError=!1,this.shouldShowAlert=!1,this.hasClipboardError=!1,this.item=void 0,d(this,"onAlertClose","onDelete","onHideDeleteModal","onHideDetailsModal","onSaveDetails","onSelectVersion","onShare","onShowDeleteModal","onShowDetailsModal","onShowPopover","renderListItem","setPopoverEl")}async componentWillLoad(){this.intl=await l.loadIntlForComponent(this.element),this.fetchVersions()}async fetchVersions(){var e,t;this.loading=!0,this.error=!1;try{if(this.context&&this.itemId){this.item=await h(this.itemId,(e=this.context)===null||e===void 0?void 0:e.requestOptions);let o=await c(this.itemId,(t=this.context)===null||t===void 0?void 0:t.requestOptions);this.versions=o}}catch(o){console.error(o.message),this.error=!0}finally{this.loading=!1}}onTitleLinkClick(e){e.preventDefault()}onSelectVersion(e){e.stopPropagation(),e.target.value.id!==this.activeVersionId&&this.arcgisHubVersionsVersionSelected.emit(e.target.value)}setPopoverEl(e){this.popover=e}onShowPopover(e){e.stopPropagation();let t=this.versions.find(o=>o.id===e.target.dataset.id);t&&(this.versionToOperateOn=a(t),this.popover.referenceElement=e.target,setTimeout(()=>{this.popover.open=!0},100))}onShowDetailsModal(e){e.stopPropagation(),this.popover.open=!1,this.shouldShowDetailsModal=!0}onHideDetailsModal(e){e.stopPropagation(),this.updateDetailsError=!1,this.versionToOperateOn=null,this.shouldShowDetailsModal=!1}async onSaveDetails(e){var t;e.stopPropagation();try{let o=e.detail;await u(this.itemId,o,this.item.owner,(t=this.context)===null||t===void 0?void 0:t.requestOptions),this.versions=this.versions.map(s=>s.id===o.id?o:s),this.shouldShowDetailsModal=!1,this.versionToOperateOn=null}catch(o){console.error(o),this.updateDetailsError=!0}}onShowDeleteModal(e){e.stopPropagation(),this.showDeleteModal(this.versionToOperateOn.id)}async showDeleteModal(e){let t=this.versions.find(o=>o.id===e);t&&(this.popover.open=!1,this.versionToOperateOn=a(t),this.shouldShowDeleteModal=!0)}onHideDeleteModal(e){e.stopPropagation(),this.deleteError=null,this.versionToOperateOn=null,this.shouldShowDeleteModal=!1}async onDelete(e){var t;e.stopPropagation();try{let o=e.detail;await p(this.itemId,o.id,this.item.owner,(t=this.context)===null||t===void 0?void 0:t.requestOptions),this.versions=this.versions.filter(s=>s.id!==o.id),this.shouldShowDeleteModal=!1,this.versionToOperateOn=null,o.id===this.activeVersionId&&(this.activeVersionId=null,this.arcgisHubVersionsVersionSelected.emit(null))}catch{this.deleteError=!0}}async onShare(){try{this.hasClipboardError=!1,await m(this.getShareUrl(this.versionToOperateOn.id))}catch(e){n.error("Error copying to clipboard",e),this.hasClipboardError=!0}finally{this.popover.open=!1,this.shouldShowAlert=!0}}onAlertClose(){this.shouldShowAlert=!1}getItemUrl(e){let t=new URLSearchParams(window.location.search);return t.set("version",e),`?${t.toString()}`}getShareUrl(e){let t=new URL(window.location.origin);return t.searchParams.set("layoutVersion",e),t.searchParams.set("previewing","true"),t.toString()}get shouldShowDeleteButton(){var e;return this.publishedVersionId!==((e=this.versionToOperateOn)===null||e===void 0?void 0:e.id)}getVersionMetadata(e){return{name:this.getVersionName(e),createdBy:e.creator}}getVersionName(e){return e?.name||this.intl.formatDate(e?.created,w)}getCreatedDate(e){let{name:t,created:o}=e,s="";return t&&(s=this.intl.formatDate(o,w)),s}renderAlert(){let e=this.hasClipboardError?"shareErrorMessage":"shareSuccessMessage",t=this.hasClipboardError?"danger":"success";return i("calcite-alert",{"auto-close":!0,autoCloseDuration:"fast",kind:t,label:this.intl.t(e),onCalciteAlertClose:this.onAlertClose,open:this.shouldShowAlert,placement:"top",scale:"s"},i("div",{slot:"title"},this.intl.t(e)))}renderLoading(){let{loading:e}=this;if(e)return i(r,null,i("arcgis-skeleton-loader",{active:!0,rows:1,"show-heading":!0}),i("arcgis-skeleton-loader",{active:!0,rows:1,"show-heading":!0}),i("arcgis-skeleton-loader",{active:!0,rows:1,"show-heading":!0}))}renderEmptyState(){let{loading:e,error:t,versions:o}=this;if(!e&&!t&&!o.length)return i(r,null,i("h2",null,this.intl.t("emptyMessage")))}renderError(){let{loading:e,error:t}=this;if(!e&&t)return i(r,null,i("h2",null,this.intl.t("errorMessage")))}renderPopover(){if(this.versions.length)return i("calcite-popover",{"auto-close":!0,"focus-trap-disabled":!0,label:this.intl.t("popover.label"),overlayPositioning:"fixed",placement:"leading",ref:this.setPopoverEl,referenceElement:""},i("calcite-action-pad",{"expand-disabled":!0,expanded:!0},i("calcite-action",{icon:"share",onClick:this.onShare,scale:"m",text:this.intl.t("popover.actions.share")}),i("calcite-action",{icon:"pencil",onClick:this.onShowDetailsModal,scale:"m",text:this.intl.t("popover.actions.edit")}),this.shouldShowDeleteButton&&i("calcite-action",{icon:"trash",onClick:this.onShowDeleteModal,scale:"m",text:this.intl.t("popover.actions.delete"),"text-enabled":!0})))}renderDetailsModal(){return i("arcgis-hub-versions-details-modal",{error:this.updateDetailsError,onArcgisHubVersionsDetailsModalClose:this.onHideDetailsModal,onArcgisHubVersionsDetailsModalSave:this.onSaveDetails,shouldShow:this.shouldShowDetailsModal,version:this.versionToOperateOn})}renderDeleteModal(){return i("arcgis-hub-versions-delete-modal",{displayName:this.getVersionName(this.versionToOperateOn),error:this.deleteError,onArcgisHubVersionsDeleteModalClose:this.onHideDeleteModal,onArcgisHubVersionsDeleteModalDelete:this.onDelete,shouldShow:this.shouldShowDeleteModal,version:this.versionToOperateOn})}renderListItem(e){return i("calcite-list-item",{key:e.id,metadata:this.getVersionMetadata(e),onCalciteListItemSelect:this.onSelectVersion,selected:this.activeVersionId===e.id,value:e},i("div",{slot:"content"},i("div",{class:"badges-container"},this.publishedVersionId===e.id&&i("calcite-chip",{kind:"brand",label:this.intl.t("publishedBadge"),scale:"s",value:""},this.intl.t("publishedBadge")),this.activeVersionId===e.id&&i("calcite-chip",{class:"viewing-badge",label:this.intl.t("viewingBadge"),scale:"s",value:""},this.intl.t("viewingBadge"))),i("h2",{class:"version-title"},i("calcite-link",{href:this.getItemUrl(e.id),onClick:this.onTitleLinkClick},this.getVersionName(e))),i("div",null,this.getCreatedDate(e)),i("div",null,this.intl.t("createdBy",e)),i("div",null,e.description)),i("calcite-action",{"data-id":e.id,icon:"ellipsis",onClick:this.onShowPopover,slot:"actions-end",text:this.intl.t("menuLabel")}))}render(){return i(g,{key:"0459af52f7db6d64f2c32583c9edc0b187dd06e6","data-element":"versions"},i("calcite-list",{key:"c79f13b39300e2d48d483c3ee0dd2d135ec0b989","selection-appearance":"border","selection-mode":"none"},this.renderLoading(),this.renderEmptyState(),this.renderError(),this.versions.map(this.renderListItem)),this.renderPopover(),i("arcgis-wormhole",{key:"00a83850aa7535de47b7a0f06b7cfe2a49b55605"},this.renderAlert(),this.renderDetailsModal(),this.renderDeleteModal()))}static get assetsDirs(){return["locales"]}get element(){return v(this)}static get watchers(){return{context:["fetchVersions"],itemId:["fetchVersions"]}}};V.style=S;export{V as arcgis_hub_versions};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.26/esri/copyright.txt for details.
|
|
3
|
+
v0.26.0 */
|
|
4
|
+
import{a as c}from"./4YZKP4QS.js";import{a as o}from"./VKZ6FIWT.js";import{b as l,e as h,i as d}from"./G44WNTOM.js";import"./YZ73VA46.js";var p=function(e,t,i,n){var a=arguments.length,r=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,i):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,n);else for(var u=e.length-1;u>=0;u--)(s=e[u])&&(r=(a<3?s(r):a>3?s(t,i,r):s(t,i))||r);return a>3&&r&&Object.defineProperty(t,i,r),r},f=class{constructor(e){d(this,e),this.arcgisConfigurationEditorFieldInputChange=h(this,"arcgisConfigurationEditorFieldInputChange",7),this.setInputElement=t=>{this.inputElement=t},this.params=void 0,this.currentValue=void 0,o(this,"handleArcgisHubInputRichTextChange")}componentWillLoad(){this.setCurrentValue(this.params.value)}watchValue(e){e.value!=this.currentValue&&(this.inputElement.isFocused||this.setCurrentValue(e.value))}setCurrentValue(e){this.currentValue=e}handleArcgisHubInputRichTextChange(e){let t=e.target.value;this.arcgisConfigurationEditorFieldInputChange.emit(t)}render(){var e,t,i,n;let a=this.params.schema;return l("arcgis-hub-rich-text",{key:"3b1471924ecb1e39846709e14b1572691dbcf0e3",disabled:this.params.disabled,label:a.title,onArcgisHubRichTextChange:this.handleArcgisHubInputRichTextChange,ref:this.setInputElement,rows:((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.rows)||5,toolbar:(n=(i=this.params.uiSchema)===null||i===void 0?void 0:i.options)===null||n===void 0?void 0:n.toolbar,value:this.currentValue})}static get watchers(){return{params:["watchValue"]}}};p([c({timeout:350})],f.prototype,"handleArcgisHubInputRichTextChange",null);export{f as hub_field_input_rich_text};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.26/esri/copyright.txt for details.
|
|
3
|
+
v0.26.0 */
|
|
4
|
+
import{a as f}from"./2RFZ3M6I.js";import{c as g}from"./QN24GA5L.js";import{a as v}from"./WI2YL4YI.js";import{a as y}from"./QJNCDALL.js";import{g as w}from"./FYMXHDVM.js";import{a as E}from"./WRP7CAJJ.js";import{da as b}from"./YEMQFXZ3.js";import{a as h}from"./X5OD5M2E.js";import{o as d}from"./VYEXSR5N.js";import{a as m}from"./2YK22MKI.js";var k=[{name:"about",entities:["event"],component:"arcgis-hub-event-about"},{name:"about",entities:["project"],component:"arcgis-hub-project-about"},{name:"about",entities:["initiative"],component:"arcgis-hub-initiative-about"}],I=[{name:"hero",entities:["event"],component:"arcgis-hub-event-hero"},{name:"hero",entities:["initiative"],component:"arcgis-hub-initiative-hero"},{name:"hero",entities:["discussion"],component:"arcgis-hub-discussion-hero"}],S=async(t,n)=>{var a,o;let e=h(t),i=[{name:"content",entities:["group"],i18nLabel:"tabs.content",component:"arcgis-hub-entity-group-content"},{name:"members",entities:["group"],i18nLabel:"tabs.members",component:"arcgis-hub-entity-group-members"}],r=((o=(a=t?.view)===null||a===void 0?void 0:a.metricDisplays)===null||o===void 0?void 0:o.filter(s=>s?.visibility!==E.hidden))||[];if(i.push({name:"metrics",entities:["project","initiative"],i18nLabel:"tabs.metrics",component:"arcgis-hub-entity-metrics-view",isVisible:[!!r.length]}),e==="initiative"){let{associated:s}=await v(t,"project",n);i.push({name:"projects",entities:["initiative"],isVisible:["hub:project:associations",!!s],i18nLabel:"tabs.projects",component:"arcgis-hub-initiative-projects-view"})}if(e==="project"){let s=y(t).length>0,{associated:p}=s&&await v(t,"initiative",n);i.push({name:"initiatives",entities:["project"],isVisible:["hub:project:associations",!!p],i18nLabel:"tabs.initiatives",component:"arcgis-hub-project-initiatives-view"})}return i};async function H(t,n,a){let o=[],e=t.catalog;f("item",e)&&o.push({name:"content",i18nLabel:"tabs.content",component:"arcgis-hub-catalog",props:{catalogs:[e],facets:[...g],layout:"grid",layoutOptions:["grid","list","table","map","compact"],showAddContent:!0,showLayoutSwitcher:!0,showSearch:!0,showThumbnail:!0,path:a.path,linkTarget:"siteRelative",targetEntity:"item",showAllCollectionFacet:!0}}),f("event",e)&&o.push({name:"events",i18nLabel:"tabs.events",component:"arcgis-hub-catalog",props:{catalogs:[e],facets:[...g],layout:"grid",layoutOptions:["grid","list","table","map","compact"],showAddContent:!0,showLayoutSwitcher:!0,showSearch:!0,showThumbnail:!0,path:a.path,linkTarget:"siteRelative",targetEntity:"event",showAllCollectionFacet:!0}});let i=(await V(t,n)).map(r=>({name:r.name,icon:r.icon,i18nLabel:r.i18nLabel,component:r.component}));return[...o,...i]}async function V(t,n){let a=h(t);return(await S(t,n)).filter(e=>e.entities.includes(a)).filter(e=>e.isVisible?e.isVisible.every(i=>typeof i=="boolean"?i:d(i,n,t).access):!0)}var M=async(t,n,a)=>{var o,e,i,r;let s=null,p={requestOptions:a.hubRequestOptions};try{if(["initiatives","projects"].includes(n)){let c=n.replace(/s$/,""),l=await w(t,c,a);if(l)try{s=(await b(l,p)).total}catch(u){m.error("Error fetching associated entity count:",u)}}else if(["content","events"].includes(n)){let c=n==="content"?"item":"event",l=t.catalog,u=(o=l?.scopes)===null||o===void 0?void 0:o[c];u||(u=j(c));try{s=(await b(u,p)).total}catch(L){m.error("Error fetching associated entity count:",L)}}else n==="metrics"&&(!((e=t.view)===null||e===void 0)&&e.metricDisplays)&&(s=((r=(i=t.view.metricDisplays)===null||i===void 0?void 0:i.filter(c=>c?.visibility!=="hidden"))===null||r===void 0?void 0:r.length)||null)}catch{}return s};function j(t){switch(t){case"item":return{targetEntity:t,filters:[{predicates:[]}]};case"event":return{targetEntity:t,filters:[{predicates:[]}]};default:return null}}export{k as a,I as b,H as c,M as d,j as e};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.26/esri/copyright.txt for details.
|
|
3
|
+
v0.26.0 */
|
|
4
|
+
import"./YZ73VA46.js";var a="Diagrammi laadimisel ilmnes viga.",e="Logi teisendamisel ei saa kasutada negatiivseid v\xE4\xE4rtusi ega nullv\xE4\xE4rtusi.",t="Ruutjuure teisendamist ei saa rakendada negatiivsetele v\xE4\xE4rtustele.",i="Kihi laadimisel tekkis viga. URL = ${ url }. Portaali\xFCksuse ID = ${ portalItemId }.",s="Konfiguratsioonis m\xE4\xE4ratletud v\xE4lju [${ fieldNames }] kihis ei leitud.",r="${ dataPath } peab olema kordumatu. Seerial nimega ${ seriesName } on ID (${ seriesID }), mida kasutatakse juba muudes seeriates.",u="${ dataPath } ei tohi mittenumbrilisel v\xE4ljal teha loendamisega mitteseotud agregeerimist.",l="Omadusel ${ dataPath } puudub omadus nimega ${ missingProperty }.",o="${ dataPath } ei tohi olla l\xFChem kui ${ limit } m\xE4rki.",n="Muutujal ${ dataPath } ei tohi olla v\xE4hem kui ${ limit } \xFCksust.",d="Muutujal ${ dataPath } ei tohi olla rohkem kui ${ limit } \xFCksust.",m="${ dataPath } peab sisaldama v\xE4hemalt \xFChte m\xE4rki, mis pole t\xFChim\xE4rk.",g="Muutujal ${ dataPath } ei tohi olla: ${ additionalProperty }.",h="${ dataPath } peab v\xF5rduma \xFChega allpool nimetatud v\xE4\xE4rtustest: ${ allowedValues }.",p="${ dataPath } peab vastama \xFChele nendest skeemidest: ${ schemaOptions }.",$="Proportsionaalsete s\xFCmbolitega hajuvusdiagramme ei toetata. Rakendatud on s\xFCmboli vaikesuurus.",v="Sisendandmete lugemine nurjus.",k="See teenus ei toeta toimingut queryBins.",y="Eeldatud seeriat\xFC\xFCp indeksis ${ seriesIndex } on '${ expectedType }', kuid saadi hoopis '${ receivedType }'",P="v\xF5i",I={defaultError:a,negativeValueInDataForLogTransformation:e,negativeValueInDataForSqrtTransformation:t,layerLoadFailure:i,layerFieldsNotFound:s,duplicateSeriesID:r,nonNumericAggregation:u,requiredProperty:l,minLength:o,minItems:n,maxItems:d,whiteSpacePattern:m,additionalProperty:g,enumValues:h,anyOfValues:p,bubbleChartValidateMsg:$,queryError:v,queryBinsNotSupported:k,invalidSeriesType:y,or:"v\xF5i"};export{g as additionalProperty,p as anyOfValues,$ as bubbleChartValidateMsg,I as default,a as defaultError,r as duplicateSeriesID,h as enumValues,y as invalidSeriesType,s as layerFieldsNotFound,i as layerLoadFailure,d as maxItems,n as minItems,o as minLength,e as negativeValueInDataForLogTransformation,t as negativeValueInDataForSqrtTransformation,u as nonNumericAggregation,P as or,k as queryBinsNotSupported,v as queryError,l as requiredProperty,m as whiteSpacePattern};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.26/esri/copyright.txt for details.
|
|
3
|
+
v0.26.0 */
|
|
4
|
+
import{a as I}from"./2RFZ3M6I.js";import{a as w}from"./4YZKP4QS.js";import{b as E,c as T,d as P}from"./BXOZMYKC.js";import{a as S}from"./5L7XXTU2.js";import"./NQMQ5MDO.js";import"./WYWNKFPI.js";import"./JTQQOH54.js";import"./3CMVJXNR.js";import"./U3ATSP64.js";import"./OZNASL4Z.js";import"./7JEKPX6L.js";import"./FYPQGAM5.js";import"./Y6MWCBTL.js";import"./KDFYZ6IA.js";import"./T5N7J5KA.js";import"./UBZ4BXC2.js";import"./62GTEZE3.js";import"./UGOSLTPP.js";import"./GPE2TY3K.js";import"./IFOFJAS7.js";import"./ETWSJPEG.js";import{da as k}from"./YEMQFXZ3.js";import"./DWSH4A76.js";import"./ND6JGV2P.js";import"./SUSER4N2.js";import"./ZFM4JBMP.js";import"./XKLPKD3N.js";import"./KVEOKRJX.js";import"./VHT4WQQ6.js";import"./VLQNTY6Y.js";import"./7VPVBMRX.js";import"./JVCXDN2F.js";import"./7DCGBE3H.js";import"./IOCIWEWY.js";import"./B3VHX7NO.js";import"./W6VAJ63O.js";import"./CMS26LUQ.js";import"./CH2IMSON.js";import"./74EIS6DU.js";import"./V4HLTNXK.js";import"./76DGSVKD.js";import"./HXYGNBYY.js";import{a as F}from"./C5KXQBED.js";import"./HMDOXDTX.js";import{j as C}from"./Y23233PY.js";import"./2XZQFK52.js";import"./YTUYPE6C.js";import"./KRF3CEDL.js";import"./QAIWMMIU.js";import"./CITIOB5T.js";import"./2HXW7EZR.js";import"./IEHZL3HZ.js";import"./IHAJC7AK.js";import"./6CU64SHW.js";import"./KEWVC6LL.js";import"./Q2QQIIG4.js";import"./7UANUYEV.js";import"./JUPINWD3.js";import"./RIZDV5IO.js";import"./H6KSUJRJ.js";import"./OKBVMEXB.js";import"./JGKQHKDS.js";import"./AZ5AV37N.js";import"./APTKCFQL.js";import"./CDJKF4LM.js";import"./V4VIWGM4.js";import"./BFWRHB7T.js";import"./3OWN4VDE.js";import{c as g,g as b}from"./2MZR2E7H.js";import"./NUVQ6QVE.js";import"./2DT73XX6.js";import"./CJNJGDDD.js";import"./DBRRT4VH.js";import"./TXRVYD6C.js";import"./OD5HQD5E.js";import{a as m}from"./X5OD5M2E.js";import"./VYEXSR5N.js";import"./H34WDAMJ.js";import"./4MXZQRPH.js";import"./NFEU2STS.js";import{a as y}from"./VKZ6FIWT.js";import{a as v}from"./7YKKISZZ.js";import"./64DOA6RN.js";import"./ZB2YGFN3.js";import{a as c}from"./D5E2VHNU.js";import"./SGPM3YSK.js";import{b as t,c as x,d as D,e as f,h as o,i as _}from"./G44WNTOM.js";import{a as d}from"./2YK22MKI.js";import{a as p}from"./2JBK5SNV.js";import{a as u}from"./UMQYJ6KV.js";import"./SU7CHYPQ.js";import"./YZ73VA46.js";var L=".sc-arcgis-hub-entity-content-feeds-h{display:block;--calcite-label-margin-bottom:0}h3.sc-arcgis-hub-entity-content-feeds{margin:30px 0;font-size:var(--calcite-font-size-2);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}h4.sc-arcgis-hub-entity-content-feeds{margin:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}h5.sc-arcgis-hub-entity-content-feeds{margin:0px;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1)}.feeds-tab-title-row.sc-arcgis-hub-entity-content-feeds{margin-bottom:1rem;display:flex;align-items:flex-start;justify-content:space-between}.feeds-help-column.sc-arcgis-hub-entity-content-feeds{width:49%}.horizontal-rule.sc-arcgis-hub-entity-content-feeds{border-top:.5px solid var(--calcite-color-border-1)}.feeds-editor-row.sc-arcgis-hub-entity-content-feeds{margin-top:1rem;display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:2rem;padding-top:1rem}.feeds-editor-column.sc-arcgis-hub-entity-content-feeds{display:flex;flex-direction:column;gap:1rem}.preview-toggle-container.sc-arcgis-hub-entity-content-feeds{display:flex;justify-content:flex-end}.preview-toggle-container.sc-arcgis-hub-entity-content-feeds>calcite-label.sc-arcgis-hub-entity-content-feeds{margin-bottom:0.5rem}.feeds-code-editor.sc-arcgis-hub-entity-content-feeds{height:24rem;border:1px solid var(--calcite-color-border-input)}.feeds-code-editor[has-error].sc-arcgis-hub-entity-content-feeds{border:2px solid var(--calcite-color-status-danger)}.invalid-json-editor-warning.sc-arcgis-hub-entity-content-feeds{margin-top:0.5rem}.preview-main-container.sc-arcgis-hub-entity-content-feeds{height:24rem;overflow:scroll;border:1px solid var(--calcite-color-border-input);background-color:var(--calcite-color-background)}.formatted-preview.sc-arcgis-hub-entity-content-feeds{margin:0px;text-wrap:nowrap}.preview-notice.sc-arcgis-hub-entity-content-feeds{margin:1rem}.feeds-tools-column.sc-arcgis-hub-entity-content-feeds{display:flex;flex-direction:column;gap:1rem}.preview-picker-form.sc-arcgis-hub-entity-content-feeds{margin-bottom:-0.5rem}section.sc-arcgis-hub-entity-content-feeds{margin-bottom:2rem;border-radius:0.25rem;padding:1.25rem;--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);background:white}",$=L,U=function(e,i,a,s){var n=arguments.length,r=n<3?i:s===null?s=Object.getOwnPropertyDescriptor(i,a):s,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,i,a,s);else for(var h=e.length-1;h>=0;h--)(l=e[h])&&(r=(n<3?l(r):n>3?l(i,a,r):l(i,a))||r);return n>3&&r&&Object.defineProperty(i,a,r),r},H=class{constructor(e){_(this,e),this.arcgisHubWorkspaceEntityChange=f(this,"arcgisHubWorkspaceEntityChange",7),this.hubTelemetry=f(this,"hubTelemetry",7),this.entity=void 0,this.footerSlotRef=void 0,this.isMobile=!1,this.hasUnconfiguredCatalog=void 0,this.hasEmptyPublicCatalog=void 0,this.isFeedsToggleEnabled=void 0,this.feedFormat=void 0,this.feedVersion=void 0,this.feedTemplate=void 0,this.isPreviewing=void 0,this.previewPickerSchema=void 0,this.previewPickerUiSchema=void 0,this.previewHubId=void 0,this.formattedPreview=void 0,this.isFeedsToggleDirty=void 0,this.isTemplateEditorDirty=void 0,this.isSaving=void 0,this.attemptedFormatChange=void 0,this.isLoading=void 0,this.previewStatus=void 0,y(this,"handleFeedsEnabledToggle","handleFeedFormatChange","handleCodeEditorChange","handlePreviewToggle","handlePreviewItemChange","handleSaveFeedsClick","handleCopyButtonClicked")}async componentWillLoad(){this.intl=await v.loadIntlForComponent(this.element),this.initializeComponent()}async initializeComponent(){this.setIsLoading(!0),await this._initializeState(),this.setIsLoading(!1)}setIsLoading(e){this.isLoading=e}async _initializeState(){if(this.hasUnconfiguredCatalog=!1,this.hasEmptyPublicCatalog=!1,this.isFeedsToggleEnabled=!u(this.entity,"feeds.disabled"),this.isFeedsToggleDirty=!1,this.isPreviewing=!1,this.previewPickerSchema=null,this.previewPickerUiSchema=null,this.previewHubId=null,this.formattedPreview=null,this.isSaving=!1,this.attemptedFormatChange=null,this.entity.access!=="public"||(this.hasUnconfiguredCatalog=!I("item",this.entity.catalog),this.hasUnconfiguredCatalog))return;let e=await this.fetchPublicResultFromCatalog();if(!e){this.hasEmptyPublicCatalog=!0;return}this.initializeTemplateEditor(this.feedFormat||"dcat-us",this.feedVersion||"1.1"),this.previewHubId=this.getPreviewHubId(e),this.setPreviewPickerSchemas()}async fetchPublicResultFromCatalog(e){try{let i=p(this._publicItemCatalog.scopes.item);e&&(i.filters=i.filters.concat(e));let a={num:1,requestOptions:g().hubRequestOptions},{total:s,results:n}=await k(i,a);if(s){let r=n[0];if(r.type==="Feature Service"||r.type==="Map Service"){let l={url:r.rawResult.url,authentication:g().hubRequestOptions.authentication};try{r.server=await this._getService(l)}catch(h){d.error("error fetching service definition",h)}}return r}}catch(i){d.error("error fetching catalog result",i)}}_getService(e){return F(e)}getPreviewHubId(e){let i,a=["Feature Service","Map Service"].includes(e.type)&&C(e.rawResult.url),s=!!u(e,"server.layers.length");return a&&s?i=`${e.id}_${a}`:s?i=`${e.id}_${e.server.layers[0].id}`:i=e.id,i}setPreviewPickerSchemas(){this.previewPickerSchema={type:"object",properties:{previewItem:{type:"array",items:{type:"string"},maxItems:1}}};let e="toolsSection.previewSampleData";this.previewPickerUiSchema={type:"layout",elements:[{label:this.intl.t("toolsSection.previewSampleData.label"),scope:"/properties/previewItem",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:[this._publicItemCatalog],facets:[{label:this.intl.t(`${e}.pickerFacets.type`),key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:this.intl.t(`${e}.pickerFacets.tags`),key:"tags",display:"multi-select",field:"tags",options:[],operation:"OR"},{label:this.intl.t(`${e}.pickerFacets.categories`),key:"categories",display:"tree",field:"categories",options:[],operation:"OR"},{label:this.intl.t(`${e}.pickerFacets.dateUpdated`),key:"modified",display:"date-range",field:"modified",state:"open",max:new Date},{label:this.intl.t(`${e}.pickerFacets.sharing`),key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}]}}]}}get isFeedsSupported(){return this.entity.access==="public"&&!this.hasUnconfiguredCatalog&&!this.hasEmptyPublicCatalog}get supportedFeeds(){return[{format:"dcat-us",version:"1.1"},{format:"dcat-ap",version:"2.1.1"},{format:"rss",version:"2.0"}]}get hasUneditableAttributes(){var e;return!!(!((e={"dcat-us":{"1.1":!0},"dcat-ap":{"2.1.1":!0}}[this.feedFormat])===null||e===void 0)&&e[this.feedVersion])}get baseFeedIntlKey(){return this.getBaseFeedIntlKey(this.feedFormat,this.feedVersion)}getBaseFeedIntlKey(e,i){return`${e}.${i}`}get hasInvalidJson(){let e=!0;if(this.feedTemplate)try{JSON.parse(this.feedTemplate),e=!1}catch{}return e}get _publicItemCatalog(){let e=p(this.entity.catalog);return e.scopes={item:e.scopes.item},e.scopes.item.filters.push({predicates:[{access:"public"}]}),e.collections=[],e}get previewPickerValues(){return{previewItem:this.previewHubId?[this.previewHubId.split("_")[0]]:[]}}get feedAccessUrl(){let e;if(m(this.entity)==="site"){let{customHostname:a,defaultHostname:s}=this.entity,n=`https://${a||s}/api/feed`;switch(this.feedFormat){case"dcat-us":e=`${n}/dcat-us/${this.feedVersion}.json`;break;case"dcat-ap":e=`${n}/dcat-ap/${this.feedVersion}.json`;break;case"rss":e=`${n}/rss/${this.feedVersion}`;break}}return e}get isDirty(){return!!this.isFeedsToggleDirty||!!this.isTemplateEditorDirty}get shouldDisableSaveButton(){return!this.isDirty||this.isSaving||this.isFeedsToggleEnabled&&this.hasInvalidJson}initializeTemplateEditor(e,i){this.isTemplateEditorDirty=!1,this.feedFormat=e,this.feedVersion=i;try{this.feedTemplate=JSON.stringify(E({feedsConfig:this.entity.feeds||{},format:e,version:i}),null,2)}catch(a){d.error("error getting feed template",a),this.feedTemplate=""}this.isPreviewing&&this.handlePreviewAttempt()}handleFeedsEnabledToggle(){this.isFeedsToggleEnabled=!this.isFeedsToggleEnabled,this.isFeedsToggleDirty=!0,this.arcgisHubWorkspaceEntityChange.emit({isDirty:this.isDirty,entity:this.entity})}handleFeedFormatChange(e){e.preventDefault(),e.stopImmediatePropagation();let[i,a]=e.target.value.split("::");this.isTemplateEditorDirty?this.attemptedFormatChange={format:i,version:a,event:e}:this.initializeTemplateEditor(i,a)}async handlePreviewToggle(){!this.isPreviewing&&(this.formattedPreview=null,this.handlePreviewAttempt()),this.isPreviewing=!this.isPreviewing}async handlePreviewAttempt(){if(this.previewHubId&&!this.hasInvalidJson)try{this.setPreviewStatus("loading",null),this.formattedPreview=await T({format:this.feedFormat,version:this.feedVersion,previewTemplate:JSON.parse(this.feedTemplate),previewHubId:this.previewHubId,context:g()}),this.setPreviewStatus("success",null)}catch(e){this.setPreviewStatus("error",e),d.error("Error previewing feed",e)}}setPreviewStatus(e,i){this.previewStatus={state:e,message:i}}async handlePreviewItemChange(e){let[i]=e.detail.values.previewItem;if(!i){this.previewHubId=null;return}let a=this.previewHubId&&this.previewHubId.split("_")[0];if(i!==a){let s=[{predicates:[{id:i}]}],n=await this.fetchPublicResultFromCatalog(s);n&&(this.previewHubId=this.getPreviewHubId(n),this.handlePreviewAttempt())}}handleCodeEditorChange(e){this._handleCodeEditorChange(e)}_handleCodeEditorChange(e){e.detail!==this.feedTemplate&&(this.feedTemplate=e.detail,this.isTemplateEditorDirty=!0,this.arcgisHubWorkspaceEntityChange.emit({isDirty:this.isDirty,entity:this.entity}))}saveTelemetry(e){this.hubTelemetry.emit(Object.assign(Object.assign({},c.dictionary.category.content.action.update.label.feeds),{details:this.isFeedsToggleEnabled?this.feedFormat:c.constants.details.DISABLED,response:e}))}async handleSaveFeedsClick(){this.setIsSaving(!0);try{let e=p(this.entity),i=p(this.entity.feeds)||{};i.disabled=!this.isFeedsToggleEnabled,this.isFeedsToggleEnabled&&(i=P({feedsConfig:i,format:this.feedFormat,version:this.feedVersion,updatedTemplate:JSON.parse(this.feedTemplate)})),e.feeds=i;let a=m(e),s=await S(a,e,g());this.isFeedsToggleDirty=!1,this.isTemplateEditorDirty=!1,this.arcgisHubWorkspaceEntityChange.emit({entity:s,isDirty:!1}),this.saveTelemetry(c.constants.response.SUCCESS),b({title:this.intl.t("alertMessages.success"),message:"",configuration:{noticeType:"alert",autoClose:!0,autoCloseDuration:"fast",icon:!0,kind:"success",label:this.intl.t("formAlert")}})}catch(e){d.error("Error saving feeds",e),this.arcgisHubWorkspaceEntityChange.emit({entity:this.entity,isDirty:!0}),this.saveTelemetry(c.constants.response.FAILURE),b({title:this.intl.t("alertMessages.error"),message:"",configuration:{noticeType:"alert",autoClose:!0,autoCloseDuration:"fast",icon:!0,kind:"danger",label:this.intl.t("formAlert")}})}finally{this.setIsSaving(!1)}}setIsSaving(e){this.isSaving=e}handleDirtyStateModalClosed(e){if(e.preventDefault(),e.stopImmediatePropagation(),e.detail)this.attemptedFormatChange=null;else{let{format:i,version:a}=this.attemptedFormatChange;this.initializeTemplateEditor(i,a),this.attemptedFormatChange=null,this.arcgisHubWorkspaceEntityChange.emit({isDirty:this.isDirty,entity:this.entity})}}renderHeaderRow(){return t("div",{class:"feeds-tab-title-row"},t("div",{class:"enable-feeds-column"},t("h3",{class:"feeds-tab-title","data-test":"entity-content-tab-title"},this.intl.t("tabTitle")),this.isFeedsSupported?t("calcite-label",null,this.intl.t("enableFeedsToggle.label"),t("calcite-switch",{checked:this.isFeedsToggleEnabled,"data-test":"feeds-toggle",onCalciteSwitchChange:this.handleFeedsEnabledToggle})):this.renderFeedsNotSupportedUi()),this.isFeedsSupported&&t("div",{class:"feeds-help-column"},this.isFeedsToggleEnabled?t("calcite-notice",{open:!0,scale:"m",width:"auto"},t("div",{slot:"title"},this.intl.t("gettingStartedNotice.title")),t("div",{slot:"message"},this.intl.t("gettingStartedNotice.exampleMessage")),t("div",{slot:"message"},this.intl.t("gettingStartedNotice.previewMessage",{catalogFederationLink:(...e)=>t("calcite-link",{href:"https://doc.arcgis.com/en/hub/content/federate-data-with-external-catalogs.htm",iconEnd:"launch",target:"_blank"},e)}))):t("arcgis-hub-notice",{noticeId:"20241104-about-feeds-notice"})))}renderFeedsNotSupportedUi(){let e;return this.entity.access!=="public"?e=t(o,null,t("p",{"data-test":"private-entity-message"},this.intl.t("enableFeedsToggle.privateEntity.message")),t("arcgis-hub-workspace-link",{pane:"settings-sharing"},t("calcite-button",{appearance:"outline",label:this.intl.t("enableFeedsToggle.privateEntity.button"),round:!0},this.intl.t("enableFeedsToggle.privateEntity.button")))):this.hasUnconfiguredCatalog?e=t(o,null,t("p",{"data-test":"has-unconfigured-catalog-message"},this.intl.t("enableFeedsToggle.unconfiguredCatalog.message")),t("arcgis-hub-workspace-link",{pane:"catalog-content"},t("calcite-button",{appearance:"outline",label:this.intl.t("enableFeedsToggle.unconfiguredCatalog.button"),round:!0},this.intl.t("enableFeedsToggle.unconfiguredCatalog.button")))):this.hasEmptyPublicCatalog&&(e=t(o,null,t("p",{"data-test":"has-empty-public-catalog-message"},this.intl.t("enableFeedsToggle.emptyPublicCatalog.message")),t("arcgis-hub-workspace-link",{pane:"catalog-content"},t("calcite-button",{appearance:"outline",label:this.intl.t("enableFeedsToggle.emptyPublicCatalog.button"),round:!0},this.intl.t("enableFeedsToggle.emptyPublicCatalog.button"))))),e}renderEditorColumn(){return t("div",{class:"feeds-editor-column"},t("h4",null,this.intl.t("feedsEditorSection.title")),t("calcite-label",null,this.intl.t("feedsEditorSection.formatSelectLabel"),t("calcite-select",{onCalciteSelectChange:this.handleFeedFormatChange},this.supportedFeeds.map(e=>t("calcite-option",{key:`${e.format}::${e.version}::${!!this.attemptedFormatChange}`,selected:this.feedFormat===e.format&&this.feedVersion===e.version,value:`${e.format}::${e.version}`},this.intl.t(`${this.getBaseFeedIntlKey(e.format,e.version)}.title`))))),!!this.hasUneditableAttributes&&t("div",{class:"feeds-uneditable-attributes"},t("div",null,this.intl.t("feedsEditorSection.uneditableAttributesIntro")),t("div",null,this.intl.t(`${this.baseFeedIntlKey}.uneditableAttributes`))),t("div",{class:"editing-main-container"},t("div",{class:"preview-toggle-container"},t("calcite-label",{layout:"inline"},this.intl.t("feedsEditorSection.edit"),t("calcite-switch",{checked:this.isPreviewing,class:"preview-toggle","data-test":"preview-toggle",onCalciteSwitchChange:this.handlePreviewToggle}),this.intl.t("feedsEditorSection.preview"))),this.isPreviewing?this.renderPreview():this.renderTemplateEditor()))}renderTemplateEditor(){return t(o,null,t("arcgis-code-editor",{class:"feeds-code-editor","data-test":"template-editor","has-error":this.hasInvalidJson,language:"json",onArcgisValueChange:this.handleCodeEditorChange,value:this.feedTemplate}),this.hasInvalidJson&&t("calcite-input-message",{class:"invalid-json-editor-warning","data-test":"invalid-json-editor-warning",icon:"x-octagon",status:"invalid"},this.intl.t("feedsEditorSection.invalidJsonEditorWarning")))}renderPreview(){var e,i,a;let s;return this.hasInvalidJson?s=t("calcite-notice",{class:"preview-notice","data-test":"invalid-json-preview-warning",kind:"danger",open:!0},t("div",{slot:"message"},this.intl.t("feedsEditorSection.invalidJsonPreviewWarning"))):this.previewHubId?((e=this.previewStatus)===null||e===void 0?void 0:e.state)==="loading"?s=t("calcite-loader",{active:!0,"data-test":"preview-loader"}):((i=this.previewStatus)===null||i===void 0?void 0:i.state)==="error"?s=t("calcite-notice",{class:"preview-notice","data-test":"preview-error-notice",kind:"danger",open:!0},t("div",{slot:"message"},this.intl.t("feedsEditorSection.errorPreviewingWarning"))):((a=this.previewStatus)===null||a===void 0?void 0:a.state)==="success"&&(s=t("pre",{class:"formatted-preview","data-test":"feed-preview"},this.formattedPreview)):s=t("calcite-notice",{class:"preview-notice","data-test":"no-preview-item-warning",kind:"warning",open:!0},t("div",{slot:"message"},this.intl.t("feedsEditorSection.selectContentNotice"))),t("div",{class:"preview-main-container"},s)}handleCopyButtonClicked(){this.hubTelemetry.emit(Object.assign(Object.assign({},c.dictionary.category.interaction.action.copy.label.input),{details:this.feedFormat}))}renderToolsColumn(){return t("div",{class:"feeds-tools-column"},t("h4",null,this.intl.t(`${this.baseFeedIntlKey}.title`)),this.renderFeedDescription(),t("h4",null,this.intl.t("toolsSection.title")),this.isPreviewing&&this.renderPreviewPicker(),t("h5",null,this.intl.t("toolsSection.verification")),this.renderFeedVerificationLabel(),t("arcgis-copyable-input",{label:this.intl.t("toolsSection.copyableInputLabel"),onArcgisHubCopyButtonClicked:this.handleCopyButtonClicked,readonly:!0,value:this.feedAccessUrl}))}renderPreviewPicker(){return t("arcgis-configuration-editor",{class:"preview-picker-form",onArcgisConfigurationEditorChange:this.handlePreviewItemChange,scale:"l",schema:this.previewPickerSchema,uiSchema:this.previewPickerUiSchema,values:this.previewPickerValues})}renderFeedDescription(){var e;let a=(e={"dcat-us":{"1.1":{dcatUsSchemaLink:(...s)=>t("calcite-link",{href:"https://resources.data.gov/resources/dcat-us/",iconEnd:"launch",target:"_blank"},s),catalogFederationLink:(...s)=>t("calcite-link",{href:"https://doc.arcgis.com/en/hub/content/federate-data-with-external-catalogs.htm",iconEnd:"launch",target:"_blank"},s)}},"dcat-ap":{"2.1.1":{lineBreak:()=>t("br",null),dcatApSchemaLink:(...s)=>t("calcite-link",{href:"https://joinup.ec.europa.eu/collection/semantic-interoperability-community-semic/solution/dcat-application-profile-data-portals-europe/about",iconEnd:"launch",target:"_blank"},s),catalogFederationLink:(...s)=>t("calcite-link",{href:"https://doc.arcgis.com/en/hub/content/federate-data-with-external-catalogs.htm",iconEnd:"launch",target:"_blank"},s)}},rss:{"2.0":{rssAboutLink:(...s)=>t("calcite-link",{href:"https://validator.w3.org/feed/docs/rss2.html",iconEnd:"launch",target:"_blank"},s),xmlSpecLink:(...s)=>t("calcite-link",{href:"https://www.w3.org/TR/REC-xml/",iconEnd:"launch",target:"_blank"},s),catalogFederationLink:(...s)=>t("calcite-link",{href:"https://doc.arcgis.com/en/hub/content/federate-data-with-external-catalogs.htm",iconEnd:"launch",target:"_blank"},s)}}}[this.feedFormat])===null||e===void 0?void 0:e[this.feedVersion];return t("div",null,this.intl.t(`${this.baseFeedIntlKey}.description`,a))}renderFeedVerificationLabel(){var e;let a=(e={"dcat-us":{"1.1":{dcatUsVerificationLink:(...s)=>t("calcite-link",{href:"https://catalog.data.gov/dcat-us/validator",iconEnd:"launch",target:"_blank"},s)}},"dcat-ap":{"2.1.1":{dcatApVerificationLink:(...s)=>t("calcite-link",{href:"https://www.itb.ec.europa.eu/shacl/dcat-ap/upload",iconEnd:"launch",target:"_blank"},s)}},rss:{"2.0":{rssVerificationLink:(...s)=>t("calcite-link",{href:"https://validator.w3.org/feed/",iconEnd:"launch",target:"_blank"},s)}}}[this.feedFormat])===null||e===void 0?void 0:e[this.feedVersion];return t("div",null,this.intl.t(`${this.baseFeedIntlKey}.verificationLabel`,a))}renderDirtyStateModal(){if(this.attemptedFormatChange)return t("arcgis-hub-workspace-dirty-state-modal",{"is-open":!0})}renderMain(){return t(o,null,this.renderHeaderRow(),this.isFeedsSupported&&this.isFeedsToggleEnabled&&t(o,null,t("div",{class:"horizontal-rule"}),t("section",{class:"feeds-editor-row","data-test":"feeds-editor-section"},this.renderEditorColumn(),this.renderToolsColumn())),this.footerSlotRef&&this.isFeedsSupported&&t("arcgis-wormhole",{styles:{position:"relative"},target:this.footerSlotRef},t("calcite-button",{disabled:this.shouldDisableSaveButton,loading:this.isSaving,onClick:this.handleSaveFeedsClick,round:!0},this.intl.t("saveButton"))),this.renderDirtyStateModal())}renderLoading(){return t("calcite-loader",{active:!0,label:this.intl.t("loadingLabel")})}render(){return t(x,{key:"c7f8e67a2119393037642cc09afa85a706f810b8","data-element":"entity-content-feeds","data-test-ready":!this.isLoading},this.isLoading?this.renderLoading():this.renderMain())}static get assetsDirs(){return["locales"]}get element(){return D(this)}static get watchers(){return{entity:["initializeComponent"]}}};U([w({timeout:500})],H.prototype,"handleCodeEditorChange",null);H.style=$;export{H as arcgis_hub_entity_content_feeds};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.26/esri/copyright.txt for details.
|
|
3
|
+
v0.26.0 */
|
|
4
|
+
async function a(s,n){let e=`${n.hubUrl}/api/v3/jobs/site/${s}/harvest`,r={method:"POST",headers:{"content-type":"application/json",authorization:n.hubRequestOptions.authentication.token}};return fetch(e,r).then(t=>t.json()).then(t=>{let o={};return t.groups&&(o.groups=t.groups),t.message&&(o.error=t),o})}export{a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.26/esri/copyright.txt for details.
|
|
3
|
+
v0.26.0 */
|
|
4
|
+
import{c as X,d as Z,e as tt,f as et}from"./PHYYB4W4.js";import"./VBUCTPOF.js";import"./4J7M25W6.js";import"./E4SRHZB7.js";import"./3EJLW7QW.js";import"./PEV7JG6J.js";import"./R36Z3BBM.js";import"./N5EBHMGN.js";import{a as Q}from"./3CLS3CKG.js";import"./64SGJWQX.js";import{a as V}from"./GZXQC3PQ.js";import{a as W}from"./B3VHX7NO.js";import{a as Y,e as J}from"./W6VAJ63O.js";import"./74EIS6DU.js";import{a as k}from"./76DGSVKD.js";import{a as B}from"./C5KXQBED.js";import"./5WHMIZOR.js";import{a as U}from"./QAIWMMIU.js";import{c as G}from"./JGKQHKDS.js";import{c as z}from"./AZ5AV37N.js";import"./APTKCFQL.js";import{a as O,d as H,j as q}from"./CDJKF4LM.js";import"./V4VIWGM4.js";import{b as L}from"./BFWRHB7T.js";import{h as _}from"./3OWN4VDE.js";import"./NUVQ6QVE.js";import{j}from"./X5OD5M2E.js";import"./VYEXSR5N.js";import"./H34WDAMJ.js";import"./4MXZQRPH.js";import"./NFEU2STS.js";import{a as N}from"./VKZ6FIWT.js";import{a as K}from"./7YKKISZZ.js";import"./64DOA6RN.js";import"./ZB2YGFN3.js";import{a as D}from"./D5E2VHNU.js";import"./SGPM3YSK.js";import{b as m,c as rt,d as nt,e as A,i as ot}from"./G44WNTOM.js";import"./2YK22MKI.js";import"./2JBK5SNV.js";import{a as P}from"./UMQYJ6KV.js";import"./SU7CHYPQ.js";import"./YZ73VA46.js";export default $arcgis.t(([])=>{var ut=t=>{let{folderId:e,start:r=1,num:n=10,authentication:d}=t,h=e?`/${e}`:"";return O(t).then(c=>`${L(t)}/content/users/${c}${h}`).then(c=>_(c,{httpMethod:"GET",authentication:d,params:{start:r,num:n}}))},ft=t=>{let{authentication:e,id:r,title:n,exportFormat:d,exportParameters:h}=t;return O(t).then(c=>`${L(t)}/content/users/${c}/export`).then(c=>_(c,{httpMethod:"POST",authentication:e,params:{itemId:r,title:n,exportFormat:d,exportParameters:h}}))},lt={exports:{}};(function(t){var e=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function d(a,o,s){this.fn=a,this.context=o,this.once=s||!1}function h(a,o,s,i,w){if(typeof s!="function")throw new TypeError("The listener must be a function");var f=new d(s,i||a,w),p=r?r+o:o;return a._events[p]?a._events[p].fn?a._events[p]=[a._events[p],f]:a._events[p].push(f):(a._events[p]=f,a._eventsCount++),a}function c(a,o){--a._eventsCount===0?a._events=new n:delete a._events[o]}function l(){this._events=new n,this._eventsCount=0}l.prototype.eventNames=function(){var o=[],s,i;if(this._eventsCount===0)return o;for(i in s=this._events)e.call(s,i)&&o.push(r?i.slice(1):i);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(s)):o},l.prototype.listeners=function(o){var s=r?r+o:o,i=this._events[s];if(!i)return[];if(i.fn)return[i.fn];for(var w=0,f=i.length,p=new Array(f);w<f;w++)p[w]=i[w].fn;return p},l.prototype.listenerCount=function(o){var s=r?r+o:o,i=this._events[s];return i?i.fn?1:i.length:0},l.prototype.emit=function(o,s,i,w,f,p){var y=r?r+o:o;if(!this._events[y])return!1;var u=this._events[y],E=arguments.length,I,g;if(u.fn){switch(u.once&&this.removeListener(o,u.fn,void 0,!0),E){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,s),!0;case 3:return u.fn.call(u.context,s,i),!0;case 4:return u.fn.call(u.context,s,i,w),!0;case 5:return u.fn.call(u.context,s,i,w,f),!0;case 6:return u.fn.call(u.context,s,i,w,f,p),!0}for(g=1,I=new Array(E-1);g<E;g++)I[g-1]=arguments[g];u.fn.apply(u.context,I)}else{var ht=u.length,x;for(g=0;g<ht;g++)switch(u[g].once&&this.removeListener(o,u[g].fn,void 0,!0),E){case 1:u[g].fn.call(u[g].context);break;case 2:u[g].fn.call(u[g].context,s);break;case 3:u[g].fn.call(u[g].context,s,i);break;case 4:u[g].fn.call(u[g].context,s,i,w);break;default:if(!I)for(x=1,I=new Array(E-1);x<E;x++)I[x-1]=arguments[x];u[g].fn.apply(u[g].context,I)}}return!0},l.prototype.on=function(o,s,i){return h(this,o,s,i,!1)},l.prototype.once=function(o,s,i){return h(this,o,s,i,!0)},l.prototype.removeListener=function(o,s,i,w){var f=r?r+o:o;if(!this._events[f])return this;if(!s)return c(this,f),this;var p=this._events[f];if(p.fn)p.fn===s&&(!w||p.once)&&(!i||p.context===i)&&c(this,f);else{for(var y=0,u=[],E=p.length;y<E;y++)(p[y].fn!==s||w&&!p[y].once||i&&p[y].context!==i)&&u.push(p[y]);u.length?this._events[f]=u.length===1?u[0]:u:c(this,f)}return this},l.prototype.removeAllListeners=function(o){var s;return o?(s=r?r+o:o,this._events[s]&&c(this,s)):(this._events=new n,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=r,l.EventEmitter=l,t.exports=l})(lt);var pt=lt.exports,v=class extends Error{constructor(e,r,n){super(e),this.status=n,this.url=r}};function T(t){let{host:e,route:r,query:n}=t,d=e.endsWith("/")?e:`${e}/`,h=new URL(r,d);return h.search=mt(n),h.toString()}function mt(t={}){let e=Object.keys(t).filter(r=>t[r]!==void 0).reduce((r,n)=>(r[n]=t[n],r),{});return new URLSearchParams(e).toString()}function $(t){let{datasetId:e,format:r,spatialRefId:n,geometry:d,where:h}=t;return`${e}:${r}:${n}:${d}:${h}`}var at={Shapefile:"shp",CSV:"csv","File Geodatabase":"fgdb",GeoJson:"geojson",KML:"kml"};function dt(t){if(!at[t])throw new Error(`Unsupported Hub download format: ${t}`);return at[t]}function wt(t){let{host:e,datasetId:r,spatialRefId:n,geometry:d,where:h}=t,c={spatialRefId:n,format:dt(t.format),geometry:d,where:h},l=T({host:e,route:`/api/v3/datasets/${r}/downloads`});return fetch(l,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(c)}).then(a=>{let{ok:o,status:s,statusText:i}=a;if(!o)throw new v(i,l,s)}).then(()=>({downloadId:$(t)}))}function gt(t){let{datasetId:e,title:r,format:n,authentication:d}=t,[h]=e.split("_");return ft({id:h,exportFormat:n,exportParameters:yt(t),title:r,authentication:d}).then(c=>{let{size:l,jobId:a,exportItemId:o}=c;return{downloadId:o,jobId:a,size:l,exportCreated:Date.now()}})}function yt(t){let{datasetId:e,spatialRefId:r,where:n}=t,d=e.split("_")[1];if(!d)return r?{targetSR:{wkid:Number(r)}}:{};let h=[{id:Number(d),where:n}];return r?{layers:h,targetSR:{wkid:Number(r)}}:{layers:h}}function bt(t){let{host:e,datasetId:r,format:n,spatialRefId:d,geometry:h,where:c,title:l,target:a,authentication:o}=t;return!a||a==="hub"?wt({host:e,datasetId:r,format:n,spatialRefId:d,geometry:h,where:c}):gt({datasetId:r,format:n,title:l,authentication:o,spatialRefId:d,where:c})}var S;(function(t){t.Shapefile="Shapefile",t.CSV="CSV",t.KML="KML",t.GeoJson="GeoJson",t.Excel="Excel",t["File Geodatabase"]="File Geodatabase",t["Feature Collection"]="Feature Collection",t["Scene Package"]="Scene Package"})(S||(S={}));function ct(t){let{host:e,datasetId:r,spatialRefId:n,geometry:d,where:h}=t,c={spatialRefId:n,formats:dt(t.format),geometry:d?JSON.stringify(d):void 0,where:h},l=T({host:e,route:`/api/v3/datasets/${r}/downloads`,query:c});return fetch(l).then(a=>{let{ok:o,status:s,statusText:i}=a;if(!o)throw new v(i,l,s);return a.json()}).then(a=>(Et(a),It(a,$(t))))}function Et({data:t}){if(!t)throw new Error('Unexpected API response; no "data" property.');if(!Array.isArray(t))throw new Error('Unexpected API response; "data" is not an array.');if(t.length>1)throw new Error('Unexpected API response; "data" contains more than one download.')}function It(t,e){let{data:[r]}=t;if(!r)return{downloadId:e,status:"not_ready"};let{attributes:{contentLastModified:n,lastModified:d,status:h,errors:c,contentLength:l,cacheTime:a,source:{lastEditDate:o}},links:{content:s}}=r;return{downloadId:e,contentLastModified:n,lastEditDate:o,lastModified:d,status:h,errors:c||[],downloadUrl:s,contentLength:l,cacheTime:a}}var M=class{disablePoll(){clearInterval(this.pollTimer),this.pollTimer=null}activatePoll(e){let{downloadId:r,eventEmitter:n,pollingInterval:d,existingFileDate:h=new Date(0).toISOString()}=e,c=new Date(h).getTime();this.pollTimer=setInterval(()=>{ct(e).then(l=>{if(Dt(l,c))return n.emit(`${r}ExportComplete`,{detail:{metadata:l}}),this.disablePoll();if(vt(l)){let{errors:[a]}=l;return n.emit(`${r}ExportError`,{detail:{error:a,metadata:l}}),this.disablePoll()}}).catch(l=>(n.emit(`${r}PollingError`,{detail:{error:l,metadata:{status:"error"}}}),this.disablePoll()))},d)}};function xt(t){let e=new M;return e.activatePoll(t),e}function Dt(t,e){let{status:r,lastModified:n}=t,d=new Date(n).getTime();return r==="ready"||r==="ready_unknown"&&d>e}function vt(t){return t&&(t.status==="error_updating"||t.status==="error_creating")}function St(t){return ut({authentication:t}).then(e=>{let r=e.folders.find(n=>n.title==="item-exports");return r?{folder:r}:Y({authentication:t,title:"item-exports"})}).then(e=>{let{folder:r}=e;return r.id})}var b;(function(t){t.READY="ready",t.READY_UNKNOWN="ready_unknown",t.STALE="stale",t.NOT_READY="not_ready",t.LOCKED="locked",t.STALE_LOCKED="stale_locked",t.DISABLED="disabled",t.CREATING="creating",t.UPDATING="updating",t.ERROR_CREATING="error_creating",t.ERROR_UPDATING="error_updating",t.ERROR="error"})(b||(b={}));var C=class t extends Error{constructor(e){super(e),Object.setPrototypeOf(this,t.prototype)}};function Ct(t){let{downloadId:e,datasetId:r,exportCreated:n,spatialRefId:d,eventEmitter:h,authentication:c}=t,{itemId:l,layerId:a}=k(r),o=[tt(l),et(a),`modified:${n}`,Z(d)];return J({item:{id:e,typekeywords:o.join(",")},authentication:c}).then(()=>Q({id:e,authentication:c,access:"private"})).then(()=>St(c)).then(s=>G({itemId:e,folderId:s,authentication:c})).catch(s=>{if(!(s&&s.code==="CONT_0011"))throw W({id:e,authentication:c}),new C(s.message)}).then(()=>h.emit(`${e}ExportComplete`,{detail:{metadata:{downloadId:e,status:b.READY,lastModified:new Date().toISOString(),downloadUrl:T({host:c.portal,route:`content/items/${e}/data`,query:{token:c.token}})}}}))}var F=class{disablePoll(){clearInterval(this.pollTimer),this.pollTimer=null}activatePoll(e){let{downloadId:r,datasetId:n,format:d,spatialRefId:h,jobId:c,authentication:l,exportCreated:a,eventEmitter:o,pollingInterval:s}=e;this.pollTimer=setInterval(()=>{q({id:r,jobId:c,jobType:"export",authentication:l}).then(i=>{if(i.status==="completed")return Ct({datasetId:n,format:d,authentication:l,downloadId:r,spatialRefId:h,exportCreated:a,eventEmitter:o}).then(()=>{this.disablePoll()});if(i.status==="failed")return o.emit(`${r}ExportError`,{detail:{error:new Error(i.statusMessage),metadata:{status:b.ERROR,errors:[new Error(i.statusMessage)]}}}),this.disablePoll()}).catch(i=>(i instanceof C?o.emit(`${r}ExportError`,{detail:{error:i,metadata:{status:b.ERROR,errors:[i]}}}):o.emit(`${r}PollingError`,{detail:{error:i,metadata:{status:b.ERROR,errors:[i]}}}),this.disablePoll()))},s)}};function Rt(t){let e=new F;return e.activatePoll(t),e}function Tt(t){let{target:e,downloadId:r,datasetId:n,jobId:d,format:h,authentication:c,exportCreated:l,eventEmitter:a,pollingInterval:o,spatialRefId:s,geometry:i,where:w,host:f,existingFileDate:p}=t;return!e||e==="hub"?xt({host:f,downloadId:r,datasetId:n,format:h,eventEmitter:a,pollingInterval:o,spatialRefId:s,geometry:i,where:w,existingFileDate:p}):Rt({downloadId:r,datasetId:n,jobId:d,authentication:c,exportCreated:l,format:h,spatialRefId:s,eventEmitter:a,pollingInterval:o,geometry:i,where:w})}var Pt=600*1e3;function _t(t,e){return t==="portal"&&e&&new Date().getTime()-e<=Pt}function Lt(t,e){let r=e?e.toLowerCase():"",n=P(t,"properties.downloadsConfig.enabled")!==!1,d=P(t,"properties.downloadsConfig.formats")||{},h=!d[r]||d[r].enabled!==!1;return n?h:!1}var R;(function(t){t.FeatureService="Feature Service",t.MapService="Map Service"})(R||(R={}));var Ot=t=>t===S.CSV||t===S.KML;function kt(t){let{datasetId:e,authentication:r,format:n,spatialRefId:d,target:h,portal:c}=t,{itemId:l,layerId:a}=k(e),o,s,i,w;return H(l,{authentication:r,portal:c}).then(f=>{let{type:p,modified:y,url:u}=f;return w=f,s=y,i=p,At({url:u,authentication:r,type:p,modified:y,format:n,layerId:a,portal:c})}).then(f=>{let{modified:p,format:y}=f;return o=p,z({q:X(l,{layerId:a,onlyTypes:[y],spatialRefId:d}),num:1,sortField:"modified",sortOrder:"DESC",authentication:r,portal:c})}).then(f=>Ut({cachedDownload:f.results[0],datasetId:e,format:n,spatialRefId:d,serviceLastEditDate:o,itemModifiedDate:s,itemType:i,authentication:r,target:h,item:w,portal:c})).catch(f=>{throw f})}function At(t){let{format:e,layerId:r,url:n,type:d,modified:h,authentication:c,portal:l}=t;return d!==R.FeatureService&&d!==R.MapService?Promise.resolve({modified:h,format:e}):st(B({url:n,authentication:c,portal:l})).then(a=>{let s=(a.layers||[]).map(i=>st(V({url:`${n}/${i.id}`,authentication:c,portal:l})));return Promise.all(s)}).then(a=>({format:Mt({format:e,layerId:r,layers:a}),modified:$t(a)}))}function Mt(t){let{format:e,layerId:r,layers:n}=t;return Ft(r,n)&&Ot(e)?`${e} Collection`:e}function Ft(t,e){return t===void 0&&e.length>1}function $t(t){return t.map(r=>{let{editingInfo:{lastEditDate:n}={}}=r;return n}).filter(r=>r!==void 0).sort((r,n)=>n-r)[0]}function Ut(t){let{cachedDownload:e,serviceLastEditDate:r,authentication:n,target:d,item:h,format:c,portal:l}=t,a=r===void 0?void 0:new Date(r).toISOString(),{created:o,id:s}=e||{},i=_t(d,r),f=Lt(h,c)?Kt(r,o,i):b.DISABLED;return e?{downloadId:s,status:f,lastEditDate:a,contentLastModified:new Date(o).toISOString(),lastModified:new Date(o).toISOString(),downloadUrl:T({host:l||n.portal,route:`content/items/${s}/data`,query:{token:n?.token}})}:{downloadId:$(t),status:f,lastEditDate:a}}function Kt(t,e,r){return e?t?t>e?r?b.STALE_LOCKED:b.STALE:b.READY:b.READY_UNKNOWN:r?b.LOCKED:b.NOT_READY}function st(t){return t.catch(e=>{if(e.name==="ArcGISAuthError")return e.retry(()=>Promise.resolve(null),1);throw e})}function Nt(t){let{host:e,datasetId:r,spatialRefId:n,format:d,geometry:h,where:c,target:l,authentication:a}=t;return!l||l==="hub"?ct({host:e,datasetId:r,format:d,spatialRefId:n,geometry:h,where:c}):kt({portal:`${e}/sharing/rest`,datasetId:r,format:d,authentication:a,spatialRefId:n,target:l})}function jt(t){let e=["Bytes","KB","MB","GB","TB"],r=t;if(r===0)return"n/a";let n=Math.floor(Math.log(r)/Math.log(1024));return n===0?[r,e[n]]:[(r/1024**n).toFixed(1),e[n]]}var Ht=`:host{font-size:1em}calcite-card div{font-size:1em}h3{font-size:1.25em}dl{font-size:inherit}dt,dd,calcite-dropdown-item{font-size:0.875em}dt{float:left;clear:left;margin-right:0.25rem}dt.ltr::after{content:':'}dd.rtl::after{content:':'}dd{margin:0px;padding:0px;margin-left:110px;margin-inline-start:0}a{vertical-align:middle}calcite-icon{margin-left:0.25rem}a:visited{color:inherit}calcite-dropdown{width:100%;--calcite-dropdown-width:100%;position:relative}calcite-dropdown-item span{color:#323232}calcite-button{width:100%}calcite-card div{width:100%}div[slot="footer-start"]{display:block}`,qt=Ht,Gt=5e3,zt={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!1};function it(t,e){return t==="hub"||!!e}var Bt=class{constructor(t){ot(this,t),this.hubTelemetry=A(this,"hubTelemetry",7),this.hubDownloadCardSuccess=A(this,"hubDownloadCardSuccess",7),this.contentLengthString=null,this.poller=null,this.loading=void 0,this.metadata=void 0,this.exportRequested=!1,this.apiError=void 0,this.host=void 0,this.datasetId=void 0,this.format=void 0,this.name=void 0,this.target="hub",this.spatialRefId="4326",this.where=void 0,this.geometry=void 0,this.filename=void 0,this.username=void 0,this.token=void 0,N(this,"exportDatasetComplete","exportDatasetError","exportPollingError","download","downloadKeyDown","exportDataset","exportDatasetKeyDown")}async componentWillLoad(){this.resetUndefinedProps(),await this.setLocalization(),this.setAuthentication(),await this.fetchMetadataAndSetState(),this.setTranslations()}buildDownloadTelemetry({isSuccess:t=!0,isCached:e=!0}={}){return Object.assign(Object.assign({},e?D.dictionary.category.interaction.action.download.details.cache:D.dictionary.category.interaction.action.download.details.export),{label:this.format,response:t?D.constants.response.SUCCESS:D.constants.response.FAILURE})}resetUndefinedProps(){["spatialRefId","where","geometry","filename","target"].forEach(t=>{this[t]=this[t]==="undefined"?void 0:this[t]}),this.spatialRefId||(this.spatialRefId="4326")}async setLocalization(){this.intl=await K.loadIntlForComponent(this.element),this.dateTimeFormatter=new Intl.DateTimeFormat(this.intl.locale,zt),this.setLabels()}setLabels(){let t=["buttonDownload","fileCreated","fileSize","buttonOptions","menuRequest"];this.labels=t.reduce((e,r)=>(e[r]=this.intl.t(r),e),{})}setAuthentication(){this.username&&this.token&&(this.authentication=new U({username:this.username,portal:`${this.host}/sharing/rest`,token:this.token}),this.authentication.getToken=()=>new Promise(t=>{t(this.token)}))}setTranslations(){this.setContentLengthString()}setContentLengthString(){let{metadata:{contentLength:t}={}}=this;if(t){let e=jt(t);this.contentLengthString=typeof e=="string"?this.intl.t(e.toLowerCase()):`${e[0]} ${this.intl.t(e[1].toLowerCase())}`}}async watchHandler(){this.resetUndefinedProps(),await this.fetchMetadataAndSetState()}async disconnectedCallback(){this.resetUndefinedProps(),this.poller&&this.poller.disablePoll()}async fetchMetadataAndSetState(){this.poller&&this.poller.disablePoll();let t=this.getServiceParams();try{this.metadata=await Nt(t),this.pollingEvent=new pt,this.exportInProgress()&&this.poll()}catch(e){this.apiError=e}}getServiceParams(){let t={host:this.host,datasetId:this.datasetId,format:this.format,target:this.target,authentication:this.authentication,spatialRefId:this.spatialRefId};return this.where&&(t.where=this.where),this.geometry&&(t.geometry=this.geometry),t}poll(){let t=this.getServiceParams();this.pollingEvent.on(`${this.metadata.downloadId}ExportComplete`,this.exportDatasetComplete),this.pollingEvent.on(`${this.metadata.downloadId}ExportError`,this.exportDatasetError),this.pollingEvent.on(`${this.metadata.downloadId}PollingError`,this.exportPollingError),this.poller=Tt(Object.assign(Object.assign({},t),{downloadId:this.metadata.downloadId,jobId:this.metadata.jobId,exportCreated:this.metadata.exportCreated,eventEmitter:this.pollingEvent,pollingInterval:Gt,existingFileDate:new Date(this.metadata.lastModified||0).toISOString()}))}async download(){if(this.metadata&&this.metadata.downloadUrl)try{let t=this.transferFile(this.metadata.downloadUrl);return this.hubTelemetry.emit(this.buildDownloadTelemetry()),this.hubDownloadCardSuccess.emit(),t}catch(t){throw this.hubTelemetry.emit(this.buildDownloadTelemetry({isSuccess:!1})),t}return await this.exportDataset()}transferFile(t){return this.format==="Feature Collection"?window.open(t):j(t)}async exportDataset(){this.exportRequested=!0,this.metadata.status=this.downloadCached()?"updating":"creating";let t=Object.assign({title:this.filename},this.getServiceParams());try{let e=await bt(t);this.metadata=Object.assign(Object.assign({},this.metadata),e),this.poll()}catch(e){this.apiError=e,this.metadata.status="error",this.metadata.errors=[e]}}exportDatasetComplete(t){if(this.exportDatasetHandler(t),this.hubTelemetry.emit(this.buildDownloadTelemetry({isCached:!1})),this.hubDownloadCardSuccess.emit(),this.exportRequested){let{downloadUrl:e}=this.metadata;if(e)return this.transferFile(e)}}exportDatasetError(t){this.exportDatasetHandler(t),this.hubTelemetry.emit(this.buildDownloadTelemetry({isSuccess:!1,isCached:!1}))}exportPollingError(t){this.apiError=t.detail.error,this.exportDatasetHandler(t),this.hubTelemetry.emit(this.buildDownloadTelemetry({isSuccess:!1,isCached:!1}))}exportDatasetHandler(t){this.metadata=Object.assign(Object.assign({},this.metadata),t.detail.metadata),this.pollingEvent.off(`${this.metadata.downloadId}ExportComplete`,this.exportDatasetComplete),this.pollingEvent.off(`${this.metadata.downloadId}ExportError`,this.exportDatasetError),this.pollingEvent.off(`${this.metadata.downloadId}PollingError`,this.exportDatasetError)}renderNotice(){let{metadata:t,apiError:e,exportRequested:r}=this,{status:n}=t||{},d=n;n==="locked"?d="not_ready":n==="stale_locked"&&(d="stale");let h=e?e.status||e.message:void 0;return m("hub-download-notice",{"api-error":h,"cannot-export":!it(this.target,this.username),"export-requested":r,"file-status":d})}exportInProgress(){let{metadata:{status:t}={}}=this;return t==="creating"||t==="updating"}downloadCached(){let{metadata:{status:t}={}}=this;return["ready","ready_unknown","stale","stale_locked","updating","error_updating"].includes(t)}downloadUpToDate(){return this.metadata&&this.metadata.status==="ready"}isFormatDownloadDisabled(){return this.metadata&&this.metadata.status==="disabled"}renderFileDescription(){let t=[],{metadata:{lastModified:e}={}}=this;return this.downloadCached()?(e&&(this.intl.direction==="rtl"?t.push(m("dt",null,this.dateTimeFormatter.format(new Date(e))),m("dd",{class:"rtl"},this.labels.fileCreated)):t.push(m("dt",{class:"ltr"},this.labels.fileCreated),m("dd",null,this.dateTimeFormatter.format(new Date(e))))),this.contentLengthString&&(this.intl.direction==="rtl"?t.push(m("dt",null,this.contentLengthString),m("dd",{class:"rtl"},this.labels.fileSize)):t.push(m("dt",{class:"ltr"},this.labels.fileSize),m("dd",null,this.contentLengthString))),t):null}exportDatasetKeyDown(t){["Enter"," "].includes(t.key)&&this.exportDataset()}downloadKeyDown(t){["Enter"," "].includes(t.key)&&this.download()}renderDownloadControl(){return this.shouldUseDownloadButton()?m("calcite-button",{appearance:"solid",color:"blue",disabled:this.shouldDisableDownload(),"icon-position":"start",onClick:this.download,scale:"m",width:"full"},this.labels.buttonDownload):m("calcite-dropdown",{open:!1,placement:"top",scale:"m",type:"click"},m("calcite-button",{appearance:"solid",color:"blue","icon-end":"caretUp",scale:"m",slot:"trigger"},this.labels.buttonOptions),m("calcite-dropdown-group",{"selection-mode":"none"},m("calcite-dropdown-item",{hidden:this.exportInProgress(),onClick:this.exportDataset,onKeyDown:this.exportDatasetKeyDown,role:"menuitem","selection-mode":"none",tabindex:"0"},m("span",null,this.labels.menuRequest)),m("calcite-dropdown-item",{onClick:this.download,onKeyDown:this.downloadKeyDown,role:"menuitem","selection-mode":"none",tabindex:"0"},m("span",null,this.intl.t("menuDownload",{createdDate:this.dateTimeFormatter.format(new Date(this.metadata.lastModified))})))))}shouldUseDownloadButton(){return this.downloadUpToDate()||!this.downloadCached()||this.isFormatDownloadDisabled()||!it(this.target,this.username)}shouldDisableDownload(){return this.isFormatDownloadDisabled()||this.exportInProgress()&&!this.downloadCached()}render(){return m(rt,{key:"7bdf71eb74bfc58f41207d66486f451665953c2e","data-element":"download-card"},m("calcite-card",{key:"26c771ef86687e629a04f8e17a23c785d1b95965",dir:this.intl.direction},m("h3",{key:"0a5d94589614f5b61eb738111ea00e1db45489cd",slot:"title"},this.name),m("dl",{key:"eab178e4d5b2d5a2cd56d01106e38c341fc74c8b",slot:"subtitle"},this.renderFileDescription()),m("div",{key:"12843da8e9e9b8881b359086366c86cff78182b7",slot:"footer-start"},this.renderNotice(),this.renderDownloadControl())))}static get assetsDirs(){return["locales"]}get element(){return nt(this)}static get watchers(){return{host:["watchHandler"],datasetId:["watchHandler"],format:["watchHandler"],spatialRefId:["watchHandler"],where:["watchHandler"],geometry:["watchHandler"],target:["watchHandler"],username:["watchHandler"],token:["watchHandler"]}}};Bt.style=qt;return Bt},"config")
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.26/esri/copyright.txt for details.
|
|
3
|
+
v0.26.0 */
|
|
4
|
+
import{n as p}from"./FUU7EEU6.js";import"./6VPW6E5P.js";import"./DYZ7J7C2.js";import"./Y6MWCBTL.js";import"./KDFYZ6IA.js";import{k as s}from"./T5N7J5KA.js";import"./UBZ4BXC2.js";import"./62GTEZE3.js";import"./UGOSLTPP.js";import"./GPE2TY3K.js";import"./IFOFJAS7.js";import"./4CHZULMP.js";import"./ETWSJPEG.js";import"./ZBVZFF7G.js";import"./7QEHUQVY.js";import"./GZXQC3PQ.js";import"./YEMQFXZ3.js";import"./DWSH4A76.js";import"./ND6JGV2P.js";import"./SUSER4N2.js";import"./ZFM4JBMP.js";import"./XKLPKD3N.js";import"./KVEOKRJX.js";import"./VHT4WQQ6.js";import"./VLQNTY6Y.js";import"./7VPVBMRX.js";import"./JVCXDN2F.js";import"./7DCGBE3H.js";import"./IOCIWEWY.js";import"./B3VHX7NO.js";import"./W6VAJ63O.js";import"./CMS26LUQ.js";import"./CH2IMSON.js";import"./74EIS6DU.js";import"./V4HLTNXK.js";import"./76DGSVKD.js";import"./HXYGNBYY.js";import"./C5KXQBED.js";import"./HMDOXDTX.js";import"./Y23233PY.js";import"./2XZQFK52.js";import"./YTUYPE6C.js";import"./KRF3CEDL.js";import"./QAIWMMIU.js";import"./CITIOB5T.js";import"./2HXW7EZR.js";import"./IEHZL3HZ.js";import"./IHAJC7AK.js";import"./6CU64SHW.js";import"./KEWVC6LL.js";import"./Q2QQIIG4.js";import"./7UANUYEV.js";import"./JUPINWD3.js";import"./RIZDV5IO.js";import"./H6KSUJRJ.js";import"./OKBVMEXB.js";import"./JGKQHKDS.js";import"./AZ5AV37N.js";import"./APTKCFQL.js";import"./CDJKF4LM.js";import"./V4VIWGM4.js";import"./BFWRHB7T.js";import"./3OWN4VDE.js";import{c as h,j as u}from"./2MZR2E7H.js";import"./NUVQ6QVE.js";import"./2DT73XX6.js";import"./CJNJGDDD.js";import"./DBRRT4VH.js";import"./TXRVYD6C.js";import"./OD5HQD5E.js";import"./X5OD5M2E.js";import"./VYEXSR5N.js";import"./H34WDAMJ.js";import"./4MXZQRPH.js";import"./NFEU2STS.js";import{a}from"./VKZ6FIWT.js";import{a as n}from"./7YKKISZZ.js";import"./64DOA6RN.js";import"./ZB2YGFN3.js";import"./D5E2VHNU.js";import"./SGPM3YSK.js";import{b as o,c,d as m,e,i as d}from"./G44WNTOM.js";import"./2YK22MKI.js";import"./2JBK5SNV.js";import{a as l}from"./UMQYJ6KV.js";import"./SU7CHYPQ.js";import"./YZ73VA46.js";var C=":host{display:block}calcite-notice{--calcite-color-foreground-1:#ffffff;--calcite-color-text-2:#000000}.cta-align-center{display:flex;justify-content:center}.cta-align-start{display:flex;justify-content:flex-start}.cta-align-end{display:flex;justify-content:flex-end}.cta-text{margin-bottom:0.75rem}",b=C,y=class{connectedCallback(){u(this)}disconnectedCallback(){this.disconnectContext()}constructor(t){d(this,t),this.arcgisHubFollowCardFollowChange=e(this,"arcgisHubFollowCardFollowChange",7),this.startFollowCardPopoutAuth=e(this,"startFollowCardPopoutAuth",7),this.cardConfig=void 0,this.isEditingSite=!1,this.followersGroup=void 0,this._context=h(),a(this,"handleArcgisHubFollowActionChange","handleStartFollowCardPopoutAuth")}async componentWillLoad(){this.intl=await n.loadIntlForComponent(this.element),await this.cardConfigUpdated()}async cardConfigUpdated(){let{entityId:t,entityType:i}=this.cardConfig;if(t)try{this._entity=await p(i,t,this._context),this.followersGroup=this._entity.followersGroupId&&await s(this._entity.followersGroupId,this._context.hubRequestOptions)}catch(r){console.error(`Error fetching followers group: ${r}`)}}get hasGroupAccess(){return!!this.followersGroup&&!!l(this.followersGroup,"access")}get callToActionClass(){return`cta-align-${this.cardConfig.callToActionAlign}`}handleArcgisHubFollowActionChange(t){t.preventDefault(),t.stopPropagation(),this.arcgisHubFollowCardFollowChange.emit(t.detail)}handleStartFollowCardPopoutAuth(t){t.preventDefault(),t.stopPropagation(),this.startFollowCardPopoutAuth.emit()}renderNotice(){return o("calcite-notice",{kind:"danger",open:!0},o("div",{slot:"message"},this.intl.t("inaccessibleFollowerGroup")))}render(){let{entityId:t,entityType:i,buttonText:r,unfollowButtonText:g,buttonStyle:f,buttonAlign:w}=this.cardConfig;return o(c,{key:"32b71760a41e6b20c62d8590c84084e073e4bee0","data-element":"follow-card"},this.hasGroupAccess?o("div",null,o("div",{class:`cta-text ${this.callToActionClass}`},this.cardConfig.callToActionText),o("arcgis-hub-follow-action",{buttonAlign:w,buttonStyle:f,buttonText:r,entityAccess:this._entity.access,entityId:t,entityType:i,followersGroup:this.followersGroup,onArcgisHubFollowActionChange:this.handleArcgisHubFollowActionChange,onStartFollowActionPopoutAuth:this.handleStartFollowCardPopoutAuth,unfollowButtonText:g})):this.isEditingSite&&this.renderNotice())}static get assetsDirs(){return["locales"]}get element(){return m(this)}static get watchers(){return{_context:["cardConfigUpdated"],cardConfig:["cardConfigUpdated"]}}};y.style=b;export{y as arcgis_hub_follow_card};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.26/esri/copyright.txt for details.
|
|
3
|
+
v0.26.0 */
|
|
4
|
+
var n=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function a(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function u(e){if(e.__esModule)return e;var o=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),o}export{n as a,a as b,u as c};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.26/esri/copyright.txt for details.
|
|
3
|
+
v0.26.0 */
|
|
4
|
+
import h from"./NHAGQBKH.js";import g from"./ZQQWP3MA.js";import f from"./VA2ZME6A.js";import e from"./DGS65WYK.js";import d from"./M6JVB7NV.js";import c from"./OBZG3VCQ.js";import b from"./NAHFVXAR.js";import a from"./ERAEAQVY.js";import"./G44WNTOM.js";import"./2YK22MKI.js";import"./UMQYJ6KV.js";import"./YZ73VA46.js";export default $arcgis.t(([,,,,,,,,,,,,,,{Ba:a,Ma:w,ca:v,h:I,ha:_},{$:o,Q:m,o:n},,,,{a:h,b:f,c:S},{b:d,d:c,f:y,h:g,j:p},{a:u,b:b}])=>{var l=class extends S{constructor(){super(...arguments),this._chartType=I.RadarSeries}async setup(i){await this.loadConfigFromLayer(i),this.commonStrings=await n(),i.config!==void 0&&this.updateSeriesFromLayerFilter(),await this.initDefaultSeries(),this.resolveSetup()}async generateDefaultConfig(){let i=await w();return i.series=[await a({objectIDField:this.layerInfo?.objectIdField})],i}async initDefaultSeries(){this.defaultSeries=await a({objectIDField:this.layerInfo?.objectIdField})}resetSeriesStyling(){let i=this.getSeriesLength();for(let e=0;e<i;e+=1){let r=_({colorIndex:e,opacity:v});if(f(r,e,this._config),y(r,e,this._config),this.layerInfo!==void 0){let t=this.getSeriesId(e),s=o({config:this._config,seriesIndex:e,layerInfo:this.layerInfo,commonStrings:this.commonStrings});s!==this.layerInfo.objectIdField&&h(s??t,e,this._config)}d(this.defaultSeries?.lineSymbol?.style,e,this._config),c(this.defaultSeries?.lineSymbol?.width,e,this._config),g(this.defaultSeries?.markerSymbol?.style,e,this._config),p(this.defaultSeries?.markerSymbol?.size,e,this._config)}this._config.colorMatch=!0,this.emitConfigUpdate("resetSeriesStyling")}resetAvailable(){let i=!this.getColorMatch(),e=!1;if(!i){let r=this.getSeriesLength();for(let t=0;t<r;t+=1){if(this.layerInfo!==void 0){let s=o({config:this._config,seriesIndex:t,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),k=this.getSeriesName(t);s!==void 0&&s!==this.layerInfo.objectIdField&&s!==k&&(e=!0)}if(this.defaultSeries?.lineSymbol?.style!==void 0&&this.defaultSeries?.lineSymbol.style!==this.getSeriesLineStyle(t)||this.defaultSeries?.lineSymbol?.width!==void 0&&this.defaultSeries?.lineSymbol.width!==this.getSeriesLineWidth(t)||this.defaultSeries?.markerSymbol?.style!==void 0&&this.defaultSeries?.markerSymbol?.style!==this.getSeriesMarkerStyle(t)||this.defaultSeries?.markerSymbol?.size!==void 0&&this.defaultSeries?.markerSymbol?.size!==this.getSeriesMarkerSize(t)){e=!0;break}}}return i||e}};m(l,[b,u]);return l},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","layers/support/fieldUtils","renderers/support/jsonUtils","layers/support/Field","rest/support/FeatureSet","layers/FeatureLayer","portal/Portal","applications/Components/reactiveUtils",a,b,c,d,e,f,g,h)
|