@arcgis/charts-components 5.0.0-next.61 → 5.0.0-next.62
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/{EPOPTL7V.js → 22AMMNVO.js} +2 -2
- package/dist/cdn/{QDCRMV5L.js → 2CDIZBJI.js} +2 -2
- package/dist/cdn/{TXPWUXH4.js → 2EFFPREN.js} +1 -1
- package/dist/cdn/{GYSSUFER.js → 2JQIHTVO.js} +2 -2
- package/dist/cdn/{UPWUIRBT.js → 2OVCKSQK.js} +2 -2
- package/dist/cdn/{C7AFM673.js → 2SJ3MRS3.js} +2 -2
- package/dist/cdn/{NAKEUL7F.js → 2SOEKLKR.js} +2 -2
- package/dist/cdn/{7YGVN4DP.js → 3C7W6KK2.js} +2 -2
- package/dist/cdn/{5XULTYZQ.js → 3GR6PCUP.js} +2 -2
- package/dist/cdn/{KTDDMES6.js → 3JSD5ENF.js} +2 -2
- package/dist/cdn/{D4JRE6O6.js → 3KIJMINY.js} +2 -2
- package/dist/cdn/{V7C7O6ZT.js → 3OMBFJNF.js} +2 -2
- package/dist/cdn/{Y5ED7W4V.js → 3UUACF6X.js} +2 -2
- package/dist/cdn/{PISUPW2Q.js → 466M57MW.js} +2 -2
- package/dist/cdn/{WEZSLWFH.js → 46WDNMQ5.js} +2 -2
- package/dist/cdn/{NPZIQ6CZ.js → 47NVFMCL.js} +2 -2
- package/dist/cdn/{L74Y6XXJ.js → 4AUUN6M3.js} +2 -2
- package/dist/cdn/{3KWQKD5L.js → 4KBGD63F.js} +2 -2
- package/dist/cdn/{W5AWMUG3.js → 4KEA5VXM.js} +2 -2
- package/dist/cdn/{W5SEOIPM.js → 4NFKBP2Y.js} +2 -2
- package/dist/cdn/{U6S5DF5R.js → 4TCK5663.js} +2 -2
- package/dist/cdn/{6XCUHRLZ.js → 4VHKFAHO.js} +2 -2
- package/dist/cdn/{ADKX3UGL.js → 4Z2NKXBH.js} +2 -2
- package/dist/cdn/{DF3GW7MA.js → 5A6C5HJF.js} +2 -2
- package/dist/cdn/{XXPCZ63C.js → 5JRLYHA5.js} +2 -2
- package/dist/cdn/{FG3SZIMZ.js → 5LOBVGTC.js} +2 -2
- package/dist/cdn/{VFBMUZKE.js → 5LY465RD.js} +2 -2
- package/dist/cdn/{AVPFYX2X.js → 5PPSPPE4.js} +2 -2
- package/dist/cdn/{ABHVBVZS.js → 5RJPMFAX.js} +2 -2
- package/dist/cdn/{UH4PWWKC.js → 5SWODWKK.js} +2 -2
- package/dist/cdn/{HMVLRG6N.js → 5ZDRRCVX.js} +2 -2
- package/dist/cdn/{VJKPZFOG.js → 6JTS3JSI.js} +2 -2
- package/dist/cdn/{5SG4N6GE.js → 76F2A3G6.js} +2 -2
- package/dist/cdn/{MOBBQASD.js → 77B27IZL.js} +2 -2
- package/dist/cdn/{Q57S5GZK.js → 7ALPPTWV.js} +2 -2
- package/dist/cdn/{ZQINCP2I.js → 7KEMVB6D.js} +2 -2
- package/dist/cdn/{UOP5AYTN.js → 7QDK5UCB.js} +2 -2
- package/dist/cdn/{DA3XN22P.js → AQH676HI.js} +2 -2
- package/dist/cdn/{D4IQHBLR.js → ARQXL6YB.js} +2 -2
- package/dist/cdn/{JF6G2JM4.js → AZ7LNMVJ.js} +2 -2
- package/dist/cdn/{LETKA2C7.js → B6V6WNUF.js} +2 -2
- package/dist/cdn/{XXYUZWH6.js → BH55J4MT.js} +2 -2
- package/dist/cdn/{3EOG5TRB.js → BRCL77D5.js} +2 -2
- package/dist/cdn/{GKZPNZ7G.js → BRGGOVSK.js} +2 -2
- package/dist/cdn/{SDCHHOZP.js → BX7KUGGI.js} +2 -2
- package/dist/cdn/{63QEHLWE.js → CBAN6HVE.js} +2 -2
- package/dist/cdn/{2ZMQR3F7.js → CC4ZQDZW.js} +2 -2
- package/dist/cdn/{QOVWRVBZ.js → CXLQL74J.js} +2 -2
- package/dist/cdn/{FDI3LPU2.js → D2RJMA2A.js} +1 -1
- package/dist/cdn/{JIKEBM5S.js → D5C7CFHC.js} +2 -2
- package/dist/cdn/{X56UAYNO.js → D6QTPUMG.js} +2 -2
- package/dist/cdn/{NIY7SDAN.js → DAITOHIR.js} +2 -2
- package/dist/cdn/{HFBTRJMO.js → DO36PTX4.js} +2 -2
- package/dist/cdn/{YPZ74U6J.js → EBWVTOME.js} +2 -2
- package/dist/cdn/{2F73LBO5.js → EFIS6OC6.js} +2 -2
- package/dist/cdn/{S4TNRXZS.js → EL3QCPFR.js} +2 -2
- package/dist/cdn/{DJHQF5UE.js → EMHCN4NY.js} +2 -2
- package/dist/cdn/{HWTMY36L.js → EMT3V6B6.js} +1 -1
- package/dist/cdn/{XONTQLAA.js → EOHZ2KI3.js} +2 -2
- package/dist/cdn/{OWER7AE6.js → F3W6MY76.js} +2 -2
- package/dist/cdn/{LQUB2MKQ.js → F7UNLEYX.js} +2 -2
- package/dist/cdn/{EPRFVR3H.js → FD77RU3K.js} +2 -2
- package/dist/cdn/{USSN3LTX.js → FD7CPTSH.js} +2 -2
- package/dist/cdn/{ISHJIEWG.js → FE62LPYC.js} +2 -2
- package/dist/cdn/{PN2MF5DB.js → FGWX25T4.js} +2 -2
- package/dist/cdn/{B52YQRVB.js → FGZEBMDQ.js} +2 -2
- package/dist/cdn/{APK5VC6E.js → FIWSDTHA.js} +2 -2
- package/dist/cdn/{ZR375U4O.js → FJQAT2U3.js} +2 -2
- package/dist/cdn/{K5AQT2NR.js → G3IFDEBE.js} +1 -1
- package/dist/cdn/{WGMYTW5G.js → GELHOJMS.js} +2 -2
- package/dist/cdn/{DYMXW76F.js → GKI7RTS5.js} +15 -15
- package/dist/cdn/{3QCU4GDO.js → GZ7GLLC3.js} +2 -2
- package/dist/cdn/{BLAF4VL7.js → GZGF3UZE.js} +2 -2
- package/dist/cdn/{JQQXD5BS.js → GZJ4AM6F.js} +2 -2
- package/dist/cdn/{62FWPHKO.js → H77Y7UKX.js} +2 -2
- package/dist/cdn/{P42HKXMF.js → HAL45R6G.js} +2 -2
- package/dist/cdn/{QRBKTXMX.js → HBEM4VMC.js} +2 -2
- package/dist/cdn/{C7Y3DRTD.js → HHLZ5YP5.js} +2 -2
- package/dist/cdn/{VIDWKYT3.js → HXV7J4MO.js} +2 -2
- package/dist/cdn/{IQQBZ436.js → I3QOFZJZ.js} +2 -2
- package/dist/cdn/{H2NWYFXL.js → I3VL5YEH.js} +1 -1
- package/dist/cdn/{XDYN6P4E.js → I6QXRCYA.js} +2 -2
- package/dist/cdn/{7LJ2676L.js → IIEDOWR3.js} +2 -2
- package/dist/cdn/{U62ZZURK.js → IKUSNUYD.js} +1 -1
- package/dist/cdn/{NH5SO4JT.js → ITC46D6P.js} +2 -2
- package/dist/cdn/{Y6GRVAPW.js → IY6MCIJJ.js} +2 -2
- package/dist/cdn/{K6XJMQZJ.js → J6IEDADN.js} +2 -2
- package/dist/cdn/{FTHJSRMC.js → JCJJCB4P.js} +2 -2
- package/dist/cdn/{SVCM2IDY.js → JEK6C33M.js} +2 -2
- package/dist/cdn/{X3CF4GFA.js → JH6XDDQI.js} +2 -2
- package/dist/cdn/{2NEXHLGY.js → JJ6MHL6C.js} +2 -2
- package/dist/cdn/{6XDAATGK.js → JTN2HCFE.js} +2 -2
- package/dist/cdn/{R5LXSJDP.js → JU43N2AH.js} +2 -2
- package/dist/cdn/{4POPCNPQ.js → K3J6QHE4.js} +2 -2
- package/dist/cdn/{MLLHKHVN.js → KHHIQ4RU.js} +2 -2
- package/dist/cdn/{3YJNKDMD.js → KJIFTT3I.js} +2 -2
- package/dist/cdn/{7BH5U7UK.js → KJYXJPC7.js} +2 -2
- package/dist/cdn/{S6KHR56H.js → KUSQ6OEN.js} +2 -2
- package/dist/cdn/{4ZUYBQX4.js → LLDTWNBC.js} +2 -2
- package/dist/cdn/{YYMIOKLY.js → LQVFAR5V.js} +2 -2
- package/dist/cdn/{ZNDVQ5ZQ.js → M3PIWLBA.js} +2 -2
- package/dist/cdn/{NPUMWBJX.js → M3UZXOV6.js} +2 -2
- package/dist/cdn/{I65F7PHW.js → MCYAY5XA.js} +2 -2
- package/dist/cdn/{6Q7PXR4H.js → MF42MSX4.js} +2 -2
- package/dist/cdn/{VPQVNS3L.js → MV3E7OWU.js} +2 -2
- package/dist/cdn/{KZTSFI5O.js → MWVASCGF.js} +2 -2
- package/dist/cdn/{OJBCLDIM.js → NFRHSABM.js} +2 -2
- package/dist/cdn/{65VSKQC6.js → NHW5Q37G.js} +2 -2
- package/dist/cdn/{2JO7GEMP.js → NIRDWG6H.js} +2 -2
- package/dist/cdn/{CGO335KE.js → NKEKVIT6.js} +2 -2
- package/dist/cdn/{V247QKAW.js → O3VCJYYC.js} +2 -2
- package/dist/cdn/{UIILLTMN.js → O7SUJQD3.js} +2 -2
- package/dist/cdn/{LR6T734P.js → OECTDGYV.js} +2 -2
- package/dist/cdn/{Y75VIQLY.js → OFYDZ7RG.js} +2 -2
- package/dist/cdn/{NMRYKNYF.js → OOZCCUTF.js} +2 -2
- package/dist/cdn/{URWTWFH3.js → OPEE6AYQ.js} +2 -2
- package/dist/cdn/{3NFR2LXY.js → ORFATONE.js} +2 -2
- package/dist/cdn/{ZVET2YXN.js → OUEDC3JX.js} +2 -2
- package/dist/cdn/{HV6LCE7Q.js → OVDR5T6J.js} +2 -2
- package/dist/cdn/{6M2GFE6X.js → PPW4MFWU.js} +2 -2
- package/dist/cdn/{YQN57GXS.js → PUKEJUOP.js} +2 -2
- package/dist/cdn/{AHHRKTAV.js → QB4ISIX5.js} +2 -2
- package/dist/cdn/{NJY2WJO6.js → QRBWZMGR.js} +2 -2
- package/dist/cdn/{6VUIPP2T.js → R3LKEDYH.js} +2 -2
- package/dist/cdn/{BYJUYHT2.js → R7VWUEIC.js} +2 -2
- package/dist/cdn/{HB2DOHXT.js → RFYS5SSN.js} +2 -2
- package/dist/cdn/{2XSJ3XLR.js → RLCSNCKF.js} +1 -1
- package/dist/cdn/{GNOKA7JN.js → RRKXUQYW.js} +2 -2
- package/dist/cdn/{I6JVTQYN.js → RSGAVDMT.js} +2 -2
- package/dist/cdn/{IMUG2SPY.js → RVHDOR4R.js} +2 -2
- package/dist/cdn/{G3NHXEAX.js → RVKW5B3S.js} +2 -2
- package/dist/cdn/{3X26PYPL.js → S2NU2GBG.js} +2 -2
- package/dist/cdn/{IUNZF4VQ.js → S6WGIDE6.js} +2 -2
- package/dist/cdn/{IKKU4OOV.js → SALSBEZR.js} +2 -2
- package/dist/cdn/{GUJ67MNV.js → SE7DJR6S.js} +2 -2
- package/dist/cdn/{SGAQYRLZ.js → SEFCS2FJ.js} +2 -2
- package/dist/cdn/{VTO4LALQ.js → SGSGOBSV.js} +2 -2
- package/dist/cdn/{72MBTV3F.js → SHBNSSC2.js} +2 -2
- package/dist/cdn/{PZH52DXP.js → SIC6EQ6A.js} +2 -2
- package/dist/cdn/{46NKGNSG.js → T3XXIROO.js} +2 -2
- package/dist/cdn/{FFREIIBE.js → T7BLHQ7U.js} +2 -2
- package/dist/cdn/{XVADDZZ4.js → TAPKF65F.js} +2 -2
- package/dist/cdn/{XWT3B5Z5.js → TE2DMXZG.js} +2 -2
- package/dist/cdn/{TRIBWSTW.js → TNYP6UI7.js} +2 -2
- package/dist/cdn/{GZUTUMGR.js → TS4OZX4M.js} +2 -2
- package/dist/cdn/{OIMHNULE.js → TVC74SL5.js} +4 -4
- package/dist/cdn/{4V33KGC7.js → TYU23FHS.js} +2 -2
- package/dist/cdn/{PSH5FGJI.js → U6T7PS2Y.js} +2 -2
- package/dist/cdn/{QLMD5DOM.js → UCL3RPNM.js} +2 -2
- package/dist/cdn/{FMBZE5QL.js → UEOMJMWA.js} +2 -2
- package/dist/cdn/{CRQ52TTO.js → ULHQZTY5.js} +2 -2
- package/dist/cdn/{PBBYRTXE.js → UN6F2HBV.js} +2 -2
- package/dist/cdn/{4TT5AT6B.js → UPLW4WG4.js} +2 -2
- package/dist/cdn/{NWJXXP5S.js → V35Y37ZT.js} +2 -2
- package/dist/cdn/{KW45IZOZ.js → VFIAGFMT.js} +2 -2
- package/dist/cdn/{EQDGXZEB.js → VR4CXOZO.js} +2 -2
- package/dist/cdn/{JSB6VXAD.js → VTHM3IPG.js} +2 -2
- package/dist/cdn/{KAT5CLIY.js → VW6MSRJD.js} +2 -2
- package/dist/cdn/{PMWJONSN.js → W7ECTUWB.js} +2 -2
- package/dist/cdn/{4CY2R7OF.js → WB2DFSX7.js} +2 -2
- package/dist/cdn/{FCXRJK75.js → WRK3HFXD.js} +2 -2
- package/dist/cdn/{7COG6YNO.js → WU5NNFOM.js} +2 -2
- package/dist/cdn/{4LVFEB5T.js → WX33U4OP.js} +2 -2
- package/dist/cdn/{PT77MGCG.js → X77YJ42P.js} +2 -2
- package/dist/cdn/{QDVZ2XA3.js → XAHI4ANM.js} +2 -2
- package/dist/cdn/{LQIBKL3R.js → XBY2YUQJ.js} +2 -2
- package/dist/cdn/{CYPBANKF.js → XMKFPFD2.js} +2 -2
- package/dist/cdn/{5DIIAD72.js → XNE26UBJ.js} +2 -2
- package/dist/cdn/{VXM43766.js → XUB6R4HL.js} +1 -1
- package/dist/cdn/{KXBAQJQZ.js → XWPTFTGM.js} +2 -2
- package/dist/cdn/{HIGTCBLE.js → XYWSYHPB.js} +2 -2
- package/dist/cdn/{3HAUK4KT.js → Y2BGWNCW.js} +2 -2
- package/dist/cdn/{ATDPFGW3.js → YBD45ZTZ.js} +2 -2
- package/dist/cdn/{YC6NXAFN.js → YF7EPL6V.js} +2 -2
- package/dist/cdn/{3BTPM4MO.js → ZE6O5WEG.js} +2 -2
- package/dist/cdn/{PRCTMICJ.js → ZEZ423JK.js} +2 -2
- package/dist/cdn/{273POVBU.js → ZOXM462B.js} +2 -2
- package/dist/cdn/{H2FGSGMC.js → ZTVJY3AQ.js} +2 -2
- package/dist/cdn/{LCULOIPJ.js → ZVHFRCOE.js} +2 -2
- package/dist/cdn/{HMHAAQPB.js → ZZRGSVOX.js} +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/next/defaults/index.d.ts +4 -1
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +1 -1
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/baseline-stacking.js +1 -1
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +1 -1
- package/dist/chunks/data.js +1 -1
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/heat-chart-model.js +1 -1
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +371 -364
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +1 -1
- package/dist/chunks/model-with-multi-axes.js +1 -1
- package/dist/chunks/model-with-rotation.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +1 -1
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-data.js +1 -1
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/components/arcgis-chart/customElement.d.ts +127 -92
- package/dist/components/arcgis-chart/customElement.js +2060 -2056
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +31 -30
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +147 -247
- package/dist/docs/docs.json +99 -199
- package/dist/docs/vscode.html-custom-data.json +48 -48
- package/dist/docs/web-types.json +116 -116
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/model.js +1 -1
- package/package.json +3 -3
package/dist/chunks/index.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import { W as y, a as I, n as ce, g as ye, t as Ae, d as mr, r as Cl, b as me, m as Le, i as $, e as Ee, S as mn, h as Fl, o as Tl, u as j, j as ht, p as Nt, G as Il } from "./series-types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as ks from "@arcgis/core/core/promiseUtils.js";
|
|
3
3
|
import or from "@arcgis/core/request.js";
|
|
4
|
-
import { fetchT9nStringsBundle as tt, getElementLocale as $e, supportedLocales as
|
|
4
|
+
import { fetchT9nStringsBundle as tt, getElementLocale as $e, supportedLocales as Es } from "@arcgis/toolkit/intl";
|
|
5
5
|
import { g as He } from "./runtime.js";
|
|
6
6
|
import { c as kt, R as re, e as ee, b as li, d as gn, f as ne, j as ve, a as ie, k as Gt } from "./rest-js-object-literals.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as $s from "@arcgis/core/geometry/support/jsonUtils.js";
|
|
8
8
|
import Al from "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
9
9
|
import Ll from "@arcgis/core/rest/support/Query.js";
|
|
10
10
|
import Ol from "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
11
|
-
import
|
|
11
|
+
import Rs from "@arcgis/core/time/TimeExtent.js";
|
|
12
12
|
import Dl from "@arcgis/core/layers/FeatureLayer.js";
|
|
13
13
|
import Bl from "@arcgis/core/layers/support/Field.js";
|
|
14
14
|
import * as Nl from "@arcgis/core/layers/support/fieldUtils.js";
|
|
15
15
|
import Pl from "@arcgis/core/portal/Portal.js";
|
|
16
|
-
import * as
|
|
16
|
+
import * as qs from "@arcgis/core/renderers/support/jsonUtils.js";
|
|
17
17
|
import Ml from "@arcgis/core/rest/support/FeatureSet.js";
|
|
18
18
|
import kl from "fast-memoize";
|
|
19
|
-
import { isArray as bn, cloneDeep as ri, isEmpty as El, isEqual as ot, sortBy as
|
|
19
|
+
import { isArray as bn, cloneDeep as ri, isEmpty as El, isEqual as ot, sortBy as jn, isNil as $l } from "lodash-es";
|
|
20
20
|
import { extent as Gr, mean as Rl, max as ql, min as Vl, sum as Wl, rollup as jl } from "d3-array";
|
|
21
21
|
import _l from "@arcgis/core/Graphic.js";
|
|
22
22
|
import * as Br from "@arcgis/core/symbols/support/symbolUtils.js";
|
|
23
23
|
import { substitute as le } from "@arcgis/core/intl.js";
|
|
24
|
-
import
|
|
24
|
+
import _n from "@arcgis/core/layers/support/FeatureFilter.js";
|
|
25
25
|
import zl from "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
26
|
-
import
|
|
26
|
+
import zn from "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
27
27
|
import { linearRegression as Ul, linearRegressionLine as Gl, rSquared as Hl } from "simple-statistics";
|
|
28
28
|
import Ql from "@arcgis/core/AttributeBinsGraphic.js";
|
|
29
29
|
import Zl from "ajv";
|
|
30
30
|
import { unsafeGetElementDirection as Yl } from "@arcgis/toolkit/dom";
|
|
31
31
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
32
32
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
33
|
-
v5.0.0-next.
|
|
33
|
+
v5.0.0-next.62 */
|
|
34
34
|
const ct = "24.6.0", Ce = "arcgis_charts_pie_from_fields_name", Ue = "arcgis_charts_pie_from_fields_value", Jl = "arcgis_charts_bar_line_from_fields_name", Kl = "arcgis_charts_bar_line_from_fields_value", rt = {
|
|
35
35
|
Mean: "Mean",
|
|
36
36
|
Median: "Median",
|
|
@@ -57,7 +57,7 @@ class td extends Rt {
|
|
|
57
57
|
}
|
|
58
58
|
class Kt extends Rt {
|
|
59
59
|
}
|
|
60
|
-
class
|
|
60
|
+
class Vs extends Rt {
|
|
61
61
|
constructor(e) {
|
|
62
62
|
super(`Invalid unit ${e}`);
|
|
63
63
|
}
|
|
@@ -73,7 +73,7 @@ const B = "numeric", Qe = "short", Oe = "long", lr = {
|
|
|
73
73
|
year: B,
|
|
74
74
|
month: B,
|
|
75
75
|
day: B
|
|
76
|
-
},
|
|
76
|
+
}, Ws = {
|
|
77
77
|
year: B,
|
|
78
78
|
month: Qe,
|
|
79
79
|
day: B
|
|
@@ -82,73 +82,73 @@ const B = "numeric", Qe = "short", Oe = "long", lr = {
|
|
|
82
82
|
month: Qe,
|
|
83
83
|
day: B,
|
|
84
84
|
weekday: Qe
|
|
85
|
-
},
|
|
85
|
+
}, js = {
|
|
86
86
|
year: B,
|
|
87
87
|
month: Oe,
|
|
88
88
|
day: B
|
|
89
|
-
},
|
|
89
|
+
}, _s = {
|
|
90
90
|
year: B,
|
|
91
91
|
month: Oe,
|
|
92
92
|
day: B,
|
|
93
93
|
weekday: Oe
|
|
94
|
-
},
|
|
94
|
+
}, zs = {
|
|
95
95
|
hour: B,
|
|
96
96
|
minute: B
|
|
97
|
-
},
|
|
97
|
+
}, Us = {
|
|
98
98
|
hour: B,
|
|
99
99
|
minute: B,
|
|
100
100
|
second: B
|
|
101
|
-
},
|
|
101
|
+
}, Gs = {
|
|
102
102
|
hour: B,
|
|
103
103
|
minute: B,
|
|
104
104
|
second: B,
|
|
105
105
|
timeZoneName: Qe
|
|
106
|
-
},
|
|
106
|
+
}, Hs = {
|
|
107
107
|
hour: B,
|
|
108
108
|
minute: B,
|
|
109
109
|
second: B,
|
|
110
110
|
timeZoneName: Oe
|
|
111
|
-
},
|
|
111
|
+
}, Qs = {
|
|
112
112
|
hour: B,
|
|
113
113
|
minute: B,
|
|
114
114
|
hourCycle: "h23"
|
|
115
|
-
},
|
|
115
|
+
}, Zs = {
|
|
116
116
|
hour: B,
|
|
117
117
|
minute: B,
|
|
118
118
|
second: B,
|
|
119
119
|
hourCycle: "h23"
|
|
120
|
-
},
|
|
120
|
+
}, Ys = {
|
|
121
121
|
hour: B,
|
|
122
122
|
minute: B,
|
|
123
123
|
second: B,
|
|
124
124
|
hourCycle: "h23",
|
|
125
125
|
timeZoneName: Qe
|
|
126
|
-
},
|
|
126
|
+
}, Js = {
|
|
127
127
|
hour: B,
|
|
128
128
|
minute: B,
|
|
129
129
|
second: B,
|
|
130
130
|
hourCycle: "h23",
|
|
131
131
|
timeZoneName: Oe
|
|
132
|
-
},
|
|
132
|
+
}, Ks = {
|
|
133
133
|
year: B,
|
|
134
134
|
month: B,
|
|
135
135
|
day: B,
|
|
136
136
|
hour: B,
|
|
137
137
|
minute: B
|
|
138
|
-
},
|
|
138
|
+
}, Xs = {
|
|
139
139
|
year: B,
|
|
140
140
|
month: B,
|
|
141
141
|
day: B,
|
|
142
142
|
hour: B,
|
|
143
143
|
minute: B,
|
|
144
144
|
second: B
|
|
145
|
-
},
|
|
145
|
+
}, ea = {
|
|
146
146
|
year: B,
|
|
147
147
|
month: Qe,
|
|
148
148
|
day: B,
|
|
149
149
|
hour: B,
|
|
150
150
|
minute: B
|
|
151
|
-
},
|
|
151
|
+
}, ta = {
|
|
152
152
|
year: B,
|
|
153
153
|
month: Qe,
|
|
154
154
|
day: B,
|
|
@@ -162,14 +162,14 @@ const B = "numeric", Qe = "short", Oe = "long", lr = {
|
|
|
162
162
|
weekday: Qe,
|
|
163
163
|
hour: B,
|
|
164
164
|
minute: B
|
|
165
|
-
},
|
|
165
|
+
}, ia = {
|
|
166
166
|
year: B,
|
|
167
167
|
month: Oe,
|
|
168
168
|
day: B,
|
|
169
169
|
hour: B,
|
|
170
170
|
minute: B,
|
|
171
171
|
timeZoneName: Qe
|
|
172
|
-
},
|
|
172
|
+
}, ra = {
|
|
173
173
|
year: B,
|
|
174
174
|
month: Oe,
|
|
175
175
|
day: B,
|
|
@@ -177,7 +177,7 @@ const B = "numeric", Qe = "short", Oe = "long", lr = {
|
|
|
177
177
|
minute: B,
|
|
178
178
|
second: B,
|
|
179
179
|
timeZoneName: Qe
|
|
180
|
-
},
|
|
180
|
+
}, na = {
|
|
181
181
|
year: B,
|
|
182
182
|
month: Oe,
|
|
183
183
|
day: B,
|
|
@@ -185,7 +185,7 @@ const B = "numeric", Qe = "short", Oe = "long", lr = {
|
|
|
185
185
|
hour: B,
|
|
186
186
|
minute: B,
|
|
187
187
|
timeZoneName: Oe
|
|
188
|
-
},
|
|
188
|
+
}, sa = {
|
|
189
189
|
year: B,
|
|
190
190
|
month: Oe,
|
|
191
191
|
day: B,
|
|
@@ -302,7 +302,7 @@ class gr extends Di {
|
|
|
302
302
|
}
|
|
303
303
|
/** @override **/
|
|
304
304
|
offsetName(e, { format: i, locale: r }) {
|
|
305
|
-
return
|
|
305
|
+
return ma(e, i, r);
|
|
306
306
|
}
|
|
307
307
|
/** @override **/
|
|
308
308
|
formatOffset(e, i) {
|
|
@@ -440,7 +440,7 @@ class lt extends Di {
|
|
|
440
440
|
* @return {string}
|
|
441
441
|
*/
|
|
442
442
|
offsetName(e, { format: i, locale: r }) {
|
|
443
|
-
return
|
|
443
|
+
return ma(e, i, r, this.name);
|
|
444
444
|
}
|
|
445
445
|
/**
|
|
446
446
|
* Returns the offset's value as a string
|
|
@@ -497,11 +497,11 @@ class lt extends Di {
|
|
|
497
497
|
return this.valid;
|
|
498
498
|
}
|
|
499
499
|
}
|
|
500
|
-
let
|
|
500
|
+
let Un = {};
|
|
501
501
|
function ld(t, e = {}) {
|
|
502
502
|
const i = JSON.stringify([t, e]);
|
|
503
|
-
let r =
|
|
504
|
-
return r || (r = new Intl.ListFormat(t, e),
|
|
503
|
+
let r = Un[i];
|
|
504
|
+
return r || (r = new Intl.ListFormat(t, e), Un[i] = r), r;
|
|
505
505
|
}
|
|
506
506
|
const Qr = /* @__PURE__ */ new Map();
|
|
507
507
|
function Zr(t, e = {}) {
|
|
@@ -526,7 +526,7 @@ function ud() {
|
|
|
526
526
|
return mi || (mi = new Intl.DateTimeFormat().resolvedOptions().locale, mi);
|
|
527
527
|
}
|
|
528
528
|
const Kr = /* @__PURE__ */ new Map();
|
|
529
|
-
function
|
|
529
|
+
function aa(t) {
|
|
530
530
|
let e = Kr.get(t);
|
|
531
531
|
return e === void 0 && (e = new Intl.DateTimeFormat(t).resolvedOptions(), Kr.set(t, e)), e;
|
|
532
532
|
}
|
|
@@ -535,7 +535,7 @@ function pd(t) {
|
|
|
535
535
|
let e = Xr.get(t);
|
|
536
536
|
if (!e) {
|
|
537
537
|
const i = new Intl.Locale(t);
|
|
538
|
-
e = "getWeekInfo" in i ? i.getWeekInfo() : i.weekInfo, "minimalDays" in e || (e = { ...
|
|
538
|
+
e = "getWeekInfo" in i ? i.getWeekInfo() : i.weekInfo, "minimalDays" in e || (e = { ...oa, ...e }), Xr.set(t, e);
|
|
539
539
|
}
|
|
540
540
|
return e;
|
|
541
541
|
}
|
|
@@ -581,7 +581,7 @@ function _i(t, e, i, r) {
|
|
|
581
581
|
return n === "error" ? null : n === "en" ? i(e) : r(e);
|
|
582
582
|
}
|
|
583
583
|
function gd(t) {
|
|
584
|
-
return t.numberingSystem && t.numberingSystem !== "latn" ? !1 : t.numberingSystem === "latn" || !t.locale || t.locale.startsWith("en") ||
|
|
584
|
+
return t.numberingSystem && t.numberingSystem !== "latn" ? !1 : t.numberingSystem === "latn" || !t.locale || t.locale.startsWith("en") || aa(t.locale).numberingSystem === "latn";
|
|
585
585
|
}
|
|
586
586
|
class bd {
|
|
587
587
|
constructor(e, i, r) {
|
|
@@ -640,7 +640,7 @@ class Sd {
|
|
|
640
640
|
}
|
|
641
641
|
class vd {
|
|
642
642
|
constructor(e, i, r) {
|
|
643
|
-
this.opts = { style: "long", ...r }, !i &&
|
|
643
|
+
this.opts = { style: "long", ...r }, !i && ha() && (this.rtf = cd(e, r));
|
|
644
644
|
}
|
|
645
645
|
format(e, i) {
|
|
646
646
|
return this.rtf ? this.rtf.format(e, i) : jd(i, e, this.opts.numeric, this.opts.style !== "long");
|
|
@@ -649,7 +649,7 @@ class vd {
|
|
|
649
649
|
return this.rtf ? this.rtf.formatToParts(e, i) : [];
|
|
650
650
|
}
|
|
651
651
|
}
|
|
652
|
-
const
|
|
652
|
+
const oa = {
|
|
653
653
|
firstDay: 1,
|
|
654
654
|
minimalDays: 4,
|
|
655
655
|
weekend: [6, 7]
|
|
@@ -701,7 +701,7 @@ class Y {
|
|
|
701
701
|
return this.clone({ ...e, defaultToEN: !1 });
|
|
702
702
|
}
|
|
703
703
|
months(e, i = !1) {
|
|
704
|
-
return _i(this, e,
|
|
704
|
+
return _i(this, e, Sa, () => {
|
|
705
705
|
const r = this.intl === "ja" || this.intl.startsWith("ja-");
|
|
706
706
|
i &= !r;
|
|
707
707
|
const n = i ? { month: e, day: "numeric" } : { month: e }, s = i ? "format" : "standalone";
|
|
@@ -713,7 +713,7 @@ class Y {
|
|
|
713
713
|
});
|
|
714
714
|
}
|
|
715
715
|
weekdays(e, i = !1) {
|
|
716
|
-
return _i(this, e,
|
|
716
|
+
return _i(this, e, xa, () => {
|
|
717
717
|
const r = i ? { weekday: e, year: "numeric", month: "long", day: "numeric" } : { weekday: e }, n = i ? "format" : "standalone";
|
|
718
718
|
return this.weekdaysCache[n][e] || (this.weekdaysCache[n][e] = md(
|
|
719
719
|
(s) => this.extract(s, r, "weekday")
|
|
@@ -724,7 +724,7 @@ class Y {
|
|
|
724
724
|
return _i(
|
|
725
725
|
this,
|
|
726
726
|
void 0,
|
|
727
|
-
() =>
|
|
727
|
+
() => Ca,
|
|
728
728
|
() => {
|
|
729
729
|
if (!this.meridiemCache) {
|
|
730
730
|
const e = { hour: "numeric", hourCycle: "h12" };
|
|
@@ -737,7 +737,7 @@ class Y {
|
|
|
737
737
|
);
|
|
738
738
|
}
|
|
739
739
|
eras(e) {
|
|
740
|
-
return _i(this, e,
|
|
740
|
+
return _i(this, e, Fa, () => {
|
|
741
741
|
const i = { era: e };
|
|
742
742
|
return this.eraCache[e] || (this.eraCache[e] = [E.utc(-40, 1, 1), E.utc(2017, 1, 1)].map(
|
|
743
743
|
(r) => this.extract(r, i, "era")
|
|
@@ -761,10 +761,10 @@ class Y {
|
|
|
761
761
|
return ld(this.intl, e);
|
|
762
762
|
}
|
|
763
763
|
isEnglish() {
|
|
764
|
-
return this.locale === "en" || this.locale.toLowerCase() === "en-us" ||
|
|
764
|
+
return this.locale === "en" || this.locale.toLowerCase() === "en-us" || aa(this.intl).locale.startsWith("en-us");
|
|
765
765
|
}
|
|
766
766
|
getWeekSettings() {
|
|
767
|
-
return this.weekSettings ? this.weekSettings :
|
|
767
|
+
return this.weekSettings ? this.weekSettings : ya() ? pd(this.locale) : oa;
|
|
768
768
|
}
|
|
769
769
|
getStartOfWeek() {
|
|
770
770
|
return this.getWeekSettings().firstDay;
|
|
@@ -971,7 +971,7 @@ const Sn = {
|
|
|
971
971
|
thai: "[๐-๙]",
|
|
972
972
|
tibt: "[༠-༩]",
|
|
973
973
|
latn: "\\d"
|
|
974
|
-
},
|
|
974
|
+
}, Gn = {
|
|
975
975
|
arab: [1632, 1641],
|
|
976
976
|
arabext: [1776, 1785],
|
|
977
977
|
bali: [6992, 7001],
|
|
@@ -1001,8 +1001,8 @@ function Cd(t) {
|
|
|
1001
1001
|
if (t[i].search(Sn.hanidec) !== -1)
|
|
1002
1002
|
e += xd.indexOf(t[i]);
|
|
1003
1003
|
else
|
|
1004
|
-
for (const n in
|
|
1005
|
-
const [s, a] =
|
|
1004
|
+
for (const n in Gn) {
|
|
1005
|
+
const [s, a] = Gn[n];
|
|
1006
1006
|
r >= s && r <= a && (e += r - s);
|
|
1007
1007
|
}
|
|
1008
1008
|
}
|
|
@@ -1021,14 +1021,14 @@ function je({ numberingSystem: t }, e = "") {
|
|
|
1021
1021
|
let n = r.get(e);
|
|
1022
1022
|
return n === void 0 && (n = new RegExp(`${Sn[i]}${e}`), r.set(e, n)), n;
|
|
1023
1023
|
}
|
|
1024
|
-
let
|
|
1024
|
+
let Hn = () => Date.now(), Qn = "system", Zn = null, Yn = null, Jn = null, Kn = 60, Xn, es = null;
|
|
1025
1025
|
class oe {
|
|
1026
1026
|
/**
|
|
1027
1027
|
* Get the callback for returning the current timestamp.
|
|
1028
1028
|
* @type {function}
|
|
1029
1029
|
*/
|
|
1030
1030
|
static get now() {
|
|
1031
|
-
return
|
|
1031
|
+
return Hn;
|
|
1032
1032
|
}
|
|
1033
1033
|
/**
|
|
1034
1034
|
* Set the callback for returning the current timestamp.
|
|
@@ -1038,7 +1038,7 @@ class oe {
|
|
|
1038
1038
|
* @example Settings.now = () => 0 // always pretend it's Jan 1, 1970 at midnight in UTC time
|
|
1039
1039
|
*/
|
|
1040
1040
|
static set now(e) {
|
|
1041
|
-
|
|
1041
|
+
Hn = e;
|
|
1042
1042
|
}
|
|
1043
1043
|
/**
|
|
1044
1044
|
* Set the default time zone to create DateTimes in. Does not affect existing instances.
|
|
@@ -1046,7 +1046,7 @@ class oe {
|
|
|
1046
1046
|
* @type {string}
|
|
1047
1047
|
*/
|
|
1048
1048
|
static set defaultZone(e) {
|
|
1049
|
-
|
|
1049
|
+
Qn = e;
|
|
1050
1050
|
}
|
|
1051
1051
|
/**
|
|
1052
1052
|
* Get the default time zone object currently used to create DateTimes. Does not affect existing instances.
|
|
@@ -1054,49 +1054,49 @@ class oe {
|
|
|
1054
1054
|
* @type {Zone}
|
|
1055
1055
|
*/
|
|
1056
1056
|
static get defaultZone() {
|
|
1057
|
-
return vt(
|
|
1057
|
+
return vt(Qn, gr.instance);
|
|
1058
1058
|
}
|
|
1059
1059
|
/**
|
|
1060
1060
|
* Get the default locale to create DateTimes with. Does not affect existing instances.
|
|
1061
1061
|
* @type {string}
|
|
1062
1062
|
*/
|
|
1063
1063
|
static get defaultLocale() {
|
|
1064
|
-
return
|
|
1064
|
+
return Zn;
|
|
1065
1065
|
}
|
|
1066
1066
|
/**
|
|
1067
1067
|
* Set the default locale to create DateTimes with. Does not affect existing instances.
|
|
1068
1068
|
* @type {string}
|
|
1069
1069
|
*/
|
|
1070
1070
|
static set defaultLocale(e) {
|
|
1071
|
-
|
|
1071
|
+
Zn = e;
|
|
1072
1072
|
}
|
|
1073
1073
|
/**
|
|
1074
1074
|
* Get the default numbering system to create DateTimes with. Does not affect existing instances.
|
|
1075
1075
|
* @type {string}
|
|
1076
1076
|
*/
|
|
1077
1077
|
static get defaultNumberingSystem() {
|
|
1078
|
-
return
|
|
1078
|
+
return Yn;
|
|
1079
1079
|
}
|
|
1080
1080
|
/**
|
|
1081
1081
|
* Set the default numbering system to create DateTimes with. Does not affect existing instances.
|
|
1082
1082
|
* @type {string}
|
|
1083
1083
|
*/
|
|
1084
1084
|
static set defaultNumberingSystem(e) {
|
|
1085
|
-
|
|
1085
|
+
Yn = e;
|
|
1086
1086
|
}
|
|
1087
1087
|
/**
|
|
1088
1088
|
* Get the default output calendar to create DateTimes with. Does not affect existing instances.
|
|
1089
1089
|
* @type {string}
|
|
1090
1090
|
*/
|
|
1091
1091
|
static get defaultOutputCalendar() {
|
|
1092
|
-
return
|
|
1092
|
+
return Jn;
|
|
1093
1093
|
}
|
|
1094
1094
|
/**
|
|
1095
1095
|
* Set the default output calendar to create DateTimes with. Does not affect existing instances.
|
|
1096
1096
|
* @type {string}
|
|
1097
1097
|
*/
|
|
1098
1098
|
static set defaultOutputCalendar(e) {
|
|
1099
|
-
|
|
1099
|
+
Jn = e;
|
|
1100
1100
|
}
|
|
1101
1101
|
/**
|
|
1102
1102
|
* @typedef {Object} WeekSettings
|
|
@@ -1108,7 +1108,7 @@ class oe {
|
|
|
1108
1108
|
* @return {WeekSettings|null}
|
|
1109
1109
|
*/
|
|
1110
1110
|
static get defaultWeekSettings() {
|
|
1111
|
-
return
|
|
1111
|
+
return es;
|
|
1112
1112
|
}
|
|
1113
1113
|
/**
|
|
1114
1114
|
* Allows overriding the default locale week settings, i.e. the start of the week, the weekend and
|
|
@@ -1118,14 +1118,14 @@ class oe {
|
|
|
1118
1118
|
* @param {WeekSettings|null} weekSettings
|
|
1119
1119
|
*/
|
|
1120
1120
|
static set defaultWeekSettings(e) {
|
|
1121
|
-
|
|
1121
|
+
es = tn(e);
|
|
1122
1122
|
}
|
|
1123
1123
|
/**
|
|
1124
1124
|
* Get the cutoff year for whether a 2-digit year string is interpreted in the current or previous century. Numbers higher than the cutoff will be considered to mean 19xx and numbers lower or equal to the cutoff will be considered 20xx.
|
|
1125
1125
|
* @type {number}
|
|
1126
1126
|
*/
|
|
1127
1127
|
static get twoDigitCutoffYear() {
|
|
1128
|
-
return
|
|
1128
|
+
return Kn;
|
|
1129
1129
|
}
|
|
1130
1130
|
/**
|
|
1131
1131
|
* Set the cutoff year for whether a 2-digit year string is interpreted in the current or previous century. Numbers higher than the cutoff will be considered to mean 19xx and numbers lower or equal to the cutoff will be considered 20xx.
|
|
@@ -1137,21 +1137,21 @@ class oe {
|
|
|
1137
1137
|
* @example Settings.twoDigitCutoffYear = 2050 // ALSO interpreted as 50
|
|
1138
1138
|
*/
|
|
1139
1139
|
static set twoDigitCutoffYear(e) {
|
|
1140
|
-
|
|
1140
|
+
Kn = e % 100;
|
|
1141
1141
|
}
|
|
1142
1142
|
/**
|
|
1143
1143
|
* Get whether Luxon will throw when it encounters invalid DateTimes, Durations, or Intervals
|
|
1144
1144
|
* @type {boolean}
|
|
1145
1145
|
*/
|
|
1146
1146
|
static get throwOnInvalid() {
|
|
1147
|
-
return
|
|
1147
|
+
return Xn;
|
|
1148
1148
|
}
|
|
1149
1149
|
/**
|
|
1150
1150
|
* Set whether Luxon will throw when it encounters invalid DateTimes, Durations, or Intervals
|
|
1151
1151
|
* @type {boolean}
|
|
1152
1152
|
*/
|
|
1153
1153
|
static set throwOnInvalid(e) {
|
|
1154
|
-
|
|
1154
|
+
Xn = e;
|
|
1155
1155
|
}
|
|
1156
1156
|
/**
|
|
1157
1157
|
* Reset Luxon's global caches. Should only be necessary in testing scenarios.
|
|
@@ -1169,7 +1169,7 @@ class Ge {
|
|
|
1169
1169
|
return this.explanation ? `${this.reason}: ${this.explanation}` : this.reason;
|
|
1170
1170
|
}
|
|
1171
1171
|
}
|
|
1172
|
-
const
|
|
1172
|
+
const la = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334], da = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335];
|
|
1173
1173
|
function Me(t, e) {
|
|
1174
1174
|
return new Ge(
|
|
1175
1175
|
"unit out of range",
|
|
@@ -1182,37 +1182,37 @@ function vn(t, e, i) {
|
|
|
1182
1182
|
const n = r.getUTCDay();
|
|
1183
1183
|
return n === 0 ? 7 : n;
|
|
1184
1184
|
}
|
|
1185
|
-
function
|
|
1186
|
-
return i + (Bi(t) ?
|
|
1185
|
+
function ca(t, e, i) {
|
|
1186
|
+
return i + (Bi(t) ? da : la)[e - 1];
|
|
1187
1187
|
}
|
|
1188
|
-
function
|
|
1189
|
-
const i = Bi(t) ?
|
|
1188
|
+
function ua(t, e) {
|
|
1189
|
+
const i = Bi(t) ? da : la, r = i.findIndex((s) => s < e), n = e - i[r];
|
|
1190
1190
|
return { month: r + 1, day: n };
|
|
1191
1191
|
}
|
|
1192
1192
|
function wn(t, e) {
|
|
1193
1193
|
return (t - e + 7) % 7 + 1;
|
|
1194
1194
|
}
|
|
1195
1195
|
function dr(t, e = 4, i = 1) {
|
|
1196
|
-
const { year: r, month: n, day: s } = t, a =
|
|
1196
|
+
const { year: r, month: n, day: s } = t, a = ca(r, n, s), o = wn(vn(r, n, s), i);
|
|
1197
1197
|
let l = Math.floor((a - o + 14 - e) / 7), d;
|
|
1198
1198
|
return l < 1 ? (d = r - 1, l = wi(d, e, i)) : l > wi(r, e, i) ? (d = r + 1, l = 1) : d = r, { weekYear: d, weekNumber: l, weekday: o, ...wr(t) };
|
|
1199
1199
|
}
|
|
1200
|
-
function
|
|
1200
|
+
function ts(t, e = 4, i = 1) {
|
|
1201
1201
|
const { weekYear: r, weekNumber: n, weekday: s } = t, a = wn(vn(r, 1, e), i), o = ei(r);
|
|
1202
1202
|
let l = n * 7 + s - a - 7 + e, d;
|
|
1203
1203
|
l < 1 ? (d = r - 1, l += ei(d)) : l > o ? (d = r + 1, l -= ei(r)) : d = r;
|
|
1204
|
-
const { month: c, day: u } =
|
|
1204
|
+
const { month: c, day: u } = ua(d, l);
|
|
1205
1205
|
return { year: d, month: c, day: u, ...wr(t) };
|
|
1206
1206
|
}
|
|
1207
1207
|
function kr(t) {
|
|
1208
|
-
const { year: e, month: i, day: r } = t, n =
|
|
1208
|
+
const { year: e, month: i, day: r } = t, n = ca(e, i, r);
|
|
1209
1209
|
return { year: e, ordinal: n, ...wr(t) };
|
|
1210
1210
|
}
|
|
1211
|
-
function
|
|
1212
|
-
const { year: e, ordinal: i } = t, { month: r, day: n } =
|
|
1211
|
+
function is(t) {
|
|
1212
|
+
const { year: e, ordinal: i } = t, { month: r, day: n } = ua(e, i);
|
|
1213
1213
|
return { year: e, month: r, day: n, ...wr(t) };
|
|
1214
1214
|
}
|
|
1215
|
-
function
|
|
1215
|
+
function rs(t, e) {
|
|
1216
1216
|
if (!q(t.localWeekday) || !q(t.localWeekNumber) || !q(t.localWeekYear)) {
|
|
1217
1217
|
if (!q(t.weekday) || !q(t.weekNumber) || !q(t.weekYear))
|
|
1218
1218
|
throw new Kt(
|
|
@@ -1237,11 +1237,11 @@ function Id(t) {
|
|
|
1237
1237
|
const e = br(t.year), i = ke(t.ordinal, 1, ei(t.year));
|
|
1238
1238
|
return e ? i ? !1 : Me("ordinal", t.ordinal) : Me("year", t.year);
|
|
1239
1239
|
}
|
|
1240
|
-
function
|
|
1240
|
+
function pa(t) {
|
|
1241
1241
|
const e = br(t.year), i = ke(t.month, 1, 12), r = ke(t.day, 1, cr(t.year, t.month));
|
|
1242
1242
|
return e ? i ? r ? !1 : Me("day", t.day) : Me("month", t.month) : Me("year", t.year);
|
|
1243
1243
|
}
|
|
1244
|
-
function
|
|
1244
|
+
function fa(t) {
|
|
1245
1245
|
const { hour: e, minute: i, second: r, millisecond: n } = t, s = ke(e, 0, 23) || e === 24 && i === 0 && r === 0 && n === 0, a = ke(i, 0, 59), o = ke(r, 0, 59), l = ke(n, 0, 999);
|
|
1246
1246
|
return s ? a ? o ? l ? !1 : Me("millisecond", n) : Me("second", r) : Me("minute", i) : Me("hour", e);
|
|
1247
1247
|
}
|
|
@@ -1260,14 +1260,14 @@ function Ad(t) {
|
|
|
1260
1260
|
function Ld(t) {
|
|
1261
1261
|
return Object.prototype.toString.call(t) === "[object Date]";
|
|
1262
1262
|
}
|
|
1263
|
-
function
|
|
1263
|
+
function ha() {
|
|
1264
1264
|
try {
|
|
1265
1265
|
return typeof Intl < "u" && !!Intl.RelativeTimeFormat;
|
|
1266
1266
|
} catch {
|
|
1267
1267
|
return !1;
|
|
1268
1268
|
}
|
|
1269
1269
|
}
|
|
1270
|
-
function
|
|
1270
|
+
function ya() {
|
|
1271
1271
|
try {
|
|
1272
1272
|
return typeof Intl < "u" && !!Intl.Locale && ("weekInfo" in Intl.Locale.prototype || "getWeekInfo" in Intl.Locale.prototype);
|
|
1273
1273
|
} catch {
|
|
@@ -1277,7 +1277,7 @@ function ha() {
|
|
|
1277
1277
|
function Od(t) {
|
|
1278
1278
|
return Array.isArray(t) ? t : [t];
|
|
1279
1279
|
}
|
|
1280
|
-
function
|
|
1280
|
+
function ns(t, e, i) {
|
|
1281
1281
|
if (t.length !== 0)
|
|
1282
1282
|
return t.reduce((r, n) => {
|
|
1283
1283
|
const s = [e(n), n];
|
|
@@ -1367,17 +1367,17 @@ function Sr(t) {
|
|
|
1367
1367
|
);
|
|
1368
1368
|
return t.year < 100 && t.year >= 0 && (e = new Date(e), e.setUTCFullYear(t.year, t.month - 1, t.day)), +e;
|
|
1369
1369
|
}
|
|
1370
|
-
function
|
|
1370
|
+
function ss(t, e, i) {
|
|
1371
1371
|
return -wn(vn(t, 1, e), i) + e - 1;
|
|
1372
1372
|
}
|
|
1373
1373
|
function wi(t, e = 4, i = 1) {
|
|
1374
|
-
const r =
|
|
1374
|
+
const r = ss(t, e, i), n = ss(t + 1, e, i);
|
|
1375
1375
|
return (ei(t) - r + n) / 7;
|
|
1376
1376
|
}
|
|
1377
1377
|
function rn(t) {
|
|
1378
1378
|
return t > 99 ? t : t > oe.twoDigitCutoffYear ? 1900 + t : 2e3 + t;
|
|
1379
1379
|
}
|
|
1380
|
-
function
|
|
1380
|
+
function ma(t, e, i, r = null) {
|
|
1381
1381
|
const n = new Date(t), s = {
|
|
1382
1382
|
hourCycle: "h23",
|
|
1383
1383
|
year: "numeric",
|
|
@@ -1396,7 +1396,7 @@ function vr(t, e) {
|
|
|
1396
1396
|
const r = parseInt(e, 10) || 0, n = i < 0 || Object.is(i, -0) ? -r : r;
|
|
1397
1397
|
return i * 60 + n;
|
|
1398
1398
|
}
|
|
1399
|
-
function
|
|
1399
|
+
function ga(t) {
|
|
1400
1400
|
const e = Number(t);
|
|
1401
1401
|
if (typeof t == "boolean" || t === "" || !Number.isFinite(e))
|
|
1402
1402
|
throw new be(`Invalid unit value ${t}`);
|
|
@@ -1408,7 +1408,7 @@ function ur(t, e) {
|
|
|
1408
1408
|
if (ni(t, r)) {
|
|
1409
1409
|
const n = t[r];
|
|
1410
1410
|
if (n == null) continue;
|
|
1411
|
-
i[e(r)] =
|
|
1411
|
+
i[e(r)] = ga(n);
|
|
1412
1412
|
}
|
|
1413
1413
|
return i;
|
|
1414
1414
|
}
|
|
@@ -1441,7 +1441,7 @@ const Nd = [
|
|
|
1441
1441
|
"October",
|
|
1442
1442
|
"November",
|
|
1443
1443
|
"December"
|
|
1444
|
-
],
|
|
1444
|
+
], ba = [
|
|
1445
1445
|
"Jan",
|
|
1446
1446
|
"Feb",
|
|
1447
1447
|
"Mar",
|
|
@@ -1455,12 +1455,12 @@ const Nd = [
|
|
|
1455
1455
|
"Nov",
|
|
1456
1456
|
"Dec"
|
|
1457
1457
|
], Pd = ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"];
|
|
1458
|
-
function
|
|
1458
|
+
function Sa(t) {
|
|
1459
1459
|
switch (t) {
|
|
1460
1460
|
case "narrow":
|
|
1461
1461
|
return [...Pd];
|
|
1462
1462
|
case "short":
|
|
1463
|
-
return [...
|
|
1463
|
+
return [...ba];
|
|
1464
1464
|
case "long":
|
|
1465
1465
|
return [...Nd];
|
|
1466
1466
|
case "numeric":
|
|
@@ -1471,7 +1471,7 @@ function ba(t) {
|
|
|
1471
1471
|
return null;
|
|
1472
1472
|
}
|
|
1473
1473
|
}
|
|
1474
|
-
const
|
|
1474
|
+
const va = [
|
|
1475
1475
|
"Monday",
|
|
1476
1476
|
"Tuesday",
|
|
1477
1477
|
"Wednesday",
|
|
@@ -1479,23 +1479,23 @@ const Sa = [
|
|
|
1479
1479
|
"Friday",
|
|
1480
1480
|
"Saturday",
|
|
1481
1481
|
"Sunday"
|
|
1482
|
-
],
|
|
1483
|
-
function
|
|
1482
|
+
], wa = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], Md = ["M", "T", "W", "T", "F", "S", "S"];
|
|
1483
|
+
function xa(t) {
|
|
1484
1484
|
switch (t) {
|
|
1485
1485
|
case "narrow":
|
|
1486
1486
|
return [...Md];
|
|
1487
1487
|
case "short":
|
|
1488
|
-
return [...
|
|
1488
|
+
return [...wa];
|
|
1489
1489
|
case "long":
|
|
1490
|
-
return [...
|
|
1490
|
+
return [...va];
|
|
1491
1491
|
case "numeric":
|
|
1492
1492
|
return ["1", "2", "3", "4", "5", "6", "7"];
|
|
1493
1493
|
default:
|
|
1494
1494
|
return null;
|
|
1495
1495
|
}
|
|
1496
1496
|
}
|
|
1497
|
-
const
|
|
1498
|
-
function
|
|
1497
|
+
const Ca = ["AM", "PM"], kd = ["Before Christ", "Anno Domini"], Ed = ["BC", "AD"], $d = ["B", "A"];
|
|
1498
|
+
function Fa(t) {
|
|
1499
1499
|
switch (t) {
|
|
1500
1500
|
case "narrow":
|
|
1501
1501
|
return [...$d];
|
|
@@ -1508,16 +1508,16 @@ function Ca(t) {
|
|
|
1508
1508
|
}
|
|
1509
1509
|
}
|
|
1510
1510
|
function Rd(t) {
|
|
1511
|
-
return
|
|
1511
|
+
return Ca[t.hour < 12 ? 0 : 1];
|
|
1512
1512
|
}
|
|
1513
1513
|
function qd(t, e) {
|
|
1514
|
-
return
|
|
1514
|
+
return xa(e)[t.weekday - 1];
|
|
1515
1515
|
}
|
|
1516
1516
|
function Vd(t, e) {
|
|
1517
|
-
return
|
|
1517
|
+
return Sa(e)[t.month - 1];
|
|
1518
1518
|
}
|
|
1519
1519
|
function Wd(t, e) {
|
|
1520
|
-
return
|
|
1520
|
+
return Fa(e)[t.year < 0 ? 0 : 1];
|
|
1521
1521
|
}
|
|
1522
1522
|
function jd(t, e, i = "always", r = !1) {
|
|
1523
1523
|
const n = {
|
|
@@ -1544,7 +1544,7 @@ function jd(t, e, i = "always", r = !1) {
|
|
|
1544
1544
|
const a = Object.is(e, -0) || e < 0, o = Math.abs(e), l = o === 1, d = n[t], c = r ? l ? d[1] : d[2] || d[1] : l ? n[t][0] : t;
|
|
1545
1545
|
return a ? `${o} ${c} ago` : `in ${o} ${c}`;
|
|
1546
1546
|
}
|
|
1547
|
-
function
|
|
1547
|
+
function as(t, e) {
|
|
1548
1548
|
let i = "";
|
|
1549
1549
|
for (const r of t)
|
|
1550
1550
|
r.literal ? i += r.val : i += e(r.val);
|
|
@@ -1552,25 +1552,25 @@ function ss(t, e) {
|
|
|
1552
1552
|
}
|
|
1553
1553
|
const _d = {
|
|
1554
1554
|
D: lr,
|
|
1555
|
-
DD:
|
|
1556
|
-
DDD:
|
|
1557
|
-
DDDD:
|
|
1558
|
-
t:
|
|
1559
|
-
tt:
|
|
1560
|
-
ttt:
|
|
1561
|
-
tttt:
|
|
1562
|
-
T:
|
|
1563
|
-
TT:
|
|
1564
|
-
TTT:
|
|
1565
|
-
TTTT:
|
|
1566
|
-
f:
|
|
1567
|
-
ff:
|
|
1568
|
-
fff:
|
|
1569
|
-
ffff:
|
|
1570
|
-
F:
|
|
1571
|
-
FF:
|
|
1572
|
-
FFF:
|
|
1573
|
-
FFFF:
|
|
1555
|
+
DD: Ws,
|
|
1556
|
+
DDD: js,
|
|
1557
|
+
DDDD: _s,
|
|
1558
|
+
t: zs,
|
|
1559
|
+
tt: Us,
|
|
1560
|
+
ttt: Gs,
|
|
1561
|
+
tttt: Hs,
|
|
1562
|
+
T: Qs,
|
|
1563
|
+
TT: Zs,
|
|
1564
|
+
TTT: Ys,
|
|
1565
|
+
TTTT: Js,
|
|
1566
|
+
f: Ks,
|
|
1567
|
+
ff: ea,
|
|
1568
|
+
fff: ia,
|
|
1569
|
+
ffff: na,
|
|
1570
|
+
F: Xs,
|
|
1571
|
+
FF: ta,
|
|
1572
|
+
FFF: ra,
|
|
1573
|
+
FFFF: sa
|
|
1574
1574
|
};
|
|
1575
1575
|
class Se {
|
|
1576
1576
|
static create(e, i = {}) {
|
|
@@ -1768,7 +1768,7 @@ class Se {
|
|
|
1768
1768
|
return c(f);
|
|
1769
1769
|
}
|
|
1770
1770
|
};
|
|
1771
|
-
return
|
|
1771
|
+
return as(Se.parseFormat(i), p);
|
|
1772
1772
|
}
|
|
1773
1773
|
formatDurationFromString(e, i) {
|
|
1774
1774
|
const r = this.opts.signMode === "negativeLargestOnly" ? -1 : 1, n = (c) => {
|
|
@@ -1809,10 +1809,10 @@ class Se {
|
|
|
1809
1809
|
// in order
|
|
1810
1810
|
largestUnit: Object.keys(l.values)[0]
|
|
1811
1811
|
};
|
|
1812
|
-
return
|
|
1812
|
+
return as(a, s(l, d));
|
|
1813
1813
|
}
|
|
1814
1814
|
}
|
|
1815
|
-
const
|
|
1815
|
+
const Ta = /[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;
|
|
1816
1816
|
function di(...t) {
|
|
1817
1817
|
const e = t.reduce((i, r) => i + r.source, "");
|
|
1818
1818
|
return RegExp(`^${e}$`);
|
|
@@ -1836,7 +1836,7 @@ function ui(t, ...e) {
|
|
|
1836
1836
|
}
|
|
1837
1837
|
return [null, null];
|
|
1838
1838
|
}
|
|
1839
|
-
function
|
|
1839
|
+
function Ia(...t) {
|
|
1840
1840
|
return (e, i) => {
|
|
1841
1841
|
const r = {};
|
|
1842
1842
|
let n;
|
|
@@ -1845,9 +1845,9 @@ function Ta(...t) {
|
|
|
1845
1845
|
return [r, null, i + n];
|
|
1846
1846
|
};
|
|
1847
1847
|
}
|
|
1848
|
-
const
|
|
1849
|
-
`${Fn.source} ?(?:${
|
|
1850
|
-
), Jd = RegExp(`(?: ${
|
|
1848
|
+
const Aa = /(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/, zd = `(?:${Aa.source}?(?:\\[(${Ta.source})\\])?)?`, Fn = /(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/, La = RegExp(`${Fn.source}${zd}`), Tn = RegExp(`(?:[Tt]${La.source})?`), Ud = /([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/, Gd = /(\d{4})-?W(\d\d)(?:-?(\d))?/, Hd = /(\d{4})-?(\d{3})/, Qd = Ia("weekYear", "weekNumber", "weekDay"), Zd = Ia("year", "ordinal"), Yd = /(\d{4})-(\d\d)-(\d\d)/, Oa = RegExp(
|
|
1849
|
+
`${Fn.source} ?(?:${Aa.source}|(${Ta.source}))?`
|
|
1850
|
+
), Jd = RegExp(`(?: ${Oa.source})?`);
|
|
1851
1851
|
function ti(t, e, i) {
|
|
1852
1852
|
const r = t[e];
|
|
1853
1853
|
return q(r) ? i : bt(r);
|
|
@@ -1905,12 +1905,12 @@ const ic = {
|
|
|
1905
1905
|
function In(t, e, i, r, n, s, a) {
|
|
1906
1906
|
const o = {
|
|
1907
1907
|
year: e.length === 2 ? rn(bt(e)) : bt(e),
|
|
1908
|
-
month:
|
|
1908
|
+
month: ba.indexOf(i) + 1,
|
|
1909
1909
|
day: bt(r),
|
|
1910
1910
|
hour: bt(n),
|
|
1911
1911
|
minute: bt(s)
|
|
1912
1912
|
};
|
|
1913
|
-
return a && (o.second = bt(a)), t && (o.weekday = t.length > 3 ?
|
|
1913
|
+
return a && (o.second = bt(a)), t && (o.weekday = t.length > 3 ? va.indexOf(t) + 1 : wa.indexOf(t) + 1), o;
|
|
1914
1914
|
}
|
|
1915
1915
|
const rc = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;
|
|
1916
1916
|
function nc(t) {
|
|
@@ -1935,7 +1935,7 @@ function sc(t) {
|
|
|
1935
1935
|
return t.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").trim();
|
|
1936
1936
|
}
|
|
1937
1937
|
const ac = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/, oc = /^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/, lc = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;
|
|
1938
|
-
function
|
|
1938
|
+
function os(t) {
|
|
1939
1939
|
const [, e, i, r, n, s, a, o] = t;
|
|
1940
1940
|
return [In(e, n, r, i, s, a, o), we.utcInstance];
|
|
1941
1941
|
}
|
|
@@ -1943,7 +1943,7 @@ function dc(t) {
|
|
|
1943
1943
|
const [, e, i, r, n, s, a, o] = t;
|
|
1944
1944
|
return [In(e, o, i, r, n, s, a), we.utcInstance];
|
|
1945
1945
|
}
|
|
1946
|
-
const cc = di(Ud, Tn), uc = di(Gd, Tn), pc = di(Hd, Tn), fc = di(
|
|
1946
|
+
const cc = di(Ud, Tn), uc = di(Gd, Tn), pc = di(Hd, Tn), fc = di(La), Da = ci(
|
|
1947
1947
|
Kd,
|
|
1948
1948
|
pi,
|
|
1949
1949
|
Ni,
|
|
@@ -1966,7 +1966,7 @@ const cc = di(Ud, Tn), uc = di(Gd, Tn), pc = di(Hd, Tn), fc = di(Aa), Oa = ci(
|
|
|
1966
1966
|
function gc(t) {
|
|
1967
1967
|
return ui(
|
|
1968
1968
|
t,
|
|
1969
|
-
[cc,
|
|
1969
|
+
[cc, Da],
|
|
1970
1970
|
[uc, hc],
|
|
1971
1971
|
[pc, yc],
|
|
1972
1972
|
[fc, mc]
|
|
@@ -1978,8 +1978,8 @@ function bc(t) {
|
|
|
1978
1978
|
function Sc(t) {
|
|
1979
1979
|
return ui(
|
|
1980
1980
|
t,
|
|
1981
|
-
[ac,
|
|
1982
|
-
[oc,
|
|
1981
|
+
[ac, os],
|
|
1982
|
+
[oc, os],
|
|
1983
1983
|
[lc, dc]
|
|
1984
1984
|
);
|
|
1985
1985
|
}
|
|
@@ -1990,7 +1990,7 @@ const wc = ci(pi);
|
|
|
1990
1990
|
function xc(t) {
|
|
1991
1991
|
return ui(t, [Xd, wc]);
|
|
1992
1992
|
}
|
|
1993
|
-
const Cc = di(Yd, Jd), Fc = di(
|
|
1993
|
+
const Cc = di(Yd, Jd), Fc = di(Oa), Tc = ci(
|
|
1994
1994
|
pi,
|
|
1995
1995
|
Ni,
|
|
1996
1996
|
Pi
|
|
@@ -1998,11 +1998,11 @@ const Cc = di(Yd, Jd), Fc = di(La), Tc = ci(
|
|
|
1998
1998
|
function Ic(t) {
|
|
1999
1999
|
return ui(
|
|
2000
2000
|
t,
|
|
2001
|
-
[Cc,
|
|
2001
|
+
[Cc, Da],
|
|
2002
2002
|
[Fc, Tc]
|
|
2003
2003
|
);
|
|
2004
2004
|
}
|
|
2005
|
-
const
|
|
2005
|
+
const ls = "Invalid Duration", Ba = {
|
|
2006
2006
|
weeks: {
|
|
2007
2007
|
days: 7,
|
|
2008
2008
|
hours: 168,
|
|
@@ -2047,7 +2047,7 @@ const os = "Invalid Duration", Da = {
|
|
|
2047
2047
|
seconds: 720 * 60 * 60,
|
|
2048
2048
|
milliseconds: 720 * 60 * 60 * 1e3
|
|
2049
2049
|
},
|
|
2050
|
-
...
|
|
2050
|
+
...Ba
|
|
2051
2051
|
}, Pe = 146097 / 400, Ht = 146097 / 4800, Lc = {
|
|
2052
2052
|
years: {
|
|
2053
2053
|
quarters: 4,
|
|
@@ -2076,7 +2076,7 @@ const os = "Invalid Duration", Da = {
|
|
|
2076
2076
|
seconds: Ht * 24 * 60 * 60,
|
|
2077
2077
|
milliseconds: Ht * 24 * 60 * 60 * 1e3
|
|
2078
2078
|
},
|
|
2079
|
-
...
|
|
2079
|
+
...Ba
|
|
2080
2080
|
}, Pt = [
|
|
2081
2081
|
"years",
|
|
2082
2082
|
"quarters",
|
|
@@ -2097,14 +2097,14 @@ function it(t, e, i = !1) {
|
|
|
2097
2097
|
};
|
|
2098
2098
|
return new H(r);
|
|
2099
2099
|
}
|
|
2100
|
-
function
|
|
2100
|
+
function Na(t, e) {
|
|
2101
2101
|
let i = e.milliseconds ?? 0;
|
|
2102
2102
|
for (const r of Oc.slice(1))
|
|
2103
2103
|
e[r] && (i += e[r] * t[r].milliseconds);
|
|
2104
2104
|
return i;
|
|
2105
2105
|
}
|
|
2106
|
-
function
|
|
2107
|
-
const i =
|
|
2106
|
+
function ds(t, e) {
|
|
2107
|
+
const i = Na(t, e) < 0 ? -1 : 1;
|
|
2108
2108
|
Pt.reduceRight((r, n) => {
|
|
2109
2109
|
if (q(e[n]))
|
|
2110
2110
|
return r;
|
|
@@ -2123,7 +2123,7 @@ function ls(t, e) {
|
|
|
2123
2123
|
return n;
|
|
2124
2124
|
}, null);
|
|
2125
2125
|
}
|
|
2126
|
-
function
|
|
2126
|
+
function cs(t) {
|
|
2127
2127
|
const e = {};
|
|
2128
2128
|
for (const [i, r] of Object.entries(t))
|
|
2129
2129
|
r !== 0 && (e[i] = r);
|
|
@@ -2279,7 +2279,7 @@ class H {
|
|
|
2279
2279
|
millisecond: "milliseconds",
|
|
2280
2280
|
milliseconds: "milliseconds"
|
|
2281
2281
|
}[e && e.toLowerCase()];
|
|
2282
|
-
if (!i) throw new
|
|
2282
|
+
if (!i) throw new Vs(e);
|
|
2283
2283
|
return i;
|
|
2284
2284
|
}
|
|
2285
2285
|
/**
|
|
@@ -2336,7 +2336,7 @@ class H {
|
|
|
2336
2336
|
...i,
|
|
2337
2337
|
floor: i.round !== !1 && i.floor !== !1
|
|
2338
2338
|
};
|
|
2339
|
-
return this.isValid ? Se.create(this.loc, r).formatDurationFromString(this, e) :
|
|
2339
|
+
return this.isValid ? Se.create(this.loc, r).formatDurationFromString(this, e) : ls;
|
|
2340
2340
|
}
|
|
2341
2341
|
/**
|
|
2342
2342
|
* Returns a string representation of a Duration with all units included.
|
|
@@ -2355,7 +2355,7 @@ class H {
|
|
|
2355
2355
|
* ```
|
|
2356
2356
|
*/
|
|
2357
2357
|
toHuman(e = {}) {
|
|
2358
|
-
if (!this.isValid) return
|
|
2358
|
+
if (!this.isValid) return ls;
|
|
2359
2359
|
const i = e.showZeros !== !1, r = Pt.map((n) => {
|
|
2360
2360
|
const s = this.values[n];
|
|
2361
2361
|
return q(s) || s === 0 && !i ? null : this.loc.numberFormatter({ style: "unit", unitDisplay: "long", ...e, unit: n.slice(0, -1) }).format(s);
|
|
@@ -2439,7 +2439,7 @@ class H {
|
|
|
2439
2439
|
* @return {number}
|
|
2440
2440
|
*/
|
|
2441
2441
|
toMillis() {
|
|
2442
|
-
return this.isValid ?
|
|
2442
|
+
return this.isValid ? Na(this.matrix, this.values) : NaN;
|
|
2443
2443
|
}
|
|
2444
2444
|
/**
|
|
2445
2445
|
* Returns an milliseconds value of this Duration. Alias of {@link toMillis}
|
|
@@ -2481,7 +2481,7 @@ class H {
|
|
|
2481
2481
|
if (!this.isValid) return this;
|
|
2482
2482
|
const i = {};
|
|
2483
2483
|
for (const r of Object.keys(this.values))
|
|
2484
|
-
i[r] =
|
|
2484
|
+
i[r] = ga(e(this.values[r], r));
|
|
2485
2485
|
return it(this, { values: i }, !0);
|
|
2486
2486
|
}
|
|
2487
2487
|
/**
|
|
@@ -2545,7 +2545,7 @@ class H {
|
|
|
2545
2545
|
normalize() {
|
|
2546
2546
|
if (!this.isValid) return this;
|
|
2547
2547
|
const e = this.toObject();
|
|
2548
|
-
return
|
|
2548
|
+
return ds(this.matrix, e), it(this, { values: e }, !0);
|
|
2549
2549
|
}
|
|
2550
2550
|
/**
|
|
2551
2551
|
* Rescale units to its largest representation
|
|
@@ -2554,7 +2554,7 @@ class H {
|
|
|
2554
2554
|
*/
|
|
2555
2555
|
rescale() {
|
|
2556
2556
|
if (!this.isValid) return this;
|
|
2557
|
-
const e =
|
|
2557
|
+
const e = cs(this.normalize().shiftToAll().toObject());
|
|
2558
2558
|
return it(this, { values: e }, !0);
|
|
2559
2559
|
}
|
|
2560
2560
|
/**
|
|
@@ -2581,7 +2581,7 @@ class H {
|
|
|
2581
2581
|
} else wt(n[a]) && (r[a] = n[a]);
|
|
2582
2582
|
for (const a in r)
|
|
2583
2583
|
r[a] !== 0 && (i[s] += a === s ? r[a] : r[a] / this.matrix[s][a]);
|
|
2584
|
-
return
|
|
2584
|
+
return ds(this.matrix, i), it(this, { values: i }, !0);
|
|
2585
2585
|
}
|
|
2586
2586
|
/**
|
|
2587
2587
|
* Shift this Duration to all available units.
|
|
@@ -2619,7 +2619,7 @@ class H {
|
|
|
2619
2619
|
*/
|
|
2620
2620
|
removeZeros() {
|
|
2621
2621
|
if (!this.isValid) return this;
|
|
2622
|
-
const e =
|
|
2622
|
+
const e = cs(this.values);
|
|
2623
2623
|
return it(this, { values: e }, !0);
|
|
2624
2624
|
}
|
|
2625
2625
|
/**
|
|
@@ -3360,10 +3360,10 @@ class zi {
|
|
|
3360
3360
|
* @return {Object}
|
|
3361
3361
|
*/
|
|
3362
3362
|
static features() {
|
|
3363
|
-
return { relative:
|
|
3363
|
+
return { relative: ha(), localeWeek: ya() };
|
|
3364
3364
|
}
|
|
3365
3365
|
}
|
|
3366
|
-
function
|
|
3366
|
+
function us(t, e) {
|
|
3367
3367
|
const i = (n) => n.toUTC(0, { keepLocalTime: !0 }).startOf("day").valueOf(), r = i(e) - i(t);
|
|
3368
3368
|
return Math.floor(H.fromMillis(r).as("days"));
|
|
3369
3369
|
}
|
|
@@ -3375,11 +3375,11 @@ function Bc(t, e, i) {
|
|
|
3375
3375
|
[
|
|
3376
3376
|
"weeks",
|
|
3377
3377
|
(l, d) => {
|
|
3378
|
-
const c =
|
|
3378
|
+
const c = us(l, d);
|
|
3379
3379
|
return (c - c % 7) / 7;
|
|
3380
3380
|
}
|
|
3381
3381
|
],
|
|
3382
|
-
["days",
|
|
3382
|
+
["days", us]
|
|
3383
3383
|
], n = {}, s = t;
|
|
3384
3384
|
let a, o;
|
|
3385
3385
|
for (const [l, d] of r)
|
|
@@ -3399,20 +3399,20 @@ const Pc = "missing Intl.DateTimeFormat.formatToParts support";
|
|
|
3399
3399
|
function Z(t, e = (i) => i) {
|
|
3400
3400
|
return { regex: t, deser: ([i]) => e(Cd(i)) };
|
|
3401
3401
|
}
|
|
3402
|
-
const Mc = " ",
|
|
3402
|
+
const Mc = " ", Pa = `[ ${Mc}]`, Ma = new RegExp(Pa, "g");
|
|
3403
3403
|
function kc(t) {
|
|
3404
|
-
return t.replace(/\./g, "\\.?").replace(
|
|
3404
|
+
return t.replace(/\./g, "\\.?").replace(Ma, Pa);
|
|
3405
3405
|
}
|
|
3406
|
-
function
|
|
3407
|
-
return t.replace(/\./g, "").replace(
|
|
3406
|
+
function ps(t) {
|
|
3407
|
+
return t.replace(/\./g, "").replace(Ma, " ").toLowerCase();
|
|
3408
3408
|
}
|
|
3409
3409
|
function _e(t, e) {
|
|
3410
3410
|
return t === null ? null : {
|
|
3411
3411
|
regex: RegExp(t.map(kc).join("|")),
|
|
3412
|
-
deser: ([i]) => t.findIndex((r) =>
|
|
3412
|
+
deser: ([i]) => t.findIndex((r) => ps(i) === ps(r)) + e
|
|
3413
3413
|
};
|
|
3414
3414
|
}
|
|
3415
|
-
function
|
|
3415
|
+
function fs(t, e) {
|
|
3416
3416
|
return { regex: t, deser: ([, i, r]) => vr(i, r), groups: e };
|
|
3417
3417
|
}
|
|
3418
3418
|
function Ui(t) {
|
|
@@ -3528,9 +3528,9 @@ function $c(t, e) {
|
|
|
3528
3528
|
// offset/zone
|
|
3529
3529
|
case "Z":
|
|
3530
3530
|
case "ZZ":
|
|
3531
|
-
return
|
|
3531
|
+
return fs(new RegExp(`([+-]${o.source})(?::(${r.source}))?`), 2);
|
|
3532
3532
|
case "ZZZ":
|
|
3533
|
-
return
|
|
3533
|
+
return fs(new RegExp(`([+-]${o.source})(${r.source})?`), 2);
|
|
3534
3534
|
// we don't support ZZZZ (PST) or ZZZZZ (Pacific Standard Time) in parsing
|
|
3535
3535
|
// because we don't have any way to figure out what they are
|
|
3536
3536
|
case "z":
|
|
@@ -3672,15 +3672,15 @@ function _c() {
|
|
|
3672
3672
|
function zc(t, e) {
|
|
3673
3673
|
if (t.literal)
|
|
3674
3674
|
return t;
|
|
3675
|
-
const i = Se.macroTokenToFormatOpts(t.val), r =
|
|
3675
|
+
const i = Se.macroTokenToFormatOpts(t.val), r = Ra(i, e);
|
|
3676
3676
|
return r == null || r.includes(void 0) ? t : r;
|
|
3677
3677
|
}
|
|
3678
|
-
function
|
|
3678
|
+
function ka(t, e) {
|
|
3679
3679
|
return Array.prototype.concat(...t.map((i) => zc(i, e)));
|
|
3680
3680
|
}
|
|
3681
|
-
class
|
|
3681
|
+
class Ea {
|
|
3682
3682
|
constructor(e, i) {
|
|
3683
|
-
if (this.locale = e, this.format = i, this.tokens =
|
|
3683
|
+
if (this.locale = e, this.format = i, this.tokens = ka(Se.parseFormat(i), e), this.units = this.tokens.map((r) => $c(r, e)), this.disqualifyingUnit = this.units.find((r) => r.invalidReason), !this.disqualifyingUnit) {
|
|
3684
3684
|
const [r, n] = Vc(this.units);
|
|
3685
3685
|
this.regex = RegExp(r, "i"), this.handlers = n;
|
|
3686
3686
|
}
|
|
@@ -3712,20 +3712,20 @@ class ka {
|
|
|
3712
3712
|
return this.disqualifyingUnit ? this.disqualifyingUnit.invalidReason : null;
|
|
3713
3713
|
}
|
|
3714
3714
|
}
|
|
3715
|
-
function
|
|
3716
|
-
return new
|
|
3715
|
+
function $a(t, e, i) {
|
|
3716
|
+
return new Ea(t, i).explainFromTokens(e);
|
|
3717
3717
|
}
|
|
3718
3718
|
function Uc(t, e, i) {
|
|
3719
|
-
const { result: r, zone: n, specificOffset: s, invalidReason: a } =
|
|
3719
|
+
const { result: r, zone: n, specificOffset: s, invalidReason: a } = $a(t, e, i);
|
|
3720
3720
|
return [r, n, s, a];
|
|
3721
3721
|
}
|
|
3722
|
-
function
|
|
3722
|
+
function Ra(t, e) {
|
|
3723
3723
|
if (!t)
|
|
3724
3724
|
return null;
|
|
3725
3725
|
const r = Se.create(e, t).dtFormatter(_c()), n = r.formatToParts(), s = r.resolvedOptions();
|
|
3726
3726
|
return n.map((a) => qc(a, t, s));
|
|
3727
3727
|
}
|
|
3728
|
-
const $r = "Invalid DateTime",
|
|
3728
|
+
const $r = "Invalid DateTime", hs = 864e13;
|
|
3729
3729
|
function gi(t) {
|
|
3730
3730
|
return new Ge("unsupported zone", `the zone "${t.name}" is not supported`);
|
|
3731
3731
|
}
|
|
@@ -3750,7 +3750,7 @@ function Dt(t, e) {
|
|
|
3750
3750
|
};
|
|
3751
3751
|
return new E({ ...i, ...e, old: i });
|
|
3752
3752
|
}
|
|
3753
|
-
function
|
|
3753
|
+
function qa(t, e, i) {
|
|
3754
3754
|
let r = t - e * 60 * 1e3;
|
|
3755
3755
|
const n = i.offset(r);
|
|
3756
3756
|
if (e === n)
|
|
@@ -3773,9 +3773,9 @@ function Gi(t, e) {
|
|
|
3773
3773
|
};
|
|
3774
3774
|
}
|
|
3775
3775
|
function tr(t, e, i) {
|
|
3776
|
-
return
|
|
3776
|
+
return qa(Sr(t), e, i);
|
|
3777
3777
|
}
|
|
3778
|
-
function
|
|
3778
|
+
function ys(t, e) {
|
|
3779
3779
|
const i = t.o, r = t.c.year + Math.trunc(e.years), n = t.c.month + Math.trunc(e.months) + Math.trunc(e.quarters) * 3, s = {
|
|
3780
3780
|
...t.c,
|
|
3781
3781
|
year: r,
|
|
@@ -3792,7 +3792,7 @@ function hs(t, e) {
|
|
|
3792
3792
|
seconds: e.seconds,
|
|
3793
3793
|
milliseconds: e.milliseconds
|
|
3794
3794
|
}).as("milliseconds"), o = Sr(s);
|
|
3795
|
-
let [l, d] =
|
|
3795
|
+
let [l, d] = qa(o, i, t.zone);
|
|
3796
3796
|
return a !== 0 && (l += a, d = t.zone.offset(l)), { ts: l, o: d };
|
|
3797
3797
|
}
|
|
3798
3798
|
function Zt(t, e, i, r, n, s) {
|
|
@@ -3825,7 +3825,7 @@ function Vr(t, e, i) {
|
|
|
3825
3825
|
} else if (n += pe(t.c.month), i === "month") return n;
|
|
3826
3826
|
return n += pe(t.c.day), n;
|
|
3827
3827
|
}
|
|
3828
|
-
function
|
|
3828
|
+
function ms(t, e, i, r, n, s, a) {
|
|
3829
3829
|
let o = !i || t.c.millisecond !== 0 || t.c.second !== 0, l = "";
|
|
3830
3830
|
switch (a) {
|
|
3831
3831
|
case "day":
|
|
@@ -3846,7 +3846,7 @@ function ys(t, e, i, r, n, s, a) {
|
|
|
3846
3846
|
}
|
|
3847
3847
|
return n && (t.isOffsetFixed && t.offset === 0 && !s ? l += "Z" : t.o < 0 ? (l += "-", l += pe(Math.trunc(-t.o / 60)), l += ":", l += pe(Math.trunc(-t.o % 60))) : (l += "+", l += pe(Math.trunc(t.o / 60)), l += ":", l += pe(Math.trunc(t.o % 60)))), s && (l += "[" + t.zone.ianaName + "]"), l;
|
|
3848
3848
|
}
|
|
3849
|
-
const
|
|
3849
|
+
const Va = {
|
|
3850
3850
|
month: 1,
|
|
3851
3851
|
day: 1,
|
|
3852
3852
|
hour: 0,
|
|
@@ -3902,10 +3902,10 @@ function rr(t) {
|
|
|
3902
3902
|
weekyears: "weekYear",
|
|
3903
3903
|
ordinal: "ordinal"
|
|
3904
3904
|
}[t.toLowerCase()];
|
|
3905
|
-
if (!e) throw new
|
|
3905
|
+
if (!e) throw new Vs(t);
|
|
3906
3906
|
return e;
|
|
3907
3907
|
}
|
|
3908
|
-
function
|
|
3908
|
+
function gs(t) {
|
|
3909
3909
|
switch (t.toLowerCase()) {
|
|
3910
3910
|
case "localweekday":
|
|
3911
3911
|
case "localweekdays":
|
|
@@ -3927,7 +3927,7 @@ function Yc(t) {
|
|
|
3927
3927
|
let i = nn.get(e);
|
|
3928
3928
|
return i === void 0 && (i = t.offset(bi), nn.set(e, i)), i;
|
|
3929
3929
|
}
|
|
3930
|
-
function
|
|
3930
|
+
function bs(t, e) {
|
|
3931
3931
|
const i = vt(e.zone, oe.defaultZone);
|
|
3932
3932
|
if (!i.isValid)
|
|
3933
3933
|
return E.invalid(gi(i));
|
|
@@ -3937,8 +3937,8 @@ function gs(t, e) {
|
|
|
3937
3937
|
n = oe.now();
|
|
3938
3938
|
else {
|
|
3939
3939
|
for (const l of ir)
|
|
3940
|
-
q(t[l]) && (t[l] =
|
|
3941
|
-
const a =
|
|
3940
|
+
q(t[l]) && (t[l] = Va[l]);
|
|
3941
|
+
const a = pa(t) || fa(t);
|
|
3942
3942
|
if (a)
|
|
3943
3943
|
return E.invalid(a);
|
|
3944
3944
|
const o = Yc(i);
|
|
@@ -3946,7 +3946,7 @@ function gs(t, e) {
|
|
|
3946
3946
|
}
|
|
3947
3947
|
return new E({ ts: n, zone: i, loc: r, o: s });
|
|
3948
3948
|
}
|
|
3949
|
-
function
|
|
3949
|
+
function Ss(t, e, i) {
|
|
3950
3950
|
const r = q(i.round) ? !0 : i.round, n = q(i.rounding) ? "trunc" : i.rounding, s = (o, l) => (o = Cn(o, r || i.calendary ? 0 : 2, i.calendary ? "round" : n), e.loc.clone(i).relFormatter(i).format(o, l)), a = (o) => i.calendary ? e.hasSame(t, o) ? 0 : e.startOf(o).diff(t.startOf(o), o).get(o) : e.diff(t, o).get(o);
|
|
3951
3951
|
if (i.unit)
|
|
3952
3952
|
return s(a(i.unit), i.unit);
|
|
@@ -3957,7 +3957,7 @@ function bs(t, e, i) {
|
|
|
3957
3957
|
}
|
|
3958
3958
|
return s(t > e ? -0 : 0, i.units[i.units.length - 1]);
|
|
3959
3959
|
}
|
|
3960
|
-
function
|
|
3960
|
+
function vs(t) {
|
|
3961
3961
|
let e = {}, i;
|
|
3962
3962
|
return t.length > 0 && typeof t[t.length - 1] == "object" ? (e = t[t.length - 1], i = Array.from(t).slice(0, t.length - 1)) : i = Array.from(t), [e, i];
|
|
3963
3963
|
}
|
|
@@ -4014,8 +4014,8 @@ class E {
|
|
|
4014
4014
|
* @return {DateTime}
|
|
4015
4015
|
*/
|
|
4016
4016
|
static local() {
|
|
4017
|
-
const [e, i] =
|
|
4018
|
-
return
|
|
4017
|
+
const [e, i] = vs(arguments), [r, n, s, a, o, l, d] = i;
|
|
4018
|
+
return bs({ year: r, month: n, day: s, hour: a, minute: o, second: l, millisecond: d }, e);
|
|
4019
4019
|
}
|
|
4020
4020
|
/**
|
|
4021
4021
|
* Create a DateTime in UTC
|
|
@@ -4043,8 +4043,8 @@ class E {
|
|
|
4043
4043
|
* @return {DateTime}
|
|
4044
4044
|
*/
|
|
4045
4045
|
static utc() {
|
|
4046
|
-
const [e, i] =
|
|
4047
|
-
return e.zone = we.utcInstance,
|
|
4046
|
+
const [e, i] = vs(arguments), [r, n, s, a, o, l, d] = i;
|
|
4047
|
+
return e.zone = we.utcInstance, bs({ year: r, month: n, day: s, hour: a, minute: o, second: l, millisecond: d }, e);
|
|
4048
4048
|
}
|
|
4049
4049
|
/**
|
|
4050
4050
|
* Create a DateTime from a JavaScript Date object. Uses the default zone.
|
|
@@ -4077,7 +4077,7 @@ class E {
|
|
|
4077
4077
|
*/
|
|
4078
4078
|
static fromMillis(e, i = {}) {
|
|
4079
4079
|
if (wt(e))
|
|
4080
|
-
return e < -
|
|
4080
|
+
return e < -hs || e > hs ? E.invalid("Timestamp out of range") : new E({
|
|
4081
4081
|
ts: e,
|
|
4082
4082
|
zone: vt(i.zone, oe.defaultZone),
|
|
4083
4083
|
loc: Y.fromObject(i)
|
|
@@ -4144,7 +4144,7 @@ class E {
|
|
|
4144
4144
|
const r = vt(i.zone, oe.defaultZone);
|
|
4145
4145
|
if (!r.isValid)
|
|
4146
4146
|
return E.invalid(gi(r));
|
|
4147
|
-
const n = Y.fromObject(i), s = ur(e,
|
|
4147
|
+
const n = Y.fromObject(i), s = ur(e, gs), { minDaysInFirstWeek: a, startOfWeek: o } = rs(s, n), l = oe.now(), d = q(i.specificOffset) ? r.offset(l) : i.specificOffset, c = !q(s.ordinal), u = !q(s.year), p = !q(s.month) || !q(s.day), f = u || p, h = s.weekYear || s.weekNumber;
|
|
4148
4148
|
if ((f || c) && h)
|
|
4149
4149
|
throw new Kt(
|
|
4150
4150
|
"Can't mix weekYear/weekNumber units with year/month/day or ordinals"
|
|
@@ -4153,16 +4153,16 @@ class E {
|
|
|
4153
4153
|
throw new Kt("Can't mix ordinal dates with month/day");
|
|
4154
4154
|
const m = h || s.weekday && !f;
|
|
4155
4155
|
let g, v, S = Gi(l, d);
|
|
4156
|
-
m ? (g = Qc, v = Gc, S = dr(S, a, o)) : c ? (g = Zc, v = Hc, S = kr(S)) : (g = ir, v =
|
|
4156
|
+
m ? (g = Qc, v = Gc, S = dr(S, a, o)) : c ? (g = Zc, v = Hc, S = kr(S)) : (g = ir, v = Va);
|
|
4157
4157
|
let w = !1;
|
|
4158
4158
|
for (const P of g) {
|
|
4159
4159
|
const A = s[P];
|
|
4160
4160
|
q(A) ? w ? s[P] = v[P] : s[P] = S[P] : w = !0;
|
|
4161
4161
|
}
|
|
4162
|
-
const C = m ? Td(s, a, o) : c ? Id(s) :
|
|
4162
|
+
const C = m ? Td(s, a, o) : c ? Id(s) : pa(s), F = C || fa(s);
|
|
4163
4163
|
if (F)
|
|
4164
4164
|
return E.invalid(F);
|
|
4165
|
-
const T = m ?
|
|
4165
|
+
const T = m ? ts(s, a, o) : c ? is(s) : s, [O, N] = tr(T, d, r), D = new E({
|
|
4166
4166
|
ts: O,
|
|
4167
4167
|
zone: r,
|
|
4168
4168
|
o: N,
|
|
@@ -4317,7 +4317,7 @@ class E {
|
|
|
4317
4317
|
* @returns {string}
|
|
4318
4318
|
*/
|
|
4319
4319
|
static parseFormatForOpts(e, i = {}) {
|
|
4320
|
-
const r =
|
|
4320
|
+
const r = Ra(e, Y.fromObject(i));
|
|
4321
4321
|
return r ? r.map((n) => n ? n.val : null).join("") : null;
|
|
4322
4322
|
}
|
|
4323
4323
|
/**
|
|
@@ -4328,7 +4328,7 @@ class E {
|
|
|
4328
4328
|
* @returns {string}
|
|
4329
4329
|
*/
|
|
4330
4330
|
static expandFormat(e, i = {}) {
|
|
4331
|
-
return
|
|
4331
|
+
return ka(Se.parseFormat(e), Y.fromObject(i)).map((n) => n.val).join("");
|
|
4332
4332
|
}
|
|
4333
4333
|
static resetCache() {
|
|
4334
4334
|
bi = void 0, nn.clear();
|
|
@@ -4775,7 +4775,7 @@ class E {
|
|
|
4775
4775
|
*/
|
|
4776
4776
|
set(e) {
|
|
4777
4777
|
if (!this.isValid) return this;
|
|
4778
|
-
const i = ur(e,
|
|
4778
|
+
const i = ur(e, gs), { minDaysInFirstWeek: r, startOfWeek: n } = rs(i, this.loc), s = !q(i.weekYear) || !q(i.weekNumber) || !q(i.weekday), a = !q(i.ordinal), o = !q(i.year), l = !q(i.month) || !q(i.day), d = o || l, c = i.weekYear || i.weekNumber;
|
|
4779
4779
|
if ((d || a) && c)
|
|
4780
4780
|
throw new Kt(
|
|
4781
4781
|
"Can't mix weekYear/weekNumber units with year/month/day or ordinals"
|
|
@@ -4783,11 +4783,11 @@ class E {
|
|
|
4783
4783
|
if (l && a)
|
|
4784
4784
|
throw new Kt("Can't mix ordinal dates with month/day");
|
|
4785
4785
|
let u;
|
|
4786
|
-
s ? u =
|
|
4786
|
+
s ? u = ts(
|
|
4787
4787
|
{ ...dr(this.c, r, n), ...i },
|
|
4788
4788
|
r,
|
|
4789
4789
|
n
|
|
4790
|
-
) : q(i.ordinal) ? (u = { ...this.toObject(), ...i }, q(i.day) && (u.day = Math.min(cr(u.year, u.month), u.day))) : u =
|
|
4790
|
+
) : q(i.ordinal) ? (u = { ...this.toObject(), ...i }, q(i.day) && (u.day = Math.min(cr(u.year, u.month), u.day))) : u = is({ ...kr(this.c), ...i });
|
|
4791
4791
|
const [p, f] = tr(u, this.o, this.zone);
|
|
4792
4792
|
return Dt(this, { ts: p, o: f });
|
|
4793
4793
|
}
|
|
@@ -4807,7 +4807,7 @@ class E {
|
|
|
4807
4807
|
plus(e) {
|
|
4808
4808
|
if (!this.isValid) return this;
|
|
4809
4809
|
const i = H.fromDurationLike(e);
|
|
4810
|
-
return Dt(this,
|
|
4810
|
+
return Dt(this, ys(this, i));
|
|
4811
4811
|
}
|
|
4812
4812
|
/**
|
|
4813
4813
|
* Subtract a period of time to this DateTime and return the resulting DateTime
|
|
@@ -4818,7 +4818,7 @@ class E {
|
|
|
4818
4818
|
minus(e) {
|
|
4819
4819
|
if (!this.isValid) return this;
|
|
4820
4820
|
const i = H.fromDurationLike(e).negate();
|
|
4821
|
-
return Dt(this,
|
|
4821
|
+
return Dt(this, ys(this, i));
|
|
4822
4822
|
}
|
|
4823
4823
|
/**
|
|
4824
4824
|
* "Set" this DateTime to the beginning of a unit of time.
|
|
@@ -4968,7 +4968,7 @@ class E {
|
|
|
4968
4968
|
a = rr(a);
|
|
4969
4969
|
const o = e === "extended";
|
|
4970
4970
|
let l = Vr(this, o, a);
|
|
4971
|
-
return ir.indexOf(a) >= 3 && (l += "T"), l +=
|
|
4971
|
+
return ir.indexOf(a) >= 3 && (l += "T"), l += ms(
|
|
4972
4972
|
this,
|
|
4973
4973
|
o,
|
|
4974
4974
|
i,
|
|
@@ -5025,7 +5025,7 @@ class E {
|
|
|
5025
5025
|
format: a = "extended",
|
|
5026
5026
|
precision: o = "milliseconds"
|
|
5027
5027
|
} = {}) {
|
|
5028
|
-
return this.isValid ? (o = rr(o), (n && ir.indexOf(o) >= 3 ? "T" : "") +
|
|
5028
|
+
return this.isValid ? (o = rr(o), (n && ir.indexOf(o) >= 3 ? "T" : "") + ms(
|
|
5029
5029
|
this,
|
|
5030
5030
|
a === "extended",
|
|
5031
5031
|
i,
|
|
@@ -5259,7 +5259,7 @@ class E {
|
|
|
5259
5259
|
if (!this.isValid) return null;
|
|
5260
5260
|
const i = e.base || E.fromObject({}, { zone: this.zone }), r = e.padding ? this < i ? -e.padding : e.padding : 0;
|
|
5261
5261
|
let n = ["years", "months", "days", "hours", "minutes", "seconds"], s = e.unit;
|
|
5262
|
-
return Array.isArray(e.unit) && (n = e.unit, s = void 0),
|
|
5262
|
+
return Array.isArray(e.unit) && (n = e.unit, s = void 0), Ss(i, this.plus(r), {
|
|
5263
5263
|
...e,
|
|
5264
5264
|
numeric: "always",
|
|
5265
5265
|
units: n,
|
|
@@ -5280,7 +5280,7 @@ class E {
|
|
|
5280
5280
|
* @example DateTime.now().minus({ days: 2 }).toRelativeCalendar() //=> "2 days ago"
|
|
5281
5281
|
*/
|
|
5282
5282
|
toRelativeCalendar(e = {}) {
|
|
5283
|
-
return this.isValid ?
|
|
5283
|
+
return this.isValid ? Ss(e.base || E.fromObject({}, { zone: this.zone }), this, {
|
|
5284
5284
|
...e,
|
|
5285
5285
|
numeric: "auto",
|
|
5286
5286
|
units: ["years", "months", "days"],
|
|
@@ -5295,7 +5295,7 @@ class E {
|
|
|
5295
5295
|
static min(...e) {
|
|
5296
5296
|
if (!e.every(E.isDateTime))
|
|
5297
5297
|
throw new be("min requires all arguments be DateTimes");
|
|
5298
|
-
return
|
|
5298
|
+
return ns(e, (i) => i.valueOf(), Math.min);
|
|
5299
5299
|
}
|
|
5300
5300
|
/**
|
|
5301
5301
|
* Return the max of several date times
|
|
@@ -5305,7 +5305,7 @@ class E {
|
|
|
5305
5305
|
static max(...e) {
|
|
5306
5306
|
if (!e.every(E.isDateTime))
|
|
5307
5307
|
throw new be("max requires all arguments be DateTimes");
|
|
5308
|
-
return
|
|
5308
|
+
return ns(e, (i) => i.valueOf(), Math.max);
|
|
5309
5309
|
}
|
|
5310
5310
|
// MISC
|
|
5311
5311
|
/**
|
|
@@ -5321,7 +5321,7 @@ class E {
|
|
|
5321
5321
|
numberingSystem: s,
|
|
5322
5322
|
defaultToEN: !0
|
|
5323
5323
|
});
|
|
5324
|
-
return
|
|
5324
|
+
return $a(a, e, i);
|
|
5325
5325
|
}
|
|
5326
5326
|
/**
|
|
5327
5327
|
* @deprecated use fromFormatExplain instead
|
|
@@ -5347,7 +5347,7 @@ class E {
|
|
|
5347
5347
|
numberingSystem: n,
|
|
5348
5348
|
defaultToEN: !0
|
|
5349
5349
|
});
|
|
5350
|
-
return new
|
|
5350
|
+
return new Ea(s, e);
|
|
5351
5351
|
}
|
|
5352
5352
|
/**
|
|
5353
5353
|
* Create a DateTime from an input string and format parser.
|
|
@@ -5396,7 +5396,7 @@ class E {
|
|
|
5396
5396
|
* @type {Object}
|
|
5397
5397
|
*/
|
|
5398
5398
|
static get DATE_MED() {
|
|
5399
|
-
return
|
|
5399
|
+
return Ws;
|
|
5400
5400
|
}
|
|
5401
5401
|
/**
|
|
5402
5402
|
* {@link DateTime#toLocaleString} format like 'Fri, Oct 14, 1983'
|
|
@@ -5410,98 +5410,98 @@ class E {
|
|
|
5410
5410
|
* @type {Object}
|
|
5411
5411
|
*/
|
|
5412
5412
|
static get DATE_FULL() {
|
|
5413
|
-
return
|
|
5413
|
+
return js;
|
|
5414
5414
|
}
|
|
5415
5415
|
/**
|
|
5416
5416
|
* {@link DateTime#toLocaleString} format like 'Tuesday, October 14, 1983'
|
|
5417
5417
|
* @type {Object}
|
|
5418
5418
|
*/
|
|
5419
5419
|
static get DATE_HUGE() {
|
|
5420
|
-
return
|
|
5420
|
+
return _s;
|
|
5421
5421
|
}
|
|
5422
5422
|
/**
|
|
5423
5423
|
* {@link DateTime#toLocaleString} format like '09:30 AM'. Only 12-hour if the locale is.
|
|
5424
5424
|
* @type {Object}
|
|
5425
5425
|
*/
|
|
5426
5426
|
static get TIME_SIMPLE() {
|
|
5427
|
-
return
|
|
5427
|
+
return zs;
|
|
5428
5428
|
}
|
|
5429
5429
|
/**
|
|
5430
5430
|
* {@link DateTime#toLocaleString} format like '09:30:23 AM'. Only 12-hour if the locale is.
|
|
5431
5431
|
* @type {Object}
|
|
5432
5432
|
*/
|
|
5433
5433
|
static get TIME_WITH_SECONDS() {
|
|
5434
|
-
return
|
|
5434
|
+
return Us;
|
|
5435
5435
|
}
|
|
5436
5436
|
/**
|
|
5437
5437
|
* {@link DateTime#toLocaleString} format like '09:30:23 AM EDT'. Only 12-hour if the locale is.
|
|
5438
5438
|
* @type {Object}
|
|
5439
5439
|
*/
|
|
5440
5440
|
static get TIME_WITH_SHORT_OFFSET() {
|
|
5441
|
-
return
|
|
5441
|
+
return Gs;
|
|
5442
5442
|
}
|
|
5443
5443
|
/**
|
|
5444
5444
|
* {@link DateTime#toLocaleString} format like '09:30:23 AM Eastern Daylight Time'. Only 12-hour if the locale is.
|
|
5445
5445
|
* @type {Object}
|
|
5446
5446
|
*/
|
|
5447
5447
|
static get TIME_WITH_LONG_OFFSET() {
|
|
5448
|
-
return
|
|
5448
|
+
return Hs;
|
|
5449
5449
|
}
|
|
5450
5450
|
/**
|
|
5451
5451
|
* {@link DateTime#toLocaleString} format like '09:30', always 24-hour.
|
|
5452
5452
|
* @type {Object}
|
|
5453
5453
|
*/
|
|
5454
5454
|
static get TIME_24_SIMPLE() {
|
|
5455
|
-
return
|
|
5455
|
+
return Qs;
|
|
5456
5456
|
}
|
|
5457
5457
|
/**
|
|
5458
5458
|
* {@link DateTime#toLocaleString} format like '09:30:23', always 24-hour.
|
|
5459
5459
|
* @type {Object}
|
|
5460
5460
|
*/
|
|
5461
5461
|
static get TIME_24_WITH_SECONDS() {
|
|
5462
|
-
return
|
|
5462
|
+
return Zs;
|
|
5463
5463
|
}
|
|
5464
5464
|
/**
|
|
5465
5465
|
* {@link DateTime#toLocaleString} format like '09:30:23 EDT', always 24-hour.
|
|
5466
5466
|
* @type {Object}
|
|
5467
5467
|
*/
|
|
5468
5468
|
static get TIME_24_WITH_SHORT_OFFSET() {
|
|
5469
|
-
return
|
|
5469
|
+
return Ys;
|
|
5470
5470
|
}
|
|
5471
5471
|
/**
|
|
5472
5472
|
* {@link DateTime#toLocaleString} format like '09:30:23 Eastern Daylight Time', always 24-hour.
|
|
5473
5473
|
* @type {Object}
|
|
5474
5474
|
*/
|
|
5475
5475
|
static get TIME_24_WITH_LONG_OFFSET() {
|
|
5476
|
-
return
|
|
5476
|
+
return Js;
|
|
5477
5477
|
}
|
|
5478
5478
|
/**
|
|
5479
5479
|
* {@link DateTime#toLocaleString} format like '10/14/1983, 9:30 AM'. Only 12-hour if the locale is.
|
|
5480
5480
|
* @type {Object}
|
|
5481
5481
|
*/
|
|
5482
5482
|
static get DATETIME_SHORT() {
|
|
5483
|
-
return
|
|
5483
|
+
return Ks;
|
|
5484
5484
|
}
|
|
5485
5485
|
/**
|
|
5486
5486
|
* {@link DateTime#toLocaleString} format like '10/14/1983, 9:30:33 AM'. Only 12-hour if the locale is.
|
|
5487
5487
|
* @type {Object}
|
|
5488
5488
|
*/
|
|
5489
5489
|
static get DATETIME_SHORT_WITH_SECONDS() {
|
|
5490
|
-
return
|
|
5490
|
+
return Xs;
|
|
5491
5491
|
}
|
|
5492
5492
|
/**
|
|
5493
5493
|
* {@link DateTime#toLocaleString} format like 'Oct 14, 1983, 9:30 AM'. Only 12-hour if the locale is.
|
|
5494
5494
|
* @type {Object}
|
|
5495
5495
|
*/
|
|
5496
5496
|
static get DATETIME_MED() {
|
|
5497
|
-
return
|
|
5497
|
+
return ea;
|
|
5498
5498
|
}
|
|
5499
5499
|
/**
|
|
5500
5500
|
* {@link DateTime#toLocaleString} format like 'Oct 14, 1983, 9:30:33 AM'. Only 12-hour if the locale is.
|
|
5501
5501
|
* @type {Object}
|
|
5502
5502
|
*/
|
|
5503
5503
|
static get DATETIME_MED_WITH_SECONDS() {
|
|
5504
|
-
return
|
|
5504
|
+
return ta;
|
|
5505
5505
|
}
|
|
5506
5506
|
/**
|
|
5507
5507
|
* {@link DateTime#toLocaleString} format like 'Fri, 14 Oct 1983, 9:30 AM'. Only 12-hour if the locale is.
|
|
@@ -5515,28 +5515,28 @@ class E {
|
|
|
5515
5515
|
* @type {Object}
|
|
5516
5516
|
*/
|
|
5517
5517
|
static get DATETIME_FULL() {
|
|
5518
|
-
return
|
|
5518
|
+
return ia;
|
|
5519
5519
|
}
|
|
5520
5520
|
/**
|
|
5521
5521
|
* {@link DateTime#toLocaleString} format like 'October 14, 1983, 9:30:33 AM EDT'. Only 12-hour if the locale is.
|
|
5522
5522
|
* @type {Object}
|
|
5523
5523
|
*/
|
|
5524
5524
|
static get DATETIME_FULL_WITH_SECONDS() {
|
|
5525
|
-
return
|
|
5525
|
+
return ra;
|
|
5526
5526
|
}
|
|
5527
5527
|
/**
|
|
5528
5528
|
* {@link DateTime#toLocaleString} format like 'Friday, October 14, 1983, 9:30 AM Eastern Daylight Time'. Only 12-hour if the locale is.
|
|
5529
5529
|
* @type {Object}
|
|
5530
5530
|
*/
|
|
5531
5531
|
static get DATETIME_HUGE() {
|
|
5532
|
-
return
|
|
5532
|
+
return na;
|
|
5533
5533
|
}
|
|
5534
5534
|
/**
|
|
5535
5535
|
* {@link DateTime#toLocaleString} format like 'Friday, October 14, 1983, 9:30:33 AM Eastern Daylight Time'. Only 12-hour if the locale is.
|
|
5536
5536
|
* @type {Object}
|
|
5537
5537
|
*/
|
|
5538
5538
|
static get DATETIME_HUGE_WITH_SECONDS() {
|
|
5539
|
-
return
|
|
5539
|
+
return sa;
|
|
5540
5540
|
}
|
|
5541
5541
|
}
|
|
5542
5542
|
function hi(t) {
|
|
@@ -5550,7 +5550,7 @@ function hi(t) {
|
|
|
5550
5550
|
`Unknown datetime argument: ${t}, of type ${typeof t}`
|
|
5551
5551
|
);
|
|
5552
5552
|
}
|
|
5553
|
-
const
|
|
5553
|
+
const ws = {
|
|
5554
5554
|
Count: "count",
|
|
5555
5555
|
Start: "minValue",
|
|
5556
5556
|
End: "maxValue"
|
|
@@ -5685,7 +5685,7 @@ const ou = {
|
|
|
5685
5685
|
outStatisticFieldName: "arcgis_charts_outStatisticFieldName_default_key"
|
|
5686
5686
|
},
|
|
5687
5687
|
uniqueIdsName: "arcgisChartsUniqueIds"
|
|
5688
|
-
},
|
|
5688
|
+
}, Wa = ["EXPR_1", "Expr1", "expr1", "EXPR1"], Jm = 1, Te = 0.7, du = 25, ja = [156, 156, 156, 255], cu = [156, 156, 156, 255], Km = kt.Solid, Xm = 2, xi = {
|
|
5689
5689
|
defaultGroupOfSlicesId: "arcgis_charts_group_of_slices",
|
|
5690
5690
|
sliceIdPrefix: "arcgis-charts-slice-id",
|
|
5691
5691
|
undefinedSliceId: "arcgis-charts-slice-id-undefined",
|
|
@@ -5716,7 +5716,7 @@ function Re(t) {
|
|
|
5716
5716
|
const { colorIndex: e, opacity: i, histogramOverlays: r } = t, n = Math.max(0, e ?? 0), s = [...r === !0 ? pu : uu], [a, o, l, d] = s[n % s.length], c = i !== void 0 ? i * 255 : d;
|
|
5717
5717
|
return [a, o, l, c];
|
|
5718
5718
|
}
|
|
5719
|
-
function
|
|
5719
|
+
function _a(t) {
|
|
5720
5720
|
return [0, 0, 0, (t ?? Te) * 255];
|
|
5721
5721
|
}
|
|
5722
5722
|
function eg() {
|
|
@@ -5764,11 +5764,11 @@ function J(t) {
|
|
|
5764
5764
|
}
|
|
5765
5765
|
return e;
|
|
5766
5766
|
}
|
|
5767
|
-
function
|
|
5767
|
+
function za(t = "", e = J(), i) {
|
|
5768
5768
|
let r = ee.Center;
|
|
5769
5769
|
return (i === _.DataLabels || i === _.GuideLabel) && (r = void 0), {
|
|
5770
5770
|
type: re.TS,
|
|
5771
|
-
color:
|
|
5771
|
+
color: _a(),
|
|
5772
5772
|
text: t,
|
|
5773
5773
|
font: e,
|
|
5774
5774
|
horizontalAlignment: r
|
|
@@ -5783,12 +5783,12 @@ function G(t) {
|
|
|
5783
5783
|
return {
|
|
5784
5784
|
type: y.Text,
|
|
5785
5785
|
visible: i,
|
|
5786
|
-
content:
|
|
5786
|
+
content: za(e, r, n)
|
|
5787
5787
|
};
|
|
5788
5788
|
}
|
|
5789
5789
|
function Mi(t) {
|
|
5790
5790
|
const e = t?.useRandomColor ?? !1, i = t?.useRampColor, r = t?.width ?? 1, n = t?.isHistogramOverlay;
|
|
5791
|
-
let s = t?.color ??
|
|
5791
|
+
let s = t?.color ?? _a(1);
|
|
5792
5792
|
return e ? s = xr() : i !== void 0 && (n === !0 ? s = Re({
|
|
5793
5793
|
colorIndex: i.colorIndex,
|
|
5794
5794
|
histogramOverlays: n
|
|
@@ -5860,7 +5860,7 @@ function Wr(t = "Category Axis") {
|
|
|
5860
5860
|
title: e,
|
|
5861
5861
|
labels: i,
|
|
5862
5862
|
valueFormat: fu(),
|
|
5863
|
-
lineSymbol: Mi({ color:
|
|
5863
|
+
lineSymbol: Mi({ color: ja })
|
|
5864
5864
|
};
|
|
5865
5865
|
}
|
|
5866
5866
|
function nr(t = "Value Axis") {
|
|
@@ -5879,7 +5879,7 @@ function nr(t = "Value Axis") {
|
|
|
5879
5879
|
title: e,
|
|
5880
5880
|
labels: i,
|
|
5881
5881
|
valueFormat: sn(),
|
|
5882
|
-
lineSymbol: Mi({ color:
|
|
5882
|
+
lineSymbol: Mi({ color: ja })
|
|
5883
5883
|
};
|
|
5884
5884
|
}
|
|
5885
5885
|
function Tt() {
|
|
@@ -5891,7 +5891,7 @@ function Tt() {
|
|
|
5891
5891
|
visible: !0,
|
|
5892
5892
|
font: J(_.LegendTitle)
|
|
5893
5893
|
}),
|
|
5894
|
-
body:
|
|
5894
|
+
body: za("", J(_.LegendText)),
|
|
5895
5895
|
position: mr.Right,
|
|
5896
5896
|
maxHeight: Number.NaN
|
|
5897
5897
|
};
|
|
@@ -7131,7 +7131,7 @@ const Du = 0, Bu = "_arcgis_charts_outliers", Nu = "_arcgis_charts_z_score", Cg
|
|
|
7131
7131
|
}
|
|
7132
7132
|
}
|
|
7133
7133
|
}
|
|
7134
|
-
},
|
|
7134
|
+
}, An = {
|
|
7135
7135
|
...x,
|
|
7136
7136
|
chartPadding: 5,
|
|
7137
7137
|
footerContainer: { ...x.footerContainer, paddingTop: 0, paddingBottom: 0 },
|
|
@@ -7190,7 +7190,10 @@ const Du = 0, Bu = "_arcgis_charts_outliers", Nu = "_arcgis_charts_z_score", Cg
|
|
|
7190
7190
|
position: mr.Bottom,
|
|
7191
7191
|
chartPadding: 40,
|
|
7192
7192
|
legendPadding: 20,
|
|
7193
|
-
|
|
7193
|
+
width: 70,
|
|
7194
|
+
bottomHeight: 20,
|
|
7195
|
+
topHeight: 50,
|
|
7196
|
+
chartTitleContainerMargin: -25
|
|
7194
7197
|
},
|
|
7195
7198
|
emptyCells: {
|
|
7196
7199
|
symbol: {
|
|
@@ -7449,7 +7452,7 @@ function Hu(t) {
|
|
|
7449
7452
|
// TODO: find a better way to copy the layer. For now it's all right as the information we need are not lost with the spread operator
|
|
7450
7453
|
// eslint-disable-next-line @typescript-eslint/no-misused-spread
|
|
7451
7454
|
...Q(i),
|
|
7452
|
-
renderer:
|
|
7455
|
+
renderer: qs.fromJSON(e)
|
|
7453
7456
|
} : Q(i);
|
|
7454
7457
|
return new _l({
|
|
7455
7458
|
layer: r
|
|
@@ -7510,7 +7513,7 @@ async function Qu(t) {
|
|
|
7510
7513
|
const v = r?.uniqueValueInfos;
|
|
7511
7514
|
for (let S = 0; S < m.length; S += 1) {
|
|
7512
7515
|
const [w, C] = m[S];
|
|
7513
|
-
if (
|
|
7516
|
+
if (xs({
|
|
7514
7517
|
mode: "encode",
|
|
7515
7518
|
x: f,
|
|
7516
7519
|
splitByField: o,
|
|
@@ -7527,7 +7530,7 @@ async function Qu(t) {
|
|
|
7527
7530
|
}
|
|
7528
7531
|
c?.set(JSON.stringify(C), u);
|
|
7529
7532
|
}
|
|
7530
|
-
|
|
7533
|
+
xs({
|
|
7531
7534
|
mode: "revert",
|
|
7532
7535
|
x: f,
|
|
7533
7536
|
splitByField: o,
|
|
@@ -7551,7 +7554,7 @@ function Zu(t) {
|
|
|
7551
7554
|
return { ...i, value: r };
|
|
7552
7555
|
})), e;
|
|
7553
7556
|
}
|
|
7554
|
-
function
|
|
7557
|
+
function xs(t) {
|
|
7555
7558
|
const { splitByField: e, attributes: i, x: r, mode: n } = t;
|
|
7556
7559
|
[r, e ?? ""].forEach((s) => {
|
|
7557
7560
|
i[s] === (n === "encode" ? null : x.nullValue) && (i[s] = n === "encode" ? x.nullValue : null);
|
|
@@ -7671,7 +7674,7 @@ function Ti(t) {
|
|
|
7671
7674
|
const { originalCategoryValue: d, originalDateValue: c, typeOrDomainIdValue: u } = x;
|
|
7672
7675
|
if (i !== void 0) {
|
|
7673
7676
|
const p = a ? _u(i) : void 0;
|
|
7674
|
-
r !== void 0 && i[r] !== void 0 ? l = i[r] : p !== void 0 ? l = p : n === !1 && i[u] !== void 0 ? l = i[u] : i[c] !== void 0 ? l = i[c] : i[d] !== void 0 ? l = i[d] : i[Ce] !== void 0 && (l = i[Ce]), !s && l === null && (l = "null", o?.series?.[0].type === y.BarSeries && (l = o.series?.[0]?.nullCategory?.text ??
|
|
7677
|
+
r !== void 0 && i[r] !== void 0 ? l = i[r] : p !== void 0 ? l = p : n === !1 && i[u] !== void 0 ? l = i[u] : i[c] !== void 0 ? l = i[c] : i[d] !== void 0 ? l = i[d] : i[Ce] !== void 0 && (l = i[Ce]), !s && l === null && (l = "null", o?.series?.[0].type === y.BarSeries && (l = o.series?.[0]?.nullCategory?.text ?? An.nullCategory?.text ?? l));
|
|
7675
7678
|
}
|
|
7676
7679
|
return l;
|
|
7677
7680
|
}
|
|
@@ -7747,7 +7750,7 @@ function rp(t, e) {
|
|
|
7747
7750
|
}
|
|
7748
7751
|
return r;
|
|
7749
7752
|
}
|
|
7750
|
-
function
|
|
7753
|
+
function Cs(t) {
|
|
7751
7754
|
const e = { ...t };
|
|
7752
7755
|
delete e[x.technicalSortingFieldBySum], delete e[x.technicalSortingFieldByPercent], delete e[x.pieChart.technicalFieldSlicePercent], delete e[x.pieChart.technicalFieldGroupedSlices], delete e[x.typeOrDomainFieldName], delete e[x.lastTemporalBin], delete e[x.originalServerBinningRange], delete e[x.technicalFieldSplitByField], delete e[ue.uniqueIdsName], Object.keys(e).filter(
|
|
7753
7756
|
(n) => n.includes(x.rendererSymbolField)
|
|
@@ -7767,7 +7770,7 @@ function np(t, e) {
|
|
|
7767
7770
|
case y.RadarSeries:
|
|
7768
7771
|
case y.PieSeries:
|
|
7769
7772
|
{
|
|
7770
|
-
n = n.map(
|
|
7773
|
+
n = n.map(Cs), i = { dataItems: n };
|
|
7771
7774
|
const { timeIntervalInfo: s, serverLimitReached: a } = t ?? {};
|
|
7772
7775
|
El(s) || (i.timeIntervalInfo = s), a !== void 0 && (i.serverLimitReached = a);
|
|
7773
7776
|
}
|
|
@@ -7775,7 +7778,7 @@ function np(t, e) {
|
|
|
7775
7778
|
case y.ScatterSeries:
|
|
7776
7779
|
i = {
|
|
7777
7780
|
...i,
|
|
7778
|
-
dataItems: n.map(
|
|
7781
|
+
dataItems: n.map(Cs)
|
|
7779
7782
|
};
|
|
7780
7783
|
break;
|
|
7781
7784
|
}
|
|
@@ -7933,7 +7936,7 @@ function Za(t, e) {
|
|
|
7933
7936
|
}
|
|
7934
7937
|
return (w === b.BarAndLineNoAggregation || w === b.BarAndLineMultiFields) && i !== void 0 && (i = Math.ceil(i / S)), i;
|
|
7935
7938
|
}
|
|
7936
|
-
function
|
|
7939
|
+
function Fs(t, e) {
|
|
7937
7940
|
let i = t;
|
|
7938
7941
|
if (Number.isFinite(t)) {
|
|
7939
7942
|
const { factor: r, offset: n } = e ?? {};
|
|
@@ -8070,7 +8073,7 @@ function mp(t, e) {
|
|
|
8070
8073
|
return yi.trim(a);
|
|
8071
8074
|
}
|
|
8072
8075
|
var gp = mp, Ji = Wt, bp = gp;
|
|
8073
|
-
function
|
|
8076
|
+
function Ts(t) {
|
|
8074
8077
|
return t == null;
|
|
8075
8078
|
}
|
|
8076
8079
|
function Sp(t) {
|
|
@@ -8095,10 +8098,10 @@ Ja.prototype.process = function(t) {
|
|
|
8095
8098
|
};
|
|
8096
8099
|
if (h) {
|
|
8097
8100
|
var g = n(c, u, m);
|
|
8098
|
-
return
|
|
8101
|
+
return Ts(g) ? c + ":" + u : g;
|
|
8099
8102
|
} else {
|
|
8100
8103
|
var g = s(c, u, m);
|
|
8101
|
-
if (!
|
|
8104
|
+
if (!Ts(g))
|
|
8102
8105
|
return g;
|
|
8103
8106
|
}
|
|
8104
8107
|
}
|
|
@@ -8115,7 +8118,7 @@ var vp = Ja;
|
|
|
8115
8118
|
e = t.exports = n, e.FilterCSS = r;
|
|
8116
8119
|
for (var s in i) e[s] = i[s];
|
|
8117
8120
|
})(dn, dn.exports);
|
|
8118
|
-
var
|
|
8121
|
+
var Ln = dn.exports, On = {
|
|
8119
8122
|
indexOf: function(t, e) {
|
|
8120
8123
|
var i, r;
|
|
8121
8124
|
if (Array.prototype.indexOf)
|
|
@@ -8139,7 +8142,7 @@ var An = dn.exports, Ln = {
|
|
|
8139
8142
|
var e = /\s|\n|\t/, i = e.exec(t);
|
|
8140
8143
|
return i ? i.index : -1;
|
|
8141
8144
|
}
|
|
8142
|
-
}, wp =
|
|
8145
|
+
}, wp = Ln.FilterCSS, xp = Ln.getDefaultWhiteList, hr = On;
|
|
8143
8146
|
function Ka() {
|
|
8144
8147
|
return {
|
|
8145
8148
|
a: ["target", "href", "title"],
|
|
@@ -8252,13 +8255,13 @@ function Ap(t, e, i, r) {
|
|
|
8252
8255
|
if (Ki.lastIndex = 0, Ki.test(i))
|
|
8253
8256
|
return "";
|
|
8254
8257
|
} else if (e === "style") {
|
|
8255
|
-
if (
|
|
8258
|
+
if (Is.lastIndex = 0, Is.test(i) || (As.lastIndex = 0, As.test(i) && (Ki.lastIndex = 0, Ki.test(i))))
|
|
8256
8259
|
return "";
|
|
8257
8260
|
r !== !1 && (r = r || Xa, i = r.process(i));
|
|
8258
8261
|
}
|
|
8259
8262
|
return i = oo(i), i;
|
|
8260
8263
|
}
|
|
8261
|
-
var Lp = /</g, Op = />/g, Dp = /"/g, Bp = /"/g, Np = /&#([a-zA-Z0-9]*);?/gim, Pp = /:?/gim, Mp = /&newline;?/gim, Ki = /((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,
|
|
8264
|
+
var Lp = /</g, Op = />/g, Dp = /"/g, Bp = /"/g, Np = /&#([a-zA-Z0-9]*);?/gim, Pp = /:?/gim, Mp = /&newline;?/gim, Ki = /((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, Is = /e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi, As = /u\s*r\s*l\s*\(.*/gi;
|
|
8262
8265
|
function to(t) {
|
|
8263
8266
|
return t.replace(Dp, """);
|
|
8264
8267
|
}
|
|
@@ -8360,7 +8363,7 @@ se.stripCommentTag = $p;
|
|
|
8360
8363
|
se.stripBlankChar = Rp;
|
|
8361
8364
|
se.cssFilter = Xa;
|
|
8362
8365
|
se.getDefaultCSSWhiteList = xp;
|
|
8363
|
-
var Cr = {}, St =
|
|
8366
|
+
var Cr = {}, St = On;
|
|
8364
8367
|
function qp(t) {
|
|
8365
8368
|
var e = St.spaceIndex(t), i;
|
|
8366
8369
|
return e === -1 ? i = t.slice(1, -1) : i = t.slice(1, e + 1), i = St.trim(i).toLowerCase(), i.slice(0, 1) === "/" && (i = i.slice(1)), i.slice(-1) === "/" && (i = i.slice(0, -1)), i;
|
|
@@ -8438,12 +8441,12 @@ function _p(t, e) {
|
|
|
8438
8441
|
continue;
|
|
8439
8442
|
}
|
|
8440
8443
|
else if (u = Gp(t, l - 1), u === -1) {
|
|
8441
|
-
c = St.trim(t.slice(i, l)), c =
|
|
8444
|
+
c = St.trim(t.slice(i, l)), c = Ls(c), o(s, c), s = !1, i = l + 1;
|
|
8442
8445
|
continue;
|
|
8443
8446
|
} else
|
|
8444
8447
|
continue;
|
|
8445
8448
|
}
|
|
8446
|
-
return i < t.length && (s === !1 ? o(t.slice(i)) : o(s,
|
|
8449
|
+
return i < t.length && (s === !1 ? o(t.slice(i)) : o(s, Ls(St.trim(t.slice(i))))), St.trim(n.join(" "));
|
|
8447
8450
|
}
|
|
8448
8451
|
function zp(t, e) {
|
|
8449
8452
|
for (; e < t.length; e++) {
|
|
@@ -8469,12 +8472,12 @@ function Gp(t, e) {
|
|
|
8469
8472
|
function Hp(t) {
|
|
8470
8473
|
return t[0] === '"' && t[t.length - 1] === '"' || t[0] === "'" && t[t.length - 1] === "'";
|
|
8471
8474
|
}
|
|
8472
|
-
function
|
|
8475
|
+
function Ls(t) {
|
|
8473
8476
|
return Hp(t) ? t.substr(1, t.length - 2) : t;
|
|
8474
8477
|
}
|
|
8475
8478
|
Cr.parseTag = Wp;
|
|
8476
8479
|
Cr.parseAttr = _p;
|
|
8477
|
-
var Qp =
|
|
8480
|
+
var Qp = Ln.FilterCSS, ze = se, lo = Cr, Zp = lo.parseTag, Yp = lo.parseAttr, sr = On;
|
|
8478
8481
|
function Xi(t) {
|
|
8479
8482
|
return t == null;
|
|
8480
8483
|
}
|
|
@@ -8833,7 +8836,7 @@ const b = {
|
|
|
8833
8836
|
function uo(t) {
|
|
8834
8837
|
return t?.colorMatch ?? !1;
|
|
8835
8838
|
}
|
|
8836
|
-
function
|
|
8839
|
+
function Os(t) {
|
|
8837
8840
|
let e = Ci();
|
|
8838
8841
|
if (t !== void 0) {
|
|
8839
8842
|
const i = j(t.series);
|
|
@@ -8844,7 +8847,7 @@ function Ls(t) {
|
|
|
8844
8847
|
function $g(t) {
|
|
8845
8848
|
return t?.map((e) => e.type) ?? [];
|
|
8846
8849
|
}
|
|
8847
|
-
function
|
|
8850
|
+
function Dn(t) {
|
|
8848
8851
|
let e = t?.stackedType;
|
|
8849
8852
|
if (e === void 0 && t !== void 0) {
|
|
8850
8853
|
const i = j(t.series);
|
|
@@ -9008,7 +9011,7 @@ function ar(t, e) {
|
|
|
9008
9011
|
return { isInItem: i !== void 0, expr: i };
|
|
9009
9012
|
}
|
|
9010
9013
|
function Fr(t) {
|
|
9011
|
-
return ar(t,
|
|
9014
|
+
return ar(t, Wa);
|
|
9012
9015
|
}
|
|
9013
9016
|
function Wg(t, e) {
|
|
9014
9017
|
let i;
|
|
@@ -9156,7 +9159,7 @@ function Zg(t) {
|
|
|
9156
9159
|
return j(t.series) !== y.BoxPlotSeries ? x.xAxisField : t.series[0].x;
|
|
9157
9160
|
}
|
|
9158
9161
|
function Yg(t) {
|
|
9159
|
-
const e =
|
|
9162
|
+
const e = Dn(t);
|
|
9160
9163
|
return e === Ee.Stacked || e === Ee.Stacked100;
|
|
9161
9164
|
}
|
|
9162
9165
|
function df(t) {
|
|
@@ -9203,7 +9206,7 @@ function uf(t) {
|
|
|
9203
9206
|
let a, o = "", l;
|
|
9204
9207
|
if (t.orderOptions?.data !== void 0) {
|
|
9205
9208
|
if (o = t.orderOptions?.data?.orderType ?? Ae.Category, l = t.orderOptions?.data?.orderBy, o === Ae.Category ? o = n ? Ce : i : o = n ? Ue : [r].flat()[0], o !== void 0 && o !== "") {
|
|
9206
|
-
const d =
|
|
9209
|
+
const d = Dn(t);
|
|
9207
9210
|
if (j(t.series) !== y.PieSeries && o !== i && t.series?.length > 1)
|
|
9208
9211
|
switch (d) {
|
|
9209
9212
|
case Ee.Stacked:
|
|
@@ -9223,7 +9226,7 @@ function uf(t) {
|
|
|
9223
9226
|
};
|
|
9224
9227
|
}
|
|
9225
9228
|
} else (s || n) && t.series[0].query?.outStatistics && (l = t.series[0].query.outStatistics.map((d) => d.onStatisticField), l?.length > 1 && (a = {
|
|
9226
|
-
sortingField:
|
|
9229
|
+
sortingField: An.originalCategoryValue,
|
|
9227
9230
|
orderBy: l,
|
|
9228
9231
|
preferLabel: !1
|
|
9229
9232
|
}));
|
|
@@ -9462,7 +9465,7 @@ function fn(t) {
|
|
|
9462
9465
|
const { value: e, mean: i, stdDev: r } = t;
|
|
9463
9466
|
return (e - i) / r;
|
|
9464
9467
|
}
|
|
9465
|
-
function
|
|
9468
|
+
function Bn(t) {
|
|
9466
9469
|
const { dataItem: e, chartSubType: i, y: r, splitByValue: n, meanPerField: s, stdDevPerField: a } = t, o = e;
|
|
9467
9470
|
let l = {
|
|
9468
9471
|
chartSubType: i,
|
|
@@ -9520,7 +9523,7 @@ function hf(t) {
|
|
|
9520
9523
|
return i.forEach((o) => {
|
|
9521
9524
|
let l = {};
|
|
9522
9525
|
Object.keys(n).forEach((d) => {
|
|
9523
|
-
d.startsWith(o) ? l[d.replace(`${o}_`, "")] = n[d] : d.includes(x.rendererSymbolField) && (l[d] = n[d]), l[x.boxPlot.boxPlotCategory] = o, r && (l =
|
|
9526
|
+
d.startsWith(o) ? l[d.replace(`${o}_`, "")] = n[d] : d.includes(x.rendererSymbolField) && (l[d] = n[d]), l[x.boxPlot.boxPlotCategory] = o, r && (l = Bn({
|
|
9524
9527
|
dataItem: l,
|
|
9525
9528
|
chartSubType: b.BoxPlotMultiFields
|
|
9526
9529
|
}));
|
|
@@ -9548,7 +9551,7 @@ function mf(t) {
|
|
|
9548
9551
|
};
|
|
9549
9552
|
Object.entries(l).forEach(([p, f]) => {
|
|
9550
9553
|
p.startsWith(`${c}_`) ? u[`${d}_${p.replace(`${c}_`, "")}`] = f : p.includes(x.rendererSymbolField) ? u[`${p}_${d}`] = f : p === x.boxPlot.boxPlotMeanLineMarkerId && (u[p] = l[p]);
|
|
9551
|
-
}), n && (u =
|
|
9554
|
+
}), n && (u = Bn({
|
|
9552
9555
|
dataItem: u,
|
|
9553
9556
|
chartSubType: b.BoxPlotMultiFieldsAndSplitBy,
|
|
9554
9557
|
splitByValue: d,
|
|
@@ -9565,7 +9568,7 @@ function gf(t) {
|
|
|
9565
9568
|
const { data: e, yList: i, calculateZScore: r = !1, meanAndStdDevPerField: n } = t, s = e;
|
|
9566
9569
|
return r && s.forEach((a) => {
|
|
9567
9570
|
i.forEach((o) => {
|
|
9568
|
-
|
|
9571
|
+
Bn({
|
|
9569
9572
|
dataItem: a,
|
|
9570
9573
|
chartSubType: b.BoxPlotMultiFieldsAndCategory,
|
|
9571
9574
|
y: o,
|
|
@@ -9635,7 +9638,7 @@ function vf(t, e) {
|
|
|
9635
9638
|
const n = t[e[M.IQR]], s = t[e[M.FirstQuartile]], a = t[e[M.ThirdQuartile]];
|
|
9636
9639
|
return Number.isFinite(n) && Number.isFinite(s) && Number.isFinite(a) && (i = s - n * 1.5, r = a + n * 1.5), { outlierMinThreshold: i, outlierMaxThreshold: r };
|
|
9637
9640
|
}
|
|
9638
|
-
function
|
|
9641
|
+
function Ds(t) {
|
|
9639
9642
|
const { yField: e, xField: i, xValue: r, splitByField: n, splitByValue: s, outlierMaxThreshold: a, outlierMinThreshold: o, target: l } = t;
|
|
9640
9643
|
let d;
|
|
9641
9644
|
if (i !== void 0 && r !== void 0) {
|
|
@@ -9666,7 +9669,7 @@ function bo(t) {
|
|
|
9666
9669
|
dataContext: h,
|
|
9667
9670
|
keepNullValues: !0,
|
|
9668
9671
|
specificField: x.typeOrDomainIdValue
|
|
9669
|
-
})), (n === b.BoxPlotMonoFieldAndSplitBy || n === b.BoxPlotMultiFieldsAndSplitBy || n === b.BoxPlotMonoFieldAndCategoryAndSplitBy) && s !== void 0 && s in h && (S.splitByField = s, S.splitByValue = h[s]), u.push(
|
|
9672
|
+
})), (n === b.BoxPlotMonoFieldAndSplitBy || n === b.BoxPlotMultiFieldsAndSplitBy || n === b.BoxPlotMonoFieldAndCategoryAndSplitBy) && s !== void 0 && s in h && (S.splitByField = s, S.splitByValue = h[s]), u.push(Ds({ ...S, target: "outliers" })), p.push(Ds({ ...S, target: "alternativeData" })), (f % c === 0 || m === e.length - 1) && (l.push(X(u, "OR")), d.push(X(p, "OR")), u = [], p = []);
|
|
9670
9673
|
}
|
|
9671
9674
|
f += 1;
|
|
9672
9675
|
}), { outliersFilterBatches: l, dataWithoutOutliersFilterBatches: d };
|
|
@@ -10153,7 +10156,7 @@ function wo(t) {
|
|
|
10153
10156
|
}
|
|
10154
10157
|
}
|
|
10155
10158
|
}
|
|
10156
|
-
async function
|
|
10159
|
+
async function Nn(t) {
|
|
10157
10160
|
const { chartConfig: e, queryConfig: i, options: r, queryObject: n, timeIntervalInfo: s, fetchFullBoxPlotData: a } = t, { setTimeBinningInfoWhenNotProvided: o, returnFeaturesExtent: l } = r ?? {}, d = e.series, c = V(d), u = At(e), { query: p, x: f } = u, h = "y" in u ? u.y : void 0, m = jt({
|
|
10158
10161
|
xAxisValueFormatType: ut(e),
|
|
10159
10162
|
setTimeBinningInfoWhenNotProvided: o,
|
|
@@ -10226,7 +10229,7 @@ async function Bn(t) {
|
|
|
10226
10229
|
return O !== void 0 && (T.gdbVersion = O), N !== void 0 && (T.geometry = N), D !== void 0 && (T.distance = D), P !== void 0 && (T.units = P), A !== void 0 && (T.timeExtent = A), R !== void 0 && (T.objectIds = R), L !== void 0 && (T.spatialRelationship = L), k !== void 0 && (T.where = X([T.where, k])), { uniqueQuery: T, mapToStatField: g };
|
|
10227
10230
|
}
|
|
10228
10231
|
async function Ef(t) {
|
|
10229
|
-
const { queryObject: e, queryConfig: i, chartConfig: r, abortKey: n } = t, s = r.series[0], { x: a, valueConversion: o } = s, l =
|
|
10232
|
+
const { queryObject: e, queryConfig: i, chartConfig: r, abortKey: n } = t, s = r.series[0], { x: a, valueConversion: o } = s, l = Vn(r), d = await Ve({
|
|
10230
10233
|
queryObject: e,
|
|
10231
10234
|
queryConfig: i,
|
|
10232
10235
|
featureCount: i.num ?? 1,
|
|
@@ -10236,20 +10239,20 @@ async function Ef(t) {
|
|
|
10236
10239
|
let c = [{ [a]: null }];
|
|
10237
10240
|
if (l)
|
|
10238
10241
|
c = d.map((u) => {
|
|
10239
|
-
|
|
10240
|
-
const p =
|
|
10242
|
+
Mn(u.attributes, a);
|
|
10243
|
+
const p = Fs(u.attributes[a], o);
|
|
10241
10244
|
return { ...u.attributes, [a]: p };
|
|
10242
10245
|
});
|
|
10243
10246
|
else if (d.length > 0) {
|
|
10244
10247
|
let u = d[0].attributes[a] ?? d[0].attributes[a.toUpperCase()] ?? d[0].attributes[a.toLowerCase()];
|
|
10245
|
-
u =
|
|
10248
|
+
u = Fs(u, o), c = [{ [a]: u }];
|
|
10246
10249
|
}
|
|
10247
10250
|
return c;
|
|
10248
10251
|
}
|
|
10249
10252
|
async function $f(t) {
|
|
10250
10253
|
const { queryObject: e, chartConfig: i, queryConfig: r, options: n, abortKey: s } = t, { chartLimits: a } = n ?? {}, o = { valid: !0 };
|
|
10251
10254
|
if (e !== void 0) {
|
|
10252
|
-
const { behaviorAfterLimit: l, maxGaugeByFeaturesLimit: d } = a ?? {}, c =
|
|
10255
|
+
const { behaviorAfterLimit: l, maxGaugeByFeaturesLimit: d } = a ?? {}, c = Vn(i);
|
|
10253
10256
|
let u = !0, p;
|
|
10254
10257
|
if (c && (p = (await Eo({
|
|
10255
10258
|
chartConfig: i,
|
|
@@ -10470,27 +10473,27 @@ async function Hf(t) {
|
|
|
10470
10473
|
queryConfig: i
|
|
10471
10474
|
});
|
|
10472
10475
|
let g;
|
|
10473
|
-
if (h !== void 0 && (g = new
|
|
10476
|
+
if (h !== void 0 && (g = new _n({
|
|
10474
10477
|
geometry: h.extent
|
|
10475
|
-
}), h.extent !== void 0 &&
|
|
10478
|
+
}), h.extent !== void 0 && $n(u))) {
|
|
10476
10479
|
const { distance: D, units: P } = i;
|
|
10477
10480
|
D !== void 0 && (g.distance = D), P !== void 0 && (g.units = P);
|
|
10478
10481
|
}
|
|
10479
10482
|
if (i.timeExtent) {
|
|
10480
10483
|
const D = { start: i.timeExtent[0], end: i.timeExtent[1] };
|
|
10481
|
-
g === void 0 ? g = new
|
|
10484
|
+
g === void 0 ? g = new _n({ timeExtent: D }) : g.timeExtent = D;
|
|
10482
10485
|
}
|
|
10483
10486
|
m.filter = g;
|
|
10484
10487
|
let v;
|
|
10485
10488
|
m.outStatisticTypes = { exclude: ["median"] };
|
|
10486
10489
|
try {
|
|
10487
|
-
v = await
|
|
10490
|
+
v = await zn(m);
|
|
10488
10491
|
} catch (D) {
|
|
10489
10492
|
throw new qe(De.QueryFeaturesError, o.errors.queryError, D);
|
|
10490
10493
|
}
|
|
10491
10494
|
m.outStatisticTypes = { include: ["median"] };
|
|
10492
10495
|
try {
|
|
10493
|
-
const D = await
|
|
10496
|
+
const D = await zn(m);
|
|
10494
10497
|
D?.median && (v.median = D.median);
|
|
10495
10498
|
} catch {
|
|
10496
10499
|
}
|
|
@@ -10712,7 +10715,7 @@ async function eh(t) {
|
|
|
10712
10715
|
});
|
|
10713
10716
|
} else if (k !== void 0 && R !== void 0) {
|
|
10714
10717
|
let z = 0;
|
|
10715
|
-
const { maxScatterCellsPerQuery: Ne, maxScatterCellsPerQueryForStandard: Xe } = ki(), _t = await jy(O) ? Xe : Ne,
|
|
10718
|
+
const { maxScatterCellsPerQuery: Ne, maxScatterCellsPerQueryForStandard: Xe } = ki(), _t = await jy(O) ? Xe : Ne, Wn = [];
|
|
10716
10719
|
let Or = !0, zt = S, Lt = F, Ut = "", Ri = 1, Dr = 1, qi = Number.MAX_SAFE_INTEGER, Vi = Number.MIN_SAFE_INTEGER, Wi = Number.MAX_SAFE_INTEGER, ji = Number.MIN_SAFE_INTEGER;
|
|
10717
10720
|
for (; Dr <= R && Or; ) {
|
|
10718
10721
|
for (Lt = F, Ri = 1; Ri <= k && Or; ) {
|
|
@@ -10733,7 +10736,7 @@ async function eh(t) {
|
|
|
10733
10736
|
groupByFieldsForStatistics: [Ut],
|
|
10734
10737
|
outStatistics: [...L.values()]
|
|
10735
10738
|
};
|
|
10736
|
-
|
|
10739
|
+
Wn.push(
|
|
10737
10740
|
Xf({
|
|
10738
10741
|
chartConfig: i,
|
|
10739
10742
|
queryConfig: xl,
|
|
@@ -10750,7 +10753,7 @@ async function eh(t) {
|
|
|
10750
10753
|
}
|
|
10751
10754
|
zt += D, Dr += 1;
|
|
10752
10755
|
}
|
|
10753
|
-
v = (await Promise.all(
|
|
10756
|
+
v = (await Promise.all(Wn)).flat();
|
|
10754
10757
|
}
|
|
10755
10758
|
}
|
|
10756
10759
|
}
|
|
@@ -10953,7 +10956,7 @@ function dh(t) {
|
|
|
10953
10956
|
const { chartConfig: e, rawData: i, isAggregationMode: r, yStep: n, useQueryAttributeBins: s } = t, a = e.series[0], { x: o, y: l } = a;
|
|
10954
10957
|
let c = (Array.isArray(i) ? i : i?.features)?.flatMap((u) => {
|
|
10955
10958
|
let p = [{ ...u.attributes }];
|
|
10956
|
-
return
|
|
10959
|
+
return Mn(p[0], [o, l]), r ? p = lh({
|
|
10957
10960
|
useQueryAttributeBins: s,
|
|
10958
10961
|
graphic: u,
|
|
10959
10962
|
x: o,
|
|
@@ -11089,7 +11092,7 @@ function ph(t) {
|
|
|
11089
11092
|
x.technicalFieldSplitByField,
|
|
11090
11093
|
ue.uniqueIdsName,
|
|
11091
11094
|
te.valueField,
|
|
11092
|
-
...
|
|
11095
|
+
...Wa
|
|
11093
11096
|
], u = (m, g) => {
|
|
11094
11097
|
const v = g[x.typeOrDomainFieldName];
|
|
11095
11098
|
typeof v == "string" && g[v] !== void 0 && (g[v] = g[x.typeOrDomainIdValue]), n && g[te.xField] !== void 0 && (g[n] = g[x.originalCategoryValue] !== void 0 ? g[x.originalCategoryValue] : g[te.xField], delete g[te.xField]), s && g[te.yField] !== void 0 && (g[s] = g[x.originalYCategoryValue] !== void 0 ? g[x.originalYCategoryValue] : g[te.yField], delete g[te.yField]), a && g[te.valueField] !== void 0 && (g[a] = g[te.valueField], delete g[te.valueField]);
|
|
@@ -11240,10 +11243,10 @@ function mh(t) {
|
|
|
11240
11243
|
escape: !0
|
|
11241
11244
|
});
|
|
11242
11245
|
}
|
|
11243
|
-
function
|
|
11246
|
+
function Bs(t) {
|
|
11244
11247
|
const { field: e, fieldType: i, fieldValue: r, unit: n, outTimeZone: s, dataTimeZone: a, runsOnClientQueryEngine: o } = t;
|
|
11245
11248
|
let l;
|
|
11246
|
-
const { expression: d } =
|
|
11249
|
+
const { expression: d } = Rn({
|
|
11247
11250
|
field: e,
|
|
11248
11251
|
fieldType: i,
|
|
11249
11252
|
unit: n,
|
|
@@ -11272,7 +11275,7 @@ function gh(t) {
|
|
|
11272
11275
|
where: xt(l.x, f === null ? f : p),
|
|
11273
11276
|
normalize: !1,
|
|
11274
11277
|
escape: !0
|
|
11275
|
-
}) : c =
|
|
11278
|
+
}) : c = Bs({
|
|
11276
11279
|
field: l.x,
|
|
11277
11280
|
fieldType: e,
|
|
11278
11281
|
fieldValue: p,
|
|
@@ -11284,7 +11287,7 @@ function gh(t) {
|
|
|
11284
11287
|
where: xt(l.y, m === null ? m : h),
|
|
11285
11288
|
normalize: !1,
|
|
11286
11289
|
escape: !0
|
|
11287
|
-
}) : u =
|
|
11290
|
+
}) : u = Bs({
|
|
11288
11291
|
field: l.y,
|
|
11289
11292
|
fieldType: i,
|
|
11290
11293
|
fieldValue: h,
|
|
@@ -11364,7 +11367,7 @@ async function Sh(t) {
|
|
|
11364
11367
|
})) {
|
|
11365
11368
|
const w = r;
|
|
11366
11369
|
"temporalBinning" in w.series[0] && w.series[0].temporalBinning && (w.series[0].temporalBinning.trimIncompleteTimeInterval = !1, Li(o) && (delete w.series[0].temporalBinning.start, delete w.series[0].temporalBinning.end)), u.push(
|
|
11367
|
-
|
|
11370
|
+
kn({
|
|
11368
11371
|
chartConfig: w,
|
|
11369
11372
|
queryConfig: S,
|
|
11370
11373
|
queryObject: o,
|
|
@@ -11587,7 +11590,7 @@ async function Ch(t) {
|
|
|
11587
11590
|
m.push(`${w} IN (${h.join(",")})`);
|
|
11588
11591
|
}
|
|
11589
11592
|
const v = m.join(" OR "), S = { ...i };
|
|
11590
|
-
S.where = X([S.where, v]), d = await
|
|
11593
|
+
S.where = X([S.where, v]), d = await Pn({
|
|
11591
11594
|
queryObject: e,
|
|
11592
11595
|
chartConfig: r,
|
|
11593
11596
|
queryConfig: S,
|
|
@@ -11658,7 +11661,7 @@ async function Fh(t) {
|
|
|
11658
11661
|
), C = X(w, "OR");
|
|
11659
11662
|
v.where = X([v.where, C]);
|
|
11660
11663
|
}
|
|
11661
|
-
h = await
|
|
11664
|
+
h = await kn({
|
|
11662
11665
|
queryObject: e,
|
|
11663
11666
|
queryConfig: v,
|
|
11664
11667
|
chartConfig: r,
|
|
@@ -11711,7 +11714,7 @@ async function Fh(t) {
|
|
|
11711
11714
|
chartConfig: r
|
|
11712
11715
|
}), h;
|
|
11713
11716
|
}
|
|
11714
|
-
async function
|
|
11717
|
+
async function Pn(t) {
|
|
11715
11718
|
const { queryObject: e, chartConfig: i, queryConfig: r, options: n, errorStrings: s, abortKey: a } = t;
|
|
11716
11719
|
let o = { valid: !0 };
|
|
11717
11720
|
const l = Fi(i), d = await hn({
|
|
@@ -11750,7 +11753,7 @@ async function Th(t) {
|
|
|
11750
11753
|
p = await $o(t);
|
|
11751
11754
|
break;
|
|
11752
11755
|
case y.BoxPlotSeries:
|
|
11753
|
-
p = await
|
|
11756
|
+
p = await Pn(t);
|
|
11754
11757
|
break;
|
|
11755
11758
|
case y.BarSeries:
|
|
11756
11759
|
case y.ComboLineAndBarSeries:
|
|
@@ -11770,7 +11773,7 @@ async function Th(t) {
|
|
|
11770
11773
|
xAxisValueFormatType: ut(i),
|
|
11771
11774
|
setTimeBinningInfoWhenNotProvided: n?.setTimeBinningInfoWhenNotProvided,
|
|
11772
11775
|
seriesConfig: d[0]
|
|
11773
|
-
}) ? p = await
|
|
11776
|
+
}) ? p = await kn(f) : p = await hn(f);
|
|
11774
11777
|
break;
|
|
11775
11778
|
}
|
|
11776
11779
|
case y.ScatterSeries:
|
|
@@ -12406,7 +12409,7 @@ function Uh(t) {
|
|
|
12406
12409
|
let r, n, { dateMinTimestamp: s, dateMaxTimestamp: a } = e;
|
|
12407
12410
|
if (s && a) {
|
|
12408
12411
|
typeof s == "string" && (s = new Date(s).valueOf()), typeof a == "string" && (a = new Date(a).valueOf());
|
|
12409
|
-
const o = zh(i), l = (a - s) / o, d =
|
|
12412
|
+
const o = zh(i), l = (a - s) / o, d = Ms.findIndex((v) => v.threshold > l), c = Ms[d], { unitMs: u, preferredIntervalSize: p } = c;
|
|
12410
12413
|
({ unit: r } = c);
|
|
12411
12414
|
const f = l / u, h = p.findIndex(
|
|
12412
12415
|
(v) => v >= f
|
|
@@ -12498,7 +12501,7 @@ function Jh(t, e) {
|
|
|
12498
12501
|
}
|
|
12499
12502
|
return r;
|
|
12500
12503
|
}
|
|
12501
|
-
function
|
|
12504
|
+
function Mn(t, e) {
|
|
12502
12505
|
[e].flat().forEach((i) => {
|
|
12503
12506
|
i && (t[i] === void 0 && (t[i] = t[i.toUpperCase()] !== void 0 ? t[i.toUpperCase()] : t[i.toLowerCase()]), t[i] !== void 0 ? (i !== i.toUpperCase() && delete t[i.toUpperCase()], i !== i.toLowerCase() && delete t[i.toLowerCase()]) : delete t[i]);
|
|
12504
12507
|
});
|
|
@@ -12509,7 +12512,7 @@ function Kh(t, e) {
|
|
|
12509
12512
|
e.flatMap((r) => r.query?.outStatistics?.map((n) => n.outStatisticFieldName))
|
|
12510
12513
|
)
|
|
12511
12514
|
);
|
|
12512
|
-
i.push(ue.outStatistics.outStatisticFieldName),
|
|
12515
|
+
i.push(ue.outStatistics.outStatisticFieldName), Mn(t, i);
|
|
12513
12516
|
}
|
|
12514
12517
|
function Xh(t, e) {
|
|
12515
12518
|
let i = { ...t };
|
|
@@ -12729,7 +12732,7 @@ async function hn(t) {
|
|
|
12729
12732
|
let m, g = !1;
|
|
12730
12733
|
const v = e.series, S = v[0], w = V(e.series);
|
|
12731
12734
|
if (S !== void 0 && s !== void 0) {
|
|
12732
|
-
const C = j(v), { uniqueQuery: F, mapToStatField: T } = await
|
|
12735
|
+
const C = j(v), { uniqueQuery: F, mapToStatField: T } = await Nn({
|
|
12733
12736
|
chartConfig: e,
|
|
12734
12737
|
queryObject: s,
|
|
12735
12738
|
queryConfig: i,
|
|
@@ -12820,7 +12823,7 @@ async function hn(t) {
|
|
|
12820
12823
|
}
|
|
12821
12824
|
function ay(t) {
|
|
12822
12825
|
let e;
|
|
12823
|
-
const { start: i, end: r } =
|
|
12826
|
+
const { start: i, end: r } = Rn({ field: "", unit: t, addIntervalStatement: !1 });
|
|
12824
12827
|
return r && (e = Array.from({ length: r + (i === 0 ? 1 : 0) }, (n, s) => (s + (i ?? 1)).toString())), e;
|
|
12825
12828
|
}
|
|
12826
12829
|
function oy(t) {
|
|
@@ -12977,7 +12980,7 @@ function cy(t) {
|
|
|
12977
12980
|
}
|
|
12978
12981
|
return s;
|
|
12979
12982
|
}
|
|
12980
|
-
async function
|
|
12983
|
+
async function kn(t) {
|
|
12981
12984
|
const { chartConfig: e, queryConfig: i, queryObject: r, abortKey: n, options: s, preFetchedQueryResponse: a } = t, { chartLimits: o, usePopupTemplateFieldsInfo: l } = s ?? {}, { behaviorAfterLimit: d } = o ?? {}, c = e.series, u = c[0], { x: p } = u, f = ge(u.query?.where), h = { valid: !0 };
|
|
12982
12985
|
let m;
|
|
12983
12986
|
if (Ze(u)) {
|
|
@@ -12995,7 +12998,7 @@ async function Mn(t) {
|
|
|
12995
12998
|
$.Minute,
|
|
12996
12999
|
$.Second
|
|
12997
13000
|
].includes(C.unit) && (C.unit = $.Day, C.size = 1), g.size = C.size, g.unit = C.unit);
|
|
12998
|
-
const { uniqueQuery: N, mapToStatField: D } = await
|
|
13001
|
+
const { uniqueQuery: N, mapToStatField: D } = await Nn({
|
|
12999
13002
|
chartConfig: e,
|
|
13000
13003
|
queryConfig: i,
|
|
13001
13004
|
queryObject: r,
|
|
@@ -13082,7 +13085,7 @@ async function uy(t) {
|
|
|
13082
13085
|
seriesConfig: u[0],
|
|
13083
13086
|
xAxisValueFormatType: ut(e),
|
|
13084
13087
|
setTimeBinningInfoWhenNotProvided: o
|
|
13085
|
-
}), { uniqueQuery: f, mapToStatField: h } = await
|
|
13088
|
+
}), { uniqueQuery: f, mapToStatField: h } = await Nn({
|
|
13086
13089
|
chartConfig: e,
|
|
13087
13090
|
queryObject: r,
|
|
13088
13091
|
queryConfig: i,
|
|
@@ -13107,7 +13110,7 @@ async function uy(t) {
|
|
|
13107
13110
|
return c;
|
|
13108
13111
|
}
|
|
13109
13112
|
async function py(t) {
|
|
13110
|
-
const { chartConfig: e, queryConfig: i, queryObject: r, abortKey: n, options: s, errorStrings: a } = t, o = "showMean" in e ? e.showMean : !1, l = await
|
|
13113
|
+
const { chartConfig: e, queryConfig: i, queryObject: r, abortKey: n, options: s, errorStrings: a } = t, o = "showMean" in e ? e.showMean : !1, l = await Pn({
|
|
13111
13114
|
queryObject: r,
|
|
13112
13115
|
chartConfig: e,
|
|
13113
13116
|
queryConfig: i,
|
|
@@ -13254,16 +13257,16 @@ function qo(t) {
|
|
|
13254
13257
|
function yy(t) {
|
|
13255
13258
|
return t !== void 0 && "type" in t && t.type === "subtype-group";
|
|
13256
13259
|
}
|
|
13257
|
-
function
|
|
13260
|
+
function En(t) {
|
|
13258
13261
|
return t !== void 0 && "type" in t && t.type === "subtype-sublayer";
|
|
13259
13262
|
}
|
|
13260
13263
|
function my(t) {
|
|
13261
|
-
return qo(t) ||
|
|
13264
|
+
return qo(t) || En(t);
|
|
13262
13265
|
}
|
|
13263
13266
|
function fe(t) {
|
|
13264
|
-
return
|
|
13267
|
+
return En(t) ? t.parent : t;
|
|
13265
13268
|
}
|
|
13266
|
-
function
|
|
13269
|
+
function $n(t) {
|
|
13267
13270
|
return t.capabilities?.query?.supportsDistance || fe(t).sourceJSON?.advancedQueryCapabilities?.supportsQueryWithDistance === !0;
|
|
13268
13271
|
}
|
|
13269
13272
|
function gy(t, e) {
|
|
@@ -13453,7 +13456,7 @@ async function Ty(t) {
|
|
|
13453
13456
|
timeExtent: m ?? v.timeExtent,
|
|
13454
13457
|
geometry: g
|
|
13455
13458
|
};
|
|
13456
|
-
_o(w) && (w.cacheHint = !0), w.geometry !== void 0 &&
|
|
13459
|
+
_o(w) && (w.cacheHint = !0), w.geometry !== void 0 && $n(a) && (f !== void 0 && (w.distance = f), h !== void 0 && (w.units = h));
|
|
13457
13460
|
try {
|
|
13458
13461
|
o = await r.queryFeatureCount(w);
|
|
13459
13462
|
} catch {
|
|
@@ -13484,7 +13487,7 @@ async function $i(t) {
|
|
|
13484
13487
|
signal: r !== void 0 ? Oi.get(r)?.signal : void 0
|
|
13485
13488
|
});
|
|
13486
13489
|
} catch (c) {
|
|
13487
|
-
if (!
|
|
13490
|
+
if (!ks.isAbortError(c)) {
|
|
13488
13491
|
const u = (await tt(
|
|
13489
13492
|
$e(document.documentElement).t9nLocale,
|
|
13490
13493
|
He("./assets/common/t9n"),
|
|
@@ -13521,7 +13524,7 @@ async function Wo(t) {
|
|
|
13521
13524
|
signal: n !== void 0 ? Oi.get(n)?.signal : void 0
|
|
13522
13525
|
})).features;
|
|
13523
13526
|
} catch (d) {
|
|
13524
|
-
if (!
|
|
13527
|
+
if (!ks.isAbortError(d)) {
|
|
13525
13528
|
const c = (await tt(
|
|
13526
13529
|
$e(document.documentElement).t9nLocale,
|
|
13527
13530
|
He("./assets/common/t9n"),
|
|
@@ -13680,14 +13683,14 @@ function By(t) {
|
|
|
13680
13683
|
}
|
|
13681
13684
|
function Ny(t) {
|
|
13682
13685
|
let e;
|
|
13683
|
-
return t !== void 0 && (e = new
|
|
13686
|
+
return t !== void 0 && (e = new Rs({
|
|
13684
13687
|
start: new Date(t[0]),
|
|
13685
13688
|
end: new Date(t[1])
|
|
13686
13689
|
})), e;
|
|
13687
13690
|
}
|
|
13688
13691
|
function Ir(t) {
|
|
13689
13692
|
let e;
|
|
13690
|
-
return t !== void 0 && (e =
|
|
13693
|
+
return t !== void 0 && (e = $s.fromJSON(t)), e;
|
|
13691
13694
|
}
|
|
13692
13695
|
function Uo(t) {
|
|
13693
13696
|
return t === void 0 ? ["*"] : Array.from(new Set(t));
|
|
@@ -13704,9 +13707,9 @@ function Ar(t) {
|
|
|
13704
13707
|
).map((w) => Ol.fromJSON(w));
|
|
13705
13708
|
}
|
|
13706
13709
|
const g = Ir(a);
|
|
13707
|
-
g !== void 0 && (u.geometry = g, i?.spatialRelationship && (u.spatialRelationship = i.spatialRelationship),
|
|
13710
|
+
g !== void 0 && (u.geometry = g, i?.spatialRelationship && (u.spatialRelationship = i.spatialRelationship), $n(p) && (o !== void 0 && (u.distance = o), l !== void 0 && (u.units = l)));
|
|
13708
13711
|
let v;
|
|
13709
|
-
return d && (v = new
|
|
13712
|
+
return d && (v = new Rs({
|
|
13710
13713
|
start: d?.[0],
|
|
13711
13714
|
end: d?.[1]
|
|
13712
13715
|
})), v !== void 0 ? u.timeExtent = v : f.timeExtent !== void 0 && (u.timeExtent = f.timeExtent), _o(u) && (u.cacheHint = !0), u;
|
|
@@ -13746,7 +13749,7 @@ async function My(t) {
|
|
|
13746
13749
|
}
|
|
13747
13750
|
return d;
|
|
13748
13751
|
}
|
|
13749
|
-
function
|
|
13752
|
+
function Rn(t) {
|
|
13750
13753
|
const { field: e, fieldType: i, unit: r, outTimeZone: n, dataTimeZone: s, runsOnClientQueryEngine: a, addIntervalStatement: o } = t;
|
|
13751
13754
|
let l, d, c = 1, u = 1;
|
|
13752
13755
|
switch (r) {
|
|
@@ -13785,7 +13788,7 @@ function $n(t) {
|
|
|
13785
13788
|
}
|
|
13786
13789
|
return { expression: l, start: c, end: u };
|
|
13787
13790
|
}
|
|
13788
|
-
function
|
|
13791
|
+
function Ns(t) {
|
|
13789
13792
|
const {
|
|
13790
13793
|
temporalBinning: e,
|
|
13791
13794
|
xOrY: i,
|
|
@@ -13796,7 +13799,7 @@ function Bs(t) {
|
|
|
13796
13799
|
runsOnClientQueryEngine: o
|
|
13797
13800
|
} = t, { unit: l } = e ?? {};
|
|
13798
13801
|
let d, c, u, p;
|
|
13799
|
-
return r === ie.Date || r === ie.DateOnly || r === ie.TimestampOffset ? { expression: c, start: u, end: p } =
|
|
13802
|
+
return r === ie.Date || r === ie.DateOnly || r === ie.TimestampOffset ? { expression: c, start: u, end: p } = Rn({
|
|
13800
13803
|
field: i,
|
|
13801
13804
|
fieldType: r,
|
|
13802
13805
|
unit: l,
|
|
@@ -13816,14 +13819,14 @@ async function ky(t) {
|
|
|
13816
13819
|
type: "fixed-interval",
|
|
13817
13820
|
interval: 1
|
|
13818
13821
|
}, c !== ie.DateOnly && (p.outTimeZone = l ?? Intl.DateTimeFormat().resolvedOptions().timeZone), o !== void 0 && (p.binParameters.firstDayOfWeek = o);
|
|
13819
|
-
const f =
|
|
13822
|
+
const f = Ns({
|
|
13820
13823
|
temporalBinning: s,
|
|
13821
13824
|
xOrY: r,
|
|
13822
13825
|
xOrYFieldType: c,
|
|
13823
13826
|
addIntervalStatement: !1
|
|
13824
13827
|
}), { field: h, expression: m, start: g, end: v } = f;
|
|
13825
13828
|
h ? p.binParameters.field = h : m && (p.binParameters.expression = m, p.binParameters.expressionValueType = "integer", p.binParameters.type === "fixed-interval" && (g !== void 0 && (p.binParameters.start = g), v !== void 0 && (p.binParameters.end = v)));
|
|
13826
|
-
const S =
|
|
13829
|
+
const S = Ns({
|
|
13827
13830
|
temporalBinning: a,
|
|
13828
13831
|
xOrY: n,
|
|
13829
13832
|
xOrYFieldType: u,
|
|
@@ -13883,7 +13886,7 @@ const Ho = kl(async (t) => {
|
|
|
13883
13886
|
const n = {};
|
|
13884
13887
|
if (i !== void 0) {
|
|
13885
13888
|
if (n.source = Ml.fromJSON(i).features, r?.fields !== void 0 && (n.fields = r.fields.map((a) => Bl.fromJSON(a))), r?.objectIdField !== void 0 && (n.objectIdField = r.objectIdField), r?.geometryType !== void 0) {
|
|
13886
|
-
const a =
|
|
13889
|
+
const a = $s.fromJSON({
|
|
13887
13890
|
geometryType: r.geometryType
|
|
13888
13891
|
});
|
|
13889
13892
|
a?.type !== void 0 && a?.type !== "extent" && (n.geometryType = a.type);
|
|
@@ -13893,7 +13896,7 @@ const Ho = kl(async (t) => {
|
|
|
13893
13896
|
n.id = t.id, r?.id !== void 0 && (n.layerId = r.id), t.url !== void 0 && (n.url = t.url), t.itemId !== void 0 && r?.id !== void 0 && (n.portalItem = { id: t.itemId });
|
|
13894
13897
|
if (r !== void 0) {
|
|
13895
13898
|
const a = r.drawingInfo;
|
|
13896
|
-
a?.renderer !== void 0 && (n.renderer =
|
|
13899
|
+
a?.renderer !== void 0 && (n.renderer = qs.fromJSON(a.renderer));
|
|
13897
13900
|
}
|
|
13898
13901
|
const s = new Dl(n);
|
|
13899
13902
|
return await s.load(), s;
|
|
@@ -13931,7 +13934,7 @@ async function Be(t, e) {
|
|
|
13931
13934
|
}
|
|
13932
13935
|
return r;
|
|
13933
13936
|
}
|
|
13934
|
-
function
|
|
13937
|
+
function qn(t, e = []) {
|
|
13935
13938
|
return e.find((i) => i.name === t);
|
|
13936
13939
|
}
|
|
13937
13940
|
function qy(t) {
|
|
@@ -13998,7 +14001,7 @@ function Zo(t) {
|
|
|
13998
14001
|
let e;
|
|
13999
14002
|
if (t !== void 0) {
|
|
14000
14003
|
const i = Q(t);
|
|
14001
|
-
if (!
|
|
14004
|
+
if (!En(i) && !de(i?.typeIdField)) {
|
|
14002
14005
|
const r = yn(i, "types");
|
|
14003
14006
|
r !== void 0 && (e = {
|
|
14004
14007
|
typeIdField: i.typeIdField ?? void 0,
|
|
@@ -14024,7 +14027,7 @@ function Wy(t) {
|
|
|
14024
14027
|
fieldName: e,
|
|
14025
14028
|
fieldValueToMatch: i
|
|
14026
14029
|
}), s === void 0)) {
|
|
14027
|
-
const a =
|
|
14030
|
+
const a = qn(e, n);
|
|
14028
14031
|
if (r?.types !== void 0) {
|
|
14029
14032
|
const o = r?.types;
|
|
14030
14033
|
for (const l of o) {
|
|
@@ -14401,10 +14404,10 @@ function el(t) {
|
|
|
14401
14404
|
e.orderOptions?.orderByFields,
|
|
14402
14405
|
i.orderOptions?.orderByFields
|
|
14403
14406
|
));
|
|
14404
|
-
const l =
|
|
14407
|
+
const l = jn(
|
|
14405
14408
|
n.map((c) => c.query),
|
|
14406
14409
|
["where", "outStatistics[0].outStatisticFieldName", "outStatistics[0].onStatisticField"]
|
|
14407
|
-
), d =
|
|
14410
|
+
), d = jn(
|
|
14408
14411
|
s.map((c) => c.query),
|
|
14409
14412
|
["where", "outStatistics[0].outStatisticFieldName", "outStatistics[0].onStatisticField"]
|
|
14410
14413
|
);
|
|
@@ -14449,7 +14452,7 @@ function nm(t) {
|
|
|
14449
14452
|
}
|
|
14450
14453
|
return { timeBinningChanged: a, timeIntervalUnitChanged: o, newTimeBinningWillBeCalculated: l };
|
|
14451
14454
|
}
|
|
14452
|
-
function
|
|
14455
|
+
function Ps(t, e) {
|
|
14453
14456
|
return e.length !== t.length;
|
|
14454
14457
|
}
|
|
14455
14458
|
function nl(t, e) {
|
|
@@ -14483,7 +14486,11 @@ function Ob(t, e) {
|
|
|
14483
14486
|
return (t.stackedType ?? Ee.Side) !== (e.stackedType ?? Ee.Side);
|
|
14484
14487
|
}
|
|
14485
14488
|
function Db(t, e) {
|
|
14486
|
-
|
|
14489
|
+
const i = t.legend ?? { type: y.Legend }, r = e.legend ?? { type: y.Legend }, n = (o) => {
|
|
14490
|
+
const l = { ...o };
|
|
14491
|
+
return l.position === void 0 && (l.position = An.heatChart.legend.position), l;
|
|
14492
|
+
}, s = n(i), a = n(r);
|
|
14493
|
+
return JSON.stringify(s) !== JSON.stringify(a);
|
|
14487
14494
|
}
|
|
14488
14495
|
function Bb(t, e) {
|
|
14489
14496
|
return JSON.stringify(t.series[0]?.gradientRules) !== JSON.stringify(e.series[0]?.gradientRules);
|
|
@@ -14534,7 +14541,7 @@ function Rb(t, e) {
|
|
|
14534
14541
|
return JSON.stringify(i) !== JSON.stringify(r);
|
|
14535
14542
|
}
|
|
14536
14543
|
function qb(t, e) {
|
|
14537
|
-
return
|
|
14544
|
+
return Os(t) !== Os(e);
|
|
14538
14545
|
}
|
|
14539
14546
|
function Vb(t, e) {
|
|
14540
14547
|
return (t.showOutliers ?? x.boxPlot.boxPlotOutliersVisibility) !== (e.showOutliers ?? x.boxPlot.boxPlotOutliersVisibility);
|
|
@@ -14631,10 +14638,10 @@ function Gb(t) {
|
|
|
14631
14638
|
case y.LineSeries:
|
|
14632
14639
|
case y.BarSeries:
|
|
14633
14640
|
case y.ComboLineAndBarSeries:
|
|
14634
|
-
h.common.numberOfSeriesChanged =
|
|
14641
|
+
h.common.numberOfSeriesChanged = Ps(d, l);
|
|
14635
14642
|
break;
|
|
14636
14643
|
case y.BoxPlotSeries:
|
|
14637
|
-
h.common.numberOfSeriesChanged =
|
|
14644
|
+
h.common.numberOfSeriesChanged = Ps(d, l), h.boxPlot.showMeanChanged = nl(e, i);
|
|
14638
14645
|
break;
|
|
14639
14646
|
case y.GaugeSeries:
|
|
14640
14647
|
h.gauge.valueConversionChanged = sl(e, i);
|
|
@@ -14716,7 +14723,7 @@ function ii(t) {
|
|
|
14716
14723
|
[M.StandardDeviation]: `${e ? "" : `${t}_`}${M.StandardDeviation}`
|
|
14717
14724
|
};
|
|
14718
14725
|
}
|
|
14719
|
-
function
|
|
14726
|
+
function Vn(t) {
|
|
14720
14727
|
return "subType" in t && t.subType === Il.FeatureGauge;
|
|
14721
14728
|
}
|
|
14722
14729
|
function dl(t) {
|
|
@@ -14910,7 +14917,7 @@ function Jb(t) {
|
|
|
14910
14917
|
[r, n] = Gr(c, (f) => f[d]), s.axes?.[1]?.valueFormat.type === y.DateAxisFormat && r !== void 0 && n !== void 0 && ([r, n] = [new Date(r).valueOf(), new Date(n).valueOf()]);
|
|
14911
14918
|
const p = j(s.series);
|
|
14912
14919
|
if (p === y.HistogramSeries && a.length > 0) {
|
|
14913
|
-
const f = a[0]?.[
|
|
14920
|
+
const f = a[0]?.[ws.Start], h = a[a.length - 1]?.[ws.End];
|
|
14914
14921
|
r = typeof f == "number" ? f : r, n = typeof h == "number" ? h : n;
|
|
14915
14922
|
} else if (p === y.BoxPlotSeries) {
|
|
14916
14923
|
e = Number.MAX_SAFE_INTEGER, i = Number.MIN_SAFE_INTEGER;
|
|
@@ -14934,7 +14941,7 @@ function Jb(t) {
|
|
|
14934
14941
|
});
|
|
14935
14942
|
});
|
|
14936
14943
|
} else
|
|
14937
|
-
switch (
|
|
14944
|
+
switch (Dn(s)) {
|
|
14938
14945
|
case Ee.Stacked100: {
|
|
14939
14946
|
e = Number.NaN, i = Number.NaN;
|
|
14940
14947
|
break;
|
|
@@ -27162,7 +27169,7 @@ async function ml(t) {
|
|
|
27162
27169
|
const l = e[o].query?.outStatistics;
|
|
27163
27170
|
if (l !== void 0)
|
|
27164
27171
|
for (let d = 0; d < l.length; d += 1) {
|
|
27165
|
-
const c = l[d], u =
|
|
27172
|
+
const c = l[d], u = qn(c.onStatisticField, s);
|
|
27166
27173
|
if (u && !(u.type === ie.OID && r || oi(u)) && c.statisticType !== I.Count) {
|
|
27167
27174
|
const f = `series[${o}].query.outStatistics[${d}]`;
|
|
27168
27175
|
n.push({
|
|
@@ -27212,7 +27219,7 @@ function ym(t) {
|
|
|
27212
27219
|
const e = /* @__PURE__ */ new Set(), i = At(t);
|
|
27213
27220
|
if (i) {
|
|
27214
27221
|
const r = j(t.series), n = V(t.series);
|
|
27215
|
-
r === y.GaugeSeries && !
|
|
27222
|
+
r === y.GaugeSeries && !Vn(t) || n === b.PieFromFields || n === b.BarAndLineFromFields || n === b.BoxPlotMonoField || n === b.BoxPlotMultiFields || n === b.BoxPlotMonoFieldAndSplitBy || n === b.BoxPlotMultiFieldsAndSplitBy || e.add(i.x);
|
|
27216
27223
|
const o = r === y.ScatterSeries || r === y.BoxPlotSeries || n === b.BarAndLineNoAggregation || n === b.BarAndLineSplitByNoAggregation || n === b.PieNoAggregation, l = [
|
|
27217
27224
|
fi,
|
|
27218
27225
|
Ce,
|
|
@@ -27244,7 +27251,7 @@ async function mm(t, e) {
|
|
|
27244
27251
|
$e(document.documentElement).t9nLocale,
|
|
27245
27252
|
He("./assets/common/t9n"),
|
|
27246
27253
|
"messages."
|
|
27247
|
-
)).errorStrings, n = await Be(e), a = ym(t).filter((o) => !
|
|
27254
|
+
)).errorStrings, n = await Be(e), a = ym(t).filter((o) => !qn(o, n));
|
|
27248
27255
|
if (a.length > 0) {
|
|
27249
27256
|
const o = a.join(", ");
|
|
27250
27257
|
i = {
|
|
@@ -27376,7 +27383,7 @@ async function Ur(t) {
|
|
|
27376
27383
|
)
|
|
27377
27384
|
).sort((f, h) => typeof f == "string" && typeof h == "string" ? f.localeCompare(h) : Number(f) - Number(h));
|
|
27378
27385
|
}
|
|
27379
|
-
const
|
|
27386
|
+
const Ms = [
|
|
27380
27387
|
{
|
|
27381
27388
|
unit: $.Second,
|
|
27382
27389
|
threshold: 6e4,
|
|
@@ -27427,7 +27434,7 @@ async function vl(t) {
|
|
|
27427
27434
|
return await i.json();
|
|
27428
27435
|
}
|
|
27429
27436
|
const bm = [
|
|
27430
|
-
...
|
|
27437
|
+
...Es,
|
|
27431
27438
|
"ar-u-nu-latn",
|
|
27432
27439
|
"en-AU",
|
|
27433
27440
|
"en-GB",
|
|
@@ -27471,7 +27478,7 @@ function sS(t, e) {
|
|
|
27471
27478
|
return Number.parseFloat(n);
|
|
27472
27479
|
}
|
|
27473
27480
|
function Sm(t) {
|
|
27474
|
-
const e = Array.from(
|
|
27481
|
+
const e = Array.from(Es);
|
|
27475
27482
|
return bm.includes(t) && !e.includes(t);
|
|
27476
27483
|
}
|
|
27477
27484
|
function wl(t) {
|
|
@@ -27518,7 +27525,7 @@ export {
|
|
|
27518
27525
|
ou as a0,
|
|
27519
27526
|
Ym as a1,
|
|
27520
27527
|
ii as a2,
|
|
27521
|
-
|
|
27528
|
+
Vn as a3,
|
|
27522
27529
|
dl as a4,
|
|
27523
27530
|
cl as a5,
|
|
27524
27531
|
he as a6,
|
|
@@ -27527,7 +27534,7 @@ export {
|
|
|
27527
27534
|
Lr as a9,
|
|
27528
27535
|
xr as aA,
|
|
27529
27536
|
J as aB,
|
|
27530
|
-
|
|
27537
|
+
za as aC,
|
|
27531
27538
|
G as aD,
|
|
27532
27539
|
Mi as aE,
|
|
27533
27540
|
fu as aF,
|
|
@@ -27558,16 +27565,16 @@ export {
|
|
|
27558
27565
|
Jb as ad,
|
|
27559
27566
|
Ur as ae,
|
|
27560
27567
|
M as af,
|
|
27561
|
-
|
|
27568
|
+
Ms as ag,
|
|
27562
27569
|
gm as ah,
|
|
27563
27570
|
lu as ai,
|
|
27564
27571
|
nt as aj,
|
|
27565
27572
|
ue as ak,
|
|
27566
|
-
|
|
27573
|
+
Wa as al,
|
|
27567
27574
|
Jm as am,
|
|
27568
27575
|
Te as an,
|
|
27569
27576
|
du as ao,
|
|
27570
|
-
|
|
27577
|
+
ja as ap,
|
|
27571
27578
|
cu as aq,
|
|
27572
27579
|
Km as ar,
|
|
27573
27580
|
Xm as as,
|
|
@@ -27576,7 +27583,7 @@ export {
|
|
|
27576
27583
|
te as av,
|
|
27577
27584
|
uu as aw,
|
|
27578
27585
|
Re as ax,
|
|
27579
|
-
|
|
27586
|
+
_a as ay,
|
|
27580
27587
|
eg as az,
|
|
27581
27588
|
Jl as b,
|
|
27582
27589
|
Ty as b$,
|
|
@@ -27592,7 +27599,7 @@ export {
|
|
|
27592
27599
|
pg as b9,
|
|
27593
27600
|
vb as bA,
|
|
27594
27601
|
Be as bB,
|
|
27595
|
-
|
|
27602
|
+
qn as bC,
|
|
27596
27603
|
qy as bD,
|
|
27597
27604
|
oi as bE,
|
|
27598
27605
|
wb as bF,
|
|
@@ -27666,9 +27673,9 @@ export {
|
|
|
27666
27673
|
oS as cI,
|
|
27667
27674
|
bm as cJ,
|
|
27668
27675
|
uo as cK,
|
|
27669
|
-
|
|
27676
|
+
Os as cL,
|
|
27670
27677
|
$g as cM,
|
|
27671
|
-
|
|
27678
|
+
Dn as cN,
|
|
27672
27679
|
cn as cO,
|
|
27673
27680
|
po as cP,
|
|
27674
27681
|
st as cQ,
|
|
@@ -27687,7 +27694,7 @@ export {
|
|
|
27687
27694
|
Ny as cc,
|
|
27688
27695
|
Ir as cd,
|
|
27689
27696
|
My as ce,
|
|
27690
|
-
|
|
27697
|
+
Rn as cf,
|
|
27691
27698
|
ky as cg,
|
|
27692
27699
|
Ey as ch,
|
|
27693
27700
|
Go as ci,
|
|
@@ -27697,10 +27704,10 @@ export {
|
|
|
27697
27704
|
$t as cm,
|
|
27698
27705
|
qo as cn,
|
|
27699
27706
|
yy as co,
|
|
27700
|
-
|
|
27707
|
+
En as cp,
|
|
27701
27708
|
my as cq,
|
|
27702
27709
|
fe as cr,
|
|
27703
|
-
|
|
27710
|
+
$n as cs,
|
|
27704
27711
|
gy as ct,
|
|
27705
27712
|
Li as cu,
|
|
27706
27713
|
mb as cv,
|
|
@@ -27720,7 +27727,7 @@ export {
|
|
|
27720
27727
|
Qg as d7,
|
|
27721
27728
|
b as d8,
|
|
27722
27729
|
Eg as d9,
|
|
27723
|
-
|
|
27730
|
+
ws as dA,
|
|
27724
27731
|
Hu as dB,
|
|
27725
27732
|
ju as dC,
|
|
27726
27733
|
Bg as dD,
|
|
@@ -27740,7 +27747,7 @@ export {
|
|
|
27740
27747
|
fb as dR,
|
|
27741
27748
|
Zg as dS,
|
|
27742
27749
|
eb as dT,
|
|
27743
|
-
|
|
27750
|
+
Fs as dU,
|
|
27744
27751
|
Gm as dV,
|
|
27745
27752
|
Qm as dW,
|
|
27746
27753
|
et as dX,
|
|
@@ -27748,12 +27755,12 @@ export {
|
|
|
27748
27755
|
Yg as dZ,
|
|
27749
27756
|
pf as d_,
|
|
27750
27757
|
ut as da,
|
|
27751
|
-
|
|
27758
|
+
Nn as db,
|
|
27752
27759
|
E as dc,
|
|
27753
27760
|
x as dd,
|
|
27754
27761
|
Ro as de,
|
|
27755
27762
|
Ei as df,
|
|
27756
|
-
|
|
27763
|
+
An as dg,
|
|
27757
27764
|
Ag as dh,
|
|
27758
27765
|
kg as di,
|
|
27759
27766
|
Pg as dj,
|
|
@@ -27791,7 +27798,7 @@ export {
|
|
|
27791
27798
|
Og as ef,
|
|
27792
27799
|
rb as eg,
|
|
27793
27800
|
rp as eh,
|
|
27794
|
-
|
|
27801
|
+
Cs as ei,
|
|
27795
27802
|
ip as ej,
|
|
27796
27803
|
Yy as f,
|
|
27797
27804
|
Ho as g,
|