@arcgis/core 5.1.0-next.70 → 5.1.0-next.72
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/PopupTemplate.js +1 -1
- package/assets/components/assets/combobox/t9n/messages.ar.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.bg.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.bs.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.ca.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.cs.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.da.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.de.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.el.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.en.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.es.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.et.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.fi.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.fr.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.he.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.hr.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.hu.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.id.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.it.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.ja.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.ko.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.lt.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.lv.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.nl.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.no.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.pl.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.pt-BR.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.pt-PT.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.ro.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.ru.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.sk.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.sl.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.sr.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.sv.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.th.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.tr.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.uk.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.vi.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.zh-CN.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.zh-HK.json +1 -1
- package/assets/components/assets/combobox/t9n/messages.zh-TW.json +1 -1
- package/assets/components/assets/icon/addToLivestreamVideoLayer16.json +1 -0
- package/assets/components/assets/icon/addToLivestreamVideoLayer24.json +1 -0
- package/assets/components/assets/icon/addToLivestreamVideoLayer32.json +1 -0
- package/assets/components/assets/icon/addToVideoLayer16.json +1 -0
- package/assets/components/assets/icon/addToVideoLayer24.json +1 -0
- package/assets/components/assets/icon/addToVideoLayer32.json +1 -0
- package/assets/components/assets/icon/arcgisQuickcapture16.json +1 -0
- package/assets/components/assets/icon/arcgisQuickcapture24.json +1 -0
- package/assets/components/assets/icon/arcgisQuickcapture32.json +1 -0
- package/assets/components/assets/icon/arcgisSurvey12316.json +1 -0
- package/assets/components/assets/icon/arcgisSurvey12324.json +1 -0
- package/assets/components/assets/icon/arcgisSurvey12332.json +1 -0
- package/assets/components/assets/icon/bicycleTravelMode16.json +1 -0
- package/assets/components/assets/icon/bicycleTravelMode16F.json +1 -0
- package/assets/components/assets/icon/bicycleTravelMode24.json +1 -0
- package/assets/components/assets/icon/bicycleTravelMode24F.json +1 -0
- package/assets/components/assets/icon/bicycleTravelMode32.json +1 -0
- package/assets/components/assets/icon/bicycleTravelMode32F.json +1 -0
- package/assets/components/assets/icon/busTravelMode16.json +1 -0
- package/assets/components/assets/icon/busTravelMode16F.json +1 -0
- package/assets/components/assets/icon/busTravelMode24.json +1 -0
- package/assets/components/assets/icon/busTravelMode24F.json +1 -0
- package/assets/components/assets/icon/busTravelMode32.json +1 -0
- package/assets/components/assets/icon/busTravelMode32F.json +1 -0
- package/assets/components/assets/icon/carTravelMode16.json +1 -0
- package/assets/components/assets/icon/carTravelMode16F.json +1 -0
- package/assets/components/assets/icon/carTravelMode24.json +1 -0
- package/assets/components/assets/icon/carTravelMode24F.json +1 -0
- package/assets/components/assets/icon/carTravelMode32.json +1 -0
- package/assets/components/assets/icon/carTravelMode32F.json +1 -0
- package/assets/components/assets/icon/conditionalRulesDown16.json +1 -0
- package/assets/components/assets/icon/conditionalRulesDown24.json +1 -0
- package/assets/components/assets/icon/conditionalRulesDown32.json +1 -0
- package/assets/components/assets/icon/emergency16.json +1 -0
- package/assets/components/assets/icon/emergency16F.json +1 -0
- package/assets/components/assets/icon/emergency24.json +1 -0
- package/assets/components/assets/icon/emergency24F.json +1 -0
- package/assets/components/assets/icon/emergency32.json +1 -0
- package/assets/components/assets/icon/emergency32F.json +1 -0
- package/assets/components/assets/icon/eyedropper16.json +1 -1
- package/assets/components/assets/icon/eyedropper24.json +1 -1
- package/assets/components/assets/icon/eyedropper32.json +1 -1
- package/assets/components/assets/icon/featureDetailsSet16.json +1 -0
- package/assets/components/assets/icon/featureDetailsSet24.json +1 -0
- package/assets/components/assets/icon/featureDetailsSet32.json +1 -0
- package/assets/components/assets/icon/fileBim16.json +1 -0
- package/assets/components/assets/icon/fileBim24.json +1 -0
- package/assets/components/assets/icon/fileBim32.json +1 -0
- package/assets/components/assets/icon/fileDwg16.json +1 -0
- package/assets/components/assets/icon/fileDwg24.json +1 -0
- package/assets/components/assets/icon/fileDwg32.json +1 -0
- package/assets/components/assets/icon/fileRvt16.json +1 -0
- package/assets/components/assets/icon/fileRvt24.json +1 -0
- package/assets/components/assets/icon/fileRvt32.json +1 -0
- package/assets/components/assets/icon/gradient16.json +1 -0
- package/assets/components/assets/icon/gradient24.json +1 -0
- package/assets/components/assets/icon/gradient32.json +1 -0
- package/assets/components/assets/icon/layerStreamSetting16.json +1 -0
- package/assets/components/assets/icon/layerStreamSetting24.json +1 -0
- package/assets/components/assets/icon/layerStreamSetting32.json +1 -0
- package/assets/components/assets/icon/mopedTravelMode16.json +1 -0
- package/assets/components/assets/icon/mopedTravelMode16F.json +1 -0
- package/assets/components/assets/icon/mopedTravelMode24.json +1 -0
- package/assets/components/assets/icon/mopedTravelMode24F.json +1 -0
- package/assets/components/assets/icon/mopedTravelMode32.json +1 -0
- package/assets/components/assets/icon/mopedTravelMode32F.json +1 -0
- package/assets/components/assets/icon/motorcycleTravelMode16.json +1 -0
- package/assets/components/assets/icon/motorcycleTravelMode16F.json +1 -0
- package/assets/components/assets/icon/motorcycleTravelMode24.json +1 -0
- package/assets/components/assets/icon/motorcycleTravelMode24F.json +1 -0
- package/assets/components/assets/icon/motorcycleTravelMode32.json +1 -0
- package/assets/components/assets/icon/motorcycleTravelMode32F.json +1 -0
- package/assets/components/assets/icon/publish16.json +1 -0
- package/assets/components/assets/icon/publish24.json +1 -0
- package/assets/components/assets/icon/publish32.json +1 -0
- package/assets/components/assets/icon/scooterTravelMode16.json +1 -0
- package/assets/components/assets/icon/scooterTravelMode16F.json +1 -0
- package/assets/components/assets/icon/scooterTravelMode24.json +1 -0
- package/assets/components/assets/icon/scooterTravelMode24F.json +1 -0
- package/assets/components/assets/icon/scooterTravelMode32.json +1 -0
- package/assets/components/assets/icon/scooterTravelMode32F.json +1 -0
- package/assets/components/assets/icon/shuttleTravelMode16.json +1 -0
- package/assets/components/assets/icon/shuttleTravelMode16F.json +1 -0
- package/assets/components/assets/icon/shuttleTravelMode24.json +1 -0
- package/assets/components/assets/icon/shuttleTravelMode24F.json +1 -0
- package/assets/components/assets/icon/shuttleTravelMode32.json +1 -0
- package/assets/components/assets/icon/shuttleTravelMode32F.json +1 -0
- package/assets/components/assets/icon/strollerTravelMode16.json +1 -0
- package/assets/components/assets/icon/strollerTravelMode16F.json +1 -0
- package/assets/components/assets/icon/strollerTravelMode24.json +1 -0
- package/assets/components/assets/icon/strollerTravelMode24F.json +1 -0
- package/assets/components/assets/icon/strollerTravelMode32.json +1 -0
- package/assets/components/assets/icon/strollerTravelMode32F.json +1 -0
- package/assets/components/assets/icon/trainTravelMode16.json +1 -0
- package/assets/components/assets/icon/trainTravelMode16F.json +1 -0
- package/assets/components/assets/icon/trainTravelMode24.json +1 -0
- package/assets/components/assets/icon/trainTravelMode24F.json +1 -0
- package/assets/components/assets/icon/trainTravelMode32.json +1 -0
- package/assets/components/assets/icon/trainTravelMode32F.json +1 -0
- package/assets/components/assets/icon/tramTravelMode16.json +1 -0
- package/assets/components/assets/icon/tramTravelMode16F.json +1 -0
- package/assets/components/assets/icon/tramTravelMode24.json +1 -0
- package/assets/components/assets/icon/tramTravelMode24F.json +1 -0
- package/assets/components/assets/icon/tramTravelMode32.json +1 -0
- package/assets/components/assets/icon/tramTravelMode32F.json +1 -0
- package/assets/components/assets/icon/truckTravelMode16.json +1 -0
- package/assets/components/assets/icon/truckTravelMode16F.json +1 -0
- package/assets/components/assets/icon/truckTravelMode24.json +1 -0
- package/assets/components/assets/icon/truckTravelMode24F.json +1 -0
- package/assets/components/assets/icon/truckTravelMode32.json +1 -0
- package/assets/components/assets/icon/truckTravelMode32F.json +1 -0
- package/assets/components/assets/icon/velocityServer16.json +1 -0
- package/assets/components/assets/icon/velocityServer24.json +1 -0
- package/assets/components/assets/icon/velocityServer32.json +1 -0
- package/assets/components/assets/icon/walkingTravelMode16.json +1 -0
- package/assets/components/assets/icon/walkingTravelMode16F.json +1 -0
- package/assets/components/assets/icon/walkingTravelMode24.json +1 -0
- package/assets/components/assets/icon/walkingTravelMode24F.json +1 -0
- package/assets/components/assets/icon/walkingTravelMode32.json +1 -0
- package/assets/components/assets/icon/walkingTravelMode32F.json +1 -0
- package/assets/components/assets/icon/wheelchairTravelMode16.json +1 -0
- package/assets/components/assets/icon/wheelchairTravelMode16F.json +1 -0
- package/assets/components/assets/icon/wheelchairTravelMode24.json +1 -0
- package/assets/components/assets/icon/wheelchairTravelMode24F.json +1 -0
- package/assets/components/assets/icon/wheelchairTravelMode32.json +1 -0
- package/assets/components/assets/icon/wheelchairTravelMode32F.json +1 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/003fd7745966fe03510c.js +1 -0
- package/assets/esri/core/workers/chunks/00bae4b7e179336e0362.js +1 -0
- package/assets/esri/core/workers/chunks/026d3fa331caec1ea3d2.js +1 -0
- package/assets/esri/core/workers/chunks/027c3ea756db68e51f0a.js +1 -0
- package/assets/esri/core/workers/chunks/{81b2985b83be8f8f1090.js → 02876e434dc91c42b2f4.js} +1 -1
- package/assets/esri/core/workers/chunks/041c372e98a6fba90b36.js +1 -0
- package/assets/esri/core/workers/chunks/0783890816bac45277b9.js +1 -0
- package/assets/esri/core/workers/chunks/07aac6245a0d1adbb2d4.js +1 -0
- package/assets/esri/core/workers/chunks/0839da55707f7c4cf780.js +1 -0
- package/assets/esri/core/workers/chunks/0b1454a77a6a682541dc.js +2 -0
- package/assets/esri/core/workers/chunks/{d82b543c96f09ded3bf9.js.LICENSE.txt → 0b1454a77a6a682541dc.js.LICENSE.txt} +6 -1
- package/assets/esri/core/workers/chunks/0c00e5e4bd18467bcecd.js +1 -0
- package/assets/esri/core/workers/chunks/{478879ba965798f61bf3.js → 0d96e39380fd84cea9ba.js} +1 -1
- package/assets/esri/core/workers/chunks/0dad0bca8d58b2c63d22.js +1 -0
- package/assets/esri/core/workers/chunks/0ef93722524620023f69.js +1 -0
- package/assets/esri/core/workers/chunks/{03e20ac54d6f141b5001.js → 11241781baaed346af52.js} +1 -1
- package/assets/esri/core/workers/chunks/127cd8fee3717a473fc5.js +1 -0
- package/assets/esri/core/workers/chunks/1286f41f245ef22b3a26.js +1 -0
- package/assets/esri/core/workers/chunks/161d60fdac2013c15543.js +1 -0
- package/assets/esri/core/workers/chunks/1661684357912726a72a.js +1 -0
- package/assets/esri/core/workers/chunks/168de44a789d1cecc1f8.js +1 -0
- package/assets/esri/core/workers/chunks/1961b59756933e0a82f2.js +1 -0
- package/assets/esri/core/workers/chunks/1c7183551f5269bdcf13.js +30 -0
- package/assets/esri/core/workers/chunks/1d9560eb8b21b9e76616.js +1 -0
- package/assets/esri/core/workers/chunks/1d9d7915cf7449e5d468.js +1 -0
- package/assets/esri/core/workers/chunks/{b364ec104dd59faa41b6.js → 1f82a0f134ea912fc686.js} +1 -1
- package/assets/esri/core/workers/chunks/1f85646936200a399c15.js +1 -0
- package/assets/esri/core/workers/chunks/2171aaa147aa4d9fc5b5.js +1 -0
- package/assets/esri/core/workers/chunks/235cb82952a18ff8d206.js +1 -0
- package/assets/esri/core/workers/chunks/260d4571722cb1ff1366.js +1 -0
- package/assets/esri/core/workers/chunks/266ba61b72a278d93a26.js +1 -0
- package/assets/esri/core/workers/chunks/27b80c386cebadcaca3c.js +1 -0
- package/assets/esri/core/workers/chunks/29d3890a5a43d934067a.js +1 -0
- package/assets/esri/core/workers/chunks/{333a0038d782d8a34d58.js → 2abf124e2956e4f76688.js} +1 -1
- package/assets/esri/core/workers/chunks/2f17438d215bea3ce70f.js +1 -0
- package/assets/esri/core/workers/chunks/30e710ec4d22c43d4e7e.js +1 -0
- package/assets/esri/core/workers/chunks/356cb86606b8c674f947.js +1 -0
- package/assets/esri/core/workers/chunks/3697e51e1e4cf442f39a.js +1 -0
- package/assets/esri/core/workers/chunks/398e0dd2bc7e1ab84831.js +1 -0
- package/assets/esri/core/workers/chunks/3a58708217a9c11836ab.js +1 -0
- package/assets/esri/core/workers/chunks/3b1052aa30af3f6186cc.js +1 -0
- package/assets/esri/core/workers/chunks/3bbf684ee2484eb44c9f.js +1 -0
- package/assets/esri/core/workers/chunks/3cd9bd20e75ba4d5b294.js +1 -0
- package/assets/esri/core/workers/chunks/3e87e3ad857d72f6ecbb.js +1 -0
- package/assets/esri/core/workers/chunks/3ea5a18b264628dc37f0.js +1 -0
- package/assets/esri/core/workers/chunks/41809c16544ec25120fa.js +1 -0
- package/assets/esri/core/workers/chunks/41913575dd45c65d645e.js +1 -0
- package/assets/esri/core/workers/chunks/427dec43ef2d67467699.js +1 -0
- package/assets/esri/core/workers/chunks/42e483fde18f12da32a6.js +1 -0
- package/assets/esri/core/workers/chunks/43ab44d37bc0ea97ef98.js +1 -0
- package/assets/esri/core/workers/chunks/{746b3e98bad32c366a27.js → 444f0f51b3ee0b9845a5.js} +1 -1
- package/assets/esri/core/workers/chunks/46e622857ba92a72a317.js +1 -0
- package/assets/esri/core/workers/chunks/47f2113357b2aa4f4f37.js +1 -0
- package/assets/esri/core/workers/chunks/488ed9584b527ec47be3.js +1 -0
- package/assets/esri/core/workers/chunks/4ad32580e0c0699fde1f.js +1 -0
- package/assets/esri/core/workers/chunks/4d0f793dee4ad919221b.js +1 -0
- package/assets/esri/core/workers/chunks/{f209a7076d67cbf4d205.js → 4e676e888a935c507d90.js} +1 -1
- package/assets/esri/core/workers/chunks/4eed175277eb0df3c821.js +1 -0
- package/assets/esri/core/workers/chunks/50d5d6654ada9f28345d.js +1 -0
- package/assets/esri/core/workers/chunks/54c6e870262469d0d702.js +1 -0
- package/assets/esri/core/workers/chunks/54d07eadf113f0e4e506.js +1 -0
- package/assets/esri/core/workers/chunks/54ed37ec9682ea739deb.js +1 -0
- package/assets/esri/core/workers/chunks/55369c5bd65bcaf78da1.js +1 -0
- package/assets/esri/core/workers/chunks/56fd3da911c2c4511e5d.js +1 -0
- package/assets/esri/core/workers/chunks/58c79e15ca95238a4b43.js +1 -0
- package/assets/esri/core/workers/chunks/59592bb25f226865e88a.js +1 -0
- package/assets/esri/core/workers/chunks/5a4d7ba6dc1d4b41d80d.js +1 -0
- package/assets/esri/core/workers/chunks/5d55b4449bcb24cd72b6.js +1 -0
- package/assets/esri/core/workers/chunks/5d8fe41a3c06ddb4094b.js +1 -0
- package/assets/esri/core/workers/chunks/5ef37f37e405b3bb5450.js +1 -0
- package/assets/esri/core/workers/chunks/608d707fd9d9f9088473.js +1 -0
- package/assets/esri/core/workers/chunks/61ef14e42bc09b787d89.js +1 -0
- package/assets/esri/core/workers/chunks/628f56c09838eb9c573b.js +1 -0
- package/assets/esri/core/workers/chunks/656d6963e8f837fbf28f.js +1 -0
- package/assets/esri/core/workers/chunks/68b47a5a50e0b5fffca2.js +1 -0
- package/assets/esri/core/workers/chunks/6a0352d20596ca3f4b64.js +1 -0
- package/assets/esri/core/workers/chunks/6c7ff968bd4fc816442d.js +1 -0
- package/assets/esri/core/workers/chunks/6dac8dfcd63fc757ae2d.js +1 -0
- package/assets/esri/core/workers/chunks/6e526c06825ecc6c99c0.js +1 -0
- package/assets/esri/core/workers/chunks/6e70e922331704b92a08.js +1 -0
- package/assets/esri/core/workers/chunks/6ea8b0d68881d16a2432.js +1 -0
- package/assets/esri/core/workers/chunks/6f67c9f68101a084b683.js +30 -0
- package/assets/esri/core/workers/chunks/6f9ea461c268c421f9c9.js +1 -0
- package/assets/esri/core/workers/chunks/7027d93dc5a4595d70c6.js +1 -0
- package/assets/esri/core/workers/chunks/70b35b2446558d5280e3.js +1 -0
- package/assets/esri/core/workers/chunks/728ad5bbbcbf88d6249f.js +1 -0
- package/assets/esri/core/workers/chunks/7349cb45a93e6916f115.js +1 -0
- package/assets/esri/core/workers/chunks/74be994d789c57031631.js +1 -0
- package/assets/esri/core/workers/chunks/751609831b283903ba48.js +1 -0
- package/assets/esri/core/workers/chunks/76edaeaf8fe344bb77a8.js +1 -0
- package/assets/esri/core/workers/chunks/76fe5b821d6b54db5721.js +1 -0
- package/assets/esri/core/workers/chunks/7bacdd65a6cc4d284e0a.js +2 -0
- package/assets/esri/core/workers/chunks/7c7c11c0fde8b63e330b.js +1 -0
- package/assets/esri/core/workers/chunks/7e6ccf9f3e756186e93e.js +1 -0
- package/assets/esri/core/workers/chunks/81d30c9062ad0120a863.js +1 -0
- package/assets/esri/core/workers/chunks/824051af00e7a1f05ed0.js +1 -0
- package/assets/esri/core/workers/chunks/84772b023d04e415f17f.js +1 -0
- package/assets/esri/core/workers/chunks/85edbb072a2ce6c1bb30.js +2 -0
- package/assets/esri/core/workers/chunks/{2d2c10c31cc1460dd96a.js → 88827e23f8938342781c.js} +1 -1
- package/assets/esri/core/workers/chunks/88b480a1d1fb01778798.js +267 -0
- package/assets/esri/core/workers/chunks/88c5f7c712c6b89b5109.js +1 -0
- package/assets/esri/core/workers/chunks/88e469b82d2594f23649.js +1 -0
- package/assets/esri/core/workers/chunks/8a14e3db28c403b046cf.js +1 -0
- package/assets/esri/core/workers/chunks/8a48a6760c33ed50b650.js +1 -0
- package/assets/esri/core/workers/chunks/8a664451845a47048859.js +1 -0
- package/assets/esri/core/workers/chunks/8a8242e7cc7e6a9e7876.js +1 -0
- package/assets/esri/core/workers/chunks/8acee3fba488f202f82f.js +1 -0
- package/assets/esri/core/workers/chunks/8b73f4d2f99c0b54cced.js +1 -0
- package/assets/esri/core/workers/chunks/91a0227a64a944af3286.js +596 -0
- package/assets/esri/core/workers/chunks/943cf0653a2b7de16a4f.js +1 -0
- package/assets/esri/core/workers/chunks/9444ed8ea117861ae89b.js +1 -0
- package/assets/esri/core/workers/chunks/9482a6d7baa24bbf5693.js +1 -0
- package/assets/esri/core/workers/chunks/96bba4d93a32ad34a1c8.js +1 -0
- package/assets/esri/core/workers/chunks/9a38fd68b02b617c45d3.js +1 -0
- package/assets/esri/core/workers/chunks/{e0a63b5861e8c975097e.js → 9aaf78b831f8739bc127.js} +1 -1
- package/assets/esri/core/workers/chunks/{4d378d4e021a33b0047e.js → 9be4438ce2c7180adadf.js} +1 -1
- package/assets/esri/core/workers/chunks/9d434360dfce1e49b7b9.js +1 -0
- package/assets/esri/core/workers/chunks/9f4b97204def91567e3c.js +1 -0
- package/assets/esri/core/workers/chunks/a169d9fe66b5865911d9.js +1 -0
- package/assets/esri/core/workers/chunks/a37c28e3c4a2be9fd1d5.js +1 -0
- package/assets/esri/core/workers/chunks/a37fc886227365f7ecd5.js +1 -0
- package/assets/esri/core/workers/chunks/a5d8d6f3c0c8de474efd.js +1 -0
- package/assets/esri/core/workers/chunks/a65d576e90179a2b5400.js +1 -0
- package/assets/esri/core/workers/chunks/a8d7f59927bdad564141.js +1 -0
- package/assets/esri/core/workers/chunks/{678c9f15712cf3d3bb9e.js → aa1a3a849aba84cf585b.js} +1 -1
- package/assets/esri/core/workers/chunks/abc06d10c7ac8ba5b0e4.js +1 -0
- package/assets/esri/core/workers/chunks/abe22ae8ee0dcc9efbb7.js +1 -0
- package/assets/esri/core/workers/chunks/ae0a572cbbdd9815ee2e.js +1 -0
- package/assets/esri/core/workers/chunks/af5db0372d526e592fcc.js +1 -0
- package/assets/esri/core/workers/chunks/b1a21a4d7d73ad7d0e47.js +1 -0
- package/assets/esri/core/workers/chunks/b2983f521d8c96becd8a.js +1 -0
- package/assets/esri/core/workers/chunks/{915a5e8aecf25f3bc72b.js → b475f5492c6e3fd4cca8.js} +1 -1
- package/assets/esri/core/workers/chunks/b495f14d90abe8d1a558.js +1 -0
- package/assets/esri/core/workers/chunks/{f11ea0d3de93ec0392af.js → b54b7cc6b23a70fed700.js} +1 -1
- package/assets/esri/core/workers/chunks/b702279c48f3009f6dd8.js +1 -0
- package/assets/esri/core/workers/chunks/b79058f5bda6fcac22f8.js +1 -0
- package/assets/esri/core/workers/chunks/b801631b58e6fc6cec8a.js +1 -0
- package/assets/esri/core/workers/chunks/b92794def31592a6a25f.js +1 -0
- package/assets/esri/core/workers/chunks/bc53ce9a643f82d516c2.js +1 -0
- package/assets/esri/core/workers/chunks/be1d6a571f76933dfbb0.js +1 -0
- package/assets/esri/core/workers/chunks/bea70be8e38b8c83ccd2.js +1 -0
- package/assets/esri/core/workers/chunks/bfcdc5c315131aae34d8.js +1 -0
- package/assets/esri/core/workers/chunks/c0f624a2ca0d07ef8f8c.js +1 -0
- package/assets/esri/core/workers/chunks/c1189316d24fb4cdb2a0.js +1 -0
- package/assets/esri/core/workers/chunks/c1838822b096d5f36a8b.js +1 -0
- package/assets/esri/core/workers/chunks/c3381b9a36299210ee47.js +1 -0
- package/assets/esri/core/workers/chunks/c46a4adea39636a96d03.js +1 -0
- package/assets/esri/core/workers/chunks/{c2882a9e67124b7c18be.js → c503c79ba5761f7abbeb.js} +1 -1
- package/assets/esri/core/workers/chunks/c6030271bd6d39b6e1db.js +1 -0
- package/assets/esri/core/workers/chunks/c9065cee85eb8dde6a42.js +1 -0
- package/assets/esri/core/workers/chunks/c961aff385e38b081204.js +1 -0
- package/assets/esri/core/workers/chunks/cb5e4b9b4a59c2622eb5.js +1 -0
- package/assets/esri/core/workers/chunks/cca095f0c623e037002d.js +1 -0
- package/assets/esri/core/workers/chunks/ce2aa75e084ee56f5e29.js +1 -0
- package/assets/esri/core/workers/chunks/cf826787ab8d4b27ad80.js +1 -0
- package/assets/esri/core/workers/chunks/d05a7ce6c1d4b883ed4c.js +30 -0
- package/assets/esri/core/workers/chunks/d201a5dff18a5bb467ab.js +1 -0
- package/assets/esri/core/workers/chunks/d2aa75816e84b1e7fd25.js +1 -0
- package/assets/esri/core/workers/chunks/d4a9eb4470cc6a1f67fc.js +2 -0
- package/assets/esri/core/workers/chunks/{8ccf2f65d8ed3c48ffff.js → d950d5c2844206502ff0.js} +1 -1
- package/assets/esri/core/workers/chunks/db3c484bfa607dec6050.js +1 -0
- package/assets/esri/core/workers/chunks/db588bf3256e95c977b7.js +1 -0
- package/assets/esri/core/workers/chunks/dbc9249dae41096d750d.js +1 -0
- package/assets/esri/core/workers/chunks/dcc719e15b2e0cce1f3b.js +1 -0
- package/assets/esri/core/workers/chunks/{6bb090f3e5c18604cb39.js → dd5b362bded458afa2d6.js} +1 -1
- package/assets/esri/core/workers/chunks/de583214195eff13cb00.js +1140 -0
- package/assets/esri/core/workers/chunks/dec6d41d614105e6fd93.js +1 -0
- package/assets/esri/core/workers/chunks/df8143b72ef94806c992.js +1 -0
- package/assets/esri/core/workers/chunks/dfdd474fddcd1d6091ce.js +1 -0
- package/assets/esri/core/workers/chunks/e0b47b08ae2c36c76fa2.js +1 -0
- package/assets/esri/core/workers/chunks/e235ea4293d5d463acfb.js +1 -0
- package/assets/esri/core/workers/chunks/e43486113aaf72ac4dc1.js +1 -0
- package/assets/esri/core/workers/chunks/ea4c3393c5757e309a71.js +1 -0
- package/assets/esri/core/workers/chunks/ed216ddeb7f59f510bd0.js +1 -0
- package/assets/esri/core/workers/chunks/ef8886dff54063928bcb.js +1 -0
- package/assets/esri/core/workers/chunks/f05932aea4eb267cba4d.js +1 -0
- package/assets/esri/core/workers/chunks/f09a41ad239d467d9438.js +2 -0
- package/assets/esri/core/workers/chunks/f1673e723b336204ad77.js +1 -0
- package/assets/esri/core/workers/chunks/f5223ffb3be548c9b0a1.js +1 -0
- package/assets/esri/core/workers/chunks/f52443cd203e687551da.js +1 -0
- package/assets/esri/core/workers/chunks/f6912532aae1638cbe8f.js +1 -0
- package/assets/esri/core/workers/chunks/fae147d03ed723ab234d.js +1 -0
- package/assets/esri/core/workers/chunks/ffcd4fca7f67e1f943f1.js +1 -0
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/chunks/CheckerBoard.glsl.js +3 -5
- package/chunks/ColorMaterial.glsl.js +4 -6
- package/chunks/ComponentShader.glsl.js +42 -44
- package/chunks/DefaultMaterial.glsl.js +21 -23
- package/chunks/EdgeShader.glsl.js +9 -11
- package/chunks/GaussianSplat.glsl.js +8 -8
- package/chunks/ImageMaterial.glsl.js +5 -7
- package/chunks/LineCallout.glsl.js +9 -12
- package/chunks/LineMarker.glsl.js +24 -26
- package/chunks/OITDim.glsl.js +3 -4
- package/chunks/Path.glsl.js +15 -17
- package/chunks/Pattern.glsl.js +25 -27
- package/chunks/RealisticTree.glsl.js +11 -13
- package/chunks/RibbonLine.glsl.js +42 -45
- package/chunks/ShadedColorMaterial.glsl.js +8 -9
- package/chunks/Water.glsl.js +18 -20
- package/config.js +1 -1
- package/core/workers/WorkerHandle.js +1 -1
- package/geometry/Mesh.js +1 -1
- package/geometry/support/DoubleArray.js +1 -1
- package/geometry/support/triangulationUtilsDeprecated.js +1 -1
- package/kernel.js +1 -1
- package/layers/VoxelWasmPerSceneView.js +1 -1
- package/layers/graphics/FlatFeature.js +1 -1
- package/layers/graphics/FlatFeatureSet.js +1 -1
- package/layers/graphics/OptimizedFeature.js +1 -1
- package/layers/graphics/data/AttributesBuilder.js +1 -1
- package/layers/graphics/data/QueryEngineResult.js +1 -1
- package/layers/graphics/data/flatFeatureQueryEngineAdapter.js +1 -1
- package/layers/graphics/data/optimizedFeatureQueryEngineAdapter.js +1 -1
- package/layers/graphics/featureConversionUtils.js +1 -1
- package/layers/support/LabelClass.js +1 -1
- package/layers/support/featureLayerUtils.js +1 -1
- package/layers/support/labelUtils.js +1 -1
- package/layers/video/videoUtils.js +1 -1
- package/package.json +3 -3
- package/popup/Feature.d.ts +2 -0
- package/popup/Feature.js +1 -1
- package/popup/actions.js +1 -1
- package/popupTemplateUtils.js +2 -0
- package/renderers/visualVariables/SizeVariable.js +1 -1
- package/renderers/visualVariables/support/sizeVariableUtils.js +1 -1
- package/rest/query/operations/pbfFeatureServiceParser.js +1 -1
- package/rest/support/OutDistance.js +2 -0
- package/rest/support/Query.js +1 -1
- package/smartMapping/statistics/support/utils.js +1 -1
- package/smartMapping/support/adapters/InMemoryLayerAdapter.js +1 -1
- package/support/arcadeUtils.js +1 -1
- package/support/revision.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/mesh/MeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
- package/views/2d/layers/ImageryLayerView2D.js +1 -1
- package/views/2d/layers/ImageryTileLayerView2D.js +1 -1
- package/views/2d/layers/features/layerAdapters/CatalogFootprintLayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/FeatureLayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/InMemoryLayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/KnowledgeGraphSublayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/OGCFeatureLayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/OrientedImageryLayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/SubtypeGroupLayerAdapter.js +1 -1
- package/views/2d/layers/features/support/FeatureSetReader.js +1 -1
- package/views/2d/layers/features/support/FeatureSetReaderPBF.js +1 -1
- package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
- package/views/2d/layers/imagery/ImageryView2D.js +1 -1
- package/views/2d/layers/imagery/VectorFieldView2D.js +1 -1
- package/views/3d/FocusAreasView.js +1 -1
- package/views/3d/analysis/AreaMeasurement/support/AreaMeasurementController.js +1 -1
- package/views/3d/analysis/AreaMeasurement/support/MeasurementData.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillController.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillVisualization.js +1 -1
- package/views/3d/layers/BuildingComponentSublayerView3D.js +1 -1
- package/views/3d/layers/FeatureLikeLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMeshNormals.js +1 -1
- package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
- package/views/3d/layers/StreamLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DGraphicsPipeline.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DWaterSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/featureExpressionInfoUtils.js +1 -1
- package/views/3d/layers/graphics/polygonUtils.js +1 -1
- package/views/3d/layers/graphics/tessellationUtils.js +1 -1
- package/views/3d/layers/i3s/I3SQueryEngine.js +1 -1
- package/views/3d/state/ViewStateManager.js +1 -1
- package/views/3d/support/renderInfoUtils/polygon.js +1 -1
- package/views/3d/support/renderInfoUtils/polygonDeprecated.js +1 -1
- package/views/3d/terrain/OverlayRenderer.js +1 -1
- package/views/3d/terrain/PatchRenderData.js +1 -1
- package/views/3d/terrain/TerrainRenderer.js +1 -1
- package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterialGlobalParameters.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterialRepository.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentShader.glsl.js +1 -1
- package/views/3d/webgl-engine/core/renderPasses/RenderPassManager.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/hud/HUD.glsl.js +20 -32
- package/views/3d/webgl-engine/core/shaderLibrary/shading/VisualVariables.glsl.js +5 -3
- package/views/3d/webgl-engine/core/shaderLibrary/terrain/Overlay.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/util/EmissionDimming.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/RenderPluginManager.js +1 -1
- package/views/3d/webgl-engine/effects/geometry/RenderOccludedRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
- package/views/3d/webgl-engine/lib/Compositor.js +1 -1
- package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/OrderIndependentTransparency.js +1 -1
- package/views/3d/webgl-engine/lib/RenderFeature.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/SamplerRepository.js +2 -0
- package/views/3d/webgl-engine/lib/SortedRenderGeometryRenderer.js +1 -1
- package/views/3d/webgl-engine/lib/Viewshed.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/EdgeRenderer.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/EdgeShader.glsl.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/EdgeShaderTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/materials/CheckerBoardMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/HeatmapDensityMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/ImageMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/LineCalloutMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/LineMarkerMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/MeasurementArrowMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/Path.glsl.js +1 -1
- package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/PathTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/ShadedColorMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/SlicePlaneMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/Water.glsl.js +1 -1
- package/views/3d/webgl-engine/materials/WaterMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/WaterTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/CheckerBoard.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/CheckerBoardTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/ColorMaterial.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/ColorMaterialTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/DefaultMaterial.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/DefaultMaterialTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/GaussianSplat.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/GaussianSplatTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/HUDMaterialTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/ImageMaterial.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/ImageMaterialTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/LineCallout.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/LineCalloutTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/LineCalloutTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/LineMarker.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/LineMarkerTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/LineMarkerTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/Pattern.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/PatternTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/RealisticTree.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/RibbonLine.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/RibbonLineTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/ShadedColorMaterial.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/ShadedColorMaterialTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/statistics/RendererPerformanceInfo.js +1 -1
- package/views/VideoView.js +1 -1
- package/views/ViewAnimation.d.ts +2 -21
- package/views/interactive/tooltip/content/TooltipContent.js +1 -1
- package/views/layers/FeatureLikeLayerView.js +1 -1
- package/views/support/rasterHitTestUtils.js +2 -0
- package/views/video/VideoOperationalDataView.js +1 -1
- package/views/webgl/Sampler.js +1 -1
- package/views/webgl/ShaderBuilder.js +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.d.ts +19 -3
- package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
- package/widgets/FeatureTable/Grid/GridViewModel.js +1 -1
- package/widgets/FeatureTable/VisibleElements.d.ts +15 -1
- package/widgets/FeatureTable/VisibleElements.js +1 -1
- package/widgets/FeatureTable/support/FeatureStore.js +1 -1
- package/widgets/FeatureTable.d.ts +15 -1
- package/widgets/FeatureTable.js +1 -1
- package/widgets/Search/SearchViewModel.js +1 -1
- package/widgets/support/widgetUtils.js +1 -1
- package/assets/esri/core/workers/chunks/01be1315c60810651783.js +0 -1
- package/assets/esri/core/workers/chunks/0dd12d6af0cf7707109c.js +0 -2
- package/assets/esri/core/workers/chunks/0e2e4cb34ac6aac88ebf.js +0 -1
- package/assets/esri/core/workers/chunks/155f57fe9886ef322e2a.js +0 -1
- package/assets/esri/core/workers/chunks/170f4d83555d238e365b.js +0 -1
- package/assets/esri/core/workers/chunks/171cca726a763c770469.js +0 -1
- package/assets/esri/core/workers/chunks/1761dc5799850ca7b66c.js +0 -1
- package/assets/esri/core/workers/chunks/17d54e77001ccb48a258.js +0 -1
- package/assets/esri/core/workers/chunks/19afacc9a741038e4bfb.js +0 -1
- package/assets/esri/core/workers/chunks/1a198c9e17f7a058669e.js +0 -1
- package/assets/esri/core/workers/chunks/1ae4e43a399e1974f106.js +0 -1
- package/assets/esri/core/workers/chunks/1c742bfe3b0aa51823d1.js +0 -1
- package/assets/esri/core/workers/chunks/1d8777266fb1c5cfca55.js +0 -1
- package/assets/esri/core/workers/chunks/1f76c06af4682c85bc21.js +0 -1
- package/assets/esri/core/workers/chunks/205e957ffd7e95f530f7.js +0 -1
- package/assets/esri/core/workers/chunks/20e715e3aeb1c3265901.js +0 -1
- package/assets/esri/core/workers/chunks/210629f3c28d4339c655.js +0 -1
- package/assets/esri/core/workers/chunks/21a8e2a11ffacc226e2b.js +0 -1
- package/assets/esri/core/workers/chunks/27643750dce502fedef3.js +0 -1
- package/assets/esri/core/workers/chunks/29b1a4ce7646b403008e.js +0 -1
- package/assets/esri/core/workers/chunks/2a65bbe6c63c384cbf5f.js +0 -1
- package/assets/esri/core/workers/chunks/2fa69ca3ba8c442dd7d6.js +0 -1
- package/assets/esri/core/workers/chunks/314140e2e9b813191907.js +0 -1
- package/assets/esri/core/workers/chunks/3158a3487d3e8a61b680.js +0 -1
- package/assets/esri/core/workers/chunks/35217befc8f9882d139e.js +0 -1
- package/assets/esri/core/workers/chunks/38328a785365c4783b1e.js +0 -1
- package/assets/esri/core/workers/chunks/3a2ecb883fdb5c598544.js +0 -30
- package/assets/esri/core/workers/chunks/3eef3c2e94aa2a00d76a.js +0 -1
- package/assets/esri/core/workers/chunks/40d6ad030614099155cd.js +0 -1414
- package/assets/esri/core/workers/chunks/41396724040180d2537f.js +0 -1
- package/assets/esri/core/workers/chunks/41e59d75ccb51a238739.js +0 -1
- package/assets/esri/core/workers/chunks/44016e1176629c36bc11.js +0 -1
- package/assets/esri/core/workers/chunks/453280ea87a696a4df81.js +0 -1
- package/assets/esri/core/workers/chunks/499b899bf88aaf29230d.js +0 -1
- package/assets/esri/core/workers/chunks/4b0d6309abf273f1f79f.js +0 -1
- package/assets/esri/core/workers/chunks/4e07827ab870c65377d3.js +0 -1
- package/assets/esri/core/workers/chunks/51852ef71ac04954fdae.js +0 -1
- package/assets/esri/core/workers/chunks/53b797e384be9628fc94.js +0 -1
- package/assets/esri/core/workers/chunks/549a51dedcc49f366e53.js +0 -1
- package/assets/esri/core/workers/chunks/54c0306082d30d59cba2.js +0 -1
- package/assets/esri/core/workers/chunks/56c7d7c7217557375fb6.js +0 -1
- package/assets/esri/core/workers/chunks/57cdd5d4ae073d5ca725.js +0 -1
- package/assets/esri/core/workers/chunks/5a1d975b3e9e6b7eff67.js +0 -1
- package/assets/esri/core/workers/chunks/5b9257c5359fa05f4f28.js +0 -1
- package/assets/esri/core/workers/chunks/5d574079f0e96e883aab.js +0 -1
- package/assets/esri/core/workers/chunks/5d967bcf71c05ddb1ab6.js +0 -1
- package/assets/esri/core/workers/chunks/5f6942ac94acd7842926.js +0 -1
- package/assets/esri/core/workers/chunks/60d0f8a949b130baff81.js +0 -1
- package/assets/esri/core/workers/chunks/61778185d702da468b00.js +0 -1
- package/assets/esri/core/workers/chunks/61b49cdaf288f36f9288.js +0 -1
- package/assets/esri/core/workers/chunks/621ea864e2774f160d1c.js +0 -1
- package/assets/esri/core/workers/chunks/679086351352756b33c9.js +0 -1
- package/assets/esri/core/workers/chunks/681e97ebbf9c69c410c6.js +0 -1
- package/assets/esri/core/workers/chunks/69644b8a6ce340ca1159.js +0 -1
- package/assets/esri/core/workers/chunks/6a567755b67c06d16f21.js +0 -1
- package/assets/esri/core/workers/chunks/6e7bb6d3e739527116a4.js +0 -1
- package/assets/esri/core/workers/chunks/70263c2182dc43046742.js +0 -1
- package/assets/esri/core/workers/chunks/71326d16b5cc35c3ff7f.js +0 -1
- package/assets/esri/core/workers/chunks/73a045061e69a22b6869.js +0 -1
- package/assets/esri/core/workers/chunks/73e000cc3c4da10e9937.js +0 -1
- package/assets/esri/core/workers/chunks/75669912cddcb5db52c8.js +0 -1
- package/assets/esri/core/workers/chunks/78fbfc03d9b827c3f767.js +0 -1
- package/assets/esri/core/workers/chunks/7d0350f459844162d3a7.js +0 -1
- package/assets/esri/core/workers/chunks/7e39e9d4d68843b60e4c.js +0 -1
- package/assets/esri/core/workers/chunks/823127b23bec07e1f9d0.js +0 -2
- package/assets/esri/core/workers/chunks/84eb889b9cce35dac2e5.js +0 -1
- package/assets/esri/core/workers/chunks/854fe80272b59fafc2e9.js +0 -1
- package/assets/esri/core/workers/chunks/861817be5e050e9522ab.js +0 -1
- package/assets/esri/core/workers/chunks/888f6387e795d45a7ad3.js +0 -2
- package/assets/esri/core/workers/chunks/891d97d0da6361d63679.js +0 -1
- package/assets/esri/core/workers/chunks/8969788c57bcc11bf77b.js +0 -1
- package/assets/esri/core/workers/chunks/8d6da6573d07385f4ed5.js +0 -1
- package/assets/esri/core/workers/chunks/8ede12f54b215c52cf3c.js +0 -1
- package/assets/esri/core/workers/chunks/8fb336c2066113300d0d.js +0 -1
- package/assets/esri/core/workers/chunks/8fed6becd107d2ed9bbd.js +0 -1
- package/assets/esri/core/workers/chunks/97062996e1e4196cfa7c.js +0 -1
- package/assets/esri/core/workers/chunks/97210bcb5e3cf3ac961b.js +0 -1
- package/assets/esri/core/workers/chunks/9a235c92f21df2c17aa8.js +0 -1
- package/assets/esri/core/workers/chunks/9c819ebdc98ed8b6afcf.js +0 -1
- package/assets/esri/core/workers/chunks/9d7ffd83f69d6e639f09.js +0 -1
- package/assets/esri/core/workers/chunks/9dfd00972c12a4adc15d.js +0 -1
- package/assets/esri/core/workers/chunks/9f1f5fb648302c43ad12.js +0 -1
- package/assets/esri/core/workers/chunks/9fab410b9fa668dc498b.js +0 -1
- package/assets/esri/core/workers/chunks/a061a17b62686f945e81.js +0 -1
- package/assets/esri/core/workers/chunks/a30815a0155a3b8790b4.js +0 -1
- package/assets/esri/core/workers/chunks/a43decc8ede8b4910553.js +0 -1
- package/assets/esri/core/workers/chunks/a462aa1c7b68efad6906.js +0 -1
- package/assets/esri/core/workers/chunks/a4b6fdbc995be03d2afb.js +0 -1
- package/assets/esri/core/workers/chunks/a520f83ae0c3c3e78858.js +0 -1
- package/assets/esri/core/workers/chunks/a5d9dbb1fef8c4465943.js +0 -1
- package/assets/esri/core/workers/chunks/a73e8b80760dc88f926f.js +0 -1
- package/assets/esri/core/workers/chunks/a96692514dcaa50340dd.js +0 -1
- package/assets/esri/core/workers/chunks/aa7aaeae31ddb259e55e.js +0 -1
- package/assets/esri/core/workers/chunks/b014f0b2385dc82dc683.js +0 -2
- package/assets/esri/core/workers/chunks/b2120c4c56656be941ae.js +0 -1
- package/assets/esri/core/workers/chunks/b3950d5f1f3352521504.js +0 -1
- package/assets/esri/core/workers/chunks/b3f0600729227b458a75.js +0 -1
- package/assets/esri/core/workers/chunks/b8005b1996f42dee8237.js +0 -1
- package/assets/esri/core/workers/chunks/b85c9ceeece1bae67a16.js +0 -1
- package/assets/esri/core/workers/chunks/b8a11d32a4847513619b.js +0 -1
- package/assets/esri/core/workers/chunks/b8acb6c2538053c01cc6.js +0 -1
- package/assets/esri/core/workers/chunks/b8e85b7d5eed6e7c79b5.js +0 -1
- package/assets/esri/core/workers/chunks/bbaf1d9835671c0165ca.js +0 -1
- package/assets/esri/core/workers/chunks/bbdf27bc34fadbe8e6fe.js +0 -1
- package/assets/esri/core/workers/chunks/bc2c7cb99e227ddbd3a6.js +0 -1
- package/assets/esri/core/workers/chunks/bc85bb82cfcbc216fa31.js +0 -1
- package/assets/esri/core/workers/chunks/bcefdf9753d9d2f6f1be.js +0 -1
- package/assets/esri/core/workers/chunks/be42fe0b7ba0e27030b2.js +0 -1
- package/assets/esri/core/workers/chunks/be4d13088a557b7de4b1.js +0 -1
- package/assets/esri/core/workers/chunks/be61ea8e1883b915bbb1.js +0 -1
- package/assets/esri/core/workers/chunks/bf758d57091fa534c1f8.js +0 -1
- package/assets/esri/core/workers/chunks/bfd516c37fb717e14d71.js +0 -1
- package/assets/esri/core/workers/chunks/c22945637a40355fbe61.js +0 -1
- package/assets/esri/core/workers/chunks/c25a58d9f94aaa96957d.js +0 -1
- package/assets/esri/core/workers/chunks/c6a43f748dbf8bac4bb5.js +0 -1
- package/assets/esri/core/workers/chunks/c79827f879d1d58d3f1b.js +0 -1
- package/assets/esri/core/workers/chunks/c7ca47f5d4b2f3885239.js +0 -1
- package/assets/esri/core/workers/chunks/cb903ccbce87172a0757.js +0 -1
- package/assets/esri/core/workers/chunks/cda2e445eb2ac269abdf.js +0 -1
- package/assets/esri/core/workers/chunks/d024278a1c2aa7d22be3.js +0 -1
- package/assets/esri/core/workers/chunks/d264aed5dbe09e34040f.js +0 -1
- package/assets/esri/core/workers/chunks/d315098b038a96084ff5.js +0 -1
- package/assets/esri/core/workers/chunks/d4e55eb75fa4d3ac1e84.js +0 -1
- package/assets/esri/core/workers/chunks/d5c7ebfd5c2ca635a7a8.js +0 -1
- package/assets/esri/core/workers/chunks/d635f97b7b82a37482d6.js +0 -1
- package/assets/esri/core/workers/chunks/d7b92bd9198dd3b27eb5.js +0 -1
- package/assets/esri/core/workers/chunks/d816d1a4220d827faf63.js +0 -1
- package/assets/esri/core/workers/chunks/d82b543c96f09ded3bf9.js +0 -2
- package/assets/esri/core/workers/chunks/d8dde0d1759e009b8373.js +0 -1
- package/assets/esri/core/workers/chunks/da0a61f73d45ea9e71fc.js +0 -1
- package/assets/esri/core/workers/chunks/e305ced975d885c28e7e.js +0 -1
- package/assets/esri/core/workers/chunks/e3a73d9acebccd3ba49b.js +0 -1
- package/assets/esri/core/workers/chunks/e3c60b7df2740e600066.js +0 -1
- package/assets/esri/core/workers/chunks/e5801b0f3893d4d4f5b0.js +0 -1
- package/assets/esri/core/workers/chunks/e59f5dc8c85bcea66e98.js +0 -1
- package/assets/esri/core/workers/chunks/e611cd03eee4fae7c413.js +0 -1
- package/assets/esri/core/workers/chunks/e62d08f5488a74cbda82.js +0 -1
- package/assets/esri/core/workers/chunks/e64a92b6f4075616f40f.js +0 -1
- package/assets/esri/core/workers/chunks/e67bdd8bf38ebe89a344.js +0 -1
- package/assets/esri/core/workers/chunks/e78b442417f6a903b9b1.js +0 -1
- package/assets/esri/core/workers/chunks/e9dd60d0220036545ebb.js +0 -1
- package/assets/esri/core/workers/chunks/ea6d3b7c7d720aa7bc94.js +0 -1
- package/assets/esri/core/workers/chunks/edc2e87968c958bc852b.js +0 -1
- package/assets/esri/core/workers/chunks/ef0fe4e1a9e960a74c60.js +0 -1
- package/assets/esri/core/workers/chunks/ef9d74f8d5a502fda809.js +0 -1
- package/assets/esri/core/workers/chunks/efbbcf467b2a27a92b85.js +0 -1
- package/assets/esri/core/workers/chunks/f09446b9ff937a84d6d3.js +0 -1
- package/assets/esri/core/workers/chunks/f0bc5e8e44d53b73d431.js +0 -1
- package/assets/esri/core/workers/chunks/f201edf9b68717a6106d.js +0 -1
- package/assets/esri/core/workers/chunks/f59f1db572be1f19887f.js +0 -1
- package/assets/esri/core/workers/chunks/f9cde38cb56c547e87e5.js +0 -1
- package/assets/esri/core/workers/chunks/fb9a889ec9fd23739a14.js +0 -1
- package/assets/esri/core/workers/chunks/fc64ae69581e4c38fa8a.js +0 -1
- package/assets/esri/core/workers/chunks/fd6bbe47773bbd9f7dd9.js +0 -1
- package/assets/esri/core/workers/chunks/fe1b67ab7748a3aef231.js +0 -1
- package/assets/esri/core/workers/chunks/fe3b42eadcdd9ba54f05.js +0 -1
- package/chunks/HUDCompositing.glsl.js +0 -2
- package/views/3d/webgl-engine/core/shaderLibrary/shading/MultipassGeometryTest.glsl.js +0 -5
- package/views/3d/webgl-engine/core/shaderLibrary/shading/TerrainDepthTest.glsl.js +0 -8
- package/views/3d/webgl-engine/effects/fboFormatUtils.js +0 -2
- package/views/3d/webgl-engine/shaders/HUDCompositing.glsl.js +0 -2
- package/views/3d/webgl-engine/shaders/HUDCompositingTechnique.js +0 -2
- /package/assets/esri/core/workers/chunks/{0dd12d6af0cf7707109c.js.LICENSE.txt → 7bacdd65a6cc4d284e0a.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{823127b23bec07e1f9d0.js.LICENSE.txt → 85edbb072a2ce6c1bb30.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{888f6387e795d45a7ad3.js.LICENSE.txt → d4a9eb4470cc6a1f67fc.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{b014f0b2385dc82dc683.js.LICENSE.txt → f09a41ad239d467d9438.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1328],{52106(e,t,r){r.d(t,{A:()=>I});var n,i,o=r(5482),s=r(37838),l=r(69540),a=r(51447),u=r(25482),p=r(53966),c=r(36708),d=r(24326),h=r(91429),f=r(12195),y=r(65864),m=r(50498),g=r(55156),v=r(60950),w=r(54339),M=r(94128),b=r(33910);function x(e){if(null==e)return null;const t={};for(const r in e){const n=e[r];n&&(t[r]=n.toJSON())}return 0!==Object.keys(t).length?t:null}let I=class extends((0,l.OU)(u.o)){static{n=M.Z}static{i=this}constructor(e){super(e),this[n]=!0,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this._version=0,Object.defineProperty(this,"uid",{value:(0,d.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,a.eF)(p.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new i({aggregateGeometries:this.aggregateGeometries,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=(0,v.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const r=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[r,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const r=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",r,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,g.I)(this.origin);if(e)return(0,w.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,w.r)(this,t):null}getGlobalId(){const e=(0,g.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){return{aggregateGeometries:x(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:(0,f.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null}}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const r={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",r,r,e.action)}}_notifyLayer(e,t,r,n){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const i={graphic:this,property:e,oldValue:t,newValue:r};"origin-transform"===e&&(i.action=n),"attributes"===e&&(i.attributeName=n),this.layer.graphicChanged(i)}_watchMeshGeometryChanges(){this.addHandles([(0,c.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,c.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,o.Cg)([(0,h.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const r in e){const n=(0,y.rS)(e[r]);n&&(t[r]=n)}return 0!==Object.keys(t).length?t:null}}})],I.prototype,"aggregateGeometries",null),(0,o.Cg)([(0,h.MZ)({value:null})],I.prototype,"attributes",null),(0,o.Cg)([(0,h.MZ)({value:null,types:m.yR,json:{read:y.rS}})],I.prototype,"geometry",null),(0,o.Cg)([(0,h.MZ)({type:Boolean})],I.prototype,"isAggregate",void 0),(0,o.Cg)([(0,h.MZ)({clonable:!1})],I.prototype,"layer",void 0),(0,o.Cg)([(0,h.MZ)({clonable:"reference"})],I.prototype,"origin",void 0),(0,o.Cg)([(0,h.MZ)({type:s.A,value:null})],I.prototype,"popupTemplate",null),(0,o.Cg)([(0,h.MZ)({clonable:"reference"})],I.prototype,"sourceLayer",void 0),(0,o.Cg)([(0,h.MZ)({value:null,types:b.Es})],I.prototype,"symbol",null),(0,o.Cg)([(0,h.MZ)({clonable:!1,json:{read:!1,write:!1}})],I.prototype,"_version",void 0),(0,o.Cg)([(0,h.MZ)({type:Boolean,value:!0})],I.prototype,"visible",null),I=i=(0,o.Cg)([(0,h.$K)("esri.Graphic")],I)},46140(e,t,r){r.d(t,{A:()=>i});var n=r(49186);class i{constructor(e,t,r=""){this.major=e,this.minor=t,this._context=r}lessThan(e,t){return this.major<e||e===this.major&&this.minor<t}greaterEqual(e,t){return!this.lessThan(e,t)}toString(){return`${this.major}.${this.minor}`}validate(e){if(this.major!==e.major){const t=this._context&&this._context+":",r=this._context&&this._context+" ";throw new n.A(t+"unsupported-version",`Required major ${r}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:e})}}clone(){return new i(this.major,this.minor,this._context)}static parse(e,t=""){const[r,o]=e.split("."),s=/^\s*\d+\s*$/;if(!r?.match||!s.test(r))throw new n.A((t&&t+":")+"invalid-version","Expected major version to be a number, but got '${version}'",{version:e});if(!o?.match||!s.test(o))throw new n.A((t&&t+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:e});const l=parseInt(r,10),a=parseInt(o,10);return new i(l,a,t)}}},6797(e,t,r){r.d(t,{Ui:()=>d});var n=r(69622),i=r(7762),o=r(88620);const s=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function l(e){return e instanceof n.A}function a(e){return e instanceof i.A?Object.keys(e.items):l(e)?(0,o.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof i.A?e.items[t]:e[t]}function p(e){return e?e.declaredClass:null}function c(e,t){const r=e.diff;if(r&&"function"==typeof r)return r(e,t);const n=a(e),i=a(t);if(0===n.length&&0===i.length)return;if(!n.length||!i.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};const o=i.filter(e=>!n.includes(e)),d=n.filter(e=>!i.includes(e)),h=n.filter(r=>i.includes(r)&&u(e,r)!==u(t,r)).concat(o,d).sort(),f=p(e);if(f&&s.has(f)&&h.length)return{type:"complete",oldValue:e,newValue:t};let y;const m=l(e)&&l(t);for(const n of h){const i=u(e,n),o=u(t,n);let s;if((m||"function"!=typeof i&&"function"!=typeof o)&&i!==o&&(null!=i||null!=o)){if(r&&r[n]&&"function"==typeof r[n])s=r[n]?.(i,o);else if(i instanceof Date&&o instanceof Date){if(i.getTime()===o.getTime())continue;s={type:"complete",oldValue:i,newValue:o}}else s="object"==typeof i&&"object"==typeof o&&p(i)===p(o)?c(i,o):{type:"complete",oldValue:i,newValue:o};null!=s&&(null!=y?y.diff[n]=s:y={type:"partial",diff:{[n]:s}})}}return y}function d(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&p(e)!==p(t)?{type:"complete",oldValue:e,newValue:t}:c(e,t)}},9093(e,t,r){function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}r.d(t,{o8:()=>i,vt:()=>n,zK:()=>o});const o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:i,create:n,fromValues:function(e,t,r,n,i,o,s,l,a,u,p,c,d,h,f,y){return[e,t,r,n,i,o,s,l,a,u,p,c,d,h,f,y]}},Symbol.toStringTag,{value:"Module"}))},35522(e,t,r){r.d(t,{$A:()=>A,Bw:()=>o,C:()=>s,Cc:()=>S,DI:()=>x,Il:()=>q,Io:()=>v,Ln:()=>g,Om:()=>C,Qr:()=>c,Re:()=>u,S8:()=>I,T9:()=>y,WQ:()=>a,Z0:()=>T,_S:()=>h,aI:()=>R,ei:()=>_,fw:()=>O,g7:()=>j,gL:()=>F,hG:()=>w,hZ:()=>l,hs:()=>m,jb:()=>D,jk:()=>f,lo:()=>k,lw:()=>p,m3:()=>M,oW:()=>N,t2:()=>E,tn:()=>d,uE:()=>G,xg:()=>z,ze:()=>b});var n=r(51850),i=r(34304);function o(e){const t=e[0],r=e[1],n=e[2];return Math.sqrt(t*t+r*r+n*n)}function s(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function l(e,t,r,n){return e[0]=t,e[1]=r,e[2]=n,e}function a(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e[2]=t[2]+r[2],e}function u(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e[2]=t[2]-r[2],e}function p(e,t,r){return e[0]=t[0]*r[0],e[1]=t[1]*r[1],e[2]=t[2]*r[2],e}function c(e,t,r){return e[0]=t[0]/r[0],e[1]=t[1]/r[1],e[2]=t[2]/r[2],e}function d(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function h(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function f(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e[2]=Math.min(t[2],r[2]),e}function y(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e[2]=Math.max(t[2],r[2]),e}function m(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e}function g(e,t,r,n){return e[0]=t[0]+r[0]*n,e[1]=t[1]+r[1]*n,e[2]=t[2]+r[2]*n,e}function v(e,t){const r=t[0]-e[0],n=t[1]-e[1],i=t[2]-e[2];return Math.sqrt(r*r+n*n+i*i)}function w(e,t){const r=t[0]-e[0],n=t[1]-e[1],i=t[2]-e[2];return r*r+n*n+i*i}function M(e){const t=e[0],r=e[1],n=e[2];return t*t+r*r+n*n}function b(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function x(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function I(e,t){const r=t[0],n=t[1],i=t[2];let o=r*r+n*n+i*i;return o>0&&(o=1/Math.sqrt(o),e[0]=t[0]*o,e[1]=t[1]*o,e[2]=t[2]*o),e}function C(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function A(e,t,r){const n=t[0],i=t[1],o=t[2],s=r[0],l=r[1],a=r[2];return e[0]=i*a-o*l,e[1]=o*s-n*a,e[2]=n*l-i*s,e}function S(e,t,r,n){const i=t[0],o=t[1],s=t[2];return e[0]=i+n*(r[0]-i),e[1]=o+n*(r[1]-o),e[2]=s+n*(r[2]-s),e}function T(e,t,r){const n=t[0],i=t[1],o=t[2];return e[0]=r[0]*n+r[4]*i+r[8]*o+r[12],e[1]=r[1]*n+r[5]*i+r[9]*o+r[13],e[2]=r[2]*n+r[6]*i+r[10]*o+r[14],e}function _(e,t,r){const n=t[0],i=t[1],o=t[2];return e[0]=n*r[0]+i*r[3]+o*r[6],e[1]=n*r[1]+i*r[4]+o*r[7],e[2]=n*r[2]+i*r[5]+o*r[8],e}function F(e,t,r){return O(e,t,r[0],r[1],r[2],r[3])}function O(e,t,r,n,i,o){const s=t[0],l=t[1],a=t[2],u=n*a-i*l,p=i*s-r*a,c=r*l-n*s,d=n*c-i*p,h=i*u-r*c,f=r*p-n*u,y=2*o;return e[0]=s+u*y+2*d,e[1]=l+p*y+2*h,e[2]=a+c*y+2*f,e}function j(e,t){I(Z,e),I(P,t);const r=C(Z,P);return r>1?0:r<-1?Math.PI:Math.acos(r)}const Z=(0,n.vt)(),P=(0,n.vt)();function E(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function R(e,t){if(e===t)return!0;const r=e[0],n=e[1],o=e[2],s=t[0],l=t[1],a=t[2],u=(0,i.FD)();return Math.abs(r-s)<=u*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(n-l)<=u*Math.max(1,Math.abs(n),Math.abs(l))&&Math.abs(o-a)<=u*Math.max(1,Math.abs(o),Math.abs(a))}function N(e,t,r){const n=r[0]-t[0],i=r[1]-t[1],o=r[2]-t[2];let s=n*n+i*i+o*o;return s>0?(s=1/Math.sqrt(s),e[0]=n*s,e[1]=i*s,e[2]=o*s,e):(e[0]=0,e[1]=0,e[2]=0,e)}const D=u,L=p,$=c,z=v,k=w,q=o,G=M;Object.freeze(Object.defineProperty({__proto__:null,abs:d,add:a,angle:j,bezier:function(e,t,r,n,i,o){const s=1-o,l=s*s,a=o*o,u=l*s,p=3*o*l,c=3*a*s,d=a*o;return e[0]=t[0]*u+r[0]*p+n[0]*c+i[0]*d,e[1]=t[1]*u+r[1]*p+n[1]*c+i[1]*d,e[2]=t[2]*u+r[2]*p+n[2]*c+i[2]*d,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,r=1){return e[0]=Math.min(Math.max(e[0],t),r),e[1]=Math.min(Math.max(e[1],t),r),e[2]=Math.min(Math.max(e[2],t),r),e},copy:s,cross:A,crossAndNormalize:function(e,t,r){const n=t[0],i=t[1],o=t[2],s=r[0],l=r[1],a=r[2],u=i*a-o*l,p=o*s-n*a,c=n*l-i*s,d=Math.sqrt(u*u+p*p+c*c);return e[0]=u/d,e[1]=p/d,e[2]=c/d,e},direction:N,dist:z,distance:v,div:$,divide:c,dot:C,equals:R,exactEquals:E,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,r,n,i,o){const s=o*o,l=s*(2*o-3)+1,a=s*(o-2)+o,u=s*(o-1),p=s*(3-2*o);return e[0]=t[0]*l+r[0]*a+n[0]*u+i[0]*p,e[1]=t[1]*l+r[1]*a+n[1]*u+i[1]*p,e[2]=t[2]*l+r[2]*a+n[2]*u+i[2]*p,e},inverse:x,len:q,length:o,lerp:S,max:y,min:f,mul:L,multiply:p,negate:b,normalize:I,random:function(e,t=1){const r=i.Ov,n=2*r()*Math.PI,o=2*r()-1,s=Math.sqrt(1-o*o)*t;return e[0]=Math.cos(n)*s,e[1]=Math.sin(n)*s,e[2]=o*t,e},rotateX:function(e,t,r,n){const i=[],o=[];return i[0]=t[0]-r[0],i[1]=t[1]-r[1],i[2]=t[2]-r[2],o[0]=i[0],o[1]=i[1]*Math.cos(n)-i[2]*Math.sin(n),o[2]=i[1]*Math.sin(n)+i[2]*Math.cos(n),e[0]=o[0]+r[0],e[1]=o[1]+r[1],e[2]=o[2]+r[2],e},rotateY:function(e,t,r,n){const i=[],o=[];return i[0]=t[0]-r[0],i[1]=t[1]-r[1],i[2]=t[2]-r[2],o[0]=i[2]*Math.sin(n)+i[0]*Math.cos(n),o[1]=i[1],o[2]=i[2]*Math.cos(n)-i[0]*Math.sin(n),e[0]=o[0]+r[0],e[1]=o[1]+r[1],e[2]=o[2]+r[2],e},rotateZ:function(e,t,r,n){const i=[],o=[];return i[0]=t[0]-r[0],i[1]=t[1]-r[1],i[2]=t[2]-r[2],o[0]=i[0]*Math.cos(n)-i[1]*Math.sin(n),o[1]=i[0]*Math.sin(n)+i[1]*Math.cos(n),o[2]=i[2],e[0]=o[0]+r[0],e[1]=o[1]+r[1],e[2]=o[2]+r[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:m,scaleAndAdd:g,set:l,sign:h,sqrDist:k,sqrLen:G,squaredDistance:w,squaredLength:M,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:D,subtract:u,transformMat3:_,transformMat4:T,transformQuat:F,transformQuatValues:O},Symbol.toStringTag,{value:"Module"}))},13069(e,t,r){r.d(t,{AG:()=>l,lk:()=>i,vD:()=>s,yS:()=>o});const n="randomUUID"in crypto;function i(){if(n)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function o(){return`{${i().toUpperCase()}}`}function s(){return`{${i()}}`}function l(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},83027(e,t,r){r.d(t,{h:()=>n});const n=r(29953).ho},159(e,t,r){r.d(t,{A:()=>u});var n,i=r(5482),o=r(69540),s=r(25482),l=r(91429),a=r(99157);let u=n=class extends((0,o.OU)(s.o)){constructor(e){super(e),this.steps=[]}getInverse(){const e=new n;for(let t=this.steps.length-1;t>=0;t--){const r=this.steps[t];e.steps.push(r.getInverse())}return e}};(0,i.Cg)([(0,l.MZ)({type:[a.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=n=(0,i.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(e,t,r){r.d(t,{A:()=>a});var n,i=r(5482),o=r(69540),s=r(25482),l=r(91429);let a=n=class extends((0,o.OU)(s.o)){constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new n({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,l.MZ)({json:{name:"transformForward",read:e=>!e,write:(e,t,r)=>{t[r]=!e}}})],a.prototype,"isInverse",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],a.prototype,"wkt",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],a.prototype,"wkid",void 0),a=n=(0,i.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)},9762(e,t,r){r.r(t),r.d(t,{projectBuffer:()=>i});var n=r(49208);function i(e,t,r,i,o,s,l=Math.floor(e.length/3)){const a=(0,n.jd)(t,o);if(null==a)return!1;if(a===n.pO){if(e===i&&r===s)return!0;const t=r+3*l;for(let n=r,o=s;n<t;n++,o++)i[o]=e[n]??0;return!0}const u=r+3*l;for(let t=r,n=s;t<u;t+=3,n+=3)a(e,t,i,n);return!0}},49208(e,t,r){r.d(t,{Tp:()=>c,jd:()=>p,pO:()=>h,w5:()=>u});var n=r(34727),i=r(86211),o=r(73941),s=r(79258),l=r(34403),a=r(21325);const u={2:{5:h,7:null,9:null,10:h,1:b,6:null,8:null,0:null,3:y,11:m,2:h,4:S},5:{5:h,7:null,9:null,10:h,1:b,6:null,8:null,0:null,3:y,11:m,2:h,4:S},7:{5:null,7:h,9:null,10:h,1:null,6:M,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:h,10:h,1:null,6:null,8:w,0:null,3:null,11:null,2:null,4:null},3:{5:f,7:null,9:null,10:f,1:function(e,t,r,n){const i=e[t]/Z,o=j-2*Math.atan(Math.exp(-e[t+1]/Z)),s=Z+(e[t+2]??0),l=Math.cos(o)*s;r[n]=Math.cos(i)*l,r[n+1]=Math.sin(i)*l,r[n+2]=Math.sin(o)*s},6:null,8:null,0:null,3:h,11:function(e,t,r,n){f(e,t,r,n),m(r,n,r,n)},2:f,4:function(e,t,r,n){f(e,t,r,n),S(r,n,r,n)}},4:{5:T,7:null,9:null,10:T,1:function(e,t,r,n){T(e,t,r,n),b(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){T(e,t,r,n),y(r,n,r,n)},11:function(e,t,r,n){T(e,t,r,n),m(r,n,r,n)},2:T,4:h},1:{5:A,7:null,9:null,10:A,1:h,6:null,8:null,0:null,3:function(e,t,r,n){A(e,t,r,n),y(r,n,r,n)},11:function(e,t,r,n){A(e,t,r,n),m(r,n,r,n)},2:A,4:function(e,t,r,n){A(e,t,r,n),S(r,n,r,n)}},6:{5:null,7:C,9:null,10:C,1:null,6:h,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:I,10:I,1:null,6:null,8:h,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:h,3:null,11:null,2:null,4:null},10:{5:h,7:h,9:h,10:h,1:b,6:M,8:w,0:null,3:y,11:m,2:h,4:S},11:{5:g,7:null,9:null,10:g,1:function(e,t,r,n){g(e,t,r,n),b(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){g(e,t,r,n),y(r,n,r,n)},11:h,2:g,4:function(e,t,r,n){g(e,t,r,n),S(r,n,r,n)}}};function p(e,t){return c(e,t)?.projector}function c(e,t){if(null==e||null==t)return null;if(_.source.spatialReference===e&&_.dest.spatialReference===t)return _;const r=d(e,_.source),n=d(t,_.dest);return 0===r&&0===n?(0,a.aI)(e,t)?_.projector=h:_.projector=null:_.projector=u[r][n],_}function d(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,o.jA)(e)?t.spatialReferenceId=1:(0,a.oT)(e)?t.spatialReferenceId=2:(0,a.K8)(e)?t.spatialReferenceId=3:(0,a.r1)(e)?t.spatialReferenceId=11:e.wkt===o.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===o.FY.wkt?t.spatialReferenceId=6:e.wkt===o.LJ.wkt?t.spatialReferenceId=8:(0,o.q8)(e)?t.spatialReferenceId=7:(0,o.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function h(e,t,r,n){e!==r&&(r[n++]=e[t++],r[n++]=e[t++],r[n]=e[t]??0)}function f(e,t,r,n){r[n]=O*(e[t]/Z),r[n+1]=O*(j-2*Math.atan(Math.exp(-e[t+1]/Z))),r[n+2]=e[t+2]??0}function y(e,t,r,i){!function(e,t,r,i,o){const s=.4999999*Math.PI,l=(0,n.qE)(F*e[t+1],-s,s),a=Math.sin(l);r[i++]=F*e[t]*o.radius,r[i++]=o.halfSemiMajorAxis*Math.log((1+a)/(1-a)),r[i]=e[t+2]??0}(e,t,r,i,s.$O)}function m(e,t,r,n){r[n]=e[t]*P,r[n+1]=e[t+1]*P,r[n+2]=e[t+2]??0}function g(e,t,r,n){r[n]=e[t]*E,r[n+1]=e[t+1]*E,r[n+2]=e[t+2]??0}function v(e,t,r,n,i){const o=i+(e[t+2]??0),s=F*e[t],l=F*e[t+1],a=Math.cos(l)*o;r[n]=Math.cos(s)*a,r[n+1]=Math.sin(s)*a,r[n+2]=Math.sin(l)*o}function w(e,t,r,n){v(e,t,r,n,s.Sw.radius)}function M(e,t,r,n){v(e,t,r,n,s.sH.radius)}function b(e,t,r,n){v(e,t,r,n,s.$O.radius)}function x(e,t,r,i,o){const s=e[t],l=e[t+1],a=e[t+2]??0,u=Math.sqrt(s*s+l*l+a*a),p=(0,n.YN)(a/(0===u?1:u)),c=Math.atan2(l,s);r[i++]=O*c,r[i++]=O*p,r[i]=u-o}function I(e,t,r,n){x(e,t,r,n,s.Sw.radius)}function C(e,t,r,n){x(e,t,r,n,s.sH.radius)}function A(e,t,r,n){x(e,t,r,n,s.$O.radius)}function S(e,t,r,n){!function(e,t,r,n,i){const o=F*e[t],s=F*e[t+1],l=e[t+2]??0,a=Math.sin(s),u=Math.cos(s),p=i.radius/Math.sqrt(1-i.eccentricitySquared*a*a);r[n++]=(p+l)*u*Math.cos(o),r[n++]=(p+l)*u*Math.sin(o),r[n++]=(p*(1-i.eccentricitySquared)+l)*a}(e,t,r,n,s.$O)}function T(e,t,r,n){const i=l.TP,o=e[t],a=e[t+1],u=e[t+2]??0;let p,c,d,h,f,y,m,g,v,w,M,b,x,I,C,A,S,T,_,F,j;p=Math.abs(u),c=o*o+a*a,d=Math.sqrt(c),h=c+u*u,f=Math.sqrt(h),F=Math.atan2(a,o),y=u*u/h,m=c/h,I=i.a2/f,C=i.a3-i.a4/f,m>.3?(g=p/f*(1+m*(i.a1+I+y*C)/f),_=Math.asin(g),w=g*g,v=Math.sqrt(1-w)):(v=d/f*(1-y*(i.a5-I-m*C)/f),_=Math.acos(v),w=1-v*v,g=Math.sqrt(w)),M=1-s.$O.eccentricitySquared*w,b=s.$O.radius/Math.sqrt(M),x=i.a6*b,I=d-b*v,C=p-x*g,S=v*I+g*C,A=v*C-g*I,T=A/(x/M+S),_+=T,j=S+A*T/2,u<0&&(_=-_),r[n++]=O*F,r[n++]=O*_,r[n]=j}const _={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:h},F=(0,n.kU)(1),O=(0,n.KJ)(1),j=.5*Math.PI,Z=s.$O.radius,P=Z*Math.PI/180,E=180/(Z*Math.PI)},91218(e,t,r){r.r(t),r.d(t,{canProjectWithoutEngine:()=>V,initializeProjection:()=>K,isEqualBaseGCS:()=>J,isLoaded:()=>Z,isLoadedOrLoad:()=>P,isLoadedOrLoadFor:()=>E,load:()=>N,project:()=>D,projectAsync:()=>B,projectExtent:()=>ie,projectMany:()=>L,projectMultipoint:()=>Y,projectOrLoad:()=>z,projectOrLoadMany:()=>k,projectPoint:()=>W,projectPolygon:()=>re,projectPolyline:()=>ee,projectWithoutEngine:()=>H,requiresLoad:()=>R,test:()=>U,tryProject:()=>$,unload:()=>G});var n=r(49186),i=r(17676),o=r(62788),s=r(95488),l=r(51850),a=r(21276),u=r(73941),p=r(5443),c=r(91075),d=r(48526),h=r(86738),f=r(39829),y=r(82799),m=r(16930),g=r(98764),v=r(159),w=r(9762),M=r(49208);function b(e,t,r,n,i,o){return x[0]=e,x[1]=t,x[2]=r,(0,w.projectBuffer)(x,n,0,i,o,0)}const x=(0,l.vt)();var I=r(60408),C=r(21325),A=r(52006);let S=null,T=null,_=null,F=null,O={};const j=new s.I;function Z(){return!!(T?.isLoaded()&&_?.isLoaded()&&F?.isLoaded())}function P(){return!!Z()||((0,o.gc)(j),N(),!1)}function E(e,t){return!e||!t||V(e,t)||P()}function R(e,t){return!V(e,t)&&!Z()}async function N(e){null==S&&(S=Promise.all([r.e(3276).then(r.bind(r,83276)).then(e=>(T=e,T.load())),r.e(8377).then(r.bind(r,8377)).then(e=>(_=e,_.load())),r.e(2158).then(r.bind(r,12158)).then(e=>(F=e,F.load()))])),await S,(0,i.Te)(e),j.notify()}function D(e,t,r){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),L(e,e[0].spatialReference,t,r)):((0,a.f)(e),L([e],e.spatialReference,t,r)[0])}function L(e,t,r,n){if(null==t||null==r)return e;if(V(t,r,n))return e.map(e=>H(e,t,r));if(null==n?.geographicTransformation&&(0,u.jA)(t))return L(e.map(e=>H(e,t,m.A.WGS84)),m.A.WGS84,r,{zConversionDisabled:n?.zConversionDisabled});if(null==n?.geographicTransformation&&(0,u.jA)(r))return L(e,t,m.A.WGS84).map(e=>H(e,m.A.WGS84,r));if(!Z())throw new q;if(!n?.geographicTransformation)if(n?.extendedParams)n={...n,geographicTransformation:F.getTransformation(t,r,n.areaOfInterestExtent)||new v.A};else if(!n?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,r);let i=O[e];i||(i=F.getTransformation(t,r)||new v.A,O[e]=i),n={geographicTransformation:i,zConversionDisabled:n?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof c.A?T.executeMany(e,r,n):_.executeMany(e,r,n)}function $(e,t,r){try{return D(e,t,r)}catch(e){return null}}function z(e,t){const r=k([e],t);return null!=r.pending?{pending:r.pending,geometry:null}:null!=r.geometries?{pending:null,geometry:r.geometries[0]}:{pending:null,geometry:null}}function k(e,t,r){if(!Z())for(const r of e)if(null!=r&&!(0,C.aI)(r.spatialReference,t)&&(0,C.fn)(r.spatialReference)&&(0,C.fn)(t)&&!V(r.spatialReference,t))return(0,o.gc)(j),{pending:N(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,C.aI)(e.spatialReference,t)?e:(0,C.fn)(e.spatialReference)&&(0,C.fn)(t)?D(e,t,r):null)}}class q extends n.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function G(){S=null,T=null,_=null,F=null,O={}}const U={get loadPromise(){return S}};async function B(e,t,r){if((0,i.Te)(r),!e)return e;const n=k(Array.isArray(e)?e:[e],t,r);if(n.pending)return await n.pending,(0,i.Te)(r),B(e,t,r);const o=n.geometries??[];return Array.isArray(e)?o:o[0]}function V(e,t,r){return!(r?.areaOfInterestExtent||r?.extendedParams||r?.geographicTransformation)&&(!!(0,C.aI)(e,t)||(0,C.fn)(e)&&(0,C.fn)(t)&&!!(0,M.jd)(e,t))}function J(e,t){if((0,C.aI)(e,t))return!0;if(!(0,C.fn)(e)||!(0,C.fn)(t))return!1;const r=(0,C.oT)(e)||(0,C.K8)(e)||(0,C.x1)(e),n=(0,C.oT)(t)||(0,C.K8)(t)||(0,C.x1)(t);return r&&n}async function K(e,t,r,n){if(Z())return(0,i.NO)(n);if(Array.isArray(e)){for(const{source:t,dest:r,options:i}of e)if(t&&r&&!V(t,r,i))return N(n)}else if(e&&t&&!V(e,t,r))return N(n);return(0,i.NO)(n)}function H(e,t,r){return e?(0,I.fT)(e)?Q(e,t,new h.A,r,0):(0,I.ZC)(e)?oe(e,t,new p.A,r,0):(0,I.Bi)(e)?ne(e,t,new f.A,r,0):(0,I.Rg)(e)?te(e,t,new y.A,r,0):(0,I.U9)(e)?X(e,t,new d.A,r,0):null:null}function W(e,t,r=t.spatialReference,n=0){return null!=r&&null!=e.spatialReference&&null!=Q(e,e.spatialReference,t,r,n)}function Q(e,t,r,n,i){ue[0]=e.x,ue[1]=e.y;const o=e.z;return ue[2]=void 0!==o?o:i,(0,w.projectBuffer)(ue,t,0,ue,n,0)?(r.x=ue[0],r.y=ue[1],r.spatialReference=n,void 0!==o||(0,u.xP)(n)?(r.z=ue[2],r.hasZ=!0):(r.z=void 0,r.hasZ=!1),void 0===e.m?(r.m=void 0,r.hasM=!1):(r.m=e.m,r.hasM=!0),r):null}function Y(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=X(e,e.spatialReference,t,r,n)}function X(e,t,r,n,i){const{points:o,hasZ:s,hasM:l}=e,a=[],u=o.length,p=[];for(const e of o)p.push(e[0],e[1],s?e[2]:i);if(!(0,w.projectBuffer)(p,t,0,p,n,0,u))return null;const c=ae(s,n);for(let e=0;e<u;++e){const t=3*e,r=p[t],n=p[t+1];c&&l?a.push([r,n,p[t+2],o[e][3]]):c?a.push([r,n,p[t+2]]):l?a.push([r,n,o[e][2]]):a.push([r,n])}return r.points=a,r.spatialReference=n,r.hasZ=s,r.hasM=l,r}function ee(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=te(e,e.spatialReference,t,r,n)}function te(e,t,r,n,i){const{curvePaths:o,paths:s,hasZ:l,hasM:a}=e;if(!(o?le(o,l??!1,a??!1,t,r.curvePaths=[],n,i):se(s,l??!1,a??!1,t,r.paths,n,i)))return null;const u=ae(l,n);return r.spatialReference=n,r.hasZ=u,r.hasM=a,r}function re(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=ne(e,e.spatialReference,t,r,n)}function ne(e,t,r,n,i){const{curveRings:o,rings:s,hasZ:l,hasM:a}=e;return(o?le(o,l??!1,a??!1,t,r.curveRings=[],n,i):se(s,l??!1,a??!1,t,r.rings,n,i))?(r.spatialReference=n,r.hasZ=ae(l,n),r.hasM=a,r):null}function ie(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=oe(e,e.spatialReference,t,r,n)}function oe(e,t,r,n,i){const{xmin:o,ymin:s,xmax:l,ymax:a,hasZ:u,hasM:p}=e;if(!b(o,s,u?e.zmin:i,t,ue,n))return null;const c=ae(u,n);return r.xmin=ue[0],r.ymin=ue[1],c&&(r.zmin=ue[2]),b(l,a,u?e.zmax:i,t,ue,n)?(r.xmax=ue[0],r.ymax=ue[1],c&&(r.zmax=ue[2]),p&&(r.mmin=e.mmin,r.mmax=e.mmax),r.spatialReference=n,r):null}function se(e,t,r,n,i,o,s=0){const l=new Array;for(const r of e)for(const e of r)l.push(e[0],e[1],t?e[2]:s);if(!(0,w.projectBuffer)(l,n,0,l,o,0))return!1;let a=0;i.length=0;const u=t?3:2,p=ae(t,o);for(const t of e){const e=new Array;for(const n of t){const t=l.slice(a,a+=3);p||t.pop(),r&&t.push(n[u]),e.push(t)}i.push(e)}return!0}function le(e,t,r,n,i,o,s=0){const l=new Array;for(const r of e)for(const e of r){if((0,A.FG)(e))return!1;if((0,A.aO)(e)){const[r,n]=e.c;l.push(r[0],r[1],t?r[2]:s,n[0],n[1],s);continue}if((0,A.n1)(e)){const[r,n,i]=e.b;l.push(r[0],r[1],t?r[2]:s,n[0],n[1],s,i[0],i[1],s);continue}const r=e;l.push(r[0],r[1],t?r[2]:s)}if(!(0,w.projectBuffer)(l,n,0,l,o,0))return!1;let a=0;i.length=0;const u=t?3:2,p=ae(t,o);for(const t of e){const e=new Array;for(const n of t){const t=l.slice(a,a+=3);if(p||t.pop(),r&&t.push((0,A.yP)(n)[u]),(0,A.FG)(n))return!1;if((0,A.aO)(n)){const r=l[a++],n=l[a++];++a,e.push({c:[t,[r,n]]});continue}if((0,A.n1)(n)){const r=l[a++],n=l[a++];++a;const i=l[a++],o=l[a++];++a,e.push({b:[t,[r,n],[i,o]]});continue}e.push(t)}i.push(e)}return!0}function ae(e,t){return e||(0,u.xP)(t)||(0,C.aI)(t,g.Y0)}const ue=(0,l.vt)()},98764(e,t,r){r.d(t,{GD:()=>s,Y0:()=>u,lO:()=>p});var n=r(73941),i=r(16930),o=r(21325);const s=new i.A(n.fv),l=new i.A(n.FY),a=new i.A(n.LJ),u=new i.A(n.Ro);function p(e){const t=c.get(e);if(t)return t;let r=s;if(e)if(e===l)r=l;else if(e===a)r=a;else{const t=e.wkid,n=e.latestWkid;if(null!=t||null!=n)(0,o.tl)(t)||(0,o.tl)(n)?r=l:((0,o.ZL)(t)||(0,o.ZL)(n))&&(r=a);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===d?r=l:e===h&&(r=a)}}}return c.set(e,r),r}const c=new Map,d=l.wkt.toUpperCase(),h=a.wkt.toUpperCase()},4197(e,t,r){r.d(t,{Vj:()=>a,cj:()=>l,jh:()=>o,l5:()=>s});var n=r(34275),i=r(9093);function o(e){return e<=n.y9?new Array(e).fill(0):new Float64Array(e)}function s(e,t,r){return Array.isArray(e)?e.slice(t,t+r):e.subarray(t,t+r)}function l(e){return[...e]}function a(e){const t=(0,i.vt)();for(let r=0;r<16;++r)t[r]=e[r];return t}},70328(e,t,r){r.d(t,{BI:()=>w,DC:()=>c,Ej:()=>h,Ie:()=>g,Jt:()=>v,Ne:()=>f,RF:()=>p,aI:()=>b,fA:()=>s,gE:()=>a,hZ:()=>m,iT:()=>d,is:()=>M,qv:()=>x,vI:()=>y,vY:()=>l,v_:()=>I,vt:()=>o,w1:()=>u}),r(35522);var n=r(5443),i=(r(19419),r(4197));function o(e=I){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function s(e,t,r,n,i,s,l=o()){return l[0]=e,l[1]=t,l[2]=r,l[3]=n,l[4]=i,l[5]=s,l}function l(e,t=o()){return function(e,t,r,n=o()){return m(n,x),function(e,t,r=0,n=t.length/3){let i=e[0],o=e[1],s=e[2],l=e[3],a=e[4],u=e[5];for(let e=0;e<n;e++)i=Math.min(i,t[r+3*e]),o=Math.min(o,t[r+3*e+1]),s=Math.min(s,t[r+3*e+2]),l=Math.max(l,t[r+3*e]),a=Math.max(a,t[r+3*e+1]),u=Math.max(u,t[r+3*e+2]);e[0]=i,e[1]=o,e[2]=s,e[3]=l,e[4]=a,e[5]=u}(n,e,t,r),n}(e,0,e.length/3,t)}function a(e,t=(0,i.jh)(24)){const[r,n,o,s,l,a]=e;return t[0]=r,t[1]=n,t[2]=o,t[3]=r,t[4]=n,t[5]=a,t[6]=r,t[7]=l,t[8]=o,t[9]=r,t[10]=l,t[11]=a,t[12]=s,t[13]=n,t[14]=o,t[15]=s,t[16]=n,t[17]=a,t[18]=s,t[19]=l,t[20]=o,t[21]=s,t[22]=l,t[23]=a,t}function u(e,t){const r=isFinite(e[2])||isFinite(e[5]);return new n.A(r?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function d(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function h(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function f(e,t,r=e){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r!==e&&(r[3]=e[3],r[4]=e[4],r[5]=e[5]),r}function y(e,t,r=e){return r[3]=t[0],r[4]=t[1],r[5]=t[2],r!==e&&(r[0]=e[0],r[1]=e[1],r[2]=e[2]),e}function m(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function g(e){return e?m(e,x):o(x)}function v(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function w(e,t,r,n,i){return e[0]=t,e[1]=r,e[2]=Number.NEGATIVE_INFINITY,e[3]=n,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function M(e){return 6===e.length}function b(e,t,r){if(null==e||null==t)return e===t;if(!M(e)||!M(t))return!1;if(r){for(let n=0;n<e.length;n++)if(!r(e[n],t[n]))return!1}else for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}const x=[1/0,1/0,1/0,-1/0,-1/0,-1/0],I=[0,0,0,0,0,0];o()},34403(e,t,r){r.d(t,{TP:()=>s});var n=r(79258);Math.PI;const i=n.$O.radius,o=n.$O.eccentricitySquared,s={a1:i*o,a2:i*o*i*o,a3:i*o*o/2,a4:i*o*i*o*2.5,a5:i*o+i*o*o/2,a6:1-o};n.$O.radius,n.$O.flattening,n.Sw.radius,n.Sw.flattening,n.sH.radius,n.sH.flattening,n.sH.radius},83960(e,t,r){r.d(t,{X_:()=>o,oW:()=>l,zx:()=>s});var n=r(34727),i=r(86211);function o(e,t){const r=t||e.extent,n=e.width,o=(0,i.GA)(r?.spatialReference);return r&&n?r.width/n*o*i.dy*96:0}function s(e,t,r){return function(e,t){return 0===t||(0,n.Sp)(e,t)||e<t}(e,t)&&function(e,t){return 0===t||(0,n.Sp)(e,t)||e>t}(e,r)}function l(e,t){return(0,n.Sp)(e,t)?0:(e||Number.POSITIVE_INFINITY)>(t||Number.POSITIVE_INFINITY)?1:-1}},50498(e,t,r){r.d(t,{Ye:()=>c,gy:()=>p,iI:()=>h,yR:()=>d});var n=r(66552),i=r(5443),o=r(91075),s=r(48526),l=r(86738),a=r(39829),u=r(82799);const p=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),c=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),d={base:o.A,key:"type",typeMap:{extent:i.A,multipoint:s.A,point:l.A,polyline:u.A,polygon:a.A}},h=new n.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0})},55156(e,t,r){r.d(t,{I:()=>i,e:()=>n});const n=Symbol("idFieldsProviderSymbol");function i(e){return(t=e)&&n in t?e[n]:void 0;var t}},68695(e,t,r){r.r(t),r.d(t,{default:()=>te});var n=r(5482),i=r(37838),o=r(49186),s=r(25728),l=r(17676),a=r(84952),u=r(91429),p=r(89317),c=r(16930),d=r(55156),h=r(60950),f=r(89808),y=r(99959);const m=Symbol("isCSVGraphicOrigin");var g;class v extends y.A{get[(g=m,h.ym)](){return this.layer}get[d.e](){return this.layer}get[f.Q](){return this.layer}constructor(e){super(),this[g]=!0,this.type="csv",this.layer=e}get id(){return this.layer.id}}var w=r(4146),M=r(44208),b=r(92474),x=r(83027),I=r(5443),C=r(22671);let A=class extends b.x_{constructor(e){super(e),this.type="csv",this.refresh=(0,l.sg)(async e=>{await this.load();const{extent:t,timeExtent:r}=await this._connection.invoke("refresh",e);return t&&(this.sourceJSON.extent=t),r&&(this.sourceJSON.timeInfo.timeExtent=[r.start,r.end]),{dataChanged:!0,updates:{extent:this.sourceJSON.extent,timeInfo:this.sourceJSON.timeInfo}}})}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this._startWorker(t)),Promise.resolve(this)}destroy(){this._connection?.close(),this._connection=null}async openPorts(){return await this.load(),this._connection.openPorts()}async queryFeatures(e,t={}){await this.load(t);const r=await this._connection.invoke("queryFeatures",e?e.toJSON():null,t);return C.A.fromJSON(r)}async queryFeaturesJSON(e,t={}){return await this.load(t),this._connection.invoke("queryFeatures",e?e.toJSON():null,t)}async queryFeatureCount(e,t={}){return await this.load(t),this._connection.invoke("queryFeatureCount",e?e.toJSON():null,t)}async queryObjectIds(e,t={}){return await this.load(t),this._connection.invoke("queryObjectIds",e?e.toJSON():null,t)}async queryExtent(e,t={}){await this.load(t);const r=await this._connection.invoke("queryExtent",e?e.toJSON():null,t);return{count:r.count,extent:I.A.fromJSON(r.extent)}}async querySnapping(e,t={}){return await this.load(t),this._connection.invoke("querySnapping",e,t)}async queryAttributeBins(e,t={}){return await this.load(),this._connection.invoke("queryAttributeBins",e?e.toJSON():null,t)}async _startWorker(e){this._connection=await(0,x.h)("CSVSourceWorker",{strategy:(0,M.A)("feature-layers-workers")?"dedicated":"local",signal:e,registryTarget:this});const{url:t,delimiter:r,fields:n,latitudeField:i,longitudeField:o,spatialReference:s,timeInfo:l}=this.loadOptions,a=await this._connection.invoke("load",{url:t,customParameters:this.customParameters,parsingOptions:{delimiter:r,fields:n?.map(e=>e.toJSON()),latitudeField:i,longitudeField:o,spatialReference:s?.toJSON(),timeInfo:l?.toJSON()}},{signal:e});this.locationInfo=a.locationInfo,this.sourceJSON=a.layerDefinition,this.delimiter=a.delimiter}};(0,n.Cg)([(0,u.MZ)()],A.prototype,"type",void 0),(0,n.Cg)([(0,u.MZ)()],A.prototype,"loadOptions",void 0),(0,n.Cg)([(0,u.MZ)()],A.prototype,"customParameters",void 0),(0,n.Cg)([(0,u.MZ)()],A.prototype,"locationInfo",void 0),(0,n.Cg)([(0,u.MZ)()],A.prototype,"sourceJSON",void 0),(0,n.Cg)([(0,u.MZ)()],A.prototype,"delimiter",void 0),A=(0,n.Cg)([(0,u.$K)("esri.layers.graphics.sources.CSVSource")],A);var S=r(64714),T=r(63074),_=r(69208),F=r(6455),O=r(87718),j=r(56658),Z=r(34287),P=r(32756),E=r(8303),R=r(54310),N=r(25036),D=r(82935),L=r(63396),$=r(10873),z=r(15426),k=r(20437),q=r(17036),G=r(30524),U=r(46499),B=r(39383),V=r(37352),J=r(96184),K=r(41214),H=r(61956),W=r(30291),Q=r(56400),Y=r(36005);const X=(0,q.p)();let ee=class extends((0,P.fY)((0,F.FJ)((0,_.d)((0,j.J)((0,O.F)((0,T.dM)((0,D.e)((0,L.d)((0,N.j)((0,R.J)((0,Z.q)((0,E.A)((0,s.M)(w.A)))))))))))))){constructor(e){super(e),this.attributeTableTemplate=null,this.capabilities=(0,S.f)(!1,!1),this.copyright=null,this.definitionExpression=null,this.delimiter=null,this.displayField=null,this.elevationInfo=null,this.fields=null,this.fieldsIndex=null,this.floorInfo=null,this.fullExtent=null,this.geometryType="point",this.graphicOrigin=new v(this),this.labelingInfo=null,this.labelsVisible=!0,this.latitudeField=null,this.legendEnabled=!0,this.locationType="coordinates",this.longitudeField=null,this.maxScale=0,this.minScale=0,this.objectIdField=null,this.opacity=1,this.operationalLayerType="CSV",this.outFields=null,this.popupEnabled=!0,this.popupTemplate=null,this.screenSizePerspectiveEnabled=!0,this.source=new A,this.spatialReference=c.A.WGS84,this.timeInfo=null,this.type="csv"}load(e){const t=this.loadFromPortal({supportedTypes:["CSV"],supportsData:!1},e).catch(l.QP).then(()=>(this.source.loadOptions={delimiter:this.delimiter,fields:this.fields,latitudeField:this.latitudeField??void 0,longitudeField:this.longitudeField??void 0,spatialReference:this.spatialReference??void 0,timeInfo:this.timeInfo??void 0,url:this.url},this.source.customParameters=this.customParameters??void 0,this.source.load(e))).then(()=>{this.read({layerDefinition:this.source.sourceJSON,locationInfo:this.source.locationInfo,columnDelimiter:this.source.delimiter},{origin:"service",portalItem:this.portalItem,portal:this.portalItem?.portal,url:this.parsedUrl}),(0,G.yp)(this.renderer,this.fieldsIndex),(0,G.sv)(this.timeInfo,this.fieldsIndex)});return this.addResolvingPromise(t),Promise.resolve(this)}destroy(){this.source?.destroy()}get createQueryVersion(){return this.commitProperty("definitionExpression"),this.commitProperty("timeExtent"),this.commitProperty("timeOffset"),this.commitProperty("geometryType"),this.commitProperty("capabilities"),(this._get("createQueryVersion")||0)+1}get defaultPopupTemplate(){return this.createPopupTemplate()}get isTable(){return this.loaded&&null==this.geometryType}readWebMapLabelsVisible(e,t){return t.showLabels??!!t.layerDefinition?.drawingInfo?.labelingInfo}get portalItem(){return super.portalItem}set portalItem(e){super.portalItem=e}set renderer(e){(0,G.yp)(e,this.fieldsIndex),this._set("renderer",e)}set url(e){if(!e)return void this._set("url",e);const t=(0,a.An)(e);this._set("url",t.path),t.query&&(this.customParameters={...this.customParameters,...t.query})}createPopupTemplate(e){return(0,W.tn)(this,e)}createQuery(){const e=new H.A,t=this.capabilities?.data;e.returnGeometry=!0,t?.supportsZ&&(e.returnZ=!0),e.outFields=["*"],e.where=this.definitionExpression||"1=1";const{timeOffset:r,timeExtent:n}=this;return e.timeExtent=r&&n?n.offset(-r.value,r.unit):n??null,e}getFieldDomain(e,t){return this.getField(e)?.domain}getField(e){return this.fieldsIndex.get(e)}async queryAttributeBins(e,t){const{source:n,capabilities:i}=await this.load();if(!n.queryAttributeBins)throw new o.A("CSVLayer","Layer source does not support queryAttributeBins capability");(0,z.ZJ)(e,i,"CSVLayer");const{default:s}=await r.e(4575).then(r.bind(r,14575)),l=await n.queryAttributeBins(s.from(e),t),a=this.graphicOrigin;if(l.features)for(const e of l.features)e.layer=e.sourceLayer=this,e.origin=a;return l}queryFeatures(e,t){return this.load().then(()=>this.source.queryFeatures(H.A.from(e)||this.createQuery())).then(e=>{const t=this.graphicOrigin;if(e.features)for(const r of e.features)r.layer=r.sourceLayer=this,r.origin=t;return e})}async queryObjectIds(e,t){return await this.load(),this.source.queryObjectIds(H.A.from(e)||this.createQuery())}queryFeatureCount(e,t){return this.load().then(()=>this.source.queryFeatureCount(H.A.from(e)||this.createQuery()))}queryExtent(e,t){return this.load().then(()=>this.source.queryExtent(H.A.from(e)||this.createQuery()))}read(e,t){super.read(e,t),"service"===t?.origin&&(["objectIdField","fields","timeInfo","dateFieldsTimeZone","latitudeField","longitudeField"].forEach(e=>this.revertToOrigin(e,"service")),this.spatialReference||this.revertToOrigin("spatialReference","service"))}async hasDataChanged(){try{const{dataChanged:e,updates:t}=await this.source.refresh(this.customParameters);return null!=t&&this.read(t,{origin:"service",url:this.parsedUrl,ignoreDefaults:!0}),e}catch{}return!1}};(0,n.Cg)([(0,u.MZ)($.zQ)],ee.prototype,"attributeTableTemplate",void 0),(0,n.Cg)([(0,u.MZ)({readOnly:!0,json:{read:!1,write:!1}})],ee.prototype,"capabilities",void 0),(0,n.Cg)([(0,u.MZ)({type:String,json:{origins:{service:{read:{source:"copyrightText"}}}}})],ee.prototype,"copyright",void 0),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],ee.prototype,"createQueryVersion",null),(0,n.Cg)([(0,u.MZ)({json:{name:"layerDefinition.dateFieldsTimeReference",read:{reader:Q.ZS}}})],ee.prototype,"dateFieldsTimeZone",void 0),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],ee.prototype,"defaultPopupTemplate",null),(0,n.Cg)([(0,u.MZ)({type:String,json:{name:"layerDefinition.definitionExpression",write:{enabled:!0,allowNull:!0}}})],ee.prototype,"definitionExpression",void 0),(0,n.Cg)([(0,u.MZ)({type:[","," ",";","|","\t"],json:{name:"columnDelimiter",write:{ignoreOrigin:!0}}})],ee.prototype,"delimiter",void 0),(0,n.Cg)([(0,u.MZ)({type:String})],ee.prototype,"displayField",void 0),(0,n.Cg)([(0,u.MZ)($.Yj)],ee.prototype,"elevationInfo",void 0),(0,n.Cg)([(0,u.MZ)({type:[k.A],json:{name:"layerDefinition.fields",write:{ignoreOrigin:!0}}})],ee.prototype,"fields",void 0),(0,n.Cg)([(0,u.MZ)(X.fieldsIndex)],ee.prototype,"fieldsIndex",void 0),(0,n.Cg)([(0,u.MZ)({type:V.A,json:{name:"layerDefinition.floorInfo",write:{layerContainerTypes:p.K}}})],ee.prototype,"floorInfo",void 0),(0,n.Cg)([(0,u.MZ)({json:{origins:{service:{name:"layerDefinition.extent"}}}})],ee.prototype,"fullExtent",void 0),(0,n.Cg)([(0,u.MZ)({readOnly:!0,json:{read:!1}})],ee.prototype,"geometryType",void 0),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],ee.prototype,"graphicOrigin",void 0),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],ee.prototype,"isTable",null),(0,n.Cg)([(0,u.MZ)({type:[U.A],json:{name:"layerDefinition.drawingInfo.labelingInfo",read:{reader:B.w},write:!0}})],ee.prototype,"labelingInfo",void 0),(0,n.Cg)([(0,u.MZ)($.kF)],ee.prototype,"labelsVisible",void 0),(0,n.Cg)([(0,Y.w)("web-map","labelsVisible",["layerDefinition.drawingInfo.labelingInfo","showLabels"])],ee.prototype,"readWebMapLabelsVisible",null),(0,n.Cg)([(0,u.MZ)({type:String,json:{name:"locationInfo.latitudeFieldName",write:{ignoreOrigin:!0}}})],ee.prototype,"latitudeField",void 0),(0,n.Cg)([(0,u.MZ)($.fV)],ee.prototype,"legendEnabled",void 0),(0,n.Cg)([(0,u.MZ)({type:["show","hide"]})],ee.prototype,"listMode",void 0),(0,n.Cg)([(0,u.MZ)({type:["coordinates"],json:{name:"locationInfo.locationType",write:{ignoreOrigin:!0,isRequired:!0}}})],ee.prototype,"locationType",void 0),(0,n.Cg)([(0,u.MZ)({type:String,json:{name:"locationInfo.longitudeFieldName",write:{ignoreOrigin:!0}}})],ee.prototype,"longitudeField",void 0),(0,n.Cg)([(0,u.MZ)($.hG)],ee.prototype,"maxScale",void 0),(0,n.Cg)([(0,u.MZ)($.hn)],ee.prototype,"minScale",void 0),(0,n.Cg)([(0,u.MZ)({type:String,json:{name:"layerDefinition.objectIdField",origins:{"web-map":{write:{target:"layerDefinition.objectIdField",ignoreOrigin:!0}}}}})],ee.prototype,"objectIdField",void 0),(0,n.Cg)([(0,u.MZ)($.Ih)],ee.prototype,"opacity",void 0),(0,n.Cg)([(0,u.MZ)({type:["CSV"]})],ee.prototype,"operationalLayerType",void 0),(0,n.Cg)([(0,u.MZ)()],ee.prototype,"outFields",void 0),(0,n.Cg)([(0,u.MZ)($.M6)],ee.prototype,"popupEnabled",void 0),(0,n.Cg)([(0,u.MZ)({type:i.A,json:{name:"popupInfo",write:!0}})],ee.prototype,"popupTemplate",void 0),(0,n.Cg)([(0,u.MZ)({types:K.Hg,json:{name:"layerDefinition.drawingInfo.renderer",origins:{"web-scene":{types:K.XJ,name:"layerDefinition.drawingInfo.renderer",write:!0}},write:{ignoreOrigin:!0,layerContainerTypes:p.K}}})],ee.prototype,"renderer",null),(0,n.Cg)([(0,u.MZ)($.PY)],ee.prototype,"screenSizePerspectiveEnabled",void 0),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],ee.prototype,"source",void 0),(0,n.Cg)([(0,u.MZ)({type:c.A,json:{origins:{service:{name:"layerDefinition.extent.spatialReference"}}}})],ee.prototype,"spatialReference",void 0),(0,n.Cg)([(0,u.MZ)({type:J.A,json:{name:"layerDefinition.timeInfo"}})],ee.prototype,"timeInfo",void 0),(0,n.Cg)([(0,u.MZ)({type:String,json:{origins:{service:{name:"layerDefinition.name"},"web-document":{name:"title",write:{isRequired:!0,ignoreOrigin:!0,writerEnsuresNonNull:!0}}}}})],ee.prototype,"title",void 0),(0,n.Cg)([(0,u.MZ)({json:{read:!1},value:"csv",readOnly:!0})],ee.prototype,"type",void 0),(0,n.Cg)([(0,u.MZ)($.OZ)],ee.prototype,"url",null),ee=(0,n.Cg)([(0,u.$K)("esri.layers.CSVLayer")],ee);const te=ee},99352(e,t,r){r.d(t,{F:()=>n,P:()=>i});const n={supportsStatistics:!0,supportsPercentileStatistics:!0,supportsSpatialAggregationStatistics:!0,supportedSpatialAggregationStatistics:{envelope:!0,centroid:!0,convexHull:!0},supportsCentroid:!0,supportsCentroidOnDegeneratedQuantizedGeometry:!0,supportsCacheHint:!0,supportsCurrentUser:!1,supportsDegeneratedQuantizedGeometry:!1,supportsDistance:!0,supportsDistinct:!0,supportsExtent:!0,supportsGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsPaginationOnAggregatedQueries:!1,supportsQuantization:!0,supportsQuantizationEditMode:!1,supportsQueryGeometry:!0,supportsResultType:!0,supportsReturnMesh:!1,supportsSqlExpression:!0,supportsMaxRecordCountFactor:!1,supportsStandardizedQueriesOnly:!0,supportsTopFeaturesQuery:!1,supportsQueryByAnonymous:!0,supportsQueryByOthers:!0,supportsHistoricMoment:!1,supportsFormatPBF:!1,supportsFormatPBFWithCurves:!1,supportsDisjointSpatialRelationship:!0,supportsDefaultSpatialReference:!1,supportsFullTextSearch:!1,supportsCompactGeometry:!1,maxRecordCountFactor:void 0,maxRecordCount:void 0,maxUniqueIDCount:void 0,relativeTimeBinWindow:0,standardMaxRecordCount:void 0,standardMaxRecordCountNoGeometry:void 0,tileMaxRecordCount:void 0,supportsTrueCurve:!1},i={supportsDate:!0,supportsFixedInterval:!0,supportsAutoInterval:!0,supportsFixedBoundaries:!0,supportsStackBy:!0,supportsSplitBy:!0,supportsSnapToData:!1,supportsReturnFullIntervalBin:!1,supportsFirstDayOfWeek:!1,supportsNormalization:!0,supportedStatistics:{count:!0,sum:!0,avg:!0,var:!0,stddev:!0,min:!0,max:!0,percentileContinuous:!0,percentileDiscrete:!0,envelope:!0,centroid:!0,convexHull:!0},supportedNormalizationTypes:{field:!0,log:!0,naturalLog:!0,percentOfTotal:!0,squareRoot:!0}}},54339(e,t,r){function n(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const r=[];for(const n of t.fieldNames)r.push(e.attributes[n]??null);return JSON.stringify(r)}}}function i(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const r=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(r)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}r.d(t,{W:()=>n,r:()=>i})},64714(e,t,r){r.d(t,{F0:()=>l,Vx:()=>p,e2:()=>d,f:()=>h});var n=r(44208),i=r(4718),o=r(99352),s=r(93470);function l(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?s.Cb:"esriGeometryPolyline"===e?s.yM:s.WR}}}const a=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let u=1;function p(e,t){if((0,n.A)("esri-csp-restrictions"))return()=>({[t]:null,...e});try{let r=`this${c(t)} = null;`;for(const t in e)r+=`this${c(t)} = ${JSON.stringify(e[t])};`;const n=new Function(`\n return class AttributesClass$${u++} {\n constructor() {\n ${r};\n }\n }\n `)();return()=>new n}catch(r){return()=>({[t]:null,...e})}}function c(e){return a.test(e)?`.${e}`:`[${JSON.stringify(e)}]`}function d(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,i.o8)(e)}}]}function h(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportedCurveTypes:[],supportsAttachment:!1,supportsM:!1,supportsTrueCurve:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!0,supportsQueryPivot:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:o.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:o.P,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsTrueCurveUpdate:t,supportsTrueCurveUpdateByTrueCurveClientsOnly:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},69208(e,t,r){r.d(t,{d:()=>o});var n=r(5482),i=r(91429);const o=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.customParameters=null}};return(0,n.Cg)([(0,i.MZ)({type:Object,json:{write:{overridePolicy:e=>({enabled:!!(e&&Object.keys(e).length>0)})}}})],r.prototype,"customParameters",void 0),r=(0,n.Cg)([(0,i.$K)("esri.layers.mixins.CustomParametersMixin")],r),r}},6455(e,t,r){r.d(t,{FJ:()=>g,Dp:()=>v,KV:()=>w});var n=r(5482),i=r(93637),o=r(91429),s=r(89317),l=r(69540),a=r(7762),u=r(25482),p=r(83960),c=r(13069);const d={write:{overridePolicy:(e,t,r)=>({enabled:!r||"scale"===r.filterMode})}};let h=class extends((0,l.OU)(u.o)){constructor(e){super(e),this.id=(0,c.lk)(),this.maxScale=0,this.minScale=0,this.title="",this.where=null}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"id",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:d})],h.prototype,"maxScale",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:d})],h.prototype,"minScale",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"title",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"where",void 0),h=(0,n.Cg)([(0,o.$K)("esri.layers.support.DisplayFilter")],h);var f=r(41560),y=r(43937);let m=class extends((0,l.OU)(u.o)){constructor(e){super(e),this.activeFilterId=null,this.filters=new(a.A.ofType(h)),this.mode="manual"}writeFilters(e,t,r,n){const i=e.toArray();"scale"===this.mode&&i.sort((e,t)=>{const r=(0,p.oW)(t.minScale,e.minScale),n=e.maxScale-t.maxScale;return 0===r?n:r}),t[r]=i.map(e=>e.toJSON(n))}write(e,t){return super.write(e,(0,f.mW)(this,t))}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:{overridePolicy:(e,t,r)=>({enabled:"manual"===r.filterMode,isRequired:!0})}}})],m.prototype,"activeFilterId",void 0),(0,n.Cg)([(0,o.MZ)({type:a.A.ofType(h),nonNullable:!0,json:{write:!0}})],m.prototype,"filters",void 0),(0,n.Cg)([(0,y.K)("filters")],m.prototype,"writeFilters",null),(0,n.Cg)([(0,o.MZ)({type:["manual","scale"],nonNullable:!0,json:{name:"filterMode",write:!0}})],m.prototype,"mode",void 0),m=(0,n.Cg)([(0,o.$K)("esri.layers.support.DisplayFilterInfo")],m);const g=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.displayFilterEnabled=!0,this.displayFilterInfo=null}};return(0,n.Cg)([(0,o.MZ)(v)],r.prototype,"displayFilterEnabled",void 0),(0,n.Cg)([(0,o.MZ)(w)],r.prototype,"displayFilterInfo",void 0),r=(0,n.Cg)([(0,o.$K)("esri.layers.mixins.DisplayFilteredLayer")],r),r},v={type:Boolean,json:{name:"layerDefinition.disableDisplayFilter",read:{reader:e=>!e},write:{layerContainerTypes:s.K,writer(e,t,r){(0,i.sM)(r,!e,t)}},origins:{"web-scene":{write:!1,read:!1}}}},w={type:m,json:{name:"layerDefinition.displayFilterInfo",write:{enabled:!0,allowNull:!0,layerContainerTypes:s.K},origins:{"web-scene":{write:!1,read:!1}}}}},32756(e,t,r){r.d(t,{Rr:()=>l,fY:()=>u,ne:()=>a});var n=r(5482),i=r(93637),o=r(91429),s=r(91880);function l(e,t,r){if(!e)return null;const n=e.find(e=>!!e.field);if(!n)return null;const i=new s.A;return i.read(n,r),[i]}const a={type:[s.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:l},write:{writer:function(e,t,r,n){const o=e.find(e=>!!e.field);o&&(0,i.sM)(r,[o.toJSON()],t)}}}},u=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,n.Cg)([(0,o.MZ)(a)],r.prototype,"orderBy",void 0),r=(0,n.Cg)([(0,o.$K)("esri.layers.mixins.OrderedLayer")],r),r}},8303(e,t,r){r.d(t,{A:()=>b});var n=r(5482),i=r(92602),o=r(70333),s=r(11254),l=r(60999),a=r(49186),u=r(53966),p=r(97768),c=r(17676),d=r(84952),h=r(91429),f=r(77548),y=r(20655),m=r(80812),g=r(41318),v=r(10407),w=r(36005),M=r(43937);const b=e=>{const t=e;let b=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,p.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new m.default({id:t.itemId,portal:r?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:n}=await r.e(1204).then(r.bind(r,41204));return(0,c.Te)(t),await n({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,c.zf)(e)||u.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch(e=>((0,c.QP)(e),!0)))}async setUserPrivileges(e,t){if(!i.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:r,fullEdit:n},content:{updateItem:i}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",n),this._set("userHasUpdateItemPrivileges",i)}catch(e){(0,c.QP)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);const n=!o.id?.findCredential(this.url),i=e===r.id;if(i&&r.portal.user)return this._getUserPrivileges(r,n);let s,l;if(i)s=r.portal.url;else try{s=await(0,f.wI)(this.url,t)}catch(e){(0,c.QP)(e)}if(!s||!(0,d.b8)(s,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;l=await(o.id?.getCredential(`${s}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,c.QP)(e)}const a=!0,u=!1,p=!1;if(!l)return{features:{edit:a,fullEdit:u},content:{updateItem:p}};try{if(i?await r.reload():(r=new m.default({id:e,portal:{url:s}}),await r.load(t)),r.portal.user)return this._getUserPrivileges(r,n)}catch(e){(0,c.QP)(e)}return{features:{edit:a,fullEdit:u},content:{updateItem:p}}}_getUserPrivileges(e,t){const r=(0,v.It)(e);return t&&(r.features.edit=!0),r}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,c.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?o.id?.findCredential(this.url):null;if(!t)return!0;const r=x.credential===t?x.user:await this._fetchEditingUser(e);return x.credential=t,x.user=r,null==r?.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const r=o.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const n=`${r.owningSystemUrl}/sharing/rest`,i=y.A.getDefault();if(i&&i.loaded&&(0,d.S8)(i.restUrl)===(0,d.S8)(n))return i.user;const a=`${n}/community/self`,u=null!=e?e.signal:null,p=await(0,l.Ke)((0,s.A)(a,{authMode:"no-prompt",query:{f:"json"},signal:u}));return p.ok?g.A.fromJSON(p.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t?.portal,n=this.portalItem?.id&&(this.portalItem.portal||y.A.getDefault());return r&&n&&!(0,d.ut)(n.restUrl,r.restUrl)?(t.messages&&t.messages.push(new a.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,n.Cg)([(0,h.MZ)({type:m.default})],b.prototype,"portalItem",null),(0,n.Cg)([(0,w.w)("web-document","portalItem",["itemId"])],b.prototype,"readPortalItem",null),(0,n.Cg)([(0,M.K)("web-document","portalItem",{itemId:{type:String}})],b.prototype,"writePortalItem",null),(0,n.Cg)([(0,h.MZ)({clonable:!1})],b.prototype,"resourceReferences",void 0),(0,n.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],b.prototype,"userHasEditingPrivileges",void 0),(0,n.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],b.prototype,"userHasFullEditingPrivileges",void 0),(0,n.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],b.prototype,"userHasUpdateItemPrivileges",void 0),b=(0,n.Cg)([(0,h.$K)("esri.layers.mixins.PortalLayer")],b),b},x={credential:null,user:null}},82935(e,t,r){r.d(t,{B:()=>d,e:()=>h});var n=r(5482),i=r(91429),o=r(89317),s=r(30524),l=r(96184),a=r(73133),u=r(79677),p=r(10184),c=r(36005);const d={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation",layerContainerTypes:o.K}}},h=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const r=t.timeInfo.exportOptions;if(!r)return null;const n=r.timeOffset,i=a.j.fromJSON(r.timeOffsetUnits);return n&&i?new p.A({value:n,unit:i}):null}get timeInfo(){return this._get("timeInfo")}set timeInfo(e){(0,s.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,n.Cg)([(0,i.MZ)({type:u.A,json:{write:!1}})],r.prototype,"timeExtent",void 0),(0,n.Cg)([(0,i.MZ)({type:p.A})],r.prototype,"timeOffset",void 0),(0,n.Cg)([(0,c.w)("service","timeOffset",["timeInfo.exportOptions"])],r.prototype,"readOffset",null),(0,n.Cg)([(0,i.MZ)({value:null,type:l.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],r.prototype,"timeInfo",null),(0,n.Cg)([(0,i.MZ)(d)],r.prototype,"useViewTime",void 0),r=(0,n.Cg)([(0,i.$K)("esri.layers.mixins.TemporalLayer")],r),r}},63396(e,t,r){r.d(t,{d:()=>x});var n=r(5482),i=r(91429),o=r(60950),s=r(99959);class l extends s.A{constructor(e){super(),this.type="track",this.trackInfoProvider=e}get id(){return this.trackInfoProvider.id}get[o.ym](){return this.trackInfoProvider.trackInfo}}var a=r(37838),u=r(69540),p=r(25482),c=r(93637),d=r(50820),h=r(10873),f=r(46499),y=r(41214);let m=class extends((0,u.OU)(p.o)){constructor(e){super(e),this.labelingInfo=null,this.labelsVisible=!0,this.renderer=null,this.visible=!0}};(0,n.Cg)([(0,i.MZ)({type:[f.A],json:{write:!0}})],m.prototype,"labelingInfo",void 0),(0,n.Cg)([(0,i.MZ)(h.kF)],m.prototype,"labelsVisible",void 0),(0,n.Cg)([(0,i.MZ)({types:y.Hg,json:{write:!0}})],m.prototype,"renderer",void 0),(0,n.Cg)([(0,i.MZ)({type:Boolean,json:{write:!0}})],m.prototype,"visible",void 0),m=(0,n.Cg)([(0,i.$K)("esri.layers.support.TrackPartInfo")],m);var g=r(96576),v=r(59868),w=r(10184),M=r(43937);let b=class extends((0,u.OU)(p.o)){constructor(e){super(e),this.enabled=!0,this.fields=[],this.latestObservations=new m({renderer:new g.A({symbol:v.UK.clone()})}),this.maxDisplayDuration=null,this.maxDisplayObservationsPerTrack=0,this.popupEnabled=!0,this.popupTemplate=null,this.previousObservations=new m({renderer:new g.A({symbol:v.UK.clone()})}),this.trackLines=new m({renderer:new g.A({symbol:v.A7.clone()})}),this.timeField="startTimeField"}writeFields(e,t,r){const n=e.filter(e=>"avg_angle"!==e.statisticType).map(e=>e.toJSON());(0,c.sM)(r,n,t)}};(0,n.Cg)([(0,i.MZ)({type:Boolean,json:{write:!0}})],b.prototype,"enabled",void 0),(0,n.Cg)([(0,i.MZ)({type:[d.A],json:{write:!0}})],b.prototype,"fields",void 0),(0,n.Cg)([(0,M.K)("fields")],b.prototype,"writeFields",null),(0,n.Cg)([(0,i.MZ)({type:m,json:{write:!0}})],b.prototype,"latestObservations",void 0),(0,n.Cg)([(0,i.MZ)({type:w.A,json:{write:!0}})],b.prototype,"maxDisplayDuration",void 0),(0,n.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],b.prototype,"maxDisplayObservationsPerTrack",void 0),(0,n.Cg)([(0,i.MZ)(h.M6)],b.prototype,"popupEnabled",void 0),(0,n.Cg)([(0,i.MZ)({type:a.A,json:{name:"popupInfo",write:!0}})],b.prototype,"popupTemplate",void 0),(0,n.Cg)([(0,i.MZ)({type:m,json:{write:!0}})],b.prototype,"previousObservations",void 0),(0,n.Cg)([(0,i.MZ)({type:m,json:{write:!0}})],b.prototype,"trackLines",void 0),(0,n.Cg)([(0,i.MZ)({type:["timeReceived","startTimeField","endTimeField"],json:{read:!0,write:!0}})],b.prototype,"timeField",void 0),b=(0,n.Cg)([(0,i.$K)("esri.layers.support.TrackInfo")],b);const x=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.trackGraphicOrigin=new l(this),this.trackInfo=null}};return(0,n.Cg)([(0,i.MZ)({readOnly:!0,clonable:!1})],r.prototype,"trackGraphicOrigin",void 0),(0,n.Cg)([(0,i.MZ)({type:b})],r.prototype,"trackInfo",void 0),r=(0,n.Cg)([(0,i.$K)("esri.layers.mixins.TrackableLayer")],r),r}},37352(e,t,r){r.d(t,{A:()=>a});var n,i=r(5482),o=r(7762),s=r(25482),l=r(91429);let a=n=class extends s.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new o.A}clone(){return new n({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,i.Cg)([(0,l.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"floorField",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!1,write:!1}})],a.prototype,"viewAllMode",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!1,write:!1}})],a.prototype,"viewAllLevelIds",void 0),a=n=(0,i.Cg)([(0,l.$K)("esri.layers.support.LayerFloorInfo")],a)},91880(e,t,r){r.d(t,{A:()=>u});var n,i=r(5482),o=r(66552),s=r(25482),l=r(91429);const a=new o.J({asc:"ascending",desc:"descending"});let u=class extends s.o{static{n=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new n({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,i.Cg)([(0,l.MZ)({type:a.apiValues,json:{type:a.jsonValues,read:a.read,write:a.write}})],u.prototype,"order",void 0),u=n=(0,i.Cg)([(0,l.$K)("esri.layers.support.OrderByInfo")],u)},96184(e,t,r){r.d(t,{A:()=>h});var n=r(5482),i=r(69540),o=r(25482),s=r(91429),l=r(79677),a=r(10184),u=r(56400),p=r(36005),c=r(43937);function d(e,t){return a.A.fromJSON({value:e,unit:t})}let h=class extends((0,i.OU)(o.o)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeZone=null,this.trackIdField=null,this.useTime=!0,this.stops=null}readFullTimeExtent(e,t){return t.timeExtent&&Array.isArray(t.timeExtent)&&2===t.timeExtent.length?l.A.fromArray(t.timeExtent):null}writeFullTimeExtent(e,t){null!=e?.start&&null!=e.end?t.timeExtent=e.toArray():t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?d(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?d(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],h.prototype,"cumulative",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],h.prototype,"endField",void 0),(0,n.Cg)([(0,s.MZ)({type:l.A,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"fullTimeExtent",void 0),(0,n.Cg)([(0,p.w)("fullTimeExtent",["timeExtent"])],h.prototype,"readFullTimeExtent",null),(0,n.Cg)([(0,c.K)("fullTimeExtent")],h.prototype,"writeFullTimeExtent",null),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0}})],h.prototype,"hasLiveData",void 0),(0,n.Cg)([(0,s.MZ)({type:a.A,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"interval",void 0),(0,n.Cg)([(0,p.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],h.prototype,"readInterval",null),(0,n.Cg)([(0,c.K)("interval")],h.prototype,"writeInterval",null),(0,n.Cg)([(0,s.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],h.prototype,"startField",void 0),(0,n.Cg)([(0,s.MZ)((0,u.P6)("timeReference",!0))],h.prototype,"timeZone",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"trackIdField",void 0),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],h.prototype,"useTime",void 0),(0,n.Cg)([(0,s.MZ)({type:[Date],json:{read:!1}})],h.prototype,"stops",void 0),h=(0,n.Cg)([(0,s.$K)("esri.layers.support.TimeInfo")],h)},41560(e,t,r){r.d(t,{Ch:()=>s,mW:()=>o});var n=r(34727),i=r(39516);function o(e,t){return{...t,filterMode:e.mode}}function s(e,t,r){const o=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:r,maxScale:n}of e.filters)t[0]=Math.max(t[0],p(r)),t[1]=Math.min(t[1],c(n));return t}(e);if(o&&((0,n.gg)(t,o[0])||(0,n.ZH)(r,o[1])))return"";const s=Array.from(l(e,t,r)),a=function(e,t,r){if(0===e.length)return!0;const i=p(e.at(0)?.minScale),o=c(e.at(-1)?.maxScale);if((0,n.ZH)(i,t)||(0,n.gg)(o,r))return!0;for(let t=0;t<e.length-1;t++){const r=e[t],i=e[t+1];if((0,n.ZH)(p(i.minScale),c(r.maxScale)))return!0}return!1}(s,t,r)?"1=1":s.map(e=>e.where||"1=1").reduce((e,t)=>(0,i.IW)(e,t),"");return a&&"1=1"!==a?a:""}function*l(e,t,r){if("manual"===u(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const n of e.filters)a(n.minScale,n.maxScale,t,r)&&(yield n)}}function a(e,t,r,i){return e=p(e),r=p(r),t=c(t),!(!(0,n.Sp)(r,e)&&(i??r)>e||(0,n.Hx)(t,r)||void 0!==i&&(0,n.Sp)(i,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function p(e){return e||Number.POSITIVE_INFINITY}function c(e){return e||0}},17036(e,t,r){r.d(t,{p:()=>a});var n=r(44208),i=r(53966),o=r(20437),s=r(95466),l=r(30524);function a(){return{fields:{type:[o.A],value:null,set:function(e){if(e&&(0,n.A)("big-integer-warning-enabled")){const t=e.filter(e=>"big-integer"===e.type||"oid"===e.type&&(e.length||0)>=8);if(t.length){const e=t.map(e=>`'${e.name}'`).join(", ");i.A.getLogger(this).warn("#fields",`Layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}') references big-integer field(s): ${e}, support for which is experimental. Only integers less than ${Number.MAX_SAFE_INTEGER} (Number.MAX_SAFE_INTEGER) are supported.`)}}this._set("fields",e)}},fieldsIndex:{readOnly:!0,get(){return s.A.fromLayer(this)}},outFields:{type:[String],json:{read:!1},set:function(e){this._userOutFields=e,this.notifyChange("outFields")},get:function(){const e=this._userOutFields;if(!e?.length)return null;if(e.includes("*"))return["*"];if(!this.fields)return e;for(const t of e){const r=this.fieldsIndex?.has(t);r||i.A.getLogger("esri.layers.support.fieldProperties").error("field-attributes-layer:invalid-field",`Invalid field ${t} found in outFields`,{layer:this,outFields:e})}return(0,l.DB)(this.fieldsIndex,e)}}}}},32730(e,t,r){r.d(t,{BI:()=>h,D3:()=>c,XJ:()=>d,lc:()=>p,mX:()=>y,rU:()=>f,tH:()=>M,vK:()=>b,zA:()=>x});var n=r(799);const i="__begin__",o="__end__",s=new RegExp(i,"ig"),l=new RegExp(o,"ig"),a=new RegExp("^"+i,"i"),u=new RegExp(o+"$","i");function p(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function c(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function d(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=p(e.labelExpression),t.type="conventional"),t}function h(e){const t=d(e);if(!t)return null;switch(t.type){case"conventional":return y(t.expression);case"arcade":return t.expression}return null}function f(e){const t=d(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(m);return t?.[1].trim()||null}(t.expression);case"arcade":return M(t.expression)}return null}function y(e){let t;return e?(t=(0,n.HC)(e,e=>i+'$feature["'+e+'"]'+o),t=a.test(t)?t.replace(a,""):'"'+t,t=u.test(t)?t.replace(u,""):t+'"',t=t.replaceAll(s,'" + ').replaceAll(l,' + "')):t='""',t}const m=/^\s*\{([^}]+)\}\s*$/i,g=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,v=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,w=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function M(e){if(!e)return null;let t=g.exec(e)||v.exec(e);return t?t[1]||t[3]:(t=w.exec(e),t?t[2]:null)}const b=Symbol("LabelClassInstance");function x(e){return null!=e&&"object"==typeof e&&b in e}},5757(e,t,r){r.d(t,{B:()=>i,P:()=>n});const n=Symbol("PopupTemplateInstance");function i(e){return null!=e&&"object"==typeof e&&n in e}},10407(e,t,r){r.d(t,{It:()=>h,LG:()=>s,OM:()=>u,Sm:()=>p,Y:()=>l,bK:()=>a,mm:()=>d,sQ:()=>c});var n=r(91218),i=r(16930),o=r(28735);function s(e,t){if(!l(e,t)){const r=e.typeKeywords;r?r.push(t):e.typeKeywords=[t]}}function l(e,t){return!!e.typeKeywords?.includes(t)}function a(e){return l(e,d.HOSTED_SERVICE)}function u(e,t){const r=e.typeKeywords;if(r){const e=r.indexOf(t);e>-1&&r.splice(e,1)}}function p(e,t,r){r?s(e,t):u(e,t)}async function c(e){const t=e.clone().normalize();let r;if(t.length>1)for(const e of t)r?e.width>r.width&&(r=e):r=e;else r=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,o.ci)(e);const r=i.A.WGS84;return await(0,n.initializeProjection)(t,r),(0,n.project)(e,r)}(r)}const d={CHARTS:"Charts",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery"};function h(e){const{portal:t,isOrgItem:r,itemControl:n}=e,i=t.user?.privileges;let o=!i||i.includes("features:user:edit"),s=!!r&&!!i?.includes("features:user:fullEdit");const l="update"===n||"admin"===n;return l?s=o=!0:s&&(o=!0),{features:{edit:o,fullEdit:s},content:{updateItem:l}}}},73681(e,t,r){r.d(t,{n:()=>a});var n=r(49186),i=r(53966),o=r(46140),s=r(95466),l=r(55674);class a{static async from(e,t,r){const s=e.dictionary_version?o.A.parse(e.dictionary_version):null,p=new Set(e.itemsNames),c={};if(t)for(const e in t)c[e]=t[e];if(e.authoringInfo.configuration)for(const t of e.authoringInfo.configuration)c.hasOwnProperty(t.name)||(c[t.name]=t.value);const d=new Set(e.authoringInfo.symbol);for(const e of Object.keys(r))d.delete(e);d.size&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("missing-fields: fieldMap entries for the following symbol fields are missing",{symbolFields:d});const h=await(0,l.xR)(e.expression,null,c);if(!h)throw new n.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");const f=!s||!s.greaterEqual(4,0);f&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("Dictionary script does not support native field types. Applying fallback",{version:s});const y=new u(r,f);return new a(f,p,h,y)}constructor(e,t,r,n){this._requiresFieldCoercionToString=e,this._itemNames=t,this._compiled=r,this._reader=n}get itemNames(){return this._itemNames}evaluate(e,t,r,n){try{return this._reader.bind(e,r,n),this._compiled.evaluate(this._reader,{$view:{scale:t}})}catch(e){i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("arcade: dictionary script evaluation failed",{error:e})}return null}createDictionaryFieldsIndex(e){if(!this._requiresFieldCoercionToString)return new s.A(e);const t=e.map(e=>({...e,type:"esriFieldTypeString"}));return new s.A(t)}}class u extends l.Gj{constructor(e,t){super(),this._fieldMap=e,this._requiresFieldCoercionToString=t}_getField(e){const t=this._fieldMap[e]??e;return this._boundSchema.fieldsIndex.get(t)}field(e){if(!this._requiresFieldCoercionToString)return super.field(e,!1);const t=this._getField(e);return null==t||null==this._boundTarget.attributes[t.name]?"":""+this._boundTarget.attributes[t.name]}}},98205(e,t,r){r.d(t,{KZ:()=>l,eh:()=>s,gf:()=>o,of:()=>i,uY:()=>n});const n=Symbol("SizeVariableInstance");function i(e){return null!=e&&"object"==typeof e&&n in e}function o(e){return null!=e&&!isNaN(e)&&isFinite(e)}function s(e){return e.valueExpression?"expression":e.field&&"string"==typeof e.field?"field":"unknown"}function l(e,t){const r=t||s(e),n=e.valueUnit||"unknown";return"unknown"===r?"constant":e.stops?"stops":null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?"clamped-linear":"unknown"===n?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?"proportional":"additive":"identity":"real-world-size"}},22671(e,t,r){r.d(t,{A:()=>v});var n,i=r(5482),o=r(52106),s=r(66552),l=r(25482),a=r(4718),u=r(91429),p=r(16930),c=r(60408),d=r(65864),h=r(50498),f=r(20437),y=r(36005),m=r(43937);const g=new s.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=n=class extends l.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,o.A)}writeGeometryType(e,t,r,n){if(e)return void g.write(e,t,r,n);const{features:i}=this;if(i)for(const e of i)if(null!=e?.geometry)return void g.write(e.geometry.type,t,r,n)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,n=(0,d.rS)(e);return n&&!r&&t.spatialReference&&(n.spatialReference=p.A.fromJSON(t.spatialReference)),n}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new n(this.cloneProperties())}cloneProperties(){return(0,a.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const n=t.features[r];if(n.geometry){const t=e?.[r];n.geometry=t?.toJSON()||n.geometry}}return t}quantize(e){const{scale:[t,r],translate:[n,i]}=e,o=this.features,s=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-n)/t),e=>Math.round((i-e)/r));for(let e=0,t=o.length;e<t;e++)s?.(o[e].geometry)||(o.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[n,i],scale:[o,s]}=r;let l=null,a=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;l=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;a=r=>null==r?r:r*t+e}const u=this._getHydrationFunction(e,e=>e*o+n,e=>i-e*s,l,a);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const n=p.A.fromJSON(t.spatialReference),i=[];for(let t=0;t<e.length;t++){const o=e[t],s=r.fromJSON(o),l=o.geometry?.spatialReference;null==s.geometry||l||(s.geometry.spatialReference=n);const a=o.aggregateGeometries,u=s.aggregateGeometries;if(a&&null!=u)for(const e in u){const t=u[e],r=a[e],i=r?.spatialReference;null==t||i||(t.spatialReference=n)}i.push(s)}return i}_quantizePoints(e,t,r){let n,i;const o=[];for(let s=0,l=e.length;s<l;s++){const l=e[s];if(s>0){const e=t(l[0]),s=r(l[1]);e===n&&s===i||(o.push([e-n,s-i]),n=e,i=s)}else n=t(l[0]),i=r(l[1]),o.push([n,i])}return o.length>0?o:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const n=(0,c.Bi)(e)?e.rings:e.paths,i=[];for(let e=0,o=n.length;e<o;e++){const o=n[e],s=this._quantizePoints(o,t,r);s&&i.push(s)}return i.length>0?((0,c.Bi)(e)?e.rings=i:e.paths=i,e):null}:"multipoint"===e?e=>{const n=this._quantizePoints(e.points,t,r);return n&&n.length>0?(e.points=n,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,n,i){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),n&&(e.z=n(e.z))}:"polyline"===e||"polygon"===e?e=>{const o=(0,c.Bi)(e)?e.rings:e.paths;let s,l;for(let e=0,n=o.length;e<n;e++){const n=o[e];for(let e=0,i=n.length;e<i;e++){const i=n[e];e>0?(s+=i[0],l+=i[1]):(s=i[0],l=i[1]),i[0]=t(s),i[1]=r(l)}}if(n&&i)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2]),r[3]=i(r[3])}}else if(n)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2])}}else if(i)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),n&&null!=e.zmax&&null!=e.zmin&&(e.zmax=n(e.zmax),e.zmin=n(e.zmin)),i&&null!=e.mmax&&null!=e.mmin&&(e.mmax=i(e.mmax),e.mmin=i(e.mmin))}:"multipoint"===e?e=>{const o=e.points;let s,l;for(let e=0,n=o.length;e<n;e++){const n=o[e];e>0?(s+=n[0],l+=n[1]):(s=n[0],l=n[1]),n[0]=t(s),n[1]=r(l)}if(n&&i)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=n(t[2]),t[3]=i(t[3])}else if(n)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=n(t[2])}else if(i)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=i(t[2])}}:null}};(0,i.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,i.Cg)([(0,u.MZ)({type:[o.A],json:{write:!0}})],v.prototype,"features",void 0),(0,i.Cg)([(0,y.w)("features")],v.prototype,"readFeatures",null),(0,i.Cg)([(0,u.MZ)({type:[f.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,i.Cg)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],v.prototype,"geometryType",void 0),(0,i.Cg)([(0,m.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,i.Cg)([(0,u.MZ)({types:h.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,i.Cg)([(0,y.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,i.Cg)([(0,u.MZ)({type:p.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,i.Cg)([(0,m.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,i.Cg)([(0,u.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=n=(0,i.Cg)([(0,u.$K)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0},41366(e,t,r){r.d(t,{K:()=>c,Q:()=>a});var n=r(5482),i=r(66552),o=r(53966),s=r(91429),l=r(93223);const a=(0,i.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",p="field",c=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,r=null!=this.normalizationTotal;return t||r?(e=t&&p||r&&u||null,t&&r&&o.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==p&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,n.Cg)([(0,s.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],r.prototype,"normalizationField",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],r.prototype,"normalizationMaxValue",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],r.prototype,"normalizationMinValue",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],r.prototype,"normalizationTotal",void 0),(0,n.Cg)([(0,l.e)(a,{name:"parameters.normalizationType"})],r.prototype,"normalizationType",null),r=(0,n.Cg)([(0,s.$K)("esri.rest.support.NormalizationBinParametersMixin")],r),r}},55674(e,t,r){r.d(t,{Ad:()=>h,Gj:()=>m,QY:()=>d,lL:()=>g,xR:()=>f});var n=r(66131),i=r(49186),o=(r(44208),r(44729)),s=r(15032),l=r(65864),a=r(95466),u=r(43668),p=r(98623);const c=["geometry","scale","timeProperties"];function d(e,t){if(null!=t)for(const r of c)t.hasArcadeDependency(r)&&e.add(r);return e}function h(e,t){return y.create(e,t,null,["$feature","$view"])}function f(e,t,r){return y.create(e,t,r,["$feature","$view","$config"])}class y{static async create(e,t,r,n){const{arcade:o,Dictionary:s}=await(0,u.l)();let l;try{l=o.parseScript(e)}catch(t){throw new i.A("arcade-bad-expression","Failed to parse arcade script",{script:e,error:t})}const a=o.scriptUsesGeometryEngine(l);a&&await o.enableGeometrySupport(),await o.loadDependentModules(new Set,l,null,!1,a);const p={vars:n.reduce((e,t)=>({...e,[t]:null}),{}),spatialReference:t,useAsync:!1},c=o.compileScript(l,p);let d=null;null!=r&&(d=new s(r),d.immutable=!0);const h=new s;return h.immutable=!1,h.setField("scale",0),new y(e,o,l,c,t,h,d,s)}constructor(e,t,r,n,i,o,s,l){this.script=e,this._arcade=t,this._syntaxTree=r,this._compiled=n,this._spatialReference=i,this._viewDict=o,this._configDict=s,this._dictionaryCtor=l,this._dependencies=new Map,this._featureReader=new m,this._dependencies.set("geometry",t.scriptTouchesGeometry(this._syntaxTree)),this._dependencies.set("scale",this._arcade.referencesMember(this._syntaxTree,"scale")),this._dependencies.set("timeProperties",this._arcade.scriptUsesViewProperties(this._syntaxTree,["timeProperties"]))}evaluate(e,t){const r=t.$view?.timeZone;if(t.$view){let e;if(this._viewDict.setField("scale",t.$view.scale),null!=t.$view.timeProperties){const{currentStart:i,currentEnd:o}=t.$view.timeProperties;e=new this._dictionaryCtor({currentStart:null!=i?null!=r?n.lY.epochToArcadeDate(i,r):n.lY.unknownEpochToArcadeDate(i):void 0,currentEnd:null!=o?null!=r?n.lY.epochToArcadeDate(o,r):n.lY.unknownEpochToArcadeDate(o):void 0,startIncluded:!0,endIncluded:!0})}this._viewDict.setField("timeProperties",e)}return this._compiled({vars:{$view:this._viewDict,$config:this._configDict,$feature:e},spatialReference:this._spatialReference,timeZone:r})}repurposeFeature(e,t){return this._featureReader.bind(e,t,this._spatialReference),this._featureReader}references(e){return this._dependencies.get(e)??!1}}class m{constructor(){this._boundTarget=null,this._boundSchema={fields:null,fieldsIndex:null,spatialReference:null,get geometryType(){return null},get objectIdField(){return null}},this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}bind(e,t,r){const n=t??new a.A(g(e.attributes));this._boundTarget=e,this._boundSchema.fields=n.fields,this._boundSchema.fieldsIndex=n,this._boundSchema.spatialReference=r}_getField(e){return this._boundSchema.fieldsIndex.get(e)}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(e){this._contextTimeZone=e}readArcadeFeature(){return this}hasField(e){return this._boundSchema.fieldsIndex.has(e)}geometry(){if("fromJSON"in this._boundTarget)return this._boundTarget.geometry;const e=(0,l.rS)(this._boundTarget.geometry);if(e){if(!this._boundSchema.spatialReference)throw new Error("InternalError: Expected spatial reference to be defined");e.spatialReference=this._boundSchema.spatialReference}return e}_hasGeometry(){return null!=this._boundTarget.geometry}isUnknownDateTimeField(e){return this._boundSchema.fieldsIndex.getTimeZone(e)===p.L5}field(e,t=!0){const r=this._getField(e);if(r){const t=this._boundTarget.attributes[r.name];if(null==t)return null;switch(r.type){case"date-only":case"esriFieldTypeDateOnly":return o.n.fromReader(t);case"time-only":case"esriFieldTypeTimeOnly":return s.k.fromReader(t);case"esriFieldTypeTimestampOffset":case"timestamp-offset":return n.lY.fromReaderAsTimeStampOffset(t);case"date":case"esriFieldTypeDate":return this.isUnknownDateTimeField(e)?n.lY.unknownEpochToArcadeDate(t):n.lY.epochToArcadeDate(t,this.contextTimeZone??p.qU);default:return t}}if(t)throw new Error(`Field ${e} does not exist`);return null}setField(e,t){throw new Error("Unable to update feature attribute values, feature is readonly")}keys(){return this._boundSchema.fieldsIndex.fields.map(e=>e.name)}isEmpty(){return this._boundSchema.fields.length<=0&&!this._hasGeometry()}castToText(e=!1){return JSON.stringify(this._boundTarget)}gdbVersion(){return null}fullSchema(){return this._boundSchema}castAsJson(e=null){return{attributes:this._boundTarget.attributes,geometry:!0===e?.keepGeometryType?this.geometry():this.geometry()?.toJSON()??null}}castAsJsonAsync(e=null,t=null){return Promise.resolve(this.castAsJson(t))}}function g(e){const t=[];for(const r in e)t.push({name:r,alias:r,type:"string"==typeof e[r]?"esriFieldTypeString":"esriFieldTypeDouble"});return t}},11831(e,t,r){r.d(t,{A:()=>u});var n,i=r(5482),o=r(25482),s=r(90629),l=r(91429),a=r(5760);let u=n=class extends o.o{constructor(e){super(e),this.decoration="none",this.family="sans-serif",this.style="normal",this.weight="normal"}get size(){return this._get("size")??9}set size(e){this._set("size",e)}castSize(e){return(0,s.cr)(e)}clone(){return new n({decoration:this.decoration,family:this.family,size:this.size,style:this.style,weight:this.weight})}hash(){return`${this.decoration}.${this.family}.${this.size}.${this.style}.${this.weight}`}};(0,i.Cg)([(0,l.MZ)({type:a.h9,json:{default:"none",write:!0}})],u.prototype,"decoration",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],u.prototype,"family",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:{overridePolicy:(e,t,r)=>({enabled:!r||!r.textSymbol3D})}}})],u.prototype,"size",null),(0,i.Cg)([(0,l.wg)("size")],u.prototype,"castSize",null),(0,i.Cg)([(0,l.MZ)({type:a._R,json:{default:"normal",write:!0}})],u.prototype,"style",void 0),(0,i.Cg)([(0,l.MZ)({type:a.NM,json:{default:"normal",write:!0}})],u.prototype,"weight",void 0),u=n=(0,i.Cg)([(0,l.$K)("esri.symbols.Font")],u)},68249(e,t,r){r.d(t,{A:()=>f});var n,i=r(5482),o=r(68197),s=r(4718),l=r(90629),a=r(91429),u=r(11831),p=r(20378),c=r(5760),d=r(93223),h=r(43937);let f=n=class extends p.A{constructor(...e){super(...e),this.backgroundColor=null,this.borderLineColor=null,this.borderLineSize=null,this.font=new u.A,this.horizontalAlignment="center",this.kerning=!0,this.haloColor=null,this.rightToLeft=null,this.rotated=!1,this.text="",this.type="text",this.verticalAlignment="baseline",this.angle=0,this.width=null,this.lineHeight=1}normalizeCtorArgs(e,t,r){if(e&&"string"!=typeof e)return e;const n={};return e&&(n.text=e),t&&(n.font=t),r&&(n.color=r),n}get haloSize(){return this._get("haloSize")??null}set haloSize(e){this._set("haloSize",e)}get xoffset(){return this._get("xoffset")??0}set xoffset(e){this._set("xoffset",e)}get yoffset(){return this._get("yoffset")??0}set yoffset(e){this._set("yoffset",e)}get lineWidth(){return this._get("lineWidth")??192}set lineWidth(e){this._set("lineWidth",e)}writeLineWidth(e,t,r,n){n&&"string"!=typeof n?n.origin:t[r]=e}castLineWidth(e){return(0,l.cr)(e)}writeLineHeight(e,t,r,n){n&&"string"!=typeof n?n.origin:t[r]=e}clone(){return new n({angle:this.angle,backgroundColor:(0,s.o8)(this.backgroundColor),borderLineColor:(0,s.o8)(this.borderLineColor),borderLineSize:this.borderLineSize,color:(0,s.o8)(this.color),font:this.font&&this.font.clone(),haloColor:(0,s.o8)(this.haloColor),haloSize:this.haloSize,horizontalAlignment:this.horizontalAlignment,kerning:this.kerning,lineHeight:this.lineHeight,lineWidth:this.lineWidth,rightToLeft:this.rightToLeft,rotated:this.rotated,text:this.text,verticalAlignment:this.verticalAlignment,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${this.backgroundColor?.hash()}.${this.borderLineColor}.${this.borderLineSize}.${this.color?.hash()}.${this.font&&this.font.hash()}.${this.haloColor?.hash()}.${this.haloSize}.${this.horizontalAlignment}.${this.kerning}.${this.rightToLeft}.${this.rotated}.${this.text}.${this.verticalAlignment}.${this.width}.${this.xoffset}.${this.yoffset}.${this.lineHeight}.${this.lineWidth}.${this.angle}`}};(0,i.Cg)([(0,a.MZ)({type:o.A,json:{write:!0}})],f.prototype,"backgroundColor",void 0),(0,i.Cg)([(0,a.MZ)({type:o.A,json:{write:!0}})],f.prototype,"borderLineColor",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0},cast:l.cr})],f.prototype,"borderLineSize",void 0),(0,i.Cg)([(0,a.MZ)({type:u.A,json:{write:!0}})],f.prototype,"font",void 0),(0,i.Cg)([(0,a.MZ)({...c.rM,json:{write:!0}})],f.prototype,"horizontalAlignment",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],f.prototype,"kerning",void 0),(0,i.Cg)([(0,a.MZ)({type:o.A,json:{write:!0}})],f.prototype,"haloColor",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,cast:l.cr,json:{write:!0}})],f.prototype,"haloSize",null),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],f.prototype,"rightToLeft",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],f.prototype,"rotated",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],f.prototype,"text",void 0),(0,i.Cg)([(0,d.e)({esriTS:"text"},{readOnly:!0})],f.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({...c.x0,json:{write:!0}})],f.prototype,"verticalAlignment",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,cast:l.cr,json:{write:!0}})],f.prototype,"xoffset",null),(0,i.Cg)([(0,a.MZ)({type:Number,cast:l.cr,json:{write:!0}})],f.prototype,"yoffset",null),(0,i.Cg)([(0,a.MZ)({type:Number,json:{read:e=>e&&-1*e,write:(e,t)=>t.angle=e&&-1*e}})],f.prototype,"angle",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],f.prototype,"width",void 0),(0,i.Cg)([(0,a.MZ)({type:Number})],f.prototype,"lineWidth",null),(0,i.Cg)([(0,h.K)("lineWidth")],f.prototype,"writeLineWidth",null),(0,i.Cg)([(0,a.wg)("lineWidth")],f.prototype,"castLineWidth",null),(0,i.Cg)([(0,a.MZ)(c.Tb)],f.prototype,"lineHeight",void 0),(0,i.Cg)([(0,h.K)("lineHeight")],f.prototype,"writeLineHeight",null),f=n=(0,i.Cg)([(0,a.$K)("esri.symbols.TextSymbol")],f)},5760(e,t,r){r.d(t,{NM:()=>l,Tb:()=>a,_R:()=>s,h9:()=>o,rM:()=>u,x0:()=>p,y7:()=>c});var n=r(34727),i=r(56507);const o=["none","underline","line-through"],s=["normal","italic","oblique"],l=["normal","lighter","bold","bolder"],a={type:Number,cast:e=>{const t=(0,i.GB)(e);return 0===t?1:(0,n.qE)(t,.1,4)},nonNullable:!0},u={type:["left","right","center"],nonNullable:!0},p={type:["baseline","top","middle","bottom"],nonNullable:!0},c=8}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1948,6061,6936],{61691(t,e,s){s.d(e,{G:()=>n});class n{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,s){s.d(e,{S:()=>i});var n=s(61691);class i extends n.G{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},87992(t,e,s){s.d(e,{JR:()=>E,ME:()=>M,MY:()=>A,NO:()=>v,Nh:()=>C,V2:()=>Y,_s:()=>R,e6:()=>G,gh:()=>b,tr:()=>X,uX:()=>_});var n=s(5482),i=s(69397),r=s(16930),o=(s(70328),s(19419)),a=s(60408),h=s(21325),m=s(513),u=s(50954),c=s(79567),f=s(52006),l=s(49663),d=s(46068),x=s(92722);class _{constructor({type:t,spatialReference:e,vertexCount:s,vertexXY:n,vertexZ:i,vertexM:r,partCount:o,partOffsets:a,partFlags:h,segmentFlags:m,segmentIndices:u,segmentParams:c,segmentCountArc:f,segmentCountBezier:l}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=s,this.vertexXY=n,this.vertexZ=i,this.vertexM=r,this.partCount=o,this.partOffsets=a,this.partFlags=h,this.segmentFlags=m,this.segmentIndices=u,this.segmentParams=c,this.segmentCountArc=f,this.segmentCountBezier=l}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:s}=this;return t&&t-e-s}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return null!=this.segmentFlags}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?i.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:s,hasZ:n,hasM:i,segmentCountArc:r,segmentCountBezier:o}=this,a=Y(t,e,s,n,i,this.hasCurves(),r,o);a.spatialReference=this.spatialReference;const{vertexXY:h,vertexZ:m,vertexM:u}=this;if(a.vertexXY.set(h.subarray(0,2*e),0),a.vertexZ?.set(m.subarray(0,e),0),a.vertexM?.set(u.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;a.partFlags.set(e.subarray(0,s+1)),a.partOffsets.set(t.subarray(0,s+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:s,segmentParams:n,segmentParamCount:i}=this;a.segmentFlags.set(t.subarray(0,e),0),a.segmentIndices.set(s.subarray(0,e),0),a.segmentParams.set(n.subarray(0,i),0)}return a}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,h.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const s=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,s)=>Math.abs(t-s)>e||isNaN(t)!==isNaN(s);for(let e=0;e<this.vertexCount;++e)if(s(this.vertexXY[2*e],t.vertexXY[2*e])||s(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(s(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(s(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(s(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new g(this):[][Symbol.iterator]()}}class g{constructor(t){this.geometry=t,this.value=new y(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class y{constructor(t){this.geometry=t,this.index=-1,this._readVertex=w(t),this._segments=new p(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class p{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new P(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class P{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=w(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let s=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[s++],n=e[s++],i=e[s++],r=e[s++];return{b:[this.end,[t,n],[i,r]]}}const n=e[s++],i=e[s++],r=e[s++],o=e[s++],a=e[s++],h=e[s++];s++,s++;const m=e[s++],u=e[s++];if(!Boolean(4&n)&&1===r)return{c:[this.end,[m,u]]};const c=2&n?0:1,f=1&n?0:1;return{a:[this.end,[a,h],c,f,o,i,r]}}}function v(t,e){const s={stack:[],error:void 0,hasError:!1};try{return e??=(0,o.Ie)(),(0,n.mS)(s,new S(t,["vertexZ","vertexM","spatialReference"]),!1),(0,o.bx)(e,function(t){let e;const{vertexCount:s,vertexXY:i,vertexZ:r,vertexM:a}=t,h=O(t);if(t.hasCurves()){const s={stack:[],error:void 0,hasError:!1};try{(0,n.mS)(s,new S(t,["vertexZ","vertexM"]),!1);const i=(0,o.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:s}of e.segments)(0,c.e)(i,t,s),t=(0,f.yP)(s)}const[r,a,m,u]=i;e={xmin:r,ymin:a,xmax:m,ymax:u,spatialReference:h}}catch(t){s.error=t,s.hasError=!0}finally{(0,n.hk)(s)}}else{let t,n,r,o;t=n=1/0,r=o=-1/0;for(let e=0;e<s;++e){const s=i[2*e],a=i[2*e+1];t=Math.min(t,s),r=Math.max(r,s),n=Math.min(n,a),o=Math.max(o,a)}e={xmin:t,ymin:n,xmax:r,ymax:o,spatialReference:h}}if(r){let t=1/0,s=-1/0;for(const e of r)t=Math.min(t,e),s=Math.max(s,e);e.zmin=t,e.zmax=s}if(a){let t=1/0,s=-1/0;for(const e of a)t=Math.min(t,e),s=Math.max(s,e);e.mmin=t,e.mmax=s}return e}(t)),e}catch(t){s.error=t,s.hasError=!0}finally{(0,n.hk)(s)}}function M(t){let e,s,n;if((0,a.fT)(t)){n="point";const{x:i,y:r,z:o,m:a}=t,h=[i,r];null!=o&&h.push(o),null!=a&&h.push(a),s=[[h]],e=1}else(0,a.U9)(t)?(n="multipoint",s=[t.points],e=t.points.length):(0,a.Rg)(t)?(n="polyline",s=t.curvePaths??t.paths,e=s.reduce((t,e)=>t+e.length,0)):(n="polygon",s=t.curveRings??t.rings,e=s.reduce((t,e)=>(0===e.length||(t+=e.length,I(e[0],(0,f.yP)(e.at(-1)))&&--t),t),0));const i=Y(n,e,n.includes("point")?0:s.length,(0,a.Pv)(t),(0,a.W0)(t),(0,f.Ed)(t)),{hasZ:r,hasM:o,vertexXY:h,vertexZ:m,vertexM:u}=i;function c(t){h[2*d]=t[0],h[2*d+1]=t[1],r&&(m[d]=t[2]),o&&(u[d]=t[l]),++d}i.spatialReference=t.spatialReference??void 0;const l=i.hasZ?3:2;let d=0;if(!i.isMultipart()){if(!r&&!o){for(const[t,e]of s[0])h[2*d]=t,h[2*d+1]=e,++d;return i}for(const t of s[0])c(t);return i}const x="polygon"===n,{partOffsets:_}=i;let g=0;if(!i.hasCurves()){for(const t of s){if(_[g++]=d,0===t.length)continue;let e=t.length;if(x&&I(t[0],t.at(-1))&&--e,r||o)for(let s=0;s<e;++s)c(t[s]);else for(let s=0;s<e;++s){const[e,n]=t[s];h[2*d]=e,h[2*d+1]=n,++d}}return _[g]=d,i}function y(t){const e=p+t;if(e<=(i.segmentParams?.length??0))return;let s=e*T;s=20*Math.ceil(s/20);const n=i.segmentParams;i.segmentParams=new Float64Array(s),null!=n&&i.segmentParams.set(n)}let p=0;for(const t of s){if(i.partOffsets[g++]=d,0===t.length)continue;const e=t[0];let s=e;for(let e=1;e<t.length;++e){const n=t[e];c(s);const r=d-1;(0,f.wY)(n)?(y(10),++i.segmentCountArc,p=R(s,n,i,r,p),s=n.a[0]):(0,f.DA)(n)?(y(10),++i.segmentCountArc,p=Z(s,n,i,r,p),s=n.a[0]):(0,f.aO)(n)?(y(10),++i.segmentCountArc,p=G(s,n,i,r,p),s=n.c[0]):(0,f.n1)(n)?(y(4),++i.segmentCountBezier,p=X(0,n,i,r,p),s=n.b[0]):s=n}x&&I(e,s)||c(s)}return i.partOffsets[g]=d,i}function b(t){const e=w(t),{vertexCount:s,partCount:n,hasZ:i,hasM:r}=t,o=O(t);if("point"===t.type){const[e,s]=t.vertexXY,n=t.vertexZ?.[0],i=t.vertexM?.[0];return{x:e,y:s,z:n,m:i,spatialReference:o}}let a=0;if("multipoint"===t.type){const t=[];for(;a<s;)t.push(e(a++));return{points:t,spatialReference:o,hasZ:i,hasM:r}}const h="polygon"===t.type;if(!t.hasCurves()){const s=new Array;for(let i=0;i<n;++i){const n=t.partOffsets[i+1],r=new Array;for(;a<n;)r.push(e(a++));h&&r.length>0&&r.push(r[0]),s.push(r)}return h?{rings:s,hasZ:i,hasM:r,spatialReference:o}:{paths:s,hasZ:i,hasM:r,spatialReference:o}}const m=new Array;for(const{segments:e,startVertex:s}of t.parts){const t=[s];for(const{curve:s}of e)t.push(s);m.push(t)}return h?{rings:[],curveRings:m,hasZ:i,hasM:r,spatialReference:o}:{paths:[],curvePaths:m,hasZ:i,hasM:r,spatialReference:o}}function C(t,{lengths:e,coords:s,hasZ:n,hasM:i},r){const o=t.includes("point")?0:e.length,a="polygon"===t,h="point"===t?1:e.reduce((t,e)=>t+e,0)-(a?o:0);n??=!1,i??=!1;const m=Y(t,h,o,n,i,!1,0,0);if(m.spatialReference=r??void 0,!m.isMultipart()){for(let t=0,e=0;t<h;++t)m.vertexXY[2*t]=s[e++],m.vertexXY[2*t+1]=s[e++],n&&(m.vertexZ[t]=s[e++]),i&&(m.vertexM[t]=s[e++]);return m}const u=2+Number(n)+Number(i);let c=0,f=0;m.partOffsets[0]=0;for(const t of e){const e=m.partOffsets[f],r=e+t-Number(a);m.partOffsets[++f]=r;for(let t=e;t<r;++t)m.vertexXY[2*t]=s[c++],m.vertexXY[2*t+1]=s[c++],n&&(m.vertexZ[t]=s[c++]),i&&(m.vertexM[t]=s[c++]);a&&(c+=u)}return m}function E({type:t,vertexCount:e,vertexXY:s,vertexZ:n,vertexM:i,partCount:r,partOffsets:o,hasZ:a,hasM:h}){const m=new x.A([],[],a,h);r=Math.max(r,1);const u="polygon"===t;let c=0;for(let t=0;t<r;++t){const r=o?.[t+1]??e,f=m.coords.length;for(let t=c;t<r;++t)m.coords.push(s[2*t],s[2*t+1]),a&&m.coords.push(n[t]),h&&m.coords.push(i[t]);if(u){const t=c;m.coords.push(s[2*t],s[2*t+1]),a&&m.coords.push(n[t]),h&&m.coords.push(i[t])}m.lengths.push((m.coords.length-f)/m.stride),c=r}return"point"===t&&(m.lengths.length=0),m}function A(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,s=t.isCustomWkid()?0:t.getOldID();if(s<=0)return{wkt:e};let n=t.getLatestID();(n<=0||n===s)&&(n=void 0);const i=t.getVCS();if(null==i)return{wkid:s,latestWkid:n,wkt:e};const r=i.isCustomWkid()?0:i.getOldID();if(r<=0)return{wkt:e};let o=t.getLatestVerticalID();return(o<=0||o===r)&&(o=void 0),{wkid:s,wkt:e,latestWkid:n,vcsWkid:r,latestVcsWkid:o}}(t.getSpatialReference()),t=t.getGeometry()),new _({...t.toFlatGeometry(),spatialReference:e})}class S{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const s of e)t[s]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function O({spatialReference:t}){return t instanceof r.A?t.toJSON():t}function w({vertexXY:t,vertexZ:e,vertexM:s}){return e?s?n=>[t[2*n],t[2*n+1],e[n],s[n]]:s=>[t[2*s],t[2*s+1],e[s]]:s?e=>[t[2*e],t[2*e+1],s[e]]:e=>[t[2*e],t[2*e+1]]}function I(t,e){return t.every((t,s)=>t===e[s])}function Y(t,e,s,n,i,r,o,a){o??=0,a??=0;const h=new _({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:s,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:o,segmentCountBezier:a});let m=2*Float64Array.BYTES_PER_ELEMENT*e;n&&(m+=Float64Array.BYTES_PER_ELEMENT*e),i&&(m+=Float64Array.BYTES_PER_ELEMENT*e),h.isMultipart()&&(m+=(s+1)*Int32Array.BYTES_PER_ELEMENT,m+=(s+1)*Int8Array.BYTES_PER_ELEMENT),r&&(m+=e*Int8Array.BYTES_PER_ELEMENT,m+=e*Int32Array.BYTES_PER_ELEMENT,m+=h.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const u=new ArrayBuffer(m);let c=0;return h.vertexXY=new Float64Array(u,c,2*e),c+=h.vertexXY.byteLength,n&&(h.vertexZ=new Float64Array(u,c,e),c+=h.vertexZ.byteLength),i&&(h.vertexM=new Float64Array(u,c,e),c+=h.vertexM.byteLength),r&&(h.segmentParams=new Float64Array(u,c,h.segmentParamCount),c+=h.segmentParams.byteLength,h.segmentIndices=new Int32Array(u,c,e),h.segmentIndices.fill(V),c+=h.segmentIndices.byteLength),h.isMultipart()&&(h.partOffsets=new Int32Array(u,c,s+1),c+=h.partOffsets.byteLength,h.partFlags=new Int8Array(u,c,s+1),c+=h.partFlags.byteLength,"polygon"===h.type&&h.partFlags.subarray(0,s).fill(1)),r&&(h.segmentFlags=new Int8Array(u,c,e),h.segmentFlags.fill(1),c+=h.segmentFlags.byteLength),h}function R(t,e,{segmentFlags:s,segmentIndices:n,segmentParams:i},r,o){s[r]=4,n[r]=o;const[a,[h,m],u,c,f,l,x]=e.a;let _=4;c||(_|=1),u||(_|=2);const g=(0,d.SW)(t,e),[y,p]=(0,d.Uk)(g,.5);return i[o++]=_,i[o++]=l,i[o++]=x,i[o++]=f,i[o++]=h,i[o++]=m,i[o++]=g.u2-g.u1,i[o++]=g.u1,i[o++]=y,i[o++]=p,o}function Z(t,e,{segmentFlags:s,segmentIndices:n,segmentParams:i},r,o){s[r]=4,n[r]=o;const a=(0,l.io)(t,e);return F(a,4,...(0,m.mq)(a,.5),i,o)}function G(t,e,{segmentFlags:s,segmentIndices:n,segmentParams:i},r,o){return s[r]=4,n[r]=o,F((0,u.pM)(t,e),0,...e.c[1],i,o)}function F(t,e,s,n,i,r){const{cx:o,cy:a,thetaStart:h,thetaEnd:m,radius:u}=t;return h>m||(e|=1),Math.abs(m-h)<=Math.PI||(e|=2),i[r++]=e,i[r++]=u,i[r++]=1,i[r++]=0,i[r++]=o,i[r++]=a,i[r++]=m-h,i[r++]=h,i[r++]=s,i[r++]=n,r}function X(t,{b:[e,[s,n],[i,r]]},{segmentFlags:o,segmentIndices:a,segmentParams:h},m,u){return o[m]=2,a[m]=u,h[u++]=s,h[u++]=n,h[u++]=i,h[u++]=r,u}const T=1.61803,V=-1},66070(t,e,s){s.d(e,{g7:()=>g,zo:()=>y});var n=s(76061),i=s(61691),r=s(95213),o=s(55537),a=s(88885),h=s(83661);const m=1.4142135623730951,u=.017453292519943295,c=256,f=1024;class l{static construct(t,e,s){const n=new l;return n.x=t.x,n.y=t.y,n.m_next=-1,n.m_prev=-1,n.z=e,n.m=s,n.type=0,n}clone(){const t=new l;return t.x=this.x,t.y=this.y,t.m_next=this.m_next,t.m_prev=this.m_prev,t.z=this.z,t.m=this.m,t.type=this.type,t}asPoint2D(){return new h.P(this.x,this.y)}}class d{constructor(t){this.m_distance=-1,this.m_tolerance=-1,this.m_miterLimit=10,this.m_joins=0,this.m_progressCounter=0,this.m_bUseZ=!1,this.m_bUseM=!1,this.m_srcPts=[],this.m_srcPtCount=0,this.m_offsetPts=[],this.m_offsetPtCount=0,this.m_a1=0,this.m_a2=0,this.m_progressTracker=t}constructOffset(){const t=this.m_inputGeometry.getGeometryType();if(t===o.G.enumLine)return this.offsetLine();if(t===o.G.enumEnvelope)return this.offsetEnvelope();if((0,o.f)(t)){const t=new a.a;return t.addSegment(this.m_inputGeometry,!0),this.m_inputGeometry=t,this.constructOffset()}if(t===o.G.enumPolyline){const t=new a.a;return this.offsetMultiPath(t),t}if(t===o.G.enumPolygon){const t=new a.P;return this.offsetMultiPath(t),t}(0,o.t)("")}offsetLine(){const t=this.m_inputGeometry,e=t.getStartXY(),s=t.getEndXY(),n=new h.P;n.setSub(s,e),n.normalize(),n.leftPerpendicularThis(),n.scale(this.m_distance),e.addThis(n),s.addThis(n);const i=t.clone();return i.setStartXY(e),i.setEndXY(s),i}offsetEnvelope(){const t=this.m_inputGeometry;if(this.m_distance>0&&2!==this.m_joins){const e=new a.P;return e.addEnvelope(t,!1),this.m_inputGeometry=e,this.constructOffset()}const e=t.clone();return e.inflateCoords(this.m_distance,this.m_distance),e}progress(){}static buildPoint(t,e,s,n){n.x=t.x+e*Math.cos(s),n.y=t.y+e*Math.sin(s),n.type=t.type,n.z=t.z,n.m=t.m,n.m_next=-1,n.m_prev=-1}addPoint(t){this.m_offsetPts.push(t.clone()),this.m_offsetPtCount++}addPointEx(t,e){if(0===this.m_offsetPtCount)return void this.addPoint(t);const s=this.m_srcPtCount,n=this.m_srcPts[0===e?s-1:e-1],i=this.m_srcPts[e],r=d.dotSign(n,i,this.m_offsetPts[this.m_offsetPtCount-1],t);if(r>0)this.addPoint(t);else if(r<0)if(d.dotSign(n,i,i,this.m_offsetPts[this.m_offsetPtCount-1])>0){const i=new l;let r;r=0===e?s-2:1===e?s-1:e-2;const o=this.m_srcPts[r],a=Math.atan2(n.y-o.y,n.x-o.x);if(d.buildPoint(n,this.m_distance,a-h.o,i),this.m_offsetPts[this.m_offsetPtCount-1]=i.clone(),1===this.m_joins||2===this.m_joins){i.x=.5*(i.x+n.x),i.y=.5*(i.y+n.y),this.addPoint(i),d.buildPoint(n,this.m_distance,this.m_a1+h.o,i);const t=i.clone();t.x=.5*(t.x+n.x),t.y=.5*(t.y+n.y),t.type|=c,this.addPoint(t),this.addPoint(i)}else d.buildPoint(n,this.m_distance,this.m_a1+h.o,i),i.type|=c,this.addPoint(i);this.addPointEx(t,e)}else{const t=new l;if(d.buildPoint(i,this.m_distance,this.m_a1+h.o,t),this.addPoint(t),1===this.m_joins||2===this.m_joins){t.x=.5*(t.x+i.x),t.y=.5*(t.y+i.y),this.addPoint(t),d.buildPoint(i,this.m_distance,this.m_a2-h.o,t);const e=t.clone();e.x=.5*(e.x+i.x),e.y=.5*(e.y+i.y),e.type|=c,this.addPoint(e),this.addPoint(t)}else d.buildPoint(i,this.m_distance,this.m_a2-h.o,t),t.type|=c,this.addPoint(t)}}buildOffset(){const t=new l,e=this.m_srcPtCount;this.m_offsetPtCount=0;const s=.5*this.m_tolerance;let n=0,i=0;for(let r=0;r<e;r++){const o=this.m_srcPts[r],a=0===r?this.m_srcPts[e-1]:this.m_srcPts[r-1],l=r===e-1?this.m_srcPts[0]:this.m_srcPts[r+1];let x,_,g=0;{const t=a.x-o.x,e=a.y-o.y,s=l.x-o.x,m=l.y-o.y;x=Math.atan2(e,t),_=Math.atan2(m,s),this.m_a1=x,this.m_a2=_,0===r&&(n=x,i=_),g=h.P.orientationRobust(o.asPoint2D(),a.asPoint2D(),l.asPoint2D())}const y=_;if(_<x&&(_+=h.p),!(Math.abs(Math.abs(x-_)-Math.PI)<1e-8))if(g*this.m_distance>0)if(1===this.m_joins||2===this.m_joins){d.buildPoint(o,this.m_distance,x+h.o,t),this.addPoint(t);const e=.001;t.x=o.x+(t.x-o.x)*e,t.y=o.y+(t.y-o.y)*e,this.addPoint(t),d.buildPoint(o,this.m_distance,_-h.o,t);const s=t.clone();s.x=o.x+(s.x-o.x)*e,s.y=o.y+(s.y-o.y)*e,s.type|=c,this.addPoint(s),this.addPoint(t)}else{const e=.5*(_-x),s=0===e?this.m_distance:this.m_distance/Math.abs(Math.sin(e));d.buildPoint(o,s,.5*(x+_),t),this.addPointEx(t,r)}else{if(512&o.type){const e=1-s/Math.abs(this.m_distance);let n=1,i=this.m_distance<0?-Math.PI:Math.PI;if(e>-1&&e<1){let t=2*Math.acos(e);t<u&&(t=u),n=Math.trunc(Math.PI/t+1.5),n>1&&(i/=n)}n<=1&&(n=2,i/=2);let a=x+h.o;d.buildPoint(o,this.m_distance,a,t),0===r&&(t.type|=f),this.addPointEx(t,r);const m=this.m_distance/Math.cos(i/2);for(a+=i/2,d.buildPoint(o,m,a,t),t.type|=f,this.addPoint(t);--n>0;)a+=i,d.buildPoint(o,m,a,t),t.type|=f,this.addPoint(t);d.buildPoint(o,this.m_distance,_-h.o,t),t.type|=f,this.addPoint(t);continue}if(1!==this.m_joins){if(0===this.m_joins){const e=1-s/Math.abs(this.m_distance);let n=1,i=_-h.o-(x+h.o);if(e>-1&&e<1){let t=2*Math.acos(e);t<u&&(t=u),n=Math.trunc(Math.abs(i)/t+1.5),n>1&&(i/=n)}const a=this.m_distance/Math.cos(.5*i);let m=x+h.o+.5*i;for(d.buildPoint(o,a,m,t),this.addPointEx(t,r);--n>0;)m+=i,d.buildPoint(o,a,m,t),this.addPoint(t);continue}if(2===this.m_joins){const e=a.x-o.x,s=a.y-o.y,n=l.x-o.x,i=l.y-o.y;let u=(e*n+s*i)/Math.sqrt(e*e+s*s)/Math.sqrt(n*n+i*i);if(u=Math.max(u,-1),u>1-1e-8){d.buildPoint(o,m*this.m_distance,_-.25*Math.PI,t),this.addPointEx(t,r),d.buildPoint(o,m*this.m_distance,_+.25*Math.PI,t),this.addPoint(t);continue}const c=Math.abs(this.m_distance/Math.sin(.5*Math.acos(u))),f=Math.abs(this.m_miterLimit*this.m_distance);if(c>f){const e=.5*(_-x),s=this.m_distance/Math.abs(Math.sin(e));d.buildPoint(o,s,.5*(x+_),t);const n=h.P.construct(t.x,t.y),i=h.P.construct(o.x,o.y),a=new h.P;a.setSub(n,i);const m=new h.P;m.setScaleAdd(f/a.length(),a,i);const u=Math.sqrt(c*c-this.m_distance*this.m_distance),l=(c-f)*Math.abs(this.m_distance)/u;this.m_distance>0?a.rightPerpendicularThis():a.leftPerpendicularThis(),a.scale(l/a.length());const g=new h.P;g.setAdd(m,a);const y=new h.P;y.setSub(m,a),t.x=g.x,t.y=g.y,this.addPointEx(t,r),t.x=y.x,t.y=y.y,this.addPoint(t);continue}const g=.5*(_-x),y=this.m_distance/Math.abs(Math.sin(g));d.buildPoint(o,y,.5*(x+_),t),this.addPointEx(t,r);continue}{let e;if(_=y,this.m_distance>0?(_>x&&(_-=h.p),e=x-_<h.o):(_<x&&(_+=h.p),e=_-x<h.o),e){const e=this.m_distance*m;let s;s=e<0?x+.25*Math.PI:x+3*Math.PI*.25,d.buildPoint(o,e,s,t),this.addPointEx(t,r),s=e<0?_-.25*Math.PI:_-3*Math.PI*.25,d.buildPoint(o,e,s,t),this.addPoint(t)}else{const e=.5*(_-x),s=this.m_distance/Math.abs(Math.sin(e));_<x&&(_+=h.p),d.buildPoint(o,s,(x+_)/2,t),this.addPointEx(t,r)}}}else d.buildPoint(o,this.m_distance,x+h.o,t),this.addPointEx(t,r),d.buildPoint(o,this.m_distance,_-h.o,t),this.addPoint(t)}}return this.m_a1=n,this.m_a2=i,this.addPointEx(this.m_offsetPts[0],0),this.m_offsetPts[0]=this.m_offsetPts[this.m_offsetPtCount-1].clone(),this.removeBadSegsFast()}removeBadSegsFast(){let t=!1;for(let t=0;t<this.m_offsetPtCount;t++){const e=this.m_offsetPts[t];e.m_next=t+1,e.m_prev=t-1}this.m_offsetPts[0].m_prev=this.m_offsetPtCount-2,this.m_offsetPts[this.m_offsetPtCount-2].m_next=0;let e=0;for(let s=0;s<this.m_offsetPtCount;s++)if(this.m_offsetPts[e].type&c){const s=this.deleteClosedSeg(e);if(-1===s){t=!0;break}e=s}else e=this.m_offsetPts[e].m_next;return!t&&(this.compressOffsetArray(e),!0)}deleteClosedSeg(t){const e=this.m_offsetPtCount-1;let s,n,i=t;for(let r=1;r<=e-2;r++){i=this.m_offsetPts[i].m_next,s=i,n=t;for(let t=1;t<=r;t++){if(n=this.m_offsetPts[n].m_prev,0===(this.m_offsetPts[n].type&c)&&0===(this.m_offsetPts[s].type&c)){const t=this.handleClosedIntersection(n,s);if(-1!==t)return t}s=this.m_offsetPts[s].m_prev}}return-1}handleClosedIntersection(t,e){const s=this.m_offsetPts[this.m_offsetPts[t].m_prev],n=this.m_offsetPts[t],i=this.m_offsetPts[this.m_offsetPts[e].m_prev],r=this.m_offsetPts[e];if(!this.sectGraphicRect(s,n,i,r))return-1;const o={pt:new l,bAtExistingPt:!1};if(((n.x-s.x)*(r.y-i.y)-(n.y-s.y)*(r.x-i.x))*this.m_distance<0&&this.findIntersection(s,n,i,r,o)&&!o.bAtExistingPt){const a=1e-8,h=Math.sqrt((n.x-s.x)*(n.x-s.x)+(n.y-s.y)*(n.y-s.y)),m=(n.x-s.x)/h,u=(n.y-s.y)/h,c=Math.sqrt((r.x-i.x)*(r.x-i.x)+(r.y-i.y)*(r.y-i.y)),f=(r.x-i.x)/c,l=(r.y-i.y)/c;let d=!1;const x=o.pt.clone();x.x+=(m+f)*a,x.y+=(u+l)*a;let _=i,g=o.pt,y=this.m_offsetPts[t].m_prev;for(;g.y>x.y!=_.y>x.y&&x.x<(_.x-g.x)*(x.y-g.y)/(_.y-g.y)+g.x&&(d=!d),_=g,y=this.m_offsetPts[y].m_next,y!==e;)g=this.m_offsetPts[y];if(d)return-1;const p=this.m_offsetPts[t].m_prev;return o.pt.type=n.type,o.pt.m_next=e,o.pt.m_prev=p,this.m_offsetPts[t]=o.pt,this.m_offsetPts[e].m_prev=t,e}return-1}sectGraphicRect(t,e,s,n){return Math.max(t.x,e.x)>=Math.min(s.x,n.x)&&Math.max(s.x,n.x)>=Math.min(t.x,e.x)&&Math.max(t.y,e.y)>=Math.min(s.y,n.y)&&Math.max(s.y,n.y)>=Math.min(t.y,e.y)}findIntersection(t,e,s,n,i){let r,o,a,h;return i.bAtExistingPt=!1,r=(e.y-t.y)*(n.x-s.x)-(e.x-t.x)*(n.y-s.y),o=(s.y-t.y)*(e.x-t.x)-(s.x-t.x)*(e.y-t.y),a=0===r?2:o/r,a>=0&&a<=1&&(h=a,r=(n.y-s.y)*(e.x-t.x)-(n.x-s.x)*(e.y-t.y),o=(t.y-s.y)*(n.x-s.x)-(t.x-s.x)*(n.y-s.y),a=0===r?2:o/r,a>=0&&a<=1)&&(i.pt.x=t.x+a*(e.x-t.x),i.pt.y=t.y+a*(e.y-t.y),this.m_bUseZ&&(i.pt.z=s.z+h*(n.z-s.z)),this.m_bUseM&&(i.pt.m=s.m+h*(n.m-s.m)),0!==h&&1!==h||0!==a&&1!==a||(i.bAtExistingPt=!0),!((0===h||1===h)&&a>0&&a<1||(0===a||1===a)&&h>0&&h<1))}compressOffsetArray(t){for(;this.m_offsetPts[t].m_prev<t;)t=this.m_offsetPts[t].m_prev;let e=0,s=t;do{const t=this.m_offsetPts[s].clone();this.m_offsetPts[e]=t,s=t.m_next,e++}while(s!==t);this.m_offsetPts[e]=this.m_offsetPts[0].clone(),this.m_offsetPtCount=e+1}addPart(t,e){if(!(e<2))for(let s=0;s<e;s++){const e=this.m_offsetPts[t+s];if(s?this.m_bUseZ?this.m_resultPath.lineTo3DCoords(e.x,e.y,e.z):this.m_resultPath.lineToCoords(e.x,e.y):this.m_bUseZ?this.m_resultPath.startPath3DCoords(e.x,e.y,e.z):this.m_resultPath.startPathCoords(e.x,e.y),this.m_bUseM){const t=this.m_resultPath.getPointCount()-1;this.m_resultPath.setAttribute(2,t,0,e.m)}}}offsetMultiPath(t){const e=(0,a.d)(this.m_inputGeometry,0,this.m_tolerance,0,this.m_progressTracker,12e3),s=e.querySegmentIterator();s.resetToFirstPath();let n=-1;for(;s.nextPath();)n++,this.offsetPath(e,n,t)}offsetPath(t,e,s){let n=t.getPathStart(e),i=t.getPathEnd(e);if(this.m_resultPath=s,t.isClosedPath(e)){const e=t.getXY(n);for(;i>n&&t.getXY(i-1).equals(e);)i--;if(i-n>=2){this.m_srcPtCount=i-n,this.m_srcPts.length=this.m_srcPtCount;for(let e=n;e<i;e++)this.progress(),this.m_srcPts[e-n]=l.construct(t.getXY(e),this.m_bUseZ?t.getAttributeAsDbl(1,e,0):0,this.m_bUseM?t.getAttributeAsDbl(2,e,0):0);this.buildOffset()&&this.addPart(0,this.m_offsetPtCount-1)}}else{const e=t.getXY(n);for(;n<i-1&&t.getXY(n+1).equals(e);)n++;const s=t.getXY(i-1);for(;n<i-1&&t.getXY(i-2).equals(s);)i--;if(i-n>=2){this.m_srcPtCount=2*(i-n)-2,this.m_srcPts.length=this.m_srcPtCount;let s=l.construct(e,this.m_bUseZ?t.getAttributeAsDbl(1,n,0):0,this.m_bUseM?t.getAttributeAsDbl(2,n,0):0);s.type|=1536,this.m_srcPts[0]=s;let r=1,o=this.m_srcPtCount-1;for(let e=n+1;e<i-1;e++,r++,o--)this.progress(),s=l.construct(t.getXY(e),this.m_bUseZ?t.getAttributeAsDbl(1,e,0):0,this.m_bUseM?t.getAttributeAsDbl(2,e,0):0),this.m_srcPts[r]=s.clone(),s.type|=f,this.m_srcPts[o]=s.clone();if(s=l.construct(t.getXY(i-1),this.m_bUseZ?t.getAttributeAsDbl(1,i-1,0):0,this.m_bUseM?t.getAttributeAsDbl(2,i-1,0):0),s.type|=512,this.m_srcPts[r]=s.clone(),this.buildOffset())if(this.m_offsetPts.length>=2){let t=-1,e=-1,s=0!==(this.m_offsetPts[this.m_offsetPtCount-1].type&f);s||(t=0);for(let n=1;n<this.m_offsetPtCount;n++){this.progress();const i=0!==(this.m_offsetPts[n].type&f);i?s||(e=n-1,e-t+1>1&&this.addPart(t,e-t+1)):s&&(t=n-1),s=i}s||(e=this.m_offsetPtCount-1,e-t+1>1&&this.addPart(t,e-t+1))}else{const t=0,e=this.m_offsetPtCount-1;e-t>=1&&this.addPart(t,e-t+1)}}}this.m_srcPts.length=0,this.m_srcPtCount=0,this.m_offsetPts.length=0,this.m_offsetPtCount=0}static dotSign(t,e,s,n){const i=e.x-t.x,r=e.y-t.y,o=n.x-s.x,a=n.y-s.y,m=(0,h.t)(i,r,o,a);return(0,h.e)(m)}}class x extends i.G{constructor(t,e,s,n,i,r,o){super(),this.m_progressTracker=o,this.m_index=-1,this.m_inputGeoms=t,this.m_spatialReference=e,this.m_distance=s,this.m_joins=n,this.m_miterLimit=i,this.m_flattenError=r}tock(){return!0}getRank(){return 1}next(){if(!this.m_inputGeoms)return null;let t;for(;t=this.m_inputGeoms.next();)return this.m_index=this.m_inputGeoms.getGeometryID(),this.offset(t);return null}getGeometryID(){return this.m_index}offset(t){let e;return(0,o.c)(t),e=this.m_flattenError<=0?(0,r.e)(this.m_spatialReference,t,!0).total():this.m_flattenError,function(t,e,s,n,i,r){if(null===t&&(0,o.a)(""),t.getDimension()<1&&(0,o.a)(""),i>0||(0,o.a)(""),(0,o.c)(t),0===e||t.isEmpty())return t;const a=new d(r);return a.m_bUseZ=t.hasAttribute(1),a.m_bUseM=t.hasAttribute(2),a.m_inputGeometry=t,a.m_distance=e,a.m_tolerance=i,a.m_joins=s,a.m_miterLimit=n>1?n:1,a.m_progressCounter=0,a.constructOffset()}(t,this.m_distance,this.m_joins,this.m_miterLimit,e,this.m_progressTracker)}}const _=new class{getOperatorType(){return 10108}accelerateGeometry(t,e,s){return!1}canAccelerateGeometry(t){return!1}supportsCurves(){return!0}executeMany(t,e,s,n,i,r,o){return new x(t,e,s,n,i,r,o)}execute(t,e,s,n,i,r,o){return new x(null,e,s,n,i,r,o).offset(t)}};function g(t,e,s,n,i,r){return _.execute(t,e,s,n,i,r,null)}function y(t,e,s,i,r,o){const a=_.executeMany(new n.S(t),e,s,i,r,o,null);return Array.from(a)}},15605(t,e,s){s.r(e),s.d(e,{execute:()=>h,executeMany:()=>m});var n=s(4576),i=s(86211),r=s(66070),o=s(83299);const a={round:0,bevel:1,miter:2,square:3};function h(t,e,s={}){const{miterLimit:n=10,flattenError:h=0,joins:m="round",unit:u}=s,c=(0,o.getSpatialReference)(t);u&&c&&(e=(0,i.UW)(e,u,c));const f=(0,o.fromGeometry)(t),l=f.getSpatialReference();return(0,o.toGeometry)((0,r.g7)(f.getGeometry(),l,e,a[m],n,h),l)}function m(t,e,s={}){const{miterLimit:h=10,flattenError:m=0,joins:u="round",unit:c}=s,f=(0,o.getSpatialReference)(t);c&&f&&(e=(0,i.UW)(e,c,f));const[l,d]=(0,o.fromGeometries)(t);return(0,r.zo)(l,d,e,a[u],h,m).map(t=>(0,o.toGeometry)(t,d)).filter(n.Ru)}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9790],{79608(t,n,r){r.d(n,{A:()=>l});var e=r(5482),a=r(69540),i=r(91429);let o=class extends a.Pw{constructor(t){super(t),this.type="web-scene"}equals(t){return this.type===t.type}};(0,e.Cg)([(0,i.MZ)()],o.prototype,"type",void 0),o=(0,e.Cg)([(0,i.$K)("esri.analysis.support.AnalysisOriginWebScene")],o);const s=o;var u=r(69622),c=r(4902),h=r(25482);let f=0,l=class extends((0,h.T)((0,a.OU)((0,c.s)(u.A)))){constructor(t){super(t),this.id=`${Date.now().toString(16)}-analysis-${f++}`,this.origin=null}get parent(){return this._get("parent")}set parent(t){const n=this.parent;if(null!=n)switch(n.type){case"line-of-sight":case"dimension":case"viewshed":n.releaseAnalysis(this);break;case"2d":case"3d":n.analyses.includes(this)&&n.analyses.remove(this)}this._set("parent",t)}equals(t){return this.type===t.type}};(0,e.Cg)([(0,i.MZ)({type:String,constructOnly:!0,clonable:!1})],l.prototype,"id",void 0),(0,e.Cg)([(0,i.MZ)({clonable:!1,value:null})],l.prototype,"parent",null),(0,e.Cg)([(0,i.MZ)({types:{key:"type",base:null,typeMap:{"web-scene":s}}})],l.prototype,"origin",void 0),l=(0,e.Cg)([(0,i.$K)("esri.analysis.Analysis")],l)},91715(t,n,r){r.d(n,{xH:()=>i,N1:()=>s}),r(35522);var e=r(51850),a=r(71351);function i(t,n){return o(t)===o(n)}function o(t){if(null==t)return null;const n=null!=t.layer?t.layer.id:"";let r=null;return r=null!=t.objectId?t.objectId:null!=t.layer&&"objectIdField"in t.layer&&null!=t.layer.objectIdField&&null!=t.attributes?t.attributes[t.layer.objectIdField]:t.uid,null==r?null:`o-${n}-${r}`}r(58083),r(70328),r(77548),r(6867),r(49718),(0,e.vt)();const s={json:{write:{writer:function(t,n){null!=t?.layer?.objectIdField&&null!=t.attributes&&(n.feature={layerId:t.layer.id,objectId:t.attributes[t.layer.objectIdField]})},target:{"feature.layerId":{type:[Number,String],isRequired:!0},"feature.objectId":{type:[Number,String],isRequired:!0}}},origins:{"web-scene":{read:function(t){if(null!=t.layerId&&null!=t.objectId)return{uid:null,layer:{id:t.layerId,objectIdField:"ObjectId"},attributes:{ObjectId:t.objectId}}}}}},clonable:"reference"};(0,a.vt)(),(0,e.vt)()},4341(t,n,r){r.d(n,{I:()=>a});var e=r(26390);class a{constructor(t){this._allocator=t,this._items=[],this._itemsPtr=0,this._grow()}get(){return 0===this._itemsPtr&&(0,e.d)(()=>this._reset()),this._itemsPtr===this._items.length&&this._grow(),this._items[this._itemsPtr++]}_reset(){const t=Math.min(3*Math.max(8,this._itemsPtr),this._itemsPtr+3*i);this._items.length=Math.min(t,this._items.length),this._itemsPtr=0}_grow(){for(let t=0;t<Math.max(8,Math.min(this._items.length,i));t++)this._items.push(this._allocator())}}const i=1024},62885(t,n,r){r.d(n,{H:()=>i,V:()=>a});var e=r(7762);function a(t,n,r=e.A){return n||(n=new r),n===t||n.destroyed||(n.removeAll(),(a=t)&&(Array.isArray(a)||"items"in a&&Array.isArray(a.items))?n.addMany(t):t&&n.add(t)),n;var a}function i(t){return t}},9093(t,n,r){function e(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function a(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}r.d(n,{o8:()=>a,vt:()=>e,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:a,create:e,fromValues:function(t,n,r,e,a,i,o,s,u,c,h,f,l,M,m,d){return[t,n,r,e,a,i,o,s,u,c,h,f,l,M,m,d]}},Symbol.toStringTag,{value:"Module"}))},82534(t,n,r){function e(){return[0,0,0,1]}function a(t){return[t[0],t[1],t[2],t[3]]}r.d(n,{o8:()=>a,vt:()=>e,zK:()=>i});const i=[0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:a,create:e,fromValues:function(t,n,r,e){return[t,n,r,e]}},Symbol.toStringTag,{value:"Module"}))},48163(t,n,r){function e(){return[0,0]}function a(t){return[t[0],t[1]]}function i(t,n){return[t,n]}function o(){return i(1,1)}function s(){return i(1,0)}function u(){return i(0,1)}r.d(n,{Un:()=>c,fA:()=>i,o8:()=>a,vt:()=>e});const c=o(),h=s(),f=u();Object.freeze(Object.defineProperty({__proto__:null,ONES:c,UNIT_X:h,UNIT_Y:f,ZEROS:[0,0],clone:a,create:e,freeze:function(t,n){return[t,n]},fromArray:function(t,n=[0,0]){const r=Math.min(2,t.length);for(let e=0;e<r;++e)n[e]=t[e];return n},fromValues:i,ones:o,unitX:s,unitY:u,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},91829(t,n,r){function e(){return[0,0,0,0]}function a(t,n,r,e){return[t,n,r,e]}function i(t,n,r,e){return[t,n,r,e]}function o(){return a(1,1,1,1)}function s(){return a(1,0,0,0)}function u(){return a(0,1,0,0)}function c(){return a(0,0,1,0)}function h(){return a(0,0,0,1)}r.d(n,{CN:()=>i,Un:()=>l,fA:()=>a,uY:()=>f,vt:()=>e});const f=[0,0,0,0],l=o(),M=s(),m=u(),d=c(),b=h();Object.freeze(Object.defineProperty({__proto__:null,ONES:l,UNIT_W:b,UNIT_X:M,UNIT_Y:m,UNIT_Z:d,ZEROS:f,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:e,freeze:i,fromArray:function(t,n=[0,0,0,0]){const r=Math.min(4,t.length);for(let e=0;e<r;++e)n[e]=t[e];return n},fromValues:a,ones:o,unitW:h,unitX:s,unitY:u,unitZ:c,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"}))},58083(t,n,r){r.d(n,{$0:()=>b,$h:()=>j,B8:()=>c,C:()=>i,D_:()=>s,N9:()=>g,O7:()=>O,Tl:()=>f,X_:()=>I,aI:()=>N,e$:()=>M,eL:()=>m,hM:()=>y,hZ:()=>o,hs:()=>l,kN:()=>d,l:()=>x,lw:()=>h,mg:()=>u,o1:()=>q,sC:()=>p,t2:()=>A,t5:()=>S,tZ:()=>C,ut:()=>P,v3:()=>w});var e=r(51850),a=r(34304);function i(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}function o(t,n,r,e,a,i,o,s,u,c,h,f,l,M,m,d,b){return t[0]=n,t[1]=r,t[2]=e,t[3]=a,t[4]=i,t[5]=o,t[6]=s,t[7]=u,t[8]=c,t[9]=h,t[10]=f,t[11]=l,t[12]=M,t[13]=m,t[14]=d,t[15]=b,t}function s(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function u(t,n){if(t===n){const r=n[1],e=n[2],a=n[3],i=n[6],o=n[7],s=n[11];t[1]=n[4],t[2]=n[8],t[3]=n[12],t[4]=r,t[6]=n[9],t[7]=n[13],t[8]=e,t[9]=i,t[11]=n[14],t[12]=a,t[13]=o,t[14]=s}else t[0]=n[0],t[1]=n[4],t[2]=n[8],t[3]=n[12],t[4]=n[1],t[5]=n[5],t[6]=n[9],t[7]=n[13],t[8]=n[2],t[9]=n[6],t[10]=n[10],t[11]=n[14],t[12]=n[3],t[13]=n[7],t[14]=n[11],t[15]=n[15];return t}function c(t,n){const r=n[0],e=n[1],a=n[2],i=n[3],o=n[4],s=n[5],u=n[6],c=n[7],h=n[8],f=n[9],l=n[10],M=n[11],m=n[12],d=n[13],b=n[14],y=n[15],g=r*s-e*o,_=r*u-a*o,v=r*c-i*o,p=e*u-a*s,I=e*c-i*s,x=a*c-i*u,q=h*d-f*m,O=h*b-l*m,j=h*y-M*m,w=f*b-l*d,S=f*y-M*d,T=l*y-M*b;let A=g*T-_*S+v*w+p*j-I*O+x*q;return A?(A=1/A,t[0]=(s*T-u*S+c*w)*A,t[1]=(a*S-e*T-i*w)*A,t[2]=(d*x-b*I+y*p)*A,t[3]=(l*I-f*x-M*p)*A,t[4]=(u*j-o*T-c*O)*A,t[5]=(r*T-a*j+i*O)*A,t[6]=(b*v-m*x-y*_)*A,t[7]=(h*x-l*v+M*_)*A,t[8]=(o*S-s*j+c*q)*A,t[9]=(e*j-r*S-i*q)*A,t[10]=(m*I-d*v+y*g)*A,t[11]=(f*v-h*I-M*g)*A,t[12]=(s*O-o*w-u*q)*A,t[13]=(r*w-e*O+a*q)*A,t[14]=(d*_-m*p-b*g)*A,t[15]=(h*p-f*_+l*g)*A,t):null}function h(t,n,r){const e=n[0],a=n[1],i=n[2],o=n[3],s=n[4],u=n[5],c=n[6],h=n[7],f=n[8],l=n[9],M=n[10],m=n[11],d=n[12],b=n[13],y=n[14],g=n[15];let _=r[0],v=r[1],p=r[2],I=r[3];return t[0]=_*e+v*s+p*f+I*d,t[1]=_*a+v*u+p*l+I*b,t[2]=_*i+v*c+p*M+I*y,t[3]=_*o+v*h+p*m+I*g,_=r[4],v=r[5],p=r[6],I=r[7],t[4]=_*e+v*s+p*f+I*d,t[5]=_*a+v*u+p*l+I*b,t[6]=_*i+v*c+p*M+I*y,t[7]=_*o+v*h+p*m+I*g,_=r[8],v=r[9],p=r[10],I=r[11],t[8]=_*e+v*s+p*f+I*d,t[9]=_*a+v*u+p*l+I*b,t[10]=_*i+v*c+p*M+I*y,t[11]=_*o+v*h+p*m+I*g,_=r[12],v=r[13],p=r[14],I=r[15],t[12]=_*e+v*s+p*f+I*d,t[13]=_*a+v*u+p*l+I*b,t[14]=_*i+v*c+p*M+I*y,t[15]=_*o+v*h+p*m+I*g,t}function f(t,n,r){const e=r[0],a=r[1],i=r[2];if(n===t)t[12]=n[0]*e+n[4]*a+n[8]*i+n[12],t[13]=n[1]*e+n[5]*a+n[9]*i+n[13],t[14]=n[2]*e+n[6]*a+n[10]*i+n[14],t[15]=n[3]*e+n[7]*a+n[11]*i+n[15];else{const r=n[0],o=n[1],s=n[2],u=n[3],c=n[4],h=n[5],f=n[6],l=n[7],M=n[8],m=n[9],d=n[10],b=n[11];t[0]=r,t[1]=o,t[2]=s,t[3]=u,t[4]=c,t[5]=h,t[6]=f,t[7]=l,t[8]=M,t[9]=m,t[10]=d,t[11]=b,t[12]=r*e+c*a+M*i+n[12],t[13]=o*e+h*a+m*i+n[13],t[14]=s*e+f*a+d*i+n[14],t[15]=u*e+l*a+b*i+n[15]}return t}function l(t,n,r){const e=r[0],a=r[1],i=r[2];return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t[3]=n[3]*e,t[4]=n[4]*a,t[5]=n[5]*a,t[6]=n[6]*a,t[7]=n[7]*a,t[8]=n[8]*i,t[9]=n[9]*i,t[10]=n[10]*i,t[11]=n[11]*i,t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}function M(t,n,r,e){let o=e[0],s=e[1],u=e[2],c=Math.sqrt(o*o+s*s+u*u);if(c<=(0,a.FD)())return void i(t,n);c=1/c,o*=c,s*=c,u*=c;const h=Math.sin(r),f=Math.cos(r),l=1-f,M=n[0],m=n[1],d=n[2],b=n[3],y=n[4],g=n[5],_=n[6],v=n[7],p=n[8],I=n[9],x=n[10],q=n[11],O=o*o*l+f,j=s*o*l+u*h,w=u*o*l-s*h,S=o*s*l-u*h,T=s*s*l+f,A=u*s*l+o*h,N=o*u*l+s*h,P=s*u*l-o*h,C=u*u*l+f;t[0]=M*O+y*j+p*w,t[1]=m*O+g*j+I*w,t[2]=d*O+_*j+x*w,t[3]=b*O+v*j+q*w,t[4]=M*S+y*T+p*A,t[5]=m*S+g*T+I*A,t[6]=d*S+_*T+x*A,t[7]=b*S+v*T+q*A,t[8]=M*N+y*P+p*C,t[9]=m*N+g*P+I*C,t[10]=d*N+_*P+x*C,t[11]=b*N+v*P+q*C,n!==t&&(t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15])}function m(t,n,r){const e=Math.sin(r),a=Math.cos(r),i=n[4],o=n[5],s=n[6],u=n[7],c=n[8],h=n[9],f=n[10],l=n[11];return n!==t&&(t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[4]=i*a+c*e,t[5]=o*a+h*e,t[6]=s*a+f*e,t[7]=u*a+l*e,t[8]=c*a-i*e,t[9]=h*a-o*e,t[10]=f*a-s*e,t[11]=l*a-u*e,t}function d(t,n){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function b(t,n,r){if(0===n)return s(t);let e=r[0],i=r[1],o=r[2],u=Math.sqrt(e*e+i*i+o*o);if(u<=(0,a.FD)())return null;u=1/u,e*=u,i*=u,o*=u;const c=Math.sin(n),h=Math.cos(n),f=1-h;return t[0]=e*e*f+h,t[1]=i*e*f+o*c,t[2]=o*e*f-i*c,t[3]=0,t[4]=e*i*f-o*c,t[5]=i*i*f+h,t[6]=o*i*f+e*c,t[7]=0,t[8]=e*o*f+i*c,t[9]=i*o*f-e*c,t[10]=o*o*f+h,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function y(t,n){const r=Math.sin(n),e=Math.cos(n);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e,t[6]=r,t[7]=0,t[8]=0,t[9]=-r,t[10]=e,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function g(t,n){const r=Math.sin(n),e=Math.cos(n);return t[0]=e,t[1]=r,t[2]=0,t[3]=0,t[4]=-r,t[5]=e,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function _(t,n,r){const e=n[0],a=n[1],i=n[2],o=n[3],s=e+e,u=a+a,c=i+i,h=e*s,f=e*u,l=e*c,M=a*u,m=a*c,d=i*c,b=o*s,y=o*u,g=o*c;return t[0]=1-(M+d),t[1]=f+g,t[2]=l-y,t[3]=0,t[4]=f-g,t[5]=1-(h+d),t[6]=m+b,t[7]=0,t[8]=l+y,t[9]=m-b,t[10]=1-(h+M),t[11]=0,t[12]=r[0],t[13]=r[1],t[14]=r[2],t[15]=1,t}const v=(0,e.vt)();function p(t,n){return t[0]=n[12],t[1]=n[13],t[2]=n[14],t}function I(t,n){const r=n[0],e=n[1],a=n[2],i=n[4],o=n[5],s=n[6],u=n[8],c=n[9],h=n[10];return t[0]=Math.sqrt(r*r+e*e+a*a),t[1]=Math.sqrt(i*i+o*o+s*s),t[2]=Math.sqrt(u*u+c*c+h*h),t}function x(t,n){const r=n[0]+n[5]+n[10];let e=0;return r>0?(e=2*Math.sqrt(r+1),t[3]=.25*e,t[0]=(n[6]-n[9])/e,t[1]=(n[8]-n[2])/e,t[2]=(n[1]-n[4])/e):n[0]>n[5]&&n[0]>n[10]?(e=2*Math.sqrt(1+n[0]-n[5]-n[10]),t[3]=(n[6]-n[9])/e,t[0]=.25*e,t[1]=(n[1]+n[4])/e,t[2]=(n[8]+n[2])/e):n[5]>n[10]?(e=2*Math.sqrt(1+n[5]-n[0]-n[10]),t[3]=(n[8]-n[2])/e,t[0]=(n[1]+n[4])/e,t[1]=.25*e,t[2]=(n[6]+n[9])/e):(e=2*Math.sqrt(1+n[10]-n[0]-n[5]),t[3]=(n[1]-n[4])/e,t[0]=(n[8]+n[2])/e,t[1]=(n[6]+n[9])/e,t[2]=.25*e),t}function q(t,n,r,e){const a=n[0],i=n[1],o=n[2],s=n[3],u=a+a,c=i+i,h=o+o,f=a*u,l=a*c,M=a*h,m=i*c,d=i*h,b=o*h,y=s*u,g=s*c,_=s*h,v=e[0],p=e[1],I=e[2];return t[0]=(1-(m+b))*v,t[1]=(l+_)*v,t[2]=(M-g)*v,t[3]=0,t[4]=(l-_)*p,t[5]=(1-(f+b))*p,t[6]=(d+y)*p,t[7]=0,t[8]=(M+g)*I,t[9]=(d-y)*I,t[10]=(1-(f+m))*I,t[11]=0,t[12]=r[0],t[13]=r[1],t[14]=r[2],t[15]=1,t}function O(t,n,r,e,a){const i=n[0],o=n[1],s=n[2],u=n[3],c=i+i,h=o+o,f=s+s,l=i*c,M=i*h,m=i*f,d=o*h,b=o*f,y=s*f,g=u*c,_=u*h,v=u*f,p=e[0],I=e[1],x=e[2],q=a[0],O=a[1],j=a[2],w=(1-(d+y))*p,S=(M+v)*p,T=(m-_)*p,A=(M-v)*I,N=(1-(l+y))*I,P=(b+g)*I,C=(m+_)*x,R=(b-g)*x,D=(1-(l+d))*x;return t[0]=w,t[1]=S,t[2]=T,t[3]=0,t[4]=A,t[5]=N,t[6]=P,t[7]=0,t[8]=C,t[9]=R,t[10]=D,t[11]=0,t[12]=r[0]+q-(w*q+A*O+C*j),t[13]=r[1]+O-(S*q+N*O+R*j),t[14]=r[2]+j-(T*q+P*O+D*j),t[15]=1,t}function j(t,n,r,e,a,i,o){const s=1/(r-n),u=1/(a-e),c=1/(i-o);return t[0]=2*i*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*i*u,t[6]=0,t[7]=0,t[8]=(r+n)*s,t[9]=(a+e)*u,t[10]=(o+i)*c,t[11]=-1,t[12]=0,t[13]=0,t[14]=o*i*2*c,t[15]=0,t}function w(t,n,r,e,a,i,o){const s=1/(n-r),u=1/(e-a),c=1/(i-o);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*u,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*c,t[11]=0,t[12]=(n+r)*s,t[13]=(a+e)*u,t[14]=(o+i)*c,t[15]=1,t}function S(t,n,r,e){const i=n[0],o=n[1],u=n[2];let c=i-r[0],h=o-r[1],f=u-r[2];const l=(0,a.FD)();if(Math.abs(c)<l&&Math.abs(h)<l&&Math.abs(f)<l)return void s(t);let M=1/Math.sqrt(c*c+h*h+f*f);c*=M,h*=M,f*=M;const m=e[0],d=e[1],b=e[2];let y=d*f-b*h,g=b*c-m*f,_=m*h-d*c;M=Math.sqrt(y*y+g*g+_*_),M?(M=1/M,y*=M,g*=M,_*=M):(y=0,g=0,_=0);let v=h*_-f*g,p=f*y-c*_,I=c*g-h*y;M=Math.sqrt(v*v+p*p+I*I),M?(M=1/M,v*=M,p*=M,I*=M):(v=0,p=0,I=0),t[0]=y,t[1]=v,t[2]=c,t[3]=0,t[4]=g,t[5]=p,t[6]=h,t[7]=0,t[8]=_,t[9]=I,t[10]=f,t[11]=0,t[12]=-(y*i+g*o+_*u),t[13]=-(v*i+p*o+I*u),t[14]=-(c*i+h*o+f*u),t[15]=1}function T(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t[3]=n[3]-r[3],t[4]=n[4]-r[4],t[5]=n[5]-r[5],t[6]=n[6]-r[6],t[7]=n[7]-r[7],t[8]=n[8]-r[8],t[9]=n[9]-r[9],t[10]=n[10]-r[10],t[11]=n[11]-r[11],t[12]=n[12]-r[12],t[13]=n[13]-r[13],t[14]=n[14]-r[14],t[15]=n[15]-r[15],t}function A(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]&&t[4]===n[4]&&t[5]===n[5]&&t[6]===n[6]&&t[7]===n[7]&&t[8]===n[8]&&t[9]===n[9]&&t[10]===n[10]&&t[11]===n[11]&&t[12]===n[12]&&t[13]===n[13]&&t[14]===n[14]&&t[15]===n[15]}function N(t,n){if(t===n)return!0;const r=t[0],e=t[1],i=t[2],o=t[3],s=t[4],u=t[5],c=t[6],h=t[7],f=t[8],l=t[9],M=t[10],m=t[11],d=t[12],b=t[13],y=t[14],g=t[15],_=n[0],v=n[1],p=n[2],I=n[3],x=n[4],q=n[5],O=n[6],j=n[7],w=n[8],S=n[9],T=n[10],A=n[11],N=n[12],P=n[13],C=n[14],R=n[15],D=(0,a.FD)();return Math.abs(r-_)<=D*Math.max(1,Math.abs(r),Math.abs(_))&&Math.abs(e-v)<=D*Math.max(1,Math.abs(e),Math.abs(v))&&Math.abs(i-p)<=D*Math.max(1,Math.abs(i),Math.abs(p))&&Math.abs(o-I)<=D*Math.max(1,Math.abs(o),Math.abs(I))&&Math.abs(s-x)<=D*Math.max(1,Math.abs(s),Math.abs(x))&&Math.abs(u-q)<=D*Math.max(1,Math.abs(u),Math.abs(q))&&Math.abs(c-O)<=D*Math.max(1,Math.abs(c),Math.abs(O))&&Math.abs(h-j)<=D*Math.max(1,Math.abs(h),Math.abs(j))&&Math.abs(f-w)<=D*Math.max(1,Math.abs(f),Math.abs(w))&&Math.abs(l-S)<=D*Math.max(1,Math.abs(l),Math.abs(S))&&Math.abs(M-T)<=D*Math.max(1,Math.abs(M),Math.abs(T))&&Math.abs(m-A)<=D*Math.max(1,Math.abs(m),Math.abs(A))&&Math.abs(d-N)<=D*Math.max(1,Math.abs(d),Math.abs(N))&&Math.abs(b-P)<=D*Math.max(1,Math.abs(b),Math.abs(P))&&Math.abs(y-C)<=D*Math.max(1,Math.abs(y),Math.abs(C))&&Math.abs(g-R)<=D*Math.max(1,Math.abs(g),Math.abs(R))}function P(t){const n=(0,a.FD)(),r=t[0],e=t[1],i=t[2],o=t[4],s=t[5],u=t[6],c=t[8],h=t[9],f=t[10];return Math.abs(1-(r*r+o*o+c*c))<=n&&Math.abs(1-(e*e+s*s+h*h))<=n&&Math.abs(1-(i*i+u*u+f*f))<=n}function C(t){return 1===t[0]&&0===t[1]&&0===t[2]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[8]&&0===t[9]&&1===t[10]}const R=h,D=T;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t[3]=n[3]+r[3],t[4]=n[4]+r[4],t[5]=n[5]+r[5],t[6]=n[6]+r[6],t[7]=n[7]+r[7],t[8]=n[8]+r[8],t[9]=n[9]+r[9],t[10]=n[10]+r[10],t[11]=n[11]+r[11],t[12]=n[12]+r[12],t[13]=n[13]+r[13],t[14]=n[14]+r[14],t[15]=n[15]+r[15],t},adjoint:function(t,n){const r=n[0],e=n[1],a=n[2],i=n[3],o=n[4],s=n[5],u=n[6],c=n[7],h=n[8],f=n[9],l=n[10],M=n[11],m=n[12],d=n[13],b=n[14],y=n[15];return t[0]=s*(l*y-M*b)-f*(u*y-c*b)+d*(u*M-c*l),t[1]=-(e*(l*y-M*b)-f*(a*y-i*b)+d*(a*M-i*l)),t[2]=e*(u*y-c*b)-s*(a*y-i*b)+d*(a*c-i*u),t[3]=-(e*(u*M-c*l)-s*(a*M-i*l)+f*(a*c-i*u)),t[4]=-(o*(l*y-M*b)-h*(u*y-c*b)+m*(u*M-c*l)),t[5]=r*(l*y-M*b)-h*(a*y-i*b)+m*(a*M-i*l),t[6]=-(r*(u*y-c*b)-o*(a*y-i*b)+m*(a*c-i*u)),t[7]=r*(u*M-c*l)-o*(a*M-i*l)+h*(a*c-i*u),t[8]=o*(f*y-M*d)-h*(s*y-c*d)+m*(s*M-c*f),t[9]=-(r*(f*y-M*d)-h*(e*y-i*d)+m*(e*M-i*f)),t[10]=r*(s*y-c*d)-o*(e*y-i*d)+m*(e*c-i*s),t[11]=-(r*(s*M-c*f)-o*(e*M-i*f)+h*(e*c-i*s)),t[12]=-(o*(f*b-l*d)-h*(s*b-u*d)+m*(s*l-u*f)),t[13]=r*(f*b-l*d)-h*(e*b-a*d)+m*(e*l-a*f),t[14]=-(r*(s*b-u*d)-o*(e*b-a*d)+m*(e*u-a*s)),t[15]=r*(s*l-u*f)-o*(e*l-a*f)+h*(e*u-a*s),t},copy:i,determinant:function(t){const n=t[0],r=t[1],e=t[2],a=t[3],i=t[4],o=t[5],s=t[6],u=t[7],c=t[8],h=t[9],f=t[10],l=t[11],M=t[12],m=t[13],d=t[14],b=t[15];return(n*o-r*i)*(f*b-l*d)-(n*s-e*i)*(h*b-l*m)+(n*u-a*i)*(h*d-f*m)+(r*s-e*o)*(c*b-l*M)-(r*u-a*o)*(c*d-f*M)+(e*u-a*s)*(c*m-h*M)},equals:N,exactEquals:A,frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2+t[9]**2+t[10]**2+t[11]**2+t[12]**2+t[13]**2+t[14]**2+t[15]**2)},fromQuat:function(t,n){const r=n[0],e=n[1],a=n[2],i=n[3],o=r+r,s=e+e,u=a+a,c=r*o,h=e*o,f=e*s,l=a*o,M=a*s,m=a*u,d=i*o,b=i*s,y=i*u;return t[0]=1-f-m,t[1]=h+y,t[2]=l-b,t[3]=0,t[4]=h-y,t[5]=1-c-m,t[6]=M+d,t[7]=0,t[8]=l+b,t[9]=M-d,t[10]=1-c-f,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromQuat2:function(t,n){const r=v,e=-n[0],a=-n[1],i=-n[2],o=n[3],s=n[4],u=n[5],c=n[6],h=n[7],f=e*e+a*a+i*i+o*o;return f>0?(r[0]=2*(s*o+h*e+u*i-c*a)/f,r[1]=2*(u*o+h*a+c*e-s*i)/f,r[2]=2*(c*o+h*i+s*a-u*e)/f):(r[0]=2*(s*o+h*e+u*i-c*a),r[1]=2*(u*o+h*a+c*e-s*i),r[2]=2*(c*o+h*i+s*a-u*e)),_(t,n,r),t},fromRotation:b,fromRotationTranslation:_,fromRotationTranslationScale:q,fromRotationTranslationScaleOrigin:O,fromScaling:function(t,n){return t[0]=n[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=n[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=n[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromTranslation:d,fromXRotation:y,fromYRotation:function(t,n){const r=Math.sin(n),e=Math.cos(n);return t[0]=e,t[1]=0,t[2]=-r,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=r,t[9]=0,t[10]=e,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromZRotation:g,frustum:j,getRotation:x,getScale:I,getTranslation:p,hasIdentityRotation:C,identity:s,invert:c,invertOrIdentity:function(t,n){return c(t,n)||s(t),t},isOrthoNormal:P,lookAt:S,mul:R,multiply:h,multiplyScalar:function(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t[4]=n[4]*r,t[5]=n[5]*r,t[6]=n[6]*r,t[7]=n[7]*r,t[8]=n[8]*r,t[9]=n[9]*r,t[10]=n[10]*r,t[11]=n[11]*r,t[12]=n[12]*r,t[13]=n[13]*r,t[14]=n[14]*r,t[15]=n[15]*r,t},multiplyScalarAndAdd:function(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t[3]=n[3]+r[3]*e,t[4]=n[4]+r[4]*e,t[5]=n[5]+r[5]*e,t[6]=n[6]+r[6]*e,t[7]=n[7]+r[7]*e,t[8]=n[8]+r[8]*e,t[9]=n[9]+r[9]*e,t[10]=n[10]+r[10]*e,t[11]=n[11]+r[11]*e,t[12]=n[12]+r[12]*e,t[13]=n[13]+r[13]*e,t[14]=n[14]+r[14]*e,t[15]=n[15]+r[15]*e,t},ortho:w,perspective:function(t,n,r,e,a){const i=1/Math.tan(n/2);let o;return t[0]=i/r,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=i,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=a&&a!==1/0?(o=1/(e-a),t[10]=(a+e)*o,t[14]=2*a*e*o):(t[10]=-1,t[14]=-2*e),t},perspectiveFromFieldOfView:function(t,n,r,e){const a=Math.tan(n.upDegrees*Math.PI/180),i=Math.tan(n.downDegrees*Math.PI/180),o=Math.tan(n.leftDegrees*Math.PI/180),s=Math.tan(n.rightDegrees*Math.PI/180),u=2/(o+s),c=2/(a+i);return t[0]=u,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=c,t[6]=0,t[7]=0,t[8]=-(o-s)*u*.5,t[9]=(a-i)*c*.5,t[10]=e/(r-e),t[11]=-1,t[12]=0,t[13]=0,t[14]=e*r/(r-e),t[15]=0,t},rotate:M,rotateX:m,rotateY:function(t,n,r){const e=Math.sin(r),a=Math.cos(r),i=n[0],o=n[1],s=n[2],u=n[3],c=n[8],h=n[9],f=n[10],l=n[11];return n!==t&&(t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[0]=i*a-c*e,t[1]=o*a-h*e,t[2]=s*a-f*e,t[3]=u*a-l*e,t[8]=i*e+c*a,t[9]=o*e+h*a,t[10]=s*e+f*a,t[11]=u*e+l*a,t},rotateZ:function(t,n,r){const e=Math.sin(r),a=Math.cos(r),i=n[0],o=n[1],s=n[2],u=n[3],c=n[4],h=n[5],f=n[6],l=n[7];return n!==t&&(t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[0]=i*a+c*e,t[1]=o*a+h*e,t[2]=s*a+f*e,t[3]=u*a+l*e,t[4]=c*a-i*e,t[5]=h*a-o*e,t[6]=f*a-s*e,t[7]=l*a-u*e,t},scale:l,set:o,str:function(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"},sub:D,subtract:T,targetTo:function(t,n,r,e){const a=n[0],i=n[1],o=n[2],s=e[0],u=e[1],c=e[2];let h=a-r[0],f=i-r[1],l=o-r[2],M=h*h+f*f+l*l;M>0&&(M=1/Math.sqrt(M),h*=M,f*=M,l*=M);let m=u*l-c*f,d=c*h-s*l,b=s*f-u*h;return M=m*m+d*d+b*b,M>0&&(M=1/Math.sqrt(M),m*=M,d*=M,b*=M),t[0]=m,t[1]=d,t[2]=b,t[3]=0,t[4]=f*b-l*d,t[5]=l*m-h*b,t[6]=h*d-f*m,t[7]=0,t[8]=h,t[9]=f,t[10]=l,t[11]=0,t[12]=a,t[13]=i,t[14]=o,t[15]=1,t},translate:f,transpose:u},Symbol.toStringTag,{value:"Module"}))},35522(t,n,r){r.d(n,{$A:()=>O,Bw:()=>i,C:()=>o,Cc:()=>j,DI:()=>I,Il:()=>L,Io:()=>g,Ln:()=>y,Om:()=>q,Qr:()=>f,Re:()=>c,S8:()=>x,T9:()=>d,WQ:()=>u,Z0:()=>w,_S:()=>M,aI:()=>D,ei:()=>S,fw:()=>A,g7:()=>N,gL:()=>T,hG:()=>_,hZ:()=>s,hs:()=>b,jb:()=>z,jk:()=>m,lo:()=>Y,lw:()=>h,m3:()=>v,oW:()=>F,t2:()=>R,tn:()=>l,uE:()=>Q,xg:()=>E,ze:()=>p});var e=r(51850),a=r(34304);function i(t){const n=t[0],r=t[1],e=t[2];return Math.sqrt(n*n+r*r+e*e)}function o(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t}function s(t,n,r,e){return t[0]=n,t[1]=r,t[2]=e,t}function u(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t}function c(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t}function h(t,n,r){return t[0]=n[0]*r[0],t[1]=n[1]*r[1],t[2]=n[2]*r[2],t}function f(t,n,r){return t[0]=n[0]/r[0],t[1]=n[1]/r[1],t[2]=n[2]/r[2],t}function l(t,n){return t[0]=Math.abs(n[0]),t[1]=Math.abs(n[1]),t[2]=Math.abs(n[2]),t}function M(t,n){return t[0]=Math.sign(n[0]),t[1]=Math.sign(n[1]),t[2]=Math.sign(n[2]),t}function m(t,n,r){return t[0]=Math.min(n[0],r[0]),t[1]=Math.min(n[1],r[1]),t[2]=Math.min(n[2],r[2]),t}function d(t,n,r){return t[0]=Math.max(n[0],r[0]),t[1]=Math.max(n[1],r[1]),t[2]=Math.max(n[2],r[2]),t}function b(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t}function y(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t}function g(t,n){const r=n[0]-t[0],e=n[1]-t[1],a=n[2]-t[2];return Math.sqrt(r*r+e*e+a*a)}function _(t,n){const r=n[0]-t[0],e=n[1]-t[1],a=n[2]-t[2];return r*r+e*e+a*a}function v(t){const n=t[0],r=t[1],e=t[2];return n*n+r*r+e*e}function p(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t}function I(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t}function x(t,n){const r=n[0],e=n[1],a=n[2];let i=r*r+e*e+a*a;return i>0&&(i=1/Math.sqrt(i),t[0]=n[0]*i,t[1]=n[1]*i,t[2]=n[2]*i),t}function q(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function O(t,n,r){const e=n[0],a=n[1],i=n[2],o=r[0],s=r[1],u=r[2];return t[0]=a*u-i*s,t[1]=i*o-e*u,t[2]=e*s-a*o,t}function j(t,n,r,e){const a=n[0],i=n[1],o=n[2];return t[0]=a+e*(r[0]-a),t[1]=i+e*(r[1]-i),t[2]=o+e*(r[2]-o),t}function w(t,n,r){const e=n[0],a=n[1],i=n[2];return t[0]=r[0]*e+r[4]*a+r[8]*i+r[12],t[1]=r[1]*e+r[5]*a+r[9]*i+r[13],t[2]=r[2]*e+r[6]*a+r[10]*i+r[14],t}function S(t,n,r){const e=n[0],a=n[1],i=n[2];return t[0]=e*r[0]+a*r[3]+i*r[6],t[1]=e*r[1]+a*r[4]+i*r[7],t[2]=e*r[2]+a*r[5]+i*r[8],t}function T(t,n,r){return A(t,n,r[0],r[1],r[2],r[3])}function A(t,n,r,e,a,i){const o=n[0],s=n[1],u=n[2],c=e*u-a*s,h=a*o-r*u,f=r*s-e*o,l=e*f-a*h,M=a*c-r*f,m=r*h-e*c,d=2*i;return t[0]=o+c*d+2*l,t[1]=s+h*d+2*M,t[2]=u+f*d+2*m,t}function N(t,n){x(P,t),x(C,n);const r=q(P,C);return r>1?0:r<-1?Math.PI:Math.acos(r)}const P=(0,e.vt)(),C=(0,e.vt)();function R(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]}function D(t,n){if(t===n)return!0;const r=t[0],e=t[1],i=t[2],o=n[0],s=n[1],u=n[2],c=(0,a.FD)();return Math.abs(r-o)<=c*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(e-s)<=c*Math.max(1,Math.abs(e),Math.abs(s))&&Math.abs(i-u)<=c*Math.max(1,Math.abs(i),Math.abs(u))}function F(t,n,r){const e=r[0]-n[0],a=r[1]-n[1],i=r[2]-n[2];let o=e*e+a*a+i*i;return o>0?(o=1/Math.sqrt(o),t[0]=e*o,t[1]=a*o,t[2]=i*o,t):(t[0]=0,t[1]=0,t[2]=0,t)}const z=c,V=h,Z=f,E=g,Y=_,L=i,Q=v;Object.freeze(Object.defineProperty({__proto__:null,abs:l,add:u,angle:N,bezier:function(t,n,r,e,a,i){const o=1-i,s=o*o,u=i*i,c=s*o,h=3*i*s,f=3*u*o,l=u*i;return t[0]=n[0]*c+r[0]*h+e[0]*f+a[0]*l,t[1]=n[1]*c+r[1]*h+e[1]*f+a[1]*l,t[2]=n[2]*c+r[2]*h+e[2]*f+a[2]*l,t},ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t},clamp:function(t,n=0,r=1){return t[0]=Math.min(Math.max(t[0],n),r),t[1]=Math.min(Math.max(t[1],n),r),t[2]=Math.min(Math.max(t[2],n),r),t},copy:o,cross:O,crossAndNormalize:function(t,n,r){const e=n[0],a=n[1],i=n[2],o=r[0],s=r[1],u=r[2],c=a*u-i*s,h=i*o-e*u,f=e*s-a*o,l=Math.sqrt(c*c+h*h+f*f);return t[0]=c/l,t[1]=h/l,t[2]=f/l,t},direction:F,dist:E,distance:g,div:Z,divide:f,dot:q,equals:D,exactEquals:R,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t},hermite:function(t,n,r,e,a,i){const o=i*i,s=o*(2*i-3)+1,u=o*(i-2)+i,c=o*(i-1),h=o*(3-2*i);return t[0]=n[0]*s+r[0]*u+e[0]*c+a[0]*h,t[1]=n[1]*s+r[1]*u+e[1]*c+a[1]*h,t[2]=n[2]*s+r[2]*u+e[2]*c+a[2]*h,t},inverse:I,len:L,length:i,lerp:j,max:d,min:m,mul:V,multiply:h,negate:p,normalize:x,random:function(t,n=1){const r=a.Ov,e=2*r()*Math.PI,i=2*r()-1,o=Math.sqrt(1-i*i)*n;return t[0]=Math.cos(e)*o,t[1]=Math.sin(e)*o,t[2]=i*n,t},rotateX:function(t,n,r,e){const a=[],i=[];return a[0]=n[0]-r[0],a[1]=n[1]-r[1],a[2]=n[2]-r[2],i[0]=a[0],i[1]=a[1]*Math.cos(e)-a[2]*Math.sin(e),i[2]=a[1]*Math.sin(e)+a[2]*Math.cos(e),t[0]=i[0]+r[0],t[1]=i[1]+r[1],t[2]=i[2]+r[2],t},rotateY:function(t,n,r,e){const a=[],i=[];return a[0]=n[0]-r[0],a[1]=n[1]-r[1],a[2]=n[2]-r[2],i[0]=a[2]*Math.sin(e)+a[0]*Math.cos(e),i[1]=a[1],i[2]=a[2]*Math.cos(e)-a[0]*Math.sin(e),t[0]=i[0]+r[0],t[1]=i[1]+r[1],t[2]=i[2]+r[2],t},rotateZ:function(t,n,r,e){const a=[],i=[];return a[0]=n[0]-r[0],a[1]=n[1]-r[1],a[2]=n[2]-r[2],i[0]=a[0]*Math.cos(e)-a[1]*Math.sin(e),i[1]=a[0]*Math.sin(e)+a[1]*Math.cos(e),i[2]=a[2],t[0]=i[0]+r[0],t[1]=i[1]+r[1],t[2]=i[2]+r[2],t},round:function(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t},scale:b,scaleAndAdd:y,set:s,sign:M,sqrDist:Y,sqrLen:Q,squaredDistance:_,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:z,subtract:c,transformMat3:S,transformMat4:w,transformQuat:T,transformQuatValues:A},Symbol.toStringTag,{value:"Module"}))},78955(t,n,r){r.d(n,{Bw:()=>b,C:()=>a,Cc:()=>v,LI:()=>l,Om:()=>_,S8:()=>g,T9:()=>f,WQ:()=>o,Z0:()=>p,aI:()=>x,hG:()=>d,hZ:()=>i,hs:()=>M,jk:()=>h,m3:()=>y,t2:()=>I});var e=r(34304);function a(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t}function i(t,n,r,e,a){return t[0]=n,t[1]=r,t[2]=e,t[3]=a,t}function o(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t[3]=n[3]+r[3],t}function s(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t[3]=n[3]-r[3],t}function u(t,n,r){return t[0]=n[0]*r[0],t[1]=n[1]*r[1],t[2]=n[2]*r[2],t[3]=n[3]*r[3],t}function c(t,n,r){return t[0]=n[0]/r[0],t[1]=n[1]/r[1],t[2]=n[2]/r[2],t[3]=n[3]/r[3],t}function h(t,n,r){return t[0]=Math.min(n[0],r[0]),t[1]=Math.min(n[1],r[1]),t[2]=Math.min(n[2],r[2]),t[3]=Math.min(n[3],r[3]),t}function f(t,n,r){return t[0]=Math.max(n[0],r[0]),t[1]=Math.max(n[1],r[1]),t[2]=Math.max(n[2],r[2]),t[3]=Math.max(n[3],r[3]),t}function l(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t[3]=Math.round(n[3]),t}function M(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t}function m(t,n){const r=n[0]-t[0],e=n[1]-t[1],a=n[2]-t[2],i=n[3]-t[3];return Math.sqrt(r*r+e*e+a*a+i*i)}function d(t,n){const r=n[0]-t[0],e=n[1]-t[1],a=n[2]-t[2],i=n[3]-t[3];return r*r+e*e+a*a+i*i}function b(t){const n=t[0],r=t[1],e=t[2],a=t[3];return Math.sqrt(n*n+r*r+e*e+a*a)}function y(t){const n=t[0],r=t[1],e=t[2],a=t[3];return n*n+r*r+e*e+a*a}function g(t,n){const r=n[0],e=n[1],a=n[2],i=n[3];let o=r*r+e*e+a*a+i*i;return o>0&&(o=1/Math.sqrt(o),t[0]=r*o,t[1]=e*o,t[2]=a*o,t[3]=i*o),t}function _(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]+t[3]*n[3]}function v(t,n,r,e){const a=n[0],i=n[1],o=n[2],s=n[3];return t[0]=a+e*(r[0]-a),t[1]=i+e*(r[1]-i),t[2]=o+e*(r[2]-o),t[3]=s+e*(r[3]-s),t}function p(t,n,r){const e=n[0],a=n[1],i=n[2],o=n[3];return t[0]=r[0]*e+r[4]*a+r[8]*i+r[12]*o,t[1]=r[1]*e+r[5]*a+r[9]*i+r[13]*o,t[2]=r[2]*e+r[6]*a+r[10]*i+r[14]*o,t[3]=r[3]*e+r[7]*a+r[11]*i+r[15]*o,t}function I(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]}function x(t,n){const r=t[0],a=t[1],i=t[2],o=t[3],s=n[0],u=n[1],c=n[2],h=n[3],f=(0,e.FD)();return Math.abs(r-s)<=f*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(a-u)<=f*Math.max(1,Math.abs(a),Math.abs(u))&&Math.abs(i-c)<=f*Math.max(1,Math.abs(i),Math.abs(c))&&Math.abs(o-h)<=f*Math.max(1,Math.abs(o),Math.abs(h))}const q=s,O=u,j=c,w=m,S=d,T=b,A=y;Object.freeze(Object.defineProperty({__proto__:null,add:o,ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t[3]=Math.ceil(n[3]),t},copy:a,copyVec3:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t},dist:w,distance:m,div:j,divide:c,dot:_,equals:x,exactEquals:I,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t[3]=Math.floor(n[3]),t},inverse:function(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t[3]=1/n[3],t},len:T,length:b,lerp:v,max:f,min:h,mul:O,multiply:u,negate:function(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t[3]=-n[3],t},normalize:g,random:function(t,n=1){const r=e.Ov;let a,i,o,s,u,c;do{a=2*r()-1,i=2*r()-1,u=a*a+i*i}while(u>=1);do{o=2*r()-1,s=2*r()-1,c=o*o+s*s}while(c>=1);const h=Math.sqrt((1-u)/c);return t[0]=n*a,t[1]=n*i,t[2]=n*o*h,t[3]=n*s*h,t},round:l,scale:M,scaleAndAdd:function(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t[3]=n[3]+r[3]*e,t},set:i,sqrDist:S,sqrLen:A,squaredDistance:d,squaredLength:y,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:q,subtract:s,transformMat4:p,transformQuat:function(t,n,r){const e=n[0],a=n[1],i=n[2],o=r[0],s=r[1],u=r[2],c=r[3],h=c*e+s*i-u*a,f=c*a+u*e-o*i,l=c*i+o*a-s*e,M=-o*e-s*a-u*i;return t[0]=h*c+M*-o+f*-u-l*-s,t[1]=f*c+M*-s+l*-o-h*-u,t[2]=l*c+M*-u+h*-s-f*-o,t[3]=n[3],t}},Symbol.toStringTag,{value:"Module"}))},4197(t,n,r){r.d(n,{Vj:()=>u,cj:()=>s,jh:()=>i,l5:()=>o});var e=r(34275),a=r(9093);function i(t){return t<=e.y9?new Array(t).fill(0):new Float64Array(t)}function o(t,n,r){return Array.isArray(t)?t.slice(n,n+r):t.subarray(n,n+r)}function s(t){return[...t]}function u(t){const n=(0,a.vt)();for(let r=0;r<16;++r)n[r]=t[r];return n}},70328(t,n,r){r.d(n,{BI:()=>_,DC:()=>f,Ej:()=>M,Ie:()=>y,Jt:()=>g,Ne:()=>m,RF:()=>h,aI:()=>p,fA:()=>o,gE:()=>u,hZ:()=>b,iT:()=>l,is:()=>v,qv:()=>I,vI:()=>d,vY:()=>s,v_:()=>x,vt:()=>i,w1:()=>c}),r(35522);var e=r(5443),a=(r(19419),r(4197));function i(t=x){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,n,r,e,a,o,s=i()){return s[0]=t,s[1]=n,s[2]=r,s[3]=e,s[4]=a,s[5]=o,s}function s(t,n=i()){return function(t,n,r,e=i()){return b(e,I),function(t,n,r=0,e=n.length/3){let a=t[0],i=t[1],o=t[2],s=t[3],u=t[4],c=t[5];for(let t=0;t<e;t++)a=Math.min(a,n[r+3*t]),i=Math.min(i,n[r+3*t+1]),o=Math.min(o,n[r+3*t+2]),s=Math.max(s,n[r+3*t]),u=Math.max(u,n[r+3*t+1]),c=Math.max(c,n[r+3*t+2]);t[0]=a,t[1]=i,t[2]=o,t[3]=s,t[4]=u,t[5]=c}(e,t,n,r),e}(t,0,t.length/3,n)}function u(t,n=(0,a.jh)(24)){const[r,e,i,o,s,u]=t;return n[0]=r,n[1]=e,n[2]=i,n[3]=r,n[4]=e,n[5]=u,n[6]=r,n[7]=s,n[8]=i,n[9]=r,n[10]=s,n[11]=u,n[12]=o,n[13]=e,n[14]=i,n[15]=o,n[16]=e,n[17]=u,n[18]=o,n[19]=s,n[20]=i,n[21]=o,n[22]=s,n[23]=u,n}function c(t,n){const r=isFinite(t[2])||isFinite(t[5]);return new e.A(r?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:n}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:n})}function h(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[2]=Math.min(t[2],n[2]),t[3]=Math.max(t[3],n[3]),t[4]=Math.max(t[4],n[4]),t[5]=Math.max(t[5],n[5])}function f(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[3]=Math.max(t[3],n[2]),t[4]=Math.max(t[4],n[3])}function l(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[2]=Math.min(t[2],n[2]),t[3]=Math.max(t[3],n[0]),t[4]=Math.max(t[4],n[1]),t[5]=Math.max(t[5],n[2])}function M(t,n=[0,0,0]){return n[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),n[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),n[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),n}function m(t,n,r=t){return r[0]=n[0],r[1]=n[1],r[2]=n[2],r!==t&&(r[3]=t[3],r[4]=t[4],r[5]=t[5]),r}function d(t,n,r=t){return r[3]=n[0],r[4]=n[1],r[5]=n[2],r!==t&&(r[0]=t[0],r[1]=t[1],r[2]=t[2]),t}function b(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t}function y(t){return t?b(t,I):i(I)}function g(t,n){return t[0]=n[0],t[1]=n[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=n[2],t[4]=n[3],t[5]=Number.POSITIVE_INFINITY,t}function _(t,n,r,e,a){return t[0]=n,t[1]=r,t[2]=Number.NEGATIVE_INFINITY,t[3]=e,t[4]=a,t[5]=Number.POSITIVE_INFINITY,t}function v(t){return 6===t.length}function p(t,n,r){if(null==t||null==n)return t===n;if(!v(t)||!v(n))return!1;if(r){for(let e=0;e<t.length;e++)if(!r(t[e],n[e]))return!1}else for(let r=0;r<t.length;r++)if(t[r]!==n[r])return!1;return!0}const I=[1/0,1/0,1/0,-1/0,-1/0,-1/0],x=[0,0,0,0,0,0];i()},71351(t,n,r){r.d(n,{C:()=>h,Cr:()=>f,LV:()=>c,fA:()=>l,oC:()=>M,vt:()=>s}),r(4576);var e=r(4341),a=(r(77690),r(29242)),i=r(35522),o=r(51850);function s(t){return t?u((0,o.o8)(t.origin),(0,o.o8)(t.direction)):u((0,o.vt)(),(0,o.vt)())}function u(t,n){return{origin:t,direction:n}}function c(t,n){const r=m.get();return r.origin=t,r.direction=n,r}function h(t,n=s()){return l(t.origin,t.direction,n)}function f(t,n,r=s()){return(0,i.C)(r.origin,t),(0,i.Re)(r.direction,n,t),r}function l(t,n,r=s()){return(0,i.C)(r.origin,t),(0,i.C)(r.direction,n),r}function M(t,n,r){const e=(0,i.Om)(t.direction,(0,i.Re)(r,n,t.origin));return(0,i.WQ)(r,t.origin,(0,i.hs)(r,t.direction,e)),r}r(32114);const m=new e.I(()=>s());(0,o.vt)(),(0,o.vt)(),(0,o.vt)(),(0,a.vt)()},32114(t,n,r){r.d(n,{Rc:()=>M,J8:()=>m,rq:()=>f,Km:()=>l}),r(44208);var e=r(26390),a=r(29242),i=r(9093),o=r(82534),s=r(48163),u=r(51850),c=r(91829);class h{constructor(t){this._create=t,this._items=new Array,this._itemsPtr=0}get(){return 0===this._itemsPtr&&(0,e.d)(()=>this._reset()),this._itemsPtr>=this._items.length&&this._items.push(this._create()),this._items[this._itemsPtr++]}_reset(){const t=2*this._itemsPtr;this._items.length>t&&(this._items.length=t),this._itemsPtr=0}static createVec2f64(){return new h(s.vt)}static createVec3f64(){return new h(u.vt)}static createVec4f64(){return new h(c.vt)}static createMat3f64(){return new h(a.vt)}static createMat4f64(){return new h(i.vt)}static createQuatf64(){return new h(o.vt)}get test(){}}h.createVec2f64();const f=h.createVec3f64(),l=h.createVec4f64(),M=(h.createMat3f64(),h.createMat4f64()),m=h.createQuatf64()},49718(t,n,r){r(51850),r(6867).i},6867(t,n,r){r.d(n,{i:()=>h});var e=r(58083),a=r(9093),i=r(35522),o=r(51850),s=r(78955),u=r(91829),c=r(71351);class h{get ray(){return this._ray}get distanceInRenderSpace(){return null==this.distance?null:((0,i.hs)(l,this.ray.direction,this.distance),(0,i.Bw)(l))}withinDistance(t){return!!f(this)&&this.distanceInRenderSpace<=t}getIntersectionPoint(t){return!!f(this)&&((0,i.hs)(l,this.ray.direction,this.distance),(0,i.WQ)(t,this.ray.origin,l),!0)}getTransformedNormal(t){return(0,i.C)(M,this.normal),M[3]=0,(0,s.Z0)(M,M,this.transformation),(0,i.C)(t,M),(0,i.S8)(t,t)}constructor(t){this.intersector=4,this.normal=(0,o.vt)(),this.transformation=(0,a.vt)(),this._ray=(0,c.vt)(),this.init(t)}init(t){this.distance=this.target=this.drapedLayerOrder=this.renderPriority=null,this.intersector=4,(0,c.C)(t,this._ray)}set(t,n,r,s,u,c,h){this.intersector=t,this.distance=r,(0,i.C)(this.normal,s??o.Cb),(0,e.C)(this.transformation,u??a.zK),this.target=n,this.drapedLayerOrder=c,this.renderPriority=h}copy(t){(0,c.C)(t.ray,this._ray),this.intersector=t.intersector,this.distance=t.distance,this.target=t.target,this.drapedLayerOrder=t.drapedLayerOrder,this.renderPriority=t.renderPriority,(0,i.C)(this.normal,t.normal),(0,e.C)(this.transformation,t.transformation)}}function f(t){return null!=t?.distance}const l=(0,o.vt)(),M=(0,u.vt)()},78553(t,n,r){r.d(n,{D:()=>i,p:()=>a});var e=r(56507);function a(t){const n=(0,e.Vr)(100*(1-t));return Math.max(0,Math.min(n,100))}function i(t){const n=1-t/100;return Math.max(0,Math.min(n,1))}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1956],{65615(e,t,r){r.d(t,{A:()=>q});var i=r(5482),o=r(25482),s=r(91429),n=r(56507),a=r(20437),l=r(66552),p=r(10107),u=r(79901),c=r(64108),d=r(93223),y=r(36005),g=r(90360),h=r(93849);let m=null,C=null;function v(){return C||(C=(0,g.C)({types:S()})),C}let w=null;function S(){return w||(w={key:"type",base:null,typeMap:{"data-layer":m,"map-layer":h.A}}),w}var M;const j=(0,l.O)()({esriLeftInnerJoin:"left-inner-join",esriLeftOuterJoin:"left-outer-join"});let f=M=class extends o.o{constructor(e){super(e),this.type="join-table"}readLeftTableSource(e,t,r){return v()(e,t,r)}castLeftTableSource(e){return(0,n.aq)(S(),e)}readRightTableSource(e,t,r){return v()(e,t,r)}castRightTableSource(e){return(0,n.aq)(S(),e)}clone(){const{leftTableKey:e,rightTableKey:t,leftTableSource:r,rightTableSource:i,joinType:o}=this,s={leftTableKey:e,rightTableKey:t,leftTableSource:r?.clone()??void 0,rightTableSource:i?.clone()??void 0,joinType:o};return new M(s)}};(0,i.Cg)([(0,d.e)({joinTable:"join-table"}),(0,p.MZ)({json:{write:{isRequired:!0}}})],f.prototype,"type",void 0),(0,i.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],f.prototype,"leftTableKey",void 0),(0,i.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],f.prototype,"rightTableKey",void 0),(0,i.Cg)([(0,p.MZ)({json:{write:!0}})],f.prototype,"leftTableSource",void 0),(0,i.Cg)([(0,y.w)("leftTableSource")],f.prototype,"readLeftTableSource",null),(0,i.Cg)([(0,u.w)("leftTableSource")],f.prototype,"castLeftTableSource",null),(0,i.Cg)([(0,p.MZ)({json:{write:!0}})],f.prototype,"rightTableSource",void 0),(0,i.Cg)([(0,y.w)("rightTableSource")],f.prototype,"readRightTableSource",null),(0,i.Cg)([(0,u.w)("rightTableSource")],f.prototype,"castRightTableSource",null),(0,i.Cg)([(0,d.e)(j)],f.prototype,"joinType",void 0),f=M=(0,i.Cg)([(0,c.$)("esri.rest.layerSources.JoinTableDataSource")],f);const b=f;var Z,T=r(16930),R=r(50498);let x=Z=class extends o.o{constructor(e){super(e),this.type="query-table"}clone(){const{workspaceId:e,query:t,oidFields:r,spatialReference:i,geometryType:o}=this,s={workspaceId:e,query:t,oidFields:r,spatialReference:i?.clone()??void 0,geometryType:o};return new Z(s)}};(0,i.Cg)([(0,d.e)({queryTable:"query-table"}),(0,s.MZ)({json:{write:{isRequired:!0}}})],x.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],x.prototype,"workspaceId",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],x.prototype,"query",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],x.prototype,"oidFields",void 0),(0,i.Cg)([(0,s.MZ)({type:T.A,json:{write:!0}})],x.prototype,"spatialReference",void 0),(0,i.Cg)([(0,d.e)(R.gy)],x.prototype,"geometryType",void 0),x=Z=(0,i.Cg)([(0,s.$K)("esri.rest.layerSources.QueryTableDataSource")],x);const F=x;var P;let A=P=class extends o.o{constructor(e){super(e),this.type="raster"}clone(){const{workspaceId:e,dataSourceName:t}=this;return new P({workspaceId:e,dataSourceName:t})}};(0,i.Cg)([(0,d.e)({raster:"raster"}),(0,s.MZ)({json:{write:{isRequired:!0}}})],A.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],A.prototype,"dataSourceName",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],A.prototype,"workspaceId",void 0),A=P=(0,i.Cg)([(0,s.$K)("esri.rest.layerSources.RasterDataSource")],A);const D=A;var O;let V=O=class extends o.o{constructor(e){super(e),this.type="table"}clone(){const{workspaceId:e,gdbVersion:t,dataSourceName:r}=this;return new O({workspaceId:e,gdbVersion:t,dataSourceName:r})}};var I;(0,i.Cg)([(0,d.e)({table:"table"}),(0,s.MZ)({json:{write:{isRequired:!0}}})],V.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],V.prototype,"workspaceId",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],V.prototype,"gdbVersion",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],V.prototype,"dataSourceName",void 0),V=O=(0,i.Cg)([(0,s.$K)("esri.rest.layerSources.TableDataSource")],V);const N={key:"type",base:null,typeMap:{"join-table":b,"query-table":F,raster:D,table:V}};let q=class extends o.o{static{I=this}constructor(e){super(e),this.type="data-layer"}clone(){const{fields:e,dataSource:t}=this;return new I({fields:e,dataSource:t})}};(0,i.Cg)([(0,d.e)({dataLayer:"data-layer"}),(0,s.MZ)({json:{write:{isRequired:!0}}})],q.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:[a.A],json:{write:!0}})],q.prototype,"fields",void 0),(0,i.Cg)([(0,s.MZ)({types:N,json:{write:!0}})],q.prototype,"dataSource",void 0),q=I=(0,i.Cg)([(0,s.$K)("esri.rest.layerSources.DynamicDataLayer")],q),q.from=(0,n.dp)(q),w=null,C=null,m=q},93849(e,t,r){r.d(t,{A:()=>p});var i,o=r(5482),s=r(25482),n=r(91429),a=r(56507),l=r(93223);let p=i=class extends s.o{constructor(e){super(e),this.type="map-layer"}clone(){const{mapLayerId:e,gdbVersion:t}=this;return new i({mapLayerId:e,gdbVersion:t})}};(0,o.Cg)([(0,l.e)({mapLayer:"map-layer"}),(0,n.MZ)({json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),(0,o.Cg)([(0,n.MZ)({type:a.jz,json:{write:{isRequired:!0}}})],p.prototype,"mapLayerId",void 0),(0,o.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],p.prototype,"gdbVersion",void 0),p=i=(0,o.Cg)([(0,n.$K)("esri.rest.layerSources.DynamicMapLayer")],p)},27348(e,t,r){r.d(t,{A:()=>c});var i,o=r(5482),s=r(66552),n=r(25482),a=r(4718),l=r(91429),p=r(5443);const u=new s.J({upperLeft:"upper-left",lowerLeft:"lower-left"});let c=i=class extends n.o{constructor(e){super(e),this.extent=null,this.mode="view",this.originPosition="upper-left",this.tolerance=1}clone(){return new i((0,a.o8)({extent:this.extent,mode:this.mode,originPosition:this.originPosition,tolerance:this.tolerance}))}};(0,o.Cg)([(0,l.MZ)({type:p.A,json:{write:{overridePolicy(){return{enabled:"view"===this.mode}}}}})],c.prototype,"extent",void 0),(0,o.Cg)([(0,l.MZ)({type:["view","edit"],json:{write:!0}})],c.prototype,"mode",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{read:u.read,write:u.write}})],c.prototype,"originPosition",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:"view"===this.mode}}}}})],c.prototype,"tolerance",void 0),c=i=(0,o.Cg)([(0,l.$K)("esri.rest.support.QuantizationParameters")],c)},61956(e,t,r){r.d(t,{A:()=>Z});var i=r(5482),o=r(66552),s=r(25482),n=r(4718),a=r(91429),l=r(56507),p=r(86738),u=r(16930),c=r(65864),d=r(50498),y=r(65615),g=r(69540);let h=class extends((0,g.OU)(s.o)){constructor(e){super(e),this.onFields=null,this.operator=null,this.searchTerm=null,this.searchType=null}};(0,i.Cg)([(0,a.MZ)({type:[String],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.onFields&&this.onFields.length>0}}}}})],h.prototype,"onFields",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"operator",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"searchTerm",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"searchType",void 0),h=(0,i.Cg)([(0,a.$K)("esri.rest.support.FullTextSearch")],h);const m=h;var C,v=r(27348),w=r(58174),S=r(7562),M=r(79677),j=r(43937),f=r(93223);const b=new o.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let Z=class extends s.o{static{C=this}static from(e){return(0,l.PZ)(C,e)}constructor(e){super(e),this.aggregateIds=null,this.cacheHint=void 0,this.compactGeometryEnabled=!1,this.datumTransformation=null,this.defaultSpatialReferenceEnabled=!1,this.distance=void 0,this.dynamicDataSource=void 0,this.formatOf3DObjects=null,this.fullText=null,this.gdbVersion=null,this.geometry=null,this.geometryPrecision=void 0,this.groupByFieldsForStatistics=null,this.having=null,this.historicMoment=null,this.maxAllowableOffset=void 0,this.maxRecordCountFactor=1,this.multipatchOption=null,this.num=void 0,this.objectIds=null,this.orderByFields=null,this.outFields=null,this.outSpatialReference=null,this.outStatistics=null,this.parameterValues=null,this.pixelSize=null,this.quantizationParameters=null,this.rangeValues=null,this.relationParameter=null,this.resultType=null,this.returnCentroid=!1,this.returnDistinctValues=!1,this.returnExceededLimitFeatures=!0,this.returnGeometry=!1,this.returnQueryGeometry=!1,this.returnM=void 0,this.returnZ=void 0,this.returnTrueCurves=void 0,this.sourceSpatialReference=null,this.spatialRelationship="intersects",this.start=void 0,this.sqlFormat=null,this.text=null,this.timeExtent=null,this.timeReferenceUnknownClient=!1,this.units=null,this.outDistance=null,this.where=null}castDatumTransformation(e){return"number"==typeof e||"object"==typeof e?e:null}writeHistoricMoment(e,t){t.historicMoment=e&&e.getTime()}writeParameterValues(e,t){if(e){const r={};for(const t in e){const i=e[t];Array.isArray(i)?r[t]=i.map(e=>e instanceof Date?e.getTime():e):i instanceof Date?r[t]=i.getTime():r[t]=i}t.parameterValues=r}}writeStart(e,t){t.resultOffset=this.start,t.resultRecordCount=this.num||10,t.where="1=1"}writeWhere(e,t){t.where=e||"1=1"}clone(){return new C((0,n.o8)({aggregateIds:this.aggregateIds,cacheHint:this.cacheHint,compactGeometryEnabled:this.compactGeometryEnabled,datumTransformation:this.datumTransformation,defaultSpatialReferenceEnabled:this.defaultSpatialReferenceEnabled,distance:this.distance,fullText:this.fullText,formatOf3DObjects:this.formatOf3DObjects,gdbVersion:this.gdbVersion,geometry:this.geometry,geometryPrecision:this.geometryPrecision,groupByFieldsForStatistics:this.groupByFieldsForStatistics,having:this.having,historicMoment:null!=this.historicMoment?new Date(this.historicMoment):null,maxAllowableOffset:this.maxAllowableOffset,maxRecordCountFactor:this.maxRecordCountFactor,multipatchOption:this.multipatchOption,num:this.num,objectIds:this.objectIds,orderByFields:this.orderByFields,outFields:this.outFields,outSpatialReference:this.outSpatialReference,outStatistics:this.outStatistics,parameterValues:this.parameterValues,pixelSize:this.pixelSize,quantizationParameters:this.quantizationParameters,rangeValues:this.rangeValues,relationParameter:this.relationParameter,resultType:this.resultType,returnDistinctValues:this.returnDistinctValues,returnGeometry:this.returnGeometry,returnCentroid:this.returnCentroid,returnExceededLimitFeatures:this.returnExceededLimitFeatures,returnQueryGeometry:this.returnQueryGeometry,returnM:this.returnM,returnZ:this.returnZ,returnTrueCurves:this.returnTrueCurves,dynamicDataSource:this.dynamicDataSource,sourceSpatialReference:this.sourceSpatialReference,spatialRelationship:this.spatialRelationship,start:this.start,sqlFormat:this.sqlFormat,text:this.text,timeExtent:this.timeExtent,timeReferenceUnknownClient:this.timeReferenceUnknownClient,units:this.units,outDistance:this.outDistance,where:this.where}))}static{this.MAX_MAX_RECORD_COUNT_FACTOR=5}};(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],Z.prototype,"aggregateIds",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],Z.prototype,"cacheHint",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],Z.prototype,"compactGeometryEnabled",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],Z.prototype,"datumTransformation",void 0),(0,i.Cg)([(0,a.wg)("datumTransformation")],Z.prototype,"castDatumTransformation",null),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],Z.prototype,"defaultSpatialReferenceEnabled",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],Z.prototype,"distance",void 0),(0,i.Cg)([(0,a.MZ)({type:y.A,json:{write:!0}})],Z.prototype,"dynamicDataSource",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],Z.prototype,"formatOf3DObjects",void 0),(0,i.Cg)([(0,a.MZ)({type:[m],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.fullText&&this.fullText.length>0}}}}})],Z.prototype,"fullText",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],Z.prototype,"gdbVersion",void 0),(0,i.Cg)([(0,a.MZ)({types:d.yR,json:{read:c.rS,write:!0}})],Z.prototype,"geometry",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],Z.prototype,"geometryPrecision",void 0),(0,i.Cg)([(0,a.MZ)({type:[String],json:{write:!0}})],Z.prototype,"groupByFieldsForStatistics",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],Z.prototype,"having",void 0),(0,i.Cg)([(0,a.MZ)({type:Date})],Z.prototype,"historicMoment",void 0),(0,i.Cg)([(0,j.K)("historicMoment")],Z.prototype,"writeHistoricMoment",null),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],Z.prototype,"maxAllowableOffset",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,cast:e=>e<1?1:e>Z.MAX_MAX_RECORD_COUNT_FACTOR?Z.MAX_MAX_RECORD_COUNT_FACTOR:e,json:{write:{overridePolicy:e=>({enabled:e>1})}}})],Z.prototype,"maxRecordCountFactor",void 0),(0,i.Cg)([(0,a.MZ)({type:["xyFootprint"],json:{write:!0}})],Z.prototype,"multipatchOption",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{read:{source:"resultRecordCount"}}})],Z.prototype,"num",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],Z.prototype,"objectIds",void 0),(0,i.Cg)([(0,a.MZ)({type:[String],json:{write:!0}})],Z.prototype,"orderByFields",void 0),(0,i.Cg)([(0,a.MZ)({type:[String],json:{write:!0}})],Z.prototype,"outFields",void 0),(0,i.Cg)([(0,a.MZ)({type:u.A,json:{name:"outSR",write:!0}})],Z.prototype,"outSpatialReference",void 0),(0,i.Cg)([(0,a.MZ)({type:[S.A],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.outStatistics&&this.outStatistics.length>0}}}}})],Z.prototype,"outStatistics",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],Z.prototype,"parameterValues",void 0),(0,i.Cg)([(0,j.K)("parameterValues")],Z.prototype,"writeParameterValues",null),(0,i.Cg)([(0,a.MZ)({type:p.A,json:{write:!0}})],Z.prototype,"pixelSize",void 0),(0,i.Cg)([(0,a.MZ)({type:v.A,json:{write:!0}})],Z.prototype,"quantizationParameters",void 0),(0,i.Cg)([(0,a.MZ)({type:[Object],json:{write:!0}})],Z.prototype,"rangeValues",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{read:{source:"relationParam"},write:{target:"relationParam",overridePolicy(){return{enabled:"relation"===this.spatialRelationship}}}}})],Z.prototype,"relationParameter",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],Z.prototype,"resultType",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],Z.prototype,"returnCentroid",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],Z.prototype,"returnDistinctValues",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{default:!0,write:!0}})],Z.prototype,"returnExceededLimitFeatures",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],Z.prototype,"returnGeometry",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],Z.prototype,"returnQueryGeometry",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],Z.prototype,"returnM",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],Z.prototype,"returnZ",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],Z.prototype,"returnTrueCurves",void 0),(0,i.Cg)([(0,a.MZ)({type:u.A,json:{write:!0}})],Z.prototype,"sourceSpatialReference",void 0),(0,i.Cg)([(0,f.e)(w.x,{ignoreUnknown:!1,name:"spatialRel"})],Z.prototype,"spatialRelationship",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{read:{source:"resultOffset"}}})],Z.prototype,"start",void 0),(0,i.Cg)([(0,j.K)("start"),(0,j.K)("num")],Z.prototype,"writeStart",null),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],Z.prototype,"sqlFormat",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],Z.prototype,"text",void 0),(0,i.Cg)([(0,a.MZ)({type:M.A,json:{write:!0}})],Z.prototype,"timeExtent",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],Z.prototype,"timeReferenceUnknownClient",void 0),(0,i.Cg)([(0,f.e)(b,{ignoreUnknown:!1}),(0,a.MZ)({json:{write:{overridePolicy(e){return{enabled:!!e&&null!=this.distance}}}}})],Z.prototype,"units",void 0),(0,i.Cg)([(0,a.MZ)()],Z.prototype,"outDistance",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:{overridePolicy(e){return{enabled:null!=e||null!=this.start&&this.start>0}}}}})],Z.prototype,"where",void 0),(0,i.Cg)([(0,j.K)("where")],Z.prototype,"writeWhere",null),Z=C=(0,i.Cg)([(0,a.$K)("esri.rest.support.Query")],Z)},7562(e,t,r){r.d(t,{A:()=>c});var i,o=r(5482),s=r(66552),n=r(25482),a=r(4718),l=r(91429),p=r(43937);const u=new s.J({count:"count",sum:"sum",min:"min",max:"max",avg:"avg",stddev:"stddev",var:"var",exceedslimit:"exceedslimit",percentile_cont:"percentile-continuous",percentile_disc:"percentile-discrete",EnvelopeAggregate:"envelope-aggregate",CentroidAggregate:"centroid-aggregate",ConvexHullAggregate:"convex-hull-aggregate"});let c=i=class extends n.o{constructor(e){super(e),this.maxPointCount=void 0,this.maxRecordCount=void 0,this.maxVertexCount=void 0,this.onStatisticField=null,this.outStatisticFieldName=null,this.statisticType=null,this.statisticParameters=null}writeStatisticParameters(e,t){"percentile-continuous"!==this.statisticType&&"percentile-discrete"!==this.statisticType||(t.statisticParameters=(0,a.o8)(e))}clone(){return new i({maxPointCount:this.maxPointCount,maxRecordCount:this.maxRecordCount,maxVertexCount:this.maxVertexCount,onStatisticField:this.onStatisticField,outStatisticFieldName:this.outStatisticFieldName,statisticType:this.statisticType,statisticParameters:(0,a.o8)(this.statisticParameters)})}};(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],c.prototype,"maxPointCount",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],c.prototype,"maxRecordCount",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],c.prototype,"maxVertexCount",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],c.prototype,"onStatisticField",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],c.prototype,"outStatisticFieldName",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{read:{source:"statisticType",reader:u.read},write:{target:"statisticType",writer:u.write}}})],c.prototype,"statisticType",void 0),(0,o.Cg)([(0,l.MZ)({type:Object})],c.prototype,"statisticParameters",void 0),(0,o.Cg)([(0,p.K)("statisticParameters")],c.prototype,"writeStatisticParameters",null),c=i=(0,o.Cg)([(0,l.$K)("esri.rest.support.StatisticDefinition")],c)},58174(e,t,r){r.d(t,{x:()=>i});const i=new(r(66552).J)({esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelDisjoint:"disjoint",esriSpatialRelEnvelopeIntersects:"envelope-intersects",esriSpatialRelIndexIntersects:"index-intersects",esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:"relation"})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4801],{48163(t,e,r){function n(){return[0,0]}function s(t){return[t[0],t[1]]}function i(t,e){return[t,e]}function u(){return i(1,1)}function o(){return i(1,0)}function c(){return i(0,1)}r.d(e,{Un:()=>f,fA:()=>i,o8:()=>s,vt:()=>n});const f=u(),a=o(),h=c();Object.freeze(Object.defineProperty({__proto__:null,ONES:f,UNIT_X:a,UNIT_Y:h,ZEROS:[0,0],clone:s,create:n,freeze:function(t,e){return[t,e]},fromArray:function(t,e=[0,0]){const r=Math.min(2,t.length);for(let n=0;n<r;++n)e[n]=t[n];return e},fromValues:i,ones:u,unitX:o,unitY:c,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},51850(t,e,r){function n(){return[0,0,0]}function s(t){return[t[0],t[1],t[2]]}function i(t,e,r){return[t,e,r]}function u(t,e,r){return[t,e,r]}function o(t,e=[0,0,0]){const r=Math.min(3,t.length);for(let n=0;n<r;++n)e[n]=t[n];return e}function c(){return[0,0,0]}function f(){return i(1,1,1)}function a(){return i(1,0,0)}function h(){return i(0,1,0)}function l(){return i(0,0,1)}r.d(e,{CN:()=>u,Cb:()=>M,Cw:()=>p,JP:()=>m,S:()=>f,Ul:()=>c,Un:()=>y,ci:()=>o,fA:()=>i,o8:()=>s,uY:()=>d,vt:()=>n});const d=[0,0,0],y=f(),p=a(),m=h(),M=l();Object.freeze(Object.defineProperty({__proto__:null,ONES:y,UNIT_X:p,UNIT_Y:m,UNIT_Z:M,ZEROS:d,clone:s,create:n,freeze:u,fromArray:o,fromValues:i,ones:f,unitX:a,unitY:h,unitZ:l,zeros:c},Symbol.toStringTag,{value:"Module"}))},91829(t,e,r){function n(){return[0,0,0,0]}function s(t,e,r,n){return[t,e,r,n]}function i(t,e,r,n){return[t,e,r,n]}function u(){return s(1,1,1,1)}function o(){return s(1,0,0,0)}function c(){return s(0,1,0,0)}function f(){return s(0,0,1,0)}function a(){return s(0,0,0,1)}r.d(e,{CN:()=>i,Un:()=>l,fA:()=>s,uY:()=>h,vt:()=>n});const h=[0,0,0,0],l=u(),d=o(),y=c(),p=f(),m=a();Object.freeze(Object.defineProperty({__proto__:null,ONES:l,UNIT_W:m,UNIT_X:d,UNIT_Y:y,UNIT_Z:p,ZEROS:h,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:n,freeze:i,fromArray:function(t,e=[0,0,0,0]){const r=Math.min(4,t.length);for(let n=0;n<r;++n)e[n]=t[n];return e},fromValues:s,ones:u,unitW:a,unitX:o,unitY:c,unitZ:f,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"}))},34304(t,e,r){r.d(e,{DF:()=>c,FD:()=>s,Ov:()=>i,ct:()=>f});let n=1e-6;function s(){return n}const i=Math.random,u=Math.PI/180,o=180/Math.PI;function c(t){return t*u}function f(t){return t*o}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:i,equals:function(t,e){return Math.abs(t-e)<=n*Math.max(1,Math.abs(t),Math.abs(e))},getEpsilon:s,setEpsilon:function(t){n=t},toDegree:f,toRadian:c},Symbol.toStringTag,{value:"Module"}))},37585(t,e,r){r.d(e,{C:()=>s,Cc:()=>B,Io:()=>h,Om:()=>M,Re:()=>o,S8:()=>m,WQ:()=>u,aI:()=>b,e$:()=>g,hG:()=>l,hZ:()=>i,hs:()=>a,jb:()=>A,l0:()=>E,t2:()=>T,ze:()=>p});var n=r(34304);function s(t,e){return t[0]=e[0],t[1]=e[1],t}function i(t,e,r){return t[0]=e,t[1]=r,t}function u(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t}function o(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t}function c(t,e,r){return t[0]=e[0]*r[0],t[1]=e[1]*r[1],t}function f(t,e,r){return t[0]=e[0]/r[0],t[1]=e[1]/r[1],t}function a(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t}function h(t,e){const r=e[0]-t[0],n=e[1]-t[1];return Math.sqrt(r*r+n*n)}function l(t,e){const r=e[0]-t[0],n=e[1]-t[1];return r*r+n*n}function d(t){const e=t[0],r=t[1];return Math.sqrt(e*e+r*r)}function y(t){const e=t[0],r=t[1];return e*e+r*r}function p(t,e){return t[0]=-e[0],t[1]=-e[1],t}function m(t,e){const r=e[0],n=e[1];let s=r*r+n*n;return s>0&&(s=1/Math.sqrt(s),t[0]=e[0]*s,t[1]=e[1]*s),t}function M(t,e){return t[0]*e[0]+t[1]*e[1]}function B(t,e,r,n){const s=e[0],i=e[1];return t[0]=s+n*(r[0]-s),t[1]=i+n*(r[1]-i),t}function E(t,e,r){const n=e[0],s=e[1];return t[0]=r[0]*n+r[2]*s+r[4],t[1]=r[1]*n+r[3]*s+r[5],t}function g(t,e,r,n){const s=e[0]-r[0],i=e[1]-r[1],u=Math.sin(n),o=Math.cos(n);return t[0]=s*o-i*u+r[0],t[1]=s*u+i*o+r[1],t}function T(t,e){return t[0]===e[0]&&t[1]===e[1]}function b(t,e){const r=t[0],s=t[1],i=e[0],u=e[1],o=(0,n.FD)();return Math.abs(r-i)<=o*Math.max(1,Math.abs(r),Math.abs(i))&&Math.abs(s-u)<=o*Math.max(1,Math.abs(s),Math.abs(u))}const S=d,A=o,_=c,x=f,v=h,w=l,I=y;Object.freeze(Object.defineProperty({__proto__:null,add:u,angle:function(t,e){const r=t[0],n=t[1],s=e[0],i=e[1];let u=r*r+n*n;u>0&&(u=1/Math.sqrt(u));let o=s*s+i*i;o>0&&(o=1/Math.sqrt(o));const c=(r*s+n*i)*u*o;return c>1?0:c<-1?Math.PI:Math.acos(c)},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t},copy:s,cross:function(t,e,r){const n=e[0]*r[1]-e[1]*r[0];return t[0]=t[1]=0,t[2]=n,t},dist:v,distance:h,div:x,divide:f,dot:M,equals:b,exactEquals:T,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t},inverse:function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t},len:S,length:d,lerp:B,max:function(t,e,r){return t[0]=Math.max(e[0],r[0]),t[1]=Math.max(e[1],r[1]),t},min:function(t,e,r){return t[0]=Math.min(e[0],r[0]),t[1]=Math.min(e[1],r[1]),t},mul:_,multiply:c,negate:p,normalize:m,projectAndScale:function(t,e,r,n,s){let i=e[0]-r[0],u=e[1]-r[1];const o=(n[0]*i+n[1]*u)*(s-1);return i=n[0]*o,u=n[1]*o,t[0]=e[0]+i,t[1]=e[1]+u,t},random:function(t,e=1){const r=2*(0,n.Ov)()*Math.PI;return t[0]=Math.cos(r)*e,t[1]=Math.sin(r)*e,t},rotate:g,round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t},scale:a,scaleAndAdd:function(t,e,r,n){return t[0]=e[0]+r[0]*n,t[1]=e[1]+r[1]*n,t},set:i,sqrDist:w,sqrLen:I,squaredDistance:l,squaredLength:y,str:function(t){return"vec2("+t[0]+", "+t[1]+")"},sub:A,subtract:o,transformMat2:function(t,e,r){const n=e[0],s=e[1];return t[0]=r[0]*n+r[2]*s,t[1]=r[1]*n+r[3]*s,t},transformMat2d:E,transformMat3:function(t,e,r){const n=e[0],s=e[1];return t[0]=r[0]*n+r[3]*s+r[6],t[1]=r[1]*n+r[4]*s+r[7],t},transformMat4:function(t,e,r){const n=e[0],s=e[1];return t[0]=r[0]*n+r[4]*s+r[12],t[1]=r[1]*n+r[5]*s+r[13],t}},Symbol.toStringTag,{value:"Module"}))},35522(t,e,r){r.d(e,{$A:()=>_,Bw:()=>i,C:()=>u,Cc:()=>x,DI:()=>b,Il:()=>X,Io:()=>B,Ln:()=>M,Om:()=>A,Qr:()=>h,Re:()=>f,S8:()=>S,T9:()=>p,WQ:()=>c,Z0:()=>v,_S:()=>d,aI:()=>U,ei:()=>w,fw:()=>N,g7:()=>C,gL:()=>I,hG:()=>E,hZ:()=>o,hs:()=>m,jb:()=>F,jk:()=>y,lo:()=>R,lw:()=>a,m3:()=>g,oW:()=>q,t2:()=>P,tn:()=>l,uE:()=>j,xg:()=>z,ze:()=>T});var n=r(51850),s=r(34304);function i(t){const e=t[0],r=t[1],n=t[2];return Math.sqrt(e*e+r*r+n*n)}function u(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function o(t,e,r,n){return t[0]=e,t[1]=r,t[2]=n,t}function c(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t[2]=e[2]+r[2],t}function f(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t[2]=e[2]-r[2],t}function a(t,e,r){return t[0]=e[0]*r[0],t[1]=e[1]*r[1],t[2]=e[2]*r[2],t}function h(t,e,r){return t[0]=e[0]/r[0],t[1]=e[1]/r[1],t[2]=e[2]/r[2],t}function l(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function d(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function y(t,e,r){return t[0]=Math.min(e[0],r[0]),t[1]=Math.min(e[1],r[1]),t[2]=Math.min(e[2],r[2]),t}function p(t,e,r){return t[0]=Math.max(e[0],r[0]),t[1]=Math.max(e[1],r[1]),t[2]=Math.max(e[2],r[2]),t}function m(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t}function M(t,e,r,n){return t[0]=e[0]+r[0]*n,t[1]=e[1]+r[1]*n,t[2]=e[2]+r[2]*n,t}function B(t,e){const r=e[0]-t[0],n=e[1]-t[1],s=e[2]-t[2];return Math.sqrt(r*r+n*n+s*s)}function E(t,e){const r=e[0]-t[0],n=e[1]-t[1],s=e[2]-t[2];return r*r+n*n+s*s}function g(t){const e=t[0],r=t[1],n=t[2];return e*e+r*r+n*n}function T(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function b(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function S(t,e){const r=e[0],n=e[1],s=e[2];let i=r*r+n*n+s*s;return i>0&&(i=1/Math.sqrt(i),t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i),t}function A(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function _(t,e,r){const n=e[0],s=e[1],i=e[2],u=r[0],o=r[1],c=r[2];return t[0]=s*c-i*o,t[1]=i*u-n*c,t[2]=n*o-s*u,t}function x(t,e,r,n){const s=e[0],i=e[1],u=e[2];return t[0]=s+n*(r[0]-s),t[1]=i+n*(r[1]-i),t[2]=u+n*(r[2]-u),t}function v(t,e,r){const n=e[0],s=e[1],i=e[2];return t[0]=r[0]*n+r[4]*s+r[8]*i+r[12],t[1]=r[1]*n+r[5]*s+r[9]*i+r[13],t[2]=r[2]*n+r[6]*s+r[10]*i+r[14],t}function w(t,e,r){const n=e[0],s=e[1],i=e[2];return t[0]=n*r[0]+s*r[3]+i*r[6],t[1]=n*r[1]+s*r[4]+i*r[7],t[2]=n*r[2]+s*r[5]+i*r[8],t}function I(t,e,r){return N(t,e,r[0],r[1],r[2],r[3])}function N(t,e,r,n,s,i){const u=e[0],o=e[1],c=e[2],f=n*c-s*o,a=s*u-r*c,h=r*o-n*u,l=n*h-s*a,d=s*f-r*h,y=r*a-n*f,p=2*i;return t[0]=u+f*p+2*l,t[1]=o+a*p+2*d,t[2]=c+h*p+2*y,t}function C(t,e){S(L,t),S(O,e);const r=A(L,O);return r>1?0:r<-1?Math.PI:Math.acos(r)}const L=(0,n.vt)(),O=(0,n.vt)();function P(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function U(t,e){if(t===e)return!0;const r=t[0],n=t[1],i=t[2],u=e[0],o=e[1],c=e[2],f=(0,s.FD)();return Math.abs(r-u)<=f*Math.max(1,Math.abs(r),Math.abs(u))&&Math.abs(n-o)<=f*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(i-c)<=f*Math.max(1,Math.abs(i),Math.abs(c))}function q(t,e,r){const n=r[0]-e[0],s=r[1]-e[1],i=r[2]-e[2];let u=n*n+s*s+i*i;return u>0?(u=1/Math.sqrt(u),t[0]=n*u,t[1]=s*u,t[2]=i*u,t):(t[0]=0,t[1]=0,t[2]=0,t)}const F=f,V=a,Y=h,z=B,R=E,X=i,j=g;Object.freeze(Object.defineProperty({__proto__:null,abs:l,add:c,angle:C,bezier:function(t,e,r,n,s,i){const u=1-i,o=u*u,c=i*i,f=o*u,a=3*i*o,h=3*c*u,l=c*i;return t[0]=e[0]*f+r[0]*a+n[0]*h+s[0]*l,t[1]=e[1]*f+r[1]*a+n[1]*h+s[1]*l,t[2]=e[2]*f+r[2]*a+n[2]*h+s[2]*l,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,r=1){return t[0]=Math.min(Math.max(t[0],e),r),t[1]=Math.min(Math.max(t[1],e),r),t[2]=Math.min(Math.max(t[2],e),r),t},copy:u,cross:_,crossAndNormalize:function(t,e,r){const n=e[0],s=e[1],i=e[2],u=r[0],o=r[1],c=r[2],f=s*c-i*o,a=i*u-n*c,h=n*o-s*u,l=Math.sqrt(f*f+a*a+h*h);return t[0]=f/l,t[1]=a/l,t[2]=h/l,t},direction:q,dist:z,distance:B,div:Y,divide:h,dot:A,equals:U,exactEquals:P,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,r,n,s,i){const u=i*i,o=u*(2*i-3)+1,c=u*(i-2)+i,f=u*(i-1),a=u*(3-2*i);return t[0]=e[0]*o+r[0]*c+n[0]*f+s[0]*a,t[1]=e[1]*o+r[1]*c+n[1]*f+s[1]*a,t[2]=e[2]*o+r[2]*c+n[2]*f+s[2]*a,t},inverse:b,len:X,length:i,lerp:x,max:p,min:y,mul:V,multiply:a,negate:T,normalize:S,random:function(t,e=1){const r=s.Ov,n=2*r()*Math.PI,i=2*r()-1,u=Math.sqrt(1-i*i)*e;return t[0]=Math.cos(n)*u,t[1]=Math.sin(n)*u,t[2]=i*e,t},rotateX:function(t,e,r,n){const s=[],i=[];return s[0]=e[0]-r[0],s[1]=e[1]-r[1],s[2]=e[2]-r[2],i[0]=s[0],i[1]=s[1]*Math.cos(n)-s[2]*Math.sin(n),i[2]=s[1]*Math.sin(n)+s[2]*Math.cos(n),t[0]=i[0]+r[0],t[1]=i[1]+r[1],t[2]=i[2]+r[2],t},rotateY:function(t,e,r,n){const s=[],i=[];return s[0]=e[0]-r[0],s[1]=e[1]-r[1],s[2]=e[2]-r[2],i[0]=s[2]*Math.sin(n)+s[0]*Math.cos(n),i[1]=s[1],i[2]=s[2]*Math.cos(n)-s[0]*Math.sin(n),t[0]=i[0]+r[0],t[1]=i[1]+r[1],t[2]=i[2]+r[2],t},rotateZ:function(t,e,r,n){const s=[],i=[];return s[0]=e[0]-r[0],s[1]=e[1]-r[1],s[2]=e[2]-r[2],i[0]=s[0]*Math.cos(n)-s[1]*Math.sin(n),i[1]=s[0]*Math.sin(n)+s[1]*Math.cos(n),i[2]=s[2],t[0]=i[0]+r[0],t[1]=i[1]+r[1],t[2]=i[2]+r[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:m,scaleAndAdd:M,set:o,sign:d,sqrDist:R,sqrLen:j,squaredDistance:E,squaredLength:g,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:F,subtract:f,transformMat3:w,transformMat4:v,transformQuat:I,transformQuatValues:N},Symbol.toStringTag,{value:"Module"}))},78955(t,e,r){r.d(e,{Bw:()=>m,C:()=>s,Cc:()=>g,LI:()=>l,Om:()=>E,S8:()=>B,T9:()=>h,WQ:()=>u,Z0:()=>T,aI:()=>S,hG:()=>p,hZ:()=>i,hs:()=>d,jk:()=>a,m3:()=>M,t2:()=>b});var n=r(34304);function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function i(t,e,r,n,s){return t[0]=e,t[1]=r,t[2]=n,t[3]=s,t}function u(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t[2]=e[2]+r[2],t[3]=e[3]+r[3],t}function o(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t[2]=e[2]-r[2],t[3]=e[3]-r[3],t}function c(t,e,r){return t[0]=e[0]*r[0],t[1]=e[1]*r[1],t[2]=e[2]*r[2],t[3]=e[3]*r[3],t}function f(t,e,r){return t[0]=e[0]/r[0],t[1]=e[1]/r[1],t[2]=e[2]/r[2],t[3]=e[3]/r[3],t}function a(t,e,r){return t[0]=Math.min(e[0],r[0]),t[1]=Math.min(e[1],r[1]),t[2]=Math.min(e[2],r[2]),t[3]=Math.min(e[3],r[3]),t}function h(t,e,r){return t[0]=Math.max(e[0],r[0]),t[1]=Math.max(e[1],r[1]),t[2]=Math.max(e[2],r[2]),t[3]=Math.max(e[3],r[3]),t}function l(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t[3]=Math.round(e[3]),t}function d(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t}function y(t,e){const r=e[0]-t[0],n=e[1]-t[1],s=e[2]-t[2],i=e[3]-t[3];return Math.sqrt(r*r+n*n+s*s+i*i)}function p(t,e){const r=e[0]-t[0],n=e[1]-t[1],s=e[2]-t[2],i=e[3]-t[3];return r*r+n*n+s*s+i*i}function m(t){const e=t[0],r=t[1],n=t[2],s=t[3];return Math.sqrt(e*e+r*r+n*n+s*s)}function M(t){const e=t[0],r=t[1],n=t[2],s=t[3];return e*e+r*r+n*n+s*s}function B(t,e){const r=e[0],n=e[1],s=e[2],i=e[3];let u=r*r+n*n+s*s+i*i;return u>0&&(u=1/Math.sqrt(u),t[0]=r*u,t[1]=n*u,t[2]=s*u,t[3]=i*u),t}function E(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}function g(t,e,r,n){const s=e[0],i=e[1],u=e[2],o=e[3];return t[0]=s+n*(r[0]-s),t[1]=i+n*(r[1]-i),t[2]=u+n*(r[2]-u),t[3]=o+n*(r[3]-o),t}function T(t,e,r){const n=e[0],s=e[1],i=e[2],u=e[3];return t[0]=r[0]*n+r[4]*s+r[8]*i+r[12]*u,t[1]=r[1]*n+r[5]*s+r[9]*i+r[13]*u,t[2]=r[2]*n+r[6]*s+r[10]*i+r[14]*u,t[3]=r[3]*n+r[7]*s+r[11]*i+r[15]*u,t}function b(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}function S(t,e){const r=t[0],s=t[1],i=t[2],u=t[3],o=e[0],c=e[1],f=e[2],a=e[3],h=(0,n.FD)();return Math.abs(r-o)<=h*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(s-c)<=h*Math.max(1,Math.abs(s),Math.abs(c))&&Math.abs(i-f)<=h*Math.max(1,Math.abs(i),Math.abs(f))&&Math.abs(u-a)<=h*Math.max(1,Math.abs(u),Math.abs(a))}const A=o,_=c,x=f,v=y,w=p,I=m,N=M;Object.freeze(Object.defineProperty({__proto__:null,add:u,ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t[3]=Math.ceil(e[3]),t},copy:s,copyVec3:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t},dist:v,distance:y,div:x,divide:f,dot:E,equals:S,exactEquals:b,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t[3]=Math.floor(e[3]),t},inverse:function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t[3]=1/e[3],t},len:I,length:m,lerp:g,max:h,min:a,mul:_,multiply:c,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t},normalize:B,random:function(t,e=1){const r=n.Ov;let s,i,u,o,c,f;do{s=2*r()-1,i=2*r()-1,c=s*s+i*i}while(c>=1);do{u=2*r()-1,o=2*r()-1,f=u*u+o*o}while(f>=1);const a=Math.sqrt((1-c)/f);return t[0]=e*s,t[1]=e*i,t[2]=e*u*a,t[3]=e*o*a,t},round:l,scale:d,scaleAndAdd:function(t,e,r,n){return t[0]=e[0]+r[0]*n,t[1]=e[1]+r[1]*n,t[2]=e[2]+r[2]*n,t[3]=e[3]+r[3]*n,t},set:i,sqrDist:w,sqrLen:N,squaredDistance:p,squaredLength:M,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:A,subtract:o,transformMat4:T,transformQuat:function(t,e,r){const n=e[0],s=e[1],i=e[2],u=r[0],o=r[1],c=r[2],f=r[3],a=f*n+o*i-c*s,h=f*s+c*n-u*i,l=f*i+u*s-o*n,d=-u*n-o*s-c*i;return t[0]=a*f+d*-u+h*-c-l*-o,t[1]=h*f+d*-o+l*-u-a*-c,t[2]=l*f+d*-c+a*-o-h*-u,t[3]=e[3],t}},Symbol.toStringTag,{value:"Module"}))},34727(t,e,r){r.d(e,{$8:()=>A,Cc:()=>o,Hx:()=>m,Io:()=>b,KJ:()=>a,OS:()=>v,Sp:()=>d,XM:()=>h,YN:()=>l,ZH:()=>p,b6:()=>S,cU:()=>s,gg:()=>y,hs:()=>c,kU:()=>f,mP:()=>u,or:()=>x,pF:()=>I,pq:()=>w,qE:()=>i});const n=new Float32Array(1);function s(t){--t;for(let e=1;e<32;e<<=1)t|=t>>e;return t+1}function i(t,e,r){return Math.min(Math.max(t,e),r)}function u(t,e){return 0===e?0:Math.ceil(t/e)*e}function o(t,e,r){return t+(e-t)*r}function c(t,e,r,n,s){return o(n,s,(t-e)/(r-e))}function f(t){return t*Math.PI/180}function a(t){return 180*t/Math.PI}function h(t){return Math.acos(i(t,-1,1))}function l(t){return Math.asin(i(t,-1,1))}function d(t,e,r=1e-6){return t===e||!(!Number.isFinite(t)||!Number.isFinite(e))&&(t>e?t-e:e-t)<=r}function y(t,e,r=1e-6){return!d(t,e,r)&&t>e}function p(t,e,r=1e-6){return!d(t,e,r)&&t<e}function m(t,e,r=1e-6){return d(t,e,r)||t>e}const M=new DataView(new ArrayBuffer(Float64Array.BYTES_PER_ELEMENT));function B(t){return M.setFloat64(0,t),M.getBigInt64(0)}const E=1000000n,g=T(1);function T(t){const e=B(t=Math.abs(t)),r=function(t){return M.setBigInt64(0,t),M.getFloat64(0)}(e<=E?E:e-E);return Math.abs(t-r)}function b(t,e,r=g){if(t===e)return!0;if(!Number.isFinite(t)||!Number.isFinite(e))return!1;if(null!=r&&T(Math.min(Math.abs(t),Math.abs(e)))<r)return Math.abs(t-e)<=r;const n=B(t),s=B(e);return n<0==s<0&&!((n<s?s-n:n-s)>E)}function S(t,e,r=1e-6){if(t===e)return!0;if(!Number.isFinite(t)||!Number.isFinite(e))return!1;const n=Math.abs(t-e),s=Math.abs(t),i=Math.abs(e);if(0===t||0===e||s<1e-12&&i<1e-12){if(n>.01*r)return!1}else if(n/(s+i)>r)return!1;return!0}function A(t){return _(Math.max(-w,Math.min(t,w)))}function _(t){return n[0]=t,n[0]}function x(t){const e=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],r=t[3]*t[3]+t[4]*t[4]+t[5]*t[5],n=t[6]*t[6]+t[7]*t[7]+t[8]*t[8];return!(d(e,1)&&d(r,1)&&d(n,1))}function v(t,e){return(t%e+e)%e}const w=_(34028234663852886e22);function I(t,e,r){if(void 0===r||0===+r)return Math[t](e);if(e=+e,r=+r,isNaN(e)||"number"!=typeof r||r%1!=0)return NaN;let n=e.toString().split("e");return n=(e=Math[t](+(n[0]+"e"+(n[1]?+n[1]-r:-r)))).toString().split("e"),+(n[0]+"e"+(n[1]?+n[1]+r:r))}},13030(t,e,r){r.d(e,{Y$:()=>M,XW:()=>m,qB:()=>w,Qt:()=>$,My:()=>G,bf:()=>Z,jZ:()=>A,j0:()=>_,Sx:()=>x,E$:()=>v,h:()=>q,P:()=>z,SL:()=>L,dy:()=>rt,gH:()=>E,ZD:()=>B,si:()=>I,mJ:()=>Q,UL:()=>K,D6:()=>D,Yi:()=>F,An:()=>R,LC:()=>O,xs:()=>T,EC:()=>g,Xm:()=>N,Vp:()=>H,zD:()=>tt,m8:()=>W,nS:()=>V,H$:()=>X,eI:()=>P,td:()=>nt,Eq:()=>S,jz:()=>b,Aj:()=>C,E7:()=>J,Y4:()=>et,TX:()=>k,Uz:()=>Y,ml:()=>j,XP:()=>U});var n=r(34727),s=r(78955),i=r(91829),u=r(20498);class o{static{this.ElementCount=9}constructor(t,e,r=0,n,s){this.TypedArrayConstructor=t,this.elementCount=9;const i=this.TypedArrayConstructor;void 0===n&&(n=9*i.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:r;this.typedBuffer=null==s?new i(e,u):new i(e,u,(s-r)/i.BYTES_PER_ELEMENT),this.typedBufferStride=n/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getMat(t,e){let r=t*this.typedBufferStride;for(let t=0;t<9;t++)e[t]=this.typedBuffer[r++];return e}setMat(t,e){let r=t*this.typedBufferStride;for(let t=0;t<9;t++)this.typedBuffer[r++]=e[t]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}copyFrom(t,e,r){const n=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,u=r*e.typedBufferStride;for(let t=0;t<9;++t)n[i++]=s[u++]}get buffer(){return this.typedBuffer.buffer}}class c{static{this.ElementCount=16}constructor(t,e,r=0,n,s){this.TypedArrayConstructor=t,this.elementCount=16;const i=this.TypedArrayConstructor;void 0===n&&(n=16*i.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:r;this.typedBuffer=null==s?new i(e,u):new i(e,u,(s-r)/i.BYTES_PER_ELEMENT),this.typedBufferStride=n/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getMat(t,e){let r=t*this.typedBufferStride;for(let t=0;t<16;t++)e[t]=this.typedBuffer[r++];return e}setMat(t,e){let r=t*this.typedBufferStride;for(let t=0;t<16;t++)this.typedBuffer[r++]=e[t]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}copyFrom(t,e,r){this.copyFromTypedBuffer(t,e.typedBuffer,r*e.typedBufferStride)}copyFromTypedBuffer(t,e,r){const n=this.typedBuffer;let s=t*this.typedBufferStride;for(let t=0;t<16;++t)n[s++]=e[r++]}get buffer(){return this.typedBuffer.buffer}}class f{static{this.ElementCount=1}constructor(t,e,r=0,n,s){this.TypedArrayConstructor=t,this.elementCount=1;const i=this.TypedArrayConstructor;void 0===n&&(n=i.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:r;this.typedBuffer=null==s?new i(e,u):new i(e,u,(s-r)/i.BYTES_PER_ELEMENT),this.stride=n,this.typedBufferStride=n/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride)}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}get(t){return this.typedBuffer[t*this.typedBufferStride]}set(t,e){this.typedBuffer[t*this.typedBufferStride]=e}get buffer(){return this.typedBuffer.buffer}}var a=r(37585);class h{static{this.ElementCount=2}constructor(t,e,r=0,n,s){this.TypedArrayConstructor=t,this.start=r,this.elementCount=2;const i=this.TypedArrayConstructor;void 0===n&&(n=2*i.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:r;this.typedBuffer=null==s?new i(e,u):new i(e,u,(s-r)/i.BYTES_PER_ELEMENT),this.typedBufferStride=n/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,a.hZ)(e,this.typedBuffer[t],this.typedBuffer[t+1])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t]=e[1]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}setValues(t,e,r){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t]=r}copyFrom(t,e,r){const n=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,u=r*e.typedBufferStride;n[i++]=s[u++],n[i]=s[u]}get buffer(){return this.typedBuffer.buffer}}var l=r(35522);class d{static{this.ElementCount=3}constructor(t,e,r=0,n,s){this.TypedArrayConstructor=t,this.elementCount=3;const i=this.TypedArrayConstructor;void 0===n&&(n=3*i.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:r;this.typedBuffer=null==s?new i(e,u):new i(e,u,(s-r)/i.BYTES_PER_ELEMENT),this.typedBufferStride=n/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,l.hZ)(e,this.typedBuffer[t],this.typedBuffer[t+1],this.typedBuffer[t+2])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t++]=e[1],this.typedBuffer[t]=e[2]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}setValues(t,e,r,n){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t++]=r,this.typedBuffer[t]=n}copyFrom(t,e,r){const n=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,u=r*e.typedBufferStride;n[i++]=s[u++],n[i++]=s[u++],n[i]=s[u]}get buffer(){return this.typedBuffer.buffer}}class y{static{this.ElementCount=4}constructor(t,e,r=0,n,s){this.TypedArrayConstructor=t,this.start=r,this.elementCount=4;const i=this.TypedArrayConstructor;void 0===n&&(n=4*i.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:r;this.typedBuffer=null==s?new i(e,u):new i(e,u,(s-r)/i.BYTES_PER_ELEMENT),this.typedBufferStride=n/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,s.hZ)(e,this.typedBuffer[t++],this.typedBuffer[t++],this.typedBuffer[t++],this.typedBuffer[t])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t++]=e[1],this.typedBuffer[t++]=e[2],this.typedBuffer[t]=e[3]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}setValues(t,e,r,n,s){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t++]=r,this.typedBuffer[t++]=n,this.typedBuffer[t]=s}copyFrom(t,e,r){const n=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,u=r*e.typedBufferStride;n[i++]=s[u++],n[i++]=s[u++],n[i++]=s[u++],n[i]=s[u]}get buffer(){return this.typedBuffer.buffer}}var p=r(620);class m extends f{constructor(t,e=0,r,n){(0,p.vA)(u.SX),super((0,u.pX)(),t,e,r,n),this.elementType="f16"}static{this.ElementType="f16"}}class M extends f{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}static{this.ElementType="f32"}}class B extends h{constructor(t,e=0,r,n){(0,p.vA)(u.SX),super((0,u.pX)(),t,e,r,n),this.elementType="f16"}slice(t,e){return this.sliceBuffer(B,t,e)}static{this.ElementType="f16"}}class E extends h{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(E,t,e)}static{this.ElementType="f32"}}class g extends d{constructor(t,e=0,r,n){(0,p.vA)(u.SX),super((0,u.pX)(),t,e,r,n),this.elementType="f16"}slice(t,e){return this.sliceBuffer(g,t,e)}static{this.ElementType="f16"}}class T extends d{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(T,t,e)}static fromTypedArray(t,e){return new T(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="f32"}}class b extends y{constructor(t,e=0,r,n){(0,p.vA)(u.SX),super((0,u.pX)(),t,e,r,n),this.elementType="f16"}slice(t,e){return this.sliceBuffer(b,t,e)}static{this.ElementType="f16"}}class S extends y{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(S,t,e)}static{this.ElementType="f32"}}class A extends o{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(A,t,e)}static{this.ElementType="f32"}}class _ extends o{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(_,t,e)}static{this.ElementType="f64"}}class x extends c{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(x,t,e)}static{this.ElementType="f32"}}class v extends c{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(v,t,e)}static{this.ElementType="f64"}}class w extends f{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(w,t,e)}static{this.ElementType="f64"}}class I extends h{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(I,t,e)}static{this.ElementType="f64"}}class N extends d{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(N,t,e)}static fromTypedArray(t,e){return new N(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="f64"}}class C extends y{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(C,t,e)}static{this.ElementType="f64"}}class L extends f{constructor(t,e=0,r,n){super(Uint8Array,t,e,r,n),this.elementType="u8"}slice(t,e){return this.sliceBuffer(L,t,e)}static{this.ElementType="u8"}}class O extends h{constructor(t,e=0,r,n){super(Uint8Array,t,e,r,n),this.elementType="u8"}slice(t,e){return this.sliceBuffer(O,t,e)}static{this.ElementType="u8"}}class P extends d{constructor(t,e=0,r,n){super(Uint8Array,t,e,r,n),this.elementType="u8"}slice(t,e){return this.sliceBuffer(P,t,e)}static fromTypedArray(t,e){return new P(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="u8"}}class U extends y{constructor(t,e=0,r,n){super(Uint8Array,t,e,r,n),this.elementType="u8"}slice(t,e){return this.sliceBuffer(U,t,e)}static{this.ElementType="u8"}}class q extends f{constructor(t,e=0,r,n){super(Uint16Array,t,e,r,n),this.elementType="u16"}slice(t,e){return this.sliceBuffer(q,t,e)}static{this.ElementType="u16"}}class F extends h{constructor(t,e=0,r,n){super(Uint16Array,t,e,r,n),this.elementType="u16"}slice(t,e){return this.sliceBuffer(F,t,e)}static{this.ElementType="u16"}}class V extends d{constructor(t,e=0,r,n){super(Uint16Array,t,e,r,n),this.elementType="u16"}slice(t,e){return this.sliceBuffer(V,t,e)}static{this.ElementType="u16"}}class Y extends y{constructor(t,e=0,r,n){super(Uint16Array,t,e,r,n),this.elementType="u16"}slice(t,e){return this.sliceBuffer(Y,t,e)}static{this.ElementType="u16"}}class z extends f{constructor(t,e=0,r,n){super(Uint32Array,t,e,r,n),this.elementType="u32"}slice(t,e){return this.sliceBuffer(z,t,e)}static{this.ElementType="u32"}}class R extends h{constructor(t,e=0,r,n){super(Uint32Array,t,e,r,n),this.elementType="u32"}slice(t,e){return this.sliceBuffer(R,t,e)}static{this.ElementType="u32"}}class X extends d{constructor(t,e=0,r,n){super(Uint32Array,t,e,r,n),this.elementType="u32"}slice(t,e){return this.sliceBuffer(X,t,e)}static{this.ElementType="u32"}}class j extends y{constructor(t,e=0,r,n){super(Uint32Array,t,e,r,n),this.elementType="u32"}slice(t,e){return this.sliceBuffer(j,t,e)}static{this.ElementType="u32"}}class Z extends f{constructor(t,e=0,r,n){super(Int8Array,t,e,r,n),this.elementType="i8"}slice(t,e){return this.sliceBuffer(Z,t,e)}static{this.ElementType="i8"}}class D extends h{constructor(t,e=0,r,n){super(Int8Array,t,e,r,n),this.elementType="i8"}slice(t,e){return this.sliceBuffer(D,t,e)}static{this.ElementType="i8"}}class W extends d{constructor(t,e=0,r,n){super(Int8Array,t,e,r,n),this.elementType="i8"}slice(t,e){return this.sliceBuffer(W,t,e)}static{this.ElementType="i8"}}class k extends y{constructor(t,e=0,r,n){super(Int8Array,t,e,r,n),this.elementType="i8"}slice(t,e){return this.sliceBuffer(k,t,e)}static{this.ElementType="i8"}}class $ extends f{constructor(t,e=0,r,n){super(Int16Array,t,e,r,n),this.elementType="i16"}slice(t,e){return this.sliceBuffer($,t,e)}static{this.ElementType="i16"}}class Q extends h{constructor(t,e=0,r,n){super(Int16Array,t,e,r,n),this.elementType="i16"}slice(t,e){return this.sliceBuffer(Q,t,e)}static{this.ElementType="i16"}}class H extends d{constructor(t,e=0,r,n){super(Int16Array,t,e,r,n),this.elementType="i16"}slice(t,e){return this.sliceBuffer(H,t,e)}static{this.ElementType="i16"}}class J extends y{constructor(t,e=0,r,n){super(Int16Array,t,e,r,n),this.elementType="i16"}slice(t,e){return this.sliceBuffer(J,t,e)}static{this.ElementType="i16"}}class G extends f{constructor(t,e=0,r,n){super(Int32Array,t,e,r,n),this.elementType="i32"}slice(t,e){return this.sliceBuffer(G,t,e)}static{this.ElementType="i32"}}class K extends h{constructor(t,e=0,r,n){super(Int32Array,t,e,r,n),this.elementType="i32"}slice(t,e){return this.sliceBuffer(K,t,e)}static{this.ElementType="i32"}}class tt extends d{constructor(t,e=0,r,n){super(Int32Array,t,e,r,n),this.elementType="i32"}slice(t,e){return this.sliceBuffer(tt,t,e)}static{this.ElementType="i32"}}class et extends y{constructor(t,e=0,r,n){super(Int32Array,t,e,r,n),this.elementType="i32"}slice(t,e){return this.sliceBuffer(et,t,e)}static{this.ElementType="i32"}}class rt extends L{constructor(t,e=0,r,n){super(t,e,r,n)}get(t){return this.typedBuffer[t*this.typedBufferStride]/255}set(t,e){this.typedBuffer[t*this.typedBufferStride]=Math.round(255*(0,n.qE)(e,0,1))}slice(t,e){return this.sliceBuffer(rt,t,e)}}class nt extends U{constructor(t,e=0,r,n){super(t,e,r,n)}getVec(t,e){return(0,s.hs)(e,super.getVec(t,e),1/255)}setVec(t,e){(0,s.jk)(st,(0,s.T9)(st,e,i.uY),i.Un),(0,s.hs)(st,st,255),(0,s.LI)(st,st),super.setVec(t,st)}get(t,e){return super.get(t,e)/255}set(t,e,r){super.set(t,e,Math.round(255*(0,n.qE)(r,0,1)))}setValues(t,e,r,n,i){(0,s.hZ)(st,e,r,n,i),this.setVec(t,st)}slice(t,e){return this.sliceBuffer(nt,t,e)}}const st=(0,i.vt)()},20498(t,e,r){r.d(e,{Bg:()=>s,SX:()=>u,pX:()=>i});let n=globalThis.Float16Array;function s(...t){return new(n??Float32Array)(...t)}function i(){return n}let u=!!n},10614(t,e,r){r.d(e,{Tz:()=>u,aT:()=>i});var n=r(34727),s=r(35522);function i(t,e,r,n,s,i=2,u=0){const c=1/(Math.abs(r)+Math.abs(n)+Math.abs(s)),f=r*c,a=n*c,h=s<=0?(f>=0?1:-1)*(1-Math.abs(a)):f,l=s<=0?(a>=0?1:-1)*(1-Math.abs(f)):a,d=e*i+u;t[d]=o(h),t[d+1]=o(l)}function u(t,e,r,n=2,i=0){const u=r*n+i,o=c(e[u]),f=c(e[u+1]),a=1-Math.abs(o)-Math.abs(f);return t[2]=a,a<0?(t[0]=(o>=0?1:-1)*(1-Math.abs(f)),t[1]=(f>=0?1:-1)*(1-Math.abs(o))):(t[0]=o,t[1]=f),(0,s.S8)(t,t)}function o(t){return(0,n.qE)(Math.round(32767*t),-32767,32767)}function c(t){return(0,n.qE)(t/32767,-1,1)}r(51850)},620(t,e,r){r.d(e,{L:()=>c,MX:()=>u,O_:()=>o,kL:()=>f,vA:()=>i,zH:()=>a});var n=r(48163);r(78955),(0,r(91829).vt)();class s{constructor(t){this.message=t}toString(){return`AssertException: ${this.message}`}}function i(t,e="Assertion"){if(!t){const t=new Error(e).stack;throw new s(`${e} at ${t}`)}}function u(t,e){t||(e=e||"",console.warn("Verify failed: "+e+"\n"+new Error("verify").stack))}function o(t,e,r,n){let s,i=(r[0]-t[0])/e[0],u=(n[0]-t[0])/e[0];i>u&&(s=i,i=u,u=s);let o=(r[1]-t[1])/e[1],c=(n[1]-t[1])/e[1];if(o>c&&(s=o,o=c,c=s),i>c||o>u)return!1;o>i&&(i=o),c<u&&(u=c);let f=(r[2]-t[2])/e[2],a=(n[2]-t[2])/e[2];return f>a&&(s=f,f=a,a=s),!(i>a||f>u||(a<u&&(u=a),u<0))}function c(t,e,r,s,i,u=(0,n.vt)()){const o=(s[i]-r[i])*(e[0]-t[0])-(s[0]-r[0])*(e[i]-t[i]),c=(s[0]-r[0])*(t[i]-r[i])-(s[i]-r[i])*(t[0]-r[0]);if(0===o)return!1;const f=c/o;return u[0]=t[0]+f*(e[0]-t[0]),u[1]=t[i]+f*(e[i]-t[i]),!0}function f(t,e){return Math.log(t)/Math.log(e)}function a(t){return 1===t[0]&&0===t[1]&&0===t[2]&&0===t[3]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[7]&&0===t[8]&&0===t[9]&&1===t[10]&&0===t[11]&&1===t[15]}},76216(t,e,r){r.d(e,{I$:()=>l,gr:()=>p,In:()=>m});var n=r(4431),s=r(1843),i=r(20498),u=r(13030),o=r(90239);class c{constructor(t,e,r){this.elementCount=t,this.elementType=e,this.bufferViewConstructor=r,this.byteSize=function(t){return(0,o.GJ)(t.ElementType)*t.ElementCount}(r)}}const f={u8:new c(1,"uint",u.SL),vec4u8:new c(4,"uint",u.XP),unorm8:new c(1,"float",u.dy),vec4unorm8:new c(4,"float",u.td),f16:new c(1,"float",i.SX?u.XW:u.Y$),f32:new c(1,"float",u.Y$),mat3f32:new c(9,"float",u.jZ)};class a{constructor(t,e,r,n){this._declaration=t,this._byteOffset=e,this._creationInfo=n,this._startTexel=Math.floor(e/r);const s=n.byteSize;this._numTexels=Math.ceil((e+s)/r)-this._startTexel,this._texelByteStride=r}get name(){return this._declaration.name}get fieldType(){return this._declaration.type}get byteOffset(){return this._byteOffset}get startTexel(){return this._startTexel}get numTexels(){return this._numTexels}get texelByteStride(){return this._texelByteStride}get elementType(){return this._creationInfo.elementType}get elementCount(){return this._creationInfo.elementCount}get byteSize(){return this._creationInfo.byteSize}get bufferViewConstructor(){return this._creationInfo.bufferViewConstructor}}class h{constructor(t,e,r,n=0){this.layout=t,this.byteOffset=n,this._bufferViews=new Map,this.buffer="number"==typeof e?new ArrayBuffer(e*t.byteStride):e,this.texelElementBuffer=new r(this.buffer,n);const s=this._bufferViews;for(const[t,e]of this.layout.fields)s.set(t,new e.bufferViewConstructor(this.buffer,n+e.byteOffset,this.layout.byteStride))}get stride(){return this.layout.byteStride}get count(){return this.byteLength/this.stride}get byteLength(){return this.buffer.byteLength-this.byteOffset}getField(t,e){const r=this._bufferViews.get(t);return null!=r&&r.elementCount===e.ElementCount&&r.elementType===e.ElementType?r:null}get usedMemory(){return this.byteLength}}const l=(0,s.BP)().vec3f("position").u16("componentIndex",{integer:!0}).freeze(),d=(0,s.BP)().vec2u8("sideness").freeze(),y=(0,n.U)(d),p=(0,s.BP)().vec3f("position0").vec3f("position1").vec2i16("normalCompressed").u16("componentIndex",{integer:!0}).u8("variantOffset",{glNormalized:!0}).u8("variantStroke").u8("variantExtension",{glNormalized:!0}).freeze(),m=(0,s.BP)().vec3f("position0").vec3f("position1").vec2i16("normalCompressed").vec2i16("normal2Compressed").u16("componentIndex",{integer:!0}).u8("variantOffset",{glNormalized:!0}).u8("variantStroke").u8("variantExtension",{glNormalized:!0}).freeze(),M=(0,n.U)(p,1),B=(0,n.U)(m,1);y.concat(M),y.concat(B),new class{constructor(t){this._fields=new Map,this.texelByteStride=4,this.texelElementArrayConstructor=Uint8Array;let e=0;const r=[];for(let n=0;n<t.length;++n){const s=t[n],{type:i}=s,u=f[i];r.push({declaration:s,byteOffset:e,creationInfo:u}),e+=u.byteSize}e=e+3&-4;const n=e,s=this._fields,{texelByteStride:i}=this;for(const{declaration:t,byteOffset:e,creationInfo:n}of r)s.set(t.name,new a(t,e,i,n));this.byteStride=n,this.texelStride=Math.ceil(n/i)}get stride(){return this.byteStride}get fields(){return this._fields}createBuffer(t){return new h(this,t,this.texelElementArrayConstructor)}createView(t,e){return new h(this,t,this.texelElementArrayConstructor,e)}}([{name:"color",type:"vec4unorm8"},{name:"lineWidth",type:"u8"},{name:"extensionLength",type:"u8"},{name:"materialType",type:"u8"},{name:"opacity",type:"unorm8"},{name:"elevationOffset",type:"f32"}])},93406(t,e,r){r.d(e,{K:()=>o});var n=r(34727),s=r(15142),i=r(35522),u=r(51850);function o(t,e,r){const n=t.vertices.position,s=t.vertices.componentIndex,u=y.position0,o=y.position1,a=y.faceNormal0,l=y.faceNormal1,{edges:d,normals:p}=f(t),m=d.length/4,M=e.allocate(m);let B=0;const E=m,b=r?.allocate(E);let A=0,_=0,x=0;h.length=0;for(let t=0;t<m;++t){const e=4*t;n.getVec(d.data[e],u),n.getVec(d.data[e+1],o);const r=h.pushNew();r.index=4*t,r.length=(0,i.Io)(u,o)}h.sort((t,e)=>e.length-t.length);const v=new Array,w=new Array;h.forAll(({length:t,index:f})=>{const h=d.data[f],m=d.data[f+1],E=d.data[f+2],I=d.data[f+3],N=-1===I;if(n.getVec(h,u),n.getVec(m,o),N){const t=3*E;(0,i.hZ)(a,p.data[t],p.data[t+1],p.data[t+2]),(0,i.C)(l,a),y.componentIndex=s.get(h),y.cosAngle=(0,i.Om)(a,l)}else{let t=3*E;if((0,i.hZ)(a,p.data[t],p.data[t+1],p.data[t+2]),t=3*I,(0,i.hZ)(l,p.data[t],p.data[t+1],p.data[t+2]),y.componentIndex=s.get(h),y.cosAngle=(0,i.Om)(a,l),function(t,e){return t.cosAngle>e}(y,T))return;y.cosAngle<-.9999&&(0,i.C)(l,a)}_+=t,x++,N||function(t,e){return t.cosAngle<e}(y,S)?(e.write(M,B++,y),v.push(t)):c(y,g)&&(b&&r&&r.write(b,A++,y),w.push(t))});const I=new Float32Array(v.reverse()),N=new Float32Array(w.reverse()),C=b&&r?{instancesData:b.slice(0,A),lodInfo:{lengths:N}}:void 0;return{regular:{instancesData:M.slice(0,B),lodInfo:{lengths:I}},silhouette:C,averageEdgeLength:_/x}}function c(t,e){const r=(0,n.XM)(t.cosAngle);return(0,i.oW)(m,t.position1,t.position0),r*((0,i.Om)((0,i.$A)(p,t.faceNormal0,t.faceNormal1),m)>0?-1:1)>e}function f(t){const e=t.faces.length/3,r=t.faces,n=t.neighbors,s=t.vertices.position;l.length=d.length=0;for(let t=0;t<e;t++){const e=3*t,u=n[e],o=n[e+1],c=n[e+2],f=r[e],a=r[e+1],h=r[e+2];s.getVec(f,M),s.getVec(a,B),s.getVec(h,E),(0,i.Re)(B,B,M),(0,i.Re)(E,E,M),(0,i.$A)(M,B,E),(0,i.S8)(M,M),d.pushArray(M),(-1===u||f<a)&&(l.push(f),l.push(a),l.push(t),l.push(u)),(-1===o||a<h)&&(l.push(a),l.push(h),l.push(t),l.push(o)),(-1===c||h<f)&&(l.push(h),l.push(f),l.push(t),l.push(c))}return{edges:l,normals:d}}class a{constructor(){this.index=0,this.length=0}}const h=new s.A({allocator:t=>t||new a,deallocator:null}),l=new s.A({deallocator:null}),d=new s.A({deallocator:null}),y=new class{constructor(){this.position0=(0,u.vt)(),this.position1=(0,u.vt)(),this.faceNormal0=(0,u.vt)(),this.faceNormal1=(0,u.vt)(),this.componentIndex=0,this.cosAngle=0}},p=(0,u.vt)(),m=(0,u.vt)(),M=(0,u.vt)(),B=(0,u.vt)(),E=(0,u.vt)(),g=(0,n.kU)(4),T=Math.cos(g),b=(0,n.kU)(35),S=Math.cos(b)},44801(t,e,r){r.d(e,{o6:()=>v,HY:()=>O,hx:()=>w,Jb:()=>L});var n=r(34727),s=r(97146);function i(t,e,r){const i=Array.isArray(t),a=i?t.length/e:t.byteLength/(4*e),h=i?t:new Uint32Array(t,0,a*e),l=r?.minReduction??0,d=r?.originalIndices||null,y=d?d.length:0,p=r?.componentOffsets||null;let m=0;if(p)for(let t=0;t<p.length-1;t++){const e=p[t+1]-p[t];e>m&&(m=e)}else m=a;const M=Math.floor(1.1*m)+1;(null==f||f.length<2*M)&&(f=new Uint32Array((0,n.cU)(2*M)));for(let t=0;t<2*M;t++)f[t]=0;let B=0;const E=!!p&&!!d,g=E?y:a;let T=(0,s.my)(a);const b=new Uint32Array(y),S=1.96;let A=0!==l?Math.ceil(4*S*S/(l*l)*l*(1-l)):g,_=1,x=p?p[1]:g;for(let t=0;t<g;t++){if(t===A){const e=1-B/t;if(e+S*Math.sqrt(e*(1-e)/t)<l)return null;A*=2}if(t===x){for(let t=0;t<2*M;t++)f[t]=0;if(d)for(let t=p[_-1];t<p[_];t++)b[t]=T[d[t]];x=p[++_]}const r=E?d[t]:t,n=r*e,s=c(h,n,e);let i=s%M,o=B;for(;0!==f[2*i+1];){if(f[2*i]===s){const t=f[2*i+1]-1;if(u(h,n,t*e,e)){o=T[t];break}}i++,i>=M&&(i-=M)}o===B&&(f[2*i]=s,f[2*i+1]=r+1,B++),T[r]=o}if(0!==l&&1-B/a<l)return null;if(E){for(let t=p[_-1];t<b.length;t++)b[t]=T[d[t]];T=(0,s.uW)(b)}const v=i?new Array(B):new Uint32Array(B*e);B=0;for(let t=0;t<g;t++)T[t]===B&&(o(h,(E?d[t]:t)*e,v,B*e,e),B++);if(d&&!E){const t=new Uint32Array(y);for(let e=0;e<t.length;e++)t[e]=T[d[e]];T=(0,s.uW)(t)}return{buffer:Array.isArray(v)?v:v.buffer,indices:T,uniqueCount:B}}function u(t,e,r,n){for(let s=0;s<n;s++)if(t[e+s]!==t[r+s])return!1;return!0}function o(t,e,r,n,s){for(let i=0;i<s;i++)r[n+i]=t[e+i]}function c(t,e,r){let n=0;for(let s=0;s<r;s++)n=t[e+s]+n|0,n=n+(n<<11)+(n>>>2)|0;return n>>>0}let f=null;function a(t,e,r){const n=e/3,s=new Uint32Array(r+1),i=new Uint32Array(r+1),u=(t,e)=>{t<e?s[t+1]++:i[e+1]++};for(let e=0;e<n;e++){const r=t[3*e],n=t[3*e+1],s=t[3*e+2];u(r,n),u(n,s),u(s,r)}let o=0,c=0;for(let t=0;t<r;t++){const e=s[t+1],r=i[t+1];s[t+1]=o,i[t+1]=c,o+=e,c+=r}const f=new Uint32Array(6*n),a=s[r],h=(t,e,r)=>{if(t<e){const n=s[t+1]++;f[2*n]=e,f[2*n+1]=r}else{const n=i[e+1]++;f[2*a+2*n]=t,f[2*a+2*n+1]=r}};for(let e=0;e<n;e++){const r=t[3*e],n=t[3*e+1],s=t[3*e+2];h(r,n,e),h(n,s,e),h(s,r,e)}const l=(t,e)=>{const r=2*t,n=e-t;for(let t=1;t<n;t++){const e=f[r+2*t],n=f[r+2*t+1];let s=t-1;for(;s>=0&&f[r+2*s]>e;s--)f[r+2*s+2]=f[r+2*s],f[r+2*s+3]=f[r+2*s+1];f[r+2*s+2]=e,f[r+2*s+3]=n}};for(let t=0;t<r;t++)l(s[t],s[t+1]),l(a+i[t],a+i[t+1]);const d=new Int32Array(3*n),y=(e,r)=>e===t[3*r]?0:e===t[3*r+1]?1:e===t[3*r+2]?2:-1,p=(t,e)=>{const r=y(t,e);d[3*e+r]=-1},m=(t,e,r,n)=>{const s=y(t,e);d[3*e+s]=n;const i=y(r,n);d[3*n+i]=e};for(let t=0;t<r;t++){let e=s[t];const r=s[t+1];let n=i[t];const u=i[t+1];for(;e<r&&n<u;){const r=f[2*e],s=f[2*a+2*n];r===s?(m(t,f[2*e+1],s,f[2*a+2*n+1]),e++,n++):r<s?(p(t,f[2*e+1]),e++):(p(s,f[2*a+2*n+1]),n++)}for(;e<r;)p(t,f[2*e+1]),e++;for(;n<u;)p(f[2*a+2*n],f[2*a+2*n+1]),n++}return d}var h=r(1843),l=r(76216),d=r(87811),y=r(35522),p=r(51850),m=r(10614);class M{updateSettings(t){this.settings=t,this._edgeHashFunction=t.reducedPrecision?b:T}write(t,e,r){_.seed=this._edgeHashFunction(r);const n=_.getIntRange(0,255),s=_.getIntRange(0,this.settings.variants-1),i=_.getFloat(),u=255*(.5*function(t){return Math.abs(t)**1.2*Math.sign(t)}(-(1-Math.min(i/.7,1))+Math.max(0,i-.7)/(1-.7))+.5);t.position0.setVec(e,r.position0),t.position1.setVec(e,r.position1),t.componentIndex.set(e,r.componentIndex),t.variantOffset.set(e,n),t.variantStroke.set(e,s),t.variantExtension.set(e,u)}}const B=new Float32Array(6),E=new Uint32Array(B.buffer),g=new Uint32Array(1);function T(t){return B[0]=t.position0[0],B[1]=t.position0[1],B[2]=t.position0[2],B[3]=t.position1[0],B[4]=t.position1[1],B[5]=t.position1[2],g[0]=31*(31*(31*(31*(31*(166811+E[0])+E[1])+E[2])+E[3])+E[4])+E[5],g[0]}function b(t){const e=B;e[0]=S(t.position0[0]),e[1]=S(t.position0[1]),e[2]=S(t.position0[2]),e[3]=S(t.position1[0]),e[4]=S(t.position1[1]),e[5]=S(t.position1[2]),g[0]=5381;for(let t=0;t<E.length;t++)g[0]=31*g[0]+E[t];return g[0]}function S(t){return Math.round(1e4*t)/1e4}const A=(0,p.vt)(),_=new d.A;var x=r(93406);function v(t){const e=w(t.data,t.skipDeduplicate,t.indices,t.indicesLength);return N.updateSettings(t.writerSettings),C.updateSettings(t.writerSettings),(0,x.K)(e,N,C)}function w(t,e,r,n){if(e){const e=a(r,n,t.count);return new I(r,n,e,t)}const s=i(t.buffer,t.stride/4,{originalIndices:r}),u=a(s.indices,n,s.uniqueCount);return{faces:s.indices,facesLength:s.indices.length,neighbors:u,vertices:l.I$.createView(s.buffer)}}class I{constructor(t,e,r,n){this.faces=t,this.facesLength=e,this.neighbors=r,this.vertices=n}}const N=new class{constructor(){this._commonWriter=new M}updateSettings(t){this._commonWriter.updateSettings(t)}allocate(t){return l.gr.createBuffer(t)}write(t,e,r){this._commonWriter.write(t,e,r),(0,y.WQ)(A,r.faceNormal0,r.faceNormal1),(0,y.S8)(A,A);const{typedBuffer:n,typedBufferStride:s}=t.normalCompressed;(0,m.aT)(n,e,A[0],A[1],A[2],s)}},C=new class{constructor(){this._commonWriter=new M}updateSettings(t){this._commonWriter.updateSettings(t)}allocate(t){return l.In.createBuffer(t)}write(t,e,r){this._commonWriter.write(t,e,r);{const{typedBuffer:n,typedBufferStride:s}=t.normalCompressed;(0,m.aT)(n,e,r.faceNormal0[0],r.faceNormal0[1],r.faceNormal0[2],s)}{const{typedBuffer:n,typedBufferStride:s}=t.normal2Compressed;(0,m.aT)(n,e,r.faceNormal1[0],r.faceNormal1[1],r.faceNormal1[2],s)}}},L=(0,h.BP)().vec3f("position0").vec3f("position1"),O=(0,h.BP)().vec3f("position0").vec3f("position1").u16("componentIndex",{integer:!0})}}]);
|